@tempots/beatui 0.94.0 → 1.0.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/ar-CuI1Jgt6.cjs +1 -0
- package/dist/{ar-8Cko5i-Z.js → ar-DaKbK_t8.js} +88 -11
- package/dist/auth/index.cjs.js +1 -1
- package/dist/auth/index.es.js +1 -1
- package/dist/{auth-divider-Rt0WDKAe.js → auth-divider-BQIhr3-R.js} +99 -98
- package/dist/auth-divider-DvnUModP.cjs +1 -0
- package/dist/beatui.css +1628 -541
- package/dist/beatui.tailwind.css +1629 -542
- package/dist/better-auth/index.cjs.js +1 -1
- package/dist/better-auth/index.es.js +9 -9
- package/dist/codehighlight/index.cjs.js +22 -0
- package/dist/codehighlight/index.es.js +76 -0
- package/dist/colors-B-p6IzX9.cjs +1 -0
- package/dist/{colors-BY0Ja_bf.js → colors-DwufPN8S.js} +18 -18
- package/dist/{de-Bt-d2iKj.js → de-3MTPDS1i.js} +83 -6
- package/dist/de-DthHehbh.cjs +1 -0
- package/dist/{deep-merge-CoLO4id0.js → deep-merge-BzIheQtH.js} +511 -517
- package/dist/deep-merge-EkjEgK0N.cjs +1 -0
- package/dist/{duration-input-47x7nbGh.cjs → duration-input-ClgYjeBa.cjs} +1 -1
- package/dist/{duration-input-DrVonjKK.js → duration-input-DGzmIImj.js} +5 -5
- package/dist/{editor-toolbar-group-CzdBZ1yr.js → editor-toolbar-group-Crlu1QJw.js} +3 -3
- package/dist/{editor-toolbar-group-DhKJdqER.cjs → editor-toolbar-group-mkL4QozO.cjs} +1 -1
- package/dist/es-B6GJLk9h.cjs +1 -0
- package/dist/{es-2llfNFX2.js → es-DwMUvBeU.js} +95 -18
- package/dist/{fa-CQVIBjKP.js → fa-0rvQiKrJ.js} +88 -11
- package/dist/fa-BwgP93iV.cjs +1 -0
- package/dist/{fr-CC3smTlW.js → fr-B4i6NzLl.js} +87 -10
- package/dist/fr-CQzk5zqY.cjs +1 -0
- package/dist/{he-CZilsN75.js → he-C71n-hsn.js} +88 -11
- package/dist/he-DcxxvRfs.cjs +1 -0
- package/dist/hi-D-KHVWg4.cjs +1 -0
- package/dist/{hi-CAZjwGv-.js → hi-xmrXpeVU.js} +88 -11
- package/dist/index-B5MAsOC-.cjs +1 -0
- package/dist/{index-B8cqD9ny.js → index-C3o9GSH6.js} +106 -105
- package/dist/index.cjs.js +4 -4
- package/dist/index.es.js +8055 -5285
- package/dist/input-container-BvEcp7FU.js +275 -0
- package/dist/input-container-Di1YvVB_.cjs +1 -0
- package/dist/{it-D6RXFIL6.js → it-CDZTtOBC.js} +84 -7
- package/dist/it-D344Dutu.cjs +1 -0
- package/dist/ja-BNgnDZ27.cjs +1 -0
- package/dist/{ja-D7zsz4Ij.js → ja-Zz1LzidW.js} +92 -15
- package/dist/json-schema/index.cjs.js +1 -1
- package/dist/json-schema/index.es.js +261 -257
- package/dist/json-schema-display/index.cjs.js +1 -1
- package/dist/json-schema-display/index.es.js +2 -2
- package/dist/json-structure/index.cjs.js +1 -1
- package/dist/json-structure/index.es.js +132 -133
- package/dist/{ko-taN2Npr4.js → ko-9laUsZDL.js} +91 -14
- package/dist/ko-D-WJ9NK7.cjs +1 -0
- package/dist/lexical/index.cjs.js +2 -39
- package/dist/lexical/index.es.js +2102 -20521
- package/dist/markdown/index.cjs.js +1 -1
- package/dist/markdown/index.es.js +41 -4
- package/dist/{menu-CV85y3Xf.js → menu-B8yoDMRS.js} +23 -23
- package/dist/menu-B92oSDct.cjs +1 -0
- package/dist/modal-BT0jjDqX.cjs +1 -0
- package/dist/{modal-ZitwUeXx.js → modal-DBguyX-b.js} +9 -9
- package/dist/monaco/index.cjs.js +2 -2
- package/dist/monaco/index.es.js +7 -7
- package/dist/nl-CrqUlFie.cjs +1 -0
- package/dist/{nl-CRC6r4Q4.js → nl-Dcll9fVA.js} +87 -10
- package/dist/{notice-E_p2hg1G.js → notice-E19wu9lA.js} +51 -51
- package/dist/notice-_9XhdrFw.cjs +1 -0
- package/dist/oneof-branch-detection-J_DYEEcD.js +1077 -0
- package/dist/oneof-branch-detection-ZUBZ6hqy.cjs +1 -0
- package/dist/pl-9UksIrvX.cjs +1 -0
- package/dist/{pl-C6qNs0Lq.js → pl-Dm9N9Gbr.js} +84 -7
- package/dist/prosemirror/index.cjs.js +3 -1
- package/dist/prosemirror/index.es.js +636 -4
- package/dist/{pt-CcWPLqBh.js → pt-CFi5cn0k.js} +89 -12
- package/dist/pt-_kfdzwqi.cjs +1 -0
- package/dist/{ru-Dt9-9m0E.js → ru-CEhZUw8R.js} +92 -15
- package/dist/ru-CW1WNNlr.cjs +1 -0
- package/dist/stack-BLMteGTn.js +15 -0
- package/dist/stack-dwLevGa2.cjs +1 -0
- package/dist/tailwind/preset.cjs.js +1 -1
- package/dist/tailwind/preset.es.js +2 -2
- package/dist/tailwind/vite-plugin.cjs.js +1 -1
- package/dist/tailwind/vite-plugin.es.js +1 -1
- package/dist/text-input-DfqXolVe.js +55 -0
- package/dist/text-input-X_q01NsY.cjs +1 -0
- package/dist/toolbar-DY0ax2Qd.js +130 -0
- package/dist/toolbar-DoKdYXIL.cjs +1 -0
- package/dist/tr-B6GIRegf.cjs +1 -0
- package/dist/{tr-CDTWeRY0.js → tr-ZmnVDhLP.js} +83 -6
- package/dist/{translations-NBY7SubC.js → translations-A4kR7CW8.js} +1 -1
- package/dist/{translations-CiBhB2FV.js → translations-B1_yyDUK.js} +185 -106
- package/dist/{translations-BdCtLBZt.cjs → translations-C81buKAw.cjs} +1 -1
- package/dist/translations-Dbx7L7Q1.cjs +1 -0
- package/dist/types/beatui-i18n/default.d.ts +72 -0
- package/dist/types/beatui-i18n/locales/en.d.ts +72 -0
- package/dist/types/beatui-i18n/translations.d.ts +72 -0
- package/dist/types/codehighlight/code-highlight.d.ts +21 -0
- package/dist/types/codehighlight/index.d.ts +14 -0
- package/dist/types/components/button/toggle-button.d.ts +4 -4
- package/dist/types/components/data/avatar.d.ts +3 -1
- package/dist/types/components/data/badge.d.ts +10 -18
- package/dist/types/components/data/column-filter-panel.d.ts +31 -0
- package/dist/types/components/data/column-filter.d.ts +110 -0
- package/dist/types/components/data/column-header-menu.d.ts +42 -0
- package/dist/types/components/data/data-source.d.ts +190 -0
- package/dist/types/components/data/data-table-body.d.ts +12 -0
- package/dist/types/components/data/data-table-column-toggle.d.ts +4 -0
- package/dist/types/components/data/data-table-context.d.ts +53 -0
- package/dist/types/components/data/data-table-header.d.ts +6 -0
- package/dist/types/components/data/data-table-resolve.d.ts +26 -0
- package/dist/types/components/data/data-table-types.d.ts +201 -0
- package/dist/types/components/data/data-table.d.ts +38 -0
- package/dist/types/components/data/data-toolbar.d.ts +44 -0
- package/dist/types/components/data/date-picker-shared.d.ts +55 -0
- package/dist/types/components/data/date-picker.d.ts +58 -0
- package/dist/types/components/data/date-range-picker.d.ts +56 -0
- package/dist/types/components/data/filter.d.ts +268 -0
- package/dist/types/components/data/index.d.ts +13 -4
- package/dist/types/components/data/indicator.d.ts +41 -0
- package/dist/types/components/data/progress-bar.d.ts +2 -2
- package/dist/types/components/data/selection-checkbox.d.ts +63 -0
- package/dist/types/components/data/skeleton.d.ts +1 -1
- package/dist/types/components/data/sortable-header.d.ts +55 -0
- package/dist/types/components/data/unstyled-drop-zone.d.ts +2 -2
- package/dist/types/components/form/control/control.d.ts +9 -9
- package/dist/types/components/form/input/advanced-slider.d.ts +6 -6
- package/dist/types/components/form/input/appearance-selector.d.ts +9 -2
- package/dist/types/components/form/input/checkbox-input.d.ts +6 -7
- package/dist/types/components/form/input/color-input.d.ts +1 -1
- package/dist/types/components/form/input/color-swatch-input.d.ts +3 -3
- package/dist/types/components/form/input/combobox-input.d.ts +5 -5
- package/dist/types/components/form/input/combobox-tags-input.d.ts +5 -5
- package/dist/types/components/form/input/create-nullable-string-input.d.ts +2 -2
- package/dist/types/components/form/input/date-input.d.ts +4 -4
- package/dist/types/components/form/input/dropdown-input.d.ts +5 -5
- package/dist/types/components/form/input/editable-text.d.ts +2 -2
- package/dist/types/components/form/input/email-input.d.ts +4 -4
- package/dist/types/components/form/input/index.d.ts +1 -0
- package/dist/types/components/form/input/input-container.d.ts +1 -1
- package/dist/types/components/form/input/input-options.d.ts +28 -1
- package/dist/types/components/form/input/mask-input.d.ts +8 -2
- package/dist/types/components/form/input/native-select.d.ts +3 -3
- package/dist/types/components/form/input/nullable-date-input.d.ts +2 -2
- package/dist/types/components/form/input/nullable-email-input.d.ts +3 -3
- package/dist/types/components/form/input/nullable-rating-input.d.ts +8 -8
- package/dist/types/components/form/input/nullable-uuid-input.d.ts +4 -4
- package/dist/types/components/form/input/number-input.d.ts +3 -3
- package/dist/types/components/form/input/otp-input.d.ts +12 -12
- package/dist/types/components/form/input/rating-input.d.ts +7 -8
- package/dist/types/components/form/input/select-tags-input.d.ts +5 -5
- package/dist/types/components/form/input/switch.d.ts +2 -2
- package/dist/types/components/form/input/tri-state-checkbox-input.d.ts +82 -0
- package/dist/types/components/form/input/uuid-input.d.ts +2 -2
- package/dist/types/components/json-structure/controls/uuid-control.d.ts +1 -1
- package/dist/types/components/layout/card.d.ts +66 -0
- package/dist/types/components/layout/collapse.d.ts +2 -2
- package/dist/types/components/layout/flex.d.ts +26 -0
- package/dist/types/components/layout/index.d.ts +1 -0
- package/dist/types/components/lexical/floating/slash-command-palette.d.ts +2 -2
- package/dist/types/components/lexical/toolbar/toolbar-registry.d.ts +2 -1
- package/dist/types/components/media/pdf-page-viewer.d.ts +8 -5
- package/dist/types/components/misc/index.d.ts +1 -0
- package/dist/types/components/misc/loading-overlay.d.ts +29 -0
- package/dist/types/components/misc/notice.d.ts +4 -4
- package/dist/types/components/misc/notification-provider.d.ts +9 -3
- package/dist/types/components/misc/notification.d.ts +9 -9
- package/dist/types/components/navigation/breadcrumbs.d.ts +1 -1
- package/dist/types/components/navigation/menu.d.ts +6 -6
- package/dist/types/components/navigation/pagination.d.ts +17 -4
- package/dist/types/components/navigation/sidebar/sidebar-link.d.ts +2 -2
- package/dist/types/components/navigation/tabs/tabs.d.ts +17 -8
- package/dist/types/components/navigation/toolbar/toolbar.d.ts +12 -6
- package/dist/types/components/overlay/announcement-bar.d.ts +12 -4
- package/dist/types/components/overlay/dialogs.d.ts +2 -2
- package/dist/types/components/overlay/modal.d.ts +9 -2
- package/dist/types/components/overlay/tooltip.d.ts +6 -6
- package/dist/types/components/theme/types.d.ts +15 -4
- package/dist/types/lexical/index.d.ts +2 -2
- package/dist/types/lexical/plugins/index.d.ts +1 -1
- package/dist/types/lexical/plugins/slash-commands.d.ts +1 -1
- package/dist/types/lexical/plugins/text.d.ts +5 -0
- package/dist/types/lexical/types.d.ts +126 -5
- package/dist/types/lexical-i18n/default.d.ts +1 -0
- package/dist/types/lexical-i18n/locales/ar.d.ts +1 -0
- package/dist/types/lexical-i18n/locales/de.d.ts +1 -0
- package/dist/types/lexical-i18n/locales/en.d.ts +1 -0
- package/dist/types/lexical-i18n/locales/es.d.ts +1 -0
- package/dist/types/lexical-i18n/locales/fa.d.ts +1 -0
- package/dist/types/lexical-i18n/locales/fr.d.ts +1 -0
- package/dist/types/lexical-i18n/locales/he.d.ts +1 -0
- package/dist/types/lexical-i18n/locales/hi.d.ts +1 -0
- package/dist/types/lexical-i18n/locales/it.d.ts +1 -0
- package/dist/types/lexical-i18n/locales/ja.d.ts +1 -0
- package/dist/types/lexical-i18n/locales/ko.d.ts +1 -0
- package/dist/types/lexical-i18n/locales/nl.d.ts +1 -0
- package/dist/types/lexical-i18n/locales/pl.d.ts +1 -0
- package/dist/types/lexical-i18n/locales/pt.d.ts +1 -0
- package/dist/types/lexical-i18n/locales/ru.d.ts +1 -0
- package/dist/types/lexical-i18n/locales/tr.d.ts +1 -0
- package/dist/types/lexical-i18n/locales/ur.d.ts +1 -0
- package/dist/types/lexical-i18n/locales/vi.d.ts +1 -0
- package/dist/types/lexical-i18n/locales/zh.d.ts +1 -0
- package/dist/types/tokens/z-index.d.ts +18 -18
- package/dist/types/utils/use-animated-toggle.d.ts +12 -4
- package/dist/ur-CtFl_tz6.cjs +1 -0
- package/dist/{ur-CLrK5FPQ.js → ur-yYgj3NmT.js} +88 -11
- package/dist/use-animated-toggle-C3asw_Sg.js +207 -0
- package/dist/use-animated-toggle-cKcuItmz.cjs +1 -0
- package/dist/use-form-CaW192gw.cjs +2 -0
- package/dist/{use-form-BQRVnIp9.js → use-form-Dn6v2tEh.js} +153 -152
- package/dist/utils-DmEuG3Np.cjs +1 -0
- package/dist/utils-vUtP6iPG.js +165 -0
- package/dist/{vi-B1_QDUQJ.js → vi-D5u4CLQO.js} +89 -12
- package/dist/vi-DyCZSpsk.cjs +1 -0
- package/dist/widget-customization-DgW1SXN6.cjs +1 -0
- package/dist/{widget-customization-C-fSx3RB.js → widget-customization-Dkx7kNSe.js} +413 -398
- package/dist/{zh-rDtQ92Pp.js → zh-B0kwMMer.js} +91 -14
- package/dist/zh-C3ZxMQKb.cjs +1 -0
- package/package.json +209 -38
- package/dist/_commonjsHelpers-DKOUU3wS.cjs +0 -1
- package/dist/_commonjsHelpers-DaMA6jEr.js +0 -8
- package/dist/ar-D2DjoXta.cjs +0 -1
- package/dist/auth-divider-C3E16pml.cjs +0 -1
- package/dist/colors-BI0YhONJ.cjs +0 -1
- package/dist/de-Cdf3432J.cjs +0 -1
- package/dist/deep-merge-Blrucd-E.cjs +0 -1
- package/dist/es-6fFPkKHL.cjs +0 -1
- package/dist/fa-GXyNzAXz.cjs +0 -1
- package/dist/fr-C6EYTwSH.cjs +0 -1
- package/dist/he-CJUgxvi8.cjs +0 -1
- package/dist/hi-DqIR4VtX.cjs +0 -1
- package/dist/hls.light.min-C6xKDzRR.cjs +0 -27
- package/dist/hls.light.min-hEMf_E8u.js +0 -8311
- package/dist/index-1JaBwDB-.js +0 -921
- package/dist/index-B-cwxUsP.cjs +0 -1
- package/dist/index-BFzxpY7y.js +0 -68
- package/dist/index-BOC0cVoY.cjs +0 -36
- package/dist/index-CN10Cyqr.cjs +0 -1
- package/dist/index-CTcbhnPw.cjs +0 -4
- package/dist/index-DF7RFzD9.cjs +0 -1
- package/dist/index-DJ9YIJcG.js +0 -14308
- package/dist/index-DfPkCwdC.js +0 -2709
- package/dist/input-container-9r1F3KuX.js +0 -263
- package/dist/input-container-DiYEl_y8.cjs +0 -1
- package/dist/it-BvHsJ7fH.cjs +0 -1
- package/dist/ja-B2gP7OHY.cjs +0 -1
- package/dist/ko-BddhddIA.cjs +0 -1
- package/dist/menu-De_-sGeb.cjs +0 -1
- package/dist/modal-DUlqGUW7.cjs +0 -1
- package/dist/nl-COrtZUnH.cjs +0 -1
- package/dist/notice-DAVOTnfA.cjs +0 -1
- package/dist/oneof-branch-detection-D6Xa8qNR.cjs +0 -8
- package/dist/oneof-branch-detection-DCPwyutI.js +0 -6290
- package/dist/pl-BHI4zBgV.cjs +0 -1
- package/dist/pt-BGzC9MhU.cjs +0 -1
- package/dist/ru-CXeFbIPb.cjs +0 -1
- package/dist/stack-4VUGISn6.cjs +0 -1
- package/dist/stack-Bm-UZosx.js +0 -879
- package/dist/string-B9vVyfq3.cjs +0 -1
- package/dist/string-DYyMxBl-.js +0 -19
- package/dist/text-input-BgPx8BbG.js +0 -45
- package/dist/text-input-DUnhBUd6.cjs +0 -1
- package/dist/timer-BJHOsuS6.cjs +0 -1
- package/dist/timer-Rd2sKnvH.js +0 -65
- package/dist/toolbar-DKOh_gbA.js +0 -118
- package/dist/toolbar-Dkc2y1dI.cjs +0 -1
- package/dist/tr-CdOtQAtA.cjs +0 -1
- package/dist/translations-Cy9hoMGV.cjs +0 -1
- package/dist/types/components/data/calendar-shared.d.ts +0 -59
- package/dist/types/components/data/calendar.d.ts +0 -107
- package/dist/types/components/data/icon-badge.d.ts +0 -14
- package/dist/types/components/data/range-calendar.d.ts +0 -104
- package/dist/types/components/data/tag.d.ts +0 -51
- package/dist/ur-C7itXvnC.cjs +0 -1
- package/dist/use-animated-toggle-C7PTmnZi.js +0 -195
- package/dist/use-animated-toggle-DrqK7nUS.cjs +0 -1
- package/dist/use-form-DTyNw0kM.cjs +0 -2
- package/dist/utils-DEbsp9Q9.js +0 -129
- package/dist/utils-DIUEhA-Z.cjs +0 -1
- package/dist/vi-CQrUWB3y.cjs +0 -1
- package/dist/widget-customization-xEBfEPhQ.cjs +0 -1
- package/dist/zh-DWswYYTS.cjs +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as
|
|
1
|
+
import { f as n } from "./translations-B1_yyDUK.js";
|
|
2
2
|
const s = {
|
|
3
3
|
loadingExtended: "Yükleniyor, lütfen bekleyin",
|
|
4
4
|
loadingShort: "Yükleniyor...",
|
|
@@ -59,18 +59,18 @@ const s = {
|
|
|
59
59
|
clearValue: "Değeri temizle",
|
|
60
60
|
unknownType: "Bilinmeyen tür",
|
|
61
61
|
filesInputInstructions: (e, a, l) => {
|
|
62
|
-
let
|
|
62
|
+
let t = e == null || e > 1 ? "Seçmek için tıklayın veya dosyaları buraya sürükleyin" : "Seçmek için tıklayın veya dosyayı buraya sürükleyin";
|
|
63
63
|
if (e || a) {
|
|
64
64
|
const i = [];
|
|
65
65
|
if (e != null && e > 1 && i.push(`en fazla ${e} dosya`), a && l) {
|
|
66
|
-
const
|
|
66
|
+
const r = n(a, {
|
|
67
67
|
units: l
|
|
68
68
|
});
|
|
69
|
-
i.push(`her biri en fazla ${
|
|
69
|
+
i.push(`her biri en fazla ${r}`);
|
|
70
70
|
}
|
|
71
|
-
i.length > 0 && (
|
|
71
|
+
i.length > 0 && (t += ` (${i.join(", ")})`);
|
|
72
72
|
}
|
|
73
|
-
return
|
|
73
|
+
return t;
|
|
74
74
|
},
|
|
75
75
|
// Pagination
|
|
76
76
|
paginationLabel: "Sayfalama",
|
|
@@ -113,6 +113,7 @@ const s = {
|
|
|
113
113
|
lexical: {
|
|
114
114
|
fontFamily: "Yazı Tipi",
|
|
115
115
|
fontSize: "Yazı Boyutu",
|
|
116
|
+
lineHeight: "Satır yüksekliği",
|
|
116
117
|
fontColor: "Yazı Rengi",
|
|
117
118
|
highlightColor: "Vurgu Rengi",
|
|
118
119
|
backgroundColor: "Arka Plan Rengi",
|
|
@@ -155,6 +156,82 @@ const s = {
|
|
|
155
156
|
deleteTable: "Delete table"
|
|
156
157
|
},
|
|
157
158
|
// prosemirror
|
|
159
|
+
dataTable: {
|
|
160
|
+
sortAscending: "Artan sıralama",
|
|
161
|
+
sortDescending: "Azalan sıralama",
|
|
162
|
+
clearSort: "Sıralamayı temizle",
|
|
163
|
+
filterPlaceholder: "Filtrele...",
|
|
164
|
+
clearFilter: "Filtreyi temizle",
|
|
165
|
+
selectAll: "Tümünü seç",
|
|
166
|
+
deselectAll: "Tümünü kaldır",
|
|
167
|
+
selectedCount: (e) => `${e} seçildi`,
|
|
168
|
+
resetAll: "Tümünü sıfırla",
|
|
169
|
+
noResults: "Sonuç bulunamadı",
|
|
170
|
+
loading: "Yükleniyor...",
|
|
171
|
+
// Filter panel
|
|
172
|
+
filterPanelAddCondition: "Koşul ekle",
|
|
173
|
+
filterPanelApply: "Uygula",
|
|
174
|
+
filterPanelClear: "Filtreleri temizle",
|
|
175
|
+
filterPanelAnd: "VE",
|
|
176
|
+
filterPanelOr: "VEYA",
|
|
177
|
+
filterPanelContains: "İçerir",
|
|
178
|
+
filterPanelNotContains: "İçermez",
|
|
179
|
+
filterPanelEquals: "Eşittir",
|
|
180
|
+
filterPanelNotEquals: "Eşit değildir",
|
|
181
|
+
filterPanelStartsWith: "İle başlar",
|
|
182
|
+
filterPanelEndsWith: "İle biter",
|
|
183
|
+
filterPanelIsNull: "Boş",
|
|
184
|
+
filterPanelIsNotNull: "Boş değil",
|
|
185
|
+
filterPanelGt: "Büyüktür",
|
|
186
|
+
filterPanelGte: "Büyük veya eşit",
|
|
187
|
+
filterPanelLt: "Küçüktür",
|
|
188
|
+
filterPanelLte: "Küçük veya eşit",
|
|
189
|
+
filterPanelBetween: "Arasında",
|
|
190
|
+
filterPanelValuePlaceholder: "Değer...",
|
|
191
|
+
sortMultiHint: "Birden fazla sütunu sıralamak için Shift tuşunu basılı tutun",
|
|
192
|
+
columnVisibility: "Sütunlar",
|
|
193
|
+
showAllColumns: "Tümünü göster",
|
|
194
|
+
// Column header menu
|
|
195
|
+
menuSortAsc: "Artan sırada sırala",
|
|
196
|
+
menuSortDesc: "Azalan sırada sırala",
|
|
197
|
+
menuClearSort: "Sıralamayı temizle",
|
|
198
|
+
menuHideColumn: "Sütunu gizle",
|
|
199
|
+
menuChooseColumns: "Sütun seç",
|
|
200
|
+
menuResetColumns: "Sütunları sıfırla",
|
|
201
|
+
menuFilter: "Filtrele",
|
|
202
|
+
// Row count footer
|
|
203
|
+
rowCount: (e, a) => `Satırlar: ${e} Toplam satır: ${a}`,
|
|
204
|
+
// Tags filter
|
|
205
|
+
filterTagsPlaceholder: "Değer seçin...",
|
|
206
|
+
// Group by
|
|
207
|
+
groupCount: (e) => `${e} öğe`,
|
|
208
|
+
collapseGroup: "Grubu daralt",
|
|
209
|
+
expandGroup: "Grubu genişlet",
|
|
210
|
+
describeFilter: {
|
|
211
|
+
textContains: (e, a) => `${e} "${a}" içerir`,
|
|
212
|
+
textNotContains: (e, a) => `${e} "${a}" içermez`,
|
|
213
|
+
textEquals: (e, a) => `${e} "${a}" eşittir`,
|
|
214
|
+
textNotEquals: (e, a) => `${e} "${a}" eşit değildir`,
|
|
215
|
+
textStartsWith: (e, a) => `${e} "${a}" ile başlar`,
|
|
216
|
+
textEndsWith: (e, a) => `${e} "${a}" ile biter`,
|
|
217
|
+
compareEq: (e, a) => `${e} = ${a}`,
|
|
218
|
+
compareNeq: (e, a) => `${e} ≠ ${a}`,
|
|
219
|
+
compareGt: (e, a) => `${e} > ${a}`,
|
|
220
|
+
compareGte: (e, a) => `${e} ≥ ${a}`,
|
|
221
|
+
compareLt: (e, a) => `${e} < ${a}`,
|
|
222
|
+
compareLte: (e, a) => `${e} ≤ ${a}`,
|
|
223
|
+
rangeBetween: (e, a, l) => `${e} ${a} ile ${l} arasında`,
|
|
224
|
+
rangeGte: (e, a) => `${e} ≥ ${a}`,
|
|
225
|
+
rangeLte: (e, a) => `${e} ≤ ${a}`,
|
|
226
|
+
setIn: (e, a) => `${e} [${a}] içinde`,
|
|
227
|
+
setNotIn: (e, a) => `${e} [${a}] içinde değil`,
|
|
228
|
+
booleanIs: (e, a) => `${e} ${a}`,
|
|
229
|
+
isNull: (e) => `${e} boş`,
|
|
230
|
+
isNotNull: (e) => `${e} boş değil`,
|
|
231
|
+
compositeAnd: (e) => e.join(" VE "),
|
|
232
|
+
compositeOr: (e) => e.join(" VEYA ")
|
|
233
|
+
}
|
|
234
|
+
},
|
|
158
235
|
prosemirror: {
|
|
159
236
|
bold: "Bold",
|
|
160
237
|
italic: "Italic",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { localStorageProp as
|
|
2
|
-
import { WhenInViewport as
|
|
3
|
-
import { b as
|
|
4
|
-
function
|
|
1
|
+
import { localStorageProp as y, computedOf as g, makeProviderMark as x, Use as N, html as p, attr as u, When as b, Fragment as k, aria as f, coalesce as F, style as P, prop as $ } from "@tempots/dom";
|
|
2
|
+
import { WhenInViewport as R, Query as A } from "@tempots/ui";
|
|
3
|
+
import { b as T, g as E } from "./colors-DwufPN8S.js";
|
|
4
|
+
function M(e, {
|
|
5
5
|
units: t = ["B", "KB", "MB", "GB", "TB"],
|
|
6
6
|
decimalPlaces: o = 0,
|
|
7
7
|
locale: a
|
|
@@ -29,7 +29,7 @@ function O(e, {
|
|
|
29
29
|
maximumFractionDigits: r === 0 ? 0 : o
|
|
30
30
|
}).format(n).replace("byte", t[r]);
|
|
31
31
|
}
|
|
32
|
-
const
|
|
32
|
+
const O = {
|
|
33
33
|
loadingExtended: "Loading, please wait",
|
|
34
34
|
loadingShort: "Loading...",
|
|
35
35
|
locale: "Locale",
|
|
@@ -93,7 +93,7 @@ const U = {
|
|
|
93
93
|
if (e || t) {
|
|
94
94
|
const r = [];
|
|
95
95
|
if (e != null && e > 1 && r.push(`up to ${e} files`), t && o) {
|
|
96
|
-
const n =
|
|
96
|
+
const n = M(t, {
|
|
97
97
|
units: o
|
|
98
98
|
});
|
|
99
99
|
r.push(`max ${n} each`);
|
|
@@ -143,6 +143,7 @@ const U = {
|
|
|
143
143
|
lexical: {
|
|
144
144
|
fontFamily: "Font Family",
|
|
145
145
|
fontSize: "Font Size",
|
|
146
|
+
lineHeight: "Line Height",
|
|
146
147
|
fontColor: "Font Color",
|
|
147
148
|
highlightColor: "Highlight Color",
|
|
148
149
|
backgroundColor: "Background Color",
|
|
@@ -184,6 +185,84 @@ const U = {
|
|
|
184
185
|
deleteColumn: "Delete column",
|
|
185
186
|
deleteTable: "Delete table"
|
|
186
187
|
},
|
|
188
|
+
// Data table
|
|
189
|
+
dataTable: {
|
|
190
|
+
sortAscending: "Sort ascending",
|
|
191
|
+
sortDescending: "Sort descending",
|
|
192
|
+
clearSort: "Clear sort",
|
|
193
|
+
filterPlaceholder: "Filter...",
|
|
194
|
+
clearFilter: "Clear filter",
|
|
195
|
+
selectAll: "Select all",
|
|
196
|
+
deselectAll: "Deselect all",
|
|
197
|
+
selectedCount: (e) => `${e} selected`,
|
|
198
|
+
resetAll: "Reset all",
|
|
199
|
+
noResults: "No results found",
|
|
200
|
+
loading: "Loading...",
|
|
201
|
+
// Filter panel
|
|
202
|
+
filterPanelAddCondition: "Add condition",
|
|
203
|
+
filterPanelApply: "Apply",
|
|
204
|
+
filterPanelClear: "Clear filters",
|
|
205
|
+
filterPanelAnd: "AND",
|
|
206
|
+
filterPanelOr: "OR",
|
|
207
|
+
filterPanelContains: "Contains",
|
|
208
|
+
filterPanelNotContains: "Does not contain",
|
|
209
|
+
filterPanelEquals: "Equals",
|
|
210
|
+
filterPanelNotEquals: "Does not equal",
|
|
211
|
+
filterPanelStartsWith: "Starts with",
|
|
212
|
+
filterPanelEndsWith: "Ends with",
|
|
213
|
+
filterPanelIsNull: "Is empty",
|
|
214
|
+
filterPanelIsNotNull: "Is not empty",
|
|
215
|
+
filterPanelGt: "Greater than",
|
|
216
|
+
filterPanelGte: "Greater or equal",
|
|
217
|
+
filterPanelLt: "Less than",
|
|
218
|
+
filterPanelLte: "Less or equal",
|
|
219
|
+
filterPanelBetween: "Between",
|
|
220
|
+
filterPanelValuePlaceholder: "Value...",
|
|
221
|
+
sortMultiHint: "Hold Shift to sort multiple columns",
|
|
222
|
+
columnVisibility: "Columns",
|
|
223
|
+
showAllColumns: "Show all",
|
|
224
|
+
// Column header menu
|
|
225
|
+
menuSortAsc: "Sort Ascending",
|
|
226
|
+
menuSortDesc: "Sort Descending",
|
|
227
|
+
menuClearSort: "Clear Sort",
|
|
228
|
+
menuHideColumn: "Hide Column",
|
|
229
|
+
menuChooseColumns: "Choose Columns",
|
|
230
|
+
menuResetColumns: "Reset Columns",
|
|
231
|
+
menuFilter: "Filter",
|
|
232
|
+
// Row count footer
|
|
233
|
+
rowCount: (e, t) => `Rows: ${e} Total Rows: ${t}`,
|
|
234
|
+
// Tags filter
|
|
235
|
+
filterTagsPlaceholder: "Select values...",
|
|
236
|
+
// Group by
|
|
237
|
+
groupCount: (e) => `${e} items`,
|
|
238
|
+
collapseGroup: "Collapse group",
|
|
239
|
+
expandGroup: "Expand group",
|
|
240
|
+
// Filter descriptions (for toolbar chips)
|
|
241
|
+
describeFilter: {
|
|
242
|
+
textContains: (e, t) => `${e} contains "${t}"`,
|
|
243
|
+
textNotContains: (e, t) => `${e} does not contain "${t}"`,
|
|
244
|
+
textEquals: (e, t) => `${e} equals "${t}"`,
|
|
245
|
+
textNotEquals: (e, t) => `${e} does not equal "${t}"`,
|
|
246
|
+
textStartsWith: (e, t) => `${e} starts with "${t}"`,
|
|
247
|
+
textEndsWith: (e, t) => `${e} ends with "${t}"`,
|
|
248
|
+
compareEq: (e, t) => `${e} = ${t}`,
|
|
249
|
+
compareNeq: (e, t) => `${e} ≠ ${t}`,
|
|
250
|
+
compareGt: (e, t) => `${e} > ${t}`,
|
|
251
|
+
compareGte: (e, t) => `${e} ≥ ${t}`,
|
|
252
|
+
compareLt: (e, t) => `${e} < ${t}`,
|
|
253
|
+
compareLte: (e, t) => `${e} ≤ ${t}`,
|
|
254
|
+
rangeBetween: (e, t, o) => `${e} between ${t} and ${o}`,
|
|
255
|
+
rangeGte: (e, t) => `${e} ≥ ${t}`,
|
|
256
|
+
rangeLte: (e, t) => `${e} ≤ ${t}`,
|
|
257
|
+
setIn: (e, t) => `${e} in [${t}]`,
|
|
258
|
+
setNotIn: (e, t) => `${e} not in [${t}]`,
|
|
259
|
+
booleanIs: (e, t) => `${e} is ${t}`,
|
|
260
|
+
isNull: (e) => `${e} is empty`,
|
|
261
|
+
isNotNull: (e) => `${e} is not empty`,
|
|
262
|
+
compositeAnd: (e) => e.join(" AND "),
|
|
263
|
+
compositeOr: (e) => e.join(" OR ")
|
|
264
|
+
}
|
|
265
|
+
},
|
|
187
266
|
// ProseMirror editor
|
|
188
267
|
prosemirror: {
|
|
189
268
|
bold: "Bold",
|
|
@@ -207,7 +286,7 @@ const U = {
|
|
|
207
286
|
pageOutOfRange: (e, t) => `Page ${e} is out of range (1-${t})`,
|
|
208
287
|
renderFailed: "Failed to render PDF page"
|
|
209
288
|
}
|
|
210
|
-
},
|
|
289
|
+
}, v = O, I = "en", V = /* @__PURE__ */ new Set([
|
|
211
290
|
"ar",
|
|
212
291
|
// Arabic
|
|
213
292
|
"he",
|
|
@@ -233,24 +312,24 @@ const U = {
|
|
|
233
312
|
"in"
|
|
234
313
|
// Indonesian (deprecated, but sometimes confused)
|
|
235
314
|
]);
|
|
236
|
-
function
|
|
315
|
+
function S(e) {
|
|
237
316
|
if (!e) return "ltr";
|
|
238
317
|
const t = e.split(/[-_]/)[0].toLowerCase();
|
|
239
|
-
return
|
|
318
|
+
return V.has(t) ? "rtl" : "ltr";
|
|
240
319
|
}
|
|
241
|
-
function
|
|
242
|
-
return e === "auto" ?
|
|
320
|
+
function q(e, t) {
|
|
321
|
+
return e === "auto" ? S(t) : e;
|
|
243
322
|
}
|
|
244
323
|
function ue(e) {
|
|
245
324
|
return `b-${e}`;
|
|
246
325
|
}
|
|
247
326
|
function de(e) {
|
|
248
|
-
return
|
|
327
|
+
return S(e) === "rtl";
|
|
249
328
|
}
|
|
250
329
|
function fe(e) {
|
|
251
330
|
return e === "ltr" ? "rtl" : "ltr";
|
|
252
331
|
}
|
|
253
|
-
const
|
|
332
|
+
const j = {
|
|
254
333
|
ltr: {
|
|
255
334
|
"inline-start": "left",
|
|
256
335
|
"inline-end": "right",
|
|
@@ -265,22 +344,22 @@ const E = {
|
|
|
265
344
|
}
|
|
266
345
|
};
|
|
267
346
|
function he(e, t) {
|
|
268
|
-
return
|
|
347
|
+
return j[t][e];
|
|
269
348
|
}
|
|
270
|
-
const
|
|
271
|
-
mark:
|
|
349
|
+
const U = {
|
|
350
|
+
mark: x("Locale"),
|
|
272
351
|
create: (e) => {
|
|
273
|
-
const t =
|
|
352
|
+
const t = y({
|
|
274
353
|
defaultValue: navigator.language ?? "en-US",
|
|
275
354
|
key: "beatui-locale"
|
|
276
|
-
}), o =
|
|
355
|
+
}), o = y({
|
|
277
356
|
defaultValue: "auto",
|
|
278
357
|
key: "beatui-direction-preference"
|
|
279
|
-
}), a =
|
|
358
|
+
}), a = g(
|
|
280
359
|
t,
|
|
281
360
|
o
|
|
282
361
|
)(
|
|
283
|
-
(n, l) =>
|
|
362
|
+
(n, l) => q(l, n)
|
|
284
363
|
);
|
|
285
364
|
return {
|
|
286
365
|
value: {
|
|
@@ -296,10 +375,10 @@ const z = {
|
|
|
296
375
|
};
|
|
297
376
|
}
|
|
298
377
|
}, {
|
|
299
|
-
variants:
|
|
300
|
-
special:
|
|
301
|
-
overrides:
|
|
302
|
-
} =
|
|
378
|
+
variants: G,
|
|
379
|
+
special: H,
|
|
380
|
+
overrides: w
|
|
381
|
+
} = T;
|
|
303
382
|
function d(e, t) {
|
|
304
383
|
switch (e) {
|
|
305
384
|
case "white":
|
|
@@ -309,69 +388,69 @@ function d(e, t) {
|
|
|
309
388
|
case "transparent":
|
|
310
389
|
return "transparent";
|
|
311
390
|
default:
|
|
312
|
-
return
|
|
391
|
+
return E(e, t);
|
|
313
392
|
}
|
|
314
393
|
}
|
|
315
|
-
function
|
|
316
|
-
const o =
|
|
394
|
+
function D(e, t) {
|
|
395
|
+
const o = H[e];
|
|
317
396
|
if (!o) return;
|
|
318
397
|
if (t === "light")
|
|
319
398
|
return o;
|
|
320
|
-
const a =
|
|
399
|
+
const a = w[e];
|
|
321
400
|
return a ? a[t] : o;
|
|
322
401
|
}
|
|
323
|
-
function
|
|
324
|
-
const a =
|
|
402
|
+
function pe(e, t, o) {
|
|
403
|
+
const a = w[e];
|
|
325
404
|
if (a) {
|
|
326
405
|
const n = a[o];
|
|
327
406
|
if (n)
|
|
328
407
|
return { backgroundColor: n.backgroundColor, textColor: n.color };
|
|
329
408
|
}
|
|
330
409
|
if (t === "solid") {
|
|
331
|
-
const n =
|
|
410
|
+
const n = D(e, o);
|
|
332
411
|
if (n)
|
|
333
412
|
return {
|
|
334
413
|
backgroundColor: n.backgroundColor,
|
|
335
414
|
textColor: n.color
|
|
336
415
|
};
|
|
337
416
|
}
|
|
338
|
-
const r =
|
|
417
|
+
const r = G[t][o];
|
|
339
418
|
return {
|
|
340
419
|
backgroundColor: d(e, r.bgShade),
|
|
341
420
|
textColor: r.textColor
|
|
342
421
|
};
|
|
343
422
|
}
|
|
344
|
-
const
|
|
423
|
+
const z = {
|
|
345
424
|
light: { shade: 700, textColor: "var(--color-white)" },
|
|
346
425
|
dark: { shade: 500, textColor: "var(--text-inverted-dark)" }
|
|
347
|
-
},
|
|
426
|
+
}, _ = {
|
|
348
427
|
light: { shade: 200, textColor: "var(--text-normal-light)" },
|
|
349
428
|
dark: { shade: 700, textColor: "var(--text-normal-dark)" }
|
|
350
|
-
},
|
|
429
|
+
}, W = {
|
|
351
430
|
light: { shade: 400, textColor: "var(--text-normal-light)" },
|
|
352
431
|
dark: { shade: 600, textColor: "var(--text-normal-dark)" }
|
|
353
432
|
};
|
|
354
|
-
function
|
|
355
|
-
const a =
|
|
433
|
+
function ge(e, t, o) {
|
|
434
|
+
const a = w[e];
|
|
356
435
|
if (a) {
|
|
357
436
|
const n = a[o];
|
|
358
437
|
if (n)
|
|
359
438
|
return { backgroundColor: n.backgroundColor, textColor: n.color };
|
|
360
439
|
}
|
|
361
440
|
if (t === "solid") {
|
|
362
|
-
const n =
|
|
441
|
+
const n = D(e, o);
|
|
363
442
|
if (n)
|
|
364
443
|
return {
|
|
365
444
|
backgroundColor: n.backgroundColor,
|
|
366
445
|
textColor: n.color
|
|
367
446
|
};
|
|
368
|
-
const l =
|
|
447
|
+
const l = z[o];
|
|
369
448
|
return {
|
|
370
449
|
backgroundColor: d(e, l.shade),
|
|
371
450
|
textColor: l.textColor
|
|
372
451
|
};
|
|
373
452
|
}
|
|
374
|
-
const r = t === "light" ?
|
|
453
|
+
const r = t === "light" ? _[o] : W[o];
|
|
375
454
|
return {
|
|
376
455
|
backgroundColor: d(e, r.shade),
|
|
377
456
|
textColor: r.textColor
|
|
@@ -390,13 +469,13 @@ function me(e, t) {
|
|
|
390
469
|
return d(e, o);
|
|
391
470
|
}
|
|
392
471
|
}
|
|
393
|
-
function
|
|
472
|
+
function Ce(e, t) {
|
|
394
473
|
return e === "white" ? "var(--color-white)" : e === "black" ? "var(--color-black)" : e === "transparent" ? "inherit" : d(e, t === "light" ? 800 : 200);
|
|
395
474
|
}
|
|
396
475
|
function L(e, t, o) {
|
|
397
476
|
return t === "soft" ? d(e, o === "light" ? 300 : 700) : d(e, o === "light" ? 500 : 600);
|
|
398
477
|
}
|
|
399
|
-
const
|
|
478
|
+
const K = "bui-icons", m = /* @__PURE__ */ new Map(), B = (() => {
|
|
400
479
|
try {
|
|
401
480
|
return typeof indexedDB < "u" && indexedDB !== null;
|
|
402
481
|
} catch {
|
|
@@ -404,8 +483,8 @@ const W = "bui-icons", m = /* @__PURE__ */ new Map(), F = (() => {
|
|
|
404
483
|
}
|
|
405
484
|
})();
|
|
406
485
|
function J() {
|
|
407
|
-
return
|
|
408
|
-
const o = indexedDB.open(
|
|
486
|
+
return B ? new Promise((e, t) => {
|
|
487
|
+
const o = indexedDB.open(K, 1);
|
|
409
488
|
o.onupgradeneeded = function(a) {
|
|
410
489
|
const r = a.target.result;
|
|
411
490
|
r.objectStoreNames.contains("icons") || r.createObjectStore("icons");
|
|
@@ -416,11 +495,11 @@ function J() {
|
|
|
416
495
|
};
|
|
417
496
|
}) : Promise.reject(new Error("IndexedDB not available"));
|
|
418
497
|
}
|
|
419
|
-
const
|
|
498
|
+
const C = B ? J() : null;
|
|
420
499
|
async function Q(e, t) {
|
|
421
500
|
try {
|
|
422
|
-
if (
|
|
423
|
-
const o = await
|
|
501
|
+
if (C) {
|
|
502
|
+
const o = await C;
|
|
424
503
|
return new Promise((a, r) => {
|
|
425
504
|
const n = o.transaction("icons", "readwrite");
|
|
426
505
|
n.objectStore("icons").put(t, e), n.oncomplete = () => a(), n.onerror = r;
|
|
@@ -433,8 +512,8 @@ async function Q(e, t) {
|
|
|
433
512
|
}
|
|
434
513
|
async function Y(e) {
|
|
435
514
|
try {
|
|
436
|
-
if (
|
|
437
|
-
const t = await
|
|
515
|
+
if (C) {
|
|
516
|
+
const t = await C;
|
|
438
517
|
return new Promise((o, a) => {
|
|
439
518
|
const l = t.transaction("icons", "readonly").objectStore("icons").get(e);
|
|
440
519
|
l.onsuccess = function() {
|
|
@@ -470,7 +549,7 @@ function te(e, t = "solid") {
|
|
|
470
549
|
const o = L(e, t, "light"), a = L(e, t, "dark");
|
|
471
550
|
return `--icon-color: ${o}; --icon-color-dark: ${a}`;
|
|
472
551
|
}
|
|
473
|
-
function
|
|
552
|
+
function be({
|
|
474
553
|
icon: e,
|
|
475
554
|
size: t = "md",
|
|
476
555
|
color: o,
|
|
@@ -478,18 +557,18 @@ function ke({
|
|
|
478
557
|
accessibility: r = "auto",
|
|
479
558
|
tone: n = "solid"
|
|
480
559
|
}, ...l) {
|
|
481
|
-
const c =
|
|
560
|
+
const c = g(
|
|
482
561
|
r,
|
|
483
562
|
a
|
|
484
563
|
)((i, s) => i === "decorative" ? !1 : i === "informative" ? !0 : s != null && s !== "");
|
|
485
|
-
return
|
|
564
|
+
return N(
|
|
486
565
|
le,
|
|
487
|
-
(i) =>
|
|
566
|
+
(i) => p.span(
|
|
488
567
|
u.class(
|
|
489
|
-
|
|
568
|
+
g(t, o)((s) => ee(s ?? "md"))
|
|
490
569
|
),
|
|
491
570
|
u.style(
|
|
492
|
-
|
|
571
|
+
g(
|
|
493
572
|
o,
|
|
494
573
|
n
|
|
495
574
|
)(
|
|
@@ -497,42 +576,42 @@ function ke({
|
|
|
497
576
|
)
|
|
498
577
|
),
|
|
499
578
|
// Add accessibility attributes based on icon type
|
|
500
|
-
|
|
579
|
+
b(
|
|
501
580
|
c,
|
|
502
|
-
() =>
|
|
581
|
+
() => k(
|
|
503
582
|
u.role("img"),
|
|
504
|
-
f.label(
|
|
583
|
+
f.label(F(a, i.$.iconDescription))
|
|
505
584
|
),
|
|
506
585
|
() => f.hidden(!0)
|
|
507
586
|
),
|
|
508
|
-
|
|
587
|
+
R(
|
|
509
588
|
{ once: !0 },
|
|
510
|
-
() =>
|
|
589
|
+
() => A({
|
|
511
590
|
request: e,
|
|
512
591
|
load: ({ request: s }) => X(s),
|
|
513
592
|
convertError: String,
|
|
514
|
-
success: ({ value: s }) =>
|
|
515
|
-
|
|
516
|
-
|
|
593
|
+
success: ({ value: s }) => p.span(
|
|
594
|
+
P.width("100%"),
|
|
595
|
+
P.height("100%"),
|
|
517
596
|
u.innerHTML(s)
|
|
518
597
|
),
|
|
519
|
-
pending: () =>
|
|
598
|
+
pending: () => p.span(
|
|
520
599
|
u.class("animate-spin"),
|
|
521
600
|
// Loading state accessibility
|
|
522
|
-
|
|
601
|
+
b(
|
|
523
602
|
c,
|
|
524
|
-
() =>
|
|
603
|
+
() => k(u.role("img"), f.label(i.$.loadingIcon)),
|
|
525
604
|
() => f.hidden(!0)
|
|
526
605
|
),
|
|
527
606
|
"↻"
|
|
528
607
|
),
|
|
529
|
-
failure: ({ error: s }) =>
|
|
608
|
+
failure: ({ error: s }) => p.span(
|
|
530
609
|
u.title(s),
|
|
531
610
|
u.class("text-red-500"),
|
|
532
611
|
// Error state accessibility
|
|
533
|
-
|
|
612
|
+
b(
|
|
534
613
|
c,
|
|
535
|
-
() =>
|
|
614
|
+
() => k(u.role("img"), f.label(i.$.failedToLoadIcon)),
|
|
536
615
|
() => f.hidden(!0)
|
|
537
616
|
),
|
|
538
617
|
"🚫"
|
|
@@ -553,7 +632,7 @@ function ne({
|
|
|
553
632
|
defaultMessages: o,
|
|
554
633
|
localeLoader: a
|
|
555
634
|
}) {
|
|
556
|
-
const r =
|
|
635
|
+
const r = $(t), n = $(o), l = e.on(async (c) => {
|
|
557
636
|
if (c === r.value) return;
|
|
558
637
|
r.set(c);
|
|
559
638
|
const i = oe(c);
|
|
@@ -594,11 +673,11 @@ function re({
|
|
|
594
673
|
providerName: a = "I18nProvider"
|
|
595
674
|
}) {
|
|
596
675
|
return {
|
|
597
|
-
mark:
|
|
676
|
+
mark: x(a),
|
|
598
677
|
create: (r, n) => {
|
|
599
678
|
const {
|
|
600
679
|
value: { locale: l }
|
|
601
|
-
} = n.getProvider(
|
|
680
|
+
} = n.getProvider(U.mark), { t: c, dispose: i } = ne({
|
|
602
681
|
locale: l,
|
|
603
682
|
defaultMessages: t,
|
|
604
683
|
defaultLocale: e,
|
|
@@ -612,55 +691,55 @@ function re({
|
|
|
612
691
|
};
|
|
613
692
|
}
|
|
614
693
|
const ae = /* @__PURE__ */ Object.assign({
|
|
615
|
-
"./locales/ar.ts": () => import("./ar-
|
|
616
|
-
"./locales/de.ts": () => import("./de-
|
|
617
|
-
"./locales/es.ts": () => import("./es-
|
|
618
|
-
"./locales/fa.ts": () => import("./fa-
|
|
619
|
-
"./locales/fr.ts": () => import("./fr-
|
|
620
|
-
"./locales/he.ts": () => import("./he-
|
|
621
|
-
"./locales/hi.ts": () => import("./hi-
|
|
622
|
-
"./locales/it.ts": () => import("./it-
|
|
623
|
-
"./locales/ja.ts": () => import("./ja-
|
|
624
|
-
"./locales/ko.ts": () => import("./ko-
|
|
625
|
-
"./locales/nl.ts": () => import("./nl-
|
|
626
|
-
"./locales/pl.ts": () => import("./pl-
|
|
627
|
-
"./locales/pt.ts": () => import("./pt-
|
|
628
|
-
"./locales/ru.ts": () => import("./ru-
|
|
629
|
-
"./locales/tr.ts": () => import("./tr-
|
|
630
|
-
"./locales/ur.ts": () => import("./ur-
|
|
631
|
-
"./locales/vi.ts": () => import("./vi-
|
|
632
|
-
"./locales/zh.ts": () => import("./zh-
|
|
694
|
+
"./locales/ar.ts": () => import("./ar-DaKbK_t8.js").then((e) => e.default),
|
|
695
|
+
"./locales/de.ts": () => import("./de-3MTPDS1i.js").then((e) => e.default),
|
|
696
|
+
"./locales/es.ts": () => import("./es-DwMUvBeU.js").then((e) => e.default),
|
|
697
|
+
"./locales/fa.ts": () => import("./fa-0rvQiKrJ.js").then((e) => e.default),
|
|
698
|
+
"./locales/fr.ts": () => import("./fr-B4i6NzLl.js").then((e) => e.default),
|
|
699
|
+
"./locales/he.ts": () => import("./he-C71n-hsn.js").then((e) => e.default),
|
|
700
|
+
"./locales/hi.ts": () => import("./hi-xmrXpeVU.js").then((e) => e.default),
|
|
701
|
+
"./locales/it.ts": () => import("./it-CDZTtOBC.js").then((e) => e.default),
|
|
702
|
+
"./locales/ja.ts": () => import("./ja-Zz1LzidW.js").then((e) => e.default),
|
|
703
|
+
"./locales/ko.ts": () => import("./ko-9laUsZDL.js").then((e) => e.default),
|
|
704
|
+
"./locales/nl.ts": () => import("./nl-Dcll9fVA.js").then((e) => e.default),
|
|
705
|
+
"./locales/pl.ts": () => import("./pl-Dm9N9Gbr.js").then((e) => e.default),
|
|
706
|
+
"./locales/pt.ts": () => import("./pt-CFi5cn0k.js").then((e) => e.default),
|
|
707
|
+
"./locales/ru.ts": () => import("./ru-CEhZUw8R.js").then((e) => e.default),
|
|
708
|
+
"./locales/tr.ts": () => import("./tr-ZmnVDhLP.js").then((e) => e.default),
|
|
709
|
+
"./locales/ur.ts": () => import("./ur-yYgj3NmT.js").then((e) => e.default),
|
|
710
|
+
"./locales/vi.ts": () => import("./vi-D5u4CLQO.js").then((e) => e.default),
|
|
711
|
+
"./locales/zh.ts": () => import("./zh-B0kwMMer.js").then((e) => e.default)
|
|
633
712
|
}), le = re({
|
|
634
|
-
defaultLocale:
|
|
635
|
-
defaultMessages:
|
|
713
|
+
defaultLocale: I,
|
|
714
|
+
defaultMessages: v,
|
|
636
715
|
localeLoader: async (e) => {
|
|
637
|
-
if (e ===
|
|
716
|
+
if (e === I) return v;
|
|
638
717
|
const t = ae[`./locales/${e}.ts`];
|
|
639
|
-
return t ? await t() :
|
|
718
|
+
return t ? await t() : v;
|
|
640
719
|
},
|
|
641
720
|
providerName: "BeatUII18n"
|
|
642
721
|
});
|
|
643
722
|
export {
|
|
644
723
|
le as B,
|
|
645
|
-
|
|
646
|
-
|
|
724
|
+
be as I,
|
|
725
|
+
U as L,
|
|
647
726
|
me as a,
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
727
|
+
pe as b,
|
|
728
|
+
j as c,
|
|
729
|
+
v as d,
|
|
730
|
+
I as e,
|
|
731
|
+
M as f,
|
|
653
732
|
ue as g,
|
|
654
|
-
|
|
655
|
-
|
|
733
|
+
ge as h,
|
|
734
|
+
S as i,
|
|
656
735
|
Y as j,
|
|
657
736
|
fe as k,
|
|
658
737
|
he as l,
|
|
659
738
|
re as m,
|
|
660
|
-
|
|
739
|
+
B as n,
|
|
661
740
|
de as o,
|
|
662
741
|
ne as p,
|
|
663
|
-
|
|
742
|
+
q as r,
|
|
664
743
|
Q as s,
|
|
665
|
-
|
|
744
|
+
Ce as t
|
|
666
745
|
};
|