@gonsin/gview 1.1.15 → 1.1.17
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 +15 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +5 -3
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
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/GFormEditor.vue","../packages/components/GForm/components/GFormBlock.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};\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\";\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 public constructor(config: AxiosRequestConfig) {\n // 生成 sessionId\n this.sessionId = loadNanoId;\n\n // 实例化axios\n this.service = axios.create(config);\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 NProgress.done();\n return data;\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\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};\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};\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 formModel: {},\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};\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};\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};\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};\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};\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};\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 :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 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 (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 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 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};\n</script>\n\n<style lang=\"scss\" scoped></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 = `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 = `end_${this.name}`;\n }\n },\n handleClassShow() {\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.classList.add(\"block-item-hidden\");\n if (el.matches(`#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 if (el.matches(`#end_${this.name}`)) {\n break;\n }\n el.classList.remove(\"block-item-hidden\");\n }\n }\n },\n },\n mounted() {\n this.updateId();\n this.handleClassShow();\n },\n watch: {\n showIf: {\n handler() {\n this.updateId();\n this.handleClassShow();\n },\n immediate: true,\n deep: true,\n },\n },\n};\n</script>\n\n<style lang=\"scss\">\n.block-item-hidden {\n display: none;\n}\n</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 <t-divider v-if=\"item.itemType === 'line' && item.name && handleItemShowIf(item.showIf)\" align=\"left\">\n {{ item.name }}\n </t-divider>\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 />\n <t-form-item\n :id=\"item.name\"\n v-if=\"\n item.itemType !== 'line' &&\n item.itemType !== 'hidden' &&\n item.itemType !== 'block_start' &&\n item.itemType !== 'block_end' &&\n handleItemShowIf(item.showIf, item)\n \"\n :requiredMark=\"\n formWhiteList.indexOf(item.keyName) == -1 &&\n item.required &&\n !handleItemDisableIf(item.disableIf, item)\n \"\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 />\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 />\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 />\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 />\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 />\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 />\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 />\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 />\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 />\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 />\n\n <!-- 富文本编辑器 -->\n <GFormEditor\n v-if=\"item.itemType === 'rich_text'\"\n :modelValue=\"getProperty(formModel, item.keyName)\"\n :disabled=\"handleItemDisableIf(item.disableIf)\"\n />\n </t-form-item>\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 GFormLabel from \"./components/GFormLabel.vue\";\nimport GFormInput from \"./components/GFormInput.vue\";\nimport GFormCheckBox from \"./components/GFormCheckBox.vue\";\nimport GFormSwitch from \"./components/GFormSwitch.vue\";\nimport GFormRadio from \"./components/GFormRadio.vue\";\nimport GFormSelect from \"./components/GFormSelect.vue\";\nimport GFormSelectDateTime from \"./components/GFormSelectDateTime.vue\";\nimport GFormTreeCheckBox from \"./components/GFormTreeCheckBox.vue\";\nimport GFormCascader from \"./components/GFormCascader.vue\";\nimport GFormUpload from \"./components/GFormUpload.vue\";\nimport GFormEditor from \"./components/GFormEditor.vue\";\nimport GFormBlock from \"./components/GFormBlock.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 GFormLabel,\n GFormInput,\n GFormCheckBox,\n GFormSwitch,\n GFormRadio,\n GFormSelect,\n GFormSelectDateTime,\n GFormTreeCheckBox,\n GFormCascader,\n GFormUpload,\n GFormEditor,\n GFormBlock,\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 const currentFormItems = [];\n this.$refs.commonForm.$children.forEach((item) => {\n item.$children.forEach((item) => {\n if ((item.$el.id ?? \"\") != \"\" && !item.$el.classList.contains(\"block-item-hidden\")) {\n currentFormItems.push(item.$vnode.componentOptions.propsData);\n }\n });\n });\n\n let tempRules = {};\n if (currentFormItems.length) {\n // 处理表单项的必填规则\n currentFormItems.forEach((item) => {\n // console.log(currentFormItems);\n let itemTempRules = [];\n if (item.requiredMark && (item.name ?? \"\") != \"\") {\n itemTempRules.push({\n validator: () => {\n if (isVoid(getProperty(this.formModel, item.name))) {\n return { result: true };\n } else {\n const itemName = item.label.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.name == \"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.name == \"startTime\" || item.name == \"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 // return {\n // result: true,\n // };\n },\n });\n }\n\n if (itemTempRules.length) {\n tempRules[item.name] = itemTempRules;\n }\n });\n }\n\n this.formRules = { ...tempRules };\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 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 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 // 设置为隐藏后清空表单填写过的数据,以防提交非空数据\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 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 },\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 this.$router.push(button.link);\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\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: \"loading\",\n icon: \"Loading\",\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\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$y","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$v","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","_typeof","_toPropertyKey","arg","hint","prim","_defineProperty","loadNanoId","localSessionId","sessionStorage","getItem","newSessionId","setItem","http","sessionId","service","axios","create","interceptors","request","use","userToken","JSON","parse","localStorage","token","tokenExpiredTime","lang","userInfo","language","headers","start","Promise","reject","done","async","MessagePlugin","params","_object","post","put","delete","timeout","withCredentials","viewApiUrl","getOneView","getViewData","targetViewName","size","multiple","queryProps","immediate","listData","propsModel","tempModel","viewName","getSelectData","dateTimeValue","itemType","dayjs","format","script$l","GCommonHeader","GFormInput","GFormSelect","GFormSelectDateTime","GHeaderUpload","uploadData","handleUploadSuccess","event","uploadResult","shift","handleUploadError","headerInfo","formModel","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","formItems","handleAfterUpdateValue","$forceUpdate","handleAfterValueBlur","newValue","VueQr","boardInfo","tableData","paginationProps","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","quillEditor","handleEditorChange","content","html","blockType","blockId","updateId","handleClassShow","$refs","matches","nextElementSibling","classList","remove","add","GCommonForm","GFormEditor","GFormBlock","formData","formRules","formWhiteList","formOkButton","okButton","formCancelButton","cancelButton","initEmptyFormItems","initFormRules","currentFormItems","commonForm","$children","$el","contains","$vnode","componentOptions","propsData","tempRules","itemTempRules","requiredMark","validator","handleButtonClick","form","validate","then","firstError","values","warning","buttonId","fields","handleAfterUpload","handleItemShowIf","handleItemDisableIf","disableIf","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","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","initTabMenuList","userMenu","realName","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","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,E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6D,QAAA,aACA,GAIA,OAFA0C,GACAzC,QAAAroB,MAAA8qB,EACA,CACA,EAEA0Q,qBAAAlpB,GACA,MAAA1J,QAAAA,EAAA6E,OAAAA,EAAAstB,aAAAA,EAAAU,YAAAA,GAAAnpB,EACAopB,EAAA9yB,EAAAmL,MACAoN,EAAAvY,EAAAkL,OACA6nB,EAAAluB,EAAAsG,MACA6nB,EAAAnuB,EAAAqG,OAKA,GAAA4nB,GAAAC,EAAA,CAEA,GAAAxa,GAAAya,EACA,OAAA,EAIArX,gBAAA+N,KAAA,yBAEA,MAEA/N,gBAAA+N,KAAA,yBAGA,OADA1yB,KAAAg7B,mBACA,CACA,EACAiB,mBAAAvpB,GACA,OAAAA,EAAAwpB,MACAvX,gBAAAvkB,MAAA,mBAEA,GAEAwhB,UACA5hB,KAAAo0B,sBACA,wqPA3nBc3Z,kDCMd,SAAS0hB,GAAQC,EAAKC,GAEdD,EAAAE,UAAU,QAASC,IAGvBj8B,OAAOuJ,KAAKmsB,IAAQhhB,SAAStP,IACzB22B,EAAWt2B,MAAMy2B,eAAe92B,EAAKswB,GAAOtwB,GAAI,GAExD,CAGsB,oBAAX5F,QAA0BA,OAAOs8B,KACxCD,GAAQr8B,OAAOs8B,KAKnB,IAAervB,GAAA,CACXovB"}
|
|
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/GFormEditor.vue","../packages/components/GForm/components/GFormBlock.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\nexport function customNanoid(alphabet: string, length: number = 32) {\n return customAlphabet(alphabet, length)(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};\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};\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};\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};\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};\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};\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};\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};\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};\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 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};\n</script>\n\n<style lang=\"scss\" scoped></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 = `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 = `end_${this.name}`;\n }\n },\n handleClassShow() {\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.classList.add(\"block-item-hidden\");\n if (el.matches(`#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 if (el.matches(`#end_${this.name}`)) {\n break;\n }\n el.classList.remove(\"block-item-hidden\");\n }\n }\n },\n },\n mounted() {\n this.updateId();\n this.handleClassShow();\n },\n watch: {\n showIf: {\n handler() {\n this.updateId();\n this.handleClassShow();\n },\n immediate: true,\n deep: true,\n },\n },\n};\n</script>\n\n<style lang=\"scss\">\n.block-item-hidden {\n display: none;\n}\n</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 <t-divider v-if=\"item.itemType === 'line' && item.name && handleItemShowIf(item.showIf)\" align=\"left\">\n {{ item.name }}\n </t-divider>\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 />\n <t-form-item\n :id=\"item.name\"\n v-if=\"\n item.itemType !== 'line' &&\n item.itemType !== 'hidden' &&\n item.itemType !== 'block_start' &&\n item.itemType !== 'block_end' &&\n handleItemShowIf(item.showIf, item)\n \"\n :requiredMark=\"\n formWhiteList.indexOf(item.keyName) == -1 &&\n item.required &&\n !handleItemDisableIf(item.disableIf, item)\n \"\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 />\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 />\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 />\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 />\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 />\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 />\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 />\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 />\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 />\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 />\n\n <!-- 富文本编辑器 -->\n <GFormEditor\n v-if=\"item.itemType === 'rich_text'\"\n :modelValue=\"getProperty(formModel, item.keyName)\"\n :disabled=\"handleItemDisableIf(item.disableIf)\"\n />\n </t-form-item>\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 GFormLabel from \"./components/GFormLabel.vue\";\nimport GFormInput from \"./components/GFormInput.vue\";\nimport GFormCheckBox from \"./components/GFormCheckBox.vue\";\nimport GFormSwitch from \"./components/GFormSwitch.vue\";\nimport GFormRadio from \"./components/GFormRadio.vue\";\nimport GFormSelect from \"./components/GFormSelect.vue\";\nimport GFormSelectDateTime from \"./components/GFormSelectDateTime.vue\";\nimport GFormTreeCheckBox from \"./components/GFormTreeCheckBox.vue\";\nimport GFormCascader from \"./components/GFormCascader.vue\";\nimport GFormUpload from \"./components/GFormUpload.vue\";\nimport GFormEditor from \"./components/GFormEditor.vue\";\nimport GFormBlock from \"./components/GFormBlock.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 GFormLabel,\n GFormInput,\n GFormCheckBox,\n GFormSwitch,\n GFormRadio,\n GFormSelect,\n GFormSelectDateTime,\n GFormTreeCheckBox,\n GFormCascader,\n GFormUpload,\n GFormEditor,\n GFormBlock,\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 const currentFormItems = [];\n this.$refs.commonForm.$children.forEach((item) => {\n item.$children.forEach((item) => {\n if ((item.$el.id ?? \"\") != \"\" && !item.$el.classList.contains(\"block-item-hidden\")) {\n currentFormItems.push(item.$vnode.componentOptions.propsData);\n }\n });\n });\n\n let tempRules = {};\n if (currentFormItems.length) {\n // 处理表单项的必填规则\n currentFormItems.forEach((item) => {\n // console.log(currentFormItems);\n let itemTempRules = [];\n if (item.requiredMark && (item.name ?? \"\") != \"\") {\n itemTempRules.push({\n validator: () => {\n if (isVoid(getProperty(this.formModel, item.name))) {\n return { result: true };\n } else {\n const itemName = item.label.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.name == \"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.name == \"startTime\" || item.name == \"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 // return {\n // result: true,\n // };\n },\n });\n }\n\n if (itemTempRules.length) {\n tempRules[item.name] = itemTempRules;\n }\n });\n }\n\n this.formRules = { ...tempRules };\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 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 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 // 设置为隐藏后清空表单填写过的数据,以防提交非空数据\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 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 },\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","alphabet","script$y","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$v","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","_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$l","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","quillEditor","handleEditorChange","content","html","blockType","blockId","updateId","handleClassShow","$refs","matches","nextElementSibling","classList","remove","add","GCommonForm","GFormEditor","GFormBlock","formData","formRules","formWhiteList","formOkButton","okButton","formCancelButton","cancelButton","initEmptyFormItems","initFormRules","currentFormItems","commonForm","$children","$el","contains","$vnode","componentOptions","propsData","tempRules","itemTempRules","requiredMark","validator","handleButtonClick","form","validate","then","firstError","values","warning","buttonId","fields","handleAfterUpload","handleItemShowIf","handleItemDisableIf","disableIf","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","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,iBAARM,MAAoBA,OACjCN,EAAuB,iBAAVG,GAAsBA,IAElC,WAAc,OAAOI,IAAO,CAA5B,IAAmCC,SAAS,cAATA,GEbxBC,EAAG,SAAUC,GACzB,IACE,QAASA,GAGV,CAFC,MAAOC,GACP,OAAO,CACR,CACH,ECHAC,GAAkBH,GAAM,WAEtB,OAA8E,GAAvEI,OAAOC,eAAe,CAAE,EAAE,EAAG,CAAEC,IAAK,WAAc,OAAO,CAAI,IAAI,EAC1E,ICJAC,GAAkBP,GAAM,WAEtB,IAAIQ,EAAQ,aAA6BC,OAEzC,MAAsB,mBAARD,GAAsBA,EAAKE,eAAe,YAC1D,ICLIC,EAAOZ,SAASa,UAAUD,KAEhBE,EAAGC,EAAcH,EAAKF,KAAKE,GAAQ,WAC/C,OAAOA,EAAKI,MAAMJ,EAAMK,UAC1B,ECLIC,EAAwB,CAAE,EAACC,qBAE3BC,E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