@plasmicpkgs/antd 2.0.19 → 2.0.21

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 (79) hide show
  1. package/dist/.tsbuildinfo +1 -0
  2. package/dist/antd.esm.js +703 -616
  3. package/dist/antd.esm.js.map +1 -1
  4. package/dist/customControls.d.ts +17 -17
  5. package/dist/index.d.ts +16 -16
  6. package/dist/index.js +2352 -5
  7. package/dist/index.js.map +1 -0
  8. package/dist/registerButton.d.ts +5 -5
  9. package/dist/registerCarousel.d.ts +5 -5
  10. package/dist/registerCheckbox.d.ts +8 -8
  11. package/dist/registerCollapse.d.ts +14 -14
  12. package/dist/registerDropdown.d.ts +11 -11
  13. package/dist/registerInput.d.ts +14 -14
  14. package/dist/registerMenu.d.ts +15 -15
  15. package/dist/registerOption.d.ts +8 -8
  16. package/dist/registerRate.d.ts +5 -5
  17. package/dist/registerSelect.d.ts +8 -8
  18. package/dist/registerSlider.d.ts +19 -19
  19. package/dist/registerSwitch.d.ts +5 -5
  20. package/dist/registerTable.d.ts +30 -30
  21. package/dist/registerTabs.d.ts +14 -13
  22. package/dist/registerable.d.ts +4 -4
  23. package/package.json +10 -9
  24. package/skinny/customControls-fb0b7e5f.js +22 -0
  25. package/skinny/{customControls-ff79afdf.js.map → customControls-fb0b7e5f.js.map} +1 -1
  26. package/skinny/customControls.d.ts +17 -17
  27. package/skinny/registerButton.d.ts +5 -5
  28. package/skinny/registerButton.js +80 -81
  29. package/skinny/registerButton.js.map +1 -1
  30. package/skinny/registerCarousel.d.ts +5 -5
  31. package/skinny/registerCarousel.js +66 -67
  32. package/skinny/registerCarousel.js.map +1 -1
  33. package/skinny/registerCheckbox.d.ts +8 -8
  34. package/skinny/registerCheckbox.js +125 -121
  35. package/skinny/registerCheckbox.js.map +1 -1
  36. package/skinny/registerCollapse.d.ts +14 -14
  37. package/skinny/registerCollapse.js +174 -153
  38. package/skinny/registerCollapse.js.map +1 -1
  39. package/skinny/registerDropdown.d.ts +11 -11
  40. package/skinny/registerDropdown.js +175 -171
  41. package/skinny/registerDropdown.js.map +1 -1
  42. package/skinny/registerInput.d.ts +14 -14
  43. package/skinny/registerInput.js +362 -312
  44. package/skinny/registerInput.js.map +1 -1
  45. package/skinny/registerMenu.d.ts +15 -15
  46. package/skinny/registerMenu.js +275 -298
  47. package/skinny/registerMenu.js.map +1 -1
  48. package/skinny/registerOption.d.ts +8 -8
  49. package/skinny/registerOption.js +73 -81
  50. package/skinny/registerOption.js.map +1 -1
  51. package/skinny/registerRate.d.ts +5 -5
  52. package/skinny/registerRate.js +66 -0
  53. package/skinny/registerRate.js.map +1 -0
  54. package/skinny/registerSelect.d.ts +8 -8
  55. package/skinny/registerSelect.js +129 -130
  56. package/skinny/registerSelect.js.map +1 -1
  57. package/skinny/registerSlider.d.ts +19 -19
  58. package/skinny/registerSlider.js +132 -104
  59. package/skinny/registerSlider.js.map +1 -1
  60. package/skinny/registerSwitch.d.ts +5 -5
  61. package/skinny/registerSwitch.js +55 -56
  62. package/skinny/registerSwitch.js.map +1 -1
  63. package/skinny/registerTable.d.ts +30 -30
  64. package/skinny/registerTable.js +202 -183
  65. package/skinny/registerTable.js.map +1 -1
  66. package/skinny/registerTabs.d.ts +14 -13
  67. package/skinny/registerTabs.js +344 -311
  68. package/skinny/registerTabs.js.map +1 -1
  69. package/skinny/registerable.d.ts +4 -4
  70. package/skinny/registerable.js +3 -0
  71. package/skinny/registerable.js.map +1 -0
  72. package/dist/antd.cjs.development.js +0 -2243
  73. package/dist/antd.cjs.development.js.map +0 -1
  74. package/dist/antd.cjs.production.min.js +0 -2
  75. package/dist/antd.cjs.production.min.js.map +0 -1
  76. package/skinny/customControls-ff79afdf.js +0 -27
  77. package/skinny/index.d.ts +0 -16
  78. package/skinny/tslib.es6-b92c4a81.js +0 -59
  79. package/skinny/tslib.es6-b92c4a81.js.map +0 -1
@@ -1,6 +1,5 @@
1
1
  'use strict';
2
2
 
3
- var tslib_es6 = require('./tslib.es6-b92c4a81.js');
4
3
  var registerComponent = require('@plasmicapp/host/registerComponent');
5
4
  var Input = require('antd/lib/input');
6
5
  var InputGroup = require('antd/lib/input/Group');
@@ -8,317 +7,368 @@ var Password = require('antd/lib/input/Password');
8
7
  var Search = require('antd/lib/input/Search');
9
8
  var TextArea = require('antd/lib/input/TextArea');
10
9
 
11
- function sortObjectKeys(obj) {
12
- return Object.fromEntries(Object.entries(obj).sort());
13
- }
14
- function sortProps(props) {
15
- return sortObjectKeys(props);
16
- }
17
- var commonHtmlAttributes = {
18
- "aria-label": {
19
- type: "string",
20
- description: "The ARIA label for this input",
21
- },
22
- "aria-labelledby": {
23
- type: "string",
24
- description: "Identifies the element(s) that labels this input",
25
- },
26
- name: {
27
- type: "string",
28
- description: "The HTML name of the input",
29
- },
30
- };
31
- var inputMeta = {
32
- name: "AntdInput",
33
- displayName: "Antd Input",
34
- props: sortProps(tslib_es6.__assign(tslib_es6.__assign({}, commonHtmlAttributes), { addonAfter: {
35
- type: "slot",
36
- hidePlaceholder: true,
37
- }, addonBefore: {
38
- type: "slot",
39
- hidePlaceholder: true,
40
- }, allowClear: {
41
- type: "boolean",
42
- description: "If allow to remove input content with clear icon",
43
- defaultValueHint: false,
44
- }, bordered: {
45
- type: "boolean",
46
- description: "Whether has border style",
47
- defaultValueHint: true,
48
- }, disabled: {
49
- type: "boolean",
50
- description: "Whether the input is disabled",
51
- defaultValueHint: false,
52
- }, id: {
53
- type: "string",
54
- description: "The ID for input",
55
- }, maxLength: {
56
- type: "number",
57
- description: "The max length",
58
- }, placeholder: {
59
- type: "string",
60
- description: "Placeholder for the input",
61
- }, prefix: {
62
- type: "slot",
63
- hidePlaceholder: true,
64
- }, size: {
65
- type: "choice",
66
- options: ["small", "middle", "large"],
67
- description: "The size of the input box",
68
- defaultValueHint: "middle,",
69
- }, suffix: {
70
- type: "slot",
71
- hidePlaceholder: true,
72
- }, type: {
73
- type: "string",
74
- description: "The type of input",
75
- defaultValueHint: "text",
76
- }, value: {
77
- type: "string",
78
- editOnly: true,
79
- uncontrolledProp: "defaultValue",
80
- } })),
81
- importPath: "antd/lib/input",
82
- importName: "Input",
83
- isDefaultExport: true,
84
- };
85
- function registerInput(loader, customInputMeta) {
86
- var doRegisterComponent = function () {
87
- var args = [];
88
- for (var _i = 0; _i < arguments.length; _i++) {
89
- args[_i] = arguments[_i];
90
- }
91
- return loader ? loader.registerComponent.apply(loader, args) : registerComponent.apply(void 0, args);
92
- };
93
- doRegisterComponent(Input, customInputMeta !== null && customInputMeta !== void 0 ? customInputMeta : inputMeta);
94
- }
95
- var inputTextAreaMeta = {
96
- name: "AntdInputTextArea",
97
- displayName: "Antd Input Text Area",
98
- props: sortProps(tslib_es6.__assign(tslib_es6.__assign({}, commonHtmlAttributes), { allowClear: {
99
- type: "boolean",
100
- description: "If allow to remove input content with clear icon",
101
- defaultValueHint: false,
102
- }, autoSize: {
103
- type: "object",
104
- description: "Height autosize feature, can be set to true | false or an object { minRows: 2, maxRows: 6 }",
105
- }, disabled: {
106
- type: "boolean",
107
- description: "Whether the input is disabled",
108
- defaultValueHint: false,
109
- }, bordered: {
110
- type: "boolean",
111
- description: "Whether has border style",
112
- defaultValueHint: true,
113
- }, showCount: {
114
- type: "boolean",
115
- description: "Whether show text count",
116
- defaultValueHint: false,
117
- }, id: {
118
- type: "string",
119
- description: "The ID for input",
120
- }, maxLength: {
121
- type: "number",
122
- description: "The max length",
123
- }, placeholder: {
124
- type: "string",
125
- description: "Placeholder for the input",
126
- }, value: {
127
- type: "string",
128
- editOnly: true,
129
- uncontrolledProp: "defaultValue",
130
- } })),
131
- importPath: "antd/lib/input/TextArea",
132
- importName: "TextArea",
133
- isDefaultExport: true,
134
- parentComponentName: "AntdInput",
135
- };
136
- function registerInputTextArea(loader, customInputTextAreaMeta) {
137
- var doRegisterComponent = function () {
138
- var args = [];
139
- for (var _i = 0; _i < arguments.length; _i++) {
140
- args[_i] = arguments[_i];
141
- }
142
- return loader ? loader.registerComponent.apply(loader, args) : registerComponent.apply(void 0, args);
143
- };
144
- doRegisterComponent(TextArea, customInputTextAreaMeta !== null && customInputTextAreaMeta !== void 0 ? customInputTextAreaMeta : inputTextAreaMeta);
145
- }
146
- var inputSearchMeta = {
147
- name: "AntdInputSearch",
148
- displayName: "Antd Input Search",
149
- props: sortProps(tslib_es6.__assign(tslib_es6.__assign({}, commonHtmlAttributes), { addonBefore: {
150
- type: "slot",
151
- hidePlaceholder: true,
152
- }, allowClear: {
153
- type: "boolean",
154
- description: "If allow to remove input content with clear icon",
155
- defaultValueHint: false,
156
- }, bordered: {
157
- type: "boolean",
158
- description: "Whether has border style",
159
- defaultValueHint: true,
160
- }, disabled: {
161
- type: "boolean",
162
- description: "Whether the input is disabled",
163
- defaultValueHint: false,
164
- }, enterButton: {
165
- type: "slot",
166
- hidePlaceholder: true,
167
- }, id: {
168
- type: "string",
169
- description: "The ID for input",
170
- }, loading: {
171
- type: "boolean",
172
- description: "Search box with loading",
173
- defaultValueHint: false,
174
- }, maxLength: {
175
- type: "number",
176
- description: "The max length",
177
- }, placeholder: {
178
- type: "string",
179
- description: "Placeholder for the input",
180
- }, prefix: {
181
- type: "slot",
182
- hidePlaceholder: true,
183
- }, size: {
184
- type: "choice",
185
- options: ["small", "middle", "large"],
186
- description: "The size of the input box",
187
- defaultValueHint: "middle",
188
- }, suffix: {
189
- type: "slot",
190
- hidePlaceholder: true,
191
- }, type: {
192
- type: "string",
193
- description: "The type of input",
194
- }, value: {
195
- type: "string",
196
- editOnly: true,
197
- uncontrolledProp: "defaultValue",
198
- } })),
199
- importPath: "antd/lib/input/Search",
200
- importName: "Search",
201
- isDefaultExport: true,
202
- parentComponentName: "AntdInput",
203
- };
204
- function registerInputSearch(loader, customInputSearchMeta) {
205
- var doRegisterComponent = function () {
206
- var args = [];
207
- for (var _i = 0; _i < arguments.length; _i++) {
208
- args[_i] = arguments[_i];
209
- }
210
- return loader ? loader.registerComponent.apply(loader, args) : registerComponent.apply(void 0, args);
211
- };
212
- doRegisterComponent(Search, customInputSearchMeta !== null && customInputSearchMeta !== void 0 ? customInputSearchMeta : inputSearchMeta);
213
- }
214
- var inputPasswordMeta = {
215
- name: "AntdInputPassword",
216
- displayName: "Antd Input Password",
217
- props: sortProps(tslib_es6.__assign(tslib_es6.__assign({}, commonHtmlAttributes), { addonAfter: {
218
- type: "slot",
219
- hidePlaceholder: true,
220
- }, addonBefore: {
221
- type: "slot",
222
- hidePlaceholder: true,
223
- }, allowClear: {
224
- type: "boolean",
225
- description: "If allow to remove input content with clear icon",
226
- defaultValueHint: false,
227
- }, bordered: {
228
- type: "boolean",
229
- description: "Whether has border style",
230
- defaultValueHint: true,
231
- }, disabled: {
232
- type: "boolean",
233
- description: "Whether the input is disabled",
234
- defaultValueHint: false,
235
- }, id: {
236
- type: "string",
237
- description: "The ID for input",
238
- }, maxLength: {
239
- type: "number",
240
- description: "The max length",
241
- }, placeholder: {
242
- type: "string",
243
- description: "Placeholder for the input",
244
- }, prefix: {
245
- type: "slot",
246
- hidePlaceholder: true,
247
- }, size: {
248
- type: "choice",
249
- options: ["small", "middle", "large"],
250
- description: "The size of the input box",
251
- defaultValueHint: "middle",
252
- }, type: {
253
- type: "string",
254
- description: "The type of input",
255
- }, value: {
256
- type: "string",
257
- editOnly: true,
258
- uncontrolledProp: "defaultValue",
259
- }, visibilityToggle: {
260
- type: "boolean",
261
- description: "Whether show toggle button",
262
- defaultValueHint: true,
263
- } })),
264
- importPath: "antd/lib/input/Password",
265
- importName: "Password",
266
- isDefaultExport: true,
267
- parentComponentName: "AntdInput",
268
- };
269
- function registerInputPassword(loader, customInputPasswordMeta) {
270
- var doRegisterComponent = function () {
271
- var args = [];
272
- for (var _i = 0; _i < arguments.length; _i++) {
273
- args[_i] = arguments[_i];
274
- }
275
- return loader ? loader.registerComponent.apply(loader, args) : registerComponent.apply(void 0, args);
276
- };
277
- doRegisterComponent(Password, customInputPasswordMeta !== null && customInputPasswordMeta !== void 0 ? customInputPasswordMeta : inputPasswordMeta);
278
- }
279
- var inputGroupMeta = {
280
- name: "AntdInputGroup",
281
- displayName: "Antd Input Group",
282
- props: {
283
- compact: {
284
- type: "boolean",
285
- description: "Whether use compact style",
286
- defaultValueHint: false,
287
- },
288
- size: {
289
- type: "choice",
290
- options: ["small", "default", "large"],
291
- description: "The size of Input.Group specifies the size of the included Input fields",
292
- defaultValueHint: "default",
293
- },
294
- children: {
295
- type: "slot",
296
- defaultValue: [
297
- {
298
- type: "component",
299
- name: "AntdInput",
300
- },
301
- {
302
- type: "component",
303
- name: "AntdInput",
304
- },
305
- ],
306
- },
307
- },
308
- importPath: "antd/lib/input/Group",
309
- importName: "InputGroup",
310
- isDefaultExport: true,
311
- parentComponentName: "AntdInput",
312
- };
313
- function registerInputGroup(loader, customInputGroupMeta) {
314
- var doRegisterComponent = function () {
315
- var args = [];
316
- for (var _i = 0; _i < arguments.length; _i++) {
317
- args[_i] = arguments[_i];
318
- }
319
- return loader ? loader.registerComponent.apply(loader, args) : registerComponent.apply(void 0, args);
320
- };
321
- doRegisterComponent(InputGroup, customInputGroupMeta !== null && customInputGroupMeta !== void 0 ? customInputGroupMeta : inputGroupMeta);
10
+ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
11
+
12
+ var registerComponent__default = /*#__PURE__*/_interopDefault(registerComponent);
13
+ var Input__default = /*#__PURE__*/_interopDefault(Input);
14
+ var InputGroup__default = /*#__PURE__*/_interopDefault(InputGroup);
15
+ var Password__default = /*#__PURE__*/_interopDefault(Password);
16
+ var Search__default = /*#__PURE__*/_interopDefault(Search);
17
+ var TextArea__default = /*#__PURE__*/_interopDefault(TextArea);
18
+
19
+ var __defProp = Object.defineProperty;
20
+ var __defProps = Object.defineProperties;
21
+ var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
22
+ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
23
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
24
+ var __propIsEnum = Object.prototype.propertyIsEnumerable;
25
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
26
+ var __spreadValues = (a, b) => {
27
+ for (var prop in b || (b = {}))
28
+ if (__hasOwnProp.call(b, prop))
29
+ __defNormalProp(a, prop, b[prop]);
30
+ if (__getOwnPropSymbols)
31
+ for (var prop of __getOwnPropSymbols(b)) {
32
+ if (__propIsEnum.call(b, prop))
33
+ __defNormalProp(a, prop, b[prop]);
34
+ }
35
+ return a;
36
+ };
37
+ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
38
+ function sortObjectKeys(obj) {
39
+ return Object.fromEntries(Object.entries(obj).sort());
40
+ }
41
+ function sortProps(props) {
42
+ return sortObjectKeys(props);
43
+ }
44
+ const commonHtmlAttributes = {
45
+ "aria-label": {
46
+ type: "string",
47
+ description: "The ARIA label for this input"
48
+ },
49
+ "aria-labelledby": {
50
+ type: "string",
51
+ description: "Identifies the element(s) that labels this input"
52
+ },
53
+ name: {
54
+ type: "string",
55
+ description: "The HTML name of the input"
56
+ }
57
+ };
58
+ const inputMeta = {
59
+ name: "AntdInput",
60
+ displayName: "Antd Input",
61
+ props: sortProps(__spreadProps(__spreadValues({}, commonHtmlAttributes), {
62
+ addonAfter: {
63
+ type: "slot",
64
+ hidePlaceholder: true
65
+ },
66
+ addonBefore: {
67
+ type: "slot",
68
+ hidePlaceholder: true
69
+ },
70
+ allowClear: {
71
+ type: "boolean",
72
+ description: "If allow to remove input content with clear icon",
73
+ defaultValueHint: false
74
+ },
75
+ bordered: {
76
+ type: "boolean",
77
+ description: "Whether has border style",
78
+ defaultValueHint: true
79
+ },
80
+ disabled: {
81
+ type: "boolean",
82
+ description: "Whether the input is disabled",
83
+ defaultValueHint: false
84
+ },
85
+ id: {
86
+ type: "string",
87
+ description: "The ID for input"
88
+ },
89
+ maxLength: {
90
+ type: "number",
91
+ description: "The max length"
92
+ },
93
+ placeholder: {
94
+ type: "string",
95
+ description: "Placeholder for the input"
96
+ },
97
+ prefix: {
98
+ type: "slot",
99
+ hidePlaceholder: true
100
+ },
101
+ size: {
102
+ type: "choice",
103
+ options: ["small", "middle", "large"],
104
+ description: "The size of the input box",
105
+ defaultValueHint: "middle,"
106
+ },
107
+ suffix: {
108
+ type: "slot",
109
+ hidePlaceholder: true
110
+ },
111
+ type: {
112
+ type: "string",
113
+ description: "The type of input",
114
+ defaultValueHint: "text"
115
+ },
116
+ value: {
117
+ type: "string",
118
+ editOnly: true,
119
+ uncontrolledProp: "defaultValue"
120
+ }
121
+ })),
122
+ importPath: "antd/lib/input",
123
+ importName: "Input",
124
+ isDefaultExport: true
125
+ };
126
+ function registerInput(loader, customInputMeta) {
127
+ const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) : registerComponent__default.default(...args);
128
+ doRegisterComponent(Input__default.default, customInputMeta != null ? customInputMeta : inputMeta);
129
+ }
130
+ const inputTextAreaMeta = {
131
+ name: "AntdInputTextArea",
132
+ displayName: "Antd Input Text Area",
133
+ props: sortProps(__spreadProps(__spreadValues({}, commonHtmlAttributes), {
134
+ allowClear: {
135
+ type: "boolean",
136
+ description: "If allow to remove input content with clear icon",
137
+ defaultValueHint: false
138
+ },
139
+ autoSize: {
140
+ type: "object",
141
+ description: "Height autosize feature, can be set to true | false or an object { minRows: 2, maxRows: 6 }"
142
+ },
143
+ disabled: {
144
+ type: "boolean",
145
+ description: "Whether the input is disabled",
146
+ defaultValueHint: false
147
+ },
148
+ bordered: {
149
+ type: "boolean",
150
+ description: "Whether has border style",
151
+ defaultValueHint: true
152
+ },
153
+ showCount: {
154
+ type: "boolean",
155
+ description: "Whether show text count",
156
+ defaultValueHint: false
157
+ },
158
+ id: {
159
+ type: "string",
160
+ description: "The ID for input"
161
+ },
162
+ maxLength: {
163
+ type: "number",
164
+ description: "The max length"
165
+ },
166
+ placeholder: {
167
+ type: "string",
168
+ description: "Placeholder for the input"
169
+ },
170
+ value: {
171
+ type: "string",
172
+ editOnly: true,
173
+ uncontrolledProp: "defaultValue"
174
+ }
175
+ })),
176
+ importPath: "antd/lib/input/TextArea",
177
+ importName: "TextArea",
178
+ isDefaultExport: true,
179
+ parentComponentName: "AntdInput"
180
+ };
181
+ function registerInputTextArea(loader, customInputTextAreaMeta) {
182
+ const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) : registerComponent__default.default(...args);
183
+ doRegisterComponent(TextArea__default.default, customInputTextAreaMeta != null ? customInputTextAreaMeta : inputTextAreaMeta);
184
+ }
185
+ const inputSearchMeta = {
186
+ name: "AntdInputSearch",
187
+ displayName: "Antd Input Search",
188
+ props: sortProps(__spreadProps(__spreadValues({}, commonHtmlAttributes), {
189
+ addonBefore: {
190
+ type: "slot",
191
+ hidePlaceholder: true
192
+ },
193
+ allowClear: {
194
+ type: "boolean",
195
+ description: "If allow to remove input content with clear icon",
196
+ defaultValueHint: false
197
+ },
198
+ bordered: {
199
+ type: "boolean",
200
+ description: "Whether has border style",
201
+ defaultValueHint: true
202
+ },
203
+ disabled: {
204
+ type: "boolean",
205
+ description: "Whether the input is disabled",
206
+ defaultValueHint: false
207
+ },
208
+ enterButton: {
209
+ type: "slot",
210
+ hidePlaceholder: true
211
+ },
212
+ id: {
213
+ type: "string",
214
+ description: "The ID for input"
215
+ },
216
+ loading: {
217
+ type: "boolean",
218
+ description: "Search box with loading",
219
+ defaultValueHint: false
220
+ },
221
+ maxLength: {
222
+ type: "number",
223
+ description: "The max length"
224
+ },
225
+ placeholder: {
226
+ type: "string",
227
+ description: "Placeholder for the input"
228
+ },
229
+ prefix: {
230
+ type: "slot",
231
+ hidePlaceholder: true
232
+ },
233
+ size: {
234
+ type: "choice",
235
+ options: ["small", "middle", "large"],
236
+ description: "The size of the input box",
237
+ defaultValueHint: "middle"
238
+ },
239
+ suffix: {
240
+ type: "slot",
241
+ hidePlaceholder: true
242
+ },
243
+ type: {
244
+ type: "string",
245
+ description: "The type of input"
246
+ },
247
+ value: {
248
+ type: "string",
249
+ editOnly: true,
250
+ uncontrolledProp: "defaultValue"
251
+ }
252
+ })),
253
+ importPath: "antd/lib/input/Search",
254
+ importName: "Search",
255
+ isDefaultExport: true,
256
+ parentComponentName: "AntdInput"
257
+ };
258
+ function registerInputSearch(loader, customInputSearchMeta) {
259
+ const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) : registerComponent__default.default(...args);
260
+ doRegisterComponent(Search__default.default, customInputSearchMeta != null ? customInputSearchMeta : inputSearchMeta);
261
+ }
262
+ const inputPasswordMeta = {
263
+ name: "AntdInputPassword",
264
+ displayName: "Antd Input Password",
265
+ props: sortProps(__spreadProps(__spreadValues({}, commonHtmlAttributes), {
266
+ addonAfter: {
267
+ type: "slot",
268
+ hidePlaceholder: true
269
+ },
270
+ addonBefore: {
271
+ type: "slot",
272
+ hidePlaceholder: true
273
+ },
274
+ allowClear: {
275
+ type: "boolean",
276
+ description: "If allow to remove input content with clear icon",
277
+ defaultValueHint: false
278
+ },
279
+ bordered: {
280
+ type: "boolean",
281
+ description: "Whether has border style",
282
+ defaultValueHint: true
283
+ },
284
+ disabled: {
285
+ type: "boolean",
286
+ description: "Whether the input is disabled",
287
+ defaultValueHint: false
288
+ },
289
+ id: {
290
+ type: "string",
291
+ description: "The ID for input"
292
+ },
293
+ maxLength: {
294
+ type: "number",
295
+ description: "The max length"
296
+ },
297
+ placeholder: {
298
+ type: "string",
299
+ description: "Placeholder for the input"
300
+ },
301
+ prefix: {
302
+ type: "slot",
303
+ hidePlaceholder: true
304
+ },
305
+ size: {
306
+ type: "choice",
307
+ options: ["small", "middle", "large"],
308
+ description: "The size of the input box",
309
+ defaultValueHint: "middle"
310
+ },
311
+ type: {
312
+ type: "string",
313
+ description: "The type of input"
314
+ },
315
+ value: {
316
+ type: "string",
317
+ editOnly: true,
318
+ uncontrolledProp: "defaultValue"
319
+ },
320
+ visibilityToggle: {
321
+ type: "boolean",
322
+ description: "Whether show toggle button",
323
+ defaultValueHint: true
324
+ }
325
+ })),
326
+ importPath: "antd/lib/input/Password",
327
+ importName: "Password",
328
+ isDefaultExport: true,
329
+ parentComponentName: "AntdInput"
330
+ };
331
+ function registerInputPassword(loader, customInputPasswordMeta) {
332
+ const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) : registerComponent__default.default(...args);
333
+ doRegisterComponent(Password__default.default, customInputPasswordMeta != null ? customInputPasswordMeta : inputPasswordMeta);
334
+ }
335
+ const inputGroupMeta = {
336
+ name: "AntdInputGroup",
337
+ displayName: "Antd Input Group",
338
+ props: {
339
+ compact: {
340
+ type: "boolean",
341
+ description: "Whether use compact style",
342
+ defaultValueHint: false
343
+ },
344
+ size: {
345
+ type: "choice",
346
+ options: ["small", "default", "large"],
347
+ description: "The size of Input.Group specifies the size of the included Input fields",
348
+ defaultValueHint: "default"
349
+ },
350
+ children: {
351
+ type: "slot",
352
+ defaultValue: [
353
+ {
354
+ type: "component",
355
+ name: "AntdInput"
356
+ },
357
+ {
358
+ type: "component",
359
+ name: "AntdInput"
360
+ }
361
+ ]
362
+ }
363
+ },
364
+ importPath: "antd/lib/input/Group",
365
+ importName: "InputGroup",
366
+ isDefaultExport: true,
367
+ parentComponentName: "AntdInput"
368
+ };
369
+ function registerInputGroup(loader, customInputGroupMeta) {
370
+ const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) : registerComponent__default.default(...args);
371
+ doRegisterComponent(InputGroup__default.default, customInputGroupMeta != null ? customInputGroupMeta : inputGroupMeta);
322
372
  }
323
373
 
324
374
  exports.inputGroupMeta = inputGroupMeta;