@plasmicpkgs/antd 2.0.36 → 2.0.37

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.
@@ -3,15 +3,11 @@ import { CheckboxProps } from "antd/lib/checkbox/Checkbox";
3
3
  import { CheckboxGroupProps } from "antd/lib/checkbox/Group";
4
4
  import { Registerable } from "./registerable";
5
5
  export declare const checkboxHelpers: {
6
- helpers: {
7
- states: {
8
- value: {
9
- onChangeArgsToValue: (e: Parameters<NonNullable<CheckboxProps["onChange"]>>[0]) => boolean;
10
- };
6
+ states: {
7
+ value: {
8
+ onChangeArgsToValue: (e: Parameters<NonNullable<CheckboxProps["onChange"]>>[0]) => boolean;
11
9
  };
12
10
  };
13
- importName: string;
14
- importPath: string;
15
11
  };
16
12
  export declare const checkboxMeta: ComponentMeta<CheckboxProps>;
17
13
  export declare function registerCheckbox(loader?: Registerable, customCheckboxMeta?: ComponentMeta<CheckboxProps>): void;
@@ -2,15 +2,11 @@ import { ComponentMeta } from "@plasmicapp/host/registerComponent";
2
2
  import { GroupProps, InputProps, PasswordProps, SearchProps, TextAreaProps } from "antd/lib/input";
3
3
  import { Registerable } from "./registerable";
4
4
  export declare const inputHelpers: {
5
- helpers: {
6
- states: {
7
- value: {
8
- onChangeArgsToValue: (e: Parameters<NonNullable<InputProps["onChange"]>>[0]) => string;
9
- };
5
+ states: {
6
+ value: {
7
+ onChangeArgsToValue: (e: Parameters<NonNullable<InputProps["onChange"]>>[0]) => string;
10
8
  };
11
9
  };
12
- importName: string;
13
- importPath: string;
14
10
  };
15
11
  export declare const inputMeta: ComponentMeta<InputProps>;
16
12
  export declare function registerInput(loader?: Registerable, customInputMeta?: ComponentMeta<InputProps>): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plasmicpkgs/antd",
3
- "version": "2.0.36",
3
+ "version": "2.0.37",
4
4
  "description": "Plasmic registration calls for antd components",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -72,5 +72,5 @@
72
72
  "@plasmicapp/host": ">=1.0.0",
73
73
  "react": ">=16.8.0"
74
74
  },
75
- "gitHead": "dff00ecdf8a21a7e4744bcfd80efc4d5478fd00d"
75
+ "gitHead": "2cb3089f8d7cc316d0bade8890694f2c7ca6ccc7"
76
76
  }
@@ -3,15 +3,11 @@ import { CheckboxProps } from "antd/lib/checkbox/Checkbox";
3
3
  import { CheckboxGroupProps } from "antd/lib/checkbox/Group";
4
4
  import { Registerable } from "./registerable";
5
5
  export declare const checkboxHelpers: {
6
- helpers: {
7
- states: {
8
- value: {
9
- onChangeArgsToValue: (e: Parameters<NonNullable<CheckboxProps["onChange"]>>[0]) => boolean;
10
- };
6
+ states: {
7
+ value: {
8
+ onChangeArgsToValue: (e: Parameters<NonNullable<CheckboxProps["onChange"]>>[0]) => boolean;
11
9
  };
12
10
  };
13
- importName: string;
14
- importPath: string;
15
11
  };
16
12
  export declare const checkboxMeta: ComponentMeta<CheckboxProps>;
17
13
  export declare function registerCheckbox(loader?: Registerable, customCheckboxMeta?: ComponentMeta<CheckboxProps>): void;
@@ -26,15 +26,11 @@ class CheckboxWrapper extends React.Component {
26
26
  }
27
27
  }
28
28
  const checkboxHelpers = {
29
- helpers: {
30
- states: {
31
- value: {
32
- onChangeArgsToValue: (e) => e.target.checked
33
- }
29
+ states: {
30
+ value: {
31
+ onChangeArgsToValue: (e) => e.target.checked
34
32
  }
35
- },
36
- importName: "checkboxHelpers",
37
- importPath: "@plasmicpkgs/plasmic-antd/registerCheckbox"
33
+ }
38
34
  };
39
35
  const checkboxMeta = {
40
36
  name: "AntdCheckbox",
@@ -91,7 +87,11 @@ const checkboxMeta = {
91
87
  valueProp: "checked"
92
88
  }
93
89
  },
94
- componentHelpers: checkboxHelpers,
90
+ componentHelpers: {
91
+ helpers: checkboxHelpers,
92
+ importName: "checkboxHelpers",
93
+ importPath: "@plasmicpkgs/antd/skinny/registerCheckbox"
94
+ },
95
95
  importPath: "antd/lib/checkbox/Checkbox",
96
96
  importName: "Checkbox",
97
97
  defaultStyles: {
@@ -1 +1 @@
1
- {"version":3,"file":"registerCheckbox.js","sources":["../src/registerCheckbox.tsx"],"sourcesContent":["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 checkboxHelpers = {\n helpers: {\n states: {\n value: {\n onChangeArgsToValue: (\n e: Parameters<NonNullable<CheckboxProps[\"onChange\"]>>[0]\n ) => e.target.checked,\n },\n },\n },\n importName: \"checkboxHelpers\",\n importPath: \"@plasmicpkgs/plasmic-antd/registerCheckbox\",\n};\n\nexport const checkboxMeta: ComponentMeta<CheckboxProps> = {\n name: \"AntdCheckbox\",\n displayName: \"Antd Checkbox\",\n props: {\n autoFocus: {\n type: \"boolean\",\n description: \"If get focus when component mounted\",\n defaultValueHint: false,\n },\n checked: {\n type: \"boolean\",\n description:\n \"Specifies the initial state: whether or not the checkbox is selected\",\n defaultValueHint: false,\n },\n disabled: {\n type: \"boolean\",\n description: \"If disable checkbox\",\n defaultValueHint: false,\n },\n indeterminate: {\n type: \"boolean\",\n description: \"The indeterminate checked state of checkbox\",\n defaultValueHint: false,\n },\n value: {\n type: \"string\",\n description: \"The checkbox value\",\n },\n children: {\n type: \"slot\",\n defaultValue: [\n {\n type: \"text\",\n value: \"Checkbox\",\n },\n ],\n },\n onChange: {\n type: \"eventHandler\",\n argTypes: [\n {\n name: \"event\",\n type: \"object\",\n },\n ],\n },\n },\n states: {\n value: {\n type: \"writable\",\n variableType: \"boolean\",\n onChangeProp: \"onChange\",\n valueProp: \"checked\",\n },\n },\n componentHelpers: checkboxHelpers,\n importPath: \"antd/lib/checkbox/Checkbox\",\n importName: \"Checkbox\",\n defaultStyles: {\n marginLeft: 0,\n },\n isDefaultExport: true,\n};\n\nexport function registerCheckbox(\n loader?: Registerable,\n customCheckboxMeta?: ComponentMeta<CheckboxProps>\n) {\n const doRegisterComponent: typeof registerComponent = (...args) =>\n loader ? loader.registerComponent(...args) : registerComponent(...args);\n doRegisterComponent(CheckboxWrapper, customCheckboxMeta ?? checkboxMeta);\n}\n\nexport const checkboxGroupMeta: ComponentMeta<CheckboxGroupProps> = {\n name: \"AntdCheckboxGroup\",\n displayName: \"Antd Checkbox Group\",\n props: {\n disabled: {\n type: \"boolean\",\n description: \"If disable all checkboxes\",\n defaultValueHint: false,\n },\n value: {\n type: \"choice\",\n editOnly: true,\n uncontrolledProp: \"defaultValue\",\n description: \"Default selected value\",\n multiSelect: true,\n options: (componentProps) => {\n const options = new Set<string>();\n traverseReactEltTree(componentProps.children, (elt) => {\n if (\n elt?.type === CheckboxWrapper &&\n typeof elt?.props?.value === \"string\"\n ) {\n options.add(elt.props.value);\n }\n });\n return Array.from(options.keys());\n },\n },\n children: {\n type: \"slot\",\n allowedComponents: [\"AntdCheckbox\"],\n defaultValue: [\n {\n type: \"component\",\n name: \"AntdCheckbox\",\n },\n ],\n },\n },\n importPath: \"antd/lib/checkbox/Group\",\n importName: \"CheckboxGroup\",\n parentComponentName: \"AntdCheckbox\",\n isDefaultExport: true,\n};\n\nexport function registerCheckboxGroup(\n loader?: Registerable,\n customCheckboxGroupMeta?: ComponentMeta<CheckboxGroupProps>\n) {\n const doRegisterComponent: typeof registerComponent = (...args) =>\n loader ? loader.registerComponent(...args) : registerComponent(...args);\n doRegisterComponent(\n CheckboxGroup,\n customCheckboxGroupMeta ?? checkboxGroupMeta\n );\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AASA,MAAM,eAAA,SAAwB,MAAM,SAAyB,CAAA;AAAA,EAC3D,MAAS,GAAA;AAC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EACE,mBAAA,CAAA,aAAA,EACA,4DAA2B,iBAC7B,CAAA,CAAA;AACF;;;;"}
1
+ {"version":3,"file":"registerCheckbox.js","sources":["../src/registerCheckbox.tsx"],"sourcesContent":["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 checkboxHelpers = {\n states: {\n value: {\n onChangeArgsToValue: (\n e: Parameters<NonNullable<CheckboxProps[\"onChange\"]>>[0]\n ) => e.target.checked,\n },\n },\n};\n\nexport const checkboxMeta: ComponentMeta<CheckboxProps> = {\n name: \"AntdCheckbox\",\n displayName: \"Antd Checkbox\",\n props: {\n autoFocus: {\n type: \"boolean\",\n description: \"If get focus when component mounted\",\n defaultValueHint: false,\n },\n checked: {\n type: \"boolean\",\n description:\n \"Specifies the initial state: whether or not the checkbox is selected\",\n defaultValueHint: false,\n },\n disabled: {\n type: \"boolean\",\n description: \"If disable checkbox\",\n defaultValueHint: false,\n },\n indeterminate: {\n type: \"boolean\",\n description: \"The indeterminate checked state of checkbox\",\n defaultValueHint: false,\n },\n value: {\n type: \"string\",\n description: \"The checkbox value\",\n },\n children: {\n type: \"slot\",\n defaultValue: [\n {\n type: \"text\",\n value: \"Checkbox\",\n },\n ],\n },\n onChange: {\n type: \"eventHandler\",\n argTypes: [\n {\n name: \"event\",\n type: \"object\",\n },\n ],\n },\n },\n states: {\n value: {\n type: \"writable\",\n variableType: \"boolean\",\n onChangeProp: \"onChange\",\n valueProp: \"checked\",\n },\n },\n componentHelpers: {\n helpers: checkboxHelpers,\n importName: \"checkboxHelpers\",\n importPath: \"@plasmicpkgs/antd/skinny/registerCheckbox\",\n },\n importPath: \"antd/lib/checkbox/Checkbox\",\n importName: \"Checkbox\",\n defaultStyles: {\n marginLeft: 0,\n },\n isDefaultExport: true,\n};\n\nexport function registerCheckbox(\n loader?: Registerable,\n customCheckboxMeta?: ComponentMeta<CheckboxProps>\n) {\n const doRegisterComponent: typeof registerComponent = (...args) =>\n loader ? loader.registerComponent(...args) : registerComponent(...args);\n doRegisterComponent(CheckboxWrapper, customCheckboxMeta ?? checkboxMeta);\n}\n\nexport const checkboxGroupMeta: ComponentMeta<CheckboxGroupProps> = {\n name: \"AntdCheckboxGroup\",\n displayName: \"Antd Checkbox Group\",\n props: {\n disabled: {\n type: \"boolean\",\n description: \"If disable all checkboxes\",\n defaultValueHint: false,\n },\n value: {\n type: \"choice\",\n editOnly: true,\n uncontrolledProp: \"defaultValue\",\n description: \"Default selected value\",\n multiSelect: true,\n options: (componentProps) => {\n const options = new Set<string>();\n traverseReactEltTree(componentProps.children, (elt) => {\n if (\n elt?.type === CheckboxWrapper &&\n typeof elt?.props?.value === \"string\"\n ) {\n options.add(elt.props.value);\n }\n });\n return Array.from(options.keys());\n },\n },\n children: {\n type: \"slot\",\n allowedComponents: [\"AntdCheckbox\"],\n defaultValue: [\n {\n type: \"component\",\n name: \"AntdCheckbox\",\n },\n ],\n },\n },\n importPath: \"antd/lib/checkbox/Group\",\n importName: \"CheckboxGroup\",\n parentComponentName: \"AntdCheckbox\",\n isDefaultExport: true,\n};\n\nexport function registerCheckboxGroup(\n loader?: Registerable,\n customCheckboxGroupMeta?: ComponentMeta<CheckboxGroupProps>\n) {\n const doRegisterComponent: typeof registerComponent = (...args) =>\n loader ? loader.registerComponent(...args) : registerComponent(...args);\n doRegisterComponent(\n CheckboxGroup,\n customCheckboxGroupMeta ?? checkboxGroupMeta\n );\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AASA,MAAM,eAAA,SAAwB,MAAM,SAAyB,CAAA;AAAA,EAC3D,MAAS,GAAA;AACP,I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,mBAAA,CAAA,aAAA,EACA,4DAA2B,iBAC7B,CAAA,CAAA;AACF;;;;"}
@@ -2,15 +2,11 @@ import { ComponentMeta } from "@plasmicapp/host/registerComponent";
2
2
  import { GroupProps, InputProps, PasswordProps, SearchProps, TextAreaProps } from "antd/lib/input";
3
3
  import { Registerable } from "./registerable";
4
4
  export declare const inputHelpers: {
5
- helpers: {
6
- states: {
7
- value: {
8
- onChangeArgsToValue: (e: Parameters<NonNullable<InputProps["onChange"]>>[0]) => string;
9
- };
5
+ states: {
6
+ value: {
7
+ onChangeArgsToValue: (e: Parameters<NonNullable<InputProps["onChange"]>>[0]) => string;
10
8
  };
11
9
  };
12
- importName: string;
13
- importPath: string;
14
10
  };
15
11
  export declare const inputMeta: ComponentMeta<InputProps>;
16
12
  export declare function registerInput(loader?: Registerable, customInputMeta?: ComponentMeta<InputProps>): void;
@@ -45,15 +45,11 @@ const commonHtmlAttributes = {
45
45
  }
46
46
  };
47
47
  const inputHelpers = {
48
- helpers: {
49
- states: {
50
- value: {
51
- onChangeArgsToValue: (e) => e.target.value
52
- }
48
+ states: {
49
+ value: {
50
+ onChangeArgsToValue: (e) => e.target.value
53
51
  }
54
- },
55
- importName: "inputHelpers",
56
- importPath: "@plasmicpkgs/plasmic-antd/registerInput"
52
+ }
57
53
  };
58
54
  const inputMeta = {
59
55
  name: "AntdInput",
@@ -134,7 +130,11 @@ const inputMeta = {
134
130
  valueProp: "value"
135
131
  }
136
132
  },
137
- componentHelpers: inputHelpers,
133
+ componentHelpers: {
134
+ helpers: inputHelpers,
135
+ importName: "inputHelpers",
136
+ importPath: "@plasmicpkgs/antd/skinny/registerInput"
137
+ },
138
138
  importPath: "antd/lib/input",
139
139
  importName: "Input",
140
140
  isDefaultExport: true
@@ -204,7 +204,11 @@ const inputTextAreaMeta = {
204
204
  valueProp: "value"
205
205
  }
206
206
  },
207
- componentHelpers: inputHelpers,
207
+ componentHelpers: {
208
+ helpers: inputHelpers,
209
+ importName: "inputHelpers",
210
+ importPath: "@plasmicpkgs/antd/skinny/registerInput"
211
+ },
208
212
  importPath: "antd/lib/input/TextArea",
209
213
  importName: "TextArea",
210
214
  isDefaultExport: true,
@@ -297,7 +301,11 @@ const inputSearchMeta = {
297
301
  valueProp: "value"
298
302
  }
299
303
  },
300
- componentHelpers: inputHelpers,
304
+ componentHelpers: {
305
+ helpers: inputHelpers,
306
+ importName: "inputHelpers",
307
+ importPath: "@plasmicpkgs/antd/skinny/registerInput"
308
+ },
301
309
  importPath: "antd/lib/input/Search",
302
310
  importName: "Search",
303
311
  isDefaultExport: true,
@@ -386,7 +394,11 @@ const inputPasswordMeta = {
386
394
  valueProp: "value"
387
395
  }
388
396
  },
389
- componentHelpers: inputHelpers,
397
+ componentHelpers: {
398
+ helpers: inputHelpers,
399
+ importName: "inputHelpers",
400
+ importPath: "@plasmicpkgs/antd/skinny/registerInput"
401
+ },
390
402
  importPath: "antd/lib/input/Password",
391
403
  importName: "Password",
392
404
  isDefaultExport: true,
@@ -1 +1 @@
1
- {"version":3,"file":"registerInput.js","sources":["../src/registerInput.ts"],"sourcesContent":["import registerComponent, {\n ComponentMeta,\n} from \"@plasmicapp/host/registerComponent\";\nimport Input, {\n GroupProps,\n InputProps,\n PasswordProps,\n SearchProps,\n TextAreaProps,\n} from \"antd/lib/input\";\nimport InputGroup from \"antd/lib/input/Group\";\nimport Password from \"antd/lib/input/Password\";\nimport Search from \"antd/lib/input/Search\";\nimport TextArea from \"antd/lib/input/TextArea\";\nimport { Registerable } from \"./registerable\";\n\nfunction sortObjectKeys<T extends {}>(obj: T): T {\n return Object.fromEntries(Object.entries(obj).sort()) as T;\n}\n\ntype PropSpec<T> = ComponentMeta<T>[\"props\"];\n\nfunction sortProps<T>(props: PropSpec<T>): PropSpec<T> {\n return sortObjectKeys(props);\n}\n\nconst commonHtmlAttributes = {\n \"aria-label\": {\n type: \"string\",\n description: \"The ARIA label for this input\",\n },\n \"aria-labelledby\": {\n type: \"string\",\n description: \"Identifies the element(s) that labels this input\",\n },\n name: {\n type: \"string\",\n description: \"The HTML name of the input\",\n },\n} as const;\n\nexport const inputHelpers = {\n helpers: {\n states: {\n value: {\n onChangeArgsToValue: (\n e: Parameters<NonNullable<InputProps[\"onChange\"]>>[0]\n ) => e.target.value,\n },\n },\n },\n importName: \"inputHelpers\",\n importPath: \"@plasmicpkgs/plasmic-antd/registerInput\",\n};\n\nexport const inputMeta: ComponentMeta<InputProps> = {\n name: \"AntdInput\",\n displayName: \"Antd Input\",\n props: sortProps<InputProps>({\n ...commonHtmlAttributes,\n addonAfter: {\n type: \"slot\",\n hidePlaceholder: true,\n },\n addonBefore: {\n type: \"slot\",\n hidePlaceholder: true,\n },\n allowClear: {\n type: \"boolean\",\n description: \"If allow to remove input content with clear icon\",\n defaultValueHint: false,\n },\n bordered: {\n type: \"boolean\",\n description: \"Whether has border style\",\n defaultValueHint: true,\n },\n disabled: {\n type: \"boolean\",\n description: \"Whether the input is disabled\",\n defaultValueHint: false,\n },\n id: {\n type: \"string\",\n description: \"The ID for input\",\n },\n maxLength: {\n type: \"number\",\n description: \"The max length\",\n },\n placeholder: {\n type: \"string\",\n description: \"Placeholder for the input\",\n },\n prefix: {\n type: \"slot\",\n hidePlaceholder: true,\n },\n size: {\n type: \"choice\",\n options: [\"small\", \"middle\", \"large\"],\n description: \"The size of the input box\",\n defaultValueHint: \"middle,\",\n },\n suffix: {\n type: \"slot\",\n hidePlaceholder: true,\n },\n type: {\n type: \"string\",\n description: \"The type of input\",\n defaultValueHint: \"text\",\n },\n value: {\n type: \"string\",\n },\n onChange: {\n type: \"eventHandler\",\n argTypes: [\n {\n name: \"event\",\n type: \"object\",\n },\n ],\n },\n }),\n states: {\n value: {\n type: \"writable\",\n variableType: \"text\",\n onChangeProp: \"onChange\",\n valueProp: \"value\",\n },\n },\n componentHelpers: inputHelpers,\n importPath: \"antd/lib/input\",\n importName: \"Input\",\n isDefaultExport: true,\n};\n\nexport function registerInput(\n loader?: Registerable,\n customInputMeta?: ComponentMeta<InputProps>\n) {\n const doRegisterComponent: typeof registerComponent = (...args) =>\n loader ? loader.registerComponent(...args) : registerComponent(...args);\n doRegisterComponent(Input, customInputMeta ?? inputMeta);\n}\n\nexport const inputTextAreaMeta: ComponentMeta<TextAreaProps> = {\n name: \"AntdInputTextArea\",\n displayName: \"Antd Input Text Area\",\n props: sortProps<TextAreaProps>({\n ...commonHtmlAttributes,\n allowClear: {\n type: \"boolean\",\n description: \"If allow to remove input content with clear icon\",\n defaultValueHint: false,\n },\n autoSize: {\n type: \"object\",\n description:\n \"Height autosize feature, can be set to true | false or an object { minRows: 2, maxRows: 6 }\",\n },\n disabled: {\n type: \"boolean\",\n description: \"Whether the input is disabled\",\n defaultValueHint: false,\n },\n bordered: {\n type: \"boolean\",\n description: \"Whether has border style\",\n defaultValueHint: true,\n },\n showCount: {\n type: \"boolean\",\n description: \"Whether show text count\",\n defaultValueHint: false,\n },\n id: {\n type: \"string\",\n description: \"The ID for input\",\n },\n maxLength: {\n type: \"number\",\n description: \"The max length\",\n },\n placeholder: {\n type: \"string\",\n description: \"Placeholder for the input\",\n },\n value: {\n type: \"string\",\n },\n onChange: {\n type: \"eventHandler\",\n argTypes: [\n {\n name: \"event\",\n type: \"object\",\n },\n ],\n },\n }),\n states: {\n value: {\n type: \"writable\",\n variableType: \"text\",\n onChangeProp: \"onChange\",\n valueProp: \"value\",\n },\n },\n componentHelpers: inputHelpers,\n importPath: \"antd/lib/input/TextArea\",\n importName: \"TextArea\",\n isDefaultExport: true,\n parentComponentName: \"AntdInput\",\n};\n\nexport function registerInputTextArea(\n loader?: Registerable,\n customInputTextAreaMeta?: ComponentMeta<TextAreaProps>\n) {\n const doRegisterComponent: typeof registerComponent = (...args) =>\n loader ? loader.registerComponent(...args) : registerComponent(...args);\n doRegisterComponent(TextArea, customInputTextAreaMeta ?? inputTextAreaMeta);\n}\n\nexport const inputSearchMeta: ComponentMeta<SearchProps> = {\n name: \"AntdInputSearch\",\n displayName: \"Antd Input Search\",\n props: sortProps<SearchProps>({\n ...commonHtmlAttributes,\n addonBefore: {\n type: \"slot\",\n hidePlaceholder: true,\n },\n allowClear: {\n type: \"boolean\",\n description: \"If allow to remove input content with clear icon\",\n defaultValueHint: false,\n },\n bordered: {\n type: \"boolean\",\n description: \"Whether has border style\",\n defaultValueHint: true,\n },\n disabled: {\n type: \"boolean\",\n description: \"Whether the input is disabled\",\n defaultValueHint: false,\n },\n enterButton: {\n type: \"slot\",\n hidePlaceholder: true,\n },\n id: {\n type: \"string\",\n description: \"The ID for input\",\n },\n loading: {\n type: \"boolean\",\n description: \"Search box with loading\",\n defaultValueHint: false,\n },\n maxLength: {\n type: \"number\",\n description: \"The max length\",\n },\n placeholder: {\n type: \"string\",\n description: \"Placeholder for the input\",\n },\n prefix: {\n type: \"slot\",\n hidePlaceholder: true,\n },\n size: {\n type: \"choice\",\n options: [\"small\", \"middle\", \"large\"],\n description: \"The size of the input box\",\n defaultValueHint: \"middle\",\n },\n suffix: {\n type: \"slot\",\n hidePlaceholder: true,\n },\n type: {\n type: \"string\",\n description: \"The type of input\",\n },\n value: {\n type: \"string\",\n },\n onChange: {\n type: \"eventHandler\",\n argTypes: [\n {\n name: \"event\",\n type: \"object\",\n },\n ],\n },\n }),\n states: {\n value: {\n type: \"writable\",\n variableType: \"text\",\n onChangeProp: \"onChange\",\n valueProp: \"value\",\n },\n },\n componentHelpers: inputHelpers,\n importPath: \"antd/lib/input/Search\",\n importName: \"Search\",\n isDefaultExport: true,\n parentComponentName: \"AntdInput\",\n};\n\nexport function registerInputSearch(\n loader?: Registerable,\n customInputSearchMeta?: ComponentMeta<SearchProps>\n) {\n const doRegisterComponent: typeof registerComponent = (...args) =>\n loader ? loader.registerComponent(...args) : registerComponent(...args);\n doRegisterComponent(Search, customInputSearchMeta ?? inputSearchMeta);\n}\n\nexport const inputPasswordMeta: ComponentMeta<PasswordProps> = {\n name: \"AntdInputPassword\",\n displayName: \"Antd Input Password\",\n props: sortProps<PasswordProps>({\n ...commonHtmlAttributes,\n addonAfter: {\n type: \"slot\",\n hidePlaceholder: true,\n },\n addonBefore: {\n type: \"slot\",\n hidePlaceholder: true,\n },\n allowClear: {\n type: \"boolean\",\n description: \"If allow to remove input content with clear icon\",\n defaultValueHint: false,\n },\n bordered: {\n type: \"boolean\",\n description: \"Whether has border style\",\n defaultValueHint: true,\n },\n disabled: {\n type: \"boolean\",\n description: \"Whether the input is disabled\",\n defaultValueHint: false,\n },\n id: {\n type: \"string\",\n description: \"The ID for input\",\n },\n maxLength: {\n type: \"number\",\n description: \"The max length\",\n },\n placeholder: {\n type: \"string\",\n description: \"Placeholder for the input\",\n },\n prefix: {\n type: \"slot\",\n hidePlaceholder: true,\n },\n size: {\n type: \"choice\",\n options: [\"small\", \"middle\", \"large\"],\n description: \"The size of the input box\",\n defaultValueHint: \"middle\",\n },\n type: {\n type: \"string\",\n description: \"The type of input\",\n },\n value: {\n type: \"string\",\n },\n visibilityToggle: {\n type: \"boolean\",\n description: \"Whether show toggle button\",\n defaultValueHint: true,\n },\n onChange: {\n type: \"eventHandler\",\n argTypes: [\n {\n name: \"event\",\n type: \"object\",\n },\n ],\n },\n }),\n states: {\n value: {\n type: \"writable\",\n variableType: \"text\",\n onChangeProp: \"onChange\",\n valueProp: \"value\",\n },\n },\n componentHelpers: inputHelpers,\n importPath: \"antd/lib/input/Password\",\n importName: \"Password\",\n isDefaultExport: true,\n parentComponentName: \"AntdInput\",\n};\n\nexport function registerInputPassword(\n loader?: Registerable,\n customInputPasswordMeta?: ComponentMeta<PasswordProps>\n) {\n const doRegisterComponent: typeof registerComponent = (...args) =>\n loader ? loader.registerComponent(...args) : registerComponent(...args);\n doRegisterComponent(Password, customInputPasswordMeta ?? inputPasswordMeta);\n}\n\nexport const inputGroupMeta: ComponentMeta<GroupProps> = {\n name: \"AntdInputGroup\",\n displayName: \"Antd Input Group\",\n props: {\n compact: {\n type: \"boolean\",\n description: \"Whether use compact style\",\n defaultValueHint: false,\n },\n size: {\n type: \"choice\",\n options: [\"small\", \"default\", \"large\"],\n description:\n \"The size of Input.Group specifies the size of the included Input fields\",\n defaultValueHint: \"default\",\n },\n children: {\n type: \"slot\",\n defaultValue: [\n {\n type: \"component\",\n name: \"AntdInput\",\n },\n {\n type: \"component\",\n name: \"AntdInput\",\n },\n ],\n },\n },\n importPath: \"antd/lib/input/Group\",\n importName: \"InputGroup\",\n isDefaultExport: true,\n parentComponentName: \"AntdInput\",\n};\n\nexport function registerInputGroup(\n loader?: Registerable,\n customInputGroupMeta?: ComponentMeta<GroupProps>\n) {\n const doRegisterComponent: typeof registerComponent = (...args) =>\n loader ? loader.registerComponent(...args) : registerComponent(...args);\n doRegisterComponent(InputGroup, customInputGroupMeta ?? inputGroupMeta);\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAgBA,SAAA,cAAA,CAAsC,GAAW,EAAA;AAC/C,EAAA,OAAO,OAAO,WAAY,CAAA,MAAA,CAAO,QAAQ,GAAG,CAAA,CAAE,MAAM,CAAA,CAAA;AACtD,CAAA;AAIA,SAAA,SAAA,CAAsB,KAAiC,EAAA;AACrD,EAAA,OAAO,eAAe,KAAK,CAAA,CAAA;AAC7B,CAAA;AAEA,MAAM,oBAAuB,GAAA;AAAA,EAC3B,YAAc,EAAA;AAAA,IACZ,IAAM,EAAA,QAAA;AAAA,IACN,WAAa,EAAA,+BAAA;AAAA,GACf;AAAA,EACA,iBAAmB,EAAA;AAAA,IACjB,IAAM,EAAA,QAAA;AAAA,IACN,WAAa,EAAA,kDAAA;AAAA,GACf;AAAA,EACA,IAAM,EAAA;AAAA,IACJ,IAAM,EAAA,QAAA;AAAA,IACN,WAAa,EAAA,4BAAA;AAAA,GACf;AACF,CAAA,CAAA;AAEO,MAAM,YAAe,GAAA;AAAA,EAC1B,OAAS,EAAA;AAAA,IACP,MAAQ,EAAA;AAAA,MACN,KAAO,EAAA;AAAA,QACL,mBAAqB,EAAA,CACnB,CACG,KAAA,CAAA,CAAE,MAAO,CAAA,KA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AAA,MACN,YAAc,EAAA;AAAA,QACZ;AAAA,UACE,IAAM,EAAA,WAAA;AAAA,UACN,IAAM,EAAA,WAAA;AAAA,SACR;AAAA,QACA;AAAA,UACE,IAAM,EAAA,WAAA;AAAA,UACN,IAAM,EAAA,WAAA;AAAA,SACR;AAAA,OACF;AAAA,KACF;AAAA,GACF;AAAA,EACA,UAAY,EAAA,sBAAA;AAAA,EACZ,UAAY,EAAA,YAAA;AAAA,EACZ,eAAiB,EAAA,IAAA;AAAA,EACjB,mBAAqB,EAAA,WAAA;AACvB,EAAA;AAEO,SAAA,kBAAA,CACL,QACA,oBACA,EAAA;AACA,EAAM,MAAA,mBAAA,GAAgD,CAAI,GAAA,IAAA,KACxD,MAAS,GAAA,MAAA,CAAO,iBAAkB,CAAA,GAAG,IAAI,CAAA,GAAI,iBAAkB,CAAA,GAAG,IAAI,CAAA,CAAA;AACxE,EAAoB,mBAAA,CAAA,UAAA,EAAY,sDAAwB,cAAc,CAAA,CAAA;AACxE;;;;"}
1
+ {"version":3,"file":"registerInput.js","sources":["../src/registerInput.ts"],"sourcesContent":["import registerComponent, {\n ComponentMeta,\n} from \"@plasmicapp/host/registerComponent\";\nimport Input, {\n GroupProps,\n InputProps,\n PasswordProps,\n SearchProps,\n TextAreaProps,\n} from \"antd/lib/input\";\nimport InputGroup from \"antd/lib/input/Group\";\nimport Password from \"antd/lib/input/Password\";\nimport Search from \"antd/lib/input/Search\";\nimport TextArea from \"antd/lib/input/TextArea\";\nimport { Registerable } from \"./registerable\";\n\nfunction sortObjectKeys<T extends {}>(obj: T): T {\n return Object.fromEntries(Object.entries(obj).sort()) as T;\n}\n\ntype PropSpec<T> = ComponentMeta<T>[\"props\"];\n\nfunction sortProps<T>(props: PropSpec<T>): PropSpec<T> {\n return sortObjectKeys(props);\n}\n\nconst commonHtmlAttributes = {\n \"aria-label\": {\n type: \"string\",\n description: \"The ARIA label for this input\",\n },\n \"aria-labelledby\": {\n type: \"string\",\n description: \"Identifies the element(s) that labels this input\",\n },\n name: {\n type: \"string\",\n description: \"The HTML name of the input\",\n },\n} as const;\n\nexport const inputHelpers = {\n states: {\n value: {\n onChangeArgsToValue: (\n e: Parameters<NonNullable<InputProps[\"onChange\"]>>[0]\n ) => e.target.value,\n },\n },\n};\n\nexport const inputMeta: ComponentMeta<InputProps> = {\n name: \"AntdInput\",\n displayName: \"Antd Input\",\n props: sortProps<InputProps>({\n ...commonHtmlAttributes,\n addonAfter: {\n type: \"slot\",\n hidePlaceholder: true,\n },\n addonBefore: {\n type: \"slot\",\n hidePlaceholder: true,\n },\n allowClear: {\n type: \"boolean\",\n description: \"If allow to remove input content with clear icon\",\n defaultValueHint: false,\n },\n bordered: {\n type: \"boolean\",\n description: \"Whether has border style\",\n defaultValueHint: true,\n },\n disabled: {\n type: \"boolean\",\n description: \"Whether the input is disabled\",\n defaultValueHint: false,\n },\n id: {\n type: \"string\",\n description: \"The ID for input\",\n },\n maxLength: {\n type: \"number\",\n description: \"The max length\",\n },\n placeholder: {\n type: \"string\",\n description: \"Placeholder for the input\",\n },\n prefix: {\n type: \"slot\",\n hidePlaceholder: true,\n },\n size: {\n type: \"choice\",\n options: [\"small\", \"middle\", \"large\"],\n description: \"The size of the input box\",\n defaultValueHint: \"middle,\",\n },\n suffix: {\n type: \"slot\",\n hidePlaceholder: true,\n },\n type: {\n type: \"string\",\n description: \"The type of input\",\n defaultValueHint: \"text\",\n },\n value: {\n type: \"string\",\n },\n onChange: {\n type: \"eventHandler\",\n argTypes: [\n {\n name: \"event\",\n type: \"object\",\n },\n ],\n },\n }),\n states: {\n value: {\n type: \"writable\",\n variableType: \"text\",\n onChangeProp: \"onChange\",\n valueProp: \"value\",\n },\n },\n componentHelpers: {\n helpers: inputHelpers,\n importName: \"inputHelpers\",\n importPath: \"@plasmicpkgs/antd/skinny/registerInput\",\n },\n importPath: \"antd/lib/input\",\n importName: \"Input\",\n isDefaultExport: true,\n};\n\nexport function registerInput(\n loader?: Registerable,\n customInputMeta?: ComponentMeta<InputProps>\n) {\n const doRegisterComponent: typeof registerComponent = (...args) =>\n loader ? loader.registerComponent(...args) : registerComponent(...args);\n doRegisterComponent(Input, customInputMeta ?? inputMeta);\n}\n\nexport const inputTextAreaMeta: ComponentMeta<TextAreaProps> = {\n name: \"AntdInputTextArea\",\n displayName: \"Antd Input Text Area\",\n props: sortProps<TextAreaProps>({\n ...commonHtmlAttributes,\n allowClear: {\n type: \"boolean\",\n description: \"If allow to remove input content with clear icon\",\n defaultValueHint: false,\n },\n autoSize: {\n type: \"object\",\n description:\n \"Height autosize feature, can be set to true | false or an object { minRows: 2, maxRows: 6 }\",\n },\n disabled: {\n type: \"boolean\",\n description: \"Whether the input is disabled\",\n defaultValueHint: false,\n },\n bordered: {\n type: \"boolean\",\n description: \"Whether has border style\",\n defaultValueHint: true,\n },\n showCount: {\n type: \"boolean\",\n description: \"Whether show text count\",\n defaultValueHint: false,\n },\n id: {\n type: \"string\",\n description: \"The ID for input\",\n },\n maxLength: {\n type: \"number\",\n description: \"The max length\",\n },\n placeholder: {\n type: \"string\",\n description: \"Placeholder for the input\",\n },\n value: {\n type: \"string\",\n },\n onChange: {\n type: \"eventHandler\",\n argTypes: [\n {\n name: \"event\",\n type: \"object\",\n },\n ],\n },\n }),\n states: {\n value: {\n type: \"writable\",\n variableType: \"text\",\n onChangeProp: \"onChange\",\n valueProp: \"value\",\n },\n },\n componentHelpers: {\n helpers: inputHelpers,\n importName: \"inputHelpers\",\n importPath: \"@plasmicpkgs/antd/skinny/registerInput\",\n },\n importPath: \"antd/lib/input/TextArea\",\n importName: \"TextArea\",\n isDefaultExport: true,\n parentComponentName: \"AntdInput\",\n};\n\nexport function registerInputTextArea(\n loader?: Registerable,\n customInputTextAreaMeta?: ComponentMeta<TextAreaProps>\n) {\n const doRegisterComponent: typeof registerComponent = (...args) =>\n loader ? loader.registerComponent(...args) : registerComponent(...args);\n doRegisterComponent(TextArea, customInputTextAreaMeta ?? inputTextAreaMeta);\n}\n\nexport const inputSearchMeta: ComponentMeta<SearchProps> = {\n name: \"AntdInputSearch\",\n displayName: \"Antd Input Search\",\n props: sortProps<SearchProps>({\n ...commonHtmlAttributes,\n addonBefore: {\n type: \"slot\",\n hidePlaceholder: true,\n },\n allowClear: {\n type: \"boolean\",\n description: \"If allow to remove input content with clear icon\",\n defaultValueHint: false,\n },\n bordered: {\n type: \"boolean\",\n description: \"Whether has border style\",\n defaultValueHint: true,\n },\n disabled: {\n type: \"boolean\",\n description: \"Whether the input is disabled\",\n defaultValueHint: false,\n },\n enterButton: {\n type: \"slot\",\n hidePlaceholder: true,\n },\n id: {\n type: \"string\",\n description: \"The ID for input\",\n },\n loading: {\n type: \"boolean\",\n description: \"Search box with loading\",\n defaultValueHint: false,\n },\n maxLength: {\n type: \"number\",\n description: \"The max length\",\n },\n placeholder: {\n type: \"string\",\n description: \"Placeholder for the input\",\n },\n prefix: {\n type: \"slot\",\n hidePlaceholder: true,\n },\n size: {\n type: \"choice\",\n options: [\"small\", \"middle\", \"large\"],\n description: \"The size of the input box\",\n defaultValueHint: \"middle\",\n },\n suffix: {\n type: \"slot\",\n hidePlaceholder: true,\n },\n type: {\n type: \"string\",\n description: \"The type of input\",\n },\n value: {\n type: \"string\",\n },\n onChange: {\n type: \"eventHandler\",\n argTypes: [\n {\n name: \"event\",\n type: \"object\",\n },\n ],\n },\n }),\n states: {\n value: {\n type: \"writable\",\n variableType: \"text\",\n onChangeProp: \"onChange\",\n valueProp: \"value\",\n },\n },\n componentHelpers: {\n helpers: inputHelpers,\n importName: \"inputHelpers\",\n importPath: \"@plasmicpkgs/antd/skinny/registerInput\",\n },\n importPath: \"antd/lib/input/Search\",\n importName: \"Search\",\n isDefaultExport: true,\n parentComponentName: \"AntdInput\",\n};\n\nexport function registerInputSearch(\n loader?: Registerable,\n customInputSearchMeta?: ComponentMeta<SearchProps>\n) {\n const doRegisterComponent: typeof registerComponent = (...args) =>\n loader ? loader.registerComponent(...args) : registerComponent(...args);\n doRegisterComponent(Search, customInputSearchMeta ?? inputSearchMeta);\n}\n\nexport const inputPasswordMeta: ComponentMeta<PasswordProps> = {\n name: \"AntdInputPassword\",\n displayName: \"Antd Input Password\",\n props: sortProps<PasswordProps>({\n ...commonHtmlAttributes,\n addonAfter: {\n type: \"slot\",\n hidePlaceholder: true,\n },\n addonBefore: {\n type: \"slot\",\n hidePlaceholder: true,\n },\n allowClear: {\n type: \"boolean\",\n description: \"If allow to remove input content with clear icon\",\n defaultValueHint: false,\n },\n bordered: {\n type: \"boolean\",\n description: \"Whether has border style\",\n defaultValueHint: true,\n },\n disabled: {\n type: \"boolean\",\n description: \"Whether the input is disabled\",\n defaultValueHint: false,\n },\n id: {\n type: \"string\",\n description: \"The ID for input\",\n },\n maxLength: {\n type: \"number\",\n description: \"The max length\",\n },\n placeholder: {\n type: \"string\",\n description: \"Placeholder for the input\",\n },\n prefix: {\n type: \"slot\",\n hidePlaceholder: true,\n },\n size: {\n type: \"choice\",\n options: [\"small\", \"middle\", \"large\"],\n description: \"The size of the input box\",\n defaultValueHint: \"middle\",\n },\n type: {\n type: \"string\",\n description: \"The type of input\",\n },\n value: {\n type: \"string\",\n },\n visibilityToggle: {\n type: \"boolean\",\n description: \"Whether show toggle button\",\n defaultValueHint: true,\n },\n onChange: {\n type: \"eventHandler\",\n argTypes: [\n {\n name: \"event\",\n type: \"object\",\n },\n ],\n },\n }),\n states: {\n value: {\n type: \"writable\",\n variableType: \"text\",\n onChangeProp: \"onChange\",\n valueProp: \"value\",\n },\n },\n componentHelpers: {\n helpers: inputHelpers,\n importName: \"inputHelpers\",\n importPath: \"@plasmicpkgs/antd/skinny/registerInput\",\n },\n importPath: \"antd/lib/input/Password\",\n importName: \"Password\",\n isDefaultExport: true,\n parentComponentName: \"AntdInput\",\n};\n\nexport function registerInputPassword(\n loader?: Registerable,\n customInputPasswordMeta?: ComponentMeta<PasswordProps>\n) {\n const doRegisterComponent: typeof registerComponent = (...args) =>\n loader ? loader.registerComponent(...args) : registerComponent(...args);\n doRegisterComponent(Password, customInputPasswordMeta ?? inputPasswordMeta);\n}\n\nexport const inputGroupMeta: ComponentMeta<GroupProps> = {\n name: \"AntdInputGroup\",\n displayName: \"Antd Input Group\",\n props: {\n compact: {\n type: \"boolean\",\n description: \"Whether use compact style\",\n defaultValueHint: false,\n },\n size: {\n type: \"choice\",\n options: [\"small\", \"default\", \"large\"],\n description:\n \"The size of Input.Group specifies the size of the included Input fields\",\n defaultValueHint: \"default\",\n },\n children: {\n type: \"slot\",\n defaultValue: [\n {\n type: \"component\",\n name: \"AntdInput\",\n },\n {\n type: \"component\",\n name: \"AntdInput\",\n },\n ],\n },\n },\n importPath: \"antd/lib/input/Group\",\n importName: \"InputGroup\",\n isDefaultExport: true,\n parentComponentName: \"AntdInput\",\n};\n\nexport function registerInputGroup(\n loader?: Registerable,\n customInputGroupMeta?: ComponentMeta<GroupProps>\n) {\n const doRegisterComponent: typeof registerComponent = (...args) =>\n loader ? loader.registerComponent(...args) : registerComponent(...args);\n doRegisterComponent(InputGroup, customInputGroupMeta ?? inputGroupMeta);\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAgBA,SAAA,cAAA,CAAsC,GAAW,EAAA;AAC/C,EAAA,OAAO,OAAO,WAAY,CAAA,MAAA,CAAO,QAAQ,GAAG,CAAA,CAAE,MAAM,CAAA,CAAA;AACtD,CAAA;AAIA,SAAA,SAAA,CAAsB,KAAiC,EAAA;AACrD,EAAA,OAAO,eAAe,KAAK,CAAA,CAAA;AAC7B,CAAA;AAEA,MAAM,oBAAuB,GAAA;AAAA,EAC3B,YAAc,EAAA;AAAA,IACZ,IAAM,EAAA,QAAA;AAAA,IACN,WAAa,EAAA,+BAAA;AAAA,GACf;AAAA,EACA,iBAAmB,EAAA;AAAA,IACjB,IAAM,EAAA,QAAA;AAAA,IACN,WAAa,EAAA,kDAAA;AAAA,GACf;AAAA,EACA,IAAM,EAAA;AAAA,IACJ,IAAM,EAAA,QAAA;AAAA,IACN,WAAa,EAA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