@gez/date-time-kit
Version:
23 lines (18 loc) • 645 B
text/typescript
import type { Emit2EventMap } from '../web-component-base';
import { type Attrs as BaseAttrs, BaseEle, type BaseEmits } from './base';
import { listGrpCss } from './css';
export type { Granularity, ColOrder } from './base';
export { granularityList, colOrderList } from './base';
export interface Emits extends BaseEmits {
change: {
oldMs: number;
newMs: number;
};
}
export type EventMap = Emit2EventMap<Emits>;
/** 日期选择器 */
export class Ele extends BaseEle<BaseAttrs, Emits> {
public static readonly tagName = 'dt-yyyymmdd-list-grp' as const;
protected static _style = listGrpCss;
}
Ele.define();