@tempots/beatui 1.1.3 → 1.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ar-CFd5Xkva.cjs +1 -0
- package/dist/{ar-DaKbK_t8.js → ar-CZ07-PLK.js} +8 -7
- package/dist/auth/index.cjs.js +1 -1
- package/dist/auth/index.es.js +1 -1
- package/dist/{auth-divider-3t_-R0sL.cjs → auth-divider-BHAbd_PS.cjs} +1 -1
- package/dist/{auth-divider-Cp3xGpHr.js → auth-divider-CvQ0TQwi.js} +7 -7
- package/dist/beatui.css +54 -0
- package/dist/beatui.tailwind.css +54 -0
- package/dist/better-auth/index.cjs.js +1 -1
- package/dist/better-auth/index.es.js +5 -5
- package/dist/de-BJG9UqDS.cjs +1 -0
- package/dist/{de-3MTPDS1i.js → de-Dpx6i3Pv.js} +8 -7
- package/dist/{deep-merge-Da602mAN.js → deep-merge-D1cBNWZX.js} +4 -4
- package/dist/{deep-merge-Bz9HHpRt.cjs → deep-merge-DEEd-Tte.cjs} +1 -1
- package/dist/{duration-input-g-cQ3cs1.cjs → duration-input-CdgMuk2b.cjs} +1 -1
- package/dist/{duration-input-HM1i6RRY.js → duration-input-Dpqj2Am9.js} +4 -4
- package/dist/{editor-toolbar-group-Crlu1QJw.js → editor-toolbar-group-7eMZbEvH.js} +2 -2
- package/dist/{editor-toolbar-group-mkL4QozO.cjs → editor-toolbar-group-BJWRgYtv.cjs} +1 -1
- package/dist/es-BBqPUxJF.cjs +1 -0
- package/dist/{es-DwMUvBeU.js → es-apq3F_om.js} +8 -7
- package/dist/{fa-0rvQiKrJ.js → fa-BYpfIkLu.js} +8 -7
- package/dist/fa-d0o3KlIu.cjs +1 -0
- package/dist/{fr-B4i6NzLl.js → fr-Ba5_hcn7.js} +8 -7
- package/dist/fr-DzXA-sjH.cjs +1 -0
- package/dist/he-Cnx-qg1P.cjs +1 -0
- package/dist/{he-C71n-hsn.js → he-Dff_I80g.js} +8 -7
- package/dist/{hi-xmrXpeVU.js → hi-7G-frHVR.js} +8 -7
- package/dist/hi-BeJ8Q4O6.cjs +1 -0
- package/dist/index.cjs.js +2 -2
- package/dist/index.es.js +1266 -1286
- package/dist/{input-container-Di1YvVB_.cjs → input-container-BZwpJgx6.cjs} +1 -1
- package/dist/{input-container-BvEcp7FU.js → input-container-Q9wL2BUl.js} +1 -1
- package/dist/it-DE3pe-gS.cjs +1 -0
- package/dist/{it-CDZTtOBC.js → it-dSE5UgTZ.js} +8 -7
- package/dist/{ja-Zz1LzidW.js → ja-DRzjr2YR.js} +8 -7
- package/dist/ja-yzk8mwox.cjs +1 -0
- package/dist/json-schema/index.cjs.js +1 -1
- package/dist/json-schema/index.es.js +10 -10
- package/dist/json-schema-display/index.cjs.js +1 -1
- package/dist/json-schema-display/index.es.js +1 -1
- package/dist/json-structure/index.cjs.js +1 -1
- package/dist/json-structure/index.es.js +5 -5
- package/dist/{ko-9laUsZDL.js → ko-7gpweMh7.js} +8 -7
- package/dist/ko-rKqndOMO.cjs +1 -0
- package/dist/lexical/index.cjs.js +1 -1
- package/dist/lexical/index.es.js +4 -4
- package/dist/{modal-BT0jjDqX.cjs → modal-ClnvWxzi.cjs} +1 -1
- package/dist/{modal-DBguyX-b.js → modal-DXWQ-HUs.js} +3 -3
- package/dist/{nl-Dcll9fVA.js → nl-DAe4B7fb.js} +9 -8
- package/dist/nl-DKHslb-6.cjs +1 -0
- package/dist/{notice-Dtz7ADVH.js → notice-Dx4D1UOf.js} +4 -4
- package/dist/{notice-BNghd0oS.cjs → notice-dOOD80F7.cjs} +1 -1
- package/dist/{oneof-branch-detection-J_DYEEcD.js → oneof-branch-detection-B57ZDbzM.js} +1 -1
- package/dist/{oneof-branch-detection-ZUBZ6hqy.cjs → oneof-branch-detection-bQKKfV32.cjs} +1 -1
- package/dist/{pl-Dm9N9Gbr.js → pl-4xrzOC4A.js} +8 -7
- package/dist/pl-9yeqi1Kn.cjs +1 -0
- package/dist/prosemirror/index.cjs.js +1 -1
- package/dist/prosemirror/index.es.js +4 -4
- package/dist/pt-CCfVWHz4.cjs +1 -0
- package/dist/{pt-CFi5cn0k.js → pt-DYQOe1Td.js} +8 -7
- package/dist/ru-Cct0jttM.cjs +1 -0
- package/dist/{ru-CEhZUw8R.js → ru-FofxuqAJ.js} +10 -9
- package/dist/{text-input-DL9FvpTZ.cjs → text-input-CynkbBpH.cjs} +1 -1
- package/dist/{text-input-dDUEUmlC.js → text-input-DEAddaOi.js} +1 -1
- package/dist/{toolbar-DoKdYXIL.cjs → toolbar-Dz7R1kV3.cjs} +1 -1
- package/dist/{toolbar-DY0ax2Qd.js → toolbar-e9POle8o.js} +1 -1
- package/dist/{tr-ZmnVDhLP.js → tr-BfKjkfhE.js} +9 -8
- package/dist/tr-DhKxAXK0.cjs +1 -0
- package/dist/{translations-B1_yyDUK.js → translations-B96REXIk.js} +87 -86
- package/dist/translations-BDGa_4jx.cjs +1 -0
- package/dist/{translations-A4kR7CW8.js → translations-BplmL3nb.js} +1 -1
- package/dist/{translations-C81buKAw.cjs → translations-D8Jwi_d0.cjs} +1 -1
- package/dist/types/beatui-i18n/default.d.ts +1 -0
- package/dist/types/beatui-i18n/locales/en.d.ts +1 -0
- package/dist/types/beatui-i18n/translations.d.ts +1 -0
- package/dist/types/components/data/data-table.d.ts +8 -1
- package/dist/{ur-yYgj3NmT.js → ur-COVuSAxC.js} +8 -7
- package/dist/ur-DmfFC6MV.cjs +1 -0
- package/dist/{use-form-Dn6v2tEh.js → use-form-CEY-gUUT.js} +2 -2
- package/dist/{use-form-CaW192gw.cjs → use-form-Ca0kF4af.cjs} +1 -1
- package/dist/{vi-D5u4CLQO.js → vi-DI3te8d5.js} +8 -7
- package/dist/vi-DvY-zvIr.cjs +1 -0
- package/dist/{widget-customization-YhVcA-KM.js → widget-customization-BZ8aKWRK.js} +5 -5
- package/dist/{widget-customization-DOWmUuPU.cjs → widget-customization-CHxaaaEV.cjs} +1 -1
- package/dist/zh-DJhzbpi2.cjs +1 -0
- package/dist/{zh-B0kwMMer.js → zh-DKIbNXv8.js} +9 -8
- package/package.json +1 -1
- package/dist/ar-CuI1Jgt6.cjs +0 -1
- package/dist/de-DthHehbh.cjs +0 -1
- package/dist/es-B6GJLk9h.cjs +0 -1
- package/dist/fa-BwgP93iV.cjs +0 -1
- package/dist/fr-CQzk5zqY.cjs +0 -1
- package/dist/he-DcxxvRfs.cjs +0 -1
- package/dist/hi-D-KHVWg4.cjs +0 -1
- package/dist/it-D344Dutu.cjs +0 -1
- package/dist/ja-BNgnDZ27.cjs +0 -1
- package/dist/ko-D-WJ9NK7.cjs +0 -1
- package/dist/nl-CrqUlFie.cjs +0 -1
- package/dist/pl-9UksIrvX.cjs +0 -1
- package/dist/pt-_kfdzwqi.cjs +0 -1
- package/dist/ru-CW1WNNlr.cjs +0 -1
- package/dist/tr-B6GIRegf.cjs +0 -1
- package/dist/translations-Dbx7L7Q1.cjs +0 -1
- package/dist/ur-CtFl_tz6.cjs +0 -1
- package/dist/vi-DyCZSpsk.cjs +0 -1
- package/dist/zh-C3ZxMQKb.cjs +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const e=require("@tempots/dom"),_=require("./translations-Dbx7L7Q1.cjs"),B=require("./input-container-Di1YvVB_.cjs"),j=require("./stack-dwLevGa2.cjs"),T=require("./session-id-B5lJMzbB.cjs"),p=require("@tempots/std"),P=e.html.span(e.attr.class("bc-input-wrapper__required")," *");function G(n){const t=["bc-input-wrapper"];return n!=="vertical"&&t.push(`bc-input-wrapper--${n}`),t.join(" ")}function J(n,t){const s=["bc-input-wrapper__label-text"];return n?s.push("bc-input-wrapper__label-text--error"):t?s.push("bc-input-wrapper__label-text--disabled"):s.push("bc-input-wrapper__label-text--default"),s.join(" ")}function Q(n,t){if(n==="horizontal-fixed"&&t!=null)return`--input-wrapper-label-width: ${t}`}const O=({fullWidth:n=!1,required:t,label:s,labelChildren:i,context:r,description:l,content:o,error:a,labelFor:c,hasError:d,disabled:u,layout:m,labelWidth:g},...v)=>{const f=d??a!=null,h=u??!1,y=m??"vertical",w=T.sessionId("input-wrapper"),D=l?`${w}-description`:void 0,I=a!=null?`${w}-error`:void 0,A=e.computedOf(y)(b=>b!=="vertical"),K=e.computedOf(y,g??void 0)((b,C)=>Q(b,C));return e.html.div(e.attr.class(e.Value.map(y,b=>G(b))),e.attr.class(e.Value.map(n,b=>b?"bc-input-wrapper--full-width":"")),e.attr.style(K),s!=null||r!=null?e.html.div(e.attr.class("bc-input-wrapper__header"),e.html.div(e.attr.class("bc-input-wrapper__label-section"),e.html.label(e.attr.class("bc-input-wrapper__label"),c!=null?e.attr.for(c):e.Empty,e.html.span(e.attr.class(e.computedOf(f,h)((b,C)=>J(b??!1,C??!1))),s),s!=null&&t?P:e.Empty),e.When(e.computedOf(A,l)((b,C)=>b&&C!=null),()=>e.html.div(e.attr.class("bc-input-wrapper__description bc-input-wrapper__description--under-label"),e.attr.id(D),l))),r!=null?j.Label(r):e.Empty,i):e.Empty,e.html.div(e.attr.class("bc-input-wrapper__content"),[D,I].filter(Boolean).length>0?e.dataAttr("describedby",[D,I].filter(Boolean).join(" ")):e.Empty,t?e.dataAttr("required","true"):e.Empty,e.When(f,()=>e.dataAttr("invalid","true")),o),e.When(e.computedOf(A,l)((b,C)=>!b&&C!=null),()=>e.html.div(e.attr.class("bc-input-wrapper__description"),e.attr.id(D),l)),e.When(f,()=>e.html.div(e.attr.class("bc-input-wrapper__error"),e.attr.id(I),e.aria.live("polite"),e.attr.role("alert"),a)),...v)};function X({size:n="sm",icon:t="line-md:close",disabled:s,roundedness:i="full",color:r="base",onClick:l,label:o},...a){return e.Use(_.BeatUII18n,c=>{const d=e.coalesce(o,c.$.closeModal);return B.Button({variant:"text",size:n,roundedness:i,disabled:s,color:r,onClick:l},e.attr.title(d),e.aria.label(d),...a,_.Icon({icon:t,size:n??"sm"}))})}const Y=n=>{const{value:t,onBlur:s,onChange:i,onInput:r,placeholder:l,disabled:o,id:a,activeIcon:c,inactiveIcon:d,size:u="md"}=n,m=a??T.sessionId("checkbox"),g=`${m}-label`,v=()=>{if(e.Value.get(o??!1))return;const h=e.Value.get(t);i?.(!h),r?.(!h)},f=h=>{e.Value.get(o??!1)||(h.key===" "||h.key==="Enter")&&(h.preventDefault(),v())};return B.InputContainer({baseContainer:!0,growInput:!1,...n,input:e.html.span(e.attr.class("bc-checkbox-input"),e.html.span(e.attr.class("bc-checkbox-input__checkbox"),e.attr.class(e.Value.map(t,h=>h?"bc-checkbox-input__checkbox--checked":"bc-checkbox-input__checkbox--unchecked")),e.attr.class(e.Value.map(o??!1,h=>h?"bc-checkbox-input__checkbox--disabled":"")),e.attr.id(m),e.attr.role("checkbox"),e.attr.tabindex(e.Value.map(o??!1,h=>h?-1:0)),e.aria.checked(t),e.aria.disabled(o),l!=null?e.aria.labelledby(g):e.Empty,e.on.keydown(f),s!=null?e.on.blur(s):e.Empty,_.Icon({icon:e.computedOf(t,c,d)((h,y,w)=>h?y??"ri:checkbox-fill":w??"mdi:checkbox-blank-outline"),accessibility:"decorative",size:u})),l!=null?e.html.label(e.attr.class("bc-checkbox-input__label"),e.attr.id(g),e.attr.for(m),j.MutedLabel(l)):e.Empty)},e.on.click(v))},q=((n,t)=>()=>{n.markTouched(),t?.()}),E=(n,t)=>s=>{n.change(s),t?.(s)};function M(n,t){const{controller:s,onBlur:i,onChange:r,id:l,triggerOn:o,...a}=t;return n({id:l??s.name,disabled:s.disabled,value:s.signal,hasError:s.errorVisible,name:s.name,...a,onInput:o==="input"?E(s,r):void 0,onChange:o!=="input"?E(s,r):void 0,onBlur:q(s,i)})}function Z(n,{id:t,labelFor:s,...i},...r){const l=t??i.controller.name??T.sessionId("control"),o=s??l;return O({...i,hasError:i.controller.errorVisible,error:e.TextNode(i.controller.error.map(a=>a??"")),labelFor:o,content:M(a=>n({...a,id:l}),i)},...r)}function H(n,t){const{toInput:s,fromInput:i,controller:r,...l}=t,o=r.transform(s,i);return M(n,{...l,controller:o})}function tt(n,{id:t,labelFor:s,...i},...r){const l=t??i.controller.name??T.sessionId("control");return O({...i,labelFor:s??l,content:H(n,{...i,id:l})},...r)}function et(n){return n.split(".").map(s=>{const i=s.match(/^\[(\d+)\]$/);return i?Number(i[1]):s})}function F(n){return typeof n=="number"?`[${n}]`:`.${n}`}function $(n){if(n.length===0)return"";const[t,...s]=n;return[typeof t=="number"?`[${t}]`:t,...s.map(F)].join("")}const st={valid:p.Validation.valid,invalid(n){return p.Validation.invalid({message:n})},invalidFields(n){const t={};for(const[s,i]of Object.entries(n))t[s]=typeof i=="string"?{message:i}:i;return p.Validation.invalid({dependencies:t})},fromError(n){return p.Validation.invalid(n)}};function V(n){return function(s){if(s.type==="valid")return s;let i=s.error;for(const r of n)if(i=i?.dependencies?.[r],i==null)return p.Validation.valid;return p.Validation.invalid(i)}}class k{path;change;signal;status;error;hasError;touched;errorVisible;dirty;dependencyErrors;#t={disabled:e.prop(!1),touched:e.prop(!1)};#s;#e=e.prop(void 0);parent;disabled;#n=[];disabledOrHasErrors;constructor(t,s,i,r,l,o=p.strictEqual){this.path=t,this.change=s,this.signal=i,this.status=r,this.#s=o,this.#e.set(i.value),this.error=r.map(a=>a?.type==="invalid"?a.error?.message:void 0),this.hasError=this.error.map(a=>a!=null),this.touched=this.#t.touched,l.validationMode?this.errorVisible=e.computedOf(this.hasError,this.touched,l.validationMode)((a,c,d)=>d==="eager"?!!a:!!a&&!!c):this.errorVisible=e.computedOf(this.hasError,this.touched)((a,c)=>!!a&&!!c),this.dirty=e.computedOf(this.signal,this.#e)((a,c)=>!this.#s(a,c)),this.dependencyErrors=r.map(a=>a?.type==="invalid"?a.error?.dependencies:void 0),this.parent=l,this.disabled=e.computedOf(this.#t.disabled,l.disabled)((a,c)=>a||c),this.disabledOrHasErrors=e.computedOf(this.disabled,this.hasError)((a,c)=>a||c),this.onDispose(()=>{this.#t.disabled.dispose(),this.#t.touched.dispose(),this.disabled.dispose(),this.error.dispose(),this.errorVisible.dispose(),this.dirty.dispose(),this.#e.dispose(),this.dependencyErrors.dispose(),this.disabledOrHasErrors.dispose()})}get name(){return $(this.path)}onDispose=t=>{this.#n.push(t)};dispose=()=>{for(const t of this.#n)try{t()}catch(s){console.error("Error in dispose callback:",s)}this.#n.length=0};setDisabled=t=>{this.#t.disabled.set(t)};disable=()=>this.setDisabled(!0);enable=()=>this.setDisabled(!1);markTouched=()=>{this.#t.touched.set(!0)};resetTouched=()=>{this.#t.touched.set(!1)};markPristine=()=>{this.#e.set(this.signal.value)};reset=()=>{this.change(this.#e.value)};array=(t=p.strictEqual)=>new N(this.path,this.change,this.signal,this.status,this.parent,t);object=(t=p.strictEqual)=>new W(this.path,this.change,this.signal,this.status,this.parent,t);transform=(t,s,i=[],r=p.strictEqual)=>new k([...this.path,...i],l=>this.change(s(l)),this.signal.map(t,r),this.status.map(V(i)),this.parent,r);asyncTransform=(t,s,i,r=[],l=p.strictEqual)=>new k([...this.path,...r],o=>{s(o).then(a=>this.change(a))},this.signal.mapAsync(t,i,void 0,l),this.status.map(V(r)),this.parent,l)}class W extends k{#t=new Map;#s=new Map;#e=new Map;#n=e.prop(!1);touchedDeep=this.#n;#r=new Map;#i=new Map;#o=e.prop(!1);dirtyDeep=this.#o;#c;#h;#l=()=>{let t=!1;for(const s of this.#s.values())if(s){t=!0;break}this.#n.set(this.touched.value||t)};constructor(t,s,i,r,l,o){super(t,s,i.map(c=>c??{},o),r,l,o),this.#c=this.touched.on(()=>{this.#l()}),this.#h=this.dirty.on(()=>{this.#a()});const a=this.signal.on(()=>this.#a());this.onDispose(()=>{for(const c of this.#t.values())c.dispose();this.#t.clear();for(const c of this.#e.values())c();this.#e.clear(),this.#s.clear(),this.#n.dispose();for(const c of this.#i.values())c();this.#i.clear(),this.#r.clear(),this.#o.dispose(),this.#c(),this.#h(),a()})}field=t=>{if(this.#t.has(t))return this.#t.get(t);const s=async o=>{this.change({...this.signal.value,[t]:o})},i=new k([...this.path,t],s,this.signal.map(o=>o[t]),this.status.map(V([t])),{disabled:this.disabled,validationMode:this.parent.validationMode});this.#t.set(t,i);const r=i.touched.on(o=>{this.#s.set(t,o),this.#l()});this.#e.set(t,r);const l=i.dirty.on(o=>{this.#r.set(t,o),this.#a()});return this.#i.set(t,l),i};markAllTouched=()=>{this.markTouched();const t=this.signal.value;for(const s of Object.keys(t))this.field(s).markTouched();for(const s of this.#t.values())s.markTouched()};markAllPristine=()=>{this.markPristine();const t=this.signal.value;for(const s of Object.keys(t))this.field(s).markPristine?.();for(const s of this.#t.values())s.markPristine?.()};#a=()=>{let t=!1;for(const s of this.#r.values())if(s){t=!0;break}this.#o.set(this.dirty.value||t)}}class N extends k{#t=new Array;length;#s=new Map;#e=new Map;#n=e.prop(!1);touchedDeep=this.#n;#r=new Map;#i=new Map;#o=e.prop(!1);dirtyDeep=this.#o;#c;#h;#l=()=>{let t=!1;for(const s of this.#s.values())if(s){t=!0;break}this.#n.set(this.touched.value||t)};constructor(t,s,i,r,l,o){const a=i.map(u=>u??[],o);super(t,s,a,r,l,o);const c=a.on(u=>{const m=this.#t.length-u.length;m>0&&(this.#t.splice(u.length,m).forEach((g,v)=>{const f=u.length+v;g.dispose(),this.#e.get(f)?.(),this.#e.delete(f),this.#s.delete(f),this.#i.get(f)?.(),this.#i.delete(f),this.#r.delete(f)}),this.#l(),this.#a())});this.length=a.map(u=>u.length),this.#c=this.touched.on(()=>{this.#l()}),this.#h=this.dirty.on(()=>{this.#a()});const d=this.signal.on(()=>this.#a());this.onDispose(()=>{for(const u of this.#t)u.dispose();this.length.dispose(),this.#t.length=0,c(),a.dispose();for(const u of this.#e.values())u();this.#e.clear(),this.#s.clear(),this.#n.dispose();for(const u of this.#i.values())u();this.#i.clear(),this.#r.clear(),this.#o.dispose(),this.#c(),this.#h(),d()})}item=t=>{if(this.#t[t])return this.#t[t];const s=async o=>{const a=this.signal.value.slice();a[t]=o,this.change(a)},i=new k([...this.path,t],s,this.signal.map(o=>o[t]),this.status.map(V([t])),{disabled:this.disabled,validationMode:this.parent.validationMode});this.#t[t]=i;const r=i.touched.on(o=>{this.#s.set(t,o),this.#l()});this.#e.set(t,r);const l=i.dirty.on(o=>{this.#r.set(t,o),this.#a()});return this.#i.set(t,l),i};push=(...t)=>{this.change([...this.signal.value,...t])};pop=()=>{this.splice(this.signal.value.length-1,1)};shift=()=>{this.splice(0,1)};unshift=(...t)=>{this.change([...t,...this.signal.value])};removeAt=t=>{this.splice(t,1)};splice=(t,s)=>{const i=this.signal.value.slice();i.splice(t,s),this.change(i)};move=(t,s,i=1)=>{if(i<1||t===s)return;const r=this.signal.value.slice(),l=r.splice(t,i);r.splice(s,0,...l),this.change(r)};markAllTouched=()=>{this.markTouched();const t=this.signal.value.length;for(let s=0;s<t;s++)this.item(s).markTouched()};markAllPristine=()=>{this.markPristine();const t=this.signal.value.length;for(let s=0;s<t;s++)this.item(s).markPristine?.()};#a=()=>{let t=!1;for(const s of this.#r.values())if(s){t=!0;break}this.#o.set(this.dirty.value||t)}}function z(n){function t(s){return typeof s=="number"?s:s.toString()}return n.map(s=>typeof s=="object"&&s.key!=null?t(s.key):t(s))}function L(n){const t=n.filter(r=>r.path==null||r.path.length===0).map(r=>r.message),s=n.filter(r=>r.path!=null&&r.path.length>0).reduce((r,l)=>{const o=z(l.path),a=o.pop();let c=r;for(const d of o)c.dependencies==null&&(c.dependencies={}),c.dependencies[d]==null&&(c.dependencies[d]={}),c=c.dependencies[d];return c.dependencies==null&&(c.dependencies={}),c.dependencies[a]={message:l.message},r},{}),i=t.join(`
|
|
1
|
+
"use strict";const e=require("@tempots/dom"),_=require("./translations-BDGa_4jx.cjs"),B=require("./input-container-BZwpJgx6.cjs"),j=require("./stack-dwLevGa2.cjs"),T=require("./session-id-B5lJMzbB.cjs"),p=require("@tempots/std"),P=e.html.span(e.attr.class("bc-input-wrapper__required")," *");function G(n){const t=["bc-input-wrapper"];return n!=="vertical"&&t.push(`bc-input-wrapper--${n}`),t.join(" ")}function J(n,t){const s=["bc-input-wrapper__label-text"];return n?s.push("bc-input-wrapper__label-text--error"):t?s.push("bc-input-wrapper__label-text--disabled"):s.push("bc-input-wrapper__label-text--default"),s.join(" ")}function Q(n,t){if(n==="horizontal-fixed"&&t!=null)return`--input-wrapper-label-width: ${t}`}const O=({fullWidth:n=!1,required:t,label:s,labelChildren:i,context:r,description:l,content:o,error:a,labelFor:c,hasError:d,disabled:u,layout:m,labelWidth:g},...v)=>{const f=d??a!=null,h=u??!1,y=m??"vertical",w=T.sessionId("input-wrapper"),D=l?`${w}-description`:void 0,I=a!=null?`${w}-error`:void 0,A=e.computedOf(y)(b=>b!=="vertical"),K=e.computedOf(y,g??void 0)((b,C)=>Q(b,C));return e.html.div(e.attr.class(e.Value.map(y,b=>G(b))),e.attr.class(e.Value.map(n,b=>b?"bc-input-wrapper--full-width":"")),e.attr.style(K),s!=null||r!=null?e.html.div(e.attr.class("bc-input-wrapper__header"),e.html.div(e.attr.class("bc-input-wrapper__label-section"),e.html.label(e.attr.class("bc-input-wrapper__label"),c!=null?e.attr.for(c):e.Empty,e.html.span(e.attr.class(e.computedOf(f,h)((b,C)=>J(b??!1,C??!1))),s),s!=null&&t?P:e.Empty),e.When(e.computedOf(A,l)((b,C)=>b&&C!=null),()=>e.html.div(e.attr.class("bc-input-wrapper__description bc-input-wrapper__description--under-label"),e.attr.id(D),l))),r!=null?j.Label(r):e.Empty,i):e.Empty,e.html.div(e.attr.class("bc-input-wrapper__content"),[D,I].filter(Boolean).length>0?e.dataAttr("describedby",[D,I].filter(Boolean).join(" ")):e.Empty,t?e.dataAttr("required","true"):e.Empty,e.When(f,()=>e.dataAttr("invalid","true")),o),e.When(e.computedOf(A,l)((b,C)=>!b&&C!=null),()=>e.html.div(e.attr.class("bc-input-wrapper__description"),e.attr.id(D),l)),e.When(f,()=>e.html.div(e.attr.class("bc-input-wrapper__error"),e.attr.id(I),e.aria.live("polite"),e.attr.role("alert"),a)),...v)};function X({size:n="sm",icon:t="line-md:close",disabled:s,roundedness:i="full",color:r="base",onClick:l,label:o},...a){return e.Use(_.BeatUII18n,c=>{const d=e.coalesce(o,c.$.closeModal);return B.Button({variant:"text",size:n,roundedness:i,disabled:s,color:r,onClick:l},e.attr.title(d),e.aria.label(d),...a,_.Icon({icon:t,size:n??"sm"}))})}const Y=n=>{const{value:t,onBlur:s,onChange:i,onInput:r,placeholder:l,disabled:o,id:a,activeIcon:c,inactiveIcon:d,size:u="md"}=n,m=a??T.sessionId("checkbox"),g=`${m}-label`,v=()=>{if(e.Value.get(o??!1))return;const h=e.Value.get(t);i?.(!h),r?.(!h)},f=h=>{e.Value.get(o??!1)||(h.key===" "||h.key==="Enter")&&(h.preventDefault(),v())};return B.InputContainer({baseContainer:!0,growInput:!1,...n,input:e.html.span(e.attr.class("bc-checkbox-input"),e.html.span(e.attr.class("bc-checkbox-input__checkbox"),e.attr.class(e.Value.map(t,h=>h?"bc-checkbox-input__checkbox--checked":"bc-checkbox-input__checkbox--unchecked")),e.attr.class(e.Value.map(o??!1,h=>h?"bc-checkbox-input__checkbox--disabled":"")),e.attr.id(m),e.attr.role("checkbox"),e.attr.tabindex(e.Value.map(o??!1,h=>h?-1:0)),e.aria.checked(t),e.aria.disabled(o),l!=null?e.aria.labelledby(g):e.Empty,e.on.keydown(f),s!=null?e.on.blur(s):e.Empty,_.Icon({icon:e.computedOf(t,c,d)((h,y,w)=>h?y??"ri:checkbox-fill":w??"mdi:checkbox-blank-outline"),accessibility:"decorative",size:u})),l!=null?e.html.label(e.attr.class("bc-checkbox-input__label"),e.attr.id(g),e.attr.for(m),j.MutedLabel(l)):e.Empty)},e.on.click(v))},q=((n,t)=>()=>{n.markTouched(),t?.()}),E=(n,t)=>s=>{n.change(s),t?.(s)};function M(n,t){const{controller:s,onBlur:i,onChange:r,id:l,triggerOn:o,...a}=t;return n({id:l??s.name,disabled:s.disabled,value:s.signal,hasError:s.errorVisible,name:s.name,...a,onInput:o==="input"?E(s,r):void 0,onChange:o!=="input"?E(s,r):void 0,onBlur:q(s,i)})}function Z(n,{id:t,labelFor:s,...i},...r){const l=t??i.controller.name??T.sessionId("control"),o=s??l;return O({...i,hasError:i.controller.errorVisible,error:e.TextNode(i.controller.error.map(a=>a??"")),labelFor:o,content:M(a=>n({...a,id:l}),i)},...r)}function H(n,t){const{toInput:s,fromInput:i,controller:r,...l}=t,o=r.transform(s,i);return M(n,{...l,controller:o})}function tt(n,{id:t,labelFor:s,...i},...r){const l=t??i.controller.name??T.sessionId("control");return O({...i,labelFor:s??l,content:H(n,{...i,id:l})},...r)}function et(n){return n.split(".").map(s=>{const i=s.match(/^\[(\d+)\]$/);return i?Number(i[1]):s})}function F(n){return typeof n=="number"?`[${n}]`:`.${n}`}function $(n){if(n.length===0)return"";const[t,...s]=n;return[typeof t=="number"?`[${t}]`:t,...s.map(F)].join("")}const st={valid:p.Validation.valid,invalid(n){return p.Validation.invalid({message:n})},invalidFields(n){const t={};for(const[s,i]of Object.entries(n))t[s]=typeof i=="string"?{message:i}:i;return p.Validation.invalid({dependencies:t})},fromError(n){return p.Validation.invalid(n)}};function V(n){return function(s){if(s.type==="valid")return s;let i=s.error;for(const r of n)if(i=i?.dependencies?.[r],i==null)return p.Validation.valid;return p.Validation.invalid(i)}}class k{path;change;signal;status;error;hasError;touched;errorVisible;dirty;dependencyErrors;#t={disabled:e.prop(!1),touched:e.prop(!1)};#s;#e=e.prop(void 0);parent;disabled;#n=[];disabledOrHasErrors;constructor(t,s,i,r,l,o=p.strictEqual){this.path=t,this.change=s,this.signal=i,this.status=r,this.#s=o,this.#e.set(i.value),this.error=r.map(a=>a?.type==="invalid"?a.error?.message:void 0),this.hasError=this.error.map(a=>a!=null),this.touched=this.#t.touched,l.validationMode?this.errorVisible=e.computedOf(this.hasError,this.touched,l.validationMode)((a,c,d)=>d==="eager"?!!a:!!a&&!!c):this.errorVisible=e.computedOf(this.hasError,this.touched)((a,c)=>!!a&&!!c),this.dirty=e.computedOf(this.signal,this.#e)((a,c)=>!this.#s(a,c)),this.dependencyErrors=r.map(a=>a?.type==="invalid"?a.error?.dependencies:void 0),this.parent=l,this.disabled=e.computedOf(this.#t.disabled,l.disabled)((a,c)=>a||c),this.disabledOrHasErrors=e.computedOf(this.disabled,this.hasError)((a,c)=>a||c),this.onDispose(()=>{this.#t.disabled.dispose(),this.#t.touched.dispose(),this.disabled.dispose(),this.error.dispose(),this.errorVisible.dispose(),this.dirty.dispose(),this.#e.dispose(),this.dependencyErrors.dispose(),this.disabledOrHasErrors.dispose()})}get name(){return $(this.path)}onDispose=t=>{this.#n.push(t)};dispose=()=>{for(const t of this.#n)try{t()}catch(s){console.error("Error in dispose callback:",s)}this.#n.length=0};setDisabled=t=>{this.#t.disabled.set(t)};disable=()=>this.setDisabled(!0);enable=()=>this.setDisabled(!1);markTouched=()=>{this.#t.touched.set(!0)};resetTouched=()=>{this.#t.touched.set(!1)};markPristine=()=>{this.#e.set(this.signal.value)};reset=()=>{this.change(this.#e.value)};array=(t=p.strictEqual)=>new N(this.path,this.change,this.signal,this.status,this.parent,t);object=(t=p.strictEqual)=>new W(this.path,this.change,this.signal,this.status,this.parent,t);transform=(t,s,i=[],r=p.strictEqual)=>new k([...this.path,...i],l=>this.change(s(l)),this.signal.map(t,r),this.status.map(V(i)),this.parent,r);asyncTransform=(t,s,i,r=[],l=p.strictEqual)=>new k([...this.path,...r],o=>{s(o).then(a=>this.change(a))},this.signal.mapAsync(t,i,void 0,l),this.status.map(V(r)),this.parent,l)}class W extends k{#t=new Map;#s=new Map;#e=new Map;#n=e.prop(!1);touchedDeep=this.#n;#r=new Map;#i=new Map;#o=e.prop(!1);dirtyDeep=this.#o;#c;#h;#l=()=>{let t=!1;for(const s of this.#s.values())if(s){t=!0;break}this.#n.set(this.touched.value||t)};constructor(t,s,i,r,l,o){super(t,s,i.map(c=>c??{},o),r,l,o),this.#c=this.touched.on(()=>{this.#l()}),this.#h=this.dirty.on(()=>{this.#a()});const a=this.signal.on(()=>this.#a());this.onDispose(()=>{for(const c of this.#t.values())c.dispose();this.#t.clear();for(const c of this.#e.values())c();this.#e.clear(),this.#s.clear(),this.#n.dispose();for(const c of this.#i.values())c();this.#i.clear(),this.#r.clear(),this.#o.dispose(),this.#c(),this.#h(),a()})}field=t=>{if(this.#t.has(t))return this.#t.get(t);const s=async o=>{this.change({...this.signal.value,[t]:o})},i=new k([...this.path,t],s,this.signal.map(o=>o[t]),this.status.map(V([t])),{disabled:this.disabled,validationMode:this.parent.validationMode});this.#t.set(t,i);const r=i.touched.on(o=>{this.#s.set(t,o),this.#l()});this.#e.set(t,r);const l=i.dirty.on(o=>{this.#r.set(t,o),this.#a()});return this.#i.set(t,l),i};markAllTouched=()=>{this.markTouched();const t=this.signal.value;for(const s of Object.keys(t))this.field(s).markTouched();for(const s of this.#t.values())s.markTouched()};markAllPristine=()=>{this.markPristine();const t=this.signal.value;for(const s of Object.keys(t))this.field(s).markPristine?.();for(const s of this.#t.values())s.markPristine?.()};#a=()=>{let t=!1;for(const s of this.#r.values())if(s){t=!0;break}this.#o.set(this.dirty.value||t)}}class N extends k{#t=new Array;length;#s=new Map;#e=new Map;#n=e.prop(!1);touchedDeep=this.#n;#r=new Map;#i=new Map;#o=e.prop(!1);dirtyDeep=this.#o;#c;#h;#l=()=>{let t=!1;for(const s of this.#s.values())if(s){t=!0;break}this.#n.set(this.touched.value||t)};constructor(t,s,i,r,l,o){const a=i.map(u=>u??[],o);super(t,s,a,r,l,o);const c=a.on(u=>{const m=this.#t.length-u.length;m>0&&(this.#t.splice(u.length,m).forEach((g,v)=>{const f=u.length+v;g.dispose(),this.#e.get(f)?.(),this.#e.delete(f),this.#s.delete(f),this.#i.get(f)?.(),this.#i.delete(f),this.#r.delete(f)}),this.#l(),this.#a())});this.length=a.map(u=>u.length),this.#c=this.touched.on(()=>{this.#l()}),this.#h=this.dirty.on(()=>{this.#a()});const d=this.signal.on(()=>this.#a());this.onDispose(()=>{for(const u of this.#t)u.dispose();this.length.dispose(),this.#t.length=0,c(),a.dispose();for(const u of this.#e.values())u();this.#e.clear(),this.#s.clear(),this.#n.dispose();for(const u of this.#i.values())u();this.#i.clear(),this.#r.clear(),this.#o.dispose(),this.#c(),this.#h(),d()})}item=t=>{if(this.#t[t])return this.#t[t];const s=async o=>{const a=this.signal.value.slice();a[t]=o,this.change(a)},i=new k([...this.path,t],s,this.signal.map(o=>o[t]),this.status.map(V([t])),{disabled:this.disabled,validationMode:this.parent.validationMode});this.#t[t]=i;const r=i.touched.on(o=>{this.#s.set(t,o),this.#l()});this.#e.set(t,r);const l=i.dirty.on(o=>{this.#r.set(t,o),this.#a()});return this.#i.set(t,l),i};push=(...t)=>{this.change([...this.signal.value,...t])};pop=()=>{this.splice(this.signal.value.length-1,1)};shift=()=>{this.splice(0,1)};unshift=(...t)=>{this.change([...t,...this.signal.value])};removeAt=t=>{this.splice(t,1)};splice=(t,s)=>{const i=this.signal.value.slice();i.splice(t,s),this.change(i)};move=(t,s,i=1)=>{if(i<1||t===s)return;const r=this.signal.value.slice(),l=r.splice(t,i);r.splice(s,0,...l),this.change(r)};markAllTouched=()=>{this.markTouched();const t=this.signal.value.length;for(let s=0;s<t;s++)this.item(s).markTouched()};markAllPristine=()=>{this.markPristine();const t=this.signal.value.length;for(let s=0;s<t;s++)this.item(s).markPristine?.()};#a=()=>{let t=!1;for(const s of this.#r.values())if(s){t=!0;break}this.#o.set(this.dirty.value||t)}}function z(n){function t(s){return typeof s=="number"?s:s.toString()}return n.map(s=>typeof s=="object"&&s.key!=null?t(s.key):t(s))}function L(n){const t=n.filter(r=>r.path==null||r.path.length===0).map(r=>r.message),s=n.filter(r=>r.path!=null&&r.path.length>0).reduce((r,l)=>{const o=z(l.path),a=o.pop();let c=r;for(const d of o)c.dependencies==null&&(c.dependencies={}),c.dependencies[d]==null&&(c.dependencies[d]={}),c=c.dependencies[d];return c.dependencies==null&&(c.dependencies={}),c.dependencies[a]={message:l.message},r},{}),i=t.join(`
|
|
2
2
|
`);return{...s,message:i!=""?i:void 0}}function R({initialValue:n,onChange:t,validate:s,equals:i,validationMode:r,validateDebounceMs:l}){const o=e.Value.deriveProp(n),a=e.prop(p.Validation.valid),c=e.prop(!1),d=e.prop(r??"onTouched"),u=h=>{a.set(h)};let m;const g=async h=>{if(s!=null){const y=await s(h);u(y)}},v=async h=>{o.set(h),t?.(h);const y=d.value;if(s!=null){if(y==="onSubmit")return;const w=l??0;w>0?(m&&clearTimeout(m),m=setTimeout(()=>{g(h)},w)):await g(h)}},f=new k([],v,o,a,{disabled:c,validationMode:d},i??p.strictEqual);return f.onDispose(()=>{c.dispose(),o.dispose(),a.dispose(),d.dispose(),m&&clearTimeout(m)}),{controller:f,setStatus:u}}function x(n){return e.Fragment(e.attr.disabled(n.disabled),e.attr.name(n.name))}function nt(n,{triggerOn:t="change"}={}){return e.Fragment(x(n),e.attr.value(n.signal),(t==="input"?e.on.input:e.on.change)(e.emitValue(n.change)))}function it(n,{triggerOn:t="change"}={}){return e.Fragment(x(n),e.attr.valueAsNumber(n.signal),(t==="input"?e.on.input:e.on.change)(e.emitValueAsNumber(n.change)))}function S(n){return n.issues!=null?p.Validation.invalid(L(n.issues)):p.Validation.valid}async function rt({task:n,errorMessage:t,errorPath:s=["root"],validation:i}){try{const r=await n();return i!=null?i(r):p.Validation.valid}catch(r){const l=t??(r instanceof Error?r.message:"Operation failed");return s.length===1&&s[0]==="root"?p.Validation.invalid({message:l}):p.Validation.invalid({dependencies:U(s,l)})}}function U(n,t){if(n.length===1)return{[n[0]]:{message:t}};const[s,...i]=n;return{[s]:{dependencies:U(i,t)}}}function at({initialValue:n={},schema:t,onSubmit:s=async()=>p.Validation.valid,validationMode:i,validateDebounceMs:r}){const{controller:l,setStatus:o}=R({initialValue:n,validationMode:i??"onTouched",validateDebounceMs:r,validate:(i??"onTouched")==="onSubmit"||t==null?void 0:async u=>S(await t["~standard"].validate(u))}),a=e.prop(!1),c=l.object();return c.onDispose(()=>a.dispose()),{controller:c,setStatus:o,submit:async u=>{if(a.set(!0),u?.preventDefault(),c.markAllTouched(),t!=null){const g=c.signal.value,v=S(await t["~standard"].validate(g));if(o(v),v.type==="invalid"){a.set(!1);return}}const m=await s(c.signal.value);a.set(!1),m.type==="invalid"&&o(m)},submitting:a}}exports.ArrayController=N;exports.BaseControl=M;exports.BaseMappedControl=H;exports.CheckboxInput=Y;exports.CloseButton=X;exports.Control=Z;exports.Controller=k;exports.ControllerValidation=st;exports.InputWrapper=O;exports.MappedControl=tt;exports.ObjectController=W;exports.RequiredSymbol=P;exports.connectCommonAttributes=x;exports.connectNumberInput=it;exports.connectStringInput=nt;exports.convertStandardSchemaIssues=L;exports.convertStandardSchemaPathToPath=z;exports.makeMapValidation=V;exports.makeOnBlurHandler=q;exports.makeOnChangeHandler=E;exports.parsePath=et;exports.pathToString=$;exports.standardSchemaResultToValidation=S;exports.taskToValidation=rt;exports.useController=R;exports.useForm=at;exports.wrapSegment=F;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as a } from "./translations-
|
|
1
|
+
import { f as a } from "./translations-B96REXIk.js";
|
|
2
2
|
const r = {
|
|
3
3
|
loadingExtended: "Đang tải, vui lòng đợi",
|
|
4
4
|
loadingShort: "Đang tải...",
|
|
@@ -59,21 +59,22 @@ const r = {
|
|
|
59
59
|
clearValue: "Xóa giá trị",
|
|
60
60
|
unknownType: "Loại không xác định",
|
|
61
61
|
filesInputInstructions: (n, t, e) => {
|
|
62
|
-
let
|
|
62
|
+
let i = n == null || n > 1 ? "Nhấp để chọn hoặc kéo tệp vào đây" : "Nhấp để chọn hoặc kéo một tệp vào đây";
|
|
63
63
|
if (n || t) {
|
|
64
|
-
const
|
|
65
|
-
if (n != null && n > 1 &&
|
|
64
|
+
const o = [];
|
|
65
|
+
if (n != null && n > 1 && o.push(`tối đa ${n} tệp`), t && e) {
|
|
66
66
|
const l = a(t, {
|
|
67
67
|
units: e
|
|
68
68
|
});
|
|
69
|
-
|
|
69
|
+
o.push(`mỗi tệp tối đa ${l}`);
|
|
70
70
|
}
|
|
71
|
-
|
|
71
|
+
o.length > 0 && (i += ` (${o.join(", ")})`);
|
|
72
72
|
}
|
|
73
|
-
return
|
|
73
|
+
return i;
|
|
74
74
|
},
|
|
75
75
|
// Pagination
|
|
76
76
|
paginationLabel: "Phân trang",
|
|
77
|
+
paginationRange: (n, t, e, i) => i > e ? `Hàng ${n} đến ${t} trong ${e} trên ${i}` : `Hàng ${n} đến ${t} trong ${e}`,
|
|
77
78
|
firstPage: "Trang đầu",
|
|
78
79
|
previousPage: "Trang trước",
|
|
79
80
|
nextPage: "Trang tiếp",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./translations-BDGa_4jx.cjs"),h={loadingExtended:"Đang tải, vui lòng đợi",loadingShort:"Đang tải...",locale:"Ngôn ngữ",iconDescription:"Biểu tượng",loadingIcon:"Biểu tượng tải",failedToLoadIcon:"Không thể tải biểu tượng",editLabel:"Chỉnh sửa",selectOne:"Chọn một",selectNone:"Không có",selectMany:"Chọn nhiều",noResults:"Không có kết quả",passwordPlaceholderText:"Mật khẩu bí mật",togglePasswordVisibility:"Chuyển đổi hiển thị mật khẩu",toggleMenu:"Chuyển đổi menu",toggleAside:"Chuyển đổi bảng bên",mainNavigation:"Điều hướng chính",sidebar:"Thanh bên",closeDrawer:"Đóng ngăn kéo",closeModal:"Đóng modal",confirm:"Xác nhận",cancel:"Hủy",addLabel:"Thêm",removeItem:"Xóa mục",currentLocale:"Tiếng Việt",ar:"Tiếng Ả Rập",de:"Tiếng Đức",en:"Tiếng Anh",es:"Tiếng Tây Ban Nha",fr:"Tiếng Pháp",hi:"Tiếng Hindi",it:"Tiếng Ý",ja:"Tiếng Nhật",ko:"Tiếng Hàn",nl:"Tiếng Hà Lan",pl:"Tiếng Ba Lan",pt:"Tiếng Bồ Đào Nha",ru:"Tiếng Nga",tr:"Tiếng Thổ Nhĩ Kỳ",vi:"Tiếng Việt",zh:"Tiếng Trung",he:"Tiếng Do Thái",fa:"Tiếng Ba Tư",ur:"Tiếng Urdu",emailPlaceholderText:"Nhập email của bạn",incrementValue:"Tăng giá trị",decrementValue:"Giảm giá trị",dropZoneInstructions:n=>n?"Nhấp để chọn hoặc kéo tệp vào đây, hoặc nhấn Enter hoặc Space để mở trình chọn tệp":"Kéo tệp vào đây",fileSizeUnits:["Byte","KB","MB","GB","TB"],removeFile:"Xóa tệp",clearAllFiles:"Xóa tất cả tệp",clearValue:"Xóa giá trị",unknownType:"Loại không xác định",filesInputInstructions:(n,t,e)=>{let i=n==null||n>1?"Nhấp để chọn hoặc kéo tệp vào đây":"Nhấp để chọn hoặc kéo một tệp vào đây";if(n||t){const o=[];if(n!=null&&n>1&&o.push(`tối đa ${n} tệp`),t&&e){const l=a.formatFileSize(t,{units:e});o.push(`mỗi tệp tối đa ${l}`)}o.length>0&&(i+=` (${o.join(", ")})`)}return i},paginationLabel:"Phân trang",paginationRange:(n,t,e,i)=>i>e?`Hàng ${n} đến ${t} trong ${e} trên ${i}`:`Hàng ${n} đến ${t} trong ${e}`,firstPage:"Trang đầu",previousPage:"Trang trước",nextPage:"Trang tiếp",lastPage:"Trang cuối",breadcrumbs:"Thanh điều hướng",commandPalette:"Bảng lệnh",typeACommand:"Nhập lệnh...",noResultsFound:"Không tìm thấy kết quả",noMatchingCommands:"Không có lệnh phù hợp",appearanceSystem:"Hệ thống",appearanceLight:"Sáng",appearanceDark:"Tối",ok:"OK",changeTypeConfirmation:"Thay đổi loại sẽ xóa giá trị hiện tại. Tiếp tục?",notifications:"Thông báo",markAllAsRead:"Đánh dấu tất cả đã đọc",noNotifications:"Không có thông báo",schemaConflictsDetected:"Phát hiện xung đột lược đồ",schemaViolationsDetected:"Phát hiện vi phạm lược đồ",properties:"Thuộc tính",uploading:"Đang tải lên...",dropFilesOrBrowse:"Kéo thả tệp vào đây hoặc nhấp để duyệt",acceptedTypes:n=>`Loại tệp được chấp nhận: ${n}`,enterUrlPrompt:"Nhập URL:",exceeded:"(vượt quá)",pdfPreview:"Xem trước PDF",lexical:{fontFamily:"Phông chữ",fontSize:"Cỡ chữ",lineHeight:"Chiều cao dòng",fontColor:"Màu chữ",highlightColor:"Màu đánh dấu",backgroundColor:"Màu nền",bold:"Đậm",italic:"Nghiêng",underline:"Gạch chân",strikethrough:"Gạch ngang",code:"Mã",clearFormatting:"Xóa định dạng",normal:"Bình thường",heading:n=>`Tiêu đề ${n}`,bulletList:"Danh sách dấu đầu dòng",orderedList:"Danh sách đánh số",checkList:"Danh sách kiểm tra",indent:"Thụt lề",outdent:"Giảm thụt lề",blockquote:"Trích dẫn",codeBlock:"Khối mã",horizontalRule:"Đường kẻ ngang",insertTable:"Chèn bảng",link:"Liên kết",undo:"Hoàn tác",redo:"Làm lại",cut:"Cắt",copy:"Sao chép",paste:"Dán",defaultOption:"Mặc định",slashCommands:"Lệnh gạch chéo",noCommandsFound:"Không tìm thấy lệnh",changeBlockType:"Đổi loại khối",blockTypes:"Loại khối",enterUrl:"Nhập 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"},dataTable:{sortAscending:"Sắp xếp tăng dần",sortDescending:"Sắp xếp giảm dần",clearSort:"Xóa sắp xếp",filterPlaceholder:"Lọc...",clearFilter:"Xóa bộ lọc",selectAll:"Chọn tất cả",deselectAll:"Bỏ chọn tất cả",selectedCount:n=>`${n} đã chọn`,resetAll:"Đặt lại tất cả",noResults:"Không tìm thấy kết quả",loading:"Đang tải...",filterPanelAddCondition:"Thêm điều kiện",filterPanelApply:"Áp dụng",filterPanelClear:"Xóa bộ lọc",filterPanelAnd:"VÀ",filterPanelOr:"HOẶC",filterPanelContains:"Chứa",filterPanelNotContains:"Không chứa",filterPanelEquals:"Bằng",filterPanelNotEquals:"Không bằng",filterPanelStartsWith:"Bắt đầu với",filterPanelEndsWith:"Kết thúc với",filterPanelIsNull:"Trống",filterPanelIsNotNull:"Không trống",filterPanelGt:"Lớn hơn",filterPanelGte:"Lớn hơn hoặc bằng",filterPanelLt:"Nhỏ hơn",filterPanelLte:"Nhỏ hơn hoặc bằng",filterPanelBetween:"Trong khoảng",filterPanelValuePlaceholder:"Giá trị...",sortMultiHint:"Giữ Shift để sắp xếp nhiều cột",columnVisibility:"Cột",showAllColumns:"Hiển thị tất cả",menuSortAsc:"Sắp xếp tăng dần",menuSortDesc:"Sắp xếp giảm dần",menuClearSort:"Xóa sắp xếp",menuHideColumn:"Ẩn cột",menuChooseColumns:"Chọn cột",menuResetColumns:"Đặt lại cột",menuFilter:"Lọc",rowCount:(n,t)=>`Hàng: ${n} Tổng hàng: ${t}`,filterTagsPlaceholder:"Chọn giá trị...",groupCount:n=>`${n} mục`,collapseGroup:"Thu gọn nhóm",expandGroup:"Mở rộng nhóm",describeFilter:{textContains:(n,t)=>`${n} chứa "${t}"`,textNotContains:(n,t)=>`${n} không chứa "${t}"`,textEquals:(n,t)=>`${n} bằng "${t}"`,textNotEquals:(n,t)=>`${n} không bằng "${t}"`,textStartsWith:(n,t)=>`${n} bắt đầu bằng "${t}"`,textEndsWith:(n,t)=>`${n} kết thúc bằng "${t}"`,compareEq:(n,t)=>`${n} = ${t}`,compareNeq:(n,t)=>`${n} ≠ ${t}`,compareGt:(n,t)=>`${n} > ${t}`,compareGte:(n,t)=>`${n} ≥ ${t}`,compareLt:(n,t)=>`${n} < ${t}`,compareLte:(n,t)=>`${n} ≤ ${t}`,rangeBetween:(n,t,e)=>`${n} giữa ${t} và ${e}`,rangeGte:(n,t)=>`${n} ≥ ${t}`,rangeLte:(n,t)=>`${n} ≤ ${t}`,setIn:(n,t)=>`${n} trong [${t}]`,setNotIn:(n,t)=>`${n} không trong [${t}]`,booleanIs:(n,t)=>`${n} là ${t}`,isNull:n=>`${n} trống`,isNotNull:n=>`${n} không trống`,compositeAnd:n=>n.join(" VÀ "),compositeOr:n=>n.join(" HOẶC ")}},prosemirror:{bold:"Bold",italic:"Italic",code:"Code",link:"Link",removeLink:"Remove Link",heading:n=>`Heading ${n}`,bulletList:"Bullet List",orderedList:"Ordered List",blockquote:"Blockquote",codeBlock:"Code Block",horizontalRule:"Horizontal Rule",linkUrlPlaceholder:"https://example.com"},pdfPageViewer:{loading:"Đang tải PDF...",loadFailed:"Không thể tải PDF",invalidPdf:"Tệp PDF không hợp lệ",pageOutOfRange:(n,t)=>`Trang ${n} nằm ngoài phạm vi (1-${t})`,renderFailed:"Không thể hiển thị trang PDF"}};exports.default=h;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Value as p, prop as ut, computedOf as D, html as _, attr as u, svg as ot, svgAttr as J, Empty as A, on as I, When as z, Fragment as j, aria as R, emitValue as at, Use as ft, input as pt, emitValueAsNullableDate as ct, emitValueAsNullableDateTime as it, Repeat as mt, emit as bt, style as wt, emitValueAsNumber as E } from "@tempots/dom";
|
|
2
|
-
import { F as yt, N as X, T as Mt, U as It, a as $t } from "./deep-merge-
|
|
2
|
+
import { F as yt, N as X, T as Mt, U as It, a as $t } from "./deep-merge-D1cBNWZX.js";
|
|
3
3
|
import { decodeBase64 as xt } from "@tempots/std";
|
|
4
|
-
import { I as P } from "./input-container-
|
|
5
|
-
import { C as O, m as dt, T as _t } from "./text-input-
|
|
6
|
-
import { B as kt, I as et, b as lt, a as Ft } from "./translations-
|
|
4
|
+
import { I as P } from "./input-container-Q9wL2BUl.js";
|
|
5
|
+
import { C as O, m as dt, T as _t } from "./text-input-DEAddaOi.js";
|
|
6
|
+
import { B as kt, I as et, b as lt, a as Ft } from "./translations-B96REXIk.js";
|
|
7
7
|
import { AutoSelect as Ct } from "@tempots/ui";
|
|
8
|
-
import { E as Tt, P as St } from "./notice-
|
|
8
|
+
import { E as Tt, P as St } from "./notice-Dx4D1UOf.js";
|
|
9
9
|
import { s as At } from "./session-id-3KiilioY.js";
|
|
10
10
|
import { r as vt } from "./utils-vUtP6iPG.js";
|
|
11
11
|
function ht(t) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const t=require("@tempots/dom"),k=require("./deep-merge-Bz9HHpRt.cjs"),mt=require("@tempots/std"),B=require("./input-container-Di1YvVB_.cjs"),N=require("./text-input-DL9FvpTZ.cjs"),v=require("./translations-Dbx7L7Q1.cjs"),ft=require("@tempots/ui"),Q=require("./notice-BNghd0oS.cjs"),bt=require("./session-id-B5lJMzbB.cjs"),yt=require("./utils-DmEuG3Np.cjs");function Y(e){if(typeof e!="string")return!1;const n=e.startsWith("#")?e.slice(1):e;return/^[0-9A-Fa-f]{3}$|^[0-9A-Fa-f]{6}$/.test(n)}function Z(e){if(typeof e!="string")return!1;const n=/^rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i,s=e.match(n);if(!s)return!1;const[,a,o,r]=s,l=parseInt(a,10),i=parseInt(o,10),c=parseInt(r,10);return l>=0&&l<=255&&i>=0&&i<=255&&c>=0&&c<=255}function J(e){if(typeof e!="string")return!1;const n=/^rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(0|1|0?\.\d+)\s*\)$/i,s=e.match(n);if(!s)return!1;const[,a,o,r,l]=s,i=parseInt(a,10),c=parseInt(o,10),u=parseInt(r,10),p=parseFloat(l);return i>=0&&i<=255&&c>=0&&c<=255&&u>=0&&u<=255&&p>=0&&p<=1}function tt(e){if(typeof e!="string")return!1;const n=/^hsl\(\s*(\d{1,3})\s*,\s*(\d{1,3})%\s*,\s*(\d{1,3})%\s*\)$/i,s=e.match(n);if(!s)return!1;const[,a,o,r]=s,l=parseInt(a,10),i=parseInt(o,10),c=parseInt(r,10);return l>=0&&l<=360&&i>=0&&i<=100&&c>=0&&c<=100}function wt(e){return Y(e)||Z(e)||J(e)||tt(e)}function et(e){if(!Y(e))return null;let n=e.startsWith("#")?e.slice(1):e;return n.length===3&&(n=n.split("").map(s=>s+s).join("")),`#${n.toLowerCase()}`}function q(e,n,s){const a=o=>{const r=Math.round(Math.max(0,Math.min(255,o))).toString(16);return r.length===1?"0"+r:r};return`#${a(e)}${a(n)}${a(s)}`}function D(e){const n=et(e);if(!n)return null;const s=/^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(n);return s?{r:parseInt(s[1],16),g:parseInt(s[2],16),b:parseInt(s[3],16)}:null}function It(e,n){const s=D(e),a=D(n);if(!s||!a)return null;const o=(u,p,d)=>{const[b,g,h]=[u,p,d].map(y=>(y=y/255,y<=.03928?y/12.92:Math.pow((y+.055)/1.055,2.4)));return .2126*b+.7152*g+.0722*h},r=o(s.r,s.g,s.b),l=o(a.r,a.g,a.b),i=Math.max(r,l),c=Math.min(r,l);return(i+.05)/(c+.05)}function nt(e){if(!e)return[0,0,0,1];const s=e.trim().match(/^#?([a-fA-F0-9]{3,4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$/);if(s){const u=s[1];if(u.length===8){const p=parseInt(u.slice(0,2),16),d=parseInt(u.slice(2,4),16),b=parseInt(u.slice(4,6),16),g=parseInt(u.slice(6,8),16)/255;return[p,d,b,g]}if(u.length===6)return[parseInt(u.slice(0,2),16),parseInt(u.slice(2,4),16),parseInt(u.slice(4,6),16),1];if(u.length===4){const p=parseInt(u[0]+u[0],16),d=parseInt(u[1]+u[1],16),b=parseInt(u[2]+u[2],16),g=parseInt(u[3]+u[3],16)/255;return[p,d,b,g]}if(u.length===3){const p=parseInt(u[0]+u[0],16),d=parseInt(u[1]+u[1],16),b=parseInt(u[2]+u[2],16);return[p,d,b,1]}}const a=e.match(/^rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(0|1|0?\.\d+)\s*\)$/i);if(a)return[parseInt(a[1],10),parseInt(a[2],10),parseInt(a[3],10),parseFloat(a[4])];const o=e.match(/^rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i);if(o)return[parseInt(o[1],10),parseInt(o[2],10),parseInt(o[3],10),1];const r=e.match(/^hsla?\(\s*([+-]?[\d.]+)(?:deg)?\s*[ ,]?\s*([\d.]+)%\s*[ ,]?\s*([\d.]+)%\s*(?:[/,]\s*(\d?(?:\.\d+)?))?\s*\)$/i);if(r){const u=parseFloat(r[1]),p=parseFloat(r[2]),d=parseFloat(r[3]),b=r[4]!=null?parseFloat(r[4]):1,[g,h,y]=G(u,p/100,d/100);return[g,h,y,b]}const l=e.match(/^hwb\(\s*([+-]?[\d.]+)(?:deg)?\s*[, ]\s*([\d.]+)%\s*[, ]\s*([\d.]+)%\s*(?:[/]\s*(\d?(?:\.\d+)?))?\s*\)$/i);if(l){const u=parseFloat(l[1]),p=parseFloat(l[2])/100,d=parseFloat(l[3])/100,b=l[4]!=null?parseFloat(l[4]):1,[g,h,y]=st(u,p,d);return[g,h,y,b]}const i=e.match(/^oklch\(\s*([+-]?[\d.]+%?)\s+([\d.]+)\s+([+-]?[\d.]+)(?:deg)?(?:\s*\/\s*(\d?(?:\.\d+)?))?\s*\)$/i);if(i){const u=i[1],p=parseFloat(i[2]),d=parseFloat(i[3]),b=i[4]!=null?parseFloat(i[4]):1,g=u.endsWith("%")?Math.max(0,Math.min(1,parseFloat(u)/100)):Math.max(0,Math.min(1,parseFloat(u))),[h,y,M]=lt(g,p,d);return[h,y,M,b]}const c=D(e);return c?[c.r,c.g,c.b,1]:[0,0,0,1]}function at(e,n,s,a){return`rgba(${Math.round(e)}, ${Math.round(n)}, ${Math.round(s)}, ${Math.max(0,Math.min(1,Math.round(a*100)/100))})`}function rt(e){let n=e+1831565813;return function(){return n=Math.imul(n^n>>>15,n|1),n^=n+Math.imul(n^n>>>7,n|61),((n^n>>>14)>>>0)/4294967296}}function G(e,n,s){e=(e%360+360)%360;const a=(1-Math.abs(2*s-1))*n,o=a*(1-Math.abs(e/60%2-1)),r=s-a/2;let l,i,c;return 0<=e&&e<60?[l,i,c]=[a,o,0]:60<=e&&e<120?[l,i,c]=[o,a,0]:120<=e&&e<180?[l,i,c]=[0,a,o]:180<=e&&e<240?[l,i,c]=[0,o,a]:240<=e&&e<300?[l,i,c]=[o,0,a]:[l,i,c]=[a,0,o],[Math.round((l+r)*255),Math.round((i+r)*255),Math.round((c+r)*255)]}function st(e,n,s){e=(e%360+360)%360;const a=n+s;a>1&&(n/=a,s/=a);const[o,r,l]=G(e,1,.5).map(d=>d/255),i=1-n-s,c=o*i+n,u=r*i+n,p=l*i+n;return[Math.round(c*255),Math.round(u*255),Math.round(p*255)]}function z(e,n,s){e/=255,n/=255,s/=255;const a=Math.max(e,n,s),o=Math.min(e,n,s);let r=0,l=0;const i=(a+o)/2,c=a-o;if(c!==0){switch(l=i>.5?c/(2-a-o):c/(a+o),a){case e:r=(n-s)/c+(n<s?6:0);break;case n:r=(s-e)/c+2;break;default:r=(e-n)/c+4}r*=60}return[Math.round(r),Math.round(l*100),Math.round(i*100)]}function ot(e,n,s){const[a]=z(e,n,s),o=e/255,r=n/255,l=s/255,i=Math.min(o,r,l),c=1-Math.max(o,r,l);return[a,Math.round(i*100),Math.round(c*100)]}function U(e){const n=e/255;return n<=.04045?n/12.92:Math.pow((n+.055)/1.055,2.4)}function L(e){const n=e<=.0031308?12.92*e:1.055*Math.pow(e,.4166666666666667)-.055;return Math.round(Math.max(0,Math.min(1,n))*255)}function lt(e,n,s){const a=s*Math.PI/180,o=Math.cos(a)*n,r=Math.sin(a)*n,l=e+.3963377774*o+.2158037573*r,i=e-.1055613458*o-.0638541728*r,c=e-.0894841775*o-1.291485548*r,u=l*l*l,p=i*i*i,d=c*c*c,b=4.0767416621*u-3.3077115913*p+.2309699292*d,g=-1.2684380046*u+2.6097574011*p-.3413193965*d,h=-.0041960863*u-.7034186147*p+1.707614701*d;return[L(b),L(g),L(h)]}function it(e,n,s){const a=U(e),o=U(n),r=U(s),l=.4122214708*a+.5363325363*o+.0514459929*r,i=.2119034982*a+.6806995451*o+.1073969566*r,c=.0883024619*a+.2817188376*o+.6299787005*r,u=Math.cbrt(l),p=Math.cbrt(i),d=Math.cbrt(c),b=.2104542553*u+.793617785*p-.0040720468*d,g=1.9779984951*u-2.428592205*p+.4505937099*d,h=.0259040371*u+.7827717662*p-.808675766*d,y=Math.sqrt(g*g+h*h);let M=Math.atan2(h,g)*180/Math.PI;return M<0&&(M+=360),[b,y,M]}function R(e,n,s,a,o,r){switch(o){case"hex":if(r){const l=c=>c.toString(16).padStart(2,"0"),i=Math.max(0,Math.min(255,Math.round(a*255)));return`#${l(e)}${l(n)}${l(s)}${l(i)}`}return q(e,n,s);case"rgb":return`rgb(${e}, ${n}, ${s})`;case"rgba":return`rgba(${e}, ${n}, ${s}, ${Math.round(a*100)/100})`;case"hsl":{const[l,i,c]=z(e,n,s);return`hsl(${l}, ${i}%, ${c}%)`}case"hsla":{const[l,i,c]=z(e,n,s);return`hsla(${l}, ${i}%, ${c}%, ${Math.round(a*100)/100})`}case"hwb":{const[l,i,c]=ot(e,n,s);return a<1?`hwb(${l} ${i}% ${c}% / ${Math.round(a*100)/100})`:`hwb(${l} ${i}% ${c}%)`}case"oklch":{const[l,i,c]=it(e,n,s),u=(Math.round(l*1e3)/1e3).toFixed(3),p=(Math.round(i*1e3)/1e3).toFixed(3),d=(Math.round(c*10)/10).toFixed(1),b=Math.round(a*100)/100;return r||a<1?`oklch(${u} ${p} ${d} / ${b})`:`oklch(${u} ${p} ${d})`}}}function E(e,n){return n?e==="rgb"?"rgba":e==="hsl"?"hsla":e:e==="rgba"?"rgb":e==="hsla"?"hsl":e}async function ct(e){return new Promise((n,s)=>{const a=new FileReader;a.readAsDataURL(e),a.onload=()=>{const o=a.result;n(o.split(",")[1])},a.onerror=o=>s(o)})}function Vt(e){return Promise.all(e.map(ct))}function xt(e){if(e.length>=4){if(e[0]===137&&e[1]===80&&e[2]===78&&e[3]===71)return"image/png";if(e[0]===255&&e[1]===216)return"image/jpeg";if(e[0]===71&&e[1]===73&&e[2]===70)return"image/gif";if(e[0]===82&&e[1]===73&&e[2]===70&&e[3]===70&&e.length>=12&&e[8]===87&&e[9]===69&&e[10]===66&&e[11]===80)return"image/webp"}try{if(new TextDecoder("utf-8").decode(e.slice(0,256)).includes("<svg"))return"image/svg+xml"}catch{}return"application/octet-stream"}function Mt(e){const n=mt.decodeBase64(e??""),s=n.length,a=new Uint8Array(s);for(let o=0;o<s;o++)a[o]=n.charCodeAt(o);return a}function ut(e){const{value:n,onChange:s,onInput:a,...o}=e,r=new Map,l=t.Value.toSignal(n).map(p=>p.map((d,b)=>{const g=r.get(d),h=Mt(d??""),y=g?.type||xt(h),M=g?.name??`file-${b}`,_=h.buffer.slice(h.byteOffset,h.byteOffset+h.byteLength),w=new Blob([_],{type:y});return new File([w],M,{type:y})})),i=p=>d=>{p&&Vt(d).then(b=>{for(const[g,h]of b.entries())r.set(h,{name:d[g].name,type:d[g].type});p(b)})},c=i(s),u=i(a);return k.FilesInput({...o,value:l,onChange:c,onInput:u})}function $t(e){const{value:n,onInput:s,onChange:a,...o}=e;return ut({...o,maxFiles:1,value:t.Value.map(n,r=>r==null?[]:[r]),onChange:r=>{a?.(r[0])},onInput:r=>{s?.(r[0])}})}function _t(e,n){const[s,a,o]=e,r=s<<16^a<<8^o,l=rt(r),i=6+Math.floor(l()*5),c=.18+l()*.06,u=[];for(let g=0;g<i;g++){const h=g/i*Math.PI*2,y=n*(1+(l()*2-1)*c),M=Math.cos(h)*y,_=Math.sin(h)*y;u.push({x:M,y:_})}const p=(u[0].x+u[i-1].x)/2,d=(u[0].y+u[i-1].y)/2;let b=`M ${p.toFixed(3)} ${d.toFixed(3)}`;for(let g=0;g<i;g++){const h=u[g],y=u[(g+1)%i],M=(h.x+y.x)/2,_=(h.y+y.y)/2;b+=` Q ${h.x.toFixed(3)} ${h.y.toFixed(3)} ${M.toFixed(3)} ${_.toFixed(3)}`}return b+=" Z",b}const Ct=e=>{const{value:n,onBlur:s,onChange:a,onInput:o,displayValue:r,swatchSize:l,withAlpha:i}=e,c={xs:20,sm:26,md:32,lg:40,xl:52},u=l!=null?t.Value.map(l,m=>Number(m)):t.Value.map(e.size??"md",m=>c[m]??32),p=t.Value.map(n,m=>nt(m??"#000000")),d=t.Value.map(p,([m,V,$])=>[m,V,$]),b=t.Value.map(p,([,,,m])=>m),g=t.prop(t.Value.get(b)??1),h=t.Value.map(i??!1,m=>m),y=t.Value.map(e.colorTextFormat??"rgb",m=>m),M=t.computedOf(d,g,y,h)(([m,V,$],T,A,F)=>R(m,V,$,T??1,E(A,F),F)),_=t.Value.map(e.colorTextFormat??"hex",m=>m),w=t.Value.map(u,m=>`${-m/2} ${-m/2} ${m} ${m}`),f=t.computedOf(d,u)((m,V)=>_t(m,V/2)),I=t.computedOf(d,g,h)(([m,V,$],T,A)=>A||T<1?at(m,V,$,T):q(m,V,$)),C=t.html.div(t.attr.class("bc-color-swatch-input__control"),t.attr.class(t.Value.map(h,m=>m?"bc-color-swatch-input__control--alpha":"")),t.attr.style(t.computedOf(u)(m=>`width:${m+2}px;height:${m+2}px`)),t.svg.svg(t.attr.class("bc-color-swatch-input__svg"),t.svgAttr.viewBox(w),t.svg.path(t.svgAttr.d(f),t.svgAttr.fill(I))),t.html.input(t.attr.type("color"),N.CommonInputAttributes(e),t.attr.value(t.Value.map(d,([m,V,$])=>q(m,V,$))),t.attr.class("bc-input bc-color-swatch-input bc-color-swatch-input__native"),s!=null?t.on.blur(s):t.Empty,a!=null?t.on.change(m=>{const V=m.target.value;if(!a)return;const{r:$,g:T,b:A}=D(V)??{r:0,g:0,b:0},F=t.Value.get(g)??1,S=E(t.Value.get(_),t.Value.get(h)),X=R($,T,A,F,S,t.Value.get(h));a(X)}):t.Empty,o!=null?t.on.input(m=>{const V=m.target.value;if(!o)return;const{r:$,g:T,b:A}=D(V)??{r:0,g:0,b:0},F=t.Value.get(g)??1,S=E(t.Value.get(_),t.Value.get(h)),X=R($,T,A,F,S,t.Value.get(h));o(X)}):t.Empty)),x=t.When(h,()=>t.html.input(t.attr.type("range"),t.attr.class("bc-color-swatch-input__alpha"),t.attr.min(0),t.attr.max(1),t.attr.step(.01),t.attr.value(t.Value.map(g,m=>String(m??1))),t.attr.disabled(e.disabled),t.on.input(m=>{const V=parseFloat(m.target.value);g.set(V);const[$,T,A]=t.Value.get(d),F=E(t.Value.get(_),t.Value.get(h)),S=R($,T,A,V,F,t.Value.get(h));o?.(S)}),t.on.change(m=>{const V=parseFloat(m.target.value);g.set(V);const[$,T,A]=t.Value.get(d),F=E(t.Value.get(_),t.Value.get(h)),S=R($,T,A,V,F,t.Value.get(h));a?.(S)}))),{swatchSize:W,displayValue:H,withAlpha:j,colorTextFormat:K,...P}=e;return B.InputContainer({baseContainer:!0,...P,growInput:!1,input:C,after:t.Fragment(t.When(r??!1,()=>t.html.span(t.attr.class("bc-color-swatch-input__rgb"),M)),x,e.after)})},pt=e=>typeof e=="string"&&e.trim()===""?null:e,dt=e=>e??"";function O(e){return n=>{const{after:s,disabled:a}=n,o=N.mapInputOptions(n,dt,pt),r=k.NullableResetAfter(n.value,a,n.onChange??n.onInput);return e({...o,after:s!=null?t.Fragment(r,s):r})}}const Tt=({startEditing:e,value:n,onChange:s,placeholder:a,disabled:o})=>{const r=t.Value.deriveProp(e??!1),l=t.prop(!1),i=t.Value.map(o??!1,c=>c);return t.html.div(t.attr.class("bc-editable-text"),t.attr.class(t.Value.map(i,c=>c?"bc-editable-text--disabled":"")),t.aria.disabled(i),t.When(r,()=>t.html.input(t.attr.placeholder(a),t.attr.value(n),t.attr.class("bc-editable-text__input"),ft.AutoSelect(),t.on.keydown(c=>{c.key==="Enter"?r.set(!1):c.key==="Escape"&&(l.set(!0),r.set(!1))}),t.on.blur(t.emitValue(c=>{if(r.set(!1),l.value){l.set(!1);return}s(c)}))),()=>t.html.span(t.on.click(()=>{t.Value.get(i)||r.set(!0)}),t.attr.class("bc-editable-text__display"),t.When(t.Value.map(n,c=>c!=null&&c.trim()!==""),()=>t.html.span(t.attr.class("bc-editable-text__text"),n),()=>t.html.span(t.attr.class("bc-editable-text__placeholder"),a)),t.When(t.Value.map(i,c=>!c),()=>t.html.button(t.attr.type("button"),t.attr.class("bc-editable-text__edit-button"),t.Use(v.BeatUII18n,c=>t.aria.label(c.$.editLabel)),t.on.click(()=>r.set(!0)),v.Icon({icon:"line-md/pencil",color:"neutral"}))))))},At=e=>{const{value:n,onBlur:s,onChange:a,onInput:o,after:r,disabled:l}=e,i=k.NullableResetAfter(n,l,a??o);return B.InputContainer({...e,input:t.input.date(N.CommonInputAttributes(e),t.attr.valueAsDate(n),t.attr.class("bc-input"),s!=null?t.on.blur(t.emitValue(s)):t.Empty,a!=null?t.on.change(t.emitValueAsNullableDate(a)):t.Empty,o!=null?t.on.input(t.emitValueAsNullableDate(o)):t.Empty),after:r!=null?t.Fragment(i,r):i})},Ft=e=>{const n=e.getFullYear(),s=e.getMonth()+1,a=e.getDate(),o=e.getHours(),r=e.getMinutes(),l=e.getSeconds();return`${n}-${s.toString().padStart(2,"0")}-${a.toString().padStart(2,"0")}T${o.toString().padStart(2,"0")}:${r.toString().padStart(2,"0")}:${l.toString().padStart(2,"0")}`},kt=e=>{const{value:n,onBlur:s,onChange:a,onInput:o,after:r,disabled:l}=e,i=t.Value.map(n,u=>u!=null?Ft(u):null),c=k.NullableResetAfter(n,l,a??o);return B.InputContainer({...e,input:t.input["datetime-local"](N.CommonInputAttributes(e),t.attr.value(t.Value.map(i,u=>u??null)),t.attr.class("bc-input"),s!=null?t.on.blur(t.emitValue(s)):t.Empty,a!=null?t.on.change(t.emitValueAsNullableDateTime(a)):t.Empty,o!=null?t.on.input(t.emitValueAsNullableDateTime(o)):t.Empty),after:r!=null?t.Fragment(c,r):c})},Nt=O(Q.EmailInput),St=O(N.TextInput),vt=O(Q.PasswordInput),Rt=O(k.TextArea),Et=({value:e,onChange:n,onInput:s,onBlur:a,offLabel:o,onLabel:r,disabled:l=!1,size:i="md",id:c,color:u="primary",tabIndex:p=0,matchInputHeight:d=!0,ariaLabel:b})=>{const g=c??bt.sessionId("switch");function h(w,f){const I=["bc-switch",`bc-switch--size-${f}`,`bc-switch--${f}`];return d&&I.push("bc-switch--match-input"),w&&I.push("bc-switch--disabled"),I.join(" ")}function y(w){const f=w??"primary",I=new Map,C=v.backgroundValue(f,"solid","light"),x=v.backgroundValue(f,"solid","dark");return I.set("--switch-track-on-bg",C.backgroundColor),I.set("--switch-track-on-label",C.textColor),I.set("--switch-track-on-bg-dark",x.backgroundColor),I.set("--switch-track-on-label-dark",x.textColor),I.set("--switch-track-on-border-dark",v.borderColorValue(f,"dark")),Array.from(I.entries()).map(([W,H])=>`${W}: ${H}`).join("; ")}const M=()=>{t.Value.get(l)||(n?.(!t.Value.get(e)),s?.(!t.Value.get(e)))},_=w=>{t.Value.get(l)||(w.key===" "||w.key==="Enter")&&(w.preventDefault(),M())};return t.html.div(t.attr.class(t.computedOf(l??!1,i)((w,f)=>h(w??!1,f??"md"))),t.attr.style(t.computedOf(u)(w=>y(w))),t.attr.id(g),t.attr.role("switch"),t.attr.tabindex(t.computedOf(l??!1,p)((w,f)=>w?-1:f??0)),t.aria.checked(e),t.aria.disabled(l),b!=null?t.aria.label(b):null,t.on.click(M),t.on.keydown(_),a!=null?t.on.blur(a):null,t.html.div(t.attr.class("bc-switch__track"),t.attr.class(t.Value.map(e,w=>w?"bc-switch__track--on":"bc-switch__track--off")),o!=null?t.html.div(t.aria.hidden(!0),t.attr.class("bc-switch__track-label bc-switch__track-label--off"),t.attr.class(t.Value.map(e,w=>w?"bc-switch__track-label--hidden":"bc-switch__track-label--visible")),o):null,r!=null?t.html.div(t.attr.class("bc-switch__track-label bc-switch__track-label--on"),t.attr.class(t.Value.map(e,w=>w?"bc-switch__track-label--visible":"bc-switch__track-label--hidden")),r):null,t.html.div(t.attr.class("bc-switch__thumb"),t.attr.class(t.Value.map(e,w=>w?"bc-switch__thumb--on":"bc-switch__thumb--off")))))},Dt=O(k.UuidInput),Bt="line-md:star-alt-filled",Ot="line-md:star-alt",ht=e=>{const{value:n,onChange:s,onInput:a,disabled:o,max:r=5,fullColor:l="yellow",emptyColor:i="neutral",activeIcon:c=Bt,inactiveIcon:u=Ot,size:p="md",onBlur:d,rounding:b=1}=e,g=()=>{const f=t.Value.get(b);return f>0?f:1},h=f=>Math.min(Math.max(f,0),t.Value.get(r)),y=(f,I)=>{if(t.Value.get(o??!1))return;const x=f.currentTarget.getBoundingClientRect(),W=(f.clientX-x.left)/x.width,H=I-1+W,j=g(),K=Math.ceil(H/j)*j,P=h(K);s?.(P),a?.(P)},M=f=>{if(t.Value.get(o??!1))return;const I=g(),C=t.Value.get(n)??0;let x;switch(f.key){case"ArrowRight":case"ArrowUp":x=h(C+I);break;case"ArrowLeft":case"ArrowDown":x=h(C-I);break;case"Home":x=0;break;case"End":x=t.Value.get(r);break;default:return}f.preventDefault(),s?.(x),a?.(x)},_=t.Value.map(p,f=>`bc-icon--${f}`),w=({index:f,counter:I})=>t.html.span(t.attr.class("bc-rating-input__icon-container"),t.attr.class(_),t.on.click(t.emit(C=>y(C,I),{preventDefault:!0,stopPropagation:!0})),v.Icon({icon:u,size:p,color:i,tone:"soft"},t.attr.class("bc-rating-input__icon-empty")),t.html.span(t.attr.class("bc-rating-input__icon-clipper"),t.attr.class(_),t.style.width(t.Value.map(n,C=>{const x=Math.floor(C);return x>f?"100%":x<f?"0%":`${(C-f)*100}%`})),v.Icon({icon:c,size:p,color:l,tone:"soft"},t.attr.class("bc-rating-input__icon-full"))));return B.InputContainer({baseContainer:!0,growInput:!1,focusableSelector:'[role="slider"]',...e,input:t.html.div(N.CommonInputAttributes(e),t.attr.class("bc-rating-input"),t.attr.role("slider"),t.attr.tabindex(t.Value.map(o??!1,f=>f?-1:0)),t.aria.disabled(o??!1),t.aria.valuemin(0),t.aria.valuemax(t.Value.map(r,f=>f??0)),t.aria.valuenow(t.Value.map(n,f=>f??0)),t.aria.valuetext(t.computedOf(n,r)((f,I)=>{const C=f??0,x=I??0;return`${String(C)} / ${String(x)}`})),t.on.keydown(M),d!=null?t.on.blur(d):null,t.Repeat(r,w))})},Wt=e=>{const{after:n,disabled:s}=e,a=N.mapInputOptions(e,r=>r??0,r=>r),o=k.NullableResetAfter(e.value,s,e.onChange??e.onInput);return ht({...a,after:n!=null?t.Fragment(o,n):o})},Ht=e=>{const{value:n,step:s,min:a,max:o,onBlur:r,onChange:l,onInput:i}=e;return B.InputContainer({...e,focusableSelector:'input[type="range"]',input:t.html.input(t.attr.type("range"),N.CommonInputAttributes(e),t.attr.min(a),t.attr.max(o),t.attr.step(s),t.attr.valueAsNumber(n),t.attr.class("bc-input bc-slider-input"),r!=null?t.on.blur(t.emitValueAsNumber(r)):t.Empty,l!=null?t.on.change(t.emitValueAsNumber(l)):t.Empty,i!=null?t.on.input(t.emitValueAsNumber(i)):t.Empty)})},Pt=e=>{const{value:n,step:s,min:a,max:o,onBlur:r,onChange:l,onInput:i}=e,c=t.Value.map(n,p=>{if(p!=null)return p;const d=a!=null?t.Value.get(a):void 0;return typeof d=="number"?d:0}),u=k.NullableResetAfter(n,e.disabled,l??i);return B.InputContainer({...e,focusableSelector:'input[type="range"]',after:u,input:t.html.input(t.attr.type("range"),N.CommonInputAttributes(e),t.attr.min(a),t.attr.max(o),t.attr.step(s),t.attr.valueAsNumber(c),t.attr.class("bc-input bc-slider-input"),r!=null?t.on.blur(t.emitValueAsNumber(r)):t.Empty,l!=null?t.on.change(t.emitValueAsNumber(p=>{l(p)})):t.Empty,i!=null?t.on.input(t.emitValueAsNumber(p=>{i(p)})):t.Empty)})},Ut=O(k.UrlInput);class gt{widgets=new Map;typeMapping=new Map;register(n,s){if(this.widgets.set(n,s),s.supportedTypes)for(const a of s.supportedTypes)this.typeMapping.has(a)||this.typeMapping.set(a,[]),this.typeMapping.get(a).push(n),this.typeMapping.get(a).sort((o,r)=>{const l=this.widgets.get(o)?.priority||0;return(this.widgets.get(r)?.priority||0)-l})}unregister(n){const s=this.widgets.get(n);if(s&&(this.widgets.delete(n),s.supportedTypes))for(const a of s.supportedTypes){const o=this.typeMapping.get(a);if(o){const r=o.indexOf(n);r>=0&&o.splice(r,1),o.length===0&&this.typeMapping.delete(a)}}}get(n){return this.widgets.get(n)}getAll(){return new Map(this.widgets)}getForType(n){return(this.typeMapping.get(n)||[]).map(a=>this.widgets.get(a)).filter(Boolean)}findBestWidget(n){const s=yt.resolveWidget(n.definition,n.name);if(s?.widget){const o=this.widgets.get(s.widget);if(o)return{name:s.widget,registration:o,resolved:s}}const a=[];for(const[o,r]of this.widgets.entries())if(r.matcher)try{r.matcher(n)&&a.push({name:o,registration:r,priority:r.priority??0})}catch(l){console.warn(`Error in matcher for widget "${o}":`,l)}if(a.length>0){a.sort((r,l)=>l.priority-r.priority);const o=a[0];return{name:o.name,registration:o.registration,resolved:{widget:o.name,source:"heuristics"}}}if(typeof n.definition=="object"&&n.definition.type){const o=Array.isArray(n.definition.type)?n.definition.type[0]:n.definition.type,r=this.getForType(o);if(r.length>0){const l=this.typeMapping.get(o)[0];return{name:l,registration:r[0],resolved:{widget:l,source:"type-fallback"}}}}return null}}const Lt=new gt;function qt(e,n,s){return{factory:n,matcher:a=>{const r=a.definition["x:ui"];return r===e||typeof r=="object"&&r!==null&&r.widget===e},displayName:s?.displayName??e,priority:s?.priority??100,...s}}function zt(e,n,s){return{factory:n,matcher:a=>a.definition.format===e,displayName:s?.displayName??`${e} widget`,priority:s?.priority??75,...s}}function jt(e,n,s,a){return{factory:s,matcher:o=>{const r=o.definition;return r.type===e&&r.format===n},displayName:a?.displayName??`${e}:${n} widget`,priority:a?.priority??80,...a}}function Xt(e){const n=e?.logPrefix??"WIDGET_DIAG",s=e?.filterFn??(()=>!0);return{factory:()=>null,displayName:"Diagnostic Widget (never matches)",priority:-1e3,matcher:a=>{if(!s(a))return!1;const o=a.definition,r={name:a.name,path:a.path.map(String),type:o?.type,hasRegistry:a.widgetRegistry!==void 0,definition:o};return console.log(`[${n}] name="${r.name??"ROOT"}" path=[${r.path.join(", ")}] type="${r.type??"unknown"}" hasRegistry=${r.hasRegistry}`),e?.onProcess?.(r),!1}}}exports.Base64Input=$t;exports.Base64sInput=ut;exports.ColorSwatchInput=Ct;exports.EditableText=Tt;exports.NativeNullableDateInput=At;exports.NativeNullableDateTimeInput=kt;exports.NullableEmailInput=Nt;exports.NullablePasswordInput=vt;exports.NullableRatingInput=Wt;exports.NullableSliderInput=Pt;exports.NullableTextArea=Rt;exports.NullableTextInput=St;exports.NullableUrlInput=Ut;exports.NullableUuidInput=Dt;exports.RatingInput=ht;exports.SliderInput=Ht;exports.Switch=Et;exports.WidgetRegistry=gt;exports.createDiagnosticWidget=Xt;exports.emptyToNull=pt;exports.fileToBase64=ct;exports.forFormat=zt;exports.forTypeAndFormat=jt;exports.forXUI=qt;exports.formatColor=R;exports.getContrastRatio=It;exports.globalWidgetRegistry=Lt;exports.hexToRgb=D;exports.hslToRgb=G;exports.hwbToRgb=st;exports.isValidColor=wt;exports.isValidHexColor=Y;exports.isValidHslColor=tt;exports.isValidRgbColor=Z;exports.isValidRgbaColor=J;exports.linearToSrgb=L;exports.mulberry32=rt;exports.normalizeHexColor=et;exports.nullToEmpty=dt;exports.oklchToRgb=lt;exports.parseAnyColor=nt;exports.resolveEffectiveFormat=E;exports.rgbToHex=q;exports.rgbToHsl=z;exports.rgbToHwb=ot;exports.rgbToOklch=it;exports.srgbToLinear=U;exports.toRgbaString=at;
|
|
1
|
+
"use strict";const t=require("@tempots/dom"),k=require("./deep-merge-DEEd-Tte.cjs"),mt=require("@tempots/std"),B=require("./input-container-BZwpJgx6.cjs"),N=require("./text-input-CynkbBpH.cjs"),v=require("./translations-BDGa_4jx.cjs"),ft=require("@tempots/ui"),Q=require("./notice-dOOD80F7.cjs"),bt=require("./session-id-B5lJMzbB.cjs"),yt=require("./utils-DmEuG3Np.cjs");function Y(e){if(typeof e!="string")return!1;const n=e.startsWith("#")?e.slice(1):e;return/^[0-9A-Fa-f]{3}$|^[0-9A-Fa-f]{6}$/.test(n)}function Z(e){if(typeof e!="string")return!1;const n=/^rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i,s=e.match(n);if(!s)return!1;const[,a,o,r]=s,l=parseInt(a,10),i=parseInt(o,10),c=parseInt(r,10);return l>=0&&l<=255&&i>=0&&i<=255&&c>=0&&c<=255}function J(e){if(typeof e!="string")return!1;const n=/^rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(0|1|0?\.\d+)\s*\)$/i,s=e.match(n);if(!s)return!1;const[,a,o,r,l]=s,i=parseInt(a,10),c=parseInt(o,10),u=parseInt(r,10),p=parseFloat(l);return i>=0&&i<=255&&c>=0&&c<=255&&u>=0&&u<=255&&p>=0&&p<=1}function tt(e){if(typeof e!="string")return!1;const n=/^hsl\(\s*(\d{1,3})\s*,\s*(\d{1,3})%\s*,\s*(\d{1,3})%\s*\)$/i,s=e.match(n);if(!s)return!1;const[,a,o,r]=s,l=parseInt(a,10),i=parseInt(o,10),c=parseInt(r,10);return l>=0&&l<=360&&i>=0&&i<=100&&c>=0&&c<=100}function wt(e){return Y(e)||Z(e)||J(e)||tt(e)}function et(e){if(!Y(e))return null;let n=e.startsWith("#")?e.slice(1):e;return n.length===3&&(n=n.split("").map(s=>s+s).join("")),`#${n.toLowerCase()}`}function q(e,n,s){const a=o=>{const r=Math.round(Math.max(0,Math.min(255,o))).toString(16);return r.length===1?"0"+r:r};return`#${a(e)}${a(n)}${a(s)}`}function D(e){const n=et(e);if(!n)return null;const s=/^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(n);return s?{r:parseInt(s[1],16),g:parseInt(s[2],16),b:parseInt(s[3],16)}:null}function It(e,n){const s=D(e),a=D(n);if(!s||!a)return null;const o=(u,p,d)=>{const[b,g,h]=[u,p,d].map(y=>(y=y/255,y<=.03928?y/12.92:Math.pow((y+.055)/1.055,2.4)));return .2126*b+.7152*g+.0722*h},r=o(s.r,s.g,s.b),l=o(a.r,a.g,a.b),i=Math.max(r,l),c=Math.min(r,l);return(i+.05)/(c+.05)}function nt(e){if(!e)return[0,0,0,1];const s=e.trim().match(/^#?([a-fA-F0-9]{3,4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$/);if(s){const u=s[1];if(u.length===8){const p=parseInt(u.slice(0,2),16),d=parseInt(u.slice(2,4),16),b=parseInt(u.slice(4,6),16),g=parseInt(u.slice(6,8),16)/255;return[p,d,b,g]}if(u.length===6)return[parseInt(u.slice(0,2),16),parseInt(u.slice(2,4),16),parseInt(u.slice(4,6),16),1];if(u.length===4){const p=parseInt(u[0]+u[0],16),d=parseInt(u[1]+u[1],16),b=parseInt(u[2]+u[2],16),g=parseInt(u[3]+u[3],16)/255;return[p,d,b,g]}if(u.length===3){const p=parseInt(u[0]+u[0],16),d=parseInt(u[1]+u[1],16),b=parseInt(u[2]+u[2],16);return[p,d,b,1]}}const a=e.match(/^rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(0|1|0?\.\d+)\s*\)$/i);if(a)return[parseInt(a[1],10),parseInt(a[2],10),parseInt(a[3],10),parseFloat(a[4])];const o=e.match(/^rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i);if(o)return[parseInt(o[1],10),parseInt(o[2],10),parseInt(o[3],10),1];const r=e.match(/^hsla?\(\s*([+-]?[\d.]+)(?:deg)?\s*[ ,]?\s*([\d.]+)%\s*[ ,]?\s*([\d.]+)%\s*(?:[/,]\s*(\d?(?:\.\d+)?))?\s*\)$/i);if(r){const u=parseFloat(r[1]),p=parseFloat(r[2]),d=parseFloat(r[3]),b=r[4]!=null?parseFloat(r[4]):1,[g,h,y]=G(u,p/100,d/100);return[g,h,y,b]}const l=e.match(/^hwb\(\s*([+-]?[\d.]+)(?:deg)?\s*[, ]\s*([\d.]+)%\s*[, ]\s*([\d.]+)%\s*(?:[/]\s*(\d?(?:\.\d+)?))?\s*\)$/i);if(l){const u=parseFloat(l[1]),p=parseFloat(l[2])/100,d=parseFloat(l[3])/100,b=l[4]!=null?parseFloat(l[4]):1,[g,h,y]=st(u,p,d);return[g,h,y,b]}const i=e.match(/^oklch\(\s*([+-]?[\d.]+%?)\s+([\d.]+)\s+([+-]?[\d.]+)(?:deg)?(?:\s*\/\s*(\d?(?:\.\d+)?))?\s*\)$/i);if(i){const u=i[1],p=parseFloat(i[2]),d=parseFloat(i[3]),b=i[4]!=null?parseFloat(i[4]):1,g=u.endsWith("%")?Math.max(0,Math.min(1,parseFloat(u)/100)):Math.max(0,Math.min(1,parseFloat(u))),[h,y,M]=lt(g,p,d);return[h,y,M,b]}const c=D(e);return c?[c.r,c.g,c.b,1]:[0,0,0,1]}function at(e,n,s,a){return`rgba(${Math.round(e)}, ${Math.round(n)}, ${Math.round(s)}, ${Math.max(0,Math.min(1,Math.round(a*100)/100))})`}function rt(e){let n=e+1831565813;return function(){return n=Math.imul(n^n>>>15,n|1),n^=n+Math.imul(n^n>>>7,n|61),((n^n>>>14)>>>0)/4294967296}}function G(e,n,s){e=(e%360+360)%360;const a=(1-Math.abs(2*s-1))*n,o=a*(1-Math.abs(e/60%2-1)),r=s-a/2;let l,i,c;return 0<=e&&e<60?[l,i,c]=[a,o,0]:60<=e&&e<120?[l,i,c]=[o,a,0]:120<=e&&e<180?[l,i,c]=[0,a,o]:180<=e&&e<240?[l,i,c]=[0,o,a]:240<=e&&e<300?[l,i,c]=[o,0,a]:[l,i,c]=[a,0,o],[Math.round((l+r)*255),Math.round((i+r)*255),Math.round((c+r)*255)]}function st(e,n,s){e=(e%360+360)%360;const a=n+s;a>1&&(n/=a,s/=a);const[o,r,l]=G(e,1,.5).map(d=>d/255),i=1-n-s,c=o*i+n,u=r*i+n,p=l*i+n;return[Math.round(c*255),Math.round(u*255),Math.round(p*255)]}function z(e,n,s){e/=255,n/=255,s/=255;const a=Math.max(e,n,s),o=Math.min(e,n,s);let r=0,l=0;const i=(a+o)/2,c=a-o;if(c!==0){switch(l=i>.5?c/(2-a-o):c/(a+o),a){case e:r=(n-s)/c+(n<s?6:0);break;case n:r=(s-e)/c+2;break;default:r=(e-n)/c+4}r*=60}return[Math.round(r),Math.round(l*100),Math.round(i*100)]}function ot(e,n,s){const[a]=z(e,n,s),o=e/255,r=n/255,l=s/255,i=Math.min(o,r,l),c=1-Math.max(o,r,l);return[a,Math.round(i*100),Math.round(c*100)]}function U(e){const n=e/255;return n<=.04045?n/12.92:Math.pow((n+.055)/1.055,2.4)}function L(e){const n=e<=.0031308?12.92*e:1.055*Math.pow(e,.4166666666666667)-.055;return Math.round(Math.max(0,Math.min(1,n))*255)}function lt(e,n,s){const a=s*Math.PI/180,o=Math.cos(a)*n,r=Math.sin(a)*n,l=e+.3963377774*o+.2158037573*r,i=e-.1055613458*o-.0638541728*r,c=e-.0894841775*o-1.291485548*r,u=l*l*l,p=i*i*i,d=c*c*c,b=4.0767416621*u-3.3077115913*p+.2309699292*d,g=-1.2684380046*u+2.6097574011*p-.3413193965*d,h=-.0041960863*u-.7034186147*p+1.707614701*d;return[L(b),L(g),L(h)]}function it(e,n,s){const a=U(e),o=U(n),r=U(s),l=.4122214708*a+.5363325363*o+.0514459929*r,i=.2119034982*a+.6806995451*o+.1073969566*r,c=.0883024619*a+.2817188376*o+.6299787005*r,u=Math.cbrt(l),p=Math.cbrt(i),d=Math.cbrt(c),b=.2104542553*u+.793617785*p-.0040720468*d,g=1.9779984951*u-2.428592205*p+.4505937099*d,h=.0259040371*u+.7827717662*p-.808675766*d,y=Math.sqrt(g*g+h*h);let M=Math.atan2(h,g)*180/Math.PI;return M<0&&(M+=360),[b,y,M]}function R(e,n,s,a,o,r){switch(o){case"hex":if(r){const l=c=>c.toString(16).padStart(2,"0"),i=Math.max(0,Math.min(255,Math.round(a*255)));return`#${l(e)}${l(n)}${l(s)}${l(i)}`}return q(e,n,s);case"rgb":return`rgb(${e}, ${n}, ${s})`;case"rgba":return`rgba(${e}, ${n}, ${s}, ${Math.round(a*100)/100})`;case"hsl":{const[l,i,c]=z(e,n,s);return`hsl(${l}, ${i}%, ${c}%)`}case"hsla":{const[l,i,c]=z(e,n,s);return`hsla(${l}, ${i}%, ${c}%, ${Math.round(a*100)/100})`}case"hwb":{const[l,i,c]=ot(e,n,s);return a<1?`hwb(${l} ${i}% ${c}% / ${Math.round(a*100)/100})`:`hwb(${l} ${i}% ${c}%)`}case"oklch":{const[l,i,c]=it(e,n,s),u=(Math.round(l*1e3)/1e3).toFixed(3),p=(Math.round(i*1e3)/1e3).toFixed(3),d=(Math.round(c*10)/10).toFixed(1),b=Math.round(a*100)/100;return r||a<1?`oklch(${u} ${p} ${d} / ${b})`:`oklch(${u} ${p} ${d})`}}}function E(e,n){return n?e==="rgb"?"rgba":e==="hsl"?"hsla":e:e==="rgba"?"rgb":e==="hsla"?"hsl":e}async function ct(e){return new Promise((n,s)=>{const a=new FileReader;a.readAsDataURL(e),a.onload=()=>{const o=a.result;n(o.split(",")[1])},a.onerror=o=>s(o)})}function Vt(e){return Promise.all(e.map(ct))}function xt(e){if(e.length>=4){if(e[0]===137&&e[1]===80&&e[2]===78&&e[3]===71)return"image/png";if(e[0]===255&&e[1]===216)return"image/jpeg";if(e[0]===71&&e[1]===73&&e[2]===70)return"image/gif";if(e[0]===82&&e[1]===73&&e[2]===70&&e[3]===70&&e.length>=12&&e[8]===87&&e[9]===69&&e[10]===66&&e[11]===80)return"image/webp"}try{if(new TextDecoder("utf-8").decode(e.slice(0,256)).includes("<svg"))return"image/svg+xml"}catch{}return"application/octet-stream"}function Mt(e){const n=mt.decodeBase64(e??""),s=n.length,a=new Uint8Array(s);for(let o=0;o<s;o++)a[o]=n.charCodeAt(o);return a}function ut(e){const{value:n,onChange:s,onInput:a,...o}=e,r=new Map,l=t.Value.toSignal(n).map(p=>p.map((d,b)=>{const g=r.get(d),h=Mt(d??""),y=g?.type||xt(h),M=g?.name??`file-${b}`,_=h.buffer.slice(h.byteOffset,h.byteOffset+h.byteLength),w=new Blob([_],{type:y});return new File([w],M,{type:y})})),i=p=>d=>{p&&Vt(d).then(b=>{for(const[g,h]of b.entries())r.set(h,{name:d[g].name,type:d[g].type});p(b)})},c=i(s),u=i(a);return k.FilesInput({...o,value:l,onChange:c,onInput:u})}function $t(e){const{value:n,onInput:s,onChange:a,...o}=e;return ut({...o,maxFiles:1,value:t.Value.map(n,r=>r==null?[]:[r]),onChange:r=>{a?.(r[0])},onInput:r=>{s?.(r[0])}})}function _t(e,n){const[s,a,o]=e,r=s<<16^a<<8^o,l=rt(r),i=6+Math.floor(l()*5),c=.18+l()*.06,u=[];for(let g=0;g<i;g++){const h=g/i*Math.PI*2,y=n*(1+(l()*2-1)*c),M=Math.cos(h)*y,_=Math.sin(h)*y;u.push({x:M,y:_})}const p=(u[0].x+u[i-1].x)/2,d=(u[0].y+u[i-1].y)/2;let b=`M ${p.toFixed(3)} ${d.toFixed(3)}`;for(let g=0;g<i;g++){const h=u[g],y=u[(g+1)%i],M=(h.x+y.x)/2,_=(h.y+y.y)/2;b+=` Q ${h.x.toFixed(3)} ${h.y.toFixed(3)} ${M.toFixed(3)} ${_.toFixed(3)}`}return b+=" Z",b}const Ct=e=>{const{value:n,onBlur:s,onChange:a,onInput:o,displayValue:r,swatchSize:l,withAlpha:i}=e,c={xs:20,sm:26,md:32,lg:40,xl:52},u=l!=null?t.Value.map(l,m=>Number(m)):t.Value.map(e.size??"md",m=>c[m]??32),p=t.Value.map(n,m=>nt(m??"#000000")),d=t.Value.map(p,([m,V,$])=>[m,V,$]),b=t.Value.map(p,([,,,m])=>m),g=t.prop(t.Value.get(b)??1),h=t.Value.map(i??!1,m=>m),y=t.Value.map(e.colorTextFormat??"rgb",m=>m),M=t.computedOf(d,g,y,h)(([m,V,$],T,A,F)=>R(m,V,$,T??1,E(A,F),F)),_=t.Value.map(e.colorTextFormat??"hex",m=>m),w=t.Value.map(u,m=>`${-m/2} ${-m/2} ${m} ${m}`),f=t.computedOf(d,u)((m,V)=>_t(m,V/2)),I=t.computedOf(d,g,h)(([m,V,$],T,A)=>A||T<1?at(m,V,$,T):q(m,V,$)),C=t.html.div(t.attr.class("bc-color-swatch-input__control"),t.attr.class(t.Value.map(h,m=>m?"bc-color-swatch-input__control--alpha":"")),t.attr.style(t.computedOf(u)(m=>`width:${m+2}px;height:${m+2}px`)),t.svg.svg(t.attr.class("bc-color-swatch-input__svg"),t.svgAttr.viewBox(w),t.svg.path(t.svgAttr.d(f),t.svgAttr.fill(I))),t.html.input(t.attr.type("color"),N.CommonInputAttributes(e),t.attr.value(t.Value.map(d,([m,V,$])=>q(m,V,$))),t.attr.class("bc-input bc-color-swatch-input bc-color-swatch-input__native"),s!=null?t.on.blur(s):t.Empty,a!=null?t.on.change(m=>{const V=m.target.value;if(!a)return;const{r:$,g:T,b:A}=D(V)??{r:0,g:0,b:0},F=t.Value.get(g)??1,S=E(t.Value.get(_),t.Value.get(h)),X=R($,T,A,F,S,t.Value.get(h));a(X)}):t.Empty,o!=null?t.on.input(m=>{const V=m.target.value;if(!o)return;const{r:$,g:T,b:A}=D(V)??{r:0,g:0,b:0},F=t.Value.get(g)??1,S=E(t.Value.get(_),t.Value.get(h)),X=R($,T,A,F,S,t.Value.get(h));o(X)}):t.Empty)),x=t.When(h,()=>t.html.input(t.attr.type("range"),t.attr.class("bc-color-swatch-input__alpha"),t.attr.min(0),t.attr.max(1),t.attr.step(.01),t.attr.value(t.Value.map(g,m=>String(m??1))),t.attr.disabled(e.disabled),t.on.input(m=>{const V=parseFloat(m.target.value);g.set(V);const[$,T,A]=t.Value.get(d),F=E(t.Value.get(_),t.Value.get(h)),S=R($,T,A,V,F,t.Value.get(h));o?.(S)}),t.on.change(m=>{const V=parseFloat(m.target.value);g.set(V);const[$,T,A]=t.Value.get(d),F=E(t.Value.get(_),t.Value.get(h)),S=R($,T,A,V,F,t.Value.get(h));a?.(S)}))),{swatchSize:W,displayValue:H,withAlpha:j,colorTextFormat:K,...P}=e;return B.InputContainer({baseContainer:!0,...P,growInput:!1,input:C,after:t.Fragment(t.When(r??!1,()=>t.html.span(t.attr.class("bc-color-swatch-input__rgb"),M)),x,e.after)})},pt=e=>typeof e=="string"&&e.trim()===""?null:e,dt=e=>e??"";function O(e){return n=>{const{after:s,disabled:a}=n,o=N.mapInputOptions(n,dt,pt),r=k.NullableResetAfter(n.value,a,n.onChange??n.onInput);return e({...o,after:s!=null?t.Fragment(r,s):r})}}const Tt=({startEditing:e,value:n,onChange:s,placeholder:a,disabled:o})=>{const r=t.Value.deriveProp(e??!1),l=t.prop(!1),i=t.Value.map(o??!1,c=>c);return t.html.div(t.attr.class("bc-editable-text"),t.attr.class(t.Value.map(i,c=>c?"bc-editable-text--disabled":"")),t.aria.disabled(i),t.When(r,()=>t.html.input(t.attr.placeholder(a),t.attr.value(n),t.attr.class("bc-editable-text__input"),ft.AutoSelect(),t.on.keydown(c=>{c.key==="Enter"?r.set(!1):c.key==="Escape"&&(l.set(!0),r.set(!1))}),t.on.blur(t.emitValue(c=>{if(r.set(!1),l.value){l.set(!1);return}s(c)}))),()=>t.html.span(t.on.click(()=>{t.Value.get(i)||r.set(!0)}),t.attr.class("bc-editable-text__display"),t.When(t.Value.map(n,c=>c!=null&&c.trim()!==""),()=>t.html.span(t.attr.class("bc-editable-text__text"),n),()=>t.html.span(t.attr.class("bc-editable-text__placeholder"),a)),t.When(t.Value.map(i,c=>!c),()=>t.html.button(t.attr.type("button"),t.attr.class("bc-editable-text__edit-button"),t.Use(v.BeatUII18n,c=>t.aria.label(c.$.editLabel)),t.on.click(()=>r.set(!0)),v.Icon({icon:"line-md/pencil",color:"neutral"}))))))},At=e=>{const{value:n,onBlur:s,onChange:a,onInput:o,after:r,disabled:l}=e,i=k.NullableResetAfter(n,l,a??o);return B.InputContainer({...e,input:t.input.date(N.CommonInputAttributes(e),t.attr.valueAsDate(n),t.attr.class("bc-input"),s!=null?t.on.blur(t.emitValue(s)):t.Empty,a!=null?t.on.change(t.emitValueAsNullableDate(a)):t.Empty,o!=null?t.on.input(t.emitValueAsNullableDate(o)):t.Empty),after:r!=null?t.Fragment(i,r):i})},Ft=e=>{const n=e.getFullYear(),s=e.getMonth()+1,a=e.getDate(),o=e.getHours(),r=e.getMinutes(),l=e.getSeconds();return`${n}-${s.toString().padStart(2,"0")}-${a.toString().padStart(2,"0")}T${o.toString().padStart(2,"0")}:${r.toString().padStart(2,"0")}:${l.toString().padStart(2,"0")}`},kt=e=>{const{value:n,onBlur:s,onChange:a,onInput:o,after:r,disabled:l}=e,i=t.Value.map(n,u=>u!=null?Ft(u):null),c=k.NullableResetAfter(n,l,a??o);return B.InputContainer({...e,input:t.input["datetime-local"](N.CommonInputAttributes(e),t.attr.value(t.Value.map(i,u=>u??null)),t.attr.class("bc-input"),s!=null?t.on.blur(t.emitValue(s)):t.Empty,a!=null?t.on.change(t.emitValueAsNullableDateTime(a)):t.Empty,o!=null?t.on.input(t.emitValueAsNullableDateTime(o)):t.Empty),after:r!=null?t.Fragment(c,r):c})},Nt=O(Q.EmailInput),St=O(N.TextInput),vt=O(Q.PasswordInput),Rt=O(k.TextArea),Et=({value:e,onChange:n,onInput:s,onBlur:a,offLabel:o,onLabel:r,disabled:l=!1,size:i="md",id:c,color:u="primary",tabIndex:p=0,matchInputHeight:d=!0,ariaLabel:b})=>{const g=c??bt.sessionId("switch");function h(w,f){const I=["bc-switch",`bc-switch--size-${f}`,`bc-switch--${f}`];return d&&I.push("bc-switch--match-input"),w&&I.push("bc-switch--disabled"),I.join(" ")}function y(w){const f=w??"primary",I=new Map,C=v.backgroundValue(f,"solid","light"),x=v.backgroundValue(f,"solid","dark");return I.set("--switch-track-on-bg",C.backgroundColor),I.set("--switch-track-on-label",C.textColor),I.set("--switch-track-on-bg-dark",x.backgroundColor),I.set("--switch-track-on-label-dark",x.textColor),I.set("--switch-track-on-border-dark",v.borderColorValue(f,"dark")),Array.from(I.entries()).map(([W,H])=>`${W}: ${H}`).join("; ")}const M=()=>{t.Value.get(l)||(n?.(!t.Value.get(e)),s?.(!t.Value.get(e)))},_=w=>{t.Value.get(l)||(w.key===" "||w.key==="Enter")&&(w.preventDefault(),M())};return t.html.div(t.attr.class(t.computedOf(l??!1,i)((w,f)=>h(w??!1,f??"md"))),t.attr.style(t.computedOf(u)(w=>y(w))),t.attr.id(g),t.attr.role("switch"),t.attr.tabindex(t.computedOf(l??!1,p)((w,f)=>w?-1:f??0)),t.aria.checked(e),t.aria.disabled(l),b!=null?t.aria.label(b):null,t.on.click(M),t.on.keydown(_),a!=null?t.on.blur(a):null,t.html.div(t.attr.class("bc-switch__track"),t.attr.class(t.Value.map(e,w=>w?"bc-switch__track--on":"bc-switch__track--off")),o!=null?t.html.div(t.aria.hidden(!0),t.attr.class("bc-switch__track-label bc-switch__track-label--off"),t.attr.class(t.Value.map(e,w=>w?"bc-switch__track-label--hidden":"bc-switch__track-label--visible")),o):null,r!=null?t.html.div(t.attr.class("bc-switch__track-label bc-switch__track-label--on"),t.attr.class(t.Value.map(e,w=>w?"bc-switch__track-label--visible":"bc-switch__track-label--hidden")),r):null,t.html.div(t.attr.class("bc-switch__thumb"),t.attr.class(t.Value.map(e,w=>w?"bc-switch__thumb--on":"bc-switch__thumb--off")))))},Dt=O(k.UuidInput),Bt="line-md:star-alt-filled",Ot="line-md:star-alt",ht=e=>{const{value:n,onChange:s,onInput:a,disabled:o,max:r=5,fullColor:l="yellow",emptyColor:i="neutral",activeIcon:c=Bt,inactiveIcon:u=Ot,size:p="md",onBlur:d,rounding:b=1}=e,g=()=>{const f=t.Value.get(b);return f>0?f:1},h=f=>Math.min(Math.max(f,0),t.Value.get(r)),y=(f,I)=>{if(t.Value.get(o??!1))return;const x=f.currentTarget.getBoundingClientRect(),W=(f.clientX-x.left)/x.width,H=I-1+W,j=g(),K=Math.ceil(H/j)*j,P=h(K);s?.(P),a?.(P)},M=f=>{if(t.Value.get(o??!1))return;const I=g(),C=t.Value.get(n)??0;let x;switch(f.key){case"ArrowRight":case"ArrowUp":x=h(C+I);break;case"ArrowLeft":case"ArrowDown":x=h(C-I);break;case"Home":x=0;break;case"End":x=t.Value.get(r);break;default:return}f.preventDefault(),s?.(x),a?.(x)},_=t.Value.map(p,f=>`bc-icon--${f}`),w=({index:f,counter:I})=>t.html.span(t.attr.class("bc-rating-input__icon-container"),t.attr.class(_),t.on.click(t.emit(C=>y(C,I),{preventDefault:!0,stopPropagation:!0})),v.Icon({icon:u,size:p,color:i,tone:"soft"},t.attr.class("bc-rating-input__icon-empty")),t.html.span(t.attr.class("bc-rating-input__icon-clipper"),t.attr.class(_),t.style.width(t.Value.map(n,C=>{const x=Math.floor(C);return x>f?"100%":x<f?"0%":`${(C-f)*100}%`})),v.Icon({icon:c,size:p,color:l,tone:"soft"},t.attr.class("bc-rating-input__icon-full"))));return B.InputContainer({baseContainer:!0,growInput:!1,focusableSelector:'[role="slider"]',...e,input:t.html.div(N.CommonInputAttributes(e),t.attr.class("bc-rating-input"),t.attr.role("slider"),t.attr.tabindex(t.Value.map(o??!1,f=>f?-1:0)),t.aria.disabled(o??!1),t.aria.valuemin(0),t.aria.valuemax(t.Value.map(r,f=>f??0)),t.aria.valuenow(t.Value.map(n,f=>f??0)),t.aria.valuetext(t.computedOf(n,r)((f,I)=>{const C=f??0,x=I??0;return`${String(C)} / ${String(x)}`})),t.on.keydown(M),d!=null?t.on.blur(d):null,t.Repeat(r,w))})},Wt=e=>{const{after:n,disabled:s}=e,a=N.mapInputOptions(e,r=>r??0,r=>r),o=k.NullableResetAfter(e.value,s,e.onChange??e.onInput);return ht({...a,after:n!=null?t.Fragment(o,n):o})},Ht=e=>{const{value:n,step:s,min:a,max:o,onBlur:r,onChange:l,onInput:i}=e;return B.InputContainer({...e,focusableSelector:'input[type="range"]',input:t.html.input(t.attr.type("range"),N.CommonInputAttributes(e),t.attr.min(a),t.attr.max(o),t.attr.step(s),t.attr.valueAsNumber(n),t.attr.class("bc-input bc-slider-input"),r!=null?t.on.blur(t.emitValueAsNumber(r)):t.Empty,l!=null?t.on.change(t.emitValueAsNumber(l)):t.Empty,i!=null?t.on.input(t.emitValueAsNumber(i)):t.Empty)})},Pt=e=>{const{value:n,step:s,min:a,max:o,onBlur:r,onChange:l,onInput:i}=e,c=t.Value.map(n,p=>{if(p!=null)return p;const d=a!=null?t.Value.get(a):void 0;return typeof d=="number"?d:0}),u=k.NullableResetAfter(n,e.disabled,l??i);return B.InputContainer({...e,focusableSelector:'input[type="range"]',after:u,input:t.html.input(t.attr.type("range"),N.CommonInputAttributes(e),t.attr.min(a),t.attr.max(o),t.attr.step(s),t.attr.valueAsNumber(c),t.attr.class("bc-input bc-slider-input"),r!=null?t.on.blur(t.emitValueAsNumber(r)):t.Empty,l!=null?t.on.change(t.emitValueAsNumber(p=>{l(p)})):t.Empty,i!=null?t.on.input(t.emitValueAsNumber(p=>{i(p)})):t.Empty)})},Ut=O(k.UrlInput);class gt{widgets=new Map;typeMapping=new Map;register(n,s){if(this.widgets.set(n,s),s.supportedTypes)for(const a of s.supportedTypes)this.typeMapping.has(a)||this.typeMapping.set(a,[]),this.typeMapping.get(a).push(n),this.typeMapping.get(a).sort((o,r)=>{const l=this.widgets.get(o)?.priority||0;return(this.widgets.get(r)?.priority||0)-l})}unregister(n){const s=this.widgets.get(n);if(s&&(this.widgets.delete(n),s.supportedTypes))for(const a of s.supportedTypes){const o=this.typeMapping.get(a);if(o){const r=o.indexOf(n);r>=0&&o.splice(r,1),o.length===0&&this.typeMapping.delete(a)}}}get(n){return this.widgets.get(n)}getAll(){return new Map(this.widgets)}getForType(n){return(this.typeMapping.get(n)||[]).map(a=>this.widgets.get(a)).filter(Boolean)}findBestWidget(n){const s=yt.resolveWidget(n.definition,n.name);if(s?.widget){const o=this.widgets.get(s.widget);if(o)return{name:s.widget,registration:o,resolved:s}}const a=[];for(const[o,r]of this.widgets.entries())if(r.matcher)try{r.matcher(n)&&a.push({name:o,registration:r,priority:r.priority??0})}catch(l){console.warn(`Error in matcher for widget "${o}":`,l)}if(a.length>0){a.sort((r,l)=>l.priority-r.priority);const o=a[0];return{name:o.name,registration:o.registration,resolved:{widget:o.name,source:"heuristics"}}}if(typeof n.definition=="object"&&n.definition.type){const o=Array.isArray(n.definition.type)?n.definition.type[0]:n.definition.type,r=this.getForType(o);if(r.length>0){const l=this.typeMapping.get(o)[0];return{name:l,registration:r[0],resolved:{widget:l,source:"type-fallback"}}}}return null}}const Lt=new gt;function qt(e,n,s){return{factory:n,matcher:a=>{const r=a.definition["x:ui"];return r===e||typeof r=="object"&&r!==null&&r.widget===e},displayName:s?.displayName??e,priority:s?.priority??100,...s}}function zt(e,n,s){return{factory:n,matcher:a=>a.definition.format===e,displayName:s?.displayName??`${e} widget`,priority:s?.priority??75,...s}}function jt(e,n,s,a){return{factory:s,matcher:o=>{const r=o.definition;return r.type===e&&r.format===n},displayName:a?.displayName??`${e}:${n} widget`,priority:a?.priority??80,...a}}function Xt(e){const n=e?.logPrefix??"WIDGET_DIAG",s=e?.filterFn??(()=>!0);return{factory:()=>null,displayName:"Diagnostic Widget (never matches)",priority:-1e3,matcher:a=>{if(!s(a))return!1;const o=a.definition,r={name:a.name,path:a.path.map(String),type:o?.type,hasRegistry:a.widgetRegistry!==void 0,definition:o};return console.log(`[${n}] name="${r.name??"ROOT"}" path=[${r.path.join(", ")}] type="${r.type??"unknown"}" hasRegistry=${r.hasRegistry}`),e?.onProcess?.(r),!1}}}exports.Base64Input=$t;exports.Base64sInput=ut;exports.ColorSwatchInput=Ct;exports.EditableText=Tt;exports.NativeNullableDateInput=At;exports.NativeNullableDateTimeInput=kt;exports.NullableEmailInput=Nt;exports.NullablePasswordInput=vt;exports.NullableRatingInput=Wt;exports.NullableSliderInput=Pt;exports.NullableTextArea=Rt;exports.NullableTextInput=St;exports.NullableUrlInput=Ut;exports.NullableUuidInput=Dt;exports.RatingInput=ht;exports.SliderInput=Ht;exports.Switch=Et;exports.WidgetRegistry=gt;exports.createDiagnosticWidget=Xt;exports.emptyToNull=pt;exports.fileToBase64=ct;exports.forFormat=zt;exports.forTypeAndFormat=jt;exports.forXUI=qt;exports.formatColor=R;exports.getContrastRatio=It;exports.globalWidgetRegistry=Lt;exports.hexToRgb=D;exports.hslToRgb=G;exports.hwbToRgb=st;exports.isValidColor=wt;exports.isValidHexColor=Y;exports.isValidHslColor=tt;exports.isValidRgbColor=Z;exports.isValidRgbaColor=J;exports.linearToSrgb=L;exports.mulberry32=rt;exports.normalizeHexColor=et;exports.nullToEmpty=dt;exports.oklchToRgb=lt;exports.parseAnyColor=nt;exports.resolveEffectiveFormat=E;exports.rgbToHex=q;exports.rgbToHsl=z;exports.rgbToHwb=ot;exports.rgbToOklch=it;exports.srgbToLinear=U;exports.toRgbaString=at;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./translations-BDGa_4jx.cjs"),r={loadingExtended:"正在加载,请稍候",loadingShort:"加载中...",locale:"语言",iconDescription:"图标",loadingIcon:"加载图标",failedToLoadIcon:"图标加载失败",editLabel:"编辑",selectOne:"选择一个",selectNone:"无",selectMany:"选择多个",noResults:"无结果",passwordPlaceholderText:"密码",togglePasswordVisibility:"切换密码可见性",toggleMenu:"切换菜单",toggleAside:"切换侧边栏",mainNavigation:"主导航",sidebar:"侧边栏",closeDrawer:"关闭抽屉",closeModal:"关闭模态框",confirm:"确认",cancel:"取消",addLabel:"添加",removeItem:"删除项目",currentLocale:"简体中文",ar:"阿拉伯语",de:"德语",en:"英语",es:"西班牙语",fr:"法语",hi:" Hindi",it:"意大利语",ja:"日语",ko:"韩语",nl:"荷兰语",pl:"波兰语",pt:"葡萄牙语",ru:"俄语",tr:"土耳其语",vi:"越南语",zh:"简体中文",he:"希伯来语",fa:"波斯语",ur:"乌尔都语",emailPlaceholderText:"请输入邮箱",incrementValue:"增加值",decrementValue:"减少值",dropZoneInstructions:e=>e?"点击选择或将文件拖拽到此处,或按 Enter 或空格键打开文件选择器":"将文件拖拽到此处",fileSizeUnits:["字节","KB","MB","GB","TB"],removeFile:"删除文件",clearAllFiles:"清除所有文件",clearValue:"清除值",unknownType:"未知类型",filesInputInstructions:(e,t,l)=>{let o=(e==null||e>1,"点击选择或将文件拖拽到此处");if(e||t){const n=[];if(e!=null&&e>1&&n.push(`最多${e}个文件`),t&&l){const i=a.formatFileSize(t,{units:l});n.push(`每个最大${i}`)}n.length>0&&(o+=` (${n.join(",")})`)}return o},paginationLabel:"分页",paginationRange:(e,t,l,o)=>o>l?`第 ${e} 至 ${t} 行,共 ${l} 条(总计 ${o} 条)`:`第 ${e} 至 ${t} 行,共 ${l} 条`,firstPage:"第一页",previousPage:"上一页",nextPage:"下一页",lastPage:"最后一页",breadcrumbs:"面包屑导航",commandPalette:"命令面板",typeACommand:"输入命令...",noResultsFound:"未找到结果",noMatchingCommands:"没有匹配的命令",appearanceSystem:"跟随系统",appearanceLight:"浅色",appearanceDark:"深色",ok:"OK",changeTypeConfirmation:"更改类型将清除当前值。是否继续?",notifications:"通知",markAllAsRead:"全部标为已读",noNotifications:"没有通知",schemaConflictsDetected:"检测到架构冲突",schemaViolationsDetected:"检测到架构违规",properties:"属性",uploading:"上传中...",dropFilesOrBrowse:"将文件拖放到此处或点击浏览",acceptedTypes:e=>`支持的类型:${e}`,enterUrlPrompt:"请输入网址:",exceeded:"(已超出)",pdfPreview:"PDF 预览",lexical:{fontFamily:"字体",fontSize:"字号",lineHeight:"行高",fontColor:"字体颜色",highlightColor:"高亮颜色",backgroundColor:"背景颜色",bold:"粗体",italic:"斜体",underline:"下划线",strikethrough:"删除线",code:"代码",clearFormatting:"清除格式",normal:"正文",heading:e=>`标题 ${e}`,bulletList:"无序列表",orderedList:"有序列表",checkList:"任务列表",indent:"增加缩进",outdent:"减少缩进",blockquote:"引用",codeBlock:"代码块",horizontalRule:"水平分割线",insertTable:"插入表格",link:"链接",undo:"撤销",redo:"重做",cut:"剪切",copy:"复制",paste:"粘贴",defaultOption:"默认",slashCommands:"斜杠命令",noCommandsFound:"未找到命令",changeBlockType:"更改块类型",blockTypes:"块类型",enterUrl:"输入网址:",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"},dataTable:{sortAscending:"升序排列",sortDescending:"降序排列",clearSort:"清除排序",filterPlaceholder:"筛选...",clearFilter:"清除筛选",selectAll:"全选",deselectAll:"取消全选",selectedCount:e=>`已选择 ${e} 项`,resetAll:"重置全部",noResults:"未找到结果",loading:"加载中...",filterPanelAddCondition:"添加条件",filterPanelApply:"应用",filterPanelClear:"清除筛选",filterPanelAnd:"且",filterPanelOr:"或",filterPanelContains:"包含",filterPanelNotContains:"不包含",filterPanelEquals:"等于",filterPanelNotEquals:"不等于",filterPanelStartsWith:"开头是",filterPanelEndsWith:"结尾是",filterPanelIsNull:"为空",filterPanelIsNotNull:"不为空",filterPanelGt:"大于",filterPanelGte:"大于或等于",filterPanelLt:"小于",filterPanelLte:"小于或等于",filterPanelBetween:"介于",filterPanelValuePlaceholder:"值...",sortMultiHint:"按住 Shift 可对多列排序",columnVisibility:"列",showAllColumns:"显示全部",menuSortAsc:"升序排列",menuSortDesc:"降序排列",menuClearSort:"清除排序",menuHideColumn:"隐藏列",menuChooseColumns:"选择列",menuResetColumns:"重置列",menuFilter:"筛选",rowCount:(e,t)=>`行数:${e} 总行数:${t}`,filterTagsPlaceholder:"选择值...",groupCount:e=>`${e} 项`,collapseGroup:"收起分组",expandGroup:"展开分组",describeFilter:{textContains:(e,t)=>`${e} 包含 "${t}"`,textNotContains:(e,t)=>`${e} 不包含 "${t}"`,textEquals:(e,t)=>`${e} 等于 "${t}"`,textNotEquals:(e,t)=>`${e} 不等于 "${t}"`,textStartsWith:(e,t)=>`${e} 以 "${t}" 开头`,textEndsWith:(e,t)=>`${e} 以 "${t}" 结尾`,compareEq:(e,t)=>`${e} = ${t}`,compareNeq:(e,t)=>`${e} ≠ ${t}`,compareGt:(e,t)=>`${e} > ${t}`,compareGte:(e,t)=>`${e} ≥ ${t}`,compareLt:(e,t)=>`${e} < ${t}`,compareLte:(e,t)=>`${e} ≤ ${t}`,rangeBetween:(e,t,l)=>`${e} 在 ${t} 到 ${l} 之间`,rangeGte:(e,t)=>`${e} ≥ ${t}`,rangeLte:(e,t)=>`${e} ≤ ${t}`,setIn:(e,t)=>`${e} 在 [${t}] 中`,setNotIn:(e,t)=>`${e} 不在 [${t}] 中`,booleanIs:(e,t)=>`${e} 为 ${t}`,isNull:e=>`${e} 为空`,isNotNull:e=>`${e} 不为空`,compositeAnd:e=>e.join(" 且 "),compositeOr:e=>e.join(" 或 ")}},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...",loadFailed:"加载PDF失败",invalidPdf:"无效的PDF文件",pageOutOfRange:(e,t)=>`页面 ${e} 超出范围 (1-${t})`,renderFailed:"渲染PDF页面失败"}};exports.default=r;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as
|
|
1
|
+
import { f as i } from "./translations-B96REXIk.js";
|
|
2
2
|
const s = {
|
|
3
3
|
loadingExtended: "正在加载,请稍候",
|
|
4
4
|
loadingShort: "加载中...",
|
|
@@ -59,21 +59,22 @@ const s = {
|
|
|
59
59
|
clearValue: "清除值",
|
|
60
60
|
unknownType: "未知类型",
|
|
61
61
|
filesInputInstructions: (e, t, l) => {
|
|
62
|
-
let
|
|
62
|
+
let o = (e == null || e > 1, "点击选择或将文件拖拽到此处");
|
|
63
63
|
if (e || t) {
|
|
64
|
-
const
|
|
65
|
-
if (e != null && e > 1 &&
|
|
66
|
-
const
|
|
64
|
+
const n = [];
|
|
65
|
+
if (e != null && e > 1 && n.push(`最多${e}个文件`), t && l) {
|
|
66
|
+
const a = i(t, {
|
|
67
67
|
units: l
|
|
68
68
|
});
|
|
69
|
-
|
|
69
|
+
n.push(`每个最大${a}`);
|
|
70
70
|
}
|
|
71
|
-
|
|
71
|
+
n.length > 0 && (o += ` (${n.join(",")})`);
|
|
72
72
|
}
|
|
73
|
-
return
|
|
73
|
+
return o;
|
|
74
74
|
},
|
|
75
75
|
// Pagination
|
|
76
76
|
paginationLabel: "分页",
|
|
77
|
+
paginationRange: (e, t, l, o) => o > l ? `第 ${e} 至 ${t} 行,共 ${l} 条(总计 ${o} 条)` : `第 ${e} 至 ${t} 行,共 ${l} 条`,
|
|
77
78
|
firstPage: "第一页",
|
|
78
79
|
previousPage: "上一页",
|
|
79
80
|
nextPage: "下一页",
|
package/package.json
CHANGED
package/dist/ar-CuI1Jgt6.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./translations-Dbx7L7Q1.cjs"),r={loadingExtended:"جاري التحميل، يرجى الانتظار",loadingShort:"جاري التحميل...",locale:"اللغة",iconDescription:"أيقونة",loadingIcon:"أيقونة التحميل",failedToLoadIcon:"فشل في تحميل الأيقونة",editLabel:"تحرير",selectOne:"اختر واحد",selectNone:"لا شيء",selectMany:"اختر عدة",noResults:"لا نتائج",passwordPlaceholderText:"كلمة المرور السرية",togglePasswordVisibility:"إظهار/إخفاء كلمة المرور",toggleMenu:"تبديل القائمة",toggleAside:"تبديل اللوحة الجانبية",mainNavigation:"القائمة الرئيسية",sidebar:"الشريط الجانبي",closeDrawer:"إغلاق الدرج",closeModal:"إغلاق النافذة المنبثقة",confirm:"تأكيد",cancel:"إلغاء",addLabel:"إضافة",removeItem:"إزالة العنصر",currentLocale:"العربية",ar:"العربية",de:"الألمانية",en:"الإنجليزية",es:"الأسبانية",fr:"الفرنسية",hi:"الهندية",it:"الإيطالية",ja:"اليابانية",ko:"الكورية",nl:"الهولندية",pl:"البولندية",pt:"البرتغالية",ru:"الروسية",tr:"التركية",vi:"الفيتنامية",zh:"الصينية",he:"العبرية",fa:"الفارسية",ur:"الأردية",emailPlaceholderText:"بريدك الإلكتروني",incrementValue:"زيادة القيمة",decrementValue:"تقليل القيمة",dropZoneInstructions:e=>e?"انقر للاختيار أو اسحب الملفات هنا، أو اضغط Enter أو Space لفتح محدد الملفات":"اسحب الملفات هنا",fileSizeUnits:["بايت","ك.ب","م.ب","ج.ب","ت.ب"],removeFile:"إزالة الملف",clearAllFiles:"مسح كل الملفات",clearValue:"مسح القيمة",unknownType:"نوع غير معروف",filesInputInstructions:(e,t,l)=>{let n=e==null||e>1?"انقر للاختيار أو اسحب الملفات هنا":"انقر للاختيار أو اسحب ملف هنا";if(e||t){const o=[];if(e!=null&&e>1&&o.push(`حتى ${e} ملفات`),t&&l){const a=i.formatFileSize(t,{units:l});o.push(`حد أقصى ${a} لكل ملف`)}o.length>0&&(n+=` (${o.join("، ")})`)}return n},paginationLabel:"ترقيم الصفحات",firstPage:"الصفحة الأولى",previousPage:"الصفحة السابقة",nextPage:"الصفحة التالية",lastPage:"الصفحة الأخيرة",breadcrumbs:"مسار التنقل",commandPalette:"لوحة الأوامر",typeACommand:"اكتب أمراً...",noResultsFound:"لم يتم العثور على نتائج",noMatchingCommands:"لا توجد أوامر مطابقة",appearanceSystem:"النظام",appearanceLight:"فاتح",appearanceDark:"داكن",ok:"OK",changeTypeConfirmation:"سيؤدي تغيير النوع إلى مسح القيمة الحالية. هل تريد المتابعة؟",notifications:"الإشعارات",markAllAsRead:"تحديد الكل كمقروء",noNotifications:"لا توجد إشعارات",schemaConflictsDetected:"تم اكتشاف تعارضات في المخطط",schemaViolationsDetected:"تم اكتشاف انتهاكات في المخطط",properties:"الخصائص",uploading:"جاري الرفع...",dropFilesOrBrowse:"أسقط الملفات هنا أو انقر للتصفح",acceptedTypes:e=>`الأنواع المقبولة: ${e}`,enterUrlPrompt:"أدخل الرابط:",exceeded:"(تم التجاوز)",pdfPreview:"معاينة PDF",lexical:{fontFamily:"نوع الخط",fontSize:"حجم الخط",lineHeight:"ارتفاع السطر",fontColor:"لون الخط",highlightColor:"لون التمييز",backgroundColor:"لون الخلفية",bold:"غامق",italic:"مائل",underline:"تسطير",strikethrough:"يتوسطه خط",code:"رمز",clearFormatting:"مسح التنسيق",normal:"عادي",heading:e=>`عنوان ${e}`,bulletList:"قائمة نقطية",orderedList:"قائمة مرقمة",checkList:"قائمة مهام",indent:"مسافة بادئة",outdent:"إزالة المسافة البادئة",blockquote:"اقتباس",codeBlock:"كتلة رمز",horizontalRule:"خط أفقي",insertTable:"إدراج جدول",link:"رابط",undo:"تراجع",redo:"إعادة",cut:"قص",copy:"نسخ",paste:"لصق",defaultOption:"افتراضي",slashCommands:"أوامر الشرطة المائلة",noCommandsFound:"لم يتم العثور على أوامر",changeBlockType:"تغيير نوع الكتلة",blockTypes:"أنواع الكتل",enterUrl:"أدخل الرابط:",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"},dataTable:{sortAscending:"ترتيب تصاعدي",sortDescending:"ترتيب تنازلي",clearSort:"مسح الترتيب",filterPlaceholder:"تصفية...",clearFilter:"مسح التصفية",selectAll:"تحديد الكل",deselectAll:"إلغاء تحديد الكل",selectedCount:e=>`${e} محدد`,resetAll:"إعادة تعيين الكل",noResults:"لم يتم العثور على نتائج",loading:"جارٍ التحميل...",filterPanelAddCondition:"إضافة شرط",filterPanelApply:"تطبيق",filterPanelClear:"مسح الفلاتر",filterPanelAnd:"و",filterPanelOr:"أو",filterPanelContains:"يحتوي على",filterPanelNotContains:"لا يحتوي على",filterPanelEquals:"يساوي",filterPanelNotEquals:"لا يساوي",filterPanelStartsWith:"يبدأ بـ",filterPanelEndsWith:"ينتهي بـ",filterPanelIsNull:"فارغ",filterPanelIsNotNull:"غير فارغ",filterPanelGt:"أكبر من",filterPanelGte:"أكبر من أو يساوي",filterPanelLt:"أقل من",filterPanelLte:"أقل من أو يساوي",filterPanelBetween:"بين",filterPanelValuePlaceholder:"القيمة...",sortMultiHint:"اضغط Shift للترتيب حسب أعمدة متعددة",columnVisibility:"الأعمدة",showAllColumns:"إظهار الكل",menuSortAsc:"ترتيب تصاعدي",menuSortDesc:"ترتيب تنازلي",menuClearSort:"مسح الترتيب",menuHideColumn:"إخفاء العمود",menuChooseColumns:"اختيار الأعمدة",menuResetColumns:"إعادة تعيين الأعمدة",menuFilter:"تصفية",rowCount:(e,t)=>`الصفوف: ${e} إجمالي الصفوف: ${t}`,filterTagsPlaceholder:"اختر القيم...",groupCount:e=>`${e} عناصر`,collapseGroup:"طي المجموعة",expandGroup:"توسيع المجموعة",describeFilter:{textContains:(e,t)=>`${e} يحتوي على "${t}"`,textNotContains:(e,t)=>`${e} لا يحتوي على "${t}"`,textEquals:(e,t)=>`${e} يساوي "${t}"`,textNotEquals:(e,t)=>`${e} لا يساوي "${t}"`,textStartsWith:(e,t)=>`${e} يبدأ بـ "${t}"`,textEndsWith:(e,t)=>`${e} ينتهي بـ "${t}"`,compareEq:(e,t)=>`${e} = ${t}`,compareNeq:(e,t)=>`${e} ≠ ${t}`,compareGt:(e,t)=>`${e} > ${t}`,compareGte:(e,t)=>`${e} ≥ ${t}`,compareLt:(e,t)=>`${e} < ${t}`,compareLte:(e,t)=>`${e} ≤ ${t}`,rangeBetween:(e,t,l)=>`${e} بين ${t} و ${l}`,rangeGte:(e,t)=>`${e} ≥ ${t}`,rangeLte:(e,t)=>`${e} ≤ ${t}`,setIn:(e,t)=>`${e} ضمن [${t}]`,setNotIn:(e,t)=>`${e} ليس ضمن [${t}]`,booleanIs:(e,t)=>`${e} هو ${t}`,isNull:e=>`${e} فارغ`,isNotNull:e=>`${e} ليس فارغاً`,compositeAnd:e=>e.join(" و "),compositeOr:e=>e.join(" أو ")}},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:"Loading PDF...",loadFailed:"Failed to load PDF",invalidPdf:"Invalid PDF file",pageOutOfRange:(e,t)=>`Page ${e} is out of range (1-${t})`,renderFailed:"Failed to render PDF page"}};exports.default=r;
|
package/dist/de-DthHehbh.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./translations-Dbx7L7Q1.cjs"),o={loadingExtended:"Lädt, bitte warten",loadingShort:"Lädt...",iconDescription:"Symbol",loadingIcon:"Ladesymbol",locale:"Landesvariante",failedToLoadIcon:"Symbol konnte nicht geladen werden",editLabel:"Bearbeiten",selectOne:"Eines auswählen",selectNone:"Keines",selectMany:"Mehrere auswählen",noResults:"Keine Ergebnisse",passwordPlaceholderText:"Geheimes Passwort",togglePasswordVisibility:"Passwort-Sichtbarkeit umschalten",toggleMenu:"Menü umschalten",toggleAside:"Seitenleiste umschalten",mainNavigation:"Hauptnavigation",sidebar:"Seitenleiste",closeDrawer:"Schublade schließen",closeModal:"Modal schließen",confirm:"Bestätigen",cancel:"Abbrechen",addLabel:"Hinzufügen",removeItem:"Element entfernen",currentLocale:"Deutsch",ar:"Arabisch",de:"Deutsch",en:"Englisch",es:"Spanisch",fr:"Französisch",hi:"Hindi",it:"Italienisch",ja:"Japanisch",ko:"Koreanisch",nl:"Niederländisch",pl:"Polnisch",pt:"Portugiesisch",ru:"Russisch",tr:"Türkisch",vi:"Vietnamesisch",zh:"Chinesisch",he:"Hebräisch",fa:"Persisch",ur:"Urdu",emailPlaceholderText:"E-Mail eingeben",incrementValue:"Wert erhöhen",decrementValue:"Wert verringern",dropZoneInstructions:e=>e?"Klicken zum Auswählen oder Dateien hierher ziehen, oder Enter oder Leertaste drücken, um Dateiauswahl zu öffnen":"Dateien hierher ziehen",fileSizeUnits:["Bytes","KB","MB","GB","TB"],removeFile:"Datei entfernen",clearAllFiles:"Alle Dateien löschen",clearValue:"Wert löschen",unknownType:"Unbekannter Typ",filesInputInstructions:(e,n,t)=>{let l=e==null||e>1?"Klicken zum Auswählen oder Dateien hierher ziehen":"Klicken zum Auswählen oder Datei hierher ziehen";if(e||n){const i=[];if(e!=null&&e>1&&i.push(`bis zu ${e} Dateien`),n&&t){const r=a.formatFileSize(n,{units:t});i.push(`max ${r} je Datei`)}i.length>0&&(l+=` (${i.join(", ")})`)}return l},paginationLabel:"Seitennavigation",firstPage:"Erste Seite",previousPage:"Vorherige Seite",nextPage:"Nächste Seite",lastPage:"Letzte Seite",breadcrumbs:"Brotkrümelnavigation",commandPalette:"Befehlspalette",typeACommand:"Befehl eingeben...",noResultsFound:"Keine Ergebnisse gefunden",noMatchingCommands:"Keine passenden Befehle",appearanceSystem:"System",appearanceLight:"Hell",appearanceDark:"Dunkel",ok:"OK",changeTypeConfirmation:"Typänderung löscht den aktuellen Wert. Fortfahren?",notifications:"Benachrichtigungen",markAllAsRead:"Alle als gelesen markieren",noNotifications:"Keine Benachrichtigungen",schemaConflictsDetected:"Schemakonflikte erkannt",schemaViolationsDetected:"Schemaverletzungen erkannt",properties:"Eigenschaften",uploading:"Wird hochgeladen...",dropFilesOrBrowse:"Dateien hierher ziehen oder klicken zum Durchsuchen",acceptedTypes:e=>`Akzeptierte Typen: ${e}`,enterUrlPrompt:"URL eingeben:",exceeded:"(überschritten)",pdfPreview:"PDF-Vorschau",lexical:{fontFamily:"Schriftart",fontSize:"Schriftgröße",lineHeight:"Zeilenhöhe",fontColor:"Schriftfarbe",highlightColor:"Hervorhebungsfarbe",backgroundColor:"Hintergrundfarbe",bold:"Fett",italic:"Kursiv",underline:"Unterstrichen",strikethrough:"Durchgestrichen",code:"Code",clearFormatting:"Formatierung löschen",normal:"Normal",heading:e=>`Überschrift ${e}`,bulletList:"Aufzählung",orderedList:"Nummerierte Liste",checkList:"Checkliste",indent:"Einzug vergrößern",outdent:"Einzug verkleinern",blockquote:"Zitat",codeBlock:"Code-Block",horizontalRule:"Horizontale Linie",insertTable:"Tabelle einfügen",link:"Link",undo:"Rückgängig",redo:"Wiederholen",cut:"Ausschneiden",copy:"Kopieren",paste:"Einfügen",defaultOption:"Standard",slashCommands:"Schrägstrich-Befehle",noCommandsFound:"Keine Befehle gefunden",changeBlockType:"Blocktyp ändern",blockTypes:"Blocktypen",enterUrl:"URL eingeben:",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"},dataTable:{sortAscending:"Aufsteigend sortieren",sortDescending:"Absteigend sortieren",clearSort:"Sortierung aufheben",filterPlaceholder:"Filtern...",clearFilter:"Filter löschen",selectAll:"Alle auswählen",deselectAll:"Alle abwählen",selectedCount:e=>`${e} ausgewählt`,resetAll:"Alles zurücksetzen",noResults:"Keine Ergebnisse gefunden",loading:"Wird geladen...",filterPanelAddCondition:"Bedingung hinzufügen",filterPanelApply:"Anwenden",filterPanelClear:"Filter löschen",filterPanelAnd:"UND",filterPanelOr:"ODER",filterPanelContains:"Enthält",filterPanelNotContains:"Enthält nicht",filterPanelEquals:"Gleich",filterPanelNotEquals:"Ungleich",filterPanelStartsWith:"Beginnt mit",filterPanelEndsWith:"Endet mit",filterPanelIsNull:"Ist leer",filterPanelIsNotNull:"Ist nicht leer",filterPanelGt:"Größer als",filterPanelGte:"Größer oder gleich",filterPanelLt:"Kleiner als",filterPanelLte:"Kleiner oder gleich",filterPanelBetween:"Zwischen",filterPanelValuePlaceholder:"Wert...",sortMultiHint:"Shift gedrückt halten, um mehrere Spalten zu sortieren",columnVisibility:"Spalten",showAllColumns:"Alle anzeigen",menuSortAsc:"Aufsteigend sortieren",menuSortDesc:"Absteigend sortieren",menuClearSort:"Sortierung aufheben",menuHideColumn:"Spalte ausblenden",menuChooseColumns:"Spalten auswählen",menuResetColumns:"Spalten zurücksetzen",menuFilter:"Filtern",rowCount:(e,n)=>`Zeilen: ${e} Zeilen gesamt: ${n}`,filterTagsPlaceholder:"Werte auswählen...",groupCount:e=>`${e} Einträge`,collapseGroup:"Gruppe einklappen",expandGroup:"Gruppe ausklappen",describeFilter:{textContains:(e,n)=>`${e} enthält "${n}"`,textNotContains:(e,n)=>`${e} enthält nicht "${n}"`,textEquals:(e,n)=>`${e} ist gleich "${n}"`,textNotEquals:(e,n)=>`${e} ist ungleich "${n}"`,textStartsWith:(e,n)=>`${e} beginnt mit "${n}"`,textEndsWith:(e,n)=>`${e} endet mit "${n}"`,compareEq:(e,n)=>`${e} = ${n}`,compareNeq:(e,n)=>`${e} ≠ ${n}`,compareGt:(e,n)=>`${e} > ${n}`,compareGte:(e,n)=>`${e} ≥ ${n}`,compareLt:(e,n)=>`${e} < ${n}`,compareLte:(e,n)=>`${e} ≤ ${n}`,rangeBetween:(e,n,t)=>`${e} zwischen ${n} und ${t}`,rangeGte:(e,n)=>`${e} ≥ ${n}`,rangeLte:(e,n)=>`${e} ≤ ${n}`,setIn:(e,n)=>`${e} in [${n}]`,setNotIn:(e,n)=>`${e} nicht in [${n}]`,booleanIs:(e,n)=>`${e} ist ${n}`,isNull:e=>`${e} ist leer`,isNotNull:e=>`${e} ist nicht leer`,compositeAnd:e=>e.join(" UND "),compositeOr:e=>e.join(" ODER ")}},prosemirror:{bold:"Fett",italic:"Kursiv",code:"Inline-Code",link:"Link einfügen",removeLink:"Link entfernen",heading:e=>`Überschrift ${e}`,bulletList:"Aufzählung",orderedList:"Nummerierte Liste",blockquote:"Zitat",codeBlock:"Code-Block",horizontalRule:"Horizontale Linie",linkUrlPlaceholder:"https://beispiel.com"},pdfPageViewer:{loading:"PDF wird geladen...",loadFailed:"PDF konnte nicht geladen werden",invalidPdf:"Ungültige PDF-Datei",pageOutOfRange:(e,n)=>`Seite ${e} liegt außerhalb des Bereichs (1-${n})`,renderFailed:"PDF-Seite konnte nicht gerendert werden"}};exports.default=o;
|
package/dist/es-B6GJLk9h.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./translations-Dbx7L7Q1.cjs"),l={loadingExtended:"Cargando, por favor espere",loadingShort:"Cargando...",locale:"Idioma",iconDescription:"Icono",loadingIcon:"Icono de carga",failedToLoadIcon:"Error al cargar el icono",editLabel:"Editar",selectOne:"Seleccionar uno",selectNone:"Ninguno",selectMany:"Seleccionar varios",noResults:"Sin resultados",passwordPlaceholderText:"Contraseña Secreta",togglePasswordVisibility:"Alternar visibilidad de contraseña",toggleMenu:"Alternar menú",toggleAside:"Alternar panel lateral",mainNavigation:"Navegación principal",sidebar:"Barra lateral",closeDrawer:"Cerrar cajón",closeModal:"Cerrar modal",confirm:"Confirmar",cancel:"Cancelar",addLabel:"Agregar",removeItem:"Eliminar elemento",currentLocale:"Español",ar:"Árabe",de:"Alemán",en:"Inglés",es:"Español",fr:"Francés",hi:"Hindi",it:"Italiano",ja:"Japonés",ko:"Coreano",nl:"Neerlandés",pl:"Polaco",pt:"Portugués",ru:"Ruso",tr:"Turco",vi:"Vietnamita",zh:"Chino",he:"Hebreo",fa:"Persa",ur:"Urdu",emailPlaceholderText:"Correo electrónico",incrementValue:"Incrementar valor",decrementValue:"Decrementar valor",dropZoneInstructions:e=>e?"Haz clic para elegir o arrastra archivos aquí, o presiona Enter o Espacio para abrir el selector de archivos":"Arrastra archivos aquí",fileSizeUnits:["Bytes","KB","MB","GB","TB"],removeFile:"Eliminar archivo",clearAllFiles:"Borrar todos los archivos",clearValue:"Borrar valor",unknownType:"Tipo desconocido",filesInputInstructions:(e,a,o)=>{let n=e==null||e>1?"Haz clic para elegir o arrastra archivos aquí":"Haz clic para elegir o arrastra un archivo aquí";if(e||a){const r=[];if(e!=null&&e>1&&r.push(`hasta ${e} archivos`),a&&o){const t=i.formatFileSize(a,{units:o});r.push(`máx ${t} cada uno`)}r.length>0&&(n+=` (${r.join(", ")})`)}return n},paginationLabel:"Paginación",firstPage:"Primera página",previousPage:"Página anterior",nextPage:"Página siguiente",lastPage:"Última página",breadcrumbs:"Migas de pan",commandPalette:"Paleta de comandos",typeACommand:"Escribir un comando...",noResultsFound:"No se encontraron resultados",noMatchingCommands:"No hay comandos coincidentes",appearanceSystem:"Sistema",appearanceLight:"Claro",appearanceDark:"Oscuro",ok:"OK",changeTypeConfirmation:"Cambiar el tipo borrará el valor actual. ¿Continuar?",notifications:"Notificaciones",markAllAsRead:"Marcar todo como leído",noNotifications:"No hay notificaciones",schemaConflictsDetected:"Conflictos de esquema detectados",schemaViolationsDetected:"Violaciones de esquema detectadas",properties:"Propiedades",uploading:"Subiendo...",dropFilesOrBrowse:"Arrastra archivos aquí o haz clic para explorar",acceptedTypes:e=>`Tipos aceptados: ${e}`,enterUrlPrompt:"Introducir URL:",exceeded:"(excedido)",pdfPreview:"Vista previa de PDF",lexical:{fontFamily:"Familia tipográfica",fontSize:"Tamaño de fuente",lineHeight:"Altura de línea",fontColor:"Color de fuente",highlightColor:"Color de resaltado",backgroundColor:"Color de fondo",bold:"Negrita",italic:"Cursiva",underline:"Subrayado",strikethrough:"Tachado",code:"Código",clearFormatting:"Borrar formato",normal:"Normal",heading:e=>`Encabezado ${e}`,bulletList:"Lista con viñetas",orderedList:"Lista numerada",checkList:"Lista de verificación",indent:"Aumentar sangría",outdent:"Disminuir sangría",blockquote:"Cita",codeBlock:"Bloque de código",horizontalRule:"Línea horizontal",insertTable:"Insertar tabla",link:"Enlace",undo:"Deshacer",redo:"Rehacer",cut:"Cortar",copy:"Copiar",paste:"Pegar",defaultOption:"Predeterminado",slashCommands:"Comandos de barra",noCommandsFound:"No se encontraron comandos",changeBlockType:"Cambiar tipo de bloque",blockTypes:"Tipos de bloque",enterUrl:"Introducir URL:",tableActions:"Acciones de tabla",insertRowAbove:"Insertar fila arriba",insertRowBelow:"Insertar fila abajo",insertColumnLeft:"Insertar columna izquierda",insertColumnRight:"Insertar columna derecha",deleteRow:"Eliminar fila",deleteColumn:"Eliminar columna",deleteTable:"Eliminar tabla"},dataTable:{sortAscending:"Orden ascendente",sortDescending:"Orden descendente",clearSort:"Quitar orden",filterPlaceholder:"Filtrar...",clearFilter:"Quitar filtro",selectAll:"Seleccionar todo",deselectAll:"Deseleccionar todo",selectedCount:e=>`${e} seleccionados`,resetAll:"Restablecer todo",noResults:"No se encontraron resultados",loading:"Cargando...",filterPanelAddCondition:"Agregar condición",filterPanelApply:"Aplicar",filterPanelClear:"Borrar filtros",filterPanelAnd:"Y",filterPanelOr:"O",filterPanelContains:"Contiene",filterPanelNotContains:"No contiene",filterPanelEquals:"Es igual a",filterPanelNotEquals:"No es igual a",filterPanelStartsWith:"Empieza con",filterPanelEndsWith:"Termina con",filterPanelIsNull:"Está vacío",filterPanelIsNotNull:"No está vacío",filterPanelGt:"Mayor que",filterPanelGte:"Mayor o igual",filterPanelLt:"Menor que",filterPanelLte:"Menor o igual",filterPanelBetween:"Entre",filterPanelValuePlaceholder:"Valor...",sortMultiHint:"Mantén Shift para ordenar por múltiples columnas",columnVisibility:"Columnas",showAllColumns:"Mostrar todo",menuSortAsc:"Ordenar ascendente",menuSortDesc:"Ordenar descendente",menuClearSort:"Quitar orden",menuHideColumn:"Ocultar columna",menuChooseColumns:"Elegir columnas",menuResetColumns:"Restablecer columnas",menuFilter:"Filtrar",rowCount:(e,a)=>`Filas: ${e} Total de filas: ${a}`,filterTagsPlaceholder:"Seleccionar valores...",groupCount:e=>`${e} elementos`,collapseGroup:"Contraer grupo",expandGroup:"Expandir grupo",describeFilter:{textContains:(e,a)=>`${e} contiene "${a}"`,textNotContains:(e,a)=>`${e} no contiene "${a}"`,textEquals:(e,a)=>`${e} es igual a "${a}"`,textNotEquals:(e,a)=>`${e} no es igual a "${a}"`,textStartsWith:(e,a)=>`${e} empieza con "${a}"`,textEndsWith:(e,a)=>`${e} termina con "${a}"`,compareEq:(e,a)=>`${e} = ${a}`,compareNeq:(e,a)=>`${e} ≠ ${a}`,compareGt:(e,a)=>`${e} > ${a}`,compareGte:(e,a)=>`${e} ≥ ${a}`,compareLt:(e,a)=>`${e} < ${a}`,compareLte:(e,a)=>`${e} ≤ ${a}`,rangeBetween:(e,a,o)=>`${e} entre ${a} y ${o}`,rangeGte:(e,a)=>`${e} ≥ ${a}`,rangeLte:(e,a)=>`${e} ≤ ${a}`,setIn:(e,a)=>`${e} en [${a}]`,setNotIn:(e,a)=>`${e} no en [${a}]`,booleanIs:(e,a)=>`${e} es ${a}`,isNull:e=>`${e} está vacío`,isNotNull:e=>`${e} no está vacío`,compositeAnd:e=>e.join(" Y "),compositeOr:e=>e.join(" O ")}},prosemirror:{bold:"Negrita",italic:"Cursiva",code:"Código en línea",link:"Insertar enlace",removeLink:"Eliminar enlace",heading:e=>`Encabezado ${e}`,bulletList:"Lista con viñetas",orderedList:"Lista numerada",blockquote:"Cita",codeBlock:"Bloque de código",horizontalRule:"Línea horizontal",linkUrlPlaceholder:"https://ejemplo.com"},pdfPageViewer:{loading:"Cargando PDF...",loadFailed:"Error al cargar el PDF",invalidPdf:"Archivo PDF inválido",pageOutOfRange:(e,a)=>`La página ${e} está fuera de rango (1-${a})`,renderFailed:"Error al renderizar la página del PDF"}};exports.default=l;
|
package/dist/fa-BwgP93iV.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./translations-Dbx7L7Q1.cjs"),r={loadingExtended:"در حال بارگذاری، لطفاً صبر کنید",loadingShort:"در حال بارگذاری...",locale:"زبان",iconDescription:"نماد",loadingIcon:"نماد بارگذاری",failedToLoadIcon:"بارگذاری نماد ناموفق بود",editLabel:"ویرایش",selectOne:"یکی را انتخاب کنید",selectNone:"هیچکدام",selectMany:"چند مورد را انتخاب کنید",noResults:"بدون نتیجه",passwordPlaceholderText:"رمز عبور محرمانه",togglePasswordVisibility:"نمایش/مخفی کردن رمز عبور",toggleMenu:"نمایش/مخفی کردن منو",toggleAside:"نمایش/مخفی کردن پانل کناری",mainNavigation:"ناوبری اصلی",sidebar:"نوار کناری",closeDrawer:"بستن کشو",closeModal:"بستن پنجره",confirm:"تأیید",cancel:"لغو",addLabel:"افزودن",removeItem:"حذف مورد",currentLocale:"فارسی",ar:"عربی",de:"آلمانی",en:"انگلیسی",es:"اسپانیایی",fr:"فرانسوی",he:"عبری",hi:"هندی",it:"ایتالیایی",ja:"ژاپنی",ko:"کرهای",nl:"هلندی",pl:"لهستانی",pt:"پرتغالی",ru:"روسی",tr:"ترکی",vi:"ویتنامی",zh:"چینی",fa:"فارسی",ur:"اردو",emailPlaceholderText:"ایمیل خود را وارد کنید",incrementValue:"افزایش مقدار",decrementValue:"کاهش مقدار",dropZoneInstructions:e=>e?"برای انتخاب کلیک کنید یا فایلها را بکشید، یا Enter یا Space را فشار دهید تا انتخابگر فایل باز شود":"فایلها را بکشید",fileSizeUnits:["بایت","کیلوبایت","مگابایت","گیگابایت","ترابایت"],removeFile:"حذف فایل",clearAllFiles:"حذف همه فایلها",clearValue:"حذف مقدار",unknownType:"نوع ناشناخته",filesInputInstructions:(e,t,l)=>{let n=e==null||e>1?"برای انتخاب کلیک کنید یا فایلها را بکشید":"برای انتخاب کلیک کنید یا فایل را بکشید";if(e||t){const o=[];if(e!=null&&e>1&&o.push(`تا ${e} فایل`),t&&l){const a=i.formatFileSize(t,{units:l});o.push(`حداکثر ${a} هر کدام`)}o.length>0&&(n+=` (${o.join("، ")})`)}return n},paginationLabel:"صفحهبندی",firstPage:"صفحه اول",previousPage:"صفحه قبلی",nextPage:"صفحه بعدی",lastPage:"صفحه آخر",breadcrumbs:"مسیر ناوبری",commandPalette:"پالت فرمان",typeACommand:"یک فرمان تایپ کنید...",noResultsFound:"نتیجهای یافت نشد",noMatchingCommands:"فرمان منطبقی یافت نشد",appearanceSystem:"سیستم",appearanceLight:"روشن",appearanceDark:"تاریک",ok:"OK",changeTypeConfirmation:"تغییر نوع مقدار فعلی را پاک میکند. ادامه میدهید؟",notifications:"اعلانها",markAllAsRead:"علامتگذاری همه به عنوان خواندهشده",noNotifications:"اعلانی وجود ندارد",schemaConflictsDetected:"تعارضهای طرحواره شناسایی شد",schemaViolationsDetected:"نقضهای طرحواره شناسایی شد",properties:"ویژگیها",uploading:"در حال بارگذاری...",dropFilesOrBrowse:"فایلها را اینجا رها کنید یا برای مرور کلیک کنید",acceptedTypes:e=>`انواع مجاز: ${e}`,enterUrlPrompt:"آدرس URL را وارد کنید:",exceeded:"(بیش از حد)",pdfPreview:"پیشنمایش PDF",lexical:{fontFamily:"خانواده فونت",fontSize:"اندازه فونت",lineHeight:"ارتفاع خط",fontColor:"رنگ فونت",highlightColor:"رنگ هایلایت",backgroundColor:"رنگ پسزمینه",bold:"درشت",italic:"کج",underline:"زیرخط",strikethrough:"خطخورده",code:"کد",clearFormatting:"پاک کردن قالببندی",normal:"عادی",heading:e=>`سرتیتر ${e}`,bulletList:"فهرست نقطهای",orderedList:"فهرست شمارهدار",checkList:"فهرست چکباکس",indent:"تورفتگی",outdent:"کاهش تورفتگی",blockquote:"نقلقول",codeBlock:"بلوک کد",horizontalRule:"خط افقی",insertTable:"درج جدول",link:"پیوند",undo:"واگرد",redo:"ازنو",cut:"برش",copy:"کپی",paste:"چسباندن",defaultOption:"پیشفرض",slashCommands:"فرمانهای اسلش",noCommandsFound:"فرمانی یافت نشد",changeBlockType:"تغییر نوع بلوک",blockTypes:"انواع بلوک",enterUrl:"آدرس 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"},dataTable:{sortAscending:"مرتبسازی صعودی",sortDescending:"مرتبسازی نزولی",clearSort:"پاک کردن مرتبسازی",filterPlaceholder:"فیلتر...",clearFilter:"پاک کردن فیلتر",selectAll:"انتخاب همه",deselectAll:"لغو انتخاب همه",selectedCount:e=>`${e} انتخاب شده`,resetAll:"بازنشانی همه",noResults:"نتیجهای یافت نشد",loading:"در حال بارگذاری...",filterPanelAddCondition:"افزودن شرط",filterPanelApply:"اعمال",filterPanelClear:"پاک کردن فیلترها",filterPanelAnd:"و",filterPanelOr:"یا",filterPanelContains:"شامل میشود",filterPanelNotContains:"شامل نمیشود",filterPanelEquals:"برابر است با",filterPanelNotEquals:"برابر نیست با",filterPanelStartsWith:"شروع میشود با",filterPanelEndsWith:"پایان مییابد با",filterPanelIsNull:"خالی است",filterPanelIsNotNull:"خالی نیست",filterPanelGt:"بزرگتر از",filterPanelGte:"بزرگتر یا مساوی",filterPanelLt:"کوچکتر از",filterPanelLte:"کوچکتر یا مساوی",filterPanelBetween:"بین",filterPanelValuePlaceholder:"مقدار...",sortMultiHint:"برای مرتبسازی چند ستون، Shift را نگه دارید",columnVisibility:"ستونها",showAllColumns:"نمایش همه",menuSortAsc:"مرتبسازی صعودی",menuSortDesc:"مرتبسازی نزولی",menuClearSort:"حذف مرتبسازی",menuHideColumn:"پنهان کردن ستون",menuChooseColumns:"انتخاب ستونها",menuResetColumns:"بازنشانی ستونها",menuFilter:"فیلتر",rowCount:(e,t)=>`ردیفها: ${e} کل ردیفها: ${t}`,filterTagsPlaceholder:"انتخاب مقادیر...",groupCount:e=>`${e} مورد`,collapseGroup:"جمع کردن گروه",expandGroup:"بسط دادن گروه",describeFilter:{textContains:(e,t)=>`${e} شامل "${t}"`,textNotContains:(e,t)=>`${e} شامل نیست "${t}"`,textEquals:(e,t)=>`${e} برابر با "${t}"`,textNotEquals:(e,t)=>`${e} نابرابر با "${t}"`,textStartsWith:(e,t)=>`${e} شروع با "${t}"`,textEndsWith:(e,t)=>`${e} پایان با "${t}"`,compareEq:(e,t)=>`${e} = ${t}`,compareNeq:(e,t)=>`${e} ≠ ${t}`,compareGt:(e,t)=>`${e} > ${t}`,compareGte:(e,t)=>`${e} ≥ ${t}`,compareLt:(e,t)=>`${e} < ${t}`,compareLte:(e,t)=>`${e} ≤ ${t}`,rangeBetween:(e,t,l)=>`${e} بین ${t} و ${l}`,rangeGte:(e,t)=>`${e} ≥ ${t}`,rangeLte:(e,t)=>`${e} ≤ ${t}`,setIn:(e,t)=>`${e} در [${t}]`,setNotIn:(e,t)=>`${e} نه در [${t}]`,booleanIs:(e,t)=>`${e} است ${t}`,isNull:e=>`${e} خالی است`,isNotNull:e=>`${e} خالی نیست`,compositeAnd:e=>e.join(" و "),compositeOr:e=>e.join(" یا ")}},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:"Loading PDF...",loadFailed:"Failed to load PDF",invalidPdf:"Invalid PDF file",pageOutOfRange:(e,t)=>`Page ${e} is out of range (1-${t})`,renderFailed:"Failed to render PDF page"}};exports.default=r;
|
package/dist/fr-CQzk5zqY.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./translations-Dbx7L7Q1.cjs"),a={loadingExtended:"Chargement, veuillez patienter",loadingShort:"Chargement...",locale:"Langue",iconDescription:"Icône",loadingIcon:"Icône de chargement",failedToLoadIcon:"Échec du chargement de l'icône",editLabel:"Modifier",selectOne:"Sélectionner un",selectNone:"Aucun",selectMany:"Sélectionner plusieurs",noResults:"Aucun résultat",passwordPlaceholderText:"Mot de passe secret",togglePasswordVisibility:"Basculer la visibilité du mot de passe",toggleMenu:"Basculer le menu",toggleAside:"Basculer le panneau latéral",mainNavigation:"Navigation principale",sidebar:"Barre latérale",closeDrawer:"Fermer le tiroir",closeModal:"Fermer la modale",confirm:"Confirmer",cancel:"Annuler",addLabel:"Ajouter",removeItem:"Supprimer l’élément",currentLocale:"Français",ar:"Arabe",de:"Allemand",en:"Anglais",es:"Espagnol",fr:"Français",hi:"Hindi",it:"Italien",ja:"Japonais",ko:"Coréen",nl:"Néerlandais",pl:"Polonais",pt:"Portuguais",ru:"Russe",tr:"Turc",vi:"Vietnamien",zh:"Chinois",he:"Hébreu",fa:"Persan",ur:"Ourdou",emailPlaceholderText:"Entrez votre e-mail",incrementValue:"Incrémenter la valeur",decrementValue:"Décrémenter la valeur",dropZoneInstructions:e=>e?"Cliquez pour choisir ou glissez des fichiers ici, ou appuyez sur Entrée ou Espace pour ouvrir le sélecteur de fichiers":"Glissez des fichiers ici",fileSizeUnits:["Octets","Ko","Mo","Go","To"],removeFile:"Supprimer le fichier",clearAllFiles:"Effacer tous les fichiers",clearValue:"Réinitialiser",unknownType:"Type inconnu",filesInputInstructions:(e,r,i)=>{let t=e==null||e>1?"Cliquez pour choisir ou glissez des fichiers ici":"Cliquez pour choisir ou glissez un fichier ici";if(e||r){const n=[];if(e!=null&&e>1&&n.push(`jusqu'à ${e} fichiers`),r&&i){const l=o.formatFileSize(r,{units:i});n.push(`max ${l} chacun`)}n.length>0&&(t+=` (${n.join(", ")})`)}return t},paginationLabel:"Pagination",firstPage:"Première page",previousPage:"Page précédente",nextPage:"Page suivante",lastPage:"Dernière page",breadcrumbs:"Fil d'Ariane",commandPalette:"Palette de commandes",typeACommand:"Saisir une commande...",noResultsFound:"Aucun résultat trouvé",noMatchingCommands:"Aucune commande correspondante",appearanceSystem:"Système",appearanceLight:"Clair",appearanceDark:"Sombre",ok:"OK",changeTypeConfirmation:"Changer le type effacera la valeur actuelle. Continuer ?",notifications:"Notifications",markAllAsRead:"Tout marquer comme lu",noNotifications:"Aucune notification",schemaConflictsDetected:"Conflits de schéma détectés",schemaViolationsDetected:"Violations de schéma détectées",properties:"Propriétés",uploading:"Téléversement...",dropFilesOrBrowse:"Déposez les fichiers ici ou cliquez pour parcourir",acceptedTypes:e=>`Types acceptés : ${e}`,enterUrlPrompt:"Saisir l'URL :",exceeded:"(dépassé)",pdfPreview:"Aperçu PDF",lexical:{fontFamily:"Police de caractères",fontSize:"Taille de police",lineHeight:"Hauteur de ligne",fontColor:"Couleur de police",highlightColor:"Couleur de surbrillance",backgroundColor:"Couleur d'arrière-plan",bold:"Gras",italic:"Italique",underline:"Souligné",strikethrough:"Barré",code:"Code",clearFormatting:"Effacer la mise en forme",normal:"Normal",heading:e=>`Titre ${e}`,bulletList:"Liste à puces",orderedList:"Liste numérotée",checkList:"Liste de contrôle",indent:"Augmenter le retrait",outdent:"Diminuer le retrait",blockquote:"Citation",codeBlock:"Bloc de code",horizontalRule:"Ligne horizontale",insertTable:"Insérer un tableau",link:"Lien",undo:"Annuler",redo:"Rétablir",cut:"Couper",copy:"Copier",paste:"Coller",defaultOption:"Par défaut",slashCommands:"Commandes barre oblique",noCommandsFound:"Aucune commande trouvée",changeBlockType:"Changer le type de bloc",blockTypes:"Types de bloc",enterUrl:"Saisir l'URL :",tableActions:"Actions du tableau",insertRowAbove:"Insérer une ligne au-dessus",insertRowBelow:"Insérer une ligne en-dessous",insertColumnLeft:"Insérer une colonne à gauche",insertColumnRight:"Insérer une colonne à droite",deleteRow:"Supprimer la ligne",deleteColumn:"Supprimer la colonne",deleteTable:"Supprimer le tableau"},dataTable:{sortAscending:"Tri croissant",sortDescending:"Tri décroissant",clearSort:"Effacer le tri",filterPlaceholder:"Filtrer...",clearFilter:"Effacer le filtre",selectAll:"Tout sélectionner",deselectAll:"Tout désélectionner",selectedCount:e=>`${e} sélectionnés`,resetAll:"Tout réinitialiser",noResults:"Aucun résultat trouvé",loading:"Chargement...",filterPanelAddCondition:"Ajouter une condition",filterPanelApply:"Appliquer",filterPanelClear:"Effacer les filtres",filterPanelAnd:"ET",filterPanelOr:"OU",filterPanelContains:"Contient",filterPanelNotContains:"Ne contient pas",filterPanelEquals:"Est égal à",filterPanelNotEquals:"N'est pas égal à",filterPanelStartsWith:"Commence par",filterPanelEndsWith:"Se termine par",filterPanelIsNull:"Est vide",filterPanelIsNotNull:"N'est pas vide",filterPanelGt:"Supérieur à",filterPanelGte:"Supérieur ou égal",filterPanelLt:"Inférieur à",filterPanelLte:"Inférieur ou égal",filterPanelBetween:"Entre",filterPanelValuePlaceholder:"Valeur...",sortMultiHint:"Maintenez Shift pour trier plusieurs colonnes",columnVisibility:"Colonnes",showAllColumns:"Tout afficher",menuSortAsc:"Tri croissant",menuSortDesc:"Tri décroissant",menuClearSort:"Supprimer le tri",menuHideColumn:"Masquer la colonne",menuChooseColumns:"Choisir les colonnes",menuResetColumns:"Réinitialiser les colonnes",menuFilter:"Filtrer",rowCount:(e,r)=>`Lignes : ${e} Total des lignes : ${r}`,filterTagsPlaceholder:"Sélectionner des valeurs...",groupCount:e=>`${e} éléments`,collapseGroup:"Réduire le groupe",expandGroup:"Développer le groupe",describeFilter:{textContains:(e,r)=>`${e} contient "${r}"`,textNotContains:(e,r)=>`${e} ne contient pas "${r}"`,textEquals:(e,r)=>`${e} est égal à "${r}"`,textNotEquals:(e,r)=>`${e} n'est pas égal à "${r}"`,textStartsWith:(e,r)=>`${e} commence par "${r}"`,textEndsWith:(e,r)=>`${e} se termine par "${r}"`,compareEq:(e,r)=>`${e} = ${r}`,compareNeq:(e,r)=>`${e} ≠ ${r}`,compareGt:(e,r)=>`${e} > ${r}`,compareGte:(e,r)=>`${e} ≥ ${r}`,compareLt:(e,r)=>`${e} < ${r}`,compareLte:(e,r)=>`${e} ≤ ${r}`,rangeBetween:(e,r,i)=>`${e} entre ${r} et ${i}`,rangeGte:(e,r)=>`${e} ≥ ${r}`,rangeLte:(e,r)=>`${e} ≤ ${r}`,setIn:(e,r)=>`${e} dans [${r}]`,setNotIn:(e,r)=>`${e} pas dans [${r}]`,booleanIs:(e,r)=>`${e} est ${r}`,isNull:e=>`${e} est vide`,isNotNull:e=>`${e} n'est pas vide`,compositeAnd:e=>e.join(" ET "),compositeOr:e=>e.join(" OU ")}},prosemirror:{bold:"Gras",italic:"Italique",code:"Code en ligne",link:"Insérer un lien",removeLink:"Supprimer le lien",heading:e=>`Titre ${e}`,bulletList:"Liste à puces",orderedList:"Liste numérotée",blockquote:"Citation",codeBlock:"Bloc de code",horizontalRule:"Ligne horizontale",linkUrlPlaceholder:"https://exemple.com"},pdfPageViewer:{loading:"Chargement du PDF...",loadFailed:"Échec du chargement du PDF",invalidPdf:"Fichier PDF invalide",pageOutOfRange:(e,r)=>`La page ${e} est hors limites (1-${r})`,renderFailed:"Échec du rendu de la page PDF"}};exports.default=a;
|
package/dist/he-DcxxvRfs.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./translations-Dbx7L7Q1.cjs"),r={loadingExtended:"טוען, אנא המתן",loadingShort:"טוען...",locale:"שפה",iconDescription:"סמל",loadingIcon:"סמל טעינה",failedToLoadIcon:"נכשל בטעינת הסמל",editLabel:"עריכה",selectOne:"בחר אחד",selectNone:"ללא",selectMany:"בחר מספר",noResults:"אין תוצאות",passwordPlaceholderText:"סיסמה סודית",togglePasswordVisibility:"הצג/הסתר סיסמה",toggleMenu:"הצג/הסתר תפריט",toggleAside:"הצג/הסתר פאנל צדדי",mainNavigation:"ניווט ראשי",sidebar:"סרגל צדדי",closeDrawer:"סגור מגירה",closeModal:"סגור חלון קופץ",confirm:"אישור",cancel:"ביטול",addLabel:"הוסף",removeItem:"הסר פריט",currentLocale:"עברית",ar:"ערבית",de:"גרמנית",en:"אנגלית",es:"ספרדית",fr:"צרפתית",he:"עברית",hi:"הינדי",it:"איטלקית",ja:"יפנית",ko:"קוריאנית",nl:"הולנדית",pl:"פולנית",pt:"פורטוגזית",ru:"רוסית",tr:"טורקית",vi:"וייטנאמית",zh:"סינית",fa:"פרסית",ur:"אורדו",emailPlaceholderText:'הכנס את כתובת הדוא"ל',incrementValue:"הגדלת ערך",decrementValue:"הקטנת ערך",dropZoneInstructions:e=>e?"לחץ לבחירה או גרור קבצים כאן, או לחץ Enter או רווח לפתיחת בורר הקבצים":"גרור קבצים כאן",fileSizeUnits:["בתים","ק״ב","מ״ב","ג״ב","ט״ב"],removeFile:"הסר קובץ",clearAllFiles:"נקה את כל הקבצים",clearValue:"נקה ערך",unknownType:"סוג לא ידוע",filesInputInstructions:(e,t,l)=>{let n=e==null||e>1?"לחץ לבחירה או גרור קבצים כאן":"לחץ לבחירה או גרור קובץ כאן";if(e||t){const o=[];if(e!=null&&e>1&&o.push(`עד ${e} קבצים`),t&&l){const a=i.formatFileSize(t,{units:l});o.push(`מקסימום ${a} כל אחד`)}o.length>0&&(n+=` (${o.join(", ")})`)}return n},paginationLabel:"עימוד",firstPage:"עמוד ראשון",previousPage:"עמוד קודם",nextPage:"עמוד הבא",lastPage:"עמוד אחרון",breadcrumbs:"שבילי ניווט",commandPalette:"לוח פקודות",typeACommand:"הקלד פקודה...",noResultsFound:"לא נמצאו תוצאות",noMatchingCommands:"לא נמצאו פקודות תואמות",appearanceSystem:"מערכת",appearanceLight:"בהיר",appearanceDark:"כהה",ok:"OK",changeTypeConfirmation:"שינוי הסוג ימחק את הערך הנוכחי. להמשיך?",notifications:"התראות",markAllAsRead:"סמן הכל כנקרא",noNotifications:"אין התראות",schemaConflictsDetected:"זוהו התנגשויות בסכמה",schemaViolationsDetected:"זוהו הפרות סכמה",properties:"מאפיינים",uploading:"מעלה...",dropFilesOrBrowse:"גרור קבצים לכאן או לחץ לעיון",acceptedTypes:e=>`סוגים מותרים: ${e}`,enterUrlPrompt:"הכנס כתובת URL:",exceeded:"(חורג)",pdfPreview:"תצוגה מקדימה של PDF",lexical:{fontFamily:"משפחת גופן",fontSize:"גודל גופן",lineHeight:"גובה שורה",fontColor:"צבע גופן",highlightColor:"צבע הדגשה",backgroundColor:"צבע רקע",bold:"מודגש",italic:"נטוי",underline:"קו תחתון",strikethrough:"קו חוצה",code:"קוד",clearFormatting:"נקה עיצוב",normal:"רגיל",heading:e=>`כותרת ${e}`,bulletList:"רשימת תבליטים",orderedList:"רשימה ממוספרת",checkList:"רשימת סימון",indent:"הגדל כניסה",outdent:"הקטן כניסה",blockquote:"ציטוט",codeBlock:"בלוק קוד",horizontalRule:"קו אופקי",insertTable:"הוסף טבלה",link:"קישור",undo:"בטל",redo:"בצע שוב",cut:"גזור",copy:"העתק",paste:"הדבק",defaultOption:"ברירת מחדל",slashCommands:"פקודות סלאש",noCommandsFound:"לא נמצאו פקודות",changeBlockType:"שנה סוג בלוק",blockTypes:"סוגי בלוקים",enterUrl:"הכנס כתובת 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"},dataTable:{sortAscending:"מיון עולה",sortDescending:"מיון יורד",clearSort:"נקה מיון",filterPlaceholder:"סינון...",clearFilter:"נקה סינון",selectAll:"בחר הכל",deselectAll:"בטל בחירת הכל",selectedCount:e=>`${e} נבחרו`,resetAll:"אפס הכל",noResults:"לא נמצאו תוצאות",loading:"טוען...",filterPanelAddCondition:"הוסף תנאי",filterPanelApply:"החל",filterPanelClear:"נקה מסננים",filterPanelAnd:"וגם",filterPanelOr:"או",filterPanelContains:"מכיל",filterPanelNotContains:"לא מכיל",filterPanelEquals:"שווה ל",filterPanelNotEquals:"לא שווה ל",filterPanelStartsWith:"מתחיל ב",filterPanelEndsWith:"מסתיים ב",filterPanelIsNull:"ריק",filterPanelIsNotNull:"לא ריק",filterPanelGt:"גדול מ",filterPanelGte:"גדול או שווה",filterPanelLt:"קטן מ",filterPanelLte:"קטן או שווה",filterPanelBetween:"בין",filterPanelValuePlaceholder:"ערך...",sortMultiHint:"החזק Shift למיון לפי מספר עמודות",columnVisibility:"עמודות",showAllColumns:"הצג הכל",menuSortAsc:"מיון עולה",menuSortDesc:"מיון יורד",menuClearSort:"בטל מיון",menuHideColumn:"הסתר עמודה",menuChooseColumns:"בחר עמודות",menuResetColumns:"אפס עמודות",menuFilter:"סינון",rowCount:(e,t)=>`שורות: ${e} סה"כ שורות: ${t}`,filterTagsPlaceholder:"בחר ערכים...",groupCount:e=>`${e} פריטים`,collapseGroup:"כווץ קבוצה",expandGroup:"הרחב קבוצה",describeFilter:{textContains:(e,t)=>`${e} מכיל "${t}"`,textNotContains:(e,t)=>`${e} לא מכיל "${t}"`,textEquals:(e,t)=>`${e} שווה ל-"${t}"`,textNotEquals:(e,t)=>`${e} לא שווה ל-"${t}"`,textStartsWith:(e,t)=>`${e} מתחיל ב-"${t}"`,textEndsWith:(e,t)=>`${e} מסתיים ב-"${t}"`,compareEq:(e,t)=>`${e} = ${t}`,compareNeq:(e,t)=>`${e} ≠ ${t}`,compareGt:(e,t)=>`${e} > ${t}`,compareGte:(e,t)=>`${e} ≥ ${t}`,compareLt:(e,t)=>`${e} < ${t}`,compareLte:(e,t)=>`${e} ≤ ${t}`,rangeBetween:(e,t,l)=>`${e} בין ${t} ל-${l}`,rangeGte:(e,t)=>`${e} ≥ ${t}`,rangeLte:(e,t)=>`${e} ≤ ${t}`,setIn:(e,t)=>`${e} ב-[${t}]`,setNotIn:(e,t)=>`${e} לא ב-[${t}]`,booleanIs:(e,t)=>`${e} הוא ${t}`,isNull:e=>`${e} ריק`,isNotNull:e=>`${e} לא ריק`,compositeAnd:e=>e.join(" וגם "),compositeOr:e=>e.join(" או ")}},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:"Loading PDF...",loadFailed:"Failed to load PDF",invalidPdf:"Invalid PDF file",pageOutOfRange:(e,t)=>`Page ${e} is out of range (1-${t})`,renderFailed:"Failed to render PDF page"}};exports.default=r;
|
package/dist/hi-D-KHVWg4.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./translations-Dbx7L7Q1.cjs"),r={loadingExtended:"लोड हो रहा है, कृपया प्रतीक्षा करें",loadingShort:"लोड हो रहा है...",locale:"स्थानीय",iconDescription:"आइकन",loadingIcon:"लोडिंग आइकन",failedToLoadIcon:"आइकन लोड करने में विफल",editLabel:"संपादित करें",selectOne:"एक चुनें",selectNone:"कोई नहीं",selectMany:"बहुत चुनें",noResults:"कोई परिणाम नहीं",passwordPlaceholderText:"गुप्त पासवर्ड",togglePasswordVisibility:"पासवर्ड दृश्यता टॉगल करें",toggleMenu:"मेनू टॉगल करें",toggleAside:"साइड पैनल टॉगल करें",mainNavigation:"मुख्य नेवीगेशन",sidebar:"साइडबार",closeDrawer:"ड्रॉअर बंद करें",closeModal:"मॉडल बंद करें",confirm:"पुष्टि करें",cancel:"रद्द करें",addLabel:"जोड़ें",removeItem:"आइटम हटाएं",currentLocale:"हिंदी",ar:"अरबी",de:"जर्मन",en:"अंग्रेज़ी",es:"स्पेनिश",fr:"फ्रेंच",hi:"हिन्दी",it:"इतालवी",ja:"जापानी",ko:"कोरियाई",nl:"डच",pl:"पोलिश",pt:"पोर्तुगीज",ru:"रूसी",tr:"तुर्की",vi:"वियतनामी",zh:"चीनी",he:"हिब्रू",fa:"फारसी",ur:"उर्दू",emailPlaceholderText:"अपना ईमेल दर्ज करें",incrementValue:"वृद्धि मान",decrementValue:"घटाना मान",dropZoneInstructions:e=>e?"चुनने के लिए क्लिक करें या फ़ाइलें यहाँ खींचें, या फाइल चयनकर्ता खोलने के लिए Enter या Space दबाएं":"फ़ाइलें यहाँ खींचें",fileSizeUnits:["बाइट्स","KB","MB","GB","TB"],removeFile:"फ़ाइल हटाएं",clearAllFiles:"सभी फ़ाइलें हटाएं",clearValue:"वृद्धि मान",unknownType:"अज्ञात प्रकार",filesInputInstructions:(e,t,l)=>{let n=e==null||e>1?"चुनने के लिए क्लिक करें या फ़ाइलें यहाँ खींचें":"चुनने के लिए क्लिक करें या फ़ाइल यहाँ खींचें";if(e||t){const o=[];if(e!=null&&e>1&&o.push(`अधिकतम ${e} फ़ाइलें`),t&&l){const a=i.formatFileSize(t,{units:l});o.push(`प्रत्येक अधिकतम ${a}`)}o.length>0&&(n+=` (${o.join(", ")})`)}return n},paginationLabel:"पृष्ठांकन",firstPage:"पहला पृष्ठ",previousPage:"पिछला पृष्ठ",nextPage:"अगला पृष्ठ",lastPage:"अंतिम पृष्ठ",breadcrumbs:"ब्रेडक्रम्ब",commandPalette:"कमांड पैलेट",typeACommand:"कमांड टाइप करें...",noResultsFound:"कोई परिणाम नहीं मिला",noMatchingCommands:"कोई मेल खाने वाला कमांड नहीं",appearanceSystem:"सिस्टम",appearanceLight:"लाइट",appearanceDark:"डार्क",ok:"OK",changeTypeConfirmation:"प्रकार बदलने से वर्तमान मान मिट जाएगा। जारी रखें?",notifications:"सूचनाएं",markAllAsRead:"सभी को पढ़ा हुआ चिह्नित करें",noNotifications:"कोई सूचना नहीं",schemaConflictsDetected:"स्कीमा विरोध पाए गए",schemaViolationsDetected:"स्कीमा उल्लंघन पाए गए",properties:"गुण",uploading:"अपलोड हो रहा है...",dropFilesOrBrowse:"फ़ाइलें यहाँ छोड़ें या ब्राउज़ करने के लिए क्लिक करें",acceptedTypes:e=>`स्वीकृत प्रकार: ${e}`,enterUrlPrompt:"URL दर्ज करें:",exceeded:"(सीमा पार)",pdfPreview:"PDF पूर्वावलोकन",lexical:{fontFamily:"फ़ॉन्ट परिवार",fontSize:"फ़ॉन्ट आकार",lineHeight:"पंक्ति ऊँचाई",fontColor:"फ़ॉन्ट रंग",highlightColor:"हाइलाइट रंग",backgroundColor:"पृष्ठभूमि रंग",bold:"बोल्ड",italic:"इटैलिक",underline:"रेखांकित",strikethrough:"स्ट्राइकथ्रू",code:"कोड",clearFormatting:"फ़ॉर्मेटिंग साफ़ करें",normal:"सामान्य",heading:e=>`शीर्षक ${e}`,bulletList:"बुलेट सूची",orderedList:"क्रमांकित सूची",checkList:"चेक सूची",indent:"इंडेंट",outdent:"आउटडेंट",blockquote:"उद्धरण",codeBlock:"कोड ब्लॉक",horizontalRule:"क्षैतिज रेखा",insertTable:"तालिका डालें",link:"लिंक",undo:"पूर्ववत करें",redo:"फिर से करें",cut:"काटें",copy:"कॉपी करें",paste:"चिपकाएं",defaultOption:"डिफ़ॉल्ट",slashCommands:"स्लैश कमांड",noCommandsFound:"कोई कमांड नहीं मिला",changeBlockType:"ब्लॉक प्रकार बदलें",blockTypes:"ब्लॉक प्रकार",enterUrl:"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"},dataTable:{sortAscending:"आरोही क्रम",sortDescending:"अवरोही क्रम",clearSort:"क्रम हटाएं",filterPlaceholder:"फ़िल्टर...",clearFilter:"फ़िल्टर हटाएं",selectAll:"सभी चुनें",deselectAll:"सभी अचयनित करें",selectedCount:e=>`${e} चयनित`,resetAll:"सब रीसेट करें",noResults:"कोई परिणाम नहीं मिला",loading:"लोड हो रहा है...",filterPanelAddCondition:"शर्त जोड़ें",filterPanelApply:"लागू करें",filterPanelClear:"फ़िल्टर साफ़ करें",filterPanelAnd:"और",filterPanelOr:"या",filterPanelContains:"शामिल है",filterPanelNotContains:"शामिल नहीं है",filterPanelEquals:"बराबर है",filterPanelNotEquals:"बराबर नहीं है",filterPanelStartsWith:"से शुरू होता है",filterPanelEndsWith:"से समाप्त होता है",filterPanelIsNull:"खाली है",filterPanelIsNotNull:"खाली नहीं है",filterPanelGt:"से अधिक",filterPanelGte:"से अधिक या बराबर",filterPanelLt:"से कम",filterPanelLte:"से कम या बराबर",filterPanelBetween:"के बीच",filterPanelValuePlaceholder:"मान...",sortMultiHint:"एकाधिक कॉलम सॉर्ट करने के लिए Shift दबाएं",columnVisibility:"कॉलम",showAllColumns:"सभी दिखाएं",menuSortAsc:"आरोही क्रम में छाँटें",menuSortDesc:"अवरोही क्रम में छाँटें",menuClearSort:"छँटाई हटाएं",menuHideColumn:"कॉलम छुपाएं",menuChooseColumns:"कॉलम चुनें",menuResetColumns:"कॉलम रीसेट करें",menuFilter:"फ़िल्टर",rowCount:(e,t)=>`पंक्तियां: ${e} कुल पंक्तियां: ${t}`,filterTagsPlaceholder:"मान चुनें...",groupCount:e=>`${e} आइटम`,collapseGroup:"समूह संकुचित करें",expandGroup:"समूह विस्तृत करें",describeFilter:{textContains:(e,t)=>`${e} में "${t}" है`,textNotContains:(e,t)=>`${e} में "${t}" नहीं है`,textEquals:(e,t)=>`${e} बराबर "${t}"`,textNotEquals:(e,t)=>`${e} बराबर नहीं "${t}"`,textStartsWith:(e,t)=>`${e} शुरू "${t}" से`,textEndsWith:(e,t)=>`${e} अंत "${t}" से`,compareEq:(e,t)=>`${e} = ${t}`,compareNeq:(e,t)=>`${e} ≠ ${t}`,compareGt:(e,t)=>`${e} > ${t}`,compareGte:(e,t)=>`${e} ≥ ${t}`,compareLt:(e,t)=>`${e} < ${t}`,compareLte:(e,t)=>`${e} ≤ ${t}`,rangeBetween:(e,t,l)=>`${e} ${t} और ${l} के बीच`,rangeGte:(e,t)=>`${e} ≥ ${t}`,rangeLte:(e,t)=>`${e} ≤ ${t}`,setIn:(e,t)=>`${e} [${t}] में`,setNotIn:(e,t)=>`${e} [${t}] में नहीं`,booleanIs:(e,t)=>`${e} है ${t}`,isNull:e=>`${e} खाली है`,isNotNull:e=>`${e} खाली नहीं है`,compositeAnd:e=>e.join(" और "),compositeOr:e=>e.join(" या ")}},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:"Loading PDF...",loadFailed:"Failed to load PDF",invalidPdf:"Invalid PDF file",pageOutOfRange:(e,t)=>`Page ${e} is out of range (1-${t})`,renderFailed:"Failed to render PDF page"}};exports.default=r;
|
package/dist/it-D344Dutu.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./translations-Dbx7L7Q1.cjs"),r={loadingExtended:"Caricamento, attendere prego...",loadingShort:"Caricamento...",locale:"Lingua",iconDescription:"Icona",loadingIcon:"Icona di caricamento",failedToLoadIcon:"Impossibile caricare l'icona",editLabel:"Modifica",selectOne:"Seleziona uno",selectNone:"Nessuno",selectMany:"Seleziona più elementi",noResults:"Nessun risultato",passwordPlaceholderText:"Password Segreta",togglePasswordVisibility:"Attiva/disattiva visibilità password",toggleMenu:"Attiva/disattiva menu",toggleAside:"Attiva/disattiva pannello laterale",mainNavigation:"Navigazione principale",sidebar:"Barra laterale",closeDrawer:"Chiudi cassetto",closeModal:"Chiudi modale",confirm:"Conferma",cancel:"Annulla",addLabel:"Aggiungi",removeItem:"Rimuovi elemento",currentLocale:"Italiano",ar:"Arabo",de:"Tedesco",en:"Inglese",es:"Spagnolo",fr:"Francese",hi:"Hindi",it:"Italiano",ja:"Giapponese",ko:"Coreano",nl:"Olandese",pl:"Polacco",pt:"Portoghese",ru:"Russo",tr:"Turco",vi:"Vietnamita",zh:"Cinese",he:"Ebraico",fa:"Persiano",ur:"Urdu",emailPlaceholderText:"Inserisci la tua email",incrementValue:"Incrementa valore",decrementValue:"Decrementa valore",dropZoneInstructions:e=>e?"Clicca per scegliere o trascina i file qui, o premi Invio o Spazio per aprire il selettore file":"Trascina i file qui",fileSizeUnits:["Byte","KB","MB","GB","TB"],removeFile:"Rimuovi file",clearAllFiles:"Cancella tutti i file",clearValue:"Cancella valore",unknownType:"Tipo sconosciuto",filesInputInstructions:(e,i,o)=>{let t=e==null||e>1?"Clicca per scegliere o trascina i file qui":"Clicca per scegliere o trascina un file qui";if(e||i){const a=[];if(e!=null&&e>1&&a.push(`fino a ${e} file`),i&&o){const n=l.formatFileSize(i,{units:o});a.push(`max ${n} ciascuno`)}a.length>0&&(t+=` (${a.join(", ")})`)}return t},paginationLabel:"Paginazione",firstPage:"Prima pagina",previousPage:"Pagina precedente",nextPage:"Pagina successiva",lastPage:"Ultima pagina",breadcrumbs:"Breadcrumb",commandPalette:"Tavolozza comandi",typeACommand:"Digita un comando...",noResultsFound:"Nessun risultato trovato",noMatchingCommands:"Nessun comando corrispondente",appearanceSystem:"Sistema",appearanceLight:"Chiaro",appearanceDark:"Scuro",ok:"OK",changeTypeConfirmation:"La modifica del tipo cancellerà il valore attuale. Continuare?",notifications:"Notifiche",markAllAsRead:"Segna tutto come letto",noNotifications:"Nessuna notifica",schemaConflictsDetected:"Conflitti di schema rilevati",schemaViolationsDetected:"Violazioni di schema rilevate",properties:"Proprietà",uploading:"Caricamento...",dropFilesOrBrowse:"Trascina i file qui o clicca per sfogliare",acceptedTypes:e=>`Tipi accettati: ${e}`,enterUrlPrompt:"Inserisci URL:",exceeded:"(superato)",pdfPreview:"Anteprima PDF",lexical:{fontFamily:"Famiglia di caratteri",fontSize:"Dimensione carattere",lineHeight:"Altezza riga",fontColor:"Colore carattere",highlightColor:"Colore evidenziazione",backgroundColor:"Colore sfondo",bold:"Grassetto",italic:"Corsivo",underline:"Sottolineato",strikethrough:"Barrato",code:"Codice",clearFormatting:"Cancella formattazione",normal:"Normale",heading:e=>`Titolo ${e}`,bulletList:"Elenco puntato",orderedList:"Elenco numerato",checkList:"Elenco di controllo",indent:"Aumenta rientro",outdent:"Riduci rientro",blockquote:"Citazione",codeBlock:"Blocco di codice",horizontalRule:"Linea orizzontale",insertTable:"Inserisci tabella",link:"Collegamento",undo:"Annulla",redo:"Ripristina",cut:"Taglia",copy:"Copia",paste:"Incolla",defaultOption:"Predefinito",slashCommands:"Comandi slash",noCommandsFound:"Nessun comando trovato",changeBlockType:"Cambia tipo di blocco",blockTypes:"Tipi di blocco",enterUrl:"Inserisci 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"},dataTable:{sortAscending:"Ordine crescente",sortDescending:"Ordine decrescente",clearSort:"Rimuovi ordinamento",filterPlaceholder:"Filtra...",clearFilter:"Rimuovi filtro",selectAll:"Seleziona tutto",deselectAll:"Deseleziona tutto",selectedCount:e=>`${e} selezionati`,resetAll:"Ripristina tutto",noResults:"Nessun risultato trovato",loading:"Caricamento...",filterPanelAddCondition:"Aggiungi condizione",filterPanelApply:"Applica",filterPanelClear:"Cancella filtri",filterPanelAnd:"E",filterPanelOr:"O",filterPanelContains:"Contiene",filterPanelNotContains:"Non contiene",filterPanelEquals:"Uguale a",filterPanelNotEquals:"Diverso da",filterPanelStartsWith:"Inizia con",filterPanelEndsWith:"Finisce con",filterPanelIsNull:"È vuoto",filterPanelIsNotNull:"Non è vuoto",filterPanelGt:"Maggiore di",filterPanelGte:"Maggiore o uguale",filterPanelLt:"Minore di",filterPanelLte:"Minore o uguale",filterPanelBetween:"Tra",filterPanelValuePlaceholder:"Valore...",sortMultiHint:"Tieni premuto Shift per ordinare per più colonne",columnVisibility:"Colonne",showAllColumns:"Mostra tutto",menuSortAsc:"Ordina crescente",menuSortDesc:"Ordina decrescente",menuClearSort:"Rimuovi ordinamento",menuHideColumn:"Nascondi colonna",menuChooseColumns:"Scegli colonne",menuResetColumns:"Ripristina colonne",menuFilter:"Filtra",rowCount:(e,i)=>`Righe: ${e} Righe totali: ${i}`,filterTagsPlaceholder:"Seleziona valori...",groupCount:e=>`${e} elementi`,collapseGroup:"Comprimi gruppo",expandGroup:"Espandi gruppo",describeFilter:{textContains:(e,i)=>`${e} contiene "${i}"`,textNotContains:(e,i)=>`${e} non contiene "${i}"`,textEquals:(e,i)=>`${e} uguale a "${i}"`,textNotEquals:(e,i)=>`${e} diverso da "${i}"`,textStartsWith:(e,i)=>`${e} inizia con "${i}"`,textEndsWith:(e,i)=>`${e} finisce con "${i}"`,compareEq:(e,i)=>`${e} = ${i}`,compareNeq:(e,i)=>`${e} ≠ ${i}`,compareGt:(e,i)=>`${e} > ${i}`,compareGte:(e,i)=>`${e} ≥ ${i}`,compareLt:(e,i)=>`${e} < ${i}`,compareLte:(e,i)=>`${e} ≤ ${i}`,rangeBetween:(e,i,o)=>`${e} tra ${i} e ${o}`,rangeGte:(e,i)=>`${e} ≥ ${i}`,rangeLte:(e,i)=>`${e} ≤ ${i}`,setIn:(e,i)=>`${e} in [${i}]`,setNotIn:(e,i)=>`${e} non in [${i}]`,booleanIs:(e,i)=>`${e} è ${i}`,isNull:e=>`${e} è vuoto`,isNotNull:e=>`${e} non è vuoto`,compositeAnd:e=>e.join(" E "),compositeOr:e=>e.join(" O ")}},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:"Caricamento PDF...",loadFailed:"Impossibile caricare il PDF",invalidPdf:"File PDF non valido",pageOutOfRange:(e,i)=>`La pagina ${e} è fuori intervallo (1-${i})`,renderFailed:"Impossibile renderizzare la pagina PDF"}};exports.default=r;
|
package/dist/ja-BNgnDZ27.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./translations-Dbx7L7Q1.cjs"),a={loadingExtended:"読み込み中です、お待ちください",loadingShort:"読み込み中...",locale:"ロケール",iconDescription:"アイコン",loadingIcon:"読み込みアイコン",failedToLoadIcon:"アイコンの読み込みに失敗しました",editLabel:"編集",selectOne:"一つ選択",selectNone:"なし",selectMany:"複数選択",noResults:"結果なし",passwordPlaceholderText:"パスワード",togglePasswordVisibility:"パスワードの表示を切り替え",toggleMenu:"メニューを切り替え",toggleAside:"サイドパネルを切り替え",mainNavigation:"メインナビゲーション",sidebar:"サイドバー",closeDrawer:"ドロワーを閉じる",closeModal:"モーダルを閉じる",confirm:"確認",cancel:"キャンセル",addLabel:"追加",removeItem:"項目を削除",currentLocale:"日本語",ar:"アラビア語",de:"ドイツ語",en:"英語",es:"スペイン語",fr:"フランス語",hi:"ヒンディー語",it:"イタリア語",ja:"日本語",ko:"韓国語",nl:"オランダ語",pl:"ポーランド語",pt:"ポルトガル語",ru:"ロシア語",tr:"トルコ語",vi:"ベトナム語",zh:"中国語",he:"ヘブライ語",fa:"ペルシア語",ur:"ウルドゥー語",emailPlaceholderText:"メールアドレスを入力",incrementValue:"値を増加",decrementValue:"値を減少",dropZoneInstructions:e=>e?"クリックして選択するか、ファイルをここにドラッグ、またはEnterキーまたはSpaceキーを押してファイル選択を開く":"ファイルをここにドラッグ",fileSizeUnits:["バイト","KB","MB","GB","TB"],removeFile:"ファイルを削除",clearAllFiles:"すべてのファイルを削除",clearValue:"リセット",unknownType:"不明なタイプ",filesInputInstructions:(e,t,l)=>{let n=(e==null||e>1,"クリックして選択するか、ファイルをここにドラッグ");if(e||t){const o=[];if(e!=null&&e>1&&o.push(`最大${e}ファイル`),t&&l){const r=i.formatFileSize(t,{units:l});o.push(`各${r}以下`)}o.length>0&&(n+=` (${o.join("、")})`)}return n},paginationLabel:"ページネーション",firstPage:"最初のページ",previousPage:"前のページ",nextPage:"次のページ",lastPage:"最後のページ",breadcrumbs:"パンくずリスト",commandPalette:"コマンドパレット",typeACommand:"コマンドを入力...",noResultsFound:"結果が見つかりません",noMatchingCommands:"一致するコマンドがありません",appearanceSystem:"システム",appearanceLight:"ライト",appearanceDark:"ダーク",ok:"OK",changeTypeConfirmation:"型を変更すると現在の値がクリアされます。続行しますか?",notifications:"通知",markAllAsRead:"すべて既読にする",noNotifications:"通知はありません",schemaConflictsDetected:"スキーマの競合が検出されました",schemaViolationsDetected:"スキーマ違反が検出されました",properties:"プロパティ",uploading:"アップロード中...",dropFilesOrBrowse:"ファイルをここにドロップするか、クリックして参照",acceptedTypes:e=>`対応形式: ${e}`,enterUrlPrompt:"URLを入力:",exceeded:"(超過)",pdfPreview:"PDFプレビュー",lexical:{fontFamily:"フォントファミリー",fontSize:"フォントサイズ",lineHeight:"行の高さ",fontColor:"フォントの色",highlightColor:"ハイライトの色",backgroundColor:"背景色",bold:"太字",italic:"斜体",underline:"下線",strikethrough:"取り消し線",code:"コード",clearFormatting:"書式をクリア",normal:"標準",heading:e=>`見出し ${e}`,bulletList:"箇条書き",orderedList:"番号付きリスト",checkList:"チェックリスト",indent:"インデントを増やす",outdent:"インデントを減らす",blockquote:"引用",codeBlock:"コードブロック",horizontalRule:"水平線",insertTable:"表を挿入",link:"リンク",undo:"元に戻す",redo:"やり直し",cut:"切り取り",copy:"コピー",paste:"貼り付け",defaultOption:"デフォルト",slashCommands:"スラッシュコマンド",noCommandsFound:"コマンドが見つかりません",changeBlockType:"ブロックタイプを変更",blockTypes:"ブロックタイプ",enterUrl:"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"},dataTable:{sortAscending:"昇順で並べ替え",sortDescending:"降順で並べ替え",clearSort:"並べ替えを解除",filterPlaceholder:"フィルター...",clearFilter:"フィルターを解除",selectAll:"すべて選択",deselectAll:"すべて選択解除",selectedCount:e=>`${e}件選択中`,resetAll:"すべてリセット",noResults:"結果が見つかりません",loading:"読み込み中...",filterPanelAddCondition:"条件を追加",filterPanelApply:"適用",filterPanelClear:"フィルターをクリア",filterPanelAnd:"かつ",filterPanelOr:"または",filterPanelContains:"含む",filterPanelNotContains:"含まない",filterPanelEquals:"等しい",filterPanelNotEquals:"等しくない",filterPanelStartsWith:"で始まる",filterPanelEndsWith:"で終わる",filterPanelIsNull:"空である",filterPanelIsNotNull:"空でない",filterPanelGt:"より大きい",filterPanelGte:"以上",filterPanelLt:"より小さい",filterPanelLte:"以下",filterPanelBetween:"範囲",filterPanelValuePlaceholder:"値...",sortMultiHint:"Shiftキーを押しながら複数列をソート",columnVisibility:"列",showAllColumns:"すべて表示",menuSortAsc:"昇順で並び替え",menuSortDesc:"降順で並び替え",menuClearSort:"並び替えをクリア",menuHideColumn:"列を非表示",menuChooseColumns:"列を選択",menuResetColumns:"列をリセット",menuFilter:"フィルター",rowCount:(e,t)=>`行数: ${e} 合計行数: ${t}`,filterTagsPlaceholder:"値を選択...",groupCount:e=>`${e} 件`,collapseGroup:"グループを折りたたむ",expandGroup:"グループを展開",describeFilter:{textContains:(e,t)=>`${e} が "${t}" を含む`,textNotContains:(e,t)=>`${e} が "${t}" を含まない`,textEquals:(e,t)=>`${e} が "${t}" に等しい`,textNotEquals:(e,t)=>`${e} が "${t}" に等しくない`,textStartsWith:(e,t)=>`${e} が "${t}" で始まる`,textEndsWith:(e,t)=>`${e} が "${t}" で終わる`,compareEq:(e,t)=>`${e} = ${t}`,compareNeq:(e,t)=>`${e} ≠ ${t}`,compareGt:(e,t)=>`${e} > ${t}`,compareGte:(e,t)=>`${e} ≥ ${t}`,compareLt:(e,t)=>`${e} < ${t}`,compareLte:(e,t)=>`${e} ≤ ${t}`,rangeBetween:(e,t,l)=>`${e} が ${t} ~ ${l} の間`,rangeGte:(e,t)=>`${e} ≥ ${t}`,rangeLte:(e,t)=>`${e} ≤ ${t}`,setIn:(e,t)=>`${e} が [${t}] に含まれる`,setNotIn:(e,t)=>`${e} が [${t}] に含まれない`,booleanIs:(e,t)=>`${e} は ${t}`,isNull:e=>`${e} が空`,isNotNull:e=>`${e} が空でない`,compositeAnd:e=>e.join(" かつ "),compositeOr:e=>e.join(" または ")}},prosemirror:{bold:"太字",italic:"斜体",code:"インラインコード",link:"リンクを挿入",removeLink:"リンクを削除",heading:e=>`見出し ${e}`,bulletList:"箇条書き",orderedList:"番号付きリスト",blockquote:"引用",codeBlock:"コードブロック",horizontalRule:"水平線",linkUrlPlaceholder:"https://example.com"},pdfPageViewer:{loading:"PDFを読み込み中...",loadFailed:"PDFの読み込みに失敗しました",invalidPdf:"無効なPDFファイル",pageOutOfRange:(e,t)=>`ページ ${e} は範囲外です (1-${t})`,renderFailed:"PDFページのレンダリングに失敗しました"}};exports.default=a;exports.ja=a;
|
package/dist/ko-D-WJ9NK7.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./translations-Dbx7L7Q1.cjs"),a={loadingExtended:"로딩 중입니다. 잠시만 기다려 주세요",loadingShort:"로딩 중...",locale:"지역",iconDescription:"아이콘",loadingIcon:"로딩 아이콘",failedToLoadIcon:"아이콘 로드 실패",editLabel:"편집",selectOne:"하나 선택",selectNone:"없음",selectMany:"여러 개 선택",noResults:"결과 없음",passwordPlaceholderText:"비밀번호",togglePasswordVisibility:"비밀번호 표시 전환",toggleMenu:"메뉴 전환",toggleAside:"사이드 패널 전환",mainNavigation:"메인 네비게이션",sidebar:"사이드바",closeDrawer:"드로어 닫기",closeModal:"모달 닫기",confirm:"확인",cancel:"취소",addLabel:"추가",removeItem:"항목 제거",currentLocale:"한국어",ar:"아랍어",de:"독일어",en:"영어",es:"스페인어",fr:"프랑스어",hi:"힌디어",it:"이탈리아어",ja:"일본어",ko:"한국어",nl:"네덜란드어",pl:"폴란드어",pt:"포르투갈어",ru:"러시아어",tr:"터키어",vi:"베트남어",zh:"중국어",he:"히브리어",fa:"페르시아어",ur:"우르두어",emailPlaceholderText:"이메일을 입력하세요",incrementValue:"값 증가",decrementValue:"값 감소",dropZoneInstructions:e=>e?"클릭하여 선택하거나 파일을 여기로 드래그하세요, 또는 Enter 또는 Space 키를 눌러 파일 선택기를 여세요":"파일을 여기로 드래그하세요",fileSizeUnits:["바이트","KB","MB","GB","TB"],removeFile:"파일 제거",clearAllFiles:"모든 파일 지우기",clearValue:"값 지우기",unknownType:"알 수 없는 형식",filesInputInstructions:(e,t,l)=>{let n=(e==null||e>1,"클릭하여 선택하거나 파일을 여기로 드래그하세요");if(e||t){const o=[];if(e!=null&&e>1&&o.push(`최대 ${e}개 파일`),t&&l){const i=r.formatFileSize(t,{units:l});o.push(`각각 최대 ${i}`)}o.length>0&&(n+=` (${o.join(", ")})`)}return n},paginationLabel:"페이지네이션",firstPage:"첫 페이지",previousPage:"이전 페이지",nextPage:"다음 페이지",lastPage:"마지막 페이지",breadcrumbs:"탐색 경로",commandPalette:"명령 팔레트",typeACommand:"명령어를 입력하세요...",noResultsFound:"결과를 찾을 수 없음",noMatchingCommands:"일치하는 명령어 없음",appearanceSystem:"시스템",appearanceLight:"라이트",appearanceDark:"다크",ok:"OK",changeTypeConfirmation:"유형을 변경하면 현재 값이 지워집니다. 계속하시겠습니까?",notifications:"알림",markAllAsRead:"모두 읽음으로 표시",noNotifications:"알림 없음",schemaConflictsDetected:"스키마 충돌 감지됨",schemaViolationsDetected:"스키마 위반 감지됨",properties:"속성",uploading:"업로드 중...",dropFilesOrBrowse:"파일을 여기에 놓거나 클릭하여 찾아보기",acceptedTypes:e=>`허용 형식: ${e}`,enterUrlPrompt:"URL 입력:",exceeded:"(초과)",pdfPreview:"PDF 미리보기",lexical:{fontFamily:"글꼴",fontSize:"글꼴 크기",lineHeight:"줄 높이",fontColor:"글꼴 색상",highlightColor:"강조 색상",backgroundColor:"배경 색상",bold:"굵게",italic:"기울임꼴",underline:"밑줄",strikethrough:"취소선",code:"코드",clearFormatting:"서식 지우기",normal:"본문",heading:e=>`제목 ${e}`,bulletList:"글머리 기호 목록",orderedList:"번호 매기기 목록",checkList:"체크리스트",indent:"들여쓰기",outdent:"내어쓰기",blockquote:"인용문",codeBlock:"코드 블록",horizontalRule:"가로줄",insertTable:"표 삽입",link:"링크",undo:"실행 취소",redo:"다시 실행",cut:"잘라내기",copy:"복사",paste:"붙여넣기",defaultOption:"기본값",slashCommands:"슬래시 명령어",noCommandsFound:"명령어를 찾을 수 없음",changeBlockType:"블록 유형 변경",blockTypes:"블록 유형",enterUrl:"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"},dataTable:{sortAscending:"오름차순 정렬",sortDescending:"내림차순 정렬",clearSort:"정렬 해제",filterPlaceholder:"필터...",clearFilter:"필터 해제",selectAll:"모두 선택",deselectAll:"모두 선택 해제",selectedCount:e=>`${e}개 선택됨`,resetAll:"모두 초기화",noResults:"결과를 찾을 수 없습니다",loading:"로딩 중...",filterPanelAddCondition:"조건 추가",filterPanelApply:"적용",filterPanelClear:"필터 지우기",filterPanelAnd:"그리고",filterPanelOr:"또는",filterPanelContains:"포함",filterPanelNotContains:"포함하지 않음",filterPanelEquals:"같음",filterPanelNotEquals:"같지 않음",filterPanelStartsWith:"시작 문자",filterPanelEndsWith:"끝 문자",filterPanelIsNull:"비어 있음",filterPanelIsNotNull:"비어 있지 않음",filterPanelGt:"보다 큼",filterPanelGte:"크거나 같음",filterPanelLt:"보다 작음",filterPanelLte:"작거나 같음",filterPanelBetween:"사이",filterPanelValuePlaceholder:"값...",sortMultiHint:"Shift를 누른 채로 여러 열 정렬",columnVisibility:"열",showAllColumns:"모두 표시",menuSortAsc:"오름차순 정렬",menuSortDesc:"내림차순 정렬",menuClearSort:"정렬 지우기",menuHideColumn:"열 숨기기",menuChooseColumns:"열 선택",menuResetColumns:"열 초기화",menuFilter:"필터",rowCount:(e,t)=>`행: ${e} 전체 행: ${t}`,filterTagsPlaceholder:"값 선택...",groupCount:e=>`${e}개 항목`,collapseGroup:"그룹 접기",expandGroup:"그룹 펼치기",describeFilter:{textContains:(e,t)=>`${e} "${t}" 포함`,textNotContains:(e,t)=>`${e} "${t}" 미포함`,textEquals:(e,t)=>`${e} "${t}"와 같음`,textNotEquals:(e,t)=>`${e} "${t}"와 다름`,textStartsWith:(e,t)=>`${e} "${t}"로 시작`,textEndsWith:(e,t)=>`${e} "${t}"로 끝남`,compareEq:(e,t)=>`${e} = ${t}`,compareNeq:(e,t)=>`${e} ≠ ${t}`,compareGt:(e,t)=>`${e} > ${t}`,compareGte:(e,t)=>`${e} ≥ ${t}`,compareLt:(e,t)=>`${e} < ${t}`,compareLte:(e,t)=>`${e} ≤ ${t}`,rangeBetween:(e,t,l)=>`${e} ${t} ~ ${l} 사이`,rangeGte:(e,t)=>`${e} ≥ ${t}`,rangeLte:(e,t)=>`${e} ≤ ${t}`,setIn:(e,t)=>`${e} [${t}] 중 포함`,setNotIn:(e,t)=>`${e} [${t}] 중 미포함`,booleanIs:(e,t)=>`${e} ${t}`,isNull:e=>`${e} 비어있음`,isNotNull:e=>`${e} 비어있지 않음`,compositeAnd:e=>e.join(" 그리고 "),compositeOr:e=>e.join(" 또는 ")}},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 로딩 중...",loadFailed:"PDF 로드 실패",invalidPdf:"유효하지 않은 PDF 파일",pageOutOfRange:(e,t)=>`페이지 ${e}이(가) 범위를 벗어났습니다 (1-${t})`,renderFailed:"PDF 페이지 렌더링 실패"}};exports.default=a;
|