@kinetis/vector-ui 0.11.2 → 0.11.4

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 (171) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist/static/200.html +1 -1
  3. package/dist/static/404.html +1 -1
  4. package/dist/static/_nuxt/{BMH6XD5t.js → 1aNtrH5X.js} +1 -1
  5. package/dist/static/_nuxt/{DeE2hFUW.js → 2c1vZ90H.js} +1 -1
  6. package/dist/static/_nuxt/{CRmKHw86.js → 2oUN-NEf.js} +1 -1
  7. package/dist/static/_nuxt/{DS06smGS.js → 42EY5Fp0.js} +1 -1
  8. package/dist/static/_nuxt/4u7zD3B2.js +1 -0
  9. package/dist/static/_nuxt/51OWHj8c.js +2 -0
  10. package/dist/static/_nuxt/7mi78YCH.js +1 -0
  11. package/dist/static/_nuxt/{CHjg6j9X.js → 9MD1hlLT.js} +1 -1
  12. package/dist/static/_nuxt/{DTV9sLEj.js → 9mpX2szp.js} +1 -1
  13. package/dist/static/_nuxt/{DLiDtIjt.js → ATlmwMh0.js} +2 -2
  14. package/dist/static/_nuxt/{XUnzKVDP.js → B09ukFkq.js} +1 -1
  15. package/dist/static/_nuxt/{C9s0nkkI.js → B0GD7QJy.js} +1 -1
  16. package/dist/static/_nuxt/{B6kFBEhx.js → B4joN-Do.js} +1 -1
  17. package/dist/static/_nuxt/{DCXlqH9t.js → B6LJLCpa.js} +2 -2
  18. package/dist/static/_nuxt/{DMEspESN.js → B9psIVnP.js} +1 -1
  19. package/dist/static/_nuxt/{BvQdC4Rk.js → BAH_6Jmk.js} +1 -1
  20. package/dist/static/_nuxt/{BiSoCgYL.js → BBBFJ6ov.js} +1 -1
  21. package/dist/static/_nuxt/{C1_SI7KJ.js → BEQJk9E0.js} +1 -1
  22. package/dist/static/_nuxt/{DA90LVQc.js → BFZ46Edz.js} +1 -1
  23. package/dist/static/_nuxt/{DlvvDtkE.js → BFcl4Vn9.js} +1 -1
  24. package/dist/static/_nuxt/{BsuNB234.js → BHcm7bNA.js} +1 -1
  25. package/dist/static/_nuxt/{DnB5yhNN.js → BIv9Nyve.js} +1 -1
  26. package/dist/static/_nuxt/BKpxsGPP.js +1 -0
  27. package/dist/static/_nuxt/BO7fY8MU.js +105 -0
  28. package/dist/static/_nuxt/{BExVV8sb.js → BQnpCLjt.js} +1 -1
  29. package/dist/static/_nuxt/{D-oBCPmo.js → BTI9wOw3.js} +1 -1
  30. package/dist/static/_nuxt/{O2KY3yNo.js → BVjSh6vC.js} +1 -1
  31. package/dist/static/_nuxt/BWUEHSBR.js +1 -0
  32. package/dist/static/_nuxt/{XNHkNf2i.js → BWrwqNAK.js} +1 -1
  33. package/dist/static/_nuxt/{CLwRxnOz.js → B_DG2saj.js} +1 -1
  34. package/dist/static/_nuxt/{CrvzmL4h.js → B_RjakRk.js} +1 -1
  35. package/dist/static/_nuxt/{DmydL5Ff.js → B_fQu_h2.js} +1 -1
  36. package/dist/static/_nuxt/{NhIo1iEQ.js → Ba21o6DH.js} +1 -1
  37. package/dist/static/_nuxt/{BzyqpjTr.js → BcCRiJmN.js} +1 -1
  38. package/dist/static/_nuxt/{jFfaJB_N.js → Bfr1L6Bj.js} +1 -1
  39. package/dist/static/_nuxt/{DhZZH7ze.js → BgRi2kFj.js} +1 -1
  40. package/dist/static/_nuxt/{pevRwwGL.js → BiIirvgR.js} +2 -2
  41. package/dist/static/_nuxt/{idqqeYTH.js → BkHt6U4C.js} +1 -1
  42. package/dist/static/_nuxt/{DwS6ZbkU.js → Bm_wsdTH.js} +1 -1
  43. package/dist/static/_nuxt/BnTGo4r3.js +1 -0
  44. package/dist/static/_nuxt/{Bp5tF5r6.js → BnlaqUIK.js} +1 -1
  45. package/dist/static/_nuxt/{Byau8pUT.js → BpQgYu3z.js} +1 -1
  46. package/dist/static/_nuxt/{C0ki9wQv.js → BtRqSK7K.js} +1 -1
  47. package/dist/static/_nuxt/{BESQ-0Gs.js → Bt_KgVrY.js} +1 -1
  48. package/dist/static/_nuxt/{tVajdWsj.js → BxVisRhD.js} +3 -3
  49. package/dist/static/_nuxt/{DAFT7J9G.js → BzKz2oL1.js} +1 -1
  50. package/dist/static/_nuxt/{BFtPCOZD.js → C-MpSlvO.js} +1 -1
  51. package/dist/static/_nuxt/{C5YhaRPN.js → C32HLL_3.js} +1 -1
  52. package/dist/static/_nuxt/{Bokf_2lV.js → C4rsQhBq.js} +1 -1
  53. package/dist/static/_nuxt/{B3xq4tG7.js → C63bBlHh.js} +1 -1
  54. package/dist/static/_nuxt/C6FXj6mJ.js +1 -0
  55. package/dist/static/_nuxt/{DjH3KClu.js → CCr9dqOM.js} +1 -1
  56. package/dist/static/_nuxt/{BG8sqKld.js → CEPKZq1d.js} +1 -1
  57. package/dist/static/_nuxt/CHyInEhw.js +1 -0
  58. package/dist/static/_nuxt/CIQLz04l.js +1 -0
  59. package/dist/static/_nuxt/{CTjx55ns.js → CJCvPySI.js} +1 -1
  60. package/dist/static/_nuxt/CKHEFuM2.js +1 -0
  61. package/dist/static/_nuxt/{Cqn_GvXb.js → COHV16dX.js} +1 -1
  62. package/dist/static/_nuxt/{D1QDGpmd.js → CPAF2hi7.js} +2 -2
  63. package/dist/static/_nuxt/{CmQ01dNA.js → CQQ-wIWC.js} +1 -1
  64. package/dist/static/_nuxt/{BqCs26gd.js → CRQyQuGt.js} +1 -1
  65. package/dist/static/_nuxt/{BQJFH4zD.js → CSzw4ySZ.js} +1 -1
  66. package/dist/static/_nuxt/{cUv4pc51.js → CTHeqfU5.js} +1 -1
  67. package/dist/static/_nuxt/{CxIMB56s.js → CXxZ_oTv.js} +1 -1
  68. package/dist/static/_nuxt/{D_abDeln.js → CZYb0nJo.js} +1 -1
  69. package/dist/static/_nuxt/{R-E-AGli.js → C_2GgX80.js} +1 -1
  70. package/dist/static/_nuxt/Cb1Jgwk5.js +1 -0
  71. package/dist/static/_nuxt/{PZu-Wsjm.js → Cc0_Jvm0.js} +1 -1
  72. package/dist/static/_nuxt/{CNktovgL.js → CcpHaI2T.js} +1 -1
  73. package/dist/static/_nuxt/{DmDYfbOW.js → CdjG3WTk.js} +1 -1
  74. package/dist/static/_nuxt/{DNU7W_nS.js → ChHm6L68.js} +1 -1
  75. package/dist/static/_nuxt/{B9haHkUY.js → Ci1-hOA9.js} +1 -1
  76. package/dist/static/_nuxt/{lU2WvORK.js → Cit-8CYV.js} +2 -2
  77. package/dist/static/_nuxt/{DDiJSP0v.js → CmQyigb3.js} +1 -1
  78. package/dist/static/_nuxt/{Dcf0mLpX.js → Cqiksit6.js} +1 -1
  79. package/dist/static/_nuxt/CrguOr79.js +1 -0
  80. package/dist/static/_nuxt/{DwZHvFrZ.js → CtrzPVjw.js} +1 -1
  81. package/dist/static/_nuxt/{DjFitDi7.js → Cuw0Qa9p.js} +1 -1
  82. package/dist/static/_nuxt/{DPkCdlhJ.js → D--ynbM1.js} +1 -1
  83. package/dist/static/_nuxt/{Cnk6TpKh.js → D-rB2fWZ.js} +1 -1
  84. package/dist/static/_nuxt/{DrTddWZC.js → D3eqWiUZ.js} +1 -1
  85. package/dist/static/_nuxt/{BQj8iTaT.js → D7DEE4gN.js} +1 -1
  86. package/dist/static/_nuxt/{CYenBSuZ.js → D9BNw4XE.js} +1 -1
  87. package/dist/static/_nuxt/{Cn3Lx2PZ.js → DBgKGXIj.js} +1 -1
  88. package/dist/static/_nuxt/{B8kpdvvf.js → DFsV0Sjv.js} +1 -1
  89. package/dist/static/_nuxt/DI2U4Yky.js +1 -0
  90. package/dist/static/_nuxt/DKZ-tHQY.js +1 -0
  91. package/dist/static/_nuxt/{B8eHDL1x.js → DLzA6Iec.js} +1 -1
  92. package/dist/static/_nuxt/{DpgU2PHs.js → DPQuPVtF.js} +1 -1
  93. package/dist/static/_nuxt/{DunIFW85.js → DQ1z3A04.js} +1 -1
  94. package/dist/static/_nuxt/{CqS2QE9K.js → DR4qylKa.js} +1 -1
  95. package/dist/static/_nuxt/{DIQMtM1r.js → DUZOHq18.js} +1 -1
  96. package/dist/static/_nuxt/DVD2abek.js +1 -0
  97. package/dist/static/_nuxt/{CNtSjZb9.js → DVIiT5EL.js} +1 -1
  98. package/dist/static/_nuxt/{X769DZgg.js → DVRz0uUW.js} +1 -1
  99. package/dist/static/_nuxt/DXB5mzAL.js +1 -0
  100. package/dist/static/_nuxt/DZicWGaE.js +1 -0
  101. package/dist/static/_nuxt/DZo3dYLJ.js +3 -0
  102. package/dist/static/_nuxt/DfGiad2V.js +1 -0
  103. package/dist/static/_nuxt/{XP_NhcAc.js → Dg_tXu9P.js} +1 -1
  104. package/dist/static/_nuxt/{FiVpZbG7.js → DhECW-Pr.js} +1 -1
  105. package/dist/static/_nuxt/{CLuA010K.js → DkQpAs16.js} +1 -1
  106. package/dist/static/_nuxt/{BRJdRL8w.js → DnjYr5Sx.js} +1 -1
  107. package/dist/static/_nuxt/{BZGd3Us3.js → Dnv1kjao.js} +1 -1
  108. package/dist/static/_nuxt/{CPlriU47.js → DurSV7Ue.js} +1 -1
  109. package/dist/static/_nuxt/{B4CNYLGX.js → DvnG2kZK.js} +1 -1
  110. package/dist/static/_nuxt/DwTJY8_x.js +1 -0
  111. package/dist/static/_nuxt/{Cdn0sqgm.js → DzOxWOFX.js} +1 -1
  112. package/dist/static/_nuxt/{BcKdSO1s.js → E-mWtnN5.js} +1 -1
  113. package/dist/static/_nuxt/{CS2rsiMP.js → Ge5l3uM8.js} +1 -1
  114. package/dist/static/_nuxt/{jDoGFcUw.js → JjWUotQr.js} +1 -1
  115. package/dist/static/_nuxt/{B_BN_HbD.js → Lj7y5-JX.js} +1 -1
  116. package/dist/static/_nuxt/{C3gWfuE3.js → MAzsrRZz.js} +1 -1
  117. package/dist/static/_nuxt/{BW9HID9H.js → MEvklnEE.js} +1 -1
  118. package/dist/static/_nuxt/{CBuI8G-0.js → OMRlJR6k.js} +1 -1
  119. package/dist/static/_nuxt/ORpfF6Nb.js +1 -0
  120. package/dist/static/_nuxt/{v3MehyQK.js → R0rf_l_C.js} +1 -1
  121. package/dist/static/_nuxt/{DaV1Nwi1.js → RChVezE9.js} +1 -1
  122. package/dist/static/_nuxt/{rPED9XOq.js → UfoGua8K.js} +1 -1
  123. package/dist/static/_nuxt/{D8BLAufX.js → bmIlMXFn.js} +1 -1
  124. package/dist/static/_nuxt/builds/latest.json +1 -1
  125. package/dist/static/_nuxt/builds/meta/3d033852-d476-470c-9383-c0d396c68b73.json +1 -0
  126. package/dist/static/_nuxt/{3JezEUxl.js → cDe9iywT.js} +1 -1
  127. package/dist/static/_nuxt/e2gIG9L9.js +1 -0
  128. package/dist/static/_nuxt/error-404.DfDma_Xp.css +1 -0
  129. package/dist/static/_nuxt/error-500.B00Am0ym.css +1 -0
  130. package/dist/static/_nuxt/{GcJARbV4.js → go_nGSOr.js} +1 -1
  131. package/dist/static/_nuxt/{Cy0OG4l8.js → gtFV1dAC.js} +1 -1
  132. package/dist/static/_nuxt/{CMALc53B.js → iEEDTq6e.js} +1 -1
  133. package/dist/static/_nuxt/lbl667wH.js +67 -0
  134. package/dist/static/_nuxt/{B30gqjcn.js → mtQhqX_4.js} +1 -1
  135. package/dist/static/_nuxt/{CElnT3Ea.js → qpVO-NAo.js} +1 -1
  136. package/dist/static/_nuxt/{CGkUvIUb.js → rSRjHK_a.js} +1 -1
  137. package/dist/static/_nuxt/{BD3vrpfE.js → rSy2G_Qb.js} +1 -1
  138. package/dist/static/_nuxt/{DcCk6iJg.js → xkua0wtW.js} +1 -1
  139. package/dist/static/index.html +1 -1
  140. package/dist/static/jobs/index.html +1 -1
  141. package/dist/static/login/index.html +1 -1
  142. package/dist/static/settings/index.html +1 -1
  143. package/dist/static/vector-bundle.json +143 -143
  144. package/package.json +17 -17
  145. package/dist/static/_nuxt/5zee4flr.js +0 -1
  146. package/dist/static/_nuxt/BC1JF9Zk.js +0 -1
  147. package/dist/static/_nuxt/BDjB0t0q.js +0 -1
  148. package/dist/static/_nuxt/BMa85Lo_.js +0 -1
  149. package/dist/static/_nuxt/BMxCKVli.js +0 -1
  150. package/dist/static/_nuxt/BUXLfoCg.js +0 -1
  151. package/dist/static/_nuxt/BUnmJXi2.js +0 -1
  152. package/dist/static/_nuxt/BUxh8xLU.js +0 -1
  153. package/dist/static/_nuxt/BscDSMUQ.js +0 -1
  154. package/dist/static/_nuxt/Bz10rfP9.js +0 -1
  155. package/dist/static/_nuxt/C4SdFsgS.js +0 -1
  156. package/dist/static/_nuxt/C8910TI5.js +0 -1
  157. package/dist/static/_nuxt/CRC87riD.js +0 -1
  158. package/dist/static/_nuxt/CdkTzVlv.js +0 -1
  159. package/dist/static/_nuxt/CrKjUxoH.js +0 -67
  160. package/dist/static/_nuxt/Cx1ACnK3.js +0 -2
  161. package/dist/static/_nuxt/DUh5YbE0.js +0 -1
  162. package/dist/static/_nuxt/DVRkMeDb.js +0 -3
  163. package/dist/static/_nuxt/DaaIbCq6.js +0 -1
  164. package/dist/static/_nuxt/DpMtZe_u.js +0 -1
  165. package/dist/static/_nuxt/Neo3srpw.js +0 -1
  166. package/dist/static/_nuxt/builds/meta/39204f67-0d39-471b-8b04-27ba53111b8c.json +0 -1
  167. package/dist/static/_nuxt/error-404.BWA13HPT.css +0 -1
  168. package/dist/static/_nuxt/error-500.DWMOKWSC.css +0 -1
  169. package/dist/static/_nuxt/heMUOJ3z.js +0 -1
  170. package/dist/static/_nuxt/joVv9dY7.js +0 -1
  171. package/dist/static/_nuxt/uFRd1kpu.js +0 -100
@@ -1 +1 @@
1
- import{$ as e,D as t,E as n,Ft as r,Ht as i,On as a,Zn as ee,_ as o,b as s,bt as c,et as te,g as l,it as ne,k as u,mt as d,o as f,qt as p,tr as m,un as h,v as g,vn as _,y as v}from"./DVRkMeDb.js";import{C as re,w as ie}from"./Cx1ACnK3.js";import{t as ae}from"./CMALc53B.js";import{t as oe}from"./CHjg6j9X.js";import{t as y}from"./DMEspESN.js";import{t as b}from"./DNU7W_nS.js";import{t as x}from"./DaaIbCq6.js";import{At as se,Pt as S,m as C,o as w,t as T}from"#entry";import{n as E}from"./BG8sqKld.js";import{t as D}from"./C_ix0rE_.js";import{a as ce,c as O,n as le,t as ue}from"./CrKjUxoH.js";import{n as de,t as k}from"./BMxCKVli.js";var A={class:`text-caption text-medium-emphasis px-3 pt-2`},j=[`aria-label`],M={class:`d-flex justify-end ga-2`},N=[`aria-label`],P=Object.assign(u({__name:`RichText`,props:e({field:{},rules:{},errorMessages:{},record:{},resource:{}},{modelValue:{},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let u=e,P=r(e,`modelValue`),{t:F}=T(),I=E(()=>u.resource??``),{richText:L}=S(),R=l(()=>u.field.richtext??{features:[],imageField:null,mentions:null,storesHtml:!1,maxBytes:262144}),z=e=>R.value.features.includes(e),B=new Map;async function V(e){if(B.has(e))return B.get(e);let t=u.record?.id;return t==null||!R.value.imageField?null:await D(await I.fileBlob(t,R.value.imageField,e))}async function fe(e){return R.value.mentions?(await I.options(R.value.mentions,e)).data.slice(0,8).map(e=>({id:e.id,label:e.label})):[]}let H=ce({features:R.value.features,placeholder:u.field.help??void 0,imageSource:V,mentionItems:fe,custom:L}),U=!1,W=de({content:P.value?O(P.value,H):null,extensions:H,injectNonce:window.__VECTOR__?.cspNonce??void 0,editorProps:{attributes:{class:`vx-richtext-content`,"aria-label":u.field.label,role:`textbox`,"aria-multiline":`true`}},onUpdate:({editor:e})=>{let t=e.getJSON();U=!0,P.value=le(t)?null:JSON.stringify(t)}});i(P,e=>{U?U=!1:W.value?.commands.setContent(e?O(e,H):null,{emitUpdate:!1})}),ne(()=>W.value?.destroy());let G=(e,t)=>W.value?.isActive(e,t)??!1,K=e=>{W.value&&e(W.value)},q=_(!1),J=_(``),Y=l(()=>J.value.trim()!==``&&!ue(J.value.trim())?F(`fields.richtext.linkRefused`):null);function pe(){J.value=String(W.value?.getAttributes(`link`).href??``),q.value=!0}function X(){let e=J.value.trim();Y.value||(K(t=>e===``?t.chain().focus().unsetLink().run():t.chain().focus().extendMarkRange(`link`).setLink({href:e}).run()),q.value=!1)}let Z=_(null),Q=_(!1),$=_(null);async function me(e){let t=e.target.files?.[0];if(e.target.value=``,t&&R.value.imageField){Q.value=!0,$.value=null;try{let{key:e}=await I.upload(R.value.imageField,t,u.record?.id);B.set(e,await D(t)),K(n=>n.chain().focus().setImage({src:e,alt:t.name}).run())}catch(e){$.value=se(e)}finally{Q.value=!1}}}let he=l(()=>G(`table`));return(r,i)=>(d(),g(oe,{"model-value":P.value,rules:e.rules,"error-messages":a($)?[a($),...e.errorMessages]:e.errorMessages,hint:e.field.help??void 0,"persistent-hint":!!e.field.help,class:`vx-richtext`},{default:p(()=>[o(`div`,{class:ee([`vx-richtext-frame`,{"vx-richtext-frame--error":e.errorMessages.length>0}])},[o(`div`,A,m(e.field.label),1),o(`div`,{class:`vx-richtext-toolbar d-flex flex-wrap align-center ga-1 px-2 py-1`,role:`toolbar`,"aria-label":a(F)(`fields.richtext.toolbar`,{label:e.field.label})},[z(`bold`)?(d(),g(C,{key:0,icon:`mdi-format-bold`,size:`small`,variant:`text`,active:G(`bold`),"aria-label":a(F)(`fields.richtext.bold`),onClick:i[0]||=e=>K(e=>e.chain().focus().toggleBold().run())},null,8,[`active`,`aria-label`])):v(``,!0),z(`italic`)?(d(),g(C,{key:1,icon:`mdi-format-italic`,size:`small`,variant:`text`,active:G(`italic`),"aria-label":a(F)(`fields.richtext.italic`),onClick:i[1]||=e=>K(e=>e.chain().focus().toggleItalic().run())},null,8,[`active`,`aria-label`])):v(``,!0),z(`underline`)?(d(),g(C,{key:2,icon:`mdi-format-underline`,size:`small`,variant:`text`,active:G(`underline`),"aria-label":a(F)(`fields.richtext.underline`),onClick:i[2]||=e=>K(e=>e.chain().focus().toggleUnderline().run())},null,8,[`active`,`aria-label`])):v(``,!0),z(`strike`)?(d(),g(C,{key:3,icon:`mdi-format-strikethrough`,size:`small`,variant:`text`,active:G(`strike`),"aria-label":a(F)(`fields.richtext.strike`),onClick:i[3]||=e=>K(e=>e.chain().focus().toggleStrike().run())},null,8,[`active`,`aria-label`])):v(``,!0),z(`code`)?(d(),g(C,{key:4,icon:`mdi-code-tags`,size:`small`,variant:`text`,active:G(`code`),"aria-label":a(F)(`fields.richtext.code`),onClick:i[4]||=e=>K(e=>e.chain().focus().toggleCode().run())},null,8,[`active`,`aria-label`])):v(``,!0),z(`heading`)?(d(),s(f,{key:5},[t(y,{vertical:``,class:`mx-1`}),(d(),s(f,null,c([1,2,3],e=>t(C,{key:e,icon:`mdi-format-header-${e}`,size:`small`,variant:`text`,active:G(`heading`,{level:e}),"aria-label":a(F)(`fields.richtext.heading`,{level:e}),onClick:t=>K(t=>t.chain().focus().toggleHeading({level:e}).run())},null,8,[`icon`,`active`,`aria-label`,`onClick`])),64))],64)):v(``,!0),z(`list`)?(d(),s(f,{key:6},[t(y,{vertical:``,class:`mx-1`}),t(C,{icon:`mdi-format-list-bulleted`,size:`small`,variant:`text`,active:G(`bulletList`),"aria-label":a(F)(`fields.richtext.bulletList`),onClick:i[5]||=e=>K(e=>e.chain().focus().toggleBulletList().run())},null,8,[`active`,`aria-label`]),t(C,{icon:`mdi-format-list-numbered`,size:`small`,variant:`text`,active:G(`orderedList`),"aria-label":a(F)(`fields.richtext.orderedList`),onClick:i[6]||=e=>K(e=>e.chain().focus().toggleOrderedList().run())},null,8,[`active`,`aria-label`])],64)):v(``,!0),z(`blockquote`)?(d(),g(C,{key:7,icon:`mdi-format-quote-close`,size:`small`,variant:`text`,active:G(`blockquote`),"aria-label":a(F)(`fields.richtext.blockquote`),onClick:i[7]||=e=>K(e=>e.chain().focus().toggleBlockquote().run())},null,8,[`active`,`aria-label`])):v(``,!0),z(`codeBlock`)?(d(),g(C,{key:8,icon:`mdi-code-braces`,size:`small`,variant:`text`,active:G(`codeBlock`),"aria-label":a(F)(`fields.richtext.codeBlock`),onClick:i[8]||=e=>K(e=>e.chain().focus().toggleCodeBlock().run())},null,8,[`active`,`aria-label`])):v(``,!0),z(`horizontalRule`)?(d(),g(C,{key:9,icon:`mdi-minus`,size:`small`,variant:`text`,"aria-label":a(F)(`fields.richtext.horizontalRule`),onClick:i[9]||=e=>K(e=>e.chain().focus().setHorizontalRule().run())},null,8,[`aria-label`])):v(``,!0),z(`link`)?(d(),g(ae,{key:10,modelValue:a(q),"onUpdate:modelValue":i[12]||=e=>h(q)?q.value=e:null,"close-on-content-click":!1,location:`bottom`},{activator:p(({props:e})=>[t(C,te(e,{icon:`mdi-link-variant`,size:`small`,variant:`text`,active:G(`link`),"aria-label":a(F)(`fields.richtext.link`),onClick:pe}),null,16,[`active`,`aria-label`])]),default:p(()=>[t(w,{"min-width":`320`,class:`pa-3`},{default:p(()=>[t(b,{modelValue:a(J),"onUpdate:modelValue":i[10]||=e=>h(J)?J.value=e:null,label:a(F)(`fields.richtext.linkUrl`),"error-messages":a(Y)?[a(Y)]:[],autofocus:``,onKeydown:re(ie(X,[`prevent`]),[`enter`])},null,8,[`modelValue`,`label`,`error-messages`,`onKeydown`]),o(`div`,M,[t(C,{variant:`text`,onClick:i[11]||=e=>{J.value=``,X()}},{default:p(()=>[n(m(a(F)(`common.remove`)),1)]),_:1}),t(C,{color:`primary`,disabled:!!a(Y),onClick:X},{default:p(()=>[n(m(a(F)(`common.apply`)),1)]),_:1},8,[`disabled`])])]),_:1})]),_:1},8,[`modelValue`])):v(``,!0),z(`table`)?(d(),s(f,{key:11},[t(y,{vertical:``,class:`mx-1`}),t(C,{icon:`mdi-table-plus`,size:`small`,variant:`text`,"aria-label":a(F)(`fields.richtext.insertTable`),onClick:i[13]||=e=>K(e=>e.chain().focus().insertTable({rows:3,cols:3,withHeaderRow:!0}).run())},null,8,[`aria-label`]),a(he)?(d(),s(f,{key:0},[t(C,{icon:`mdi-table-row-plus-after`,size:`small`,variant:`text`,"aria-label":a(F)(`fields.richtext.addRow`),onClick:i[14]||=e=>K(e=>e.chain().focus().addRowAfter().run())},null,8,[`aria-label`]),t(C,{icon:`mdi-table-column-plus-after`,size:`small`,variant:`text`,"aria-label":a(F)(`fields.richtext.addColumn`),onClick:i[15]||=e=>K(e=>e.chain().focus().addColumnAfter().run())},null,8,[`aria-label`]),t(C,{icon:`mdi-table-row-remove`,size:`small`,variant:`text`,"aria-label":a(F)(`fields.richtext.deleteRow`),onClick:i[16]||=e=>K(e=>e.chain().focus().deleteRow().run())},null,8,[`aria-label`]),t(C,{icon:`mdi-table-column-remove`,size:`small`,variant:`text`,"aria-label":a(F)(`fields.richtext.deleteColumn`),onClick:i[17]||=e=>K(e=>e.chain().focus().deleteColumn().run())},null,8,[`aria-label`]),t(C,{icon:`mdi-table-remove`,size:`small`,variant:`text`,"aria-label":a(F)(`fields.richtext.deleteTable`),onClick:i[18]||=e=>K(e=>e.chain().focus().deleteTable().run())},null,8,[`aria-label`])],64)):v(``,!0)],64)):v(``,!0),z(`image`)&&a(R).imageField?(d(),s(f,{key:12},[t(C,{icon:`mdi-image-plus`,size:`small`,variant:`text`,loading:a(Q),"aria-label":a(F)(`fields.richtext.image`),onClick:i[19]||=e=>a(Z)?.click()},null,8,[`loading`,`aria-label`]),o(`input`,{ref_key:`picker`,ref:Z,type:`file`,accept:`image/png,image/jpeg,image/webp,image/gif`,class:`d-none`,"aria-label":a(F)(`fields.richtext.image`),onChange:me},null,40,N)],64)):v(``,!0),t(x),t(C,{icon:`mdi-undo`,size:`small`,variant:`text`,"aria-label":a(F)(`fields.richtext.undo`),onClick:i[20]||=e=>K(e=>e.chain().focus().undo().run())},null,8,[`aria-label`]),t(C,{icon:`mdi-redo`,size:`small`,variant:`text`,"aria-label":a(F)(`fields.richtext.redo`),onClick:i[21]||=e=>K(e=>e.chain().focus().redo().run())},null,8,[`aria-label`])],8,j),t(y),t(a(k),{editor:a(W),class:`vx-richtext-editor`},null,8,[`editor`])],2)]),_:1},8,[`model-value`,`rules`,`error-messages`,`hint`,`persistent-hint`]))}}),{__name:`VxInputRichText`});export{P as default};
1
+ import{$ as e,D as t,E as n,Ft as r,Ht as i,On as a,Zn as ee,_ as o,b as s,bt as c,et as te,g as l,it as ne,k as u,mt as d,o as f,qt as p,tr as m,un as h,v as g,vn as _,y as v}from"./DZo3dYLJ.js";import{C as re,w as ie}from"./51OWHj8c.js";import{t as ae}from"./iEEDTq6e.js";import{t as oe}from"./9MD1hlLT.js";import{t as y}from"./B9psIVnP.js";import{t as b}from"./ChHm6L68.js";import{t as x}from"./DI2U4Yky.js";import{It as se,Mt as S,m as C,o as w,t as T}from"#entry";import{n as E}from"./CEPKZq1d.js";import{t as D}from"./C_ix0rE_.js";import{a as ce,c as O,n as le,t as ue}from"./lbl667wH.js";import{n as de,t as k}from"./CKHEFuM2.js";var A={class:`text-caption text-medium-emphasis px-3 pt-2`},j=[`aria-label`],M={class:`d-flex justify-end ga-2`},N=[`aria-label`],P=Object.assign(u({__name:`RichText`,props:e({field:{},rules:{},errorMessages:{},record:{},resource:{}},{modelValue:{},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let u=e,P=r(e,`modelValue`),{t:F}=T(),I=E(()=>u.resource??``),{richText:L}=se(),R=l(()=>u.field.richtext??{features:[],imageField:null,mentions:null,storesHtml:!1,maxBytes:262144}),z=e=>R.value.features.includes(e),B=new Map;async function V(e){if(B.has(e))return B.get(e);let t=u.record?.id;return t==null||!R.value.imageField?null:await D(await I.fileBlob(t,R.value.imageField,e))}async function fe(e){return R.value.mentions?(await I.options(R.value.mentions,e)).data.slice(0,8).map(e=>({id:e.id,label:e.label})):[]}let H=ce({features:R.value.features,placeholder:u.field.help??void 0,imageSource:V,mentionItems:fe,custom:L}),U=!1,W=de({content:P.value?O(P.value,H):null,extensions:H,injectNonce:window.__VECTOR__?.cspNonce??void 0,editorProps:{attributes:{class:`vx-richtext-content`,"aria-label":u.field.label,role:`textbox`,"aria-multiline":`true`}},onUpdate:({editor:e})=>{let t=e.getJSON();U=!0,P.value=le(t)?null:JSON.stringify(t)}});i(P,e=>{U?U=!1:W.value?.commands.setContent(e?O(e,H):null,{emitUpdate:!1})}),ne(()=>W.value?.destroy());let G=(e,t)=>W.value?.isActive(e,t)??!1,K=e=>{W.value&&e(W.value)},q=_(!1),J=_(``),Y=l(()=>J.value.trim()!==``&&!ue(J.value.trim())?F(`fields.richtext.linkRefused`):null);function pe(){J.value=String(W.value?.getAttributes(`link`).href??``),q.value=!0}function X(){let e=J.value.trim();Y.value||(K(t=>e===``?t.chain().focus().unsetLink().run():t.chain().focus().extendMarkRange(`link`).setLink({href:e}).run()),q.value=!1)}let Z=_(null),Q=_(!1),$=_(null);async function me(e){let t=e.target.files?.[0];if(e.target.value=``,t&&R.value.imageField){Q.value=!0,$.value=null;try{let{key:e}=await I.upload(R.value.imageField,t,u.record?.id);B.set(e,await D(t)),K(n=>n.chain().focus().setImage({src:e,alt:t.name}).run())}catch(e){$.value=S(e)}finally{Q.value=!1}}}let he=l(()=>G(`table`));return(r,i)=>(d(),g(oe,{"model-value":P.value,rules:e.rules,"error-messages":a($)?[a($),...e.errorMessages]:e.errorMessages,hint:e.field.help??void 0,"persistent-hint":!!e.field.help,class:`vx-richtext`},{default:p(()=>[o(`div`,{class:ee([`vx-richtext-frame`,{"vx-richtext-frame--error":e.errorMessages.length>0}])},[o(`div`,A,m(e.field.label),1),o(`div`,{class:`vx-richtext-toolbar d-flex flex-wrap align-center ga-1 px-2 py-1`,role:`toolbar`,"aria-label":a(F)(`fields.richtext.toolbar`,{label:e.field.label})},[z(`bold`)?(d(),g(C,{key:0,icon:`mdi-format-bold`,size:`small`,variant:`text`,active:G(`bold`),"aria-label":a(F)(`fields.richtext.bold`),onClick:i[0]||=e=>K(e=>e.chain().focus().toggleBold().run())},null,8,[`active`,`aria-label`])):v(``,!0),z(`italic`)?(d(),g(C,{key:1,icon:`mdi-format-italic`,size:`small`,variant:`text`,active:G(`italic`),"aria-label":a(F)(`fields.richtext.italic`),onClick:i[1]||=e=>K(e=>e.chain().focus().toggleItalic().run())},null,8,[`active`,`aria-label`])):v(``,!0),z(`underline`)?(d(),g(C,{key:2,icon:`mdi-format-underline`,size:`small`,variant:`text`,active:G(`underline`),"aria-label":a(F)(`fields.richtext.underline`),onClick:i[2]||=e=>K(e=>e.chain().focus().toggleUnderline().run())},null,8,[`active`,`aria-label`])):v(``,!0),z(`strike`)?(d(),g(C,{key:3,icon:`mdi-format-strikethrough`,size:`small`,variant:`text`,active:G(`strike`),"aria-label":a(F)(`fields.richtext.strike`),onClick:i[3]||=e=>K(e=>e.chain().focus().toggleStrike().run())},null,8,[`active`,`aria-label`])):v(``,!0),z(`code`)?(d(),g(C,{key:4,icon:`mdi-code-tags`,size:`small`,variant:`text`,active:G(`code`),"aria-label":a(F)(`fields.richtext.code`),onClick:i[4]||=e=>K(e=>e.chain().focus().toggleCode().run())},null,8,[`active`,`aria-label`])):v(``,!0),z(`heading`)?(d(),s(f,{key:5},[t(y,{vertical:``,class:`mx-1`}),(d(),s(f,null,c([1,2,3],e=>t(C,{key:e,icon:`mdi-format-header-${e}`,size:`small`,variant:`text`,active:G(`heading`,{level:e}),"aria-label":a(F)(`fields.richtext.heading`,{level:e}),onClick:t=>K(t=>t.chain().focus().toggleHeading({level:e}).run())},null,8,[`icon`,`active`,`aria-label`,`onClick`])),64))],64)):v(``,!0),z(`list`)?(d(),s(f,{key:6},[t(y,{vertical:``,class:`mx-1`}),t(C,{icon:`mdi-format-list-bulleted`,size:`small`,variant:`text`,active:G(`bulletList`),"aria-label":a(F)(`fields.richtext.bulletList`),onClick:i[5]||=e=>K(e=>e.chain().focus().toggleBulletList().run())},null,8,[`active`,`aria-label`]),t(C,{icon:`mdi-format-list-numbered`,size:`small`,variant:`text`,active:G(`orderedList`),"aria-label":a(F)(`fields.richtext.orderedList`),onClick:i[6]||=e=>K(e=>e.chain().focus().toggleOrderedList().run())},null,8,[`active`,`aria-label`])],64)):v(``,!0),z(`blockquote`)?(d(),g(C,{key:7,icon:`mdi-format-quote-close`,size:`small`,variant:`text`,active:G(`blockquote`),"aria-label":a(F)(`fields.richtext.blockquote`),onClick:i[7]||=e=>K(e=>e.chain().focus().toggleBlockquote().run())},null,8,[`active`,`aria-label`])):v(``,!0),z(`codeBlock`)?(d(),g(C,{key:8,icon:`mdi-code-braces`,size:`small`,variant:`text`,active:G(`codeBlock`),"aria-label":a(F)(`fields.richtext.codeBlock`),onClick:i[8]||=e=>K(e=>e.chain().focus().toggleCodeBlock().run())},null,8,[`active`,`aria-label`])):v(``,!0),z(`horizontalRule`)?(d(),g(C,{key:9,icon:`mdi-minus`,size:`small`,variant:`text`,"aria-label":a(F)(`fields.richtext.horizontalRule`),onClick:i[9]||=e=>K(e=>e.chain().focus().setHorizontalRule().run())},null,8,[`aria-label`])):v(``,!0),z(`link`)?(d(),g(ae,{key:10,modelValue:a(q),"onUpdate:modelValue":i[12]||=e=>h(q)?q.value=e:null,"close-on-content-click":!1,location:`bottom`},{activator:p(({props:e})=>[t(C,te(e,{icon:`mdi-link-variant`,size:`small`,variant:`text`,active:G(`link`),"aria-label":a(F)(`fields.richtext.link`),onClick:pe}),null,16,[`active`,`aria-label`])]),default:p(()=>[t(w,{"min-width":`320`,class:`pa-3`},{default:p(()=>[t(b,{modelValue:a(J),"onUpdate:modelValue":i[10]||=e=>h(J)?J.value=e:null,label:a(F)(`fields.richtext.linkUrl`),"error-messages":a(Y)?[a(Y)]:[],autofocus:``,onKeydown:re(ie(X,[`prevent`]),[`enter`])},null,8,[`modelValue`,`label`,`error-messages`,`onKeydown`]),o(`div`,M,[t(C,{variant:`text`,onClick:i[11]||=e=>{J.value=``,X()}},{default:p(()=>[n(m(a(F)(`common.remove`)),1)]),_:1}),t(C,{color:`primary`,disabled:!!a(Y),onClick:X},{default:p(()=>[n(m(a(F)(`common.apply`)),1)]),_:1},8,[`disabled`])])]),_:1})]),_:1},8,[`modelValue`])):v(``,!0),z(`table`)?(d(),s(f,{key:11},[t(y,{vertical:``,class:`mx-1`}),t(C,{icon:`mdi-table-plus`,size:`small`,variant:`text`,"aria-label":a(F)(`fields.richtext.insertTable`),onClick:i[13]||=e=>K(e=>e.chain().focus().insertTable({rows:3,cols:3,withHeaderRow:!0}).run())},null,8,[`aria-label`]),a(he)?(d(),s(f,{key:0},[t(C,{icon:`mdi-table-row-plus-after`,size:`small`,variant:`text`,"aria-label":a(F)(`fields.richtext.addRow`),onClick:i[14]||=e=>K(e=>e.chain().focus().addRowAfter().run())},null,8,[`aria-label`]),t(C,{icon:`mdi-table-column-plus-after`,size:`small`,variant:`text`,"aria-label":a(F)(`fields.richtext.addColumn`),onClick:i[15]||=e=>K(e=>e.chain().focus().addColumnAfter().run())},null,8,[`aria-label`]),t(C,{icon:`mdi-table-row-remove`,size:`small`,variant:`text`,"aria-label":a(F)(`fields.richtext.deleteRow`),onClick:i[16]||=e=>K(e=>e.chain().focus().deleteRow().run())},null,8,[`aria-label`]),t(C,{icon:`mdi-table-column-remove`,size:`small`,variant:`text`,"aria-label":a(F)(`fields.richtext.deleteColumn`),onClick:i[17]||=e=>K(e=>e.chain().focus().deleteColumn().run())},null,8,[`aria-label`]),t(C,{icon:`mdi-table-remove`,size:`small`,variant:`text`,"aria-label":a(F)(`fields.richtext.deleteTable`),onClick:i[18]||=e=>K(e=>e.chain().focus().deleteTable().run())},null,8,[`aria-label`])],64)):v(``,!0)],64)):v(``,!0),z(`image`)&&a(R).imageField?(d(),s(f,{key:12},[t(C,{icon:`mdi-image-plus`,size:`small`,variant:`text`,loading:a(Q),"aria-label":a(F)(`fields.richtext.image`),onClick:i[19]||=e=>a(Z)?.click()},null,8,[`loading`,`aria-label`]),o(`input`,{ref_key:`picker`,ref:Z,type:`file`,accept:`image/png,image/jpeg,image/webp,image/gif`,class:`d-none`,"aria-label":a(F)(`fields.richtext.image`),onChange:me},null,40,N)],64)):v(``,!0),t(x),t(C,{icon:`mdi-undo`,size:`small`,variant:`text`,"aria-label":a(F)(`fields.richtext.undo`),onClick:i[20]||=e=>K(e=>e.chain().focus().undo().run())},null,8,[`aria-label`]),t(C,{icon:`mdi-redo`,size:`small`,variant:`text`,"aria-label":a(F)(`fields.richtext.redo`),onClick:i[21]||=e=>K(e=>e.chain().focus().redo().run())},null,8,[`aria-label`])],8,j),t(y),t(a(k),{editor:a(W),class:`vx-richtext-editor`},null,8,[`editor`])],2)]),_:1},8,[`model-value`,`rules`,`error-messages`,`hint`,`persistent-hint`]))}}),{__name:`VxInputRichText`});export{P as default};
@@ -1 +1 @@
1
- import{$ as e,Ft as t,Zn as n,k as r,mt as i,v as a}from"./DVRkMeDb.js";import{n as o}from"#entry";var s=Object.assign(r({__name:`Textarea`,props:e({field:{},rules:{},errorMessages:{},record:{},resource:{}},{modelValue:{},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let r=e,s=t(e,`modelValue`);return(t,c)=>(i(),a(o,{modelValue:s.value,"onUpdate:modelValue":c[0]||=e=>s.value=e,label:e.field.label,rules:e.rules,"error-messages":e.errorMessages,hint:e.field.help??void 0,"persistent-hint":!!e.field.help,class:n({"font-monospace":r.field.type===`json`}),"auto-grow":``,rows:`3`},null,8,[`modelValue`,`label`,`rules`,`error-messages`,`hint`,`persistent-hint`,`class`]))}}),{__name:`VxInputTextarea`});export{s as default};
1
+ import{$ as e,Ft as t,Zn as n,k as r,mt as i,v as a}from"./DZo3dYLJ.js";import{n as o}from"#entry";var s=Object.assign(r({__name:`Textarea`,props:e({field:{},rules:{},errorMessages:{},record:{},resource:{}},{modelValue:{},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let r=e,s=t(e,`modelValue`);return(t,c)=>(i(),a(o,{modelValue:s.value,"onUpdate:modelValue":c[0]||=e=>s.value=e,label:e.field.label,rules:e.rules,"error-messages":e.errorMessages,hint:e.field.help??void 0,"persistent-hint":!!e.field.help,class:n({"font-monospace":r.field.type===`json`}),"auto-grow":``,rows:`3`},null,8,[`modelValue`,`label`,`rules`,`error-messages`,`hint`,`persistent-hint`,`class`]))}}),{__name:`VxInputTextarea`});export{s as default};
@@ -1 +1 @@
1
- import{Ft as e,H as t,Kt as n,Lt as r,Nt as i,Pt as a,S as o,X as s,bt as c,xt as l,y as u,zt as d}from"./D1QDGpmd.js";import{Ht as f,J as p,On as m,Pt as h,ct as g,g as _,gn as v,gt as y,it as b,pn as x,pt as S,tt as C,un as w,wn as T,wt as E}from"./DVRkMeDb.js";import{s as D}from"./cUv4pc51.js";import{n as O}from"./BZGd3Us3.js";var k=o({elevation:{type:[Number,String],validator:e=>parseInt(e)>=0},hoverElevation:{type:[Number,String],validator:e=>parseInt(e)>=0}},`elevation`);function A(e){return{elevationClasses:T(()=>{let t=w(e)?e.value:e.elevation,n=w(e)?null:e.hoverElevation;return[...a(t)?[]:[`elevation-${parseInt(t)}`],...a(n)?[]:[`hover-elevation-${parseInt(n)}`]]})}}var j=o({modelValue:{type:null,default:void 0},multiple:Boolean,mandatory:[Boolean,String],max:Number,selectedClass:String,disabled:Boolean},`group`),M=o({value:null,disabled:Boolean,selectedClass:String},`group-item`);function N(e,t,n=!0){let r=u(`useGroupItem`);if(!r)throw Error(`[Vuetify] useGroupItem composable must be used inside a component setup function`);let i=h();y(Symbol.for(`${t.description}:id`),i);let a=p(t,null);if(!a){if(!n)return a;throw Error(`[Vuetify] Could not find useGroup injection with symbol ${t.description}`)}let o=T(()=>e.value),s=_(()=>!!(a.disabled.value||e.disabled));function c(){a?.register({id:i,value:o,disabled:s},r)}function l(){a?.unregister(i)}c(),b(()=>l());let d=_(()=>a.isSelected(i)),m=_(()=>a.items.value[0].id===i),g=_(()=>a.items.value[a.items.value.length-1].id===i),v=_(()=>d.value&&[a.selectedClass.value,e.selectedClass]);return f(d,e=>{r.emit(`group:selected`,{value:e})},{flush:`sync`}),{id:i,isSelected:d,isFirst:m,isLast:g,toggle:()=>a.select(i,!d.value),select:e=>a.select(i,e),selectedClass:v,value:o,disabled:s,group:a,register:c,unregister:l}}function P(r,a){let o=!1,s=v([]),l=D(r,`modelValue`,[],e=>d(e)?[]:I(s,i(e)?[null]:c(e)),e=>{let t=L(s,e);return r.multiple?t:t[0]}),f=u(`useGroup`);function p(e,n){let r=e,i=Symbol.for(`${a.description}:id`),o=t(i,f?.vnode).indexOf(n);d(m(r.value))&&(r.value=o,r.useIndexAsValue=!0),o>-1?s.splice(o,0,r):s.push(r)}function h(e){if(o)return;_();let t=s.findIndex(t=>t.id===e);s.splice(t,1)}function _(){let e=s.find(e=>!e.disabled);e&&r.mandatory===`force`&&!l.value.length&&(l.value=[e.id])}g(()=>{_()}),b(()=>{o=!0}),S(()=>{for(let e=0;e<s.length;e++)s[e].useIndexAsValue&&(s[e].value=e)});function x(t,n){let i=s.find(e=>e.id===t);if(!(n&&i?.disabled)){if(r.multiple){let i=l.value.slice(),a=i.findIndex(e=>e===t),o=~a;if(n??=!o,o&&r.mandatory&&i.length<=1||!o&&e(r.max)&&i.length+1>r.max)return;a<0&&n?i.push(t):a>=0&&!n&&i.splice(a,1),l.value=i}else{let e=l.value.includes(t);if(r.mandatory&&e||!e&&!n)return;l.value=n??!e?[t]:[]}}}function C(e){if(r.multiple&&n(`This method is not supported when using "multiple" prop`),l.value.length){let t=l.value[0],n=s.findIndex(e=>e.id===t),r=(n+e)%s.length,i=s[r];for(;i.disabled&&r!==n;)r=(r+e)%s.length,i=s[r];if(i.disabled)return;l.value=[s[r].id]}else{let e=s.find(e=>!e.disabled);e&&(l.value=[e.id])}}let w={register:p,unregister:h,selected:l,select:x,disabled:T(()=>r.disabled),prev:()=>C(s.length-1),next:()=>C(1),isSelected:e=>l.value.includes(e),selectedClass:T(()=>r.selectedClass),items:T(()=>s),getItemIndex:e=>F(s,e)};return y(a,w),w}function F(e,t){let n=I(e,[t]);return n.length?e.findIndex(e=>e.id===n[0]):-1}function I(e,t){let n=[];return t.forEach(t=>{let r=e.find(e=>O(t,e.value)),i=e[t];d(r?.value)?i?.useIndexAsValue&&n.push(i.id):n.push(r.id)}),n}function L(e,t){let n=[];return t.forEach(t=>{let r=e.findIndex(e=>e.id===t);if(~r){let t=e[r];n.push(d(t.value)?r:t.value)}}),n}function R(){let e=u(`useRoute`);return _(()=>e?.proxy?.$route)}function z(){return u(`useRouter`)?.proxy?.$router}function B(e,t){let n=E(`RouterLink`),i=T(()=>!!(e.href||e.to)),a=_(()=>i?.value||s(t,`click`)||s(e,`click`));if(r(n)||!(`useLink`in n)){let t=T(()=>e.href);return{isLink:i,isRouterLink:T(()=>!1),isClickable:a,href:t,linkProps:v({href:t}),route:T(()=>void 0),navigate:T(()=>void 0)}}let o=n.useLink({to:T(()=>e.to||``),replace:T(()=>e.replace)}),c=_(()=>e.to?o:void 0),l=R(),u=_(()=>c.value?l.value&&l.value.matched.length===0&&l.value.name==null?c.value.isExactActive?.value??!1:e.exact?l.value?c.value.isExactActive?.value&&O(c.value.route.value.query,l.value.query):c.value.isExactActive?.value??!1:c.value.isActive?.value??!1:!1),d=_(()=>e.to?c.value?.route.value.href:e.href);return{isLink:i,isRouterLink:T(()=>!!e.to),isClickable:a,isActive:u,route:T(()=>c.value?.route.value),navigate:T(()=>c.value?.navigate),href:d,linkProps:v({href:d,"aria-current":T(()=>u.value?`page`:void 0),"aria-disabled":T(()=>e.disabled&&i.value?`true`:void 0),tabindex:T(()=>e.disabled&&i.value?`-1`:void 0)})}}var V=o({href:String,replace:Boolean,to:[String,Object],exact:Boolean},`router`),H=!1;function U(e,t){let n=!1,r=!1,i,a;l&&e?.beforeEach&&(C(()=>{r||(window.addEventListener(`popstate`,o),i=e.beforeEach(()=>H?n?t():void 0:(H=!0,new Promise(e=>{setTimeout(()=>e(n?t():void 0))}))),a=e?.afterEach(()=>{H=!1}))}),x(()=>{r=!0,window.removeEventListener(`popstate`,o),i?.(),a?.()}));function o(e){e.state?.replaced||(n=!0,setTimeout(()=>n=!1))}}export{M as a,N as c,z as i,k as l,U as n,j as o,B as r,P as s,V as t,A as u};
1
+ import{Ft as e,H as t,Kt as n,Lt as r,Nt as i,Pt as a,S as o,X as s,bt as c,xt as l,y as u,zt as d}from"./CPAF2hi7.js";import{Ht as f,J as p,On as m,Pt as h,ct as g,g as _,gn as v,gt as y,it as b,pn as x,pt as S,tt as C,un as w,wn as T,wt as E}from"./DZo3dYLJ.js";import{s as D}from"./CTHeqfU5.js";import{n as O}from"./Dnv1kjao.js";var k=o({elevation:{type:[Number,String],validator:e=>parseInt(e)>=0},hoverElevation:{type:[Number,String],validator:e=>parseInt(e)>=0}},`elevation`);function A(e){return{elevationClasses:T(()=>{let t=w(e)?e.value:e.elevation,n=w(e)?null:e.hoverElevation;return[...a(t)?[]:[`elevation-${parseInt(t)}`],...a(n)?[]:[`hover-elevation-${parseInt(n)}`]]})}}var j=o({modelValue:{type:null,default:void 0},multiple:Boolean,mandatory:[Boolean,String],max:Number,selectedClass:String,disabled:Boolean},`group`),M=o({value:null,disabled:Boolean,selectedClass:String},`group-item`);function N(e,t,n=!0){let r=u(`useGroupItem`);if(!r)throw Error(`[Vuetify] useGroupItem composable must be used inside a component setup function`);let i=h();y(Symbol.for(`${t.description}:id`),i);let a=p(t,null);if(!a){if(!n)return a;throw Error(`[Vuetify] Could not find useGroup injection with symbol ${t.description}`)}let o=T(()=>e.value),s=_(()=>!!(a.disabled.value||e.disabled));function c(){a?.register({id:i,value:o,disabled:s},r)}function l(){a?.unregister(i)}c(),b(()=>l());let d=_(()=>a.isSelected(i)),m=_(()=>a.items.value[0].id===i),g=_(()=>a.items.value[a.items.value.length-1].id===i),v=_(()=>d.value&&[a.selectedClass.value,e.selectedClass]);return f(d,e=>{r.emit(`group:selected`,{value:e})},{flush:`sync`}),{id:i,isSelected:d,isFirst:m,isLast:g,toggle:()=>a.select(i,!d.value),select:e=>a.select(i,e),selectedClass:v,value:o,disabled:s,group:a,register:c,unregister:l}}function P(r,a){let o=!1,s=v([]),l=D(r,`modelValue`,[],e=>d(e)?[]:I(s,i(e)?[null]:c(e)),e=>{let t=L(s,e);return r.multiple?t:t[0]}),f=u(`useGroup`);function p(e,n){let r=e,i=Symbol.for(`${a.description}:id`),o=t(i,f?.vnode).indexOf(n);d(m(r.value))&&(r.value=o,r.useIndexAsValue=!0),o>-1?s.splice(o,0,r):s.push(r)}function h(e){if(o)return;_();let t=s.findIndex(t=>t.id===e);s.splice(t,1)}function _(){let e=s.find(e=>!e.disabled);e&&r.mandatory===`force`&&!l.value.length&&(l.value=[e.id])}g(()=>{_()}),b(()=>{o=!0}),S(()=>{for(let e=0;e<s.length;e++)s[e].useIndexAsValue&&(s[e].value=e)});function x(t,n){let i=s.find(e=>e.id===t);if(!(n&&i?.disabled)){if(r.multiple){let i=l.value.slice(),a=i.findIndex(e=>e===t),o=~a;if(n??=!o,o&&r.mandatory&&i.length<=1||!o&&e(r.max)&&i.length+1>r.max)return;a<0&&n?i.push(t):a>=0&&!n&&i.splice(a,1),l.value=i}else{let e=l.value.includes(t);if(r.mandatory&&e||!e&&!n)return;l.value=n??!e?[t]:[]}}}function C(e){if(r.multiple&&n(`This method is not supported when using "multiple" prop`),l.value.length){let t=l.value[0],n=s.findIndex(e=>e.id===t),r=(n+e)%s.length,i=s[r];for(;i.disabled&&r!==n;)r=(r+e)%s.length,i=s[r];if(i.disabled)return;l.value=[s[r].id]}else{let e=s.find(e=>!e.disabled);e&&(l.value=[e.id])}}let w={register:p,unregister:h,selected:l,select:x,disabled:T(()=>r.disabled),prev:()=>C(s.length-1),next:()=>C(1),isSelected:e=>l.value.includes(e),selectedClass:T(()=>r.selectedClass),items:T(()=>s),getItemIndex:e=>F(s,e)};return y(a,w),w}function F(e,t){let n=I(e,[t]);return n.length?e.findIndex(e=>e.id===n[0]):-1}function I(e,t){let n=[];return t.forEach(t=>{let r=e.find(e=>O(t,e.value)),i=e[t];d(r?.value)?i?.useIndexAsValue&&n.push(i.id):n.push(r.id)}),n}function L(e,t){let n=[];return t.forEach(t=>{let r=e.findIndex(e=>e.id===t);if(~r){let t=e[r];n.push(d(t.value)?r:t.value)}}),n}function R(){let e=u(`useRoute`);return _(()=>e?.proxy?.$route)}function z(){return u(`useRouter`)?.proxy?.$router}function B(e,t){let n=E(`RouterLink`),i=T(()=>!!(e.href||e.to)),a=_(()=>i?.value||s(t,`click`)||s(e,`click`));if(r(n)||!(`useLink`in n)){let t=T(()=>e.href);return{isLink:i,isRouterLink:T(()=>!1),isClickable:a,href:t,linkProps:v({href:t}),route:T(()=>void 0),navigate:T(()=>void 0)}}let o=n.useLink({to:T(()=>e.to||``),replace:T(()=>e.replace)}),c=_(()=>e.to?o:void 0),l=R(),u=_(()=>c.value?l.value&&l.value.matched.length===0&&l.value.name==null?c.value.isExactActive?.value??!1:e.exact?l.value?c.value.isExactActive?.value&&O(c.value.route.value.query,l.value.query):c.value.isExactActive?.value??!1:c.value.isActive?.value??!1:!1),d=_(()=>e.to?c.value?.route.value.href:e.href);return{isLink:i,isRouterLink:T(()=>!!e.to),isClickable:a,isActive:u,route:T(()=>c.value?.route.value),navigate:T(()=>c.value?.navigate),href:d,linkProps:v({href:d,"aria-current":T(()=>u.value?`page`:void 0),"aria-disabled":T(()=>e.disabled&&i.value?`true`:void 0),tabindex:T(()=>e.disabled&&i.value?`-1`:void 0)})}}var V=o({href:String,replace:Boolean,to:[String,Object],exact:Boolean},`router`),H=!1;function U(e,t){let n=!1,r=!1,i,a;l&&e?.beforeEach&&(C(()=>{r||(window.addEventListener(`popstate`,o),i=e.beforeEach(()=>H?n?t():void 0:(H=!0,new Promise(e=>{setTimeout(()=>e(n?t():void 0))}))),a=e?.afterEach(()=>{H=!1}))}),x(()=>{r=!0,window.removeEventListener(`popstate`,o),i?.(),a?.()}));function o(e){e.state?.replaced||(n=!0,setTimeout(()=>n=!1))}}export{M as a,N as c,z as i,k as l,U as n,j as o,B as r,P as s,V as t,A as u};
@@ -1,2 +1,2 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./CS2rsiMP.js","./DVRkMeDb.js","./DNU7W_nS.js","./D1QDGpmd.js","./Cx1ACnK3.js","./cUv4pc51.js","./BExVV8sb.js","./csgWgQhm.js","./DnB5yhNN.js","./CHjg6j9X.js","./Cnk6TpKh.js","./D8BLAufX.js","./BcKdSO1s.js","./Cn3Lx2PZ.js","./CmQ01dNA.js","./DunIFW85.js","./Cqn_GvXb.js","./DjH3KClu.js","./O2KY3yNo.js","./BKlyjday.js","./DmydL5Ff.js","./DAFT7J9G.js","./BD3vrpfE.js","./C3gWfuE3.js","./VIcon.DTxGzRyY.css","./VInput.BzI_hIki.css","./VProgressLinear.QSXru69E.css","./autofocus.Dpzbb23r.css","./Cy0OG4l8.js","./CLwRxnOz.js","./FiVpZbG7.js","./DeE2hFUW.js","./BZGd3Us3.js","./CGkUvIUb.js","./B6kFBEhx.js","./B_BN_HbD.js","./R-E-AGli.js","./BQj8iTaT.js","./BiSoCgYL.js","./pevRwwGL.js","./BW3xJdEx.js","./GcJARbV4.js","./BDLrTt6l.js","./DDiJSP0v.js","./DUh5YbE0.js","./CBuI8G-0.js","./XP_NhcAc.js","./CRC87riD.js","./BsuNB234.js","./DMEspESN.js","./CMALc53B.js","./CNtSjZb9.js","./Neo3srpw.js","./B4CNYLGX.js","./B9haHkUY.js","./BQJFH4zD.js","./B8eHDL1x.js","./DDEIDAa0.js","./BMH6XD5t.js","./BG8sqKld.js","./C_ix0rE_.js","./DLiDtIjt.js","./VImg.DG7aP0kv.css","./ripple.BF-Re9AG.css","./VAvatar.DDw3_L_i.css","./VSlideGroup.BEHBZMHn.css","./VChip.DriYwOm3.css","./VFileInput.DPM4qn3r.css","./VDivider.DvkP_iX7.css","./VList.DLBes6Xg.css","./VOverlay.DObTzQ9r.css","./VMenu.DCy1EQlK.css","./VSelectionControl.B4WFlrqD.css","./VSelect.4i15hLH6.css","./VProgressCircular.CHg-6LCa.css","./entry.BW8eGVIg.css","./C9s0nkkI.js","./tVajdWsj.js","./DaaIbCq6.js","./CrKjUxoH.js","./BMxCKVli.js","./VSpacer.DfbUir7X.css","./XUnzKVDP.js","./RichText.CldIBWau.css","./C5YhaRPN.js","./BDNMzG2s.js","./BiGgsuAF.js","./KeyValue.DF5lHbm2.css","./CxIMB56s.js","./Number.-SYS74l4.css","./B8kpdvvf.js","./CElnT3Ea.js","./BESQ-0Gs.js","./Cdn0sqgm.js","./DaV1Nwi1.js","./DPkCdlhJ.js","./DA90LVQc.js","./CPlriU47.js","./CqS2QE9K.js","./VRow.B-PxQg6o.css","./Repeater.CLIPcHKX.css"])))=>i.map(i=>d[i]);
2
- import{O as e}from"./DVRkMeDb.js";import{t}from"./B8eHDL1x.js";import{r as n}from"./BDLrTt6l.js";import{n as r,r as i}from"./BqCs26gd.js";import{Ht as a,Pt as o}from"#entry";var s={string:e(()=>a(()=>import(`./CS2rsiMP.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27]),import.meta.url)),email:e(()=>a(()=>import(`./CS2rsiMP.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27]),import.meta.url)),url:e(()=>a(()=>import(`./CS2rsiMP.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27]),import.meta.url)),slug:e(()=>a(()=>import(`./CS2rsiMP.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27]),import.meta.url)),password:e(()=>a(()=>import(`./CS2rsiMP.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27]),import.meta.url)),color:e(()=>a(()=>import(`./CS2rsiMP.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27]),import.meta.url)),file:e(()=>a(()=>import(`./Cy0OG4l8.js`),__vite__mapDeps([28,1,29,3,4,6,13,14,8,2,5,7,9,10,11,12,15,16,17,18,19,20,21,22,23,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,24,25,26,27,63,64,65,66,67,68,69,70,71,72,73,74,75]),import.meta.url)),image:e(()=>a(()=>import(`./Cy0OG4l8.js`),__vite__mapDeps([28,1,29,3,4,6,13,14,8,2,5,7,9,10,11,12,15,16,17,18,19,20,21,22,23,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,24,25,26,27,63,64,65,66,67,68,69,70,71,72,73,74,75]),import.meta.url)),text:e(()=>a(()=>import(`./C9s0nkkI.js`),__vite__mapDeps([76,1,3,4,38,39,40,41,42,43,6,44,5,7,37,22,32,45,46,47,10,11,12,13,14,33,34,48,35,29,8,49,50,18,51,19,16,52,53,9,15,31,36,2,17,20,21,23,54,55,56,57,58,63,24,62,64,68,69,70,71,25,72,65,66,26,27,73,74,75]),import.meta.url)),markdown:e(()=>a(()=>import(`./tVajdWsj.js`),__vite__mapDeps([77,1,4,50,3,5,6,7,18,51,37,32,19,45,13,14,34,12,16,9,10,11,15,49,2,8,17,20,21,22,23,78,47,38,39,40,41,42,43,44,46,33,48,35,29,52,53,31,36,54,55,56,57,58,79,80,63,70,71,24,25,68,26,27,81,62,64,69,72,65,66,73,74,75]),import.meta.url)),richtext:e(()=>a(()=>import(`./XUnzKVDP.js`),__vite__mapDeps([82,1,4,50,3,5,6,7,18,51,37,32,19,45,13,14,34,12,16,9,10,11,15,49,2,8,17,20,21,22,23,78,47,38,39,40,41,42,43,44,46,33,48,35,29,52,53,31,36,54,55,56,57,58,59,60,79,80,63,70,71,24,25,68,26,27,81,62,64,69,72,65,66,73,74,75,83]),import.meta.url)),json:e(()=>a(()=>import(`./C9s0nkkI.js`),__vite__mapDeps([76,1,3,4,38,39,40,41,42,43,6,44,5,7,37,22,32,45,46,47,10,11,12,13,14,33,34,48,35,29,8,49,50,18,51,19,16,52,53,9,15,31,36,2,17,20,21,23,54,55,56,57,58,63,24,62,64,68,69,70,71,25,72,65,66,26,27,73,74,75]),import.meta.url)),keyValue:e(()=>a(()=>import(`./C5YhaRPN.js`),__vite__mapDeps([84,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,38,39,40,41,42,43,44,37,32,45,46,47,33,34,48,35,29,49,50,51,52,53,31,36,54,55,56,57,58,85,86,24,25,26,27,63,62,64,68,69,70,71,72,65,66,73,74,75,87]),import.meta.url)),number:e(()=>a(()=>import(`./CxIMB56s.js`),__vite__mapDeps([88,3,1,4,5,6,7,12,16,15,49,2,8,9,10,11,13,14,17,18,19,20,21,22,23,38,39,40,41,42,43,44,37,32,45,46,47,33,34,48,35,29,50,51,52,53,31,36,54,55,56,57,58,86,68,24,25,26,27,63,62,64,69,70,71,72,65,66,73,74,75,89]),import.meta.url)),money:e(()=>a(()=>import(`./B8kpdvvf.js`),__vite__mapDeps([90,1,57,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27]),import.meta.url)),boolean:e(()=>a(()=>import(`./CElnT3Ea.js`),__vite__mapDeps([91,1,3,4,38,39,40,41,42,43,6,44,5,7,37,22,32,45,46,47,10,11,12,13,14,33,34,48,35,29,8,49,50,18,51,19,16,52,53,9,15,31,36,2,17,20,21,23,54,55,56,57,58,63,24,62,64,68,69,70,71,25,72,65,66,26,27,73,74,75]),import.meta.url)),enum:e(()=>a(()=>import(`./BESQ-0Gs.js`),__vite__mapDeps([92,1,44,3,4,6,5,7,37,22,32,45,46,47,10,11,12,13,14,33,34,48,35,29,8,49,50,18,51,19,16,52,53,9,15,31,36,2,17,20,21,23,63,24,62,64,68,69,70,71,25,72,65,66,26,27,73]),import.meta.url)),currency:e(()=>a(()=>import(`./Cdn0sqgm.js`),__vite__mapDeps([93,1,57,3,4,38,39,40,41,42,43,6,44,5,7,37,22,32,45,46,47,10,11,12,13,14,33,34,48,35,29,8,49,50,18,51,19,16,52,53,9,15,31,36,2,17,20,21,23,54,55,56,58,63,24,62,64,68,69,70,71,25,72,65,66,26,27,73,74,75]),import.meta.url)),date:e(()=>a(()=>import(`./DaV1Nwi1.js`),__vite__mapDeps([94,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27]),import.meta.url)),datetime:e(()=>a(()=>import(`./DaV1Nwi1.js`),__vite__mapDeps([94,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27]),import.meta.url)),belongsTo:e(()=>a(()=>import(`./DPkCdlhJ.js`),__vite__mapDeps([95,1,46,3,4,6,5,7,47,32,10,11,12,13,14,33,34,48,35,29,8,49,31,36,37,22,19,38,39,40,41,42,43,44,45,50,18,51,16,52,53,9,15,2,17,20,21,23,54,55,56,57,58,59,60,96,63,24,62,64,68,69,65,66,70,71,25,72,26,27,73,74,75]),import.meta.url)),manyToMany:e(()=>a(()=>import(`./DPkCdlhJ.js`),__vite__mapDeps([95,1,46,3,4,6,5,7,47,32,10,11,12,13,14,33,34,48,35,29,8,49,31,36,37,22,19,38,39,40,41,42,43,44,45,50,18,51,16,52,53,9,15,2,17,20,21,23,54,55,56,57,58,59,60,96,63,24,62,64,68,69,65,66,70,71,25,72,26,27,73,74,75]),import.meta.url)),hasMany:e(()=>a(()=>import(`./CPlriU47.js`),__vite__mapDeps([97,1,98,3,4,37,6,12,78,47,38,39,40,41,42,43,44,5,7,22,32,45,46,10,11,13,14,33,34,48,35,29,8,49,50,18,51,19,16,52,53,9,15,31,36,2,17,20,21,23,54,55,56,57,58,85,99,81,63,24,62,64,68,69,70,71,25,72,65,66,26,27,73,74,75,100]),import.meta.url))};function c(e,t){return e.type===`hasMany`?!!e.repeater&&e.views.includes(t):!e.readonly&&e.views.includes(t)&&![`id`,`hasOne`].includes(e.type)}function l(){let e=t();function n(t){let n=e.vector.inputs;if(t.component&&n[t.component])return n[t.component];let r=o().inputs;return t.component&&r.has(t.component)?r.get(t.component):n[t.type]??s[t.type]??s.string}return{inputFor:n,editable:c}}var u=e=>e==null||e===``||Array.isArray(e)&&e.length===0;function d(e,t,r){let i=[];(t===`create`&&e.nullable===!1&&![`manyToMany`,`hasMany`,`hasOne`,`boolean`].includes(e.type)||r?.required===!0)&&i.push(e=>!u(e)||n(`common.required`));for(let t of e.rules){let e=f(t);e&&i.push(e)}return i}function f(e){let t=e.constraint.split(`\\`).pop(),[a,o]=e.args;switch(t){case`NotBlank`:return e=>(typeof e==`string`?e.trim()!==``:!u(e))||n(`common.required`);case`MaxLength`:return e=>u(e)||typeof e!=`string`||[...e].length<=Number(a)||n(`fields.rules.maxLength`,{max:String(a)});case`MinLength`:return e=>u(e)||typeof e!=`string`||[...e].length>=Number(a)||n(`fields.rules.minLength`,{min:String(a)});case`Email`:return e=>u(e)||typeof e==`string`&&r(e)||n(`fields.rules.email`);case`Url`:case`WebUrl`:return e=>u(e)||typeof e==`string`&&/^https?:\/\/\S+$/i.test(e)||n(`fields.rules.url`);case`GreaterThan`:return e=>u(e)||Number(e)>Number(a)||n(`fields.rules.greaterThan`,{limit:String(a)});case`GreaterThanOrEqual`:return e=>u(e)||Number(e)>=Number(a)||n(`fields.rules.greaterThanOrEqual`,{limit:String(a)});case`LessThan`:return e=>u(e)||Number(e)<Number(a)||n(`fields.rules.lessThan`,{limit:String(a)});case`LessThanOrEqual`:return e=>u(e)||Number(e)<=Number(a)||n(`fields.rules.lessThanOrEqual`,{limit:String(a)});case`Regex`:return e=>u(e)||typeof e!=`string`||i(String(a)).test(e)||(typeof o==`string`?o:n(`fields.rules.invalidFormat`));case`In`:return e=>u(e)||Array.isArray(a)&&a.includes(e)||n(`fields.rules.notAllowed`);default:return null}}function p(e,t){let n=e.conditions;return n?{visible:m(n.visible,t),required:n.required.length>0&&m(n.required,t),disabled:n.disabled.length>0&&m(n.disabled,t)}:{visible:!0,required:!1,disabled:!1}}function m(e,t){return e.every(e=>{let n=h(t[e.field]),r=Array.isArray(e.value)?e.value.map(h):[h(e.value)];switch(e.op){case`eq`:return n===h(e.value);case`ne`:return n!==h(e.value);case`in`:return r.includes(n);case`nin`:return!r.includes(n);case`null`:return n===null;case`nnull`:return n!==null;default:return!1}})}function h(e){return e&&typeof e==`object`&&`id`in e&&(e=e.id),e==null||e===``?null:typeof e==`boolean`?e?`true`:`false`:typeof e==`number`||typeof e==`string`?String(e):null}function g(e){let t=e;return typeof t==`object`&&!!t&&typeof t.message==`string`&&Array.isArray(t.path)&&t.path.every(e=>typeof e==`string`||Number.isInteger(e))}function _(e){return Array.isArray(e)?e.filter(g):[]}export{l as i,p as n,d as r,_ as t};
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./Ge5l3uM8.js","./DZo3dYLJ.js","./ChHm6L68.js","./CPAF2hi7.js","./51OWHj8c.js","./CTHeqfU5.js","./BQnpCLjt.js","./csgWgQhm.js","./BIv9Nyve.js","./9MD1hlLT.js","./D-rB2fWZ.js","./bmIlMXFn.js","./E-mWtnN5.js","./DBgKGXIj.js","./CQQ-wIWC.js","./DQ1z3A04.js","./COHV16dX.js","./CCr9dqOM.js","./BVjSh6vC.js","./BKlyjday.js","./B_fQu_h2.js","./BzKz2oL1.js","./rSy2G_Qb.js","./MAzsrRZz.js","./VIcon.DTxGzRyY.css","./VInput.BzI_hIki.css","./VProgressLinear.QSXru69E.css","./autofocus.Dpzbb23r.css","./gtFV1dAC.js","./B_DG2saj.js","./DhECW-Pr.js","./2c1vZ90H.js","./Dnv1kjao.js","./rSRjHK_a.js","./B4joN-Do.js","./Lj7y5-JX.js","./C_2GgX80.js","./D7DEE4gN.js","./BBBFJ6ov.js","./BiIirvgR.js","./BW3xJdEx.js","./go_nGSOr.js","./BDLrTt6l.js","./CmQyigb3.js","./ORpfF6Nb.js","./OMRlJR6k.js","./Dg_tXu9P.js","./CIQLz04l.js","./BHcm7bNA.js","./B9psIVnP.js","./iEEDTq6e.js","./DVIiT5EL.js","./BKpxsGPP.js","./DvnG2kZK.js","./Ci1-hOA9.js","./CSzw4ySZ.js","./DLzA6Iec.js","./DDEIDAa0.js","./1aNtrH5X.js","./CEPKZq1d.js","./C_ix0rE_.js","./ATlmwMh0.js","./VImg.DG7aP0kv.css","./ripple.BF-Re9AG.css","./VAvatar.DDw3_L_i.css","./VSlideGroup.BEHBZMHn.css","./VChip.DriYwOm3.css","./VFileInput.DPM4qn3r.css","./VDivider.DvkP_iX7.css","./VList.DLBes6Xg.css","./VOverlay.DObTzQ9r.css","./VMenu.DCy1EQlK.css","./VSelectionControl.B4WFlrqD.css","./VSelect.4i15hLH6.css","./VProgressCircular.CHg-6LCa.css","./entry.BW8eGVIg.css","./B0GD7QJy.js","./BxVisRhD.js","./DI2U4Yky.js","./lbl667wH.js","./CKHEFuM2.js","./VSpacer.DfbUir7X.css","./B09ukFkq.js","./RichText.CldIBWau.css","./C32HLL_3.js","./BDNMzG2s.js","./BiGgsuAF.js","./KeyValue.DF5lHbm2.css","./CXxZ_oTv.js","./Number.-SYS74l4.css","./DFsV0Sjv.js","./qpVO-NAo.js","./Bt_KgVrY.js","./DzOxWOFX.js","./RChVezE9.js","./D--ynbM1.js","./BFZ46Edz.js","./DurSV7Ue.js","./DR4qylKa.js","./VRow.B-PxQg6o.css","./Repeater.CLIPcHKX.css"])))=>i.map(i=>d[i]);
2
+ import{O as e}from"./DZo3dYLJ.js";import{t}from"./DLzA6Iec.js";import{r as n}from"./BDLrTt6l.js";import{n as r,r as i}from"./CRQyQuGt.js";import{It as a,Wt as o}from"#entry";var s={string:e(()=>o(()=>import(`./Ge5l3uM8.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27]),import.meta.url)),email:e(()=>o(()=>import(`./Ge5l3uM8.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27]),import.meta.url)),url:e(()=>o(()=>import(`./Ge5l3uM8.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27]),import.meta.url)),slug:e(()=>o(()=>import(`./Ge5l3uM8.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27]),import.meta.url)),password:e(()=>o(()=>import(`./Ge5l3uM8.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27]),import.meta.url)),color:e(()=>o(()=>import(`./Ge5l3uM8.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27]),import.meta.url)),file:e(()=>o(()=>import(`./gtFV1dAC.js`),__vite__mapDeps([28,1,29,3,4,6,13,14,8,2,5,7,9,10,11,12,15,16,17,18,19,20,21,22,23,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,24,25,26,27,63,64,65,66,67,68,69,70,71,72,73,74,75]),import.meta.url)),image:e(()=>o(()=>import(`./gtFV1dAC.js`),__vite__mapDeps([28,1,29,3,4,6,13,14,8,2,5,7,9,10,11,12,15,16,17,18,19,20,21,22,23,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,24,25,26,27,63,64,65,66,67,68,69,70,71,72,73,74,75]),import.meta.url)),text:e(()=>o(()=>import(`./B0GD7QJy.js`),__vite__mapDeps([76,1,3,4,38,39,40,41,42,43,6,44,5,7,37,22,32,45,46,47,10,11,12,13,14,33,34,48,35,29,8,49,50,18,51,19,16,52,53,9,15,31,36,2,17,20,21,23,54,55,56,57,58,63,24,62,64,68,69,70,71,25,72,65,66,26,27,73,74,75]),import.meta.url)),markdown:e(()=>o(()=>import(`./BxVisRhD.js`),__vite__mapDeps([77,1,4,50,3,5,6,7,18,51,37,32,19,45,13,14,34,12,16,9,10,11,15,49,2,8,17,20,21,22,23,78,47,38,39,40,41,42,43,44,46,33,48,35,29,52,53,31,36,54,55,56,57,58,79,80,63,70,71,24,25,68,26,27,81,62,64,69,72,65,66,73,74,75]),import.meta.url)),richtext:e(()=>o(()=>import(`./B09ukFkq.js`),__vite__mapDeps([82,1,4,50,3,5,6,7,18,51,37,32,19,45,13,14,34,12,16,9,10,11,15,49,2,8,17,20,21,22,23,78,47,38,39,40,41,42,43,44,46,33,48,35,29,52,53,31,36,54,55,56,57,58,59,60,79,80,63,70,71,24,25,68,26,27,81,62,64,69,72,65,66,73,74,75,83]),import.meta.url)),json:e(()=>o(()=>import(`./B0GD7QJy.js`),__vite__mapDeps([76,1,3,4,38,39,40,41,42,43,6,44,5,7,37,22,32,45,46,47,10,11,12,13,14,33,34,48,35,29,8,49,50,18,51,19,16,52,53,9,15,31,36,2,17,20,21,23,54,55,56,57,58,63,24,62,64,68,69,70,71,25,72,65,66,26,27,73,74,75]),import.meta.url)),keyValue:e(()=>o(()=>import(`./C32HLL_3.js`),__vite__mapDeps([84,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,38,39,40,41,42,43,44,37,32,45,46,47,33,34,48,35,29,49,50,51,52,53,31,36,54,55,56,57,58,85,86,24,25,26,27,63,62,64,68,69,70,71,72,65,66,73,74,75,87]),import.meta.url)),number:e(()=>o(()=>import(`./CXxZ_oTv.js`),__vite__mapDeps([88,3,1,4,5,6,7,12,16,15,49,2,8,9,10,11,13,14,17,18,19,20,21,22,23,38,39,40,41,42,43,44,37,32,45,46,47,33,34,48,35,29,50,51,52,53,31,36,54,55,56,57,58,86,68,24,25,26,27,63,62,64,69,70,71,72,65,66,73,74,75,89]),import.meta.url)),money:e(()=>o(()=>import(`./DFsV0Sjv.js`),__vite__mapDeps([90,1,57,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27]),import.meta.url)),boolean:e(()=>o(()=>import(`./qpVO-NAo.js`),__vite__mapDeps([91,1,3,4,38,39,40,41,42,43,6,44,5,7,37,22,32,45,46,47,10,11,12,13,14,33,34,48,35,29,8,49,50,18,51,19,16,52,53,9,15,31,36,2,17,20,21,23,54,55,56,57,58,63,24,62,64,68,69,70,71,25,72,65,66,26,27,73,74,75]),import.meta.url)),enum:e(()=>o(()=>import(`./Bt_KgVrY.js`),__vite__mapDeps([92,1,44,3,4,6,5,7,37,22,32,45,46,47,10,11,12,13,14,33,34,48,35,29,8,49,50,18,51,19,16,52,53,9,15,31,36,2,17,20,21,23,63,24,62,64,68,69,70,71,25,72,65,66,26,27,73]),import.meta.url)),currency:e(()=>o(()=>import(`./DzOxWOFX.js`),__vite__mapDeps([93,1,57,3,4,38,39,40,41,42,43,6,44,5,7,37,22,32,45,46,47,10,11,12,13,14,33,34,48,35,29,8,49,50,18,51,19,16,52,53,9,15,31,36,2,17,20,21,23,54,55,56,58,63,24,62,64,68,69,70,71,25,72,65,66,26,27,73,74,75]),import.meta.url)),date:e(()=>o(()=>import(`./RChVezE9.js`),__vite__mapDeps([94,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27]),import.meta.url)),datetime:e(()=>o(()=>import(`./RChVezE9.js`),__vite__mapDeps([94,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27]),import.meta.url)),belongsTo:e(()=>o(()=>import(`./D--ynbM1.js`),__vite__mapDeps([95,1,46,3,4,6,5,7,47,32,10,11,12,13,14,33,34,48,35,29,8,49,31,36,37,22,19,38,39,40,41,42,43,44,45,50,18,51,16,52,53,9,15,2,17,20,21,23,54,55,56,57,58,59,60,96,63,24,62,64,68,69,65,66,70,71,25,72,26,27,73,74,75]),import.meta.url)),manyToMany:e(()=>o(()=>import(`./D--ynbM1.js`),__vite__mapDeps([95,1,46,3,4,6,5,7,47,32,10,11,12,13,14,33,34,48,35,29,8,49,31,36,37,22,19,38,39,40,41,42,43,44,45,50,18,51,16,52,53,9,15,2,17,20,21,23,54,55,56,57,58,59,60,96,63,24,62,64,68,69,65,66,70,71,25,72,26,27,73,74,75]),import.meta.url)),hasMany:e(()=>o(()=>import(`./DurSV7Ue.js`),__vite__mapDeps([97,1,98,3,4,37,6,12,78,47,38,39,40,41,42,43,44,5,7,22,32,45,46,10,11,13,14,33,34,48,35,29,8,49,50,18,51,19,16,52,53,9,15,31,36,2,17,20,21,23,54,55,56,57,58,85,99,81,63,24,62,64,68,69,70,71,25,72,65,66,26,27,73,74,75,100]),import.meta.url))};function c(e,t){return e.type===`hasMany`?!!e.repeater&&e.views.includes(t):!e.readonly&&e.views.includes(t)&&![`id`,`hasOne`].includes(e.type)}function l(){let e=t();function n(t){let n=e.vector.inputs;if(t.component&&n[t.component])return n[t.component];let r=a().inputs;return t.component&&r.has(t.component)?r.get(t.component):n[t.type]??s[t.type]??s.string}return{inputFor:n,editable:c}}var u=e=>e==null||e===``||Array.isArray(e)&&e.length===0;function d(e,t,r){let i=[];(t===`create`&&e.nullable===!1&&![`manyToMany`,`hasMany`,`hasOne`,`boolean`].includes(e.type)||r?.required===!0)&&i.push(e=>!u(e)||n(`common.required`));for(let t of e.rules){let e=f(t);e&&i.push(e)}return i}function f(e){let t=e.constraint.split(`\\`).pop(),[a,o]=e.args;switch(t){case`NotBlank`:return e=>(typeof e==`string`?e.trim()!==``:!u(e))||n(`common.required`);case`MaxLength`:return e=>u(e)||typeof e!=`string`||[...e].length<=Number(a)||n(`fields.rules.maxLength`,{max:String(a)});case`MinLength`:return e=>u(e)||typeof e!=`string`||[...e].length>=Number(a)||n(`fields.rules.minLength`,{min:String(a)});case`Email`:return e=>u(e)||typeof e==`string`&&r(e)||n(`fields.rules.email`);case`Url`:case`WebUrl`:return e=>u(e)||typeof e==`string`&&/^https?:\/\/\S+$/i.test(e)||n(`fields.rules.url`);case`GreaterThan`:return e=>u(e)||Number(e)>Number(a)||n(`fields.rules.greaterThan`,{limit:String(a)});case`GreaterThanOrEqual`:return e=>u(e)||Number(e)>=Number(a)||n(`fields.rules.greaterThanOrEqual`,{limit:String(a)});case`LessThan`:return e=>u(e)||Number(e)<Number(a)||n(`fields.rules.lessThan`,{limit:String(a)});case`LessThanOrEqual`:return e=>u(e)||Number(e)<=Number(a)||n(`fields.rules.lessThanOrEqual`,{limit:String(a)});case`Regex`:return e=>u(e)||typeof e!=`string`||i(String(a)).test(e)||(typeof o==`string`?o:n(`fields.rules.invalidFormat`));case`In`:return e=>u(e)||Array.isArray(a)&&a.includes(e)||n(`fields.rules.notAllowed`);default:return null}}function p(e,t){let n=e.conditions;return n?{visible:m(n.visible,t),required:n.required.length>0&&m(n.required,t),disabled:n.disabled.length>0&&m(n.disabled,t)}:{visible:!0,required:!1,disabled:!1}}function m(e,t){return e.every(e=>{let n=h(t[e.field]),r=Array.isArray(e.value)?e.value.map(h):[h(e.value)];switch(e.op){case`eq`:return n===h(e.value);case`ne`:return n!==h(e.value);case`in`:return r.includes(n);case`nin`:return!r.includes(n);case`null`:return n===null;case`nnull`:return n!==null;default:return!1}})}function h(e){return e&&typeof e==`object`&&`id`in e&&(e=e.id),e==null||e===``?null:typeof e==`boolean`?e?`true`:`false`:typeof e==`number`||typeof e==`string`?String(e):null}function g(e){let t=e;return typeof t==`object`&&!!t&&typeof t.message==`string`&&Array.isArray(t.path)&&t.path.every(e=>typeof e==`string`||Number.isInteger(e))}function _(e){return Array.isArray(e)?e.filter(g):[]}export{l as i,p as n,d as r,_ as t};
@@ -1 +1 @@
1
- import{N as e,S as t,c as n,p as r,r as i,s as a,u as o,x as s}from"./D1QDGpmd.js";import{Zn as c,_ as l,er as u,g as d,wn as f}from"./DVRkMeDb.js";var p=[`dotted`,`dashed`,`solid`,`double`],m=t({color:String,contentOffset:[Number,String,Array],gradient:Boolean,inset:Boolean,length:[Number,String],opacity:[Number,String],thickness:[Number,String],vertical:Boolean,variant:{type:String,default:`solid`,validator:e=>p.includes(e)},...s(),...a()},`VDivider`),h=r()({name:`VDivider`,props:m(),setup(t,{attrs:r,slots:a}){let{themeClasses:s}=n(t),{textColorClasses:p,textColorStyles:m}=i(()=>t.color),h=d(()=>{let n={};return t.length&&(n[t.vertical?`height`:`width`]=e(t.length)),t.thickness&&(n[t.vertical?`borderRightWidth`:`borderTopWidth`]=e(t.thickness)),n}),g=f(()=>{let n=Array.isArray(t.contentOffset)?t.contentOffset[0]:t.contentOffset,r=Array.isArray(t.contentOffset)?t.contentOffset[1]:0;return{marginBlock:t.vertical&&n?e(n):void 0,marginInline:!t.vertical&&n?e(n):void 0,transform:r?`translate${t.vertical?`X`:`Y`}(${e(r)})`:void 0}});return o(()=>{let e=r.role,n=!!a.default,i=l(`hr`,{class:c([{"v-divider":!0,"v-divider--gradient":t.gradient&&!a.default,"v-divider--inset":t.inset,"v-divider--vertical":t.vertical},s.value,p.value,t.class]),style:u([h.value,m.value,{"--v-border-opacity":t.opacity},{"border-style":t.variant},t.style]),"aria-orientation":!n&&!e?t.vertical?`vertical`:`horizontal`:void 0,role:n?void 0:e},null);return n?l(`div`,{class:c([`v-divider__wrapper`,{"v-divider__wrapper--gradient":t.gradient,"v-divider__wrapper--inset":t.inset,"v-divider__wrapper--vertical":t.vertical}])},[i,l(`div`,{class:`v-divider__content`,style:u(g.value)},[a.default()]),i]):i}),{}}});export{h as t};
1
+ import{N as e,S as t,c as n,p as r,r as i,s as a,u as o,x as s}from"./CPAF2hi7.js";import{Zn as c,_ as l,er as u,g as d,wn as f}from"./DZo3dYLJ.js";var p=[`dotted`,`dashed`,`solid`,`double`],m=t({color:String,contentOffset:[Number,String,Array],gradient:Boolean,inset:Boolean,length:[Number,String],opacity:[Number,String],thickness:[Number,String],vertical:Boolean,variant:{type:String,default:`solid`,validator:e=>p.includes(e)},...s(),...a()},`VDivider`),h=r()({name:`VDivider`,props:m(),setup(t,{attrs:r,slots:a}){let{themeClasses:s}=n(t),{textColorClasses:p,textColorStyles:m}=i(()=>t.color),h=d(()=>{let n={};return t.length&&(n[t.vertical?`height`:`width`]=e(t.length)),t.thickness&&(n[t.vertical?`borderRightWidth`:`borderTopWidth`]=e(t.thickness)),n}),g=f(()=>{let n=Array.isArray(t.contentOffset)?t.contentOffset[0]:t.contentOffset,r=Array.isArray(t.contentOffset)?t.contentOffset[1]:0;return{marginBlock:t.vertical&&n?e(n):void 0,marginInline:!t.vertical&&n?e(n):void 0,transform:r?`translate${t.vertical?`X`:`Y`}(${e(r)})`:void 0}});return o(()=>{let e=r.role,n=!!a.default,i=l(`hr`,{class:c([{"v-divider":!0,"v-divider--gradient":t.gradient&&!a.default,"v-divider--inset":t.inset,"v-divider--vertical":t.vertical},s.value,p.value,t.class]),style:u([h.value,m.value,{"--v-border-opacity":t.opacity},{"border-style":t.variant},t.style]),"aria-orientation":!n&&!e?t.vertical?`vertical`:`horizontal`:void 0,role:n?void 0:e},null);return n?l(`div`,{class:c([`v-divider__wrapper`,{"v-divider__wrapper--gradient":t.gradient,"v-divider__wrapper--inset":t.inset,"v-divider__wrapper--vertical":t.vertical}])},[i,l(`div`,{class:`v-divider__content`,style:u(g.value)},[a.default()]),i]):i}),{}}});export{h as t};
@@ -1 +1 @@
1
- import{E as e,On as t,b as n,g as r,k as i,mt as a,qt as o,tr as s,v as c,vn as l}from"./DVRkMeDb.js";import{w as u}from"./Cx1ACnK3.js";import{t as d}from"./DDiJSP0v.js";import{At as f,m as p,t as m}from"#entry";import{n as h}from"./BG8sqKld.js";var g={key:0,class:`text-disabled`},_=Object.assign(i({__name:`File`,props:{field:{},value:{},record:{},resource:{},context:{}},setup(i){let _=i,v=h(()=>_.resource.slug),y=d(),b=r(()=>typeof _.value==`string`&&_.value!==``?_.value:null),x=r(()=>b.value?.split(`/`).pop()??``),S=l(!1);async function C(){if(b.value){S.value=!0;try{await v.downloadFile(_.record.id,_.field.name,x.value)}catch(e){y.error(f(e))}finally{S.value=!1}}}let{t:w}=m();return(r,l)=>t(b)?(a(),c(p,{key:1,size:`small`,variant:`tonal`,"prepend-icon":`mdi-download`,loading:t(S),onClick:u(C,[`stop`])},{default:o(()=>[e(s(i.context===`show`?t(x):t(w)(`common.download`)),1)]),_:1},8,[`loading`])):(a(),n(`span`,g,s(t(w)(`common.none`)),1))}}),{__name:`VxCellFile`});export{_ as default};
1
+ import{E as e,On as t,b as n,g as r,k as i,mt as a,qt as o,tr as s,v as c,vn as l}from"./DZo3dYLJ.js";import{w as u}from"./51OWHj8c.js";import{t as d}from"./CmQyigb3.js";import{Mt as f,m as p,t as m}from"#entry";import{n as h}from"./CEPKZq1d.js";var g={key:0,class:`text-disabled`},_=Object.assign(i({__name:`File`,props:{field:{},value:{},record:{},resource:{},context:{}},setup(i){let _=i,v=h(()=>_.resource.slug),y=d(),b=r(()=>typeof _.value==`string`&&_.value!==``?_.value:null),x=r(()=>b.value?.split(`/`).pop()??``),S=l(!1);async function C(){if(b.value){S.value=!0;try{await v.downloadFile(_.record.id,_.field.name,x.value)}catch(e){y.error(f(e))}finally{S.value=!1}}}let{t:w}=m();return(r,l)=>t(b)?(a(),c(p,{key:1,size:`small`,variant:`tonal`,"prepend-icon":`mdi-download`,loading:t(S),onClick:u(C,[`stop`])},{default:o(()=>[e(s(i.context===`show`?t(x):t(w)(`common.download`)),1)]),_:1},8,[`loading`])):(a(),n(`span`,g,s(t(w)(`common.none`)),1))}}),{__name:`VxCellFile`});export{_ as default};
@@ -1 +1 @@
1
- import{H as e,L as t,an as n,gn as r,in as i,yn as a}from"./DVRkMeDb.js";var o=Error.captureStackTrace,s=class e extends Error{name;code;docs;fix;sources;data;get why(){return this.message}constructor(t,n=e){super(t.why,{cause:t.cause}),this.code=this.name=t.code,this.fix=t.fix,this.docs=t.docs,this.sources=t.sources,this.data=t.data,o?.(this,n)}toJSON(){return{name:this.name,why:this.why,fix:this.fix,docs:this.docs,sources:this.sources,cause:this.cause,data:this.data,stack:this.stack}}};function c(e,t){return typeof e==`string`?`${e}/${t.toLowerCase()}`:e?.(t)}function l(e={}){let{docsBase:t,reporters:n=[]}=e;return new Proxy({},{get(e,r){if(typeof r!=`string`)return;let i=(e={},a={})=>{let o=c(t,r),l=new s({code:r,why:o??``,docs:o,cause:e.cause,sources:e.sources},i);for(let e of n)e(l,a);return l};return i}})}function u(e){return`https://nuxt.com/docs/4.x/errors/${e.replace(`NUXT_`,``).toLowerCase()}`}var d=[e=>{console.error(`[${e.name}]`)}],f=l({docsBase:u,reporters:d}),p=globalThis.__nuxt_app_ctx__||={};function m(e){return p[e]||=(()=>{let e;return{use:()=>{if(e===void 0)throw Error(`Context is not available`);return e},tryUse:()=>e??null,set:t=>{e=t},unset:()=>{e=void 0},call:(t,n)=>(e=t,n()),callAsync:(t,n)=>(e=t,Promise.resolve(n()))}})()}function h(e,t){return m(e)}function g(e,t={},n){for(let r in e){let i=e[r],a=n?`${n}:${r}`:r;typeof i==`object`&&i?g(i,t,a):typeof i==`function`&&(t[a]=i)}return t}var _=(()=>{if(console.createTask)return console.createTask;let e={run:e=>e()};return()=>e})();function v(e,t,n,r){for(let i=n;i<e.length;i+=1)try{let n=r?r.run(()=>e[i](...t)):e[i](...t);if(n&&typeof n.then==`function`)return Promise.resolve(n).then(()=>v(e,t,i+1,r))}catch(e){return Promise.reject(e)}}function y(e,t,n){if(e.length>0)return v(e,t,0,_(n))}function b(e,t,n){if(e.length>0){let r=_(n);return Promise.all(e.map(e=>r.run(()=>e(...t))))}}function x(e,t){for(let n of[...e])n(t)}var S=class{_hooks;_before;_after;_deprecatedHooks;_deprecatedMessages;constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(e,t,n={}){if(!e||typeof t!=`function`)return()=>{};let r=e,i;for(;this._deprecatedHooks[e];)i=this._deprecatedHooks[e],e=i.to;if(i&&!n.allowDeprecated){let e=i.message;e||=`${r} hook has been deprecated`+(i.to?`, please use ${i.to}`:``),this._deprecatedMessages||=new Set,this._deprecatedMessages.has(e)||(console.warn(e),this._deprecatedMessages.add(e))}if(!t.name)try{Object.defineProperty(t,"name",{get:()=>`_`+e.replace(/\W+/g,`_`)+`_hook_cb`,configurable:!0})}catch{}return this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(t),()=>{t&&=(this.removeHook(e,t),void 0)}}hookOnce(e,t){let n,r=(...e)=>(typeof n==`function`&&n(),n=void 0,r=void 0,t(...e));return n=this.hook(e,r),n}removeHook(e,t){let n=this._hooks[e];if(n){let r=n.indexOf(t);r!==-1&&n.splice(r,1),n.length===0&&(this._hooks[e]=void 0)}}clearHook(e){this._hooks[e]=void 0}deprecateHook(e,t){this._deprecatedHooks[e]=typeof t==`string`?{to:t}:t;let n=this._hooks[e]||[];this._hooks[e]=void 0;for(let t of n)this.hook(e,t)}deprecateHooks(e){for(let t in e)this.deprecateHook(t,e[t])}addHooks(e){let t=g(e),n=Object.keys(t).map(e=>this.hook(e,t[e]));return()=>{for(let e of n)e();n.length=0}}removeHooks(e){let t=g(e);for(let e in t)this.removeHook(e,t[e])}removeAllHooks(){this._hooks={}}callHook(e,...t){return this.callHookWith(y,e,t)}callHookParallel(e,...t){return this.callHookWith(b,e,t)}callHookWith(e,t,n){let r=this._before||this._after?{name:t,args:n,context:{}}:void 0;this._before&&x(this._before,r);let i=e(this._hooks[t]?[...this._hooks[t]]:[],n,t);return i instanceof Promise?i.finally(()=>{this._after&&r&&x(this._after,r)}):(this._after&&r&&x(this._after,r),i)}beforeEach(e){return this._before=this._before||[],this._before.push(e),()=>{if(this._before!==void 0){let t=this._before.indexOf(e);t!==-1&&this._before.splice(t,1)}}}afterEach(e){return this._after=this._after||[],this._after.push(e),()=>{if(this._after!==void 0){let t=this._after.indexOf(e);t!==-1&&this._after.splice(t,1)}}}};function C(){return new S}var w=class{_hooks;constructor(){this._hooks={}}hook(e,t){return!e||typeof t!=`function`?()=>{}:(this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(t),()=>{t&&=(this.removeHook(e,t),void 0)})}removeHook(e,t){let n=this._hooks[e];if(n){let r=n.indexOf(t);r!==-1&&n.splice(r,1),n.length===0&&(this._hooks[e]=void 0)}}callHook(e,...t){let n=this._hooks[e];if(n&&n.length!==0)return v(n.slice(),t,0)}},T={meta:[{name:`viewport`,content:`width=device-width, initial-scale=1`},{charset:`utf-8`}],link:[],style:[],script:[],noscript:[]},E={id:`__nuxt-loader`},D={componentName:`NuxtLink`,prefetch:!0,prefetchOn:{visibility:!0}},O={deep:!1},k={},A=`#__nuxt`,j=`nuxt-app`,M=36e5,N=`vite:preloadError`;function P(e=`nuxt-app`){return h(e,{asyncContext:!1})}var F=`__nuxt_plugin`;function I(e){let t=0,o={_id:e.id||`nuxt-app`,_scope:i(),provide:void 0,versions:{get nuxt(){return`4.6.2`},get vue(){return o.vueApp.version}},payload:a({...e.ssrContext?.payload||{},data:a({}),state:r({}),once:new Set,_errors:a({})}),static:{data:{}},runWithContext(e){return o._scope.active&&!n()?o._scope.run(()=>U(o,e)):U(o,e)},isHydrating:!0,deferHydration(){if(!o.isHydrating)return()=>{};t++;let e=!1;return()=>{if(!e&&(e=!0,t--,t===0))return o.isHydrating=!1,o.callHook(`app:suspense:resolve`)}},_asyncDataPromises:{},_asyncData:a({}),_state:a({}),_payloadRevivers:{},...e};{let e=window.__NUXT__;if(e)for(let t in e)switch(t){case`data`:case`state`:case`_errors`:Object.assign(o.payload[t],e[t]);break;default:o.payload[t]=e[t]}}o.hooks=C(),o.hook=o.hooks.hook;{let e=o.hooks.callHook;o.hooks.callHook=(t,...n)=>Promise.resolve().then(()=>e(t,...n))}o.callHook=o.hooks.callHook,o.provide=(e,t)=>{let n=`$`+e;q(o,n,t),q(o.vueApp.config.globalProperties,n,t)},q(o.vueApp,`$nuxt`,o),q(o.vueApp.config.globalProperties,`$nuxt`,o);{window.addEventListener(N,e=>{o.callHook(`app:chunkError`,{error:e.payload}),e.payload?.message?.includes(`Unable to preload CSS`)&&e.preventDefault()}),window.useNuxtApp||=G;let e=o.hook(`app:error`,(...e)=>{f.NUXT_E1005({cause:e.length>1?e:e[0]})});o.hook(`app:mounted`,e)}let s=o.payload.config;return o.provide(`config`,s),o}function L(e,t){t.hooks&&e.hooks.addHooks(t.hooks)}async function R(e,t){if(typeof t==`function`){let{provide:n}=await e.runWithContext(()=>t(e))||{};if(n&&typeof n==`object`)for(let t in n)e.provide(t,n[t])}}async function z(e,t){return B(e,t)}async function B(e,t){let n=new Set,r=[],i=[],a,o=0;async function s(c){let l=c.dependsOn?.filter(e=>t.some(t=>t._name===e)&&!n.has(e))??[];if(l.length>0)r.push([new Set(l),c]);else{let t=R(e,c).then(async()=>{c._name&&(n.add(c._name),await Promise.all(r.map(async([e,t])=>{e.has(c._name)&&(e.delete(c._name),e.size===0&&(o++,await s(t)))})))}).catch(t=>{if(!c.parallel&&!e.payload.error)throw t;a||=t});c.parallel?i.push(t):await t}}for(let n of t)L(e,n);for(let e of t)await s(e);if(await Promise.all(i),o)for(let e=0;e<o;e++)await Promise.all(i);if(a)throw e.payload.error||a}function V(e){if(typeof e==`function`)return e;let t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[F]:!0,_name:t})}var H=V;function U(e,t,n){return P(e._id).set(e),e.vueApp.runWithContext(()=>n?t(...n):t())}function W(n){let r;return e()&&(r=t()?.appContext.app.$nuxt),r||=P(n).tryUse(),r||null}function G(e){let t=W(e);if(!t)throw f.NUXT_E1001();return t}function K(e){return G().$config}function q(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function J(e){return e}export{w as _,H as a,d as b,K as c,E as d,O as f,A as g,M as h,V as i,T as l,D as m,I as n,W as o,k as p,J as r,G as s,z as t,j as u,f as v,l as x,u as y};
1
+ import{H as e,L as t,an as n,gn as r,in as i,yn as a}from"./DZo3dYLJ.js";var o=Error.captureStackTrace,s=class e extends Error{name;code;docs;fix;sources;data;get why(){return this.message}constructor(t,n=e){super(t.why,{cause:t.cause}),this.code=this.name=t.code,this.fix=t.fix,this.docs=t.docs,this.sources=t.sources,this.data=t.data,o?.(this,n)}toJSON(){return{name:this.name,why:this.why,fix:this.fix,docs:this.docs,sources:this.sources,cause:this.cause,data:this.data,stack:this.stack}}};function c(e,t){return typeof e==`string`?`${e}/${t.toLowerCase()}`:e?.(t)}function l(e={}){let{docsBase:t,reporters:n=[]}=e;return new Proxy({},{get(e,r){if(typeof r!=`string`)return;let i=(e={},a={})=>{let o=c(t,r),l=new s({code:r,why:o??``,docs:o,cause:e.cause,sources:e.sources},i);for(let e of n)e(l,a);return l};return i}})}function u(e){return`https://nuxt.com/docs/4.x/errors/${e.replace(`NUXT_`,``).toLowerCase()}`}var d=[e=>{console.error(`[${e.name}]`)}],f=l({docsBase:u,reporters:d}),p=globalThis.__nuxt_app_ctx__||={};function m(e){return p[e]||=(()=>{let e;return{use:()=>{if(e===void 0)throw Error(`Context is not available`);return e},tryUse:()=>e??null,set:t=>{e=t},unset:()=>{e=void 0},call:(t,n)=>(e=t,n()),callAsync:(t,n)=>(e=t,Promise.resolve(n()))}})()}function h(e,t){return m(e)}function g(e,t={},n){for(let r in e){let i=e[r],a=n?`${n}:${r}`:r;typeof i==`object`&&i?g(i,t,a):typeof i==`function`&&(t[a]=i)}return t}var _=(()=>{if(console.createTask)return console.createTask;let e={run:e=>e()};return()=>e})();function v(e,t,n,r){for(let i=n;i<e.length;i+=1)try{let n=r?r.run(()=>e[i](...t)):e[i](...t);if(n&&typeof n.then==`function`)return Promise.resolve(n).then(()=>v(e,t,i+1,r))}catch(e){return Promise.reject(e)}}function y(e,t,n){if(e.length>0)return v(e,t,0,_(n))}function b(e,t,n){if(e.length>0){let r=_(n);return Promise.all(e.map(e=>r.run(()=>e(...t))))}}function x(e,t){for(let n of[...e])n(t)}var S=class{_hooks;_before;_after;_deprecatedHooks;_deprecatedMessages;constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(e,t,n={}){if(!e||typeof t!=`function`)return()=>{};let r=e,i;for(;this._deprecatedHooks[e];)i=this._deprecatedHooks[e],e=i.to;if(i&&!n.allowDeprecated){let e=i.message;e||=`${r} hook has been deprecated`+(i.to?`, please use ${i.to}`:``),this._deprecatedMessages||=new Set,this._deprecatedMessages.has(e)||(console.warn(e),this._deprecatedMessages.add(e))}if(!t.name)try{Object.defineProperty(t,"name",{get:()=>`_`+e.replace(/\W+/g,`_`)+`_hook_cb`,configurable:!0})}catch{}return this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(t),()=>{t&&=(this.removeHook(e,t),void 0)}}hookOnce(e,t){let n,r=(...e)=>(typeof n==`function`&&n(),n=void 0,r=void 0,t(...e));return n=this.hook(e,r),n}removeHook(e,t){let n=this._hooks[e];if(n){let r=n.indexOf(t);r!==-1&&n.splice(r,1),n.length===0&&(this._hooks[e]=void 0)}}clearHook(e){this._hooks[e]=void 0}deprecateHook(e,t){this._deprecatedHooks[e]=typeof t==`string`?{to:t}:t;let n=this._hooks[e]||[];this._hooks[e]=void 0;for(let t of n)this.hook(e,t)}deprecateHooks(e){for(let t in e)this.deprecateHook(t,e[t])}addHooks(e){let t=g(e),n=Object.keys(t).map(e=>this.hook(e,t[e]));return()=>{for(let e of n)e();n.length=0}}removeHooks(e){let t=g(e);for(let e in t)this.removeHook(e,t[e])}removeAllHooks(){this._hooks={}}callHook(e,...t){return this.callHookWith(y,e,t)}callHookParallel(e,...t){return this.callHookWith(b,e,t)}callHookWith(e,t,n){let r=this._before||this._after?{name:t,args:n,context:{}}:void 0;this._before&&x(this._before,r);let i=e(this._hooks[t]?[...this._hooks[t]]:[],n,t);return i instanceof Promise?i.finally(()=>{this._after&&r&&x(this._after,r)}):(this._after&&r&&x(this._after,r),i)}beforeEach(e){return this._before=this._before||[],this._before.push(e),()=>{if(this._before!==void 0){let t=this._before.indexOf(e);t!==-1&&this._before.splice(t,1)}}}afterEach(e){return this._after=this._after||[],this._after.push(e),()=>{if(this._after!==void 0){let t=this._after.indexOf(e);t!==-1&&this._after.splice(t,1)}}}};function C(){return new S}var w=class{_hooks;constructor(){this._hooks={}}hook(e,t){return!e||typeof t!=`function`?()=>{}:(this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(t),()=>{t&&=(this.removeHook(e,t),void 0)})}removeHook(e,t){let n=this._hooks[e];if(n){let r=n.indexOf(t);r!==-1&&n.splice(r,1),n.length===0&&(this._hooks[e]=void 0)}}callHook(e,...t){let n=this._hooks[e];if(n&&n.length!==0)return v(n.slice(),t,0)}},T={meta:[{name:`viewport`,content:`width=device-width, initial-scale=1`},{charset:`utf-8`}],link:[],style:[],script:[],noscript:[]},E={id:`__nuxt-loader`},D={componentName:`NuxtLink`,prefetch:!0,prefetchOn:{visibility:!0}},O={deep:!1},k={},A=`#__nuxt`,j=`nuxt-app`,M=36e5,N=`vite:preloadError`;function P(e=`nuxt-app`){return h(e,{asyncContext:!1})}var F=`__nuxt_plugin`;function I(e){let t=0,o={_id:e.id||`nuxt-app`,_scope:i(),provide:void 0,versions:{get nuxt(){return`4.6.3`},get vue(){return o.vueApp.version}},payload:a({...e.ssrContext?.payload||{},data:a({}),state:r({}),once:new Set,_errors:a({})}),static:{data:{}},runWithContext(e){return o._scope.active&&!n()?o._scope.run(()=>U(o,e)):U(o,e)},isHydrating:!0,deferHydration(){if(!o.isHydrating)return()=>{};t++;let e=!1;return()=>{if(!e&&(e=!0,t--,t===0))return o.isHydrating=!1,o.callHook(`app:suspense:resolve`)}},_asyncDataPromises:{},_asyncData:a({}),_state:a({}),_payloadRevivers:{},...e};{let e=window.__NUXT__;if(e)for(let t in e)switch(t){case`data`:case`state`:case`_errors`:Object.assign(o.payload[t],e[t]);break;default:o.payload[t]=e[t]}}o.hooks=C(),o.hook=o.hooks.hook;{let e=o.hooks.callHook;o.hooks.callHook=(t,...n)=>Promise.resolve().then(()=>e(t,...n))}o.callHook=o.hooks.callHook,o.provide=(e,t)=>{let n=`$`+e;q(o,n,t),q(o.vueApp.config.globalProperties,n,t)},q(o.vueApp,`$nuxt`,o),q(o.vueApp.config.globalProperties,`$nuxt`,o);{window.addEventListener(N,e=>{o.callHook(`app:chunkError`,{error:e.payload}),e.payload?.message?.includes(`Unable to preload CSS`)&&e.preventDefault()}),window.useNuxtApp||=G;let e=o.hook(`app:error`,(...e)=>{f.NUXT_E1005({cause:e.length>1?e:e[0]})});o.hook(`app:mounted`,e)}let s=o.payload.config;return o.provide(`config`,s),o}function L(e,t){t.hooks&&e.hooks.addHooks(t.hooks)}async function R(e,t){if(typeof t==`function`){let{provide:n}=await e.runWithContext(()=>t(e))||{};if(n&&typeof n==`object`)for(let t in n)e.provide(t,n[t])}}async function z(e,t){return B(e,t)}async function B(e,t){let n=new Set,r=[],i=[],a,o=0;async function s(c){let l=c.dependsOn?.filter(e=>t.some(t=>t._name===e)&&!n.has(e))??[];if(l.length>0)r.push([new Set(l),c]);else{let t=R(e,c).then(async()=>{c._name&&(n.add(c._name),await Promise.all(r.map(async([e,t])=>{e.has(c._name)&&(e.delete(c._name),e.size===0&&(o++,await s(t)))})))}).catch(t=>{if(!c.parallel&&!e.payload.error)throw t;a||=t});c.parallel?i.push(t):await t}}for(let n of t)L(e,n);for(let e of t)await s(e);if(await Promise.all(i),o)for(let e=0;e<o;e++)await Promise.all(i);if(a)throw e.payload.error||a}function V(e){if(typeof e==`function`)return e;let t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[F]:!0,_name:t})}var H=V;function U(e,t,n){return P(e._id).set(e),e.vueApp.runWithContext(()=>n?t(...n):t())}function W(n){let r;return e()&&(r=t()?.appContext.app.$nuxt),r||=P(n).tryUse(),r||null}function G(e){let t=W(e);if(!t)throw f.NUXT_E1001();return t}function K(e){return G().$config}function q(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function J(e){return e}export{w as _,H as a,d as b,K as c,E as d,O as f,A as g,M as h,V as i,T as l,D as m,I as n,W as o,k as p,J as r,G as s,z as t,j as u,f as v,l as x,u as y};
@@ -1 +1 @@
1
- import{Ht as e,On as t,b as n,g as r,k as i,mt as a,tr as o,tt as s,vn as c}from"./DVRkMeDb.js";import{Pt as l,t as u}from"#entry";import{n as d}from"./BG8sqKld.js";import{t as f}from"./C_ix0rE_.js";import{a as p,o as m,s as h}from"./CrKjUxoH.js";var g={key:0,class:`text-disabled`},_=[`innerHTML`],v={key:2,class:`text-truncate d-inline-block`,style:{"max-width":`24rem`}},y=Object.assign(i({__name:`RichText`,props:{field:{},value:{},record:{},resource:{},context:{}},setup(i){let y=i,{t:b}=u(),x=d(()=>y.resource.slug),{richText:S}=l(),C=p({features:y.field.richtext?.features??[],custom:S}),w=r(()=>typeof y.value==`string`?y.value:``),T=r(()=>y.context===`show`&&w.value!==``?m(w.value,C):``),E=r(()=>y.context===`index`&&w.value!==``?h(w.value,C):``),D=c(null);return e([T,D],async()=>{await s();let e=y.field.richtext?.imageField,t=y.record.id;if(D.value&&e&&t!=null)for(let n of D.value.querySelectorAll(`img[data-vector-key]`)){let r=n.dataset.vectorKey;x.fileBlob(t,e,r).then(f).then(e=>{n.src=e}).catch(()=>void 0)}},{immediate:!0}),(e,r)=>t(w)===``?(a(),n(`span`,g,o(t(b)(`common.none`)),1)):i.context===`show`?(a(),n(`div`,{key:1,ref_key:`root`,ref:D,class:`vx-richtext-view text-body-1`,innerHTML:t(T)},null,8,_)):(a(),n(`span`,v,o(t(E)),1))}}),{__name:`VxCellRichText`});export{y as default};
1
+ import{Ht as e,On as t,b as n,g as r,k as i,mt as a,tr as o,tt as s,vn as c}from"./DZo3dYLJ.js";import{It as l,t as u}from"#entry";import{n as d}from"./CEPKZq1d.js";import{t as f}from"./C_ix0rE_.js";import{a as p,o as m,s as h}from"./lbl667wH.js";var g={key:0,class:`text-disabled`},_=[`innerHTML`],v={key:2,class:`text-truncate d-inline-block`,style:{"max-width":`24rem`}},y=Object.assign(i({__name:`RichText`,props:{field:{},value:{},record:{},resource:{},context:{}},setup(i){let y=i,{t:b}=u(),x=d(()=>y.resource.slug),{richText:S}=l(),C=p({features:y.field.richtext?.features??[],custom:S}),w=r(()=>typeof y.value==`string`?y.value:``),T=r(()=>y.context===`show`&&w.value!==``?m(w.value,C):``),E=r(()=>y.context===`index`&&w.value!==``?h(w.value,C):``),D=c(null);return e([T,D],async()=>{await s();let e=y.field.richtext?.imageField,t=y.record.id;if(D.value&&e&&t!=null)for(let n of D.value.querySelectorAll(`img[data-vector-key]`)){let r=n.dataset.vectorKey;x.fileBlob(t,e,r).then(f).then(e=>{n.src=e}).catch(()=>void 0)}},{immediate:!0}),(e,r)=>t(w)===``?(a(),n(`span`,g,o(t(b)(`common.none`)),1)):i.context===`show`?(a(),n(`div`,{key:1,ref_key:`root`,ref:D,class:`vx-richtext-view text-body-1`,innerHTML:t(T)},null,8,_)):(a(),n(`span`,v,o(t(E)),1))}}),{__name:`VxCellRichText`});export{y as default};
@@ -1 +1 @@
1
- import{En as e,Ht as t,an as n,bn as r,pn as i,un as a,xn as o}from"./DVRkMeDb.js";function s(e,t){return n()?(i(e,t),!0):!1}var c=typeof window<`u`&&typeof document<`u`;typeof WorkerGlobalScope<`u`&&globalThis instanceof WorkerGlobalScope;var l=Object.prototype.toString,u=e=>l.call(e)===`[object Object]`,d=()=>+Date.now(),f=()=>{};function p(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`cancel`in e&&Object.assign(n,{cancel:e.cancel,flush:e.flush,isPending:e.isPending}),n}function m(t,n={}){let i,a,s=f,c=f,l=o(!1),u=e=>{clearTimeout(e),s(),s=f},d;return Object.assign(r=>{let o=e(t),f=e(n.maxWait);return i&&u(i),o<=0||f!==void 0&&f<=0?(a&&=(u(a),void 0),l.value=!1,Promise.resolve(r())):(l.value=!0,new Promise((e,t)=>{s=n.rejectOnCancel?t:e,c=e,d=r,f&&!a&&(a=setTimeout(()=>{i&&u(i),a=void 0,l.value=!1,e(d())},f)),i=setTimeout(()=>{a&&u(a),a=void 0,l.value=!1,e(r())},o)}))},{cancel:()=>{i&&=(u(i),void 0),a&&=(u(a),void 0),l.value=!1,c=f},flush:()=>{if(l.value){i&&=(clearTimeout(i),void 0),a&&=(clearTimeout(a),void 0),l.value=!1;let e=c;s=f,c=f,e(d())}},isPending:r(l)})}function h(...t){let n=0,r,i=!0,o=f,s,c,l,u,d;!a(t[0])&&typeof t[0]==`object`?{delay:c,trailing:l=!0,leading:u=!0,rejectOnCancel:d=!1}=t[0]:[c,l=!0,u=!0,d=!1]=t;let p=()=>{r&&(clearTimeout(r),r=void 0,o(),o=f)};return t=>{let a=e(c),f=Date.now()-n,m=()=>s=t();return p(),a<=0?(n=Date.now(),m()):(f>a?(n=Date.now(),(u||!i)&&m()):l&&(s=new Promise((e,t)=>{o=d?t:e,r=setTimeout(()=>{n=Date.now(),i=!0,e(m()),p()},Math.max(0,a-f))})),!u&&!r&&(r=setTimeout(()=>i=!0,a)),i=!1,s)}}function g(e){return Array.isArray(e)?e:[e]}function _(e,t=200,n={}){return p(m(t,n),e)}function v(n,i=1e3,l={}){let{immediate:u=!0,immediateCallback:d=!1}=l,f=null,p=o(!1);function m(){f&&=(clearInterval(f),null)}function h(){p.value=!1,m()}function g(){let t=e(i);t<=0||(p.value=!0,d&&n(),m(),p.value&&(f=setInterval(n,t)))}return u&&c&&g(),(a(i)||typeof i==`function`)&&s(t(i,()=>{p.value&&c&&g()})),s(h),{isActive:r(p),pause:h,resume:g}}function y(e,n,r){return t(e,n,{...r,immediate:!0})}export{d as a,v as c,h as i,y as l,c as n,g as o,u as r,_ as s,p as t};
1
+ import{En as e,Ht as t,an as n,bn as r,pn as i,un as a,xn as o}from"./DZo3dYLJ.js";function s(e,t){return n()?(i(e,t),!0):!1}var c=typeof window<`u`&&typeof document<`u`;typeof WorkerGlobalScope<`u`&&globalThis instanceof WorkerGlobalScope;var l=Object.prototype.toString,u=e=>l.call(e)===`[object Object]`,d=()=>+Date.now(),f=()=>{};function p(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`cancel`in e&&Object.assign(n,{cancel:e.cancel,flush:e.flush,isPending:e.isPending}),n}function m(t,n={}){let i,a,s=f,c=f,l=o(!1),u=e=>{clearTimeout(e),s(),s=f},d;return Object.assign(r=>{let o=e(t),f=e(n.maxWait);return i&&u(i),o<=0||f!==void 0&&f<=0?(a&&=(u(a),void 0),l.value=!1,Promise.resolve(r())):(l.value=!0,new Promise((e,t)=>{s=n.rejectOnCancel?t:e,c=e,d=r,f&&!a&&(a=setTimeout(()=>{i&&u(i),a=void 0,l.value=!1,e(d())},f)),i=setTimeout(()=>{a&&u(a),a=void 0,l.value=!1,e(r())},o)}))},{cancel:()=>{i&&=(u(i),void 0),a&&=(u(a),void 0),l.value=!1,c=f},flush:()=>{if(l.value){i&&=(clearTimeout(i),void 0),a&&=(clearTimeout(a),void 0),l.value=!1;let e=c;s=f,c=f,e(d())}},isPending:r(l)})}function h(...t){let n=0,r,i=!0,o=f,s,c,l,u,d;!a(t[0])&&typeof t[0]==`object`?{delay:c,trailing:l=!0,leading:u=!0,rejectOnCancel:d=!1}=t[0]:[c,l=!0,u=!0,d=!1]=t;let p=()=>{r&&(clearTimeout(r),r=void 0,o(),o=f)};return t=>{let a=e(c),f=Date.now()-n,m=()=>s=t();return p(),a<=0?(n=Date.now(),m()):(f>a?(n=Date.now(),(u||!i)&&m()):l&&(s=new Promise((e,t)=>{o=d?t:e,r=setTimeout(()=>{n=Date.now(),i=!0,e(m()),p()},Math.max(0,a-f))})),!u&&!r&&(r=setTimeout(()=>i=!0,a)),i=!1,s)}}function g(e){return Array.isArray(e)?e:[e]}function _(e,t=200,n={}){return p(m(t,n),e)}function v(n,i=1e3,l={}){let{immediate:u=!0,immediateCallback:d=!1}=l,f=null,p=o(!1);function m(){f&&=(clearInterval(f),null)}function h(){p.value=!1,m()}function g(){let t=e(i);t<=0||(p.value=!0,d&&n(),m(),p.value&&(f=setInterval(n,t)))}return u&&c&&g(),(a(i)||typeof i==`function`)&&s(t(i,()=>{p.value&&c&&g()})),s(h),{isActive:r(p),pause:h,resume:g}}function y(e,n,r){return t(e,n,{...r,immediate:!0})}export{d as a,v as c,h as i,y as l,c as n,g as o,u as r,_ as s,p as t};
@@ -1 +1 @@
1
- import{On as e,b as t,g as n,k as r,mt as i,tr as a}from"./DVRkMeDb.js";import{o,r as s,s as c}from"./DDEIDAa0.js";import{t as l}from"#entry";var u={key:0,class:`text-disabled`},d={key:1,class:`text-no-wrap font-weight-medium`},f=Object.assign(r({__name:`Money`,props:{field:{},value:{},record:{}},setup(r){let f=r,p=n(()=>{if(typeof f.value!=`number`)return``;let e=s(f.field,f.record);return e?o(f.value,e):c(f.value/100,2)}),{t:m}=l();return(n,r)=>e(p)===``?(i(),t(`span`,u,a(e(m)(`common.none`)),1)):(i(),t(`span`,d,a(e(p)),1))}}),{__name:`VxCellMoney`});export{f as default};
1
+ import{On as e,b as t,g as n,k as r,mt as i,tr as a}from"./DZo3dYLJ.js";import{o,r as s,s as c}from"./DDEIDAa0.js";import{t as l}from"#entry";var u={key:0,class:`text-disabled`},d={key:1,class:`text-no-wrap font-weight-medium`},f=Object.assign(r({__name:`Money`,props:{field:{},value:{},record:{}},setup(r){let f=r,p=n(()=>{if(typeof f.value!=`number`)return``;let e=s(f.field,f.record);return e?o(f.value,e):c(f.value/100,2)}),{t:m}=l();return(n,r)=>e(p)===``?(i(),t(`span`,u,a(e(m)(`common.none`)),1)):(i(),t(`span`,d,a(e(p)),1))}}),{__name:`VxCellMoney`});export{f as default};
@@ -1 +1 @@
1
- import{_n as e,ct as t,wn as n,xn as r}from"./DVRkMeDb.js";function i(){let i=r(!1);return t(()=>{window.requestAnimationFrame(()=>{i.value=!0})}),{ssrBootStyles:n(()=>i.value?void 0:{transition:`none !important`}),isBooted:e(i)}}export{i as t};
1
+ import{_n as e,ct as t,wn as n,xn as r}from"./DZo3dYLJ.js";function i(){let i=r(!1);return t(()=>{window.requestAnimationFrame(()=>{i.value=!0})}),{ssrBootStyles:n(()=>i.value?void 0:{transition:`none !important`}),isBooted:e(i)}}export{i as t};
@@ -1 +1 @@
1
- import{It as e,Mt as t,wt as n}from"./D1QDGpmd.js";function r(r,a){if(!n)return;let o=a.modifiers||{},s=a.value,c=t(s)||!e(s)?s:s.handler,l=t(s)||!e(s)?{}:s.options,u=new IntersectionObserver((e=[],t)=>{let n=r._observe?.[a.instance.$.uid];if(!n)return;let s=e.some(e=>e.isIntersecting);c&&(!o.quiet||n.init)&&(!o.once||s||n.init)&&c(s,e,t),s&&o.once?i(r,a):n.init=!0},l);r._observe=Object(r._observe),r._observe[a.instance.$.uid]={init:!1,observer:u},u.observe(r)}function i(e,t){let n=e._observe?.[t.instance.$.uid];n&&(n.observer.unobserve(e),delete e._observe[t.instance.$.uid])}var a={mounted:r,unmounted:i,updated:(e,t)=>{e._observe?.[t.instance.$.uid]&&(i(e,t),r(e,t))}};export{a as t};
1
+ import{It as e,Mt as t,wt as n}from"./CPAF2hi7.js";function r(r,a){if(!n)return;let o=a.modifiers||{},s=a.value,c=t(s)||!e(s)?s:s.handler,l=t(s)||!e(s)?{}:s.options,u=new IntersectionObserver((e=[],t)=>{let n=r._observe?.[a.instance.$.uid];if(!n)return;let s=e.some(e=>e.isIntersecting);c&&(!o.quiet||n.init)&&(!o.once||s||n.init)&&c(s,e,t),s&&o.once?i(r,a):n.init=!0},l);r._observe=Object(r._observe),r._observe[a.instance.$.uid]={init:!1,observer:u},u.observe(r)}function i(e,t){let n=e._observe?.[t.instance.$.uid];n&&(n.observer.unobserve(e),delete e._observe[t.instance.$.uid])}var a={mounted:r,unmounted:i,updated:(e,t)=>{e._observe?.[t.instance.$.uid]&&(i(e,t),r(e,t))}};export{a as t};
@@ -0,0 +1 @@
1
+ import{S as e,b as t}from"./CPAF2hi7.js";import{wn as n}from"./DZo3dYLJ.js";var r=[`static`,`relative`,`fixed`,`absolute`,`sticky`],i=e({position:{type:String,validator:e=>r.includes(e)}},`position`);function a(e,r=t()){return{positionClasses:n(()=>e.position?`${r}--${e.position}`:void 0)}}export{a as n,i as t};