lew-ui 2.7.15 → 2.7.17

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 (160) hide show
  1. package/LICENSE +21 -21
  2. package/dist/_components/CommonIcon.vue.d.ts +4 -4
  3. package/dist/components/data/collapse/src/LewCollapse.vue.d.ts +9 -9
  4. package/dist/components/data/collapse/src/LewCollapseItem.vue.d.ts +9 -7
  5. package/dist/components/data/collapse/src/props.d.ts +9 -10
  6. package/dist/components/data/desc/src/LewDesc.vue.d.ts +62 -40
  7. package/dist/components/data/desc/src/LewDescItem.vue.d.ts +46 -26
  8. package/dist/components/data/desc/src/props.d.ts +51 -49
  9. package/dist/components/data/expand/src/LewExpand.vue.d.ts +5 -9
  10. package/dist/components/data/expand/src/props.d.ts +4 -5
  11. package/dist/components/data/pagination/src/LewPagination.vue.d.ts +14 -15
  12. package/dist/components/data/pagination/src/props.d.ts +12 -15
  13. package/dist/components/data/table/src/LewTable.vue.d.ts +26 -37
  14. package/dist/components/data/table/src/props.d.ts +16 -31
  15. package/dist/components/data/tree/src/LewTree.vue.d.ts +39 -48
  16. package/dist/components/data/tree/src/LewTreeItem.vue.d.ts +18 -30
  17. package/dist/components/data/tree/src/props.d.ts +29 -55
  18. package/dist/components/data/tree/src/transformTree.d.ts +5 -5
  19. package/dist/components/feedback/alert/src/LewAlert.vue.d.ts +15 -38
  20. package/dist/components/feedback/alert/src/props.d.ts +8 -18
  21. package/dist/components/feedback/drawer/src/LewDrawer.vue.d.ts +43 -55
  22. package/dist/components/feedback/drawer/src/props.d.ts +24 -27
  23. package/dist/components/feedback/empty/src/LewEmpty.vue.d.ts +61 -53
  24. package/dist/components/feedback/empty/src/props.d.ts +21 -26
  25. package/dist/components/feedback/modal/src/LewModal.vue.d.ts +44 -57
  26. package/dist/components/feedback/modal/src/props.d.ts +23 -28
  27. package/dist/components/feedback/popok/src/LewPopok.vue.d.ts +326 -271
  28. package/dist/components/feedback/popok/src/props.d.ts +37 -29
  29. package/dist/components/feedback/popover/src/LewPopover.vue.d.ts +45 -38
  30. package/dist/components/feedback/popover/src/props.d.ts +24 -21
  31. package/dist/components/form/cascader/src/LewCascader.vue.d.ts +179 -164
  32. package/dist/components/form/cascader/src/props.d.ts +30 -46
  33. package/dist/components/form/checkbox/src/LewCheckbox.vue.d.ts +23 -26
  34. package/dist/components/form/checkbox/src/LewCheckboxGroup.vue.d.ts +28 -37
  35. package/dist/components/form/checkbox/src/props.d.ts +26 -40
  36. package/dist/components/form/color-picker/src/LewColorPicker.vue.d.ts +17 -16
  37. package/dist/components/form/color-picker/src/props.d.ts +11 -9
  38. package/dist/components/form/date-picker/src/LewDate.vue.d.ts +2 -2
  39. package/dist/components/form/date-picker/src/LewDatePicker.vue.d.ts +90 -82
  40. package/dist/components/form/date-picker/src/props.d.ts +17 -24
  41. package/dist/components/form/date-range-picker/src/LewDateRange.vue.d.ts +6 -10
  42. package/dist/components/form/date-range-picker/src/LewDateRangePicker.vue.d.ts +93 -91
  43. package/dist/components/form/date-range-picker/src/props.d.ts +18 -22
  44. package/dist/components/form/form/src/LewForm.vue.d.ts +50 -55
  45. package/dist/components/form/form/src/LewFormItem.vue.d.ts +64 -65
  46. package/dist/components/form/form/src/props.d.ts +50 -54
  47. package/dist/components/form/index.d.ts +0 -1
  48. package/dist/components/form/input/src/LewInput.vue.d.ts +79 -83
  49. package/dist/components/form/input/src/props.d.ts +39 -46
  50. package/dist/components/form/input-number/src/LewInputNumber.vue.d.ts +39 -57
  51. package/dist/components/form/input-number/src/props.d.ts +21 -29
  52. package/dist/components/form/input-table/src/FormModal.vue.d.ts +67 -62
  53. package/dist/components/form/input-table/src/LewInputTable.vue.d.ts +177 -165
  54. package/dist/components/form/input-table/src/props.d.ts +39 -27
  55. package/dist/components/form/input-tag/src/LewInputTag.vue.d.ts +114 -116
  56. package/dist/components/form/input-tag/src/props.d.ts +15 -14
  57. package/dist/components/form/radio/src/LewRadio.vue.d.ts +22 -22
  58. package/dist/components/form/radio/src/LewRadioGroup.vue.d.ts +31 -27
  59. package/dist/components/form/radio/src/props.d.ts +26 -31
  60. package/dist/components/form/rate/src/LewRate.vue.d.ts +13 -13
  61. package/dist/components/form/rate/src/props.d.ts +8 -9
  62. package/dist/components/form/select/src/LewSelect.vue.d.ts +191 -175
  63. package/dist/components/form/select/src/props.d.ts +34 -51
  64. package/dist/components/form/select-multiple/src/LewSelectMultiple.vue.d.ts +318 -281
  65. package/dist/components/form/select-multiple/src/props.d.ts +34 -50
  66. package/dist/components/form/slider/src/LewSlider.vue.d.ts +34 -40
  67. package/dist/components/form/slider/src/props.d.ts +20 -28
  68. package/dist/components/form/slider-range/src/LewSliderRange.vue.d.ts +34 -40
  69. package/dist/components/form/slider-range/src/props.d.ts +18 -26
  70. package/dist/components/form/switch/src/LewSwitch.vue.d.ts +23 -25
  71. package/dist/components/form/switch/src/props.d.ts +9 -12
  72. package/dist/components/form/tabs/src/LewTabs.vue.d.ts +41 -43
  73. package/dist/components/form/tabs/src/props.d.ts +22 -29
  74. package/dist/components/form/textarea/src/LewTextarea.vue.d.ts +62 -66
  75. package/dist/components/form/textarea/src/props.d.ts +30 -32
  76. package/dist/components/form/tree-select/src/LewTreeSelect.vue.d.ts +301 -335
  77. package/dist/components/form/tree-select/src/props.d.ts +36 -66
  78. package/dist/components/form/upload/src/LewUpload.vue.d.ts +72 -59
  79. package/dist/components/form/upload/src/LewUploadByCard.vue.d.ts +9 -9
  80. package/dist/components/form/upload/src/LewUploadByList.vue.d.ts +9 -9
  81. package/dist/components/form/upload/src/props.d.ts +11 -24
  82. package/dist/components/general/avatar/src/LewAvatar.vue.d.ts +47 -34
  83. package/dist/components/general/avatar/src/props.d.ts +24 -21
  84. package/dist/components/general/badge/src/LewBadge.vue.d.ts +29 -21
  85. package/dist/components/general/badge/src/props.d.ts +16 -14
  86. package/dist/components/general/button/src/LewButton.vue.d.ts +48 -28
  87. package/dist/components/general/button/src/props.d.ts +25 -15
  88. package/dist/components/general/flex/src/LewFlex.vue.d.ts +40 -29
  89. package/dist/components/general/flex/src/props.d.ts +20 -20
  90. package/dist/components/general/image/src/LewImage.vue.d.ts +41 -31
  91. package/dist/components/general/image/src/props.d.ts +21 -16
  92. package/dist/components/general/index.d.ts +0 -1
  93. package/dist/components/general/mark/src/LewMark.vue.d.ts +9 -5
  94. package/dist/components/general/mark/src/props.d.ts +6 -4
  95. package/dist/components/general/tag/src/LewTag.vue.d.ts +38 -14
  96. package/dist/components/general/tag/src/props.d.ts +21 -15
  97. package/dist/components/general/text-trim/src/LewTextTrim.vue.d.ts +30 -22
  98. package/dist/components/general/text-trim/src/props.d.ts +17 -13
  99. package/dist/components/general/title/src/LewTitle.vue.d.ts +15 -11
  100. package/dist/components/general/title/src/props.d.ts +10 -8
  101. package/dist/components/navigation/action-box/src/LewActionBox.vue.d.ts +29 -22
  102. package/dist/components/navigation/action-box/src/props.d.ts +16 -15
  103. package/dist/components/navigation/back-top/src/LewBackTop.vue.d.ts +11 -19
  104. package/dist/components/navigation/back-top/src/props.d.ts +6 -6
  105. package/dist/components/navigation/breadcrumb/src/LewBreadcrumb.vue.d.ts +18 -17
  106. package/dist/components/navigation/breadcrumb/src/props.d.ts +10 -13
  107. package/dist/components/{general → navigation}/dropdown/src/LewDropdown.vue.d.ts +150 -134
  108. package/dist/components/navigation/dropdown/src/props.d.ts +34 -0
  109. package/dist/components/navigation/index.d.ts +1 -0
  110. package/dist/components/navigation/menu/src/LewMenu.vue.d.ts +13 -17
  111. package/dist/components/navigation/menu/src/props.d.ts +7 -19
  112. package/dist/components/navigation/menu-tree/src/LewMenuTree.vue.d.ts +26 -25
  113. package/dist/components/navigation/menu-tree/src/LewMenuTreeItem.vue.d.ts +31 -40
  114. package/dist/components/navigation/menu-tree/src/props.d.ts +28 -35
  115. package/dist/components/navigation/steps/src/LewSteps.vue.d.ts +20 -21
  116. package/dist/components/navigation/steps/src/props.d.ts +14 -20
  117. package/dist/directives/backtop/index.d.ts +4 -1
  118. package/dist/directives/context-menu/index.d.ts +21 -1
  119. package/dist/directives/context-menu/src/LewContextMenu.vue.d.ts +12 -8
  120. package/dist/directives/context-menu/src/props.d.ts +16 -0
  121. package/dist/directives/hover-menu/index.d.ts +56 -1
  122. package/dist/directives/loading/index.d.ts +4 -1
  123. package/dist/directives/tooltip/index.d.ts +4 -1
  124. package/dist/index.css +1 -1
  125. package/dist/index.js +4354 -3773
  126. package/dist/index.umd.cjs +6 -6
  127. package/dist/locals/zh.d.ts +6 -0
  128. package/dist/methods/dialog/src/LewDialog.vue.d.ts +130 -297
  129. package/dist/methods/dialog/src/index.d.ts +2 -23
  130. package/dist/methods/dialog/src/props.d.ts +34 -16
  131. package/dist/methods/message/src/index.d.ts +2 -1
  132. package/dist/methods/notification/src/index.d.ts +2 -44
  133. package/dist/render/components/CommonIcon.vue.d.ts +77 -0
  134. package/dist/{components/form/input-tree/src/LewInputTree.vue.d.ts → render/components/RenderComponent.vue.d.ts} +16 -23
  135. package/dist/render/components/index.d.ts +2 -0
  136. package/dist/{utils/render.d.ts → render/index.d.ts} +4 -3
  137. package/dist/types/base.d.ts +13 -0
  138. package/dist/types/components.d.ts +253 -0
  139. package/dist/types/directives.d.ts +32 -0
  140. package/dist/types/index.d.ts +5 -27
  141. package/dist/types/methods.d.ts +95 -0
  142. package/dist/types/model.d.ts +1 -0
  143. package/dist/utils/index.d.ts +2 -6
  144. package/dist/utils/select.d.ts +6 -0
  145. package/dist/validators/index.d.ts +93 -0
  146. package/dist/validators/typeValues.d.ts +26 -0
  147. package/package.json +6 -5
  148. package/dist/components/form/input-tree/index.d.ts +0 -2
  149. package/dist/components/form/input-tree/src/props.d.ts +0 -17
  150. package/dist/components/form/select/src/util.d.ts +0 -7
  151. package/dist/components/general/dropdown/src/props.d.ts +0 -30
  152. package/dist/constants/index.d.ts +0 -8
  153. package/dist/directives/backtop/src/index.d.ts +0 -5
  154. package/dist/directives/context-menu/src/index.d.ts +0 -61
  155. package/dist/directives/hover-menu/src/index.d.ts +0 -56
  156. package/dist/directives/loading/src/index.d.ts +0 -4
  157. package/dist/directives/tooltip/src/index.d.ts +0 -4
  158. /package/dist/components/{general → navigation}/dropdown/index.d.ts +0 -0
  159. /package/dist/methods/notification/src/{components/NotificationContainer.vue.d.ts → NotificationContainer.vue.d.ts} +0 -0
  160. /package/dist/methods/notification/src/{components/NotificationItem.vue.d.ts → NotificationItem.vue.d.ts} +0 -0
package/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2023 lew
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2023 lew
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -65,13 +65,13 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
65
65
  default: string;
66
66
  };
67
67
  }>> & Readonly<{}>, {
68
+ loading: boolean;
69
+ fill: string;
68
70
  type: string;
69
- dark: boolean;
70
71
  color: string;
71
- strokeWidth: number;
72
72
  size: number;
73
- loading: boolean;
73
+ dark: boolean;
74
+ strokeWidth: number;
74
75
  speed: number;
75
- fill: string;
76
76
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
77
77
  export default _default;
@@ -1,4 +1,4 @@
1
- import { CollapseModelValue } from './props';
1
+ import { LewCollapseModelValue } from '../../../../types';
2
2
  declare function __VLS_template(): {
3
3
  attrs: Partial<{}>;
4
4
  slots: {
@@ -12,26 +12,26 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
12
12
  width: {
13
13
  type: PropType<import("csstype").Property.Width>;
14
14
  default: string;
15
- validator(value: import("csstype").Property.Width): boolean;
15
+ validator: (value: string | number | undefined) => boolean;
16
16
  };
17
17
  modelValue: {
18
- type: globalThis.PropType<CollapseModelValue>;
18
+ type: globalThis.PropType<LewCollapseModelValue>;
19
19
  };
20
20
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
21
- change: (value: CollapseModelValue) => any;
22
- "update:modelValue": (value: CollapseModelValue) => any;
21
+ change: (value: LewCollapseModelValue) => any;
22
+ "update:modelValue": (value: LewCollapseModelValue) => any;
23
23
  }, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
24
24
  width: {
25
25
  type: PropType<import("csstype").Property.Width>;
26
26
  default: string;
27
- validator(value: import("csstype").Property.Width): boolean;
27
+ validator: (value: string | number | undefined) => boolean;
28
28
  };
29
29
  modelValue: {
30
- type: globalThis.PropType<CollapseModelValue>;
30
+ type: globalThis.PropType<LewCollapseModelValue>;
31
31
  };
32
32
  }>> & Readonly<{
33
- onChange?: ((value: CollapseModelValue) => any) | undefined;
34
- "onUpdate:modelValue"?: ((value: CollapseModelValue) => any) | undefined;
33
+ onChange?: ((value: LewCollapseModelValue) => any) | undefined;
34
+ "onUpdate:modelValue"?: ((value: LewCollapseModelValue) => any) | undefined;
35
35
  }>, {
36
36
  width: import("csstype").Property.Width<0 | (string & {})>;
37
37
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
@@ -4,8 +4,8 @@ declare function __VLS_template(): {
4
4
  title?(_: {
5
5
  props: {
6
6
  readonly radius: import("csstype").Property.BorderRadius<0 | (string & {})>;
7
- readonly collapseKey?: string | number | undefined;
8
7
  readonly title?: string | undefined;
8
+ readonly collapseKey?: string | undefined;
9
9
  };
10
10
  }): any;
11
11
  default?(_: {}): any;
@@ -16,17 +16,18 @@ declare function __VLS_template(): {
16
16
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
17
17
  declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
18
18
  collapseKey: {
19
- type: PropType<string | number>;
19
+ type: StringConstructor;
20
20
  required: boolean;
21
- validator(value: string | number): boolean;
21
+ validator: (value: any) => boolean;
22
22
  };
23
23
  title: {
24
24
  type: StringConstructor;
25
+ validator: (value: any) => boolean;
25
26
  };
26
27
  radius: {
27
28
  type: PropType<import("csstype").Property.BorderRadius>;
28
29
  default: string;
29
- validator(value: import("csstype").Property.BorderRadius): boolean;
30
+ validator: (value: string | number | undefined) => boolean;
30
31
  };
31
32
  modelValue: {
32
33
  type: globalThis.PropType<boolean>;
@@ -36,17 +37,18 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
36
37
  "update:modelValue": (value: boolean) => any;
37
38
  }, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
38
39
  collapseKey: {
39
- type: PropType<string | number>;
40
+ type: StringConstructor;
40
41
  required: boolean;
41
- validator(value: string | number): boolean;
42
+ validator: (value: any) => boolean;
42
43
  };
43
44
  title: {
44
45
  type: StringConstructor;
46
+ validator: (value: any) => boolean;
45
47
  };
46
48
  radius: {
47
49
  type: PropType<import("csstype").Property.BorderRadius>;
48
50
  default: string;
49
- validator(value: import("csstype").Property.BorderRadius): boolean;
51
+ validator: (value: string | number | undefined) => boolean;
50
52
  };
51
53
  modelValue: {
52
54
  type: globalThis.PropType<boolean>;
@@ -1,8 +1,8 @@
1
1
  import { Property } from 'csstype';
2
- import { ExtractPropTypes, PropType } from 'vue';
2
+ import { ExtractPublicPropTypes, PropType } from 'vue';
3
3
  export declare const collapseModel: {
4
4
  modelValue: {
5
- type: PropType<string[] | string | number | null>;
5
+ type: PropType<string[] | string>;
6
6
  };
7
7
  };
8
8
  export declare const collapseItemModel: {
@@ -11,29 +11,28 @@ export declare const collapseItemModel: {
11
11
  default: boolean;
12
12
  };
13
13
  };
14
- export type CollapseModelValue = (string | number)[] | string | number | null;
15
- export type CollapseItemModelValue = boolean;
16
14
  export declare const collapseProps: {
17
15
  width: {
18
16
  type: PropType<Property.Width>;
19
17
  default: string;
20
- validator(value: Property.Width): boolean;
18
+ validator: (value: string | number | undefined) => boolean;
21
19
  };
22
20
  };
23
21
  export declare const collapseItemProps: {
24
22
  collapseKey: {
25
- type: PropType<string | number>;
23
+ type: StringConstructor;
26
24
  required: boolean;
27
- validator(value: string | number): boolean;
25
+ validator: (value: any) => boolean;
28
26
  };
29
27
  title: {
30
28
  type: StringConstructor;
29
+ validator: (value: any) => boolean;
31
30
  };
32
31
  radius: {
33
32
  type: PropType<Property.BorderRadius>;
34
33
  default: string;
35
- validator(value: Property.BorderRadius): boolean;
34
+ validator: (value: string | number | undefined) => boolean;
36
35
  };
37
36
  };
38
- export type CollapseProps = ExtractPropTypes<typeof collapseProps>;
39
- export type CollapseItemProps = ExtractPropTypes<typeof collapseItemProps>;
37
+ export type LewCollapseProps = ExtractPublicPropTypes<typeof collapseProps>;
38
+ export type LewCollapseItemProps = ExtractPublicPropTypes<typeof collapseItemProps>;
@@ -1,132 +1,154 @@
1
- import { DescOptions } from './props';
1
+ import { LewDescOption } from '../../../../types';
2
2
  declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
3
3
  options: {
4
- type: PropType<DescOptions[]>;
4
+ type: PropType<LewDescOption[]>;
5
5
  required: boolean;
6
- validator(value: DescOptions[]): boolean;
6
+ typePopKeys: string[];
7
+ validator: (value: any[] | undefined) => boolean;
7
8
  };
8
9
  dataSource: {
9
10
  type: PropType<Record<string, any>>;
11
+ required: boolean;
10
12
  default: () => {};
13
+ validator: (value: unknown) => boolean;
11
14
  };
12
15
  size: {
13
- type: PropType<import('../../../..').LewSize>;
16
+ type: PropType<import('../../../../types').LewSize>;
14
17
  default: string;
15
- validator(value: import('../../../..').LewSize): boolean;
18
+ typeValues: import('../../../../types').LewSize[];
19
+ validator: (value: any) => boolean;
16
20
  };
17
21
  labelX: {
18
22
  type: PropType<import("csstype").Property.TextAlign>;
19
23
  default: string;
24
+ typeValues: import('../../../../types').LewXAlignment[];
25
+ validator: (value: any) => boolean;
20
26
  };
21
27
  valueX: {
22
28
  type: PropType<import("csstype").Property.TextAlign>;
23
29
  default: string;
30
+ typeValues: import('../../../../types').LewXAlignment[];
31
+ validator: (value: any) => boolean;
24
32
  };
25
33
  gap: {
26
- type: PropType<string | number>;
27
- default: number;
28
- validator(value: string | number): boolean;
34
+ type: PropType<import("csstype").Property.Gap>;
35
+ default: string;
36
+ validator: (value: string | number | undefined) => boolean;
29
37
  };
30
38
  width: {
31
- type: PropType<import("csstype").Property.Width | number>;
32
- validator(value: import("csstype").Property.Width | number): boolean;
39
+ type: PropType<import("csstype").Property.Width>;
40
+ validator: (value: string | number | undefined) => boolean;
33
41
  };
34
42
  columns: {
35
- type: PropType<number | string>;
43
+ type: PropType<number>;
36
44
  default: number;
37
- validator(value: number | string): boolean;
45
+ validator: (value: number | undefined) => boolean;
38
46
  };
39
47
  labelWidth: {
40
- type: PropType<import("csstype").Property.Width | number>;
48
+ type: PropType<import("csstype").Property.Width>;
41
49
  default: string;
42
- validator(value: import("csstype").Property.Width | number): boolean;
50
+ validator: (value: string | number | undefined) => boolean;
43
51
  };
44
52
  direction: {
45
- type: PropType<import('./props').DescDirection>;
53
+ type: PropType<import('../../../../types').LewDirection>;
46
54
  default: string;
47
- validator(value: import('./props').DescDirection): boolean;
55
+ typeValues: import('../../../../types').LewDirection[];
56
+ validator: (value: any) => boolean;
48
57
  };
49
58
  id: {
50
59
  type: StringConstructor;
51
60
  hidden: boolean;
61
+ validator: (value: any) => boolean;
52
62
  };
53
63
  bordered: {
54
64
  type: BooleanConstructor;
55
65
  default: boolean;
66
+ validator: (value: any) => boolean;
56
67
  };
57
68
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
58
69
  ready: () => any;
59
70
  }, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
60
71
  options: {
61
- type: PropType<DescOptions[]>;
72
+ type: PropType<LewDescOption[]>;
62
73
  required: boolean;
63
- validator(value: DescOptions[]): boolean;
74
+ typePopKeys: string[];
75
+ validator: (value: any[] | undefined) => boolean;
64
76
  };
65
77
  dataSource: {
66
78
  type: PropType<Record<string, any>>;
79
+ required: boolean;
67
80
  default: () => {};
81
+ validator: (value: unknown) => boolean;
68
82
  };
69
83
  size: {
70
- type: PropType<import('../../../..').LewSize>;
84
+ type: PropType<import('../../../../types').LewSize>;
71
85
  default: string;
72
- validator(value: import('../../../..').LewSize): boolean;
86
+ typeValues: import('../../../../types').LewSize[];
87
+ validator: (value: any) => boolean;
73
88
  };
74
89
  labelX: {
75
90
  type: PropType<import("csstype").Property.TextAlign>;
76
91
  default: string;
92
+ typeValues: import('../../../../types').LewXAlignment[];
93
+ validator: (value: any) => boolean;
77
94
  };
78
95
  valueX: {
79
96
  type: PropType<import("csstype").Property.TextAlign>;
80
97
  default: string;
98
+ typeValues: import('../../../../types').LewXAlignment[];
99
+ validator: (value: any) => boolean;
81
100
  };
82
101
  gap: {
83
- type: PropType<string | number>;
84
- default: number;
85
- validator(value: string | number): boolean;
102
+ type: PropType<import("csstype").Property.Gap>;
103
+ default: string;
104
+ validator: (value: string | number | undefined) => boolean;
86
105
  };
87
106
  width: {
88
- type: PropType<import("csstype").Property.Width | number>;
89
- validator(value: import("csstype").Property.Width | number): boolean;
107
+ type: PropType<import("csstype").Property.Width>;
108
+ validator: (value: string | number | undefined) => boolean;
90
109
  };
91
110
  columns: {
92
- type: PropType<number | string>;
111
+ type: PropType<number>;
93
112
  default: number;
94
- validator(value: number | string): boolean;
113
+ validator: (value: number | undefined) => boolean;
95
114
  };
96
115
  labelWidth: {
97
- type: PropType<import("csstype").Property.Width | number>;
116
+ type: PropType<import("csstype").Property.Width>;
98
117
  default: string;
99
- validator(value: import("csstype").Property.Width | number): boolean;
118
+ validator: (value: string | number | undefined) => boolean;
100
119
  };
101
120
  direction: {
102
- type: PropType<import('./props').DescDirection>;
121
+ type: PropType<import('../../../../types').LewDirection>;
103
122
  default: string;
104
- validator(value: import('./props').DescDirection): boolean;
123
+ typeValues: import('../../../../types').LewDirection[];
124
+ validator: (value: any) => boolean;
105
125
  };
106
126
  id: {
107
127
  type: StringConstructor;
108
128
  hidden: boolean;
129
+ validator: (value: any) => boolean;
109
130
  };
110
131
  bordered: {
111
132
  type: BooleanConstructor;
112
133
  default: boolean;
134
+ validator: (value: any) => boolean;
113
135
  };
114
136
  }>> & Readonly<{
115
137
  onReady?: (() => any) | undefined;
116
138
  }>, {
117
- size: import('../../../..').LewSize;
118
- direction: import('./props').DescDirection;
119
- columns: string | number;
120
- gap: string | number;
139
+ size: import('../../../../types').LewSize;
140
+ direction: import('../../../../types').LewDirection;
141
+ columns: number;
142
+ gap: import("csstype").Property.Gap<0 | (string & {})>;
143
+ labelWidth: import("csstype").Property.Width<0 | (string & {})>;
121
144
  dataSource: Record<string, any>;
122
145
  labelX: import("csstype").Property.TextAlign;
123
146
  valueX: import("csstype").Property.TextAlign;
124
- labelWidth: number | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | "-moz-fit-content" | "-moz-max-content" | "-moz-min-content" | "-webkit-fit-content" | "-webkit-max-content" | "auto" | "fit-content" | "intrinsic" | "max-content" | "min-content" | "min-intrinsic" | (string & {});
125
147
  bordered: boolean;
126
148
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
127
149
  descLabelRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<globalThis.ExtractPropTypes<{
128
150
  size: {
129
- type: PropType<import('../../../..').LewSize>;
151
+ type: PropType<import('../../../../types').LewSize>;
130
152
  default: string;
131
153
  };
132
154
  padding: {
@@ -139,7 +161,7 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
139
161
  }>> & Readonly<{}>, {
140
162
  getWidth: () => number | undefined;
141
163
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
142
- size: import('../../../..').LewSize;
164
+ size: import('../../../../types').LewSize;
143
165
  padding: number;
144
166
  }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
145
167
  formLabelRef: HTMLDivElement;
@@ -152,7 +174,7 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
152
174
  Defaults: {};
153
175
  }, Readonly<globalThis.ExtractPropTypes<{
154
176
  size: {
155
- type: PropType<import('../../../..').LewSize>;
177
+ type: PropType<import('../../../../types').LewSize>;
156
178
  default: string;
157
179
  };
158
180
  padding: {
@@ -165,7 +187,7 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
165
187
  }>> & Readonly<{}>, {
166
188
  getWidth: () => number | undefined;
167
189
  }, {}, {}, {}, {
168
- size: import('../../../..').LewSize;
190
+ size: import('../../../../types').LewSize;
169
191
  padding: number;
170
192
  }> | null;
171
193
  }, HTMLDivElement>;
@@ -3,139 +3,159 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
3
3
  label: {
4
4
  type: StringConstructor;
5
5
  required: boolean;
6
+ validator: (value: any) => boolean;
6
7
  };
7
8
  field: {
8
9
  type: StringConstructor;
9
10
  required: boolean;
11
+ validator: (value: any) => boolean;
10
12
  };
11
13
  size: {
12
14
  type: PropType<LewSize>;
13
15
  default: string;
14
- validator(value: LewSize): boolean;
16
+ typeValues: LewSize[];
17
+ validator: (value: any) => boolean;
15
18
  };
16
19
  bordered: {
17
20
  type: BooleanConstructor;
18
21
  default: boolean;
22
+ validator: (value: any) => boolean;
19
23
  };
20
24
  width: {
21
- type: PropType<import("csstype").Property.Width | number>;
22
- validator(value: import("csstype").Property.Width | number): boolean;
25
+ type: PropType<import("csstype").Property.Width>;
26
+ validator: (value: string | number | undefined) => boolean;
23
27
  };
24
28
  labelWidth: {
25
- type: PropType<import("csstype").Property.Width | number>;
29
+ type: PropType<import("csstype").Property.Width>;
26
30
  default: string;
27
- validator(value: import("csstype").Property.Width | number): boolean;
31
+ validator: (value: string | number | undefined) => boolean;
28
32
  };
29
33
  direction: {
30
- type: PropType<import('../../../..').DescDirection>;
34
+ type: PropType<import('../../../..').LewDirection>;
31
35
  default: string;
32
- validator(value: import('../../../..').DescDirection): boolean;
36
+ typeValues: import('../../../..').LewDirection[];
37
+ validator: (value: any) => boolean;
33
38
  };
34
39
  tips: {
35
40
  type: StringConstructor;
41
+ validator: (value: any) => boolean;
36
42
  };
37
43
  type: {
38
44
  type: PropType<"text-trim">;
45
+ validator: (value: any) => boolean;
39
46
  };
40
47
  labelX: {
41
48
  type: PropType<import("csstype").Property.TextAlign>;
42
49
  default: string;
50
+ typeValues: import('../../../..').LewXAlignment[];
51
+ validator: (value: any) => boolean;
43
52
  };
44
53
  valueX: {
45
54
  type: PropType<import("csstype").Property.TextAlign>;
46
55
  default: string;
56
+ typeValues: import('../../../..').LewXAlignment[];
57
+ validator: (value: any) => boolean;
47
58
  };
48
59
  gridArea: {
49
60
  type: StringConstructor;
61
+ validator: (value: string | undefined) => boolean;
50
62
  };
51
63
  customRender: {
52
- type: PropType<(params: {
53
- field: string;
54
- label: string;
55
- dataSource: Record<string, any>;
56
- }) => any>;
64
+ type: null;
57
65
  };
58
66
  id: {
59
67
  type: StringConstructor;
60
68
  hidden: boolean;
69
+ validator: (value: any) => boolean;
61
70
  };
62
71
  dataSource: {
63
72
  type: PropType<Record<string, any>>;
64
73
  default: () => {};
74
+ validator: (value: unknown) => boolean;
65
75
  hidden: boolean;
66
76
  };
67
77
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
68
78
  label: {
69
79
  type: StringConstructor;
70
80
  required: boolean;
81
+ validator: (value: any) => boolean;
71
82
  };
72
83
  field: {
73
84
  type: StringConstructor;
74
85
  required: boolean;
86
+ validator: (value: any) => boolean;
75
87
  };
76
88
  size: {
77
89
  type: PropType<LewSize>;
78
90
  default: string;
79
- validator(value: LewSize): boolean;
91
+ typeValues: LewSize[];
92
+ validator: (value: any) => boolean;
80
93
  };
81
94
  bordered: {
82
95
  type: BooleanConstructor;
83
96
  default: boolean;
97
+ validator: (value: any) => boolean;
84
98
  };
85
99
  width: {
86
- type: PropType<import("csstype").Property.Width | number>;
87
- validator(value: import("csstype").Property.Width | number): boolean;
100
+ type: PropType<import("csstype").Property.Width>;
101
+ validator: (value: string | number | undefined) => boolean;
88
102
  };
89
103
  labelWidth: {
90
- type: PropType<import("csstype").Property.Width | number>;
104
+ type: PropType<import("csstype").Property.Width>;
91
105
  default: string;
92
- validator(value: import("csstype").Property.Width | number): boolean;
106
+ validator: (value: string | number | undefined) => boolean;
93
107
  };
94
108
  direction: {
95
- type: PropType<import('../../../..').DescDirection>;
109
+ type: PropType<import('../../../..').LewDirection>;
96
110
  default: string;
97
- validator(value: import('../../../..').DescDirection): boolean;
111
+ typeValues: import('../../../..').LewDirection[];
112
+ validator: (value: any) => boolean;
98
113
  };
99
114
  tips: {
100
115
  type: StringConstructor;
116
+ validator: (value: any) => boolean;
101
117
  };
102
118
  type: {
103
119
  type: PropType<"text-trim">;
120
+ validator: (value: any) => boolean;
104
121
  };
105
122
  labelX: {
106
123
  type: PropType<import("csstype").Property.TextAlign>;
107
124
  default: string;
125
+ typeValues: import('../../../..').LewXAlignment[];
126
+ validator: (value: any) => boolean;
108
127
  };
109
128
  valueX: {
110
129
  type: PropType<import("csstype").Property.TextAlign>;
111
130
  default: string;
131
+ typeValues: import('../../../..').LewXAlignment[];
132
+ validator: (value: any) => boolean;
112
133
  };
113
134
  gridArea: {
114
135
  type: StringConstructor;
136
+ validator: (value: string | undefined) => boolean;
115
137
  };
116
138
  customRender: {
117
- type: PropType<(params: {
118
- field: string;
119
- label: string;
120
- dataSource: Record<string, any>;
121
- }) => any>;
139
+ type: null;
122
140
  };
123
141
  id: {
124
142
  type: StringConstructor;
125
143
  hidden: boolean;
144
+ validator: (value: any) => boolean;
126
145
  };
127
146
  dataSource: {
128
147
  type: PropType<Record<string, any>>;
129
148
  default: () => {};
149
+ validator: (value: unknown) => boolean;
130
150
  hidden: boolean;
131
151
  };
132
152
  }>> & Readonly<{}>, {
133
153
  size: LewSize;
134
- direction: import('../../../..').DescDirection;
154
+ direction: import('../../../..').LewDirection;
155
+ labelWidth: import("csstype").Property.Width<0 | (string & {})>;
135
156
  dataSource: Record<string, any>;
136
157
  labelX: import("csstype").Property.TextAlign;
137
158
  valueX: import("csstype").Property.TextAlign;
138
- labelWidth: number | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | "-moz-fit-content" | "-moz-max-content" | "-moz-min-content" | "-webkit-fit-content" | "-webkit-max-content" | "auto" | "fit-content" | "intrinsic" | "max-content" | "min-content" | "min-intrinsic" | (string & {});
139
159
  bordered: boolean;
140
160
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
141
161
  descItemRef: HTMLDivElement;