mali-ui-plus 1.0.124 → 1.0.125
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 +71 -17
- package/lib/mali-ui-plus.umd.js +71 -17
- package/lib/mali-ui-plus.umd.min.js +14 -14
- package/package.json +1 -1
- package/types/toast.d.ts +1 -0
|
@@ -40556,6 +40556,9 @@ const MlAmountText_exports_ = MlAmountTextvue_type_script_lang_ts_setup_true;
|
|
|
40556
40556
|
const MlAmountInputvue_type_script_lang_ts_setup_true_hoisted_1 = {
|
|
40557
40557
|
class: "ml-amount-tip"
|
|
40558
40558
|
};
|
|
40559
|
+
const MlAmountInputvue_type_script_lang_ts_setup_true_hoisted_2 = {
|
|
40560
|
+
key: 0
|
|
40561
|
+
};
|
|
40559
40562
|
|
|
40560
40563
|
|
|
40561
40564
|
|
|
@@ -40588,7 +40591,12 @@ const MlAmountInputvue_type_script_lang_ts_setup_true_hoisted_1 = {
|
|
|
40588
40591
|
type: String,
|
|
40589
40592
|
default: '请输入金额'
|
|
40590
40593
|
},
|
|
40594
|
+
simplify: Boolean,
|
|
40591
40595
|
negative: Boolean,
|
|
40596
|
+
unit: {
|
|
40597
|
+
type: Boolean,
|
|
40598
|
+
default: false
|
|
40599
|
+
},
|
|
40592
40600
|
clearable: {
|
|
40593
40601
|
type: Boolean,
|
|
40594
40602
|
default: false
|
|
@@ -40608,7 +40616,9 @@ const MlAmountInputvue_type_script_lang_ts_setup_true_hoisted_1 = {
|
|
|
40608
40616
|
controls: {
|
|
40609
40617
|
type: Boolean,
|
|
40610
40618
|
default: true
|
|
40611
|
-
}
|
|
40619
|
+
},
|
|
40620
|
+
suffixIcon: String,
|
|
40621
|
+
prefixIcon: String
|
|
40612
40622
|
},
|
|
40613
40623
|
emits: ["update:modelValue", "focus", "blur", "prev-number", "next-number", "change"],
|
|
40614
40624
|
setup(__props, {
|
|
@@ -40620,17 +40630,27 @@ const MlAmountInputvue_type_script_lang_ts_setup_true_hoisted_1 = {
|
|
|
40620
40630
|
const mlForm = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.inject)('mlForm', null);
|
|
40621
40631
|
const showTip = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)(false);
|
|
40622
40632
|
const inpVal = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)('');
|
|
40633
|
+
let isModelUpdate = false;
|
|
40623
40634
|
const isReadonly = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
40624
40635
|
if (props.readonly === null) {
|
|
40625
40636
|
return $xeform ? $xeform.props.readonly : false;
|
|
40626
40637
|
}
|
|
40627
40638
|
return props.readonly;
|
|
40628
40639
|
});
|
|
40640
|
+
const amountUnit = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
40641
|
+
if (props.simplify) {
|
|
40642
|
+
return '万';
|
|
40643
|
+
}
|
|
40644
|
+
return '元';
|
|
40645
|
+
});
|
|
40629
40646
|
const currAmountNum = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
40630
|
-
|
|
40647
|
+
if (props.modelValue === '') {
|
|
40648
|
+
return 0;
|
|
40649
|
+
}
|
|
40650
|
+
return xe_utils_default().floor(props.modelValue, Number(props.digits));
|
|
40631
40651
|
});
|
|
40632
40652
|
const currAmountLabel = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
40633
|
-
return
|
|
40653
|
+
return utils.toNumMoneyToChinese(currAmountNum.value);
|
|
40634
40654
|
});
|
|
40635
40655
|
const minNum = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
40636
40656
|
if (xe_utils_default().isNumber(props.min) || props.min) {
|
|
@@ -40647,6 +40667,13 @@ const MlAmountInputvue_type_script_lang_ts_setup_true_hoisted_1 = {
|
|
|
40647
40667
|
}
|
|
40648
40668
|
return 9999999999;
|
|
40649
40669
|
});
|
|
40670
|
+
const updateMode = () => {
|
|
40671
|
+
if (props.simplify) {
|
|
40672
|
+
inpVal.value = xe_utils_default().toFixed(xe_utils_default().floor(Number(props.modelValue) / 10000, Number(props.digits)), Number(props.digits));
|
|
40673
|
+
} else {
|
|
40674
|
+
inpVal.value = xe_utils_default().toFixed(xe_utils_default().floor(props.modelValue, Number(props.digits)), Number(props.digits));
|
|
40675
|
+
}
|
|
40676
|
+
};
|
|
40650
40677
|
const checkValue = () => {
|
|
40651
40678
|
if (minNum.value !== null && xe_utils_default().toNumber(props.modelValue) < minNum.value) {
|
|
40652
40679
|
emit('update:modelValue', minNum.value);
|
|
@@ -40699,12 +40726,18 @@ const MlAmountInputvue_type_script_lang_ts_setup_true_hoisted_1 = {
|
|
|
40699
40726
|
value = Number(xe_utils_default().toValueString(inpVal.value).replace(/[-¥$,\s\t]/, ''));
|
|
40700
40727
|
}
|
|
40701
40728
|
}
|
|
40729
|
+
if (props.simplify) {
|
|
40730
|
+
if (xe_utils_default().isNumber(value)) {
|
|
40731
|
+
value = value * 10000;
|
|
40732
|
+
}
|
|
40733
|
+
}
|
|
40702
40734
|
// 自动更新校验状态
|
|
40703
40735
|
if ($xeform && $xeformiteminfo) {
|
|
40704
40736
|
if (mlForm) {
|
|
40705
40737
|
mlForm.changeItemValue($xeformiteminfo.itemConfig.field);
|
|
40706
40738
|
}
|
|
40707
40739
|
}
|
|
40740
|
+
isModelUpdate = true;
|
|
40708
40741
|
emit('update:modelValue', value);
|
|
40709
40742
|
emit('change', {
|
|
40710
40743
|
value
|
|
@@ -40713,17 +40746,20 @@ const MlAmountInputvue_type_script_lang_ts_setup_true_hoisted_1 = {
|
|
|
40713
40746
|
const prevNumberEvent = params => {
|
|
40714
40747
|
emit('prev-number', params);
|
|
40715
40748
|
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)(() => {
|
|
40716
|
-
|
|
40749
|
+
updateMode();
|
|
40717
40750
|
});
|
|
40718
40751
|
};
|
|
40719
40752
|
const nextNumberEvent = params => {
|
|
40720
40753
|
emit('next-number', params);
|
|
40721
40754
|
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)(() => {
|
|
40722
|
-
|
|
40755
|
+
updateMode();
|
|
40723
40756
|
});
|
|
40724
40757
|
};
|
|
40725
|
-
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(() => props.modelValue,
|
|
40726
|
-
|
|
40758
|
+
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(() => props.modelValue, () => {
|
|
40759
|
+
if (!isModelUpdate) {
|
|
40760
|
+
updateMode();
|
|
40761
|
+
}
|
|
40762
|
+
isModelUpdate = false;
|
|
40727
40763
|
});
|
|
40728
40764
|
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(() => props.min, () => {
|
|
40729
40765
|
checkValue();
|
|
@@ -40738,6 +40774,7 @@ const MlAmountInputvue_type_script_lang_ts_setup_true_hoisted_1 = {
|
|
|
40738
40774
|
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.onBeforeUnmount)(() => {
|
|
40739
40775
|
showTip.value = false;
|
|
40740
40776
|
});
|
|
40777
|
+
updateMode();
|
|
40741
40778
|
return (_ctx, _cache) => {
|
|
40742
40779
|
const _component_MlAmountText = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.resolveComponent)("MlAmountText");
|
|
40743
40780
|
const _component_vxe_input = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.resolveComponent)("vxe-input");
|
|
@@ -40777,12 +40814,20 @@ const MlAmountInputvue_type_script_lang_ts_setup_true_hoisted_1 = {
|
|
|
40777
40814
|
onNextNumber: nextNumberEvent
|
|
40778
40815
|
}, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createSlots)({
|
|
40779
40816
|
_: 2
|
|
40780
|
-
}, [
|
|
40781
|
-
|
|
40782
|
-
|
|
40783
|
-
|
|
40784
|
-
}
|
|
40785
|
-
|
|
40817
|
+
}, [_ctx.$slots.prefixIcon || __props.prefixIcon ? {
|
|
40818
|
+
name: "prefix",
|
|
40819
|
+
fn: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.renderSlot)(_ctx.$slots, "prefixIcon", (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeProps)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.guardReactiveProps)({})), () => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("span", {
|
|
40820
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeClass)(['ml-amount-prefix-icon', __props.prefixIcon])
|
|
40821
|
+
}, null, 2)])]),
|
|
40822
|
+
key: "0"
|
|
40823
|
+
} : undefined, _ctx.$slots.suffixIcon || __props.suffixIcon || __props.unit ? {
|
|
40824
|
+
name: "suffix",
|
|
40825
|
+
fn: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.renderSlot)(_ctx.$slots, "suffixIcon", (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeProps)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.guardReactiveProps)({})), () => [__props.unit ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("span", MlAmountInputvue_type_script_lang_ts_setup_true_hoisted_2, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.toDisplayString)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(amountUnit)), 1)) : ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("span", {
|
|
40826
|
+
key: 1,
|
|
40827
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeClass)(['ml-amount-suffix-icon', __props.suffixIcon])
|
|
40828
|
+
}, null, 2))])]),
|
|
40829
|
+
key: "1"
|
|
40830
|
+
} : undefined]), 1032, ["class", "modelValue", "disabled", "placeholder", "digits", "min", "max", "clearable", "maxlength", "controls"])]),
|
|
40786
40831
|
_: 3
|
|
40787
40832
|
}, 8, ["visible", "placement"]));
|
|
40788
40833
|
};
|
|
@@ -73465,10 +73510,19 @@ const MaliToast = {
|
|
|
73465
73510
|
content: opts.content || '操作失败'
|
|
73466
73511
|
});
|
|
73467
73512
|
},
|
|
73468
|
-
|
|
73469
|
-
|
|
73470
|
-
|
|
73513
|
+
warning(option) {
|
|
73514
|
+
const opts = xe_utils_default().isString(option) ? {
|
|
73515
|
+
content: option
|
|
73516
|
+
} : {
|
|
73517
|
+
...option
|
|
73518
|
+
};
|
|
73519
|
+
return toast_modal.message({
|
|
73520
|
+
status: 'warning',
|
|
73521
|
+
content: opts.content || '操作失败'
|
|
73471
73522
|
});
|
|
73523
|
+
},
|
|
73524
|
+
hide() {
|
|
73525
|
+
return toast_modal.close();
|
|
73472
73526
|
}
|
|
73473
73527
|
};
|
|
73474
73528
|
/* harmony default export */ var toast = (MaliToast);
|
|
@@ -75534,7 +75588,7 @@ function index_config(options) {
|
|
|
75534
75588
|
return config_0;
|
|
75535
75589
|
}
|
|
75536
75590
|
const MaliUI = {
|
|
75537
|
-
version: "1.0.
|
|
75591
|
+
version: "1.0.124",
|
|
75538
75592
|
install: index_install,
|
|
75539
75593
|
config: index_config,
|
|
75540
75594
|
renderer: index_esm.renderer,
|
package/lib/mali-ui-plus.umd.js
CHANGED
|
@@ -40566,6 +40566,9 @@ const MlAmountText_exports_ = MlAmountTextvue_type_script_lang_ts_setup_true;
|
|
|
40566
40566
|
const MlAmountInputvue_type_script_lang_ts_setup_true_hoisted_1 = {
|
|
40567
40567
|
class: "ml-amount-tip"
|
|
40568
40568
|
};
|
|
40569
|
+
const MlAmountInputvue_type_script_lang_ts_setup_true_hoisted_2 = {
|
|
40570
|
+
key: 0
|
|
40571
|
+
};
|
|
40569
40572
|
|
|
40570
40573
|
|
|
40571
40574
|
|
|
@@ -40598,7 +40601,12 @@ const MlAmountInputvue_type_script_lang_ts_setup_true_hoisted_1 = {
|
|
|
40598
40601
|
type: String,
|
|
40599
40602
|
default: '请输入金额'
|
|
40600
40603
|
},
|
|
40604
|
+
simplify: Boolean,
|
|
40601
40605
|
negative: Boolean,
|
|
40606
|
+
unit: {
|
|
40607
|
+
type: Boolean,
|
|
40608
|
+
default: false
|
|
40609
|
+
},
|
|
40602
40610
|
clearable: {
|
|
40603
40611
|
type: Boolean,
|
|
40604
40612
|
default: false
|
|
@@ -40618,7 +40626,9 @@ const MlAmountInputvue_type_script_lang_ts_setup_true_hoisted_1 = {
|
|
|
40618
40626
|
controls: {
|
|
40619
40627
|
type: Boolean,
|
|
40620
40628
|
default: true
|
|
40621
|
-
}
|
|
40629
|
+
},
|
|
40630
|
+
suffixIcon: String,
|
|
40631
|
+
prefixIcon: String
|
|
40622
40632
|
},
|
|
40623
40633
|
emits: ["update:modelValue", "focus", "blur", "prev-number", "next-number", "change"],
|
|
40624
40634
|
setup(__props, {
|
|
@@ -40630,17 +40640,27 @@ const MlAmountInputvue_type_script_lang_ts_setup_true_hoisted_1 = {
|
|
|
40630
40640
|
const mlForm = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.inject)('mlForm', null);
|
|
40631
40641
|
const showTip = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)(false);
|
|
40632
40642
|
const inpVal = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)('');
|
|
40643
|
+
let isModelUpdate = false;
|
|
40633
40644
|
const isReadonly = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
40634
40645
|
if (props.readonly === null) {
|
|
40635
40646
|
return $xeform ? $xeform.props.readonly : false;
|
|
40636
40647
|
}
|
|
40637
40648
|
return props.readonly;
|
|
40638
40649
|
});
|
|
40650
|
+
const amountUnit = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
40651
|
+
if (props.simplify) {
|
|
40652
|
+
return '万';
|
|
40653
|
+
}
|
|
40654
|
+
return '元';
|
|
40655
|
+
});
|
|
40639
40656
|
const currAmountNum = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
40640
|
-
|
|
40657
|
+
if (props.modelValue === '') {
|
|
40658
|
+
return 0;
|
|
40659
|
+
}
|
|
40660
|
+
return xe_utils_default().floor(props.modelValue, Number(props.digits));
|
|
40641
40661
|
});
|
|
40642
40662
|
const currAmountLabel = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
40643
|
-
return
|
|
40663
|
+
return utils.toNumMoneyToChinese(currAmountNum.value);
|
|
40644
40664
|
});
|
|
40645
40665
|
const minNum = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
40646
40666
|
if (xe_utils_default().isNumber(props.min) || props.min) {
|
|
@@ -40657,6 +40677,13 @@ const MlAmountInputvue_type_script_lang_ts_setup_true_hoisted_1 = {
|
|
|
40657
40677
|
}
|
|
40658
40678
|
return 9999999999;
|
|
40659
40679
|
});
|
|
40680
|
+
const updateMode = () => {
|
|
40681
|
+
if (props.simplify) {
|
|
40682
|
+
inpVal.value = xe_utils_default().toFixed(xe_utils_default().floor(Number(props.modelValue) / 10000, Number(props.digits)), Number(props.digits));
|
|
40683
|
+
} else {
|
|
40684
|
+
inpVal.value = xe_utils_default().toFixed(xe_utils_default().floor(props.modelValue, Number(props.digits)), Number(props.digits));
|
|
40685
|
+
}
|
|
40686
|
+
};
|
|
40660
40687
|
const checkValue = () => {
|
|
40661
40688
|
if (minNum.value !== null && xe_utils_default().toNumber(props.modelValue) < minNum.value) {
|
|
40662
40689
|
emit('update:modelValue', minNum.value);
|
|
@@ -40709,12 +40736,18 @@ const MlAmountInputvue_type_script_lang_ts_setup_true_hoisted_1 = {
|
|
|
40709
40736
|
value = Number(xe_utils_default().toValueString(inpVal.value).replace(/[-¥$,\s\t]/, ''));
|
|
40710
40737
|
}
|
|
40711
40738
|
}
|
|
40739
|
+
if (props.simplify) {
|
|
40740
|
+
if (xe_utils_default().isNumber(value)) {
|
|
40741
|
+
value = value * 10000;
|
|
40742
|
+
}
|
|
40743
|
+
}
|
|
40712
40744
|
// 自动更新校验状态
|
|
40713
40745
|
if ($xeform && $xeformiteminfo) {
|
|
40714
40746
|
if (mlForm) {
|
|
40715
40747
|
mlForm.changeItemValue($xeformiteminfo.itemConfig.field);
|
|
40716
40748
|
}
|
|
40717
40749
|
}
|
|
40750
|
+
isModelUpdate = true;
|
|
40718
40751
|
emit('update:modelValue', value);
|
|
40719
40752
|
emit('change', {
|
|
40720
40753
|
value
|
|
@@ -40723,17 +40756,20 @@ const MlAmountInputvue_type_script_lang_ts_setup_true_hoisted_1 = {
|
|
|
40723
40756
|
const prevNumberEvent = params => {
|
|
40724
40757
|
emit('prev-number', params);
|
|
40725
40758
|
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)(() => {
|
|
40726
|
-
|
|
40759
|
+
updateMode();
|
|
40727
40760
|
});
|
|
40728
40761
|
};
|
|
40729
40762
|
const nextNumberEvent = params => {
|
|
40730
40763
|
emit('next-number', params);
|
|
40731
40764
|
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)(() => {
|
|
40732
|
-
|
|
40765
|
+
updateMode();
|
|
40733
40766
|
});
|
|
40734
40767
|
};
|
|
40735
|
-
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(() => props.modelValue,
|
|
40736
|
-
|
|
40768
|
+
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(() => props.modelValue, () => {
|
|
40769
|
+
if (!isModelUpdate) {
|
|
40770
|
+
updateMode();
|
|
40771
|
+
}
|
|
40772
|
+
isModelUpdate = false;
|
|
40737
40773
|
});
|
|
40738
40774
|
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(() => props.min, () => {
|
|
40739
40775
|
checkValue();
|
|
@@ -40748,6 +40784,7 @@ const MlAmountInputvue_type_script_lang_ts_setup_true_hoisted_1 = {
|
|
|
40748
40784
|
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.onBeforeUnmount)(() => {
|
|
40749
40785
|
showTip.value = false;
|
|
40750
40786
|
});
|
|
40787
|
+
updateMode();
|
|
40751
40788
|
return (_ctx, _cache) => {
|
|
40752
40789
|
const _component_MlAmountText = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.resolveComponent)("MlAmountText");
|
|
40753
40790
|
const _component_vxe_input = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.resolveComponent)("vxe-input");
|
|
@@ -40787,12 +40824,20 @@ const MlAmountInputvue_type_script_lang_ts_setup_true_hoisted_1 = {
|
|
|
40787
40824
|
onNextNumber: nextNumberEvent
|
|
40788
40825
|
}, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createSlots)({
|
|
40789
40826
|
_: 2
|
|
40790
|
-
}, [
|
|
40791
|
-
|
|
40792
|
-
|
|
40793
|
-
|
|
40794
|
-
}
|
|
40795
|
-
|
|
40827
|
+
}, [_ctx.$slots.prefixIcon || __props.prefixIcon ? {
|
|
40828
|
+
name: "prefix",
|
|
40829
|
+
fn: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.renderSlot)(_ctx.$slots, "prefixIcon", (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeProps)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.guardReactiveProps)({})), () => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("span", {
|
|
40830
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeClass)(['ml-amount-prefix-icon', __props.prefixIcon])
|
|
40831
|
+
}, null, 2)])]),
|
|
40832
|
+
key: "0"
|
|
40833
|
+
} : undefined, _ctx.$slots.suffixIcon || __props.suffixIcon || __props.unit ? {
|
|
40834
|
+
name: "suffix",
|
|
40835
|
+
fn: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.renderSlot)(_ctx.$slots, "suffixIcon", (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeProps)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.guardReactiveProps)({})), () => [__props.unit ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("span", MlAmountInputvue_type_script_lang_ts_setup_true_hoisted_2, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.toDisplayString)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(amountUnit)), 1)) : ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("span", {
|
|
40836
|
+
key: 1,
|
|
40837
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeClass)(['ml-amount-suffix-icon', __props.suffixIcon])
|
|
40838
|
+
}, null, 2))])]),
|
|
40839
|
+
key: "1"
|
|
40840
|
+
} : undefined]), 1032, ["class", "modelValue", "disabled", "placeholder", "digits", "min", "max", "clearable", "maxlength", "controls"])]),
|
|
40796
40841
|
_: 3
|
|
40797
40842
|
}, 8, ["visible", "placement"]));
|
|
40798
40843
|
};
|
|
@@ -73475,10 +73520,19 @@ const MaliToast = {
|
|
|
73475
73520
|
content: opts.content || '操作失败'
|
|
73476
73521
|
});
|
|
73477
73522
|
},
|
|
73478
|
-
|
|
73479
|
-
|
|
73480
|
-
|
|
73523
|
+
warning(option) {
|
|
73524
|
+
const opts = xe_utils_default().isString(option) ? {
|
|
73525
|
+
content: option
|
|
73526
|
+
} : {
|
|
73527
|
+
...option
|
|
73528
|
+
};
|
|
73529
|
+
return toast_modal.message({
|
|
73530
|
+
status: 'warning',
|
|
73531
|
+
content: opts.content || '操作失败'
|
|
73481
73532
|
});
|
|
73533
|
+
},
|
|
73534
|
+
hide() {
|
|
73535
|
+
return toast_modal.close();
|
|
73482
73536
|
}
|
|
73483
73537
|
};
|
|
73484
73538
|
/* harmony default export */ var toast = (MaliToast);
|
|
@@ -75544,7 +75598,7 @@ function index_config(options) {
|
|
|
75544
75598
|
return config_0;
|
|
75545
75599
|
}
|
|
75546
75600
|
const MaliUI = {
|
|
75547
|
-
version: "1.0.
|
|
75601
|
+
version: "1.0.124",
|
|
75548
75602
|
install: index_install,
|
|
75549
75603
|
config: index_config,
|
|
75550
75604
|
renderer: index_esm.renderer,
|