@plasmicpkgs/antd5 0.0.184 → 0.0.186
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 +19 -11
- package/dist/antd.esm.js.map +1 -1
- package/dist/index.js +19 -11
- package/dist/index.js.map +1 -1
- package/package.json +6 -6
- package/skinny/registerInput.cjs.js +19 -11
- package/skinny/registerInput.cjs.js.map +1 -1
- package/skinny/registerInput.esm.js +19 -11
- package/skinny/registerInput.esm.js.map +1 -1
package/dist/index.js
CHANGED
|
@@ -3234,6 +3234,17 @@ const COMMON_EVENT_HANDLERS = {
|
|
|
3234
3234
|
}
|
|
3235
3235
|
};
|
|
3236
3236
|
const inputComponentName = "plasmic-antd5-input";
|
|
3237
|
+
const inputTypeOptions = [
|
|
3238
|
+
"text",
|
|
3239
|
+
"password",
|
|
3240
|
+
"number",
|
|
3241
|
+
"date",
|
|
3242
|
+
"datetime-local",
|
|
3243
|
+
"time",
|
|
3244
|
+
"email",
|
|
3245
|
+
"tel",
|
|
3246
|
+
"hidden"
|
|
3247
|
+
];
|
|
3237
3248
|
function registerInput(loader) {
|
|
3238
3249
|
registerComponentHelper(loader, AntdInput, __spreadProps$9(__spreadValues$h({
|
|
3239
3250
|
name: inputComponentName,
|
|
@@ -3255,17 +3266,7 @@ function registerInput(loader) {
|
|
|
3255
3266
|
},
|
|
3256
3267
|
type: {
|
|
3257
3268
|
type: "choice",
|
|
3258
|
-
options:
|
|
3259
|
-
"text",
|
|
3260
|
-
"password",
|
|
3261
|
-
"number",
|
|
3262
|
-
"date",
|
|
3263
|
-
"datetime-local",
|
|
3264
|
-
"time",
|
|
3265
|
-
"email",
|
|
3266
|
-
"tel",
|
|
3267
|
-
"hidden"
|
|
3268
|
-
],
|
|
3269
|
+
options: inputTypeOptions,
|
|
3269
3270
|
defaultValueHint: "text"
|
|
3270
3271
|
}
|
|
3271
3272
|
}, COMMON_ADVANCED_PROPS), COMMON_DECORATOR_PROPS), COMMON_EVENT_HANDLERS),
|
|
@@ -3373,6 +3374,13 @@ function registerNumberInput(loader) {
|
|
|
3373
3374
|
type: "boolean",
|
|
3374
3375
|
displayName: "Show add/minus controls?",
|
|
3375
3376
|
advanced: true
|
|
3377
|
+
},
|
|
3378
|
+
type: {
|
|
3379
|
+
type: "choice",
|
|
3380
|
+
options: inputTypeOptions,
|
|
3381
|
+
displayName: "Input type",
|
|
3382
|
+
defaultValue: "number",
|
|
3383
|
+
advanced: true
|
|
3376
3384
|
}
|
|
3377
3385
|
}, COMMON_DECORATOR_PROPS), COMMON_ADVANCED_PROPS), COMMON_EVENT_HANDLERS), {
|
|
3378
3386
|
// onChange directly called with the number
|