@tempots/beatui 0.52.0 → 0.54.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{2019-BiSy3dQP.cjs → 2019-5RIscTOv.cjs} +1 -1
- package/dist/{2019-Djx2f_nO.js → 2019-i1LHsYdK.js} +2 -2
- package/dist/{2020-BgJxYgaO.cjs → 2020-DeCezjWf.cjs} +1 -1
- package/dist/{2020-C1wOj1GM.js → 2020-S7qY95wq.js} +2 -2
- package/dist/{ar-BEbbig_x.cjs → ar-BqnDsD9v.cjs} +1 -1
- package/dist/{ar-Djuleurf.js → ar-DrBp_VwJ.js} +7 -12
- package/dist/auth/index.cjs.js +1 -1
- package/dist/auth/index.es.js +353 -360
- package/dist/beatui.css +76 -0
- package/dist/beatui.tailwind.css +76 -0
- package/dist/{de-E8u7Hbc0.js → de-B5oZoraI.js} +5 -10
- package/dist/{de-Br3MCGtv.cjs → de-C_N0wtxQ.cjs} +1 -1
- package/dist/{es-BN0iaBgJ.js → es-DRc5dc_G.js} +1 -6
- package/dist/{es-CAwGEj_N.cjs → es-JnLMDtzg.cjs} +1 -1
- package/dist/{fa-3Qfo8ZXh.js → fa-B0VDVs5B.js} +6 -11
- package/dist/{fa-CEz8tGnY.cjs → fa-BC16IdRL.cjs} +1 -1
- package/dist/{fr-Dbn62iEL.cjs → fr-BupZ6YnU.cjs} +1 -1
- package/dist/{fr-D1ndk0A5.js → fr-DXlfWwI6.js} +8 -13
- package/dist/{he-CIV7rntE.js → he-BX-Az8As.js} +8 -13
- package/dist/{he-OtaTg9wg.cjs → he-C-aQ2yoO.cjs} +1 -1
- package/dist/{hi-CnbarThz.cjs → hi-L3y3Aedb.cjs} +1 -1
- package/dist/{hi-tzWREPMb.js → hi-w4uL7LN1.js} +8 -13
- package/dist/{index-nRXzduHm.cjs → index-B7gVxeO9.cjs} +1 -1
- package/dist/{index-CBT2SLat.js → index-BI5w0jSz.js} +223 -224
- package/dist/{index-B9y4N11q.js → index-BnQvOXw8.js} +3019 -3004
- package/dist/{index-ClFVnBUS.cjs → index-Bv2gn_kV.cjs} +3 -3
- package/dist/{index-BjQW8AsK.cjs → index-CFOxIBGJ.cjs} +12 -12
- package/dist/{index-KPHFBjQB.cjs → index-CKyH3jwP.cjs} +1 -1
- package/dist/{index-TiMfhF1U.cjs → index-C_71zSeN.cjs} +1 -1
- package/dist/index-CkNcU-jd.cjs +8 -0
- package/dist/{index-qWS4IYZX.js → index-CyoxPiTg.js} +1 -1
- package/dist/{index-UMbs0jPr.js → index-DKwuTFYj.js} +377 -378
- package/dist/{index-DDhLWdaz.js → index-DNUXf4K4.js} +1 -1
- package/dist/{index-CAeOFdez.js → index-DjShJtXp.js} +1 -1
- package/dist/index.cjs.js +4 -4
- package/dist/index.es.js +2607 -2652
- package/dist/{it-1Hy_Ay2j.js → it-BCKQ5Tu8.js} +6 -11
- package/dist/{it-FOaX_rku.cjs → it-CnHaoq-X.cjs} +1 -1
- package/dist/{ja-C7_PK2VE.js → ja-DC47Nkza.js} +13 -18
- package/dist/{ja-DW4_3EWp.cjs → ja-DpDF4IgX.cjs} +1 -1
- package/dist/json-schema/index.cjs.js +1 -1
- package/dist/json-schema/index.es.js +1 -1
- package/dist/{ko-C-jXKweM.cjs → ko-BMmVJHzm.cjs} +1 -1
- package/dist/{ko-BDOp6dFE.js → ko-ejUHA0Sw.js} +8 -13
- package/dist/markdown/index.cjs.js +1 -1
- package/dist/markdown/index.es.js +1 -1
- package/dist/{modal-BBaPJhi-.js → modal-CKyUdeEz.js} +54 -58
- package/dist/modal-rou7pM0r.cjs +1 -0
- package/dist/{nl-CF5W2Rt4.js → nl-WjgpPUel.js} +6 -11
- package/dist/{nl-Ui8TT45t.cjs → nl-viDlnQWK.cjs} +1 -1
- package/dist/{notice-DTTyRbwh.js → notice-BS0d903Q.js} +385 -387
- package/dist/notice-MF7whf3_.cjs +2 -0
- package/dist/{pl-oLzT5Ole.js → pl-Cw4CYjK_.js} +3 -8
- package/dist/{pl-8PM7rn2L.cjs → pl-Vrfv_fGt.cjs} +1 -1
- package/dist/prosemirror/index.cjs.js +1 -1
- package/dist/prosemirror/index.es.js +1 -1
- package/dist/{pt-Bb0T3Cx1.js → pt-B4Rh_ZBF.js} +10 -15
- package/dist/{pt-kRRsG9-4.cjs → pt-CxQV74vS.cjs} +1 -1
- package/dist/{ru-C5AMF9a6.cjs → ru-BB3GRr_J.cjs} +1 -1
- package/dist/{ru-DwLv1myc.js → ru-DFHsLJ9b.js} +14 -19
- package/dist/{toolbar-D_LSJCtv.js → toolbar-D2J_NkKD.js} +1 -1
- package/dist/{toolbar-D6_MB1QI.cjs → toolbar-DRdm9W7H.cjs} +1 -1
- package/dist/{tr-DBQNjaPN.js → tr-Dbktyawl.js} +7 -12
- package/dist/{tr-BwgU2BAj.cjs → tr-mBiHcEl1.cjs} +1 -1
- package/dist/{translations-CG5-f9U8.js → translations-CaTkLRHu.js} +85 -93
- package/dist/{translations-t57jdjWu.js → translations-CpTeFtvW.js} +1 -1
- package/dist/{translations-D77sU1Wl.cjs → translations-ggnrzaCG.cjs} +1 -1
- package/dist/translations-h_OJS1Ut.cjs +1 -0
- package/dist/types/components/data/icon.d.ts +1 -1
- package/dist/types/components/data/page-drop-zone.d.ts +1 -1
- package/dist/types/components/data/unstyled-drop-zone.d.ts +1 -1
- package/dist/types/components/form/input/create-nullable-string-input.d.ts +24 -0
- package/dist/types/components/form/input/create-temporal-input.d.ts +54 -0
- package/dist/types/components/form/input/nullable-email-input.d.ts +1 -2
- package/dist/types/components/form/input/nullable-password-input.d.ts +1 -2
- package/dist/types/components/form/input/nullable-plain-date-input.d.ts +19 -3
- package/dist/types/components/form/input/nullable-plain-date-time-input.d.ts +19 -3
- package/dist/types/components/form/input/nullable-plain-time-input.d.ts +19 -3
- package/dist/types/components/form/input/nullable-plain-year-month-input.d.ts +19 -3
- package/dist/types/components/form/input/nullable-text-area.d.ts +6 -4
- package/dist/types/components/form/input/nullable-text-input.d.ts +3 -4
- package/dist/types/components/form/input/nullable-url-input.d.ts +1 -2
- package/dist/types/components/form/input/nullable-uuid-input.d.ts +1 -2
- package/dist/types/components/form/input/plain-date-input.d.ts +19 -3
- package/dist/types/components/form/input/plain-date-time-input.d.ts +19 -3
- package/dist/types/components/form/input/plain-time-input.d.ts +19 -3
- package/dist/types/components/form/input/plain-year-month-input.d.ts +19 -3
- package/dist/types/components/json-schema/controls/shared-utils.d.ts +8 -0
- package/dist/types/components/json-schema/schema-conditionals.d.ts +26 -0
- package/dist/types/components/json-schema/schema-context.d.ts +4 -107
- package/dist/types/components/json-schema/schema-merge.d.ts +9 -0
- package/dist/types/components/json-schema/schema-types.d.ts +85 -0
- package/dist/types/components/overlay/announcement-bar.d.ts +21 -0
- package/dist/types/components/overlay/index.d.ts +1 -0
- package/dist/{ur-s32jv4mP.cjs → ur-CZ5sgUP1.cjs} +1 -1
- package/dist/{ur-BmK_ieRn.js → ur-Cqh7AYnd.js} +9 -14
- package/dist/utils-U1aNOU3o.cjs +1 -0
- package/dist/utils-w_vUChhV.js +2454 -0
- package/dist/{vi-DK0Fj95H.js → vi-CLBp2oaY.js} +11 -16
- package/dist/{vi-B4qRKlRd.cjs → vi-Ki_Urj_E.cjs} +1 -1
- package/dist/{zh-CUEpc9yf.cjs → zh-C78OkbS0.cjs} +1 -1
- package/dist/{zh-Db8COSme.js → zh-CT4aGkgD.js} +8 -13
- package/package.json +5 -4
- package/dist/index-ClqyVDXY.cjs +0 -8
- package/dist/modal-O7QoP7Zv.cjs +0 -1
- package/dist/notice-DLDzwKkw.cjs +0 -2
- package/dist/translations-BAk3j4bi.cjs +0 -1
- package/dist/utils-CYMdxKSM.js +0 -2516
- package/dist/utils-DI_H4_Gm.cjs +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as t } from "./translations-
|
|
1
|
+
import { f as t } from "./translations-CaTkLRHu.js";
|
|
2
2
|
const c = {
|
|
3
3
|
loadingExtended: "Caricamento, attendere prego...",
|
|
4
4
|
loadingShort: "Caricamento...",
|
|
@@ -57,22 +57,17 @@ const c = {
|
|
|
57
57
|
// inputs reset
|
|
58
58
|
clearValue: "Cancella valore",
|
|
59
59
|
unknownType: "Tipo sconosciuto",
|
|
60
|
-
filesInputInstructions: (e,
|
|
60
|
+
filesInputInstructions: (e, a, o) => {
|
|
61
61
|
let l = e == null || e > 1 ? "Clicca per scegliere o trascina i file qui" : "Clicca per scegliere o trascina un file qui";
|
|
62
|
-
if (e ||
|
|
62
|
+
if (e || a) {
|
|
63
63
|
const i = [];
|
|
64
|
-
if (e != null && e > 1 && i.push(`fino a ${e} file`),
|
|
65
|
-
const n = t(
|
|
66
|
-
units:
|
|
64
|
+
if (e != null && e > 1 && i.push(`fino a ${e} file`), a && o) {
|
|
65
|
+
const n = t(a, {
|
|
66
|
+
units: o
|
|
67
67
|
});
|
|
68
68
|
i.push(`max ${n} ciascuno`);
|
|
69
69
|
}
|
|
70
70
|
i.length > 0 && (l += ` (${i.join(", ")})`);
|
|
71
|
-
} else if (o && a) {
|
|
72
|
-
const i = t(o, {
|
|
73
|
-
units: a
|
|
74
|
-
});
|
|
75
|
-
l += ` (max ${i})`;
|
|
76
71
|
}
|
|
77
72
|
return l;
|
|
78
73
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./translations-h_OJS1Ut.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",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,o,a)=>{let l=e==null||e>1?"Clicca per scegliere o trascina i file qui":"Clicca per scegliere o trascina un file qui";if(e||o){const i=[];if(e!=null&&e>1&&i.push(`fino a ${e} file`),o&&a){const t=n.formatFileSize(o,{units:a});i.push(`max ${t} ciascuno`)}i.length>0&&(l+=` (${i.join(", ")})`)}return l},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"}};exports.default=r;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { f as
|
|
2
|
-
const
|
|
1
|
+
import { f as i } from "./translations-CaTkLRHu.js";
|
|
2
|
+
const c = {
|
|
3
3
|
loadingExtended: "読み込み中です、お待ちください",
|
|
4
4
|
loadingShort: "読み込み中...",
|
|
5
5
|
locale: "ロケール",
|
|
@@ -57,24 +57,19 @@ const i = {
|
|
|
57
57
|
// inputs reset
|
|
58
58
|
clearValue: "リセット",
|
|
59
59
|
unknownType: "不明なタイプ",
|
|
60
|
-
filesInputInstructions: (e,
|
|
61
|
-
let
|
|
62
|
-
if (e ||
|
|
60
|
+
filesInputInstructions: (e, l, t) => {
|
|
61
|
+
let n = (e == null || e > 1, "クリックして選択するか、ファイルをここにドラッグ");
|
|
62
|
+
if (e || l) {
|
|
63
63
|
const o = [];
|
|
64
|
-
if (e != null && e > 1 && o.push(`最大${e}ファイル`),
|
|
65
|
-
const
|
|
66
|
-
units:
|
|
64
|
+
if (e != null && e > 1 && o.push(`最大${e}ファイル`), l && t) {
|
|
65
|
+
const r = i(l, {
|
|
66
|
+
units: t
|
|
67
67
|
});
|
|
68
|
-
o.push(`各${
|
|
68
|
+
o.push(`各${r}以下`);
|
|
69
69
|
}
|
|
70
|
-
o.length > 0 && (
|
|
71
|
-
} else if (t && n) {
|
|
72
|
-
const o = r(t, {
|
|
73
|
-
units: n
|
|
74
|
-
});
|
|
75
|
-
l += ` (最大${o})`;
|
|
70
|
+
o.length > 0 && (n += ` (${o.join("、")})`);
|
|
76
71
|
}
|
|
77
|
-
return
|
|
72
|
+
return n;
|
|
78
73
|
},
|
|
79
74
|
// prosemirror
|
|
80
75
|
prosemirror: {
|
|
@@ -93,6 +88,6 @@ const i = {
|
|
|
93
88
|
}
|
|
94
89
|
};
|
|
95
90
|
export {
|
|
96
|
-
|
|
97
|
-
|
|
91
|
+
c as default,
|
|
92
|
+
c as ja
|
|
98
93
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./translations-h_OJS1Ut.cjs"),r={loadingExtended:"読み込み中です、お待ちください",loadingShort:"読み込み中...",locale:"ロケール",iconDescription:"アイコン",loadingIcon:"読み込みアイコン",failedToLoadIcon:"アイコンの読み込みに失敗しました",editLabel:"編集",selectOne:"一つ選択",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=a.formatFileSize(t,{units:l});o.push(`各${i}以下`)}o.length>0&&(n+=` (${o.join("、")})`)}return n},prosemirror:{bold:"太字",italic:"斜体",code:"インラインコード",link:"リンクを挿入",removeLink:"リンクを削除",heading:e=>`見出し ${e}`,bulletList:"箇条書き",orderedList:"番号付きリスト",blockquote:"引用",codeBlock:"コードブロック",horizontalRule:"水平線",linkUrlPlaceholder:"https://example.com"}};exports.default=r;exports.ja=r;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../index-CkNcU-jd.cjs");exports.JSONSchemaAllOf=e.JSONSchemaAllOf;exports.JSONSchemaAny=e.JSONSchemaAny;exports.JSONSchemaAnyOf=e.JSONSchemaAnyOf;exports.JSONSchemaArray=e.JSONSchemaArray;exports.JSONSchemaBoolean=e.JSONSchemaBoolean;exports.JSONSchemaConst=e.JSONSchemaConst;exports.JSONSchemaControl=e.JSONSchemaControl;exports.JSONSchemaEnum=e.JSONSchemaEnum;exports.JSONSchemaForm=e.JSONSchemaForm;exports.JSONSchemaGenericControl=e.JSONSchemaGenericControl;exports.JSONSchemaInteger=e.JSONSchemaInteger;exports.JSONSchemaNull=e.JSONSchemaNull;exports.JSONSchemaNumber=e.JSONSchemaNumber;exports.JSONSchemaObject=e.JSONSchemaObject;exports.JSONSchemaOneOf=e.JSONSchemaOneOf;exports.JSONSchemaString=e.JSONSchemaString;exports.JSONSchemaUnion=e.JSONSchemaUnion;exports.SchemaContext=e.SchemaContext;exports.ajvErrorsToControllerValidation=e.ajvErrorsToControllerValidation;exports.ajvErrorsToDependencies=e.ajvErrorsToDependencies;exports.buildMessage=e.buildMessage;exports.buildPath=e.buildPath;exports.clearCaches=e.clearCaches;exports.clearCachesForAjv=e.clearCachesForAjv;exports.compileWithCache=e.compileWithCache;exports.composeEffectiveObjectSchema=e.composeEffectiveObjectSchema;exports.createAJVStandardSchema=e.createAJVStandardSchema;exports.evaluateIfThenElseOverlay=e.evaluateIfThenElseOverlay;exports.evaluateNotViolation=e.evaluateNotViolation;exports.getAjvForSchema=e.getAjvForSchema;exports.getCacheStats=e.getCacheStats;exports.getEvaluatedProperties=e.getEvaluatedProperties;exports.jsonPointerToSegments=e.jsonPointerToSegments;exports.mergeAllOf=e.mergeAllOf;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { V as s, J as S, T as c, P as o, N as t, I as r, X as m, H as h, Y as O, W as n, L as l, O as N, K as J, Q as i, U as v, M as C, R as u, S as A, w as f, v as g, u as d, t as j, x as E, y as b, A as p, E as y, Z as T, F, D as P, B as V, z as x, G as I, s as B, C as D } from "../index-
|
|
1
|
+
import { V as s, J as S, T as c, P as o, N as t, I as r, X as m, H as h, Y as O, W as n, L as l, O as N, K as J, Q as i, U as v, M as C, R as u, S as A, w as f, v as g, u as d, t as j, x as E, y as b, A as p, E as y, Z as T, F, D as P, B as V, z as x, G as I, s as B, C as D } from "../index-BnQvOXw8.js";
|
|
2
2
|
export {
|
|
3
3
|
s as JSONSchemaAllOf,
|
|
4
4
|
S as JSONSchemaAny,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./translations-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./translations-h_OJS1Ut.cjs"),a={loadingExtended:"로딩 중입니다. 잠시만 기다려 주세요",loadingShort:"로딩 중...",locale:"지역",iconDescription:"아이콘",loadingIcon:"로딩 아이콘",failedToLoadIcon:"아이콘 로드 실패",editLabel:"편집",selectOne:"하나 선택",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},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"}};exports.default=a;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { f as r } from "./translations-
|
|
2
|
-
const
|
|
1
|
+
import { f as r } from "./translations-CaTkLRHu.js";
|
|
2
|
+
const c = {
|
|
3
3
|
loadingExtended: "로딩 중입니다. 잠시만 기다려 주세요",
|
|
4
4
|
loadingShort: "로딩 중...",
|
|
5
5
|
locale: "지역",
|
|
@@ -57,22 +57,17 @@ const a = {
|
|
|
57
57
|
// inputs reset
|
|
58
58
|
clearValue: "값 지우기",
|
|
59
59
|
unknownType: "알 수 없는 형식",
|
|
60
|
-
filesInputInstructions: (e,
|
|
60
|
+
filesInputInstructions: (e, l, t) => {
|
|
61
61
|
let n = (e == null || e > 1, "클릭하여 선택하거나 파일을 여기로 드래그하세요");
|
|
62
|
-
if (e ||
|
|
62
|
+
if (e || l) {
|
|
63
63
|
const o = [];
|
|
64
|
-
if (e != null && e > 1 && o.push(`최대 ${e}개 파일`),
|
|
65
|
-
const i = r(
|
|
66
|
-
units:
|
|
64
|
+
if (e != null && e > 1 && o.push(`최대 ${e}개 파일`), l && t) {
|
|
65
|
+
const i = r(l, {
|
|
66
|
+
units: t
|
|
67
67
|
});
|
|
68
68
|
o.push(`각각 최대 ${i}`);
|
|
69
69
|
}
|
|
70
70
|
o.length > 0 && (n += ` (${o.join(", ")})`);
|
|
71
|
-
} else if (t && l) {
|
|
72
|
-
const o = r(t, {
|
|
73
|
-
units: l
|
|
74
|
-
});
|
|
75
|
-
n += ` (최대 ${o})`;
|
|
76
71
|
}
|
|
77
72
|
return n;
|
|
78
73
|
},
|
|
@@ -93,5 +88,5 @@ const a = {
|
|
|
93
88
|
}
|
|
94
89
|
};
|
|
95
90
|
export {
|
|
96
|
-
|
|
91
|
+
c as default
|
|
97
92
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("@tempots/dom");const e=require("../index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("@tempots/dom");const e=require("../index-Bv2gn_kV.cjs");require("../link-portal-_tiDFZqh.cjs");exports.Markdown=e.Markdown;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { WithElement as
|
|
2
|
-
import { g as $, T as
|
|
3
|
-
import { s as Y, C as Z } from "./notice-
|
|
4
|
-
import { a as K, B as
|
|
1
|
+
import { WithElement as S, OnDispose as z, prop as R, computedOf as w, Fragment as M, attr as g, WithBrowserCtx as J, Value as U, render as Q, html as k, dataAttr as B, aria as V, on as X, When as q, Use as H, coalesce as I } from "@tempots/dom";
|
|
2
|
+
import { g as $, T as _ } from "./timer-DzWb416P.js";
|
|
3
|
+
import { s as Y, C as Z } from "./notice-BS0d903Q.js";
|
|
4
|
+
import { a as K, B as P } from "./translations-CaTkLRHu.js";
|
|
5
5
|
const ee = [
|
|
6
6
|
"a[href]",
|
|
7
7
|
"button:not([disabled])",
|
|
@@ -23,7 +23,7 @@ function te(o) {
|
|
|
23
23
|
}
|
|
24
24
|
);
|
|
25
25
|
}
|
|
26
|
-
function
|
|
26
|
+
function F(o = {}) {
|
|
27
27
|
const {
|
|
28
28
|
active: t = !0,
|
|
29
29
|
escapeDeactivates: s = !0,
|
|
@@ -33,7 +33,7 @@ function M(o = {}) {
|
|
|
33
33
|
clickOutsideDeactivates: a = !1,
|
|
34
34
|
onClickOutside: u
|
|
35
35
|
} = o;
|
|
36
|
-
return
|
|
36
|
+
return S((m) => {
|
|
37
37
|
let f = t, p = null, c = [];
|
|
38
38
|
typeof document < "u" && (p = document.activeElement);
|
|
39
39
|
const v = () => {
|
|
@@ -66,22 +66,22 @@ function M(o = {}) {
|
|
|
66
66
|
typeof n == "function" ? l = n() : n ? l = n : c.length > 0 && (l = c[0]), l && setTimeout(() => {
|
|
67
67
|
l?.focus();
|
|
68
68
|
}, 50), document.addEventListener("keydown", b, !0), a && document.addEventListener("click", h, !0);
|
|
69
|
-
},
|
|
69
|
+
}, x = () => {
|
|
70
70
|
f = !1, document.removeEventListener("keydown", b, !0), document.removeEventListener("click", h, !0);
|
|
71
71
|
let l = null;
|
|
72
72
|
typeof r == "function" ? l = r() : r ? l = r : p && (l = p), l && document.body.contains(l) && setTimeout(() => {
|
|
73
73
|
l?.focus();
|
|
74
74
|
}, 0);
|
|
75
75
|
};
|
|
76
|
-
return setTimeout(() => y(), 0),
|
|
77
|
-
|
|
76
|
+
return setTimeout(() => y(), 0), z(() => {
|
|
77
|
+
x();
|
|
78
78
|
});
|
|
79
79
|
});
|
|
80
80
|
}
|
|
81
81
|
function pe(o = {}) {
|
|
82
82
|
return {
|
|
83
|
-
activate: () =>
|
|
84
|
-
deactivate: () =>
|
|
83
|
+
activate: () => F({ ...o, active: !0 }),
|
|
84
|
+
deactivate: () => F({ ...o, active: !1 })
|
|
85
85
|
};
|
|
86
86
|
}
|
|
87
87
|
function N({
|
|
@@ -130,7 +130,7 @@ function N({
|
|
|
130
130
|
}), e.onDispose(() => {
|
|
131
131
|
f.forEach((i) => i()), c();
|
|
132
132
|
});
|
|
133
|
-
const v = e.map((i) => i === "closed"), b = e.map((i) => i === "start-opening"), h = e.map((i) => i === "opening"), y = e.map((i) => i === "opened"),
|
|
133
|
+
const v = e.map((i) => i === "closed"), b = e.map((i) => i === "start-opening"), h = e.map((i) => i === "opening"), y = e.map((i) => i === "opened"), x = e.map((i) => i === "closing"), l = e.map((i) => i === "start-closing");
|
|
134
134
|
return {
|
|
135
135
|
status: e,
|
|
136
136
|
open: n,
|
|
@@ -142,7 +142,7 @@ function N({
|
|
|
142
142
|
isStartOpening: b,
|
|
143
143
|
isOpening: h,
|
|
144
144
|
isOpened: y,
|
|
145
|
-
isClosing:
|
|
145
|
+
isClosing: x,
|
|
146
146
|
isStartClosing: l,
|
|
147
147
|
dispose: () => e.dispose(),
|
|
148
148
|
listenOnClosed: p
|
|
@@ -156,11 +156,11 @@ function he({
|
|
|
156
156
|
} = {}) {
|
|
157
157
|
return N({
|
|
158
158
|
initialStatus: o,
|
|
159
|
-
openedAfter: (n) =>
|
|
160
|
-
closedAfter: (n) =>
|
|
159
|
+
openedAfter: (n) => _(n, s),
|
|
160
|
+
closedAfter: (n) => _(n, e)
|
|
161
161
|
});
|
|
162
162
|
}
|
|
163
|
-
function
|
|
163
|
+
function W(o, t) {
|
|
164
164
|
let s = !1, e = null;
|
|
165
165
|
function n() {
|
|
166
166
|
s || (s = !0, o.removeEventListener("transitionend", r), o.removeEventListener("animationend", a), e && (clearTimeout(e), e = null), t());
|
|
@@ -194,9 +194,9 @@ function G({
|
|
|
194
194
|
...N({
|
|
195
195
|
initialStatus: o,
|
|
196
196
|
openedAfter: (e) => s == null ? (e(), () => {
|
|
197
|
-
}) :
|
|
197
|
+
}) : W(s, e),
|
|
198
198
|
closedAfter: (e) => s == null ? (e(), () => {
|
|
199
|
-
}) :
|
|
199
|
+
}) : W(s, e)
|
|
200
200
|
})
|
|
201
201
|
};
|
|
202
202
|
}
|
|
@@ -232,24 +232,20 @@ function oe({
|
|
|
232
232
|
let u;
|
|
233
233
|
return "enter" in n || "exit" in n ? u = a ? n.enter : n.exit : u = n, ne(u);
|
|
234
234
|
});
|
|
235
|
-
return
|
|
236
|
-
V(s, e),
|
|
237
|
-
g.class(s),
|
|
238
|
-
g.style(e)
|
|
239
|
-
);
|
|
235
|
+
return M(g.class(s), g.style(e));
|
|
240
236
|
}
|
|
241
237
|
function ge({
|
|
242
238
|
initialStatus: o = "closed",
|
|
243
239
|
animation: t
|
|
244
240
|
}, s) {
|
|
245
|
-
return
|
|
241
|
+
return S((e) => {
|
|
246
242
|
const { setElement: n, dispose: r, ...a } = G({
|
|
247
243
|
initialStatus: o,
|
|
248
244
|
element: e
|
|
249
245
|
});
|
|
250
|
-
return n(e),
|
|
246
|
+
return n(e), M(
|
|
251
247
|
oe({ status: a.status, animation: t }),
|
|
252
|
-
|
|
248
|
+
z(r),
|
|
253
249
|
s(a)
|
|
254
250
|
);
|
|
255
251
|
});
|
|
@@ -385,7 +381,7 @@ class ie extends A {
|
|
|
385
381
|
return t === void 0 ? { success: !0, data: this.defaultValue } : this.inner.validate(t);
|
|
386
382
|
}
|
|
387
383
|
}
|
|
388
|
-
class
|
|
384
|
+
class D extends A {
|
|
389
385
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
390
386
|
constructor(t) {
|
|
391
387
|
super(), this.shape = t;
|
|
@@ -408,7 +404,7 @@ class j extends A {
|
|
|
408
404
|
return n.length > 0 ? { success: !1, errors: n } : { success: !0, data: e };
|
|
409
405
|
}
|
|
410
406
|
refine(t, s) {
|
|
411
|
-
const e = new
|
|
407
|
+
const e = new D(this.shape), n = e.validate.bind(e);
|
|
412
408
|
return e.validate = (r) => {
|
|
413
409
|
const a = n(r);
|
|
414
410
|
if (!a.success) return a;
|
|
@@ -425,7 +421,7 @@ class j extends A {
|
|
|
425
421
|
}, e;
|
|
426
422
|
}
|
|
427
423
|
}
|
|
428
|
-
const be = () => new C(), ve = () => new O(), ye = (o) => new
|
|
424
|
+
const be = () => new C(), ve = () => new O(), ye = (o) => new D(o);
|
|
429
425
|
function ce(o) {
|
|
430
426
|
return J((t) => {
|
|
431
427
|
const s = [], e = () => s.forEach((r) => r());
|
|
@@ -447,11 +443,11 @@ function ce(o) {
|
|
|
447
443
|
E.key === "Escape" && (m?.(), c.close());
|
|
448
444
|
}, y = () => {
|
|
449
445
|
u?.(), c.close();
|
|
450
|
-
},
|
|
446
|
+
}, x = (E) => {
|
|
451
447
|
v(), b(), E === "capturing" ? (document.addEventListener("keydown", h), v = () => document.removeEventListener("keydown", h), t.element.addEventListener("mousedown", y), b = () => t.element.removeEventListener("mousedown", y)) : (v = () => {
|
|
452
448
|
}, b = () => {
|
|
453
449
|
});
|
|
454
|
-
}, l = U.on(a,
|
|
450
|
+
}, l = U.on(a, x);
|
|
455
451
|
s.push(l), s.push(() => {
|
|
456
452
|
c.dispose(), v(), b();
|
|
457
453
|
});
|
|
@@ -468,15 +464,15 @@ function ce(o) {
|
|
|
468
464
|
E.has(d) || d.removeAttribute("inert");
|
|
469
465
|
E.clear();
|
|
470
466
|
}), document.activeElement?.blur?.(), k.div(
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
467
|
+
S((d) => c.setElement(d)),
|
|
468
|
+
B.status(c.status.map(String)),
|
|
469
|
+
B.overlay("true"),
|
|
474
470
|
g.class(
|
|
475
471
|
w(
|
|
476
472
|
r ?? "opaque",
|
|
477
473
|
a
|
|
478
474
|
)(
|
|
479
|
-
(d,
|
|
475
|
+
(d, L) => `bc-overlay bc-overlay--effect-${d} bc-overlay--mode-${L}`
|
|
480
476
|
)
|
|
481
477
|
),
|
|
482
478
|
f
|
|
@@ -509,53 +505,53 @@ function le(o, t) {
|
|
|
509
505
|
U.on(e, (d) => {
|
|
510
506
|
y.set(d ? "capturing" : "non-capturing");
|
|
511
507
|
});
|
|
512
|
-
const
|
|
508
|
+
const x = w(
|
|
513
509
|
h.header != null,
|
|
514
510
|
n
|
|
515
|
-
)((d,
|
|
511
|
+
)((d, L) => d || L), l = Y("modal"), i = `${l}-header`, T = `${l}-body`, E = k.div(
|
|
516
512
|
g.class(
|
|
517
513
|
w(
|
|
518
514
|
s,
|
|
519
515
|
m
|
|
520
516
|
)(
|
|
521
|
-
(d,
|
|
517
|
+
(d, L) => `bc-modal bc-modal--size-${d} bc-modal--container-${u} bc-modal--position-${L}`
|
|
522
518
|
)
|
|
523
519
|
),
|
|
524
520
|
// Essential ARIA attributes for modal dialog
|
|
525
521
|
g.role("dialog"),
|
|
526
|
-
|
|
527
|
-
...h.header ? [
|
|
528
|
-
|
|
522
|
+
V.modal(!0),
|
|
523
|
+
...h.header ? [V.labelledby(i)] : [],
|
|
524
|
+
V.describedby(T),
|
|
529
525
|
g.tabindex(-1),
|
|
530
526
|
// Make modal focusable for initial focus
|
|
531
527
|
g.id(l),
|
|
532
|
-
|
|
528
|
+
B.focusTrap("true"),
|
|
533
529
|
// Mark as focus trap container
|
|
534
530
|
X.mousedown((d) => d.stopPropagation()),
|
|
535
531
|
// Prevent overlay click-outside when clicking modal content
|
|
536
532
|
// Focus trap implementation
|
|
537
|
-
|
|
533
|
+
F({
|
|
538
534
|
escapeDeactivates: !1,
|
|
539
535
|
// Let Overlay handle escape key
|
|
540
536
|
initialFocus: () => {
|
|
541
537
|
const d = document.getElementById(l);
|
|
542
538
|
if (!d) return null;
|
|
543
|
-
const
|
|
539
|
+
const L = d.querySelector(
|
|
544
540
|
'[aria-label="Close modal"]'
|
|
545
541
|
);
|
|
546
|
-
if (
|
|
547
|
-
const
|
|
542
|
+
if (L) return L;
|
|
543
|
+
const j = d.querySelector(
|
|
548
544
|
'button, input, select, textarea, [tabindex]:not([tabindex="-1"])'
|
|
549
545
|
);
|
|
550
|
-
return
|
|
546
|
+
return j || d;
|
|
551
547
|
}
|
|
552
548
|
}),
|
|
553
549
|
// Modal content container
|
|
554
550
|
k.div(
|
|
555
551
|
g.class("bc-modal__content"),
|
|
556
552
|
// Header section
|
|
557
|
-
|
|
558
|
-
|
|
553
|
+
q(
|
|
554
|
+
x,
|
|
559
555
|
() => k.div(
|
|
560
556
|
g.class("bc-modal__header"),
|
|
561
557
|
k.div(
|
|
@@ -563,7 +559,7 @@ function le(o, t) {
|
|
|
563
559
|
...h.header ? [g.id(i)] : [],
|
|
564
560
|
h.header
|
|
565
561
|
),
|
|
566
|
-
|
|
562
|
+
q(
|
|
567
563
|
n,
|
|
568
564
|
() => H(
|
|
569
565
|
K,
|
|
@@ -588,7 +584,7 @@ function le(o, t) {
|
|
|
588
584
|
mode: y,
|
|
589
585
|
effect: a ?? "opaque",
|
|
590
586
|
container: u,
|
|
591
|
-
content:
|
|
587
|
+
content: E,
|
|
592
588
|
onClickOutside: () => {
|
|
593
589
|
r?.(), p();
|
|
594
590
|
},
|
|
@@ -614,22 +610,22 @@ function Ee(o, t) {
|
|
|
614
610
|
return t((b) => {
|
|
615
611
|
m({
|
|
616
612
|
body: b,
|
|
617
|
-
footer:
|
|
613
|
+
footer: M(
|
|
618
614
|
g.class("bc-modal__actions"),
|
|
619
|
-
|
|
615
|
+
P(
|
|
620
616
|
{
|
|
621
617
|
variant: "outline",
|
|
622
618
|
onClick: c
|
|
623
619
|
},
|
|
624
|
-
|
|
620
|
+
I(e, u.$.cancel)
|
|
625
621
|
),
|
|
626
|
-
|
|
622
|
+
P(
|
|
627
623
|
{
|
|
628
624
|
color: "primary",
|
|
629
625
|
variant: "filled",
|
|
630
626
|
onClick: p
|
|
631
627
|
},
|
|
632
|
-
|
|
628
|
+
I(s, u.$.confirm)
|
|
633
629
|
)
|
|
634
630
|
)
|
|
635
631
|
});
|
|
@@ -641,13 +637,13 @@ export {
|
|
|
641
637
|
oe as A,
|
|
642
638
|
O as B,
|
|
643
639
|
Ee as C,
|
|
644
|
-
|
|
640
|
+
F,
|
|
645
641
|
le as M,
|
|
646
642
|
ce as O,
|
|
647
643
|
C as S,
|
|
648
644
|
ge as a,
|
|
649
645
|
ve as b,
|
|
650
|
-
|
|
646
|
+
D as c,
|
|
651
647
|
re as d,
|
|
652
648
|
pe as e,
|
|
653
649
|
N as f,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const r=require("@tempots/dom"),w=require("./timer-DK_yKNwE.cjs"),q=require("./notice-MF7whf3_.cjs"),O=require("./translations-h_OJS1Ut.cjs"),_=["a[href]","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])",'[tabindex]:not([tabindex="-1"])','[contenteditable="true"]',"audio[controls]","video[controls]","details > summary:first-of-type","details[open]"].join(", ");function P(o){return Array.from(o.querySelectorAll(_)).filter(t=>{const s=t;return s.offsetWidth>0&&s.offsetHeight>0&&!s.hasAttribute("inert")&&window.getComputedStyle(s).visibility!=="hidden"})}function V(o={}){const{active:t=!0,escapeDeactivates:s=!0,onEscape:e,initialFocus:n,returnFocus:a,clickOutsideDeactivates:i=!1,onClickOutside:d}=o;return r.WithElement(p=>{let f=t,h=null,c=[];typeof document<"u"&&(h=document.activeElement);const v=()=>{c=P(p)},b=u=>{if(f){if(s&&u.key==="Escape"){u.preventDefault(),e?.();return}if(u.key==="Tab"){if(v(),c.length===0){u.preventDefault();return}const l=c.indexOf(document.activeElement);u.shiftKey?l<=0&&(u.preventDefault(),c[c.length-1]?.focus()):l>=c.length-1&&(u.preventDefault(),c[0]?.focus())}}},g=u=>{if(!f||!i)return;const l=u.target;p.contains(l)||d?.()},y=()=>{if(!f)return;v();let u=null;typeof n=="function"?u=n():n?u=n:c.length>0&&(u=c[0]),u&&setTimeout(()=>{u?.focus()},50),document.addEventListener("keydown",b,!0),i&&document.addEventListener("click",g,!0)},A=()=>{f=!1,document.removeEventListener("keydown",b,!0),document.removeEventListener("click",g,!0);let u=null;typeof a=="function"?u=a():a?u=a:h&&(u=h),u&&document.body.contains(u)&&setTimeout(()=>{u?.focus()},0)};return setTimeout(()=>y(),0),r.OnDispose(()=>{A()})})}function U(o={}){return{activate:()=>V({...o,active:!0}),deactivate:()=>V({...o,active:!1})}}function B({initialStatus:o="closed",openedAfter:t,closedAfter:s}){const e=r.prop(o),n=()=>{e.set("start-opening")},a=()=>{e.set("start-closing")},i=e.map(l=>l!=="closed"&&l!=="start-closing"&&l!=="closing"),d=l=>{l?n():a()},p=()=>{d(!i.value)},f=[],h=l=>{f.push(e.on(x=>{x==="closed"&&l()}))};let c=()=>{};e.on(l=>{switch(c(),l){case"start-opening":c=w.g(()=>e.set("opening"));break;case"opening":c=t(()=>e.set("opened"));break;case"start-closing":c=w.g(()=>e.set("closing"));break;case"closing":c=s(()=>e.set("closed"));break;case"closed":c=()=>{};break}}),e.onDispose(()=>{f.forEach(l=>l()),c()});const v=e.map(l=>l==="closed"),b=e.map(l=>l==="start-opening"),g=e.map(l=>l==="opening"),y=e.map(l=>l==="opened"),A=e.map(l=>l==="closing"),u=e.map(l=>l==="start-closing");return{status:e,open:n,close:a,toggle:p,setOpen:d,display:i,isClosed:v,isStartOpening:b,isOpening:g,isOpened:y,isClosing:A,isStartClosing:u,dispose:()=>e.dispose(),listenOnClosed:h}}function z({initialStatus:o="closed",duration:t,openDuration:s=t??500,closeDuration:e=t??500}={}){return B({initialStatus:o,openedAfter:n=>w.T(n,s),closedAfter:n=>w.T(n,e)})}function M(o,t){let s=!1,e=null;function n(){s||(s=!0,o.removeEventListener("transitionend",a),o.removeEventListener("animationend",i),e&&(clearTimeout(e),e=null),t())}function a(f){f.target===o&&n()}function i(f){f.target===o&&n()}const d=()=>{if(typeof o.getAnimations>"u"){e=setTimeout(n,16);return}o.addEventListener("transitionend",a),o.addEventListener("animationend",i),o.getAnimations().length===0&&(e=setTimeout(n,1e3))},p=w.g(d);return()=>{s=!0,p(),e&&(clearTimeout(e),e=null),o.removeEventListener("transitionend",a),o.removeEventListener("animationend",i)}}function F({initialStatus:o="closed",element:t}={}){let s=t;return{setElement:e=>{s=e},...B({initialStatus:o,openedAfter:e=>s==null?(e(),()=>{}):M(s,e),closedAfter:e=>s==null?(e(),()=>{}):M(s,e)})}}function R(o){if(o==null)return"";const t=[];return o.fade&&t.push("fade"),o.slide&&t.push(`slide-${o.slide}`),o.scale!=null&&t.push("scale"),t.length>0?t.join(" "):"none"}function H(o){if(o==null)return"";const t=[];return o.scale!=null&&typeof o.scale=="number"&&t.push(`--scale-factor: ${o.scale}`),o.transformOrigin!=null&&t.push(`--transform-origin: ${o.transformOrigin}`),o.duration!=null&&t.push(`--animation-duration: ${o.duration}ms`),o.easing!=null&&t.push(`--animation-easing: ${o.easing}`),t.join("; ")}function D({animation:o,status:t}){const s=r.computedOf(o,t)((n,a)=>{if(n==null)return`bc-animated-toggle bc-animated-toggle--${a}`;const i=a==="start-opening"||a==="opening"||a==="opened";let d;return"enter"in n||"exit"in n?d=i?n.enter:n.exit:d=n,`bc-animated-toggle bc-animated-toggle--${R(d)} bc-animated-toggle--${a}`}),e=r.computedOf(o,t)((n,a)=>{if(n==null)return"";const i=a==="start-opening"||a==="opening"||a==="opened";let d;return"enter"in n||"exit"in n?d=i?n.enter:n.exit:d=n,H(d)});return r.Fragment(r.attr.class(s),r.attr.style(e))}function K({initialStatus:o="closed",animation:t},s){return r.WithElement(e=>{const{setElement:n,dispose:a,...i}=F({initialStatus:o,element:e});return n(e),r.Fragment(D({status:i.status,animation:t}),r.OnDispose(a),s(i))})}function j(o){return{"~standard":{version:1,vendor:"beatui-custom",validate:s=>{const e=o.validate(s);return e.success?{value:e.data}:{issues:e.errors.map(n=>({message:n.message,path:n.path}))}},types:void 0},safeParse:s=>{const e=o.validate(s);return e.success?{success:!0,data:e.data}:{success:!1,error:{errors:e.errors.map(n=>({message:n.message,path:n.path?.map(a=>typeof a=="object"&&"key"in a?a.key.toString():a.toString())||[]}))}}}}}class k{optional(){return new N(this)}default(t){return new G(this,t)}schema(){return j(this)}}class T extends k{minLength;maxLength;pattern;customValidations=[];validate(t){if(typeof t!="string")return{success:!1,errors:[{message:"Expected string"}]};const s=[];this.minLength!==void 0&&t.length<this.minLength&&s.push({message:`Must be at least ${this.minLength} characters`}),this.maxLength!==void 0&&t.length>this.maxLength&&s.push({message:`Must be at most ${this.maxLength} characters`}),this.pattern&&!this.pattern.test(t)&&s.push({message:"Invalid format"});for(const e of this.customValidations){const n=e(t);n&&s.push({message:n})}return s.length>0?{success:!1,errors:s}:{success:!0,data:t}}min(t,s){const e=new T;return e.minLength=t,e.maxLength=this.maxLength,e.pattern=this.pattern,e.customValidations=[...this.customValidations],s&&e.customValidations.push(n=>n.length<t?s:null),e}max(t,s){const e=new T;return e.minLength=this.minLength,e.maxLength=t,e.pattern=this.pattern,e.customValidations=[...this.customValidations],s&&e.customValidations.push(n=>n.length>t?s:null),e}regex(t,s){const e=new T;return e.minLength=this.minLength,e.maxLength=this.maxLength,e.pattern=t,e.customValidations=[...this.customValidations],s&&e.customValidations.push(n=>t.test(n)?null:s),e}email(t="Please enter a valid email address"){const s=/^[^\s@]+@[^\s@]+\.[^\s@]+$/,e=new T;return e.minLength=this.minLength,e.maxLength=this.maxLength,e.pattern=this.pattern,e.customValidations=[...this.customValidations,n=>s.test(n)?null:t],e}refine(t){const s=new T;return s.minLength=this.minLength,s.maxLength=this.maxLength,s.pattern=this.pattern,s.customValidations=[...this.customValidations,t],s}}class C extends k{mustBeTrue=!1;trueMessage;validate(t){return typeof t!="boolean"?{success:!1,errors:[{message:"Expected boolean"}]}:this.mustBeTrue&&t!==!0?{success:!1,errors:[{message:this.trueMessage||"Must be true"}]}:{success:!0,data:t}}refine(t,s){const e=new C;e.mustBeTrue=this.mustBeTrue,e.trueMessage=this.trueMessage;const n=e.validate.bind(e);return e.validate=a=>{const i=n(a);return i.success?t(i.data)?i:{success:!1,errors:[{message:s}]}:i},e}literal(t,s){const e=new C;return e.mustBeTrue=!0,e.trueMessage=s,e}}class N extends k{constructor(t){super(),this.inner=t}validate(t){if(t===void 0)return{success:!0,data:void 0};const s=this.inner.validate(t);return s.success?{success:!0,data:s.data}:{success:!1,errors:s.errors}}}class G extends k{constructor(t,s){super(),this.inner=t,this.defaultValue=s}validate(t){return t===void 0?{success:!0,data:this.defaultValue}:this.inner.validate(t)}}class $ extends k{constructor(t){super(),this.shape=t}validate(t){if(typeof t!="object"||t===null||Array.isArray(t))return{success:!1,errors:[{message:"Expected object"}]};const s=t,e={},n=[];for(const[a,i]of Object.entries(this.shape)){const d=i.validate(s[a]);if(d.success)e[a]=d.data;else for(const p of d.errors)n.push({message:p.message,path:[a,...p.path||[]]})}return n.length>0?{success:!1,errors:n}:{success:!0,data:e}}refine(t,s){const e=new $(this.shape),n=e.validate.bind(e);return e.validate=a=>{const i=n(a);if(!i.success)return i;const d=t(i.data);return d?{success:!1,errors:[{message:d,path:s?.path}]}:{success:!0,data:i.data}},e}}const J=()=>new T,Q=()=>new C,X=o=>new $(o);function I(o){return r.WithBrowserCtx(t=>{const s=[],e=()=>s.forEach(a=>a());return o(({effect:a="opaque",mode:i="capturing",onClickOutside:d,onEscape:p,content:f,container:h="body"})=>{h==="body"&&(t=t.makePortal("body"));const c=F();c.listenOnClosed(e);let v=()=>{},b=()=>{};const g=E=>{E.key==="Escape"&&(p?.(),c.close())},y=()=>{d?.(),c.close()},A=E=>{v(),b(),E==="capturing"?(document.addEventListener("keydown",g),v=()=>document.removeEventListener("keydown",g),t.element.addEventListener("mousedown",y),b=()=>t.element.removeEventListener("mousedown",y)):(v=()=>{},b=()=>{})},u=r.Value.on(i,A);s.push(u),s.push(()=>{c.dispose(),v(),b()});const l=()=>{const E=new Set;for(const m of t.element.querySelectorAll(":scope > :not([data-overlay])"))m.hasAttribute("inert")?E.add(m):m.setAttribute("inert","");return s.push(()=>{for(const m of t.element.querySelectorAll(":scope > :not([data-overlay])"))E.has(m)||m.removeAttribute("inert");E.clear()}),document.activeElement?.blur?.(),r.html.div(r.WithElement(m=>c.setElement(m)),r.dataAttr.status(c.status.map(String)),r.dataAttr.overlay("true"),r.attr.class(r.computedOf(a??"opaque",i)((m,L)=>`bc-overlay bc-overlay--effect-${m} bc-overlay--mode-${L}`)),f)},x=r.render(l(),t.element,{disposeWithParent:!0,clear:!1,providers:t.providers});s.push(x),w.g(()=>c.open())},e)})}function W(o,t){const{size:s="md",dismissable:e=!0,showCloseButton:n=!0,onClose:a,overlayEffect:i="opaque",container:d="body",position:p="center"}=o;return I((f,h)=>{let c=()=>{};return t(g=>{c=h;const y=r.prop("capturing");r.Value.on(e,m=>{y.set(m?"capturing":"non-capturing")});const A=r.computedOf(g.header!=null,n)((m,L)=>m||L),u=q.sessionId("modal"),l=`${u}-header`,x=`${u}-body`,E=r.html.div(r.attr.class(r.computedOf(s,p)((m,L)=>`bc-modal bc-modal--size-${m} bc-modal--container-${d} bc-modal--position-${L}`)),r.attr.role("dialog"),r.aria.modal(!0),...g.header?[r.aria.labelledby(l)]:[],r.aria.describedby(x),r.attr.tabindex(-1),r.attr.id(u),r.dataAttr.focusTrap("true"),r.on.mousedown(m=>m.stopPropagation()),V({escapeDeactivates:!1,initialFocus:()=>{const m=document.getElementById(u);if(!m)return null;const L=m.querySelector('[aria-label="Close modal"]');if(L)return L;const S=m.querySelector('button, input, select, textarea, [tabindex]:not([tabindex="-1"])');return S||m}}),r.html.div(r.attr.class("bc-modal__content"),r.When(A,()=>r.html.div(r.attr.class("bc-modal__header"),r.html.div(r.attr.class("bc-modal__title"),...g.header?[r.attr.id(l)]:[],g.header),r.When(n,()=>r.Use(O.BeatUII18n,m=>q.CloseButton({size:"sm",label:m.$.closeModal,onClick:()=>{c(),h()}}))))),r.html.div(r.attr.class("bc-modal__body"),r.attr.id(x),g.body),g.footer&&r.html.div(r.attr.class("bc-modal__footer"),g.footer)));f({mode:y,effect:i??"opaque",container:d,content:E,onClickOutside:()=>{a?.(),h()},onEscape:()=>{a?.(),h()}})},()=>{c(),h()})})}function Y(o,t){const{confirmText:s,cancelText:e,onConfirm:n,onCancel:a,...i}=o;return r.Use(O.BeatUII18n,d=>W({showCloseButton:!1,...i},(p,f)=>{const h=()=>{n?.(),f()},c=()=>{a?.(),f()};return t(b=>{p({body:b,footer:r.Fragment(r.attr.class("bc-modal__actions"),O.Button({variant:"outline",onClick:c},r.coalesce(e,d.$.cancel)),O.Button({color:"primary",variant:"filled",onClick:h},r.coalesce(s,d.$.confirm)))})},f)}))}exports.AnimatedToggle=K;exports.AnimatedToggleClass=D;exports.BooleanValidator=C;exports.ConfirmModal=Y;exports.FocusTrap=V;exports.Modal=W;exports.ObjectValidator=$;exports.Overlay=I;exports.StringValidator=T;exports.boolean=Q;exports.createStandardSchema=j;exports.object=X;exports.string=J;exports.useAnimatedElementToggle=F;exports.useAnimatedToggle=B;exports.useFocusTrap=U;exports.useTimedToggle=z;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as a } from "./translations-
|
|
1
|
+
import { f as a } from "./translations-CaTkLRHu.js";
|
|
2
2
|
const s = {
|
|
3
3
|
loadingExtended: "Laden, even geduld",
|
|
4
4
|
loadingShort: "Laden...",
|
|
@@ -58,23 +58,18 @@ const s = {
|
|
|
58
58
|
clearValue: "Waarde wissen",
|
|
59
59
|
unknownType: "Onbekend type",
|
|
60
60
|
filesInputInstructions: (e, o, t) => {
|
|
61
|
-
let
|
|
61
|
+
let i = e == null || e > 1 ? "Klik om te kiezen of sleep bestanden hierheen" : "Klik om te kiezen of sleep een bestand hierheen";
|
|
62
62
|
if (e || o) {
|
|
63
63
|
const n = [];
|
|
64
64
|
if (e != null && e > 1 && n.push(`tot ${e} bestanden`), o && t) {
|
|
65
|
-
const
|
|
65
|
+
const l = a(o, {
|
|
66
66
|
units: t
|
|
67
67
|
});
|
|
68
|
-
n.push(`max ${
|
|
68
|
+
n.push(`max ${l} elk`);
|
|
69
69
|
}
|
|
70
|
-
n.length > 0 && (
|
|
71
|
-
} else if (o && t) {
|
|
72
|
-
const n = a(o, {
|
|
73
|
-
units: t
|
|
74
|
-
});
|
|
75
|
-
l += ` (max ${n})`;
|
|
70
|
+
n.length > 0 && (i += ` (${n.join(", ")})`);
|
|
76
71
|
}
|
|
77
|
-
return
|
|
72
|
+
return i;
|
|
78
73
|
},
|
|
79
74
|
// prosemirror
|
|
80
75
|
prosemirror: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./translations-h_OJS1Ut.cjs"),i={loadingExtended:"Laden, even geduld",loadingShort:"Laden...",locale:"Landinstelling",iconDescription:"Pictogram",loadingIcon:"Laadpictogram",failedToLoadIcon:"Pictogram laden mislukt",editLabel:"Bewerken",selectOne:"Selecteer een",selectMany:"Selecteer meerdere",noResults:"Geen resultaten",passwordPlaceholderText:"Geheim wachtwoord",togglePasswordVisibility:"Wachtwoord zichtbaarheid wisselen",toggleMenu:"Menu wisselen",toggleAside:"Zijpaneel wisselen",mainNavigation:"Hoofdnavigatie",sidebar:"Zijbalk",closeDrawer:"Lade sluiten",closeModal:"Modaal sluiten",confirm:"Bevestigen",cancel:"Annuleren",addLabel:"Toevoegen",removeItem:"Item verwijderen",currentLocale:"Nederlands",ar:"Arabisch",de:"Duits",en:"Engels",es:"Spaans",fr:"Frans",hi:"Hindi",it:"Italiaans",ja:"Japans",ko:"Koreaans",nl:"Nederlands",pl:"Pools",pt:"Portugees",ru:"Russisch",tr:"Turks",vi:"Vietnamees",zh:"Chinees",he:"Hebreeuws",fa:"Perzisch",ur:"Urdu",emailPlaceholderText:"Voer je e-mail in",incrementValue:"Waarde verhogen",decrementValue:"Waarde verlagen",dropZoneInstructions:e=>e?"Klik om te kiezen of sleep bestanden hierheen, of druk op Enter of Spatie om bestandskiezer te openen":"Sleep bestanden hierheen",fileSizeUnits:["Bytes","KB","MB","GB","TB"],removeFile:"Bestand verwijderen",clearAllFiles:"Alle bestanden wissen",clearValue:"Waarde wissen",unknownType:"Onbekend type",filesInputInstructions:(e,t,l)=>{let o=e==null||e>1?"Klik om te kiezen of sleep bestanden hierheen":"Klik om te kiezen of sleep een bestand hierheen";if(e||t){const n=[];if(e!=null&&e>1&&n.push(`tot ${e} bestanden`),t&&l){const a=r.formatFileSize(t,{units:l});n.push(`max ${a} elk`)}n.length>0&&(o+=` (${n.join(", ")})`)}return 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"}};exports.default=i;exports.nl=i;
|