@databrainhq/plugin 0.17.9-beta.23 → 0.17.9-beta.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Accordion-CFr5mbwz.mjs → Accordion-Fad8DYon.mjs} +1 -1
- package/dist/{Chart-CvMpLgcw.mjs → Chart-B3VzztF2.mjs} +705 -694
- package/dist/{ChartNavigationProvider-C8UjyHEP.mjs → ChartNavigationProvider-CFDuKLxv.mjs} +578 -565
- package/dist/{CreateGlobalFilter-DDdh8kEY.mjs → CreateGlobalFilter-Cu3O5ENs.mjs} +2 -2
- package/dist/{CreateMetricV2-am7_yyXZ.mjs → CreateMetricV2-DEuHwXdn.mjs} +10 -10
- package/dist/{DraggableItem-Co8Wu8U2.mjs → DraggableItem-BDntbrsm.mjs} +2 -2
- package/dist/{HorizontalStackTable-kjK_mshx.mjs → HorizontalStackTable-CeNx2pS8.mjs} +3 -3
- package/dist/{MetricCardV2-IbwASx78.mjs → MetricCardV2-DJNyFvZe.mjs} +7 -7
- package/dist/{NoDataFound-CPqDgwx_.mjs → NoDataFound-1p3W6VT3.mjs} +1 -1
- package/dist/{NoDataState-CCuvt0t1.mjs → NoDataState-BIUG8tOF.mjs} +2 -2
- package/dist/{Panel-Cl8UCrwx.mjs → Panel-DK436Zy8.mjs} +1 -1
- package/dist/{PivotTableV2-BTPfWThX.mjs → PivotTableV2-MNVr6CYo.mjs} +2 -2
- package/dist/{PivotTableV3-k0zpjv7K.mjs → PivotTableV3-CA1CPQ5G.mjs} +4 -4
- package/dist/{Portal-WeKuJ7j6.mjs → Portal-nCdXVAdn.mjs} +81 -81
- package/dist/{RadioButton-DRlYo2_S.mjs → RadioButton-DaBNeuHf.mjs} +1 -1
- package/dist/{ScheduleEmail-Da6ZAeL0.mjs → ScheduleEmail-Djbe70ul.mjs} +4 -4
- package/dist/{SearchMetricData-BAkkiKry.mjs → SearchMetricData-m3JwSX5b.mjs} +11 -11
- package/dist/{SortPanel-idxLZc34.mjs → SortPanel-41ex8yDo.mjs} +7 -7
- package/dist/{Table-B7qURYwS.mjs → Table-BmvnimZO.mjs} +4 -4
- package/dist/{TagInputField-E-mmcq-N.mjs → TagInputField-D2-ZjGwR.mjs} +2 -2
- package/dist/{TextAreaField-D_mHGW0R.mjs → TextAreaField-BQIhzzc0.mjs} +5 -5
- package/dist/{TimeSeriesSettings-DrbJSavY.mjs → TimeSeriesSettings-DbZu1jcC.mjs} +2 -2
- package/dist/{charts-CqXw5nWb.mjs → charts-CT97dkOO.mjs} +1329 -1244
- package/dist/{chevron-down-BUPagYDC.mjs → chevron-down-CcrMhLPe.mjs} +0 -0
- package/dist/{conditionalFormatting-CuqDFMOC.mjs → conditionalFormatting-C-KQImY8.mjs} +1 -1
- package/dist/{createGlobalFilter.module-Czn2-vHn.mjs → createGlobalFilter.module-B7js-eIL.mjs} +1 -1
- package/dist/{echarts-DItRYaFI.mjs → echarts-g0jh5yYA.mjs} +2 -2
- package/dist/{getTableDisplayName-D26qnyRH.mjs → getTableDisplayName-Bz9e9kfO.mjs} +3 -3
- package/dist/{timeseries-CkzWMhfw.mjs → timeseries-D38T0e7I.mjs} +1 -1
- package/dist/{toTasteAppearance-BdcghsEP.mjs → toTasteAppearance-Caa-L7Go.mjs} +1 -1
- package/dist/{useQuery-BYsdmQEA.mjs → useQuery-D-Ae4ZKV.mjs} +1 -1
- package/dist/webcomponents.es.js +26 -25
- package/dist/webcomponents.umd.js +164 -164
- package/package.json +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "react";
|
|
2
2
|
import "react-dom";
|
|
3
3
|
import "react-dom/client";
|
|
4
|
-
import { An as e, Ar as t, Bn as n, Ei as r, En as i, Fn as a, Ln as ee, Mr as o, Nn as te, Pa as s, Pn as ne, Rn as re, Sn as ie, T as c, Wr as l, f as ae, gr as u, h as d, hr as f, jn as oe, kr as p, o as se, un as ce, ur as le, xi as ue, zn as de, zt as m } from "./Portal-
|
|
4
|
+
import { An as e, Ar as t, Bn as n, Ei as r, En as i, Fn as a, Ln as ee, Mr as o, Nn as te, Pa as s, Pn as ne, Rn as re, Sn as ie, T as c, Wr as l, f as ae, gr as u, h as d, hr as f, jn as oe, kr as p, o as se, un as ce, ur as le, xi as ue, zn as de, zt as m } from "./Portal-nCdXVAdn.mjs";
|
|
5
5
|
import { t as fe } from "./jsx-runtime-B0EUnyJj.mjs";
|
|
6
6
|
import { t as h } from "./Switch-Bjta4jTW.mjs";
|
|
7
|
-
import { r as pe, t as g } from "./createGlobalFilter.module-
|
|
7
|
+
import { r as pe, t as g } from "./createGlobalFilter.module-B7js-eIL.mjs";
|
|
8
8
|
import { useEffect as me, useMemo as _, useState as v } from "react";
|
|
9
9
|
//#region src/components/CreateGlobalFilter/CreateGlobalFilter.tsx
|
|
10
10
|
var y = fe(), b = [
|
|
@@ -4,17 +4,17 @@ import "react-dom/client";
|
|
|
4
4
|
import { n as e } from "./cardStates-Cpns2lUc.mjs";
|
|
5
5
|
import { cn as t, p as n, rn as r } from "./pluginV3Request-BS1Sa8o7.mjs";
|
|
6
6
|
import { K as i } from "./metric.mutation-DpLOPFjt.mjs";
|
|
7
|
-
import { $r as a, B as o, Gi as s, Ii as c, Na as l, Qr as u, Rt as d, Sa as f, _i as p, ar as m, ei as h, ji as g, mi as _, ni as v, ti as y, vr as b, wa as x, xr as S } from "./Portal-
|
|
7
|
+
import { $r as a, B as o, Gi as s, Ii as c, Na as l, Qr as u, Rt as d, Sa as f, _i as p, ar as m, ei as h, ji as g, mi as _, ni as v, ti as y, vr as b, wa as x, xr as S } from "./Portal-nCdXVAdn.mjs";
|
|
8
8
|
import { t as C } from "./jsx-runtime-B0EUnyJj.mjs";
|
|
9
|
-
import { n as w } from "./charts-
|
|
10
|
-
import { i as T, n as E, o as D, r as ee, t as te } from "./chevron-down-
|
|
11
|
-
import { E as ne, b as O, t as k, v as A, y as re } from "./TextAreaField-
|
|
12
|
-
import { i as j } from "./RadioButton-
|
|
13
|
-
import { a as M, r as N, t as P } from "./getTableDisplayName-
|
|
14
|
-
import { a as F, c as I, i as L, l as ie, n as ae, o as R, r as oe, t as se } from "./SortPanel-
|
|
15
|
-
import { n as ce } from "./Accordion-
|
|
9
|
+
import { n as w } from "./charts-CT97dkOO.mjs";
|
|
10
|
+
import { i as T, n as E, o as D, r as ee, t as te } from "./chevron-down-CcrMhLPe.mjs";
|
|
11
|
+
import { E as ne, b as O, t as k, v as A, y as re } from "./TextAreaField-BQIhzzc0.mjs";
|
|
12
|
+
import { i as j } from "./RadioButton-DaBNeuHf.mjs";
|
|
13
|
+
import { a as M, r as N, t as P } from "./getTableDisplayName-Bz9e9kfO.mjs";
|
|
14
|
+
import { a as F, c as I, i as L, l as ie, n as ae, o as R, r as oe, t as se } from "./SortPanel-41ex8yDo.mjs";
|
|
15
|
+
import { n as ce } from "./Accordion-Fad8DYon.mjs";
|
|
16
16
|
import { t as z } from "./createLucideIcon-C-N26TaJ.mjs";
|
|
17
|
-
import { A as le, B, E as ue, F as de, H as fe, I as V, L as pe, M as me, N as he, O as ge, P as _e, R as ve, U as H, V as ye, W as be, _ as xe, a as Se, b as Ce, c as we, d as Te, f as Ee, g as De, h as Oe, i as ke, j as Ae, l as je, m as Me, n as Ne, o as Pe, p as U, r as Fe, s as W, t as G, u as Ie, v as Le, y as Re, z as ze } from "./NoDataState-
|
|
17
|
+
import { A as le, B, E as ue, F as de, H as fe, I as V, L as pe, M as me, N as he, O as ge, P as _e, R as ve, U as H, V as ye, W as be, _ as xe, a as Se, b as Ce, c as we, d as Te, f as Ee, g as De, h as Oe, i as ke, j as Ae, l as je, m as Me, n as Ne, o as Pe, p as U, r as Fe, s as W, t as G, u as Ie, v as Le, y as Re, z as ze } from "./NoDataState-BIUG8tOF.mjs";
|
|
18
18
|
import { A as Be, B as Ve, C as He, E as Ue, L as We, M as K, N as Ge, O as Ke, R as qe, S as Je, a as Ye, i as Xe, j as Ze, n as Qe, o as $e, r as q, t as J, w as et } from "./qaSelectors-BgB3Jnvz.mjs";
|
|
19
19
|
import { n as tt, t as nt } from "./x-DDC7VFx5.mjs";
|
|
20
20
|
import { t as Y } from "./dist-C0uxSp1k.mjs";
|
|
@@ -2691,7 +2691,7 @@ var pa = ({ rows: e, qaEntity: t }) => {
|
|
|
2691
2691
|
})]
|
|
2692
2692
|
}) : null]
|
|
2693
2693
|
});
|
|
2694
|
-
}, ma = X.lazy(async () => ({ default: (await import("./charts-
|
|
2694
|
+
}, ma = X.lazy(async () => ({ default: (await import("./charts-CT97dkOO.mjs").then((e) => e.t)).DbnChart })), ha = /* @__PURE__ */ new Set([
|
|
2695
2695
|
f.table,
|
|
2696
2696
|
f.trendAnalyzer,
|
|
2697
2697
|
f.pivot,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "react";
|
|
2
2
|
import "react-dom";
|
|
3
3
|
import "react-dom/client";
|
|
4
|
-
import { Ea as e, Ni as t, Or as n, Pi as r, Ri as i, Sa as a, Si as o, Ta as s, Tr as c, ci as l, di as u, et as d, pr as f, si as p, sr as m, ur as h, vi as g, wi as _, yr as v } from "./Portal-
|
|
4
|
+
import { Ea as e, Ni as t, Or as n, Pi as r, Ri as i, Sa as a, Si as o, Ta as s, Tr as c, ci as l, di as u, et as d, pr as f, si as p, sr as m, ur as h, vi as g, wi as _, yr as v } from "./Portal-nCdXVAdn.mjs";
|
|
5
5
|
import { t as ee } from "./jsx-runtime-B0EUnyJj.mjs";
|
|
6
|
-
import { y } from "./TextAreaField-
|
|
6
|
+
import { y } from "./TextAreaField-BQIhzzc0.mjs";
|
|
7
7
|
import "react";
|
|
8
8
|
//#region src/helpers/autoCompleteHelpers.ts
|
|
9
9
|
var b = (e, t) => Array.from(/* @__PURE__ */ new Set([...e, ...t])).map((e) => ({ name: e })), x = (t) => {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import "react";
|
|
2
2
|
import "react-dom";
|
|
3
3
|
import "react-dom/client";
|
|
4
|
-
import { Ai as e, Ba as t, Fr as n, Pa as r, T as i, ui as a, ur as o, zt as s } from "./Portal-
|
|
4
|
+
import { Ai as e, Ba as t, Fr as n, Pa as r, T as i, ui as a, ur as o, zt as s } from "./Portal-nCdXVAdn.mjs";
|
|
5
5
|
import { t as c } from "./jsx-runtime-B0EUnyJj.mjs";
|
|
6
|
-
import { f as l, u } from "./timeseries-
|
|
6
|
+
import { f as l, u } from "./timeseries-D38T0e7I.mjs";
|
|
7
7
|
import "./No_data-BIO-IPxg.mjs";
|
|
8
8
|
import { a as d, i as f, n as p, o as m, r as h, s as g, t as ee } from "./dist-DHNl58qD.mjs";
|
|
9
|
-
import { t as _ } from "./conditionalFormatting-
|
|
9
|
+
import { t as _ } from "./conditionalFormatting-C-KQImY8.mjs";
|
|
10
10
|
import { n as te, r as ne, t as re } from "./tableAriaRowModel-C4w1OsEZ.mjs";
|
|
11
11
|
import { t as ie } from "./Loader-BOT4ofJi.mjs";
|
|
12
12
|
import { memo as v, useEffect as y, useMemo as b, useState as x } from "react";
|
|
@@ -3,18 +3,18 @@ import "react-dom";
|
|
|
3
3
|
import "react-dom/client";
|
|
4
4
|
import { n as e, o as t } from "./cardStates-Cpns2lUc.mjs";
|
|
5
5
|
import { ft as n } from "./pluginV3Request-BS1Sa8o7.mjs";
|
|
6
|
-
import { Da as r, Ft as i, Na as a, Qn as o, Sa as s, Ta as c, Ua as l, Xn as u, Yn as d, Zn as f, ar as p, er as m, ir as h, nr as g, or as _, rr as v, sr as y, tr as b, vn as x } from "./Portal-
|
|
6
|
+
import { Da as r, Ft as i, Na as a, Qn as o, Sa as s, Ta as c, Ua as l, Xn as u, Yn as d, Zn as f, ar as p, er as m, ir as h, nr as g, or as _, rr as v, sr as y, tr as b, vn as x } from "./Portal-nCdXVAdn.mjs";
|
|
7
7
|
import { t as S } from "./jsx-runtime-B0EUnyJj.mjs";
|
|
8
|
-
import { i as ee, n as C, r as w, t as te } from "./toTasteAppearance-
|
|
8
|
+
import { i as ee, n as C, r as w, t as te } from "./toTasteAppearance-Caa-L7Go.mjs";
|
|
9
9
|
import { k as ne } from "./option-DX8yNc39.mjs";
|
|
10
|
-
import { a as T, i as E, n as D, o as O, r as re, t as k } from "./chevron-down-
|
|
11
|
-
import { h as A, p as j } from "./timeseries-
|
|
10
|
+
import { a as T, i as E, n as D, o as O, r as re, t as k } from "./chevron-down-CcrMhLPe.mjs";
|
|
11
|
+
import { h as A, p as j } from "./timeseries-D38T0e7I.mjs";
|
|
12
12
|
import { n as M } from "./arrayToCsvString-Cb1t-QbR.mjs";
|
|
13
13
|
import { t as ie } from "./loading-state-CF_6fTCn.mjs";
|
|
14
|
-
import { A as ae, C as N, D as oe, E as se, G as ce, H as le, M as ue, O as de, S as fe, T as P, U as pe, V as me, _ as he, a as ge, b as F, c as _e, d as ve, et as ye, g as be, i as xe, j as Se, k as Ce, l as we, o as I, p as Te, r as Ee, s as De, u as Oe, v as ke, x as Ae, y as je } from "./ChartNavigationProvider-
|
|
14
|
+
import { A as ae, C as N, D as oe, E as se, G as ce, H as le, M as ue, O as de, S as fe, T as P, U as pe, V as me, _ as he, a as ge, b as F, c as _e, d as ve, et as ye, g as be, i as xe, j as Se, k as Ce, l as we, o as I, p as Te, r as Ee, s as De, u as Oe, v as ke, x as Ae, y as je } from "./ChartNavigationProvider-CFDuKLxv.mjs";
|
|
15
15
|
import { n as Me } from "./cardActions-BLBLsjcd.mjs";
|
|
16
16
|
import { t as L } from "./createLucideIcon-C-N26TaJ.mjs";
|
|
17
|
-
import { B as Ne, C as Pe, D as Fe, E as Ie, F as Le, H as Re, I as ze, L as Be, O as Ve, P as He, R as Ue, S as We, T as Ge, U as Ke, V as qe, W as Je, _ as Ye, a as R, b as z, c as Xe, d as Ze, f as Qe, g as $e, h as et, i as tt, k as nt, l as rt, m as it, n as at, o as B, p as V, r as ot, s as H, t as st, u as U, v as ct, w as lt, x as W, z as ut } from "./NoDataState-
|
|
17
|
+
import { B as Ne, C as Pe, D as Fe, E as Ie, F as Le, H as Re, I as ze, L as Be, O as Ve, P as He, R as Ue, S as We, T as Ge, U as Ke, V as qe, W as Je, _ as Ye, a as R, b as z, c as Xe, d as Ze, f as Qe, g as $e, h as et, i as tt, k as nt, l as rt, m as it, n as at, o as B, p as V, r as ot, s as H, t as st, u as U, v as ct, w as lt, x as W, z as ut } from "./NoDataState-BIUG8tOF.mjs";
|
|
18
18
|
import { C as dt, L as ft, M as G, R as pt, a as mt, t as ht } from "./qaSelectors-BgB3Jnvz.mjs";
|
|
19
19
|
import { n as gt, t as _t } from "./x-DDC7VFx5.mjs";
|
|
20
20
|
import { t as K } from "./dist-C0uxSp1k.mjs";
|
|
@@ -1368,7 +1368,7 @@ var Xn = 300, Zn = ({ open: e, onOpenChange: t, columns: n, rows: r, onDownload:
|
|
|
1368
1368
|
]
|
|
1369
1369
|
})
|
|
1370
1370
|
});
|
|
1371
|
-
}, er = q.lazy(async () => ({ default: (await import("./charts-
|
|
1371
|
+
}, er = q.lazy(async () => ({ default: (await import("./charts-CT97dkOO.mjs").then((e) => e.t)).DbnChart })), tr = q.lazy(async () => ({ default: (await import("./Chart-B3VzztF2.mjs").then((e) => e.n)).Chart })), nr = Object.freeze({
|
|
1372
1372
|
isLoading: !1,
|
|
1373
1373
|
error: "",
|
|
1374
1374
|
data: [],
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react";
|
|
2
2
|
import "react-dom";
|
|
3
3
|
import "react-dom/client";
|
|
4
|
-
import { Ba as e } from "./Portal-
|
|
4
|
+
import { Ba as e } from "./Portal-nCdXVAdn.mjs";
|
|
5
5
|
import { t } from "./jsx-runtime-B0EUnyJj.mjs";
|
|
6
6
|
import { t as n } from "./No_data-BIO-IPxg.mjs";
|
|
7
7
|
import "react";
|
|
@@ -2,9 +2,9 @@ import "react";
|
|
|
2
2
|
import "react-dom";
|
|
3
3
|
import "react-dom/client";
|
|
4
4
|
import { t as e } from "./cardStates-Cpns2lUc.mjs";
|
|
5
|
-
import { ft as t } from "./Portal-
|
|
5
|
+
import { ft as t } from "./Portal-nCdXVAdn.mjs";
|
|
6
6
|
import { t as n } from "./jsx-runtime-B0EUnyJj.mjs";
|
|
7
|
-
import { t as r } from "./chevron-down-
|
|
7
|
+
import { t as r } from "./chevron-down-CcrMhLPe.mjs";
|
|
8
8
|
import { t as i } from "./loading-state-CF_6fTCn.mjs";
|
|
9
9
|
import { t as a } from "./createLucideIcon-C-N26TaJ.mjs";
|
|
10
10
|
import { A as o, B as s, D as c, E as l, F as u, I as d, O as f, P as p, S as m, T as h, _ as g, c as _, d as v, f as y, g as b, h as x, j as S, k as C, l as w, m as T, o as E, p as D, s as ee, u as O, v as k, w as A, x as te, y as j, z as M } from "./qaSelectors-BgB3Jnvz.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react";
|
|
2
2
|
import "react-dom";
|
|
3
3
|
import "react-dom/client";
|
|
4
|
-
import { Ba as e, Pa as t, t as n, ur as r } from "./Portal-
|
|
4
|
+
import { Ba as e, Pa as t, t as n, ur as r } from "./Portal-nCdXVAdn.mjs";
|
|
5
5
|
import { t as i } from "./jsx-runtime-B0EUnyJj.mjs";
|
|
6
6
|
import "react";
|
|
7
7
|
var a = {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "react";
|
|
2
2
|
import "react-dom";
|
|
3
3
|
import "react-dom/client";
|
|
4
|
-
import { Pa as e, a as t, ur as n } from "./Portal-
|
|
4
|
+
import { Pa as e, a as t, ur as n } from "./Portal-nCdXVAdn.mjs";
|
|
5
5
|
import { t as r } from "./jsx-runtime-B0EUnyJj.mjs";
|
|
6
|
-
import { f as i, u as a } from "./timeseries-
|
|
6
|
+
import { f as i, u as a } from "./timeseries-D38T0e7I.mjs";
|
|
7
7
|
import { i as o } from "./transformData-ow-ma1SZ.mjs";
|
|
8
8
|
import { t as s } from "./pivotTable.module-CfzBQL58.mjs";
|
|
9
9
|
import c, { useEffect as l, useMemo as u, useState as d } from "react";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import "react";
|
|
2
2
|
import "react-dom";
|
|
3
3
|
import "react-dom/client";
|
|
4
|
-
import { Pa as e, ur as t } from "./Portal-
|
|
4
|
+
import { Pa as e, ur as t } from "./Portal-nCdXVAdn.mjs";
|
|
5
5
|
import { t as n } from "./jsx-runtime-B0EUnyJj.mjs";
|
|
6
|
-
import { f as r, o as i, u as a } from "./timeseries-
|
|
6
|
+
import { f as r, o as i, u as a } from "./timeseries-D38T0e7I.mjs";
|
|
7
7
|
import { i as o } from "./transformData-ow-ma1SZ.mjs";
|
|
8
|
-
import { t as s } from "./NoDataFound-
|
|
9
|
-
import { t as c } from "./conditionalFormatting-
|
|
8
|
+
import { t as s } from "./NoDataFound-1p3W6VT3.mjs";
|
|
9
|
+
import { t as c } from "./conditionalFormatting-C-KQImY8.mjs";
|
|
10
10
|
import { t as l } from "./pivotTable.module-CfzBQL58.mjs";
|
|
11
11
|
import u, { useEffect as d, useMemo as f, useState as p } from "react";
|
|
12
12
|
//#region ../core/src/helpers/regexUtils/formula.ts
|
|
@@ -23893,68 +23893,68 @@ var Fw = Pw(), Iw = (e) => Fw.sanitize(e, {
|
|
|
23893
23893
|
labelWithIcon2: "_labelWithIcon2_esbeq_340",
|
|
23894
23894
|
popOption: "_popOption_esbeq_344",
|
|
23895
23895
|
important: "_important_esbeq_347"
|
|
23896
|
-
}, pO = ({ id: e, label: t, labelSuffix: n, "aria-label": r, labelVariant: i = "static", selectedOption: a, onChange: o, button: s, options: c
|
|
23897
|
-
let [
|
|
23898
|
-
let e =
|
|
23899
|
-
se ? se(e) :
|
|
23900
|
-
},
|
|
23901
|
-
let e =
|
|
23902
|
-
return
|
|
23896
|
+
}, pO = ({ id: e, label: t, labelSuffix: n, "aria-label": r, labelVariant: i = "static", selectedOption: a, onChange: o, button: s, options: c, customOption: l, isDisabled: u, customButton: d, icon: f, buttonWidth: p = "200px", buttonHeight: m, menuWidth: h = "200px", size: g, isSearchEnabled: _, searchPlaceholder: v, placeholder: y, children: b, radius: x, isFilter: S, isViewFilter: C = !1, isApplyDashboardColor: w, disableAutoClose: T = !1, isClearEnabled: E, className: D, menuMaxHeight: O, isImportant: k, dataTestTitle: A, isAutoSelectOption: j, onSearch: M, searchValue: N, onLoadMore: P, hasMore: F, isLoadingData: I, error: L, emptyMessage: ee = "Not Available", onRetry: te, menuZIndex: ne, isAutoSelectFromLast: R, containerWidth: re, onClear: ie, isActionButtonEnabled: ae = !1, defaultOption: oe, isAllowSorting: z, sortDirection: B, onSortChange: se }) => {
|
|
23897
|
+
let V = c ?? [], [ce, H] = J(""), [le, ue] = J(20), [de, fe] = J(!1), [pe, me] = J(!1), [he, ge] = J(void 0), _e = q(null), ve = se ? B : he, ye = () => {
|
|
23898
|
+
let e = ve === void 0 ? "ASC" : ve === "ASC" ? "DESC" : void 0;
|
|
23899
|
+
se ? se(e) : ge(e);
|
|
23900
|
+
}, be = V?.find((e) => e.value === a?.value)?.label || a.label || a.value, xe = !!be, Se = a.badge, Ce = a.icon, we = a.logo?.toString()?.toLowerCase(), Te = a.logo2?.toString()?.toLowerCase(), Ee = { width: f || V?.[0]?.badge ? "70%" : "100%" }, De = K(() => {
|
|
23901
|
+
let e = ce.toLowerCase(), t = ce ? V.filter((t) => t.label.toString().toLowerCase().includes(e) || t.value.toString().toLowerCase().includes(e)) : [...V];
|
|
23902
|
+
return ve ? t.sort((e, t) => {
|
|
23903
23903
|
let n = (e.label ?? e.value)?.toString()?.toLowerCase() || "", r = (t.label ?? t.value)?.toString()?.toLowerCase() || "", i = n.localeCompare(r);
|
|
23904
|
-
return
|
|
23905
|
-
}) :
|
|
23904
|
+
return ve === "DESC" ? -i : i;
|
|
23905
|
+
}) : ce ? t.sort((t, n) => {
|
|
23906
23906
|
let r = t.label.toString()?.toLowerCase(), i = n.label.toString()?.toLowerCase(), a = t.value.toString()?.toLowerCase(), o = n.value.toString()?.toLowerCase();
|
|
23907
23907
|
return (r.startsWith(e) || a.startsWith(e)) && !(i.startsWith(e) || o.startsWith(e)) ? -1 : !(r.startsWith(e) || a.startsWith(e)) && (i.startsWith(e) || o.startsWith(e)) ? 1 : (r === e || a === e) && i !== e && o !== e ? -1 : +(r !== e && a !== e && (i === e || o === e));
|
|
23908
23908
|
}) : t;
|
|
23909
23909
|
}, [
|
|
23910
|
+
ce,
|
|
23910
23911
|
V,
|
|
23911
|
-
|
|
23912
|
-
|
|
23913
|
-
|
|
23914
|
-
if (Ae) switch (p) {
|
|
23912
|
+
ve
|
|
23913
|
+
]), Oe = K(() => De?.slice(0, le) || [], [De, le]), ke = ve ? `Sorted ${ve === "ASC" ? "A to Z" : "Z to A"}` : "Sort options", Ae = Oe.length > 0, je = K(() => E && a?.value, [E, a?.value]), Me = K(() => {
|
|
23914
|
+
if (je) switch (p) {
|
|
23915
23915
|
case "130px": return "dbn:w-[70%]";
|
|
23916
23916
|
case "250px": return "dbn:w-[85%]";
|
|
23917
23917
|
default: return "dbn:w-[65%]";
|
|
23918
23918
|
}
|
|
23919
23919
|
return "";
|
|
23920
|
-
}, [
|
|
23920
|
+
}, [je, p]);
|
|
23921
23921
|
G(() => {
|
|
23922
|
-
j &&
|
|
23922
|
+
j && V?.length && !a?.value && !pe && o(R ? V?.[V?.length - 1] : V?.[0]);
|
|
23923
23923
|
}, [
|
|
23924
23924
|
j,
|
|
23925
|
-
|
|
23925
|
+
V,
|
|
23926
23926
|
R,
|
|
23927
23927
|
a?.value,
|
|
23928
|
-
|
|
23928
|
+
pe
|
|
23929
23929
|
]);
|
|
23930
|
-
let
|
|
23931
|
-
|
|
23932
|
-
},
|
|
23933
|
-
let t =
|
|
23930
|
+
let Ne = !u, U = () => _e.current?.focus(), Pe = () => {
|
|
23931
|
+
Ne && (U(), fe((e) => !e));
|
|
23932
|
+
}, Fe = Ox(W((e) => e(kj), [])), Ie = (e) => {
|
|
23933
|
+
let t = Fe();
|
|
23934
23934
|
Array.isArray(t) && (t.forEach((t) => {
|
|
23935
23935
|
t.referenceElement?.contains(e) && (t.setOpen?.(!1), t.setMenuOpen?.(!1));
|
|
23936
|
-
}),
|
|
23937
|
-
},
|
|
23936
|
+
}), fe(!1));
|
|
23937
|
+
}, Le = window.CSS && CSS.supports("width", "clamp(1px, 1px, 1px)"), Re = Ve(), ze = t ? `${Re}-label` : void 0;
|
|
23938
23938
|
return /* @__PURE__ */ (0, Y.jsx)(Aj, {
|
|
23939
23939
|
tabMenu: T,
|
|
23940
|
-
buttonWidth:
|
|
23940
|
+
buttonWidth: Le && S && !C ? `clamp(100px, 13cqw, ${p})` : p,
|
|
23941
23941
|
isDisabled: u,
|
|
23942
23942
|
position: "bottom-start",
|
|
23943
|
-
menuWidth:
|
|
23943
|
+
menuWidth: Le && S && !C ? `clamp(100px, 13cqw, ${h})` : h,
|
|
23944
23944
|
offset: [0, 6],
|
|
23945
23945
|
isClearEnabled: E,
|
|
23946
|
-
isMenuOpen: E ?
|
|
23947
|
-
setMenuOpen:
|
|
23946
|
+
isMenuOpen: E ? de : void 0,
|
|
23947
|
+
setMenuOpen: fe,
|
|
23948
23948
|
dataTestTitle: A,
|
|
23949
23949
|
menuZIndex: ne,
|
|
23950
23950
|
buttonContent: /* @__PURE__ */ (0, Y.jsxs)(Y.Fragment, { children: [t && i === "static" ? /* @__PURE__ */ (0, Y.jsxs)("button", {
|
|
23951
|
-
id:
|
|
23951
|
+
id: ze,
|
|
23952
23952
|
type: "button",
|
|
23953
23953
|
className: "dbn:w-full dbn:inline-flex dbn:border-0 dbn:bg-transparent dbn:p-0 dbn:text-left dbn:text-xs dbn:leading-6 dbn:font-normal dbn:font-sans",
|
|
23954
23954
|
title: t,
|
|
23955
23955
|
tabIndex: u ? -1 : 0,
|
|
23956
23956
|
"aria-disabled": u || void 0,
|
|
23957
|
-
onClick:
|
|
23957
|
+
onClick: U,
|
|
23958
23958
|
children: [
|
|
23959
23959
|
S ? /* @__PURE__ */ (0, Y.jsx)("span", {
|
|
23960
23960
|
className: `dbn:truncate ${S ? "dbn-selectBox-text" : ""} ${S && w ? "dbn-selectBox" : ""}`,
|
|
@@ -23972,10 +23972,10 @@ var Fw = Pw(), Iw = (e) => Fw.sanitize(e, {
|
|
|
23972
23972
|
}) : null
|
|
23973
23973
|
]
|
|
23974
23974
|
}) : null, /* @__PURE__ */ (0, Y.jsxs)("div", {
|
|
23975
|
-
ref:
|
|
23975
|
+
ref: _e,
|
|
23976
23976
|
id: `${(t ?? e)?.replaceAll(" ", "-")?.toLowerCase()}-selected`,
|
|
23977
23977
|
"data-testid": `${(t ?? e)?.replaceAll(" ", "-")?.toLowerCase()}-dropdown`,
|
|
23978
|
-
className: `ui-dropdown-control ${fO.wrapper} ${S ? "dbn-selectBox-text" : ""} ${S && w ? "dbn-selectBox" : ""} ${g ? fO[g] : ""} ${D || ""} ${
|
|
23978
|
+
className: `ui-dropdown-control ${fO.wrapper} ${S ? "dbn-selectBox-text" : ""} ${S && w ? "dbn-selectBox" : ""} ${g ? fO[g] : ""} ${D || ""} ${de ? "active-test" : "inactive-test"}`,
|
|
23979
23979
|
style: {
|
|
23980
23980
|
opacity: u ? .6 : 1,
|
|
23981
23981
|
cursor: u ? "not-allowed" : "pointer",
|
|
@@ -23986,24 +23986,24 @@ var Fw = Pw(), Iw = (e) => Fw.sanitize(e, {
|
|
|
23986
23986
|
},
|
|
23987
23987
|
role: "combobox",
|
|
23988
23988
|
"aria-label": t ? void 0 : r,
|
|
23989
|
-
"aria-labelledby":
|
|
23989
|
+
"aria-labelledby": ze,
|
|
23990
23990
|
tabIndex: u ? -1 : 0,
|
|
23991
23991
|
"aria-disabled": u || void 0,
|
|
23992
|
-
"aria-expanded": u ? void 0 :
|
|
23992
|
+
"aria-expanded": u ? void 0 : de,
|
|
23993
23993
|
"aria-haspopup": u ? void 0 : "listbox",
|
|
23994
|
-
"aria-controls": u || !
|
|
23995
|
-
onClick:
|
|
23994
|
+
"aria-controls": u || !de ? void 0 : `${(t ?? e)?.replaceAll(" ", "-")?.toLowerCase()}-menu`,
|
|
23995
|
+
onClick: Pe,
|
|
23996
23996
|
onKeyDown: (e) => {
|
|
23997
23997
|
[
|
|
23998
23998
|
"Enter",
|
|
23999
23999
|
" ",
|
|
24000
24000
|
"ArrowDown"
|
|
24001
|
-
].includes(e.key) && (e.preventDefault(),
|
|
24001
|
+
].includes(e.key) && (e.preventDefault(), Pe()), e.key === "Escape" && de && (e.preventDefault(), e.stopPropagation(), Ie(e.currentTarget));
|
|
24002
24002
|
},
|
|
24003
24003
|
children: [/* @__PURE__ */ (0, Y.jsxs)("div", {
|
|
24004
|
-
className: `${fO.valueWrapper} ${
|
|
24004
|
+
className: `${fO.valueWrapper} ${Me}`,
|
|
24005
24005
|
children: [t && i === "floating" ? /* @__PURE__ */ (0, Y.jsxs)("div", {
|
|
24006
|
-
id:
|
|
24006
|
+
id: ze,
|
|
24007
24007
|
className: `${fO.floatingLabel} ${S ? "dbn-selectBox-text" : ""}`,
|
|
24008
24008
|
children: [
|
|
24009
24009
|
/* @__PURE__ */ (0, Y.jsx)("span", {
|
|
@@ -24022,56 +24022,56 @@ var Fw = Pw(), Iw = (e) => Fw.sanitize(e, {
|
|
|
24022
24022
|
children: d || /* @__PURE__ */ (0, Y.jsxs)(Y.Fragment, { children: [i === "static" && /* @__PURE__ */ (0, Y.jsxs)("div", {
|
|
24023
24023
|
className: fO.staticValueWrapper,
|
|
24024
24024
|
children: [
|
|
24025
|
-
|
|
24025
|
+
Ce ? /* @__PURE__ */ (0, Y.jsx)("span", {
|
|
24026
24026
|
className: "dbn:shrink-0",
|
|
24027
|
-
children: /* @__PURE__ */ (0, Y.jsx)(ml, { name:
|
|
24027
|
+
children: /* @__PURE__ */ (0, Y.jsx)(ml, { name: Ce })
|
|
24028
24028
|
}) : null,
|
|
24029
|
-
|
|
24029
|
+
we ? /* @__PURE__ */ (0, Y.jsxs)("span", {
|
|
24030
24030
|
className: "dbn:flex dbn:gap-1 dbn:items-center dbn:shrink-0",
|
|
24031
24031
|
children: [/* @__PURE__ */ (0, Y.jsx)(hl, {
|
|
24032
|
-
name: Ce,
|
|
24033
|
-
width: we ? 12 : 20
|
|
24034
|
-
}), we ? /* @__PURE__ */ (0, Y.jsxs)(Y.Fragment, { children: [/* @__PURE__ */ (0, Y.jsx)("span", { className: "dbn:h-3 dbn:border dbn:border-secondary" }), /* @__PURE__ */ (0, Y.jsx)(hl, {
|
|
24035
24032
|
name: we,
|
|
24033
|
+
width: Te ? 12 : 20
|
|
24034
|
+
}), Te ? /* @__PURE__ */ (0, Y.jsxs)(Y.Fragment, { children: [/* @__PURE__ */ (0, Y.jsx)("span", { className: "dbn:h-3 dbn:border dbn:border-secondary" }), /* @__PURE__ */ (0, Y.jsx)(hl, {
|
|
24035
|
+
name: Te,
|
|
24036
24036
|
width: 12
|
|
24037
24037
|
})] }) : null]
|
|
24038
24038
|
}) : null,
|
|
24039
24039
|
/* @__PURE__ */ (0, Y.jsx)("div", {
|
|
24040
24040
|
className: [
|
|
24041
24041
|
fO.staticLabel,
|
|
24042
|
-
|
|
24042
|
+
xe ? "" : fO.placeholder,
|
|
24043
24043
|
S ? "dbn-selectBox-text" : "",
|
|
24044
24044
|
S && w ? "dbn-selectBox" : ""
|
|
24045
24045
|
].filter(Boolean).join(" "),
|
|
24046
|
-
style:
|
|
24047
|
-
title:
|
|
24048
|
-
children:
|
|
24046
|
+
style: Le && S ? { fontSize: "clamp(var(--dbn-fit-text-floor, 8px), 9cqw, 14px)" } : {},
|
|
24047
|
+
title: be,
|
|
24048
|
+
children: be || y || "Select an option"
|
|
24049
24049
|
}),
|
|
24050
|
-
|
|
24050
|
+
Se ? /* @__PURE__ */ (0, Y.jsx)("span", {
|
|
24051
24051
|
className: fO.badge,
|
|
24052
|
-
children:
|
|
24052
|
+
children: Se
|
|
24053
24053
|
}) : null
|
|
24054
24054
|
]
|
|
24055
24055
|
}), i === "floating" ? /* @__PURE__ */ (0, Y.jsxs)("div", {
|
|
24056
24056
|
className: fO.floatingValueWrapper,
|
|
24057
|
-
style:
|
|
24058
|
-
title:
|
|
24057
|
+
style: Le && S ? { fontSize: "clamp(var(--dbn-fit-text-floor, 8px), 9cqw, 14px)" } : {},
|
|
24058
|
+
title: be,
|
|
24059
24059
|
children: [/* @__PURE__ */ (0, Y.jsx)("span", {
|
|
24060
24060
|
className: [
|
|
24061
|
-
|
|
24061
|
+
xe ? "" : fO.placeholder,
|
|
24062
24062
|
S && w ? "dbn-selectBox" : "",
|
|
24063
24063
|
S ? "dbn-selectBox-text" : ""
|
|
24064
24064
|
].filter(Boolean).join(" "),
|
|
24065
|
-
children:
|
|
24066
|
-
}),
|
|
24065
|
+
children: be || y || "Select an option"
|
|
24066
|
+
}), Se ? /* @__PURE__ */ (0, Y.jsx)("span", {
|
|
24067
24067
|
className: fO.badge,
|
|
24068
|
-
children:
|
|
24068
|
+
children: Se
|
|
24069
24069
|
}) : null]
|
|
24070
24070
|
}) : null] })
|
|
24071
24071
|
})]
|
|
24072
24072
|
}), u ? null : /* @__PURE__ */ (0, Y.jsxs)("div", {
|
|
24073
24073
|
className: "dbn:flex dbn:gap-1 dbn:min-w-[20px] dbn:max-w-[64px]",
|
|
24074
|
-
children: [
|
|
24074
|
+
children: [je ? /* @__PURE__ */ (0, Y.jsx)(Mt, {
|
|
24075
24075
|
className: "dbn:h-full",
|
|
24076
24076
|
variant: "popover",
|
|
24077
24077
|
"aria-label": t ? `Clear ${t}` : "Clear selection",
|
|
@@ -24084,15 +24084,15 @@ var Fw = Pw(), Iw = (e) => Fw.sanitize(e, {
|
|
|
24084
24084
|
}),
|
|
24085
24085
|
containerClass: "dbn-interactive-element",
|
|
24086
24086
|
onClick: (e) => {
|
|
24087
|
-
e.stopPropagation(),
|
|
24087
|
+
e.stopPropagation(), Ne && (ie ? ie?.() : o({
|
|
24088
24088
|
value: "",
|
|
24089
24089
|
label: ""
|
|
24090
|
-
}),
|
|
24090
|
+
}), me(!0));
|
|
24091
24091
|
}
|
|
24092
24092
|
}) : null, /* @__PURE__ */ (0, Y.jsx)(Mt, {
|
|
24093
24093
|
variant: "popover",
|
|
24094
|
-
"aria-label": [t,
|
|
24095
|
-
className:
|
|
24094
|
+
"aria-label": [t, be || y || "Select an option"].filter(Boolean).join(": "),
|
|
24095
|
+
className: je ? "dbn:border-l dbn:border-secondary" : "",
|
|
24096
24096
|
leftIcon: /* @__PURE__ */ (0, Y.jsx)(ml, {
|
|
24097
24097
|
name: "chevron-down",
|
|
24098
24098
|
size: "md",
|
|
@@ -24119,30 +24119,30 @@ var Fw = Pw(), Iw = (e) => Fw.sanitize(e, {
|
|
|
24119
24119
|
_ && /* @__PURE__ */ (0, Y.jsxs)("div", {
|
|
24120
24120
|
className: fO.searchTab,
|
|
24121
24121
|
children: [/* @__PURE__ */ (0, Y.jsx)(SM, {
|
|
24122
|
-
setSearchKeyword:
|
|
24122
|
+
setSearchKeyword: H,
|
|
24123
24123
|
placeholder: v,
|
|
24124
|
-
value: N ??
|
|
24124
|
+
value: N ?? ce,
|
|
24125
24125
|
onSearch: M,
|
|
24126
24126
|
debounceMs: F === void 0 ? void 0 : 300,
|
|
24127
24127
|
id: `${(t ?? e)?.replaceAll(" ", "-")?.toLowerCase()}-search-menu`
|
|
24128
24128
|
}), z ? /* @__PURE__ */ (0, Y.jsxs)(Mt, {
|
|
24129
24129
|
variant: "popover",
|
|
24130
|
-
className: `${fO.sortButton} ${
|
|
24130
|
+
className: `${fO.sortButton} ${ve ? fO.sortButtonActive : ""}`,
|
|
24131
24131
|
containerClass: "dbn-interactive-element",
|
|
24132
|
-
title:
|
|
24133
|
-
"aria-label":
|
|
24132
|
+
title: ke,
|
|
24133
|
+
"aria-label": ke,
|
|
24134
24134
|
onClick: (e) => {
|
|
24135
|
-
e.stopPropagation(),
|
|
24135
|
+
e.stopPropagation(), ye();
|
|
24136
24136
|
},
|
|
24137
24137
|
children: [/* @__PURE__ */ (0, Y.jsx)("span", {
|
|
24138
24138
|
className: fO.sortLabel,
|
|
24139
|
-
children:
|
|
24139
|
+
children: ve === "DESC" ? "Z" : "A"
|
|
24140
24140
|
}), /* @__PURE__ */ (0, Y.jsx)("span", {
|
|
24141
24141
|
className: fO.sortIcon,
|
|
24142
24142
|
children: /* @__PURE__ */ (0, Y.jsx)(ml, {
|
|
24143
|
-
name:
|
|
24143
|
+
name: ve === "DESC" ? "arrow-down" : "arrow-up",
|
|
24144
24144
|
size: "xxs",
|
|
24145
|
-
color:
|
|
24145
|
+
color: ve ? "primary" : "gray"
|
|
24146
24146
|
})
|
|
24147
24147
|
})]
|
|
24148
24148
|
}) : null]
|
|
@@ -24153,7 +24153,7 @@ var Fw = Pw(), Iw = (e) => Fw.sanitize(e, {
|
|
|
24153
24153
|
variant: "tab",
|
|
24154
24154
|
type: "button",
|
|
24155
24155
|
onClick: () => {
|
|
24156
|
-
|
|
24156
|
+
Ne && (me(!0), ie ? ie() : o({
|
|
24157
24157
|
label: "",
|
|
24158
24158
|
value: ""
|
|
24159
24159
|
}));
|
|
@@ -24178,11 +24178,11 @@ var Fw = Pw(), Iw = (e) => Fw.sanitize(e, {
|
|
|
24178
24178
|
onClick: te,
|
|
24179
24179
|
children: "Try again"
|
|
24180
24180
|
}) : null]
|
|
24181
|
-
}) : /* @__PURE__ */ (0, Y.jsx)(Y.Fragment, { children: !
|
|
24181
|
+
}) : /* @__PURE__ */ (0, Y.jsx)(Y.Fragment, { children: !Oe?.length && !I ? /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
24182
24182
|
className: fO.noOptions,
|
|
24183
24183
|
children: ee
|
|
24184
24184
|
}) : /* @__PURE__ */ (0, Y.jsxs)(Y.Fragment, { children: [
|
|
24185
|
-
|
|
24185
|
+
Oe?.map((e) => {
|
|
24186
24186
|
let n = e?.labelType?.toLowerCase() === "custom" ? "remainOpen" : "", r = e.value === a.value;
|
|
24187
24187
|
return /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
24188
24188
|
role: "option",
|
|
@@ -24193,7 +24193,7 @@ var Fw = Pw(), Iw = (e) => Fw.sanitize(e, {
|
|
|
24193
24193
|
className: `${r ? fO.checkedOption : fO.option} ${`${t?.replaceAll(" ", "-")?.toLowerCase()}-menu-item`}`,
|
|
24194
24194
|
"data-closepopover": n,
|
|
24195
24195
|
onClick: () => {
|
|
24196
|
-
|
|
24196
|
+
Ne && o(e);
|
|
24197
24197
|
},
|
|
24198
24198
|
onKeyDown: (e) => {
|
|
24199
24199
|
(e.key === "Enter" || e.key === " ") && (e.preventDefault(), e.currentTarget.click());
|
|
@@ -24209,7 +24209,7 @@ var Fw = Pw(), Iw = (e) => Fw.sanitize(e, {
|
|
|
24209
24209
|
className: fO.optionDiv,
|
|
24210
24210
|
children: [/* @__PURE__ */ (0, Y.jsxs)("div", {
|
|
24211
24211
|
className: fO.optionWrapper1,
|
|
24212
|
-
style:
|
|
24212
|
+
style: Ee,
|
|
24213
24213
|
children: [/* @__PURE__ */ (0, Y.jsxs)("div", {
|
|
24214
24214
|
className: `${C ? "dbn:w-full" : ""} dbn:flex dbn:items-center dbn:justify-between dbn:gap-2`,
|
|
24215
24215
|
children: [/* @__PURE__ */ (0, Y.jsxs)("div", {
|
|
@@ -24232,7 +24232,7 @@ var Fw = Pw(), Iw = (e) => Fw.sanitize(e, {
|
|
|
24232
24232
|
}) : null,
|
|
24233
24233
|
/* @__PURE__ */ (0, Y.jsx)("span", {
|
|
24234
24234
|
className: `${fO.label} ${S ? "dbn-selectBox-text" : ""} dbn:min-w-0 dbn:flex-1 dbn:truncate`,
|
|
24235
|
-
style:
|
|
24235
|
+
style: Le && S ? { fontSize: "clamp(var(--dbn-fit-text-floor, 8px), 8cqw, 14px)" } : {},
|
|
24236
24236
|
"data-dbn-option-label": "",
|
|
24237
24237
|
children: e.label
|
|
24238
24238
|
})
|
|
@@ -24264,19 +24264,19 @@ var Fw = Pw(), Iw = (e) => Fw.sanitize(e, {
|
|
|
24264
24264
|
})
|
|
24265
24265
|
}, e.key || e.value);
|
|
24266
24266
|
}),
|
|
24267
|
-
I && !
|
|
24267
|
+
I && !Ae && /* @__PURE__ */ (0, Y.jsx)(gM, {
|
|
24268
24268
|
variant: "list",
|
|
24269
24269
|
rows: 5,
|
|
24270
24270
|
label: "Loading options"
|
|
24271
24271
|
}),
|
|
24272
|
-
(F ??
|
|
24272
|
+
(F ?? le < De?.length) && /* @__PURE__ */ (0, Y.jsx)(Mt, {
|
|
24273
24273
|
variant: "tab",
|
|
24274
24274
|
type: "button",
|
|
24275
24275
|
onClick: () => {
|
|
24276
|
-
|
|
24276
|
+
Ne && !I && (ue((e) => e + 20), P?.());
|
|
24277
24277
|
},
|
|
24278
24278
|
rightIcon: I ? void 0 : /* @__PURE__ */ (0, Y.jsx)(ml, { name: "chevron-down" }),
|
|
24279
|
-
isDisabled: I || !
|
|
24279
|
+
isDisabled: I || !Ne,
|
|
24280
24280
|
fitContainer: !0,
|
|
24281
24281
|
"data-closepopover": "remainOpen",
|
|
24282
24282
|
"data-testid": "load-more-btn",
|
|
@@ -24294,7 +24294,7 @@ var Fw = Pw(), Iw = (e) => Fw.sanitize(e, {
|
|
|
24294
24294
|
variant: "tab",
|
|
24295
24295
|
type: "button",
|
|
24296
24296
|
onClick: () => {
|
|
24297
|
-
|
|
24297
|
+
Ne && o(oe);
|
|
24298
24298
|
},
|
|
24299
24299
|
fitContainer: !0,
|
|
24300
24300
|
"data-closepopover": "remainOpen",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react";
|
|
2
2
|
import "react-dom";
|
|
3
3
|
import "react-dom/client";
|
|
4
|
-
import { pn as e } from "./Portal-
|
|
4
|
+
import { pn as e } from "./Portal-nCdXVAdn.mjs";
|
|
5
5
|
import { t } from "./jsx-runtime-B0EUnyJj.mjs";
|
|
6
6
|
import { h as n } from "./text-CtrvkDIo.mjs";
|
|
7
7
|
import "react";
|
|
@@ -4,12 +4,12 @@ import "react-dom/client";
|
|
|
4
4
|
import { a as e } from "./cardStates-Cpns2lUc.mjs";
|
|
5
5
|
import { Dt as t } from "./pluginV3Request-BS1Sa8o7.mjs";
|
|
6
6
|
import { K as n, et as r, ot as i } from "./metric.mutation-DpLOPFjt.mjs";
|
|
7
|
-
import { Ba as a, Bt as o, Cn as s, Lt as c, Na as l, Pa as u, Pt as d, Rt as f, T as p, Tn as m, Ut as h, a as g, bn as _, da as v, dr as y, ea as b, ha as ee, kt as x, m as S, ma as C, na as w, o as T, p as E, rn as D, sn as O, u as k, ur as A, va as j, wn as M, xn as te, zt as N } from "./Portal-
|
|
7
|
+
import { Ba as a, Bt as o, Cn as s, Lt as c, Na as l, Pa as u, Pt as d, Rt as f, T as p, Tn as m, Ut as h, a as g, bn as _, da as v, dr as y, ea as b, ha as ee, kt as x, m as S, ma as C, na as w, o as T, p as E, rn as D, sn as O, u as k, ur as A, va as j, wn as M, xn as te, zt as N } from "./Portal-nCdXVAdn.mjs";
|
|
8
8
|
import { t as ne } from "./jsx-runtime-B0EUnyJj.mjs";
|
|
9
|
-
import { a as P, c as re, d as ie, g as ae, i as oe, l as F, n as se, o as ce, t as le, u as ue } from "./TagInputField-
|
|
10
|
-
import { t as de } from "./NoDataFound-
|
|
9
|
+
import { a as P, c as re, d as ie, g as ae, i as oe, l as F, n as se, o as ce, t as le, u as ue } from "./TagInputField-D2-ZjGwR.mjs";
|
|
10
|
+
import { t as de } from "./NoDataFound-1p3W6VT3.mjs";
|
|
11
11
|
import { t as fe } from "./No_data-BIO-IPxg.mjs";
|
|
12
|
-
import { t as I } from "./Panel-
|
|
12
|
+
import { t as I } from "./Panel-DK436Zy8.mjs";
|
|
13
13
|
import { t as pe } from "./Switch-Bjta4jTW.mjs";
|
|
14
14
|
import { t as L } from "./Loader-BOT4ofJi.mjs";
|
|
15
15
|
import { t as R } from "./list.module-DmT9azvq.mjs";
|
|
@@ -4,18 +4,18 @@ import "react-dom/client";
|
|
|
4
4
|
import { o as e, r as t, t as n } from "./rolldown-runtime-C1JUX4Ur.mjs";
|
|
5
5
|
import { r } from "./pluginV3Request-BS1Sa8o7.mjs";
|
|
6
6
|
import { a as i, r as a } from "./metric.mutation-DpLOPFjt.mjs";
|
|
7
|
-
import { Aa as o, Ai as s, Ba as l, Bi as u, Br as d, Ei as f, Fr as p, I as m, Jr as ee, Ki as te, Kr as ne, Oa as re, Pa as ie, Pr as ae, Pt as oe, Rt as se, Sa as ce, Si as le, T as ue, Ti as de, Ur as fe, Vi as pe, Vr as me, Yn as he, Yt as ge, Zi as _e, a as ve, aa as ye, ai as be, ar as xe, bi as Se, c as Ce, cr as we, d as Te, dr as Ee, f as De, fa as Oe, h as Ae, ia as je, ii as Me, jt as Ne, kt as Pe, l as Fe, li as Ie, lr as Le, oa as Re, p as ze, qi as Be, qr as Ve, sa as He, ur as Ue, zi as We, zt as Ge } from "./Portal-
|
|
7
|
+
import { Aa as o, Ai as s, Ba as l, Bi as u, Br as d, Ei as f, Fr as p, I as m, Jr as ee, Ki as te, Kr as ne, Oa as re, Pa as ie, Pr as ae, Pt as oe, Rt as se, Sa as ce, Si as le, T as ue, Ti as de, Ur as fe, Vi as pe, Vr as me, Yn as he, Yt as ge, Zi as _e, a as ve, aa as ye, ai as be, ar as xe, bi as Se, c as Ce, cr as we, d as Te, dr as Ee, f as De, fa as Oe, h as Ae, ia as je, ii as Me, jt as Ne, kt as Pe, l as Fe, li as Ie, lr as Le, oa as Re, p as ze, qi as Be, qr as Ve, sa as He, ur as Ue, zi as We, zt as Ge } from "./Portal-nCdXVAdn.mjs";
|
|
8
8
|
import { t as Ke } from "./jsx-runtime-B0EUnyJj.mjs";
|
|
9
|
-
import { r as qe, v as Je, y as Ye } from "./timeseries-
|
|
10
|
-
import { _ as Xe, c as Ze, d as Qe, f as $e, g as et, h as tt, i as nt, l as rt, m as it, n as at, o as ot, p as st, r as ct, s as lt, t as ut, u as dt, v as ft, x as pt } from "./TextAreaField-
|
|
11
|
-
import { t as mt } from "./Chart-
|
|
12
|
-
import { t as ht } from "./RadioButton-
|
|
13
|
-
import { n as gt } from "./TimeSeriesSettings-
|
|
14
|
-
import { t as _t } from "./Table-
|
|
15
|
-
import { S as vt, a as yt, b as bt, c as xt, i as St, l as Ct, m as wt, n as Tt, o as Et, p as Dt, r as Ot, s as kt, t as At, u as jt, x as Mt, y as Nt } from "./DraggableItem-
|
|
16
|
-
import { n as Pt, t as Ft } from "./NoDataFound-
|
|
17
|
-
import { t as It } from "./Accordion-
|
|
18
|
-
import { t as Lt } from "./Panel-
|
|
9
|
+
import { r as qe, v as Je, y as Ye } from "./timeseries-D38T0e7I.mjs";
|
|
10
|
+
import { _ as Xe, c as Ze, d as Qe, f as $e, g as et, h as tt, i as nt, l as rt, m as it, n as at, o as ot, p as st, r as ct, s as lt, t as ut, u as dt, v as ft, x as pt } from "./TextAreaField-BQIhzzc0.mjs";
|
|
11
|
+
import { t as mt } from "./Chart-B3VzztF2.mjs";
|
|
12
|
+
import { t as ht } from "./RadioButton-DaBNeuHf.mjs";
|
|
13
|
+
import { n as gt } from "./TimeSeriesSettings-DbZu1jcC.mjs";
|
|
14
|
+
import { t as _t } from "./Table-BmvnimZO.mjs";
|
|
15
|
+
import { S as vt, a as yt, b as bt, c as xt, i as St, l as Ct, m as wt, n as Tt, o as Et, p as Dt, r as Ot, s as kt, t as At, u as jt, x as Mt, y as Nt } from "./DraggableItem-BDntbrsm.mjs";
|
|
16
|
+
import { n as Pt, t as Ft } from "./NoDataFound-1p3W6VT3.mjs";
|
|
17
|
+
import { t as It } from "./Accordion-Fad8DYon.mjs";
|
|
18
|
+
import { t as Lt } from "./Panel-DK436Zy8.mjs";
|
|
19
19
|
import { t as Rt } from "./Switch-Bjta4jTW.mjs";
|
|
20
20
|
import { lazy as zt, memo as Bt, startTransition as Vt, useCallback as Ht, useEffect as Ut, useMemo as Wt, useRef as Gt, useState as Kt } from "react";
|
|
21
21
|
//#region src/hooks/useAutoCompleteOptions.ts
|