@plasmicpkgs/antd 0.0.106 → 2.0.2

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