@newview/ui 1.1.46 → 1.1.48
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 +7 -0
- package/dist/newview-ui.js +40 -25
- package/dist/newview-ui.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/types/ComForm.d.ts +10 -0
- package/types/LuckySheet.d.ts +7 -0
package/README.md
CHANGED
package/dist/newview-ui.js
CHANGED
|
@@ -31056,7 +31056,7 @@ const IconSelect_vue_vue_type_style_index_0_lang = "";
|
|
|
31056
31056
|
const _hoisted_1$g = { class: "icon-select" };
|
|
31057
31057
|
const _hoisted_2$d = { class: "icon-select-search" };
|
|
31058
31058
|
const _hoisted_3$a = { class: "icon-select-list" };
|
|
31059
|
-
const _hoisted_4$
|
|
31059
|
+
const _hoisted_4$8 = ["onClick", "title"];
|
|
31060
31060
|
function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
31061
31061
|
const _component_Icon = resolveComponent("Icon");
|
|
31062
31062
|
const _component_Input = resolveComponent("Input");
|
|
@@ -31096,7 +31096,7 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
31096
31096
|
createVNode(_component_Icon, {
|
|
31097
31097
|
type: item2.type
|
|
31098
31098
|
}, null, 8, ["type"])
|
|
31099
|
-
], 8, _hoisted_4$
|
|
31099
|
+
], 8, _hoisted_4$8);
|
|
31100
31100
|
}), 256))
|
|
31101
31101
|
])
|
|
31102
31102
|
], 4)
|
|
@@ -31279,10 +31279,15 @@ 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_e94223cc_lang = "";
|
|
31283
31283
|
const _hoisted_1$f = { class: "comForm" };
|
|
31284
31284
|
const _hoisted_2$c = { key: 1 };
|
|
31285
31285
|
const _hoisted_3$9 = ["onClick"];
|
|
31286
|
+
const _hoisted_4$7 = {
|
|
31287
|
+
key: 0,
|
|
31288
|
+
class: "ivu-input-group-append"
|
|
31289
|
+
};
|
|
31290
|
+
const _hoisted_5$6 = ["onClick"];
|
|
31286
31291
|
function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
31287
31292
|
const _component_com_form = resolveComponent("com-form", true);
|
|
31288
31293
|
const _component_Card = resolveComponent("Card");
|
|
@@ -31447,28 +31452,38 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
31447
31452
|
key: "1"
|
|
31448
31453
|
} : void 0
|
|
31449
31454
|
]), 1032, ["modelValue", "onUpdate:modelValue", "type", "size", "placeholder", "clearable", "border", "disabled", "readonly", "maxlength", "show-word-limit", "password", "icon", "prefix", "suffix", "search", "enter-button", "rows", "autosize", "number", "autofocus", "autocomplete", "element-id", "spellcheck", "wrap", "onOnEnter", "onOnClick", "onOnChange", "onOnFocus", "onOnBlur", "onOnKeyup", "onOnKeydown", "onOnKeypress", "onOnSearch", "onOnClear"])) : createCommentVNode("", true),
|
|
31450
|
-
item2.type == "InputNumber" ? (openBlock(),
|
|
31455
|
+
item2.type == "InputNumber" ? (openBlock(), createElementBlock("div", {
|
|
31451
31456
|
key: 4,
|
|
31452
|
-
|
|
31453
|
-
|
|
31454
|
-
|
|
31455
|
-
|
|
31456
|
-
|
|
31457
|
-
|
|
31458
|
-
|
|
31459
|
-
|
|
31460
|
-
|
|
31461
|
-
|
|
31462
|
-
|
|
31463
|
-
|
|
31464
|
-
|
|
31465
|
-
|
|
31466
|
-
|
|
31467
|
-
|
|
31468
|
-
|
|
31469
|
-
|
|
31470
|
-
|
|
31471
|
-
|
|
31457
|
+
class: normalizeClass(["ivu-input-group ivu-input-wrapper", { "ivu-input-group-with-append": _ctx.getAppend(item2.inputNumberProp) != "" }])
|
|
31458
|
+
}, [
|
|
31459
|
+
createVNode(_component_InputNumber, {
|
|
31460
|
+
modelValue: _ctx.formModel[item2.model],
|
|
31461
|
+
"onUpdate:modelValue": ($event) => _ctx.formModel[item2.model] = $event,
|
|
31462
|
+
max: _ctx.getPropValue(item2.inputNumberProp, "max"),
|
|
31463
|
+
min: _ctx.getPropValue(item2.inputNumberProp, "min"),
|
|
31464
|
+
"controls-outside": _ctx.getPropValue(item2.inputNumberProp, "controls-outside"),
|
|
31465
|
+
step: _ctx.getPropValue(item2.inputNumberProp, "step"),
|
|
31466
|
+
size: _ctx.getPropValue(item2.inputNumberProp, "size"),
|
|
31467
|
+
disabled: _ctx.getPropValue(item2.inputNumberProp, "disabled") || _ctx.onlyView,
|
|
31468
|
+
placeholder: _ctx.getPropValue(item2.inputNumberProp, "placeholder"),
|
|
31469
|
+
formatter: _ctx.getPropValue(item2.inputNumberProp, "formatter"),
|
|
31470
|
+
parser: _ctx.getPropValue(item2.inputNumberProp, "parser"),
|
|
31471
|
+
readonly: _ctx.getPropValue(item2.inputNumberProp, "readonly"),
|
|
31472
|
+
editable: _ctx.getPropValue(item2.inputNumberProp, "editable"),
|
|
31473
|
+
precision: _ctx.getPropValue(item2.inputNumberProp, "precision"),
|
|
31474
|
+
"element-id": _ctx.getPropValue(item2.inputNumberProp, "element-id"),
|
|
31475
|
+
"active-change": _ctx.getPropValue(item2.inputNumberProp, "active-change"),
|
|
31476
|
+
onOnChange: ($event) => _ctx.getPropEvent(item2.inputNumberProp, "onChange")($event, item2),
|
|
31477
|
+
onOnFocus: ($event) => _ctx.getPropEvent(item2.inputNumberProp, "onFocus")($event, item2),
|
|
31478
|
+
onOnBlur: ($event) => _ctx.getPropEvent(item2.inputNumberProp, "onBlur")($event, item2)
|
|
31479
|
+
}, 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", _hoisted_4$7, [
|
|
31481
|
+
createElementVNode("div", {
|
|
31482
|
+
onClick: ($event) => _ctx.getPropEvent(item2.inputNumberProp, "onTextClick")($event, item2),
|
|
31483
|
+
style: { "cursor": "pointer", "color": "rgb(45, 140, 240)" }
|
|
31484
|
+
}, toDisplayString(_ctx.getPropValue(item2.inputNumberProp, "append")), 9, _hoisted_5$6)
|
|
31485
|
+
])) : createCommentVNode("", true)
|
|
31486
|
+
], 2)) : createCommentVNode("", true),
|
|
31472
31487
|
item2.type == "Select" ? (openBlock(), createBlock(_component_Select, {
|
|
31473
31488
|
key: 5,
|
|
31474
31489
|
modelValue: _ctx.formModel[item2.model],
|
|
@@ -31808,7 +31823,7 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
31808
31823
|
], 2)
|
|
31809
31824
|
]);
|
|
31810
31825
|
}
|
|
31811
|
-
const ComForm = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["render", _sfc_render$l], ["__scopeId", "data-v-
|
|
31826
|
+
const ComForm = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["render", _sfc_render$l], ["__scopeId", "data-v-e94223cc"]]);
|
|
31812
31827
|
const style = "";
|
|
31813
31828
|
const propDefine$s = {
|
|
31814
31829
|
options: {
|