@tempots/beatui 0.89.0 → 0.91.0

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 (104) hide show
  1. package/dist/{ar-MUKILk4c.js → ar-8Cko5i-Z.js} +18 -10
  2. package/dist/{ar-CBrjAlIY.cjs → ar-D2DjoXta.cjs} +1 -1
  3. package/dist/auth/index.cjs.js +1 -1
  4. package/dist/auth/index.es.js +1 -1
  5. package/dist/{auth-divider-DvVmqjnk.js → auth-divider-B4n8lGx5.js} +7 -7
  6. package/dist/{auth-divider-Cj-xJxF_.cjs → auth-divider-VzrKnv2d.cjs} +1 -1
  7. package/dist/beatui.css +88 -79
  8. package/dist/beatui.tailwind.css +88 -79
  9. package/dist/better-auth/index.cjs.js +1 -1
  10. package/dist/better-auth/index.es.js +5 -5
  11. package/dist/{de-CEsW1rVX.js → de-Bt-d2iKj.js} +12 -4
  12. package/dist/{de-CrBw41po.cjs → de-Cdf3432J.cjs} +1 -1
  13. package/dist/{deep-merge-OvVqSLSN.js → deep-merge-BdRgguFO.js} +38 -38
  14. package/dist/deep-merge-CI1g9sjh.cjs +1 -0
  15. package/dist/{duration-input-BCXujp0V.js → duration-input-BZhzeELL.js} +4 -4
  16. package/dist/{duration-input-MJz6UO6E.cjs → duration-input-a1fCTfKl.cjs} +1 -1
  17. package/dist/{editor-toolbar-group-Cnta0SOa.js → editor-toolbar-group-CzdBZ1yr.js} +2 -2
  18. package/dist/{editor-toolbar-group-BgWLVgMZ.cjs → editor-toolbar-group-DhKJdqER.cjs} +1 -1
  19. package/dist/{es-ChP-aFwC.js → es-2llfNFX2.js} +10 -2
  20. package/dist/{es-Ca5xT3NE.cjs → es-6fFPkKHL.cjs} +1 -1
  21. package/dist/{fa-CNsrlIqh.js → fa-CQVIBjKP.js} +18 -10
  22. package/dist/{fa-DhZJYuC6.cjs → fa-GXyNzAXz.cjs} +1 -1
  23. package/dist/{fr-1nSKSIlw.cjs → fr-C6EYTwSH.cjs} +1 -1
  24. package/dist/{fr-DgEFKpML.js → fr-CC3smTlW.js} +19 -11
  25. package/dist/{he-DhcurPt5.cjs → he-CJUgxvi8.cjs} +1 -1
  26. package/dist/{he-B4TqfISZ.js → he-CZilsN75.js} +16 -8
  27. package/dist/{hi-TSoDsngT.js → hi-CAZjwGv-.js} +16 -8
  28. package/dist/{hi-CxsIxbfM.cjs → hi-DqIR4VtX.cjs} +1 -1
  29. package/dist/{index-D4ZFV8Rs.cjs → index-B-cwxUsP.cjs} +1 -1
  30. package/dist/{index-DOc1_-Nm.js → index-BFzxpY7y.js} +1 -1
  31. package/dist/{index-D3QVPAme.cjs → index-BOC0cVoY.cjs} +2 -2
  32. package/dist/{index-D_aTUfqS.js → index-DJ9YIJcG.js} +6 -6
  33. package/dist/index.cjs.js +2 -2
  34. package/dist/index.es.js +1847 -1822
  35. package/dist/{input-container-BBWCDGTv.js → input-container-9r1F3KuX.js} +1 -1
  36. package/dist/{input-container-B31Seozh.cjs → input-container-DiYEl_y8.cjs} +1 -1
  37. package/dist/{it-D_IcaYxp.cjs → it-BvHsJ7fH.cjs} +1 -1
  38. package/dist/{it-BrbebXg4.js → it-D6RXFIL6.js} +19 -11
  39. package/dist/{ja-CMGqpPo7.cjs → ja-B2gP7OHY.cjs} +1 -1
  40. package/dist/{ja-DcfOktrV.js → ja-D7zsz4Ij.js} +15 -7
  41. package/dist/json-schema/index.cjs.js +1 -1
  42. package/dist/json-schema/index.es.js +11 -12
  43. package/dist/json-schema-display/index.cjs.js +1 -1
  44. package/dist/json-schema-display/index.es.js +1 -1
  45. package/dist/json-structure/index.cjs.js +1 -1
  46. package/dist/json-structure/index.es.js +6 -6
  47. package/dist/{ko-BPl5rP97.cjs → ko-BddhddIA.cjs} +1 -1
  48. package/dist/{ko-73e6t369.js → ko-taN2Npr4.js} +12 -4
  49. package/dist/lexical/index.cjs.js +30 -30
  50. package/dist/lexical/index.es.js +5741 -5527
  51. package/dist/lexical.css +31 -28
  52. package/dist/{modal-jJMS0ZlW.cjs → modal-C-d5Btti.cjs} +1 -1
  53. package/dist/{modal-BBJWY7NB.js → modal-DTz98Dk7.js} +3 -3
  54. package/dist/{nl-BSfaHFt0.cjs → nl-COrtZUnH.cjs} +1 -1
  55. package/dist/{nl-Bq-1-ulc.js → nl-CRC6r4Q4.js} +22 -14
  56. package/dist/{notice-9lpZ-VDn.cjs → notice-BDTfBGtx.cjs} +1 -1
  57. package/dist/{notice-AUVH8Lho.js → notice-CZuh-h6a.js} +4 -4
  58. package/dist/{oneof-branch-detection-BsGhMslW.cjs → oneof-branch-detection-D6Xa8qNR.cjs} +1 -1
  59. package/dist/{oneof-branch-detection-BQnRjp9P.js → oneof-branch-detection-DCPwyutI.js} +1 -1
  60. package/dist/{pl-D-O4sCnr.cjs → pl-BHI4zBgV.cjs} +1 -1
  61. package/dist/{pl-Du9-VCfW.js → pl-C6qNs0Lq.js} +19 -11
  62. package/dist/prosemirror/index.cjs.js +1 -1
  63. package/dist/prosemirror/index.es.js +1 -1
  64. package/dist/{pt-chEEYLlt.cjs → pt-BGzC9MhU.cjs} +1 -1
  65. package/dist/{pt-B2UqqSAB.js → pt-CcWPLqBh.js} +20 -12
  66. package/dist/{ru-B46hVpFF.cjs → ru-CXeFbIPb.cjs} +1 -1
  67. package/dist/{ru-DiWa2inw.js → ru-Dt9-9m0E.js} +20 -12
  68. package/dist/tailwind/vite-plugin.es.js +0 -1
  69. package/dist/{text-input-6FD7p7hN.js → text-input-BgPx8BbG.js} +1 -1
  70. package/dist/{text-input-w0eVcqk5.cjs → text-input-DUnhBUd6.cjs} +1 -1
  71. package/dist/{toolbar-Cr0JGj5h.js → toolbar-DKOh_gbA.js} +1 -1
  72. package/dist/{toolbar-BR8In7O0.cjs → toolbar-Dkc2y1dI.cjs} +1 -1
  73. package/dist/{tr-Culcm2Zb.js → tr-CDTWeRY0.js} +14 -6
  74. package/dist/{tr-CaMaflJL.cjs → tr-CdOtQAtA.cjs} +1 -1
  75. package/dist/{translations-CZ0KOii3.cjs → translations-BdCtLBZt.cjs} +1 -1
  76. package/dist/{translations-uEUkO6gJ.js → translations-CiBhB2FV.js} +135 -127
  77. package/dist/translations-Cy9hoMGV.cjs +1 -0
  78. package/dist/{translations-Cttn6w0G.js → translations-NBY7SubC.js} +1 -1
  79. package/dist/types/beatui-i18n/default.d.ts +8 -0
  80. package/dist/types/beatui-i18n/locales/en.d.ts +8 -0
  81. package/dist/types/beatui-i18n/translations.d.ts +8 -0
  82. package/dist/types/components/form/input/index.d.ts +2 -0
  83. package/dist/types/components/form/input/nullable-color-input.d.ts +31 -0
  84. package/dist/types/components/form/input/nullable-color-swatch-input.d.ts +39 -0
  85. package/dist/types/components/lexical/table/table-controls.d.ts +3 -1
  86. package/dist/types/components/lexical/toolbar/index.d.ts +1 -0
  87. package/dist/types/components/lexical/toolbar/toolbar-registry.d.ts +16 -0
  88. package/dist/types/lexical/index.d.ts +2 -1
  89. package/dist/types/lexical/plugins/element-style.d.ts +29 -0
  90. package/dist/types/lexical/plugins/index.d.ts +1 -0
  91. package/dist/types/lexical/types.d.ts +43 -2
  92. package/dist/{ur-CvGP14xo.cjs → ur-C7itXvnC.cjs} +1 -1
  93. package/dist/{ur-Deb-uH6b.js → ur-CLrK5FPQ.js} +16 -8
  94. package/dist/{use-form-lg6-7Brc.js → use-form-Cd8YFWaN.js} +3 -3
  95. package/dist/{use-form-i97PToWB.cjs → use-form-DQVN_Zjb.cjs} +2 -2
  96. package/dist/{vi-CUsCVh3n.js → vi-B1_QDUQJ.js} +21 -13
  97. package/dist/{vi-Df4WZe9y.cjs → vi-CQrUWB3y.cjs} +1 -1
  98. package/dist/{widget-customization-CDD72zYs.js → widget-customization-BY4Ox_4e.js} +25 -25
  99. package/dist/{widget-customization-BLvD4Lqt.cjs → widget-customization-eyQ2pxvu.cjs} +1 -1
  100. package/dist/{zh-C5a9NGFW.cjs → zh-DWswYYTS.cjs} +1 -1
  101. package/dist/{zh-Dil2Jft8.js → zh-rDtQ92Pp.js} +12 -4
  102. package/package.json +1 -1
  103. package/dist/deep-merge-Dgy9xj6w.cjs +0 -1
  104. package/dist/translations-gVgMyNno.cjs +0 -1
package/dist/lexical.css CHANGED
@@ -806,35 +806,43 @@
806
806
  outline-offset: calc(-1 * var(--outline-width-focus));
807
807
  }
808
808
 
809
- /* Table context menu */
810
- .bc-table-context-menu {
811
- display: flex;
812
- flex-direction: column;
809
+ /* Table cell marker button (appears at top-right of selected cell) */
810
+ .bc-table-cell-marker {
811
+ pointer-events: auto;
813
812
  }
814
813
 
815
- .bc-table-menu-button {
816
- font-family: inherit;
817
- line-height: 1.5;
818
- white-space: nowrap;
814
+ .bc-table-cell-marker__button {
815
+ display: inline-flex;
816
+ align-items: center;
817
+ justify-content: center;
818
+ width: 1.25rem;
819
+ height: 1.25rem;
820
+ padding: 0;
821
+ border: var(--border-width-thin) solid var(--color-neutral-300);
822
+ border-radius: var(--radius-sm);
823
+ background-color: var(--color-surface);
824
+ color: var(--color-neutral-600);
825
+ cursor: pointer;
826
+ transition: background-color 0.15s, border-color 0.15s;
827
+ font-size: 0;
828
+ line-height: 1;
819
829
  }
820
830
 
821
- .bc-table-menu-button:hover:not(:disabled) {
831
+ .bc-table-cell-marker__button:hover:not(:disabled) {
822
832
  background-color: var(--color-neutral-100);
833
+ border-color: var(--color-neutral-400);
834
+ color: var(--color-neutral-800);
823
835
  }
824
836
 
825
- .bc-table-menu-button:active:not(:disabled) {
837
+ .bc-table-cell-marker__button:active:not(:disabled) {
826
838
  background-color: var(--color-neutral-200);
827
839
  }
828
840
 
829
- .bc-table-menu-button:disabled {
841
+ .bc-table-cell-marker__button:disabled {
830
842
  opacity: 0.5;
831
843
  cursor: not-allowed;
832
844
  }
833
845
 
834
- .bc-table-menu-separator {
835
- /* Separator styling defined inline in component */
836
- }
837
-
838
846
  /* Dark mode styles */
839
847
  .dark .bc-lexical-table-cell,
840
848
  .dark .bc-lexical-table-cell-header {
@@ -854,30 +862,25 @@
854
862
  outline-color: var(--color-primary-400);
855
863
  }
856
864
 
857
- .dark .bc-table-context-menu {
865
+ .dark .bc-table-cell-marker__button {
866
+ border-color: var(--color-neutral-600);
858
867
  background-color: var(--color-neutral-800);
859
- border-color: var(--color-neutral-700);
860
- }
861
-
862
- .dark .bc-table-menu-button {
863
- color: var(--color-neutral-100);
868
+ color: var(--color-neutral-400);
864
869
  }
865
870
 
866
- .dark .bc-table-menu-button:hover:not(:disabled) {
871
+ .dark .bc-table-cell-marker__button:hover:not(:disabled) {
867
872
  background-color: var(--color-neutral-700);
873
+ border-color: var(--color-neutral-500);
874
+ color: var(--color-neutral-200);
868
875
  }
869
876
 
870
- .dark .bc-table-menu-button:active:not(:disabled) {
877
+ .dark .bc-table-cell-marker__button:active:not(:disabled) {
871
878
  background-color: var(--color-neutral-600);
872
879
  }
873
880
 
874
- .dark .bc-table-menu-separator {
875
- background-color: var(--color-neutral-700);
876
- }
877
-
878
881
  /* Accessibility */
879
882
  @media (prefers-reduced-motion: reduce) {
880
- .bc-table-menu-button {
883
+ .bc-table-cell-marker__button {
881
884
  transition: none;
882
885
  }
883
886
  }
@@ -1 +1 @@
1
- "use strict";const n=require("@tempots/dom"),S=require("./use-animated-toggle-DrqK7nUS.cjs"),$=require("./timer-BJHOsuS6.cjs"),D=require("./session-id-B5lJMzbB.cjs"),q=require("./translations-gVgMyNno.cjs"),j=require("./use-form-i97PToWB.cjs"),B=require("./input-container-B31Seozh.cjs"),W=["a[href]","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])",'[tabindex]:not([tabindex="-1"])','[contenteditable="true"]',"audio[controls]","video[controls]","details > summary:first-of-type","details[open]"].join(", ");function _(u){return Array.from(u.querySelectorAll(W)).filter(e=>{const s=e;return s.offsetWidth>0&&s.offsetHeight>0&&!s.hasAttribute("inert")&&window.getComputedStyle(s).visibility!=="hidden"})}function V(u={}){const{active:e=!0,escapeDeactivates:s=!0,onEscape:t,initialFocus:a,returnFocus:i,clickOutsideDeactivates:c=!1,onClickOutside:d}=u;return n.WithElement(g=>{let h=e,f=null,l=[],b=null,p=null,m=null;typeof document<"u"&&(f=document.activeElement);const y=()=>{l=_(g)},C=r=>{if(h){if(s&&r.key==="Escape"){r.preventDefault(),t?.();return}if(r.key==="Tab"){if(y(),l.length===0){r.preventDefault();return}const o=l.indexOf(document.activeElement);r.shiftKey?o<=0&&(r.preventDefault(),l[l.length-1]?.focus()):o>=l.length-1&&(r.preventDefault(),l[0]?.focus())}}},v=r=>{if(!h||!c)return;const o=r.target;g.contains(o)||d?.()},x=()=>{if(!h)return;y();let r=null;typeof a=="function"?r=a():a?r=a:l.length>0&&(r=l[0]),r&&(p=setTimeout(()=>{p=null,r?.focus()},50)),document.addEventListener("keydown",C,!0),c&&document.addEventListener("click",v,!0)},w=()=>{h=!1,document.removeEventListener("keydown",C,!0),document.removeEventListener("click",v,!0);let r=null;typeof i=="function"?r=i():i?r=i:f&&(r=f),r&&document.body.contains(r)&&(m=setTimeout(()=>{m=null,r?.focus()},0))};return b=setTimeout(()=>{b=null,x()},0),n.OnDispose(()=>{b!=null&&clearTimeout(b),p!=null&&clearTimeout(p),m!=null&&clearTimeout(m),w()})})}function P(u={}){return{activate:()=>V({...u,active:!0}),deactivate:()=>V({...u,active:!1})}}function I(u){return{"~standard":{version:1,vendor:"beatui-custom",validate:s=>{const t=u.validate(s);return t.success?{value:t.data}:{issues:t.errors.map(a=>({message:a.message,path:a.path}))}},types:void 0},safeParse:s=>{const t=u.validate(s);return t.success?{success:!0,data:t.data}:{success:!1,error:{errors:t.errors.map(a=>({message:a.message,path:a.path?.map(i=>typeof i=="object"&&"key"in i?i.key.toString():i.toString())||[]}))}}}}}class k{optional(){return new U(this)}default(e){return new z(this,e)}schema(){return I(this)}}class E extends k{minLength;maxLength;pattern;customValidations=[];validate(e){if(typeof e!="string")return{success:!1,errors:[{message:"Expected string"}]};const s=[];this.minLength!==void 0&&e.length<this.minLength&&s.push({message:`Must be at least ${this.minLength} characters`}),this.maxLength!==void 0&&e.length>this.maxLength&&s.push({message:`Must be at most ${this.maxLength} characters`}),this.pattern&&!this.pattern.test(e)&&s.push({message:"Invalid format"});for(const t of this.customValidations){const a=t(e);a&&s.push({message:a})}return s.length>0?{success:!1,errors:s}:{success:!0,data:e}}min(e,s){const t=new E;return t.minLength=e,t.maxLength=this.maxLength,t.pattern=this.pattern,t.customValidations=[...this.customValidations],s&&t.customValidations.push(a=>a.length<e?s:null),t}max(e,s){const t=new E;return t.minLength=this.minLength,t.maxLength=e,t.pattern=this.pattern,t.customValidations=[...this.customValidations],s&&t.customValidations.push(a=>a.length>e?s:null),t}regex(e,s){const t=new E;return t.minLength=this.minLength,t.maxLength=this.maxLength,t.pattern=e,t.customValidations=[...this.customValidations],s&&t.customValidations.push(a=>e.test(a)?null:s),t}email(e="Please enter a valid email address"){const s=/^[^\s@]+@[^\s@]+\.[^\s@]+$/,t=new E;return t.minLength=this.minLength,t.maxLength=this.maxLength,t.pattern=this.pattern,t.customValidations=[...this.customValidations,a=>s.test(a)?null:e],t}refine(e){const s=new E;return s.minLength=this.minLength,s.maxLength=this.maxLength,s.pattern=this.pattern,s.customValidations=[...this.customValidations,e],s}}class T extends k{mustBeTrue=!1;trueMessage;validate(e){return typeof e!="boolean"?{success:!1,errors:[{message:"Expected boolean"}]}:this.mustBeTrue&&e!==!0?{success:!1,errors:[{message:this.trueMessage||"Must be true"}]}:{success:!0,data:e}}refine(e,s){const t=new T;t.mustBeTrue=this.mustBeTrue,t.trueMessage=this.trueMessage;const a=t.validate.bind(t);return t.validate=i=>{const c=a(i);return c.success?e(c.data)?c:{success:!1,errors:[{message:s}]}:c},t}literal(e,s){const t=new T;return t.mustBeTrue=!0,t.trueMessage=s,t}}class U extends k{constructor(e){super(),this.inner=e}validate(e){if(e===void 0)return{success:!0,data:void 0};const s=this.inner.validate(e);return s.success?{success:!0,data:s.data}:{success:!1,errors:s.errors}}}class z extends k{constructor(e,s){super(),this.inner=e,this.defaultValue=s}validate(e){return e===void 0?{success:!0,data:this.defaultValue}:this.inner.validate(e)}}class F extends k{constructor(e){super(),this.shape=e}validate(e){if(typeof e!="object"||e===null||Array.isArray(e))return{success:!1,errors:[{message:"Expected object"}]};const s=e,t={},a=[];for(const[i,c]of Object.entries(this.shape)){const d=c.validate(s[i]);if(d.success)t[i]=d.data;else for(const g of d.errors)a.push({message:g.message,path:[i,...g.path||[]]})}return a.length>0?{success:!1,errors:a}:{success:!0,data:t}}refine(e,s){const t=new F(this.shape),a=t.validate.bind(t);return t.validate=i=>{const c=a(i);if(!c.success)return c;const d=e(c.data);return d?{success:!1,errors:[{message:d,path:s?.path}]}:{success:!0,data:c.data}},t}}const R=()=>new E,H=()=>new T,K=u=>new F(u);function O(u){return n.WithBrowserCtx(e=>{const s=[],t=()=>s.forEach(i=>i());return u(({effect:i="opaque",mode:c="capturing",onClickOutside:d,onEscape:g,content:h,container:f="body"})=>{f==="body"&&(e=e.makePortal("body"));const l=S.useAnimatedElementToggle();l.listenOnClosed(t);let b=()=>{},p=()=>{};const m=r=>{r.key==="Escape"&&(g?.(),l.close())},y=()=>{d?.(),l.close()},C=r=>{b(),p(),r==="capturing"?(document.addEventListener("keydown",m),b=()=>document.removeEventListener("keydown",m),e.element.addEventListener("mousedown",y),p=()=>e.element.removeEventListener("mousedown",y)):(b=()=>{},p=()=>{})},v=n.Value.on(c,C);s.push(v),s.push(()=>{l.dispose(),b(),p()});const x=()=>{const r=new Set;for(const o of e.element.querySelectorAll(":scope > :not([data-overlay])"))o.hasAttribute("inert")?r.add(o):o.setAttribute("inert","");return s.push(()=>{for(const o of e.element.querySelectorAll(":scope > :not([data-overlay])"))r.has(o)||o.removeAttribute("inert");r.clear()}),document.activeElement?.blur?.(),n.html.div(n.WithElement(o=>l.setElement(o)),n.dataAttr.status(l.status.map(String)),n.dataAttr.overlay("true"),n.attr.class(n.computedOf(i??"opaque",c)((o,L)=>`bc-overlay bc-overlay--effect-${o} bc-overlay--mode-${L}`)),h)},w=n.render(x(),e.element,{disposeWithParent:!0,clear:!1,providers:e.providers});s.push(w),$.g(()=>l.open())},t)})}function M(u,e){const{size:s="md",dismissable:t=!0,showCloseButton:a=!0,onClose:i,overlayEffect:c="opaque",container:d="body",position:g="center"}=u;return O((h,f)=>{let l=()=>{};return e(m=>{l=f;const y=n.prop("capturing");n.Value.on(t,o=>{y.set(o?"capturing":"non-capturing")});const C=n.computedOf(m.header!=null,a)((o,L)=>o||L),v=D.sessionId("modal"),x=`${v}-header`,w=`${v}-body`,r=n.html.div(n.attr.class(n.computedOf(s,g)((o,L)=>`bc-modal bc-modal--size-${o} bc-modal--container-${d} bc-modal--position-${L}`)),n.attr.role("dialog"),n.aria.modal(!0),...m.header?[n.aria.labelledby(x)]:[],n.aria.describedby(w),n.attr.tabindex(-1),n.attr.id(v),n.dataAttr.focusTrap("true"),n.on.mousedown(o=>o.stopPropagation()),V({escapeDeactivates:!1,initialFocus:()=>{const o=document.getElementById(v);if(!o)return null;const L=o.querySelector('[aria-label="Close modal"]');if(L)return L;const A=o.querySelector('button, input, select, textarea, [tabindex]:not([tabindex="-1"])');return A||o}}),n.html.div(n.attr.class("bc-modal__content"),n.When(C,()=>n.html.div(n.attr.class("bc-modal__header"),n.html.div(n.attr.class("bc-modal__title"),...m.header?[n.attr.id(x)]:[],m.header),n.When(a,()=>n.Use(q.BeatUII18n,o=>j.CloseButton({size:"sm",label:o.$.closeModal,onClick:()=>{l(),f()}}))))),n.html.div(n.attr.class("bc-modal__body"),n.attr.id(w),m.body),m.footer&&n.html.div(n.attr.class("bc-modal__footer"),m.footer)));h({mode:y,effect:c??"opaque",container:d,content:r,onClickOutside:()=>{i?.(),f()},onEscape:()=>{i?.(),f()}})},()=>{l(),f()})})}function G(u,e){const{confirmText:s,cancelText:t,onConfirm:a,onCancel:i,...c}=u;return n.Use(q.BeatUII18n,d=>M({showCloseButton:!1,...c},(g,h)=>{const f=()=>{a?.(),h()},l=()=>{i?.(),h()};return e(p=>{g({body:p,footer:n.Fragment(n.attr.class("bc-modal__actions"),B.Button({variant:"outline",onClick:l},n.coalesce(t,d.$.cancel)),B.Button({color:"primary",variant:"filled",onClick:f},n.coalesce(s,d.$.confirm)))})},h)}))}exports.BooleanValidator=T;exports.ConfirmModal=G;exports.FocusTrap=V;exports.Modal=M;exports.ObjectValidator=F;exports.Overlay=O;exports.StringValidator=E;exports.boolean=H;exports.createStandardSchema=I;exports.object=K;exports.string=R;exports.useFocusTrap=P;
1
+ "use strict";const n=require("@tempots/dom"),S=require("./use-animated-toggle-DrqK7nUS.cjs"),$=require("./timer-BJHOsuS6.cjs"),D=require("./session-id-B5lJMzbB.cjs"),q=require("./translations-Cy9hoMGV.cjs"),j=require("./use-form-DQVN_Zjb.cjs"),B=require("./input-container-DiYEl_y8.cjs"),W=["a[href]","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])",'[tabindex]:not([tabindex="-1"])','[contenteditable="true"]',"audio[controls]","video[controls]","details > summary:first-of-type","details[open]"].join(", ");function _(u){return Array.from(u.querySelectorAll(W)).filter(e=>{const s=e;return s.offsetWidth>0&&s.offsetHeight>0&&!s.hasAttribute("inert")&&window.getComputedStyle(s).visibility!=="hidden"})}function V(u={}){const{active:e=!0,escapeDeactivates:s=!0,onEscape:t,initialFocus:a,returnFocus:i,clickOutsideDeactivates:c=!1,onClickOutside:d}=u;return n.WithElement(g=>{let h=e,f=null,l=[],b=null,p=null,m=null;typeof document<"u"&&(f=document.activeElement);const y=()=>{l=_(g)},C=r=>{if(h){if(s&&r.key==="Escape"){r.preventDefault(),t?.();return}if(r.key==="Tab"){if(y(),l.length===0){r.preventDefault();return}const o=l.indexOf(document.activeElement);r.shiftKey?o<=0&&(r.preventDefault(),l[l.length-1]?.focus()):o>=l.length-1&&(r.preventDefault(),l[0]?.focus())}}},v=r=>{if(!h||!c)return;const o=r.target;g.contains(o)||d?.()},x=()=>{if(!h)return;y();let r=null;typeof a=="function"?r=a():a?r=a:l.length>0&&(r=l[0]),r&&(p=setTimeout(()=>{p=null,r?.focus()},50)),document.addEventListener("keydown",C,!0),c&&document.addEventListener("click",v,!0)},w=()=>{h=!1,document.removeEventListener("keydown",C,!0),document.removeEventListener("click",v,!0);let r=null;typeof i=="function"?r=i():i?r=i:f&&(r=f),r&&document.body.contains(r)&&(m=setTimeout(()=>{m=null,r?.focus()},0))};return b=setTimeout(()=>{b=null,x()},0),n.OnDispose(()=>{b!=null&&clearTimeout(b),p!=null&&clearTimeout(p),m!=null&&clearTimeout(m),w()})})}function P(u={}){return{activate:()=>V({...u,active:!0}),deactivate:()=>V({...u,active:!1})}}function I(u){return{"~standard":{version:1,vendor:"beatui-custom",validate:s=>{const t=u.validate(s);return t.success?{value:t.data}:{issues:t.errors.map(a=>({message:a.message,path:a.path}))}},types:void 0},safeParse:s=>{const t=u.validate(s);return t.success?{success:!0,data:t.data}:{success:!1,error:{errors:t.errors.map(a=>({message:a.message,path:a.path?.map(i=>typeof i=="object"&&"key"in i?i.key.toString():i.toString())||[]}))}}}}}class k{optional(){return new U(this)}default(e){return new z(this,e)}schema(){return I(this)}}class E extends k{minLength;maxLength;pattern;customValidations=[];validate(e){if(typeof e!="string")return{success:!1,errors:[{message:"Expected string"}]};const s=[];this.minLength!==void 0&&e.length<this.minLength&&s.push({message:`Must be at least ${this.minLength} characters`}),this.maxLength!==void 0&&e.length>this.maxLength&&s.push({message:`Must be at most ${this.maxLength} characters`}),this.pattern&&!this.pattern.test(e)&&s.push({message:"Invalid format"});for(const t of this.customValidations){const a=t(e);a&&s.push({message:a})}return s.length>0?{success:!1,errors:s}:{success:!0,data:e}}min(e,s){const t=new E;return t.minLength=e,t.maxLength=this.maxLength,t.pattern=this.pattern,t.customValidations=[...this.customValidations],s&&t.customValidations.push(a=>a.length<e?s:null),t}max(e,s){const t=new E;return t.minLength=this.minLength,t.maxLength=e,t.pattern=this.pattern,t.customValidations=[...this.customValidations],s&&t.customValidations.push(a=>a.length>e?s:null),t}regex(e,s){const t=new E;return t.minLength=this.minLength,t.maxLength=this.maxLength,t.pattern=e,t.customValidations=[...this.customValidations],s&&t.customValidations.push(a=>e.test(a)?null:s),t}email(e="Please enter a valid email address"){const s=/^[^\s@]+@[^\s@]+\.[^\s@]+$/,t=new E;return t.minLength=this.minLength,t.maxLength=this.maxLength,t.pattern=this.pattern,t.customValidations=[...this.customValidations,a=>s.test(a)?null:e],t}refine(e){const s=new E;return s.minLength=this.minLength,s.maxLength=this.maxLength,s.pattern=this.pattern,s.customValidations=[...this.customValidations,e],s}}class T extends k{mustBeTrue=!1;trueMessage;validate(e){return typeof e!="boolean"?{success:!1,errors:[{message:"Expected boolean"}]}:this.mustBeTrue&&e!==!0?{success:!1,errors:[{message:this.trueMessage||"Must be true"}]}:{success:!0,data:e}}refine(e,s){const t=new T;t.mustBeTrue=this.mustBeTrue,t.trueMessage=this.trueMessage;const a=t.validate.bind(t);return t.validate=i=>{const c=a(i);return c.success?e(c.data)?c:{success:!1,errors:[{message:s}]}:c},t}literal(e,s){const t=new T;return t.mustBeTrue=!0,t.trueMessage=s,t}}class U extends k{constructor(e){super(),this.inner=e}validate(e){if(e===void 0)return{success:!0,data:void 0};const s=this.inner.validate(e);return s.success?{success:!0,data:s.data}:{success:!1,errors:s.errors}}}class z extends k{constructor(e,s){super(),this.inner=e,this.defaultValue=s}validate(e){return e===void 0?{success:!0,data:this.defaultValue}:this.inner.validate(e)}}class F extends k{constructor(e){super(),this.shape=e}validate(e){if(typeof e!="object"||e===null||Array.isArray(e))return{success:!1,errors:[{message:"Expected object"}]};const s=e,t={},a=[];for(const[i,c]of Object.entries(this.shape)){const d=c.validate(s[i]);if(d.success)t[i]=d.data;else for(const g of d.errors)a.push({message:g.message,path:[i,...g.path||[]]})}return a.length>0?{success:!1,errors:a}:{success:!0,data:t}}refine(e,s){const t=new F(this.shape),a=t.validate.bind(t);return t.validate=i=>{const c=a(i);if(!c.success)return c;const d=e(c.data);return d?{success:!1,errors:[{message:d,path:s?.path}]}:{success:!0,data:c.data}},t}}const R=()=>new E,H=()=>new T,K=u=>new F(u);function O(u){return n.WithBrowserCtx(e=>{const s=[],t=()=>s.forEach(i=>i());return u(({effect:i="opaque",mode:c="capturing",onClickOutside:d,onEscape:g,content:h,container:f="body"})=>{f==="body"&&(e=e.makePortal("body"));const l=S.useAnimatedElementToggle();l.listenOnClosed(t);let b=()=>{},p=()=>{};const m=r=>{r.key==="Escape"&&(g?.(),l.close())},y=()=>{d?.(),l.close()},C=r=>{b(),p(),r==="capturing"?(document.addEventListener("keydown",m),b=()=>document.removeEventListener("keydown",m),e.element.addEventListener("mousedown",y),p=()=>e.element.removeEventListener("mousedown",y)):(b=()=>{},p=()=>{})},v=n.Value.on(c,C);s.push(v),s.push(()=>{l.dispose(),b(),p()});const x=()=>{const r=new Set;for(const o of e.element.querySelectorAll(":scope > :not([data-overlay])"))o.hasAttribute("inert")?r.add(o):o.setAttribute("inert","");return s.push(()=>{for(const o of e.element.querySelectorAll(":scope > :not([data-overlay])"))r.has(o)||o.removeAttribute("inert");r.clear()}),document.activeElement?.blur?.(),n.html.div(n.WithElement(o=>l.setElement(o)),n.dataAttr.status(l.status.map(String)),n.dataAttr.overlay("true"),n.attr.class(n.computedOf(i??"opaque",c)((o,L)=>`bc-overlay bc-overlay--effect-${o} bc-overlay--mode-${L}`)),h)},w=n.render(x(),e.element,{disposeWithParent:!0,clear:!1,providers:e.providers});s.push(w),$.g(()=>l.open())},t)})}function M(u,e){const{size:s="md",dismissable:t=!0,showCloseButton:a=!0,onClose:i,overlayEffect:c="opaque",container:d="body",position:g="center"}=u;return O((h,f)=>{let l=()=>{};return e(m=>{l=f;const y=n.prop("capturing");n.Value.on(t,o=>{y.set(o?"capturing":"non-capturing")});const C=n.computedOf(m.header!=null,a)((o,L)=>o||L),v=D.sessionId("modal"),x=`${v}-header`,w=`${v}-body`,r=n.html.div(n.attr.class(n.computedOf(s,g)((o,L)=>`bc-modal bc-modal--size-${o} bc-modal--container-${d} bc-modal--position-${L}`)),n.attr.role("dialog"),n.aria.modal(!0),...m.header?[n.aria.labelledby(x)]:[],n.aria.describedby(w),n.attr.tabindex(-1),n.attr.id(v),n.dataAttr.focusTrap("true"),n.on.mousedown(o=>o.stopPropagation()),V({escapeDeactivates:!1,initialFocus:()=>{const o=document.getElementById(v);if(!o)return null;const L=o.querySelector('[aria-label="Close modal"]');if(L)return L;const A=o.querySelector('button, input, select, textarea, [tabindex]:not([tabindex="-1"])');return A||o}}),n.html.div(n.attr.class("bc-modal__content"),n.When(C,()=>n.html.div(n.attr.class("bc-modal__header"),n.html.div(n.attr.class("bc-modal__title"),...m.header?[n.attr.id(x)]:[],m.header),n.When(a,()=>n.Use(q.BeatUII18n,o=>j.CloseButton({size:"sm",label:o.$.closeModal,onClick:()=>{l(),f()}}))))),n.html.div(n.attr.class("bc-modal__body"),n.attr.id(w),m.body),m.footer&&n.html.div(n.attr.class("bc-modal__footer"),m.footer)));h({mode:y,effect:c??"opaque",container:d,content:r,onClickOutside:()=>{i?.(),f()},onEscape:()=>{i?.(),f()}})},()=>{l(),f()})})}function G(u,e){const{confirmText:s,cancelText:t,onConfirm:a,onCancel:i,...c}=u;return n.Use(q.BeatUII18n,d=>M({showCloseButton:!1,...c},(g,h)=>{const f=()=>{a?.(),h()},l=()=>{i?.(),h()};return e(p=>{g({body:p,footer:n.Fragment(n.attr.class("bc-modal__actions"),B.Button({variant:"outline",onClick:l},n.coalesce(t,d.$.cancel)),B.Button({color:"primary",variant:"filled",onClick:f},n.coalesce(s,d.$.confirm)))})},h)}))}exports.BooleanValidator=T;exports.ConfirmModal=G;exports.FocusTrap=V;exports.Modal=M;exports.ObjectValidator=F;exports.Overlay=O;exports.StringValidator=E;exports.boolean=H;exports.createStandardSchema=I;exports.object=K;exports.string=R;exports.useFocusTrap=P;
@@ -2,9 +2,9 @@ import { WithElement as q, OnDispose as W, WithBrowserCtx as z, Value as j, rend
2
2
  import { u as G } from "./use-animated-toggle-C7PTmnZi.js";
3
3
  import { g as J } from "./timer-Rd2sKnvH.js";
4
4
  import { s as N } from "./session-id-3KiilioY.js";
5
- import { B as P } from "./translations-uEUkO6gJ.js";
6
- import { C as Q } from "./use-form-lg6-7Brc.js";
7
- import { B as D } from "./input-container-BBWCDGTv.js";
5
+ import { B as P } from "./translations-CiBhB2FV.js";
6
+ import { C as Q } from "./use-form-Cd8YFWaN.js";
7
+ import { B as D } from "./input-container-9r1F3KuX.js";
8
8
  const X = [
9
9
  "a[href]",
10
10
  "button:not([disabled])",
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./translations-gVgMyNno.cjs"),i={loadingExtended:"Laden, even geduld",loadingShort:"Laden...",locale:"Landinstelling",iconDescription:"Pictogram",loadingIcon:"Laadpictogram",failedToLoadIcon:"Pictogram laden mislukt",editLabel:"Bewerken",selectOne:"Selecteer een",selectNone:"Geen",selectMany:"Selecteer meerdere",noResults:"Geen resultaten",passwordPlaceholderText:"Geheim wachtwoord",togglePasswordVisibility:"Wachtwoord zichtbaarheid wisselen",toggleMenu:"Menu wisselen",toggleAside:"Zijpaneel wisselen",mainNavigation:"Hoofdnavigatie",sidebar:"Zijbalk",closeDrawer:"Lade sluiten",closeModal:"Modaal sluiten",confirm:"Bevestigen",cancel:"Annuleren",addLabel:"Toevoegen",removeItem:"Item verwijderen",currentLocale:"Nederlands",ar:"Arabisch",de:"Duits",en:"Engels",es:"Spaans",fr:"Frans",hi:"Hindi",it:"Italiaans",ja:"Japans",ko:"Koreaans",nl:"Nederlands",pl:"Pools",pt:"Portugees",ru:"Russisch",tr:"Turks",vi:"Vietnamees",zh:"Chinees",he:"Hebreeuws",fa:"Perzisch",ur:"Urdu",emailPlaceholderText:"Voer je e-mail in",incrementValue:"Waarde verhogen",decrementValue:"Waarde verlagen",dropZoneInstructions:e=>e?"Klik om te kiezen of sleep bestanden hierheen, of druk op Enter of Spatie om bestandskiezer te openen":"Sleep bestanden hierheen",fileSizeUnits:["Bytes","KB","MB","GB","TB"],removeFile:"Bestand verwijderen",clearAllFiles:"Alle bestanden wissen",clearValue:"Waarde wissen",unknownType:"Onbekend type",filesInputInstructions:(e,n,t)=>{let o=e==null||e>1?"Klik om te kiezen of sleep bestanden hierheen":"Klik om te kiezen of sleep een bestand hierheen";if(e||n){const a=[];if(e!=null&&e>1&&a.push(`tot ${e} bestanden`),n&&t){const r=l.formatFileSize(n,{units:t});a.push(`max ${r} elk`)}a.length>0&&(o+=` (${a.join(", ")})`)}return o},paginationLabel:"Paginering",firstPage:"Eerste pagina",previousPage:"Vorige pagina",nextPage:"Volgende pagina",lastPage:"Laatste pagina",breadcrumbs:"Kruimelpad",commandPalette:"Opdrachtenpalet",typeACommand:"Typ een opdracht...",noResultsFound:"Geen resultaten gevonden",noMatchingCommands:"Geen overeenkomende opdrachten",appearanceSystem:"Systeem",appearanceLight:"Licht",appearanceDark:"Donker",ok:"OK",changeTypeConfirmation:"Het wijzigen van het type wist de huidige waarde. Doorgaan?",notifications:"Meldingen",markAllAsRead:"Alles als gelezen markeren",noNotifications:"Geen meldingen",schemaConflictsDetected:"Schemaconflicten gedetecteerd",schemaViolationsDetected:"Schemaschendingen gedetecteerd",properties:"Eigenschappen",uploading:"Uploaden...",dropFilesOrBrowse:"Sleep bestanden hierheen of klik om te bladeren",acceptedTypes:e=>`Toegestane typen: ${e}`,enterUrlPrompt:"Voer URL in:",exceeded:"(overschreden)",pdfPreview:"PDF-voorbeeld",lexical:{fontFamily:"Lettertype",fontSize:"Lettergrootte",fontColor:"Letterkleur",highlightColor:"Markeringskleur",backgroundColor:"Achtergrondkleur",bold:"Vet",italic:"Cursief",underline:"Onderstrepen",strikethrough:"Doorhalen",code:"Code",clearFormatting:"Opmaak wissen",normal:"Normaal",heading:e=>`Kop ${e}`,bulletList:"Opsommingstekens",orderedList:"Genummerde lijst",checkList:"Controlelijst",indent:"Inspringen",outdent:"Uitspringen",blockquote:"Citaat",codeBlock:"Codeblok",horizontalRule:"Horizontale lijn",insertTable:"Tabel invoegen",link:"Link",undo:"Ongedaan maken",redo:"Opnieuw",cut:"Knippen",copy:"Kopiëren",paste:"Plakken",defaultOption:"Standaard",slashCommands:"Schuine-streepopdrachten",noCommandsFound:"Geen opdrachten gevonden",changeBlockType:"Bloktype wijzigen",blockTypes:"Bloktypen",enterUrl:"Voer URL in:"},prosemirror:{bold:"Bold",italic:"Italic",code:"Code",link:"Link",removeLink:"Remove Link",heading:e=>`Heading ${e}`,bulletList:"Bullet List",orderedList:"Ordered List",blockquote:"Blockquote",codeBlock:"Code Block",horizontalRule:"Horizontal Rule",linkUrlPlaceholder:"https://example.com"},pdfPageViewer:{loading:"PDF laden...",loadFailed:"PDF laden mislukt",invalidPdf:"Ongeldig PDF-bestand",pageOutOfRange:(e,n)=>`Pagina ${e} valt buiten bereik (1-${n})`,renderFailed:"PDF-pagina weergeven mislukt"}};exports.default=i;exports.nl=i;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./translations-Cy9hoMGV.cjs"),i={loadingExtended:"Laden, even geduld",loadingShort:"Laden...",locale:"Landinstelling",iconDescription:"Pictogram",loadingIcon:"Laadpictogram",failedToLoadIcon:"Pictogram laden mislukt",editLabel:"Bewerken",selectOne:"Selecteer een",selectNone:"Geen",selectMany:"Selecteer meerdere",noResults:"Geen resultaten",passwordPlaceholderText:"Geheim wachtwoord",togglePasswordVisibility:"Wachtwoord zichtbaarheid wisselen",toggleMenu:"Menu wisselen",toggleAside:"Zijpaneel wisselen",mainNavigation:"Hoofdnavigatie",sidebar:"Zijbalk",closeDrawer:"Lade sluiten",closeModal:"Modaal sluiten",confirm:"Bevestigen",cancel:"Annuleren",addLabel:"Toevoegen",removeItem:"Item verwijderen",currentLocale:"Nederlands",ar:"Arabisch",de:"Duits",en:"Engels",es:"Spaans",fr:"Frans",hi:"Hindi",it:"Italiaans",ja:"Japans",ko:"Koreaans",nl:"Nederlands",pl:"Pools",pt:"Portugees",ru:"Russisch",tr:"Turks",vi:"Vietnamees",zh:"Chinees",he:"Hebreeuws",fa:"Perzisch",ur:"Urdu",emailPlaceholderText:"Voer je e-mail in",incrementValue:"Waarde verhogen",decrementValue:"Waarde verlagen",dropZoneInstructions:e=>e?"Klik om te kiezen of sleep bestanden hierheen, of druk op Enter of Spatie om bestandskiezer te openen":"Sleep bestanden hierheen",fileSizeUnits:["Bytes","KB","MB","GB","TB"],removeFile:"Bestand verwijderen",clearAllFiles:"Alle bestanden wissen",clearValue:"Waarde wissen",unknownType:"Onbekend type",filesInputInstructions:(e,n,o)=>{let a=e==null||e>1?"Klik om te kiezen of sleep bestanden hierheen":"Klik om te kiezen of sleep een bestand hierheen";if(e||n){const t=[];if(e!=null&&e>1&&t.push(`tot ${e} bestanden`),n&&o){const l=r.formatFileSize(n,{units:o});t.push(`max ${l} elk`)}t.length>0&&(a+=` (${t.join(", ")})`)}return a},paginationLabel:"Paginering",firstPage:"Eerste pagina",previousPage:"Vorige pagina",nextPage:"Volgende pagina",lastPage:"Laatste pagina",breadcrumbs:"Kruimelpad",commandPalette:"Opdrachtenpalet",typeACommand:"Typ een opdracht...",noResultsFound:"Geen resultaten gevonden",noMatchingCommands:"Geen overeenkomende opdrachten",appearanceSystem:"Systeem",appearanceLight:"Licht",appearanceDark:"Donker",ok:"OK",changeTypeConfirmation:"Het wijzigen van het type wist de huidige waarde. Doorgaan?",notifications:"Meldingen",markAllAsRead:"Alles als gelezen markeren",noNotifications:"Geen meldingen",schemaConflictsDetected:"Schemaconflicten gedetecteerd",schemaViolationsDetected:"Schemaschendingen gedetecteerd",properties:"Eigenschappen",uploading:"Uploaden...",dropFilesOrBrowse:"Sleep bestanden hierheen of klik om te bladeren",acceptedTypes:e=>`Toegestane typen: ${e}`,enterUrlPrompt:"Voer URL in:",exceeded:"(overschreden)",pdfPreview:"PDF-voorbeeld",lexical:{fontFamily:"Lettertype",fontSize:"Lettergrootte",fontColor:"Letterkleur",highlightColor:"Markeringskleur",backgroundColor:"Achtergrondkleur",bold:"Vet",italic:"Cursief",underline:"Onderstrepen",strikethrough:"Doorhalen",code:"Code",clearFormatting:"Opmaak wissen",normal:"Normaal",heading:e=>`Kop ${e}`,bulletList:"Opsommingstekens",orderedList:"Genummerde lijst",checkList:"Controlelijst",indent:"Inspringen",outdent:"Uitspringen",blockquote:"Citaat",codeBlock:"Codeblok",horizontalRule:"Horizontale lijn",insertTable:"Tabel invoegen",link:"Link",undo:"Ongedaan maken",redo:"Opnieuw",cut:"Knippen",copy:"Kopiëren",paste:"Plakken",defaultOption:"Standaard",slashCommands:"Schuine-streepopdrachten",noCommandsFound:"Geen opdrachten gevonden",changeBlockType:"Bloktype wijzigen",blockTypes:"Bloktypen",enterUrl:"Voer URL in:",tableActions:"Table actions",insertRowAbove:"Insert row above",insertRowBelow:"Insert row below",insertColumnLeft:"Insert column left",insertColumnRight:"Insert column right",deleteRow:"Delete row",deleteColumn:"Delete column",deleteTable:"Delete table"},prosemirror:{bold:"Bold",italic:"Italic",code:"Code",link:"Link",removeLink:"Remove Link",heading:e=>`Heading ${e}`,bulletList:"Bullet List",orderedList:"Ordered List",blockquote:"Blockquote",codeBlock:"Code Block",horizontalRule:"Horizontal Rule",linkUrlPlaceholder:"https://example.com"},pdfPageViewer:{loading:"PDF laden...",loadFailed:"PDF laden mislukt",invalidPdf:"Ongeldig PDF-bestand",pageOutOfRange:(e,n)=>`Pagina ${e} valt buiten bereik (1-${n})`,renderFailed:"PDF-pagina weergeven mislukt"}};exports.default=i;exports.nl=i;
@@ -1,5 +1,5 @@
1
- import { f as r } from "./translations-uEUkO6gJ.js";
2
- const d = {
1
+ import { f as l } from "./translations-CiBhB2FV.js";
2
+ const s = {
3
3
  loadingExtended: "Laden, even geduld",
4
4
  loadingShort: "Laden...",
5
5
  locale: "Landinstelling",
@@ -58,19 +58,19 @@ const d = {
58
58
  // inputs reset
59
59
  clearValue: "Waarde wissen",
60
60
  unknownType: "Onbekend type",
61
- filesInputInstructions: (e, n, t) => {
62
- let o = e == null || e > 1 ? "Klik om te kiezen of sleep bestanden hierheen" : "Klik om te kiezen of sleep een bestand hierheen";
61
+ filesInputInstructions: (e, n, o) => {
62
+ let a = e == null || e > 1 ? "Klik om te kiezen of sleep bestanden hierheen" : "Klik om te kiezen of sleep een bestand hierheen";
63
63
  if (e || n) {
64
- const a = [];
65
- if (e != null && e > 1 && a.push(`tot ${e} bestanden`), n && t) {
66
- const i = r(n, {
67
- units: t
64
+ const t = [];
65
+ if (e != null && e > 1 && t.push(`tot ${e} bestanden`), n && o) {
66
+ const i = l(n, {
67
+ units: o
68
68
  });
69
- a.push(`max ${i} elk`);
69
+ t.push(`max ${i} elk`);
70
70
  }
71
- a.length > 0 && (o += ` (${a.join(", ")})`);
71
+ t.length > 0 && (a += ` (${t.join(", ")})`);
72
72
  }
73
- return o;
73
+ return a;
74
74
  },
75
75
  // Pagination
76
76
  paginationLabel: "Paginering",
@@ -144,7 +144,15 @@ const d = {
144
144
  noCommandsFound: "Geen opdrachten gevonden",
145
145
  changeBlockType: "Bloktype wijzigen",
146
146
  blockTypes: "Bloktypen",
147
- enterUrl: "Voer URL in:"
147
+ enterUrl: "Voer URL in:",
148
+ tableActions: "Table actions",
149
+ insertRowAbove: "Insert row above",
150
+ insertRowBelow: "Insert row below",
151
+ insertColumnLeft: "Insert column left",
152
+ insertColumnRight: "Insert column right",
153
+ deleteRow: "Delete row",
154
+ deleteColumn: "Delete column",
155
+ deleteTable: "Delete table"
148
156
  },
149
157
  // prosemirror
150
158
  prosemirror: {
@@ -171,6 +179,6 @@ const d = {
171
179
  }
172
180
  };
173
181
  export {
174
- d as default,
175
- d as nl
182
+ s as default,
183
+ s as nl
176
184
  };
@@ -1 +1 @@
1
- "use strict";const v=require("./text-input-w0eVcqk5.cjs"),t=require("@tempots/dom"),V=require("./input-container-B31Seozh.cjs"),f=require("./translations-gVgMyNno.cjs"),_=require("./use-form-i97PToWB.cjs"),O=n=>{const r={name:"email",autocomplete:"email",...n},{value:s,before:l,onBlur:o,onChange:p,onInput:c,placeholder:h}=r,m=l??V.InputIcon({icon:"line-md:email",size:n.size,color:"neutral"});return t.Use(f.BeatUII18n,d=>V.InputContainer({...n,before:m,input:t.input.email(v.CommonInputAttributes(r),t.attr.placeholder(t.coalesce(h,d.$.emailPlaceholderText)),t.attr.value(s),t.attr.class("bc-input"),o!=null?t.on.blur(t.emitValue(o)):t.Empty,p!=null?t.on.change(t.emitValue(p)):t.Empty,c!=null?t.on.input(t.emitValue(c)):t.Empty)}))},B=n=>{const{value:r,onBlur:s,onChange:l,onInput:o,before:p,after:c,hasError:h,disabled:m,autocomplete:d,placeholder:g,...b}=n,y={name:"password",disabled:m,...b},i=t.prop(!0),a=t.computedOf(i,d)((e,u)=>e?u??"current-password":"off");return t.Use(f.BeatUII18n,e=>{const u=t.computedOf(e.$.passwordPlaceholderText,i,g)((I,C,E)=>C?"•••••••••••••••":E??I),w=t.html.button(t.attr.type("button"),t.attr.class("bc-input-container__password-toggle"),t.aria.label(e.$.togglePasswordVisibility),t.on.click(()=>i.update(I=>!I)),t.When(i,()=>f.Icon({icon:"line-md:watch"}),()=>f.Icon({icon:"line-md:watch-off"})));return V.InputContainer({before:p,disabled:m,hasError:h,input:t.html.input(v.CommonInputAttributes({...y,autocomplete:a,placeholder:u}),t.When(i,()=>t.attr.type("password"),()=>t.attr.type("text")),t.attr.class("bc-input"),t.attr.value(r),s!=null?t.on.blur(t.emitValue(s)):t.Empty,l!=null?t.on.change(t.emitValue(l)):t.Empty,o!=null?t.on.input(t.emitValue(o)):t.Empty),after:c!=null?t.Fragment(w,c):w})})};function U(n){switch(n){case"success":return"material-symbols:check-circle-outline";case"warning":return"material-symbols:warning-outline";case"danger":return"material-symbols:error-outline";default:return"material-symbols:info-outline"}}function P(n){switch(n){case"success":return"success";case"warning":return"warning";case"danger":return"danger";default:return"info"}}function T(n,r,s,l){const o=["bc-notice",`bc-notice--${n}`,`bc-notice--tone-${r}`];return s&&o.push("bc-notice--dismissible"),l&&l.length>0&&o.push(l),o.join(" ")}function $({variant:n="info",tone:r="subtle",role:s,title:l,icon:o,closable:p=!1,onDismiss:c,class:h},...m){const d=t.prop(!0);return t.When(d,()=>{const g=t.Value.map(p,a=>!!a||c!=null),b=t.Value.map(n,a=>a??"info"),y=t.Value.map(r,a=>a??"subtle"),i=t.computedOf(s,b)((a,e)=>a??(e==="danger"?"alert":"status"));return t.Use(f.BeatUII18n,a=>t.html.div(t.attr.class(t.computedOf(b,y,g,h)((e,u,w,I)=>T(e,u,w,I))),t.attr.role(t.Value.map(i,e=>e)),t.Unless(t.Value.map(o,e=>e===!1),()=>t.html.div(t.attr.class("bc-notice__icon"),f.Icon({icon:t.computedOf(o,b)((e,u)=>e===void 0?U(u):String(e)),size:"md",color:t.Value.map(b,P)}))),t.html.div(t.attr.class("bc-notice__body"),t.Ensure(l,e=>t.html.div(t.attr.class("bc-notice__title"),e)),t.html.div(t.attr.class("bc-notice__content"),...m)),t.When(g,()=>_.CloseButton({size:"xs",label:a.$.closeModal,onClick:()=>{d.set(!1),c?.()}}))))})}exports.EmailInput=O;exports.Notice=$;exports.PasswordInput=B;
1
+ "use strict";const v=require("./text-input-DUnhBUd6.cjs"),t=require("@tempots/dom"),V=require("./input-container-DiYEl_y8.cjs"),f=require("./translations-Cy9hoMGV.cjs"),_=require("./use-form-DQVN_Zjb.cjs"),O=n=>{const r={name:"email",autocomplete:"email",...n},{value:s,before:l,onBlur:o,onChange:p,onInput:c,placeholder:h}=r,m=l??V.InputIcon({icon:"line-md:email",size:n.size,color:"neutral"});return t.Use(f.BeatUII18n,d=>V.InputContainer({...n,before:m,input:t.input.email(v.CommonInputAttributes(r),t.attr.placeholder(t.coalesce(h,d.$.emailPlaceholderText)),t.attr.value(s),t.attr.class("bc-input"),o!=null?t.on.blur(t.emitValue(o)):t.Empty,p!=null?t.on.change(t.emitValue(p)):t.Empty,c!=null?t.on.input(t.emitValue(c)):t.Empty)}))},B=n=>{const{value:r,onBlur:s,onChange:l,onInput:o,before:p,after:c,hasError:h,disabled:m,autocomplete:d,placeholder:g,...b}=n,y={name:"password",disabled:m,...b},i=t.prop(!0),a=t.computedOf(i,d)((e,u)=>e?u??"current-password":"off");return t.Use(f.BeatUII18n,e=>{const u=t.computedOf(e.$.passwordPlaceholderText,i,g)((I,C,E)=>C?"•••••••••••••••":E??I),w=t.html.button(t.attr.type("button"),t.attr.class("bc-input-container__password-toggle"),t.aria.label(e.$.togglePasswordVisibility),t.on.click(()=>i.update(I=>!I)),t.When(i,()=>f.Icon({icon:"line-md:watch"}),()=>f.Icon({icon:"line-md:watch-off"})));return V.InputContainer({before:p,disabled:m,hasError:h,input:t.html.input(v.CommonInputAttributes({...y,autocomplete:a,placeholder:u}),t.When(i,()=>t.attr.type("password"),()=>t.attr.type("text")),t.attr.class("bc-input"),t.attr.value(r),s!=null?t.on.blur(t.emitValue(s)):t.Empty,l!=null?t.on.change(t.emitValue(l)):t.Empty,o!=null?t.on.input(t.emitValue(o)):t.Empty),after:c!=null?t.Fragment(w,c):w})})};function U(n){switch(n){case"success":return"material-symbols:check-circle-outline";case"warning":return"material-symbols:warning-outline";case"danger":return"material-symbols:error-outline";default:return"material-symbols:info-outline"}}function P(n){switch(n){case"success":return"success";case"warning":return"warning";case"danger":return"danger";default:return"info"}}function T(n,r,s,l){const o=["bc-notice",`bc-notice--${n}`,`bc-notice--tone-${r}`];return s&&o.push("bc-notice--dismissible"),l&&l.length>0&&o.push(l),o.join(" ")}function $({variant:n="info",tone:r="subtle",role:s,title:l,icon:o,closable:p=!1,onDismiss:c,class:h},...m){const d=t.prop(!0);return t.When(d,()=>{const g=t.Value.map(p,a=>!!a||c!=null),b=t.Value.map(n,a=>a??"info"),y=t.Value.map(r,a=>a??"subtle"),i=t.computedOf(s,b)((a,e)=>a??(e==="danger"?"alert":"status"));return t.Use(f.BeatUII18n,a=>t.html.div(t.attr.class(t.computedOf(b,y,g,h)((e,u,w,I)=>T(e,u,w,I))),t.attr.role(t.Value.map(i,e=>e)),t.Unless(t.Value.map(o,e=>e===!1),()=>t.html.div(t.attr.class("bc-notice__icon"),f.Icon({icon:t.computedOf(o,b)((e,u)=>e===void 0?U(u):String(e)),size:"md",color:t.Value.map(b,P)}))),t.html.div(t.attr.class("bc-notice__body"),t.Ensure(l,e=>t.html.div(t.attr.class("bc-notice__title"),e)),t.html.div(t.attr.class("bc-notice__content"),...m)),t.When(g,()=>_.CloseButton({size:"xs",label:a.$.closeModal,onClick:()=>{d.set(!1),c?.()}}))))})}exports.EmailInput=O;exports.Notice=$;exports.PasswordInput=B;
@@ -1,8 +1,8 @@
1
- import { C as x } from "./text-input-6FD7p7hN.js";
1
+ import { C as x } from "./text-input-BgPx8BbG.js";
2
2
  import { Use as E, input as U, attr as t, coalesce as j, Empty as w, on as m, emitValue as I, prop as z, computedOf as C, html as p, aria as A, When as P, Fragment as F, Value as g, Unless as M, Ensure as R } from "@tempots/dom";
3
- import { a as S, I as O } from "./input-container-BBWCDGTv.js";
4
- import { B as V, I as $ } from "./translations-uEUkO6gJ.js";
5
- import { C as W } from "./use-form-lg6-7Brc.js";
3
+ import { a as S, I as O } from "./input-container-9r1F3KuX.js";
4
+ import { B as V, I as $ } from "./translations-CiBhB2FV.js";
5
+ import { C as W } from "./use-form-Cd8YFWaN.js";
6
6
  const X = (n) => {
7
7
  const l = {
8
8
  name: "email",
@@ -1,4 +1,4 @@
1
- "use strict";const vr=require("./string-B9vVyfq3.cjs"),D=require("@tempots/dom"),na=require("./utils-DIUEhA-Z.cjs"),me=require("./stack-4VUGISn6.cjs"),Mt=require("./translations-gVgMyNno.cjs"),Lt=require("./_commonjsHelpers-DKOUU3wS.cjs");var Me={exports:{}},Bt={},ve={},be={},Zt={},Xt={},Yt={},gr;function Dt(){return gr||(gr=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.regexpCode=e.getEsmExportName=e.getProperty=e.safeStringify=e.stringify=e.strConcat=e.addCodeArg=e.str=e._=e.nil=e._Code=e.Name=e.IDENTIFIER=e._CodeOrName=void 0;class t{}e._CodeOrName=t,e.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;class a extends t{constructor(c){if(super(),!e.IDENTIFIER.test(c))throw new Error("CodeGen: name must be a valid identifier");this.str=c}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}}e.Name=a;class n extends t{constructor(c){super(),this._items=typeof c=="string"?[c]:c}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;const c=this._items[0];return c===""||c==='""'}get str(){var c;return(c=this._str)!==null&&c!==void 0?c:this._str=this._items.reduce((f,b)=>`${f}${b}`,"")}get names(){var c;return(c=this._names)!==null&&c!==void 0?c:this._names=this._items.reduce((f,b)=>(b instanceof a&&(f[b.str]=(f[b.str]||0)+1),f),{})}}e._Code=n,e.nil=new n("");function i(p,...c){const f=[p[0]];let b=0;for(;b<c.length;)o(f,c[b]),f.push(p[++b]);return new n(f)}e._=i;const r=new n("+");function s(p,...c){const f=[v(p[0])];let b=0;for(;b<c.length;)f.push(r),o(f,c[b]),f.push(r,v(p[++b]));return l(f),new n(f)}e.str=s;function o(p,c){c instanceof n?p.push(...c._items):c instanceof a?p.push(c):p.push(w(c))}e.addCodeArg=o;function l(p){let c=1;for(;c<p.length-1;){if(p[c]===r){const f=y(p[c-1],p[c+1]);if(f!==void 0){p.splice(c-1,3,f);continue}p[c++]="+"}c++}}function y(p,c){if(c==='""')return p;if(p==='""')return c;if(typeof p=="string")return c instanceof a||p[p.length-1]!=='"'?void 0:typeof c!="string"?`${p.slice(0,-1)}${c}"`:c[0]==='"'?p.slice(0,-1)+c.slice(1):void 0;if(typeof c=="string"&&c[0]==='"'&&!(p instanceof a))return`"${p}${c.slice(1)}`}function h(p,c){return c.emptyStr()?p:p.emptyStr()?c:s`${p}${c}`}e.strConcat=h;function w(p){return typeof p=="number"||typeof p=="boolean"||p===null?p:v(Array.isArray(p)?p.join(","):p)}function m(p){return new n(v(p))}e.stringify=m;function v(p){return JSON.stringify(p).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}e.safeStringify=v;function $(p){return typeof p=="string"&&e.IDENTIFIER.test(p)?new n(`.${p}`):i`[${p}]`}e.getProperty=$;function S(p){if(typeof p=="string"&&e.IDENTIFIER.test(p))return new n(`${p}`);throw new Error(`CodeGen: invalid export name: ${p}, use explicit $id name mapping`)}e.getEsmExportName=S;function u(p){return new n(p.toString())}e.regexpCode=u})(Yt)),Yt}var Qt={},$r;function _r(){return $r||($r=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ValueScope=e.ValueScopeName=e.Scope=e.varKinds=e.UsedValueState=void 0;const t=Dt();class a extends Error{constructor(y){super(`CodeGen: "code" for ${y} not defined`),this.value=y.value}}var n;(function(l){l[l.Started=0]="Started",l[l.Completed=1]="Completed"})(n||(e.UsedValueState=n={})),e.varKinds={const:new t.Name("const"),let:new t.Name("let"),var:new t.Name("var")};class i{constructor({prefixes:y,parent:h}={}){this._names={},this._prefixes=y,this._parent=h}toName(y){return y instanceof t.Name?y:this.name(y)}name(y){return new t.Name(this._newName(y))}_newName(y){const h=this._names[y]||this._nameGroup(y);return`${y}${h.index++}`}_nameGroup(y){var h,w;if(!((w=(h=this._parent)===null||h===void 0?void 0:h._prefixes)===null||w===void 0)&&w.has(y)||this._prefixes&&!this._prefixes.has(y))throw new Error(`CodeGen: prefix "${y}" is not allowed in this scope`);return this._names[y]={prefix:y,index:0}}}e.Scope=i;class r extends t.Name{constructor(y,h){super(h),this.prefix=y}setValue(y,{property:h,itemIndex:w}){this.value=y,this.scopePath=(0,t._)`.${new t.Name(h)}[${w}]`}}e.ValueScopeName=r;const s=(0,t._)`\n`;class o extends i{constructor(y){super(y),this._values={},this._scope=y.scope,this.opts={...y,_n:y.lines?s:t.nil}}get(){return this._scope}name(y){return new r(y,this._newName(y))}value(y,h){var w;if(h.ref===void 0)throw new Error("CodeGen: ref must be passed in value");const m=this.toName(y),{prefix:v}=m,$=(w=h.key)!==null&&w!==void 0?w:h.ref;let S=this._values[v];if(S){const c=S.get($);if(c)return c}else S=this._values[v]=new Map;S.set($,m);const u=this._scope[v]||(this._scope[v]=[]),p=u.length;return u[p]=h.ref,m.setValue(h,{property:v,itemIndex:p}),m}getValue(y,h){const w=this._values[y];if(w)return w.get(h)}scopeRefs(y,h=this._values){return this._reduceValues(h,w=>{if(w.scopePath===void 0)throw new Error(`CodeGen: name "${w}" has no value`);return(0,t._)`${y}${w.scopePath}`})}scopeCode(y=this._values,h,w){return this._reduceValues(y,m=>{if(m.value===void 0)throw new Error(`CodeGen: name "${m}" has no value`);return m.value.code},h,w)}_reduceValues(y,h,w={},m){let v=t.nil;for(const $ in y){const S=y[$];if(!S)continue;const u=w[$]=w[$]||new Map;S.forEach(p=>{if(u.has(p))return;u.set(p,n.Started);let c=h(p);if(c){const f=this.opts.es5?e.varKinds.var:e.varKinds.const;v=(0,t._)`${v}${f} ${p} = ${c};${this.opts._n}`}else if(c=m?.(p))v=(0,t._)`${v}${c}${this.opts._n}`;else throw new a(p);u.set(p,n.Completed)})}return v}}e.ValueScope=o})(Qt)),Qt}var br;function J(){return br||(br=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.or=e.and=e.not=e.CodeGen=e.operators=e.varKinds=e.ValueScopeName=e.ValueScope=e.Scope=e.Name=e.regexpCode=e.stringify=e.getProperty=e.nil=e.strConcat=e.str=e._=void 0;const t=Dt(),a=_r();var n=Dt();Object.defineProperty(e,"_",{enumerable:!0,get:function(){return n._}}),Object.defineProperty(e,"str",{enumerable:!0,get:function(){return n.str}}),Object.defineProperty(e,"strConcat",{enumerable:!0,get:function(){return n.strConcat}}),Object.defineProperty(e,"nil",{enumerable:!0,get:function(){return n.nil}}),Object.defineProperty(e,"getProperty",{enumerable:!0,get:function(){return n.getProperty}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return n.stringify}}),Object.defineProperty(e,"regexpCode",{enumerable:!0,get:function(){return n.regexpCode}}),Object.defineProperty(e,"Name",{enumerable:!0,get:function(){return n.Name}});var i=_r();Object.defineProperty(e,"Scope",{enumerable:!0,get:function(){return i.Scope}}),Object.defineProperty(e,"ValueScope",{enumerable:!0,get:function(){return i.ValueScope}}),Object.defineProperty(e,"ValueScopeName",{enumerable:!0,get:function(){return i.ValueScopeName}}),Object.defineProperty(e,"varKinds",{enumerable:!0,get:function(){return i.varKinds}}),e.operators={GT:new t._Code(">"),GTE:new t._Code(">="),LT:new t._Code("<"),LTE:new t._Code("<="),EQ:new t._Code("==="),NEQ:new t._Code("!=="),NOT:new t._Code("!"),OR:new t._Code("||"),AND:new t._Code("&&"),ADD:new t._Code("+")};class r{optimizeNodes(){return this}optimizeNames(g,E){return this}}class s extends r{constructor(g,E,N){super(),this.varKind=g,this.name=E,this.rhs=N}render({es5:g,_n:E}){const N=g?a.varKinds.var:this.varKind,K=this.rhs===void 0?"":` = ${this.rhs}`;return`${N} ${this.name}${K};`+E}optimizeNames(g,E){if(g[this.name.str])return this.rhs&&(this.rhs=U(this.rhs,g,E)),this}get names(){return this.rhs instanceof t._CodeOrName?this.rhs.names:{}}}class o extends r{constructor(g,E,N){super(),this.lhs=g,this.rhs=E,this.sideEffects=N}render({_n:g}){return`${this.lhs} = ${this.rhs};`+g}optimizeNames(g,E){if(!(this.lhs instanceof t.Name&&!g[this.lhs.str]&&!this.sideEffects))return this.rhs=U(this.rhs,g,E),this}get names(){const g=this.lhs instanceof t.Name?{}:{...this.lhs.names};return F(g,this.rhs)}}class l extends o{constructor(g,E,N,K){super(g,N,K),this.op=E}render({_n:g}){return`${this.lhs} ${this.op}= ${this.rhs};`+g}}class y extends r{constructor(g){super(),this.label=g,this.names={}}render({_n:g}){return`${this.label}:`+g}}class h extends r{constructor(g){super(),this.label=g,this.names={}}render({_n:g}){return`break${this.label?` ${this.label}`:""};`+g}}class w extends r{constructor(g){super(),this.error=g}render({_n:g}){return`throw ${this.error};`+g}get names(){return this.error.names}}class m extends r{constructor(g){super(),this.code=g}render({_n:g}){return`${this.code};`+g}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(g,E){return this.code=U(this.code,g,E),this}get names(){return this.code instanceof t._CodeOrName?this.code.names:{}}}class v extends r{constructor(g=[]){super(),this.nodes=g}render(g){return this.nodes.reduce((E,N)=>E+N.render(g),"")}optimizeNodes(){const{nodes:g}=this;let E=g.length;for(;E--;){const N=g[E].optimizeNodes();Array.isArray(N)?g.splice(E,1,...N):N?g[E]=N:g.splice(E,1)}return g.length>0?this:void 0}optimizeNames(g,E){const{nodes:N}=this;let K=N.length;for(;K--;){const G=N[K];G.optimizeNames(g,E)||(Q(g,G.names),N.splice(K,1))}return N.length>0?this:void 0}get names(){return this.nodes.reduce((g,E)=>z(g,E.names),{})}}class $ extends v{render(g){return"{"+g._n+super.render(g)+"}"+g._n}}class S extends v{}class u extends ${}u.kind="else";class p extends ${constructor(g,E){super(E),this.condition=g}render(g){let E=`if(${this.condition})`+super.render(g);return this.else&&(E+="else "+this.else.render(g)),E}optimizeNodes(){super.optimizeNodes();const g=this.condition;if(g===!0)return this.nodes;let E=this.else;if(E){const N=E.optimizeNodes();E=this.else=Array.isArray(N)?new u(N):N}if(E)return g===!1?E instanceof p?E:E.nodes:this.nodes.length?this:new p(ae(g),E instanceof p?[E]:E.nodes);if(!(g===!1||!this.nodes.length))return this}optimizeNames(g,E){var N;if(this.else=(N=this.else)===null||N===void 0?void 0:N.optimizeNames(g,E),!!(super.optimizeNames(g,E)||this.else))return this.condition=U(this.condition,g,E),this}get names(){const g=super.names;return F(g,this.condition),this.else&&z(g,this.else.names),g}}p.kind="if";class c extends ${}c.kind="for";class f extends c{constructor(g){super(),this.iteration=g}render(g){return`for(${this.iteration})`+super.render(g)}optimizeNames(g,E){if(super.optimizeNames(g,E))return this.iteration=U(this.iteration,g,E),this}get names(){return z(super.names,this.iteration.names)}}class b extends c{constructor(g,E,N,K){super(),this.varKind=g,this.name=E,this.from=N,this.to=K}render(g){const E=g.es5?a.varKinds.var:this.varKind,{name:N,from:K,to:G}=this;return`for(${E} ${N}=${K}; ${N}<${G}; ${N}++)`+super.render(g)}get names(){const g=F(super.names,this.from);return F(g,this.to)}}class d extends c{constructor(g,E,N,K){super(),this.loop=g,this.varKind=E,this.name=N,this.iterable=K}render(g){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(g)}optimizeNames(g,E){if(super.optimizeNames(g,E))return this.iterable=U(this.iterable,g,E),this}get names(){return z(super.names,this.iterable.names)}}class _ extends ${constructor(g,E,N){super(),this.name=g,this.args=E,this.async=N}render(g){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(g)}}_.kind="func";class P extends v{render(g){return"return "+super.render(g)}}P.kind="return";class A extends ${render(g){let E="try"+super.render(g);return this.catch&&(E+=this.catch.render(g)),this.finally&&(E+=this.finally.render(g)),E}optimizeNodes(){var g,E;return super.optimizeNodes(),(g=this.catch)===null||g===void 0||g.optimizeNodes(),(E=this.finally)===null||E===void 0||E.optimizeNodes(),this}optimizeNames(g,E){var N,K;return super.optimizeNames(g,E),(N=this.catch)===null||N===void 0||N.optimizeNames(g,E),(K=this.finally)===null||K===void 0||K.optimizeNames(g,E),this}get names(){const g=super.names;return this.catch&&z(g,this.catch.names),this.finally&&z(g,this.finally.names),g}}class C extends ${constructor(g){super(),this.error=g}render(g){return`catch(${this.error})`+super.render(g)}}C.kind="catch";class L extends ${render(g){return"finally"+super.render(g)}}L.kind="finally";class q{constructor(g,E={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...E,_n:E.lines?`
1
+ "use strict";const vr=require("./string-B9vVyfq3.cjs"),D=require("@tempots/dom"),na=require("./utils-DIUEhA-Z.cjs"),me=require("./stack-4VUGISn6.cjs"),Mt=require("./translations-Cy9hoMGV.cjs"),Lt=require("./_commonjsHelpers-DKOUU3wS.cjs");var Me={exports:{}},Bt={},ve={},be={},Zt={},Xt={},Yt={},gr;function Dt(){return gr||(gr=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.regexpCode=e.getEsmExportName=e.getProperty=e.safeStringify=e.stringify=e.strConcat=e.addCodeArg=e.str=e._=e.nil=e._Code=e.Name=e.IDENTIFIER=e._CodeOrName=void 0;class t{}e._CodeOrName=t,e.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;class a extends t{constructor(c){if(super(),!e.IDENTIFIER.test(c))throw new Error("CodeGen: name must be a valid identifier");this.str=c}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}}e.Name=a;class n extends t{constructor(c){super(),this._items=typeof c=="string"?[c]:c}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;const c=this._items[0];return c===""||c==='""'}get str(){var c;return(c=this._str)!==null&&c!==void 0?c:this._str=this._items.reduce((f,b)=>`${f}${b}`,"")}get names(){var c;return(c=this._names)!==null&&c!==void 0?c:this._names=this._items.reduce((f,b)=>(b instanceof a&&(f[b.str]=(f[b.str]||0)+1),f),{})}}e._Code=n,e.nil=new n("");function i(p,...c){const f=[p[0]];let b=0;for(;b<c.length;)o(f,c[b]),f.push(p[++b]);return new n(f)}e._=i;const r=new n("+");function s(p,...c){const f=[v(p[0])];let b=0;for(;b<c.length;)f.push(r),o(f,c[b]),f.push(r,v(p[++b]));return l(f),new n(f)}e.str=s;function o(p,c){c instanceof n?p.push(...c._items):c instanceof a?p.push(c):p.push(w(c))}e.addCodeArg=o;function l(p){let c=1;for(;c<p.length-1;){if(p[c]===r){const f=y(p[c-1],p[c+1]);if(f!==void 0){p.splice(c-1,3,f);continue}p[c++]="+"}c++}}function y(p,c){if(c==='""')return p;if(p==='""')return c;if(typeof p=="string")return c instanceof a||p[p.length-1]!=='"'?void 0:typeof c!="string"?`${p.slice(0,-1)}${c}"`:c[0]==='"'?p.slice(0,-1)+c.slice(1):void 0;if(typeof c=="string"&&c[0]==='"'&&!(p instanceof a))return`"${p}${c.slice(1)}`}function h(p,c){return c.emptyStr()?p:p.emptyStr()?c:s`${p}${c}`}e.strConcat=h;function w(p){return typeof p=="number"||typeof p=="boolean"||p===null?p:v(Array.isArray(p)?p.join(","):p)}function m(p){return new n(v(p))}e.stringify=m;function v(p){return JSON.stringify(p).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}e.safeStringify=v;function $(p){return typeof p=="string"&&e.IDENTIFIER.test(p)?new n(`.${p}`):i`[${p}]`}e.getProperty=$;function S(p){if(typeof p=="string"&&e.IDENTIFIER.test(p))return new n(`${p}`);throw new Error(`CodeGen: invalid export name: ${p}, use explicit $id name mapping`)}e.getEsmExportName=S;function u(p){return new n(p.toString())}e.regexpCode=u})(Yt)),Yt}var Qt={},$r;function _r(){return $r||($r=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ValueScope=e.ValueScopeName=e.Scope=e.varKinds=e.UsedValueState=void 0;const t=Dt();class a extends Error{constructor(y){super(`CodeGen: "code" for ${y} not defined`),this.value=y.value}}var n;(function(l){l[l.Started=0]="Started",l[l.Completed=1]="Completed"})(n||(e.UsedValueState=n={})),e.varKinds={const:new t.Name("const"),let:new t.Name("let"),var:new t.Name("var")};class i{constructor({prefixes:y,parent:h}={}){this._names={},this._prefixes=y,this._parent=h}toName(y){return y instanceof t.Name?y:this.name(y)}name(y){return new t.Name(this._newName(y))}_newName(y){const h=this._names[y]||this._nameGroup(y);return`${y}${h.index++}`}_nameGroup(y){var h,w;if(!((w=(h=this._parent)===null||h===void 0?void 0:h._prefixes)===null||w===void 0)&&w.has(y)||this._prefixes&&!this._prefixes.has(y))throw new Error(`CodeGen: prefix "${y}" is not allowed in this scope`);return this._names[y]={prefix:y,index:0}}}e.Scope=i;class r extends t.Name{constructor(y,h){super(h),this.prefix=y}setValue(y,{property:h,itemIndex:w}){this.value=y,this.scopePath=(0,t._)`.${new t.Name(h)}[${w}]`}}e.ValueScopeName=r;const s=(0,t._)`\n`;class o extends i{constructor(y){super(y),this._values={},this._scope=y.scope,this.opts={...y,_n:y.lines?s:t.nil}}get(){return this._scope}name(y){return new r(y,this._newName(y))}value(y,h){var w;if(h.ref===void 0)throw new Error("CodeGen: ref must be passed in value");const m=this.toName(y),{prefix:v}=m,$=(w=h.key)!==null&&w!==void 0?w:h.ref;let S=this._values[v];if(S){const c=S.get($);if(c)return c}else S=this._values[v]=new Map;S.set($,m);const u=this._scope[v]||(this._scope[v]=[]),p=u.length;return u[p]=h.ref,m.setValue(h,{property:v,itemIndex:p}),m}getValue(y,h){const w=this._values[y];if(w)return w.get(h)}scopeRefs(y,h=this._values){return this._reduceValues(h,w=>{if(w.scopePath===void 0)throw new Error(`CodeGen: name "${w}" has no value`);return(0,t._)`${y}${w.scopePath}`})}scopeCode(y=this._values,h,w){return this._reduceValues(y,m=>{if(m.value===void 0)throw new Error(`CodeGen: name "${m}" has no value`);return m.value.code},h,w)}_reduceValues(y,h,w={},m){let v=t.nil;for(const $ in y){const S=y[$];if(!S)continue;const u=w[$]=w[$]||new Map;S.forEach(p=>{if(u.has(p))return;u.set(p,n.Started);let c=h(p);if(c){const f=this.opts.es5?e.varKinds.var:e.varKinds.const;v=(0,t._)`${v}${f} ${p} = ${c};${this.opts._n}`}else if(c=m?.(p))v=(0,t._)`${v}${c}${this.opts._n}`;else throw new a(p);u.set(p,n.Completed)})}return v}}e.ValueScope=o})(Qt)),Qt}var br;function J(){return br||(br=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.or=e.and=e.not=e.CodeGen=e.operators=e.varKinds=e.ValueScopeName=e.ValueScope=e.Scope=e.Name=e.regexpCode=e.stringify=e.getProperty=e.nil=e.strConcat=e.str=e._=void 0;const t=Dt(),a=_r();var n=Dt();Object.defineProperty(e,"_",{enumerable:!0,get:function(){return n._}}),Object.defineProperty(e,"str",{enumerable:!0,get:function(){return n.str}}),Object.defineProperty(e,"strConcat",{enumerable:!0,get:function(){return n.strConcat}}),Object.defineProperty(e,"nil",{enumerable:!0,get:function(){return n.nil}}),Object.defineProperty(e,"getProperty",{enumerable:!0,get:function(){return n.getProperty}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return n.stringify}}),Object.defineProperty(e,"regexpCode",{enumerable:!0,get:function(){return n.regexpCode}}),Object.defineProperty(e,"Name",{enumerable:!0,get:function(){return n.Name}});var i=_r();Object.defineProperty(e,"Scope",{enumerable:!0,get:function(){return i.Scope}}),Object.defineProperty(e,"ValueScope",{enumerable:!0,get:function(){return i.ValueScope}}),Object.defineProperty(e,"ValueScopeName",{enumerable:!0,get:function(){return i.ValueScopeName}}),Object.defineProperty(e,"varKinds",{enumerable:!0,get:function(){return i.varKinds}}),e.operators={GT:new t._Code(">"),GTE:new t._Code(">="),LT:new t._Code("<"),LTE:new t._Code("<="),EQ:new t._Code("==="),NEQ:new t._Code("!=="),NOT:new t._Code("!"),OR:new t._Code("||"),AND:new t._Code("&&"),ADD:new t._Code("+")};class r{optimizeNodes(){return this}optimizeNames(g,E){return this}}class s extends r{constructor(g,E,N){super(),this.varKind=g,this.name=E,this.rhs=N}render({es5:g,_n:E}){const N=g?a.varKinds.var:this.varKind,K=this.rhs===void 0?"":` = ${this.rhs}`;return`${N} ${this.name}${K};`+E}optimizeNames(g,E){if(g[this.name.str])return this.rhs&&(this.rhs=U(this.rhs,g,E)),this}get names(){return this.rhs instanceof t._CodeOrName?this.rhs.names:{}}}class o extends r{constructor(g,E,N){super(),this.lhs=g,this.rhs=E,this.sideEffects=N}render({_n:g}){return`${this.lhs} = ${this.rhs};`+g}optimizeNames(g,E){if(!(this.lhs instanceof t.Name&&!g[this.lhs.str]&&!this.sideEffects))return this.rhs=U(this.rhs,g,E),this}get names(){const g=this.lhs instanceof t.Name?{}:{...this.lhs.names};return F(g,this.rhs)}}class l extends o{constructor(g,E,N,K){super(g,N,K),this.op=E}render({_n:g}){return`${this.lhs} ${this.op}= ${this.rhs};`+g}}class y extends r{constructor(g){super(),this.label=g,this.names={}}render({_n:g}){return`${this.label}:`+g}}class h extends r{constructor(g){super(),this.label=g,this.names={}}render({_n:g}){return`break${this.label?` ${this.label}`:""};`+g}}class w extends r{constructor(g){super(),this.error=g}render({_n:g}){return`throw ${this.error};`+g}get names(){return this.error.names}}class m extends r{constructor(g){super(),this.code=g}render({_n:g}){return`${this.code};`+g}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(g,E){return this.code=U(this.code,g,E),this}get names(){return this.code instanceof t._CodeOrName?this.code.names:{}}}class v extends r{constructor(g=[]){super(),this.nodes=g}render(g){return this.nodes.reduce((E,N)=>E+N.render(g),"")}optimizeNodes(){const{nodes:g}=this;let E=g.length;for(;E--;){const N=g[E].optimizeNodes();Array.isArray(N)?g.splice(E,1,...N):N?g[E]=N:g.splice(E,1)}return g.length>0?this:void 0}optimizeNames(g,E){const{nodes:N}=this;let K=N.length;for(;K--;){const G=N[K];G.optimizeNames(g,E)||(Q(g,G.names),N.splice(K,1))}return N.length>0?this:void 0}get names(){return this.nodes.reduce((g,E)=>z(g,E.names),{})}}class $ extends v{render(g){return"{"+g._n+super.render(g)+"}"+g._n}}class S extends v{}class u extends ${}u.kind="else";class p extends ${constructor(g,E){super(E),this.condition=g}render(g){let E=`if(${this.condition})`+super.render(g);return this.else&&(E+="else "+this.else.render(g)),E}optimizeNodes(){super.optimizeNodes();const g=this.condition;if(g===!0)return this.nodes;let E=this.else;if(E){const N=E.optimizeNodes();E=this.else=Array.isArray(N)?new u(N):N}if(E)return g===!1?E instanceof p?E:E.nodes:this.nodes.length?this:new p(ae(g),E instanceof p?[E]:E.nodes);if(!(g===!1||!this.nodes.length))return this}optimizeNames(g,E){var N;if(this.else=(N=this.else)===null||N===void 0?void 0:N.optimizeNames(g,E),!!(super.optimizeNames(g,E)||this.else))return this.condition=U(this.condition,g,E),this}get names(){const g=super.names;return F(g,this.condition),this.else&&z(g,this.else.names),g}}p.kind="if";class c extends ${}c.kind="for";class f extends c{constructor(g){super(),this.iteration=g}render(g){return`for(${this.iteration})`+super.render(g)}optimizeNames(g,E){if(super.optimizeNames(g,E))return this.iteration=U(this.iteration,g,E),this}get names(){return z(super.names,this.iteration.names)}}class b extends c{constructor(g,E,N,K){super(),this.varKind=g,this.name=E,this.from=N,this.to=K}render(g){const E=g.es5?a.varKinds.var:this.varKind,{name:N,from:K,to:G}=this;return`for(${E} ${N}=${K}; ${N}<${G}; ${N}++)`+super.render(g)}get names(){const g=F(super.names,this.from);return F(g,this.to)}}class d extends c{constructor(g,E,N,K){super(),this.loop=g,this.varKind=E,this.name=N,this.iterable=K}render(g){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(g)}optimizeNames(g,E){if(super.optimizeNames(g,E))return this.iterable=U(this.iterable,g,E),this}get names(){return z(super.names,this.iterable.names)}}class _ extends ${constructor(g,E,N){super(),this.name=g,this.args=E,this.async=N}render(g){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(g)}}_.kind="func";class P extends v{render(g){return"return "+super.render(g)}}P.kind="return";class A extends ${render(g){let E="try"+super.render(g);return this.catch&&(E+=this.catch.render(g)),this.finally&&(E+=this.finally.render(g)),E}optimizeNodes(){var g,E;return super.optimizeNodes(),(g=this.catch)===null||g===void 0||g.optimizeNodes(),(E=this.finally)===null||E===void 0||E.optimizeNodes(),this}optimizeNames(g,E){var N,K;return super.optimizeNames(g,E),(N=this.catch)===null||N===void 0||N.optimizeNames(g,E),(K=this.finally)===null||K===void 0||K.optimizeNames(g,E),this}get names(){const g=super.names;return this.catch&&z(g,this.catch.names),this.finally&&z(g,this.finally.names),g}}class C extends ${constructor(g){super(),this.error=g}render(g){return`catch(${this.error})`+super.render(g)}}C.kind="catch";class L extends ${render(g){return"finally"+super.render(g)}}L.kind="finally";class q{constructor(g,E={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...E,_n:E.lines?`
2
2
  `:""},this._extScope=g,this._scope=new a.Scope({parent:g}),this._nodes=[new S]}toString(){return this._root.render(this.opts)}name(g){return this._scope.name(g)}scopeName(g){return this._extScope.name(g)}scopeValue(g,E){const N=this._extScope.value(g,E);return(this._values[N.prefix]||(this._values[N.prefix]=new Set)).add(N),N}getScopeValue(g,E){return this._extScope.getValue(g,E)}scopeRefs(g){return this._extScope.scopeRefs(g,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(g,E,N,K){const G=this._scope.toName(E);return N!==void 0&&K&&(this._constants[G.str]=N),this._leafNode(new s(g,G,N)),G}const(g,E,N){return this._def(a.varKinds.const,g,E,N)}let(g,E,N){return this._def(a.varKinds.let,g,E,N)}var(g,E,N){return this._def(a.varKinds.var,g,E,N)}assign(g,E,N){return this._leafNode(new o(g,E,N))}add(g,E){return this._leafNode(new l(g,e.operators.ADD,E))}code(g){return typeof g=="function"?g():g!==t.nil&&this._leafNode(new m(g)),this}object(...g){const E=["{"];for(const[N,K]of g)E.length>1&&E.push(","),E.push(N),(N!==K||this.opts.es5)&&(E.push(":"),(0,t.addCodeArg)(E,K));return E.push("}"),new t._Code(E)}if(g,E,N){if(this._blockNode(new p(g)),E&&N)this.code(E).else().code(N).endIf();else if(E)this.code(E).endIf();else if(N)throw new Error('CodeGen: "else" body without "then" body');return this}elseIf(g){return this._elseNode(new p(g))}else(){return this._elseNode(new u)}endIf(){return this._endBlockNode(p,u)}_for(g,E){return this._blockNode(g),E&&this.code(E).endFor(),this}for(g,E){return this._for(new f(g),E)}forRange(g,E,N,K,G=this.opts.es5?a.varKinds.var:a.varKinds.let){const Y=this._scope.toName(g);return this._for(new b(G,Y,E,N),()=>K(Y))}forOf(g,E,N,K=a.varKinds.const){const G=this._scope.toName(g);if(this.opts.es5){const Y=E instanceof t.Name?E:this.var("_arr",E);return this.forRange("_i",0,(0,t._)`${Y}.length`,X=>{this.var(G,(0,t._)`${Y}[${X}]`),N(G)})}return this._for(new d("of",K,G,E),()=>N(G))}forIn(g,E,N,K=this.opts.es5?a.varKinds.var:a.varKinds.const){if(this.opts.ownProperties)return this.forOf(g,(0,t._)`Object.keys(${E})`,N);const G=this._scope.toName(g);return this._for(new d("in",K,G,E),()=>N(G))}endFor(){return this._endBlockNode(c)}label(g){return this._leafNode(new y(g))}break(g){return this._leafNode(new h(g))}return(g){const E=new P;if(this._blockNode(E),this.code(g),E.nodes.length!==1)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(P)}try(g,E,N){if(!E&&!N)throw new Error('CodeGen: "try" without "catch" and "finally"');const K=new A;if(this._blockNode(K),this.code(g),E){const G=this.name("e");this._currNode=K.catch=new C(G),E(G)}return N&&(this._currNode=K.finally=new L,this.code(N)),this._endBlockNode(C,L)}throw(g){return this._leafNode(new w(g))}block(g,E){return this._blockStarts.push(this._nodes.length),g&&this.code(g).endBlock(E),this}endBlock(g){const E=this._blockStarts.pop();if(E===void 0)throw new Error("CodeGen: not in self-balancing block");const N=this._nodes.length-E;if(N<0||g!==void 0&&N!==g)throw new Error(`CodeGen: wrong number of nodes: ${N} vs ${g} expected`);return this._nodes.length=E,this}func(g,E=t.nil,N,K){return this._blockNode(new _(g,E,N)),K&&this.code(K).endFunc(),this}endFunc(){return this._endBlockNode(_)}optimize(g=1){for(;g-- >0;)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode(g){return this._currNode.nodes.push(g),this}_blockNode(g){this._currNode.nodes.push(g),this._nodes.push(g)}_endBlockNode(g,E){const N=this._currNode;if(N instanceof g||E&&N instanceof E)return this._nodes.pop(),this;throw new Error(`CodeGen: not in block "${E?`${g.kind}/${E.kind}`:g.kind}"`)}_elseNode(g){const E=this._currNode;if(!(E instanceof p))throw new Error('CodeGen: "else" without "if"');return this._currNode=E.else=g,this}get _root(){return this._nodes[0]}get _currNode(){const g=this._nodes;return g[g.length-1]}set _currNode(g){const E=this._nodes;E[E.length-1]=g}}e.CodeGen=q;function z(k,g){for(const E in g)k[E]=(k[E]||0)+(g[E]||0);return k}function F(k,g){return g instanceof t._CodeOrName?z(k,g.names):k}function U(k,g,E){if(k instanceof t.Name)return N(k);if(!K(k))return k;return new t._Code(k._items.reduce((G,Y)=>(Y instanceof t.Name&&(Y=N(Y)),Y instanceof t._Code?G.push(...Y._items):G.push(Y),G),[]));function N(G){const Y=E[G.str];return Y===void 0||g[G.str]!==1?G:(delete g[G.str],Y)}function K(G){return G instanceof t._Code&&G._items.some(Y=>Y instanceof t.Name&&g[Y.str]===1&&E[Y.str]!==void 0)}}function Q(k,g){for(const E in g)k[E]=(k[E]||0)-(g[E]||0)}function ae(k){return typeof k=="boolean"||typeof k=="number"||k===null?!k:(0,t._)`!${T(k)}`}e.not=ae;const se=R(e.operators.AND);function ee(...k){return k.reduce(se)}e.and=ee;const le=R(e.operators.OR);function M(...k){return k.reduce(le)}e.or=M;function R(k){return(g,E)=>g===t.nil?E:E===t.nil?g:(0,t._)`${T(g)} ${k} ${T(E)}`}function T(k){return k instanceof t.Name?k:(0,t._)`(${k})`}})(Xt)),Xt}var W={},wr;function Z(){if(wr)return W;wr=1,Object.defineProperty(W,"__esModule",{value:!0}),W.checkStrictMode=W.getErrorPath=W.Type=W.useFunc=W.setEvaluated=W.evaluatedPropsToName=W.mergeEvaluated=W.eachItem=W.unescapeJsonPointer=W.escapeJsonPointer=W.escapeFragment=W.unescapeFragment=W.schemaRefOrVal=W.schemaHasRulesButRef=W.schemaHasRules=W.checkUnknownRules=W.alwaysValidSchema=W.toHash=void 0;const e=J(),t=Dt();function a(d){const _={};for(const P of d)_[P]=!0;return _}W.toHash=a;function n(d,_){return typeof _=="boolean"?_:Object.keys(_).length===0?!0:(i(d,_),!r(_,d.self.RULES.all))}W.alwaysValidSchema=n;function i(d,_=d.schema){const{opts:P,self:A}=d;if(!P.strictSchema||typeof _=="boolean")return;const C=A.RULES.keywords;for(const L in _)C[L]||b(d,`unknown keyword: "${L}"`)}W.checkUnknownRules=i;function r(d,_){if(typeof d=="boolean")return!d;for(const P in d)if(_[P])return!0;return!1}W.schemaHasRules=r;function s(d,_){if(typeof d=="boolean")return!d;for(const P in d)if(P!=="$ref"&&_.all[P])return!0;return!1}W.schemaHasRulesButRef=s;function o({topSchemaRef:d,schemaPath:_},P,A,C){if(!C){if(typeof P=="number"||typeof P=="boolean")return P;if(typeof P=="string")return(0,e._)`${P}`}return(0,e._)`${d}${_}${(0,e.getProperty)(A)}`}W.schemaRefOrVal=o;function l(d){return w(decodeURIComponent(d))}W.unescapeFragment=l;function y(d){return encodeURIComponent(h(d))}W.escapeFragment=y;function h(d){return typeof d=="number"?`${d}`:d.replace(/~/g,"~0").replace(/\//g,"~1")}W.escapeJsonPointer=h;function w(d){return d.replace(/~1/g,"/").replace(/~0/g,"~")}W.unescapeJsonPointer=w;function m(d,_){if(Array.isArray(d))for(const P of d)_(P);else _(d)}W.eachItem=m;function v({mergeNames:d,mergeToName:_,mergeValues:P,resultToName:A}){return(C,L,q,z)=>{const F=q===void 0?L:q instanceof e.Name?(L instanceof e.Name?d(C,L,q):_(C,L,q),q):L instanceof e.Name?(_(C,q,L),L):P(L,q);return z===e.Name&&!(F instanceof e.Name)?A(C,F):F}}W.mergeEvaluated={props:v({mergeNames:(d,_,P)=>d.if((0,e._)`${P} !== true && ${_} !== undefined`,()=>{d.if((0,e._)`${_} === true`,()=>d.assign(P,!0),()=>d.assign(P,(0,e._)`${P} || {}`).code((0,e._)`Object.assign(${P}, ${_})`))}),mergeToName:(d,_,P)=>d.if((0,e._)`${P} !== true`,()=>{_===!0?d.assign(P,!0):(d.assign(P,(0,e._)`${P} || {}`),S(d,P,_))}),mergeValues:(d,_)=>d===!0?!0:{...d,..._},resultToName:$}),items:v({mergeNames:(d,_,P)=>d.if((0,e._)`${P} !== true && ${_} !== undefined`,()=>d.assign(P,(0,e._)`${_} === true ? true : ${P} > ${_} ? ${P} : ${_}`)),mergeToName:(d,_,P)=>d.if((0,e._)`${P} !== true`,()=>d.assign(P,_===!0?!0:(0,e._)`${P} > ${_} ? ${P} : ${_}`)),mergeValues:(d,_)=>d===!0?!0:Math.max(d,_),resultToName:(d,_)=>d.var("items",_)})};function $(d,_){if(_===!0)return d.var("props",!0);const P=d.var("props",(0,e._)`{}`);return _!==void 0&&S(d,P,_),P}W.evaluatedPropsToName=$;function S(d,_,P){Object.keys(P).forEach(A=>d.assign((0,e._)`${_}${(0,e.getProperty)(A)}`,!0))}W.setEvaluated=S;const u={};function p(d,_){return d.scopeValue("func",{ref:_,code:u[_.code]||(u[_.code]=new t._Code(_.code))})}W.useFunc=p;var c;(function(d){d[d.Num=0]="Num",d[d.Str=1]="Str"})(c||(W.Type=c={}));function f(d,_,P){if(d instanceof e.Name){const A=_===c.Num;return P?A?(0,e._)`"[" + ${d} + "]"`:(0,e._)`"['" + ${d} + "']"`:A?(0,e._)`"/" + ${d}`:(0,e._)`"/" + ${d}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return P?(0,e.getProperty)(d).toString():"/"+h(d)}W.getErrorPath=f;function b(d,_,P=d.opts.strictSchema){if(P){if(_=`strict mode: ${_}`,P===!0)throw new Error(_);d.self.logger.warn(_)}}return W.checkStrictMode=b,W}var De={},Sr;function pe(){if(Sr)return De;Sr=1,Object.defineProperty(De,"__esModule",{value:!0});const e=J(),t={data:new e.Name("data"),valCxt:new e.Name("valCxt"),instancePath:new e.Name("instancePath"),parentData:new e.Name("parentData"),parentDataProperty:new e.Name("parentDataProperty"),rootData:new e.Name("rootData"),dynamicAnchors:new e.Name("dynamicAnchors"),vErrors:new e.Name("vErrors"),errors:new e.Name("errors"),this:new e.Name("this"),self:new e.Name("self"),scope:new e.Name("scope"),json:new e.Name("json"),jsonPos:new e.Name("jsonPos"),jsonLen:new e.Name("jsonLen"),jsonPart:new e.Name("jsonPart")};return De.default=t,De}var Pr;function Ft(){return Pr||(Pr=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.extendErrors=e.resetErrorsCount=e.reportExtraError=e.reportError=e.keyword$DataError=e.keywordError=void 0;const t=J(),a=Z(),n=pe();e.keywordError={message:({keyword:u})=>(0,t.str)`must pass "${u}" keyword validation`},e.keyword$DataError={message:({keyword:u,schemaType:p})=>p?(0,t.str)`"${u}" keyword must be ${p} ($data)`:(0,t.str)`"${u}" keyword is invalid ($data)`};function i(u,p=e.keywordError,c,f){const{it:b}=u,{gen:d,compositeRule:_,allErrors:P}=b,A=w(u,p,c);f??(_||P)?l(d,A):y(b,(0,t._)`[${A}]`)}e.reportError=i;function r(u,p=e.keywordError,c){const{it:f}=u,{gen:b,compositeRule:d,allErrors:_}=f,P=w(u,p,c);l(b,P),d||_||y(f,n.default.vErrors)}e.reportExtraError=r;function s(u,p){u.assign(n.default.errors,p),u.if((0,t._)`${n.default.vErrors} !== null`,()=>u.if(p,()=>u.assign((0,t._)`${n.default.vErrors}.length`,p),()=>u.assign(n.default.vErrors,null)))}e.resetErrorsCount=s;function o({gen:u,keyword:p,schemaValue:c,data:f,errsCount:b,it:d}){if(b===void 0)throw new Error("ajv implementation error");const _=u.name("err");u.forRange("i",b,n.default.errors,P=>{u.const(_,(0,t._)`${n.default.vErrors}[${P}]`),u.if((0,t._)`${_}.instancePath === undefined`,()=>u.assign((0,t._)`${_}.instancePath`,(0,t.strConcat)(n.default.instancePath,d.errorPath))),u.assign((0,t._)`${_}.schemaPath`,(0,t.str)`${d.errSchemaPath}/${p}`),d.opts.verbose&&(u.assign((0,t._)`${_}.schema`,c),u.assign((0,t._)`${_}.data`,f))})}e.extendErrors=o;function l(u,p){const c=u.const("err",p);u.if((0,t._)`${n.default.vErrors} === null`,()=>u.assign(n.default.vErrors,(0,t._)`[${c}]`),(0,t._)`${n.default.vErrors}.push(${c})`),u.code((0,t._)`${n.default.errors}++`)}function y(u,p){const{gen:c,validateName:f,schemaEnv:b}=u;b.$async?c.throw((0,t._)`new ${u.ValidationError}(${p})`):(c.assign((0,t._)`${f}.errors`,p),c.return(!1))}const h={keyword:new t.Name("keyword"),schemaPath:new t.Name("schemaPath"),params:new t.Name("params"),propertyName:new t.Name("propertyName"),message:new t.Name("message"),schema:new t.Name("schema"),parentSchema:new t.Name("parentSchema")};function w(u,p,c){const{createErrors:f}=u.it;return f===!1?(0,t._)`{}`:m(u,p,c)}function m(u,p,c={}){const{gen:f,it:b}=u,d=[v(b,c),$(u,c)];return S(u,p,d),f.object(...d)}function v({errorPath:u},{instancePath:p}){const c=p?(0,t.str)`${u}${(0,a.getErrorPath)(p,a.Type.Str)}`:u;return[n.default.instancePath,(0,t.strConcat)(n.default.instancePath,c)]}function $({keyword:u,it:{errSchemaPath:p}},{schemaPath:c,parentSchema:f}){let b=f?p:(0,t.str)`${p}/${u}`;return c&&(b=(0,t.str)`${b}${(0,a.getErrorPath)(c,a.Type.Str)}`),[h.schemaPath,b]}function S(u,{params:p,message:c},f){const{keyword:b,data:d,schemaValue:_,it:P}=u,{opts:A,propertyName:C,topSchemaRef:L,schemaPath:q}=P;f.push([h.keyword,b],[h.params,typeof p=="function"?p(u):p||(0,t._)`{}`]),A.messages&&f.push([h.message,typeof c=="function"?c(u):c]),A.verbose&&f.push([h.schema,_],[h.parentSchema,(0,t._)`${L}${q}`],[n.default.data,d]),C&&f.push([h.propertyName,C])}})(Zt)),Zt}var Er;function Ta(){if(Er)return be;Er=1,Object.defineProperty(be,"__esModule",{value:!0}),be.boolOrEmptySchema=be.topBoolOrEmptySchema=void 0;const e=Ft(),t=J(),a=pe(),n={message:"boolean schema is false"};function i(o){const{gen:l,schema:y,validateName:h}=o;y===!1?s(o,!1):typeof y=="object"&&y.$async===!0?l.return(a.default.data):(l.assign((0,t._)`${h}.errors`,null),l.return(!0))}be.topBoolOrEmptySchema=i;function r(o,l){const{gen:y,schema:h}=o;h===!1?(y.var(l,!1),s(o)):y.var(l,!0)}be.boolOrEmptySchema=r;function s(o,l){const{gen:y,data:h}=o,w={gen:y,keyword:"false schema",data:h,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:o};(0,e.reportError)(w,n,void 0,l)}return be}var ne={},we={},jr;function aa(){if(jr)return we;jr=1,Object.defineProperty(we,"__esModule",{value:!0}),we.getRules=we.isJSONType=void 0;const e=["string","number","integer","boolean","null","object","array"],t=new Set(e);function a(i){return typeof i=="string"&&t.has(i)}we.isJSONType=a;function n(){const i={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:{...i,integer:!0,boolean:!0,null:!0},rules:[{rules:[]},i.number,i.string,i.array,i.object],post:{rules:[]},all:{},keywords:{}}}return we.getRules=n,we}var ge={},Rr;function sa(){if(Rr)return ge;Rr=1,Object.defineProperty(ge,"__esModule",{value:!0}),ge.shouldUseRule=ge.shouldUseGroup=ge.schemaHasRulesForType=void 0;function e({schema:n,self:i},r){const s=i.RULES.types[r];return s&&s!==!0&&t(n,s)}ge.schemaHasRulesForType=e;function t(n,i){return i.rules.some(r=>a(n,r))}ge.shouldUseGroup=t;function a(n,i){var r;return n[i.keyword]!==void 0||((r=i.definition.implements)===null||r===void 0?void 0:r.some(s=>n[s]!==void 0))}return ge.shouldUseRule=a,ge}var Or;function Vt(){if(Or)return ne;Or=1,Object.defineProperty(ne,"__esModule",{value:!0}),ne.reportTypeError=ne.checkDataTypes=ne.checkDataType=ne.coerceAndCheckDataType=ne.getJSONTypes=ne.getSchemaTypes=ne.DataType=void 0;const e=aa(),t=sa(),a=Ft(),n=J(),i=Z();var r;(function(c){c[c.Correct=0]="Correct",c[c.Wrong=1]="Wrong"})(r||(ne.DataType=r={}));function s(c){const f=o(c.type);if(f.includes("null")){if(c.nullable===!1)throw new Error("type: null contradicts nullable: false")}else{if(!f.length&&c.nullable!==void 0)throw new Error('"nullable" cannot be used without "type"');c.nullable===!0&&f.push("null")}return f}ne.getSchemaTypes=s;function o(c){const f=Array.isArray(c)?c:c?[c]:[];if(f.every(e.isJSONType))return f;throw new Error("type must be JSONType or JSONType[]: "+f.join(","))}ne.getJSONTypes=o;function l(c,f){const{gen:b,data:d,opts:_}=c,P=h(f,_.coerceTypes),A=f.length>0&&!(P.length===0&&f.length===1&&(0,t.schemaHasRulesForType)(c,f[0]));if(A){const C=$(f,d,_.strictNumbers,r.Wrong);b.if(C,()=>{P.length?w(c,f,P):u(c)})}return A}ne.coerceAndCheckDataType=l;const y=new Set(["string","number","integer","boolean","null"]);function h(c,f){return f?c.filter(b=>y.has(b)||f==="array"&&b==="array"):[]}function w(c,f,b){const{gen:d,data:_,opts:P}=c,A=d.let("dataType",(0,n._)`typeof ${_}`),C=d.let("coerced",(0,n._)`undefined`);P.coerceTypes==="array"&&d.if((0,n._)`${A} == 'object' && Array.isArray(${_}) && ${_}.length == 1`,()=>d.assign(_,(0,n._)`${_}[0]`).assign(A,(0,n._)`typeof ${_}`).if($(f,_,P.strictNumbers),()=>d.assign(C,_))),d.if((0,n._)`${C} !== undefined`);for(const q of b)(y.has(q)||q==="array"&&P.coerceTypes==="array")&&L(q);d.else(),u(c),d.endIf(),d.if((0,n._)`${C} !== undefined`,()=>{d.assign(_,C),m(c,C)});function L(q){switch(q){case"string":d.elseIf((0,n._)`${A} == "number" || ${A} == "boolean"`).assign(C,(0,n._)`"" + ${_}`).elseIf((0,n._)`${_} === null`).assign(C,(0,n._)`""`);return;case"number":d.elseIf((0,n._)`${A} == "boolean" || ${_} === null
3
3
  || (${A} == "string" && ${_} && ${_} == +${_})`).assign(C,(0,n._)`+${_}`);return;case"integer":d.elseIf((0,n._)`${A} === "boolean" || ${_} === null
4
4
  || (${A} === "string" && ${_} && ${_} == +${_} && !(${_} % 1))`).assign(C,(0,n._)`+${_}`);return;case"boolean":d.elseIf((0,n._)`${_} === "false" || ${_} === 0 || ${_} === null`).assign(C,!1).elseIf((0,n._)`${_} === "true" || ${_} === 1`).assign(C,!0);return;case"null":d.elseIf((0,n._)`${_} === "" || ${_} === 0 || ${_} === false`),d.assign(C,null);return;case"array":d.elseIf((0,n._)`${A} === "string" || ${A} === "number"
@@ -2,7 +2,7 @@ import { _ as Na, g as Aa } from "./string-DYyMxBl-.js";
2
2
  import { attr as J, prop as dr, html as te, computedOf as we, aria as qa, on as De } from "@tempots/dom";
3
3
  import { g as Ia, C as Ta } from "./utils-DEbsp9Q9.js";
4
4
  import { i as Ca, S as _e, L as Ma } from "./stack-Bm-UZosx.js";
5
- import { d as na, I as aa } from "./translations-uEUkO6gJ.js";
5
+ import { d as na, I as aa } from "./translations-CiBhB2FV.js";
6
6
  import { g as Ut } from "./_commonjsHelpers-DaMA6jEr.js";
7
7
  var ze = { exports: {} }, Xt = {}, ve = {}, Se = {}, Yt = {}, Qt = {}, xt = {}, gr;
8
8
  function zt() {
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./translations-gVgMyNno.cjs"),t={loadingExtended:"Ładowanie, proszę czekać",loadingShort:"Ładowanie...",locale:"Język",iconDescription:"Ikona",loadingIcon:"Ikona ładowania",failedToLoadIcon:"Nie udało się załadować ikony",editLabel:"Edytuj",selectOne:"Wybierz jeden",selectNone:"Brak",selectMany:"Wybierz wiele",noResults:"Brak wyników",passwordPlaceholderText:"Tajne hasło",togglePasswordVisibility:"Przełącz widoczność hasła",toggleMenu:"Przełącz menu",toggleAside:"Przełącz panel boczny",mainNavigation:"Główna nawigacja",sidebar:"Pasek boczny",closeDrawer:"Zamknij szufladę",closeModal:"Zamknij modal",confirm:"Potwierdź",cancel:"Anuluj",addLabel:"Dodaj",removeItem:"Usuń element",currentLocale:"Polski",ar:"Arabski",de:"Niemiecki",en:"Angielski",es:"Hiszpański",fr:"Francuski",hi:"Hindi",it:"Włoski",ja:"Japoński",ko:"Koreański",nl:"Holenderski",pl:"Polski",pt:"Portugalski",ru:"Rosyjski",tr:"Turecki",vi:"Wietnamski",zh:"Chiński",he:"Hebrajski",fa:"Perski",ur:"Urdu",emailPlaceholderText:"Wprowadź adres e-mail",incrementValue:"Zwiększ wartość",decrementValue:"Zmniejsz wartość",dropZoneInstructions:e=>e?"Kliknij aby wybrać lub przeciągnij pliki tutaj, lub naciśnij Enter lub Spację, aby otworzyć selektor plików":"Przeciągnij pliki tutaj",fileSizeUnits:["Bajty","KB","MB","GB","TB"],removeFile:"Usuń plik",clearAllFiles:"Usuń wszystkie pliki",clearValue:"Wyczyść wartość",unknownType:"Nieznany typ",filesInputInstructions:(e,i,o)=>{let n=e==null||e>1?"Kliknij aby wybrać lub przeciągnij pliki tutaj":"Kliknij aby wybrać lub przeciągnij plik tutaj";if(e||i){const a=[];if(e!=null&&e>1&&a.push(`do ${e} plików`),i&&o){const l=r.formatFileSize(i,{units:o});a.push(`maks ${l} każdy`)}a.length>0&&(n+=` (${a.join(", ")})`)}return n},paginationLabel:"Paginacja",firstPage:"Pierwsza strona",previousPage:"Poprzednia strona",nextPage:"Następna strona",lastPage:"Ostatnia strona",breadcrumbs:"Nawigacja okruszkowa",commandPalette:"Paleta poleceń",typeACommand:"Wpisz polecenie...",noResultsFound:"Nie znaleziono wyników",noMatchingCommands:"Brak pasujących poleceń",appearanceSystem:"Systemowy",appearanceLight:"Jasny",appearanceDark:"Ciemny",ok:"OK",changeTypeConfirmation:"Zmiana typu wyczyści bieżącą wartość. Kontynuować?",notifications:"Powiadomienia",markAllAsRead:"Oznacz wszystkie jako przeczytane",noNotifications:"Brak powiadomień",schemaConflictsDetected:"Wykryto konflikty schematu",schemaViolationsDetected:"Wykryto naruszenia schematu",properties:"Właściwości",uploading:"Przesyłanie...",dropFilesOrBrowse:"Upuść pliki tutaj lub kliknij, aby przeglądać",acceptedTypes:e=>`Akceptowane typy: ${e}`,enterUrlPrompt:"Wprowadź URL:",exceeded:"(przekroczono)",pdfPreview:"Podgląd PDF",lexical:{fontFamily:"Krój czcionki",fontSize:"Rozmiar czcionki",fontColor:"Kolor czcionki",highlightColor:"Kolor wyróżnienia",backgroundColor:"Kolor tła",bold:"Pogrubienie",italic:"Kursywa",underline:"Podkreślenie",strikethrough:"Przekreślenie",code:"Kod",clearFormatting:"Wyczyść formatowanie",normal:"Normalny",heading:e=>`Nagłówek ${e}`,bulletList:"Lista punktowana",orderedList:"Lista numerowana",checkList:"Lista kontrolna",indent:"Zwiększ wcięcie",outdent:"Zmniejsz wcięcie",blockquote:"Cytat blokowy",codeBlock:"Blok kodu",horizontalRule:"Linia pozioma",insertTable:"Wstaw tabelę",link:"Link",undo:"Cofnij",redo:"Ponów",cut:"Wytnij",copy:"Kopiuj",paste:"Wklej",defaultOption:"Domyślny",slashCommands:"Polecenia ukośnikowe",noCommandsFound:"Nie znaleziono poleceń",changeBlockType:"Zmień typ bloku",blockTypes:"Typy bloków",enterUrl:"Wprowadź URL:"},prosemirror:{bold:"Bold",italic:"Italic",code:"Code",link:"Link",removeLink:"Remove Link",heading:e=>`Heading ${e}`,bulletList:"Bullet List",orderedList:"Ordered List",blockquote:"Blockquote",codeBlock:"Code Block",horizontalRule:"Horizontal Rule",linkUrlPlaceholder:"https://example.com"},pdfPageViewer:{loading:"Ładowanie PDF...",loadFailed:"Nie udało się załadować PDF",invalidPdf:"Nieprawidłowy plik PDF",pageOutOfRange:(e,i)=>`Strona ${e} jest poza zakresem (1-${i})`,renderFailed:"Nie udało się wyrenderować strony PDF"}};exports.default=t;exports.pl=t;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./translations-Cy9hoMGV.cjs"),t={loadingExtended:"Ładowanie, proszę czekać",loadingShort:"Ładowanie...",locale:"Język",iconDescription:"Ikona",loadingIcon:"Ikona ładowania",failedToLoadIcon:"Nie udało się załadować ikony",editLabel:"Edytuj",selectOne:"Wybierz jeden",selectNone:"Brak",selectMany:"Wybierz wiele",noResults:"Brak wyników",passwordPlaceholderText:"Tajne hasło",togglePasswordVisibility:"Przełącz widoczność hasła",toggleMenu:"Przełącz menu",toggleAside:"Przełącz panel boczny",mainNavigation:"Główna nawigacja",sidebar:"Pasek boczny",closeDrawer:"Zamknij szufladę",closeModal:"Zamknij modal",confirm:"Potwierdź",cancel:"Anuluj",addLabel:"Dodaj",removeItem:"Usuń element",currentLocale:"Polski",ar:"Arabski",de:"Niemiecki",en:"Angielski",es:"Hiszpański",fr:"Francuski",hi:"Hindi",it:"Włoski",ja:"Japoński",ko:"Koreański",nl:"Holenderski",pl:"Polski",pt:"Portugalski",ru:"Rosyjski",tr:"Turecki",vi:"Wietnamski",zh:"Chiński",he:"Hebrajski",fa:"Perski",ur:"Urdu",emailPlaceholderText:"Wprowadź adres e-mail",incrementValue:"Zwiększ wartość",decrementValue:"Zmniejsz wartość",dropZoneInstructions:e=>e?"Kliknij aby wybrać lub przeciągnij pliki tutaj, lub naciśnij Enter lub Spację, aby otworzyć selektor plików":"Przeciągnij pliki tutaj",fileSizeUnits:["Bajty","KB","MB","GB","TB"],removeFile:"Usuń plik",clearAllFiles:"Usuń wszystkie pliki",clearValue:"Wyczyść wartość",unknownType:"Nieznany typ",filesInputInstructions:(e,o,a)=>{let n=e==null||e>1?"Kliknij aby wybrać lub przeciągnij pliki tutaj":"Kliknij aby wybrać lub przeciągnij plik tutaj";if(e||o){const i=[];if(e!=null&&e>1&&i.push(`do ${e} plików`),o&&a){const l=r.formatFileSize(o,{units:a});i.push(`maks ${l} każdy`)}i.length>0&&(n+=` (${i.join(", ")})`)}return n},paginationLabel:"Paginacja",firstPage:"Pierwsza strona",previousPage:"Poprzednia strona",nextPage:"Następna strona",lastPage:"Ostatnia strona",breadcrumbs:"Nawigacja okruszkowa",commandPalette:"Paleta poleceń",typeACommand:"Wpisz polecenie...",noResultsFound:"Nie znaleziono wyników",noMatchingCommands:"Brak pasujących poleceń",appearanceSystem:"Systemowy",appearanceLight:"Jasny",appearanceDark:"Ciemny",ok:"OK",changeTypeConfirmation:"Zmiana typu wyczyści bieżącą wartość. Kontynuować?",notifications:"Powiadomienia",markAllAsRead:"Oznacz wszystkie jako przeczytane",noNotifications:"Brak powiadomień",schemaConflictsDetected:"Wykryto konflikty schematu",schemaViolationsDetected:"Wykryto naruszenia schematu",properties:"Właściwości",uploading:"Przesyłanie...",dropFilesOrBrowse:"Upuść pliki tutaj lub kliknij, aby przeglądać",acceptedTypes:e=>`Akceptowane typy: ${e}`,enterUrlPrompt:"Wprowadź URL:",exceeded:"(przekroczono)",pdfPreview:"Podgląd PDF",lexical:{fontFamily:"Krój czcionki",fontSize:"Rozmiar czcionki",fontColor:"Kolor czcionki",highlightColor:"Kolor wyróżnienia",backgroundColor:"Kolor tła",bold:"Pogrubienie",italic:"Kursywa",underline:"Podkreślenie",strikethrough:"Przekreślenie",code:"Kod",clearFormatting:"Wyczyść formatowanie",normal:"Normalny",heading:e=>`Nagłówek ${e}`,bulletList:"Lista punktowana",orderedList:"Lista numerowana",checkList:"Lista kontrolna",indent:"Zwiększ wcięcie",outdent:"Zmniejsz wcięcie",blockquote:"Cytat blokowy",codeBlock:"Blok kodu",horizontalRule:"Linia pozioma",insertTable:"Wstaw tabelę",link:"Link",undo:"Cofnij",redo:"Ponów",cut:"Wytnij",copy:"Kopiuj",paste:"Wklej",defaultOption:"Domyślny",slashCommands:"Polecenia ukośnikowe",noCommandsFound:"Nie znaleziono poleceń",changeBlockType:"Zmień typ bloku",blockTypes:"Typy bloków",enterUrl:"Wprowadź URL:",tableActions:"Table actions",insertRowAbove:"Insert row above",insertRowBelow:"Insert row below",insertColumnLeft:"Insert column left",insertColumnRight:"Insert column right",deleteRow:"Delete row",deleteColumn:"Delete column",deleteTable:"Delete table"},prosemirror:{bold:"Bold",italic:"Italic",code:"Code",link:"Link",removeLink:"Remove Link",heading:e=>`Heading ${e}`,bulletList:"Bullet List",orderedList:"Ordered List",blockquote:"Blockquote",codeBlock:"Code Block",horizontalRule:"Horizontal Rule",linkUrlPlaceholder:"https://example.com"},pdfPageViewer:{loading:"Ładowanie PDF...",loadFailed:"Nie udało się załadować PDF",invalidPdf:"Nieprawidłowy plik PDF",pageOutOfRange:(e,o)=>`Strona ${e} jest poza zakresem (1-${o})`,renderFailed:"Nie udało się wyrenderować strony PDF"}};exports.default=t;exports.pl=t;
@@ -1,4 +1,4 @@
1
- import { f as l } from "./translations-uEUkO6gJ.js";
1
+ import { f as l } from "./translations-CiBhB2FV.js";
2
2
  const s = {
3
3
  loadingExtended: "Ładowanie, proszę czekać",
4
4
  loadingShort: "Ładowanie...",
@@ -58,17 +58,17 @@ const s = {
58
58
  // inputs reset
59
59
  clearValue: "Wyczyść wartość",
60
60
  unknownType: "Nieznany typ",
61
- filesInputInstructions: (e, i, o) => {
61
+ filesInputInstructions: (e, o, a) => {
62
62
  let n = e == null || e > 1 ? "Kliknij aby wybrać lub przeciągnij pliki tutaj" : "Kliknij aby wybrać lub przeciągnij plik tutaj";
63
- if (e || i) {
64
- const a = [];
65
- if (e != null && e > 1 && a.push(`do ${e} plików`), i && o) {
66
- const t = l(i, {
67
- units: o
63
+ if (e || o) {
64
+ const i = [];
65
+ if (e != null && e > 1 && i.push(`do ${e} plików`), o && a) {
66
+ const t = l(o, {
67
+ units: a
68
68
  });
69
- a.push(`maks ${t} każdy`);
69
+ i.push(`maks ${t} każdy`);
70
70
  }
71
- a.length > 0 && (n += ` (${a.join(", ")})`);
71
+ i.length > 0 && (n += ` (${i.join(", ")})`);
72
72
  }
73
73
  return n;
74
74
  },
@@ -144,7 +144,15 @@ const s = {
144
144
  noCommandsFound: "Nie znaleziono poleceń",
145
145
  changeBlockType: "Zmień typ bloku",
146
146
  blockTypes: "Typy bloków",
147
- enterUrl: "Wprowadź URL:"
147
+ enterUrl: "Wprowadź URL:",
148
+ tableActions: "Table actions",
149
+ insertRowAbove: "Insert row above",
150
+ insertRowBelow: "Insert row below",
151
+ insertColumnLeft: "Insert column left",
152
+ insertColumnRight: "Insert column right",
153
+ deleteRow: "Delete row",
154
+ deleteColumn: "Delete column",
155
+ deleteTable: "Delete table"
148
156
  },
149
157
  // prosemirror
150
158
  prosemirror: {
@@ -166,7 +174,7 @@ const s = {
166
174
  loading: "Ładowanie PDF...",
167
175
  loadFailed: "Nie udało się załadować PDF",
168
176
  invalidPdf: "Nieprawidłowy plik PDF",
169
- pageOutOfRange: (e, i) => `Strona ${e} jest poza zakresem (1-${i})`,
177
+ pageOutOfRange: (e, o) => `Strona ${e} jest poza zakresem (1-${o})`,
170
178
  renderFailed: "Nie udało się wyrenderować strony PDF"
171
179
  }
172
180
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../index-D3QVPAme.cjs");exports.DEFAULT_FEATURES=r.DEFAULT_FEATURES;exports.ProseMirrorMarkdownInput=r.ProseMirrorMarkdownInput;exports.ProseMirrorToolbar=r.ProseMirrorToolbar;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../index-BOC0cVoY.cjs");exports.DEFAULT_FEATURES=r.DEFAULT_FEATURES;exports.ProseMirrorMarkdownInput=r.ProseMirrorMarkdownInput;exports.ProseMirrorToolbar=r.ProseMirrorToolbar;
@@ -1,4 +1,4 @@
1
- import { D as a, P as s, b as e } from "../index-D_aTUfqS.js";
1
+ import { D as a, P as s, b as e } from "../index-DJ9YIJcG.js";
2
2
  export {
3
3
  a as DEFAULT_FEATURES,
4
4
  s as ProseMirrorMarkdownInput,
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./translations-gVgMyNno.cjs"),l={loadingExtended:"Carregando, por favor aguarde",loadingShort:"Carregando...",locale:"Idioma",iconDescription:"Ícone",loadingIcon:"Ícone de carregamento",failedToLoadIcon:"Falha ao carregar ícone",editLabel:"Editar",selectOne:"Selecionar um",selectNone:"Nenhum",selectMany:"Selecionar vários",noResults:"Sem resultados",passwordPlaceholderText:"Senha Secreta",togglePasswordVisibility:"Alternar visibilidade da senha",toggleMenu:"Alternar menu",toggleAside:"Alternar painel lateral",mainNavigation:"Navegação principal",sidebar:"Barra lateral",closeDrawer:"Fechar gaveta",closeModal:"Fechar modal",confirm:"Confirmar",cancel:"Cancelar",addLabel:"Adicionar",removeItem:"Remover item",currentLocale:"Português",ar:"Árabe",de:"Alemão",en:"Inglês",es:"Espanhol",fr:"Francês",hi:"Hindi",it:"Italiano",ja:"Japonês",ko:"Coreano",nl:"Holandês",pl:"Polonês",pt:"Português",ru:"Russo",tr:"Turco",vi:"Vietnamita",zh:"Chinês",he:"Hebraico",fa:"Persa",ur:"Urdu",emailPlaceholderText:"Digite seu e-mail",incrementValue:"Incrementar valor",decrementValue:"Decrementar valor",dropZoneInstructions:e=>e?"Clique para escolher ou arraste arquivos aqui, ou pressione Enter ou Espaço para abrir o seletor de arquivos":"Arraste arquivos aqui",fileSizeUnits:["Bytes","KB","MB","GB","TB"],removeFile:"Remover arquivo",clearAllFiles:"Limpar todos os arquivos",clearValue:"Limpar valor",unknownType:"Tipo desconhecido",filesInputInstructions:(e,a,r)=>{let i=e==null||e>1?"Clique para escolher ou arraste arquivos aqui":"Clique para escolher ou arraste um arquivo aqui";if(e||a){const o=[];if(e!=null&&e>1&&o.push(`até ${e} arquivos`),a&&r){const n=t.formatFileSize(a,{units:r});o.push(`máx ${n} cada`)}o.length>0&&(i+=` (${o.join(", ")})`)}return i},paginationLabel:"Paginacao",firstPage:"Primeira pagina",previousPage:"Pagina anterior",nextPage:"Proxima pagina",lastPage:"Ultima pagina",breadcrumbs:"Breadcrumbs",commandPalette:"Paleta de comandos",typeACommand:"Digite um comando...",noResultsFound:"Nenhum resultado encontrado",noMatchingCommands:"Nenhum comando correspondente",appearanceSystem:"Sistema",appearanceLight:"Claro",appearanceDark:"Escuro",ok:"OK",changeTypeConfirmation:"Alterar o tipo apagará o valor atual. Continuar?",notifications:"Notificações",markAllAsRead:"Marcar tudo como lido",noNotifications:"Nenhuma notificação",schemaConflictsDetected:"Conflitos de esquema detectados",schemaViolationsDetected:"Violações de esquema detectadas",properties:"Propriedades",uploading:"Enviando...",dropFilesOrBrowse:"Arraste arquivos aqui ou clique para navegar",acceptedTypes:e=>`Tipos aceitos: ${e}`,enterUrlPrompt:"Digite a URL:",exceeded:"(excedido)",pdfPreview:"Visualizacao do PDF",lexical:{fontFamily:"Familia da fonte",fontSize:"Tamanho da fonte",fontColor:"Cor da fonte",highlightColor:"Cor de destaque",backgroundColor:"Cor de fundo",bold:"Negrito",italic:"Italico",underline:"Sublinhado",strikethrough:"Tachado",code:"Codigo",clearFormatting:"Limpar formatacao",normal:"Normal",heading:e=>`Titulo ${e}`,bulletList:"Lista com marcadores",orderedList:"Lista numerada",checkList:"Lista de verificacao",indent:"Aumentar recuo",outdent:"Diminuir recuo",blockquote:"Citacao",codeBlock:"Bloco de codigo",horizontalRule:"Linha horizontal",insertTable:"Inserir tabela",link:"Link",undo:"Desfazer",redo:"Refazer",cut:"Recortar",copy:"Copiar",paste:"Colar",defaultOption:"Padrao",slashCommands:"Comandos de barra",noCommandsFound:"Nenhum comando encontrado",changeBlockType:"Alterar tipo de bloco",blockTypes:"Tipos de bloco",enterUrl:"Digite a URL:"},prosemirror:{bold:"Bold",italic:"Italic",code:"Code",link:"Link",removeLink:"Remove Link",heading:e=>`Heading ${e}`,bulletList:"Bullet List",orderedList:"Ordered List",blockquote:"Blockquote",codeBlock:"Code Block",horizontalRule:"Horizontal Rule",linkUrlPlaceholder:"https://example.com"},pdfPageViewer:{loading:"Carregando PDF...",loadFailed:"Falha ao carregar PDF",invalidPdf:"Arquivo PDF inválido",pageOutOfRange:(e,a)=>`A página ${e} está fora do intervalo (1-${a})`,renderFailed:"Falha ao renderizar página do PDF"}};exports.default=l;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./translations-Cy9hoMGV.cjs"),l={loadingExtended:"Carregando, por favor aguarde",loadingShort:"Carregando...",locale:"Idioma",iconDescription:"Ícone",loadingIcon:"Ícone de carregamento",failedToLoadIcon:"Falha ao carregar ícone",editLabel:"Editar",selectOne:"Selecionar um",selectNone:"Nenhum",selectMany:"Selecionar vários",noResults:"Sem resultados",passwordPlaceholderText:"Senha Secreta",togglePasswordVisibility:"Alternar visibilidade da senha",toggleMenu:"Alternar menu",toggleAside:"Alternar painel lateral",mainNavigation:"Navegação principal",sidebar:"Barra lateral",closeDrawer:"Fechar gaveta",closeModal:"Fechar modal",confirm:"Confirmar",cancel:"Cancelar",addLabel:"Adicionar",removeItem:"Remover item",currentLocale:"Português",ar:"Árabe",de:"Alemão",en:"Inglês",es:"Espanhol",fr:"Francês",hi:"Hindi",it:"Italiano",ja:"Japonês",ko:"Coreano",nl:"Holandês",pl:"Polonês",pt:"Português",ru:"Russo",tr:"Turco",vi:"Vietnamita",zh:"Chinês",he:"Hebraico",fa:"Persa",ur:"Urdu",emailPlaceholderText:"Digite seu e-mail",incrementValue:"Incrementar valor",decrementValue:"Decrementar valor",dropZoneInstructions:e=>e?"Clique para escolher ou arraste arquivos aqui, ou pressione Enter ou Espaço para abrir o seletor de arquivos":"Arraste arquivos aqui",fileSizeUnits:["Bytes","KB","MB","GB","TB"],removeFile:"Remover arquivo",clearAllFiles:"Limpar todos os arquivos",clearValue:"Limpar valor",unknownType:"Tipo desconhecido",filesInputInstructions:(e,a,r)=>{let i=e==null||e>1?"Clique para escolher ou arraste arquivos aqui":"Clique para escolher ou arraste um arquivo aqui";if(e||a){const o=[];if(e!=null&&e>1&&o.push(`até ${e} arquivos`),a&&r){const t=n.formatFileSize(a,{units:r});o.push(`máx ${t} cada`)}o.length>0&&(i+=` (${o.join(", ")})`)}return i},paginationLabel:"Paginacao",firstPage:"Primeira pagina",previousPage:"Pagina anterior",nextPage:"Proxima pagina",lastPage:"Ultima pagina",breadcrumbs:"Breadcrumbs",commandPalette:"Paleta de comandos",typeACommand:"Digite um comando...",noResultsFound:"Nenhum resultado encontrado",noMatchingCommands:"Nenhum comando correspondente",appearanceSystem:"Sistema",appearanceLight:"Claro",appearanceDark:"Escuro",ok:"OK",changeTypeConfirmation:"Alterar o tipo apagará o valor atual. Continuar?",notifications:"Notificações",markAllAsRead:"Marcar tudo como lido",noNotifications:"Nenhuma notificação",schemaConflictsDetected:"Conflitos de esquema detectados",schemaViolationsDetected:"Violações de esquema detectadas",properties:"Propriedades",uploading:"Enviando...",dropFilesOrBrowse:"Arraste arquivos aqui ou clique para navegar",acceptedTypes:e=>`Tipos aceitos: ${e}`,enterUrlPrompt:"Digite a URL:",exceeded:"(excedido)",pdfPreview:"Visualizacao do PDF",lexical:{fontFamily:"Familia da fonte",fontSize:"Tamanho da fonte",fontColor:"Cor da fonte",highlightColor:"Cor de destaque",backgroundColor:"Cor de fundo",bold:"Negrito",italic:"Italico",underline:"Sublinhado",strikethrough:"Tachado",code:"Codigo",clearFormatting:"Limpar formatacao",normal:"Normal",heading:e=>`Titulo ${e}`,bulletList:"Lista com marcadores",orderedList:"Lista numerada",checkList:"Lista de verificacao",indent:"Aumentar recuo",outdent:"Diminuir recuo",blockquote:"Citacao",codeBlock:"Bloco de codigo",horizontalRule:"Linha horizontal",insertTable:"Inserir tabela",link:"Link",undo:"Desfazer",redo:"Refazer",cut:"Recortar",copy:"Copiar",paste:"Colar",defaultOption:"Padrao",slashCommands:"Comandos de barra",noCommandsFound:"Nenhum comando encontrado",changeBlockType:"Alterar tipo de bloco",blockTypes:"Tipos de bloco",enterUrl:"Digite a URL:",tableActions:"Table actions",insertRowAbove:"Insert row above",insertRowBelow:"Insert row below",insertColumnLeft:"Insert column left",insertColumnRight:"Insert column right",deleteRow:"Delete row",deleteColumn:"Delete column",deleteTable:"Delete table"},prosemirror:{bold:"Bold",italic:"Italic",code:"Code",link:"Link",removeLink:"Remove Link",heading:e=>`Heading ${e}`,bulletList:"Bullet List",orderedList:"Ordered List",blockquote:"Blockquote",codeBlock:"Code Block",horizontalRule:"Horizontal Rule",linkUrlPlaceholder:"https://example.com"},pdfPageViewer:{loading:"Carregando PDF...",loadFailed:"Falha ao carregar PDF",invalidPdf:"Arquivo PDF inválido",pageOutOfRange:(e,a)=>`A página ${e} está fora do intervalo (1-${a})`,renderFailed:"Falha ao renderizar página do PDF"}};exports.default=l;