mali-ui-plus 1.0.103 → 1.0.104
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 +85 -14
- package/lib/mali-ui-plus.css +1 -1
- package/lib/mali-ui-plus.umd.js +85 -14
- package/lib/mali-ui-plus.umd.min.js +14 -14
- package/package.json +1 -1
- package/style/all.scss +1 -0
- package/style/modules/image-swiper.scss +6 -0
- package/style/modules/upload.scss +1 -1
|
@@ -10141,7 +10141,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
10141
10141
|
"default": function() { return /* binding */ entry_lib; }
|
|
10142
10142
|
});
|
|
10143
10143
|
|
|
10144
|
-
// UNUSED EXPORTS: MaliClipboard, MaliLoading, MaliModal, MaliNotify, MaliStorage, MaliToast, MaliUI, MaliUtils, MlAmountInput, MlAmountText, MlApprovalType, MlButton, MlCalendar, MlCard, MlCarousel, MlCarouselItem, MlCascader, MlCharts, MlCheckbox, MlCheckboxGroup, MlCol, MlColorPicker, MlDatePicker, MlDateRangePicker, MlDateTimePicker, MlDatetimePicker, MlDictType, MlDrawer, MlEditor, MlForm, MlGrid, MlIcon, MlImage, MlInput, MlInvoiceType, MlModal, MlNumberInput, MlPager, MlPasswordInput, MlPopover, MlProvincesPicker, MlQuarterPicker, MlRadio, MlRadioButton, MlRadioGroup, MlRangePicker, MlRow, MlSearchInput, MlSelect, MlSwitch, MlTabPane, MlTable, MlTabs, MlText, MlTextarea, MlTooltip, MlTree, MlUpload, MlWeekPicker, components
|
|
10144
|
+
// UNUSED EXPORTS: MaliClipboard, MaliLoading, MaliModal, MaliNotify, MaliStorage, MaliToast, MaliUI, MaliUtils, MlAmountInput, MlAmountText, MlApprovalType, MlButton, MlCalendar, MlCard, MlCarousel, MlCarouselItem, MlCascader, MlCharts, MlCheckbox, MlCheckboxGroup, MlCol, MlColorPicker, MlDatePicker, MlDateRangePicker, MlDateTimePicker, MlDatetimePicker, MlDictType, MlDrawer, MlEditor, MlForm, MlGrid, MlIcon, MlImage, MlImageSwiper, MlInput, MlInvoiceType, MlModal, MlNumberInput, MlPager, MlPasswordInput, MlPopover, MlProvincesPicker, MlQuarterPicker, MlRadio, MlRadioButton, MlRadioGroup, MlRangePicker, MlRow, MlSearchInput, MlSelect, MlSwitch, MlTabPane, MlTable, MlTabs, MlText, MlTextarea, MlTooltip, MlTree, MlUpload, MlWeekPicker, components
|
|
10145
10145
|
|
|
10146
10146
|
// NAMESPACE OBJECT: ./node_modules/vxe-table/es/all.js
|
|
10147
10147
|
var all_namespaceObject = {};
|
|
@@ -39471,8 +39471,8 @@ const MlInputvue_type_script_lang_ts_setup_true_hoisted_1 = {
|
|
|
39471
39471
|
type: Boolean,
|
|
39472
39472
|
default: false
|
|
39473
39473
|
},
|
|
39474
|
-
|
|
39475
|
-
|
|
39474
|
+
suffixIcon: String,
|
|
39475
|
+
prefixIcon: String
|
|
39476
39476
|
},
|
|
39477
39477
|
emits: ["update:modelValue", "change", "focus", "blur"],
|
|
39478
39478
|
setup(__props, {
|
|
@@ -39541,14 +39541,26 @@ const MlInputvue_type_script_lang_ts_setup_true_hoisted_1 = {
|
|
|
39541
39541
|
onBlur: blurEvent
|
|
39542
39542
|
}, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createSlots)({
|
|
39543
39543
|
_: 2
|
|
39544
|
-
}, [_ctx.$slots.
|
|
39544
|
+
}, [_ctx.$slots.prefixBefore ? {
|
|
39545
39545
|
name: "prepend",
|
|
39546
|
-
fn: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.renderSlot)(_ctx.$slots, "
|
|
39546
|
+
fn: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.renderSlot)(_ctx.$slots, "prefixBefore", (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeProps)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.guardReactiveProps)({})))]),
|
|
39547
39547
|
key: "0"
|
|
39548
|
-
} : undefined, _ctx.$slots.
|
|
39548
|
+
} : undefined, _ctx.$slots.suffixAfter ? {
|
|
39549
39549
|
name: "append",
|
|
39550
|
-
fn: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.renderSlot)(_ctx.$slots, "
|
|
39550
|
+
fn: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.renderSlot)(_ctx.$slots, "suffixAfter", (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeProps)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.guardReactiveProps)({})))]),
|
|
39551
39551
|
key: "1"
|
|
39552
|
+
} : undefined, _ctx.$slots.prefixIcon || __props.prefixIcon ? {
|
|
39553
|
+
name: "prefix",
|
|
39554
|
+
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", {
|
|
39555
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeClass)(['ml-input-prefix-icon', __props.prefixIcon])
|
|
39556
|
+
}, null, 2)])]),
|
|
39557
|
+
key: "2"
|
|
39558
|
+
} : undefined, _ctx.$slots.suffixIcon || __props.suffixIcon ? {
|
|
39559
|
+
name: "suffix",
|
|
39560
|
+
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)({})), () => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("span", {
|
|
39561
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeClass)(['ml-input-suffix-icon', __props.suffixIcon])
|
|
39562
|
+
}, null, 2)])]),
|
|
39563
|
+
key: "3"
|
|
39552
39564
|
} : undefined]), 1032, ["modelValue", "type", "size", "name", "maxlength", "placeholder", "clearable", "disabled", "autocomplete"]));
|
|
39553
39565
|
};
|
|
39554
39566
|
}
|
|
@@ -52161,25 +52173,29 @@ const MlProvincesPickervue_type_script_lang_ts_setup_true_hoisted_1 = {
|
|
|
52161
52173
|
const changeEvent = params => {
|
|
52162
52174
|
emit('change', params);
|
|
52163
52175
|
};
|
|
52164
|
-
|
|
52176
|
+
let isUdMode = false;
|
|
52177
|
+
const modeEvent = value => {
|
|
52178
|
+
isUdMode = true;
|
|
52165
52179
|
emit('update:modelValue', value);
|
|
52166
52180
|
};
|
|
52167
52181
|
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(() => props.modelValue, value => {
|
|
52168
|
-
|
|
52182
|
+
if (!isUdMode) {
|
|
52183
|
+
selectVals.value = handleMode(value);
|
|
52184
|
+
}
|
|
52185
|
+
isUdMode = false;
|
|
52169
52186
|
});
|
|
52170
52187
|
return (_ctx, _cache) => {
|
|
52171
52188
|
const _component_MlCascader = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.resolveComponent)("MlCascader");
|
|
52172
|
-
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)("
|
|
52189
|
+
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", MlProvincesPickervue_type_script_lang_ts_setup_true_hoisted_1, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.toDisplayString)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(selectLabel)), 1)) : ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createBlock)(_component_MlCascader, {
|
|
52173
52190
|
key: 1,
|
|
52174
52191
|
modelValue: selectVals.value,
|
|
52175
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => selectVals.value = $event),
|
|
52192
|
+
"onUpdate:modelValue": [_cache[0] || (_cache[0] = $event => selectVals.value = $event), modeEvent],
|
|
52176
52193
|
options: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(optList),
|
|
52177
52194
|
optionProps: {
|
|
52178
52195
|
label: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(optLabelField),
|
|
52179
52196
|
value: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(optValueField)
|
|
52180
52197
|
},
|
|
52181
52198
|
class: "ml-provinces-picker",
|
|
52182
|
-
onInput: inputEvent,
|
|
52183
52199
|
onChange: changeEvent
|
|
52184
52200
|
}, null, 8, ["modelValue", "options", "optionProps"]));
|
|
52185
52201
|
};
|
|
@@ -72900,6 +72916,58 @@ const script = {}
|
|
|
72900
72916
|
const MlCarouselItem_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(script, [['render',render]])
|
|
72901
72917
|
|
|
72902
72918
|
/* harmony default export */ var MlCarouselItem = (MlCarouselItem_exports_);
|
|
72919
|
+
;// 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-image-swiper/MlImageSwiper.vue?vue&type=script&lang=ts&setup=true
|
|
72920
|
+
|
|
72921
|
+
|
|
72922
|
+
const MlImageSwipervue_type_script_lang_ts_setup_true_hoisted_1 = ["src"];
|
|
72923
|
+
|
|
72924
|
+
/* harmony default export */ var MlImageSwipervue_type_script_lang_ts_setup_true = (/*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.defineComponent)({
|
|
72925
|
+
__name: 'MlImageSwiper',
|
|
72926
|
+
props: {
|
|
72927
|
+
modelValue: [Number, String],
|
|
72928
|
+
options: Array,
|
|
72929
|
+
height: {
|
|
72930
|
+
type: [String, Number],
|
|
72931
|
+
default: 200
|
|
72932
|
+
}
|
|
72933
|
+
},
|
|
72934
|
+
setup(__props) {
|
|
72935
|
+
const props = __props;
|
|
72936
|
+
const warpperHeight = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
72937
|
+
return isNaN(Number(props.height)) ? props.height : `${props.height}px`;
|
|
72938
|
+
});
|
|
72939
|
+
return (_ctx, _cache) => {
|
|
72940
|
+
const _component_MlCarousel_item = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.resolveComponent)("MlCarousel-item");
|
|
72941
|
+
const _component_MlCarousel = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.resolveComponent)("MlCarousel");
|
|
72942
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createBlock)(_component_MlCarousel, {
|
|
72943
|
+
class: "ml-image-swiper",
|
|
72944
|
+
height: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(warpperHeight)
|
|
72945
|
+
}, {
|
|
72946
|
+
default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.withCtx)(() => [((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(true), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)(external_commonjs_vue_commonjs2_vue_root_Vue_.Fragment, null, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.renderList)(__props.options, (item, index) => {
|
|
72947
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createBlock)(_component_MlCarousel_item, {
|
|
72948
|
+
key: index
|
|
72949
|
+
}, {
|
|
72950
|
+
default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("img", {
|
|
72951
|
+
src: item.url,
|
|
72952
|
+
class: "ml-image-swiper-img"
|
|
72953
|
+
}, null, 8, MlImageSwipervue_type_script_lang_ts_setup_true_hoisted_1)]),
|
|
72954
|
+
_: 2
|
|
72955
|
+
}, 1024);
|
|
72956
|
+
}), 128))]),
|
|
72957
|
+
_: 1
|
|
72958
|
+
}, 8, ["height"]);
|
|
72959
|
+
};
|
|
72960
|
+
}
|
|
72961
|
+
}));
|
|
72962
|
+
;// CONCATENATED MODULE: ./components/ml-image-swiper/MlImageSwiper.vue?vue&type=script&lang=ts&setup=true
|
|
72963
|
+
|
|
72964
|
+
;// CONCATENATED MODULE: ./components/ml-image-swiper/MlImageSwiper.vue
|
|
72965
|
+
|
|
72966
|
+
|
|
72967
|
+
|
|
72968
|
+
const MlImageSwiper_exports_ = MlImageSwipervue_type_script_lang_ts_setup_true;
|
|
72969
|
+
|
|
72970
|
+
/* harmony default export */ var MlImageSwiper = (MlImageSwiper_exports_);
|
|
72903
72971
|
;// CONCATENATED MODULE: ./storage/index.ts
|
|
72904
72972
|
|
|
72905
72973
|
function setStorage(key, value, options = {}) {
|
|
@@ -74895,6 +74963,7 @@ VXETable.setup({
|
|
|
74895
74963
|
|
|
74896
74964
|
|
|
74897
74965
|
|
|
74966
|
+
|
|
74898
74967
|
const index_MlIcon = MlIcon;
|
|
74899
74968
|
const index_MlRow = MlRow;
|
|
74900
74969
|
const index_MlCol = MlCol;
|
|
@@ -74957,6 +75026,7 @@ const index_MlImage = MlImage;
|
|
|
74957
75026
|
const index_MlCharts = MlCharts;
|
|
74958
75027
|
const index_MlCarousel = MlCarousel;
|
|
74959
75028
|
const index_MlCarouselItem = MlCarouselItem;
|
|
75029
|
+
const index_MlImageSwiper = MlImageSwiper;
|
|
74960
75030
|
const componentMaps = {
|
|
74961
75031
|
MlIcon: index_MlIcon,
|
|
74962
75032
|
MlRow: index_MlRow,
|
|
@@ -75015,7 +75085,8 @@ const componentMaps = {
|
|
|
75015
75085
|
MlImage: index_MlImage,
|
|
75016
75086
|
MlCharts: index_MlCharts,
|
|
75017
75087
|
MlCarousel: index_MlCarousel,
|
|
75018
|
-
MlCarouselItem: index_MlCarouselItem
|
|
75088
|
+
MlCarouselItem: index_MlCarouselItem,
|
|
75089
|
+
MlImageSwiper: index_MlImageSwiper
|
|
75019
75090
|
};
|
|
75020
75091
|
const index_components = [];
|
|
75021
75092
|
xe_utils_default().each(componentMaps, (component, name) => {
|
|
@@ -75036,7 +75107,7 @@ function index_config(options) {
|
|
|
75036
75107
|
return config_0;
|
|
75037
75108
|
}
|
|
75038
75109
|
const MaliUI = {
|
|
75039
|
-
version: "1.0.
|
|
75110
|
+
version: "1.0.103",
|
|
75040
75111
|
install: index_install,
|
|
75041
75112
|
config: index_config,
|
|
75042
75113
|
renderer: index_esm.renderer,
|