@orangelogic/design-system 2.60.0 → 2.61.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/apps/cortex/src/types.d.ts +2 -0
- package/library/chunks/_baseRest.ClTMQtN1.js +67 -0
- package/library/chunks/{_baseUniq.BUihBa8c.js → _baseUniq.Df-fLIBx.js} +53 -56
- package/library/chunks/{amazon_s3.DeaMdPPn.js → amazon_s3.BEMtqafk.js} +1 -1
- package/library/chunks/animate.El-MpOws.js +37 -0
- package/library/chunks/animation-registry.HmpwNuGH.js +34 -0
- package/library/chunks/{animation.B7d72NVK.js → animation.DfUHRQry.js} +10 -8
- package/library/chunks/array.DCtvHiLS.js +81 -0
- package/library/chunks/asset.CG_yXtWK.js +288 -0
- package/library/chunks/{browser.Va59Ix3P.js → browser.BHOCIF_A.js} +18 -16
- package/library/chunks/{button.CtCSNRB3.js → button.P71VJ5xh.js} +75 -74
- package/library/chunks/{button.styles.C8AIO8fd.js → button.styles.Dl5IQLHU.js} +1 -1
- package/library/chunks/{capitalize.CNStXZBq.js → capitalize.WSkCXkNE.js} +1 -1
- package/library/chunks/{chatbot.sm4Rph1v.js → chatbot.BmpIu59L.js} +2 -2
- package/library/chunks/{class-map.CoZTSvbM.js → class-map.BiVq-cVR.js} +1 -1
- package/library/chunks/{color-swatch-group.qJevXs50.js → color-swatch-group.DlLmydlB.js} +116 -127
- package/library/chunks/color-swatch.Bpb_hW2H.js +407 -0
- package/library/chunks/color.vLD2sNTs.js +164 -0
- package/library/chunks/{component.styles.CI-v8BZa.js → component.styles.DMSLciL5.js} +1 -1
- package/library/chunks/{confirm-popover.D2TF1x6K.js → confirm-popover.C1uA36JR.js} +15 -13
- package/library/chunks/{content-builder.WranV3P4.js → content-builder.Bf7kqzDI.js} +1 -1
- package/library/chunks/converters.DkDtLstb.js +11 -0
- package/library/chunks/{cropper.aA0v16xS.js → cropper.BraEEykE.js} +5004 -5024
- package/library/chunks/custom-element.L4WJXn1j.js +14 -0
- package/library/chunks/debounce.DaHuiSGU.js +15 -0
- package/library/chunks/{default-value.CIKAvD5l.js → default-value.COZopaet.js} +1 -1
- package/library/chunks/{dialog.B1TORO6S.js → dialog.C_75RVVz.js} +52 -49
- package/library/chunks/{directive-helpers.DBHob-_L.js → directive-helpers.Dm4rc594.js} +1 -1
- package/library/chunks/dom.CZrJ64Dm.js +92 -0
- package/library/chunks/{dot-pagination.8f2oX_ge.js → dot-pagination.CoCIJsHC.js} +24 -22
- package/library/chunks/{endpoints.BgyupJys.js → endpoints.B7lcoc1N.js} +1 -3
- package/library/chunks/{file-on-demand.Cwgabdyw.js → file-on-demand.B2jNilAj.js} +1829 -1544
- package/library/chunks/{folder-select.DiWCwR-T.js → folder-select.CSEQxIXF.js} +380 -255
- package/library/chunks/{form-control.styles.NE2Q-quE.js → form-control.styles.CUGhvlfT.js} +1 -1
- package/library/chunks/{form.B8u0ywni.js → form.CO12-VK0.js} +1 -1
- package/library/chunks/{guard.BDP4A85K.js → guard.D4axKaMo.js} +1 -1
- package/library/chunks/{header.B_FD8uLt.js → header.Bd3G0-oA.js} +11 -9
- package/library/chunks/{hub-connection.CxfaT11o.js → hub-connection.BxT2b7Nq.js} +4 -3
- package/library/chunks/{i18n.BP2FRO1v.js → i18n.DrzK7TPf.js} +54 -7
- package/library/chunks/identity.ByMq8VxU.js +6 -0
- package/library/chunks/{if-defined.MfEgpxEN.js → if-defined.BRoBj_Rp.js} +1 -1
- package/library/chunks/{iframe.DZm7FiCl.js → iframe.UCj6Ze2A.js} +18 -16
- package/library/chunks/{image.Ycf8RudS.js → image.DZCRhE3G.js} +82 -79
- package/library/chunks/image.mbpyiQpQ.js +82 -0
- package/library/chunks/index.S0wy3rzm.js +373 -0
- package/library/chunks/isObjectLike.D3cpZO39.js +81 -0
- package/library/chunks/{isSymbol.L0C2ND_U.js → isSymbol.huJ_Cvxt.js} +1 -1
- package/library/chunks/lib-cortex-element.CVMmyPMC.js +146 -0
- package/library/chunks/{list-editor.COkw5JKG.js → list-editor.CrLntuM7.js} +75 -79
- package/library/chunks/{custom-element.vnXBMQxc.js → lit-element.jLBm65_O.js} +123 -277
- package/library/chunks/{live.LdB9xEhp.js → live.SCz6M8Gs.js} +2 -2
- package/library/chunks/{mailchimp.BjbPJfd-.js → mailchimp.Bs6uJVsf.js} +1 -1
- package/library/chunks/{modal.BqNLxgs1.js → modal.U1QltQKe.js} +25 -19
- package/library/chunks/{option.D9KJhzHs.js → option.D1u5-cTt.js} +21 -19
- package/library/chunks/{orangelogic.BgbQXkBv.js → orangelogic.TdFfoPUN.js} +1 -1
- package/library/chunks/{overlayscrollbars.aFuRG5Rs.js → overlayscrollbars.XhGWx9Zk.js} +1 -1
- package/library/chunks/{pagination.C2FN4fmO.js → pagination.BI3LONVU.js} +17 -15
- package/library/chunks/{ref.BaCjlzLO.js → ref.bzeTdX0K.js} +2 -2
- package/library/chunks/{repeat.CauKaXyy.js → repeat.DbF2p5ae.js} +2 -2
- package/library/chunks/responsive.CA6dcNiM.js +17 -0
- package/library/chunks/{scroll.DwPiX2Ox.js → scroll.xtO5yojm.js} +3 -2
- package/library/chunks/{slot.DJLm4Dig.js → slot.j5oheLJC.js} +12 -4
- package/library/chunks/{state.Cw55xXlb.js → state.CSDxrqLd.js} +1 -1
- package/library/chunks/{static.BjNkqt7_.js → static.UA3G1Deq.js} +1 -1
- package/library/chunks/string.Cp_XNbnV.js +160 -0
- package/library/chunks/{style-map.CZovMmo_.js → style-map.llVFPd__.js} +1 -1
- package/library/chunks/{tab-group.5fLnWflv.js → tab-group.DxSlcWK0.js} +20 -18
- package/library/chunks/{table.BAr8KKc6.js → table.CY-iMTWV.js} +457 -505
- package/library/chunks/template.CsJd8Pb_.js +20 -0
- package/library/chunks/time.D_uFZqqe.js +118 -0
- package/library/chunks/{toString.CL_lYXbK.js → toString.CRT5zqEU.js} +3 -3
- package/library/chunks/toast.BXNbwZV8.js +25 -0
- package/library/chunks/{tree.CUfvIDyA.js → tree.CNbrP8cY.js} +33 -36
- package/library/chunks/{typography.BFpl0WMA.js → typography.oDzoLbZS.js} +16 -14
- package/library/chunks/{unsafe-html.DyO9_Rsq.js → unsafe-html.Dff7-rCx.js} +1 -1
- package/library/chunks/url.LjsR2sB5.js +15 -0
- package/library/chunks/user-agent.D9aPuOyL.js +4 -0
- package/library/chunks/watch.q1sEjPWL.js +501 -0
- package/library/components/alert.js +38 -35
- package/library/components/animated-image.js +25 -23
- package/library/components/animation.js +7 -5
- package/library/components/array-line-clamp.d.ts +3 -0
- package/library/components/array-line-clamp.js +195 -0
- package/library/components/asset-link-format.js +223 -212
- package/library/components/atoms.js +164 -162
- package/library/components/avatar.js +28 -26
- package/library/components/badge.js +10 -8
- package/library/components/bicolor-picker.js +21 -19
- package/library/components/border-input-group.js +11 -9
- package/library/components/breadcrumb-item.js +14 -12
- package/library/components/breadcrumb.js +24 -22
- package/library/components/button-group.js +26 -24
- package/library/components/button.js +14 -13
- package/library/components/card.js +28 -19
- package/library/components/checkbox.js +29 -23
- package/library/components/color-picker.js +19 -17
- package/library/components/color-swatch-group.js +20 -17
- package/library/components/color-swatch.js +16 -13
- package/library/components/confirm-popover.js +11 -9
- package/library/components/copy-button.js +15 -13
- package/library/components/corner-position-input-group.js +13 -11
- package/library/components/cortex-element.d.ts +3 -0
- package/library/components/cortex-element.js +5 -0
- package/library/components/cropper.js +7 -5
- package/library/components/details.js +23 -20
- package/library/components/dialog.js +19 -16
- package/library/components/divider.js +13 -11
- package/library/components/dot-pagination.js +11 -9
- package/library/components/dot-status.js +10 -8
- package/library/components/drawer.js +63 -51
- package/library/components/dropdown.js +29 -26
- package/library/components/dynamic-select.js +12 -10
- package/library/components/element-clamp.js +28 -25
- package/library/components/file-on-demand.js +21 -20
- package/library/components/folder-select.js +12 -10
- package/library/components/format-bytes.js +11 -10
- package/library/components/format-date.js +11 -9
- package/library/components/format-number.js +16 -15
- package/library/components/format-time.js +118 -9
- package/library/components/grid-item.js +48 -46
- package/library/components/grid.js +31 -29
- package/library/components/header.js +10 -9
- package/library/components/hub-connection.js +6 -5
- package/library/components/icon-button.js +20 -18
- package/library/components/icon.js +17 -15
- package/library/components/iframe.js +10 -8
- package/library/components/image-comparer.js +27 -25
- package/library/components/image.js +14 -11
- package/library/components/include.js +26 -24
- package/library/components/input-group.js +15 -13
- package/library/components/input.js +23 -21
- package/library/components/line-clamp.js +12 -10
- package/library/components/list-editor.js +17 -15
- package/library/components/markdown.js +80 -78
- package/library/components/masonry.js +46 -44
- package/library/components/menu-item.js +151 -136
- package/library/components/menu-label.js +15 -13
- package/library/components/menu-section.js +18 -16
- package/library/components/menu.js +10 -8
- package/library/components/molecules.js +5 -5
- package/library/components/mutation-observer.js +12 -10
- package/library/components/option.js +10 -8
- package/library/components/organisms.js +2 -2
- package/library/components/padding-input-group.js +30 -28
- package/library/components/pagination.js +14 -12
- package/library/components/popup.js +3296 -9
- package/library/components/position-picker.js +12 -10
- package/library/components/progress-bar.js +13 -11
- package/library/components/progress-ring.js +15 -13
- package/library/components/qr-code.js +54 -52
- package/library/components/radio-button.js +19 -17
- package/library/components/radio-card.js +14 -12
- package/library/components/radio-group.js +20 -18
- package/library/components/radio.js +15 -13
- package/library/components/range.js +25 -23
- package/library/components/rating.js +17 -15
- package/library/components/relative-time.js +16 -14
- package/library/components/resize-observer.js +21 -19
- package/library/components/select.js +1442 -25
- package/library/components/shadow-input-group.js +19 -17
- package/library/components/share-option-list.js +20 -18
- package/library/components/sidebar.js +14 -12
- package/library/components/size-input-group.js +35 -33
- package/library/components/skeleton.js +12 -10
- package/library/components/space.js +12 -10
- package/library/components/spinner.js +17 -15
- package/library/components/split-panel.js +15 -13
- package/library/components/step.js +18 -16
- package/library/components/stepper-wizard.js +11 -9
- package/library/components/stepper.js +13 -11
- package/library/components/switch.js +21 -19
- package/library/components/tab-group.js +15 -13
- package/library/components/tab-panel.js +20 -18
- package/library/components/tab.js +18 -16
- package/library/components/table.js +69 -67
- package/library/components/tag.js +11 -9
- package/library/components/textarea.js +20 -18
- package/library/components/timecode.js +98 -8
- package/library/components/tooltip.js +24 -21
- package/library/components/tree-item.js +14 -11
- package/library/components/tree.js +12 -10
- package/library/components/typeface.js +13 -11
- package/library/components/types.js +15487 -15444
- package/library/components/typography.js +6 -4
- package/library/components/video.js +13 -11
- package/library/components/visually-hidden.js +15 -13
- package/library/events.d.ts +1 -0
- package/library/events.js +1 -0
- package/library/package.json +11 -2
- package/library/packages/atoms/src/components/array-line-clamp/array-line-clamp.d.ts +45 -0
- package/library/packages/atoms/src/components/array-line-clamp/array-line-clamp.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/checkbox/checkbox.d.ts +2 -0
- package/library/packages/atoms/src/components/drawer/drawer.d.ts +7 -1
- package/library/packages/atoms/src/components/include/include.d.ts +1 -0
- package/library/packages/atoms/src/components/menu-item/menu-item.d.ts +2 -0
- package/library/packages/atoms/src/components/tree/tree.d.ts +0 -4
- package/library/packages/atoms/src/index.d.ts +1 -0
- package/library/packages/events/src/cx-file-on-demand-load-more.d.ts +8 -0
- package/library/packages/events/src/cx-file-on-demand-pin.d.ts +8 -0
- package/library/packages/events/src/cx-file-on-demand-unpin.d.ts +8 -0
- package/library/packages/events/src/cx-folder-select-search-term-change.d.ts +8 -0
- package/library/packages/events/src/cx-share-option-list-item-selected.d.ts +8 -0
- package/library/packages/events/src/events.d.ts +6 -2
- package/library/packages/molecules/src/asset-picker/asset-picker.d.ts +2 -0
- package/library/packages/molecules/src/cropper/cropper.d.ts +1 -0
- package/library/packages/molecules/src/cropper/react/Cropper.d.ts +1 -0
- package/library/packages/molecules/src/download-format-picker/download-format-picker.d.ts +1 -0
- package/library/packages/molecules/src/folder-select/components/folder-select-tree/folder-select-tree.d.ts +8 -0
- package/library/packages/molecules/src/folder-select/components/folder-select-tree-item/folder-select-tree-item.d.ts +1 -0
- package/library/packages/molecules/src/folder-select/folder-select.d.ts +6 -1
- package/library/packages/organisms/src/asset-link-format/asset-link-format.d.ts +3 -7
- package/library/packages/organisms/src/content-builder/styleController.d.ts +8 -8
- package/library/packages/organisms/src/file-on-demand/components/file-on-demand-asset/file-on-demand-asset.d.ts +80 -0
- package/library/packages/organisms/src/file-on-demand/components/file-on-demand-asset/file-on-demand-asset.styles.d.ts +2 -0
- package/library/packages/organisms/src/file-on-demand/components/file-on-demand-pinned-status.ts/file-on-demand-pinned-status.d.ts +44 -0
- package/library/packages/organisms/src/file-on-demand/file-on-demand.constants.d.ts +1 -0
- package/library/packages/organisms/src/file-on-demand/file-on-demand.d.ts +11 -18
- package/library/packages/organisms/src/file-on-demand/file-on-demand.utils.d.ts +6 -0
- package/library/packages/services/src/api/folder/folder.d.ts +4 -8
- package/library/packages/services/src/api/folder/folder.types.d.ts +2 -1
- package/library/packages/types/src/file-on-demand.d.ts +4 -0
- package/library/packages/types/src/folder-select.d.ts +9 -2
- package/library/packages/utils/src/custom-element/i18n.d.ts +40 -2
- package/library/packages/utils/src/drag-scroll/drag-scroll.d.ts +22 -0
- package/library/packages/utils/src/drag-scroll/index.d.ts +1 -0
- package/library/packages/utils/src/font/font.d.ts +26 -0
- package/library/packages/utils/src/font/index.d.ts +1 -0
- package/library/packages/utils/src/history-manager/history-manager.d.ts +13 -0
- package/library/packages/utils/src/history-manager/index.d.ts +1 -0
- package/library/packages/utils/src/index.d.ts +45 -0
- package/library/packages/utils/src/template/index.d.ts +1 -0
- package/library/packages/utils/src/template/template.d.ts +3 -0
- package/library/react-web-component.d.ts +418 -360
- package/library/utils.d.ts +1 -0
- package/library/utils.js +180 -0
- package/package.json +11 -2
- package/library/chunks/animation-registry.DavRkTTr.js +0 -69
- package/library/chunks/asset.Ba-CxnNM.js +0 -309
- package/library/chunks/color-swatch.DUe3iLLo.js +0 -558
- package/library/chunks/dom.C0OFx7ND.js +0 -78
- package/library/chunks/format-time.BW6-ZWCX.js +0 -226
- package/library/chunks/isObjectLike.z36Fu426.js +0 -34
- package/library/chunks/popup._w5T7x8f.js +0 -3307
- package/library/chunks/select.DfO4de04.js +0 -1441
- package/library/chunks/string.BCk3SmdZ.js +0 -144
- package/library/chunks/timecode.D7XTiQ_3.js +0 -105
- package/library/chunks/watch.BCJD77bD.js +0 -547
- package/library/packages/events/src/cx-load-more.d.ts +0 -8
|
@@ -1,41 +1,44 @@
|
|
|
1
|
-
import { C as Ae } from "./button.
|
|
1
|
+
import { C as Ae } from "./button.P71VJ5xh.js";
|
|
2
2
|
import Ss from "../components/checkbox.js";
|
|
3
3
|
import gs from "../components/divider.js";
|
|
4
4
|
import Ts from "../components/format-number.js";
|
|
5
|
-
import
|
|
5
|
+
import Ms from "../components/format-time.js";
|
|
6
6
|
import Ke from "../components/icon.js";
|
|
7
7
|
import ms from "../components/icon-button.js";
|
|
8
8
|
import ks from "../components/line-clamp.js";
|
|
9
|
-
import
|
|
9
|
+
import Ds from "../components/select.js";
|
|
10
10
|
import pi from "../components/space.js";
|
|
11
11
|
import Ls from "../components/spinner.js";
|
|
12
12
|
import zs from "../components/tag.js";
|
|
13
|
-
import { C as bs, T as Fs } from "./typography.
|
|
14
|
-
import {
|
|
15
|
-
import { c as Je } from "./component.styles.
|
|
16
|
-
import { o as
|
|
17
|
-
import { C as
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
13
|
+
import { C as bs, T as Fs } from "./typography.oDzoLbZS.js";
|
|
14
|
+
import { n as g, C as _e } from "./lib-cortex-element.CVMmyPMC.js";
|
|
15
|
+
import { c as Je } from "./component.styles.DMSLciL5.js";
|
|
16
|
+
import { o as Os, O as Ii } from "./overlayscrollbars.XhGWx9Zk.js";
|
|
17
|
+
import { C as Hs, P as Ps } from "./pagination.BI3LONVU.js";
|
|
18
|
+
import { c as Ne } from "./custom-element.L4WJXn1j.js";
|
|
19
|
+
import { L as nt } from "./i18n.DrzK7TPf.js";
|
|
20
|
+
import { w as W } from "./watch.q1sEjPWL.js";
|
|
21
|
+
import { i as fi, x, E as As } from "./lit-element.jLBm65_O.js";
|
|
22
|
+
import { r as re } from "./state.CSDxrqLd.js";
|
|
21
23
|
import { e as Ve } from "./query.BBf1UFkC.js";
|
|
22
|
-
import { e as _s } from "./class-map.
|
|
24
|
+
import { e as _s } from "./class-map.BiVq-cVR.js";
|
|
23
25
|
import { n as $ } from "./when.Dr1es41R.js";
|
|
24
26
|
import gi from "../components/tooltip.js";
|
|
25
27
|
import { r as Ns } from "./choose.BTbF6BAn.js";
|
|
26
|
-
import { o as me } from "./if-defined.
|
|
27
|
-
import { c as Pe } from "./repeat.
|
|
28
|
-
import { o as Me } from "./style-map.
|
|
28
|
+
import { o as me } from "./if-defined.BRoBj_Rp.js";
|
|
29
|
+
import { c as Pe } from "./repeat.DbF2p5ae.js";
|
|
30
|
+
import { o as Me } from "./style-map.llVFPd__.js";
|
|
29
31
|
import lt from "../components/dropdown.js";
|
|
30
32
|
import at from "../components/menu.js";
|
|
31
33
|
import ht from "../components/menu-item.js";
|
|
32
34
|
import Vs from "../components/menu-section.js";
|
|
33
|
-
import Bs from "
|
|
34
|
-
import
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
35
|
+
import { g as Bs } from "./array.DCtvHiLS.js";
|
|
36
|
+
import Is from "../components/input.js";
|
|
37
|
+
import { g as L, a as Ws } from "./dom.CZrJ64Dm.js";
|
|
38
|
+
import { s as S, a as ct } from "./string.Cp_XNbnV.js";
|
|
39
|
+
import { C as Gs } from "./option.D1u5-cTt.js";
|
|
37
40
|
var le = /* @__PURE__ */ ((l) => (l.Bottom = "bottom", l.Center = "center", l.Nearest = "nearest", l.Top = "top", l))(le || {}), J = /* @__PURE__ */ ((l) => (l.All = "all", l.Cell = "cell", l.Column = "column", l.Row = "row", l))(J || {}), Ee = /* @__PURE__ */ ((l) => (l.Left = "left", l.Right = "right", l))(Ee || {}), he = /* @__PURE__ */ ((l) => (l.Local = "local", l.Remote = "remote", l))(he || {}), I = /* @__PURE__ */ ((l) => (l.Asc = "asc", l.Desc = "desc", l.None = "none", l))(I || {}), Te = /* @__PURE__ */ ((l) => (l.Ends = "ends", l.Equal = "=", l.GreaterOrEqual = ">=", l.GreaterThan = ">", l.In = "in", l.Keywords = "keywords", l.LessOrEqual = "<=", l.LessThan = "<", l.Like = "like", l.NotEqual = "!=", l.Regex = "regex", l.Starts = "starts", l))(Te || {});
|
|
38
|
-
const
|
|
41
|
+
const js = fi`
|
|
39
42
|
.table-row-actions__button::part(label),
|
|
40
43
|
.table-row-actions__dropdown__trigger::part(label) {
|
|
41
44
|
padding: 0 var(--cx-spacing-x-small);
|
|
@@ -45,55 +48,10 @@ const Gs = fi`
|
|
|
45
48
|
display: none;
|
|
46
49
|
}
|
|
47
50
|
`;
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
}
|
|
51
|
-
function $s(l, e, t) {
|
|
52
|
-
return [...l.slice(0, e), ...t, ...l.slice(e)];
|
|
53
|
-
}
|
|
54
|
-
function Da(l, e, t) {
|
|
55
|
-
return l.findIndex((i) => i[e] === t);
|
|
56
|
-
}
|
|
57
|
-
function La(l, e, t) {
|
|
58
|
-
const i = [...l], s = js(i, e), o = t !== 0 ? e.reduce(
|
|
59
|
-
(n, a) => t > a ? n - 1 : n,
|
|
60
|
-
t
|
|
61
|
-
) : t;
|
|
62
|
-
return $s(
|
|
63
|
-
s,
|
|
64
|
-
o,
|
|
65
|
-
e.map((n) => l[n])
|
|
66
|
-
);
|
|
67
|
-
}
|
|
68
|
-
function Us(l, e) {
|
|
69
|
-
return l.reduce(
|
|
70
|
-
(t, i) => {
|
|
71
|
-
const s = i[e];
|
|
72
|
-
return t[s] ??= [], t[s].push(i), t;
|
|
73
|
-
},
|
|
74
|
-
{}
|
|
75
|
-
);
|
|
76
|
-
}
|
|
77
|
-
function za(l, e, t) {
|
|
78
|
-
if (!l.length)
|
|
79
|
-
return [e];
|
|
80
|
-
const i = t.findIndex(
|
|
81
|
-
(u) => u.id === e
|
|
82
|
-
), s = l[l.length - 1], o = t.findIndex(
|
|
83
|
-
(u) => u.id === s
|
|
84
|
-
);
|
|
85
|
-
if (i < 0 || o < 0)
|
|
86
|
-
return [e];
|
|
87
|
-
const r = t.reduce(
|
|
88
|
-
(u, f, m) => (u[f.id] = m, u),
|
|
89
|
-
{}
|
|
90
|
-
), n = i > o, a = n ? o : i, h = n ? i : o, c = t.slice(a, h + 1).filter((u) => !(!u || l.includes(u.id))).map((u) => u.id), d = n ? c : [...c].reverse(), p = l.includes(e) ? l.slice(0, l.indexOf(e) + 1) : [...l, ...d];
|
|
91
|
-
return p.sort((u, f) => r[u] - r[f]), p;
|
|
92
|
-
}
|
|
93
|
-
var Xs = Object.defineProperty, Ks = Object.getOwnPropertyDescriptor, De = (l, e, t, i) => {
|
|
94
|
-
for (var s = i > 1 ? void 0 : i ? Ks(e, t) : e, o = l.length - 1, r; o >= 0; o--)
|
|
51
|
+
var $s = Object.defineProperty, Us = Object.getOwnPropertyDescriptor, De = (l, e, t, i) => {
|
|
52
|
+
for (var s = i > 1 ? void 0 : i ? Us(e, t) : e, o = l.length - 1, r; o >= 0; o--)
|
|
95
53
|
(r = l[o]) && (s = (i ? r(e, t, s) : r(s)) || s);
|
|
96
|
-
return i && s &&
|
|
54
|
+
return i && s && $s(e, t, s), s;
|
|
97
55
|
};
|
|
98
56
|
let oe = class extends _e {
|
|
99
57
|
constructor() {
|
|
@@ -103,7 +61,7 @@ let oe = class extends _e {
|
|
|
103
61
|
return this;
|
|
104
62
|
}
|
|
105
63
|
handleActionChange() {
|
|
106
|
-
this.groupedDropdownItems =
|
|
64
|
+
this.groupedDropdownItems = Bs(
|
|
107
65
|
this.action?.options?.dropdownItems ?? [],
|
|
108
66
|
"section"
|
|
109
67
|
), this.sections = Object.keys(this.groupedDropdownItems);
|
|
@@ -145,7 +103,7 @@ let oe = class extends _e {
|
|
|
145
103
|
}
|
|
146
104
|
render() {
|
|
147
105
|
if (!this.action)
|
|
148
|
-
return
|
|
106
|
+
return As;
|
|
149
107
|
const l = this.action?.icon ?? "more_horiz";
|
|
150
108
|
return x`<cx-dropdown hoist>
|
|
151
109
|
<cx-tooltip
|
|
@@ -212,10 +170,10 @@ De([
|
|
|
212
170
|
oe = De([
|
|
213
171
|
Ne("cx-table-row-actions-dropdown")
|
|
214
172
|
], oe);
|
|
215
|
-
var
|
|
216
|
-
for (var s = i > 1 ? void 0 : i ?
|
|
173
|
+
var Xs = Object.defineProperty, Ks = Object.getOwnPropertyDescriptor, dt = (l, e, t, i) => {
|
|
174
|
+
for (var s = i > 1 ? void 0 : i ? Ks(e, t) : e, o = l.length - 1, r; o >= 0; o--)
|
|
217
175
|
(r = l[o]) && (s = (i ? r(e, t, s) : r(s)) || s);
|
|
218
|
-
return i && s &&
|
|
176
|
+
return i && s && Xs(e, t, s), s;
|
|
219
177
|
};
|
|
220
178
|
let we = class extends _e {
|
|
221
179
|
constructor() {
|
|
@@ -279,7 +237,7 @@ let we = class extends _e {
|
|
|
279
237
|
</cx-space>`;
|
|
280
238
|
}
|
|
281
239
|
};
|
|
282
|
-
we.styles = [Je,
|
|
240
|
+
we.styles = [Je, js];
|
|
283
241
|
we.dependencies = {
|
|
284
242
|
"cx-button": Ae,
|
|
285
243
|
"cx-icon": Ke,
|
|
@@ -303,10 +261,10 @@ dt([
|
|
|
303
261
|
we = dt([
|
|
304
262
|
Ne("cx-table-row-actions")
|
|
305
263
|
], we);
|
|
306
|
-
var
|
|
307
|
-
for (var s = i > 1 ? void 0 : i ?
|
|
264
|
+
var Js = Object.defineProperty, qs = Object.getOwnPropertyDescriptor, qe = (l, e, t, i) => {
|
|
265
|
+
for (var s = i > 1 ? void 0 : i ? qs(e, t) : e, o = l.length - 1, r; o >= 0; o--)
|
|
308
266
|
(r = l[o]) && (s = (i ? r(e, t, s) : r(s)) || s);
|
|
309
|
-
return i && s &&
|
|
267
|
+
return i && s && Js(e, t, s), s;
|
|
310
268
|
};
|
|
311
269
|
let ce = class extends _e {
|
|
312
270
|
constructor() {
|
|
@@ -404,10 +362,10 @@ qe([
|
|
|
404
362
|
ce = qe([
|
|
405
363
|
Ne("cx-table-dropdown-filter")
|
|
406
364
|
], ce);
|
|
407
|
-
var
|
|
408
|
-
for (var s = i > 1 ? void 0 : i ?
|
|
365
|
+
var Ys = Object.defineProperty, Qs = Object.getOwnPropertyDescriptor, ne = (l, e, t, i) => {
|
|
366
|
+
for (var s = i > 1 ? void 0 : i ? Qs(e, t) : e, o = l.length - 1, r; o >= 0; o--)
|
|
409
367
|
(r = l[o]) && (s = (i ? r(e, t, s) : r(s)) || s);
|
|
410
|
-
return i && s &&
|
|
368
|
+
return i && s && Ys(e, t, s), s;
|
|
411
369
|
};
|
|
412
370
|
let X = class extends _e {
|
|
413
371
|
constructor() {
|
|
@@ -527,7 +485,7 @@ ne([
|
|
|
527
485
|
X = ne([
|
|
528
486
|
Ne("cx-table-saved-search-dropdown")
|
|
529
487
|
], X);
|
|
530
|
-
const
|
|
488
|
+
const Zs = fi`
|
|
531
489
|
.header-actions {
|
|
532
490
|
padding-top: var(--cx-spacing-medium);
|
|
533
491
|
}
|
|
@@ -566,10 +524,10 @@ const to = fi`
|
|
|
566
524
|
padding: 0 var(--cx-spacing-x-small);
|
|
567
525
|
}
|
|
568
526
|
`;
|
|
569
|
-
var
|
|
570
|
-
for (var s = i > 1 ? void 0 : i ?
|
|
527
|
+
var eo = Object.defineProperty, to = Object.getOwnPropertyDescriptor, P = (l, e, t, i) => {
|
|
528
|
+
for (var s = i > 1 ? void 0 : i ? to(e, t) : e, o = l.length - 1, r; o >= 0; o--)
|
|
571
529
|
(r = l[o]) && (s = (i ? r(e, t, s) : r(s)) || s);
|
|
572
|
-
return i && s &&
|
|
530
|
+
return i && s && eo(e, t, s), s;
|
|
573
531
|
};
|
|
574
532
|
let O = class extends _e {
|
|
575
533
|
constructor() {
|
|
@@ -737,16 +695,16 @@ let O = class extends _e {
|
|
|
737
695
|
</div>`;
|
|
738
696
|
}
|
|
739
697
|
};
|
|
740
|
-
O.styles = [Je,
|
|
698
|
+
O.styles = [Je, Zs];
|
|
741
699
|
O.dependencies = {
|
|
742
700
|
"cx-button": Ae,
|
|
743
701
|
"cx-dropdown": lt,
|
|
744
702
|
"cx-icon": Ke,
|
|
745
703
|
"cx-icon-button": ms,
|
|
746
|
-
"cx-input":
|
|
704
|
+
"cx-input": Is,
|
|
747
705
|
"cx-menu": at,
|
|
748
706
|
"cx-menu-item": ht,
|
|
749
|
-
"cx-pagination":
|
|
707
|
+
"cx-pagination": Hs,
|
|
750
708
|
"cx-space": pi,
|
|
751
709
|
"cx-table-dropdown-filter": ce,
|
|
752
710
|
"cx-table-saved-search-dropdown": X,
|
|
@@ -843,7 +801,7 @@ P([
|
|
|
843
801
|
O = P([
|
|
844
802
|
Ne("cx-table-toolbar")
|
|
845
803
|
], O);
|
|
846
|
-
class
|
|
804
|
+
class io {
|
|
847
805
|
constructor(e) {
|
|
848
806
|
this.filters = /* @__PURE__ */ new Map(), this.isConnected = !1, this.host = e, this.host.addController(this);
|
|
849
807
|
}
|
|
@@ -1119,7 +1077,7 @@ class k {
|
|
|
1119
1077
|
}
|
|
1120
1078
|
}
|
|
1121
1079
|
const Wi = process.env.NODE_ENV === "development";
|
|
1122
|
-
let
|
|
1080
|
+
let so = class ws extends N {
|
|
1123
1081
|
constructor(e, t, i = null) {
|
|
1124
1082
|
super(e), this.reversedX = !1, this.childPopup = null, this.blurable = !1, this.blurCallback = null, this.blurEventsBound = !1, this.renderedCallback = null, this.visible = !1, this.hideable = !0, this.destroyed = !1, this.element = t, this.container = this._lookupContainer(), this.parent = i, this.element.classList.add("tabulator-popup-container"), this.blurEvent = this.hide.bind(this, !1), this.escEvent = this._escapeCheck.bind(this), this.destroyBinding = this.tableDestroyed.bind(this);
|
|
1125
1083
|
}
|
|
@@ -1245,7 +1203,7 @@ let ro = class ws extends N {
|
|
|
1245
1203
|
return this.childPopup && this.childPopup.hide(), this.childPopup = new ws(this.table, e, this), this.childPopup;
|
|
1246
1204
|
}
|
|
1247
1205
|
};
|
|
1248
|
-
const
|
|
1206
|
+
const oo = process.env.NODE_ENV === "development";
|
|
1249
1207
|
class R extends N {
|
|
1250
1208
|
constructor(e) {
|
|
1251
1209
|
super(e);
|
|
@@ -1266,7 +1224,7 @@ class R extends N {
|
|
|
1266
1224
|
*/
|
|
1267
1225
|
registerTableFunction(e, t) {
|
|
1268
1226
|
const i = this.table;
|
|
1269
|
-
i[e] === void 0 || i[e] === null ? i[e] = (...s) => (this.table.initGuard?.(e), t.apply(this, s)) :
|
|
1227
|
+
i[e] === void 0 || i[e] === null ? i[e] = (...s) => (this.table.initGuard?.(e), t.apply(this, s)) : oo && console.warn("Unable to bind table function, name already in use:", e);
|
|
1270
1228
|
}
|
|
1271
1229
|
registerComponentFunction(e, t, i) {
|
|
1272
1230
|
return this.table.componentFunctionBinder.bind(e, t, i);
|
|
@@ -1311,7 +1269,7 @@ class R extends N {
|
|
|
1311
1269
|
* Popups Management
|
|
1312
1270
|
*/
|
|
1313
1271
|
popup(e, t) {
|
|
1314
|
-
return new
|
|
1272
|
+
return new so(this.table, e, t);
|
|
1315
1273
|
}
|
|
1316
1274
|
/**
|
|
1317
1275
|
* Alert Management
|
|
@@ -1323,7 +1281,7 @@ class R extends N {
|
|
|
1323
1281
|
this.table.alertManager?.clear();
|
|
1324
1282
|
}
|
|
1325
1283
|
}
|
|
1326
|
-
const
|
|
1284
|
+
const ro = x`
|
|
1327
1285
|
<cx-table-row-actions></cx-table-row-actions>
|
|
1328
1286
|
`, ze = class ze extends R {
|
|
1329
1287
|
constructor(e) {
|
|
@@ -1370,7 +1328,7 @@ const lo = x`
|
|
|
1370
1328
|
i && i.classList.remove("tabulator-hover-menu--active");
|
|
1371
1329
|
}
|
|
1372
1330
|
createHoverMenuElement() {
|
|
1373
|
-
const e = L(
|
|
1331
|
+
const e = L(ro);
|
|
1374
1332
|
return e.classList.add("tabulator-hover-menu"), e;
|
|
1375
1333
|
}
|
|
1376
1334
|
layoutRow(e) {
|
|
@@ -1410,7 +1368,7 @@ const lo = x`
|
|
|
1410
1368
|
};
|
|
1411
1369
|
ze.moduleName = "hoverMenu", ze.placementDataAttribute = "hoverMenuPlacement";
|
|
1412
1370
|
let vt = ze;
|
|
1413
|
-
const
|
|
1371
|
+
const no = fi`
|
|
1414
1372
|
:host {
|
|
1415
1373
|
display: block;
|
|
1416
1374
|
--width: 100%;
|
|
@@ -3006,7 +2964,7 @@ const ao = fi`
|
|
|
3006
2964
|
border-bottom: var(--border-width) solid var(--cell-bottom-border-color);
|
|
3007
2965
|
padding: var(--cx-spacing-2x-small) var(--cell-horizontal-padding);
|
|
3008
2966
|
}
|
|
3009
|
-
`,
|
|
2967
|
+
`, lo = {
|
|
3010
2968
|
formatter: function() {
|
|
3011
2969
|
const l = document.createElement("div");
|
|
3012
2970
|
l.style.display = "flex", l.style.alignItems = "center", l.style.justifyContent = "center", l.style.width = "100%", l.style.height = "100%", l.style.userSelect = "none", l.dataset.testid = "movable-row-button";
|
|
@@ -3019,7 +2977,7 @@ const ao = fi`
|
|
|
3019
2977
|
rowHandle: !0,
|
|
3020
2978
|
title: "",
|
|
3021
2979
|
width: 40
|
|
3022
|
-
},
|
|
2980
|
+
}, ao = {
|
|
3023
2981
|
fromAttribute: (l) => {
|
|
3024
2982
|
if (typeof l == "string") {
|
|
3025
2983
|
if (!l.trim())
|
|
@@ -3036,7 +2994,7 @@ const ao = fi`
|
|
|
3036
2994
|
return l;
|
|
3037
2995
|
},
|
|
3038
2996
|
toAttribute: (l) => typeof l == "function" ? "" : Array.isArray(l) ? JSON.stringify(l) : typeof l == "number" ? l.toString() : l
|
|
3039
|
-
},
|
|
2997
|
+
}, ho = {
|
|
3040
2998
|
fromAttribute: (l) => {
|
|
3041
2999
|
if (typeof l == "string") {
|
|
3042
3000
|
if (!l.trim())
|
|
@@ -3052,7 +3010,7 @@ const ao = fi`
|
|
|
3052
3010
|
return l;
|
|
3053
3011
|
},
|
|
3054
3012
|
toAttribute: (l) => typeof l == "function" ? "" : Array.isArray(l) ? JSON.stringify(l) : typeof l == "boolean" ? l.toString() : l
|
|
3055
|
-
},
|
|
3013
|
+
}, co = {
|
|
3056
3014
|
fromAttribute: (l) => {
|
|
3057
3015
|
if (typeof l == "string") {
|
|
3058
3016
|
if (l.toLowerCase() === "true")
|
|
@@ -3065,7 +3023,7 @@ const ao = fi`
|
|
|
3065
3023
|
return !0;
|
|
3066
3024
|
},
|
|
3067
3025
|
toAttribute: (l) => typeof l == "boolean" ? l.toString() : l
|
|
3068
|
-
},
|
|
3026
|
+
}, uo = {
|
|
3069
3027
|
fromAttribute: (l) => {
|
|
3070
3028
|
if (typeof l == "string") {
|
|
3071
3029
|
if (!l.trim())
|
|
@@ -3087,12 +3045,12 @@ const ao = fi`
|
|
|
3087
3045
|
};
|
|
3088
3046
|
yi.moduleName = "accessibility";
|
|
3089
3047
|
let yt = yi;
|
|
3090
|
-
const
|
|
3048
|
+
const po = {
|
|
3091
3049
|
rownum: function(l, e, t, i, s, o) {
|
|
3092
3050
|
const r = o?.getPosition();
|
|
3093
3051
|
return typeof r == "number" ? r : 0;
|
|
3094
3052
|
}
|
|
3095
|
-
},
|
|
3053
|
+
}, fo = process.env.NODE_ENV === "development", Fe = class Fe extends R {
|
|
3096
3054
|
// list of accessor types
|
|
3097
3055
|
constructor(e) {
|
|
3098
3056
|
super(e), this.allowedTypes = [
|
|
@@ -3130,7 +3088,7 @@ const go = {
|
|
|
3130
3088
|
let t = !1;
|
|
3131
3089
|
switch (typeof e) {
|
|
3132
3090
|
case "string":
|
|
3133
|
-
Fe.accessors[e] ? t = Fe.accessors[e] :
|
|
3091
|
+
Fe.accessors[e] ? t = Fe.accessors[e] : fo && console.warn(
|
|
3134
3092
|
"Accessor Error - No such accessor found, ignoring: ",
|
|
3135
3093
|
e
|
|
3136
3094
|
);
|
|
@@ -3167,9 +3125,9 @@ const go = {
|
|
|
3167
3125
|
}), o;
|
|
3168
3126
|
}
|
|
3169
3127
|
};
|
|
3170
|
-
Fe.moduleName = "accessor", Fe.accessors =
|
|
3128
|
+
Fe.moduleName = "accessor", Fe.accessors = po;
|
|
3171
3129
|
let Ct = Fe;
|
|
3172
|
-
const
|
|
3130
|
+
const go = {
|
|
3173
3131
|
method: "GET"
|
|
3174
3132
|
};
|
|
3175
3133
|
function Et(l, e = "") {
|
|
@@ -3195,7 +3153,7 @@ function Et(l, e = "") {
|
|
|
3195
3153
|
t.push({ key: e, value: l });
|
|
3196
3154
|
return t;
|
|
3197
3155
|
}
|
|
3198
|
-
const
|
|
3156
|
+
const mo = {
|
|
3199
3157
|
form: {
|
|
3200
3158
|
body: function(l, e, t) {
|
|
3201
3159
|
const i = Et(t), s = new FormData();
|
|
@@ -3240,7 +3198,7 @@ function xt(l, e = "") {
|
|
|
3240
3198
|
t.push({ key: e, value: l });
|
|
3241
3199
|
return t;
|
|
3242
3200
|
}
|
|
3243
|
-
function
|
|
3201
|
+
function bo(l) {
|
|
3244
3202
|
const e = xt(l), t = [];
|
|
3245
3203
|
return e.forEach((i) => {
|
|
3246
3204
|
t.push(
|
|
@@ -3251,7 +3209,7 @@ function vo(l) {
|
|
|
3251
3209
|
const vs = function(l, e, t) {
|
|
3252
3210
|
if (l && t && Object.keys(t).length && (!e.method || e.method.toLowerCase() === "get")) {
|
|
3253
3211
|
e.method = "get";
|
|
3254
|
-
const [i, s] = l.split("#", 2), o =
|
|
3212
|
+
const [i, s] = l.split("#", 2), o = bo(t);
|
|
3255
3213
|
l = i + (i.includes("?") ? "&" : "?") + o + (s ? "#" + s : "");
|
|
3256
3214
|
}
|
|
3257
3215
|
return l;
|
|
@@ -3312,7 +3270,7 @@ const vs = function(l, e, t) {
|
|
|
3312
3270
|
)), s)) : Promise.reject();
|
|
3313
3271
|
}
|
|
3314
3272
|
};
|
|
3315
|
-
Q.moduleName = "ajax", Q.defaultConfig =
|
|
3273
|
+
Q.moduleName = "ajax", Q.defaultConfig = go, Q.defaultURLGenerator = vs, Q.contentTypeFormatters = mo, Q.defaultLoaderPromise = function(e, t, i) {
|
|
3316
3274
|
let s;
|
|
3317
3275
|
return new Promise((o, r) => {
|
|
3318
3276
|
if (!this.urlGenerator) {
|
|
@@ -3347,7 +3305,7 @@ Q.moduleName = "ajax", Q.defaultConfig = bo, Q.defaultURLGenerator = vs, Q.conte
|
|
|
3347
3305
|
});
|
|
3348
3306
|
};
|
|
3349
3307
|
let Rt = Q;
|
|
3350
|
-
const
|
|
3308
|
+
const wo = {
|
|
3351
3309
|
insert: function(l) {
|
|
3352
3310
|
return this.table.addData(l);
|
|
3353
3311
|
},
|
|
@@ -3357,7 +3315,7 @@ const yo = {
|
|
|
3357
3315
|
update: function(l) {
|
|
3358
3316
|
return this.table.updateOrAddData(l);
|
|
3359
3317
|
}
|
|
3360
|
-
},
|
|
3318
|
+
}, vo = {
|
|
3361
3319
|
table: function(l) {
|
|
3362
3320
|
const e = [];
|
|
3363
3321
|
let t = !0;
|
|
@@ -3379,16 +3337,16 @@ const yo = {
|
|
|
3379
3337
|
}), o.push(a);
|
|
3380
3338
|
}), o) : !1;
|
|
3381
3339
|
}
|
|
3382
|
-
},
|
|
3340
|
+
}, yo = {
|
|
3383
3341
|
copyToClipboard: function() {
|
|
3384
3342
|
this.table.modules.edit?.currentCell || this.table.modExists("clipboard", !0) && this.table.modules.clipboard?.copy(void 0, !0);
|
|
3385
3343
|
}
|
|
3386
|
-
},
|
|
3344
|
+
}, Co = {
|
|
3387
3345
|
copyToClipboard: ["ctrl + 67", "meta + 67"]
|
|
3388
|
-
},
|
|
3346
|
+
}, Eo = {
|
|
3389
3347
|
keybindings: {
|
|
3390
|
-
actions:
|
|
3391
|
-
bindings:
|
|
3348
|
+
actions: yo,
|
|
3349
|
+
bindings: Co
|
|
3392
3350
|
}
|
|
3393
3351
|
}, Gi = process.env.NODE_ENV === "development", ue = class ue extends R {
|
|
3394
3352
|
// block copy actions not originating from this command
|
|
@@ -3505,7 +3463,7 @@ const yo = {
|
|
|
3505
3463
|
return i?.getData && (t = i.getData("text/plain")), t;
|
|
3506
3464
|
}
|
|
3507
3465
|
};
|
|
3508
|
-
ue.moduleName = "clipboard", ue.moduleExtensions =
|
|
3466
|
+
ue.moduleName = "clipboard", ue.moduleExtensions = Eo, ue.pasteActions = wo, ue.pasteParsers = vo;
|
|
3509
3467
|
let St = ue;
|
|
3510
3468
|
class mi {
|
|
3511
3469
|
constructor(e) {
|
|
@@ -3571,7 +3529,7 @@ class mi {
|
|
|
3571
3529
|
return this._cell;
|
|
3572
3530
|
}
|
|
3573
3531
|
}
|
|
3574
|
-
const
|
|
3532
|
+
const xo = x`<div class="tabulator-cell"></div>`, Ro = process.env.NODE_ENV === "development";
|
|
3575
3533
|
class Ye extends N {
|
|
3576
3534
|
constructor(e, t) {
|
|
3577
3535
|
super(e.table), this.table = e.table, this.column = e, this.row = t, this.element = null, this.contentElement = null, this.value = null, this.oldValue = null, this.modules = {}, this.height = null, this.width = null, this.minWidth = null, this.component = null, this.loaded = !1, this.hoverMenuElement = null, this.build();
|
|
@@ -3584,7 +3542,7 @@ class Ye extends N {
|
|
|
3584
3542
|
this.generateElement(), this.setWidth(), this._configureCell(), this.setValueActual(this.column.getFieldValue(this.row.data)), this.initialValue = this.value;
|
|
3585
3543
|
}
|
|
3586
3544
|
generateElement() {
|
|
3587
|
-
if (this.element = L(
|
|
3545
|
+
if (this.element = L(xo), this.element.setAttribute(
|
|
3588
3546
|
"role",
|
|
3589
3547
|
this.table.options.cellRole ?? "gridcell"
|
|
3590
3548
|
), this.column.modules.format?.cellClass) {
|
|
@@ -3637,7 +3595,7 @@ class Ye extends N {
|
|
|
3637
3595
|
this.contentElement.firstChild.remove();
|
|
3638
3596
|
this.contentElement.appendChild(e);
|
|
3639
3597
|
} else
|
|
3640
|
-
this.contentElement.innerHTML = "", e != null &&
|
|
3598
|
+
this.contentElement.innerHTML = "", e != null && Ro && console.warn(
|
|
3641
3599
|
"Format Error - Formatter has returned a type of object, the only valid formatter object return is an instance of Node, the formatter returned:",
|
|
3642
3600
|
e
|
|
3643
3601
|
);
|
|
@@ -3730,7 +3688,7 @@ class Ye extends N {
|
|
|
3730
3688
|
return this.component ??= new mi(this), this.component;
|
|
3731
3689
|
}
|
|
3732
3690
|
}
|
|
3733
|
-
const
|
|
3691
|
+
const So = process.env.NODE_ENV === "development";
|
|
3734
3692
|
class Tt {
|
|
3735
3693
|
constructor(e) {
|
|
3736
3694
|
return this._column = e, this.type = "ColumnComponent", new Proxy(this, {
|
|
@@ -3810,7 +3768,7 @@ class Tt {
|
|
|
3810
3768
|
this._column,
|
|
3811
3769
|
i,
|
|
3812
3770
|
t
|
|
3813
|
-
) :
|
|
3771
|
+
) : So && console.warn(`Move Error - No matching column found: ${e}`);
|
|
3814
3772
|
}
|
|
3815
3773
|
getNextColumn() {
|
|
3816
3774
|
const e = this._column.nextColumn();
|
|
@@ -4630,7 +4588,7 @@ class _ extends N {
|
|
|
4630
4588
|
return this.component || (this.component = new bi(this)), this.component;
|
|
4631
4589
|
}
|
|
4632
4590
|
}
|
|
4633
|
-
class
|
|
4591
|
+
class To {
|
|
4634
4592
|
constructor(e) {
|
|
4635
4593
|
return this._row = e, new Proxy(this, {
|
|
4636
4594
|
get: (t, i) => typeof i != "string" || typeof t[i] < "u" ? t[i] : t._row.table.componentFunctionBinder.handle(
|
|
@@ -4663,7 +4621,7 @@ class ko {
|
|
|
4663
4621
|
return this._row;
|
|
4664
4622
|
}
|
|
4665
4623
|
}
|
|
4666
|
-
const
|
|
4624
|
+
const Mo = {
|
|
4667
4625
|
avg: function(l, e, t) {
|
|
4668
4626
|
let i = 0;
|
|
4669
4627
|
const s = typeof t == "object" && "precision" in t ? t.precision : 2;
|
|
@@ -4883,7 +4841,7 @@ const Do = {
|
|
|
4883
4841
|
const i = this.generateRowData(e, t);
|
|
4884
4842
|
this.table.modExists("mutator") && this.table.modules.mutator?.disable();
|
|
4885
4843
|
const s = new _(i, this, "calc");
|
|
4886
|
-
return this.table.modExists("mutator") && this.table.modules.mutator?.enable(), s.getElement().classList.add("tabulator-calcs", "tabulator-calcs-" + e), s.component = null, s.getComponent = () => (s.component || (s.component = new
|
|
4844
|
+
return this.table.modExists("mutator") && this.table.modules.mutator?.enable(), s.getElement().classList.add("tabulator-calcs", "tabulator-calcs-" + e), s.component = null, s.getComponent = () => (s.component || (s.component = new To(s)), s.component), s.generateCells = () => {
|
|
4887
4845
|
const o = [];
|
|
4888
4846
|
this.table.columnManager?.columnsByIndex.forEach((r) => {
|
|
4889
4847
|
if (this.genColumn) {
|
|
@@ -4955,7 +4913,7 @@ const Do = {
|
|
|
4955
4913
|
this.botRow && (this.table.rtl ? this.botElement.style.paddingLeft = e + "px" : this.botElement.style.paddingRight = e + "px");
|
|
4956
4914
|
}
|
|
4957
4915
|
};
|
|
4958
|
-
pe.moduleName = "columnCalcs", pe.calculations =
|
|
4916
|
+
pe.moduleName = "columnCalcs", pe.calculations = Mo;
|
|
4959
4917
|
let Mt = pe;
|
|
4960
4918
|
class Ui extends _ {
|
|
4961
4919
|
constructor(e = {}, t) {
|
|
@@ -5004,17 +4962,17 @@ class Ui extends _ {
|
|
|
5004
4962
|
this.element?.parentNode && this.element.parentNode.removeChild(this.element);
|
|
5005
4963
|
}
|
|
5006
4964
|
}
|
|
5007
|
-
const
|
|
4965
|
+
const ko = x`<span
|
|
5008
4966
|
class="tabulator-data-tree-control"
|
|
5009
4967
|
tabindex="0"
|
|
5010
4968
|
>
|
|
5011
4969
|
<cx-icon-button name="keyboard_arrow_down"></cx-icon-button>
|
|
5012
|
-
</span>`,
|
|
4970
|
+
</span>`, Do = x`<span
|
|
5013
4971
|
class="tabulator-data-tree-control"
|
|
5014
4972
|
tabindex="0"
|
|
5015
4973
|
>
|
|
5016
4974
|
<cx-icon-button name="keyboard_arrow_right"></cx-icon-button>
|
|
5017
|
-
</span>`,
|
|
4975
|
+
</span>`, Lo = x`<span class="tabulator-data-tree-control tabulator-data-tree-control-placeholder" aria-hidden="true"></span>`, zo = x`<div class="tabulator-data-tree-branch"></div>`, Fo = x`<div class="tabulator-data-tree-branch-empty"></div>`, Oo = x`<cx-button outline>Load More</cx-button>`, Ho = x`<div class="tabulator-data-tree-loading">Loading...</div>`, Po = process.env.NODE_ENV === "development", pt = 18, Ci = class Ci extends R {
|
|
5018
4976
|
constructor(e) {
|
|
5019
4977
|
super(e), this.indent = 10, this.field = "", this.collapseEl = null, this.expandEl = null, this.branchEl = null, this.elementField = !1, this.startOpen = function() {
|
|
5020
4978
|
return !1;
|
|
@@ -5052,9 +5010,9 @@ const Lo = x`<span
|
|
|
5052
5010
|
if (this.table.options.dataTree) {
|
|
5053
5011
|
let e = null;
|
|
5054
5012
|
const t = this.table.options;
|
|
5055
|
-
switch (this.field = t.dataTreeChildField || "_children", this.indent = t.dataTreeChildIndent || 9, this.loadingField = t.dataTreeLoadingField || "loading", this.hasMoreField = t.dataTreeHasMoreField || "hasMore", this.options("movableRows") &&
|
|
5013
|
+
switch (this.field = t.dataTreeChildField || "_children", this.indent = t.dataTreeChildIndent || 9, this.loadingField = t.dataTreeLoadingField || "loading", this.hasMoreField = t.dataTreeHasMoreField || "hasMore", this.options("movableRows") && Po && console.warn(
|
|
5056
5014
|
"The movableRows option is not available with dataTree enabled, moving of child rows could result in unpredictable behavior"
|
|
5057
|
-
), t.dataTreeBranchElement ? t.dataTreeBranchElement === !0 ? this.branchEl = L(
|
|
5015
|
+
), t.dataTreeBranchElement ? t.dataTreeBranchElement === !0 ? this.branchEl = L(zo) : typeof t.dataTreeBranchElement == "string" ? (e = document.createElement("div"), e.innerHTML = S(t.dataTreeBranchElement), this.branchEl = e.firstChild) : this.branchEl = t.dataTreeBranchElement : this.branchEl = L(Fo), t.dataTreeCollapseElement ? typeof t.dataTreeCollapseElement == "string" ? (e = document.createElement("div"), e.innerHTML = S(t.dataTreeCollapseElement), this.collapseEl = e.firstChild) : this.collapseEl = t.dataTreeCollapseElement : this.collapseEl = L(ko), t.dataTreeExpandElement ? typeof t.dataTreeExpandElement == "string" ? (e = document.createElement("div"), e.innerHTML = S(t.dataTreeExpandElement), this.expandEl = e.firstChild) : this.expandEl = t.dataTreeExpandElement : this.expandEl = L(Do), typeof t.dataTreeStartExpanded) {
|
|
5058
5016
|
case "boolean":
|
|
5059
5017
|
this.startOpen = function() {
|
|
5060
5018
|
return t.dataTreeStartExpanded;
|
|
@@ -5161,7 +5119,7 @@ const Lo = x`<span
|
|
|
5161
5119
|
n.stopPropagation();
|
|
5162
5120
|
});
|
|
5163
5121
|
} else
|
|
5164
|
-
o = L(
|
|
5122
|
+
o = L(Lo);
|
|
5165
5123
|
const r = this.indent;
|
|
5166
5124
|
this.table.rtl ? (o.style.marginLeft = r + "px", o.style.marginRight = "0px") : (o.style.marginRight = r + "px", o.style.marginLeft = "0px"), e.modules.dataTree.controlEl = o, s && s.parentNode === t ? s.parentNode.replaceChild(o, s) : t.insertBefore(o, t.firstChild);
|
|
5167
5125
|
}
|
|
@@ -5223,7 +5181,7 @@ const Lo = x`<span
|
|
|
5223
5181
|
this.table.rowManager
|
|
5224
5182
|
);
|
|
5225
5183
|
i.create(), i.modules.dataTree.index = e, i.modules.dataTree.parent = t, i.modules.dataTree.children = !1, i.modules.dataTree.open = !0;
|
|
5226
|
-
const s = L(
|
|
5184
|
+
const s = L(Oo);
|
|
5227
5185
|
i.getElement()?.classList.add("tabulator-tree-level-" + e), i.element.appendChild(s);
|
|
5228
5186
|
const o = (e + 1) * (pt + this.indent);
|
|
5229
5187
|
return this.table.rtl ? s.style.marginRight = o + "px" : s.style.marginLeft = o + "px", s.addEventListener("click", () => {
|
|
@@ -5245,7 +5203,7 @@ const Lo = x`<span
|
|
|
5245
5203
|
this.table.rowManager
|
|
5246
5204
|
);
|
|
5247
5205
|
i.create(), i.modules.dataTree.index = e, i.modules.dataTree.parent = t, i.modules.dataTree.children = !1, i.modules.dataTree.open = !0;
|
|
5248
|
-
const s = L(
|
|
5206
|
+
const s = L(Ho);
|
|
5249
5207
|
i.element.appendChild(s), i.getElement()?.classList.add("tabulator-tree-level-" + e);
|
|
5250
5208
|
const o = (e + 1) * (pt + this.indent);
|
|
5251
5209
|
return this.table.rtl ? s.style.marginRight = o + "px" : s.style.marginLeft = o + "px", i;
|
|
@@ -5393,7 +5351,7 @@ const Lo = x`<span
|
|
|
5393
5351
|
};
|
|
5394
5352
|
Ci.moduleName = "dataTree";
|
|
5395
5353
|
let kt = Ci;
|
|
5396
|
-
const Xi = process.env.NODE_ENV === "development",
|
|
5354
|
+
const Xi = process.env.NODE_ENV === "development", Ao = function(l, e = {}, t) {
|
|
5397
5355
|
const i = e.delimiter ? e.delimiter : ",", s = [], o = [];
|
|
5398
5356
|
l.forEach((n) => {
|
|
5399
5357
|
const a = [];
|
|
@@ -5434,11 +5392,11 @@ const Xi = process.env.NODE_ENV === "development", No = function(l, e = {}, t) {
|
|
|
5434
5392
|
let r = s.join(`
|
|
5435
5393
|
`);
|
|
5436
5394
|
e.bom && (r = "\uFEFF" + r), t(r, "text/csv");
|
|
5437
|
-
},
|
|
5395
|
+
}, _o = function(l, e, t) {
|
|
5438
5396
|
const i = this;
|
|
5439
5397
|
let s = "";
|
|
5440
5398
|
i.modExists("export", !0) && (s = i.modules.export?.generateHTMLTable(l) || ""), t(s, "text/html");
|
|
5441
|
-
}, Ki = process.env.NODE_ENV === "development",
|
|
5399
|
+
}, Ki = process.env.NODE_ENV === "development", No = function(l, e, t) {
|
|
5442
5400
|
const i = [];
|
|
5443
5401
|
l.forEach((o) => {
|
|
5444
5402
|
const r = {};
|
|
@@ -5464,7 +5422,7 @@ const Xi = process.env.NODE_ENV === "development", No = function(l, e = {}, t) {
|
|
|
5464
5422
|
});
|
|
5465
5423
|
const s = JSON.stringify(i, null, " ");
|
|
5466
5424
|
t(s, "application/json");
|
|
5467
|
-
}, Ji = process.env.NODE_ENV === "development",
|
|
5425
|
+
}, Ji = process.env.NODE_ENV === "development", Vo = function(l, e, t) {
|
|
5468
5426
|
const i = [];
|
|
5469
5427
|
l.forEach((s) => {
|
|
5470
5428
|
const o = {};
|
|
@@ -5489,7 +5447,7 @@ const Xi = process.env.NODE_ENV === "development", No = function(l, e = {}, t) {
|
|
|
5489
5447
|
}
|
|
5490
5448
|
}), t(i.join(`
|
|
5491
5449
|
`), "application/x-ndjson");
|
|
5492
|
-
},
|
|
5450
|
+
}, Bo = process.env.NODE_ENV === "development", Io = function(l, e = {}, t) {
|
|
5493
5451
|
const i = this, s = [], o = [];
|
|
5494
5452
|
let r = {};
|
|
5495
5453
|
const n = e.rowGroupStyles || {
|
|
@@ -5544,7 +5502,7 @@ const Xi = process.env.NODE_ENV === "development", No = function(l, e = {}, t) {
|
|
|
5544
5502
|
});
|
|
5545
5503
|
const p = i.dependencyRegistry.lookup("jspdf", "jsPDF");
|
|
5546
5504
|
if (!p) {
|
|
5547
|
-
|
|
5505
|
+
Bo && console.error(
|
|
5548
5506
|
"Download Error - 'pdf' downloader requires jspdf library to be registered"
|
|
5549
5507
|
);
|
|
5550
5508
|
return;
|
|
@@ -5553,10 +5511,10 @@ const Xi = process.env.NODE_ENV === "development", No = function(l, e = {}, t) {
|
|
|
5553
5511
|
e.autoTable && (typeof e.autoTable == "function" ? r = e.autoTable(u) || {} : r = e.autoTable), c && (r.didDrawPage = function(f) {
|
|
5554
5512
|
u.text(c, 40, 30);
|
|
5555
5513
|
}), r.head = s, r.body = o, u.autoTable(r), e.documentProcessing && e.documentProcessing(u), t(u.output("arraybuffer"), "application/pdf");
|
|
5556
|
-
},
|
|
5514
|
+
}, Wo = process.env.NODE_ENV === "development", Go = function(l, e, t) {
|
|
5557
5515
|
const i = this, s = e.sheetName || "Sheet1", o = i.dependencyRegistry.lookup("XLSX");
|
|
5558
5516
|
if (!o?.utils?.book_new) {
|
|
5559
|
-
|
|
5517
|
+
Wo && console.error(
|
|
5560
5518
|
"Download Error - 'xlsx' downloader requires XLSX library to be registered"
|
|
5561
5519
|
);
|
|
5562
5520
|
return;
|
|
@@ -5617,14 +5575,14 @@ const Xi = process.env.NODE_ENV === "development", No = function(l, e = {}, t) {
|
|
|
5617
5575
|
}
|
|
5618
5576
|
const u = o.write(r, h);
|
|
5619
5577
|
t(p(u), "application/octet-stream");
|
|
5620
|
-
},
|
|
5621
|
-
csv:
|
|
5622
|
-
html:
|
|
5623
|
-
json:
|
|
5624
|
-
jsonLines:
|
|
5625
|
-
pdf:
|
|
5626
|
-
xlsx:
|
|
5627
|
-
},
|
|
5578
|
+
}, jo = {
|
|
5579
|
+
csv: Ao,
|
|
5580
|
+
html: _o,
|
|
5581
|
+
json: No,
|
|
5582
|
+
jsonLines: Vo,
|
|
5583
|
+
pdf: Io,
|
|
5584
|
+
xlsx: Go
|
|
5585
|
+
}, $o = process.env.NODE_ENV === "development", Oe = class Oe extends R {
|
|
5628
5586
|
constructor(e) {
|
|
5629
5587
|
super(e), this.registerTableOption(
|
|
5630
5588
|
"downloadEncoder",
|
|
@@ -5651,7 +5609,7 @@ const Xi = process.env.NODE_ENV === "development", No = function(l, e = {}, t) {
|
|
|
5651
5609
|
const n = (a, h) => {
|
|
5652
5610
|
o ? o === !0 ? this.triggerDownload(a, h, e, t, !0) : o(a) : this.triggerDownload(a, h, e, t);
|
|
5653
5611
|
};
|
|
5654
|
-
if (typeof e == "function" ? r = e : Oe.downloaders[e] ? r = Oe.downloaders[e] :
|
|
5612
|
+
if (typeof e == "function" ? r = e : Oe.downloaders[e] ? r = Oe.downloaders[e] : $o && console.warn("Download Error - No such download type found: ", e), r) {
|
|
5655
5613
|
const a = this.generateExportList(s);
|
|
5656
5614
|
r.call(this.table, a, i || {}, n.bind(this));
|
|
5657
5615
|
}
|
|
@@ -5701,9 +5659,9 @@ const Xi = process.env.NODE_ENV === "development", No = function(l, e = {}, t) {
|
|
|
5701
5659
|
}
|
|
5702
5660
|
}
|
|
5703
5661
|
};
|
|
5704
|
-
Oe.moduleName = "download", Oe.downloaders =
|
|
5662
|
+
Oe.moduleName = "download", Oe.downloaders = jo;
|
|
5705
5663
|
let Dt = Oe;
|
|
5706
|
-
const
|
|
5664
|
+
const Uo = function(l, e, t, i, s = {}) {
|
|
5707
5665
|
const o = this, r = l._getSelf().column;
|
|
5708
5666
|
let n;
|
|
5709
5667
|
function a(d) {
|
|
@@ -5737,7 +5695,7 @@ const Ko = function(l, e, t, i, s = {}) {
|
|
|
5737
5695
|
i,
|
|
5738
5696
|
n || {}
|
|
5739
5697
|
) : !1;
|
|
5740
|
-
},
|
|
5698
|
+
}, Xo = process.env.NODE_ENV === "development", Ko = function(l, e, t, i, s) {
|
|
5741
5699
|
const o = s.format, r = s.verticalNavigation || "editor", n = typeof globalThis.window > "u" ? globalThis : window, a = o ? n.DateTime || n.luxon?.DateTime : null;
|
|
5742
5700
|
let h = l.getValue();
|
|
5743
5701
|
const c = document.createElement("input");
|
|
@@ -5770,7 +5728,7 @@ const Ko = function(l, e, t, i, s = {}) {
|
|
|
5770
5728
|
);
|
|
5771
5729
|
} else
|
|
5772
5730
|
c.setAttribute(f, s.elementAttributes[f]);
|
|
5773
|
-
h = h ?? "", o && (a ? h = p(h) :
|
|
5731
|
+
h = h ?? "", o && (a ? h = p(h) : Xo && console.error(
|
|
5774
5732
|
"Editor Error - 'date' editor 'format' param is dependent on luxon.js"
|
|
5775
5733
|
)), c.value = String(h), e(() => {
|
|
5776
5734
|
l.getType() === "cell" && (c.focus({ preventScroll: !0 }), c.style.height = "100%", s.selectContents && c.select());
|
|
@@ -5817,7 +5775,7 @@ const Ko = function(l, e, t, i, s = {}) {
|
|
|
5817
5775
|
break;
|
|
5818
5776
|
}
|
|
5819
5777
|
}), c;
|
|
5820
|
-
},
|
|
5778
|
+
}, Jo = process.env.NODE_ENV === "development", qo = function(l, e, t, i, s) {
|
|
5821
5779
|
const o = this, r = s.format, n = s.verticalNavigation || "editor", a = r ? o.table.dependencyRegistry.lookup(["luxon", "DateTime"], "DateTime") : null;
|
|
5822
5780
|
let h, c = l.getValue();
|
|
5823
5781
|
const d = document.createElement("input");
|
|
@@ -5831,7 +5789,7 @@ const Ko = function(l, e, t, i, s = {}) {
|
|
|
5831
5789
|
);
|
|
5832
5790
|
} else
|
|
5833
5791
|
d.setAttribute(u, s.elementAttributes[u]);
|
|
5834
|
-
c = c ?? "", r && a ? (a.isDateTime?.(c) ? h = c : r === "iso" ? h = a.fromISO(String(c)) : h = a.fromFormat(String(c), r), c = h.toFormat("yyyy-MM-dd") + "T" + h.toFormat("HH:mm")) : r && !a &&
|
|
5792
|
+
c = c ?? "", r && a ? (a.isDateTime?.(c) ? h = c : r === "iso" ? h = a.fromISO(String(c)) : h = a.fromFormat(String(c), r), c = h.toFormat("yyyy-MM-dd") + "T" + h.toFormat("HH:mm")) : r && !a && Jo && console.error(
|
|
5835
5793
|
"Editor Error - 'datetime' editor 'format' param is dependent on luxon.js"
|
|
5836
5794
|
), d.value = String(c), e(() => {
|
|
5837
5795
|
l.getType() === "cell" && (d.focus({ preventScroll: !0 }), d.style.height = "100%", s.selectContents && d.select());
|
|
@@ -5915,7 +5873,7 @@ function wi(l, e) {
|
|
|
5915
5873
|
(n.keyCode || 0) > 46 && e.maskAutoFill && r(l.value.length);
|
|
5916
5874
|
}), l.placeholder || (l.placeholder = t), e.maskAutoFill && r(l.value.length);
|
|
5917
5875
|
}
|
|
5918
|
-
const
|
|
5876
|
+
const Yo = function(l, e, t, i, s) {
|
|
5919
5877
|
let o = l.getValue();
|
|
5920
5878
|
const r = document.createElement("input");
|
|
5921
5879
|
if (r.setAttribute(
|
|
@@ -5953,7 +5911,7 @@ const Zo = function(l, e, t, i, s) {
|
|
|
5953
5911
|
}
|
|
5954
5912
|
}), s.mask && wi(r, s), r;
|
|
5955
5913
|
};
|
|
5956
|
-
function
|
|
5914
|
+
function Qo(l, e = {}, t) {
|
|
5957
5915
|
let i;
|
|
5958
5916
|
function s(n) {
|
|
5959
5917
|
const a = n.getValue();
|
|
@@ -5972,7 +5930,7 @@ function er(l, e = {}, t) {
|
|
|
5972
5930
|
const o = e.formatterLookup ? e.formatterLookup(l) : s(l);
|
|
5973
5931
|
return e.paramsLookup && (i = typeof e.paramsLookup == "function" ? e.paramsLookup(o, l) : e.paramsLookup[o]), ke.lookupFormatter(o).call(this, l, i || {}, t);
|
|
5974
5932
|
}
|
|
5975
|
-
function
|
|
5933
|
+
function Zo(l, e, t) {
|
|
5976
5934
|
const i = e.delimiter ?? ",";
|
|
5977
5935
|
let s = l.getValue();
|
|
5978
5936
|
const o = this.table;
|
|
@@ -5985,30 +5943,30 @@ function tr(l, e, t) {
|
|
|
5985
5943
|
));
|
|
5986
5944
|
} : r = e.valueMap), Array.isArray(s) ? (r && (s = r(s)), s.join(i)) : s;
|
|
5987
5945
|
}
|
|
5988
|
-
function
|
|
5946
|
+
function er(l, e, t) {
|
|
5989
5947
|
return '<svg enable-background="new 0 0 24 24" height="14" width="14" viewBox="0 0 24 24" xml:space="preserve" ><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>';
|
|
5990
5948
|
}
|
|
5991
|
-
function
|
|
5949
|
+
function tr(l, e, t) {
|
|
5992
5950
|
return '<svg enable-background="new 0 0 24 24" height="14" width="14" viewBox="0 0 24 24" xml:space="preserve" ><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>';
|
|
5993
5951
|
}
|
|
5994
|
-
function
|
|
5952
|
+
function ir(l, e, t) {
|
|
5995
5953
|
const i = l.getContentElement?.() ?? l.getElement(), s = l.getValue();
|
|
5996
|
-
return i && (
|
|
5954
|
+
return i && (sr(s) ? i.style.backgroundColor = s : i.style.backgroundColor = ""), "";
|
|
5997
5955
|
}
|
|
5998
|
-
function
|
|
5956
|
+
function sr(l) {
|
|
5999
5957
|
return !l || typeof l != "string" ? !1 : /^(#[0-9A-Fa-f]{3,8}|rgb\(|rgba\(|hsl\(|hsla\(|[a-z]+)$/i.test(l.trim());
|
|
6000
5958
|
}
|
|
6001
|
-
const
|
|
5959
|
+
const or = x`<span
|
|
6002
5960
|
style="display: inline-flex; align-items: center;"
|
|
6003
5961
|
></span>`;
|
|
6004
|
-
function
|
|
5962
|
+
function rr({
|
|
6005
5963
|
spacing: l,
|
|
6006
5964
|
style: e
|
|
6007
5965
|
}) {
|
|
6008
|
-
const t = L(
|
|
5966
|
+
const t = L(or);
|
|
6009
5967
|
return l && (t.style.margin = l), e && Object.assign(t.style, e), t;
|
|
6010
5968
|
}
|
|
6011
|
-
function
|
|
5969
|
+
function nr(l, e, t) {
|
|
6012
5970
|
const i = ke.lookupFormatter("plaintext"), s = {
|
|
6013
5971
|
style: {
|
|
6014
5972
|
color: "var(--cx-color-neutral-500)",
|
|
@@ -6032,7 +5990,7 @@ function ar(l, e, t) {
|
|
|
6032
5990
|
r
|
|
6033
5991
|
);
|
|
6034
5992
|
}
|
|
6035
|
-
function
|
|
5993
|
+
function lr({
|
|
6036
5994
|
elementConfig: l,
|
|
6037
5995
|
elementValue: e,
|
|
6038
5996
|
rowData: t
|
|
@@ -6050,7 +6008,7 @@ function Yi({
|
|
|
6050
6008
|
}) {
|
|
6051
6009
|
return e.value !== void 0 ? e.value : e.getValue ? e.getValue(l, t) : e.field ? k.retrieveNestedData(i, e.field, t) : l.getValue();
|
|
6052
6010
|
}
|
|
6053
|
-
function
|
|
6011
|
+
function ar(l, e, t) {
|
|
6054
6012
|
if (!e?.elements || !Array.isArray(e.elements) || e.elements.length === 0)
|
|
6055
6013
|
return;
|
|
6056
6014
|
const i = l.getData(), s = this.table, o = typeof s.options.nestedFieldSeparator == "string" ? s.options.nestedFieldSeparator : void 0, r = l.getValue(), n = e.elements.some((C) => {
|
|
@@ -6063,7 +6021,7 @@ function cr(l, e, t) {
|
|
|
6063
6021
|
return C.valueMap && (E = C.valueMap[String(E)] ?? E), !qi(E);
|
|
6064
6022
|
});
|
|
6065
6023
|
if (qi(r) && !n && e.placeholder !== void 0)
|
|
6066
|
-
return
|
|
6024
|
+
return nr.call(this, l, e, t);
|
|
6067
6025
|
const h = l.getRow(), { align: c, containerStyle: d, direction: p, gap: u } = e, f = x`<cx-space
|
|
6068
6026
|
style=${Me(d ?? {})}
|
|
6069
6027
|
align-items=${c ?? "center"}
|
|
@@ -6077,7 +6035,7 @@ function cr(l, e, t) {
|
|
|
6077
6035
|
rowData: i,
|
|
6078
6036
|
separator: o
|
|
6079
6037
|
});
|
|
6080
|
-
if (C.valueMap && (E = C.valueMap[String(E)] ?? E),
|
|
6038
|
+
if (C.valueMap && (E = C.valueMap[String(E)] ?? E), lr({ elementConfig: C, elementValue: E, rowData: i }))
|
|
6081
6039
|
return;
|
|
6082
6040
|
const z = C.formatter || "plaintext", T = ke.lookupFormatter(z), K = {
|
|
6083
6041
|
getColumn: () => l.getColumn(),
|
|
@@ -6104,7 +6062,7 @@ function cr(l, e, t) {
|
|
|
6104
6062
|
}
|
|
6105
6063
|
if (H == null)
|
|
6106
6064
|
return;
|
|
6107
|
-
const te =
|
|
6065
|
+
const te = rr({
|
|
6108
6066
|
spacing: C.spacing,
|
|
6109
6067
|
style: C.style
|
|
6110
6068
|
});
|
|
@@ -6120,14 +6078,14 @@ function cr(l, e, t) {
|
|
|
6120
6078
|
return typeof z == "string" ? q.textContent = z : q.appendChild(z.cloneNode(!0)), [T, q];
|
|
6121
6079
|
}).forEach((C) => m.appendChild(C)), m);
|
|
6122
6080
|
}
|
|
6123
|
-
const
|
|
6124
|
-
function
|
|
6081
|
+
const hr = process.env.NODE_ENV === "development";
|
|
6082
|
+
function cr(l, e, t) {
|
|
6125
6083
|
const i = this.table.dependencyRegistry.lookup(
|
|
6126
6084
|
["luxon", "DateTime"],
|
|
6127
6085
|
"DateTime"
|
|
6128
6086
|
), s = e.inputFormat || "yyyy-MM-dd HH:mm:ss", o = e.outputFormat || "dd/MM/yyyy HH:mm:ss", r = e.invalidPlaceholder ?? "", n = l.getValue();
|
|
6129
6087
|
if (i == null)
|
|
6130
|
-
return
|
|
6088
|
+
return hr && console.error(
|
|
6131
6089
|
"Format Error - 'datetime' formatter is dependent on luxon.js"
|
|
6132
6090
|
), n;
|
|
6133
6091
|
{
|
|
@@ -6135,14 +6093,14 @@ function ur(l, e, t) {
|
|
|
6135
6093
|
return i.isDateTime(n) ? a = n : s === "iso" ? a = i.fromISO(String(n)) : a = i.fromFormat(String(n), s), a.isValid ? (e.timezone && (a = a.setZone(e.timezone)), a.toFormat(o)) : r === !0 || !n ? n : typeof r == "function" ? r(n) : r;
|
|
6136
6094
|
}
|
|
6137
6095
|
}
|
|
6138
|
-
const
|
|
6139
|
-
function
|
|
6096
|
+
const dr = process.env.NODE_ENV === "development";
|
|
6097
|
+
function ur(l, e, t) {
|
|
6140
6098
|
const i = this.table.dependencyRegistry.lookup(
|
|
6141
6099
|
["luxon", "DateTime"],
|
|
6142
6100
|
"DateTime"
|
|
6143
6101
|
), s = e.inputFormat || "yyyy-MM-dd HH:mm:ss", o = e.invalidPlaceholder ?? "", r = e.suffix === void 0 || e.suffix === null ? !1 : e.suffix, n = e.unit === void 0 || e.unit === null ? "days" : e.unit, a = e.humanize === void 0 || e.humanize === null ? !1 : e.humanize, h = l.getValue();
|
|
6144
6102
|
if (i == null)
|
|
6145
|
-
return
|
|
6103
|
+
return dr && console.error(
|
|
6146
6104
|
"Format Error - 'datetimediff' formatter is dependent on luxon.js"
|
|
6147
6105
|
), o;
|
|
6148
6106
|
{
|
|
@@ -6151,20 +6109,20 @@ function fr(l, e, t) {
|
|
|
6151
6109
|
return i.isDateTime(h) ? d = h : s === "iso" ? d = i.fromISO(String(h)) : d = i.fromFormat(String(h), s), d.isValid ? a ? d.diff(c, n).toHuman() + (r ? " " + r : "") : Number.parseInt(String(d.diff(c, n)[n]), 10) + (r ? " " + r : "") : o === !0 ? h : typeof o == "function" ? o(h) : o;
|
|
6152
6110
|
}
|
|
6153
6111
|
}
|
|
6154
|
-
function
|
|
6112
|
+
function pr(l, e, t) {
|
|
6155
6113
|
const i = l.getElement();
|
|
6156
6114
|
return i && i.classList.add("tabulator-row-handle"), "<div class='tabulator-row-handle-box'><div class='tabulator-row-handle-bar'></div><div class='tabulator-row-handle-bar'></div><div class='tabulator-row-handle-bar'></div></div>";
|
|
6157
6115
|
}
|
|
6158
|
-
function
|
|
6116
|
+
function fr(l, e, t) {
|
|
6159
6117
|
return l.getValue();
|
|
6160
6118
|
}
|
|
6161
|
-
const
|
|
6162
|
-
function
|
|
6119
|
+
const gr = x`<cx-icon></cx-icon>`;
|
|
6120
|
+
function mr(l, e) {
|
|
6163
6121
|
const t = l.getValue(), i = e ?? {};
|
|
6164
6122
|
let s;
|
|
6165
6123
|
if (i.getIcon ? s = i.getIcon(t) : typeof i.icon == "function" ? s = i.icon(t) : i.iconMap ? s = i.iconMap[t] : i.icon ? s = i.icon : s = t ? String(t) : void 0, !s)
|
|
6166
6124
|
return;
|
|
6167
|
-
const o = L(
|
|
6125
|
+
const o = L(gr);
|
|
6168
6126
|
if (o.name = s, i.size !== void 0)
|
|
6169
6127
|
switch (typeof i.size) {
|
|
6170
6128
|
case "number":
|
|
@@ -6176,16 +6134,16 @@ function wr(l, e) {
|
|
|
6176
6134
|
}
|
|
6177
6135
|
return i.class && (o.className = i.class), i.style && Object.assign(o.style, i.style), o;
|
|
6178
6136
|
}
|
|
6179
|
-
const
|
|
6137
|
+
const br = x`<div
|
|
6180
6138
|
style="display: flex; align-items: center; justify-content: center;"
|
|
6181
6139
|
>
|
|
6182
6140
|
<img style="max-width: 100%; max-height: 100%; object-fit: cover;" />
|
|
6183
6141
|
</div>`;
|
|
6184
|
-
function
|
|
6142
|
+
function wr(l, e) {
|
|
6185
6143
|
let t = l.getValue();
|
|
6186
6144
|
if (!t)
|
|
6187
6145
|
return null;
|
|
6188
|
-
const i = L(
|
|
6146
|
+
const i = L(br), s = i.querySelector("img"), o = e ?? {};
|
|
6189
6147
|
switch (o.urlPrefix && (t = o.urlPrefix + l.getValue()), o.urlSuffix && (t = t + o.urlSuffix), s.setAttribute("src", String(t)), typeof o.height) {
|
|
6190
6148
|
case "number":
|
|
6191
6149
|
i.style.height = o.height + "px";
|
|
@@ -6206,8 +6164,8 @@ function yr(l, e) {
|
|
|
6206
6164
|
l.getRow()?.normalizeHeight();
|
|
6207
6165
|
}), i;
|
|
6208
6166
|
}
|
|
6209
|
-
const
|
|
6210
|
-
function
|
|
6167
|
+
const vr = process.env.NODE_ENV === "development";
|
|
6168
|
+
function yr(l, e, t) {
|
|
6211
6169
|
const {
|
|
6212
6170
|
indent: i = " ",
|
|
6213
6171
|
multiline: s = !0,
|
|
@@ -6220,11 +6178,11 @@ function Er(l, e, t) {
|
|
|
6220
6178
|
try {
|
|
6221
6179
|
return JSON.stringify(r, o, i);
|
|
6222
6180
|
} catch (n) {
|
|
6223
|
-
return
|
|
6181
|
+
return vr && console.warn("JSON Format Error - Failed to format value", n), String(r);
|
|
6224
6182
|
}
|
|
6225
6183
|
}
|
|
6226
|
-
const
|
|
6227
|
-
function
|
|
6184
|
+
const Cr = process.env.NODE_ENV === "development";
|
|
6185
|
+
function Er(l, e, t) {
|
|
6228
6186
|
let i = l.getValue();
|
|
6229
6187
|
const s = e.urlPrefix || "";
|
|
6230
6188
|
let o = e.download, r = i;
|
|
@@ -6264,16 +6222,16 @@ function Rr(l, e, t) {
|
|
|
6264
6222
|
break;
|
|
6265
6223
|
}
|
|
6266
6224
|
const c = String(s + i), d = document.createElement("a");
|
|
6267
|
-
return d.href = c, ["http:", "https:", "mailto:", "tel:", ""].includes(d.protocol) || c.startsWith("#") ? n.setAttribute("href", c) : (
|
|
6225
|
+
return d.href = c, ["http:", "https:", "mailto:", "tel:", ""].includes(d.protocol) || c.startsWith("#") ? n.setAttribute("href", c) : (Cr && console.warn("Link formatter blocked potentially unsafe URL:", c), n.setAttribute("href", "#")), e.target && n.setAttribute("target", e.target), e.download && (typeof o == "function" ? o = o(l) : o = o === !0 ? "" : o, n.setAttribute("download", String(o))), n.innerHTML = ct(S(r)), n;
|
|
6268
6226
|
} else
|
|
6269
6227
|
return " ";
|
|
6270
6228
|
}
|
|
6271
|
-
const
|
|
6272
|
-
function
|
|
6229
|
+
const xr = process.env.NODE_ENV === "development";
|
|
6230
|
+
function Rr(l, e, t) {
|
|
6273
6231
|
const i = l.getValue();
|
|
6274
|
-
return !e || typeof e != "object" && typeof e != "function" || e[i] === void 0 || e[i] === null ? (
|
|
6232
|
+
return !e || typeof e != "object" && typeof e != "function" || e[i] === void 0 || e[i] === null ? (xr && console.warn("Missing display value for " + i), i) : e[i];
|
|
6275
6233
|
}
|
|
6276
|
-
function
|
|
6234
|
+
function Sr(l, e, t) {
|
|
6277
6235
|
let i = parseFloat(l.getValue()), s = "", o, r, n, a;
|
|
6278
6236
|
const h = e.decimal || ".", c = e.thousand || ",", d = e.negativeSign || "-", p = e.symbol || "", u = !!e.symbolAfter, f = typeof e.precision < "u" ? e.precision : 2;
|
|
6279
6237
|
if (isNaN(i))
|
|
@@ -6285,15 +6243,15 @@ function Mr(l, e, t) {
|
|
|
6285
6243
|
r = r.replace(n, "$1" + c + "$2");
|
|
6286
6244
|
return a = r + m, e.negativeSign === !0 ? (a = "(" + a + ")", u ? a + p : p + a) : u ? s + a + p : s + p + a;
|
|
6287
6245
|
}
|
|
6288
|
-
const
|
|
6289
|
-
function
|
|
6246
|
+
const Tr = x`<cx-format-number></cx-format-number>`;
|
|
6247
|
+
function Mr(l, e) {
|
|
6290
6248
|
const t = l.getValue();
|
|
6291
6249
|
if (t == null || t === "")
|
|
6292
6250
|
return;
|
|
6293
6251
|
const i = Number(t);
|
|
6294
6252
|
if (Number.isNaN(i))
|
|
6295
6253
|
return;
|
|
6296
|
-
const s = e ?? {}, o = L(
|
|
6254
|
+
const s = e ?? {}, o = L(Tr);
|
|
6297
6255
|
o.value = i;
|
|
6298
6256
|
for (const r of Object.keys(s)) {
|
|
6299
6257
|
const n = s[r];
|
|
@@ -6301,7 +6259,7 @@ function Dr(l, e) {
|
|
|
6301
6259
|
}
|
|
6302
6260
|
return o;
|
|
6303
6261
|
}
|
|
6304
|
-
function
|
|
6262
|
+
function kr(l, e) {
|
|
6305
6263
|
let t = ct(S(l.getValue()));
|
|
6306
6264
|
const i = e ?? {};
|
|
6307
6265
|
i.prefix && (t = i.prefix + t), i.suffix && (t = t + i.suffix);
|
|
@@ -6310,7 +6268,7 @@ function Lr(l, e) {
|
|
|
6310
6268
|
</cx-line-clamp>`;
|
|
6311
6269
|
return L(s);
|
|
6312
6270
|
}
|
|
6313
|
-
function
|
|
6271
|
+
function Dr(l, e = {}, t) {
|
|
6314
6272
|
const i = S(l.getValue()) || 0, s = l.getElement(), o = e.max ? e.max : 100, r = e.min ? e.min : 0, n = e.legendAlign ? e.legendAlign : "center";
|
|
6315
6273
|
let a, h, c = !1, d;
|
|
6316
6274
|
a = parseFloat(String(i)) <= o ? parseFloat(String(i)) : o, a = parseFloat(String(a)) >= r ? parseFloat(String(a)) : r;
|
|
@@ -6389,13 +6347,13 @@ function zr(l, e = {}, t) {
|
|
|
6389
6347
|
y && (y.appendChild(f), f.appendChild(u), c && m && f.appendChild(m));
|
|
6390
6348
|
}), "";
|
|
6391
6349
|
}
|
|
6392
|
-
function
|
|
6350
|
+
function Lr(l, e = {}, t) {
|
|
6393
6351
|
const i = document.createElement("span"), s = l.getRow(), o = l.getTable();
|
|
6394
6352
|
return s.watchPosition((r) => {
|
|
6395
6353
|
e.relativeToPage && o.modules.page && (r += o.modules.page.getPageSize() * (o.modules.page.getPage() - 1)), i.innerText = String(r);
|
|
6396
6354
|
}), i;
|
|
6397
6355
|
}
|
|
6398
|
-
function
|
|
6356
|
+
function zr(l, e, t) {
|
|
6399
6357
|
let i = l.getValue();
|
|
6400
6358
|
const s = l.getElement(), o = l.getContentElement?.() ?? s, r = e && e.stars ? e.stars : 5, n = document.createElement("span"), a = document.createElementNS("http://www.w3.org/2000/svg", "svg"), h = '<polygon fill="#FFEA00" stroke="#C1AB60" stroke-width="37.6152" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" points="259.216,29.942 330.27,173.919 489.16,197.007 374.185,309.08 401.33,467.31 259.216,392.612 117.104,467.31 144.25,309.08 29.274,197.007 188.165,173.919 "/>', c = '<polygon fill="#D2D2D2" stroke="#686868" stroke-width="37.6152" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" points="259.216,29.942 330.27,173.919 489.16,197.007 374.185,309.08 401.33,467.31 259.216,392.612 117.104,467.31 144.25,309.08 29.274,197.007 188.165,173.919 "/>';
|
|
6401
6359
|
n.style.verticalAlign = "middle", a.setAttribute("width", "14"), a.setAttribute("height", "14"), a.setAttribute("viewBox", "0 0 512 512"), a.setAttribute("xml:space", "preserve"), a.style.padding = "0 1px";
|
|
@@ -6407,8 +6365,8 @@ function Or(l, e, t) {
|
|
|
6407
6365
|
}
|
|
6408
6366
|
return o && (o.style.whiteSpace = "nowrap", o.style.overflow = "hidden", o.style.textOverflow = "ellipsis"), s && s.setAttribute("aria-label", String(i)), n;
|
|
6409
6367
|
}
|
|
6410
|
-
const
|
|
6411
|
-
function
|
|
6368
|
+
const Fr = x`<cx-tag></cx-tag>`;
|
|
6369
|
+
function Or(l, e) {
|
|
6412
6370
|
const t = l.getValue();
|
|
6413
6371
|
if (t == null || t === "")
|
|
6414
6372
|
return;
|
|
@@ -6417,26 +6375,26 @@ function Pr(l, e) {
|
|
|
6417
6375
|
removable: !1,
|
|
6418
6376
|
size: "medium",
|
|
6419
6377
|
variant: "neutral"
|
|
6420
|
-
}, s = L(
|
|
6378
|
+
}, s = L(Fr);
|
|
6421
6379
|
return Object.assign(s, i), s.textContent = e?.getTagContent?.(t) ?? e?.tagContentMap?.[t] ?? String(t), s;
|
|
6422
6380
|
}
|
|
6423
|
-
function
|
|
6381
|
+
function Hr(l) {
|
|
6424
6382
|
return ct(S(l.getValue()));
|
|
6425
6383
|
}
|
|
6426
|
-
function
|
|
6384
|
+
function Pr(l, e, t) {
|
|
6427
6385
|
const i = l.getValue(), s = l.getElement(), o = e.allowEmpty, r = e.allowTruthy, n = Object.prototype.hasOwnProperty.call(
|
|
6428
6386
|
e,
|
|
6429
6387
|
"trueValue"
|
|
6430
6388
|
), a = (typeof e.tickElement == "string" ? S(e.tickElement) : e.tickElement) ?? '<svg enable-background="new 0 0 24 24" height="14" width="14" viewBox="0 0 24 24" xml:space="preserve" ><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>', h = (typeof e.crossElement == "string" ? S(e.crossElement) : e.crossElement) ?? '<svg enable-background="new 0 0 24 24" height="14" width="14" viewBox="0 0 24 24" xml:space="preserve" ><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>';
|
|
6431
6389
|
return n && i === e.trueValue || !n && (r && i || i === !0 || i === "true" || i === "True" || i === 1 || i === "1") ? (s && s.setAttribute("aria-checked", "true"), a || "") : o && (i === "null" || i === "" || i === null || typeof i > "u") ? (s && s.setAttribute("aria-checked", "mixed"), "") : (s && s.setAttribute("aria-checked", "false"), h || "");
|
|
6432
6390
|
}
|
|
6433
|
-
function
|
|
6391
|
+
function Ar(l) {
|
|
6434
6392
|
if (l == null || l === "")
|
|
6435
6393
|
return null;
|
|
6436
6394
|
const e = Number(l);
|
|
6437
6395
|
return Number.isFinite(e) ? e : null;
|
|
6438
6396
|
}
|
|
6439
|
-
function
|
|
6397
|
+
function _r(l, e) {
|
|
6440
6398
|
const t = e.getValue(), i = e.getRow().getData(), {
|
|
6441
6399
|
getParams: s,
|
|
6442
6400
|
paramsMap: o,
|
|
@@ -6449,14 +6407,14 @@ function Vr(l, e) {
|
|
|
6449
6407
|
...c
|
|
6450
6408
|
};
|
|
6451
6409
|
}
|
|
6452
|
-
function
|
|
6410
|
+
function Nr(l) {
|
|
6453
6411
|
const e = {
|
|
6454
6412
|
...l.style ?? {}
|
|
6455
6413
|
};
|
|
6456
6414
|
return l.color && (e["--cx-format-time-color"] = l.color), l.fontSize && (e["--cx-format-time-font-size"] = l.fontSize), l.fontWeight && (e["--cx-format-time-font-weight"] = l.fontWeight), e;
|
|
6457
6415
|
}
|
|
6458
|
-
function
|
|
6459
|
-
const t =
|
|
6416
|
+
function Vr(l, e) {
|
|
6417
|
+
const t = _r(e ?? {}, l), i = Ar(l.getValue()), s = Nr(t);
|
|
6460
6418
|
return L(x`
|
|
6461
6419
|
<cx-format-time
|
|
6462
6420
|
.duration=${i}
|
|
@@ -6469,7 +6427,7 @@ function Ir(l, e) {
|
|
|
6469
6427
|
></cx-format-time>
|
|
6470
6428
|
`);
|
|
6471
6429
|
}
|
|
6472
|
-
function
|
|
6430
|
+
function Br(l, e, t) {
|
|
6473
6431
|
const i = e.size || 15, s = i + "px", o = Object.prototype.hasOwnProperty.call(
|
|
6474
6432
|
e,
|
|
6475
6433
|
"onValue"
|
|
@@ -6487,15 +6445,15 @@ function Wr(l, e, t) {
|
|
|
6487
6445
|
const c = document.createElement("div");
|
|
6488
6446
|
return c.classList.add("tabulator-toggle-switch"), c.style.height = s, c.style.width = s, c.style.borderRadius = s, h.appendChild(c), h;
|
|
6489
6447
|
}
|
|
6490
|
-
const
|
|
6448
|
+
const Ir = x`<span class="tabulator-traffic-light-container">
|
|
6491
6449
|
<span class="tabulator-traffic-light"></span>
|
|
6492
6450
|
<span class="tabulator-traffic-light-text"></span>
|
|
6493
6451
|
</span>`;
|
|
6494
|
-
function
|
|
6452
|
+
function Wr(l, e, t, i) {
|
|
6495
6453
|
const s = l.getValue();
|
|
6496
6454
|
if (s == null || s === "")
|
|
6497
6455
|
return;
|
|
6498
|
-
const o = L(
|
|
6456
|
+
const o = L(Ir), r = e?.getColor?.(s) ?? e?.colorMap?.[s];
|
|
6499
6457
|
if (r) {
|
|
6500
6458
|
const a = o.querySelector(
|
|
6501
6459
|
".tabulator-traffic-light"
|
|
@@ -6507,7 +6465,7 @@ function jr(l, e, t, i) {
|
|
|
6507
6465
|
);
|
|
6508
6466
|
return n && (n.textContent = String(s)), i?.getColor ? n.style.color = i.getColor(l) : i?.colorMap ? n.style.color = i.colorMap[l.getValue()] : i?.color && (n.style.color = i.color), o;
|
|
6509
6467
|
}
|
|
6510
|
-
function
|
|
6468
|
+
function Gr(l, e) {
|
|
6511
6469
|
const t = l.getValue();
|
|
6512
6470
|
if (t == null || t === "")
|
|
6513
6471
|
return;
|
|
@@ -6523,36 +6481,36 @@ function $r(l, e) {
|
|
|
6523
6481
|
let a = String(t);
|
|
6524
6482
|
return i.prefix && (a = i.prefix + a), i.suffix && (a = a + i.suffix), n.textContent = a, r;
|
|
6525
6483
|
}
|
|
6526
|
-
const
|
|
6527
|
-
adaptable:
|
|
6528
|
-
array:
|
|
6529
|
-
buttonCross:
|
|
6530
|
-
buttonTick:
|
|
6531
|
-
color:
|
|
6532
|
-
composite:
|
|
6533
|
-
datetime:
|
|
6534
|
-
datetimediff:
|
|
6535
|
-
handle:
|
|
6536
|
-
html:
|
|
6537
|
-
icon:
|
|
6538
|
-
image:
|
|
6539
|
-
json:
|
|
6540
|
-
link:
|
|
6541
|
-
lookup:
|
|
6542
|
-
money:
|
|
6543
|
-
number:
|
|
6544
|
-
plaintext:
|
|
6545
|
-
progress:
|
|
6546
|
-
rownum:
|
|
6547
|
-
star:
|
|
6548
|
-
tag:
|
|
6549
|
-
textarea:
|
|
6550
|
-
tickCross:
|
|
6551
|
-
time:
|
|
6552
|
-
toggle:
|
|
6553
|
-
traffic:
|
|
6554
|
-
typography:
|
|
6555
|
-
},
|
|
6484
|
+
const jr = {
|
|
6485
|
+
adaptable: Qo,
|
|
6486
|
+
array: Zo,
|
|
6487
|
+
buttonCross: er,
|
|
6488
|
+
buttonTick: tr,
|
|
6489
|
+
color: ir,
|
|
6490
|
+
composite: ar,
|
|
6491
|
+
datetime: cr,
|
|
6492
|
+
datetimediff: ur,
|
|
6493
|
+
handle: pr,
|
|
6494
|
+
html: fr,
|
|
6495
|
+
icon: mr,
|
|
6496
|
+
image: wr,
|
|
6497
|
+
json: yr,
|
|
6498
|
+
link: Er,
|
|
6499
|
+
lookup: Rr,
|
|
6500
|
+
money: Sr,
|
|
6501
|
+
number: Mr,
|
|
6502
|
+
plaintext: kr,
|
|
6503
|
+
progress: Dr,
|
|
6504
|
+
rownum: Lr,
|
|
6505
|
+
star: zr,
|
|
6506
|
+
tag: Or,
|
|
6507
|
+
textarea: Hr,
|
|
6508
|
+
tickCross: Pr,
|
|
6509
|
+
time: Vr,
|
|
6510
|
+
toggle: Br,
|
|
6511
|
+
traffic: Wr,
|
|
6512
|
+
typography: Gr
|
|
6513
|
+
}, $r = process.env.NODE_ENV === "development", Z = class Z extends R {
|
|
6556
6514
|
constructor(e) {
|
|
6557
6515
|
super(e), this.registerColumnOption("formatter"), this.registerColumnOption("formatterParams"), this.registerColumnOption("formatterPrint"), this.registerColumnOption("formatterPrintParams"), this.registerColumnOption("formatterClipboard"), this.registerColumnOption("formatterClipboardParams"), this.registerColumnOption("formatterHtmlOutput"), this.registerColumnOption("formatterHtmlOutputParams"), this.registerColumnOption("titleFormatter"), this.registerColumnOption("titleFormatterParams"), this.registerColumnOption("textFormatParams"), this.registerColumnOption("cellClass"), this.registerColumnOption("cellStyle");
|
|
6558
6516
|
}
|
|
@@ -6582,7 +6540,7 @@ const Ur = {
|
|
|
6582
6540
|
let t;
|
|
6583
6541
|
switch (typeof e) {
|
|
6584
6542
|
case "string":
|
|
6585
|
-
Z.formatters[e] ? t = Z.formatters[e] : (
|
|
6543
|
+
Z.formatters[e] ? t = Z.formatters[e] : ($r && console.warn(
|
|
6586
6544
|
"Formatter Error - No such formatter found: ",
|
|
6587
6545
|
e
|
|
6588
6546
|
), t = Z.formatters.plaintext);
|
|
@@ -6669,10 +6627,10 @@ const Ur = {
|
|
|
6669
6627
|
return this.formatValue(e);
|
|
6670
6628
|
}
|
|
6671
6629
|
};
|
|
6672
|
-
Z.moduleName = "format", Z.formatters =
|
|
6630
|
+
Z.moduleName = "format", Z.formatters = jr;
|
|
6673
6631
|
let ke = Z;
|
|
6674
|
-
const ie = process.env.NODE_ENV === "development",
|
|
6675
|
-
class
|
|
6632
|
+
const ie = process.env.NODE_ENV === "development", Ur = x` <cx-option></cx-option>`, Xr = x` <cx-divider></cx-divider>`;
|
|
6633
|
+
class Kr {
|
|
6676
6634
|
constructor(e, t, i, s, o, r) {
|
|
6677
6635
|
this._itemsMap = /* @__PURE__ */ new Map(), this.table = e.table, this.cell = t, this.params = this._initializeParams(r), this.data = [], this.displayItems = [], this.focusedItem = null, this.input = this._createSelectElement(), this.initialValues = [], this.isHeaderFilter = t.row?.type === "header", this.typing = !1, this.listIteration = 0, this.lastAction = "", this.actions = {
|
|
6678
6636
|
cancel: o,
|
|
@@ -6734,7 +6692,7 @@ class qr {
|
|
|
6734
6692
|
if (!e)
|
|
6735
6693
|
return null;
|
|
6736
6694
|
let t;
|
|
6737
|
-
return typeof e == "string" ? t =
|
|
6695
|
+
return typeof e == "string" ? t = Ws(e) : t = e, t && (t.slot = "prefix"), t;
|
|
6738
6696
|
}
|
|
6739
6697
|
_createSelectElement() {
|
|
6740
6698
|
const { autocomplete: e, clearable: t, freeWidth: i, placeholder: s } = this.params, o = x`
|
|
@@ -6968,7 +6926,7 @@ class qr {
|
|
|
6968
6926
|
// ////////////////////////////////////
|
|
6969
6927
|
_clearList() {
|
|
6970
6928
|
for (const e of Array.from(this.input.children))
|
|
6971
|
-
e.getAttribute("slot") !== "prefix" && (e instanceof
|
|
6929
|
+
e.getAttribute("slot") !== "prefix" && (e instanceof Gs || e instanceof gs || e.tagName === "SMALL") && e.remove();
|
|
6972
6930
|
this.displayItems = [];
|
|
6973
6931
|
}
|
|
6974
6932
|
_buildList(e) {
|
|
@@ -6992,7 +6950,7 @@ class qr {
|
|
|
6992
6950
|
}
|
|
6993
6951
|
}
|
|
6994
6952
|
_appendDivider() {
|
|
6995
|
-
const e = L(
|
|
6953
|
+
const e = L(Xr);
|
|
6996
6954
|
this.input.appendChild(e);
|
|
6997
6955
|
}
|
|
6998
6956
|
_appendSectionLabel(e) {
|
|
@@ -7002,7 +6960,7 @@ class qr {
|
|
|
7002
6960
|
_appendLeafOption(e) {
|
|
7003
6961
|
let t = e.element;
|
|
7004
6962
|
if (!t) {
|
|
7005
|
-
t = L(
|
|
6963
|
+
t = L(Ur), t.getTextLabel = () => e.label, t.value = this.sanitizeValue(e.value);
|
|
7006
6964
|
const i = this.formatItemLabel(e, t);
|
|
7007
6965
|
i && typeof i == "object" && "nodeType" in i && i instanceof HTMLElement ? t.appendChild(i) : t.innerHTML = S(String(i || "")), t.classList.add(
|
|
7008
6966
|
"tabulator-edit-list-item",
|
|
@@ -7065,8 +7023,8 @@ class qr {
|
|
|
7065
7023
|
}
|
|
7066
7024
|
}
|
|
7067
7025
|
}
|
|
7068
|
-
const
|
|
7069
|
-
return new
|
|
7026
|
+
const Jr = function(l, e, t, i, s) {
|
|
7027
|
+
return new Kr(
|
|
7070
7028
|
// eslint-disable-next-line no-invalid-this
|
|
7071
7029
|
this,
|
|
7072
7030
|
l instanceof mi ? l._getSelf() : l,
|
|
@@ -7075,7 +7033,7 @@ const Yr = function(l, e, t, i, s) {
|
|
|
7075
7033
|
i,
|
|
7076
7034
|
s
|
|
7077
7035
|
).input;
|
|
7078
|
-
},
|
|
7036
|
+
}, qr = function(l, e, t, i, s) {
|
|
7079
7037
|
let o = l.getValue();
|
|
7080
7038
|
const r = s.verticalNavigation || "editor", n = document.createElement("input");
|
|
7081
7039
|
if (n.setAttribute("type", "number"), typeof s.max < "u" && n.setAttribute("max", String(s.max)), typeof s.min < "u" && n.setAttribute("min", String(s.min)), typeof s.step < "u" && n.setAttribute("step", String(s.step)), n.style.padding = "4px", n.style.width = "100%", n.style.boxSizing = "border-box", s.elementAttributes && typeof s.elementAttributes == "object")
|
|
@@ -7124,7 +7082,7 @@ const Yr = function(l, e, t, i, s) {
|
|
|
7124
7082
|
break;
|
|
7125
7083
|
}
|
|
7126
7084
|
}), s.mask && wi(n, s), n;
|
|
7127
|
-
},
|
|
7085
|
+
}, Yr = function(l, e, t, i, s) {
|
|
7128
7086
|
const o = l.getElement();
|
|
7129
7087
|
if (!o)
|
|
7130
7088
|
return !1;
|
|
@@ -7178,7 +7136,7 @@ const Yr = function(l, e, t, i, s) {
|
|
|
7178
7136
|
}), o.addEventListener("blur", () => {
|
|
7179
7137
|
i();
|
|
7180
7138
|
}), p;
|
|
7181
|
-
},
|
|
7139
|
+
}, Qr = function(l, e, t, i, s) {
|
|
7182
7140
|
let o = l.getValue();
|
|
7183
7141
|
const r = document.createElement("input");
|
|
7184
7142
|
if (r.setAttribute("type", "range"), typeof s.max < "u" && r.setAttribute("max", String(s.max)), typeof s.min < "u" && r.setAttribute("min", String(s.min)), typeof s.step < "u" && r.setAttribute("step", String(s.step)), r.style.padding = "4px", r.style.width = "100%", r.style.boxSizing = "border-box", s.elementAttributes && typeof s.elementAttributes == "object")
|
|
@@ -7210,7 +7168,7 @@ const Yr = function(l, e, t, i, s) {
|
|
|
7210
7168
|
break;
|
|
7211
7169
|
}
|
|
7212
7170
|
}), r;
|
|
7213
|
-
},
|
|
7171
|
+
}, Zr = function(l, e, t, i, s) {
|
|
7214
7172
|
const o = this, r = l.getElement();
|
|
7215
7173
|
if (!r)
|
|
7216
7174
|
return !1;
|
|
@@ -7281,7 +7239,7 @@ const Yr = function(l, e, t, i, s) {
|
|
|
7281
7239
|
break;
|
|
7282
7240
|
}
|
|
7283
7241
|
}), d;
|
|
7284
|
-
},
|
|
7242
|
+
}, en = function(l, e, t, i, s) {
|
|
7285
7243
|
let o = l.getValue();
|
|
7286
7244
|
const r = s.verticalNavigation || "hybrid", n = String(o ?? ""), a = document.createElement("textarea");
|
|
7287
7245
|
let h = 0;
|
|
@@ -7327,7 +7285,7 @@ const Yr = function(l, e, t, i, s) {
|
|
|
7327
7285
|
break;
|
|
7328
7286
|
}
|
|
7329
7287
|
}), s.mask && wi(a, s), a;
|
|
7330
|
-
},
|
|
7288
|
+
}, tn = function(l, e, t, i, s) {
|
|
7331
7289
|
const o = l.getValue(), r = document.createElement("input"), n = s.tristate, a = typeof s.indeterminateValue > "u" ? null : s.indeterminateValue;
|
|
7332
7290
|
let h = !1;
|
|
7333
7291
|
const c = Object.keys(s).includes("trueValue"), d = Object.keys(s).includes("falseValue");
|
|
@@ -7357,7 +7315,7 @@ const Yr = function(l, e, t, i, s) {
|
|
|
7357
7315
|
}), r.addEventListener("keydown", (f) => {
|
|
7358
7316
|
f.keyCode === 13 && t(u(!1)), f.keyCode === 27 && i();
|
|
7359
7317
|
}), r;
|
|
7360
|
-
},
|
|
7318
|
+
}, sn = process.env.NODE_ENV === "development", on = function(l, e, t, i, s) {
|
|
7361
7319
|
const o = s.format, r = s.verticalNavigation || "editor", n = o ? typeof window < "u" && window.DateTime || typeof globalThis < "u" && globalThis.luxon?.DateTime : null;
|
|
7362
7320
|
let a, h = l.getValue();
|
|
7363
7321
|
const c = document.createElement("input");
|
|
@@ -7372,7 +7330,7 @@ const Yr = function(l, e, t, i, s) {
|
|
|
7372
7330
|
} else
|
|
7373
7331
|
c.setAttribute(f, s.elementAttributes[f]);
|
|
7374
7332
|
const d = String(h ?? "");
|
|
7375
|
-
o && n && d !== "" ? (n.isDateTime?.(h) ? a = h : o === "iso" ? a = n.fromISO(d) : a = n.fromFormat(d, o), h = a.toFormat("HH:mm")) : o && !n &&
|
|
7333
|
+
o && n && d !== "" ? (n.isDateTime?.(h) ? a = h : o === "iso" ? a = n.fromISO(d) : a = n.fromFormat(d, o), h = a.toFormat("HH:mm")) : o && !n && sn && console.error(
|
|
7376
7334
|
"Editor Error - 'time' editor 'format' param is dependent on luxon.js"
|
|
7377
7335
|
);
|
|
7378
7336
|
const p = String(h ?? "");
|
|
@@ -7422,19 +7380,19 @@ const Yr = function(l, e, t, i, s) {
|
|
|
7422
7380
|
break;
|
|
7423
7381
|
}
|
|
7424
7382
|
}), c;
|
|
7425
|
-
},
|
|
7426
|
-
adaptable:
|
|
7427
|
-
date:
|
|
7428
|
-
datetime:
|
|
7429
|
-
input:
|
|
7430
|
-
list:
|
|
7431
|
-
number:
|
|
7432
|
-
progress:
|
|
7433
|
-
range:
|
|
7434
|
-
star:
|
|
7435
|
-
textarea:
|
|
7436
|
-
tickCross:
|
|
7437
|
-
time:
|
|
7383
|
+
}, rn = {
|
|
7384
|
+
adaptable: Uo,
|
|
7385
|
+
date: Ko,
|
|
7386
|
+
datetime: qo,
|
|
7387
|
+
input: Yo,
|
|
7388
|
+
list: Jr,
|
|
7389
|
+
number: qr,
|
|
7390
|
+
progress: Yr,
|
|
7391
|
+
range: Qr,
|
|
7392
|
+
star: Zr,
|
|
7393
|
+
textarea: en,
|
|
7394
|
+
tickCross: tn,
|
|
7395
|
+
time: on
|
|
7438
7396
|
}, Qe = process.env.NODE_ENV === "development", Ge = class Ge extends R {
|
|
7439
7397
|
constructor(e) {
|
|
7440
7398
|
super(e), this.currentCell = !1, this.mouseClick = !1, this.recursionBlock = !1, this.invalidEdit = !1, this.editedCells = [], this.convertEmptyValues = !1, this.editors = Ge.editors, this.registerTableOption("editTriggerEvent", "focus"), this.registerTableOption("editorEmptyValue"), this.registerTableOption(
|
|
@@ -7821,9 +7779,9 @@ const Yr = function(l, e, t, i, s) {
|
|
|
7821
7779
|
t > -1 && this.editedCells.splice(t, 1);
|
|
7822
7780
|
}
|
|
7823
7781
|
};
|
|
7824
|
-
Ge.moduleName = "edit", Ge.editors =
|
|
7782
|
+
Ge.moduleName = "edit", Ge.editors = rn;
|
|
7825
7783
|
let Lt = Ge;
|
|
7826
|
-
const
|
|
7784
|
+
const nn = {}, ln = {
|
|
7827
7785
|
active: function() {
|
|
7828
7786
|
return this.options.pagination ? this.rowManager?.getDisplayRows(
|
|
7829
7787
|
this.rowManager.displayRows.length - 2
|
|
@@ -7849,7 +7807,7 @@ class Qi {
|
|
|
7849
7807
|
this.type = e, this.columns = t, this.component = i ?? !1, this.indent = s ?? 0;
|
|
7850
7808
|
}
|
|
7851
7809
|
}
|
|
7852
|
-
const
|
|
7810
|
+
const an = process.env.NODE_ENV === "development", fe = class fe extends R {
|
|
7853
7811
|
constructor(e) {
|
|
7854
7812
|
super(e), this.config = {}, this.cloneTableStyle = !0, this.colVisProp = "", this.colVisPropAttach = "", this.registerTableOption("htmlOutputConfig", !1), this.registerColumnOption("htmlOutput"), this.registerColumnOption("titleHtmlOutput");
|
|
7855
7813
|
}
|
|
@@ -8018,7 +7976,7 @@ const cn = process.env.NODE_ENV === "development", fe = class fe extends R {
|
|
|
8018
7976
|
"font-weight",
|
|
8019
7977
|
"font-family",
|
|
8020
7978
|
"font-size"
|
|
8021
|
-
]), e.length > 1e3 &&
|
|
7979
|
+
]), e.length > 1e3 && an && console.warn(
|
|
8022
7980
|
"It may take a long time to render an HTML table with more than 1000 rows"
|
|
8023
7981
|
), e.forEach((h, c) => {
|
|
8024
7982
|
let d;
|
|
@@ -8305,9 +8263,9 @@ const cn = process.env.NODE_ENV === "development", fe = class fe extends R {
|
|
|
8305
8263
|
}
|
|
8306
8264
|
}
|
|
8307
8265
|
};
|
|
8308
|
-
fe.moduleName = "export", fe.columnLookups =
|
|
8266
|
+
fe.moduleName = "export", fe.columnLookups = nn, fe.rowLookups = ln;
|
|
8309
8267
|
let zt = fe;
|
|
8310
|
-
const Zi = process.env.NODE_ENV === "development",
|
|
8268
|
+
const Zi = process.env.NODE_ENV === "development", hn = {
|
|
8311
8269
|
// not equal to
|
|
8312
8270
|
"!=": function(l, e, t, i) {
|
|
8313
8271
|
return e != l;
|
|
@@ -8968,9 +8926,9 @@ const Zi = process.env.NODE_ENV === "development", dn = {
|
|
|
8968
8926
|
}) : i = e.func(t), i;
|
|
8969
8927
|
}
|
|
8970
8928
|
};
|
|
8971
|
-
ee.moduleName = "filter", ee.filters =
|
|
8929
|
+
ee.moduleName = "filter", ee.filters = hn;
|
|
8972
8930
|
let Ft = ee;
|
|
8973
|
-
const
|
|
8931
|
+
const cn = process.env.NODE_ENV === "development", Ei = class Ei extends R {
|
|
8974
8932
|
constructor(e) {
|
|
8975
8933
|
super(e), this.leftColumns = [], this.rightColumns = [], this.initializationMode = "left", this.active = !1, this.blocked = !0, this.registerColumnOption("frozen");
|
|
8976
8934
|
}
|
|
@@ -9001,7 +8959,7 @@ const un = process.env.NODE_ENV === "development", Ei = class Ei extends R {
|
|
|
9001
8959
|
e.isGroup || (this.frozenCheck(e) ? (t.position = this.initializationMode, this.initializationMode === "left" ? this.leftColumns.push(e) : this.rightColumns.unshift(e), this.active = !0, e.modules.frozen = t) : this.initializationMode = "right");
|
|
9002
8960
|
}
|
|
9003
8961
|
frozenCheck(e) {
|
|
9004
|
-
return e.parent instanceof U && e.parent.isGroup && e.definition.frozen &&
|
|
8962
|
+
return e.parent instanceof U && e.parent.isGroup && e.definition.frozen && cn && console.warn(
|
|
9005
8963
|
"Frozen Column Error - Parent column group must be frozen, not individual columns or sub column groups"
|
|
9006
8964
|
), e.parent instanceof U && e.parent.isGroup ? this.frozenCheck(e.parent) : !!e.definition.frozen;
|
|
9007
8965
|
}
|
|
@@ -9183,7 +9141,7 @@ const es = process.env.NODE_ENV === "development", xi = class xi extends R {
|
|
|
9183
9141
|
};
|
|
9184
9142
|
xi.moduleName = "frozenRows";
|
|
9185
9143
|
let Ht = xi;
|
|
9186
|
-
class
|
|
9144
|
+
class dn {
|
|
9187
9145
|
constructor(e) {
|
|
9188
9146
|
return this._group = e, this.type = "GroupComponent", new Proxy(this, {
|
|
9189
9147
|
get: function(t, i) {
|
|
@@ -9243,10 +9201,10 @@ class pn {
|
|
|
9243
9201
|
return this._group.groupManager.table;
|
|
9244
9202
|
}
|
|
9245
9203
|
}
|
|
9246
|
-
const
|
|
9204
|
+
const un = process.env.NODE_ENV === "development", pn = x`<cx-icon-button
|
|
9247
9205
|
class="tabulator-group-toggle"
|
|
9248
9206
|
name="keyboard_arrow_down"
|
|
9249
|
-
></cx-icon-button>`,
|
|
9207
|
+
></cx-icon-button>`, fn = x`<div class="tabulator-group-level-indent"></div>`;
|
|
9250
9208
|
class Le {
|
|
9251
9209
|
constructor(e, t, i, s, o, r, n) {
|
|
9252
9210
|
this.groupManager = e, this.parent = t, this.key = s, this.level = i, this.field = o, this.hasSubGroups = e.groupIDLookups !== !1 && i < e.groupIDLookups.length - 1, this.addRow = this.hasSubGroups ? this._addRowToGroup : this._addRow, this.type = "group", this.old = n, this.rows = [], this.groups = {}, this.groupList = [], this.generator = r, this.element = !1, this.elementContents = !1, this.height = 0, this.outerHeight = 0, this.initialized = !1, this.heightInitialized = !1, this.calcs = {}, this.modules = {}, this.arrowElement = !1, this.visible = n ? n.visible : e.startOpen[i] === void 0 || e.startOpen[i] === null ? e.startOpen[0] : e.startOpen[i], this.component = null, this.createElements(), this.addBindings(), this.createValueGroups();
|
|
@@ -9265,7 +9223,7 @@ class Le {
|
|
|
9265
9223
|
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(
|
|
9266
9224
|
"role",
|
|
9267
9225
|
this.groupManager.table.options.rowGroupRole ?? "rowgroup"
|
|
9268
|
-
), this.arrowElement = L(
|
|
9226
|
+
), this.arrowElement = L(pn), this.groupManager.table.options.movableRows !== !1 && this.groupManager.table.modExists("moveRow") && this.groupManager.table.modules.moveRow.initializeGroupHeader(
|
|
9269
9227
|
this
|
|
9270
9228
|
);
|
|
9271
9229
|
}
|
|
@@ -9329,7 +9287,7 @@ class Le {
|
|
|
9329
9287
|
let s = i.querySelector(
|
|
9330
9288
|
".tabulator-group-level-indent"
|
|
9331
9289
|
);
|
|
9332
|
-
s || (s = L(
|
|
9290
|
+
s || (s = L(fn), i.insertBefore(s, i.firstChild)), s.style.marginLeft = `${(this.level + 1) * (this.groupManager.table.options.groupIndent ?? 36)}px`, s.dataset.groupLevel = this.level.toString();
|
|
9333
9291
|
}
|
|
9334
9292
|
}
|
|
9335
9293
|
insertRow(e, t, i) {
|
|
@@ -9350,7 +9308,7 @@ class Le {
|
|
|
9350
9308
|
}
|
|
9351
9309
|
// update row data to match grouping constraints
|
|
9352
9310
|
conformRowData(e) {
|
|
9353
|
-
return this.field ? e[this.field] = this.key :
|
|
9311
|
+
return this.field ? e[this.field] = this.key : un && console.warn(
|
|
9354
9312
|
"Data Conforming Error - Cannot conform row data to match new group as groupBy is a function"
|
|
9355
9313
|
), this.parent && (e = this.parent.conformRowData(e)), e;
|
|
9356
9314
|
}
|
|
@@ -9572,7 +9530,7 @@ class Le {
|
|
|
9572
9530
|
}
|
|
9573
9531
|
// ////////////// Object Generation /////////////////
|
|
9574
9532
|
getComponent() {
|
|
9575
|
-
return this.component ??= new
|
|
9533
|
+
return this.component ??= new dn(this), this.component;
|
|
9576
9534
|
}
|
|
9577
9535
|
}
|
|
9578
9536
|
const gt = process.env.NODE_ENV === "development", Ri = class Ri extends R {
|
|
@@ -9939,7 +9897,7 @@ const gt = process.env.NODE_ENV === "development", Ri = class Ri extends R {
|
|
|
9939
9897
|
};
|
|
9940
9898
|
Ri.moduleName = "groupRows";
|
|
9941
9899
|
let Pt = Ri;
|
|
9942
|
-
const
|
|
9900
|
+
const gn = {
|
|
9943
9901
|
cellEdit: function(l) {
|
|
9944
9902
|
"setValueProcessData" in l.component && (l.component.setValueProcessData(l.data.newValue), l.component.cellRendered());
|
|
9945
9903
|
},
|
|
@@ -9966,7 +9924,7 @@ const bn = {
|
|
|
9966
9924
|
), this.table.rowManager.regenerateRowPositions(), this.table.rowManager.reRenderInPosition());
|
|
9967
9925
|
}
|
|
9968
9926
|
}
|
|
9969
|
-
},
|
|
9927
|
+
}, mn = {
|
|
9970
9928
|
cellEdit: function(l) {
|
|
9971
9929
|
"setValueProcessData" in l.component && (l.component.setValueProcessData(l.data.oldValue), l.component.cellRendered());
|
|
9972
9930
|
},
|
|
@@ -9993,7 +9951,7 @@ const bn = {
|
|
|
9993
9951
|
), this.table.rowManager.regenerateRowPositions(), this.table.rowManager.reRenderInPosition());
|
|
9994
9952
|
}
|
|
9995
9953
|
}
|
|
9996
|
-
},
|
|
9954
|
+
}, bn = {
|
|
9997
9955
|
redo: function(l) {
|
|
9998
9956
|
let e;
|
|
9999
9957
|
this.table.options.history && this.table.modExists("history") && this.table.modExists("edit") && (e = this.table.modules.edit?.currentCell, e || (l.preventDefault(), this.table.modules.history?.redo()));
|
|
@@ -10002,13 +9960,13 @@ const bn = {
|
|
|
10002
9960
|
let e;
|
|
10003
9961
|
this.table.options.history && this.table.modExists("history") && this.table.modExists("edit") && (e = this.table.modules.edit?.currentCell, e || (l.preventDefault(), this.table.modules.history?.undo()));
|
|
10004
9962
|
}
|
|
10005
|
-
},
|
|
9963
|
+
}, wn = {
|
|
10006
9964
|
redo: ["ctrl + 89", "meta + 89"],
|
|
10007
9965
|
undo: ["ctrl + 90", "meta + 90"]
|
|
10008
|
-
},
|
|
9966
|
+
}, vn = {
|
|
10009
9967
|
keybindings: {
|
|
10010
|
-
actions:
|
|
10011
|
-
bindings:
|
|
9968
|
+
actions: bn,
|
|
9969
|
+
bindings: wn
|
|
10012
9970
|
}
|
|
10013
9971
|
}, ts = process.env.NODE_ENV === "development", se = class se extends R {
|
|
10014
9972
|
constructor(e) {
|
|
@@ -10128,9 +10086,9 @@ const bn = {
|
|
|
10128
10086
|
});
|
|
10129
10087
|
}
|
|
10130
10088
|
};
|
|
10131
|
-
se.moduleName = "history", se.moduleExtensions =
|
|
10089
|
+
se.moduleName = "history", se.moduleExtensions = vn, se.undoers = mn, se.redoers = gn;
|
|
10132
10090
|
let At = se;
|
|
10133
|
-
const
|
|
10091
|
+
const yn = process.env.NODE_ENV === "development", Si = class Si extends R {
|
|
10134
10092
|
constructor(e) {
|
|
10135
10093
|
super(e), this.fieldIndex = [], this.hasIndex = !1;
|
|
10136
10094
|
}
|
|
@@ -10138,7 +10096,7 @@ const En = process.env.NODE_ENV === "development", Si = class Si extends R {
|
|
|
10138
10096
|
this.tableElementCheck();
|
|
10139
10097
|
}
|
|
10140
10098
|
tableElementCheck() {
|
|
10141
|
-
this.table.originalElement?.tagName === "TABLE" && (this.table.originalElement.childNodes.length ? this.parseTable() :
|
|
10099
|
+
this.table.originalElement?.tagName === "TABLE" && (this.table.originalElement.childNodes.length ? this.parseTable() : yn && console.warn(
|
|
10142
10100
|
"Unable to parse data from empty table tag, Tabulator should be initialized on a div tag unless importing data from a table element."
|
|
10143
10101
|
));
|
|
10144
10102
|
}
|
|
@@ -10211,10 +10169,10 @@ const En = process.env.NODE_ENV === "development", Si = class Si extends R {
|
|
|
10211
10169
|
};
|
|
10212
10170
|
Si.moduleName = "htmlTableImport";
|
|
10213
10171
|
let _t = Si;
|
|
10214
|
-
function
|
|
10172
|
+
function Cn(l) {
|
|
10215
10173
|
return l;
|
|
10216
10174
|
}
|
|
10217
|
-
function
|
|
10175
|
+
function En(l) {
|
|
10218
10176
|
const e = [];
|
|
10219
10177
|
let t = 0, i = 0, s = !1;
|
|
10220
10178
|
for (let o = 0; o < l.length; o++) {
|
|
@@ -10245,15 +10203,15 @@ function Rn(l) {
|
|
|
10245
10203
|
}
|
|
10246
10204
|
return e;
|
|
10247
10205
|
}
|
|
10248
|
-
const
|
|
10249
|
-
async function
|
|
10206
|
+
const xn = process.env.NODE_ENV === "development";
|
|
10207
|
+
async function Rn(l) {
|
|
10250
10208
|
try {
|
|
10251
10209
|
return JSON.parse(l);
|
|
10252
10210
|
} catch (e) {
|
|
10253
|
-
throw
|
|
10211
|
+
throw xn && console.warn("JSON Import Error - File contents is invalid JSON", e), new Error("Invalid JSON format");
|
|
10254
10212
|
}
|
|
10255
10213
|
}
|
|
10256
|
-
const is = process.env.NODE_ENV === "development",
|
|
10214
|
+
const is = process.env.NODE_ENV === "development", Sn = function(l) {
|
|
10257
10215
|
const t = this.dependencyRegistry.lookup("XLSX");
|
|
10258
10216
|
if (!t)
|
|
10259
10217
|
return is && console.warn("XLSX library not found in dependency registry"), [];
|
|
@@ -10262,11 +10220,11 @@ const is = process.env.NODE_ENV === "development", Mn = function(l) {
|
|
|
10262
10220
|
return is && console.warn("XLSX workbook contains no sheets"), [];
|
|
10263
10221
|
const s = i.Sheets[i.SheetNames[0]];
|
|
10264
10222
|
return t.utils.sheet_to_json(s, { header: 1 });
|
|
10265
|
-
},
|
|
10266
|
-
array:
|
|
10267
|
-
csv:
|
|
10268
|
-
json:
|
|
10269
|
-
xlsx:
|
|
10223
|
+
}, Tn = {
|
|
10224
|
+
array: Cn,
|
|
10225
|
+
csv: En,
|
|
10226
|
+
json: Rn,
|
|
10227
|
+
xlsx: Sn
|
|
10270
10228
|
}, Ie = process.env.NODE_ENV === "development", je = class je extends R {
|
|
10271
10229
|
constructor(e) {
|
|
10272
10230
|
super(e), this.registerTableOption("importFormat"), this.registerTableOption("importReader", "text"), this.registerTableOption("importHeaderTransform"), this.registerTableOption("importValueTransform"), this.registerTableOption("importDataValidator"), this.registerTableOption("importFileValidator");
|
|
@@ -10423,7 +10381,7 @@ const is = process.env.NODE_ENV === "development", Mn = function(l) {
|
|
|
10423
10381
|
return this.dispatch("import-imported", e), this.dispatchExternal("importImported", e), this.table.dataLoader?.clearAlert(), this.table.setData(e);
|
|
10424
10382
|
}
|
|
10425
10383
|
};
|
|
10426
|
-
je.moduleName = "import", je.importers =
|
|
10384
|
+
je.moduleName = "import", je.importers = Tn;
|
|
10427
10385
|
let Nt = je;
|
|
10428
10386
|
const Ti = class Ti extends R {
|
|
10429
10387
|
constructor(e) {
|
|
@@ -10609,7 +10567,7 @@ const Ti = class Ti extends R {
|
|
|
10609
10567
|
};
|
|
10610
10568
|
Ti.moduleName = "interaction";
|
|
10611
10569
|
let Vt = Ti;
|
|
10612
|
-
const
|
|
10570
|
+
const Mn = {
|
|
10613
10571
|
keyBlock: function(l) {
|
|
10614
10572
|
l.stopPropagation(), l.preventDefault();
|
|
10615
10573
|
},
|
|
@@ -10657,7 +10615,7 @@ const Dn = {
|
|
|
10657
10615
|
const e = this.table.rowManager;
|
|
10658
10616
|
e && (l.preventDefault(), e.displayRowsCount && e.scrollToRow(e.getDisplayRows()[0]), this.table.element.focus());
|
|
10659
10617
|
}
|
|
10660
|
-
},
|
|
10618
|
+
}, kn = {
|
|
10661
10619
|
navDown: 40,
|
|
10662
10620
|
navLeft: 37,
|
|
10663
10621
|
navNext: 9,
|
|
@@ -10668,7 +10626,7 @@ const Dn = {
|
|
|
10668
10626
|
scrollPageUp: 33,
|
|
10669
10627
|
scrollToEnd: 35,
|
|
10670
10628
|
scrollToStart: 36
|
|
10671
|
-
},
|
|
10629
|
+
}, Dn = process.env.NODE_ENV === "development", ge = class ge extends R {
|
|
10672
10630
|
constructor(e) {
|
|
10673
10631
|
super(e), this.watchKeys = null, this.pressedKeys = null, this.keyupBinding = !1, this.keydownBinding = !1, this.registerTableOption("keybindings", {}), this.registerTableOption("tabEndNewRow", !1);
|
|
10674
10632
|
}
|
|
@@ -10682,7 +10640,7 @@ const Dn = {
|
|
|
10682
10640
|
(Array.isArray(i) ? i : [i]).forEach((o) => {
|
|
10683
10641
|
this.mapBinding(t, o);
|
|
10684
10642
|
});
|
|
10685
|
-
})) :
|
|
10643
|
+
})) : Dn && console.warn("Key Binding Error - no such action:", t);
|
|
10686
10644
|
}
|
|
10687
10645
|
mapBinding(e, t) {
|
|
10688
10646
|
const i = {
|
|
@@ -10735,7 +10693,7 @@ const Dn = {
|
|
|
10735
10693
|
}), i && t.action.call(this, e), !0) : !1;
|
|
10736
10694
|
}
|
|
10737
10695
|
};
|
|
10738
|
-
ge.moduleName = "keybindings", ge.bindings =
|
|
10696
|
+
ge.moduleName = "keybindings", ge.bindings = kn, ge.actions = Mn;
|
|
10739
10697
|
let Bt = ge;
|
|
10740
10698
|
const Mi = class Mi extends R {
|
|
10741
10699
|
constructor(e) {
|
|
@@ -11020,7 +10978,7 @@ const ki = class ki extends R {
|
|
|
11020
10978
|
};
|
|
11021
10979
|
ki.moduleName = "moveColumn";
|
|
11022
10980
|
let Wt = ki;
|
|
11023
|
-
const
|
|
10981
|
+
const Ln = {
|
|
11024
10982
|
add: function(l, e, t) {
|
|
11025
10983
|
return l && this.table.addRow(l.getData("")), !0;
|
|
11026
10984
|
},
|
|
@@ -11033,7 +10991,7 @@ const Fn = {
|
|
|
11033
10991
|
update: function(l, e, t) {
|
|
11034
10992
|
return e && l ? (e.update(l.getData("")), !0) : !1;
|
|
11035
10993
|
}
|
|
11036
|
-
},
|
|
10994
|
+
}, zn = {
|
|
11037
10995
|
delete: function(l, e, t) {
|
|
11038
10996
|
l && l.delete();
|
|
11039
10997
|
}
|
|
@@ -11379,9 +11337,9 @@ const Fn = {
|
|
|
11379
11337
|
}
|
|
11380
11338
|
}
|
|
11381
11339
|
};
|
|
11382
|
-
xe.moduleName = "moveRow", xe.senders =
|
|
11340
|
+
xe.moduleName = "moveRow", xe.senders = zn, xe.receivers = Ln;
|
|
11383
11341
|
let Gt = xe;
|
|
11384
|
-
const
|
|
11342
|
+
const Fn = {}, On = process.env.NODE_ENV === "development", He = class He extends R {
|
|
11385
11343
|
constructor(e) {
|
|
11386
11344
|
super(e), this.allowedTypes = ["", "data", "edit", "clipboard", "import"], this.enabled = !0, this.registerColumnOption("mutator"), this.registerColumnOption("mutatorParams"), this.registerColumnOption("mutatorData"), this.registerColumnOption("mutatorDataParams"), this.registerColumnOption("mutatorEdit"), this.registerColumnOption("mutatorEditParams"), this.registerColumnOption("mutatorClipboard"), this.registerColumnOption("mutatorClipboardParams"), this.registerColumnOption("mutatorImport"), this.registerColumnOption("mutatorImportParams"), this.registerColumnOption("mutateLink");
|
|
11387
11345
|
}
|
|
@@ -11407,7 +11365,7 @@ const Hn = {}, Pn = process.env.NODE_ENV === "development", He = class He extend
|
|
|
11407
11365
|
let t = !1;
|
|
11408
11366
|
switch (typeof e) {
|
|
11409
11367
|
case "string":
|
|
11410
|
-
He.mutators[e] ? t = He.mutators[e] :
|
|
11368
|
+
He.mutators[e] ? t = He.mutators[e] : On && console.warn(
|
|
11411
11369
|
"Mutator Error - No such mutator found, ignoring: ",
|
|
11412
11370
|
e
|
|
11413
11371
|
);
|
|
@@ -11470,7 +11428,7 @@ const Hn = {}, Pn = process.env.NODE_ENV === "development", He = class He extend
|
|
|
11470
11428
|
this.enabled = !1;
|
|
11471
11429
|
}
|
|
11472
11430
|
};
|
|
11473
|
-
He.moduleName = "mutator", He.mutators =
|
|
11431
|
+
He.moduleName = "mutator", He.mutators = Fn;
|
|
11474
11432
|
let jt = He;
|
|
11475
11433
|
const Di = class Di extends R {
|
|
11476
11434
|
constructor(e) {
|
|
@@ -11761,7 +11719,7 @@ const Di = class Di extends R {
|
|
|
11761
11719
|
};
|
|
11762
11720
|
Di.moduleName = "page";
|
|
11763
11721
|
let $t = Di;
|
|
11764
|
-
const ss = process.env.NODE_ENV === "development",
|
|
11722
|
+
const ss = process.env.NODE_ENV === "development", Hn = {
|
|
11765
11723
|
cookie: function(l, e) {
|
|
11766
11724
|
let t = document.cookie;
|
|
11767
11725
|
const i = l + "-" + e, s = t.indexOf(i + "=");
|
|
@@ -11789,7 +11747,7 @@ const ss = process.env.NODE_ENV === "development", An = {
|
|
|
11789
11747
|
return ss && console.error("Failed to parse localStorage data:", i), !1;
|
|
11790
11748
|
}
|
|
11791
11749
|
}
|
|
11792
|
-
},
|
|
11750
|
+
}, Pn = {
|
|
11793
11751
|
cookie: function(l, e, t) {
|
|
11794
11752
|
const i = /* @__PURE__ */ new Date();
|
|
11795
11753
|
i.setDate(i.getDate() + 1e4), document.cookie = l + "-" + e + "=" + encodeURIComponent(JSON.stringify(t)) + "; expires=" + i.toUTCString();
|
|
@@ -12004,7 +11962,7 @@ const ss = process.env.NODE_ENV === "development", An = {
|
|
|
12004
11962
|
}), t;
|
|
12005
11963
|
}
|
|
12006
11964
|
};
|
|
12007
|
-
j.moduleName = "persistence", j.moduleInitOrder = -10, j.readers =
|
|
11965
|
+
j.moduleName = "persistence", j.moduleInitOrder = -10, j.readers = Hn, j.writers = Pn;
|
|
12008
11966
|
let Ut = j;
|
|
12009
11967
|
const Li = class Li extends R {
|
|
12010
11968
|
constructor(e) {
|
|
@@ -12652,7 +12610,7 @@ const Pi = class Pi extends R {
|
|
|
12652
12610
|
};
|
|
12653
12611
|
Pi.moduleName = "resizeTable";
|
|
12654
12612
|
let Qt = Pi;
|
|
12655
|
-
function
|
|
12613
|
+
function An(l) {
|
|
12656
12614
|
const e = document.createElement("div"), t = l.getRow()._row.modules.responsiveLayout;
|
|
12657
12615
|
e.classList.add("tabulator-responsive-collapse-toggle"), e.innerHTML = `<svg class='tabulator-responsive-collapse-toggle-open' viewBox="0 0 24 24">
|
|
12658
12616
|
<line x1="7" y1="12" x2="17" y2="12" fill="none" stroke-width="3" stroke-linecap="round" />
|
|
@@ -12670,10 +12628,10 @@ function Nn(l) {
|
|
|
12670
12628
|
s.stopImmediatePropagation(), i(!t.open), l.getTable()?.rowManager?.adjustTableSize();
|
|
12671
12629
|
}), i(t.open), e;
|
|
12672
12630
|
}
|
|
12673
|
-
const
|
|
12631
|
+
const _n = {
|
|
12674
12632
|
format: {
|
|
12675
12633
|
formatters: {
|
|
12676
|
-
responsiveCollapse:
|
|
12634
|
+
responsiveCollapse: An
|
|
12677
12635
|
}
|
|
12678
12636
|
}
|
|
12679
12637
|
}, st = class st extends R {
|
|
@@ -12835,11 +12793,11 @@ const Vn = {
|
|
|
12835
12793
|
}), Object.keys(e).length ? t : "";
|
|
12836
12794
|
}
|
|
12837
12795
|
};
|
|
12838
|
-
st.moduleName = "responsiveLayout", st.moduleExtensions =
|
|
12796
|
+
st.moduleName = "responsiveLayout", st.moduleExtensions = _n;
|
|
12839
12797
|
let Zt = st;
|
|
12840
|
-
const
|
|
12841
|
-
function
|
|
12842
|
-
const t = L(
|
|
12798
|
+
const Nn = x`<cx-checkbox></cx-checkbox>`;
|
|
12799
|
+
function Vn(l, e) {
|
|
12800
|
+
const t = L(Nn);
|
|
12843
12801
|
let i = t, s = !1;
|
|
12844
12802
|
t.setAttribute("aria-label", "Select Row"), t.size = "small";
|
|
12845
12803
|
const o = this.table;
|
|
@@ -12859,10 +12817,10 @@ function In(l, e) {
|
|
|
12859
12817
|
}), o.modules.selectRow?.registerHeaderSelectCheckbox(t);
|
|
12860
12818
|
return i;
|
|
12861
12819
|
}
|
|
12862
|
-
const
|
|
12820
|
+
const Bn = {
|
|
12863
12821
|
format: {
|
|
12864
12822
|
formatters: {
|
|
12865
|
-
rowSelection:
|
|
12823
|
+
rowSelection: Vn
|
|
12866
12824
|
}
|
|
12867
12825
|
}
|
|
12868
12826
|
}, rs = process.env.NODE_ENV === "development", ot = class ot extends R {
|
|
@@ -13088,9 +13046,9 @@ const Wn = {
|
|
|
13088
13046
|
this._deselectRow(s, !0);
|
|
13089
13047
|
}
|
|
13090
13048
|
};
|
|
13091
|
-
ot.moduleName = "selectRow", ot.moduleExtensions =
|
|
13049
|
+
ot.moduleName = "selectRow", ot.moduleExtensions = Bn;
|
|
13092
13050
|
let ei = ot;
|
|
13093
|
-
const
|
|
13051
|
+
const In = {
|
|
13094
13052
|
range: function(l) {
|
|
13095
13053
|
if (!l || l.length === 0)
|
|
13096
13054
|
return [];
|
|
@@ -13110,7 +13068,7 @@ const Gn = {
|
|
|
13110
13068
|
}
|
|
13111
13069
|
return e;
|
|
13112
13070
|
}
|
|
13113
|
-
},
|
|
13071
|
+
}, Wn = {
|
|
13114
13072
|
range: function(l) {
|
|
13115
13073
|
const e = [], t = [], i = this.table.modules.selectRange.activeRange;
|
|
13116
13074
|
let s = !1, o, r, n, a, h;
|
|
@@ -13132,16 +13090,16 @@ const Gn = {
|
|
|
13132
13090
|
}
|
|
13133
13091
|
return !1;
|
|
13134
13092
|
}
|
|
13135
|
-
},
|
|
13093
|
+
}, Gn = {
|
|
13136
13094
|
range: function() {
|
|
13137
13095
|
const l = this.modules.selectRange.selectedColumns();
|
|
13138
13096
|
return this.columnManager?.rowHeader && l.unshift(this.columnManager.rowHeader), l;
|
|
13139
13097
|
}
|
|
13140
|
-
},
|
|
13098
|
+
}, jn = process.env.NODE_ENV === "development", $n = {
|
|
13141
13099
|
range: function() {
|
|
13142
|
-
return this.modules?.selectRange ? this.modules.selectRange.selectedRows() : (
|
|
13100
|
+
return this.modules?.selectRange ? this.modules.selectRange.selectedRows() : (jn && console.warn("SelectRange module not loaded"), []);
|
|
13143
13101
|
}
|
|
13144
|
-
},
|
|
13102
|
+
}, Un = {
|
|
13145
13103
|
rangeExpandDown: function(l) {
|
|
13146
13104
|
this.dispatch("keybinding-nav-range", l, "down", !1, !0);
|
|
13147
13105
|
},
|
|
@@ -13178,7 +13136,7 @@ const Gn = {
|
|
|
13178
13136
|
rangeJumpUp: function(l) {
|
|
13179
13137
|
this.dispatch("keybinding-nav-range", l, "up", !0, !1);
|
|
13180
13138
|
}
|
|
13181
|
-
},
|
|
13139
|
+
}, Xn = {
|
|
13182
13140
|
rangeExpandDown: "shift + 40",
|
|
13183
13141
|
rangeExpandJumpDown: ["ctrl + shift + 40", "meta + shift + 40"],
|
|
13184
13142
|
rangeExpandJumpLeft: ["ctrl + shift + 37", "meta + shift + 37"],
|
|
@@ -13191,21 +13149,21 @@ const Gn = {
|
|
|
13191
13149
|
rangeJumpLeft: ["ctrl + 37", "meta + 37"],
|
|
13192
13150
|
rangeJumpRight: ["ctrl + 39", "meta + 39"],
|
|
13193
13151
|
rangeJumpUp: ["ctrl + 38", "meta + 38"]
|
|
13194
|
-
},
|
|
13152
|
+
}, Kn = {
|
|
13195
13153
|
clipboard: {
|
|
13196
|
-
pasteActions:
|
|
13197
|
-
pasteParsers:
|
|
13154
|
+
pasteActions: In,
|
|
13155
|
+
pasteParsers: Wn
|
|
13198
13156
|
},
|
|
13199
13157
|
export: {
|
|
13200
|
-
columnLookups:
|
|
13201
|
-
rowLookups:
|
|
13158
|
+
columnLookups: Gn,
|
|
13159
|
+
rowLookups: $n
|
|
13202
13160
|
},
|
|
13203
13161
|
keybindings: {
|
|
13204
|
-
actions:
|
|
13205
|
-
bindings:
|
|
13162
|
+
actions: Un,
|
|
13163
|
+
bindings: Xn
|
|
13206
13164
|
}
|
|
13207
13165
|
};
|
|
13208
|
-
class
|
|
13166
|
+
class Jn {
|
|
13209
13167
|
constructor(e) {
|
|
13210
13168
|
return this._range = e, new Proxy(this, {
|
|
13211
13169
|
get: function(t, i) {
|
|
@@ -13270,7 +13228,7 @@ class Yn {
|
|
|
13270
13228
|
}
|
|
13271
13229
|
}
|
|
13272
13230
|
const ns = process.env.NODE_ENV === "development";
|
|
13273
|
-
class
|
|
13231
|
+
class qn extends N {
|
|
13274
13232
|
constructor(e, t, i, s) {
|
|
13275
13233
|
super(e), this.rangeManager = t, this.element = null, this.initialized = !1, this.initializing = {
|
|
13276
13234
|
end: !1,
|
|
@@ -13396,7 +13354,7 @@ class Qn extends N {
|
|
|
13396
13354
|
return t.length ? (i.start = t[0], i.end = t.at(-1)) : ns && console.warn("No bounds defined on range"), i;
|
|
13397
13355
|
}
|
|
13398
13356
|
getComponent() {
|
|
13399
|
-
return this.component ??= new
|
|
13357
|
+
return this.component ??= new Jn(this), this.component;
|
|
13400
13358
|
}
|
|
13401
13359
|
destroy(e) {
|
|
13402
13360
|
this.destroyed = !0, this.element && this.element.remove(), e && this.rangeManager.rangeRemoved(this), this.initialized && this.dispatchExternal("rangeRemoved", this.getComponent());
|
|
@@ -13867,7 +13825,7 @@ const ye = process.env.NODE_ENV === "development", $e = class $e extends R {
|
|
|
13867
13825
|
const s = this.ranges.shift();
|
|
13868
13826
|
s && s.destroy(!1);
|
|
13869
13827
|
}
|
|
13870
|
-
const i = new
|
|
13828
|
+
const i = new qn(this.table, this, e, t);
|
|
13871
13829
|
return this.activeRange = i, this.ranges.push(i), this.rangeContainer && i.element && this.rangeContainer.appendChild(i.element), i;
|
|
13872
13830
|
}
|
|
13873
13831
|
resetRanges() {
|
|
@@ -13900,9 +13858,9 @@ const ye = process.env.NODE_ENV === "development", $e = class $e extends R {
|
|
|
13900
13858
|
return e == null || e === "";
|
|
13901
13859
|
}
|
|
13902
13860
|
};
|
|
13903
|
-
$e.moduleName = "selectRange", $e.moduleInitOrder = 1, $e.moduleExtensions =
|
|
13861
|
+
$e.moduleName = "selectRange", $e.moduleInitOrder = 1, $e.moduleExtensions = Kn;
|
|
13904
13862
|
let ti = $e;
|
|
13905
|
-
function
|
|
13863
|
+
function Yn(l, e, t, i, s, o, r) {
|
|
13906
13864
|
const n = r.alignEmptyValues;
|
|
13907
13865
|
let a = 0;
|
|
13908
13866
|
if (!l && l !== 0)
|
|
@@ -13940,7 +13898,7 @@ function Zn(l, e, t, i, s, o, r) {
|
|
|
13940
13898
|
}
|
|
13941
13899
|
return (n === "top" && o === "desc" || n === "bottom" && o === "asc") && (a *= -1), a;
|
|
13942
13900
|
}
|
|
13943
|
-
function
|
|
13901
|
+
function Qn(l, e, t, i, s, o, r) {
|
|
13944
13902
|
const n = r.type || "length", a = r.alignEmptyValues;
|
|
13945
13903
|
let h = 0;
|
|
13946
13904
|
const c = this.table;
|
|
@@ -13988,10 +13946,10 @@ function el(l, e, t, i, s, o, r) {
|
|
|
13988
13946
|
return n === "string" ? String(p(l)).toLowerCase().localeCompare(String(p(e)).toLowerCase()) : p(e) - p(l);
|
|
13989
13947
|
return (a === "top" && o === "desc" || a === "bottom" && o === "asc") && (h *= -1), h;
|
|
13990
13948
|
}
|
|
13991
|
-
function
|
|
13949
|
+
function Zn(l, e, t, i, s, o, r) {
|
|
13992
13950
|
return (l === !0 || l === "true" || l === "True" || l === 1 ? 1 : 0) - (e === !0 || e === "true" || e === "True" || e === 1 ? 1 : 0);
|
|
13993
13951
|
}
|
|
13994
|
-
const
|
|
13952
|
+
const el = process.env.NODE_ENV === "development";
|
|
13995
13953
|
function vi(l, e, t, i, s, o, r) {
|
|
13996
13954
|
const { alignEmptyValues: n, format: a = "dd/MM/yyyy HH:mm:ss" } = r || {}, h = this.table.dependencyRegistry.lookup(
|
|
13997
13955
|
["luxon", "DateTime"],
|
|
@@ -14009,17 +13967,17 @@ function vi(l, e, t, i, s, o, r) {
|
|
|
14009
13967
|
}
|
|
14010
13968
|
return (n === "top" && o === "desc" || n === "bottom" && o === "asc") && (c *= -1), c;
|
|
14011
13969
|
} else
|
|
14012
|
-
return
|
|
13970
|
+
return el && console.error("Sort Error - 'datetime' sorter is dependent on luxon.js"), 0;
|
|
14013
13971
|
}
|
|
14014
|
-
function
|
|
13972
|
+
function tl(l, e, t, i, s, o, r) {
|
|
14015
13973
|
const n = r ?? {};
|
|
14016
13974
|
return n.format || (n.format = "dd/MM/yyyy"), vi.call(this, l, e, t, i, s, o, n);
|
|
14017
13975
|
}
|
|
14018
|
-
function
|
|
13976
|
+
function il(l, e, t, i, s, o, r) {
|
|
14019
13977
|
const n = (c) => c === null || typeof c > "u" || c === "", a = n(l) ? 0 : 1, h = n(e) ? 0 : 1;
|
|
14020
13978
|
return a - h;
|
|
14021
13979
|
}
|
|
14022
|
-
function
|
|
13980
|
+
function sl(l, e, t, i, s, o, r) {
|
|
14023
13981
|
const n = r ?? {}, a = n.alignEmptyValues, h = n.decimalSeparator, c = n.thousandSeparator;
|
|
14024
13982
|
let d = 0, p = String(l), u = String(e);
|
|
14025
13983
|
c && (p = p.split(c).join(""), u = u.split(c).join("")), h && (p = p.split(h).join("."), u = u.split(h).join("."));
|
|
@@ -14032,7 +13990,7 @@ function rl(l, e, t, i, s, o, r) {
|
|
|
14032
13990
|
return f - m;
|
|
14033
13991
|
return (a === "top" && o === "desc" || a === "bottom" && o === "asc") && (d *= -1), d;
|
|
14034
13992
|
}
|
|
14035
|
-
function
|
|
13993
|
+
function ol(l, e, t, i, s, o, r = {}) {
|
|
14036
13994
|
const n = r.alignEmptyValues;
|
|
14037
13995
|
let a = 0, h;
|
|
14038
13996
|
const c = (d) => d == null || d === "";
|
|
@@ -14053,21 +14011,21 @@ function nl(l, e, t, i, s, o, r = {}) {
|
|
|
14053
14011
|
}
|
|
14054
14012
|
return (n === "top" && o === "desc" || n === "bottom" && o === "asc") && (a *= -1), a;
|
|
14055
14013
|
}
|
|
14056
|
-
function
|
|
14014
|
+
function rl(l, e, t, i, s, o, r) {
|
|
14057
14015
|
const n = r ?? {}, a = n.format ? n : { ...n, format: "HH:mm" };
|
|
14058
14016
|
return vi.call(this, l, e, t, i, s, o, a);
|
|
14059
14017
|
}
|
|
14060
|
-
const
|
|
14061
|
-
alphanum:
|
|
14062
|
-
array:
|
|
14063
|
-
boolean:
|
|
14064
|
-
date:
|
|
14018
|
+
const nl = {
|
|
14019
|
+
alphanum: Yn,
|
|
14020
|
+
array: Qn,
|
|
14021
|
+
boolean: Zn,
|
|
14022
|
+
date: tl,
|
|
14065
14023
|
datetime: vi,
|
|
14066
|
-
exists:
|
|
14067
|
-
number:
|
|
14068
|
-
string:
|
|
14069
|
-
time:
|
|
14070
|
-
}, ls = process.env.NODE_ENV === "development",
|
|
14024
|
+
exists: il,
|
|
14025
|
+
number: sl,
|
|
14026
|
+
string: ol,
|
|
14027
|
+
time: rl
|
|
14028
|
+
}, ls = process.env.NODE_ENV === "development", ll = {
|
|
14071
14029
|
asc: "ascending",
|
|
14072
14030
|
desc: "descending",
|
|
14073
14031
|
none: "none"
|
|
@@ -14263,7 +14221,7 @@ const al = {
|
|
|
14263
14221
|
}
|
|
14264
14222
|
// set the column header sort direction
|
|
14265
14223
|
setColumnHeader(e, t) {
|
|
14266
|
-
e.modules.sort.dir = t, e.getElement().setAttribute("aria-sort",
|
|
14224
|
+
e.modules.sort.dir = t, e.getElement().setAttribute("aria-sort", ll[t]), this.setColumnHeaderSortIcon(e, t);
|
|
14267
14225
|
}
|
|
14268
14226
|
setColumnHeaderSortIcon(e, t) {
|
|
14269
14227
|
const i = e.modules.sort.element;
|
|
@@ -14319,9 +14277,9 @@ const al = {
|
|
|
14319
14277
|
return 0;
|
|
14320
14278
|
}
|
|
14321
14279
|
};
|
|
14322
|
-
Re.moduleName = "sort", Re.sorters =
|
|
14280
|
+
Re.moduleName = "sort", Re.sorters = nl;
|
|
14323
14281
|
let ii = Re;
|
|
14324
|
-
class
|
|
14282
|
+
class al {
|
|
14325
14283
|
constructor(e, t) {
|
|
14326
14284
|
this.columnCount = e, this.rowCount = t, this.columnString = [], this.columns = [], this.rows = [];
|
|
14327
14285
|
}
|
|
@@ -14410,7 +14368,7 @@ class Cs {
|
|
|
14410
14368
|
}
|
|
14411
14369
|
class as extends N {
|
|
14412
14370
|
constructor(e, t) {
|
|
14413
|
-
super(e.table), this.spreadsheetManager = e, this.definition = t, this.title = this.definition.title || "", this.key = this.definition.key || this.definition.title || "", this.rowCount = this.definition.rows, this.columnCount = this.definition.columns, this.data = this.definition.data || [], this.element = null, this.isActive = !1, this.grid = new
|
|
14371
|
+
super(e.table), this.spreadsheetManager = e, this.definition = t, this.title = this.definition.title || "", this.key = this.definition.key || this.definition.title || "", this.rowCount = this.definition.rows, this.columnCount = this.definition.columns, this.data = this.definition.data || [], this.element = null, this.isActive = !1, this.grid = new al(this.columnCount, this.rowCount), this.defaultColumnDefinition = {
|
|
14414
14372
|
headerHozAlign: "center",
|
|
14415
14373
|
headerSort: !1,
|
|
14416
14374
|
title: "",
|
|
@@ -14725,7 +14683,7 @@ const _i = class _i extends R {
|
|
|
14725
14683
|
};
|
|
14726
14684
|
_i.moduleName = "tooltip";
|
|
14727
14685
|
let oi = _i;
|
|
14728
|
-
const
|
|
14686
|
+
const hl = {
|
|
14729
14687
|
// must be alphanumeric
|
|
14730
14688
|
alphanumeric: function(l, e, t) {
|
|
14731
14689
|
return e === "" || e === null || typeof e > "u" ? !0 : new RegExp(/^[a-z0-9]+$/i).test(e);
|
|
@@ -14805,7 +14763,7 @@ const dl = {
|
|
|
14805
14763
|
n !== s && e === o.getFieldValue(n) && (i = !1);
|
|
14806
14764
|
}), i;
|
|
14807
14765
|
}
|
|
14808
|
-
},
|
|
14766
|
+
}, cl = process.env.NODE_ENV === "development", Ue = class Ue extends R {
|
|
14809
14767
|
constructor(e) {
|
|
14810
14768
|
super(e), this.invalidCells = [], this.registerTableOption("validationMode", "blocking"), this.registerColumnOption("validator"), this.registerTableFunction(
|
|
14811
14769
|
"getInvalidCells",
|
|
@@ -14936,7 +14894,7 @@ const dl = {
|
|
|
14936
14894
|
func: i,
|
|
14937
14895
|
params: t,
|
|
14938
14896
|
type: typeof e == "function" ? "function" : e
|
|
14939
|
-
} : (
|
|
14897
|
+
} : (cl && console.warn(
|
|
14940
14898
|
"Validator Setup Error - No matching validator found:",
|
|
14941
14899
|
e
|
|
14942
14900
|
), !1);
|
|
@@ -14976,7 +14934,7 @@ const dl = {
|
|
|
14976
14934
|
}
|
|
14977
14935
|
}
|
|
14978
14936
|
};
|
|
14979
|
-
Ue.moduleName = "validate", Ue.validators =
|
|
14937
|
+
Ue.moduleName = "validate", Ue.validators = hl;
|
|
14980
14938
|
let ri = Ue;
|
|
14981
14939
|
const mt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
14982
14940
|
__proto__: null,
|
|
@@ -15018,7 +14976,7 @@ const mt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
15018
14976
|
SpreadsheetModule: si,
|
|
15019
14977
|
TooltipModule: oi,
|
|
15020
14978
|
ValidateModule: ri
|
|
15021
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
14979
|
+
}, Symbol.toStringTag, { value: "Module" })), dl = process.env.NODE_ENV === "development";
|
|
15022
14980
|
class ut extends N {
|
|
15023
14981
|
// used by row manager to determine how to size the render area ("fit" - fits container to the contents, "fill" - fills the container without resizing it)
|
|
15024
14982
|
constructor(e) {
|
|
@@ -15120,11 +15078,11 @@ class ut extends N {
|
|
|
15120
15078
|
}
|
|
15121
15079
|
s();
|
|
15122
15080
|
} else
|
|
15123
|
-
|
|
15081
|
+
dl && console.warn("Scroll Error - Row not visible"), o("Scroll Error - Row not visible");
|
|
15124
15082
|
});
|
|
15125
15083
|
}
|
|
15126
15084
|
}
|
|
15127
|
-
class
|
|
15085
|
+
class ul extends ut {
|
|
15128
15086
|
constructor(e) {
|
|
15129
15087
|
super(e);
|
|
15130
15088
|
}
|
|
@@ -15146,7 +15104,7 @@ class fl extends ut {
|
|
|
15146
15104
|
}
|
|
15147
15105
|
}
|
|
15148
15106
|
const bt = process.env.NODE_ENV === "development";
|
|
15149
|
-
class
|
|
15107
|
+
class pl extends ut {
|
|
15150
15108
|
constructor(e) {
|
|
15151
15109
|
super(e), this.leftCol = 0, this.rightCol = 0, this.scrollLeft = 0, this.vDomScrollPosLeft = 0, this.vDomScrollPosRight = 0, this.vDomPadLeft = 0, this.vDomPadRight = 0, this.fitDataColAvg = 0, this.windowBuffer = 200, this.visibleRowsCache = null, this.initialized = !1, this.isFitData = !1, this.columns = [];
|
|
15152
15110
|
}
|
|
@@ -15445,7 +15403,7 @@ class gl extends ut {
|
|
|
15445
15403
|
}
|
|
15446
15404
|
}
|
|
15447
15405
|
}
|
|
15448
|
-
const
|
|
15406
|
+
const fl = process.env.NODE_ENV === "development";
|
|
15449
15407
|
class Es {
|
|
15450
15408
|
constructor(e, t, i = {}) {
|
|
15451
15409
|
this.registeredDefaults = {}, this.table = e, this.msgType = t, this.registeredDefaults = { ...i };
|
|
@@ -15457,14 +15415,14 @@ class Es {
|
|
|
15457
15415
|
const i = { ...this.registeredDefaults }, s = this.table.options.debugInvalidOptions || t.debugInvalidOptions === !0;
|
|
15458
15416
|
Object.assign(i, e);
|
|
15459
15417
|
for (const o in t)
|
|
15460
|
-
Object.hasOwn(t, o) && (Object.hasOwn(i, o) || (
|
|
15418
|
+
Object.hasOwn(t, o) && (Object.hasOwn(i, o) || (fl && s && console.warn("Invalid " + this.msgType + " option:", o), i[o] = t[o]));
|
|
15461
15419
|
for (const o in i)
|
|
15462
15420
|
Object.hasOwn(i, o) && (o in t ? i[o] = t[o] : Array.isArray(i[o]) ? i[o] = Object.assign([], i[o]) : typeof i[o] == "object" && i[o] !== null ? i[o] = { ...i[o] } : (i[o] === void 0 || i[o] === null) && delete i[o]);
|
|
15463
15421
|
return i;
|
|
15464
15422
|
}
|
|
15465
15423
|
}
|
|
15466
15424
|
const hs = process.env.NODE_ENV === "development";
|
|
15467
|
-
class
|
|
15425
|
+
class gl extends N {
|
|
15468
15426
|
constructor(e) {
|
|
15469
15427
|
super(e), this.blockHozScrollEvent = !1, this.headersElement = null, this.contentsElement = null, this.rowHeader = null, this.columns = [], this.columnsByIndex = [], this.columnsByField = {}, this.scrollLeft = 0, this.optionsList = new Es(
|
|
15470
15428
|
this.table,
|
|
@@ -15492,8 +15450,8 @@ class bl extends N {
|
|
|
15492
15450
|
initializeRenderer() {
|
|
15493
15451
|
let e;
|
|
15494
15452
|
const t = {
|
|
15495
|
-
basic:
|
|
15496
|
-
virtual:
|
|
15453
|
+
basic: ul,
|
|
15454
|
+
virtual: pl
|
|
15497
15455
|
};
|
|
15498
15456
|
typeof this.table.options.renderHorizontal == "string" ? e = t[this.table.options.renderHorizontal] : e = this.table.options.renderHorizontal, e ? (this.renderer = new e(this.table), this.renderer.initialize()) : hs && console.error(
|
|
15499
15457
|
"Unable to find matching renderer:",
|
|
@@ -15843,7 +15801,7 @@ class bl extends N {
|
|
|
15843
15801
|
this.element && k.elVisible(this.element) && this.verticalAlignHeaders(), e && (this.table.rowManager?.resetScroll(), this.table.rowManager?.reinitialize()), this.confirm("table-redrawing", e) || this.layoutRefresh(e || !1), this.dispatch("table-redraw", e), this.table.footerManager?.redraw();
|
|
15844
15802
|
}
|
|
15845
15803
|
}
|
|
15846
|
-
const
|
|
15804
|
+
const ml = {
|
|
15847
15805
|
debugEventsExternal: !1,
|
|
15848
15806
|
// flag to console log events
|
|
15849
15807
|
debugEventsInternal: !1,
|
|
@@ -15903,7 +15861,7 @@ const wl = {
|
|
|
15903
15861
|
dataReceiveParams: {}
|
|
15904
15862
|
// dependencies: {},
|
|
15905
15863
|
};
|
|
15906
|
-
class
|
|
15864
|
+
class bl extends N {
|
|
15907
15865
|
constructor(e) {
|
|
15908
15866
|
super(e), this.active = !1, this.element = this.createElement(), this.containerElement = this.createContainerElement(), this.external = !1;
|
|
15909
15867
|
}
|
|
@@ -15961,7 +15919,7 @@ class vl extends N {
|
|
|
15961
15919
|
this.dispatch("footer-redraw");
|
|
15962
15920
|
}
|
|
15963
15921
|
}
|
|
15964
|
-
class
|
|
15922
|
+
class wl extends ut {
|
|
15965
15923
|
constructor(e) {
|
|
15966
15924
|
super(e), this.scrollTop = 0, this.scrollLeft = 0, this.verticalFillMode = "fill";
|
|
15967
15925
|
}
|
|
@@ -16010,7 +15968,7 @@ class yl extends ut {
|
|
|
16010
15968
|
return this.rows();
|
|
16011
15969
|
}
|
|
16012
15970
|
}
|
|
16013
|
-
class
|
|
15971
|
+
class vl extends ut {
|
|
16014
15972
|
// total scroll height of virtual DOM
|
|
16015
15973
|
constructor(e) {
|
|
16016
15974
|
super(e), this.scrollTop = 0, this.scrollLeft = 0, this.vDomRowHeight = 20, this.vDomTop = 0, this.vDomBottom = 0, this.vDomScrollPosTop = 0, this.vDomScrollPosBottom = 0, this.vDomTopPad = 0, this.vDomBottomPad = 0, this.vDomMaxRenderChain = 90, this.vDomWindowBuffer = 0, this.vDomWindowMinTotalRows = 20, this.vDomWindowMinMarginRows = 5, this.vDomTopNewRows = [], this.vDomBottomNewRows = [], this.vDomScrollHeight = 0, this.verticalFillMode = "fill";
|
|
@@ -16255,8 +16213,8 @@ class Cl extends ut {
|
|
|
16255
16213
|
t.setCellHeight();
|
|
16256
16214
|
}
|
|
16257
16215
|
}
|
|
16258
|
-
const Ce = process.env.NODE_ENV === "development",
|
|
16259
|
-
class
|
|
16216
|
+
const Ce = process.env.NODE_ENV === "development", yl = x`<div class="tabulator-tableholder-wrapper"></div>`;
|
|
16217
|
+
class Cl extends N {
|
|
16260
16218
|
/**
|
|
16261
16219
|
* True when table has an explicit height (--table-height is set to a non-auto value (e.g. 100%, 500px));
|
|
16262
16220
|
* false when height is variable (--table-height is "auto" or unset).
|
|
@@ -16270,7 +16228,7 @@ class xl extends N {
|
|
|
16270
16228
|
}
|
|
16271
16229
|
// ////////////// Setup Functions /////////////////
|
|
16272
16230
|
createWrapperElement() {
|
|
16273
|
-
return L(
|
|
16231
|
+
return L(yl);
|
|
16274
16232
|
}
|
|
16275
16233
|
createHolderElement() {
|
|
16276
16234
|
const e = document.createElement("div");
|
|
@@ -16701,8 +16659,8 @@ Data: `,
|
|
|
16701
16659
|
initializeRenderer() {
|
|
16702
16660
|
let e;
|
|
16703
16661
|
const t = {
|
|
16704
|
-
basic:
|
|
16705
|
-
virtual:
|
|
16662
|
+
basic: wl,
|
|
16663
|
+
virtual: vl
|
|
16706
16664
|
};
|
|
16707
16665
|
typeof this.table.options.renderVertical == "string" ? e = t[this.table.options.renderVertical] : e = this.table.options.renderVertical, e ? (this.renderMode = this.table.options.renderVertical, this.renderer = new e(this.table, this.element, this.tableElement), this.renderer?.initialize()) : Ce && console.error(
|
|
16708
16666
|
"Unable to find matching renderer:",
|
|
@@ -16819,7 +16777,7 @@ Data: `,
|
|
|
16819
16777
|
this.element.dispatchEvent(new Event("scroll"));
|
|
16820
16778
|
}
|
|
16821
16779
|
}
|
|
16822
|
-
class
|
|
16780
|
+
class El extends N {
|
|
16823
16781
|
constructor(e) {
|
|
16824
16782
|
super(e), this.type = null, this.element = this._createAlertElement(), this.msgElement = this._createMsgElement(), this.element.appendChild(this.msgElement);
|
|
16825
16783
|
}
|
|
@@ -16848,7 +16806,7 @@ class Rl extends N {
|
|
|
16848
16806
|
}
|
|
16849
16807
|
}
|
|
16850
16808
|
const cs = process.env.NODE_ENV === "development";
|
|
16851
|
-
class
|
|
16809
|
+
class xl {
|
|
16852
16810
|
constructor(e) {
|
|
16853
16811
|
this.bindings = {}, this.table = e;
|
|
16854
16812
|
}
|
|
@@ -16992,8 +16950,8 @@ const tt = process.env.NODE_ENV === "development", rt = class rt extends N {
|
|
|
16992
16950
|
};
|
|
16993
16951
|
rt.DEBOUNCE_DELAY = 500;
|
|
16994
16952
|
let ni = rt;
|
|
16995
|
-
const
|
|
16996
|
-
class
|
|
16953
|
+
const Rl = process.env.NODE_ENV === "development";
|
|
16954
|
+
class Sl extends N {
|
|
16997
16955
|
constructor(e) {
|
|
16998
16956
|
super(e), this.deps = {}, this.props = {};
|
|
16999
16957
|
}
|
|
@@ -17028,20 +16986,20 @@ class Ml extends N {
|
|
|
17028
16986
|
return this.deps[e] ? i = this.deps[e] : globalThis[e] ? (this.deps[e] = globalThis[e], i = this.deps[e]) : t || this.error(e), i;
|
|
17029
16987
|
}
|
|
17030
16988
|
error(e) {
|
|
17031
|
-
|
|
16989
|
+
Rl && console.error(
|
|
17032
16990
|
"Unable to find dependency",
|
|
17033
16991
|
e,
|
|
17034
16992
|
"Please check documentation and ensure you have imported the required library into your project"
|
|
17035
16993
|
);
|
|
17036
16994
|
}
|
|
17037
16995
|
}
|
|
17038
|
-
const
|
|
17039
|
-
class
|
|
16996
|
+
const Tl = process.env.NODE_ENV === "development";
|
|
16997
|
+
class Ml extends N {
|
|
17040
16998
|
constructor(e) {
|
|
17041
16999
|
super(e);
|
|
17042
17000
|
}
|
|
17043
17001
|
_warnUser(...e) {
|
|
17044
|
-
this.options("debugDeprecation") &&
|
|
17002
|
+
this.options("debugDeprecation") && Tl && console.warn(...e);
|
|
17045
17003
|
}
|
|
17046
17004
|
check(e, t, i) {
|
|
17047
17005
|
if (this.options(e) === void 0 || this.options(e) === null)
|
|
@@ -17074,7 +17032,7 @@ class Dl extends N {
|
|
|
17074
17032
|
}
|
|
17075
17033
|
}
|
|
17076
17034
|
const wt = process.env.NODE_ENV === "development";
|
|
17077
|
-
class
|
|
17035
|
+
class kl {
|
|
17078
17036
|
constructor(e, t, i) {
|
|
17079
17037
|
this.events = {}, this.subscriptionNotifiers = {}, this.table = e, this.events = {}, this.optionsList = t || {}, this.subscriptionNotifiers = {}, this.dispatch = i ? this._debugDispatch.bind(this) : this._dispatch.bind(this), this.debug = i;
|
|
17080
17038
|
}
|
|
@@ -17127,8 +17085,8 @@ class Ll {
|
|
|
17127
17085
|
return wt && (this.debug === !0 || Array.isArray(this.debug) && this.debug.includes(e)) && console.log(i, ...t), this._dispatch(e, ...t);
|
|
17128
17086
|
}
|
|
17129
17087
|
}
|
|
17130
|
-
const
|
|
17131
|
-
class
|
|
17088
|
+
const Dl = process.env.NODE_ENV === "development";
|
|
17089
|
+
class Ll extends N {
|
|
17132
17090
|
constructor(e) {
|
|
17133
17091
|
super(e), this.el = null, this.abortClasses = ["tabulator-headers", "tabulator-table"], this.previousTargets = {}, this.listeners = [
|
|
17134
17092
|
"click",
|
|
@@ -17279,7 +17237,7 @@ class Fl extends N {
|
|
|
17279
17237
|
s.components.includes("column") && (h = this.table.columnManager?.findColumn(c));
|
|
17280
17238
|
break;
|
|
17281
17239
|
case "cell":
|
|
17282
|
-
s.components.includes("cell") && (o.row instanceof _ ? h = o.row.findCell(c) :
|
|
17240
|
+
s.components.includes("cell") && (o.row instanceof _ ? h = o.row.findCell(c) : Dl && t.row && console.warn(
|
|
17283
17241
|
"Event Target Lookup Error - The row this cell is attached to cannot be found, has the table been reinitialized without being destroyed first?"
|
|
17284
17242
|
));
|
|
17285
17243
|
break;
|
|
@@ -17310,7 +17268,7 @@ class Fl extends N {
|
|
|
17310
17268
|
}
|
|
17311
17269
|
}
|
|
17312
17270
|
const We = process.env.NODE_ENV === "development";
|
|
17313
|
-
class
|
|
17271
|
+
class zl {
|
|
17314
17272
|
constructor(e) {
|
|
17315
17273
|
this.events = {}, this.subscriptionNotifiers = {}, this.events = {}, this.subscriptionNotifiers = {}, this.dispatch = e ? this._debugDispatch.bind(this) : this._dispatch.bind(this), this.chain = e ? this._debugChain.bind(this) : this._chain.bind(this), this.confirm = e ? this._debugConfirm.bind(this) : this._confirm.bind(this), this.debug = e;
|
|
17316
17274
|
}
|
|
@@ -17383,7 +17341,7 @@ class Ol {
|
|
|
17383
17341
|
return We && (this.debug === !0 || Array.isArray(this.debug) && this.debug.includes(e)) && console.log(i, t), this._confirm(e, t);
|
|
17384
17342
|
}
|
|
17385
17343
|
}
|
|
17386
|
-
function
|
|
17344
|
+
function Fl(l) {
|
|
17387
17345
|
let e = this.table.element?.clientWidth || 0;
|
|
17388
17346
|
const t = this.table.columnManager?.contentsElement;
|
|
17389
17347
|
if (t) {
|
|
@@ -17447,7 +17405,7 @@ function Hl(l) {
|
|
|
17447
17405
|
m.column.setWidth(m.width);
|
|
17448
17406
|
});
|
|
17449
17407
|
}
|
|
17450
|
-
async function
|
|
17408
|
+
async function Ol(l, e) {
|
|
17451
17409
|
e && this.table.columnManager?.renderer && await this.table.columnManager.renderer.reinitializeColumnWidths(l), this.table.options.responsiveLayout && this.table.modExists("responsiveLayout", !0) && this.table.modules.responsiveLayout.update();
|
|
17452
17410
|
}
|
|
17453
17411
|
async function ds(l) {
|
|
@@ -17455,7 +17413,7 @@ async function ds(l) {
|
|
|
17455
17413
|
await e.reinitializeWidth();
|
|
17456
17414
|
this.table.options.responsiveLayout && this.table.modExists("responsiveLayout", !0) && this.table.modules.responsiveLayout.update();
|
|
17457
17415
|
}
|
|
17458
|
-
async function
|
|
17416
|
+
async function Hl(l) {
|
|
17459
17417
|
let e = 0, t = this.table.element?.clientWidth || 0;
|
|
17460
17418
|
const i = this.table.columnManager?.contentsElement;
|
|
17461
17419
|
if (i) {
|
|
@@ -17468,20 +17426,20 @@ async function Al(l) {
|
|
|
17468
17426
|
n.widthFixed || await n.reinitializeWidth(), (this.table.options.responsiveLayout ? n.modules.responsive.visible : !n.hidden) && (r = n), n.hidden || (e += n.getWidth());
|
|
17469
17427
|
r ? (o = s - e + r.getWidth(), this.table.options.responsiveLayout && this.table.modExists("responsiveLayout", !0) && (r.setWidth(0), this.table.modules.responsiveLayout?.update()), o > 0 ? r.setWidth(o) : await r.reinitializeWidth()) : this.table.options.responsiveLayout && this.table.modExists("responsiveLayout", !0) && this.table.modules.responsiveLayout.update();
|
|
17470
17428
|
}
|
|
17471
|
-
const
|
|
17472
|
-
fitColumns:
|
|
17473
|
-
fitData:
|
|
17429
|
+
const Pl = {
|
|
17430
|
+
fitColumns: Fl,
|
|
17431
|
+
fitData: Ol,
|
|
17474
17432
|
fitDataFill: ds,
|
|
17475
|
-
fitDataStretch:
|
|
17433
|
+
fitDataStretch: Hl,
|
|
17476
17434
|
fitDataTable: ds
|
|
17477
|
-
},
|
|
17435
|
+
}, Al = process.env.NODE_ENV === "development", Se = class Se extends R {
|
|
17478
17436
|
constructor(e) {
|
|
17479
17437
|
super(e), this.mode = null, this.registerTableOption("layout", "fitData"), this.registerTableOption("layoutColumnsOnNewData", !1), this.registerColumnOption("widthGrow"), this.registerColumnOption("widthShrink");
|
|
17480
17438
|
}
|
|
17481
17439
|
// initialize layout system
|
|
17482
17440
|
initialize() {
|
|
17483
17441
|
const e = this.table.options.layout;
|
|
17484
|
-
e && Se.modes[e] ? this.mode = e : (
|
|
17442
|
+
e && Se.modes[e] ? this.mode = e : (Al && console.warn(
|
|
17485
17443
|
"Layout Error - invalid mode set, defaulting to 'fitData' : " + e
|
|
17486
17444
|
), this.mode = "fitData"), this.table.element.setAttribute("tabulator-layout", this.mode), this.subscribe("column-init", this.initializeColumn.bind(this));
|
|
17487
17445
|
}
|
|
@@ -17505,9 +17463,9 @@ const _l = {
|
|
|
17505
17463
|
), t && this.table.rowManager?.normalizeHeight(!0), this.dispatch("layout-refreshed");
|
|
17506
17464
|
}
|
|
17507
17465
|
};
|
|
17508
|
-
Se.moduleName = "layout", Se.modes =
|
|
17466
|
+
Se.moduleName = "layout", Se.modes = Pl;
|
|
17509
17467
|
let li = Se;
|
|
17510
|
-
const
|
|
17468
|
+
const _l = {
|
|
17511
17469
|
default: {
|
|
17512
17470
|
columns: {},
|
|
17513
17471
|
data: {
|
|
@@ -17623,7 +17581,7 @@ const Vl = {
|
|
|
17623
17581
|
});
|
|
17624
17582
|
}
|
|
17625
17583
|
};
|
|
17626
|
-
Xe.moduleName = "localize", Xe.langs =
|
|
17584
|
+
Xe.moduleName = "localize", Xe.langs = _l;
|
|
17627
17585
|
let ai = Xe;
|
|
17628
17586
|
const ps = process.env.NODE_ENV === "development", Ni = class Ni extends R {
|
|
17629
17587
|
constructor(e) {
|
|
@@ -17655,12 +17613,12 @@ const ps = process.env.NODE_ENV === "development", Ni = class Ni extends R {
|
|
|
17655
17613
|
};
|
|
17656
17614
|
Ni.moduleName = "comms";
|
|
17657
17615
|
let hi = Ni;
|
|
17658
|
-
const
|
|
17616
|
+
const Nl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
17659
17617
|
__proto__: null,
|
|
17660
17618
|
CommsModule: hi,
|
|
17661
17619
|
LayoutModule: li,
|
|
17662
17620
|
LocalizeModule: ai
|
|
17663
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
17621
|
+
}, Symbol.toStringTag, { value: "Module" })), Vl = process.env.NODE_ENV === "development", Y = class Y {
|
|
17664
17622
|
static findTable(e) {
|
|
17665
17623
|
const t = Y.registry.lookupTable(e, !0);
|
|
17666
17624
|
return Array.isArray(t) && !t.length ? !1 : t;
|
|
@@ -17681,7 +17639,7 @@ Y.registry = {
|
|
|
17681
17639
|
} else typeof HTMLElement < "u" && e instanceof HTMLElement || e instanceof Y ? (o = Y.registry.matchElement(e), o && i.push(o)) : Array.isArray(e) ? e.forEach((r) => {
|
|
17682
17640
|
const n = Y.registry.lookupTable(r, !0);
|
|
17683
17641
|
i.push(...n);
|
|
17684
|
-
}) :
|
|
17642
|
+
}) : Vl && !t && console.warn("Table Connection Error - Invalid Selector", e);
|
|
17685
17643
|
return i;
|
|
17686
17644
|
},
|
|
17687
17645
|
matchElement(e) {
|
|
@@ -17698,7 +17656,7 @@ const it = process.env.NODE_ENV === "development", D = class D extends ci {
|
|
|
17698
17656
|
super(), this.modulesCore = [], this.modulesRegular = [];
|
|
17699
17657
|
}
|
|
17700
17658
|
static initializeModuleBinder(e) {
|
|
17701
|
-
D.modulesRegistered || (D.modulesRegistered = !0, D._registerModules(
|
|
17659
|
+
D.modulesRegistered || (D.modulesRegistered = !0, D._registerModules(Nl, !0), e && D._registerModules(e));
|
|
17702
17660
|
}
|
|
17703
17661
|
static _extendModule(e, t, i) {
|
|
17704
17662
|
if (D.moduleBindings[e]) {
|
|
@@ -17788,7 +17746,7 @@ const F = process.env.NODE_ENV === "development", ae = class ae extends di {
|
|
|
17788
17746
|
ae.initializeModuleBinder(), ae._registerModule(...e);
|
|
17789
17747
|
}
|
|
17790
17748
|
constructor(e, t, i) {
|
|
17791
|
-
super(), ae.initializeModuleBinder(i), this.options = {}, this.columnManager = null, this.rowManager = null, this.footerManager = null, this.alertManager = null, this.vdomHoz = null, this.externalEvents = null, this.eventBus = null, this.interactionMonitor = !1, this.browser = "", this.browserSlow = !1, this.browserMobile = !1, this.rtl = !1, this.originalElement = null, this.componentFunctionBinder = new
|
|
17749
|
+
super(), ae.initializeModuleBinder(i), this.options = {}, this.columnManager = null, this.rowManager = null, this.footerManager = null, this.alertManager = null, this.vdomHoz = null, this.externalEvents = null, this.eventBus = null, this.interactionMonitor = !1, this.browser = "", this.browserSlow = !1, this.browserMobile = !1, this.rtl = !1, this.originalElement = null, this.componentFunctionBinder = new xl(this), this.dataLoader = null, this.modules = {}, this.modulesCore = [], this.modulesRegular = [], this.deprecationAdvisor = new Ml(this), this.optionsList = new Es(this, "table constructor"), this.dependencyRegistry = new Sl(this), this.initialized = !1, this.destroyed = !1, this.initializeElement(e) && (this.initializeCoreSystems(t), setTimeout(() => {
|
|
17792
17750
|
this._create();
|
|
17793
17751
|
})), this.constructor.registry.register(this);
|
|
17794
17752
|
}
|
|
@@ -17808,11 +17766,11 @@ const F = process.env.NODE_ENV === "development", ae = class ae extends di {
|
|
|
17808
17766
|
), !1;
|
|
17809
17767
|
}
|
|
17810
17768
|
initializeCoreSystems(e) {
|
|
17811
|
-
this.columnManager = new
|
|
17769
|
+
this.columnManager = new gl(this), this.rowManager = new Cl(this), this.footerManager = new bl(this), this.dataLoader = new ni(this), this.alertManager = new El(this), this.toolbar = e?.toolbarElement, this._bindModules(), this.options = this.optionsList.generate(ae.defaultOptions, e), this._clearObjectPointers(), this._mapDeprecatedFunctionality(), this.externalEvents = new kl(
|
|
17812
17770
|
this,
|
|
17813
17771
|
this.options,
|
|
17814
17772
|
this.options.debugEventsExternal
|
|
17815
|
-
), this.eventBus = new
|
|
17773
|
+
), this.eventBus = new zl(this.options.debugEventsInternal), this.interactionMonitor = new Ll(this), this.dataLoader.initialize(), this.footerManager.initialize(), this.dependencyRegistry.initialize();
|
|
17816
17774
|
}
|
|
17817
17775
|
// convert deprecated functionality to new functions
|
|
17818
17776
|
_mapDeprecatedFunctionality() {
|
|
@@ -18175,7 +18133,7 @@ const F = process.env.NODE_ENV === "development", ae = class ae extends di {
|
|
|
18175
18133
|
return !t && F && console.error("Tabulator module not installed: " + e), t;
|
|
18176
18134
|
}
|
|
18177
18135
|
};
|
|
18178
|
-
ae.defaultOptions =
|
|
18136
|
+
ae.defaultOptions = ml;
|
|
18179
18137
|
let be = ae;
|
|
18180
18138
|
class fs extends be {
|
|
18181
18139
|
static extendModule(...e) {
|
|
@@ -18189,7 +18147,7 @@ class fs extends be {
|
|
|
18189
18147
|
}
|
|
18190
18148
|
// #endregion
|
|
18191
18149
|
}
|
|
18192
|
-
class
|
|
18150
|
+
class La {
|
|
18193
18151
|
constructor(e) {
|
|
18194
18152
|
this.type = e, this.element = this._createElement();
|
|
18195
18153
|
}
|
|
@@ -18229,16 +18187,16 @@ class Fa {
|
|
|
18229
18187
|
rendered() {
|
|
18230
18188
|
}
|
|
18231
18189
|
}
|
|
18232
|
-
var
|
|
18190
|
+
var Bl = Object.defineProperty, Il = Object.getOwnPropertyDescriptor, xs = (l) => {
|
|
18233
18191
|
throw TypeError(l);
|
|
18234
18192
|
}, v = (l, e, t, i) => {
|
|
18235
|
-
for (var s = i > 1 ? void 0 : i ?
|
|
18193
|
+
for (var s = i > 1 ? void 0 : i ? Il(e, t) : e, o = l.length - 1, r; o >= 0; o--)
|
|
18236
18194
|
(r = l[o]) && (s = (i ? r(e, t, s) : r(s)) || s);
|
|
18237
|
-
return i && s &&
|
|
18238
|
-
},
|
|
18195
|
+
return i && s && Bl(e, t, s), s;
|
|
18196
|
+
}, Wl = (l, e, t) => e.has(l) || xs("Cannot " + t), Gl = (l, e, t) => (Wl(l, e, "read from private field"), t ? t.call(l) : e.get(l)), jl = (l, e, t) => e.has(l) ? xs("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(l) : e.set(l, t), ui, Rs;
|
|
18239
18197
|
let w = class extends _e {
|
|
18240
18198
|
constructor() {
|
|
18241
|
-
super(),
|
|
18199
|
+
super(), jl(this, ui), this.localize = new nt(this), this.verticalOsInstance = null, this.horizontalOsInstance = null, this.resizeObserver = null, this.overflowObserver = null, this.filterController = new io(this), this.movableRows = !1, this.movableColumns = !1, this.data = void 0, this.rowHeight = 48, this.layout = "fitColumns", this.columns = [], this.footerElement = void 0, this.responsiveLayout = !1, this.responsiveLayoutCollapseFormatter = void 0, this.responsiveLayoutCollapseUseFormatters = void 0, this.rowHeader = void 0, this.noHeader = !1, this.textDirection = void 0, this.responsiveLayoutCollapseStartOpen = void 0, this.renderVerticalBuffer = void 0, this.renderVertical = "virtual", this.columnDefaults = {}, this.canSearch = !1, this.noAdvancedSearch = !1, this.showSavedSearch = !1, this.searchFields = [], this.canAdd = !1, this.addLabel = this.localize.term("add"), this.canExportCsv = !1, this.canExportXml = !1, this.canExportCustom = !1, this.canSaveReport = !1, this.savedSearchURL = "", this.savedSearchItems = [], this.savedSearchPageSizeParam = "PageSize", this.savedSearchPageSize = 10, this.savedSearchPageNumberParam = "PageNumber", this.dropdownFilters = [], this.ajaxURL = void 0, this.ajaxURLGenerator = void 0, this.ajaxParams = void 0, this.ajaxResponse = void 0, this.dataSendParams = void 0, this.dataReceiveParams = void 0, this.noAutoResize = !1, this.resizableRows = !1, this.resizableColumnFit = !1, this.resizableColumnGuide = !1, this.resizableRowGuide = !1, this.frozenRows = void 0, this.frozenRowsField = "id", this.placeholder = this.localize.term("noData"), this.groupBy = void 0, this.groupHeader = void 0, this.groupHeaderCount = !1, this.groupIndent = 36, this.groupHeaderPrint = void 0, this.groupHeaderClipboard = void 0, this.groupHeaderDownload = void 0, this.groupHeaderHtmlOutput = void 0, this.groupStartOpen = !1, this.groupStartOpenValues = void 0, this.groupToggleElement = "arrow", this.groupValues = [], this.groupUpdateOnCellEdit = !1, this.dataTree = !1, this.dataTreeChildField = "_children", this.dataTreeLoadingField = "loading", this.dataTreeHasMoreField = "hasMore", this.dataTreeFilter = !1, this.dataTreeSort = !1, this.dataTreeElementColumn = void 0, this.dataTreeBranchElement = void 0, this.dataTreeChildIndent = 9, this.dataTreeStartExpanded = !1, this.dataTreeSelectPropagate = !1, this.dataTreeExpandElement = void 0, this.dataTreeCollapseElement = void 0, this.spreadsheet = !1, this.spreadsheetColumns = 50, this.spreadsheetRows = 50, this.spreadsheetColumnDefinition = void 0, this.spreadsheetOutputFull = !1, this.editorEmptyValue = "", this.spreadsheetSheets = void 0, this.spreadsheetSheetTabs = !1, this.spreadsheetData = void 0, this.selectableRange = 1, this.noSelectable = !1, this.selectableRangeColumns = !1, this.selectableRangeRows = !1, this.selectableRangeClearCells = !1, this.editTriggerEvent = "dblclick", this.selectableRangeAutoFocus = !1, this.clipboard = !1, this.clipboardCopyRowRange = "all", this.clipboardPasteParser = void 0, this.clipboardPasteAction = "insert", this.clipboardCopyConfig = void 0, this.clipboardNoCopyStyled = !1, this.pagination = !1, this.paginationMode = he.Local, this.paginationSize = void 0, this.paginationInitialPage = 1, this.paginationButtonCount = 5, this.showPaginationButtons = !1, this.paginationSizeSelector = void 0, this.paginationAddRow = "page", this.paginationCounter = Ps.Both, this.paginationShowFirst = !1, this.paginationShowLast = !1, this.hoverMenu = void 0, this.label = "", this.tabulatorRole = "grid", this.columnGroupRole = "columngroup", this.columnHeaderRole = "columnheader", this.rowRole = "row", this.rowGroupRole = "rowgroup", this.cellRole = "gridcell", this.filterMode = he.Local, this.placeholderHeaderFilter = "No matching data", this.noColumnPlaceholderText = this.localize.term("noColumnsVisible"), this.useOverlayScrollbar = !1, this.tabulatorInstance = null, this.watchedEvents = /* @__PURE__ */ new Set(), this.activeSearchValue = "", this.handleTableBuilt = () => {
|
|
18242
18200
|
this.useOverlayScrollbar ? this.initVerticalScrollbar() : this.verticalOsInstance?.destroy(), this.initHorizontalScrollbar(), this.initOverflowObserver(), this.filterController.syncDropdownFilterSources(this.dropdownFilters), this.handleSearch(), this.filterController.applyFilters();
|
|
18243
18201
|
}, this.checkHorizontalOverflow = () => {
|
|
18244
18202
|
if (!this.tabulatorElement || !this.tabulatorHolder)
|
|
@@ -18272,7 +18230,7 @@ let w = class extends _e {
|
|
|
18272
18230
|
}
|
|
18273
18231
|
async initTable() {
|
|
18274
18232
|
let l = this.rowHeader;
|
|
18275
|
-
l == null && (this.movableRows ? l =
|
|
18233
|
+
l == null && (this.movableRows ? l = lo : this.responsiveLayout === "collapse" && (l = {
|
|
18276
18234
|
formatter: "responsiveCollapse"
|
|
18277
18235
|
})), this.tabulatorInstance = new fs(this.table, {
|
|
18278
18236
|
ajaxParams: this.ajaxParams,
|
|
@@ -18321,7 +18279,7 @@ let w = class extends _e {
|
|
|
18321
18279
|
groupHeaderHtmlOutput: this.groupHeaderHtmlOutput,
|
|
18322
18280
|
groupHeaderPrint: this.groupHeaderPrint,
|
|
18323
18281
|
groupIndent: this.groupIndent,
|
|
18324
|
-
groupStartOpen:
|
|
18282
|
+
groupStartOpen: Gl(this, ui, Rs),
|
|
18325
18283
|
groupToggleElement: this.groupToggleElement,
|
|
18326
18284
|
groupUpdateOnCellEdit: this.groupUpdateOnCellEdit,
|
|
18327
18285
|
groupValues: this.groupValues,
|
|
@@ -18563,8 +18521,8 @@ Rs = function() {
|
|
|
18563
18521
|
};
|
|
18564
18522
|
w.styles = [
|
|
18565
18523
|
Je,
|
|
18566
|
-
|
|
18567
|
-
|
|
18524
|
+
no,
|
|
18525
|
+
Os
|
|
18568
18526
|
];
|
|
18569
18527
|
w.dependencies = {
|
|
18570
18528
|
"cx-button": Ae,
|
|
@@ -18863,7 +18821,7 @@ v([
|
|
|
18863
18821
|
v([
|
|
18864
18822
|
g({
|
|
18865
18823
|
attribute: "frozen-rows",
|
|
18866
|
-
converter:
|
|
18824
|
+
converter: ao
|
|
18867
18825
|
})
|
|
18868
18826
|
], w.prototype, "frozenRows", 2);
|
|
18869
18827
|
v([
|
|
@@ -18881,7 +18839,7 @@ v([
|
|
|
18881
18839
|
v([
|
|
18882
18840
|
g({
|
|
18883
18841
|
attribute: "group-by",
|
|
18884
|
-
converter:
|
|
18842
|
+
converter: uo
|
|
18885
18843
|
})
|
|
18886
18844
|
], w.prototype, "groupBy", 2);
|
|
18887
18845
|
v([
|
|
@@ -19030,7 +18988,7 @@ v([
|
|
|
19030
18988
|
v([
|
|
19031
18989
|
g({
|
|
19032
18990
|
attribute: "data-tree-start-expanded",
|
|
19033
|
-
converter:
|
|
18991
|
+
converter: ho
|
|
19034
18992
|
})
|
|
19035
18993
|
], w.prototype, "dataTreeStartExpanded", 2);
|
|
19036
18994
|
v([
|
|
@@ -19150,7 +19108,7 @@ v([
|
|
|
19150
19108
|
v([
|
|
19151
19109
|
g({
|
|
19152
19110
|
attribute: "clipboard",
|
|
19153
|
-
converter:
|
|
19111
|
+
converter: co
|
|
19154
19112
|
})
|
|
19155
19113
|
], w.prototype, "clipboard", 2);
|
|
19156
19114
|
v([
|
|
@@ -19486,66 +19444,60 @@ w = v([
|
|
|
19486
19444
|
Ne("cx-table")
|
|
19487
19445
|
], w);
|
|
19488
19446
|
export {
|
|
19489
|
-
|
|
19447
|
+
ri as $,
|
|
19490
19448
|
yt as A,
|
|
19491
|
-
|
|
19449
|
+
Ut as B,
|
|
19492
19450
|
w as C,
|
|
19493
19451
|
kt as D,
|
|
19494
19452
|
Lt as E,
|
|
19495
19453
|
Ft as F,
|
|
19496
|
-
|
|
19454
|
+
dn as G,
|
|
19497
19455
|
Ee as H,
|
|
19498
19456
|
Nt as I,
|
|
19499
|
-
|
|
19457
|
+
Xt as J,
|
|
19500
19458
|
Bt as K,
|
|
19501
|
-
|
|
19459
|
+
Kt as L,
|
|
19502
19460
|
R as M,
|
|
19503
|
-
|
|
19504
|
-
|
|
19505
|
-
|
|
19506
|
-
|
|
19461
|
+
Jt as N,
|
|
19462
|
+
qt as O,
|
|
19463
|
+
La as P,
|
|
19464
|
+
Yt as Q,
|
|
19507
19465
|
bi as R,
|
|
19508
19466
|
Cs as S,
|
|
19509
19467
|
be as T,
|
|
19510
|
-
|
|
19511
|
-
|
|
19512
|
-
|
|
19513
|
-
|
|
19514
|
-
|
|
19515
|
-
|
|
19516
|
-
|
|
19517
|
-
|
|
19518
|
-
|
|
19519
|
-
|
|
19520
|
-
|
|
19521
|
-
|
|
19522
|
-
|
|
19523
|
-
|
|
19524
|
-
|
|
19525
|
-
|
|
19526
|
-
|
|
19527
|
-
|
|
19528
|
-
|
|
19529
|
-
|
|
19530
|
-
|
|
19531
|
-
|
|
19532
|
-
|
|
19533
|
-
|
|
19534
|
-
|
|
19535
|
-
|
|
19536
|
-
|
|
19537
|
-
|
|
19538
|
-
|
|
19539
|
-
|
|
19540
|
-
|
|
19541
|
-
|
|
19542
|
-
|
|
19543
|
-
|
|
19544
|
-
|
|
19545
|
-
ke as u,
|
|
19546
|
-
Ot as v,
|
|
19547
|
-
Ht as w,
|
|
19548
|
-
Pt as x,
|
|
19549
|
-
At as y,
|
|
19550
|
-
_t as z
|
|
19468
|
+
Qt as U,
|
|
19469
|
+
Zt as V,
|
|
19470
|
+
ei as W,
|
|
19471
|
+
ti as X,
|
|
19472
|
+
ii as Y,
|
|
19473
|
+
si as Z,
|
|
19474
|
+
oi as _,
|
|
19475
|
+
fs as a,
|
|
19476
|
+
we as a0,
|
|
19477
|
+
O as a1,
|
|
19478
|
+
mi as b,
|
|
19479
|
+
Tt as c,
|
|
19480
|
+
To as d,
|
|
19481
|
+
Jn as e,
|
|
19482
|
+
_ as f,
|
|
19483
|
+
Ye as g,
|
|
19484
|
+
ut as h,
|
|
19485
|
+
Ct as i,
|
|
19486
|
+
Rt as j,
|
|
19487
|
+
St as k,
|
|
19488
|
+
Mt as l,
|
|
19489
|
+
Dt as m,
|
|
19490
|
+
zt as n,
|
|
19491
|
+
ke as o,
|
|
19492
|
+
Ot as p,
|
|
19493
|
+
Ht as q,
|
|
19494
|
+
Pt as r,
|
|
19495
|
+
At as s,
|
|
19496
|
+
_t as t,
|
|
19497
|
+
Vt as u,
|
|
19498
|
+
It as v,
|
|
19499
|
+
Wt as w,
|
|
19500
|
+
Gt as x,
|
|
19501
|
+
jt as y,
|
|
19502
|
+
$t as z
|
|
19551
19503
|
};
|