@plasmicpkgs/antd 2.0.5 → 2.0.7

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