Files
Work-configuration-file/容器化相关配置文件/jar包/scalelink_frontend/dist/static/js/vab-chunk-8357d19b.a3d02b14.js

13 lines
174 KiB
JavaScript
Raw Normal View History

2025-10-07 15:58:15 +08:00
/*!
* build: Vue Admin Plus
* copyright: vue-admin-beautiful.com
* time: 2025-02-28 16:33:07
*/
(self["webpackChunkadmin_plus"]=self["webpackChunkadmin_plus"]||[]).push([[144],{7168:function(e,t,n){"use strict";n.d(t,{K:function(){return k},M:function(){return S}});var o=n(79119),r=n(20671),a=n(28535),l=Object.defineProperty,i=Object.defineProperties,u=Object.getOwnPropertyDescriptors,s=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,f=(e,t,n)=>t in e?l(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,p=(e,t)=>{for(var n in t||(t={}))c.call(t,n)&&f(e,n,t[n]);if(s)for(var n of s(t))d.call(t,n)&&f(e,n,t[n]);return e},v=(e,t)=>i(e,u(t));function m(e){let t=`请使用 '@${e}' 事件,不要放在 props 中`;return t+=`\nPlease use '@${e}' event instead of props`,t}var h=(e,t)=>{for(const[n,o]of t)e[n]=o;return e};const g=(0,o.pM)({props:{mode:{type:String,default:"default"},defaultContent:{type:Array,default:[]},defaultHtml:{type:String,default:""},defaultConfig:{type:Object,default:{}},modelValue:{type:String,default:""}},setup(e,t){const n=(0,r.KR)(null),l=(0,r.IJ)(null),i=(0,r.KR)(""),u=()=>{if(!n.value)return;const o=(0,r.ux)(e.defaultContent);(0,a.ie)({selector:n.value,mode:e.mode,content:o||[],html:e.defaultHtml||e.modelValue||"",config:v(p({},e.defaultConfig),{onCreated(n){if(l.value=n,t.emit("onCreated",n),e.defaultConfig.onCreated){const e=m("onCreated");throw new Error(e)}},onChange(n){const o=n.getHtml();if(i.value=o,t.emit("update:modelValue",o),t.emit("onChange",n),e.defaultConfig.onChange){const e=m("onChange");throw new Error(e)}},onDestroyed(n){if(t.emit("onDestroyed",n),e.defaultConfig.onDestroyed){const e=m("onDestroyed");throw new Error(e)}},onMaxLength(n){if(t.emit("onMaxLength",n),e.defaultConfig.onMaxLength){const e=m("onMaxLength");throw new Error(e)}},onFocus(n){if(t.emit("onFocus",n),e.defaultConfig.onFocus){const e=m("onFocus");throw new Error(e)}},onBlur(n){if(t.emit("onBlur",n),e.defaultConfig.onBlur){const e=m("onBlur");throw new Error(e)}},customAlert(n,o){if(t.emit("customAlert",n,o),e.defaultConfig.customAlert){const e=m("customAlert");throw new Error(e)}},customPaste:(n,o)=>{if(e.defaultConfig.customPaste){const e=m("customPaste");throw new Error(e)}let r;return t.emit("customPaste",n,o,(e=>{r=e})),r}})})};function s(e){const t=l.value;null!=t&&t.setHtml(e)}return(0,o.sV)((()=>{u()})),(0,o.wB)((()=>e.modelValue),(e=>{e!==i.value&&s(e)})),{box:n}}}),b={ref:"box",style:{height:"100%"}};function y(e,t,n,r,a,l){return(0,o.uX)(),(0,o.CE)("div",b,null,512)}var k=h(g,[["render",y]]);const w=(0,o.pM)({props:{editor:{type:Object},mode:{type:String,default:"default"},defaultConfig:{type:Object,default:{}}},setup(e){const t=(0,r.KR)(null),n=n=>{if(t.value){if(null==n)throw new Error("Not found instance of Editor when create <Toolbar/> component");a.ok.getToolbar(n)||(0,a.Qr)({editor:n,selector:t.value||"<div></div>",mode:e.mode,config:e.defaultConfig})}};return(0,o.nT)((()=>{const{editor:t}=e;null!=t&&n(t)})),{selector:t}}}),_={ref:"selector"};function x(e,t,n,r,a,l){return(0,o.uX)(),(0,o.CE)("div",_,null,512)}var S=h(w,[["render",x]])},3132:function(e,t,n){"use strict";
/**!
* Sortable 1.14.0
* @author RubaXa <trash@rubaxa.org>
* @author owenm <owen23355@gmail.com>
* @license MIT
*/
function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function r(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function a(e){return a="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},i.apply(this,arguments)}function u(e,t){if(null==e)return{};var n,o,r={},a=Object.keys(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}function s(e,t){if(null==e)return{};var n,o,r=u(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function c(e){return d(e)||f(e)||p(e)||m()}function d(e){if(Array.isArray(e))return v(e)}function f(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function p(e,t){if(e){if("string"===typeof e)return v(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?v(e,t):void 0}}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function m(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.r(t),n.d(t,{MultiDrag:function(){return Xt},Sortable:function(){return nt},Swap:function(){return Pt}});var h="1.14.0";function g(e){if("undefined"!==typeof window&&window.navigator)return!!navigator.userAgent.match(e)}var b=g(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),y=g(/Edge/i),k=g(/firefox/i),w=g(/safari/i)&&!g(/chrome/i)&&!g(/android/i),_=g(/iP(ad|od|hone)/i),x=g(/chrome/i)&&g(/android/i),S={capture:!1,passive:!1};function E(e,t,n){e.addEventListener(t,n,!b&&S)}function C(e,t,n){e.removeEventListener(t,n,!b&&S)}function L(e,t){if(t){if(">"===t[0]&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch(n){return!1}return!1}}function F(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function A(e,t,n,o){if(e){n=n||document;do{if(null!=t&&(">"===t[0]?e.parentNode===n&&L(e,t):L(e,t))||o&&e===n)return e;if(e===n)break}while(e=F(e))}return null}var D,P=/\s+/g;function O(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var o=(" "+e.className+" ").replace(P," ").replace(" "+t+" "," ");e.className=(o+(n?" "+t:"")).replace(P," ")}}function V(e,t,n){var o=e&&e.style;if(o){if(void 0===n)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(n=e.currentStyle),void 0===t?n:n[t];t in o||-1!==t.indexOf("webkit")||(t="-webkit-"+t),o[t]=n+("string"===typeof n?"":"px")}}function R(e,t){var n="";if("string"===typeof e)n=e;else do{var o=V(e,"transform");o&&"none"!==o&&(n=o+" "+n)}while(!t&&(e=e.parentNode));var r=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return r&&new r(n)}function T(e,t,n){if(e){var o=e.getElementsByT