@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,4 +1,4 @@
|
|
|
1
|
-
import { f as
|
|
1
|
+
import { f as r } from "./translations-B96REXIk.js";
|
|
2
2
|
const s = {
|
|
3
3
|
loadingExtended: "Yükleniyor, lütfen bekleyin",
|
|
4
4
|
loadingShort: "Yükleniyor...",
|
|
@@ -59,21 +59,22 @@ const s = {
|
|
|
59
59
|
clearValue: "Değeri temizle",
|
|
60
60
|
unknownType: "Bilinmeyen tür",
|
|
61
61
|
filesInputInstructions: (e, a, l) => {
|
|
62
|
-
let
|
|
62
|
+
let i = 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
|
-
const
|
|
65
|
-
if (e != null && e > 1 &&
|
|
66
|
-
const
|
|
64
|
+
const t = [];
|
|
65
|
+
if (e != null && e > 1 && t.push(`en fazla ${e} dosya`), a && l) {
|
|
66
|
+
const n = r(a, {
|
|
67
67
|
units: l
|
|
68
68
|
});
|
|
69
|
-
|
|
69
|
+
t.push(`her biri en fazla ${n}`);
|
|
70
70
|
}
|
|
71
|
-
|
|
71
|
+
t.length > 0 && (i += ` (${t.join(", ")})`);
|
|
72
72
|
}
|
|
73
|
-
return
|
|
73
|
+
return i;
|
|
74
74
|
},
|
|
75
75
|
// Pagination
|
|
76
76
|
paginationLabel: "Sayfalama",
|
|
77
|
+
paginationRange: (e, a, l, i) => i > l ? `${i} içinden ${l} sonucun ${e} - ${a} satırları` : `${l} sonucun ${e} - ${a} satırları`,
|
|
77
78
|
firstPage: "İlk sayfa",
|
|
78
79
|
previousPage: "Önceki sayfa",
|
|
79
80
|
nextPage: "Sonraki sayfa",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./translations-BDGa_4jx.cjs"),o={loadingExtended:"Yükleniyor, lütfen bekleyin",loadingShort:"Yükleniyor...",locale:"Yerel",iconDescription:"Simge",loadingIcon:"Yükleme simgesi",failedToLoadIcon:"Simge yüklenemedi",editLabel:"Düzenle",selectOne:"Birini seç",selectNone:"Hiçbiri",selectMany:"Birden fazlasını seç",noResults:"Sonuç yok",passwordPlaceholderText:"Gizli Şifre",togglePasswordVisibility:"Şifre görünürlüğünü değiştir",toggleMenu:"Menüyü değiştir",toggleAside:"Yan paneli değiştir",mainNavigation:"Ana navigasyon",sidebar:"Kenar çubuğu",closeDrawer:"Çekmeceyi kapat",closeModal:"Modalı kapat",confirm:"Onayla",cancel:"İptal",addLabel:"Ekle",removeItem:"Öğeyi kaldır",currentLocale:"Türkçe",ar:"Arapça",de:"Almanca",en:"İngilizce",es:"İspanyolca",fr:"Fransızca",hi:"Hintçe",it:"İtalyanca",ja:"Japonca",ko:"Korece",nl:"Flemenkçe",pl:"Lehçe",pt:"Portekizce",ru:"Rusça",tr:"Türkçe",vi:"Vietnamca",zh:"Çince",he:"İbranice",fa:"Farsça",ur:"Urduca",emailPlaceholderText:"E-postanızı girin",incrementValue:"Değer artır",decrementValue:"Değer azalt",dropZoneInstructions:e=>e?"Seçmek için tıklayın veya dosyaları buraya sürükleyin, veya dosya seçiciyi açmak için Enter veya Boşluk tuşuna basın":"Dosyaları buraya sürükleyin",fileSizeUnits:["Bayt","KB","MB","GB","TB"],removeFile:"Dosyayı kaldır",clearAllFiles:"Tüm dosyaları temizle",clearValue:"Değeri temizle",unknownType:"Bilinmeyen tür",filesInputInstructions:(e,a,l)=>{let i=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";if(e||a){const t=[];if(e!=null&&e>1&&t.push(`en fazla ${e} dosya`),a&&l){const n=r.formatFileSize(a,{units:l});t.push(`her biri en fazla ${n}`)}t.length>0&&(i+=` (${t.join(", ")})`)}return i},paginationLabel:"Sayfalama",paginationRange:(e,a,l,i)=>i>l?`${i} içinden ${l} sonucun ${e} - ${a} satırları`:`${l} sonucun ${e} - ${a} satırları`,firstPage:"İlk sayfa",previousPage:"Önceki sayfa",nextPage:"Sonraki sayfa",lastPage:"Son sayfa",breadcrumbs:"İçerik haritası",commandPalette:"Komut paleti",typeACommand:"Bir komut yazın...",noResultsFound:"Sonuç bulunamadı",noMatchingCommands:"Eşleşen komut yok",appearanceSystem:"Sistem",appearanceLight:"Açık",appearanceDark:"Koyu",ok:"OK",changeTypeConfirmation:"Tür değiştirmek mevcut değeri silecektir. Devam edilsin mi?",notifications:"Bildirimler",markAllAsRead:"Tümünü okundu olarak işaretle",noNotifications:"Bildirim yok",schemaConflictsDetected:"Şema Çakışmaları Tespit Edildi",schemaViolationsDetected:"Şema İhlalleri Tespit Edildi",properties:"Özellikler",uploading:"Yükleniyor...",dropFilesOrBrowse:"Dosyaları buraya bırakın veya göz atmak için tıklayın",acceptedTypes:e=>`Kabul edilen türler: ${e}`,enterUrlPrompt:"URL girin:",exceeded:"(aşıldı)",pdfPreview:"PDF Önizleme",lexical:{fontFamily:"Yazı Tipi",fontSize:"Yazı Boyutu",lineHeight:"Satır yüksekliği",fontColor:"Yazı Rengi",highlightColor:"Vurgu Rengi",backgroundColor:"Arka Plan Rengi",bold:"Kalın",italic:"İtalik",underline:"Altı Çizili",strikethrough:"Üstü Çizili",code:"Kod",clearFormatting:"Biçimlendirmeyi Temizle",normal:"Normal",heading:e=>`Başlık ${e}`,bulletList:"Madde İşaretli Liste",orderedList:"Numaralı Liste",checkList:"Kontrol Listesi",indent:"Girintiyi Artır",outdent:"Girintiyi Azalt",blockquote:"Alıntı",codeBlock:"Kod Bloğu",horizontalRule:"Yatay Çizgi",insertTable:"Tablo Ekle",link:"Bağlantı",undo:"Geri Al",redo:"Yinele",cut:"Kes",copy:"Kopyala",paste:"Yapıştır",defaultOption:"Varsayılan",slashCommands:"Eğik çizgi komutları",noCommandsFound:"Komut bulunamadı",changeBlockType:"Blok türünü değiştir",blockTypes:"Blok türleri",enterUrl:"URL girin:",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:"Artan sıralama",sortDescending:"Azalan sıralama",clearSort:"Sıralamayı temizle",filterPlaceholder:"Filtrele...",clearFilter:"Filtreyi temizle",selectAll:"Tümünü seç",deselectAll:"Tümünü kaldır",selectedCount:e=>`${e} seçildi`,resetAll:"Tümünü sıfırla",noResults:"Sonuç bulunamadı",loading:"Yükleniyor...",filterPanelAddCondition:"Koşul ekle",filterPanelApply:"Uygula",filterPanelClear:"Filtreleri temizle",filterPanelAnd:"VE",filterPanelOr:"VEYA",filterPanelContains:"İçerir",filterPanelNotContains:"İçermez",filterPanelEquals:"Eşittir",filterPanelNotEquals:"Eşit değildir",filterPanelStartsWith:"İle başlar",filterPanelEndsWith:"İle biter",filterPanelIsNull:"Boş",filterPanelIsNotNull:"Boş değil",filterPanelGt:"Büyüktür",filterPanelGte:"Büyük veya eşit",filterPanelLt:"Küçüktür",filterPanelLte:"Küçük veya eşit",filterPanelBetween:"Arasında",filterPanelValuePlaceholder:"Değer...",sortMultiHint:"Birden fazla sütunu sıralamak için Shift tuşunu basılı tutun",columnVisibility:"Sütunlar",showAllColumns:"Tümünü göster",menuSortAsc:"Artan sırada sırala",menuSortDesc:"Azalan sırada sırala",menuClearSort:"Sıralamayı temizle",menuHideColumn:"Sütunu gizle",menuChooseColumns:"Sütun seç",menuResetColumns:"Sütunları sıfırla",menuFilter:"Filtrele",rowCount:(e,a)=>`Satırlar: ${e} Toplam satır: ${a}`,filterTagsPlaceholder:"Değer seçin...",groupCount:e=>`${e} öğe`,collapseGroup:"Grubu daralt",expandGroup:"Grubu genişlet",describeFilter:{textContains:(e,a)=>`${e} "${a}" içerir`,textNotContains:(e,a)=>`${e} "${a}" içermez`,textEquals:(e,a)=>`${e} "${a}" eşittir`,textNotEquals:(e,a)=>`${e} "${a}" eşit değildir`,textStartsWith:(e,a)=>`${e} "${a}" ile başlar`,textEndsWith:(e,a)=>`${e} "${a}" ile biter`,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,l)=>`${e} ${a} ile ${l} arasında`,rangeGte:(e,a)=>`${e} ≥ ${a}`,rangeLte:(e,a)=>`${e} ≤ ${a}`,setIn:(e,a)=>`${e} [${a}] içinde`,setNotIn:(e,a)=>`${e} [${a}] içinde değil`,booleanIs:(e,a)=>`${e} ${a}`,isNull:e=>`${e} boş`,isNotNull:e=>`${e} boş değil`,compositeAnd:e=>e.join(" VE "),compositeOr:e=>e.join(" VEYA ")}},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 yükleniyor...",loadFailed:"PDF yüklenemedi",invalidPdf:"Geçersiz PDF dosyası",pageOutOfRange:(e,a)=>`Sayfa ${e} aralık dışında (1-${a})`,renderFailed:"PDF sayfası oluşturulamadı"}};exports.default=o;
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import { localStorageProp as
|
|
2
|
-
import { WhenInViewport as
|
|
1
|
+
import { localStorageProp as $, 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 R, style as y, prop as P } from "@tempots/dom";
|
|
2
|
+
import { WhenInViewport as F, Query as A } from "@tempots/ui";
|
|
3
3
|
import { b as T, g as E } from "./colors-DwufPN8S.js";
|
|
4
4
|
function M(e, {
|
|
5
5
|
units: t = ["B", "KB", "MB", "GB", "TB"],
|
|
6
6
|
decimalPlaces: o = 0,
|
|
7
|
-
locale:
|
|
7
|
+
locale: r
|
|
8
8
|
} = {}) {
|
|
9
9
|
if (e === 0 || e === 0n)
|
|
10
|
-
return new Intl.NumberFormat(
|
|
10
|
+
return new Intl.NumberFormat(r, {
|
|
11
11
|
style: "unit",
|
|
12
12
|
unit: "byte",
|
|
13
13
|
unitDisplay: "short",
|
|
14
14
|
maximumFractionDigits: 0
|
|
15
15
|
}).format(0).replace("byte", t[0]);
|
|
16
|
-
let
|
|
16
|
+
let a, n;
|
|
17
17
|
if (typeof e == "bigint") {
|
|
18
18
|
let i = e < 0n ? -e : e;
|
|
19
|
-
for (
|
|
20
|
-
i = i / 1024n,
|
|
21
|
-
n = Number(e) / Math.pow(1024,
|
|
19
|
+
for (a = 0; i >= 1024n && a < t.length - 1; )
|
|
20
|
+
i = i / 1024n, a++;
|
|
21
|
+
n = Number(e) / Math.pow(1024, a);
|
|
22
22
|
} else
|
|
23
|
-
|
|
24
|
-
return new Intl.NumberFormat(
|
|
23
|
+
a = Math.floor(Math.log(Math.abs(e)) / Math.log(1024)), a = Math.min(a, t.length - 1), n = e / Math.pow(1024, a);
|
|
24
|
+
return new Intl.NumberFormat(r, {
|
|
25
25
|
style: "unit",
|
|
26
26
|
unit: "byte",
|
|
27
27
|
unitDisplay: "short",
|
|
28
|
-
minimumFractionDigits:
|
|
29
|
-
maximumFractionDigits:
|
|
30
|
-
}).format(n).replace("byte", t[
|
|
28
|
+
minimumFractionDigits: a === 0 ? 0 : o,
|
|
29
|
+
maximumFractionDigits: a === 0 ? 0 : o
|
|
30
|
+
}).format(n).replace("byte", t[a]);
|
|
31
31
|
}
|
|
32
32
|
const O = {
|
|
33
33
|
loadingExtended: "Loading, please wait",
|
|
@@ -89,21 +89,22 @@ const O = {
|
|
|
89
89
|
clearValue: "Reset",
|
|
90
90
|
unknownType: "Unknown type",
|
|
91
91
|
filesInputInstructions: (e, t, o) => {
|
|
92
|
-
let
|
|
92
|
+
let r = e == null || e > 1 ? "Click to choose or drag files here" : "Click to choose or drag a file here";
|
|
93
93
|
if (e || t) {
|
|
94
|
-
const
|
|
95
|
-
if (e != null && e > 1 &&
|
|
94
|
+
const a = [];
|
|
95
|
+
if (e != null && e > 1 && a.push(`up to ${e} files`), t && o) {
|
|
96
96
|
const n = M(t, {
|
|
97
97
|
units: o
|
|
98
98
|
});
|
|
99
|
-
|
|
99
|
+
a.push(`max ${n} each`);
|
|
100
100
|
}
|
|
101
|
-
|
|
101
|
+
a.length > 0 && (r += ` (${a.join(", ")})`);
|
|
102
102
|
}
|
|
103
|
-
return
|
|
103
|
+
return r;
|
|
104
104
|
},
|
|
105
105
|
// Pagination
|
|
106
106
|
paginationLabel: "Pagination",
|
|
107
|
+
paginationRange: (e, t, o, r) => r > o ? `Rows ${e} to ${t} of ${o} of ${r}` : `Rows ${e} to ${t} of ${o}`,
|
|
107
108
|
firstPage: "First page",
|
|
108
109
|
previousPage: "Previous page",
|
|
109
110
|
nextPage: "Next page",
|
|
@@ -349,13 +350,13 @@ function he(e, t) {
|
|
|
349
350
|
const U = {
|
|
350
351
|
mark: x("Locale"),
|
|
351
352
|
create: (e) => {
|
|
352
|
-
const t =
|
|
353
|
+
const t = $({
|
|
353
354
|
defaultValue: navigator.language ?? "en-US",
|
|
354
355
|
key: "beatui-locale"
|
|
355
|
-
}), o =
|
|
356
|
+
}), o = $({
|
|
356
357
|
defaultValue: "auto",
|
|
357
358
|
key: "beatui-direction-preference"
|
|
358
|
-
}),
|
|
359
|
+
}), r = g(
|
|
359
360
|
t,
|
|
360
361
|
o
|
|
361
362
|
)(
|
|
@@ -365,12 +366,12 @@ const U = {
|
|
|
365
366
|
value: {
|
|
366
367
|
locale: t,
|
|
367
368
|
setLocale: (n) => t.set(n),
|
|
368
|
-
direction:
|
|
369
|
+
direction: r,
|
|
369
370
|
directionPreference: o,
|
|
370
371
|
setDirectionPreference: (n) => o.set(n)
|
|
371
372
|
},
|
|
372
373
|
dispose: () => {
|
|
373
|
-
t.dispose(), o.dispose(),
|
|
374
|
+
t.dispose(), o.dispose(), r.dispose();
|
|
374
375
|
}
|
|
375
376
|
};
|
|
376
377
|
}
|
|
@@ -396,13 +397,13 @@ function D(e, t) {
|
|
|
396
397
|
if (!o) return;
|
|
397
398
|
if (t === "light")
|
|
398
399
|
return o;
|
|
399
|
-
const
|
|
400
|
-
return
|
|
400
|
+
const r = w[e];
|
|
401
|
+
return r ? r[t] : o;
|
|
401
402
|
}
|
|
402
403
|
function pe(e, t, o) {
|
|
403
|
-
const
|
|
404
|
-
if (
|
|
405
|
-
const n =
|
|
404
|
+
const r = w[e];
|
|
405
|
+
if (r) {
|
|
406
|
+
const n = r[o];
|
|
406
407
|
if (n)
|
|
407
408
|
return { backgroundColor: n.backgroundColor, textColor: n.color };
|
|
408
409
|
}
|
|
@@ -414,10 +415,10 @@ function pe(e, t, o) {
|
|
|
414
415
|
textColor: n.color
|
|
415
416
|
};
|
|
416
417
|
}
|
|
417
|
-
const
|
|
418
|
+
const a = G[t][o];
|
|
418
419
|
return {
|
|
419
|
-
backgroundColor: d(e,
|
|
420
|
-
textColor:
|
|
420
|
+
backgroundColor: d(e, a.bgShade),
|
|
421
|
+
textColor: a.textColor
|
|
421
422
|
};
|
|
422
423
|
}
|
|
423
424
|
const z = {
|
|
@@ -431,9 +432,9 @@ const z = {
|
|
|
431
432
|
dark: { shade: 600, textColor: "var(--text-normal-dark)" }
|
|
432
433
|
};
|
|
433
434
|
function ge(e, t, o) {
|
|
434
|
-
const
|
|
435
|
-
if (
|
|
436
|
-
const n =
|
|
435
|
+
const r = w[e];
|
|
436
|
+
if (r) {
|
|
437
|
+
const n = r[o];
|
|
437
438
|
if (n)
|
|
438
439
|
return { backgroundColor: n.backgroundColor, textColor: n.color };
|
|
439
440
|
}
|
|
@@ -450,10 +451,10 @@ function ge(e, t, o) {
|
|
|
450
451
|
textColor: l.textColor
|
|
451
452
|
};
|
|
452
453
|
}
|
|
453
|
-
const
|
|
454
|
+
const a = t === "light" ? _[o] : W[o];
|
|
454
455
|
return {
|
|
455
|
-
backgroundColor: d(e,
|
|
456
|
-
textColor:
|
|
456
|
+
backgroundColor: d(e, a.shade),
|
|
457
|
+
textColor: a.textColor
|
|
457
458
|
};
|
|
458
459
|
}
|
|
459
460
|
function me(e, t) {
|
|
@@ -485,9 +486,9 @@ const K = "bui-icons", m = /* @__PURE__ */ new Map(), B = (() => {
|
|
|
485
486
|
function J() {
|
|
486
487
|
return B ? new Promise((e, t) => {
|
|
487
488
|
const o = indexedDB.open(K, 1);
|
|
488
|
-
o.onupgradeneeded = function(
|
|
489
|
-
const
|
|
490
|
-
|
|
489
|
+
o.onupgradeneeded = function(r) {
|
|
490
|
+
const a = r.target.result;
|
|
491
|
+
a.objectStoreNames.contains("icons") || a.createObjectStore("icons");
|
|
491
492
|
}, o.onsuccess = function() {
|
|
492
493
|
e(o.result);
|
|
493
494
|
}, o.onerror = function() {
|
|
@@ -500,9 +501,9 @@ async function Q(e, t) {
|
|
|
500
501
|
try {
|
|
501
502
|
if (C) {
|
|
502
503
|
const o = await C;
|
|
503
|
-
return new Promise((
|
|
504
|
+
return new Promise((r, a) => {
|
|
504
505
|
const n = o.transaction("icons", "readwrite");
|
|
505
|
-
n.objectStore("icons").put(t, e), n.oncomplete = () =>
|
|
506
|
+
n.objectStore("icons").put(t, e), n.oncomplete = () => r(), n.onerror = a;
|
|
506
507
|
});
|
|
507
508
|
} else
|
|
508
509
|
m.set(e, t);
|
|
@@ -514,11 +515,11 @@ async function Y(e) {
|
|
|
514
515
|
try {
|
|
515
516
|
if (C) {
|
|
516
517
|
const t = await C;
|
|
517
|
-
return new Promise((o,
|
|
518
|
+
return new Promise((o, r) => {
|
|
518
519
|
const l = t.transaction("icons", "readonly").objectStore("icons").get(e);
|
|
519
520
|
l.onsuccess = function() {
|
|
520
521
|
o(l.result);
|
|
521
|
-
}, l.onerror =
|
|
522
|
+
}, l.onerror = r;
|
|
522
523
|
});
|
|
523
524
|
} else
|
|
524
525
|
return m.get(e) || null;
|
|
@@ -538,28 +539,28 @@ async function X(e) {
|
|
|
538
539
|
const t = e.replace(":", "/"), o = await Y(t);
|
|
539
540
|
if (o)
|
|
540
541
|
return o;
|
|
541
|
-
const
|
|
542
|
-
return await Q(t,
|
|
542
|
+
const r = await Z(t);
|
|
543
|
+
return await Q(t, r), r;
|
|
543
544
|
}
|
|
544
545
|
function ee(e) {
|
|
545
546
|
return ["bc-icon", `bc-icon--${e}`].join(" ");
|
|
546
547
|
}
|
|
547
548
|
function te(e, t = "solid") {
|
|
548
549
|
if (!e) return "";
|
|
549
|
-
const o = L(e, t, "light"),
|
|
550
|
-
return `--icon-color: ${o}; --icon-color-dark: ${
|
|
550
|
+
const o = L(e, t, "light"), r = L(e, t, "dark");
|
|
551
|
+
return `--icon-color: ${o}; --icon-color-dark: ${r}`;
|
|
551
552
|
}
|
|
552
553
|
function be({
|
|
553
554
|
icon: e,
|
|
554
555
|
size: t = "md",
|
|
555
556
|
color: o,
|
|
556
|
-
title:
|
|
557
|
-
accessibility:
|
|
557
|
+
title: r,
|
|
558
|
+
accessibility: a = "auto",
|
|
558
559
|
tone: n = "solid"
|
|
559
560
|
}, ...l) {
|
|
560
561
|
const c = g(
|
|
561
|
-
|
|
562
|
-
|
|
562
|
+
a,
|
|
563
|
+
r
|
|
563
564
|
)((i, s) => i === "decorative" ? !1 : i === "informative" ? !0 : s != null && s !== "");
|
|
564
565
|
return N(
|
|
565
566
|
le,
|
|
@@ -580,19 +581,19 @@ function be({
|
|
|
580
581
|
c,
|
|
581
582
|
() => k(
|
|
582
583
|
u.role("img"),
|
|
583
|
-
f.label(
|
|
584
|
+
f.label(R(r, i.$.iconDescription))
|
|
584
585
|
),
|
|
585
586
|
() => f.hidden(!0)
|
|
586
587
|
),
|
|
587
|
-
|
|
588
|
+
F(
|
|
588
589
|
{ once: !0 },
|
|
589
590
|
() => A({
|
|
590
591
|
request: e,
|
|
591
592
|
load: ({ request: s }) => X(s),
|
|
592
593
|
convertError: String,
|
|
593
594
|
success: ({ value: s }) => p.span(
|
|
594
|
-
|
|
595
|
-
|
|
595
|
+
y.width("100%"),
|
|
596
|
+
y.height("100%"),
|
|
596
597
|
u.innerHTML(s)
|
|
597
598
|
),
|
|
598
599
|
pending: () => p.span(
|
|
@@ -630,15 +631,15 @@ function ne({
|
|
|
630
631
|
locale: e,
|
|
631
632
|
defaultLocale: t = "en-US",
|
|
632
633
|
defaultMessages: o,
|
|
633
|
-
localeLoader:
|
|
634
|
+
localeLoader: r
|
|
634
635
|
}) {
|
|
635
|
-
const
|
|
636
|
-
if (c ===
|
|
637
|
-
|
|
636
|
+
const a = P(t), n = P(o), l = e.on(async (c) => {
|
|
637
|
+
if (c === a.value) return;
|
|
638
|
+
a.set(c);
|
|
638
639
|
const i = oe(c);
|
|
639
640
|
for (const s of i)
|
|
640
641
|
try {
|
|
641
|
-
const h = await
|
|
642
|
+
const h = await r(s);
|
|
642
643
|
if (
|
|
643
644
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
644
645
|
typeof h.default == "object" && Object.keys(h).length === 1
|
|
@@ -648,19 +649,19 @@ function ne({
|
|
|
648
649
|
);
|
|
649
650
|
return;
|
|
650
651
|
}
|
|
651
|
-
if (c ===
|
|
652
|
+
if (c === a.value) {
|
|
652
653
|
n.set(h);
|
|
653
654
|
return;
|
|
654
655
|
}
|
|
655
656
|
} catch {
|
|
656
657
|
continue;
|
|
657
658
|
}
|
|
658
|
-
console.warn(`No locale found for "${e.value}", using fallback`), c ===
|
|
659
|
+
console.warn(`No locale found for "${e.value}", using fallback`), c === a.value && n.set(o);
|
|
659
660
|
});
|
|
660
661
|
return {
|
|
661
662
|
/** Clean up all resources and event listeners */
|
|
662
663
|
dispose: () => {
|
|
663
|
-
l(),
|
|
664
|
+
l(), a.dispose(), n.dispose();
|
|
664
665
|
},
|
|
665
666
|
/** Translation functions that return reactive signals */
|
|
666
667
|
t: n
|
|
@@ -670,11 +671,11 @@ function re({
|
|
|
670
671
|
defaultLocale: e,
|
|
671
672
|
defaultMessages: t,
|
|
672
673
|
localeLoader: o,
|
|
673
|
-
providerName:
|
|
674
|
+
providerName: r = "I18nProvider"
|
|
674
675
|
}) {
|
|
675
676
|
return {
|
|
676
|
-
mark: x(
|
|
677
|
-
create: (
|
|
677
|
+
mark: x(r),
|
|
678
|
+
create: (a, n) => {
|
|
678
679
|
const {
|
|
679
680
|
value: { locale: l }
|
|
680
681
|
} = n.getProvider(U.mark), { t: c, dispose: i } = ne({
|
|
@@ -691,24 +692,24 @@ function re({
|
|
|
691
692
|
};
|
|
692
693
|
}
|
|
693
694
|
const ae = /* @__PURE__ */ Object.assign({
|
|
694
|
-
"./locales/ar.ts": () => import("./ar-
|
|
695
|
-
"./locales/de.ts": () => import("./de-
|
|
696
|
-
"./locales/es.ts": () => import("./es-
|
|
697
|
-
"./locales/fa.ts": () => import("./fa-
|
|
698
|
-
"./locales/fr.ts": () => import("./fr-
|
|
699
|
-
"./locales/he.ts": () => import("./he-
|
|
700
|
-
"./locales/hi.ts": () => import("./hi-
|
|
701
|
-
"./locales/it.ts": () => import("./it-
|
|
702
|
-
"./locales/ja.ts": () => import("./ja-
|
|
703
|
-
"./locales/ko.ts": () => import("./ko-
|
|
704
|
-
"./locales/nl.ts": () => import("./nl-
|
|
705
|
-
"./locales/pl.ts": () => import("./pl-
|
|
706
|
-
"./locales/pt.ts": () => import("./pt-
|
|
707
|
-
"./locales/ru.ts": () => import("./ru-
|
|
708
|
-
"./locales/tr.ts": () => import("./tr-
|
|
709
|
-
"./locales/ur.ts": () => import("./ur-
|
|
710
|
-
"./locales/vi.ts": () => import("./vi-
|
|
711
|
-
"./locales/zh.ts": () => import("./zh-
|
|
695
|
+
"./locales/ar.ts": () => import("./ar-CZ07-PLK.js").then((e) => e.default),
|
|
696
|
+
"./locales/de.ts": () => import("./de-Dpx6i3Pv.js").then((e) => e.default),
|
|
697
|
+
"./locales/es.ts": () => import("./es-apq3F_om.js").then((e) => e.default),
|
|
698
|
+
"./locales/fa.ts": () => import("./fa-BYpfIkLu.js").then((e) => e.default),
|
|
699
|
+
"./locales/fr.ts": () => import("./fr-Ba5_hcn7.js").then((e) => e.default),
|
|
700
|
+
"./locales/he.ts": () => import("./he-Dff_I80g.js").then((e) => e.default),
|
|
701
|
+
"./locales/hi.ts": () => import("./hi-7G-frHVR.js").then((e) => e.default),
|
|
702
|
+
"./locales/it.ts": () => import("./it-dSE5UgTZ.js").then((e) => e.default),
|
|
703
|
+
"./locales/ja.ts": () => import("./ja-DRzjr2YR.js").then((e) => e.default),
|
|
704
|
+
"./locales/ko.ts": () => import("./ko-7gpweMh7.js").then((e) => e.default),
|
|
705
|
+
"./locales/nl.ts": () => import("./nl-DAe4B7fb.js").then((e) => e.default),
|
|
706
|
+
"./locales/pl.ts": () => import("./pl-4xrzOC4A.js").then((e) => e.default),
|
|
707
|
+
"./locales/pt.ts": () => import("./pt-DYQOe1Td.js").then((e) => e.default),
|
|
708
|
+
"./locales/ru.ts": () => import("./ru-FofxuqAJ.js").then((e) => e.default),
|
|
709
|
+
"./locales/tr.ts": () => import("./tr-BfKjkfhE.js").then((e) => e.default),
|
|
710
|
+
"./locales/ur.ts": () => import("./ur-COVuSAxC.js").then((e) => e.default),
|
|
711
|
+
"./locales/vi.ts": () => import("./vi-DI3te8d5.js").then((e) => e.default),
|
|
712
|
+
"./locales/zh.ts": () => import("./zh-DKIbNXv8.js").then((e) => e.default)
|
|
712
713
|
}), le = re({
|
|
713
714
|
defaultLocale: I,
|
|
714
715
|
defaultMessages: v,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const l=require("@tempots/dom"),k=require("@tempots/ui"),y=require("./colors-B-p6IzX9.cjs");function w(e,{units:t=["B","KB","MB","GB","TB"],decimalPlaces:o=0,locale:n}={}){if(e===0||e===0n)return new Intl.NumberFormat(n,{style:"unit",unit:"byte",unitDisplay:"short",maximumFractionDigits:0}).format(0).replace("byte",t[0]);let a,r;if(typeof e=="bigint"){let s=e<0n?-e:e;for(a=0;s>=1024n&&a<t.length-1;)s=s/1024n,a++;r=Number(e)/Math.pow(1024,a)}else a=Math.floor(Math.log(Math.abs(e))/Math.log(1024)),a=Math.min(a,t.length-1),r=e/Math.pow(1024,a);return new Intl.NumberFormat(n,{style:"unit",unit:"byte",unitDisplay:"short",minimumFractionDigits:a===0?0:o,maximumFractionDigits:a===0?0:o}).format(r).replace("byte",t[a])}const F={loadingExtended:"Loading, please wait",loadingShort:"Loading...",locale:"Locale",iconDescription:"Icon",loadingIcon:"Loading icon",failedToLoadIcon:"Failed to load icon",editLabel:"Edit",selectOne:"Select one",selectNone:"None",selectMany:"Select many",noResults:"No results",passwordPlaceholderText:"Secret Password",togglePasswordVisibility:"Toggle password visibility",toggleMenu:"Toggle menu",toggleAside:"Toggle aside",mainNavigation:"Main navigation",sidebar:"Sidebar",closeDrawer:"Close drawer",closeModal:"Close modal",confirm:"Confirm",cancel:"Cancel",addLabel:"Add",removeItem:"Remove item",currentLocale:"English",ar:"Arabic",de:"German",en:"English",es:"Spanish",fr:"French",hi:"Hindi",it:"Italian",ja:"Japanese",ko:"Korean",nl:"Dutch",pl:"Polish",pt:"Portuguese",ru:"Russian",tr:"Turkish",vi:"Vietnamese",zh:"Chinese",he:"Hebrew",fa:"Persian",ur:"Urdu",emailPlaceholderText:"Enter your email",incrementValue:"Increment value",decrementValue:"Decrement value",dropZoneInstructions:e=>e?"Click to choose or drag files here, or press Enter or Space to open file selector":"Drag files here",fileSizeUnits:["Bytes","KB","MB","GB","TB"],removeFile:"Remove file",clearAllFiles:"Clear all files",clearValue:"Reset",unknownType:"Unknown type",filesInputInstructions:(e,t,o)=>{let n=e==null||e>1?"Click to choose or drag files here":"Click to choose or drag a file here";if(e||t){const a=[];if(e!=null&&e>1&&a.push(`up to ${e} files`),t&&o){const r=w(t,{units:o});a.push(`max ${r} each`)}a.length>0&&(n+=` (${a.join(", ")})`)}return n},paginationLabel:"Pagination",paginationRange:(e,t,o,n)=>n>o?`Rows ${e} to ${t} of ${o} of ${n}`:`Rows ${e} to ${t} of ${o}`,firstPage:"First page",previousPage:"Previous page",nextPage:"Next page",lastPage:"Last page",breadcrumbs:"Breadcrumbs",commandPalette:"Command palette",typeACommand:"Type a command...",noResultsFound:"No results found",noMatchingCommands:"No matching commands",appearanceSystem:"System",appearanceLight:"Light",appearanceDark:"Dark",ok:"OK",changeTypeConfirmation:"Changing type will clear the current value. Continue?",notifications:"Notifications",markAllAsRead:"Mark all as read",noNotifications:"No notifications",schemaConflictsDetected:"Schema Conflicts Detected",schemaViolationsDetected:"Schema Violations Detected",properties:"Properties",uploading:"Uploading...",dropFilesOrBrowse:"Drop files here or click to browse",acceptedTypes:e=>`Accepted types: ${e}`,enterUrlPrompt:"Enter URL:",exceeded:"(exceeded)",pdfPreview:"PDF Preview",lexical:{fontFamily:"Font Family",fontSize:"Font Size",lineHeight:"Line Height",fontColor:"Font Color",highlightColor:"Highlight Color",backgroundColor:"Background Color",bold:"Bold",italic:"Italic",underline:"Underline",strikethrough:"Strikethrough",code:"Code",clearFormatting:"Clear Formatting",normal:"Normal",heading:e=>`Heading ${e}`,bulletList:"Bullet List",orderedList:"Ordered List",checkList:"Check List",indent:"Indent",outdent:"Outdent",blockquote:"Blockquote",codeBlock:"Code Block",horizontalRule:"Horizontal Rule",insertTable:"Insert Table",link:"Link",undo:"Undo",redo:"Redo",cut:"Cut",copy:"Copy",paste:"Paste",defaultOption:"Default",slashCommands:"Slash commands",noCommandsFound:"No commands found",changeBlockType:"Change block type",blockTypes:"Block types",enterUrl:"Enter 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:"Sort ascending",sortDescending:"Sort descending",clearSort:"Clear sort",filterPlaceholder:"Filter...",clearFilter:"Clear filter",selectAll:"Select all",deselectAll:"Deselect all",selectedCount:e=>`${e} selected`,resetAll:"Reset all",noResults:"No results found",loading:"Loading...",filterPanelAddCondition:"Add condition",filterPanelApply:"Apply",filterPanelClear:"Clear filters",filterPanelAnd:"AND",filterPanelOr:"OR",filterPanelContains:"Contains",filterPanelNotContains:"Does not contain",filterPanelEquals:"Equals",filterPanelNotEquals:"Does not equal",filterPanelStartsWith:"Starts with",filterPanelEndsWith:"Ends with",filterPanelIsNull:"Is empty",filterPanelIsNotNull:"Is not empty",filterPanelGt:"Greater than",filterPanelGte:"Greater or equal",filterPanelLt:"Less than",filterPanelLte:"Less or equal",filterPanelBetween:"Between",filterPanelValuePlaceholder:"Value...",sortMultiHint:"Hold Shift to sort multiple columns",columnVisibility:"Columns",showAllColumns:"Show all",menuSortAsc:"Sort Ascending",menuSortDesc:"Sort Descending",menuClearSort:"Clear Sort",menuHideColumn:"Hide Column",menuChooseColumns:"Choose Columns",menuResetColumns:"Reset Columns",menuFilter:"Filter",rowCount:(e,t)=>`Rows: ${e} Total Rows: ${t}`,filterTagsPlaceholder:"Select values...",groupCount:e=>`${e} items`,collapseGroup:"Collapse group",expandGroup:"Expand group",describeFilter:{textContains:(e,t)=>`${e} contains "${t}"`,textNotContains:(e,t)=>`${e} does not contain "${t}"`,textEquals:(e,t)=>`${e} equals "${t}"`,textNotEquals:(e,t)=>`${e} does not equal "${t}"`,textStartsWith:(e,t)=>`${e} starts with "${t}"`,textEndsWith:(e,t)=>`${e} ends with "${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,o)=>`${e} between ${t} and ${o}`,rangeGte:(e,t)=>`${e} ≥ ${t}`,rangeLte:(e,t)=>`${e} ≤ ${t}`,setIn:(e,t)=>`${e} in [${t}]`,setNotIn:(e,t)=>`${e} not in [${t}]`,booleanIs:(e,t)=>`${e} is ${t}`,isNull:e=>`${e} is empty`,isNotNull:e=>`${e} is not empty`,compositeAnd:e=>e.join(" AND "),compositeOr:e=>e.join(" OR ")}},prosemirror:{bold:"Bold",italic:"Italic",code:"Inline code",link:"Insert 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"}},f=F,p="en",N=new Set(["ar","he","fa","ur","ps","sd","ku","dv","yi","ji","iw","in"]);function C(e){if(!e)return"ltr";const t=e.split(/[-_]/)[0].toLowerCase();return N.has(t)?"rtl":"ltr"}function $(e,t){return e==="auto"?C(t):e}function A(e){return`b-${e}`}function T(e){return C(e)==="rtl"}function O(e){return e==="ltr"?"rtl":"ltr"}const I={ltr:{"inline-start":"left","inline-end":"right","block-start":"top","block-end":"bottom"},rtl:{"inline-start":"right","inline-end":"left","block-start":"top","block-end":"bottom"}};function M(e,t){return I[t][e]}const L={mark:l.makeProviderMark("Locale"),create:e=>{const t=l.localStorageProp({defaultValue:navigator.language??"en-US",key:"beatui-locale"}),o=l.localStorageProp({defaultValue:"auto",key:"beatui-direction-preference"}),n=l.computedOf(t,o)((r,i)=>$(i,r));return{value:{locale:t,setLocale:r=>t.set(r),direction:n,directionPreference:o,setDirectionPreference:r=>o.set(r)},dispose:()=>{t.dispose(),o.dispose(),n.dispose()}}}},{variants:V,special:E,overrides:v}=y.backgroundConfig;function d(e,t){switch(e){case"white":return"var(--color-white)";case"black":return"var(--color-black)";case"transparent":return"transparent";default:return y.getColorVar(e,t)}}function x(e,t){const o=E[e];if(!o)return;if(t==="light")return o;const n=v[e];return n?n[t]:o}function U(e,t,o){const n=v[e];if(n){const r=n[o];if(r)return{backgroundColor:r.backgroundColor,textColor:r.color}}if(t==="solid"){const r=x(e,o);if(r)return{backgroundColor:r.backgroundColor,textColor:r.color}}const a=V[t][o];return{backgroundColor:d(e,a.bgShade),textColor:a.textColor}}const G={light:{shade:700,textColor:"var(--color-white)"},dark:{shade:500,textColor:"var(--text-inverted-dark)"}},j={light:{shade:200,textColor:"var(--text-normal-light)"},dark:{shade:700,textColor:"var(--text-normal-dark)"}},H={light:{shade:400,textColor:"var(--text-normal-light)"},dark:{shade:600,textColor:"var(--text-normal-dark)"}};function _(e,t,o){const n=v[e];if(n){const r=n[o];if(r)return{backgroundColor:r.backgroundColor,textColor:r.color}}if(t==="solid"){const r=x(e,o);if(r)return{backgroundColor:r.backgroundColor,textColor:r.color};const i=G[o];return{backgroundColor:d(e,i.shade),textColor:i.textColor}}const a=t==="light"?j[o]:H[o];return{backgroundColor:d(e,a.shade),textColor:a.textColor}}function z(e,t){const o=t==="light"?500:600;switch(e){case"white":return t==="light"?"var(--text-inverse-light)":"var(--text-inverted-dark)";case"black":return"var(--color-black)";case"transparent":return"transparent";default:return d(e,o)}}function W(e,t){return e==="white"?"var(--color-white)":e==="black"?"var(--color-black)":e==="transparent"?"inherit":d(e,t==="light"?800:200)}function P(e,t,o){return t==="soft"?d(e,o==="light"?300:700):d(e,o==="light"?500:600)}const K="bui-icons",g=new Map,b=(()=>{try{return typeof indexedDB<"u"&&indexedDB!==null}catch{return!1}})();function Y(){return b?new Promise((e,t)=>{const o=indexedDB.open(K,1);o.onupgradeneeded=function(n){const a=n.target.result;a.objectStoreNames.contains("icons")||a.createObjectStore("icons")},o.onsuccess=function(){e(o.result)},o.onerror=function(){t(o.error)}}):Promise.reject(new Error("IndexedDB not available"))}const m=b?Y():null;async function D(e,t){try{if(m){const o=await m;return new Promise((n,a)=>{const r=o.transaction("icons","readwrite");r.objectStore("icons").put(t,e),r.oncomplete=()=>n(),r.onerror=a})}else g.set(e,t)}catch{g.set(e,t)}}async function S(e){try{if(m){const t=await m;return new Promise((o,n)=>{const i=t.transaction("icons","readonly").objectStore("icons").get(e);i.onsuccess=function(){o(i.result)},i.onerror=n})}else return g.get(e)||null}catch{return g.get(e)||null}}async function J(e){const t=`https://api.iconify.design/${e}.svg`;return fetch(t).then(o=>{if(o.status===200)return o.text();throw new Error(`Failed to load icon: ${e}`)})}async function Q(e){const t=e.replace(":","/"),o=await S(t);if(o)return o;const n=await J(t);return await D(t,n),n}function Z(e){return["bc-icon",`bc-icon--${e}`].join(" ")}function X(e,t="solid"){if(!e)return"";const o=P(e,t,"light"),n=P(e,t,"dark");return`--icon-color: ${o}; --icon-color-dark: ${n}`}function ee({icon:e,size:t="md",color:o,title:n,accessibility:a="auto",tone:r="solid"},...i){const u=l.computedOf(a,n)((s,c)=>s==="decorative"?!1:s==="informative"?!0:c!=null&&c!=="");return l.Use(R,s=>l.html.span(l.attr.class(l.computedOf(t,o)(c=>Z(c??"md"))),l.attr.style(l.computedOf(o,r)((c,h)=>X(c??void 0,h??"solid"))),l.When(u,()=>l.Fragment(l.attr.role("img"),l.aria.label(l.coalesce(n,s.$.iconDescription))),()=>l.aria.hidden(!0)),k.WhenInViewport({once:!0},()=>k.Query({request:e,load:({request:c})=>Q(c),convertError:String,success:({value:c})=>l.html.span(l.style.width("100%"),l.style.height("100%"),l.attr.innerHTML(c)),pending:()=>l.html.span(l.attr.class("animate-spin"),l.When(u,()=>l.Fragment(l.attr.role("img"),l.aria.label(s.$.loadingIcon)),()=>l.aria.hidden(!0)),"↻"),failure:({error:c})=>l.html.span(l.attr.title(c),l.attr.class("text-red-500"),l.When(u,()=>l.Fragment(l.attr.role("img"),l.aria.label(s.$.failedToLoadIcon)),()=>l.aria.hidden(!0)),"🚫")})),...i))}function te(e){const t=e.split("-"),o=[e];return t.length>1&&o.push(t[0]),o}function B({locale:e,defaultLocale:t="en-US",defaultMessages:o,localeLoader:n}){const a=l.prop(t),r=l.prop(o),i=e.on(async u=>{if(u===a.value)return;a.set(u);const s=te(u);for(const c of s)try{const h=await n(c);if(typeof h.default=="object"&&Object.keys(h).length===1){console.error("It appears that you are trying to load a translation module without referencing the default export. Please use `(await import(...)).default` in your loader function.");return}if(u===a.value){r.set(h);return}}catch{continue}console.warn(`No locale found for "${e.value}", using fallback`),u===a.value&&r.set(o)});return{dispose:()=>{i(),a.dispose(),r.dispose()},t:r}}function q({defaultLocale:e,defaultMessages:t,localeLoader:o,providerName:n="I18nProvider"}){return{mark:l.makeProviderMark(n),create:(a,r)=>{const{value:{locale:i}}=r.getProvider(L.mark),{t:u,dispose:s}=B({locale:i,defaultMessages:t,defaultLocale:e,localeLoader:o});return{value:u,dispose:s}}}}const oe=Object.assign({"./locales/ar.ts":()=>Promise.resolve().then(()=>require("./ar-CFd5Xkva.cjs")).then(e=>e.default),"./locales/de.ts":()=>Promise.resolve().then(()=>require("./de-BJG9UqDS.cjs")).then(e=>e.default),"./locales/es.ts":()=>Promise.resolve().then(()=>require("./es-BBqPUxJF.cjs")).then(e=>e.default),"./locales/fa.ts":()=>Promise.resolve().then(()=>require("./fa-d0o3KlIu.cjs")).then(e=>e.default),"./locales/fr.ts":()=>Promise.resolve().then(()=>require("./fr-DzXA-sjH.cjs")).then(e=>e.default),"./locales/he.ts":()=>Promise.resolve().then(()=>require("./he-Cnx-qg1P.cjs")).then(e=>e.default),"./locales/hi.ts":()=>Promise.resolve().then(()=>require("./hi-BeJ8Q4O6.cjs")).then(e=>e.default),"./locales/it.ts":()=>Promise.resolve().then(()=>require("./it-DE3pe-gS.cjs")).then(e=>e.default),"./locales/ja.ts":()=>Promise.resolve().then(()=>require("./ja-yzk8mwox.cjs")).then(e=>e.default),"./locales/ko.ts":()=>Promise.resolve().then(()=>require("./ko-rKqndOMO.cjs")).then(e=>e.default),"./locales/nl.ts":()=>Promise.resolve().then(()=>require("./nl-DKHslb-6.cjs")).then(e=>e.default),"./locales/pl.ts":()=>Promise.resolve().then(()=>require("./pl-9yeqi1Kn.cjs")).then(e=>e.default),"./locales/pt.ts":()=>Promise.resolve().then(()=>require("./pt-CCfVWHz4.cjs")).then(e=>e.default),"./locales/ru.ts":()=>Promise.resolve().then(()=>require("./ru-Cct0jttM.cjs")).then(e=>e.default),"./locales/tr.ts":()=>Promise.resolve().then(()=>require("./tr-DhKxAXK0.cjs")).then(e=>e.default),"./locales/ur.ts":()=>Promise.resolve().then(()=>require("./ur-DmfFC6MV.cjs")).then(e=>e.default),"./locales/vi.ts":()=>Promise.resolve().then(()=>require("./vi-DvY-zvIr.cjs")).then(e=>e.default),"./locales/zh.ts":()=>Promise.resolve().then(()=>require("./zh-DJhzbpi2.cjs")).then(e=>e.default)}),R=q({defaultLocale:p,defaultMessages:f,localeLoader:async e=>{if(e===p)return f;const t=oe[`./locales/${e}.ts`];return t?await t():f},providerName:"BeatUII18n"});exports.BeatUII18n=R;exports.Icon=ee;exports.LOGICAL_PROPERTY_MAP=I;exports.Locale=L;exports.backgroundValue=U;exports.borderColorValue=z;exports.defaultLocale=p;exports.defaultMessages=f;exports.formatFileSize=w;exports.getDirectionClassName=A;exports.getDirectionFromLocale=C;exports.getIconLocally=S;exports.getOppositeDirection=O;exports.getPhysicalProperty=M;exports.hoverBackgroundValue=_;exports.isIndexedDBAvailable=b;exports.isRTLLocale=T;exports.makeI18nProvider=q;exports.makeMessages=B;exports.resolveDirection=$;exports.storeIconLocally=D;exports.textColorValue=W;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const o=require("./translations-
|
|
1
|
+
"use strict";const o=require("./translations-BDGa_4jx.cjs"),n={signInTitle:"Sign In",signInButton:"Sign In",emailLabel:"Email",passwordLabel:"Password",rememberMeLabel:"Remember me",forgotPasswordLink:"Forgot password?",noAccountLink:"Don't have an account? Sign up",signUpTitle:"Sign Up",signUpButton:"Sign Up",nameLabel:"Name",confirmPasswordLabel:"Confirm Password",acceptTermsLabel:"I accept the terms and conditions",hasAccountLink:"Already have an account? Sign in",resetPasswordTitle:"Reset Password",resetPasswordButton:"Reset Password",resetPasswordDescription:"Enter your email to reset your password.",backToSignInLink:"Back to sign in",continueWithProvider:e=>`Continue with ${e}`,passwordStrengthWeak:"Weak",passwordStrengthFair:"Fair",passwordStrengthGood:"Good",passwordStrengthStrong:"Strong",orDivider:"or",error:"An error occurred",required:"Required",authenticationTitle:"Authentication",passwordMinLength:e=>`Password must be at least ${e} characters`,passwordRequireUppercase:"Password must contain at least one uppercase letter",passwordRequireLowercase:"Password must contain at least one lowercase letter",passwordRequireNumber:"Password must contain at least one number",passwordRequireSpecialChar:"Password must contain at least one special character",emailRequired:"Email is required",invalidEmail:"Please enter a valid email address",passwordRequired:"Password is required",nameRequired:"Name is required",confirmPasswordRequired:"Please confirm your password",acceptTermsRequired:"You must accept the terms and conditions",passwordsDoNotMatch:"Passwords don't match",invalidPassword:"Invalid password",invalidEmailAddress:"Invalid email"},s=n,t="en",i=Object.assign({"./locales/ar.ts":()=>Promise.resolve().then(()=>require("./ar-kZBzg02I.cjs")).then(e=>e.default),"./locales/de.ts":()=>Promise.resolve().then(()=>require("./de-B03SM9eF.cjs")).then(e=>e.default),"./locales/es.ts":()=>Promise.resolve().then(()=>require("./es-BRa0hV-7.cjs")).then(e=>e.default),"./locales/fa.ts":()=>Promise.resolve().then(()=>require("./fa-BxCSKn9j.cjs")).then(e=>e.default),"./locales/fr.ts":()=>Promise.resolve().then(()=>require("./fr-Dq6RAY9s.cjs")).then(e=>e.default),"./locales/he.ts":()=>Promise.resolve().then(()=>require("./he-BBX1h9uD.cjs")).then(e=>e.default),"./locales/hi.ts":()=>Promise.resolve().then(()=>require("./hi-Cd0YQZTU.cjs")).then(e=>e.default),"./locales/it.ts":()=>Promise.resolve().then(()=>require("./it-ByIEk5Cq.cjs")).then(e=>e.default),"./locales/ja.ts":()=>Promise.resolve().then(()=>require("./ja-DV6Fpp18.cjs")).then(e=>e.default),"./locales/ko.ts":()=>Promise.resolve().then(()=>require("./ko-DR1f0as8.cjs")).then(e=>e.default),"./locales/nl.ts":()=>Promise.resolve().then(()=>require("./nl-CQF0N7Mc.cjs")).then(e=>e.default),"./locales/pl.ts":()=>Promise.resolve().then(()=>require("./pl-y_w3DWF3.cjs")).then(e=>e.default),"./locales/pt.ts":()=>Promise.resolve().then(()=>require("./pt-DqaZWmbG.cjs")).then(e=>e.default),"./locales/ru.ts":()=>Promise.resolve().then(()=>require("./ru-CISMzCHR.cjs")).then(e=>e.default),"./locales/tr.ts":()=>Promise.resolve().then(()=>require("./tr-mWu2E__o.cjs")).then(e=>e.default),"./locales/ur.ts":()=>Promise.resolve().then(()=>require("./ur-B6yB2JQ7.cjs")).then(e=>e.default),"./locales/vi.ts":()=>Promise.resolve().then(()=>require("./vi-DneuUbkq.cjs")).then(e=>e.default),"./locales/zh.ts":()=>Promise.resolve().then(()=>require("./zh-DFHuW_5g.cjs")).then(e=>e.default)}),a=o.makeI18nProvider({defaultLocale:t,defaultMessages:s,localeLoader:async e=>{if(e===t)return s;const r=i[`./locales/${e}.ts`];return r?await r():s},providerName:"AuthI18n"}),l=Object.freeze(Object.defineProperty({__proto__:null,AuthI18n:a},Symbol.toStringTag,{value:"Module"}));exports.AuthI18n=a;exports.defaultMessages=s;exports.translations=l;
|
|
@@ -67,6 +67,7 @@ export declare const defaultMessages: {
|
|
|
67
67
|
unknownType: string;
|
|
68
68
|
filesInputInstructions: (maxFiles: number | undefined, maxFileSize: number | undefined, fileSizeUnits: string[]) => string;
|
|
69
69
|
paginationLabel: string;
|
|
70
|
+
paginationRange: (from: number, to: number, filtered: number, total: number) => string;
|
|
70
71
|
firstPage: string;
|
|
71
72
|
previousPage: string;
|
|
72
73
|
nextPage: string;
|
|
@@ -53,6 +53,7 @@ declare const en: {
|
|
|
53
53
|
unknownType: string;
|
|
54
54
|
filesInputInstructions: (maxFiles: number | undefined, maxFileSize: number | undefined, fileSizeUnits: string[]) => string;
|
|
55
55
|
paginationLabel: string;
|
|
56
|
+
paginationRange: (from: number, to: number, filtered: number, total: number) => string;
|
|
56
57
|
firstPage: string;
|
|
57
58
|
previousPage: string;
|
|
58
59
|
nextPage: string;
|
|
@@ -77,6 +77,7 @@ export declare const BeatUII18n: import("@tempots/dom").Provider<import("@tempot
|
|
|
77
77
|
unknownType: string;
|
|
78
78
|
filesInputInstructions: (maxFiles: number | undefined, maxFileSize: number | undefined, fileSizeUnits: string[]) => string;
|
|
79
79
|
paginationLabel: string;
|
|
80
|
+
paginationRange: (from: number, to: number, filtered: number, total: number) => string;
|
|
80
81
|
firstPage: string;
|
|
81
82
|
previousPage: string;
|
|
82
83
|
nextPage: string;
|
|
@@ -7,6 +7,12 @@ import { DataTableOptions } from './data-table-types';
|
|
|
7
7
|
* Supports column-level sorting, filtering, row selection, pagination, bulk actions,
|
|
8
8
|
* and server-side mode. Each feature is opt-in and configurable per column.
|
|
9
9
|
*
|
|
10
|
+
* When `stickyHeader` is enabled, the DataTable renders inside a flex column
|
|
11
|
+
* container where the toolbar and pagination are pinned (top and bottom
|
|
12
|
+
* respectively) and only the table body scrolls. The container fills its
|
|
13
|
+
* parent's height — the parent must provide a height constraint (explicit
|
|
14
|
+
* height, flex layout, grid layout, etc.).
|
|
15
|
+
*
|
|
10
16
|
* @typeParam T - The type of data rows
|
|
11
17
|
* @param options - Full configuration for the data table
|
|
12
18
|
* @returns A composed data table element
|
|
@@ -31,8 +37,9 @@ import { DataTableOptions } from './data-table-types';
|
|
|
31
37
|
* selectable: { position: 'before', selectOnRowClick: true },
|
|
32
38
|
* pagination: { pageSize: 20 },
|
|
33
39
|
* toolbar: { bulkActions: [{ label: 'Delete', onClick: sel => deleteUsers(sel) }] },
|
|
40
|
+
* stickyHeader: true,
|
|
34
41
|
* fullWidth: true,
|
|
35
42
|
* })
|
|
36
43
|
* ```
|
|
37
44
|
*/
|
|
38
|
-
export declare function DataTable<T, C extends string = string>(options: DataTableOptions<T, C>): import("@tempots/
|
|
45
|
+
export declare function DataTable<T, C extends string = string>(options: DataTableOptions<T, C>): import("@tempots/dom").Renderable;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as i } from "./translations-
|
|
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 &&
|
|
64
|
+
const n = [];
|
|
65
|
+
if (e != null && e > 1 && n.push(`زیادہ سے زیادہ ${e} فائلیں`), t && l) {
|
|
66
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: "اگلا صفحہ",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=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:"فرانسیسی",he:"عبرانی",hi:"ہندی",it:"اطالوی",ja:"جاپانی",ko:"کوریائی",nl:"ڈچ",pl:"پولش",pt:"پرتگالی",ru:"روسی",tr:"ترکی",vi:"ویتنامی",zh:"چینی",fa:"فارسی",ur:"اردو",emailPlaceholderText:"اپنا ای میل داخل کریں",incrementValue:"قدر اضافہ کریں",decrementValue:"قدر کم کریں",dropZoneInstructions:e=>e?"منتخب کرنے کے لیے کلک کریں یا فائلیں یہاں گھسیٹیں، یا فائل منتخب کرنے کے لیے Enter یا Space دبائیں":"فائلیں یہاں گھسیٹیں",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 a=i.formatFileSize(t,{units:l});n.push(`ہر ایک زیادہ سے زیادہ ${a}`)}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:"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;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { computedOf as k, html as m, attr as c, Value as C, Empty as T, When as A, dataAttr as P, aria as x, Use as q, coalesce as G, on as E, TextNode as J, prop as w, Fragment as $, emitValueAsNumber as Q, emitValue as X } from "@tempots/dom";
|
|
2
|
-
import { B as Y, I as L } from "./translations-
|
|
3
|
-
import { B as Z, I as ee } from "./input-container-
|
|
2
|
+
import { B as Y, I as L } from "./translations-B96REXIk.js";
|
|
3
|
+
import { B as Z, I as ee } from "./input-container-Q9wL2BUl.js";
|
|
4
4
|
import { L as te, M as se } from "./stack-BLMteGTn.js";
|
|
5
5
|
import { s as j } from "./session-id-3KiilioY.js";
|
|
6
6
|
import { Validation as g, strictEqual as V } from "@tempots/std";
|