erp-plus 1.0.44 → 1.0.45

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 (32) hide show
  1. package/dist/packages/Avatar/index.d.ts +1 -1
  2. package/dist/packages/Button/index.d.ts +1 -1
  3. package/dist/packages/Card/index.d.ts +1 -1
  4. package/dist/packages/CheckboxGroup/index.d.ts +1 -1
  5. package/dist/packages/DatePicker/{DatePicker.vue.d.ts → DatePicker.d.ts} +6 -14
  6. package/dist/packages/DatePicker/index.d.ts +1 -1
  7. package/dist/packages/Dialog/{Dialog.vue.d.ts → Dialog.d.ts} +3 -7
  8. package/dist/packages/Dialog/index.d.ts +1 -1
  9. package/dist/packages/Input/{Input.vue.d.ts → Input.d.ts} +4 -8
  10. package/dist/packages/Input/index.d.ts +1 -1
  11. package/dist/packages/InputNumber/index.d.ts +1 -1
  12. package/dist/packages/Loading/index.d.ts +1 -1
  13. package/dist/packages/Pagination/index.d.ts +1 -1
  14. package/dist/packages/RadioGroup/index.d.ts +1 -1
  15. package/dist/packages/Select/{Select.vue.d.ts → Select.d.ts} +1 -1
  16. package/dist/packages/Select/index.d.ts +1 -1
  17. package/dist/packages/SelectorDialog/index.d.ts +1 -1
  18. package/dist/packages/SvgIcon/index.d.ts +1 -1
  19. package/dist/packages/Table/index.d.ts +1 -1
  20. package/dist/packages/Tree/{Tree.vue.d.ts → Tree.d.ts} +3 -7
  21. package/dist/packages/Tree/index.d.ts +1 -1
  22. package/package.json +1 -1
  23. package/dist/packages/SvgIcon/index.vue.d.ts +0 -41
  24. package/dist/packages/Avatar/{Avatar.vue.d.ts → Avatar.d.ts} +0 -0
  25. package/dist/packages/Button/{Button.vue.d.ts → Button.d.ts} +0 -0
  26. package/dist/packages/Card/{Card.vue.d.ts → Card.d.ts} +0 -0
  27. package/dist/packages/CheckboxGroup/{CheckboxGroup.vue.d.ts → CheckboxGroup.d.ts} +0 -0
  28. package/dist/packages/InputNumber/{InputNumber.vue.d.ts → InputNumber.d.ts} +1 -1
  29. /package/dist/packages/Loading/{Loading.vue.d.ts → Loading.d.ts} +0 -0
  30. /package/dist/packages/Pagination/{Pagination.vue.d.ts → Pagination.d.ts} +0 -0
  31. /package/dist/packages/RadioGroup/{RadioGroup.vue.d.ts → RadioGroup.d.ts} +0 -0
  32. /package/dist/packages/Table/{Table.vue.d.ts → Table.d.ts} +0 -0
@@ -1,4 +1,4 @@
1
1
  import { Plugin } from 'vue';
2
- import { default as Avatar } from './Avatar.vue';
2
+ import { default as Avatar } from './Avatar';
3
3
  declare const _default: typeof Avatar & Plugin;
4
4
  export default _default;
@@ -1,4 +1,4 @@
1
1
  import { Plugin } from 'vue';
2
- import { default as Button } from './Button.vue';
2
+ import { default as Button } from './Button';
3
3
  declare const _default: typeof Button & Plugin;
4
4
  export default _default;
@@ -1,4 +1,4 @@
1
1
  import { Plugin } from 'vue';
2
- import { default as Card } from './Card.vue';
2
+ import { default as Card } from './Card';
3
3
  declare const _default: typeof Card & Plugin;
4
4
  export default _default;
@@ -1,4 +1,4 @@
1
1
  import { Plugin } from 'vue';
2
- import { default as CheckboxGroup } from './CheckboxGroup.vue';
2
+ import { default as CheckboxGroup } from './CheckboxGroup';
3
3
  declare const _default: typeof CheckboxGroup & Plugin;
4
4
  export default _default;
@@ -1,4 +1,4 @@
1
- import { PropType, DefineComponent, ExtractPropTypes, VNode, RendererNode, RendererElement, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
1
+ import { PropType, DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
2
  type sizeType = 'large' | 'default' | 'small' | undefined;
3
3
  type typeType = "year" | "years" | "month" | "months" | "date" | "dates" | "datetime" | "week" | "datetimerange" | "daterange" | "monthrange" | "yearrange";
4
4
  type placementType = 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'left' | 'left-start' | 'left-end' | 'right' | 'right-start' | 'right-end';
@@ -78,15 +78,11 @@ declare const _default: DefineComponent<ExtractPropTypes<{
78
78
  };
79
79
  prefixIcon: {
80
80
  type: (ObjectConstructor | StringConstructor)[];
81
- default: () => VNode<RendererNode, RendererElement, {
82
- [key: string]: any;
83
- }>;
81
+ default: () => any;
84
82
  };
85
83
  clearIcon: {
86
84
  type: (ObjectConstructor | StringConstructor)[];
87
- default: () => VNode<RendererNode, RendererElement, {
88
- [key: string]: any;
89
- }>;
85
+ default: () => any;
90
86
  };
91
87
  validateEvent: {
92
88
  type: BooleanConstructor;
@@ -217,15 +213,11 @@ declare const _default: DefineComponent<ExtractPropTypes<{
217
213
  };
218
214
  prefixIcon: {
219
215
  type: (ObjectConstructor | StringConstructor)[];
220
- default: () => VNode<RendererNode, RendererElement, {
221
- [key: string]: any;
222
- }>;
216
+ default: () => any;
223
217
  };
224
218
  clearIcon: {
225
219
  type: (ObjectConstructor | StringConstructor)[];
226
- default: () => VNode<RendererNode, RendererElement, {
227
- [key: string]: any;
228
- }>;
220
+ default: () => any;
229
221
  };
230
222
  validateEvent: {
231
223
  type: BooleanConstructor;
@@ -285,7 +277,6 @@ declare const _default: DefineComponent<ExtractPropTypes<{
285
277
  valueOnClear: string | number | boolean | Function;
286
278
  size: sizeType;
287
279
  type: typeType;
288
- readonly: boolean;
289
280
  disabled: boolean;
290
281
  modelValue: string | number | Date | [Date, Date];
291
282
  cellClassName: Function;
@@ -299,6 +290,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
299
290
  clearable: boolean;
300
291
  clearIcon: string | Record<string, any>;
301
292
  prefixIcon: string | Record<string, any>;
293
+ readonly: boolean;
302
294
  validateEvent: boolean;
303
295
  editable: boolean;
304
296
  startPlaceholder: string;
@@ -1,4 +1,4 @@
1
1
  import { Plugin } from 'vue';
2
- import { default as DatePicker } from './DatePicker.vue';
2
+ import { default as DatePicker } from './DatePicker';
3
3
  declare const _default: typeof DatePicker & Plugin;
4
4
  export default _default;
@@ -1,4 +1,4 @@
1
- import { PropType, VNode, DefineComponent, ExtractPropTypes, RendererNode, RendererElement, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
1
+ import { PropType, VNode, DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
2
  declare function __VLS_template(): {
3
3
  attrs: Partial<{}>;
4
4
  slots: any;
@@ -109,9 +109,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
109
109
  };
110
110
  closeIcon: {
111
111
  type: PropType<() => VNode>;
112
- default: () => VNode< RendererNode, RendererElement, {
113
- [key: string]: any;
114
- }>;
112
+ default: () => any;
115
113
  };
116
114
  zIndex: {
117
115
  type: NumberConstructor;
@@ -236,9 +234,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
236
234
  };
237
235
  closeIcon: {
238
236
  type: PropType<() => VNode>;
239
- default: () => VNode< RendererNode, RendererElement, {
240
- [key: string]: any;
241
- }>;
237
+ default: () => any;
242
238
  };
243
239
  zIndex: {
244
240
  type: NumberConstructor;
@@ -1,4 +1,4 @@
1
1
  import { Plugin } from 'vue';
2
- import { default as Dialog } from './Dialog.vue';
2
+ import { default as Dialog } from './Dialog';
3
3
  declare const _default: typeof Dialog & Plugin;
4
4
  export default _default;
@@ -1,4 +1,4 @@
1
- import { Component, PropType, DefineComponent, ExtractPropTypes, VNode, RendererNode, RendererElement, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
1
+ import { Component, PropType, DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
2
  type resizeType = "none" | "both" | "horizontal" | "vertical" | undefined;
3
3
  type sizeType = 'large' | 'default' | 'small' | undefined;
4
4
  declare function __VLS_template(): {
@@ -31,9 +31,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
31
31
  };
32
32
  clearIcon: {
33
33
  type: (ObjectConstructor | StringConstructor)[];
34
- default: () => VNode<RendererNode, RendererElement, {
35
- [key: string]: any;
36
- }>;
34
+ default: () => any;
37
35
  };
38
36
  formatter: {
39
37
  type: FunctionConstructor;
@@ -174,9 +172,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
174
172
  };
175
173
  clearIcon: {
176
174
  type: (ObjectConstructor | StringConstructor)[];
177
- default: () => VNode<RendererNode, RendererElement, {
178
- [key: string]: any;
179
- }>;
175
+ default: () => any;
180
176
  };
181
177
  formatter: {
182
178
  type: FunctionConstructor;
@@ -298,7 +294,6 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
298
294
  size: sizeType;
299
295
  type: string;
300
296
  resize: resizeType;
301
- readonly: boolean;
302
297
  form: string;
303
298
  label: string;
304
299
  disabled: boolean;
@@ -322,6 +317,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
322
317
  minRows: number;
323
318
  maxRows: number;
324
319
  };
320
+ readonly: boolean;
325
321
  max: string | number;
326
322
  min: string | number;
327
323
  step: string | number;
@@ -1,4 +1,4 @@
1
1
  import { Plugin } from 'vue';
2
- import { default as Input } from './Input.vue';
2
+ import { default as Input } from './Input';
3
3
  declare const _default: typeof Input & Plugin;
4
4
  export default _default;
@@ -1,4 +1,4 @@
1
1
  import { Plugin } from 'vue';
2
- import { default as InputNumber } from './InputNumber.vue';
2
+ import { default as InputNumber } from './InputNumber';
3
3
  declare const _default: typeof InputNumber & Plugin;
4
4
  export default _default;
@@ -1,4 +1,4 @@
1
1
  import { Plugin } from 'vue';
2
- import { default as Loading } from './Loading.vue';
2
+ import { default as Loading } from './Loading';
3
3
  declare const _default: typeof Loading & Plugin;
4
4
  export default _default;
@@ -1,4 +1,4 @@
1
1
  import { Plugin } from 'vue';
2
- import { default as Pagination } from './Pagination.vue';
2
+ import { default as Pagination } from './Pagination';
3
3
  declare const _default: typeof Pagination & Plugin;
4
4
  export default _default;
@@ -1,4 +1,4 @@
1
1
  import { Plugin } from 'vue';
2
- import { default as RadioGroup } from './RadioGroup.vue';
2
+ import { default as RadioGroup } from './RadioGroup';
3
3
  declare const _default: typeof RadioGroup & Plugin;
4
4
  export default _default;
@@ -190,7 +190,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
190
190
  /** 使选择器的输入框失去焦点,并隐藏下拉框 */
191
191
  blur: () => void;
192
192
  /** 暴露当前选中的 label 属性 */
193
- selectedLabel: ComputedRef<string | string[] | undefined>;
193
+ selectedLabel: ComputedRef<any>;
194
194
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
195
195
  blur: (...args: any[]) => void;
196
196
  change: (...args: any[]) => void;
@@ -1,4 +1,4 @@
1
1
  import { Plugin } from 'vue';
2
- import { default as Select } from './Select.vue';
2
+ import { default as Select } from './Select';
3
3
  declare const _default: typeof Select & Plugin;
4
4
  export default _default;
@@ -1,4 +1,4 @@
1
1
  import { Plugin } from 'vue';
2
- import { default as SelectorDialog } from './SelectorDialog.vue';
2
+ import { default as SelectorDialog } from './SelectorDialog';
3
3
  declare const _default: typeof SelectorDialog & Plugin;
4
4
  export default _default;
@@ -1,4 +1,4 @@
1
1
  import { Plugin } from 'vue';
2
- import { default as SvgIcon } from './index.vue';
2
+ import { default as SvgIcon } from './index';
3
3
  declare const _default: typeof SvgIcon & Plugin;
4
4
  export default _default;
@@ -1,4 +1,4 @@
1
1
  import { Plugin } from 'vue';
2
- import { default as Table } from './Table.vue';
2
+ import { default as Table } from './Table';
3
3
  declare const _default: typeof Table & Plugin;
4
4
  export default _default;
@@ -1,4 +1,4 @@
1
- import { PropType, CreateComponentPublicInstanceWithMixins, ExtractPropTypes, Component, ComponentInternalInstance, ComputedRef, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DefineComponent, VNode, RendererNode, RendererElement, PublicProps } from 'vue';
1
+ import { PropType, CreateComponentPublicInstanceWithMixins, ExtractPropTypes, Component, ComponentInternalInstance, ComputedRef, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DefineComponent, PublicProps } from 'vue';
2
2
  import { TreeNodeData, TreeData, TreeComponentProps, RenderContentFunction, AllowDragFunction, AllowDropFunction, CheckedInfo, NodeDropType, TreeKey, FakeNode, TreeNodeLoadedDefaultProps, TreeStoreNodesMap, LoadFunction, FilterNodeMethodFunction, FilterValue, Nullable, Translator, TreeOptionProps } from 'element-plus';
3
3
  import { default as __DTS_DEFAULT_0__ } from 'element-plus/es/components/tree/src/model/node';
4
4
  declare function __VLS_template(): {
@@ -1065,9 +1065,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
1065
1065
  };
1066
1066
  icon: {
1067
1067
  type: ObjectConstructor;
1068
- default: () => VNode<RendererNode, RendererElement, {
1069
- [key: string]: any;
1070
- }>;
1068
+ default: () => any;
1071
1069
  };
1072
1070
  lazy: {
1073
1071
  type: BooleanConstructor;
@@ -1182,9 +1180,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
1182
1180
  };
1183
1181
  icon: {
1184
1182
  type: ObjectConstructor;
1185
- default: () => VNode<RendererNode, RendererElement, {
1186
- [key: string]: any;
1187
- }>;
1183
+ default: () => any;
1188
1184
  };
1189
1185
  lazy: {
1190
1186
  type: BooleanConstructor;
@@ -1,4 +1,4 @@
1
1
  import { Plugin } from 'vue';
2
- import { default as Tree } from './Tree.vue';
2
+ import { default as Tree } from './Tree';
3
3
  declare const _default: typeof Tree & Plugin;
4
4
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "erp-plus",
3
- "version": "1.0.44",
3
+ "version": "1.0.45",
4
4
  "author": "zhangxl",
5
5
  "main": "dist/erp-plus.umd.js",
6
6
  "module": "dist/erp-plus.es.js",
@@ -1,41 +0,0 @@
1
- import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
- declare const _default: DefineComponent<ExtractPropTypes<{
3
- iconClass: {
4
- type: StringConstructor;
5
- required: true;
6
- };
7
- className: {
8
- type: StringConstructor;
9
- default: string;
10
- };
11
- color: {
12
- type: StringConstructor;
13
- default: string;
14
- };
15
- size: {
16
- type: (StringConstructor | NumberConstructor)[];
17
- default: string;
18
- };
19
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
20
- iconClass: {
21
- type: StringConstructor;
22
- required: true;
23
- };
24
- className: {
25
- type: StringConstructor;
26
- default: string;
27
- };
28
- color: {
29
- type: StringConstructor;
30
- default: string;
31
- };
32
- size: {
33
- type: (StringConstructor | NumberConstructor)[];
34
- default: string;
35
- };
36
- }>> & Readonly<{}>, {
37
- size: string | number;
38
- className: string;
39
- color: string;
40
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLElement>;
41
- export default _default;
File without changes
@@ -153,8 +153,8 @@ declare const _default: DefineComponent<ExtractPropTypes<{
153
153
  };
154
154
  }>> & Readonly<{}>, {
155
155
  size: typeSize;
156
- readonly: boolean;
157
156
  disabled: boolean;
157
+ readonly: boolean;
158
158
  max: number;
159
159
  min: number;
160
160
  step: number;