@plasmicpkgs/antd 2.0.5 → 2.0.7
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/antd.cjs.development.js +2242 -0
- package/dist/antd.cjs.development.js.map +1 -0
- package/dist/antd.cjs.production.min.js +2 -0
- package/dist/antd.cjs.production.min.js.map +1 -0
- package/dist/antd.css +27184 -0
- package/dist/antd.esm.js +637 -724
- package/dist/antd.esm.js.map +1 -1
- package/dist/customControls.d.ts +17 -17
- package/dist/index.d.ts +16 -16
- package/dist/index.js +5 -2353
- package/dist/registerButton.d.ts +5 -5
- package/dist/registerCarousel.d.ts +5 -5
- package/dist/registerCheckbox.d.ts +8 -8
- package/dist/registerCollapse.d.ts +14 -14
- package/dist/registerDropdown.d.ts +11 -11
- package/dist/registerInput.d.ts +14 -13
- package/dist/registerMenu.d.ts +15 -14
- package/dist/registerOption.d.ts +8 -8
- package/dist/registerRate.d.ts +5 -5
- package/dist/registerSelect.d.ts +8 -8
- package/dist/registerSlider.d.ts +19 -19
- package/dist/registerSwitch.d.ts +5 -5
- package/dist/registerTable.d.ts +30 -30
- package/dist/registerTabs.d.ts +13 -14
- package/dist/registerable.d.ts +4 -4
- package/package.json +7 -9
- package/skinny/customControls-8143c119.js +27 -0
- package/skinny/{customControls-f5378e2f.js.map → customControls-8143c119.js.map} +1 -1
- package/skinny/customControls.d.ts +17 -17
- package/skinny/index.d.ts +16 -0
- package/skinny/package.json +2 -2
- package/skinny/registerButton.d.ts +5 -5
- package/skinny/registerButton.js +94 -78
- package/skinny/registerButton.js.map +1 -1
- package/skinny/registerCarousel.d.ts +5 -5
- package/skinny/registerCarousel.js +80 -64
- package/skinny/registerCarousel.js.map +1 -1
- package/skinny/registerCheckbox.d.ts +8 -8
- package/skinny/registerCheckbox.js +140 -123
- package/skinny/registerCheckbox.js.map +1 -1
- package/skinny/registerCollapse.d.ts +14 -14
- package/skinny/registerCollapse.js +173 -172
- package/skinny/registerCollapse.js.map +1 -1
- package/skinny/registerDropdown.d.ts +11 -11
- package/skinny/registerDropdown.js +190 -172
- package/skinny/registerDropdown.js.map +1 -1
- package/skinny/registerInput.d.ts +14 -13
- package/skinny/registerInput.js +341 -360
- package/skinny/registerInput.js.map +1 -1
- package/skinny/registerMenu.d.ts +15 -14
- package/skinny/registerMenu.js +326 -274
- package/skinny/registerMenu.js.map +1 -1
- package/skinny/registerOption.d.ts +8 -8
- package/skinny/registerOption.js +95 -72
- package/skinny/registerOption.js.map +1 -1
- package/skinny/registerRate.d.ts +5 -5
- package/skinny/registerSelect.d.ts +8 -8
- package/skinny/registerSelect.js +144 -128
- package/skinny/registerSelect.js.map +1 -1
- package/skinny/registerSlider.d.ts +19 -19
- package/skinny/registerSlider.js +120 -130
- package/skinny/registerSlider.js.map +1 -1
- package/skinny/registerSwitch.d.ts +5 -5
- package/skinny/registerSwitch.js +69 -53
- package/skinny/registerSwitch.js.map +1 -1
- package/skinny/registerTable.d.ts +30 -30
- package/skinny/registerTable.js +204 -201
- package/skinny/registerTable.js.map +1 -1
- package/skinny/registerTabs.d.ts +13 -14
- package/skinny/registerTabs.js +330 -342
- package/skinny/registerTabs.js.map +1 -1
- package/skinny/registerable.d.ts +4 -4
- package/skinny/tslib.es6-40998fef.js +59 -0
- package/skinny/tslib.es6-40998fef.js.map +1 -0
- package/dist/index.js.map +0 -1
- package/skinny/customControls-f5378e2f.js +0 -20
|
@@ -1,176 +1,194 @@
|
|
|
1
|
-
|
|
2
|
-
import AntdDropdown from 'antd/es/dropdown';
|
|
3
|
-
import DropdownButton from 'antd/es/dropdown/dropdown-button';
|
|
4
|
-
import React from 'react';
|
|
1
|
+
'use strict';
|
|
5
2
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
var
|
|
9
|
-
var
|
|
10
|
-
var
|
|
11
|
-
var
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var tslib_es6 = require('./tslib.es6-40998fef.js');
|
|
6
|
+
var registerComponent = require('@plasmicapp/host/registerComponent');
|
|
7
|
+
var AntdDropdown = require('antd/lib/dropdown');
|
|
8
|
+
var DropdownButton = require('antd/lib/dropdown/dropdown-button');
|
|
9
|
+
var React = require('react');
|
|
10
|
+
|
|
11
|
+
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
12
|
+
|
|
13
|
+
var registerComponent__default = /*#__PURE__*/_interopDefaultLegacy(registerComponent);
|
|
14
|
+
var AntdDropdown__default = /*#__PURE__*/_interopDefaultLegacy(AntdDropdown);
|
|
15
|
+
var DropdownButton__default = /*#__PURE__*/_interopDefaultLegacy(DropdownButton);
|
|
16
|
+
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
17
|
+
|
|
18
|
+
var Dropdown = /** @class */ (function (_super) {
|
|
19
|
+
tslib_es6.__extends(Dropdown, _super);
|
|
20
|
+
function Dropdown() {
|
|
21
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
22
|
+
}
|
|
23
|
+
Dropdown.prototype.render = function () {
|
|
24
|
+
var finalProps = tslib_es6.__assign({}, this.props);
|
|
25
|
+
finalProps.children =
|
|
26
|
+
typeof this.props.children === "string" ? (React__default['default'].createElement("div", null, this.props.children)) : (this.props.children);
|
|
27
|
+
return React__default['default'].createElement(AntdDropdown__default['default'], tslib_es6.__assign({}, finalProps));
|
|
28
|
+
};
|
|
29
|
+
return Dropdown;
|
|
30
|
+
}(React__default['default'].Component));
|
|
31
|
+
var dropdownMeta = {
|
|
32
|
+
name: "AntdDropdown",
|
|
33
|
+
displayName: "Antd Dropdown",
|
|
34
|
+
props: {
|
|
35
|
+
arrow: {
|
|
36
|
+
type: "boolean",
|
|
37
|
+
description: "Whether the dropdown arrow should be visible",
|
|
38
|
+
defaultValueHint: false,
|
|
39
|
+
},
|
|
40
|
+
disabled: {
|
|
41
|
+
type: "boolean",
|
|
42
|
+
description: "Whether the dropdown menu is disabled",
|
|
43
|
+
defaultValueHint: false,
|
|
44
|
+
},
|
|
45
|
+
overlay: {
|
|
46
|
+
type: "slot",
|
|
47
|
+
allowedComponents: ["AntdMenu"],
|
|
48
|
+
defaultValue: [
|
|
49
|
+
{
|
|
50
|
+
type: "component",
|
|
51
|
+
name: "AntdMenu",
|
|
52
|
+
},
|
|
53
|
+
],
|
|
54
|
+
},
|
|
55
|
+
placement: {
|
|
56
|
+
type: "choice",
|
|
57
|
+
options: [
|
|
58
|
+
"bottomLeft",
|
|
59
|
+
"bottomCenter",
|
|
60
|
+
"bottomRight",
|
|
61
|
+
"topLeft",
|
|
62
|
+
"topCenter",
|
|
63
|
+
"topRight",
|
|
64
|
+
],
|
|
65
|
+
description: "Placement of popup menu",
|
|
66
|
+
defaultValueHint: "bottomLeft",
|
|
67
|
+
},
|
|
68
|
+
trigger: {
|
|
69
|
+
type: "choice",
|
|
70
|
+
options: ["click", "hover", "contextMenu"],
|
|
71
|
+
description: "The trigger mode which executes the dropdown action",
|
|
72
|
+
defaultValueHint: "hover",
|
|
73
|
+
},
|
|
74
|
+
visible: {
|
|
75
|
+
type: "boolean",
|
|
76
|
+
description: "Toggle visibility of dropdown menu in Plasmic Editor",
|
|
77
|
+
editOnly: true,
|
|
78
|
+
defaultValueHint: false,
|
|
79
|
+
},
|
|
80
|
+
children: {
|
|
81
|
+
type: "slot",
|
|
82
|
+
defaultValue: [
|
|
83
|
+
{
|
|
84
|
+
type: "text",
|
|
85
|
+
value: "Dropdown",
|
|
86
|
+
},
|
|
87
|
+
],
|
|
88
|
+
},
|
|
89
|
+
},
|
|
90
|
+
importPath: "@plasmicpkgs/antd/skinny/registerDropdown",
|
|
91
|
+
importName: "Dropdown",
|
|
92
|
+
};
|
|
93
|
+
function registerDropdown(loader, customDropdownMeta) {
|
|
94
|
+
var doRegisterComponent = function () {
|
|
95
|
+
var args = [];
|
|
96
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
97
|
+
args[_i] = arguments[_i];
|
|
98
|
+
}
|
|
99
|
+
return loader ? loader.registerComponent.apply(loader, args) : registerComponent__default['default'].apply(void 0, args);
|
|
100
|
+
};
|
|
101
|
+
doRegisterComponent(Dropdown, customDropdownMeta !== null && customDropdownMeta !== void 0 ? customDropdownMeta : dropdownMeta);
|
|
102
|
+
}
|
|
103
|
+
var dropdownButtonMeta = {
|
|
104
|
+
name: "AntdDropdownButton",
|
|
105
|
+
displayName: "Antd Dropdown Button",
|
|
106
|
+
props: {
|
|
107
|
+
disabled: {
|
|
108
|
+
type: "boolean",
|
|
109
|
+
description: "Whether the dropdown menu is disabled",
|
|
110
|
+
defaultValueHint: false,
|
|
111
|
+
},
|
|
112
|
+
icon: {
|
|
113
|
+
type: "slot",
|
|
114
|
+
hidePlaceholder: true,
|
|
115
|
+
},
|
|
116
|
+
overlay: {
|
|
117
|
+
type: "slot",
|
|
118
|
+
allowedComponents: ["AntdMenu"],
|
|
119
|
+
defaultValue: [
|
|
120
|
+
{
|
|
121
|
+
type: "component",
|
|
122
|
+
name: "AntdMenu",
|
|
123
|
+
},
|
|
124
|
+
],
|
|
125
|
+
},
|
|
126
|
+
placement: {
|
|
127
|
+
type: "choice",
|
|
128
|
+
options: [
|
|
129
|
+
"bottomLeft",
|
|
130
|
+
"bottomCenter",
|
|
131
|
+
"bottomRight",
|
|
132
|
+
"topLeft",
|
|
133
|
+
"topCenter",
|
|
134
|
+
"topRight",
|
|
135
|
+
],
|
|
136
|
+
description: "Placement of popup menu",
|
|
137
|
+
defaultValueHint: "bottomLeft",
|
|
138
|
+
},
|
|
139
|
+
size: {
|
|
140
|
+
type: "choice",
|
|
141
|
+
options: ["small", "medium", "large"],
|
|
142
|
+
description: "Set the size of button",
|
|
143
|
+
defaultValueHint: "medium",
|
|
144
|
+
},
|
|
145
|
+
trigger: {
|
|
146
|
+
type: "choice",
|
|
147
|
+
options: ["click", "hover", "contextMenu"],
|
|
148
|
+
description: "The trigger mode which executes the dropdown action",
|
|
149
|
+
defaultValueHint: "hover",
|
|
150
|
+
},
|
|
151
|
+
type: {
|
|
152
|
+
type: "choice",
|
|
153
|
+
options: ["default", "primary", "ghost", "dashed", "link", "text"],
|
|
154
|
+
description: "Can be set to primary, ghost, dashed, link, text, default",
|
|
155
|
+
defaultValueHint: "default",
|
|
156
|
+
},
|
|
157
|
+
visible: {
|
|
158
|
+
type: "boolean",
|
|
159
|
+
description: "Toggle visibility of dropdown menu in Plasmic Editor",
|
|
160
|
+
editOnly: true,
|
|
161
|
+
defaultValueHint: false,
|
|
162
|
+
},
|
|
163
|
+
children: {
|
|
164
|
+
type: "slot",
|
|
165
|
+
defaultValue: [
|
|
166
|
+
{
|
|
167
|
+
type: "text",
|
|
168
|
+
value: "Dropdown",
|
|
169
|
+
},
|
|
170
|
+
],
|
|
171
|
+
},
|
|
172
|
+
},
|
|
173
|
+
importPath: "antd/lib/dropdown/dropdown-button",
|
|
174
|
+
importName: "DropdownButton",
|
|
175
|
+
parentComponentName: "AntdDropdown",
|
|
176
|
+
isDefaultExport: true,
|
|
177
|
+
};
|
|
178
|
+
function registerDropdownButton(loader, customDropdownButtonMeta) {
|
|
179
|
+
var doRegisterComponent = function () {
|
|
180
|
+
var args = [];
|
|
181
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
182
|
+
args[_i] = arguments[_i];
|
|
183
|
+
}
|
|
184
|
+
return loader ? loader.registerComponent.apply(loader, args) : registerComponent__default['default'].apply(void 0, args);
|
|
185
|
+
};
|
|
186
|
+
doRegisterComponent(DropdownButton__default['default'], customDropdownButtonMeta !== null && customDropdownButtonMeta !== void 0 ? customDropdownButtonMeta : dropdownButtonMeta);
|
|
173
187
|
}
|
|
174
188
|
|
|
175
|
-
|
|
189
|
+
exports.Dropdown = Dropdown;
|
|
190
|
+
exports.dropdownButtonMeta = dropdownButtonMeta;
|
|
191
|
+
exports.dropdownMeta = dropdownMeta;
|
|
192
|
+
exports.registerDropdown = registerDropdown;
|
|
193
|
+
exports.registerDropdownButton = registerDropdownButton;
|
|
176
194
|
//# sourceMappingURL=registerDropdown.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registerDropdown.js","sources":["../src/registerDropdown.tsx"],"sourcesContent":["import registerComponent, {\n ComponentMeta,\n} from \"@plasmicapp/host/registerComponent\";\nimport AntdDropdown, {\n DropdownButtonProps,\n DropDownProps,\n} from \"antd/
|
|
1
|
+
{"version":3,"file":"registerDropdown.js","sources":["../src/registerDropdown.tsx"],"sourcesContent":["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 defaultValueHint: false,\n },\n disabled: {\n type: \"boolean\",\n description: \"Whether the dropdown menu is disabled\",\n defaultValueHint: false,\n },\n overlay: {\n type: \"slot\",\n allowedComponents: [\"AntdMenu\"],\n defaultValue: [\n {\n type: \"component\",\n name: \"AntdMenu\",\n },\n ],\n },\n placement: {\n type: \"choice\",\n options: [\n \"bottomLeft\",\n \"bottomCenter\",\n \"bottomRight\",\n \"topLeft\",\n \"topCenter\",\n \"topRight\",\n ],\n description: \"Placement of popup menu\",\n defaultValueHint: \"bottomLeft\",\n },\n trigger: {\n type: \"choice\",\n options: [\"click\", \"hover\", \"contextMenu\"],\n description: \"The trigger mode which executes the dropdown action\",\n defaultValueHint: \"hover\",\n },\n visible: {\n type: \"boolean\",\n description: \"Toggle visibility of dropdown menu in Plasmic Editor\",\n editOnly: true,\n defaultValueHint: false,\n },\n children: {\n type: \"slot\",\n defaultValue: [\n {\n type: \"text\",\n value: \"Dropdown\",\n },\n ],\n },\n },\n importPath: \"@plasmicpkgs/antd/skinny/registerDropdown\",\n importName: \"Dropdown\",\n};\n\nexport function registerDropdown(\n loader?: Registerable,\n customDropdownMeta?: ComponentMeta<DropDownProps>\n) {\n const doRegisterComponent: typeof registerComponent = (...args) =>\n loader ? loader.registerComponent(...args) : registerComponent(...args);\n doRegisterComponent(Dropdown, customDropdownMeta ?? dropdownMeta);\n}\n\nexport const dropdownButtonMeta: ComponentMeta<DropdownButtonProps> = {\n name: \"AntdDropdownButton\",\n displayName: \"Antd Dropdown Button\",\n props: {\n disabled: {\n type: \"boolean\",\n description: \"Whether the dropdown menu is disabled\",\n defaultValueHint: false,\n },\n icon: {\n type: \"slot\",\n hidePlaceholder: true,\n },\n overlay: {\n type: \"slot\",\n allowedComponents: [\"AntdMenu\"],\n defaultValue: [\n {\n type: \"component\",\n name: \"AntdMenu\",\n },\n ],\n },\n placement: {\n type: \"choice\",\n options: [\n \"bottomLeft\",\n \"bottomCenter\",\n \"bottomRight\",\n \"topLeft\",\n \"topCenter\",\n \"topRight\",\n ],\n description: \"Placement of popup menu\",\n defaultValueHint: \"bottomLeft\",\n },\n size: {\n type: \"choice\",\n options: [\"small\", \"medium\", \"large\"],\n description: \"Set the size of button\",\n defaultValueHint: \"medium\",\n },\n trigger: {\n type: \"choice\",\n options: [\"click\", \"hover\", \"contextMenu\"],\n description: \"The trigger mode which executes the dropdown action\",\n defaultValueHint: \"hover\",\n },\n type: {\n type: \"choice\",\n options: [\"default\", \"primary\", \"ghost\", \"dashed\", \"link\", \"text\"],\n description: \"Can be set to primary, ghost, dashed, link, text, default\",\n defaultValueHint: \"default\",\n },\n visible: {\n type: \"boolean\",\n description: \"Toggle visibility of dropdown menu in Plasmic Editor\",\n editOnly: true,\n defaultValueHint: false,\n },\n children: {\n type: \"slot\",\n defaultValue: [\n {\n type: \"text\",\n value: \"Dropdown\",\n },\n ],\n },\n },\n importPath: \"antd/lib/dropdown/dropdown-button\",\n importName: \"DropdownButton\",\n parentComponentName: \"AntdDropdown\",\n isDefaultExport: true,\n};\n\nexport function registerDropdownButton(\n loader?: Registerable,\n customDropdownButtonMeta?: ComponentMeta<DropDownProps>\n) {\n const doRegisterComponent: typeof registerComponent = (...args) =>\n loader ? loader.registerComponent(...args) : registerComponent(...args);\n doRegisterComponent(\n DropdownButton,\n customDropdownButtonMeta ?? dropdownButtonMeta\n );\n}\n"],"names":["__extends","React","AntdDropdown","registerComponent","DropdownButton"],"mappings":";;;;;;;;;;;;;;;;;;IAW8BA,sCAA8B;IAA5D;;KAWC;IAVC,yBAAM,GAAN;QACE,IAAM,UAAU,0BAAQ,I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;AACJ;;;;;;;;"}
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import { ComponentMeta } from "@plasmicapp/host/registerComponent";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
export declare
|
|
6
|
-
export declare
|
|
7
|
-
export declare
|
|
8
|
-
export declare
|
|
9
|
-
export declare
|
|
10
|
-
export declare
|
|
11
|
-
export declare
|
|
12
|
-
export declare
|
|
13
|
-
export declare
|
|
1
|
+
import { ComponentMeta } from "@plasmicapp/host/registerComponent";
|
|
2
|
+
import { InputProps } from "antd/lib/input";
|
|
3
|
+
import { GroupProps, PasswordProps, SearchProps, TextAreaProps } from "antd/lib/input";
|
|
4
|
+
import { Registerable } from "./registerable";
|
|
5
|
+
export declare const inputMeta: ComponentMeta<InputProps>;
|
|
6
|
+
export declare function registerInput(loader?: Registerable, customInputMeta?: ComponentMeta<InputProps>): void;
|
|
7
|
+
export declare const inputTextAreaMeta: ComponentMeta<TextAreaProps>;
|
|
8
|
+
export declare function registerInputTextArea(loader?: Registerable, customInputTextAreaMeta?: ComponentMeta<TextAreaProps>): void;
|
|
9
|
+
export declare const inputSearchMeta: ComponentMeta<SearchProps>;
|
|
10
|
+
export declare function registerInputSearch(loader?: Registerable, customInputSearchMeta?: ComponentMeta<SearchProps>): void;
|
|
11
|
+
export declare const inputPasswordMeta: ComponentMeta<PasswordProps>;
|
|
12
|
+
export declare function registerInputPassword(loader?: Registerable, customInputPasswordMeta?: ComponentMeta<PasswordProps>): void;
|
|
13
|
+
export declare const inputGroupMeta: ComponentMeta<GroupProps>;
|
|
14
|
+
export declare function registerInputGroup(loader?: Registerable, customInputGroupMeta?: ComponentMeta<GroupProps>): void;
|