@plasmicpkgs/antd 2.0.4 → 2.0.6

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 +2325 -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 +720 -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 +9 -14
  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
package/dist/antd.esm.js CHANGED
@@ -1,34 +1,35 @@
1
1
  import registerComponent from '@plasmicapp/host/registerComponent';
2
- import Button from 'antd/es/button';
3
- import Carousel from 'antd/es/carousel';
4
- import Checkbox from 'antd/es/checkbox/Checkbox';
5
- import CheckboxGroup from 'antd/es/checkbox/Group';
2
+ import Button from 'antd/lib/button';
3
+ import Carousel from 'antd/lib/carousel';
4
+ import Checkbox from 'antd/lib/checkbox/Checkbox';
5
+ import CheckboxGroup from 'antd/lib/checkbox/Group';
6
6
  import React from 'react';
7
- import AntdCollapse from 'antd/es/collapse/Collapse';
8
- import CollapsePanel from 'antd/es/collapse/CollapsePanel';
9
- import AntdDropdown from 'antd/es/dropdown';
10
- import DropdownButton from 'antd/es/dropdown/dropdown-button';
11
- import Input from 'antd/es/input';
12
- import InputGroup from 'antd/es/input/Group';
13
- import Password from 'antd/es/input/Password';
14
- import Search from 'antd/es/input/Search';
15
- import TextArea from 'antd/es/input/TextArea';
16
- import Menu from 'antd/es/menu/index';
17
- import MenuDivider from 'antd/es/menu/MenuDivider';
18
- import MenuItem from 'antd/es/menu/MenuItem';
19
- import SubMenu from 'antd/es/menu/SubMenu';
7
+ import AntdCollapse from 'antd/lib/collapse/Collapse';
8
+ import CollapsePanel from 'antd/lib/collapse/CollapsePanel';
9
+ import AntdDropdown from 'antd/lib/dropdown';
10
+ import DropdownButton from 'antd/lib/dropdown/dropdown-button';
11
+ import Input from 'antd/lib/input';
12
+ import InputGroup from 'antd/lib/input/Group';
13
+ import Password from 'antd/lib/input/Password';
14
+ import Search from 'antd/lib/input/Search';
15
+ import TextArea from 'antd/lib/input/TextArea';
16
+ import Menu from 'antd/lib/menu/index';
17
+ import MenuDivider from 'antd/lib/menu/MenuDivider';
18
+ import MenuItem from 'antd/lib/menu/MenuItem';
19
+ import SubMenu from 'antd/lib/menu/SubMenu';
20
20
  import { ItemGroup } from 'rc-menu';
21
21
  import { Option, OptGroup } from 'rc-select';
22
- import Rate from 'antd/es/rate';
23
- import Select from 'antd/es/select';
24
- import AntdSlider from 'antd/es/slider';
25
- import Switch from 'antd/es/switch';
22
+ import Rate from 'antd/lib/rate';
23
+ import Select from 'antd/lib/select';
24
+ import AntdSlider from 'antd/lib/slider';
25
+ import Switch from 'antd/lib/switch';
26
26
  import { registerComponent as registerComponent$1, useSelector, DataProvider, repeatedElement } from '@plasmicapp/host';
27
- import Table from 'antd/es/table/Table';
27
+ import Table from 'antd/lib/table/Table';
28
28
  import { Button as Button$1 } from 'antd';
29
- import AntdTabs from 'antd/es/tabs';
29
+ import AntdTabs from 'antd/lib/tabs';
30
+ import { TabPane } from 'rc-tabs';
30
31
 
31
- const buttonMeta = {
32
+ var buttonMeta = {
32
33
  name: "AntdButton",
33
34
  displayName: "Antd Button",
34
35
  props: {
@@ -83,36 +84,39 @@ const buttonMeta = {
83
84
  type: "choice",
84
85
  options: ["_blank", "_self", "_parent", "_top"],
85
86
  description: "Same as target attribute of a, works when href is specified",
86
- hidden: (props) => !props.href,
87
+ hidden: function hidden(props) {
88
+ return !props.href;
89
+ },
87
90
  defaultValueHint: "_self"
88
91
  },
89
92
  children: {
90
93
  type: "slot",
91
- defaultValue: [
92
- {
93
- type: "text",
94
- value: "Button"
95
- }
96
- ]
94
+ defaultValue: [{
95
+ type: "text",
96
+ value: "Button"
97
+ }]
97
98
  }
98
99
  },
99
- importPath: "antd/es/button",
100
+ importPath: "antd/lib/button",
100
101
  isDefaultExport: true,
101
102
  importName: "Button"
102
103
  };
103
104
  function registerButton(loader, customButtonMeta) {
104
- const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) : registerComponent(...args);
105
+ var doRegisterComponent = function doRegisterComponent() {
106
+ return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
107
+ };
108
+
105
109
  doRegisterComponent(Button, customButtonMeta != null ? customButtonMeta : buttonMeta);
106
110
  }
107
111
 
108
- const contentStyle = {
112
+ var contentStyle = {
109
113
  height: "160px",
110
114
  color: "#fff",
111
115
  lineHeight: "160px",
112
116
  textAlign: "center",
113
117
  backgroundColor: "#364d79"
114
118
  };
115
- const carouselMeta = {
119
+ var carouselMeta = {
116
120
  name: "AntdCarousel",
117
121
  displayName: "Antd Carousel",
118
122
  props: {
@@ -139,75 +143,128 @@ const carouselMeta = {
139
143
  },
140
144
  children: {
141
145
  type: "slot",
142
- defaultValue: [
143
- {
144
- type: "vbox",
145
- children: {
146
- type: "text",
147
- value: "1",
148
- styles: contentStyle
149
- }
150
- },
151
- {
152
- type: "vbox",
153
- children: {
154
- type: "text",
155
- value: "2",
156
- styles: contentStyle
157
- }
146
+ defaultValue: [{
147
+ type: "vbox",
148
+ children: {
149
+ type: "text",
150
+ value: "1",
151
+ styles: contentStyle
158
152
  }
159
- ]
153
+ }, {
154
+ type: "vbox",
155
+ children: {
156
+ type: "text",
157
+ value: "2",
158
+ styles: contentStyle
159
+ }
160
+ }]
160
161
  }
161
162
  },
162
- importPath: "antd/es/carousel",
163
+ importPath: "antd/lib/carousel",
163
164
  importName: "Carousel",
164
165
  isDefaultExport: true
165
166
  };
166
167
  function registerCarousel(loader, customCarouselMeta) {
167
- const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) : registerComponent(...args);
168
+ var doRegisterComponent = function doRegisterComponent() {
169
+ return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
170
+ };
171
+
168
172
  doRegisterComponent(Carousel, customCarouselMeta != null ? customCarouselMeta : carouselMeta);
169
173
  }
170
174
 
175
+ function _extends() {
176
+ _extends = Object.assign || function (target) {
177
+ for (var i = 1; i < arguments.length; i++) {
178
+ var source = arguments[i];
179
+
180
+ for (var key in source) {
181
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
182
+ target[key] = source[key];
183
+ }
184
+ }
185
+ }
186
+
187
+ return target;
188
+ };
189
+
190
+ return _extends.apply(this, arguments);
191
+ }
192
+
193
+ function _inheritsLoose(subClass, superClass) {
194
+ subClass.prototype = Object.create(superClass.prototype);
195
+ subClass.prototype.constructor = subClass;
196
+
197
+ _setPrototypeOf(subClass, superClass);
198
+ }
199
+
200
+ function _setPrototypeOf(o, p) {
201
+ _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
202
+ o.__proto__ = p;
203
+ return o;
204
+ };
205
+
206
+ return _setPrototypeOf(o, p);
207
+ }
208
+
209
+ function _objectWithoutPropertiesLoose(source, excluded) {
210
+ if (source == null) return {};
211
+ var target = {};
212
+ var sourceKeys = Object.keys(source);
213
+ var key, i;
214
+
215
+ for (i = 0; i < sourceKeys.length; i++) {
216
+ key = sourceKeys[i];
217
+ if (excluded.indexOf(key) >= 0) continue;
218
+ target[key] = source[key];
219
+ }
220
+
221
+ return target;
222
+ }
223
+
224
+ /**
225
+ * Traverses the tree of elements from a `React.createElement`. Notice we can't
226
+ * traverse elements created within the children's render function since this is
227
+ * the tree before rendering.
228
+ */
171
229
  function traverseReactEltTree(children, callback) {
172
- const rec = (elts) => {
173
- (Array.isArray(elts) ? elts : [elts]).forEach((elt) => {
174
- var _a;
230
+ var rec = function rec(elts) {
231
+ (Array.isArray(elts) ? elts : [elts]).forEach(function (elt) {
175
232
  if (elt) {
233
+ var _elt$props;
234
+
176
235
  callback(elt);
236
+
177
237
  if (elt.children) {
178
238
  rec(elt.children);
179
239
  }
180
- if (((_a = elt.props) == null ? void 0 : _a.children) && elt.props.children !== elt.children) {
240
+
241
+ if ((_elt$props = elt.props) != null && _elt$props.children && elt.props.children !== elt.children) {
181
242
  rec(elt.props.children);
182
243
  }
183
244
  }
184
245
  });
185
246
  };
247
+
186
248
  rec(children);
187
249
  }
188
250
 
189
- var __defProp$6 = Object.defineProperty;
190
- var __getOwnPropSymbols$6 = Object.getOwnPropertySymbols;
191
- var __hasOwnProp$6 = Object.prototype.hasOwnProperty;
192
- var __propIsEnum$6 = Object.prototype.propertyIsEnumerable;
193
- var __defNormalProp$6 = (obj, key, value) => key in obj ? __defProp$6(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
194
- var __spreadValues$6 = (a, b) => {
195
- for (var prop in b || (b = {}))
196
- if (__hasOwnProp$6.call(b, prop))
197
- __defNormalProp$6(a, prop, b[prop]);
198
- if (__getOwnPropSymbols$6)
199
- for (var prop of __getOwnPropSymbols$6(b)) {
200
- if (__propIsEnum$6.call(b, prop))
201
- __defNormalProp$6(a, prop, b[prop]);
202
- }
203
- return a;
204
- };
205
- class CheckboxWrapper extends React.Component {
206
- render() {
207
- return /* @__PURE__ */ React.createElement(Checkbox, __spreadValues$6({}, this.props));
251
+ var CheckboxWrapper = /*#__PURE__*/function (_React$Component) {
252
+ _inheritsLoose(CheckboxWrapper, _React$Component);
253
+
254
+ function CheckboxWrapper() {
255
+ return _React$Component.apply(this, arguments) || this;
208
256
  }
209
- }
210
- const checkboxMeta = {
257
+
258
+ var _proto = CheckboxWrapper.prototype;
259
+
260
+ _proto.render = function render() {
261
+ return React.createElement(Checkbox, Object.assign({}, this.props));
262
+ };
263
+
264
+ return CheckboxWrapper;
265
+ }(React.Component);
266
+
267
+ var checkboxMeta = {
211
268
  name: "AntdCheckbox",
212
269
  displayName: "Antd Checkbox",
213
270
  props: {
@@ -239,15 +296,13 @@ const checkboxMeta = {
239
296
  },
240
297
  children: {
241
298
  type: "slot",
242
- defaultValue: [
243
- {
244
- type: "text",
245
- value: "Checkbox"
246
- }
247
- ]
299
+ defaultValue: [{
300
+ type: "text",
301
+ value: "Checkbox"
302
+ }]
248
303
  }
249
304
  },
250
- importPath: "antd/es/checkbox/Checkbox",
305
+ importPath: "antd/lib/checkbox/Checkbox",
251
306
  importName: "Checkbox",
252
307
  defaultStyles: {
253
308
  marginLeft: 0
@@ -255,10 +310,13 @@ const checkboxMeta = {
255
310
  isDefaultExport: true
256
311
  };
257
312
  function registerCheckbox(loader, customCheckboxMeta) {
258
- const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) : registerComponent(...args);
313
+ var doRegisterComponent = function doRegisterComponent() {
314
+ return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
315
+ };
316
+
259
317
  doRegisterComponent(CheckboxWrapper, customCheckboxMeta != null ? customCheckboxMeta : checkboxMeta);
260
318
  }
261
- const checkboxGroupMeta = {
319
+ var checkboxGroupMeta = {
262
320
  name: "AntdCheckboxGroup",
263
321
  displayName: "Antd Checkbox Group",
264
322
  props: {
@@ -273,11 +331,12 @@ const checkboxGroupMeta = {
273
331
  uncontrolledProp: "defaultValue",
274
332
  description: "Default selected value",
275
333
  multiSelect: true,
276
- options: (componentProps) => {
277
- const options = /* @__PURE__ */ new Set();
278
- traverseReactEltTree(componentProps.children, (elt) => {
279
- var _a;
280
- if ((elt == null ? void 0 : elt.type) === CheckboxWrapper && typeof ((_a = elt == null ? void 0 : elt.props) == null ? void 0 : _a.value) === "string") {
334
+ options: function options(componentProps) {
335
+ var options = new Set();
336
+ traverseReactEltTree(componentProps.children, function (elt) {
337
+ var _elt$props;
338
+
339
+ if ((elt == null ? void 0 : elt.type) === CheckboxWrapper && typeof (elt == null ? void 0 : (_elt$props = elt.props) == null ? void 0 : _elt$props.value) === "string") {
281
340
  options.add(elt.props.value);
282
341
  }
283
342
  });
@@ -287,56 +346,27 @@ const checkboxGroupMeta = {
287
346
  children: {
288
347
  type: "slot",
289
348
  allowedComponents: ["AntdCheckbox"],
290
- defaultValue: [
291
- {
292
- type: "component",
293
- name: "AntdCheckbox"
294
- }
295
- ]
349
+ defaultValue: [{
350
+ type: "component",
351
+ name: "AntdCheckbox"
352
+ }]
296
353
  }
297
354
  },
298
- importPath: "antd/es/checkbox/Group",
355
+ importPath: "antd/lib/checkbox/Group",
299
356
  importName: "CheckboxGroup",
300
357
  parentComponentName: "AntdCheckbox",
301
358
  isDefaultExport: true
302
359
  };
303
360
  function registerCheckboxGroup(loader, customCheckboxGroupMeta) {
304
- const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) : registerComponent(...args);
361
+ var doRegisterComponent = function doRegisterComponent() {
362
+ return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
363
+ };
364
+
305
365
  doRegisterComponent(CheckboxGroup, customCheckboxGroupMeta != null ? customCheckboxGroupMeta : checkboxGroupMeta);
306
366
  }
307
367
 
308
- var __defProp$5 = Object.defineProperty;
309
- var __defProps$3 = Object.defineProperties;
310
- var __getOwnPropDescs$3 = Object.getOwnPropertyDescriptors;
311
- var __getOwnPropSymbols$5 = Object.getOwnPropertySymbols;
312
- var __hasOwnProp$5 = Object.prototype.hasOwnProperty;
313
- var __propIsEnum$5 = Object.prototype.propertyIsEnumerable;
314
- var __defNormalProp$5 = (obj, key, value) => key in obj ? __defProp$5(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
315
- var __spreadValues$5 = (a, b) => {
316
- for (var prop in b || (b = {}))
317
- if (__hasOwnProp$5.call(b, prop))
318
- __defNormalProp$5(a, prop, b[prop]);
319
- if (__getOwnPropSymbols$5)
320
- for (var prop of __getOwnPropSymbols$5(b)) {
321
- if (__propIsEnum$5.call(b, prop))
322
- __defNormalProp$5(a, prop, b[prop]);
323
- }
324
- return a;
325
- };
326
- var __spreadProps$3 = (a, b) => __defProps$3(a, __getOwnPropDescs$3(b));
327
- var __objRest$3 = (source, exclude) => {
328
- var target = {};
329
- for (var prop in source)
330
- if (__hasOwnProp$5.call(source, prop) && exclude.indexOf(prop) < 0)
331
- target[prop] = source[prop];
332
- if (source != null && __getOwnPropSymbols$5)
333
- for (var prop of __getOwnPropSymbols$5(source)) {
334
- if (exclude.indexOf(prop) < 0 && __propIsEnum$5.call(source, prop))
335
- target[prop] = source[prop];
336
- }
337
- return target;
338
- };
339
- const collapstePanelMeta = {
368
+ var _excluded = ["openIcon", "closeIcon"];
369
+ var collapstePanelMeta = {
340
370
  name: "AntdCollapsePanel",
341
371
  displayName: "Antd Collapse Panel",
342
372
  props: {
@@ -352,12 +382,10 @@ const collapstePanelMeta = {
352
382
  },
353
383
  header: {
354
384
  type: "slot",
355
- defaultValue: [
356
- {
357
- type: "text",
358
- value: "Header"
359
- }
360
- ]
385
+ defaultValue: [{
386
+ type: "text",
387
+ value: "Header"
388
+ }]
361
389
  },
362
390
  key: {
363
391
  type: "string",
@@ -374,24 +402,25 @@ const collapstePanelMeta = {
374
402
  },
375
403
  children: {
376
404
  type: "slot",
377
- defaultValue: [
378
- {
379
- type: "text",
380
- value: "Insert text here"
381
- }
382
- ]
405
+ defaultValue: [{
406
+ type: "text",
407
+ value: "Insert text here"
408
+ }]
383
409
  }
384
410
  },
385
- importPath: "antd/es/collapse/CollapsePanel",
411
+ importPath: "antd/lib/collapse/CollapsePanel",
386
412
  importName: "CollapsePanel",
387
413
  parentComponentName: "AntdCollapse",
388
414
  isDefaultExport: true
389
415
  };
390
416
  function registerCollapsePanel(loader, customCollapsePanelMeta) {
391
- const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) : registerComponent(...args);
417
+ var doRegisterComponent = function doRegisterComponent() {
418
+ return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
419
+ };
420
+
392
421
  doRegisterComponent(CollapsePanel, customCollapsePanelMeta != null ? customCollapsePanelMeta : collapstePanelMeta);
393
422
  }
394
- const collapsteMeta = {
423
+ var collapsteMeta = {
395
424
  name: "AntdCollapse",
396
425
  displayName: "Antd Collapse",
397
426
  props: {
@@ -406,9 +435,10 @@ const collapsteMeta = {
406
435
  uncontrolledProp: "defaultActiveKey",
407
436
  description: "Key of the active panel",
408
437
  multiSelect: true,
409
- options: (componentProps) => {
410
- const options = /* @__PURE__ */ new Set();
411
- traverseReactEltTree(componentProps.children, (elt) => {
438
+ options: function options(componentProps) {
439
+ var options = new Set(); // `children` is not defined in the Collapse props
440
+
441
+ traverseReactEltTree(componentProps.children, function (elt) {
412
442
  if ((elt == null ? void 0 : elt.type) === CollapsePanel && typeof (elt == null ? void 0 : elt.key) === "string") {
413
443
  options.add(elt.key);
414
444
  }
@@ -440,15 +470,13 @@ const collapsteMeta = {
440
470
  children: {
441
471
  type: "slot",
442
472
  allowedComponents: ["AntdCollapsePanel"],
443
- defaultValue: [
444
- {
445
- type: "component",
446
- name: "AntdCollapsePanel",
447
- props: {
448
- key: "1"
449
- }
473
+ defaultValue: [{
474
+ type: "component",
475
+ name: "AntdCollapsePanel",
476
+ props: {
477
+ key: "1"
450
478
  }
451
- ]
479
+ }]
452
480
  },
453
481
  openIcon: {
454
482
  type: "slot",
@@ -463,40 +491,44 @@ const collapsteMeta = {
463
491
  importName: "Collapse"
464
492
  };
465
493
  function Collapse(props) {
466
- const _a = props, { openIcon, closeIcon } = _a, rest = __objRest$3(_a, ["openIcon", "closeIcon"]);
467
- return /* @__PURE__ */ React.createElement(AntdCollapse, __spreadProps$3(__spreadValues$5({}, rest), {
468
- expandIcon: openIcon || closeIcon ? ({ isActive }) => isActive ? openIcon : closeIcon : void 0
494
+ var openIcon = props.openIcon,
495
+ closeIcon = props.closeIcon,
496
+ rest = _objectWithoutPropertiesLoose(props, _excluded);
497
+
498
+ return React.createElement(AntdCollapse, Object.assign({}, rest, {
499
+ expandIcon: openIcon || closeIcon ? function (_ref) {
500
+ var isActive = _ref.isActive;
501
+ return isActive ? openIcon : closeIcon;
502
+ } : undefined
469
503
  }));
470
504
  }
471
505
  function registerCollapse(loader, customCollapseMeta) {
472
- const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) : registerComponent(...args);
506
+ var doRegisterComponent = function doRegisterComponent() {
507
+ return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
508
+ };
509
+
473
510
  doRegisterComponent(Collapse, customCollapseMeta != null ? customCollapseMeta : collapsteMeta);
474
511
  }
475
512
 
476
- var __defProp$4 = Object.defineProperty;
477
- var __getOwnPropSymbols$4 = Object.getOwnPropertySymbols;
478
- var __hasOwnProp$4 = Object.prototype.hasOwnProperty;
479
- var __propIsEnum$4 = Object.prototype.propertyIsEnumerable;
480
- var __defNormalProp$4 = (obj, key, value) => key in obj ? __defProp$4(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
481
- var __spreadValues$4 = (a, b) => {
482
- for (var prop in b || (b = {}))
483
- if (__hasOwnProp$4.call(b, prop))
484
- __defNormalProp$4(a, prop, b[prop]);
485
- if (__getOwnPropSymbols$4)
486
- for (var prop of __getOwnPropSymbols$4(b)) {
487
- if (__propIsEnum$4.call(b, prop))
488
- __defNormalProp$4(a, prop, b[prop]);
489
- }
490
- return a;
491
- };
492
- class Dropdown extends React.Component {
493
- render() {
494
- const finalProps = __spreadValues$4({}, this.props);
495
- finalProps.children = typeof this.props.children === "string" ? /* @__PURE__ */ React.createElement("div", null, this.props.children) : this.props.children;
496
- return /* @__PURE__ */ React.createElement(AntdDropdown, __spreadValues$4({}, finalProps));
513
+ var Dropdown = /*#__PURE__*/function (_React$Component) {
514
+ _inheritsLoose(Dropdown, _React$Component);
515
+
516
+ function Dropdown() {
517
+ return _React$Component.apply(this, arguments) || this;
497
518
  }
498
- }
499
- const dropdownMeta = {
519
+
520
+ var _proto = Dropdown.prototype;
521
+
522
+ _proto.render = function render() {
523
+ var finalProps = _extends({}, this.props);
524
+
525
+ finalProps.children = typeof this.props.children === "string" ? React.createElement("div", null, this.props.children) : this.props.children;
526
+ return React.createElement(AntdDropdown, Object.assign({}, finalProps));
527
+ };
528
+
529
+ return Dropdown;
530
+ }(React.Component);
531
+ var dropdownMeta = {
500
532
  name: "AntdDropdown",
501
533
  displayName: "Antd Dropdown",
502
534
  props: {
@@ -513,23 +545,14 @@ const dropdownMeta = {
513
545
  overlay: {
514
546
  type: "slot",
515
547
  allowedComponents: ["AntdMenu"],
516
- defaultValue: [
517
- {
518
- type: "component",
519
- name: "AntdMenu"
520
- }
521
- ]
548
+ defaultValue: [{
549
+ type: "component",
550
+ name: "AntdMenu"
551
+ }]
522
552
  },
523
553
  placement: {
524
554
  type: "choice",
525
- options: [
526
- "bottomLeft",
527
- "bottomCenter",
528
- "bottomRight",
529
- "topLeft",
530
- "topCenter",
531
- "topRight"
532
- ],
555
+ options: ["bottomLeft", "bottomCenter", "bottomRight", "topLeft", "topCenter", "topRight"],
533
556
  description: "Placement of popup menu",
534
557
  defaultValueHint: "bottomLeft"
535
558
  },
@@ -547,22 +570,23 @@ const dropdownMeta = {
547
570
  },
548
571
  children: {
549
572
  type: "slot",
550
- defaultValue: [
551
- {
552
- type: "text",
553
- value: "Dropdown"
554
- }
555
- ]
573
+ defaultValue: [{
574
+ type: "text",
575
+ value: "Dropdown"
576
+ }]
556
577
  }
557
578
  },
558
579
  importPath: "@plasmicpkgs/antd/skinny/registerDropdown",
559
580
  importName: "Dropdown"
560
581
  };
561
582
  function registerDropdown(loader, customDropdownMeta) {
562
- const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) : registerComponent(...args);
583
+ var doRegisterComponent = function doRegisterComponent() {
584
+ return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
585
+ };
586
+
563
587
  doRegisterComponent(Dropdown, customDropdownMeta != null ? customDropdownMeta : dropdownMeta);
564
588
  }
565
- const dropdownButtonMeta = {
589
+ var dropdownButtonMeta = {
566
590
  name: "AntdDropdownButton",
567
591
  displayName: "Antd Dropdown Button",
568
592
  props: {
@@ -578,23 +602,14 @@ const dropdownButtonMeta = {
578
602
  overlay: {
579
603
  type: "slot",
580
604
  allowedComponents: ["AntdMenu"],
581
- defaultValue: [
582
- {
583
- type: "component",
584
- name: "AntdMenu"
585
- }
586
- ]
605
+ defaultValue: [{
606
+ type: "component",
607
+ name: "AntdMenu"
608
+ }]
587
609
  },
588
610
  placement: {
589
611
  type: "choice",
590
- options: [
591
- "bottomLeft",
592
- "bottomCenter",
593
- "bottomRight",
594
- "topLeft",
595
- "topCenter",
596
- "topRight"
597
- ],
612
+ options: ["bottomLeft", "bottomCenter", "bottomRight", "topLeft", "topCenter", "topRight"],
598
613
  description: "Placement of popup menu",
599
614
  defaultValueHint: "bottomLeft"
600
615
  },
@@ -624,50 +639,34 @@ const dropdownButtonMeta = {
624
639
  },
625
640
  children: {
626
641
  type: "slot",
627
- defaultValue: [
628
- {
629
- type: "text",
630
- value: "Dropdown"
631
- }
632
- ]
642
+ defaultValue: [{
643
+ type: "text",
644
+ value: "Dropdown"
645
+ }]
633
646
  }
634
647
  },
635
- importPath: "antd/es/dropdown/dropdown-button",
648
+ importPath: "antd/lib/dropdown/dropdown-button",
636
649
  importName: "DropdownButton",
637
650
  parentComponentName: "AntdDropdown",
638
651
  isDefaultExport: true
639
652
  };
640
653
  function registerDropdownButton(loader, customDropdownButtonMeta) {
641
- const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) : registerComponent(...args);
654
+ var doRegisterComponent = function doRegisterComponent() {
655
+ return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
656
+ };
657
+
642
658
  doRegisterComponent(DropdownButton, customDropdownButtonMeta != null ? customDropdownButtonMeta : dropdownButtonMeta);
643
659
  }
644
660
 
645
- var __defProp$3 = Object.defineProperty;
646
- var __defProps$2 = Object.defineProperties;
647
- var __getOwnPropDescs$2 = Object.getOwnPropertyDescriptors;
648
- var __getOwnPropSymbols$3 = Object.getOwnPropertySymbols;
649
- var __hasOwnProp$3 = Object.prototype.hasOwnProperty;
650
- var __propIsEnum$3 = Object.prototype.propertyIsEnumerable;
651
- var __defNormalProp$3 = (obj, key, value) => key in obj ? __defProp$3(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
652
- var __spreadValues$3 = (a, b) => {
653
- for (var prop in b || (b = {}))
654
- if (__hasOwnProp$3.call(b, prop))
655
- __defNormalProp$3(a, prop, b[prop]);
656
- if (__getOwnPropSymbols$3)
657
- for (var prop of __getOwnPropSymbols$3(b)) {
658
- if (__propIsEnum$3.call(b, prop))
659
- __defNormalProp$3(a, prop, b[prop]);
660
- }
661
- return a;
662
- };
663
- var __spreadProps$2 = (a, b) => __defProps$2(a, __getOwnPropDescs$2(b));
664
661
  function sortObjectKeys(obj) {
665
662
  return Object.fromEntries(Object.entries(obj).sort());
666
663
  }
664
+
667
665
  function sortProps(props) {
668
666
  return sortObjectKeys(props);
669
667
  }
670
- const commonHtmlAttributes = {
668
+
669
+ var commonHtmlAttributes = {
671
670
  "aria-label": {
672
671
  type: "string",
673
672
  description: "The ARIA label for this input"
@@ -681,10 +680,10 @@ const commonHtmlAttributes = {
681
680
  description: "The HTML name of the input"
682
681
  }
683
682
  };
684
- const inputMeta = {
683
+ var inputMeta = {
685
684
  name: "AntdInput",
686
685
  displayName: "Antd Input",
687
- props: sortProps(__spreadProps$2(__spreadValues$3({}, commonHtmlAttributes), {
686
+ props: /*#__PURE__*/sortProps( /*#__PURE__*/_extends({}, commonHtmlAttributes, {
688
687
  addonAfter: {
689
688
  type: "slot",
690
689
  hidePlaceholder: true
@@ -745,18 +744,21 @@ const inputMeta = {
745
744
  uncontrolledProp: "defaultValue"
746
745
  }
747
746
  })),
748
- importPath: "antd/es/input",
747
+ importPath: "antd/lib/input",
749
748
  importName: "Input",
750
749
  isDefaultExport: true
751
750
  };
752
751
  function registerInput(loader, customInputMeta) {
753
- const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) : registerComponent(...args);
752
+ var doRegisterComponent = function doRegisterComponent() {
753
+ return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
754
+ };
755
+
754
756
  doRegisterComponent(Input, customInputMeta != null ? customInputMeta : inputMeta);
755
757
  }
756
- const inputTextAreaMeta = {
758
+ var inputTextAreaMeta = {
757
759
  name: "AntdInputTextArea",
758
760
  displayName: "Antd Input Text Area",
759
- props: sortProps(__spreadProps$2(__spreadValues$3({}, commonHtmlAttributes), {
761
+ props: /*#__PURE__*/sortProps( /*#__PURE__*/_extends({}, commonHtmlAttributes, {
760
762
  allowClear: {
761
763
  type: "boolean",
762
764
  description: "If allow to remove input content with clear icon",
@@ -799,19 +801,22 @@ const inputTextAreaMeta = {
799
801
  uncontrolledProp: "defaultValue"
800
802
  }
801
803
  })),
802
- importPath: "antd/es/input/TextArea",
804
+ importPath: "antd/lib/input/TextArea",
803
805
  importName: "TextArea",
804
806
  isDefaultExport: true,
805
807
  parentComponentName: "AntdInput"
806
808
  };
807
809
  function registerInputTextArea(loader, customInputTextAreaMeta) {
808
- const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) : registerComponent(...args);
810
+ var doRegisterComponent = function doRegisterComponent() {
811
+ return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
812
+ };
813
+
809
814
  doRegisterComponent(TextArea, customInputTextAreaMeta != null ? customInputTextAreaMeta : inputTextAreaMeta);
810
815
  }
811
- const inputSearchMeta = {
816
+ var inputSearchMeta = {
812
817
  name: "AntdInputSearch",
813
818
  displayName: "Antd Input Search",
814
- props: sortProps(__spreadProps$2(__spreadValues$3({}, commonHtmlAttributes), {
819
+ props: /*#__PURE__*/sortProps( /*#__PURE__*/_extends({}, commonHtmlAttributes, {
815
820
  addonBefore: {
816
821
  type: "slot",
817
822
  hidePlaceholder: true
@@ -876,19 +881,22 @@ const inputSearchMeta = {
876
881
  uncontrolledProp: "defaultValue"
877
882
  }
878
883
  })),
879
- importPath: "antd/es/input/Search",
884
+ importPath: "antd/lib/input/Search",
880
885
  importName: "Search",
881
886
  isDefaultExport: true,
882
887
  parentComponentName: "AntdInput"
883
888
  };
884
889
  function registerInputSearch(loader, customInputSearchMeta) {
885
- const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) : registerComponent(...args);
890
+ var doRegisterComponent = function doRegisterComponent() {
891
+ return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
892
+ };
893
+
886
894
  doRegisterComponent(Search, customInputSearchMeta != null ? customInputSearchMeta : inputSearchMeta);
887
895
  }
888
- const inputPasswordMeta = {
896
+ var inputPasswordMeta = {
889
897
  name: "AntdInputPassword",
890
898
  displayName: "Antd Input Password",
891
- props: sortProps(__spreadProps$2(__spreadValues$3({}, commonHtmlAttributes), {
899
+ props: /*#__PURE__*/sortProps( /*#__PURE__*/_extends({}, commonHtmlAttributes, {
892
900
  addonAfter: {
893
901
  type: "slot",
894
902
  hidePlaceholder: true
@@ -949,16 +957,19 @@ const inputPasswordMeta = {
949
957
  defaultValueHint: true
950
958
  }
951
959
  })),
952
- importPath: "antd/es/input/Password",
960
+ importPath: "antd/lib/input/Password",
953
961
  importName: "Password",
954
962
  isDefaultExport: true,
955
963
  parentComponentName: "AntdInput"
956
964
  };
957
965
  function registerInputPassword(loader, customInputPasswordMeta) {
958
- const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) : registerComponent(...args);
966
+ var doRegisterComponent = function doRegisterComponent() {
967
+ return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
968
+ };
969
+
959
970
  doRegisterComponent(Password, customInputPasswordMeta != null ? customInputPasswordMeta : inputPasswordMeta);
960
971
  }
961
- const inputGroupMeta = {
972
+ var inputGroupMeta = {
962
973
  name: "AntdInputGroup",
963
974
  displayName: "Antd Input Group",
964
975
  props: {
@@ -975,29 +986,29 @@ const inputGroupMeta = {
975
986
  },
976
987
  children: {
977
988
  type: "slot",
978
- defaultValue: [
979
- {
980
- type: "component",
981
- name: "AntdInput"
982
- },
983
- {
984
- type: "component",
985
- name: "AntdInput"
986
- }
987
- ]
989
+ defaultValue: [{
990
+ type: "component",
991
+ name: "AntdInput"
992
+ }, {
993
+ type: "component",
994
+ name: "AntdInput"
995
+ }]
988
996
  }
989
997
  },
990
- importPath: "antd/es/input/Group",
998
+ importPath: "antd/lib/input/Group",
991
999
  importName: "InputGroup",
992
1000
  isDefaultExport: true,
993
1001
  parentComponentName: "AntdInput"
994
1002
  };
995
1003
  function registerInputGroup(loader, customInputGroupMeta) {
996
- const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) : registerComponent(...args);
1004
+ var doRegisterComponent = function doRegisterComponent() {
1005
+ return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
1006
+ };
1007
+
997
1008
  doRegisterComponent(InputGroup, customInputGroupMeta != null ? customInputGroupMeta : inputGroupMeta);
998
1009
  }
999
1010
 
1000
- const menuDividerMeta = {
1011
+ var menuDividerMeta = {
1001
1012
  name: "AntdMenuDivider",
1002
1013
  displayName: "Antd Menu Divider",
1003
1014
  props: {
@@ -1007,16 +1018,19 @@ const menuDividerMeta = {
1007
1018
  defaultValueHint: false
1008
1019
  }
1009
1020
  },
1010
- importPath: "antd/es/menu/MenuDivider",
1021
+ importPath: "antd/lib/menu/MenuDivider",
1011
1022
  importName: "MenuDivider",
1012
1023
  isDefaultExport: true,
1013
1024
  parentComponentName: "AntdMenu"
1014
1025
  };
1015
1026
  function registerMenuDivider(loader, customMenuDividerMeta) {
1016
- const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) : registerComponent(...args);
1027
+ var doRegisterComponent = function doRegisterComponent() {
1028
+ return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
1029
+ };
1030
+
1017
1031
  doRegisterComponent(MenuDivider, customMenuDividerMeta != null ? customMenuDividerMeta : menuDividerMeta);
1018
1032
  }
1019
- const menuItemMeta = {
1033
+ var menuItemMeta = {
1020
1034
  name: "AntdMenuItem",
1021
1035
  displayName: "Antd Menu Item",
1022
1036
  props: {
@@ -1041,49 +1055,42 @@ const menuItemMeta = {
1041
1055
  },
1042
1056
  children: {
1043
1057
  type: "slot",
1044
- defaultValue: [
1045
- {
1046
- type: "text",
1047
- value: "Option"
1048
- }
1049
- ]
1058
+ defaultValue: [{
1059
+ type: "text",
1060
+ value: "Option"
1061
+ }]
1050
1062
  }
1051
1063
  },
1052
- importPath: "antd/es/menu/MenuItem",
1064
+ importPath: "antd/lib/menu/MenuItem",
1053
1065
  importName: "MenuItem",
1054
1066
  isDefaultExport: true,
1055
1067
  parentComponentName: "AntdMenu"
1056
1068
  };
1057
1069
  function registerMenuItem(loader, customMenuItemMeta) {
1058
- const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) : registerComponent(...args);
1070
+ var doRegisterComponent = function doRegisterComponent() {
1071
+ return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
1072
+ };
1073
+
1059
1074
  doRegisterComponent(MenuItem, customMenuItemMeta != null ? customMenuItemMeta : menuItemMeta);
1060
1075
  }
1061
- const menuItemGroupMeta = {
1076
+ var menuItemGroupMeta = {
1062
1077
  name: "AntdMenuItemGroup",
1063
1078
  displayName: "Antd Menu Item Group",
1064
1079
  props: {
1065
1080
  title: {
1066
1081
  type: "slot",
1067
- defaultValue: [
1068
- {
1069
- type: "text",
1070
- value: "Group"
1071
- }
1072
- ]
1082
+ defaultValue: [{
1083
+ type: "text",
1084
+ value: "Group"
1085
+ }]
1073
1086
  },
1074
1087
  children: {
1075
1088
  type: "slot",
1076
- allowedComponents: [
1077
- "AntdMenuItem",
1078
- "AntdMenuDivider",
1079
- "AntdMenuItemGroup"
1080
- ],
1081
- defaultValue: [
1082
- {
1083
- type: "component",
1084
- name: "AntdMenuItem"
1085
- }
1086
- ]
1089
+ allowedComponents: ["AntdMenuItem", "AntdMenuDivider", "AntdMenuItemGroup"],
1090
+ defaultValue: [{
1091
+ type: "component",
1092
+ name: "AntdMenuItem"
1093
+ }]
1087
1094
  }
1088
1095
  },
1089
1096
  importPath: "rc-menu",
@@ -1091,10 +1098,13 @@ const menuItemGroupMeta = {
1091
1098
  parentComponentName: "AntdMenu"
1092
1099
  };
1093
1100
  function registerMenuItemGroup(loader, customMenuItemGroupMeta) {
1094
- const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) : registerComponent(...args);
1101
+ var doRegisterComponent = function doRegisterComponent() {
1102
+ return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
1103
+ };
1104
+
1095
1105
  doRegisterComponent(ItemGroup, customMenuItemGroupMeta != null ? customMenuItemGroupMeta : menuItemGroupMeta);
1096
1106
  }
1097
- const subMenuMeta = {
1107
+ var subMenuMeta = {
1098
1108
  name: "AntdSubMenu",
1099
1109
  displayName: "Antd SubMenu",
1100
1110
  props: {
@@ -1110,46 +1120,42 @@ const subMenuMeta = {
1110
1120
  },
1111
1121
  title: {
1112
1122
  type: "slot",
1113
- defaultValue: [
1114
- {
1115
- type: "text",
1116
- value: "Sub-menu"
1117
- }
1118
- ]
1123
+ defaultValue: [{
1124
+ type: "text",
1125
+ value: "Sub-menu"
1126
+ }]
1119
1127
  },
1120
1128
  children: {
1121
1129
  type: "slot",
1122
- allowedComponents: [
1123
- "AntdMenuItem",
1124
- "AntdMenuDivider",
1125
- "AntdMenuItemGroup",
1126
- "AntdSubMenu"
1127
- ],
1128
- defaultValue: [1, 2].map((i) => ({
1129
- type: "component",
1130
- name: "AntdMenuItem",
1131
- props: {
1132
- key: `subMenuItemKey${i}`,
1133
- children: [
1134
- {
1130
+ allowedComponents: ["AntdMenuItem", "AntdMenuDivider", "AntdMenuItemGroup", "AntdSubMenu"],
1131
+ defaultValue: /*#__PURE__*/[1, 2].map(function (i) {
1132
+ return {
1133
+ type: "component",
1134
+ name: "AntdMenuItem",
1135
+ props: {
1136
+ key: "subMenuItemKey" + i,
1137
+ children: [{
1135
1138
  type: "text",
1136
- value: `Sub-menu item ${i}`
1137
- }
1138
- ]
1139
- }
1140
- }))
1139
+ value: "Sub-menu item " + i
1140
+ }]
1141
+ }
1142
+ };
1143
+ })
1141
1144
  }
1142
1145
  },
1143
- importPath: "antd/es/menu/SubMenu",
1146
+ importPath: "antd/lib/menu/SubMenu",
1144
1147
  importName: "SubMenu",
1145
1148
  isDefaultExport: true,
1146
1149
  parentComponentName: "AntdMenu"
1147
1150
  };
1148
1151
  function registerSubMenu(loader, customSubMenuMeta) {
1149
- const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) : registerComponent(...args);
1152
+ var doRegisterComponent = function doRegisterComponent() {
1153
+ return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
1154
+ };
1155
+
1150
1156
  doRegisterComponent(SubMenu, customSubMenuMeta != null ? customSubMenuMeta : subMenuMeta);
1151
1157
  }
1152
- const menuMeta = {
1158
+ var menuMeta = {
1153
1159
  name: "AntdMenu",
1154
1160
  displayName: "Antd Menu",
1155
1161
  props: {
@@ -1184,9 +1190,9 @@ const menuMeta = {
1184
1190
  uncontrolledProp: "defaultOpenKeys",
1185
1191
  description: "Array with the keys of default opened sub menus",
1186
1192
  multiSelect: true,
1187
- options: (componentProps) => {
1188
- const options = /* @__PURE__ */ new Set();
1189
- traverseReactEltTree(componentProps.children, (elt) => {
1193
+ options: function options(componentProps) {
1194
+ var options = new Set();
1195
+ traverseReactEltTree(componentProps.children, function (elt) {
1190
1196
  if ((elt == null ? void 0 : elt.type) === SubMenu && typeof (elt == null ? void 0 : elt.key) === "string") {
1191
1197
  options.add(elt.key);
1192
1198
  }
@@ -1209,9 +1215,9 @@ const menuMeta = {
1209
1215
  uncontrolledProp: "defaultSelectedKeys",
1210
1216
  description: "Array with the keys of default selected menu items",
1211
1217
  multiSelect: true,
1212
- options: (componentProps) => {
1213
- const options = /* @__PURE__ */ new Set();
1214
- traverseReactEltTree(componentProps.children, (elt) => {
1218
+ options: function options(componentProps) {
1219
+ var options = new Set();
1220
+ traverseReactEltTree(componentProps.children, function (elt) {
1215
1221
  if ([SubMenu, MenuItem].includes(elt == null ? void 0 : elt.type) && typeof (elt == null ? void 0 : elt.key) === "string") {
1216
1222
  options.add(elt.key);
1217
1223
  }
@@ -1244,28 +1250,28 @@ const menuMeta = {
1244
1250
  children: {
1245
1251
  type: "slot",
1246
1252
  allowedComponents: ["AntdMenuItem", "AntdMenuDivider", "AntdSubMenu"],
1247
- defaultValue: [
1248
- {
1249
- type: "component",
1250
- name: "AntdMenuItem"
1251
- },
1252
- {
1253
- type: "component",
1254
- name: "AntdSubMenu"
1255
- }
1256
- ]
1253
+ defaultValue: [{
1254
+ type: "component",
1255
+ name: "AntdMenuItem"
1256
+ }, {
1257
+ type: "component",
1258
+ name: "AntdSubMenu"
1259
+ }]
1257
1260
  }
1258
1261
  },
1259
- importPath: "antd/es/menu/index",
1262
+ importPath: "antd/lib/menu/index",
1260
1263
  importName: "Menu",
1261
1264
  isDefaultExport: true
1262
1265
  };
1263
1266
  function registerMenu(loader, customMenuMeta) {
1264
- const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) : registerComponent(...args);
1267
+ var doRegisterComponent = function doRegisterComponent() {
1268
+ return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
1269
+ };
1270
+
1265
1271
  doRegisterComponent(Menu, customMenuMeta != null ? customMenuMeta : menuMeta);
1266
1272
  }
1267
1273
 
1268
- const optionMeta = {
1274
+ var optionMeta = {
1269
1275
  name: "AntdOption",
1270
1276
  displayName: "Antd Option",
1271
1277
  props: {
@@ -1288,12 +1294,10 @@ const optionMeta = {
1288
1294
  },
1289
1295
  children: {
1290
1296
  type: "slot",
1291
- defaultValue: [
1292
- {
1293
- type: "text",
1294
- value: "Option"
1295
- }
1296
- ]
1297
+ defaultValue: [{
1298
+ type: "text",
1299
+ value: "Option"
1300
+ }]
1297
1301
  }
1298
1302
  },
1299
1303
  importPath: "rc-select",
@@ -1301,10 +1305,13 @@ const optionMeta = {
1301
1305
  parentComponentName: "AntdSelect"
1302
1306
  };
1303
1307
  function registerOption(loader, customOptionMeta) {
1304
- const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) : registerComponent(...args);
1308
+ var doRegisterComponent = function doRegisterComponent() {
1309
+ return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
1310
+ };
1311
+
1305
1312
  doRegisterComponent(Option, customOptionMeta != null ? customOptionMeta : optionMeta);
1306
1313
  }
1307
- const optGroupMeta = {
1314
+ var optGroupMeta = {
1308
1315
  name: "AntdOptionGroup",
1309
1316
  displayName: "Antd Option Group",
1310
1317
  props: {
@@ -1319,12 +1326,10 @@ const optGroupMeta = {
1319
1326
  children: {
1320
1327
  type: "slot",
1321
1328
  allowedComponents: ["AntdOption"],
1322
- defaultValue: [
1323
- {
1324
- type: "component",
1325
- name: "AntdOption"
1326
- }
1327
- ]
1329
+ defaultValue: [{
1330
+ type: "component",
1331
+ name: "AntdOption"
1332
+ }]
1328
1333
  }
1329
1334
  },
1330
1335
  importPath: "rc-select",
@@ -1332,11 +1337,14 @@ const optGroupMeta = {
1332
1337
  parentComponentName: "AntdSelect"
1333
1338
  };
1334
1339
  function registerOptGroup(loader, customOptGroupMeta) {
1335
- const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) : registerComponent(...args);
1340
+ var doRegisterComponent = function doRegisterComponent() {
1341
+ return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
1342
+ };
1343
+
1336
1344
  doRegisterComponent(OptGroup, customOptGroupMeta != null ? customOptGroupMeta : optGroupMeta);
1337
1345
  }
1338
1346
 
1339
- const rateMeta = {
1347
+ var rateMeta = {
1340
1348
  name: "AntdRate",
1341
1349
  displayName: "Antd Rate",
1342
1350
  props: {
@@ -1380,16 +1388,19 @@ const rateMeta = {
1380
1388
  hidePlaceholder: true
1381
1389
  }
1382
1390
  },
1383
- importPath: "antd/es/rate",
1391
+ importPath: "antd/lib/rate",
1384
1392
  importName: "Rate",
1385
1393
  isDefaultExport: true
1386
1394
  };
1387
1395
  function registerRate(loader, customRateMeta) {
1388
- const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) : registerComponent(...args);
1396
+ var doRegisterComponent = function doRegisterComponent() {
1397
+ return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
1398
+ };
1399
+
1389
1400
  doRegisterComponent(Rate, customRateMeta != null ? customRateMeta : rateMeta);
1390
1401
  }
1391
1402
 
1392
- const selectMeta = {
1403
+ var selectMeta = {
1393
1404
  name: "AntdSelect",
1394
1405
  displayName: "Antd Select",
1395
1406
  props: {
@@ -1402,7 +1413,9 @@ const selectMeta = {
1402
1413
  type: "boolean",
1403
1414
  description: "Whether the current search will be cleared on selecting an item",
1404
1415
  defaultValueHint: true,
1405
- hidden: (props) => props.mode !== "multiple" && props.mode !== "tags"
1416
+ hidden: function hidden(props) {
1417
+ return props.mode !== "multiple" && props.mode !== "tags";
1418
+ }
1406
1419
  },
1407
1420
  autoFocus: {
1408
1421
  type: "boolean",
@@ -1443,12 +1456,10 @@ const selectMeta = {
1443
1456
  },
1444
1457
  placeholder: {
1445
1458
  type: "slot",
1446
- defaultValue: [
1447
- {
1448
- type: "text",
1449
- value: "Select"
1450
- }
1451
- ]
1459
+ defaultValue: [{
1460
+ type: "text",
1461
+ value: "Select"
1462
+ }]
1452
1463
  },
1453
1464
  showArrow: {
1454
1465
  type: "boolean",
@@ -1471,11 +1482,12 @@ const selectMeta = {
1471
1482
  editOnly: true,
1472
1483
  uncontrolledProp: "defaultValue",
1473
1484
  description: "Initial selected option",
1474
- options: (componentProps) => {
1475
- const options = /* @__PURE__ */ new Set();
1476
- traverseReactEltTree(componentProps.children, (elt) => {
1477
- var _a;
1478
- if ((elt == null ? void 0 : elt.type) === Option && typeof ((_a = elt == null ? void 0 : elt.props) == null ? void 0 : _a.value) === "string") {
1485
+ options: function options(componentProps) {
1486
+ var options = new Set();
1487
+ traverseReactEltTree(componentProps.children, function (elt) {
1488
+ var _elt$props;
1489
+
1490
+ if ((elt == null ? void 0 : elt.type) === Option && typeof (elt == null ? void 0 : (_elt$props = elt.props) == null ? void 0 : _elt$props.value) === "string") {
1479
1491
  options.add(elt.props.value);
1480
1492
  }
1481
1493
  });
@@ -1490,68 +1502,46 @@ const selectMeta = {
1490
1502
  children: {
1491
1503
  type: "slot",
1492
1504
  allowedComponents: ["AntdOption, AntdOptionGroup"],
1493
- defaultValue: [
1494
- {
1495
- type: "component",
1496
- name: "AntdOption",
1497
- props: {
1498
- value: "Option",
1499
- children: {
1500
- type: "text",
1501
- value: "Option"
1502
- }
1505
+ defaultValue: [{
1506
+ type: "component",
1507
+ name: "AntdOption",
1508
+ props: {
1509
+ value: "Option",
1510
+ children: {
1511
+ type: "text",
1512
+ value: "Option"
1503
1513
  }
1504
1514
  }
1505
- ]
1515
+ }]
1506
1516
  }
1507
1517
  },
1508
- importPath: "antd/es/select",
1518
+ importPath: "antd/lib/select",
1509
1519
  importName: "Select",
1510
1520
  isDefaultExport: true
1511
1521
  };
1512
1522
  function registerSelect(loader, customSelectMeta) {
1513
- const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) : registerComponent(...args);
1523
+ var doRegisterComponent = function doRegisterComponent() {
1524
+ return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
1525
+ };
1526
+
1514
1527
  doRegisterComponent(Select, customSelectMeta != null ? customSelectMeta : selectMeta);
1515
1528
  }
1516
1529
 
1517
- var __defProp$2 = Object.defineProperty;
1518
- var __defProps$1 = Object.defineProperties;
1519
- var __getOwnPropDescs$1 = Object.getOwnPropertyDescriptors;
1520
- var __getOwnPropSymbols$2 = Object.getOwnPropertySymbols;
1521
- var __hasOwnProp$2 = Object.prototype.hasOwnProperty;
1522
- var __propIsEnum$2 = Object.prototype.propertyIsEnumerable;
1523
- var __defNormalProp$2 = (obj, key, value) => key in obj ? __defProp$2(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
1524
- var __spreadValues$2 = (a, b) => {
1525
- for (var prop in b || (b = {}))
1526
- if (__hasOwnProp$2.call(b, prop))
1527
- __defNormalProp$2(a, prop, b[prop]);
1528
- if (__getOwnPropSymbols$2)
1529
- for (var prop of __getOwnPropSymbols$2(b)) {
1530
- if (__propIsEnum$2.call(b, prop))
1531
- __defNormalProp$2(a, prop, b[prop]);
1532
- }
1533
- return a;
1534
- };
1535
- var __spreadProps$1 = (a, b) => __defProps$1(a, __getOwnPropDescs$1(b));
1536
- var __objRest$2 = (source, exclude) => {
1537
- var target = {};
1538
- for (var prop in source)
1539
- if (__hasOwnProp$2.call(source, prop) && exclude.indexOf(prop) < 0)
1540
- target[prop] = source[prop];
1541
- if (source != null && __getOwnPropSymbols$2)
1542
- for (var prop of __getOwnPropSymbols$2(source)) {
1543
- if (exclude.indexOf(prop) < 0 && __propIsEnum$2.call(source, prop))
1544
- target[prop] = source[prop];
1545
- }
1546
- return target;
1547
- };
1548
- const Slider = React.forwardRef((_a, ref) => {
1549
- var _b = _a, { value, defaultValue, value2, defaultValue2 } = _b, props = __objRest$2(_b, ["value", "defaultValue", "value2", "defaultValue2"]);
1550
- const newProps = __spreadValues$2({}, props);
1530
+ var _excluded$1 = ["value", "defaultValue", "value2", "defaultValue2"];
1531
+ var Slider = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
1532
+ var value = _ref.value,
1533
+ defaultValue = _ref.defaultValue,
1534
+ value2 = _ref.value2,
1535
+ defaultValue2 = _ref.defaultValue2,
1536
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$1);
1537
+
1538
+ var newProps = _extends({}, props);
1539
+
1551
1540
  if (props.range) {
1552
1541
  if (typeof value === "number" || typeof value2 === "number") {
1553
1542
  newProps.value = [value != null ? value : 0, value2 != null ? value2 : 0];
1554
1543
  }
1544
+
1555
1545
  if (typeof defaultValue === "number" || typeof defaultValue2 === "number") {
1556
1546
  newProps.defaultValue = [defaultValue != null ? defaultValue : 0, defaultValue2 != null ? defaultValue2 : 0];
1557
1547
  }
@@ -1559,15 +1549,17 @@ const Slider = React.forwardRef((_a, ref) => {
1559
1549
  if (typeof value === "number") {
1560
1550
  newProps.value = value;
1561
1551
  }
1552
+
1562
1553
  if (typeof defaultValue === "number") {
1563
1554
  newProps.defaultValue = defaultValue;
1564
1555
  }
1565
1556
  }
1566
- return /* @__PURE__ */ React.createElement(AntdSlider, __spreadProps$1(__spreadValues$2({}, newProps), {
1567
- ref
1557
+
1558
+ return React.createElement(AntdSlider, Object.assign({}, newProps, {
1559
+ ref: ref
1568
1560
  }));
1569
1561
  });
1570
- const sliderMeta = {
1562
+ var sliderMeta = {
1571
1563
  name: "AntdSlider",
1572
1564
  displayName: "Antd Slider",
1573
1565
  props: {
@@ -1618,16 +1610,18 @@ const sliderMeta = {
1618
1610
  editOnly: true,
1619
1611
  uncontrolledProp: "defaultValue2",
1620
1612
  description: "The default value for the second value of the slider",
1621
- hidden: (props) => !props.range
1613
+ hidden: function hidden(props) {
1614
+ return !props.range;
1615
+ }
1622
1616
  },
1623
1617
  step: {
1624
1618
  type: "number",
1625
- description: "The granularity the slider can step through values. Must greater than 0, and be divided by (max - min). When marks no null, step can be null",
1619
+ description: "The granularity the slider can step through values. Must greater than 0, and be divided by (max - min)." + " When marks no null, step can be null",
1626
1620
  defaultValueHint: 1
1627
1621
  },
1628
1622
  marks: {
1629
1623
  type: "object",
1630
- description: "Tick mark of Slider, type of key must be number, and must in closed interval [min, max], each mark can declare its own style"
1624
+ description: "Tick mark of Slider, type of key must be number, and must in closed interval [min, max]," + " each mark can declare its own style"
1631
1625
  }
1632
1626
  },
1633
1627
  defaultStyles: {
@@ -1638,11 +1632,14 @@ const sliderMeta = {
1638
1632
  importName: "Slider"
1639
1633
  };
1640
1634
  function registerSlider(loader, customSliderMeta) {
1641
- const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) : registerComponent(...args);
1635
+ var doRegisterComponent = function doRegisterComponent() {
1636
+ return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
1637
+ };
1638
+
1642
1639
  doRegisterComponent(Slider, customSliderMeta != null ? customSliderMeta : sliderMeta);
1643
1640
  }
1644
1641
 
1645
- const switchMeta = {
1642
+ var switchMeta = {
1646
1643
  name: "AntdSwitch",
1647
1644
  displayName: "Antd Switch",
1648
1645
  props: {
@@ -1685,128 +1682,129 @@ const switchMeta = {
1685
1682
  defaultValueHint: "default"
1686
1683
  }
1687
1684
  },
1688
- importPath: "antd/es/switch",
1685
+ importPath: "antd/lib/switch",
1689
1686
  importName: "Switch",
1690
1687
  isDefaultExport: true
1691
1688
  };
1692
1689
  function registerSwitch(loader, customSwitchMeta) {
1693
- const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) : registerComponent(...args);
1690
+ var doRegisterComponent = function doRegisterComponent() {
1691
+ return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
1692
+ };
1693
+
1694
1694
  doRegisterComponent(Switch, customSwitchMeta != null ? customSwitchMeta : switchMeta);
1695
1695
  }
1696
1696
 
1697
- var __defProp$1 = Object.defineProperty;
1698
- var __getOwnPropSymbols$1 = Object.getOwnPropertySymbols;
1699
- var __hasOwnProp$1 = Object.prototype.hasOwnProperty;
1700
- var __propIsEnum$1 = Object.prototype.propertyIsEnumerable;
1701
- var __defNormalProp$1 = (obj, key, value) => key in obj ? __defProp$1(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
1702
- var __spreadValues$1 = (a, b) => {
1703
- for (var prop in b || (b = {}))
1704
- if (__hasOwnProp$1.call(b, prop))
1705
- __defNormalProp$1(a, prop, b[prop]);
1706
- if (__getOwnPropSymbols$1)
1707
- for (var prop of __getOwnPropSymbols$1(b)) {
1708
- if (__propIsEnum$1.call(b, prop))
1709
- __defNormalProp$1(a, prop, b[prop]);
1710
- }
1711
- return a;
1712
- };
1713
- var __objRest$1 = (source, exclude) => {
1714
- var target = {};
1715
- for (var prop in source)
1716
- if (__hasOwnProp$1.call(source, prop) && exclude.indexOf(prop) < 0)
1717
- target[prop] = source[prop];
1718
- if (source != null && __getOwnPropSymbols$1)
1719
- for (var prop of __getOwnPropSymbols$1(source)) {
1720
- if (exclude.indexOf(prop) < 0 && __propIsEnum$1.call(source, prop))
1721
- target[prop] = source[prop];
1722
- }
1723
- return target;
1724
- };
1697
+ var _excluded$2 = ["columnTemplate", "title", "dataIndex"];
1698
+ // properties in plasmic.
1699
+
1725
1700
  function TableColumn(_props) {
1726
1701
  return null;
1727
1702
  }
1728
1703
  function TableValue(props) {
1729
- var _a;
1730
- const { className } = props;
1731
- const column = useSelector("currentColumn");
1732
- return /* @__PURE__ */ React.createElement("div", {
1733
- className
1734
- }, (_a = column == null ? void 0 : column.toString()) != null ? _a : "");
1704
+ var _column$toString;
1705
+
1706
+ var className = props.className;
1707
+ var column = useSelector("currentColumn");
1708
+ return React.createElement("div", {
1709
+ className: className
1710
+ }, (_column$toString = column == null ? void 0 : column.toString()) != null ? _column$toString : "");
1735
1711
  }
1712
+ /**
1713
+ * Wrapper used to consume internal canvas props
1714
+ */
1715
+
1736
1716
  function ColumnWrapper(props) {
1737
1717
  return props.children;
1738
1718
  }
1719
+
1739
1720
  function TableWrapper(props) {
1740
- var _a, _b;
1741
- const { className, items, columns, size, onSelect, pagination } = props;
1742
- const tableColumns = (_b = (_a = columns == null ? void 0 : columns.props) == null ? void 0 : _a.children) != null ? _b : columns;
1743
- const columnDefinitions = React.useMemo(() => {
1744
- return React.Children.map(tableColumns, (column, columnIndex) => {
1721
+ var _columns$props$childr, _columns$props;
1722
+
1723
+ var className = props.className,
1724
+ items = props.items,
1725
+ columns = props.columns,
1726
+ size = props.size,
1727
+ onSelect = props.onSelect,
1728
+ pagination = props.pagination; // Plasmic Studio Canvas currently renders items in a slightly different way than the generated code:
1729
+ // - In the studio:
1730
+ // - The `columns` prop value is an array of nested react <Column /> nodes.
1731
+ // - In the generated code (preview mode):
1732
+ // - The `columns` prop value is a React Node with a `children` property that contains
1733
+ // an array of the nested react <Column /> components.
1734
+
1735
+ var tableColumns = (_columns$props$childr = columns == null ? void 0 : (_columns$props = columns.props) == null ? void 0 : _columns$props.children) != null ? _columns$props$childr : columns; // Convert the props.columns slot children to an array of column definitions
1736
+
1737
+ var columnDefinitions = React.useMemo(function () {
1738
+ return React.Children.map(tableColumns, function (column, columnIndex) {
1745
1739
  if (!column) {
1746
- return void 0;
1740
+ return undefined;
1747
1741
  }
1748
- const _a2 = column.props, { columnTemplate, title, dataIndex } = _a2, rest = __objRest$1(_a2, ["columnTemplate", "title", "dataIndex"]);
1749
- const columnDefinition = {
1750
- columnIndex,
1751
- title,
1752
- dataIndex,
1742
+
1743
+ var _column$props = column.props,
1744
+ columnTemplate = _column$props.columnTemplate,
1745
+ title = _column$props.title,
1746
+ dataIndex = _column$props.dataIndex,
1747
+ rest = _objectWithoutPropertiesLoose(_column$props, _excluded$2);
1748
+
1749
+ var columnDefinition = {
1750
+ columnIndex: columnIndex,
1751
+ title: title,
1752
+ dataIndex: dataIndex,
1753
1753
  key: columnIndex,
1754
- render: (value, record, rowIndex) => {
1755
- return /* @__PURE__ */ React.createElement(DataProvider, {
1754
+ render: function render(value, record, rowIndex) {
1755
+ return React.createElement(DataProvider, {
1756
1756
  name: "currentRow",
1757
1757
  data: record
1758
- }, /* @__PURE__ */ React.createElement(DataProvider, {
1758
+ }, React.createElement(DataProvider, {
1759
1759
  name: "currentRowIndex",
1760
1760
  data: rowIndex
1761
- }, /* @__PURE__ */ React.createElement(DataProvider, {
1761
+ }, React.createElement(DataProvider, {
1762
1762
  name: "currentColumn",
1763
1763
  data: value
1764
- }, repeatedElement(rowIndex, /* @__PURE__ */ React.createElement(ColumnWrapper, __spreadValues$1({}, rest), columnTemplate)))));
1764
+ }, repeatedElement(rowIndex, React.createElement(ColumnWrapper, Object.assign({}, rest), columnTemplate)))));
1765
1765
  }
1766
1766
  };
1767
1767
  return columnDefinition;
1768
1768
  }).filter(Boolean);
1769
1769
  }, [tableColumns]);
1770
- return /* @__PURE__ */ React.createElement(Table, {
1771
- className,
1770
+ return React.createElement(Table, {
1771
+ className: className,
1772
1772
  columns: columnDefinitions,
1773
1773
  dataSource: items,
1774
- size,
1775
- onRow: (record) => {
1774
+ size: size,
1775
+ onRow: function onRow(record) {
1776
1776
  return {
1777
- onMouseUp: () => {
1777
+ onMouseUp: function onMouseUp() {
1778
1778
  return onSelect == null ? void 0 : onSelect(record.id);
1779
1779
  }
1780
1780
  };
1781
1781
  },
1782
- pagination: pagination ? void 0 : pagination,
1782
+ pagination: pagination ? undefined : pagination,
1783
1783
  rowKey: "id"
1784
1784
  });
1785
1785
  }
1786
- const DEFAULT_ITEMS = [
1787
- {
1788
- name: "John Brown",
1789
- age: 19,
1790
- address: "New York No. 1 Lake Park",
1791
- tags: ["student", "developer"]
1792
- },
1793
- {
1794
- name: "Jim Green",
1795
- age: 42,
1796
- address: "London No. 1 Lake Park",
1797
- tags: ["teacher"]
1798
- },
1799
- {
1800
- name: "Joe Black",
1801
- age: 32,
1802
- address: "Sidney No. 1 Lake Park",
1803
- tags: ["cool", "teacher"]
1804
- }
1805
- ];
1786
+ var DEFAULT_ITEMS = [{
1787
+ name: "John Brown",
1788
+ age: 19,
1789
+ address: "New York No. 1 Lake Park",
1790
+ tags: ["student", "developer"]
1791
+ }, {
1792
+ name: "Jim Green",
1793
+ age: 42,
1794
+ address: "London No. 1 Lake Park",
1795
+ tags: ["teacher"]
1796
+ }, {
1797
+ name: "Joe Black",
1798
+ age: 32,
1799
+ address: "Sidney No. 1 Lake Park",
1800
+ tags: ["cool", "teacher"]
1801
+ }];
1802
+
1806
1803
  function capitalize(input) {
1807
1804
  return input.charAt(0).toUpperCase() + input.slice(1);
1808
1805
  }
1809
- const tableMeta = {
1806
+
1807
+ var tableMeta = {
1810
1808
  name: "AntdTable",
1811
1809
  displayName: "Antd Table",
1812
1810
  props: {
@@ -1818,14 +1816,16 @@ const tableMeta = {
1818
1816
  columns: {
1819
1817
  type: "slot",
1820
1818
  allowedComponents: ["AntdTableColumn"],
1821
- defaultValue: Object.keys(DEFAULT_ITEMS[0]).map((columnName) => ({
1822
- type: "component",
1823
- name: "AntdTableColumn",
1824
- props: {
1825
- title: capitalize(columnName),
1826
- dataIndex: columnName
1827
- }
1828
- }))
1819
+ defaultValue: /*#__PURE__*/Object.keys(DEFAULT_ITEMS[0]).map(function (columnName) {
1820
+ return {
1821
+ type: "component",
1822
+ name: "AntdTableColumn",
1823
+ props: {
1824
+ title: capitalize(columnName),
1825
+ dataIndex: columnName
1826
+ }
1827
+ };
1828
+ })
1829
1829
  },
1830
1830
  size: {
1831
1831
  type: "choice",
@@ -1840,7 +1840,7 @@ const tableMeta = {
1840
1840
  importPath: "@plasmicpkgs/antd/skinny/registerTable",
1841
1841
  importName: "TableWrapper"
1842
1842
  };
1843
- const tableColumnMeta = {
1843
+ var tableColumnMeta = {
1844
1844
  name: "AntdTableColumn",
1845
1845
  parentComponentName: "AntdTable",
1846
1846
  providesData: true,
@@ -1861,19 +1861,17 @@ const tableColumnMeta = {
1861
1861
  styles: {
1862
1862
  padding: 0
1863
1863
  },
1864
- children: [
1865
- {
1866
- type: "component",
1867
- name: "AntdTableValue"
1868
- }
1869
- ]
1864
+ children: [{
1865
+ type: "component",
1866
+ name: "AntdTableValue"
1867
+ }]
1870
1868
  }
1871
1869
  }
1872
1870
  },
1873
1871
  importPath: "@plasmicpkgs/antd/skinny/registerTable",
1874
1872
  importName: "TableColumn"
1875
1873
  };
1876
- const tableValueMeta = {
1874
+ var tableValueMeta = {
1877
1875
  name: "AntdTableValue",
1878
1876
  parentComponentName: "AntdTableColumn",
1879
1877
  props: {},
@@ -1881,61 +1879,38 @@ const tableValueMeta = {
1881
1879
  importName: "TableValue"
1882
1880
  };
1883
1881
  function registerTable(loader, customMeta) {
1884
- const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) : registerComponent$1(...args);
1882
+ var doRegisterComponent = function doRegisterComponent() {
1883
+ return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent$1.apply(void 0, arguments);
1884
+ };
1885
+
1885
1886
  doRegisterComponent(TableWrapper, customMeta != null ? customMeta : tableMeta);
1886
1887
  }
1887
1888
  function registerTableColumn(loader, customMeta) {
1888
- const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) : registerComponent$1(...args);
1889
+ var doRegisterComponent = function doRegisterComponent() {
1890
+ return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent$1.apply(void 0, arguments);
1891
+ };
1892
+
1889
1893
  doRegisterComponent(TableColumn, customMeta != null ? customMeta : tableColumnMeta);
1890
1894
  }
1891
1895
  function registerTableValue(loader, customMeta) {
1892
- const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) : registerComponent$1(...args);
1896
+ var doRegisterComponent = function doRegisterComponent() {
1897
+ return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent$1.apply(void 0, arguments);
1898
+ };
1899
+
1893
1900
  doRegisterComponent(TableValue, customMeta != null ? customMeta : tableValueMeta);
1894
1901
  }
1895
1902
 
1896
- var __defProp = Object.defineProperty;
1897
- var __defProps = Object.defineProperties;
1898
- var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
1899
- var __getOwnPropSymbols = Object.getOwnPropertySymbols;
1900
- var __hasOwnProp = Object.prototype.hasOwnProperty;
1901
- var __propIsEnum = Object.prototype.propertyIsEnumerable;
1902
- var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
1903
- var __spreadValues = (a, b) => {
1904
- for (var prop in b || (b = {}))
1905
- if (__hasOwnProp.call(b, prop))
1906
- __defNormalProp(a, prop, b[prop]);
1907
- if (__getOwnPropSymbols)
1908
- for (var prop of __getOwnPropSymbols(b)) {
1909
- if (__propIsEnum.call(b, prop))
1910
- __defNormalProp(a, prop, b[prop]);
1911
- }
1912
- return a;
1913
- };
1914
- var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
1915
- var __objRest = (source, exclude) => {
1916
- var target = {};
1917
- for (var prop in source)
1918
- if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
1919
- target[prop] = source[prop];
1920
- if (source != null && __getOwnPropSymbols)
1921
- for (var prop of __getOwnPropSymbols(source)) {
1922
- if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
1923
- target[prop] = source[prop];
1924
- }
1925
- return target;
1926
- };
1927
- const tabPaneMeta = {
1903
+ var _excluded$3 = ["leftTabBarExtraContent", "rightTabBarExtraContent"];
1904
+ var tabPaneMeta = {
1928
1905
  name: "AntdTabPane",
1929
1906
  displayName: "Antd Tab Pane",
1930
1907
  props: {
1931
1908
  tab: {
1932
1909
  type: "slot",
1933
- defaultValue: [
1934
- {
1935
- type: "text",
1936
- value: "Tab"
1937
- }
1938
- ]
1910
+ defaultValue: [{
1911
+ type: "text",
1912
+ value: "Tab"
1913
+ }]
1939
1914
  },
1940
1915
  key: {
1941
1916
  type: "string",
@@ -1963,50 +1938,50 @@ const tabPaneMeta = {
1963
1938
  },
1964
1939
  children: {
1965
1940
  type: "slot",
1966
- defaultValue: [
1967
- {
1968
- type: "text",
1969
- value: "Tab Content"
1970
- }
1971
- ]
1941
+ defaultValue: [{
1942
+ type: "text",
1943
+ value: "Tab Content"
1944
+ }]
1972
1945
  }
1973
1946
  },
1974
1947
  parentComponentName: "AntdTabs",
1975
- importPath: "antd/es/tabs/TabPane",
1976
- isDefaultExport: true
1948
+ importPath: "rc-tabs",
1949
+ importName: "TabPane"
1977
1950
  };
1978
- const TabPane = AntdTabs.TabPane;
1979
1951
  function registerTabPane(loader, customTabPaneMeta) {
1980
- const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) : registerComponent(...args);
1981
- doRegisterComponent(AntdTabs.TabPane, customTabPaneMeta != null ? customTabPaneMeta : tabPaneMeta);
1952
+ var doRegisterComponent = function doRegisterComponent() {
1953
+ return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
1954
+ };
1955
+
1956
+ doRegisterComponent(TabPane, customTabPaneMeta != null ? customTabPaneMeta : tabPaneMeta);
1982
1957
  }
1983
1958
  function Tabs(props) {
1984
- const _a = props, {
1985
- leftTabBarExtraContent,
1986
- rightTabBarExtraContent
1987
- } = _a, otherProps = __objRest(_a, [
1988
- "leftTabBarExtraContent",
1989
- "rightTabBarExtraContent"
1990
- ]);
1991
- return /* @__PURE__ */ React.createElement(AntdTabs, __spreadProps(__spreadValues({}, otherProps), {
1959
+ var leftTabBarExtraContent = props.leftTabBarExtraContent,
1960
+ rightTabBarExtraContent = props.rightTabBarExtraContent,
1961
+ otherProps = _objectWithoutPropertiesLoose(props, _excluded$3);
1962
+
1963
+ return React.createElement(AntdTabs, Object.assign({}, otherProps, {
1992
1964
  tabBarExtraContent: {
1993
1965
  left: leftTabBarExtraContent,
1994
1966
  right: rightTabBarExtraContent
1995
1967
  }
1996
1968
  }));
1997
1969
  }
1998
- function NavigateTabs({ componentProps, studioOps }) {
1999
- const tabPanes = [];
2000
- traverseReactEltTree(componentProps.children, (elt) => {
2001
- if ((elt == null ? void 0 : elt.type) === AntdTabs.TabPane && typeof (elt == null ? void 0 : elt.key) === "string") {
1970
+
1971
+ function NavigateTabs(_ref) {
1972
+ var componentProps = _ref.componentProps,
1973
+ studioOps = _ref.studioOps;
1974
+ var tabPanes = [];
1975
+ traverseReactEltTree(componentProps.children, function (elt) {
1976
+ if ((elt == null ? void 0 : elt.type) === TabPane && typeof (elt == null ? void 0 : elt.key) === "string") {
2002
1977
  tabPanes.push(elt.key);
2003
1978
  }
2004
1979
  });
2005
- const activeKey = componentProps.activeKey;
2006
- const currTabPos = activeKey ? tabPanes.findIndex((tabKey) => {
1980
+ var activeKey = componentProps.activeKey;
1981
+ var currTabPos = activeKey ? tabPanes.findIndex(function (tabKey) {
2007
1982
  return tabKey === activeKey;
2008
1983
  }) : 0;
2009
- return /* @__PURE__ */ React.createElement("div", {
1984
+ return React.createElement("div", {
2010
1985
  style: {
2011
1986
  width: "100%",
2012
1987
  display: "flex",
@@ -2014,28 +1989,38 @@ function NavigateTabs({ componentProps, studioOps }) {
2014
1989
  gap: "10px",
2015
1990
  justifyContent: "space-between"
2016
1991
  }
2017
- }, /* @__PURE__ */ React.createElement(Button$1, {
2018
- style: { width: "100%" },
2019
- onClick: () => {
1992
+ }, React.createElement(Button$1, {
1993
+ style: {
1994
+ width: "100%"
1995
+ },
1996
+ onClick: function onClick() {
2020
1997
  if (tabPanes.length > 0) {
2021
- const prevTabPos = (currTabPos - 1 + tabPanes.length) % tabPanes.length;
2022
- studioOps.updateProps({ activeKey: tabPanes[prevTabPos] });
1998
+ var prevTabPos = (currTabPos - 1 + tabPanes.length) % tabPanes.length;
1999
+ studioOps.updateProps({
2000
+ activeKey: tabPanes[prevTabPos]
2001
+ });
2023
2002
  }
2024
2003
  }
2025
- }, "Prev tab"), /* @__PURE__ */ React.createElement(Button$1, {
2026
- style: { width: "100%" },
2027
- onClick: () => {
2004
+ }, "Prev tab"), React.createElement(Button$1, {
2005
+ style: {
2006
+ width: "100%"
2007
+ },
2008
+ onClick: function onClick() {
2028
2009
  if (tabPanes.length > 0) {
2029
- const nextTabPos = (currTabPos + 1) % tabPanes.length;
2030
- studioOps.updateProps({ activeKey: tabPanes[nextTabPos] });
2010
+ var nextTabPos = (currTabPos + 1) % tabPanes.length;
2011
+ studioOps.updateProps({
2012
+ activeKey: tabPanes[nextTabPos]
2013
+ });
2031
2014
  }
2032
2015
  }
2033
2016
  }, "Next tab"));
2034
2017
  }
2018
+
2035
2019
  function OutlineMessage() {
2036
- return /* @__PURE__ */ React.createElement("div", null, "* To re-arrange tab panes, use the Outline panel");
2020
+ return React.createElement("div", null, "* To re-arrange tab panes, use the Outline panel");
2037
2021
  }
2038
- const tabsMeta = {
2022
+
2023
+ var tabsMeta = {
2039
2024
  name: "AntdTabs",
2040
2025
  displayName: "Antd Tabs",
2041
2026
  props: {
@@ -2051,13 +2036,20 @@ const tabsMeta = {
2051
2036
  },
2052
2037
  animated: {
2053
2038
  type: "object",
2054
- hidden: (props) => props.tabPosition !== "top" && !!props.tabPosition,
2055
- defaultValueHint: { inkBar: true, tabPane: false },
2039
+ hidden: function hidden(props) {
2040
+ return props.tabPosition !== "top" && !!props.tabPosition;
2041
+ },
2042
+ defaultValueHint: {
2043
+ inkBar: true,
2044
+ tabPane: false
2045
+ },
2056
2046
  description: "Whether to change tabs with animation. Can be either a boolean or specify for inkBar and tabPane"
2057
2047
  },
2058
2048
  hideAdd: {
2059
2049
  type: "boolean",
2060
- hidden: (props) => props.type !== "editable-card",
2050
+ hidden: function hidden(props) {
2051
+ return props.type !== "editable-card";
2052
+ },
2061
2053
  defaultValueHint: false,
2062
2054
  description: "Hide plus icon or not"
2063
2055
  },
@@ -2103,10 +2095,10 @@ const tabsMeta = {
2103
2095
  editOnly: true,
2104
2096
  uncontrolledProp: "defaultActiveKey",
2105
2097
  description: "Initial active TabPane's key",
2106
- options: (props) => {
2107
- const options = /* @__PURE__ */ new Set();
2108
- traverseReactEltTree(props.children, (elt) => {
2109
- if ((elt == null ? void 0 : elt.type) === AntdTabs.TabPane && typeof (elt == null ? void 0 : elt.key) === "string") {
2098
+ options: function options(props) {
2099
+ var options = new Set();
2100
+ traverseReactEltTree(props.children, function (elt) {
2101
+ if ((elt == null ? void 0 : elt.type) === TabPane && typeof (elt == null ? void 0 : elt.key) === "string") {
2110
2102
  options.add(elt.key);
2111
2103
  }
2112
2104
  });
@@ -2116,118 +2108,122 @@ const tabsMeta = {
2116
2108
  children: {
2117
2109
  type: "slot",
2118
2110
  allowedComponents: ["AntdTabPane"],
2119
- defaultValue: [
2120
- {
2121
- type: "component",
2122
- name: "AntdTabPane",
2123
- props: {
2124
- key: "1",
2125
- tab: [
2126
- {
2127
- type: "text",
2128
- value: "Tab"
2129
- }
2130
- ],
2131
- children: [
2132
- {
2133
- type: "text",
2134
- value: "Tab content"
2135
- }
2136
- ]
2137
- }
2138
- },
2139
- {
2140
- type: "component",
2141
- name: "AntdTabPane",
2142
- props: {
2143
- key: "2",
2144
- tab: [
2145
- {
2146
- type: "text",
2147
- value: "Tab"
2148
- }
2149
- ],
2150
- children: [
2151
- {
2152
- type: "text",
2153
- value: "Tab content"
2154
- }
2155
- ]
2156
- }
2111
+ defaultValue: [{
2112
+ type: "component",
2113
+ name: "AntdTabPane",
2114
+ props: {
2115
+ key: "1",
2116
+ tab: [{
2117
+ type: "text",
2118
+ value: "Tab"
2119
+ }],
2120
+ children: [{
2121
+ type: "text",
2122
+ value: "Tab content"
2123
+ }]
2157
2124
  }
2158
- ]
2125
+ }, {
2126
+ type: "component",
2127
+ name: "AntdTabPane",
2128
+ props: {
2129
+ key: "2",
2130
+ tab: [{
2131
+ type: "text",
2132
+ value: "Tab"
2133
+ }],
2134
+ children: [{
2135
+ type: "text",
2136
+ value: "Tab content"
2137
+ }]
2138
+ }
2139
+ }]
2159
2140
  }
2160
2141
  },
2161
- actions: [
2162
- {
2163
- type: "custom-action",
2164
- control: NavigateTabs
2165
- },
2166
- {
2167
- type: "button-action",
2168
- label: "Add new tab",
2169
- onClick: ({ componentProps, studioOps }) => {
2170
- const generateNewKey = () => {
2171
- let keysSet = /* @__PURE__ */ new Set();
2172
- traverseReactEltTree(componentProps.children, (elt) => {
2173
- if ((elt == null ? void 0 : elt.type) === AntdTabs.TabPane && typeof (elt == null ? void 0 : elt.key) === "string") {
2174
- keysSet.add(elt.key);
2175
- }
2176
- });
2177
- for (let keyCandidate = 1; keyCandidate <= keysSet.size + 1; keyCandidate++) {
2178
- const strKey = keyCandidate.toString();
2179
- if (!keysSet.has(strKey)) {
2180
- return strKey;
2181
- }
2142
+ actions: [{
2143
+ type: "custom-action",
2144
+ control: NavigateTabs
2145
+ }, {
2146
+ type: "button-action",
2147
+ label: "Add new tab",
2148
+ onClick: function onClick(_ref2) {
2149
+ var componentProps = _ref2.componentProps,
2150
+ studioOps = _ref2.studioOps;
2151
+
2152
+ // Get the first positive integer that isn't already a key
2153
+ var generateNewKey = function generateNewKey() {
2154
+ var keysSet = new Set();
2155
+ traverseReactEltTree(componentProps.children, function (elt) {
2156
+ if ((elt == null ? void 0 : elt.type) === TabPane && typeof (elt == null ? void 0 : elt.key) === "string") {
2157
+ keysSet.add(elt.key);
2182
2158
  }
2183
- return void 0;
2184
- };
2185
- const tabKey = generateNewKey();
2186
- studioOps.appendToSlot({
2187
- type: "component",
2188
- name: "AntdTabPane",
2189
- props: {
2190
- key: tabKey
2159
+ });
2160
+
2161
+ for (var keyCandidate = 1; keyCandidate <= keysSet.size + 1; keyCandidate++) {
2162
+ var strKey = keyCandidate.toString();
2163
+
2164
+ if (!keysSet.has(strKey)) {
2165
+ return strKey;
2191
2166
  }
2192
- }, "children");
2193
- studioOps.updateProps({ activeKey: tabKey });
2194
- }
2195
- },
2196
- {
2197
- type: "button-action",
2198
- label: "Delete current tab",
2199
- onClick: ({ componentProps, studioOps }) => {
2200
- if (componentProps.activeKey) {
2201
- const tabPanes = [];
2202
- traverseReactEltTree(componentProps.children, (elt) => {
2203
- if ((elt == null ? void 0 : elt.type) === AntdTabs.TabPane && typeof (elt == null ? void 0 : elt.key) === "string") {
2204
- tabPanes.push(elt.key);
2205
- }
2206
- });
2207
- const activeKey = componentProps.activeKey;
2208
- const currTabPos = tabPanes.findIndex((tabKey) => {
2209
- return tabKey === activeKey;
2210
- });
2211
- if (currTabPos !== -1) {
2212
- studioOps.removeFromSlotAt(currTabPos, "children");
2213
- if (tabPanes.length - 1 > 0) {
2214
- const prevTabPos = (currTabPos - 1 + tabPanes.length) % tabPanes.length;
2215
- studioOps.updateProps({ activeKey: tabPanes[prevTabPos] });
2216
- }
2167
+ }
2168
+
2169
+ return undefined;
2170
+ };
2171
+
2172
+ var tabKey = generateNewKey();
2173
+ studioOps.appendToSlot({
2174
+ type: "component",
2175
+ name: "AntdTabPane",
2176
+ props: {
2177
+ key: tabKey
2178
+ }
2179
+ }, "children");
2180
+ studioOps.updateProps({
2181
+ activeKey: tabKey
2182
+ });
2183
+ }
2184
+ }, {
2185
+ type: "button-action",
2186
+ label: "Delete current tab",
2187
+ onClick: function onClick(_ref3) {
2188
+ var componentProps = _ref3.componentProps,
2189
+ studioOps = _ref3.studioOps;
2190
+
2191
+ if (componentProps.activeKey) {
2192
+ var tabPanes = [];
2193
+ traverseReactEltTree(componentProps.children, function (elt) {
2194
+ if ((elt == null ? void 0 : elt.type) === TabPane && typeof (elt == null ? void 0 : elt.key) === "string") {
2195
+ tabPanes.push(elt.key);
2196
+ }
2197
+ });
2198
+ var activeKey = componentProps.activeKey;
2199
+ var currTabPos = tabPanes.findIndex(function (tabKey) {
2200
+ return tabKey === activeKey;
2201
+ });
2202
+
2203
+ if (currTabPos !== -1) {
2204
+ studioOps.removeFromSlotAt(currTabPos, "children");
2205
+
2206
+ if (tabPanes.length - 1 > 0) {
2207
+ var prevTabPos = (currTabPos - 1 + tabPanes.length) % tabPanes.length;
2208
+ studioOps.updateProps({
2209
+ activeKey: tabPanes[prevTabPos]
2210
+ });
2217
2211
  }
2218
2212
  }
2219
2213
  }
2220
- },
2221
- {
2222
- type: "custom-action",
2223
- control: OutlineMessage
2224
2214
  }
2225
- ],
2215
+ }, {
2216
+ type: "custom-action",
2217
+ control: OutlineMessage
2218
+ }],
2226
2219
  importPath: "@plasmicpkgs/antd/skinny/registerTabs",
2227
2220
  importName: "Tabs"
2228
2221
  };
2229
2222
  function registerTabs(loader, customTabsMeta) {
2230
- const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) : registerComponent(...args);
2223
+ var doRegisterComponent = function doRegisterComponent() {
2224
+ return loader ? loader.registerComponent.apply(loader, arguments) : registerComponent.apply(void 0, arguments);
2225
+ };
2226
+
2231
2227
  doRegisterComponent(Tabs, customTabsMeta != null ? customTabsMeta : tabsMeta);
2232
2228
  }
2233
2229
 
@@ -2263,5 +2259,5 @@ function registerAll(loader) {
2263
2259
  registerRate(loader);
2264
2260
  }
2265
2261
 
2266
- export { Collapse, Dropdown, Slider, TabPane, Tabs, buttonMeta, carouselMeta, checkboxGroupMeta, checkboxMeta, collapsteMeta, collapstePanelMeta, dropdownButtonMeta, dropdownMeta, inputGroupMeta, inputMeta, inputPasswordMeta, inputSearchMeta, inputTextAreaMeta, menuDividerMeta, menuItemGroupMeta, menuItemMeta, menuMeta, optGroupMeta, optionMeta, rateMeta, registerAll, registerButton, registerCarousel, registerCheckbox, registerCheckboxGroup, registerCollapse, registerCollapsePanel, registerDropdown, registerDropdownButton, registerInput, registerInputGroup, registerInputPassword, registerInputSearch, registerInputTextArea, registerMenu, registerMenuDivider, registerMenuItem, registerMenuItemGroup, registerOptGroup, registerOption, registerRate, registerSelect, registerSlider, registerSubMenu, registerSwitch, registerTabPane, registerTabs, selectMeta, sliderMeta, subMenuMeta, switchMeta, tabPaneMeta, tabsMeta };
2262
+ export { Collapse, Dropdown, Slider, Tabs, buttonMeta, carouselMeta, checkboxGroupMeta, checkboxMeta, collapsteMeta, collapstePanelMeta, dropdownButtonMeta, dropdownMeta, inputGroupMeta, inputMeta, inputPasswordMeta, inputSearchMeta, inputTextAreaMeta, menuDividerMeta, menuItemGroupMeta, menuItemMeta, menuMeta, optGroupMeta, optionMeta, rateMeta, registerAll, registerButton, registerCarousel, registerCheckbox, registerCheckboxGroup, registerCollapse, registerCollapsePanel, registerDropdown, registerDropdownButton, registerInput, registerInputGroup, registerInputPassword, registerInputSearch, registerInputTextArea, registerMenu, registerMenuDivider, registerMenuItem, registerMenuItemGroup, registerOptGroup, registerOption, registerRate, registerSelect, registerSlider, registerSubMenu, registerSwitch, registerTabPane, registerTabs, selectMeta, sliderMeta, subMenuMeta, switchMeta, tabPaneMeta, tabsMeta };
2267
2263
  //# sourceMappingURL=antd.esm.js.map