@plasmicpkgs/antd 2.0.20 → 2.0.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +96 -68
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -30,6 +30,34 @@ var Table = require('antd/lib/table/Table');
|
|
|
30
30
|
var antd = require('antd');
|
|
31
31
|
var AntdTabs = require('antd/lib/tabs');
|
|
32
32
|
|
|
33
|
+
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
34
|
+
|
|
35
|
+
var registerComponent__default = /*#__PURE__*/_interopDefault(registerComponent);
|
|
36
|
+
var Button__default = /*#__PURE__*/_interopDefault(Button);
|
|
37
|
+
var Carousel__default = /*#__PURE__*/_interopDefault(Carousel);
|
|
38
|
+
var Checkbox__default = /*#__PURE__*/_interopDefault(Checkbox);
|
|
39
|
+
var CheckboxGroup__default = /*#__PURE__*/_interopDefault(CheckboxGroup);
|
|
40
|
+
var React__default = /*#__PURE__*/_interopDefault(React);
|
|
41
|
+
var AntdCollapse__default = /*#__PURE__*/_interopDefault(AntdCollapse);
|
|
42
|
+
var CollapsePanel__default = /*#__PURE__*/_interopDefault(CollapsePanel);
|
|
43
|
+
var AntdDropdown__default = /*#__PURE__*/_interopDefault(AntdDropdown);
|
|
44
|
+
var DropdownButton__default = /*#__PURE__*/_interopDefault(DropdownButton);
|
|
45
|
+
var Input__default = /*#__PURE__*/_interopDefault(Input);
|
|
46
|
+
var InputGroup__default = /*#__PURE__*/_interopDefault(InputGroup);
|
|
47
|
+
var Password__default = /*#__PURE__*/_interopDefault(Password);
|
|
48
|
+
var Search__default = /*#__PURE__*/_interopDefault(Search);
|
|
49
|
+
var TextArea__default = /*#__PURE__*/_interopDefault(TextArea);
|
|
50
|
+
var Menu__default = /*#__PURE__*/_interopDefault(Menu);
|
|
51
|
+
var MenuDivider__default = /*#__PURE__*/_interopDefault(MenuDivider);
|
|
52
|
+
var MenuItem__default = /*#__PURE__*/_interopDefault(MenuItem);
|
|
53
|
+
var SubMenu__default = /*#__PURE__*/_interopDefault(SubMenu);
|
|
54
|
+
var Rate__default = /*#__PURE__*/_interopDefault(Rate);
|
|
55
|
+
var Select__default = /*#__PURE__*/_interopDefault(Select);
|
|
56
|
+
var AntdSlider__default = /*#__PURE__*/_interopDefault(AntdSlider);
|
|
57
|
+
var Switch__default = /*#__PURE__*/_interopDefault(Switch);
|
|
58
|
+
var Table__default = /*#__PURE__*/_interopDefault(Table);
|
|
59
|
+
var AntdTabs__default = /*#__PURE__*/_interopDefault(AntdTabs);
|
|
60
|
+
|
|
33
61
|
const buttonMeta = {
|
|
34
62
|
name: "AntdButton",
|
|
35
63
|
displayName: "Antd Button",
|
|
@@ -103,8 +131,8 @@ const buttonMeta = {
|
|
|
103
131
|
importName: "Button"
|
|
104
132
|
};
|
|
105
133
|
function registerButton(loader, customButtonMeta) {
|
|
106
|
-
const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) :
|
|
107
|
-
doRegisterComponent(
|
|
134
|
+
const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) : registerComponent__default.default(...args);
|
|
135
|
+
doRegisterComponent(Button__default.default, customButtonMeta != null ? customButtonMeta : buttonMeta);
|
|
108
136
|
}
|
|
109
137
|
|
|
110
138
|
const contentStyle = {
|
|
@@ -166,8 +194,8 @@ const carouselMeta = {
|
|
|
166
194
|
isDefaultExport: true
|
|
167
195
|
};
|
|
168
196
|
function registerCarousel(loader, customCarouselMeta) {
|
|
169
|
-
const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) :
|
|
170
|
-
doRegisterComponent(
|
|
197
|
+
const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) : registerComponent__default.default(...args);
|
|
198
|
+
doRegisterComponent(Carousel__default.default, customCarouselMeta != null ? customCarouselMeta : carouselMeta);
|
|
171
199
|
}
|
|
172
200
|
|
|
173
201
|
function traverseReactEltTree(children, callback) {
|
|
@@ -204,9 +232,9 @@ var __spreadValues$6 = (a, b) => {
|
|
|
204
232
|
}
|
|
205
233
|
return a;
|
|
206
234
|
};
|
|
207
|
-
class CheckboxWrapper extends
|
|
235
|
+
class CheckboxWrapper extends React__default.default.Component {
|
|
208
236
|
render() {
|
|
209
|
-
return /* @__PURE__ */
|
|
237
|
+
return /* @__PURE__ */ React__default.default.createElement(Checkbox__default.default, __spreadValues$6({}, this.props));
|
|
210
238
|
}
|
|
211
239
|
}
|
|
212
240
|
const checkboxMeta = {
|
|
@@ -257,7 +285,7 @@ const checkboxMeta = {
|
|
|
257
285
|
isDefaultExport: true
|
|
258
286
|
};
|
|
259
287
|
function registerCheckbox(loader, customCheckboxMeta) {
|
|
260
|
-
const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) :
|
|
288
|
+
const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) : registerComponent__default.default(...args);
|
|
261
289
|
doRegisterComponent(CheckboxWrapper, customCheckboxMeta != null ? customCheckboxMeta : checkboxMeta);
|
|
262
290
|
}
|
|
263
291
|
const checkboxGroupMeta = {
|
|
@@ -303,8 +331,8 @@ const checkboxGroupMeta = {
|
|
|
303
331
|
isDefaultExport: true
|
|
304
332
|
};
|
|
305
333
|
function registerCheckboxGroup(loader, customCheckboxGroupMeta) {
|
|
306
|
-
const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) :
|
|
307
|
-
doRegisterComponent(
|
|
334
|
+
const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) : registerComponent__default.default(...args);
|
|
335
|
+
doRegisterComponent(CheckboxGroup__default.default, customCheckboxGroupMeta != null ? customCheckboxGroupMeta : checkboxGroupMeta);
|
|
308
336
|
}
|
|
309
337
|
|
|
310
338
|
var __defProp$5 = Object.defineProperty;
|
|
@@ -390,8 +418,8 @@ const collapstePanelMeta = {
|
|
|
390
418
|
isDefaultExport: true
|
|
391
419
|
};
|
|
392
420
|
function registerCollapsePanel(loader, customCollapsePanelMeta) {
|
|
393
|
-
const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) :
|
|
394
|
-
doRegisterComponent(
|
|
421
|
+
const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) : registerComponent__default.default(...args);
|
|
422
|
+
doRegisterComponent(CollapsePanel__default.default, customCollapsePanelMeta != null ? customCollapsePanelMeta : collapstePanelMeta);
|
|
395
423
|
}
|
|
396
424
|
const collapsteMeta = {
|
|
397
425
|
name: "AntdCollapse",
|
|
@@ -411,7 +439,7 @@ const collapsteMeta = {
|
|
|
411
439
|
options: (componentProps) => {
|
|
412
440
|
const options = /* @__PURE__ */ new Set();
|
|
413
441
|
traverseReactEltTree(componentProps.children, (elt) => {
|
|
414
|
-
if ((elt == null ? void 0 : elt.type) ===
|
|
442
|
+
if ((elt == null ? void 0 : elt.type) === CollapsePanel__default.default && typeof (elt == null ? void 0 : elt.key) === "string") {
|
|
415
443
|
options.add(elt.key);
|
|
416
444
|
}
|
|
417
445
|
});
|
|
@@ -466,12 +494,12 @@ const collapsteMeta = {
|
|
|
466
494
|
};
|
|
467
495
|
function Collapse(props) {
|
|
468
496
|
const _a = props, { openIcon, closeIcon } = _a, rest = __objRest$3(_a, ["openIcon", "closeIcon"]);
|
|
469
|
-
return /* @__PURE__ */
|
|
497
|
+
return /* @__PURE__ */ React__default.default.createElement(AntdCollapse__default.default, __spreadProps$3(__spreadValues$5({}, rest), {
|
|
470
498
|
expandIcon: openIcon || closeIcon ? ({ isActive }) => isActive ? openIcon : closeIcon : void 0
|
|
471
499
|
}));
|
|
472
500
|
}
|
|
473
501
|
function registerCollapse(loader, customCollapseMeta) {
|
|
474
|
-
const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) :
|
|
502
|
+
const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) : registerComponent__default.default(...args);
|
|
475
503
|
doRegisterComponent(Collapse, customCollapseMeta != null ? customCollapseMeta : collapsteMeta);
|
|
476
504
|
}
|
|
477
505
|
|
|
@@ -491,12 +519,12 @@ var __spreadValues$4 = (a, b) => {
|
|
|
491
519
|
}
|
|
492
520
|
return a;
|
|
493
521
|
};
|
|
494
|
-
class Dropdown extends
|
|
522
|
+
class Dropdown extends React__default.default.Component {
|
|
495
523
|
render() {
|
|
496
524
|
const thisProps = this.props;
|
|
497
525
|
const finalProps = __spreadValues$4({}, thisProps);
|
|
498
|
-
finalProps.children = typeof thisProps.children === "string" ? /* @__PURE__ */
|
|
499
|
-
return /* @__PURE__ */
|
|
526
|
+
finalProps.children = typeof thisProps.children === "string" ? /* @__PURE__ */ React__default.default.createElement("div", null, thisProps.children) : thisProps.children;
|
|
527
|
+
return /* @__PURE__ */ React__default.default.createElement(AntdDropdown__default.default, __spreadValues$4({}, finalProps));
|
|
500
528
|
}
|
|
501
529
|
}
|
|
502
530
|
const dropdownMeta = {
|
|
@@ -562,7 +590,7 @@ const dropdownMeta = {
|
|
|
562
590
|
importName: "Dropdown"
|
|
563
591
|
};
|
|
564
592
|
function registerDropdown(loader, customDropdownMeta) {
|
|
565
|
-
const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) :
|
|
593
|
+
const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) : registerComponent__default.default(...args);
|
|
566
594
|
doRegisterComponent(Dropdown, customDropdownMeta != null ? customDropdownMeta : dropdownMeta);
|
|
567
595
|
}
|
|
568
596
|
const dropdownButtonMeta = {
|
|
@@ -641,8 +669,8 @@ const dropdownButtonMeta = {
|
|
|
641
669
|
isDefaultExport: true
|
|
642
670
|
};
|
|
643
671
|
function registerDropdownButton(loader, customDropdownButtonMeta) {
|
|
644
|
-
const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) :
|
|
645
|
-
doRegisterComponent(
|
|
672
|
+
const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) : registerComponent__default.default(...args);
|
|
673
|
+
doRegisterComponent(DropdownButton__default.default, customDropdownButtonMeta != null ? customDropdownButtonMeta : dropdownButtonMeta);
|
|
646
674
|
}
|
|
647
675
|
|
|
648
676
|
var __defProp$3 = Object.defineProperty;
|
|
@@ -753,8 +781,8 @@ const inputMeta = {
|
|
|
753
781
|
isDefaultExport: true
|
|
754
782
|
};
|
|
755
783
|
function registerInput(loader, customInputMeta) {
|
|
756
|
-
const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) :
|
|
757
|
-
doRegisterComponent(
|
|
784
|
+
const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) : registerComponent__default.default(...args);
|
|
785
|
+
doRegisterComponent(Input__default.default, customInputMeta != null ? customInputMeta : inputMeta);
|
|
758
786
|
}
|
|
759
787
|
const inputTextAreaMeta = {
|
|
760
788
|
name: "AntdInputTextArea",
|
|
@@ -808,8 +836,8 @@ const inputTextAreaMeta = {
|
|
|
808
836
|
parentComponentName: "AntdInput"
|
|
809
837
|
};
|
|
810
838
|
function registerInputTextArea(loader, customInputTextAreaMeta) {
|
|
811
|
-
const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) :
|
|
812
|
-
doRegisterComponent(
|
|
839
|
+
const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) : registerComponent__default.default(...args);
|
|
840
|
+
doRegisterComponent(TextArea__default.default, customInputTextAreaMeta != null ? customInputTextAreaMeta : inputTextAreaMeta);
|
|
813
841
|
}
|
|
814
842
|
const inputSearchMeta = {
|
|
815
843
|
name: "AntdInputSearch",
|
|
@@ -885,8 +913,8 @@ const inputSearchMeta = {
|
|
|
885
913
|
parentComponentName: "AntdInput"
|
|
886
914
|
};
|
|
887
915
|
function registerInputSearch(loader, customInputSearchMeta) {
|
|
888
|
-
const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) :
|
|
889
|
-
doRegisterComponent(
|
|
916
|
+
const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) : registerComponent__default.default(...args);
|
|
917
|
+
doRegisterComponent(Search__default.default, customInputSearchMeta != null ? customInputSearchMeta : inputSearchMeta);
|
|
890
918
|
}
|
|
891
919
|
const inputPasswordMeta = {
|
|
892
920
|
name: "AntdInputPassword",
|
|
@@ -958,8 +986,8 @@ const inputPasswordMeta = {
|
|
|
958
986
|
parentComponentName: "AntdInput"
|
|
959
987
|
};
|
|
960
988
|
function registerInputPassword(loader, customInputPasswordMeta) {
|
|
961
|
-
const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) :
|
|
962
|
-
doRegisterComponent(
|
|
989
|
+
const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) : registerComponent__default.default(...args);
|
|
990
|
+
doRegisterComponent(Password__default.default, customInputPasswordMeta != null ? customInputPasswordMeta : inputPasswordMeta);
|
|
963
991
|
}
|
|
964
992
|
const inputGroupMeta = {
|
|
965
993
|
name: "AntdInputGroup",
|
|
@@ -996,8 +1024,8 @@ const inputGroupMeta = {
|
|
|
996
1024
|
parentComponentName: "AntdInput"
|
|
997
1025
|
};
|
|
998
1026
|
function registerInputGroup(loader, customInputGroupMeta) {
|
|
999
|
-
const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) :
|
|
1000
|
-
doRegisterComponent(
|
|
1027
|
+
const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) : registerComponent__default.default(...args);
|
|
1028
|
+
doRegisterComponent(InputGroup__default.default, customInputGroupMeta != null ? customInputGroupMeta : inputGroupMeta);
|
|
1001
1029
|
}
|
|
1002
1030
|
|
|
1003
1031
|
const menuDividerMeta = {
|
|
@@ -1016,8 +1044,8 @@ const menuDividerMeta = {
|
|
|
1016
1044
|
parentComponentName: "AntdMenu"
|
|
1017
1045
|
};
|
|
1018
1046
|
function registerMenuDivider(loader, customMenuDividerMeta) {
|
|
1019
|
-
const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) :
|
|
1020
|
-
doRegisterComponent(
|
|
1047
|
+
const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) : registerComponent__default.default(...args);
|
|
1048
|
+
doRegisterComponent(MenuDivider__default.default, customMenuDividerMeta != null ? customMenuDividerMeta : menuDividerMeta);
|
|
1021
1049
|
}
|
|
1022
1050
|
const menuItemMeta = {
|
|
1023
1051
|
name: "AntdMenuItem",
|
|
@@ -1058,8 +1086,8 @@ const menuItemMeta = {
|
|
|
1058
1086
|
parentComponentName: "AntdMenu"
|
|
1059
1087
|
};
|
|
1060
1088
|
function registerMenuItem(loader, customMenuItemMeta) {
|
|
1061
|
-
const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) :
|
|
1062
|
-
doRegisterComponent(
|
|
1089
|
+
const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) : registerComponent__default.default(...args);
|
|
1090
|
+
doRegisterComponent(MenuItem__default.default, customMenuItemMeta != null ? customMenuItemMeta : menuItemMeta);
|
|
1063
1091
|
}
|
|
1064
1092
|
const menuItemGroupMeta = {
|
|
1065
1093
|
name: "AntdMenuItemGroup",
|
|
@@ -1094,7 +1122,7 @@ const menuItemGroupMeta = {
|
|
|
1094
1122
|
parentComponentName: "AntdMenu"
|
|
1095
1123
|
};
|
|
1096
1124
|
function registerMenuItemGroup(loader, customMenuItemGroupMeta) {
|
|
1097
|
-
const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) :
|
|
1125
|
+
const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) : registerComponent__default.default(...args);
|
|
1098
1126
|
doRegisterComponent(rcMenu.ItemGroup, customMenuItemGroupMeta != null ? customMenuItemGroupMeta : menuItemGroupMeta);
|
|
1099
1127
|
}
|
|
1100
1128
|
const subMenuMeta = {
|
|
@@ -1149,8 +1177,8 @@ const subMenuMeta = {
|
|
|
1149
1177
|
parentComponentName: "AntdMenu"
|
|
1150
1178
|
};
|
|
1151
1179
|
function registerSubMenu(loader, customSubMenuMeta) {
|
|
1152
|
-
const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) :
|
|
1153
|
-
doRegisterComponent(
|
|
1180
|
+
const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) : registerComponent__default.default(...args);
|
|
1181
|
+
doRegisterComponent(SubMenu__default.default, customSubMenuMeta != null ? customSubMenuMeta : subMenuMeta);
|
|
1154
1182
|
}
|
|
1155
1183
|
const menuMeta = {
|
|
1156
1184
|
name: "AntdMenu",
|
|
@@ -1190,7 +1218,7 @@ const menuMeta = {
|
|
|
1190
1218
|
options: (componentProps) => {
|
|
1191
1219
|
const options = /* @__PURE__ */ new Set();
|
|
1192
1220
|
traverseReactEltTree(componentProps.children, (elt) => {
|
|
1193
|
-
if ((elt == null ? void 0 : elt.type) ===
|
|
1221
|
+
if ((elt == null ? void 0 : elt.type) === SubMenu__default.default && typeof (elt == null ? void 0 : elt.key) === "string") {
|
|
1194
1222
|
options.add(elt.key);
|
|
1195
1223
|
}
|
|
1196
1224
|
});
|
|
@@ -1215,7 +1243,7 @@ const menuMeta = {
|
|
|
1215
1243
|
options: (componentProps) => {
|
|
1216
1244
|
const options = /* @__PURE__ */ new Set();
|
|
1217
1245
|
traverseReactEltTree(componentProps.children, (elt) => {
|
|
1218
|
-
if ([
|
|
1246
|
+
if ([SubMenu__default.default, MenuItem__default.default].includes(elt == null ? void 0 : elt.type) && typeof (elt == null ? void 0 : elt.key) === "string") {
|
|
1219
1247
|
options.add(elt.key);
|
|
1220
1248
|
}
|
|
1221
1249
|
});
|
|
@@ -1264,8 +1292,8 @@ const menuMeta = {
|
|
|
1264
1292
|
isDefaultExport: true
|
|
1265
1293
|
};
|
|
1266
1294
|
function registerMenu(loader, customMenuMeta) {
|
|
1267
|
-
const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) :
|
|
1268
|
-
doRegisterComponent(
|
|
1295
|
+
const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) : registerComponent__default.default(...args);
|
|
1296
|
+
doRegisterComponent(Menu__default.default, customMenuMeta != null ? customMenuMeta : menuMeta);
|
|
1269
1297
|
}
|
|
1270
1298
|
|
|
1271
1299
|
const optionMeta = {
|
|
@@ -1304,7 +1332,7 @@ const optionMeta = {
|
|
|
1304
1332
|
parentComponentName: "AntdSelect"
|
|
1305
1333
|
};
|
|
1306
1334
|
function registerOption(loader, customOptionMeta) {
|
|
1307
|
-
const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) :
|
|
1335
|
+
const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) : registerComponent__default.default(...args);
|
|
1308
1336
|
doRegisterComponent(rcSelect.Option, customOptionMeta != null ? customOptionMeta : optionMeta);
|
|
1309
1337
|
}
|
|
1310
1338
|
const optGroupMeta = {
|
|
@@ -1335,7 +1363,7 @@ const optGroupMeta = {
|
|
|
1335
1363
|
parentComponentName: "AntdSelect"
|
|
1336
1364
|
};
|
|
1337
1365
|
function registerOptGroup(loader, customOptGroupMeta) {
|
|
1338
|
-
const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) :
|
|
1366
|
+
const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) : registerComponent__default.default(...args);
|
|
1339
1367
|
doRegisterComponent(rcSelect.OptGroup, customOptGroupMeta != null ? customOptGroupMeta : optGroupMeta);
|
|
1340
1368
|
}
|
|
1341
1369
|
|
|
@@ -1388,8 +1416,8 @@ const rateMeta = {
|
|
|
1388
1416
|
isDefaultExport: true
|
|
1389
1417
|
};
|
|
1390
1418
|
function registerRate(loader, customRateMeta) {
|
|
1391
|
-
const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) :
|
|
1392
|
-
doRegisterComponent(
|
|
1419
|
+
const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) : registerComponent__default.default(...args);
|
|
1420
|
+
doRegisterComponent(Rate__default.default, customRateMeta != null ? customRateMeta : rateMeta);
|
|
1393
1421
|
}
|
|
1394
1422
|
|
|
1395
1423
|
const selectMeta = {
|
|
@@ -1513,8 +1541,8 @@ const selectMeta = {
|
|
|
1513
1541
|
isDefaultExport: true
|
|
1514
1542
|
};
|
|
1515
1543
|
function registerSelect(loader, customSelectMeta) {
|
|
1516
|
-
const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) :
|
|
1517
|
-
doRegisterComponent(
|
|
1544
|
+
const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) : registerComponent__default.default(...args);
|
|
1545
|
+
doRegisterComponent(Select__default.default, customSelectMeta != null ? customSelectMeta : selectMeta);
|
|
1518
1546
|
}
|
|
1519
1547
|
|
|
1520
1548
|
var __defProp$2 = Object.defineProperty;
|
|
@@ -1548,7 +1576,7 @@ var __objRest$2 = (source, exclude) => {
|
|
|
1548
1576
|
}
|
|
1549
1577
|
return target;
|
|
1550
1578
|
};
|
|
1551
|
-
const Slider =
|
|
1579
|
+
const Slider = React__default.default.forwardRef((_a, ref) => {
|
|
1552
1580
|
var _b = _a, { value, defaultValue, value2, defaultValue2 } = _b, props = __objRest$2(_b, ["value", "defaultValue", "value2", "defaultValue2"]);
|
|
1553
1581
|
const newProps = __spreadValues$2({}, props);
|
|
1554
1582
|
if (props.range) {
|
|
@@ -1566,7 +1594,7 @@ const Slider = React.forwardRef((_a, ref) => {
|
|
|
1566
1594
|
newProps.defaultValue = defaultValue;
|
|
1567
1595
|
}
|
|
1568
1596
|
}
|
|
1569
|
-
return /* @__PURE__ */
|
|
1597
|
+
return /* @__PURE__ */ React__default.default.createElement(AntdSlider__default.default, __spreadProps$1(__spreadValues$2({}, newProps), {
|
|
1570
1598
|
ref
|
|
1571
1599
|
}));
|
|
1572
1600
|
});
|
|
@@ -1641,7 +1669,7 @@ const sliderMeta = {
|
|
|
1641
1669
|
importName: "Slider"
|
|
1642
1670
|
};
|
|
1643
1671
|
function registerSlider(loader, customSliderMeta) {
|
|
1644
|
-
const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) :
|
|
1672
|
+
const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) : registerComponent__default.default(...args);
|
|
1645
1673
|
doRegisterComponent(Slider, customSliderMeta != null ? customSliderMeta : sliderMeta);
|
|
1646
1674
|
}
|
|
1647
1675
|
|
|
@@ -1693,8 +1721,8 @@ const switchMeta = {
|
|
|
1693
1721
|
isDefaultExport: true
|
|
1694
1722
|
};
|
|
1695
1723
|
function registerSwitch(loader, customSwitchMeta) {
|
|
1696
|
-
const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) :
|
|
1697
|
-
doRegisterComponent(
|
|
1724
|
+
const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) : registerComponent__default.default(...args);
|
|
1725
|
+
doRegisterComponent(Switch__default.default, customSwitchMeta != null ? customSwitchMeta : switchMeta);
|
|
1698
1726
|
}
|
|
1699
1727
|
|
|
1700
1728
|
var __defProp$1 = Object.defineProperty;
|
|
@@ -1732,7 +1760,7 @@ function TableValue(props) {
|
|
|
1732
1760
|
var _a;
|
|
1733
1761
|
const { className } = props;
|
|
1734
1762
|
const column = host.useSelector("currentColumn");
|
|
1735
|
-
return /* @__PURE__ */
|
|
1763
|
+
return /* @__PURE__ */ React__default.default.createElement("div", {
|
|
1736
1764
|
className
|
|
1737
1765
|
}, (_a = column == null ? void 0 : column.toString()) != null ? _a : "");
|
|
1738
1766
|
}
|
|
@@ -1743,8 +1771,8 @@ function TableWrapper(props) {
|
|
|
1743
1771
|
var _a, _b;
|
|
1744
1772
|
const { className, items, columns, size, onSelect, pagination } = props;
|
|
1745
1773
|
const tableColumns = (_b = (_a = columns == null ? void 0 : columns.props) == null ? void 0 : _a.children) != null ? _b : columns;
|
|
1746
|
-
const columnDefinitions =
|
|
1747
|
-
return
|
|
1774
|
+
const columnDefinitions = React__default.default.useMemo(() => {
|
|
1775
|
+
return React__default.default.Children.map(tableColumns, (column, columnIndex) => {
|
|
1748
1776
|
if (!column) {
|
|
1749
1777
|
return void 0;
|
|
1750
1778
|
}
|
|
@@ -1755,22 +1783,22 @@ function TableWrapper(props) {
|
|
|
1755
1783
|
dataIndex,
|
|
1756
1784
|
key: columnIndex,
|
|
1757
1785
|
render: (value, record, rowIndex) => {
|
|
1758
|
-
return /* @__PURE__ */
|
|
1786
|
+
return /* @__PURE__ */ React__default.default.createElement(host.DataProvider, {
|
|
1759
1787
|
name: "currentRow",
|
|
1760
1788
|
data: record
|
|
1761
|
-
}, /* @__PURE__ */
|
|
1789
|
+
}, /* @__PURE__ */ React__default.default.createElement(host.DataProvider, {
|
|
1762
1790
|
name: "currentRowIndex",
|
|
1763
1791
|
data: rowIndex
|
|
1764
|
-
}, /* @__PURE__ */
|
|
1792
|
+
}, /* @__PURE__ */ React__default.default.createElement(host.DataProvider, {
|
|
1765
1793
|
name: "currentColumn",
|
|
1766
1794
|
data: value
|
|
1767
|
-
}, host.repeatedElement(rowIndex, /* @__PURE__ */
|
|
1795
|
+
}, host.repeatedElement(rowIndex, /* @__PURE__ */ React__default.default.createElement(ColumnWrapper, __spreadValues$1({}, rest), columnTemplate)))));
|
|
1768
1796
|
}
|
|
1769
1797
|
};
|
|
1770
1798
|
return columnDefinition;
|
|
1771
1799
|
}).filter(Boolean);
|
|
1772
1800
|
}, [tableColumns]);
|
|
1773
|
-
return /* @__PURE__ */
|
|
1801
|
+
return /* @__PURE__ */ React__default.default.createElement(Table__default.default, {
|
|
1774
1802
|
className,
|
|
1775
1803
|
columns: columnDefinitions,
|
|
1776
1804
|
dataSource: items,
|
|
@@ -1927,7 +1955,7 @@ var __objRest = (source, exclude) => {
|
|
|
1927
1955
|
}
|
|
1928
1956
|
return target;
|
|
1929
1957
|
};
|
|
1930
|
-
const TabPane =
|
|
1958
|
+
const TabPane = AntdTabs__default.default.TabPane;
|
|
1931
1959
|
const tabPaneMeta = {
|
|
1932
1960
|
name: "AntdTabPane",
|
|
1933
1961
|
displayName: "Antd Tab Pane",
|
|
@@ -1980,7 +2008,7 @@ const tabPaneMeta = {
|
|
|
1980
2008
|
importName: "TabPane"
|
|
1981
2009
|
};
|
|
1982
2010
|
function registerTabPane(loader, customTabPaneMeta) {
|
|
1983
|
-
const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) :
|
|
2011
|
+
const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) : registerComponent__default.default(...args);
|
|
1984
2012
|
doRegisterComponent(TabPane, customTabPaneMeta != null ? customTabPaneMeta : tabPaneMeta);
|
|
1985
2013
|
}
|
|
1986
2014
|
function Tabs(props) {
|
|
@@ -1991,7 +2019,7 @@ function Tabs(props) {
|
|
|
1991
2019
|
"leftTabBarExtraContent",
|
|
1992
2020
|
"rightTabBarExtraContent"
|
|
1993
2021
|
]);
|
|
1994
|
-
return /* @__PURE__ */
|
|
2022
|
+
return /* @__PURE__ */ React__default.default.createElement(AntdTabs__default.default, __spreadProps(__spreadValues({}, otherProps), {
|
|
1995
2023
|
tabBarExtraContent: {
|
|
1996
2024
|
left: leftTabBarExtraContent,
|
|
1997
2025
|
right: rightTabBarExtraContent
|
|
@@ -2009,7 +2037,7 @@ function NavigateTabs({ componentProps, studioOps }) {
|
|
|
2009
2037
|
const currTabPos = activeKey ? tabPanes.findIndex((tabKey) => {
|
|
2010
2038
|
return tabKey === activeKey;
|
|
2011
2039
|
}) : 0;
|
|
2012
|
-
return /* @__PURE__ */
|
|
2040
|
+
return /* @__PURE__ */ React__default.default.createElement("div", {
|
|
2013
2041
|
style: {
|
|
2014
2042
|
width: "100%",
|
|
2015
2043
|
display: "flex",
|
|
@@ -2017,7 +2045,7 @@ function NavigateTabs({ componentProps, studioOps }) {
|
|
|
2017
2045
|
gap: "10px",
|
|
2018
2046
|
justifyContent: "space-between"
|
|
2019
2047
|
}
|
|
2020
|
-
}, /* @__PURE__ */
|
|
2048
|
+
}, /* @__PURE__ */ React__default.default.createElement(antd.Button, {
|
|
2021
2049
|
style: { width: "100%" },
|
|
2022
2050
|
onClick: () => {
|
|
2023
2051
|
if (tabPanes.length > 0) {
|
|
@@ -2025,7 +2053,7 @@ function NavigateTabs({ componentProps, studioOps }) {
|
|
|
2025
2053
|
studioOps.updateProps({ activeKey: tabPanes[prevTabPos] });
|
|
2026
2054
|
}
|
|
2027
2055
|
}
|
|
2028
|
-
}, "Prev tab"), /* @__PURE__ */
|
|
2056
|
+
}, "Prev tab"), /* @__PURE__ */ React__default.default.createElement(antd.Button, {
|
|
2029
2057
|
style: { width: "100%" },
|
|
2030
2058
|
onClick: () => {
|
|
2031
2059
|
if (tabPanes.length > 0) {
|
|
@@ -2036,7 +2064,7 @@ function NavigateTabs({ componentProps, studioOps }) {
|
|
|
2036
2064
|
}, "Next tab"));
|
|
2037
2065
|
}
|
|
2038
2066
|
function OutlineMessage() {
|
|
2039
|
-
return /* @__PURE__ */
|
|
2067
|
+
return /* @__PURE__ */ React__default.default.createElement("div", null, "* To re-arrange tab panes, use the Outline panel");
|
|
2040
2068
|
}
|
|
2041
2069
|
const tabsMeta = {
|
|
2042
2070
|
name: "AntdTabs",
|
|
@@ -2230,7 +2258,7 @@ const tabsMeta = {
|
|
|
2230
2258
|
importName: "Tabs"
|
|
2231
2259
|
};
|
|
2232
2260
|
function registerTabs(loader, customTabsMeta) {
|
|
2233
|
-
const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) :
|
|
2261
|
+
const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) : registerComponent__default.default(...args);
|
|
2234
2262
|
doRegisterComponent(Tabs, customTabsMeta != null ? customTabsMeta : tabsMeta);
|
|
2235
2263
|
}
|
|
2236
2264
|
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../src/registerButton.ts","../src/registerCarousel.ts","../src/customControls.ts","../src/registerCheckbox.tsx","../src/registerCollapse.tsx","../src/registerDropdown.tsx","../src/registerInput.ts","../src/registerMenu.ts","../src/registerOption.ts","../src/registerRate.ts","../src/registerSelect.ts","../src/registerSlider.tsx","../src/registerSwitch.ts","../src/registerTable.tsx","../src/registerTabs.tsx","../src/index.ts"],"sourcesContent":["import registerComponent, {\n ComponentMeta,\n} from \"@plasmicapp/host/registerComponent\";\nimport Button, { ButtonProps } from \"antd/lib/button\";\nimport { Registerable } from \"./registerable\";\nexport const buttonMeta: ComponentMeta<ButtonProps> = {\n name: \"AntdButton\",\n displayName: \"Antd Button\",\n props: {\n type: {\n type: \"choice\",\n options: [\"default\", \"primary\", \"ghost\", \"dashed\", \"link\", \"text\"],\n description: \"Can be set to primary, ghost, dashed, link, text, default\",\n defaultValueHint: \"default\",\n },\n size: {\n type: \"choice\",\n options: [\"small\", \"medium\", \"large\"],\n description: \"Set the size of button\",\n defaultValueHint: \"medium\",\n },\n shape: {\n type: \"choice\",\n options: [\"default\", \"circle\", \"round\"],\n description: \"Can be set button shape\",\n defaultValueHint: \"default\",\n },\n disabled: {\n type: \"boolean\",\n description: \"Disabled state of button\",\n defaultValueHint: false,\n },\n ghost: {\n type: \"boolean\",\n description:\n \"Make background transparent and invert text and border colors\",\n defaultValueHint: false,\n },\n danger: {\n type: \"boolean\",\n description: \"Set the danger status of button\",\n defaultValueHint: false,\n },\n block: {\n type: \"boolean\",\n description: \"Option to fit button width to its parent width\",\n defaultValueHint: false,\n },\n loading: {\n type: \"boolean\",\n description: \"Set the loading status of button\",\n defaultValueHint: false,\n },\n href: {\n type: \"string\",\n description: \"Redirect url of link button\",\n },\n target: {\n type: \"choice\",\n options: [\"_blank\", \"_self\", \"_parent\", \"_top\"],\n description:\n \"Same as target attribute of a, works when href is specified\",\n hidden: props => !props.href,\n defaultValueHint: \"_self\",\n },\n children: {\n type: \"slot\",\n defaultValue: [\n {\n type: \"text\",\n value: \"Button\",\n },\n ],\n },\n },\n importPath: \"antd/lib/button\",\n isDefaultExport: true,\n importName: \"Button\",\n};\n\nexport function registerButton(\n loader?: Registerable,\n customButtonMeta?: ComponentMeta<ButtonProps>\n) {\n const doRegisterComponent: typeof registerComponent = (...args) =>\n loader ? loader.registerComponent(...args) : registerComponent(...args);\n doRegisterComponent(Button, customButtonMeta ?? buttonMeta);\n}\n","import registerComponent, {\n ComponentMeta,\n} from \"@plasmicapp/host/registerComponent\";\nimport Carousel, { CarouselProps } from \"antd/lib/carousel\";\nimport { CSSProperties } from \"react\";\nimport { Registerable } from \"./registerable\";\n\nconst contentStyle: CSSProperties = {\n height: \"160px\",\n color: \"#fff\",\n lineHeight: \"160px\",\n textAlign: \"center\",\n backgroundColor: \"#364d79\",\n};\n\nexport const carouselMeta: ComponentMeta<CarouselProps> = {\n name: \"AntdCarousel\",\n displayName: \"Antd Carousel\",\n props: {\n autoplay: {\n type: \"boolean\",\n description: \"Whether to scroll automatically\",\n defaultValueHint: false,\n },\n dotPosition: {\n type: \"choice\",\n options: [\"top\", \"bottom\", \"left\", \"right\"],\n description: \"The position of the dots\",\n defaultValueHint: \"bottom\",\n },\n dots: {\n type: \"boolean\",\n description: \"Whether to show the dots at the bottom of the gallery\",\n defaultValueHint: true,\n },\n effect: {\n type: \"choice\",\n options: [\"scrollx\", \"fade\"],\n defaultValueHint: \"scrollx\",\n },\n children: {\n type: \"slot\",\n defaultValue: [\n {\n type: \"vbox\",\n children: {\n type: \"text\",\n value: \"1\",\n styles: contentStyle,\n },\n },\n {\n type: \"vbox\",\n children: {\n type: \"text\",\n value: \"2\",\n styles: contentStyle,\n },\n },\n ],\n },\n },\n importPath: \"antd/lib/carousel\",\n importName: \"Carousel\",\n isDefaultExport: true,\n};\n\nexport function registerCarousel(\n loader?: Registerable,\n customCarouselMeta?: ComponentMeta<CarouselProps>\n) {\n const doRegisterComponent: typeof registerComponent = (...args) =>\n loader ? loader.registerComponent(...args) : registerComponent(...args);\n doRegisterComponent(Carousel, customCarouselMeta ?? carouselMeta);\n}\n","import type React from \"react\";\n\ntype ReactElt = {\n children: ReactElt | ReactElt[];\n props: {\n children: ReactElt | ReactElt[];\n [prop: string]: any;\n } | null;\n type: React.ComponentType<any> | null;\n key: string | null;\n} | null;\n\n/**\n * Traverses the tree of elements from a `React.createElement`. Notice we can't\n * traverse elements created within the children's render function since this is\n * the tree before rendering.\n */\nexport function traverseReactEltTree(\n children: React.ReactNode,\n callback: (elt: ReactElt) => void\n) {\n const rec = (elts: ReactElt | ReactElt[] | null) => {\n (Array.isArray(elts) ? elts : [elts]).forEach((elt) => {\n if (elt) {\n callback(elt);\n if (elt.children) {\n rec(elt.children);\n }\n if (elt.props?.children && elt.props.children !== elt.children) {\n rec(elt.props.children);\n }\n }\n });\n };\n rec(children as any);\n}\n","import registerComponent, {\n ComponentMeta,\n} from \"@plasmicapp/host/registerComponent\";\nimport Checkbox, { CheckboxProps } from \"antd/lib/checkbox/Checkbox\";\nimport CheckboxGroup, { CheckboxGroupProps } from \"antd/lib/checkbox/Group\";\nimport React from \"react\";\nimport { traverseReactEltTree } from \"./customControls\";\nimport { Registerable } from \"./registerable\";\n\nclass CheckboxWrapper extends React.Component<CheckboxProps> {\n render() {\n return <Checkbox {...this.props} />;\n }\n}\n\nexport const checkboxMeta: ComponentMeta<CheckboxProps> = {\n name: \"AntdCheckbox\",\n displayName: \"Antd Checkbox\",\n props: {\n autoFocus: {\n type: \"boolean\",\n description: \"If get focus when component mounted\",\n defaultValueHint: false,\n },\n checked: {\n type: \"boolean\",\n editOnly: true,\n uncontrolledProp: \"defaultChecked\",\n description:\n \"Specifies the initial state: whether or not the checkbox is selected\",\n defaultValueHint: false,\n },\n disabled: {\n type: \"boolean\",\n description: \"If disable checkbox\",\n defaultValueHint: false,\n },\n indeterminate: {\n type: \"boolean\",\n description: \"The indeterminate checked state of checkbox\",\n defaultValueHint: false,\n },\n value: {\n type: \"string\",\n description: \"The checkbox value\",\n },\n children: {\n type: \"slot\",\n defaultValue: [\n {\n type: \"text\",\n value: \"Checkbox\",\n },\n ],\n },\n },\n importPath: \"antd/lib/checkbox/Checkbox\",\n importName: \"Checkbox\",\n defaultStyles: {\n marginLeft: 0,\n },\n isDefaultExport: true,\n};\n\nexport function registerCheckbox(\n loader?: Registerable,\n customCheckboxMeta?: ComponentMeta<CheckboxProps>\n) {\n const doRegisterComponent: typeof registerComponent = (...args) =>\n loader ? loader.registerComponent(...args) : registerComponent(...args);\n doRegisterComponent(CheckboxWrapper, customCheckboxMeta ?? checkboxMeta);\n}\n\nexport const checkboxGroupMeta: ComponentMeta<CheckboxGroupProps> = {\n name: \"AntdCheckboxGroup\",\n displayName: \"Antd Checkbox Group\",\n props: {\n disabled: {\n type: \"boolean\",\n description: \"If disable all checkboxes\",\n defaultValueHint: false,\n },\n value: {\n type: \"choice\",\n editOnly: true,\n uncontrolledProp: \"defaultValue\",\n description: \"Default selected value\",\n multiSelect: true,\n options: componentProps => {\n const options = new Set<string>();\n traverseReactEltTree(componentProps.children, elt => {\n if (\n elt?.type === CheckboxWrapper &&\n typeof elt?.props?.value === \"string\"\n ) {\n options.add(elt.props.value);\n }\n });\n return Array.from(options.keys());\n },\n },\n children: {\n type: \"slot\",\n allowedComponents: [\"AntdCheckbox\"],\n defaultValue: [\n {\n type: \"component\",\n name: \"AntdCheckbox\",\n },\n ],\n },\n },\n importPath: \"antd/lib/checkbox/Group\",\n importName: \"CheckboxGroup\",\n parentComponentName: \"AntdCheckbox\",\n isDefaultExport: true,\n};\n\nexport function registerCheckboxGroup(\n loader?: Registerable,\n customCheckboxGroupMeta?: ComponentMeta<CheckboxGroupProps>\n) {\n const doRegisterComponent: typeof registerComponent = (...args) =>\n loader ? loader.registerComponent(...args) : registerComponent(...args);\n doRegisterComponent(\n CheckboxGroup,\n customCheckboxGroupMeta ?? checkboxGroupMeta\n );\n}\n","import registerComponent, {\n ComponentMeta,\n} from \"@plasmicapp/host/registerComponent\";\nimport {\n CollapsePanelProps,\n CollapseProps as AntdCollapseProps,\n} from \"antd/lib/collapse\";\nimport AntdCollapse from \"antd/lib/collapse/Collapse\";\nimport CollapsePanel from \"antd/lib/collapse/CollapsePanel\";\nimport React from \"react\";\nimport { traverseReactEltTree } from \"./customControls\";\nimport { Registerable } from \"./registerable\";\n\nexport const collapstePanelMeta: ComponentMeta<CollapsePanelProps> = {\n name: \"AntdCollapsePanel\",\n displayName: \"Antd Collapse Panel\",\n props: {\n collapsible: {\n type: \"choice\",\n options: [\"header\", \"disabled\"],\n description:\n \"Specify whether the panel be collapsible or the trigger area of collapsible\",\n },\n forceRender: {\n type: \"boolean\",\n description:\n \"Forced render of content on panel, instead of lazy rending after clicking on header\",\n defaultValueHint: false,\n },\n header: {\n type: \"slot\",\n defaultValue: [\n {\n type: \"text\",\n value: \"Header\",\n },\n ],\n },\n key: {\n type: \"string\",\n description: \"Unique key identifying the panel from among its siblings\",\n },\n showArrow: {\n type: \"boolean\",\n description: \"If false, panel will not show arrow icon\",\n defaultValueHint: true,\n },\n extra: {\n type: \"slot\",\n hidePlaceholder: true,\n },\n children: {\n type: \"slot\",\n defaultValue: [\n {\n type: \"text\",\n value: \"Insert text here\",\n },\n ],\n },\n },\n importPath: \"antd/lib/collapse/CollapsePanel\",\n importName: \"CollapsePanel\",\n parentComponentName: \"AntdCollapse\",\n isDefaultExport: true,\n};\n\nexport function registerCollapsePanel(\n loader?: Registerable,\n customCollapsePanelMeta?: ComponentMeta<CollapsePanelProps>\n) {\n const doRegisterComponent: typeof registerComponent = (...args) =>\n loader ? loader.registerComponent(...args) : registerComponent(...args);\n doRegisterComponent(\n CollapsePanel,\n customCollapsePanelMeta ?? collapstePanelMeta\n );\n}\n\ntype CollapseProps = {\n openIcon?: React.ReactNode;\n closeIcon?: React.ReactNode;\n} & AntdCollapseProps;\n\nexport const collapsteMeta: ComponentMeta<CollapseProps> = {\n name: \"AntdCollapse\",\n displayName: \"Antd Collapse\",\n props: {\n accordion: {\n type: \"boolean\",\n description: \"If true, Collapse renders as Accordion\",\n defaultValueHint: false,\n },\n activeKey: {\n type: \"choice\",\n editOnly: true,\n uncontrolledProp: \"defaultActiveKey\",\n description: \"Key of the active panel\",\n multiSelect: true,\n options: (componentProps) => {\n const options = new Set<string>();\n // `children` is not defined in the Collapse props\n traverseReactEltTree((componentProps as any).children, (elt) => {\n if (elt?.type === CollapsePanel && typeof elt?.key === \"string\") {\n options.add(elt.key);\n }\n });\n return Array.from(options.keys());\n },\n },\n bordered: {\n type: \"boolean\",\n description: \"Toggles rendering of the border around the collapse block\",\n defaultValueHint: true,\n },\n collapsible: {\n type: \"choice\",\n options: [\"header\", \"disabled\"],\n description:\n \"Specify whether the panels of children be collapsible or the trigger area of collapsible\",\n },\n expandIconPosition: {\n type: \"choice\",\n options: [\"left\", \"right\"],\n description: \"Set expand icon position\",\n defaultValueHint: \"left\",\n },\n ghost: {\n type: \"boolean\",\n description:\n \"Make the collapse borderless and its background transparent\",\n defaultValueHint: false,\n },\n children: {\n type: \"slot\",\n allowedComponents: [\"AntdCollapsePanel\"],\n defaultValue: [\n {\n type: \"component\",\n name: \"AntdCollapsePanel\",\n props: {\n key: \"1\",\n },\n },\n ],\n },\n openIcon: {\n type: \"slot\",\n hidePlaceholder: true,\n },\n closeIcon: {\n type: \"slot\",\n hidePlaceholder: true,\n },\n },\n importPath: \"@plasmicpkgs/antd/skinny/registerCollapse\",\n importName: \"Collapse\",\n};\n\nexport function Collapse(props: CollapseProps) {\n const { openIcon, closeIcon, ...rest } = props;\n return (\n <AntdCollapse\n {...rest}\n expandIcon={\n openIcon || closeIcon\n ? ({ isActive }) => (isActive ? openIcon : closeIcon)\n : undefined\n }\n />\n );\n}\n\nexport function registerCollapse(\n loader?: Registerable,\n customCollapseMeta?: ComponentMeta<CollapseProps>\n) {\n const doRegisterComponent: typeof registerComponent = (...args) =>\n loader ? loader.registerComponent(...args) : registerComponent(...args);\n doRegisterComponent(Collapse, customCollapseMeta ?? collapsteMeta);\n}\n","import registerComponent, {\n ComponentMeta,\n} from \"@plasmicapp/host/registerComponent\";\nimport AntdDropdown, {\n DropdownButtonProps,\n DropDownProps,\n} from \"antd/lib/dropdown\";\nimport DropdownButton from \"antd/lib/dropdown/dropdown-button\";\nimport React from \"react\";\nimport { Registerable } from \"./registerable\";\n\nexport class Dropdown extends React.Component<DropDownProps> {\n render() {\n const thisProps = this.props as any;\n const finalProps = { ...thisProps };\n finalProps.children =\n typeof thisProps.children === \"string\" ? (\n <div>{thisProps.children}</div>\n ) : (\n thisProps.children\n );\n return <AntdDropdown {...finalProps}>{}</AntdDropdown>;\n }\n}\n\nexport const dropdownMeta: ComponentMeta<DropDownProps> = {\n name: \"AntdDropdown\",\n displayName: \"Antd Dropdown\",\n props: {\n arrow: {\n type: \"boolean\",\n description: \"Whether the dropdown arrow should be visible\",\n defaultValueHint: false,\n },\n disabled: {\n type: \"boolean\",\n description: \"Whether the dropdown menu is disabled\",\n defaultValueHint: false,\n },\n overlay: {\n type: \"slot\",\n allowedComponents: [\"AntdMenu\"],\n defaultValue: [\n {\n type: \"component\",\n name: \"AntdMenu\",\n },\n ],\n },\n placement: {\n type: \"choice\",\n options: [\n \"bottomLeft\",\n \"bottomCenter\",\n \"bottomRight\",\n \"topLeft\",\n \"topCenter\",\n \"topRight\",\n ],\n description: \"Placement of popup menu\",\n defaultValueHint: \"bottomLeft\",\n },\n trigger: {\n type: \"choice\",\n options: [\"click\", \"hover\", \"contextMenu\"],\n description: \"The trigger mode which executes the dropdown action\",\n defaultValueHint: \"hover\",\n },\n visible: {\n type: \"boolean\",\n description: \"Toggle visibility of dropdown menu in Plasmic Editor\",\n editOnly: true,\n defaultValueHint: false,\n },\n children: {\n type: \"slot\",\n defaultValue: [\n {\n type: \"text\",\n value: \"Dropdown\",\n },\n ],\n },\n },\n importPath: \"@plasmicpkgs/antd/skinny/registerDropdown\",\n importName: \"Dropdown\",\n};\n\nexport function registerDropdown(\n loader?: Registerable,\n customDropdownMeta?: ComponentMeta<DropDownProps>\n) {\n const doRegisterComponent: typeof registerComponent = (...args) =>\n loader ? loader.registerComponent(...args) : registerComponent(...args);\n doRegisterComponent(Dropdown, customDropdownMeta ?? dropdownMeta);\n}\n\nexport const dropdownButtonMeta: ComponentMeta<DropdownButtonProps> = {\n name: \"AntdDropdownButton\",\n displayName: \"Antd Dropdown Button\",\n props: {\n disabled: {\n type: \"boolean\",\n description: \"Whether the dropdown menu is disabled\",\n defaultValueHint: false,\n },\n icon: {\n type: \"slot\",\n hidePlaceholder: true,\n },\n overlay: {\n type: \"slot\",\n allowedComponents: [\"AntdMenu\"],\n defaultValue: [\n {\n type: \"component\",\n name: \"AntdMenu\",\n },\n ],\n },\n placement: {\n type: \"choice\",\n options: [\n \"bottomLeft\",\n \"bottomCenter\",\n \"bottomRight\",\n \"topLeft\",\n \"topCenter\",\n \"topRight\",\n ],\n description: \"Placement of popup menu\",\n defaultValueHint: \"bottomLeft\",\n },\n size: {\n type: \"choice\",\n options: [\"small\", \"medium\", \"large\"],\n description: \"Set the size of button\",\n defaultValueHint: \"medium\",\n },\n trigger: {\n type: \"choice\",\n options: [\"click\", \"hover\", \"contextMenu\"],\n description: \"The trigger mode which executes the dropdown action\",\n defaultValueHint: \"hover\",\n },\n type: {\n type: \"choice\",\n options: [\"default\", \"primary\", \"ghost\", \"dashed\", \"link\", \"text\"],\n description: \"Can be set to primary, ghost, dashed, link, text, default\",\n defaultValueHint: \"default\",\n },\n visible: {\n type: \"boolean\",\n description: \"Toggle visibility of dropdown menu in Plasmic Editor\",\n editOnly: true,\n defaultValueHint: false,\n },\n children: {\n type: \"slot\",\n defaultValue: [\n {\n type: \"text\",\n value: \"Dropdown\",\n },\n ],\n },\n },\n importPath: \"antd/lib/dropdown/dropdown-button\",\n importName: \"DropdownButton\",\n parentComponentName: \"AntdDropdown\",\n isDefaultExport: true,\n};\n\nexport function registerDropdownButton(\n loader?: Registerable,\n customDropdownButtonMeta?: ComponentMeta<DropDownProps>\n) {\n const doRegisterComponent: typeof registerComponent = (...args) =>\n loader ? loader.registerComponent(...args) : registerComponent(...args);\n doRegisterComponent(\n DropdownButton,\n customDropdownButtonMeta ?? dropdownButtonMeta\n );\n}\n","import registerComponent, {\n ComponentMeta,\n} from \"@plasmicapp/host/registerComponent\";\nimport Input, { InputProps } from \"antd/lib/input\";\nimport {\n GroupProps,\n PasswordProps,\n SearchProps,\n TextAreaProps,\n} from \"antd/lib/input\";\nimport InputGroup from \"antd/lib/input/Group\";\nimport Password from \"antd/lib/input/Password\";\nimport Search from \"antd/lib/input/Search\";\nimport TextArea from \"antd/lib/input/TextArea\";\nimport { Registerable } from \"./registerable\";\n\nfunction sortObjectKeys<T extends {}>(obj: T): T {\n return Object.fromEntries(Object.entries(obj).sort()) as T;\n}\n\ntype PropSpec<T> = ComponentMeta<T>[\"props\"];\n\nfunction sortProps<T>(props: PropSpec<T>): PropSpec<T> {\n return sortObjectKeys(props);\n}\n\nconst commonHtmlAttributes = {\n \"aria-label\": {\n type: \"string\",\n description: \"The ARIA label for this input\",\n },\n \"aria-labelledby\": {\n type: \"string\",\n description: \"Identifies the element(s) that labels this input\",\n },\n name: {\n type: \"string\",\n description: \"The HTML name of the input\",\n },\n} as const;\n\nexport const inputMeta: ComponentMeta<InputProps> = {\n name: \"AntdInput\",\n displayName: \"Antd Input\",\n props: sortProps<InputProps>({\n ...commonHtmlAttributes,\n addonAfter: {\n type: \"slot\",\n hidePlaceholder: true,\n },\n addonBefore: {\n type: \"slot\",\n hidePlaceholder: true,\n },\n allowClear: {\n type: \"boolean\",\n description: \"If allow to remove input content with clear icon\",\n defaultValueHint: false,\n },\n bordered: {\n type: \"boolean\",\n description: \"Whether has border style\",\n defaultValueHint: true,\n },\n disabled: {\n type: \"boolean\",\n description: \"Whether the input is disabled\",\n defaultValueHint: false,\n },\n id: {\n type: \"string\",\n description: \"The ID for input\",\n },\n maxLength: {\n type: \"number\",\n description: \"The max length\",\n },\n placeholder: {\n type: \"string\",\n description: \"Placeholder for the input\",\n },\n prefix: {\n type: \"slot\",\n hidePlaceholder: true,\n },\n size: {\n type: \"choice\",\n options: [\"small\", \"middle\", \"large\"],\n description: \"The size of the input box\",\n defaultValueHint: \"middle,\",\n },\n suffix: {\n type: \"slot\",\n hidePlaceholder: true,\n },\n type: {\n type: \"string\",\n description: \"The type of input\",\n defaultValueHint: \"text\",\n },\n value: {\n type: \"string\",\n editOnly: true,\n uncontrolledProp: \"defaultValue\",\n },\n }),\n importPath: \"antd/lib/input\",\n importName: \"Input\",\n isDefaultExport: true,\n};\n\nexport function registerInput(\n loader?: Registerable,\n customInputMeta?: ComponentMeta<InputProps>\n) {\n const doRegisterComponent: typeof registerComponent = (...args) =>\n loader ? loader.registerComponent(...args) : registerComponent(...args);\n doRegisterComponent(Input, customInputMeta ?? inputMeta);\n}\n\nexport const inputTextAreaMeta: ComponentMeta<TextAreaProps> = {\n name: \"AntdInputTextArea\",\n displayName: \"Antd Input Text Area\",\n props: sortProps<TextAreaProps>({\n ...commonHtmlAttributes,\n allowClear: {\n type: \"boolean\",\n description: \"If allow to remove input content with clear icon\",\n defaultValueHint: false,\n },\n autoSize: {\n type: \"object\",\n description:\n \"Height autosize feature, can be set to true | false or an object { minRows: 2, maxRows: 6 }\",\n },\n disabled: {\n type: \"boolean\",\n description: \"Whether the input is disabled\",\n defaultValueHint: false,\n },\n bordered: {\n type: \"boolean\",\n description: \"Whether has border style\",\n defaultValueHint: true,\n },\n showCount: {\n type: \"boolean\",\n description: \"Whether show text count\",\n defaultValueHint: false,\n },\n id: {\n type: \"string\",\n description: \"The ID for input\",\n },\n maxLength: {\n type: \"number\",\n description: \"The max length\",\n },\n placeholder: {\n type: \"string\",\n description: \"Placeholder for the input\",\n },\n value: {\n type: \"string\",\n editOnly: true,\n uncontrolledProp: \"defaultValue\",\n },\n }),\n importPath: \"antd/lib/input/TextArea\",\n importName: \"TextArea\",\n isDefaultExport: true,\n parentComponentName: \"AntdInput\",\n};\n\nexport function registerInputTextArea(\n loader?: Registerable,\n customInputTextAreaMeta?: ComponentMeta<TextAreaProps>\n) {\n const doRegisterComponent: typeof registerComponent = (...args) =>\n loader ? loader.registerComponent(...args) : registerComponent(...args);\n doRegisterComponent(TextArea, customInputTextAreaMeta ?? inputTextAreaMeta);\n}\n\nexport const inputSearchMeta: ComponentMeta<SearchProps> = {\n name: \"AntdInputSearch\",\n displayName: \"Antd Input Search\",\n props: sortProps<SearchProps>({\n ...commonHtmlAttributes,\n addonBefore: {\n type: \"slot\",\n hidePlaceholder: true,\n },\n allowClear: {\n type: \"boolean\",\n description: \"If allow to remove input content with clear icon\",\n defaultValueHint: false,\n },\n bordered: {\n type: \"boolean\",\n description: \"Whether has border style\",\n defaultValueHint: true,\n },\n disabled: {\n type: \"boolean\",\n description: \"Whether the input is disabled\",\n defaultValueHint: false,\n },\n enterButton: {\n type: \"slot\",\n hidePlaceholder: true,\n },\n id: {\n type: \"string\",\n description: \"The ID for input\",\n },\n loading: {\n type: \"boolean\",\n description: \"Search box with loading\",\n defaultValueHint: false,\n },\n maxLength: {\n type: \"number\",\n description: \"The max length\",\n },\n placeholder: {\n type: \"string\",\n description: \"Placeholder for the input\",\n },\n prefix: {\n type: \"slot\",\n hidePlaceholder: true,\n },\n size: {\n type: \"choice\",\n options: [\"small\", \"middle\", \"large\"],\n description: \"The size of the input box\",\n defaultValueHint: \"middle\",\n },\n suffix: {\n type: \"slot\",\n hidePlaceholder: true,\n },\n type: {\n type: \"string\",\n description: \"The type of input\",\n },\n value: {\n type: \"string\",\n editOnly: true,\n uncontrolledProp: \"defaultValue\",\n },\n }),\n importPath: \"antd/lib/input/Search\",\n importName: \"Search\",\n isDefaultExport: true,\n parentComponentName: \"AntdInput\",\n};\n\nexport function registerInputSearch(\n loader?: Registerable,\n customInputSearchMeta?: ComponentMeta<SearchProps>\n) {\n const doRegisterComponent: typeof registerComponent = (...args) =>\n loader ? loader.registerComponent(...args) : registerComponent(...args);\n doRegisterComponent(Search, customInputSearchMeta ?? inputSearchMeta);\n}\n\nexport const inputPasswordMeta: ComponentMeta<PasswordProps> = {\n name: \"AntdInputPassword\",\n displayName: \"Antd Input Password\",\n props: sortProps<PasswordProps>({\n ...commonHtmlAttributes,\n addonAfter: {\n type: \"slot\",\n hidePlaceholder: true,\n },\n addonBefore: {\n type: \"slot\",\n hidePlaceholder: true,\n },\n allowClear: {\n type: \"boolean\",\n description: \"If allow to remove input content with clear icon\",\n defaultValueHint: false,\n },\n bordered: {\n type: \"boolean\",\n description: \"Whether has border style\",\n defaultValueHint: true,\n },\n disabled: {\n type: \"boolean\",\n description: \"Whether the input is disabled\",\n defaultValueHint: false,\n },\n id: {\n type: \"string\",\n description: \"The ID for input\",\n },\n maxLength: {\n type: \"number\",\n description: \"The max length\",\n },\n placeholder: {\n type: \"string\",\n description: \"Placeholder for the input\",\n },\n prefix: {\n type: \"slot\",\n hidePlaceholder: true,\n },\n size: {\n type: \"choice\",\n options: [\"small\", \"middle\", \"large\"],\n description: \"The size of the input box\",\n defaultValueHint: \"middle\",\n },\n type: {\n type: \"string\",\n description: \"The type of input\",\n },\n value: {\n type: \"string\",\n editOnly: true,\n uncontrolledProp: \"defaultValue\",\n },\n visibilityToggle: {\n type: \"boolean\",\n description: \"Whether show toggle button\",\n defaultValueHint: true,\n },\n }),\n importPath: \"antd/lib/input/Password\",\n importName: \"Password\",\n isDefaultExport: true,\n parentComponentName: \"AntdInput\",\n};\n\nexport function registerInputPassword(\n loader?: Registerable,\n customInputPasswordMeta?: ComponentMeta<PasswordProps>\n) {\n const doRegisterComponent: typeof registerComponent = (...args) =>\n loader ? loader.registerComponent(...args) : registerComponent(...args);\n doRegisterComponent(Password, customInputPasswordMeta ?? inputPasswordMeta);\n}\n\nexport const inputGroupMeta: ComponentMeta<GroupProps> = {\n name: \"AntdInputGroup\",\n displayName: \"Antd Input Group\",\n props: {\n compact: {\n type: \"boolean\",\n description: \"Whether use compact style\",\n defaultValueHint: false,\n },\n size: {\n type: \"choice\",\n options: [\"small\", \"default\", \"large\"],\n description:\n \"The size of Input.Group specifies the size of the included Input fields\",\n defaultValueHint: \"default\",\n },\n children: {\n type: \"slot\",\n defaultValue: [\n {\n type: \"component\",\n name: \"AntdInput\",\n },\n {\n type: \"component\",\n name: \"AntdInput\",\n },\n ],\n },\n },\n importPath: \"antd/lib/input/Group\",\n importName: \"InputGroup\",\n isDefaultExport: true,\n parentComponentName: \"AntdInput\",\n};\n\nexport function registerInputGroup(\n loader?: Registerable,\n customInputGroupMeta?: ComponentMeta<GroupProps>\n) {\n const doRegisterComponent: typeof registerComponent = (...args) =>\n loader ? loader.registerComponent(...args) : registerComponent(...args);\n doRegisterComponent(InputGroup, customInputGroupMeta ?? inputGroupMeta);\n}\n","import registerComponent, {\n ComponentMeta,\n} from \"@plasmicapp/host/registerComponent\";\nimport { MenuItemProps, MenuProps, SubMenuProps } from \"antd/lib/menu\";\nimport { MenuDividerProps } from \"antd/lib/menu\";\nimport Menu from \"antd/lib/menu/index\";\nimport MenuDivider from \"antd/lib/menu/MenuDivider\";\nimport MenuItem from \"antd/lib/menu/MenuItem\";\nimport SubMenu from \"antd/lib/menu/SubMenu\";\nimport { ItemGroup, MenuItemGroupProps } from \"rc-menu\";\nimport { traverseReactEltTree } from \"./customControls\";\nimport { Registerable } from \"./registerable\";\n\nexport const menuDividerMeta: ComponentMeta<MenuDividerProps> = {\n name: \"AntdMenuDivider\",\n displayName: \"Antd Menu Divider\",\n props: {\n dashed: {\n type: \"boolean\",\n description: \"Whether line is dashed\",\n defaultValueHint: false,\n },\n },\n importPath: \"antd/lib/menu/MenuDivider\",\n importName: \"MenuDivider\",\n isDefaultExport: true,\n parentComponentName: \"AntdMenu\",\n};\n\nexport function registerMenuDivider(\n loader?: Registerable,\n customMenuDividerMeta?: ComponentMeta<MenuDividerProps>\n) {\n const doRegisterComponent: typeof registerComponent = (...args) =>\n loader ? loader.registerComponent(...args) : registerComponent(...args);\n doRegisterComponent(MenuDivider, customMenuDividerMeta ?? menuDividerMeta);\n}\n\nexport const menuItemMeta: ComponentMeta<MenuItemProps> = {\n name: \"AntdMenuItem\",\n displayName: \"Antd Menu Item\",\n props: {\n danger: {\n type: \"boolean\",\n description: \"Display the danger style\",\n defaultValueHint: false,\n },\n disabled: {\n type: \"boolean\",\n description: \"Whether disabled select\",\n defaultValueHint: false,\n },\n key: {\n type: \"string\",\n description: \"Unique ID of the menu item\",\n defaultValue: \"menuItemKey\",\n },\n title: {\n type: \"string\",\n description: \"Set display title for collapsed item\",\n },\n children: {\n type: \"slot\",\n defaultValue: [\n {\n type: \"text\",\n value: \"Option\",\n },\n ],\n },\n },\n importPath: \"antd/lib/menu/MenuItem\",\n importName: \"MenuItem\",\n isDefaultExport: true,\n parentComponentName: \"AntdMenu\",\n};\n\nexport function registerMenuItem(\n loader?: Registerable,\n customMenuItemMeta?: ComponentMeta<MenuItemProps>\n) {\n const doRegisterComponent: typeof registerComponent = (...args) =>\n loader ? loader.registerComponent(...args) : registerComponent(...args);\n doRegisterComponent(MenuItem, customMenuItemMeta ?? menuItemMeta);\n}\n\nexport const menuItemGroupMeta: ComponentMeta<MenuItemGroupProps> = {\n name: \"AntdMenuItemGroup\",\n displayName: \"Antd Menu Item Group\",\n props: {\n title: {\n type: \"slot\",\n defaultValue: [\n {\n type: \"text\",\n value: \"Group\",\n },\n ],\n },\n children: {\n type: \"slot\",\n allowedComponents: [\n \"AntdMenuItem\",\n \"AntdMenuDivider\",\n \"AntdMenuItemGroup\",\n ],\n defaultValue: [\n {\n type: \"component\",\n name: \"AntdMenuItem\",\n },\n ],\n },\n },\n importPath: \"rc-menu\",\n importName: \"ItemGroup\",\n parentComponentName: \"AntdMenu\",\n};\n\nexport function registerMenuItemGroup(\n loader?: Registerable,\n customMenuItemGroupMeta?: ComponentMeta<MenuItemProps>\n) {\n const doRegisterComponent: typeof registerComponent = (...args) =>\n loader ? loader.registerComponent(...args) : registerComponent(...args);\n doRegisterComponent(ItemGroup, customMenuItemGroupMeta ?? menuItemGroupMeta);\n}\n\nexport const subMenuMeta: ComponentMeta<SubMenuProps> = {\n name: \"AntdSubMenu\",\n displayName: \"Antd SubMenu\",\n props: {\n disabled: {\n type: \"boolean\",\n description: \"Whether sub-menu is disabled\",\n defaultValueHint: false,\n },\n key: {\n type: \"string\",\n description: \"Unique ID of the sub-menu\",\n defaultValue: \"subMenuKey\",\n },\n title: {\n type: \"slot\",\n defaultValue: [\n {\n type: \"text\",\n value: \"Sub-menu\",\n },\n ],\n },\n children: {\n type: \"slot\",\n allowedComponents: [\n \"AntdMenuItem\",\n \"AntdMenuDivider\",\n \"AntdMenuItemGroup\",\n \"AntdSubMenu\",\n ],\n defaultValue: [1, 2].map((i) => ({\n type: \"component\",\n name: \"AntdMenuItem\",\n props: {\n key: `subMenuItemKey${i}`,\n children: [\n {\n type: \"text\",\n value: `Sub-menu item ${i}`,\n },\n ],\n },\n })),\n },\n },\n importPath: \"antd/lib/menu/SubMenu\",\n importName: \"SubMenu\",\n isDefaultExport: true,\n parentComponentName: \"AntdMenu\",\n};\n\nexport function registerSubMenu(\n loader?: Registerable,\n customSubMenuMeta?: ComponentMeta<SubMenuProps>\n) {\n const doRegisterComponent: typeof registerComponent = (...args) =>\n loader ? loader.registerComponent(...args) : registerComponent(...args);\n doRegisterComponent(SubMenu, customSubMenuMeta ?? subMenuMeta);\n}\n\nexport const menuMeta: ComponentMeta<MenuProps> = {\n name: \"AntdMenu\",\n displayName: \"Antd Menu\",\n props: {\n expandIcon: {\n type: \"slot\",\n hidePlaceholder: true,\n },\n forceSubMenuRender: {\n type: \"boolean\",\n description: \"Render submenu into DOM before it becomes visible\",\n defaultValueHint: false,\n },\n inlineIndent: {\n type: \"number\",\n description: \"Indent (in pixels) of inline menu items on each level\",\n defaultValueHint: 24,\n },\n mode: {\n type: \"choice\",\n options: [\"horizontal\", \"vertical\", \"inline\"],\n description: \"Type of menu\",\n defaultValueHint: \"vertical\",\n },\n multiple: {\n type: \"boolean\",\n description: \"Allows selection of multiple items\",\n defaultValueHint: false,\n },\n openKeys: {\n type: \"choice\",\n editOnly: true,\n uncontrolledProp: \"defaultOpenKeys\",\n description: \"Array with the keys of default opened sub menus\",\n multiSelect: true,\n options: componentProps => {\n const options = new Set<string>();\n traverseReactEltTree(componentProps.children, elt => {\n if (elt?.type === SubMenu && typeof elt?.key === \"string\") {\n options.add(elt.key);\n }\n });\n return Array.from(options.keys());\n },\n },\n overflowedIndicator: {\n type: \"slot\",\n hidePlaceholder: true,\n },\n selectable: {\n type: \"boolean\",\n description: \"Allows selecting menu items\",\n defaultValueHint: true,\n },\n selectedKeys: {\n type: \"choice\",\n editOnly: true,\n uncontrolledProp: \"defaultSelectedKeys\",\n description: \"Array with the keys of default selected menu items\",\n multiSelect: true,\n options: componentProps => {\n const options = new Set<string>();\n traverseReactEltTree(componentProps.children, elt => {\n if (\n [SubMenu, MenuItem as any].includes(elt?.type) &&\n typeof elt?.key === \"string\"\n ) {\n options.add(elt.key);\n }\n });\n return Array.from(options.keys());\n },\n },\n subMenuCloseDelay: {\n type: \"number\",\n description: \"Delay time to hide submenu when mouse leaves (in seconds)\",\n defaultValueHint: 0.1,\n },\n subMenuOpenDelay: {\n type: \"number\",\n description: \"Delay time to show submenu when mouse enters, (in seconds)\",\n defaultValueHint: 0,\n },\n theme: {\n type: \"choice\",\n options: [\"light\", \"dark\"],\n description: \"Color theme of the menu\",\n defaultValueHint: \"light\",\n },\n triggerSubMenuAction: {\n type: \"choice\",\n options: [\"hover\", \"click\"],\n description: \"Which action can trigger submenu open/close\",\n defaultValueHint: \"hover\",\n },\n children: {\n type: \"slot\",\n allowedComponents: [\"AntdMenuItem\", \"AntdMenuDivider\", \"AntdSubMenu\"],\n defaultValue: [\n {\n type: \"component\",\n name: \"AntdMenuItem\",\n },\n {\n type: \"component\",\n name: \"AntdSubMenu\",\n },\n ],\n },\n },\n importPath: \"antd/lib/menu/index\",\n importName: \"Menu\",\n isDefaultExport: true,\n};\n\nexport function registerMenu(\n loader?: Registerable,\n customMenuMeta?: ComponentMeta<MenuProps>\n) {\n const doRegisterComponent: typeof registerComponent = (...args) =>\n loader ? loader.registerComponent(...args) : registerComponent(...args);\n doRegisterComponent(Menu, customMenuMeta ?? menuMeta);\n}\n","import registerComponent, {\n ComponentMeta,\n} from \"@plasmicapp/host/registerComponent\";\nimport { OptGroup, Option } from \"rc-select\";\nimport { OptGroupProps } from \"rc-select/lib/OptGroup\";\nimport { OptionProps } from \"rc-select/lib/Option\";\nimport { Registerable } from \"./registerable\";\n\nexport const optionMeta: ComponentMeta<OptionProps> = {\n name: \"AntdOption\",\n displayName: \"Antd Option\",\n props: {\n disabled: {\n type: \"boolean\",\n description: \"Disable this option\",\n defaultValueHint: false,\n },\n title: {\n type: \"string\",\n description: \"title of Select after select this Option\",\n },\n value: {\n type: \"string\",\n description: \"Default to filter with this property\",\n },\n key: {\n type: \"string\",\n description: \"Option key\",\n },\n children: {\n type: \"slot\",\n defaultValue: [\n {\n type: \"text\",\n value: \"Option\",\n },\n ],\n },\n },\n importPath: \"rc-select\",\n importName: \"Option\",\n parentComponentName: \"AntdSelect\",\n};\n\nexport function registerOption(\n loader?: Registerable,\n customOptionMeta?: ComponentMeta<OptionProps>\n) {\n const doRegisterComponent: typeof registerComponent = (...args) =>\n loader ? loader.registerComponent(...args) : registerComponent(...args);\n doRegisterComponent(Option, customOptionMeta ?? optionMeta);\n}\n\nexport const optGroupMeta: ComponentMeta<OptGroupProps> = {\n name: \"AntdOptionGroup\",\n displayName: \"Antd Option Group\",\n props: {\n key: {\n type: \"string\",\n description: \"Group key\",\n },\n label: {\n type: \"string\",\n description: \"Group label\",\n },\n children: {\n type: \"slot\",\n allowedComponents: [\"AntdOption\"],\n defaultValue: [\n {\n type: \"component\",\n name: \"AntdOption\",\n },\n ],\n },\n },\n importPath: \"rc-select\",\n importName: \"OptGroup\",\n parentComponentName: \"AntdSelect\",\n};\n\nexport function registerOptGroup(\n loader?: Registerable,\n customOptGroupMeta?: ComponentMeta<OptGroupProps>\n) {\n const doRegisterComponent: typeof registerComponent = (...args) =>\n loader ? loader.registerComponent(...args) : registerComponent(...args);\n doRegisterComponent(OptGroup, customOptGroupMeta ?? optGroupMeta);\n}\n","import registerComponent, {\n ComponentMeta,\n} from \"@plasmicapp/host/registerComponent\";\nimport Rate, { RateProps } from \"antd/lib/rate\";\nimport { Registerable } from \"./registerable\";\n\nexport const rateMeta: ComponentMeta<RateProps> = {\n name: \"AntdRate\",\n displayName: \"Antd Rate\",\n props: {\n allowClear: {\n type: \"boolean\",\n description: \"Whether to allow clear when clicking again\",\n defaultValueHint: true,\n },\n allowHalf: {\n type: \"boolean\",\n description: \"Whether to allow semi selection\",\n defaultValueHint: false,\n },\n autoFocus: {\n type: \"boolean\",\n description: \"If componet is focused when mounted\",\n defaultValueHint: false,\n },\n count: {\n type: \"number\",\n description: \"Star count\",\n },\n disabled: {\n type: \"boolean\",\n description: \"Disabled state of component\",\n defaultValueHint: false,\n },\n tooltips: {\n type: \"array\",\n description: \"Array to customize tooltip for each icon\",\n },\n value: {\n type: \"number\",\n description: \"The default value\",\n editOnly: true,\n uncontrolledProp: \"defaultValue\",\n defaultValueHint: 0,\n },\n character: {\n type: \"slot\",\n hidePlaceholder: true,\n },\n },\n importPath: \"antd/lib/rate\",\n importName: \"Rate\",\n isDefaultExport: true,\n};\n\nexport function registerRate(\n loader?: Registerable,\n customRateMeta?: ComponentMeta<RateProps>\n) {\n const doRegisterComponent: typeof registerComponent = (...args) =>\n loader ? loader.registerComponent(...args) : registerComponent(...args);\n doRegisterComponent(Rate, customRateMeta ?? rateMeta);\n}\n","import registerComponent, {\n ComponentMeta,\n} from \"@plasmicapp/host/registerComponent\";\nimport Select from \"antd/lib/select\";\nimport { Option } from \"rc-select\";\nimport React from \"react\";\nimport { traverseReactEltTree } from \"./customControls\";\nimport { Registerable } from \"./registerable\";\n\ntype SelectProps = React.ComponentProps<typeof Select>;\n\nexport const selectMeta: ComponentMeta<SelectProps> = {\n name: \"AntdSelect\",\n displayName: \"Antd Select\",\n props: {\n allowClear: {\n type: \"boolean\",\n description: \"Show clear button\",\n defaultValueHint: false,\n },\n autoClearSearchValue: {\n type: \"boolean\",\n description:\n \"Whether the current search will be cleared on selecting an item\",\n defaultValueHint: true,\n hidden: props => props.mode !== \"multiple\" && props.mode !== \"tags\",\n },\n autoFocus: {\n type: \"boolean\",\n description: \"Get focus by default\",\n defaultValueHint: false,\n },\n bordered: {\n type: \"boolean\",\n description: \"Whether has border style\",\n defaultValueHint: true,\n },\n disabled: {\n type: \"boolean\",\n description: \"Whether disabled select\",\n defaultValueHint: false,\n },\n listHeight: {\n type: \"number\",\n description: \"Config popup height\",\n defaultValueHint: 256,\n },\n loading: {\n type: \"boolean\",\n description: \"Indicate loading state\",\n defaultValueHint: false,\n },\n mode: {\n type: \"choice\",\n options: [\"multiple\", \"tags\"],\n description: \"Set mode of Select\",\n },\n open: {\n type: \"boolean\",\n editOnly: true,\n uncontrolledProp: \"defaultOpen\",\n description: \"Initial open state of dropdown\",\n defaultValueHint: false,\n },\n placeholder: {\n type: \"slot\",\n defaultValue: [\n {\n type: \"text\",\n value: \"Select\",\n },\n ],\n },\n showArrow: {\n type: \"boolean\",\n description: \"Whether to show the drop-down arrow\",\n defaultValueHint: true,\n },\n showSearch: {\n type: \"boolean\",\n description: \"Whether show search input in single mode\",\n defaultValueHint: false,\n },\n size: {\n type: \"choice\",\n options: [\"large\", \"middle\", \"small\"],\n description: \"Set mode of Select\",\n defaultValueHint: \"middle\",\n },\n value: {\n type: \"choice\",\n editOnly: true,\n uncontrolledProp: \"defaultValue\",\n description: \"Initial selected option\",\n options: componentProps => {\n const options = new Set<string>();\n traverseReactEltTree(componentProps.children, elt => {\n if (elt?.type === Option && typeof elt?.props?.value === \"string\") {\n options.add(elt.props.value);\n }\n });\n return Array.from(options.keys());\n },\n },\n virtual: {\n type: \"boolean\",\n description: \"Disable virtual scroll when set to false\",\n defaultValueHint: true,\n },\n children: {\n type: \"slot\",\n allowedComponents: [\"AntdOption, AntdOptionGroup\"],\n defaultValue: [\n {\n type: \"component\",\n name: \"AntdOption\",\n props: {\n value: \"Option\",\n children: {\n type: \"text\",\n value: \"Option\",\n },\n },\n },\n ],\n },\n },\n importPath: \"antd/lib/select\",\n importName: \"Select\",\n isDefaultExport: true,\n};\n\nexport function registerSelect(\n loader?: Registerable,\n customSelectMeta?: ComponentMeta<SelectProps>\n) {\n const doRegisterComponent: typeof registerComponent = (...args) =>\n loader ? loader.registerComponent(...args) : registerComponent(...args);\n doRegisterComponent(Select, customSelectMeta ?? selectMeta);\n}\n","import registerComponent, {\n ComponentMeta,\n} from \"@plasmicapp/host/registerComponent\";\nimport { default as AntdSlider } from \"antd/lib/slider\";\nimport type { SliderRangeProps, SliderSingleProps } from \"antd/lib/slider\";\nimport React from \"react\";\nimport { Registerable } from \"./registerable\";\n\ntype SliderProps = Omit<\n SliderSingleProps | SliderRangeProps,\n \"value\" | \"defaultValue\"\n> & {\n value?: number;\n defaultValue?: number;\n value2?: number;\n defaultValue2?: number;\n};\n\nexport const Slider = React.forwardRef<unknown, SliderProps>(\n ({ value, defaultValue, value2, defaultValue2, ...props }, ref) => {\n const newProps = { ...props } as SliderSingleProps | SliderRangeProps;\n if (props.range) {\n if (typeof value === \"number\" || typeof value2 === \"number\") {\n newProps.value = [value ?? 0, value2 ?? 0];\n }\n if (\n typeof defaultValue === \"number\" ||\n typeof defaultValue2 === \"number\"\n ) {\n newProps.defaultValue = [defaultValue ?? 0, defaultValue2 ?? 0];\n }\n } else {\n if (typeof value === \"number\") {\n newProps.value = value;\n }\n if(typeof defaultValue === \"number\") {\n newProps.defaultValue = defaultValue;\n }\n }\n return <AntdSlider {...newProps} ref={ref} />;\n }\n);\n\nexport const sliderMeta: ComponentMeta<SliderProps> = {\n name: \"AntdSlider\",\n displayName: \"Antd Slider\",\n props: {\n max: {\n type: \"number\",\n description: \"The maximum value the slider can slide to\",\n defaultValueHint: 100,\n },\n min: {\n type: \"number\",\n description: \"The minimum value the slider can slide to\",\n defaultValueHint: 0,\n },\n included: {\n type: \"boolean\",\n description:\n \"Make effect when marks not null, true means containment and false means coordinative\",\n defaultValueHint: true,\n },\n disabled: {\n type: \"boolean\",\n description: \"If true, the slider will not be interactable\",\n defaultValueHint: false,\n },\n range: {\n type: \"boolean\",\n description: \"Dual thumb mode\",\n defaultValueHint: false,\n },\n reverse: {\n type: \"boolean\",\n description: \"Reverse the component\",\n defaultValueHint: false,\n },\n vertical: {\n type: \"boolean\",\n description: \"If true, the slider will be vertical\",\n defaultValueHint: false,\n },\n value: {\n type: \"number\",\n editOnly: true,\n uncontrolledProp: \"defaultValue\",\n description: \"The default value of slider\",\n },\n value2: {\n type: \"number\",\n displayName: \"value 2\",\n editOnly: true,\n uncontrolledProp: \"defaultValue2\",\n description: \"The default value for the second value of the slider\",\n hidden: (props) => !props.range,\n },\n step: {\n type: \"number\",\n description:\n \"The granularity the slider can step through values. Must greater than 0, and be divided by (max - min).\" +\n \" When marks no null, step can be null\",\n defaultValueHint: 1,\n },\n marks: {\n type: \"object\",\n description:\n \"Tick mark of Slider, type of key must be number, and must in closed interval [min, max],\" +\n \" each mark can declare its own style\",\n },\n },\n defaultStyles: {\n width: \"200px\",\n maxWidth: \"100%\",\n },\n importPath: \"@plasmicpkgs/antd/skinny/registerSlider\",\n importName: \"Slider\",\n};\n\nexport function registerSlider(\n loader?: Registerable,\n customSliderMeta?: ComponentMeta<SliderProps>\n) {\n const doRegisterComponent: typeof registerComponent = (...args) =>\n loader ? loader.registerComponent(...args) : registerComponent(...args);\n doRegisterComponent(Slider, customSliderMeta ?? sliderMeta);\n}\n","import registerComponent, {\n ComponentMeta,\n} from \"@plasmicapp/host/registerComponent\";\nimport Switch, { SwitchProps } from \"antd/lib/switch\";\nimport { Registerable } from \"./registerable\";\n\nexport const switchMeta: ComponentMeta<SwitchProps> = {\n name: \"AntdSwitch\",\n displayName: \"Antd Switch\",\n props: {\n autoFocus: {\n type: \"boolean\",\n description: \"Whether get focus when component mounted\",\n defaultValueHint: false,\n },\n checked: {\n type: \"boolean\",\n editOnly: true,\n uncontrolledProp: \"defaultChecked\",\n description: \"Whether to set the initial state\",\n defaultValueHint: false,\n },\n disabled: {\n type: \"boolean\",\n description: \"Disable switch\",\n defaultValueHint: false,\n },\n loading: {\n type: \"boolean\",\n description: \"Loading state of switch\",\n defaultValueHint: false,\n },\n checkedChildren: {\n type: \"slot\",\n defaultValue: [],\n hidePlaceholder: true,\n },\n unCheckedChildren: {\n type: \"slot\",\n defaultValue: [],\n hidePlaceholder: true,\n },\n size: {\n type: \"choice\",\n options: [\"small\", \"default\"],\n description: \"The size of the Switch\",\n defaultValueHint: \"default\",\n },\n },\n importPath: \"antd/lib/switch\",\n importName: \"Switch\",\n isDefaultExport: true,\n};\n\nexport function registerSwitch(\n loader?: Registerable,\n customSwitchMeta?: ComponentMeta<SwitchProps>\n) {\n const doRegisterComponent: typeof registerComponent = (...args) =>\n loader ? loader.registerComponent(...args) : registerComponent(...args);\n doRegisterComponent(Switch, customSwitchMeta ?? switchMeta);\n}\n","import {\n ComponentMeta,\n DataProvider,\n registerComponent,\n repeatedElement,\n useSelector,\n} from \"@plasmicapp/host\";\nimport { SizeType } from \"antd/lib/config-provider/SizeContext\";\nimport Table from \"antd/lib/table/Table\";\nimport React from \"react\";\nimport { Registerable } from \"./registerable\";\n\ninterface TableColumnProps {\n columnIndex: number;\n // The title text to show in the column headers\n title?: string;\n\n // The path for the data field to get the value from\n // Display field of the data record, support nest path by string array\n dataIndex: string | string[];\n\n // Plasmic - Custom column template\n columnTemplate: React.ReactNode;\n}\n\n// This is an empty virtual component used to allow users to define column\n// properties in plasmic.\nexport function TableColumn(_props: TableColumnProps) {\n return null;\n}\n\nexport interface TableValueProps {\n className?: string;\n}\n\nexport function TableValue(props: TableValueProps) {\n const { className } = props;\n const column = useSelector(\"currentColumn\");\n return <div className={className}>{column?.toString() ?? \"\"}</div>;\n}\n\n/**\n * Wrapper used to consume internal canvas props\n */\nfunction ColumnWrapper(props: { children: React.ReactNode }) {\n return props.children as React.ReactElement | null;\n}\n\nexport interface TableWrapperProps {\n className?: string;\n items: Array<any>;\n columns: React.ReactNode;\n size?: string;\n pagination?: boolean;\n onSelect?: (record: any) => void;\n}\n\nexport function TableWrapper(props: TableWrapperProps) {\n const { className, items, columns, size, onSelect, pagination } = props;\n\n // Plasmic Studio Canvas currently renders items in a slightly different way than the generated code:\n // - In the studio:\n // - The `columns` prop value is an array of nested react <Column /> nodes.\n // - In the generated code (preview mode):\n // - The `columns` prop value is a React Node with a `children` property that contains\n // an array of the nested react <Column /> components.\n const tableColumns = (columns as any)?.props?.children ?? (columns as any);\n\n // Convert the props.columns slot children to an array of column definitions\n const columnDefinitions = React.useMemo(() => {\n return React.Children.map(\n tableColumns,\n (column: { props: TableColumnProps }, columnIndex) => {\n if (!column) {\n return undefined;\n }\n\n const { columnTemplate, title, dataIndex, ...rest } = column.props;\n\n const columnDefinition = {\n columnIndex,\n title,\n dataIndex,\n key: columnIndex,\n render: (value: any, record: any, rowIndex: any) => {\n return (\n <DataProvider name=\"currentRow\" data={record}>\n <DataProvider name=\"currentRowIndex\" data={rowIndex}>\n <DataProvider name=\"currentColumn\" data={value}>\n {repeatedElement(\n rowIndex,\n <ColumnWrapper {...rest}>{columnTemplate}</ColumnWrapper>\n )}\n </DataProvider>\n </DataProvider>\n </DataProvider>\n );\n },\n };\n\n return columnDefinition;\n }\n ).filter(Boolean);\n }, [tableColumns]);\n\n return (\n <Table\n className={className}\n columns={columnDefinitions}\n dataSource={items}\n size={size as SizeType}\n onRow={(record) => {\n return {\n onMouseUp: () => {\n return onSelect?.(record.id);\n },\n };\n }}\n pagination={pagination ? undefined : pagination}\n rowKey={\"id\"}\n />\n );\n}\n\nconst DEFAULT_ITEMS = [\n {\n name: \"John Brown\",\n age: 19,\n address: \"New York No. 1 Lake Park\",\n tags: [\"student\", \"developer\"],\n },\n {\n name: \"Jim Green\",\n age: 42,\n address: \"London No. 1 Lake Park\",\n tags: [\"teacher\"],\n },\n {\n name: \"Joe Black\",\n age: 32,\n address: \"Sidney No. 1 Lake Park\",\n tags: [\"cool\", \"teacher\"],\n },\n];\n\nfunction capitalize(input: string) {\n return input.charAt(0).toUpperCase() + input.slice(1);\n}\n\nexport const tableMeta: ComponentMeta<TableWrapperProps> = {\n name: \"AntdTable\",\n displayName: \"Antd Table\",\n props: {\n items: {\n type: \"array\",\n description:\n \"The data to display in the table, as a list of objects (one object per row)\",\n defaultValue: DEFAULT_ITEMS,\n },\n\n columns: {\n type: \"slot\",\n allowedComponents: [\"AntdTableColumn\"],\n defaultValue: Object.keys(DEFAULT_ITEMS[0]).map((columnName) => ({\n type: \"component\",\n name: \"AntdTableColumn\",\n props: {\n title: capitalize(columnName),\n dataIndex: columnName,\n },\n })),\n },\n\n size: {\n type: \"choice\",\n options: [\"large\", \"middle\", \"small\"],\n defaultValueHint: \"large\",\n },\n\n pagination: {\n type: \"boolean\",\n defaultValueHint: true,\n },\n },\n\n importPath: \"@plasmicpkgs/antd/skinny/registerTable\",\n importName: \"TableWrapper\",\n};\n\nexport const tableColumnMeta: ComponentMeta<TableColumnProps> = {\n name: \"AntdTableColumn\",\n parentComponentName: \"AntdTable\",\n providesData: true,\n props: {\n title: {\n type: \"string\",\n defaultValue: \"Name\",\n },\n\n dataIndex: {\n type: \"string\",\n defaultValue: \"name\",\n description:\n \"The field to show. The table accepts some data as a list of objects, and this is the name of the field in those objects that this column will display.\",\n },\n\n columnTemplate: {\n type: \"slot\",\n defaultValue: {\n type: \"vbox\",\n styles: {\n padding: 0,\n },\n children: [\n {\n type: \"component\",\n name: \"AntdTableValue\",\n },\n ],\n },\n },\n },\n\n importPath: \"@plasmicpkgs/antd/skinny/registerTable\",\n importName: \"TableColumn\",\n};\n\nexport const tableValueMeta: ComponentMeta<TableValueProps> = {\n name: \"AntdTableValue\",\n parentComponentName: \"AntdTableColumn\",\n props: {},\n importPath: \"@plasmicpkgs/antd/skinny/registerTable\",\n importName: \"TableValue\",\n};\n\nexport function registerTable(\n loader?: Registerable,\n customMeta?: ComponentMeta<TableWrapperProps>\n) {\n const doRegisterComponent: typeof registerComponent = (...args) =>\n loader ? loader.registerComponent(...args) : registerComponent(...args);\n doRegisterComponent(TableWrapper, customMeta ?? tableMeta);\n}\n\nexport function registerTableColumn(\n loader?: Registerable,\n customMeta?: ComponentMeta<TableColumnProps>\n) {\n const doRegisterComponent: typeof registerComponent = (...args) =>\n loader ? loader.registerComponent(...args) : registerComponent(...args);\n doRegisterComponent(TableColumn, customMeta ?? tableColumnMeta);\n}\n\nexport function registerTableValue(\n loader?: Registerable,\n customMeta?: ComponentMeta<TableValueProps>\n) {\n const doRegisterComponent: typeof registerComponent = (...args) =>\n loader ? loader.registerComponent(...args) : registerComponent(...args);\n doRegisterComponent(TableValue, customMeta ?? tableValueMeta);\n}\n","import registerComponent, {\n ActionProps,\n ComponentMeta,\n} from \"@plasmicapp/host/registerComponent\";\nimport { Button } from \"antd\";\nimport {\n default as AntdTabs,\n TabPaneProps,\n TabsProps as AntdTabsProps,\n} from \"antd/lib/tabs\";\nimport React from \"react\";\nimport { traverseReactEltTree } from \"./customControls\";\nimport { Registerable } from \"./registerable\";\n\nexport const TabPane = AntdTabs.TabPane;\n\nexport const tabPaneMeta: ComponentMeta<TabPaneProps> = {\n name: \"AntdTabPane\",\n displayName: \"Antd Tab Pane\",\n props: {\n tab: {\n type: \"slot\",\n defaultValue: [\n {\n type: \"text\",\n value: \"Tab\",\n },\n ],\n },\n key: {\n type: \"string\",\n description: \"Unique TabPane's key\",\n defaultValue: \"tabPaneKey\",\n },\n closable: {\n type: \"boolean\",\n description:\n \"Wether the tab can be closed or not. Only works for editable tabs\",\n defaultValueHint: true,\n },\n disabled: {\n type: \"boolean\",\n description: \"Disabled state of tab\",\n defaultValueHint: false,\n },\n forceRender: {\n type: \"boolean\",\n description:\n \"Forced render of content in tabs, not lazy render after clicking on tabs\",\n defaultValueHint: false,\n },\n closeIcon: {\n type: \"slot\",\n hidePlaceholder: true,\n },\n children: {\n type: \"slot\",\n defaultValue: [\n {\n type: \"text\",\n value: \"Tab Content\",\n },\n ],\n },\n },\n parentComponentName: \"AntdTabs\",\n importPath: \"@plasmicpkgs/antd/skinny/registerTabs\",\n importName: \"TabPane\",\n};\n\nexport function registerTabPane(\n loader?: Registerable,\n customTabPaneMeta?: ComponentMeta<TabPaneProps>\n) {\n const doRegisterComponent: typeof registerComponent = (...args) =>\n loader ? loader.registerComponent(...args) : registerComponent(...args);\n doRegisterComponent(TabPane, customTabPaneMeta ?? tabPaneMeta);\n}\n\nexport type TabsProps = Omit<AntdTabsProps, \"tabBarExtraContent\"> & {\n leftTabBarExtraContent?: React.ReactNode;\n rightTabBarExtraContent?: React.ReactNode;\n};\n\nexport function Tabs(props: TabsProps) {\n const {\n leftTabBarExtraContent,\n rightTabBarExtraContent,\n ...otherProps\n } = props;\n return (\n <AntdTabs\n {...otherProps}\n tabBarExtraContent={{\n left: leftTabBarExtraContent,\n right: rightTabBarExtraContent,\n }}\n />\n );\n}\n\nfunction NavigateTabs({ componentProps, studioOps }: ActionProps<any>) {\n const tabPanes: string[] = [];\n traverseReactEltTree(componentProps.children, (elt) => {\n if (elt?.type === TabPane && typeof elt?.key === \"string\") {\n tabPanes.push(elt.key);\n }\n });\n\n const activeKey = componentProps.activeKey;\n const currTabPos = activeKey\n ? tabPanes.findIndex((tabKey) => {\n return tabKey === activeKey;\n })\n : 0;\n\n return (\n <div\n style={{\n width: \"100%\",\n display: \"flex\",\n flexDirection: \"row\",\n gap: \"10px\",\n justifyContent: \"space-between\",\n }}\n >\n <Button\n style={{ width: \"100%\" }}\n onClick={() => {\n if (tabPanes.length > 0) {\n const prevTabPos =\n (currTabPos - 1 + tabPanes.length) % tabPanes.length;\n studioOps.updateProps({ activeKey: tabPanes[prevTabPos] });\n }\n }}\n >\n Prev tab\n </Button>\n <Button\n style={{ width: \"100%\" }}\n onClick={() => {\n if (tabPanes.length > 0) {\n const nextTabPos = (currTabPos + 1) % tabPanes.length;\n studioOps.updateProps({ activeKey: tabPanes[nextTabPos] });\n }\n }}\n >\n Next tab\n </Button>\n </div>\n );\n}\n\nfunction OutlineMessage() {\n return <div>* To re-arrange tab panes, use the Outline panel</div>;\n}\n\nexport const tabsMeta: ComponentMeta<TabsProps> = {\n name: \"AntdTabs\",\n displayName: \"Antd Tabs\",\n props: {\n type: {\n type: \"choice\",\n options: [\"line\", \"card\", \"editable-card\"],\n defaultValueHint: \"line\",\n description: \"Basic style of tabs\",\n },\n addIcon: {\n type: \"slot\",\n hidePlaceholder: true,\n },\n animated: {\n type: \"object\",\n hidden: (props) => props.tabPosition !== \"top\" && !!props.tabPosition,\n defaultValueHint: { inkBar: true, tabPane: false },\n description:\n \"Whether to change tabs with animation. Can be either a boolean or specify for inkBar and tabPane\",\n },\n hideAdd: {\n type: \"boolean\",\n hidden: (props) => props.type !== \"editable-card\",\n defaultValueHint: false,\n description: \"Hide plus icon or not\",\n },\n moreIcon: {\n type: \"slot\",\n hidePlaceholder: true,\n },\n size: {\n type: \"choice\",\n options: [\"large\", \"default\", \"small\"],\n defaultValueHint: \"default\",\n description: \"Preset tab bar size\",\n },\n tabPosition: {\n type: \"choice\",\n options: [\"top\", \"right\", \"bottom\", \"left\"],\n defaultValueHint: \"top\",\n description: \"Position of tabs\",\n },\n tabBarGutter: {\n type: \"number\",\n description: \"The gap between tabs\",\n },\n centered: {\n type: \"boolean\",\n description: \"Centers tabs\",\n defaultValueHint: false,\n },\n leftTabBarExtraContent: {\n type: \"slot\",\n hidePlaceholder: true,\n },\n rightTabBarExtraContent: {\n type: \"slot\",\n hidePlaceholder: true,\n },\n tabBarStyle: {\n type: \"object\",\n description: \"CSS for the Tab Bar style\",\n },\n activeKey: {\n type: \"choice\",\n editOnly: true,\n uncontrolledProp: \"defaultActiveKey\",\n description: \"Initial active TabPane's key\",\n options: (props) => {\n const options = new Set<string>();\n traverseReactEltTree(props.children, (elt) => {\n if (elt?.type === TabPane && typeof elt?.key === \"string\") {\n options.add(elt.key);\n }\n });\n return Array.from(options.keys());\n },\n },\n children: {\n type: \"slot\",\n allowedComponents: [\"AntdTabPane\"],\n defaultValue: [\n {\n type: \"component\",\n name: \"AntdTabPane\",\n props: {\n key: \"1\",\n tab: [\n {\n type: \"text\",\n value: \"Tab\",\n },\n ],\n children: [\n {\n type: \"text\",\n value: \"Tab content\",\n },\n ],\n },\n },\n {\n type: \"component\",\n name: \"AntdTabPane\",\n props: {\n key: \"2\",\n tab: [\n {\n type: \"text\",\n value: \"Tab\",\n },\n ],\n children: [\n {\n type: \"text\",\n value: \"Tab content\",\n },\n ],\n },\n },\n ],\n },\n },\n actions: [\n {\n type: \"custom-action\",\n control: NavigateTabs,\n },\n {\n type: \"button-action\",\n label: \"Add new tab\",\n onClick: ({ componentProps, studioOps }: ActionProps<any>) => {\n // Get the first positive integer that isn't already a key\n const generateNewKey = () => {\n let keysSet = new Set<string>();\n traverseReactEltTree(componentProps.children, (elt) => {\n if (elt?.type === TabPane && typeof elt?.key === \"string\") {\n keysSet.add(elt.key);\n }\n });\n\n for (\n let keyCandidate = 1;\n keyCandidate <= keysSet.size + 1;\n keyCandidate++\n ) {\n const strKey = keyCandidate.toString();\n if (!keysSet.has(strKey)) {\n return strKey;\n }\n }\n\n return undefined;\n };\n\n const tabKey = generateNewKey();\n studioOps.appendToSlot(\n {\n type: \"component\",\n name: \"AntdTabPane\",\n props: {\n key: tabKey,\n },\n },\n \"children\"\n );\n studioOps.updateProps({ activeKey: tabKey });\n },\n },\n {\n type: \"button-action\",\n label: \"Delete current tab\",\n onClick: ({ componentProps, studioOps }: ActionProps<any>) => {\n if (componentProps.activeKey) {\n const tabPanes: string[] = [];\n traverseReactEltTree(componentProps.children, (elt) => {\n if (elt?.type === TabPane && typeof elt?.key === \"string\") {\n tabPanes.push(elt.key);\n }\n });\n\n const activeKey = componentProps.activeKey;\n const currTabPos = tabPanes.findIndex((tabKey) => {\n return tabKey === activeKey;\n });\n\n if (currTabPos !== -1) {\n studioOps.removeFromSlotAt(currTabPos, \"children\");\n if (tabPanes.length - 1 > 0) {\n const prevTabPos =\n (currTabPos - 1 + tabPanes.length) % tabPanes.length;\n studioOps.updateProps({ activeKey: tabPanes[prevTabPos] });\n }\n }\n }\n },\n },\n {\n type: \"custom-action\",\n control: OutlineMessage,\n },\n ],\n importPath: \"@plasmicpkgs/antd/skinny/registerTabs\",\n importName: \"Tabs\",\n};\n\nexport function registerTabs(\n loader?: Registerable,\n customTabsMeta?: ComponentMeta<TabsProps>\n) {\n const doRegisterComponent: typeof registerComponent = (...args) =>\n loader ? loader.registerComponent(...args) : registerComponent(...args);\n doRegisterComponent(Tabs, customTabsMeta ?? tabsMeta);\n}\n","import { Registerable } from \"./registerable\";\nimport { registerButton } from \"./registerButton\";\nimport { registerCarousel } from \"./registerCarousel\";\nimport { registerCheckbox, registerCheckboxGroup } from \"./registerCheckbox\";\nimport { registerCollapse, registerCollapsePanel } from \"./registerCollapse\";\nimport { registerDropdown, registerDropdownButton } from \"./registerDropdown\";\nimport {\n registerInput,\n registerInputGroup,\n registerInputPassword,\n registerInputSearch,\n registerInputTextArea,\n} from \"./registerInput\";\nimport {\n registerMenu,\n registerMenuDivider,\n registerMenuItem,\n registerMenuItemGroup,\n registerSubMenu,\n} from \"./registerMenu\";\nimport { registerOptGroup, registerOption } from \"./registerOption\";\nimport { registerRate } from \"./registerRate\";\nimport { registerSelect } from \"./registerSelect\";\nimport { registerSlider } from \"./registerSlider\";\nimport { registerSwitch } from \"./registerSwitch\";\nimport {\n registerTable,\n registerTableColumn,\n registerTableValue,\n} from \"./registerTable\";\nimport { registerTabPane, registerTabs } from \"./registerTabs\";\n\nexport * from \"./registerable\";\nexport * from \"./registerButton\";\nexport * from \"./registerCarousel\";\nexport * from \"./registerCheckbox\";\nexport * from \"./registerCollapse\";\nexport * from \"./registerDropdown\";\nexport * from \"./registerInput\";\nexport * from \"./registerMenu\";\nexport * from \"./registerOption\";\nexport * from \"./registerRate\";\nexport * from \"./registerSelect\";\nexport * from \"./registerSlider\";\nexport * from \"./registerSwitch\";\nexport * from \"./registerTabs\";\n\nexport function registerAll(loader?: Registerable) {\n registerButton(loader);\n registerSlider(loader);\n registerSwitch(loader);\n registerOption(loader);\n registerOptGroup(loader);\n registerSelect(loader);\n registerCollapsePanel(loader);\n registerCollapse(loader);\n registerCheckbox(loader);\n registerCheckboxGroup(loader);\n registerMenuDivider(loader);\n registerMenuItem(loader);\n registerMenuItemGroup(loader);\n registerSubMenu(loader);\n registerMenu(loader);\n registerDropdown(loader);\n registerDropdownButton(loader);\n registerCarousel(loader);\n registerInput(loader);\n registerInputTextArea(loader);\n registerInputSearch(loader);\n registerInputPassword(loader);\n registerInputGroup(loader);\n registerTabPane(loader);\n registerTable(loader);\n registerTableColumn(loader);\n registerTableValue(loader);\n registerTabs(loader);\n registerRate(loader);\n}\n"],"names":["__spreadValues","__objRest","__spreadProps","ItemGroup","Option","OptGroup","useSelector","DataProvider","repeatedElement","registerComponent","Button"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKO,MAAM,UAAyC,GAAA;AAAA,EACpD,IAAM,EAAA,YAAA;AAAA,EACN,WAAa,EAAA,aAAA;AAAA,EACb,KAAO,EAAA;AAAA,IACL,IAAM,EAAA;AAAA,MACJ,IAAM,EAAA,QAAA;AAAA,MACN,SAAS,CAAC,SAAA,EAAW,WAAW,OAAS,EAAA,QAAA,EAAU,QAAQ,MAAM,CAAA;AAAA,MACjE,WAAa,EAAA,2DAAA;AAAA,MACb,gBAAkB,EAAA,SAAA;AAAA,KACpB;AAAA,IACA,IAAM,EAAA;AAAA,MACJ,IAAM,EAAA,QAAA;AAAA,MACN,OAAS,EAAA,CAAC,OAAS,EAAA,QAAA,EAAU,OAAO,CAAA;AAAA,MACpC,WAAa,EAAA,wBAAA;AAAA,MACb,gBAAkB,EAAA,QAAA;AAAA,KACpB;AAAA,IACA,KAAO,EAAA;AAAA,MACL,IAAM,EAAA,QAAA;AAAA,MACN,OAAS,EAAA,CAAC,SAAW,EAAA,QAAA,EAAU,OAAO,CAAA;AAAA,MACtC,WAAa,EAAA,yBAAA;AAAA,MACb,gBAAkB,EAAA,SAAA;AAAA,KACpB;AAAA,IACA,QAAU,EAAA;AAAA,MACR,IAAM,EAAA,SAAA;AAAA,MACN,WAAa,EAAA,0BAAA;AAAA,MACb,gBAAkB,EAAA,KAAA;AAAA,KACpB;AAAA,IACA,KAAO,EAAA;AAAA,MACL,IAAM,EAAA,SAAA;AAAA,MACN,WACE,EAAA,+DAAA;AAAA,MACF,gBAAkB,EAAA,KAAA;AAAA,KACpB;AAAA,IACA,MAAQ,EAAA;AAAA,MACN,IAAM,EAAA,SAAA;AAAA,MACN,WAAa,EAAA,iCAAA;AAAA,MACb,gBAAkB,EAAA,KAAA;AAAA,KACpB;AAAA,IAC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CAAA,CAAA;AACvB,EAAA,qBAAA,CAAsB,MAAM,CAAA,CAAA;AAC5B,EAAA,eAAA,CAAgB,MAAM,CAAA,CAAA;AACtB,EAAA,YAAA,CAAa,MAAM,CAAA,CAAA;AACnB,EAAA,gBAAA,CAAiB,MAAM,CAAA,CAAA;AACvB,EAAA,sBAAA,CAAuB,MAAM,CAAA,CAAA;AAC7B,EAAA,gBAAA,CAAiB,MAAM,CAAA,CAAA;AACvB,EAAA,aAAA,CAAc,MAAM,CAAA,CAAA;AACpB,EAAA,qBAAA,CAAsB,MAAM,CAAA,CAAA;AAC5B,EAAA,mBAAA,CAAoB,MAAM,CAAA,CAAA;AAC1B,EAAA,qBAAA,CAAsB,MAAM,CAAA,CAAA;AAC5B,EAAA,kBAAA,CAAmB,MAAM,CAAA,CAAA;AACzB,EAAA,eAAA,CAAgB,MAAM,CAAA,CAAA;AACtB,EAAA,aAAA,CAAc,MAAM,CAAA,CAAA;AACpB,EAAA,mBAAA,CAAoB,MAAM,CAAA,CAAA;AAC1B,EAAA,kBAAA,CAAmB,MAAM,CAAA,CAAA;AACzB,EAAA,YAAA,CAAa,MAAM,CAAA,CAAA;AACnB,EAAA,YAAA,CAAa,MAAM,CAAA,CAAA;AACrB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../src/registerButton.ts","../src/registerCarousel.ts","../src/customControls.ts","../src/registerCheckbox.tsx","../src/registerCollapse.tsx","../src/registerDropdown.tsx","../src/registerInput.ts","../src/registerMenu.ts","../src/registerOption.ts","../src/registerRate.ts","../src/registerSelect.ts","../src/registerSlider.tsx","../src/registerSwitch.ts","../src/registerTable.tsx","../src/registerTabs.tsx","../src/index.ts"],"sourcesContent":["import registerComponent, {\n ComponentMeta,\n} from \"@plasmicapp/host/registerComponent\";\nimport Button, { ButtonProps } from \"antd/lib/button\";\nimport { Registerable } from \"./registerable\";\nexport const buttonMeta: ComponentMeta<ButtonProps> = {\n name: \"AntdButton\",\n displayName: \"Antd Button\",\n props: {\n type: {\n type: \"choice\",\n options: [\"default\", \"primary\", \"ghost\", \"dashed\", \"link\", \"text\"],\n description: \"Can be set to primary, ghost, dashed, link, text, default\",\n defaultValueHint: \"default\",\n },\n size: {\n type: \"choice\",\n options: [\"small\", \"medium\", \"large\"],\n description: \"Set the size of button\",\n defaultValueHint: \"medium\",\n },\n shape: {\n type: \"choice\",\n options: [\"default\", \"circle\", \"round\"],\n description: \"Can be set button shape\",\n defaultValueHint: \"default\",\n },\n disabled: {\n type: \"boolean\",\n description: \"Disabled state of button\",\n defaultValueHint: false,\n },\n ghost: {\n type: \"boolean\",\n description:\n \"Make background transparent and invert text and border colors\",\n defaultValueHint: false,\n },\n danger: {\n type: \"boolean\",\n description: \"Set the danger status of button\",\n defaultValueHint: false,\n },\n block: {\n type: \"boolean\",\n description: \"Option to fit button width to its parent width\",\n defaultValueHint: false,\n },\n loading: {\n type: \"boolean\",\n description: \"Set the loading status of button\",\n defaultValueHint: false,\n },\n href: {\n type: \"string\",\n description: \"Redirect url of link button\",\n },\n target: {\n type: \"choice\",\n options: [\"_blank\", \"_self\", \"_parent\", \"_top\"],\n description:\n \"Same as target attribute of a, works when href is specified\",\n hidden: props => !props.href,\n defaultValueHint: \"_self\",\n },\n children: {\n type: \"slot\",\n defaultValue: [\n {\n type: \"text\",\n value: \"Button\",\n },\n ],\n },\n },\n importPath: \"antd/lib/button\",\n isDefaultExport: true,\n importName: \"Button\",\n};\n\nexport function registerButton(\n loader?: Registerable,\n customButtonMeta?: ComponentMeta<ButtonProps>\n) {\n const doRegisterComponent: typeof registerComponent = (...args) =>\n loader ? loader.registerComponent(...args) : registerComponent(...args);\n doRegisterComponent(Button, customButtonMeta ?? buttonMeta);\n}\n","import registerComponent, {\n ComponentMeta,\n} from \"@plasmicapp/host/registerComponent\";\nimport Carousel, { CarouselProps } from \"antd/lib/carousel\";\nimport { CSSProperties } from \"react\";\nimport { Registerable } from \"./registerable\";\n\nconst contentStyle: CSSProperties = {\n height: \"160px\",\n color: \"#fff\",\n lineHeight: \"160px\",\n textAlign: \"center\",\n backgroundColor: \"#364d79\",\n};\n\nexport const carouselMeta: ComponentMeta<CarouselProps> = {\n name: \"AntdCarousel\",\n displayName: \"Antd Carousel\",\n props: {\n autoplay: {\n type: \"boolean\",\n description: \"Whether to scroll automatically\",\n defaultValueHint: false,\n },\n dotPosition: {\n type: \"choice\",\n options: [\"top\", \"bottom\", \"left\", \"right\"],\n description: \"The position of the dots\",\n defaultValueHint: \"bottom\",\n },\n dots: {\n type: \"boolean\",\n description: \"Whether to show the dots at the bottom of the gallery\",\n defaultValueHint: true,\n },\n effect: {\n type: \"choice\",\n options: [\"scrollx\", \"fade\"],\n defaultValueHint: \"scrollx\",\n },\n children: {\n type: \"slot\",\n defaultValue: [\n {\n type: \"vbox\",\n children: {\n type: \"text\",\n value: \"1\",\n styles: contentStyle,\n },\n },\n {\n type: \"vbox\",\n children: {\n type: \"text\",\n value: \"2\",\n styles: contentStyle,\n },\n },\n ],\n },\n },\n importPath: \"antd/lib/carousel\",\n importName: \"Carousel\",\n isDefaultExport: true,\n};\n\nexport function registerCarousel(\n loader?: Registerable,\n customCarouselMeta?: ComponentMeta<CarouselProps>\n) {\n const doRegisterComponent: typeof registerComponent = (...args) =>\n loader ? loader.registerComponent(...args) : registerComponent(...args);\n doRegisterComponent(Carousel, customCarouselMeta ?? carouselMeta);\n}\n","import type React from \"react\";\n\ntype ReactElt = {\n children: ReactElt | ReactElt[];\n props: {\n children: ReactElt | ReactElt[];\n [prop: string]: any;\n } | null;\n type: React.ComponentType<any> | null;\n key: string | null;\n} | null;\n\n/**\n * Traverses the tree of elements from a `React.createElement`. Notice we can't\n * traverse elements created within the children's render function since this is\n * the tree before rendering.\n */\nexport function traverseReactEltTree(\n children: React.ReactNode,\n callback: (elt: ReactElt) => void\n) {\n const rec = (elts: ReactElt | ReactElt[] | null) => {\n (Array.isArray(elts) ? elts : [elts]).forEach((elt) => {\n if (elt) {\n callback(elt);\n if (elt.children) {\n rec(elt.children);\n }\n if (elt.props?.children && elt.props.children !== elt.children) {\n rec(elt.props.children);\n }\n }\n });\n };\n rec(children as any);\n}\n","import registerComponent, {\n ComponentMeta,\n} from \"@plasmicapp/host/registerComponent\";\nimport Checkbox, { CheckboxProps } from \"antd/lib/checkbox/Checkbox\";\nimport CheckboxGroup, { CheckboxGroupProps } from \"antd/lib/checkbox/Group\";\nimport React from \"react\";\nimport { traverseReactEltTree } from \"./customControls\";\nimport { Registerable } from \"./registerable\";\n\nclass CheckboxWrapper extends React.Component<CheckboxProps> {\n render() {\n return <Checkbox {...this.props} />;\n }\n}\n\nexport const checkboxMeta: ComponentMeta<CheckboxProps> = {\n name: \"AntdCheckbox\",\n displayName: \"Antd Checkbox\",\n props: {\n autoFocus: {\n type: \"boolean\",\n description: \"If get focus when component mounted\",\n defaultValueHint: false,\n },\n checked: {\n type: \"boolean\",\n editOnly: true,\n uncontrolledProp: \"defaultChecked\",\n description:\n \"Specifies the initial state: whether or not the checkbox is selected\",\n defaultValueHint: false,\n },\n disabled: {\n type: \"boolean\",\n description: \"If disable checkbox\",\n defaultValueHint: false,\n },\n indeterminate: {\n type: \"boolean\",\n description: \"The indeterminate checked state of checkbox\",\n defaultValueHint: false,\n },\n value: {\n type: \"string\",\n description: \"The checkbox value\",\n },\n children: {\n type: \"slot\",\n defaultValue: [\n {\n type: \"text\",\n value: \"Checkbox\",\n },\n ],\n },\n },\n importPath: \"antd/lib/checkbox/Checkbox\",\n importName: \"Checkbox\",\n defaultStyles: {\n marginLeft: 0,\n },\n isDefaultExport: true,\n};\n\nexport function registerCheckbox(\n loader?: Registerable,\n customCheckboxMeta?: ComponentMeta<CheckboxProps>\n) {\n const doRegisterComponent: typeof registerComponent = (...args) =>\n loader ? loader.registerComponent(...args) : registerComponent(...args);\n doRegisterComponent(CheckboxWrapper, customCheckboxMeta ?? checkboxMeta);\n}\n\nexport const checkboxGroupMeta: ComponentMeta<CheckboxGroupProps> = {\n name: \"AntdCheckboxGroup\",\n displayName: \"Antd Checkbox Group\",\n props: {\n disabled: {\n type: \"boolean\",\n description: \"If disable all checkboxes\",\n defaultValueHint: false,\n },\n value: {\n type: \"choice\",\n editOnly: true,\n uncontrolledProp: \"defaultValue\",\n description: \"Default selected value\",\n multiSelect: true,\n options: componentProps => {\n const options = new Set<string>();\n traverseReactEltTree(componentProps.children, elt => {\n if (\n elt?.type === CheckboxWrapper &&\n typeof elt?.props?.value === \"string\"\n ) {\n options.add(elt.props.value);\n }\n });\n return Array.from(options.keys());\n },\n },\n children: {\n type: \"slot\",\n allowedComponents: [\"AntdCheckbox\"],\n defaultValue: [\n {\n type: \"component\",\n name: \"AntdCheckbox\",\n },\n ],\n },\n },\n importPath: \"antd/lib/checkbox/Group\",\n importName: \"CheckboxGroup\",\n parentComponentName: \"AntdCheckbox\",\n isDefaultExport: true,\n};\n\nexport function registerCheckboxGroup(\n loader?: Registerable,\n customCheckboxGroupMeta?: ComponentMeta<CheckboxGroupProps>\n) {\n const doRegisterComponent: typeof registerComponent = (...args) =>\n loader ? loader.registerComponent(...args) : registerComponent(...args);\n doRegisterComponent(\n CheckboxGroup,\n customCheckboxGroupMeta ?? checkboxGroupMeta\n );\n}\n","import registerComponent, {\n ComponentMeta,\n} from \"@plasmicapp/host/registerComponent\";\nimport {\n CollapsePanelProps,\n CollapseProps as AntdCollapseProps,\n} from \"antd/lib/collapse\";\nimport AntdCollapse from \"antd/lib/collapse/Collapse\";\nimport CollapsePanel from \"antd/lib/collapse/CollapsePanel\";\nimport React from \"react\";\nimport { traverseReactEltTree } from \"./customControls\";\nimport { Registerable } from \"./registerable\";\n\nexport const collapstePanelMeta: ComponentMeta<CollapsePanelProps> = {\n name: \"AntdCollapsePanel\",\n displayName: \"Antd Collapse Panel\",\n props: {\n collapsible: {\n type: \"choice\",\n options: [\"header\", \"disabled\"],\n description:\n \"Specify whether the panel be collapsible or the trigger area of collapsible\",\n },\n forceRender: {\n type: \"boolean\",\n description:\n \"Forced render of content on panel, instead of lazy rending after clicking on header\",\n defaultValueHint: false,\n },\n header: {\n type: \"slot\",\n defaultValue: [\n {\n type: \"text\",\n value: \"Header\",\n },\n ],\n },\n key: {\n type: \"string\",\n description: \"Unique key identifying the panel from among its siblings\",\n },\n showArrow: {\n type: \"boolean\",\n description: \"If false, panel will not show arrow icon\",\n defaultValueHint: true,\n },\n extra: {\n type: \"slot\",\n hidePlaceholder: true,\n },\n children: {\n type: \"slot\",\n defaultValue: [\n {\n type: \"text\",\n value: \"Insert text here\",\n },\n ],\n },\n },\n importPath: \"antd/lib/collapse/CollapsePanel\",\n importName: \"CollapsePanel\",\n parentComponentName: \"AntdCollapse\",\n isDefaultExport: true,\n};\n\nexport function registerCollapsePanel(\n loader?: Registerable,\n customCollapsePanelMeta?: ComponentMeta<CollapsePanelProps>\n) {\n const doRegisterComponent: typeof registerComponent = (...args) =>\n loader ? loader.registerComponent(...args) : registerComponent(...args);\n doRegisterComponent(\n CollapsePanel,\n customCollapsePanelMeta ?? collapstePanelMeta\n );\n}\n\ntype CollapseProps = {\n openIcon?: React.ReactNode;\n closeIcon?: React.ReactNode;\n} & AntdCollapseProps;\n\nexport const collapsteMeta: ComponentMeta<CollapseProps> = {\n name: \"AntdCollapse\",\n displayName: \"Antd Collapse\",\n props: {\n accordion: {\n type: \"boolean\",\n description: \"If true, Collapse renders as Accordion\",\n defaultValueHint: false,\n },\n activeKey: {\n type: \"choice\",\n editOnly: true,\n uncontrolledProp: \"defaultActiveKey\",\n description: \"Key of the active panel\",\n multiSelect: true,\n options: (componentProps) => {\n const options = new Set<string>();\n // `children` is not defined in the Collapse props\n traverseReactEltTree((componentProps as any).children, (elt) => {\n if (elt?.type === CollapsePanel && typeof elt?.key === \"string\") {\n options.add(elt.key);\n }\n });\n return Array.from(options.keys());\n },\n },\n bordered: {\n type: \"boolean\",\n description: \"Toggles rendering of the border around the collapse block\",\n defaultValueHint: true,\n },\n collapsible: {\n type: \"choice\",\n options: [\"header\", \"disabled\"],\n description:\n \"Specify whether the panels of children be collapsible or the trigger area of collapsible\",\n },\n expandIconPosition: {\n type: \"choice\",\n options: [\"left\", \"right\"],\n description: \"Set expand icon position\",\n defaultValueHint: \"left\",\n },\n ghost: {\n type: \"boolean\",\n description:\n \"Make the collapse borderless and its background transparent\",\n defaultValueHint: false,\n },\n children: {\n type: \"slot\",\n allowedComponents: [\"AntdCollapsePanel\"],\n defaultValue: [\n {\n type: \"component\",\n name: \"AntdCollapsePanel\",\n props: {\n key: \"1\",\n },\n },\n ],\n },\n openIcon: {\n type: \"slot\",\n hidePlaceholder: true,\n },\n closeIcon: {\n type: \"slot\",\n hidePlaceholder: true,\n },\n },\n importPath: \"@plasmicpkgs/antd/skinny/registerCollapse\",\n importName: \"Collapse\",\n};\n\nexport function Collapse(props: CollapseProps) {\n const { openIcon, closeIcon, ...rest } = props;\n return (\n <AntdCollapse\n {...rest}\n expandIcon={\n openIcon || closeIcon\n ? ({ isActive }) => (isActive ? openIcon : closeIcon)\n : undefined\n }\n />\n );\n}\n\nexport function registerCollapse(\n loader?: Registerable,\n customCollapseMeta?: ComponentMeta<CollapseProps>\n) {\n const doRegisterComponent: typeof registerComponent = (...args) =>\n loader ? loader.registerComponent(...args) : registerComponent(...args);\n doRegisterComponent(Collapse, customCollapseMeta ?? collapsteMeta);\n}\n","import registerComponent, {\n ComponentMeta,\n} from \"@plasmicapp/host/registerComponent\";\nimport AntdDropdown, {\n DropdownButtonProps,\n DropDownProps,\n} from \"antd/lib/dropdown\";\nimport DropdownButton from \"antd/lib/dropdown/dropdown-button\";\nimport React from \"react\";\nimport { Registerable } from \"./registerable\";\n\nexport class Dropdown extends React.Component<DropDownProps> {\n render() {\n const thisProps = this.props as any;\n const finalProps = { ...thisProps };\n finalProps.children =\n typeof thisProps.children === \"string\" ? (\n <div>{thisProps.children}</div>\n ) : (\n thisProps.children\n );\n return <AntdDropdown {...finalProps}>{}</AntdDropdown>;\n }\n}\n\nexport const dropdownMeta: ComponentMeta<DropDownProps> = {\n name: \"AntdDropdown\",\n displayName: \"Antd Dropdown\",\n props: {\n arrow: {\n type: \"boolean\",\n description: \"Whether the dropdown arrow should be visible\",\n defaultValueHint: false,\n },\n disabled: {\n type: \"boolean\",\n description: \"Whether the dropdown menu is disabled\",\n defaultValueHint: false,\n },\n overlay: {\n type: \"slot\",\n allowedComponents: [\"AntdMenu\"],\n defaultValue: [\n {\n type: \"component\",\n name: \"AntdMenu\",\n },\n ],\n },\n placement: {\n type: \"choice\",\n options: [\n \"bottomLeft\",\n \"bottomCenter\",\n \"bottomRight\",\n \"topLeft\",\n \"topCenter\",\n \"topRight\",\n ],\n description: \"Placement of popup menu\",\n defaultValueHint: \"bottomLeft\",\n },\n trigger: {\n type: \"choice\",\n options: [\"click\", \"hover\", \"contextMenu\"],\n description: \"The trigger mode which executes the dropdown action\",\n defaultValueHint: \"hover\",\n },\n visible: {\n type: \"boolean\",\n description: \"Toggle visibility of dropdown menu in Plasmic Editor\",\n editOnly: true,\n defaultValueHint: false,\n },\n children: {\n type: \"slot\",\n defaultValue: [\n {\n type: \"text\",\n value: \"Dropdown\",\n },\n ],\n },\n },\n importPath: \"@plasmicpkgs/antd/skinny/registerDropdown\",\n importName: \"Dropdown\",\n};\n\nexport function registerDropdown(\n loader?: Registerable,\n customDropdownMeta?: ComponentMeta<DropDownProps>\n) {\n const doRegisterComponent: typeof registerComponent = (...args) =>\n loader ? loader.registerComponent(...args) : registerComponent(...args);\n doRegisterComponent(Dropdown, customDropdownMeta ?? dropdownMeta);\n}\n\nexport const dropdownButtonMeta: ComponentMeta<DropdownButtonProps> = {\n name: \"AntdDropdownButton\",\n displayName: \"Antd Dropdown Button\",\n props: {\n disabled: {\n type: \"boolean\",\n description: \"Whether the dropdown menu is disabled\",\n defaultValueHint: false,\n },\n icon: {\n type: \"slot\",\n hidePlaceholder: true,\n },\n overlay: {\n type: \"slot\",\n allowedComponents: [\"AntdMenu\"],\n defaultValue: [\n {\n type: \"component\",\n name: \"AntdMenu\",\n },\n ],\n },\n placement: {\n type: \"choice\",\n options: [\n \"bottomLeft\",\n \"bottomCenter\",\n \"bottomRight\",\n \"topLeft\",\n \"topCenter\",\n \"topRight\",\n ],\n description: \"Placement of popup menu\",\n defaultValueHint: \"bottomLeft\",\n },\n size: {\n type: \"choice\",\n options: [\"small\", \"medium\", \"large\"],\n description: \"Set the size of button\",\n defaultValueHint: \"medium\",\n },\n trigger: {\n type: \"choice\",\n options: [\"click\", \"hover\", \"contextMenu\"],\n description: \"The trigger mode which executes the dropdown action\",\n defaultValueHint: \"hover\",\n },\n type: {\n type: \"choice\",\n options: [\"default\", \"primary\", \"ghost\", \"dashed\", \"link\", \"text\"],\n description: \"Can be set to primary, ghost, dashed, link, text, default\",\n defaultValueHint: \"default\",\n },\n visible: {\n type: \"boolean\",\n description: \"Toggle visibility of dropdown menu in Plasmic Editor\",\n editOnly: true,\n defaultValueHint: false,\n },\n children: {\n type: \"slot\",\n defaultValue: [\n {\n type: \"text\",\n value: \"Dropdown\",\n },\n ],\n },\n },\n importPath: \"antd/lib/dropdown/dropdown-button\",\n importName: \"DropdownButton\",\n parentComponentName: \"AntdDropdown\",\n isDefaultExport: true,\n};\n\nexport function registerDropdownButton(\n loader?: Registerable,\n customDropdownButtonMeta?: ComponentMeta<DropDownProps>\n) {\n const doRegisterComponent: typeof registerComponent = (...args) =>\n loader ? loader.registerComponent(...args) : registerComponent(...args);\n doRegisterComponent(\n DropdownButton,\n customDropdownButtonMeta ?? dropdownButtonMeta\n );\n}\n","import registerComponent, {\n ComponentMeta,\n} from \"@plasmicapp/host/registerComponent\";\nimport Input, { InputProps } from \"antd/lib/input\";\nimport {\n GroupProps,\n PasswordProps,\n SearchProps,\n TextAreaProps,\n} from \"antd/lib/input\";\nimport InputGroup from \"antd/lib/input/Group\";\nimport Password from \"antd/lib/input/Password\";\nimport Search from \"antd/lib/input/Search\";\nimport TextArea from \"antd/lib/input/TextArea\";\nimport { Registerable } from \"./registerable\";\n\nfunction sortObjectKeys<T extends {}>(obj: T): T {\n return Object.fromEntries(Object.entries(obj).sort()) as T;\n}\n\ntype PropSpec<T> = ComponentMeta<T>[\"props\"];\n\nfunction sortProps<T>(props: PropSpec<T>): PropSpec<T> {\n return sortObjectKeys(props);\n}\n\nconst commonHtmlAttributes = {\n \"aria-label\": {\n type: \"string\",\n description: \"The ARIA label for this input\",\n },\n \"aria-labelledby\": {\n type: \"string\",\n description: \"Identifies the element(s) that labels this input\",\n },\n name: {\n type: \"string\",\n description: \"The HTML name of the input\",\n },\n} as const;\n\nexport const inputMeta: ComponentMeta<InputProps> = {\n name: \"AntdInput\",\n displayName: \"Antd Input\",\n props: sortProps<InputProps>({\n ...commonHtmlAttributes,\n addonAfter: {\n type: \"slot\",\n hidePlaceholder: true,\n },\n addonBefore: {\n type: \"slot\",\n hidePlaceholder: true,\n },\n allowClear: {\n type: \"boolean\",\n description: \"If allow to remove input content with clear icon\",\n defaultValueHint: false,\n },\n bordered: {\n type: \"boolean\",\n description: \"Whether has border style\",\n defaultValueHint: true,\n },\n disabled: {\n type: \"boolean\",\n description: \"Whether the input is disabled\",\n defaultValueHint: false,\n },\n id: {\n type: \"string\",\n description: \"The ID for input\",\n },\n maxLength: {\n type: \"number\",\n description: \"The max length\",\n },\n placeholder: {\n type: \"string\",\n description: \"Placeholder for the input\",\n },\n prefix: {\n type: \"slot\",\n hidePlaceholder: true,\n },\n size: {\n type: \"choice\",\n options: [\"small\", \"middle\", \"large\"],\n description: \"The size of the input box\",\n defaultValueHint: \"middle,\",\n },\n suffix: {\n type: \"slot\",\n hidePlaceholder: true,\n },\n type: {\n type: \"string\",\n description: \"The type of input\",\n defaultValueHint: \"text\",\n },\n value: {\n type: \"string\",\n editOnly: true,\n uncontrolledProp: \"defaultValue\",\n },\n }),\n importPath: \"antd/lib/input\",\n importName: \"Input\",\n isDefaultExport: true,\n};\n\nexport function registerInput(\n loader?: Registerable,\n customInputMeta?: ComponentMeta<InputProps>\n) {\n const doRegisterComponent: typeof registerComponent = (...args) =>\n loader ? loader.registerComponent(...args) : registerComponent(...args);\n doRegisterComponent(Input, customInputMeta ?? inputMeta);\n}\n\nexport const inputTextAreaMeta: ComponentMeta<TextAreaProps> = {\n name: \"AntdInputTextArea\",\n displayName: \"Antd Input Text Area\",\n props: sortProps<TextAreaProps>({\n ...commonHtmlAttributes,\n allowClear: {\n type: \"boolean\",\n description: \"If allow to remove input content with clear icon\",\n defaultValueHint: false,\n },\n autoSize: {\n type: \"object\",\n description:\n \"Height autosize feature, can be set to true | false or an object { minRows: 2, maxRows: 6 }\",\n },\n disabled: {\n type: \"boolean\",\n description: \"Whether the input is disabled\",\n defaultValueHint: false,\n },\n bordered: {\n type: \"boolean\",\n description: \"Whether has border style\",\n defaultValueHint: true,\n },\n showCount: {\n type: \"boolean\",\n description: \"Whether show text count\",\n defaultValueHint: false,\n },\n id: {\n type: \"string\",\n description: \"The ID for input\",\n },\n maxLength: {\n type: \"number\",\n description: \"The max length\",\n },\n placeholder: {\n type: \"string\",\n description: \"Placeholder for the input\",\n },\n value: {\n type: \"string\",\n editOnly: true,\n uncontrolledProp: \"defaultValue\",\n },\n }),\n importPath: \"antd/lib/input/TextArea\",\n importName: \"TextArea\",\n isDefaultExport: true,\n parentComponentName: \"AntdInput\",\n};\n\nexport function registerInputTextArea(\n loader?: Registerable,\n customInputTextAreaMeta?: ComponentMeta<TextAreaProps>\n) {\n const doRegisterComponent: typeof registerComponent = (...args) =>\n loader ? loader.registerComponent(...args) : registerComponent(...args);\n doRegisterComponent(TextArea, customInputTextAreaMeta ?? inputTextAreaMeta);\n}\n\nexport const inputSearchMeta: ComponentMeta<SearchProps> = {\n name: \"AntdInputSearch\",\n displayName: \"Antd Input Search\",\n props: sortProps<SearchProps>({\n ...commonHtmlAttributes,\n addonBefore: {\n type: \"slot\",\n hidePlaceholder: true,\n },\n allowClear: {\n type: \"boolean\",\n description: \"If allow to remove input content with clear icon\",\n defaultValueHint: false,\n },\n bordered: {\n type: \"boolean\",\n description: \"Whether has border style\",\n defaultValueHint: true,\n },\n disabled: {\n type: \"boolean\",\n description: \"Whether the input is disabled\",\n defaultValueHint: false,\n },\n enterButton: {\n type: \"slot\",\n hidePlaceholder: true,\n },\n id: {\n type: \"string\",\n description: \"The ID for input\",\n },\n loading: {\n type: \"boolean\",\n description: \"Search box with loading\",\n defaultValueHint: false,\n },\n maxLength: {\n type: \"number\",\n description: \"The max length\",\n },\n placeholder: {\n type: \"string\",\n description: \"Placeholder for the input\",\n },\n prefix: {\n type: \"slot\",\n hidePlaceholder: true,\n },\n size: {\n type: \"choice\",\n options: [\"small\", \"middle\", \"large\"],\n description: \"The size of the input box\",\n defaultValueHint: \"middle\",\n },\n suffix: {\n type: \"slot\",\n hidePlaceholder: true,\n },\n type: {\n type: \"string\",\n description: \"The type of input\",\n },\n value: {\n type: \"string\",\n editOnly: true,\n uncontrolledProp: \"defaultValue\",\n },\n }),\n importPath: \"antd/lib/input/Search\",\n importName: \"Search\",\n isDefaultExport: true,\n parentComponentName: \"AntdInput\",\n};\n\nexport function registerInputSearch(\n loader?: Registerable,\n customInputSearchMeta?: ComponentMeta<SearchProps>\n) {\n const doRegisterComponent: typeof registerComponent = (...args) =>\n loader ? loader.registerComponent(...args) : registerComponent(...args);\n doRegisterComponent(Search, customInputSearchMeta ?? inputSearchMeta);\n}\n\nexport const inputPasswordMeta: ComponentMeta<PasswordProps> = {\n name: \"AntdInputPassword\",\n displayName: \"Antd Input Password\",\n props: sortProps<PasswordProps>({\n ...commonHtmlAttributes,\n addonAfter: {\n type: \"slot\",\n hidePlaceholder: true,\n },\n addonBefore: {\n type: \"slot\",\n hidePlaceholder: true,\n },\n allowClear: {\n type: \"boolean\",\n description: \"If allow to remove input content with clear icon\",\n defaultValueHint: false,\n },\n bordered: {\n type: \"boolean\",\n description: \"Whether has border style\",\n defaultValueHint: true,\n },\n disabled: {\n type: \"boolean\",\n description: \"Whether the input is disabled\",\n defaultValueHint: false,\n },\n id: {\n type: \"string\",\n description: \"The ID for input\",\n },\n maxLength: {\n type: \"number\",\n description: \"The max length\",\n },\n placeholder: {\n type: \"string\",\n description: \"Placeholder for the input\",\n },\n prefix: {\n type: \"slot\",\n hidePlaceholder: true,\n },\n size: {\n type: \"choice\",\n options: [\"small\", \"middle\", \"large\"],\n description: \"The size of the input box\",\n defaultValueHint: \"middle\",\n },\n type: {\n type: \"string\",\n description: \"The type of input\",\n },\n value: {\n type: \"string\",\n editOnly: true,\n uncontrolledProp: \"defaultValue\",\n },\n visibilityToggle: {\n type: \"boolean\",\n description: \"Whether show toggle button\",\n defaultValueHint: true,\n },\n }),\n importPath: \"antd/lib/input/Password\",\n importName: \"Password\",\n isDefaultExport: true,\n parentComponentName: \"AntdInput\",\n};\n\nexport function registerInputPassword(\n loader?: Registerable,\n customInputPasswordMeta?: ComponentMeta<PasswordProps>\n) {\n const doRegisterComponent: typeof registerComponent = (...args) =>\n loader ? loader.registerComponent(...args) : registerComponent(...args);\n doRegisterComponent(Password, customInputPasswordMeta ?? inputPasswordMeta);\n}\n\nexport const inputGroupMeta: ComponentMeta<GroupProps> = {\n name: \"AntdInputGroup\",\n displayName: \"Antd Input Group\",\n props: {\n compact: {\n type: \"boolean\",\n description: \"Whether use compact style\",\n defaultValueHint: false,\n },\n size: {\n type: \"choice\",\n options: [\"small\", \"default\", \"large\"],\n description:\n \"The size of Input.Group specifies the size of the included Input fields\",\n defaultValueHint: \"default\",\n },\n children: {\n type: \"slot\",\n defaultValue: [\n {\n type: \"component\",\n name: \"AntdInput\",\n },\n {\n type: \"component\",\n name: \"AntdInput\",\n },\n ],\n },\n },\n importPath: \"antd/lib/input/Group\",\n importName: \"InputGroup\",\n isDefaultExport: true,\n parentComponentName: \"AntdInput\",\n};\n\nexport function registerInputGroup(\n loader?: Registerable,\n customInputGroupMeta?: ComponentMeta<GroupProps>\n) {\n const doRegisterComponent: typeof registerComponent = (...args) =>\n loader ? loader.registerComponent(...args) : registerComponent(...args);\n doRegisterComponent(InputGroup, customInputGroupMeta ?? inputGroupMeta);\n}\n","import registerComponent, {\n ComponentMeta,\n} from \"@plasmicapp/host/registerComponent\";\nimport { MenuItemProps, MenuProps, SubMenuProps } from \"antd/lib/menu\";\nimport { MenuDividerProps } from \"antd/lib/menu\";\nimport Menu from \"antd/lib/menu/index\";\nimport MenuDivider from \"antd/lib/menu/MenuDivider\";\nimport MenuItem from \"antd/lib/menu/MenuItem\";\nimport SubMenu from \"antd/lib/menu/SubMenu\";\nimport { ItemGroup, MenuItemGroupProps } from \"rc-menu\";\nimport { traverseReactEltTree } from \"./customControls\";\nimport { Registerable } from \"./registerable\";\n\nexport const menuDividerMeta: ComponentMeta<MenuDividerProps> = {\n name: \"AntdMenuDivider\",\n displayName: \"Antd Menu Divider\",\n props: {\n dashed: {\n type: \"boolean\",\n description: \"Whether line is dashed\",\n defaultValueHint: false,\n },\n },\n importPath: \"antd/lib/menu/MenuDivider\",\n importName: \"MenuDivider\",\n isDefaultExport: true,\n parentComponentName: \"AntdMenu\",\n};\n\nexport function registerMenuDivider(\n loader?: Registerable,\n customMenuDividerMeta?: ComponentMeta<MenuDividerProps>\n) {\n const doRegisterComponent: typeof registerComponent = (...args) =>\n loader ? loader.registerComponent(...args) : registerComponent(...args);\n doRegisterComponent(MenuDivider, customMenuDividerMeta ?? menuDividerMeta);\n}\n\nexport const menuItemMeta: ComponentMeta<MenuItemProps> = {\n name: \"AntdMenuItem\",\n displayName: \"Antd Menu Item\",\n props: {\n danger: {\n type: \"boolean\",\n description: \"Display the danger style\",\n defaultValueHint: false,\n },\n disabled: {\n type: \"boolean\",\n description: \"Whether disabled select\",\n defaultValueHint: false,\n },\n key: {\n type: \"string\",\n description: \"Unique ID of the menu item\",\n defaultValue: \"menuItemKey\",\n },\n title: {\n type: \"string\",\n description: \"Set display title for collapsed item\",\n },\n children: {\n type: \"slot\",\n defaultValue: [\n {\n type: \"text\",\n value: \"Option\",\n },\n ],\n },\n },\n importPath: \"antd/lib/menu/MenuItem\",\n importName: \"MenuItem\",\n isDefaultExport: true,\n parentComponentName: \"AntdMenu\",\n};\n\nexport function registerMenuItem(\n loader?: Registerable,\n customMenuItemMeta?: ComponentMeta<MenuItemProps>\n) {\n const doRegisterComponent: typeof registerComponent = (...args) =>\n loader ? loader.registerComponent(...args) : registerComponent(...args);\n doRegisterComponent(MenuItem, customMenuItemMeta ?? menuItemMeta);\n}\n\nexport const menuItemGroupMeta: ComponentMeta<MenuItemGroupProps> = {\n name: \"AntdMenuItemGroup\",\n displayName: \"Antd Menu Item Group\",\n props: {\n title: {\n type: \"slot\",\n defaultValue: [\n {\n type: \"text\",\n value: \"Group\",\n },\n ],\n },\n children: {\n type: \"slot\",\n allowedComponents: [\n \"AntdMenuItem\",\n \"AntdMenuDivider\",\n \"AntdMenuItemGroup\",\n ],\n defaultValue: [\n {\n type: \"component\",\n name: \"AntdMenuItem\",\n },\n ],\n },\n },\n importPath: \"rc-menu\",\n importName: \"ItemGroup\",\n parentComponentName: \"AntdMenu\",\n};\n\nexport function registerMenuItemGroup(\n loader?: Registerable,\n customMenuItemGroupMeta?: ComponentMeta<MenuItemProps>\n) {\n const doRegisterComponent: typeof registerComponent = (...args) =>\n loader ? loader.registerComponent(...args) : registerComponent(...args);\n doRegisterComponent(ItemGroup, customMenuItemGroupMeta ?? menuItemGroupMeta);\n}\n\nexport const subMenuMeta: ComponentMeta<SubMenuProps> = {\n name: \"AntdSubMenu\",\n displayName: \"Antd SubMenu\",\n props: {\n disabled: {\n type: \"boolean\",\n description: \"Whether sub-menu is disabled\",\n defaultValueHint: false,\n },\n key: {\n type: \"string\",\n description: \"Unique ID of the sub-menu\",\n defaultValue: \"subMenuKey\",\n },\n title: {\n type: \"slot\",\n defaultValue: [\n {\n type: \"text\",\n value: \"Sub-menu\",\n },\n ],\n },\n children: {\n type: \"slot\",\n allowedComponents: [\n \"AntdMenuItem\",\n \"AntdMenuDivider\",\n \"AntdMenuItemGroup\",\n \"AntdSubMenu\",\n ],\n defaultValue: [1, 2].map((i) => ({\n type: \"component\",\n name: \"AntdMenuItem\",\n props: {\n key: `subMenuItemKey${i}`,\n children: [\n {\n type: \"text\",\n value: `Sub-menu item ${i}`,\n },\n ],\n },\n })),\n },\n },\n importPath: \"antd/lib/menu/SubMenu\",\n importName: \"SubMenu\",\n isDefaultExport: true,\n parentComponentName: \"AntdMenu\",\n};\n\nexport function registerSubMenu(\n loader?: Registerable,\n customSubMenuMeta?: ComponentMeta<SubMenuProps>\n) {\n const doRegisterComponent: typeof registerComponent = (...args) =>\n loader ? loader.registerComponent(...args) : registerComponent(...args);\n doRegisterComponent(SubMenu, customSubMenuMeta ?? subMenuMeta);\n}\n\nexport const menuMeta: ComponentMeta<MenuProps> = {\n name: \"AntdMenu\",\n displayName: \"Antd Menu\",\n props: {\n expandIcon: {\n type: \"slot\",\n hidePlaceholder: true,\n },\n forceSubMenuRender: {\n type: \"boolean\",\n description: \"Render submenu into DOM before it becomes visible\",\n defaultValueHint: false,\n },\n inlineIndent: {\n type: \"number\",\n description: \"Indent (in pixels) of inline menu items on each level\",\n defaultValueHint: 24,\n },\n mode: {\n type: \"choice\",\n options: [\"horizontal\", \"vertical\", \"inline\"],\n description: \"Type of menu\",\n defaultValueHint: \"vertical\",\n },\n multiple: {\n type: \"boolean\",\n description: \"Allows selection of multiple items\",\n defaultValueHint: false,\n },\n openKeys: {\n type: \"choice\",\n editOnly: true,\n uncontrolledProp: \"defaultOpenKeys\",\n description: \"Array with the keys of default opened sub menus\",\n multiSelect: true,\n options: componentProps => {\n const options = new Set<string>();\n traverseReactEltTree(componentProps.children, elt => {\n if (elt?.type === SubMenu && typeof elt?.key === \"string\") {\n options.add(elt.key);\n }\n });\n return Array.from(options.keys());\n },\n },\n overflowedIndicator: {\n type: \"slot\",\n hidePlaceholder: true,\n },\n selectable: {\n type: \"boolean\",\n description: \"Allows selecting menu items\",\n defaultValueHint: true,\n },\n selectedKeys: {\n type: \"choice\",\n editOnly: true,\n uncontrolledProp: \"defaultSelectedKeys\",\n description: \"Array with the keys of default selected menu items\",\n multiSelect: true,\n options: componentProps => {\n const options = new Set<string>();\n traverseReactEltTree(componentProps.children, elt => {\n if (\n [SubMenu, MenuItem as any].includes(elt?.type) &&\n typeof elt?.key === \"string\"\n ) {\n options.add(elt.key);\n }\n });\n return Array.from(options.keys());\n },\n },\n subMenuCloseDelay: {\n type: \"number\",\n description: \"Delay time to hide submenu when mouse leaves (in seconds)\",\n defaultValueHint: 0.1,\n },\n subMenuOpenDelay: {\n type: \"number\",\n description: \"Delay time to show submenu when mouse enters, (in seconds)\",\n defaultValueHint: 0,\n },\n theme: {\n type: \"choice\",\n options: [\"light\", \"dark\"],\n description: \"Color theme of the menu\",\n defaultValueHint: \"light\",\n },\n triggerSubMenuAction: {\n type: \"choice\",\n options: [\"hover\", \"click\"],\n description: \"Which action can trigger submenu open/close\",\n defaultValueHint: \"hover\",\n },\n children: {\n type: \"slot\",\n allowedComponents: [\"AntdMenuItem\", \"AntdMenuDivider\", \"AntdSubMenu\"],\n defaultValue: [\n {\n type: \"component\",\n name: \"AntdMenuItem\",\n },\n {\n type: \"component\",\n name: \"AntdSubMenu\",\n },\n ],\n },\n },\n importPath: \"antd/lib/menu/index\",\n importName: \"Menu\",\n isDefaultExport: true,\n};\n\nexport function registerMenu(\n loader?: Registerable,\n customMenuMeta?: ComponentMeta<MenuProps>\n) {\n const doRegisterComponent: typeof registerComponent = (...args) =>\n loader ? loader.registerComponent(...args) : registerComponent(...args);\n doRegisterComponent(Menu, customMenuMeta ?? menuMeta);\n}\n","import registerComponent, {\n ComponentMeta,\n} from \"@plasmicapp/host/registerComponent\";\nimport { OptGroup, Option } from \"rc-select\";\nimport { OptGroupProps } from \"rc-select/lib/OptGroup\";\nimport { OptionProps } from \"rc-select/lib/Option\";\nimport { Registerable } from \"./registerable\";\n\nexport const optionMeta: ComponentMeta<OptionProps> = {\n name: \"AntdOption\",\n displayName: \"Antd Option\",\n props: {\n disabled: {\n type: \"boolean\",\n description: \"Disable this option\",\n defaultValueHint: false,\n },\n title: {\n type: \"string\",\n description: \"title of Select after select this Option\",\n },\n value: {\n type: \"string\",\n description: \"Default to filter with this property\",\n },\n key: {\n type: \"string\",\n description: \"Option key\",\n },\n children: {\n type: \"slot\",\n defaultValue: [\n {\n type: \"text\",\n value: \"Option\",\n },\n ],\n },\n },\n importPath: \"rc-select\",\n importName: \"Option\",\n parentComponentName: \"AntdSelect\",\n};\n\nexport function registerOption(\n loader?: Registerable,\n customOptionMeta?: ComponentMeta<OptionProps>\n) {\n const doRegisterComponent: typeof registerComponent = (...args) =>\n loader ? loader.registerComponent(...args) : registerComponent(...args);\n doRegisterComponent(Option, customOptionMeta ?? optionMeta);\n}\n\nexport const optGroupMeta: ComponentMeta<OptGroupProps> = {\n name: \"AntdOptionGroup\",\n displayName: \"Antd Option Group\",\n props: {\n key: {\n type: \"string\",\n description: \"Group key\",\n },\n label: {\n type: \"string\",\n description: \"Group label\",\n },\n children: {\n type: \"slot\",\n allowedComponents: [\"AntdOption\"],\n defaultValue: [\n {\n type: \"component\",\n name: \"AntdOption\",\n },\n ],\n },\n },\n importPath: \"rc-select\",\n importName: \"OptGroup\",\n parentComponentName: \"AntdSelect\",\n};\n\nexport function registerOptGroup(\n loader?: Registerable,\n customOptGroupMeta?: ComponentMeta<OptGroupProps>\n) {\n const doRegisterComponent: typeof registerComponent = (...args) =>\n loader ? loader.registerComponent(...args) : registerComponent(...args);\n doRegisterComponent(OptGroup, customOptGroupMeta ?? optGroupMeta);\n}\n","import registerComponent, {\n ComponentMeta,\n} from \"@plasmicapp/host/registerComponent\";\nimport Rate, { RateProps } from \"antd/lib/rate\";\nimport { Registerable } from \"./registerable\";\n\nexport const rateMeta: ComponentMeta<RateProps> = {\n name: \"AntdRate\",\n displayName: \"Antd Rate\",\n props: {\n allowClear: {\n type: \"boolean\",\n description: \"Whether to allow clear when clicking again\",\n defaultValueHint: true,\n },\n allowHalf: {\n type: \"boolean\",\n description: \"Whether to allow semi selection\",\n defaultValueHint: false,\n },\n autoFocus: {\n type: \"boolean\",\n description: \"If componet is focused when mounted\",\n defaultValueHint: false,\n },\n count: {\n type: \"number\",\n description: \"Star count\",\n },\n disabled: {\n type: \"boolean\",\n description: \"Disabled state of component\",\n defaultValueHint: false,\n },\n tooltips: {\n type: \"array\",\n description: \"Array to customize tooltip for each icon\",\n },\n value: {\n type: \"number\",\n description: \"The default value\",\n editOnly: true,\n uncontrolledProp: \"defaultValue\",\n defaultValueHint: 0,\n },\n character: {\n type: \"slot\",\n hidePlaceholder: true,\n },\n },\n importPath: \"antd/lib/rate\",\n importName: \"Rate\",\n isDefaultExport: true,\n};\n\nexport function registerRate(\n loader?: Registerable,\n customRateMeta?: ComponentMeta<RateProps>\n) {\n const doRegisterComponent: typeof registerComponent = (...args) =>\n loader ? loader.registerComponent(...args) : registerComponent(...args);\n doRegisterComponent(Rate, customRateMeta ?? rateMeta);\n}\n","import registerComponent, {\n ComponentMeta,\n} from \"@plasmicapp/host/registerComponent\";\nimport Select from \"antd/lib/select\";\nimport { Option } from \"rc-select\";\nimport React from \"react\";\nimport { traverseReactEltTree } from \"./customControls\";\nimport { Registerable } from \"./registerable\";\n\ntype SelectProps = React.ComponentProps<typeof Select>;\n\nexport const selectMeta: ComponentMeta<SelectProps> = {\n name: \"AntdSelect\",\n displayName: \"Antd Select\",\n props: {\n allowClear: {\n type: \"boolean\",\n description: \"Show clear button\",\n defaultValueHint: false,\n },\n autoClearSearchValue: {\n type: \"boolean\",\n description:\n \"Whether the current search will be cleared on selecting an item\",\n defaultValueHint: true,\n hidden: props => props.mode !== \"multiple\" && props.mode !== \"tags\",\n },\n autoFocus: {\n type: \"boolean\",\n description: \"Get focus by default\",\n defaultValueHint: false,\n },\n bordered: {\n type: \"boolean\",\n description: \"Whether has border style\",\n defaultValueHint: true,\n },\n disabled: {\n type: \"boolean\",\n description: \"Whether disabled select\",\n defaultValueHint: false,\n },\n listHeight: {\n type: \"number\",\n description: \"Config popup height\",\n defaultValueHint: 256,\n },\n loading: {\n type: \"boolean\",\n description: \"Indicate loading state\",\n defaultValueHint: false,\n },\n mode: {\n type: \"choice\",\n options: [\"multiple\", \"tags\"],\n description: \"Set mode of Select\",\n },\n open: {\n type: \"boolean\",\n editOnly: true,\n uncontrolledProp: \"defaultOpen\",\n description: \"Initial open state of dropdown\",\n defaultValueHint: false,\n },\n placeholder: {\n type: \"slot\",\n defaultValue: [\n {\n type: \"text\",\n value: \"Select\",\n },\n ],\n },\n showArrow: {\n type: \"boolean\",\n description: \"Whether to show the drop-down arrow\",\n defaultValueHint: true,\n },\n showSearch: {\n type: \"boolean\",\n description: \"Whether show search input in single mode\",\n defaultValueHint: false,\n },\n size: {\n type: \"choice\",\n options: [\"large\", \"middle\", \"small\"],\n description: \"Set mode of Select\",\n defaultValueHint: \"middle\",\n },\n value: {\n type: \"choice\",\n editOnly: true,\n uncontrolledProp: \"defaultValue\",\n description: \"Initial selected option\",\n options: componentProps => {\n const options = new Set<string>();\n traverseReactEltTree(componentProps.children, elt => {\n if (elt?.type === Option && typeof elt?.props?.value === \"string\") {\n options.add(elt.props.value);\n }\n });\n return Array.from(options.keys());\n },\n },\n virtual: {\n type: \"boolean\",\n description: \"Disable virtual scroll when set to false\",\n defaultValueHint: true,\n },\n children: {\n type: \"slot\",\n allowedComponents: [\"AntdOption, AntdOptionGroup\"],\n defaultValue: [\n {\n type: \"component\",\n name: \"AntdOption\",\n props: {\n value: \"Option\",\n children: {\n type: \"text\",\n value: \"Option\",\n },\n },\n },\n ],\n },\n },\n importPath: \"antd/lib/select\",\n importName: \"Select\",\n isDefaultExport: true,\n};\n\nexport function registerSelect(\n loader?: Registerable,\n customSelectMeta?: ComponentMeta<SelectProps>\n) {\n const doRegisterComponent: typeof registerComponent = (...args) =>\n loader ? loader.registerComponent(...args) : registerComponent(...args);\n doRegisterComponent(Select, customSelectMeta ?? selectMeta);\n}\n","import registerComponent, {\n ComponentMeta,\n} from \"@plasmicapp/host/registerComponent\";\nimport { default as AntdSlider } from \"antd/lib/slider\";\nimport type { SliderRangeProps, SliderSingleProps } from \"antd/lib/slider\";\nimport React from \"react\";\nimport { Registerable } from \"./registerable\";\n\ntype SliderProps = Omit<\n SliderSingleProps | SliderRangeProps,\n \"value\" | \"defaultValue\"\n> & {\n value?: number;\n defaultValue?: number;\n value2?: number;\n defaultValue2?: number;\n};\n\nexport const Slider = React.forwardRef<unknown, SliderProps>(\n ({ value, defaultValue, value2, defaultValue2, ...props }, ref) => {\n const newProps = { ...props } as SliderSingleProps | SliderRangeProps;\n if (props.range) {\n if (typeof value === \"number\" || typeof value2 === \"number\") {\n newProps.value = [value ?? 0, value2 ?? 0];\n }\n if (\n typeof defaultValue === \"number\" ||\n typeof defaultValue2 === \"number\"\n ) {\n newProps.defaultValue = [defaultValue ?? 0, defaultValue2 ?? 0];\n }\n } else {\n if (typeof value === \"number\") {\n newProps.value = value;\n }\n if(typeof defaultValue === \"number\") {\n newProps.defaultValue = defaultValue;\n }\n }\n return <AntdSlider {...newProps} ref={ref} />;\n }\n);\n\nexport const sliderMeta: ComponentMeta<SliderProps> = {\n name: \"AntdSlider\",\n displayName: \"Antd Slider\",\n props: {\n max: {\n type: \"number\",\n description: \"The maximum value the slider can slide to\",\n defaultValueHint: 100,\n },\n min: {\n type: \"number\",\n description: \"The minimum value the slider can slide to\",\n defaultValueHint: 0,\n },\n included: {\n type: \"boolean\",\n description:\n \"Make effect when marks not null, true means containment and false means coordinative\",\n defaultValueHint: true,\n },\n disabled: {\n type: \"boolean\",\n description: \"If true, the slider will not be interactable\",\n defaultValueHint: false,\n },\n range: {\n type: \"boolean\",\n description: \"Dual thumb mode\",\n defaultValueHint: false,\n },\n reverse: {\n type: \"boolean\",\n description: \"Reverse the component\",\n defaultValueHint: false,\n },\n vertical: {\n type: \"boolean\",\n description: \"If true, the slider will be vertical\",\n defaultValueHint: false,\n },\n value: {\n type: \"number\",\n editOnly: true,\n uncontrolledProp: \"defaultValue\",\n description: \"The default value of slider\",\n },\n value2: {\n type: \"number\",\n displayName: \"value 2\",\n editOnly: true,\n uncontrolledProp: \"defaultValue2\",\n description: \"The default value for the second value of the slider\",\n hidden: (props) => !props.range,\n },\n step: {\n type: \"number\",\n description:\n \"The granularity the slider can step through values. Must greater than 0, and be divided by (max - min).\" +\n \" When marks no null, step can be null\",\n defaultValueHint: 1,\n },\n marks: {\n type: \"object\",\n description:\n \"Tick mark of Slider, type of key must be number, and must in closed interval [min, max],\" +\n \" each mark can declare its own style\",\n },\n },\n defaultStyles: {\n width: \"200px\",\n maxWidth: \"100%\",\n },\n importPath: \"@plasmicpkgs/antd/skinny/registerSlider\",\n importName: \"Slider\",\n};\n\nexport function registerSlider(\n loader?: Registerable,\n customSliderMeta?: ComponentMeta<SliderProps>\n) {\n const doRegisterComponent: typeof registerComponent = (...args) =>\n loader ? loader.registerComponent(...args) : registerComponent(...args);\n doRegisterComponent(Slider, customSliderMeta ?? sliderMeta);\n}\n","import registerComponent, {\n ComponentMeta,\n} from \"@plasmicapp/host/registerComponent\";\nimport Switch, { SwitchProps } from \"antd/lib/switch\";\nimport { Registerable } from \"./registerable\";\n\nexport const switchMeta: ComponentMeta<SwitchProps> = {\n name: \"AntdSwitch\",\n displayName: \"Antd Switch\",\n props: {\n autoFocus: {\n type: \"boolean\",\n description: \"Whether get focus when component mounted\",\n defaultValueHint: false,\n },\n checked: {\n type: \"boolean\",\n editOnly: true,\n uncontrolledProp: \"defaultChecked\",\n description: \"Whether to set the initial state\",\n defaultValueHint: false,\n },\n disabled: {\n type: \"boolean\",\n description: \"Disable switch\",\n defaultValueHint: false,\n },\n loading: {\n type: \"boolean\",\n description: \"Loading state of switch\",\n defaultValueHint: false,\n },\n checkedChildren: {\n type: \"slot\",\n defaultValue: [],\n hidePlaceholder: true,\n },\n unCheckedChildren: {\n type: \"slot\",\n defaultValue: [],\n hidePlaceholder: true,\n },\n size: {\n type: \"choice\",\n options: [\"small\", \"default\"],\n description: \"The size of the Switch\",\n defaultValueHint: \"default\",\n },\n },\n importPath: \"antd/lib/switch\",\n importName: \"Switch\",\n isDefaultExport: true,\n};\n\nexport function registerSwitch(\n loader?: Registerable,\n customSwitchMeta?: ComponentMeta<SwitchProps>\n) {\n const doRegisterComponent: typeof registerComponent = (...args) =>\n loader ? loader.registerComponent(...args) : registerComponent(...args);\n doRegisterComponent(Switch, customSwitchMeta ?? switchMeta);\n}\n","import {\n ComponentMeta,\n DataProvider,\n registerComponent,\n repeatedElement,\n useSelector,\n} from \"@plasmicapp/host\";\nimport { SizeType } from \"antd/lib/config-provider/SizeContext\";\nimport Table from \"antd/lib/table/Table\";\nimport React from \"react\";\nimport { Registerable } from \"./registerable\";\n\ninterface TableColumnProps {\n columnIndex: number;\n // The title text to show in the column headers\n title?: string;\n\n // The path for the data field to get the value from\n // Display field of the data record, support nest path by string array\n dataIndex: string | string[];\n\n // Plasmic - Custom column template\n columnTemplate: React.ReactNode;\n}\n\n// This is an empty virtual component used to allow users to define column\n// properties in plasmic.\nexport function TableColumn(_props: TableColumnProps) {\n return null;\n}\n\nexport interface TableValueProps {\n className?: string;\n}\n\nexport function TableValue(props: TableValueProps) {\n const { className } = props;\n const column = useSelector(\"currentColumn\");\n return <div className={className}>{column?.toString() ?? \"\"}</div>;\n}\n\n/**\n * Wrapper used to consume internal canvas props\n */\nfunction ColumnWrapper(props: { children: React.ReactNode }) {\n return props.children as React.ReactElement | null;\n}\n\nexport interface TableWrapperProps {\n className?: string;\n items: Array<any>;\n columns: React.ReactNode;\n size?: string;\n pagination?: boolean;\n onSelect?: (record: any) => void;\n}\n\nexport function TableWrapper(props: TableWrapperProps) {\n const { className, items, columns, size, onSelect, pagination } = props;\n\n // Plasmic Studio Canvas currently renders items in a slightly different way than the generated code:\n // - In the studio:\n // - The `columns` prop value is an array of nested react <Column /> nodes.\n // - In the generated code (preview mode):\n // - The `columns` prop value is a React Node with a `children` property that contains\n // an array of the nested react <Column /> components.\n const tableColumns = (columns as any)?.props?.children ?? (columns as any);\n\n // Convert the props.columns slot children to an array of column definitions\n const columnDefinitions = React.useMemo(() => {\n return React.Children.map(\n tableColumns,\n (column: { props: TableColumnProps }, columnIndex) => {\n if (!column) {\n return undefined;\n }\n\n const { columnTemplate, title, dataIndex, ...rest } = column.props;\n\n const columnDefinition = {\n columnIndex,\n title,\n dataIndex,\n key: columnIndex,\n render: (value: any, record: any, rowIndex: any) => {\n return (\n <DataProvider name=\"currentRow\" data={record}>\n <DataProvider name=\"currentRowIndex\" data={rowIndex}>\n <DataProvider name=\"currentColumn\" data={value}>\n {repeatedElement(\n rowIndex,\n <ColumnWrapper {...rest}>{columnTemplate}</ColumnWrapper>\n )}\n </DataProvider>\n </DataProvider>\n </DataProvider>\n );\n },\n };\n\n return columnDefinition;\n }\n ).filter(Boolean);\n }, [tableColumns]);\n\n return (\n <Table\n className={className}\n columns={columnDefinitions}\n dataSource={items}\n size={size as SizeType}\n onRow={(record) => {\n return {\n onMouseUp: () => {\n return onSelect?.(record.id);\n },\n };\n }}\n pagination={pagination ? undefined : pagination}\n rowKey={\"id\"}\n />\n );\n}\n\nconst DEFAULT_ITEMS = [\n {\n name: \"John Brown\",\n age: 19,\n address: \"New York No. 1 Lake Park\",\n tags: [\"student\", \"developer\"],\n },\n {\n name: \"Jim Green\",\n age: 42,\n address: \"London No. 1 Lake Park\",\n tags: [\"teacher\"],\n },\n {\n name: \"Joe Black\",\n age: 32,\n address: \"Sidney No. 1 Lake Park\",\n tags: [\"cool\", \"teacher\"],\n },\n];\n\nfunction capitalize(input: string) {\n return input.charAt(0).toUpperCase() + input.slice(1);\n}\n\nexport const tableMeta: ComponentMeta<TableWrapperProps> = {\n name: \"AntdTable\",\n displayName: \"Antd Table\",\n props: {\n items: {\n type: \"array\",\n description:\n \"The data to display in the table, as a list of objects (one object per row)\",\n defaultValue: DEFAULT_ITEMS,\n },\n\n columns: {\n type: \"slot\",\n allowedComponents: [\"AntdTableColumn\"],\n defaultValue: Object.keys(DEFAULT_ITEMS[0]).map((columnName) => ({\n type: \"component\",\n name: \"AntdTableColumn\",\n props: {\n title: capitalize(columnName),\n dataIndex: columnName,\n },\n })),\n },\n\n size: {\n type: \"choice\",\n options: [\"large\", \"middle\", \"small\"],\n defaultValueHint: \"large\",\n },\n\n pagination: {\n type: \"boolean\",\n defaultValueHint: true,\n },\n },\n\n importPath: \"@plasmicpkgs/antd/skinny/registerTable\",\n importName: \"TableWrapper\",\n};\n\nexport const tableColumnMeta: ComponentMeta<TableColumnProps> = {\n name: \"AntdTableColumn\",\n parentComponentName: \"AntdTable\",\n providesData: true,\n props: {\n title: {\n type: \"string\",\n defaultValue: \"Name\",\n },\n\n dataIndex: {\n type: \"string\",\n defaultValue: \"name\",\n description:\n \"The field to show. The table accepts some data as a list of objects, and this is the name of the field in those objects that this column will display.\",\n },\n\n columnTemplate: {\n type: \"slot\",\n defaultValue: {\n type: \"vbox\",\n styles: {\n padding: 0,\n },\n children: [\n {\n type: \"component\",\n name: \"AntdTableValue\",\n },\n ],\n },\n },\n },\n\n importPath: \"@plasmicpkgs/antd/skinny/registerTable\",\n importName: \"TableColumn\",\n};\n\nexport const tableValueMeta: ComponentMeta<TableValueProps> = {\n name: \"AntdTableValue\",\n parentComponentName: \"AntdTableColumn\",\n props: {},\n importPath: \"@plasmicpkgs/antd/skinny/registerTable\",\n importName: \"TableValue\",\n};\n\nexport function registerTable(\n loader?: Registerable,\n customMeta?: ComponentMeta<TableWrapperProps>\n) {\n const doRegisterComponent: typeof registerComponent = (...args) =>\n loader ? loader.registerComponent(...args) : registerComponent(...args);\n doRegisterComponent(TableWrapper, customMeta ?? tableMeta);\n}\n\nexport function registerTableColumn(\n loader?: Registerable,\n customMeta?: ComponentMeta<TableColumnProps>\n) {\n const doRegisterComponent: typeof registerComponent = (...args) =>\n loader ? loader.registerComponent(...args) : registerComponent(...args);\n doRegisterComponent(TableColumn, customMeta ?? tableColumnMeta);\n}\n\nexport function registerTableValue(\n loader?: Registerable,\n customMeta?: ComponentMeta<TableValueProps>\n) {\n const doRegisterComponent: typeof registerComponent = (...args) =>\n loader ? loader.registerComponent(...args) : registerComponent(...args);\n doRegisterComponent(TableValue, customMeta ?? tableValueMeta);\n}\n","import registerComponent, {\n ActionProps,\n ComponentMeta,\n} from \"@plasmicapp/host/registerComponent\";\nimport { Button } from \"antd\";\nimport {\n default as AntdTabs,\n TabPaneProps,\n TabsProps as AntdTabsProps,\n} from \"antd/lib/tabs\";\nimport React from \"react\";\nimport { traverseReactEltTree } from \"./customControls\";\nimport { Registerable } from \"./registerable\";\n\nexport const TabPane = AntdTabs.TabPane;\n\nexport const tabPaneMeta: ComponentMeta<TabPaneProps> = {\n name: \"AntdTabPane\",\n displayName: \"Antd Tab Pane\",\n props: {\n tab: {\n type: \"slot\",\n defaultValue: [\n {\n type: \"text\",\n value: \"Tab\",\n },\n ],\n },\n key: {\n type: \"string\",\n description: \"Unique TabPane's key\",\n defaultValue: \"tabPaneKey\",\n },\n closable: {\n type: \"boolean\",\n description:\n \"Wether the tab can be closed or not. Only works for editable tabs\",\n defaultValueHint: true,\n },\n disabled: {\n type: \"boolean\",\n description: \"Disabled state of tab\",\n defaultValueHint: false,\n },\n forceRender: {\n type: \"boolean\",\n description:\n \"Forced render of content in tabs, not lazy render after clicking on tabs\",\n defaultValueHint: false,\n },\n closeIcon: {\n type: \"slot\",\n hidePlaceholder: true,\n },\n children: {\n type: \"slot\",\n defaultValue: [\n {\n type: \"text\",\n value: \"Tab Content\",\n },\n ],\n },\n },\n parentComponentName: \"AntdTabs\",\n importPath: \"@plasmicpkgs/antd/skinny/registerTabs\",\n importName: \"TabPane\",\n};\n\nexport function registerTabPane(\n loader?: Registerable,\n customTabPaneMeta?: ComponentMeta<TabPaneProps>\n) {\n const doRegisterComponent: typeof registerComponent = (...args) =>\n loader ? loader.registerComponent(...args) : registerComponent(...args);\n doRegisterComponent(TabPane, customTabPaneMeta ?? tabPaneMeta);\n}\n\nexport type TabsProps = Omit<AntdTabsProps, \"tabBarExtraContent\"> & {\n leftTabBarExtraContent?: React.ReactNode;\n rightTabBarExtraContent?: React.ReactNode;\n};\n\nexport function Tabs(props: TabsProps) {\n const {\n leftTabBarExtraContent,\n rightTabBarExtraContent,\n ...otherProps\n } = props;\n return (\n <AntdTabs\n {...otherProps}\n tabBarExtraContent={{\n left: leftTabBarExtraContent,\n right: rightTabBarExtraContent,\n }}\n />\n );\n}\n\nfunction NavigateTabs({ componentProps, studioOps }: ActionProps<any>) {\n const tabPanes: string[] = [];\n traverseReactEltTree(componentProps.children, (elt) => {\n if (elt?.type === TabPane && typeof elt?.key === \"string\") {\n tabPanes.push(elt.key);\n }\n });\n\n const activeKey = componentProps.activeKey;\n const currTabPos = activeKey\n ? tabPanes.findIndex((tabKey) => {\n return tabKey === activeKey;\n })\n : 0;\n\n return (\n <div\n style={{\n width: \"100%\",\n display: \"flex\",\n flexDirection: \"row\",\n gap: \"10px\",\n justifyContent: \"space-between\",\n }}\n >\n <Button\n style={{ width: \"100%\" }}\n onClick={() => {\n if (tabPanes.length > 0) {\n const prevTabPos =\n (currTabPos - 1 + tabPanes.length) % tabPanes.length;\n studioOps.updateProps({ activeKey: tabPanes[prevTabPos] });\n }\n }}\n >\n Prev tab\n </Button>\n <Button\n style={{ width: \"100%\" }}\n onClick={() => {\n if (tabPanes.length > 0) {\n const nextTabPos = (currTabPos + 1) % tabPanes.length;\n studioOps.updateProps({ activeKey: tabPanes[nextTabPos] });\n }\n }}\n >\n Next tab\n </Button>\n </div>\n );\n}\n\nfunction OutlineMessage() {\n return <div>* To re-arrange tab panes, use the Outline panel</div>;\n}\n\nexport const tabsMeta: ComponentMeta<TabsProps> = {\n name: \"AntdTabs\",\n displayName: \"Antd Tabs\",\n props: {\n type: {\n type: \"choice\",\n options: [\"line\", \"card\", \"editable-card\"],\n defaultValueHint: \"line\",\n description: \"Basic style of tabs\",\n },\n addIcon: {\n type: \"slot\",\n hidePlaceholder: true,\n },\n animated: {\n type: \"object\",\n hidden: (props) => props.tabPosition !== \"top\" && !!props.tabPosition,\n defaultValueHint: { inkBar: true, tabPane: false },\n description:\n \"Whether to change tabs with animation. Can be either a boolean or specify for inkBar and tabPane\",\n },\n hideAdd: {\n type: \"boolean\",\n hidden: (props) => props.type !== \"editable-card\",\n defaultValueHint: false,\n description: \"Hide plus icon or not\",\n },\n moreIcon: {\n type: \"slot\",\n hidePlaceholder: true,\n },\n size: {\n type: \"choice\",\n options: [\"large\", \"default\", \"small\"],\n defaultValueHint: \"default\",\n description: \"Preset tab bar size\",\n },\n tabPosition: {\n type: \"choice\",\n options: [\"top\", \"right\", \"bottom\", \"left\"],\n defaultValueHint: \"top\",\n description: \"Position of tabs\",\n },\n tabBarGutter: {\n type: \"number\",\n description: \"The gap between tabs\",\n },\n centered: {\n type: \"boolean\",\n description: \"Centers tabs\",\n defaultValueHint: false,\n },\n leftTabBarExtraContent: {\n type: \"slot\",\n hidePlaceholder: true,\n },\n rightTabBarExtraContent: {\n type: \"slot\",\n hidePlaceholder: true,\n },\n tabBarStyle: {\n type: \"object\",\n description: \"CSS for the Tab Bar style\",\n },\n activeKey: {\n type: \"choice\",\n editOnly: true,\n uncontrolledProp: \"defaultActiveKey\",\n description: \"Initial active TabPane's key\",\n options: (props) => {\n const options = new Set<string>();\n traverseReactEltTree(props.children, (elt) => {\n if (elt?.type === TabPane && typeof elt?.key === \"string\") {\n options.add(elt.key);\n }\n });\n return Array.from(options.keys());\n },\n },\n children: {\n type: \"slot\",\n allowedComponents: [\"AntdTabPane\"],\n defaultValue: [\n {\n type: \"component\",\n name: \"AntdTabPane\",\n props: {\n key: \"1\",\n tab: [\n {\n type: \"text\",\n value: \"Tab\",\n },\n ],\n children: [\n {\n type: \"text\",\n value: \"Tab content\",\n },\n ],\n },\n },\n {\n type: \"component\",\n name: \"AntdTabPane\",\n props: {\n key: \"2\",\n tab: [\n {\n type: \"text\",\n value: \"Tab\",\n },\n ],\n children: [\n {\n type: \"text\",\n value: \"Tab content\",\n },\n ],\n },\n },\n ],\n },\n },\n actions: [\n {\n type: \"custom-action\",\n control: NavigateTabs,\n },\n {\n type: \"button-action\",\n label: \"Add new tab\",\n onClick: ({ componentProps, studioOps }: ActionProps<any>) => {\n // Get the first positive integer that isn't already a key\n const generateNewKey = () => {\n let keysSet = new Set<string>();\n traverseReactEltTree(componentProps.children, (elt) => {\n if (elt?.type === TabPane && typeof elt?.key === \"string\") {\n keysSet.add(elt.key);\n }\n });\n\n for (\n let keyCandidate = 1;\n keyCandidate <= keysSet.size + 1;\n keyCandidate++\n ) {\n const strKey = keyCandidate.toString();\n if (!keysSet.has(strKey)) {\n return strKey;\n }\n }\n\n return undefined;\n };\n\n const tabKey = generateNewKey();\n studioOps.appendToSlot(\n {\n type: \"component\",\n name: \"AntdTabPane\",\n props: {\n key: tabKey,\n },\n },\n \"children\"\n );\n studioOps.updateProps({ activeKey: tabKey });\n },\n },\n {\n type: \"button-action\",\n label: \"Delete current tab\",\n onClick: ({ componentProps, studioOps }: ActionProps<any>) => {\n if (componentProps.activeKey) {\n const tabPanes: string[] = [];\n traverseReactEltTree(componentProps.children, (elt) => {\n if (elt?.type === TabPane && typeof elt?.key === \"string\") {\n tabPanes.push(elt.key);\n }\n });\n\n const activeKey = componentProps.activeKey;\n const currTabPos = tabPanes.findIndex((tabKey) => {\n return tabKey === activeKey;\n });\n\n if (currTabPos !== -1) {\n studioOps.removeFromSlotAt(currTabPos, \"children\");\n if (tabPanes.length - 1 > 0) {\n const prevTabPos =\n (currTabPos - 1 + tabPanes.length) % tabPanes.length;\n studioOps.updateProps({ activeKey: tabPanes[prevTabPos] });\n }\n }\n }\n },\n },\n {\n type: \"custom-action\",\n control: OutlineMessage,\n },\n ],\n importPath: \"@plasmicpkgs/antd/skinny/registerTabs\",\n importName: \"Tabs\",\n};\n\nexport function registerTabs(\n loader?: Registerable,\n customTabsMeta?: ComponentMeta<TabsProps>\n) {\n const doRegisterComponent: typeof registerComponent = (...args) =>\n loader ? loader.registerComponent(...args) : registerComponent(...args);\n doRegisterComponent(Tabs, customTabsMeta ?? tabsMeta);\n}\n","import { Registerable } from \"./registerable\";\nimport { registerButton } from \"./registerButton\";\nimport { registerCarousel } from \"./registerCarousel\";\nimport { registerCheckbox, registerCheckboxGroup } from \"./registerCheckbox\";\nimport { registerCollapse, registerCollapsePanel } from \"./registerCollapse\";\nimport { registerDropdown, registerDropdownButton } from \"./registerDropdown\";\nimport {\n registerInput,\n registerInputGroup,\n registerInputPassword,\n registerInputSearch,\n registerInputTextArea,\n} from \"./registerInput\";\nimport {\n registerMenu,\n registerMenuDivider,\n registerMenuItem,\n registerMenuItemGroup,\n registerSubMenu,\n} from \"./registerMenu\";\nimport { registerOptGroup, registerOption } from \"./registerOption\";\nimport { registerRate } from \"./registerRate\";\nimport { registerSelect } from \"./registerSelect\";\nimport { registerSlider } from \"./registerSlider\";\nimport { registerSwitch } from \"./registerSwitch\";\nimport {\n registerTable,\n registerTableColumn,\n registerTableValue,\n} from \"./registerTable\";\nimport { registerTabPane, registerTabs } from \"./registerTabs\";\n\nexport * from \"./registerable\";\nexport * from \"./registerButton\";\nexport * from \"./registerCarousel\";\nexport * from \"./registerCheckbox\";\nexport * from \"./registerCollapse\";\nexport * from \"./registerDropdown\";\nexport * from \"./registerInput\";\nexport * from \"./registerMenu\";\nexport * from \"./registerOption\";\nexport * from \"./registerRate\";\nexport * from \"./registerSelect\";\nexport * from \"./registerSlider\";\nexport * from \"./registerSwitch\";\nexport * from \"./registerTabs\";\n\nexport function registerAll(loader?: Registerable) {\n registerButton(loader);\n registerSlider(loader);\n registerSwitch(loader);\n registerOption(loader);\n registerOptGroup(loader);\n registerSelect(loader);\n registerCollapsePanel(loader);\n registerCollapse(loader);\n registerCheckbox(loader);\n registerCheckboxGroup(loader);\n registerMenuDivider(loader);\n registerMenuItem(loader);\n registerMenuItemGroup(loader);\n registerSubMenu(loader);\n registerMenu(loader);\n registerDropdown(loader);\n registerDropdownButton(loader);\n registerCarousel(loader);\n registerInput(loader);\n registerInputTextArea(loader);\n registerInputSearch(loader);\n registerInputPassword(loader);\n registerInputGroup(loader);\n registerTabPane(loader);\n registerTable(loader);\n registerTableColumn(loader);\n registerTableValue(loader);\n registerTabs(loader);\n registerRate(loader);\n}\n"],"names":["registerComponent","Button","Carousel","React","Checkbox","__spreadValues","CheckboxGroup","CollapsePanel","__objRest","AntdCollapse","AntdDropdown","DropdownButton","__spreadProps","Input","TextArea","Search","Password","InputGroup","MenuDivider","MenuItem","ItemGroup","SubMenu","Menu","Option","OptGroup","Rate","Select","AntdSlider","Switch","useSelector","DataProvider","repeatedElement","Table","AntdTabs"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKO,MAAM,UAAyC,GAAA;AAAA,EACpD,IAAM,EAAA,YAAA;AAAA,EACN,WAAa,EAAA,aAAA;AAAA,EACb,KAAO,EAAA;AAAA,IACL,IAAM,EAAA;AAAA,MACJ,IAAM,EAAA,QAAA;AAAA,MACN,SAAS,CAAC,SAAA,EAAW,WAAW,OAAS,EAAA,QAAA,EAAU,QAAQ,MAAM,CAAA;AAAA,MACjE,WAAa,EAAA,2DAAA;AAAA,MACb,gBAAkB,EAAA,SAAA;AAAA,KACpB;AAAA,IACA,IAAM,EAAA;AAAA,MACJ,IAAM,EAAA,QAAA;AAAA,MACN,OAAS,EAAA,CAAC,OAAS,EAAA,QAAA,EAAU,OAAO,CAAA;AAAA,MACpC,WAAa,EAAA,wBAAA;AAAA,MACb,gBAAkB,EAAA,QAAA;AAAA,KACpB;AAAA,IACA,KAAO,EAAA;AAAA,MACL,IAAM,EAAA,QAAA;AAAA,MACN,OAAS,EAAA,CAAC,SAAW,EAAA,QAAA,EAAU,OAAO,CAAA;AAAA,MACtC,WAAa,EAAA,yBAAA;AAAA,MACb,gBAAkB,EAAA,SAAA;AAAA,KACpB;AAAA,IACA,QAAU,EAAA;AAAA,MACR,IAAM,EAAA,SAAA;AAAA,MACN,WAAa,EAAA,0BAAA;AAAA,MACb,gBAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plasmicpkgs/antd",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.21",
|
|
4
4
|
"description": "Plasmic registration calls for antd components",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"@plasmicapp/host": "^1.0.0",
|
|
47
47
|
"react": ">=16.8.0"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "77fee038d8d59a70f0f5ed9edf69388dfb63fa44"
|
|
50
50
|
}
|