mali-ui-plus 0.1.5 → 0.1.7
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 +388 -5
- package/lib/mali-ui-plus.css +1 -1
- package/lib/mali-ui-plus.umd.js +388 -5
- package/lib/mali-ui-plus.umd.min.js +2 -2
- package/package.json +1 -1
- package/types/index.d.ts +13 -4
|
@@ -38637,6 +38637,137 @@ const MlInputvue_type_script_lang_ts_setup_true_hoisted_1 = {
|
|
|
38637
38637
|
const MlInput_exports_ = MlInputvue_type_script_lang_ts_setup_true;
|
|
38638
38638
|
|
|
38639
38639
|
/* harmony default export */ var MlInput = (MlInput_exports_);
|
|
38640
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/ml-textarea/MlTextarea.vue?vue&type=script&lang=ts&setup=true
|
|
38641
|
+
|
|
38642
|
+
|
|
38643
|
+
const MlTextareavue_type_script_lang_ts_setup_true_hoisted_1 = {
|
|
38644
|
+
key: 0,
|
|
38645
|
+
class: "ml-textarea is-readonly"
|
|
38646
|
+
};
|
|
38647
|
+
|
|
38648
|
+
|
|
38649
|
+
|
|
38650
|
+
/* harmony default export */ var MlTextareavue_type_script_lang_ts_setup_true = (/*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.defineComponent)({
|
|
38651
|
+
__name: 'MlTextarea',
|
|
38652
|
+
props: {
|
|
38653
|
+
modelValue: {
|
|
38654
|
+
type: String,
|
|
38655
|
+
default: ''
|
|
38656
|
+
},
|
|
38657
|
+
rows: {
|
|
38658
|
+
type: Number,
|
|
38659
|
+
default: 2
|
|
38660
|
+
},
|
|
38661
|
+
maxLength: {
|
|
38662
|
+
type: Number,
|
|
38663
|
+
default: 300
|
|
38664
|
+
},
|
|
38665
|
+
placeholder: {
|
|
38666
|
+
type: String,
|
|
38667
|
+
default: '请输入'
|
|
38668
|
+
},
|
|
38669
|
+
resize: {
|
|
38670
|
+
type: String,
|
|
38671
|
+
default: 'none'
|
|
38672
|
+
},
|
|
38673
|
+
showWordCount: {
|
|
38674
|
+
type: Boolean,
|
|
38675
|
+
default: true
|
|
38676
|
+
},
|
|
38677
|
+
size: {
|
|
38678
|
+
type: String,
|
|
38679
|
+
default: () => config_0.size
|
|
38680
|
+
},
|
|
38681
|
+
readonly: {
|
|
38682
|
+
type: Boolean,
|
|
38683
|
+
default: null
|
|
38684
|
+
},
|
|
38685
|
+
disabled: {
|
|
38686
|
+
type: Boolean,
|
|
38687
|
+
default: false
|
|
38688
|
+
}
|
|
38689
|
+
},
|
|
38690
|
+
emits: ["update:modelValue", "focus", "blur", "change"],
|
|
38691
|
+
setup(__props, {
|
|
38692
|
+
emit
|
|
38693
|
+
}) {
|
|
38694
|
+
const props = __props;
|
|
38695
|
+
const $xeform = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.inject)('$xeform', null);
|
|
38696
|
+
const $xeformiteminfo = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.inject)('$xeformiteminfo', null);
|
|
38697
|
+
const mlForm = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.inject)('mlForm', null);
|
|
38698
|
+
const inpVal = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)('');
|
|
38699
|
+
const isReadonly = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
38700
|
+
if (props.readonly === null) {
|
|
38701
|
+
return $xeform ? $xeform.props.readonly : false;
|
|
38702
|
+
}
|
|
38703
|
+
return props.readonly;
|
|
38704
|
+
});
|
|
38705
|
+
const inputEvent = () => {
|
|
38706
|
+
const value = inpVal.value || '';
|
|
38707
|
+
// 自动更新校验状态
|
|
38708
|
+
if ($xeform && $xeformiteminfo) {
|
|
38709
|
+
if (mlForm) {
|
|
38710
|
+
mlForm.changeItemValue($xeformiteminfo.itemConfig.field);
|
|
38711
|
+
}
|
|
38712
|
+
}
|
|
38713
|
+
emit('update:modelValue', value);
|
|
38714
|
+
emit('change', {
|
|
38715
|
+
value
|
|
38716
|
+
});
|
|
38717
|
+
};
|
|
38718
|
+
const focusEvent = () => {
|
|
38719
|
+
emit('focus', {
|
|
38720
|
+
value: inpVal.value
|
|
38721
|
+
});
|
|
38722
|
+
};
|
|
38723
|
+
const blurEvent = () => {
|
|
38724
|
+
emit('blur', {
|
|
38725
|
+
value: inpVal.value
|
|
38726
|
+
});
|
|
38727
|
+
};
|
|
38728
|
+
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(() => props.modelValue, val => {
|
|
38729
|
+
inpVal.value = xe_utils_default().toValueString(val);
|
|
38730
|
+
});
|
|
38731
|
+
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.onMounted)(() => {
|
|
38732
|
+
inpVal.value = xe_utils_default().toValueString(props.modelValue);
|
|
38733
|
+
});
|
|
38734
|
+
return (_ctx, _cache) => {
|
|
38735
|
+
const _component_vxe_textarea = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.resolveComponent)("vxe-textarea");
|
|
38736
|
+
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)("div", MlTextareavue_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_.createBlock)(_component_vxe_textarea, {
|
|
38737
|
+
key: 1,
|
|
38738
|
+
class: "ml-textarea",
|
|
38739
|
+
modelValue: inpVal.value,
|
|
38740
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => inpVal.value = $event),
|
|
38741
|
+
rows: __props.rows,
|
|
38742
|
+
maxlength: __props.maxLength,
|
|
38743
|
+
placeholder: __props.placeholder,
|
|
38744
|
+
"show-word-count": __props.showWordCount,
|
|
38745
|
+
readonly: __props.readonly,
|
|
38746
|
+
disabled: __props.disabled,
|
|
38747
|
+
resize: __props.resize,
|
|
38748
|
+
onInput: inputEvent,
|
|
38749
|
+
onFocus: focusEvent,
|
|
38750
|
+
onBlur: blurEvent
|
|
38751
|
+
}, null, 8, ["modelValue", "rows", "maxlength", "placeholder", "show-word-count", "readonly", "disabled", "resize"]));
|
|
38752
|
+
};
|
|
38753
|
+
}
|
|
38754
|
+
}));
|
|
38755
|
+
;// CONCATENATED MODULE: ./components/ml-textarea/MlTextarea.vue?vue&type=script&lang=ts&setup=true
|
|
38756
|
+
|
|
38757
|
+
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/ml-textarea/MlTextarea.vue?vue&type=style&index=0&id=cc3ab9da&lang=scss
|
|
38758
|
+
// extracted by mini-css-extract-plugin
|
|
38759
|
+
|
|
38760
|
+
;// CONCATENATED MODULE: ./components/ml-textarea/MlTextarea.vue?vue&type=style&index=0&id=cc3ab9da&lang=scss
|
|
38761
|
+
|
|
38762
|
+
;// CONCATENATED MODULE: ./components/ml-textarea/MlTextarea.vue
|
|
38763
|
+
|
|
38764
|
+
|
|
38765
|
+
|
|
38766
|
+
;
|
|
38767
|
+
|
|
38768
|
+
const MlTextarea_exports_ = MlTextareavue_type_script_lang_ts_setup_true;
|
|
38769
|
+
|
|
38770
|
+
/* harmony default export */ var MlTextarea = (MlTextarea_exports_);
|
|
38640
38771
|
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/ml-select/MlSelect.vue?vue&type=script&lang=ts&setup=true
|
|
38641
38772
|
|
|
38642
38773
|
|
|
@@ -39137,6 +39268,258 @@ const _hoisted_3 = {
|
|
|
39137
39268
|
const MlAmountText_exports_ = MlAmountTextvue_type_script_lang_ts_setup_true;
|
|
39138
39269
|
|
|
39139
39270
|
/* harmony default export */ var MlAmountText = (MlAmountText_exports_);
|
|
39271
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/ml-input/MlAmountInput.vue?vue&type=script&lang=ts&setup=true
|
|
39272
|
+
|
|
39273
|
+
|
|
39274
|
+
const MlAmountInputvue_type_script_lang_ts_setup_true_hoisted_1 = {
|
|
39275
|
+
class: "ml-amount-tip"
|
|
39276
|
+
};
|
|
39277
|
+
|
|
39278
|
+
|
|
39279
|
+
|
|
39280
|
+
|
|
39281
|
+
/* harmony default export */ var MlAmountInputvue_type_script_lang_ts_setup_true = (/*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.defineComponent)({
|
|
39282
|
+
__name: 'MlAmountInput',
|
|
39283
|
+
props: {
|
|
39284
|
+
modelValue: {
|
|
39285
|
+
type: [Number, String],
|
|
39286
|
+
default: null
|
|
39287
|
+
},
|
|
39288
|
+
min: [Number, String],
|
|
39289
|
+
max: {
|
|
39290
|
+
type: [Number, String],
|
|
39291
|
+
default: 9999999999
|
|
39292
|
+
},
|
|
39293
|
+
size: {
|
|
39294
|
+
type: String,
|
|
39295
|
+
default: () => config_0.size
|
|
39296
|
+
},
|
|
39297
|
+
maxLength: {
|
|
39298
|
+
type: [Number, String],
|
|
39299
|
+
default: 13
|
|
39300
|
+
},
|
|
39301
|
+
digits: {
|
|
39302
|
+
type: [Number, String],
|
|
39303
|
+
default: () => config_0.amountInput.digits || 2
|
|
39304
|
+
},
|
|
39305
|
+
placeholder: {
|
|
39306
|
+
type: String,
|
|
39307
|
+
default: '请输入金额'
|
|
39308
|
+
},
|
|
39309
|
+
negative: Boolean,
|
|
39310
|
+
clearable: {
|
|
39311
|
+
type: Boolean,
|
|
39312
|
+
default: false
|
|
39313
|
+
},
|
|
39314
|
+
disabled: {
|
|
39315
|
+
type: Boolean,
|
|
39316
|
+
default: false
|
|
39317
|
+
},
|
|
39318
|
+
align: {
|
|
39319
|
+
type: String,
|
|
39320
|
+
default: 'left'
|
|
39321
|
+
},
|
|
39322
|
+
readonly: {
|
|
39323
|
+
type: Boolean,
|
|
39324
|
+
default: null
|
|
39325
|
+
},
|
|
39326
|
+
controls: {
|
|
39327
|
+
type: Boolean,
|
|
39328
|
+
default: true
|
|
39329
|
+
}
|
|
39330
|
+
},
|
|
39331
|
+
emits: ["update:modelValue", "focus", "blur", "prev-number", "next-number", "change"],
|
|
39332
|
+
setup(__props, {
|
|
39333
|
+
emit
|
|
39334
|
+
}) {
|
|
39335
|
+
const props = __props;
|
|
39336
|
+
const $xeform = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.inject)('$xeform', null);
|
|
39337
|
+
const $xeformiteminfo = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.inject)('$xeformiteminfo', null);
|
|
39338
|
+
const mlForm = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.inject)('mlForm', null);
|
|
39339
|
+
const showTip = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)(false);
|
|
39340
|
+
const inpVal = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)('');
|
|
39341
|
+
const isReadonly = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
39342
|
+
if (props.readonly === null) {
|
|
39343
|
+
return $xeform ? $xeform.props.readonly : false;
|
|
39344
|
+
}
|
|
39345
|
+
return props.readonly;
|
|
39346
|
+
});
|
|
39347
|
+
const currAmountNum = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
39348
|
+
return props.modelValue === '' ? '' : Number(props.modelValue || 0);
|
|
39349
|
+
});
|
|
39350
|
+
const currAmountLabel = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
39351
|
+
return currAmountNum.value === '' ? '' : toNumMoneyToChinese(currAmountNum.value);
|
|
39352
|
+
});
|
|
39353
|
+
const minNum = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
39354
|
+
if (xe_utils_default().isNumber(props.min) || props.min) {
|
|
39355
|
+
return Number(props.min || 0);
|
|
39356
|
+
}
|
|
39357
|
+
if (props.negative) {
|
|
39358
|
+
return -9999999999;
|
|
39359
|
+
}
|
|
39360
|
+
return 0;
|
|
39361
|
+
});
|
|
39362
|
+
const maxNum = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
39363
|
+
if (xe_utils_default().isNumber(props.max) || props.max) {
|
|
39364
|
+
return Number(props.max);
|
|
39365
|
+
}
|
|
39366
|
+
return null;
|
|
39367
|
+
});
|
|
39368
|
+
const checkValue = () => {
|
|
39369
|
+
if (minNum.value !== null && xe_utils_default().toNumber(props.modelValue) < minNum.value) {
|
|
39370
|
+
emit('update:modelValue', minNum.value);
|
|
39371
|
+
emit('change', {
|
|
39372
|
+
value: minNum.value
|
|
39373
|
+
});
|
|
39374
|
+
return {
|
|
39375
|
+
status: false,
|
|
39376
|
+
value: minNum.value
|
|
39377
|
+
};
|
|
39378
|
+
}
|
|
39379
|
+
if (maxNum.value !== null && xe_utils_default().toNumber(props.modelValue) > maxNum.value) {
|
|
39380
|
+
emit('update:modelValue', maxNum.value);
|
|
39381
|
+
emit('change', {
|
|
39382
|
+
value: maxNum.value
|
|
39383
|
+
});
|
|
39384
|
+
return {
|
|
39385
|
+
status: false,
|
|
39386
|
+
value: maxNum.value
|
|
39387
|
+
};
|
|
39388
|
+
}
|
|
39389
|
+
return {
|
|
39390
|
+
status: true,
|
|
39391
|
+
value: 0
|
|
39392
|
+
};
|
|
39393
|
+
};
|
|
39394
|
+
const blurEvent = () => {
|
|
39395
|
+
showTip.value = false;
|
|
39396
|
+
checkValue();
|
|
39397
|
+
emit('blur', {});
|
|
39398
|
+
// 值改变自动触发提交
|
|
39399
|
+
if (mlForm && mlForm.changeToSubmit) {
|
|
39400
|
+
mlForm.submit();
|
|
39401
|
+
}
|
|
39402
|
+
};
|
|
39403
|
+
const focusEvent = () => {
|
|
39404
|
+
showTip.value = true;
|
|
39405
|
+
emit('focus', {});
|
|
39406
|
+
};
|
|
39407
|
+
const inputEvent = () => {
|
|
39408
|
+
let value = null;
|
|
39409
|
+
if (!(xe_utils_default().eqNull(inpVal.value) || inpVal.value === '')) {
|
|
39410
|
+
if (props.negative) {
|
|
39411
|
+
if (inpVal.value === '-') {
|
|
39412
|
+
value = '-';
|
|
39413
|
+
} else {
|
|
39414
|
+
value = Number(xe_utils_default().toValueString(inpVal.value).replace(/[¥$,\s\t]/, ''));
|
|
39415
|
+
}
|
|
39416
|
+
} else {
|
|
39417
|
+
value = Number(xe_utils_default().toValueString(inpVal.value).replace(/[-¥$,\s\t]/, ''));
|
|
39418
|
+
}
|
|
39419
|
+
}
|
|
39420
|
+
// 自动更新校验状态
|
|
39421
|
+
if ($xeform && $xeformiteminfo) {
|
|
39422
|
+
if (mlForm) {
|
|
39423
|
+
mlForm.changeItemValue($xeformiteminfo.itemConfig.field);
|
|
39424
|
+
}
|
|
39425
|
+
}
|
|
39426
|
+
emit('update:modelValue', value);
|
|
39427
|
+
emit('change', {
|
|
39428
|
+
value
|
|
39429
|
+
});
|
|
39430
|
+
};
|
|
39431
|
+
const prevNumberEvent = params => {
|
|
39432
|
+
emit('prev-number', params);
|
|
39433
|
+
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)(() => {
|
|
39434
|
+
inpVal.value = xe_utils_default().toFixed(xe_utils_default().floor(props.modelValue, props.digits), props.digits);
|
|
39435
|
+
});
|
|
39436
|
+
};
|
|
39437
|
+
const nextNumberEvent = params => {
|
|
39438
|
+
emit('next-number', params);
|
|
39439
|
+
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)(() => {
|
|
39440
|
+
inpVal.value = xe_utils_default().toFixed(xe_utils_default().floor(props.modelValue, props.digits), props.digits);
|
|
39441
|
+
});
|
|
39442
|
+
};
|
|
39443
|
+
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(() => props.modelValue, val => {
|
|
39444
|
+
inpVal.value = val;
|
|
39445
|
+
});
|
|
39446
|
+
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(() => props.min, () => {
|
|
39447
|
+
checkValue();
|
|
39448
|
+
});
|
|
39449
|
+
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(() => props.max, () => {
|
|
39450
|
+
checkValue();
|
|
39451
|
+
});
|
|
39452
|
+
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.onMounted)(() => {
|
|
39453
|
+
inpVal.value = xe_utils_default().toFixed(xe_utils_default().floor(props.modelValue, props.digits), props.digits);
|
|
39454
|
+
checkValue();
|
|
39455
|
+
});
|
|
39456
|
+
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.onBeforeUnmount)(() => {
|
|
39457
|
+
showTip.value = false;
|
|
39458
|
+
});
|
|
39459
|
+
return (_ctx, _cache) => {
|
|
39460
|
+
const _component_MlAmountText = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.resolveComponent)("MlAmountText");
|
|
39461
|
+
const _component_vxe_input = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.resolveComponent)("vxe-input");
|
|
39462
|
+
const _component_el_tooltip = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.resolveComponent)("el-tooltip");
|
|
39463
|
+
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_.createBlock)(_component_MlAmountText, {
|
|
39464
|
+
key: 0,
|
|
39465
|
+
class: "ml-amount-input is-readonly",
|
|
39466
|
+
value: inpVal.value
|
|
39467
|
+
}, null, 8, ["value"])) : ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createBlock)(_component_el_tooltip, {
|
|
39468
|
+
key: 1,
|
|
39469
|
+
modelValue: showTip.value,
|
|
39470
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = $event => showTip.value = $event),
|
|
39471
|
+
trigger: "focus",
|
|
39472
|
+
placement: __props.align === 'left' ? 'top-start' : 'top-end',
|
|
39473
|
+
"popper-class": "ml-amount-tooltip"
|
|
39474
|
+
}, {
|
|
39475
|
+
content: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("span", MlAmountInputvue_type_script_lang_ts_setup_true_hoisted_1, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("span", null, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.toDisplayString)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(currAmountLabel)), 1)])]),
|
|
39476
|
+
default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createVNode)(_component_vxe_input, {
|
|
39477
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeClass)(["ml-amount-input", `text-${__props.align}`]),
|
|
39478
|
+
modelValue: inpVal.value,
|
|
39479
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => inpVal.value = $event),
|
|
39480
|
+
disabled: __props.disabled,
|
|
39481
|
+
placeholder: __props.placeholder,
|
|
39482
|
+
type: "float",
|
|
39483
|
+
digits: __props.digits,
|
|
39484
|
+
step: "1",
|
|
39485
|
+
min: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(minNum),
|
|
39486
|
+
clearable: __props.clearable,
|
|
39487
|
+
maxlength: __props.maxLength,
|
|
39488
|
+
controls: __props.controls,
|
|
39489
|
+
onInput: inputEvent,
|
|
39490
|
+
onBlur: blurEvent,
|
|
39491
|
+
onFocus: focusEvent,
|
|
39492
|
+
onPrevNumber: prevNumberEvent,
|
|
39493
|
+
onNextNumber: nextNumberEvent
|
|
39494
|
+
}, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createSlots)({
|
|
39495
|
+
_: 2
|
|
39496
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.renderList)(_ctx.$slots, (handle, name) => {
|
|
39497
|
+
return {
|
|
39498
|
+
name: name,
|
|
39499
|
+
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)))])
|
|
39500
|
+
};
|
|
39501
|
+
})]), 1032, ["class", "modelValue", "disabled", "placeholder", "digits", "min", "clearable", "maxlength", "controls"])]),
|
|
39502
|
+
_: 3
|
|
39503
|
+
}, 8, ["modelValue", "placement"]));
|
|
39504
|
+
};
|
|
39505
|
+
}
|
|
39506
|
+
}));
|
|
39507
|
+
;// CONCATENATED MODULE: ./components/ml-input/MlAmountInput.vue?vue&type=script&lang=ts&setup=true
|
|
39508
|
+
|
|
39509
|
+
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/ml-input/MlAmountInput.vue?vue&type=style&index=0&id=124dba17&lang=scss
|
|
39510
|
+
// extracted by mini-css-extract-plugin
|
|
39511
|
+
|
|
39512
|
+
;// CONCATENATED MODULE: ./components/ml-input/MlAmountInput.vue?vue&type=style&index=0&id=124dba17&lang=scss
|
|
39513
|
+
|
|
39514
|
+
;// CONCATENATED MODULE: ./components/ml-input/MlAmountInput.vue
|
|
39515
|
+
|
|
39516
|
+
|
|
39517
|
+
|
|
39518
|
+
;
|
|
39519
|
+
|
|
39520
|
+
const MlAmountInput_exports_ = MlAmountInputvue_type_script_lang_ts_setup_true;
|
|
39521
|
+
|
|
39522
|
+
/* harmony default export */ var MlAmountInput = (MlAmountInput_exports_);
|
|
39140
39523
|
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/ml-radio/MlRadioGroup.vue?vue&type=script&lang=ts&setup=true
|
|
39141
39524
|
|
|
39142
39525
|
|
|
@@ -59327,10 +59710,10 @@ VXETable.setup({
|
|
|
59327
59710
|
|
|
59328
59711
|
|
|
59329
59712
|
|
|
59330
|
-
// import MlTextarea from './components/ml-textarea/MlTextarea.vue'
|
|
59331
59713
|
|
|
59332
59714
|
|
|
59333
|
-
|
|
59715
|
+
|
|
59716
|
+
|
|
59334
59717
|
// import MlNumberInput from './components/ml-input/MlNumberInput.vue'
|
|
59335
59718
|
// import MlPasswordInput from './components/ml-input/MlPasswordInput.vue'
|
|
59336
59719
|
// import MlAutoInput from './components/ml-input/MlAutoInput.vue'
|
|
@@ -59383,10 +59766,10 @@ const componentMaps = {
|
|
|
59383
59766
|
MlCol: MlCol,
|
|
59384
59767
|
MlButton: MlButton,
|
|
59385
59768
|
MlInput: MlInput,
|
|
59386
|
-
|
|
59769
|
+
MlTextarea: MlTextarea,
|
|
59387
59770
|
MlSelect: MlSelect,
|
|
59388
59771
|
MlAmountText: MlAmountText,
|
|
59389
|
-
|
|
59772
|
+
MlAmountInput: MlAmountInput,
|
|
59390
59773
|
// MlNumberInput:MlNumberInput,
|
|
59391
59774
|
// MlPasswordInput:MlPasswordInput,
|
|
59392
59775
|
// MlAutoInput:MlAutoInput,
|
|
@@ -59442,7 +59825,7 @@ function index_config(options) {
|
|
|
59442
59825
|
return config_0;
|
|
59443
59826
|
}
|
|
59444
59827
|
const MaliUIPlus = {
|
|
59445
|
-
version: "0.1.
|
|
59828
|
+
version: "0.1.6",
|
|
59446
59829
|
install: index_install,
|
|
59447
59830
|
config: index_config,
|
|
59448
59831
|
VXETable: index_esm,
|