@plasmicpkgs/antd 0.0.2 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -497,7 +497,8 @@ var dropdownMeta = {
|
|
|
497
497
|
},
|
|
498
498
|
visible: {
|
|
499
499
|
type: "boolean",
|
|
500
|
-
description: "
|
|
500
|
+
description: "Toggle visibility of dropdown menu in Plasmic Editor",
|
|
501
|
+
editOnly: true
|
|
501
502
|
},
|
|
502
503
|
children: {
|
|
503
504
|
type: "slot",
|
|
@@ -525,7 +526,10 @@ var dropdownButtonMeta = {
|
|
|
525
526
|
type: "boolean",
|
|
526
527
|
description: "Whether the dropdown menu is disabled"
|
|
527
528
|
},
|
|
528
|
-
icon:
|
|
529
|
+
icon: {
|
|
530
|
+
type: "slot",
|
|
531
|
+
hidePlaceholder: true
|
|
532
|
+
},
|
|
529
533
|
overlay: {
|
|
530
534
|
type: "slot",
|
|
531
535
|
allowedComponents: ["AntdMenu"],
|
|
@@ -556,7 +560,8 @@ var dropdownButtonMeta = {
|
|
|
556
560
|
},
|
|
557
561
|
visible: {
|
|
558
562
|
type: "boolean",
|
|
559
|
-
description: "
|
|
563
|
+
description: "Toggle visibility of dropdown menu in Plasmic Editor",
|
|
564
|
+
editOnly: true
|
|
560
565
|
},
|
|
561
566
|
children: {
|
|
562
567
|
type: "slot",
|
|
@@ -914,7 +919,8 @@ var menuItemMeta = {
|
|
|
914
919
|
},
|
|
915
920
|
key: {
|
|
916
921
|
type: "string",
|
|
917
|
-
description: "Unique ID of the menu item"
|
|
922
|
+
description: "Unique ID of the menu item",
|
|
923
|
+
defaultValue: "menuItemKey"
|
|
918
924
|
},
|
|
919
925
|
title: {
|
|
920
926
|
type: "string",
|
|
@@ -979,7 +985,8 @@ var subMenuMeta = {
|
|
|
979
985
|
},
|
|
980
986
|
key: {
|
|
981
987
|
type: "string",
|
|
982
|
-
description: "Unique ID of the sub-menu"
|
|
988
|
+
description: "Unique ID of the sub-menu",
|
|
989
|
+
defaultValue: "subMenuKey"
|
|
983
990
|
},
|
|
984
991
|
title: {
|
|
985
992
|
type: "slot",
|
|
@@ -993,7 +1000,10 @@ var subMenuMeta = {
|
|
|
993
1000
|
allowedComponents: ["AntdMenuItem", "AntdMenuDivider", "AntdMenuItemGroup", "AntdSubMenu"],
|
|
994
1001
|
defaultValue: [{
|
|
995
1002
|
type: "component",
|
|
996
|
-
name: "AntdMenuItem"
|
|
1003
|
+
name: "AntdMenuItem",
|
|
1004
|
+
props: {
|
|
1005
|
+
key: "subMenuItemKey"
|
|
1006
|
+
}
|
|
997
1007
|
}]
|
|
998
1008
|
}
|
|
999
1009
|
},
|
|
@@ -1013,7 +1023,8 @@ var menuMeta = {
|
|
|
1013
1023
|
displayName: "Antd Menu",
|
|
1014
1024
|
props: {
|
|
1015
1025
|
expandIcon: {
|
|
1016
|
-
type: "slot"
|
|
1026
|
+
type: "slot",
|
|
1027
|
+
hidePlaceholder: true
|
|
1017
1028
|
},
|
|
1018
1029
|
forceSubMenuRender: {
|
|
1019
1030
|
type: "boolean",
|
|
@@ -1041,7 +1052,7 @@ var menuMeta = {
|
|
|
1041
1052
|
options: function options(componentProps) {
|
|
1042
1053
|
var options = new Set();
|
|
1043
1054
|
traverseReactEltTree(componentProps.children, function (elt) {
|
|
1044
|
-
if (
|
|
1055
|
+
if ((elt == null ? void 0 : elt.type) === SubMenu && typeof (elt == null ? void 0 : elt.key) === "string") {
|
|
1045
1056
|
options.add(elt.key);
|
|
1046
1057
|
}
|
|
1047
1058
|
});
|
|
@@ -1049,7 +1060,8 @@ var menuMeta = {
|
|
|
1049
1060
|
}
|
|
1050
1061
|
},
|
|
1051
1062
|
overflowedIndicator: {
|
|
1052
|
-
type: "slot"
|
|
1063
|
+
type: "slot",
|
|
1064
|
+
hidePlaceholder: true
|
|
1053
1065
|
},
|
|
1054
1066
|
selectable: {
|
|
1055
1067
|
type: "boolean",
|
|
@@ -1304,8 +1316,13 @@ var Slider = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
|
1304
1316
|
newProps.defaultValue = [defaultValue != null ? defaultValue : 0, defaultValue2 != null ? defaultValue2 : 0];
|
|
1305
1317
|
}
|
|
1306
1318
|
} else {
|
|
1307
|
-
|
|
1308
|
-
|
|
1319
|
+
if (typeof value === "number") {
|
|
1320
|
+
newProps.value = value;
|
|
1321
|
+
}
|
|
1322
|
+
|
|
1323
|
+
if (typeof defaultValue === "number") {
|
|
1324
|
+
newProps.defaultValue = defaultValue;
|
|
1325
|
+
}
|
|
1309
1326
|
}
|
|
1310
1327
|
|
|
1311
1328
|
return React.createElement(antd.Slider, Object.assign({}, newProps, {
|
|
@@ -1362,7 +1379,8 @@ var sliderMeta = {
|
|
|
1362
1379
|
},
|
|
1363
1380
|
step: {
|
|
1364
1381
|
type: "number",
|
|
1365
|
-
description: "The granularity the slider can step through values. Must greater than 0, and be divided by (max - min)." + " When marks no null, step can be null"
|
|
1382
|
+
description: "The granularity the slider can step through values. Must greater than 0, and be divided by (max - min)." + " When marks no null, step can be null",
|
|
1383
|
+
defaultValueHint: 1
|
|
1366
1384
|
},
|
|
1367
1385
|
marks: {
|
|
1368
1386
|
type: "object",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"antd.cjs.development.js","sources":["../src/registerButton.ts","../src/customControls.ts","../src/registerCheckbox.tsx","../src/registerCarousel.ts","../src/registerCollapse.ts","../src/registerDropdown.tsx","../src/registerInput.ts","../src/registerMenu.ts","../src/registerOption.ts","../src/registerSelect.ts","../src/registerSlider.tsx","../src/registerSwitch.ts","../src/index.ts"],"sourcesContent":["import registerComponent, {\n ComponentMeta,\n} from \"@plasmicapp/host/registerComponent\";\nimport { Button, ButtonProps } from \"antd\";\nimport { Registerable } from \"./registerable\";\n\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 },\n size: {\n type: \"choice\",\n options: [\"small\", \"medium\", \"large\"],\n description: \"Set the size of button\",\n },\n shape: {\n type: \"choice\",\n options: [\"default\", \"circle\", \"round\"],\n description: \"Can be set button shape\",\n },\n disabled: {\n type: \"boolean\",\n description: \"Disabled state of button\",\n },\n ghost: {\n type: \"boolean\",\n description:\n \"Make background transparent and invert text and border colors\",\n },\n danger: {\n type: \"boolean\",\n description: \"Set the danger status of button\",\n },\n block: {\n type: \"boolean\",\n description: \"Option to fit button width to its parent width\",\n },\n loading: {\n type: \"boolean\",\n description: \"Set the loading status of button\",\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 },\n children: {\n type: \"slot\",\n defaultValue: [\n {\n type: \"text\",\n value: \"Button\",\n },\n ],\n },\n },\n importPath: \"antd\",\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 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 },\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 },\n disabled: {\n type: \"boolean\",\n description: \"If disable checkbox\",\n },\n indeterminate: {\n type: \"boolean\",\n description: \"The indeterminate checked state of checkbox\",\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 },\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 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 { Carousel, CarouselProps } from \"antd\";\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 },\n dotPosition: {\n type: \"choice\",\n options: [\"top\", \"bottom\", \"left\", \"right\"],\n description: \"The position of the dots\",\n },\n dots: {\n type: \"boolean\",\n description: \"Whether to show the dots at the bottom of the gallery\",\n },\n effect: {\n type: \"choice\",\n options: [\"scrollx\", \"fade\"],\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\",\n importName: \"Carousel\",\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 registerComponent, {\n ComponentMeta,\n} from \"@plasmicapp/host/registerComponent\";\nimport { CollapsePanelProps, CollapseProps } from \"antd\";\nimport Collapse from \"antd/lib/collapse/Collapse\";\nimport CollapsePanel from \"antd/lib/collapse/CollapsePanel\";\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 },\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 },\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 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\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 },\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 },\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 },\n ghost: {\n type: \"boolean\",\n description:\n \"Make the collapse borderless and its background transparent\",\n },\n children: {\n type: \"slot\",\n allowedComponents: [\"AntdCollapsePanel\"],\n defaultValue: [\n {\n type: \"component\",\n name: \"AntdCollapsePanel\",\n },\n ],\n },\n },\n importPath: \"antd/lib/collapse/Collapse\",\n importName: \"Collapse\",\n isDefaultExport: true,\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 finalProps = { ...this.props };\n finalProps.children =\n typeof this.props.children === \"string\" ? (\n <div>{this.props.children}</div>\n ) : (\n this.props.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 },\n disabled: {\n type: \"boolean\",\n description: \"Whether the dropdown menu is disabled\",\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 },\n trigger: {\n type: \"choice\",\n options: [\"click\", \"hover\", \"contextMenu\"],\n description: \"The trigger mode which executes the dropdown action\",\n },\n visible: {\n type: \"boolean\",\n description: \"Whether the dropdown menu is currently visible\",\n },\n children: {\n type: \"slot\",\n defaultValue: [\n {\n type: \"text\",\n value: \"Dropdown\",\n },\n ],\n },\n },\n importPath: \"@plasmicpkgs/antd\",\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 },\n icon: \"slot\",\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 },\n size: {\n type: \"choice\",\n options: [\"small\", \"medium\", \"large\"],\n description: \"Set the size of button\",\n },\n trigger: {\n type: \"choice\",\n options: [\"click\", \"hover\", \"contextMenu\"],\n description: \"The trigger mode which executes the dropdown action\",\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 },\n visible: {\n type: \"boolean\",\n description: \"Whether the dropdown menu is currently visible\",\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 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\";\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\nexport const inputMeta: ComponentMeta<InputProps> = {\n name: \"AntdInput\",\n displayName: \"Antd Input\",\n props: {\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 },\n bordered: {\n type: \"boolean\",\n description: \"Whether has border style\",\n },\n disabled: {\n type: \"boolean\",\n description: \"Whether the input is disabled\",\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 },\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\",\n importName: \"Input\",\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: {\n allowClear: {\n type: \"boolean\",\n description: \"If allow to remove input content with clear icon\",\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 },\n bordered: {\n type: \"boolean\",\n description: \"Whether has border style\",\n },\n showCount: {\n type: \"boolean\",\n description: \"Whether show text count\",\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};\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: {\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 },\n bordered: {\n type: \"boolean\",\n description: \"Whether has border style\",\n },\n disabled: {\n type: \"boolean\",\n description: \"Whether the input is disabled\",\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 },\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 },\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};\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: {\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 },\n bordered: {\n type: \"boolean\",\n description: \"Whether has border style\",\n },\n disabled: {\n type: \"boolean\",\n description: \"Whether the input is disabled\",\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 },\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 },\n },\n importPath: \"antd/lib/input/Password\",\n importName: \"Password\",\n isDefaultExport: true,\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 },\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 },\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};\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\";\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 },\n },\n importPath: \"antd/lib/menu/MenuDivider\",\n importName: \"MenuDivider\",\n isDefaultExport: true,\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 },\n disabled: {\n type: \"boolean\",\n description: \"Whether disabled select\",\n },\n key: {\n type: \"string\",\n description: \"Unique ID of the menu item\",\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};\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};\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 },\n key: {\n type: \"string\",\n description: \"Unique ID of the sub-menu\",\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: [\n {\n type: \"component\",\n name: \"AntdMenuItem\",\n },\n ],\n },\n },\n importPath: \"antd/lib/menu/SubMenu\",\n importName: \"SubMenu\",\n isDefaultExport: true,\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 },\n forceSubMenuRender: {\n type: \"boolean\",\n description: \"Render submenu into DOM before it becomes visible\",\n },\n inlineIndent: {\n type: \"number\",\n description: \"Indent (in pixels) of inline menu items on each level\",\n },\n mode: {\n type: \"choice\",\n options: [\"horizontal\", \"vertical\", \"inline\"],\n description: \"Type of menu\",\n },\n multiple: {\n type: \"boolean\",\n description: \"Allows selection of multiple items\",\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 (\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 overflowedIndicator: {\n type: \"slot\",\n },\n selectable: {\n type: \"boolean\",\n description: \"Allows selecting menu items\",\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 },\n subMenuOpenDelay: {\n type: \"number\",\n description: \"Delay time to show submenu when mouse enters, (in seconds)\",\n },\n theme: {\n type: \"choice\",\n options: [\"light\", \"dark\"],\n description: \"Color theme of the menu\",\n },\n triggerSubMenuAction: {\n type: \"choice\",\n options: [\"hover\", \"click\"],\n description: \"Which action can trigger submenu open/close\",\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 },\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};\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};\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 { Select } from \"antd\";\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 autoFocus: {\n type: \"boolean\",\n description: \"Get focus by default\",\n },\n bordered: {\n type: \"boolean\",\n description: \"Whether has border style\",\n },\n disabled: {\n type: \"boolean\",\n description: \"Whether disabled select\",\n },\n listHeight: {\n type: \"number\",\n description: \"Config popup height\",\n },\n loading: {\n type: \"boolean\",\n description: \"Indicate loading state\",\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 },\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 },\n showSearch: {\n type: \"boolean\",\n description: \"Whether show search input in single mode\",\n },\n size: {\n type: \"choice\",\n options: [\"large\", \"middle\", \"small\"],\n description: \"Set mode of Select\",\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 },\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\",\n importName: \"Select\",\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 { Slider as AntdSlider } from \"antd\";\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 newProps.value = value;\n newProps.defaultValue = defaultValue;\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 },\n min: {\n type: \"number\",\n description: \"The minimum value the slider can slide to\",\n },\n included: {\n type: \"boolean\",\n description:\n \"Make effect when marks not null, true means containment and false means coordinative\",\n },\n disabled: {\n type: \"boolean\",\n description: \"If true, the slider will not be interactable\",\n },\n range: {\n type: \"boolean\",\n description: \"Dual thumb mode\",\n },\n reverse: {\n type: \"boolean\",\n description: \"Reverse the component\",\n },\n vertical: {\n type: \"boolean\",\n description: \"If true, the slider will be vertical\",\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\",\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\";\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 },\n checked: {\n type: \"boolean\",\n editOnly: true,\n uncontrolledProp: \"defaultChecked\",\n description: \"Whether to set the initial state\",\n },\n disabled: {\n type: \"boolean\",\n description: \"Disable switch\",\n },\n loading: {\n type: \"boolean\",\n description: \"Loading state of switch\",\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 },\n },\n importPath: \"antd\",\n importName: \"Switch\",\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 { Registerable } from \"./registerable\";\nimport { registerButton } from \"./registerButton\";\nimport { registerCheckbox, registerCheckboxGroup } from \"./registerCheckbox\";\nimport { registerCarousel } from \"./registerCarousel\";\nimport { registerCollapse, registerCollapsePanel } from \"./registerCollapse\";\nimport { registerDropdown, registerDropdownButton } from \"./registerDropdown\";\nimport {\n registerInput,\n registerInputTextArea,\n registerInputSearch,\n registerInputPassword,\n registerInputGroup,\n} from \"./registerInput\";\nimport {\n registerMenu,\n registerMenuDivider,\n registerMenuItem,\n registerMenuItemGroup,\n registerSubMenu,\n} from \"./registerMenu\";\nimport { registerOptGroup, registerOption } from \"./registerOption\";\nimport { registerSelect } from \"./registerSelect\";\nimport { registerSlider } from \"./registerSlider\";\nimport { registerSwitch } from \"./registerSwitch\";\n\nexport * from \"./registerable\";\nexport * from \"./registerButton\";\nexport * from \"./registerCheckbox\";\nexport * from \"./registerCollapse\";\nexport * from \"./registerDropdown\";\nexport * from \"./registerInput\";\nexport * from \"./registerMenu\";\nexport * from \"./registerOption\";\nexport * from \"./registerSelect\";\nexport * from \"./registerSlider\";\nexport * from \"./registerSwitch\";\nexport * from \"./registerCarousel\";\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}\n"],"names":["buttonMeta","name","displayName","props","type","options","description","size","shape","disabled","ghost","danger","block","loading","href","target","children","defaultValue","value","importPath","importName","registerButton","loader","customButtonMeta","doRegisterComponent","registerComponent","Button","traverseReactEltTree","callback","rec","elts","Array","isArray","forEach","elt","CheckboxWrapper","render","React","Checkbox","Component","checkboxMeta","autoFocus","checked","editOnly","uncontrolledProp","indeterminate","defaultStyles","marginLeft","isDefaultExport","registerCheckbox","customCheckboxMeta","checkboxGroupMeta","multiSelect","componentProps","Set","add","from","keys","allowedComponents","registerCheckboxGroup","customCheckboxGroupMeta","CheckboxGroup","contentStyle","height","color","lineHeight","textAlign","backgroundColor","carouselMeta","autoplay","dotPosition","dots","effect","styles","registerCarousel","customCarouselMeta","Carousel","collapstePanelMeta","collapsible","forceRender","header","key","showArrow","registerCollapsePanel","customCollapsePanelMeta","CollapsePanel","collapsteMeta","accordion","activeKey","bordered","expandIconPosition","registerCollapse","customCollapseMeta","Collapse","Dropdown","finalProps","AntdDropdown","dropdownMeta","arrow","overlay","placement","trigger","visible","registerDropdown","customDropdownMeta","dropdownButtonMeta","icon","registerDropdownButton","customDropdownButtonMeta","DropdownButton","inputMeta","addonAfter","hidePlaceholder","addonBefore","allowClear","id","maxLength","placeholder","prefix","suffix","registerInput","customInputMeta","Input","inputTextAreaMeta","autoSize","showCount","registerInputTextArea","customInputTextAreaMeta","TextArea","inputSearchMeta","enterButton","registerInputSearch","customInputSearchMeta","Search","inputPasswordMeta","visibilityToggle","registerInputPassword","customInputPasswordMeta","Password","inputGroupMeta","compact","registerInputGroup","customInputGroupMeta","InputGroup","menuDividerMeta","dashed","registerMenuDivider","customMenuDividerMeta","MenuDivider","menuItemMeta","title","registerMenuItem","customMenuItemMeta","MenuItem","menuItemGroupMeta","registerMenuItemGroup","customMenuItemGroupMeta","ItemGroup","subMenuMeta","registerSubMenu","customSubMenuMeta","SubMenu","menuMeta","expandIcon","forceSubMenuRender","inlineIndent","mode","multiple","openKeys","includes","overflowedIndicator","selectable","selectedKeys","subMenuCloseDelay","subMenuOpenDelay","theme","triggerSubMenuAction","registerMenu","customMenuMeta","Menu","optionMeta","registerOption","customOptionMeta","Option","optGroupMeta","label","registerOptGroup","customOptGroupMeta","OptGroup","selectMeta","listHeight","open","showSearch","virtual","registerSelect","customSelectMeta","Select","Slider","forwardRef","ref","value2","defaultValue2","newProps","range","AntdSlider","sliderMeta","max","min","included","reverse","vertical","hidden","step","marks","width","maxWidth","registerSlider","customSliderMeta","switchMeta","checkedChildren","unCheckedChildren","registerSwitch","customSwitchMeta","Switch","registerAll"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;IAMaA,UAAU,GAA+B;AACpDC,EAAAA,IAAI,EA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AACAoK,EAAAA,gBAAgB,CAACpK,MAAD,CAAhB;AACA4K,EAAAA,cAAc,CAAC5K,MAAD,CAAd;AACA6D,EAAAA,qBAAqB,CAAC7D,MAAD,CAArB;AACAqE,EAAAA,gBAAgB,CAACrE,MAAD,CAAhB;AACA2B,EAAAA,gBAAgB,CAAC3B,MAAD,CAAhB;AACAqC,EAAAA,qBAAqB,CAACrC,MAAD,CAArB;AACA4H,EAAAA,mBAAmB,CAAC5H,MAAD,CAAnB;AACAiI,EAAAA,gBAAgB,CAACjI,MAAD,CAAhB;AACAqI,EAAAA,qBAAqB,CAACrI,MAAD,CAArB;AACAyI,EAAAA,eAAe,CAACzI,MAAD,CAAf;AACA2J,EAAAA,YAAY,CAAC3J,MAAD,CAAZ;AACAiF,EAAAA,gBAAgB,CAACjF,MAAD,CAAhB;AACAqF,EAAAA,sBAAsB,CAACrF,MAAD,CAAtB;AACAoD,EAAAA,gBAAgB,CAACpD,MAAD,CAAhB;AACAkG,EAAAA,aAAa,CAAClG,MAAD,CAAb;AACAwG,EAAAA,qBAAqB,CAACxG,MAAD,CAArB;AACA6G,EAAAA,mBAAmB,CAAC7G,MAAD,CAAnB;AACAkH,EAAAA,qBAAqB,CAAClH,MAAD,CAArB;AACAuH,EAAAA,kBAAkB,CAACvH,MAAD,CAAlB;AACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
1
|
+
{"version":3,"file":"antd.cjs.development.js","sources":["../src/registerButton.ts","../src/customControls.ts","../src/registerCheckbox.tsx","../src/registerCarousel.ts","../src/registerCollapse.ts","../src/registerDropdown.tsx","../src/registerInput.ts","../src/registerMenu.ts","../src/registerOption.ts","../src/registerSelect.ts","../src/registerSlider.tsx","../src/registerSwitch.ts","../src/index.ts"],"sourcesContent":["import registerComponent, {\n ComponentMeta,\n} from \"@plasmicapp/host/registerComponent\";\nimport { Button, ButtonProps } from \"antd\";\nimport { Registerable } from \"./registerable\";\n\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 },\n size: {\n type: \"choice\",\n options: [\"small\", \"medium\", \"large\"],\n description: \"Set the size of button\",\n },\n shape: {\n type: \"choice\",\n options: [\"default\", \"circle\", \"round\"],\n description: \"Can be set button shape\",\n },\n disabled: {\n type: \"boolean\",\n description: \"Disabled state of button\",\n },\n ghost: {\n type: \"boolean\",\n description:\n \"Make background transparent and invert text and border colors\",\n },\n danger: {\n type: \"boolean\",\n description: \"Set the danger status of button\",\n },\n block: {\n type: \"boolean\",\n description: \"Option to fit button width to its parent width\",\n },\n loading: {\n type: \"boolean\",\n description: \"Set the loading status of button\",\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 },\n children: {\n type: \"slot\",\n defaultValue: [\n {\n type: \"text\",\n value: \"Button\",\n },\n ],\n },\n },\n importPath: \"antd\",\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 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 },\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 },\n disabled: {\n type: \"boolean\",\n description: \"If disable checkbox\",\n },\n indeterminate: {\n type: \"boolean\",\n description: \"The indeterminate checked state of checkbox\",\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 },\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 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 { Carousel, CarouselProps } from \"antd\";\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 },\n dotPosition: {\n type: \"choice\",\n options: [\"top\", \"bottom\", \"left\", \"right\"],\n description: \"The position of the dots\",\n },\n dots: {\n type: \"boolean\",\n description: \"Whether to show the dots at the bottom of the gallery\",\n },\n effect: {\n type: \"choice\",\n options: [\"scrollx\", \"fade\"],\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\",\n importName: \"Carousel\",\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 registerComponent, {\n ComponentMeta,\n} from \"@plasmicapp/host/registerComponent\";\nimport { CollapsePanelProps, CollapseProps } from \"antd\";\nimport Collapse from \"antd/lib/collapse/Collapse\";\nimport CollapsePanel from \"antd/lib/collapse/CollapsePanel\";\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 },\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 },\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 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\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 },\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 },\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 },\n ghost: {\n type: \"boolean\",\n description:\n \"Make the collapse borderless and its background transparent\",\n },\n children: {\n type: \"slot\",\n allowedComponents: [\"AntdCollapsePanel\"],\n defaultValue: [\n {\n type: \"component\",\n name: \"AntdCollapsePanel\",\n },\n ],\n },\n },\n importPath: \"antd/lib/collapse/Collapse\",\n importName: \"Collapse\",\n isDefaultExport: true,\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 finalProps = { ...this.props };\n finalProps.children =\n typeof this.props.children === \"string\" ? (\n <div>{this.props.children}</div>\n ) : (\n this.props.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 },\n disabled: {\n type: \"boolean\",\n description: \"Whether the dropdown menu is disabled\",\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 },\n trigger: {\n type: \"choice\",\n options: [\"click\", \"hover\", \"contextMenu\"],\n description: \"The trigger mode which executes the dropdown action\",\n },\n visible: {\n type: \"boolean\",\n description: \"Toggle visibility of dropdown menu in Plasmic Editor\",\n editOnly: true,\n },\n children: {\n type: \"slot\",\n defaultValue: [\n {\n type: \"text\",\n value: \"Dropdown\",\n },\n ],\n },\n },\n importPath: \"@plasmicpkgs/antd\",\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 },\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 },\n size: {\n type: \"choice\",\n options: [\"small\", \"medium\", \"large\"],\n description: \"Set the size of button\",\n },\n trigger: {\n type: \"choice\",\n options: [\"click\", \"hover\", \"contextMenu\"],\n description: \"The trigger mode which executes the dropdown action\",\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 },\n visible: {\n type: \"boolean\",\n description: \"Toggle visibility of dropdown menu in Plasmic Editor\",\n editOnly: true,\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 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\";\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\nexport const inputMeta: ComponentMeta<InputProps> = {\n name: \"AntdInput\",\n displayName: \"Antd Input\",\n props: {\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 },\n bordered: {\n type: \"boolean\",\n description: \"Whether has border style\",\n },\n disabled: {\n type: \"boolean\",\n description: \"Whether the input is disabled\",\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 },\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\",\n importName: \"Input\",\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: {\n allowClear: {\n type: \"boolean\",\n description: \"If allow to remove input content with clear icon\",\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 },\n bordered: {\n type: \"boolean\",\n description: \"Whether has border style\",\n },\n showCount: {\n type: \"boolean\",\n description: \"Whether show text count\",\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};\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: {\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 },\n bordered: {\n type: \"boolean\",\n description: \"Whether has border style\",\n },\n disabled: {\n type: \"boolean\",\n description: \"Whether the input is disabled\",\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 },\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 },\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};\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: {\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 },\n bordered: {\n type: \"boolean\",\n description: \"Whether has border style\",\n },\n disabled: {\n type: \"boolean\",\n description: \"Whether the input is disabled\",\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 },\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 },\n },\n importPath: \"antd/lib/input/Password\",\n importName: \"Password\",\n isDefaultExport: true,\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 },\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 },\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};\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\";\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 },\n },\n importPath: \"antd/lib/menu/MenuDivider\",\n importName: \"MenuDivider\",\n isDefaultExport: true,\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 },\n disabled: {\n type: \"boolean\",\n description: \"Whether disabled select\",\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};\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};\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 },\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: [\n {\n type: \"component\",\n name: \"AntdMenuItem\",\n props: {\n key: \"subMenuItemKey\",\n },\n },\n ],\n },\n },\n importPath: \"antd/lib/menu/SubMenu\",\n importName: \"SubMenu\",\n isDefaultExport: true,\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 },\n inlineIndent: {\n type: \"number\",\n description: \"Indent (in pixels) of inline menu items on each level\",\n },\n mode: {\n type: \"choice\",\n options: [\"horizontal\", \"vertical\", \"inline\"],\n description: \"Type of menu\",\n },\n multiple: {\n type: \"boolean\",\n description: \"Allows selection of multiple items\",\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 },\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 },\n subMenuOpenDelay: {\n type: \"number\",\n description: \"Delay time to show submenu when mouse enters, (in seconds)\",\n },\n theme: {\n type: \"choice\",\n options: [\"light\", \"dark\"],\n description: \"Color theme of the menu\",\n },\n triggerSubMenuAction: {\n type: \"choice\",\n options: [\"hover\", \"click\"],\n description: \"Which action can trigger submenu open/close\",\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 },\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};\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};\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 { Select } from \"antd\";\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 autoFocus: {\n type: \"boolean\",\n description: \"Get focus by default\",\n },\n bordered: {\n type: \"boolean\",\n description: \"Whether has border style\",\n },\n disabled: {\n type: \"boolean\",\n description: \"Whether disabled select\",\n },\n listHeight: {\n type: \"number\",\n description: \"Config popup height\",\n },\n loading: {\n type: \"boolean\",\n description: \"Indicate loading state\",\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 },\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 },\n showSearch: {\n type: \"boolean\",\n description: \"Whether show search input in single mode\",\n },\n size: {\n type: \"choice\",\n options: [\"large\", \"middle\", \"small\"],\n description: \"Set mode of Select\",\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 },\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\",\n importName: \"Select\",\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 { Slider as AntdSlider } from \"antd\";\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 },\n min: {\n type: \"number\",\n description: \"The minimum value the slider can slide to\",\n },\n included: {\n type: \"boolean\",\n description:\n \"Make effect when marks not null, true means containment and false means coordinative\",\n },\n disabled: {\n type: \"boolean\",\n description: \"If true, the slider will not be interactable\",\n },\n range: {\n type: \"boolean\",\n description: \"Dual thumb mode\",\n },\n reverse: {\n type: \"boolean\",\n description: \"Reverse the component\",\n },\n vertical: {\n type: \"boolean\",\n description: \"If true, the slider will be vertical\",\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\",\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\";\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 },\n checked: {\n type: \"boolean\",\n editOnly: true,\n uncontrolledProp: \"defaultChecked\",\n description: \"Whether to set the initial state\",\n },\n disabled: {\n type: \"boolean\",\n description: \"Disable switch\",\n },\n loading: {\n type: \"boolean\",\n description: \"Loading state of switch\",\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 },\n },\n importPath: \"antd\",\n importName: \"Switch\",\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 { Registerable } from \"./registerable\";\nimport { registerButton } from \"./registerButton\";\nimport { registerCheckbox, registerCheckboxGroup } from \"./registerCheckbox\";\nimport { registerCarousel } from \"./registerCarousel\";\nimport { registerCollapse, registerCollapsePanel } from \"./registerCollapse\";\nimport { registerDropdown, registerDropdownButton } from \"./registerDropdown\";\nimport {\n registerInput,\n registerInputTextArea,\n registerInputSearch,\n registerInputPassword,\n registerInputGroup,\n} from \"./registerInput\";\nimport {\n registerMenu,\n registerMenuDivider,\n registerMenuItem,\n registerMenuItemGroup,\n registerSubMenu,\n} from \"./registerMenu\";\nimport { registerOptGroup, registerOption } from \"./registerOption\";\nimport { registerSelect } from \"./registerSelect\";\nimport { registerSlider } from \"./registerSlider\";\nimport { registerSwitch } from \"./registerSwitch\";\n\nexport * from \"./registerable\";\nexport * from \"./registerButton\";\nexport * from \"./registerCheckbox\";\nexport * from \"./registerCollapse\";\nexport * from \"./registerDropdown\";\nexport * from \"./registerInput\";\nexport * from \"./registerMenu\";\nexport * from \"./registerOption\";\nexport * from \"./registerSelect\";\nexport * from \"./registerSlider\";\nexport * from \"./registerSwitch\";\nexport * from \"./registerCarousel\";\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}\n"],"names":["buttonMeta","name","displayName","props","type","options","description","size","shape","disabled","ghost","danger","block","loading","href","target","children","defaultValue","value","importPath","importName","registerButton","loader","customButtonMeta","doRegisterComponent","registerComponent","Button","traverseReactEltTree","callback","rec","elts","Array","isArray","forEach","elt","CheckboxWrapper","render","React","Checkbox","Component","checkboxMeta","autoFocus","checked","editOnly","uncontrolledProp","indeterminate","defaultStyles","marginLeft","isDefaultExport","registerCheckbox","customCheckboxMeta","checkboxGroupMeta","multiSelect","componentProps","Set","add","from","keys","allowedComponents","registerCheckboxGroup","customCheckboxGroupMeta","CheckboxGroup","contentStyle","height","color","lineHeight","textAlign","backgroundColor","carouselMeta","autoplay","dotPosition","dots","effect","styles","registerCarousel","customCarouselMeta","Carousel","collapstePanelMeta","collapsible","forceRender","header","key","showArrow","registerCollapsePanel","customCollapsePanelMeta","CollapsePanel","collapsteMeta","accordion","activeKey","bordered","expandIconPosition","registerCollapse","customCollapseMeta","Collapse","Dropdown","finalProps","AntdDropdown","dropdownMeta","arrow","overlay","placement","trigger","visible","registerDropdown","customDropdownMeta","dropdownButtonMeta","icon","hidePlaceholder","registerDropdownButton","customDropdownButtonMeta","DropdownButton","inputMeta","addonAfter","addonBefore","allowClear","id","maxLength","placeholder","prefix","suffix","registerInput","customInputMeta","Input","inputTextAreaMeta","autoSize","showCount","registerInputTextArea","customInputTextAreaMeta","TextArea","inputSearchMeta","enterButton","registerInputSearch","customInputSearchMeta","Search","inputPasswordMeta","visibilityToggle","registerInputPassword","customInputPasswordMeta","Password","inputGroupMeta","compact","registerInputGroup","customInputGroupMeta","InputGroup","menuDividerMeta","dashed","registerMenuDivider","customMenuDividerMeta","MenuDivider","menuItemMeta","title","registerMenuItem","customMenuItemMeta","MenuItem","menuItemGroupMeta","registerMenuItemGroup","customMenuItemGroupMeta","ItemGroup","subMenuMeta","registerSubMenu","customSubMenuMeta","SubMenu","menuMeta","expandIcon","forceSubMenuRender","inlineIndent","mode","multiple","openKeys","overflowedIndicator","selectable","selectedKeys","includes","subMenuCloseDelay","subMenuOpenDelay","theme","triggerSubMenuAction","registerMenu","customMenuMeta","Menu","optionMeta","registerOption","customOptionMeta","Option","optGroupMeta","label","registerOptGroup","customOptGroupMeta","OptGroup","selectMeta","listHeight","open","showSearch","virtual","registerSelect","customSelectMeta","Select","Slider","forwardRef","ref","value2","defaultValue2","newProps","range","AntdSlider","sliderMeta","max","min","included","reverse","vertical","hidden","step","defaultValueHint","marks","width","maxWidth","registerSlider","customSliderMeta","switchMeta","checkedChildren","unCheckedChildren","registerSwitch","customSwitchMeta","Switch","registerAll"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;IAMaA,UAAU,GAA+B;AACpDC,EAAAA,IAAI,EAAE,YAD8C;AAEpDC,EAAAA,WAAW,EAAE,aAFuC;AAGpDC,EAAAA,KAAK,EAAE;AACLC,IAAAA,IAAI,EAAE;AACJA,MAAAA,IAAI,EAAE,QADF;AAEJC,MAAAA,OAAO,EAAE,CAAC,SAAD,EAAY,SAAZ,EAAuB,OAAvB,EAAgC,QAAhC,EAA0C,MAA1C,EAAkD,MAAlD,CAFL;AAGJC,MAAAA,WAAW,EAAE;AAHT,KADD;AAMLC,IAAAA,IAAI,EAAE;AACJH,MAAAA,IAAI,EAAE,QADF;AAEJC,MAAAA,OAAO,EAAE,CAAC,OAAD,EAAU,QAAV,EAAoB,OAApB,CAFL;AAGJC,MAAAA,WAAW,EAAE;AAHT,KAND;AAWLE,IAAAA,KAAK,EAAE;AACLJ,MAAAA,IAAI,EAAE,QADD;AAELC,MAAAA,OAAO,EAAE,CAAC,SAAD,EAAY,QAAZ,EAAsB,OAAtB,CAFJ;AAGLC,MAAAA,WAAW,EAAE;AAHR,KAXF;AAgBLG,IAAAA,QAAQ,EAAE;AACRL,MAAAA,IAAI,EAAE,SADE;AAERE,MAAAA,WAAW,EAAE;AAFL,KAhBL;AAoBLI,IAAAA,KAAK,EAAE;AACLN,MAAAA,IAAI,EAAE,SADD;AAELE,MAAAA,WAAW,EACT;AAHG,KApBF;AAyBLK,IAAAA,MAAM,EAAE;AACNP,MAAAA,IAAI,EAAE,SADA;AAENE,MAAAA,WAAW,EAAE;AAFP,KAzBH;AA6BLM,IAAAA,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