@gonsin/gview 1.1.18 → 2.0.0
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/README.md +2 -374
- package/dist/index-19b57506.mjs +7086 -0
- package/dist/index-250d68c8.js +1 -0
- package/dist/index-33bed53b.js +7 -0
- package/dist/index-913d5238.mjs +15 -0
- package/dist/index.js +1 -2
- package/dist/index.mjs +82 -0
- package/dist/style.css +1 -0
- package/package.json +65 -96
- package/dist/index.js.map +0 -1
- package/index.d.ts +0 -5
package/dist/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../node_modules/style-inject/dist/style-inject.es.js","../node_modules/core-js/internals/global.js","../node_modules/core-js/internals/engine-v8-version.js","../node_modules/core-js/internals/fails.js","../node_modules/core-js/internals/descriptors.js","../node_modules/core-js/internals/function-bind-native.js","../node_modules/core-js/internals/function-call.js","../node_modules/core-js/internals/object-property-is-enumerable.js","../node_modules/core-js/internals/create-property-descriptor.js","../node_modules/core-js/internals/function-uncurry-this.js","../node_modules/core-js/internals/classof-raw.js","../node_modules/core-js/internals/indexed-object.js","../node_modules/core-js/internals/is-null-or-undefined.js","../node_modules/core-js/internals/require-object-coercible.js","../node_modules/core-js/internals/to-indexed-object.js","../node_modules/core-js/internals/document-all.js","../node_modules/core-js/internals/is-callable.js","../node_modules/core-js/internals/is-object.js","../node_modules/core-js/internals/get-built-in.js","../node_modules/core-js/internals/object-is-prototype-of.js","../node_modules/core-js/internals/engine-user-agent.js","../node_modules/core-js/internals/symbol-constructor-detection.js","../node_modules/core-js/internals/use-symbol-as-uid.js","../node_modules/core-js/internals/is-symbol.js","../node_modules/core-js/internals/try-to-string.js","../node_modules/core-js/internals/a-callable.js","../node_modules/core-js/internals/ordinary-to-primitive.js","../node_modules/core-js/internals/define-global-property.js","../node_modules/core-js/internals/shared-store.js","../node_modules/core-js/internals/shared.js","../node_modules/core-js/internals/to-object.js","../node_modules/core-js/internals/has-own-property.js","../node_modules/core-js/internals/uid.js","../node_modules/core-js/internals/well-known-symbol.js","../node_modules/core-js/internals/to-primitive.js","../node_modules/core-js/internals/get-method.js","../node_modules/core-js/internals/to-property-key.js","../node_modules/core-js/internals/document-create-element.js","../node_modules/core-js/internals/ie8-dom-define.js","../node_modules/core-js/internals/object-get-own-property-descriptor.js","../node_modules/core-js/internals/v8-prototype-define-bug.js","../node_modules/core-js/internals/an-object.js","../node_modules/core-js/internals/object-define-property.js","../node_modules/core-js/internals/create-non-enumerable-property.js","../node_modules/core-js/internals/function-name.js","../node_modules/core-js/internals/inspect-source.js","../node_modules/core-js/internals/internal-state.js","../node_modules/core-js/internals/weak-map-basic-detection.js","../node_modules/core-js/internals/shared-key.js","../node_modules/core-js/internals/hidden-keys.js","../node_modules/core-js/internals/make-built-in.js","../node_modules/core-js/internals/define-built-in.js","../node_modules/core-js/internals/math-trunc.js","../node_modules/core-js/internals/to-integer-or-infinity.js","../node_modules/core-js/internals/to-absolute-index.js","../node_modules/core-js/internals/to-length.js","../node_modules/core-js/internals/length-of-array-like.js","../node_modules/core-js/internals/array-includes.js","../node_modules/core-js/internals/object-keys-internal.js","../node_modules/core-js/internals/object-get-own-property-names.js","../node_modules/core-js/internals/enum-bug-keys.js","../node_modules/core-js/internals/object-get-own-property-symbols.js","../node_modules/core-js/internals/own-keys.js","../node_modules/core-js/internals/copy-constructor-properties.js","../node_modules/core-js/internals/is-forced.js","../node_modules/core-js/internals/export.js","../node_modules/core-js/internals/is-array.js","../node_modules/core-js/internals/array-set-length.js","../node_modules/core-js/internals/does-not-exceed-safe-integer.js","../node_modules/core-js/modules/es.array.push.js","../packages/config/nprogress.ts","../packages/config/constant.ts","../packages/config/socket.ts","../packages/config/api.ts","../packages/config/setting.ts","../packages/config/color.ts","../packages/utils/common.ts","../packages/utils/menu.ts","../packages/utils/url.ts","../packages/utils/table.ts","../packages/utils/form.ts","../packages/utils/color.ts","../packages/utils/validate.ts","../packages/utils/nanoid.ts","../packages/components/GLayout/components/GLayoutHeaderTab.vue","../packages/components/GLayout/components/GLayoutHeader.vue","../packages/components/GLayout/components/GLayoutContent.vue","../packages/components/common/color/index.vue","../node_modules/core-js/internals/an-instance.js","../node_modules/core-js/internals/a-possible-prototype.js","../node_modules/core-js/internals/object-set-prototype-of.js","../node_modules/core-js/internals/inherit-if-required.js","../node_modules/core-js/internals/to-string-tag-support.js","../node_modules/core-js/internals/classof.js","../node_modules/core-js/internals/to-string.js","../node_modules/core-js/internals/normalize-string-argument.js","../node_modules/core-js/internals/dom-exception-constants.js","../node_modules/core-js/internals/error-stack-clear.js","../node_modules/core-js/modules/web.dom-exception.stack.js","../packages/components/GLayout/components/GLayoutSetting.vue","../packages/components/GLayout/index.vue","../packages/components/GLayout/components/GLayoutSideMenu.vue","../packages/components/GLayout/components/GLayoutSideMenuContent.vue","../packages/components/common/GCommonHeader/index.vue","../packages/components/GForm/components/GFormInput.vue","../node_modules/@babel/runtime/helpers/esm/typeof.js","../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js","../node_modules/@babel/runtime/helpers/esm/toPrimitive.js","../node_modules/@babel/runtime/helpers/esm/defineProperty.js","../packages/api/index.ts","../packages/api/config.ts","../packages/api/modules/view.ts","../packages/components/GForm/components/GFormSelect.vue","../packages/components/GForm/components/GFormSelectDateTime.vue","../packages/components/GHeader/index.vue","../packages/components/GHeader/components/GHeaderUpload.vue","../packages/components/common/GCommonTable/index.vue","../packages/components/GForm/components/GFormLabel.vue","../packages/components/GForm/components/GFormCheckBox.vue","../packages/components/GForm/components/GFormSwitch.vue","../packages/components/GForm/components/GFormRadio.vue","../packages/components/GForm/components/GFormTreeCheckBox.vue","../packages/components/GForm/components/GFormCascader.vue","../packages/components/GForm/components/GFormUpload.vue","../packages/components/GTable/index.vue","../packages/components/GTable/components/GTableForm.vue","../packages/components/common/GCommonForm/index.vue","../packages/components/GForm/components/GFormBlock.vue","../packages/components/GForm/components/GFormItem.vue","../packages/components/GForm/components/GFormEditor.vue","../packages/components/GForm/index.vue","../packages/components/GTab/index.vue","../packages/components/common/GCommonDialog/index.vue","../packages/components/GDialog/index.vue","../packages/components/GTemplate/index.vue","../packages/components/GTemplateView/index.vue","../packages/components/GView/index.vue","../packages/store/socket.ts","../packages/store/props.ts","../packages/store/index.ts","../packages/store/setting.ts","../packages/store/view.ts","../packages/views/GMenuManage/icon.ts","../packages/views/GMenuManage/index.vue","../packages/index.ts"],"sourcesContent":["function styleInject(css, ref) {\n if ( ref === void 0 ) ref = {};\n var insertAt = ref.insertAt;\n\n if (!css || typeof document === 'undefined') { return; }\n\n var head = document.head || document.getElementsByTagName('head')[0];\n var style = document.createElement('style');\n style.type = 'text/css';\n\n if (insertAt === 'top') {\n if (head.firstChild) {\n head.insertBefore(style, head.firstChild);\n } else {\n head.appendChild(style);\n }\n } else {\n head.appendChild(style);\n }\n\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n style.appendChild(document.createTextNode(css));\n }\n}\n\nexport default styleInject;\n","var check = function (it) {\n return it && it.Math == Math && it;\n};\n\n// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nmodule.exports =\n // eslint-disable-next-line es/no-global-this -- safe\n check(typeof globalThis == 'object' && globalThis) ||\n check(typeof window == 'object' && window) ||\n // eslint-disable-next-line no-restricted-globals -- safe\n check(typeof self == 'object' && self) ||\n check(typeof global == 'object' && global) ||\n // eslint-disable-next-line no-new-func -- fallback\n (function () { return this; })() || Function('return this')();\n","var global = require('../internals/global');\nvar userAgent = require('../internals/engine-user-agent');\n\nvar process = global.process;\nvar Deno = global.Deno;\nvar versions = process && process.versions || Deno && Deno.version;\nvar v8 = versions && versions.v8;\nvar match, version;\n\nif (v8) {\n match = v8.split('.');\n // in old Chrome, versions of V8 isn't V8 = Chrome / 10\n // but their correct versions are not interesting for us\n version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);\n}\n\n// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`\n// so check `userAgent` even if `.v8` exists, but 0\nif (!version && userAgent) {\n match = userAgent.match(/Edge\\/(\\d+)/);\n if (!match || match[1] >= 74) {\n match = userAgent.match(/Chrome\\/(\\d+)/);\n if (match) version = +match[1];\n }\n}\n\nmodule.exports = version;\n","module.exports = function (exec) {\n try {\n return !!exec();\n } catch (error) {\n return true;\n }\n};\n","var fails = require('../internals/fails');\n\n// Detect IE8's incomplete defineProperty implementation\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;\n});\n","var fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es/no-function-prototype-bind -- safe\n var test = (function () { /* empty */ }).bind();\n // eslint-disable-next-line no-prototype-builtins -- safe\n return typeof test != 'function' || test.hasOwnProperty('prototype');\n});\n","var NATIVE_BIND = require('../internals/function-bind-native');\n\nvar call = Function.prototype.call;\n\nmodule.exports = NATIVE_BIND ? call.bind(call) : function () {\n return call.apply(call, arguments);\n};\n","'use strict';\nvar $propertyIsEnumerable = {}.propertyIsEnumerable;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// Nashorn ~ JDK8 bug\nvar NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1);\n\n// `Object.prototype.propertyIsEnumerable` method implementation\n// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable\nexports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {\n var descriptor = getOwnPropertyDescriptor(this, V);\n return !!descriptor && descriptor.enumerable;\n} : $propertyIsEnumerable;\n","module.exports = function (bitmap, value) {\n return {\n enumerable: !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable: !(bitmap & 4),\n value: value\n };\n};\n","var NATIVE_BIND = require('../internals/function-bind-native');\n\nvar FunctionPrototype = Function.prototype;\nvar call = FunctionPrototype.call;\nvar uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call);\n\nmodule.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) {\n return function () {\n return call.apply(fn, arguments);\n };\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\n\nvar toString = uncurryThis({}.toString);\nvar stringSlice = uncurryThis(''.slice);\n\nmodule.exports = function (it) {\n return stringSlice(toString(it), 8, -1);\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar classof = require('../internals/classof-raw');\n\nvar $Object = Object;\nvar split = uncurryThis(''.split);\n\n// fallback for non-array-like ES3 and non-enumerable old V8 strings\nmodule.exports = fails(function () {\n // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346\n // eslint-disable-next-line no-prototype-builtins -- safe\n return !$Object('z').propertyIsEnumerable(0);\n}) ? function (it) {\n return classof(it) == 'String' ? split(it, '') : $Object(it);\n} : $Object;\n","// we can't use just `it == null` since of `document.all` special case\n// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec\nmodule.exports = function (it) {\n return it === null || it === undefined;\n};\n","var isNullOrUndefined = require('../internals/is-null-or-undefined');\n\nvar $TypeError = TypeError;\n\n// `RequireObjectCoercible` abstract operation\n// https://tc39.es/ecma262/#sec-requireobjectcoercible\nmodule.exports = function (it) {\n if (isNullOrUndefined(it)) throw $TypeError(\"Can't call method on \" + it);\n return it;\n};\n","// toObject with fallback for non-array-like ES3 strings\nvar IndexedObject = require('../internals/indexed-object');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nmodule.exports = function (it) {\n return IndexedObject(requireObjectCoercible(it));\n};\n","var documentAll = typeof document == 'object' && document.all;\n\n// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot\nvar IS_HTMLDDA = typeof documentAll == 'undefined' && documentAll !== undefined;\n\nmodule.exports = {\n all: documentAll,\n IS_HTMLDDA: IS_HTMLDDA\n};\n","var $documentAll = require('../internals/document-all');\n\nvar documentAll = $documentAll.all;\n\n// `IsCallable` abstract operation\n// https://tc39.es/ecma262/#sec-iscallable\nmodule.exports = $documentAll.IS_HTMLDDA ? function (argument) {\n return typeof argument == 'function' || argument === documentAll;\n} : function (argument) {\n return typeof argument == 'function';\n};\n","var isCallable = require('../internals/is-callable');\nvar $documentAll = require('../internals/document-all');\n\nvar documentAll = $documentAll.all;\n\nmodule.exports = $documentAll.IS_HTMLDDA ? function (it) {\n return typeof it == 'object' ? it !== null : isCallable(it) || it === documentAll;\n} : function (it) {\n return typeof it == 'object' ? it !== null : isCallable(it);\n};\n","var global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\n\nvar aFunction = function (argument) {\n return isCallable(argument) ? argument : undefined;\n};\n\nmodule.exports = function (namespace, method) {\n return arguments.length < 2 ? aFunction(global[namespace]) : global[namespace] && global[namespace][method];\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = uncurryThis({}.isPrototypeOf);\n","var getBuiltIn = require('../internals/get-built-in');\n\nmodule.exports = getBuiltIn('navigator', 'userAgent') || '';\n","/* eslint-disable es/no-symbol -- required for testing */\nvar V8_VERSION = require('../internals/engine-v8-version');\nvar fails = require('../internals/fails');\n\n// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing\nmodule.exports = !!Object.getOwnPropertySymbols && !fails(function () {\n var symbol = Symbol();\n // Chrome 38 Symbol has incorrect toString conversion\n // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances\n return !String(symbol) || !(Object(symbol) instanceof Symbol) ||\n // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances\n !Symbol.sham && V8_VERSION && V8_VERSION < 41;\n});\n","/* eslint-disable es/no-symbol -- required for testing */\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\n\nmodule.exports = NATIVE_SYMBOL\n && !Symbol.sham\n && typeof Symbol.iterator == 'symbol';\n","var getBuiltIn = require('../internals/get-built-in');\nvar isCallable = require('../internals/is-callable');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar $Object = Object;\n\nmodule.exports = USE_SYMBOL_AS_UID ? function (it) {\n return typeof it == 'symbol';\n} : function (it) {\n var $Symbol = getBuiltIn('Symbol');\n return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it));\n};\n","var $String = String;\n\nmodule.exports = function (argument) {\n try {\n return $String(argument);\n } catch (error) {\n return 'Object';\n }\n};\n","var isCallable = require('../internals/is-callable');\nvar tryToString = require('../internals/try-to-string');\n\nvar $TypeError = TypeError;\n\n// `Assert: IsCallable(argument) is true`\nmodule.exports = function (argument) {\n if (isCallable(argument)) return argument;\n throw $TypeError(tryToString(argument) + ' is not a function');\n};\n","var call = require('../internals/function-call');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\n\nvar $TypeError = TypeError;\n\n// `OrdinaryToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-ordinarytoprimitive\nmodule.exports = function (input, pref) {\n var fn, val;\n if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val;\n if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n throw $TypeError(\"Can't convert object to primitive value\");\n};\n","var global = require('../internals/global');\n\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\n\nmodule.exports = function (key, value) {\n try {\n defineProperty(global, key, { value: value, configurable: true, writable: true });\n } catch (error) {\n global[key] = value;\n } return value;\n};\n","var global = require('../internals/global');\nvar defineGlobalProperty = require('../internals/define-global-property');\n\nvar SHARED = '__core-js_shared__';\nvar store = global[SHARED] || defineGlobalProperty(SHARED, {});\n\nmodule.exports = store;\n","var IS_PURE = require('../internals/is-pure');\nvar store = require('../internals/shared-store');\n\n(module.exports = function (key, value) {\n return store[key] || (store[key] = value !== undefined ? value : {});\n})('versions', []).push({\n version: '3.26.1',\n mode: IS_PURE ? 'pure' : 'global',\n copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',\n license: 'https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE',\n source: 'https://github.com/zloirock/core-js'\n});\n","var requireObjectCoercible = require('../internals/require-object-coercible');\n\nvar $Object = Object;\n\n// `ToObject` abstract operation\n// https://tc39.es/ecma262/#sec-toobject\nmodule.exports = function (argument) {\n return $Object(requireObjectCoercible(argument));\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar toObject = require('../internals/to-object');\n\nvar hasOwnProperty = uncurryThis({}.hasOwnProperty);\n\n// `HasOwnProperty` abstract operation\n// https://tc39.es/ecma262/#sec-hasownproperty\n// eslint-disable-next-line es/no-object-hasown -- safe\nmodule.exports = Object.hasOwn || function hasOwn(it, key) {\n return hasOwnProperty(toObject(it), key);\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\n\nvar id = 0;\nvar postfix = Math.random();\nvar toString = uncurryThis(1.0.toString);\n\nmodule.exports = function (key) {\n return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);\n};\n","var global = require('../internals/global');\nvar shared = require('../internals/shared');\nvar hasOwn = require('../internals/has-own-property');\nvar uid = require('../internals/uid');\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar WellKnownSymbolsStore = shared('wks');\nvar Symbol = global.Symbol;\nvar symbolFor = Symbol && Symbol['for'];\nvar createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol : Symbol && Symbol.withoutSetter || uid;\n\nmodule.exports = function (name) {\n if (!hasOwn(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) {\n var description = 'Symbol.' + name;\n if (NATIVE_SYMBOL && hasOwn(Symbol, name)) {\n WellKnownSymbolsStore[name] = Symbol[name];\n } else if (USE_SYMBOL_AS_UID && symbolFor) {\n WellKnownSymbolsStore[name] = symbolFor(description);\n } else {\n WellKnownSymbolsStore[name] = createWellKnownSymbol(description);\n }\n } return WellKnownSymbolsStore[name];\n};\n","var call = require('../internals/function-call');\nvar isObject = require('../internals/is-object');\nvar isSymbol = require('../internals/is-symbol');\nvar getMethod = require('../internals/get-method');\nvar ordinaryToPrimitive = require('../internals/ordinary-to-primitive');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar $TypeError = TypeError;\nvar TO_PRIMITIVE = wellKnownSymbol('toPrimitive');\n\n// `ToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-toprimitive\nmodule.exports = function (input, pref) {\n if (!isObject(input) || isSymbol(input)) return input;\n var exoticToPrim = getMethod(input, TO_PRIMITIVE);\n var result;\n if (exoticToPrim) {\n if (pref === undefined) pref = 'default';\n result = call(exoticToPrim, input, pref);\n if (!isObject(result) || isSymbol(result)) return result;\n throw $TypeError(\"Can't convert object to primitive value\");\n }\n if (pref === undefined) pref = 'number';\n return ordinaryToPrimitive(input, pref);\n};\n","var aCallable = require('../internals/a-callable');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\n\n// `GetMethod` abstract operation\n// https://tc39.es/ecma262/#sec-getmethod\nmodule.exports = function (V, P) {\n var func = V[P];\n return isNullOrUndefined(func) ? undefined : aCallable(func);\n};\n","var toPrimitive = require('../internals/to-primitive');\nvar isSymbol = require('../internals/is-symbol');\n\n// `ToPropertyKey` abstract operation\n// https://tc39.es/ecma262/#sec-topropertykey\nmodule.exports = function (argument) {\n var key = toPrimitive(argument, 'string');\n return isSymbol(key) ? key : key + '';\n};\n","var global = require('../internals/global');\nvar isObject = require('../internals/is-object');\n\nvar document = global.document;\n// typeof document.createElement is 'object' in old IE\nvar EXISTS = isObject(document) && isObject(document.createElement);\n\nmodule.exports = function (it) {\n return EXISTS ? document.createElement(it) : {};\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\nvar createElement = require('../internals/document-create-element');\n\n// Thanks to IE8 for its funny defineProperty\nmodule.exports = !DESCRIPTORS && !fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty(createElement('div'), 'a', {\n get: function () { return 7; }\n }).a != 7;\n});\n","var DESCRIPTORS = require('../internals/descriptors');\nvar call = require('../internals/function-call');\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toPropertyKey = require('../internals/to-property-key');\nvar hasOwn = require('../internals/has-own-property');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\n\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// `Object.getOwnPropertyDescriptor` method\n// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor\nexports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {\n O = toIndexedObject(O);\n P = toPropertyKey(P);\n if (IE8_DOM_DEFINE) try {\n return $getOwnPropertyDescriptor(O, P);\n } catch (error) { /* empty */ }\n if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]);\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\n\n// V8 ~ Chrome 36-\n// https://bugs.chromium.org/p/v8/issues/detail?id=3334\nmodule.exports = DESCRIPTORS && fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty(function () { /* empty */ }, 'prototype', {\n value: 42,\n writable: false\n }).prototype != 42;\n});\n","var isObject = require('../internals/is-object');\n\nvar $String = String;\nvar $TypeError = TypeError;\n\n// `Assert: Type(argument) is Object`\nmodule.exports = function (argument) {\n if (isObject(argument)) return argument;\n throw $TypeError($String(argument) + ' is not an object');\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\nvar V8_PROTOTYPE_DEFINE_BUG = require('../internals/v8-prototype-define-bug');\nvar anObject = require('../internals/an-object');\nvar toPropertyKey = require('../internals/to-property-key');\n\nvar $TypeError = TypeError;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar $defineProperty = Object.defineProperty;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar ENUMERABLE = 'enumerable';\nvar CONFIGURABLE = 'configurable';\nvar WRITABLE = 'writable';\n\n// `Object.defineProperty` method\n// https://tc39.es/ecma262/#sec-object.defineproperty\nexports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPropertyKey(P);\n anObject(Attributes);\n if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {\n var current = $getOwnPropertyDescriptor(O, P);\n if (current && current[WRITABLE]) {\n O[P] = Attributes.value;\n Attributes = {\n configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE],\n enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],\n writable: false\n };\n }\n } return $defineProperty(O, P, Attributes);\n} : $defineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPropertyKey(P);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return $defineProperty(O, P, Attributes);\n } catch (error) { /* empty */ }\n if ('get' in Attributes || 'set' in Attributes) throw $TypeError('Accessors not supported');\n if ('value' in Attributes) O[P] = Attributes.value;\n return O;\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar definePropertyModule = require('../internals/object-define-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = DESCRIPTORS ? function (object, key, value) {\n return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));\n} : function (object, key, value) {\n object[key] = value;\n return object;\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar hasOwn = require('../internals/has-own-property');\n\nvar FunctionPrototype = Function.prototype;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;\n\nvar EXISTS = hasOwn(FunctionPrototype, 'name');\n// additional protection from minified / mangled / dropped function names\nvar PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';\nvar CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable));\n\nmodule.exports = {\n EXISTS: EXISTS,\n PROPER: PROPER,\n CONFIGURABLE: CONFIGURABLE\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar isCallable = require('../internals/is-callable');\nvar store = require('../internals/shared-store');\n\nvar functionToString = uncurryThis(Function.toString);\n\n// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper\nif (!isCallable(store.inspectSource)) {\n store.inspectSource = function (it) {\n return functionToString(it);\n };\n}\n\nmodule.exports = store.inspectSource;\n","var NATIVE_WEAK_MAP = require('../internals/weak-map-basic-detection');\nvar global = require('../internals/global');\nvar isObject = require('../internals/is-object');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar hasOwn = require('../internals/has-own-property');\nvar shared = require('../internals/shared-store');\nvar sharedKey = require('../internals/shared-key');\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar OBJECT_ALREADY_INITIALIZED = 'Object already initialized';\nvar TypeError = global.TypeError;\nvar WeakMap = global.WeakMap;\nvar set, get, has;\n\nvar enforce = function (it) {\n return has(it) ? get(it) : set(it, {});\n};\n\nvar getterFor = function (TYPE) {\n return function (it) {\n var state;\n if (!isObject(it) || (state = get(it)).type !== TYPE) {\n throw TypeError('Incompatible receiver, ' + TYPE + ' required');\n } return state;\n };\n};\n\nif (NATIVE_WEAK_MAP || shared.state) {\n var store = shared.state || (shared.state = new WeakMap());\n /* eslint-disable no-self-assign -- prototype methods protection */\n store.get = store.get;\n store.has = store.has;\n store.set = store.set;\n /* eslint-enable no-self-assign -- prototype methods protection */\n set = function (it, metadata) {\n if (store.has(it)) throw TypeError(OBJECT_ALREADY_INITIALIZED);\n metadata.facade = it;\n store.set(it, metadata);\n return metadata;\n };\n get = function (it) {\n return store.get(it) || {};\n };\n has = function (it) {\n return store.has(it);\n };\n} else {\n var STATE = sharedKey('state');\n hiddenKeys[STATE] = true;\n set = function (it, metadata) {\n if (hasOwn(it, STATE)) throw TypeError(OBJECT_ALREADY_INITIALIZED);\n metadata.facade = it;\n createNonEnumerableProperty(it, STATE, metadata);\n return metadata;\n };\n get = function (it) {\n return hasOwn(it, STATE) ? it[STATE] : {};\n };\n has = function (it) {\n return hasOwn(it, STATE);\n };\n}\n\nmodule.exports = {\n set: set,\n get: get,\n has: has,\n enforce: enforce,\n getterFor: getterFor\n};\n","var global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\n\nvar WeakMap = global.WeakMap;\n\nmodule.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap));\n","var shared = require('../internals/shared');\nvar uid = require('../internals/uid');\n\nvar keys = shared('keys');\n\nmodule.exports = function (key) {\n return keys[key] || (keys[key] = uid(key));\n};\n","module.exports = {};\n","var fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar hasOwn = require('../internals/has-own-property');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar CONFIGURABLE_FUNCTION_NAME = require('../internals/function-name').CONFIGURABLE;\nvar inspectSource = require('../internals/inspect-source');\nvar InternalStateModule = require('../internals/internal-state');\n\nvar enforceInternalState = InternalStateModule.enforce;\nvar getInternalState = InternalStateModule.get;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\n\nvar CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function () {\n return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;\n});\n\nvar TEMPLATE = String(String).split('String');\n\nvar makeBuiltIn = module.exports = function (value, name, options) {\n if (String(name).slice(0, 7) === 'Symbol(') {\n name = '[' + String(name).replace(/^Symbol\\(([^)]*)\\)/, '$1') + ']';\n }\n if (options && options.getter) name = 'get ' + name;\n if (options && options.setter) name = 'set ' + name;\n if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {\n if (DESCRIPTORS) defineProperty(value, 'name', { value: name, configurable: true });\n else value.name = name;\n }\n if (CONFIGURABLE_LENGTH && options && hasOwn(options, 'arity') && value.length !== options.arity) {\n defineProperty(value, 'length', { value: options.arity });\n }\n try {\n if (options && hasOwn(options, 'constructor') && options.constructor) {\n if (DESCRIPTORS) defineProperty(value, 'prototype', { writable: false });\n // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable\n } else if (value.prototype) value.prototype = undefined;\n } catch (error) { /* empty */ }\n var state = enforceInternalState(value);\n if (!hasOwn(state, 'source')) {\n state.source = TEMPLATE.join(typeof name == 'string' ? name : '');\n } return value;\n};\n\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n// eslint-disable-next-line no-extend-native -- required\nFunction.prototype.toString = makeBuiltIn(function toString() {\n return isCallable(this) && getInternalState(this).source || inspectSource(this);\n}, 'toString');\n","var isCallable = require('../internals/is-callable');\nvar definePropertyModule = require('../internals/object-define-property');\nvar makeBuiltIn = require('../internals/make-built-in');\nvar defineGlobalProperty = require('../internals/define-global-property');\n\nmodule.exports = function (O, key, value, options) {\n if (!options) options = {};\n var simple = options.enumerable;\n var name = options.name !== undefined ? options.name : key;\n if (isCallable(value)) makeBuiltIn(value, name, options);\n if (options.global) {\n if (simple) O[key] = value;\n else defineGlobalProperty(key, value);\n } else {\n try {\n if (!options.unsafe) delete O[key];\n else if (O[key]) simple = true;\n } catch (error) { /* empty */ }\n if (simple) O[key] = value;\n else definePropertyModule.f(O, key, {\n value: value,\n enumerable: false,\n configurable: !options.nonConfigurable,\n writable: !options.nonWritable\n });\n } return O;\n};\n","var ceil = Math.ceil;\nvar floor = Math.floor;\n\n// `Math.trunc` method\n// https://tc39.es/ecma262/#sec-math.trunc\n// eslint-disable-next-line es/no-math-trunc -- safe\nmodule.exports = Math.trunc || function trunc(x) {\n var n = +x;\n return (n > 0 ? floor : ceil)(n);\n};\n","var trunc = require('../internals/math-trunc');\n\n// `ToIntegerOrInfinity` abstract operation\n// https://tc39.es/ecma262/#sec-tointegerorinfinity\nmodule.exports = function (argument) {\n var number = +argument;\n // eslint-disable-next-line no-self-compare -- NaN check\n return number !== number || number === 0 ? 0 : trunc(number);\n};\n","var toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar max = Math.max;\nvar min = Math.min;\n\n// Helper for a popular repeating case of the spec:\n// Let integer be ? ToInteger(index).\n// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).\nmodule.exports = function (index, length) {\n var integer = toIntegerOrInfinity(index);\n return integer < 0 ? max(integer + length, 0) : min(integer, length);\n};\n","var toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar min = Math.min;\n\n// `ToLength` abstract operation\n// https://tc39.es/ecma262/#sec-tolength\nmodule.exports = function (argument) {\n return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991\n};\n","var toLength = require('../internals/to-length');\n\n// `LengthOfArrayLike` abstract operation\n// https://tc39.es/ecma262/#sec-lengthofarraylike\nmodule.exports = function (obj) {\n return toLength(obj.length);\n};\n","var toIndexedObject = require('../internals/to-indexed-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\n\n// `Array.prototype.{ indexOf, includes }` methods implementation\nvar createMethod = function (IS_INCLUDES) {\n return function ($this, el, fromIndex) {\n var O = toIndexedObject($this);\n var length = lengthOfArrayLike(O);\n var index = toAbsoluteIndex(fromIndex, length);\n var value;\n // Array#includes uses SameValueZero equality algorithm\n // eslint-disable-next-line no-self-compare -- NaN check\n if (IS_INCLUDES && el != el) while (length > index) {\n value = O[index++];\n // eslint-disable-next-line no-self-compare -- NaN check\n if (value != value) return true;\n // Array#indexOf ignores holes, Array#includes - not\n } else for (;length > index; index++) {\n if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;\n } return !IS_INCLUDES && -1;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.includes` method\n // https://tc39.es/ecma262/#sec-array.prototype.includes\n includes: createMethod(true),\n // `Array.prototype.indexOf` method\n // https://tc39.es/ecma262/#sec-array.prototype.indexof\n indexOf: createMethod(false)\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar hasOwn = require('../internals/has-own-property');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar indexOf = require('../internals/array-includes').indexOf;\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar push = uncurryThis([].push);\n\nmodule.exports = function (object, names) {\n var O = toIndexedObject(object);\n var i = 0;\n var result = [];\n var key;\n for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key);\n // Don't enum bug & hidden keys\n while (names.length > i) if (hasOwn(O, key = names[i++])) {\n ~indexOf(result, key) || push(result, key);\n }\n return result;\n};\n","var internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\nvar hiddenKeys = enumBugKeys.concat('length', 'prototype');\n\n// `Object.getOwnPropertyNames` method\n// https://tc39.es/ecma262/#sec-object.getownpropertynames\n// eslint-disable-next-line es/no-object-getownpropertynames -- safe\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n return internalObjectKeys(O, hiddenKeys);\n};\n","// IE8- don't enum bug keys\nmodule.exports = [\n 'constructor',\n 'hasOwnProperty',\n 'isPrototypeOf',\n 'propertyIsEnumerable',\n 'toLocaleString',\n 'toString',\n 'valueOf'\n];\n","// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe\nexports.f = Object.getOwnPropertySymbols;\n","var getBuiltIn = require('../internals/get-built-in');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar anObject = require('../internals/an-object');\n\nvar concat = uncurryThis([].concat);\n\n// all object keys, includes non-enumerable and symbols\nmodule.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {\n var keys = getOwnPropertyNamesModule.f(anObject(it));\n var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;\n};\n","var hasOwn = require('../internals/has-own-property');\nvar ownKeys = require('../internals/own-keys');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar definePropertyModule = require('../internals/object-define-property');\n\nmodule.exports = function (target, source, exceptions) {\n var keys = ownKeys(source);\n var defineProperty = definePropertyModule.f;\n var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {\n defineProperty(target, key, getOwnPropertyDescriptor(source, key));\n }\n }\n};\n","var fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\n\nvar replacement = /#|\\.prototype\\./;\n\nvar isForced = function (feature, detection) {\n var value = data[normalize(feature)];\n return value == POLYFILL ? true\n : value == NATIVE ? false\n : isCallable(detection) ? fails(detection)\n : !!detection;\n};\n\nvar normalize = isForced.normalize = function (string) {\n return String(string).replace(replacement, '.').toLowerCase();\n};\n\nvar data = isForced.data = {};\nvar NATIVE = isForced.NATIVE = 'N';\nvar POLYFILL = isForced.POLYFILL = 'P';\n\nmodule.exports = isForced;\n","var global = require('../internals/global');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar defineGlobalProperty = require('../internals/define-global-property');\nvar copyConstructorProperties = require('../internals/copy-constructor-properties');\nvar isForced = require('../internals/is-forced');\n\n/*\n options.target - name of the target object\n options.global - target is the global object\n options.stat - export as static methods of target\n options.proto - export as prototype methods of target\n options.real - real prototype method for the `pure` version\n options.forced - export even if the native feature is available\n options.bind - bind methods to the target, required for the `pure` version\n options.wrap - wrap constructors to preventing global pollution, required for the `pure` version\n options.unsafe - use the simple assignment of property instead of delete + defineProperty\n options.sham - add a flag to not completely full polyfills\n options.enumerable - export as enumerable property\n options.dontCallGetSet - prevent calling a getter on target\n options.name - the .name of the function if it does not match the key\n*/\nmodule.exports = function (options, source) {\n var TARGET = options.target;\n var GLOBAL = options.global;\n var STATIC = options.stat;\n var FORCED, target, key, targetProperty, sourceProperty, descriptor;\n if (GLOBAL) {\n target = global;\n } else if (STATIC) {\n target = global[TARGET] || defineGlobalProperty(TARGET, {});\n } else {\n target = (global[TARGET] || {}).prototype;\n }\n if (target) for (key in source) {\n sourceProperty = source[key];\n if (options.dontCallGetSet) {\n descriptor = getOwnPropertyDescriptor(target, key);\n targetProperty = descriptor && descriptor.value;\n } else targetProperty = target[key];\n FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);\n // contained in target\n if (!FORCED && targetProperty !== undefined) {\n if (typeof sourceProperty == typeof targetProperty) continue;\n copyConstructorProperties(sourceProperty, targetProperty);\n }\n // add a flag to not completely full polyfills\n if (options.sham || (targetProperty && targetProperty.sham)) {\n createNonEnumerableProperty(sourceProperty, 'sham', true);\n }\n defineBuiltIn(target, key, sourceProperty, options);\n }\n};\n","var classof = require('../internals/classof-raw');\n\n// `IsArray` abstract operation\n// https://tc39.es/ecma262/#sec-isarray\n// eslint-disable-next-line es/no-array-isarray -- safe\nmodule.exports = Array.isArray || function isArray(argument) {\n return classof(argument) == 'Array';\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar isArray = require('../internals/is-array');\n\nvar $TypeError = TypeError;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// Safari < 13 does not throw an error in this case\nvar SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS && !function () {\n // makes no sense without proper strict mode support\n if (this !== undefined) return true;\n try {\n // eslint-disable-next-line es/no-object-defineproperty -- safe\n Object.defineProperty([], 'length', { writable: false }).length = 1;\n } catch (error) {\n return error instanceof TypeError;\n }\n}();\n\nmodule.exports = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) {\n if (isArray(O) && !getOwnPropertyDescriptor(O, 'length').writable) {\n throw $TypeError('Cannot set read only .length');\n } return O.length = length;\n} : function (O, length) {\n return O.length = length;\n};\n","var $TypeError = TypeError;\nvar MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991\n\nmodule.exports = function (it) {\n if (it > MAX_SAFE_INTEGER) throw $TypeError('Maximum allowed index exceeded');\n return it;\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar setArrayLength = require('../internals/array-set-length');\nvar doesNotExceedSafeInteger = require('../internals/does-not-exceed-safe-integer');\nvar fails = require('../internals/fails');\n\nvar INCORRECT_TO_LENGTH = fails(function () {\n return [].push.call({ length: 0x100000000 }, 1) !== 4294967297;\n});\n\n// V8 and Safari <= 15.4, FF < 23 throws InternalError\n// https://bugs.chromium.org/p/v8/issues/detail?id=12681\nvar SILENT_ON_NON_WRITABLE_LENGTH = !function () {\n try {\n // eslint-disable-next-line es/no-object-defineproperty -- safe\n Object.defineProperty([], 'length', { writable: false }).push();\n } catch (error) {\n return error instanceof TypeError;\n }\n}();\n\n// `Array.prototype.push` method\n// https://tc39.es/ecma262/#sec-array.prototype.push\n$({ target: 'Array', proto: true, arity: 1, forced: INCORRECT_TO_LENGTH || SILENT_ON_NON_WRITABLE_LENGTH }, {\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n push: function push(item) {\n var O = toObject(this);\n var len = lengthOfArrayLike(O);\n var argCount = arguments.length;\n doesNotExceedSafeInteger(len + argCount);\n for (var i = 0; i < argCount; i++) {\n O[len] = arguments[i];\n len++;\n }\n setArrayLength(O, len);\n return len;\n }\n});\n","import NProgress from \"nprogress\";\n\nNProgress.configure({\n easing: \"ease\", // 动画方式\n speed: 600, // 递增进度条的速度\n showSpinner: true, // 是否显示加载spinner\n trickle: false,\n trickleSpeed: 300, // 自动递增间隔\n minimum: 0.1, // 初始化时的最小百分比\n});\n\nexport { NProgress };\n","// 全局样式前缀\nexport const PREFIX = \"gview\";\n\n// 存储键名规范\nexport const LOCAL_CONFIG = \"config\";\nexport const LOCAL_THEME_CONFIG = \"themeConfig\";\nexport const LOCAL_MENU_CONFIG = \"menuConfig\";\nexport const LOCAL_USER = \"user\";\nexport const LOCAL_MENU = \"menu\";\nexport const LOCAL_TAB_MENU = \"tabMenu\";\nexport const LOCAL_INIT_TAB_MENU_LIST = \"initTabMenuList\";\nexport const TOKEN_NAME = \"token\";\nexport const TOKEN_EXPIRED_TIME = \"tokenExpiredTime\";\n\nexport const LOCAL_DATA_ID = \"dataId\";\nexport const LOCAL_SESSION_ID = \"sessionId\";\n","// WebSocket 相关接口配置\nconst DEVELOP_WS_SERVICE = \"http://192.168.2.192:8088/gview/websocket\".replace(\"http\", \"ws\");\nexport const WS_SERVICE =\n process.env.NODE_ENV !== \"development\"\n ? window.location.origin.replace(window.location.protocol, \"ws:\") + \"/gview/websocket\"\n : DEVELOP_WS_SERVICE;\n\n// WebSocket 消息模板\nexport const INIT_WS_MODEL = (subcmd: string, dataId: string = \"\") => {\n if (!dataId) {\n return {\n head: \"gonsin\",\n cmd: {\n cmd: \"gview_client\",\n subcmd,\n response: 0,\n },\n };\n } else {\n return {\n head: \"gonsin\",\n cmd: {\n cmd: \"gview_client\",\n subcmd,\n },\n args: {\n dataId,\n },\n };\n }\n};\n\n// 心跳间隔时长\n// -- 前端自websocket连接成功之后,应该每30秒发送一次心跳,如果到40秒还没发送心跳,websocket将自动断开\nexport const WS_INTERVAL_TIMEOUT = 30000;\n// 重连超时时长\nexport const WS_RESET_TIMEOUT = 3000;\n","// 相关接口配置\n// 上传接口\nexport const UPLOAD_API = \"http://192.168.2.192:8088/restapi/s09/gview/active/upload_file\";\n","export const THEME_CONFIG = {\n brandTheme: \"default\", // 主题色\n displayMode: \"light\", // 主题模式 light | dark | auto\n};\n","// /* eslint-disable indent */\nexport type ColorToken = Record<string, string>;\nexport type ColorSeries = Record<string, ColorToken>;\n\nexport const defaultLightColor = [\n \"#0052d9\",\n \"#0594fa\",\n \"#00a870\",\n \"#ebb105\",\n \"#ed7b2f\",\n \"#e34d59\",\n \"#ed49b4\",\n \"#834ec2\",\n];\nexport const defaultDarkColor = [\n \"#4582e6\",\n \"#29a4fb\",\n \"#03a56f\",\n \"#ca8d03\",\n \"#ed7b2f\",\n \"#ea7b84\",\n \"#f172c5\",\n \"#ab87d5\",\n];\n\nexport const COLOR_TOKEN: ColorSeries = {\n DEFAULT: {\n \"--td-brand-color\": \"#0052d9\",\n \"--td-brand-color-1\": \"#f2f3ff\",\n \"--td-brand-color-2\": \"#d9e1ff\",\n \"--td-brand-color-3\": \"#b5c7ff\",\n \"--td-brand-color-4\": \"#8eabff\",\n \"--td-brand-color-5\": \"#618dff\",\n \"--td-brand-color-6\": \"#366ef4\",\n \"--td-brand-color-7\": \"#0052d9\",\n \"--td-brand-color-8\": \"#003cab\",\n \"--td-brand-color-9\": \"#002a7c\",\n \"--td-brand-color-10\": \"#001a57\",\n },\n\n CYAN: {\n \"--td-brand-color\": \"#0594FA\",\n \"--td-brand-color-1\": \"#d7eefe\",\n \"--td-brand-color-2\": \"#aeddfd\",\n \"--td-brand-color-3\": \"#84cafd\",\n \"--td-brand-color-4\": \"#58b8fc\",\n \"--td-brand-color-5\": \"#29a4fb\",\n \"--td-brand-color-6\": \"#0594FA\",\n \"--td-brand-color-7\": \"#29a4fb\",\n \"--td-brand-color-8\": \"#0594FA\",\n \"--td-brand-color-9\": \"#0378df\",\n \"--td-brand-color-10\": \"#01409b\",\n },\n GREEN: {\n \"--td-brand-color\": \"#00A870\",\n \"--td-brand-color-1\": \"#8dffd9\",\n \"--td-brand-color-2\": \"#00f2a2\",\n \"--td-brand-color-3\": \"#00dc92\",\n \"--td-brand-color-4\": \"#00c583\",\n \"--td-brand-color-5\": \"#00A870\",\n \"--td-brand-color-6\": \"#009a5d\",\n \"--td-brand-color-7\": \"#00c583\",\n \"--td-brand-color-8\": \"#00A870\",\n \"--td-brand-color-9\": \"#009a5d\",\n \"--td-brand-color-10\": \"#004a14\",\n },\n ORANGE: {\n \"--td-brand-color\": \"#ED7B2F\",\n \"--td-brand-color-1\": \"#fce5d7\",\n \"--td-brand-color-2\": \"#f8cdaf\",\n \"--td-brand-color-3\": \"#f4b285\",\n \"--td-brand-color-4\": \"#f19659\",\n \"--td-brand-color-5\": \"#ED7B2F\",\n \"--td-brand-color-6\": \"#e75510\",\n \"--td-brand-color-7\": \"#f19659\",\n \"--td-brand-color-8\": \"#ED7B2F\",\n \"--td-brand-color-9\": \"#e75510\",\n \"--td-brand-color-10\": \"#7f0a02\",\n },\n RED: {\n \"--td-brand-color\": \"#E34D59\",\n \"--td-brand-color-1\": \"#fbe5e7\",\n \"--td-brand-color-2\": \"#f7ccd0\",\n \"--td-brand-color-3\": \"#f3b2b8\",\n \"--td-brand-color-4\": \"#ef989f\",\n \"--td-brand-color-5\": \"#ea7b84\",\n \"--td-brand-color-6\": \"#E34D59\",\n \"--td-brand-color-7\": \"#ea7b84\",\n \"--td-brand-color-8\": \"#E34D59\",\n \"--td-brand-color-9\": \"#e42c3a\",\n \"--td-brand-color-10\": \"#8d0309\",\n },\n PINK: {\n \"--td-brand-color\": \"#ED49B4\",\n \"--td-brand-color-1\": \"#fce5f4\",\n \"--td-brand-color-2\": \"#facae9\",\n \"--td-brand-color-3\": \"#f7aede\",\n \"--td-brand-color-4\": \"#f491d2\",\n \"--td-brand-color-5\": \"#f172c5\",\n \"--td-brand-color-6\": \"#ED49B4\",\n \"--td-brand-color-7\": \"#f172c5\",\n \"--td-brand-color-8\": \"#ED49B4\",\n \"--td-brand-color-9\": \"#e80f9d\",\n \"--td-brand-color-10\": \"#8f025e\",\n },\n PURPLE: {\n \"--td-brand-color\": \"#834EC2\",\n \"--td-brand-color-1\": \"#eee6f7\",\n \"--td-brand-color-2\": \"#ddceee\",\n \"--td-brand-color-3\": \"#ccb6e6\",\n \"--td-brand-color-4\": \"#bb9edc\",\n \"--td-brand-color-5\": \"#ab87d5\",\n \"--td-brand-color-6\": \"#9a6fce\",\n \"--td-brand-color-7\": \"#9a6fce\",\n \"--td-brand-color-8\": \"#834EC2\",\n \"--td-brand-color-9\": \"#783ac3\",\n \"--td-brand-color-10\": \"#4c1397\",\n },\n YELLOW: {\n \"--td-brand-color\": \"#EBB105\",\n \"--td-brand-color-1\": \"#fde9ab\",\n \"--td-brand-color-2\": \"#fbd152\",\n \"--td-brand-color-3\": \"#EBB105\",\n \"--td-brand-color-4\": \"#dda204\",\n \"--td-brand-color-5\": \"#ca8d03\",\n \"--td-brand-color-6\": \"#b67803\",\n \"--td-brand-color-7\": \"#fbd152\",\n \"--td-brand-color-8\": \"#EBB105\",\n \"--td-brand-color-9\": \"#dda204\",\n \"--td-brand-color-10\": \"#603100\",\n },\n};\n","function createContextFunctionTemplate(eval_string, context) {\n return `\nreturn function (context) {\n \"use strict\";\n ${Object.keys(context).length > 0 ? `let ${Object.keys(context).map((key) => ` ${key} = context['${key}']`)};` : ``}\n return ${eval_string};\n} \n`;\n}\n\nfunction createContextEvaluator(eval_string, context) {\n let template = createContextFunctionTemplate(eval_string, context);\n let functor = Function(template);\n return functor();\n}\n\nexport function evalContext(text, context = {}) {\n let evaluator = createContextEvaluator(text, context);\n return evaluator(context);\n}\n\n/**\n * @description: 处理showIf可能出现的值\n * @param {any} value\n * @return {any}\n */\nexport function vFun(value: any): any {\n if (value === undefined) {\n return \"\";\n }\n if (value === null) {\n return \"\";\n }\n if (value === \"\") {\n return \"\";\n }\n if (value === 0) {\n return 0;\n }\n if (value === \"0\") {\n return \"0\";\n }\n return value;\n}\n\n// 处理 path, path有三种形式:'a[0].b.c'、'a.0.b.c' 和 ['a','0','b','c'],需要统一处理成数组,便于后续使用\nfunction _basePath(path) {\n // 若是数组,则直接返回\n if (Array.isArray(path)) return path;\n // 若有 '[',']',则替换成将 '[' 替换成 '.',去掉 ']'\n return path.replace(/\\[/g, \".\").replace(/\\]/g, \"\").split(\".\");\n}\n\n/**\n * @description: 获取对象属性方法\n * @param {*} target\n * @param {*} propertyStr\n * @return {*}\n */\nexport function getProperty(object, path, defaultValue = \"\") {\n // 判断 object 是否是数组或者对象,否则直接返回默认值 defaultValue\n if (typeof object !== \"object\") return defaultValue;\n\n // 沿着路径寻找到对应的值,未找到则返回默认值 defaultValue\n let result = _basePath(path).reduce((o, k) => (o || {})[k], object);\n\n if ((result ?? \"\") != \"\" || result == 0) {\n return result;\n } else {\n return defaultValue;\n }\n}\n\nexport function setProperty(object, path, value) {\n // 判断 object 是否是数组或者对象,否则直接返回 object\n if (typeof object !== \"object\") return object;\n\n _basePath(path).reduce((o, k, i, _) => {\n if (i === _.length - 1) {\n // 若遍历结束直接赋值\n o[k] = value;\n return null;\n } else if (k in o) {\n // 若存在对应路径,则返回找到的对象,进行下一次遍历\n return o[k];\n } else {\n // 若不存在对应路径,则创建对应对象,若下一路径是数字,新对象赋值为空数组,否则赋值为空对象\n o[k] = /^[0-9]{1,}$/.test(_[i + 1]) ? [] : {};\n return o[k];\n }\n }, object);\n\n Object.assign(object, object);\n\n // 返回object\n return object;\n}\n\nexport function deepClone(sourceObj, targetObj) {\n let cloneObj = targetObj || {};\n if (!sourceObj || typeof sourceObj !== \"object\" || sourceObj.length === undefined) {\n return sourceObj;\n }\n if (sourceObj instanceof Array) {\n cloneObj = sourceObj.concat();\n } else {\n for (let i in sourceObj) {\n if (typeof sourceObj[i] === \"object\") {\n cloneObj[i] = deepClone(sourceObj[i], {});\n } else {\n cloneObj[i] = sourceObj[i];\n }\n }\n }\n return cloneObj;\n}\n","import { IMenuTree } from \"../types\";\n\n/**\n * 递归生成菜单树\n * @param data 原始菜单树数据\n * @param parent 标记父菜单\n * @param level 标记当前菜单层级\n * @returns\n */\nexport function generateMenuTree(data: IMenuTree[], parent: string | null, level: number): IMenuTree[] {\n return data\n .filter((item) => item.parent === parent)\n .map((item) => ({\n ...item,\n children: generateMenuTree(data, item.name, level + 1),\n\n path: item.url, // 菜单路径\n alias: item.title, // 菜单备注名称\n level, // 标记当前层级\n isGroup: !item.url, // 标记当前是否为分组\n }));\n}\n\n/**\n * 扁平化菜单树\n */\nexport const flattenMenuData = (tree: IMenuTree[]) => {\n const flatMenu: Array<IMenuTree> = [];\n function flat(menuTree: IMenuTree[], parentName: string | null) {\n menuTree.forEach((item) => {\n const { edificeKey, name, title, url, icon } = item;\n flatMenu.push({\n edificeKey,\n name,\n parent: parentName,\n title,\n url,\n icon,\n });\n\n if (item.children && item.children.length > 0) {\n flat(item.children, name);\n }\n });\n }\n\n flat(tree, null);\n\n flatMenu.forEach((item, index) => {\n item.sort = index;\n });\n return flatMenu;\n};\n\n/**\n * 获取首页菜单 第一个url不为空的菜单信息\n * @param menus\n * @param url\n * @returns\n */\nexport const getHomeUrl = (menus: IMenuTree[], url = \"\"): string => {\n for (const menu of menus) {\n if (menu.url) {\n url = menu.url;\n break;\n }\n const childrenPath = getHomeUrl(menu.children || [], url);\n if (childrenPath) {\n url = childrenPath;\n break;\n }\n }\n return url;\n};\n","/**\n * @description: 获取路径中的参数,例子路径 view?viewName=GropBean&MeetingName=TestMeeting\n * @param {*} url\n * @return {*}\n */\nexport function getUrlQuery(url) {\n let queryObj = {};\n\n if (url.indexOf(\"?\") !== -1) {\n let queryStr = url.split(\"?\")[1].split(\"&\");\n\n queryStr.forEach((queryItem) => {\n queryObj[queryItem.split(\"=\")[0]] = queryItem.split(\"=\")[1];\n });\n }\n\n return queryObj;\n}\n","import { TableColumns } from \"../types\";\nimport { PrimaryTableCol } from \"tdesign-vue\";\n\nexport function initTableColumns(tableColumns: TableColumns[]): Array<PrimaryTableCol> {\n let tableColumnsResult: Array<PrimaryTableCol> = [];\n\n // 多选框单元列配置\n tableColumnsResult.push({\n colKey: \"row-select\",\n type: \"multiple\",\n fixed: \"left\",\n attrs: {\n style: {\n minWidth: \"30px\",\n },\n },\n });\n\n tableColumns.forEach((column, idx, arr) => {\n let tempColumnResult: any = {\n colKey: column.keyName !== \"\" ? column.keyName : column.name,\n title: column.name,\n cell: column.columnType,\n width: `calc(${convertTableColumnWeight(column.weight ?? 1, arr.length)} * 100vw - 32px)`,\n ellipsis: { props: { theme: \"light\", showArrow: false, placement: \"bottom\" } },\n ...column,\n };\n\n if (idx == 0) {\n tempColumnResult.fixed = \"left\";\n tempColumnResult.attrs = {\n style: {\n maxWidth: `calc(${convertTableColumnWeight(1, arr.length)} * 100vw - 32px)`,\n },\n };\n }\n\n if (column.columnType == \"BUTTONS\") {\n const buttonLength = column.buttons?.length || 1;\n\n tempColumnResult.ellipsis = undefined;\n tempColumnResult.attrs = {\n style: {\n minWidth: buttonLength * 90 + \"px\",\n },\n };\n tempColumnResult.fixed = \"right\";\n }\n\n if (column.columnType == \"FORM_ITEM\") {\n tempColumnResult.ellipsis = undefined;\n }\n tableColumnsResult.push(tempColumnResult);\n });\n\n return tableColumnsResult;\n}\n\n/**\n * @description: 表格列宽度权重转换\n * @return {*}\n */\nfunction convertTableColumnWeight(weight: number, columnAmount: number) {\n // return (weight / columnAmount) * 100 + \"%\";\n return weight / columnAmount;\n}\n","/**\n * @description: 初始化处理树形选择列表数据\n * @param {*} config\n * @return {*}\n */\nexport function initTreeSelectorData(config) {\n const { list, keyName, valueName, titleName, parentKey, parentKeyName } = config;\n\n const selector = (parentKey, arr) => {\n const res: any = [];\n\n arr.forEach((item) => {\n if (item[parentKeyName] == parentKey) {\n const children = selector(item[keyName], list);\n\n const parentObj = {\n key: item[keyName],\n label: item[titleName],\n value: item[valueName],\n children: [],\n };\n\n if (children.length) {\n parentObj.children = children;\n }\n\n res.push(parentObj);\n }\n });\n\n return res;\n };\n\n return selector(parentKey, list);\n}\n","import { ColorSeries, ColorToken } from \"../config/color\";\nfunction toUnderline(name: string): string {\n return name.replace(/([A-Z])/g, \"_$1\").toUpperCase();\n}\n\nexport function getBrandColor(type: string, colorList: ColorSeries): ColorToken {\n const name = /^#[A-F\\d]{6}$/i.test(type) ? type : toUnderline(type);\n return colorList[name || \"DEFAULT\"];\n}\n","/**\n * @description: 判断表单内容是否为空\n * @param {*} value\n * @return {*}\n */\nexport function isVoid(value) {\n if (value === null) {\n return false;\n }\n\n value = (\"\" + value).trim();\n return value != \"\";\n}\n","import { customAlphabet } from \"nanoid\";\n\nexport function nanoid(length: number) {\n return customAlphabet(\"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz\", 32)(length);\n}\n","<template>\n <t-tabs\n :class=\"`${PREFIX}-tabs`\"\n size=\"large\"\n :value=\"decodeURIComponent($route.fullPath)\"\n @change=\"handleChangeCurrentTab\"\n @remove=\"handleRemoveCurrentTab\"\n >\n <t-tab-panel v-for=\"(item, index) in tabMenuList\" :key=\"item.path\" :value=\"item.path\" :removable=\"!item.isHome\">\n <template #label>\n <t-dropdown\n trigger=\"context-menu\"\n :popup-props=\"{\n onVisibleChange: (visible, ctx) => handleTabMenuClick(visible, ctx, item.path),\n visible: activeItemPath != '' ? activeItemPath === item.path : false,\n }\"\n >{{ item.title }}\n <template #dropdown>\n <t-dropdown-menu>\n <t-dropdown-item v-if=\"item.isHome\" @click=\"() => handleChangeCurrentTab(item.path)\">\n <t-icon name=\"home\"></t-icon>前往首页\n </t-dropdown-item>\n <t-dropdown-item v-if=\"!item.isHome\" @click=\"() => handleTabRefresh(item, index)\">\n <t-icon name=\"refresh\"></t-icon>刷新\n </t-dropdown-item>\n <t-dropdown-item v-if=\"index > 1\" @click=\"() => handleTabCloseAhead(item.path, index)\">\n <t-icon name=\"arrow-left\"></t-icon>关闭左侧\n </t-dropdown-item>\n <t-dropdown-item\n v-if=\"index > 0 && index < tabMenuList.length - 1\"\n @click=\"() => handleTabCloseBehind(item.path, index)\"\n >\n <t-icon name=\"arrow-right \"></t-icon>关闭右侧\n </t-dropdown-item>\n <t-dropdown-item\n v-if=\"index > 0 && tabMenuList.length > 2\"\n @click=\"() => handleTabCloseOther(item.path, index)\"\n >\n <t-icon name=\"close-circle\"></t-icon>关闭其他\n </t-dropdown-item>\n </t-dropdown-menu>\n </template>\n </t-dropdown>\n </template>\n </t-tab-panel>\n </t-tabs>\n</template>\n\n<script>\nimport { PREFIX } from \"../../../config\";\nimport { getUrlQuery } from \"../../../utils\";\n\nexport default {\n computed: {\n tabMenuList() {\n return this.$store.state.setting.tabMenuList;\n },\n homeUrl() {\n return this.$store.getters[\"setting/homeUrl\"];\n },\n },\n data() {\n return {\n PREFIX,\n activeItemPath: \"\",\n };\n },\n methods: {\n handleTabMenuClick(visible, ctx, path) {\n if (ctx.trigger === \"document\") this.activeItemPath = null;\n if (visible) this.activeItemPath = path;\n },\n handleChangeCurrentTab(path) {\n if (path === \"/home\") {\n this.$router.push(\n { path: this.homeUrl, query: getUrlQuery(this.homeUrl) },\n () => {},\n () => {},\n );\n } else {\n this.$router.push(\n { path, query: getUrlQuery(path) },\n () => {},\n () => {},\n );\n }\n },\n handleRemoveCurrentTab({ value: path, index }) {\n const { tabMenuList } = this.$store.state.setting;\n\n if (tabMenuList.length > 2) {\n const nextTabMenuItem = tabMenuList[index + 1] || tabMenuList[index - 1];\n\n this.$store.dispatch(\"setting/subtractCurrentTabMenuItem\", { path, itemIdx: index });\n const fullPath = decodeURIComponent(this.$route.fullPath);\n if (path === fullPath) {\n this.$router.push(\n {\n path: nextTabMenuItem.path,\n query: nextTabMenuItem.query,\n },\n () => {},\n () => {},\n );\n }\n }\n },\n handleTabRefresh(item, index) {\n this.$nextTick(() => {\n this.$router.push(\n {\n path: item.path,\n query: item.query,\n },\n () => {},\n () => {},\n );\n });\n\n this.$store.dispatch(\"setting/reloadGlobal\");\n this.activeItemPath = null;\n },\n handleTabCloseAhead(path, itemIdx) {\n this.$store.dispatch(\"setting/subtractTabMenuItemAhead\", { path, itemIdx });\n\n this.handleTabOperationEffect(\"ahead\", itemIdx);\n },\n handleTabCloseBehind(path, itemIdx) {\n this.$store.dispatch(\"setting/subtractTabMenuItemBehind\", { path, itemIdx });\n\n this.handleTabOperationEffect(\"behind\", itemIdx);\n },\n handleTabCloseOther(path, itemIdx) {\n if (this.tabMenuList.length > 2) {\n this.$store.dispatch(\"setting/subtractTabMenuItemOther\", { path, itemIdx });\n\n this.handleTabOperationEffect(\"other\", itemIdx);\n }\n },\n handleTabOperationEffect(type, itemIdx) {\n const currentPath = this.$route.fullPath;\n const { tabMenuList } = this.$store.state.setting;\n\n const currentIdx = tabMenuList.findIndex((item) => item.path === currentPath);\n\n const needRefreshRouter =\n (type === \"other\" && currentIdx !== itemIdx) ||\n (type === \"ahead\" && currentIdx < itemIdx) ||\n (type === \"behind\" && currentIdx === -1);\n\n if (needRefreshRouter) {\n const nextItemIdx = type === \"behind\" ? tabMenuList.length - 1 : 1;\n const nextItem = tabMenuList[nextItemIdx];\n\n this.$router.push({\n path: nextItem.path,\n query: nextItem.query,\n });\n }\n\n this.activeItemPath = null;\n },\n },\n};\n</script>\n\n<style lang=\"scss\" scoped></style>\n","<template>\n <t-header :class=\"`${PREFIX}-header`\">\n <t-head-menu :theme=\"displayMode\">\n <template #logo>\n <div class=\"header-logo-container\">\n <div class=\"header-logo\"></div>\n </div>\n <div class=\"header-operate-left\">\n <t-button theme=\"default\" shape=\"square\" variant=\"text\" @click=\"toggleSideMenuCollapsed\">\n <t-icon class=\"collapsed-icon\" name=\"view-list\"></t-icon>\n </t-button>\n </div>\n </template>\n <!-- Tab菜单栏 -->\n <GLayoutHeaderTab />\n <template #operations>\n <div class=\"operation-container\">\n <t-dropdown trigger=\"click\">\n <t-button class=\"header-user-btn\" theme=\"default\" variant=\"text\">\n <t-icon class=\"header-user-avatar\" name=\"user-circle\" />\n <span v-if=\"userRealName\">{{ userRealName }}</span>\n <t-icon name=\"chevron-down\"></t-icon>\n </t-button>\n <template #dropdown>\n <t-dropdown-menu>\n <t-dropdown-item class=\"operations-dropdown-container-item\" @click=\"handleLogout\">\n <t-icon name=\"poweroff\" /> 退出登录\n </t-dropdown-item>\n </t-dropdown-menu>\n </template>\n </t-dropdown>\n\n <t-tooltip placement=\"bottom\" content=\"系统设置\">\n <t-button theme=\"default\" shape=\"square\" variant=\"text\" @click=\"toggleSettingPanel\"\n ><t-icon name=\"setting\" /></t-button\n ></t-tooltip>\n </div>\n </template>\n </t-head-menu>\n </t-header>\n</template>\n\n<script>\nimport { PREFIX } from \"../../../config\";\nimport GLayoutHeaderTab from \"./GLayoutHeaderTab.vue\";\n\nexport default {\n components: {\n GLayoutHeaderTab,\n },\n data() {\n return {\n PREFIX,\n };\n },\n computed: {\n userRealName() {\n return this.$store.getters[\"setting/userRealName\"];\n },\n displayMode() {\n return this.$store.getters[\"setting/displayMode\"];\n },\n },\n methods: {\n toggleSideMenuCollapsed() {\n this.$store.commit(\"setting/toggleSideBarCollapse\");\n },\n toggleSettingPanel() {\n this.$store.commit(\"setting/toggleSettingPanel\");\n },\n handleLogout() {\n this.$store.dispatch(\"setting/userLogout\");\n this.$router.push({ path: \"/login\" });\n },\n },\n};\n</script>\n\n<style lang=\"scss\"></style>\n","<template>\n <t-layout :class=\"`${PREFIX}-layout`\">\n <t-content :class=\"`${PREFIX}-content-layout`\">\n <slot />\n </t-content>\n </t-layout>\n</template>\n\n<script>\nimport { PREFIX } from \"../../../config\";\n\nexport default {\n data() {\n return {\n PREFIX,\n };\n },\n};\n</script>\n\n<style lang=\"scss\" scoped></style>\n","<template>\n <div :style=\"style\" class=\"color-container\" />\n</template>\n\n<script>\nimport { getBrandColor } from \"../../../utils\";\nimport { COLOR_TOKEN as colorList } from \"../../../config\";\n\nexport default {\n name: \"ColorContainer\",\n props: {\n value: {\n type: String,\n default: \"default\",\n },\n },\n computed: {\n style() {\n return {\n background: getBrandColor(this.value, colorList)[\"--td-brand-color\"],\n };\n },\n },\n};\n</script>\n\n<style lang=\"scss\" scoped>\n.color-container {\n width: 48px;\n height: 48px;\n border-radius: 3px;\n display: inline-block;\n}\n</style>\n","var isPrototypeOf = require('../internals/object-is-prototype-of');\n\nvar $TypeError = TypeError;\n\nmodule.exports = function (it, Prototype) {\n if (isPrototypeOf(Prototype, it)) return it;\n throw $TypeError('Incorrect invocation');\n};\n","var isCallable = require('../internals/is-callable');\n\nvar $String = String;\nvar $TypeError = TypeError;\n\nmodule.exports = function (argument) {\n if (typeof argument == 'object' || isCallable(argument)) return argument;\n throw $TypeError(\"Can't set \" + $String(argument) + ' as a prototype');\n};\n","/* eslint-disable no-proto -- safe */\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar anObject = require('../internals/an-object');\nvar aPossiblePrototype = require('../internals/a-possible-prototype');\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 // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\n setter = uncurryThis(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);\n setter(test, []);\n CORRECT_SETTER = test instanceof Array;\n } catch (error) { /* empty */ }\n return function setPrototypeOf(O, proto) {\n anObject(O);\n aPossiblePrototype(proto);\n if (CORRECT_SETTER) setter(O, proto);\n else O.__proto__ = proto;\n return O;\n };\n}() : undefined);\n","var isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\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","var wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar test = {};\n\ntest[TO_STRING_TAG] = 'z';\n\nmodule.exports = String(test) === '[object z]';\n","var TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar isCallable = require('../internals/is-callable');\nvar classofRaw = require('../internals/classof-raw');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar $Object = Object;\n\n// ES3 wrong here\nvar CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';\n\n// fallback for IE11 Script Access Denied error\nvar tryGet = function (it, key) {\n try {\n return it[key];\n } catch (error) { /* empty */ }\n};\n\n// getting tag from ES6+ `Object.prototype.toString`\nmodule.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {\n var O, tag, result;\n return it === undefined ? 'Undefined' : it === null ? 'Null'\n // @@toStringTag case\n : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag\n // builtinTag case\n : CORRECT_ARGUMENTS ? classofRaw(O)\n // ES3 arguments fallback\n : (result = classofRaw(O)) == 'Object' && isCallable(O.callee) ? 'Arguments' : result;\n};\n","var classof = require('../internals/classof');\n\nvar $String = String;\n\nmodule.exports = function (argument) {\n if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');\n return $String(argument);\n};\n","var toString = require('../internals/to-string');\n\nmodule.exports = function (argument, $default) {\n return argument === undefined ? arguments.length < 2 ? '' : $default : toString(argument);\n};\n","module.exports = {\n IndexSizeError: { s: 'INDEX_SIZE_ERR', c: 1, m: 1 },\n DOMStringSizeError: { s: 'DOMSTRING_SIZE_ERR', c: 2, m: 0 },\n HierarchyRequestError: { s: 'HIERARCHY_REQUEST_ERR', c: 3, m: 1 },\n WrongDocumentError: { s: 'WRONG_DOCUMENT_ERR', c: 4, m: 1 },\n InvalidCharacterError: { s: 'INVALID_CHARACTER_ERR', c: 5, m: 1 },\n NoDataAllowedError: { s: 'NO_DATA_ALLOWED_ERR', c: 6, m: 0 },\n NoModificationAllowedError: { s: 'NO_MODIFICATION_ALLOWED_ERR', c: 7, m: 1 },\n NotFoundError: { s: 'NOT_FOUND_ERR', c: 8, m: 1 },\n NotSupportedError: { s: 'NOT_SUPPORTED_ERR', c: 9, m: 1 },\n InUseAttributeError: { s: 'INUSE_ATTRIBUTE_ERR', c: 10, m: 1 },\n InvalidStateError: { s: 'INVALID_STATE_ERR', c: 11, m: 1 },\n SyntaxError: { s: 'SYNTAX_ERR', c: 12, m: 1 },\n InvalidModificationError: { s: 'INVALID_MODIFICATION_ERR', c: 13, m: 1 },\n NamespaceError: { s: 'NAMESPACE_ERR', c: 14, m: 1 },\n InvalidAccessError: { s: 'INVALID_ACCESS_ERR', c: 15, m: 1 },\n ValidationError: { s: 'VALIDATION_ERR', c: 16, m: 0 },\n TypeMismatchError: { s: 'TYPE_MISMATCH_ERR', c: 17, m: 1 },\n SecurityError: { s: 'SECURITY_ERR', c: 18, m: 1 },\n NetworkError: { s: 'NETWORK_ERR', c: 19, m: 1 },\n AbortError: { s: 'ABORT_ERR', c: 20, m: 1 },\n URLMismatchError: { s: 'URL_MISMATCH_ERR', c: 21, m: 1 },\n QuotaExceededError: { s: 'QUOTA_EXCEEDED_ERR', c: 22, m: 1 },\n TimeoutError: { s: 'TIMEOUT_ERR', c: 23, m: 1 },\n InvalidNodeTypeError: { s: 'INVALID_NODE_TYPE_ERR', c: 24, m: 1 },\n DataCloneError: { s: 'DATA_CLONE_ERR', c: 25, m: 1 }\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\n\nvar $Error = Error;\nvar replace = uncurryThis(''.replace);\n\nvar TEST = (function (arg) { return String($Error(arg).stack); })('zxcasd');\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","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar getBuiltIn = require('../internals/get-built-in');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar defineProperty = require('../internals/object-define-property').f;\nvar hasOwn = require('../internals/has-own-property');\nvar anInstance = require('../internals/an-instance');\nvar inheritIfRequired = require('../internals/inherit-if-required');\nvar normalizeStringArgument = require('../internals/normalize-string-argument');\nvar DOMExceptionConstants = require('../internals/dom-exception-constants');\nvar clearErrorStack = require('../internals/error-stack-clear');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar IS_PURE = require('../internals/is-pure');\n\nvar DOM_EXCEPTION = 'DOMException';\nvar Error = getBuiltIn('Error');\nvar NativeDOMException = getBuiltIn(DOM_EXCEPTION);\n\nvar $DOMException = function DOMException() {\n anInstance(this, DOMExceptionPrototype);\n var argumentsLength = arguments.length;\n var message = normalizeStringArgument(argumentsLength < 1 ? undefined : arguments[0]);\n var name = normalizeStringArgument(argumentsLength < 2 ? undefined : arguments[1], 'Error');\n var that = new NativeDOMException(message, name);\n var error = Error(message);\n error.name = DOM_EXCEPTION;\n defineProperty(that, 'stack', createPropertyDescriptor(1, clearErrorStack(error.stack, 1)));\n inheritIfRequired(that, this, $DOMException);\n return that;\n};\n\nvar DOMExceptionPrototype = $DOMException.prototype = NativeDOMException.prototype;\n\nvar ERROR_HAS_STACK = 'stack' in Error(DOM_EXCEPTION);\nvar DOM_EXCEPTION_HAS_STACK = 'stack' in new NativeDOMException(1, 2);\n\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar descriptor = NativeDOMException && DESCRIPTORS && Object.getOwnPropertyDescriptor(global, DOM_EXCEPTION);\n\n// Bun ~ 0.1.1 DOMException have incorrect descriptor and we can't redefine it\n// https://github.com/Jarred-Sumner/bun/issues/399\nvar BUGGY_DESCRIPTOR = !!descriptor && !(descriptor.writable && descriptor.configurable);\n\nvar FORCED_CONSTRUCTOR = ERROR_HAS_STACK && !BUGGY_DESCRIPTOR && !DOM_EXCEPTION_HAS_STACK;\n\n// `DOMException` constructor patch for `.stack` where it's required\n// https://webidl.spec.whatwg.org/#es-DOMException-specialness\n$({ global: true, constructor: true, forced: IS_PURE || FORCED_CONSTRUCTOR }, { // TODO: fix export logic\n DOMException: FORCED_CONSTRUCTOR ? $DOMException : NativeDOMException\n});\n\nvar PolyfilledDOMException = getBuiltIn(DOM_EXCEPTION);\nvar PolyfilledDOMExceptionPrototype = PolyfilledDOMException.prototype;\n\nif (PolyfilledDOMExceptionPrototype.constructor !== PolyfilledDOMException) {\n if (!IS_PURE) {\n defineProperty(PolyfilledDOMExceptionPrototype, 'constructor', createPropertyDescriptor(1, PolyfilledDOMException));\n }\n\n for (var key in DOMExceptionConstants) if (hasOwn(DOMExceptionConstants, key)) {\n var constant = DOMExceptionConstants[key];\n var constantName = constant.s;\n if (!hasOwn(PolyfilledDOMException, constantName)) {\n defineProperty(PolyfilledDOMException, constantName, createPropertyDescriptor(6, constant.c));\n }\n }\n}\n","<template>\n <t-drawer :class=\"`${PREFIX}-setting`\" :visible.sync=\"isSettingPanelShow\" :footer=\"false\">\n <template #header><t-icon name=\"setting\" />系统设置</template>\n <div class=\"setting-container\">\n <div class=\"setting-group-title\">主题色</div>\n <t-radio-group v-model=\"themeData.brandTheme\">\n <div v-for=\"(item, index) in COLOR_OPTIONS.slice(0, COLOR_OPTIONS.length - 1)\" :key=\"index\">\n <t-radio-button :key=\"index\" :value=\"item\" class=\"setting-layout-color-group\">\n <ColorContainer :value=\"item\" />\n </t-radio-button>\n </div>\n </t-radio-group>\n\n <div class=\"setting-group-title\">主题模式</div>\n <t-radio-group v-model=\"themeData.displayMode\" variant=\"default-filled\">\n <div v-for=\"(item, index) in MODE_OPTIONS\" :key=\"index\">\n <t-radio-button :key=\"index\" :value=\"item.type\">{{ item.text }}</t-radio-button>\n </div>\n </t-radio-group>\n\n <div class=\"setting-group-title\">其他设置</div>\n </div>\n </t-drawer>\n</template>\n\n<script>\nimport ColorContainer from \"../../common/color/index.vue\";\nimport { PREFIX, THEME_CONFIG } from \"../../../config\";\n\nconst COLOR_OPTIONS = [\"default\", \"cyan\", \"green\", \"yellow\", \"orange\", \"red\", \"pink\", \"purple\", \"dynamic\"];\nconst MODE_OPTIONS = [\n { type: \"light\", text: \"明亮\" },\n { type: \"dark\", text: \"暗黑\" },\n { type: \"auto\", text: \"跟随系统\" },\n];\n\nexport default {\n components: {\n ColorContainer,\n },\n data() {\n return {\n PREFIX,\n MODE_OPTIONS,\n COLOR_OPTIONS,\n };\n },\n computed: {\n themeData() {\n return this.$store.state.setting.themeConfig;\n },\n isSettingPanelShow: {\n get() {\n return this.$store.state.setting.isSettingPanelShow;\n },\n set() {\n this.$store.commit(\"setting/toggleSettingPanel\");\n },\n },\n },\n watch: {\n themeData: {\n handler(value) {\n this.$store.dispatch(\"setting/changeTheme\", value);\n },\n deep: true,\n },\n },\n};\n</script>\n\n<style lang=\"scss\" scoped></style>\n","<template>\n <t-layout>\n <t-layout>\n <GLayoutHeader />\n <t-content>\n <GLayoutContent>\n <t-card :class=\"`${PREFIX}-card`\" :bordered=\"false\" :title=\"title\">\n <slot />\n </t-card>\n </GLayoutContent>\n </t-content>\n </t-layout>\n <GLayoutSideMenu />\n <GLayoutSetting />\n </t-layout>\n</template>\n\n<script>\nimport GLayoutHeader from \"./components/GLayoutHeader.vue\";\nimport GLayoutContent from \"./components/GLayoutContent.vue\";\nimport GLayoutSetting from \"./components/GLayoutSetting.vue\";\nimport GLayoutSideMenu from \"./components/GLayoutSideMenu.vue\";\nimport { PREFIX } from \"../../config\";\n\nexport default {\n name: \"GLayout\",\n components: {\n GLayoutHeader,\n GLayoutContent,\n GLayoutSetting,\n GLayoutSideMenu,\n },\n props: {\n title: String,\n config: Object,\n },\n data() {\n return {\n PREFIX,\n };\n },\n computed: {\n isUserLogin() {\n return this.$store.state.setting.isUserLogin;\n },\n homeUrl() {\n return this.$store.getters[\"setting/homeUrl\"];\n },\n },\n mounted() {\n // 初始化主题配置\n this.$store.dispatch(\"setting/loadLocalTheme\");\n\n if ((this.config ?? \"\") != \"\" && !this.isUserLogin) {\n this.$store.dispatch(\"setting/userLoadInit\", this.config);\n this.$router.push(this.homeUrl);\n }\n\n // 初始化WebSocket连接\n this.$store.dispatch(\"socket/initSocket\");\n },\n};\n</script>\n\n<style lang=\"scss\">\n@import \"./style.scss\";\n</style>\n","<template>\n <!-- 侧边抽屉菜单 -->\n <t-drawer\n :class=\"`${PREFIX}-drawer`\"\n size=\"232px\"\n placement=\"left\"\n :visible.sync=\"menuCollapsed\"\n :showOverlay=\"true\"\n :header=\"false\"\n :footer=\"false\"\n :showInAttachedElement=\"true\"\n >\n <t-menu width=\"210px\" :theme=\"displayMode\" :value=\"menuActivePath\" :default-expanded=\"menuDefaultExpanded\">\n <GLayoutSideMenuContent :nav-data=\"menu\" />\n\n <template #operations>\n <t-button\n variant=\"text\"\n theme=\"primary\"\n size=\"large\"\n block\n @click=\"toMenuManage\"\n style=\"justify-content: flex-start; padding: 0 0 0 10px\"\n >\n <template #icon><t-icon name=\"view-list\"></t-icon></template>菜单管理\n </t-button>\n </template>\n </t-menu>\n </t-drawer>\n</template>\n\n<script>\nimport { PREFIX } from \"../../../config\";\nimport GLayoutSideMenuContent from \"./GLayoutSideMenuContent.vue\";\n\nexport default {\n components: {\n GLayoutSideMenuContent,\n },\n data() {\n return {\n PREFIX,\n };\n },\n computed: {\n menu() {\n return this.$store.getters[\"setting/userMenu\"];\n },\n displayMode() {\n return this.$store.getters[\"setting/displayMode\"];\n },\n // 侧边菜单折叠状态\n menuCollapsed: {\n get() {\n return this.$store.state.setting.isSideBarCollapse;\n },\n set() {\n this.$store.commit(\"setting/toggleSideBarCollapse\");\n },\n },\n // 当前菜单激活项\n menuActivePath() {\n const length = this.$route.fullPath.split(\"/\").length;\n return this.$route.fullPath.split(\"/\")[length - 1];\n },\n // 当前菜单默认折叠项\n menuDefaultExpanded() {\n let currentParent;\n this.menu.forEach((parentMenu) => {\n parentMenu.children.forEach((childrenMenu) => {\n if (childrenMenu.path == this.menuActivePath) {\n currentParent = parentMenu.name;\n }\n });\n });\n\n return [currentParent];\n },\n },\n methods: {\n toMenuManage() {\n this.$router.push({ name: \"menu\" });\n this.$store.commit(\"setting/toggleSideBarCollapse\");\n },\n },\n};\n</script>\n\n<style lang=\"scss\" scoped></style>\n","<template>\n <div>\n <template v-for=\"item in menuList\">\n <template v-if=\"!item.children || !item.children.length\">\n <t-menu-item\n :class=\"`level${item.level}-margin`\"\n :name=\"item.path\"\n :value=\"item.path\"\n :to=\"item.path\"\n @click=\"handleMenuItemClick\"\n >\n {{ item.title }}\n </t-menu-item>\n </template>\n <t-submenu\n :class=\"`level${item.level}-margin`\"\n v-else\n :name=\"item.name\"\n :value=\"item.name\"\n :title=\"item.title\"\n >\n <template #icon>\n <template v-if=\"item.level == 1\">\n <t-icon v-if=\"item.icon\" :name=\"item.icon\" size=\"large\" />\n <t-icon v-else name=\"app\" size=\"large\" />\n </template>\n </template>\n <GLayoutSideMenuContent v-if=\"item.children\" :nav-data=\"item.children\" />\n </t-submenu>\n </template>\n </div>\n</template>\n\n<script>\nexport default {\n name: \"GLayoutSideMenuContent\",\n props: {\n navData: Array,\n },\n data() {\n return {};\n },\n computed: {\n // 菜单列表\n menuList() {\n return this.getMenuList(this.navData);\n },\n },\n methods: {\n getMenuList(list) {\n if (!list) return [];\n return list;\n },\n handleMenuItemClick() {\n this.$store.commit(\"setting/toggleSideBarCollapse\");\n },\n },\n};\n</script>\n\n<style lang=\"scss\" scoped>\n.level2-margin {\n margin-left: 10px !important;\n}\n\n.level3-margin {\n margin-left: 15px !important;\n}\n</style>\n","<template>\n <div :class=\"`${PREFIX}-common-header`\">\n <t-row justify=\"space-between\">\n <div class=\"left-operations\">\n <t-row>\n <slot name=\"left-operations\"></slot>\n </t-row>\n </div>\n <div class=\"right-operations\">\n <slot name=\"right-operations\"></slot>\n </div>\n </t-row>\n </div>\n</template>\n\n<script>\nimport { PREFIX } from \"../../../config\";\n\nexport default {\n name: \"GCommonHeader\",\n props: {},\n data() {\n return {\n PREFIX,\n };\n },\n};\n</script>\n\n<style lang=\"scss\">\n@import \"./style.scss\";\n</style>\n","<template>\n <t-input\n v-model=\"value\"\n :type=\"type\"\n :placeholder=\"placeholder\"\n @change=\"handleChange\"\n @blur=\"handleBlur\"\n :disabled=\"disabled\"\n clearable\n ></t-input>\n</template>\n\n<script>\nexport default {\n props: {\n modelValue: { required: true },\n originValue: [String, Number, Boolean, Array, Object],\n placeholder: String,\n disabled: Boolean,\n inputType: String,\n },\n watch: {\n modelValue() {\n this.value = this.modelValue;\n },\n },\n data() {\n return {\n type: \"text\",\n value: this.modelValue,\n };\n },\n methods: {\n handleChange(value) {\n this.$emit(\"update:modelValue\", value);\n },\n handleBlur(value) {\n if (this.originValue != value) {\n this.$emit(\"blur:modelValue\", value);\n }\n },\n },\n mounted() {\n if (this.inputType == \"re_password\") this.type = \"password\";\n else this.type = this.inputType;\n },\n beforeDestroy() {\n this.$emit(\"before-destroy\");\n },\n};\n</script>\n\n<style lang=\"scss\" scoped></style>\n","export default function _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) {\n return typeof obj;\n } : function (obj) {\n return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n }, _typeof(obj);\n}","import _typeof from \"./typeof.js\";\nimport toPrimitive from \"./toPrimitive.js\";\nexport default function _toPropertyKey(arg) {\n var key = toPrimitive(arg, \"string\");\n return _typeof(key) === \"symbol\" ? key : String(key);\n}","import _typeof from \"./typeof.js\";\nexport default function _toPrimitive(input, hint) {\n if (_typeof(input) !== \"object\" || input === null) return input;\n var prim = input[Symbol.toPrimitive];\n if (prim !== undefined) {\n var res = prim.call(input, hint || \"default\");\n if (_typeof(res) !== \"object\") return res;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (hint === \"string\" ? String : Number)(input);\n}","import toPropertyKey from \"./toPropertyKey.js\";\nexport default function _defineProperty(obj, key, value) {\n key = toPropertyKey(key);\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}","import axios, { AxiosInstance, AxiosRequestConfig, AxiosError, AxiosResponse } from \"axios\";\nimport { DEFAULT_CONFIG } from \"./config\";\nimport { ResultData } from \"./interface\";\n\nimport { MessagePlugin } from \"tdesign-vue\";\nimport { LOCAL_CONFIG, LOCAL_SESSION_ID, NProgress } from \"../config\";\nimport { nanoid } from \"../utils\";\nimport VueRouter from \"vue-router\";\n\nfunction loadNanoId() {\n const localSessionId = sessionStorage.getItem(LOCAL_SESSION_ID);\n if ((localSessionId ?? \"\") != \"\") {\n return localSessionId;\n } else {\n const newSessionId = nanoid(32);\n sessionStorage.setItem(LOCAL_SESSION_ID, newSessionId);\n return newSessionId;\n }\n}\n\nclass RequestHttp {\n sessionId: () => string | null;\n service: AxiosInstance;\n router: VueRouter | null;\n\n public constructor(config: AxiosRequestConfig) {\n // 生成 sessionId\n this.sessionId = loadNanoId;\n\n // 实例化axios\n this.service = axios.create(config);\n\n // 初始化 router\n this.router = null;\n\n /**\n * @description 请求拦截器\n * 客户端发送请求 -> [请求拦截器] -> 服务器\n * token校验(JWT) : 接受服务器返回的token,存储到vuex/pinia/本地储存当中\n */\n this.service.interceptors.request.use(\n (config: AxiosRequestConfig) => {\n const userToken = JSON.parse(localStorage.getItem(LOCAL_CONFIG) as string)?.userToken || {\n token: \"\",\n tokenExpiredTime: \"\",\n };\n const lang = JSON.parse(localStorage.getItem(LOCAL_CONFIG) as string)?.userInfo?.language || \"zh-CN\";\n\n if (userToken) {\n const { token, tokenExpiredTime } = userToken;\n\n config.headers = {\n ...config.headers,\n token,\n lang,\n };\n }\n\n NProgress.start();\n\n return {\n ...config,\n };\n },\n (error: AxiosError) => {\n return Promise.reject(error);\n },\n );\n\n /**\n * @description 响应拦截器\n * 服务器换返回信息 -> [拦截统一处理] -> 客户端JS获取到信息\n */\n this.service.interceptors.response.use(\n (response: AxiosResponse) => {\n const { data } = response;\n const { state } = data;\n\n if (state == \"-409\") {\n NProgress.done();\n\n // 跳转到授权页面\n const { device, uuid } = data.data;\n if ((this.router ?? \"\") != \"\") {\n this.router?.push({\n name: \"license\",\n query: {\n device,\n uuid,\n },\n });\n }\n\n return data;\n } else {\n NProgress.done();\n return data;\n }\n },\n async (error: AxiosError) => {\n MessagePlugin.error(error.message);\n return Promise.reject(error);\n },\n );\n }\n\n // * 常用请求方法封装\n get<T>(url: string, params?: object, _object = {}): Promise<ResultData<T>> {\n return this.service.get(`${url}?sessionId=${this.sessionId()}`, { params, ..._object });\n }\n post<T>(url: string, params?: object, _object = {}): Promise<ResultData<T>> {\n return this.service.post(`${url}?sessionId=${this.sessionId()}`, params, _object);\n }\n put<T>(url: string, params?: object, _object = {}): Promise<ResultData<T>> {\n return this.service.put(`${url}?sessionId=${this.sessionId()}`, params, _object);\n }\n delete<T>(url: string, params?: any, _object = {}): Promise<ResultData<T>> {\n return this.service.delete(`${url}?sessionId=${this.sessionId()}`, { params, ..._object });\n }\n\n // 载入用户 router\n initRouter(router: VueRouter) {\n this.router = router;\n }\n}\n\nexport default new RequestHttp(DEFAULT_CONFIG);\n","export const DEFAULT_CONFIG = {\n // 默认地址请求地址,可在 .env 开头文件中修改\n // baseURL: import.meta.env.VITE_API_URL as string,\n // 设置超时时间(10s)\n timeout: 10000,\n // 跨域时候允许携带凭证\n withCredentials: true,\n};\n","import http from \"../\";\nimport { View } from \"../../types\";\n\nconst viewApiUrl = {\n // 视图 - 获取所有视图 GET\n getAllView: \"/restapi/s09/gview/boards/all\",\n // 视图 - 获取一个视图 GET\n getOneView: \"/restapi/s09/gview/views\",\n // 数据 - 获取数据 POST\n getViewData: \"/restapi/s09/gview/data\",\n // 触发 - 上传文件 POST\n uploadFile: \"/restapi/s09/gview/active/upload_file\",\n // 触发 - 触发文件上传事件 POST\n activeFile: \"/restapi/s09/gview/active/file\",\n // 触发 - 触发confirm事件 POST\n confirm: \"/restapi/s09/gview/active/confirm\",\n // 触发 - 触发批量操作事件 POST\n batch: \"/restapi/s09/gview/active/batch\",\n};\n\n// 视图 - 获取所有视图 GET\nexport const getAllView = (params) => http.get<View.viewInfo[]>(viewApiUrl.getAllView, params);\n// 视图 - 获取一个视图 GET\nexport const getOneView = (params) => http.get<View.viewInfo>(viewApiUrl.getOneView, params);\n// 数据 - 获取数据 POST\nexport const getViewData = (params: View.ReqViewDataParam) => http.post<View.viewData>(viewApiUrl.getViewData, params);\n// 触发 - 触发confirm事件 POST\nexport const confirm = (params: View.ReqConfirmParam) => http.post(viewApiUrl.confirm, params);\n// 触发 - 触发批量操作事件 POST\nexport const batchAction = (params) => http.post(viewApiUrl.batch, params);\n// 触发 - 上传文件 POST\nexport const activeFile = (params) => http.post(viewApiUrl.activeFile, params);\n","<template>\n <t-select\n v-model=\"value\"\n @change=\"handleChange\"\n @blur=\"handleBlur\"\n :placeholder=\"target.name\"\n :size=\"size\"\n :options=\"options\"\n :multiple=\"multiple\"\n :min-collapsed-num=\"2\"\n :disabled=\"disabled\"\n clearable\n />\n</template>\n\n<script>\nimport { MessagePlugin } from \"tdesign-vue\";\nimport { getViewData } from \"../../../api/modules/view\";\n\nexport default {\n props: {\n modelValue: { required: true },\n originValue: [String, Number, Boolean, Array, Object],\n disabled: Boolean,\n target: Object,\n targetViewName: String,\n size: {\n type: String,\n default: \"medium\",\n },\n multiple: {\n type: Boolean,\n default: false,\n },\n },\n data() {\n return {\n value: this.modelValue,\n options: [],\n\n // 路径查询参数\n queryProps: {},\n };\n },\n watch: {\n modelValue: {\n handler(value) {\n this.value = value;\n },\n deep: true,\n },\n\n \"this.$route.query\": {\n handler() {\n const { query } = this.$route;\n\n if (query.props != null) {\n this.queryProps = JSON.parse(query.props);\n }\n },\n deep: true,\n immediate: true,\n },\n },\n computed: {\n listData() {\n return this.target.listData;\n },\n dataId() {\n return this.listData.dataId;\n },\n propsModel() {\n let tempModel = {};\n\n // 地址查询参数\n Object.assign(tempModel, this.queryProps);\n return tempModel;\n },\n },\n methods: {\n handleChange(value) {\n this.$emit(\"update:modelValue\", value);\n },\n handleBlur(value) {\n if (this.originValue != value) {\n this.$emit(\"blur:modelValue\", value);\n }\n },\n async getSelectData() {\n const res = await getViewData({\n viewName: this.targetViewName,\n dataId: this.dataId,\n props: this.propsModel,\n });\n\n if (res.state === 200) {\n let list = res.data;\n if (list != null && list.length != 0) {\n let arr = [];\n list.forEach((item) => {\n if (item != null) {\n arr.push({\n key: item[this.listData.keyName],\n label: item[this.listData.titleName],\n value: item[this.listData.valueName],\n });\n }\n });\n this.options = arr;\n }\n } else {\n MessagePlugin.error(`获取数据失败:${res.message}`);\n }\n },\n },\n mounted() {\n this.getSelectData();\n },\n beforeDestroy() {\n this.$emit(\"before-destroy\");\n },\n};\n</script>\n\n<style lang=\"scss\" scoped></style>\n","<template>\n <div>\n <t-date-picker\n v-if=\"target.itemType === 'date_selector' || target.itemType === 'date_time_selector'\"\n :enable-time-picker=\"target.itemType === 'date_time_selector'\"\n :placeholder=\"target.placeholder\"\n v-model=\"dateTimeValue\"\n @change=\"handleChange\"\n @blur=\"handleBlur\"\n :format=\"target.format || 'YYYY-MM-DD HH:mm:ss'\"\n valueType=\"time-stamp\"\n :disabled=\"disabled\"\n clearable\n />\n <t-time-picker\n v-if=\"target.itemType === 'time_selector'\"\n :placeholder=\"target.placeholder\"\n v-model=\"dateTimeValue\"\n @change=\"handleChange\"\n @blur=\"handleBlur\"\n :format=\"target.format || 'HH:mm:ss'\"\n clearable\n />\n </div>\n</template>\n\n<script>\nimport dayjs from \"dayjs\";\nexport default {\n props: {\n modelValue: { required: true },\n originValue: [String, Number, Boolean, Array, Object],\n disabled: Boolean,\n target: Object,\n },\n data() {\n return {\n value: \"\",\n };\n },\n computed: {\n dateTimeValue: {\n get() {\n if (this.modelValue == 0) {\n return \"\";\n } else {\n if (this.target.itemType == \"time_selector\") {\n return dayjs(this.modelValue).format(\"HH:mm:ss\");\n } else {\n return this.modelValue;\n }\n }\n },\n set(value) {\n this.value = value;\n if (this.target.itemType == \"time_selector\") {\n this.value = dayjs(value, \"HH:mm:ss\").valueOf();\n }\n },\n },\n },\n methods: {\n handleChange() {\n this.$emit(\"update:modelValue\", this.value);\n },\n handleBlur(value) {\n if (this.originValue != value) {\n this.$emit(\"blur:modelValue\", value);\n }\n },\n },\n beforeDestroy() {\n this.$emit(\"before-destroy\");\n },\n};\n</script>\n\n<style lang=\"scss\" scoped></style>\n","<template>\n <GCommonHeader>\n <template #left-operations>\n <!-- 上传按钮 -->\n <template v-if=\"headerUploadBtns\">\n <GHeaderUpload\n v-for=\"btn in headerUploadBtns\"\n :key=\"btn.buttonId\"\n :target=\"btn\"\n :targetViewName=\"viewName\"\n />\n </template>\n <t-button\n v-for=\"btn in headerCommonBtns\"\n :key=\"btn.buttonId\"\n theme=\"primary\"\n @click=\"handleHeaderButtonClick(btn)\"\n >\n <!-- <template #icon>\n\t\t\t\t\t\t<t-icon :name=\"btn.icon\"></t-icon>\n\t\t\t\t\t</template> -->\n {{ btn.name }}\n </t-button>\n </template>\n\n <template #right-operations>\n <div v-for=\"(item, index) in headerFilters\" :key=\"index\">\n <div v-if=\"item.itemType === 'text_input'\">\n <GFormInput :modelValue.sync=\"filterForm[item.keyName]\" :placeholder=\"item.placeholder\" />\n </div>\n <div v-if=\"item.itemType === 'selector'\">\n <GFormSelect\n :modelValue.sync=\"filterForm[item.keyName]\"\n :target=\"item\"\n :targetViewName=\"viewName\"\n ></GFormSelect>\n </div>\n <div\n v-if=\"\n item.itemType === 'date_selector' ||\n item.itemType === 'time_selector' ||\n item.itemType === 'date_time_selector'\n \"\n >\n <GFormSelectDateTime\n :modelValue.sync=\"filterForm[item.keyName]\"\n :target=\"item\"\n :targetViewName=\"viewName\"\n />\n </div>\n </div>\n </template>\n </GCommonHeader>\n</template>\n\n<script>\nimport { PREFIX } from \"../../config\";\nimport GCommonHeader from \"../common/GCommonHeader/index.vue\";\nimport GFormInput from \"../GForm/components/GFormInput.vue\";\nimport GFormSelect from \"../GForm/components/GFormSelect.vue\";\nimport GFormSelectDateTime from \"../GForm/components/GFormSelectDateTime.vue\";\nimport GHeaderUpload from \"./components/GHeaderUpload.vue\";\n\nexport default {\n name: \"Gheader\",\n components: {\n GCommonHeader,\n GFormInput,\n GFormSelect,\n GFormSelectDateTime,\n GHeaderUpload,\n },\n props: {\n viewName: String,\n headerInfo: Object,\n },\n data() {\n return {\n PREFIX,\n timer: null,\n filterForm: {},\n };\n },\n computed: {\n // 头部操作按钮\n headerCommonBtns() {\n return this.headerInfo?.buttons.filter((button) => button.action != \"UPLOAD_FILE\");\n },\n // 头部上传按钮\n headerUploadBtns() {\n return this.headerInfo?.buttons.filter((button) => button.action == \"UPLOAD_FILE\");\n },\n headerSearchBar() {\n return this.headerInfo?.searchBar ?? {};\n },\n headerFilters() {\n return this.headerInfo?.searchBar?.filters ?? [];\n },\n },\n watch: {\n filterForm: {\n handler() {\n if (this.timer) {\n clearTimeout(this.timer);\n }\n this.timer = setTimeout(() => {\n this.handleFilterChange();\n }, 500);\n },\n deep: true,\n },\n },\n methods: {\n handleFilterChange() {\n for (const key in this.filterForm) {\n if ((this.filterForm[key] ?? \"\") === \"\") {\n delete this.filterForm[key];\n }\n }\n this.$emit(\"header-filter-change\", this.filterForm);\n },\n handleHeaderButtonClick(button) {\n this.$emit(\"header-button-action\", button);\n },\n },\n};\n</script>\n<style lang=\"scss\">\n@import \"./style.scss\";\n</style>\n","<template>\n <t-upload\n :action=\"UPLOAD_API\"\n @success=\"handleUploadSuccess\"\n @fail=\"handleUploadError\"\n :showUploadProgress=\"false\"\n style=\"padding: 0 8px 0 0\"\n >\n <t-button>\n <template>\n <t-icon name=\"upload\"></t-icon>\n </template>\n {{ target.name }}\n </t-button>\n </t-upload>\n</template>\n\n<script>\n// to-do 更换为从传入的配置中获取上传接口\nimport { UPLOAD_API } from \"../../../config\";\nimport { MessagePlugin } from \"tdesign-vue\";\n\nexport default {\n props: {\n target: Object,\n targetViewName: String,\n },\n data() {\n return {\n UPLOAD_API,\n uploadData: {},\n };\n },\n methods: {\n handleUploadSuccess(event) {\n const uploadResult = event.response;\n this.$emit(\"returnFileUrl\", uploadResult.data.shift(), this.target);\n },\n handleUploadError(error) {\n MessagePlugin.error(`上传失败:${error}`);\n },\n },\n};\n</script>\n\n<style lang=\"scss\" scoped></style>\n","<template>\n <div :class=\"`${PREFIX}-common-table`\">\n <t-enhanced-table\n v-bind=\"commonTableProps\"\n :hover=\"true\"\n :bordered=\"true\"\n table-layout=\"auto\"\n maxHeight=\"calc(100vh - 281px)\"\n >\n <template v-for=\"(index, name) in $scopedSlots\" #[name]=\"data\">\n <slot :name=\"name\" v-bind=\"{ ...data }\"></slot>\n </template>\n </t-enhanced-table>\n </div>\n</template>\n\n<script>\nimport { PREFIX } from \"../../../config\";\n\nexport default {\n name: \"GCommonTable\",\n props: {\n commonTableProps: {\n required: true,\n },\n },\n data() {\n return {\n PREFIX,\n };\n },\n};\n</script>\n\n<style lang=\"scss\">\n@import \"./style.scss\";\n</style>\n","<template>\n <t-tag>{{ modelValue }}</t-tag>\n</template>\n\n<script>\nexport default {\n props: {\n modelValue: { required: true },\n },\n};\n</script>\n\n<style lang=\"scss\" scoped></style>\n","<template>\n <t-checkbox v-model=\"value\" @change=\"handleChange\" :disabled=\"disabled\" />\n</template>\n\n<script>\nimport { isVoid } from \"../../../utils\";\n\nexport default {\n props: {\n modelValue: { required: true },\n originValue: [String, Number, Boolean, Array, Object],\n disabled: Boolean,\n },\n data() {\n return {\n value: false,\n };\n },\n watch: {\n modelValue: {\n handler() {\n this.value = this.modelValue;\n\n if (!isVoid(this.modelValue)) {\n this.value = false;\n }\n },\n immediate: true,\n },\n },\n methods: {\n handleChange(value) {\n this.$emit(\"update:modelValue\", value);\n\n if (this.originValue != value) {\n this.$emit(\"blur:modelValue\", value);\n }\n },\n },\n beforeDestroy() {\n this.$emit(\"before-destroy\");\n },\n};\n</script>\n\n<style lang=\"scss\" scoped></style>\n","<template>\n <t-switch v-model=\"value\" @change=\"handleChange\" :disabled=\"disabled\" />\n</template>\n\n<script>\nimport { isVoid } from \"../../../utils\";\n\nexport default {\n props: {\n target: Object,\n modelValue: { required: true },\n originValue: [String, Number, Boolean, Array, Object],\n disabled: Boolean,\n },\n data() {\n return {\n value: this.modelValue,\n };\n },\n watch: {\n modelValue() {\n this.value = this.modelValue;\n\n if (!isVoid(this.modelValue)) {\n this.value = false;\n }\n },\n },\n methods: {\n handleChange(value) {\n this.$emit(\"update:modelValue\", value);\n\n if (this.originValue != value) {\n this.$emit(\"blur:modelValue\", value);\n }\n },\n },\n beforeDestroy() {\n this.$emit(\"before-destroy\");\n },\n};\n</script>\n\n<style lang=\"scss\" scoped></style>\n","<template>\n <t-radio-group v-model=\"value\" @change=\"handleChange\" :disabled=\"disabled\">\n <t-radio v-for=\"item in selectList\" :key=\"item.key\" :value=\"item.value\">{{ item.label }}</t-radio>\n </t-radio-group>\n</template>\n\n<script>\nimport { MessagePlugin } from \"tdesign-vue\";\nimport { getViewData } from \"../../../api/modules/view\";\n\nexport default {\n props: {\n modelValue: { required: true },\n originValue: [String, Number, Boolean, Array, Object],\n disabled: Boolean,\n target: Object,\n targetViewName: String,\n },\n data() {\n return {\n value: this.modelValue,\n selectList: [],\n\n // 路径查询参数\n queryProps: {},\n };\n },\n watch: {\n modelValue() {\n this.value = this.modelValue;\n },\n\n \"this.$route.query\": {\n handler() {\n const { query } = this.$route;\n\n if (query.props != null) {\n this.queryProps = JSON.parse(query.props);\n }\n },\n deep: true,\n immediate: true,\n },\n },\n computed: {\n listData() {\n return this.target.listData;\n },\n dataId() {\n return this.listData.dataId;\n },\n propsModel() {\n let tempModel = {};\n\n // 地址查询参数\n Object.assign(tempModel, this.queryProps);\n return tempModel;\n },\n },\n methods: {\n handleChange(value) {\n this.$emit(\"update:modelValue\", value);\n\n if (this.originValue != value) {\n this.$emit(\"blur:modelValue\", value);\n }\n },\n async getSelectData() {\n const res = await getViewData({\n viewName: this.targetViewName,\n dataId: this.dataId,\n props: this.propsModel,\n });\n\n if (res.state === 200) {\n let list = res.data;\n if (list != null && list.length != 0) {\n let arr = [];\n list.forEach((item) => {\n if (item != null) {\n arr.push({\n key: item[this.listData.keyName],\n label: item[this.listData.titleName],\n value: item[this.listData.valueName],\n });\n }\n });\n\n this.selectList = arr;\n }\n } else {\n MessagePlugin.error(`获取数据失败:${res.message}`);\n }\n },\n },\n mounted() {\n this.getSelectData();\n },\n beforeDestroy() {\n this.$emit(\"before-destroy\");\n },\n};\n</script>\n\n<style lang=\"scss\" scoped></style>\n","<template>\n <t-tree-select\n v-model=\"value\"\n :data=\"treeOptions\"\n @change=\"handleChange\"\n @blur=\"handleBlur\"\n :placeholder=\"target.placeholder\"\n :multiple=\"multiple\"\n :min-collapsed-num=\"3\"\n :treeProps=\"{ valueMode: 'all' }\"\n :disabled=\"disabled\"\n clearable\n ></t-tree-select>\n</template>\n\n<script>\nimport { MessagePlugin } from \"tdesign-vue\";\nimport { getViewData } from \"../../../api/modules/view\";\nimport { initTreeSelectorData } from \"../../../utils\";\n\nexport default {\n props: {\n modelValue: { required: true },\n originValue: [String, Number, Boolean, Array, Object],\n disabled: Boolean,\n target: Object,\n targetViewName: String,\n multiple: {\n type: Boolean,\n default: true,\n },\n },\n data() {\n return {\n value: this.modelValue,\n treeOptions: [],\n\n // 路径查询参数\n queryProps: {},\n };\n },\n watch: {\n modelValue() {\n this.value = this.modelValue;\n },\n\n \"this.$route.query\": {\n handler() {\n const { query } = this.$route;\n\n if (query.props != null) {\n this.queryProps = JSON.parse(query.props);\n }\n },\n deep: true,\n immediate: true,\n },\n },\n computed: {\n treeData() {\n return this.target.treeData;\n },\n dataId() {\n return this.treeData.dataId;\n },\n\n propsModel() {\n let tempModel = {};\n\n // 地址查询参数\n Object.assign(tempModel, this.queryProps);\n return tempModel;\n },\n },\n methods: {\n handleChange(value) {\n this.$emit(\"update:modelValue\", value);\n },\n handleBlur(value) {\n if (this.originValue != value) {\n this.$emit(\"blur:modelValue\", value);\n }\n },\n async getSelectData() {\n const res = await getViewData({\n viewName: this.targetViewName,\n dataId: this.dataId,\n props: this.propsModel,\n });\n\n if (res.state === 200) {\n let list = res.data;\n if (list != null && list.length != 0) {\n let arr = initTreeSelectorData({\n list,\n keyName: this.treeData.valueName,\n valueName: this.treeData.valueName,\n titleName: this.treeData.titleName,\n parentKey: null,\n parentKeyName: this.treeData.parentKeyName,\n });\n\n this.treeOptions = arr;\n }\n } else {\n MessagePlugin.error(`获取数据失败:${res.message}`);\n }\n },\n },\n mounted() {\n this.getSelectData();\n },\n beforeDestroy() {\n this.$emit(\"before-destroy\");\n },\n};\n</script>\n\n<style lang=\"scss\" scoped></style>\n","<template>\n <t-cascader\n v-model=\"value\"\n :options=\"cascaderOptions\"\n @change=\"handleChange\"\n @blur=\"handleBlur\"\n :multiple=\"multiple\"\n :min-collapsed-num=\"2\"\n :disabled=\"disabled\"\n clearable\n />\n</template>\n\n<script>\nimport { MessagePlugin } from \"tdesign-vue\";\nimport { getViewData } from \"../../../api/modules/view\";\nimport { initTreeSelectorData } from \"../../../utils\";\n\nexport default {\n props: {\n modelValue: { required: true },\n originValue: [String, Number, Boolean, Array, Object],\n disabled: Boolean,\n target: Object,\n targetViewName: String,\n multiple: {\n type: Boolean,\n default: false,\n },\n },\n data() {\n return {\n value: this.modelValue,\n cascaderOptions: [],\n\n // 路径查询参数\n queryProps: {},\n };\n },\n watch: {\n modelValue() {\n this.value = this.modelValue;\n },\n\n \"this.$route.query\": {\n handler() {\n const { query } = this.$route;\n\n if (query.props != null) {\n this.queryProps = JSON.parse(query.props);\n }\n },\n deep: true,\n immediate: true,\n },\n },\n computed: {\n treeData() {\n return this.target.treeData;\n },\n dataId() {\n return this.treeData.dataId;\n },\n\n propsModel() {\n let tempModel = {};\n\n // 地址查询参数\n Object.assign(tempModel, this.queryProps);\n return tempModel;\n },\n },\n methods: {\n handleChange(value) {\n this.$emit(\"update:modelValue\", value);\n },\n handleBlur(value) {\n if (this.originValue != value) {\n this.$emit(\"blur:modelValue\", value);\n }\n },\n async getSelectData() {\n const res = await getViewData({\n viewName: this.targetViewName,\n dataId: this.dataId,\n props: this.propsModel,\n });\n\n if (res.state === 200) {\n let list = res.data;\n if (list != null && list.length != 0) {\n let arr = initTreeSelectorData({\n list,\n parentKey: null,\n keyName: this.treeData.keyName,\n valueName: this.treeData.valueName,\n titleName: this.treeData.titleName,\n parentKeyName: this.treeData.parentKeyName,\n });\n\n this.cascaderOptions = arr;\n }\n } else {\n MessagePlugin.error(`获取数据失败:${res.message}`);\n }\n },\n },\n mounted() {\n this.getSelectData();\n },\n beforeDestroy() {\n this.$emit(\"before-destroy\");\n },\n};\n</script>\n\n<style lang=\"scss\" scoped></style>\n","<template>\n <div>\n <t-upload\n ref=\"uploadRef\"\n theme=\"file\"\n v-model=\"value\"\n :action=\"uploadApi\"\n :accept=\"target.accept\"\n :max=\"target.limit\"\n :size=\"target.maxSize\"\n :disabled=\"disabled\"\n :is-batch-upload=\"true\"\n @change=\"handleChange\"\n @fail=\"handleUploadError\"\n >\n </t-upload>\n </div>\n</template>\n\n<script>\nimport { MessagePlugin } from \"tdesign-vue\";\nexport default {\n props: {\n modelValue: { required: true },\n fileName: String,\n tips: String,\n target: Object,\n targetViewName: String,\n disabled: Boolean,\n },\n data() {\n return {\n value: [],\n };\n },\n watch: {\n modelValue(value) {\n if ((value ?? \"\") != \"\") {\n this.value = [{ name: this.fileName, url: value }];\n } else {\n this.value = [];\n }\n },\n },\n computed: {\n // 上传API从用户传入的config中获取\n uploadApi() {\n return this.$store.getters[\"setting/uploadApi\"];\n },\n },\n\n methods: {\n handleChange() {\n // this.$emit(\"update:modelValue\", this.value);\n if (this.value.length) {\n const { name, response } = this.value[0];\n this.uploadData = response.data;\n if (response.data.length) {\n // this.value = response.data[0];\n this.$emit(\"update:modelValue\", response.data[0]);\n this.$emit(\"blur:modelValue\", response.data[0]);\n this.$emit(\"update:fileName\", name);\n MessagePlugin.success(`上传成功`);\n }\n } else {\n console.log(this.value);\n this.$emit(\"update:modelValue\", \"\");\n }\n },\n handleUploadError(error) {\n MessagePlugin.error(`上传失败:${error}`);\n },\n },\n beforeDestroy() {\n this.$emit(\"before-destroy\");\n },\n};\n</script>\n\n<style lang=\"scss\">\n.t-upload__single-input-preview {\n max-width: none;\n}\n</style>\n","<template>\n <GCommonTable\n v-if=\"!isReload\"\n :commonTableProps=\"{\n data: data,\n rowKey: rowKey,\n columns: tableColumns,\n pagination: tablePagination,\n selectedRowKeys: selectedRowKeys,\n onSelectChange: handleSelectChange,\n }\"\n >\n <!-- 纯文本单元格 -->\n <template #TEXT=\"{ col, row }\">{{ returnValue(col, row) }}</template>\n <!-- 枚举文本类型单元格 -->\n <template #ENUMS=\"{ col, row }\"> <span v-html=\"returnEnumsValue(col, row)\"></span></template>\n <!-- 日期格式类型单元格 -->\n <template #DATE=\"{ col, row }\"> {{ returnDateValue(col, row) }} </template>\n <!-- 二维码展示单元格 -->\n <template #QR_CODE=\"{ col, row }\">\n <t-popup>\n <t-button variant=\"text\" theme=\"primary\">预览</t-button>\n <template #content>\n <vue-qr :text=\"returnValue(col, row)\" :size=\"80\" :margin=\"0\" />\n <div style=\"text-align: center\">{{ row[\"code\"] }}</div>\n </template>\n </t-popup>\n </template>\n <!-- 表单项类型单元格 -->\n <template #FORM_ITEM=\"{ col, row }\">\n <GTableForm :viewName=\"viewName\" :col=\"col\" :row=\"row\" @blur=\"handleTableFormChange\" />\n </template>\n <!-- 图片预览单元格 -->\n <template #IMAGE=\"{ col, row }\">\n <t-image :src=\"returnValue(col, row)\" fit=\"cover\" shape=\"round\" :style=\"{ width: '80px', height: '80px' }\">\n <template #error>\n <t-icon v-if=\"col.name == '头像'\" name=\"user\" />\n <t-icon v-else name=\"file-image\" />\n </template>\n <template #loading>\n <t-icon v-if=\"col.name == '头像'\" name=\"user\" />\n <t-icon v-else name=\"file-image\" size=\"large\" />\n </template>\n </t-image>\n </template>\n <!-- 操作栏 -->\n <template #BUTTONS=\"{ col, row }\">\n <!-- <template v-if=\"handleFilterColumnBtns(col.buttons, row).length <= 3\"> -->\n <t-button\n theme=\"primary\"\n variant=\"text\"\n v-for=\"btns in handleFilterColumnBtns(col.buttons, row)\"\n :key=\"btns.buttonId\"\n @click=\"handleTableButtonClick(btns, row)\"\n style=\"width: '88px'\"\n >\n {{ btns.name }}\n </t-button>\n </template>\n </GCommonTable>\n</template>\n\n<script>\nimport { PREFIX } from \"../../config\";\nimport { evalContext, vFun, initTableColumns } from \"../../utils\";\n\nimport VueQr from \"vue-qr\";\nimport dayjs from \"dayjs\";\nimport Mustache from \"mustache\";\nimport GCommonTable from \"../common/GCommonTable/index.vue\";\nimport GTableForm from \"./components/GTableForm.vue\";\n\nexport default {\n name: \"GTable\",\n components: {\n GCommonTable,\n GTableForm,\n VueQr,\n },\n props: {\n viewName: String,\n boardInfo: Object,\n tableData: Array,\n paginationProps: Object,\n },\n data() {\n return {\n PREFIX,\n isReload: false,\n selectedRowKeys: [],\n tablePagination: {\n showJumper: true,\n },\n };\n },\n computed: {\n data() {\n return this.tableData;\n },\n rowKey() {\n return this.boardInfo.tableData.keyName;\n },\n tableColumns() {\n return initTableColumns(this.boardInfo.columns);\n },\n },\n methods: {\n // 处理表格选中数据\n handleSelectChange(value, { selectedRowData }) {\n this.selectedRowKeys = value;\n\n this.$emit(\"return-selected-key\", this.selectedRowKeys);\n },\n // 处理表格普通数据\n returnValue(column, row) {\n if (column.value != \"\") {\n return Mustache.render(column.value, { item: row });\n } else if (column.value == \"\") {\n return row[column.keyName];\n }\n },\n // 处理表格枚举数据类型\n returnEnumsValue(column, row) {\n const enums = column.enums;\n if (enums != null) {\n let targetArr = enums.filter((element) => {\n if (row[column.keyName] == null) {\n row[column.keyName] = \"\";\n }\n\n if (element.value == String(row[column.keyName])) {\n return element.text;\n }\n });\n if (targetArr.length) {\n return targetArr.shift().text;\n } else {\n return row[column.keyName];\n }\n }\n },\n // 处理表格日期数据类型\n returnDateValue(column, row) {\n // return dayjs(target).format(column.format);\n if (column.value != \"\") {\n return Mustache.render(column.value, { item: row });\n } else if (column.value == \"\") {\n return dayjs(row[column.keyName]).format(\"YYYY-MM-DD HH:mm:ss\");\n }\n },\n // 过滤处理表格操作按钮\n handleFilterColumnBtns(columnBtns, row) {\n window.v = vFun;\n\n return columnBtns.filter((element) => {\n if (element.showIf != \"1\") {\n let result, evalResult;\n try {\n result = Mustache.render(element.showIf, { item: row });\n evalResult = evalContext(result, { item: row });\n } catch (e) {\n console.warn(e);\n }\n return evalResult;\n } else {\n return element;\n }\n });\n },\n // 处理表格操作按钮动作\n handleTableButtonClick(button, row) {\n this.$emit(\"table-button-action\", button, row);\n },\n // 处理表格表单提交\n handleTableFormChange(item, model) {\n this.$emit(\"table-form-confirm\", item, model);\n },\n },\n watch: {\n tableData: {\n handler() {\n this.isReload = true;\n\n this.$nextTick(() => {\n this.isReload = false;\n });\n },\n deep: true,\n immediate: true,\n },\n paginationProps: {\n handler(value) {\n let tempPagination = {};\n Object.assign(tempPagination, value);\n\n this.tablePagination.current = tempPagination.page + 1;\n this.tablePagination.pageSize = tempPagination.count;\n this.tablePagination.total = tempPagination.totalCount;\n\n /* eslint-disable */\n let that = this;\n this.tablePagination.onChange = function (pageInfo) {\n that.$emit(\"return-pagination-props\", pageInfo);\n };\n },\n immediate: true,\n deep: true,\n },\n },\n mounted() {\n if (this.headerFilters) {\n this.headerFilters.forEach((filter) => {\n this.filterForm[filter.keyName] = \"\";\n });\n }\n },\n};\n</script>\n\n<style lang=\"scss\">\n@import \"./style.scss\";\n</style>\n","<template>\n <div class=\"table-form-items\">\n <template v-for=\"item in formItems\">\n <!-- 标签展示 -->\n <GFormLabel v-if=\"item.itemType === 'label'\" :modelValue=\"getProperty(formModel, col.colKey)\" />\n\n <!-- 文字输入 -->\n <GFormInput\n v-if=\"item.itemType == 'text_input'\"\n :inputType=\"item.inputType.toLowerCase()\"\n :originValue=\"getProperty(row, col.colKey)\"\n :modelValue=\"getProperty(formModel, col.colKey)\"\n @update:modelValue=\"handleAfterUpdateValue(col.colKey, $event)\"\n @blur:modelValue=\"handleAfterValueBlur(item, $event)\"\n />\n\n <!-- 多选框 -->\n <GFormCheckBox\n v-if=\"item.itemType === 'check_box'\"\n :originValue=\"getProperty(row, col.colKey)\"\n :modelValue=\"getProperty(formModel, col.colKey)\"\n @update:modelValue=\"handleAfterUpdateValue(col.colKey, $event)\"\n @blur:modelValue=\"handleAfterValueBlur(item, $event)\"\n />\n\n <!-- 开关 -->\n <GFormSwitch\n v-if=\"item.itemType === 'switch'\"\n :originValue=\"getProperty(row, col.colKey)\"\n :modelValue=\"getProperty(formModel, col.colKey)\"\n @update:modelValue=\"handleAfterUpdateValue(col.colKey, $event)\"\n @blur:modelValue=\"handleAfterValueBlur(item, $event)\"\n />\n\n <!-- 单选框 -->\n <GFormRadio\n v-if=\"item.itemType === 'radio'\"\n :originValue=\"getProperty(row, col.colKey)\"\n :modelValue=\"getProperty(formModel, col.colKey)\"\n :target=\"item\"\n :targetViewName=\"viewName\"\n @update:modelValue=\"handleAfterUpdateValue(col.colKey, $event)\"\n @blur:modelValue=\"handleAfterValueBlur(item, $event)\"\n />\n\n <!-- 选择器 -->\n <GFormSelect\n v-if=\"item.itemType === 'selector' || item.itemType === 'multi_selector'\"\n :originValue=\"getProperty(row, col.colKey)\"\n :modelValue=\"getProperty(formModel, col.colKey)\"\n :target=\"item\"\n :targetViewName=\"viewName\"\n :multiple=\"item.itemType === 'multi_selector'\"\n @update:modelValue=\"handleAfterUpdateValue(col.colKey, $event)\"\n @blur:modelValue=\"handleAfterValueBlur(item, $event)\"\n />\n\n <!-- 日期时间选择器 -->\n <GFormSelectDateTime\n v-if=\"\n item.itemType === 'date_selector' ||\n item.itemType === 'time_selector' ||\n item.itemType === 'date_time_selector'\n \"\n :originValue=\"getProperty(row, col.colKey)\"\n :modelValue=\"getProperty(formModel, col.colKey)\"\n :target=\"item\"\n :targetViewName=\"viewName\"\n @update:modelValue=\"handleAfterUpdateValue(col.colKey, $event)\"\n @blur:modelValue=\"handleAfterValueBlur(item, $event)\"\n />\n\n <!-- 多级选择框 -->\n <GFormTreeCheckBox\n v-if=\"item.itemType === 'tree_check_box'\"\n :originValue=\"getProperty(row, col.colKey)\"\n :modelValue=\"getProperty(formModel, col.colKey)\"\n :target=\"item\"\n :targetViewName=\"viewName\"\n @update:modelValue=\"handleAfterUpdateValue(col.colKey, $event)\"\n @blur:modelValue=\"handleAfterValueBlur(item, $event)\"\n />\n\n <!-- 级联选择器 -->\n <GFormCascader\n v-if=\"item.itemType === 'multi_tree_selector' || item.itemType === 'tree_selector'\"\n :originValue=\"getProperty(row, col.colKey)\"\n :modelValue=\"getProperty(formModel, col.colKey)\"\n :target=\"item\"\n :targetViewName=\"viewName\"\n :multiple=\"item.itemType === 'multi_tree_selector'\"\n @update:modelValue=\"handleAfterUpdateValue(col.colKey, $event)\"\n @blur:modelValue=\"handleAfterValueBlur(item, $event)\"\n />\n\n <!-- 文件上传 -->\n <GFormUpload\n v-if=\"item.itemType === 'file'\"\n :modelValue=\"getProperty(formModel, col.colKey)\"\n :target=\"item\"\n :targetViewName=\"viewName\"\n :tips=\"item.placeholder || '请选择上传文件'\"\n @update:modelValue=\"handleAfterUpdateValue(col.colKey, $event)\"\n @blur:modelValue=\"handleAfterValueBlur(item, $event)\"\n />\n </template>\n </div>\n</template>\n\n<script>\nimport GFormLabel from \"../../GForm/components/GFormLabel.vue\";\nimport GFormInput from \"../../GForm/components/GFormInput.vue\";\nimport GFormCheckBox from \"../../GForm/components/GFormCheckBox.vue\";\nimport GFormSwitch from \"../../GForm/components/GFormSwitch.vue\";\nimport GFormRadio from \"../../GForm/components/GFormRadio.vue\";\nimport GFormSelect from \"../../GForm/components/GFormSelect.vue\";\nimport GFormSelectDateTime from \"../../GForm/components/GFormSelectDateTime.vue\";\nimport GFormTreeCheckBox from \"../../GForm/components/GFormTreeCheckBox.vue\";\nimport GFormCascader from \"../../GForm/components/GFormCascader.vue\";\nimport GFormUpload from \"../../GForm/components/GFormUpload.vue\";\n\nimport { getProperty, setProperty } from \"../../../utils\";\n\nexport default {\n components: {\n GFormInput,\n GFormLabel,\n GFormCheckBox,\n GFormSwitch,\n GFormRadio,\n GFormSelect,\n GFormSelectDateTime,\n GFormTreeCheckBox,\n GFormCascader,\n GFormUpload,\n },\n props: {\n col: Object,\n row: Object,\n viewName: String,\n },\n data() {\n return {\n formModel: {\n ...this.row,\n },\n };\n },\n computed: {\n formItems() {\n return this.col?.formItems;\n },\n },\n methods: {\n getProperty,\n handleAfterUpdateValue(keyName, value) {\n setProperty(this.formModel, keyName, value);\n\n this.$forceUpdate();\n },\n handleAfterValueBlur(item, value) {\n this.$emit(\"blur\", item, this.formModel);\n },\n },\n watch: {\n row: {\n handler(newValue) {\n Object.assign(this.formModel, this.row);\n },\n immediate: true,\n deep: true,\n },\n },\n};\n</script>\n\n<style lang=\"scss\" scoped>\n.table-form-items {\n width: 250px;\n}\n</style>\n","<template>\n <div :class=\"`${PREFIX}-common-form`\">\n <t-form :class=\"`${PREFIX}-form`\" v-bind=\"commonFormProps\">\n <div :class=\"`${PREFIX}-form__body`\">\n <slot name=\"body\"> </slot>\n </div>\n </t-form>\n\n <div :class=\"`${PREFIX}-form__footer`\">\n <slot name=\"footer\"> </slot>\n </div>\n </div>\n</template>\n\n<script>\nimport { PREFIX } from \"../../../config\";\n\nexport default {\n name: \"GCommonForm\",\n props: {\n commonFormProps: {\n required: true,\n },\n },\n data() {\n return {\n PREFIX,\n };\n },\n};\n</script>\n\n<style lang=\"scss\">\n@import \"./style.scss\";\n</style>\n","<template>\n <div :id=\"blockId\" :ref=\"name\">\n <slot />\n </div>\n</template>\n\n<script>\nexport default {\n props: {\n name: String,\n blockType: String,\n showIf: {\n required: true,\n },\n },\n data() {\n return {\n blockId: \"\",\n };\n },\n methods: {\n updateId() {\n if (this.blockType == \"block_start\" && !this.showIf) {\n this.blockId = `block_start_${this.name}`;\n } else if (this.blockType == \"block_start\" && this.showIf) {\n this.blockId = `block_${this.name}`;\n } else if (this.blockType == \"block_end\") {\n this.blockId = `block_end_${this.name}`;\n }\n },\n handleBlockShowFlag() {\n if (this.blockType == \"block_start\" && !this.showIf) {\n let start = this.$refs[`${this.name}`];\n\n for (let el = start; el; el = el.nextElementSibling) {\n el.__vue__.blockShowFlag = false;\n\n if (el.matches(`#block_end_${this.name}`)) {\n break;\n }\n }\n } else if (this.blockType == \"block_start\" && this.showIf) {\n let start = this.$refs[`${this.name}`];\n\n for (let el = start; el; el = el.nextElementSibling) {\n el.__vue__.blockShowFlag = true;\n\n if (el.matches(`#block_end_${this.name}`)) {\n break;\n }\n }\n }\n },\n },\n mounted() {\n this.updateId();\n this.handleBlockShowFlag();\n },\n watch: {\n showIf: {\n handler() {\n this.updateId();\n this.handleBlockShowFlag();\n },\n immediate: true,\n deep: true,\n },\n },\n};\n</script>\n","<template>\n <div :class=\"`${PREFIX}-form-item`\" :id=\"item.keyName ? item.keyName : item.name\">\n <t-divider\n v-if=\"item.itemType === 'line' && item.name && handleItemShowIf(item.showIf, item) && blockShowFlag\"\n align=\"left\"\n >\n {{ item.name }}\n </t-divider>\n <t-form-item\n v-else-if=\"handleItemShowIf(item.showIf, item) && blockShowFlag\"\n :requiredMark=\"item.required && !handleItemDisableIf(item.disableIf, item)\"\n :label=\"item.name\"\n :name=\"item.inputType != 'RE_PASSWORD' ? item.keyName : 'rePassword'\"\n >\n <!-- 标签展示 -->\n <GFormLabel v-if=\"item.itemType === 'label'\" :modelValue=\"getProperty(formModel, item.keyName)\" />\n <!-- 文字输入 -->\n <GFormInput\n v-if=\"item.itemType === 'text_input' && item.inputType != 'RE_PASSWORD'\"\n :inputType=\"item.inputType.toLowerCase()\"\n :modelValue=\"getProperty(formModel, item.keyName)\"\n :placeholder=\"item.placeholder\"\n :disabled=\"handleItemDisableIf(item.disableIf)\"\n @update:modelValue=\"handleAfterUpdateValue(item.keyName, $event)\"\n @before-destroy=\"handleBeforeDestroyFormItem(item)\"\n />\n\n <!-- 确认密码输入 -->\n <GFormInput\n v-if=\"item.itemType === 'text_input' && item.inputType == 'RE_PASSWORD'\"\n :inputType=\"item.inputType.toLowerCase()\"\n :modelValue=\"getProperty(formModel, 'rePassword')\"\n :placeholder=\"item.placeholder\"\n :disabled=\"handleItemDisableIf(item.disableIf)\"\n @update:modelValue=\"handleAfterUpdateValue('rePassword', $event)\"\n @before-destroy=\"handleBeforeDestroyFormItem(item)\"\n />\n\n <!-- 多选框 -->\n <GFormCheckBox\n v-if=\"item.itemType === 'check_box'\"\n :modelValue=\"getProperty(formModel, item.keyName, false)\"\n :disabled=\"handleItemDisableIf(item.disableIf)\"\n @update:modelValue=\"handleAfterUpdateValue(item.keyName, $event)\"\n @before-destroy=\"handleBeforeDestroyFormItem(item)\"\n />\n <!-- 开关 -->\n <GFormSwitch\n v-if=\"item.itemType === 'switch'\"\n :target=\"item\"\n :modelValue=\"getProperty(formModel, item.keyName, false)\"\n :disabled=\"handleItemDisableIf(item.disableIf)\"\n @update:modelValue=\"handleAfterUpdateValue(item.keyName, $event)\"\n @before-destroy=\"handleBeforeDestroyFormItem(item)\"\n />\n <!-- 单选框 -->\n <GFormRadio\n v-if=\"item.itemType === 'radio'\"\n :modelValue=\"getProperty(formModel, item.keyName)\"\n :target=\"item\"\n :targetViewName=\"viewName\"\n :disabled=\"handleItemDisableIf(item.disableIf)\"\n @update:modelValue=\"handleAfterUpdateValue(item.keyName, $event)\"\n @before-destroy=\"handleBeforeDestroyFormItem(item)\"\n />\n\n <!-- 选择器 -->\n <GFormSelect\n v-if=\"item.itemType === 'selector' || item.itemType === 'multi_selector'\"\n :key=\"item.listData.dataId\"\n :modelValue=\"getProperty(formModel, item.keyName)\"\n :target=\"item\"\n :targetViewName=\"viewName\"\n :multiple=\"item.itemType === 'multi_selector'\"\n :disabled=\"handleItemDisableIf(item.disableIf)\"\n @update:modelValue=\"handleAfterUpdateValue(item.keyName, $event)\"\n @before-destroy=\"handleBeforeDestroyFormItem(item)\"\n />\n\n <!-- 日期时间选择器 -->\n <GFormSelectDateTime\n v-if=\"\n item.itemType === 'date_selector' ||\n item.itemType === 'time_selector' ||\n item.itemType === 'date_time_selector'\n \"\n :modelValue=\"getProperty(formModel, item.keyName)\"\n :target=\"item\"\n :targetViewName=\"viewName\"\n :disabled=\"handleItemDisableIf(item.disableIf)\"\n @update:modelValue=\"handleAfterUpdateValue(item.keyName, $event)\"\n @before-destroy=\"handleBeforeDestroyFormItem(item)\"\n />\n\n <!-- 多级选择框 -->\n <GFormTreeCheckBox\n v-if=\"item.itemType === 'tree_check_box'\"\n :modelValue=\"getProperty(formModel, item.keyName)\"\n :target=\"item\"\n :targetViewName=\"viewName\"\n :disabled=\"handleItemDisableIf(item.disableIf)\"\n @update:modelValue=\"handleAfterUpdateValue(item.keyName, $event)\"\n @before-destroy=\"handleBeforeDestroyFormItem(item)\"\n />\n\n <!-- 级联选择器 -->\n <GFormCascader\n v-if=\"item.itemType === 'multi_tree_selector' || item.itemType === 'tree_selector'\"\n :modelValue=\"getProperty(formModel, item.keyName)\"\n :target=\"item\"\n :targetViewName=\"viewName\"\n :multiple=\"item.itemType === 'multi_tree_selector'\"\n :disabled=\"handleItemDisableIf(item.disableIf)\"\n @update:modelValue=\"handleAfterUpdateValue(item.keyName, $event)\"\n @before-destroy=\"handleBeforeDestroyFormItem(item)\"\n />\n\n <!-- 文件上传 -->\n <GFormUpload\n v-if=\"item.itemType === 'file'\"\n :modelValue=\"getProperty(formModel, item.keyName)\"\n :target=\"item\"\n :target-view-name=\"viewName\"\n :tips=\"item.placeholder || '请选择上传文件'\"\n :disabled=\"handleItemDisableIf(item.disableIf)\"\n :fileName=\"\n getProperty(formModel, item.filenameKeyName) ||\n getProperty(formModel, item.keyName).split('/').slice(-1)[0]\n \"\n @update:fileName=\"handleAfterUpload(item.filenameKeyName, $event)\"\n @update:modelValue=\"handleAfterUpdateValue(item.keyName, $event)\"\n @before-destroy=\"handleBeforeDestroyFormItem(item)\"\n />\n\n <!-- 富文本编辑器 -->\n <GFormEditor\n v-if=\"item.itemType === 'rich_text'\"\n :modelValue=\"getProperty(formModel, item.keyName)\"\n :disabled=\"handleItemDisableIf(item.disableIf)\"\n @before-destroy=\"handleBeforeDestroyFormItem(item)\"\n />\n </t-form-item>\n </div>\n</template>\n\n<script>\nimport GFormLabel from \"./GFormLabel.vue\";\nimport GFormInput from \"./GFormInput.vue\";\nimport GFormCheckBox from \"./GFormCheckBox.vue\";\nimport GFormSwitch from \"./GFormSwitch.vue\";\nimport GFormRadio from \"./GFormRadio.vue\";\nimport GFormSelect from \"./GFormSelect.vue\";\nimport GFormSelectDateTime from \"./GFormSelectDateTime.vue\";\nimport GFormTreeCheckBox from \"./GFormTreeCheckBox.vue\";\nimport GFormCascader from \"./GFormCascader.vue\";\nimport GFormUpload from \"./GFormUpload.vue\";\nimport GFormEditor from \"./GFormEditor.vue\";\n\nimport { PREFIX } from \"../../../config\";\nimport { evalContext, getProperty, setProperty } from \"../../../utils\";\nimport Mustache from \"mustache\";\n\nexport default {\n components: {\n GFormLabel,\n GFormInput,\n GFormCheckBox,\n GFormSwitch,\n GFormRadio,\n GFormSelect,\n GFormSelectDateTime,\n GFormTreeCheckBox,\n GFormCascader,\n GFormUpload,\n GFormEditor,\n },\n props: {\n viewName: {\n required: true,\n },\n formModel: {\n required: true,\n },\n item: {\n type: Object,\n required: true,\n },\n formWhiteList: {\n type: Array,\n },\n },\n\n data() {\n return {\n PREFIX,\n disableFlag: false,\n blockShowFlag: true,\n };\n },\n methods: {\n getProperty,\n handleAfterUpdateValue(keyName, value) {\n this.$emit(\"after-update-value\", keyName, value);\n },\n handleAfterUpload(keyName, value) {\n this.$emit(\"after-upload\", keyName, value);\n },\n initEmptyFormItems(itemType) {\n switch (itemType) {\n // 开关和勾选框的初始值 false\n case \"check_box\":\n case \"switch\": {\n return false;\n }\n\n case \"multi_selector\":\n case \"tree_check_box\":\n case \"multi_tree_selector\": {\n return [];\n }\n\n default: {\n return null;\n }\n }\n },\n handleBeforeDestroyFormItem(item) {\n this.$emit(\"before-destroy\", item);\n },\n handleItemShowIf(showIf, item = {}) {\n if (typeof showIf != \"undefined\" && showIf != 1) {\n let result, evalResult;\n try {\n result = Mustache.render(showIf, { form: this.formModel });\n evalResult = evalContext(result, { form: this.formModel });\n // console.log(\"showIf\", showIf, \"mustacheResult\", result, \"evalResult\", evalResult);\n // console.log(showIf, result, evalResult);\n } catch (e) {\n console.warn(showIf, e);\n }\n\n return evalResult;\n } else {\n return true;\n }\n },\n handleItemDisableIf(disableIf, item = {}) {\n if (disableIf != 0) {\n let result, evalResult;\n try {\n result = Mustache.render(disableIf, { form: this.formModel });\n evalResult = evalContext(result, { form: this.formModel });\n // console.log(\"disableIf\", disableIf, \"mustacheResult\", result, \"evalResult\", evalResult);\n // console.log(disableIf, result, evalResult);\n } catch (e) {\n console.warn(disableIf, e);\n }\n\n // 设置为禁用后清空表单填写过的数据,以防提交非空数据\n if (evalResult !== \"\") {\n if (evalResult && (item?.keyName ?? \"\" != \"\")) {\n setProperty(this.formModel, item.keyName, this.initEmptyFormItems(item.itemType));\n }\n }\n\n this.disableFlag = evalResult;\n return evalResult;\n } else {\n return false;\n }\n },\n },\n};\n</script>\n","<template>\n <div class=\"g-form-editor\">\n <quillEditor v-model=\"value\" @change=\"handleEditorChange($event)\" />\n </div>\n</template>\n\n<script>\nimport { quillEditor } from \"vue-quill-editor\";\nimport \"quill/dist/quill.core.css\";\nimport \"quill/dist/quill.snow.css\";\n\nexport default {\n components: {\n quillEditor,\n },\n props: {\n modelValue: {\n required: true,\n },\n },\n data() {\n return {\n value: this.modelValue,\n };\n },\n watch: {\n modelValue() {\n this.value = this.modelValue;\n },\n },\n methods: {\n handleEditorChange(content) {\n this.$emit(\"update:modelValue\", content.html);\n },\n },\n beforeDestroy() {\n this.$emit(\"before-destroy\");\n },\n};\n</script>\n\n<style lang=\"scss\" scoped></style>\n","<template>\n <GCommonForm\n :commonFormProps=\"{\n data: formModel,\n rules: formRules,\n labelAlign: 'right',\n labelWidth: '150px',\n ref: 'form',\n }\"\n ref=\"commonForm\"\n >\n <template #body>\n <template v-for=\"item in formItems\">\n <GFormBlock\n v-if=\"item.itemType == 'block_start' || item.itemType === 'block_end'\"\n :name=\"item.name\"\n :blockType=\"item.itemType\"\n :showIf=\"handleItemShowIf(item.showIf)\"\n :ref=\"item.itemType == 'block_start' ? `block_${item.name}_Ref` : 'block_end'\"\n />\n <GFormItem\n v-else\n :id=\"item.keyName ? item.keyName : item.name\"\n :viewName=\"viewName\"\n :formModel=\"formModel\"\n :item=\"item\"\n :formWhiteList=\"formWhiteList\"\n @after-update-value=\"handleAfterUpdateValue\"\n @after-upload=\"handleAfterUpload\"\n @before-destroy=\"handleBeforeDestroyFormItem\"\n />\n </template>\n </template>\n <template #footer>\n <t-button theme=\"default\" v-if=\"formCancelButton.name !== ''\" @click=\"handleButtonClick(formCancelButton)\">\n {{ formCancelButton.name }}\n </t-button>\n <t-button theme=\"primary\" v-if=\"formOkButton.name !== ''\" @click=\"handleButtonClick(formOkButton)\">\n {{ formOkButton.name }}\n </t-button>\n </template>\n </GCommonForm>\n</template>\n\n<script>\nimport GCommonForm from \"../common/GCommonForm/index.vue\";\nimport GFormBlock from \"./components/GFormBlock.vue\";\nimport GFormItem from \"./components/GFormItem.vue\";\n\nimport { PREFIX } from \"../../config\";\nimport { evalContext, vFun, getProperty, setProperty, deepClone, isVoid } from \"../../utils\";\nimport Mustache from \"mustache\";\nimport { MessagePlugin } from \"tdesign-vue\";\n\nwindow.v = vFun;\nexport default {\n name: \"GForm\",\n components: {\n GCommonForm,\n GFormBlock,\n GFormItem,\n },\n props: {\n viewName: String,\n boardInfo: Object,\n formData: Object,\n },\n data() {\n return {\n PREFIX,\n formModel: {},\n formRules: {},\n formWhiteList: [\"userInfoNameEn\", \"cardNum\", \"attend\", \"userInfoRoleKey\"],\n };\n },\n computed: {\n formItems() {\n return this.boardInfo.formItems;\n },\n formOkButton() {\n return this.boardInfo.okButton;\n },\n formCancelButton() {\n return this.boardInfo.cancelButton;\n },\n },\n methods: {\n getProperty,\n initEmptyFormItems(itemType) {\n switch (itemType) {\n // 开关和勾选框的初始值 false\n case \"check_box\":\n case \"switch\": {\n return false;\n }\n\n case \"multi_selector\":\n case \"tree_check_box\":\n case \"multi_tree_selector\": {\n return [];\n }\n\n default: {\n return null;\n }\n }\n },\n initFormRules() {\n let currentFormItems = [];\n this.$refs.commonForm.$children.forEach((item) => {\n item.$children.forEach((item) => {\n if (\n (item.$el.id ?? \"\") != \"\" &&\n !item.$el.classList.contains(\"block-item-hidden\") &&\n item.item &&\n !item.disableFlag\n ) {\n currentFormItems.push(item.item);\n }\n });\n });\n\n let tempRules = {};\n if (currentFormItems.length) {\n // 处理表单项的必填规则\n currentFormItems.forEach((item) => {\n let itemTempRules = [];\n if (item.required && (item.keyName ?? \"\") != \"\") {\n itemTempRules.push({\n validator: () => {\n if (isVoid(getProperty(this.formModel, item.keyName))) {\n return { result: true };\n } else {\n const itemName = item.name.replace(/\\s/g, \"\").replace(/[::;\\s]/g, \"\");\n return {\n result: false,\n message: `${itemName}为必填项!`,\n };\n }\n },\n trigger: \"blur\",\n });\n }\n\n if (item.keyName == \"rePassword\") {\n itemTempRules.push({\n validator: () => {\n return {\n result:\n getProperty(this.formModel, \"password\") ==\n getProperty(this.formModel, \"rePassword\"),\n message: `两次输入密码不一致!`,\n };\n },\n trigger: \"blur\",\n });\n }\n\n if (item.keyName == \"startTime\" || item.keyName == \"endTime\") {\n itemTempRules.push({\n validator: () => {\n return {\n result:\n getProperty(this.formModel, \"endTime\") -\n getProperty(this.formModel, \"startTime\") >\n 0,\n\n message: `结束时间不能早于开始时间!`,\n };\n },\n });\n }\n\n if (itemTempRules.length) {\n tempRules[item.keyName] = itemTempRules;\n }\n });\n }\n\n this.formRules = { ...tempRules };\n },\n\n handleAfterUpdateValue(keyName, value) {\n setProperty(this.formModel, keyName, value);\n this.$forceUpdate();\n this.$nextTick(() => {\n this.initFormRules();\n this.$refs.commonForm.$refs.form.validate({ fields: [keyName] });\n });\n },\n handleAfterUpload(keyName, value) {\n if ((keyName ?? \"\") != \"\") {\n setProperty(this.formModel, keyName, value);\n }\n this.$forceUpdate();\n },\n handleBeforeDestroyFormItem(item) {\n setProperty(this.formModel, item.keyName, this.initEmptyFormItems(item.itemType));\n },\n handleItemShowIf(showIf, item = {}) {\n if (typeof showIf != \"undefined\" && showIf != 1) {\n let result, evalResult;\n try {\n result = Mustache.render(showIf, { form: this.formModel });\n evalResult = evalContext(result, { form: this.formModel });\n // console.log(\"showIf\", showIf, \"mustacheResult\", result, \"evalResult\", evalResult);\n // console.log(showIf, result, evalResult);\n } catch (e) {\n console.warn(showIf, e);\n }\n\n return evalResult;\n } else {\n return true;\n }\n },\n handleItemDisableIf(disableIf, item = {}) {\n if (disableIf != 0) {\n let result, evalResult;\n try {\n result = Mustache.render(disableIf, { form: this.formModel });\n evalResult = evalContext(result, { form: this.formModel });\n // console.log(\"disableIf\", disableIf, \"mustacheResult\", result, \"evalResult\", evalResult);\n // console.log(disableIf, result, evalResult);\n } catch (e) {\n console.warn(disableIf, e);\n }\n\n // 设置为禁用后清空表单填写过的数据,以防提交非空数据\n if (evalResult !== \"\") {\n if (evalResult && (item?.keyName ?? \"\" != \"\")) {\n setProperty(this.formModel, item.keyName, this.initEmptyFormItems(item.itemType));\n }\n }\n\n return evalResult;\n } else {\n return false;\n }\n },\n handleButtonClick(button) {\n switch (button.action) {\n case \"CONFIRM\": {\n this.$refs.commonForm.$refs.form.validate().then((result) => {\n if (!Object.keys(result).length) {\n this.$emit(\"confirm-form\", this.formModel, button.buttonId);\n } else {\n const firstError = Object.values(result)[0]?.[0]?.message;\n MessagePlugin.warning(`${firstError}`);\n }\n });\n break;\n }\n case \"CONFIRM_AND_CLOSE\": {\n this.$refs.commonForm.$refs.form.validate().then((result) => {\n if (!Object.keys(result).length) {\n this.$emit(\"confirm-and-close\", this.formModel, button.buttonId);\n } else {\n const firstError = Object.values(result)[0]?.[0]?.message;\n MessagePlugin.warning(`${firstError}`);\n }\n });\n break;\n }\n case \"CLOSE_DIALOG\": {\n this.$emit(\"close-dialog\");\n break;\n }\n default: {\n console.log(button);\n break;\n }\n }\n },\n },\n watch: {\n formData: {\n handler() {\n if (Object.keys(this.formData).length) {\n this.formItems.forEach((formItem) => {\n if (formItem.keyName && !isVoid(getProperty(this.formData, formItem.keyName))) {\n if (formItem.itemType == \"check_box\" || formItem.itemType == \"switch\") {\n setProperty(this.formData, formItem.keyName, false);\n }\n }\n });\n\n this.formModel = deepClone(this.formData, {});\n // this.$forceUpdate();\n } else {\n let tempModel = {};\n this.formItems.forEach((formItem) => {\n // 设置表单项目的初始值\n if ((formItem.keyName ?? \"\") != \"\") {\n setProperty(tempModel, formItem.keyName, this.initEmptyFormItems(formItem.itemType));\n }\n });\n\n this.formModel = deepClone(tempModel, {});\n // this.$forceUpdate();\n }\n },\n deep: true,\n immediate: true,\n },\n },\n mounted() {\n this.initFormRules();\n },\n};\n</script>\n\n<style lang=\"scss\">\n@import \"./style.scss\";\n</style>\n","<template>\n <t-tabs :class=\"`${PREFIX}-tab`\" placement=\"left\" :value=\"currentTabTitle\" @change=\"handleTabChange\">\n <t-tab-panel v-for=\"tab in tabs\" :key=\"tab.title\" :value=\"tab.title\" :label=\"tab.title\">\n <t-card :bordered=\"false\">\n <template slot=\"content\">\n <GTemplate\n v-if=\"tab.board\"\n :viewName=\"viewName\"\n :board=\"tab.board\"\n @close-dialog=\"handleCloseDialog\"\n />\n </template>\n </t-card>\n </t-tab-panel>\n </t-tabs>\n</template>\n\n<script>\nimport { PREFIX } from \"../../config\";\n\nexport default {\n components: {\n GTemplate: () => import(\"../GTemplate/index.vue\").then((d) => d.default),\n },\n name: \"GTab\",\n props: {\n viewName: String,\n boardInfo: Object,\n },\n computed: {\n tabs() {\n return this.boardInfo.tabs;\n },\n },\n data() {\n return {\n PREFIX,\n currentTabTitle: this.boardInfo.tabs[0].title,\n };\n },\n methods: {\n handleTabChange(newTabTitle) {\n this.currentTabTitle = newTabTitle;\n },\n handleCloseDialog() {\n window.history.go(-1);\n },\n },\n};\n</script>\n\n<style lang=\"scss\">\n@import \"./style.scss\";\n</style>\n","<template>\n <transition name=\"fade\">\n <t-dialog :class=\"`${PREFIX}-common-dialog`\" v-bind=\"commonDialogProps\">\n <template v-for=\"(index, name) in $scopedSlots\" #[name]=\"data\">\n <slot :name=\"name\" v-bind=\"{ ...data }\"></slot>\n </template>\n </t-dialog>\n </transition>\n</template>\n\n<script>\nimport { PREFIX } from \"../../../config\";\n\nexport default {\n name: \"GCommonDialog\",\n props: {\n commonDialogProps: {\n required: true,\n },\n },\n data() {\n return {\n PREFIX,\n };\n },\n};\n</script>\n\n<style lang=\"scss\">\n@import \"./style.scss\";\n</style>\n","<template>\n <GCommonDialog\n :commonDialogProps=\"{\n width: dialogWidth,\n header: dialogHeaderName,\n footer: false,\n visible: isVisible,\n onClose: handleDialogChange,\n }\"\n >\n <div slot=\"body\">\n <GTemplate\n v-if=\"viewBoard\"\n :viewName=\"dialogViewName\"\n :board=\"viewBoard\"\n :dialogProps=\"dialogProps\"\n @close-dialog=\"handleCloseDialog\"\n />\n </div>\n </GCommonDialog>\n</template>\n\n<script>\nimport GCommonDialog from \"../common/GCommonDialog/index.vue\";\nimport { PREFIX } from \"../../config\";\nimport { getOneView } from \"../../api/modules/view\";\nexport default {\n name: \"GDialog\",\n components: {\n GCommonDialog,\n GTemplate: () => import(\"../GTemplate/index.vue\").then((d) => d.default),\n },\n props: {\n dialogViewInfo: Object,\n dialogFormModel: Object,\n isVisible: {\n type: Boolean,\n default: false,\n },\n },\n data() {\n return {\n PREFIX,\n viewInfo: {},\n viewBoard: {},\n viewProps: [],\n };\n },\n computed: {\n dialogWidth() {\n switch (this.viewBoard?.boardType) {\n case \"table\":\n return \"1200px\";\n\n case \"tab\":\n return \"1200px\";\n\n default:\n return \"600px\";\n }\n },\n dialogHeaderName() {\n return this.dialogViewInfo.name;\n },\n dialogViewName() {\n return this.dialogViewInfo.view;\n },\n dialogProps() {\n return this.$store.getters[\"props/getPropsByPropsKey\"](this.viewProps);\n },\n viewName() {\n return this.dialogViewInfo.view;\n },\n },\n methods: {\n handleDialogChange() {\n this.$emit(\"update:isVisible\", false);\n },\n handleCloseDialog() {\n this.$emit(\"close-dialog\");\n },\n\n async getViewInfo(viewName, props) {\n props.viewName = viewName;\n\n const res = await getOneView(props);\n\n if (res.state === 200) {\n this.viewInfo = res.data;\n this.viewBoard = res.data.boards?.[0];\n this.viewProps = res.data?.props;\n }\n },\n },\n watch: {\n dialogViewInfo() {\n this.getViewInfo(this.dialogViewName, {});\n },\n },\n mounted() {\n this.getViewInfo(this.dialogViewName, {});\n },\n};\n</script>\n\n<style lang=\"scss\">\n@import \"./style.scss\";\n</style>\n","<template>\n <div :class=\"`${PREFIX}-template`\">\n <!-- 头部操作 -->\n <GHeader\n v-if=\"headerInfo\"\n :viewName=\"viewName\"\n :viewProps=\"viewProps\"\n :headerInfo=\"headerInfo\"\n @header-button-action=\"handleAction\"\n @header-filter-change=\"handleHeaderFilterChange\"\n />\n <!-- 表格视图 -->\n <GTable\n v-if=\"boardType == 'table'\"\n :viewName=\"viewName\"\n :viewProps=\"viewProps\"\n :boardInfo=\"board\"\n :tableData=\"tableData\"\n :paginationProps=\"tablePaginationProps\"\n @table-button-action=\"handleAction\"\n @table-form-confirm=\"handleTableFormConfirm\"\n @return-pagination-props=\"handleSetPaginationProps\"\n @return-selected-key=\"handleReturnSelectedKey\"\n />\n <!-- 表单视图 -->\n <GForm\n v-if=\"boardType == 'form'\"\n :viewName=\"viewName\"\n :viewProps=\"viewProps\"\n :boardInfo=\"board\"\n :formData=\"formData\"\n @confirm-form=\"handleConfirmForm\"\n @close-dialog=\"handleCloseDialogEvent\"\n @confirm-and-close=\"handleConfirmAndClose\"\n />\n <!-- Tab视图 -->\n <GTab v-if=\"boardType == 'tab'\" :viewName=\"viewName\" :viewProps=\"viewProps\" :boardInfo=\"board\" />\n\n <!-- 对话框 -->\n <GDialog\n v-if=\"isDialogVisible\"\n :isVisible.sync=\"isDialogVisible\"\n :dialog-view-info=\"dialogViewInfo\"\n :dialog-form-model=\"dialogFormModel\"\n @close-dialog=\"handleCloseDialog\"\n />\n </div>\n</template>\n\n<script>\nimport GHeader from \"../GHeader/index.vue\";\nimport GTable from \"../GTable/index.vue\";\nimport GForm from \"../GForm/index.vue\";\nimport GTab from \"../GTab/index.vue\";\nimport GDialog from \"../GDialog/index.vue\";\n\nimport { MessagePlugin, DialogPlugin } from \"tdesign-vue\";\n\nimport { getViewData, batchAction, confirm } from \"../../api/modules/view\";\nimport { PREFIX, LOCAL_DATA_ID } from \"../../config\";\n\nimport Mustache from \"mustache\";\nimport he from \"he\";\n\n// 初始化表格分页数据\nconst initTablePaginationProps = {\n count: 10,\n page: 0,\n totalCount: 0,\n pageCount: 0,\n};\n\nexport default {\n name: \"GTemplate\",\n components: {\n GHeader,\n GTable,\n GForm,\n GTab,\n GDialog,\n },\n props: {\n // 当前模板信息\n board: Object,\n // 当前模板视图名称\n viewName: String,\n // 当前视图所需参数\n viewProps: Array || Object,\n\n // 传入查询参数\n dialogProps: Object,\n },\n data() {\n return {\n PREFIX,\n // 路径查询参数\n queryProps: {},\n\n // 头部搜索框数据\n headerFilterProps: {},\n\n // 表格数据\n tableData: [],\n // 表单数据\n formData: {},\n\n // 表格选中数据\n tableSelectedData: [],\n\n // 表格视图分页数据\n tablePaginationProps: {\n count: 10,\n page: 0,\n totalCount: 0,\n pageCount: 0,\n },\n\n // 对话框相关\n isDialogVisible: false,\n dialogFormModel: {},\n dialogViewInfo: {},\n };\n },\n computed: {\n // 模板种类\n boardType() {\n return this.board.boardType;\n },\n // 头部信息\n headerInfo() {\n return this.board.header;\n },\n // 数据Id\n dataId() {\n if (this.board.data || this.board.tableData) {\n if (this.boardType === \"table\") {\n return this.board.tableData.dataId;\n } else {\n return this.board.data.dataId;\n }\n } else {\n return null;\n }\n },\n\n // 合并获取数据参数模型\n propsModel() {\n let tempModel = {};\n // 头部搜索过滤参数\n if (this.headerInfo && this.headerFilterProps) {\n Object.assign(tempModel, this.headerFilterProps);\n }\n\n // 对话框表单查询参数\n if (this.dialogProps) {\n Object.assign(tempModel, this.dialogProps);\n }\n\n // // 表格分页参数\n if (this.boardType === \"table\") {\n Object.assign(tempModel, this.tablePaginationProps);\n }\n\n // 地址查询参数\n Object.assign(tempModel, this.queryProps);\n return tempModel;\n },\n },\n watch: {\n \"this.$route.query\": {\n handler(newValue) {\n const { query } = this.$route;\n\n if (query.props != null) {\n this.queryProps = JSON.parse(query.props);\n }\n },\n deep: true,\n immediate: true,\n },\n board: {\n handler() {\n // 对话框传入视图数据时获取表单数据\n this.getTemplateData();\n },\n deep: true,\n },\n },\n methods: {\n // 处理按钮动作\n handleAction(button, row = {}) {\n switch (button.action) {\n // 打开对话框动作\n case \"VIEW_BY_DIALOG\": {\n this.isDialogVisible = true;\n this.dialogViewInfo = button;\n this.dialogFormModel = { ...row };\n this.$store.dispatch(\"props/initSource\", row);\n break;\n }\n // 打开新的视图\n case \"VIEW\": {\n let tempProps = {};\n button.props.forEach((item) => {\n tempProps[item.keyName] = row[item.keyName];\n });\n\n this.$router.push({\n path: `/view`,\n query: {\n viewName: button.view,\n props: JSON.stringify(tempProps),\n },\n });\n break;\n }\n // 确认框\n case \"CONFIRM\": {\n let message; // 确认信息\n if (button.confirmMessage != \"\") {\n message = Mustache.render(button.confirmMessage, { item: row });\n } else {\n message = `是否确定${button.name}`;\n }\n\n let tempProps = {};\n if (button.props) {\n button.props.forEach((item) => {\n if (row[item.keyName] ?? \"\" != \"\") {\n tempProps[item.keyName] = row[item.keyName];\n }\n });\n } else {\n tempProps = { ...row };\n }\n\n const dialogInstance = DialogPlugin.confirm({\n theme: \"info\",\n header: button.name,\n body: message,\n onConfirm: () => {\n this.handleConfirmForm(tempProps, button.buttonId);\n dialogInstance.destroy();\n },\n onCancel: () => {\n MessagePlugin.info(`已取消${button.name}`);\n },\n });\n\n break;\n }\n\n // 批量选择\n case \"BATCH\": {\n const dialogInstance = DialogPlugin.confirm({\n theme: \"info\",\n header: button.name,\n body: `此操作将${button.name},是否继续`,\n onConfirm: () => {\n if (this.tableSelectedData.length == 0) {\n MessagePlugin.error(\"请选择操作对象!\");\n } else {\n this.handleBatchAction(button, this.tableSelectedData);\n }\n\n dialogInstance.destroy();\n },\n onCancel: () => {\n MessagePlugin.info(`已取消${button.name}`);\n },\n });\n break;\n }\n\n // 打开链接动作\n case \"LINK\": {\n let tempProps = {};\n button.props.forEach((item) => {\n tempProps[item.keyName] = row[item.keyName];\n });\n\n const link = this.$router.resolve({\n path: button.link,\n query: Object.keys(tempProps).length ? { props: JSON.stringify(tempProps) } : \"\",\n });\n window.open(link.href, \"_blank\");\n break;\n }\n\n case \"DOWNLOAD\": {\n if ((button.downloadUrl ?? \"\") != \"\") {\n const url = he.decode(Mustache.render(button.downloadUrl, { item: row }));\n\n if ((url ?? \"\") != \"\") {\n const fileName = url.split(\"/\").slice(-1)[0];\n\n const downloadEl = document.createElement(\"a\");\n downloadEl.style.display = \"none\";\n downloadEl.setAttribute(\"target\", \"_blank\");\n fileName && downloadEl.setAttribute(\"download\", fileName);\n downloadEl.setAttribute(\"href\", url);\n downloadEl.click();\n }\n } else {\n MessagePlugin.info(\"未设置下载链接\");\n }\n break;\n }\n\n default: {\n // console.log(\"未设置按钮动作:\", button);\n break;\n }\n }\n },\n\n // 处理头部搜索框改变事件\n handleHeaderFilterChange(filterProps) {\n this.headerFilterProps = filterProps;\n this.tablePaginationProps = {\n count: 10,\n page: 0,\n totalCount: 0,\n pageCount: 0,\n };\n\n this.getTemplateData();\n },\n\n // 处理表格多选操作\n handleReturnSelectedKey(value) {\n this.tableSelectedData = value;\n },\n\n // 处理表格分页操作\n handleSetPaginationProps(propsModel) {\n Object.assign(this.tablePaginationProps, {\n page: propsModel.current - 1,\n count: propsModel.pageSize,\n });\n\n this.getTemplateData();\n },\n\n // 处理表格批量提交\n async handleBatchAction(item, list) {\n let batchProps = {};\n\n const { query } = this.$route;\n if (query.props != null) {\n batchProps = { ...JSON.parse(query.props) };\n }\n\n let res = await batchAction({\n viewName: this.viewName,\n buttonId: item.buttonId,\n props: batchProps,\n keys: list,\n });\n\n if (res.state == 200) {\n MessagePlugin.success(`${item.name} 操作成功!`);\n } else {\n MessagePlugin.error(`操作出错:${res.message}`);\n }\n },\n\n handleTableFormConfirm(formItem, formModel) {\n if (\n formItem.itemType == \"selector\" ||\n formItem.itemType == \"time_selector\" ||\n formItem.itemType == \"date_time_selector\" ||\n formItem.itemType == \"tree_check_box\" ||\n formItem.itemType === \"multi_tree_selector\" ||\n formItem.itemType === \"tree_selector\"\n ) {\n const dialogInstance = DialogPlugin.confirm({\n theme: \"info\",\n body: `此操作将提交该修改,是否继续?`,\n onConfirm: () => {\n this.handleConfirmForm(formModel, formItem.buttonId);\n\n dialogInstance.destroy();\n },\n onCancel: () => {\n MessagePlugin.info(`已取消修改。`);\n },\n });\n } else {\n this.handleConfirmForm(formModel, formItem.buttonId);\n }\n },\n\n // 处理表单提交\n async handleConfirmForm(formModel, buttonId) {\n let confirmProps = {};\n confirmProps = { ...this.propsModel };\n Object.assign(confirmProps, formModel);\n\n const res = await confirm({\n buttonId: buttonId,\n props: confirmProps,\n viewName: this.viewName,\n });\n\n if (res.state === 200) {\n MessagePlugin.success(\"提交成功\");\n } else {\n MessagePlugin.error(`提交失败:${res.message}`);\n }\n },\n // 处理对话框关闭\n handleCloseDialog() {\n this.isDialogVisible = false;\n },\n // 处理对话框关闭事件\n handleCloseDialogEvent() {\n this.$emit(\"close-dialog\");\n },\n // 处理对话框提交并关闭\n handleConfirmAndClose(model, buttonId) {\n this.handleConfirmForm(model, buttonId);\n this.$emit(\"close-dialog\");\n },\n\n // 获取当前视图模板数据\n async getTemplateData() {\n let res;\n if (this.dataId !== null) {\n localStorage.setItem(LOCAL_DATA_ID, this.dataId);\n\n res = await getViewData({\n viewName: this.viewName,\n dataId: this.dataId,\n props: this.propsModel,\n });\n\n this.$store.dispatch(\"socket/sendRegisterMessage\", this.dataId);\n\n if (res.state === 200 && res.data) {\n if (this.boardType == \"table\") {\n this.tablePaginationProps = {\n count: res.data.count,\n page: res.data.page,\n pageCount: res.data.pageCount,\n totalCount: res.data.totalCount,\n };\n this.tableData = res.data.data;\n }\n\n if (this.boardType === \"form\") {\n this.formData = res.data;\n }\n } else {\n // todo 重复请求数据报错\n console.warn(res);\n // MessagePlugin.error(`数据获取出错 ${res.message}`);\n }\n }\n },\n },\n mounted() {\n this.getTemplateData();\n\n window.addEventListener(\"onUpdateMessage\", (event) => {\n const updatedDataId = event?.detail.args.dataId;\n // const currentDataId = localStorage.getItem(LOCAL_DATA_ID);\n if (this.dataId === updatedDataId) {\n // console.log(updatedDataId, \"数据更新了,重新获取数据\");\n this.getTemplateData();\n }\n });\n },\n};\n</script>\n\n<style lang=\"scss\" scoped></style>\n","<template>\n <div :class=\"`${PREFIX}-template-view`\">\n <t-loading :loading=\"isLoading\" :delay=\"isLoadingDelay\">\n <transition name=\"fade\" mode=\"out-in\">\n <GTemplate\n v-for=\"board in viewBoards\"\n :board=\"board\"\n :viewName=\"viewName\"\n :viewProps=\"viewProps\"\n :key=\"Date.now()\"\n />\n </transition>\n </t-loading>\n </div>\n</template>\n\n<script>\nimport GTemplate from \"../GTemplate/index.vue\";\nimport { getOneView } from \"../../api/modules/view\";\nimport { MessagePlugin } from \"tdesign-vue\";\nimport { PREFIX } from \"../../config\";\n\nexport default {\n name: \"GTemplateView\",\n components: {\n GTemplate,\n },\n computed: {\n // view标题\n title() {\n return this.viewInfo?.title;\n },\n // view名称\n viewName() {\n return this.$route.query?.viewName;\n },\n // view版面信息\n viewBoards() {\n return this.viewInfo?.boards;\n },\n // view所需参数\n viewProps() {\n return this.viewInfo?.props;\n },\n // 路径查询参数\n queryProps() {\n const { query } = this.$route.query;\n if (query != null) {\n return JSON.parse(query.props);\n } else {\n return null;\n }\n },\n },\n data() {\n return {\n PREFIX,\n viewInfo: {},\n isLoading: false,\n isLoadingDelay: 500,\n };\n },\n methods: {\n async getViewInfo(viewName, props) {\n props.viewName = viewName;\n\n if (this.queryProps != null) {\n Object.assign(props, this.queryProps);\n }\n\n if ((viewName ?? \"\") != \"\") {\n this.isLoading = true;\n const res = await getOneView(props);\n if (res.state === 200 && res.data) {\n this.viewInfo = res.data;\n this.$emit(\"return-title\", this.title);\n this.appendNewTabMenuItem();\n this.isLoading = false;\n } else {\n this.isLoading = false;\n MessagePlugin.error(`${this.viewName} 目标视图数据为空`);\n }\n }\n },\n appendNewTabMenuItem() {\n const { fullPath, query } = this.$route;\n const path = decodeURIComponent(fullPath);\n\n this.$store.dispatch(\"setting/appendTabMenuItem\", {\n title: this.title,\n path,\n query,\n });\n },\n },\n watch: {\n // 当路由地址的视图名称参数改变时重新获取数据\n viewName() {\n this.getViewInfo(this.viewName, {});\n },\n\n \"this.$route.query\": {\n handler() {\n const { query } = this.$route;\n\n if (query.pros != null) {\n this.queryProps = JSON.parse(query.props);\n }\n },\n deep: true,\n immediate: true,\n },\n },\n mounted() {\n // 获取模板数据\n this.getViewInfo(this.viewName, {});\n },\n};\n</script>\n","<template>\n <GLayout :config=\"config\" :title=\"title\">\n <GTemplateView @return-title=\"handleReturnTitle\" v-if=\"isGlobalLoaded\" />\n </GLayout>\n</template>\n\n<script>\nimport GLayout from \"../GLayout/index.vue\";\nimport GTemplateView from \"../GTemplateView/index.vue\";\nimport { PREFIX } from \"../../config\";\n\nexport default {\n name: \"GView\",\n components: {\n GLayout,\n GTemplateView,\n },\n props: {\n config: Object,\n },\n data() {\n return {\n PREFIX,\n title: \"\",\n };\n },\n computed: {\n isGlobalLoaded() {\n return this.$store.state.setting.isGlobalLoaded;\n },\n },\n methods: {\n handleReturnTitle(title) {\n this.title = title;\n },\n handleReload() {\n this.$store.dispatch(\"setting/reloadGlobal\");\n },\n },\n mounted() {\n window.addEventListener(\"onSocketReload\", () => {\n this.handleReload();\n });\n },\n};\n</script>\n\n<style lang=\"scss\"></style>\n","import { INIT_WS_MODEL, WS_INTERVAL_TIMEOUT, WS_RESET_TIMEOUT, WS_SERVICE } from \"../config\";\nimport { MessagePlugin } from \"tdesign-vue\";\n\nexport interface SocketState {\n socket: WebSocket | null;\n isSocketLink?: boolean;\n isSocketFirst?: boolean;\n isSocketReset?: boolean;\n isUserLogin?: boolean;\n socketInterval?: null;\n socketTimeout?: null;\n}\n\nconst state = (): SocketState => ({\n socket: null,\n isSocketLink: false, // 正在连接\n isSocketFirst: false,\n isSocketReset: false, // 正在重连\n isUserLogin: false, // 用户是否登录\n socketInterval: null,\n socketTimeout: null,\n});\n\nconst getters = {};\n\nconst mutations = {};\n\nconst actions = {\n initSocket({ state, rootState, dispatch }) {\n state.isSocketLink = true;\n state.isSocketFirst = true;\n state.socket = new WebSocket(WS_SERVICE);\n\n state.socket.onopen = function (event) {\n // console.log(\"打开连接\", event);\n let model = INIT_WS_MODEL(\"heart\");\n state.socketInterval = setInterval(function () {\n state.socket.send(JSON.stringify(model));\n }, WS_INTERVAL_TIMEOUT);\n state.isSocketLink = false;\n };\n\n state.socket.onclose = function (event) {\n MessagePlugin.error(\"WebSocket 断开连接\");\n // console.log(\"断开链接\", event);\n\n state.socketInterval = null;\n state.isSocketReset = true;\n state.socket = null;\n\n MessagePlugin.error(\"WebSocket 重新连接...\");\n state.socketTimeout = setTimeout(function () {\n if (state.isSocketReset) {\n dispatch(\"initSocket\");\n\n if (!state.isSocketLink) {\n clearTimeout(state.socketTimeout);\n window.dispatchEvent(new CustomEvent(\"onSocketReload\"));\n }\n }\n }, WS_RESET_TIMEOUT);\n };\n state.socket.onerror = function (event) {\n // console.log(\"出现错误\", event);\n MessagePlugin.error(\"WebSocket 出现错误\");\n };\n state.socket.onmessage = function (event) {\n let data = JSON.parse(event.data);\n window.dispatchEvent(\n new CustomEvent(\"onUpdateMessage\", {\n detail: {\n ...data,\n },\n }),\n );\n if (state.isSocketFirst) {\n state.isSocketFirst = false;\n }\n };\n state.isUserLogin = !!rootState.user;\n state.isSocketLink = false;\n },\n sendRegisterMessage({ state }, dataId: string) {\n let model = INIT_WS_MODEL(\"register\", dataId);\n state.socket.send(JSON.stringify(model));\n state.isSocketReset = false;\n },\n sendUnregisterMessage({ state }, dataId: string) {\n let model = INIT_WS_MODEL(\"unregister\", dataId);\n state.socket.send(JSON.stringify(model));\n state.isSocketReset = false;\n },\n};\n\nexport default {\n namespaced: true,\n state,\n getters,\n mutations,\n actions,\n};\n","const state = {\n source: {},\n};\n\nconst getters = {\n getPropsByPropsKey: (state) => (propsKeys) => {\n const tempProps = {};\n if ((state.source ?? \"\") != \"\" && (propsKeys ?? \"\" != \"\")) {\n propsKeys.forEach((propsKey) => {\n tempProps[propsKey] = state.source[propsKey];\n });\n }\n\n return tempProps;\n },\n};\n\nconst mutations = {\n setSource(state, source) {\n if (Object.keys(source).length) {\n state.source = { ...source };\n }\n },\n};\n\nconst actions = {\n initSource({ commit }, source) {\n commit(\"setSource\", source);\n },\n};\n\nexport default {\n namespaced: true,\n state,\n getters,\n mutations,\n actions,\n};\n","import setting from \"./setting\";\nimport socket from \"./socket\";\nimport view from \"./view\";\nimport props from \"./props\";\n\nexport default { setting, socket, view, props };\n","import { TabMenuItem } from \"../types\";\nimport { generateMenuTree, getHomeUrl } from \"../utils\";\nimport {\n LOCAL_CONFIG,\n LOCAL_THEME_CONFIG,\n LOCAL_MENU_CONFIG,\n LOCAL_MENU,\n LOCAL_USER,\n LOCAL_TAB_MENU,\n LOCAL_INIT_TAB_MENU_LIST,\n TOKEN_EXPIRED_TIME,\n TOKEN_NAME,\n THEME_CONFIG,\n} from \"../config\";\nimport { MessagePlugin } from \"tdesign-vue\";\n\nexport interface UserConfig {\n userInfo: any;\n userMenu: any;\n userToken: {\n token: string;\n tokenExpiredTime: string;\n };\n\n // 首页地址\n homeUrl?: string;\n\n // 上传相关接口\n uploadApi: string;\n}\n\nexport type ThemeConfigType = typeof THEME_CONFIG;\n\nexport interface SettingState {\n isUserLogin: boolean;\n isGlobalLoaded: boolean;\n isSideBarCollapse: boolean;\n isSettingPanelShow: boolean;\n\n tabMenuList: TabMenuItem[];\n initTabMenuList: TabMenuItem[];\n\n themeConfig: ThemeConfigType;\n config: UserConfig;\n menuConfig: any;\n}\n\nconst state = () => ({\n // 登录标志\n isUserLogin: !!JSON.parse(sessionStorage.getItem(LOCAL_USER) as string) || false,\n // 加载标志\n isGlobalLoaded: true,\n\n // 基本配置\n isSideBarCollapse: false,\n isSettingPanelShow: false,\n\n // 主题配置\n themeConfig: JSON.parse(localStorage.getItem(LOCAL_THEME_CONFIG) as string) || {\n ...THEME_CONFIG,\n },\n\n // 菜单配置\n menuConfig: JSON.parse(localStorage.getItem(LOCAL_MENU_CONFIG) as string) || [],\n\n // 用户传入GView的信息与配置\n config: JSON.parse(localStorage.getItem(LOCAL_CONFIG) as string) || {\n userInfo: {\n realName: \"\",\n },\n userPermissions: [],\n userMenu: [],\n userToken: {\n token: \"\",\n tokenExpiredTime: \"\",\n },\n uploadApi: \"\",\n },\n\n // tab菜单相关\n initTabMenuList: JSON.parse(localStorage.getItem(LOCAL_INIT_TAB_MENU_LIST) as string) || [],\n tabMenuList: JSON.parse(sessionStorage.getItem(LOCAL_TAB_MENU) as string) || [],\n});\n\nconst getters = {\n userMenu: (state: SettingState) => state.menuConfig,\n homeUrl: (state: SettingState) => {\n // 获取用户首页,如果没有传入则使用第一个有地址的菜单项\n if (state.config?.homeUrl) {\n return state.config?.homeUrl;\n } else {\n return getHomeUrl(state.menuConfig);\n }\n },\n userRealName: (state: SettingState) => state.config.userInfo.realName,\n userEdificeKey: (state: SettingState) => state.config.userInfo.edificeKey,\n token: (state: SettingState) => state.config.userToken.token,\n tokenExpiredTime: (state: SettingState) => state.config.userToken.tokenExpiredTime,\n uploadApi: (state: SettingState) => state.config.uploadApi,\n\n displayMode: (state: SettingState) => {\n if (state.themeConfig.displayMode === \"auto\") {\n const media = window.matchMedia(\"(prefers-color-scheme:dark)\");\n if (media.matches) {\n return \"dark\";\n }\n return \"light\";\n }\n return state.themeConfig.displayMode;\n },\n};\n\nconst mutations = {\n /**\n * 设置用户登录状态\n */\n setUserLoginStatus(state: SettingState, status) {\n state.isUserLogin = status;\n },\n /**\n * 设置重新加载状态\n * @param state\n * @param status\n */\n setGlobalLoadingStatus(state: SettingState, status) {\n state.isGlobalLoaded = status;\n },\n /**\n * 设置侧边菜单展开状态\n * @param state\n * @param status\n */\n toggleSideBarCollapse(state: SettingState) {\n state.isSideBarCollapse = !state.isSideBarCollapse;\n },\n /**\n * 设置侧边设置面板显示状态\n * @param state\n */\n toggleSettingPanel(state: SettingState) {\n state.isSettingPanelShow = !state.isSettingPanelShow;\n },\n /**\n * 设置常用初始化 Tab 菜单内容\n */\n setInitTabMenuList(state: SettingState, initTabMenuList: []) {\n sessionStorage.setItem(LOCAL_INIT_TAB_MENU_LIST, JSON.stringify(initTabMenuList));\n state.initTabMenuList = initTabMenuList;\n },\n /**\n * 保存顶部tab菜单状态\n * @param state\n * @param tabMenuList\n */\n setTabMenuList(state: SettingState, tabMenuList: TabMenuItem[]) {\n sessionStorage.setItem(LOCAL_TAB_MENU, JSON.stringify(tabMenuList));\n state.tabMenuList = tabMenuList;\n },\n /**\n * 设置用户传入的配置\n * @param state\n * @param config\n */\n setSettingConfig(state: SettingState, config) {\n localStorage.setItem(LOCAL_CONFIG, JSON.stringify(config));\n Object.keys(config).forEach((configKey) => {\n state.config[configKey] = config[configKey];\n });\n },\n /**\n * 设置主题配置\n * @param state\n * @param config\n */\n setThemeSettingConfig(state: SettingState, config) {\n localStorage.setItem(LOCAL_THEME_CONFIG, JSON.stringify(config));\n Object.keys(config).forEach((configKey) => {\n state.themeConfig[configKey] = config[configKey];\n });\n },\n\n /**\n * 保存菜单方案\n * @param state\n * @param menuConfig\n */\n setMenuConfig(state: SettingState, menuConfig) {\n localStorage.setItem(LOCAL_MENU_CONFIG, JSON.stringify(menuConfig));\n state.menuConfig = menuConfig;\n },\n};\n\nconst actions = {\n /**\n * 全局重新加载\n */\n reloadGlobal({ commit }) {\n commit(\"setGlobalLoadingStatus\", false);\n\n setTimeout(function () {\n commit(\"setGlobalLoadingStatus\", true);\n });\n },\n\n /**\n * 初始化设置\n */\n initSettingConfig({ commit }, config: UserConfig) {\n const { userMenu } = config;\n let menuTree = generateMenuTree(userMenu, null, 1);\n config.userMenu = menuTree;\n commit(\"setSettingConfig\", config);\n commit(\"setMenuConfig\", menuTree);\n },\n\n /**\n * 加载后初始化完整逻辑\n */\n userLoadInit({ commit, dispatch }, config) {\n // localStorage.removeItem(LOCAL_CONFIG);\n\n // 初始化GView用户以及菜单信息\n dispatch(\"initSettingConfig\", config);\n\n // 初始化顶部菜单配置\n dispatch(\"initTabMenu\");\n\n // 修改用户登录状态\n commit(\"setUserLoginStatus\", true);\n },\n\n userLogout({ commit }) {\n localStorage.removeItem(LOCAL_CONFIG);\n localStorage.removeItem(LOCAL_MENU_CONFIG);\n\n sessionStorage.clear();\n\n // 修改用户登录状态\n commit(\"setUserLoginStatus\", false);\n MessagePlugin.success(\"退出登录成功\");\n },\n\n loadLocalTheme({ commit, dispatch, state }) {\n let { themeConfig } = state;\n dispatch(\"changeMode\", themeConfig);\n dispatch(\"changeBrandTheme\", themeConfig);\n commit(\"setThemeSettingConfig\", themeConfig);\n },\n changeTheme({ commit, dispatch }, themeConfig) {\n dispatch(\"changeMode\", themeConfig);\n dispatch(\"changeBrandTheme\", themeConfig);\n commit(\"setThemeSettingConfig\", themeConfig);\n },\n changeMode(_: { state: SettingState }, themeConfig) {\n let theme = themeConfig.displayMode;\n if (themeConfig.displayMode === \"auto\") {\n const media = window.matchMedia(\"(prefers-color-scheme:dark)\");\n if (media.matches) {\n theme = \"dark\";\n } else {\n theme = \"light\";\n }\n }\n const isDarkMode = theme === \"dark\";\n\n document.documentElement.setAttribute(\"theme-mode\", isDarkMode ? \"dark\" : \"\");\n },\n changeBrandTheme(_: { state: SettingState }, themeConfig) {\n const { brandTheme } = themeConfig;\n\n document.documentElement.setAttribute(\"theme-color\", brandTheme);\n },\n\n /**\n * 更新菜单方案配置\n */\n updateMenuConfig({ commit }) {},\n\n /**\n * 初始化 Tab 菜单内容\n */\n initTabMenu({ commit }) {\n const homeTabMenuItem = {\n itemIdx: 0,\n path: \"/home\",\n title: \"首页\",\n isHome: true,\n };\n\n commit(\"setInitTabMenuList\", [homeTabMenuItem]);\n commit(\"setTabMenuList\", [homeTabMenuItem]);\n },\n\n appendTabMenuItem({ commit, state }, newItem: TabMenuItem) {\n if (!state.tabMenuList.find((item) => !item.isHome && item.path === newItem.path)) {\n commit(\"setTabMenuList\", state.tabMenuList.concat({ ...newItem }));\n }\n },\n\n subtractCurrentTabMenuItem({ commit, state }, newItem: TabMenuItem) {\n const { itemIdx } = newItem;\n commit(\"setTabMenuList\", state.tabMenuList.slice(0, itemIdx).concat(state.tabMenuList.slice(itemIdx + 1)));\n },\n subtractTabMenuItemBehind({ commit, state }, newItem: TabMenuItem) {\n const { itemIdx } = newItem;\n commit(\"setTabMenuList\", state.tabMenuList.slice(0, itemIdx + 1));\n },\n subtractTabMenuItemAhead({ commit, state }, newItem: TabMenuItem) {\n const { itemIdx } = newItem;\n commit(\"setTabMenuList\", state.initTabMenuList.concat(state.tabMenuList.slice(itemIdx)));\n },\n subtractTabMenuItemOther({ commit, state }, newItem: TabMenuItem) {\n const { itemIdx } = newItem;\n const tempItem = state.tabMenuList[itemIdx];\n commit(\"setTabMenuList\", itemIdx === 0 ? state.initTabMenuList : state.initTabMenuList.concat(tempItem));\n },\n\n clearTabMenuItem({ commit, state }) {\n commit(\"setTabMenuList\", []);\n },\n};\n\nexport default {\n namespaced: true,\n state,\n getters,\n mutations,\n actions,\n};\n","const state = {};\n\nconst getters = {};\n\nconst mutations = {};\n\nconst actions = {};\n\nexport default {\n namespaced: true,\n state,\n getters,\n mutations,\n actions,\n};\n","export default [\n {\n stem: \"app\",\n icon: \"App\",\n },\n\n {\n stem: \"attach\",\n icon: \"Attach\",\n },\n\n {\n stem: \"barcode\",\n icon: \"Barcode\",\n },\n {\n stem: \"books\",\n icon: \"Books\",\n },\n\n {\n stem: \"browse\",\n icon: \"Browse\",\n },\n {\n stem: \"bulletpoint\",\n icon: \"Bulletpoint\",\n },\n {\n stem: \"calendar\",\n icon: \"Calendar\",\n },\n {\n stem: \"call\",\n icon: \"Call\",\n },\n\n {\n stem: \"cart\",\n icon: \"Cart\",\n },\n {\n stem: \"chart-bar\",\n icon: \"ChartBar\",\n },\n {\n stem: \"chart-bubble\",\n icon: \"ChartBubble\",\n },\n {\n stem: \"chart-pie\",\n icon: \"ChartPie\",\n },\n {\n stem: \"chart\",\n icon: \"Chart\",\n },\n {\n stem: \"chat\",\n icon: \"Chat\",\n },\n\n {\n stem: \"cloud-download\",\n icon: \"CloudDownload\",\n },\n {\n stem: \"cloud-upload\",\n icon: \"CloudUpload\",\n },\n {\n stem: \"cloud\",\n icon: \"Cloud\",\n },\n {\n stem: \"code\",\n icon: \"Code\",\n },\n {\n stem: \"control-platform\",\n icon: \"ControlPlatform\",\n },\n {\n stem: \"creditcard\",\n icon: \"Creditcard\",\n },\n {\n stem: \"dashboard\",\n icon: \"Dashboard\",\n },\n {\n stem: \"delete\",\n icon: \"Delete\",\n },\n {\n stem: \"desktop\",\n icon: \"Desktop\",\n },\n {\n stem: \"discount-filled\",\n icon: \"DiscountFilled\",\n },\n {\n stem: \"discount\",\n icon: \"Discount\",\n },\n {\n stem: \"download\",\n icon: \"Download\",\n },\n {\n stem: \"edit-1\",\n icon: \"Edit1\",\n },\n {\n stem: \"edit\",\n icon: \"Edit\",\n },\n\n {\n stem: \"file-add\",\n icon: \"FileAdd\",\n },\n {\n stem: \"file-copy\",\n icon: \"FileCopy\",\n },\n {\n stem: \"file-excel\",\n icon: \"FileExcel\",\n },\n {\n stem: \"file-icon\",\n icon: \"FileIcon\",\n },\n {\n stem: \"file-image\",\n icon: \"FileImage\",\n },\n {\n stem: \"file-paste\",\n icon: \"FilePaste\",\n },\n {\n stem: \"file-pdf\",\n icon: \"FilePdf\",\n },\n {\n stem: \"file-powerpoint\",\n icon: \"FilePowerpoint\",\n },\n {\n stem: \"file-unknown\",\n icon: \"FileUnknown\",\n },\n {\n stem: \"file-word\",\n icon: \"FileWord\",\n },\n {\n stem: \"file\",\n icon: \"File\",\n },\n {\n stem: \"filter-clear\",\n icon: \"FilterClear\",\n },\n {\n stem: \"filter\",\n icon: \"Filter\",\n },\n {\n stem: \"flag\",\n icon: \"Flag\",\n },\n {\n stem: \"folder-add\",\n icon: \"FolderAdd\",\n },\n {\n stem: \"folder-open\",\n icon: \"FolderOpen\",\n },\n {\n stem: \"folder\",\n icon: \"Folder\",\n },\n {\n stem: \"fork\",\n icon: \"Fork\",\n },\n\n {\n stem: \"gift\",\n icon: \"Gift\",\n },\n {\n stem: \"heart-filled\",\n icon: \"HeartFilled\",\n },\n {\n stem: \"heart\",\n icon: \"Heart\",\n },\n {\n stem: \"help-circle-filled\",\n icon: \"HelpCircleFilled\",\n },\n {\n stem: \"help-circle\",\n icon: \"HelpCircle\",\n },\n {\n stem: \"history\",\n icon: \"History\",\n },\n {\n stem: \"home\",\n icon: \"Home\",\n },\n {\n stem: \"hourglass\",\n icon: \"Hourglass\",\n },\n {\n stem: \"image-error\",\n icon: \"ImageError\",\n },\n {\n stem: \"image\",\n icon: \"Image\",\n },\n {\n stem: \"info-circle-filled\",\n icon: \"InfoCircleFilled\",\n },\n {\n stem: \"info-circle\",\n icon: \"InfoCircle\",\n },\n {\n stem: \"internet\",\n icon: \"Internet\",\n },\n {\n stem: \"jump\",\n icon: \"Jump\",\n },\n {\n stem: \"laptop\",\n icon: \"Laptop\",\n },\n {\n stem: \"layers\",\n icon: \"Layers\",\n },\n {\n stem: \"link-unlink\",\n icon: \"LinkUnlink\",\n },\n {\n stem: \"link\",\n icon: \"Link\",\n },\n {\n stem: \"location\",\n icon: \"Location\",\n },\n {\n stem: \"lock-off\",\n icon: \"LockOff\",\n },\n {\n stem: \"lock-on\",\n icon: \"LockOn\",\n },\n {\n stem: \"login\",\n icon: \"Login\",\n },\n {\n stem: \"logo-android\",\n icon: \"LogoAndroid\",\n },\n {\n stem: \"logo-apple-filled\",\n icon: \"LogoAppleFilled\",\n },\n {\n stem: \"logo-apple\",\n icon: \"LogoApple\",\n },\n {\n stem: \"logo-chrome-filled\",\n icon: \"LogoChromeFilled\",\n },\n {\n stem: \"logo-chrome\",\n icon: \"LogoChrome\",\n },\n {\n stem: \"logo-codepen\",\n icon: \"LogoCodepen\",\n },\n {\n stem: \"logo-github-filled\",\n icon: \"LogoGithubFilled\",\n },\n {\n stem: \"logo-github\",\n icon: \"LogoGithub\",\n },\n {\n stem: \"logo-ie-filled\",\n icon: \"LogoIeFilled\",\n },\n {\n stem: \"logo-ie\",\n icon: \"LogoIe\",\n },\n {\n stem: \"logo-qq\",\n icon: \"LogoQq\",\n },\n {\n stem: \"logo-wechat\",\n icon: \"LogoWechat\",\n },\n {\n stem: \"logo-wecom\",\n icon: \"LogoWecom\",\n },\n {\n stem: \"logo-windows-filled\",\n icon: \"LogoWindowsFilled\",\n },\n {\n stem: \"logo-windows\",\n icon: \"LogoWindows\",\n },\n {\n stem: \"logout\",\n icon: \"Logout\",\n },\n {\n stem: \"mail\",\n icon: \"Mail\",\n },\n {\n stem: \"menu-fold\",\n icon: \"MenuFold\",\n },\n {\n stem: \"menu-unfold\",\n icon: \"MenuUnfold\",\n },\n\n {\n stem: \"mirror\",\n icon: \"Mirror\",\n },\n {\n stem: \"mobile-vibrate\",\n icon: \"MobileVibrate\",\n },\n {\n stem: \"mobile\",\n icon: \"Mobile\",\n },\n {\n stem: \"money-circle\",\n icon: \"MoneyCircle\",\n },\n {\n stem: \"notification-filled\",\n icon: \"NotificationFilled\",\n },\n {\n stem: \"notification\",\n icon: \"Notification\",\n },\n {\n stem: \"photo\",\n icon: \"Photo\",\n },\n {\n stem: \"pin-filled\",\n icon: \"PinFilled\",\n },\n {\n stem: \"pin\",\n icon: \"Pin\",\n },\n {\n stem: \"play-circle-filled\",\n icon: \"PlayCircleFilled\",\n },\n {\n stem: \"play-circle-stroke\",\n icon: \"PlayCircleStroke\",\n },\n {\n stem: \"play-circle\",\n icon: \"PlayCircle\",\n },\n {\n stem: \"play\",\n icon: \"Play\",\n },\n {\n stem: \"poweroff\",\n icon: \"Poweroff\",\n },\n {\n stem: \"precise-monitor\",\n icon: \"PreciseMonitor\",\n },\n {\n stem: \"previous\",\n icon: \"Previous\",\n },\n {\n stem: \"print\",\n icon: \"Print\",\n },\n {\n stem: \"qrcode\",\n icon: \"Qrcode\",\n },\n {\n stem: \"queue\",\n icon: \"Queue\",\n },\n {\n stem: \"rectangle\",\n icon: \"Rectangle\",\n },\n {\n stem: \"refresh\",\n icon: \"Refresh\",\n },\n {\n stem: \"relativity\",\n icon: \"Relativity\",\n },\n {\n stem: \"root-list\",\n icon: \"RootList\",\n },\n {\n stem: \"rotation\",\n icon: \"Rotation\",\n },\n {\n stem: \"scan\",\n icon: \"Scan\",\n },\n {\n stem: \"search\",\n icon: \"Search\",\n },\n {\n stem: \"secured\",\n icon: \"Secured\",\n },\n {\n stem: \"server\",\n icon: \"Server\",\n },\n {\n stem: \"service\",\n icon: \"Service\",\n },\n {\n stem: \"setting\",\n icon: \"Setting\",\n },\n {\n stem: \"share\",\n icon: \"Share\",\n },\n {\n stem: \"shop\",\n icon: \"Shop\",\n },\n {\n stem: \"slash\",\n icon: \"Slash\",\n },\n {\n stem: \"sound\",\n icon: \"Sound\",\n },\n {\n stem: \"star-filled\",\n icon: \"StarFilled\",\n },\n {\n stem: \"star\",\n icon: \"Star\",\n },\n {\n stem: \"thumb-down\",\n icon: \"ThumbDown\",\n },\n {\n stem: \"thumb-up\",\n icon: \"ThumbUp\",\n },\n {\n stem: \"time-filled\",\n icon: \"TimeFilled\",\n },\n {\n stem: \"time\",\n icon: \"Time\",\n },\n {\n stem: \"tips\",\n icon: \"Tips\",\n },\n {\n stem: \"tools\",\n icon: \"Tools\",\n },\n {\n stem: \"unfold-less\",\n icon: \"UnfoldLess\",\n },\n {\n stem: \"unfold-more\",\n icon: \"UnfoldMore\",\n },\n {\n stem: \"upload\",\n icon: \"Upload\",\n },\n {\n stem: \"usb\",\n icon: \"Usb\",\n },\n {\n stem: \"user-add\",\n icon: \"UserAdd\",\n },\n {\n stem: \"user-avatar\",\n icon: \"UserAvatar\",\n },\n {\n stem: \"user-circle\",\n icon: \"UserCircle\",\n },\n {\n stem: \"user-clear\",\n icon: \"UserClear\",\n },\n {\n stem: \"user-talk\",\n icon: \"UserTalk\",\n },\n {\n stem: \"user\",\n icon: \"User\",\n },\n {\n stem: \"usergroup-add\",\n icon: \"UsergroupAdd\",\n },\n {\n stem: \"usergroup-clear\",\n icon: \"UsergroupClear\",\n },\n {\n stem: \"usergroup\",\n icon: \"Usergroup\",\n },\n {\n stem: \"video\",\n icon: \"Video\",\n },\n {\n stem: \"view-column\",\n icon: \"ViewColumn\",\n },\n {\n stem: \"view-list\",\n icon: \"ViewList\",\n },\n {\n stem: \"view-module\",\n icon: \"ViewModule\",\n },\n {\n stem: \"wallet\",\n icon: \"Wallet\",\n },\n {\n stem: \"wifi\",\n icon: \"Wifi\",\n },\n {\n stem: \"zoom-in\",\n icon: \"ZoomIn\",\n },\n {\n stem: \"zoom-out\",\n icon: \"ZoomOut\",\n },\n];\n","<template>\n <GLayout :title=\"title\">\n <GCommonHeader>\n <template #left-operations>\n <t-button theme=\"primary\" @click=\"handleAddMenuGroup\">添加组</t-button>\n <t-button theme=\"default\" @click=\"resetMenu\">恢复默认</t-button>\n </template>\n <template #right-operations>\n <t-button theme=\"primary\" @click=\"saveMenuResult\">保存方案</t-button>\n </template>\n </GCommonHeader>\n\n <GCommonTable\n ref=\"commonTable\"\n id=\"menuTable\"\n :commonTableProps=\"{\n size: 'small',\n ref: 'menuTable',\n rowKey: 'name',\n data: menuData,\n columns: columns,\n dragSort: 'row-handler',\n beforeDragSort: handleBeforeDragSort,\n onAbnormalDragSort: onAbnormalDragSort,\n tree: {\n childrenKey: 'children',\n defaultExpandAll: true,\n treeNodeColumnIndex: 1,\n indent: '20',\n },\n }\"\n >\n <!-- 自定义折叠图标 -->\n <template #treeExpandAndFoldIcon=\"{ type }\">\n <t-icon v-if=\"type === 'expand'\" name=\"chevron-right\" />\n <t-icon v-else name=\"chevron-up\" />\n </template>\n\n <!-- 自定义拖拽 -->\n <template #drag>\n <t-icon name=\"move\" />\n </template>\n\n <template #title=\"{ row }\">\n <span class=\"menu-title\">\n <span class=\"title\" :class=\"row.isGroup ? 'title-bold' : 'title-child'\">\n <template v-if=\"row.level == 1 && row.isGroup\">\n <t-icon v-if=\"row.icon\" class=\"title-icon\" :name=\"row.icon\" size=\"large\" />\n <t-icon v-else class=\"title-icon\" name=\"app\" size=\"large\" />\n </template>\n {{ row.title }}\n </span>\n <span class=\"counts\" v-if=\"row.isGroup\">{{ row.children.length }}项</span>\n </span>\n </template>\n\n <template #operations=\"{ row }\">\n <div class=\"operations\">\n <t-button variant=\"text\" theme=\"primary\" @click=\"handleEditMenu(row)\"> 编辑修改 </t-button>\n <t-button variant=\"text\" theme=\"primary\" :disabled=\"row.isGroup\" @click=\"handleMoveItemTo(row)\">\n {{ row.isGroup ? \"-----\" : \"转移至\" }}\n </t-button>\n <t-button variant=\"text\" theme=\"primary\" @click=\"handleMoveSort(row, 'up')\"> 上移 </t-button>\n <t-button variant=\"text\" theme=\"primary\" @click=\"handleMoveSort(row, 'down')\"> 下移 </t-button>\n <t-button variant=\"text\" theme=\"primary\" :disabled=\"!row.isGroup\" @click=\"handleRemoveGroup(row)\">\n {{ row.isGroup ? \"撤销组\" : \"-----\" }}\n </t-button>\n </div>\n </template>\n </GCommonTable>\n\n <GCommonDialog\n :commonDialogProps=\"{\n visible: isAddOrEditDialogShow,\n onClose: handleCloseDialog,\n header: currentDialogTitle,\n footer: false,\n }\"\n >\n <GCommonForm\n ref=\"menuFormRef\"\n :commonFormProps=\"{\n ref: 'form',\n rules: menuFormRules,\n data: menuForm,\n labelAlign: 'right',\n labelWidth: '110px',\n }\"\n >\n <template\n #body\n v-if=\"\n currentDialogType == 'addGroup' ||\n currentDialogType == 'editGroup' ||\n currentDialogType == 'editItem'\n \"\n >\n <t-form-item name=\"title\" label=\"组名称\" :requiredMark=\"true\">\n <t-input style=\"width: 360px\" v-model=\"menuForm.title\" placeholder=\"请输入组名称\"></t-input>\n </t-form-item>\n\n <t-form-item name=\"name\" label=\"名称标识\" :requiredMark=\"true\">\n <t-input\n style=\"width: 360px\"\n v-model=\"menuForm.name\"\n placeholder=\"请输入名称标识,例如 SYSTEM\"\n ></t-input>\n </t-form-item>\n\n <t-form-item name=\"icon\" label=\"图标标识\" :requiredMark=\"true\" v-if=\"menuForm.level == 1\">\n <t-select\n v-model=\"menuForm.icon\"\n placeholder=\"请选择图标标识\"\n :style=\"{ width: '350px' }\"\n :popup-props=\"{ overlayStyle: { width: '350px' } }\"\n :clearable=\"true\"\n >\n <t-option v-for=\"item in icon\" :value=\"item.stem\" :key=\"item.stem\" class=\"overlay-options\">\n <span id=\"icon-option\">\n <t-icon :name=\"item.stem\" size=\"large\" />\n </span>\n </t-option>\n\n <div slot=\"valueDisplay\">\n <span v-if=\"menuForm.icon\">\n <t-icon :name=\"menuForm.icon\" :style=\"{ marginRight: '8px' }\" />{{ menuForm.icon }}\n </span>\n <span v-else style=\"color: #9f9f9f\">请选择图标标识</span>\n </div>\n </t-select>\n </t-form-item>\n\n <t-form-item name=\"parent\" label=\"父菜单\" :requiredMark=\"true\" v-if=\"!menuForm.isGroup\">\n <t-select :options=\"menuParentKeyOptions\" v-model=\"menuForm.parent\" />\n </t-form-item>\n\n <t-form-item\n label=\"分组\"\n v-if=\"!handleFilterMenuGroup(menuForm.children).length && menuForm.level == 1\"\n >\n <t-button variant=\"outline\" @click=\"handleAddMenuGroupChildrenItem\">添加分组</t-button>\n </t-form-item>\n\n <t-form-item\n v-for=\"(item, index) in handleFilterMenuGroup(menuForm.children)\"\n :key=\"`group` + index\"\n :label=\"index == 0 ? '分组' : ' '\"\n >\n <t-input-group style=\"width: 350px\">\n <t-input\n style=\"width: 120px\"\n placeholder=\"请输入分组名称 \"\n :value=\"item.title\"\n @change=\"\n handleUpdateFormValue(\n handleFilterMenuGroup(menuForm.children),\n `[${index}].title`,\n $event,\n )\n \"\n />\n <t-input\n style=\"width: 120px\"\n placeholder=\"请输入分组标识 \"\n :value=\"item.name\"\n @change=\"\n handleUpdateFormValue(\n handleFilterMenuGroup(menuForm.children),\n `[${index}].name`,\n $event,\n )\n \"\n />\n <t-button\n variant=\"outline\"\n theme=\"default\"\n @click.prevent=\"handleRemoveMenuGroupChildrenItem(item)\"\n >-\n </t-button>\n <t-button\n variant=\"outline\"\n theme=\"default\"\n v-if=\"index == handleFilterMenuGroup(menuForm.children).length - 1\"\n @click.prevent=\"handleAddMenuGroupChildrenItem\"\n >+\n </t-button>\n </t-input-group>\n </t-form-item>\n\n <template v-if=\"currentDialogType != 'addGroup'\">\n <t-form-item\n v-for=\"(item, index) in handleFilterMenuItem(menuForm.children)\"\n :key=\"`item` + index\"\n :label=\"index == 0 ? '子菜单项' : ' '\"\n >\n <t-input-group style=\"width: 350px\">\n <t-input\n placeholder=\"请输入子菜单名称 \"\n :value=\"item.title\"\n @change=\"\n handleUpdateFormValue(\n handleFilterMenuItem(menuForm.children),\n `[${index}].title`,\n $event,\n )\n \"\n />\n </t-input-group>\n </t-form-item>\n </template>\n </template>\n <template #body v-else-if=\"currentDialogType == 'moveItemTo'\">\n <t-form-item name=\"parent\" label=\"转移至\" :requiredMark=\"true\" v-if=\"!menuForm.isGroup\">\n <t-select :options=\"menuParentKeyOptions\" v-model=\"menuForm.parent\" />\n </t-form-item>\n </template>\n <template #footer>\n <t-button theme=\"default\" @click=\"handleCloseDialog\">取消</t-button>\n <t-button @click=\"handleSaveMenuGroupForm\">确定</t-button>\n </template>\n </GCommonForm>\n </GCommonDialog>\n </GLayout>\n</template>\n\n<script>\nimport GLayout from \"../../components/GLayout/index.vue\";\nimport GCommonHeader from \"../../components/common/GCommonHeader/index.vue\";\nimport GCommonDialog from \"../../components/common/GCommonDialog/index.vue\";\nimport GCommonForm from \"../../components/common/GCommonForm/index.vue\";\nimport GCommonTable from \"../../components/common/GCommonTable/index.vue\";\n\nimport { cloneDeep, set } from \"lodash-es\";\nimport { PREFIX } from \"../../config\";\nimport { flattenMenuData, generateMenuTree } from \"../../utils\";\n\nimport { DialogPlugin, MessagePlugin } from \"tdesign-vue\";\nimport icon from \"./icon\";\nimport http from \"../../api\";\n\nexport default {\n name: \"GMenuManage\",\n components: {\n GLayout,\n GCommonHeader,\n GCommonDialog,\n GCommonForm,\n GCommonTable,\n },\n\n data() {\n return {\n PREFIX,\n icon,\n\n title: \"菜单管理\",\n isAddOrEditDialogShow: false,\n currentDialogType: \"\",\n columns: [\n {\n // 列拖拽排序必要参数\n colKey: \"drag\",\n title: \"排序\",\n cell: \"drag\",\n width: 50,\n },\n {\n title: \"菜单名称\",\n colKey: \"title\",\n cell: \"title\",\n width: \"60%\",\n },\n {\n title: \"操作\",\n colKey: \"operations\",\n cell: \"operations\",\n },\n ],\n\n menuData: this.$store.getters[\"setting/userMenu\"],\n edificeKey: this.$store.getters[\"setting/userEdificeKey\"],\n menuForm: {\n edificeKey: \"\",\n name: \"\",\n title: \"\",\n icon: null,\n path: \"\",\n level: 1,\n isGroup: true,\n children: [],\n },\n\n menuFormRules: {\n title: [\n {\n required: true,\n message: \"菜单名称必填\",\n type: \"error\",\n trigger: \"blur\",\n },\n ],\n name: [\n {\n required: true,\n message: \"名称必填\",\n type: \"error\",\n trigger: \"blur\",\n },\n ],\n icon: [\n {\n required: true,\n message: \"图标标识必选\",\n type: \"error\",\n trigger: \"change\",\n },\n ],\n },\n };\n },\n computed: {\n menuTable() {\n return this.$refs.commonTable.$refs.menuTable;\n },\n menuTreeNodeData() {\n return this.menuTable.getTreeNode();\n },\n flatMenuData() {\n return flattenMenuData(this.menuTreeNodeData);\n },\n currentDialogTitle() {\n switch (this.currentDialogType) {\n case \"addGroup\": {\n return \"添加组\";\n }\n\n case \"editGroup\": {\n return \"编辑组\";\n }\n\n case \"editItem\": {\n return \"编辑修改菜单\";\n }\n\n case \"moveItemTo\": {\n return \"转移菜单至\";\n }\n\n default: {\n return \"\";\n }\n }\n },\n menuParentKeyOptions() {\n return this.flatMenuData\n .filter((item) => !item.url)\n .map((item) => ({\n label: item.title,\n value: item.name,\n }));\n },\n },\n\n methods: {\n appendNewTabMenuItem() {\n const { fullPath, query } = this.$route;\n const path = decodeURIComponent(fullPath);\n\n this.$store.dispatch(\"setting/appendTabMenuItem\", {\n title: this.title,\n path,\n query,\n });\n },\n\n // 筛选出子菜单中纯菜单项\n handleFilterMenuItem(children) {\n return children.filter((item) => !item.isGroup);\n },\n // 筛选出子菜单中的分组\n handleFilterMenuGroup(children) {\n return children.filter((item) => item.isGroup);\n },\n\n handleAddMenuGroup() {\n this.isAddOrEditDialogShow = true;\n this.currentDialogType = \"addGroup\";\n },\n handleUpdateFormValue(target, path, value) {\n set(target, path, value);\n this.$forceUpdate();\n },\n handleEditMenu(row) {\n this.menuForm = cloneDeep(row, {});\n this.isAddOrEditDialogShow = true;\n\n if (row.isGroup) {\n this.currentDialogType = \"editGroup\";\n } else {\n this.currentDialogType = \"editItem\";\n }\n },\n handleMoveItemTo(row) {\n this.menuForm = cloneDeep(row, {});\n this.isAddOrEditDialogShow = true;\n this.currentDialogType = \"moveItemTo\";\n },\n handleCloseDialog() {\n this.isAddOrEditDialogShow = false;\n this.resetMenuGroupForm();\n },\n resetMenuGroupForm() {\n this.menuForm = {\n edificeKey: this.edificeKey,\n name: \"\",\n title: \"\",\n icon: null,\n path: \"\",\n level: 1,\n isGroup: true,\n children: [],\n };\n },\n handleAddMenuGroupChildrenItem() {\n if (this.menuForm.level == 1) {\n this.menuForm.children.push({\n edificeKey: this.edificeKey,\n level: 2,\n icon: null,\n title: \"\",\n name: \"\",\n parent: this.menuForm.name,\n path: \"\",\n isGroup: true,\n children: [],\n });\n }\n this.$forceUpdate();\n },\n handleRemoveMenuGroupChildrenItem(item) {\n const index = this.menuForm.children.indexOf(item);\n if (index != -1) {\n this.menuForm.children.splice(index, 1);\n }\n this.$forceUpdate();\n },\n handleMoveItemAction(currentName, targetParentName) {\n // 获取原父菜单名称\n const { parent } = this.flatMenuData.find((item) => item.name == currentName);\n\n if (targetParentName !== parent) {\n this.menuForm.parent = targetParentName;\n this.menuTable.remove(currentName);\n this.menuTable.appendTo(targetParentName, this.menuForm);\n }\n },\n handleSaveMenuGroupForm() {\n this.$refs.menuFormRef.$refs.form.validate().then((result) => {\n if (!Object.keys(result).length) {\n if (this.currentDialogType == \"addGroup\") {\n this.menuForm.edificeKey = this.edificeKey;\n this.menuTable.appendTo(\"\", this.menuForm);\n\n MessagePlugin.success(\"保存新增组成功!\");\n } else if (this.currentDialogType == \"editGroup\" || this.currentDialogType == \"editItem\") {\n this.menuTable.setData(this.menuForm.name, this.menuForm);\n\n if (this.menuForm.isGroup) {\n this.menuForm.children.forEach((item) => {\n this.menuTable.setData(item.name, item);\n });\n\n MessagePlugin.success(\"编辑组成功!\");\n } else {\n this.handleMoveItemAction(this.menuForm.name, this.menuForm.parent);\n\n MessagePlugin.success(\"编辑菜单成功!\");\n }\n } else if (this.currentDialogType == \"moveItemTo\") {\n this.handleMoveItemAction(this.menuForm.name, this.menuForm.parent);\n MessagePlugin.success(\"转移组成功!\");\n }\n\n this.updateMenuTable();\n this.handleCloseDialog();\n } else {\n const firstError = Object.values(result)[0]?.[0]?.message;\n MessagePlugin.warning(`${firstError}`);\n }\n });\n },\n handleMoveSort(row, sort) {\n const { parent } = this.menuTable.getData(row.name);\n if (parent) {\n const { children } = parent.row;\n const currentIndex = children.findIndex((item) => item.name == row.name);\n\n this.handleSortAction(children, sort, currentIndex);\n this.updateMenuTable();\n } else {\n const tempData = cloneDeep(this.menuTreeNodeData);\n const currentIndex = tempData.findIndex((item) => item.name == row.name);\n\n this.handleSortAction(tempData, sort, currentIndex);\n this.updateMenuTable(tempData);\n }\n },\n handleSortAction(data, sort, currentIndex) {\n switch (sort) {\n case \"up\": {\n if (currentIndex != 0) {\n [data[currentIndex - 1], data[currentIndex]] = [data[currentIndex], data[currentIndex - 1]];\n } else {\n MessagePlugin.info(\"该菜单项已经在该组的第一个了!\");\n }\n break;\n }\n\n case \"down\": {\n if (currentIndex != data.length - 1) {\n [data[currentIndex + 1], data[currentIndex]] = [data[currentIndex], data[currentIndex + 1]];\n } else {\n MessagePlugin.info(\"该菜单项已经在该组的最后一个了!\");\n }\n break;\n }\n }\n },\n handleRemoveGroup(row) {\n try {\n const dialogInstance = DialogPlugin.confirm({\n theme: \"info\",\n header: \"撤销组\",\n body: `确定要撤销${row.title}吗?`,\n onConfirm: () => {\n let tempChildrenArr = [];\n if (row.level == 1) {\n row.children.forEach((children) => {\n console.log(children);\n\n children.level = 1;\n children.parent = null;\n tempChildrenArr.push(children);\n });\n\n this.menuTable.remove(row.name);\n\n if (tempChildrenArr.length) {\n tempChildrenArr.forEach((children) => {\n this.menuTable.appendTo(\"\", children);\n });\n }\n } else if (row.level == 2) {\n const { parent } = row;\n console.log(parent);\n\n row.children.forEach((children) => {\n children.level = 2;\n children.parent = parent;\n tempChildrenArr.push(children);\n });\n\n this.menuTable.remove(row.name);\n this.updateMenuTable();\n tempChildrenArr.forEach((children) => {\n this.menuTable.appendTo(parent, children);\n });\n }\n\n dialogInstance.destroy();\n MessagePlugin.success(\"撤销组成功\");\n },\n });\n } catch (e) {\n console.error(e);\n }\n\n this.updateMenuTable();\n },\n updateMenuTable(data = this.menuTreeNodeData) {\n this.menuTable.resetData(data);\n },\n resetMenu() {\n this.menuTable.resetData(this.$store.state.setting.config.userMenu);\n MessagePlugin.success(\"恢复默认菜单方案成功!\");\n },\n saveMenuResult() {\n const flattenMenu = flattenMenuData(this.menuTreeNodeData);\n\n try {\n http.put(\"/restapi/menus\", { menus: [...flattenMenu] }).then((res) => {\n if (res.state == 200) {\n this.$store.commit(\"setting/setMenuConfig\", this.menuTreeNodeData);\n this.menuData = this.$store.getters[\"setting/userMenu\"];\n\n MessagePlugin.success(\"保存菜单方案成功!\");\n }\n });\n } catch (e) {\n console.error(e);\n }\n },\n\n handleBeforeDragSort(context) {\n const { current, target, currentIndex, targetIndex } = context;\n const currentLevel = current.level;\n const currentParent = current.parent;\n const targetLevel = target.level;\n const targetParent = target.parent;\n\n // 拖拽方向:true 为下移,false 为上移\n const dragDirection = currentIndex < targetIndex;\n\n if (currentLevel == targetLevel) {\n // 同级同一个父菜单\n if (currentParent == targetParent) {\n return true;\n }\n // 同级不同父菜单\n else {\n MessagePlugin.info(\"不同父菜单的菜单项,请使用转移至功能转移菜单\");\n }\n } else {\n // MessagePlugin.error(\"不同层级的菜单项,不允许调整顺序!\")\n MessagePlugin.info(\"不同层级的菜单项,请使用转移至功能转移菜单\");\n }\n this.updateMenuTable();\n return false;\n },\n onAbnormalDragSort(context) {\n if (context.code === 1001) {\n MessagePlugin.error(\"不同层级的菜单项,不允许调整顺序\");\n }\n },\n },\n mounted() {\n this.appendNewTabMenuItem();\n },\n};\n</script>\n\n<style lang=\"scss\">\n#menuTable {\n .t-table__tree-col {\n justify-content: space-between;\n }\n\n .t-table__tree-op-icon {\n order: 999;\n }\n\n .icon {\n text-align: center;\n }\n\n .menu-title {\n display: inline-flex;\n align-items: center;\n justify-content: space-between;\n width: 96%;\n\n .title {\n display: flex;\n align-items: center;\n\n .title-icon {\n font-size: 23px !important;\n margin-right: 5px;\n }\n }\n\n .title-bold {\n font-weight: 600;\n }\n\n .title-child {\n color: var(--td-text-color-secondary);\n font-weight: 600;\n }\n\n .title-child::before {\n content: \"·\";\n margin: 0 5px;\n }\n\n .counts {\n color: var(--td-text-color-secondary);\n }\n }\n}\n\n.overlay-options {\n display: inline-block !important;\n font-size: 20px;\n}\n</style>\n","import \"./style/index.scss\";\nimport GView from \"./components\";\nimport stores from \"./store\";\n\nimport http from \"./api\";\nimport * as utils from \"./utils\";\nimport * as config from \"./config\";\n\nfunction install(Vue, userConfig?: any) {\n // 注册GView组件\n Vue.component(\"GView\", GView);\n\n // 注册Vuex\n Object.keys(stores).forEach((key) => {\n userConfig.store.registerModule(key, stores[key]);\n });\n\n // 载入router\n http.initRouter(userConfig.router);\n}\n\n/* istanbul ignore if */\nif (typeof window !== \"undefined\" && window.Vue) {\n install(window.Vue);\n}\nexport * from \"./components\";\nexport * from \"./views\";\nexport { http, utils, config };\nexport default {\n install,\n};\n"],"names":["styleInject","css","ref","insertAt","document","head","getElementsByTagName","style","createElement","type","firstChild","insertBefore","appendChild","styleSheet","cssText","createTextNode","match","version","check","it","Math","global","globalThis","window","self","this","Function","fails","exec","error","descriptors","Object","defineProperty","get","functionBindNative","test","bind","hasOwnProperty","call","prototype","functionCall","NATIVE_BIND","apply","arguments","$propertyIsEnumerable","propertyIsEnumerable","getOwnPropertyDescriptor","f","V","descriptor","enumerable","createPropertyDescriptor","bitmap","value","configurable","writable","FunctionPrototype","uncurryThisWithBind","functionUncurryThis","fn","toString","uncurryThis","stringSlice","slice","classofRaw","$Object","split","indexedObject","classof","isNullOrUndefined","$TypeError","TypeError","requireObjectCoercible","toIndexedObject","IndexedObject","documentAll","all","documentAll_1","IS_HTMLDDA","undefined","$documentAll","isCallable","argument","isObject","aFunction","getBuiltIn","namespace","method","length","objectIsPrototypeOf","isPrototypeOf","engineUserAgent","process","Deno","versions","v8","userAgent","engineV8Version","symbolConstructorDetection","getOwnPropertySymbols","symbol","Symbol","String","sham","V8_VERSION","useSymbolAsUid","NATIVE_SYMBOL","iterator","isSymbol","USE_SYMBOL_AS_UID","$Symbol","$String","aCallable","tryToString","defineGlobalProperty","key","SHARED","sharedStore","module","exports","store","push","mode","copyright","license","source","toObject","hasOwnProperty_1","hasOwn","id","postfix","random","uid","WellKnownSymbolsStore","shared","symbolFor","createWellKnownSymbol","withoutSetter","wellKnownSymbol","name","description","TO_PRIMITIVE","toPrimitive","input","pref","func","result","exoticToPrim","val","valueOf","ordinaryToPrimitive","toPropertyKey","EXISTS","ie8DomDefine","DESCRIPTORS","a","$getOwnPropertyDescriptor","O","P","IE8_DOM_DEFINE","propertyIsEnumerableModule","v8PrototypeDefineBug","anObject","$defineProperty","ENUMERABLE","CONFIGURABLE","WRITABLE","V8_PROTOTYPE_DEFINE_BUG","Attributes","current","createNonEnumerableProperty","object","definePropertyModule","getDescriptor","functionName","PROPER","functionToString","inspectSource","set","has","WeakMap","weakMapBasicDetection","keys","hiddenKeys","OBJECT_ALREADY_INITIALIZED","NATIVE_WEAK_MAP","state","metadata","facade","STATE","sharedKey","internalState","enforce","getterFor","TYPE","CONFIGURABLE_FUNCTION_NAME","require$$0","enforceInternalState","InternalStateModule","getInternalState","CONFIGURABLE_LENGTH","TEMPLATE","makeBuiltIn","options","replace","getter","setter","arity","constructor","join","defineBuiltIn","simple","unsafe","nonConfigurable","nonWritable","ceil","floor","mathTrunc","trunc","x","n","toIntegerOrInfinity","number","max","min","lengthOfArrayLike","obj","createMethod","IS_INCLUDES","$this","el","fromIndex","index","integer","toAbsoluteIndex","indexOf","includes","concat","getOwnPropertyNames","names","i","internalObjectKeys","ownKeys","getOwnPropertyNamesModule","getOwnPropertySymbolsModule","copyConstructorProperties","target","exceptions","getOwnPropertyDescriptorModule","replacement","isForced","feature","detection","data","normalize","POLYFILL","NATIVE","string","toLowerCase","isForced_1","_export","targetProperty","sourceProperty","TARGET","GLOBAL","STATIC","stat","dontCallGetSet","forced","isArray","Array","arraySetLength","doesNotExceedSafeInteger","INCORRECT_TO_LENGTH","SILENT_ON_NON_WRITABLE_LENGTH","$","proto","item","len","argCount","setArrayLength","NProgress","configure","easing","speed","showSpinner","trickle","trickleSpeed","minimum","PREFIX","LOCAL_CONFIG","LOCAL_THEME_CONFIG","LOCAL_MENU_CONFIG","LOCAL_USER","LOCAL_TAB_MENU","LOCAL_INIT_TAB_MENU_LIST","LOCAL_DATA_ID","LOCAL_SESSION_ID","WS_SERVICE","location","origin","protocol","INIT_WS_MODEL","subcmd","dataId","cmd","args","response","UPLOAD_API","THEME_CONFIG","brandTheme","displayMode","COLOR_TOKEN","DEFAULT","CYAN","GREEN","ORANGE","RED","PINK","PURPLE","YELLOW","createContextEvaluator","eval_string","context","template","map","createContextFunctionTemplate","functor","evalContext","text","evaluator","vFun","_basePath","path","getProperty","defaultValue","reduce","o","k","setProperty","_","assign","deepClone","sourceObj","targetObj","cloneObj","generateMenuTree","parent","level","filter","children","url","alias","title","isGroup","flattenMenuData","tree","flatMenu","flat","menuTree","parentName","forEach","edificeKey","icon","sort","getHomeUrl","menus","menu","childrenPath","getUrlQuery","queryObj","queryItem","initTableColumns","tableColumns","tableColumnsResult","colKey","fixed","attrs","minWidth","column","idx","arr","tempColumnResult","keyName","cell","columnType","width","convertTableColumnWeight","weight","ellipsis","props","theme","showArrow","placement","maxWidth","buttonLength","buttons","columnAmount","initTreeSelectorData","config","list","valueName","titleName","parentKey","parentKeyName","selector","res","parentObj","label","getBrandColor","colorList","toUpperCase","toUnderline","isVoid","trim","nanoid","customAlphabet","script$z","computed","tabMenuList","$store","setting","homeUrl","getters","activeItemPath","methods","handleTabMenuClick","visible","ctx","trigger","handleChangeCurrentTab","$router","query","handleRemoveCurrentTab","nextTabMenuItem","dispatch","itemIdx","decodeURIComponent","$route","fullPath","handleTabRefresh","$nextTick","handleTabCloseAhead","handleTabOperationEffect","handleTabCloseBehind","handleTabCloseOther","currentPath","currentIdx","findIndex","nextItem","script","components","GLayoutHeaderTab","userRealName","toggleSideMenuCollapsed","commit","toggleSettingPanel","handleLogout","script$w","default","background","anInstance","Prototype","objectSetPrototypeOf","setPrototypeOf","CORRECT_SETTER","aPossiblePrototype","__proto__","inheritIfRequired","dummy","Wrapper","NewTarget","NewTargetPrototype","toStringTagSupport","TO_STRING_TAG","CORRECT_ARGUMENTS","TO_STRING_TAG_SUPPORT","tag","tryGet","callee","normalizeStringArgument","$default","domExceptionConstants","IndexSizeError","s","c","m","DOMStringSizeError","HierarchyRequestError","WrongDocumentError","InvalidCharacterError","NoDataAllowedError","NoModificationAllowedError","NotFoundError","NotSupportedError","InUseAttributeError","InvalidStateError","SyntaxError","InvalidModificationError","NamespaceError","InvalidAccessError","ValidationError","TypeMismatchError","SecurityError","NetworkError","AbortError","URLMismatchError","QuotaExceededError","TimeoutError","InvalidNodeTypeError","DataCloneError","$Error","Error","TEST","stack","V8_OR_CHAKRA_STACK_ENTRY","IS_V8_OR_CHAKRA_STACK","errorStackClear","dropEntries","prepareStackTrace","DOM_EXCEPTION","NativeDOMException","$DOMException","DOMExceptionPrototype","argumentsLength","message","that","clearErrorStack","ERROR_HAS_STACK","DOM_EXCEPTION_HAS_STACK","BUGGY_DESCRIPTOR","FORCED_CONSTRUCTOR","DOMException","PolyfilledDOMException","PolyfilledDOMExceptionPrototype","DOMExceptionConstants","constant","constantName","COLOR_OPTIONS","MODE_OPTIONS","ColorContainer","themeData","themeConfig","isSettingPanelShow","watch","handler","deep","GLayoutHeader","GLayoutContent","GLayoutSetting","GLayoutSideMenu","GLayoutSideMenuContent","navData","menuList","getMenuList","handleMenuItemClick","menuCollapsed","isSideBarCollapse","menuActivePath","menuDefaultExpanded","currentParent","parentMenu","childrenMenu","toMenuManage","isUserLogin","mounted","modelValue","required","originValue","Number","Boolean","placeholder","disabled","inputType","handleChange","$emit","handleBlur","beforeDestroy","_typeof","_toPropertyKey","arg","hint","prim","_defineProperty","loadNanoId","localSessionId","sessionStorage","getItem","newSessionId","setItem","http","sessionId","service","axios","create","router","interceptors","request","use","userToken","JSON","parse","localStorage","token","tokenExpiredTime","lang","userInfo","language","headers","start","Promise","reject","done","device","uuid","async","MessagePlugin","params","_object","post","put","delete","initRouter","timeout","withCredentials","viewApiUrl","getOneView","getViewData","targetViewName","size","multiple","queryProps","immediate","listData","propsModel","tempModel","viewName","getSelectData","dateTimeValue","itemType","dayjs","format","script$m","GCommonHeader","GFormInput","GFormSelect","GFormSelectDateTime","GHeaderUpload","uploadData","handleUploadSuccess","event","uploadResult","shift","handleUploadError","headerInfo","timer","filterForm","headerCommonBtns","button","action","headerUploadBtns","headerSearchBar","searchBar","headerFilters","filters","clearTimeout","setTimeout","handleFilterChange","handleHeaderButtonClick","commonTableProps","selectList","treeOptions","treeData","cascaderOptions","fileName","tips","uploadApi","success","console","log","GCommonTable","GFormLabel","GFormCheckBox","GFormSwitch","GFormRadio","GFormTreeCheckBox","GFormCascader","GFormUpload","col","row","formModel","formItems","handleAfterUpdateValue","$forceUpdate","handleAfterValueBlur","newValue","VueQr","boardInfo","tableData","paginationProps","isReload","selectedRowKeys","tablePagination","showJumper","rowKey","columns","handleSelectChange","selectedRowData","returnValue","Mustache","render","returnEnumsValue","enums","targetArr","element","returnDateValue","handleFilterColumnBtns","columnBtns","v","showIf","evalResult","e","warn","handleTableButtonClick","handleTableFormChange","model","tempPagination","page","pageSize","count","total","totalCount","onChange","pageInfo","commonFormProps","blockType","blockId","updateId","handleBlockShowFlag","$refs","__vue__","blockShowFlag","matches","nextElementSibling","GFormEditor","quillEditor","handleEditorChange","content","html","formWhiteList","disableFlag","handleAfterUpload","initEmptyFormItems","handleBeforeDestroyFormItem","handleItemShowIf","form","handleItemDisableIf","disableIf","GCommonForm","GFormBlock","GFormItem","formData","formRules","formOkButton","okButton","formCancelButton","cancelButton","initFormRules","currentFormItems","commonForm","$children","$el","classList","contains","tempRules","itemTempRules","validator","validate","fields","handleButtonClick","then","firstError","values","warning","buttonId","formItem","GTemplate","resolve","index$1","d","tabs","currentTabTitle","handleTabChange","newTabTitle","handleCloseDialog","history","go","commonDialogProps","script$4","GCommonDialog","dialogViewInfo","dialogFormModel","isVisible","viewInfo","viewBoard","viewProps","dialogWidth","boardType","dialogHeaderName","dialogViewName","view","dialogProps","handleDialogChange","boards","getViewInfo","GHeader","GTable","GForm","GTab","GDialog","board","headerFilterProps","tableSelectedData","tablePaginationProps","pageCount","isDialogVisible","header","getTemplateData","handleAction","tempProps","stringify","confirmMessage","dialogInstance","DialogPlugin","confirm","body","onConfirm","handleConfirmForm","destroy","onCancel","info","handleBatchAction","link","open","href","downloadUrl","he","decode","downloadEl","display","setAttribute","click","handleHeaderFilterChange","filterProps","handleReturnSelectedKey","handleSetPaginationProps","batchProps","handleTableFormConfirm","confirmProps","handleCloseDialogEvent","handleConfirmAndClose","addEventListener","updatedDataId","detail","script$2","viewBoards","isLoading","isLoadingDelay","appendNewTabMenuItem","pros","GLayout","GTemplateView","isGlobalLoaded","handleReturnTitle","handleReload","actions","initSocket","rootState","isSocketLink","isSocketFirst","socket","WebSocket","onopen","socketInterval","setInterval","send","onclose","isSocketReset","socketTimeout","dispatchEvent","CustomEvent","onerror","onmessage","user","sendRegisterMessage","sendUnregisterMessage","stores","namespaced","menuConfig","realName","userPermissions","userMenu","initTabMenuList","userEdificeKey","matchMedia","setUserLoginStatus","status","setGlobalLoadingStatus","toggleSideBarCollapse","setInitTabMenuList","setTabMenuList","setSettingConfig","configKey","setThemeSettingConfig","setMenuConfig","reloadGlobal","initSettingConfig","userLoadInit","userLogout","removeItem","clear","loadLocalTheme","changeTheme","changeMode","isDarkMode","documentElement","changeBrandTheme","updateMenuConfig","initTabMenu","homeTabMenuItem","isHome","appendTabMenuItem","newItem","find","subtractCurrentTabMenuItem","subtractTabMenuItemBehind","subtractTabMenuItemAhead","subtractTabMenuItemOther","tempItem","clearTabMenuItem","getPropsByPropsKey","propsKeys","propsKey","mutations","setSource","initSource","stem","isAddOrEditDialogShow","currentDialogType","menuData","menuForm","menuFormRules","menuTable","commonTable","menuTreeNodeData","getTreeNode","flatMenuData","currentDialogTitle","menuParentKeyOptions","handleFilterMenuItem","handleFilterMenuGroup","handleAddMenuGroup","handleUpdateFormValue","handleEditMenu","cloneDeep","handleMoveItemTo","resetMenuGroupForm","handleAddMenuGroupChildrenItem","handleRemoveMenuGroupChildrenItem","splice","handleMoveItemAction","currentName","targetParentName","remove","appendTo","handleSaveMenuGroupForm","menuFormRef","setData","updateMenuTable","handleMoveSort","getData","currentIndex","handleSortAction","tempData","handleRemoveGroup","tempChildrenArr","resetData","resetMenu","saveMenuResult","flattenMenu","handleBeforeDragSort","targetIndex","currentLevel","targetLevel","targetParent","onAbnormalDragSort","code","install","Vue","userConfig","component","GView","registerModule"],"mappings":"uZAAA,SAASA,EAAYC,EAAKC,QACX,IAARA,IAAiBA,EAAM,CAAA,GAC5B,IAAIC,EAAWD,EAAIC,SAEnB,GAAKF,GAA2B,oBAAbG,SAAnB,CAEA,IAAIC,EAAOD,SAASC,MAAQD,SAASE,qBAAqB,QAAQ,GAC9DC,EAAQH,SAASI,cAAc,SACnCD,EAAME,KAAO,WAEI,QAAbN,GACEE,EAAKK,WACPL,EAAKM,aAAaJ,EAAOF,EAAKK,YAKhCL,EAAKO,YAAYL,GAGfA,EAAMM,WACRN,EAAMM,WAAWC,QAAUb,EAE3BM,EAAMK,YAAYR,SAASW,eAAed,GAnBW,CAqBzD,suaCzBA,ICOIe,EAAOC,EDPPC,EAAQ,SAAUC,GACpB,OAAOA,GAAMA,EAAGC,MAAQA,MAAQD,CAClC,EAGcE,EAEZH,EAA2B,iBAAdI,YAA0BA,aACvCJ,EAAuB,iBAAVK,QAAsBA,SAEnCL,EAAqB,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ukB,KAAM,YACNvkB,KAAM,YAEV,CACIukB,KAAM,eACNvkB,KAAM,eAEV,CACIukB,KAAM,YACNvkB,KAAM,YAEV,CACIukB,KAAM,QACNvkB,KAAM,SAEV,CACIukB,KAAM,OACNvkB,KAAM,QAGV,CACIukB,KAAM,iBACNvkB,KAAM,iBAEV,CACIukB,KAAM,eACNvkB,KAAM,eAEV,CACIukB,KAAM,QACNvkB,KAAM,SAEV,CACIukB,KAAM,OACNvkB,KAAM,QAEV,CACIukB,KAAM,mBACNvkB,KAAM,mBAEV,CACIukB,KAAM,aACNvkB,KAAM,cAEV,CACIukB,KAAM,YACNvkB,KAAM,aAEV,CACIukB,KAAM,SACNvkB,KAAM,UAEV,CACIukB,KAAM,UACNvkB,KAAM,WAEV,CACIukB,KAAM,kBACNvkB,KAAM,kBAEV,CACIukB,KAAM,WACNvkB,KAAM,YAEV,CACIukB,KAAM,WACNvkB,KAAM,YAEV,CACIukB,KAAM,SACNvkB,KAAM,SAEV,CACIukB,KAAM,OACNvkB,KAAM,QAGV,CACIukB,KAAM,WACNvkB,KAAM,WAEV,CACIukB,KAAM,YACNvkB,KAAM,YAEV,CACIukB,KAAM,aACNvkB,KAAM,aAEV,CACIukB,KAAM,YACNvkB,KAAM,YAEV,CACIukB,KAAM,aACNvkB,KAAM,aAEV,CACIukB,KAAM,aACNvkB,KAAM,aAEV,CACIukB,KAAM,WACNvkB,KAAM,WAEV,CACIukB,KAAM,kBACNvkB,KAAM,kBAEV,CACIukB,KAAM,eACNvkB,KAAM,eAEV,CACIukB,KAAM,YACNvkB,KAAM,YAEV,CACIukB,KAAM,OACNvkB,KAAM,QAEV,CACIukB,KAAM,eACNvkB,KAAM,eAEV,CACIukB,KAAM,SACNvkB,KAAM,UAEV,CACIukB,KAAM,OACNvkB,KAAM,QAEV,CACIukB,KAAM,aACNvkB,KAAM,aAEV,CACIukB,KAAM,cACNvkB,KAAM,cAEV,CACIukB,KAAM,SACNvkB,KAAM,UAEV,CACIukB,KAAM,OACNvkB,KAAM,QAGV,CACIukB,KAAM,OACNvkB,KAAM,QAEV,CACIukB,KAAM,eACNvkB,KAAM,eAEV,CACIukB,KAAM,QACNvkB,KAAM,SAEV,CACIukB,KAAM,qBACNvkB,KAAM,oBAEV,CACIukB,KAAM,cACNvkB,KAAM,cAEV,CACIukB,KAAM,UACNvkB,KAAM,WAEV,CACIukB,KAAM,OACNvkB,KAAM,QAEV,CACIukB,KAAM,YACNvkB,KAAM,aAEV,CACIukB,KAAM,cACNvkB,KAAM,cAEV,CACIukB,KAAM,QACNvkB,KAAM,SAEV,CACIukB,KAAM,qBACNvkB,KAAM,oBAEV,CACIukB,KAAM,cACNvkB,KAAM,cAEV,CACIukB,KAAM,WACNvkB,KAAM,YAEV,CACIukB,KAAM,OACNvkB,KAAM,QAEV,CACIukB,KAAM,SACNvkB,KAAM,UAEV,CACIukB,KAAM,SACNvkB,KAAM,UAEV,CACIukB,KAAM,cACNvkB,KAAM,cAEV,CACIukB,KAAM,OACNvkB,KAAM,QAEV,CACIukB,KAAM,WACNvkB,KAAM,YAEV,CACIukB,KAAM,WACNvkB,KAAM,WAEV,CACIukB,KAAM,UACNvkB,KAAM,UAEV,CACIukB,KAAM,QACNvkB,KAAM,SAEV,CACIukB,KAAM,eACNvkB,KAAM,eAEV,CACIukB,KAAM,oBACNvkB,KAAM,mBAEV,CACIukB,KAAM,aACNvkB,KAAM,aAEV,CACIukB,KAAM,qBACNvkB,KAAM,oBAEV,CACIukB,KAAM,cACNvkB,KAAM,cAEV,CACIukB,KAAM,eACNvkB,KAAM,eAEV,CACIukB,KAAM,qBACNvkB,KAAM,oBAEV,CACIukB,KAAM,cACNvkB,KAAM,cAEV,CACIukB,KAAM,iBACNvkB,KAAM,gBAEV,CACIukB,KAAM,UACNvkB,KAAM,UAEV,CACIukB,KAAM,UACNvkB,KAAM,UAEV,CACIukB,KAAM,cACNvkB,KAAM,cAEV,CACIukB,KAAM,aACNvkB,KAAM,aAEV,CACIukB,KAAM,sBACNvkB,KAAM,qBAEV,CACIukB,KAAM,eACNvkB,KAAM,eAEV,CACIukB,KAAM,SACNvkB,KAAM,UAEV,CACIukB,KAAM,OACNvkB,KAAM,QAEV,CACIukB,KAAM,YACNvkB,KAAM,YAEV,CACIukB,KAAM,cACNvkB,KAAM,cAGV,CACIukB,KAAM,SACNvkB,KAAM,UAEV,CACIukB,KAAM,iBACNvkB,KAAM,iBAEV,CACIukB,KAAM,SACNvkB,KAAM,UAEV,CACIukB,KAAM,eACNvkB,KAAM,eAEV,CACIukB,KAAM,sBACNvkB,KAAM,sBAEV,CACIukB,KAAM,eACNvkB,KAAM,gBAEV,CACIukB,KAAM,QACNvkB,KAAM,SAEV,CACIukB,KAAM,aACNvkB,KAAM,aAEV,CACIukB,KAAM,MACNvkB,KAAM,OAEV,CACIukB,KAAM,qBACNvkB,KAAM,oBAEV,CACIukB,KAAM,qBACNvkB,KAAM,oBAEV,CACIukB,KAAM,cACNvkB,KAAM,cAEV,CACIukB,KAAM,OACNvkB,KAAM,QAEV,CACIukB,KAAM,WACNvkB,KAAM,YAEV,CACIukB,KAAM,kBACNvkB,KAAM,kBAEV,CACIukB,KAAM,WACNvkB,KAAM,YAEV,CACIukB,KAAM,QACNvkB,KAAM,SAEV,CACIukB,KAAM,SACNvkB,KAAM,UAEV,CACIukB,KAAM,QACNvkB,KAAM,SAEV,CACIukB,KAAM,YACNvkB,KAAM,aAEV,CACIukB,KAAM,UACNvkB,KAAM,WAEV,CACIukB,KAAM,aACNvkB,KAAM,cAEV,CACIukB,KAAM,YACNvkB,KAAM,YAEV,CACIukB,KAAM,WACNvkB,KAAM,YAEV,CACIukB,KAAM,OACNvkB,KAAM,QAEV,CACIukB,KAAM,SACNvkB,KAAM,UAEV,CACIukB,KAAM,UACNvkB,KAAM,WAEV,CACIukB,KAAM,SACNvkB,KAAM,UAEV,CACIukB,KAAM,UACNvkB,KAAM,WAEV,CACIukB,KAAM,UACNvkB,KAAM,WAEV,CACIukB,KAAM,QACNvkB,KAAM,SAEV,CACIukB,KAAM,OACNvkB,KAAM,QAEV,CACIukB,KAAM,QACNvkB,KAAM,SAEV,CACIukB,KAAM,QACNvkB,KAAM,SAEV,CACIukB,KAAM,cACNvkB,KAAM,cAEV,CACIukB,KAAM,OACNvkB,KAAM,QAEV,CACIukB,KAAM,aACNvkB,KAAM,aAEV,CACIukB,KAAM,WACNvkB,KAAM,WAEV,CACIukB,KAAM,cACNvkB,KAAM,cAEV,CACIukB,KAAM,OACNvkB,KAAM,QAEV,CACIukB,KAAM,OACNvkB,KAAM,QAEV,CACIukB,KAAM,QACNvkB,KAAM,SAEV,CACIukB,KAAM,cACNvkB,KAAM,cAEV,CACIukB,KAAM,cACNvkB,KAAM,cAEV,CACIukB,KAAM,SACNvkB,KAAM,UAEV,CACIukB,KAAM,MACNvkB,KAAM,OAEV,CACIukB,KAAM,WACNvkB,KAAM,WAEV,CACIukB,KAAM,cACNvkB,KAAM,cAEV,CACIukB,KAAM,cACNvkB,KAAM,cAEV,CACIukB,KAAM,aACNvkB,KAAM,aAEV,CACIukB,KAAM,YACNvkB,KAAM,YAEV,CACIukB,KAAM,OACNvkB,KAAM,QAEV,CACIukB,KAAM,gBACNvkB,KAAM,gBAEV,CACIukB,KAAM,kBACNvkB,KAAM,kBAEV,CACIukB,KAAM,YACNvkB,KAAM,aAEV,CACIukB,KAAM,QACNvkB,KAAM,SAEV,CACIukB,KAAM,cACNvkB,KAAM,cAEV,CACIukB,KAAM,YACNvkB,KAAM,YAEV,CACIukB,KAAM,cACNvkB,KAAM,cAEV,CACIukB,KAAM,SACNvkB,KAAM,UAEV,CACIukB,KAAM,OACNvkB,KAAM,QAEV,CACIukB,KAAM,UACNvkB,KAAM,UAEV,CACIukB,KAAM,WACNvkB,KAAM,YC/WduF,GAAA,CACAvT,KAAA,cACAwT,WAAA,SACAma,iBACAnO,iBACA4J,eACAzC,GACA9E,aAAAA,IAGA3a,OACA,MAAA,CACAoC,UACA0E,QAEAV,MAAA,OACAklB,uBA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