mali-ui-plus 1.0.134 → 1.0.136
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 +9 -8
- package/lib/mali-ui-plus.css +1 -1
- package/lib/mali-ui-plus.umd.js +9 -8
- package/lib/mali-ui-plus.umd.min.js +2 -2
- package/package.json +1 -1
- package/style/modules/switch.scss +3 -0
- package/style/modules/text-ellipsis.scss +45 -0
- package/style/modules/text.scss +4 -1
|
@@ -71145,16 +71145,11 @@ const MlTooltip_exports_ = MlTooltipvue_type_script_lang_ts_setup_true;
|
|
|
71145
71145
|
|
|
71146
71146
|
|
|
71147
71147
|
|
|
71148
|
-
|
|
71149
71148
|
/* harmony default export */ var MlSwitchvue_type_script_lang_ts_setup_true = (/*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.defineComponent)({
|
|
71150
71149
|
__name: 'MlSwitch',
|
|
71151
71150
|
props: {
|
|
71152
71151
|
value: [String, Number, Boolean],
|
|
71153
71152
|
disabled: Boolean,
|
|
71154
|
-
size: {
|
|
71155
|
-
type: String,
|
|
71156
|
-
default: () => config_0.size
|
|
71157
|
-
},
|
|
71158
71153
|
readonly: {
|
|
71159
71154
|
type: Boolean,
|
|
71160
71155
|
default: null
|
|
@@ -71206,6 +71201,7 @@ const MlTooltip_exports_ = MlTooltipvue_type_script_lang_ts_setup_true;
|
|
|
71206
71201
|
return (_ctx, _cache) => {
|
|
71207
71202
|
const _component_vxe_switch = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.resolveComponent)("vxe-switch");
|
|
71208
71203
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createBlock)(_component_vxe_switch, {
|
|
71204
|
+
class: "ml-switch",
|
|
71209
71205
|
value: __props.value,
|
|
71210
71206
|
disabled: __props.disabled || (0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(isReadonly),
|
|
71211
71207
|
"open-label": __props.openLabel,
|
|
@@ -72293,10 +72289,12 @@ const MlTextEllipsisvue_type_script_lang_ts_setup_true_hoisted_1 = {
|
|
|
72293
72289
|
/* harmony default export */ var MlTextEllipsisvue_type_script_lang_ts_setup_true = (/*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.defineComponent)({
|
|
72294
72290
|
__name: 'MlTextEllipsis',
|
|
72295
72291
|
props: {
|
|
72292
|
+
status: String,
|
|
72296
72293
|
content: {
|
|
72297
72294
|
type: String,
|
|
72298
72295
|
default: ''
|
|
72299
72296
|
},
|
|
72297
|
+
underline: Boolean,
|
|
72300
72298
|
lineClamp: {
|
|
72301
72299
|
type: Number,
|
|
72302
72300
|
default: 1
|
|
@@ -72304,7 +72302,8 @@ const MlTextEllipsisvue_type_script_lang_ts_setup_true_hoisted_1 = {
|
|
|
72304
72302
|
offsetSize: {
|
|
72305
72303
|
type: Number,
|
|
72306
72304
|
default: 0
|
|
72307
|
-
}
|
|
72305
|
+
},
|
|
72306
|
+
className: String
|
|
72308
72307
|
},
|
|
72309
72308
|
emits: ["click"],
|
|
72310
72309
|
setup(__props, {
|
|
@@ -72400,7 +72399,9 @@ const MlTextEllipsisvue_type_script_lang_ts_setup_true_hoisted_1 = {
|
|
|
72400
72399
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("div", {
|
|
72401
72400
|
ref_key: "contRef",
|
|
72402
72401
|
ref: contRef,
|
|
72403
|
-
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeClass)(["ml-text-ellipsis", [__props.lineClamp > 1 ? 'multi-line' : 'single-line'
|
|
72402
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeClass)(["ml-text-ellipsis", [__props.lineClamp > 1 ? 'multi-line' : 'single-line', __props.className || '', __props.status ? `ss-${__props.status}` : '', {
|
|
72403
|
+
'is-underline': __props.underline
|
|
72404
|
+
}]]),
|
|
72404
72405
|
onClick: clickEvent
|
|
72405
72406
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("span", {
|
|
72406
72407
|
ref_key: "simsRef",
|
|
@@ -75783,7 +75784,7 @@ function index_config(options) {
|
|
|
75783
75784
|
return config_0;
|
|
75784
75785
|
}
|
|
75785
75786
|
const MaliUI = {
|
|
75786
|
-
version: "1.0.
|
|
75787
|
+
version: "1.0.135",
|
|
75787
75788
|
install: index_install,
|
|
75788
75789
|
config: index_config,
|
|
75789
75790
|
renderer: index_esm.renderer,
|