vft 0.0.151 → 0.0.153

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (208) hide show
  1. package/es/app-components/button/button-custom.d.ts +1 -1
  2. package/es/app-components/form/hooks/use-form-common-props.d.ts +5 -4
  3. package/es/app-components/hooks/use-id.d.ts +2 -1
  4. package/es/components/affix/affix.d.ts +2 -2
  5. package/es/components/affix/affix.vue.d.ts +2 -2
  6. package/es/components/affix/index.d.ts +5 -5
  7. package/es/components/autocomplete/autocomplete.vue.d.ts +23 -23
  8. package/es/components/autocomplete/index.d.ts +68 -68
  9. package/es/components/button/button-custom.d.ts +1 -1
  10. package/es/components/button/button.vue.d.ts +1 -1
  11. package/es/components/button/index.d.ts +3 -3
  12. package/es/components/button/use-button.d.ts +3 -3
  13. package/es/components/button/use-button.js +3 -3
  14. package/es/components/carousel/carousel.vue.d.ts +1 -1
  15. package/es/components/carousel/index.d.ts +19 -19
  16. package/es/components/carousel/use-carousel.d.ts +2 -2
  17. package/es/components/checkbox/checkbox-button.vue.d.ts +1 -1
  18. package/es/components/checkbox/checkbox-group.vue.d.ts +1 -1
  19. package/es/components/checkbox/checkbox.vue.d.ts +1 -1
  20. package/es/components/checkbox/composables/use-checkbox-disabled.d.ts +1 -1
  21. package/es/components/checkbox/composables/use-checkbox.d.ts +1 -1
  22. package/es/components/checkbox/index.d.ts +58 -58
  23. package/es/components/color-picker/color-picker.vue.d.ts +1 -1
  24. package/es/components/color-picker/index.d.ts +1 -1
  25. package/es/components/config-provider/hooks/use-global-config.d.ts +3 -2
  26. package/es/components/date-picker/composables/use-range-picker.d.ts +1 -1
  27. package/es/components/date-picker/date-picker.d.ts +4 -20
  28. package/es/components/date-picker/index.d.ts +8 -40
  29. package/es/components/date-picker/props/date-picker.d.ts +1 -9
  30. package/es/components/date-picker/props/shared.d.ts +1 -1
  31. package/es/components/date-picker/utils.d.ts +1 -1
  32. package/es/components/dialog/dialog.vue.d.ts +3 -3
  33. package/es/components/dialog/index.d.ts +8 -8
  34. package/es/components/drawer/drawer.vue.d.ts +3 -3
  35. package/es/components/drawer/index.d.ts +8 -8
  36. package/es/components/dropdown/dropdown.vue.d.ts +3 -3
  37. package/es/components/dropdown/index.d.ts +49 -49
  38. package/es/components/form/hooks/use-form-common-props.d.ts +6 -4
  39. package/es/components/index.js +113 -113
  40. package/es/components/input/index.d.ts +12 -12
  41. package/es/components/input/input.vue.d.ts +4 -4
  42. package/es/components/input-number/index.d.ts +3 -3
  43. package/es/components/input-number/input-number.vue.d.ts +3 -3
  44. package/es/components/loading/index.d.ts +17 -9
  45. package/es/components/loading/loading.d.ts +17 -9
  46. package/es/components/modal/index.d.ts +11 -11
  47. package/es/components/modal/modal.vue.d.ts +1 -1
  48. package/es/components/popconfirm/index.d.ts +11 -11
  49. package/es/components/popconfirm/popconfirm.vue.d.ts +1 -1
  50. package/es/components/popover/index.d.ts +8 -8
  51. package/es/components/popper/composables/use-content-dom.d.ts +3 -1
  52. package/es/components/popper/composables/use-content.d.ts +70 -6
  53. package/es/components/popper/index.d.ts +3 -3
  54. package/es/components/popper/popper.vue.d.ts +2 -1
  55. package/es/components/popper/utils.d.ts +45 -2
  56. package/es/components/progress/index.d.ts +4 -4
  57. package/es/components/radio/index.d.ts +30 -30
  58. package/es/components/radio/radio-group.vue.d.ts +1 -1
  59. package/es/components/radio/radio.vue.d.ts +1 -1
  60. package/es/components/radio/use-radio.d.ts +1 -1
  61. package/es/components/search/index.d.ts +8 -8
  62. package/es/components/search/search.vue.d.ts +2 -2
  63. package/es/components/select/defaults.d.ts +4 -3
  64. package/es/components/select/index.d.ts +66 -66
  65. package/es/components/select/select.vue.d.ts +33 -33
  66. package/es/components/select/useSelect.d.ts +19 -19
  67. package/es/components/side-menu/index.d.ts +8 -4
  68. package/es/components/side-menu/side-menu.vue.d.ts +2 -2
  69. package/es/components/slider/composables/use-slide.d.ts +6 -6
  70. package/es/components/slider/index.d.ts +3 -3
  71. package/es/components/slider/slider.d.ts +3 -3
  72. package/es/components/slider/slider.vue.d.ts +1 -1
  73. package/es/components/space/index.d.ts +5 -2
  74. package/es/components/space/space.d.ts +5 -2
  75. package/es/components/super-form/index.d.ts +3 -3
  76. package/es/components/super-form/super-form.vue.d.ts +1 -1
  77. package/es/components/super-form/types.d.ts +176 -0
  78. package/es/components/switch/index.d.ts +3 -3
  79. package/es/components/switch/switch.vue.d.ts +3 -3
  80. package/es/components/table/index.d.ts +41 -41
  81. package/es/components/table/table.vue.d.ts +2 -2
  82. package/es/components/table/use/use-columns.d.ts +801 -3
  83. package/es/components/time-picker/common/picker.vue.d.ts +9 -24
  84. package/es/components/time-picker/common/props.d.ts +2 -9
  85. package/es/components/time-picker/composables/use-time-picker.d.ts +2 -2
  86. package/es/components/time-picker/index.d.ts +8 -40
  87. package/es/components/time-picker/time-picker.d.ts +4 -20
  88. package/es/components/time-picker/utils.d.ts +1 -1
  89. package/es/components/time-select/time-select.vue.d.ts +4 -4
  90. package/es/components/tooltip/index.d.ts +16 -16
  91. package/es/components/tooltip/utils.d.ts +1 -1
  92. package/es/components/tree/index.d.ts +16 -16
  93. package/es/components/upload/index.d.ts +12 -12
  94. package/es/components/upload/use-handlers.d.ts +21 -1
  95. package/es/components/virtual-list/hooks/use-cache.d.ts +1 -1
  96. package/es/hooks/use-id/index.d.ts +2 -1
  97. package/es/hooks/use-model-toggle/index.d.ts +2 -2
  98. package/es/hooks/use-popper/index.d.ts +70 -7
  99. package/es/hooks/use-same-target/index.d.ts +3 -3
  100. package/es/hooks/use-z-index/index.d.ts +1 -1
  101. package/es/index.js +113 -113
  102. package/es/package.json.d.ts +1 -1
  103. package/es/package.json.js +1 -1
  104. package/lib/app-components/button/button-custom.d.ts +1 -1
  105. package/lib/app-components/form/hooks/use-form-common-props.d.ts +5 -4
  106. package/lib/app-components/hooks/use-id.d.ts +2 -1
  107. package/lib/components/affix/affix.d.ts +2 -2
  108. package/lib/components/affix/affix.vue.d.ts +2 -2
  109. package/lib/components/affix/index.d.ts +5 -5
  110. package/lib/components/autocomplete/autocomplete.vue.d.ts +23 -23
  111. package/lib/components/autocomplete/index.d.ts +68 -68
  112. package/lib/components/button/button-custom.d.ts +1 -1
  113. package/lib/components/button/button.vue.d.ts +1 -1
  114. package/lib/components/button/index.d.ts +3 -3
  115. package/lib/components/button/use-button.cjs +1 -1
  116. package/lib/components/button/use-button.d.ts +3 -3
  117. package/lib/components/carousel/carousel.vue.d.ts +1 -1
  118. package/lib/components/carousel/index.d.ts +19 -19
  119. package/lib/components/carousel/use-carousel.d.ts +2 -2
  120. package/lib/components/checkbox/checkbox-button.vue.d.ts +1 -1
  121. package/lib/components/checkbox/checkbox-group.vue.d.ts +1 -1
  122. package/lib/components/checkbox/checkbox.vue.d.ts +1 -1
  123. package/lib/components/checkbox/composables/use-checkbox-disabled.d.ts +1 -1
  124. package/lib/components/checkbox/composables/use-checkbox.d.ts +1 -1
  125. package/lib/components/checkbox/index.d.ts +58 -58
  126. package/lib/components/color-picker/color-picker.vue.d.ts +1 -1
  127. package/lib/components/color-picker/index.d.ts +1 -1
  128. package/lib/components/config-provider/hooks/use-global-config.d.ts +3 -2
  129. package/lib/components/date-picker/composables/use-range-picker.d.ts +1 -1
  130. package/lib/components/date-picker/date-picker.d.ts +4 -20
  131. package/lib/components/date-picker/index.d.ts +8 -40
  132. package/lib/components/date-picker/props/date-picker.d.ts +1 -9
  133. package/lib/components/date-picker/props/shared.d.ts +1 -1
  134. package/lib/components/date-picker/utils.d.ts +1 -1
  135. package/lib/components/dialog/dialog.vue.d.ts +3 -3
  136. package/lib/components/dialog/index.d.ts +8 -8
  137. package/lib/components/drawer/drawer.vue.d.ts +3 -3
  138. package/lib/components/drawer/index.d.ts +8 -8
  139. package/lib/components/dropdown/dropdown.vue.d.ts +3 -3
  140. package/lib/components/dropdown/index.d.ts +49 -49
  141. package/lib/components/form/hooks/use-form-common-props.d.ts +6 -4
  142. package/lib/components/index.cjs +1 -1
  143. package/lib/components/input/index.d.ts +12 -12
  144. package/lib/components/input/input.vue.d.ts +4 -4
  145. package/lib/components/input-number/index.d.ts +3 -3
  146. package/lib/components/input-number/input-number.vue.d.ts +3 -3
  147. package/lib/components/loading/index.d.ts +17 -9
  148. package/lib/components/loading/loading.d.ts +17 -9
  149. package/lib/components/modal/index.d.ts +11 -11
  150. package/lib/components/modal/modal.vue.d.ts +1 -1
  151. package/lib/components/popconfirm/index.d.ts +11 -11
  152. package/lib/components/popconfirm/popconfirm.vue.d.ts +1 -1
  153. package/lib/components/popover/index.d.ts +8 -8
  154. package/lib/components/popper/composables/use-content-dom.d.ts +3 -1
  155. package/lib/components/popper/composables/use-content.d.ts +70 -6
  156. package/lib/components/popper/index.d.ts +3 -3
  157. package/lib/components/popper/popper.vue.d.ts +2 -1
  158. package/lib/components/popper/utils.d.ts +45 -2
  159. package/lib/components/progress/index.d.ts +4 -4
  160. package/lib/components/radio/index.d.ts +30 -30
  161. package/lib/components/radio/radio-group.vue.d.ts +1 -1
  162. package/lib/components/radio/radio.vue.d.ts +1 -1
  163. package/lib/components/radio/use-radio.d.ts +1 -1
  164. package/lib/components/search/index.d.ts +8 -8
  165. package/lib/components/search/search.vue.d.ts +2 -2
  166. package/lib/components/select/defaults.d.ts +4 -3
  167. package/lib/components/select/index.d.ts +66 -66
  168. package/lib/components/select/select.vue.d.ts +33 -33
  169. package/lib/components/select/useSelect.d.ts +19 -19
  170. package/lib/components/side-menu/index.d.ts +8 -4
  171. package/lib/components/side-menu/side-menu.vue.d.ts +2 -2
  172. package/lib/components/slider/composables/use-slide.d.ts +6 -6
  173. package/lib/components/slider/index.d.ts +3 -3
  174. package/lib/components/slider/slider.d.ts +3 -3
  175. package/lib/components/slider/slider.vue.d.ts +1 -1
  176. package/lib/components/space/index.d.ts +5 -2
  177. package/lib/components/space/space.d.ts +5 -2
  178. package/lib/components/super-form/index.d.ts +3 -3
  179. package/lib/components/super-form/super-form.vue.d.ts +1 -1
  180. package/lib/components/super-form/types.d.ts +176 -0
  181. package/lib/components/switch/index.d.ts +3 -3
  182. package/lib/components/switch/switch.vue.d.ts +3 -3
  183. package/lib/components/table/index.d.ts +41 -41
  184. package/lib/components/table/table.vue.d.ts +2 -2
  185. package/lib/components/table/use/use-columns.d.ts +801 -3
  186. package/lib/components/time-picker/common/picker.vue.d.ts +9 -24
  187. package/lib/components/time-picker/common/props.d.ts +2 -9
  188. package/lib/components/time-picker/composables/use-time-picker.d.ts +2 -2
  189. package/lib/components/time-picker/index.d.ts +8 -40
  190. package/lib/components/time-picker/time-picker.d.ts +4 -20
  191. package/lib/components/time-picker/utils.d.ts +1 -1
  192. package/lib/components/time-select/time-select.vue.d.ts +4 -4
  193. package/lib/components/tooltip/index.d.ts +16 -16
  194. package/lib/components/tooltip/utils.d.ts +1 -1
  195. package/lib/components/tree/index.d.ts +16 -16
  196. package/lib/components/upload/index.d.ts +12 -12
  197. package/lib/components/upload/use-handlers.d.ts +21 -1
  198. package/lib/components/virtual-list/hooks/use-cache.d.ts +1 -1
  199. package/lib/hooks/use-id/index.d.ts +2 -1
  200. package/lib/hooks/use-model-toggle/index.d.ts +2 -2
  201. package/lib/hooks/use-popper/index.d.ts +70 -7
  202. package/lib/hooks/use-same-target/index.d.ts +3 -3
  203. package/lib/hooks/use-z-index/index.d.ts +1 -1
  204. package/lib/index.cjs +1 -1
  205. package/lib/package.json.cjs +1 -1
  206. package/lib/package.json.d.ts +1 -1
  207. package/package.json +5 -5
  208. package/web-types.json +1 -1
@@ -74,7 +74,7 @@ export declare const VftButton: import("vft/es/utils").SFCWithInstall<{
74
74
  ref: globalThis.Ref<HTMLButtonElement | undefined>;
75
75
  size: globalThis.ComputedRef<"" | "default" | "small" | "large">;
76
76
  type: globalThis.ComputedRef<"" | "default" | "text" | "success" | "primary" | "warning" | "info" | "danger">;
77
- disabled: globalThis.ComputedRef<any>;
77
+ disabled: globalThis.ComputedRef<boolean>;
78
78
  shouldAddSpace: globalThis.ComputedRef<boolean>;
79
79
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
80
80
  click: (evt: MouseEvent) => void;
@@ -234,7 +234,7 @@ export declare const VftButton: import("vft/es/utils").SFCWithInstall<{
234
234
  ref: globalThis.Ref<HTMLButtonElement | undefined>;
235
235
  size: globalThis.ComputedRef<"" | "default" | "small" | "large">;
236
236
  type: globalThis.ComputedRef<"" | "default" | "text" | "success" | "primary" | "warning" | "info" | "danger">;
237
- disabled: globalThis.ComputedRef<any>;
237
+ disabled: globalThis.ComputedRef<boolean>;
238
238
  shouldAddSpace: globalThis.ComputedRef<boolean>;
239
239
  }, {}, {}, {}, {
240
240
  tag: string | globalThis.Component;
@@ -319,7 +319,7 @@ export declare const VftButton: import("vft/es/utils").SFCWithInstall<{
319
319
  ref: globalThis.Ref<HTMLButtonElement | undefined>;
320
320
  size: globalThis.ComputedRef<"" | "default" | "small" | "large">;
321
321
  type: globalThis.ComputedRef<"" | "default" | "text" | "success" | "primary" | "warning" | "info" | "danger">;
322
- disabled: globalThis.ComputedRef<any>;
322
+ disabled: globalThis.ComputedRef<boolean>;
323
323
  shouldAddSpace: globalThis.ComputedRef<boolean>;
324
324
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
325
325
  click: (evt: MouseEvent) => void;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../config-provider/index.cjs");require("../form/index.cjs");const S=require("@vueuse/core"),n=require("vue"),T=require("./constants.cjs"),I=require("../config-provider/hooks/use-global-config.cjs"),_=require("../form/hooks/use-form-item.cjs"),l=require("../form/hooks/use-form-common-props.cjs"),k=(t,d)=>{const o=n.inject(T.buttonGroupContextKey,void 0),m=I.useGlobalConfig("button"),{form:c}=_.useFormItem(),f=l.useFormSize(n.computed(()=>o==null?void 0:o.size)),u=l.useFormDisabled(),g=n.ref(),i=n.useSlots(),h=n.computed(()=>t.type||(o==null?void 0:o.type)||""),y=n.computed(()=>{var e;return t.autoInsertSpace??((e=m.value)==null?void 0:e.autoInsertSpace)??!1}),b=n.computed(()=>{var a;const e=(a=i.default)==null?void 0:a.call(i);if(y.value&&(e==null?void 0:e.length)===1){const s=e[0];if((s==null?void 0:s.type)===n.Text){const F=s.children;return new RegExp("^\\p{Unified_Ideograph}{2}$","u").test(F.trim())}}return!1}),q=n.computed(()=>t.tag==="button"?{ariaDisabled:u.value||t.loading,disabled:u.value||t.loading,autofocus:t.autofocus,type:t.nativeType}:{}),r=e=>{t.nativeType==="reset"&&(c==null||c.resetFields()),d("click",e)},v=S.useThrottleFn(e=>{r(e)},t.throttleTime);return{_props:q,_disabled:u,_size:f,_type:h,_ref:g,shouldAddSpace:b,handleClick:e=>{t.useThrottle?v(e):r(e)}}};exports.useButton=k;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../config-provider/index.cjs");require("../form/index.cjs");const S=require("@vueuse/core"),n=require("vue"),T=require("./constants.cjs"),I=require("../form/hooks/use-form-item.cjs"),_=require("../config-provider/hooks/use-global-config.cjs"),l=require("../form/hooks/use-form-common-props.cjs"),k=(t,d)=>{const o=n.inject(T.buttonGroupContextKey,void 0),m=_.useGlobalConfig("button"),{form:c}=I.useFormItem(),f=l.useFormSize(n.computed(()=>o==null?void 0:o.size)),u=l.useFormDisabled(),g=n.ref(),i=n.useSlots(),h=n.computed(()=>t.type||(o==null?void 0:o.type)||""),y=n.computed(()=>{var e;return t.autoInsertSpace??((e=m.value)==null?void 0:e.autoInsertSpace)??!1}),b=n.computed(()=>{var a;const e=(a=i.default)==null?void 0:a.call(i);if(y.value&&(e==null?void 0:e.length)===1){const s=e[0];if((s==null?void 0:s.type)===n.Text){const F=s.children;return new RegExp("^\\p{Unified_Ideograph}{2}$","u").test(F.trim())}}return!1}),q=n.computed(()=>t.tag==="button"?{ariaDisabled:u.value||t.loading,disabled:u.value||t.loading,autofocus:t.autofocus,type:t.nativeType}:{}),r=e=>{t.nativeType==="reset"&&(c==null||c.resetFields()),d("click",e)},v=S.useThrottleFn(e=>{r(e)},t.throttleTime);return{_props:q,_disabled:u,_size:f,_type:h,_ref:g,shouldAddSpace:b,handleClick:e=>{t.useThrottle?v(e):r(e)}}};exports.useButton=k;
@@ -1,8 +1,8 @@
1
1
  import type { ButtonProps } from './button.vue';
2
2
  export declare const useButton: (props: ButtonProps, emit: any) => {
3
3
  _props: globalThis.ComputedRef<{
4
- ariaDisabled: any;
5
- disabled: any;
4
+ ariaDisabled: boolean | undefined;
5
+ disabled: boolean | undefined;
6
6
  autofocus: boolean | undefined;
7
7
  type: "button" | "reset" | "submit" | undefined;
8
8
  } | {
@@ -11,7 +11,7 @@ export declare const useButton: (props: ButtonProps, emit: any) => {
11
11
  autofocus?: undefined;
12
12
  type?: undefined;
13
13
  }>;
14
- _disabled: globalThis.ComputedRef<any>;
14
+ _disabled: globalThis.ComputedRef<boolean>;
15
15
  _size: globalThis.ComputedRef<"" | "default" | "small" | "large">;
16
16
  _type: globalThis.ComputedRef<"" | "default" | "text" | "success" | "primary" | "warning" | "info" | "danger">;
17
17
  _ref: globalThis.Ref<HTMLButtonElement | undefined>;
@@ -50,10 +50,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
50
50
  direction: "vertical" | "horizontal";
51
51
  height: string;
52
52
  type: "" | "card";
53
+ arrow: "always" | "never" | "hover";
53
54
  loop: boolean;
54
55
  trigger: "click" | "hover";
55
56
  initialIndex: number;
56
- arrow: "always" | "never" | "hover";
57
57
  interval: number;
58
58
  autoplay: boolean;
59
59
  indicatorPosition: "" | "none" | "outside";
@@ -12,6 +12,10 @@ export declare const VftCarousel: import("vft/es/utils").SFCWithInstall<{
12
12
  type: globalThis.PropType<"" | "card">;
13
13
  default: string;
14
14
  };
15
+ arrow: {
16
+ type: globalThis.PropType<"always" | "never" | "hover">;
17
+ default: string;
18
+ };
15
19
  loop: {
16
20
  type: globalThis.PropType<boolean>;
17
21
  default: boolean;
@@ -24,10 +28,6 @@ export declare const VftCarousel: import("vft/es/utils").SFCWithInstall<{
24
28
  type: globalThis.PropType<number>;
25
29
  default: number;
26
30
  };
27
- arrow: {
28
- type: globalThis.PropType<"always" | "never" | "hover">;
29
- default: string;
30
- };
31
31
  interval: {
32
32
  type: globalThis.PropType<number>;
33
33
  default: number;
@@ -65,6 +65,10 @@ export declare const VftCarousel: import("vft/es/utils").SFCWithInstall<{
65
65
  type: globalThis.PropType<"" | "card">;
66
66
  default: string;
67
67
  };
68
+ arrow: {
69
+ type: globalThis.PropType<"always" | "never" | "hover">;
70
+ default: string;
71
+ };
68
72
  loop: {
69
73
  type: globalThis.PropType<boolean>;
70
74
  default: boolean;
@@ -77,10 +81,6 @@ export declare const VftCarousel: import("vft/es/utils").SFCWithInstall<{
77
81
  type: globalThis.PropType<number>;
78
82
  default: number;
79
83
  };
80
- arrow: {
81
- type: globalThis.PropType<"always" | "never" | "hover">;
82
- default: string;
83
- };
84
84
  interval: {
85
85
  type: globalThis.PropType<number>;
86
86
  default: number;
@@ -103,10 +103,10 @@ export declare const VftCarousel: import("vft/es/utils").SFCWithInstall<{
103
103
  direction: "vertical" | "horizontal";
104
104
  height: string;
105
105
  type: "" | "card";
106
+ arrow: "always" | "never" | "hover";
106
107
  loop: boolean;
107
108
  trigger: "click" | "hover";
108
109
  initialIndex: number;
109
- arrow: "always" | "never" | "hover";
110
110
  interval: number;
111
111
  autoplay: boolean;
112
112
  indicatorPosition: "" | "none" | "outside";
@@ -131,6 +131,10 @@ export declare const VftCarousel: import("vft/es/utils").SFCWithInstall<{
131
131
  type: globalThis.PropType<"" | "card">;
132
132
  default: string;
133
133
  };
134
+ arrow: {
135
+ type: globalThis.PropType<"always" | "never" | "hover">;
136
+ default: string;
137
+ };
134
138
  loop: {
135
139
  type: globalThis.PropType<boolean>;
136
140
  default: boolean;
@@ -143,10 +147,6 @@ export declare const VftCarousel: import("vft/es/utils").SFCWithInstall<{
143
147
  type: globalThis.PropType<number>;
144
148
  default: number;
145
149
  };
146
- arrow: {
147
- type: globalThis.PropType<"always" | "never" | "hover">;
148
- default: string;
149
- };
150
150
  interval: {
151
151
  type: globalThis.PropType<number>;
152
152
  default: number;
@@ -173,10 +173,10 @@ export declare const VftCarousel: import("vft/es/utils").SFCWithInstall<{
173
173
  direction: "vertical" | "horizontal";
174
174
  height: string;
175
175
  type: "" | "card";
176
+ arrow: "always" | "never" | "hover";
176
177
  loop: boolean;
177
178
  trigger: "click" | "hover";
178
179
  initialIndex: number;
179
- arrow: "always" | "never" | "hover";
180
180
  interval: number;
181
181
  autoplay: boolean;
182
182
  indicatorPosition: "" | "none" | "outside";
@@ -198,6 +198,10 @@ export declare const VftCarousel: import("vft/es/utils").SFCWithInstall<{
198
198
  type: globalThis.PropType<"" | "card">;
199
199
  default: string;
200
200
  };
201
+ arrow: {
202
+ type: globalThis.PropType<"always" | "never" | "hover">;
203
+ default: string;
204
+ };
201
205
  loop: {
202
206
  type: globalThis.PropType<boolean>;
203
207
  default: boolean;
@@ -210,10 +214,6 @@ export declare const VftCarousel: import("vft/es/utils").SFCWithInstall<{
210
214
  type: globalThis.PropType<number>;
211
215
  default: number;
212
216
  };
213
- arrow: {
214
- type: globalThis.PropType<"always" | "never" | "hover">;
215
- default: string;
216
- };
217
217
  interval: {
218
218
  type: globalThis.PropType<number>;
219
219
  default: number;
@@ -242,10 +242,10 @@ export declare const VftCarousel: import("vft/es/utils").SFCWithInstall<{
242
242
  direction: "vertical" | "horizontal";
243
243
  height: string;
244
244
  type: "" | "card";
245
+ arrow: "always" | "never" | "hover";
245
246
  loop: boolean;
246
247
  trigger: "click" | "hover";
247
248
  initialIndex: number;
248
- arrow: "always" | "never" | "hover";
249
249
  interval: number;
250
250
  autoplay: boolean;
251
251
  indicatorPosition: "" | "none" | "outside";
@@ -24,6 +24,6 @@ export declare const useCarousel: (props: CarouselProps, emit: any, componentNam
24
24
  setActiveItem: (index: number | string) => void;
25
25
  prev: () => void;
26
26
  next: () => void;
27
- throttledArrowClick: any;
28
- throttledIndicatorHover: any;
27
+ throttledArrowClick: import("lodash").DebouncedFunc<(index: number) => void>;
28
+ throttledIndicatorHover: import("lodash").DebouncedFunc<(index: number) => void>;
29
29
  };
@@ -1,7 +1,7 @@
1
1
  import type { CheckboxProps } from './types';
2
2
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<CheckboxProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
3
- change: (...args: any[]) => void;
4
3
  "update:modelValue": (...args: any[]) => void;
4
+ change: (...args: any[]) => void;
5
5
  }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_TypePropsToRuntimeProps<CheckboxProps>>> & {
6
6
  onChange?: ((...args: any[]) => any) | undefined;
7
7
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
@@ -19,8 +19,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
19
19
  tag: string;
20
20
  validateEvent: boolean;
21
21
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
22
- change: (...args: any[]) => void;
23
22
  "update:modelValue": (...args: any[]) => void;
23
+ change: (...args: any[]) => void;
24
24
  }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<CheckboxGroupProps>, {
25
25
  modelValue: () => never[];
26
26
  tag: string;
@@ -2,8 +2,8 @@ import type { CheckboxProps } from './types';
2
2
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<CheckboxProps>, {
3
3
  validateEvent: boolean;
4
4
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5
- change: (...args: any[]) => void;
6
5
  "update:modelValue": (...args: any[]) => void;
6
+ change: (...args: any[]) => void;
7
7
  }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<CheckboxProps>, {
8
8
  validateEvent: boolean;
9
9
  }>>> & {
@@ -1,6 +1,6 @@
1
1
  import type { CheckboxModel, CheckboxStatus } from '../composables';
2
2
  export declare const useCheckboxDisabled: ({ model, isChecked, }: Pick<CheckboxModel, 'model'> & Pick<CheckboxStatus, 'isChecked'>) => {
3
- isDisabled: globalThis.ComputedRef<any>;
3
+ isDisabled: globalThis.ComputedRef<boolean>;
4
4
  isLimitDisabled: globalThis.ComputedRef<boolean>;
5
5
  };
6
6
  export type CheckboxDisabled = ReturnType<typeof useCheckboxDisabled>;
@@ -4,7 +4,7 @@ export declare const useCheckbox: (props: CheckboxProps, slots: ComponentInterna
4
4
  inputId: globalThis.Ref<string | undefined>;
5
5
  isLabeledByFormItem: globalThis.ComputedRef<boolean>;
6
6
  isChecked: globalThis.ComputedRef<boolean>;
7
- isDisabled: globalThis.ComputedRef<any>;
7
+ isDisabled: globalThis.ComputedRef<boolean>;
8
8
  isFocused: globalThis.Ref<boolean>;
9
9
  checkboxButtonSize: globalThis.ComputedRef<"" | "default" | "small" | "large">;
10
10
  checkboxSize: globalThis.ComputedRef<"" | "default" | "small" | "large">;
@@ -50,8 +50,8 @@ export declare const VftCheckbox: import("vft/es/utils").SFCWithInstall<{
50
50
  onChange?: ((...args: any[]) => any) | undefined;
51
51
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
52
52
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
53
- change: (...args: any[]) => void;
54
53
  "update:modelValue": (...args: any[]) => void;
54
+ change: (...args: any[]) => void;
55
55
  }, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<globalThis.ExtractPropTypes<{
56
56
  value: {
57
57
  type: globalThis.PropType<string | number | boolean | object>;
@@ -218,8 +218,8 @@ export declare const VftCheckbox: import("vft/es/utils").SFCWithInstall<{
218
218
  onChange?: ((...args: any[]) => any) | undefined;
219
219
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
220
220
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
221
- change: (...args: any[]) => void;
222
221
  "update:modelValue": (...args: any[]) => void;
222
+ change: (...args: any[]) => void;
223
223
  }, string, {
224
224
  validateEvent: boolean;
225
225
  }, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
@@ -278,8 +278,8 @@ export declare const VftCheckbox: import("vft/es/utils").SFCWithInstall<{
278
278
  onChange?: ((...args: any[]) => any) | undefined;
279
279
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
280
280
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
281
- change: (...args: any[]) => void;
282
281
  "update:modelValue": (...args: any[]) => void;
282
+ change: (...args: any[]) => void;
283
283
  }, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<globalThis.ExtractPropTypes<{
284
284
  modelValue: {
285
285
  type: globalThis.PropType<string | number | boolean>;
@@ -439,8 +439,8 @@ export declare const VftCheckbox: import("vft/es/utils").SFCWithInstall<{
439
439
  onChange?: ((...args: any[]) => any) | undefined;
440
440
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
441
441
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
442
- change: (...args: any[]) => void;
443
442
  "update:modelValue": (...args: any[]) => void;
443
+ change: (...args: any[]) => void;
444
444
  }, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
445
445
  $slots: {
446
446
  default?(_: {}): any;
@@ -467,20 +467,20 @@ export declare const VftCheckbox: import("vft/es/utils").SFCWithInstall<{
467
467
  disabled: {
468
468
  type: globalThis.PropType<boolean>;
469
469
  };
470
- tag: {
471
- type: globalThis.PropType<string>;
472
- default: string;
470
+ min: {
471
+ type: globalThis.PropType<number>;
473
472
  };
474
473
  max: {
475
474
  type: globalThis.PropType<number>;
476
475
  };
476
+ tag: {
477
+ type: globalThis.PropType<string>;
478
+ default: string;
479
+ };
477
480
  validateEvent: {
478
481
  type: globalThis.PropType<boolean>;
479
482
  default: boolean;
480
483
  };
481
- min: {
482
- type: globalThis.PropType<number>;
483
- };
484
484
  textColor: {
485
485
  type: globalThis.PropType<string>;
486
486
  };
@@ -491,8 +491,8 @@ export declare const VftCheckbox: import("vft/es/utils").SFCWithInstall<{
491
491
  onChange?: ((...args: any[]) => any) | undefined;
492
492
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
493
493
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
494
- change: (...args: any[]) => void;
495
494
  "update:modelValue": (...args: any[]) => void;
495
+ change: (...args: any[]) => void;
496
496
  }, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<globalThis.ExtractPropTypes<{
497
497
  fill: {
498
498
  type: globalThis.PropType<string>;
@@ -513,20 +513,20 @@ export declare const VftCheckbox: import("vft/es/utils").SFCWithInstall<{
513
513
  disabled: {
514
514
  type: globalThis.PropType<boolean>;
515
515
  };
516
- tag: {
517
- type: globalThis.PropType<string>;
518
- default: string;
516
+ min: {
517
+ type: globalThis.PropType<number>;
519
518
  };
520
519
  max: {
521
520
  type: globalThis.PropType<number>;
522
521
  };
522
+ tag: {
523
+ type: globalThis.PropType<string>;
524
+ default: string;
525
+ };
523
526
  validateEvent: {
524
527
  type: globalThis.PropType<boolean>;
525
528
  default: boolean;
526
529
  };
527
- min: {
528
- type: globalThis.PropType<number>;
529
- };
530
530
  textColor: {
531
531
  type: globalThis.PropType<string>;
532
532
  };
@@ -567,20 +567,20 @@ export declare const VftCheckbox: import("vft/es/utils").SFCWithInstall<{
567
567
  disabled: {
568
568
  type: globalThis.PropType<boolean>;
569
569
  };
570
- tag: {
571
- type: globalThis.PropType<string>;
572
- default: string;
570
+ min: {
571
+ type: globalThis.PropType<number>;
573
572
  };
574
573
  max: {
575
574
  type: globalThis.PropType<number>;
576
575
  };
576
+ tag: {
577
+ type: globalThis.PropType<string>;
578
+ default: string;
579
+ };
577
580
  validateEvent: {
578
581
  type: globalThis.PropType<boolean>;
579
582
  default: boolean;
580
583
  };
581
- min: {
582
- type: globalThis.PropType<number>;
583
- };
584
584
  textColor: {
585
585
  type: globalThis.PropType<string>;
586
586
  };
@@ -618,20 +618,20 @@ export declare const VftCheckbox: import("vft/es/utils").SFCWithInstall<{
618
618
  disabled: {
619
619
  type: globalThis.PropType<boolean>;
620
620
  };
621
- tag: {
622
- type: globalThis.PropType<string>;
623
- default: string;
621
+ min: {
622
+ type: globalThis.PropType<number>;
624
623
  };
625
624
  max: {
626
625
  type: globalThis.PropType<number>;
627
626
  };
627
+ tag: {
628
+ type: globalThis.PropType<string>;
629
+ default: string;
630
+ };
628
631
  validateEvent: {
629
632
  type: globalThis.PropType<boolean>;
630
633
  default: boolean;
631
634
  };
632
- min: {
633
- type: globalThis.PropType<number>;
634
- };
635
635
  textColor: {
636
636
  type: globalThis.PropType<string>;
637
637
  };
@@ -642,8 +642,8 @@ export declare const VftCheckbox: import("vft/es/utils").SFCWithInstall<{
642
642
  onChange?: ((...args: any[]) => any) | undefined;
643
643
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
644
644
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
645
- change: (...args: any[]) => void;
646
645
  "update:modelValue": (...args: any[]) => void;
646
+ change: (...args: any[]) => void;
647
647
  }, string, {
648
648
  modelValue: import("./types").CheckboxGroupValueType;
649
649
  tag: string;
@@ -706,8 +706,8 @@ export declare const VftCheckboxButton: import("vft/es/utils").SFCWithInstall<{
706
706
  onChange?: ((...args: any[]) => any) | undefined;
707
707
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
708
708
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
709
- change: (...args: any[]) => void;
710
709
  "update:modelValue": (...args: any[]) => void;
710
+ change: (...args: any[]) => void;
711
711
  }, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<globalThis.ExtractPropTypes<{
712
712
  modelValue: {
713
713
  type: globalThis.PropType<string | number | boolean>;
@@ -867,8 +867,8 @@ export declare const VftCheckboxButton: import("vft/es/utils").SFCWithInstall<{
867
867
  onChange?: ((...args: any[]) => any) | undefined;
868
868
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
869
869
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
870
- change: (...args: any[]) => void;
871
870
  "update:modelValue": (...args: any[]) => void;
871
+ change: (...args: any[]) => void;
872
872
  }, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
873
873
  $slots: {
874
874
  default?(_: {}): any;
@@ -895,20 +895,20 @@ export declare const VftCheckboxGroup: import("vft/es/utils").SFCWithInstall<{
895
895
  disabled: {
896
896
  type: globalThis.PropType<boolean>;
897
897
  };
898
- tag: {
899
- type: globalThis.PropType<string>;
900
- default: string;
898
+ min: {
899
+ type: globalThis.PropType<number>;
901
900
  };
902
901
  max: {
903
902
  type: globalThis.PropType<number>;
904
903
  };
904
+ tag: {
905
+ type: globalThis.PropType<string>;
906
+ default: string;
907
+ };
905
908
  validateEvent: {
906
909
  type: globalThis.PropType<boolean>;
907
910
  default: boolean;
908
911
  };
909
- min: {
910
- type: globalThis.PropType<number>;
911
- };
912
912
  textColor: {
913
913
  type: globalThis.PropType<string>;
914
914
  };
@@ -919,8 +919,8 @@ export declare const VftCheckboxGroup: import("vft/es/utils").SFCWithInstall<{
919
919
  onChange?: ((...args: any[]) => any) | undefined;
920
920
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
921
921
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
922
- change: (...args: any[]) => void;
923
922
  "update:modelValue": (...args: any[]) => void;
923
+ change: (...args: any[]) => void;
924
924
  }, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<globalThis.ExtractPropTypes<{
925
925
  fill: {
926
926
  type: globalThis.PropType<string>;
@@ -941,20 +941,20 @@ export declare const VftCheckboxGroup: import("vft/es/utils").SFCWithInstall<{
941
941
  disabled: {
942
942
  type: globalThis.PropType<boolean>;
943
943
  };
944
- tag: {
945
- type: globalThis.PropType<string>;
946
- default: string;
944
+ min: {
945
+ type: globalThis.PropType<number>;
947
946
  };
948
947
  max: {
949
948
  type: globalThis.PropType<number>;
950
949
  };
950
+ tag: {
951
+ type: globalThis.PropType<string>;
952
+ default: string;
953
+ };
951
954
  validateEvent: {
952
955
  type: globalThis.PropType<boolean>;
953
956
  default: boolean;
954
957
  };
955
- min: {
956
- type: globalThis.PropType<number>;
957
- };
958
958
  textColor: {
959
959
  type: globalThis.PropType<string>;
960
960
  };
@@ -995,20 +995,20 @@ export declare const VftCheckboxGroup: import("vft/es/utils").SFCWithInstall<{
995
995
  disabled: {
996
996
  type: globalThis.PropType<boolean>;
997
997
  };
998
- tag: {
999
- type: globalThis.PropType<string>;
1000
- default: string;
998
+ min: {
999
+ type: globalThis.PropType<number>;
1001
1000
  };
1002
1001
  max: {
1003
1002
  type: globalThis.PropType<number>;
1004
1003
  };
1004
+ tag: {
1005
+ type: globalThis.PropType<string>;
1006
+ default: string;
1007
+ };
1005
1008
  validateEvent: {
1006
1009
  type: globalThis.PropType<boolean>;
1007
1010
  default: boolean;
1008
1011
  };
1009
- min: {
1010
- type: globalThis.PropType<number>;
1011
- };
1012
1012
  textColor: {
1013
1013
  type: globalThis.PropType<string>;
1014
1014
  };
@@ -1046,20 +1046,20 @@ export declare const VftCheckboxGroup: import("vft/es/utils").SFCWithInstall<{
1046
1046
  disabled: {
1047
1047
  type: globalThis.PropType<boolean>;
1048
1048
  };
1049
- tag: {
1050
- type: globalThis.PropType<string>;
1051
- default: string;
1049
+ min: {
1050
+ type: globalThis.PropType<number>;
1052
1051
  };
1053
1052
  max: {
1054
1053
  type: globalThis.PropType<number>;
1055
1054
  };
1055
+ tag: {
1056
+ type: globalThis.PropType<string>;
1057
+ default: string;
1058
+ };
1056
1059
  validateEvent: {
1057
1060
  type: globalThis.PropType<boolean>;
1058
1061
  default: boolean;
1059
1062
  };
1060
- min: {
1061
- type: globalThis.PropType<number>;
1062
- };
1063
1063
  textColor: {
1064
1064
  type: globalThis.PropType<string>;
1065
1065
  };
@@ -1070,8 +1070,8 @@ export declare const VftCheckboxGroup: import("vft/es/utils").SFCWithInstall<{
1070
1070
  onChange?: ((...args: any[]) => any) | undefined;
1071
1071
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
1072
1072
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
1073
- change: (...args: any[]) => void;
1074
1073
  "update:modelValue": (...args: any[]) => void;
1074
+ change: (...args: any[]) => void;
1075
1075
  }, string, {
1076
1076
  modelValue: import("./types").CheckboxGroupValueType;
1077
1077
  tag: string;
@@ -23,8 +23,8 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
23
23
  color: Color;
24
24
  showPicker: globalThis.Ref<boolean>;
25
25
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
26
- change: (...args: any[]) => void;
27
26
  "update:modelValue": (...args: any[]) => void;
27
+ change: (...args: any[]) => void;
28
28
  activeChange: (...args: any[]) => void;
29
29
  "click-outside": (...args: any[]) => void;
30
30
  }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ColorPickerProps>, {
@@ -38,8 +38,8 @@ export declare const VftColorPicker: import("vft/es/utils").SFCWithInstall<impor
38
38
  color: import("./utils/color").default;
39
39
  showPicker: globalThis.Ref<boolean>;
40
40
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
41
- change: (...args: any[]) => void;
42
41
  "update:modelValue": (...args: any[]) => void;
42
+ change: (...args: any[]) => void;
43
43
  activeChange: (...args: any[]) => void;
44
44
  "click-outside": (...args: any[]) => void;
45
45
  }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
@@ -1,3 +1,4 @@
1
+ import type { MaybeRef } from '@vueuse/core';
1
2
  import type { App, Ref } from 'vue';
2
3
  import type { ConfigProviderContext } from '../constants';
3
4
  export declare function useGlobalConfig<K extends keyof ConfigProviderContext, D extends ConfigProviderContext[K]>(key: K, defaultValue?: D): Ref<Exclude<ConfigProviderContext[K], undefined> | D>;
@@ -22,9 +23,9 @@ export declare function useGlobalComponentSettings(block: string): {
22
23
  cssVarBlockName: (name: string) => string;
23
24
  };
24
25
  zIndex: {
25
- initialZIndex: globalThis.ComputedRef<number | undefined>;
26
+ initialZIndex: globalThis.ComputedRef<number>;
26
27
  currentZIndex: globalThis.ComputedRef<number>;
27
28
  nextZIndex: () => number;
28
29
  };
29
30
  };
30
- export declare const provideGlobalConfig: (config: MaybeRef<Partial<import("../config-provider.vue").ConfigProviderProps>>, app?: App, global?: boolean) => globalThis.ComputedRef<any> | undefined;
31
+ export declare const provideGlobalConfig: (config: MaybeRef<ConfigProviderContext>, app?: App, global?: boolean) => globalThis.ComputedRef<Partial<import("../config-provider.vue").ConfigProviderProps>> | undefined;
@@ -55,7 +55,7 @@ export declare const useRangePicker: (props: PanelRangeSharedProps, { defaultVal
55
55
  startOf: (unit: import("dayjs").OpUnitType) => Dayjs;
56
56
  endOf: (unit: import("dayjs").OpUnitType) => Dayjs;
57
57
  format: (template?: string | undefined) => string;
58
- diff: (date?: string | number | Date | Dayjs | null | undefined, unit?: "s" | "ms" | "y" | "D" | "M" | "year" | "month" | "date" | "dates" | "week" | "h" | "day" | "hour" | "minute" | "second" | "millisecond" | "hours" | "minutes" | "seconds" | "milliseconds" | "days" | "months" | "years" | "d" | "m" | "weeks" | "w" | "quarter" | "quarters" | "Q" | undefined, float?: boolean | undefined) => number;
58
+ diff: (date?: string | number | Date | Dayjs | null | undefined, unit?: "s" | "ms" | "y" | "D" | "M" | "year" | "month" | "date" | "dates" | "week" | "h" | "hours" | "minutes" | "seconds" | "hour" | "minute" | "second" | "day" | "millisecond" | "milliseconds" | "days" | "months" | "years" | "d" | "m" | "weeks" | "w" | "quarter" | "quarters" | "Q" | undefined, float?: boolean | undefined) => number;
59
59
  valueOf: () => number;
60
60
  unix: () => number;
61
61
  daysInMonth: () => number;