@smallwei/avue 3.5.4 → 3.5.5
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/avue.js +4 -4
- package/lib/avue.min.js +2 -2
- package/package.json +74 -74
package/lib/avue.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* Avue.js v3.5.
|
2
|
+
* Avue.js v3.5.5
|
3
3
|
* (c) 2017-2024 Smallwei
|
4
4
|
* Released under the MIT License.
|
5
5
|
*
|
@@ -842,7 +842,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core
|
|
842
842
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
843
843
|
|
844
844
|
"use strict";
|
845
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_packages__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core/packages */ \"./src/core/packages.js\");\n/* harmony import */ var core_create__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core/create */ \"./src/core/create.js\");\n/* harmony import */ var common_common_props_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! common/common/props.js */ \"./packages/core/common/props.js\");\n/* harmony import */ var common_common_event_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! common/common/event.js */ \"./packages/core/common/event.js\");\n/* harmony import */ var core_dic__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core/dic */ \"./src/core/dic.js\");\n/* harmony import */ var global_variable__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! global/variable */ \"./src/global/variable.js\");\n\n\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(core_create__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({\n name: \"select\",\n mixins: [Object(common_common_props_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(), Object(common_common_event_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"])()],\n data: function data() {\n return {\n checked: false,\n indeterminate: false,\n create: false,\n netDic: [],\n loading: false\n };\n },\n props: {\n virtualize: Boolean,\n
|
845
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_packages__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core/packages */ \"./src/core/packages.js\");\n/* harmony import */ var core_create__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core/create */ \"./src/core/create.js\");\n/* harmony import */ var common_common_props_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! common/common/props.js */ \"./packages/core/common/props.js\");\n/* harmony import */ var common_common_event_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! common/common/event.js */ \"./packages/core/common/event.js\");\n/* harmony import */ var core_dic__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core/dic */ \"./src/core/dic.js\");\n/* harmony import */ var global_variable__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! global/variable */ \"./src/global/variable.js\");\n\n\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(core_create__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({\n name: \"select\",\n mixins: [Object(common_common_props_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(), Object(common_common_event_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"])()],\n data: function data() {\n return {\n checked: false,\n indeterminate: false,\n create: false,\n netDic: [],\n loading: false\n };\n },\n props: {\n virtualize: Boolean,\n valueOnClear: {\n type: [String, Number, Boolean, Function],\n \"default\": undefined\n },\n loadingText: {\n type: String\n },\n noMatchText: {\n type: String\n },\n noDataText: {\n type: String\n },\n drag: {\n type: Boolean,\n \"default\": false\n },\n remote: {\n type: Boolean,\n \"default\": false\n },\n tags: {\n type: Boolean,\n \"default\": false\n },\n collapseTags: Boolean,\n collapseTagsTooltip: Boolean,\n maxCollapseTags: Number,\n limit: {\n type: Number,\n \"default\": 0\n },\n filterable: {\n type: Boolean,\n \"default\": false\n },\n allowCreate: {\n type: Boolean,\n \"default\": false\n },\n defaultFirstOption: {\n type: Boolean,\n \"default\": false\n },\n all: {\n type: Boolean,\n \"default\": false\n },\n popperAppendToBody: {\n type: Boolean,\n \"default\": true\n }\n },\n watch: {\n dic: {\n handler: function handler(val) {\n this.netDic = val;\n },\n immediate: true\n }\n },\n computed: {\n classNameKey: function classNameKey() {\n return this.props.className || 'className';\n },\n options: function options() {\n var _this = this;\n var dicData = this.deepClone(this.netDic);\n return dicData.map(function (ele) {\n return Object.assign(ele, {\n label: ele[_this.labelKey],\n value: ele[_this.valueKey],\n disabled: ele[_this.disabledKey]\n });\n });\n },\n componentName: function componentName() {\n return 'elSelect' + (this.virtualize ? 'V2' : '');\n }\n },\n mounted: function mounted() {\n if (this.drag) {\n this.setSort();\n }\n },\n methods: {\n handleModelValue: function handleModelValue(val) {\n if (!this.validatenull(this.text)) {\n if (this.remote && !this.created) {\n this.created = true;\n this.handleRemoteMethod(this.multiple ? this.text.join(global_variable__WEBPACK_IMPORTED_MODULE_5__[\"DIC_SPLIT\"]) : this.text);\n }\n }\n if (this.multiple) {\n if (this.text.length == 0) {\n this.checked = false;\n this.indeterminate = false;\n } else if (this.text.length == this.netDic.length) {\n this.checked = true;\n this.indeterminate = false;\n } else {\n this.checked = false;\n this.indeterminate = true;\n }\n }\n },\n setSort: function setSort() {\n var _this2 = this;\n if (!window.Sortable) {\n core_packages__WEBPACK_IMPORTED_MODULE_0__[\"default\"].logs('Sortable');\n return;\n }\n var el = this.$refs.main.$el.querySelectorAll('.el-select__selection')[0];\n this.sortable = window.Sortable.create(el, {\n animation: 100,\n onEnd: function onEnd(evt) {\n var targetRow = _this2.modelValue.splice(evt.oldIndex, 1)[0];\n _this2.modelValue.splice(evt.newIndex, 0, targetRow);\n }\n });\n },\n handleRemoteMethod: function handleRemoteMethod(query) {\n var _this3 = this;\n this.loading = true;\n Object(core_dic__WEBPACK_IMPORTED_MODULE_4__[\"sendDic\"])({\n column: this.column,\n value: query\n }, this).then(function (res) {\n _this3.loading = false;\n _this3.netDic = res;\n });\n },\n checkChange: function checkChange(val) {\n var _this4 = this;\n this.text = [];\n this.checked = val;\n this.indeterminate = false;\n if (val) {\n this.text = this.netDic.filter(function (ele) {\n return !ele[_this4.disabledKey];\n }).map(function (ele) {\n return ele[_this4.valueKey];\n });\n }\n }\n }\n}));\n\n//# sourceURL=webpack://AVUE/./packages/element-ui/select/index.vue?./node_modules/.pnpm/babel-loader@8.4.1_@babel+core@7.25.8_webpack@4.47.0/node_modules/babel-loader/lib!./node_modules/.pnpm/vue-loader@16.8.3_@vue+compiler-sfc@3.5.12_vue@3.5.12_webpack@4.47.0/node_modules/vue-loader/dist??ref--1");
|
846
846
|
|
847
847
|
/***/ }),
|
848
848
|
|
@@ -3082,7 +3082,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) *
|
|
3082
3082
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
3083
3083
|
|
3084
3084
|
"use strict";
|
3085
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n\n\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n const _component_el_option = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"el-option\")\n const _component_el_option_group = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"el-option-group\")\n const _component_el_checkbox = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"el-checkbox\")\n\n return (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createBlock\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveDynamicComponent\"])(_ctx.componentName), {\n ref: \"main\",\n class: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"normalizeClass\"])(_ctx.b()),\n modelValue: _ctx.text,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = $event => ((_ctx.text) = $event)),\n size: _ctx.size,\n options: _ctx.options,\n loading: _ctx.loading,\n \"loading-text\": _ctx.loadingText,\n \"empty-values\": _ctx.emptyValues,\n \"value-on-clear\": _ctx.valueOnClear,\n multiple: _ctx.multiple,\n filterable: _ctx.remote?true:_ctx.filterable,\n remote: _ctx.remote,\n readonly: _ctx.readonly,\n \"no-match-text\": _ctx.noMatchText,\n \"no-data-text\": _ctx.noDataText,\n \"remote-method\": _ctx.remote?_ctx.handleRemoteMethod:undefined,\n \"popper-class\": _ctx.popperClass,\n \"popper-append-to-body\": _ctx.popperAppendToBody,\n \"collapse-tags\": _ctx.tags || _ctx.collapseTags,\n \"collapse-tags-tooltip\": _ctx.collapseTagsTooltip,\n \"max-collapse-tags\": _ctx.maxCollapseTags,\n clearable: _ctx.clearableVal,\n placeholder: _ctx.placeholder,\n onFocus: _ctx.handleFocus,\n onBlur: _ctx.handleBlur,\n onClick: _ctx.handleClick,\n \"multiple-limit\": _ctx.limit,\n \"allow-create\": _ctx.allowCreate,\n \"default-first-option\": _ctx.defaultFirstOption,\n disabled: _ctx.disabled\n }, {\n default: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withCtx\"])(({item}) => [\n (_ctx.virtualize)\n ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], { key: 0 }, [\n (_ctx.$slots.default)\n ? Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderSlot\"])(_ctx.$slots, \"default\", {\n key: 0,\n label: _ctx.labelKey,\n value: _ctx.valueKey,\n item: item\n })\n : (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], { key: 1 }, [\n Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.getLabelText(item)), 1 /* TEXT */),\n (item[_ctx.descKey])\n ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"span\", {\n key: 0,\n class: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"normalizeClass\"])(_ctx.b('desc'))\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(item[_ctx.descKey]), 3 /* TEXT, CLASS */))\n : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true)\n ], 64 /* STABLE_FRAGMENT */))\n ], 64 /* STABLE_FRAGMENT */))\n : (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], { key: 1 }, [\n (_ctx.isGroup)\n ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], { key: 0 }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(_ctx.netDic, (item, index) => {\n return (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createBlock\"])(_component_el_option_group, {\n key: index,\n label: _ctx.getLabelText(item)\n }, {\n default: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withCtx\"])(() => [\n (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(item[_ctx.groupsKey], (citem, cindex) => {\n return (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createBlock\"])(_component_el_option, {\n key: citem[_ctx.valueKey],\n class: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"normalizeClass\"])(citem[_ctx.classNameKey]),\n disabled: citem[_ctx.disabledKey],\n label: _ctx.getLabelText(citem),\n value: citem[_ctx.valueKey]\n }, {\n default: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withCtx\"])(() => [\n (_ctx.$slots.default)\n ? Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderSlot\"])(_ctx.$slots, \"default\", {\n key: 0,\n label: _ctx.labelKey,\n value: _ctx.valueKey,\n item: citem\n })\n : (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], { key: 1 }, [\n Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.getLabelText(citem)), 1 /* TEXT */),\n (citem[_ctx.descKey])\n ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"span\", {\n key: 0,\n class: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"normalizeClass\"])(_ctx.b('desc'))\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(citem[_ctx.descKey]), 3 /* TEXT, CLASS */))\n : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true)\n ], 64 /* STABLE_FRAGMENT */))\n ]),\n _: 2 /* DYNAMIC */\n }, 1032 /* PROPS, DYNAMIC_SLOTS */, [\"class\", \"disabled\", \"label\", \"value\"]))\n }), 128 /* KEYED_FRAGMENT */))\n ]),\n _: 2 /* DYNAMIC */\n }, 1032 /* PROPS, DYNAMIC_SLOTS */, [\"label\"]))\n }), 128 /* KEYED_FRAGMENT */))\n : (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], { key: 1 }, [\n Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", {\n class: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"normalizeClass\"])(_ctx.b('check'))\n }, [\n (_ctx.all&&_ctx.multiple)\n ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createBlock\"])(_component_el_checkbox, {\n key: 0,\n value: _ctx.checked,\n checked: _ctx.checked,\n disabled: _ctx.disabled,\n indeterminate: _ctx.indeterminate,\n onChange: _ctx.checkChange\n }, {\n default: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withCtx\"])(() => _cache[1] || (_cache[1] = [\n Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(\"全选\")\n ])),\n _: 1 /* STABLE */\n }, 8 /* PROPS */, [\"value\", \"checked\", \"disabled\", \"indeterminate\", \"onChange\"]))\n : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true)\n ], 2 /* CLASS */),\n (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(_ctx.netDic, (item, index) => {\n return (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createBlock\"])(_component_el_option, {\n key: item[_ctx.valueKey],\n class: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"normalizeClass\"])(item[_ctx.classNameKey]),\n disabled: item[_ctx.disabledKey],\n label: _ctx.getLabelText(item) ,\n value: item[_ctx.valueKey]\n }, {\n default: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withCtx\"])(() => [\n (_ctx.$slots.default)\n ? Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderSlot\"])(_ctx.$slots, \"default\", {\n key: 0,\n label: _ctx.labelKey,\n value: _ctx.valueKey,\n item: item\n })\n : (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], { key: 1 }, [\n Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.getLabelText(item)), 1 /* TEXT */),\n (item[_ctx.descKey])\n ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"span\", {\n key: 0,\n class: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"normalizeClass\"])(_ctx.b('desc'))\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(item[_ctx.descKey]), 3 /* TEXT, CLASS */))\n : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true)\n ], 64 /* STABLE_FRAGMENT */))\n ]),\n _: 2 /* DYNAMIC */\n }, 1032 /* PROPS, DYNAMIC_SLOTS */, [\"class\", \"disabled\", \"label\", \"value\"]))\n }), 128 /* KEYED_FRAGMENT */))\n ], 64 /* STABLE_FRAGMENT */))\n ], 64 /* STABLE_FRAGMENT */))\n ]),\n _: 3 /* FORWARDED */\n }, 40 /* PROPS, NEED_HYDRATION */, [\"class\", \"modelValue\", \"size\", \"options\", \"loading\", \"loading-text\", \"empty-values\", \"value-on-clear\", \"multiple\", \"filterable\", \"remote\", \"readonly\", \"no-match-text\", \"no-data-text\", \"remote-method\", \"popper-class\", \"popper-append-to-body\", \"collapse-tags\", \"collapse-tags-tooltip\", \"max-collapse-tags\", \"clearable\", \"placeholder\", \"onFocus\", \"onBlur\", \"onClick\", \"multiple-limit\", \"allow-create\", \"default-first-option\", \"disabled\"]))\n}\n\n//# sourceURL=webpack://AVUE/./packages/element-ui/select/index.vue?./node_modules/.pnpm/vue-loader@16.8.3_@vue+compiler-sfc@3.5.12_vue@3.5.12_webpack@4.47.0/node_modules/vue-loader/dist/templateLoader.js??ref--5!./node_modules/.pnpm/vue-loader@16.8.3_@vue+compiler-sfc@3.5.12_vue@3.5.12_webpack@4.47.0/node_modules/vue-loader/dist??ref--1");
|
3085
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);\n\n\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n const _component_el_option = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"el-option\")\n const _component_el_option_group = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"el-option-group\")\n const _component_el_checkbox = Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveComponent\"])(\"el-checkbox\")\n\n return (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createBlock\"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"resolveDynamicComponent\"])(_ctx.componentName), {\n ref: \"main\",\n class: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"normalizeClass\"])(_ctx.b()),\n modelValue: _ctx.text,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = $event => ((_ctx.text) = $event)),\n size: _ctx.size,\n options: _ctx.options,\n loading: _ctx.loading,\n \"loading-text\": _ctx.loadingText,\n \"value-on-clear\": _ctx.valueOnClear,\n multiple: _ctx.multiple,\n filterable: _ctx.remote?true:_ctx.filterable,\n remote: _ctx.remote,\n readonly: _ctx.readonly,\n \"no-match-text\": _ctx.noMatchText,\n \"no-data-text\": _ctx.noDataText,\n \"remote-method\": _ctx.remote?_ctx.handleRemoteMethod:undefined,\n \"popper-class\": _ctx.popperClass,\n \"popper-append-to-body\": _ctx.popperAppendToBody,\n \"collapse-tags\": _ctx.tags || _ctx.collapseTags,\n \"collapse-tags-tooltip\": _ctx.collapseTagsTooltip,\n \"max-collapse-tags\": _ctx.maxCollapseTags,\n clearable: _ctx.clearableVal,\n placeholder: _ctx.placeholder,\n onFocus: _ctx.handleFocus,\n onBlur: _ctx.handleBlur,\n onClick: _ctx.handleClick,\n \"multiple-limit\": _ctx.limit,\n \"allow-create\": _ctx.allowCreate,\n \"default-first-option\": _ctx.defaultFirstOption,\n disabled: _ctx.disabled\n }, {\n default: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withCtx\"])(({item}) => [\n (_ctx.virtualize)\n ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], { key: 0 }, [\n (_ctx.$slots.default)\n ? Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderSlot\"])(_ctx.$slots, \"default\", {\n key: 0,\n label: _ctx.labelKey,\n value: _ctx.valueKey,\n item: item\n })\n : (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], { key: 1 }, [\n Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.getLabelText(item)), 1 /* TEXT */),\n (item[_ctx.descKey])\n ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"span\", {\n key: 0,\n class: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"normalizeClass\"])(_ctx.b('desc'))\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(item[_ctx.descKey]), 3 /* TEXT, CLASS */))\n : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true)\n ], 64 /* STABLE_FRAGMENT */))\n ], 64 /* STABLE_FRAGMENT */))\n : (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], { key: 1 }, [\n (_ctx.isGroup)\n ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], { key: 0 }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(_ctx.netDic, (item, index) => {\n return (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createBlock\"])(_component_el_option_group, {\n key: index,\n label: _ctx.getLabelText(item)\n }, {\n default: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withCtx\"])(() => [\n (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(item[_ctx.groupsKey], (citem, cindex) => {\n return (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createBlock\"])(_component_el_option, {\n key: citem[_ctx.valueKey],\n class: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"normalizeClass\"])(citem[_ctx.classNameKey]),\n disabled: citem[_ctx.disabledKey],\n label: _ctx.getLabelText(citem),\n value: citem[_ctx.valueKey]\n }, {\n default: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withCtx\"])(() => [\n (_ctx.$slots.default)\n ? Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderSlot\"])(_ctx.$slots, \"default\", {\n key: 0,\n label: _ctx.labelKey,\n value: _ctx.valueKey,\n item: citem\n })\n : (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], { key: 1 }, [\n Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.getLabelText(citem)), 1 /* TEXT */),\n (citem[_ctx.descKey])\n ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"span\", {\n key: 0,\n class: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"normalizeClass\"])(_ctx.b('desc'))\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(citem[_ctx.descKey]), 3 /* TEXT, CLASS */))\n : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true)\n ], 64 /* STABLE_FRAGMENT */))\n ]),\n _: 2 /* DYNAMIC */\n }, 1032 /* PROPS, DYNAMIC_SLOTS */, [\"class\", \"disabled\", \"label\", \"value\"]))\n }), 128 /* KEYED_FRAGMENT */))\n ]),\n _: 2 /* DYNAMIC */\n }, 1032 /* PROPS, DYNAMIC_SLOTS */, [\"label\"]))\n }), 128 /* KEYED_FRAGMENT */))\n : (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], { key: 1 }, [\n Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"div\", {\n class: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"normalizeClass\"])(_ctx.b('check'))\n }, [\n (_ctx.all&&_ctx.multiple)\n ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createBlock\"])(_component_el_checkbox, {\n key: 0,\n value: _ctx.checked,\n checked: _ctx.checked,\n disabled: _ctx.disabled,\n indeterminate: _ctx.indeterminate,\n onChange: _ctx.checkChange\n }, {\n default: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withCtx\"])(() => _cache[1] || (_cache[1] = [\n Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createTextVNode\"])(\"全选\")\n ])),\n _: 1 /* STABLE */\n }, 8 /* PROPS */, [\"value\", \"checked\", \"disabled\", \"indeterminate\", \"onChange\"]))\n : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true)\n ], 2 /* CLASS */),\n (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(true), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderList\"])(_ctx.netDic, (item, index) => {\n return (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createBlock\"])(_component_el_option, {\n key: item[_ctx.valueKey],\n class: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"normalizeClass\"])(item[_ctx.classNameKey]),\n disabled: item[_ctx.disabledKey],\n label: _ctx.getLabelText(item) ,\n value: item[_ctx.valueKey]\n }, {\n default: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"withCtx\"])(() => [\n (_ctx.$slots.default)\n ? Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"renderSlot\"])(_ctx.$slots, \"default\", {\n key: 0,\n label: _ctx.labelKey,\n value: _ctx.valueKey,\n item: item\n })\n : (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(vue__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], { key: 1 }, [\n Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementVNode\"])(\"span\", null, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(_ctx.getLabelText(item)), 1 /* TEXT */),\n (item[_ctx.descKey])\n ? (Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"openBlock\"])(), Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createElementBlock\"])(\"span\", {\n key: 0,\n class: Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"normalizeClass\"])(_ctx.b('desc'))\n }, Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"toDisplayString\"])(item[_ctx.descKey]), 3 /* TEXT, CLASS */))\n : Object(vue__WEBPACK_IMPORTED_MODULE_0__[\"createCommentVNode\"])(\"v-if\", true)\n ], 64 /* STABLE_FRAGMENT */))\n ]),\n _: 2 /* DYNAMIC */\n }, 1032 /* PROPS, DYNAMIC_SLOTS */, [\"class\", \"disabled\", \"label\", \"value\"]))\n }), 128 /* KEYED_FRAGMENT */))\n ], 64 /* STABLE_FRAGMENT */))\n ], 64 /* STABLE_FRAGMENT */))\n ]),\n _: 3 /* FORWARDED */\n }, 40 /* PROPS, NEED_HYDRATION */, [\"class\", \"modelValue\", \"size\", \"options\", \"loading\", \"loading-text\", \"value-on-clear\", \"multiple\", \"filterable\", \"remote\", \"readonly\", \"no-match-text\", \"no-data-text\", \"remote-method\", \"popper-class\", \"popper-append-to-body\", \"collapse-tags\", \"collapse-tags-tooltip\", \"max-collapse-tags\", \"clearable\", \"placeholder\", \"onFocus\", \"onBlur\", \"onClick\", \"multiple-limit\", \"allow-create\", \"default-first-option\", \"disabled\"]))\n}\n\n//# sourceURL=webpack://AVUE/./packages/element-ui/select/index.vue?./node_modules/.pnpm/vue-loader@16.8.3_@vue+compiler-sfc@3.5.12_vue@3.5.12_webpack@4.47.0/node_modules/vue-loader/dist/templateLoader.js??ref--5!./node_modules/.pnpm/vue-loader@16.8.3_@vue+compiler-sfc@3.5.12_vue@3.5.12_webpack@4.47.0/node_modules/vue-loader/dist??ref--1");
|
3086
3086
|
|
3087
3087
|
/***/ }),
|
3088
3088
|
|
@@ -6496,7 +6496,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) *
|
|
6496
6496
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6497
6497
|
|
6498
6498
|
"use strict";
|
6499
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"version\", function() { return version; });\nvar version = '3.5.
|
6499
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"version\", function() { return version; });\nvar version = '3.5.5';\n\n//# sourceURL=webpack://AVUE/./src/version.js?");
|
6500
6500
|
|
6501
6501
|
/***/ }),
|
6502
6502
|
|