ocpview-pro 0.1.9 → 0.1.11
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.
|
@@ -453,7 +453,7 @@ common.initEview = function(ViewUI2) {
|
|
|
453
453
|
common.initAnchor(ViewUI2.Anchor);
|
|
454
454
|
};
|
|
455
455
|
const name = "ocpview-pro";
|
|
456
|
-
const version$2 = "0.1.
|
|
456
|
+
const version$2 = "0.1.10";
|
|
457
457
|
const title = "ocpviewPlus";
|
|
458
458
|
const description = "A high quality Service UI components Library with Vue.js";
|
|
459
459
|
const homepage = "";
|
|
@@ -10706,6 +10706,7 @@ function _sfc_render$1x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10706
10706
|
]), 1032, ["bordered", "dis-hover", "headClass", "extraClass"]);
|
|
10707
10707
|
}
|
|
10708
10708
|
var EditGridCard = /* @__PURE__ */ _export_sfc$1(_sfc_main$1K, [["render", _sfc_render$1x]]);
|
|
10709
|
+
var textbox_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
10709
10710
|
const _sfc_main$1J = {
|
|
10710
10711
|
name: "textbox",
|
|
10711
10712
|
extends: _sfc_main$1T,
|
|
@@ -10722,12 +10723,25 @@ const _sfc_main$1J = {
|
|
|
10722
10723
|
search: false,
|
|
10723
10724
|
allowInput: true,
|
|
10724
10725
|
showAppend: false,
|
|
10725
|
-
notSpecial: false
|
|
10726
|
+
notSpecial: false,
|
|
10727
|
+
maskToggle: false
|
|
10726
10728
|
},
|
|
10727
|
-
passwordFlag: false
|
|
10729
|
+
passwordFlag: false,
|
|
10730
|
+
maskVisible: false
|
|
10728
10731
|
};
|
|
10729
10732
|
},
|
|
10733
|
+
computed: {
|
|
10734
|
+
isMaskMode() {
|
|
10735
|
+
return this.myConfig.vtype === "mask";
|
|
10736
|
+
},
|
|
10737
|
+
inputType() {
|
|
10738
|
+
return this.isMaskMode ? "text" : this.myConfig.vtype;
|
|
10739
|
+
}
|
|
10740
|
+
},
|
|
10730
10741
|
methods: {
|
|
10742
|
+
toggleMask() {
|
|
10743
|
+
this.maskVisible = !this.maskVisible;
|
|
10744
|
+
},
|
|
10731
10745
|
keyUp(e11) {
|
|
10732
10746
|
if (this.myConfig.notSpecial) {
|
|
10733
10747
|
e11.target.value = e11.target.value.replace(/[`~!@$%^&*()_\-+=<>?:"{}|,\/;'\\[\]·~!@¥%……&*()——\-+={}|《》?:“”【】、;‘’,。、]/g, "");
|
|
@@ -10775,15 +10789,18 @@ const _sfc_main$1J = {
|
|
|
10775
10789
|
}
|
|
10776
10790
|
};
|
|
10777
10791
|
function _sfc_render$1w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10792
|
+
const _component_Icon = resolveComponent("Icon");
|
|
10778
10793
|
const _component_Button = resolveComponent("Button");
|
|
10779
10794
|
const _component_Input = resolveComponent("Input");
|
|
10780
|
-
return withDirectives((openBlock(), createElementBlock("div",
|
|
10795
|
+
return withDirectives((openBlock(), createElementBlock("div", {
|
|
10796
|
+
class: normalizeClass(["textbox-wrapper", { "textbox-mask": $options.isMaskMode, "textbox-mask-visible": $options.isMaskMode && $data.maskVisible }])
|
|
10797
|
+
}, [
|
|
10781
10798
|
createVNode(_component_Input, {
|
|
10782
10799
|
ref: "myControl",
|
|
10783
10800
|
modelValue: _ctx.value,
|
|
10784
10801
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.value = $event),
|
|
10785
10802
|
size: $data.myConfig.size,
|
|
10786
|
-
type: $
|
|
10803
|
+
type: $options.inputType,
|
|
10787
10804
|
password: $data.passwordFlag,
|
|
10788
10805
|
rows: $data.myConfig.rows,
|
|
10789
10806
|
placeholder: $data.myConfig.placeholder,
|
|
@@ -10797,6 +10814,17 @@ function _sfc_render$1w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10797
10814
|
search: $data.myConfig.search,
|
|
10798
10815
|
onOnSearch: $options.search
|
|
10799
10816
|
}, createSlots({ _: 2 }, [
|
|
10817
|
+
$options.isMaskMode && $data.myConfig.maskToggle ? {
|
|
10818
|
+
name: "suffix",
|
|
10819
|
+
fn: withCtx(() => [
|
|
10820
|
+
createVNode(_component_Icon, {
|
|
10821
|
+
type: $data.maskVisible ? "md-eye-off" : "md-eye",
|
|
10822
|
+
onClick: withModifiers($options.toggleMask, ["stop"]),
|
|
10823
|
+
style: { "cursor": "pointer", "font-size": "16px" }
|
|
10824
|
+
}, null, 8, ["type", "onClick"])
|
|
10825
|
+
]),
|
|
10826
|
+
key: "0"
|
|
10827
|
+
} : void 0,
|
|
10800
10828
|
$data.myConfig.showAppend ? {
|
|
10801
10829
|
name: "append",
|
|
10802
10830
|
fn: withCtx(() => [
|
|
@@ -10812,14 +10840,14 @@ function _sfc_render$1w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10812
10840
|
_: 1
|
|
10813
10841
|
}, 8, ["size", "disabled", "onClick"])
|
|
10814
10842
|
]),
|
|
10815
|
-
key: "
|
|
10843
|
+
key: "1"
|
|
10816
10844
|
} : void 0
|
|
10817
10845
|
]), 1032, ["modelValue", "size", "type", "password", "rows", "placeholder", "maxlength", "disabled", "clearable", "readonly", "onKeydown", "onKeyup", "onOnBlur", "search", "onOnSearch"])
|
|
10818
|
-
],
|
|
10846
|
+
], 2)), [
|
|
10819
10847
|
[vShow, $data.myConfig.visible]
|
|
10820
10848
|
]);
|
|
10821
10849
|
}
|
|
10822
|
-
var TextBox = /* @__PURE__ */ _export_sfc$1(_sfc_main$1J, [["render", _sfc_render$1w]]);
|
|
10850
|
+
var TextBox = /* @__PURE__ */ _export_sfc$1(_sfc_main$1J, [["render", _sfc_render$1w], ["__scopeId", "data-v-780352bb"]]);
|
|
10823
10851
|
const _sfc_main$1I = {
|
|
10824
10852
|
name: "uploadbox",
|
|
10825
10853
|
data() {
|
|
@@ -34333,7 +34361,7 @@ function _sfc_render$12(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
34333
34361
|
} : void 0
|
|
34334
34362
|
]), 1040);
|
|
34335
34363
|
}
|
|
34336
|
-
var ShowText = /* @__PURE__ */ _export_sfc$1(_sfc_main$19, [["render", _sfc_render$12], ["__scopeId", "data-v-
|
|
34364
|
+
var ShowText = /* @__PURE__ */ _export_sfc$1(_sfc_main$19, [["render", _sfc_render$12], ["__scopeId", "data-v-b5b8c228"]]);
|
|
34337
34365
|
var billimport_vue_vue_type_style_index_0_lang = "";
|
|
34338
34366
|
const _sfc_main$18 = {
|
|
34339
34367
|
name: "billimport",
|