@plasmicpkgs/antd 2.0.64 → 2.0.66
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.tsbuildinfo +1 -1
- package/dist/antd.esm.js +69 -93
- package/dist/antd.esm.js.map +1 -1
- package/dist/index.js +112 -138
- package/dist/index.js.map +1 -1
- package/dist/registerButton.d.ts +3 -1
- package/dist/registerCarousel.d.ts +3 -1
- package/dist/registerCheckbox.d.ts +6 -2
- package/dist/registerCollapse.d.ts +2 -1
- package/dist/registerDropdown.d.ts +3 -1
- package/dist/registerInput.d.ts +8 -1
- package/dist/registerMenu.d.ts +9 -3
- package/dist/registerOption.d.ts +4 -2
- package/dist/registerRate.d.ts +3 -1
- package/dist/registerSelect.d.ts +9 -1
- package/dist/registerSlider.d.ts +1 -1
- package/dist/registerSwitch.d.ts +3 -1
- package/dist/registerTabs.d.ts +1 -1
- package/package.json +16 -3
- package/skinny/customControls-82aa5d0c.esm.js +20 -0
- package/skinny/customControls-82aa5d0c.esm.js.map +1 -0
- package/skinny/{customControls-fb0b7e5f.js → customControls-fb0b7e5f.cjs.js} +1 -1
- package/skinny/customControls-fb0b7e5f.cjs.js.map +1 -0
- package/skinny/{registerButton.js → registerButton.cjs.js} +6 -6
- package/skinny/registerButton.cjs.js.map +1 -0
- package/skinny/registerButton.d.ts +3 -1
- package/skinny/registerButton.esm.js +82 -0
- package/skinny/registerButton.esm.js.map +1 -0
- package/skinny/{registerCarousel.js → registerCarousel.cjs.js} +7 -7
- package/skinny/registerCarousel.cjs.js.map +1 -0
- package/skinny/registerCarousel.d.ts +3 -1
- package/skinny/registerCarousel.esm.js +68 -0
- package/skinny/registerCarousel.esm.js.map +1 -0
- package/skinny/{registerCheckbox.js → registerCheckbox.cjs.js} +13 -14
- package/skinny/registerCheckbox.cjs.js.map +1 -0
- package/skinny/registerCheckbox.d.ts +6 -2
- package/skinny/registerCheckbox.esm.js +156 -0
- package/skinny/registerCheckbox.esm.js.map +1 -0
- package/skinny/{registerCollapse.js → registerCollapse.cjs.js} +10 -12
- package/skinny/registerCollapse.cjs.js.map +1 -0
- package/skinny/registerCollapse.d.ts +2 -1
- package/skinny/registerCollapse.esm.js +181 -0
- package/skinny/registerCollapse.esm.js.map +1 -0
- package/skinny/{registerDropdown.js → registerDropdown.cjs.js} +8 -10
- package/skinny/registerDropdown.cjs.js.map +1 -0
- package/skinny/registerDropdown.d.ts +3 -1
- package/skinny/registerDropdown.esm.js +179 -0
- package/skinny/registerDropdown.esm.js.map +1 -0
- package/skinny/{registerInput.js → registerInput.cjs.js} +23 -27
- package/skinny/registerInput.cjs.js.map +1 -0
- package/skinny/registerInput.d.ts +8 -1
- package/skinny/registerInput.esm.js +447 -0
- package/skinny/registerInput.esm.js.map +1 -0
- package/skinny/{registerMenu.js → registerMenu.cjs.js} +30 -29
- package/skinny/registerMenu.cjs.js.map +1 -0
- package/skinny/registerMenu.d.ts +9 -3
- package/skinny/registerMenu.esm.js +278 -0
- package/skinny/registerMenu.esm.js.map +1 -0
- package/skinny/{registerOption.js → registerOption.cjs.js} +10 -6
- package/skinny/registerOption.cjs.js.map +1 -0
- package/skinny/registerOption.d.ts +4 -2
- package/skinny/registerOption.esm.js +78 -0
- package/skinny/registerOption.esm.js.map +1 -0
- package/skinny/{registerRate.js → registerRate.cjs.js} +7 -7
- package/skinny/registerRate.cjs.js.map +1 -0
- package/skinny/registerRate.d.ts +3 -1
- package/skinny/registerRate.esm.js +58 -0
- package/skinny/registerRate.esm.js.map +1 -0
- package/skinny/{registerSelect.js → registerSelect.cjs.js} +10 -10
- package/skinny/registerSelect.cjs.js.map +1 -0
- package/skinny/registerSelect.d.ts +9 -1
- package/skinny/registerSelect.esm.js +151 -0
- package/skinny/registerSelect.esm.js.map +1 -0
- package/skinny/{registerSlider.js → registerSlider.cjs.js} +3 -4
- package/skinny/registerSlider.cjs.js.map +1 -0
- package/skinny/registerSlider.d.ts +1 -1
- package/skinny/registerSlider.esm.js +134 -0
- package/skinny/registerSlider.esm.js.map +1 -0
- package/skinny/{registerSwitch.js → registerSwitch.cjs.js} +7 -7
- package/skinny/registerSwitch.cjs.js.map +1 -0
- package/skinny/registerSwitch.d.ts +3 -1
- package/skinny/registerSwitch.esm.js +76 -0
- package/skinny/registerSwitch.esm.js.map +1 -0
- package/skinny/{registerTable.js → registerTable.cjs.js} +3 -4
- package/skinny/registerTable.cjs.js.map +1 -0
- package/skinny/registerTable.esm.js +203 -0
- package/skinny/registerTable.esm.js.map +1 -0
- package/skinny/{registerTabs.js → registerTabs.cjs.js} +6 -14
- package/skinny/registerTabs.cjs.js.map +1 -0
- package/skinny/registerTabs.d.ts +1 -1
- package/skinny/registerTabs.esm.js +358 -0
- package/skinny/registerTabs.esm.js.map +1 -0
- package/skinny/registerable.cjs.js +3 -0
- package/skinny/registerable.cjs.js.map +1 -0
- package/skinny/registerable.esm.js +2 -0
- package/skinny/registerable.esm.js.map +1 -0
- package/skinny/customControls-fb0b7e5f.js.map +0 -1
- package/skinny/registerButton.js.map +0 -1
- package/skinny/registerCarousel.js.map +0 -1
- package/skinny/registerCheckbox.js.map +0 -1
- package/skinny/registerCollapse.js.map +0 -1
- package/skinny/registerDropdown.js.map +0 -1
- package/skinny/registerInput.js.map +0 -1
- package/skinny/registerMenu.js.map +0 -1
- package/skinny/registerOption.js.map +0 -1
- package/skinny/registerRate.js.map +0 -1
- package/skinny/registerSelect.js.map +0 -1
- package/skinny/registerSlider.js.map +0 -1
- package/skinny/registerSwitch.js.map +0 -1
- package/skinny/registerTable.js.map +0 -1
- package/skinny/registerTabs.js.map +0 -1
- package/skinny/registerable.js +0 -3
- package/skinny/registerable.js.map +0 -1
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
import registerComponent from '@plasmicapp/host/registerComponent';
|
|
2
|
+
import { Dropdown as Dropdown$1 } from 'antd';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
|
|
5
|
+
var __defProp = Object.defineProperty;
|
|
6
|
+
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
9
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
10
|
+
var __spreadValues = (a, b) => {
|
|
11
|
+
for (var prop in b || (b = {}))
|
|
12
|
+
if (__hasOwnProp.call(b, prop))
|
|
13
|
+
__defNormalProp(a, prop, b[prop]);
|
|
14
|
+
if (__getOwnPropSymbols)
|
|
15
|
+
for (var prop of __getOwnPropSymbols(b)) {
|
|
16
|
+
if (__propIsEnum.call(b, prop))
|
|
17
|
+
__defNormalProp(a, prop, b[prop]);
|
|
18
|
+
}
|
|
19
|
+
return a;
|
|
20
|
+
};
|
|
21
|
+
const DropdownButton = Dropdown$1.Button;
|
|
22
|
+
class Dropdown extends React.Component {
|
|
23
|
+
render() {
|
|
24
|
+
const thisProps = this.props;
|
|
25
|
+
const finalProps = __spreadValues({}, thisProps);
|
|
26
|
+
finalProps.children = typeof thisProps.children === "string" ? /* @__PURE__ */ React.createElement("div", null, thisProps.children) : thisProps.children;
|
|
27
|
+
return /* @__PURE__ */ React.createElement(Dropdown$1, __spreadValues({}, finalProps));
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
const dropdownMeta = {
|
|
31
|
+
name: "AntdDropdown",
|
|
32
|
+
displayName: "Antd Dropdown",
|
|
33
|
+
props: {
|
|
34
|
+
arrow: {
|
|
35
|
+
type: "boolean",
|
|
36
|
+
description: "Whether the dropdown arrow should be visible",
|
|
37
|
+
defaultValueHint: false
|
|
38
|
+
},
|
|
39
|
+
disabled: {
|
|
40
|
+
type: "boolean",
|
|
41
|
+
description: "Whether the dropdown menu is disabled",
|
|
42
|
+
defaultValueHint: false
|
|
43
|
+
},
|
|
44
|
+
overlay: {
|
|
45
|
+
type: "slot",
|
|
46
|
+
allowedComponents: ["AntdMenu"],
|
|
47
|
+
defaultValue: [
|
|
48
|
+
{
|
|
49
|
+
type: "component",
|
|
50
|
+
name: "AntdMenu"
|
|
51
|
+
}
|
|
52
|
+
]
|
|
53
|
+
},
|
|
54
|
+
placement: {
|
|
55
|
+
type: "choice",
|
|
56
|
+
options: [
|
|
57
|
+
"bottomLeft",
|
|
58
|
+
"bottomCenter",
|
|
59
|
+
"bottomRight",
|
|
60
|
+
"topLeft",
|
|
61
|
+
"topCenter",
|
|
62
|
+
"topRight"
|
|
63
|
+
],
|
|
64
|
+
description: "Placement of popup menu",
|
|
65
|
+
defaultValueHint: "bottomLeft"
|
|
66
|
+
},
|
|
67
|
+
trigger: {
|
|
68
|
+
type: "choice",
|
|
69
|
+
options: ["click", "hover", "contextMenu"],
|
|
70
|
+
description: "The trigger mode which executes the dropdown action",
|
|
71
|
+
defaultValueHint: "hover"
|
|
72
|
+
},
|
|
73
|
+
visible: {
|
|
74
|
+
type: "boolean",
|
|
75
|
+
description: "Toggle visibility of dropdown menu in Plasmic Editor",
|
|
76
|
+
editOnly: true,
|
|
77
|
+
defaultValueHint: false
|
|
78
|
+
},
|
|
79
|
+
children: {
|
|
80
|
+
type: "slot",
|
|
81
|
+
defaultValue: [
|
|
82
|
+
{
|
|
83
|
+
type: "text",
|
|
84
|
+
value: "Dropdown"
|
|
85
|
+
}
|
|
86
|
+
]
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
importPath: "@plasmicpkgs/antd/skinny/registerDropdown",
|
|
90
|
+
importName: "Dropdown"
|
|
91
|
+
};
|
|
92
|
+
function registerDropdown(loader, customDropdownMeta) {
|
|
93
|
+
const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) : registerComponent(...args);
|
|
94
|
+
doRegisterComponent(Dropdown, customDropdownMeta != null ? customDropdownMeta : dropdownMeta);
|
|
95
|
+
}
|
|
96
|
+
const dropdownButtonMeta = {
|
|
97
|
+
name: "AntdDropdownButton",
|
|
98
|
+
displayName: "Antd Dropdown Button",
|
|
99
|
+
props: {
|
|
100
|
+
disabled: {
|
|
101
|
+
type: "boolean",
|
|
102
|
+
description: "Whether the dropdown menu is disabled",
|
|
103
|
+
defaultValueHint: false
|
|
104
|
+
},
|
|
105
|
+
icon: {
|
|
106
|
+
type: "slot",
|
|
107
|
+
hidePlaceholder: true
|
|
108
|
+
},
|
|
109
|
+
overlay: {
|
|
110
|
+
type: "slot",
|
|
111
|
+
allowedComponents: ["AntdMenu"],
|
|
112
|
+
defaultValue: [
|
|
113
|
+
{
|
|
114
|
+
type: "component",
|
|
115
|
+
name: "AntdMenu"
|
|
116
|
+
}
|
|
117
|
+
]
|
|
118
|
+
},
|
|
119
|
+
placement: {
|
|
120
|
+
type: "choice",
|
|
121
|
+
options: [
|
|
122
|
+
"bottomLeft",
|
|
123
|
+
"bottomCenter",
|
|
124
|
+
"bottomRight",
|
|
125
|
+
"topLeft",
|
|
126
|
+
"topCenter",
|
|
127
|
+
"topRight"
|
|
128
|
+
],
|
|
129
|
+
description: "Placement of popup menu",
|
|
130
|
+
defaultValueHint: "bottomLeft"
|
|
131
|
+
},
|
|
132
|
+
size: {
|
|
133
|
+
type: "choice",
|
|
134
|
+
options: ["small", "medium", "large"],
|
|
135
|
+
description: "Set the size of button",
|
|
136
|
+
defaultValueHint: "medium"
|
|
137
|
+
},
|
|
138
|
+
trigger: {
|
|
139
|
+
type: "choice",
|
|
140
|
+
options: ["click", "hover", "contextMenu"],
|
|
141
|
+
description: "The trigger mode which executes the dropdown action",
|
|
142
|
+
defaultValueHint: "hover"
|
|
143
|
+
},
|
|
144
|
+
type: {
|
|
145
|
+
type: "choice",
|
|
146
|
+
options: ["default", "primary", "ghost", "dashed", "link", "text"],
|
|
147
|
+
description: "Can be set to primary, ghost, dashed, link, text, default",
|
|
148
|
+
defaultValueHint: "default"
|
|
149
|
+
},
|
|
150
|
+
visible: {
|
|
151
|
+
type: "boolean",
|
|
152
|
+
description: "Toggle visibility of dropdown menu in Plasmic Editor",
|
|
153
|
+
editOnly: true,
|
|
154
|
+
defaultValueHint: false
|
|
155
|
+
},
|
|
156
|
+
children: {
|
|
157
|
+
type: "slot",
|
|
158
|
+
defaultValue: [
|
|
159
|
+
{
|
|
160
|
+
type: "text",
|
|
161
|
+
value: "Dropdown"
|
|
162
|
+
}
|
|
163
|
+
]
|
|
164
|
+
}
|
|
165
|
+
},
|
|
166
|
+
importPath: "@plasmicpkgs/antd/skinny/registerDropdown",
|
|
167
|
+
importName: "DropdownButton",
|
|
168
|
+
parentComponentName: "AntdDropdown"
|
|
169
|
+
};
|
|
170
|
+
function registerDropdownButton(loader, customDropdownButtonMeta) {
|
|
171
|
+
const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) : registerComponent(...args);
|
|
172
|
+
doRegisterComponent(
|
|
173
|
+
DropdownButton,
|
|
174
|
+
customDropdownButtonMeta != null ? customDropdownButtonMeta : dropdownButtonMeta
|
|
175
|
+
);
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
export { Dropdown, DropdownButton, dropdownButtonMeta, dropdownMeta, registerDropdown, registerDropdownButton };
|
|
179
|
+
//# sourceMappingURL=registerDropdown.esm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"registerDropdown.esm.js","sources":["../src/registerDropdown.tsx"],"sourcesContent":["import registerComponent, {\n ComponentMeta,\n} from \"@plasmicapp/host/registerComponent\";\nimport { Dropdown as AntdDropdown } from \"antd\";\nimport type { DropdownButtonProps, DropDownProps } from \"antd/es/dropdown\";\n\nimport React from \"react\";\nimport { Registerable } from \"./registerable\";\n\nexport const DropdownButton: typeof AntdDropdown.Button = AntdDropdown.Button;\n\nexport class Dropdown extends React.Component<DropDownProps> {\n render() {\n const thisProps = this.props as any;\n const finalProps = { ...thisProps };\n finalProps.children =\n typeof thisProps.children === \"string\" ? (\n <div>{thisProps.children}</div>\n ) : (\n thisProps.children\n );\n return <AntdDropdown {...finalProps}>{}</AntdDropdown>;\n }\n}\n\nexport const dropdownMeta: ComponentMeta<DropDownProps> = {\n name: \"AntdDropdown\",\n displayName: \"Antd Dropdown\",\n props: {\n arrow: {\n type: \"boolean\",\n description: \"Whether the dropdown arrow should be visible\",\n defaultValueHint: false,\n },\n disabled: {\n type: \"boolean\",\n description: \"Whether the dropdown menu is disabled\",\n defaultValueHint: false,\n },\n overlay: {\n type: \"slot\",\n allowedComponents: [\"AntdMenu\"],\n defaultValue: [\n {\n type: \"component\",\n name: \"AntdMenu\",\n },\n ],\n },\n placement: {\n type: \"choice\",\n options: [\n \"bottomLeft\",\n \"bottomCenter\",\n \"bottomRight\",\n \"topLeft\",\n \"topCenter\",\n \"topRight\",\n ],\n description: \"Placement of popup menu\",\n defaultValueHint: \"bottomLeft\",\n },\n trigger: {\n type: \"choice\",\n options: [\"click\", \"hover\", \"contextMenu\"],\n description: \"The trigger mode which executes the dropdown action\",\n defaultValueHint: \"hover\",\n },\n visible: {\n type: \"boolean\",\n description: \"Toggle visibility of dropdown menu in Plasmic Editor\",\n editOnly: true,\n defaultValueHint: false,\n },\n children: {\n type: \"slot\",\n defaultValue: [\n {\n type: \"text\",\n value: \"Dropdown\",\n },\n ],\n },\n },\n importPath: \"@plasmicpkgs/antd/skinny/registerDropdown\",\n importName: \"Dropdown\",\n};\n\nexport function registerDropdown(\n loader?: Registerable,\n customDropdownMeta?: ComponentMeta<DropDownProps>\n) {\n const doRegisterComponent: typeof registerComponent = (...args) =>\n loader ? loader.registerComponent(...args) : registerComponent(...args);\n doRegisterComponent(Dropdown, customDropdownMeta ?? dropdownMeta);\n}\n\nexport const dropdownButtonMeta: ComponentMeta<DropdownButtonProps> = {\n name: \"AntdDropdownButton\",\n displayName: \"Antd Dropdown Button\",\n props: {\n disabled: {\n type: \"boolean\",\n description: \"Whether the dropdown menu is disabled\",\n defaultValueHint: false,\n },\n icon: {\n type: \"slot\",\n hidePlaceholder: true,\n },\n overlay: {\n type: \"slot\",\n allowedComponents: [\"AntdMenu\"],\n defaultValue: [\n {\n type: \"component\",\n name: \"AntdMenu\",\n },\n ],\n },\n placement: {\n type: \"choice\",\n options: [\n \"bottomLeft\",\n \"bottomCenter\",\n \"bottomRight\",\n \"topLeft\",\n \"topCenter\",\n \"topRight\",\n ],\n description: \"Placement of popup menu\",\n defaultValueHint: \"bottomLeft\",\n },\n size: {\n type: \"choice\",\n options: [\"small\", \"medium\", \"large\"],\n description: \"Set the size of button\",\n defaultValueHint: \"medium\",\n },\n trigger: {\n type: \"choice\",\n options: [\"click\", \"hover\", \"contextMenu\"],\n description: \"The trigger mode which executes the dropdown action\",\n defaultValueHint: \"hover\",\n },\n type: {\n type: \"choice\",\n options: [\"default\", \"primary\", \"ghost\", \"dashed\", \"link\", \"text\"],\n description: \"Can be set to primary, ghost, dashed, link, text, default\",\n defaultValueHint: \"default\",\n },\n visible: {\n type: \"boolean\",\n description: \"Toggle visibility of dropdown menu in Plasmic Editor\",\n editOnly: true,\n defaultValueHint: false,\n },\n children: {\n type: \"slot\",\n defaultValue: [\n {\n type: \"text\",\n value: \"Dropdown\",\n },\n ],\n },\n },\n importPath: \"@plasmicpkgs/antd/skinny/registerDropdown\",\n importName: \"DropdownButton\",\n parentComponentName: \"AntdDropdown\",\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"],"names":["AntdDropdown"],"mappings":";;;;;;;;;;;;;;;;;;;;AASO,MAAM,iBAA6CA,UAAa,CAAA,OAAA;AAE1D,MAAA,QAAA,SAAiB,MAAM,SAAyB,CAAA;AAAA,EAC3D,MAAS,GAAA;AACP,IAAA,MAAM,YAAY,IAAK,CAAA,KAAA,CAAA;AACvB,IAAA,MAAM,aAAa,cAAK,CAAA,EAAA,EAAA,SAAA,CAAA,CAAA;AACxB,IAAW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AAA,KACF;AAAA,GACF;AAAA,EACA,UAAY,EAAA,2CAAA;AAAA,EACZ,UAAY,EAAA,gBAAA;AAAA,EACZ,mBAAqB,EAAA,cAAA;AACvB,EAAA;AAEgB,SAAA,sBAAA,CACd,QACA,wBACA,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,EAAA,mBAAA;AAAA,IACE,cAAA;AAAA,IACA,wBAA4B,IAAA,IAAA,GAAA,wBAAA,GAAA,kBAAA;AAAA,GAC9B,CAAA;AACF;;;;"}
|
|
@@ -1,20 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var registerComponent = require('@plasmicapp/host/registerComponent');
|
|
4
|
-
var
|
|
5
|
-
var InputGroup = require('antd/lib/input/Group');
|
|
6
|
-
var Password = require('antd/lib/input/Password');
|
|
7
|
-
var Search = require('antd/lib/input/Search');
|
|
8
|
-
var TextArea = require('antd/lib/input/TextArea');
|
|
4
|
+
var antd = require('antd');
|
|
9
5
|
|
|
10
6
|
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
11
7
|
|
|
12
8
|
var registerComponent__default = /*#__PURE__*/_interopDefault(registerComponent);
|
|
13
|
-
var Input__default = /*#__PURE__*/_interopDefault(Input);
|
|
14
|
-
var InputGroup__default = /*#__PURE__*/_interopDefault(InputGroup);
|
|
15
|
-
var Password__default = /*#__PURE__*/_interopDefault(Password);
|
|
16
|
-
var Search__default = /*#__PURE__*/_interopDefault(Search);
|
|
17
|
-
var TextArea__default = /*#__PURE__*/_interopDefault(TextArea);
|
|
18
9
|
|
|
19
10
|
var __defProp = Object.defineProperty;
|
|
20
11
|
var __defProps = Object.defineProperties;
|
|
@@ -35,6 +26,11 @@ var __spreadValues = (a, b) => {
|
|
|
35
26
|
return a;
|
|
36
27
|
};
|
|
37
28
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
29
|
+
const Input = antd.Input;
|
|
30
|
+
const InputGroup = Input.Group;
|
|
31
|
+
const Password = Input.Password;
|
|
32
|
+
const Search = Input.Search;
|
|
33
|
+
const TextArea = Input.TextArea;
|
|
38
34
|
function sortObjectKeys(obj) {
|
|
39
35
|
return Object.fromEntries(Object.entries(obj).sort());
|
|
40
36
|
}
|
|
@@ -146,13 +142,12 @@ const inputMeta = {
|
|
|
146
142
|
importName: "inputHelpers",
|
|
147
143
|
importPath: "@plasmicpkgs/antd/skinny/registerInput"
|
|
148
144
|
},
|
|
149
|
-
importPath: "antd/
|
|
150
|
-
importName: "Input"
|
|
151
|
-
isDefaultExport: true
|
|
145
|
+
importPath: "@plasmicpkgs/antd/skinny/registerInput",
|
|
146
|
+
importName: "Input"
|
|
152
147
|
};
|
|
153
148
|
function registerInput(loader, customInputMeta) {
|
|
154
149
|
const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) : registerComponent__default.default(...args);
|
|
155
|
-
doRegisterComponent(
|
|
150
|
+
doRegisterComponent(Input, customInputMeta != null ? customInputMeta : inputMeta);
|
|
156
151
|
}
|
|
157
152
|
const inputTextAreaMeta = {
|
|
158
153
|
name: "AntdInputTextArea",
|
|
@@ -220,14 +215,13 @@ const inputTextAreaMeta = {
|
|
|
220
215
|
importName: "inputHelpers",
|
|
221
216
|
importPath: "@plasmicpkgs/antd/skinny/registerInput"
|
|
222
217
|
},
|
|
223
|
-
importPath: "antd/
|
|
218
|
+
importPath: "@plasmicpkgs/antd/skinny/registerInput",
|
|
224
219
|
importName: "TextArea",
|
|
225
|
-
isDefaultExport: true,
|
|
226
220
|
parentComponentName: "AntdInput"
|
|
227
221
|
};
|
|
228
222
|
function registerInputTextArea(loader, customInputTextAreaMeta) {
|
|
229
223
|
const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) : registerComponent__default.default(...args);
|
|
230
|
-
doRegisterComponent(
|
|
224
|
+
doRegisterComponent(TextArea, customInputTextAreaMeta != null ? customInputTextAreaMeta : inputTextAreaMeta);
|
|
231
225
|
}
|
|
232
226
|
const inputSearchMeta = {
|
|
233
227
|
name: "AntdInputSearch",
|
|
@@ -317,14 +311,13 @@ const inputSearchMeta = {
|
|
|
317
311
|
importName: "inputHelpers",
|
|
318
312
|
importPath: "@plasmicpkgs/antd/skinny/registerInput"
|
|
319
313
|
},
|
|
320
|
-
importPath: "antd/
|
|
314
|
+
importPath: "@plasmicpkgs/antd/skinny/registerInput",
|
|
321
315
|
importName: "Search",
|
|
322
|
-
isDefaultExport: true,
|
|
323
316
|
parentComponentName: "AntdInput"
|
|
324
317
|
};
|
|
325
318
|
function registerInputSearch(loader, customInputSearchMeta) {
|
|
326
319
|
const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) : registerComponent__default.default(...args);
|
|
327
|
-
doRegisterComponent(
|
|
320
|
+
doRegisterComponent(Search, customInputSearchMeta != null ? customInputSearchMeta : inputSearchMeta);
|
|
328
321
|
}
|
|
329
322
|
const inputPasswordMeta = {
|
|
330
323
|
name: "AntdInputPassword",
|
|
@@ -410,14 +403,13 @@ const inputPasswordMeta = {
|
|
|
410
403
|
importName: "inputHelpers",
|
|
411
404
|
importPath: "@plasmicpkgs/antd/skinny/registerInput"
|
|
412
405
|
},
|
|
413
|
-
importPath: "antd/
|
|
406
|
+
importPath: "@plasmicpkgs/antd/skinny/registerInput",
|
|
414
407
|
importName: "Password",
|
|
415
|
-
isDefaultExport: true,
|
|
416
408
|
parentComponentName: "AntdInput"
|
|
417
409
|
};
|
|
418
410
|
function registerInputPassword(loader, customInputPasswordMeta) {
|
|
419
411
|
const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) : registerComponent__default.default(...args);
|
|
420
|
-
doRegisterComponent(
|
|
412
|
+
doRegisterComponent(Password, customInputPasswordMeta != null ? customInputPasswordMeta : inputPasswordMeta);
|
|
421
413
|
}
|
|
422
414
|
const inputGroupMeta = {
|
|
423
415
|
name: "AntdInputGroup",
|
|
@@ -448,16 +440,20 @@ const inputGroupMeta = {
|
|
|
448
440
|
]
|
|
449
441
|
}
|
|
450
442
|
},
|
|
451
|
-
importPath: "antd/
|
|
443
|
+
importPath: "@plasmicpkgs/antd/skinny/registerInput",
|
|
452
444
|
importName: "InputGroup",
|
|
453
|
-
isDefaultExport: true,
|
|
454
445
|
parentComponentName: "AntdInput"
|
|
455
446
|
};
|
|
456
447
|
function registerInputGroup(loader, customInputGroupMeta) {
|
|
457
448
|
const doRegisterComponent = (...args) => loader ? loader.registerComponent(...args) : registerComponent__default.default(...args);
|
|
458
|
-
doRegisterComponent(
|
|
449
|
+
doRegisterComponent(InputGroup, customInputGroupMeta != null ? customInputGroupMeta : inputGroupMeta);
|
|
459
450
|
}
|
|
460
451
|
|
|
452
|
+
exports.Input = Input;
|
|
453
|
+
exports.InputGroup = InputGroup;
|
|
454
|
+
exports.Password = Password;
|
|
455
|
+
exports.Search = Search;
|
|
456
|
+
exports.TextArea = TextArea;
|
|
461
457
|
exports.inputGroupMeta = inputGroupMeta;
|
|
462
458
|
exports.inputHelpers = inputHelpers;
|
|
463
459
|
exports.inputMeta = inputMeta;
|
|
@@ -469,4 +465,4 @@ exports.registerInputGroup = registerInputGroup;
|
|
|
469
465
|
exports.registerInputPassword = registerInputPassword;
|
|
470
466
|
exports.registerInputSearch = registerInputSearch;
|
|
471
467
|
exports.registerInputTextArea = registerInputTextArea;
|
|
472
|
-
//# sourceMappingURL=registerInput.js.map
|
|
468
|
+
//# sourceMappingURL=registerInput.cjs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"registerInput.cjs.js","sources":["../src/registerInput.ts"],"sourcesContent":["import registerComponent, {\n ComponentMeta,\n} from \"@plasmicapp/host/registerComponent\";\nimport { Input as AntdInput } from \"antd\";\nimport type {\n GroupProps,\n InputProps,\n PasswordProps,\n SearchProps,\n TextAreaProps,\n} from \"antd/es/input\";\nimport { Registerable } from \"./registerable\";\n\nexport const Input: typeof AntdInput = AntdInput;\nexport const InputGroup = Input.Group;\nexport const Password = Input.Password;\nexport const Search = Input.Search;\nexport const TextArea = Input.TextArea;\n\nfunction sortObjectKeys<T extends Record<string, any>>(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: \"@plasmicpkgs/antd/skinny/registerInput\",\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: 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: \"@plasmicpkgs/antd/skinny/registerInput\",\n importName: \"TextArea\",\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: \"@plasmicpkgs/antd/skinny/registerInput\",\n importName: \"Search\",\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: \"@plasmicpkgs/antd/skinny/registerInput\",\n importName: \"Password\",\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: \"@plasmicpkgs/antd/skinny/registerInput\",\n importName: \"InputGroup\",\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":["AntdInput","registerComponent"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAaO,MAAM,KAA0B,GAAAA,WAAA;AAChC,MAAM,aAAa,KAAM,CAAA,MAAA;AACzB,MAAM,WAAW,KAAM,C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,YAAA;AAAA,EACZ,mBAAqB,EAAA,WAAA;AACvB,EAAA;AAEgB,SAAA,kBAAA,CACd,QACA,oBACA,EAAA;AACA,EAAM,MAAA,mBAAA,GAAgD,CAAI,GAAA,IAAA,KACxD,MAAS,GAAA,MAAA,CAAO,iBAAkB,CAAA,GAAG,IAAI,CAAA,GAAIA,kCAAkB,CAAA,GAAG,IAAI,CAAA,CAAA;AACxE,EAAoB,mBAAA,CAAA,UAAA,EAAY,sDAAwB,cAAc,CAAA,CAAA;AACxE;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,6 +1,13 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { ComponentMeta } from "@plasmicapp/host/registerComponent";
|
|
2
|
-
import {
|
|
3
|
+
import { Input as AntdInput } from "antd";
|
|
4
|
+
import type { GroupProps, InputProps, PasswordProps, SearchProps, TextAreaProps } from "antd/es/input";
|
|
3
5
|
import { Registerable } from "./registerable";
|
|
6
|
+
export declare const Input: typeof AntdInput;
|
|
7
|
+
export declare const InputGroup: import("react").FC<import("antd/lib/input").GroupProps>;
|
|
8
|
+
export declare const Password: import("react").ForwardRefExoticComponent<import("antd/lib/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef>>;
|
|
9
|
+
export declare const Search: import("react").ForwardRefExoticComponent<import("antd/lib/input").SearchProps & import("react").RefAttributes<import("antd").InputRef>>;
|
|
10
|
+
export declare const TextArea: import("react").ForwardRefExoticComponent<import("antd/lib/input").TextAreaProps & import("react").RefAttributes<import("antd/lib/input/TextArea").TextAreaRef>>;
|
|
4
11
|
export declare const inputHelpers: {
|
|
5
12
|
states: {
|
|
6
13
|
value: {
|