pennsieve-dashboard 1.0.1 → 1.0.2
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.
|
@@ -415,7 +415,7 @@ const at = Zs("globalPensieveDashVars", () => {
|
|
|
415
415
|
], 64);
|
|
416
416
|
};
|
|
417
417
|
}
|
|
418
|
-
}), _o = /* @__PURE__ */ De(yn, [["__scopeId", "data-v-
|
|
418
|
+
}), _o = /* @__PURE__ */ De(yn, [["__scopeId", "data-v-48977469"]]);
|
|
419
419
|
function hi() {
|
|
420
420
|
return {
|
|
421
421
|
async: !1,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(V,a){typeof exports=="object"&&typeof module<"u"?a(exports,require("vue"),require("pinia"),require("element-plus")):typeof define=="function"&&define.amd?define(["exports","vue","pinia","element-plus"],a):(V=typeof globalThis<"u"?globalThis:V||self,a(V["pennsieve-dashboard"]={},V.Vue,V.Pinia,V.ElementPlus))})(this,function(V,a,he,Ye){"use strict";var kr=Object.defineProperty;var Er=(V,a,he)=>a in V?kr(V,a,{enumerable:!0,configurable:!0,writable:!0,value:he}):V[a]=he;var P=(V,a,he)=>Er(V,typeof a!="symbol"?a+"":a,he);/*! Element Plus Icons Vue v2.3.2 */var $t;var os=a.defineComponent({name:"CircleCloseFilled",__name:"circle-close-filled",setup(l){return(e,t)=>(a.openBlock(),a.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[a.createElementVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 393.664L407.936 353.6a38.4 38.4 0 1 0-54.336 54.336L457.664 512 353.6 616.064a38.4 38.4 0 1 0 54.336 54.336L512 566.336 616.064 670.4a38.4 38.4 0 1 0 54.336-54.336L566.336 512 670.4 407.936a38.4 38.4 0 1 0-54.336-54.336z"})]))}}),as=os,ls=a.defineComponent({name:"Close",__name:"close",setup(l){return(e,t)=>(a.openBlock(),a.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[a.createElementVNode("path",{fill:"currentColor",d:"M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"})]))}}),cs=ls,hs=a.defineComponent({name:"Edit",__name:"edit",setup(l){return(e,t)=>(a.openBlock(),a.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[a.createElementVNode("path",{fill:"currentColor",d:"M832 512a32 32 0 1 1 64 0v352a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h352a32 32 0 0 1 0 64H192v640h640z"}),a.createElementVNode("path",{fill:"currentColor",d:"m469.952 554.24 52.8-7.552L847.104 222.4a32 32 0 1 0-45.248-45.248L477.44 501.44l-7.552 52.8zm422.4-422.4a96 96 0 0 1 0 135.808l-331.84 331.84a32 32 0 0 1-18.112 9.088L436.8 623.68a32 32 0 0 1-36.224-36.224l15.104-105.6a32 32 0 0 1 9.024-18.112l331.904-331.84a96 96 0 0 1 135.744 0z"})]))}}),ei=hs,ds=a.defineComponent({name:"FullScreen",__name:"full-screen",setup(l){return(e,t)=>(a.openBlock(),a.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[a.createElementVNode("path",{fill:"currentColor",d:"m160 96.064 192 .192a32 32 0 0 1 0 64l-192-.192V352a32 32 0 0 1-64 0V96h64zm0 831.872V928H96V672a32 32 0 1 1 64 0v191.936l192-.192a32 32 0 1 1 0 64zM864 96.064V96h64v256a32 32 0 1 1-64 0V160.064l-192 .192a32 32 0 1 1 0-64zm0 831.872-192-.192a32 32 0 0 1 0-64l192 .192V672a32 32 0 1 1 64 0v256h-64z"})]))}}),us=ds,fs=a.defineComponent({name:"Lock",__name:"lock",setup(l){return(e,t)=>(a.openBlock(),a.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[a.createElementVNode("path",{fill:"currentColor",d:"M224 448a32 32 0 0 0-32 32v384a32 32 0 0 0 32 32h576a32 32 0 0 0 32-32V480a32 32 0 0 0-32-32zm0-64h576a96 96 0 0 1 96 96v384a96 96 0 0 1-96 96H224a96 96 0 0 1-96-96V480a96 96 0 0 1 96-96"}),a.createElementVNode("path",{fill:"currentColor",d:"M512 544a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V576a32 32 0 0 1 32-32m192-160v-64a192 192 0 1 0-384 0v64zM512 64a256 256 0 0 1 256 256v128H256V320A256 256 0 0 1 512 64"})]))}}),ps=fs,gs=a.defineComponent({name:"ScaleToOriginal",__name:"scale-to-original",setup(l){return(e,t)=>(a.openBlock(),a.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[a.createElementVNode("path",{fill:"currentColor",d:"M813.176 180.706a60.235 60.235 0 0 1 60.236 60.235v481.883a60.235 60.235 0 0 1-60.236 60.235H210.824a60.235 60.235 0 0 1-60.236-60.235V240.94a60.235 60.235 0 0 1 60.236-60.235h602.352zm0-60.235H210.824A120.47 120.47 0 0 0 90.353 240.94v481.883a120.47 120.47 0 0 0 120.47 120.47h602.353a120.47 120.47 0 0 0 120.471-120.47V240.94a120.47 120.47 0 0 0-120.47-120.47zm-120.47 180.705a30.12 30.12 0 0 0-30.118 30.118v301.177a30.118 30.118 0 0 0 60.236 0V331.294a30.12 30.12 0 0 0-30.118-30.118m-361.412 0a30.12 30.12 0 0 0-30.118 30.118v301.177a30.118 30.118 0 1 0 60.236 0V331.294a30.12 30.12 0 0 0-30.118-30.118M512 361.412a30.12 30.12 0 0 0-30.118 30.117v30.118a30.118 30.118 0 0 0 60.236 0V391.53A30.12 30.12 0 0 0 512 361.412M512 512a30.12 30.12 0 0 0-30.118 30.118v30.117a30.118 30.118 0 0 0 60.236 0v-30.117A30.12 30.12 0 0 0 512 512"})]))}}),ms=gs,_s=a.defineComponent({name:"Unlock",__name:"unlock",setup(l){return(e,t)=>(a.openBlock(),a.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[a.createElementVNode("path",{fill:"currentColor",d:"M224 448a32 32 0 0 0-32 32v384a32 32 0 0 0 32 32h576a32 32 0 0 0 32-32V480a32 32 0 0 0-32-32zm0-64h576a96 96 0 0 1 96 96v384a96 96 0 0 1-96 96H224a96 96 0 0 1-96-96V480a96 96 0 0 1 96-96"}),a.createElementVNode("path",{fill:"currentColor",d:"M512 544a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V576a32 32 0 0 1 32-32m178.304-295.296A192.064 192.064 0 0 0 320 320v64h352l96 38.4V448H256V320a256 256 0 0 1 493.76-95.104z"})]))}}),ys=_s;const Ne=he.defineStore("globalPensieveDashVars",()=>{const l=a.ref([]),e=a.ref({}),t="dashboard-globalVarsStore",i=a.ref([]),s=a.ref([]),n=a.ref({}),o=a.reactive({}),r=a.reactive({});function d(m,w,I=!1){o[m]=w,r[m]=I}function h(m={}){for(const w of Object.keys(o))delete o[w];Object.assign(o,m)}const c=m=>{delete o[m]};function u(){for(const m of Object.keys(o))delete o[m]}function f(){s.value=[...l.value],h({})}const b=m=>s.value.find(w=>w.id===m),_=(m,w)=>{i.value.push({name:m,value:w})},x=()=>{i.value=[]},H=m=>{n.value=S(m)},E=()=>n.value;function S(m){const w={};if(!m||typeof m!="object")return w;for(const[I,D]of Object.entries(m))if(D&&typeof D=="object"&&!(a.isRef(D)||a.isReactive(D))){const se=Object.getPrototypeOf(D)===Object.prototype;w[I]=se?{...D}:a.markRaw(D)}else w[I]=D;return w}const A=m=>{const w=s.value.find(I=>I.id===m);w&&(w.Props=w.Props||{},w.Props.locked=!w.Props.locked)},R=m=>m.map(w=>{const I=e.value[w.componentKey];return I?{...w,component:I}:null}).filter(w=>!!w);function O(m){}function J(){}return{DASHBOARD_ITEMS:s,DefaultLayout:l,ComponentRegistry:e,optionsData:i,Services:n,Filters:o,displayFilters:r,registerGridProvider:O,unregisterGridProvider:J,setFilter:d,clearFilter:c,clearAllFilters:u,resetFilters:h,resetGridLayout:f,getDashItem:b,toggleWidgetLock:A,addOptionsDataItems:_,clearOptionsDataItems:x,loadFromLocalStorage:()=>{const m=localStorage.getItem(t);if(!m){f();return}try{const w=JSON.parse(m);s.value=Array.isArray(w.items)?R(w.items):[...l.value],h(w.filters??{})}catch(w){console.error("Failed to parse globalVarsStore:",w),s.value=[...l.value],h({})}},setOptionServices:H,getServices:E}}),ws={class:"widget-settings-container"},bs={class:"widget-setting"},xs={class:"dialog-footer"},ks=a.defineComponent({__name:"TextWidgetSettings",props:{showDialog:{type:Boolean},reactiveSourceValue:{},manualEntryValue:{},hideHeaderValue:{type:Boolean}},emits:["close-dialog","update-text-var"],setup(l,{emit:e}){const t=Ne(),{optionsData:i}=he.storeToRefs(t),s=e,n=l,o=a.computed({get:()=>n.showDialog,set:u=>{u||s("close-dialog")}}),r=a.ref(n.reactiveSourceValue??""),d=a.ref(n.manualEntryValue??""),h=a.ref(!!n.hideHeaderValue);a.watch(()=>n.reactiveSourceValue,u=>{r.value=u??""}),a.watch(()=>n.manualEntryValue,u=>{d.value=u??""},{immediate:!0}),a.watch(()=>n.hideHeaderValue,u=>{h.value=!!u});function c(){var _;const u=(r.value||"").trim(),f=u!=="",b=f?null:((_=d.value)==null?void 0:_.trim())||"";s("update-text-var",{reactiveSource:f?u:null,manualEdit:b,hideHeader:h.value}),o.value=!1}return(u,f)=>{const b=a.resolveComponent("el-option"),_=a.resolveComponent("el-select"),x=a.resolveComponent("el-input"),H=a.resolveComponent("el-checkbox"),E=a.resolveComponent("el-button"),S=a.resolveComponent("el-dialog");return a.openBlock(),a.createBlock(S,{class:"full-dialog-dashboard",modelValue:o.value,"onUpdate:modelValue":f[4]||(f[4]=A=>o.value=A),title:"Text Widget Settings","append-to-body":!0},{footer:a.withCtx(()=>[a.createElementVNode("div",xs,[a.createVNode(E,{class:"secondary",onClick:f[3]||(f[3]=A=>o.value=!1)},{default:a.withCtx(()=>[...f[8]||(f[8]=[a.createTextVNode("Cancel",-1)])]),_:1}),a.createVNode(E,{onClick:c},{default:a.withCtx(()=>[...f[9]||(f[9]=[a.createTextVNode("Save",-1)])]),_:1})])]),default:a.withCtx(()=>[a.createElementVNode("div",ws,[a.createElementVNode("div",bs,[f[5]||(f[5]=a.createElementVNode("h4",null,"Select This Widget's Value",-1)),f[6]||(f[6]=a.createElementVNode("h5",null,"Select From Variables",-1)),a.createVNode(_,{modelValue:r.value,"onUpdate:modelValue":f[0]||(f[0]=A=>r.value=A),class:"text-settings-height"},{default:a.withCtx(()=>[(a.openBlock(),a.createBlock(b,{value:"",key:"__manual__",label:"Manual entry"})),(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(a.unref(i),A=>(a.openBlock(),a.createBlock(b,{key:A.name,label:A.name,value:A.name},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),f[7]||(f[7]=a.createElementVNode("h5",null,"Manual Entry",-1)),a.createVNode(x,{modelValue:d.value,"onUpdate:modelValue":f[1]||(f[1]=A=>d.value=A),class:"text-settings-height"},null,8,["modelValue"]),a.createVNode(H,{modelValue:h.value,"onUpdate:modelValue":f[2]||(f[2]=A=>h.value=A),label:"Hide Header"},null,8,["modelValue"])])])]),_:1},8,["modelValue"])}}}),ye=(l,e)=>{const t=l.__vccOpts||l;for(const[i,s]of e)t[i]=s;return t},Es=ye(ks,[["__scopeId","data-v-ea49243b"]]),ti={mounted(l,e){l._clickOutsideHandler=t=>{l===t.target||l.contains(t.target)||typeof e.value=="function"&&e.value(t)},document.addEventListener("click",l._clickOutsideHandler)},unmounted(l){document.removeEventListener("click",l._clickOutsideHandler),delete l._clickOutsideHandler}},vs={key:0},Ts=ye(a.defineComponent({inheritAttrs:!1,__name:"TextWidget",props:{displayText:{},bindedKey:{},widgetID:{},hideHeader:{type:Boolean}},setup(l){const e=Ne(),t=l;a.inject("dashboard:globalVars",null);const i=a.ref(t.displayText??"");a.watch(()=>t.displayText,E=>{i.value=E??""},{immediate:!0});const s=a.computed(()=>!!(t.bindedKey&&t.bindedKey.trim()!=="")),n=a.computed(()=>{var R;const E=(R=t.bindedKey)==null?void 0:R.trim();if(!E)return"—";const S=e.optionsData.find(O=>(O==null?void 0:O.name)===E),A=S==null?void 0:S.value;return Array.isArray(A)?A.join(", "):A&&typeof A=="object"?JSON.stringify(A):A??"—"}),o=a.ref("Text Widget"),r=a.shallowRef([{comp:ei,event:b,tooltip:"open Text settings"}]),d=a.ref(!1),h=a.ref(null);function c(){var E,S;d.value=!0,(S=(E=h.value)==null?void 0:E.focus)==null||S.call(E)}function u(){d.value=!1}const f=a.ref(!1);function b(){f.value=!0}function _(){f.value=!1}function x({manualEdit:E,reactiveSource:S,hideHeader:A}){const R=e.getDashItem(t.widgetID);R&&(R.hideHeader=A,S&&S.trim()!==""?(R.Props=R.Props||{},R.Props.bindedKey=S,R.Props.displayText=null,R.componentName=H(S)):(R.Props=R.Props||{},R.Props.bindedKey=null,R.Props.displayText=E??"",R.componentName=E??"Text"))}function H(E){return E?E.replace(/([a-z])([A-Z])/g,"$1 $2").replace(/^./,S=>S.toUpperCase()):""}return(E,S)=>{const A=a.resolveComponent("el-input");return a.openBlock(),a.createElementBlock(a.Fragment,null,[a.renderSlot(E.$slots,"default",{widgetName:o.value,childIcons:r.value},void 0,!0),a.createElementVNode("div",a.mergeProps({class:"text-widget-wrap"},E.$attrs),[s.value?(a.openBlock(),a.createElementBlock("div",vs,[a.createElementVNode("h2",null,a.toDisplayString(n.value),1)])):a.withDirectives((a.openBlock(),a.createElementBlock("div",{key:1,onKeyup:a.withKeys(u,["enter"]),class:"tw-flex"},[a.withDirectives(a.createElementVNode("div",null,[a.createVNode(A,{ref_key:"textUserInput",ref:h,modelValue:i.value,"onUpdate:modelValue":S[0]||(S[0]=R=>i.value=R),onFocus:S[1]||(S[1]=R=>{var O,J;return(J=(O=R.target)==null?void 0:O.select)==null?void 0:J.call(O)})},null,8,["modelValue"])],512),[[a.vShow,d.value]]),a.withDirectives(a.createElementVNode("div",{onClick:S[2]||(S[2]=R=>c()),class:"tw-w-full tw-h-full"},[a.createElementVNode("h2",null,a.toDisplayString(i.value),1)],512),[[a.vShow,!d.value]])],32)),[[a.unref(ti),u]])],16),a.createVNode(Es,{"show-dialog":f.value,"reactive-source-value":t.bindedKey||"","manual-entry-value":i.value,"hide-header-value":t.hideHeader||!1,onCloseDialog:_,onUpdateTextVar:x},null,8,["show-dialog","reactive-source-value","manual-entry-value","hide-header-value"])],64)}}}),[["__scopeId","data-v-9a9adb8c"]]);function xt(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var be=xt();function ii(l){be=l}var De={exec:()=>null};function z(l,e=""){let t=typeof l=="string"?l:l.source;const i={replace:(s,n)=>{let o=typeof n=="string"?n:n.source;return o=o.replace(Y.caret,"$1"),t=t.replace(s,o),i},getRegex:()=>new RegExp(t,e)};return i}var Y={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:l=>new RegExp(`^( {0,3}${l})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:l=>new RegExp(`^ {0,${Math.min(3,l-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:l=>new RegExp(`^ {0,${Math.min(3,l-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:l=>new RegExp(`^ {0,${Math.min(3,l-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:l=>new RegExp(`^ {0,${Math.min(3,l-1)}}#`),htmlBeginRegex:l=>new RegExp(`^ {0,${Math.min(3,l-1)}}<(?:[a-z].*>|!--)`,"i")},Cs=/^(?:[ \t]*(?:\n|$))+/,Rs=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,Ss=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,Le=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,As=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,kt=/(?:[*+-]|\d{1,9}[.)])/,si=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,ni=z(si).replace(/bull/g,kt).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),Ns=z(si).replace(/bull/g,kt).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),Et=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,Ds=/^[^\n]+/,vt=/(?!\s*\])(?:\\.|[^\[\]\\])+/,Ls=z(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",vt).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),zs=z(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,kt).getRegex(),Xe="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",Tt=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,Ms=z("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",Tt).replace("tag",Xe).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),ri=z(Et).replace("hr",Le).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Xe).getRegex(),Os=z(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",ri).getRegex(),Ct={blockquote:Os,code:Rs,def:Ls,fences:Ss,heading:As,hr:Le,html:Ms,lheading:ni,list:zs,newline:Cs,paragraph:ri,table:De,text:Ds},oi=z("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",Le).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Xe).getRegex(),Hs={...Ct,lheading:Ns,table:oi,paragraph:z(Et).replace("hr",Le).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",oi).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Xe).getRegex()},Ps={...Ct,html:z(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",Tt).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:De,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:z(Et).replace("hr",Le).replace("heading",` *#{1,6} *[^
|
|
1
|
+
(function(V,a){typeof exports=="object"&&typeof module<"u"?a(exports,require("vue"),require("pinia"),require("element-plus")):typeof define=="function"&&define.amd?define(["exports","vue","pinia","element-plus"],a):(V=typeof globalThis<"u"?globalThis:V||self,a(V["pennsieve-dashboard"]={},V.Vue,V.Pinia,V.ElementPlus))})(this,function(V,a,he,Ye){"use strict";var kr=Object.defineProperty;var Er=(V,a,he)=>a in V?kr(V,a,{enumerable:!0,configurable:!0,writable:!0,value:he}):V[a]=he;var P=(V,a,he)=>Er(V,typeof a!="symbol"?a+"":a,he);/*! Element Plus Icons Vue v2.3.2 */var $t;var os=a.defineComponent({name:"CircleCloseFilled",__name:"circle-close-filled",setup(l){return(e,t)=>(a.openBlock(),a.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[a.createElementVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 393.664L407.936 353.6a38.4 38.4 0 1 0-54.336 54.336L457.664 512 353.6 616.064a38.4 38.4 0 1 0 54.336 54.336L512 566.336 616.064 670.4a38.4 38.4 0 1 0 54.336-54.336L566.336 512 670.4 407.936a38.4 38.4 0 1 0-54.336-54.336z"})]))}}),as=os,ls=a.defineComponent({name:"Close",__name:"close",setup(l){return(e,t)=>(a.openBlock(),a.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[a.createElementVNode("path",{fill:"currentColor",d:"M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"})]))}}),cs=ls,hs=a.defineComponent({name:"Edit",__name:"edit",setup(l){return(e,t)=>(a.openBlock(),a.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[a.createElementVNode("path",{fill:"currentColor",d:"M832 512a32 32 0 1 1 64 0v352a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h352a32 32 0 0 1 0 64H192v640h640z"}),a.createElementVNode("path",{fill:"currentColor",d:"m469.952 554.24 52.8-7.552L847.104 222.4a32 32 0 1 0-45.248-45.248L477.44 501.44l-7.552 52.8zm422.4-422.4a96 96 0 0 1 0 135.808l-331.84 331.84a32 32 0 0 1-18.112 9.088L436.8 623.68a32 32 0 0 1-36.224-36.224l15.104-105.6a32 32 0 0 1 9.024-18.112l331.904-331.84a96 96 0 0 1 135.744 0z"})]))}}),ei=hs,ds=a.defineComponent({name:"FullScreen",__name:"full-screen",setup(l){return(e,t)=>(a.openBlock(),a.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[a.createElementVNode("path",{fill:"currentColor",d:"m160 96.064 192 .192a32 32 0 0 1 0 64l-192-.192V352a32 32 0 0 1-64 0V96h64zm0 831.872V928H96V672a32 32 0 1 1 64 0v191.936l192-.192a32 32 0 1 1 0 64zM864 96.064V96h64v256a32 32 0 1 1-64 0V160.064l-192 .192a32 32 0 1 1 0-64zm0 831.872-192-.192a32 32 0 0 1 0-64l192 .192V672a32 32 0 1 1 64 0v256h-64z"})]))}}),us=ds,fs=a.defineComponent({name:"Lock",__name:"lock",setup(l){return(e,t)=>(a.openBlock(),a.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[a.createElementVNode("path",{fill:"currentColor",d:"M224 448a32 32 0 0 0-32 32v384a32 32 0 0 0 32 32h576a32 32 0 0 0 32-32V480a32 32 0 0 0-32-32zm0-64h576a96 96 0 0 1 96 96v384a96 96 0 0 1-96 96H224a96 96 0 0 1-96-96V480a96 96 0 0 1 96-96"}),a.createElementVNode("path",{fill:"currentColor",d:"M512 544a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V576a32 32 0 0 1 32-32m192-160v-64a192 192 0 1 0-384 0v64zM512 64a256 256 0 0 1 256 256v128H256V320A256 256 0 0 1 512 64"})]))}}),ps=fs,gs=a.defineComponent({name:"ScaleToOriginal",__name:"scale-to-original",setup(l){return(e,t)=>(a.openBlock(),a.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[a.createElementVNode("path",{fill:"currentColor",d:"M813.176 180.706a60.235 60.235 0 0 1 60.236 60.235v481.883a60.235 60.235 0 0 1-60.236 60.235H210.824a60.235 60.235 0 0 1-60.236-60.235V240.94a60.235 60.235 0 0 1 60.236-60.235h602.352zm0-60.235H210.824A120.47 120.47 0 0 0 90.353 240.94v481.883a120.47 120.47 0 0 0 120.47 120.47h602.353a120.47 120.47 0 0 0 120.471-120.47V240.94a120.47 120.47 0 0 0-120.47-120.47zm-120.47 180.705a30.12 30.12 0 0 0-30.118 30.118v301.177a30.118 30.118 0 0 0 60.236 0V331.294a30.12 30.12 0 0 0-30.118-30.118m-361.412 0a30.12 30.12 0 0 0-30.118 30.118v301.177a30.118 30.118 0 1 0 60.236 0V331.294a30.12 30.12 0 0 0-30.118-30.118M512 361.412a30.12 30.12 0 0 0-30.118 30.117v30.118a30.118 30.118 0 0 0 60.236 0V391.53A30.12 30.12 0 0 0 512 361.412M512 512a30.12 30.12 0 0 0-30.118 30.118v30.117a30.118 30.118 0 0 0 60.236 0v-30.117A30.12 30.12 0 0 0 512 512"})]))}}),ms=gs,_s=a.defineComponent({name:"Unlock",__name:"unlock",setup(l){return(e,t)=>(a.openBlock(),a.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[a.createElementVNode("path",{fill:"currentColor",d:"M224 448a32 32 0 0 0-32 32v384a32 32 0 0 0 32 32h576a32 32 0 0 0 32-32V480a32 32 0 0 0-32-32zm0-64h576a96 96 0 0 1 96 96v384a96 96 0 0 1-96 96H224a96 96 0 0 1-96-96V480a96 96 0 0 1 96-96"}),a.createElementVNode("path",{fill:"currentColor",d:"M512 544a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V576a32 32 0 0 1 32-32m178.304-295.296A192.064 192.064 0 0 0 320 320v64h352l96 38.4V448H256V320a256 256 0 0 1 493.76-95.104z"})]))}}),ys=_s;const Ne=he.defineStore("globalPensieveDashVars",()=>{const l=a.ref([]),e=a.ref({}),t="dashboard-globalVarsStore",i=a.ref([]),s=a.ref([]),n=a.ref({}),o=a.reactive({}),r=a.reactive({});function d(m,w,I=!1){o[m]=w,r[m]=I}function h(m={}){for(const w of Object.keys(o))delete o[w];Object.assign(o,m)}const c=m=>{delete o[m]};function u(){for(const m of Object.keys(o))delete o[m]}function f(){s.value=[...l.value],h({})}const b=m=>s.value.find(w=>w.id===m),_=(m,w)=>{i.value.push({name:m,value:w})},x=()=>{i.value=[]},H=m=>{n.value=S(m)},E=()=>n.value;function S(m){const w={};if(!m||typeof m!="object")return w;for(const[I,D]of Object.entries(m))if(D&&typeof D=="object"&&!(a.isRef(D)||a.isReactive(D))){const se=Object.getPrototypeOf(D)===Object.prototype;w[I]=se?{...D}:a.markRaw(D)}else w[I]=D;return w}const A=m=>{const w=s.value.find(I=>I.id===m);w&&(w.Props=w.Props||{},w.Props.locked=!w.Props.locked)},R=m=>m.map(w=>{const I=e.value[w.componentKey];return I?{...w,component:I}:null}).filter(w=>!!w);function O(m){}function J(){}return{DASHBOARD_ITEMS:s,DefaultLayout:l,ComponentRegistry:e,optionsData:i,Services:n,Filters:o,displayFilters:r,registerGridProvider:O,unregisterGridProvider:J,setFilter:d,clearFilter:c,clearAllFilters:u,resetFilters:h,resetGridLayout:f,getDashItem:b,toggleWidgetLock:A,addOptionsDataItems:_,clearOptionsDataItems:x,loadFromLocalStorage:()=>{const m=localStorage.getItem(t);if(!m){f();return}try{const w=JSON.parse(m);s.value=Array.isArray(w.items)?R(w.items):[...l.value],h(w.filters??{})}catch(w){console.error("Failed to parse globalVarsStore:",w),s.value=[...l.value],h({})}},setOptionServices:H,getServices:E}}),ws={class:"widget-settings-container"},bs={class:"widget-setting"},xs={class:"dialog-footer"},ks=a.defineComponent({__name:"TextWidgetSettings",props:{showDialog:{type:Boolean},reactiveSourceValue:{},manualEntryValue:{},hideHeaderValue:{type:Boolean}},emits:["close-dialog","update-text-var"],setup(l,{emit:e}){const t=Ne(),{optionsData:i}=he.storeToRefs(t),s=e,n=l,o=a.computed({get:()=>n.showDialog,set:u=>{u||s("close-dialog")}}),r=a.ref(n.reactiveSourceValue??""),d=a.ref(n.manualEntryValue??""),h=a.ref(!!n.hideHeaderValue);a.watch(()=>n.reactiveSourceValue,u=>{r.value=u??""}),a.watch(()=>n.manualEntryValue,u=>{d.value=u??""},{immediate:!0}),a.watch(()=>n.hideHeaderValue,u=>{h.value=!!u});function c(){var _;const u=(r.value||"").trim(),f=u!=="",b=f?null:((_=d.value)==null?void 0:_.trim())||"";s("update-text-var",{reactiveSource:f?u:null,manualEdit:b,hideHeader:h.value}),o.value=!1}return(u,f)=>{const b=a.resolveComponent("el-option"),_=a.resolveComponent("el-select"),x=a.resolveComponent("el-input"),H=a.resolveComponent("el-checkbox"),E=a.resolveComponent("el-button"),S=a.resolveComponent("el-dialog");return a.openBlock(),a.createBlock(S,{class:"full-dialog-dashboard",modelValue:o.value,"onUpdate:modelValue":f[4]||(f[4]=A=>o.value=A),title:"Text Widget Settings","append-to-body":!0},{footer:a.withCtx(()=>[a.createElementVNode("div",xs,[a.createVNode(E,{class:"secondary",onClick:f[3]||(f[3]=A=>o.value=!1)},{default:a.withCtx(()=>[...f[8]||(f[8]=[a.createTextVNode("Cancel",-1)])]),_:1}),a.createVNode(E,{onClick:c},{default:a.withCtx(()=>[...f[9]||(f[9]=[a.createTextVNode("Save",-1)])]),_:1})])]),default:a.withCtx(()=>[a.createElementVNode("div",ws,[a.createElementVNode("div",bs,[f[5]||(f[5]=a.createElementVNode("h4",null,"Select This Widget's Value",-1)),f[6]||(f[6]=a.createElementVNode("h5",null,"Select From Variables",-1)),a.createVNode(_,{modelValue:r.value,"onUpdate:modelValue":f[0]||(f[0]=A=>r.value=A),class:"text-settings-height"},{default:a.withCtx(()=>[(a.openBlock(),a.createBlock(b,{value:"",key:"__manual__",label:"Manual entry"})),(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(a.unref(i),A=>(a.openBlock(),a.createBlock(b,{key:A.name,label:A.name,value:A.name},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),f[7]||(f[7]=a.createElementVNode("h5",null,"Manual Entry",-1)),a.createVNode(x,{modelValue:d.value,"onUpdate:modelValue":f[1]||(f[1]=A=>d.value=A),class:"text-settings-height"},null,8,["modelValue"]),a.createVNode(H,{modelValue:h.value,"onUpdate:modelValue":f[2]||(f[2]=A=>h.value=A),label:"Hide Header"},null,8,["modelValue"])])])]),_:1},8,["modelValue"])}}}),ye=(l,e)=>{const t=l.__vccOpts||l;for(const[i,s]of e)t[i]=s;return t},Es=ye(ks,[["__scopeId","data-v-ea49243b"]]),ti={mounted(l,e){l._clickOutsideHandler=t=>{l===t.target||l.contains(t.target)||typeof e.value=="function"&&e.value(t)},document.addEventListener("click",l._clickOutsideHandler)},unmounted(l){document.removeEventListener("click",l._clickOutsideHandler),delete l._clickOutsideHandler}},vs={key:0},Ts=ye(a.defineComponent({inheritAttrs:!1,__name:"TextWidget",props:{displayText:{},bindedKey:{},widgetID:{},hideHeader:{type:Boolean}},setup(l){const e=Ne(),t=l;a.inject("dashboard:globalVars",null);const i=a.ref(t.displayText??"");a.watch(()=>t.displayText,E=>{i.value=E??""},{immediate:!0});const s=a.computed(()=>!!(t.bindedKey&&t.bindedKey.trim()!=="")),n=a.computed(()=>{var R;const E=(R=t.bindedKey)==null?void 0:R.trim();if(!E)return"—";const S=e.optionsData.find(O=>(O==null?void 0:O.name)===E),A=S==null?void 0:S.value;return Array.isArray(A)?A.join(", "):A&&typeof A=="object"?JSON.stringify(A):A??"—"}),o=a.ref("Text Widget"),r=a.shallowRef([{comp:ei,event:b,tooltip:"open Text settings"}]),d=a.ref(!1),h=a.ref(null);function c(){var E,S;d.value=!0,(S=(E=h.value)==null?void 0:E.focus)==null||S.call(E)}function u(){d.value=!1}const f=a.ref(!1);function b(){f.value=!0}function _(){f.value=!1}function x({manualEdit:E,reactiveSource:S,hideHeader:A}){const R=e.getDashItem(t.widgetID);R&&(R.hideHeader=A,S&&S.trim()!==""?(R.Props=R.Props||{},R.Props.bindedKey=S,R.Props.displayText=null,R.componentName=H(S)):(R.Props=R.Props||{},R.Props.bindedKey=null,R.Props.displayText=E??"",R.componentName=E??"Text"))}function H(E){return E?E.replace(/([a-z])([A-Z])/g,"$1 $2").replace(/^./,S=>S.toUpperCase()):""}return(E,S)=>{const A=a.resolveComponent("el-input");return a.openBlock(),a.createElementBlock(a.Fragment,null,[a.renderSlot(E.$slots,"default",{widgetName:o.value,childIcons:r.value},void 0,!0),a.createElementVNode("div",a.mergeProps({class:"text-widget-wrap"},E.$attrs),[s.value?(a.openBlock(),a.createElementBlock("div",vs,[a.createElementVNode("h2",null,a.toDisplayString(n.value),1)])):a.withDirectives((a.openBlock(),a.createElementBlock("div",{key:1,onKeyup:a.withKeys(u,["enter"]),class:"tw-flex"},[a.withDirectives(a.createElementVNode("div",null,[a.createVNode(A,{ref_key:"textUserInput",ref:h,modelValue:i.value,"onUpdate:modelValue":S[0]||(S[0]=R=>i.value=R),onFocus:S[1]||(S[1]=R=>{var O,J;return(J=(O=R.target)==null?void 0:O.select)==null?void 0:J.call(O)})},null,8,["modelValue"])],512),[[a.vShow,d.value]]),a.withDirectives(a.createElementVNode("div",{onClick:S[2]||(S[2]=R=>c()),class:"tw-w-full tw-h-full"},[a.createElementVNode("h2",null,a.toDisplayString(i.value),1)],512),[[a.vShow,!d.value]])],32)),[[a.unref(ti),u]])],16),a.createVNode(Es,{"show-dialog":f.value,"reactive-source-value":t.bindedKey||"","manual-entry-value":i.value,"hide-header-value":t.hideHeader||!1,onCloseDialog:_,onUpdateTextVar:x},null,8,["show-dialog","reactive-source-value","manual-entry-value","hide-header-value"])],64)}}}),[["__scopeId","data-v-48977469"]]);function xt(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var be=xt();function ii(l){be=l}var De={exec:()=>null};function z(l,e=""){let t=typeof l=="string"?l:l.source;const i={replace:(s,n)=>{let o=typeof n=="string"?n:n.source;return o=o.replace(Y.caret,"$1"),t=t.replace(s,o),i},getRegex:()=>new RegExp(t,e)};return i}var Y={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:l=>new RegExp(`^( {0,3}${l})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:l=>new RegExp(`^ {0,${Math.min(3,l-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:l=>new RegExp(`^ {0,${Math.min(3,l-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:l=>new RegExp(`^ {0,${Math.min(3,l-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:l=>new RegExp(`^ {0,${Math.min(3,l-1)}}#`),htmlBeginRegex:l=>new RegExp(`^ {0,${Math.min(3,l-1)}}<(?:[a-z].*>|!--)`,"i")},Cs=/^(?:[ \t]*(?:\n|$))+/,Rs=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,Ss=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,Le=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,As=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,kt=/(?:[*+-]|\d{1,9}[.)])/,si=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,ni=z(si).replace(/bull/g,kt).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),Ns=z(si).replace(/bull/g,kt).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),Et=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,Ds=/^[^\n]+/,vt=/(?!\s*\])(?:\\.|[^\[\]\\])+/,Ls=z(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",vt).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),zs=z(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,kt).getRegex(),Xe="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",Tt=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,Ms=z("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",Tt).replace("tag",Xe).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),ri=z(Et).replace("hr",Le).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Xe).getRegex(),Os=z(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",ri).getRegex(),Ct={blockquote:Os,code:Rs,def:Ls,fences:Ss,heading:As,hr:Le,html:Ms,lheading:ni,list:zs,newline:Cs,paragraph:ri,table:De,text:Ds},oi=z("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",Le).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Xe).getRegex(),Hs={...Ct,lheading:Ns,table:oi,paragraph:z(Et).replace("hr",Le).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",oi).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Xe).getRegex()},Ps={...Ct,html:z(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",Tt).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:De,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:z(Et).replace("hr",Le).replace("heading",` *#{1,6} *[^
|
|
2
2
|
]`).replace("lheading",ni).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},Is=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,Bs=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,ai=/^( {2,}|\\)\n(?!\s*$)/,$s=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,Ke=/[\p{P}\p{S}]/u,Rt=/[\s\p{P}\p{S}]/u,li=/[^\s\p{P}\p{S}]/u,Fs=z(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,Rt).getRegex(),ci=/(?!~)[\p{P}\p{S}]/u,Vs=/(?!~)[\s\p{P}\p{S}]/u,Us=/(?:[^\s\p{P}\p{S}]|~)/u,Ws=/\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g,hi=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,Gs=z(hi,"u").replace(/punct/g,Ke).getRegex(),qs=z(hi,"u").replace(/punct/g,ci).getRegex(),di="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",js=z(di,"gu").replace(/notPunctSpace/g,li).replace(/punctSpace/g,Rt).replace(/punct/g,Ke).getRegex(),Ys=z(di,"gu").replace(/notPunctSpace/g,Us).replace(/punctSpace/g,Vs).replace(/punct/g,ci).getRegex(),Xs=z("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,li).replace(/punctSpace/g,Rt).replace(/punct/g,Ke).getRegex(),Ks=z(/\\(punct)/,"gu").replace(/punct/g,Ke).getRegex(),Zs=z(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),Qs=z(Tt).replace("(?:-->|$)","-->").getRegex(),Js=z("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",Qs).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),Ze=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,en=z(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label",Ze).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),ui=z(/^!?\[(label)\]\[(ref)\]/).replace("label",Ze).replace("ref",vt).getRegex(),fi=z(/^!?\[(ref)\](?:\[\])?/).replace("ref",vt).getRegex(),tn=z("reflink|nolink(?!\\()","g").replace("reflink",ui).replace("nolink",fi).getRegex(),St={_backpedal:De,anyPunctuation:Ks,autolink:Zs,blockSkip:Ws,br:ai,code:Bs,del:De,emStrongLDelim:Gs,emStrongRDelimAst:js,emStrongRDelimUnd:Xs,escape:Is,link:en,nolink:fi,punctuation:Fs,reflink:ui,reflinkSearch:tn,tag:Js,text:$s,url:De},sn={...St,link:z(/^!?\[(label)\]\((.*?)\)/).replace("label",Ze).getRegex(),reflink:z(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Ze).getRegex()},At={...St,emStrongRDelimAst:Ys,emStrongLDelim:qs,url:z(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\.|[^\\])*?(?:\\.|[^\s~\\]))\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/},nn={...At,br:z(ai).replace("{2,}","*").getRegex(),text:z(At.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},Qe={normal:Ct,gfm:Hs,pedantic:Ps},ze={normal:St,gfm:At,breaks:nn,pedantic:sn},rn={"&":"&","<":"<",">":">",'"':""","'":"'"},pi=l=>rn[l];function le(l,e){if(e){if(Y.escapeTest.test(l))return l.replace(Y.escapeReplace,pi)}else if(Y.escapeTestNoEncode.test(l))return l.replace(Y.escapeReplaceNoEncode,pi);return l}function gi(l){try{l=encodeURI(l).replace(Y.percentDecode,"%")}catch{return null}return l}function mi(l,e){var n;const t=l.replace(Y.findPipe,(o,r,d)=>{let h=!1,c=r;for(;--c>=0&&d[c]==="\\";)h=!h;return h?"|":" |"}),i=t.split(Y.splitPipe);let s=0;if(i[0].trim()||i.shift(),i.length>0&&!((n=i.at(-1))!=null&&n.trim())&&i.pop(),e)if(i.length>e)i.splice(e);else for(;i.length<e;)i.push("");for(;s<i.length;s++)i[s]=i[s].trim().replace(Y.slashPipe,"|");return i}function Me(l,e,t){const i=l.length;if(i===0)return"";let s=0;for(;s<i&&l.charAt(i-s-1)===e;)s++;return l.slice(0,i-s)}function on(l,e){if(l.indexOf(e[1])===-1)return-1;let t=0;for(let i=0;i<l.length;i++)if(l[i]==="\\")i++;else if(l[i]===e[0])t++;else if(l[i]===e[1]&&(t--,t<0))return i;return t>0?-2:-1}function _i(l,e,t,i,s){const n=e.href,o=e.title||null,r=l[1].replace(s.other.outputLinkReplace,"$1");i.state.inLink=!0;const d={type:l[0].charAt(0)==="!"?"image":"link",raw:t,href:n,title:o,text:r,tokens:i.inlineTokens(r)};return i.state.inLink=!1,d}function an(l,e,t){const i=l.match(t.other.indentCodeCompensation);if(i===null)return e;const s=i[1];return e.split(`
|
|
3
3
|
`).map(n=>{const o=n.match(t.other.beginningSpace);if(o===null)return n;const[r]=o;return r.length>=s.length?n.slice(s.length):n}).join(`
|
|
4
4
|
`)}var Je=class{constructor(l){P(this,"options");P(this,"rules");P(this,"lexer");this.options=l||be}space(l){const e=this.rules.block.newline.exec(l);if(e&&e[0].length>0)return{type:"space",raw:e[0]}}code(l){const e=this.rules.block.code.exec(l);if(e){const t=e[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:e[0],codeBlockStyle:"indented",text:this.options.pedantic?t:Me(t,`
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.el-dialog__header[data-v-ea49243b]{color:#fff}.full-dialog-dashboard[data-v-ea49243b]{width:95%;height:95%;margin:2.5% auto 0}.widget-settings-container[data-v-ea49243b]{display:flex;flex-direction:column;gap:16px;font-family:Roboto,sans-serif;font-size:14px;color:var(--textDark)}.widget-setting[data-v-ea49243b]{display:flex;flex-direction:column;gap:8px}.widget-setting .text-settings-height[data-v-ea49243b]{--el-input-height: 42px}.dialog-footer[data-v-ea49243b]{display:flex;justify-content:flex-end;gap:10px}.el-button[data-v-ea49243b]{background-color:var(--el-color-primary);border-color:var(--el-color-primary-dark-2);color:#fff}.el-button[data-v-ea49243b]:hover{background-color:var(--el-color-primary-light-3);border-color:var(--el-color-primary-dark-2)}.text-widget-wrap[data-v-9a9adb8c]{margin:20px auto auto}.markdown-widget-wrap[data-v-5bf532d5]{max-width:none;width:100%;min-width:0;height:100%;display:flex;flex-direction:column;box-sizing:border-box;margin-left:5px;margin-top:0}.markdown-input[data-v-5bf532d5],.markdown-output[data-v-5bf532d5]{flex:1 1 auto;width:100%;height:100%;min-height:0;box-sizing:border-box}.markdown-input[data-v-5bf532d5]{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:.95rem;line-height:1.5;padding:.75rem;border:1px solid #ddd;border-radius:.5rem;resize:none}.markdown-output[data-v-5bf532d5]{overflow:auto}.markdown-output[data-v-5bf532d5] pre,.markdown-output[data-v-5bf532d5] code{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.markdown-output[data-v-5bf532d5] h1{font-size:1.75rem;margin:1rem 0 .5rem}.markdown-output[data-v-5bf532d5] h2{font-size:1.5rem;margin:1rem 0 .5rem}.markdown-output[data-v-5bf532d5] p{margin:.5rem 0}.color-secondary[data-v-ca6af1a8]{color:var(--dash-secondary)}.color-primary[data-v-ca6af1a8]{color:var(--dash-text-medium)}.color-background[data-v-ca6af1a8]{background-color:var(--dash-background)}.filter-wrapper[data-v-ca6af1a8]{background-color:var(--dash-secondary);height:33px;padding:0 8px;justify-content:space-between;width:100%}.clear-filter-div[data-v-ca6af1a8]{width:33px;height:33px;margin-left:10px}.empty[data-v-ca6af1a8]{opacity:.8;color:#ddd}.content-header .visible-div[data-v-7f4752bf]{min-width:100px;height:40px}.content-header .editing-div[data-v-7f4752bf]{width:150px}.header-slot-icon[data-v-7f4752bf]{position:absolute;top:5px;right:5px}.dash-header-visible[data-v-7f4752bf]{min-height:40px}.stick-to-top[data-v-7f4752bf]{position:sticky;top:0;width:100%}[data-v-5eda99e0] .content-header{z-index:3;width:100%;overflow:hidden}[data-v-5eda99e0] .content-header h3{margin:10px}[data-v-5eda99e0] .content-header .item-widget-button,[data-v-5eda99e0] .content-header .close-button{cursor:pointer;margin-right:3px;width:20px;height:20px}[data-v-5eda99e0] .widget-body{height:calc(100% - 40px)}[data-v-5eda99e0] .widget-body-no-head{height:inherit}[data-v-5eda99e0] .widget-body-no-head h2{margin:0}.grid-stack-item-content[data-v-5eda99e0]{background-color:#fff;overflow:hidden;text-align:start;display:flex;flex-flow:column;transition:background .3s ease-in-out}.grid-stack-item-content[data-v-5eda99e0]:hover{background:var(--dash-backgroundBlocked)}.grid-stack-item-content.locked-widget[data-v-5eda99e0]{background-color:#f2f2f2}.grid-stack-item-content.locked-widget .lock-toggle[data-v-5eda99e0]{opacity:1!important;transform:translateY(0)!important}.grid-stack-item-content .header-icon[data-v-5eda99e0]{cursor:pointer;margin:4px;height:18px;opacity:0;transform:translateY(5px);transition:opacity .3s ease-in-out,transform .3s ease-in-out}.grid-stack-item-content:hover .header-icon[data-v-5eda99e0]{opacity:1;transform:translateY(0)}.gs-fullscreen[data-v-5eda99e0]{position:fixed!important;top:0!important;right:0!important;bottom:0!important;left:0!important;width:100vw!important;height:100vh!important;z-index:9999!important;background:#fff;box-shadow:0 0 0 9999px #0006}[data-v-5eda99e0] .fill{display:flex;justify-content:center;align-items:center}[data-v-5eda99e0] .fill img{flex-shrink:1;width:100%}.icon-wrapper[data-v-5eda99e0]{width:25px}.grid-stack-item-content:hover .header-icon[data-v-5eda99e0]:hover{transform:translateY(0) scale(1.5)}:root{--dash-background: #f6fcff;--dash-background2:#fbfdff;--dash-backgroundBlocked:#cedded;--dash-drop-shadow:0px -2px 4px rgba(7, 79, 124, .05), 0px 6px 10px rgba(7, 79, 124, .1);--dash-text-dark: #243d8e;--dash-text-medium:#546085;--dash-text-light:#d9e3ff;--dash-secondary:#24245b}.grid-stack{position:relative}.grid-stack-rtl{direction:ltr}.grid-stack-rtl>.grid-stack-item{direction:rtl}.grid-stack-placeholder>.placeholder-content{background-color:#0000001a;margin:0;position:absolute;width:auto;z-index:0!important}.grid-stack>.grid-stack-item{position:absolute;padding:0;top:0;width:var(--gs-column-width);height:var(--gs-cell-height)}.grid-stack>.grid-stack-item>.grid-stack-item-content{margin:0;position:absolute;width:auto;overflow-x:hidden;overflow-y:auto}.grid-stack>.grid-stack-item.size-to-content:not(.size-to-content-max)>.grid-stack-item-content{overflow-y:hidden}.grid-stack:not(.grid-stack-rtl)>.grid-stack-item{left:0}.grid-stack.grid-stack-rtl>.grid-stack-item{right:0}.grid-stack>.grid-stack-item>.grid-stack-item-content,.grid-stack>.grid-stack-placeholder>.placeholder-content{top:var(--gs-item-margin-top);right:var(--gs-item-margin-right);bottom:var(--gs-item-margin-bottom);left:var(--gs-item-margin-left)}.grid-stack-item>.ui-resizable-handle{position:absolute;font-size:.1px;display:block;-ms-touch-action:none;touch-action:none}.grid-stack-item.ui-resizable-autohide>.ui-resizable-handle,.grid-stack-item.ui-resizable-disabled>.ui-resizable-handle{display:none}.grid-stack-item>.ui-resizable-ne,.grid-stack-item>.ui-resizable-nw,.grid-stack-item>.ui-resizable-se,.grid-stack-item>.ui-resizable-sw{background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="%23666" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewBox="0 0 20 20"><path d="m10 3 2 2H8l2-2v14l-2-2h4l-2 2"/></svg>');background-repeat:no-repeat;background-position:center}.grid-stack-item>.ui-resizable-ne{transform:rotate(45deg)}.grid-stack-item>.ui-resizable-sw{transform:rotate(45deg)}.grid-stack-item>.ui-resizable-nw{transform:rotate(-45deg)}.grid-stack-item>.ui-resizable-se{transform:rotate(-45deg)}.grid-stack-item>.ui-resizable-nw{cursor:nw-resize;width:20px;height:20px;top:var(--gs-item-margin-top);left:var(--gs-item-margin-left)}.grid-stack-item>.ui-resizable-n{cursor:n-resize;height:10px;top:var(--gs-item-margin-top);left:25px;right:25px}.grid-stack-item>.ui-resizable-ne{cursor:ne-resize;width:20px;height:20px;top:var(--gs-item-margin-top);right:var(--gs-item-margin-right)}.grid-stack-item>.ui-resizable-e{cursor:e-resize;width:10px;top:15px;bottom:15px;right:var(--gs-item-margin-right)}.grid-stack-item>.ui-resizable-se{cursor:se-resize;width:20px;height:20px;bottom:var(--gs-item-margin-bottom);right:var(--gs-item-margin-right)}.grid-stack-item>.ui-resizable-s{cursor:s-resize;height:10px;left:25px;bottom:var(--gs-item-margin-bottom);right:25px}.grid-stack-item>.ui-resizable-sw{cursor:sw-resize;width:20px;height:20px;bottom:var(--gs-item-margin-bottom);left:var(--gs-item-margin-left)}.grid-stack-item>.ui-resizable-w{cursor:w-resize;width:10px;top:15px;bottom:15px;left:var(--gs-item-margin-left)}.grid-stack-item.ui-draggable-dragging>.ui-resizable-handle{display:none!important}.grid-stack-item.ui-draggable-dragging{will-change:left,right,top}.grid-stack-item.ui-resizable-resizing{will-change:width,height}.ui-draggable-dragging,.ui-resizable-resizing{z-index:10000}.ui-draggable-dragging>.grid-stack-item-content,.ui-resizable-resizing>.grid-stack-item-content{box-shadow:1px 4px 6px #0003;opacity:.8}.grid-stack-animate,.grid-stack-animate .grid-stack-item{transition:left .3s,right .3s,top .3s,height .3s,width .3s}.grid-stack-animate .grid-stack-item.grid-stack-placeholder,.grid-stack-animate .grid-stack-item.ui-draggable-dragging,.grid-stack-animate .grid-stack-item.ui-resizable-resizing{transition:left 0s,right 0s,top 0s,height 0s,width 0s}.grid-stack>.grid-stack-item[gs-y="0"]{top:0}.grid-stack:not(.grid-stack-rtl)>.grid-stack-item[gs-x="0"]{left:0}.grid-stack.grid-stack-rtl>.grid-stack-item[gs-x="0"]{right:0}.dashboard-app .tw-flex[data-v-78b11186]{display:flex}.dashboard-app .tw-flex-row[data-v-78b11186]{flex-direction:row}.dashboard-app .tw-items-center[data-v-78b11186]{align-items:center}.dashboard-app .tw-justify-between[data-v-78b11186]{justify-content:space-between}.dashboard-app .tw-h-10[data-v-78b11186]{height:2.5rem}.dashboard-app .tw-m-1[data-v-78b11186]{margin:.25rem}.dashboard-app .tw-m-4[data-v-78b11186]{margin:1rem}.dashboard-app .tw-m-w-4[data-v-78b11186]{margin:0 1rem}.dashboard-app .tw-leading-none[data-v-78b11186]{line-height:1}.dashboard-app .tw-pl-1[data-v-78b11186]{padding-left:.25rem}.dashboard-app .tw-flex-wrap[data-v-78b11186]{flex-wrap:wrap}.dashboard-app .tw-gap-2[data-v-78b11186]{gap:.5rem}.dashboard-app .tw-max-h-screen[data-v-78b11186]{max-height:100vh}.dashboard-app .tw-h-screen[data-v-78b11186]{height:100vh}.dashboard-app .tw-float-left[data-v-78b11186]{float:left}.dashboard-app .tw-w-40[data-v-78b11186]{width:10rem}.dashboard-app .tw-w-50[data-v-78b11186]{width:20rem}.el-dialog__title[data-v-78b11186]{color:#fff}.grid-stack-item[data-v-78b11186]{text-align:center;line-height:35px}.grid-stack-item .grid-stack-item-content[data-v-78b11186]{overflow:hidden;border:solid var(--dash-text-light) 1px;border-radius:.2rem}.dashboard-app[data-v-78b11186]{font-family:Roboto,sans-serif;font-size:14px;line-height:17px;background:var(--dash-background);color:var(--dash-text-dark);height:100%;width:100%;display:flex;flex-direction:column;overflow:hidden}.dashboard-app .edit-button[data-v-78b11186]{background-color:var(--el-color-primary);border-color:var(--el-color-primary-dark-2);color:#fff}.dashboard-app .edit-button[data-v-78b11186]:hover{color:var(--el-color-primary-dark-2);background-color:var(--el-color-primary-light-3);border-color:var(--el-color-primary-dark-2)}.grid-stack[data-v-78b11186]{min-height:0;overflow:hidden}.dash-header[data-v-78b11186]{flex-shrink:0}.dashboard-app .tw-flex{display:flex}.dashboard-app .tw-flex-row{flex-direction:row}.dashboard-app .tw-items-center{align-items:center}.dashboard-app .tw-justify-between{justify-content:space-between}.dashboard-app .tw-h-10{height:2.5rem}.dashboard-app .tw-m-1{margin:.25rem}.dashboard-app .tw-m-4{margin:1rem}.dashboard-app .tw-m-w-4{margin:0 1rem}.dashboard-app .tw-leading-none{line-height:1}.dashboard-app .tw-pl-1{padding-left:.25rem}.dashboard-app .tw-flex-wrap{flex-wrap:wrap}.dashboard-app .tw-gap-2{gap:.5rem}.dashboard-app .tw-max-h-screen{max-height:100vh}.dashboard-app .tw-h-screen{height:100vh}.dashboard-app .tw-float-left{float:left}.dashboard-app .tw-w-40{width:10rem}.dashboard-app .tw-w-50{width:20rem}.dashboard-multi-wrap[data-v-5c609848]{display:flex;flex-direction:column;height:100%;width:100%;overflow:hidden}.dash-main-header[data-v-5c609848]{background:linear-gradient(135deg,#243d8e,#546085);color:#fff;padding:1rem 1.5rem;box-shadow:0 2px 8px #0000001a;flex-shrink:0}.header-title[data-v-5c609848]{margin:0 0 .5rem;font-size:2rem;font-weight:600;letter-spacing:-.5px}.header-description[data-v-5c609848]{margin:0 0 1rem;font-size:1rem;opacity:.95;max-width:800px;line-height:1.5}.button-group[data-v-5c609848]{display:flex;gap:1rem;flex-wrap:wrap;padding-bottom:.5rem}.dashboard-button[data-v-5c609848]{padding:.5rem .75rem;font-size:1rem;font-weight:500;border:2px solid rgba(200,200,200,.3);background:#9ab2ff1a;color:#fff;border-radius:4px;cursor:pointer;transition:all .3s ease;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.dashboard-button[data-v-5c609848]:hover{background:#fff3;border-color:#ffffff80;transform:translateY(-1px)}.dashboard-button.active[data-v-5c609848]{background:#fff;color:#243d8e;border-color:#fff;box-shadow:0 2px 8px #00000026}.dashboard-content[data-v-5c609848]{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden}.dashboard-app[data-v-5c609848]{--el-color-primary: #243d8e;--el-color-primary-light-3: #fbfdff;--el-color-primary-dark-2: #546085;--color: #243d8e;--el-dialog-width: 90%;--dash-secondary: #243d8e;flex:1;min-height:0;width:100%;height:100%}.logo[data-v-5c609848]{height:6em;padding:1.5em;will-change:filter;transition:filter .3s}.logo[data-v-5c609848]:hover{filter:drop-shadow(0 0 2em #646cffaa)}.logo.vue[data-v-5c609848]:hover{filter:drop-shadow(0 0 2em #42b883aa)}
|
|
1
|
+
.el-dialog__header[data-v-ea49243b]{color:#fff}.full-dialog-dashboard[data-v-ea49243b]{width:95%;height:95%;margin:2.5% auto 0}.widget-settings-container[data-v-ea49243b]{display:flex;flex-direction:column;gap:16px;font-family:Roboto,sans-serif;font-size:14px;color:var(--textDark)}.widget-setting[data-v-ea49243b]{display:flex;flex-direction:column;gap:8px}.widget-setting .text-settings-height[data-v-ea49243b]{--el-input-height: 42px}.dialog-footer[data-v-ea49243b]{display:flex;justify-content:flex-end;gap:10px}.el-button[data-v-ea49243b]{background-color:var(--el-color-primary);border-color:var(--el-color-primary-dark-2);color:#fff}.el-button[data-v-ea49243b]:hover{background-color:var(--el-color-primary-light-3);border-color:var(--el-color-primary-dark-2)}.text-widget-wrap[data-v-48977469]{margin:20px auto auto}.markdown-widget-wrap[data-v-5bf532d5]{max-width:none;width:100%;min-width:0;height:100%;display:flex;flex-direction:column;box-sizing:border-box;margin-left:5px;margin-top:0}.markdown-input[data-v-5bf532d5],.markdown-output[data-v-5bf532d5]{flex:1 1 auto;width:100%;height:100%;min-height:0;box-sizing:border-box}.markdown-input[data-v-5bf532d5]{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:.95rem;line-height:1.5;padding:.75rem;border:1px solid #ddd;border-radius:.5rem;resize:none}.markdown-output[data-v-5bf532d5]{overflow:auto}.markdown-output[data-v-5bf532d5] pre,.markdown-output[data-v-5bf532d5] code{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.markdown-output[data-v-5bf532d5] h1{font-size:1.75rem;margin:1rem 0 .5rem}.markdown-output[data-v-5bf532d5] h2{font-size:1.5rem;margin:1rem 0 .5rem}.markdown-output[data-v-5bf532d5] p{margin:.5rem 0}.color-secondary[data-v-ca6af1a8]{color:var(--dash-secondary)}.color-primary[data-v-ca6af1a8]{color:var(--dash-text-medium)}.color-background[data-v-ca6af1a8]{background-color:var(--dash-background)}.filter-wrapper[data-v-ca6af1a8]{background-color:var(--dash-secondary);height:33px;padding:0 8px;justify-content:space-between;width:100%}.clear-filter-div[data-v-ca6af1a8]{width:33px;height:33px;margin-left:10px}.empty[data-v-ca6af1a8]{opacity:.8;color:#ddd}.content-header .visible-div[data-v-7f4752bf]{min-width:100px;height:40px}.content-header .editing-div[data-v-7f4752bf]{width:150px}.header-slot-icon[data-v-7f4752bf]{position:absolute;top:5px;right:5px}.dash-header-visible[data-v-7f4752bf]{min-height:40px}.stick-to-top[data-v-7f4752bf]{position:sticky;top:0;width:100%}[data-v-5eda99e0] .content-header{z-index:3;width:100%;overflow:hidden}[data-v-5eda99e0] .content-header h3{margin:10px}[data-v-5eda99e0] .content-header .item-widget-button,[data-v-5eda99e0] .content-header .close-button{cursor:pointer;margin-right:3px;width:20px;height:20px}[data-v-5eda99e0] .widget-body{height:calc(100% - 40px)}[data-v-5eda99e0] .widget-body-no-head{height:inherit}[data-v-5eda99e0] .widget-body-no-head h2{margin:0}.grid-stack-item-content[data-v-5eda99e0]{background-color:#fff;overflow:hidden;text-align:start;display:flex;flex-flow:column;transition:background .3s ease-in-out}.grid-stack-item-content[data-v-5eda99e0]:hover{background:var(--dash-backgroundBlocked)}.grid-stack-item-content.locked-widget[data-v-5eda99e0]{background-color:#f2f2f2}.grid-stack-item-content.locked-widget .lock-toggle[data-v-5eda99e0]{opacity:1!important;transform:translateY(0)!important}.grid-stack-item-content .header-icon[data-v-5eda99e0]{cursor:pointer;margin:4px;height:18px;opacity:0;transform:translateY(5px);transition:opacity .3s ease-in-out,transform .3s ease-in-out}.grid-stack-item-content:hover .header-icon[data-v-5eda99e0]{opacity:1;transform:translateY(0)}.gs-fullscreen[data-v-5eda99e0]{position:fixed!important;top:0!important;right:0!important;bottom:0!important;left:0!important;width:100vw!important;height:100vh!important;z-index:9999!important;background:#fff;box-shadow:0 0 0 9999px #0006}[data-v-5eda99e0] .fill{display:flex;justify-content:center;align-items:center}[data-v-5eda99e0] .fill img{flex-shrink:1;width:100%}.icon-wrapper[data-v-5eda99e0]{width:25px}.grid-stack-item-content:hover .header-icon[data-v-5eda99e0]:hover{transform:translateY(0) scale(1.5)}:root{--dash-background: #f6fcff;--dash-background2:#fbfdff;--dash-backgroundBlocked:#cedded;--dash-drop-shadow:0px -2px 4px rgba(7, 79, 124, .05), 0px 6px 10px rgba(7, 79, 124, .1);--dash-text-dark: #243d8e;--dash-text-medium:#546085;--dash-text-light:#d9e3ff;--dash-secondary:#24245b}.grid-stack{position:relative}.grid-stack-rtl{direction:ltr}.grid-stack-rtl>.grid-stack-item{direction:rtl}.grid-stack-placeholder>.placeholder-content{background-color:#0000001a;margin:0;position:absolute;width:auto;z-index:0!important}.grid-stack>.grid-stack-item{position:absolute;padding:0;top:0;width:var(--gs-column-width);height:var(--gs-cell-height)}.grid-stack>.grid-stack-item>.grid-stack-item-content{margin:0;position:absolute;width:auto;overflow-x:hidden;overflow-y:auto}.grid-stack>.grid-stack-item.size-to-content:not(.size-to-content-max)>.grid-stack-item-content{overflow-y:hidden}.grid-stack:not(.grid-stack-rtl)>.grid-stack-item{left:0}.grid-stack.grid-stack-rtl>.grid-stack-item{right:0}.grid-stack>.grid-stack-item>.grid-stack-item-content,.grid-stack>.grid-stack-placeholder>.placeholder-content{top:var(--gs-item-margin-top);right:var(--gs-item-margin-right);bottom:var(--gs-item-margin-bottom);left:var(--gs-item-margin-left)}.grid-stack-item>.ui-resizable-handle{position:absolute;font-size:.1px;display:block;-ms-touch-action:none;touch-action:none}.grid-stack-item.ui-resizable-autohide>.ui-resizable-handle,.grid-stack-item.ui-resizable-disabled>.ui-resizable-handle{display:none}.grid-stack-item>.ui-resizable-ne,.grid-stack-item>.ui-resizable-nw,.grid-stack-item>.ui-resizable-se,.grid-stack-item>.ui-resizable-sw{background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="%23666" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewBox="0 0 20 20"><path d="m10 3 2 2H8l2-2v14l-2-2h4l-2 2"/></svg>');background-repeat:no-repeat;background-position:center}.grid-stack-item>.ui-resizable-ne{transform:rotate(45deg)}.grid-stack-item>.ui-resizable-sw{transform:rotate(45deg)}.grid-stack-item>.ui-resizable-nw{transform:rotate(-45deg)}.grid-stack-item>.ui-resizable-se{transform:rotate(-45deg)}.grid-stack-item>.ui-resizable-nw{cursor:nw-resize;width:20px;height:20px;top:var(--gs-item-margin-top);left:var(--gs-item-margin-left)}.grid-stack-item>.ui-resizable-n{cursor:n-resize;height:10px;top:var(--gs-item-margin-top);left:25px;right:25px}.grid-stack-item>.ui-resizable-ne{cursor:ne-resize;width:20px;height:20px;top:var(--gs-item-margin-top);right:var(--gs-item-margin-right)}.grid-stack-item>.ui-resizable-e{cursor:e-resize;width:10px;top:15px;bottom:15px;right:var(--gs-item-margin-right)}.grid-stack-item>.ui-resizable-se{cursor:se-resize;width:20px;height:20px;bottom:var(--gs-item-margin-bottom);right:var(--gs-item-margin-right)}.grid-stack-item>.ui-resizable-s{cursor:s-resize;height:10px;left:25px;bottom:var(--gs-item-margin-bottom);right:25px}.grid-stack-item>.ui-resizable-sw{cursor:sw-resize;width:20px;height:20px;bottom:var(--gs-item-margin-bottom);left:var(--gs-item-margin-left)}.grid-stack-item>.ui-resizable-w{cursor:w-resize;width:10px;top:15px;bottom:15px;left:var(--gs-item-margin-left)}.grid-stack-item.ui-draggable-dragging>.ui-resizable-handle{display:none!important}.grid-stack-item.ui-draggable-dragging{will-change:left,right,top}.grid-stack-item.ui-resizable-resizing{will-change:width,height}.ui-draggable-dragging,.ui-resizable-resizing{z-index:10000}.ui-draggable-dragging>.grid-stack-item-content,.ui-resizable-resizing>.grid-stack-item-content{box-shadow:1px 4px 6px #0003;opacity:.8}.grid-stack-animate,.grid-stack-animate .grid-stack-item{transition:left .3s,right .3s,top .3s,height .3s,width .3s}.grid-stack-animate .grid-stack-item.grid-stack-placeholder,.grid-stack-animate .grid-stack-item.ui-draggable-dragging,.grid-stack-animate .grid-stack-item.ui-resizable-resizing{transition:left 0s,right 0s,top 0s,height 0s,width 0s}.grid-stack>.grid-stack-item[gs-y="0"]{top:0}.grid-stack:not(.grid-stack-rtl)>.grid-stack-item[gs-x="0"]{left:0}.grid-stack.grid-stack-rtl>.grid-stack-item[gs-x="0"]{right:0}.dashboard-app .tw-flex[data-v-78b11186]{display:flex}.dashboard-app .tw-flex-row[data-v-78b11186]{flex-direction:row}.dashboard-app .tw-items-center[data-v-78b11186]{align-items:center}.dashboard-app .tw-justify-between[data-v-78b11186]{justify-content:space-between}.dashboard-app .tw-h-10[data-v-78b11186]{height:2.5rem}.dashboard-app .tw-m-1[data-v-78b11186]{margin:.25rem}.dashboard-app .tw-m-4[data-v-78b11186]{margin:1rem}.dashboard-app .tw-m-w-4[data-v-78b11186]{margin:0 1rem}.dashboard-app .tw-leading-none[data-v-78b11186]{line-height:1}.dashboard-app .tw-pl-1[data-v-78b11186]{padding-left:.25rem}.dashboard-app .tw-flex-wrap[data-v-78b11186]{flex-wrap:wrap}.dashboard-app .tw-gap-2[data-v-78b11186]{gap:.5rem}.dashboard-app .tw-max-h-screen[data-v-78b11186]{max-height:100vh}.dashboard-app .tw-h-screen[data-v-78b11186]{height:100vh}.dashboard-app .tw-float-left[data-v-78b11186]{float:left}.dashboard-app .tw-w-40[data-v-78b11186]{width:10rem}.dashboard-app .tw-w-50[data-v-78b11186]{width:20rem}.el-dialog__title[data-v-78b11186]{color:#fff}.grid-stack-item[data-v-78b11186]{text-align:center;line-height:35px}.grid-stack-item .grid-stack-item-content[data-v-78b11186]{overflow:hidden;border:solid var(--dash-text-light) 1px;border-radius:.2rem}.dashboard-app[data-v-78b11186]{font-family:Roboto,sans-serif;font-size:14px;line-height:17px;background:var(--dash-background);color:var(--dash-text-dark);height:100%;width:100%;display:flex;flex-direction:column;overflow:hidden}.dashboard-app .edit-button[data-v-78b11186]{background-color:var(--el-color-primary);border-color:var(--el-color-primary-dark-2);color:#fff}.dashboard-app .edit-button[data-v-78b11186]:hover{color:var(--el-color-primary-dark-2);background-color:var(--el-color-primary-light-3);border-color:var(--el-color-primary-dark-2)}.grid-stack[data-v-78b11186]{min-height:0;overflow:hidden}.dash-header[data-v-78b11186]{flex-shrink:0}.dashboard-app .tw-flex{display:flex}.dashboard-app .tw-flex-row{flex-direction:row}.dashboard-app .tw-items-center{align-items:center}.dashboard-app .tw-justify-between{justify-content:space-between}.dashboard-app .tw-h-10{height:2.5rem}.dashboard-app .tw-m-1{margin:.25rem}.dashboard-app .tw-m-4{margin:1rem}.dashboard-app .tw-m-w-4{margin:0 1rem}.dashboard-app .tw-leading-none{line-height:1}.dashboard-app .tw-pl-1{padding-left:.25rem}.dashboard-app .tw-flex-wrap{flex-wrap:wrap}.dashboard-app .tw-gap-2{gap:.5rem}.dashboard-app .tw-max-h-screen{max-height:100vh}.dashboard-app .tw-h-screen{height:100vh}.dashboard-app .tw-float-left{float:left}.dashboard-app .tw-w-40{width:10rem}.dashboard-app .tw-w-50{width:20rem}.dashboard-multi-wrap[data-v-5c609848]{display:flex;flex-direction:column;height:100%;width:100%;overflow:hidden}.dash-main-header[data-v-5c609848]{background:linear-gradient(135deg,#243d8e,#546085);color:#fff;padding:1rem 1.5rem;box-shadow:0 2px 8px #0000001a;flex-shrink:0}.header-title[data-v-5c609848]{margin:0 0 .5rem;font-size:2rem;font-weight:600;letter-spacing:-.5px}.header-description[data-v-5c609848]{margin:0 0 1rem;font-size:1rem;opacity:.95;max-width:800px;line-height:1.5}.button-group[data-v-5c609848]{display:flex;gap:1rem;flex-wrap:wrap;padding-bottom:.5rem}.dashboard-button[data-v-5c609848]{padding:.5rem .75rem;font-size:1rem;font-weight:500;border:2px solid rgba(200,200,200,.3);background:#9ab2ff1a;color:#fff;border-radius:4px;cursor:pointer;transition:all .3s ease;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.dashboard-button[data-v-5c609848]:hover{background:#fff3;border-color:#ffffff80;transform:translateY(-1px)}.dashboard-button.active[data-v-5c609848]{background:#fff;color:#243d8e;border-color:#fff;box-shadow:0 2px 8px #00000026}.dashboard-content[data-v-5c609848]{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden}.dashboard-app[data-v-5c609848]{--el-color-primary: #243d8e;--el-color-primary-light-3: #fbfdff;--el-color-primary-dark-2: #546085;--color: #243d8e;--el-dialog-width: 90%;--dash-secondary: #243d8e;flex:1;min-height:0;width:100%;height:100%}.logo[data-v-5c609848]{height:6em;padding:1.5em;will-change:filter;transition:filter .3s}.logo[data-v-5c609848]:hover{filter:drop-shadow(0 0 2em #646cffaa)}.logo.vue[data-v-5c609848]:hover{filter:drop-shadow(0 0 2em #42b883aa)}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pennsieve-dashboard",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.2",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/pennsieve-dashboard.umd.js",
|
|
7
7
|
"module": "./dist/pennsieve-dashboard.es.js",
|
|
@@ -28,8 +28,7 @@
|
|
|
28
28
|
"dompurify": "^3.2.6",
|
|
29
29
|
"gridstack": "^12.3.3",
|
|
30
30
|
"marked": "^15.0.7",
|
|
31
|
-
"@element-plus/icons-vue": "^2.3.2"
|
|
32
|
-
"vue": "^3.5.18"
|
|
31
|
+
"@element-plus/icons-vue": "^2.3.2"
|
|
33
32
|
},
|
|
34
33
|
"devDependencies": {
|
|
35
34
|
"@vitejs/plugin-vue": "^5.1.4",
|
|
@@ -41,6 +40,7 @@
|
|
|
41
40
|
"vue-tsc": "^2.2.0"
|
|
42
41
|
},
|
|
43
42
|
"peerDependencies": {
|
|
43
|
+
"vue": "^3.5.18",
|
|
44
44
|
"element-plus": "^2.11.0",
|
|
45
45
|
"pinia": "^3.0.3"
|
|
46
46
|
}
|