@orangelogic/design-system 4.51.0 → 4.53.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/library/chunks/{abnfDiagram-N423BO3Z.BdDkSL0S.js → abnfDiagram-N423BO3Z.H1zwr_k6.js} +3 -3
- package/library/chunks/{architectureDiagram-T3A2C74G.BPW98p0m.js → architectureDiagram-T3A2C74G.AxjW1Pvo.js} +5 -5
- package/library/chunks/{array-line-clamp.HGGPocNC.js → array-line-clamp.DKxxZlon.js} +2 -2
- package/library/chunks/{asset-link-format.CV-Jw-hk.js → asset-link-format.B_gS4nTL.js} +2 -2
- package/library/chunks/{bicolor-picker.BGSxhZJ-.js → bicolor-picker.DrQWK6-q.js} +1 -1
- package/library/chunks/{block-width.B8m9MQM3.js → block-width.-jEx3KZ4.js} +31 -31
- package/library/chunks/{blockDiagram-VBNYF7ZC.2el4_mfU.js → blockDiagram-VBNYF7ZC.BA5YJ5tg.js} +6 -6
- package/library/chunks/{border-input-group.wXw6aSGa.js → border-input-group.PiWnqlx7.js} +1 -1
- package/library/chunks/{c4Diagram-5PPSVZJV.CB1meuC0.js → c4Diagram-5PPSVZJV.B1weqOqz.js} +3 -3
- package/library/chunks/{channel.Df7qi9B0.js → channel.Bqlqmufs.js} +1 -1
- package/library/chunks/{chunk-2GRJ4B5K.gGaxW0lA.js → chunk-2GRJ4B5K.BOBf1_FX.js} +1 -1
- package/library/chunks/{chunk-4I5QYGJK.BfgT5lel.js → chunk-4I5QYGJK.DfO_P7bO.js} +1 -1
- package/library/chunks/{chunk-5RXB4S5H.CF2ZeQiS.js → chunk-5RXB4S5H.oisV3Q1b.js} +5 -5
- package/library/chunks/{chunk-6Q2QTUOP.BKuPYCzj.js → chunk-6Q2QTUOP.ByglL7sM.js} +2 -2
- package/library/chunks/{chunk-7Z6QIM7H.ChD5saA-.js → chunk-7Z6QIM7H.BXSFN_6B.js} +6 -6
- package/library/chunks/{chunk-GF5L2VYU.D7Kyf8tv.js → chunk-GF5L2VYU.BBRVN_Sz.js} +5 -5
- package/library/chunks/{chunk-I66GZJ75.H0-SV6eJ.js → chunk-I66GZJ75.lUTR0Zxp.js} +1 -1
- package/library/chunks/{chunk-JQJVKLGR.vSmZrVfn.js → chunk-JQJVKLGR.dOAJ_eec.js} +7 -7
- package/library/chunks/{chunk-KBJHAD2P.BFtv98WB.js → chunk-KBJHAD2P.Bfz5cQAa.js} +1 -1
- package/library/chunks/{chunk-NSK5VX7P.CigvU-YZ.js → chunk-NSK5VX7P.BkWzMz1o.js} +1 -1
- package/library/chunks/{chunk-QR6OTTB3.DXgKvg29.js → chunk-QR6OTTB3.DyBl4spZ.js} +6 -6
- package/library/chunks/{chunk-UBXNYLIW.Cwnmh6rE.js → chunk-UBXNYLIW.BjkOeuJd.js} +2 -2
- package/library/chunks/{chunk-W5SLKNZC.BGc7e7pD.js → chunk-W5SLKNZC.DzlXmWcA.js} +1 -1
- package/library/chunks/{chunk-WRU74C26.DI6bT2w6.js → chunk-WRU74C26.BDl8PZFV.js} +3 -3
- package/library/chunks/{classDiagram-JCYQIIEL.64BYmngb.js → classDiagram-JCYQIIEL.P36yteOv.js} +12 -12
- package/library/chunks/{classDiagram-v2-OCEON4UE.BZauU1et.js → classDiagram-v2-OCEON4UE.C05djrx3.js} +12 -12
- package/library/chunks/{color-picker.DlcAbY3b.js → color-picker.DkVQou0p.js} +108 -108
- package/library/chunks/{color-swatch-group.BdYLfI59.js → color-swatch-group.C85bEtP3.js} +111 -111
- package/library/chunks/{color-swatch.D31RnyZs.js → color-swatch.Biz89VJr.js} +1 -1
- package/library/chunks/{config-manager.OCrUXBER.js → config-manager.Cc9QkEey.js} +18 -18
- package/library/chunks/{configs-controller.Cc-Lt6BH.js → configs-controller.DBzBhYjU.js} +5 -5
- package/library/chunks/{confirm-popover.UUhlXSDu.js → confirm-popover.DpVrPWXU.js} +2 -2
- package/library/chunks/{corner-position-input-group.DmmX8lEw.js → corner-position-input-group.vhSOueRn.js} +1 -1
- package/library/chunks/{cynefinDiagram-MW4NZA55.DcUv6X--.js → cynefinDiagram-MW4NZA55.CN3dX-zy.js} +3 -3
- package/library/chunks/{dagre-VZM6K2ZE.REv4K_Qj.js → dagre-VZM6K2ZE.DpSsP2YW.js} +8 -8
- package/library/chunks/{diagram-7IWD3JNH.C6XfUay-.js → diagram-7IWD3JNH.C3K0gCHG.js} +4 -4
- package/library/chunks/{diagram-B4RE2ZJO.Bp-nT294.js → diagram-B4RE2ZJO.BULgC23C.js} +2 -2
- package/library/chunks/{diagram-LBJQPF4R.DM8MEbI5.js → diagram-LBJQPF4R.BmYYTkym.js} +3 -3
- package/library/chunks/{diagram-Q27KOJAE.DYhFE9pI.js → diagram-Q27KOJAE.Bj5ayV3p.js} +5 -5
- package/library/chunks/{diagram-UB23O5K3.BONLndDU.js → diagram-UB23O5K3.Bu_lTx_A.js} +3 -3
- package/library/chunks/{dialog.BKSCSk0r.js → dialog.DprCsbFG.js} +1 -1
- package/library/chunks/{diff.DAFtnzhM.js → diff.DZjfy2VU.js} +4 -4
- package/library/chunks/{document-viewer.CpC54CmZ.js → document-viewer.BRJqmyum.js} +5 -5
- package/library/chunks/{drawer.BEXLFfil.js → drawer.Ba0CKg86.js} +1 -1
- package/library/chunks/{dropdown.CcjP36wF.js → dropdown.CKad9CvP.js} +1 -1
- package/library/chunks/{dynamic-select.CtdC5OzH.js → dynamic-select.DmTXLyzH.js} +5 -5
- package/library/chunks/{ebnfDiagram-BXEA7PRR.vgCVWkh_.js → ebnfDiagram-BXEA7PRR.Cg96HHIs.js} +3 -3
- package/library/chunks/{erDiagram-JOGREHBK.l02-sIjI.js → erDiagram-JOGREHBK.CrJ962th.js} +11 -11
- package/library/chunks/{file-on-demand.B4KUSqtB.js → file-on-demand.Cuj5wcYW.js} +11 -11
- package/library/chunks/flowDiagram-UKHOOZJN.Bj_loY7-.js +16 -0
- package/library/chunks/{folder-select.DEGiL0pP.js → folder-select.DpQEZDg1.js} +20 -20
- package/library/chunks/{ganttDiagram-PKOTCBZU.CD-H_noy.js → ganttDiagram-PKOTCBZU.D216_p5R.js} +2 -2
- package/library/chunks/{gitGraphDiagram-DS77QQ5N.eu4pijfq.js → gitGraphDiagram-DS77QQ5N.BGTaYiUE.js} +2 -2
- package/library/chunks/{image.B87-7U_Z.js → image.C6-Opjew.js} +10 -10
- package/library/chunks/{infoDiagram-6WML65LV.Xm33NlcD.js → infoDiagram-6WML65LV.BHVojFJh.js} +2 -2
- package/library/chunks/{ishikawaDiagram-WSZJBQD7.B-DjIT2K.js → ishikawaDiagram-WSZJBQD7.nZsYnPcQ.js} +3 -3
- package/library/chunks/{journeyDiagram-NVQOT4AX.ByuFaAO4.js → journeyDiagram-NVQOT4AX.BXUxAk98.js} +2 -2
- package/library/chunks/{kanban-definition-27J2QSJJ.BEAgE6i7.js → kanban-definition-27J2QSJJ.Bg8-oEtc.js} +8 -8
- package/library/chunks/{katex.DaGFosgJ.js → katex.BqirFtOb.js} +1 -1
- package/library/chunks/katex.KcI9vfm6.js +21947 -0
- package/library/chunks/{line-clamp.BFh7eXXl.js → line-clamp.COXyDBRB.js} +23 -18
- package/library/chunks/{markdown.Evcme-Lw.js → markdown.CgWP0X61.js} +186 -99
- package/library/chunks/{masonry.H7Hpnx9d.js → masonry.4Lcy37gf.js} +1 -1
- package/library/chunks/{mermaid.core.CUTdrxBG.js → mermaid.core.m1JI7kDY.js} +48 -48
- package/library/chunks/{mindmap-definition-FAOFIHXS.rbw_pav-.js → mindmap-definition-FAOFIHXS.DwjOzYq5.js} +10 -10
- package/library/chunks/{modal.775mgCbW.js → modal.eB-mqL-y.js} +1 -1
- package/library/chunks/{pagination.ca5R1wld.js → pagination.Mr-XiQBd.js} +1 -1
- package/library/chunks/{pegDiagram-VL7TDLO6.BAxarQjC.js → pegDiagram-VL7TDLO6.BaVddVr3.js} +3 -3
- package/library/chunks/{pieDiagram-7S7Q4E2Y.Du6akIPM.js → pieDiagram-7S7Q4E2Y.lZiCqBKs.js} +3 -3
- package/library/chunks/{quadrantDiagram-CIZ2JOQS.0LTMJXU8.js → quadrantDiagram-CIZ2JOQS.DswnHa_z.js} +1 -1
- package/library/chunks/{radio-card.DTRD2YQ6.js → radio-card.jROctGtI.js} +1 -1
- package/library/chunks/{railroadDiagram-AXF67PYL.BU5cQCmX.js → railroadDiagram-AXF67PYL.RYtWvnP4.js} +3 -3
- package/library/chunks/{range.BUjztx8Q.js → range.CQzHuhd9.js} +10 -10
- package/library/chunks/{requirementDiagram-LRYGKXZP.BM4tLaE8.js → requirementDiagram-LRYGKXZP.BhxZAEJL.js} +10 -10
- package/library/chunks/{sankeyDiagram-W5VNT64P.r2kIOMLC.js → sankeyDiagram-W5VNT64P.Dk8npZSg.js} +1 -1
- package/library/chunks/{select.NhbQgMNA.js → select.CEgt2ciT.js} +2 -2
- package/library/chunks/{sequenceDiagram-SI44F4Z6.CJ50A-EW.js → sequenceDiagram-SI44F4Z6.BNjBc769.js} +4 -4
- package/library/chunks/{shadow-input-group.Zt8zKRxQ.js → shadow-input-group.C13mC7rW.js} +1 -1
- package/library/chunks/{share-option-list.pVQugFoP.js → share-option-list.CdQeYk-I.js} +4 -4
- package/library/chunks/{size-input-group.Cxo0uCXM.js → size-input-group.DtldCuqS.js} +1 -1
- package/library/chunks/{src.3QpUQeRm.js → src.CYwPx1Vw.js} +22 -22
- package/library/chunks/{stateDiagram-OKZ733FA.DZ7h0fa_.js → stateDiagram-OKZ733FA.DkiIgxjd.js} +12 -12
- package/library/chunks/{stateDiagram-v2-UEYNNEHI.BhaYePWf.js → stateDiagram-v2-UEYNNEHI.oVj_Ex1_.js} +12 -12
- package/library/chunks/{step.CC1wfskA.js → step.BlnWLzqI.js} +1 -1
- package/library/chunks/{stepper-wizard.BJARESIb.js → stepper-wizard.t7enm9Uz.js} +2 -2
- package/library/chunks/{stepper.CUxBZKM6.js → stepper.DzhUPTLW.js} +1 -1
- package/library/chunks/{swimlanes-SLNWSIFB.B31m3AJi.js → swimlanes-SLNWSIFB.DKU7qXJ7.js} +8 -8
- package/library/chunks/{swimlanesDiagram-ULZ7WXOC.DkcvdPqC.js → swimlanesDiagram-ULZ7WXOC.DYwYMO_K.js} +12 -12
- package/library/chunks/{tab-group.lMvydOdb.js → tab-group.BSdtDqou.js} +2 -2
- package/library/chunks/{tab.BKJEGsgj.js → tab.C0oUx7MY.js} +1 -1
- package/library/chunks/{tabbable.Bflg1dha.js → tabbable.BSwpOHdm.js} +1 -1
- package/library/chunks/{tag.Dj8VrFFk.js → tag.B2S21_nF.js} +1 -1
- package/library/chunks/{timeline-definition-Z64GVDOM.CNKRW4xi.js → timeline-definition-Z64GVDOM.agRZ87Zs.js} +3 -3
- package/library/chunks/{tree.BWKeg92V.js → tree.CnEAk97A.js} +2 -2
- package/library/chunks/{typeface.BLblmcP7.js → typeface.Dr9m4SZE.js} +1 -1
- package/library/chunks/{vennDiagram-T6HMQDX7.CObwvEEr.js → vennDiagram-T6HMQDX7.Cd9lVObe.js} +3 -3
- package/library/chunks/{video.2jpE1tqO.js → video.bGH-n4pZ.js} +12 -12
- package/library/chunks/{wardleyDiagram-T6FBY63Y.BTL3nwWJ.js → wardleyDiagram-T6FBY63Y.yCklp5Oa.js} +3 -3
- package/library/chunks/{xychartDiagram-ELKLHX3M.DMDlz8tK.js → xychartDiagram-ELKLHX3M.CLuRN0XK.js} +5 -5
- package/library/components/array-line-clamp.js +1 -1
- package/library/components/asset-link-format.js +1 -1
- package/library/components/atoms.js +25 -25
- package/library/components/bicolor-picker.js +1 -1
- package/library/components/border-input-group.js +1 -1
- package/library/components/color-picker.js +1 -1
- package/library/components/color-swatch-group.js +1 -1
- package/library/components/color-swatch.js +1 -1
- package/library/components/confirm-popover.js +1 -1
- package/library/components/corner-position-input-group.js +1 -1
- package/library/components/dialog.js +1 -1
- package/library/components/diff.js +1 -1
- package/library/components/document-viewer.js +1 -1
- package/library/components/drawer.js +1 -1
- package/library/components/dropdown.js +1 -1
- package/library/components/dynamic-select.js +1 -1
- package/library/components/file-on-demand.js +1 -1
- package/library/components/folder-select.js +1 -1
- package/library/components/image.js +1 -1
- package/library/components/line-clamp.js +1 -1
- package/library/components/markdown.js +1 -1
- package/library/components/masonry.js +1 -1
- package/library/components/molecules.js +13 -13
- package/library/components/organisms.js +3 -3
- package/library/components/pagination.js +1 -1
- package/library/components/radio-card.js +1 -1
- package/library/components/range.js +1 -1
- package/library/components/select.js +1 -1
- package/library/components/shadow-input-group.js +1 -1
- package/library/components/share-option-list.js +1 -1
- package/library/components/size-input-group.js +1 -1
- package/library/components/step.js +1 -1
- package/library/components/stepper-wizard.js +1 -1
- package/library/components/stepper.js +1 -1
- package/library/components/tab-group.js +1 -1
- package/library/components/tab.js +1 -1
- package/library/components/tag.js +1 -1
- package/library/components/tree-item.js +1 -1
- package/library/components/tree.js +1 -1
- package/library/components/typeface.js +1 -1
- package/library/components/types.js +236 -236
- package/library/components/video.js +1 -1
- package/library/package.json +1 -1
- package/library/packages/atoms/src/components/alert/alert.d.ts +3 -0
- package/library/packages/atoms/src/components/badge/badge.d.ts +3 -0
- package/library/packages/atoms/src/components/button/button.d.ts +12 -0
- package/library/packages/atoms/src/components/card/card.d.ts +1 -0
- package/library/packages/atoms/src/components/checkbox/checkbox.d.ts +18 -0
- package/library/packages/atoms/src/components/color-picker/color-picker.d.ts +7 -0
- package/library/packages/atoms/src/components/copy-button/copy-button.d.ts +11 -0
- package/library/packages/atoms/src/components/dialog/dialog.d.ts +2 -0
- package/library/packages/atoms/src/components/divider/divider.d.ts +2 -0
- package/library/packages/atoms/src/components/drawer/drawer.d.ts +3 -0
- package/library/packages/atoms/src/components/dropdown/dropdown.d.ts +3 -0
- package/library/packages/atoms/src/components/icon-button/icon-button.d.ts +6 -0
- package/library/packages/atoms/src/components/image/image.d.ts +1 -0
- package/library/packages/atoms/src/components/input/input.d.ts +39 -0
- package/library/packages/atoms/src/components/line-clamp/line-clamp.d.ts +8 -0
- package/library/packages/atoms/src/components/markdown/markdown.d.ts +12 -3
- package/library/packages/atoms/src/components/markdown/parser.d.ts +7 -2
- package/library/packages/atoms/src/components/menu/menu.d.ts +4 -0
- package/library/packages/atoms/src/components/menu-item/menu-item.d.ts +2 -0
- package/library/packages/atoms/src/components/option/option.d.ts +1 -0
- package/library/packages/atoms/src/components/pagination/pagination.d.ts +1 -0
- package/library/packages/atoms/src/components/radio/radio.d.ts +14 -0
- package/library/packages/atoms/src/components/radio-button/radio-button.d.ts +11 -0
- package/library/packages/atoms/src/components/radio-card/radio-card.d.ts +3 -0
- package/library/packages/atoms/src/components/radio-group/radio-group.d.ts +2 -0
- package/library/packages/atoms/src/components/range/range.d.ts +3 -0
- package/library/packages/atoms/src/components/rating/rating.d.ts +2 -0
- package/library/packages/atoms/src/components/select/select.d.ts +38 -0
- package/library/packages/atoms/src/components/split-panel/split-panel.d.ts +1 -0
- package/library/packages/atoms/src/components/switch/switch.d.ts +12 -0
- package/library/packages/atoms/src/components/tag/tag.d.ts +10 -0
- package/library/packages/atoms/src/components/textarea/textarea.d.ts +38 -0
- package/library/packages/atoms/src/components/tooltip/tooltip.d.ts +9 -0
- package/library/packages/atoms/src/components/tree-item/tree-item.d.ts +1 -0
- package/library/packages/hybrid/rich-text/src/components/rich-text-bubble-menu/rich-text-bubble-menu.d.ts +4 -0
- package/library/packages/hybrid/rich-text/src/components/rich-text-toolbar/rich-text-toolbar.d.ts +3 -0
- package/library/packages/hybrid/rich-text/src/rich-text.d.ts +3 -0
- package/library/packages/hybrid/table-core/src/table/components/table-toolbar/table-toolbar.d.ts +2 -0
- package/library/packages/hybrid/table-core/src/table/table.d.ts +3 -0
- package/library/packages/hybrid/video-advanced/src/video-advanced/video-advanced.d.ts +12 -0
- package/library/packages/molecules/src/3d-viewer/components/3d-viewer-config/3d-viewer-config.d.ts +3 -0
- package/library/packages/molecules/src/annotator/annotator.d.ts +2 -0
- package/library/packages/molecules/src/asset-format-picker/asset-format-picker.d.ts +3 -0
- package/library/packages/molecules/src/asset-picker/asset-picker.d.ts +3 -0
- package/library/packages/molecules/src/download-format-picker/download-format-picker.d.ts +3 -0
- package/library/packages/molecules/src/input-date-picker/input-date-picker.d.ts +3 -0
- package/library/packages/molecules/src/markdown-viewer/markdown-viewer.d.ts +3 -0
- package/library/packages/molecules/src/multi-select/components/board/board.d.ts +4 -0
- package/library/packages/molecules/src/multi-select/components/board-list-item/board-list-item.d.ts +6 -0
- package/library/packages/molecules/src/publish-page/publish-page.d.ts +2 -0
- package/library/packages/molecules/src/view-and-sort/view-and-sort.d.ts +6 -0
- package/library/packages/organisms/src/chatbot/chatbot.d.ts +4 -0
- package/library/packages/organisms/src/comment/comment.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/blocks/button/button.d.ts +3 -0
- package/library/packages/organisms/src/content-builder/blocks/search-box/search-box.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/content-builder.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/rte-bubble-menu/rte-bubble-menu.d.ts +7 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/rte-table-generator/rte-table-generator.d.ts +6 -0
- package/library/packages/organisms/src/downloader/downloader.d.ts +6 -0
- package/library/packages/organisms/src/file-on-demand/components/file-on-demand-asset/file-on-demand-asset.d.ts +2 -0
- package/library/packages/organisms/src/find-and-replace/find-and-replace.d.ts +1 -0
- package/library/packages/organisms/src/text-to-speech/text-to-speech.d.ts +3 -0
- package/library/packages/tools/src/tiptap/utils/md/schema.d.ts +1 -1
- package/library/packages/types/src/markdown.d.ts +5 -0
- package/library/react-web-component.d.ts +34 -30
- package/library/utils.js +9 -9
- package/package.json +1 -1
- package/library/chunks/flowDiagram-UKHOOZJN.BoFivhJR.js +0 -16
- package/library/chunks/{src.CFxipFzl.js → src.BJpSLSUr.js} +1 -1
|
@@ -16,29 +16,29 @@ import { t as E } from "./when.BUskJLtZ.js";
|
|
|
16
16
|
import { t as D } from "./icon.CeQpEaQz.js";
|
|
17
17
|
import { t as O } from "./spinner.DsWszid8.js";
|
|
18
18
|
import { t as k } from "./style-map.DPGQIxip.js";
|
|
19
|
-
import { t as ne } from "./
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
19
|
+
import { t as ne } from "./debounce.Ci-xdsHE.js";
|
|
20
|
+
import { t as A } from "./button.DnOMjl_G.js";
|
|
21
|
+
import { g as j, h as re, l as ie, t as ae } from "./string.DAuTpyw8.js";
|
|
22
|
+
import { o as oe, s as M } from "./dom.BsVeSE01.js";
|
|
23
23
|
import { t as N } from "./tooltip.DJl5qcTx.js";
|
|
24
|
-
import { t as se } from "./line-clamp.
|
|
25
|
-
import { t as ce } from "./tag.
|
|
24
|
+
import { t as se } from "./line-clamp.COXyDBRB.js";
|
|
25
|
+
import { t as ce } from "./tag.B2S21_nF.js";
|
|
26
26
|
import { n as le, t as ue } from "./typography.B0mkhqTB.js";
|
|
27
27
|
import { t as de } from "./badge.H_UuxPXn.js";
|
|
28
28
|
import { t as fe } from "./checkbox.aFoOxk2j.js";
|
|
29
29
|
import { t as pe } from "./repeat.CKv9FPlC.js";
|
|
30
|
-
import { t as me } from "./dropdown.
|
|
30
|
+
import { t as me } from "./dropdown.CKad9CvP.js";
|
|
31
31
|
import { t as he } from "./input.D1UkXp3F.js";
|
|
32
32
|
import { t as ge } from "./menu.DNeN3pz0.js";
|
|
33
33
|
import { t as _e } from "./menu-item.CCbtHE5R.js";
|
|
34
34
|
import { t as ve } from "./space.Dd8jezXK.js";
|
|
35
35
|
import { t as ye } from "./unsafe-html.Cb838aX7.js";
|
|
36
|
-
import { t as be } from "./select.
|
|
36
|
+
import { t as be } from "./select.CEgt2ciT.js";
|
|
37
37
|
import { t as xe } from "./guard.Cf17k6Vx.js";
|
|
38
38
|
import { a as Se, f as Ce, l as we, r as Te } from "./date.BL4L64Hx.js";
|
|
39
|
-
import { O as Ee, ct as De, et as Oe, it as ke, ot as Ae, rt as je, tt as Me } from "./src.
|
|
39
|
+
import { O as Ee, ct as De, et as Oe, it as ke, ot as Ae, rt as je, tt as Me } from "./src.BJpSLSUr.js";
|
|
40
40
|
import { t as Ne } from "./details.BGlfx87d.js";
|
|
41
|
-
import { i as Pe, s as Fe, t as Ie } from "./dialog.
|
|
41
|
+
import { i as Pe, s as Fe, t as Ie } from "./dialog.DprCsbFG.js";
|
|
42
42
|
import { t as Le } from "./divider.CqSNZCU8.js";
|
|
43
43
|
import { n as Re } from "./toString.r2ImdBrm.js";
|
|
44
44
|
import { n as ze } from "./capitalize.BT_EavGy.js";
|
|
@@ -46,9 +46,9 @@ import { _ as Be, c as Ve, g as He, l as Ue, v as We, y as Ge } from "./color.CI
|
|
|
46
46
|
import { f as Ke, n as qe, r as Je, t as Ye } from "./responsive.L9Csz2w2.js";
|
|
47
47
|
import Xe from "../components/format-number.js";
|
|
48
48
|
import { t as Ze } from "./menu-section.BzzA6L5E.js";
|
|
49
|
-
import { n as Qe, t as $e } from "./pagination.
|
|
49
|
+
import { n as Qe, t as $e } from "./pagination.Mr-XiQBd.js";
|
|
50
50
|
import { t as et } from "./sortable.esm.BVU0_hc5.js";
|
|
51
|
-
import { t as tt } from "./color-swatch.
|
|
51
|
+
import { t as tt } from "./color-swatch.Biz89VJr.js";
|
|
52
52
|
import { t as nt } from "./debounce.DrhImrNP.js";
|
|
53
53
|
import { c as rt, o as it, s as at, t as ot } from "./_baseIteratee.DWc2-Bvm.js";
|
|
54
54
|
import { n as st, r as ct, t as lt } from "./_baseUniq.h_pGICPH.js";
|
|
@@ -152,7 +152,7 @@ var At = {
|
|
|
152
152
|
static #t = this.styles = [h, jt];
|
|
153
153
|
static #n = this.dependencies = {
|
|
154
154
|
"cx-badge": de,
|
|
155
|
-
"cx-button":
|
|
155
|
+
"cx-button": A,
|
|
156
156
|
"cx-details": Ne,
|
|
157
157
|
"cx-dropdown": me,
|
|
158
158
|
"cx-icon": D,
|
|
@@ -814,7 +814,7 @@ l([f(".board"), u("design:type", typeof HTMLElement > "u" ? Object : HTMLElement
|
|
|
814
814
|
u("design:paramtypes", []),
|
|
815
815
|
u("design:returntype", void 0)
|
|
816
816
|
], z.prototype, "onItemsChanged", null), l([
|
|
817
|
-
|
|
817
|
+
ne(200, !0),
|
|
818
818
|
u("design:type", Function),
|
|
819
819
|
u("design:paramtypes", [on === void 0 ? Object : on]),
|
|
820
820
|
u("design:returntype", void 0)
|
|
@@ -1246,7 +1246,7 @@ var kn = B, An = /* @__PURE__ */ function(e) {
|
|
|
1246
1246
|
}
|
|
1247
1247
|
static #e = this.styles = [h, jn];
|
|
1248
1248
|
static #t = this.dependencies = {
|
|
1249
|
-
"cx-button":
|
|
1249
|
+
"cx-button": A,
|
|
1250
1250
|
"cx-dialog": Ie,
|
|
1251
1251
|
"cx-multi-select": kn
|
|
1252
1252
|
};
|
|
@@ -1388,7 +1388,7 @@ var zn = Rn, Bn = i`.table-row-actions__button::part(label),.table-row-actions__
|
|
|
1388
1388
|
super(...e), this.localize = new _(this), this.groupedDropdownItems = {}, this.sections = [];
|
|
1389
1389
|
}
|
|
1390
1390
|
static #e = this.dependencies = {
|
|
1391
|
-
"cx-button":
|
|
1391
|
+
"cx-button": A,
|
|
1392
1392
|
"cx-dropdown": me,
|
|
1393
1393
|
"cx-icon": D,
|
|
1394
1394
|
"cx-menu": ge,
|
|
@@ -1435,7 +1435,7 @@ var Hn = Vn, Un = class extends d {
|
|
|
1435
1435
|
}
|
|
1436
1436
|
static #e = this.styles = [h, Bn];
|
|
1437
1437
|
static #t = this.dependencies = {
|
|
1438
|
-
"cx-button":
|
|
1438
|
+
"cx-button": A,
|
|
1439
1439
|
"cx-icon": D,
|
|
1440
1440
|
"cx-space": ve,
|
|
1441
1441
|
"cx-table-row-actions-dropdown": Hn,
|
|
@@ -1472,7 +1472,7 @@ var Wn = Un, Gn = class extends d {
|
|
|
1472
1472
|
}
|
|
1473
1473
|
static #e = this.styles = [h];
|
|
1474
1474
|
static #t = this.dependencies = {
|
|
1475
|
-
"cx-button":
|
|
1475
|
+
"cx-button": A,
|
|
1476
1476
|
"cx-dropdown": me,
|
|
1477
1477
|
"cx-icon": D,
|
|
1478
1478
|
"cx-menu": ge,
|
|
@@ -1547,7 +1547,7 @@ var Kn = Gn, qn = class extends d {
|
|
|
1547
1547
|
}
|
|
1548
1548
|
static #e = this.styles = [h];
|
|
1549
1549
|
static #t = this.dependencies = {
|
|
1550
|
-
"cx-button":
|
|
1550
|
+
"cx-button": A,
|
|
1551
1551
|
"cx-dropdown": me,
|
|
1552
1552
|
"cx-menu": ge,
|
|
1553
1553
|
"cx-menu-item": _e
|
|
@@ -1609,7 +1609,7 @@ var Jn = qn, Yn = class extends d {
|
|
|
1609
1609
|
}
|
|
1610
1610
|
static #e = this.styles = [h];
|
|
1611
1611
|
static #t = this.dependencies = {
|
|
1612
|
-
"cx-button":
|
|
1612
|
+
"cx-button": A,
|
|
1613
1613
|
"cx-dropdown": me,
|
|
1614
1614
|
"cx-icon": D,
|
|
1615
1615
|
"cx-menu": ge,
|
|
@@ -1684,7 +1684,7 @@ var Xn = Yn, Zn = i`:host{container-type:inline-size}.header{align-items:center;
|
|
|
1684
1684
|
}
|
|
1685
1685
|
static #e = this.styles = [h, Zn];
|
|
1686
1686
|
static #t = this.dependencies = {
|
|
1687
|
-
"cx-button":
|
|
1687
|
+
"cx-button": A,
|
|
1688
1688
|
"cx-checkbox": fe,
|
|
1689
1689
|
"cx-dropdown": me,
|
|
1690
1690
|
"cx-icon": D,
|
|
@@ -2260,7 +2260,7 @@ var Qn = V, H = class {
|
|
|
2260
2260
|
n && n.classList.remove("tabulator-hover-menu--active");
|
|
2261
2261
|
}
|
|
2262
2262
|
createCxTableRowActions() {
|
|
2263
|
-
let e =
|
|
2263
|
+
let e = M(cr);
|
|
2264
2264
|
return e.classList.add("tabulator-hover-menu"), e;
|
|
2265
2265
|
}
|
|
2266
2266
|
layoutRow(t) {
|
|
@@ -2909,7 +2909,7 @@ var Ir = class e extends W {
|
|
|
2909
2909
|
this.generateElement(), this.setWidth(), this._configureCell();
|
|
2910
2910
|
}
|
|
2911
2911
|
generateElement() {
|
|
2912
|
-
if (this.element =
|
|
2912
|
+
if (this.element = M(Rr), this.element.setAttribute("role", this.table.options.cellRole ?? "gridcell"), this.column.modules.format?.cellClass) {
|
|
2913
2913
|
let e = this.column.modules.format?.cellClass;
|
|
2914
2914
|
e && e.split(/\s+/).filter(Boolean).forEach((e) => this.element.classList.add(e));
|
|
2915
2915
|
}
|
|
@@ -2949,7 +2949,7 @@ var Ir = class e extends W {
|
|
|
2949
2949
|
_generateContents() {
|
|
2950
2950
|
if (!this.element) return;
|
|
2951
2951
|
this.contentElement?.parentNode !== this.element && (this.contentElement = document.createElement("div"), this.contentElement.className = "tabulator-cell-content", this.element.appendChild(this.contentElement));
|
|
2952
|
-
let e = this.chain("cell-format", [this], null, () =>
|
|
2952
|
+
let e = this.chain("cell-format", [this], null, () => j(String(this.value ?? "")));
|
|
2953
2953
|
switch (typeof e) {
|
|
2954
2954
|
case "object":
|
|
2955
2955
|
if (e instanceof Node) {
|
|
@@ -2963,7 +2963,7 @@ var Ir = class e extends W {
|
|
|
2963
2963
|
default: {
|
|
2964
2964
|
for (; this.contentElement.firstChild;) this.contentElement.firstChild.remove();
|
|
2965
2965
|
let t = document.createElement("cx-line-clamp");
|
|
2966
|
-
t.lines = 1, Object.assign(t.style, this.getTextFormat()), t.innerHTML =
|
|
2966
|
+
t.lines = 1, Object.assign(t.style, this.getTextFormat()), t.innerHTML = j(String(e)), this.contentElement.appendChild(t);
|
|
2967
2967
|
}
|
|
2968
2968
|
}
|
|
2969
2969
|
}
|
|
@@ -3181,7 +3181,7 @@ var Ir = class e extends W {
|
|
|
3181
3181
|
case "undefined":
|
|
3182
3182
|
e.innerHTML = "";
|
|
3183
3183
|
break;
|
|
3184
|
-
default: e.innerHTML = `<cx-line-clamp lines="1">${
|
|
3184
|
+
default: e.innerHTML = `<cx-line-clamp lines="1">${j(String(n))}</cx-line-clamp>`;
|
|
3185
3185
|
}
|
|
3186
3186
|
}
|
|
3187
3187
|
_buildGroupHeader() {
|
|
@@ -3999,7 +3999,7 @@ var Ir = class e extends W {
|
|
|
3999
3999
|
initialize() {
|
|
4000
4000
|
if (this.table.options.dataTree) {
|
|
4001
4001
|
let e = null, t = this.table.options;
|
|
4002
|
-
switch (this.field = t.dataTreeChildField || "_children", this.indent = t.dataTreeChildIndent || 9, this.loadingField = t.dataTreeLoadingField || "loading", this.hasMoreField = t.dataTreeHasMoreField || "hasMore", this.options("movableRows") && ii && console.warn("The movableRows option is not available with dataTree enabled, moving of child rows could result in unpredictable behavior"), t.dataTreeBranchElement ? t.dataTreeBranchElement === !0 ? this.branchEl =
|
|
4002
|
+
switch (this.field = t.dataTreeChildField || "_children", this.indent = t.dataTreeChildIndent || 9, this.loadingField = t.dataTreeLoadingField || "loading", this.hasMoreField = t.dataTreeHasMoreField || "hasMore", this.options("movableRows") && ii && console.warn("The movableRows option is not available with dataTree enabled, moving of child rows could result in unpredictable behavior"), t.dataTreeBranchElement ? t.dataTreeBranchElement === !0 ? this.branchEl = M(ei) : typeof t.dataTreeBranchElement == "string" ? (e = document.createElement("div"), e.innerHTML = j(t.dataTreeBranchElement), this.branchEl = e.firstChild) : this.branchEl = t.dataTreeBranchElement : this.branchEl = M(ti), t.dataTreeCollapseElement ? typeof t.dataTreeCollapseElement == "string" ? (e = document.createElement("div"), e.innerHTML = j(t.dataTreeCollapseElement), this.collapseEl = e.firstChild) : this.collapseEl = t.dataTreeCollapseElement : this.collapseEl = M(Zr), t.dataTreeExpandElement ? typeof t.dataTreeExpandElement == "string" ? (e = document.createElement("div"), e.innerHTML = j(t.dataTreeExpandElement), this.expandEl = e.firstChild) : this.expandEl = t.dataTreeExpandElement : this.expandEl = M(Qr), typeof t.dataTreeStartExpanded) {
|
|
4003
4003
|
case "boolean":
|
|
4004
4004
|
this.startOpen = function() {
|
|
4005
4005
|
return t.dataTreeStartExpanded;
|
|
@@ -4085,7 +4085,7 @@ var Ir = class e extends W {
|
|
|
4085
4085
|
i.addEventListener("mousedown", (e) => {
|
|
4086
4086
|
e.stopPropagation();
|
|
4087
4087
|
});
|
|
4088
|
-
} else i =
|
|
4088
|
+
} else i = M($r);
|
|
4089
4089
|
i.style.setProperty("margin-inline-end", `${this.indent}px`), i.style.setProperty("margin-inline-start", "0px"), e.modules.dataTree.controlEl = i, r && r.parentNode === t ? r.parentNode.replaceChild(i, r) : t.insertBefore(i, t.firstChild);
|
|
4090
4090
|
}
|
|
4091
4091
|
}
|
|
@@ -4131,7 +4131,7 @@ var Ir = class e extends W {
|
|
|
4131
4131
|
generateLoadMoreButton({ childLevel: e, parentRow: t }) {
|
|
4132
4132
|
let n = new Xr({ id: "load-more" }, this.table.rowManager);
|
|
4133
4133
|
n.create(), n.modules.dataTree.index = e, n.modules.dataTree.parent = t, n.modules.dataTree.children = !1, n.modules.dataTree.open = !0;
|
|
4134
|
-
let r =
|
|
4134
|
+
let r = M(ni);
|
|
4135
4135
|
return n.getElement()?.classList.add("tabulator-tree-level-" + e), n.element.appendChild(r), r.style.setProperty("--tabulator-tree-level", String(e + 1)), r.style.setProperty("--tabulator-tree-child-indent", `${this.indent}px`), r.style.setProperty("margin-inline-start", `calc(${e + 1} * var(--tabulator-tree-step))`), r.addEventListener("click", () => {
|
|
4136
4136
|
this.dispatchExternal("dataTreeLoadMore", t.getComponent(), t.modules.dataTree.index);
|
|
4137
4137
|
}), n;
|
|
@@ -4139,7 +4139,7 @@ var Ir = class e extends W {
|
|
|
4139
4139
|
generateLoadingRow({ childLevel: e, parentRow: t }) {
|
|
4140
4140
|
let n = new Xr({ id: "loading" }, this.table.rowManager);
|
|
4141
4141
|
n.create(), n.modules.dataTree.index = e, n.modules.dataTree.parent = t, n.modules.dataTree.children = !1, n.modules.dataTree.open = !0;
|
|
4142
|
-
let r =
|
|
4142
|
+
let r = M(ri);
|
|
4143
4143
|
return n.element.appendChild(r), n.getElement()?.classList.add("tabulator-tree-level-" + e), r.style.setProperty("--tabulator-tree-level", String(e + 1)), r.style.setProperty("--tabulator-tree-child-indent", `${this.indent}px`), r.style.setProperty("margin-inline-start", `calc(${e + 1} * var(--tabulator-tree-step))`), n;
|
|
4144
4144
|
}
|
|
4145
4145
|
expandRow(e, t) {
|
|
@@ -4722,7 +4722,7 @@ function Mi(e, t, n) {
|
|
|
4722
4722
|
//#region ../../packages/hybrid/table-core/src/tabulator-tables/modules/Format/defaults/formatters/avatar.ts
|
|
4723
4723
|
function Ni(e, t) {
|
|
4724
4724
|
let n = t ?? {}, i = e.getValue(), a = i != null && i !== "", o = !!n.initials;
|
|
4725
|
-
return !a && !o ? "" :
|
|
4725
|
+
return !a && !o ? "" : M(r`<cx-avatar image=${T(a ? String(i) : void 0)} initials=${T(n.initials)} label=${T(n.label)} shape=${T(n.shape)} style="--size: ${n.size ?? "2rem"}"></cx-avatar>`);
|
|
4726
4726
|
}
|
|
4727
4727
|
//#endregion
|
|
4728
4728
|
//#region ../../packages/hybrid/table-core/src/tabulator-tables/modules/Format/defaults/formatters/buttonCross.ts
|
|
@@ -4747,7 +4747,7 @@ function Li(e) {
|
|
|
4747
4747
|
//#region ../../packages/hybrid/table-core/src/tabulator-tables/modules/Format/defaults/formatters/composite.ts
|
|
4748
4748
|
var Ri = r`<span style="display: inline-flex; align-items: center;"></span>`;
|
|
4749
4749
|
function zi({ spacing: e, style: t }) {
|
|
4750
|
-
let n =
|
|
4750
|
+
let n = M(Ri);
|
|
4751
4751
|
return e && (n.style.margin = e), t && Object.assign(n.style, t), n;
|
|
4752
4752
|
}
|
|
4753
4753
|
function Bi(e, t, n) {
|
|
@@ -4793,7 +4793,7 @@ function Wi(e, t, n) {
|
|
|
4793
4793
|
return t.valueMap && (r = t.valueMap[String(r)] ?? r), !Hi(r);
|
|
4794
4794
|
});
|
|
4795
4795
|
if (Hi(s) && !c && t.placeholder !== void 0) return Bi.call(this, e, t, n);
|
|
4796
|
-
let l = e.getRow(), { align: u, block: d, containerStyle: f, direction: p, gap: m, justifyContent: h, wrap: g } = t, _ = r`<cx-space class="tabulator-composite" style=${k(f ?? {})} align-items=${u ?? "center"} ?block=${d} direction=${T(p)} justify-content=${T(h)} spacing=${m ?? "3x-small"} wrap=${g ?? "nowrap"}></cx-space>`, v =
|
|
4796
|
+
let l = e.getRow(), { align: u, block: d, containerStyle: f, direction: p, gap: m, justifyContent: h, wrap: g } = t, _ = r`<cx-space class="tabulator-composite" style=${k(f ?? {})} align-items=${u ?? "center"} ?block=${d} direction=${T(p)} justify-content=${T(h)} spacing=${m ?? "3x-small"} wrap=${g ?? "nowrap"}></cx-space>`, v = M(_), y = [];
|
|
4797
4797
|
if (t.elements.forEach((t) => {
|
|
4798
4798
|
let r = Ui({
|
|
4799
4799
|
cell: e,
|
|
@@ -4850,7 +4850,7 @@ function Gi(e) {
|
|
|
4850
4850
|
}
|
|
4851
4851
|
function Ki(e, t) {
|
|
4852
4852
|
let n = t ?? {}, i = Gi(e.getValue());
|
|
4853
|
-
return i === void 0 ? "" :
|
|
4853
|
+
return i === void 0 ? "" : M(r`<cx-format-date date=${i.toISOString()} weekday=${T(n.weekday)} era=${T(n.era)} year=${T(n.year)} month=${T(n.month)} day=${T(n.day)} hour=${T(n.hour)} minute=${T(n.minute)} second=${T(n.second)} time-zone-name=${T(n.timeZoneName)} time-zone=${T(n.timeZone)} hour-format=${T(n.hourFormat)} ?no-datetime-separator=${n.noDatetimeSeparator ?? !1}></cx-format-date>`);
|
|
4854
4854
|
}
|
|
4855
4855
|
//#endregion
|
|
4856
4856
|
//#region ../../packages/hybrid/table-core/src/tabulator-tables/modules/Format/defaults/formatters/datetime.ts
|
|
@@ -4881,7 +4881,7 @@ function Zi(e, t) {
|
|
|
4881
4881
|
}
|
|
4882
4882
|
function Qi(e, t) {
|
|
4883
4883
|
let n = t ?? {}, i = n.arraySeparator ?? ", ", a = (t) => typeof t == "function" ? t(e) : t, o = Zi(a(n.newValue) ?? e.getValue(), i), s = Zi(a(n.oldValue) ?? "", i), c = ie(s), l = ie(o), u = c && l ? `${c} ${l}` : l || c;
|
|
4884
|
-
return
|
|
4884
|
+
return M(r`<cx-line-clamp lines="1" clamped-tooltip=${u}><cx-diff old-value=${s} new-value=${o}></cx-diff></cx-line-clamp>`);
|
|
4885
4885
|
}
|
|
4886
4886
|
//#endregion
|
|
4887
4887
|
//#region ../../packages/hybrid/table-core/src/tabulator-tables/modules/Format/defaults/formatters/handle.ts
|
|
@@ -4900,7 +4900,7 @@ var ta = r`<cx-icon></cx-icon>`;
|
|
|
4900
4900
|
function na(e, t) {
|
|
4901
4901
|
let n = e.getValue(), r = t ?? {}, i;
|
|
4902
4902
|
if (i = r.getIcon ? r.getIcon(n) : typeof r.icon == "function" ? r.icon(n) : r.iconMap ? r.iconMap[n] : r.icon ? r.icon : n ? String(n) : void 0, !i) return;
|
|
4903
|
-
let a =
|
|
4903
|
+
let a = M(ta);
|
|
4904
4904
|
if (a.name = i, r.size !== void 0) switch (typeof r.size) {
|
|
4905
4905
|
case "number":
|
|
4906
4906
|
a.style.setProperty("--font-size", `${r.size}px`);
|
|
@@ -4915,7 +4915,7 @@ var ra = r`<div style="display: flex; align-items: center; justify-content: cent
|
|
|
4915
4915
|
function ia(e, t) {
|
|
4916
4916
|
let n = e.getValue();
|
|
4917
4917
|
if (!n) return null;
|
|
4918
|
-
let r =
|
|
4918
|
+
let r = M(ra), i = r.querySelector("img"), a = t ?? {};
|
|
4919
4919
|
switch (a.urlPrefix && (n = a.urlPrefix + e.getValue()), a.urlSuffix && (n += a.urlSuffix), i.setAttribute("src", String(n)), i.setAttribute("alt", typeof a.alt == "string" ? a.alt : ""), typeof a.height) {
|
|
4920
4920
|
case "number":
|
|
4921
4921
|
r.style.height = a.height + "px";
|
|
@@ -4978,8 +4978,8 @@ function ca(e, t, n) {
|
|
|
4978
4978
|
"mailto:",
|
|
4979
4979
|
"tel:",
|
|
4980
4980
|
""
|
|
4981
|
-
].includes(u.protocol) || n.startsWith("#") ? c.setAttribute("href", n) : (sa && console.warn("Link formatter blocked potentially unsafe URL:", n), c.setAttribute("href", "#")), t.target && c.setAttribute("target", t.target), t.rel && c.setAttribute("rel", t.rel), t.download && (o = typeof o == "function" ? o(e) : o === !0 ? "" : o, c.setAttribute("download", String(o))), c.innerHTML = ae(
|
|
4982
|
-
let d =
|
|
4981
|
+
].includes(u.protocol) || n.startsWith("#") ? c.setAttribute("href", n) : (sa && console.warn("Link formatter blocked potentially unsafe URL:", n), c.setAttribute("href", "#")), t.target && c.setAttribute("target", t.target), t.rel && c.setAttribute("rel", t.rel), t.download && (o = typeof o == "function" ? o(e) : o === !0 ? "" : o, c.setAttribute("download", String(o))), c.innerHTML = ae(j(s));
|
|
4982
|
+
let d = M(r`<cx-line-clamp lines="1"></cx-line-clamp>`);
|
|
4983
4983
|
return d.appendChild(c), d;
|
|
4984
4984
|
}
|
|
4985
4985
|
return "\xA0";
|
|
@@ -4995,7 +4995,7 @@ function ua(e, t, n) {
|
|
|
4995
4995
|
//#region ../../packages/hybrid/table-core/src/tabulator-tables/modules/Format/defaults/formatters/money.ts
|
|
4996
4996
|
function da(e, t, n) {
|
|
4997
4997
|
let r = parseFloat(e.getValue()), i = "", a, o, s, c, l = t.decimal || ".", u = t.thousand || ",", d = t.negativeSign || "-", f = t.symbol || "", p = !!t.symbolAfter, m = t.precision === void 0 ? 2 : t.precision;
|
|
4998
|
-
if (isNaN(r)) return ae(
|
|
4998
|
+
if (isNaN(r)) return ae(j(re(e.getValue())));
|
|
4999
4999
|
r < 0 && (r = Math.abs(r), i = d), a = m === !1 ? String(r) : r.toFixed(m), a = String(a).split("."), o = a[0];
|
|
5000
5000
|
let h = a.length > 1 ? l + a[1] : "";
|
|
5001
5001
|
if (t.thousand !== !1) for (s = /(\d+)(\d{3})/; s.test(o);) o = o.replace(s, "$1" + u + "$2");
|
|
@@ -5009,7 +5009,7 @@ function pa(e, t) {
|
|
|
5009
5009
|
if (n == null || n === "") return;
|
|
5010
5010
|
let r = Number(n);
|
|
5011
5011
|
if (Number.isNaN(r)) return;
|
|
5012
|
-
let i = t ?? {}, a =
|
|
5012
|
+
let i = t ?? {}, a = M(fa);
|
|
5013
5013
|
a.value = r;
|
|
5014
5014
|
for (let e of Object.keys(i)) {
|
|
5015
5015
|
let t = i[e];
|
|
@@ -5020,15 +5020,15 @@ function pa(e, t) {
|
|
|
5020
5020
|
//#endregion
|
|
5021
5021
|
//#region ../../packages/hybrid/table-core/src/tabulator-tables/modules/Format/defaults/formatters/plaintext.ts
|
|
5022
5022
|
function ma(e, t) {
|
|
5023
|
-
let n = ae(
|
|
5023
|
+
let n = ae(j(re(e.getValue()))), i = t ?? {};
|
|
5024
5024
|
i.prefix && (n = i.prefix + n), i.suffix && (n += i.suffix);
|
|
5025
5025
|
let a = r`<cx-line-clamp lines="1"><span style=${k(i.style ?? {})}>${n}</span></cx-line-clamp>`;
|
|
5026
|
-
return
|
|
5026
|
+
return M(a);
|
|
5027
5027
|
}
|
|
5028
5028
|
//#endregion
|
|
5029
5029
|
//#region ../../packages/hybrid/table-core/src/tabulator-tables/modules/Format/defaults/formatters/progress.ts
|
|
5030
5030
|
function ha(e, t = {}, n) {
|
|
5031
|
-
let r =
|
|
5031
|
+
let r = j(e.getValue()) || 0, i = e.getElement(), a = t.max ? t.max : 100, o = t.min ? t.min : 0, s = t.legendAlign ? t.legendAlign : "center", c, l, u = !1, d;
|
|
5032
5032
|
c = parseFloat(String(r)) <= a ? parseFloat(String(r)) : a, c = parseFloat(String(c)) >= o ? parseFloat(String(c)) : o;
|
|
5033
5033
|
let f = a - o;
|
|
5034
5034
|
if (f <= 0) c = 0;
|
|
@@ -5084,7 +5084,7 @@ function ha(e, t = {}, n) {
|
|
|
5084
5084
|
let m = document.createElement("div");
|
|
5085
5085
|
m.style.position = "relative", m.style.width = "100%", m.style.height = "100%";
|
|
5086
5086
|
let h;
|
|
5087
|
-
return u && (h = document.createElement("div"), h.style.position = "absolute", h.style.top = "0", h.style.left = "0", h.style.textAlign = s, h.style.width = "100%", h.style.color = d, h.innerHTML =
|
|
5087
|
+
return u && (h = document.createElement("div"), h.style.position = "absolute", h.style.top = "0", h.style.left = "0", h.style.textAlign = s, h.style.width = "100%", h.style.color = d, h.innerHTML = j(String(u))), n(() => {
|
|
5088
5088
|
if (!i) return;
|
|
5089
5089
|
let t;
|
|
5090
5090
|
if (e instanceof Lr) t = e.getContentElement();
|
|
@@ -5163,7 +5163,7 @@ function wa(e, t) {
|
|
|
5163
5163
|
let t = document.createElement("span");
|
|
5164
5164
|
return t.textContent = String(e.getValue() ?? ""), t;
|
|
5165
5165
|
}
|
|
5166
|
-
let n =
|
|
5166
|
+
let n = M(ya), { offValue: r, onValue: i } = ba(t);
|
|
5167
5167
|
return t.size && (n.size = t.size), n.disabled = (typeof t.disabled == "function" ? t.disabled : () => !1)(e), Ca(n, e, i, r), n;
|
|
5168
5168
|
}
|
|
5169
5169
|
//#endregion
|
|
@@ -5177,18 +5177,18 @@ function Ea(e, t) {
|
|
|
5177
5177
|
removable: !1,
|
|
5178
5178
|
size: "medium",
|
|
5179
5179
|
variant: "neutral"
|
|
5180
|
-
}, i =
|
|
5180
|
+
}, i = M(Ta);
|
|
5181
5181
|
return Object.assign(i, r), i.textContent = t?.getTagContent?.(n) ?? t?.tagContentMap?.[n] ?? String(n), i;
|
|
5182
5182
|
}
|
|
5183
5183
|
//#endregion
|
|
5184
5184
|
//#region ../../packages/hybrid/table-core/src/tabulator-tables/modules/Format/defaults/formatters/textarea.ts
|
|
5185
5185
|
function Da(e) {
|
|
5186
|
-
return ae(
|
|
5186
|
+
return ae(j(re(e.getValue())));
|
|
5187
5187
|
}
|
|
5188
5188
|
//#endregion
|
|
5189
5189
|
//#region ../../packages/hybrid/table-core/src/tabulator-tables/modules/Format/defaults/formatters/tickCross.ts
|
|
5190
5190
|
function Oa(e, t, n) {
|
|
5191
|
-
let r = e.getValue(), i = e.getElement(), a = t.allowEmpty, o = t.allowTruthy, s = Object.prototype.hasOwnProperty.call(t, "trueValue"), c = (typeof t.tickElement == "string" ?
|
|
5191
|
+
let r = e.getValue(), i = e.getElement(), a = t.allowEmpty, o = t.allowTruthy, s = Object.prototype.hasOwnProperty.call(t, "trueValue"), c = (typeof t.tickElement == "string" ? j(t.tickElement) : t.tickElement) ?? "<svg enable-background=\"new 0 0 24 24\" height=\"14\" width=\"14\" viewBox=\"0 0 24 24\" xml:space=\"preserve\" role=\"img\" aria-label=\"true\" ><path fill=\"#2DC214\" clip-rule=\"evenodd\" d=\"M21.652,3.211c-0.293-0.295-0.77-0.295-1.061,0L9.41,14.34 c-0.293,0.297-0.771,0.297-1.062,0L3.449,9.351C3.304,9.203,3.114,9.13,2.923,9.129C2.73,9.128,2.534,9.201,2.387,9.351 l-2.165,1.946C0.078,11.445,0,11.63,0,11.823c0,0.194,0.078,0.397,0.223,0.544l4.94,5.184c0.292,0.296,0.771,0.776,1.062,1.07 l2.124,2.141c0.292,0.293,0.769,0.293,1.062,0l14.366-14.34c0.293-0.294,0.293-0.777,0-1.071L21.652,3.211z\" fill-rule=\"evenodd\"/></svg>", l = (typeof t.crossElement == "string" ? j(t.crossElement) : t.crossElement) ?? "<svg enable-background=\"new 0 0 24 24\" height=\"14\" width=\"14\" viewBox=\"0 0 24 24\" xml:space=\"preserve\" role=\"img\" aria-label=\"false\" ><path fill=\"#CE1515\" d=\"M22.245,4.015c0.313,0.313,0.313,0.826,0,1.139l-6.276,6.27c-0.313,0.312-0.313,0.826,0,1.14l6.273,6.272 c0.313,0.313,0.313,0.826,0,1.14l-2.285,2.277c-0.314,0.312-0.828,0.312-1.142,0l-6.271-6.271c-0.313-0.313-0.828-0.313-1.141,0 l-6.276,6.267c-0.313,0.313-0.828,0.313-1.141,0l-2.282-2.28c-0.313-0.313-0.313-0.826,0-1.14l6.278-6.269 c0.313-0.312,0.313-0.826,0-1.14L1.709,5.147c-0.314-0.313-0.314-0.827,0-1.14l2.284-2.278C4.308,1.417,4.821,1.417,5.135,1.73 L11.405,8c0.314,0.314,0.828,0.314,1.141,0.001l6.276-6.267c0.312-0.312,0.826-0.312,1.141,0L22.245,4.015z\"/></svg>";
|
|
5192
5192
|
return s && r === t.trueValue || !s && (o && r || r === !0 || r === "true" || r === "True" || r === 1 || r === "1") ? (i && i.setAttribute("aria-checked", "true"), c || "") : a && (r === "null" || r === "" || r == null) ? (i && i.setAttribute("aria-checked", "mixed"), "") : (i && i.setAttribute("aria-checked", "false"), l || "");
|
|
5193
5193
|
}
|
|
5194
5194
|
//#endregion
|
|
@@ -5212,7 +5212,7 @@ function ja(e) {
|
|
|
5212
5212
|
}
|
|
5213
5213
|
function Ma(e, t) {
|
|
5214
5214
|
let n = Aa(t ?? {}, e), i = ka(e.getValue()), a = ja(n);
|
|
5215
|
-
return
|
|
5215
|
+
return M(r`<cx-format-time .duration=${i} display-style=${T(n.displayStyle)} input-unit=${T(n.inputUnit)} locale=${T(n.locale)} placeholder=${T(n.placeholder)} units-format=${T(n.unitsFormat)} style=${k(a)}></cx-format-time>`);
|
|
5216
5216
|
}
|
|
5217
5217
|
//#endregion
|
|
5218
5218
|
//#region ../../packages/hybrid/table-core/src/tabulator-tables/modules/Format/defaults/formatters/toggle.ts
|
|
@@ -5234,7 +5234,7 @@ var Pa = r`<span class="tabulator-traffic-light-container"><span class="tabulato
|
|
|
5234
5234
|
function Fa(e, t, n, r) {
|
|
5235
5235
|
let i = e.getValue();
|
|
5236
5236
|
if (i == null || i === "") return;
|
|
5237
|
-
let a =
|
|
5237
|
+
let a = M(Pa), o = t?.getColor?.(i) ?? t?.colorMap?.[i];
|
|
5238
5238
|
if (o) {
|
|
5239
5239
|
let e = a.querySelector(".tabulator-traffic-light");
|
|
5240
5240
|
e && (e.style.backgroundColor = o);
|
|
@@ -5249,7 +5249,7 @@ function Ia(e, t) {
|
|
|
5249
5249
|
if (n == null || n === "") return;
|
|
5250
5250
|
let i = t ?? {}, a;
|
|
5251
5251
|
i.getVariant && (a = i.getVariant(n)), !a && i.variantMap && (a = i.variantMap[n]), !a && i.variant && (a = i.variant), a ??= le.Body1;
|
|
5252
|
-
let o = r`<cx-line-clamp lines="1"><cx-typography style=${k(i.style ?? {})}></cx-typography></cx-line-clamp>`, s =
|
|
5252
|
+
let o = r`<cx-line-clamp lines="1"><cx-typography style=${k(i.style ?? {})}></cx-typography></cx-line-clamp>`, s = M(o), c = s.querySelector("cx-typography");
|
|
5253
5253
|
c.variant = a;
|
|
5254
5254
|
let l = String(n);
|
|
5255
5255
|
return i.prefix && (l = i.prefix + l), i.suffix && (l += i.suffix), c.textContent = l, s;
|
|
@@ -5433,7 +5433,7 @@ var Ra = class e extends W {
|
|
|
5433
5433
|
return t = typeof e == "string" ? oe(e) : e, t && (t.slot = "prefix"), t;
|
|
5434
5434
|
}
|
|
5435
5435
|
_createSelectElement() {
|
|
5436
|
-
let { autocomplete: e, clearable: t, fallbackOption: n, freeWidth: i, placeholder: a } = this.params, o = r`<cx-select style="width: 100%; margin: auto;" hoist ?clearable=${t} ?free-width=${i ?? !1} placeholder=${T(a)}></cx-select>`, s =
|
|
5436
|
+
let { autocomplete: e, clearable: t, fallbackOption: n, freeWidth: i, placeholder: a } = this.params, o = r`<cx-select style="width: 100%; margin: auto;" hoist ?clearable=${t} ?free-width=${i ?? !1} placeholder=${T(a)}></cx-select>`, s = M(o);
|
|
5437
5437
|
n?.value != null && (s.fallbackOptionValue = this.sanitizeValue(n.value));
|
|
5438
5438
|
let c = this.createPrefixElement();
|
|
5439
5439
|
return c && s.prepend(c), e || (s.style.cursor = "default", s.style.caretColor = "transparent"), this._bindInputEvents(s), s;
|
|
@@ -5651,7 +5651,7 @@ var Ra = class e extends W {
|
|
|
5651
5651
|
}
|
|
5652
5652
|
}
|
|
5653
5653
|
_appendDivider() {
|
|
5654
|
-
let e =
|
|
5654
|
+
let e = M(Va);
|
|
5655
5655
|
this.input.appendChild(e);
|
|
5656
5656
|
}
|
|
5657
5657
|
_appendSectionLabel(e) {
|
|
@@ -5661,12 +5661,12 @@ var Ra = class e extends W {
|
|
|
5661
5661
|
_appendLeafOption(e) {
|
|
5662
5662
|
let t = e.element;
|
|
5663
5663
|
if (!t) {
|
|
5664
|
-
t =
|
|
5664
|
+
t = M(Ba), t.getTextLabel = () => e.label, t.value = this.sanitizeValue(e.value);
|
|
5665
5665
|
let n = this.formatItemLabel(e, t);
|
|
5666
|
-
n && typeof n == "object" && "nodeType" in n && n instanceof HTMLElement ? t.appendChild(n) : t.innerHTML =
|
|
5666
|
+
n && typeof n == "object" && "nodeType" in n && n instanceof HTMLElement ? t.appendChild(n) : t.innerHTML = j(String(n || ""));
|
|
5667
5667
|
let r = this.params.fallbackOption?.prefix;
|
|
5668
5668
|
if (e.isFallbackOption && r) {
|
|
5669
|
-
let e = oe(`<div style="display: inline-flex" slot="prefix">${
|
|
5669
|
+
let e = oe(`<div style="display: inline-flex" slot="prefix">${j(r)}</div>`);
|
|
5670
5670
|
e && t.prepend(e);
|
|
5671
5671
|
}
|
|
5672
5672
|
t.classList.add("tabulator-edit-list-item", "tabulator-edit-list-group-level-" + e.level), e.element = t;
|
|
@@ -6199,7 +6199,7 @@ var Ra = class e extends W {
|
|
|
6199
6199
|
if (e.column.definition.editor !== "list") return;
|
|
6200
6200
|
let t = e.getElement(!0);
|
|
6201
6201
|
if (!t || t.classList.contains("tabulator-editing") || t.querySelector(`.${$a}`)) return;
|
|
6202
|
-
let n =
|
|
6202
|
+
let n = M(eo);
|
|
6203
6203
|
n.addEventListener("mousedown", (e) => {
|
|
6204
6204
|
e.preventDefault(), e.stopPropagation();
|
|
6205
6205
|
}), n.addEventListener("click", (n) => {
|
|
@@ -6488,7 +6488,7 @@ var Ra = class e extends W {
|
|
|
6488
6488
|
return e.columns.forEach((e) => {
|
|
6489
6489
|
if (e?.component && "_column" in e.component) {
|
|
6490
6490
|
let t = document.createElement("th"), n = e.component._column.definition.cssClass ? e.component._column.definition.cssClass.split(" ") : [];
|
|
6491
|
-
t.colSpan = e.width, t.rowSpan = e.height, t.innerHTML =
|
|
6491
|
+
t.colSpan = e.width, t.rowSpan = e.height, t.innerHTML = j(String(e.value)), this.cloneTableStyle && (t.style.boxSizing = "border-box"), n.forEach((e) => {
|
|
6492
6492
|
t.classList.add(e);
|
|
6493
6493
|
});
|
|
6494
6494
|
let i = e.component.getElement();
|
|
@@ -6529,7 +6529,7 @@ var Ra = class e extends W {
|
|
|
6529
6529
|
}
|
|
6530
6530
|
generateGroupElement(e, t, n) {
|
|
6531
6531
|
let r = document.createElement("tr"), i = document.createElement("td"), a = e.columns[0];
|
|
6532
|
-
return a ? (r.classList.add("tabulator-print-table-row"), t.groupHeader && Array.isArray(t.groupHeader) && t.groupHeader[e.indent] ? a.value = t.groupHeader[e.indent](a.value, e.component?._group?.getRowCount() || 0, e.component?._group?.getData() || {}, e.component || {}) : t.groupHeader !== !1 && e.component && e.component?._group && (a.value = e.component._group.generator(a.value, e.component._group.getRowCount(), e.component._group.getData(), e.component)), i.colSpan = a.width, i.innerHTML =
|
|
6532
|
+
return a ? (r.classList.add("tabulator-print-table-row"), t.groupHeader && Array.isArray(t.groupHeader) && t.groupHeader[e.indent] ? a.value = t.groupHeader[e.indent](a.value, e.component?._group?.getRowCount() || 0, e.component?._group?.getData() || {}, e.component || {}) : t.groupHeader !== !1 && e.component && e.component?._group && (a.value = e.component._group.generator(a.value, e.component._group.getRowCount(), e.component._group.getData(), e.component)), i.colSpan = a.width, i.innerHTML = j(String(a.value)), r.classList.add("tabulator-print-table-group", "tabulator-group-level-" + e.indent), a.component && a.component.isVisible() && r.classList.add("tabulator-group-visible"), this.mapElementStyles(n.firstGroup, r, [
|
|
6533
6533
|
"border-top",
|
|
6534
6534
|
"border-left",
|
|
6535
6535
|
"border-right",
|
|
@@ -6609,7 +6609,7 @@ var Ra = class e extends W {
|
|
|
6609
6609
|
break;
|
|
6610
6610
|
case "undefined": u = "";
|
|
6611
6611
|
}
|
|
6612
|
-
u instanceof Node ? o.appendChild(u) : o.innerHTML =
|
|
6612
|
+
u instanceof Node ? o.appendChild(u) : o.innerHTML = j(String(u));
|
|
6613
6613
|
let p = [
|
|
6614
6614
|
"padding-top",
|
|
6615
6615
|
"padding-left",
|
|
@@ -7593,7 +7593,7 @@ var q = process.env.NODE_ENV === "development", Uo = class e extends W {
|
|
|
7593
7593
|
this.element = !1, this.arrowElement = !1, this.elementContents = !1, this.heightInitialized = !1, this._loadMoreRow = !1, this._loadMoreStateKey = "";
|
|
7594
7594
|
}
|
|
7595
7595
|
createElements() {
|
|
7596
|
-
this.element = document.createElement("div"), this.element.classList.add("tabulator-row"), this.element.classList.add("tabulator-group"), this.element.classList.add("tabulator-group-level-" + this.level), this.element.setAttribute("role", this.groupManager.table.options.rowGroupRole ?? "rowgroup"), this.arrowElement =
|
|
7596
|
+
this.element = document.createElement("div"), this.element.classList.add("tabulator-row"), this.element.classList.add("tabulator-group"), this.element.classList.add("tabulator-group-level-" + this.level), this.element.setAttribute("role", this.groupManager.table.options.rowGroupRole ?? "rowgroup"), this.arrowElement = M(Yo), this.groupManager.table.options.movableRows !== !1 && this.groupManager.table.modExists("moveRow") && this.groupManager.table.modules.moveRow.initializeGroupHeader(this);
|
|
7597
7597
|
}
|
|
7598
7598
|
createValueGroups() {
|
|
7599
7599
|
let e = this.level + 1;
|
|
@@ -7641,7 +7641,7 @@ var q = process.env.NODE_ENV === "development", Uo = class e extends W {
|
|
|
7641
7641
|
e.parentElement !== n && e.remove();
|
|
7642
7642
|
});
|
|
7643
7643
|
let e = n.querySelector(".tabulator-group-level-indent");
|
|
7644
|
-
e || (e =
|
|
7644
|
+
e || (e = M(Xo), n.insertBefore(e, n.firstChild)), this.applyGroupIndent(e, (this.level + 1) * (this.groupManager.table.options.groupIndent ?? 36)), e.dataset.groupLevel = this.level.toString();
|
|
7645
7645
|
}
|
|
7646
7646
|
}
|
|
7647
7647
|
insertRow(e, t, n) {
|
|
@@ -7685,10 +7685,10 @@ var q = process.env.NODE_ENV === "development", Uo = class e extends W {
|
|
|
7685
7685
|
if (!e?.hasMore || !n) return this._loadMoreRow = !1, !1;
|
|
7686
7686
|
let r = new Xr({ id: `group-load-more:${this.getPathKey()}` }, n), i = (this.level + 1) * (this.groupManager.table.options.groupIndent ?? 36);
|
|
7687
7687
|
if (r.create(), e.loading) {
|
|
7688
|
-
let e =
|
|
7688
|
+
let e = M(Qo);
|
|
7689
7689
|
return r.element.appendChild(e), this.applyGroupIndent(e, i), this._loadMoreRow = r, r;
|
|
7690
7690
|
}
|
|
7691
|
-
let a =
|
|
7691
|
+
let a = M(Zo), o = this.getGroupLoadMoreEventPayload();
|
|
7692
7692
|
return r.element.appendChild(a), this.applyGroupIndent(a, i), a.addEventListener("click", (e) => {
|
|
7693
7693
|
e.preventDefault(), e.stopPropagation(), e.stopImmediatePropagation(), this.groupManager.table.externalEvents?.dispatch("groupLoadMore", o);
|
|
7694
7694
|
}), this._loadMoreRow = r, r;
|
|
@@ -7815,7 +7815,7 @@ var q = process.env.NODE_ENV === "development", Uo = class e extends W {
|
|
|
7815
7815
|
for (let n of t) e.push(n.getData());
|
|
7816
7816
|
if (this.elementContents = this.generator(this.key, this.getRowCount(), e, this.getComponent()), this.element) {
|
|
7817
7817
|
for (; this.element.firstChild;) this.element.removeChild(this.element.firstChild);
|
|
7818
|
-
typeof this.elementContents == "string" ? this.element.innerHTML =
|
|
7818
|
+
typeof this.elementContents == "string" ? this.element.innerHTML = j(this.elementContents) : this.element.appendChild(this.elementContents), this.arrowElement && this.element.insertBefore(this.arrowElement, this.element.firstChild);
|
|
7819
7819
|
}
|
|
7820
7820
|
}
|
|
7821
7821
|
getPath(e = []) {
|
|
@@ -7902,10 +7902,10 @@ var q = process.env.NODE_ENV === "development", Uo = class e extends W {
|
|
|
7902
7902
|
let o = this.table.options.groupHeaderCount ? "<span class=\"tabulator-group-count\">(" + r + " " + (r === 1 ? e : t.groups.items) + ")</span>" : "";
|
|
7903
7903
|
if (this.table.options.groupHeaderUseFormatter && a) {
|
|
7904
7904
|
let e = this.buildFormattedGroupHeader(n, i, a);
|
|
7905
|
-
if (e) return o && e.insertAdjacentHTML("beforeend",
|
|
7905
|
+
if (e) return o && e.insertAdjacentHTML("beforeend", j(o)), e;
|
|
7906
7906
|
}
|
|
7907
7907
|
let s = n ?? "";
|
|
7908
|
-
return this.table.options.groupHeaderCount ?
|
|
7908
|
+
return this.table.options.groupHeaderCount ? j(s + o) : j(s);
|
|
7909
7909
|
};
|
|
7910
7910
|
}), this.groupIDLookups = [], e ? this.table.modExists("columnCalcs") && this.table.options.columnCalcs !== "table" && this.table.options.columnCalcs !== "both" && this.table.modules.columnCalcs.removeCalcs() : this.table.modExists("columnCalcs") && this.table.options.columnCalcs !== "group" && (this.table.columnManager?.getRealColumns() || []).forEach((e) => {
|
|
7911
7911
|
e.definition.topCalc && this.table.modules.columnCalcs.initializeTopRow(), e.definition.bottomCalc && this.table.modules.columnCalcs.initializeBottomRow();
|
|
@@ -7949,7 +7949,7 @@ var q = process.env.NODE_ENV === "development", Uo = class e extends W {
|
|
|
7949
7949
|
}, d = typeof a.params == "function" ? a.params(u) : a.params, f = a.formatter.call(o, u, d ?? {}, () => {});
|
|
7950
7950
|
if (f == null || f === "") return null;
|
|
7951
7951
|
let p = document.createElement("span");
|
|
7952
|
-
return p.classList.add("tabulator-group-formatted"), typeof f == "string" ? p.innerHTML =
|
|
7952
|
+
return p.classList.add("tabulator-group-formatted"), typeof f == "string" ? p.innerHTML = j(f) : p.appendChild(f), p;
|
|
7953
7953
|
}
|
|
7954
7954
|
rowSample(e, t) {
|
|
7955
7955
|
if (this.table.options.groupBy) {
|
|
@@ -8329,7 +8329,7 @@ var q = process.env.NODE_ENV === "development", Uo = class e extends W {
|
|
|
8329
8329
|
!this.hasIndex && t.index && (r[t.index] = e);
|
|
8330
8330
|
for (let e = 0; e < n.length; e++) {
|
|
8331
8331
|
let t = n[e], i = this.fieldIndex[e];
|
|
8332
|
-
i != null && (r[i] =
|
|
8332
|
+
i != null && (r[i] = j(t.innerHTML));
|
|
8333
8333
|
}
|
|
8334
8334
|
i.push(r);
|
|
8335
8335
|
}
|
|
@@ -8619,8 +8619,8 @@ var us = /* @__PURE__ */ e((/* @__PURE__ */ n(((e, t) => {
|
|
|
8619
8619
|
else if (_) return M();
|
|
8620
8620
|
if (!r || w.substring(0, b) !== r) {
|
|
8621
8621
|
if (te) {
|
|
8622
|
-
if (S = [],
|
|
8623
|
-
} else
|
|
8622
|
+
if (S = [], re(w.split(t)), N(), m) return M();
|
|
8623
|
+
} else re(w.split(t));
|
|
8624
8624
|
if (a && a <= D) return S = S.slice(0, a), M(!0);
|
|
8625
8625
|
}
|
|
8626
8626
|
}
|
|
@@ -8633,18 +8633,18 @@ var us = /* @__PURE__ */ e((/* @__PURE__ */ n(((e, t) => {
|
|
|
8633
8633
|
message: "Quoted field unterminated",
|
|
8634
8634
|
row: S.length,
|
|
8635
8635
|
index: p
|
|
8636
|
-
}),
|
|
8637
|
-
if (A === v - 1) return
|
|
8636
|
+
}), ae();
|
|
8637
|
+
if (A === v - 1) return ae(s.substring(p, A).replace(ne, d));
|
|
8638
8638
|
if (d === f && s[A + 1] === f) A++;
|
|
8639
8639
|
else if (d === f || A === 0 || s[A - 1] !== f) {
|
|
8640
8640
|
O !== -1 && O < A + 1 && (O = s.indexOf(t, A + 1));
|
|
8641
|
-
var
|
|
8642
|
-
if (s.substr(A + 1 +
|
|
8643
|
-
w.push(s.substring(p, A).replace(ne, d)), s[p = A + 1 +
|
|
8641
|
+
var j = ie((k = k !== -1 && k < A + 1 ? s.indexOf(n, A + 1) : k) === -1 ? O : Math.min(O, k));
|
|
8642
|
+
if (s.substr(A + 1 + j, y) === t) {
|
|
8643
|
+
w.push(s.substring(p, A).replace(ne, d)), s[p = A + 1 + j + y] !== d && (A = s.indexOf(d, p)), O = s.indexOf(t, p), k = s.indexOf(n, p);
|
|
8644
8644
|
break;
|
|
8645
8645
|
}
|
|
8646
|
-
if (
|
|
8647
|
-
if (w.push(s.substring(p, A).replace(ne, d)),
|
|
8646
|
+
if (j = ie(k), s.substring(A + 1 + j, A + 1 + j + ee) === n) {
|
|
8647
|
+
if (w.push(s.substring(p, A).replace(ne, d)), oe(A + 1 + j + ee), O = s.indexOf(t, p), A = s.indexOf(d, p), te && (N(), m)) return M();
|
|
8648
8648
|
if (a && S.length >= a) return M(!0);
|
|
8649
8649
|
break;
|
|
8650
8650
|
}
|
|
@@ -8663,22 +8663,22 @@ var us = /* @__PURE__ */ e((/* @__PURE__ */ n(((e, t) => {
|
|
|
8663
8663
|
} else if (O !== -1 && (O < k || k === -1)) w.push(s.substring(p, O)), p = O + y, O = s.indexOf(t, p);
|
|
8664
8664
|
else {
|
|
8665
8665
|
if (k === -1) break;
|
|
8666
|
-
if (w.push(s.substring(p, k)),
|
|
8666
|
+
if (w.push(s.substring(p, k)), oe(k + ee), te && (N(), m)) return M();
|
|
8667
8667
|
if (a && S.length >= a) return M(!0);
|
|
8668
8668
|
}
|
|
8669
|
-
return
|
|
8670
|
-
function
|
|
8669
|
+
return ae();
|
|
8670
|
+
function re(e) {
|
|
8671
8671
|
S.push(e), T = p;
|
|
8672
8672
|
}
|
|
8673
|
-
function
|
|
8673
|
+
function ie(e) {
|
|
8674
8674
|
var t = 0;
|
|
8675
8675
|
return t = e !== -1 && (e = s.substring(A + 1, e)) && e.trim() === "" ? e.length : t;
|
|
8676
8676
|
}
|
|
8677
|
-
function
|
|
8678
|
-
return _ || (e === void 0 && (e = s.substring(p)), w.push(e), p = v,
|
|
8677
|
+
function ae(e) {
|
|
8678
|
+
return _ || (e === void 0 && (e = s.substring(p)), w.push(e), p = v, re(w), te && N()), M();
|
|
8679
8679
|
}
|
|
8680
|
-
function
|
|
8681
|
-
p = e,
|
|
8680
|
+
function oe(e) {
|
|
8681
|
+
p = e, re(w), w = [], k = s.indexOf(n, p);
|
|
8682
8682
|
}
|
|
8683
8683
|
function M(r) {
|
|
8684
8684
|
if (e.header && !g && S.length && !u) {
|
|
@@ -9332,7 +9332,7 @@ var ms = process.env.NODE_ENV === "development", hs = {
|
|
|
9332
9332
|
}
|
|
9333
9333
|
initializeColumnHeaderMenu(e) {
|
|
9334
9334
|
let t = e.definition.headerMenuIcon, n = document.createElement("span");
|
|
9335
|
-
n.classList.add("tabulator-header-popup-button"), t ? (typeof t == "function" && (t = t(e.getComponent())), t instanceof HTMLElement ? n.appendChild(t) : n.innerHTML =
|
|
9335
|
+
n.classList.add("tabulator-header-popup-button"), t ? (typeof t == "function" && (t = t(e.getComponent())), t instanceof HTMLElement ? n.appendChild(t) : n.innerHTML = j(String(t))) : n.innerHTML = j("⋮"), n.addEventListener("click", (t) => {
|
|
9336
9336
|
t.stopPropagation(), t.preventDefault(), this.loadMenuEvent(e.definition.headerMenu, t, e);
|
|
9337
9337
|
}), e.titleElement && e.titleElement.insertBefore(n, e.titleElement.firstChild);
|
|
9338
9338
|
}
|
|
@@ -9359,7 +9359,7 @@ var ms = process.env.NODE_ENV === "development", hs = {
|
|
|
9359
9359
|
else return;
|
|
9360
9360
|
n.forEach((e) => {
|
|
9361
9361
|
let n = document.createElement("div"), r = e.label, i = e.disabled;
|
|
9362
|
-
e.separator ? n.classList.add("tabulator-menu-separator") : (n.classList.add("tabulator-menu-item"), typeof r == "function" && (r = r.call(this.table, t.getComponent())), r instanceof Node ? n.appendChild(r) : n.innerHTML =
|
|
9362
|
+
e.separator ? n.classList.add("tabulator-menu-separator") : (n.classList.add("tabulator-menu-item"), typeof r == "function" && (r = r.call(this.table, t.getComponent())), r instanceof Node ? n.appendChild(r) : n.innerHTML = j(String(r || "")), typeof i == "function" && (i = i.call(this.table, t.getComponent())), i ? (n.classList.add("tabulator-menu-item-disabled"), n.addEventListener("click", (e) => {
|
|
9363
9363
|
e.stopPropagation();
|
|
9364
9364
|
})) : e.menu && e.menu.length ? n.addEventListener("click", (r) => {
|
|
9365
9365
|
r.stopPropagation(), this.loadMenu(r, t, e.menu, n, s);
|
|
@@ -9847,7 +9847,7 @@ var ms = process.env.NODE_ENV === "development", hs = {
|
|
|
9847
9847
|
}
|
|
9848
9848
|
calculatePageSizes() {
|
|
9849
9849
|
let e, t;
|
|
9850
|
-
this.table.options.paginationSize ? this.size = this.table.options.paginationSize : (e = document.createElement("div"), e.classList.add("tabulator-row"), e.style.visibility = "hidden", t = document.createElement("div"), t.classList.add("tabulator-cell"), t.innerHTML =
|
|
9850
|
+
this.table.options.paginationSize ? this.size = this.table.options.paginationSize : (e = document.createElement("div"), e.classList.add("tabulator-row"), e.style.visibility = "hidden", t = document.createElement("div"), t.classList.add("tabulator-cell"), t.innerHTML = j("Page Row Test"), e.appendChild(t), this.table.rowManager?.getTableElement().appendChild(e), this.size = Math.floor((this.table.rowManager?.getElement()?.clientHeight ?? 0) / e.offsetHeight), e.remove()), this.dispatchExternal("pageSizeChanged", this.size), this.generatePageSizeSelectList();
|
|
9851
9851
|
}
|
|
9852
9852
|
initialLoadComplete() {
|
|
9853
9853
|
this.initialLoad = !1;
|
|
@@ -9875,7 +9875,7 @@ var ms = process.env.NODE_ENV === "development", hs = {
|
|
|
9875
9875
|
}
|
|
9876
9876
|
createElements() {
|
|
9877
9877
|
let e = r`<cx-pagination back-icon-name="arrow_back" next-icon-name="arrow_forward" icon-button-size="small"></cx-pagination>`, t = r`<div slot="pagination" class="tabulator-paginator"></div>`;
|
|
9878
|
-
this.element =
|
|
9878
|
+
this.element = M(t), this.paginationElement = M(e), this.table.options.paginationShowFirst && this.paginationElement.setAttribute("show-first", ""), this.table.options.paginationShowLast && this.paginationElement.setAttribute("show-last", ""), this.table.options.showPaginationButtons && (this.paginationElement.setAttribute("show-pagination-buttons", ""), this.paginationElement.setAttribute("pagination-button-count", this.count.toString())), this.table.options.showPaginationInput && this.paginationElement.setAttribute("show-pagination-input", ""), this.paginationElement.setAttribute("label", ""), this.paginationElement.classList.add("tabulator-paginator-pagination");
|
|
9879
9879
|
}
|
|
9880
9880
|
generatePageSizeSelectList() {
|
|
9881
9881
|
let e = [], t = 1;
|
|
@@ -10219,7 +10219,7 @@ var ms = process.env.NODE_ENV === "development", hs = {
|
|
|
10219
10219
|
}
|
|
10220
10220
|
initializeColumnHeaderPopup(e) {
|
|
10221
10221
|
let t = e.definition.headerPopupIcon, n = document.createElement("span");
|
|
10222
|
-
n.classList.add("tabulator-header-popup-button"), t ? (typeof t == "function" && (t = t(e.getComponent())), t instanceof HTMLElement ? n.appendChild(t) : n.innerHTML =
|
|
10222
|
+
n.classList.add("tabulator-header-popup-button"), t ? (typeof t == "function" && (t = t(e.getComponent())), t instanceof HTMLElement ? n.appendChild(t) : n.innerHTML = j(t)) : n.innerHTML = j("⋮"), n.addEventListener("click", (t) => {
|
|
10223
10223
|
t.stopPropagation(), t.preventDefault(), this.loadPopupEvent(e.definition.headerPopup, t, e);
|
|
10224
10224
|
}), e.titleElement && e.titleElement.insertBefore(n, e.titleElement.firstChild);
|
|
10225
10225
|
}
|
|
@@ -10238,7 +10238,7 @@ var ms = process.env.NODE_ENV === "development", hs = {
|
|
|
10238
10238
|
}
|
|
10239
10239
|
loadPopup(e, t, n, r, i) {
|
|
10240
10240
|
let a = !(e instanceof MouseEvent), o;
|
|
10241
|
-
n instanceof HTMLElement ? o = n : (o = document.createElement("div"), o.innerHTML =
|
|
10241
|
+
n instanceof HTMLElement ? o = n : (o = document.createElement("div"), o.innerHTML = j(n)), o.classList.add("tabulator-popup"), o.addEventListener("click", (e) => {
|
|
10242
10242
|
e.stopPropagation();
|
|
10243
10243
|
}), !a && e && e.preventDefault();
|
|
10244
10244
|
let s = this.popup(o);
|
|
@@ -10277,7 +10277,7 @@ var ms = process.env.NODE_ENV === "development", hs = {
|
|
|
10277
10277
|
return;
|
|
10278
10278
|
}
|
|
10279
10279
|
let c = s.generateTable(n ?? this.table.options.printConfig, t ?? this.table.options.printStyled, typeof e == "boolean" ? e ? "visible" : this.table.options.printRowRange : e || this.table.options.printRowRange, "print"), l, u;
|
|
10280
|
-
this.manualBlock = !0, this.element = document.createElement("div"), this.element.classList.add("tabulator-print-fullscreen"), this.table.options.printHeader && (a.classList.add("tabulator-print-header"), l = typeof this.table.options.printHeader == "function" ? this.table.options.printHeader.call(this.table) : this.table.options.printHeader, typeof l == "string" ? a.innerHTML =
|
|
10280
|
+
this.manualBlock = !0, this.element = document.createElement("div"), this.element.classList.add("tabulator-print-fullscreen"), this.table.options.printHeader && (a.classList.add("tabulator-print-header"), l = typeof this.table.options.printHeader == "function" ? this.table.options.printHeader.call(this.table) : this.table.options.printHeader, typeof l == "string" ? a.innerHTML = j(l) : a.appendChild(l), this.element.appendChild(a)), this.element.appendChild(c), this.table.options.printFooter && (o.classList.add("tabulator-print-footer"), u = typeof this.table.options.printFooter == "function" ? this.table.options.printFooter.call(this.table) : this.table.options.printFooter, typeof u == "string" ? o.innerHTML = j(u) : o.appendChild(u), this.element.appendChild(o)), document.body.classList.add("tabulator-print-fullscreen-hide"), document.body.appendChild(this.element);
|
|
10281
10281
|
try {
|
|
10282
10282
|
this.table.options.printFormatter && this.table.options.printFormatter(this.element, c), globalThis.print();
|
|
10283
10283
|
} finally {
|
|
@@ -10841,7 +10841,7 @@ var Ks = { format: { formatters: { responsiveCollapse: Gs } } }, qs = class exte
|
|
|
10841
10841
|
if (e.modules.responsiveLayout && this.collapseFormatter) {
|
|
10842
10842
|
if (t = e.modules.responsiveLayout.element, t) {
|
|
10843
10843
|
for (; t.firstChild;) t.removeChild(t.firstChild);
|
|
10844
|
-
n = this.collapseFormatter(this.generateCollapsedRowData(e)), n && (typeof n == "string" ? t.innerHTML =
|
|
10844
|
+
n = this.collapseFormatter(this.generateCollapsedRowData(e)), n && (typeof n == "string" ? t.innerHTML = j(n) : t.appendChild(n));
|
|
10845
10845
|
}
|
|
10846
10846
|
e.calcHeight(!0);
|
|
10847
10847
|
}
|
|
@@ -10890,13 +10890,13 @@ var Ks = { format: { formatters: { responsiveCollapse: Gs } } }, qs = class exte
|
|
|
10890
10890
|
return e.forEach((e) => {
|
|
10891
10891
|
let n = document.createElement("tr"), r = document.createElement("td"), i = document.createElement("td"), a, o = document.createElement("strong");
|
|
10892
10892
|
r.appendChild(o), this.table.modules.localize?.langBind("columns|" + e.field, (t) => {
|
|
10893
|
-
o.innerHTML =
|
|
10894
|
-
}), e.value instanceof Node ? (a = document.createElement("div"), a.appendChild(e.value), i.appendChild(a)) : i.innerHTML =
|
|
10893
|
+
o.innerHTML = j(t || e.title);
|
|
10894
|
+
}), e.value instanceof Node ? (a = document.createElement("div"), a.appendChild(e.value), i.appendChild(a)) : i.innerHTML = j(String(e.value)), n.appendChild(r), n.appendChild(i), t.appendChild(n);
|
|
10895
10895
|
}), Object.keys(e).length ? t : "";
|
|
10896
10896
|
}
|
|
10897
10897
|
}, Js = r`<cx-checkbox></cx-checkbox>`;
|
|
10898
10898
|
function Ys(e, t, n) {
|
|
10899
|
-
let r =
|
|
10899
|
+
let r = M(Js), i = r, a = !1;
|
|
10900
10900
|
r.setAttribute("aria-label", "Select Row");
|
|
10901
10901
|
let o = this.table;
|
|
10902
10902
|
if (o.modExists("selectRow", !0)) {
|
|
@@ -11381,7 +11381,7 @@ var Xs = { format: { formatters: { rowSelection: Ys } } }, Zs = process.env.NODE
|
|
|
11381
11381
|
this.options("selectableRange") && (this.options("selectableRows") ? sc && console.warn("SelectRange functionality cannot be used in conjunction with row selection") : (this.maxRanges = this.options("selectableRange"), this.initializeTable(), this.initializeWatchers()), this.options("columns").findIndex((e) => e.frozen) > 0 && sc && console.warn("Having frozen column in arbitrary position with selectRange option may result in unpredictable behavior."), this.options("columns").filter((e) => e.frozen).length > 1 && sc && console.warn("Having multiple frozen columns with selectRange option may result in unpredictable behavior."));
|
|
11382
11382
|
}
|
|
11383
11383
|
initializeTable() {
|
|
11384
|
-
this.overlay = document.createElement("div"), this.overlay.classList.add("tabulator-range-overlay"), this.rangeContainer = document.createElement("div"), this.rangeContainer.classList.add("tabulator-range-container"), this.activeRangeCellElement = document.createElement("div"), this.activeRangeCellElement.classList.add("tabulator-range-cell-active"), this.hoverRangeCellElement =
|
|
11384
|
+
this.overlay = document.createElement("div"), this.overlay.classList.add("tabulator-range-overlay"), this.rangeContainer = document.createElement("div"), this.rangeContainer.classList.add("tabulator-range-container"), this.activeRangeCellElement = document.createElement("div"), this.activeRangeCellElement.classList.add("tabulator-range-cell-active"), this.hoverRangeCellElement = M(cc), this.overlay.appendChild(this.rangeContainer), this.overlay.appendChild(this.hoverRangeCellElement), this.overlay.appendChild(this.activeRangeCellElement), this.table.rowManager?.element && this.table.rowManager.element.addEventListener("keydown", this.keyDownEvent), this.resetRanges(), this.table.rowManager?.element && this.overlay && this.table.rowManager.element.appendChild(this.overlay), this.table.columnManager?.element && this.table.columnManager.element.setAttribute("tabindex", "0"), this.table.element.classList.add("tabulator-ranges");
|
|
11385
11385
|
}
|
|
11386
11386
|
initializeWatchers() {
|
|
11387
11387
|
this.columnSelection = this.options("selectableRangeColumns"), this.rowSelection = this.options("selectableRangeRows"), this.subscribe("column-init", this.initializeColumn.bind(this)), this.subscribe("column-mousedown", this.handleColumnMouseDown.bind(this)), this.subscribe("column-mousemove", this.handleColumnMouseMove.bind(this)), this.subscribe("column-resized", this.handleColumnResized.bind(this)), this.subscribe("column-moving", this.handleColumnMoving.bind(this)), this.subscribe("column-moved", this.handleColumnMoved.bind(this)), this.subscribe("column-width", this.handleColumnWidthChange.bind(this)), this.subscribe("column-height", this.layoutChange.bind(this)), this.subscribe("column-resized", this.layoutChangeNextFrame.bind(this)), this.subscribe("columns-loaded", this.updateHeaderColumn.bind(this)), this.subscribe("cell-height", this.layoutChange.bind(this)), this.subscribe("cell-rendered", this.renderCell.bind(this)), this.subscribe("cell-mousedown", this.handleCellMouseDown.bind(this)), this.subscribe("cell-mousemove", this.handleCellMouseMove.bind(this)), this.subscribe("cell-mouseout", this.handleCellMouseOut.bind(this)), this.subscribe("cell-click", this.handleCellClick.bind(this)), this.subscribe("cell-editing", this.handleEditingCell.bind(this)), this.subscribe("page-changed", this.redraw.bind(this)), this.subscribe("scroll-vertical", this.layoutChange.bind(this)), this.subscribe("scroll-horizontal", this.layoutChange.bind(this)), this.subscribe("data-destroy", this.tableDestroyed.bind(this)), this.subscribe("data-processed", this.resetRanges.bind(this)), this.subscribe("table-layout", this.layoutElement.bind(this)), this.subscribe("table-redraw", this.redraw.bind(this)), this.subscribe("table-destroy", this.tableDestroyed.bind(this)), this.subscribe("edit-editor-clear", this.finishEditingCell.bind(this)), this.subscribe("edit-blur", this.restoreFocus.bind(this)), this.subscribe("keybinding-nav-prev", this.keyNavigate.bind(this, "left")), this.subscribe("keybinding-nav-next", this.keyNavigate.bind(this, "right")), this.subscribe("keybinding-nav-left", this.keyNavigate.bind(this, "left")), this.subscribe("keybinding-nav-right", this.keyNavigate.bind(this, "right")), this.subscribe("keybinding-nav-up", this.keyNavigate.bind(this, "up")), this.subscribe("keybinding-nav-down", this.keyNavigate.bind(this, "down")), this.subscribe("keybinding-nav-range", this.keyNavigateRange.bind(this));
|
|
@@ -11986,7 +11986,7 @@ var bc = {
|
|
|
11986
11986
|
e instanceof Node && i.appendChild(e);
|
|
11987
11987
|
}
|
|
11988
11988
|
break;
|
|
11989
|
-
default: i.innerHTML =
|
|
11989
|
+
default: i.innerHTML = j(this.table.options.headerSortElement || "");
|
|
11990
11990
|
}
|
|
11991
11991
|
t.titleHolderElement && t.titleHolderElement.appendChild(i), t.modules.sort.element = i, this.setColumnHeaderSortIcon(t, I.None), this.table.options.headerSortClickElement === "icon" && i.addEventListener("mousedown", (e) => {
|
|
11992
11992
|
e.stopPropagation();
|
|
@@ -12099,7 +12099,7 @@ var bc = {
|
|
|
12099
12099
|
if (n && e.definition.headerSort && typeof this.table.options.headerSortElement == "function") {
|
|
12100
12100
|
for (; n.firstChild;) n.removeChild(n.firstChild);
|
|
12101
12101
|
let r = this.table.options.headerSortElement.call(this.table, e.getComponent(), t);
|
|
12102
|
-
r instanceof Node ? n.appendChild(r) : typeof r == "string" && (n.innerHTML =
|
|
12102
|
+
r instanceof Node ? n.appendChild(r) : typeof r == "string" && (n.innerHTML = j(r));
|
|
12103
12103
|
}
|
|
12104
12104
|
}
|
|
12105
12105
|
_sortItems(e, t) {
|
|
@@ -12431,8 +12431,8 @@ var bc = {
|
|
|
12431
12431
|
i = e;
|
|
12432
12432
|
}
|
|
12433
12433
|
typeof n == "function" && (n = n(e, t.getComponent(), o)), n instanceof HTMLElement ? r = n : (r = document.createElement("div"), n === !0 && (t instanceof Br ? n = t.value : t.definition.field ? this.langBind("columns|" + t.definition.field, (e) => {
|
|
12434
|
-
r.innerHTML = n =
|
|
12435
|
-
}) : n = t.definition.title), r.innerHTML =
|
|
12434
|
+
r.innerHTML = n = j(e || t.definition.title);
|
|
12435
|
+
}) : n = t.definition.title), r.innerHTML = j(n)), (n || n === 0 || n === !1) && (r.classList.add("tabulator-tooltip"), r.addEventListener("mousemove", (e) => e.preventDefault()), this.popupInstance = this.popup(r), typeof i == "function" && this.popupInstance.renderCallback(i), a = this.popupInstance.containerEventCoords(e), this.popupInstance.show(a.x + 15, a.y + 15).hideOnBlur(() => {
|
|
12436
12436
|
this.dispatchExternal("tooltipClosed", t.getComponent()), this.popupInstance = null;
|
|
12437
12437
|
}), this.dispatchExternal("tooltipOpened", t.getComponent()));
|
|
12438
12438
|
}
|
|
@@ -13696,7 +13696,7 @@ var Zc = process.env.NODE_ENV === "development", Qc = 2e3, $c = 1e3, el = "data-
|
|
|
13696
13696
|
initializeElement() {
|
|
13697
13697
|
if (this.table.options.footerElement) switch (typeof this.table.options.footerElement) {
|
|
13698
13698
|
case "string":
|
|
13699
|
-
if (this.table.options.footerElement.startsWith("<")) this.containerElement.innerHTML =
|
|
13699
|
+
if (this.table.options.footerElement.startsWith("<")) this.containerElement.innerHTML = j(this.table.options.footerElement);
|
|
13700
13700
|
else {
|
|
13701
13701
|
this.external = !0;
|
|
13702
13702
|
let e = document.querySelector(this.table.options.footerElement);
|
|
@@ -13941,7 +13941,7 @@ var Zc = process.env.NODE_ENV === "development", Qc = 2e3, $c = 1e3, el = "data-
|
|
|
13941
13941
|
super(e), this.headerWidthObserver = null, this.headerWidthSyncFrame = null, this.element = this.createHolderElement(), this.wrapperElement = this.createWrapperElement(), this.wrapperElement.appendChild(this.element), this.tableElement = this.createTableElement(), this.heightFixer = this.createTableElement(), this.placeholder = null, this.placeholderContents = null, this.firstRender = !1, this.renderMode = "virtual", this.rows = [], this.activeRowsPipeline = [], this.activeRows = [], this.activeRowsCount = 0, this.displayRows = [], this.displayRowsCount = 0, this.scrollTop = 0, this.scrollLeft = 0, this.redrawBlock = !1, this.redrawBlockRestoreConfig = !1, this.redrawBlockRenderInPosition = !1, this.dataPipeline = [], this.displayPipeline = [], this.scrollbarWidth = 0, this.renderer = null, this.rowIndexMap = /* @__PURE__ */ new Map();
|
|
13942
13942
|
}
|
|
13943
13943
|
createWrapperElement() {
|
|
13944
|
-
return
|
|
13944
|
+
return M(hl);
|
|
13945
13945
|
}
|
|
13946
13946
|
createHolderElement() {
|
|
13947
13947
|
let e = document.createElement("div");
|
|
@@ -13958,7 +13958,7 @@ var Zc = process.env.NODE_ENV === "development", Qc = 2e3, $c = 1e3, el = "data-
|
|
|
13958
13958
|
let e = document.createElement("div");
|
|
13959
13959
|
if (e.classList.add("tabulator-placeholder"), typeof t == "string") {
|
|
13960
13960
|
let n = document.createElement("div");
|
|
13961
|
-
n.classList.add("tabulator-placeholder-contents"), n.innerHTML =
|
|
13961
|
+
n.classList.add("tabulator-placeholder-contents"), n.innerHTML = j(t), e.appendChild(n), this.placeholderContents = n;
|
|
13962
13962
|
} else typeof HTMLElement < "u" && t instanceof HTMLElement ? (e.appendChild(t), this.placeholderContents = t) : (ml && console.warn("Invalid placeholder provided, must be string or HTML Element", t), this.placeholder = null);
|
|
13963
13963
|
this.placeholder = e;
|
|
13964
13964
|
}
|
|
@@ -14393,7 +14393,7 @@ var Zc = process.env.NODE_ENV === "development", Qc = 2e3, $c = 1e3, el = "data-
|
|
|
14393
14393
|
for (this.clear(), this.dispatch("alert-show", t), this.type = t; this.msgElement.firstChild;) this.msgElement.removeChild(this.msgElement.firstChild);
|
|
14394
14394
|
this.element.classList.add(this._typeClass()), this.msgElement.classList.add(this._typeClass());
|
|
14395
14395
|
let n;
|
|
14396
|
-
n = typeof e == "function" ? e() : e, n instanceof HTMLElement ? this.msgElement.appendChild(n) : this.msgElement.innerHTML =
|
|
14396
|
+
n = typeof e == "function" ? e() : e, n instanceof HTMLElement ? this.msgElement.appendChild(n) : this.msgElement.innerHTML = j(String(n)), this.table.element.appendChild(this.element), t === "loading" && this.observeLoadingWidth();
|
|
14397
14397
|
}
|
|
14398
14398
|
}
|
|
14399
14399
|
observeLoadingWidth() {
|
|
@@ -14499,7 +14499,7 @@ var Zc = process.env.NODE_ENV === "development", Qc = 2e3, $c = 1e3, el = "data-
|
|
|
14499
14499
|
}
|
|
14500
14500
|
alertLoader() {
|
|
14501
14501
|
if ((this.pendingPromise || this.loading || this.externalLoading) && this.table.alertManager?.element.parentNode) return;
|
|
14502
|
-
let e = typeof this.table.options.dataLoader == "function" ? this.table.options.dataLoader() : this.table.options.dataLoader, t = r`<cx-spinner aria-hidden="true"></cx-spinner>`, n =
|
|
14502
|
+
let e = typeof this.table.options.dataLoader == "function" ? this.table.options.dataLoader() : this.table.options.dataLoader, t = r`<cx-spinner aria-hidden="true"></cx-spinner>`, n = M(t);
|
|
14503
14503
|
e && this.table.alertManager?.alert(this.table.options.dataLoaderLoading || n, "loading");
|
|
14504
14504
|
}
|
|
14505
14505
|
alertError() {
|
|
@@ -15847,7 +15847,7 @@ var ru = class {
|
|
|
15847
15847
|
};
|
|
15848
15848
|
function Nu(e, t) {
|
|
15849
15849
|
let n = t === I.Desc ? "arrow_downward" : "arrow_upward";
|
|
15850
|
-
return
|
|
15850
|
+
return M(r`<cx-icon name=${n} aria-hidden="true"></cx-icon>`);
|
|
15851
15851
|
}
|
|
15852
15852
|
//#endregion
|
|
15853
15853
|
//#region ../../packages/hybrid/table-core/src/table/table-data-loader.ts
|
|
@@ -16215,7 +16215,7 @@ var sd, Z = class extends d {
|
|
|
16215
16215
|
Fe
|
|
16216
16216
|
];
|
|
16217
16217
|
static #n = this.dependencies = {
|
|
16218
|
-
"cx-button":
|
|
16218
|
+
"cx-button": A,
|
|
16219
16219
|
"cx-checkbox": fe,
|
|
16220
16220
|
"cx-divider": Le,
|
|
16221
16221
|
"cx-faceted-filter": Nt,
|
|
@@ -17974,7 +17974,7 @@ l([f(".color-swatch-group__swatches"), u("design:type", typeof HTMLDivElement >
|
|
|
17974
17974
|
reflect: !0,
|
|
17975
17975
|
type: Boolean
|
|
17976
17976
|
}), u("design:type", Object)], $.prototype, "gradientEffect", void 0), l([c(), u("design:type", Array)], $.prototype, "breakpoints", void 0), l([c(), u("design:type", Ke === void 0 ? Object : Ke)], $.prototype, "deviceType", void 0), l([c(), u("design:type", Object)], $.prototype, "currentCol", void 0), l([c(), u("design:type", Object)], $.prototype, "visibleElements", void 0), l([c(), u("design:type", typeof Record > "u" ? Object : Record)], $.prototype, "hugWidths", void 0), l([c(), u("design:type", Object)], $.prototype, "isFocused", void 0), l([c(), u("design:type", Object)], $.prototype, "canFocusContainer", void 0), l([c(), u("design:type", Object)], $.prototype, "isContainerFocused", void 0), l([
|
|
17977
|
-
|
|
17977
|
+
ne(100),
|
|
17978
17978
|
u("design:type", Function),
|
|
17979
17979
|
u("design:paramtypes", []),
|
|
17980
17980
|
u("design:returntype", void 0)
|