aiex-cli 0.0.1 → 0.0.2-beta.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.
Files changed (116) hide show
  1. package/README.md +19 -2
  2. package/dist/cli.mjs +880 -35
  3. package/dist/{doctor-collector-CykRm0fC.mjs → doctor-collector-BhNgLdrJ.mjs} +31 -4
  4. package/dist/index.mjs +1 -1
  5. package/dist/web/assets/AISettings-DU-jBPOf.js +205 -0
  6. package/dist/web/assets/{DataBrowser-CwcTG80-.js → DataBrowser-DQwOvooY.js} +3 -3
  7. package/dist/web/assets/ExtractRunner-CzfLlCCf.js +1 -0
  8. package/dist/web/assets/{ExtractionViewer-CsdK1kKK.js → ExtractionViewer-D7tghmR-.js} +1 -1
  9. package/dist/web/assets/{JsonSchemaEditor-D477lV5a.js → JsonSchemaEditor-DXhYW-Un.js} +3 -3
  10. package/dist/web/assets/{api-client-D2Y_-4JM.js → api-client-CIC2X8_4.js} +1 -1
  11. package/dist/web/assets/baseinput-B7PU5-38.js +2 -0
  12. package/dist/web/assets/checkbox-CCQwMfLd.js +142 -0
  13. package/dist/web/assets/{cssMode-CPThwItX.js → cssMode-CCz1uj8b.js} +1 -1
  14. package/dist/web/assets/dialog-8xaIXBKO.js +108 -0
  15. package/dist/web/assets/{editor.main-BnOkwRFv.js → editor.main-DOue-nGf.js} +2 -2
  16. package/dist/web/assets/{freemarker2-DWDTYVJR.js → freemarker2-C87H7V8i.js} +1 -1
  17. package/dist/web/assets/{handlebars-D4DzjGQ7.js → handlebars-TLnoktZW.js} +1 -1
  18. package/dist/web/assets/{html-DnzhKSoD.js → html-Rewbtgcp.js} +1 -1
  19. package/dist/web/assets/{htmlMode-CR7UKfEH.js → htmlMode-Cr9y3YUi.js} +1 -1
  20. package/dist/web/assets/index-BEorm4a5.css +2 -0
  21. package/dist/web/assets/{index-DVDVw-GK.js → index-FPVIOydC.js} +38 -38
  22. package/dist/web/assets/{javascript-D2srszZ8.js → javascript-BO8DPECx.js} +1 -1
  23. package/dist/web/assets/{jsonMode-B4jaPYEr.js → jsonMode-B78m_Y1l.js} +1 -1
  24. package/dist/web/assets/{liquid-CIT2Wl_l.js → liquid-CDp_8YUE.js} +1 -1
  25. package/dist/web/assets/{mdx-CWLaEOFy.js → mdx-CeR1GULE.js} +1 -1
  26. package/dist/web/assets/{monaco.contribution-DDv5ldfS.js → monaco.contribution-tCitzj1_.js} +2 -2
  27. package/dist/web/assets/{python-6CGfpCNq.js → python-DWmB1hQ6.js} +1 -1
  28. package/dist/web/assets/{razor-DEMMh3TD.js → razor-BVk762Lq.js} +1 -1
  29. package/dist/web/assets/runtime-dom.esm-bundler-DZwuSnld.js +1 -0
  30. package/dist/web/assets/select-DKPPF403.js +438 -0
  31. package/dist/web/assets/{tsMode-Cm1NtjPs.js → tsMode-Gjs5D1gt.js} +1 -1
  32. package/dist/web/assets/{typescript-BM9aPEFg.js → typescript-Cw6YtwrM.js} +1 -1
  33. package/dist/web/assets/utils-CZhxh2Ya.js +2 -0
  34. package/dist/web/assets/{xml-CoSbvcg5.js → xml-guZq0YZJ.js} +1 -1
  35. package/dist/web/assets/{yaml-56GOgy8k.js → yaml-B9TbU-LX.js} +1 -1
  36. package/dist/web/index.html +9 -8
  37. package/package.json +2 -1
  38. package/dist/web/assets/AISettings-CI6Lgx0p.js +0 -339
  39. package/dist/web/assets/dialog-CUkPLPNP.js +0 -109
  40. package/dist/web/assets/index-C9N8oWt4.css +0 -2
  41. package/dist/web/assets/runtime-dom.esm-bundler-ei_N7Xjw.js +0 -1
  42. package/dist/web/assets/select-BGex2SPs.js +0 -439
  43. /package/dist/web/assets/{abap-Bgec7Keq.js → abap-C3UM4cME.js} +0 -0
  44. /package/dist/web/assets/{apex-VBlPwEoQ.js → apex-BQBZvQmN.js} +0 -0
  45. /package/dist/web/assets/{azcli-DKqrEFBx.js → azcli-Dn9Awrok.js} +0 -0
  46. /package/dist/web/assets/{bat-DdgQWy_0.js → bat-JgEezSDo.js} +0 -0
  47. /package/dist/web/assets/{bicep-CRMM43EB.js → bicep-vcQeC7wE.js} +0 -0
  48. /package/dist/web/assets/{cameligo-UatALtML.js → cameligo-C0cr0T3L.js} +0 -0
  49. /package/dist/web/assets/{clojure-D8JU08RA.js → clojure-Brc1-rbW.js} +0 -0
  50. /package/dist/web/assets/{coffee-C56wu358.js → coffee-BiZYU83a.js} +0 -0
  51. /package/dist/web/assets/{cpp-CyZLvhJG.js → cpp-ikWHCInz.js} +0 -0
  52. /package/dist/web/assets/{csharp-BJl3ixva.js → csharp-BRWs_LfH.js} +0 -0
  53. /package/dist/web/assets/{csp-CxEKxmO-.js → csp-CcAumoJw.js} +0 -0
  54. /package/dist/web/assets/{css-B0t_muXd.js → css-BZm6paiA.js} +0 -0
  55. /package/dist/web/assets/{cypher-D1hqiMFD.js → cypher-CDQMONdb.js} +0 -0
  56. /package/dist/web/assets/{dart-Bz550Pyv.js → dart-Ci4SZdF1.js} +0 -0
  57. /package/dist/web/assets/{dist-9yHVMqQ0.js → dist-B5Yem2Jn.js} +0 -0
  58. /package/dist/web/assets/{dockerfile-CIXgVAuA.js → dockerfile-BV0tAr-M.js} +0 -0
  59. /package/dist/web/assets/{ecl-D9qbvZoA.js → ecl-CP7nM2KN.js} +0 -0
  60. /package/dist/web/assets/{editor.api-C8BHpRhn.js → editor.api-BU_q4v8i.js} +0 -0
  61. /package/dist/web/assets/{elixir-b2M38fAy.js → elixir-GcA6wFiI.js} +0 -0
  62. /package/dist/web/assets/{flow9-Dq1UYMkt.js → flow9-CIb9youF.js} +0 -0
  63. /package/dist/web/assets/{fsharp-BaeLhgfq.js → fsharp-BVaBE4co.js} +0 -0
  64. /package/dist/web/assets/{go-Bd-NFKIC.js → go-Bbqf306x.js} +0 -0
  65. /package/dist/web/assets/{graphql-DZVerJfy.js → graphql-DJPrC4l-.js} +0 -0
  66. /package/dist/web/assets/{hcl-CAVzrZfH.js → hcl-QyfWVWpM.js} +0 -0
  67. /package/dist/web/assets/{ini-CyXdX58t.js → ini-CgstZeS8.js} +0 -0
  68. /package/dist/web/assets/{java-B5pNgvhy.js → java-D4AG88ZY.js} +0 -0
  69. /package/dist/web/assets/{julia-XRhmV3AN.js → julia-CN8U9648.js} +0 -0
  70. /package/dist/web/assets/{kotlin-DOd3J5vr.js → kotlin-gNNgpJhY.js} +0 -0
  71. /package/dist/web/assets/{less-veZSnyw6.js → less-C3SY2L8t.js} +0 -0
  72. /package/dist/web/assets/{lexon-QWGkuK0H.js → lexon-CznnqzUX.js} +0 -0
  73. /package/dist/web/assets/{lua-CYGpjuO5.js → lua-f3xyJgy5.js} +0 -0
  74. /package/dist/web/assets/{m3-yNnrZkdc.js → m3-Cl7J89p-.js} +0 -0
  75. /package/dist/web/assets/{markdown-BCSWEPSX.js → markdown-Bv2fnzzT.js} +0 -0
  76. /package/dist/web/assets/{mips-OpYmcC30.js → mips-D6rXUTWa.js} +0 -0
  77. /package/dist/web/assets/{msdax-2oxoTO9Z.js → msdax-Bb1N2x5J.js} +0 -0
  78. /package/dist/web/assets/{mysql-5KlC-K_9.js → mysql-DXSr6oD7.js} +0 -0
  79. /package/dist/web/assets/{object-utils-I4gWdSnS.js → object-utils-Cm2M3fPO.js} +0 -0
  80. /package/dist/web/assets/{objective-c-CcDCgtLx.js → objective-c-CEJiVkDa.js} +0 -0
  81. /package/dist/web/assets/{pascal-BZGsbaEV.js → pascal-BtkMEIba.js} +0 -0
  82. /package/dist/web/assets/{pascaligo-DtD5qU3G.js → pascaligo-C7FAwqk7.js} +0 -0
  83. /package/dist/web/assets/{perl-C1jNNS3E.js → perl-D9kqkBbN.js} +0 -0
  84. /package/dist/web/assets/{pgsql-CT0fhiZa.js → pgsql-BjGTBL1W.js} +0 -0
  85. /package/dist/web/assets/{php-D6DrXoPM.js → php-BN0c0noA.js} +0 -0
  86. /package/dist/web/assets/{pla-b3-HN2pF.js → pla-B94QTqOt.js} +0 -0
  87. /package/dist/web/assets/{postiats-Bin2ApVS.js → postiats-DH91dqBs.js} +0 -0
  88. /package/dist/web/assets/{powerquery-7ASnn-ZG.js → powerquery-D7P0oUen.js} +0 -0
  89. /package/dist/web/assets/{powershell-t4p7sU1H.js → powershell-CCVHmJax.js} +0 -0
  90. /package/dist/web/assets/{preload-helper-Dd-HcVz_.js → preload-helper-DgFuoWHe.js} +0 -0
  91. /package/dist/web/assets/{protobuf-BUGeWa_j.js → protobuf-BIP7pixC.js} +0 -0
  92. /package/dist/web/assets/{pug-BuKcgC9s.js → pug-DcbLK7HH.js} +0 -0
  93. /package/dist/web/assets/{qsharp-DxLLX8mo.js → qsharp-B-VY_WOG.js} +0 -0
  94. /package/dist/web/assets/{r-DMlFgn7A.js → r-DwRtsJsj.js} +0 -0
  95. /package/dist/web/assets/{redis-cXItkC5u.js → redis-CaW0tkwu.js} +0 -0
  96. /package/dist/web/assets/{redshift-BZVbW7HE.js → redshift-3tS8G0ME.js} +0 -0
  97. /package/dist/web/assets/{restructuredtext-BzjxwS8h.js → restructuredtext-_TNyGyK0.js} +0 -0
  98. /package/dist/web/assets/{ruby-C5nyLV4l.js → ruby-A-MwVfO4.js} +0 -0
  99. /package/dist/web/assets/{rust-BcmMsHdf.js → rust-oemlUIvG.js} +0 -0
  100. /package/dist/web/assets/{sb-Dnb1iy6B.js → sb-BDZuaI3W.js} +0 -0
  101. /package/dist/web/assets/{scala-anMIFYpA.js → scala-Bfo2loK4.js} +0 -0
  102. /package/dist/web/assets/{scheme-BItQTe08.js → scheme-N2eo7rjB.js} +0 -0
  103. /package/dist/web/assets/{scss-BOv51BJ5.js → scss-vjjSCTgN.js} +0 -0
  104. /package/dist/web/assets/{shell-BsRYRTNN.js → shell-Bfb9Yq6w.js} +0 -0
  105. /package/dist/web/assets/{solidity-BtuLgGDx.js → solidity-C9RbukzG.js} +0 -0
  106. /package/dist/web/assets/{sophia-B0Vkc5MF.js → sophia-DWV_MWOg.js} +0 -0
  107. /package/dist/web/assets/{sparql-B7lvkZQM.js → sparql-iMXILWhh.js} +0 -0
  108. /package/dist/web/assets/{sql-DvP5MpA3.js → sql-CJDj31JM.js} +0 -0
  109. /package/dist/web/assets/{st-GVUeyB3U.js → st-BG9AQ1OO.js} +0 -0
  110. /package/dist/web/assets/{swift-DSPIoCjm.js → swift-B579DvHm.js} +0 -0
  111. /package/dist/web/assets/{systemverilog-Icj2-k23.js → systemverilog-BNgaF3ZX.js} +0 -0
  112. /package/dist/web/assets/{tcl-Cd8KQcm-.js → tcl-grdtJiUA.js} +0 -0
  113. /package/dist/web/assets/{twig-CBHmt8z3.js → twig-JAsFXBZw.js} +0 -0
  114. /package/dist/web/assets/{typespec-Ckc037mq.js → typespec-D3hIQXEU.js} +0 -0
  115. /package/dist/web/assets/{vb-B97GW9Wb.js → vb-H38jRcEz.js} +0 -0
  116. /package/dist/web/assets/{wgsl-DIKmb3YH.js → wgsl-BC5Grc5r.js} +0 -0
@@ -0,0 +1,2 @@
1
+ import{An as e,Kt as t,Nn as n,jn as r}from"./button-Cdgr9Igy.js";var i={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 a(e,t){var n=typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(!n){if(Array.isArray(e)||(n=o(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,s=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){c=!0,a=e},f:function(){try{s||n.return==null||n.return()}finally{if(c)throw a}}}}function o(e,t){if(e){if(typeof e==`string`)return s(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)?s(e,t):void 0}}function s(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 c={filter:function(e,t,r,i,o){var s=[];if(!e)return s;var c=a(e),l;try{for(c.s();!(l=c.n()).done;){var u=l.value;if(typeof u==`string`){if(this.filters[i](u,r,o)){s.push(u);continue}}else{var d=a(t),f;try{for(d.s();!(f=d.n()).done;){var p=f.value,m=n(u,p);if(this.filters[i](m,r,o)){s.push(u);break}}}catch(e){d.e(e)}finally{d.f()}}}}catch(e){c.e(e)}finally{c.f()}return s},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(r(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 l(e){"@babel/helpers - typeof";return l=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},l(e)}function u(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function d(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,p(r.key),r)}}function f(e,t,n){return t&&d(e.prototype,t),Object.defineProperty(e,`prototype`,{writable:!1}),e}function p(e){var t=m(e,`string`);return l(t)==`symbol`?t:t+``}function m(e,t){if(l(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(l(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return String(e)}var h=function(){function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:function(){};u(this,e),this.element=t,this.listener=n}return f(e,[{key:`bindScrollListener`,value:function(){this.scrollableParents=t(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}}])}();export{i as n,c as r,h as t};
@@ -1 +1 @@
1
- import{m as e}from"./editor.api-C8BHpRhn.js";var t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,a=(e,a,o,s)=>{if(a&&typeof a==`object`||typeof a==`function`)for(let c of r(a))!i.call(e,c)&&c!==o&&t(e,c,{get:()=>a[c],enumerable:!(s=n(a,c))||s.enumerable});return e},o=(e,t,n)=>(a(e,t,`default`),n&&a(n,t,`default`)),s={};o(s,e);var c={comments:{blockComment:[`<!--`,`-->`]},brackets:[[`<`,`>`]],autoClosingPairs:[{open:`<`,close:`>`},{open:`'`,close:`'`},{open:`"`,close:`"`}],surroundingPairs:[{open:`<`,close:`>`},{open:`'`,close:`'`},{open:`"`,close:`"`}],onEnterRules:[{beforeText:RegExp(`<([_:\\w][_:\\w-.\\d]*)([^/>]*(?!/)>)[^<]*$`,`i`),afterText:/^<\/([_:\w][_:\w-.\d]*)\s*>$/i,action:{indentAction:s.languages.IndentAction.IndentOutdent}},{beforeText:RegExp(`<(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,`i`),action:{indentAction:s.languages.IndentAction.Indent}}]},l={defaultToken:``,tokenPostfix:`.xml`,ignoreCase:!0,qualifiedName:/(?:[\w\.\-]+:)?[\w\.\-]+/,tokenizer:{root:[[/[^<&]+/,``],{include:`@whitespace`},[/(<)(@qualifiedName)/,[{token:`delimiter`},{token:`tag`,next:`@tag`}]],[/(<\/)(@qualifiedName)(\s*)(>)/,[{token:`delimiter`},{token:`tag`},``,{token:`delimiter`}]],[/(<\?)(@qualifiedName)/,[{token:`delimiter`},{token:`metatag`,next:`@tag`}]],[/(<\!)(@qualifiedName)/,[{token:`delimiter`},{token:`metatag`,next:`@tag`}]],[/<\!\[CDATA\[/,{token:`delimiter.cdata`,next:`@cdata`}],[/&\w+;/,`string.escape`]],cdata:[[/[^\]]+/,``],[/\]\]>/,{token:`delimiter.cdata`,next:`@pop`}],[/\]/,``]],tag:[[/[ \t\r\n]+/,``],[/(@qualifiedName)(\s*=\s*)("[^"]*"|'[^']*')/,[`attribute.name`,``,`attribute.value`]],[/(@qualifiedName)(\s*=\s*)("[^">?\/]*|'[^'>?\/]*)(?=[\?\/]\>)/,[`attribute.name`,``,`attribute.value`]],[/(@qualifiedName)(\s*=\s*)("[^">]*|'[^'>]*)/,[`attribute.name`,``,`attribute.value`]],[/@qualifiedName/,`attribute.name`],[/\?>/,{token:`delimiter`,next:`@pop`}],[/(\/)(>)/,[{token:`tag`},{token:`delimiter`,next:`@pop`}]],[/>/,{token:`delimiter`,next:`@pop`}]],whitespace:[[/[ \t\r\n]+/,``],[/<!--/,{token:`comment`,next:`@comment`}]],comment:[[/[^<\-]+/,`comment.content`],[/-->/,{token:`comment`,next:`@pop`}],[/<!--/,`comment.content.invalid`],[/[<\-]/,`comment.content`]]}};export{c as conf,l as language};
1
+ import{m as e}from"./editor.api-BU_q4v8i.js";var t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,a=(e,a,o,s)=>{if(a&&typeof a==`object`||typeof a==`function`)for(let c of r(a))!i.call(e,c)&&c!==o&&t(e,c,{get:()=>a[c],enumerable:!(s=n(a,c))||s.enumerable});return e},o=(e,t,n)=>(a(e,t,`default`),n&&a(n,t,`default`)),s={};o(s,e);var c={comments:{blockComment:[`<!--`,`-->`]},brackets:[[`<`,`>`]],autoClosingPairs:[{open:`<`,close:`>`},{open:`'`,close:`'`},{open:`"`,close:`"`}],surroundingPairs:[{open:`<`,close:`>`},{open:`'`,close:`'`},{open:`"`,close:`"`}],onEnterRules:[{beforeText:RegExp(`<([_:\\w][_:\\w-.\\d]*)([^/>]*(?!/)>)[^<]*$`,`i`),afterText:/^<\/([_:\w][_:\w-.\d]*)\s*>$/i,action:{indentAction:s.languages.IndentAction.IndentOutdent}},{beforeText:RegExp(`<(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,`i`),action:{indentAction:s.languages.IndentAction.Indent}}]},l={defaultToken:``,tokenPostfix:`.xml`,ignoreCase:!0,qualifiedName:/(?:[\w\.\-]+:)?[\w\.\-]+/,tokenizer:{root:[[/[^<&]+/,``],{include:`@whitespace`},[/(<)(@qualifiedName)/,[{token:`delimiter`},{token:`tag`,next:`@tag`}]],[/(<\/)(@qualifiedName)(\s*)(>)/,[{token:`delimiter`},{token:`tag`},``,{token:`delimiter`}]],[/(<\?)(@qualifiedName)/,[{token:`delimiter`},{token:`metatag`,next:`@tag`}]],[/(<\!)(@qualifiedName)/,[{token:`delimiter`},{token:`metatag`,next:`@tag`}]],[/<\!\[CDATA\[/,{token:`delimiter.cdata`,next:`@cdata`}],[/&\w+;/,`string.escape`]],cdata:[[/[^\]]+/,``],[/\]\]>/,{token:`delimiter.cdata`,next:`@pop`}],[/\]/,``]],tag:[[/[ \t\r\n]+/,``],[/(@qualifiedName)(\s*=\s*)("[^"]*"|'[^']*')/,[`attribute.name`,``,`attribute.value`]],[/(@qualifiedName)(\s*=\s*)("[^">?\/]*|'[^'>?\/]*)(?=[\?\/]\>)/,[`attribute.name`,``,`attribute.value`]],[/(@qualifiedName)(\s*=\s*)("[^">]*|'[^'>]*)/,[`attribute.name`,``,`attribute.value`]],[/@qualifiedName/,`attribute.name`],[/\?>/,{token:`delimiter`,next:`@pop`}],[/(\/)(>)/,[{token:`tag`},{token:`delimiter`,next:`@pop`}]],[/>/,{token:`delimiter`,next:`@pop`}]],whitespace:[[/[ \t\r\n]+/,``],[/<!--/,{token:`comment`,next:`@comment`}]],comment:[[/[^<\-]+/,`comment.content`],[/-->/,{token:`comment`,next:`@pop`}],[/<!--/,`comment.content.invalid`],[/[<\-]/,`comment.content`]]}};export{c as conf,l as language};
@@ -1 +1 @@
1
- import{m as e}from"./editor.api-C8BHpRhn.js";var t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,a=(e,a,o,s)=>{if(a&&typeof a==`object`||typeof a==`function`)for(let c of r(a))!i.call(e,c)&&c!==o&&t(e,c,{get:()=>a[c],enumerable:!(s=n(a,c))||s.enumerable});return e},o=(e,t,n)=>(a(e,t,`default`),n&&a(n,t,`default`)),s={};o(s,e);var c={comments:{lineComment:`#`},brackets:[[`{`,`}`],[`[`,`]`],[`(`,`)`]],autoClosingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`"`,close:`"`},{open:`'`,close:`'`}],surroundingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`"`,close:`"`},{open:`'`,close:`'`}],folding:{offSide:!0},onEnterRules:[{beforeText:/:\s*$/,action:{indentAction:s.languages.IndentAction.Indent}}]},l={tokenPostfix:`.yaml`,brackets:[{token:`delimiter.bracket`,open:`{`,close:`}`},{token:`delimiter.square`,open:`[`,close:`]`}],keywords:[`true`,`True`,`TRUE`,`false`,`False`,`FALSE`,`null`,`Null`,`Null`,`~`],numberInteger:/(?:0|[+-]?[0-9]+)/,numberFloat:/(?:0|[+-]?[0-9]+)(?:\.[0-9]+)?(?:e[-+][1-9][0-9]*)?/,numberOctal:/0o[0-7]+/,numberHex:/0x[0-9a-fA-F]+/,numberInfinity:/[+-]?\.(?:inf|Inf|INF)/,numberNaN:/\.(?:nan|Nan|NAN)/,numberDate:/\d{4}-\d\d-\d\d([Tt ]\d\d:\d\d:\d\d(\.\d+)?(( ?[+-]\d\d?(:\d\d)?)|Z)?)?/,escapes:/\\(?:[btnfr\\"']|[0-7][0-7]?|[0-3][0-7]{2})/,tokenizer:{root:[{include:`@whitespace`},{include:`@comment`},[/%[^ ]+.*$/,`meta.directive`],[/---/,`operators.directivesEnd`],[/\.{3}/,`operators.documentEnd`],[/[-?:](?= )/,`operators`],{include:`@anchor`},{include:`@tagHandle`},{include:`@flowCollections`},{include:`@blockStyle`},[/@numberInteger(?![ \t]*\S+)/,`number`],[/@numberFloat(?![ \t]*\S+)/,`number.float`],[/@numberOctal(?![ \t]*\S+)/,`number.octal`],[/@numberHex(?![ \t]*\S+)/,`number.hex`],[/@numberInfinity(?![ \t]*\S+)/,`number.infinity`],[/@numberNaN(?![ \t]*\S+)/,`number.nan`],[/@numberDate(?![ \t]*\S+)/,`number.date`],[/(".*?"|'.*?'|[^#'"]*?)([ \t]*)(:)( |$)/,[`type`,`white`,`operators`,`white`]],{include:`@flowScalars`},[/.+?(?=(\s+#|$))/,{cases:{"@keywords":`keyword`,"@default":`string`}}]],object:[{include:`@whitespace`},{include:`@comment`},[/\}/,`@brackets`,`@pop`],[/,/,`delimiter.comma`],[/:(?= )/,`operators`],[/(?:".*?"|'.*?'|[^,\{\[]+?)(?=: )/,`type`],{include:`@flowCollections`},{include:`@flowScalars`},{include:`@tagHandle`},{include:`@anchor`},{include:`@flowNumber`},[/[^\},]+/,{cases:{"@keywords":`keyword`,"@default":`string`}}]],array:[{include:`@whitespace`},{include:`@comment`},[/\]/,`@brackets`,`@pop`],[/,/,`delimiter.comma`],{include:`@flowCollections`},{include:`@flowScalars`},{include:`@tagHandle`},{include:`@anchor`},{include:`@flowNumber`},[/[^\],]+/,{cases:{"@keywords":`keyword`,"@default":`string`}}]],multiString:[[/^( +).+$/,`string`,`@multiStringContinued.$1`]],multiStringContinued:[[/^( *).+$/,{cases:{"$1==$S2":`string`,"@default":{token:`@rematch`,next:`@popall`}}}]],whitespace:[[/[ \t\r\n]+/,`white`]],comment:[[/#.*$/,`comment`]],flowCollections:[[/\[/,`@brackets`,`@array`],[/\{/,`@brackets`,`@object`]],flowScalars:[[/"([^"\\]|\\.)*$/,`string.invalid`],[/'([^'\\]|\\.)*$/,`string.invalid`],[/'[^']*'/,`string`],[/"/,`string`,`@doubleQuotedString`]],doubleQuotedString:[[/[^\\"]+/,`string`],[/@escapes/,`string.escape`],[/\\./,`string.escape.invalid`],[/"/,`string`,`@pop`]],blockStyle:[[/[>|][0-9]*[+-]?$/,`operators`,`@multiString`]],flowNumber:[[/@numberInteger(?=[ \t]*[,\]\}])/,`number`],[/@numberFloat(?=[ \t]*[,\]\}])/,`number.float`],[/@numberOctal(?=[ \t]*[,\]\}])/,`number.octal`],[/@numberHex(?=[ \t]*[,\]\}])/,`number.hex`],[/@numberInfinity(?=[ \t]*[,\]\}])/,`number.infinity`],[/@numberNaN(?=[ \t]*[,\]\}])/,`number.nan`],[/@numberDate(?=[ \t]*[,\]\}])/,`number.date`]],tagHandle:[[/\![^ ]*/,`tag`]],anchor:[[/[&*][^ ]+/,`namespace`]]}};export{c as conf,l as language};
1
+ import{m as e}from"./editor.api-BU_q4v8i.js";var t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,a=(e,a,o,s)=>{if(a&&typeof a==`object`||typeof a==`function`)for(let c of r(a))!i.call(e,c)&&c!==o&&t(e,c,{get:()=>a[c],enumerable:!(s=n(a,c))||s.enumerable});return e},o=(e,t,n)=>(a(e,t,`default`),n&&a(n,t,`default`)),s={};o(s,e);var c={comments:{lineComment:`#`},brackets:[[`{`,`}`],[`[`,`]`],[`(`,`)`]],autoClosingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`"`,close:`"`},{open:`'`,close:`'`}],surroundingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`"`,close:`"`},{open:`'`,close:`'`}],folding:{offSide:!0},onEnterRules:[{beforeText:/:\s*$/,action:{indentAction:s.languages.IndentAction.Indent}}]},l={tokenPostfix:`.yaml`,brackets:[{token:`delimiter.bracket`,open:`{`,close:`}`},{token:`delimiter.square`,open:`[`,close:`]`}],keywords:[`true`,`True`,`TRUE`,`false`,`False`,`FALSE`,`null`,`Null`,`Null`,`~`],numberInteger:/(?:0|[+-]?[0-9]+)/,numberFloat:/(?:0|[+-]?[0-9]+)(?:\.[0-9]+)?(?:e[-+][1-9][0-9]*)?/,numberOctal:/0o[0-7]+/,numberHex:/0x[0-9a-fA-F]+/,numberInfinity:/[+-]?\.(?:inf|Inf|INF)/,numberNaN:/\.(?:nan|Nan|NAN)/,numberDate:/\d{4}-\d\d-\d\d([Tt ]\d\d:\d\d:\d\d(\.\d+)?(( ?[+-]\d\d?(:\d\d)?)|Z)?)?/,escapes:/\\(?:[btnfr\\"']|[0-7][0-7]?|[0-3][0-7]{2})/,tokenizer:{root:[{include:`@whitespace`},{include:`@comment`},[/%[^ ]+.*$/,`meta.directive`],[/---/,`operators.directivesEnd`],[/\.{3}/,`operators.documentEnd`],[/[-?:](?= )/,`operators`],{include:`@anchor`},{include:`@tagHandle`},{include:`@flowCollections`},{include:`@blockStyle`},[/@numberInteger(?![ \t]*\S+)/,`number`],[/@numberFloat(?![ \t]*\S+)/,`number.float`],[/@numberOctal(?![ \t]*\S+)/,`number.octal`],[/@numberHex(?![ \t]*\S+)/,`number.hex`],[/@numberInfinity(?![ \t]*\S+)/,`number.infinity`],[/@numberNaN(?![ \t]*\S+)/,`number.nan`],[/@numberDate(?![ \t]*\S+)/,`number.date`],[/(".*?"|'.*?'|[^#'"]*?)([ \t]*)(:)( |$)/,[`type`,`white`,`operators`,`white`]],{include:`@flowScalars`},[/.+?(?=(\s+#|$))/,{cases:{"@keywords":`keyword`,"@default":`string`}}]],object:[{include:`@whitespace`},{include:`@comment`},[/\}/,`@brackets`,`@pop`],[/,/,`delimiter.comma`],[/:(?= )/,`operators`],[/(?:".*?"|'.*?'|[^,\{\[]+?)(?=: )/,`type`],{include:`@flowCollections`},{include:`@flowScalars`},{include:`@tagHandle`},{include:`@anchor`},{include:`@flowNumber`},[/[^\},]+/,{cases:{"@keywords":`keyword`,"@default":`string`}}]],array:[{include:`@whitespace`},{include:`@comment`},[/\]/,`@brackets`,`@pop`],[/,/,`delimiter.comma`],{include:`@flowCollections`},{include:`@flowScalars`},{include:`@tagHandle`},{include:`@anchor`},{include:`@flowNumber`},[/[^\],]+/,{cases:{"@keywords":`keyword`,"@default":`string`}}]],multiString:[[/^( +).+$/,`string`,`@multiStringContinued.$1`]],multiStringContinued:[[/^( *).+$/,{cases:{"$1==$S2":`string`,"@default":{token:`@rematch`,next:`@popall`}}}]],whitespace:[[/[ \t\r\n]+/,`white`]],comment:[[/#.*$/,`comment`]],flowCollections:[[/\[/,`@brackets`,`@array`],[/\{/,`@brackets`,`@object`]],flowScalars:[[/"([^"\\]|\\.)*$/,`string.invalid`],[/'([^'\\]|\\.)*$/,`string.invalid`],[/'[^']*'/,`string`],[/"/,`string`,`@doubleQuotedString`]],doubleQuotedString:[[/[^\\"]+/,`string`],[/@escapes/,`string.escape`],[/\\./,`string.escape.invalid`],[/"/,`string`,`@pop`]],blockStyle:[[/[>|][0-9]*[+-]?$/,`operators`,`@multiString`]],flowNumber:[[/@numberInteger(?=[ \t]*[,\]\}])/,`number`],[/@numberFloat(?=[ \t]*[,\]\}])/,`number.float`],[/@numberOctal(?=[ \t]*[,\]\}])/,`number.octal`],[/@numberHex(?=[ \t]*[,\]\}])/,`number.hex`],[/@numberInfinity(?=[ \t]*[,\]\}])/,`number.infinity`],[/@numberNaN(?=[ \t]*[,\]\}])/,`number.nan`],[/@numberDate(?=[ \t]*[,\]\}])/,`number.date`]],tagHandle:[[/\![^ ]*/,`tag`]],anchor:[[/[&*][^ ]+/,`namespace`]]}};export{c as conf,l as language};
@@ -16,15 +16,16 @@
16
16
  if (dark) document.documentElement.classList.add("jscb-dark")
17
17
  })()
18
18
  </script>
19
- <script type="module" crossorigin src="/assets/index-DVDVw-GK.js"></script>
20
- <link rel="modulepreload" crossorigin href="/assets/preload-helper-Dd-HcVz_.js">
19
+ <script type="module" crossorigin src="/assets/index-FPVIOydC.js"></script>
20
+ <link rel="modulepreload" crossorigin href="/assets/preload-helper-DgFuoWHe.js">
21
21
  <link rel="modulepreload" crossorigin href="/assets/button-Cdgr9Igy.js">
22
- <link rel="modulepreload" crossorigin href="/assets/object-utils-I4gWdSnS.js">
23
- <link rel="modulepreload" crossorigin href="/assets/api-client-D2Y_-4JM.js">
24
- <link rel="modulepreload" crossorigin href="/assets/runtime-dom.esm-bundler-ei_N7Xjw.js">
25
- <link rel="modulepreload" crossorigin href="/assets/dialog-CUkPLPNP.js">
26
- <link rel="modulepreload" crossorigin href="/assets/dist-9yHVMqQ0.js">
27
- <link rel="stylesheet" crossorigin href="/assets/index-C9N8oWt4.css">
22
+ <link rel="modulepreload" crossorigin href="/assets/object-utils-Cm2M3fPO.js">
23
+ <link rel="modulepreload" crossorigin href="/assets/api-client-CIC2X8_4.js">
24
+ <link rel="modulepreload" crossorigin href="/assets/runtime-dom.esm-bundler-DZwuSnld.js">
25
+ <link rel="modulepreload" crossorigin href="/assets/dialog-8xaIXBKO.js">
26
+ <link rel="modulepreload" crossorigin href="/assets/utils-CZhxh2Ya.js">
27
+ <link rel="modulepreload" crossorigin href="/assets/dist-B5Yem2Jn.js">
28
+ <link rel="stylesheet" crossorigin href="/assets/index-BEorm4a5.css">
28
29
  </head>
29
30
  <body>
30
31
  <div id="app"></div>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "aiex-cli",
3
3
  "type": "module",
4
- "version": "0.0.1",
4
+ "version": "0.0.2-beta.2",
5
5
  "description": "JSON Schema → SQLite with AI-powered data extraction",
6
6
  "author": "OSpoon <zxin088@gmail.com>",
7
7
  "license": "MIT",
@@ -48,6 +48,7 @@
48
48
  "@hono/node-server": "^1.0.0",
49
49
  "@hono/zod-validator": "^0.8.0",
50
50
  "@langfuse/otel": "^5.3.0",
51
+ "@notionhq/client": "^5.22.0",
51
52
  "@opentelemetry/sdk-trace-node": "^2.7.1",
52
53
  "ai": "^6.0.182",
53
54
  "better-sqlite3": "^11.0.0",
@@ -1,339 +0,0 @@
1
- import{B as e,H as t,Jt as n,K as r,L as i,Lt as a,M as o,Pn as s,Pt as c,Q as l,R as ee,S as u,Sn as d,Tn as f,U as p,W as m,Yt as h,_ as g,c as _,d as te,g as v,h as y,ht as b,i as x,in as S,jn as C,lt as w,m as T,nt as E,t as D,un as O,v as k,w as A,x as j}from"./button-Cdgr9Igy.js";import{i as M,n as N,r as P,s as F,t as ne}from"./dialog-CUkPLPNP.js";import{s as re,t as I}from"./runtime-dom.esm-bundler-ei_N7Xjw.js";import{d as ie,f as ae,h as oe,n as se}from"./api-client-D2Y_-4JM.js";import{i as L,n as R,o as z,r as B,t as ce}from"./select-BGex2SPs.js";var V={name:`MinusIcon`,extends:x};function le(e){return de(e)||U(e)||ue(e)||H()}function H(){throw TypeError(`Invalid attempt to spread non-iterable instance.
2
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ue(e,t){if(e){if(typeof e==`string`)return W(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)?W(e,t):void 0}}function U(e){if(typeof Symbol<`u`&&e[Symbol.iterator]!=null||e[`@@iterator`]!=null)return Array.from(e)}function de(e){if(Array.isArray(e))return W(e)}function W(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 G(t,n,r,i,a,s){return e(),k(`svg`,o({width:`14`,height:`14`,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`},t.pti()),le(n[0]||=[y(`path`,{d:`M13.2222 7.77778H0.777778C0.571498 7.77778 0.373667 7.69584 0.227806 7.54998C0.0819442 7.40412 0 7.20629 0 7.00001C0 6.79373 0.0819442 6.5959 0.227806 6.45003C0.373667 6.30417 0.571498 6.22223 0.777778 6.22223H13.2222C13.4285 6.22223 13.6263 6.30417 13.7722 6.45003C13.9181 6.5959 14 6.79373 14 7.00001C14 7.20629 13.9181 7.40412 13.7722 7.54998C13.6263 7.69584 13.4285 7.77778 13.2222 7.77778Z`,fill:`currentColor`},null,-1)]),16)}V.render=G;var K=_.extend({name:`checkbox`,style:`
3
- .p-checkbox {
4
- position: relative;
5
- display: inline-flex;
6
- user-select: none;
7
- vertical-align: bottom;
8
- width: dt('checkbox.width');
9
- height: dt('checkbox.height');
10
- }
11
-
12
- .p-checkbox-input {
13
- cursor: pointer;
14
- appearance: none;
15
- position: absolute;
16
- inset-block-start: 0;
17
- inset-inline-start: 0;
18
- width: 100%;
19
- height: 100%;
20
- padding: 0;
21
- margin: 0;
22
- opacity: 0;
23
- z-index: 1;
24
- outline: 0 none;
25
- border: 1px solid transparent;
26
- border-radius: dt('checkbox.border.radius');
27
- }
28
-
29
- .p-checkbox-box {
30
- display: flex;
31
- justify-content: center;
32
- align-items: center;
33
- border-radius: dt('checkbox.border.radius');
34
- border: 1px solid dt('checkbox.border.color');
35
- background: dt('checkbox.background');
36
- width: dt('checkbox.width');
37
- height: dt('checkbox.height');
38
- transition:
39
- background dt('checkbox.transition.duration'),
40
- color dt('checkbox.transition.duration'),
41
- border-color dt('checkbox.transition.duration'),
42
- box-shadow dt('checkbox.transition.duration'),
43
- outline-color dt('checkbox.transition.duration');
44
- outline-color: transparent;
45
- box-shadow: dt('checkbox.shadow');
46
- }
47
-
48
- .p-checkbox-icon {
49
- transition-duration: dt('checkbox.transition.duration');
50
- color: dt('checkbox.icon.color');
51
- font-size: dt('checkbox.icon.size');
52
- width: dt('checkbox.icon.size');
53
- height: dt('checkbox.icon.size');
54
- }
55
-
56
- .p-checkbox:not(.p-disabled):has(.p-checkbox-input:hover) .p-checkbox-box {
57
- border-color: dt('checkbox.hover.border.color');
58
- }
59
-
60
- .p-checkbox-checked .p-checkbox-box {
61
- border-color: dt('checkbox.checked.border.color');
62
- background: dt('checkbox.checked.background');
63
- }
64
-
65
- .p-checkbox-checked .p-checkbox-icon {
66
- color: dt('checkbox.icon.checked.color');
67
- }
68
-
69
- .p-checkbox-checked:not(.p-disabled):has(.p-checkbox-input:hover) .p-checkbox-box {
70
- background: dt('checkbox.checked.hover.background');
71
- border-color: dt('checkbox.checked.hover.border.color');
72
- }
73
-
74
- .p-checkbox-checked:not(.p-disabled):has(.p-checkbox-input:hover) .p-checkbox-icon {
75
- color: dt('checkbox.icon.checked.hover.color');
76
- }
77
-
78
- .p-checkbox:not(.p-disabled):has(.p-checkbox-input:focus-visible) .p-checkbox-box {
79
- border-color: dt('checkbox.focus.border.color');
80
- box-shadow: dt('checkbox.focus.ring.shadow');
81
- outline: dt('checkbox.focus.ring.width') dt('checkbox.focus.ring.style') dt('checkbox.focus.ring.color');
82
- outline-offset: dt('checkbox.focus.ring.offset');
83
- }
84
-
85
- .p-checkbox-checked:not(.p-disabled):has(.p-checkbox-input:focus-visible) .p-checkbox-box {
86
- border-color: dt('checkbox.checked.focus.border.color');
87
- }
88
-
89
- .p-checkbox.p-invalid > .p-checkbox-box {
90
- border-color: dt('checkbox.invalid.border.color');
91
- }
92
-
93
- .p-checkbox.p-variant-filled .p-checkbox-box {
94
- background: dt('checkbox.filled.background');
95
- }
96
-
97
- .p-checkbox-checked.p-variant-filled .p-checkbox-box {
98
- background: dt('checkbox.checked.background');
99
- }
100
-
101
- .p-checkbox-checked.p-variant-filled:not(.p-disabled):has(.p-checkbox-input:hover) .p-checkbox-box {
102
- background: dt('checkbox.checked.hover.background');
103
- }
104
-
105
- .p-checkbox.p-disabled {
106
- opacity: 1;
107
- }
108
-
109
- .p-checkbox.p-disabled .p-checkbox-box {
110
- background: dt('checkbox.disabled.background');
111
- border-color: dt('checkbox.checked.disabled.border.color');
112
- }
113
-
114
- .p-checkbox.p-disabled .p-checkbox-box .p-checkbox-icon {
115
- color: dt('checkbox.icon.disabled.color');
116
- }
117
-
118
- .p-checkbox-sm,
119
- .p-checkbox-sm .p-checkbox-box {
120
- width: dt('checkbox.sm.width');
121
- height: dt('checkbox.sm.height');
122
- }
123
-
124
- .p-checkbox-sm .p-checkbox-icon {
125
- font-size: dt('checkbox.icon.sm.size');
126
- width: dt('checkbox.icon.sm.size');
127
- height: dt('checkbox.icon.sm.size');
128
- }
129
-
130
- .p-checkbox-lg,
131
- .p-checkbox-lg .p-checkbox-box {
132
- width: dt('checkbox.lg.width');
133
- height: dt('checkbox.lg.height');
134
- }
135
-
136
- .p-checkbox-lg .p-checkbox-icon {
137
- font-size: dt('checkbox.icon.lg.size');
138
- width: dt('checkbox.icon.lg.size');
139
- height: dt('checkbox.icon.lg.size');
140
- }
141
- `,classes:{root:function(e){var t=e.instance,n=e.props;return[`p-checkbox p-component`,{"p-checkbox-checked":t.checked,"p-disabled":n.disabled,"p-invalid":t.$pcCheckboxGroup?t.$pcCheckboxGroup.$invalid:t.$invalid,"p-variant-filled":t.$variant===`filled`,"p-checkbox-sm p-inputfield-sm":n.size===`small`,"p-checkbox-lg p-inputfield-lg":n.size===`large`}]},box:`p-checkbox-box`,input:`p-checkbox-input`,icon:`p-checkbox-icon`}}),fe={name:`BaseCheckbox`,extends:L,props:{value:null,binary:Boolean,indeterminate:{type:Boolean,default:!1},trueValue:{type:null,default:!0},falseValue:{type:null,default:!1},readonly:{type:Boolean,default:!1},required:{type:Boolean,default:!1},tabindex:{type:Number,default:null},inputId:{type:String,default:null},inputClass:{type:[String,Object],default:null},inputStyle:{type:Object,default:null},ariaLabelledby:{type:String,default:null},ariaLabel:{type:String,default:null}},style:K,provide:function(){return{$pcCheckbox:this,$parentInstance:this}}};function q(e){"@babel/helpers - typeof";return q=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},q(e)}function pe(e,t,n){return(t=me(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function me(e){var t=he(e,`string`);return q(t)==`symbol`?t:t+``}function he(e,t){if(q(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(q(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function ge(e){return be(e)||ye(e)||ve(e)||_e()}function _e(){throw TypeError(`Invalid attempt to spread non-iterable instance.
142
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ve(e,t){if(e){if(typeof e==`string`)return J(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)?J(e,t):void 0}}function ye(e){if(typeof Symbol<`u`&&e[Symbol.iterator]!=null||e[`@@iterator`]!=null)return Array.from(e)}function be(e){if(Array.isArray(e))return J(e)}function J(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 Y={name:`Checkbox`,extends:fe,inheritAttrs:!1,emits:[`change`,`focus`,`blur`,`update:indeterminate`],inject:{$pcCheckboxGroup:{default:void 0}},data:function(){return{d_indeterminate:this.indeterminate}},watch:{indeterminate:function(e){this.d_indeterminate=e,this.updateIndeterminate()}},mounted:function(){this.updateIndeterminate()},updated:function(){this.updateIndeterminate()},methods:{getPTOptions:function(e){return(e===`root`?this.ptmi:this.ptm)(e,{context:{checked:this.checked,indeterminate:this.d_indeterminate,disabled:this.disabled}})},onChange:function(e){var t=this;if(!this.disabled&&!this.readonly){var n=this.$pcCheckboxGroup?this.$pcCheckboxGroup.d_value:this.d_value,r=this.binary?this.d_indeterminate?this.trueValue:this.checked?this.falseValue:this.trueValue:this.checked||this.d_indeterminate?n.filter(function(e){return!C(e,t.value)}):n?[].concat(ge(n),[this.value]):[this.value];this.d_indeterminate&&(this.d_indeterminate=!1,this.$emit(`update:indeterminate`,this.d_indeterminate)),this.$pcCheckboxGroup?this.$pcCheckboxGroup.writeValue(r,e):this.writeValue(r,e),this.$emit(`change`,e)}},onFocus:function(e){this.$emit(`focus`,e)},onBlur:function(e){var t,n;this.$emit(`blur`,e),(t=(n=this.formField).onBlur)==null||t.call(n,e)},updateIndeterminate:function(){this.$refs.input&&(this.$refs.input.indeterminate=this.d_indeterminate)}},computed:{groupName:function(){return this.$pcCheckboxGroup?this.$pcCheckboxGroup.groupName:this.$formName},checked:function(){var e=this.$pcCheckboxGroup?this.$pcCheckboxGroup.d_value:this.d_value;return this.d_indeterminate?!1:this.binary?e===this.trueValue:s(this.value,e)},dataP:function(){return f(pe({invalid:this.$invalid,checked:this.checked,disabled:this.disabled,filled:this.$variant===`filled`},this.size,this.size))}},components:{CheckIcon:z,MinusIcon:V}},xe=[`data-p-checked`,`data-p-indeterminate`,`data-p-disabled`,`data-p`],Se=[`id`,`value`,`name`,`checked`,`tabindex`,`disabled`,`readonly`,`required`,`aria-labelledby`,`aria-label`,`aria-invalid`],Ce=[`data-p`];function we(t,n,r,i,a,s){var l=m(`CheckIcon`),ee=m(`MinusIcon`);return e(),k(`div`,o({class:t.cx(`root`)},s.getPTOptions(`root`),{"data-p-checked":s.checked,"data-p-indeterminate":a.d_indeterminate||void 0,"data-p-disabled":t.disabled,"data-p":s.dataP}),[y(`input`,o({ref:`input`,id:t.inputId,type:`checkbox`,class:[t.cx(`input`),t.inputClass],style:t.inputStyle,value:t.value,name:s.groupName,checked:s.checked,tabindex:t.tabindex,disabled:t.disabled,readonly:t.readonly,required:t.required,"aria-labelledby":t.ariaLabelledby,"aria-label":t.ariaLabel,"aria-invalid":t.invalid||void 0,onFocus:n[0]||=function(){return s.onFocus&&s.onFocus.apply(s,arguments)},onBlur:n[1]||=function(){return s.onBlur&&s.onBlur.apply(s,arguments)},onChange:n[2]||=function(){return s.onChange&&s.onChange.apply(s,arguments)}},s.getPTOptions(`input`)),null,16,Se),y(`div`,o({class:t.cx(`box`)},s.getPTOptions(`box`),{"data-p":s.dataP}),[p(t.$slots,`icon`,{checked:s.checked,indeterminate:a.d_indeterminate,class:c(t.cx(`icon`)),dataP:s.dataP},function(){return[s.checked?(e(),v(l,o({key:0,class:t.cx(`icon`)},s.getPTOptions(`icon`),{"data-p":s.dataP}),null,16,[`class`,`data-p`])):a.d_indeterminate?(e(),v(ee,o({key:1,class:t.cx(`icon`)},s.getPTOptions(`icon`),{"data-p":s.dataP}),null,16,[`class`,`data-p`])):g(``,!0)]})],16,Ce)],16,xe)}Y.render=we;var Te={name:`EyeIcon`,extends:x};function Ee(e){return Ae(e)||ke(e)||Oe(e)||De()}function De(){throw TypeError(`Invalid attempt to spread non-iterable instance.
143
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Oe(e,t){if(e){if(typeof e==`string`)return je(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)?je(e,t):void 0}}function ke(e){if(typeof Symbol<`u`&&e[Symbol.iterator]!=null||e[`@@iterator`]!=null)return Array.from(e)}function Ae(e){if(Array.isArray(e))return je(e)}function je(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 Me(t,n,r,i,a,s){return e(),k(`svg`,o({width:`14`,height:`14`,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`},t.pti()),Ee(n[0]||=[y(`path`,{"fill-rule":`evenodd`,"clip-rule":`evenodd`,d:`M0.0535499 7.25213C0.208567 7.59162 2.40413 12.4 7 12.4C11.5959 12.4 13.7914 7.59162 13.9465 7.25213C13.9487 7.2471 13.9506 7.24304 13.952 7.24001C13.9837 7.16396 14 7.08239 14 7.00001C14 6.91762 13.9837 6.83605 13.952 6.76001C13.9506 6.75697 13.9487 6.75292 13.9465 6.74788C13.7914 6.4084 11.5959 1.60001 7 1.60001C2.40413 1.60001 0.208567 6.40839 0.0535499 6.74788C0.0512519 6.75292 0.0494023 6.75697 0.048 6.76001C0.0163137 6.83605 0 6.91762 0 7.00001C0 7.08239 0.0163137 7.16396 0.048 7.24001C0.0494023 7.24304 0.0512519 7.2471 0.0535499 7.25213ZM7 11.2C3.664 11.2 1.736 7.92001 1.264 7.00001C1.736 6.08001 3.664 2.80001 7 2.80001C10.336 2.80001 12.264 6.08001 12.736 7.00001C12.264 7.92001 10.336 11.2 7 11.2ZM5.55551 9.16182C5.98308 9.44751 6.48576 9.6 7 9.6C7.68891 9.59789 8.349 9.32328 8.83614 8.83614C9.32328 8.349 9.59789 7.68891 9.59999 7C9.59999 6.48576 9.44751 5.98308 9.16182 5.55551C8.87612 5.12794 8.47006 4.7947 7.99497 4.59791C7.51988 4.40112 6.99711 4.34963 6.49276 4.44995C5.98841 4.55027 5.52513 4.7979 5.16152 5.16152C4.7979 5.52513 4.55027 5.98841 4.44995 6.49276C4.34963 6.99711 4.40112 7.51988 4.59791 7.99497C4.7947 8.47006 5.12794 8.87612 5.55551 9.16182ZM6.2222 5.83594C6.45243 5.6821 6.7231 5.6 7 5.6C7.37065 5.6021 7.72553 5.75027 7.98762 6.01237C8.24972 6.27446 8.39789 6.62934 8.4 7C8.4 7.27689 8.31789 7.54756 8.16405 7.77779C8.01022 8.00802 7.79157 8.18746 7.53575 8.29343C7.27994 8.39939 6.99844 8.42711 6.72687 8.37309C6.4553 8.31908 6.20584 8.18574 6.01005 7.98994C5.81425 7.79415 5.68091 7.54469 5.6269 7.27312C5.57288 7.00155 5.6006 6.72006 5.70656 6.46424C5.81253 6.20842 5.99197 5.98977 6.2222 5.83594Z`,fill:`currentColor`},null,-1)]),16)}Te.render=Me;var Ne={name:`EyeSlashIcon`,extends:x};function Pe(e){return Re(e)||Le(e)||Ie(e)||Fe()}function Fe(){throw TypeError(`Invalid attempt to spread non-iterable instance.
144
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ie(e,t){if(e){if(typeof e==`string`)return ze(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)?ze(e,t):void 0}}function Le(e){if(typeof Symbol<`u`&&e[Symbol.iterator]!=null||e[`@@iterator`]!=null)return Array.from(e)}function Re(e){if(Array.isArray(e))return ze(e)}function ze(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 Be(t,n,r,i,a,s){return e(),k(`svg`,o({width:`14`,height:`14`,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`},t.pti()),Pe(n[0]||=[y(`path`,{"fill-rule":`evenodd`,"clip-rule":`evenodd`,d:`M13.9414 6.74792C13.9437 6.75295 13.9455 6.757 13.9469 6.76003C13.982 6.8394 14.0001 6.9252 14.0001 7.01195C14.0001 7.0987 13.982 7.1845 13.9469 7.26386C13.6004 8.00059 13.1711 8.69549 12.6674 9.33515C12.6115 9.4071 12.54 9.46538 12.4582 9.50556C12.3765 9.54574 12.2866 9.56678 12.1955 9.56707C12.0834 9.56671 11.9737 9.53496 11.8788 9.47541C11.7838 9.41586 11.7074 9.3309 11.6583 9.23015C11.6092 9.12941 11.5893 9.01691 11.6008 8.90543C11.6124 8.79394 11.6549 8.68793 11.7237 8.5994C12.1065 8.09726 12.4437 7.56199 12.7313 6.99995C12.2595 6.08027 10.3402 2.8014 6.99732 2.8014C6.63723 2.80218 6.27816 2.83969 5.92569 2.91336C5.77666 2.93304 5.62568 2.89606 5.50263 2.80972C5.37958 2.72337 5.29344 2.59398 5.26125 2.44714C5.22907 2.30031 5.2532 2.14674 5.32885 2.01685C5.40451 1.88696 5.52618 1.79021 5.66978 1.74576C6.10574 1.64961 6.55089 1.60134 6.99732 1.60181C11.5916 1.60181 13.7864 6.40856 13.9414 6.74792ZM2.20333 1.61685C2.35871 1.61411 2.5091 1.67179 2.6228 1.77774L12.2195 11.3744C12.3318 11.4869 12.3949 11.6393 12.3949 11.7983C12.3949 11.9572 12.3318 12.1097 12.2195 12.2221C12.107 12.3345 11.9546 12.3976 11.7956 12.3976C11.6367 12.3976 11.4842 12.3345 11.3718 12.2221L10.5081 11.3584C9.46549 12.0426 8.24432 12.4042 6.99729 12.3981C2.403 12.3981 0.208197 7.59135 0.0532336 7.25198C0.0509364 7.24694 0.0490875 7.2429 0.0476856 7.23986C0.0162332 7.16518 3.05176e-05 7.08497 3.05176e-05 7.00394C3.05176e-05 6.92291 0.0162332 6.8427 0.0476856 6.76802C0.631261 5.47831 1.46902 4.31959 2.51084 3.36119L1.77509 2.62545C1.66914 2.51175 1.61146 2.36136 1.61421 2.20597C1.61695 2.05059 1.6799 1.90233 1.78979 1.79244C1.89968 1.68254 2.04794 1.6196 2.20333 1.61685ZM7.45314 8.35147L5.68574 6.57609V6.5361C5.5872 6.78938 5.56498 7.06597 5.62183 7.33173C5.67868 7.59749 5.8121 7.84078 6.00563 8.03158C6.19567 8.21043 6.43052 8.33458 6.68533 8.39089C6.94014 8.44721 7.20543 8.43359 7.45314 8.35147ZM1.26327 6.99994C1.7351 7.91163 3.64645 11.1985 6.99729 11.1985C7.9267 11.2048 8.8408 10.9618 9.64438 10.4947L8.35682 9.20718C7.86027 9.51441 7.27449 9.64491 6.69448 9.57752C6.11446 9.51014 5.57421 9.24881 5.16131 8.83592C4.74842 8.42303 4.4871 7.88277 4.41971 7.30276C4.35232 6.72274 4.48282 6.13697 4.79005 5.64041L3.35855 4.2089C2.4954 5.00336 1.78523 5.94935 1.26327 6.99994Z`,fill:`currentColor`},null,-1)]),16)}Ne.render=Be;var Ve=_.extend({name:`password`,style:`
145
- .p-password {
146
- display: inline-flex;
147
- position: relative;
148
- }
149
-
150
- .p-password .p-password-overlay {
151
- min-width: 100%;
152
- }
153
-
154
- .p-password-meter {
155
- height: dt('password.meter.height');
156
- background: dt('password.meter.background');
157
- border-radius: dt('password.meter.border.radius');
158
- }
159
-
160
- .p-password-meter-label {
161
- height: 100%;
162
- width: 0;
163
- transition: width 1s ease-in-out;
164
- border-radius: dt('password.meter.border.radius');
165
- }
166
-
167
- .p-password-meter-weak {
168
- background: dt('password.strength.weak.background');
169
- }
170
-
171
- .p-password-meter-medium {
172
- background: dt('password.strength.medium.background');
173
- }
174
-
175
- .p-password-meter-strong {
176
- background: dt('password.strength.strong.background');
177
- }
178
-
179
- .p-password-fluid {
180
- display: flex;
181
- }
182
-
183
- .p-password-fluid .p-password-input {
184
- width: 100%;
185
- }
186
-
187
- .p-password-input::-ms-reveal,
188
- .p-password-input::-ms-clear {
189
- display: none;
190
- }
191
-
192
- .p-password-overlay {
193
- padding: dt('password.overlay.padding');
194
- background: dt('password.overlay.background');
195
- color: dt('password.overlay.color');
196
- border: 1px solid dt('password.overlay.border.color');
197
- box-shadow: dt('password.overlay.shadow');
198
- border-radius: dt('password.overlay.border.radius');
199
- }
200
-
201
- .p-password-content {
202
- display: flex;
203
- flex-direction: column;
204
- gap: dt('password.content.gap');
205
- }
206
-
207
- .p-password-toggle-mask-icon {
208
- inset-inline-end: dt('form.field.padding.x');
209
- color: dt('password.icon.color');
210
- position: absolute;
211
- top: 50%;
212
- margin-top: calc(-1 * calc(dt('icon.size') / 2));
213
- width: dt('icon.size');
214
- height: dt('icon.size');
215
- }
216
-
217
- .p-password-clear-icon {
218
- position: absolute;
219
- top: 50%;
220
- margin-top: -0.5rem;
221
- cursor: pointer;
222
- inset-inline-end: dt('form.field.padding.x');
223
- color: dt('form.field.icon.color');
224
- }
225
-
226
- .p-password:has(.p-password-toggle-mask-icon) .p-password-input {
227
- padding-inline-end: calc((dt('form.field.padding.x') * 2) + dt('icon.size'));
228
- }
229
-
230
- .p-password:has(.p-password-toggle-mask-icon) .p-password-clear-icon {
231
- inset-inline-end: calc((dt('form.field.padding.x') * 2) + dt('icon.size'));
232
- }
233
-
234
- .p-password:has(.p-password-clear-icon) .p-password-input {
235
- padding-inline-end: calc((dt('form.field.padding.x') * 2) + dt('icon.size'));
236
- }
237
-
238
- .p-password:has(.p-password-clear-icon):has(.p-password-toggle-mask-icon) .p-password-input {
239
- padding-inline-end: calc((dt('form.field.padding.x') * 3) + calc(dt('icon.size') * 2));
240
- }
241
-
242
- `,classes:{root:function(e){var t=e.instance;return[`p-password p-component p-inputwrapper`,{"p-inputwrapper-filled":t.$filled,"p-inputwrapper-focus":t.focused,"p-password-fluid":t.$fluid}]},pcInputText:`p-password-input`,maskIcon:`p-password-toggle-mask-icon p-password-mask-icon`,unmaskIcon:`p-password-toggle-mask-icon p-password-unmask-icon`,clearIcon:`p-password-clear-icon`,overlay:`p-password-overlay p-component`,content:`p-password-content`,meter:`p-password-meter`,meterLabel:function(e){var t=e.instance;return`p-password-meter-label ${t.meter?`p-password-meter-`+t.meter.strength:``}`},meterText:`p-password-meter-text`},inlineStyles:{root:function(e){return{position:e.props.appendTo===`self`?`relative`:void 0}}}}),He={name:`BasePassword`,extends:L,props:{promptLabel:{type:String,default:null},mediumRegex:{type:[String,RegExp],default:`^(((?=.*[a-z])(?=.*[A-Z]))|((?=.*[a-z])(?=.*[0-9]))|((?=.*[A-Z])(?=.*[0-9])))(?=.{6,})`},strongRegex:{type:[String,RegExp],default:`^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.{8,})`},weakLabel:{type:String,default:null},mediumLabel:{type:String,default:null},strongLabel:{type:String,default:null},feedback:{type:Boolean,default:!0},appendTo:{type:[String,Object],default:`body`},toggleMask:{type:Boolean,default:!1},hideIcon:{type:String,default:void 0},maskIcon:{type:String,default:void 0},showIcon:{type:String,default:void 0},unmaskIcon:{type:String,default:void 0},showClear:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},placeholder:{type:String,default:null},required:{type:Boolean,default:!1},inputId:{type:String,default:null},inputClass:{type:[String,Object],default:null},inputStyle:{type:Object,default:null},inputProps:{type:null,default:null},panelId:{type:String,default:null},panelClass:{type:[String,Object],default:null},panelStyle:{type:Object,default:null},panelProps:{type:null,default:null},overlayId:{type:String,default:null},overlayClass:{type:[String,Object],default:null},overlayStyle:{type:Object,default:null},overlayProps:{type:null,default:null},ariaLabelledby:{type:String,default:null},ariaLabel:{type:String,default:null},autofocus:{type:Boolean,default:null}},style:Ve,provide:function(){return{$pcPassword:this,$parentInstance:this}}};function X(e){"@babel/helpers - typeof";return X=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},X(e)}function Ue(e,t,n){return(t=We(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function We(e){var t=Ge(e,`string`);return X(t)==`symbol`?t:t+``}function Ge(e,t){if(X(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(X(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var Ke={name:`Password`,extends:He,inheritAttrs:!1,emits:[`change`,`focus`,`blur`,`invalid`],inject:{$pcFluid:{default:null}},data:function(){return{overlayVisible:!1,meter:null,infoText:null,focused:!1,unmasked:!1}},mediumCheckRegExp:null,strongCheckRegExp:null,resizeListener:null,scrollHandler:null,overlay:null,mounted:function(){this.infoText=this.promptText,this.mediumCheckRegExp=new RegExp(this.mediumRegex),this.strongCheckRegExp=new RegExp(this.strongRegex)},beforeUnmount:function(){this.unbindResizeListener(),this.scrollHandler&&=(this.scrollHandler.destroy(),null),this.overlay&&=(F.clear(this.overlay),null)},methods:{onOverlayEnter:function(e){F.set(`overlay`,e,this.$primevue.config.zIndex.overlay),S(e,{position:`absolute`,top:`0`}),this.alignOverlay(),this.bindScrollListener(),this.bindResizeListener(),this.$attrSelector&&e.setAttribute(this.$attrSelector,``)},onOverlayLeave:function(){this.unbindScrollListener(),this.unbindResizeListener(),this.overlay=null},onOverlayAfterLeave:function(e){F.clear(e)},alignOverlay:function(){this.appendTo===`self`?h(this.overlay,this.$refs.input.$el):(this.overlay.style.minWidth=d(this.$refs.input.$el)+`px`,n(this.overlay,this.$refs.input.$el))},testStrength:function(e){var t=0;return this.strongCheckRegExp.test(e)?t=3:this.mediumCheckRegExp.test(e)?t=2:e.length&&(t=1),t},onInput:function(e){this.writeValue(e.target.value,e),this.$emit(`change`,e)},onFocus:function(e){this.focused=!0,this.feedback&&(this.setPasswordMeter(this.d_value),this.overlayVisible=!0),this.$emit(`focus`,e)},onBlur:function(e){this.focused=!1,this.feedback&&(this.overlayVisible=!1),this.$emit(`blur`,e)},onKeyUp:function(e){if(this.feedback){var t=e.target.value,n=this.checkPasswordStrength(t),r=n.meter,i=n.label;if(this.meter=r,this.infoText=i,e.code===`Escape`){this.overlayVisible&&=!1;return}this.overlayVisible||=!0}},setPasswordMeter:function(){if(!this.d_value){this.meter=null,this.infoText=this.promptText;return}var e=this.checkPasswordStrength(this.d_value),t=e.meter,n=e.label;this.meter=t,this.infoText=n,this.overlayVisible||=!0},checkPasswordStrength:function(e){var t=null,n=null;switch(this.testStrength(e)){case 1:t=this.weakText,n={strength:`weak`,width:`33.33%`};break;case 2:t=this.mediumText,n={strength:`medium`,width:`66.66%`};break;case 3:t=this.strongText,n={strength:`strong`,width:`100%`};break;default:t=this.promptText,n=null;break}return{label:t,meter:n}},onInvalid:function(e){this.$emit(`invalid`,e)},bindScrollListener:function(){var e=this;this.scrollHandler||=new M(this.$refs.input.$el,function(){e.overlayVisible&&=!1}),this.scrollHandler.bindScrollListener()},unbindScrollListener:function(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()},bindResizeListener:function(){var e=this;this.resizeListener||(this.resizeListener=function(){e.overlayVisible&&!O()&&(e.overlayVisible=!1)},window.addEventListener(`resize`,this.resizeListener))},unbindResizeListener:function(){this.resizeListener&&=(window.removeEventListener(`resize`,this.resizeListener),null)},overlayRef:function(e){this.overlay=e},onMaskToggle:function(){this.unmasked=!this.unmasked},onClearClick:function(e){this.writeValue(null,{})},onOverlayClick:function(e){R.emit(`overlay-click`,{originalEvent:e,target:this.$el})}},computed:{inputType:function(){return this.unmasked?`text`:`password`},weakText:function(){return this.weakLabel||this.$primevue.config.locale.weak},mediumText:function(){return this.mediumLabel||this.$primevue.config.locale.medium},strongText:function(){return this.strongLabel||this.$primevue.config.locale.strong},promptText:function(){return this.promptLabel||this.$primevue.config.locale.passwordPrompt},isClearIconVisible:function(){return this.showClear&&this.$filled&&!this.disabled},overlayUniqueId:function(){return this.$id+`_overlay`},containerDataP:function(){return f({fluid:this.$fluid})},meterDataP:function(){return f(Ue({},this.meter?.strength,this.meter?.strength))},overlayDataP:function(){return f(Ue({},`portal-`+this.appendTo,`portal-`+this.appendTo))}},components:{InputText:B,Portal:N,EyeSlashIcon:Ne,EyeIcon:Te,TimesIcon:P}};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 qe(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 Je(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?qe(Object(n),!0).forEach(function(t){Ye(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qe(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=[`id`,`data-p`],et=[`data-p`];function tt(t,n,i,s,c,l){var ee=m(`InputText`),d=m(`TimesIcon`),f=m(`Portal`);return e(),k(`div`,o({class:t.cx(`root`),style:t.sx(`root`),"data-p":l.containerDataP},t.ptmi(`root`)),[u(ee,o({ref:`input`,id:t.inputId,type:l.inputType,class:[t.cx(`pcInputText`),t.inputClass],style:t.inputStyle,defaultValue:t.d_value,name:t.$formName,"aria-labelledby":t.ariaLabelledby,"aria-label":t.ariaLabel,"aria-expanded":c.overlayVisible,"aria-controls":c.overlayVisible?t.overlayProps&&t.overlayProps.id||t.overlayId||t.panelProps&&t.panelProps.id||t.panelId||l.overlayUniqueId:void 0,"aria-haspopup":t.feedback,placeholder:t.placeholder,required:t.required,fluid:t.fluid,disabled:t.disabled,variant:t.variant,invalid:t.invalid,size:t.size,autofocus:t.autofocus,onInput:l.onInput,onFocus:l.onFocus,onBlur:l.onBlur,onKeyup:l.onKeyUp,onInvalid:l.onInvalid},t.inputProps,{"data-p-has-e-icon":t.toggleMask,pt:t.ptm(`pcInputText`),unstyled:t.unstyled}),null,16,`id.type.class.style.defaultValue.name.aria-labelledby.aria-label.aria-expanded.aria-controls.aria-haspopup.placeholder.required.fluid.disabled.variant.invalid.size.autofocus.onInput.onFocus.onBlur.onKeyup.onInvalid.data-p-has-e-icon.pt.unstyled`.split(`.`)),t.toggleMask&&c.unmasked?p(t.$slots,t.$slots.maskicon?`maskicon`:`hideicon`,o({key:0,toggleCallback:l.onMaskToggle,class:[t.cx(`maskIcon`),t.maskIcon]},t.ptm(`maskIcon`)),function(){return[(e(),v(r(t.maskIcon?`i`:`EyeSlashIcon`),o({class:[t.cx(`maskIcon`),t.maskIcon],onClick:l.onMaskToggle},t.ptm(`maskIcon`)),null,16,[`class`,`onClick`]))]}):g(``,!0),t.toggleMask&&!c.unmasked?p(t.$slots,t.$slots.unmaskicon?`unmaskicon`:`showicon`,o({key:1,toggleCallback:l.onMaskToggle,class:[t.cx(`unmaskIcon`)]},t.ptm(`unmaskIcon`)),function(){return[(e(),v(r(t.unmaskIcon?`i`:`EyeIcon`),o({class:[t.cx(`unmaskIcon`),t.unmaskIcon],onClick:l.onMaskToggle},t.ptm(`unmaskIcon`)),null,16,[`class`,`onClick`]))]}):g(``,!0),l.isClearIconVisible?p(t.$slots,`clearicon`,o({key:2,class:t.cx(`clearIcon`),clearCallback:l.onClearClick},t.ptm(`clearIcon`)),function(){return[u(d,o({class:[t.cx(`clearIcon`)],onClick:l.onClearClick},t.ptm(`clearIcon`)),null,16,[`class`,`onClick`])]}):g(``,!0),y(`span`,o({class:`p-hidden-accessible`,"aria-live":`polite`},t.ptm(`hiddenAccesible`),{"data-p-hidden-accessible":!0}),a(c.infoText),17),u(f,{appendTo:t.appendTo},{default:E(function(){return[u(I,o({name:`p-anchored-overlay`,onEnter:l.onOverlayEnter,onLeave:l.onOverlayLeave,onAfterLeave:l.onOverlayAfterLeave},t.ptm(`transition`)),{default:E(function(){return[c.overlayVisible?(e(),k(`div`,o({key:0,ref:l.overlayRef,id:t.overlayId||t.panelId||l.overlayUniqueId,class:[t.cx(`overlay`),t.panelClass,t.overlayClass],style:[t.overlayStyle,t.panelStyle],onClick:n[0]||=function(){return l.onOverlayClick&&l.onOverlayClick.apply(l,arguments)},"data-p":l.overlayDataP,role:`dialog`,"aria-live":`polite`},Je(Je(Je({},t.panelProps),t.overlayProps),t.ptm(`overlay`))),[p(t.$slots,`header`),p(t.$slots,`content`,{},function(){return[y(`div`,o({class:t.cx(`content`)},t.ptm(`content`)),[y(`div`,o({class:t.cx(`meter`)},t.ptm(`meter`)),[y(`div`,o({class:t.cx(`meterLabel`),style:{width:c.meter?c.meter.width:``},"data-p":l.meterDataP},t.ptm(`meterLabel`)),null,16,et)],16),y(`div`,o({class:t.cx(`meterText`)},t.ptm(`meterText`)),a(c.infoText),17)],16)]}),p(t.$slots,`footer`)],16,$e)):g(``,!0)]}),_:3},16,[`onEnter`,`onLeave`,`onAfterLeave`])]}),_:3},8,[`appendTo`])],16,Qe)}Ke.render=tt;var nt=_.extend({name:`textarea`,style:`
243
- .p-textarea {
244
- font-family: inherit;
245
- font-feature-settings: inherit;
246
- font-size: 1rem;
247
- color: dt('textarea.color');
248
- background: dt('textarea.background');
249
- padding-block: dt('textarea.padding.y');
250
- padding-inline: dt('textarea.padding.x');
251
- border: 1px solid dt('textarea.border.color');
252
- transition:
253
- background dt('textarea.transition.duration'),
254
- color dt('textarea.transition.duration'),
255
- border-color dt('textarea.transition.duration'),
256
- outline-color dt('textarea.transition.duration'),
257
- box-shadow dt('textarea.transition.duration');
258
- appearance: none;
259
- border-radius: dt('textarea.border.radius');
260
- outline-color: transparent;
261
- box-shadow: dt('textarea.shadow');
262
- }
263
-
264
- .p-textarea:enabled:hover {
265
- border-color: dt('textarea.hover.border.color');
266
- }
267
-
268
- .p-textarea:enabled:focus {
269
- border-color: dt('textarea.focus.border.color');
270
- box-shadow: dt('textarea.focus.ring.shadow');
271
- outline: dt('textarea.focus.ring.width') dt('textarea.focus.ring.style') dt('textarea.focus.ring.color');
272
- outline-offset: dt('textarea.focus.ring.offset');
273
- }
274
-
275
- .p-textarea.p-invalid {
276
- border-color: dt('textarea.invalid.border.color');
277
- }
278
-
279
- .p-textarea.p-variant-filled {
280
- background: dt('textarea.filled.background');
281
- }
282
-
283
- .p-textarea.p-variant-filled:enabled:hover {
284
- background: dt('textarea.filled.hover.background');
285
- }
286
-
287
- .p-textarea.p-variant-filled:enabled:focus {
288
- background: dt('textarea.filled.focus.background');
289
- }
290
-
291
- .p-textarea:disabled {
292
- opacity: 1;
293
- background: dt('textarea.disabled.background');
294
- color: dt('textarea.disabled.color');
295
- }
296
-
297
- .p-textarea::placeholder {
298
- color: dt('textarea.placeholder.color');
299
- }
300
-
301
- .p-textarea.p-invalid::placeholder {
302
- color: dt('textarea.invalid.placeholder.color');
303
- }
304
-
305
- .p-textarea-fluid {
306
- width: 100%;
307
- }
308
-
309
- .p-textarea-resizable {
310
- overflow: hidden;
311
- resize: none;
312
- }
313
-
314
- .p-textarea-sm {
315
- font-size: dt('textarea.sm.font.size');
316
- padding-block: dt('textarea.sm.padding.y');
317
- padding-inline: dt('textarea.sm.padding.x');
318
- }
319
-
320
- .p-textarea-lg {
321
- font-size: dt('textarea.lg.font.size');
322
- padding-block: dt('textarea.lg.padding.y');
323
- padding-inline: dt('textarea.lg.padding.x');
324
- }
325
- `,classes:{root:function(e){var t=e.instance,n=e.props;return[`p-textarea p-component`,{"p-filled":t.$filled,"p-textarea-resizable ":n.autoResize,"p-textarea-sm p-inputfield-sm":n.size===`small`,"p-textarea-lg p-inputfield-lg":n.size===`large`,"p-invalid":t.$invalid,"p-variant-filled":t.$variant===`filled`,"p-textarea-fluid":t.$fluid}]}}}),rt={name:`BaseTextarea`,extends:L,props:{autoResize:Boolean},style:nt,provide:function(){return{$pcTextarea:this,$parentInstance:this}}};function Q(e){"@babel/helpers - typeof";return Q=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},Q(e)}function it(e,t,n){return(t=at(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function at(e){var t=ot(e,`string`);return Q(t)==`symbol`?t:t+``}function ot(e,t){if(Q(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Q(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var $={name:`Textarea`,extends:rt,inheritAttrs:!1,observer:null,mounted:function(){var e=this;this.autoResize&&(this.observer=new ResizeObserver(function(){requestAnimationFrame(function(){e.resize()})}),this.observer.observe(this.$el))},updated:function(){this.autoResize&&this.resize()},beforeUnmount:function(){this.observer&&this.observer.disconnect()},methods:{resize:function(){if(this.$el.offsetParent){var e=this.$el.style.height,t=parseInt(e)||0,n=this.$el.scrollHeight;t&&n<t?(this.$el.style.height=`auto`,this.$el.style.height=`${this.$el.scrollHeight}px`):(!t||n>t)&&(this.$el.style.height=`${n}px`)}},onInput:function(e){this.autoResize&&this.resize(),this.writeValue(e.target.value,e)}},computed:{attrs:function(){return o(this.ptmi(`root`,{context:{filled:this.$filled,disabled:this.disabled}}),this.formField)},dataP:function(){return f(it({invalid:this.$invalid,fluid:this.$fluid,filled:this.$variant===`filled`},this.size,this.size))}}},st=[`value`,`name`,`disabled`,`aria-invalid`,`data-p`];function ct(t,n,r,i,a,s){return e(),k(`textarea`,o({class:t.cx(`root`),value:t.d_value,name:t.name,disabled:t.disabled,"aria-invalid":t.invalid||void 0,"data-p":s.dataP,onInput:n[0]||=function(){return s.onInput&&s.onInput.apply(s,arguments)}},s.attrs),null,16,st)}$.render=ct;var lt={key:0,class:`flex items-center justify-center py-8`},ut={key:1,class:`space-y-6`},dt={class:`space-y-3`},ft={class:`flex flex-col gap-1`},pt={class:`flex flex-col gap-1`},mt={class:`flex flex-col gap-1`},ht={class:`space-y-2`},gt={class:`text-sm font-mono flex-1`},_t={key:0,class:`flex flex-col gap-2 px-3 py-2 rounded border border-border bg-card`},vt={class:`flex items-center gap-2`},yt={class:`flex items-center gap-4 text-xs`},bt={class:`flex items-center gap-1.5 cursor-pointer`},xt={class:`flex items-center gap-1.5 cursor-pointer`},St={key:0,class:`text-muted-foreground ml-auto`},Ct={class:`space-y-3`},wt={class:`flex flex-col gap-1`},Tt={key:0,class:`space-y-3 pl-6 border-l-2 border-border`},Et={class:`flex flex-col gap-1`},Dt={class:`flex flex-col gap-1`},Ot={class:`flex flex-col gap-1`},kt={class:`flex items-center gap-2`},At={class:`flex items-center gap-2`},jt={class:`space-y-3`},Mt={class:`flex items-center gap-2`},Nt={key:0,class:`space-y-3 pl-6 border-l-2 border-border`},Pt={class:`flex flex-col gap-1`},Ft={class:`flex flex-col gap-1`},It={class:`flex flex-col gap-1`},Lt={class:`space-y-3`},Rt={class:`flex flex-col gap-1`},zt={key:0,class:`text-xs text-red-500 mt-1`},Bt={class:`flex flex-col gap-1`},Vt={key:0,class:`text-xs text-red-500 mt-1`},Ht={class:`flex justify-end gap-2`},Ut=`You are a professional data extraction assistant. Your task is to extract structured data from text and return a JSON object based on the data structure definition provided below.
326
-
327
- {schema}
328
-
329
- Extraction requirements:
330
- 1. Extract data strictly according to the field names and types defined in the structure
331
- 2. If a field's information is missing from the text, set that field to null
332
- 3. Do not add fields that are not in the structure definition
333
- 4. Maintain data accuracy and completeness`,Wt=`Please extract data from the following text:
334
- {text}`,Gt=A({__name:`AISettings`,props:{visible:{type:Boolean,default:!1},visibleModifiers:{}},emits:[`update:visible`],setup(n){let r=l(n,`visible`),o=w(!1),s=w(!1),d=w(`https://dashscope.aliyuncs.com/compatible-mode/v1`),f=w(``),p=w(300),m=w([]),h=w(``),_=w(``),x=w(`unpdf`),S=w(`mineru`),C=w(`-p
335
- {input}
336
- -o
337
- {outputDir}`),O=w(600),A=w(!0),M=w(!0),N=w(!1),P=w(``),F=w(``),I=w(``),L=w(!1),R=w(``),z=w({vision:!1,structuredOutput:!1}),V=w(`manual`);function le(){V.value=`manual`,z.value={vision:!1,structuredOutput:!1},R.value&&ie(R.value).then(e=>{e&&(z.value={...e},V.value=`registry`)})}function H(){R.value&&(m.value.push({name:R.value,capabilities:{...z.value}}),U())}function ue(){U()}function U(){R.value=``,z.value={vision:!1,structuredOutput:!1},V.value=`manual`,L.value=!1}function de(e){m.value.splice(e,1)}let W=T(()=>h.value.includes(`{schema}`)?``:`System prompt must contain the {schema} placeholder`),G=T(()=>_.value.includes(`{text}`)?``:`User prompt must contain the {text} placeholder`),K=T(()=>!W.value&&!G.value&&!o.value&&m.value.length>0&&(x.value!==`mineru`||!!S.value.trim())),fe=[{label:`Built-in text extraction`,value:`unpdf`},{label:`MinerU command`,value:`mineru`}];async function q(){o.value=!0;try{let e=await se();d.value=e.provider.baseURL,f.value=e.provider.apiKey,p.value=e.provider.timeout??300,m.value=e.provider.models??[],h.value=e.prompt.systemTemplate,_.value=e.prompt.userTemplate,x.value=e.pdf?.converter??`unpdf`,S.value=e.pdf?.mineru?.command??`mineru`,C.value=(e.pdf?.mineru?.args??[`-p`,`{input}`,`-o`,`{outputDir}`]).join(`
338
- `),O.value=e.pdf?.mineru?.timeout??600,A.value=e.pdf?.mineru?.fallbackToUnpdf??!0,M.value=e.pdf?.mineru?.keepOutput??!0,N.value=!!e.langfuse,P.value=e.langfuse?.publicKey??``,F.value=e.langfuse?.secretKey??``,I.value=e.langfuse?.host??``}catch{f.value=``,m.value=[],h.value=Ut,_.value=Wt}finally{o.value=!1}}async function pe(){if(K.value){s.value=!0;try{await ae({provider:{baseURL:d.value,apiKey:f.value,timeout:p.value,models:m.value},prompt:{systemTemplate:h.value,userTemplate:_.value},extraction:{outputDir:`.aiex/extracted`},pdf:{converter:x.value,mineru:{command:S.value,args:C.value.split(`
339
- `).map(e=>e.trim()).filter(Boolean),timeout:O.value,fallbackToUnpdf:A.value,keepOutput:M.value||void 0}},langfuse:N.value?{publicKey:P.value,secretKey:F.value,host:I.value||void 0}:void 0}),r.value=!1}catch(e){oe.error(e.message||`Failed to save`)}finally{s.value=!1}}}return i(()=>{q()}),ee(()=>{}),(n,i)=>(e(),v(b(ne),{visible:r.value,"onUpdate:visible":i[20]||=e=>r.value=e,modal:``,header:`AI Settings`,style:{width:`680px`},draggable:!1},{footer:E(()=>[y(`div`,Ht,[u(b(D),{label:`Cancel`,severity:`secondary`,text:``,onClick:i[19]||=e=>r.value=!1}),u(b(D),{label:`Save`,icon:`pi pi-check`,loading:s.value,disabled:!K.value,onClick:pe},null,8,[`loading`,`disabled`])])]),default:E(()=>[o.value?(e(),k(`div`,lt,[...i[21]||=[y(`i`,{class:`pi pi-spin pi-spinner text-xl`},null,-1)]])):(e(),k(`div`,ut,[y(`section`,null,[i[25]||=y(`h3`,{class:`text-sm font-semibold mb-3 text-foreground`},` Provider `,-1),y(`div`,dt,[y(`div`,ft,[i[22]||=y(`label`,{class:`text-xs text-muted-foreground`},`Base URL`,-1),u(b(B),{modelValue:d.value,"onUpdate:modelValue":i[0]||=e=>d.value=e,size:`small`,placeholder:`https://dashscope.aliyuncs.com/compatible-mode/v1`},null,8,[`modelValue`])]),y(`div`,pt,[i[23]||=y(`label`,{class:`text-xs text-muted-foreground`},`API Key`,-1),u(b(Ke),{modelValue:f.value,"onUpdate:modelValue":i[1]||=e=>f.value=e,feedback:!1,"toggle-mask":``,size:`small`,placeholder:`sk-xxx`,"input-class":`w-full`},null,8,[`modelValue`])]),y(`div`,mt,[i[24]||=y(`label`,{class:`text-xs text-muted-foreground`},`Timeout (seconds)`,-1),u(b(B),{value:String(p.value),type:`number`,size:`small`,placeholder:`300`,min:1,onInput:i[2]||=e=>p.value=Number(e.target.value)||300},null,8,[`value`])])])]),y(`section`,null,[i[27]||=y(`h3`,{class:`text-sm font-semibold mb-3 text-foreground`},` Models `,-1),y(`div`,ht,[(e(!0),k(te,null,t(m.value,(t,n)=>(e(),k(`div`,{key:n,class:`flex items-center gap-2 px-3 py-2 rounded border border-border bg-card`},[y(`code`,gt,a(t.name),1),y(`span`,{class:c([`inline-flex items-center gap-1 text-xs px-1.5 py-0.5 rounded`,t.capabilities.structuredOutput?`bg-green-500/10 text-green-600`:`bg-yellow-500/10 text-yellow-600`])},[y(`i`,{class:c([t.capabilities.structuredOutput?`pi pi-check-circle`:`pi pi-exclamation-triangle`,`text-[10px]`])},null,2),j(` `+a(t.capabilities.structuredOutput?`Structured Output`:`Text-only Output`),1)],2),y(`span`,{class:c([`inline-flex items-center gap-1 text-xs px-1.5 py-0.5 rounded`,t.capabilities.vision?`bg-green-500/10 text-green-600`:`bg-red-500/10 text-red-600`])},[y(`i`,{class:c([t.capabilities.vision?`pi pi-check-circle`:`pi pi-times-circle`,`text-[10px]`])},null,2),j(` `+a(t.capabilities.vision?`Vision Supported`:`Vision Unsupported`),1)],2),u(b(D),{icon:`pi pi-times`,severity:`danger`,text:``,size:`small`,onClick:e=>de(n)},null,8,[`onClick`])]))),128)),L.value?(e(),k(`div`,_t,[y(`div`,vt,[u(b(B),{modelValue:R.value,"onUpdate:modelValue":i[3]||=e=>R.value=e,size:`small`,placeholder:`Model name (e.g. gpt-4o)`,class:`flex-1 font-mono`,onInput:le,onKeyup:re(H,[`enter`])},null,8,[`modelValue`]),u(b(D),{icon:`pi pi-check`,severity:`success`,text:``,size:`small`,disabled:!R.value,onClick:H},null,8,[`disabled`]),u(b(D),{icon:`pi pi-times`,severity:`secondary`,text:``,size:`small`,onClick:ue})]),y(`div`,yt,[y(`label`,bt,[u(b(Y),{modelValue:z.value.structuredOutput,"onUpdate:modelValue":i[4]||=e=>z.value.structuredOutput=e,binary:!0,"input-id":`add-so`},null,8,[`modelValue`]),y(`span`,{class:c(z.value.structuredOutput?`text-green-600`:`text-muted-foreground`)},` Structured Output `,2)]),y(`label`,xt,[u(b(Y),{modelValue:z.value.vision,"onUpdate:modelValue":i[5]||=e=>z.value.vision=e,binary:!0,"input-id":`add-vision`},null,8,[`modelValue`]),y(`span`,{class:c(z.value.vision?`text-green-600`:`text-muted-foreground`)},` Vision `,2)]),V.value===`registry`?(e(),k(`span`,St,[...i[26]||=[y(`i`,{class:`pi pi-database mr-0.5`},null,-1),j(`Registry `,-1)]])):g(``,!0)])])):(e(),v(b(D),{key:1,label:`Add Model`,icon:`pi pi-plus`,severity:`secondary`,text:``,size:`small`,onClick:i[6]||=e=>L.value=!0}))])]),y(`section`,null,[i[35]||=y(`h3`,{class:`text-sm font-semibold mb-3 text-foreground`},` PDF Conversion `,-1),y(`div`,Ct,[y(`div`,wt,[i[28]||=y(`label`,{class:`text-xs text-muted-foreground`},`Converter`,-1),u(b(ce),{modelValue:x.value,"onUpdate:modelValue":i[7]||=e=>x.value=e,options:fe,"option-label":`label`,"option-value":`value`,size:`small`},null,8,[`modelValue`])]),x.value===`mineru`?(e(),k(`div`,Tt,[y(`div`,Et,[i[29]||=y(`label`,{class:`text-xs text-muted-foreground`},`Command`,-1),u(b(B),{modelValue:S.value,"onUpdate:modelValue":i[8]||=e=>S.value=e,size:`small`,placeholder:`mineru`},null,8,[`modelValue`])]),y(`div`,Dt,[i[30]||=y(`label`,{class:`text-xs text-muted-foreground`},`Arguments`,-1),u(b($),{modelValue:C.value,"onUpdate:modelValue":i[9]||=e=>C.value=e,rows:`4`,"auto-resize":``,class:`text-xs font-mono`},null,8,[`modelValue`])]),y(`div`,Ot,[i[31]||=y(`label`,{class:`text-xs text-muted-foreground`},`Timeout (seconds)`,-1),u(b(B),{value:String(O.value),type:`number`,size:`small`,placeholder:`600`,min:1,onInput:i[10]||=e=>O.value=Number(e.target.value)||600},null,8,[`value`])]),y(`div`,kt,[u(b(Y),{modelValue:A.value,"onUpdate:modelValue":i[11]||=e=>A.value=e,binary:!0,"input-id":`mineru-fallback`},null,8,[`modelValue`]),i[32]||=y(`label`,{for:`mineru-fallback`,class:`text-sm cursor-pointer`},`Fallback to built-in converter`,-1)]),y(`div`,At,[u(b(Y),{modelValue:M.value,"onUpdate:modelValue":i[12]||=e=>M.value=e,binary:!0,"input-id":`mineru-keep-output`},null,8,[`modelValue`]),i[33]||=y(`label`,{for:`mineru-keep-output`,class:`text-sm cursor-pointer`},`Keep converted files on disk`,-1)]),i[34]||=y(`div`,{class:`text-xs text-muted-foreground p-2 rounded border border-border`},[j(` Placeholders: `),y(`code`,{class:`bg-secondary px-1 rounded`},`{input}`),j(`, `),y(`code`,{class:`bg-secondary px-1 rounded`},`{outputDir}`),j(`, `),y(`code`,{class:`bg-secondary px-1 rounded`},`{basename}`)],-1)])):g(``,!0)])]),y(`section`,null,[i[40]||=y(`h3`,{class:`text-sm font-semibold mb-3 text-foreground`},` Langfuse Tracing `,-1),y(`div`,jt,[y(`div`,Mt,[u(b(Y),{modelValue:N.value,"onUpdate:modelValue":i[13]||=e=>N.value=e,binary:!0,"input-id":`lf-enabled`},null,8,[`modelValue`]),i[36]||=y(`label`,{for:`lf-enabled`,class:`text-sm cursor-pointer`},`Enabled`,-1)]),N.value?(e(),k(`div`,Nt,[y(`div`,Pt,[i[37]||=y(`label`,{class:`text-xs text-muted-foreground`},`Secret Key`,-1),u(b(Ke),{modelValue:F.value,"onUpdate:modelValue":i[14]||=e=>F.value=e,feedback:!1,"toggle-mask":``,size:`small`,placeholder:`sk-lf-...`,"input-class":`w-full`},null,8,[`modelValue`])]),y(`div`,Ft,[i[38]||=y(`label`,{class:`text-xs text-muted-foreground`},`Public Key`,-1),u(b(B),{modelValue:P.value,"onUpdate:modelValue":i[15]||=e=>P.value=e,size:`small`,placeholder:`pk-lf-...`},null,8,[`modelValue`])]),y(`div`,It,[i[39]||=y(`label`,{class:`text-xs text-muted-foreground`},`Host (optional)`,-1),u(b(B),{modelValue:I.value,"onUpdate:modelValue":i[16]||=e=>I.value=e,size:`small`,placeholder:`https://us.cloud.langfuse.com`},null,8,[`modelValue`])])])):g(``,!0)])]),y(`section`,null,[i[44]||=y(`h3`,{class:`text-sm font-semibold mb-3 text-foreground`},` Prompt Templates `,-1),y(`div`,Lt,[y(`div`,Rt,[i[41]||=y(`label`,{class:`text-xs text-muted-foreground`},`System Prompt`,-1),u(b($),{modelValue:h.value,"onUpdate:modelValue":i[17]||=e=>h.value=e,rows:`6`,"auto-resize":``,class:`text-xs font-mono`},null,8,[`modelValue`]),W.value?(e(),k(`p`,zt,a(W.value),1)):g(``,!0)]),y(`div`,Bt,[i[42]||=y(`label`,{class:`text-xs text-muted-foreground`},`User Prompt`,-1),u(b($),{modelValue:_.value,"onUpdate:modelValue":i[18]||=e=>_.value=e,rows:`6`,"auto-resize":``,class:`text-xs font-mono`},null,8,[`modelValue`]),G.value?(e(),k(`p`,Vt,a(G.value),1)):g(``,!0)]),i[43]||=y(`div`,{class:`text-xs text-muted-foreground p-2 rounded border border-border`},[j(` Placeholders: `),y(`code`,{class:`bg-secondary px-1 rounded`},`{schema}`),j(` JSON Schema structure description, `),y(`code`,{class:`bg-secondary px-1 rounded`},`{text}`),j(` text to extract from `)],-1)])])]))]),_:1},8,[`visible`]))}});export{Gt as default};