next-ui3 1.3.23 → 1.4.0

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 (112) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/index.full.min.js +131 -16
  3. package/dist/index.full.min.mjs +133 -18
  4. package/dist/locale/zh-cn.min.js +1 -1
  5. package/dist/locale/zh-cn.min.mjs +1 -1
  6. package/dist/utils/index.min.js +2 -2
  7. package/dist/utils/index.min.mjs +2 -2
  8. package/es/components/autocomplete/src/index.vue.d.ts +10 -203
  9. package/es/components/cascader/src/index.vue.d.ts +5 -1111
  10. package/es/components/checkbox/src/index.vue.d.ts +5 -10
  11. package/es/components/checkbox-group/src/BlockCheckboxGroup.vue.d.ts +10 -15
  12. package/es/components/checkbox-group/src/index.vue.d.ts +24 -27
  13. package/es/components/date-picker/src/QuarterPicker.vue.d.ts +1 -1
  14. package/es/components/date-picker/src/SemiAnnualPicker.vue.d.ts +1 -1
  15. package/es/components/date-picker/src/index.vue.d.ts +5 -383
  16. package/es/components/download-button/src/index.vue.d.ts +5 -10
  17. package/es/components/empty/src/index.vue.d.ts +5 -10
  18. package/es/components/file-select/src/index.vue.d.ts +9 -17
  19. package/es/components/file-upload/index.d.ts +3 -0
  20. package/es/components/file-upload/src/FileList.vue.d.ts +2 -0
  21. package/es/components/file-upload/src/index.vue.d.ts +110 -0
  22. package/es/components/file-upload/src/types.d.ts +12 -0
  23. package/es/components/filter/src/index.vue.d.ts +11 -197
  24. package/es/components/flex-text/src/index.vue.d.ts +7 -14
  25. package/es/components/form/src/index.vue.d.ts +13 -197
  26. package/es/components/icon/index.d.ts +2 -0
  27. package/es/components/icon/src/index.vue.d.ts +12 -0
  28. package/es/components/index.d.ts +2 -0
  29. package/es/components/input/src/index.vue.d.ts +5 -415
  30. package/es/components/input-number/src/index.vue.d.ts +9 -418
  31. package/es/components/input-password/src/index.vue.d.ts +5 -415
  32. package/es/components/pagination/src/index.vue.d.ts +5 -8
  33. package/es/components/radio-group/src/CustomRadioGroup.vue.d.ts +10 -15
  34. package/es/components/radio-group/src/index.vue.d.ts +19 -21
  35. package/es/components/remote-cascader/src/index.vue.d.ts +5 -10
  36. package/es/components/remote-select/src/DictSelect.vue.d.ts +5 -149
  37. package/es/components/remote-select/src/EnumSelect.vue.d.ts +5 -149
  38. package/es/components/remote-select/src/index.vue.d.ts +5 -10
  39. package/es/components/remote-tree-select/src/index.vue.d.ts +5 -10
  40. package/es/components/remote-tree-select/src/old.vue.d.ts +5 -53
  41. package/es/components/select/src/index.vue.d.ts +19 -549
  42. package/es/components/table/src/index.vue.d.ts +15 -571
  43. package/es/components/tree-panel/src/index.vue.d.ts +11 -882
  44. package/es/components/tree-select/src/index.vue.d.ts +5 -53
  45. package/es/components/upload/src/ImageUpload.vue.d.ts +8 -15
  46. package/es/components/upload/src/index.vue.d.ts +11 -468
  47. package/es/config/icons.d.ts +1 -0
  48. package/es/config/index.d.ts +1 -0
  49. package/es/hooks/use-toast/index.d.ts +1 -0
  50. package/es/hooks/use-upload-config/index.d.ts +1 -1
  51. package/es/utils/index.d.ts +1 -0
  52. package/es/utils/lock.d.ts +6 -0
  53. package/es/utils/timer.d.ts +1 -1
  54. package/es/version.d.ts +1 -1
  55. package/lib/components/autocomplete/src/index.vue.d.ts +10 -203
  56. package/lib/components/cascader/src/index.vue.d.ts +5 -1111
  57. package/lib/components/checkbox/src/index.vue.d.ts +5 -10
  58. package/lib/components/checkbox-group/src/BlockCheckboxGroup.vue.d.ts +10 -15
  59. package/lib/components/checkbox-group/src/index.vue.d.ts +24 -27
  60. package/lib/components/date-picker/src/QuarterPicker.vue.d.ts +1 -1
  61. package/lib/components/date-picker/src/SemiAnnualPicker.vue.d.ts +1 -1
  62. package/lib/components/date-picker/src/index.vue.d.ts +5 -383
  63. package/lib/components/download-button/src/index.vue.d.ts +5 -10
  64. package/lib/components/empty/src/index.vue.d.ts +5 -10
  65. package/lib/components/file-select/src/index.vue.d.ts +9 -17
  66. package/lib/components/file-upload/index.d.ts +3 -0
  67. package/lib/components/file-upload/src/FileList.vue.d.ts +2 -0
  68. package/lib/components/file-upload/src/index.vue.d.ts +110 -0
  69. package/lib/components/file-upload/src/types.d.ts +12 -0
  70. package/lib/components/filter/src/index.vue.d.ts +11 -197
  71. package/lib/components/flex-text/src/index.vue.d.ts +7 -14
  72. package/lib/components/form/src/index.vue.d.ts +13 -197
  73. package/lib/components/icon/index.d.ts +2 -0
  74. package/lib/components/icon/src/index.vue.d.ts +12 -0
  75. package/lib/components/index.d.ts +2 -0
  76. package/lib/components/input/src/index.vue.d.ts +5 -415
  77. package/lib/components/input-number/src/index.vue.d.ts +9 -418
  78. package/lib/components/input-password/src/index.vue.d.ts +5 -415
  79. package/lib/components/pagination/src/index.vue.d.ts +5 -8
  80. package/lib/components/radio-group/src/CustomRadioGroup.vue.d.ts +10 -15
  81. package/lib/components/radio-group/src/index.vue.d.ts +19 -21
  82. package/lib/components/remote-cascader/src/index.vue.d.ts +5 -10
  83. package/lib/components/remote-select/src/DictSelect.vue.d.ts +5 -149
  84. package/lib/components/remote-select/src/EnumSelect.vue.d.ts +5 -149
  85. package/lib/components/remote-select/src/index.vue.d.ts +5 -10
  86. package/lib/components/remote-tree-select/src/index.vue.d.ts +5 -10
  87. package/lib/components/remote-tree-select/src/old.vue.d.ts +5 -53
  88. package/lib/components/select/src/index.vue.d.ts +19 -549
  89. package/lib/components/table/src/index.vue.d.ts +15 -571
  90. package/lib/components/tree-panel/src/index.vue.d.ts +11 -882
  91. package/lib/components/tree-select/src/index.vue.d.ts +5 -53
  92. package/lib/components/upload/src/ImageUpload.vue.d.ts +8 -15
  93. package/lib/components/upload/src/index.vue.d.ts +11 -468
  94. package/lib/config/icons.d.ts +1 -0
  95. package/lib/config/index.d.ts +1 -0
  96. package/lib/hooks/use-toast/index.d.ts +1 -0
  97. package/lib/hooks/use-upload-config/index.d.ts +1 -1
  98. package/lib/utils/index.d.ts +1 -0
  99. package/lib/utils/lock.d.ts +6 -0
  100. package/lib/utils/timer.d.ts +1 -1
  101. package/lib/version.d.ts +1 -1
  102. package/package.json +1 -1
  103. package/theme-chalk/base.css +1 -1
  104. package/theme-chalk/index.css +1 -1
  105. package/theme-chalk/nt-empty.css +1 -1
  106. package/theme-chalk/nt-file-select.css +1 -1
  107. package/theme-chalk/nt-file-upload.css +1 -0
  108. package/theme-chalk/nt-icon.css +1 -0
  109. package/theme-chalk/src/base.scss +3 -0
  110. package/theme-chalk/src/file-upload.scss +156 -0
  111. package/theme-chalk/src/icon.scss +15 -0
  112. package/theme-chalk/src/index.scss +2 -0
@@ -14,58 +14,10 @@ type __VLS_Props = {
14
14
  defaultRoot?: boolean;
15
15
  disabledValues?: string[] | number[];
16
16
  };
17
- declare function __VLS_template(): {
18
- attrs: Partial<{}>;
19
- slots: Partial<Record<string, (_: any) => any>>;
20
- refs: {
21
- treeRef: ({
22
- $: import("vue").ComponentInternalInstance;
23
- $data: {};
24
- $props: Partial<{} | {
25
- [x: string]: any;
26
- }> & Omit<Readonly<any> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
27
- $attrs: {
28
- [x: string]: unknown;
29
- };
30
- $refs: {
31
- [x: string]: unknown;
32
- };
33
- $slots: import("vue").Slots;
34
- $root: import("vue").ComponentPublicInstance | null;
35
- $parent: import("vue").ComponentPublicInstance | null;
36
- $emit: (event: string, ...args: any[]) => void;
37
- $el: any;
38
- $options: import("vue").ComponentOptionsBase<Readonly<any>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
39
- [key: string]: any;
40
- }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {} | {
41
- [x: string]: any;
42
- }> & {
43
- beforeCreate?: (() => void) | (() => void)[];
44
- created?: (() => void) | (() => void)[];
45
- beforeMount?: (() => void) | (() => void)[];
46
- mounted?: (() => void) | (() => void)[];
47
- beforeUpdate?: (() => void) | (() => void)[];
48
- updated?: (() => void) | (() => void)[];
49
- activated?: (() => void) | (() => void)[];
50
- deactivated?: (() => void) | (() => void)[];
51
- beforeDestroy?: (() => void) | (() => void)[];
52
- beforeUnmount?: (() => void) | (() => void)[];
53
- destroyed?: (() => void) | (() => void)[];
54
- unmounted?: (() => void) | (() => void)[];
55
- renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
56
- renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
57
- errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
58
- };
59
- $forceUpdate: () => void;
60
- $nextTick: typeof import("vue").nextTick;
61
- $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
62
- } & Readonly<any> & import("vue").ShallowUnwrapRef<() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
63
- [key: string]: any;
64
- }>> & {} & import("@vue/runtime-core").ComponentCustomProperties) | null;
65
- };
66
- rootEl: any;
17
+ declare var __VLS_20: string, __VLS_21: any;
18
+ type __VLS_Slots = {} & {
19
+ [K in NonNullable<typeof __VLS_20>]?: (props: typeof __VLS_21) => any;
67
20
  };
68
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
69
21
  declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_Props>, {
70
22
  loading: boolean;
71
23
  loadError: string;
@@ -109,7 +61,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<
109
61
  noDataText: string;
110
62
  defaultRoot: boolean;
111
63
  }>;
112
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
64
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
113
65
  export default _default;
114
66
  type __VLS_WithDefaults<P, D> = {
115
67
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
@@ -125,7 +77,7 @@ type __VLS_TypePropsToOption<T> = {
125
77
  required: true;
126
78
  };
127
79
  };
128
- type __VLS_WithTemplateSlots<T, S> = T & {
80
+ type __VLS_WithSlots<T, S> = T & {
129
81
  new (): {
130
82
  $slots: S;
131
83
  };
@@ -33,17 +33,10 @@ type __VLS_Props = {
33
33
  round?: boolean;
34
34
  size?: number;
35
35
  };
36
- declare function __VLS_template(): {
37
- attrs: Partial<{}>;
38
- slots: {
39
- tip?(_: {}): any;
40
- };
41
- refs: {
42
- inputRef: HTMLInputElement;
43
- };
44
- rootEl: HTMLDivElement;
36
+ declare var __VLS_29: {};
37
+ type __VLS_Slots = {} & {
38
+ tip?: (props: typeof __VLS_29) => any;
45
39
  };
46
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
47
40
  declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_Props>, {
48
41
  valueType: string;
49
42
  fileTypes: string;
@@ -92,19 +85,19 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<
92
85
  size: number;
93
86
  disabled: boolean;
94
87
  validateEvent: boolean;
95
- clearable: boolean;
96
88
  name: string;
89
+ clearable: boolean;
97
90
  method: string;
98
91
  round: boolean;
99
92
  fileTypes: string[] | string;
100
93
  maxSize: number;
101
- valueType: "string" | "object";
102
94
  uploading: boolean;
103
- action: string;
104
95
  compressEnabled: boolean;
96
+ action: string;
97
+ valueType: "string" | "object";
105
98
  enablePreview: boolean;
106
99
  }>;
107
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
100
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
108
101
  export default _default;
109
102
  type __VLS_WithDefaults<P, D> = {
110
103
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
@@ -120,7 +113,7 @@ type __VLS_TypePropsToOption<T> = {
120
113
  required: true;
121
114
  };
122
115
  };
123
- type __VLS_WithTemplateSlots<T, S> = T & {
116
+ type __VLS_WithSlots<T, S> = T & {
124
117
  new (): {
125
118
  $slots: S;
126
119
  };