@newview/ui 1.1.49 → 1.1.50
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/README.md +3 -0
- package/dist/newview-ui.js +16 -10
- package/dist/newview-ui.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/types/ComForm.d.ts +5 -1
package/README.md
CHANGED
package/dist/newview-ui.js
CHANGED
|
@@ -31279,15 +31279,16 @@ let ComFormInstance$1 = class ComFormInstance2 extends BaseInstance {
|
|
|
31279
31279
|
}
|
|
31280
31280
|
//#endregion 公开Api End
|
|
31281
31281
|
};
|
|
31282
|
-
const
|
|
31282
|
+
const ComForm_vue_vue_type_style_index_0_scoped_7a3ac4d8_lang = "";
|
|
31283
31283
|
const _hoisted_1$f = { class: "comForm" };
|
|
31284
|
-
const _hoisted_2$c =
|
|
31285
|
-
const _hoisted_3$9 =
|
|
31286
|
-
const _hoisted_4$7 =
|
|
31284
|
+
const _hoisted_2$c = ["onClick"];
|
|
31285
|
+
const _hoisted_3$9 = { key: 1 };
|
|
31286
|
+
const _hoisted_4$7 = ["onClick"];
|
|
31287
|
+
const _hoisted_5$6 = {
|
|
31287
31288
|
key: 0,
|
|
31288
31289
|
class: "ivu-input-group-append"
|
|
31289
31290
|
};
|
|
31290
|
-
const
|
|
31291
|
+
const _hoisted_6$3 = ["onClick"];
|
|
31291
31292
|
function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
31292
31293
|
const _component_com_form = resolveComponent("com-form", true);
|
|
31293
31294
|
const _component_Card = resolveComponent("Card");
|
|
@@ -31361,6 +31362,11 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
31361
31362
|
error: item2.error,
|
|
31362
31363
|
"show-message": item2["show-message"]
|
|
31363
31364
|
}, {
|
|
31365
|
+
label: withCtx(() => [
|
|
31366
|
+
createElementVNode("span", {
|
|
31367
|
+
onClick: ($event) => _ctx.getPropEvent(item2, "onLabelClick")($event, item2)
|
|
31368
|
+
}, toDisplayString(item2.label), 9, _hoisted_2$c)
|
|
31369
|
+
]),
|
|
31364
31370
|
default: withCtx(() => [
|
|
31365
31371
|
item2.type == "Switch" ? (openBlock(), createBlock(_component_Switch, {
|
|
31366
31372
|
key: 0,
|
|
@@ -31376,7 +31382,7 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
31376
31382
|
loading: _ctx.getPropValue(item2.switchProp, "loading"),
|
|
31377
31383
|
onOnChange: ($event) => _ctx.getPropEvent(item2.switchProp, "onChange")($event, item2)
|
|
31378
31384
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "size", "disabled", "true-value", "false-value", "true-color", "false-color", "before-change", "loading", "onOnChange"])) : createCommentVNode("", true),
|
|
31379
|
-
item2.type == "Label" ? (openBlock(), createElementBlock("span",
|
|
31385
|
+
item2.type == "Label" ? (openBlock(), createElementBlock("span", _hoisted_3$9, toDisplayString(_ctx.formModel[item2.model]), 1)) : createCommentVNode("", true),
|
|
31380
31386
|
item2.type == "Button" ? (openBlock(), createBlock(_component_Button, {
|
|
31381
31387
|
key: 2,
|
|
31382
31388
|
type: _ctx.getPropValue(item2.buttonProp, "type"),
|
|
@@ -31447,7 +31453,7 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
31447
31453
|
createElementVNode("div", {
|
|
31448
31454
|
onClick: ($event) => _ctx.getPropEvent(item2.inputProp, "onTextClick")($event, item2),
|
|
31449
31455
|
style: { "cursor": "pointer", "color": "rgb(45, 140, 240)" }
|
|
31450
|
-
}, toDisplayString(_ctx.getPropValue(item2.inputProp, "append")), 9,
|
|
31456
|
+
}, toDisplayString(_ctx.getPropValue(item2.inputProp, "append")), 9, _hoisted_4$7)
|
|
31451
31457
|
]),
|
|
31452
31458
|
key: "1"
|
|
31453
31459
|
} : void 0
|
|
@@ -31477,11 +31483,11 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
31477
31483
|
onOnFocus: ($event) => _ctx.getPropEvent(item2.inputNumberProp, "onFocus")($event, item2),
|
|
31478
31484
|
onOnBlur: ($event) => _ctx.getPropEvent(item2.inputNumberProp, "onBlur")($event, item2)
|
|
31479
31485
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "max", "min", "controls-outside", "step", "size", "disabled", "placeholder", "formatter", "parser", "readonly", "editable", "precision", "element-id", "active-change", "onOnChange", "onOnFocus", "onOnBlur"]),
|
|
31480
|
-
_ctx.getAppend(item2.inputNumberProp) != "" ? (openBlock(), createElementBlock("div",
|
|
31486
|
+
_ctx.getAppend(item2.inputNumberProp) != "" ? (openBlock(), createElementBlock("div", _hoisted_5$6, [
|
|
31481
31487
|
createElementVNode("div", {
|
|
31482
31488
|
onClick: ($event) => _ctx.getPropEvent(item2.inputNumberProp, "onTextClick")($event, item2),
|
|
31483
31489
|
style: { "cursor": "pointer", "color": "rgb(45, 140, 240)" }
|
|
31484
|
-
}, toDisplayString(_ctx.getPropValue(item2.inputNumberProp, "append")), 9,
|
|
31490
|
+
}, toDisplayString(_ctx.getPropValue(item2.inputNumberProp, "append")), 9, _hoisted_6$3)
|
|
31485
31491
|
])) : createCommentVNode("", true)
|
|
31486
31492
|
], 2)) : createCommentVNode("", true),
|
|
31487
31493
|
item2.type == "Select" ? (openBlock(), createBlock(_component_Select, {
|
|
@@ -31823,7 +31829,7 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
31823
31829
|
], 2)
|
|
31824
31830
|
]);
|
|
31825
31831
|
}
|
|
31826
|
-
const ComForm = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["render", _sfc_render$l], ["__scopeId", "data-v-
|
|
31832
|
+
const ComForm = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["render", _sfc_render$l], ["__scopeId", "data-v-7a3ac4d8"]]);
|
|
31827
31833
|
const style = "";
|
|
31828
31834
|
const propDefine$s = {
|
|
31829
31835
|
options: {
|