@blueking/bkui-form 1.0.1-beta.3 → 1.0.1-beta.5

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 (209) hide show
  1. package/dist/adapter/common/FieldGroupWrap.d.ts +209 -0
  2. package/dist/adapter/field/ArrayField.d.ts +147 -0
  3. package/dist/adapter/field/BooleanField.d.ts +145 -0
  4. package/dist/adapter/field/CompositionField.d.ts +151 -0
  5. package/dist/adapter/field/FieldProps.d.ts +70 -0
  6. package/dist/adapter/field/NumberField.d.ts +145 -0
  7. package/dist/adapter/field/ObjectField.d.ts +147 -0
  8. package/dist/adapter/field/SchemaField.d.ts +145 -0
  9. package/dist/adapter/field/StringField.d.ts +4 -0
  10. package/dist/adapter/widget/ArrayWidget.d.ts +154 -0
  11. package/dist/adapter/widget/ButtonWidget.d.ts +16 -0
  12. package/dist/adapter/widget/CheckboxWidget.d.ts +34 -0
  13. package/dist/adapter/widget/CollapseGroupWidget.d.ts +196 -0
  14. package/dist/adapter/widget/ColorPickerWidget.d.ts +8 -0
  15. package/dist/adapter/widget/InputWidget.d.ts +30 -0
  16. package/dist/adapter/widget/KeyValueArrayWidget.d.ts +157 -0
  17. package/dist/adapter/widget/RadioWidget.d.ts +37 -0
  18. package/dist/adapter/widget/SelectWidget.d.ts +37 -0
  19. package/dist/adapter/widget/SwitchWidget.d.ts +10 -0
  20. package/dist/adapter/widget/TabGroupWidget.d.ts +187 -0
  21. package/dist/adapter/widget/TableWidget.d.ts +154 -0
  22. package/dist/adapter/widget/Widget.d.ts +182 -0
  23. package/dist/controller/form.d.ts +141 -0
  24. package/dist/controller/props.d.ts +62 -0
  25. package/dist/core/events.d.ts +10 -0
  26. package/dist/core/expression.d.ts +13 -0
  27. package/dist/core/form.d.ts +5 -0
  28. package/dist/core/lang.d.ts +1 -0
  29. package/dist/core/layout.d.ts +20 -0
  30. package/dist/core/lifecycle.d.ts +0 -0
  31. package/dist/core/path.d.ts +9 -0
  32. package/dist/core/proxy.d.ts +3 -0
  33. package/dist/core/reaction.d.ts +5 -0
  34. package/dist/core/register.d.ts +19 -0
  35. package/dist/core/schema.d.ts +26 -0
  36. package/dist/core/validator.d.ts +35 -0
  37. package/dist/core/widgetTree.d.ts +40 -0
  38. package/dist/index.d.ts +6 -0
  39. package/dist/index.es.js +7443 -0
  40. package/dist/index.umd.js +12 -0
  41. package/dist/style.css +1 -0
  42. package/dist/util/fetch.d.ts +10 -0
  43. package/dist/util/index.d.ts +23 -0
  44. package/package.json +24 -12
  45. package/esm/adapter/common/FieldGroupWrap.tsx.js +0 -199
  46. package/esm/adapter/field/ArrayField.tsx.js +0 -55
  47. package/esm/adapter/field/BooleanField.tsx.js +0 -41
  48. package/esm/adapter/field/CompositionField.tsx.js +0 -113
  49. package/esm/adapter/field/FieldProps.ts.js +0 -85
  50. package/esm/adapter/field/NumberField.tsx.js +0 -19
  51. package/esm/adapter/field/ObjectField.tsx.js +0 -58
  52. package/esm/adapter/field/SchemaField.tsx.js +0 -28
  53. package/esm/adapter/field/StringField.tsx.js +0 -4
  54. package/esm/adapter/widget/ArrayWidget.ts.js +0 -196
  55. package/esm/adapter/widget/ButtonWidget.ts.js +0 -76
  56. package/esm/adapter/widget/CheckboxWidget.ts.js +0 -101
  57. package/esm/adapter/widget/CollapseGroupWidget.ts.js +0 -140
  58. package/esm/adapter/widget/ColorPickerWidget.ts.js +0 -71
  59. package/esm/adapter/widget/InputWidget.ts.js +0 -79
  60. package/esm/adapter/widget/KeyValueArrayWidget.tsx.js +0 -156
  61. package/esm/adapter/widget/RadioWidget.ts.js +0 -98
  62. package/esm/adapter/widget/SelectWidget.ts.js +0 -98
  63. package/esm/adapter/widget/SwitchWidget.ts.js +0 -73
  64. package/esm/adapter/widget/TabGroupWidget.ts.js +0 -145
  65. package/esm/adapter/widget/TableWidget.ts.js +0 -205
  66. package/esm/adapter/widget/Widget.ts.js +0 -497
  67. package/esm/assets/fonts/iconcool.eot +0 -0
  68. package/esm/assets/fonts/iconcool.svg +0 -53
  69. package/esm/assets/fonts/iconcool.ttf +0 -0
  70. package/esm/assets/fonts/iconcool.woff +0 -0
  71. package/esm/assets/style.css +0 -43
  72. package/esm/controller/form.css +0 -164
  73. package/esm/controller/form.tsx.js +0 -159
  74. package/esm/controller/props.ts.js +0 -75
  75. package/esm/core/events.ts.js +0 -74
  76. package/esm/core/expression.ts.js +0 -67
  77. package/esm/core/lang.ts.js +0 -25
  78. package/esm/core/layout.ts.js +0 -149
  79. package/esm/core/path.ts.js +0 -60
  80. package/esm/core/proxy.ts.js +0 -10
  81. package/esm/core/reaction.ts.js +0 -116
  82. package/esm/core/register.ts.js +0 -74
  83. package/esm/core/schema.ts.js +0 -302
  84. package/esm/core/validator.ts.js +0 -248
  85. package/esm/core/widgetTree.ts.js +0 -163
  86. package/esm/index.ts.js +0 -6
  87. package/esm/node_modules/@blueking/cli-service/dist/lib/path.js +0 -35
  88. package/esm/node_modules/@blueking/cli-service/dist/lib/util.js +0 -233
  89. package/esm/node_modules/@blueking/cli-service/dist/tools/rust/helper/path.js +0 -172
  90. package/esm/node_modules/ajv/dist/ajv.js +0 -50
  91. package/esm/node_modules/ajv/dist/compile/codegen/code.js +0 -156
  92. package/esm/node_modules/ajv/dist/compile/codegen/index.js +0 -697
  93. package/esm/node_modules/ajv/dist/compile/codegen/scope.js +0 -143
  94. package/esm/node_modules/ajv/dist/compile/errors.js +0 -123
  95. package/esm/node_modules/ajv/dist/compile/index.js +0 -242
  96. package/esm/node_modules/ajv/dist/compile/names.js +0 -28
  97. package/esm/node_modules/ajv/dist/compile/ref_error.js +0 -12
  98. package/esm/node_modules/ajv/dist/compile/resolve.js +0 -155
  99. package/esm/node_modules/ajv/dist/compile/rules.js +0 -26
  100. package/esm/node_modules/ajv/dist/compile/util.js +0 -178
  101. package/esm/node_modules/ajv/dist/compile/validate/applicability.js +0 -19
  102. package/esm/node_modules/ajv/dist/compile/validate/boolSchema.js +0 -50
  103. package/esm/node_modules/ajv/dist/compile/validate/dataType.js +0 -203
  104. package/esm/node_modules/ajv/dist/compile/validate/defaults.js +0 -35
  105. package/esm/node_modules/ajv/dist/compile/validate/index.js +0 -520
  106. package/esm/node_modules/ajv/dist/compile/validate/keyword.js +0 -124
  107. package/esm/node_modules/ajv/dist/compile/validate/subschema.js +0 -81
  108. package/esm/node_modules/ajv/dist/core.js +0 -618
  109. package/esm/node_modules/ajv/dist/refs/data.json +0 -13
  110. package/esm/node_modules/ajv/dist/refs/json-schema-draft-07.json +0 -151
  111. package/esm/node_modules/ajv/dist/runtime/equal.js +0 -7
  112. package/esm/node_modules/ajv/dist/runtime/ucs2length.js +0 -24
  113. package/esm/node_modules/ajv/dist/runtime/uri.js +0 -6
  114. package/esm/node_modules/ajv/dist/runtime/validation_error.js +0 -11
  115. package/esm/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +0 -49
  116. package/esm/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +0 -106
  117. package/esm/node_modules/ajv/dist/vocabularies/applicator/allOf.js +0 -23
  118. package/esm/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +0 -12
  119. package/esm/node_modules/ajv/dist/vocabularies/applicator/contains.js +0 -95
  120. package/esm/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +0 -85
  121. package/esm/node_modules/ajv/dist/vocabularies/applicator/if.js +0 -66
  122. package/esm/node_modules/ajv/dist/vocabularies/applicator/index.js +0 -44
  123. package/esm/node_modules/ajv/dist/vocabularies/applicator/items.js +0 -52
  124. package/esm/node_modules/ajv/dist/vocabularies/applicator/items2020.js +0 -30
  125. package/esm/node_modules/ajv/dist/vocabularies/applicator/not.js +0 -26
  126. package/esm/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +0 -60
  127. package/esm/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +0 -75
  128. package/esm/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js +0 -12
  129. package/esm/node_modules/ajv/dist/vocabularies/applicator/properties.js +0 -54
  130. package/esm/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +0 -38
  131. package/esm/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +0 -13
  132. package/esm/node_modules/ajv/dist/vocabularies/code.js +0 -131
  133. package/esm/node_modules/ajv/dist/vocabularies/core/id.js +0 -10
  134. package/esm/node_modules/ajv/dist/vocabularies/core/index.js +0 -16
  135. package/esm/node_modules/ajv/dist/vocabularies/core/ref.js +0 -122
  136. package/esm/node_modules/ajv/dist/vocabularies/discriminator/index.js +0 -104
  137. package/esm/node_modules/ajv/dist/vocabularies/discriminator/types.js +0 -9
  138. package/esm/node_modules/ajv/dist/vocabularies/draft7.js +0 -17
  139. package/esm/node_modules/ajv/dist/vocabularies/format/format.js +0 -92
  140. package/esm/node_modules/ajv/dist/vocabularies/format/index.js +0 -6
  141. package/esm/node_modules/ajv/dist/vocabularies/metadata.js +0 -18
  142. package/esm/node_modules/ajv/dist/vocabularies/validation/const.js +0 -25
  143. package/esm/node_modules/ajv/dist/vocabularies/validation/enum.js +0 -48
  144. package/esm/node_modules/ajv/dist/vocabularies/validation/index.js +0 -33
  145. package/esm/node_modules/ajv/dist/vocabularies/validation/limitItems.js +0 -24
  146. package/esm/node_modules/ajv/dist/vocabularies/validation/limitLength.js +0 -27
  147. package/esm/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +0 -27
  148. package/esm/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +0 -24
  149. package/esm/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +0 -26
  150. package/esm/node_modules/ajv/dist/vocabularies/validation/pattern.js +0 -24
  151. package/esm/node_modules/ajv/dist/vocabularies/validation/required.js +0 -79
  152. package/esm/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +0 -64
  153. package/esm/node_modules/ajv-formats/dist/formats.js +0 -173
  154. package/esm/node_modules/ajv-formats/dist/index.js +0 -37
  155. package/esm/node_modules/ajv-formats/dist/limit.js +0 -69
  156. package/esm/node_modules/ajv-i18n/localize/zh/index.js +0 -154
  157. package/esm/node_modules/fast-deep-equal/index.js +0 -46
  158. package/esm/node_modules/fast-uri/index.js +0 -303
  159. package/esm/node_modules/fast-uri/lib/schemes.js +0 -188
  160. package/esm/node_modules/fast-uri/lib/scopedChars.js +0 -30
  161. package/esm/node_modules/fast-uri/lib/utils.js +0 -244
  162. package/esm/node_modules/json-schema-traverse/index.js +0 -89
  163. package/esm/node_modules/semver/classes/comparator.js +0 -143
  164. package/esm/node_modules/semver/classes/range.js +0 -557
  165. package/esm/node_modules/semver/classes/semver.js +0 -333
  166. package/esm/node_modules/semver/functions/clean.js +0 -8
  167. package/esm/node_modules/semver/functions/cmp.js +0 -54
  168. package/esm/node_modules/semver/functions/coerce.js +0 -62
  169. package/esm/node_modules/semver/functions/compare-build.js +0 -9
  170. package/esm/node_modules/semver/functions/compare-loose.js +0 -5
  171. package/esm/node_modules/semver/functions/compare.js +0 -7
  172. package/esm/node_modules/semver/functions/diff.js +0 -60
  173. package/esm/node_modules/semver/functions/eq.js +0 -5
  174. package/esm/node_modules/semver/functions/gt.js +0 -5
  175. package/esm/node_modules/semver/functions/gte.js +0 -5
  176. package/esm/node_modules/semver/functions/inc.js +0 -21
  177. package/esm/node_modules/semver/functions/lt.js +0 -5
  178. package/esm/node_modules/semver/functions/lte.js +0 -5
  179. package/esm/node_modules/semver/functions/major.js +0 -5
  180. package/esm/node_modules/semver/functions/minor.js +0 -5
  181. package/esm/node_modules/semver/functions/neq.js +0 -5
  182. package/esm/node_modules/semver/functions/parse.js +0 -18
  183. package/esm/node_modules/semver/functions/patch.js +0 -5
  184. package/esm/node_modules/semver/functions/prerelease.js +0 -8
  185. package/esm/node_modules/semver/functions/rcompare.js +0 -5
  186. package/esm/node_modules/semver/functions/rsort.js +0 -5
  187. package/esm/node_modules/semver/functions/satisfies.js +0 -12
  188. package/esm/node_modules/semver/functions/sort.js +0 -5
  189. package/esm/node_modules/semver/functions/valid.js +0 -8
  190. package/esm/node_modules/semver/index.js +0 -91
  191. package/esm/node_modules/semver/internal/constants.js +0 -37
  192. package/esm/node_modules/semver/internal/debug.js +0 -11
  193. package/esm/node_modules/semver/internal/identifiers.js +0 -29
  194. package/esm/node_modules/semver/internal/lrucache.js +0 -42
  195. package/esm/node_modules/semver/internal/parse-options.js +0 -17
  196. package/esm/node_modules/semver/internal/re.js +0 -223
  197. package/esm/node_modules/semver/ranges/gtr.js +0 -6
  198. package/esm/node_modules/semver/ranges/intersects.js +0 -9
  199. package/esm/node_modules/semver/ranges/ltr.js +0 -6
  200. package/esm/node_modules/semver/ranges/max-satisfying.js +0 -27
  201. package/esm/node_modules/semver/ranges/min-satisfying.js +0 -26
  202. package/esm/node_modules/semver/ranges/min-version.js +0 -63
  203. package/esm/node_modules/semver/ranges/outside.js +0 -82
  204. package/esm/node_modules/semver/ranges/simplify.js +0 -49
  205. package/esm/node_modules/semver/ranges/subset.js +0 -249
  206. package/esm/node_modules/semver/ranges/to-comparators.js +0 -10
  207. package/esm/node_modules/semver/ranges/valid.js +0 -13
  208. package/esm/util/fetch.ts.js +0 -190
  209. package/esm/util/index.ts.js +0 -276
@@ -0,0 +1,34 @@
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
+ datasource: {
3
+ type: ArrayConstructor;
4
+ default: () => never[];
5
+ };
6
+ modelValue: {
7
+ type: (ArrayConstructor | BooleanConstructor)[];
8
+ default: () => never[];
9
+ };
10
+ label: {
11
+ type: StringConstructor;
12
+ default: string;
13
+ };
14
+ }>, {}, {}, {}, {
15
+ handleChange(val: any): void;
16
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
17
+ datasource: {
18
+ type: ArrayConstructor;
19
+ default: () => never[];
20
+ };
21
+ modelValue: {
22
+ type: (ArrayConstructor | BooleanConstructor)[];
23
+ default: () => never[];
24
+ };
25
+ label: {
26
+ type: StringConstructor;
27
+ default: string;
28
+ };
29
+ }>> & Readonly<{}>, {
30
+ modelValue: boolean | unknown[];
31
+ label: string;
32
+ datasource: unknown[];
33
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
34
+ export default _default;
@@ -0,0 +1,196 @@
1
+ import { JSONSchema7 } from 'json-schema';
2
+
3
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
4
+ type: {
5
+ type: StringConstructor;
6
+ default: string;
7
+ validator: (value: string) => boolean;
8
+ };
9
+ showTitle: {
10
+ type: BooleanConstructor;
11
+ default: boolean;
12
+ };
13
+ border: {
14
+ type: BooleanConstructor;
15
+ default: boolean;
16
+ };
17
+ defaultActiveName: {
18
+ type: ArrayConstructor;
19
+ default: () => never[];
20
+ };
21
+ verifiable: {
22
+ type: BooleanConstructor;
23
+ default: boolean;
24
+ };
25
+ schema: {
26
+ type: import('vue').PropType<JSONSchema7>;
27
+ default: () => JSONSchema7;
28
+ };
29
+ path: {
30
+ type: StringConstructor;
31
+ default: string;
32
+ };
33
+ required: {
34
+ type: BooleanConstructor;
35
+ default: boolean;
36
+ };
37
+ rootData: {
38
+ type: ObjectConstructor;
39
+ default: () => {};
40
+ };
41
+ modelValue: {
42
+ type: (ObjectConstructor | ArrayConstructor | StringConstructor | NumberConstructor | BooleanConstructor)[];
43
+ };
44
+ layout: {
45
+ type: import('vue').PropType<Partial<import('../../@types').ILayoutConfig>>;
46
+ default: () => Partial<import('../../@types').ILayoutConfig>;
47
+ };
48
+ context: {
49
+ type: ObjectConstructor;
50
+ default: () => {};
51
+ };
52
+ removeable: {
53
+ type: BooleanConstructor;
54
+ default: boolean;
55
+ };
56
+ httpAdapter: {
57
+ type: ObjectConstructor;
58
+ default: () => {
59
+ request: (url: string, config?: Partial<import('../../util/fetch').IFetchConfig>) => Promise<any>;
60
+ responseParse: (res: any) => any;
61
+ };
62
+ };
63
+ visible: {
64
+ type: BooleanConstructor;
65
+ default: boolean;
66
+ };
67
+ error: {
68
+ type: BooleanConstructor;
69
+ default: boolean;
70
+ };
71
+ disabled: {
72
+ type: BooleanConstructor;
73
+ default: boolean;
74
+ };
75
+ readonly: {
76
+ type: BooleanConstructor;
77
+ default: boolean;
78
+ };
79
+ readonlyMode: {
80
+ type: StringConstructor;
81
+ default: string;
82
+ validator: (value: any) => boolean;
83
+ };
84
+ showResetDefault: {
85
+ type: BooleanConstructor;
86
+ default: boolean;
87
+ };
88
+ }>, {}, {
89
+ activeName: unknown[];
90
+ }, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
91
+ type: {
92
+ type: StringConstructor;
93
+ default: string;
94
+ validator: (value: string) => boolean;
95
+ };
96
+ showTitle: {
97
+ type: BooleanConstructor;
98
+ default: boolean;
99
+ };
100
+ border: {
101
+ type: BooleanConstructor;
102
+ default: boolean;
103
+ };
104
+ defaultActiveName: {
105
+ type: ArrayConstructor;
106
+ default: () => never[];
107
+ };
108
+ verifiable: {
109
+ type: BooleanConstructor;
110
+ default: boolean;
111
+ };
112
+ schema: {
113
+ type: import('vue').PropType<JSONSchema7>;
114
+ default: () => JSONSchema7;
115
+ };
116
+ path: {
117
+ type: StringConstructor;
118
+ default: string;
119
+ };
120
+ required: {
121
+ type: BooleanConstructor;
122
+ default: boolean;
123
+ };
124
+ rootData: {
125
+ type: ObjectConstructor;
126
+ default: () => {};
127
+ };
128
+ modelValue: {
129
+ type: (ObjectConstructor | ArrayConstructor | StringConstructor | NumberConstructor | BooleanConstructor)[];
130
+ };
131
+ layout: {
132
+ type: import('vue').PropType<Partial<import('../../@types').ILayoutConfig>>;
133
+ default: () => Partial<import('../../@types').ILayoutConfig>;
134
+ };
135
+ context: {
136
+ type: ObjectConstructor;
137
+ default: () => {};
138
+ };
139
+ removeable: {
140
+ type: BooleanConstructor;
141
+ default: boolean;
142
+ };
143
+ httpAdapter: {
144
+ type: ObjectConstructor;
145
+ default: () => {
146
+ request: (url: string, config?: Partial<import('../../util/fetch').IFetchConfig>) => Promise<any>;
147
+ responseParse: (res: any) => any;
148
+ };
149
+ };
150
+ visible: {
151
+ type: BooleanConstructor;
152
+ default: boolean;
153
+ };
154
+ error: {
155
+ type: BooleanConstructor;
156
+ default: boolean;
157
+ };
158
+ disabled: {
159
+ type: BooleanConstructor;
160
+ default: boolean;
161
+ };
162
+ readonly: {
163
+ type: BooleanConstructor;
164
+ default: boolean;
165
+ };
166
+ readonlyMode: {
167
+ type: StringConstructor;
168
+ default: string;
169
+ validator: (value: any) => boolean;
170
+ };
171
+ showResetDefault: {
172
+ type: BooleanConstructor;
173
+ default: boolean;
174
+ };
175
+ }>> & Readonly<{}>, {
176
+ type: string;
177
+ required: boolean;
178
+ schema: JSONSchema7;
179
+ path: string;
180
+ rootData: Record<string, any>;
181
+ layout: Partial<import('../../@types').ILayoutConfig>;
182
+ context: Record<string, any>;
183
+ removeable: boolean;
184
+ httpAdapter: Record<string, any>;
185
+ visible: boolean;
186
+ error: boolean;
187
+ disabled: boolean;
188
+ readonly: boolean;
189
+ readonlyMode: string;
190
+ showResetDefault: boolean;
191
+ showTitle: boolean;
192
+ border: boolean;
193
+ verifiable: boolean;
194
+ defaultActiveName: unknown[];
195
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
196
+ export default _default;
@@ -0,0 +1,8 @@
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
+ modelValue: StringConstructor;
3
+ }>, {}, {}, {}, {
4
+ handleChange(color: any): void;
5
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
6
+ modelValue: StringConstructor;
7
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
8
+ export default _default;
@@ -0,0 +1,30 @@
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
+ modelValue: (StringConstructor | NumberConstructor)[];
3
+ unit: {
4
+ type: StringConstructor;
5
+ default: string;
6
+ };
7
+ maxRows: {
8
+ type: NumberConstructor;
9
+ default: number;
10
+ };
11
+ }>, {}, {}, {
12
+ rows(): number;
13
+ }, {
14
+ handleInput(v: any): void;
15
+ handleBlur(e: any): void;
16
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
17
+ modelValue: (StringConstructor | NumberConstructor)[];
18
+ unit: {
19
+ type: StringConstructor;
20
+ default: string;
21
+ };
22
+ maxRows: {
23
+ type: NumberConstructor;
24
+ default: number;
25
+ };
26
+ }>> & Readonly<{}>, {
27
+ unit: string;
28
+ maxRows: number;
29
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
30
+ export default _default;
@@ -0,0 +1,157 @@
1
+ import { JSONSchema7 } from 'json-schema';
2
+
3
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
4
+ modelValue: {
5
+ type: ArrayConstructor;
6
+ default: () => never[];
7
+ };
8
+ schema: {
9
+ type: import('vue').PropType<JSONSchema7>;
10
+ default: () => JSONSchema7;
11
+ };
12
+ path: {
13
+ type: StringConstructor;
14
+ default: string;
15
+ };
16
+ required: {
17
+ type: BooleanConstructor;
18
+ default: boolean;
19
+ };
20
+ rootData: {
21
+ type: ObjectConstructor;
22
+ default: () => {};
23
+ };
24
+ layout: {
25
+ type: import('vue').PropType<Partial<import('../../@types').ILayoutConfig>>;
26
+ default: () => Partial<import('../../@types').ILayoutConfig>;
27
+ };
28
+ context: {
29
+ type: ObjectConstructor;
30
+ default: () => {};
31
+ };
32
+ removeable: {
33
+ type: BooleanConstructor;
34
+ default: boolean;
35
+ };
36
+ httpAdapter: {
37
+ type: ObjectConstructor;
38
+ default: () => {
39
+ request: (url: string, config?: Partial<import('../../util/fetch').IFetchConfig>) => Promise<any>;
40
+ responseParse: (res: any) => any;
41
+ };
42
+ };
43
+ visible: {
44
+ type: BooleanConstructor;
45
+ default: boolean;
46
+ };
47
+ error: {
48
+ type: BooleanConstructor;
49
+ default: boolean;
50
+ };
51
+ disabled: {
52
+ type: BooleanConstructor;
53
+ default: boolean;
54
+ };
55
+ readonly: {
56
+ type: BooleanConstructor;
57
+ default: boolean;
58
+ };
59
+ readonlyMode: {
60
+ type: StringConstructor;
61
+ default: string;
62
+ validator: (value: any) => boolean;
63
+ };
64
+ showResetDefault: {
65
+ type: BooleanConstructor;
66
+ default: boolean;
67
+ };
68
+ }>, {}, {}, {}, {
69
+ handleAddItem(): void;
70
+ handleRemoveItem(index: any): void;
71
+ handleInput({ path, value }: {
72
+ path: any;
73
+ value: any;
74
+ }): void;
75
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
76
+ modelValue: {
77
+ type: ArrayConstructor;
78
+ default: () => never[];
79
+ };
80
+ schema: {
81
+ type: import('vue').PropType<JSONSchema7>;
82
+ default: () => JSONSchema7;
83
+ };
84
+ path: {
85
+ type: StringConstructor;
86
+ default: string;
87
+ };
88
+ required: {
89
+ type: BooleanConstructor;
90
+ default: boolean;
91
+ };
92
+ rootData: {
93
+ type: ObjectConstructor;
94
+ default: () => {};
95
+ };
96
+ layout: {
97
+ type: import('vue').PropType<Partial<import('../../@types').ILayoutConfig>>;
98
+ default: () => Partial<import('../../@types').ILayoutConfig>;
99
+ };
100
+ context: {
101
+ type: ObjectConstructor;
102
+ default: () => {};
103
+ };
104
+ removeable: {
105
+ type: BooleanConstructor;
106
+ default: boolean;
107
+ };
108
+ httpAdapter: {
109
+ type: ObjectConstructor;
110
+ default: () => {
111
+ request: (url: string, config?: Partial<import('../../util/fetch').IFetchConfig>) => Promise<any>;
112
+ responseParse: (res: any) => any;
113
+ };
114
+ };
115
+ visible: {
116
+ type: BooleanConstructor;
117
+ default: boolean;
118
+ };
119
+ error: {
120
+ type: BooleanConstructor;
121
+ default: boolean;
122
+ };
123
+ disabled: {
124
+ type: BooleanConstructor;
125
+ default: boolean;
126
+ };
127
+ readonly: {
128
+ type: BooleanConstructor;
129
+ default: boolean;
130
+ };
131
+ readonlyMode: {
132
+ type: StringConstructor;
133
+ default: string;
134
+ validator: (value: any) => boolean;
135
+ };
136
+ showResetDefault: {
137
+ type: BooleanConstructor;
138
+ default: boolean;
139
+ };
140
+ }>> & Readonly<{}>, {
141
+ required: boolean;
142
+ schema: JSONSchema7;
143
+ path: string;
144
+ rootData: Record<string, any>;
145
+ modelValue: unknown[];
146
+ layout: Partial<import('../../@types').ILayoutConfig>;
147
+ context: Record<string, any>;
148
+ removeable: boolean;
149
+ httpAdapter: Record<string, any>;
150
+ visible: boolean;
151
+ error: boolean;
152
+ disabled: boolean;
153
+ readonly: boolean;
154
+ readonlyMode: string;
155
+ showResetDefault: boolean;
156
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
157
+ export default _default;
@@ -0,0 +1,37 @@
1
+ import { IDataSource } from '../../@types';
2
+ import { PropType } from 'vue';
3
+
4
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
5
+ datasource: {
6
+ type: PropType<IDataSource[]>;
7
+ default: () => IDataSource[];
8
+ };
9
+ modelValue: {
10
+ type: (StringConstructor | NumberConstructor | BooleanConstructor)[];
11
+ default: string;
12
+ };
13
+ disabled: {
14
+ type: BooleanConstructor;
15
+ default: boolean;
16
+ };
17
+ }>, {}, {}, {}, {
18
+ handleChange(val: any): void;
19
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
20
+ datasource: {
21
+ type: PropType<IDataSource[]>;
22
+ default: () => IDataSource[];
23
+ };
24
+ modelValue: {
25
+ type: (StringConstructor | NumberConstructor | BooleanConstructor)[];
26
+ default: string;
27
+ };
28
+ disabled: {
29
+ type: BooleanConstructor;
30
+ default: boolean;
31
+ };
32
+ }>> & Readonly<{}>, {
33
+ modelValue: string | number | boolean;
34
+ disabled: boolean;
35
+ datasource: IDataSource[];
36
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
37
+ export default _default;
@@ -0,0 +1,37 @@
1
+ import { IDataSource } from '../../@types';
2
+ import { PropType } from 'vue';
3
+
4
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
5
+ datasource: {
6
+ type: PropType<IDataSource[]>;
7
+ default: () => IDataSource[];
8
+ };
9
+ modelValue: {
10
+ type: (ArrayConstructor | StringConstructor | NumberConstructor | BooleanConstructor)[];
11
+ default: string;
12
+ };
13
+ loading: {
14
+ type: BooleanConstructor;
15
+ default: boolean;
16
+ };
17
+ }>, {}, {}, {}, {
18
+ handleSelectChange(val: any): void;
19
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
20
+ datasource: {
21
+ type: PropType<IDataSource[]>;
22
+ default: () => IDataSource[];
23
+ };
24
+ modelValue: {
25
+ type: (ArrayConstructor | StringConstructor | NumberConstructor | BooleanConstructor)[];
26
+ default: string;
27
+ };
28
+ loading: {
29
+ type: BooleanConstructor;
30
+ default: boolean;
31
+ };
32
+ }>> & Readonly<{}>, {
33
+ modelValue: string | number | boolean | unknown[];
34
+ loading: boolean;
35
+ datasource: IDataSource[];
36
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
37
+ export default _default;
@@ -0,0 +1,10 @@
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
+ modelValue: BooleanConstructor;
3
+ }>, {}, {}, {}, {
4
+ handleChange(v: any): void;
5
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
6
+ modelValue: BooleanConstructor;
7
+ }>> & Readonly<{}>, {
8
+ modelValue: boolean;
9
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
10
+ export default _default;
@@ -0,0 +1,187 @@
1
+ import { JSONSchema7 } from 'json-schema';
2
+
3
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
4
+ type: {
5
+ type: StringConstructor;
6
+ default: string;
7
+ validator: (value: string) => boolean;
8
+ };
9
+ showTitle: {
10
+ type: BooleanConstructor;
11
+ default: boolean;
12
+ };
13
+ border: {
14
+ type: BooleanConstructor;
15
+ default: boolean;
16
+ };
17
+ verifiable: {
18
+ type: BooleanConstructor;
19
+ default: boolean;
20
+ };
21
+ schema: {
22
+ type: import('vue').PropType<JSONSchema7>;
23
+ default: () => JSONSchema7;
24
+ };
25
+ path: {
26
+ type: StringConstructor;
27
+ default: string;
28
+ };
29
+ required: {
30
+ type: BooleanConstructor;
31
+ default: boolean;
32
+ };
33
+ rootData: {
34
+ type: ObjectConstructor;
35
+ default: () => {};
36
+ };
37
+ modelValue: {
38
+ type: (ObjectConstructor | ArrayConstructor | StringConstructor | NumberConstructor | BooleanConstructor)[];
39
+ };
40
+ layout: {
41
+ type: import('vue').PropType<Partial<import('../../@types').ILayoutConfig>>;
42
+ default: () => Partial<import('../../@types').ILayoutConfig>;
43
+ };
44
+ context: {
45
+ type: ObjectConstructor;
46
+ default: () => {};
47
+ };
48
+ removeable: {
49
+ type: BooleanConstructor;
50
+ default: boolean;
51
+ };
52
+ httpAdapter: {
53
+ type: ObjectConstructor;
54
+ default: () => {
55
+ request: (url: string, config?: Partial<import('../../util/fetch').IFetchConfig>) => Promise<any>;
56
+ responseParse: (res: any) => any;
57
+ };
58
+ };
59
+ visible: {
60
+ type: BooleanConstructor;
61
+ default: boolean;
62
+ };
63
+ error: {
64
+ type: BooleanConstructor;
65
+ default: boolean;
66
+ };
67
+ disabled: {
68
+ type: BooleanConstructor;
69
+ default: boolean;
70
+ };
71
+ readonly: {
72
+ type: BooleanConstructor;
73
+ default: boolean;
74
+ };
75
+ readonlyMode: {
76
+ type: StringConstructor;
77
+ default: string;
78
+ validator: (value: any) => boolean;
79
+ };
80
+ showResetDefault: {
81
+ type: BooleanConstructor;
82
+ default: boolean;
83
+ };
84
+ }>, {}, {
85
+ active: string;
86
+ }, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
87
+ type: {
88
+ type: StringConstructor;
89
+ default: string;
90
+ validator: (value: string) => boolean;
91
+ };
92
+ showTitle: {
93
+ type: BooleanConstructor;
94
+ default: boolean;
95
+ };
96
+ border: {
97
+ type: BooleanConstructor;
98
+ default: boolean;
99
+ };
100
+ verifiable: {
101
+ type: BooleanConstructor;
102
+ default: boolean;
103
+ };
104
+ schema: {
105
+ type: import('vue').PropType<JSONSchema7>;
106
+ default: () => JSONSchema7;
107
+ };
108
+ path: {
109
+ type: StringConstructor;
110
+ default: string;
111
+ };
112
+ required: {
113
+ type: BooleanConstructor;
114
+ default: boolean;
115
+ };
116
+ rootData: {
117
+ type: ObjectConstructor;
118
+ default: () => {};
119
+ };
120
+ modelValue: {
121
+ type: (ObjectConstructor | ArrayConstructor | StringConstructor | NumberConstructor | BooleanConstructor)[];
122
+ };
123
+ layout: {
124
+ type: import('vue').PropType<Partial<import('../../@types').ILayoutConfig>>;
125
+ default: () => Partial<import('../../@types').ILayoutConfig>;
126
+ };
127
+ context: {
128
+ type: ObjectConstructor;
129
+ default: () => {};
130
+ };
131
+ removeable: {
132
+ type: BooleanConstructor;
133
+ default: boolean;
134
+ };
135
+ httpAdapter: {
136
+ type: ObjectConstructor;
137
+ default: () => {
138
+ request: (url: string, config?: Partial<import('../../util/fetch').IFetchConfig>) => Promise<any>;
139
+ responseParse: (res: any) => any;
140
+ };
141
+ };
142
+ visible: {
143
+ type: BooleanConstructor;
144
+ default: boolean;
145
+ };
146
+ error: {
147
+ type: BooleanConstructor;
148
+ default: boolean;
149
+ };
150
+ disabled: {
151
+ type: BooleanConstructor;
152
+ default: boolean;
153
+ };
154
+ readonly: {
155
+ type: BooleanConstructor;
156
+ default: boolean;
157
+ };
158
+ readonlyMode: {
159
+ type: StringConstructor;
160
+ default: string;
161
+ validator: (value: any) => boolean;
162
+ };
163
+ showResetDefault: {
164
+ type: BooleanConstructor;
165
+ default: boolean;
166
+ };
167
+ }>> & Readonly<{}>, {
168
+ type: string;
169
+ required: boolean;
170
+ schema: JSONSchema7;
171
+ path: string;
172
+ rootData: Record<string, any>;
173
+ layout: Partial<import('../../@types').ILayoutConfig>;
174
+ context: Record<string, any>;
175
+ removeable: boolean;
176
+ httpAdapter: Record<string, any>;
177
+ visible: boolean;
178
+ error: boolean;
179
+ disabled: boolean;
180
+ readonly: boolean;
181
+ readonlyMode: string;
182
+ showResetDefault: boolean;
183
+ showTitle: boolean;
184
+ border: boolean;
185
+ verifiable: boolean;
186
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
187
+ export default _default;