mali-ui-plus 1.0.98 → 1.0.100
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/lib/mali-ui-plus.common.js +42 -8
- package/lib/mali-ui-plus.css +1 -1
- package/lib/mali-ui-plus.umd.js +42 -8
- package/lib/mali-ui-plus.umd.min.js +14 -14
- package/package.json +1 -1
- package/style/all.scss +1 -0
- package/style/modules/password-input.scss +10 -0
|
@@ -40796,6 +40796,16 @@ const MlPasswordInputvue_type_script_lang_ts_setup_true_hoisted_1 = {
|
|
|
40796
40796
|
key: 0,
|
|
40797
40797
|
class: "ml-password-input is-readonly"
|
|
40798
40798
|
};
|
|
40799
|
+
const MlPasswordInputvue_type_script_lang_ts_setup_true_hoisted_2 = {
|
|
40800
|
+
key: 1,
|
|
40801
|
+
class: "ml-password-input"
|
|
40802
|
+
};
|
|
40803
|
+
const MlPasswordInputvue_type_script_lang_ts_setup_true_hoisted_3 = {
|
|
40804
|
+
key: 0,
|
|
40805
|
+
type: "text",
|
|
40806
|
+
name: "name",
|
|
40807
|
+
class: "ml-password-input-name"
|
|
40808
|
+
};
|
|
40799
40809
|
|
|
40800
40810
|
|
|
40801
40811
|
|
|
@@ -40814,7 +40824,11 @@ const MlPasswordInputvue_type_script_lang_ts_setup_true_hoisted_1 = {
|
|
|
40814
40824
|
type: String,
|
|
40815
40825
|
default: 'mlicon-lock'
|
|
40816
40826
|
},
|
|
40817
|
-
name:
|
|
40827
|
+
name: {
|
|
40828
|
+
type: String,
|
|
40829
|
+
default: 'password'
|
|
40830
|
+
},
|
|
40831
|
+
newPassword: Boolean,
|
|
40818
40832
|
maxLength: {
|
|
40819
40833
|
type: [Number, String],
|
|
40820
40834
|
default: 50
|
|
@@ -40835,6 +40849,7 @@ const MlPasswordInputvue_type_script_lang_ts_setup_true_hoisted_1 = {
|
|
|
40835
40849
|
type: Boolean,
|
|
40836
40850
|
default: false
|
|
40837
40851
|
},
|
|
40852
|
+
type: String,
|
|
40838
40853
|
prefixIcon: String,
|
|
40839
40854
|
suffixIcon: String,
|
|
40840
40855
|
autocomplete: String
|
|
@@ -40874,12 +40889,10 @@ const MlPasswordInputvue_type_script_lang_ts_setup_true_hoisted_1 = {
|
|
|
40874
40889
|
});
|
|
40875
40890
|
return (_ctx, _cache) => {
|
|
40876
40891
|
const _component_vxe_input = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.resolveComponent)("vxe-input");
|
|
40877
|
-
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(isReadonly) ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("span", MlPasswordInputvue_type_script_lang_ts_setup_true_hoisted_1, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.toDisplayString)(inpVal.value), 1)) : ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.
|
|
40878
|
-
key: 1,
|
|
40879
|
-
class: "ml-password-input",
|
|
40880
|
-
type: "password",
|
|
40892
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(isReadonly) ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("span", MlPasswordInputvue_type_script_lang_ts_setup_true_hoisted_1, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.toDisplayString)(inpVal.value), 1)) : ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("div", MlPasswordInputvue_type_script_lang_ts_setup_true_hoisted_2, [__props.autocomplete === 'new-password' ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("input", MlPasswordInputvue_type_script_lang_ts_setup_true_hoisted_3)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createVNode)(_component_vxe_input, {
|
|
40881
40893
|
modelValue: inpVal.value,
|
|
40882
40894
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => inpVal.value = $event),
|
|
40895
|
+
type: "password",
|
|
40883
40896
|
size: __props.size,
|
|
40884
40897
|
name: __props.name,
|
|
40885
40898
|
maxLength: __props.maxLength,
|
|
@@ -40889,7 +40902,10 @@ const MlPasswordInputvue_type_script_lang_ts_setup_true_hoisted_1 = {
|
|
|
40889
40902
|
autocomplete: __props.autocomplete,
|
|
40890
40903
|
prefixIcon: __props.prefixIcon,
|
|
40891
40904
|
suffixIcon: __props.suffixIcon,
|
|
40892
|
-
onChange: changeEvent
|
|
40905
|
+
onChange: changeEvent,
|
|
40906
|
+
style: {
|
|
40907
|
+
"width": "100%"
|
|
40908
|
+
}
|
|
40893
40909
|
}, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createSlots)({
|
|
40894
40910
|
_: 2
|
|
40895
40911
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.renderList)(_ctx.$slots, (handle, name) => {
|
|
@@ -40897,7 +40913,7 @@ const MlPasswordInputvue_type_script_lang_ts_setup_true_hoisted_1 = {
|
|
|
40897
40913
|
name: name,
|
|
40898
40914
|
fn: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.withCtx)(params => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.renderSlot)(_ctx.$slots, name, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeProps)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.guardReactiveProps)(params)))])
|
|
40899
40915
|
};
|
|
40900
|
-
})]), 1032, ["modelValue", "size", "name", "maxLength", "placeholder", "clearable", "disabled", "autocomplete", "prefixIcon", "suffixIcon"]));
|
|
40916
|
+
})]), 1032, ["modelValue", "size", "name", "maxLength", "placeholder", "clearable", "disabled", "autocomplete", "prefixIcon", "suffixIcon"])]));
|
|
40901
40917
|
};
|
|
40902
40918
|
}
|
|
40903
40919
|
}));
|
|
@@ -63114,6 +63130,24 @@ VXETable.renderer.mixin({
|
|
|
63114
63130
|
"modelValue": cellValue
|
|
63115
63131
|
}, props), null);
|
|
63116
63132
|
}
|
|
63133
|
+
},
|
|
63134
|
+
/**
|
|
63135
|
+
* 编辑-多行文本
|
|
63136
|
+
*/
|
|
63137
|
+
MlTextarea: {
|
|
63138
|
+
renderDefault(renderOpts, params) {
|
|
63139
|
+
const {
|
|
63140
|
+
row,
|
|
63141
|
+
column
|
|
63142
|
+
} = params;
|
|
63143
|
+
const {
|
|
63144
|
+
props
|
|
63145
|
+
} = renderOpts;
|
|
63146
|
+
const cellValue = row[column.field];
|
|
63147
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createVNode)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.resolveComponent)("ml-textarea"), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.mergeProps)({
|
|
63148
|
+
"modelValue": cellValue
|
|
63149
|
+
}, props), null);
|
|
63150
|
+
}
|
|
63117
63151
|
}
|
|
63118
63152
|
});
|
|
63119
63153
|
;// CONCATENATED MODULE: ./table/renderer/edit.tsx
|
|
@@ -64816,7 +64850,7 @@ function index_config(options) {
|
|
|
64816
64850
|
return config_0;
|
|
64817
64851
|
}
|
|
64818
64852
|
const MaliUI = {
|
|
64819
|
-
version: "1.0.
|
|
64853
|
+
version: "1.0.99",
|
|
64820
64854
|
install: index_install,
|
|
64821
64855
|
config: index_config,
|
|
64822
64856
|
renderer: index_esm.renderer,
|