moment.d.ts 5.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. import type { Moment } from 'moment';
  2. import type { App } from 'vue';
  3. import type { PickerTimeProps, RangePickerTimeProps } from '../date-picker/generatePicker';
  4. declare const TimePicker: import("vue").DefineComponent<import("./time-picker").TimePickerProps<Moment>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("./time-picker").TimePickerProps<Moment>>, {}>, TimeRangePicker: import("vue").DefineComponent<import("./time-picker").TimeRangePickerProps<Moment>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("./time-picker").TimeRangePickerProps<Moment>>, {}>;
  5. export interface TimeRangePickerProps extends Omit<RangePickerTimeProps<Moment>, 'picker'> {
  6. popupClassName?: string;
  7. valueFormat?: string;
  8. }
  9. export interface TimePickerProps extends Omit<PickerTimeProps<Moment>, 'picker'> {
  10. popupClassName?: string;
  11. valueFormat?: string;
  12. }
  13. export { TimePicker, TimeRangePicker };
  14. declare const _default: {
  15. new (...args: any[]): {
  16. $: import("vue").ComponentInternalInstance;
  17. $data: {};
  18. $props: Partial<{}> & Omit<Readonly<import("./time-picker").TimePickerProps<Moment>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
  19. $attrs: {
  20. [x: string]: unknown;
  21. };
  22. $refs: {
  23. [x: string]: unknown;
  24. };
  25. $slots: Readonly<{
  26. [name: string]: import("vue").Slot;
  27. }>;
  28. $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
  29. $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
  30. $emit: (event: string, ...args: any[]) => void;
  31. $el: any;
  32. $options: import("vue").ComponentOptionsBase<Readonly<import("./time-picker").TimePickerProps<Moment>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & {
  33. beforeCreate?: (() => void) | (() => void)[];
  34. created?: (() => void) | (() => void)[];
  35. beforeMount?: (() => void) | (() => void)[];
  36. mounted?: (() => void) | (() => void)[];
  37. beforeUpdate?: (() => void) | (() => void)[];
  38. updated?: (() => void) | (() => void)[];
  39. activated?: (() => void) | (() => void)[];
  40. deactivated?: (() => void) | (() => void)[];
  41. beforeDestroy?: (() => void) | (() => void)[];
  42. beforeUnmount?: (() => void) | (() => void)[];
  43. destroyed?: (() => void) | (() => void)[];
  44. unmounted?: (() => void) | (() => void)[];
  45. renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
  46. renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
  47. errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>, info: string) => boolean | void)[];
  48. };
  49. $forceUpdate: () => void;
  50. $nextTick: typeof import("vue").nextTick;
  51. $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
  52. } & Readonly<import("./time-picker").TimePickerProps<Moment>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
  53. __isFragment?: never;
  54. __isTeleport?: never;
  55. __isSuspense?: never;
  56. } & import("vue").ComponentOptionsBase<Readonly<import("./time-picker").TimePickerProps<Moment>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
  57. TimePicker: import("vue").DefineComponent<import("./time-picker").TimePickerProps<Moment>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("./time-picker").TimePickerProps<Moment>>, {}>;
  58. TimeRangePicker: import("vue").DefineComponent<import("./time-picker").TimeRangePickerProps<Moment>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("./time-picker").TimeRangePickerProps<Moment>>, {}>;
  59. install: (app: App) => App<any>;
  60. };
  61. export default _default;