web-component-gallery 0.1.35 → 0.1.36
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/dist/form.umd.js +1 -1
- package/dist/index.umd.js +65 -10
- package/dist/multiTab.umd.js +3 -3
- package/dist/table.umd.js +1 -1
- package/dist/tree.umd.js +1 -1
- package/lib/iframe/index.js +2 -0
- package/lib/iframe/index.jsx +61 -33
- package/lib/iframe/index.less +8 -0
- package/lib/index.js +8 -2
- package/lib/layout/Header.jsx +7 -3
- package/lib/layout/components/SiderMenu/SiderMenu.jsx +1 -1
- package/lib/layout/components/SiderMenu/index.less +17 -15
- package/lib/layout/index.jsx +8 -4
- package/lib/layout/style/index.less +4 -1
- package/lib/multiTab/MultiTab.jsx +1 -0
- package/lib/multiTab/RouteContent.jsx +2 -1
- package/lib/multiTab/index.less +44 -13
- package/lib/style/color/bezierEasing.less +110 -0
- package/lib/style/color/colorPalette.less +75 -0
- package/lib/style/color/colors.less +149 -0
- package/lib/style/color/tinyColor.less +1184 -0
- package/lib/style/mixins.less +29 -4
- package/lib/style/themes/css.js +2 -0
- package/lib/style/themes/default.less +701 -0
- package/lib/style/themes/index.js +2 -0
- package/lib/style/themes/index.less +1 -0
- package/lib/tree/style/Directory.less +2 -1
- package/lib/tree/style/index.less +1 -1
- package/package.json +5 -2
- package/plugins/lib/iframe/index.jsx +61 -33
- package/plugins/lib/iframe/index.less +8 -0
- package/plugins/lib/index.js +8 -2
- package/plugins/lib/layout/Header.jsx +7 -3
- package/plugins/lib/layout/components/SiderMenu/SiderMenu.jsx +1 -1
- package/plugins/lib/layout/components/SiderMenu/index.less +17 -15
- package/plugins/lib/layout/index.jsx +8 -4
- package/plugins/lib/layout/style/index.less +4 -1
- package/plugins/lib/multiTab/MultiTab.jsx +1 -0
- package/plugins/lib/multiTab/RouteContent.jsx +2 -1
- package/plugins/lib/multiTab/index.less +44 -13
- package/plugins/lib/style/color/bezierEasing.less +110 -0
- package/plugins/lib/style/color/colorPalette.less +75 -0
- package/plugins/lib/style/color/colors.less +149 -0
- package/plugins/lib/style/color/tinyColor.less +1184 -0
- package/plugins/lib/style/mixins.less +29 -4
- package/plugins/lib/style/themes/default.less +701 -0
- package/plugins/lib/style/themes/index.less +1 -0
- package/plugins/lib/tree/style/Directory.less +2 -1
- package/plugins/lib/tree/style/index.less +1 -1
- package/lib/iframe/Iframe.jsx +0 -32
- package/lib/layout/Layout.jsx +0 -62
- package/lib/layout/components/MultiTab/APIEnums.js +0 -17
- package/lib/layout/components/MultiTab/MultiTab.jsx +0 -182
- package/lib/layout/components/MultiTab/RouteAPI.js +0 -69
- package/lib/layout/components/MultiTab/RouteContent.jsx +0 -89
- package/lib/layout/components/MultiTab/RouteKeepAlive.js +0 -183
- package/lib/layout/components/MultiTab/events.js +0 -2
- package/lib/layout/components/MultiTab/index.js +0 -15
- package/lib/layout/components/MultiTab/index.less +0 -63
- package/lib/layout/components/SiderMenu/index.css +0 -1
- package/lib/layout/style/index.css +0 -1
- package/lib/tree/style/index.css +0 -1
- package/plugins/lib/iframe/Iframe.jsx +0 -32
- /package/lib/{layout/components/MultiTab → iframe}/css.js +0 -0
package/dist/form.umd.js
CHANGED
|
@@ -7209,7 +7209,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _nod
|
|
|
7209
7209
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7210
7210
|
|
|
7211
7211
|
"use strict";
|
|
7212
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../node_modules/css-loader/dist/runtime/api.js */ \"./node_modules/css-loader/dist/runtime/api.js\");\n/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__);\n// Imports\n\nvar ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default()(function(i){return i[1]});\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \"/* 混入样式 */\\n/* 布局( 纯为了不想多写一行 */\\n/* 滚动条样式 */\\n/* 文字换行省略(默认1行)*/\\n/* flex布局 */\\n/* flex排版方式 */\\n.WebComponentFormSearch[data-v-97ec3748] {\\n gap: 16px 0;\\n display: flex;\\n gap: 0;\\n flex-direction: row;\\n flex-wrap: wrap;\\n align-items: center;\\n justify-content: flex-start;\\n}\\n.WebComponentFormSearch .ant-form-item[data-v-97ec3748] {\\n display: inline-flex;\\n margin-right: unset;\\n}\\n.WebComponentFormSearch .ant-form-item[data-v-97ec3748] .ant-form-item-label {\\n min-width: 70px;\\n max-width: 100px;\\n text-align: right;\\n}\\n.WebComponentFormSearch .ant-form-item[data-v-97ec3748] .ant-form-item-control-wrapper {\\n flex: 1;\\n}\\n.WebComponentFormSearch .ant-form-item[data-v-97ec3748] .ant-select,\\n.WebComponentFormSearch .ant-form-item[data-v-97ec3748] .ant-input-number,\\n.WebComponentFormSearch .ant-form-item[data-v-97ec3748] .ant-calendar-picker {\\n width: 100% !important;\\n}\\n.WebComponentFormSearch__Actions[data-v-97ec3748] {\\n flex: 1;\\n text-align: right;\\n margin-right: 16px;\\n}\\n\", \"\"]);\n// Exports\n/* harmony default export */ __webpack_exports__[\"default\"] = (___CSS_LOADER_EXPORT___);\n\n\n//# sourceURL=webpack://mui/./plugins/lib/form/Search.vue?./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-2.use%5B2%5D!./node_modules/vue-loader/lib/index.js??vue-loader-options");
|
|
7212
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../node_modules/css-loader/dist/runtime/api.js */ \"./node_modules/css-loader/dist/runtime/api.js\");\n/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__);\n// Imports\n\nvar ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default()(function(i){return i[1]});\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \"/* 混入样式 */\\n/* 布局( 纯为了不想多写一行 */\\n/* 正方体盒子 */\\n/* 滚动条样式 */\\n/* 文字换行省略(默认1行)*/\\n/* flex布局 */\\n/* flex排版方式 */\\n.WebComponentFormSearch[data-v-97ec3748] {\\n gap: 16px 0;\\n display: flex;\\n gap: 0;\\n flex-direction: row;\\n flex-wrap: wrap;\\n align-items: center;\\n justify-content: flex-start;\\n}\\n.WebComponentFormSearch .ant-form-item[data-v-97ec3748] {\\n display: inline-flex;\\n margin-right: unset;\\n}\\n.WebComponentFormSearch .ant-form-item[data-v-97ec3748] .ant-form-item-label {\\n min-width: 70px;\\n max-width: 100px;\\n text-align: right;\\n}\\n.WebComponentFormSearch .ant-form-item[data-v-97ec3748] .ant-form-item-control-wrapper {\\n flex: 1;\\n}\\n.WebComponentFormSearch .ant-form-item[data-v-97ec3748] .ant-select,\\n.WebComponentFormSearch .ant-form-item[data-v-97ec3748] .ant-input-number,\\n.WebComponentFormSearch .ant-form-item[data-v-97ec3748] .ant-calendar-picker {\\n width: 100% !important;\\n}\\n.WebComponentFormSearch__Actions[data-v-97ec3748] {\\n flex: 1;\\n text-align: right;\\n margin-right: 16px;\\n}\\n\", \"\"]);\n// Exports\n/* harmony default export */ __webpack_exports__[\"default\"] = (___CSS_LOADER_EXPORT___);\n\n\n//# sourceURL=webpack://mui/./plugins/lib/form/Search.vue?./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-2.use%5B2%5D!./node_modules/vue-loader/lib/index.js??vue-loader-options");
|
|
7213
7213
|
|
|
7214
7214
|
/***/ }),
|
|
7215
7215
|
|
package/dist/index.umd.js
CHANGED
|
@@ -8575,6 +8575,17 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
|
8575
8575
|
|
|
8576
8576
|
/***/ }),
|
|
8577
8577
|
|
|
8578
|
+
/***/ "./plugins/lib/iframe/index.jsx":
|
|
8579
|
+
/*!**************************************!*\
|
|
8580
|
+
!*** ./plugins/lib/iframe/index.jsx ***!
|
|
8581
|
+
\**************************************/
|
|
8582
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
8583
|
+
|
|
8584
|
+
"use strict";
|
|
8585
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var ant_design_vue_es_util_vue_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ant-design-vue/es/_util/vue-types */ \"./node_modules/ant-design-vue/es/_util/vue-types/index.js\");\n\nconst IframeContainerProps = {\n activeKey: ant_design_vue_es_util_vue_types__WEBPACK_IMPORTED_MODULE_0__[\"default\"].string,\n checkedKey: ant_design_vue_es_util_vue_types__WEBPACK_IMPORTED_MODULE_0__[\"default\"].string.def('name'),\n linkurlKey: ant_design_vue_es_util_vue_types__WEBPACK_IMPORTED_MODULE_0__[\"default\"].string.def('linkUrl'),\n componentsArr: ant_design_vue_es_util_vue_types__WEBPACK_IMPORTED_MODULE_0__[\"default\"].array,\n postMessage: ant_design_vue_es_util_vue_types__WEBPACK_IMPORTED_MODULE_0__[\"default\"].object\n};\nconst IframeContainer = {\n name: 'IframeComp',\n // functional: true,\n props: IframeContainerProps,\n //component: { Iframe },\n render(h, content) {\n const {\n $props\n } = this;\n const {\n activeKey,\n checkedKey,\n linkurlKey,\n componentsArr\n } = $props;\n const IframeComponents = componentsArr.map(componentItem => {\n return h(\"iframe\", {\n \"attrs\": {\n \"width\": \"100%\",\n \"height\": \"100%\",\n \"src\": componentItem[linkurlKey]\n },\n \"ref\": componentItem[linkurlKey],\n \"key\": componentItem[checkedKey],\n \"style\": {\n border: 'none',\n display: activeKey === componentItem[checkedKey] ? 'block' : 'none'\n }\n });\n });\n return h(\"div\", {\n \"class\": \"ant-pro-grid-content-page\"\n }, [IframeComponents]);\n },\n watch: {\n // activeKey(newVal) { \n // this.postIframeMessage()\n // },\n activeKeyAndParams: {\n handler(newVal, oldVal) {\n this.postIframeMessage();\n },\n deep: true\n }\n },\n computed: {\n activeKeyAndParams() {\n const {\n activeKey,\n postMessage\n } = this;\n return {\n activeKey,\n postMessage\n };\n }\n },\n mounted() {\n this.postIframeMessage();\n },\n methods: {\n postIframeMessage() {\n this.$nextTick(() => {\n const {\n componentsArr,\n activeKey,\n checkedKey,\n linkurlKey,\n postMessage\n } = this;\n const refKey = componentsArr.find(componentItem => activeKey === componentItem[checkedKey])[linkurlKey];\n const timer = setTimeout(() => {\n this.iframeWin = this.$refs[refKey].contentWindow;\n this.iframeWin.postMessage({\n type: 'refreshPage',\n params: {\n ...postMessage,\n name: activeKey\n }\n }, '*');\n clearTimeout(timer);\n }, 600);\n });\n }\n }\n};\nIframeContainer.install = function (Vue) {\n Vue.component('IframeComponent', IframeContainer);\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (IframeContainer);\n\n//# sourceURL=webpack://mui/./plugins/lib/iframe/index.jsx?");
|
|
8586
|
+
|
|
8587
|
+
/***/ }),
|
|
8588
|
+
|
|
8578
8589
|
/***/ "./plugins/lib/index.js":
|
|
8579
8590
|
/*!******************************!*\
|
|
8580
8591
|
!*** ./plugins/lib/index.js ***!
|
|
@@ -8582,7 +8593,29 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
|
8582
8593
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
8583
8594
|
|
|
8584
8595
|
"use strict";
|
|
8585
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ Avatar: function() { return /* reexport safe */ _avatar__WEBPACK_IMPORTED_MODULE_3__[\"default\"]; },\n/* harmony export */ Button: function() { return /* reexport safe */ _button__WEBPACK_IMPORTED_MODULE_2__[\"default\"]; },\n/* harmony export */ DateTime: function() { return /* reexport safe */ _dateTime__WEBPACK_IMPORTED_MODULE_6__[\"default\"]; },\n/* harmony export */ Directory: function() { return /* reexport safe */ _tree__WEBPACK_IMPORTED_MODULE_5__.Directory; },\n/* harmony export */ FormComp: function() { return /* reexport safe */ _form__WEBPACK_IMPORTED_MODULE_1__[\"default\"]; },\n/* harmony export */ Layout: function() { return /* reexport safe */ _layout_index_jsx__WEBPACK_IMPORTED_MODULE_8__[\"default\"]; },\n/* harmony export */ Model: function() { return /* reexport safe */ _form__WEBPACK_IMPORTED_MODULE_1__.Model; },\n/* harmony export */ MultiTab: function() { return /* reexport safe */
|
|
8596
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ Avatar: function() { return /* reexport safe */ _avatar__WEBPACK_IMPORTED_MODULE_3__[\"default\"]; },\n/* harmony export */ Button: function() { return /* reexport safe */ _button__WEBPACK_IMPORTED_MODULE_2__[\"default\"]; },\n/* harmony export */ DateTime: function() { return /* reexport safe */ _dateTime__WEBPACK_IMPORTED_MODULE_6__[\"default\"]; },\n/* harmony export */ Directory: function() { return /* reexport safe */ _tree__WEBPACK_IMPORTED_MODULE_5__.Directory; },\n/* harmony export */ FormComp: function() { return /* reexport safe */ _form__WEBPACK_IMPORTED_MODULE_1__[\"default\"]; },\n/* harmony export */ Header: function() { return /* reexport safe */ _layout_Header_jsx__WEBPACK_IMPORTED_MODULE_9__[\"default\"]; },\n/* harmony export */ IframePage: function() { return /* reexport safe */ _iframe_index_jsx__WEBPACK_IMPORTED_MODULE_11__[\"default\"]; },\n/* harmony export */ Layout: function() { return /* reexport safe */ _layout_index_jsx__WEBPACK_IMPORTED_MODULE_8__[\"default\"]; },\n/* harmony export */ Model: function() { return /* reexport safe */ _form__WEBPACK_IMPORTED_MODULE_1__.Model; },\n/* harmony export */ MultiTab: function() { return /* reexport safe */ _multiTab__WEBPACK_IMPORTED_MODULE_10__[\"default\"]; },\n/* harmony export */ Search: function() { return /* reexport safe */ _form__WEBPACK_IMPORTED_MODULE_1__.Search; },\n/* harmony export */ SvgIcon: function() { return /* reexport safe */ _svgIcon__WEBPACK_IMPORTED_MODULE_4__[\"default\"]; },\n/* harmony export */ Table: function() { return /* reexport safe */ _table__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; },\n/* harmony export */ Tree: function() { return /* reexport safe */ _tree__WEBPACK_IMPORTED_MODULE_5__.Tree; },\n/* harmony export */ Weather: function() { return /* reexport safe */ _weather__WEBPACK_IMPORTED_MODULE_7__[\"default\"]; }\n/* harmony export */ });\n/* harmony import */ var _table__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./table */ \"./plugins/lib/table/index.js\");\n/* harmony import */ var _form__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./form */ \"./plugins/lib/form/index.js\");\n/* harmony import */ var _button__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./button */ \"./plugins/lib/button/index.js\");\n/* harmony import */ var _avatar__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./avatar */ \"./plugins/lib/avatar/index.js\");\n/* harmony import */ var _svgIcon__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./svgIcon */ \"./plugins/lib/svgIcon/index.js\");\n/* harmony import */ var _tree__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./tree */ \"./plugins/lib/tree/index.js\");\n/* harmony import */ var _dateTime__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./dateTime */ \"./plugins/lib/dateTime/index.js\");\n/* harmony import */ var _weather__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./weather */ \"./plugins/lib/weather/index.js\");\n/* harmony import */ var _layout_index_jsx__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./layout/index.jsx */ \"./plugins/lib/layout/index.jsx\");\n/* harmony import */ var _layout_Header_jsx__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./layout/Header.jsx */ \"./plugins/lib/layout/Header.jsx\");\n/* harmony import */ var _multiTab__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./multiTab */ \"./plugins/lib/multiTab/index.js\");\n/* harmony import */ var _iframe_index_jsx__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./iframe/index.jsx */ \"./plugins/lib/iframe/index.jsx\");\n// 按需引入ant-design-vue必要指令组件\n// import './lazy_use'\n\n// 将组件库中定义的所有组件引入并导出\n\n\n\n\n\n\n\n\n\n\n\n\nconst components = {\n Table: _table__WEBPACK_IMPORTED_MODULE_0__[\"default\"],\n Model: _form__WEBPACK_IMPORTED_MODULE_1__.Model,\n Search: _form__WEBPACK_IMPORTED_MODULE_1__.Search,\n FormComp: _form__WEBPACK_IMPORTED_MODULE_1__[\"default\"],\n Button: _button__WEBPACK_IMPORTED_MODULE_2__[\"default\"],\n Avatar: _avatar__WEBPACK_IMPORTED_MODULE_3__[\"default\"],\n SvgIcon: _svgIcon__WEBPACK_IMPORTED_MODULE_4__[\"default\"],\n Tree: _tree__WEBPACK_IMPORTED_MODULE_5__.Tree,\n Directory: _tree__WEBPACK_IMPORTED_MODULE_5__.Directory,\n DateTime: _dateTime__WEBPACK_IMPORTED_MODULE_6__[\"default\"],\n Weather: _weather__WEBPACK_IMPORTED_MODULE_7__[\"default\"],\n Layout: _layout_index_jsx__WEBPACK_IMPORTED_MODULE_8__[\"default\"],\n Header: _layout_Header_jsx__WEBPACK_IMPORTED_MODULE_9__[\"default\"],\n MultiTab: _multiTab__WEBPACK_IMPORTED_MODULE_10__[\"default\"],\n IframePage: _iframe_index_jsx__WEBPACK_IMPORTED_MODULE_11__[\"default\"]\n};\nconst install = function (Vue) {\n if (install.installed) return;\n Object.keys(components).forEach(component => {\n Vue.component(components[component].name, components[component]);\n });\n};\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n install,\n ...components\n});\n\n//# sourceURL=webpack://mui/./plugins/lib/index.js?");
|
|
8597
|
+
|
|
8598
|
+
/***/ }),
|
|
8599
|
+
|
|
8600
|
+
/***/ "./plugins/lib/layout/Header.jsx":
|
|
8601
|
+
/*!***************************************!*\
|
|
8602
|
+
!*** ./plugins/lib/layout/Header.jsx ***!
|
|
8603
|
+
\***************************************/
|
|
8604
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
8605
|
+
|
|
8606
|
+
"use strict";
|
|
8607
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ HeaderViewProps: function() { return /* binding */ HeaderViewProps; }\n/* harmony export */ });\n/* harmony import */ var _Header_less__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Header.less */ \"./plugins/lib/layout/Header.less\");\n/* harmony import */ var ant_design_vue_es_util_vue_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ant-design-vue/es/_util/vue-types */ \"./node_modules/ant-design-vue/es/_util/vue-types/index.js\");\n/* harmony import */ var _utils_util__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./utils/util */ \"./plugins/lib/layout/utils/util.js\");\n/* harmony import */ var _components_RightContent_index_jsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./components/RightContent/index.jsx */ \"./plugins/lib/layout/components/RightContent/index.jsx\");\n\n\n\n\nconst HeaderViewProps = {\n headerTitle: ant_design_vue_es_util_vue_types__WEBPACK_IMPORTED_MODULE_3__[\"default\"].string.def('项目名称'),\n headerRender: ant_design_vue_es_util_vue_types__WEBPACK_IMPORTED_MODULE_3__[\"default\"].any,\n rightContentRender: ant_design_vue_es_util_vue_types__WEBPACK_IMPORTED_MODULE_3__[\"default\"].any\n};\nconst rightContentRenderFun = (h, props) => {\n const {\n rightContentRender,\n slotRightContentRender\n } = props;\n if (rightContentRender === false) {\n return null;\n }\n return (0,_utils_util__WEBPACK_IMPORTED_MODULE_1__.isFun)(rightContentRender) && rightContentRender(h) || slotRightContentRender || h(_components_RightContent_index_jsx__WEBPACK_IMPORTED_MODULE_2__[\"default\"]);\n};\nconst HeaderView = {\n name: 'HeaderView',\n props: HeaderViewProps,\n render(h, content) {\n const {\n headerTitle,\n rightContentRender\n } = this.$props;\n const logoRender = (0,_utils_util__WEBPACK_IMPORTED_MODULE_1__.getComponentFromProp)(content, 'logoRender');\n const slotRightContentRender = (0,_utils_util__WEBPACK_IMPORTED_MODULE_1__.getComponentFromProp)(content, 'rightContentRender');\n const cdProps = {\n rightContentRender,\n slotRightContentRender\n };\n return h(\"div\", {\n \"class\": \"pro-layout-head\"\n }, [h(\"div\", {\n \"class\": \"pro-layout-head-title\"\n }, [logoRender, h(\"span\", [{\n headerTitle\n }])]), rightContentRenderFun(h, cdProps)]);\n }\n};\nHeaderView.install = function (Vue) {\n Vue.component('HeaderLayout', HeaderView);\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (HeaderView);\n\n//# sourceURL=webpack://mui/./plugins/lib/layout/Header.jsx?");
|
|
8608
|
+
|
|
8609
|
+
/***/ }),
|
|
8610
|
+
|
|
8611
|
+
/***/ "./plugins/lib/layout/components/RightContent/index.jsx":
|
|
8612
|
+
/*!**************************************************************!*\
|
|
8613
|
+
!*** ./plugins/lib/layout/components/RightContent/index.jsx ***!
|
|
8614
|
+
\**************************************************************/
|
|
8615
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
8616
|
+
|
|
8617
|
+
"use strict";
|
|
8618
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ RightContentProps: function() { return /* binding */ RightContentProps; }\n/* harmony export */ });\n/* harmony import */ var ant_design_vue_es_util_vue_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ant-design-vue/es/_util/vue-types */ \"./node_modules/ant-design-vue/es/_util/vue-types/index.js\");\n\n// import { getComponentFromProp } from '../utils/util'\n\nconst RightContentProps = {\n rightContentDeafultRender: ant_design_vue_es_util_vue_types__WEBPACK_IMPORTED_MODULE_0__[\"default\"].any\n};\nconst RightContent = {\n name: 'RightContent',\n props: RightContentProps,\n render(h) {\n // const rightContentDeafultRender = getComponentFromProp(content, 'rightContentDeafultRender') \n\n return h(\"div\", {\n \"class\": \"pro-layout-head-right\"\n });\n }\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (RightContent);\n\n//# sourceURL=webpack://mui/./plugins/lib/layout/components/RightContent/index.jsx?");
|
|
8586
8619
|
|
|
8587
8620
|
/***/ }),
|
|
8588
8621
|
|
|
@@ -8648,7 +8681,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
|
8648
8681
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
8649
8682
|
|
|
8650
8683
|
"use strict";
|
|
8651
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ BasicLayoutProps: function() { return /* binding */ BasicLayoutProps; }\n/* harmony export */ });\n/* harmony import */ var ant_design_vue_es_layout__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ant-design-vue/es/layout */ \"./node_modules/ant-design-vue/es/layout/index.js\");\n/* harmony import */ var _style_index_less__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./style/index.less */ \"./plugins/lib/layout/style/index.less\");\n/* harmony import */ var _components_SiderMenu_index_jsx__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./components/SiderMenu/index.jsx */ \"./plugins/lib/layout/components/SiderMenu/index.jsx\");\n/* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./components */ \"./plugins/lib/layout/components/index.js\");\n/* harmony import */ var _utils_util__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./utils/util */ \"./plugins/lib/layout/utils/util.js\");\n\n\n\n\n\nconst {\n Content
|
|
8684
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ BasicLayoutProps: function() { return /* binding */ BasicLayoutProps; }\n/* harmony export */ });\n/* harmony import */ var ant_design_vue_es_layout__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ant-design-vue/es/layout */ \"./node_modules/ant-design-vue/es/layout/index.js\");\n/* harmony import */ var _style_index_less__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./style/index.less */ \"./plugins/lib/layout/style/index.less\");\n/* harmony import */ var ant_design_vue_es_util_vue_types__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ant-design-vue/es/_util/vue-types */ \"./node_modules/ant-design-vue/es/_util/vue-types/index.js\");\n/* harmony import */ var _components_SiderMenu_index_jsx__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./components/SiderMenu/index.jsx */ \"./plugins/lib/layout/components/SiderMenu/index.jsx\");\n/* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./components */ \"./plugins/lib/layout/components/index.js\");\n/* harmony import */ var _utils_util__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./utils/util */ \"./plugins/lib/layout/utils/util.js\");\n\n\n\n\n\n\nconst {\n Content\n} = ant_design_vue_es_layout__WEBPACK_IMPORTED_MODULE_4__[\"default\"];\nconst BasicLayoutProps = {\n theme: ant_design_vue_es_util_vue_types__WEBPACK_IMPORTED_MODULE_5__[\"default\"].string.def('light'),\n ..._components_SiderMenu_index_jsx__WEBPACK_IMPORTED_MODULE_1__.SiderMenuProps\n};\nconst BasicLayout = {\n name: 'BasicLayout',\n functional: true,\n props: BasicLayoutProps,\n render(h, content) {\n const {\n props,\n children\n } = content;\n const contentHeaderRender = (0,_utils_util__WEBPACK_IMPORTED_MODULE_3__.getComponentFromProp)(content, 'contentHeaderRender');\n const {\n theme,\n layout,\n collapsed,\n handleCollapse,\n siderWidth\n } = props;\n const cdProps = {\n ...props\n };\n console.log(content);\n return h(ant_design_vue_es_layout__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n \"class\": {\n 'ant-pro-basicLayout': true\n }\n }, [h(_components__WEBPACK_IMPORTED_MODULE_2__.SiderMenuWrapper, {\n \"props\": {\n ...cdProps\n },\n \"attrs\": {\n \"collapsed\": collapsed\n },\n \"on\": {\n \"collapse\": handleCollapse\n }\n }), h(ant_design_vue_es_layout__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n \"class\": [layout]\n }, [contentHeaderRender, h(Content, {\n \"class\": \"ant-pro-content\",\n \"attrs\": {\n \"contentWidth\": props.contentWidth\n }\n }, [children])])]);\n }\n};\nBasicLayout.install = function (Vue) {\n Vue.component('ProLayout', BasicLayout);\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (BasicLayout);\n\n//# sourceURL=webpack://mui/./plugins/lib/layout/index.jsx?");
|
|
8652
8685
|
|
|
8653
8686
|
/***/ }),
|
|
8654
8687
|
|
|
@@ -8681,7 +8714,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
|
8681
8714
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
8682
8715
|
|
|
8683
8716
|
"use strict";
|
|
8684
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _vue_babel_helper_vue_jsx_merge_props__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @vue/babel-helper-vue-jsx-merge-props */ \"./node_modules/@vue/babel-helper-vue-jsx-merge-props/dist/helper.js\");\n/* harmony import */ var _vue_babel_helper_vue_jsx_merge_props__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_vue_babel_helper_vue_jsx_merge_props__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.push.js */ \"./node_modules/core-js/modules/es.array.push.js\");\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _events__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./events */ \"./plugins/lib/multiTab/events.js\");\n/* harmony import */ var _APIEnums__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./APIEnums */ \"./plugins/lib/multiTab/APIEnums.js\");\n/* harmony import */ var ant_design_vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ant-design-vue */ \"./node_modules/ant-design-vue/es/menu/index.js\");\n/* harmony import */ var ant_design_vue__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ant-design-vue */ \"./node_modules/ant-design-vue/es/dropdown/index.js\");\n/* harmony import */ var ant_design_vue__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ant-design-vue */ \"./node_modules/ant-design-vue/es/tabs/index.js\");\n/* harmony import */ var ant_design_vue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ant-design-vue */ \"./node_modules/ant-design-vue/es/button/index.js\");\n/* harmony import */ var ant_design_vue__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ant-design-vue */ \"./node_modules/ant-design-vue/es/icon/index.js\");\n/* harmony import */ var _index_less__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./index.less */ \"./plugins/lib/multiTab/index.less\");\n\n\n\n\n\n// import { i18nRender } from '@/locales'\n\nconst customStyle = {\n background: '#FFF',\n margin: 0,\n paddingLeft: '16px',\n paddingTop: '1px'\n};\nconst eventKey = {\n 'closeThat': _APIEnums__WEBPACK_IMPORTED_MODULE_3__.TAB_BINDING.TAB_CLOSE,\n 'closeRight': _APIEnums__WEBPACK_IMPORTED_MODULE_3__.TAB_BINDING.TAB_CLOSE_RIGHT,\n 'closeLeft': _APIEnums__WEBPACK_IMPORTED_MODULE_3__.TAB_BINDING.TAB_CLOSE_LEFT,\n 'closeAll': _APIEnums__WEBPACK_IMPORTED_MODULE_3__.TAB_BINDING.TAB_CLOSE_ALL\n};\nconst i18nRender = context => context;\nconst renderTabMenu = (h, path) => {\n const props = {\n on: {\n click: ({\n key,\n item,\n domEvent\n }) => {\n console.log('key', path);\n console.log(key, item, domEvent);\n _events__WEBPACK_IMPORTED_MODULE_2__[\"default\"].$emit(eventKey[key], path);\n }\n }\n };\n return h(ant_design_vue__WEBPACK_IMPORTED_MODULE_5__[\"default\"], _vue_babel_helper_vue_jsx_merge_props__WEBPACK_IMPORTED_MODULE_0___default()([{}, props]), [h(ant_design_vue__WEBPACK_IMPORTED_MODULE_5__[\"default\"].Item, {\n \"key\": \"closeThat\"\n }, [\"\\u5173\\u95ED\\u5F53\\u524D\\u6807\\u7B7E\"]), h(ant_design_vue__WEBPACK_IMPORTED_MODULE_5__[\"default\"].Item, {\n \"key\": \"closeRight\"\n }, [\"\\u5173\\u95ED\\u53F3\\u4FA7\"]), h(ant_design_vue__WEBPACK_IMPORTED_MODULE_5__[\"default\"].Item, {\n \"key\": \"closeLeft\"\n }, [\"\\u5173\\u95ED\\u5DE6\\u4FA7\"]), h(ant_design_vue__WEBPACK_IMPORTED_MODULE_5__[\"default\"].Item, {\n \"key\": \"closeAll\"\n }, [\"\\u5173\\u95ED\\u5168\\u90E8\"])]);\n};\nconst renderTabDropDown = (h, title, keyPath, handles) => {\n const handleReload = () => {\n handles['reload'](keyPath);\n };\n const menus = renderTabMenu(h, keyPath);\n return h(ant_design_vue__WEBPACK_IMPORTED_MODULE_6__[\"default\"], {\n \"attrs\": {\n \"overlay\": menus,\n \"trigger\": ['contextmenu']\n }\n }, [h(\"span\", [h(\"span\", {\n \"class\": 'ant-pro-multi-tab-title'\n }, [title])])]);\n};\nconst MultiTab = {\n name: 'MultiTab',\n props: {\n contentWidth: {\n type: Boolean,\n default: false\n }\n },\n data() {\n return {\n activeKey: '',\n pages: [],\n fullPathList: []\n };\n },\n render(h) {\n const {\n $data: {\n pages\n },\n contentWidth\n } = this;\n const handles = {\n cls: keyPath => {\n // console.log('close', keyPath) \n // this.closeThat(keyPath)\n this.$tab.close(keyPath, false);\n },\n reload: keyPath => {\n this.$tab.refresh(keyPath);\n }\n };\n const tabPanels = pages.map(page => {\n const title = page.meta.customTitle || page.meta.title;\n return h(ant_design_vue__WEBPACK_IMPORTED_MODULE_7__[\"default\"].TabPane, {\n \"style\": {\n height: 0\n },\n \"key\": page.fullPath,\n \"attrs\": {\n \"tab\": renderTabDropDown(h, i18nRender(title), page.fullPath, handles),\n \"closable\": pages.length > 1\n }\n });\n });\n const edit = (targetKey, action) => {\n console.log('editTab:', targetKey, 'action:', action);\n this[action](targetKey);\n };\n const handleMenuClick = ({\n key\n }) => {\n this[key](this.activeKey);\n };\n const controlMenu = h(ant_design_vue__WEBPACK_IMPORTED_MODULE_6__[\"default\"], {\n \"slot\": \"tabBarExtraContent\",\n \"style\": {\n marginRight: '8px'\n }\n }, [h(ant_design_vue__WEBPACK_IMPORTED_MODULE_5__[\"default\"], {\n \"slot\": \"overlay\",\n \"on\": {\n \"click\": handleMenuClick\n }\n }, [h(ant_design_vue__WEBPACK_IMPORTED_MODULE_5__[\"default\"].Item, {\n \"key\": \"closeThat\"\n }, [\"\\u5173\\u95ED\\u5F53\\u524D\"]), h(ant_design_vue__WEBPACK_IMPORTED_MODULE_5__[\"default\"].Item, {\n \"key\": \"closeAll\"\n }, [\"\\u5173\\u95ED\\u5176\\u4ED6\"])]), h(ant_design_vue__WEBPACK_IMPORTED_MODULE_8__[\"default\"], {\n \"attrs\": {\n \"icon\": 'align-left',\n \"type\": 'link'\n }\n }, [h(ant_design_vue__WEBPACK_IMPORTED_MODULE_9__[\"default\"], {\n \"attrs\": {\n \"type\": \"down\"\n }\n })])]);\n return h(\"div\", {\n \"class\": ['ant-pro-multi-tab', contentWidth ? 'wide' : null]\n }, [h(\"div\", {\n \"class\": 'ant-pro-multi-tab-wrapper'\n }, [h(ant_design_vue__WEBPACK_IMPORTED_MODULE_7__[\"default\"], {\n \"attrs\": {\n \"hideAdd\": true,\n \"type\": 'editable-card',\n \"tabBarStyle\": customStyle\n },\n \"on\": {\n \"edit\": edit\n },\n \"model\": {\n value: this.activeKey,\n callback: $$v => {\n this.activeKey = $$v;\n }\n }\n }, [tabPanels, controlMenu])])]);\n },\n created() {\n const {\n pages,\n fullPathList\n } = this;\n _events__WEBPACK_IMPORTED_MODULE_2__[\"default\"].$on(_APIEnums__WEBPACK_IMPORTED_MODULE_3__.TAB_BINDING.TAB_CLOSE, val => {\n this.closeThat(val);\n }).$on(_APIEnums__WEBPACK_IMPORTED_MODULE_3__.TAB_BINDING.TAB_CLOSE_RIGHT, val => {\n this.closeRight(val);\n console.log('hook:tab:closeRight', val);\n }).$on(_APIEnums__WEBPACK_IMPORTED_MODULE_3__.TAB_BINDING.TAB_CLOSE_LEFT, val => {\n this.closeLeft(val);\n console.log('hook:tab:closeLeft', val);\n }).$on(_APIEnums__WEBPACK_IMPORTED_MODULE_3__.TAB_BINDING.TAB_CLOSE_ALL, val => {\n this.closeAll(val);\n console.log('hook:tab:closeAll', val);\n }).$on('hook:tab:rename', val => {\n // console.log('hook:tab:rename', val)\n });\n pages.push(this.$route);\n fullPathList.push(this.$route.fullPath);\n this.activeLastTab();\n this.$watch('$route', newVal => {\n const {\n fullPath,\n params\n } = newVal;\n if (this.activeKey !== fullPath) {\n this.activeKey = fullPath;\n }\n if (this.fullPathList.indexOf(fullPath) < 0) {\n this.fullPathList.push(fullPath);\n /** 向外抛出打开方法 */\n this.$tab.open(newVal);\n if (params && params._tabName) {\n const newPage = Object.assign({}, newVal, {\n meta: {\n customTitle: params._tabName\n }\n });\n this.pages.push(newPage);\n } else {\n this.pages.push(newVal);\n }\n }\n });\n this.$watch('activeKey', pathKey => {\n this.$router.push({\n path: pathKey\n });\n /** 激活路由时记录信息 */\n this.$tab.activeTab(this.$route);\n });\n },\n mounted() {\n /** 延迟执行,记录第一次路由 */\n // let timer=setTimeout(()=>{\n // this.$tab.open(this.$route)\n // clearTimeout(timer)\n // }, 60)\n },\n methods: {\n activeLastTab() {\n this.activeKey = this.fullPathList[this.fullPathList.length - 1];\n },\n remove(targetKey) {\n this.closeThat(targetKey);\n },\n closeThat(targetKey) {\n if (this.fullPathList.length > 1) {\n this.pages = this.pages.filter(page => page.fullPath !== targetKey);\n this.fullPathList = this.fullPathList.filter(path => path !== targetKey);\n this.activeLastTab();\n /** 向外抛出关闭方法 */\n let cache = true;\n try {\n const majorPath = targetKey.split('?')[0];\n cache = this.fullPathList.some(path => path.includes('?') && path.split('?')[0] === majorPath);\n this.$tab.close(majorPath, cache);\n } catch {\n this.$tab.close(targetKey, cache);\n }\n console.log(cache, '是否缓存');\n }\n },\n closeLeft(e) {\n const currentIndex = this.fullPathList.indexOf(e);\n if (currentIndex > 0) {\n this.fullPathList.forEach((item, index) => {\n if (index < currentIndex) {\n this.remove(item);\n }\n });\n }\n },\n closeRight(e) {\n const currentIndex = this.fullPathList.indexOf(e);\n if (currentIndex < this.fullPathList.length - 1) {\n this.fullPathList.forEach((item, index) => {\n if (index > currentIndex) {\n this.remove(item);\n }\n });\n }\n },\n closeAll(e) {\n const currentIndex = this.fullPathList.indexOf(e);\n this.fullPathList.forEach((item, index) => {\n if (index !== currentIndex) {\n this.remove(item);\n }\n });\n }\n }\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (MultiTab);\n\n//# sourceURL=webpack://mui/./plugins/lib/multiTab/MultiTab.jsx?");
|
|
8717
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _vue_babel_helper_vue_jsx_merge_props__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @vue/babel-helper-vue-jsx-merge-props */ \"./node_modules/@vue/babel-helper-vue-jsx-merge-props/dist/helper.js\");\n/* harmony import */ var _vue_babel_helper_vue_jsx_merge_props__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_vue_babel_helper_vue_jsx_merge_props__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.push.js */ \"./node_modules/core-js/modules/es.array.push.js\");\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _events__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./events */ \"./plugins/lib/multiTab/events.js\");\n/* harmony import */ var _APIEnums__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./APIEnums */ \"./plugins/lib/multiTab/APIEnums.js\");\n/* harmony import */ var ant_design_vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ant-design-vue */ \"./node_modules/ant-design-vue/es/menu/index.js\");\n/* harmony import */ var ant_design_vue__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ant-design-vue */ \"./node_modules/ant-design-vue/es/dropdown/index.js\");\n/* harmony import */ var ant_design_vue__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ant-design-vue */ \"./node_modules/ant-design-vue/es/tabs/index.js\");\n/* harmony import */ var ant_design_vue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ant-design-vue */ \"./node_modules/ant-design-vue/es/button/index.js\");\n/* harmony import */ var ant_design_vue__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ant-design-vue */ \"./node_modules/ant-design-vue/es/icon/index.js\");\n/* harmony import */ var _index_less__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./index.less */ \"./plugins/lib/multiTab/index.less\");\n\n\n\n\n\n// import { i18nRender } from '@/locales'\n\nconst customStyle = {\n background: '#FFF',\n margin: 0,\n paddingLeft: '16px',\n paddingTop: '1px'\n};\nconst eventKey = {\n 'closeThat': _APIEnums__WEBPACK_IMPORTED_MODULE_3__.TAB_BINDING.TAB_CLOSE,\n 'closeRight': _APIEnums__WEBPACK_IMPORTED_MODULE_3__.TAB_BINDING.TAB_CLOSE_RIGHT,\n 'closeLeft': _APIEnums__WEBPACK_IMPORTED_MODULE_3__.TAB_BINDING.TAB_CLOSE_LEFT,\n 'closeAll': _APIEnums__WEBPACK_IMPORTED_MODULE_3__.TAB_BINDING.TAB_CLOSE_ALL\n};\nconst i18nRender = context => context;\nconst renderTabMenu = (h, path) => {\n const props = {\n on: {\n click: ({\n key,\n item,\n domEvent\n }) => {\n console.log('key', path);\n console.log(key, item, domEvent);\n _events__WEBPACK_IMPORTED_MODULE_2__[\"default\"].$emit(eventKey[key], path);\n }\n }\n };\n return h(ant_design_vue__WEBPACK_IMPORTED_MODULE_5__[\"default\"], _vue_babel_helper_vue_jsx_merge_props__WEBPACK_IMPORTED_MODULE_0___default()([{}, props]), [h(ant_design_vue__WEBPACK_IMPORTED_MODULE_5__[\"default\"].Item, {\n \"key\": \"closeThat\"\n }, [\"\\u5173\\u95ED\\u5F53\\u524D\\u6807\\u7B7E\"]), h(ant_design_vue__WEBPACK_IMPORTED_MODULE_5__[\"default\"].Item, {\n \"key\": \"closeRight\"\n }, [\"\\u5173\\u95ED\\u53F3\\u4FA7\"]), h(ant_design_vue__WEBPACK_IMPORTED_MODULE_5__[\"default\"].Item, {\n \"key\": \"closeLeft\"\n }, [\"\\u5173\\u95ED\\u5DE6\\u4FA7\"]), h(ant_design_vue__WEBPACK_IMPORTED_MODULE_5__[\"default\"].Item, {\n \"key\": \"closeAll\"\n }, [\"\\u5173\\u95ED\\u5168\\u90E8\"])]);\n};\nconst renderTabDropDown = (h, title, keyPath, handles) => {\n const handleReload = () => {\n handles['reload'](keyPath);\n };\n const menus = renderTabMenu(h, keyPath);\n return h(ant_design_vue__WEBPACK_IMPORTED_MODULE_6__[\"default\"], {\n \"attrs\": {\n \"overlay\": menus,\n \"trigger\": ['contextmenu']\n }\n }, [h(\"span\", [h(\"span\", {\n \"class\": 'ant-pro-multi-tab-title'\n }, [title])])]);\n};\nconst MultiTab = {\n name: 'MultiTab',\n props: {\n contentWidth: {\n type: Boolean,\n default: false\n }\n },\n data() {\n return {\n activeKey: '',\n pages: [],\n fullPathList: []\n };\n },\n render(h) {\n const {\n $data: {\n pages\n },\n contentWidth\n } = this;\n const handles = {\n cls: keyPath => {\n // console.log('close', keyPath) \n // this.closeThat(keyPath)\n this.$tab.close(keyPath, false);\n },\n reload: keyPath => {\n this.$tab.refresh(keyPath);\n }\n };\n const tabPanels = pages.map(page => {\n const title = page.meta.customTitle || page.meta.title;\n return h(ant_design_vue__WEBPACK_IMPORTED_MODULE_7__[\"default\"].TabPane, {\n \"style\": {\n height: 0\n },\n \"key\": page.fullPath,\n \"attrs\": {\n \"tab\": renderTabDropDown(h, i18nRender(title), page.fullPath, handles),\n \"closable\": pages.length > 1\n }\n });\n });\n const edit = (targetKey, action) => {\n console.log('editTab:', targetKey, 'action:', action);\n this[action](targetKey);\n };\n const handleMenuClick = ({\n key\n }) => {\n this[key](this.activeKey);\n };\n const controlMenu = h(ant_design_vue__WEBPACK_IMPORTED_MODULE_6__[\"default\"], {\n \"slot\": \"tabBarExtraContent\",\n \"style\": {\n marginRight: '8px'\n }\n }, [h(ant_design_vue__WEBPACK_IMPORTED_MODULE_5__[\"default\"], {\n \"slot\": \"overlay\",\n \"on\": {\n \"click\": handleMenuClick\n }\n }, [h(ant_design_vue__WEBPACK_IMPORTED_MODULE_5__[\"default\"].Item, {\n \"key\": \"closeThat\"\n }, [\"\\u5173\\u95ED\\u5F53\\u524D\"]), h(ant_design_vue__WEBPACK_IMPORTED_MODULE_5__[\"default\"].Item, {\n \"key\": \"closeAll\"\n }, [\"\\u5173\\u95ED\\u5176\\u4ED6\"])]), h(ant_design_vue__WEBPACK_IMPORTED_MODULE_8__[\"default\"], {\n \"attrs\": {\n \"icon\": 'align-left',\n \"type\": 'link'\n }\n }, [h(ant_design_vue__WEBPACK_IMPORTED_MODULE_9__[\"default\"], {\n \"attrs\": {\n \"type\": \"down\"\n }\n })])]);\n return h(\"div\", {\n \"class\": ['ant-pro-multi-tab', contentWidth ? 'wide' : null]\n }, [h(\"div\", {\n \"class\": 'ant-pro-multi-tab-wrapper'\n }, [h(ant_design_vue__WEBPACK_IMPORTED_MODULE_7__[\"default\"], {\n \"attrs\": {\n \"hideAdd\": true,\n \"type\": 'editable-card',\n \"tabBarStyle\": customStyle\n },\n \"on\": {\n \"edit\": edit\n },\n \"model\": {\n value: this.activeKey,\n callback: $$v => {\n this.activeKey = $$v;\n }\n }\n }, [tabPanels, controlMenu])])]);\n },\n created() {\n const {\n pages,\n fullPathList\n } = this;\n _events__WEBPACK_IMPORTED_MODULE_2__[\"default\"].$on(_APIEnums__WEBPACK_IMPORTED_MODULE_3__.TAB_BINDING.TAB_CLOSE, val => {\n this.closeThat(val);\n console.log('hook:tab:ck', val);\n }).$on(_APIEnums__WEBPACK_IMPORTED_MODULE_3__.TAB_BINDING.TAB_CLOSE_RIGHT, val => {\n this.closeRight(val);\n console.log('hook:tab:closeRight', val);\n }).$on(_APIEnums__WEBPACK_IMPORTED_MODULE_3__.TAB_BINDING.TAB_CLOSE_LEFT, val => {\n this.closeLeft(val);\n console.log('hook:tab:closeLeft', val);\n }).$on(_APIEnums__WEBPACK_IMPORTED_MODULE_3__.TAB_BINDING.TAB_CLOSE_ALL, val => {\n this.closeAll(val);\n console.log('hook:tab:closeAll', val);\n }).$on('hook:tab:rename', val => {\n // console.log('hook:tab:rename', val)\n });\n pages.push(this.$route);\n fullPathList.push(this.$route.fullPath);\n this.activeLastTab();\n this.$watch('$route', newVal => {\n const {\n fullPath,\n params\n } = newVal;\n if (this.activeKey !== fullPath) {\n this.activeKey = fullPath;\n }\n if (this.fullPathList.indexOf(fullPath) < 0) {\n this.fullPathList.push(fullPath);\n /** 向外抛出打开方法 */\n this.$tab.open(newVal);\n if (params && params._tabName) {\n const newPage = Object.assign({}, newVal, {\n meta: {\n customTitle: params._tabName\n }\n });\n this.pages.push(newPage);\n } else {\n this.pages.push(newVal);\n }\n }\n });\n this.$watch('activeKey', pathKey => {\n this.$router.push({\n path: pathKey\n });\n /** 激活路由时记录信息 */\n this.$tab.activeTab(this.$route);\n });\n },\n mounted() {\n /** 延迟执行,记录第一次路由 */\n // let timer=setTimeout(()=>{\n // this.$tab.open(this.$route)\n // clearTimeout(timer)\n // }, 60)\n },\n methods: {\n activeLastTab() {\n this.activeKey = this.fullPathList[this.fullPathList.length - 1];\n },\n remove(targetKey) {\n this.closeThat(targetKey);\n },\n closeThat(targetKey) {\n if (this.fullPathList.length > 1) {\n this.pages = this.pages.filter(page => page.fullPath !== targetKey);\n this.fullPathList = this.fullPathList.filter(path => path !== targetKey);\n this.activeLastTab();\n /** 向外抛出关闭方法 */\n let cache = true;\n try {\n const majorPath = targetKey.split('?')[0];\n cache = this.fullPathList.some(path => path.includes('?') && path.split('?')[0] === majorPath);\n this.$tab.close(majorPath, cache);\n } catch {\n this.$tab.close(targetKey, cache);\n }\n console.log(cache, '是否缓存');\n }\n },\n closeLeft(e) {\n const currentIndex = this.fullPathList.indexOf(e);\n if (currentIndex > 0) {\n this.fullPathList.forEach((item, index) => {\n if (index < currentIndex) {\n this.remove(item);\n }\n });\n }\n },\n closeRight(e) {\n const currentIndex = this.fullPathList.indexOf(e);\n if (currentIndex < this.fullPathList.length - 1) {\n this.fullPathList.forEach((item, index) => {\n if (index > currentIndex) {\n this.remove(item);\n }\n });\n }\n },\n closeAll(e) {\n const currentIndex = this.fullPathList.indexOf(e);\n this.fullPathList.forEach((item, index) => {\n if (index !== currentIndex) {\n this.remove(item);\n }\n });\n }\n }\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (MultiTab);\n\n//# sourceURL=webpack://mui/./plugins/lib/multiTab/MultiTab.jsx?");
|
|
8685
8718
|
|
|
8686
8719
|
/***/ }),
|
|
8687
8720
|
|
|
@@ -8703,7 +8736,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _API
|
|
|
8703
8736
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
8704
8737
|
|
|
8705
8738
|
"use strict";
|
|
8706
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _vue_babel_helper_vue_jsx_merge_props__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @vue/babel-helper-vue-jsx-merge-props */ \"./node_modules/@vue/babel-helper-vue-jsx-merge-props/dist/helper.js\");\n/* harmony import */ var _vue_babel_helper_vue_jsx_merge_props__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_vue_babel_helper_vue_jsx_merge_props__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.push.js */ \"./node_modules/core-js/modules/es.array.push.js\");\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _APIEnums__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./APIEnums */ \"./plugins/lib/multiTab/APIEnums.js\");\n/* harmony import */ var _events__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./events */ \"./plugins/lib/multiTab/events.js\");\n/* harmony import */ var _RouteAPI__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./RouteAPI */ \"./plugins/lib/multiTab/RouteAPI.js\");\n/* harmony import */ var _MultiTab_jsx__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./MultiTab.jsx */ \"./plugins/lib/multiTab/MultiTab.jsx\");\n/* harmony import */ var _RouteKeepAlive__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./RouteKeepAlive */ \"./plugins/lib/multiTab/RouteKeepAlive.js\");\n\n\n/* eslint-disable */\n\n\n\n\n\nconst addAndGet = val => {\n return val >= Number.MAX_SAFE_INTEGER ? 0 : ++val;\n};\nconst RouteContent = {\n name: 'RouteContent',\n data() {\n return {\n includes: [],\n excludes: [],\n /*\r\n * Cache: { fullPath : String, snapshot : Number }\r\n * cached: Map\r\n */\n cached: {}\n };\n },\n render() {\n const h = arguments[0];\n const {\n $route: {\n meta,\n fullPath\n },\n includes,\n excludes,\n cached\n } = this;\n const handleRef = ref => {\n this.keepRef = ref;\n };\n console.log('meta', this.$route);\n if (meta.keepAlive) {\n if (includes.findIndex(item => item === fullPath) === -1) {\n includes.push(fullPath);\n cached[fullPath] = {\n fullPath,\n snapshot: 0\n };\n }\n }\n const genKey = cached[fullPath].fullPath + cached[fullPath].snapshot;\n const props = {\n on: {\n ref: handleRef\n }\n };\n return h(\"route-keep-alive\", _vue_babel_helper_vue_jsx_merge_props__WEBPACK_IMPORTED_MODULE_0___default()([{}, props, {\n \"attrs\": {\n \"include\": includes,\n \"exclude\": excludes\n }\n }]), [h(\"router-view\", {\n \"key\": genKey\n })]);\n },\n created() {\n _events__WEBPACK_IMPORTED_MODULE_3__[\"default\"].$on(_APIEnums__WEBPACK_IMPORTED_MODULE_2__.ROUTE_BINDING.R_OPEN, ({\n routeName,\n title,\n ...rest\n }) => {\n this.$router.push({\n name: routeName,\n params: {\n '_tabName': title,\n ...rest\n }\n });\n }).$on(_APIEnums__WEBPACK_IMPORTED_MODULE_2__.ROUTE_BINDING.R_REFRESH, keyPath => {\n const {\n $route: {\n fullPath\n }\n } = this;\n let key = keyPath || fullPath;\n const cache = this.cached[key];\n this.keepRef.clearCache(key);\n cache.snapshot = addAndGet(cache.snapshot);\n // how with\n this.$forceUpdate();\n }).$on(_APIEnums__WEBPACK_IMPORTED_MODULE_2__.ROUTE_BINDING.R_GET_CACHES, callback => {\n callback(this.keepRef.allCache());\n }).$on(_APIEnums__WEBPACK_IMPORTED_MODULE_2__.ROUTE_BINDING.R_CLOSE, val => {\n const {\n config: keyPath,\n isCache\n } = val;\n _events__WEBPACK_IMPORTED_MODULE_3__[\"default\"].$emit(_APIEnums__WEBPACK_IMPORTED_MODULE_2__.TAB_BINDING.TAB_CLOSE, keyPath);\n // this.keepRef.clearCache(keyPath)\n });\n }\n};\nRouteContent.install = function (Vue) {\n if (Vue.prototype.$tab) {\n return;\n }\n Vue.prototype.$tab = _RouteAPI__WEBPACK_IMPORTED_MODULE_4__[\"default\"];\n Vue.component(RouteContent.name, RouteContent);\n Vue.component(_RouteKeepAlive__WEBPACK_IMPORTED_MODULE_6__[\"default\"].name, _RouteKeepAlive__WEBPACK_IMPORTED_MODULE_6__[\"default\"]);\n Vue.component(_MultiTab_jsx__WEBPACK_IMPORTED_MODULE_5__[\"default\"].name, _MultiTab_jsx__WEBPACK_IMPORTED_MODULE_5__[\"default\"]);\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (RouteContent);\n\n//# sourceURL=webpack://mui/./plugins/lib/multiTab/RouteContent.jsx?");
|
|
8739
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _vue_babel_helper_vue_jsx_merge_props__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @vue/babel-helper-vue-jsx-merge-props */ \"./node_modules/@vue/babel-helper-vue-jsx-merge-props/dist/helper.js\");\n/* harmony import */ var _vue_babel_helper_vue_jsx_merge_props__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_vue_babel_helper_vue_jsx_merge_props__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.push.js */ \"./node_modules/core-js/modules/es.array.push.js\");\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _APIEnums__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./APIEnums */ \"./plugins/lib/multiTab/APIEnums.js\");\n/* harmony import */ var _events__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./events */ \"./plugins/lib/multiTab/events.js\");\n/* harmony import */ var _RouteAPI__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./RouteAPI */ \"./plugins/lib/multiTab/RouteAPI.js\");\n/* harmony import */ var _MultiTab_jsx__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./MultiTab.jsx */ \"./plugins/lib/multiTab/MultiTab.jsx\");\n/* harmony import */ var _RouteKeepAlive__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./RouteKeepAlive */ \"./plugins/lib/multiTab/RouteKeepAlive.js\");\n\n\n/* eslint-disable */\n\n\n\n\n\nconst addAndGet = val => {\n return val >= Number.MAX_SAFE_INTEGER ? 0 : ++val;\n};\nconst RouteContent = {\n name: 'RouteContent',\n data() {\n return {\n includes: [],\n excludes: [],\n /*\r\n * Cache: { fullPath : String, snapshot : Number }\r\n * cached: Map\r\n */\n cached: {}\n };\n },\n render() {\n const h = arguments[0];\n const {\n $route: {\n meta,\n fullPath\n },\n includes,\n excludes,\n cached\n } = this;\n const handleRef = ref => {\n this.keepRef = ref;\n };\n console.log('meta', this.$route);\n if (meta.keepAlive) {\n if (includes.findIndex(item => item === fullPath) === -1) {\n includes.push(fullPath);\n cached[fullPath] = {\n fullPath,\n snapshot: 0\n };\n }\n }\n const genKey = cached[fullPath].fullPath + cached[fullPath].snapshot;\n const props = {\n on: {\n ref: handleRef\n }\n };\n return h(\"route-keep-alive\", _vue_babel_helper_vue_jsx_merge_props__WEBPACK_IMPORTED_MODULE_0___default()([{}, props, {\n \"attrs\": {\n \"include\": includes,\n \"exclude\": excludes\n }\n }]), [h(\"router-view\", {\n \"key\": genKey\n })]);\n },\n created() {\n _events__WEBPACK_IMPORTED_MODULE_3__[\"default\"].$on(_APIEnums__WEBPACK_IMPORTED_MODULE_2__.ROUTE_BINDING.R_OPEN, ({\n routeName,\n title,\n ...rest\n }) => {\n this.$router.push({\n name: routeName,\n params: {\n '_tabName': title,\n ...rest\n }\n });\n }).$on(_APIEnums__WEBPACK_IMPORTED_MODULE_2__.ROUTE_BINDING.R_REFRESH, keyPath => {\n const {\n $route: {\n fullPath\n }\n } = this;\n let key = keyPath || fullPath;\n const cache = this.cached[key];\n this.keepRef.clearCache(key);\n cache.snapshot = addAndGet(cache.snapshot);\n // how with\n this.$forceUpdate();\n }).$on(_APIEnums__WEBPACK_IMPORTED_MODULE_2__.ROUTE_BINDING.R_GET_CACHES, callback => {\n callback(this.keepRef.allCache());\n }).$on(_APIEnums__WEBPACK_IMPORTED_MODULE_2__.ROUTE_BINDING.R_CLOSE, val => {\n const {\n config: keyPath,\n isCache\n } = val;\n _events__WEBPACK_IMPORTED_MODULE_3__[\"default\"].$emit(_APIEnums__WEBPACK_IMPORTED_MODULE_2__.TAB_BINDING.TAB_CLOSE, keyPath);\n // this.keepRef.clearCache(keyPath)\n });\n }\n};\nRouteContent.install = function (Vue) {\n if (Vue.prototype.$tab) {\n return;\n }\n Vue.prototype.$tab = _RouteAPI__WEBPACK_IMPORTED_MODULE_4__[\"default\"];\n Vue.prototype.$tabBus = _events__WEBPACK_IMPORTED_MODULE_3__[\"default\"];\n Vue.component(RouteContent.name, RouteContent);\n Vue.component(_RouteKeepAlive__WEBPACK_IMPORTED_MODULE_6__[\"default\"].name, _RouteKeepAlive__WEBPACK_IMPORTED_MODULE_6__[\"default\"]);\n Vue.component(_MultiTab_jsx__WEBPACK_IMPORTED_MODULE_5__[\"default\"].name, _MultiTab_jsx__WEBPACK_IMPORTED_MODULE_5__[\"default\"]);\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (RouteContent);\n\n//# sourceURL=webpack://mui/./plugins/lib/multiTab/RouteContent.jsx?");
|
|
8707
8740
|
|
|
8708
8741
|
/***/ }),
|
|
8709
8742
|
|
|
@@ -8850,6 +8883,17 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _nod
|
|
|
8850
8883
|
|
|
8851
8884
|
/***/ }),
|
|
8852
8885
|
|
|
8886
|
+
/***/ "./node_modules/css-loader/dist/cjs.js!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-2.use[2]!./plugins/lib/layout/Header.less":
|
|
8887
|
+
/*!*********************************************************************************************************************************************!*\
|
|
8888
|
+
!*** ./node_modules/css-loader/dist/cjs.js!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-2.use[2]!./plugins/lib/layout/Header.less ***!
|
|
8889
|
+
\*********************************************************************************************************************************************/
|
|
8890
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
8891
|
+
|
|
8892
|
+
"use strict";
|
|
8893
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../node_modules/css-loader/dist/runtime/api.js */ \"./node_modules/css-loader/dist/runtime/api.js\");\n/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__);\n// Imports\n\nvar ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default()(function(i){return i[1]});\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \"\", \"\"]);\n// Exports\n/* harmony default export */ __webpack_exports__[\"default\"] = (___CSS_LOADER_EXPORT___);\n\n\n//# sourceURL=webpack://mui/./plugins/lib/layout/Header.less?./node_modules/css-loader/dist/cjs.js!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-2.use%5B2%5D");
|
|
8894
|
+
|
|
8895
|
+
/***/ }),
|
|
8896
|
+
|
|
8853
8897
|
/***/ "./node_modules/css-loader/dist/cjs.js!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-2.use[2]!./plugins/lib/layout/components/SiderMenu/index.less":
|
|
8854
8898
|
/*!*****************************************************************************************************************************************************************!*\
|
|
8855
8899
|
!*** ./node_modules/css-loader/dist/cjs.js!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-2.use[2]!./plugins/lib/layout/components/SiderMenu/index.less ***!
|
|
@@ -8857,7 +8901,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _nod
|
|
|
8857
8901
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
8858
8902
|
|
|
8859
8903
|
"use strict";
|
|
8860
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../node_modules/css-loader/dist/runtime/api.js */ \"./node_modules/css-loader/dist/runtime/api.js\");\n/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__);\n// Imports\n\nvar ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default()(function(i){return i[1]});\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".ant-layout-sider-children {\\n display: flex;\\n flex-direction: column;\\n}\\n.ant-layout-sider-children .ant-menu {\\n flex: 1;\\n}\\n.ant-layout-sider-children .ant-menu-collapsed {\\n height:
|
|
8904
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../node_modules/css-loader/dist/runtime/api.js */ \"./node_modules/css-loader/dist/runtime/api.js\");\n/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__);\n// Imports\n\nvar ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default()(function(i){return i[1]});\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \"/* 布局( 纯为了不想多写一行 */\\n/* 正方体盒子 */\\n/* 滚动条样式 */\\n/* 文字换行省略(默认1行)*/\\n/* flex布局 */\\n/* flex排版方式 */\\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\\n/* stylelint-disable no-duplicate-selectors */\\n/* stylelint-disable */\\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\\n.ant-layout-sider-children {\\n display: flex;\\n gap: 0;\\n flex-direction: column;\\n}\\n.ant-layout-sider-children .ant-menu {\\n flex: 1;\\n}\\n.ant-layout-sider-children .ant-menu-collapsed {\\n height: 40px;\\n color: #1890ff;\\n font-size: 16px;\\n display: flex;\\n align-items: center;\\n border-top: 1px solid #d9d9d9;\\n}\\n.ant-layout-sider-children .ant-menu-collapsed .trigger {\\n margin-left: 16px;\\n}\\n\", \"\"]);\n// Exports\n/* harmony default export */ __webpack_exports__[\"default\"] = (___CSS_LOADER_EXPORT___);\n\n\n//# sourceURL=webpack://mui/./plugins/lib/layout/components/SiderMenu/index.less?./node_modules/css-loader/dist/cjs.js!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-2.use%5B2%5D");
|
|
8861
8905
|
|
|
8862
8906
|
/***/ }),
|
|
8863
8907
|
|
|
@@ -8868,7 +8912,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _nod
|
|
|
8868
8912
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
8869
8913
|
|
|
8870
8914
|
"use strict";
|
|
8871
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../node_modules/css-loader/dist/runtime/api.js */ \"./node_modules/css-loader/dist/runtime/api.js\");\n/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__);\n// Imports\n\nvar ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default()(function(i){return i[1]});\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".ant-pro-basicLayout {\\n display: flex;\\n flex-direction: column;\\n}\\n\", \"\"]);\n// Exports\n/* harmony default export */ __webpack_exports__[\"default\"] = (___CSS_LOADER_EXPORT___);\n\n\n//# sourceURL=webpack://mui/./plugins/lib/layout/style/index.less?./node_modules/css-loader/dist/cjs.js!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-2.use%5B2%5D");
|
|
8915
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../node_modules/css-loader/dist/runtime/api.js */ \"./node_modules/css-loader/dist/runtime/api.js\");\n/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__);\n// Imports\n\nvar ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default()(function(i){return i[1]});\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \"/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\\n/* stylelint-disable no-duplicate-selectors */\\n/* stylelint-disable */\\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\\n.ant-pro-basicLayout {\\n display: flex;\\n flex-direction: column;\\n border: 1px solid #d9d9d9;\\n}\\n\", \"\"]);\n// Exports\n/* harmony default export */ __webpack_exports__[\"default\"] = (___CSS_LOADER_EXPORT___);\n\n\n//# sourceURL=webpack://mui/./plugins/lib/layout/style/index.less?./node_modules/css-loader/dist/cjs.js!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-2.use%5B2%5D");
|
|
8872
8916
|
|
|
8873
8917
|
/***/ }),
|
|
8874
8918
|
|
|
@@ -8879,7 +8923,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _nod
|
|
|
8879
8923
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
8880
8924
|
|
|
8881
8925
|
"use strict";
|
|
8882
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../node_modules/css-loader/dist/runtime/api.js */ \"./node_modules/css-loader/dist/runtime/api.js\");\n/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__);\n// Imports\n\nvar ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default()(function(i){return i[1]});\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \"/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\\n/* stylelint-disable no-duplicate-selectors */\\n/* stylelint-disable */\\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\\n.ant-pro-multi-tab .ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-tab-active {\\n
|
|
8926
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../node_modules/css-loader/dist/runtime/api.js */ \"./node_modules/css-loader/dist/runtime/api.js\");\n/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__);\n// Imports\n\nvar ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default()(function(i){return i[1]});\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \"/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\\n/* stylelint-disable no-duplicate-selectors */\\n/* stylelint-disable */\\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\\n.ant-pro-multi-tab .ant-tabs-bar {\\n margin: 0;\\n padding-left: 20px;\\n box-sizing: border-box;\\n background: #001529;\\n}\\n.ant-pro-multi-tab .ant-tabs-extra-content .ant-btn {\\n border: none;\\n background: transparent;\\n}\\n.ant-pro-multi-tab .ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-tab {\\n height: 26px;\\n line-height: 26px;\\n color: #bfbfbf;\\n border-radius: 2px;\\n padding: 0 8px;\\n border: none;\\n background: transparent;\\n}\\n.ant-pro-multi-tab .ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-tab .ant-tabs-close-x {\\n margin-left: 14px;\\n color: #bfbfbf;\\n}\\n.ant-pro-multi-tab .ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-tab-active {\\n color: #1890ff;\\n background-color: #e6f7ff;\\n}\\n.ant-pro-multi-tab .ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-tab-active .ant-tabs-close-x {\\n color: #1890ff;\\n}\\n.ant-pro-multi-tab .ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-nav-container {\\n display: flex;\\n align-items: center;\\n}\\n.ant-pro-multi-tab .ant-tabs-nav .ant-tabs-tab .anticon {\\n margin-right: 4px;\\n}\\n.ant-pro-multi-tab .ant-tabs-nav .ant-tabs-tab .anticon:last-child {\\n margin-right: 0;\\n}\\n.ant-pro-multi-tab .ant-pro-multi-tab-title {\\n user-select: none;\\n font-weight: 300;\\n font-size: 14px;\\n}\\n.ant-pro-multi-tab .ant-pro-multi-tab-icon {\\n height: 14px;\\n overflow: hidden;\\n color: rgba(0, 0, 0, 0.45);\\n font-size: 12px;\\n vertical-align: middle;\\n transition: all 0.3s;\\n}\\n.ant-pro-multi-tab .ant-pro-multi-tab-icon:hover {\\n color: rgba(0, 0, 0, 0.85);\\n}\\n.topmenu .ant-pro-multi-tab {\\n border-bottom: 1px solid #e8e8e8;\\n}\\n.topmenu .ant-pro-multi-tab .ant-pro-multi-tab-wrapper {\\n max-width: 100%;\\n margin: 0 auto;\\n}\\n.topmenu .ant-pro-multi-tab.wide .ant-pro-multi-tab-wrapper {\\n max-width: 1200px;\\n margin: 0 auto;\\n}\\n.topmenu .ant-pro-multi-tab .ant-tabs {\\n height: 39px;\\n}\\n.topmenu .ant-pro-multi-tab .ant-tabs-bar {\\n border-bottom: 0;\\n}\\n\", \"\"]);\n// Exports\n/* harmony default export */ __webpack_exports__[\"default\"] = (___CSS_LOADER_EXPORT___);\n\n\n//# sourceURL=webpack://mui/./plugins/lib/multiTab/index.less?./node_modules/css-loader/dist/cjs.js!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-2.use%5B2%5D");
|
|
8883
8927
|
|
|
8884
8928
|
/***/ }),
|
|
8885
8929
|
|
|
@@ -8890,7 +8934,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _nod
|
|
|
8890
8934
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
8891
8935
|
|
|
8892
8936
|
"use strict";
|
|
8893
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../node_modules/css-loader/dist/runtime/api.js */ \"./node_modules/css-loader/dist/runtime/api.js\");\n/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__);\n// Imports\n\nvar ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default()(function(i){return i[1]});\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \"/* 混入样式 */\\n/* 布局( 纯为了不想多写一行 */\\n/* 滚动条样式 */\\n/* 文字换行省略(默认1行)*/\\n/* flex布局 */\\n/* flex排版方式 */\\n.DirectoryTreeMenu {\\n height: 100%;\\n padding: 16px;\\n box-sizing: border-box;\\n}\\n.DirectoryTreeMenu__Actions {\\n display: flex;\\n gap: 0 8px;\\n position: relative;\\n}\\n.DirectoryTreeMenu__Actions .ActionsIcons {\\n cursor: pointer;\\n width: 16px;\\n height: 16px;\\n}\\n.DirectoryTreeMenu__Actions .ActionsIcons:focus {\\n outline: none;\\n}\\n.DirectoryTreeMenu .treeDirectory {\\n width: 100%;\\n height: 40px;\\n display: flex;\\n gap: 0;\\n flex-direction: row;\\n flex-wrap: wrap;\\n align-items: center;\\n justify-content: flex-start;\\n}\\n.DirectoryTreeMenu .treeDirectory > span {\\n flex: 1;\\n text-align: left;\\n color: #FFFFFF;\\n font-size: 16px;\\n font-weight: 700;\\n position: relative;\\n padding-left: 12px;\\n box-sizing: border-box;\\n}\\n.DirectoryTreeMenu .treeDirectory > span::after {\\n width: 4px;\\n height: 12px;\\n left: 0;\\n top: calc((100% - 12px) / 2);\\n content: '';\\n position: absolute;\\n background: #1677FF;\\n border-radius: 2px;\\n}\\n.DirectoryTreeMenu .treeDirectory :deep(.ant-btn) {\\n margin-right: 12px;\\n line-height: 16px;\\n border-color: #FFFFFF;\\n width: 16px;\\n height: 16px;\\n display: flex;\\n gap: 0;\\n flex-direction: row;\\n flex-wrap: wrap;\\n align-items: center;\\n justify-content: center;\\n}\\n.DirectoryTreeMenu .treeDirectory :deep(.ant-btn) i {\\n font-size: 11px;\\n color: #FFFFFF;\\n}\\n.DirectoryTreeMenu__Tree {\\n height: calc(100% - 40px);\\n overflow-y: auto;\\n}\\n.DirectoryTreeMenu__Tree::-webkit-scrollbar-track {\\n border-radius: 0;\\n background-color: transparent;\\n}\\n.DirectoryTreeMenu__Tree::-webkit-scrollbar-thumb {\\n border-radius: 0;\\n border-radius: 5px;\\n background-image: -webkit-linear-gradient(270deg, #1890ff 0%,
|
|
8937
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../node_modules/css-loader/dist/runtime/api.js */ \"./node_modules/css-loader/dist/runtime/api.js\");\n/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__);\n// Imports\n\nvar ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default()(function(i){return i[1]});\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \"/* 混入样式 */\\n/* 布局( 纯为了不想多写一行 */\\n/* 正方体盒子 */\\n/* 滚动条样式 */\\n/* 文字换行省略(默认1行)*/\\n/* flex布局 */\\n/* flex排版方式 */\\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\\n/* stylelint-disable no-duplicate-selectors */\\n/* stylelint-disable */\\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\\n.DirectoryTreeMenu {\\n height: 100%;\\n padding: 16px;\\n box-sizing: border-box;\\n}\\n.DirectoryTreeMenu__Actions {\\n display: flex;\\n gap: 0 8px;\\n position: relative;\\n}\\n.DirectoryTreeMenu__Actions .ActionsIcons {\\n cursor: pointer;\\n width: 16px;\\n height: 16px;\\n}\\n.DirectoryTreeMenu__Actions .ActionsIcons:focus {\\n outline: none;\\n}\\n.DirectoryTreeMenu .treeDirectory {\\n width: 100%;\\n height: 40px;\\n display: flex;\\n gap: 0;\\n flex-direction: row;\\n flex-wrap: wrap;\\n align-items: center;\\n justify-content: flex-start;\\n}\\n.DirectoryTreeMenu .treeDirectory > span {\\n flex: 1;\\n text-align: left;\\n color: #FFFFFF;\\n font-size: 16px;\\n font-weight: 700;\\n position: relative;\\n padding-left: 12px;\\n box-sizing: border-box;\\n}\\n.DirectoryTreeMenu .treeDirectory > span::after {\\n width: 4px;\\n height: 12px;\\n left: 0;\\n top: calc((100% - 12px) / 2);\\n content: '';\\n position: absolute;\\n background: #1677FF;\\n border-radius: 2px;\\n}\\n.DirectoryTreeMenu .treeDirectory :deep(.ant-btn) {\\n margin-right: 12px;\\n line-height: 16px;\\n border-color: #FFFFFF;\\n width: 16px;\\n height: 16px;\\n display: flex;\\n gap: 0;\\n flex-direction: row;\\n flex-wrap: wrap;\\n align-items: center;\\n justify-content: center;\\n}\\n.DirectoryTreeMenu .treeDirectory :deep(.ant-btn) i {\\n font-size: 11px;\\n color: #FFFFFF;\\n}\\n.DirectoryTreeMenu__Tree {\\n height: calc(100% - 40px);\\n overflow-y: auto;\\n}\\n.DirectoryTreeMenu__Tree::-webkit-scrollbar-track {\\n border-radius: 0;\\n background-color: transparent;\\n}\\n.DirectoryTreeMenu__Tree::-webkit-scrollbar-thumb {\\n border-radius: 0;\\n border-radius: 5px;\\n background-image: -webkit-linear-gradient(270deg, #1890ff 0%, transparent 100%);\\n -webkit-transition: all 0.2s;\\n transition: all 0.2s;\\n}\\n.DirectoryTreeMenu__Tree::-webkit-scrollbar-corner {\\n background-color: transparent;\\n}\\n.DirectoryTreeMenu__Tree::-webkit-scrollbar {\\n width: 6px;\\n height: 56px;\\n}\\n.DirectoryTreeMenu__Tree::-webkit-scrollbar {\\n width: 4px;\\n}\\n.DirectoryTreeMenu__Dropdown__Menu {\\n width: 140px;\\n height: auto;\\n border-radius: 2px;\\n padding: 12px 0;\\n box-sizing: border-box;\\n}\\n.DirectoryTreeMenu__Dropdown__Menu span {\\n display: flex;\\n cursor: pointer;\\n align-items: center;\\n font-size: 14px;\\n margin-bottom: 2px;\\n padding: 0 16px;\\n box-sizing: border-box;\\n width: 100%;\\n height: 26px;\\n}\\n.DirectoryTreeMenu__Dropdown__Menu span:last-child {\\n margin: 0;\\n}\\n.DirectoryTreeMenu__Dropdown__Menu span .svg-icon {\\n margin-right: 8px;\\n width: 16px;\\n height: 16px;\\n}\\n.DirectoryTreeMenu__Node .ant-tree-node-content-wrapper {\\n width: calc(100% - 24px);\\n}\\n.DirectoryTreeMenu__Node .ant-tree-node-content-wrapper .ant-tree-title {\\n display: inline-block;\\n width: calc(100% - 24px);\\n height: 100%;\\n}\\n.DirectoryTreeMenu__Node .ant-tree-node-content-wrapper .ant-tree-title .__Title {\\n gap: 0 8px;\\n width: 100%;\\n height: 100%;\\n display: flex;\\n gap: 0;\\n flex-direction: row;\\n flex-wrap: wrap;\\n align-items: center;\\n justify-content: flex-start;\\n}\\n.DirectoryTreeMenu__Node .ant-tree-node-content-wrapper .ant-tree-title .__Title > span {\\n white-space: normal;\\n width: calc(100% - 56px);\\n text-overflow: -o-ellipsis-lastline;\\n overflow: hidden;\\n text-overflow: ellipsis;\\n display: -webkit-box;\\n -webkit-line-clamp: 1;\\n line-clamp: 1;\\n -webkit-box-orient: vertical;\\n}\\n\", \"\"]);\n// Exports\n/* harmony default export */ __webpack_exports__[\"default\"] = (___CSS_LOADER_EXPORT___);\n\n\n//# sourceURL=webpack://mui/./plugins/lib/tree/style/Directory.less?./node_modules/css-loader/dist/cjs.js!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-2.use%5B2%5D");
|
|
8894
8938
|
|
|
8895
8939
|
/***/ }),
|
|
8896
8940
|
|
|
@@ -8912,7 +8956,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _nod
|
|
|
8912
8956
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
8913
8957
|
|
|
8914
8958
|
"use strict";
|
|
8915
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../node_modules/css-loader/dist/runtime/api.js */ \"./node_modules/css-loader/dist/runtime/api.js\");\n/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__);\n// Imports\n\nvar ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default()(function(i){return i[1]});\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \"/* 混入样式 */\\n/* 布局( 纯为了不想多写一行 */\\n/* 滚动条样式 */\\n/* 文字换行省略(默认1行)*/\\n/* flex布局 */\\n/* flex排版方式 */\\n.WebComponentFormSearch[data-v-97ec3748] {\\n gap: 16px 0;\\n display: flex;\\n gap: 0;\\n flex-direction: row;\\n flex-wrap: wrap;\\n align-items: center;\\n justify-content: flex-start;\\n}\\n.WebComponentFormSearch .ant-form-item[data-v-97ec3748] {\\n display: inline-flex;\\n margin-right: unset;\\n}\\n.WebComponentFormSearch .ant-form-item[data-v-97ec3748] .ant-form-item-label {\\n min-width: 70px;\\n max-width: 100px;\\n text-align: right;\\n}\\n.WebComponentFormSearch .ant-form-item[data-v-97ec3748] .ant-form-item-control-wrapper {\\n flex: 1;\\n}\\n.WebComponentFormSearch .ant-form-item[data-v-97ec3748] .ant-select,\\n.WebComponentFormSearch .ant-form-item[data-v-97ec3748] .ant-input-number,\\n.WebComponentFormSearch .ant-form-item[data-v-97ec3748] .ant-calendar-picker {\\n width: 100% !important;\\n}\\n.WebComponentFormSearch__Actions[data-v-97ec3748] {\\n flex: 1;\\n text-align: right;\\n margin-right: 16px;\\n}\\n\", \"\"]);\n// Exports\n/* harmony default export */ __webpack_exports__[\"default\"] = (___CSS_LOADER_EXPORT___);\n\n\n//# sourceURL=webpack://mui/./plugins/lib/form/Search.vue?./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-2.use%5B2%5D!./node_modules/vue-loader/lib/index.js??vue-loader-options");
|
|
8959
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../node_modules/css-loader/dist/runtime/api.js */ \"./node_modules/css-loader/dist/runtime/api.js\");\n/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__);\n// Imports\n\nvar ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default()(function(i){return i[1]});\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \"/* 混入样式 */\\n/* 布局( 纯为了不想多写一行 */\\n/* 正方体盒子 */\\n/* 滚动条样式 */\\n/* 文字换行省略(默认1行)*/\\n/* flex布局 */\\n/* flex排版方式 */\\n.WebComponentFormSearch[data-v-97ec3748] {\\n gap: 16px 0;\\n display: flex;\\n gap: 0;\\n flex-direction: row;\\n flex-wrap: wrap;\\n align-items: center;\\n justify-content: flex-start;\\n}\\n.WebComponentFormSearch .ant-form-item[data-v-97ec3748] {\\n display: inline-flex;\\n margin-right: unset;\\n}\\n.WebComponentFormSearch .ant-form-item[data-v-97ec3748] .ant-form-item-label {\\n min-width: 70px;\\n max-width: 100px;\\n text-align: right;\\n}\\n.WebComponentFormSearch .ant-form-item[data-v-97ec3748] .ant-form-item-control-wrapper {\\n flex: 1;\\n}\\n.WebComponentFormSearch .ant-form-item[data-v-97ec3748] .ant-select,\\n.WebComponentFormSearch .ant-form-item[data-v-97ec3748] .ant-input-number,\\n.WebComponentFormSearch .ant-form-item[data-v-97ec3748] .ant-calendar-picker {\\n width: 100% !important;\\n}\\n.WebComponentFormSearch__Actions[data-v-97ec3748] {\\n flex: 1;\\n text-align: right;\\n margin-right: 16px;\\n}\\n\", \"\"]);\n// Exports\n/* harmony default export */ __webpack_exports__[\"default\"] = (___CSS_LOADER_EXPORT___);\n\n\n//# sourceURL=webpack://mui/./plugins/lib/form/Search.vue?./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-2.use%5B2%5D!./node_modules/vue-loader/lib/index.js??vue-loader-options");
|
|
8916
8960
|
|
|
8917
8961
|
/***/ }),
|
|
8918
8962
|
|
|
@@ -8989,7 +9033,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _nod
|
|
|
8989
9033
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
8990
9034
|
|
|
8991
9035
|
"use strict";
|
|
8992
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../node_modules/css-loader/dist/runtime/api.js */ \"./node_modules/css-loader/dist/runtime/api.js\");\n/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__);\n// Imports\n\nvar ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default()(function(i){return i[1]});\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \"/* 混入样式 */\\n/* 布局( 纯为了不想多写一行 */\\n/* 滚动条样式 */\\n/* 文字换行省略(默认1行)*/\\n/* flex布局 */\\n/* flex排版方式 */\\n.WebComponentTable[data-v-19255b3a] {\\n width: 100%;\\n height: 100%;\\n display: flex;\\n gap: 16px 0;\\n flex-direction: column;\\n}\\n.WebComponentTable__List__Empty[data-v-19255b3a] {\\n gap: 16px 0;\\n height: 120px;\\n display: flex;\\n gap: 0;\\n flex-direction: column;\\n flex-wrap: wrap;\\n align-items: center;\\n justify-content: center;\\n}\\n.WebComponentTable__List__Empty i[data-v-19255b3a] {\\n font-size: 80px;\\n}\\n.WebComponentTable__Pagination[data-v-19255b3a] {\\n display: flex;\\n justify-content: flex-end;\\n}\\n\", \"\"]);\n// Exports\n/* harmony default export */ __webpack_exports__[\"default\"] = (___CSS_LOADER_EXPORT___);\n\n\n//# sourceURL=webpack://mui/./plugins/lib/table/index.vue?./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-2.use%5B2%5D!./node_modules/vue-loader/lib/index.js??vue-loader-options");
|
|
9036
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../node_modules/css-loader/dist/runtime/api.js */ \"./node_modules/css-loader/dist/runtime/api.js\");\n/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__);\n// Imports\n\nvar ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default()(function(i){return i[1]});\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \"/* 混入样式 */\\n/* 布局( 纯为了不想多写一行 */\\n/* 正方体盒子 */\\n/* 滚动条样式 */\\n/* 文字换行省略(默认1行)*/\\n/* flex布局 */\\n/* flex排版方式 */\\n.WebComponentTable[data-v-19255b3a] {\\n width: 100%;\\n height: 100%;\\n display: flex;\\n gap: 16px 0;\\n flex-direction: column;\\n}\\n.WebComponentTable__List__Empty[data-v-19255b3a] {\\n gap: 16px 0;\\n height: 120px;\\n display: flex;\\n gap: 0;\\n flex-direction: column;\\n flex-wrap: wrap;\\n align-items: center;\\n justify-content: center;\\n}\\n.WebComponentTable__List__Empty i[data-v-19255b3a] {\\n font-size: 80px;\\n}\\n.WebComponentTable__Pagination[data-v-19255b3a] {\\n display: flex;\\n justify-content: flex-end;\\n}\\n\", \"\"]);\n// Exports\n/* harmony default export */ __webpack_exports__[\"default\"] = (___CSS_LOADER_EXPORT___);\n\n\n//# sourceURL=webpack://mui/./plugins/lib/table/index.vue?./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-2.use%5B2%5D!./node_modules/vue-loader/lib/index.js??vue-loader-options");
|
|
8993
9037
|
|
|
8994
9038
|
/***/ }),
|
|
8995
9039
|
|
|
@@ -9069,6 +9113,17 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _nod
|
|
|
9069
9113
|
|
|
9070
9114
|
/***/ }),
|
|
9071
9115
|
|
|
9116
|
+
/***/ "./plugins/lib/layout/Header.less":
|
|
9117
|
+
/*!****************************************!*\
|
|
9118
|
+
!*** ./plugins/lib/layout/Header.less ***!
|
|
9119
|
+
\****************************************/
|
|
9120
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
9121
|
+
|
|
9122
|
+
"use strict";
|
|
9123
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ \"./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\");\n/* harmony import */ var _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../node_modules/style-loader/dist/runtime/styleDomAPI.js */ \"./node_modules/style-loader/dist/runtime/styleDomAPI.js\");\n/* harmony import */ var _node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _node_modules_style_loader_dist_runtime_getTarget_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../node_modules/style-loader/dist/runtime/getTarget.js */ \"./node_modules/style-loader/dist/runtime/getTarget.js\");\n/* harmony import */ var _node_modules_style_loader_dist_runtime_getTarget_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_getTarget_js__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../node_modules/style-loader/dist/runtime/insertStyleElement.js */ \"./node_modules/style-loader/dist/runtime/insertStyleElement.js\");\n/* harmony import */ var _node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _node_modules_css_loader_dist_cjs_js_node_modules_less_loader_dist_cjs_js_clonedRuleSet_2_use_2_Header_less__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/less-loader/dist/cjs.js??clonedRuleSet-2.use[2]!./Header.less */ \"./node_modules/css-loader/dist/cjs.js!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-2.use[2]!./plugins/lib/layout/Header.less\");\n\n \n \n \n \n \n \n \n\nvar options = {};\n\noptions.styleTagTransform = function(css, style){\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n while (style.firstChild) {\n style.removeChild(style.firstChild);\n }\n\n style.appendChild(document.createTextNode(css));\n }\n };\noptions.setAttributes = function(style) {\n var nonce =\n true ? __webpack_require__.nc : 0;\n\n if (nonce) {\n style.setAttribute(\"nonce\", nonce);\n }\n };\noptions.insert = function(style){\n var target = _node_modules_style_loader_dist_runtime_getTarget_js__WEBPACK_IMPORTED_MODULE_2___default()(\"head\");\n\n if (!target) {\n throw new Error(\n \"Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.\"\n );\n }\n\n target.appendChild(style);\n };\noptions.domAPI = (_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());\noptions.insertStyleElement = (_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_3___default());\n\nvar update = _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_css_loader_dist_cjs_js_node_modules_less_loader_dist_cjs_js_clonedRuleSet_2_use_2_Header_less__WEBPACK_IMPORTED_MODULE_4__[\"default\"], options);\n\n\n\n\n /* harmony default export */ __webpack_exports__[\"default\"] = (_node_modules_css_loader_dist_cjs_js_node_modules_less_loader_dist_cjs_js_clonedRuleSet_2_use_2_Header_less__WEBPACK_IMPORTED_MODULE_4__[\"default\"] && _node_modules_css_loader_dist_cjs_js_node_modules_less_loader_dist_cjs_js_clonedRuleSet_2_use_2_Header_less__WEBPACK_IMPORTED_MODULE_4__[\"default\"].locals ? _node_modules_css_loader_dist_cjs_js_node_modules_less_loader_dist_cjs_js_clonedRuleSet_2_use_2_Header_less__WEBPACK_IMPORTED_MODULE_4__[\"default\"].locals : undefined);\n\n\n//# sourceURL=webpack://mui/./plugins/lib/layout/Header.less?");
|
|
9124
|
+
|
|
9125
|
+
/***/ }),
|
|
9126
|
+
|
|
9072
9127
|
/***/ "./plugins/lib/layout/components/SiderMenu/index.less":
|
|
9073
9128
|
/*!************************************************************!*\
|
|
9074
9129
|
!*** ./plugins/lib/layout/components/SiderMenu/index.less ***!
|
package/dist/multiTab.umd.js
CHANGED
|
@@ -3619,7 +3619,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
|
3619
3619
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
3620
3620
|
|
|
3621
3621
|
"use strict";
|
|
3622
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _vue_babel_helper_vue_jsx_merge_props__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @vue/babel-helper-vue-jsx-merge-props */ \"./node_modules/@vue/babel-helper-vue-jsx-merge-props/dist/helper.js\");\n/* harmony import */ var _vue_babel_helper_vue_jsx_merge_props__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_vue_babel_helper_vue_jsx_merge_props__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.push.js */ \"./node_modules/core-js/modules/es.array.push.js\");\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _events__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./events */ \"./plugins/lib/multiTab/events.js\");\n/* harmony import */ var _APIEnums__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./APIEnums */ \"./plugins/lib/multiTab/APIEnums.js\");\n/* harmony import */ var ant_design_vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ant-design-vue */ \"./node_modules/ant-design-vue/es/menu/index.js\");\n/* harmony import */ var ant_design_vue__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ant-design-vue */ \"./node_modules/ant-design-vue/es/dropdown/index.js\");\n/* harmony import */ var ant_design_vue__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ant-design-vue */ \"./node_modules/ant-design-vue/es/tabs/index.js\");\n/* harmony import */ var ant_design_vue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ant-design-vue */ \"./node_modules/ant-design-vue/es/button/index.js\");\n/* harmony import */ var ant_design_vue__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ant-design-vue */ \"./node_modules/ant-design-vue/es/icon/index.js\");\n/* harmony import */ var _index_less__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./index.less */ \"./plugins/lib/multiTab/index.less\");\n\n\n\n\n\n// import { i18nRender } from '@/locales'\n\nconst customStyle = {\n background: '#FFF',\n margin: 0,\n paddingLeft: '16px',\n paddingTop: '1px'\n};\nconst eventKey = {\n 'closeThat': _APIEnums__WEBPACK_IMPORTED_MODULE_3__.TAB_BINDING.TAB_CLOSE,\n 'closeRight': _APIEnums__WEBPACK_IMPORTED_MODULE_3__.TAB_BINDING.TAB_CLOSE_RIGHT,\n 'closeLeft': _APIEnums__WEBPACK_IMPORTED_MODULE_3__.TAB_BINDING.TAB_CLOSE_LEFT,\n 'closeAll': _APIEnums__WEBPACK_IMPORTED_MODULE_3__.TAB_BINDING.TAB_CLOSE_ALL\n};\nconst i18nRender = context => context;\nconst renderTabMenu = (h, path) => {\n const props = {\n on: {\n click: ({\n key,\n item,\n domEvent\n }) => {\n console.log('key', path);\n console.log(key, item, domEvent);\n _events__WEBPACK_IMPORTED_MODULE_2__[\"default\"].$emit(eventKey[key], path);\n }\n }\n };\n return h(ant_design_vue__WEBPACK_IMPORTED_MODULE_5__[\"default\"], _vue_babel_helper_vue_jsx_merge_props__WEBPACK_IMPORTED_MODULE_0___default()([{}, props]), [h(ant_design_vue__WEBPACK_IMPORTED_MODULE_5__[\"default\"].Item, {\n \"key\": \"closeThat\"\n }, [\"\\u5173\\u95ED\\u5F53\\u524D\\u6807\\u7B7E\"]), h(ant_design_vue__WEBPACK_IMPORTED_MODULE_5__[\"default\"].Item, {\n \"key\": \"closeRight\"\n }, [\"\\u5173\\u95ED\\u53F3\\u4FA7\"]), h(ant_design_vue__WEBPACK_IMPORTED_MODULE_5__[\"default\"].Item, {\n \"key\": \"closeLeft\"\n }, [\"\\u5173\\u95ED\\u5DE6\\u4FA7\"]), h(ant_design_vue__WEBPACK_IMPORTED_MODULE_5__[\"default\"].Item, {\n \"key\": \"closeAll\"\n }, [\"\\u5173\\u95ED\\u5168\\u90E8\"])]);\n};\nconst renderTabDropDown = (h, title, keyPath, handles) => {\n const handleReload = () => {\n handles['reload'](keyPath);\n };\n const menus = renderTabMenu(h, keyPath);\n return h(ant_design_vue__WEBPACK_IMPORTED_MODULE_6__[\"default\"], {\n \"attrs\": {\n \"overlay\": menus,\n \"trigger\": ['contextmenu']\n }\n }, [h(\"span\", [h(\"span\", {\n \"class\": 'ant-pro-multi-tab-title'\n }, [title])])]);\n};\nconst MultiTab = {\n name: 'MultiTab',\n props: {\n contentWidth: {\n type: Boolean,\n default: false\n }\n },\n data() {\n return {\n activeKey: '',\n pages: [],\n fullPathList: []\n };\n },\n render(h) {\n const {\n $data: {\n pages\n },\n contentWidth\n } = this;\n const handles = {\n cls: keyPath => {\n // console.log('close', keyPath) \n // this.closeThat(keyPath)\n this.$tab.close(keyPath, false);\n },\n reload: keyPath => {\n this.$tab.refresh(keyPath);\n }\n };\n const tabPanels = pages.map(page => {\n const title = page.meta.customTitle || page.meta.title;\n return h(ant_design_vue__WEBPACK_IMPORTED_MODULE_7__[\"default\"].TabPane, {\n \"style\": {\n height: 0\n },\n \"key\": page.fullPath,\n \"attrs\": {\n \"tab\": renderTabDropDown(h, i18nRender(title), page.fullPath, handles),\n \"closable\": pages.length > 1\n }\n });\n });\n const edit = (targetKey, action) => {\n console.log('editTab:', targetKey, 'action:', action);\n this[action](targetKey);\n };\n const handleMenuClick = ({\n key\n }) => {\n this[key](this.activeKey);\n };\n const controlMenu = h(ant_design_vue__WEBPACK_IMPORTED_MODULE_6__[\"default\"], {\n \"slot\": \"tabBarExtraContent\",\n \"style\": {\n marginRight: '8px'\n }\n }, [h(ant_design_vue__WEBPACK_IMPORTED_MODULE_5__[\"default\"], {\n \"slot\": \"overlay\",\n \"on\": {\n \"click\": handleMenuClick\n }\n }, [h(ant_design_vue__WEBPACK_IMPORTED_MODULE_5__[\"default\"].Item, {\n \"key\": \"closeThat\"\n }, [\"\\u5173\\u95ED\\u5F53\\u524D\"]), h(ant_design_vue__WEBPACK_IMPORTED_MODULE_5__[\"default\"].Item, {\n \"key\": \"closeAll\"\n }, [\"\\u5173\\u95ED\\u5176\\u4ED6\"])]), h(ant_design_vue__WEBPACK_IMPORTED_MODULE_8__[\"default\"], {\n \"attrs\": {\n \"icon\": 'align-left',\n \"type\": 'link'\n }\n }, [h(ant_design_vue__WEBPACK_IMPORTED_MODULE_9__[\"default\"], {\n \"attrs\": {\n \"type\": \"down\"\n }\n })])]);\n return h(\"div\", {\n \"class\": ['ant-pro-multi-tab', contentWidth ? 'wide' : null]\n }, [h(\"div\", {\n \"class\": 'ant-pro-multi-tab-wrapper'\n }, [h(ant_design_vue__WEBPACK_IMPORTED_MODULE_7__[\"default\"], {\n \"attrs\": {\n \"hideAdd\": true,\n \"type\": 'editable-card',\n \"tabBarStyle\": customStyle\n },\n \"on\": {\n \"edit\": edit\n },\n \"model\": {\n value: this.activeKey,\n callback: $$v => {\n this.activeKey = $$v;\n }\n }\n }, [tabPanels, controlMenu])])]);\n },\n created() {\n const {\n pages,\n fullPathList\n } = this;\n _events__WEBPACK_IMPORTED_MODULE_2__[\"default\"].$on(_APIEnums__WEBPACK_IMPORTED_MODULE_3__.TAB_BINDING.TAB_CLOSE, val => {\n this.closeThat(val);\n }).$on(_APIEnums__WEBPACK_IMPORTED_MODULE_3__.TAB_BINDING.TAB_CLOSE_RIGHT, val => {\n this.closeRight(val);\n console.log('hook:tab:closeRight', val);\n }).$on(_APIEnums__WEBPACK_IMPORTED_MODULE_3__.TAB_BINDING.TAB_CLOSE_LEFT, val => {\n this.closeLeft(val);\n console.log('hook:tab:closeLeft', val);\n }).$on(_APIEnums__WEBPACK_IMPORTED_MODULE_3__.TAB_BINDING.TAB_CLOSE_ALL, val => {\n this.closeAll(val);\n console.log('hook:tab:closeAll', val);\n }).$on('hook:tab:rename', val => {\n // console.log('hook:tab:rename', val)\n });\n pages.push(this.$route);\n fullPathList.push(this.$route.fullPath);\n this.activeLastTab();\n this.$watch('$route', newVal => {\n const {\n fullPath,\n params\n } = newVal;\n if (this.activeKey !== fullPath) {\n this.activeKey = fullPath;\n }\n if (this.fullPathList.indexOf(fullPath) < 0) {\n this.fullPathList.push(fullPath);\n /** 向外抛出打开方法 */\n this.$tab.open(newVal);\n if (params && params._tabName) {\n const newPage = Object.assign({}, newVal, {\n meta: {\n customTitle: params._tabName\n }\n });\n this.pages.push(newPage);\n } else {\n this.pages.push(newVal);\n }\n }\n });\n this.$watch('activeKey', pathKey => {\n this.$router.push({\n path: pathKey\n });\n /** 激活路由时记录信息 */\n this.$tab.activeTab(this.$route);\n });\n },\n mounted() {\n /** 延迟执行,记录第一次路由 */\n // let timer=setTimeout(()=>{\n // this.$tab.open(this.$route)\n // clearTimeout(timer)\n // }, 60)\n },\n methods: {\n activeLastTab() {\n this.activeKey = this.fullPathList[this.fullPathList.length - 1];\n },\n remove(targetKey) {\n this.closeThat(targetKey);\n },\n closeThat(targetKey) {\n if (this.fullPathList.length > 1) {\n this.pages = this.pages.filter(page => page.fullPath !== targetKey);\n this.fullPathList = this.fullPathList.filter(path => path !== targetKey);\n this.activeLastTab();\n /** 向外抛出关闭方法 */\n let cache = true;\n try {\n const majorPath = targetKey.split('?')[0];\n cache = this.fullPathList.some(path => path.includes('?') && path.split('?')[0] === majorPath);\n this.$tab.close(majorPath, cache);\n } catch {\n this.$tab.close(targetKey, cache);\n }\n console.log(cache, '是否缓存');\n }\n },\n closeLeft(e) {\n const currentIndex = this.fullPathList.indexOf(e);\n if (currentIndex > 0) {\n this.fullPathList.forEach((item, index) => {\n if (index < currentIndex) {\n this.remove(item);\n }\n });\n }\n },\n closeRight(e) {\n const currentIndex = this.fullPathList.indexOf(e);\n if (currentIndex < this.fullPathList.length - 1) {\n this.fullPathList.forEach((item, index) => {\n if (index > currentIndex) {\n this.remove(item);\n }\n });\n }\n },\n closeAll(e) {\n const currentIndex = this.fullPathList.indexOf(e);\n this.fullPathList.forEach((item, index) => {\n if (index !== currentIndex) {\n this.remove(item);\n }\n });\n }\n }\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (MultiTab);\n\n//# sourceURL=webpack://mui/./plugins/lib/multiTab/MultiTab.jsx?");
|
|
3622
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _vue_babel_helper_vue_jsx_merge_props__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @vue/babel-helper-vue-jsx-merge-props */ \"./node_modules/@vue/babel-helper-vue-jsx-merge-props/dist/helper.js\");\n/* harmony import */ var _vue_babel_helper_vue_jsx_merge_props__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_vue_babel_helper_vue_jsx_merge_props__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.push.js */ \"./node_modules/core-js/modules/es.array.push.js\");\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _events__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./events */ \"./plugins/lib/multiTab/events.js\");\n/* harmony import */ var _APIEnums__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./APIEnums */ \"./plugins/lib/multiTab/APIEnums.js\");\n/* harmony import */ var ant_design_vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ant-design-vue */ \"./node_modules/ant-design-vue/es/menu/index.js\");\n/* harmony import */ var ant_design_vue__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ant-design-vue */ \"./node_modules/ant-design-vue/es/dropdown/index.js\");\n/* harmony import */ var ant_design_vue__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ant-design-vue */ \"./node_modules/ant-design-vue/es/tabs/index.js\");\n/* harmony import */ var ant_design_vue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ant-design-vue */ \"./node_modules/ant-design-vue/es/button/index.js\");\n/* harmony import */ var ant_design_vue__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ant-design-vue */ \"./node_modules/ant-design-vue/es/icon/index.js\");\n/* harmony import */ var _index_less__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./index.less */ \"./plugins/lib/multiTab/index.less\");\n\n\n\n\n\n// import { i18nRender } from '@/locales'\n\nconst customStyle = {\n background: '#FFF',\n margin: 0,\n paddingLeft: '16px',\n paddingTop: '1px'\n};\nconst eventKey = {\n 'closeThat': _APIEnums__WEBPACK_IMPORTED_MODULE_3__.TAB_BINDING.TAB_CLOSE,\n 'closeRight': _APIEnums__WEBPACK_IMPORTED_MODULE_3__.TAB_BINDING.TAB_CLOSE_RIGHT,\n 'closeLeft': _APIEnums__WEBPACK_IMPORTED_MODULE_3__.TAB_BINDING.TAB_CLOSE_LEFT,\n 'closeAll': _APIEnums__WEBPACK_IMPORTED_MODULE_3__.TAB_BINDING.TAB_CLOSE_ALL\n};\nconst i18nRender = context => context;\nconst renderTabMenu = (h, path) => {\n const props = {\n on: {\n click: ({\n key,\n item,\n domEvent\n }) => {\n console.log('key', path);\n console.log(key, item, domEvent);\n _events__WEBPACK_IMPORTED_MODULE_2__[\"default\"].$emit(eventKey[key], path);\n }\n }\n };\n return h(ant_design_vue__WEBPACK_IMPORTED_MODULE_5__[\"default\"], _vue_babel_helper_vue_jsx_merge_props__WEBPACK_IMPORTED_MODULE_0___default()([{}, props]), [h(ant_design_vue__WEBPACK_IMPORTED_MODULE_5__[\"default\"].Item, {\n \"key\": \"closeThat\"\n }, [\"\\u5173\\u95ED\\u5F53\\u524D\\u6807\\u7B7E\"]), h(ant_design_vue__WEBPACK_IMPORTED_MODULE_5__[\"default\"].Item, {\n \"key\": \"closeRight\"\n }, [\"\\u5173\\u95ED\\u53F3\\u4FA7\"]), h(ant_design_vue__WEBPACK_IMPORTED_MODULE_5__[\"default\"].Item, {\n \"key\": \"closeLeft\"\n }, [\"\\u5173\\u95ED\\u5DE6\\u4FA7\"]), h(ant_design_vue__WEBPACK_IMPORTED_MODULE_5__[\"default\"].Item, {\n \"key\": \"closeAll\"\n }, [\"\\u5173\\u95ED\\u5168\\u90E8\"])]);\n};\nconst renderTabDropDown = (h, title, keyPath, handles) => {\n const handleReload = () => {\n handles['reload'](keyPath);\n };\n const menus = renderTabMenu(h, keyPath);\n return h(ant_design_vue__WEBPACK_IMPORTED_MODULE_6__[\"default\"], {\n \"attrs\": {\n \"overlay\": menus,\n \"trigger\": ['contextmenu']\n }\n }, [h(\"span\", [h(\"span\", {\n \"class\": 'ant-pro-multi-tab-title'\n }, [title])])]);\n};\nconst MultiTab = {\n name: 'MultiTab',\n props: {\n contentWidth: {\n type: Boolean,\n default: false\n }\n },\n data() {\n return {\n activeKey: '',\n pages: [],\n fullPathList: []\n };\n },\n render(h) {\n const {\n $data: {\n pages\n },\n contentWidth\n } = this;\n const handles = {\n cls: keyPath => {\n // console.log('close', keyPath) \n // this.closeThat(keyPath)\n this.$tab.close(keyPath, false);\n },\n reload: keyPath => {\n this.$tab.refresh(keyPath);\n }\n };\n const tabPanels = pages.map(page => {\n const title = page.meta.customTitle || page.meta.title;\n return h(ant_design_vue__WEBPACK_IMPORTED_MODULE_7__[\"default\"].TabPane, {\n \"style\": {\n height: 0\n },\n \"key\": page.fullPath,\n \"attrs\": {\n \"tab\": renderTabDropDown(h, i18nRender(title), page.fullPath, handles),\n \"closable\": pages.length > 1\n }\n });\n });\n const edit = (targetKey, action) => {\n console.log('editTab:', targetKey, 'action:', action);\n this[action](targetKey);\n };\n const handleMenuClick = ({\n key\n }) => {\n this[key](this.activeKey);\n };\n const controlMenu = h(ant_design_vue__WEBPACK_IMPORTED_MODULE_6__[\"default\"], {\n \"slot\": \"tabBarExtraContent\",\n \"style\": {\n marginRight: '8px'\n }\n }, [h(ant_design_vue__WEBPACK_IMPORTED_MODULE_5__[\"default\"], {\n \"slot\": \"overlay\",\n \"on\": {\n \"click\": handleMenuClick\n }\n }, [h(ant_design_vue__WEBPACK_IMPORTED_MODULE_5__[\"default\"].Item, {\n \"key\": \"closeThat\"\n }, [\"\\u5173\\u95ED\\u5F53\\u524D\"]), h(ant_design_vue__WEBPACK_IMPORTED_MODULE_5__[\"default\"].Item, {\n \"key\": \"closeAll\"\n }, [\"\\u5173\\u95ED\\u5176\\u4ED6\"])]), h(ant_design_vue__WEBPACK_IMPORTED_MODULE_8__[\"default\"], {\n \"attrs\": {\n \"icon\": 'align-left',\n \"type\": 'link'\n }\n }, [h(ant_design_vue__WEBPACK_IMPORTED_MODULE_9__[\"default\"], {\n \"attrs\": {\n \"type\": \"down\"\n }\n })])]);\n return h(\"div\", {\n \"class\": ['ant-pro-multi-tab', contentWidth ? 'wide' : null]\n }, [h(\"div\", {\n \"class\": 'ant-pro-multi-tab-wrapper'\n }, [h(ant_design_vue__WEBPACK_IMPORTED_MODULE_7__[\"default\"], {\n \"attrs\": {\n \"hideAdd\": true,\n \"type\": 'editable-card',\n \"tabBarStyle\": customStyle\n },\n \"on\": {\n \"edit\": edit\n },\n \"model\": {\n value: this.activeKey,\n callback: $$v => {\n this.activeKey = $$v;\n }\n }\n }, [tabPanels, controlMenu])])]);\n },\n created() {\n const {\n pages,\n fullPathList\n } = this;\n _events__WEBPACK_IMPORTED_MODULE_2__[\"default\"].$on(_APIEnums__WEBPACK_IMPORTED_MODULE_3__.TAB_BINDING.TAB_CLOSE, val => {\n this.closeThat(val);\n console.log('hook:tab:ck', val);\n }).$on(_APIEnums__WEBPACK_IMPORTED_MODULE_3__.TAB_BINDING.TAB_CLOSE_RIGHT, val => {\n this.closeRight(val);\n console.log('hook:tab:closeRight', val);\n }).$on(_APIEnums__WEBPACK_IMPORTED_MODULE_3__.TAB_BINDING.TAB_CLOSE_LEFT, val => {\n this.closeLeft(val);\n console.log('hook:tab:closeLeft', val);\n }).$on(_APIEnums__WEBPACK_IMPORTED_MODULE_3__.TAB_BINDING.TAB_CLOSE_ALL, val => {\n this.closeAll(val);\n console.log('hook:tab:closeAll', val);\n }).$on('hook:tab:rename', val => {\n // console.log('hook:tab:rename', val)\n });\n pages.push(this.$route);\n fullPathList.push(this.$route.fullPath);\n this.activeLastTab();\n this.$watch('$route', newVal => {\n const {\n fullPath,\n params\n } = newVal;\n if (this.activeKey !== fullPath) {\n this.activeKey = fullPath;\n }\n if (this.fullPathList.indexOf(fullPath) < 0) {\n this.fullPathList.push(fullPath);\n /** 向外抛出打开方法 */\n this.$tab.open(newVal);\n if (params && params._tabName) {\n const newPage = Object.assign({}, newVal, {\n meta: {\n customTitle: params._tabName\n }\n });\n this.pages.push(newPage);\n } else {\n this.pages.push(newVal);\n }\n }\n });\n this.$watch('activeKey', pathKey => {\n this.$router.push({\n path: pathKey\n });\n /** 激活路由时记录信息 */\n this.$tab.activeTab(this.$route);\n });\n },\n mounted() {\n /** 延迟执行,记录第一次路由 */\n // let timer=setTimeout(()=>{\n // this.$tab.open(this.$route)\n // clearTimeout(timer)\n // }, 60)\n },\n methods: {\n activeLastTab() {\n this.activeKey = this.fullPathList[this.fullPathList.length - 1];\n },\n remove(targetKey) {\n this.closeThat(targetKey);\n },\n closeThat(targetKey) {\n if (this.fullPathList.length > 1) {\n this.pages = this.pages.filter(page => page.fullPath !== targetKey);\n this.fullPathList = this.fullPathList.filter(path => path !== targetKey);\n this.activeLastTab();\n /** 向外抛出关闭方法 */\n let cache = true;\n try {\n const majorPath = targetKey.split('?')[0];\n cache = this.fullPathList.some(path => path.includes('?') && path.split('?')[0] === majorPath);\n this.$tab.close(majorPath, cache);\n } catch {\n this.$tab.close(targetKey, cache);\n }\n console.log(cache, '是否缓存');\n }\n },\n closeLeft(e) {\n const currentIndex = this.fullPathList.indexOf(e);\n if (currentIndex > 0) {\n this.fullPathList.forEach((item, index) => {\n if (index < currentIndex) {\n this.remove(item);\n }\n });\n }\n },\n closeRight(e) {\n const currentIndex = this.fullPathList.indexOf(e);\n if (currentIndex < this.fullPathList.length - 1) {\n this.fullPathList.forEach((item, index) => {\n if (index > currentIndex) {\n this.remove(item);\n }\n });\n }\n },\n closeAll(e) {\n const currentIndex = this.fullPathList.indexOf(e);\n this.fullPathList.forEach((item, index) => {\n if (index !== currentIndex) {\n this.remove(item);\n }\n });\n }\n }\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (MultiTab);\n\n//# sourceURL=webpack://mui/./plugins/lib/multiTab/MultiTab.jsx?");
|
|
3623
3623
|
|
|
3624
3624
|
/***/ }),
|
|
3625
3625
|
|
|
@@ -3641,7 +3641,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _API
|
|
|
3641
3641
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
3642
3642
|
|
|
3643
3643
|
"use strict";
|
|
3644
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _vue_babel_helper_vue_jsx_merge_props__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @vue/babel-helper-vue-jsx-merge-props */ \"./node_modules/@vue/babel-helper-vue-jsx-merge-props/dist/helper.js\");\n/* harmony import */ var _vue_babel_helper_vue_jsx_merge_props__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_vue_babel_helper_vue_jsx_merge_props__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.push.js */ \"./node_modules/core-js/modules/es.array.push.js\");\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _APIEnums__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./APIEnums */ \"./plugins/lib/multiTab/APIEnums.js\");\n/* harmony import */ var _events__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./events */ \"./plugins/lib/multiTab/events.js\");\n/* harmony import */ var _RouteAPI__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./RouteAPI */ \"./plugins/lib/multiTab/RouteAPI.js\");\n/* harmony import */ var _MultiTab_jsx__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./MultiTab.jsx */ \"./plugins/lib/multiTab/MultiTab.jsx\");\n/* harmony import */ var _RouteKeepAlive__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./RouteKeepAlive */ \"./plugins/lib/multiTab/RouteKeepAlive.js\");\n\n\n/* eslint-disable */\n\n\n\n\n\nconst addAndGet = val => {\n return val >= Number.MAX_SAFE_INTEGER ? 0 : ++val;\n};\nconst RouteContent = {\n name: 'RouteContent',\n data() {\n return {\n includes: [],\n excludes: [],\n /*\r\n * Cache: { fullPath : String, snapshot : Number }\r\n * cached: Map\r\n */\n cached: {}\n };\n },\n render() {\n const h = arguments[0];\n const {\n $route: {\n meta,\n fullPath\n },\n includes,\n excludes,\n cached\n } = this;\n const handleRef = ref => {\n this.keepRef = ref;\n };\n console.log('meta', this.$route);\n if (meta.keepAlive) {\n if (includes.findIndex(item => item === fullPath) === -1) {\n includes.push(fullPath);\n cached[fullPath] = {\n fullPath,\n snapshot: 0\n };\n }\n }\n const genKey = cached[fullPath].fullPath + cached[fullPath].snapshot;\n const props = {\n on: {\n ref: handleRef\n }\n };\n return h(\"route-keep-alive\", _vue_babel_helper_vue_jsx_merge_props__WEBPACK_IMPORTED_MODULE_0___default()([{}, props, {\n \"attrs\": {\n \"include\": includes,\n \"exclude\": excludes\n }\n }]), [h(\"router-view\", {\n \"key\": genKey\n })]);\n },\n created() {\n _events__WEBPACK_IMPORTED_MODULE_3__[\"default\"].$on(_APIEnums__WEBPACK_IMPORTED_MODULE_2__.ROUTE_BINDING.R_OPEN, ({\n routeName,\n title,\n ...rest\n }) => {\n this.$router.push({\n name: routeName,\n params: {\n '_tabName': title,\n ...rest\n }\n });\n }).$on(_APIEnums__WEBPACK_IMPORTED_MODULE_2__.ROUTE_BINDING.R_REFRESH, keyPath => {\n const {\n $route: {\n fullPath\n }\n } = this;\n let key = keyPath || fullPath;\n const cache = this.cached[key];\n this.keepRef.clearCache(key);\n cache.snapshot = addAndGet(cache.snapshot);\n // how with\n this.$forceUpdate();\n }).$on(_APIEnums__WEBPACK_IMPORTED_MODULE_2__.ROUTE_BINDING.R_GET_CACHES, callback => {\n callback(this.keepRef.allCache());\n }).$on(_APIEnums__WEBPACK_IMPORTED_MODULE_2__.ROUTE_BINDING.R_CLOSE, val => {\n const {\n config: keyPath,\n isCache\n } = val;\n _events__WEBPACK_IMPORTED_MODULE_3__[\"default\"].$emit(_APIEnums__WEBPACK_IMPORTED_MODULE_2__.TAB_BINDING.TAB_CLOSE, keyPath);\n // this.keepRef.clearCache(keyPath)\n });\n }\n};\nRouteContent.install = function (Vue) {\n if (Vue.prototype.$tab) {\n return;\n }\n Vue.prototype.$tab = _RouteAPI__WEBPACK_IMPORTED_MODULE_4__[\"default\"];\n Vue.component(RouteContent.name, RouteContent);\n Vue.component(_RouteKeepAlive__WEBPACK_IMPORTED_MODULE_6__[\"default\"].name, _RouteKeepAlive__WEBPACK_IMPORTED_MODULE_6__[\"default\"]);\n Vue.component(_MultiTab_jsx__WEBPACK_IMPORTED_MODULE_5__[\"default\"].name, _MultiTab_jsx__WEBPACK_IMPORTED_MODULE_5__[\"default\"]);\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (RouteContent);\n\n//# sourceURL=webpack://mui/./plugins/lib/multiTab/RouteContent.jsx?");
|
|
3644
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _vue_babel_helper_vue_jsx_merge_props__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @vue/babel-helper-vue-jsx-merge-props */ \"./node_modules/@vue/babel-helper-vue-jsx-merge-props/dist/helper.js\");\n/* harmony import */ var _vue_babel_helper_vue_jsx_merge_props__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_vue_babel_helper_vue_jsx_merge_props__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.push.js */ \"./node_modules/core-js/modules/es.array.push.js\");\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _APIEnums__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./APIEnums */ \"./plugins/lib/multiTab/APIEnums.js\");\n/* harmony import */ var _events__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./events */ \"./plugins/lib/multiTab/events.js\");\n/* harmony import */ var _RouteAPI__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./RouteAPI */ \"./plugins/lib/multiTab/RouteAPI.js\");\n/* harmony import */ var _MultiTab_jsx__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./MultiTab.jsx */ \"./plugins/lib/multiTab/MultiTab.jsx\");\n/* harmony import */ var _RouteKeepAlive__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./RouteKeepAlive */ \"./plugins/lib/multiTab/RouteKeepAlive.js\");\n\n\n/* eslint-disable */\n\n\n\n\n\nconst addAndGet = val => {\n return val >= Number.MAX_SAFE_INTEGER ? 0 : ++val;\n};\nconst RouteContent = {\n name: 'RouteContent',\n data() {\n return {\n includes: [],\n excludes: [],\n /*\r\n * Cache: { fullPath : String, snapshot : Number }\r\n * cached: Map\r\n */\n cached: {}\n };\n },\n render() {\n const h = arguments[0];\n const {\n $route: {\n meta,\n fullPath\n },\n includes,\n excludes,\n cached\n } = this;\n const handleRef = ref => {\n this.keepRef = ref;\n };\n console.log('meta', this.$route);\n if (meta.keepAlive) {\n if (includes.findIndex(item => item === fullPath) === -1) {\n includes.push(fullPath);\n cached[fullPath] = {\n fullPath,\n snapshot: 0\n };\n }\n }\n const genKey = cached[fullPath].fullPath + cached[fullPath].snapshot;\n const props = {\n on: {\n ref: handleRef\n }\n };\n return h(\"route-keep-alive\", _vue_babel_helper_vue_jsx_merge_props__WEBPACK_IMPORTED_MODULE_0___default()([{}, props, {\n \"attrs\": {\n \"include\": includes,\n \"exclude\": excludes\n }\n }]), [h(\"router-view\", {\n \"key\": genKey\n })]);\n },\n created() {\n _events__WEBPACK_IMPORTED_MODULE_3__[\"default\"].$on(_APIEnums__WEBPACK_IMPORTED_MODULE_2__.ROUTE_BINDING.R_OPEN, ({\n routeName,\n title,\n ...rest\n }) => {\n this.$router.push({\n name: routeName,\n params: {\n '_tabName': title,\n ...rest\n }\n });\n }).$on(_APIEnums__WEBPACK_IMPORTED_MODULE_2__.ROUTE_BINDING.R_REFRESH, keyPath => {\n const {\n $route: {\n fullPath\n }\n } = this;\n let key = keyPath || fullPath;\n const cache = this.cached[key];\n this.keepRef.clearCache(key);\n cache.snapshot = addAndGet(cache.snapshot);\n // how with\n this.$forceUpdate();\n }).$on(_APIEnums__WEBPACK_IMPORTED_MODULE_2__.ROUTE_BINDING.R_GET_CACHES, callback => {\n callback(this.keepRef.allCache());\n }).$on(_APIEnums__WEBPACK_IMPORTED_MODULE_2__.ROUTE_BINDING.R_CLOSE, val => {\n const {\n config: keyPath,\n isCache\n } = val;\n _events__WEBPACK_IMPORTED_MODULE_3__[\"default\"].$emit(_APIEnums__WEBPACK_IMPORTED_MODULE_2__.TAB_BINDING.TAB_CLOSE, keyPath);\n // this.keepRef.clearCache(keyPath)\n });\n }\n};\nRouteContent.install = function (Vue) {\n if (Vue.prototype.$tab) {\n return;\n }\n Vue.prototype.$tab = _RouteAPI__WEBPACK_IMPORTED_MODULE_4__[\"default\"];\n Vue.prototype.$tabBus = _events__WEBPACK_IMPORTED_MODULE_3__[\"default\"];\n Vue.component(RouteContent.name, RouteContent);\n Vue.component(_RouteKeepAlive__WEBPACK_IMPORTED_MODULE_6__[\"default\"].name, _RouteKeepAlive__WEBPACK_IMPORTED_MODULE_6__[\"default\"]);\n Vue.component(_MultiTab_jsx__WEBPACK_IMPORTED_MODULE_5__[\"default\"].name, _MultiTab_jsx__WEBPACK_IMPORTED_MODULE_5__[\"default\"]);\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (RouteContent);\n\n//# sourceURL=webpack://mui/./plugins/lib/multiTab/RouteContent.jsx?");
|
|
3645
3645
|
|
|
3646
3646
|
/***/ }),
|
|
3647
3647
|
|
|
@@ -3685,7 +3685,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
|
3685
3685
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
3686
3686
|
|
|
3687
3687
|
"use strict";
|
|
3688
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../node_modules/css-loader/dist/runtime/api.js */ \"./node_modules/css-loader/dist/runtime/api.js\");\n/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__);\n// Imports\n\nvar ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default()(function(i){return i[1]});\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \"/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\\n/* stylelint-disable no-duplicate-selectors */\\n/* stylelint-disable */\\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\\n.ant-pro-multi-tab .ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-tab-active {\\n
|
|
3688
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../node_modules/css-loader/dist/runtime/api.js */ \"./node_modules/css-loader/dist/runtime/api.js\");\n/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__);\n// Imports\n\nvar ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default()(function(i){return i[1]});\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \"/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\\n/* stylelint-disable no-duplicate-selectors */\\n/* stylelint-disable */\\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\\n.ant-pro-multi-tab .ant-tabs-bar {\\n margin: 0;\\n padding-left: 20px;\\n box-sizing: border-box;\\n background: #001529;\\n}\\n.ant-pro-multi-tab .ant-tabs-extra-content .ant-btn {\\n border: none;\\n background: transparent;\\n}\\n.ant-pro-multi-tab .ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-tab {\\n height: 26px;\\n line-height: 26px;\\n color: #bfbfbf;\\n border-radius: 2px;\\n padding: 0 8px;\\n border: none;\\n background: transparent;\\n}\\n.ant-pro-multi-tab .ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-tab .ant-tabs-close-x {\\n margin-left: 14px;\\n color: #bfbfbf;\\n}\\n.ant-pro-multi-tab .ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-tab-active {\\n color: #1890ff;\\n background-color: #e6f7ff;\\n}\\n.ant-pro-multi-tab .ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-tab-active .ant-tabs-close-x {\\n color: #1890ff;\\n}\\n.ant-pro-multi-tab .ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-nav-container {\\n display: flex;\\n align-items: center;\\n}\\n.ant-pro-multi-tab .ant-tabs-nav .ant-tabs-tab .anticon {\\n margin-right: 4px;\\n}\\n.ant-pro-multi-tab .ant-tabs-nav .ant-tabs-tab .anticon:last-child {\\n margin-right: 0;\\n}\\n.ant-pro-multi-tab .ant-pro-multi-tab-title {\\n user-select: none;\\n font-weight: 300;\\n font-size: 14px;\\n}\\n.ant-pro-multi-tab .ant-pro-multi-tab-icon {\\n height: 14px;\\n overflow: hidden;\\n color: rgba(0, 0, 0, 0.45);\\n font-size: 12px;\\n vertical-align: middle;\\n transition: all 0.3s;\\n}\\n.ant-pro-multi-tab .ant-pro-multi-tab-icon:hover {\\n color: rgba(0, 0, 0, 0.85);\\n}\\n.topmenu .ant-pro-multi-tab {\\n border-bottom: 1px solid #e8e8e8;\\n}\\n.topmenu .ant-pro-multi-tab .ant-pro-multi-tab-wrapper {\\n max-width: 100%;\\n margin: 0 auto;\\n}\\n.topmenu .ant-pro-multi-tab.wide .ant-pro-multi-tab-wrapper {\\n max-width: 1200px;\\n margin: 0 auto;\\n}\\n.topmenu .ant-pro-multi-tab .ant-tabs {\\n height: 39px;\\n}\\n.topmenu .ant-pro-multi-tab .ant-tabs-bar {\\n border-bottom: 0;\\n}\\n\", \"\"]);\n// Exports\n/* harmony default export */ __webpack_exports__[\"default\"] = (___CSS_LOADER_EXPORT___);\n\n\n//# sourceURL=webpack://mui/./plugins/lib/multiTab/index.less?./node_modules/css-loader/dist/cjs.js!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-2.use%5B2%5D");
|
|
3689
3689
|
|
|
3690
3690
|
/***/ }),
|
|
3691
3691
|
|
package/dist/table.umd.js
CHANGED
|
@@ -4413,7 +4413,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _ind
|
|
|
4413
4413
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4414
4414
|
|
|
4415
4415
|
"use strict";
|
|
4416
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../node_modules/css-loader/dist/runtime/api.js */ \"./node_modules/css-loader/dist/runtime/api.js\");\n/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__);\n// Imports\n\nvar ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default()(function(i){return i[1]});\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \"/* 混入样式 */\\n/* 布局( 纯为了不想多写一行 */\\n/* 滚动条样式 */\\n/* 文字换行省略(默认1行)*/\\n/* flex布局 */\\n/* flex排版方式 */\\n.WebComponentTable[data-v-19255b3a] {\\n width: 100%;\\n height: 100%;\\n display: flex;\\n gap: 16px 0;\\n flex-direction: column;\\n}\\n.WebComponentTable__List__Empty[data-v-19255b3a] {\\n gap: 16px 0;\\n height: 120px;\\n display: flex;\\n gap: 0;\\n flex-direction: column;\\n flex-wrap: wrap;\\n align-items: center;\\n justify-content: center;\\n}\\n.WebComponentTable__List__Empty i[data-v-19255b3a] {\\n font-size: 80px;\\n}\\n.WebComponentTable__Pagination[data-v-19255b3a] {\\n display: flex;\\n justify-content: flex-end;\\n}\\n\", \"\"]);\n// Exports\n/* harmony default export */ __webpack_exports__[\"default\"] = (___CSS_LOADER_EXPORT___);\n\n\n//# sourceURL=webpack://mui/./plugins/lib/table/index.vue?./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-2.use%5B2%5D!./node_modules/vue-loader/lib/index.js??vue-loader-options");
|
|
4416
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../node_modules/css-loader/dist/runtime/api.js */ \"./node_modules/css-loader/dist/runtime/api.js\");\n/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__);\n// Imports\n\nvar ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default()(function(i){return i[1]});\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \"/* 混入样式 */\\n/* 布局( 纯为了不想多写一行 */\\n/* 正方体盒子 */\\n/* 滚动条样式 */\\n/* 文字换行省略(默认1行)*/\\n/* flex布局 */\\n/* flex排版方式 */\\n.WebComponentTable[data-v-19255b3a] {\\n width: 100%;\\n height: 100%;\\n display: flex;\\n gap: 16px 0;\\n flex-direction: column;\\n}\\n.WebComponentTable__List__Empty[data-v-19255b3a] {\\n gap: 16px 0;\\n height: 120px;\\n display: flex;\\n gap: 0;\\n flex-direction: column;\\n flex-wrap: wrap;\\n align-items: center;\\n justify-content: center;\\n}\\n.WebComponentTable__List__Empty i[data-v-19255b3a] {\\n font-size: 80px;\\n}\\n.WebComponentTable__Pagination[data-v-19255b3a] {\\n display: flex;\\n justify-content: flex-end;\\n}\\n\", \"\"]);\n// Exports\n/* harmony default export */ __webpack_exports__[\"default\"] = (___CSS_LOADER_EXPORT___);\n\n\n//# sourceURL=webpack://mui/./plugins/lib/table/index.vue?./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-2.use%5B2%5D!./node_modules/vue-loader/lib/index.js??vue-loader-options");
|
|
4417
4417
|
|
|
4418
4418
|
/***/ }),
|
|
4419
4419
|
|
package/dist/tree.umd.js
CHANGED
|
@@ -3379,7 +3379,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
|
3379
3379
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
3380
3380
|
|
|
3381
3381
|
"use strict";
|
|
3382
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../node_modules/css-loader/dist/runtime/api.js */ \"./node_modules/css-loader/dist/runtime/api.js\");\n/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__);\n// Imports\n\nvar ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default()(function(i){return i[1]});\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \"/* 混入样式 */\\n/* 布局( 纯为了不想多写一行 */\\n/* 滚动条样式 */\\n/* 文字换行省略(默认1行)*/\\n/* flex布局 */\\n/* flex排版方式 */\\n.DirectoryTreeMenu {\\n height: 100%;\\n padding: 16px;\\n box-sizing: border-box;\\n}\\n.DirectoryTreeMenu__Actions {\\n display: flex;\\n gap: 0 8px;\\n position: relative;\\n}\\n.DirectoryTreeMenu__Actions .ActionsIcons {\\n cursor: pointer;\\n width: 16px;\\n height: 16px;\\n}\\n.DirectoryTreeMenu__Actions .ActionsIcons:focus {\\n outline: none;\\n}\\n.DirectoryTreeMenu .treeDirectory {\\n width: 100%;\\n height: 40px;\\n display: flex;\\n gap: 0;\\n flex-direction: row;\\n flex-wrap: wrap;\\n align-items: center;\\n justify-content: flex-start;\\n}\\n.DirectoryTreeMenu .treeDirectory > span {\\n flex: 1;\\n text-align: left;\\n color: #FFFFFF;\\n font-size: 16px;\\n font-weight: 700;\\n position: relative;\\n padding-left: 12px;\\n box-sizing: border-box;\\n}\\n.DirectoryTreeMenu .treeDirectory > span::after {\\n width: 4px;\\n height: 12px;\\n left: 0;\\n top: calc((100% - 12px) / 2);\\n content: '';\\n position: absolute;\\n background: #1677FF;\\n border-radius: 2px;\\n}\\n.DirectoryTreeMenu .treeDirectory :deep(.ant-btn) {\\n margin-right: 12px;\\n line-height: 16px;\\n border-color: #FFFFFF;\\n width: 16px;\\n height: 16px;\\n display: flex;\\n gap: 0;\\n flex-direction: row;\\n flex-wrap: wrap;\\n align-items: center;\\n justify-content: center;\\n}\\n.DirectoryTreeMenu .treeDirectory :deep(.ant-btn) i {\\n font-size: 11px;\\n color: #FFFFFF;\\n}\\n.DirectoryTreeMenu__Tree {\\n height: calc(100% - 40px);\\n overflow-y: auto;\\n}\\n.DirectoryTreeMenu__Tree::-webkit-scrollbar-track {\\n border-radius: 0;\\n background-color: transparent;\\n}\\n.DirectoryTreeMenu__Tree::-webkit-scrollbar-thumb {\\n border-radius: 0;\\n border-radius: 5px;\\n background-image: -webkit-linear-gradient(270deg, #1890ff 0%,
|
|
3382
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../node_modules/css-loader/dist/runtime/api.js */ \"./node_modules/css-loader/dist/runtime/api.js\");\n/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__);\n// Imports\n\nvar ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default()(function(i){return i[1]});\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \"/* 混入样式 */\\n/* 布局( 纯为了不想多写一行 */\\n/* 正方体盒子 */\\n/* 滚动条样式 */\\n/* 文字换行省略(默认1行)*/\\n/* flex布局 */\\n/* flex排版方式 */\\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\\n/* stylelint-disable no-duplicate-selectors */\\n/* stylelint-disable */\\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\\n.DirectoryTreeMenu {\\n height: 100%;\\n padding: 16px;\\n box-sizing: border-box;\\n}\\n.DirectoryTreeMenu__Actions {\\n display: flex;\\n gap: 0 8px;\\n position: relative;\\n}\\n.DirectoryTreeMenu__Actions .ActionsIcons {\\n cursor: pointer;\\n width: 16px;\\n height: 16px;\\n}\\n.DirectoryTreeMenu__Actions .ActionsIcons:focus {\\n outline: none;\\n}\\n.DirectoryTreeMenu .treeDirectory {\\n width: 100%;\\n height: 40px;\\n display: flex;\\n gap: 0;\\n flex-direction: row;\\n flex-wrap: wrap;\\n align-items: center;\\n justify-content: flex-start;\\n}\\n.DirectoryTreeMenu .treeDirectory > span {\\n flex: 1;\\n text-align: left;\\n color: #FFFFFF;\\n font-size: 16px;\\n font-weight: 700;\\n position: relative;\\n padding-left: 12px;\\n box-sizing: border-box;\\n}\\n.DirectoryTreeMenu .treeDirectory > span::after {\\n width: 4px;\\n height: 12px;\\n left: 0;\\n top: calc((100% - 12px) / 2);\\n content: '';\\n position: absolute;\\n background: #1677FF;\\n border-radius: 2px;\\n}\\n.DirectoryTreeMenu .treeDirectory :deep(.ant-btn) {\\n margin-right: 12px;\\n line-height: 16px;\\n border-color: #FFFFFF;\\n width: 16px;\\n height: 16px;\\n display: flex;\\n gap: 0;\\n flex-direction: row;\\n flex-wrap: wrap;\\n align-items: center;\\n justify-content: center;\\n}\\n.DirectoryTreeMenu .treeDirectory :deep(.ant-btn) i {\\n font-size: 11px;\\n color: #FFFFFF;\\n}\\n.DirectoryTreeMenu__Tree {\\n height: calc(100% - 40px);\\n overflow-y: auto;\\n}\\n.DirectoryTreeMenu__Tree::-webkit-scrollbar-track {\\n border-radius: 0;\\n background-color: transparent;\\n}\\n.DirectoryTreeMenu__Tree::-webkit-scrollbar-thumb {\\n border-radius: 0;\\n border-radius: 5px;\\n background-image: -webkit-linear-gradient(270deg, #1890ff 0%, transparent 100%);\\n -webkit-transition: all 0.2s;\\n transition: all 0.2s;\\n}\\n.DirectoryTreeMenu__Tree::-webkit-scrollbar-corner {\\n background-color: transparent;\\n}\\n.DirectoryTreeMenu__Tree::-webkit-scrollbar {\\n width: 6px;\\n height: 56px;\\n}\\n.DirectoryTreeMenu__Tree::-webkit-scrollbar {\\n width: 4px;\\n}\\n.DirectoryTreeMenu__Dropdown__Menu {\\n width: 140px;\\n height: auto;\\n border-radius: 2px;\\n padding: 12px 0;\\n box-sizing: border-box;\\n}\\n.DirectoryTreeMenu__Dropdown__Menu span {\\n display: flex;\\n cursor: pointer;\\n align-items: center;\\n font-size: 14px;\\n margin-bottom: 2px;\\n padding: 0 16px;\\n box-sizing: border-box;\\n width: 100%;\\n height: 26px;\\n}\\n.DirectoryTreeMenu__Dropdown__Menu span:last-child {\\n margin: 0;\\n}\\n.DirectoryTreeMenu__Dropdown__Menu span .svg-icon {\\n margin-right: 8px;\\n width: 16px;\\n height: 16px;\\n}\\n.DirectoryTreeMenu__Node .ant-tree-node-content-wrapper {\\n width: calc(100% - 24px);\\n}\\n.DirectoryTreeMenu__Node .ant-tree-node-content-wrapper .ant-tree-title {\\n display: inline-block;\\n width: calc(100% - 24px);\\n height: 100%;\\n}\\n.DirectoryTreeMenu__Node .ant-tree-node-content-wrapper .ant-tree-title .__Title {\\n gap: 0 8px;\\n width: 100%;\\n height: 100%;\\n display: flex;\\n gap: 0;\\n flex-direction: row;\\n flex-wrap: wrap;\\n align-items: center;\\n justify-content: flex-start;\\n}\\n.DirectoryTreeMenu__Node .ant-tree-node-content-wrapper .ant-tree-title .__Title > span {\\n white-space: normal;\\n width: calc(100% - 56px);\\n text-overflow: -o-ellipsis-lastline;\\n overflow: hidden;\\n text-overflow: ellipsis;\\n display: -webkit-box;\\n -webkit-line-clamp: 1;\\n line-clamp: 1;\\n -webkit-box-orient: vertical;\\n}\\n\", \"\"]);\n// Exports\n/* harmony default export */ __webpack_exports__[\"default\"] = (___CSS_LOADER_EXPORT___);\n\n\n//# sourceURL=webpack://mui/./plugins/lib/tree/style/Directory.less?./node_modules/css-loader/dist/cjs.js!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-2.use%5B2%5D");
|
|
3383
3383
|
|
|
3384
3384
|
/***/ }),
|
|
3385
3385
|
|