aiex-cli 0.0.3-beta.8 → 0.0.4-beta.1
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/dist/cli.mjs +346 -251
- package/dist/{doctor-collector-DzIv90_Y.mjs → doctor-collector-xRnW5Rj3.mjs} +541 -8
- package/dist/index.mjs +1 -1
- package/dist/web/assets/AISettings-BmCr8Kj4.js +272 -0
- package/dist/web/assets/DataBrowser-IlgTMGi0.js +97 -0
- package/dist/web/assets/ExtractionViewer-0F4C26V5.js +1 -0
- package/dist/web/assets/JsonSchemaEditor-Dyl391lX.js +571 -0
- package/dist/web/assets/{api-client-BsgtGnzl.js → api-client-b4ZBXpNH.js} +1 -1
- package/dist/web/assets/{cssMode-CPThwItX.js → cssMode-BM5FOYIl.js} +1 -1
- package/dist/web/assets/dialog-CnZ7jH1l.js +109 -0
- package/dist/web/assets/dist-CElVIpns.js +1 -0
- package/dist/web/assets/{editor.main-BnOkwRFv.js → editor.main-C2Q97Dkk.js} +2 -2
- package/dist/web/assets/{freemarker2-DWDTYVJR.js → freemarker2-BqyJTCTn.js} +1 -1
- package/dist/web/assets/{handlebars-D4DzjGQ7.js → handlebars-DxRJTefg.js} +1 -1
- package/dist/web/assets/{html-DnzhKSoD.js → html-gyvgrapw.js} +1 -1
- package/dist/web/assets/{htmlMode-CR7UKfEH.js → htmlMode-CNjCRwdY.js} +1 -1
- package/dist/web/assets/{index-CPjJbU4i.js → index-CGZLSwt2.js} +38 -38
- package/dist/web/assets/{javascript-D2srszZ8.js → javascript-BK6ufvq6.js} +1 -1
- package/dist/web/assets/{jsonMode-B4jaPYEr.js → jsonMode-m2trGjkO.js} +1 -1
- package/dist/web/assets/{liquid-CIT2Wl_l.js → liquid-BtyuYqQQ.js} +1 -1
- package/dist/web/assets/{mdx-CWLaEOFy.js → mdx-C8K4EvCQ.js} +1 -1
- package/dist/web/assets/{monaco.contribution-DDv5ldfS.js → monaco.contribution-BTr-G8hO.js} +2 -2
- package/dist/web/assets/object-utils-C6FkG7fw.js +1 -0
- package/dist/web/assets/{python-6CGfpCNq.js → python-8dyH1nS_.js} +1 -1
- package/dist/web/assets/{razor-DEMMh3TD.js → razor-DtWMI74k.js} +1 -1
- package/dist/web/assets/textarea-DMpqBhjw.js +522 -0
- package/dist/web/assets/{tsMode-Cm1NtjPs.js → tsMode-Dv8YG-YK.js} +1 -1
- package/dist/web/assets/{typescript-BM9aPEFg.js → typescript-DbClKYS3.js} +1 -1
- package/dist/web/assets/vue-i18n-Du42D0vb.js +931 -0
- package/dist/web/assets/{xml-CoSbvcg5.js → xml-Bb59gjP6.js} +1 -1
- package/dist/web/assets/{yaml-56GOgy8k.js → yaml-DVMb_IfV.js} +1 -1
- package/dist/web/index.html +8 -8
- package/dist/zh-CN-DAlmQ2hb.mjs +484 -0
- package/package.json +3 -1
- package/dist/web/assets/AISettings-D6EpB8tt.js +0 -272
- package/dist/web/assets/DataBrowser-N77fBaoa.js +0 -97
- package/dist/web/assets/ExtractionViewer-BSZycwgL.js +0 -1
- package/dist/web/assets/JsonSchemaEditor-DfHs5bc0.js +0 -571
- package/dist/web/assets/button-Cdgr9Igy.js +0 -927
- package/dist/web/assets/dialog-CUkPLPNP.js +0 -109
- package/dist/web/assets/dist-9yHVMqQ0.js +0 -1
- package/dist/web/assets/object-utils-I4gWdSnS.js +0 -1
- package/dist/web/assets/runtime-dom.esm-bundler-ei_N7Xjw.js +0 -1
- package/dist/web/assets/textarea-DEQMRfG8.js +0 -522
- /package/dist/{completions-C3rmTwXZ.mjs → completions-Bh0DOngr.mjs} +0 -0
- /package/dist/web/assets/{abap-Bgec7Keq.js → abap-DiwvWnMr.js} +0 -0
- /package/dist/web/assets/{apex-VBlPwEoQ.js → apex-CmtZjKlf.js} +0 -0
- /package/dist/web/assets/{azcli-DKqrEFBx.js → azcli-DL2My_i-.js} +0 -0
- /package/dist/web/assets/{bat-DdgQWy_0.js → bat-B-nC98wG.js} +0 -0
- /package/dist/web/assets/{bicep-CRMM43EB.js → bicep-Ju5MwOgh.js} +0 -0
- /package/dist/web/assets/{cameligo-UatALtML.js → cameligo-8Eu1TyBr.js} +0 -0
- /package/dist/web/assets/{clojure-D8JU08RA.js → clojure-u-RpMkH3.js} +0 -0
- /package/dist/web/assets/{coffee-C56wu358.js → coffee-CdA7bbTe.js} +0 -0
- /package/dist/web/assets/{cpp-CyZLvhJG.js → cpp-CzNFP8ks.js} +0 -0
- /package/dist/web/assets/{csharp-BJl3ixva.js → csharp-j1LThmcE.js} +0 -0
- /package/dist/web/assets/{csp-CxEKxmO-.js → csp-CLRC61y6.js} +0 -0
- /package/dist/web/assets/{css-B0t_muXd.js → css-r6rC_7P2.js} +0 -0
- /package/dist/web/assets/{cypher-D1hqiMFD.js → cypher-CW08XVUh.js} +0 -0
- /package/dist/web/assets/{dart-Bz550Pyv.js → dart-Cs9aL5T_.js} +0 -0
- /package/dist/web/assets/{dockerfile-CIXgVAuA.js → dockerfile-BWM0M184.js} +0 -0
- /package/dist/web/assets/{ecl-D9qbvZoA.js → ecl-MJJuer5P.js} +0 -0
- /package/dist/web/assets/{editor.api-C8BHpRhn.js → editor.api-nsOUOZde.js} +0 -0
- /package/dist/web/assets/{elixir-b2M38fAy.js → elixir-D2AIuXqn.js} +0 -0
- /package/dist/web/assets/{flow9-Dq1UYMkt.js → flow9-B2H24giC.js} +0 -0
- /package/dist/web/assets/{fsharp-BaeLhgfq.js → fsharp-CFNadkg7.js} +0 -0
- /package/dist/web/assets/{go-Bd-NFKIC.js → go-dSur1iB2.js} +0 -0
- /package/dist/web/assets/{graphql-DZVerJfy.js → graphql-qyhAo11d.js} +0 -0
- /package/dist/web/assets/{hcl-CAVzrZfH.js → hcl-DFzjMyzm.js} +0 -0
- /package/dist/web/assets/{ini-CyXdX58t.js → ini-TdzA8TIl.js} +0 -0
- /package/dist/web/assets/{java-B5pNgvhy.js → java-CSGA9pkE.js} +0 -0
- /package/dist/web/assets/{julia-XRhmV3AN.js → julia-9izz5OsY.js} +0 -0
- /package/dist/web/assets/{kotlin-DOd3J5vr.js → kotlin-DuPK7AtF.js} +0 -0
- /package/dist/web/assets/{less-veZSnyw6.js → less-B8d93iCg.js} +0 -0
- /package/dist/web/assets/{lexon-QWGkuK0H.js → lexon-DWtEIyu7.js} +0 -0
- /package/dist/web/assets/{lua-CYGpjuO5.js → lua-Ciq0OGgt.js} +0 -0
- /package/dist/web/assets/{m3-yNnrZkdc.js → m3-Cki6JWj_.js} +0 -0
- /package/dist/web/assets/{markdown-BCSWEPSX.js → markdown-Cu47xwU0.js} +0 -0
- /package/dist/web/assets/{mips-OpYmcC30.js → mips-BM8ui995.js} +0 -0
- /package/dist/web/assets/{msdax-2oxoTO9Z.js → msdax-DqLio0_c.js} +0 -0
- /package/dist/web/assets/{mysql-5KlC-K_9.js → mysql-v1wbjJOq.js} +0 -0
- /package/dist/web/assets/{objective-c-CcDCgtLx.js → objective-c-CQl3PGSB.js} +0 -0
- /package/dist/web/assets/{pascal-BZGsbaEV.js → pascal-D4iW0ZtD.js} +0 -0
- /package/dist/web/assets/{pascaligo-DtD5qU3G.js → pascaligo-BdC9CZdj.js} +0 -0
- /package/dist/web/assets/{perl-C1jNNS3E.js → perl-BL10m4XD.js} +0 -0
- /package/dist/web/assets/{pgsql-CT0fhiZa.js → pgsql-Be_oqVo3.js} +0 -0
- /package/dist/web/assets/{php-D6DrXoPM.js → php-BtvXSFRI.js} +0 -0
- /package/dist/web/assets/{pla-b3-HN2pF.js → pla-B2vUy15C.js} +0 -0
- /package/dist/web/assets/{postiats-Bin2ApVS.js → postiats-CbmTTfXr.js} +0 -0
- /package/dist/web/assets/{powerquery-7ASnn-ZG.js → powerquery-DszLhJGx.js} +0 -0
- /package/dist/web/assets/{powershell-t4p7sU1H.js → powershell-B0dYktF6.js} +0 -0
- /package/dist/web/assets/{preload-helper-Dd-HcVz_.js → preload-helper-DWTEM3RW.js} +0 -0
- /package/dist/web/assets/{protobuf-BUGeWa_j.js → protobuf-CZvaj1VX.js} +0 -0
- /package/dist/web/assets/{pug-BuKcgC9s.js → pug-CPDx1B3S.js} +0 -0
- /package/dist/web/assets/{qsharp-DxLLX8mo.js → qsharp-CAxMZVjw.js} +0 -0
- /package/dist/web/assets/{r-DMlFgn7A.js → r-8DbbFX2l.js} +0 -0
- /package/dist/web/assets/{redis-cXItkC5u.js → redis-DRWj9MtJ.js} +0 -0
- /package/dist/web/assets/{redshift-BZVbW7HE.js → redshift-C6cElE_5.js} +0 -0
- /package/dist/web/assets/{restructuredtext-BzjxwS8h.js → restructuredtext-W9pS9n3m.js} +0 -0
- /package/dist/web/assets/{ruby-C5nyLV4l.js → ruby-BKnzWnk-.js} +0 -0
- /package/dist/web/assets/{rust-BcmMsHdf.js → rust-YPCclWwe.js} +0 -0
- /package/dist/web/assets/{sb-Dnb1iy6B.js → sb-BgM4DTFb.js} +0 -0
- /package/dist/web/assets/{scala-anMIFYpA.js → scala-fz1OPLMl.js} +0 -0
- /package/dist/web/assets/{scheme-BItQTe08.js → scheme-8Uz1RIbu.js} +0 -0
- /package/dist/web/assets/{scss-BOv51BJ5.js → scss-Djo3IYXr.js} +0 -0
- /package/dist/web/assets/{shell-BsRYRTNN.js → shell-CINF5Tx_.js} +0 -0
- /package/dist/web/assets/{solidity-BtuLgGDx.js → solidity-GgiNEuUm.js} +0 -0
- /package/dist/web/assets/{sophia-B0Vkc5MF.js → sophia-Culj97P9.js} +0 -0
- /package/dist/web/assets/{sparql-B7lvkZQM.js → sparql-C2ZlpxOY.js} +0 -0
- /package/dist/web/assets/{sql-DvP5MpA3.js → sql-BEf5Pg7Y.js} +0 -0
- /package/dist/web/assets/{st-GVUeyB3U.js → st-CT6UUoeH.js} +0 -0
- /package/dist/web/assets/{swift-DSPIoCjm.js → swift-B5g0xTG3.js} +0 -0
- /package/dist/web/assets/{systemverilog-Icj2-k23.js → systemverilog-CEgQz9DR.js} +0 -0
- /package/dist/web/assets/{tcl-Cd8KQcm-.js → tcl-D0qL2L0I.js} +0 -0
- /package/dist/web/assets/{twig-CBHmt8z3.js → twig-BFUAVf1E.js} +0 -0
- /package/dist/web/assets/{typespec-Ckc037mq.js → typespec-CjVVcNKm.js} +0 -0
- /package/dist/web/assets/{vb-B97GW9Wb.js → vb-CZJr-DQz.js} +0 -0
- /package/dist/web/assets/{wgsl-DIKmb3YH.js → wgsl-ivoXUo2e.js} +0 -0
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
import{An as e,B as t,Cn as n,Fn as r,G as i,Ht as a,K as o,Kt as s,Lt as c,M as l,Nn as u,Pt as d,Qt as f,S as p,Sn as m,Tn as h,U as g,W as _,Xt as v,_ as y,a as b,bn as ee,c as x,d as S,dn as te,f as ne,g as C,gn as re,h as w,i as T,in as E,jn as ie,ln as ae,m as oe,mn as se,n as ce,nt as D,o as le,pn as O,qt as ue,rt as de,sn as fe,t as pe,v as k,x as me,xn as he}from"./button-Cdgr9Igy.js";import{t as ge}from"./runtime-dom.esm-bundler-ei_N7Xjw.js";function _e(){let e=[],t=(t,n,r=999)=>{let a=i(t,n,r),o=a.value+(a.key===t?0:r)+1;return e.push({key:t,value:o}),o},n=t=>{e=e.filter(e=>e.value!==t)},r=(e,t)=>i(e,t).value,i=(t,n,r=0)=>[...e].reverse().find(e=>n?!0:e.key===t)||{key:t,value:r},a=e=>e&&parseInt(e.style.zIndex,10)||0;return{get:a,set:(e,n,r)=>{n&&(n.style.zIndex=String(t(e,!0,r)))},clear:e=>{e&&(n(a(e)),e.style.zIndex=``)},getCurrent:e=>r(e,!0)}}var A=_e(),j={STARTS_WITH:`startsWith`,CONTAINS:`contains`,NOT_CONTAINS:`notContains`,ENDS_WITH:`endsWith`,EQUALS:`equals`,NOT_EQUALS:`notEquals`,IN:`in`,LESS_THAN:`lt`,LESS_THAN_OR_EQUAL_TO:`lte`,GREATER_THAN:`gt`,GREATER_THAN_OR_EQUAL_TO:`gte`,BETWEEN:`between`,DATE_IS:`dateIs`,DATE_IS_NOT:`dateIsNot`,DATE_BEFORE:`dateBefore`,DATE_AFTER:`dateAfter`};function M(e,t){var n=typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(!n){if(Array.isArray(e)||(n=N(e))||t){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
2
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a,o=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||n.return==null||n.return()}finally{if(s)throw a}}}}function N(e,t){if(e){if(typeof e==`string`)return P(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?P(e,t):void 0}}function P(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var F={filter:function(e,t,n,r,i){var a=[];if(!e)return a;var o=M(e),s;try{for(o.s();!(s=o.n()).done;){var c=s.value;if(typeof c==`string`){if(this.filters[r](c,n,i)){a.push(c);continue}}else{var l=M(t),d;try{for(l.s();!(d=l.n()).done;){var f=d.value,p=u(c,f);if(this.filters[r](p,n,i)){a.push(c);break}}}catch(e){l.e(e)}finally{l.f()}}}}catch(e){o.e(e)}finally{o.f()}return a},filters:{startsWith:function(t,n,r){if(n==null||n===``)return!0;if(t==null)return!1;var i=e(n.toString()).toLocaleLowerCase(r);return e(t.toString()).toLocaleLowerCase(r).slice(0,i.length)===i},contains:function(t,n,r){if(n==null||n===``)return!0;if(t==null)return!1;var i=e(n.toString()).toLocaleLowerCase(r);return e(t.toString()).toLocaleLowerCase(r).indexOf(i)!==-1},notContains:function(t,n,r){if(n==null||n===``)return!0;if(t==null)return!1;var i=e(n.toString()).toLocaleLowerCase(r);return e(t.toString()).toLocaleLowerCase(r).indexOf(i)===-1},endsWith:function(t,n,r){if(n==null||n===``)return!0;if(t==null)return!1;var i=e(n.toString()).toLocaleLowerCase(r),a=e(t.toString()).toLocaleLowerCase(r);return a.indexOf(i,a.length-i.length)!==-1},equals:function(t,n,r){return n==null||n===``?!0:t==null?!1:t.getTime&&n.getTime?t.getTime()===n.getTime():e(t.toString()).toLocaleLowerCase(r)==e(n.toString()).toLocaleLowerCase(r)},notEquals:function(t,n,r){return n==null||n===``?!1:t==null?!0:t.getTime&&n.getTime?t.getTime()!==n.getTime():e(t.toString()).toLocaleLowerCase(r)!=e(n.toString()).toLocaleLowerCase(r)},in:function(e,t){if(t==null||t.length===0)return!0;for(var n=0;n<t.length;n++)if(ie(e,t[n]))return!0;return!1},between:function(e,t){return t==null||t[0]==null||t[1]==null?!0:e==null?!1:e.getTime?t[0].getTime()<=e.getTime()&&e.getTime()<=t[1].getTime():t[0]<=e&&e<=t[1]},lt:function(e,t){return t==null?!0:e==null?!1:e.getTime&&t.getTime?e.getTime()<t.getTime():e<t},lte:function(e,t){return t==null?!0:e==null?!1:e.getTime&&t.getTime?e.getTime()<=t.getTime():e<=t},gt:function(e,t){return t==null?!0:e==null?!1:e.getTime&&t.getTime?e.getTime()>t.getTime():e>t},gte:function(e,t){return t==null?!0:e==null?!1:e.getTime&&t.getTime?e.getTime()>=t.getTime():e>=t},dateIs:function(e,t){return t==null?!0:e==null?!1:(typeof e==`string`&&(e=new Date(e)),typeof t==`string`&&(t=new Date(t)),e.toDateString()===t.toDateString())},dateIsNot:function(e,t){return t==null?!0:e==null?!1:(typeof e==`string`&&(e=new Date(e)),typeof t==`string`&&(t=new Date(t)),e.toDateString()!==t.toDateString())},dateBefore:function(e,t){return t==null?!0:e==null?!1:(typeof e==`string`&&(e=new Date(e)),typeof t==`string`&&(t=new Date(t)),e.getTime()<t.getTime())},dateAfter:function(e,t){return t==null?!0:e==null?!1:(typeof e==`string`&&(e=new Date(e)),typeof t==`string`&&(t=new Date(t)),e.getTime()>t.getTime())}},register:function(e,t){this.filters[e]=t}};function I(e){"@babel/helpers - typeof";return I=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},I(e)}function ve(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function ye(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,xe(r.key),r)}}function be(e,t,n){return t&&ye(e.prototype,t),Object.defineProperty(e,`prototype`,{writable:!1}),e}function xe(e){var t=Se(e,`string`);return I(t)==`symbol`?t:t+``}function Se(e,t){if(I(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(I(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return String(e)}var Ce=function(){function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:function(){};ve(this,e),this.element=t,this.listener=n}return be(e,[{key:`bindScrollListener`,value:function(){this.scrollableParents=s(this.element);for(var e=0;e<this.scrollableParents.length;e++)this.scrollableParents[e].addEventListener(`scroll`,this.listener)}},{key:`unbindScrollListener`,value:function(){if(this.scrollableParents)for(var e=0;e<this.scrollableParents.length;e++)this.scrollableParents[e].removeEventListener(`scroll`,this.listener)}},{key:`destroy`,value:function(){this.unbindScrollListener(),this.element=null,this.listener=null,this.scrollableParents=null}}])}(),L={name:`TimesIcon`,extends:T};function we(e){return Oe(e)||De(e)||Ee(e)||Te()}function Te(){throw TypeError(`Invalid attempt to spread non-iterable instance.
|
|
3
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ee(e,t){if(e){if(typeof e==`string`)return R(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?R(e,t):void 0}}function De(e){if(typeof Symbol<`u`&&e[Symbol.iterator]!=null||e[`@@iterator`]!=null)return Array.from(e)}function Oe(e){if(Array.isArray(e))return R(e)}function R(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function ke(e,n,r,i,a,o){return t(),k(`svg`,l({width:`14`,height:`14`,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`},e.pti()),we(n[0]||=[w(`path`,{d:`M8.01186 7.00933L12.27 2.75116C12.341 2.68501 12.398 2.60524 12.4375 2.51661C12.4769 2.42798 12.4982 2.3323 12.4999 2.23529C12.5016 2.13827 12.4838 2.0419 12.4474 1.95194C12.4111 1.86197 12.357 1.78024 12.2884 1.71163C12.2198 1.64302 12.138 1.58893 12.0481 1.55259C11.9581 1.51625 11.8617 1.4984 11.7647 1.50011C11.6677 1.50182 11.572 1.52306 11.4834 1.56255C11.3948 1.60204 11.315 1.65898 11.2488 1.72997L6.99067 5.98814L2.7325 1.72997C2.59553 1.60234 2.41437 1.53286 2.22718 1.53616C2.03999 1.53946 1.8614 1.61529 1.72901 1.74767C1.59663 1.88006 1.5208 2.05865 1.5175 2.24584C1.5142 2.43303 1.58368 2.61419 1.71131 2.75116L5.96948 7.00933L1.71131 11.2675C1.576 11.403 1.5 11.5866 1.5 11.7781C1.5 11.9696 1.576 12.1532 1.71131 12.2887C1.84679 12.424 2.03043 12.5 2.2219 12.5C2.41338 12.5 2.59702 12.424 2.7325 12.2887L6.99067 8.03052L11.2488 12.2887C11.3843 12.424 11.568 12.5 11.7594 12.5C11.9509 12.5 12.1346 12.424 12.27 12.2887C12.4053 12.1532 12.4813 11.9696 12.4813 11.7781C12.4813 11.5866 12.4053 11.403 12.27 11.2675L8.01186 7.00933Z`,fill:`currentColor`},null,-1)]),16)}L.render=ke;var z={name:`WindowMaximizeIcon`,extends:T};function Ae(e){return Pe(e)||Ne(e)||Me(e)||je()}function je(){throw TypeError(`Invalid attempt to spread non-iterable instance.
|
|
4
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Me(e,t){if(e){if(typeof e==`string`)return B(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?B(e,t):void 0}}function Ne(e){if(typeof Symbol<`u`&&e[Symbol.iterator]!=null||e[`@@iterator`]!=null)return Array.from(e)}function Pe(e){if(Array.isArray(e))return B(e)}function B(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Fe(e,n,r,i,a,o){return t(),k(`svg`,l({width:`14`,height:`14`,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`},e.pti()),Ae(n[0]||=[w(`path`,{"fill-rule":`evenodd`,"clip-rule":`evenodd`,d:`M7 14H11.8C12.3835 14 12.9431 13.7682 13.3556 13.3556C13.7682 12.9431 14 12.3835 14 11.8V2.2C14 1.61652 13.7682 1.05694 13.3556 0.644365C12.9431 0.231785 12.3835 0 11.8 0H2.2C1.61652 0 1.05694 0.231785 0.644365 0.644365C0.231785 1.05694 0 1.61652 0 2.2V7C0 7.15913 0.063214 7.31174 0.175736 7.42426C0.288258 7.53679 0.44087 7.6 0.6 7.6C0.75913 7.6 0.911742 7.53679 1.02426 7.42426C1.13679 7.31174 1.2 7.15913 1.2 7V2.2C1.2 1.93478 1.30536 1.68043 1.49289 1.49289C1.68043 1.30536 1.93478 1.2 2.2 1.2H11.8C12.0652 1.2 12.3196 1.30536 12.5071 1.49289C12.6946 1.68043 12.8 1.93478 12.8 2.2V11.8C12.8 12.0652 12.6946 12.3196 12.5071 12.5071C12.3196 12.6946 12.0652 12.8 11.8 12.8H7C6.84087 12.8 6.68826 12.8632 6.57574 12.9757C6.46321 13.0883 6.4 13.2409 6.4 13.4C6.4 13.5591 6.46321 13.7117 6.57574 13.8243C6.68826 13.9368 6.84087 14 7 14ZM9.77805 7.42192C9.89013 7.534 10.0415 7.59788 10.2 7.59995C10.3585 7.59788 10.5099 7.534 10.622 7.42192C10.7341 7.30985 10.798 7.15844 10.8 6.99995V3.94242C10.8066 3.90505 10.8096 3.86689 10.8089 3.82843C10.8079 3.77159 10.7988 3.7157 10.7824 3.6623C10.756 3.55552 10.701 3.45698 10.622 3.37798C10.5099 3.2659 10.3585 3.20202 10.2 3.19995H7.00002C6.84089 3.19995 6.68828 3.26317 6.57576 3.37569C6.46324 3.48821 6.40002 3.64082 6.40002 3.79995C6.40002 3.95908 6.46324 4.11169 6.57576 4.22422C6.68828 4.33674 6.84089 4.39995 7.00002 4.39995H8.80006L6.19997 7.00005C6.10158 7.11005 6.04718 7.25246 6.04718 7.40005C6.04718 7.54763 6.10158 7.69004 6.19997 7.80005C6.30202 7.91645 6.44561 7.98824 6.59997 8.00005C6.75432 7.98824 6.89791 7.91645 6.99997 7.80005L9.60002 5.26841V6.99995C9.6021 7.15844 9.66598 7.30985 9.77805 7.42192ZM1.4 14H3.8C4.17066 13.9979 4.52553 13.8498 4.78763 13.5877C5.04973 13.3256 5.1979 12.9707 5.2 12.6V10.2C5.1979 9.82939 5.04973 9.47452 4.78763 9.21242C4.52553 8.95032 4.17066 8.80215 3.8 8.80005H1.4C1.02934 8.80215 0.674468 8.95032 0.412371 9.21242C0.150274 9.47452 0.00210008 9.82939 0 10.2V12.6C0.00210008 12.9707 0.150274 13.3256 0.412371 13.5877C0.674468 13.8498 1.02934 13.9979 1.4 14ZM1.25858 10.0586C1.29609 10.0211 1.34696 10 1.4 10H3.8C3.85304 10 3.90391 10.0211 3.94142 10.0586C3.97893 10.0961 4 10.147 4 10.2V12.6C4 12.6531 3.97893 12.704 3.94142 12.7415C3.90391 12.779 3.85304 12.8 3.8 12.8H1.4C1.34696 12.8 1.29609 12.779 1.25858 12.7415C1.22107 12.704 1.2 12.6531 1.2 12.6V10.2C1.2 10.147 1.22107 10.0961 1.25858 10.0586Z`,fill:`currentColor`},null,-1)]),16)}z.render=Fe;var V={name:`WindowMinimizeIcon`,extends:T};function Ie(e){return Be(e)||ze(e)||Re(e)||Le()}function Le(){throw TypeError(`Invalid attempt to spread non-iterable instance.
|
|
5
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Re(e,t){if(e){if(typeof e==`string`)return H(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?H(e,t):void 0}}function ze(e){if(typeof Symbol<`u`&&e[Symbol.iterator]!=null||e[`@@iterator`]!=null)return Array.from(e)}function Be(e){if(Array.isArray(e))return H(e)}function H(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Ve(e,n,r,i,a,o){return t(),k(`svg`,l({width:`14`,height:`14`,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`},e.pti()),Ie(n[0]||=[w(`path`,{"fill-rule":`evenodd`,"clip-rule":`evenodd`,d:`M11.8 0H2.2C1.61652 0 1.05694 0.231785 0.644365 0.644365C0.231785 1.05694 0 1.61652 0 2.2V7C0 7.15913 0.063214 7.31174 0.175736 7.42426C0.288258 7.53679 0.44087 7.6 0.6 7.6C0.75913 7.6 0.911742 7.53679 1.02426 7.42426C1.13679 7.31174 1.2 7.15913 1.2 7V2.2C1.2 1.93478 1.30536 1.68043 1.49289 1.49289C1.68043 1.30536 1.93478 1.2 2.2 1.2H11.8C12.0652 1.2 12.3196 1.30536 12.5071 1.49289C12.6946 1.68043 12.8 1.93478 12.8 2.2V11.8C12.8 12.0652 12.6946 12.3196 12.5071 12.5071C12.3196 12.6946 12.0652 12.8 11.8 12.8H7C6.84087 12.8 6.68826 12.8632 6.57574 12.9757C6.46321 13.0883 6.4 13.2409 6.4 13.4C6.4 13.5591 6.46321 13.7117 6.57574 13.8243C6.68826 13.9368 6.84087 14 7 14H11.8C12.3835 14 12.9431 13.7682 13.3556 13.3556C13.7682 12.9431 14 12.3835 14 11.8V2.2C14 1.61652 13.7682 1.05694 13.3556 0.644365C12.9431 0.231785 12.3835 0 11.8 0ZM6.368 7.952C6.44137 7.98326 6.52025 7.99958 6.6 8H9.8C9.95913 8 10.1117 7.93678 10.2243 7.82426C10.3368 7.71174 10.4 7.55913 10.4 7.4C10.4 7.24087 10.3368 7.08826 10.2243 6.97574C10.1117 6.86321 9.95913 6.8 9.8 6.8H8.048L10.624 4.224C10.73 4.11026 10.7877 3.95982 10.7849 3.80438C10.7822 3.64894 10.7192 3.50063 10.6093 3.3907C10.4994 3.28077 10.3511 3.2178 10.1956 3.21506C10.0402 3.21232 9.88974 3.27002 9.776 3.376L7.2 5.952V4.2C7.2 4.04087 7.13679 3.88826 7.02426 3.77574C6.91174 3.66321 6.75913 3.6 6.6 3.6C6.44087 3.6 6.28826 3.66321 6.17574 3.77574C6.06321 3.88826 6 4.04087 6 4.2V7.4C6.00042 7.47975 6.01674 7.55862 6.048 7.632C6.07656 7.70442 6.11971 7.7702 6.17475 7.82524C6.2298 7.88029 6.29558 7.92344 6.368 7.952ZM1.4 8.80005H3.8C4.17066 8.80215 4.52553 8.95032 4.78763 9.21242C5.04973 9.47452 5.1979 9.82939 5.2 10.2V12.6C5.1979 12.9707 5.04973 13.3256 4.78763 13.5877C4.52553 13.8498 4.17066 13.9979 3.8 14H1.4C1.02934 13.9979 0.674468 13.8498 0.412371 13.5877C0.150274 13.3256 0.00210008 12.9707 0 12.6V10.2C0.00210008 9.82939 0.150274 9.47452 0.412371 9.21242C0.674468 8.95032 1.02934 8.80215 1.4 8.80005ZM3.94142 12.7415C3.97893 12.704 4 12.6531 4 12.6V10.2C4 10.147 3.97893 10.0961 3.94142 10.0586C3.90391 10.0211 3.85304 10 3.8 10H1.4C1.34696 10 1.29609 10.0211 1.25858 10.0586C1.22107 10.0961 1.2 10.147 1.2 10.2V12.6C1.2 12.6531 1.22107 12.704 1.25858 12.7415C1.29609 12.779 1.34696 12.8 1.4 12.8H3.8C3.85304 12.8 3.90391 12.779 3.94142 12.7415Z`,fill:`currentColor`},null,-1)]),16)}V.render=Ve;var He=x.extend({name:`focustrap-directive`}),Ue=le.extend({style:He});function U(e){"@babel/helpers - typeof";return U=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},U(e)}function W(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function G(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?W(Object(n),!0).forEach(function(t){We(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):W(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function We(e,t,n){return(t=Ge(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ge(e){var t=Ke(e,`string`);return U(t)==`symbol`?t:t+``}function Ke(e,t){if(U(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(U(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var qe=Ue.extend(`focustrap`,{mounted:function(e,t){(t.value||{}).disabled||(this.createHiddenFocusableElements(e,t),this.bind(e,t),this.autoElementFocus(e,t)),e.setAttribute(`data-pd-focustrap`,!0),this.$el=e},updated:function(e,t){(t.value||{}).disabled&&this.unbind(e)},unmounted:function(e){this.unbind(e)},methods:{getComputedSelector:function(e){return`:not(.p-hidden-focusable):not([data-p-hidden-focusable="true"])${e??``}`},bind:function(e,t){var i=this,a=t.value||{},o=a.onFocusIn,s=a.onFocusOut;e.$_pfocustrap_mutationobserver=new MutationObserver(function(t){t.forEach(function(t){if(t.type===`childList`&&!e.contains(document.activeElement)){var a=function(t){var o=v(t)?v(t,i.getComputedSelector(e.$_pfocustrap_focusableselector))?t:n(e,i.getComputedSelector(e.$_pfocustrap_focusableselector)):n(t);return r(o)?o:t.nextSibling&&a(t.nextSibling)};O(a(t.nextSibling))}})}),e.$_pfocustrap_mutationobserver.disconnect(),e.$_pfocustrap_mutationobserver.observe(e,{childList:!0}),e.$_pfocustrap_focusinlistener=function(e){return o&&o(e)},e.$_pfocustrap_focusoutlistener=function(e){return s&&s(e)},e.addEventListener(`focusin`,e.$_pfocustrap_focusinlistener),e.addEventListener(`focusout`,e.$_pfocustrap_focusoutlistener)},unbind:function(e){e.$_pfocustrap_mutationobserver&&e.$_pfocustrap_mutationobserver.disconnect(),e.$_pfocustrap_focusinlistener&&e.removeEventListener(`focusin`,e.$_pfocustrap_focusinlistener)&&(e.$_pfocustrap_focusinlistener=null),e.$_pfocustrap_focusoutlistener&&e.removeEventListener(`focusout`,e.$_pfocustrap_focusoutlistener)&&(e.$_pfocustrap_focusoutlistener=null)},autoFocus:function(e){this.autoElementFocus(this.$el,{value:G(G({},e),{},{autoFocus:!0})})},autoElementFocus:function(e,t){var r=t.value||{},i=r.autoFocusSelector,a=i===void 0?``:i,o=r.firstFocusableSelector,s=o===void 0?``:o,c=r.autoFocus,l=c===void 0?!1:c,u=n(e,`[autofocus]${this.getComputedSelector(a)}`);l&&!u&&(u=n(e,this.getComputedSelector(s))),O(u)},onFirstHiddenElementFocus:function(e){var t,r=e.currentTarget,i=e.relatedTarget;O(i===r.$_pfocustrap_lasthiddenfocusableelement||!((t=this.$el)!=null&&t.contains(i))?n(r.parentElement,this.getComputedSelector(r.$_pfocustrap_focusableselector)):r.$_pfocustrap_lasthiddenfocusableelement)},onLastHiddenElementFocus:function(e){var t,n=e.currentTarget,r=e.relatedTarget;O(r===n.$_pfocustrap_firsthiddenfocusableelement||!((t=this.$el)!=null&&t.contains(r))?f(n.parentElement,this.getComputedSelector(n.$_pfocustrap_focusableselector)):n.$_pfocustrap_firsthiddenfocusableelement)},createHiddenFocusableElements:function(e,t){var n=this,r=t.value||{},i=r.tabIndex,a=i===void 0?0:i,o=r.firstFocusableSelector,s=o===void 0?``:o,c=r.lastFocusableSelector,l=c===void 0?``:c,u=function(e){return fe(`span`,{class:`p-hidden-accessible p-hidden-focusable`,tabIndex:a,role:`presentation`,"aria-hidden":!0,"data-p-hidden-accessible":!0,"data-p-hidden-focusable":!0,onFocus:e?.bind(n)})},d=u(this.onFirstHiddenElementFocus),f=u(this.onLastHiddenElementFocus);d.$_pfocustrap_lasthiddenfocusableelement=f,d.$_pfocustrap_focusableselector=s,d.setAttribute(`data-pc-section`,`firstfocusableelement`),f.$_pfocustrap_firsthiddenfocusableelement=d,f.$_pfocustrap_focusableselector=l,f.setAttribute(`data-pc-section`,`lastfocusableelement`),e.prepend(d),e.append(f)}}}),K={name:`Portal`,props:{appendTo:{type:[String,Object],default:`body`},disabled:{type:Boolean,default:!1}},data:function(){return{mounted:!1}},mounted:function(){this.mounted=he()},computed:{inline:function(){return this.disabled||this.appendTo===`self`}}};function q(e,n,r,i,a,o){return o.inline?g(e.$slots,`default`,{key:0}):a.mounted?(t(),C(ne,{key:1,to:r.appendTo},[g(e.$slots,`default`)],8,[`to`])):y(``,!0)}K.render=q;function J(){ee({variableName:a(`scrollbar.width`).name})}function Y(){se({variableName:a(`scrollbar.width`).name})}var Je=x.extend({name:`dialog`,style:`
|
|
6
|
-
.p-dialog {
|
|
7
|
-
max-height: 90%;
|
|
8
|
-
transform: scale(1);
|
|
9
|
-
border-radius: dt('dialog.border.radius');
|
|
10
|
-
box-shadow: dt('dialog.shadow');
|
|
11
|
-
background: dt('dialog.background');
|
|
12
|
-
border: 1px solid dt('dialog.border.color');
|
|
13
|
-
color: dt('dialog.color');
|
|
14
|
-
will-change: transform;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.p-dialog-content {
|
|
18
|
-
overflow-y: auto;
|
|
19
|
-
padding: dt('dialog.content.padding');
|
|
20
|
-
flex-grow: 1;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.p-dialog-header {
|
|
24
|
-
display: flex;
|
|
25
|
-
align-items: center;
|
|
26
|
-
justify-content: space-between;
|
|
27
|
-
flex-shrink: 0;
|
|
28
|
-
padding: dt('dialog.header.padding');
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.p-dialog-title {
|
|
32
|
-
font-weight: dt('dialog.title.font.weight');
|
|
33
|
-
font-size: dt('dialog.title.font.size');
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.p-dialog-footer {
|
|
37
|
-
flex-shrink: 0;
|
|
38
|
-
padding: dt('dialog.footer.padding');
|
|
39
|
-
display: flex;
|
|
40
|
-
justify-content: flex-end;
|
|
41
|
-
gap: dt('dialog.footer.gap');
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.p-dialog-header-actions {
|
|
45
|
-
display: flex;
|
|
46
|
-
align-items: center;
|
|
47
|
-
gap: dt('dialog.header.gap');
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.p-dialog-top .p-dialog,
|
|
51
|
-
.p-dialog-bottom .p-dialog,
|
|
52
|
-
.p-dialog-left .p-dialog,
|
|
53
|
-
.p-dialog-right .p-dialog,
|
|
54
|
-
.p-dialog-topleft .p-dialog,
|
|
55
|
-
.p-dialog-topright .p-dialog,
|
|
56
|
-
.p-dialog-bottomleft .p-dialog,
|
|
57
|
-
.p-dialog-bottomright .p-dialog {
|
|
58
|
-
margin: 1rem;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.p-dialog-maximized {
|
|
62
|
-
width: 100vw !important;
|
|
63
|
-
height: 100vh !important;
|
|
64
|
-
top: 0px !important;
|
|
65
|
-
left: 0px !important;
|
|
66
|
-
max-height: 100%;
|
|
67
|
-
height: 100%;
|
|
68
|
-
border-radius: 0;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.p-dialog .p-resizable-handle {
|
|
72
|
-
position: absolute;
|
|
73
|
-
font-size: 0.1px;
|
|
74
|
-
display: block;
|
|
75
|
-
cursor: se-resize;
|
|
76
|
-
width: 12px;
|
|
77
|
-
height: 12px;
|
|
78
|
-
right: 1px;
|
|
79
|
-
bottom: 1px;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.p-dialog-enter-active {
|
|
83
|
-
animation: p-animate-dialog-enter 300ms cubic-bezier(.19,1,.22,1);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
.p-dialog-leave-active {
|
|
87
|
-
animation: p-animate-dialog-leave 300ms cubic-bezier(.19,1,.22,1);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
@keyframes p-animate-dialog-enter {
|
|
91
|
-
from {
|
|
92
|
-
opacity: 0;
|
|
93
|
-
transform: scale(0.93);
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
@keyframes p-animate-dialog-leave {
|
|
98
|
-
to {
|
|
99
|
-
opacity: 0;
|
|
100
|
-
transform: scale(0.93);
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
`,classes:{mask:function(e){var t=e.props,n=[`left`,`right`,`top`,`topleft`,`topright`,`bottom`,`bottomleft`,`bottomright`].find(function(e){return e===t.position});return[`p-dialog-mask`,{"p-overlay-mask p-overlay-mask-enter-active":t.modal},n?`p-dialog-${n}`:``]},root:function(e){var t=e.props,n=e.instance;return[`p-dialog p-component`,{"p-dialog-maximized":t.maximizable&&n.maximized}]},header:`p-dialog-header`,title:`p-dialog-title`,headerActions:`p-dialog-header-actions`,pcMaximizeButton:`p-dialog-maximize-button`,pcCloseButton:`p-dialog-close-button`,content:`p-dialog-content`,footer:`p-dialog-footer`},inlineStyles:{mask:function(e){var t=e.position,n=e.modal;return{position:`fixed`,height:`100%`,width:`100%`,left:0,top:0,display:`flex`,justifyContent:t===`left`||t===`topleft`||t===`bottomleft`?`flex-start`:t===`right`||t===`topright`||t===`bottomright`?`flex-end`:`center`,alignItems:t===`top`||t===`topleft`||t===`topright`?`flex-start`:t===`bottom`||t===`bottomleft`||t===`bottomright`?`flex-end`:`center`,pointerEvents:n?`auto`:`none`}},root:{display:`flex`,flexDirection:`column`,pointerEvents:`auto`}}}),X={name:`Dialog`,extends:{name:`BaseDialog`,extends:b,props:{header:{type:null,default:null},footer:{type:null,default:null},visible:{type:Boolean,default:!1},modal:{type:Boolean,default:null},contentStyle:{type:null,default:null},contentClass:{type:String,default:null},contentProps:{type:null,default:null},maximizable:{type:Boolean,default:!1},dismissableMask:{type:Boolean,default:!1},closable:{type:Boolean,default:!0},closeOnEscape:{type:Boolean,default:!0},showHeader:{type:Boolean,default:!0},blockScroll:{type:Boolean,default:!1},baseZIndex:{type:Number,default:0},autoZIndex:{type:Boolean,default:!0},position:{type:String,default:`center`},breakpoints:{type:Object,default:null},draggable:{type:Boolean,default:!0},keepInViewport:{type:Boolean,default:!0},minX:{type:Number,default:0},minY:{type:Number,default:0},appendTo:{type:[String,Object],default:`body`},closeIcon:{type:String,default:void 0},maximizeIcon:{type:String,default:void 0},minimizeIcon:{type:String,default:void 0},closeButtonProps:{type:Object,default:function(){return{severity:`secondary`,text:!0,rounded:!0}}},maximizeButtonProps:{type:Object,default:function(){return{severity:`secondary`,text:!0,rounded:!0}}},_instance:null},style:Je,provide:function(){return{$pcDialog:this,$parentInstance:this}}},inheritAttrs:!1,emits:[`update:visible`,`show`,`hide`,`after-hide`,`maximize`,`unmaximize`,`dragstart`,`dragend`],provide:function(){var e=this;return{dialogRef:oe(function(){return e._instance})}},data:function(){return{containerVisible:this.visible,maximized:!1,focusableMax:null,focusableClose:null,target:null}},documentKeydownListener:null,container:null,mask:null,content:null,headerContainer:null,footerContainer:null,maximizableButton:null,closeButton:null,styleElement:null,dragging:null,documentDragListener:null,documentDragEndListener:null,lastPageX:null,lastPageY:null,maskMouseDownTarget:null,updated:function(){this.visible&&(this.containerVisible=this.visible)},beforeUnmount:function(){this.unbindDocumentState(),this.unbindGlobalListeners(),this.destroyStyle(),this.mask&&this.autoZIndex&&A.clear(this.mask),this.container=null,this.mask=null},mounted:function(){this.breakpoints&&this.createStyle()},methods:{close:function(){this.$emit(`update:visible`,!1)},onEnter:function(){this.$emit(`show`),this.target=document.activeElement,this.enableDocumentSettings(),this.bindGlobalListeners(),this.autoZIndex&&A.set(`modal`,this.mask,this.baseZIndex||this.$primevue.config.zIndex.modal)},onAfterEnter:function(){this.focus()},onBeforeLeave:function(){this.modal&&!this.isUnstyled&&ae(this.mask,`p-overlay-mask-leave-active`),this.dragging&&this.documentDragEndListener&&this.documentDragEndListener()},onLeave:function(){this.$emit(`hide`),O(this.target),this.target=null,this.focusableClose=null,this.focusableMax=null},onAfterLeave:function(){this.autoZIndex&&A.clear(this.mask),this.containerVisible=!1,this.unbindDocumentState(),this.unbindGlobalListeners(),this.$emit(`after-hide`)},onMaskMouseDown:function(e){this.maskMouseDownTarget=e.target},onMaskMouseUp:function(){this.dismissableMask&&this.modal&&this.mask===this.maskMouseDownTarget&&this.close()},focus:function(){var e=function(e){return e&&e.querySelector(`[autofocus]`)},t=this.$slots.footer&&e(this.footerContainer);t||(t=this.$slots.header&&e(this.headerContainer),t||(t=this.$slots.default&&e(this.content),t||(this.maximizable?(this.focusableMax=!0,t=this.maximizableButton):(this.focusableClose=!0,t=this.closeButton)))),t&&O(t,{focusVisible:!0})},maximize:function(e){this.maximized?(this.maximized=!1,this.$emit(`unmaximize`,e)):(this.maximized=!0,this.$emit(`maximize`,e)),this.modal||(this.maximized?J():Y())},enableDocumentSettings:function(){(this.modal||!this.modal&&this.blockScroll||this.maximizable&&this.maximized)&&J()},unbindDocumentState:function(){(this.modal||!this.modal&&this.blockScroll||this.maximizable&&this.maximized)&&Y()},onKeyDown:function(e){e.code===`Escape`&&this.closeOnEscape&&!e.isComposing&&this.close()},bindDocumentKeyDownListener:function(){this.documentKeydownListener||(this.documentKeydownListener=this.onKeyDown.bind(this),window.document.addEventListener(`keydown`,this.documentKeydownListener))},unbindDocumentKeyDownListener:function(){this.documentKeydownListener&&=(window.document.removeEventListener(`keydown`,this.documentKeydownListener),null)},containerRef:function(e){this.container=e},maskRef:function(e){this.mask=e},contentRef:function(e){this.content=e},headerContainerRef:function(e){this.headerContainer=e},footerContainerRef:function(e){this.footerContainer=e},maximizableRef:function(e){this.maximizableButton=e?e.$el:void 0},closeButtonRef:function(e){this.closeButton=e?e.$el:void 0},createStyle:function(){if(!this.styleElement&&!this.isUnstyled){var e;this.styleElement=document.createElement(`style`),this.styleElement.type=`text/css`,te(this.styleElement,`nonce`,(e=this.$primevue)==null||(e=e.config)==null||(e=e.csp)==null?void 0:e.nonce),document.head.appendChild(this.styleElement);var t=``;for(var n in this.breakpoints)t+=`
|
|
104
|
-
@media screen and (max-width: ${n}) {
|
|
105
|
-
.p-dialog[${this.$attrSelector}] {
|
|
106
|
-
width: ${this.breakpoints[n]} !important;
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
`;this.styleElement.innerHTML=t}},destroyStyle:function(){this.styleElement&&=(document.head.removeChild(this.styleElement),null)},initDrag:function(e){e.target.closest(`div`).getAttribute(`data-pc-section`)!==`headeractions`&&this.draggable&&(this.dragging=!0,this.lastPageX=e.pageX,this.lastPageY=e.pageY,this.container.style.margin=`0`,document.body.setAttribute(`data-p-unselectable-text`,`true`),!this.isUnstyled&&E(document.body,{"user-select":`none`}),this.$emit(`dragstart`,e))},bindGlobalListeners:function(){this.draggable&&(this.bindDocumentDragListener(),this.bindDocumentDragEndListener()),this.closeOnEscape&&this.bindDocumentKeyDownListener()},unbindGlobalListeners:function(){this.unbindDocumentDragListener(),this.unbindDocumentDragEndListener(),this.unbindDocumentKeyDownListener()},bindDocumentDragListener:function(){var e=this;this.documentDragListener=function(t){if(e.dragging){var n=m(e.container),r=ue(e.container),i=t.pageX-e.lastPageX,a=t.pageY-e.lastPageY,o=e.container.getBoundingClientRect(),s=o.left+i,c=o.top+a,l=re(),u=getComputedStyle(e.container),d=parseFloat(u.marginLeft),f=parseFloat(u.marginTop);e.container.style.position=`fixed`,e.keepInViewport?(s>=e.minX&&s+n<l.width&&(e.lastPageX=t.pageX,e.container.style.left=s-d+`px`),c>=e.minY&&c+r<l.height&&(e.lastPageY=t.pageY,e.container.style.top=c-f+`px`)):(e.lastPageX=t.pageX,e.container.style.left=s-d+`px`,e.lastPageY=t.pageY,e.container.style.top=c-f+`px`)}},window.document.addEventListener(`mousemove`,this.documentDragListener)},unbindDocumentDragListener:function(){this.documentDragListener&&=(window.document.removeEventListener(`mousemove`,this.documentDragListener),null)},bindDocumentDragEndListener:function(){var e=this;this.documentDragEndListener=function(t){e.dragging&&(e.dragging=!1,document.body.removeAttribute(`data-p-unselectable-text`),!e.isUnstyled&&(document.body.style[`user-select`]=``),e.$emit(`dragend`,t))},window.document.addEventListener(`mouseup`,this.documentDragEndListener)},unbindDocumentDragEndListener:function(){this.documentDragEndListener&&=(window.document.removeEventListener(`mouseup`,this.documentDragEndListener),null)}},computed:{maximizeIconComponent:function(){return this.maximized?this.minimizeIcon?`span`:`WindowMinimizeIcon`:this.maximizeIcon?`span`:`WindowMaximizeIcon`},ariaLabelledById:function(){return this.header!=null||this.$attrs[`aria-labelledby`]!==null?this.$id+`_header`:null},closeAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.close:void 0},dataP:function(){return h({maximized:this.maximized,modal:this.modal})}},directives:{ripple:ce,focustrap:qe},components:{Button:pe,Portal:K,WindowMinimizeIcon:V,WindowMaximizeIcon:z,TimesIcon:L}};function Z(e){"@babel/helpers - typeof";return Z=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Z(e)}function Q(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function $(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?Q(Object(n),!0).forEach(function(t){Ye(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Q(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Ye(e,t,n){return(t=Xe(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xe(e){var t=Ze(e,`string`);return Z(t)==`symbol`?t:t+``}function Ze(e,t){if(Z(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Z(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var Qe=[`data-p`],$e=[`aria-labelledby`,`aria-modal`,`data-p`],et=[`id`],tt=[`data-p`];function nt(e,n,r,a,s,u){var f=_(`Button`),m=_(`Portal`),h=i(`focustrap`);return t(),C(m,{appendTo:e.appendTo},{default:D(function(){return[s.containerVisible?(t(),k(`div`,l({key:0,ref:u.maskRef,class:e.cx(`mask`),style:e.sx(`mask`,!0,{position:e.position,modal:e.modal}),onMousedown:n[1]||=function(){return u.onMaskMouseDown&&u.onMaskMouseDown.apply(u,arguments)},onMouseup:n[2]||=function(){return u.onMaskMouseUp&&u.onMaskMouseUp.apply(u,arguments)},"data-p":u.dataP},e.ptm(`mask`)),[p(ge,l({name:`p-dialog`,onEnter:u.onEnter,onAfterEnter:u.onAfterEnter,onBeforeLeave:u.onBeforeLeave,onLeave:u.onLeave,onAfterLeave:u.onAfterLeave,appear:``},e.ptm(`transition`)),{default:D(function(){return[e.visible?de((t(),k(`div`,l({key:0,ref:u.containerRef,class:e.cx(`root`),style:e.sx(`root`),role:`dialog`,"aria-labelledby":u.ariaLabelledById,"aria-modal":e.modal,"data-p":u.dataP},e.ptmi(`root`)),[e.$slots.container?g(e.$slots,`container`,{key:0,closeCallback:u.close,maximizeCallback:function(e){return u.maximize(e)},initDragCallback:u.initDrag}):(t(),k(S,{key:1},[e.showHeader?(t(),k(`div`,l({key:0,ref:u.headerContainerRef,class:e.cx(`header`),onMousedown:n[0]||=function(){return u.initDrag&&u.initDrag.apply(u,arguments)}},e.ptm(`header`)),[g(e.$slots,`header`,{class:d(e.cx(`title`))},function(){return[e.header?(t(),k(`span`,l({key:0,id:u.ariaLabelledById,class:e.cx(`title`)},e.ptm(`title`)),c(e.header),17,et)):y(``,!0)]}),w(`div`,l({class:e.cx(`headerActions`)},e.ptm(`headerActions`)),[e.maximizable?g(e.$slots,`maximizebutton`,{key:0,maximized:s.maximized,maximizeCallback:function(e){return u.maximize(e)}},function(){return[p(f,l({ref:u.maximizableRef,autofocus:s.focusableMax,class:e.cx(`pcMaximizeButton`),onClick:u.maximize,tabindex:e.maximizable?`0`:`-1`,unstyled:e.unstyled},e.maximizeButtonProps,{pt:e.ptm(`pcMaximizeButton`),"data-pc-group-section":`headericon`}),{icon:D(function(n){return[g(e.$slots,`maximizeicon`,{maximized:s.maximized},function(){return[(t(),C(o(u.maximizeIconComponent),l({class:[n.class,s.maximized?e.minimizeIcon:e.maximizeIcon]},e.ptm(`pcMaximizeButton`).icon),null,16,[`class`]))]})]}),_:3},16,[`autofocus`,`class`,`onClick`,`tabindex`,`unstyled`,`pt`])]}):y(``,!0),e.closable?g(e.$slots,`closebutton`,{key:1,closeCallback:u.close},function(){return[p(f,l({ref:u.closeButtonRef,autofocus:s.focusableClose,class:e.cx(`pcCloseButton`),onClick:u.close,"aria-label":u.closeAriaLabel,unstyled:e.unstyled},e.closeButtonProps,{pt:e.ptm(`pcCloseButton`),"data-pc-group-section":`headericon`}),{icon:D(function(n){return[g(e.$slots,`closeicon`,{},function(){return[(t(),C(o(e.closeIcon?`span`:`TimesIcon`),l({class:[e.closeIcon,n.class]},e.ptm(`pcCloseButton`).icon),null,16,[`class`]))]})]}),_:3},16,[`autofocus`,`class`,`onClick`,`aria-label`,`unstyled`,`pt`])]}):y(``,!0)],16)],16)):y(``,!0),w(`div`,l({ref:u.contentRef,class:[e.cx(`content`),e.contentClass],style:e.contentStyle,"data-p":u.dataP},$($({},e.contentProps),e.ptm(`content`))),[g(e.$slots,`default`)],16,tt),e.footer||e.$slots.footer?(t(),k(`div`,l({key:1,ref:u.footerContainerRef,class:e.cx(`footer`)},e.ptm(`footer`)),[g(e.$slots,`footer`,{},function(){return[me(c(e.footer),1)]})],16)):y(``,!0)],64))],16,$e)),[[h,{disabled:!e.modal}]]):y(``,!0)]}),_:3},16,[`onEnter`,`onAfterEnter`,`onBeforeLeave`,`onLeave`,`onAfterLeave`])],16,Qe)):y(``,!0)]}),_:3},8,[`appendTo`])}X.render=nt;export{j as a,Ce as i,K as n,F as o,L as r,A as s,X as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{L as e,N as t,O as n,T as r,at as i,ct as a,dt as o,et as s,ht as c,it as l,k as u,lt as d,m as f,mt as p,pt as m,tt as h,ut as g}from"./button-Cdgr9Igy.js";var _=new WeakMap,v=(...e)=>{let t=e[0],a=r()?.proxy??i();if(a==null&&!n())throw Error(`injectLocal must be called in setup`);return a&&_.has(a)&&t in _.get(a)?_.get(a)[t]:u(...e)},y=typeof window<`u`&&typeof document<`u`;typeof WorkerGlobalScope<`u`&&globalThis instanceof WorkerGlobalScope;var b=Object.prototype.toString,x=e=>b.call(e)===`[object Object]`,S=()=>{};function C(...e){if(e.length!==1)return m(...e);let t=e[0];return typeof t==`function`?a(l(()=>({get:t,set:S}))):d(t)}function w(e,t){function n(...n){return new Promise((r,i)=>{Promise.resolve(e(()=>t.apply(this,n),{fn:t,thisArg:this,args:n})).then(r).catch(i)})}return n}var T=e=>e();function E(e,t={}){let n,r,i=S,a=e=>{clearTimeout(e),i(),i=S},o;return s=>{let c=p(e),l=p(t.maxWait);return n&&a(n),c<=0||l!==void 0&&l<=0?(r&&=(a(r),void 0),Promise.resolve(s())):new Promise((e,u)=>{i=t.rejectOnCancel?u:e,o=s,l&&!r&&(r=setTimeout(()=>{n&&a(n),r=void 0,e(o())},l)),n=setTimeout(()=>{r&&a(r),r=void 0,e(s())},c)})}}function D(e=T,t={}){let{initialState:n=`active`}=t,r=C(n===`active`);function i(){r.value=!1}function a(){r.value=!0}return{isActive:g(r),pause:i,resume:a,eventFilter:(...t)=>{r.value&&e(...t)}}}function O(e){return e.endsWith(`rem`)?Number.parseFloat(e)*16:Number.parseFloat(e)}function k(e){return Array.isArray(e)?e:[e]}function A(e){return e||r()}function j(e,t=200,n={}){return w(E(t,n),e)}function M(e,t,n={}){let{eventFilter:r=T,...i}=n;return s(e,w(r,t),i)}function N(e,t,n={}){let{eventFilter:r,initialState:i=`active`,...a}=n,{eventFilter:o,pause:s,resume:c,isActive:l}=D(r,{initialState:i});return{stop:M(e,t,{...a,eventFilter:o}),pause:s,resume:c,isActive:l}}function P(n,r=!0,i){A(i)?e(n,i):r?n():t(n)}function F(e,t,n){return s(e,t,{...n,immediate:!0})}var I=y?window:void 0;y&&window.document,y&&window.navigator,y&&window.location;function L(e){let t=p(e);return t?.$el??t}function R(...e){let t=(e,t,n,r)=>(e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)),n=f(()=>{let t=k(p(e[0])).filter(e=>e!=null);return t.every(e=>typeof e!=`string`)?t:void 0});return F(()=>[n.value?.map(e=>L(e))??[I].filter(e=>e!=null),k(p(n.value?e[1]:e[0])),k(c(n.value?e[2]:e[1])),p(n.value?e[3]:e[2])],([e,n,r,i],a,o)=>{if(!e?.length||!n?.length||!r?.length)return;let s=x(i)?{...i}:i,c=e.flatMap(e=>n.flatMap(n=>r.map(r=>t(e,n,r,s))));o(()=>{c.forEach(e=>e())})},{flush:`post`})}function z(){let t=o(!1),n=r();return n&&e(()=>{t.value=!0},n),t}function B(e){let t=z();return f(()=>(t.value,!!e()))}var V=Symbol(`vueuse-ssr-width`);function H(){let e=n()?v(V,null):null;return typeof e==`number`?e:void 0}function U(e,t={}){let{window:n=I,ssrWidth:r=H()}=t,i=B(()=>n&&`matchMedia`in n&&typeof n.matchMedia==`function`),a=o(typeof r==`number`),s=o(),c=o(!1);return h(()=>{if(a.value){a.value=!i.value,c.value=p(e).split(`,`).some(e=>{let t=e.includes(`not all`),n=e.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),i=e.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),a=!!(n||i);return n&&a&&(a=r>=O(n[1])),i&&a&&(a=r<=O(i[1])),t?!a:a});return}i.value&&(s.value=n.matchMedia(p(e)),c.value=s.value.matches)}),R(s,`change`,e=>{c.value=e.matches},{passive:!0}),f(()=>c.value)}var W=typeof globalThis<`u`?globalThis:typeof window<`u`?window:typeof global<`u`?global:typeof self<`u`?self:{},G=`__vueuse_ssr_handlers__`,K=q();function q(){return G in W||(W[G]=W[G]||{}),W[G]}function J(e,t){return K[e]||t}function Y(e){return U(`(prefers-color-scheme: dark)`,e)}function X(e){return e==null?`any`:e instanceof Set?`set`:e instanceof Map?`map`:e instanceof Date?`date`:typeof e==`boolean`?`boolean`:typeof e==`string`?`string`:typeof e==`object`?`object`:Number.isNaN(e)?`any`:`number`}var Z={boolean:{read:e=>e===`true`,write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},Q=`vueuse-storage`;function $(e,n,r,i={}){let{flush:a=`pre`,deep:c=!0,listenToStorageChanges:l=!0,writeDefaults:u=!0,mergeDefaults:m=!1,shallow:h,window:g=I,eventFilter:_,onError:v=e=>{console.error(e)},initOnMounted:y}=i,b=(h?o:d)(typeof n==`function`?n():n),x=f(()=>p(e));if(!r)try{r=J(`getDefaultStorage`,()=>I?.localStorage)()}catch(e){v(e)}if(!r)return b;let S=p(n),C=X(S),w=i.serializer??Z[C],{pause:T,resume:E}=N(b,e=>k(e),{flush:a,deep:c,eventFilter:_});s(x,()=>j(),{flush:a});let D=!1;g&&l&&(r instanceof Storage?R(g,`storage`,e=>{y&&!D||j(e)},{passive:!0}):R(g,Q,e=>{y&&!D||M(e)})),y?P(()=>{D=!0,j()}):j();function O(e,t){if(g){let n={key:x.value,oldValue:e,newValue:t,storageArea:r};g.dispatchEvent(r instanceof Storage?new StorageEvent(`storage`,n):new CustomEvent(Q,{detail:n}))}}function k(e){try{let t=r.getItem(x.value);if(e==null)O(t,null),r.removeItem(x.value);else{let n=w.write(e);t!==n&&(r.setItem(x.value,n),O(t,n))}}catch(e){v(e)}}function A(e){let t=e?e.newValue:r.getItem(x.value);if(t==null)return u&&S!=null&&r.setItem(x.value,w.write(S)),S;if(!e&&m){let e=w.read(t);return typeof m==`function`?m(e,S):C===`object`&&!Array.isArray(e)?{...S,...e}:e}else if(typeof t!=`string`)return t;else return w.read(t)}function j(e){if(!(e&&e.storageArea!==r)){if(e&&e.key==null){b.value=S;return}if(!(e&&e.key!==x.value)){T();try{let t=w.write(b.value);(e===void 0||e?.newValue!==t)&&(b.value=A(e))}catch(e){v(e)}finally{e?t(E):E()}}}}function M(e){j(e.detail)}return b}var ee=`*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}`;function te(e={}){let{selector:t=`html`,attribute:n=`class`,initialValue:r=`auto`,window:i=I,storage:a,storageKey:o=`vueuse-color-scheme`,listenToStorageChanges:c=!0,storageRef:l,emitAuto:u,disableTransition:d=!0}=e,p={auto:``,light:`light`,dark:`dark`,...e.modes||{}},m=Y({window:i}),h=f(()=>m.value?`dark`:`light`),g=l||(o==null?C(r):$(o,r,a,{window:i,listenToStorageChanges:c})),_=f(()=>g.value===`auto`?h.value:g.value),v=J(`updateHTMLAttrs`,(e,t,n)=>{let r=typeof e==`string`?i?.document.querySelector(e):L(e);if(!r)return;let a=new Set,o=new Set,s=null;if(t===`class`){let e=n.split(/\s/g);Object.values(p).flatMap(e=>(e||``).split(/\s/g)).filter(Boolean).forEach(t=>{e.includes(t)?a.add(t):o.add(t)})}else s={key:t,value:n};if(a.size===0&&o.size===0&&s===null)return;let c;d&&(c=i.document.createElement(`style`),c.appendChild(document.createTextNode(ee)),i.document.head.appendChild(c));for(let e of a)r.classList.add(e);for(let e of o)r.classList.remove(e);s&&r.setAttribute(s.key,s.value),d&&(i.getComputedStyle(c).opacity,document.head.removeChild(c))});function y(e){v(t,n,p[e]??e)}function b(t){e.onChanged?e.onChanged(t,y):y(t)}s(_,b,{flush:`post`,immediate:!0}),P(()=>b(_.value));let x=f({get(){return u?g.value:_.value},set(e){g.value=e}});return Object.assign(x,{store:g,system:h,state:_})}export{R as n,j as r,te as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{ft as e}from"./button-Cdgr9Igy.js";var t={$schema:`http://json-schema.org/draft-07/schema#`,$id:`https://raw.githubusercontent.com/OSpoon/aiex-cli/main/app/cli/schemas/table-schema.json`,title:`aiex Table Schema`,description:`Defines a database table and its columns for aiex-cli schema-to-SQLite migration.`,type:`object`,required:[`title`,`type`,`table`,`properties`],additionalProperties:!1,properties:{$schema:{type:`string`,description:`Pointer to this schema file for IDE validation.`,format:`uri`,default:`https://raw.githubusercontent.com/OSpoon/aiex-cli/main/app/cli/schemas/table-schema.json`},title:{type:`string`,minLength:1,description:`Human-readable table title (e.g. 'User', 'OrderItem').`},description:{type:`string`,description:`Optional table description.`},type:{type:`string`,const:`object`,description:`Must be 'object' — each file defines one table.`},table:{$ref:`#/$defs/tableConfig`,description:`Table-level configuration.`},properties:{$ref:`#/$defs/properties`,description:`Column definitions keyed by property name (camelCase).`},required:{type:`array`,items:{type:`string`},description:`List of property names that are NOT NULL.`,default:[]}},$defs:{tableConfig:{type:`object`,required:[`name`],additionalProperties:!1,properties:{name:{type:`string`,minLength:1,pattern:`^[a-z][a-z0-9_]*$`,description:`SQLite table name in snake_case (lowercase letters, digits, underscores).`,examples:[`users`,`order_items`,`blog_posts`]},timestamps:{type:`boolean`,default:!1,description:`Automatically add created_at and updated_at TIMESTAMP columns.`},softDelete:{type:`boolean`,default:!1,description:`Automatically add deleted_at nullable TIMESTAMP column.`}}},properties:{type:`object`,minProperties:1,additionalProperties:{$ref:`#/$defs/property`},description:`Column definitions. Keys are camelCase property names.`},property:{type:`object`,required:[`type`],additionalProperties:!1,properties:{description:{type:`string`,description:`Description of the column.`},type:{$ref:`#/$defs/columnType`,description:`Column data type.`},format:{$ref:`#/$defs/formatType`,description:`Semantic format hint that influences the SQLite column type.`},primary:{type:`boolean`,default:!1,description:`Mark this column as PRIMARY KEY. Only one per table.`},autoIncrement:{type:`boolean`,default:!1,description:`AUTO_INCREMENT for integer primary keys.`},unique:{type:`boolean`,default:!1,description:`Add UNIQUE constraint.`},default:{description:`Default value for the column. Type should match the column type.`},minLength:{type:`integer`,minimum:0,description:`Minimum string length (validation only, not a DB constraint).`},maxLength:{type:`integer`,minimum:1,description:`Maximum string length (validation only, not a DB constraint).`},minimum:{type:`number`,description:`Minimum numeric value (validation only, not a DB constraint).`},maximum:{type:`number`,description:`Maximum numeric value (validation only, not a DB constraint).`},drizzle:{$ref:`#/$defs/drizzleConfig`,description:`Drizzle ORM specific overrides.`},nested:{$ref:`#/$defs/nestedConfig`,description:`Create a separate related table instead of embedding as JSON.`},foreignKey:{$ref:`#/$defs/foreignKeyRef`,description:`Foreign key reference to another table.`},properties:{$ref:`#/$defs/properties`,description:`Sub-properties when type is 'object'. Ignored unless nested.enabled or drizzle.mode='json'.`},items:{$ref:`#/$defs/property`,description:`Item schema when type is 'array'. Ignored unless items.nested.enabled.`},required:{type:`array`,items:{type:`string`},description:`Required sub-properties for nested objects.`}}},columnType:{type:`string`,enum:[`string`,`integer`,`number`,`boolean`,`object`,`array`,`null`],description:`Data type. Maps to SQLite as: string→TEXT, integer→INTEGER, number→REAL, boolean→INTEGER(boolean), object→TEXT(json), array→TEXT(json), null→TEXT.`},formatType:{type:`string`,enum:[`date-time`,`email`,`uri`,`json`],description:`Format hints: 'date-time' → INTEGER(timestamp), 'json' → TEXT(json), 'email'/'uri' → TEXT (no special mapping).`},drizzleConfig:{type:`object`,additionalProperties:!1,properties:{mode:{type:`string`,enum:[`json`,`timestamp`,`timestamp_ms`,`boolean`,`bigint`],description:`Override Drizzle column mode. 'json' stores as TEXT(json), 'timestamp'/'timestamp_ms' as INTEGER, 'boolean' as INTEGER(boolean), 'bigint' as INTEGER(bigint).`},customType:{type:`string`,description:`Custom Drizzle type name (reserved for future use).`}}},nestedConfig:{type:`object`,required:[`enabled`,`relation`],additionalProperties:!1,properties:{enabled:{type:`boolean`,const:!0,description:`Must be true to activate nested table creation.`},relation:{type:`string`,enum:[`has-one`,`has-many`],description:`'has-one' → one() relation, 'has-many' → many() relation. Only one level of nesting is supported.`}}},foreignKeyRef:{type:`object`,required:[`table`,`column`],additionalProperties:!1,properties:{table:{type:`string`,minLength:1,description:`Target table name (snake_case).`},column:{type:`string`,minLength:1,description:`Target column name in the referenced table.`}}}}},n=Object.prototype.hasOwnProperty;function r(e,t,n){for(n of e.keys())if(i(n,t))return n}function i(e,t){var a,o,s;if(e===t)return!0;if(e&&t&&(a=e.constructor)===t.constructor){if(a===Date)return e.getTime()===t.getTime();if(a===RegExp)return e.toString()===t.toString();if(a===Array){if((o=e.length)===t.length)for(;o--&&i(e[o],t[o]););return o===-1}if(a===Set){if(e.size!==t.size)return!1;for(o of e)if(s=o,s&&typeof s==`object`&&(s=r(t,s),!s)||!t.has(s))return!1;return!0}if(a===Map){if(e.size!==t.size)return!1;for(o of e)if(s=o[0],s&&typeof s==`object`&&(s=r(t,s),!s)||!i(o[1],t.get(s)))return!1;return!0}if(a===ArrayBuffer)e=new Uint8Array(e),t=new Uint8Array(t);else if(a===DataView){if((o=e.byteLength)===t.byteLength)for(;o--&&e.getInt8(o)===t.getInt8(o););return o===-1}if(ArrayBuffer.isView(e)){if((o=e.byteLength)===t.byteLength)for(;o--&&e[o]===t[o];);return o===-1}if(!a||typeof e==`object`){for(a in o=0,e)if(n.call(e,a)&&++o&&!n.call(t,a)||!(a in t)||!i(e[a],t[a]))return!1;return Object.keys(t).length===o}}return e!==e&&t!==t}function a(t){let n=e(t);try{return structuredClone(n)}catch{return JSON.parse(JSON.stringify(n))}}function o(e,t){return i(e,t)}export{o as n,t as r,a as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{$ as e,At as t,Ct as n,D as r,Dt as i,E as a,Et as o,J as s,Mt as c,Nt as l,Ot as u,Rt as d,S as f,St as p,T as m,Tt as ee,_t as h,bt as g,d as _,ft as v,gt as y,jt as te,kt as b,l as ne,p as x,q as S,u as C,vt as w,wt as T,xt as re,y as ie,yt as E,z as ae}from"./button-Cdgr9Igy.js";var D=void 0,O=typeof window<`u`&&window.trustedTypes;if(O)try{D=O.createPolicy(`vue`,{createHTML:e=>e})}catch{}var oe=D?e=>D.createHTML(e):e=>e,se=`http://www.w3.org/2000/svg`,ce=`http://www.w3.org/1998/Math/MathML`,k=typeof document<`u`?document:null,le=k&&k.createElement(`template`),ue={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{let t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{let i=t===`svg`?k.createElementNS(se,e):t===`mathml`?k.createElementNS(ce,e):n?k.createElement(e,{is:n}):k.createElement(e);return e===`select`&&r&&r.multiple!=null&&i.setAttribute(`multiple`,r.multiple),i},createText:e=>k.createTextNode(e),createComment:e=>k.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>k.querySelector(e),setScopeId(e,t){e.setAttribute(t,``)},insertStaticContent(e,t,n,r,i,a){let o=n?n.previousSibling:t.lastChild;if(i&&(i===a||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===a||!(i=i.nextSibling)););else{le.innerHTML=oe(r===`svg`?`<svg>${e}</svg>`:r===`mathml`?`<math>${e}</math>`:e);let i=le.content;if(r===`svg`||r===`mathml`){let e=i.firstChild;for(;e.firstChild;)i.appendChild(e.firstChild);i.removeChild(e)}t.insertBefore(i,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},A=`transition`,j=`animation`,M=Symbol(`_vtc`),de={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},fe=w({},C,de),pe=(e=>(e.displayName=`Transition`,e.props=fe,e))((e,{slots:t})=>r(ne,F(e),t)),N=(e,t=[])=>{p(e)?e.forEach(e=>e(...t)):e&&e(...t)},P=e=>e?p(e)?e.some(e=>e.length>1):e.length>1:!1;function F(e){let t={};for(let n in e)n in de||(t[n]=e[n]);if(e.css===!1)return t;let{name:n=`v`,type:r,duration:i,enterFromClass:a=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:c=a,appearActiveClass:l=o,appearToClass:u=s,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,m=me(i),ee=m&&m[0],h=m&&m[1],{onBeforeEnter:g,onEnter:_,onEnterCancelled:v,onLeave:y,onLeaveCancelled:te,onBeforeAppear:b=g,onAppear:ne=_,onAppearCancelled:x=v}=t,S=(e,t,n,r)=>{e._enterCancelled=r,R(e,t?u:s),R(e,t?l:o),n&&n()},C=(e,t)=>{e._isLeaving=!1,R(e,d),R(e,p),R(e,f),t&&t()},T=e=>(t,n)=>{let i=e?ne:_,o=()=>S(t,e,n);N(i,[t,o]),z(()=>{R(t,e?c:a),L(t,e?u:s),P(i)||B(t,r,ee,o)})};return w(t,{onBeforeEnter(e){N(g,[e]),L(e,a),L(e,o)},onBeforeAppear(e){N(b,[e]),L(e,c),L(e,l)},onEnter:T(!1),onAppear:T(!0),onLeave(e,t){e._isLeaving=!0;let n=()=>C(e,t);L(e,d),e._enterCancelled?(L(e,f),W(e)):(W(e),L(e,f)),z(()=>{e._isLeaving&&(R(e,d),L(e,p),P(y)||B(e,r,h,n))}),N(y,[e,n])},onEnterCancelled(e){S(e,!1,void 0,!0),N(v,[e])},onAppearCancelled(e){S(e,!0,void 0,!0),N(x,[e])},onLeaveCancelled(e){C(e),N(te,[e])}})}function me(e){if(e==null)return null;if(ee(e))return[I(e.enter),I(e.leave)];{let t=I(e);return[t,t]}}function I(e){return d(e)}function L(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.add(t)),(e[M]||(e[M]=new Set)).add(t)}function R(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.remove(t));let n=e[M];n&&(n.delete(t),n.size||(e[M]=void 0))}function z(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}var he=0;function B(e,t,n,r){let i=e._endId=++he,a=()=>{i===e._endId&&r()};if(n!=null)return setTimeout(a,n);let{type:o,timeout:s,propCount:c}=V(e,t);if(!o)return r();let l=o+`end`,u=0,d=()=>{e.removeEventListener(l,f),a()},f=t=>{t.target===e&&++u>=c&&d()};setTimeout(()=>{u<c&&d()},s+1),e.addEventListener(l,f)}function V(e,t){let n=window.getComputedStyle(e),r=e=>(n[e]||``).split(`, `),i=r(`${A}Delay`),a=r(`${A}Duration`),o=H(i,a),s=r(`${j}Delay`),c=r(`${j}Duration`),l=H(s,c),u=null,d=0,f=0;t===A?o>0&&(u=A,d=o,f=a.length):t===j?l>0&&(u=j,d=l,f=c.length):(d=Math.max(o,l),u=d>0?o>l?A:j:null,f=u?u===A?a.length:c.length:0);let p=u===A&&/\b(?:transform|all)(?:,|$)/.test(r(`${A}Property`).toString());return{type:u,timeout:d,propCount:f,hasTransform:p}}function H(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((t,n)=>U(t)+U(e[n])))}function U(e){return e===`auto`?0:Number(e.slice(0,-1).replace(`,`,`.`))*1e3}function W(e){return(e?e.ownerDocument:document).body.offsetHeight}function ge(e,t,n){let r=e[M];r&&(t=(t?[t,...r]:[...r]).join(` `)),t==null?e.removeAttribute(`class`):n?e.setAttribute(`class`,t):e.className=t}var G=Symbol(`_vod`),_e=Symbol(`_vsh`),ve={name:`show`,beforeMount(e,{value:t},{transition:n}){e[G]=e.style.display===`none`?``:e.style.display,n&&t?n.beforeEnter(e):K(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),K(e,!0),r.enter(e)):r.leave(e,()=>{K(e,!1)}):K(e,t))},beforeUnmount(e,{value:t}){K(e,t)}};function K(e,t){e.style.display=t?e[G]:`none`,e[_e]=!t}var ye=Symbol(``),be=/(?:^|;)\s*display\s*:/;function xe(e,t,n){let r=e.style,i=b(n),a=!1;if(n&&!i){if(t)if(b(t))for(let e of t.split(`;`)){let t=e.slice(0,e.indexOf(`:`)).trim();n[t]??q(r,t,``)}else for(let e in t)n[e]??q(r,e,``);for(let i in n){i===`display`&&(a=!0);let o=n[i];o==null?q(r,i,``):Te(e,i,!b(t)&&t?t[i]:void 0,o)||q(r,i,o)}}else if(i){if(t!==n){let e=r[ye];e&&(n+=`;`+e),r.cssText=n,a=be.test(n)}}else t&&e.removeAttribute(`style`);G in e&&(e[G]=a?r.display:``,e[_e]&&(r.display=`none`))}var Se=/\s*!important$/;function q(e,t,n){if(p(n))n.forEach(n=>q(e,t,n));else if(n??=``,t.startsWith(`--`))e.setProperty(t,n);else{let r=we(e,t);Se.test(n)?e.setProperty(E(r),n.replace(Se,``),`important`):e[r]=n}}var Ce=[`Webkit`,`Moz`,`ms`],J={};function we(e,t){let n=J[t];if(n)return n;let r=y(t);if(r!==`filter`&&r in e)return J[t]=r;r=h(r);for(let n=0;n<Ce.length;n++){let i=Ce[n]+r;if(i in e)return J[t]=i}return t}function Te(e,t,n,r){return e.tagName===`TEXTAREA`&&(t===`width`||t===`height`)&&b(r)&&n===r}var Ee=`http://www.w3.org/1999/xlink`;function De(e,n,r,i,a,o=u(n)){i&&n.startsWith(`xlink:`)?r==null?e.removeAttributeNS(Ee,n.slice(6,n.length)):e.setAttributeNS(Ee,n,r):r==null||o&&!g(r)?e.removeAttribute(n):e.setAttribute(n,o?``:t(r)?String(r):r)}function Oe(e,t,n,r,i){if(t===`innerHTML`||t===`textContent`){n!=null&&(e[t]=t===`innerHTML`?oe(n):n);return}let a=e.tagName;if(t===`value`&&a!==`PROGRESS`&&!a.includes(`-`)){let r=a===`OPTION`?e.getAttribute(`value`)||``:e.value,i=n==null?e.type===`checkbox`?`on`:``:String(n);(r!==i||!(`_value`in e))&&(e.value=i),n??e.removeAttribute(t),e._value=n;return}let o=!1;if(n===``||n==null){let r=typeof e[t];r===`boolean`?n=g(n):n==null&&r===`string`?(n=``,o=!0):r===`number`&&(n=0,o=!0)}try{e[t]=n}catch{}o&&e.removeAttribute(i||t)}function Y(e,t,n,r){e.addEventListener(t,n,r)}function ke(e,t,n,r){e.removeEventListener(t,n,r)}var Ae=Symbol(`_vei`);function je(e,t,n,r,i=null){let a=e[Ae]||(e[Ae]={}),o=a[t];if(r&&o)o.value=r;else{let[n,s]=Ne(t);r?Y(e,n,a[t]=Le(r,i),s):o&&(ke(e,n,o,s),a[t]=void 0)}}var Me=/(?:Once|Passive|Capture)$/;function Ne(e){let t;if(Me.test(e)){t={};let n;for(;n=e.match(Me);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[e[2]===`:`?e.slice(3):E(e.slice(2)),t]}var Pe=0,Fe=Promise.resolve(),Ie=()=>Pe||=(Fe.then(()=>Pe=0),Date.now());function Le(e,t){let n=e=>{if(!e._vts)e._vts=Date.now();else if(e._vts<=n.attached)return;x(Re(e,n.value),t,5,[e])};return n.value=e,n.attached=Ie(),n}function Re(e,t){if(p(t)){let n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(e=>t=>!t._stopped&&e&&e(t))}else return t}var ze=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Be=(e,t,n,r,i,a)=>{let s=i===`svg`;t===`class`?ge(e,r,s):t===`style`?xe(e,n,r):o(t)?T(t)||je(e,t,n,r,a):(t[0]===`.`?(t=t.slice(1),!0):t[0]===`^`?(t=t.slice(1),!1):Ve(e,t,r,s))?(Oe(e,t,r),!e.tagName.includes(`-`)&&(t===`value`||t===`checked`||t===`selected`)&&De(e,t,r,s,a,t!==`value`)):e._isVueCE&&(He(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!b(r)))?Oe(e,y(t),r,a,t):(t===`true-value`?e._trueValue=r:t===`false-value`&&(e._falseValue=r),De(e,t,r,s))};function Ve(e,t,r,i){if(i)return!!(t===`innerHTML`||t===`textContent`||t in e&&ze(t)&&n(r));if(t===`spellcheck`||t===`draggable`||t===`translate`||t===`autocorrect`||t===`sandbox`&&e.tagName===`IFRAME`||t===`form`||t===`list`&&e.tagName===`INPUT`||t===`type`&&e.tagName===`TEXTAREA`)return!1;if(t===`width`||t===`height`){let t=e.tagName;if(t===`IMG`||t===`VIDEO`||t===`CANVAS`||t===`SOURCE`)return!1}return ze(t)&&b(r)?!1:t in e}function He(e,t){let n=e._def.props;if(!n)return!1;let r=y(t);return Array.isArray(n)?n.some(e=>y(e)===r):Object.keys(n).some(e=>y(e)===r)}var Ue=new WeakMap,We=new WeakMap,X=Symbol(`_moveCb`),Ge=Symbol(`_enterCb`),Ke=(e=>(delete e.props.mode,e))({name:`TransitionGroup`,props:w({},fe,{tag:String,moveClass:String}),setup(t,{slots:n}){let r=m(),i=e(),o,c;return ae(()=>{if(!o.length)return;let e=t.moveClass||`${t.name||`v`}-move`;if(!Ze(o[0].el,r.vnode.el,e)){o=[];return}o.forEach(qe),o.forEach(Je);let n=o.filter(Ye);W(r.vnode.el),n.forEach(t=>{let n=t.el,r=n.style;L(n,e),r.transform=r.webkitTransform=r.transitionDuration=``;let i=n[X]=t=>{t&&t.target!==n||(!t||t.propertyName.endsWith(`transform`))&&(n.removeEventListener(`transitionend`,i),n[X]=null,R(n,e))};n.addEventListener(`transitionend`,i)}),o=[]}),()=>{let e=v(t),l=F(e),u=e.tag||_;if(o=[],c)for(let e=0;e<c.length;e++){let t=c[e];t.el&&t.el instanceof Element&&(o.push(t),s(t,S(t,l,i,r)),Ue.set(t,Xe(t.el)))}c=n.default?a(n.default()):[];for(let e=0;e<c.length;e++){let t=c[e];t.key!=null&&s(t,S(t,l,i,r))}return f(u,null,c)}}});function qe(e){let t=e.el;t[X]&&t[X](),t[Ge]&&t[Ge]()}function Je(e){We.set(e,Xe(e.el))}function Ye(e){let t=Ue.get(e),n=We.get(e),r=t.left-n.left,i=t.top-n.top;if(r||i){let t=e.el,n=t.style,a=t.getBoundingClientRect(),o=1,s=1;return t.offsetWidth&&(o=a.width/t.offsetWidth),t.offsetHeight&&(s=a.height/t.offsetHeight),(!Number.isFinite(o)||o===0)&&(o=1),(!Number.isFinite(s)||s===0)&&(s=1),Math.abs(o-1)<.01&&(o=1),Math.abs(s-1)<.01&&(s=1),n.transform=n.webkitTransform=`translate(${r/o}px,${i/s}px)`,n.transitionDuration=`0s`,e}}function Xe(e){let t=e.getBoundingClientRect();return{left:t.left,top:t.top}}function Ze(e,t,n){let r=e.cloneNode(),i=e[M];i&&i.forEach(e=>{e.split(/\s+/).forEach(e=>e&&r.classList.remove(e))}),n.split(/\s+/).forEach(e=>e&&r.classList.add(e)),r.style.display=`none`;let a=t.nodeType===1?t:t.parentNode;a.appendChild(r);let{hasTransform:o}=V(r);return a.removeChild(r),o}var Z=e=>{let t=e.props[`onUpdate:modelValue`]||!1;return p(t)?e=>re(t,e):t};function Qe(e){e.target.composing=!0}function Q(e){let t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event(`input`)))}var $=Symbol(`_assign`);function $e(e,t,n){return t&&(e=e.trim()),n&&(e=l(e)),e}var et={created(e,{modifiers:{lazy:t,trim:n,number:r}},i){e[$]=Z(i);let a=r||i.props&&i.props.type===`number`;Y(e,t?`change`:`input`,t=>{t.target.composing||e[$]($e(e.value,n,a))}),(n||a)&&Y(e,`change`,()=>{e.value=$e(e.value,n,a)}),t||(Y(e,`compositionstart`,Qe),Y(e,`compositionend`,Q),Y(e,`change`,Q))},mounted(e,{value:t}){e.value=t??``},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:i,number:a}},o){if(e[$]=Z(o),e.composing)return;let s=(a||e.type===`number`)&&!/^0\d/.test(e.value)?l(e.value):e.value,c=t??``;if(s===c)return;let u=e.getRootNode();(u instanceof Document||u instanceof ShadowRoot)&&u.activeElement===e&&e.type!==`range`&&(r&&t===n||i&&e.value.trim()===c)||(e.value=c)}},tt={deep:!0,created(e,t,n){e[$]=Z(n),Y(e,`change`,()=>{let t=e._modelValue,n=rt(e),r=e.checked,a=e[$];if(p(t)){let e=c(t,n),i=e!==-1;if(r&&!i)a(t.concat(n));else if(!r&&i){let n=[...t];n.splice(e,1),a(n)}}else if(i(t)){let e=new Set(t);r?e.add(n):e.delete(n),a(e)}else a(it(e,r))})},mounted:nt,beforeUpdate(e,t,n){e[$]=Z(n),nt(e,t,n)}};function nt(e,{value:t,oldValue:n},r){e._modelValue=t;let a;if(p(t))a=c(t,r.props.value)>-1;else if(i(t))a=t.has(r.props.value);else{if(t===n)return;a=te(t,it(e,!0))}e.checked!==a&&(e.checked=a)}function rt(e){return`_value`in e?e._value:e.value}function it(e,t){let n=t?`_trueValue`:`_falseValue`;return n in e?e[n]:t}var at=[`ctrl`,`shift`,`alt`,`meta`],ot={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>`button`in e&&e.button!==0,middle:e=>`button`in e&&e.button!==1,right:e=>`button`in e&&e.button!==2,exact:(e,t)=>at.some(n=>e[`${n}Key`]&&!t.includes(n))},st=(e,t)=>{if(!e)return e;let n=e._withMods||={},r=t.join(`.`);return n[r]||(n[r]=((n,...r)=>{for(let e=0;e<t.length;e++){let r=ot[t[e]];if(r&&r(n,t))return}return e(n,...r)}))},ct={esc:`escape`,space:` `,up:`arrow-up`,left:`arrow-left`,right:`arrow-right`,down:`arrow-down`,delete:`backspace`},lt=(e,t)=>{let n=e._withKeys||={},r=t.join(`.`);return n[r]||(n[r]=(n=>{if(!(`key`in n))return;let r=E(n.key);if(t.some(e=>e===r||ct[e]===r))return e(n)}))},ut=w({patchProp:Be},ue),dt;function ft(){return dt||=ie(ut)}var pt=((...e)=>{let t=ft().createApp(...e),{mount:r}=t;return t.mount=e=>{let i=ht(e);if(!i)return;let a=t._component;!n(a)&&!a.render&&!a.template&&(a.template=i.innerHTML),i.nodeType===1&&(i.textContent=``);let o=r(i,!1,mt(i));return i instanceof Element&&(i.removeAttribute(`v-cloak`),i.setAttribute(`data-v-app`,``)),o},t});function mt(e){if(e instanceof SVGElement)return`svg`;if(typeof MathMLElement==`function`&&e instanceof MathMLElement)return`mathml`}function ht(e){return b(e)?document.querySelector(e):e}export{et as a,st as c,tt as i,Ke as n,ve as o,pt as r,lt as s,pe as t};
|