@tempots/beatui 1.1.3 → 1.2.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-DaKbK_t8.js → ar-C-kUt6f9.js} +8 -7
- package/dist/ar-Dc56zcjW.cjs +1 -0
- package/dist/auth/index.cjs.js +1 -1
- package/dist/auth/index.es.js +1 -1
- package/dist/{auth-divider-Cp3xGpHr.js → auth-divider-DGNQZKEb.js} +7 -7
- package/dist/{auth-divider-3t_-R0sL.cjs → auth-divider-DfWGT38w.cjs} +1 -1
- package/dist/beatui.css +74 -7
- package/dist/beatui.tailwind.css +74 -7
- package/dist/better-auth/index.cjs.js +1 -1
- package/dist/better-auth/index.es.js +5 -5
- package/dist/{colors-DwufPN8S.js → colors-C2sgnzFH.js} +7 -7
- package/dist/{colors-B-p6IzX9.cjs → colors-DPCHjRMj.cjs} +1 -1
- package/dist/{de-3MTPDS1i.js → de-CP0kbElb.js} +8 -7
- package/dist/de-DboQlEC4.cjs +1 -0
- package/dist/{deep-merge-Bz9HHpRt.cjs → deep-merge-Bjv1NvKj.cjs} +1 -1
- package/dist/{deep-merge-Da602mAN.js → deep-merge-DwXDd3iF.js} +234 -233
- package/dist/{duration-input-g-cQ3cs1.cjs → duration-input-CjNZyVkf.cjs} +1 -1
- package/dist/{duration-input-HM1i6RRY.js → duration-input-CnMMvPgT.js} +4 -4
- package/dist/{editor-toolbar-group-Crlu1QJw.js → editor-toolbar-group-DWUWUO-B.js} +2 -2
- package/dist/{editor-toolbar-group-mkL4QozO.cjs → editor-toolbar-group-QVdBUbB8.cjs} +1 -1
- package/dist/{es-DwMUvBeU.js → es-BtIkcnsw.js} +8 -7
- package/dist/es-CAmE_0Ph.cjs +1 -0
- package/dist/{fa-0rvQiKrJ.js → fa-11-rZmQ-.js} +8 -7
- package/dist/fa-D9LrFZdW.cjs +1 -0
- package/dist/{fr-B4i6NzLl.js → fr-C-L2F8w2.js} +8 -7
- package/dist/fr-DKogQyss.cjs +1 -0
- package/dist/{he-C71n-hsn.js → he-Bu1xGoQ9.js} +8 -7
- package/dist/he-CVx91Jdr.cjs +1 -0
- package/dist/hi-BgrHV72l.cjs +1 -0
- package/dist/{hi-xmrXpeVU.js → hi-CewH-MAH.js} +8 -7
- package/dist/{index-C3o9GSH6.js → index-BGKz2Nol.js} +1 -1
- package/dist/{index-B5MAsOC-.cjs → index-DFF7Uahh.cjs} +1 -1
- package/dist/index.cjs.js +2 -2
- package/dist/index.es.js +1273 -1293
- package/dist/{input-container-Di1YvVB_.cjs → input-container-BkPcNDaZ.cjs} +1 -1
- package/dist/{input-container-BvEcp7FU.js → input-container-CO3DNqpp.js} +2 -2
- package/dist/{it-CDZTtOBC.js → it-5hiKQO_p.js} +8 -7
- package/dist/it-B1rA1F9l.cjs +1 -0
- package/dist/{ja-Zz1LzidW.js → ja-CGfEmZrm.js} +8 -7
- package/dist/ja-DZnjjqoi.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-CDnYKYWU.cjs +1 -0
- package/dist/{ko-9laUsZDL.js → ko-DZthvREd.js} +8 -7
- package/dist/lexical/index.cjs.js +1 -1
- package/dist/lexical/index.es.js +4 -4
- package/dist/{modal-BT0jjDqX.cjs → modal-DCxNGrzk.cjs} +1 -1
- package/dist/{modal-DBguyX-b.js → modal-YKqlh4Dk.js} +3 -3
- package/dist/nl-Bj8QnDEY.cjs +1 -0
- package/dist/{nl-Dcll9fVA.js → nl-CcKyHlQ7.js} +9 -8
- package/dist/{notice-Dtz7ADVH.js → notice-Du3tWJTW.js} +4 -4
- package/dist/{notice-BNghd0oS.cjs → notice-Q0A1gIho.cjs} +1 -1
- package/dist/{oneof-branch-detection-ZUBZ6hqy.cjs → oneof-branch-detection-BEkAezNi.cjs} +1 -1
- package/dist/{oneof-branch-detection-J_DYEEcD.js → oneof-branch-detection-DSzC0PkO.js} +1 -1
- package/dist/pl-BmuuxxVd.cjs +1 -0
- package/dist/{pl-Dm9N9Gbr.js → pl-Mwtjp4MV.js} +8 -7
- package/dist/prosemirror/index.cjs.js +1 -1
- package/dist/prosemirror/index.es.js +4 -4
- package/dist/{pt-CFi5cn0k.js → pt-BaTsY-8f.js} +8 -7
- package/dist/pt-RiC0yeVA.cjs +1 -0
- package/dist/{ru-CEhZUw8R.js → ru-CvbGmz5s.js} +10 -9
- package/dist/ru-pRqtOQHF.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-dDUEUmlC.js → text-input-BAn02BzO.js} +1 -1
- package/dist/{text-input-DL9FvpTZ.cjs → text-input-D_IxFd0M.cjs} +1 -1
- package/dist/{toolbar-DY0ax2Qd.js → toolbar-BKan3NHw.js} +1 -1
- package/dist/{toolbar-DoKdYXIL.cjs → toolbar-CnecqhaU.cjs} +1 -1
- package/dist/tr-B9JhBJeL.cjs +1 -0
- package/dist/{tr-ZmnVDhLP.js → tr-YFqQdZjM.js} +9 -8
- package/dist/{translations-C81buKAw.cjs → translations-C_-cObaF.cjs} +1 -1
- package/dist/{translations-A4kR7CW8.js → translations-CxDUnbXn.js} +1 -1
- package/dist/{translations-B1_yyDUK.js → translations-DT5QQ4WO.js} +88 -87
- package/dist/translations-qefRsdGi.cjs +1 -0
- 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/types/components/form/input/date-input.d.ts +4 -4
- package/dist/types/components/form/input/date-time-input.d.ts +4 -4
- package/dist/types/components/form/input/input-container.d.ts +1 -1
- package/dist/types/components/form/input/nullable-date-input.d.ts +2 -2
- package/dist/types/components/form/input/nullable-date-time-input.d.ts +2 -2
- package/dist/ur-BZakU0iv.cjs +1 -0
- package/dist/{ur-yYgj3NmT.js → ur-CdnwwnG_.js} +8 -7
- package/dist/{use-form-CaW192gw.cjs → use-form-BvBkVEKi.cjs} +1 -1
- package/dist/{use-form-Dn6v2tEh.js → use-form-D_TJyZhP.js} +2 -2
- package/dist/{vi-D5u4CLQO.js → vi-Bwvz1d_n.js} +8 -7
- package/dist/vi-D1nly0nb.cjs +1 -0
- package/dist/{widget-customization-DOWmUuPU.cjs → widget-customization-CD_NyRQ8.cjs} +1 -1
- package/dist/{widget-customization-YhVcA-KM.js → widget-customization-D2a6SVP3.js} +5 -5
- package/dist/zh-DBk7sSD9.cjs +1 -0
- package/dist/{zh-B0kwMMer.js → zh-hy7Uw6c5.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,6 +1,6 @@
|
|
|
1
1
|
import S from "node:fs";
|
|
2
2
|
import u from "node:path";
|
|
3
|
-
import { a as z, b as V, c as H, d as J, e as Q } from "../index-
|
|
3
|
+
import { a as z, b as V, c as H, d as J, e as Q } from "../index-BGKz2Nol.js";
|
|
4
4
|
import { mkdir as X, writeFile as k, readFile as K } from "node:fs/promises";
|
|
5
5
|
import { createHash as Y } from "node:crypto";
|
|
6
6
|
const Z = "https://fonts.googleapis.com/css2", x = "normal", q = 400, D = "Mozilla/5.0 (compatible; BeatUI Tailwind Plugin; +https://tempots.com)";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Fragment as C, attr as n, aria as r, Value as b, html as f, Empty as m, on as s, emitValue as c } from "@tempots/dom";
|
|
2
|
-
import { I as g } from "./input-container-
|
|
2
|
+
import { I as g } from "./input-container-CO3DNqpp.js";
|
|
3
3
|
function T(t, e, u) {
|
|
4
4
|
const { value: a, onChange: l, onInput: o, ...i } = t;
|
|
5
5
|
return {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const t=require("@tempots/dom"),I=require("./input-container-
|
|
1
|
+
"use strict";const t=require("@tempots/dom"),I=require("./input-container-BkPcNDaZ.cjs");function d(n,a,u){const{value:l,onChange:e,onInput:r,...i}=n;return{...i,value:t.Value.map(l,a),onChange:e!=null?o=>e(u(o)):void 0,onInput:r!=null?o=>r(u(o)):void 0}}const m=({autocomplete:n,ariaLabel:a,autofocus:u,classes:l,disabled:e,name:r,placeholder:i,id:o,required:s,tabIndex:c,hasError:p})=>t.Fragment(t.attr.autocomplete(n),t.attr.autofocus(u),t.attr.class(l?.input),t.attr.disabled(e),t.attr.name(r??o),t.attr.placeholder(i),t.attr.id(o),t.aria.required(s),a!=null?t.aria.label(a):null,t.attr.tabindex(c),p!=null?t.aria.invalid(p??!1):null),v=n=>{const{value:a,onBlur:u,onChange:l,onInput:e,type:r}=n;return I.InputContainer({...n,input:t.html.input(t.attr.type(r??"text"),m(n),t.attr.value(a),t.attr.class("bc-input"),u!=null?t.on.blur(t.emitValue(u)):t.Empty,l!=null?t.on.change(t.emitValue(l)):t.Empty,e!=null?t.on.input(t.emitValue(e)):t.Empty)})};exports.CommonInputAttributes=m;exports.TextInput=v;exports.mapInputOptions=d;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { html as f, attr as n, aria as c, WithElement as p, OnDispose as x, Value as y } from "@tempots/dom";
|
|
2
|
-
import { B as g } from "./input-container-
|
|
2
|
+
import { B as g } from "./input-container-CO3DNqpp.js";
|
|
3
3
|
const d = [
|
|
4
4
|
"button:not([disabled])",
|
|
5
5
|
'[role="button"]:not([aria-disabled="true"])',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const t=require("@tempots/dom"),v=require("./input-container-
|
|
1
|
+
"use strict";const t=require("@tempots/dom"),v=require("./input-container-BkPcNDaZ.cjs"),c=["button:not([disabled])",'[role="button"]:not([aria-disabled="true"])',"a[href]","input:not([disabled])","select:not([disabled])","textarea:not([disabled])",'[tabindex]:not([tabindex="-1"])'].join(", ");function A(l,...i){const{ariaLabel:n}=l;return t.html.div(t.attr.class("bc-toolbar"),t.attr.role("toolbar"),t.aria.orientation("horizontal"),n!=null?t.aria.label(n):null,t.WithElement(a=>{const d=()=>{const r=Array.from(a.querySelectorAll(c));r.length!==0&&r.forEach((e,o)=>e.setAttribute("tabindex",o===0?"0":"-1"))},s=r=>{const e=Array.from(a.querySelectorAll(c));if(e.length===0)return;const o=e.findIndex(f=>f===document.activeElement);let u=(o===-1?0:o)+r;u<0&&(u=e.length-1),u>=e.length&&(u=0),e.forEach(f=>f.setAttribute("tabindex","-1"));const h=e[u];h.setAttribute("tabindex","0"),h.focus()};setTimeout(d,0);const m=r=>{switch(r.key){case"ArrowRight":r.preventDefault(),s(1);break;case"ArrowLeft":r.preventDefault(),s(-1);break;case"Home":r.preventDefault(),s(-1);{const e=Array.from(a.querySelectorAll(c));if(e.length){e.forEach(b=>b.setAttribute("tabindex","-1"));const o=e[0];o.setAttribute("tabindex","0"),o.focus()}}break;case"End":r.preventDefault();{const e=Array.from(a.querySelectorAll(c));if(e.length){e.forEach(b=>b.setAttribute("tabindex","-1"));const o=e[e.length-1];o.setAttribute("tabindex","0"),o.focus()}}break}};return a.addEventListener("keydown",m),t.OnDispose(()=>{a.removeEventListener("keydown",m)})}),...i)}function p(l,...i){const{iconOnly:n,ariaLabel:a,...d}=l;return v.Button({color:"neutral",roundedness:"md",variant:"light",...d},t.attr.class("bc-toolbar__button"),n!=null?t.attr.class(t.Value.map(n,s=>s?"bc-toolbar__button--icon-only":"")):null,a!=null?t.aria.label(a):null,...i)}function x(l,...i){const{ariaLabel:n}=l;return t.html.div(t.attr.class("bc-toolbar__group"),t.attr.role("group"),n!=null?t.aria.label(n):null,...i)}function y(){return t.html.div(t.attr.class("bc-toolbar__divider"),t.attr.role("separator"),t.aria.orientation("vertical"))}function g(){return t.html.div(t.attr.class("bc-toolbar__spacer"))}exports.Toolbar=A;exports.ToolbarButton=p;exports.ToolbarDivider=y;exports.ToolbarGroup=x;exports.ToolbarSpacer=g;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./translations-qefRsdGi.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,4 +1,4 @@
|
|
|
1
|
-
import { f as
|
|
1
|
+
import { f as r } from "./translations-DT5QQ4WO.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",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const o=require("./translations-
|
|
1
|
+
"use strict";const o=require("./translations-qefRsdGi.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;
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import { localStorageProp as
|
|
2
|
-
import { WhenInViewport as
|
|
3
|
-
import { b as T, g as E } from "./colors-
|
|
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
|
+
import { b as T, g as E } from "./colors-C2sgnzFH.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-C-kUt6f9.js").then((e) => e.default),
|
|
696
|
+
"./locales/de.ts": () => import("./de-CP0kbElb.js").then((e) => e.default),
|
|
697
|
+
"./locales/es.ts": () => import("./es-BtIkcnsw.js").then((e) => e.default),
|
|
698
|
+
"./locales/fa.ts": () => import("./fa-11-rZmQ-.js").then((e) => e.default),
|
|
699
|
+
"./locales/fr.ts": () => import("./fr-C-L2F8w2.js").then((e) => e.default),
|
|
700
|
+
"./locales/he.ts": () => import("./he-Bu1xGoQ9.js").then((e) => e.default),
|
|
701
|
+
"./locales/hi.ts": () => import("./hi-CewH-MAH.js").then((e) => e.default),
|
|
702
|
+
"./locales/it.ts": () => import("./it-5hiKQO_p.js").then((e) => e.default),
|
|
703
|
+
"./locales/ja.ts": () => import("./ja-CGfEmZrm.js").then((e) => e.default),
|
|
704
|
+
"./locales/ko.ts": () => import("./ko-DZthvREd.js").then((e) => e.default),
|
|
705
|
+
"./locales/nl.ts": () => import("./nl-CcKyHlQ7.js").then((e) => e.default),
|
|
706
|
+
"./locales/pl.ts": () => import("./pl-Mwtjp4MV.js").then((e) => e.default),
|
|
707
|
+
"./locales/pt.ts": () => import("./pt-BaTsY-8f.js").then((e) => e.default),
|
|
708
|
+
"./locales/ru.ts": () => import("./ru-CvbGmz5s.js").then((e) => e.default),
|
|
709
|
+
"./locales/tr.ts": () => import("./tr-YFqQdZjM.js").then((e) => e.default),
|
|
710
|
+
"./locales/ur.ts": () => import("./ur-CdnwwnG_.js").then((e) => e.default),
|
|
711
|
+
"./locales/vi.ts": () => import("./vi-Bwvz1d_n.js").then((e) => e.default),
|
|
712
|
+
"./locales/zh.ts": () => import("./zh-hy7Uw6c5.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-DPCHjRMj.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-Dc56zcjW.cjs")).then(e=>e.default),"./locales/de.ts":()=>Promise.resolve().then(()=>require("./de-DboQlEC4.cjs")).then(e=>e.default),"./locales/es.ts":()=>Promise.resolve().then(()=>require("./es-CAmE_0Ph.cjs")).then(e=>e.default),"./locales/fa.ts":()=>Promise.resolve().then(()=>require("./fa-D9LrFZdW.cjs")).then(e=>e.default),"./locales/fr.ts":()=>Promise.resolve().then(()=>require("./fr-DKogQyss.cjs")).then(e=>e.default),"./locales/he.ts":()=>Promise.resolve().then(()=>require("./he-CVx91Jdr.cjs")).then(e=>e.default),"./locales/hi.ts":()=>Promise.resolve().then(()=>require("./hi-BgrHV72l.cjs")).then(e=>e.default),"./locales/it.ts":()=>Promise.resolve().then(()=>require("./it-B1rA1F9l.cjs")).then(e=>e.default),"./locales/ja.ts":()=>Promise.resolve().then(()=>require("./ja-DZnjjqoi.cjs")).then(e=>e.default),"./locales/ko.ts":()=>Promise.resolve().then(()=>require("./ko-CDnYKYWU.cjs")).then(e=>e.default),"./locales/nl.ts":()=>Promise.resolve().then(()=>require("./nl-Bj8QnDEY.cjs")).then(e=>e.default),"./locales/pl.ts":()=>Promise.resolve().then(()=>require("./pl-BmuuxxVd.cjs")).then(e=>e.default),"./locales/pt.ts":()=>Promise.resolve().then(()=>require("./pt-RiC0yeVA.cjs")).then(e=>e.default),"./locales/ru.ts":()=>Promise.resolve().then(()=>require("./ru-pRqtOQHF.cjs")).then(e=>e.default),"./locales/tr.ts":()=>Promise.resolve().then(()=>require("./tr-B9JhBJeL.cjs")).then(e=>e.default),"./locales/ur.ts":()=>Promise.resolve().then(()=>require("./ur-BZakU0iv.cjs")).then(e=>e.default),"./locales/vi.ts":()=>Promise.resolve().then(()=>require("./vi-D1nly0nb.cjs")).then(e=>e.default),"./locales/zh.ts":()=>Promise.resolve().then(()=>require("./zh-DBk7sSD9.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;
|
|
@@ -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;
|
|
@@ -12,10 +12,10 @@ import { InputOptions } from './input-options';
|
|
|
12
12
|
* @example
|
|
13
13
|
* ```ts
|
|
14
14
|
* import { prop } from '@tempots/dom'
|
|
15
|
-
* import {
|
|
15
|
+
* import { DateInput } from '@tempots/beatui'
|
|
16
16
|
*
|
|
17
17
|
* const birthday = prop(new Date('1990-01-15'))
|
|
18
|
-
*
|
|
18
|
+
* DateInput({
|
|
19
19
|
* value: birthday,
|
|
20
20
|
* onChange: birthday.set,
|
|
21
21
|
* })
|
|
@@ -24,7 +24,7 @@ import { InputOptions } from './input-options';
|
|
|
24
24
|
* @example
|
|
25
25
|
* ```ts
|
|
26
26
|
* // With error state and disabled
|
|
27
|
-
*
|
|
27
|
+
* DateInput({
|
|
28
28
|
* value: prop(new Date()),
|
|
29
29
|
* onChange: (d) => console.log('Selected:', d),
|
|
30
30
|
* hasError: prop(true),
|
|
@@ -32,4 +32,4 @@ import { InputOptions } from './input-options';
|
|
|
32
32
|
* })
|
|
33
33
|
* ```
|
|
34
34
|
*/
|
|
35
|
-
export declare const
|
|
35
|
+
export declare const DateInput: (options: InputOptions<Date>) => import("@tempots/dom").Renderable;
|