gyyg-components 0.3.11 → 0.3.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/gyyg-components.common.js +5 -173
- package/lib/gyyg-components.umd.js +5 -173
- package/lib/gyyg-components.umd.min.js +5 -173
- package/package.json +1 -1
- package/src/components/MecDialog/MecDialog.vue +32 -11
- package/src/directive/el-drag-dialog/drag.js +0 -3
- package/src/directive/hasPermi.js +1 -3
|
@@ -248,7 +248,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony default export */
|
|
|
248
248
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
249
249
|
|
|
250
250
|
"use strict";
|
|
251
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _directive_el_drag_dialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @/directive/el-drag-dialog */ \"./src/directive/el-drag-dialog/index.js\");\n/* harmony
|
|
251
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _directive_el_drag_dialog__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @/directive/el-drag-dialog */ \"./src/directive/el-drag-dialog/index.js\");\n // 引入拖拽指令\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"mec-dialog\",\n directives: {\n elDragDialog: _directive_el_drag_dialog__WEBPACK_IMPORTED_MODULE_0__[\"default\"]\n },\n props: {\n appendToBody: {\n type: Boolean,\n default: false\n },\n // 是否嵌套\n closeOnClickModal: {\n type: Boolean,\n default: false\n },\n // 是否可以点击关闭\n footer: {\n type: Boolean,\n default: true\n },\n // 是否显示底部\n title: {\n type: String,\n default: \"\"\n },\n // 对话框title\n type: {\n type: String,\n default: \"\"\n },\n // 对话框类型:1.基础表单[base-dialog-form] 2.表格[base-dialog-table] 3.全屏 [base-dialog-fullscreen]\n width: {\n type: String,\n default: \"\"\n },\n // 对话框宽度800px 或 50%\n destroyOnClose: {\n type: Boolean,\n default: true\n },\n beforeClose: Function,\n // 关闭回调函数\n dialogClass: {\n //class\n type: String,\n default: \"\"\n },\n // 是否显示叉号\n showClose: {\n default: true,\n type: Boolean\n },\n //是否需要遮罩层\n modal: {\n default: true,\n type: Boolean\n },\n dragDialog: {\n type: Boolean,\n default: true\n },\n dialogClass: {\n type: String,\n default: \"\"\n },\n titleIcon: {\n type: String,\n default: ''\n },\n height: {\n type: String,\n default: 'auto'\n }\n },\n data() {\n return {\n visible: false,\n fullscreen: false\n };\n },\n computed: {\n customClass() {\n let className = this.height !== 'auto' ? 'haveHeight-dialog' : this.dialogClass;\n return className;\n }\n },\n created() {\n this.type === \"fullscreen\" && (this.fullscreen = true);\n },\n methods: {\n open() {\n this.visible = true;\n console.log(this.height);\n if (this.height !== 'auto' && this.height) {\n this.$nextTick(() => {\n this.$refs.dialog.$el.firstElementChild.style.height = this.height;\n });\n }\n },\n close() {\n this.visible = false;\n },\n closed() {\n this.$emit(\"closed\");\n },\n closeMethod() {\n this.$emit(\"close\");\n }\n }\n});\n\n//# sourceURL=webpack://gyyg-components/./src/components/MecDialog/MecDialog.vue?./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options");
|
|
252
252
|
|
|
253
253
|
/***/ }),
|
|
254
254
|
|
|
@@ -524,7 +524,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) *
|
|
|
524
524
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
525
525
|
|
|
526
526
|
"use strict";
|
|
527
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"staticRenderFns\", function() { return staticRenderFns; });\nvar render = function render() {\n var _vm = this,\n _c = _vm._self._c;\n return _c(\"div\", {\n staticClass: \"base-dialog\"\n }, [_vm.visible ? _c(\"el-dialog\", {\n directives: [{\n name: \"el-drag-dialog\",\n rawName: \"v-el-drag-dialog\",\n value: _vm.dragDialog,\n expression: \"dragDialog\"\n }],\n class: _vm.dialogClass,\n attrs: {\n type: _vm.type,\n width: _vm.width,\n \"custom-class\": _vm.customClass,\n fullscreen: _vm.fullscreen,\n title: _vm.title,\n \"close-on-click-modal\": _vm.closeOnClickModal,\n \"append-to-body\": _vm.appendToBody,\n visible: _vm.visible,\n \"before-close\": _vm.beforeClose,\n \"show-close\": _vm.showClose,\n \"destroy-on-close\": _vm.destroyOnClose,\n modal: _vm.modal\n },\n on: {\n \"update:visible\": function ($event) {\n _vm.visible = $event;\n },\n closed: _vm.closed,\n close: _vm.closeMethod\n }\n }, [_c(\"div\", {\n staticStyle: {\n \"font-size\": \"16px\",\n color: \"#303133\"\n },\n attrs: {\n slot: \"title\"\n },\n slot: \"title\"\n }, [_c(\"el-icon\", {\n class: _vm.titleIcon,\n staticStyle: {\n color: \"#1890ff\",\n \"font-size\": \"18px\",\n \"margin-right\": \"5px\"\n }\n }), _c(\"span\", [_vm._v(_vm._s(_vm.title))])], 1), _vm._t(\"body\"), _vm.footer ? _c(\"div\", {\n attrs: {\n slot: \"footer\"\n },\n slot: \"footer\"\n }, [_vm._t(\"footer\")], 2) : _vm._e()], 2) : _vm._e()], 1);\n};\nvar staticRenderFns = [];\nrender._withStripped = true;\n\n\n//# sourceURL=webpack://gyyg-components/./src/components/MecDialog/MecDialog.vue?./node_modules/cache-loader/dist/cjs.js?%7B%22cacheDirectory%22:%22node_modules/.cache/vue-loader%22,%22cacheIdentifier%22:%22d10f7088-vue-loader-template%22%7D!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options");
|
|
527
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"staticRenderFns\", function() { return staticRenderFns; });\nvar render = function render() {\n var _vm = this,\n _c = _vm._self._c;\n return _c(\"div\", {\n staticClass: \"base-dialog\"\n }, [_vm.visible ? _c(\"el-dialog\", {\n directives: [{\n name: \"el-drag-dialog\",\n rawName: \"v-el-drag-dialog\",\n value: _vm.dragDialog,\n expression: \"dragDialog\"\n }],\n ref: \"dialog\",\n class: _vm.dialogClass,\n attrs: {\n type: _vm.type,\n width: _vm.width,\n \"custom-class\": _vm.customClass,\n fullscreen: _vm.fullscreen,\n title: _vm.title,\n \"close-on-click-modal\": _vm.closeOnClickModal,\n \"append-to-body\": _vm.appendToBody,\n visible: _vm.visible,\n \"before-close\": _vm.beforeClose,\n \"show-close\": _vm.showClose,\n \"destroy-on-close\": _vm.destroyOnClose,\n modal: _vm.modal\n },\n on: {\n \"update:visible\": function ($event) {\n _vm.visible = $event;\n },\n closed: _vm.closed,\n close: _vm.closeMethod\n }\n }, [_c(\"div\", {\n staticStyle: {\n \"font-size\": \"16px\",\n color: \"#303133\"\n },\n attrs: {\n slot: \"title\"\n },\n slot: \"title\"\n }, [_c(\"el-icon\", {\n class: _vm.titleIcon,\n staticStyle: {\n color: \"#1890ff\",\n \"font-size\": \"18px\",\n \"margin-right\": \"5px\"\n }\n }), _c(\"span\", [_vm._v(_vm._s(_vm.title))])], 1), _vm._t(\"body\"), _vm.footer ? _c(\"div\", {\n attrs: {\n slot: \"footer\"\n },\n slot: \"footer\"\n }, [_vm._t(\"footer\")], 2) : _vm._e()], 2) : _vm._e()], 1);\n};\nvar staticRenderFns = [];\nrender._withStripped = true;\n\n\n//# sourceURL=webpack://gyyg-components/./src/components/MecDialog/MecDialog.vue?./node_modules/cache-loader/dist/cjs.js?%7B%22cacheDirectory%22:%22node_modules/.cache/vue-loader%22,%22cacheIdentifier%22:%22d10f7088-vue-loader-template%22%7D!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options");
|
|
528
528
|
|
|
529
529
|
/***/ }),
|
|
530
530
|
|
|
@@ -708,18 +708,6 @@ eval("\nvar isCallable = __webpack_require__(/*! ../internals/is-callable */ \".
|
|
|
708
708
|
|
|
709
709
|
/***/ }),
|
|
710
710
|
|
|
711
|
-
/***/ "./node_modules/core-js/internals/a-possible-prototype.js":
|
|
712
|
-
/*!****************************************************************!*\
|
|
713
|
-
!*** ./node_modules/core-js/internals/a-possible-prototype.js ***!
|
|
714
|
-
\****************************************************************/
|
|
715
|
-
/*! no static exports found */
|
|
716
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
717
|
-
|
|
718
|
-
"use strict";
|
|
719
|
-
eval("\nvar isPossiblePrototype = __webpack_require__(/*! ../internals/is-possible-prototype */ \"./node_modules/core-js/internals/is-possible-prototype.js\");\n\nvar $String = String;\nvar $TypeError = TypeError;\n\nmodule.exports = function (argument) {\n if (isPossiblePrototype(argument)) return argument;\n throw new $TypeError(\"Can't set \" + $String(argument) + ' as a prototype');\n};\n\n\n//# sourceURL=webpack://gyyg-components/./node_modules/core-js/internals/a-possible-prototype.js?");
|
|
720
|
-
|
|
721
|
-
/***/ }),
|
|
722
|
-
|
|
723
711
|
/***/ "./node_modules/core-js/internals/an-instance.js":
|
|
724
712
|
/*!*******************************************************!*\
|
|
725
713
|
!*** ./node_modules/core-js/internals/an-instance.js ***!
|
|
@@ -1044,42 +1032,6 @@ eval("\n/* global Bun, Deno -- detection */\nvar globalThis = __webpack_require_
|
|
|
1044
1032
|
|
|
1045
1033
|
/***/ }),
|
|
1046
1034
|
|
|
1047
|
-
/***/ "./node_modules/core-js/internals/error-stack-clear.js":
|
|
1048
|
-
/*!*************************************************************!*\
|
|
1049
|
-
!*** ./node_modules/core-js/internals/error-stack-clear.js ***!
|
|
1050
|
-
\*************************************************************/
|
|
1051
|
-
/*! no static exports found */
|
|
1052
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1053
|
-
|
|
1054
|
-
"use strict";
|
|
1055
|
-
eval("\nvar uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ \"./node_modules/core-js/internals/function-uncurry-this.js\");\n\nvar $Error = Error;\nvar replace = uncurryThis(''.replace);\n\nvar TEST = (function (arg) { return String(new $Error(arg).stack); })('zxcasd');\n// eslint-disable-next-line redos/no-vulnerable, sonarjs/slow-regex -- safe\nvar V8_OR_CHAKRA_STACK_ENTRY = /\\n\\s*at [^:]*:[^\\n]*/;\nvar IS_V8_OR_CHAKRA_STACK = V8_OR_CHAKRA_STACK_ENTRY.test(TEST);\n\nmodule.exports = function (stack, dropEntries) {\n if (IS_V8_OR_CHAKRA_STACK && typeof stack == 'string' && !$Error.prepareStackTrace) {\n while (dropEntries--) stack = replace(stack, V8_OR_CHAKRA_STACK_ENTRY, '');\n } return stack;\n};\n\n\n//# sourceURL=webpack://gyyg-components/./node_modules/core-js/internals/error-stack-clear.js?");
|
|
1056
|
-
|
|
1057
|
-
/***/ }),
|
|
1058
|
-
|
|
1059
|
-
/***/ "./node_modules/core-js/internals/error-stack-install.js":
|
|
1060
|
-
/*!***************************************************************!*\
|
|
1061
|
-
!*** ./node_modules/core-js/internals/error-stack-install.js ***!
|
|
1062
|
-
\***************************************************************/
|
|
1063
|
-
/*! no static exports found */
|
|
1064
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1065
|
-
|
|
1066
|
-
"use strict";
|
|
1067
|
-
eval("\nvar createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ \"./node_modules/core-js/internals/create-non-enumerable-property.js\");\nvar clearErrorStack = __webpack_require__(/*! ../internals/error-stack-clear */ \"./node_modules/core-js/internals/error-stack-clear.js\");\nvar ERROR_STACK_INSTALLABLE = __webpack_require__(/*! ../internals/error-stack-installable */ \"./node_modules/core-js/internals/error-stack-installable.js\");\n\n// non-standard V8\n// eslint-disable-next-line es/no-nonstandard-error-properties -- safe\nvar captureStackTrace = Error.captureStackTrace;\n\nmodule.exports = function (error, C, stack, dropEntries) {\n if (ERROR_STACK_INSTALLABLE) {\n if (captureStackTrace) captureStackTrace(error, C);\n else createNonEnumerableProperty(error, 'stack', clearErrorStack(stack, dropEntries));\n }\n};\n\n\n//# sourceURL=webpack://gyyg-components/./node_modules/core-js/internals/error-stack-install.js?");
|
|
1068
|
-
|
|
1069
|
-
/***/ }),
|
|
1070
|
-
|
|
1071
|
-
/***/ "./node_modules/core-js/internals/error-stack-installable.js":
|
|
1072
|
-
/*!*******************************************************************!*\
|
|
1073
|
-
!*** ./node_modules/core-js/internals/error-stack-installable.js ***!
|
|
1074
|
-
\*******************************************************************/
|
|
1075
|
-
/*! no static exports found */
|
|
1076
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1077
|
-
|
|
1078
|
-
"use strict";
|
|
1079
|
-
eval("\nvar fails = __webpack_require__(/*! ../internals/fails */ \"./node_modules/core-js/internals/fails.js\");\nvar createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ \"./node_modules/core-js/internals/create-property-descriptor.js\");\n\nmodule.exports = !fails(function () {\n var error = new Error('a');\n if (!('stack' in error)) return true;\n // eslint-disable-next-line es/no-object-defineproperty -- safe\n Object.defineProperty(error, 'stack', createPropertyDescriptor(1, 7));\n return error.stack !== 7;\n});\n\n\n//# sourceURL=webpack://gyyg-components/./node_modules/core-js/internals/error-stack-installable.js?");
|
|
1080
|
-
|
|
1081
|
-
/***/ }),
|
|
1082
|
-
|
|
1083
1035
|
/***/ "./node_modules/core-js/internals/export.js":
|
|
1084
1036
|
/*!**************************************************!*\
|
|
1085
1037
|
!*** ./node_modules/core-js/internals/export.js ***!
|
|
@@ -1164,18 +1116,6 @@ eval("\nvar DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ \"
|
|
|
1164
1116
|
|
|
1165
1117
|
/***/ }),
|
|
1166
1118
|
|
|
1167
|
-
/***/ "./node_modules/core-js/internals/function-uncurry-this-accessor.js":
|
|
1168
|
-
/*!**************************************************************************!*\
|
|
1169
|
-
!*** ./node_modules/core-js/internals/function-uncurry-this-accessor.js ***!
|
|
1170
|
-
\**************************************************************************/
|
|
1171
|
-
/*! no static exports found */
|
|
1172
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1173
|
-
|
|
1174
|
-
"use strict";
|
|
1175
|
-
eval("\nvar uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ \"./node_modules/core-js/internals/function-uncurry-this.js\");\nvar aCallable = __webpack_require__(/*! ../internals/a-callable */ \"./node_modules/core-js/internals/a-callable.js\");\n\nmodule.exports = function (object, key, method) {\n try {\n // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\n return uncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method]));\n } catch (error) { /* empty */ }\n};\n\n\n//# sourceURL=webpack://gyyg-components/./node_modules/core-js/internals/function-uncurry-this-accessor.js?");
|
|
1176
|
-
|
|
1177
|
-
/***/ }),
|
|
1178
|
-
|
|
1179
1119
|
/***/ "./node_modules/core-js/internals/function-uncurry-this-clause.js":
|
|
1180
1120
|
/*!************************************************************************!*\
|
|
1181
1121
|
!*** ./node_modules/core-js/internals/function-uncurry-this-clause.js ***!
|
|
@@ -1332,18 +1272,6 @@ eval("\nvar uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-
|
|
|
1332
1272
|
|
|
1333
1273
|
/***/ }),
|
|
1334
1274
|
|
|
1335
|
-
/***/ "./node_modules/core-js/internals/inherit-if-required.js":
|
|
1336
|
-
/*!***************************************************************!*\
|
|
1337
|
-
!*** ./node_modules/core-js/internals/inherit-if-required.js ***!
|
|
1338
|
-
\***************************************************************/
|
|
1339
|
-
/*! no static exports found */
|
|
1340
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1341
|
-
|
|
1342
|
-
"use strict";
|
|
1343
|
-
eval("\nvar isCallable = __webpack_require__(/*! ../internals/is-callable */ \"./node_modules/core-js/internals/is-callable.js\");\nvar isObject = __webpack_require__(/*! ../internals/is-object */ \"./node_modules/core-js/internals/is-object.js\");\nvar setPrototypeOf = __webpack_require__(/*! ../internals/object-set-prototype-of */ \"./node_modules/core-js/internals/object-set-prototype-of.js\");\n\n// makes subclassing work correct for wrapped built-ins\nmodule.exports = function ($this, dummy, Wrapper) {\n var NewTarget, NewTargetPrototype;\n if (\n // it can work only with native `setPrototypeOf`\n setPrototypeOf &&\n // we haven't completely correct pre-ES6 way for getting `new.target`, so use this\n isCallable(NewTarget = dummy.constructor) &&\n NewTarget !== Wrapper &&\n isObject(NewTargetPrototype = NewTarget.prototype) &&\n NewTargetPrototype !== Wrapper.prototype\n ) setPrototypeOf($this, NewTargetPrototype);\n return $this;\n};\n\n\n//# sourceURL=webpack://gyyg-components/./node_modules/core-js/internals/inherit-if-required.js?");
|
|
1344
|
-
|
|
1345
|
-
/***/ }),
|
|
1346
|
-
|
|
1347
1275
|
/***/ "./node_modules/core-js/internals/inspect-source.js":
|
|
1348
1276
|
/*!**********************************************************!*\
|
|
1349
1277
|
!*** ./node_modules/core-js/internals/inspect-source.js ***!
|
|
@@ -1356,18 +1284,6 @@ eval("\nvar uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-
|
|
|
1356
1284
|
|
|
1357
1285
|
/***/ }),
|
|
1358
1286
|
|
|
1359
|
-
/***/ "./node_modules/core-js/internals/install-error-cause.js":
|
|
1360
|
-
/*!***************************************************************!*\
|
|
1361
|
-
!*** ./node_modules/core-js/internals/install-error-cause.js ***!
|
|
1362
|
-
\***************************************************************/
|
|
1363
|
-
/*! no static exports found */
|
|
1364
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1365
|
-
|
|
1366
|
-
"use strict";
|
|
1367
|
-
eval("\nvar isObject = __webpack_require__(/*! ../internals/is-object */ \"./node_modules/core-js/internals/is-object.js\");\nvar createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ \"./node_modules/core-js/internals/create-non-enumerable-property.js\");\n\n// `InstallErrorCause` abstract operation\n// https://tc39.es/proposal-error-cause/#sec-errorobjects-install-error-cause\nmodule.exports = function (O, options) {\n if (isObject(options) && 'cause' in options) {\n createNonEnumerableProperty(O, 'cause', options.cause);\n }\n};\n\n\n//# sourceURL=webpack://gyyg-components/./node_modules/core-js/internals/install-error-cause.js?");
|
|
1368
|
-
|
|
1369
|
-
/***/ }),
|
|
1370
|
-
|
|
1371
1287
|
/***/ "./node_modules/core-js/internals/internal-state.js":
|
|
1372
1288
|
/*!**********************************************************!*\
|
|
1373
1289
|
!*** ./node_modules/core-js/internals/internal-state.js ***!
|
|
@@ -1452,18 +1368,6 @@ eval("\nvar isCallable = __webpack_require__(/*! ../internals/is-callable */ \".
|
|
|
1452
1368
|
|
|
1453
1369
|
/***/ }),
|
|
1454
1370
|
|
|
1455
|
-
/***/ "./node_modules/core-js/internals/is-possible-prototype.js":
|
|
1456
|
-
/*!*****************************************************************!*\
|
|
1457
|
-
!*** ./node_modules/core-js/internals/is-possible-prototype.js ***!
|
|
1458
|
-
\*****************************************************************/
|
|
1459
|
-
/*! no static exports found */
|
|
1460
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1461
|
-
|
|
1462
|
-
"use strict";
|
|
1463
|
-
eval("\nvar isObject = __webpack_require__(/*! ../internals/is-object */ \"./node_modules/core-js/internals/is-object.js\");\n\nmodule.exports = function (argument) {\n return isObject(argument) || argument === null;\n};\n\n\n//# sourceURL=webpack://gyyg-components/./node_modules/core-js/internals/is-possible-prototype.js?");
|
|
1464
|
-
|
|
1465
|
-
/***/ }),
|
|
1466
|
-
|
|
1467
1371
|
/***/ "./node_modules/core-js/internals/is-pure.js":
|
|
1468
1372
|
/*!***************************************************!*\
|
|
1469
1373
|
!*** ./node_modules/core-js/internals/is-pure.js ***!
|
|
@@ -1620,18 +1524,6 @@ eval("\nvar ceil = Math.ceil;\nvar floor = Math.floor;\n\n// `Math.trunc` method
|
|
|
1620
1524
|
|
|
1621
1525
|
/***/ }),
|
|
1622
1526
|
|
|
1623
|
-
/***/ "./node_modules/core-js/internals/normalize-string-argument.js":
|
|
1624
|
-
/*!*********************************************************************!*\
|
|
1625
|
-
!*** ./node_modules/core-js/internals/normalize-string-argument.js ***!
|
|
1626
|
-
\*********************************************************************/
|
|
1627
|
-
/*! no static exports found */
|
|
1628
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1629
|
-
|
|
1630
|
-
"use strict";
|
|
1631
|
-
eval("\nvar toString = __webpack_require__(/*! ../internals/to-string */ \"./node_modules/core-js/internals/to-string.js\");\n\nmodule.exports = function (argument, $default) {\n return argument === undefined ? arguments.length < 2 ? '' : $default : toString(argument);\n};\n\n\n//# sourceURL=webpack://gyyg-components/./node_modules/core-js/internals/normalize-string-argument.js?");
|
|
1632
|
-
|
|
1633
|
-
/***/ }),
|
|
1634
|
-
|
|
1635
1527
|
/***/ "./node_modules/core-js/internals/object-create.js":
|
|
1636
1528
|
/*!*********************************************************!*\
|
|
1637
1529
|
!*** ./node_modules/core-js/internals/object-create.js ***!
|
|
@@ -1764,18 +1656,6 @@ eval("\nvar $propertyIsEnumerable = {}.propertyIsEnumerable;\n// eslint-disable-
|
|
|
1764
1656
|
|
|
1765
1657
|
/***/ }),
|
|
1766
1658
|
|
|
1767
|
-
/***/ "./node_modules/core-js/internals/object-set-prototype-of.js":
|
|
1768
|
-
/*!*******************************************************************!*\
|
|
1769
|
-
!*** ./node_modules/core-js/internals/object-set-prototype-of.js ***!
|
|
1770
|
-
\*******************************************************************/
|
|
1771
|
-
/*! no static exports found */
|
|
1772
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1773
|
-
|
|
1774
|
-
"use strict";
|
|
1775
|
-
eval("\n/* eslint-disable no-proto -- safe */\nvar uncurryThisAccessor = __webpack_require__(/*! ../internals/function-uncurry-this-accessor */ \"./node_modules/core-js/internals/function-uncurry-this-accessor.js\");\nvar isObject = __webpack_require__(/*! ../internals/is-object */ \"./node_modules/core-js/internals/is-object.js\");\nvar requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ \"./node_modules/core-js/internals/require-object-coercible.js\");\nvar aPossiblePrototype = __webpack_require__(/*! ../internals/a-possible-prototype */ \"./node_modules/core-js/internals/a-possible-prototype.js\");\n\n// `Object.setPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.setprototypeof\n// Works with __proto__ only. Old v8 can't work with null proto objects.\n// eslint-disable-next-line es/no-object-setprototypeof -- safe\nmodule.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {\n var CORRECT_SETTER = false;\n var test = {};\n var setter;\n try {\n setter = uncurryThisAccessor(Object.prototype, '__proto__', 'set');\n setter(test, []);\n CORRECT_SETTER = test instanceof Array;\n } catch (error) { /* empty */ }\n return function setPrototypeOf(O, proto) {\n requireObjectCoercible(O);\n aPossiblePrototype(proto);\n if (!isObject(O)) return O;\n if (CORRECT_SETTER) setter(O, proto);\n else O.__proto__ = proto;\n return O;\n };\n}() : undefined);\n\n\n//# sourceURL=webpack://gyyg-components/./node_modules/core-js/internals/object-set-prototype-of.js?");
|
|
1776
|
-
|
|
1777
|
-
/***/ }),
|
|
1778
|
-
|
|
1779
1659
|
/***/ "./node_modules/core-js/internals/ordinary-to-primitive.js":
|
|
1780
1660
|
/*!*****************************************************************!*\
|
|
1781
1661
|
!*** ./node_modules/core-js/internals/ordinary-to-primitive.js ***!
|
|
@@ -1800,18 +1680,6 @@ eval("\nvar getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ \"
|
|
|
1800
1680
|
|
|
1801
1681
|
/***/ }),
|
|
1802
1682
|
|
|
1803
|
-
/***/ "./node_modules/core-js/internals/proxy-accessor.js":
|
|
1804
|
-
/*!**********************************************************!*\
|
|
1805
|
-
!*** ./node_modules/core-js/internals/proxy-accessor.js ***!
|
|
1806
|
-
\**********************************************************/
|
|
1807
|
-
/*! no static exports found */
|
|
1808
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1809
|
-
|
|
1810
|
-
"use strict";
|
|
1811
|
-
eval("\nvar defineProperty = __webpack_require__(/*! ../internals/object-define-property */ \"./node_modules/core-js/internals/object-define-property.js\").f;\n\nmodule.exports = function (Target, Source, key) {\n key in Target || defineProperty(Target, key, {\n configurable: true,\n get: function () { return Source[key]; },\n set: function (it) { Source[key] = it; }\n });\n};\n\n\n//# sourceURL=webpack://gyyg-components/./node_modules/core-js/internals/proxy-accessor.js?");
|
|
1812
|
-
|
|
1813
|
-
/***/ }),
|
|
1814
|
-
|
|
1815
1683
|
/***/ "./node_modules/core-js/internals/require-object-coercible.js":
|
|
1816
1684
|
/*!********************************************************************!*\
|
|
1817
1685
|
!*** ./node_modules/core-js/internals/require-object-coercible.js ***!
|
|
@@ -1968,18 +1836,6 @@ eval("\nvar wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-sy
|
|
|
1968
1836
|
|
|
1969
1837
|
/***/ }),
|
|
1970
1838
|
|
|
1971
|
-
/***/ "./node_modules/core-js/internals/to-string.js":
|
|
1972
|
-
/*!*****************************************************!*\
|
|
1973
|
-
!*** ./node_modules/core-js/internals/to-string.js ***!
|
|
1974
|
-
\*****************************************************/
|
|
1975
|
-
/*! no static exports found */
|
|
1976
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1977
|
-
|
|
1978
|
-
"use strict";
|
|
1979
|
-
eval("\nvar classof = __webpack_require__(/*! ../internals/classof */ \"./node_modules/core-js/internals/classof.js\");\n\nvar $String = String;\n\nmodule.exports = function (argument) {\n if (classof(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');\n return $String(argument);\n};\n\n\n//# sourceURL=webpack://gyyg-components/./node_modules/core-js/internals/to-string.js?");
|
|
1980
|
-
|
|
1981
|
-
/***/ }),
|
|
1982
|
-
|
|
1983
1839
|
/***/ "./node_modules/core-js/internals/try-to-string.js":
|
|
1984
1840
|
/*!*********************************************************!*\
|
|
1985
1841
|
!*** ./node_modules/core-js/internals/try-to-string.js ***!
|
|
@@ -2052,18 +1908,6 @@ eval("\nvar globalThis = __webpack_require__(/*! ../internals/global-this */ \".
|
|
|
2052
1908
|
|
|
2053
1909
|
/***/ }),
|
|
2054
1910
|
|
|
2055
|
-
/***/ "./node_modules/core-js/internals/wrap-error-constructor-with-cause.js":
|
|
2056
|
-
/*!*****************************************************************************!*\
|
|
2057
|
-
!*** ./node_modules/core-js/internals/wrap-error-constructor-with-cause.js ***!
|
|
2058
|
-
\*****************************************************************************/
|
|
2059
|
-
/*! no static exports found */
|
|
2060
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2061
|
-
|
|
2062
|
-
"use strict";
|
|
2063
|
-
eval("\nvar getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ \"./node_modules/core-js/internals/get-built-in.js\");\nvar hasOwn = __webpack_require__(/*! ../internals/has-own-property */ \"./node_modules/core-js/internals/has-own-property.js\");\nvar createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ \"./node_modules/core-js/internals/create-non-enumerable-property.js\");\nvar isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ \"./node_modules/core-js/internals/object-is-prototype-of.js\");\nvar setPrototypeOf = __webpack_require__(/*! ../internals/object-set-prototype-of */ \"./node_modules/core-js/internals/object-set-prototype-of.js\");\nvar copyConstructorProperties = __webpack_require__(/*! ../internals/copy-constructor-properties */ \"./node_modules/core-js/internals/copy-constructor-properties.js\");\nvar proxyAccessor = __webpack_require__(/*! ../internals/proxy-accessor */ \"./node_modules/core-js/internals/proxy-accessor.js\");\nvar inheritIfRequired = __webpack_require__(/*! ../internals/inherit-if-required */ \"./node_modules/core-js/internals/inherit-if-required.js\");\nvar normalizeStringArgument = __webpack_require__(/*! ../internals/normalize-string-argument */ \"./node_modules/core-js/internals/normalize-string-argument.js\");\nvar installErrorCause = __webpack_require__(/*! ../internals/install-error-cause */ \"./node_modules/core-js/internals/install-error-cause.js\");\nvar installErrorStack = __webpack_require__(/*! ../internals/error-stack-install */ \"./node_modules/core-js/internals/error-stack-install.js\");\nvar DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ \"./node_modules/core-js/internals/descriptors.js\");\nvar IS_PURE = __webpack_require__(/*! ../internals/is-pure */ \"./node_modules/core-js/internals/is-pure.js\");\n\nmodule.exports = function (FULL_NAME, wrapper, FORCED, IS_AGGREGATE_ERROR) {\n var STACK_TRACE_LIMIT = 'stackTraceLimit';\n var OPTIONS_POSITION = IS_AGGREGATE_ERROR ? 2 : 1;\n var path = FULL_NAME.split('.');\n var ERROR_NAME = path[path.length - 1];\n var OriginalError = getBuiltIn.apply(null, path);\n\n if (!OriginalError) return;\n\n var OriginalErrorPrototype = OriginalError.prototype;\n\n // V8 9.3- bug https://bugs.chromium.org/p/v8/issues/detail?id=12006\n if (!IS_PURE && hasOwn(OriginalErrorPrototype, 'cause')) delete OriginalErrorPrototype.cause;\n\n if (!FORCED) return OriginalError;\n\n var BaseError = getBuiltIn('Error');\n\n var WrappedError = wrapper(function (a, b) {\n var message = normalizeStringArgument(IS_AGGREGATE_ERROR ? b : a, undefined);\n var result = IS_AGGREGATE_ERROR ? new OriginalError(a) : new OriginalError();\n if (message !== undefined) createNonEnumerableProperty(result, 'message', message);\n installErrorStack(result, WrappedError, result.stack, 2);\n if (this && isPrototypeOf(OriginalErrorPrototype, this)) inheritIfRequired(result, this, WrappedError);\n if (arguments.length > OPTIONS_POSITION) installErrorCause(result, arguments[OPTIONS_POSITION]);\n return result;\n });\n\n WrappedError.prototype = OriginalErrorPrototype;\n\n if (ERROR_NAME !== 'Error') {\n if (setPrototypeOf) setPrototypeOf(WrappedError, BaseError);\n else copyConstructorProperties(WrappedError, BaseError, { name: true });\n } else if (DESCRIPTORS && STACK_TRACE_LIMIT in OriginalError) {\n proxyAccessor(WrappedError, OriginalError, STACK_TRACE_LIMIT);\n proxyAccessor(WrappedError, OriginalError, 'prepareStackTrace');\n }\n\n copyConstructorProperties(WrappedError, OriginalError);\n\n if (!IS_PURE) try {\n // Safari 13- bug: WebAssembly errors does not have a proper `.name`\n if (OriginalErrorPrototype.name !== ERROR_NAME) {\n createNonEnumerableProperty(OriginalErrorPrototype, 'name', ERROR_NAME);\n }\n OriginalErrorPrototype.constructor = WrappedError;\n } catch (error) { /* empty */ }\n\n return WrappedError;\n};\n\n\n//# sourceURL=webpack://gyyg-components/./node_modules/core-js/internals/wrap-error-constructor-with-cause.js?");
|
|
2064
|
-
|
|
2065
|
-
/***/ }),
|
|
2066
|
-
|
|
2067
1911
|
/***/ "./node_modules/core-js/modules/es.array.push.js":
|
|
2068
1912
|
/*!*******************************************************!*\
|
|
2069
1913
|
!*** ./node_modules/core-js/modules/es.array.push.js ***!
|
|
@@ -2088,18 +1932,6 @@ eval("\nvar $ = __webpack_require__(/*! ../internals/export */ \"./node_modules/
|
|
|
2088
1932
|
|
|
2089
1933
|
/***/ }),
|
|
2090
1934
|
|
|
2091
|
-
/***/ "./node_modules/core-js/modules/es.error.cause.js":
|
|
2092
|
-
/*!********************************************************!*\
|
|
2093
|
-
!*** ./node_modules/core-js/modules/es.error.cause.js ***!
|
|
2094
|
-
\********************************************************/
|
|
2095
|
-
/*! no static exports found */
|
|
2096
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2097
|
-
|
|
2098
|
-
"use strict";
|
|
2099
|
-
eval("\n/* eslint-disable no-unused-vars -- required for functions `.length` */\nvar $ = __webpack_require__(/*! ../internals/export */ \"./node_modules/core-js/internals/export.js\");\nvar globalThis = __webpack_require__(/*! ../internals/global-this */ \"./node_modules/core-js/internals/global-this.js\");\nvar apply = __webpack_require__(/*! ../internals/function-apply */ \"./node_modules/core-js/internals/function-apply.js\");\nvar wrapErrorConstructorWithCause = __webpack_require__(/*! ../internals/wrap-error-constructor-with-cause */ \"./node_modules/core-js/internals/wrap-error-constructor-with-cause.js\");\n\nvar WEB_ASSEMBLY = 'WebAssembly';\nvar WebAssembly = globalThis[WEB_ASSEMBLY];\n\n// eslint-disable-next-line es/no-error-cause -- feature detection\nvar FORCED = new Error('e', { cause: 7 }).cause !== 7;\n\nvar exportGlobalErrorCauseWrapper = function (ERROR_NAME, wrapper) {\n var O = {};\n O[ERROR_NAME] = wrapErrorConstructorWithCause(ERROR_NAME, wrapper, FORCED);\n $({ global: true, constructor: true, arity: 1, forced: FORCED }, O);\n};\n\nvar exportWebAssemblyErrorCauseWrapper = function (ERROR_NAME, wrapper) {\n if (WebAssembly && WebAssembly[ERROR_NAME]) {\n var O = {};\n O[ERROR_NAME] = wrapErrorConstructorWithCause(WEB_ASSEMBLY + '.' + ERROR_NAME, wrapper, FORCED);\n $({ target: WEB_ASSEMBLY, stat: true, constructor: true, arity: 1, forced: FORCED }, O);\n }\n};\n\n// https://tc39.es/ecma262/#sec-nativeerror\nexportGlobalErrorCauseWrapper('Error', function (init) {\n return function Error(message) { return apply(init, this, arguments); };\n});\nexportGlobalErrorCauseWrapper('EvalError', function (init) {\n return function EvalError(message) { return apply(init, this, arguments); };\n});\nexportGlobalErrorCauseWrapper('RangeError', function (init) {\n return function RangeError(message) { return apply(init, this, arguments); };\n});\nexportGlobalErrorCauseWrapper('ReferenceError', function (init) {\n return function ReferenceError(message) { return apply(init, this, arguments); };\n});\nexportGlobalErrorCauseWrapper('SyntaxError', function (init) {\n return function SyntaxError(message) { return apply(init, this, arguments); };\n});\nexportGlobalErrorCauseWrapper('TypeError', function (init) {\n return function TypeError(message) { return apply(init, this, arguments); };\n});\nexportGlobalErrorCauseWrapper('URIError', function (init) {\n return function URIError(message) { return apply(init, this, arguments); };\n});\nexportWebAssemblyErrorCauseWrapper('CompileError', function (init) {\n return function CompileError(message) { return apply(init, this, arguments); };\n});\nexportWebAssemblyErrorCauseWrapper('LinkError', function (init) {\n return function LinkError(message) { return apply(init, this, arguments); };\n});\nexportWebAssemblyErrorCauseWrapper('RuntimeError', function (init) {\n return function RuntimeError(message) { return apply(init, this, arguments); };\n});\n\n\n//# sourceURL=webpack://gyyg-components/./node_modules/core-js/modules/es.error.cause.js?");
|
|
2100
|
-
|
|
2101
|
-
/***/ }),
|
|
2102
|
-
|
|
2103
1935
|
/***/ "./node_modules/core-js/modules/es.iterator.constructor.js":
|
|
2104
1936
|
/*!*****************************************************************!*\
|
|
2105
1937
|
!*** ./node_modules/core-js/modules/es.iterator.constructor.js ***!
|
|
@@ -2290,7 +2122,7 @@ eval("// Imports\nvar ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../.
|
|
|
2290
2122
|
/*! no static exports found */
|
|
2291
2123
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2292
2124
|
|
|
2293
|
-
eval("// Imports\nvar ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../../../node_modules/css-loader/dist/runtime/api.js */ \"./node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.i, \".base-dialog[data-v-3ec86d92] {\\n text-align: left;\\n}\\n[data-v-3ec86d92] .el-dialog__wrapper {\\n overflow: hidden;\\n display: flex;\\n justify-content: center;\\n align-items: center;\\n margin: auto 0;\\n}\\n[data-v-3ec86d92] .el-dialog__wrapper .el-dialog {\\n display: flex;\\n flex-direction: column;\\n border-radius: 8px;\\n margin: 0;\\n margin-top: 0 !important;\\n}\\n[data-v-3ec86d92] .el-dialog__wrapper .el-dialog .el-dialog__header {\\n text-align: left;\\n background-color: #efefef;\\n height: 48px;\\n line-height: 48px;\\n padding: 0 20px;\\n color: #fff;\\n border-top-left-radius: 8px;\\n border-top-right-radius: 8px;\\n font-weight: bold;\\n}\\n[data-v-3ec86d92] .el-dialog__wrapper .el-dialog .el-dialog__header .el-dialog__title {\\n font-size: 16px;\\n}\\n[data-v-3ec86d92] .el-dialog__wrapper .el-dialog .el-dialog__header .el-dialog__headerbtn {\\n top: 12px;\\n}\\n[data-v-3ec86d92] .el-dialog__wrapper .el-dialog .el-dialog__body {\\n flex: 1;\\n overflow: auto;\\n padding: 20px;\\n padding-bottom: 52px;\\n height: calc(100% - 50px);\\n}\\n[data-v-3ec86d92] .el-dialog__wrapper .el-dialog .el-dialog__footer {\\n padding: 10px 20px;\\n border: none;\\n background-color: #efefef;\\n border-bottom-left-radius: 8px;\\n border-bottom-right-radius: 8px;\\n}\\n[data-v-3ec86d92] .el-dialog__wrapper .base-dialog-form {\\n height: auto;\\n}\\n[data-v-3ec86d92] .el-dialog__wrapper .base-dialog-form .el-dialog__body {\\n padding: 20px 20px 0 20px;\\n}\\n[data-v-3ec86d92] .el-dialog__wrapper .base-dialog-form .el-dialog__footer {\\n height: 32px;\\n border: none;\\n background-color: #efefef;\\n border-bottom-left-radius: 8px;\\n border-bottom-right-radius: 8px;\\n}\\n[data-v-3ec86d92] .el-dialog__wrapper .base-dialog-form .custom-table tbody tr:last-child td {\\n border-bottom: none !important;\\n}\\n[data-v-3ec86d92] .el-dialog__wrapper .base-dialog-table {\\n height: 90vh;\\n margin-top: 5vh !important;\\n}\\n[data-v-3ec86d92] .el-dialog__wrapper .base-dialog-fullscreen {\\n height: 100vh;\\n width: 100vw;\\n}\\n[data-v-3ec86d92] .el-dialog__wrapper .base-dialog-fullscreen .el-dialog__body {\\n padding: 10px;\\n}\\n[data-v-3ec86d92] .el-dialog__wrapper .base-dialog-fullscreen .el-dialog__footer {\\n padding: 10px;\\n border: none;\\n background-color: #efefef;\\n border-bottom-left-radius: 8px;\\n border-bottom-right-radius: 8px;\\n}\\n.shan-maintenance-dialog[data-v-3ec86d92] .el-dialog {\\n height: 90%;\\n}\\n[data-v-3ec86d92] .el-dialog {\\n height: 100%;\\n}\\n
|
|
2125
|
+
eval("// Imports\nvar ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../../../node_modules/css-loader/dist/runtime/api.js */ \"./node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.i, \".base-dialog[data-v-3ec86d92] {\\n text-align: left;\\n}\\n[data-v-3ec86d92] .el-dialog__wrapper {\\n overflow: hidden;\\n display: flex;\\n justify-content: center;\\n align-items: center;\\n margin: auto 0;\\n}\\n[data-v-3ec86d92] .el-dialog__wrapper .el-dialog {\\n display: flex;\\n flex-direction: column;\\n border-radius: 8px;\\n margin: 0;\\n margin-top: 0 !important;\\n}\\n[data-v-3ec86d92] .el-dialog__wrapper .el-dialog .el-dialog__header {\\n text-align: left;\\n background-color: #efefef;\\n height: 48px;\\n line-height: 48px;\\n padding: 0 20px;\\n color: #fff;\\n border-top-left-radius: 8px;\\n border-top-right-radius: 8px;\\n font-weight: bold;\\n}\\n[data-v-3ec86d92] .el-dialog__wrapper .el-dialog .el-dialog__header .el-dialog__title {\\n font-size: 16px;\\n}\\n[data-v-3ec86d92] .el-dialog__wrapper .el-dialog .el-dialog__header .el-dialog__headerbtn {\\n top: 12px;\\n}\\n[data-v-3ec86d92] .el-dialog__wrapper .el-dialog .el-dialog__body {\\n flex: 1;\\n overflow: auto;\\n padding: 20px;\\n padding-bottom: 52px;\\n height: calc(100% - 50px);\\n}\\n[data-v-3ec86d92] .el-dialog__wrapper .el-dialog .el-dialog__footer {\\n padding: 10px 20px;\\n border: none;\\n background-color: #efefef;\\n border-bottom-left-radius: 8px;\\n border-bottom-right-radius: 8px;\\n}\\n[data-v-3ec86d92] .el-dialog__wrapper .base-dialog-form {\\n height: auto;\\n}\\n[data-v-3ec86d92] .el-dialog__wrapper .base-dialog-form .el-dialog__body {\\n padding: 20px 20px 0 20px;\\n}\\n[data-v-3ec86d92] .el-dialog__wrapper .base-dialog-form .el-dialog__footer {\\n height: 32px;\\n border: none;\\n background-color: #efefef;\\n border-bottom-left-radius: 8px;\\n border-bottom-right-radius: 8px;\\n}\\n[data-v-3ec86d92] .el-dialog__wrapper .base-dialog-form .custom-table tbody tr:last-child td {\\n border-bottom: none !important;\\n}\\n[data-v-3ec86d92] .el-dialog__wrapper .base-dialog-table {\\n height: 90vh;\\n margin-top: 5vh !important;\\n}\\n[data-v-3ec86d92] .el-dialog__wrapper .base-dialog-fullscreen {\\n height: 100vh;\\n width: 100vw;\\n}\\n[data-v-3ec86d92] .el-dialog__wrapper .base-dialog-fullscreen .el-dialog__body {\\n padding: 10px;\\n}\\n[data-v-3ec86d92] .el-dialog__wrapper .base-dialog-fullscreen .el-dialog__footer {\\n padding: 10px;\\n border: none;\\n background-color: #efefef;\\n border-bottom-left-radius: 8px;\\n border-bottom-right-radius: 8px;\\n}\\n.shan-maintenance-dialog[data-v-3ec86d92] .el-dialog {\\n height: 90%;\\n}\\n[data-v-3ec86d92] .el-dialog {\\n height: 100%;\\n}\\n\", \"\"]);\n// Exports\nmodule.exports = exports;\n\n\n//# sourceURL=webpack://gyyg-components/./src/components/MecDialog/MecDialog.vue?./node_modules/css-loader/dist/cjs.js??ref--11-oneOf-1-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--11-oneOf-1-2!./node_modules/less-loader/dist/cjs.js??ref--11-oneOf-1-3!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options");
|
|
2294
2126
|
|
|
2295
2127
|
/***/ }),
|
|
2296
2128
|
|
|
@@ -4032,7 +3864,7 @@ eval("var map = {\n\t\"./hasPermi.js\": \"./src/directive/hasPermi.js\",\n\t\"./
|
|
|
4032
3864
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4033
3865
|
|
|
4034
3866
|
"use strict";
|
|
4035
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n bind(el, binding, vnode) {\n const dialogHeaderEl = el.querySelector('.el-dialog__header');\n const dragDom = el.querySelector('.el-dialog');\n\n // 设置鼠标样式为可移动\n dialogHeaderEl.style.cssText += ';cursor:move;';\n\n // 获取元素样式兼容方法\n const getStyle = function () {\n if (window.document.currentStyle) {\n return (dom, attr) => dom.currentStyle[attr];\n } else {\n return (dom, attr) => getComputedStyle(dom, false)[attr];\n }\n }();\n dialogHeaderEl.onmousedown = e => {\n // 鼠标按下时,计算当前元素距离可视区的距离\n const disX = e.clientX - dialogHeaderEl.offsetLeft;\n const disY = e.clientY - dialogHeaderEl.offsetTop;\n
|
|
3867
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n bind(el, binding, vnode) {\n const dialogHeaderEl = el.querySelector('.el-dialog__header');\n const dragDom = el.querySelector('.el-dialog');\n\n // 设置鼠标样式为可移动\n dialogHeaderEl.style.cssText += ';cursor:move;';\n\n // 获取元素样式兼容方法\n const getStyle = function () {\n if (window.document.currentStyle) {\n return (dom, attr) => dom.currentStyle[attr];\n } else {\n return (dom, attr) => getComputedStyle(dom, false)[attr];\n }\n }();\n dialogHeaderEl.onmousedown = e => {\n // 鼠标按下时,计算当前元素距离可视区的距离\n const disX = e.clientX - dialogHeaderEl.offsetLeft;\n const disY = e.clientY - dialogHeaderEl.offsetTop;\n\n // 获取初始位置样式\n let styL = getStyle(dragDom, 'left');\n let styT = getStyle(dragDom, 'top');\n\n // 如果样式值包含百分比,则转换为像素值\n if (styL.includes('%')) {\n styL = +document.body.clientWidth * (+styL.replace(/\\%/g, '') / 100);\n styT = +document.body.clientHeight * (+styT.replace(/\\%/g, '') / 100);\n } else {\n styL = +styL.replace(/\\px/g, '');\n styT = +styT.replace(/\\px/g, '');\n }\n document.onmousemove = function (e) {\n // 计算移动的距离\n let left = e.clientX - disX;\n let top = e.clientY - disY;\n console.log(left, top);\n\n // 获取屏幕宽高\n const screenWidth = document.body.clientWidth;\n const screenHeight = document.body.clientHeight;\n\n // 获取对话框宽高\n const dialogWidth = dragDom.offsetWidth;\n const dialogHeight = dragDom.offsetHeight;\n\n // 边界限制逻辑\n left = Math.max(0, Math.min(left + styL, screenWidth - dialogWidth));\n top = Math.max(0, Math.min(top + styT, screenHeight - dialogHeight));\n\n // 更新对话框位置\n dragDom.style.left = `${left}px`;\n dragDom.style.top = `${top}px`;\n // 触发拖拽事件\n vnode.child.$emit('dragDialog');\n };\n document.onmouseup = function () {\n // 清除事件监听\n document.onmousemove = null;\n document.onmouseup = null;\n };\n };\n }\n});\n\n//# sourceURL=webpack://gyyg-components/./src/directive/el-drag-dialog/drag.js?");
|
|
4036
3868
|
|
|
4037
3869
|
/***/ }),
|
|
4038
3870
|
|
|
@@ -4056,7 +3888,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _dra
|
|
|
4056
3888
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4057
3889
|
|
|
4058
3890
|
"use strict";
|
|
4059
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var
|
|
3891
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es_iterator_constructor_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.iterator.constructor.js */ \"./node_modules/core-js/modules/es.iterator.constructor.js\");\n/* harmony import */ var core_js_modules_es_iterator_constructor_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_iterator_constructor_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_es_iterator_some_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.iterator.some.js */ \"./node_modules/core-js/modules/es.iterator.some.js\");\n/* harmony import */ var core_js_modules_es_iterator_some_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_iterator_some_js__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vue */ \"vue\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_2__);\n\n\n/**\r\n* 操作权限处理\r\n* Copyright (c) 2019 chuangshi\r\n*/\n\nvue__WEBPACK_IMPORTED_MODULE_2___default.a.directive('hasPermi', {\n inserted(el, binding, vnode) {\n const {\n value\n } = binding;\n console.log('value', value);\n const all_permission = \"*:*:*\";\n const permissions = localStorage.getItem('authorities').split(','); //用户拥有的权限\n if (value && value instanceof Array && value.length > 0) {\n const permissionFlag = value; //\n\n const hasPermissions = permissions.some(permission => {\n return all_permission === permission || permissionFlag.includes(permission);\n });\n if (!hasPermissions) {\n console.log(el.parentNode);\n el.parentNode && el.parentNode.removeChild(el);\n }\n }\n }\n});\n\n//# sourceURL=webpack://gyyg-components/./src/directive/hasPermi.js?");
|
|
4060
3892
|
|
|
4061
3893
|
/***/ }),
|
|
4062
3894
|
|
package/package.json
CHANGED
|
@@ -18,13 +18,23 @@
|
|
|
18
18
|
@close="closeMethod"
|
|
19
19
|
:destroy-on-close="destroyOnClose"
|
|
20
20
|
:modal='modal'
|
|
21
|
+
ref="dialog"
|
|
21
22
|
>
|
|
22
|
-
<div
|
|
23
|
-
|
|
23
|
+
<div
|
|
24
|
+
slot="title"
|
|
25
|
+
style="font-size: 16px; color: #303133;"
|
|
26
|
+
>
|
|
27
|
+
<el-icon
|
|
28
|
+
:class="titleIcon"
|
|
29
|
+
style="color: #1890ff; font-size: 18px;margin-right: 5px;"
|
|
30
|
+
></el-icon>
|
|
24
31
|
<span>{{ title }}</span>
|
|
25
32
|
</div>
|
|
26
33
|
<slot name="body" />
|
|
27
|
-
<div
|
|
34
|
+
<div
|
|
35
|
+
v-if="footer"
|
|
36
|
+
slot="footer"
|
|
37
|
+
>
|
|
28
38
|
<slot name="footer" />
|
|
29
39
|
</div>
|
|
30
40
|
</el-dialog>
|
|
@@ -77,7 +87,7 @@ export default {
|
|
|
77
87
|
type: Boolean
|
|
78
88
|
},
|
|
79
89
|
//是否需要遮罩层
|
|
80
|
-
modal:{
|
|
90
|
+
modal: {
|
|
81
91
|
default: true,
|
|
82
92
|
type: Boolean
|
|
83
93
|
},
|
|
@@ -106,16 +116,24 @@ export default {
|
|
|
106
116
|
},
|
|
107
117
|
computed: {
|
|
108
118
|
customClass() {
|
|
109
|
-
let className = this.dialogClass;
|
|
119
|
+
let className = this.height !== 'auto' ? 'haveHeight-dialog' : this.dialogClass;
|
|
110
120
|
return className;
|
|
111
121
|
},
|
|
112
122
|
},
|
|
123
|
+
|
|
113
124
|
created() {
|
|
114
125
|
this.type === "fullscreen" && (this.fullscreen = true);
|
|
115
126
|
},
|
|
116
127
|
methods: {
|
|
117
128
|
open() {
|
|
118
129
|
this.visible = true;
|
|
130
|
+
console.log(this.height)
|
|
131
|
+
if(this.height !== 'auto' && this.height) {
|
|
132
|
+
this.$nextTick(() => {
|
|
133
|
+
this.$refs.dialog.$el.firstElementChild.style.height = this.height;
|
|
134
|
+
});
|
|
135
|
+
}
|
|
136
|
+
|
|
119
137
|
},
|
|
120
138
|
close() {
|
|
121
139
|
this.visible = false;
|
|
@@ -134,18 +152,21 @@ export default {
|
|
|
134
152
|
.base-dialog {
|
|
135
153
|
text-align: left;
|
|
136
154
|
}
|
|
155
|
+
|
|
137
156
|
/deep/.el-dialog__wrapper {
|
|
138
157
|
overflow: hidden;
|
|
139
158
|
display: flex;
|
|
140
159
|
justify-content: center;
|
|
141
160
|
align-items: center;
|
|
142
161
|
margin: auto 0;
|
|
162
|
+
|
|
143
163
|
.el-dialog {
|
|
144
164
|
display: flex;
|
|
145
165
|
flex-direction: column;
|
|
146
166
|
border-radius: 8px;
|
|
147
167
|
margin: 0;
|
|
148
168
|
margin-top: 0 !important;
|
|
169
|
+
|
|
149
170
|
.el-dialog__header {
|
|
150
171
|
text-align: left;
|
|
151
172
|
background-color: #efefef;
|
|
@@ -200,6 +221,7 @@ export default {
|
|
|
200
221
|
}
|
|
201
222
|
|
|
202
223
|
.custom-table {
|
|
224
|
+
|
|
203
225
|
// 取消表格下边线
|
|
204
226
|
tbody tr:last-child td {
|
|
205
227
|
border-bottom: none !important;
|
|
@@ -219,6 +241,7 @@ export default {
|
|
|
219
241
|
.el-dialog__body {
|
|
220
242
|
padding: 10px;
|
|
221
243
|
}
|
|
244
|
+
|
|
222
245
|
.el-dialog__footer {
|
|
223
246
|
padding: 10px;
|
|
224
247
|
border: none;
|
|
@@ -230,14 +253,12 @@ export default {
|
|
|
230
253
|
}
|
|
231
254
|
|
|
232
255
|
.shan-maintenance-dialog {
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
256
|
+
/deep/ .el-dialog {
|
|
257
|
+
height: 90%;
|
|
258
|
+
}
|
|
236
259
|
}
|
|
260
|
+
|
|
237
261
|
/deep/ .el-dialog {
|
|
238
262
|
height: 100%;
|
|
239
263
|
}
|
|
240
|
-
/deep/ .el-dialog {
|
|
241
|
-
height: v-bind(height); /* 动态绑定 height */
|
|
242
|
-
}
|
|
243
264
|
</style>
|
|
@@ -19,7 +19,6 @@ export default {
|
|
|
19
19
|
// 鼠标按下时,计算当前元素距离可视区的距离
|
|
20
20
|
const disX = e.clientX - dialogHeaderEl.offsetLeft;
|
|
21
21
|
const disY = e.clientY - dialogHeaderEl.offsetTop;
|
|
22
|
-
console.log(disX, disY)
|
|
23
22
|
|
|
24
23
|
// 获取初始位置样式
|
|
25
24
|
let styL = getStyle(dragDom, 'left');
|
|
@@ -55,8 +54,6 @@ export default {
|
|
|
55
54
|
// 更新对话框位置
|
|
56
55
|
dragDom.style.left = `${left}px`;
|
|
57
56
|
dragDom.style.top = `${top}px`;
|
|
58
|
-
console.log(left, top)
|
|
59
|
-
|
|
60
57
|
// 触发拖拽事件
|
|
61
58
|
vnode.child.$emit('dragDialog');
|
|
62
59
|
};
|