@turquoisehealth/pit-viper 2.234.1-dev.0 → 2.234.2
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/_site/assets/css/pit-viper-a11y.css +24 -7
- package/_site/assets/css/pit-viper-consumer.css +24 -7
- package/_site/assets/css/pit-viper-v2-scoped.css +20 -7
- package/_site/assets/css/pit-viper-v2.css +26 -8
- package/_site/assets/css/pit-viper.css +24 -7
- package/_src/assets/sprite-v2.svg +1 -1
- package/_src/assets/sprite.svg +1 -1
- package/package.json +1 -1
- package/pv-components/dist/stats/vue/base/stats.html +1 -1
- package/pv-components/dist/stats/vue/visualizations/stats.html +1 -1
- package/pv-components/dist/stats/web/pv-card-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-insight-card-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-query-builder-input-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-widget-stats.html +1 -1
- package/pv-components/dist/vue/ai/components/base/PvCard/PvCard.vue.d.ts +21 -0
- package/pv-components/dist/vue/base/components/base/PvCard/PvCard.vue.d.ts +21 -0
- package/pv-components/dist/vue/base/pv-components-base.mjs +629 -598
- package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
- package/pv-components/dist/vue/visualizations/components/base/PvCard/PvCard.vue.d.ts +21 -0
- package/pv-components/dist/vue/visualizations/components/base/PvSortableList/PvSortableList.vue.d.ts +0 -7
- package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/table-chart-components/PvChartOptionsPanel.vue.d.ts +0 -6
- package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/types.d.ts +0 -14
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +1516 -1509
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
- package/pv-components/dist/web/components/pv-card/pv-card.js +517 -487
- package/pv-components/dist/web/components/pv-insight-card/pv-insight-card.js +498 -468
- package/pv-components/dist/web/components/pv-query-builder-input/pv-query-builder-input.js +1 -1
- package/pv-components/dist/web/components/pv-widget/pv-widget.js +534 -504
- package/pv-components/dist/web/pv-components.iife.js +12 -12
- package/pv-components/dist/web/pv-components.iife.js.map +1 -1
|
@@ -5708,7 +5708,16 @@ var Ia = {
|
|
|
5708
5708
|
value: e.value
|
|
5709
5709
|
}, "4.0 stars", 8, Ds)], 12, Es));
|
|
5710
5710
|
}
|
|
5711
|
-
}), ks =
|
|
5711
|
+
}), ks = {
|
|
5712
|
+
key: 0,
|
|
5713
|
+
class: "pv-flex pv-full-width"
|
|
5714
|
+
}, As = { class: "pv-flex-item pv-truncate" }, js = { class: "pv-card-hover-action__action pv-flex" }, Ms = {
|
|
5715
|
+
key: 1,
|
|
5716
|
+
class: "pv-flex pv-full-width"
|
|
5717
|
+
}, Ns = { class: "pv-flex-item pv-truncate" }, Ps = { class: "pv-card-hover-action__action pv-flex" }, Fs = {
|
|
5718
|
+
key: 2,
|
|
5719
|
+
class: "pv-flex pv-full-width"
|
|
5720
|
+
}, Is = { class: "pv-flex-item pv-truncate" }, Ls = { class: "pv-card-hover-action__action pv-flex" }, Rs = /* @__PURE__ */ d({
|
|
5712
5721
|
__name: "PvCard",
|
|
5713
5722
|
props: {
|
|
5714
5723
|
href: {},
|
|
@@ -5716,52 +5725,74 @@ var Ia = {
|
|
|
5716
5725
|
interactive: {
|
|
5717
5726
|
type: Boolean,
|
|
5718
5727
|
default: !1
|
|
5728
|
+
},
|
|
5729
|
+
headerAction: {
|
|
5730
|
+
type: Boolean,
|
|
5731
|
+
default: !1
|
|
5732
|
+
},
|
|
5733
|
+
descriptionAction: {
|
|
5734
|
+
type: Boolean,
|
|
5735
|
+
default: !1
|
|
5736
|
+
},
|
|
5737
|
+
footerAction: {
|
|
5738
|
+
type: Boolean,
|
|
5739
|
+
default: !1
|
|
5719
5740
|
}
|
|
5720
5741
|
},
|
|
5721
5742
|
setup(e) {
|
|
5722
|
-
let
|
|
5723
|
-
return (
|
|
5743
|
+
let n = e, c = r(() => n.headerAction || n.descriptionAction || n.footerAction), l = r(() => n.href ? "a" : n.interactive ? "button" : "div"), u = r(() => !n.href && n.interactive ? "button" : void 0), d = r(() => `pv-card pv-inset-square-8 ${c.value ? "pv-flex-vertical" : "pv-inline-block"}`);
|
|
5744
|
+
return (n, r) => (D(), i(N(l.value), {
|
|
5724
5745
|
href: e.href,
|
|
5725
|
-
type:
|
|
5726
|
-
class: y([
|
|
5746
|
+
type: u.value,
|
|
5747
|
+
class: y([d.value, {
|
|
5748
|
+
"pv-card-secondary": e.variant === "secondary" && !c.value,
|
|
5749
|
+
"pv-card-hover-action": c.value,
|
|
5750
|
+
"pv-card-hover-action-secondary": c.value && e.variant === "secondary"
|
|
5751
|
+
}]),
|
|
5752
|
+
style: x(c.value ? { "--flex-align": "flex-start" } : void 0),
|
|
5727
5753
|
"data-testid": "pv-card"
|
|
5728
5754
|
}, {
|
|
5729
|
-
default: K(() => [
|
|
5755
|
+
default: K(() => [c.value ? (D(), o(t, { key: 0 }, [
|
|
5756
|
+
e.headerAction ? (D(), o("div", ks, [s("div", As, [j(n.$slots, "header")]), s("div", js, [j(n.$slots, "header-action")])])) : a("", !0),
|
|
5757
|
+
e.descriptionAction ? (D(), o("div", Ms, [s("div", Ns, [j(n.$slots, "description")]), s("div", Ps, [j(n.$slots, "description-action")])])) : a("", !0),
|
|
5758
|
+
e.footerAction ? (D(), o("div", Fs, [s("div", Is, [j(n.$slots, "footer")]), s("div", Ls, [j(n.$slots, "footer-action")])])) : a("", !0)
|
|
5759
|
+
], 64)) : j(n.$slots, "default", { key: 1 })]),
|
|
5730
5760
|
_: 3
|
|
5731
5761
|
}, 8, [
|
|
5732
5762
|
"href",
|
|
5733
5763
|
"type",
|
|
5734
|
-
"class"
|
|
5764
|
+
"class",
|
|
5765
|
+
"style"
|
|
5735
5766
|
]));
|
|
5736
5767
|
}
|
|
5737
|
-
}),
|
|
5768
|
+
}), zs = /* @__PURE__ */ d({
|
|
5738
5769
|
__name: "PvWidget",
|
|
5739
5770
|
setup(e) {
|
|
5740
|
-
return (e, t) => (D(), i(
|
|
5771
|
+
return (e, t) => (D(), i(Rs, { class: "pv-inset-square-16" }, {
|
|
5741
5772
|
default: K(() => [j(e.$slots, "default")]),
|
|
5742
5773
|
_: 3
|
|
5743
5774
|
}));
|
|
5744
5775
|
}
|
|
5745
|
-
}),
|
|
5776
|
+
}), Bs = {
|
|
5746
5777
|
class: "pv-flex-vertical",
|
|
5747
5778
|
style: {
|
|
5748
5779
|
"--flex-align": "flex-start",
|
|
5749
5780
|
"--flex-gap": "0.25rem"
|
|
5750
5781
|
}
|
|
5751
|
-
},
|
|
5782
|
+
}, Vs = {
|
|
5752
5783
|
key: 0,
|
|
5753
5784
|
class: "pv-flex",
|
|
5754
5785
|
style: { "--flex-gap": "0.25rem" }
|
|
5755
|
-
},
|
|
5786
|
+
}, Hs = { class: "pv-text-body-sm" }, Us = {
|
|
5756
5787
|
key: 1,
|
|
5757
5788
|
class: "pv-text-body-sm pv-text-tertiary"
|
|
5758
|
-
},
|
|
5789
|
+
}, Ws = {
|
|
5759
5790
|
key: 2,
|
|
5760
5791
|
class: "pv-heading-2"
|
|
5761
|
-
},
|
|
5792
|
+
}, Gs = {
|
|
5762
5793
|
key: 3,
|
|
5763
5794
|
class: "pv-text-body-md pv-text-secondary pv-text-subdued"
|
|
5764
|
-
},
|
|
5795
|
+
}, Ks = /* @__PURE__ */ Q(/* @__PURE__ */ d({
|
|
5765
5796
|
__name: "PvInsightCard",
|
|
5766
5797
|
props: {
|
|
5767
5798
|
icon: { default: "ai" },
|
|
@@ -5781,22 +5812,22 @@ var Ia = {
|
|
|
5781
5812
|
emits: ["click", "icon-click"],
|
|
5782
5813
|
setup(e) {
|
|
5783
5814
|
let t = e, n = r(() => t.icon || t.insight);
|
|
5784
|
-
return (t, r) => (D(), i(
|
|
5815
|
+
return (t, r) => (D(), i(Rs, {
|
|
5785
5816
|
variant: "secondary",
|
|
5786
5817
|
interactive: e.interactive,
|
|
5787
5818
|
onClick: r[1] ||= (e) => t.$emit("click"),
|
|
5788
5819
|
class: "pv-relative"
|
|
5789
5820
|
}, {
|
|
5790
|
-
default: K(() => [s("div",
|
|
5791
|
-
n.value ? (D(), o("div",
|
|
5821
|
+
default: K(() => [s("div", Bs, [
|
|
5822
|
+
n.value ? (D(), o("div", Vs, [e.icon ? (D(), i(Z, {
|
|
5792
5823
|
key: 0,
|
|
5793
5824
|
style: { color: "#218c88" },
|
|
5794
5825
|
name: e.icon,
|
|
5795
5826
|
size: 12
|
|
5796
|
-
}, null, 8, ["name"])) : a("", !0), s("span",
|
|
5797
|
-
e.upperLabel ? (D(), o("span",
|
|
5798
|
-
e.title ? (D(), o("span",
|
|
5799
|
-
e.description ? (D(), o("span",
|
|
5827
|
+
}, null, 8, ["name"])) : a("", !0), s("span", Hs, I(e.insight), 1)])) : a("", !0),
|
|
5828
|
+
e.upperLabel ? (D(), o("span", Us, I(e.upperLabel), 1)) : a("", !0),
|
|
5829
|
+
e.title ? (D(), o("span", Ws, I(e.title), 1)) : a("", !0),
|
|
5830
|
+
e.description ? (D(), o("span", Gs, I(e.description), 1)) : a("", !0)
|
|
5800
5831
|
]), e.showButton ? (D(), i($, {
|
|
5801
5832
|
key: 0,
|
|
5802
5833
|
"left-icon": "new-tab",
|
|
@@ -5809,7 +5840,7 @@ var Ia = {
|
|
|
5809
5840
|
_: 1
|
|
5810
5841
|
}, 8, ["interactive"]));
|
|
5811
5842
|
}
|
|
5812
|
-
}), [["__scopeId", "data-v-c1185c07"]]),
|
|
5843
|
+
}), [["__scopeId", "data-v-c1185c07"]]), qs = /* @__PURE__ */ Q(/* @__PURE__ */ d({
|
|
5813
5844
|
__name: "PvExpandableContent",
|
|
5814
5845
|
props: {
|
|
5815
5846
|
lines: { default: 4 },
|
|
@@ -5863,7 +5894,7 @@ var Ia = {
|
|
|
5863
5894
|
"left-icon": l.value ? "chevron-up" : "chevron-down"
|
|
5864
5895
|
}, null, 8, ["label", "left-icon"])) : a("", !0)], 6));
|
|
5865
5896
|
}
|
|
5866
|
-
}), [["__scopeId", "data-v-fc5fc7e0"]]),
|
|
5897
|
+
}), [["__scopeId", "data-v-fc5fc7e0"]]), Js = { class: "pv-text-body-md" }, Ys = /* @__PURE__ */ d({
|
|
5867
5898
|
__name: "PvToast",
|
|
5868
5899
|
props: {
|
|
5869
5900
|
variant: { default: "info" },
|
|
@@ -5888,7 +5919,7 @@ var Ia = {
|
|
|
5888
5919
|
name: e.icon ? e.icon : n[e.variant],
|
|
5889
5920
|
size: 20
|
|
5890
5921
|
}, null, 8, ["name"]),
|
|
5891
|
-
s("p",
|
|
5922
|
+
s("p", Js, I(e.label), 1),
|
|
5892
5923
|
j(r.$slots, "default"),
|
|
5893
5924
|
u($, {
|
|
5894
5925
|
variant: "ghost",
|
|
@@ -5900,29 +5931,29 @@ var Ia = {
|
|
|
5900
5931
|
}, null, 8, ["inverse"])
|
|
5901
5932
|
], 2));
|
|
5902
5933
|
}
|
|
5903
|
-
}),
|
|
5934
|
+
}), Xs = ["data-style"], Zs = /* @__PURE__ */ d({
|
|
5904
5935
|
__name: "PvActionBar",
|
|
5905
5936
|
props: { variant: { default: "white" } },
|
|
5906
5937
|
setup(e) {
|
|
5907
5938
|
return (t, n) => (D(), o("div", {
|
|
5908
5939
|
class: "pv-action-bar-container",
|
|
5909
5940
|
"data-style": e.variant === "white" ? "white" : void 0
|
|
5910
|
-
}, [j(t.$slots, "default")], 8,
|
|
5941
|
+
}, [j(t.$slots, "default")], 8, Xs));
|
|
5911
5942
|
}
|
|
5912
|
-
}),
|
|
5943
|
+
}), Qs = {
|
|
5913
5944
|
class: "pv-flex pv-truncate",
|
|
5914
5945
|
style: {
|
|
5915
5946
|
"min-width": "0",
|
|
5916
5947
|
"min-height": "20px"
|
|
5917
5948
|
}
|
|
5918
|
-
},
|
|
5949
|
+
}, $s = ["title"], ec = /* @__PURE__ */ d({
|
|
5919
5950
|
__name: "PvSimpleItemTree",
|
|
5920
5951
|
props: {
|
|
5921
5952
|
label: {},
|
|
5922
5953
|
icon: {}
|
|
5923
5954
|
},
|
|
5924
5955
|
setup(e) {
|
|
5925
|
-
return (t, n) => (D(), o("div",
|
|
5956
|
+
return (t, n) => (D(), o("div", Qs, [e.icon ? (D(), i(Z, {
|
|
5926
5957
|
key: 0,
|
|
5927
5958
|
name: e.icon
|
|
5928
5959
|
}, null, 8, ["name"])) : a("", !0), s("span", {
|
|
@@ -5932,9 +5963,9 @@ var Ia = {
|
|
|
5932
5963
|
"min-width": "0"
|
|
5933
5964
|
},
|
|
5934
5965
|
title: e.label
|
|
5935
|
-
}, I(e.label), 9,
|
|
5966
|
+
}, I(e.label), 9, $s)]));
|
|
5936
5967
|
}
|
|
5937
|
-
}),
|
|
5968
|
+
}), tc = /* @__PURE__ */ Q(/* @__PURE__ */ d({
|
|
5938
5969
|
__name: "PvTreeReorderIcon",
|
|
5939
5970
|
setup(e) {
|
|
5940
5971
|
return (e, t) => (D(), i(Z, {
|
|
@@ -5942,7 +5973,7 @@ var Ia = {
|
|
|
5942
5973
|
class: "reorder-icon pv-text-tertiary"
|
|
5943
5974
|
}));
|
|
5944
5975
|
}
|
|
5945
|
-
}), [["__scopeId", "data-v-1efb9068"]]),
|
|
5976
|
+
}), [["__scopeId", "data-v-1efb9068"]]), nc = /* @__PURE__ */ d({
|
|
5946
5977
|
__name: "PvButtonTreeItem",
|
|
5947
5978
|
props: {
|
|
5948
5979
|
selected: { type: Boolean },
|
|
@@ -5977,7 +6008,7 @@ var Ia = {
|
|
|
5977
6008
|
_: 3
|
|
5978
6009
|
}, 8, ["class"]));
|
|
5979
6010
|
}
|
|
5980
|
-
}),
|
|
6011
|
+
}), rc = /* @__PURE__ */ d({
|
|
5981
6012
|
__name: "PvCheckboxTreeItem",
|
|
5982
6013
|
props: {
|
|
5983
6014
|
selected: { type: Boolean },
|
|
@@ -6012,32 +6043,32 @@ var Ia = {
|
|
|
6012
6043
|
onClick: s
|
|
6013
6044
|
}, null, 8, ["checked"])), j(t.$slots, "default")], 2));
|
|
6014
6045
|
}
|
|
6015
|
-
}),
|
|
6046
|
+
}), ic = /* @__PURE__ */ Q(/* @__PURE__ */ d({
|
|
6016
6047
|
__name: "PvTreeConnector",
|
|
6017
6048
|
props: { isLast: { type: Boolean } },
|
|
6018
6049
|
setup(e) {
|
|
6019
6050
|
return (t, n) => (D(), o("div", { class: y(e.isLast ? "pv-tree-connector-end" : "pv-tree-connector-middle") }, null, 2));
|
|
6020
6051
|
}
|
|
6021
|
-
}), [["__scopeId", "data-v-2a7afaff"]]),
|
|
6052
|
+
}), [["__scopeId", "data-v-2a7afaff"]]), ac = () => ({
|
|
6022
6053
|
indentPadding: (e, t = 0) => `${(e + t) * 24}px`,
|
|
6023
6054
|
connectorOffset: (e) => `${e * 24 + 8}px`,
|
|
6024
6055
|
showsConnector: (e, t) => !!(t && e[t]?.showNestedTree),
|
|
6025
6056
|
showsChildConnectors: (e, t) => !!e[t]?.showNestedTree,
|
|
6026
6057
|
childLevel: ({ level: e, showNestedTree: t, childrenShowNestedTree: n, additionalNestingLevel: r = 0 }) => e + (n && !t ? 0 : 1) + r
|
|
6027
|
-
}),
|
|
6058
|
+
}), oc = /* @__PURE__ */ Q(/* @__PURE__ */ d({
|
|
6028
6059
|
__name: "PvTreeConnectorGroup",
|
|
6029
6060
|
props: {
|
|
6030
6061
|
active: { type: Boolean },
|
|
6031
6062
|
level: {}
|
|
6032
6063
|
},
|
|
6033
6064
|
setup(e) {
|
|
6034
|
-
let t = e, { connectorOffset: n } =
|
|
6065
|
+
let t = e, { connectorOffset: n } = ac(), i = r(() => t.active ? { "--tree-connector-left": n(t.level) } : {});
|
|
6035
6066
|
return (t, n) => (D(), o("div", {
|
|
6036
6067
|
class: y({ "pv-tree-connector-line": e.active }),
|
|
6037
6068
|
style: x(i.value)
|
|
6038
6069
|
}, [j(t.$slots, "default", {}, void 0, !0)], 6));
|
|
6039
6070
|
}
|
|
6040
|
-
}), [["__scopeId", "data-v-fb9813d5"]]),
|
|
6071
|
+
}), [["__scopeId", "data-v-fb9813d5"]]), sc = () => {
|
|
6041
6072
|
let e = k(null);
|
|
6042
6073
|
return {
|
|
6043
6074
|
hoveredId: e,
|
|
@@ -6048,15 +6079,15 @@ var Ia = {
|
|
|
6048
6079
|
e.value = null;
|
|
6049
6080
|
}
|
|
6050
6081
|
};
|
|
6051
|
-
},
|
|
6082
|
+
}, cc = Symbol("DraggingStateKey"), lc = Symbol("DraggingGroupNameKey"), uc = Symbol("DropIndicatorKey"), dc = () => {
|
|
6052
6083
|
let e = k(!1), t = k(null), n = k(null);
|
|
6053
|
-
return O(
|
|
6084
|
+
return O(cc, e), O(lc, t), O(uc, n), {
|
|
6054
6085
|
isDragging: e,
|
|
6055
6086
|
draggingGroupName: t,
|
|
6056
6087
|
dropIndicator: n
|
|
6057
6088
|
};
|
|
6058
|
-
},
|
|
6059
|
-
let e = m(
|
|
6089
|
+
}, fc = () => {
|
|
6090
|
+
let e = m(cc, k(!1)), t = m(lc, k(null)), n = m(uc, k(null)), r = (n) => {
|
|
6060
6091
|
e.value = !0, t.value = n ?? null;
|
|
6061
6092
|
}, i = () => {
|
|
6062
6093
|
e.value = !1, t.value = null, o();
|
|
@@ -6078,8 +6109,8 @@ var Ia = {
|
|
|
6078
6109
|
onDragStart: r,
|
|
6079
6110
|
onDragEnd: i
|
|
6080
6111
|
};
|
|
6081
|
-
},
|
|
6082
|
-
let { setDropIndicator: e, clearDropIndicator: t } =
|
|
6112
|
+
}, pc = () => {
|
|
6113
|
+
let { setDropIndicator: e, clearDropIndicator: t } = fc();
|
|
6083
6114
|
return {
|
|
6084
6115
|
getDragGroupConfig: (e, t) => {
|
|
6085
6116
|
let n = e[t.field]?.dragAndDropConfig;
|
|
@@ -6114,8 +6145,8 @@ var Ia = {
|
|
|
6114
6145
|
return i === !1 ? !1 : i === !0 || !n ? !0 : Array.isArray(i) ? i.includes(n) : (r?.name ?? "pv-tree") === n;
|
|
6115
6146
|
}
|
|
6116
6147
|
};
|
|
6117
|
-
},
|
|
6118
|
-
let { dropIndicator: e } =
|
|
6148
|
+
}, mc = () => {
|
|
6149
|
+
let { dropIndicator: e } = fc();
|
|
6119
6150
|
return { dragAndDropIndicatorClasses: (t) => {
|
|
6120
6151
|
let n = e.value, r = n?.siblingTargetId !== void 0 && n?.siblingTargetId !== null && n?.siblingTargetId === t.node_id;
|
|
6121
6152
|
return {
|
|
@@ -6124,7 +6155,7 @@ var Ia = {
|
|
|
6124
6155
|
"pv-drop-indicator-parent": n?.parentId === t.node_id
|
|
6125
6156
|
};
|
|
6126
6157
|
} };
|
|
6127
|
-
},
|
|
6158
|
+
}, hc = { class: "pv-flex pv-full-width" }, gc = ["data-parent-id"], _c = /* @__PURE__ */ Q(/* @__PURE__ */ d({
|
|
6128
6159
|
__name: "PvSimpleNestedTreeItem",
|
|
6129
6160
|
props: {
|
|
6130
6161
|
option: {},
|
|
@@ -6140,9 +6171,9 @@ var Ia = {
|
|
|
6140
6171
|
},
|
|
6141
6172
|
emits: ["handle-tree-select", "update:children"],
|
|
6142
6173
|
setup(e, { emit: t }) {
|
|
6143
|
-
let n = e, o = t, { isDragging: c, draggingGroupName: l, onDragStart: d, onDragEnd: f } =
|
|
6174
|
+
let n = e, o = t, { isDragging: c, draggingGroupName: l, onDragStart: d, onDragEnd: f } = fc(), { dragAndDropIndicatorClasses: p } = mc(), { hoveredId: m, handleMouseEnter: h, handleMouseLeave: g } = sc(), { canItemBeDragged: _, getDragAndDropDisabled: v, handleMoveCallback: b, getDragGroupConfig: S, canAcceptDrop: C } = pc(), { indentPadding: w, showsConnector: T, showsChildConnectors: E, childLevel: O } = ac(), k = () => {
|
|
6144
6175
|
d(S(n.settings, n.option).name);
|
|
6145
|
-
}, A = (e) => n.selectedOptions && n.selectedOptions.some((t) => t.node_id === e), j = r(() => n.settings[n.option.field]?.checkbox ?
|
|
6176
|
+
}, A = (e) => n.selectedOptions && n.selectedOptions.some((t) => t.node_id === e), j = r(() => n.settings[n.option.field]?.checkbox ? rc : nc), P = r(() => T(n.settings, n.parentField)), F = r(() => n.index === n.totalSiblings - 1), I = r(() => P.value && !F.value), R = r(() => O({
|
|
6146
6177
|
level: n.level,
|
|
6147
6178
|
showNestedTree: P.value,
|
|
6148
6179
|
childrenShowNestedTree: E(n.settings, n.option.field)
|
|
@@ -6157,7 +6188,7 @@ var Ia = {
|
|
|
6157
6188
|
}), B = r(() => n.isParentPathOpen ?? !0);
|
|
6158
6189
|
return (t, n) => {
|
|
6159
6190
|
let r = M("PvSimpleNestedTreeItem", !0);
|
|
6160
|
-
return D(), i(
|
|
6191
|
+
return D(), i(oc, {
|
|
6161
6192
|
active: I.value,
|
|
6162
6193
|
level: e.level
|
|
6163
6194
|
}, {
|
|
@@ -6177,7 +6208,7 @@ var Ia = {
|
|
|
6177
6208
|
onMouseleave: n[2] ||= (e) => L(g)(),
|
|
6178
6209
|
onContextmenu: n[3] ||= J((t) => e.settings[e.option.field]?.rendererParams?.onContextMenu?.(t, e.option), ["stop"])
|
|
6179
6210
|
}, {
|
|
6180
|
-
default: K(() => [q(u(
|
|
6211
|
+
default: K(() => [q(u(tc, null, null, 512), [[ne, L(m) === e.option.node_id && L(_)(e.isDraggable, e.settings, e.option)]]), s("div", hc, [P.value ? (D(), i(ic, {
|
|
6181
6212
|
key: 0,
|
|
6182
6213
|
"is-last": F.value
|
|
6183
6214
|
}, null, 8, ["is-last"])) : a("", !0), e.settings[e.option.field]?.renderer ? (D(), i(N(e.settings[e.option.field]?.renderer), {
|
|
@@ -6191,7 +6222,7 @@ var Ia = {
|
|
|
6191
6222
|
"settings",
|
|
6192
6223
|
"is-draggable",
|
|
6193
6224
|
"params"
|
|
6194
|
-
])) : (D(), i(
|
|
6225
|
+
])) : (D(), i(ec, {
|
|
6195
6226
|
key: 2,
|
|
6196
6227
|
label: e.option.label,
|
|
6197
6228
|
icon: e.settings[e.option.field]?.icon
|
|
@@ -6253,12 +6284,12 @@ var Ia = {
|
|
|
6253
6284
|
"class",
|
|
6254
6285
|
"onEnd",
|
|
6255
6286
|
"onAdd"
|
|
6256
|
-
])], 8,
|
|
6287
|
+
])], 8, gc)]),
|
|
6257
6288
|
_: 1
|
|
6258
6289
|
}, 8, ["active", "level"]);
|
|
6259
6290
|
};
|
|
6260
6291
|
}
|
|
6261
|
-
}), [["__scopeId", "data-v-f706f606"]]),
|
|
6292
|
+
}), [["__scopeId", "data-v-f706f606"]]), vc = ["data-parent-id"], yc = /* @__PURE__ */ Q(/* @__PURE__ */ d({
|
|
6262
6293
|
__name: "PvSimpleNestedTree",
|
|
6263
6294
|
props: {
|
|
6264
6295
|
option: {},
|
|
@@ -6274,14 +6305,14 @@ var Ia = {
|
|
|
6274
6305
|
},
|
|
6275
6306
|
emits: ["handle-tree-select", "update:children"],
|
|
6276
6307
|
setup(e, { emit: t }) {
|
|
6277
|
-
let n = e, o = t, { hoveredId: c, handleMouseEnter: l, handleMouseLeave: d } =
|
|
6308
|
+
let n = e, o = t, { hoveredId: c, handleMouseEnter: l, handleMouseLeave: d } = sc(), { getDragAndDropDisabled: f, canItemBeDragged: p, handleMoveCallback: m, getDragGroupConfig: h, canAcceptDrop: g } = pc(), { isDragging: _, draggingGroupName: v, onDragStart: b, onDragEnd: S } = fc(), { dragAndDropIndicatorClasses: C } = mc(), { indentPadding: w, showsConnector: T, showsChildConnectors: E, childLevel: O } = ac(), k = () => {
|
|
6278
6309
|
b(h(n.settings, n.option).name);
|
|
6279
6310
|
}, A = r(() => n.settings[n.option.field]?.additionalNestingLevel ?? 0), j = r(() => T(n.settings, n.parentField)), M = r(() => O({
|
|
6280
6311
|
level: n.level,
|
|
6281
6312
|
showNestedTree: j.value,
|
|
6282
6313
|
childrenShowNestedTree: E(n.settings, n.option.field),
|
|
6283
6314
|
additionalNestingLevel: A.value
|
|
6284
|
-
})), P = (e) => n.selectedOptions && n.selectedOptions.some((t) => t.node_id === e), F = (e) => n.settings[e.field]?.checkbox ?
|
|
6315
|
+
})), P = (e) => n.selectedOptions && n.selectedOptions.some((t) => t.node_id === e), F = (e) => n.settings[e.field]?.checkbox ? rc : nc, I = r({
|
|
6285
6316
|
get: () => [...n.option.children || []],
|
|
6286
6317
|
set: (e) => {
|
|
6287
6318
|
o("update:children", {
|
|
@@ -6290,7 +6321,7 @@ var Ia = {
|
|
|
6290
6321
|
});
|
|
6291
6322
|
}
|
|
6292
6323
|
}), R = r(() => n.isParentPathOpen ?? !0), z = r(() => n.index === void 0 || n.totalSiblings === void 0 ? !0 : n.index === n.totalSiblings - 1), B = r(() => j.value && !z.value);
|
|
6293
|
-
return (t, n) => (D(), i(
|
|
6324
|
+
return (t, n) => (D(), i(oc, {
|
|
6294
6325
|
class: "pv-flow",
|
|
6295
6326
|
style: { "--flow-size": "0px" },
|
|
6296
6327
|
active: B.value,
|
|
@@ -6313,8 +6344,8 @@ var Ia = {
|
|
|
6313
6344
|
onContextmenu: n[3] ||= J((t) => e.settings[e.option.field]?.rendererParams?.onContextMenu?.(t, e.option), ["stop"])
|
|
6314
6345
|
}, {
|
|
6315
6346
|
default: K(() => [
|
|
6316
|
-
q(u(
|
|
6317
|
-
j.value ? (D(), i(
|
|
6347
|
+
q(u(tc, null, null, 512), [[ne, L(c) === e.option.node_id && L(p)(e.isDraggable, e.settings, e.option)]]),
|
|
6348
|
+
j.value ? (D(), i(ic, {
|
|
6318
6349
|
key: 0,
|
|
6319
6350
|
"is-last": z.value
|
|
6320
6351
|
}, null, 8, ["is-last"])) : a("", !0),
|
|
@@ -6329,7 +6360,7 @@ var Ia = {
|
|
|
6329
6360
|
"settings",
|
|
6330
6361
|
"selected",
|
|
6331
6362
|
"params"
|
|
6332
|
-
])) : (D(), i(
|
|
6363
|
+
])) : (D(), i(ec, {
|
|
6333
6364
|
key: 2,
|
|
6334
6365
|
label: e.option.label,
|
|
6335
6366
|
icon: e.settings[e.option.field]?.icon
|
|
@@ -6357,7 +6388,7 @@ var Ia = {
|
|
|
6357
6388
|
onEnd: L(S),
|
|
6358
6389
|
onAdd: L(S)
|
|
6359
6390
|
}, {
|
|
6360
|
-
item: K(({ element: r, index: i }) => [u(
|
|
6391
|
+
item: K(({ element: r, index: i }) => [u(_c, {
|
|
6361
6392
|
"is-parent-path-open": e.isParentPathOpen,
|
|
6362
6393
|
option: r,
|
|
6363
6394
|
settings: e.settings,
|
|
@@ -6392,11 +6423,11 @@ var Ia = {
|
|
|
6392
6423
|
"class",
|
|
6393
6424
|
"onEnd",
|
|
6394
6425
|
"onAdd"
|
|
6395
|
-
])], 8,
|
|
6426
|
+
])], 8, vc)]),
|
|
6396
6427
|
_: 1
|
|
6397
6428
|
}, 8, ["active", "level"]));
|
|
6398
6429
|
}
|
|
6399
|
-
}), [["__scopeId", "data-v-26eb4678"]]),
|
|
6430
|
+
}), [["__scopeId", "data-v-26eb4678"]]), bc = ["data-parent-id"], xc = { key: 2 }, Sc = ["data-parent-id"], Cc = /* @__PURE__ */ Q(/* @__PURE__ */ d({
|
|
6400
6431
|
__name: "PvTreeItem",
|
|
6401
6432
|
props: {
|
|
6402
6433
|
option: {},
|
|
@@ -6424,12 +6455,12 @@ var Ia = {
|
|
|
6424
6455
|
G(() => n.treeOpen, (e) => {
|
|
6425
6456
|
e !== void 0 && (l.value = e);
|
|
6426
6457
|
});
|
|
6427
|
-
let { getDragGroupConfig: d, getDragAndDropDisabled: f, canItemBeDragged: p, handleMoveCallback: m, childrenDraggable: h, canAcceptDrop: g } =
|
|
6458
|
+
let { getDragGroupConfig: d, getDragAndDropDisabled: f, canItemBeDragged: p, handleMoveCallback: m, childrenDraggable: h, canAcceptDrop: g } = pc(), { hoveredId: _, handleMouseEnter: v, handleMouseLeave: b } = sc(), { isDragging: S, draggingGroupName: C, onDragStart: w, onDragEnd: T } = fc(), { dragAndDropIndicatorClasses: E } = mc(), { indentPadding: O, showsConnector: A } = ac(), j = () => {
|
|
6428
6459
|
w(d(n.settings, n.option).name);
|
|
6429
6460
|
}, P = (e) => ({
|
|
6430
6461
|
paddingLeft: O(e, n.settings[n.option.field]?.additionalNestingLevel ?? 0),
|
|
6431
6462
|
"--border-color": "#121313"
|
|
6432
|
-
}), F = (e) => n.selectedOptions && n.selectedOptions.some((t) => t.node_id === e), I = r(() => n.settings[n.option.field]?.checkbox ?
|
|
6463
|
+
}), F = (e) => n.selectedOptions && n.selectedOptions.some((t) => t.node_id === e), I = r(() => n.settings[n.option.field]?.checkbox ? rc : nc), R = r({
|
|
6433
6464
|
get: () => [...n.option.children || []],
|
|
6434
6465
|
set: (e) => {
|
|
6435
6466
|
c("update:children", {
|
|
@@ -6440,7 +6471,7 @@ var Ia = {
|
|
|
6440
6471
|
}), z = r(() => !!(n.option.children?.length && n.settings[n.option.field]?.accordion)), B = r(() => A(n.settings, n.parentField)), V = r(() => n.index === void 0 || n.totalSiblings === void 0 ? !0 : n.index === n.totalSiblings - 1), ee = r(() => B.value && !V.value), H = r(() => n.isParentPathOpen ?? !0 ? z.value && n.level === 0 ? l.value : !0 : !1);
|
|
6441
6472
|
return (t, n) => {
|
|
6442
6473
|
let r = M("PvTreeItem", !0);
|
|
6443
|
-
return D(), i(
|
|
6474
|
+
return D(), i(oc, {
|
|
6444
6475
|
active: ee.value,
|
|
6445
6476
|
level: e.level
|
|
6446
6477
|
}, {
|
|
@@ -6472,8 +6503,8 @@ var Ia = {
|
|
|
6472
6503
|
onContextmenu: n[6] ||= J((t) => e.settings[e.option.field]?.rendererParams?.onContextMenu?.(t, e.option), ["stop"])
|
|
6473
6504
|
}, {
|
|
6474
6505
|
trigger: K(() => [
|
|
6475
|
-
q(u(
|
|
6476
|
-
B.value ? (D(), i(
|
|
6506
|
+
q(u(tc, null, null, 512), [[ne, L(_) === e.option.node_id && L(p)(e.isDraggable, e.settings, e.option) && e.level > 0]]),
|
|
6507
|
+
B.value ? (D(), i(ic, {
|
|
6477
6508
|
key: 0,
|
|
6478
6509
|
"is-last": V.value
|
|
6479
6510
|
}, null, 8, ["is-last"])) : a("", !0),
|
|
@@ -6488,7 +6519,7 @@ var Ia = {
|
|
|
6488
6519
|
"settings",
|
|
6489
6520
|
"selected",
|
|
6490
6521
|
"params"
|
|
6491
|
-
])) : (D(), i(
|
|
6522
|
+
])) : (D(), i(ec, {
|
|
6492
6523
|
key: 2,
|
|
6493
6524
|
label: e.option.label,
|
|
6494
6525
|
icon: e.settings[e.option.field]?.icon
|
|
@@ -6544,7 +6575,7 @@ var Ia = {
|
|
|
6544
6575
|
"class",
|
|
6545
6576
|
"onEnd",
|
|
6546
6577
|
"onAdd"
|
|
6547
|
-
])], 8,
|
|
6578
|
+
])], 8, bc)]),
|
|
6548
6579
|
_: 1
|
|
6549
6580
|
}, 8, [
|
|
6550
6581
|
"modelValue",
|
|
@@ -6552,7 +6583,7 @@ var Ia = {
|
|
|
6552
6583
|
"summaryStyles",
|
|
6553
6584
|
"summaryClasses",
|
|
6554
6585
|
"defaultOpen"
|
|
6555
|
-
])) : e.option.children && e.option.children.length > 0 && e.settings && !e.settings[e.option.field]?.accordion ? (D(), i(
|
|
6586
|
+
])) : e.option.children && e.option.children.length > 0 && e.settings && !e.settings[e.option.field]?.accordion ? (D(), i(yc, {
|
|
6556
6587
|
key: 1,
|
|
6557
6588
|
"is-parent-path-open": e.isParentPathOpen,
|
|
6558
6589
|
"selected-options": e.selectedOptions,
|
|
@@ -6579,7 +6610,7 @@ var Ia = {
|
|
|
6579
6610
|
"is-draggable",
|
|
6580
6611
|
"disable-selection",
|
|
6581
6612
|
"is-last-root-item"
|
|
6582
|
-
])) : (D(), o("div",
|
|
6613
|
+
])) : (D(), o("div", xc, [(D(), i(N(I.value), {
|
|
6583
6614
|
class: y({ ...L(E)(e.option) }),
|
|
6584
6615
|
option: e.option,
|
|
6585
6616
|
selected: F(e.option.node_id),
|
|
@@ -6596,8 +6627,8 @@ var Ia = {
|
|
|
6596
6627
|
onContextmenu: n[12] ||= J((t) => e.settings[e.option.field]?.rendererParams?.onContextMenu?.(t, e.option), ["stop"])
|
|
6597
6628
|
}, {
|
|
6598
6629
|
default: K(() => [
|
|
6599
|
-
q(u(
|
|
6600
|
-
B.value ? (D(), i(
|
|
6630
|
+
q(u(tc, null, null, 512), [[ne, L(_) === e.option.node_id && L(p)(e.isDraggable, e.settings, e.option) && e.level > 0]]),
|
|
6631
|
+
B.value ? (D(), i(ic, {
|
|
6601
6632
|
key: 0,
|
|
6602
6633
|
"is-last": V.value
|
|
6603
6634
|
}, null, 8, ["is-last"])) : a("", !0),
|
|
@@ -6610,7 +6641,7 @@ var Ia = {
|
|
|
6610
6641
|
"option",
|
|
6611
6642
|
"settings",
|
|
6612
6643
|
"params"
|
|
6613
|
-
])) : (D(), i(
|
|
6644
|
+
])) : (D(), i(ec, {
|
|
6614
6645
|
key: 2,
|
|
6615
6646
|
label: e.option.label,
|
|
6616
6647
|
icon: e.settings[e.option.field]?.icon
|
|
@@ -6673,12 +6704,12 @@ var Ia = {
|
|
|
6673
6704
|
"class",
|
|
6674
6705
|
"onEnd",
|
|
6675
6706
|
"onAdd"
|
|
6676
|
-
])], 8,
|
|
6707
|
+
])], 8, Sc)]))]),
|
|
6677
6708
|
_: 1
|
|
6678
6709
|
}, 8, ["active", "level"]);
|
|
6679
6710
|
};
|
|
6680
6711
|
}
|
|
6681
|
-
}), [["__scopeId", "data-v-eb5f5907"]]),
|
|
6712
|
+
}), [["__scopeId", "data-v-eb5f5907"]]), wc = (e) => {
|
|
6682
6713
|
let t = [], n = !1;
|
|
6683
6714
|
function r(e) {
|
|
6684
6715
|
let t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map(), r = [];
|
|
@@ -6721,7 +6752,7 @@ var Ia = {
|
|
|
6721
6752
|
newChildren: r
|
|
6722
6753
|
}), n || (n = !0, v(i));
|
|
6723
6754
|
} };
|
|
6724
|
-
},
|
|
6755
|
+
}, Tc = /* @__PURE__ */ Q(/* @__PURE__ */ d({
|
|
6725
6756
|
__name: "PvTree",
|
|
6726
6757
|
props: /* @__PURE__ */ g({
|
|
6727
6758
|
settings: {},
|
|
@@ -6751,14 +6782,14 @@ var Ia = {
|
|
|
6751
6782
|
"update:treeOpen"
|
|
6752
6783
|
],
|
|
6753
6784
|
setup(e) {
|
|
6754
|
-
m(
|
|
6755
|
-
let n = e, i = B(e, "selectedOptions"), a = B(e, "options"), c = B(e, "treeOpen"), { handleUpdateChildren: l } =
|
|
6785
|
+
m(cc, null) || dc();
|
|
6786
|
+
let n = e, i = B(e, "selectedOptions"), a = B(e, "options"), c = B(e, "treeOpen"), { handleUpdateChildren: l } = wc(a), d = (e, t) => {
|
|
6756
6787
|
t.metaKey ? i.value?.some((t) => t.node_id === e.node_id) ? i.value = i.value?.filter((t) => t.node_id !== e.node_id) : i.value = [...i.value || [], e] : i.value?.some((t) => t.node_id === e.node_id) ? i.value = [] : i.value = [e];
|
|
6757
6788
|
}, f = r(() => Object.keys(n.settings).reduce((e, t) => (e[t] = {
|
|
6758
6789
|
...n.defaultSettings,
|
|
6759
6790
|
...n.settings[t]
|
|
6760
6791
|
}, e), {}));
|
|
6761
|
-
return (n, r) => (D(), o("div", null, [s("div", { class: y(["pv-tree", { "pv-tree--disable-selection": e.disableSelection }]) }, [(D(!0), o(t, null, A(a.value, (t, n) => (D(), o("div", { key: t.node_id }, [u(
|
|
6792
|
+
return (n, r) => (D(), o("div", null, [s("div", { class: y(["pv-tree", { "pv-tree--disable-selection": e.disableSelection }]) }, [(D(!0), o(t, null, A(a.value, (t, n) => (D(), o("div", { key: t.node_id }, [u(Cc, {
|
|
6762
6793
|
"is-last-root-item": n === a.value.length - 1,
|
|
6763
6794
|
"is-parent-path-open": !0,
|
|
6764
6795
|
"tree-open": c.value,
|
|
@@ -6781,19 +6812,19 @@ var Ia = {
|
|
|
6781
6812
|
"onUpdate:children"
|
|
6782
6813
|
])]))), 128))], 2)]));
|
|
6783
6814
|
}
|
|
6784
|
-
}), [["__scopeId", "data-v-2896bb8b"]]),
|
|
6815
|
+
}), [["__scopeId", "data-v-2896bb8b"]]), Ec = /* @__PURE__ */ d({
|
|
6785
6816
|
__name: "PvTreeGroup",
|
|
6786
6817
|
setup(e) {
|
|
6787
|
-
return
|
|
6818
|
+
return dc(), (e, t) => j(e.$slots, "default");
|
|
6788
6819
|
}
|
|
6789
|
-
}),
|
|
6820
|
+
}), Dc = { class: "pv-full-width" }, Oc = {
|
|
6790
6821
|
key: 0,
|
|
6791
6822
|
class: "pv-flex pv-stack-4",
|
|
6792
6823
|
style: { "--flex-justify": "space-between" }
|
|
6793
|
-
},
|
|
6824
|
+
}, kc = {
|
|
6794
6825
|
key: 1,
|
|
6795
6826
|
class: "pv-text-subdued pv-text-title-sm"
|
|
6796
|
-
},
|
|
6827
|
+
}, Ac = ["data-disabled"], jc = /* @__PURE__ */ d({
|
|
6797
6828
|
__name: "PvProgressBar",
|
|
6798
6829
|
props: {
|
|
6799
6830
|
disabled: {
|
|
@@ -6810,22 +6841,22 @@ var Ia = {
|
|
|
6810
6841
|
},
|
|
6811
6842
|
setup(e) {
|
|
6812
6843
|
let t = e, n = r(() => Math.min(100, Math.max(0, t.progress))), i = r(() => `${n.value}% Complete`);
|
|
6813
|
-
return (r, c) => (D(), o("div",
|
|
6844
|
+
return (r, c) => (D(), o("div", Dc, [e.showLabel || e.secondaryLabel ? (D(), o("div", Oc, [e.showLabel ? (D(), o("p", {
|
|
6814
6845
|
key: 0,
|
|
6815
6846
|
class: y(e.labelVariant === "secondary" ? "pv-text-subdued pv-text-title-sm" : "pv-text-brand pv-text-title-sm")
|
|
6816
|
-
}, I(i.value), 3)) : a("", !0), e.secondaryLabel ? (D(), o("span",
|
|
6847
|
+
}, I(i.value), 3)) : a("", !0), e.secondaryLabel ? (D(), o("span", kc, I(e.secondaryLabel), 1)) : a("", !0)])) : a("", !0), s("div", {
|
|
6817
6848
|
class: "pv-progress-bar",
|
|
6818
6849
|
"data-disabled": t.disabled ? !0 : void 0,
|
|
6819
6850
|
style: x({ "--progress": `${n.value}%` })
|
|
6820
|
-
}, null, 12,
|
|
6851
|
+
}, null, 12, Ac)]));
|
|
6821
6852
|
}
|
|
6822
|
-
}),
|
|
6853
|
+
}), Mc = {
|
|
6823
6854
|
class: "pv-flex",
|
|
6824
6855
|
style: {
|
|
6825
6856
|
"--flex-gap": "4px",
|
|
6826
6857
|
height: "24px"
|
|
6827
6858
|
}
|
|
6828
|
-
},
|
|
6859
|
+
}, Nc = /* @__PURE__ */ d({
|
|
6829
6860
|
__name: "PvDistributionBar",
|
|
6830
6861
|
props: { values: {} },
|
|
6831
6862
|
setup(e) {
|
|
@@ -6848,16 +6879,16 @@ var Ia = {
|
|
|
6848
6879
|
default: return "pv-data-surface-visualization-1";
|
|
6849
6880
|
}
|
|
6850
6881
|
};
|
|
6851
|
-
return (n, r) => (D(), o("div",
|
|
6882
|
+
return (n, r) => (D(), o("div", Mc, [(D(!0), o(t, null, A(e.values, (e, t) => (D(), o("div", {
|
|
6852
6883
|
key: t,
|
|
6853
6884
|
class: y([l(t)]),
|
|
6854
6885
|
style: x(c(e, t))
|
|
6855
6886
|
}, null, 6))), 128))]));
|
|
6856
6887
|
}
|
|
6857
|
-
}),
|
|
6888
|
+
}), Pc = {
|
|
6858
6889
|
key: 0,
|
|
6859
6890
|
class: "pv-range-single-slider"
|
|
6860
|
-
},
|
|
6891
|
+
}, Fc = [
|
|
6861
6892
|
"id",
|
|
6862
6893
|
"aria-label",
|
|
6863
6894
|
"aria-valuetext",
|
|
@@ -6866,11 +6897,11 @@ var Ia = {
|
|
|
6866
6897
|
"min",
|
|
6867
6898
|
"step",
|
|
6868
6899
|
"value"
|
|
6869
|
-
],
|
|
6900
|
+
], Ic = ["aria-label"], Lc = {
|
|
6870
6901
|
key: 0,
|
|
6871
6902
|
class: "pv-space-between pv-text-body-xs pv-text-subdued",
|
|
6872
6903
|
style: { "line-height": "1" }
|
|
6873
|
-
},
|
|
6904
|
+
}, Rc = [
|
|
6874
6905
|
"aria-label",
|
|
6875
6906
|
"aria-valuetext",
|
|
6876
6907
|
"disabled",
|
|
@@ -6878,7 +6909,7 @@ var Ia = {
|
|
|
6878
6909
|
"min",
|
|
6879
6910
|
"step",
|
|
6880
6911
|
"value"
|
|
6881
|
-
],
|
|
6912
|
+
], zc = [
|
|
6882
6913
|
"aria-label",
|
|
6883
6914
|
"aria-valuetext",
|
|
6884
6915
|
"disabled",
|
|
@@ -6886,7 +6917,7 @@ var Ia = {
|
|
|
6886
6917
|
"min",
|
|
6887
6918
|
"step",
|
|
6888
6919
|
"value"
|
|
6889
|
-
],
|
|
6920
|
+
], Bc = {
|
|
6890
6921
|
key: 1,
|
|
6891
6922
|
class: "pv-flex",
|
|
6892
6923
|
style: {
|
|
@@ -6894,15 +6925,15 @@ var Ia = {
|
|
|
6894
6925
|
"--flex-gap": "0.75rem",
|
|
6895
6926
|
"--flex-wrap": "wrap"
|
|
6896
6927
|
}
|
|
6897
|
-
},
|
|
6928
|
+
}, Vc = { class: "pv-text-body-sm" }, Hc = [
|
|
6898
6929
|
"disabled",
|
|
6899
6930
|
"step",
|
|
6900
6931
|
"value"
|
|
6901
|
-
],
|
|
6932
|
+
], Uc = { class: "pv-text-body-sm" }, Wc = [
|
|
6902
6933
|
"disabled",
|
|
6903
6934
|
"step",
|
|
6904
6935
|
"value"
|
|
6905
|
-
],
|
|
6936
|
+
], Gc = 0, Kc = 100, qc = 1e4, Jc = "4.6875rem", Yc = .01, Xc = /* @__PURE__ */ d({
|
|
6906
6937
|
inheritAttrs: !1,
|
|
6907
6938
|
__name: "PvRange",
|
|
6908
6939
|
props: /* @__PURE__ */ g({
|
|
@@ -6993,7 +7024,7 @@ var Ia = {
|
|
|
6993
7024
|
let r = ne(t), i = Math.log(t.min + r), a = Math.log(t.max + r);
|
|
6994
7025
|
return Math.exp(i + n * (a - i)) - r;
|
|
6995
7026
|
}, q = (e, t) => Math.max(0, Math.min(100, re(e, t) * 100)), J = r(() => {
|
|
6996
|
-
let e = E(t.min) ??
|
|
7027
|
+
let e = E(t.min) ?? Gc, n = E(t.max) ?? Kc;
|
|
6997
7028
|
return e > n ? {
|
|
6998
7029
|
max: e,
|
|
6999
7030
|
min: n
|
|
@@ -7016,7 +7047,7 @@ var Ia = {
|
|
|
7016
7047
|
}
|
|
7017
7048
|
return t.split(".")[1]?.length ?? 0;
|
|
7018
7049
|
}, X = r(() => {
|
|
7019
|
-
let e = E(t.min), n = E(t.max), r = E(c.value?.min), i = E(c.value?.max), a = e ?? Math.min(
|
|
7050
|
+
let e = E(t.min), n = E(t.max), r = E(c.value?.min), i = E(c.value?.max), a = e ?? Math.min(Gc, r ?? Gc, i ?? Gc), o = n ?? Math.max(Kc, r ?? Kc, i ?? Kc);
|
|
7020
7051
|
return a > o && ([a, o] = [o, a]), a === o && (o = a + (H.value > 0 ? H.value : 1)), {
|
|
7021
7052
|
max: o,
|
|
7022
7053
|
min: a
|
|
@@ -7057,14 +7088,14 @@ var Ia = {
|
|
|
7057
7088
|
"--range-track-color": W.value,
|
|
7058
7089
|
"--value-max": `${be.value}%`,
|
|
7059
7090
|
"--value-min": `${ye.value}%`
|
|
7060
|
-
})), Se = r(() => ({ left: `${ye.value}%` })), Ce = r(() => ({ left: `${be.value}%` })), we = r(() => E(c.value?.min) !== null || E(c.value?.max) !== null), Te = r(() => V.value ? 0 : X.value.min), Ee = r(() => V.value ?
|
|
7091
|
+
})), Se = r(() => ({ left: `${ye.value}%` })), Ce = r(() => ({ left: `${be.value}%` })), we = r(() => E(c.value?.min) !== null || E(c.value?.max) !== null), Te = r(() => V.value ? 0 : X.value.min), Ee = r(() => V.value ? qc : X.value.max), De = r(() => V.value ? "1" : te.value), Oe = (e, t) => V.value ? Math.round(re(e, t) * qc) : e, ke = (e, t) => V.value ? K(e / qc, t) : e, Ae = r(() => Oe(ve.value.min, X.value)), je = r(() => Oe(ve.value.max, X.value)), Me = r(() => V.value ? 0 : J.value.min), Ne = r(() => V.value ? qc : J.value.max), Pe = r(() => V.value ? "1" : U.value), Fe = r(() => Oe(ae.value, J.value)), Ie = r(() => Math.max(P(X.value.min).length, P(X.value.max).length, 3)), Le = r(() => {
|
|
7061
7092
|
let e = t.inputIcon ? "3.25rem" : "2rem";
|
|
7062
7093
|
return {
|
|
7063
7094
|
"--flex-align": "stretch",
|
|
7064
7095
|
"--flex-gap": "0",
|
|
7065
|
-
"--pv-range-input-width": `max(${
|
|
7096
|
+
"--pv-range-input-width": `max(${Jc}, calc(${Ie.value}ch + ${e}))`
|
|
7066
7097
|
};
|
|
7067
|
-
}), Re = () => E(t.min) !== null || X.value.min ===
|
|
7098
|
+
}), Re = () => E(t.min) !== null || X.value.min === Gc, ze = () => E(t.max) !== null || X.value.max === Kc, Be = (e, t) => {
|
|
7068
7099
|
c.value = {
|
|
7069
7100
|
max: t >= X.value.max && ze() ? null : t,
|
|
7070
7101
|
min: e <= X.value.min && Re() ? null : e
|
|
@@ -7112,7 +7143,7 @@ var Ia = {
|
|
|
7112
7143
|
let a = e.key === "ArrowRight" || e.key === "ArrowUp" || e.key === "PageUp", o = e.key === "ArrowLeft" || e.key === "ArrowDown" || e.key === "PageDown";
|
|
7113
7144
|
if (!a && !o) return;
|
|
7114
7145
|
e.preventDefault();
|
|
7115
|
-
let s = a ? 1 : -1, c = e.key === "PageUp" || e.key === "PageDown" ? 10 : 1, l = me(K(re(i, r) + s *
|
|
7146
|
+
let s = a ? 1 : -1, c = e.key === "PageUp" || e.key === "PageDown" ? 10 : 1, l = me(K(re(i, r) + s * Yc * c, r), a ? "up" : "down");
|
|
7116
7147
|
l === i && (l = i + s * fe(i)), We(n), He(n, l, !1);
|
|
7117
7148
|
}, $e = () => {
|
|
7118
7149
|
g.value !== "min" && (m.value = P(ve.value.min)), g.value !== "max" && (p.value = P(ve.value.max));
|
|
@@ -7157,7 +7188,7 @@ var Ia = {
|
|
|
7157
7188
|
};
|
|
7158
7189
|
return G([ve, X], $e, { immediate: !0 }), S(() => {
|
|
7159
7190
|
ct(), Ke();
|
|
7160
|
-
}), (n, r) => e.mode === "single" ? (D(), o("div",
|
|
7191
|
+
}), (n, r) => e.mode === "single" ? (D(), o("div", Pc, [e.showValueTooltips && v.value ? (D(), o("span", {
|
|
7161
7192
|
key: 0,
|
|
7162
7193
|
class: "pv-range-tooltip",
|
|
7163
7194
|
style: x(se.value)
|
|
@@ -7176,7 +7207,7 @@ var Ia = {
|
|
|
7176
7207
|
onInput: Ye,
|
|
7177
7208
|
onPointerdown: Je,
|
|
7178
7209
|
onPointerup: qe
|
|
7179
|
-
}), null, 16,
|
|
7210
|
+
}), null, 16, Fc)])) : (D(), o("div", _({ key: 1 }, L(l), {
|
|
7180
7211
|
class: "pv-flex-vertical",
|
|
7181
7212
|
"data-testid": "pv-range-dual",
|
|
7182
7213
|
role: "group",
|
|
@@ -7186,7 +7217,7 @@ var Ia = {
|
|
|
7186
7217
|
"--flex-gap": "0"
|
|
7187
7218
|
}
|
|
7188
7219
|
}), [
|
|
7189
|
-
e.showBoundLabels ? (D(), o("div",
|
|
7220
|
+
e.showBoundLabels ? (D(), o("div", Lc, [s("span", null, I(F(X.value.min)), 1), s("span", null, I(F(X.value.max)), 1)])) : a("", !0),
|
|
7190
7221
|
s("div", {
|
|
7191
7222
|
ref_key: "sliderRef",
|
|
7192
7223
|
ref: b,
|
|
@@ -7221,7 +7252,7 @@ var Ia = {
|
|
|
7221
7252
|
onKeydown: r[0] ||= (e) => Qe(e, "min"),
|
|
7222
7253
|
onPointerdown: r[1] ||= (e) => We("min"),
|
|
7223
7254
|
onPointerup: Ue
|
|
7224
|
-
}, null, 40,
|
|
7255
|
+
}, null, 40, Rc),
|
|
7225
7256
|
s("input", {
|
|
7226
7257
|
class: "pv-range pv-range-dual-native pv-range-dual-native-max",
|
|
7227
7258
|
type: "range",
|
|
@@ -7238,14 +7269,14 @@ var Ia = {
|
|
|
7238
7269
|
onKeydown: r[2] ||= (e) => Qe(e, "max"),
|
|
7239
7270
|
onPointerdown: r[3] ||= (e) => We("max"),
|
|
7240
7271
|
onPointerup: Ue
|
|
7241
|
-
}, null, 40,
|
|
7272
|
+
}, null, 40, zc)
|
|
7242
7273
|
], 38),
|
|
7243
|
-
e.showInputs ? (D(), o("div",
|
|
7274
|
+
e.showInputs ? (D(), o("div", Bc, [
|
|
7244
7275
|
s("label", {
|
|
7245
7276
|
class: "pv-flex-vertical pv-range-input-label",
|
|
7246
7277
|
for: f,
|
|
7247
7278
|
style: x(Le.value)
|
|
7248
|
-
}, [s("span",
|
|
7279
|
+
}, [s("span", Vc, I(e.minLabel), 1), s("span", { class: y(["pv-range-input-field", { "pv-range-input-field-with-icon": e.inputIcon }]) }, [e.inputIcon ? (D(), i(Z, {
|
|
7249
7280
|
key: 0,
|
|
7250
7281
|
class: "pv-range-input-icon",
|
|
7251
7282
|
name: e.inputIcon
|
|
@@ -7262,12 +7293,12 @@ var Ia = {
|
|
|
7262
7293
|
onFocus: r[5] ||= (e) => rt("min"),
|
|
7263
7294
|
onInput: tt,
|
|
7264
7295
|
onKeydown: r[6] ||= ie((e) => at(e, "min"), ["enter"])
|
|
7265
|
-
}, null, 40,
|
|
7296
|
+
}, null, 40, Hc)], 2)], 4),
|
|
7266
7297
|
s("label", {
|
|
7267
7298
|
class: "pv-flex-vertical pv-range-input-label",
|
|
7268
7299
|
for: d,
|
|
7269
7300
|
style: x(Le.value)
|
|
7270
|
-
}, [s("span",
|
|
7301
|
+
}, [s("span", Uc, I(e.maxLabel), 1), s("span", { class: y(["pv-range-input-field", { "pv-range-input-field-with-icon": e.inputIcon }]) }, [e.inputIcon ? (D(), i(Z, {
|
|
7271
7302
|
key: 0,
|
|
7272
7303
|
class: "pv-range-input-icon",
|
|
7273
7304
|
name: e.inputIcon
|
|
@@ -7284,7 +7315,7 @@ var Ia = {
|
|
|
7284
7315
|
onFocus: r[8] ||= (e) => rt("max"),
|
|
7285
7316
|
onInput: nt,
|
|
7286
7317
|
onKeydown: r[9] ||= ie((e) => at(e, "max"), ["enter"])
|
|
7287
|
-
}, null, 40,
|
|
7318
|
+
}, null, 40, Wc)], 2)], 4),
|
|
7288
7319
|
e.showClear && we.value ? (D(), i($, {
|
|
7289
7320
|
key: 0,
|
|
7290
7321
|
class: "pv-text-brand",
|
|
@@ -7301,26 +7332,26 @@ var Ia = {
|
|
|
7301
7332
|
variant: "ghost",
|
|
7302
7333
|
onClick: Ge
|
|
7303
7334
|
}, null, 8, ["disabled"])) : a("", !0)
|
|
7304
|
-
], 16,
|
|
7335
|
+
], 16, Ic));
|
|
7305
7336
|
}
|
|
7306
|
-
}),
|
|
7337
|
+
}), Zc = [
|
|
7307
7338
|
"aria-label",
|
|
7308
7339
|
"checked",
|
|
7309
7340
|
"disabled",
|
|
7310
7341
|
"name"
|
|
7311
|
-
],
|
|
7342
|
+
], Qc = {
|
|
7312
7343
|
key: 3,
|
|
7313
7344
|
class: "pv-filter-panel-option-row-content pv-flex-vertical"
|
|
7314
|
-
},
|
|
7345
|
+
}, $c = { class: "pv-filter-panel-option-row-line pv-line-clamp pv-text-body-sm" }, el = {
|
|
7315
7346
|
key: 0,
|
|
7316
7347
|
class: "pv-filter-panel-option-row-line pv-line-clamp pv-text-body-xs pv-text-subdued"
|
|
7317
|
-
},
|
|
7348
|
+
}, tl = {
|
|
7318
7349
|
key: 1,
|
|
7319
7350
|
class: "pv-filter-panel-option-row-line pv-line-clamp pv-text-body-xs pv-text-subdued"
|
|
7320
|
-
},
|
|
7351
|
+
}, nl = {
|
|
7321
7352
|
key: 4,
|
|
7322
7353
|
class: "pv-filter-panel-option-row-right pv-text-body-xs pv-text-subdued"
|
|
7323
|
-
},
|
|
7354
|
+
}, rl = /* @__PURE__ */ Q(/* @__PURE__ */ d({
|
|
7324
7355
|
__name: "PvFilterPanelOptionRow",
|
|
7325
7356
|
props: {
|
|
7326
7357
|
ariaLabel: {},
|
|
@@ -7393,7 +7424,7 @@ var Ia = {
|
|
|
7393
7424
|
disabled: e.disabled,
|
|
7394
7425
|
name: e.name,
|
|
7395
7426
|
onChange: g
|
|
7396
|
-
}, null, 40,
|
|
7427
|
+
}, null, 40, Zc)) : (D(), i(ss, {
|
|
7397
7428
|
key: 1,
|
|
7398
7429
|
ariaLabel: e.ariaLabel || e.label,
|
|
7399
7430
|
disabled: e.disabled,
|
|
@@ -7406,12 +7437,12 @@ var Ia = {
|
|
|
7406
7437
|
"indeterminate",
|
|
7407
7438
|
"modelValue"
|
|
7408
7439
|
])),
|
|
7409
|
-
e.renderer ? (D(), i(N(e.renderer), b(_({ key: 2 }, m.value)), null, 16)) : (D(), o("span",
|
|
7410
|
-
s("span",
|
|
7411
|
-
e.subduedText ? (D(), o("span",
|
|
7412
|
-
e.subText ? (D(), o("span",
|
|
7440
|
+
e.renderer ? (D(), i(N(e.renderer), b(_({ key: 2 }, m.value)), null, 16)) : (D(), o("span", Qc, [
|
|
7441
|
+
s("span", $c, I(e.label), 1),
|
|
7442
|
+
e.subduedText ? (D(), o("span", el, I(e.subduedText), 1)) : a("", !0),
|
|
7443
|
+
e.subText ? (D(), o("span", tl, I(e.subText), 1)) : a("", !0)
|
|
7413
7444
|
])),
|
|
7414
|
-
f.value ? (D(), o("span",
|
|
7445
|
+
f.value ? (D(), o("span", nl, [j(t.$slots, "result-count", {}, () => [l("(" + I(e.resultCount) + ")", 1)], !0)])) : a("", !0),
|
|
7415
7446
|
e.showFocusAction ? (D(), i($, {
|
|
7416
7447
|
key: 5,
|
|
7417
7448
|
ariaLabel: e.isFocused ? `Remove ${e.focusText}` : `Select as ${e.focusText}`,
|
|
@@ -7427,26 +7458,26 @@ var Ia = {
|
|
|
7427
7458
|
])) : a("", !0)
|
|
7428
7459
|
], 6));
|
|
7429
7460
|
}
|
|
7430
|
-
}), [["__scopeId", "data-v-d5f24abf"]]),
|
|
7461
|
+
}), [["__scopeId", "data-v-d5f24abf"]]), il = [
|
|
7431
7462
|
"totalCount",
|
|
7432
7463
|
"total_count",
|
|
7433
7464
|
"resultCount",
|
|
7434
7465
|
"result_count",
|
|
7435
7466
|
"row_count",
|
|
7436
7467
|
"count"
|
|
7437
|
-
],
|
|
7468
|
+
], al = new Intl.NumberFormat("en-US", {
|
|
7438
7469
|
maximumFractionDigits: 1,
|
|
7439
7470
|
notation: "compact"
|
|
7440
|
-
}),
|
|
7441
|
-
if (typeof e == "number" && Number.isFinite(e)) return
|
|
7471
|
+
}), ol = (e) => typeof e == "object" && !!e, sl = (e) => {
|
|
7472
|
+
if (typeof e == "number" && Number.isFinite(e)) return al.format(e);
|
|
7442
7473
|
if (typeof e == "string") {
|
|
7443
7474
|
let t = e.trim();
|
|
7444
7475
|
if (!t) return;
|
|
7445
7476
|
let n = Number(t);
|
|
7446
|
-
return Number.isFinite(n) ?
|
|
7477
|
+
return Number.isFinite(n) ? al.format(n) : e;
|
|
7447
7478
|
}
|
|
7448
|
-
},
|
|
7449
|
-
let n =
|
|
7479
|
+
}, cl = (e, t) => t ?? (e === "currency" || e === "integer" || e === "percent" ? 0 : 2), ll = (e, t = {}) => {
|
|
7480
|
+
let n = cl(t.dataType, t.valueDecimals);
|
|
7450
7481
|
if (t.dataType === "currency") return new Intl.NumberFormat("en-US", {
|
|
7451
7482
|
currency: "USD",
|
|
7452
7483
|
maximumFractionDigits: n,
|
|
@@ -7458,11 +7489,11 @@ var Ia = {
|
|
|
7458
7489
|
minimumFractionDigits: n
|
|
7459
7490
|
}).format(e);
|
|
7460
7491
|
return t.dataType === "percent" ? `${r}%` : r;
|
|
7461
|
-
},
|
|
7492
|
+
}, ul = (e, t, n = {}) => e !== null && t !== null ? `${ll(e, n)}–${ll(t, n)}` : e === null ? t === null ? "" : `≤ ${ll(t, n)}` : `${ll(e, n)}+`, dl = (e, t) => {
|
|
7462
7493
|
let n = typeof t?.context?.filterValueFormatter == "function" ? t.context.filterValueFormatter : typeof t?.valueFormatter == "function" ? t.valueFormatter : null;
|
|
7463
7494
|
if (!n) return null;
|
|
7464
7495
|
try {
|
|
7465
|
-
let t = e.rawValue !== null && e.rawValue !== void 0 ? e.rawValue :
|
|
7496
|
+
let t = e.rawValue !== null && e.rawValue !== void 0 ? e.rawValue : ol(e.metadata) && e.metadata.rawValue !== null && e.metadata.rawValue !== void 0 ? e.metadata.rawValue : e.value;
|
|
7466
7497
|
return n({
|
|
7467
7498
|
context: e.metadata,
|
|
7468
7499
|
value: t
|
|
@@ -7470,24 +7501,24 @@ var Ia = {
|
|
|
7470
7501
|
} catch {
|
|
7471
7502
|
return null;
|
|
7472
7503
|
}
|
|
7473
|
-
},
|
|
7504
|
+
}, fl = (e, t) => {
|
|
7474
7505
|
let n = e.metadata;
|
|
7475
|
-
if (!
|
|
7506
|
+
if (!ol(n)) return null;
|
|
7476
7507
|
for (let e of t?.context?.metadataDisplayFields ?? []) {
|
|
7477
7508
|
let t = n[e];
|
|
7478
7509
|
if (t != null && String(t).trim()) return String(t);
|
|
7479
7510
|
}
|
|
7480
7511
|
return null;
|
|
7481
|
-
},
|
|
7482
|
-
let t =
|
|
7512
|
+
}, pl = (e, t) => e.label || fl(e, t) || dl(e, t) || e.value, ml = (e) => {
|
|
7513
|
+
let t = sl(e?.resultCount);
|
|
7483
7514
|
if (t !== void 0) return t;
|
|
7484
7515
|
let n = e?.metadata;
|
|
7485
|
-
if (
|
|
7486
|
-
let t =
|
|
7516
|
+
if (ol(n)) for (let e of il) {
|
|
7517
|
+
let t = sl(n[e]);
|
|
7487
7518
|
if (t !== void 0) return t;
|
|
7488
7519
|
}
|
|
7489
|
-
return
|
|
7490
|
-
},
|
|
7520
|
+
return sl(e?.totalChildCount);
|
|
7521
|
+
}, hl = "__pv_filter_panel_scoped_value__", gl = (e) => typeof e == "object" && !!e, _l = (e) => {
|
|
7491
7522
|
try {
|
|
7492
7523
|
let t = JSON.parse(decodeURIComponent(e));
|
|
7493
7524
|
return Array.isArray(t) ? t.flatMap((e) => {
|
|
@@ -7501,7 +7532,7 @@ var Ia = {
|
|
|
7501
7532
|
} catch {
|
|
7502
7533
|
return [];
|
|
7503
7534
|
}
|
|
7504
|
-
},
|
|
7535
|
+
}, vl = (e) => {
|
|
7505
7536
|
if (!e.startsWith("__")) return null;
|
|
7506
7537
|
let t = e.slice(2).split("__");
|
|
7507
7538
|
if (t.length < 2 || !t[0] || !t[1]) return null;
|
|
@@ -7514,76 +7545,76 @@ var Ia = {
|
|
|
7514
7545
|
pairs: n,
|
|
7515
7546
|
value: n[0].value
|
|
7516
7547
|
};
|
|
7517
|
-
},
|
|
7548
|
+
}, yl = (e) => {
|
|
7518
7549
|
if (e == null) return null;
|
|
7519
|
-
if (!e.startsWith(
|
|
7550
|
+
if (!e.startsWith(hl)) return vl(e) ?? {
|
|
7520
7551
|
pairs: [],
|
|
7521
7552
|
value: e
|
|
7522
7553
|
};
|
|
7523
|
-
let t =
|
|
7554
|
+
let t = _l(e.slice(32));
|
|
7524
7555
|
return {
|
|
7525
7556
|
field: t[0]?.field,
|
|
7526
7557
|
pairs: t,
|
|
7527
7558
|
value: t[0]?.value ?? e
|
|
7528
7559
|
};
|
|
7529
|
-
},
|
|
7560
|
+
}, bl = (e, t) => `${hl}${encodeURIComponent(JSON.stringify([[e, t]]))}`, xl = (e) => e ? e.rawValue !== null && e.rawValue !== void 0 ? String(e.rawValue) : gl(e.metadata) && e.metadata.rawValue !== null && e.metadata.rawValue !== void 0 ? String(e.metadata.rawValue) : e.matchedValue !== null && e.matchedValue !== void 0 ? String(e.matchedValue) : yl(e.value)?.value ?? e.value : null, Sl = (e, t) => e?.field ? e.field : e?.colField ? e.colField : yl(e?.value)?.field ?? t, Cl = (e) => e.flatMap((e) => [e, ...e.children?.length ? Cl(e.children) : []]), wl = (e, t, n, r) => Sl(e, r) === t && xl(e) === n, Tl = (e) => {
|
|
7530
7561
|
let t = e;
|
|
7531
7562
|
return t?.filterType === "join" && Array.isArray(t.conditions);
|
|
7532
|
-
},
|
|
7563
|
+
}, El = (e) => {
|
|
7533
7564
|
let t = e;
|
|
7534
|
-
return
|
|
7565
|
+
return Tl(e) ? {
|
|
7535
7566
|
...t,
|
|
7536
|
-
conditions: (t.conditions ?? []).map(
|
|
7567
|
+
conditions: (t.conditions ?? []).map(El)
|
|
7537
7568
|
} : { ...t };
|
|
7538
|
-
},
|
|
7569
|
+
}, Dl = (e, t) => {
|
|
7539
7570
|
if (!e) return null;
|
|
7540
7571
|
let n = t instanceof Set ? t : new Set(t);
|
|
7541
|
-
if (!n.size) return
|
|
7542
|
-
if (!
|
|
7572
|
+
if (!n.size) return El(e);
|
|
7573
|
+
if (!Tl(e)) {
|
|
7543
7574
|
let t = e;
|
|
7544
|
-
return typeof t.colId == "string" && n.has(t.colId) ? null :
|
|
7575
|
+
return typeof t.colId == "string" && n.has(t.colId) ? null : El(e);
|
|
7545
7576
|
}
|
|
7546
|
-
let r = e, i = (r.conditions ?? []).map((e) =>
|
|
7577
|
+
let r = e, i = (r.conditions ?? []).map((e) => Dl(e, n)).filter((e) => !!e);
|
|
7547
7578
|
return i.length ? i.length === 1 ? i[0] : {
|
|
7548
7579
|
...r,
|
|
7549
7580
|
conditions: i
|
|
7550
7581
|
} : null;
|
|
7551
|
-
},
|
|
7582
|
+
}, Ol = (e) => e ? [e.field, ...(e.children ?? []).flatMap(Ol)] : [], kl = (e) => e ? e.children?.length ? e.children.flatMap(kl) : [e.field] : [], Al = (e) => {
|
|
7552
7583
|
let t = e?.context ?? {};
|
|
7553
|
-
return t.aggregateFieldHierarchy ?
|
|
7554
|
-
},
|
|
7584
|
+
return t.aggregateFieldHierarchy ? Ol(t.aggregateFieldHierarchy) : t.aggregateFields ?? [];
|
|
7585
|
+
}, jl = (e) => {
|
|
7555
7586
|
let t = e?.context ?? {};
|
|
7556
7587
|
return t.aggregateFieldHierarchy ? t.aggregateFieldHierarchy.field : t.aggregateFields?.[t.aggregateFields.length - 1];
|
|
7557
|
-
},
|
|
7588
|
+
}, Ml = (e) => Al(e).length > 0, Nl = (e, t) => {
|
|
7558
7589
|
for (let n of e ?? []) {
|
|
7559
7590
|
if (!n) continue;
|
|
7560
7591
|
if (n.value === t) return n;
|
|
7561
|
-
let e =
|
|
7592
|
+
let e = Nl(n.children, t);
|
|
7562
7593
|
if (e) return e;
|
|
7563
7594
|
}
|
|
7564
|
-
},
|
|
7595
|
+
}, Pl = (e, t, n = []) => {
|
|
7565
7596
|
for (let r of e ?? []) {
|
|
7566
7597
|
if (!r) continue;
|
|
7567
7598
|
let e = [...n, r];
|
|
7568
7599
|
if (r.value === t) return e;
|
|
7569
|
-
let i =
|
|
7600
|
+
let i = Pl(r.children, t, e);
|
|
7570
7601
|
if (i) return i;
|
|
7571
7602
|
}
|
|
7572
|
-
},
|
|
7573
|
-
let n =
|
|
7603
|
+
}, Fl = (e, t) => {
|
|
7604
|
+
let n = Nl(t, e), r = n ? Sl(n, "") : void 0, i = n ? xl(n) : null;
|
|
7574
7605
|
if (r && i !== null) return {
|
|
7575
7606
|
field: r,
|
|
7576
7607
|
value: i
|
|
7577
7608
|
};
|
|
7578
|
-
let a =
|
|
7609
|
+
let a = yl(e);
|
|
7579
7610
|
return {
|
|
7580
7611
|
field: a?.field,
|
|
7581
7612
|
value: a?.value ?? e
|
|
7582
7613
|
};
|
|
7583
|
-
},
|
|
7614
|
+
}, Il = (e, t, n) => {
|
|
7584
7615
|
let r = (e) => {
|
|
7585
7616
|
if (!e) return;
|
|
7586
|
-
let i =
|
|
7617
|
+
let i = Sl(e, ""), a = xl(e);
|
|
7587
7618
|
if (i === t && a === n) return e.value;
|
|
7588
7619
|
for (let t of e.children ?? []) {
|
|
7589
7620
|
let e = r(t);
|
|
@@ -7595,9 +7626,9 @@ var Ia = {
|
|
|
7595
7626
|
if (e) return e;
|
|
7596
7627
|
}
|
|
7597
7628
|
return `__${t}__${n}`;
|
|
7598
|
-
},
|
|
7629
|
+
}, Ll = (e) => (e ?? []).flatMap((e) => [...e.state === "deselected" ? [e] : [], ...Ll(e.children)]), Rl = (e, t) => {
|
|
7599
7630
|
if (e.state !== "selected") return null;
|
|
7600
|
-
let { field: n, value: r } =
|
|
7631
|
+
let { field: n, value: r } = Fl(e.id, t);
|
|
7601
7632
|
if (!n) return null;
|
|
7602
7633
|
let i = [{
|
|
7603
7634
|
colId: n,
|
|
@@ -7605,8 +7636,8 @@ var Ia = {
|
|
|
7605
7636
|
filterType: "text",
|
|
7606
7637
|
type: "equals"
|
|
7607
7638
|
}];
|
|
7608
|
-
for (let n of
|
|
7609
|
-
let e =
|
|
7639
|
+
for (let n of Ll(e.children)) {
|
|
7640
|
+
let e = Fl(n.id, t);
|
|
7610
7641
|
e.field && i.push({
|
|
7611
7642
|
colId: e.field,
|
|
7612
7643
|
filter: e.value,
|
|
@@ -7619,10 +7650,10 @@ var Ia = {
|
|
|
7619
7650
|
filterType: "join",
|
|
7620
7651
|
type: "AND"
|
|
7621
7652
|
};
|
|
7622
|
-
},
|
|
7623
|
-
let t =
|
|
7653
|
+
}, zl = (e) => {
|
|
7654
|
+
let t = Al(e.colDef), n = Dl(e.baseModel, t);
|
|
7624
7655
|
if (!t.length) return n;
|
|
7625
|
-
let r = e.state.map((t) =>
|
|
7656
|
+
let r = e.state.map((t) => Rl(t, e.options)).filter((e) => !!e);
|
|
7626
7657
|
if (!r.length) return n;
|
|
7627
7658
|
let i = r.length === 1 ? r[0] : {
|
|
7628
7659
|
conditions: r,
|
|
@@ -7634,17 +7665,17 @@ var Ia = {
|
|
|
7634
7665
|
filterType: "join",
|
|
7635
7666
|
type: "AND"
|
|
7636
7667
|
} : i;
|
|
7637
|
-
},
|
|
7668
|
+
}, Bl = (e, t, n) => {
|
|
7638
7669
|
if (!e) return [];
|
|
7639
7670
|
let r = e;
|
|
7640
|
-
if (
|
|
7671
|
+
if (Tl(e)) {
|
|
7641
7672
|
let e = r.conditions ?? [];
|
|
7642
7673
|
if (r.type === "AND") {
|
|
7643
7674
|
let r = e.find((e) => {
|
|
7644
7675
|
let r = e;
|
|
7645
7676
|
return r.filterType !== "join" && typeof r.colId == "string" && t.has(r.colId) && r.type === "equals" && !n.has(r.colId);
|
|
7646
7677
|
});
|
|
7647
|
-
return e.flatMap((e) =>
|
|
7678
|
+
return e.flatMap((e) => Bl(e, t, n).map((e) => ({
|
|
7648
7679
|
...e,
|
|
7649
7680
|
parentEquals: e.parentEquals || (r?.colId ? {
|
|
7650
7681
|
colId: r.colId,
|
|
@@ -7652,20 +7683,20 @@ var Ia = {
|
|
|
7652
7683
|
} : void 0)
|
|
7653
7684
|
})));
|
|
7654
7685
|
}
|
|
7655
|
-
return e.flatMap((e) =>
|
|
7686
|
+
return e.flatMap((e) => Bl(e, t, n));
|
|
7656
7687
|
}
|
|
7657
7688
|
return r.colId && t.has(r.colId) ? [{
|
|
7658
7689
|
colId: r.colId,
|
|
7659
7690
|
filter: r.filter == null ? void 0 : String(r.filter),
|
|
7660
7691
|
type: r.type
|
|
7661
7692
|
}] : [];
|
|
7662
|
-
},
|
|
7663
|
-
let t =
|
|
7693
|
+
}, Vl = (e) => {
|
|
7694
|
+
let t = Al(e.colDef);
|
|
7664
7695
|
if (!t.length) return [];
|
|
7665
|
-
let n = new Set(
|
|
7696
|
+
let n = new Set(kl(e.colDef.context?.aggregateFieldHierarchy)), r = jl(e.colDef), i = Bl(e.model, new Set(t), n), a = /* @__PURE__ */ new Map();
|
|
7666
7697
|
for (let t of i) {
|
|
7667
7698
|
if (!t.filter) continue;
|
|
7668
|
-
let n =
|
|
7699
|
+
let n = Il(e.options, t.colId, String(t.filter));
|
|
7669
7700
|
if (t.type === "equals") {
|
|
7670
7701
|
let e = a.get(n);
|
|
7671
7702
|
a.set(n, {
|
|
@@ -7676,7 +7707,7 @@ var Ia = {
|
|
|
7676
7707
|
continue;
|
|
7677
7708
|
}
|
|
7678
7709
|
if (t.type === "notEqual" && t.parentEquals?.filter && r) {
|
|
7679
|
-
let r =
|
|
7710
|
+
let r = Il(e.options, t.parentEquals.colId, String(t.parentEquals.filter)), i = a.get(r) ?? {
|
|
7680
7711
|
children: [],
|
|
7681
7712
|
id: r,
|
|
7682
7713
|
state: "selected"
|
|
@@ -7688,153 +7719,153 @@ var Ia = {
|
|
|
7688
7719
|
}
|
|
7689
7720
|
}
|
|
7690
7721
|
return [...a.values()];
|
|
7691
|
-
},
|
|
7692
|
-
let t = /* @__PURE__ */ new Map(), n =
|
|
7722
|
+
}, Hl = (e) => {
|
|
7723
|
+
let t = /* @__PURE__ */ new Map(), n = Al(e.colDef);
|
|
7693
7724
|
if (!n.length) return t;
|
|
7694
|
-
let r =
|
|
7725
|
+
let r = Bl(e.model, new Set(n), new Set(kl(e.colDef.context?.aggregateFieldHierarchy)));
|
|
7695
7726
|
for (let e of r) {
|
|
7696
7727
|
if (e.type !== "equals" || !e.filter) continue;
|
|
7697
7728
|
let n = t.get(e.colId) ?? [];
|
|
7698
7729
|
n.includes(e.filter) || n.push(e.filter), t.set(e.colId, n);
|
|
7699
7730
|
}
|
|
7700
7731
|
return t;
|
|
7701
|
-
},
|
|
7732
|
+
}, Ul = (e) => e.map((e) => ({
|
|
7702
7733
|
...e,
|
|
7703
7734
|
children: e.children?.map((e) => ({
|
|
7704
7735
|
...e,
|
|
7705
|
-
children: e.children ?
|
|
7736
|
+
children: e.children ? Ul(e.children) : void 0
|
|
7706
7737
|
}))
|
|
7707
|
-
})),
|
|
7738
|
+
})), Wl = (e, t) => e.flatMap((e) => {
|
|
7708
7739
|
if (e.id === t) return [];
|
|
7709
|
-
let n = e.children ?
|
|
7740
|
+
let n = e.children ? Wl(e.children, t) : void 0;
|
|
7710
7741
|
return [{
|
|
7711
7742
|
...e,
|
|
7712
7743
|
children: n?.length ? n : void 0
|
|
7713
7744
|
}];
|
|
7714
|
-
}),
|
|
7745
|
+
}), Gl = (e, t) => {
|
|
7715
7746
|
for (let n of e) {
|
|
7716
7747
|
if (n.id === t) return n;
|
|
7717
|
-
let e = n.children ?
|
|
7748
|
+
let e = n.children ? Gl(n.children, t) : void 0;
|
|
7718
7749
|
if (e) return e;
|
|
7719
7750
|
}
|
|
7720
|
-
},
|
|
7721
|
-
let r = (
|
|
7751
|
+
}, Kl = (e) => !!e.children?.length || (e.totalChildCount ?? 0) > 0, ql = (e, t) => [...Wl(e, t.id), t], Jl = (e) => (e.children ?? []).flatMap((e) => [e.value, ...Jl(e)]), Yl = (e, t) => Jl(t).reduce((e, t) => Wl(e, t), e), Xl = (e, t) => [t.value, ...Jl(t)].reduce((e, t) => Wl(e, t), e), Zl = (e, t, n) => {
|
|
7752
|
+
let r = (Pl(n, t.value) ?? []).slice(0, -1).reverse();
|
|
7722
7753
|
for (let t of r) {
|
|
7723
|
-
let n =
|
|
7754
|
+
let n = Gl(e, t.value);
|
|
7724
7755
|
if (n?.state === "selected") return n;
|
|
7725
7756
|
}
|
|
7726
|
-
},
|
|
7727
|
-
let t =
|
|
7757
|
+
}, Ql = (e) => {
|
|
7758
|
+
let t = Ul(e.state), n = Zl(t, e.option, e.options);
|
|
7728
7759
|
if (n) {
|
|
7729
7760
|
let r = n.children ?? [];
|
|
7730
|
-
return n.children = e.checked ?
|
|
7761
|
+
return n.children = e.checked ? Xl(r, e.option) : [...Xl(r, e.option), {
|
|
7731
7762
|
id: e.option.value,
|
|
7732
7763
|
state: "deselected"
|
|
7733
7764
|
}], n.children.length || delete n.children, t;
|
|
7734
7765
|
}
|
|
7735
|
-
return
|
|
7766
|
+
return Kl(e.option) ? e.checked ? ql(Yl(t, e.option), {
|
|
7736
7767
|
id: e.option.value,
|
|
7737
7768
|
state: "selected"
|
|
7738
|
-
}) :
|
|
7769
|
+
}) : Wl(t, e.option.value) : e.checked ? ql(t, {
|
|
7739
7770
|
id: e.option.value,
|
|
7740
7771
|
state: "selected"
|
|
7741
|
-
}) :
|
|
7742
|
-
},
|
|
7772
|
+
}) : Wl(t, e.option.value);
|
|
7773
|
+
}, $l = (e) => {
|
|
7743
7774
|
let t = /* @__PURE__ */ new Map(), n = (e) => {
|
|
7744
7775
|
for (let r of e ?? []) t.set(r.id, r), n(r.children);
|
|
7745
7776
|
};
|
|
7746
7777
|
return n(e), t;
|
|
7747
|
-
},
|
|
7748
|
-
let t =
|
|
7778
|
+
}, eu = (e) => {
|
|
7779
|
+
let t = $l(e.state), n = /* @__PURE__ */ new Map(), r = (e, i) => {
|
|
7749
7780
|
let a = t.get(e.value), o = a?.state === "selected" || i && a?.state !== "deselected", s = (e.children ?? []).map((e) => r(e, o)), c = s.some((e) => e.selected || e.indeterminate), l = s.some((e) => !e.selected || e.indeterminate), u = {
|
|
7750
|
-
indeterminate:
|
|
7781
|
+
indeterminate: Ll(a?.children).length > 0 || !o && c || o && l,
|
|
7751
7782
|
selected: o
|
|
7752
7783
|
};
|
|
7753
7784
|
return n.set(e.value, u), u;
|
|
7754
7785
|
};
|
|
7755
7786
|
for (let t of e.options ?? []) t && r(t, !1);
|
|
7756
7787
|
return n;
|
|
7757
|
-
},
|
|
7788
|
+
}, tu = (e) => eu(e).get(e.option.value) ?? eu({
|
|
7758
7789
|
options: [e.option],
|
|
7759
7790
|
state: e.state
|
|
7760
7791
|
}).get(e.option.value) ?? {
|
|
7761
7792
|
indeterminate: !1,
|
|
7762
7793
|
selected: !1
|
|
7763
|
-
},
|
|
7794
|
+
}, nu = (e) => e.state.flatMap((t) => {
|
|
7764
7795
|
if (t.state !== "selected") return [];
|
|
7765
|
-
let n =
|
|
7796
|
+
let n = Nl(e.options, t.id);
|
|
7766
7797
|
if (n) return [n];
|
|
7767
|
-
let { field: r, value: i } =
|
|
7798
|
+
let { field: r, value: i } = Fl(t.id, e.options);
|
|
7768
7799
|
return [{
|
|
7769
7800
|
colField: r,
|
|
7770
7801
|
label: i,
|
|
7771
7802
|
metadata: { rawValue: i },
|
|
7772
|
-
value: r ?
|
|
7803
|
+
value: r ? bl(r, i) : t.id
|
|
7773
7804
|
}];
|
|
7774
|
-
}),
|
|
7805
|
+
}), ru = (e) => e.filter((e) => e.state === "selected").length, iu = ["open"], au = {
|
|
7775
7806
|
class: "pv-flex pv-text-body-md",
|
|
7776
7807
|
style: {
|
|
7777
7808
|
"--flex-align": "center",
|
|
7778
7809
|
"--flex-gap": "0.5rem"
|
|
7779
7810
|
}
|
|
7780
|
-
},
|
|
7811
|
+
}, ou = {
|
|
7781
7812
|
class: "pv-flex-vertical pv-surface-accent pv-inset-inline-24",
|
|
7782
7813
|
style: { "--flex-align": "stretch" }
|
|
7783
|
-
},
|
|
7814
|
+
}, su = {
|
|
7784
7815
|
key: 0,
|
|
7785
7816
|
class: "pv-flex-vertical",
|
|
7786
7817
|
style: {
|
|
7787
7818
|
"--flex-align": "stretch",
|
|
7788
7819
|
"--flex-gap": "0.5rem"
|
|
7789
7820
|
}
|
|
7790
|
-
},
|
|
7821
|
+
}, cu = {
|
|
7791
7822
|
key: 0,
|
|
7792
7823
|
class: "pv-flex",
|
|
7793
7824
|
style: {
|
|
7794
7825
|
"--flex-gap": "0.5rem",
|
|
7795
7826
|
"--flex-wrap": "wrap"
|
|
7796
7827
|
}
|
|
7797
|
-
},
|
|
7828
|
+
}, lu = {
|
|
7798
7829
|
key: 1,
|
|
7799
7830
|
class: "pv-flex",
|
|
7800
7831
|
style: { "--flex-justify": "flex-end" }
|
|
7801
|
-
},
|
|
7832
|
+
}, uu = {
|
|
7802
7833
|
key: 2,
|
|
7803
7834
|
class: "pv-flex-vertical",
|
|
7804
7835
|
style: {
|
|
7805
7836
|
"--flex-align": "stretch",
|
|
7806
7837
|
"--flex-gap": "0.5rem"
|
|
7807
7838
|
}
|
|
7808
|
-
},
|
|
7839
|
+
}, du = {
|
|
7809
7840
|
key: 3,
|
|
7810
7841
|
class: "pv-flex pv-text-body-xs pv-text-subdued"
|
|
7811
|
-
},
|
|
7842
|
+
}, fu = { key: 0 }, pu = {
|
|
7812
7843
|
key: 1,
|
|
7813
7844
|
class: "pv-text-body-xs pv-text-subdued",
|
|
7814
7845
|
style: { margin: "0" }
|
|
7815
|
-
},
|
|
7846
|
+
}, mu = {
|
|
7816
7847
|
key: 1,
|
|
7817
7848
|
class: "pv-text-body-xs pv-text-subdued",
|
|
7818
7849
|
style: { margin: "0" }
|
|
7819
|
-
},
|
|
7850
|
+
}, hu = {
|
|
7820
7851
|
key: 2,
|
|
7821
7852
|
class: "pv-flex-vertical",
|
|
7822
7853
|
style: {
|
|
7823
7854
|
"--flex-align": "stretch",
|
|
7824
7855
|
"--flex-gap": "0.5rem"
|
|
7825
7856
|
}
|
|
7826
|
-
},
|
|
7857
|
+
}, gu = { key: 0 }, _u = {
|
|
7827
7858
|
class: "pv-text-title-sm pv-text-subdued suggested-title-label",
|
|
7828
7859
|
style: { margin: "0" }
|
|
7829
|
-
},
|
|
7860
|
+
}, vu = {
|
|
7830
7861
|
key: 1,
|
|
7831
7862
|
class: "pv-text-title-sm pv-text-subdued",
|
|
7832
7863
|
style: { margin: "0" }
|
|
7833
|
-
},
|
|
7864
|
+
}, yu = {
|
|
7834
7865
|
key: 2,
|
|
7835
7866
|
class: "pv-text-body-xs pv-text-subdued",
|
|
7836
7867
|
style: { margin: "0" }
|
|
7837
|
-
},
|
|
7868
|
+
}, bu = {
|
|
7838
7869
|
key: 3,
|
|
7839
7870
|
class: "pv-flex-vertical",
|
|
7840
7871
|
"data-testid": "pv-filter-panel-boolean-control",
|
|
@@ -7842,14 +7873,14 @@ var Ia = {
|
|
|
7842
7873
|
"--flex-align": "stretch",
|
|
7843
7874
|
"--flex-gap": "0.5rem"
|
|
7844
7875
|
}
|
|
7845
|
-
},
|
|
7876
|
+
}, xu = {
|
|
7846
7877
|
class: "pv-flex",
|
|
7847
7878
|
style: {
|
|
7848
7879
|
"--flex-align": "center",
|
|
7849
7880
|
"--flex-gap": "0.5rem",
|
|
7850
7881
|
"--flex-wrap": "wrap"
|
|
7851
7882
|
}
|
|
7852
|
-
},
|
|
7883
|
+
}, Su = {
|
|
7853
7884
|
key: 4,
|
|
7854
7885
|
class: "pv-flex",
|
|
7855
7886
|
"data-testid": "pv-filter-panel-exists-control",
|
|
@@ -7858,7 +7889,7 @@ var Ia = {
|
|
|
7858
7889
|
"--flex-gap": "0.5rem",
|
|
7859
7890
|
cursor: "pointer"
|
|
7860
7891
|
}
|
|
7861
|
-
},
|
|
7892
|
+
}, Cu = { class: "pv-text-body-sm" }, wu = 5, Tu = 500, Eu = /* @__PURE__ */ Q(/* @__PURE__ */ d({
|
|
7862
7893
|
__name: "PvFilterPanelAccordion",
|
|
7863
7894
|
props: { filter: {} },
|
|
7864
7895
|
emits: [
|
|
@@ -7870,7 +7901,7 @@ var Ia = {
|
|
|
7870
7901
|
"search-change"
|
|
7871
7902
|
],
|
|
7872
7903
|
setup(e, { emit: n }) {
|
|
7873
|
-
let c = e, d = n, f = k({}), p = z(), m = k(c.filter.searchQuery ?? ""), h = k(
|
|
7904
|
+
let c = e, d = n, f = k({}), p = z(), m = k(c.filter.searchQuery ?? ""), h = k(wu), g = r(() => c.filter.existsLabel ?? `Has ${c.filter.label}`), v = r(() => c.filter.valueLabels?.false ?? "No"), y = r(() => c.filter.options ?? []), S = r(() => [...c.filter.knownOptions ?? [], ...y.value]), C = r(() => c.filter.type ?? "value"), w = r(() => C.value === "value"), T = r(() => w.value && c.filter.isAggregate === !0), E = r(() => c.filter.aggregateSelectionState ?? []), O = r(() => m.value.trim().toLowerCase()), j = r(() => c.filter.selectedValues ?? []), M = r(() => new Set(j.value)), P = r(() => c.filter.valueLabels?.true ?? "Yes"), F = r(() => c.filter.filterOptionsSortDescription || "Suggested"), R = r(() => {
|
|
7874
7905
|
let e = c.filter.valueLabels, t = typeof e?.true == "string", n = typeof e?.false == "string";
|
|
7875
7906
|
return t && !n ? [{
|
|
7876
7907
|
label: P.value,
|
|
@@ -7895,7 +7926,7 @@ var Ia = {
|
|
|
7895
7926
|
e.matchedValue,
|
|
7896
7927
|
e.matchedField
|
|
7897
7928
|
].concat(t.flatMap((e) => e == null ? [] : [String(e)])).filter((e) => !!e).join(" ").toLowerCase();
|
|
7898
|
-
}, V = r(() => C.value === "range" ? c.filter.rangeValue?.min !== null && c.filter.rangeValue?.min !== void 0 || c.filter.rangeValue?.max !== null && c.filter.rangeValue?.max !== void 0 ? 1 : void 0 : C.value === "boolean" ? c.filter.booleanValue !== null && c.filter.booleanValue !== void 0 ? 1 : void 0 : C.value === "exists" ? c.filter.existsValue ? 1 : void 0 : T.value ?
|
|
7929
|
+
}, V = r(() => C.value === "range" ? c.filter.rangeValue?.min !== null && c.filter.rangeValue?.min !== void 0 || c.filter.rangeValue?.max !== null && c.filter.rangeValue?.max !== void 0 ? 1 : void 0 : C.value === "boolean" ? c.filter.booleanValue !== null && c.filter.booleanValue !== void 0 ? 1 : void 0 : C.value === "exists" ? c.filter.existsValue ? 1 : void 0 : T.value ? ru(E.value) || void 0 : j.value.length || void 0), ee = (e) => e.totalChildCount === null || e.totalChildCount === void 0 ? !1 : e.totalChildCount > (e.children?.length ?? 0), H = (e, t = 0) => e.flatMap((e) => [
|
|
7899
7930
|
{
|
|
7900
7931
|
depth: t,
|
|
7901
7932
|
kind: "option",
|
|
@@ -7920,16 +7951,16 @@ var Ia = {
|
|
|
7920
7951
|
W.value = T.value || c.filter.singleSelect ? [] : [...j.value];
|
|
7921
7952
|
};
|
|
7922
7953
|
ie();
|
|
7923
|
-
let J = r(() => T.value || c.filter.singleSelect ? te.value : te.value.filter((e) => e.kind === "child-load-more" || !ne.value.has(e.option.value))), ae = r(() => J.value.length > h.value), Y = r(() => ae.value || c.filter.hasMore), oe = r(() => J.value.slice(0, h.value)), se = r(() => T.value ?
|
|
7954
|
+
let J = r(() => T.value || c.filter.singleSelect ? te.value : te.value.filter((e) => e.kind === "child-load-more" || !ne.value.has(e.option.value))), ae = r(() => J.value.length > h.value), Y = r(() => ae.value || c.filter.hasMore), oe = r(() => J.value.slice(0, h.value)), se = r(() => T.value ? eu({
|
|
7924
7955
|
options: S.value,
|
|
7925
7956
|
state: E.value
|
|
7926
|
-
}) : /* @__PURE__ */ new Map()), ce = (e) =>
|
|
7957
|
+
}) : /* @__PURE__ */ new Map()), ce = (e) => pl(e, c.filter.colDef), X = (e) => ml(e), le = (e) => T.value ? se.value.get(e.value) ?? {
|
|
7927
7958
|
indeterminate: !1,
|
|
7928
7959
|
selected: !1
|
|
7929
7960
|
} : {
|
|
7930
7961
|
indeterminate: !1,
|
|
7931
7962
|
selected: M.value.has(e.value)
|
|
7932
|
-
}, ue = (e) => le(e).selected, fe = (e) => le(e).indeterminate, pe = (e) =>
|
|
7963
|
+
}, ue = (e) => le(e).selected, fe = (e) => le(e).indeterminate, pe = (e) => xl(e) ?? e.value, me = (e) => Sl(e, c.filter.key), he = (e) => {
|
|
7933
7964
|
let t = me(e), n = pe(e);
|
|
7934
7965
|
return c.filter.focusedValuesByField?.[t]?.includes(n) || t === c.filter.key && c.filter.focusedValues?.includes(e.value) || !1;
|
|
7935
7966
|
}, ge = (e) => ({
|
|
@@ -7958,7 +7989,7 @@ var Ia = {
|
|
|
7958
7989
|
rowsLoading: c.filter.isLoading
|
|
7959
7990
|
}
|
|
7960
7991
|
})), be = () => {
|
|
7961
|
-
ae.value ? h.value +=
|
|
7992
|
+
ae.value ? h.value += wu : c.filter.hasMore && d("load-more", m.value.trim());
|
|
7962
7993
|
}, xe = (e) => {
|
|
7963
7994
|
d("load-more", m.value.trim(), e.value);
|
|
7964
7995
|
}, Se = (e) => {
|
|
@@ -7983,7 +8014,7 @@ var Ia = {
|
|
|
7983
8014
|
if (T.value) {
|
|
7984
8015
|
d("filter-change", {
|
|
7985
8016
|
type: "aggregate-selection",
|
|
7986
|
-
value:
|
|
8017
|
+
value: Ql({
|
|
7987
8018
|
checked: t,
|
|
7988
8019
|
option: e,
|
|
7989
8020
|
options: S.value,
|
|
@@ -8010,12 +8041,12 @@ var Ia = {
|
|
|
8010
8041
|
d("handle-settings-icon", c.filter.key, c.filter.colDef);
|
|
8011
8042
|
};
|
|
8012
8043
|
G([m, () => c.filter.key], () => {
|
|
8013
|
-
h.value =
|
|
8044
|
+
h.value = wu;
|
|
8014
8045
|
});
|
|
8015
8046
|
let Ae = () => {
|
|
8016
|
-
let e =
|
|
8047
|
+
let e = Cl(S.value), t = { ...f.value }, n = new Map(Object.entries(t));
|
|
8017
8048
|
for (let t of e) n.delete(t.value), n.set(t.value, t);
|
|
8018
|
-
f.value = Object.fromEntries([...n.entries()].slice(Math.max(0, n.size -
|
|
8049
|
+
f.value = Object.fromEntries([...n.entries()].slice(Math.max(0, n.size - Tu)));
|
|
8019
8050
|
};
|
|
8020
8051
|
return G(S, () => {
|
|
8021
8052
|
c.filter.isOpen && Ae();
|
|
@@ -8040,7 +8071,7 @@ var Ia = {
|
|
|
8040
8071
|
"data-testid": "pv-filter-panel-accordion",
|
|
8041
8072
|
open: e.filter.isOpen,
|
|
8042
8073
|
onToggle: Se
|
|
8043
|
-
}, [s("summary",
|
|
8074
|
+
}, [s("summary", au, [
|
|
8044
8075
|
u(Z, {
|
|
8045
8076
|
"aria-hidden": "true",
|
|
8046
8077
|
class: "pv-text-subdued",
|
|
@@ -8053,9 +8084,9 @@ var Ia = {
|
|
|
8053
8084
|
size: "sm",
|
|
8054
8085
|
variant: "secondary"
|
|
8055
8086
|
}, null, 8, ["value"])) : a("", !0)
|
|
8056
|
-
]), s("div",
|
|
8057
|
-
e.filter.filterGroupOptions?.length || e.filter.displayPreferencesIcon || e.filter.filterHeaderRenderer ? (D(), o("div",
|
|
8058
|
-
e.filter.filterGroupOptions?.length ? (D(), o("div",
|
|
8087
|
+
]), s("div", ou, [w.value ? (D(), o(t, { key: 0 }, [
|
|
8088
|
+
e.filter.filterGroupOptions?.length || e.filter.displayPreferencesIcon || e.filter.filterHeaderRenderer ? (D(), o("div", su, [
|
|
8089
|
+
e.filter.filterGroupOptions?.length ? (D(), o("div", cu, [(D(!0), o(t, null, A(e.filter.filterGroupOptions, (t) => (D(), i($, {
|
|
8059
8090
|
key: t.field,
|
|
8060
8091
|
disabled: e.filter.disabled,
|
|
8061
8092
|
label: t.label,
|
|
@@ -8068,7 +8099,7 @@ var Ia = {
|
|
|
8068
8099
|
"variant",
|
|
8069
8100
|
"onClick"
|
|
8070
8101
|
]))), 128))])) : a("", !0),
|
|
8071
|
-
e.filter.displayPreferencesIcon ? (D(), o("div",
|
|
8102
|
+
e.filter.displayPreferencesIcon ? (D(), o("div", lu, [u($, {
|
|
8072
8103
|
ariaLabel: "Open preferences",
|
|
8073
8104
|
disabled: e.filter.disabled,
|
|
8074
8105
|
leftIcon: "sliders-horizontal",
|
|
@@ -8090,7 +8121,7 @@ var Ia = {
|
|
|
8090
8121
|
"disabled",
|
|
8091
8122
|
"placeholder"
|
|
8092
8123
|
])),
|
|
8093
|
-
q.value.length ? (D(), o("div",
|
|
8124
|
+
q.value.length ? (D(), o("div", uu, [(D(!0), o(t, null, A(q.value, (t) => (D(), i(rl, {
|
|
8094
8125
|
key: t.value,
|
|
8095
8126
|
control: e.filter.singleSelect ? "radio" : "checkbox",
|
|
8096
8127
|
disabled: e.filter.disabled || t.isSelectable === !1,
|
|
@@ -8128,10 +8159,10 @@ var Ia = {
|
|
|
8128
8159
|
"onFocusValue",
|
|
8129
8160
|
"onToggleValue"
|
|
8130
8161
|
]))), 128))])) : a("", !0),
|
|
8131
|
-
e.filter.isLoading ? (D(), o("div",
|
|
8132
|
-
!y.value.length && !q.value.length && !Y.value ? (D(), o(t, { key: 0 }, [e.filter.emptyResultsRenderer ? (D(), i(N(e.filter.emptyResultsRenderer), _({ key: 0 }, ye.value, { "empty-reason": "no-values" }), null, 16)) : (D(), o("p",
|
|
8133
|
-
J.value.length || Y.value ? (D(), o("div",
|
|
8134
|
-
J.value.length && !e.filter.hideOptionsSortDescription ? (D(), o("div",
|
|
8162
|
+
e.filter.isLoading ? (D(), o("div", du, [u(Ne, { size: "sm" }), e.filter.loadingText ? (D(), o("span", fu, I(e.filter.loadingText), 1)) : a("", !0)])) : (D(), o(t, { key: 4 }, [
|
|
8163
|
+
!y.value.length && !q.value.length && !Y.value ? (D(), o(t, { key: 0 }, [e.filter.emptyResultsRenderer ? (D(), i(N(e.filter.emptyResultsRenderer), _({ key: 0 }, ye.value, { "empty-reason": "no-values" }), null, 16)) : (D(), o("p", pu, "No values available."))], 64)) : !te.value.length && !q.value.length && !Y.value ? (D(), o(t, { key: 1 }, [e.filter.emptyResultsRenderer ? (D(), i(N(e.filter.emptyResultsRenderer), _({ key: 0 }, ye.value, { "empty-reason": "no-matches" }), null, 16)) : (D(), o("p", mu, "No matching values."))], 64)) : a("", !0),
|
|
8164
|
+
J.value.length || Y.value ? (D(), o("div", hu, [
|
|
8165
|
+
J.value.length && !e.filter.hideOptionsSortDescription ? (D(), o("div", gu, [e.filter.filterOptionsSortTooltip ? (D(), i(tr, {
|
|
8135
8166
|
key: 0,
|
|
8136
8167
|
variant: "dark",
|
|
8137
8168
|
disableInteractive: !0,
|
|
@@ -8140,11 +8171,11 @@ var Ia = {
|
|
|
8140
8171
|
"use-teleport": !0,
|
|
8141
8172
|
style: { "--max-width": "200px" }
|
|
8142
8173
|
}, {
|
|
8143
|
-
trigger: K(() => [s("p",
|
|
8174
|
+
trigger: K(() => [s("p", _u, I(F.value), 1)]),
|
|
8144
8175
|
content: K(() => [l(I(e.filter.filterOptionsSortTooltip), 1)]),
|
|
8145
8176
|
_: 1
|
|
8146
|
-
})) : (D(), o("p",
|
|
8147
|
-
(D(!0), o(t, null, A(oe.value, (n) => (D(), o(t, { key: n.kind === "option" ? n.option.value : `${n.parent.value}-children-more` }, [n.kind === "option" ? (D(), i(
|
|
8177
|
+
})) : (D(), o("p", vu, I(F.value), 1))])) : a("", !0),
|
|
8178
|
+
(D(!0), o(t, null, A(oe.value, (n) => (D(), o(t, { key: n.kind === "option" ? n.option.value : `${n.parent.value}-children-more` }, [n.kind === "option" ? (D(), i(rl, {
|
|
8148
8179
|
key: 0,
|
|
8149
8180
|
control: e.filter.singleSelect ? "radio" : "checkbox",
|
|
8150
8181
|
depth: n.depth,
|
|
@@ -8211,7 +8242,7 @@ var Ia = {
|
|
|
8211
8242
|
])) : a("", !0),
|
|
8212
8243
|
e.filter.filterFooterRenderer ? (D(), i(N(e.filter.filterFooterRenderer), b(_({ key: 3 }, ye.value)), null, 16)) : a("", !0)
|
|
8213
8244
|
], 64))
|
|
8214
|
-
], 64)) : C.value === "range" && e.filter.rangeMin !== null && e.filter.rangeMax !== null ? (D(), i(
|
|
8245
|
+
], 64)) : C.value === "range" && e.filter.rangeMin !== null && e.filter.rangeMax !== null ? (D(), i(Xc, {
|
|
8215
8246
|
key: 1,
|
|
8216
8247
|
mode: "dual",
|
|
8217
8248
|
rangeValue: e.filter.rangeValue,
|
|
@@ -8236,7 +8267,7 @@ var Ia = {
|
|
|
8236
8267
|
"scale",
|
|
8237
8268
|
"step",
|
|
8238
8269
|
"value-decimals"
|
|
8239
|
-
])) : C.value === "range" ? (D(), o("p",
|
|
8270
|
+
])) : C.value === "range" ? (D(), o("p", yu, " Range filters require minimum and maximum bounds. ")) : C.value === "boolean" ? (D(), o("div", bu, [s("div", xu, [(D(!0), o(t, null, A(R.value, (t) => (D(), i($, {
|
|
8240
8271
|
key: String(t.value),
|
|
8241
8272
|
disabled: e.filter.disabled || e.filter.isLoading,
|
|
8242
8273
|
label: t.label,
|
|
@@ -8254,37 +8285,37 @@ var Ia = {
|
|
|
8254
8285
|
label: "Clear",
|
|
8255
8286
|
variant: "ghost",
|
|
8256
8287
|
onClick: r[1] ||= (e) => Ce(null)
|
|
8257
|
-
}, null, 8, ["disabled"])) : a("", !0)])) : C.value === "exists" ? (D(), o("label",
|
|
8288
|
+
}, null, 8, ["disabled"])) : a("", !0)])) : C.value === "exists" ? (D(), o("label", Su, [u(ss, {
|
|
8258
8289
|
disabled: e.filter.disabled || e.filter.isLoading,
|
|
8259
8290
|
modelValue: e.filter.existsValue ?? !1,
|
|
8260
8291
|
"onUpdate:modelValue": we
|
|
8261
|
-
}, null, 8, ["disabled", "modelValue"]), s("span",
|
|
8292
|
+
}, null, 8, ["disabled", "modelValue"]), s("span", Cu, I(g.value), 1)])) : a("", !0)])], 40, iu));
|
|
8262
8293
|
}
|
|
8263
|
-
}), [["__scopeId", "data-v-19f7e2ba"]]),
|
|
8294
|
+
}), [["__scopeId", "data-v-19f7e2ba"]]), Du = {
|
|
8264
8295
|
class: "pv-flex-vertical pv-inset-square-8",
|
|
8265
8296
|
"data-testid": "pv-filter-panel-applied-section",
|
|
8266
8297
|
style: {
|
|
8267
8298
|
"--flex-align": "stretch",
|
|
8268
8299
|
"--flex-gap": "1rem"
|
|
8269
8300
|
}
|
|
8270
|
-
},
|
|
8301
|
+
}, Ou = {
|
|
8271
8302
|
key: 0,
|
|
8272
8303
|
class: "pv-flex-vertical",
|
|
8273
8304
|
style: {
|
|
8274
8305
|
"--flex-align": "stretch",
|
|
8275
8306
|
"--flex-gap": "1rem"
|
|
8276
8307
|
}
|
|
8277
|
-
},
|
|
8308
|
+
}, ku = { class: "pv-text-title-md" }, Au = {
|
|
8278
8309
|
class: "pv-flex",
|
|
8279
8310
|
style: {
|
|
8280
8311
|
"--flex-gap": "0.375rem",
|
|
8281
8312
|
"--flex-wrap": "wrap"
|
|
8282
8313
|
}
|
|
8283
|
-
},
|
|
8314
|
+
}, ju = {
|
|
8284
8315
|
key: 1,
|
|
8285
8316
|
class: "pv-text-body-sm pv-text-subdued",
|
|
8286
8317
|
style: { margin: "0" }
|
|
8287
|
-
},
|
|
8318
|
+
}, Mu = /* @__PURE__ */ d({
|
|
8288
8319
|
__name: "PvFilterPanelAppliedFiltersSection",
|
|
8289
8320
|
props: {
|
|
8290
8321
|
appliedCount: { default: 0 },
|
|
@@ -8299,7 +8330,7 @@ var Ia = {
|
|
|
8299
8330
|
let r = n, a = (e, t) => {
|
|
8300
8331
|
r("remove-filter", t.field ?? e, t.value, t.type);
|
|
8301
8332
|
};
|
|
8302
|
-
return (n, r) => (D(), o("section",
|
|
8333
|
+
return (n, r) => (D(), o("section", Du, [e.appliedCount ? (D(), o("div", Ou, [(D(!0), o(t, null, A(e.appliedGroups, (n) => (D(), o("div", {
|
|
8303
8334
|
key: n.key,
|
|
8304
8335
|
class: "pv-flex-vertical pv-border-bottom",
|
|
8305
8336
|
style: {
|
|
@@ -8307,7 +8338,7 @@ var Ia = {
|
|
|
8307
8338
|
"--flex-gap": "12px",
|
|
8308
8339
|
"padding-bottom": "12px"
|
|
8309
8340
|
}
|
|
8310
|
-
}, [s("span",
|
|
8341
|
+
}, [s("span", ku, I(n.label), 1), s("div", Au, [(D(!0), o(t, null, A(n.values, (t) => (D(), i(_r, {
|
|
8311
8342
|
key: `${t.field ?? n.key}-${t.type ?? "value"}-${t.value}`,
|
|
8312
8343
|
label: t.label,
|
|
8313
8344
|
showClear: !e.readOnly,
|
|
@@ -8316,9 +8347,9 @@ var Ia = {
|
|
|
8316
8347
|
"label",
|
|
8317
8348
|
"showClear",
|
|
8318
8349
|
"onHandleClose"
|
|
8319
|
-
]))), 128))])]))), 128))])) : (D(), o("p",
|
|
8350
|
+
]))), 128))])]))), 128))])) : (D(), o("p", ju, "No filters applied yet."))]));
|
|
8320
8351
|
}
|
|
8321
|
-
}),
|
|
8352
|
+
}), Nu = { class: "pv-horizontal-scroller" }, Pu = ["aria-label"], Fu = 1, Iu = /* @__PURE__ */ d({
|
|
8322
8353
|
__name: "PvHorizontalScroller",
|
|
8323
8354
|
props: {
|
|
8324
8355
|
ariaLabel: { default: "Scrollable content" },
|
|
@@ -8342,7 +8373,7 @@ var Ia = {
|
|
|
8342
8373
|
let e = u.value;
|
|
8343
8374
|
if (!e) return;
|
|
8344
8375
|
let t = Math.max(0, e.scrollWidth - e.clientWidth);
|
|
8345
|
-
n.value = e.scrollLeft >
|
|
8376
|
+
n.value = e.scrollLeft > Fu, c.value = e.scrollLeft < t - Fu;
|
|
8346
8377
|
}, h = () => {
|
|
8347
8378
|
d && (d.disconnect(), u.value && d.observe(u.value), l.value && d.observe(l.value));
|
|
8348
8379
|
}, g = () => {
|
|
@@ -8362,7 +8393,7 @@ var Ia = {
|
|
|
8362
8393
|
h(), g();
|
|
8363
8394
|
}), S(() => {
|
|
8364
8395
|
u.value?.removeEventListener("scroll", m), d?.disconnect(), f && window.removeEventListener("resize", m);
|
|
8365
|
-
}), (t, r) => (D(), o("div",
|
|
8396
|
+
}), (t, r) => (D(), o("div", Nu, [
|
|
8366
8397
|
s("div", {
|
|
8367
8398
|
ref_key: "scrollContainer",
|
|
8368
8399
|
ref: u,
|
|
@@ -8373,7 +8404,7 @@ var Ia = {
|
|
|
8373
8404
|
ref_key: "contentContainer",
|
|
8374
8405
|
ref: l,
|
|
8375
8406
|
class: "pv-horizontal-scroller-content"
|
|
8376
|
-
}, [j(t.$slots, "default")], 512)], 10,
|
|
8407
|
+
}, [j(t.$slots, "default")], 512)], 10, Pu),
|
|
8377
8408
|
s("div", { class: y(["pv-horizontal-scroller-control pv-horizontal-scroller-control-left", {
|
|
8378
8409
|
"pv-horizontal-scroller-control-hidden": !n.value,
|
|
8379
8410
|
"pv-horizontal-scroller-control-left-fade": e.showFades
|
|
@@ -8406,18 +8437,18 @@ var Ia = {
|
|
|
8406
8437
|
])) : a("", !0)], 2)
|
|
8407
8438
|
]));
|
|
8408
8439
|
}
|
|
8409
|
-
}),
|
|
8440
|
+
}), Lu = {
|
|
8410
8441
|
key: 0,
|
|
8411
8442
|
class: "pv-border-bottom",
|
|
8412
8443
|
"data-testid": "pv-filter-panel-category-row"
|
|
8413
|
-
},
|
|
8444
|
+
}, Ru = {
|
|
8414
8445
|
class: "pv-flex",
|
|
8415
8446
|
style: {
|
|
8416
8447
|
"--flex-align": "center",
|
|
8417
8448
|
"--flex-gap": "8px",
|
|
8418
8449
|
padding: "8px 12px"
|
|
8419
8450
|
}
|
|
8420
|
-
},
|
|
8451
|
+
}, zu = /* @__PURE__ */ d({
|
|
8421
8452
|
__name: "PvFilterPanelCategoryButtonRow",
|
|
8422
8453
|
props: /* @__PURE__ */ g({
|
|
8423
8454
|
allCategoriesLabel: { default: "All" },
|
|
@@ -8439,7 +8470,7 @@ var Ia = {
|
|
|
8439
8470
|
}, f = (e) => c.value === e ? "secondary" : "ghost";
|
|
8440
8471
|
return G(l, (e) => {
|
|
8441
8472
|
c.value !== null && !e.includes(c.value) && (c.value = null);
|
|
8442
|
-
}, { immediate: !0 }), (n, r) => l.value.length ? (D(), o("div",
|
|
8473
|
+
}, { immediate: !0 }), (n, r) => l.value.length ? (D(), o("div", Lu, [u(Iu, {
|
|
8443
8474
|
ariaLabel: "Filter categories",
|
|
8444
8475
|
buttonSize: "lg",
|
|
8445
8476
|
buttonVariant: "ghost",
|
|
@@ -8448,7 +8479,7 @@ var Ia = {
|
|
|
8448
8479
|
rightAriaLabel: "Scroll filter categories right",
|
|
8449
8480
|
showFades: ""
|
|
8450
8481
|
}, {
|
|
8451
|
-
default: K(() => [s("div",
|
|
8482
|
+
default: K(() => [s("div", Ru, [u($, {
|
|
8452
8483
|
label: e.allCategoriesLabel,
|
|
8453
8484
|
variant: f(null),
|
|
8454
8485
|
onClick: r[0] ||= (e) => d(null)
|
|
@@ -8465,17 +8496,17 @@ var Ia = {
|
|
|
8465
8496
|
_: 1
|
|
8466
8497
|
})])) : a("", !0);
|
|
8467
8498
|
}
|
|
8468
|
-
}),
|
|
8499
|
+
}), Bu = (e, t, n) => {
|
|
8469
8500
|
let r = [e, ...t ?? []].filter((e) => !!e);
|
|
8470
8501
|
if (r.length <= 1) return "Search";
|
|
8471
8502
|
let i = /* @__PURE__ */ new Set(), a = r.flatMap((e) => i.has(e) ? [] : (i.add(e), [n(e) || e]));
|
|
8472
8503
|
return a.length ? `Search ${a.join(", ")}` : "Search";
|
|
8473
|
-
},
|
|
8474
|
-
if (!r ||
|
|
8504
|
+
}, Vu = (e) => String(e ?? "").trim().replace(/\s+/g, " ").toLocaleLowerCase(), Hu = ({ fallbackSubText: e, getDisplayName: t, matchedField: n, matchedValue: r, primaryText: i, showPrefix: a = !0 }) => {
|
|
8505
|
+
if (!r || Vu(i) === Vu(r)) return e;
|
|
8475
8506
|
if (!a || !n) return r;
|
|
8476
8507
|
let o = t(n);
|
|
8477
8508
|
return o ? `${o}: ${r}` : r;
|
|
8478
|
-
},
|
|
8509
|
+
}, Uu = () => ({
|
|
8479
8510
|
booleanValue: null,
|
|
8480
8511
|
existsValue: !1,
|
|
8481
8512
|
rangeValue: {
|
|
@@ -8483,15 +8514,15 @@ var Ia = {
|
|
|
8483
8514
|
min: null
|
|
8484
8515
|
},
|
|
8485
8516
|
values: []
|
|
8486
|
-
}),
|
|
8487
|
-
conditions: e.conditions.map(
|
|
8517
|
+
}), Wu = (e) => typeof e == "object" && !!e && !Array.isArray(e), Gu = (e) => Wu(e) && typeof e.colId == "string" && typeof e.filterType == "string" && typeof e.type == "string", Ku = (e) => Wu(e) && e.filterType === "join" && Array.isArray(e.conditions), qu = (e) => e, Ju = (e) => Ku(e) ? {
|
|
8518
|
+
conditions: e.conditions.map(Ju),
|
|
8488
8519
|
filterType: "join",
|
|
8489
8520
|
type: e.type
|
|
8490
|
-
} : { ...e },
|
|
8491
|
-
if (!
|
|
8492
|
-
if (
|
|
8521
|
+
} : { ...e }, Yu = (e) => {
|
|
8522
|
+
if (!Wu(e)) return null;
|
|
8523
|
+
if (Ku(e)) {
|
|
8493
8524
|
let t = e.conditions.flatMap((e) => {
|
|
8494
|
-
let t =
|
|
8525
|
+
let t = Yu(e);
|
|
8495
8526
|
return t ? [t] : [];
|
|
8496
8527
|
});
|
|
8497
8528
|
return t.length ? {
|
|
@@ -8500,43 +8531,43 @@ var Ia = {
|
|
|
8500
8531
|
type: e.type === "OR" ? "OR" : "AND"
|
|
8501
8532
|
} : null;
|
|
8502
8533
|
}
|
|
8503
|
-
return
|
|
8504
|
-
},
|
|
8534
|
+
return Gu(e) ? { ...e } : null;
|
|
8535
|
+
}, Xu = (e) => typeof e == "number" && Number.isFinite(e) ? e : null, Zu = (e) => Wu(e) && !Ku(e) && !Gu(e), Qu = (e) => e?.filterType === "multi" && Array.isArray(e.filterModels), $u = {
|
|
8505
8536
|
number: "agNumberColumnFilter",
|
|
8506
8537
|
set: "agSetColumnFilter",
|
|
8507
8538
|
text: "agTextColumnFilter"
|
|
8508
|
-
},
|
|
8539
|
+
}, ed = (e) => {
|
|
8509
8540
|
if (e?.filter !== "agMultiColumnFilter") return [];
|
|
8510
8541
|
let t = e.filterParams;
|
|
8511
8542
|
return Array.isArray(t?.filters) ? t.filters : [];
|
|
8512
|
-
},
|
|
8513
|
-
let n =
|
|
8514
|
-
return r ? n.findIndex((e) =>
|
|
8515
|
-
},
|
|
8516
|
-
let n =
|
|
8543
|
+
}, td = (e, t) => {
|
|
8544
|
+
let n = ed(e), r = t.filterType ? $u[t.filterType] : void 0;
|
|
8545
|
+
return r ? n.findIndex((e) => Wu(e) && e.filter === r) : -1;
|
|
8546
|
+
}, nd = (e, t) => {
|
|
8547
|
+
let n = ed(e);
|
|
8517
8548
|
if (!n.length) return null;
|
|
8518
|
-
let r = Array(n.length).fill(null), i =
|
|
8549
|
+
let r = Array(n.length).fill(null), i = td(e, t);
|
|
8519
8550
|
return i < 0 ? null : (r[i] = t, {
|
|
8520
8551
|
filterModels: r,
|
|
8521
8552
|
filterType: "multi"
|
|
8522
8553
|
});
|
|
8523
|
-
},
|
|
8524
|
-
if (!
|
|
8554
|
+
}, rd = (e, t) => {
|
|
8555
|
+
if (!Zu(e)) return null;
|
|
8525
8556
|
let n = e[t];
|
|
8526
|
-
return
|
|
8527
|
-
},
|
|
8557
|
+
return Wu(n) ? n : null;
|
|
8558
|
+
}, id = (e) => e ? Qu(e) ? e.filterModels.filter((e) => Wu(e)) : [e] : [], ad = (e) => Zu(e) ? { ...e } : {}, od = (e) => Qu(e) ? {
|
|
8528
8559
|
...e,
|
|
8529
8560
|
filterModels: e.filterModels.map((e) => e && { ...e })
|
|
8530
|
-
} : { ...e },
|
|
8531
|
-
let n =
|
|
8561
|
+
} : { ...e }, sd = (e, t) => {
|
|
8562
|
+
let n = ad(e);
|
|
8532
8563
|
return delete n[t], Object.keys(n).length ? n : null;
|
|
8533
|
-
},
|
|
8564
|
+
}, cd = /* @__PURE__ */ new Set(), ld = (e, t) => {
|
|
8534
8565
|
let n = `${e}:${t ?? "unknown"}`;
|
|
8535
|
-
|
|
8536
|
-
},
|
|
8537
|
-
let a =
|
|
8538
|
-
if (
|
|
8539
|
-
let o =
|
|
8566
|
+
cd.has(n) || (console.warn(`PvFilterPanel: overwriting an occupied regular multi-filter slot for "${e}" because the target slot was occupied or no empty slot was available.`), cd.add(n));
|
|
8567
|
+
}, ud = (e, t, n, r, i) => {
|
|
8568
|
+
let a = rd(e, t);
|
|
8569
|
+
if (Qu(a) && r) {
|
|
8570
|
+
let o = ad(e), s = od(a), c = [...s.filterModels ?? []], l = c.flatMap((e, t) => e && r(e) ? [t] : []);
|
|
8540
8571
|
if (!n) {
|
|
8541
8572
|
for (let e of l) c[e] = null;
|
|
8542
8573
|
return c.some(Boolean) ? o[t] = {
|
|
@@ -8549,15 +8580,15 @@ var Ia = {
|
|
|
8549
8580
|
c[e] = n;
|
|
8550
8581
|
for (let e of t) c[e] = null;
|
|
8551
8582
|
} else {
|
|
8552
|
-
let e =
|
|
8583
|
+
let e = td(i, n), r = c.findIndex((e) => !e), a = ed(i).length > 0;
|
|
8553
8584
|
if (e >= 0) {
|
|
8554
8585
|
for (; c.length <= e;) c.push(null);
|
|
8555
|
-
c[e] &&
|
|
8586
|
+
c[e] && ld(t, n.filterType), c[e] = n;
|
|
8556
8587
|
} else if (r >= 0) c[r] = n;
|
|
8557
8588
|
else if (!a) c.push(n);
|
|
8558
8589
|
else {
|
|
8559
8590
|
let e = Math.max(0, c.length - 1);
|
|
8560
|
-
|
|
8591
|
+
ld(t, n.filterType), c[e] = n;
|
|
8561
8592
|
}
|
|
8562
8593
|
}
|
|
8563
8594
|
return o[t] = {
|
|
@@ -8565,54 +8596,54 @@ var Ia = {
|
|
|
8565
8596
|
filterModels: c
|
|
8566
8597
|
}, o;
|
|
8567
8598
|
}
|
|
8568
|
-
if (!n) return
|
|
8569
|
-
let o =
|
|
8570
|
-
return o[t] =
|
|
8571
|
-
},
|
|
8599
|
+
if (!n) return sd(e, t);
|
|
8600
|
+
let o = ad(e);
|
|
8601
|
+
return o[t] = nd(i, n) ?? n, o;
|
|
8602
|
+
}, dd = (e, t) => {
|
|
8572
8603
|
if (e) {
|
|
8573
|
-
if (
|
|
8574
|
-
e.conditions.forEach((e) =>
|
|
8604
|
+
if (Ku(e)) {
|
|
8605
|
+
e.conditions.forEach((e) => dd(e, t));
|
|
8575
8606
|
return;
|
|
8576
8607
|
}
|
|
8577
8608
|
t(e);
|
|
8578
8609
|
}
|
|
8579
|
-
},
|
|
8580
|
-
if (!
|
|
8610
|
+
}, fd = (e, t) => Ku(e) ? e.conditions.length > 0 && e.conditions.every((e) => fd(e, t)) : e.colId === t, pd = (e) => {
|
|
8611
|
+
if (!Ku(e)) return e.colId;
|
|
8581
8612
|
let t = /* @__PURE__ */ new Set();
|
|
8582
|
-
return
|
|
8583
|
-
},
|
|
8584
|
-
if (!e ||
|
|
8585
|
-
if (!
|
|
8586
|
-
let n = e.conditions.flatMap((e) =>
|
|
8613
|
+
return dd(e, (e) => t.add(e.colId)), t.size === 1 ? [...t][0] : null;
|
|
8614
|
+
}, md = (e, t) => {
|
|
8615
|
+
if (!e || fd(e, t)) return null;
|
|
8616
|
+
if (!Ku(e) || e.type !== "AND") return Ju(e);
|
|
8617
|
+
let n = e.conditions.flatMap((e) => fd(e, t) ? [] : [Ju(e)]);
|
|
8587
8618
|
return n.length ? n.length === 1 ? n[0] : {
|
|
8588
8619
|
conditions: n,
|
|
8589
8620
|
filterType: e.filterType,
|
|
8590
8621
|
type: e.type
|
|
8591
8622
|
} : null;
|
|
8592
|
-
},
|
|
8593
|
-
let r =
|
|
8594
|
-
return n ? r ?
|
|
8623
|
+
}, hd = (e, t, n) => {
|
|
8624
|
+
let r = md(Yu(e), t);
|
|
8625
|
+
return n ? r ? Ku(r) && r.type === "AND" ? qu({
|
|
8595
8626
|
...r,
|
|
8596
8627
|
conditions: [...r.conditions, n]
|
|
8597
|
-
}) :
|
|
8628
|
+
}) : qu({
|
|
8598
8629
|
conditions: [r, n],
|
|
8599
8630
|
filterType: "join",
|
|
8600
8631
|
type: "AND"
|
|
8601
|
-
}) :
|
|
8602
|
-
},
|
|
8632
|
+
}) : qu(n) : qu(r);
|
|
8633
|
+
}, gd = (e, t) => {
|
|
8603
8634
|
e.includes(t) || e.push(t);
|
|
8604
|
-
},
|
|
8635
|
+
}, _d = (e) => {
|
|
8605
8636
|
if (e.filterType !== "text" || e.type !== "equals" || e.filter === void 0) return !1;
|
|
8606
8637
|
let t = String(e.filter);
|
|
8607
8638
|
return t === "true" || t === "false";
|
|
8608
|
-
},
|
|
8639
|
+
}, vd = (e) => e.filterType === "boolean" || _d(e), yd = (e, t) => {
|
|
8609
8640
|
if (e.filterType === "set" && Array.isArray(e.values)) {
|
|
8610
|
-
e.values.forEach((e) =>
|
|
8641
|
+
e.values.forEach((e) => gd(t.values, String(e)));
|
|
8611
8642
|
return;
|
|
8612
8643
|
}
|
|
8613
8644
|
if (e.filterType === "text" && e.type === "equals" && e.filter !== void 0) {
|
|
8614
8645
|
let n = String(e.filter);
|
|
8615
|
-
n === "true" ? t.booleanValue = !0 : n === "false" && (t.booleanValue = !1),
|
|
8646
|
+
n === "true" ? t.booleanValue = !0 : n === "false" && (t.booleanValue = !1), gd(t.values, n);
|
|
8616
8647
|
return;
|
|
8617
8648
|
}
|
|
8618
8649
|
if (e.filterType === "boolean") {
|
|
@@ -8636,7 +8667,7 @@ var Ia = {
|
|
|
8636
8667
|
...t.rangeValue,
|
|
8637
8668
|
max: e.filter
|
|
8638
8669
|
}));
|
|
8639
|
-
},
|
|
8670
|
+
}, bd = (e, t) => {
|
|
8640
8671
|
if (e.type === "notBlank") {
|
|
8641
8672
|
t.existsValue = !0;
|
|
8642
8673
|
return;
|
|
@@ -8646,12 +8677,12 @@ var Ia = {
|
|
|
8646
8677
|
return;
|
|
8647
8678
|
}
|
|
8648
8679
|
if (e.filterType === "set" && Array.isArray(e.values)) {
|
|
8649
|
-
e.values.forEach((e) =>
|
|
8680
|
+
e.values.forEach((e) => gd(t.values, String(e)));
|
|
8650
8681
|
return;
|
|
8651
8682
|
}
|
|
8652
8683
|
if (e.filterType === "text" && e.type === "equals" && e.filter !== void 0) {
|
|
8653
8684
|
let n = String(e.filter);
|
|
8654
|
-
n === "true" ? t.booleanValue = !0 : n === "false" && (t.booleanValue = !1),
|
|
8685
|
+
n === "true" ? t.booleanValue = !0 : n === "false" && (t.booleanValue = !1), gd(t.values, n);
|
|
8655
8686
|
return;
|
|
8656
8687
|
}
|
|
8657
8688
|
e.filterType !== "number" || typeof e.filter != "number" || (e.type === "equals" && (t.rangeValue = {
|
|
@@ -8664,29 +8695,29 @@ var Ia = {
|
|
|
8664
8695
|
...t.rangeValue,
|
|
8665
8696
|
max: e.filter
|
|
8666
8697
|
}));
|
|
8667
|
-
},
|
|
8698
|
+
}, xd = (e, t = "advanced") => {
|
|
8668
8699
|
let n = /* @__PURE__ */ new Map();
|
|
8669
8700
|
if (t === "regular") {
|
|
8670
|
-
if (!
|
|
8701
|
+
if (!Zu(e)) return n;
|
|
8671
8702
|
for (let [t, r] of Object.entries(e)) {
|
|
8672
|
-
let e =
|
|
8673
|
-
|
|
8703
|
+
let e = Uu();
|
|
8704
|
+
id(r).forEach((t) => yd(t, e)), (e.values.length || e.booleanValue !== null || e.existsValue || e.rangeValue.min !== null || e.rangeValue.max !== null) && n.set(t, e);
|
|
8674
8705
|
}
|
|
8675
8706
|
return n;
|
|
8676
8707
|
}
|
|
8677
|
-
let r =
|
|
8708
|
+
let r = Yu(e);
|
|
8678
8709
|
if (!r) return n;
|
|
8679
|
-
let i =
|
|
8710
|
+
let i = Ku(r) && r.type === "AND" ? r.conditions : [r];
|
|
8680
8711
|
for (let e of i) {
|
|
8681
|
-
let t =
|
|
8712
|
+
let t = pd(e);
|
|
8682
8713
|
if (!t) continue;
|
|
8683
|
-
let r = n.get(t) ??
|
|
8684
|
-
|
|
8685
|
-
e.colId === t &&
|
|
8714
|
+
let r = n.get(t) ?? Uu();
|
|
8715
|
+
dd(e, (e) => {
|
|
8716
|
+
e.colId === t && bd(e, r);
|
|
8686
8717
|
}), (r.values.length || r.booleanValue !== null || r.existsValue || r.rangeValue.min !== null || r.rangeValue.max !== null) && n.set(t, r);
|
|
8687
8718
|
}
|
|
8688
8719
|
return n;
|
|
8689
|
-
},
|
|
8720
|
+
}, Sd = (e, t = "advanced") => t === "regular" ? Zu(e) && Object.keys(e).length > 0 : Yu(e) !== null, Cd = (e) => e === "currency" || e === "formula" || e === "integer" || e === "number" || e === "percent" ? "number" : e === "date" ? "date" : "text", wd = (e, t, n = "advanced") => n === "regular" ? sd(e, t) : qu(md(Yu(e), t)), Td = (e, t, n, r = "advanced", i = "boolean", a) => n === null ? r === "regular" ? ud(e, t, null, vd, a) : wd(e, t, r) : r === "regular" ? ud(e, t, i === "text" ? {
|
|
8690
8721
|
filter: String(n),
|
|
8691
8722
|
filterType: "text",
|
|
8692
8723
|
type: "equals"
|
|
@@ -8694,30 +8725,30 @@ var Ia = {
|
|
|
8694
8725
|
filter: n,
|
|
8695
8726
|
filterType: "boolean",
|
|
8696
8727
|
type: n ? "true" : "false"
|
|
8697
|
-
},
|
|
8728
|
+
}, vd, a) : i === "text" ? hd(e, t, {
|
|
8698
8729
|
colId: t,
|
|
8699
8730
|
filter: String(n),
|
|
8700
8731
|
filterType: "text",
|
|
8701
8732
|
type: "equals"
|
|
8702
|
-
}) :
|
|
8733
|
+
}) : hd(e, t, {
|
|
8703
8734
|
colId: t,
|
|
8704
8735
|
filterType: "boolean",
|
|
8705
8736
|
type: n ? "true" : "false"
|
|
8706
|
-
}),
|
|
8737
|
+
}), Ed = (e, t, n, r = "text", i = "advanced", a) => n ? i === "regular" ? ud(e, t, {
|
|
8707
8738
|
filterType: r,
|
|
8708
8739
|
type: "notBlank"
|
|
8709
|
-
}, (e) => e.filterType === r && e.type === "notBlank", a) :
|
|
8740
|
+
}, (e) => e.filterType === r && e.type === "notBlank", a) : hd(e, t, {
|
|
8710
8741
|
colId: t,
|
|
8711
8742
|
filterType: r,
|
|
8712
8743
|
type: "notBlank"
|
|
8713
|
-
}) : i === "regular" ?
|
|
8714
|
-
let o =
|
|
8715
|
-
if (i === "regular") return o === null && s === null ?
|
|
8744
|
+
}) : i === "regular" ? ud(e, t, null, (e) => e.filterType === r && e.type === "notBlank", a) : wd(e, t, i), Dd = (e, t, n, r, i = "advanced", a) => {
|
|
8745
|
+
let o = Xu(n), s = Xu(r);
|
|
8746
|
+
if (i === "regular") return o === null && s === null ? ud(e, t, null, (e) => e.filterType === "number", a) : o !== null && s !== null ? ud(e, t, {
|
|
8716
8747
|
filter: o,
|
|
8717
8748
|
filterTo: s,
|
|
8718
8749
|
filterType: "number",
|
|
8719
8750
|
type: "inRange"
|
|
8720
|
-
}, (e) => e.filterType === "number", a) :
|
|
8751
|
+
}, (e) => e.filterType === "number", a) : ud(e, t, {
|
|
8721
8752
|
filter: o ?? s,
|
|
8722
8753
|
filterType: "number",
|
|
8723
8754
|
type: o === null ? "lessThanOrEqual" : "greaterThanOrEqual"
|
|
@@ -8733,29 +8764,29 @@ var Ia = {
|
|
|
8733
8764
|
filter: s,
|
|
8734
8765
|
filterType: "number",
|
|
8735
8766
|
type: "lessThanOrEqual"
|
|
8736
|
-
}), c.length ?
|
|
8767
|
+
}), c.length ? hd(e, t, c.length === 1 ? c[0] : {
|
|
8737
8768
|
conditions: c,
|
|
8738
8769
|
filterType: "join",
|
|
8739
8770
|
type: "AND"
|
|
8740
|
-
}) :
|
|
8741
|
-
},
|
|
8771
|
+
}) : wd(e, t);
|
|
8772
|
+
}, Od = (e, t, n, r = "advanced", i) => {
|
|
8742
8773
|
let a = Array.from(new Set(n));
|
|
8743
|
-
if (r === "regular") return a.length ?
|
|
8774
|
+
if (r === "regular") return a.length ? ud(e, t, {
|
|
8744
8775
|
filterType: "set",
|
|
8745
8776
|
values: a
|
|
8746
|
-
}, (e) => e.filterType === "set", i) :
|
|
8777
|
+
}, (e) => e.filterType === "set", i) : ud(e, t, null, (e) => e.filterType === "set", i);
|
|
8747
8778
|
let o = a.map((e) => ({
|
|
8748
8779
|
colId: t,
|
|
8749
8780
|
filter: e,
|
|
8750
8781
|
filterType: "text",
|
|
8751
8782
|
type: "equals"
|
|
8752
8783
|
}));
|
|
8753
|
-
return o.length ?
|
|
8784
|
+
return o.length ? hd(e, t, o.length === 1 ? o[0] : {
|
|
8754
8785
|
conditions: o,
|
|
8755
8786
|
filterType: "join",
|
|
8756
8787
|
type: "OR"
|
|
8757
|
-
}) :
|
|
8758
|
-
},
|
|
8788
|
+
}) : wd(e, t);
|
|
8789
|
+
}, kd = Symbol("PvFilterStore"), Ad = (e) => e ? Array.isArray(e) ? { values: e } : e : { values: [] }, jd = (e, t) => t ?? e, Md = (e) => Object.fromEntries(Object.entries(e).map(([e, t]) => [e, [...t]])), Nd = (e) => {
|
|
8759
8790
|
let t = /* @__PURE__ */ new Map();
|
|
8760
8791
|
for (let n of e) {
|
|
8761
8792
|
if (!n) continue;
|
|
@@ -8767,34 +8798,34 @@ var Ia = {
|
|
|
8767
8798
|
t.set(n.value, {
|
|
8768
8799
|
...e,
|
|
8769
8800
|
...n,
|
|
8770
|
-
children:
|
|
8771
|
-
totalChildCount:
|
|
8801
|
+
children: Nd([...e.children ?? [], ...n.children ?? []]),
|
|
8802
|
+
totalChildCount: jd(e.totalChildCount, n.totalChildCount)
|
|
8772
8803
|
});
|
|
8773
8804
|
}
|
|
8774
8805
|
return [...t.values()];
|
|
8775
|
-
},
|
|
8806
|
+
}, Pd = (e, t) => {
|
|
8776
8807
|
for (let n of e ?? []) {
|
|
8777
8808
|
if (!n) continue;
|
|
8778
8809
|
if (n.value === t) return n;
|
|
8779
|
-
let e =
|
|
8810
|
+
let e = Pd(n.children, t);
|
|
8780
8811
|
if (e) return e;
|
|
8781
8812
|
}
|
|
8782
|
-
},
|
|
8813
|
+
}, Fd = (e, t, n) => {
|
|
8783
8814
|
if (!e || t === null) return !1;
|
|
8784
8815
|
if (e.value === t) return !0;
|
|
8785
|
-
let r =
|
|
8786
|
-
return r !== null && r === t ||
|
|
8787
|
-
},
|
|
8788
|
-
let r =
|
|
8816
|
+
let r = xl(e);
|
|
8817
|
+
return r !== null && r === t || wl(e, e.colField ?? n, t, n) ? !0 : e.children?.some((e) => Fd(e, t, n)) ?? !1;
|
|
8818
|
+
}, Id = (e, t, n) => {
|
|
8819
|
+
let r = Pd(n, t) ?? null, i = r?.children ?? n.filter(Boolean);
|
|
8789
8820
|
return e.map((e) => e && (e.value === t ? {
|
|
8790
8821
|
...e,
|
|
8791
|
-
children:
|
|
8792
|
-
totalChildCount:
|
|
8822
|
+
children: Nd([...e.children ?? [], ...i]),
|
|
8823
|
+
totalChildCount: jd(e.totalChildCount, r?.totalChildCount)
|
|
8793
8824
|
} : e.children?.length ? {
|
|
8794
8825
|
...e,
|
|
8795
|
-
children:
|
|
8826
|
+
children: Id(e.children, t, n).filter((e) => !!e)
|
|
8796
8827
|
} : e));
|
|
8797
|
-
},
|
|
8828
|
+
}, Ld = (e, t) => `${e}::${t}`, Rd = () => {
|
|
8798
8829
|
let e = k(null), t = k(null), n = k(), r = k({}), i = k({}), a = k({}), o = k({}), s = k({}), c = k({}), l = k({}), u = k({}), d = k({}), f = k({}), p = k({}), m = k({}), h = k({}), g = k({}), _ = k({}), v = k(), y = k({}), b = (e) => {
|
|
8799
8830
|
v.value = e;
|
|
8800
8831
|
}, x = (e) => r.value[e] ?? [], S = (e, t) => {
|
|
@@ -8803,11 +8834,11 @@ var Ia = {
|
|
|
8803
8834
|
let r = n ? o : i;
|
|
8804
8835
|
r.value[e] = t;
|
|
8805
8836
|
}, T = () => {
|
|
8806
|
-
o.value =
|
|
8837
|
+
o.value = Md(i.value), s.value = Md(a.value);
|
|
8807
8838
|
}, E = () => {
|
|
8808
8839
|
o.value = {}, s.value = {};
|
|
8809
8840
|
}, D = () => {
|
|
8810
|
-
i.value =
|
|
8841
|
+
i.value = Md(o.value), a.value = Md(s.value), E();
|
|
8811
8842
|
}, O = (e, t) => {
|
|
8812
8843
|
c.value[e] = t;
|
|
8813
8844
|
}, A = (e, t) => {
|
|
@@ -8831,7 +8862,7 @@ var Ia = {
|
|
|
8831
8862
|
if (!o) return [];
|
|
8832
8863
|
let s = n.query ?? c.value[n.field] ?? void 0;
|
|
8833
8864
|
c.value[n.field] = s;
|
|
8834
|
-
let u = n.parentId ?
|
|
8865
|
+
let u = n.parentId ? Pd(r.value[n.field], n.parentId) : void 0, d = n.offset ?? (n.parentId ? u?.children?.length ?? 0 : n.reason === "load-more" ? (r.value[n.field] ?? []).filter(Boolean).length : 0), y = n.reason === "load-more" || n.reason === "child-load-more", b = M(n.field, y), x = n.parentId ? Ld(n.field, n.parentId) : n.field, S = (g.value[x] ?? 0) + 1;
|
|
8835
8866
|
g.value[x] = S;
|
|
8836
8867
|
try {
|
|
8837
8868
|
let c = await o({
|
|
@@ -8843,17 +8874,17 @@ var Ia = {
|
|
|
8843
8874
|
selectedValues: n.selectedValues ?? i.value[n.field] ?? []
|
|
8844
8875
|
});
|
|
8845
8876
|
if (g.value[x] !== S) return [];
|
|
8846
|
-
let u =
|
|
8877
|
+
let u = Ad(c);
|
|
8847
8878
|
if (n.parentId) {
|
|
8848
|
-
let e =
|
|
8879
|
+
let e = Ld(n.field, n.parentId);
|
|
8849
8880
|
m.value[e] = u.hasMore, h.value[e] = u.totalCount;
|
|
8850
8881
|
} else f.value[n.field] = u.hasMore, p.value[n.field] = u.totalCount;
|
|
8851
8882
|
let v = a.value[n.field] ?? [], b;
|
|
8852
|
-
b = n.parentId ?
|
|
8883
|
+
b = n.parentId ? Id(r.value[n.field] ?? [], n.parentId, u.values) : y ? Nd([...r.value[n.field] ?? [], ...u.values]) : u.values;
|
|
8853
8884
|
for (let e of v) {
|
|
8854
8885
|
if (!e) continue;
|
|
8855
|
-
let t =
|
|
8856
|
-
b.some((e) =>
|
|
8886
|
+
let t = xl(e) ?? e.value;
|
|
8887
|
+
b.some((e) => Fd(e, t, n.field)) || b.push(e);
|
|
8857
8888
|
}
|
|
8858
8889
|
return r.value[n.field] = b, _.value[n.field] = !1, b.filter((e) => !!e).map((e) => e.value);
|
|
8859
8890
|
} finally {
|
|
@@ -8888,20 +8919,20 @@ var Ia = {
|
|
|
8888
8919
|
stagedFilterSelectedMetadataMap: s,
|
|
8889
8920
|
stagedFilterSelectedValueMap: o
|
|
8890
8921
|
};
|
|
8891
|
-
},
|
|
8892
|
-
O(
|
|
8893
|
-
},
|
|
8922
|
+
}, zd = (e) => {
|
|
8923
|
+
O(kd, e);
|
|
8924
|
+
}, Bd = () => m(kd, null), Vd = () => Bd() ?? Rd(), Hd = "__range__", Ud = "__boolean__", Wd = "__exists__", Gd = new Set([
|
|
8894
8925
|
"value",
|
|
8895
8926
|
"range",
|
|
8896
8927
|
"boolean",
|
|
8897
8928
|
"exists"
|
|
8898
8929
|
]);
|
|
8899
|
-
function
|
|
8930
|
+
function Kd(e, t, n) {
|
|
8900
8931
|
f();
|
|
8901
|
-
let i = k(t.value), a =
|
|
8932
|
+
let i = k(t.value), a = Rd(), o = Bd(), s = /* @__PURE__ */ new Set(), c = /* @__PURE__ */ new Set(), l = P(/* @__PURE__ */ new Map()), u = r(() => !!(e.filterStore ?? o)), d = r(() => !u.value && !!e.filterOptionsHandler), p = r(() => e.filterStore ?? o ?? a), m = r(() => p.value === a), h = r(() => u.value || d.value), g = r(() => e.filterModelType ?? p.value?.filterModelType.value), _ = r(() => g.value ?? "advanced"), v = r(() => {
|
|
8902
8933
|
let n = p.value;
|
|
8903
8934
|
return n ? e.staged ? n.stagedFilterModel.value : n.filterModel.value : e.staged ? i.value : t.value;
|
|
8904
|
-
}), y = r(() =>
|
|
8935
|
+
}), y = r(() => xd(v.value, _.value)), b = (e, t) => {
|
|
8905
8936
|
let n = e.applyFilterModel;
|
|
8906
8937
|
if (typeof n == "function") {
|
|
8907
8938
|
n(t);
|
|
@@ -8992,7 +9023,7 @@ function Ld(e, t, n) {
|
|
|
8992
9023
|
});
|
|
8993
9024
|
let D = (e) => e.context ?? {}, O = (e) => e.colId || e.field || "", A = (e) => typeof e == "number" && Number.isFinite(e) ? e : null, j = (e) => {
|
|
8994
9025
|
let t = D(e), n = t.filterPanelType;
|
|
8995
|
-
if (n &&
|
|
9026
|
+
if (n && Gd.has(n)) return n;
|
|
8996
9027
|
if (t.filterPanelRange) return "range";
|
|
8997
9028
|
if (t.dataType === "boolean") return "boolean";
|
|
8998
9029
|
if (e.filter) return "value";
|
|
@@ -9032,30 +9063,30 @@ function Ld(e, t, n) {
|
|
|
9032
9063
|
...r,
|
|
9033
9064
|
...i
|
|
9034
9065
|
].filter(Boolean)));
|
|
9035
|
-
}, K = (e) => _.value === "advanced" &&
|
|
9066
|
+
}, K = (e) => _.value === "advanced" && Ml(e), q = (e, t) => K(e) ? Hl({
|
|
9036
9067
|
colDef: e,
|
|
9037
9068
|
model: v.value,
|
|
9038
9069
|
options: t
|
|
9039
9070
|
}) : new Map(ne(e).map((e) => [e, y.value.get(e)?.values ?? []])), ie = (e, t, n, r) => {
|
|
9040
9071
|
let i = /* @__PURE__ */ new Set();
|
|
9041
|
-
for (let t of
|
|
9072
|
+
for (let t of Cl(r)) for (let [r, a] of n) for (let n of a) wl(t, r, n, e) && i.add(`${r}:${n}`);
|
|
9042
9073
|
return [...n.entries()].flatMap(([t, n]) => n.flatMap((n) => i.has(`${t}:${n}`) ? [] : [{
|
|
9043
9074
|
colField: t === e ? void 0 : t,
|
|
9044
9075
|
label: n,
|
|
9045
9076
|
metadata: { rawValue: n },
|
|
9046
|
-
value: t === e ? n :
|
|
9077
|
+
value: t === e ? n : bl(t, n)
|
|
9047
9078
|
}]));
|
|
9048
9079
|
}, J = (e, t, n) => {
|
|
9049
9080
|
let r = /* @__PURE__ */ new Set();
|
|
9050
|
-
for (let i of
|
|
9051
|
-
let n =
|
|
9081
|
+
for (let i of Cl(n)) {
|
|
9082
|
+
let n = Sl(i, e), a = xl(i);
|
|
9052
9083
|
a !== null && t.get(n)?.includes(a) && r.add(i.value);
|
|
9053
9084
|
}
|
|
9054
9085
|
return Array.from(r);
|
|
9055
9086
|
}, ae = (t) => Object.fromEntries(ne(t).map((t) => [t, e.focusedValues[t] ?? []])), Y = (t) => e.colDefs.find((e) => O(e) === t || e.field === t || e.colId === t), oe = (e) => Y(e)?.headerName ?? e, se = (e) => {
|
|
9056
9087
|
let t = D(e);
|
|
9057
|
-
return typeof t.filterPanelSearchPlaceholder == "string" ? t.filterPanelSearchPlaceholder :
|
|
9058
|
-
}, ce = (e, t) =>
|
|
9088
|
+
return typeof t.filterPanelSearchPlaceholder == "string" ? t.filterPanelSearchPlaceholder : Bu(O(e), t.queryColIds, oe);
|
|
9089
|
+
}, ce = (e, t) => Hu({
|
|
9059
9090
|
fallbackSubText: e.subText,
|
|
9060
9091
|
getDisplayName: oe,
|
|
9061
9092
|
matchedField: e.matchedField,
|
|
@@ -9073,7 +9104,7 @@ function Ld(e, t, n) {
|
|
|
9073
9104
|
isActive: y.value.get(e)?.booleanValue === !0,
|
|
9074
9105
|
label: Y(e)?.headerName ?? e
|
|
9075
9106
|
}));
|
|
9076
|
-
}, ue = (e) => fe.value.find((t) => t.key === e) ?? fe.value.find((t) => ne(t.colDef).includes(e)), de = (e, t, n) =>
|
|
9107
|
+
}, ue = (e) => fe.value.find((t) => t.key === e) ?? fe.value.find((t) => ne(t.colDef).includes(e)), de = (e, t, n) => Cl(ue(e)?.knownOptions ?? []).find((r) => r.value === n || wl(r, t, n, e)), fe = r(() => e.colDefs.filter(I).map((t) => {
|
|
9077
9108
|
let n = O(t), r = D(t), i = M(t), a = X(L(n), t), o = X(te(n), t), s = {
|
|
9078
9109
|
category: N(t),
|
|
9079
9110
|
colDef: t,
|
|
@@ -9134,7 +9165,7 @@ function Ld(e, t, n) {
|
|
|
9134
9165
|
...s,
|
|
9135
9166
|
existsValue: y.value.get(n)?.existsValue ?? !1
|
|
9136
9167
|
};
|
|
9137
|
-
let c = o, u = e.controlledValues[n] ?? [], d = s.controlled ? new Map([[n, u]]) : q(t, c), f = ie(n, t, d, c), p = [...c, ...f], m = K(t) ?
|
|
9168
|
+
let c = o, u = e.controlledValues[n] ?? [], d = s.controlled ? new Map([[n, u]]) : q(t, c), f = ie(n, t, d, c), p = [...c, ...f], m = K(t) ? Vl({
|
|
9138
9169
|
colDef: t,
|
|
9139
9170
|
model: v.value,
|
|
9140
9171
|
options: p
|
|
@@ -9154,19 +9185,19 @@ function Ld(e, t, n) {
|
|
|
9154
9185
|
label: e.label,
|
|
9155
9186
|
values: t
|
|
9156
9187
|
}] : [];
|
|
9157
|
-
})), me = r(() => pe.value.reduce((e, t) => e + t.values.length, 0)), he = r(() =>
|
|
9188
|
+
})), me = r(() => pe.value.reduce((e, t) => e + t.values.length, 0)), he = r(() => Sd(v.value, _.value)), ge = r(() => he.value || me.value > 0), _e = (e) => {
|
|
9158
9189
|
let t = ue(e.field);
|
|
9159
9190
|
if (!t || t.type !== e.filter.type) return !0;
|
|
9160
9191
|
if (e.filter.type === "value") {
|
|
9161
9192
|
if (t.isAggregate && e.option) {
|
|
9162
|
-
let { selected: n } =
|
|
9193
|
+
let { selected: n } = tu({
|
|
9163
9194
|
option: e.option,
|
|
9164
9195
|
options: t.knownOptions ?? [],
|
|
9165
9196
|
state: t.aggregateSelectionState ?? []
|
|
9166
9197
|
});
|
|
9167
9198
|
return e.filter.checked ? n : !n;
|
|
9168
9199
|
}
|
|
9169
|
-
let n = new Set(t.selectedValues ?? []), r = e.option?.value ?? e.filter.value, i = e.option ?
|
|
9200
|
+
let n = new Set(t.selectedValues ?? []), r = e.option?.value ?? e.filter.value, i = e.option ? xl(e.option) : e.filter.value, a = n.has(r) || i !== null && n.has(i);
|
|
9170
9201
|
return e.filter.checked ? a : !a;
|
|
9171
9202
|
}
|
|
9172
9203
|
return e.filter.type === "range" ? t.rangeValue?.min === e.filter.value.min && t.rangeValue?.max === e.filter.value.max : e.filter.type === "boolean" ? t.booleanValue === e.filter.value : (t.existsValue ?? !1) === e.filter.value;
|
|
@@ -9180,14 +9211,14 @@ function Ld(e, t, n) {
|
|
|
9180
9211
|
a.setFilterSelectedValues(n, r, e.staged);
|
|
9181
9212
|
let o = e.staged ? a.stagedFilterSelectedMetadataMap : a.filterSelectedMetadataMap, s = o.value[t] ?? [], c = new Set(r), l = s.filter((e) => {
|
|
9182
9213
|
if (!e) return !1;
|
|
9183
|
-
let r =
|
|
9214
|
+
let r = Sl(e, t), i = xl(e) ?? e.value;
|
|
9184
9215
|
return r !== n || c.has(i);
|
|
9185
9216
|
});
|
|
9186
9217
|
if (i) {
|
|
9187
|
-
let e =
|
|
9218
|
+
let e = xl(i) ?? i.value, n = Sl(i, t);
|
|
9188
9219
|
l.some((r) => {
|
|
9189
|
-
let i =
|
|
9190
|
-
return
|
|
9220
|
+
let i = xl(r) ?? r.value;
|
|
9221
|
+
return Sl(r, t) === n && i === e;
|
|
9191
9222
|
}) || l.push(i);
|
|
9192
9223
|
}
|
|
9193
9224
|
o.value[t] = l;
|
|
@@ -9197,7 +9228,7 @@ function Ld(e, t, n) {
|
|
|
9197
9228
|
let i = n.flatMap((e) => e.state === "selected" ? [e.id] : []);
|
|
9198
9229
|
r.setFilterSelectedValues(t.key, i, e.staged);
|
|
9199
9230
|
let a = e.staged ? r.stagedFilterSelectedMetadataMap : r.filterSelectedMetadataMap;
|
|
9200
|
-
a.value[t.key] =
|
|
9231
|
+
a.value[t.key] = nu({
|
|
9201
9232
|
options: t.knownOptions ?? [],
|
|
9202
9233
|
state: n
|
|
9203
9234
|
});
|
|
@@ -9226,48 +9257,48 @@ function Ld(e, t, n) {
|
|
|
9226
9257
|
return t === null ? [] : [{
|
|
9227
9258
|
label: e.valueLabels?.[String(t)] ?? (t ? "Yes" : "No"),
|
|
9228
9259
|
type: "boolean",
|
|
9229
|
-
value:
|
|
9260
|
+
value: Ud
|
|
9230
9261
|
}];
|
|
9231
9262
|
}, Ee = (e) => e.existsValue ? [{
|
|
9232
9263
|
label: e.existsLabel ?? `Has ${e.label}`,
|
|
9233
9264
|
type: "exists",
|
|
9234
|
-
value:
|
|
9265
|
+
value: Wd
|
|
9235
9266
|
}] : [], De = (e) => {
|
|
9236
9267
|
let t = e.rangeValue ?? {
|
|
9237
9268
|
max: null,
|
|
9238
9269
|
min: null
|
|
9239
9270
|
};
|
|
9240
9271
|
return t.min === null && t.max === null ? [] : [{
|
|
9241
|
-
label:
|
|
9272
|
+
label: ul(t.min, t.max, {
|
|
9242
9273
|
dataType: e.dataType,
|
|
9243
9274
|
valueDecimals: e.valueDecimals
|
|
9244
9275
|
}),
|
|
9245
9276
|
type: "range",
|
|
9246
|
-
value:
|
|
9277
|
+
value: Hd
|
|
9247
9278
|
}];
|
|
9248
9279
|
}, Oe = (e, t, n) => {
|
|
9249
9280
|
let r = n.get(t) ?? null;
|
|
9250
9281
|
return {
|
|
9251
|
-
field: r ?
|
|
9252
|
-
label: r ?
|
|
9253
|
-
resultCount:
|
|
9282
|
+
field: r ? Sl(r, e.key) : void 0,
|
|
9283
|
+
label: r ? pl(r, e.colDef) : t,
|
|
9284
|
+
resultCount: ml(r),
|
|
9254
9285
|
subText: r?.subText,
|
|
9255
9286
|
subduedText: r?.subduedText,
|
|
9256
9287
|
type: "value",
|
|
9257
|
-
value: r ?
|
|
9288
|
+
value: r ? xl(r) ?? r.value : t
|
|
9258
9289
|
};
|
|
9259
9290
|
}, ke = (e) => (e.filterGroupOptions ?? []).flatMap((e) => e.isActive ? [{
|
|
9260
9291
|
field: e.field,
|
|
9261
9292
|
label: e.label,
|
|
9262
9293
|
type: "boolean",
|
|
9263
|
-
value:
|
|
9264
|
-
}] : []), Ae = (e) =>
|
|
9294
|
+
value: Ud
|
|
9295
|
+
}] : []), Ae = (e) => nu({
|
|
9265
9296
|
options: e.knownOptions ?? [],
|
|
9266
9297
|
state: e.aggregateSelectionState ?? []
|
|
9267
9298
|
}).map((t) => ({
|
|
9268
9299
|
field: e.key,
|
|
9269
|
-
label:
|
|
9270
|
-
resultCount:
|
|
9300
|
+
label: pl(t, e.colDef),
|
|
9301
|
+
resultCount: ml(t),
|
|
9271
9302
|
subText: t.subText,
|
|
9272
9303
|
subduedText: t.subduedText,
|
|
9273
9304
|
type: "value",
|
|
@@ -9278,7 +9309,7 @@ function Ld(e, t, n) {
|
|
|
9278
9309
|
if (e.type === "boolean") return Te(e);
|
|
9279
9310
|
if (e.type === "exists") return Ee(e);
|
|
9280
9311
|
if (e.isAggregate) return [...Ae(e), ...ke(e)];
|
|
9281
|
-
let t = new Map(
|
|
9312
|
+
let t = new Map(Cl(e.knownOptions ?? []).map((e) => [e.value, e]));
|
|
9282
9313
|
return [...(e.selectedValues ?? []).map((n) => Oe(e, n, t)), ...ke(e)];
|
|
9283
9314
|
}, Me = () => {
|
|
9284
9315
|
Ve(), we(null, "clear-all");
|
|
@@ -9290,9 +9321,9 @@ function Ld(e, t, n) {
|
|
|
9290
9321
|
Ve();
|
|
9291
9322
|
let e = p.value;
|
|
9292
9323
|
e && (e.stagedFilterModel.value = e.filterModel.value, e.initStagedFilterSelections()), i.value = t.value, n("cancel");
|
|
9293
|
-
}, Fe = (e) =>
|
|
9324
|
+
}, Fe = (e) => Cd(ue(e)?.dataType), Ie = (e, t, n = "value-toggle") => {
|
|
9294
9325
|
let r = ue(e);
|
|
9295
|
-
r?.isAggregate && (xe(r, t), we(
|
|
9326
|
+
r?.isAggregate && (xe(r, t), we(zl({
|
|
9296
9327
|
baseModel: v.value,
|
|
9297
9328
|
colDef: r.colDef,
|
|
9298
9329
|
options: r.knownOptions ?? [],
|
|
@@ -9307,7 +9338,7 @@ function Ld(e, t, n) {
|
|
|
9307
9338
|
if (t.type === "value") {
|
|
9308
9339
|
let r = ue(e), i = de(e, n, t.value);
|
|
9309
9340
|
if (r?.isAggregate && i) {
|
|
9310
|
-
Ie(e,
|
|
9341
|
+
Ie(e, Ql({
|
|
9311
9342
|
checked: t.checked,
|
|
9312
9343
|
option: i,
|
|
9313
9344
|
options: r.knownOptions ?? [],
|
|
@@ -9323,10 +9354,10 @@ function Ld(e, t, n) {
|
|
|
9323
9354
|
return;
|
|
9324
9355
|
}
|
|
9325
9356
|
if (t.type === "boolean") {
|
|
9326
|
-
we(
|
|
9357
|
+
we(Td(v.value, n, t.value, _.value, t.field ? "text" : "boolean", r), "boolean-change", n, "boolean");
|
|
9327
9358
|
return;
|
|
9328
9359
|
}
|
|
9329
|
-
we(
|
|
9360
|
+
we(Ed(v.value, n, t.value, Fe(n), _.value, r), "exists-change", n, "exists");
|
|
9330
9361
|
}, Re = (e, t, n, r) => {
|
|
9331
9362
|
let i = p.value;
|
|
9332
9363
|
return !i || e.type !== "value" ? !1 : n !== "open" || r ? !0 : i.filterLoadingMap.value[e.key] ? !1 : i.filterStaleMap.value[e.key] || !(i.filterOptionsMap.value[e.key] ?? []).length ? !0 : (i.filterSearchQueries.value[e.key] ?? "") !== t;
|
|
@@ -9346,7 +9377,7 @@ function Ld(e, t, n) {
|
|
|
9346
9377
|
}, Be = (e, t, r) => {
|
|
9347
9378
|
n("load-more", e.key, e.colDef, t, r), ze(e, t, r ? "child-load-more" : "load-more", r);
|
|
9348
9379
|
}, Z = (e, t, n) => {
|
|
9349
|
-
we(
|
|
9380
|
+
we(Dd(v.value, e, t.min, t.max, _.value, n), "range-change", e, "range");
|
|
9350
9381
|
}, Ve = () => {
|
|
9351
9382
|
for (let { timer: e } of l.values()) window.clearTimeout(e);
|
|
9352
9383
|
l.clear();
|
|
@@ -9386,7 +9417,7 @@ function Ld(e, t, n) {
|
|
|
9386
9417
|
n("controlled-change", t, l, s.colDef);
|
|
9387
9418
|
return;
|
|
9388
9419
|
}
|
|
9389
|
-
be(t, r, l, a ? o : void 0), we(
|
|
9420
|
+
be(t, r, l, a ? o : void 0), we(Od(v.value, r, l, _.value, Y(r) ?? s?.colDef), "value-toggle", r, "value");
|
|
9390
9421
|
};
|
|
9391
9422
|
return {
|
|
9392
9423
|
resolvedFilters: fe,
|
|
@@ -9411,8 +9442,8 @@ function Ld(e, t, n) {
|
|
|
9411
9442
|
handleSearchChange: Ue,
|
|
9412
9443
|
handleSuggestionClick: (e) => {
|
|
9413
9444
|
if (e.filter.type === "value" && e.option) {
|
|
9414
|
-
let t = ue(e.field), n =
|
|
9415
|
-
t?.isAggregate ? Ie(e.field,
|
|
9445
|
+
let t = ue(e.field), n = Sl(e.option, e.field), r = xl(e.option) ?? e.filter.value;
|
|
9446
|
+
t?.isAggregate ? Ie(e.field, Ql({
|
|
9416
9447
|
checked: e.filter.checked,
|
|
9417
9448
|
option: e.option,
|
|
9418
9449
|
options: t.knownOptions ?? [],
|
|
@@ -9423,21 +9454,21 @@ function Ld(e, t, n) {
|
|
|
9423
9454
|
},
|
|
9424
9455
|
removeAppliedFilter: (e, t, n) => {
|
|
9425
9456
|
let r = n ?? ue(e)?.type ?? "value";
|
|
9426
|
-
if (r === "range" || !n && t ===
|
|
9427
|
-
we(
|
|
9457
|
+
if (r === "range" || !n && t === Hd) {
|
|
9458
|
+
we(Dd(v.value, e, null, null, _.value, Y(e) ?? ue(e)?.colDef), "remove-filter", e, "range");
|
|
9428
9459
|
return;
|
|
9429
9460
|
}
|
|
9430
|
-
if (r === "boolean" || !n && t ===
|
|
9431
|
-
we(
|
|
9461
|
+
if (r === "boolean" || !n && t === Ud) {
|
|
9462
|
+
we(Td(v.value, e, null, _.value, "boolean", Y(e) ?? ue(e)?.colDef), "remove-filter", e, "boolean");
|
|
9432
9463
|
return;
|
|
9433
9464
|
}
|
|
9434
|
-
if (r === "exists" || !n && t ===
|
|
9435
|
-
we(
|
|
9465
|
+
if (r === "exists" || !n && t === Wd) {
|
|
9466
|
+
we(Ed(v.value, e, !1, "text", _.value, Y(e) ?? ue(e)?.colDef), "remove-filter", e, "exists");
|
|
9436
9467
|
return;
|
|
9437
9468
|
}
|
|
9438
9469
|
let i = ue(e);
|
|
9439
9470
|
if (r === "value" && i?.isAggregate) {
|
|
9440
|
-
let e =
|
|
9471
|
+
let e = Nl(i.knownOptions ?? [], t), n = i.aggregateSelectionState ?? [], r = e ? Ql({
|
|
9441
9472
|
checked: !1,
|
|
9442
9473
|
option: e,
|
|
9443
9474
|
options: i.knownOptions ?? [],
|
|
@@ -9447,7 +9478,7 @@ function Ld(e, t, n) {
|
|
|
9447
9478
|
return;
|
|
9448
9479
|
}
|
|
9449
9480
|
let a = (y.value.get(e)?.values ?? []).filter((e) => e !== t);
|
|
9450
|
-
be(ue(e)?.key ?? e, e, a), we(
|
|
9481
|
+
be(ue(e)?.key ?? e, e, a), we(Od(v.value, e, a, _.value, Y(e) ?? ue(e)?.colDef), "remove-filter", e, "value");
|
|
9451
9482
|
},
|
|
9452
9483
|
setFacetSelections: Ge,
|
|
9453
9484
|
usesHandlerFacets: $
|
|
@@ -9455,32 +9486,32 @@ function Ld(e, t, n) {
|
|
|
9455
9486
|
}
|
|
9456
9487
|
//#endregion
|
|
9457
9488
|
//#region src/components/base/PvFilterPanel/PvFilterPanel.vue?vue&type=script&setup=true&lang.ts
|
|
9458
|
-
var
|
|
9489
|
+
var qd = ["aria-label"], Jd = { class: "pv-filter-panel-header pv-flex pv-border-bottom" }, Yd = { class: "pv-filter-panel-body pv-flex-vertical" }, Xd = {
|
|
9459
9490
|
class: "pv-filter-panel-filters-view pv-flex-vertical",
|
|
9460
9491
|
"data-testid": "pv-filter-panel-filters-view"
|
|
9461
|
-
},
|
|
9492
|
+
}, Zd = {
|
|
9462
9493
|
key: 0,
|
|
9463
9494
|
"aria-label": "Filter suggestions",
|
|
9464
9495
|
class: "pv-filter-panel-suggestions pv-flex-vertical pv-border-bottom",
|
|
9465
9496
|
"data-testid": "pv-filter-panel-suggestions"
|
|
9466
|
-
},
|
|
9497
|
+
}, Qd = { class: "pv-filter-panel-suggestion-tags pv-flex" }, $d = {
|
|
9467
9498
|
key: 1,
|
|
9468
9499
|
class: "pv-filter-panel-search pv-border-bottom",
|
|
9469
9500
|
"data-testid": "pv-filter-panel-search"
|
|
9470
|
-
},
|
|
9501
|
+
}, ef = {
|
|
9471
9502
|
key: 2,
|
|
9472
9503
|
class: "pv-filter-panel-empty pv-text-body-sm pv-text-subdued"
|
|
9473
|
-
},
|
|
9504
|
+
}, tf = {
|
|
9474
9505
|
key: 3,
|
|
9475
9506
|
class: "pv-filter-panel-empty pv-text-body-sm pv-text-subdued"
|
|
9476
|
-
},
|
|
9507
|
+
}, nf = {
|
|
9477
9508
|
key: 4,
|
|
9478
9509
|
class: "pv-filter-panel-filter-list pv-flex-vertical pv-inset-inline",
|
|
9479
9510
|
style: { "--inset-size": "8px" }
|
|
9480
|
-
},
|
|
9511
|
+
}, rf = {
|
|
9481
9512
|
key: 0,
|
|
9482
9513
|
class: "pv-filter-panel-footer pv-flex pv-border-top"
|
|
9483
|
-
},
|
|
9514
|
+
}, af = { class: "pv-filter-panel-actions pv-flex" }, of = { class: "pv-text-body-sm" }, sf = { class: "pv-filter-panel-modal-footer pv-flex" }, cf = /* @__PURE__ */ Q(/* @__PURE__ */ d({
|
|
9484
9515
|
__name: "PvFilterPanel",
|
|
9485
9516
|
props: /* @__PURE__ */ g({
|
|
9486
9517
|
allCategoriesLabel: { default: "All" },
|
|
@@ -9565,7 +9596,7 @@ var Rd = ["aria-label"], zd = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
9565
9596
|
"suggestion-click"
|
|
9566
9597
|
], ["update:filterModel", "update:isCollapsed"]),
|
|
9567
9598
|
setup(e, { emit: n }) {
|
|
9568
|
-
let c = e, l = B(e, "filterModel"), d = B(e, "isCollapsed"), f = n, { resolvedFilters: p, appliedGroups: m, appliedCount: h, showClearAll: g, visibleSuggestions: _, activateFilter: v, applyStagedFilters: y, cancelStagedFilters: b, clearAllFilters: S, getSuggestionKey: C, handleControlChange: w, handleLoadMore: T, handleSearchChange: E, handleSuggestionClick: O, removeAppliedFilter: M } =
|
|
9599
|
+
let c = e, l = B(e, "filterModel"), d = B(e, "isCollapsed"), f = n, { resolvedFilters: p, appliedGroups: m, appliedCount: h, showClearAll: g, visibleSuggestions: _, activateFilter: v, applyStagedFilters: y, cancelStagedFilters: b, clearAllFilters: S, getSuggestionKey: C, handleControlChange: w, handleLoadMore: T, handleSearchChange: E, handleSuggestionClick: O, removeAppliedFilter: M } = Kd(c, l, f), N = k("filters"), P = k({}), F = k(null), R = k(!1), z = k(!1), V = k(""), ee = r(() => c.enableFilterSearch ? V.value.trim().toLowerCase() : ""), H = r(() => ee.value.length > 0), te = (e) => e.label.toLowerCase().includes(ee.value);
|
|
9569
9600
|
G(H, (e) => {
|
|
9570
9601
|
e && (F.value = null);
|
|
9571
9602
|
}), G(F, (e) => {
|
|
@@ -9605,7 +9636,7 @@ var Rd = ["aria-label"], zd = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
9605
9636
|
"aria-label": e.ariaLabel,
|
|
9606
9637
|
style: x(ue.value)
|
|
9607
9638
|
}, [
|
|
9608
|
-
s("div",
|
|
9639
|
+
s("div", Jd, [u(Er, {
|
|
9609
9640
|
modelValue: N.value,
|
|
9610
9641
|
options: le.value,
|
|
9611
9642
|
class: "pv-filter-panel-mode-control",
|
|
@@ -9619,8 +9650,8 @@ var Rd = ["aria-label"], zd = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
9619
9650
|
variant: "secondary",
|
|
9620
9651
|
onClick: r[0] ||= (e) => d.value = !0
|
|
9621
9652
|
}))]),
|
|
9622
|
-
s("div",
|
|
9623
|
-
!e.readOnly && L(_).length ? (D(), o("section",
|
|
9653
|
+
s("div", Yd, [q(s("div", Xd, [
|
|
9654
|
+
!e.readOnly && L(_).length ? (D(), o("section", Zd, [r[7] ||= s("p", { class: "pv-filter-panel-section-title pv-text-title-sm pv-text-subdued" }, "Suggestions", -1), s("div", Qd, [(D(!0), o(t, null, A(L(_), (e) => (D(), i($r, {
|
|
9624
9655
|
key: L(C)(e),
|
|
9625
9656
|
icon: e.icon,
|
|
9626
9657
|
"icon-classes": e.iconClasses,
|
|
@@ -9633,7 +9664,7 @@ var Rd = ["aria-label"], zd = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
9633
9664
|
"onHandleClick"
|
|
9634
9665
|
]))), 128))])])) : a("", !0),
|
|
9635
9666
|
j(n.$slots, "suggestions", {}, void 0, !0),
|
|
9636
|
-
u(
|
|
9667
|
+
u(zu, {
|
|
9637
9668
|
modelValue: F.value,
|
|
9638
9669
|
"onUpdate:modelValue": r[1] ||= (e) => F.value = e,
|
|
9639
9670
|
"all-categories-label": e.allCategoriesLabel,
|
|
@@ -9645,12 +9676,12 @@ var Rd = ["aria-label"], zd = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
9645
9676
|
"category-order",
|
|
9646
9677
|
"filters"
|
|
9647
9678
|
]),
|
|
9648
|
-
e.enableFilterSearch && L(p).length ? (D(), o("div",
|
|
9679
|
+
e.enableFilterSearch && L(p).length ? (D(), o("div", $d, [u(oi, {
|
|
9649
9680
|
modelValue: V.value,
|
|
9650
9681
|
"onUpdate:modelValue": r[2] ||= (e) => V.value = e,
|
|
9651
9682
|
placeholder: e.filterSearchPlaceholder
|
|
9652
9683
|
}, null, 8, ["modelValue", "placeholder"])])) : a("", !0),
|
|
9653
|
-
L(p).length ? W.value.length ? (D(), o("div",
|
|
9684
|
+
L(p).length ? W.value.length ? (D(), o("div", nf, [(D(!0), o(t, null, A(X.value, (e) => (D(), i(Eu, {
|
|
9654
9685
|
key: e.key,
|
|
9655
9686
|
filter: e,
|
|
9656
9687
|
onFilterChange: (t) => L(w)(e.key, t),
|
|
@@ -9671,8 +9702,8 @@ var Rd = ["aria-label"], zd = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
9671
9702
|
label: oe.value,
|
|
9672
9703
|
variant: "ghost",
|
|
9673
9704
|
onClick: r[5] ||= (e) => R.value = !R.value
|
|
9674
|
-
}, null, 8, ["label"])) : a("", !0)])) : (D(), o("div",
|
|
9675
|
-
], 512), [[ne, N.value === "filters"]]), q(u(
|
|
9705
|
+
}, null, 8, ["label"])) : a("", !0)])) : (D(), o("div", tf, I(Y.value), 1)) : (D(), o("div", ef, " No filters available. "))
|
|
9706
|
+
], 512), [[ne, N.value === "filters"]]), q(u(Mu, {
|
|
9676
9707
|
"applied-count": L(h),
|
|
9677
9708
|
"applied-groups": L(m),
|
|
9678
9709
|
"read-only": e.readOnly,
|
|
@@ -9683,7 +9714,7 @@ var Rd = ["aria-label"], zd = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
9683
9714
|
"read-only",
|
|
9684
9715
|
"onRemoveFilter"
|
|
9685
9716
|
]), [[ne, N.value === "applied"]])]),
|
|
9686
|
-
ce.value ? (D(), o("div",
|
|
9717
|
+
ce.value ? (D(), o("div", rf, [s("div", af, [L(g) && !e.readOnly ? (D(), i($, {
|
|
9687
9718
|
key: 0,
|
|
9688
9719
|
class: "pv-text-brand",
|
|
9689
9720
|
label: e.clearAllLabel,
|
|
@@ -9698,14 +9729,14 @@ var Rd = ["aria-label"], zd = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
9698
9729
|
variant: "primary",
|
|
9699
9730
|
onClick: L(y)
|
|
9700
9731
|
}, null, 8, ["label", "onClick"])], 64)) : a("", !0)])])) : a("", !0)
|
|
9701
|
-
], 12,
|
|
9732
|
+
], 12, qd)), u(zr, {
|
|
9702
9733
|
modelValue: z.value,
|
|
9703
9734
|
"onUpdate:modelValue": r[6] ||= (e) => z.value = e,
|
|
9704
9735
|
header: e.clearAllHeader,
|
|
9705
9736
|
style: { "--max-width": "440px" }
|
|
9706
9737
|
}, {
|
|
9707
|
-
body: K(() => [s("p",
|
|
9708
|
-
footer: K(() => [s("div",
|
|
9738
|
+
body: K(() => [s("p", of, I(e.clearAllBody), 1)]),
|
|
9739
|
+
footer: K(() => [s("div", sf, [u($, {
|
|
9709
9740
|
label: e.cancelLabel,
|
|
9710
9741
|
variant: "ghost",
|
|
9711
9742
|
onClick: pe
|
|
@@ -9717,16 +9748,16 @@ var Rd = ["aria-label"], zd = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
9717
9748
|
_: 1
|
|
9718
9749
|
}, 8, ["modelValue", "header"])], 64));
|
|
9719
9750
|
}
|
|
9720
|
-
}), [["__scopeId", "data-v-fdb1eca4"]]),
|
|
9751
|
+
}), [["__scopeId", "data-v-fdb1eca4"]]), lf = ["for"], uf = [
|
|
9721
9752
|
"id",
|
|
9722
9753
|
"type",
|
|
9723
9754
|
"value",
|
|
9724
9755
|
"name",
|
|
9725
9756
|
"disabled"
|
|
9726
|
-
],
|
|
9757
|
+
], df = { key: 0 }, ff = {
|
|
9727
9758
|
class: "pv-inset-square",
|
|
9728
9759
|
style: { "--inset-size": "0px 2px" }
|
|
9729
|
-
},
|
|
9760
|
+
}, pf = /* @__PURE__ */ d({
|
|
9730
9761
|
__name: "PvFilterModalSelectItem",
|
|
9731
9762
|
props: /* @__PURE__ */ g({
|
|
9732
9763
|
rounded: { type: Boolean },
|
|
@@ -9759,55 +9790,55 @@ var Rd = ["aria-label"], zd = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
9759
9790
|
value: e.value,
|
|
9760
9791
|
name: e.name,
|
|
9761
9792
|
disabled: e.disabled
|
|
9762
|
-
}, null, 8,
|
|
9763
|
-
e.label ? (D(), o("span",
|
|
9764
|
-
s("span",
|
|
9765
|
-
], 8,
|
|
9793
|
+
}, null, 8, uf), [[te, n.value]]),
|
|
9794
|
+
e.label ? (D(), o("span", df, I(e.label), 1)) : a("", !0),
|
|
9795
|
+
s("span", ff, I(e.rightCounterBadge), 1)
|
|
9796
|
+
], 8, lf));
|
|
9766
9797
|
}
|
|
9767
|
-
}),
|
|
9798
|
+
}), mf = ["aria-label"], hf = {
|
|
9768
9799
|
class: "pv-filter-modal pv-flex",
|
|
9769
9800
|
style: {
|
|
9770
9801
|
"--flex-align": "stretch",
|
|
9771
9802
|
"--flex-gap": "0"
|
|
9772
9803
|
}
|
|
9773
|
-
},
|
|
9804
|
+
}, gf = {
|
|
9774
9805
|
class: "pv-filter-modal-rail pv-flex-vertical pv-border-right",
|
|
9775
9806
|
"aria-label": "Filter categories",
|
|
9776
9807
|
style: { "--flex-gap": "0.25rem" }
|
|
9777
|
-
},
|
|
9808
|
+
}, _f = {
|
|
9778
9809
|
class: "pv-filter-modal-pane pv-flex-vertical",
|
|
9779
9810
|
style: {
|
|
9780
9811
|
"--flex-align": "stretch",
|
|
9781
9812
|
"--flex-gap": "0.75rem"
|
|
9782
9813
|
}
|
|
9783
|
-
},
|
|
9814
|
+
}, vf = {
|
|
9784
9815
|
key: 0,
|
|
9785
9816
|
class: "pv-flex",
|
|
9786
9817
|
style: {
|
|
9787
9818
|
"--flex-gap": "0.5rem",
|
|
9788
9819
|
"flex-wrap": "wrap"
|
|
9789
9820
|
}
|
|
9790
|
-
},
|
|
9821
|
+
}, yf = {
|
|
9791
9822
|
key: 1,
|
|
9792
9823
|
class: "pv-inset-square-8"
|
|
9793
|
-
},
|
|
9824
|
+
}, bf = {
|
|
9794
9825
|
class: "pv-filter-modal-options pv-flex-vertical",
|
|
9795
9826
|
style: {
|
|
9796
9827
|
"--flex-align": "stretch",
|
|
9797
9828
|
"--flex-gap": "0.75rem"
|
|
9798
9829
|
}
|
|
9799
|
-
},
|
|
9830
|
+
}, xf = {
|
|
9800
9831
|
key: 1,
|
|
9801
9832
|
class: "pv-text-body-sm pv-text-subdued pv-stack-8",
|
|
9802
9833
|
style: { "font-weight": "500" }
|
|
9803
|
-
},
|
|
9834
|
+
}, Sf = {
|
|
9804
9835
|
key: 0,
|
|
9805
9836
|
class: "pv-text-body-xs pv-text-subdued",
|
|
9806
9837
|
style: { margin: "0" }
|
|
9807
|
-
},
|
|
9838
|
+
}, Cf = {
|
|
9808
9839
|
key: 3,
|
|
9809
9840
|
class: "pv-filter-modal-pane-actions pv-space-between pv-border-top"
|
|
9810
|
-
},
|
|
9841
|
+
}, wf = {
|
|
9811
9842
|
key: 0,
|
|
9812
9843
|
class: "pv-flex pv-border-top",
|
|
9813
9844
|
style: {
|
|
@@ -9816,7 +9847,7 @@ var Rd = ["aria-label"], zd = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
9816
9847
|
"margin-top": "0.75rem",
|
|
9817
9848
|
"padding-top": "0.75rem"
|
|
9818
9849
|
}
|
|
9819
|
-
},
|
|
9850
|
+
}, Tf = /* @__PURE__ */ Q(/* @__PURE__ */ d({
|
|
9820
9851
|
__name: "PvFilterModal",
|
|
9821
9852
|
props: /* @__PURE__ */ g({
|
|
9822
9853
|
header: { default: "Filters" },
|
|
@@ -9899,7 +9930,7 @@ var Rd = ["aria-label"], zd = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
9899
9930
|
"suggestion-click"
|
|
9900
9931
|
], ["update:filterModel", "update:visible"]),
|
|
9901
9932
|
setup(e, { emit: n }) {
|
|
9902
|
-
let c = e, l = B(e, "filterModel"), d = B(e, "visible"), f = n, { resolvedFilters: p, activateFilter: m, applyStagedFilters: h, cancelStagedFilters: g, handleControlChange: _, handleFacetChange: v, setFacetSelections: b, usesHandlerFacets: C } =
|
|
9933
|
+
let c = e, l = B(e, "filterModel"), d = B(e, "visible"), f = n, { resolvedFilters: p, activateFilter: m, applyStagedFilters: h, cancelStagedFilters: g, handleControlChange: _, handleFacetChange: v, setFacetSelections: b, usesHandlerFacets: C } = Kd(c, l, f), w = k(null), T = z(), E = k(""), O = r(() => p.value.filter((e) => e.type === "value")), M = r(() => {
|
|
9903
9934
|
let e = O.value;
|
|
9904
9935
|
return e.find((e) => e.key === w.value) ?? e[0] ?? null;
|
|
9905
9936
|
}), P = r(() => M.value?.isAggregate === !0), F = r(() => M.value?.aggregateSelectionState ?? []), R = r(() => new Set(M.value?.selectedValues ?? [])), V = r(() => E.value.trim().toLowerCase()), ee = (e) => {
|
|
@@ -9916,7 +9947,7 @@ var Rd = ["aria-label"], zd = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
9916
9947
|
let e = M.value;
|
|
9917
9948
|
if (!e) return {};
|
|
9918
9949
|
let t = {};
|
|
9919
|
-
for (let n of
|
|
9950
|
+
for (let n of Cl([...e.knownOptions ?? [], ...e.options ?? []])) t[n.value] = n;
|
|
9920
9951
|
return t;
|
|
9921
9952
|
}), te = r(() => M.value?.colDef.context?.filterPanel ?? {}), U = k(Object.fromEntries(O.value.flatMap((e) => {
|
|
9922
9953
|
let t = e.colDef.context?.filterPanel, n = Object.fromEntries(Object.entries(t ?? {}).flatMap(([e, t]) => t.initial?.length ? [[e, t.initial]] : []));
|
|
@@ -9982,22 +10013,22 @@ var Rd = ["aria-label"], zd = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
9982
10013
|
options: [...i.filter((e) => ce.value.has(e.value)), ...i.filter((e) => !ce.value.has(e.value))]
|
|
9983
10014
|
};
|
|
9984
10015
|
});
|
|
9985
|
-
}), fe = r(() => P.value && M.value ?
|
|
10016
|
+
}), fe = r(() => P.value && M.value ? eu({
|
|
9986
10017
|
options: M.value.knownOptions ?? [],
|
|
9987
10018
|
state: F.value
|
|
9988
|
-
}) : /* @__PURE__ */ new Map()), pe = (e) => e.isAggregate ?
|
|
10019
|
+
}) : /* @__PURE__ */ new Map()), pe = (e) => e.isAggregate ? ru(e.aggregateSelectionState ?? []) || void 0 : e.selectedValues?.length || void 0, me = (e) => P.value ? fe.value.get(e.value) ?? {
|
|
9989
10020
|
indeterminate: !1,
|
|
9990
10021
|
selected: !1
|
|
9991
10022
|
} : {
|
|
9992
10023
|
indeterminate: !1,
|
|
9993
10024
|
selected: R.value.has(e.value)
|
|
9994
|
-
}, he = (e) => M.value ?
|
|
10025
|
+
}, he = (e) => M.value ? pl(e, M.value.colDef) : e.label || e.value, ge = (e) => xl(e) ?? e.value, _e = (e) => Sl(e, M.value?.key ?? ""), ve = (e, t) => {
|
|
9995
10026
|
let n = M.value;
|
|
9996
10027
|
if (n) {
|
|
9997
10028
|
if (n.isAggregate) {
|
|
9998
10029
|
_(n.key, {
|
|
9999
10030
|
type: "aggregate-selection",
|
|
10000
|
-
value:
|
|
10031
|
+
value: Ql({
|
|
10001
10032
|
checked: t,
|
|
10002
10033
|
option: e,
|
|
10003
10034
|
options: n.knownOptions ?? [],
|
|
@@ -10017,7 +10048,7 @@ var Rd = ["aria-label"], zd = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
10017
10048
|
for (let e of Y.value) me(e).selected || ve(e, !0);
|
|
10018
10049
|
}, be = () => {
|
|
10019
10050
|
if (P.value) {
|
|
10020
|
-
for (let e of
|
|
10051
|
+
for (let e of Cl(M.value?.knownOptions ?? [])) me(e).selected && ve(e, !1);
|
|
10021
10052
|
return;
|
|
10022
10053
|
}
|
|
10023
10054
|
for (let e of oe.value) ve(e, !1);
|
|
@@ -10064,7 +10095,7 @@ var Rd = ["aria-label"], zd = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
10064
10095
|
width: e.maxWidth,
|
|
10065
10096
|
maxWidth: e.maxWidth
|
|
10066
10097
|
})
|
|
10067
|
-
}, [s("div",
|
|
10098
|
+
}, [s("div", hf, [s("nav", gf, [(D(!0), o(t, null, A(O.value, (e) => (D(), i(pf, {
|
|
10068
10099
|
key: e.key,
|
|
10069
10100
|
modelValue: Se.value,
|
|
10070
10101
|
"onUpdate:modelValue": r[0] ||= (e) => Se.value = e,
|
|
@@ -10078,7 +10109,7 @@ var Rd = ["aria-label"], zd = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
10078
10109
|
"label",
|
|
10079
10110
|
"right-counter-badge",
|
|
10080
10111
|
"value"
|
|
10081
|
-
]))), 128))]), s("div",
|
|
10112
|
+
]))), 128))]), s("div", _f, [
|
|
10082
10113
|
u(oi, {
|
|
10083
10114
|
modelValue: E.value,
|
|
10084
10115
|
"onUpdate:modelValue": r[1] ||= (e) => E.value = e,
|
|
@@ -10090,7 +10121,7 @@ var Rd = ["aria-label"], zd = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
10090
10121
|
"disabled",
|
|
10091
10122
|
"placeholder"
|
|
10092
10123
|
]),
|
|
10093
|
-
Object.keys(te.value).length ? (D(), o("div",
|
|
10124
|
+
Object.keys(te.value).length ? (D(), o("div", vf, [(D(!0), o(t, null, A(te.value, (e, t) => (D(), i(Do, {
|
|
10094
10125
|
key: `facet-${t}`,
|
|
10095
10126
|
disabled: M.value?.disabled,
|
|
10096
10127
|
label: e.headerName || L(Ce)(t),
|
|
@@ -10105,8 +10136,8 @@ var Rd = ["aria-label"], zd = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
10105
10136
|
"options",
|
|
10106
10137
|
"onUpdate:modelValue"
|
|
10107
10138
|
]))), 128))])) : a("", !0),
|
|
10108
|
-
M.value?.isLoading ? (D(), o("div",
|
|
10109
|
-
s("div",
|
|
10139
|
+
M.value?.isLoading ? (D(), o("div", yf, [u(Ne, { size: "sm" })])) : M.value ? (D(), o(t, { key: 2 }, [
|
|
10140
|
+
s("div", bf, [(D(!0), o(t, null, A(ue.value, (e) => (D(), o("div", {
|
|
10110
10141
|
key: `section-${e.key}`,
|
|
10111
10142
|
class: "pv-flex-vertical",
|
|
10112
10143
|
style: {
|
|
@@ -10127,17 +10158,17 @@ var Rd = ["aria-label"], zd = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
10127
10158
|
"field",
|
|
10128
10159
|
"options",
|
|
10129
10160
|
"section"
|
|
10130
|
-
])) : e.label ? (D(), o("p",
|
|
10161
|
+
])) : e.label ? (D(), o("p", xf, I(e.label), 1)) : a("", !0), (D(!0), o(t, null, A(e.options, (e) => (D(), o("div", {
|
|
10131
10162
|
key: `option-${e.value}`,
|
|
10132
10163
|
class: y(["pv-inset-square-8 pv-radius", { "pv-surface-highlight": me(e).selected }])
|
|
10133
|
-
}, [u(
|
|
10164
|
+
}, [u(rl, {
|
|
10134
10165
|
control: M.value.singleSelect ? "radio" : "checkbox",
|
|
10135
10166
|
disabled: M.value.disabled || e.isSelectable === !1,
|
|
10136
10167
|
indeterminate: me(e).indeterminate,
|
|
10137
10168
|
label: he(e),
|
|
10138
10169
|
name: L(T),
|
|
10139
10170
|
"query-text": E.value,
|
|
10140
|
-
"result-count": L(
|
|
10171
|
+
"result-count": L(ml)(e),
|
|
10141
10172
|
selected: me(e).selected,
|
|
10142
10173
|
"sub-text": e.subText,
|
|
10143
10174
|
"subdued-text": e.subduedText,
|
|
@@ -10157,7 +10188,7 @@ var Rd = ["aria-label"], zd = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
10157
10188
|
"value",
|
|
10158
10189
|
"onToggleValue"
|
|
10159
10190
|
])], 2))), 128))]))), 128))]),
|
|
10160
|
-
Y.value.length ? a("", !0) : (D(), o("p",
|
|
10191
|
+
Y.value.length ? a("", !0) : (D(), o("p", Sf, " No matching values. ")),
|
|
10161
10192
|
M.value.hasMore ? (D(), i($, {
|
|
10162
10193
|
key: 1,
|
|
10163
10194
|
class: "pv-text-brand",
|
|
@@ -10168,7 +10199,7 @@ var Rd = ["aria-label"], zd = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
10168
10199
|
onClick: xe
|
|
10169
10200
|
}, null, 8, ["disabled"])) : a("", !0)
|
|
10170
10201
|
], 64)) : a("", !0),
|
|
10171
|
-
M.value && !e.readOnly ? (D(), o("div",
|
|
10202
|
+
M.value && !e.readOnly ? (D(), o("div", Cf, [M.value.singleSelect ? a("", !0) : (D(), i($, {
|
|
10172
10203
|
key: 0,
|
|
10173
10204
|
disabled: M.value.disabled,
|
|
10174
10205
|
label: e.selectAllLabel,
|
|
@@ -10180,7 +10211,7 @@ var Rd = ["aria-label"], zd = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
10180
10211
|
variant: "ghost",
|
|
10181
10212
|
onClick: be
|
|
10182
10213
|
}, null, 8, ["disabled", "label"])])) : a("", !0)
|
|
10183
|
-
])]), e.staged ? (D(), o("div",
|
|
10214
|
+
])]), e.staged ? (D(), o("div", wf, [u($, {
|
|
10184
10215
|
label: e.cancelLabel,
|
|
10185
10216
|
variant: "ghost",
|
|
10186
10217
|
onClick: L(g)
|
|
@@ -10188,14 +10219,14 @@ var Rd = ["aria-label"], zd = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
10188
10219
|
label: e.applyLabel,
|
|
10189
10220
|
variant: "primary",
|
|
10190
10221
|
onClick: L(h)
|
|
10191
|
-
}, null, 8, ["label", "onClick"])])) : a("", !0)], 12,
|
|
10222
|
+
}, null, 8, ["label", "onClick"])])) : a("", !0)], 12, mf)]),
|
|
10192
10223
|
_: 3
|
|
10193
10224
|
}, 8, ["modelValue"]));
|
|
10194
10225
|
}
|
|
10195
|
-
}), [["__scopeId", "data-v-e3f66d03"]]),
|
|
10226
|
+
}), [["__scopeId", "data-v-e3f66d03"]]), Ef = ["tabindex"], Df = {
|
|
10196
10227
|
key: 0,
|
|
10197
10228
|
class: "pv-hover-action-menu__actions"
|
|
10198
|
-
},
|
|
10229
|
+
}, Of = { class: "pv-hover-action-menu__action-group" }, kf = /* @__PURE__ */ Q(/* @__PURE__ */ d({
|
|
10199
10230
|
__name: "PvHoverActionMenu",
|
|
10200
10231
|
props: {
|
|
10201
10232
|
disabled: {
|
|
@@ -10218,12 +10249,12 @@ var Rd = ["aria-label"], zd = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
10218
10249
|
class: y(["pv-hover-action-menu", d.value]),
|
|
10219
10250
|
tabindex: e.options.length ? 0 : void 0,
|
|
10220
10251
|
"data-testid": "pv-hover-action-menu"
|
|
10221
|
-
}, [j(n.$slots, "default", {}, void 0, !0), e.options.length ? (D(), o("div",
|
|
10252
|
+
}, [j(n.$slots, "default", {}, void 0, !0), e.options.length ? (D(), o("div", Df, [u(Zs, {
|
|
10222
10253
|
variant: e.variant,
|
|
10223
10254
|
"data-testid": "pv-hover-action-menu-actions",
|
|
10224
10255
|
onClick: r[0] ||= J(() => {}, ["stop"])
|
|
10225
10256
|
}, {
|
|
10226
|
-
default: K(() => [s("div",
|
|
10257
|
+
default: K(() => [s("div", Of, [(D(!0), o(t, null, A(e.options, (t) => (D(), i(tr, {
|
|
10227
10258
|
key: t.id,
|
|
10228
10259
|
variant: "dark",
|
|
10229
10260
|
position: "top-center",
|
|
@@ -10251,9 +10282,9 @@ var Rd = ["aria-label"], zd = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
10251
10282
|
_: 2
|
|
10252
10283
|
}, 1032, ["description"]))), 128))])]),
|
|
10253
10284
|
_: 1
|
|
10254
|
-
}, 8, ["variant"])])) : a("", !0)], 10,
|
|
10285
|
+
}, 8, ["variant"])])) : a("", !0)], 10, Ef));
|
|
10255
10286
|
}
|
|
10256
|
-
}), [["__scopeId", "data-v-6325cd25"]]),
|
|
10287
|
+
}), [["__scopeId", "data-v-6325cd25"]]), Af = () => {
|
|
10257
10288
|
let e = (e, n) => {
|
|
10258
10289
|
let i = e || { queryTerms: [] }, a = n.queryTerm || {};
|
|
10259
10290
|
return t(n) && !r(e, n) && i.queryTerms.push(a), i;
|
|
@@ -10266,13 +10297,13 @@ var Rd = ["aria-label"], zd = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
10266
10297
|
queryTerms: e.queryTerms.filter((e) => !n(e, t.queryTerm || {}))
|
|
10267
10298
|
} : null
|
|
10268
10299
|
};
|
|
10269
|
-
},
|
|
10300
|
+
}, jf = { class: "pv-flex" }, Mf = { class: "pv-text-body-md" }, Nf = ["textContent"], Pf = {
|
|
10270
10301
|
key: 0,
|
|
10271
10302
|
class: "pv-text-body-xs"
|
|
10272
|
-
},
|
|
10303
|
+
}, Ff = { key: 0 }, If = {
|
|
10273
10304
|
class: "pv-text-subdued pv-text-body-xs",
|
|
10274
10305
|
style: { "font-weight": "500" }
|
|
10275
|
-
},
|
|
10306
|
+
}, Lf = /* @__PURE__ */ Q(/* @__PURE__ */ d({
|
|
10276
10307
|
__name: "QueryBuilderMenuOptionRenderer",
|
|
10277
10308
|
props: {
|
|
10278
10309
|
id: {},
|
|
@@ -10322,13 +10353,13 @@ var Rd = ["aria-label"], zd = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
10322
10353
|
bold: !1
|
|
10323
10354
|
}), n;
|
|
10324
10355
|
});
|
|
10325
|
-
return (e, n) => (D(), o("div", null, [s("div",
|
|
10356
|
+
return (e, n) => (D(), o("div", null, [s("div", jf, [u(Z, { name: p.value }, null, 8, ["name"]), s("div", null, [s("p", Mf, [(D(!0), o(t, null, A(m.value, (e, t) => (D(), o("span", {
|
|
10326
10357
|
key: t,
|
|
10327
10358
|
style: x({ fontWeight: e.bold ? "bold" : void 0 }),
|
|
10328
10359
|
textContent: I(e.text)
|
|
10329
|
-
}, null, 12,
|
|
10360
|
+
}, null, 12, Nf))), 128))]), f.value ? (D(), o("p", Pf, [c.value ? a("", !0) : (D(), o("span", Ff, "Search in ")), s("span", If, I(f.value), 1)])) : a("", !0)])])]));
|
|
10330
10361
|
}
|
|
10331
|
-
}), [["__scopeId", "data-v-ff951d17"]]),
|
|
10362
|
+
}), [["__scopeId", "data-v-ff951d17"]]), Rf = /* @__PURE__ */ d({
|
|
10332
10363
|
__name: "QueryFormatter",
|
|
10333
10364
|
props: /* @__PURE__ */ g({ queryTermDisplayLimit: { default: 3 } }, {
|
|
10334
10365
|
modelValue: { required: !0 },
|
|
@@ -10342,7 +10373,7 @@ var Rd = ["aria-label"], zd = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
10342
10373
|
}),
|
|
10343
10374
|
emits: ["update:modelValue", "update:wrap-content"],
|
|
10344
10375
|
setup(e) {
|
|
10345
|
-
let n = e, s = B(e, "modelValue"), c = B(e, "wrap-content"), { removeQueryOption: l } =
|
|
10376
|
+
let n = e, s = B(e, "modelValue"), c = B(e, "wrap-content"), { removeQueryOption: l } = Af(), u = r(() => {
|
|
10346
10377
|
let e = s.value?.queryTerms || [];
|
|
10347
10378
|
return c.value ? e : e.slice(0, n.queryTermDisplayLimit);
|
|
10348
10379
|
}), d = r(() => (s.value?.queryTerms.length || 0) - u.value.length), f = (e) => e.queryField && !e.exactMatch ? `${e.queryDisplayField || e.queryField}: '${e.queryText}'` : e.queryText || "", p = (e) => e.exactMatch ? "primary" : "tertiary", m = (e) => {
|
|
@@ -10374,17 +10405,17 @@ var Rd = ["aria-label"], zd = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
10374
10405
|
onHandleClick: n[0] ||= (e) => c.value = !0
|
|
10375
10406
|
}, null, 8, ["label"])) : a("", !0)], 64));
|
|
10376
10407
|
}
|
|
10377
|
-
}),
|
|
10408
|
+
}), zf = [
|
|
10378
10409
|
"disabled",
|
|
10379
10410
|
"placeholder",
|
|
10380
10411
|
"data-invalid"
|
|
10381
|
-
],
|
|
10412
|
+
], Bf = {
|
|
10382
10413
|
key: 2,
|
|
10383
10414
|
class: "pv-text-red pv-text-body-xs"
|
|
10384
|
-
},
|
|
10415
|
+
}, Vf = {
|
|
10385
10416
|
key: 1,
|
|
10386
10417
|
class: "pv-text-center"
|
|
10387
|
-
},
|
|
10418
|
+
}, Hf = /* @__PURE__ */ Q(/* @__PURE__ */ d({
|
|
10388
10419
|
__name: "PvQueryBuilderInput",
|
|
10389
10420
|
props: /* @__PURE__ */ g({
|
|
10390
10421
|
placeholder: { default: "Search" },
|
|
@@ -10433,7 +10464,7 @@ var Rd = ["aria-label"], zd = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
10433
10464
|
"update:options"
|
|
10434
10465
|
],
|
|
10435
10466
|
setup(e) {
|
|
10436
|
-
let n = e, c = { renderer:
|
|
10467
|
+
let n = e, c = { renderer: Lf }, l = ee("search-input"), d = B(e, "searchText"), f = B(e, "query"), p = B(e, "options"), { addQueryOption: m, containsQueryOption: h, removeQueryOption: g } = Af(), v = k(!1), b = k(!1), S = k(!1), C = r(() => f.value === null ? n.placeholder : ""), w = k(null), T = r(() => w.value !== null && w.value !== "" && !b.value), E = () => {
|
|
10437
10468
|
f.value = null, d.value = "", w.value = null, S.value = !1;
|
|
10438
10469
|
};
|
|
10439
10470
|
n.enableCustomOptionsInput && Y("Enter", () => {
|
|
@@ -10517,7 +10548,7 @@ var Rd = ["aria-label"], zd = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
10517
10548
|
"--inset-size": "4px",
|
|
10518
10549
|
"--flex-gap": "4px"
|
|
10519
10550
|
}, e.enableWrapQueryTerms || S.value ? "flex-wrap: wrap;" : "flex-wrap: nowrap; justify-content: flex-end;"])
|
|
10520
|
-
}, [u(
|
|
10551
|
+
}, [u(Rf, {
|
|
10521
10552
|
modelValue: f.value,
|
|
10522
10553
|
"onUpdate:modelValue": r[0] ||= (e) => f.value = e,
|
|
10523
10554
|
"wrap-content": S.value,
|
|
@@ -10538,7 +10569,7 @@ var Rd = ["aria-label"], zd = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
10538
10569
|
style: x(d.value ? "min-width: 8rem;" : void 0),
|
|
10539
10570
|
onFocus: F,
|
|
10540
10571
|
onBlur: F
|
|
10541
|
-
}, null, 44,
|
|
10572
|
+
}, null, 44, zf), [[W, d.value]])], 4),
|
|
10542
10573
|
f.value && !e.hideClearButton ? (D(), i($, {
|
|
10543
10574
|
key: 1,
|
|
10544
10575
|
variant: "ghost",
|
|
@@ -10546,7 +10577,7 @@ var Rd = ["aria-label"], zd = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
10546
10577
|
size: "md",
|
|
10547
10578
|
onClick: E
|
|
10548
10579
|
})) : a("", !0),
|
|
10549
|
-
T.value ? (D(), o("p",
|
|
10580
|
+
T.value ? (D(), o("p", Bf, I(w.value), 1)) : a("", !0),
|
|
10550
10581
|
j.value.length > 0 || e.optionsLoading ? (D(), i(br, {
|
|
10551
10582
|
key: 3,
|
|
10552
10583
|
class: y({ "pv-hide": !v.value }),
|
|
@@ -10556,7 +10587,7 @@ var Rd = ["aria-label"], zd = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
10556
10587
|
},
|
|
10557
10588
|
isList: !0
|
|
10558
10589
|
}, {
|
|
10559
|
-
default: K(() => [e.optionsLoading ? (D(), o("div",
|
|
10590
|
+
default: K(() => [e.optionsLoading ? (D(), o("div", Vf, [u(Ne, { variant: "dark" })])) : (D(!0), o(t, { key: 0 }, A(j.value, (e, t) => (D(), i(uo, _({
|
|
10560
10591
|
key: `${t}-${e.searchText}`,
|
|
10561
10592
|
ref_for: !0
|
|
10562
10593
|
}, e, {
|
|
@@ -10567,7 +10598,7 @@ var Rd = ["aria-label"], zd = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
10567
10598
|
}, 8, ["class"])) : a("", !0)
|
|
10568
10599
|
], 34)), [[L(pe), M]]);
|
|
10569
10600
|
}
|
|
10570
|
-
}), [["__scopeId", "data-v-97679942"]]),
|
|
10601
|
+
}), [["__scopeId", "data-v-97679942"]]), Uf = { class: "sidebar-header-content" }, Wf = { class: "content-panel" }, Gf = 300, Kf = /* @__PURE__ */ d({
|
|
10571
10602
|
__name: "PvSidebar",
|
|
10572
10603
|
props: /* @__PURE__ */ g({
|
|
10573
10604
|
disableToggle: { type: Boolean },
|
|
@@ -10594,7 +10625,7 @@ var Rd = ["aria-label"], zd = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
10594
10625
|
}, h = () => {
|
|
10595
10626
|
n.newVersion || r.value && (u && clearTimeout(u), u = setTimeout(() => {
|
|
10596
10627
|
l.value = !0;
|
|
10597
|
-
},
|
|
10628
|
+
}, Gf));
|
|
10598
10629
|
}, g = () => {
|
|
10599
10630
|
n.newVersion || (u &&= (clearTimeout(u), null), m(), l.value = !1);
|
|
10600
10631
|
}, _ = () => {
|
|
@@ -10613,118 +10644,118 @@ var Rd = ["aria-label"], zd = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
10613
10644
|
onMouseenter: h,
|
|
10614
10645
|
onMouseleave: g,
|
|
10615
10646
|
onFocusin: h
|
|
10616
|
-
}, [s("div", { class: y(["sidebar-header", [{ "pv-border-bottom": r.value }]]) }, [s("div",
|
|
10647
|
+
}, [s("div", { class: y(["sidebar-header", [{ "pv-border-bottom": r.value }]]) }, [s("div", Uf, [j(t.$slots, "sidebar-header")]), e.disableToggle ? a("", !0) : (D(), i($, {
|
|
10617
10648
|
key: 0,
|
|
10618
10649
|
class: "sidebar-toggle",
|
|
10619
10650
|
"left-icon": r.value ? "panel-left-open" : "panel-left-close",
|
|
10620
10651
|
"aria-label": r.value ? "Open sidebar" : "Close sidebar",
|
|
10621
10652
|
variant: "ghost",
|
|
10622
10653
|
onClick: _
|
|
10623
|
-
}, null, 8, ["left-icon", "aria-label"]))], 2), j(t.$slots, "sidebar")], 32), s("div",
|
|
10654
|
+
}, null, 8, ["left-icon", "aria-label"]))], 2), j(t.$slots, "sidebar")], 32), s("div", Wf, [j(t.$slots, "default")])], 2));
|
|
10624
10655
|
}
|
|
10625
|
-
}),
|
|
10656
|
+
}), qf = {
|
|
10626
10657
|
key: 0,
|
|
10627
10658
|
class: "sidebar-additional-header"
|
|
10628
|
-
},
|
|
10659
|
+
}, Jf = { class: "sidebar-header-content pv-full-width" }, Yf = {
|
|
10629
10660
|
key: 0,
|
|
10630
10661
|
class: "pv-sidebar-nav-header"
|
|
10631
|
-
},
|
|
10662
|
+
}, Xf = ["aria-label", "aria-expanded"], Zf = {
|
|
10632
10663
|
class: "pv-flex",
|
|
10633
10664
|
style: { "min-width": "0" }
|
|
10634
|
-
},
|
|
10665
|
+
}, Qf = {
|
|
10635
10666
|
class: "pv-avatar-xs",
|
|
10636
10667
|
style: {
|
|
10637
10668
|
"border-radius": "4px",
|
|
10638
10669
|
"flex-shrink": "0"
|
|
10639
10670
|
}
|
|
10640
|
-
},
|
|
10671
|
+
}, $f = ["src"], ep = { key: 1 }, tp = ["title"], np = {
|
|
10641
10672
|
class: "pv-popover",
|
|
10642
10673
|
style: {
|
|
10643
10674
|
width: "fit-content",
|
|
10644
10675
|
"max-width": "280px",
|
|
10645
10676
|
"margin-top": "4px"
|
|
10646
10677
|
}
|
|
10647
|
-
},
|
|
10678
|
+
}, rp = {
|
|
10648
10679
|
role: "list",
|
|
10649
10680
|
class: "pv-popover-list pv-flow",
|
|
10650
10681
|
style: { "--flow-size": "0.25rem" }
|
|
10651
|
-
},
|
|
10682
|
+
}, ip = ["data-active"], ap = ["href"], op = {
|
|
10652
10683
|
class: "pv-avatar-xs",
|
|
10653
10684
|
style: { "border-radius": "4px" }
|
|
10654
|
-
},
|
|
10685
|
+
}, sp = ["src"], cp = { key: 1 }, lp = ["title"], up = ["data-active"], dp = ["href"], fp = ["title"], pp = { class: "pv-sidebar-nav" }, mp = { key: 0 }, hp = {
|
|
10655
10686
|
key: 1,
|
|
10656
10687
|
role: "list",
|
|
10657
10688
|
class: "pv-full-width pv-flow",
|
|
10658
10689
|
style: { "--flow-size": "0.25rem" }
|
|
10659
|
-
},
|
|
10690
|
+
}, gp = {
|
|
10660
10691
|
class: "pv-flex pv-space-between pv-full-width",
|
|
10661
10692
|
"data-sidebar-expanded-content": "",
|
|
10662
10693
|
style: { "flex-wrap": "wrap" }
|
|
10663
|
-
},
|
|
10694
|
+
}, _p = {
|
|
10664
10695
|
key: 0,
|
|
10665
10696
|
class: "pv-tag-purple pv-tag-sm"
|
|
10666
|
-
},
|
|
10697
|
+
}, vp = ["onClick", "onKeydown"], yp = [
|
|
10667
10698
|
"href",
|
|
10668
10699
|
"aria-current",
|
|
10669
10700
|
"title"
|
|
10670
|
-
],
|
|
10701
|
+
], bp = {
|
|
10671
10702
|
class: "pv-flex pv-space-between pv-full-width",
|
|
10672
10703
|
"data-sidebar-expanded-content": "",
|
|
10673
10704
|
style: { "flex-wrap": "wrap" }
|
|
10674
|
-
},
|
|
10705
|
+
}, xp = {
|
|
10675
10706
|
key: 0,
|
|
10676
10707
|
class: "pv-tag-purple pv-tag-sm"
|
|
10677
|
-
},
|
|
10708
|
+
}, Sp = {
|
|
10678
10709
|
class: "pv-popover",
|
|
10679
10710
|
style: { "--position": "static" }
|
|
10680
|
-
},
|
|
10711
|
+
}, Cp = {
|
|
10681
10712
|
role: "list",
|
|
10682
10713
|
class: "pv-popover-list"
|
|
10683
|
-
},
|
|
10714
|
+
}, wp = ["data-active"], Tp = ["href"], Ep = {
|
|
10684
10715
|
key: 0,
|
|
10685
10716
|
class: "pv-tag-purple pv-tag-sm"
|
|
10686
|
-
},
|
|
10717
|
+
}, Dp = ["onClick", "onAuxclick"], Op = { "data-sidebar-expanded-content": "" }, kp = { class: "pv-sidebar-nav-nested" }, Ap = [
|
|
10687
10718
|
"href",
|
|
10688
10719
|
"aria-current",
|
|
10689
10720
|
"title"
|
|
10690
|
-
],
|
|
10721
|
+
], jp = {
|
|
10691
10722
|
class: "pv-flex pv-space-between pv-full-width",
|
|
10692
10723
|
style: { "flex-wrap": "wrap" }
|
|
10693
|
-
},
|
|
10724
|
+
}, Mp = {
|
|
10694
10725
|
key: 0,
|
|
10695
10726
|
class: "pv-tag-purple pv-tag-sm"
|
|
10696
|
-
},
|
|
10727
|
+
}, Np = {
|
|
10697
10728
|
class: "pv-popover",
|
|
10698
10729
|
style: {
|
|
10699
10730
|
"--position": "static",
|
|
10700
10731
|
"--height": "350px"
|
|
10701
10732
|
}
|
|
10702
|
-
},
|
|
10733
|
+
}, Pp = {
|
|
10703
10734
|
role: "list",
|
|
10704
10735
|
class: "pv-popover-list"
|
|
10705
|
-
},
|
|
10736
|
+
}, Fp = ["data-active"], Ip = ["href"], Lp = {
|
|
10706
10737
|
key: 0,
|
|
10707
10738
|
class: "pv-tag-purple pv-tag-sm"
|
|
10708
|
-
},
|
|
10739
|
+
}, Rp = {
|
|
10709
10740
|
class: "pv-sidebar-nav-footer pv-sticky",
|
|
10710
10741
|
style: { "--bottom": "0" }
|
|
10711
|
-
},
|
|
10742
|
+
}, zp = ["aria-expanded"], Bp = { class: "pv-popover pv-text-default pv-text-body-md" }, Vp = [
|
|
10712
10743
|
"aria-label",
|
|
10713
10744
|
"aria-expanded",
|
|
10714
10745
|
"title"
|
|
10715
|
-
],
|
|
10746
|
+
], Hp = {
|
|
10716
10747
|
class: "pv-avatar-xs",
|
|
10717
10748
|
style: {
|
|
10718
10749
|
"border-radius": "50%",
|
|
10719
10750
|
"flex-shrink": "0"
|
|
10720
10751
|
}
|
|
10721
|
-
},
|
|
10752
|
+
}, Up = ["src"], Wp = { key: 1 }, Gp = {
|
|
10722
10753
|
class: "pv-truncate",
|
|
10723
10754
|
"data-sidebar-expanded-content": ""
|
|
10724
|
-
},
|
|
10755
|
+
}, Kp = {
|
|
10725
10756
|
class: "pv-popover pv-text-default pv-text-body-md",
|
|
10726
10757
|
style: { "--height": "750px" }
|
|
10727
|
-
},
|
|
10758
|
+
}, qp = { class: "content-panel" }, Jp = "a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex=\"-1\"])", Yp = /* @__PURE__ */ d({
|
|
10728
10759
|
__name: "PvSidebarV2",
|
|
10729
10760
|
props: /* @__PURE__ */ g({
|
|
10730
10761
|
disableToggle: { type: Boolean },
|
|
@@ -10748,11 +10779,11 @@ var Rd = ["aria-label"], zd = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
10748
10779
|
})), H, te = (e) => e.hoverPanelSlot ? p ? (R.value, Array.from(p.children).some((t) => t.getAttribute("slot") === e.hoverPanelSlot)) : !!C[e.hoverPanelSlot] : !1, U = (e, t, n) => {
|
|
10749
10780
|
n instanceof HTMLElement ? e.set(t, n) : e.delete(t);
|
|
10750
10781
|
}, W = (e) => {
|
|
10751
|
-
let t = P.get(e), n = t?.querySelector(
|
|
10782
|
+
let t = P.get(e), n = t?.querySelector(Jp);
|
|
10752
10783
|
if (n) return n;
|
|
10753
10784
|
for (let e of t?.querySelectorAll("slot") ?? []) for (let t of e.assignedElements({ flatten: !0 })) {
|
|
10754
|
-
if (t.matches(
|
|
10755
|
-
let e = t.querySelector(
|
|
10785
|
+
if (t.matches(Jp)) return t;
|
|
10786
|
+
let e = t.querySelector(Jp);
|
|
10756
10787
|
if (e) return e;
|
|
10757
10788
|
}
|
|
10758
10789
|
}, ne = (e, t) => {
|
|
@@ -10833,7 +10864,7 @@ var Rd = ["aria-label"], zd = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
10833
10864
|
ref_key: "sidebarPanel",
|
|
10834
10865
|
ref: E,
|
|
10835
10866
|
class: "sidebar-panel"
|
|
10836
|
-
}, [s("div", null, [L(h) ? (D(), o("div",
|
|
10867
|
+
}, [s("div", null, [L(h) ? (D(), o("div", qf, [j(n.$slots, "sidebar-additional-header")])) : a("", !0), s("div", { class: y(["sidebar-header", [{ "pv-border-bottom": X.value }]]) }, [s("div", Jf, [e.organizations && e.organizations.length ? (D(), o("div", Yf, [u($n, {
|
|
10837
10868
|
modelValue: fe.value,
|
|
10838
10869
|
"onUpdate:modelValue": r[0] ||= (e) => fe.value = e,
|
|
10839
10870
|
position: X.value ? "right-top" : "bottom-left",
|
|
@@ -10849,30 +10880,30 @@ var Rd = ["aria-label"], zd = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
10849
10880
|
class: "pv-nav-list-item pv-full-width pv-space-between",
|
|
10850
10881
|
"aria-label": `Switch organization: ${Y.value?.label}`,
|
|
10851
10882
|
"aria-expanded": fe.value
|
|
10852
|
-
}, [s("div",
|
|
10883
|
+
}, [s("div", Zf, [s("span", Qf, [Y.value?.avatarUrl ? (D(), o("img", {
|
|
10853
10884
|
key: 0,
|
|
10854
10885
|
src: Y.value.avatarUrl,
|
|
10855
10886
|
alt: "Organization Avatar"
|
|
10856
|
-
}, null, 8,
|
|
10887
|
+
}, null, 8, $f)) : (D(), o("span", ep, I(Y.value?.label?.slice(0, 1)), 1))]), s("span", {
|
|
10857
10888
|
class: "pv-text-title-lg pv-truncate",
|
|
10858
10889
|
"data-sidebar-expanded-content": "",
|
|
10859
10890
|
title: Y.value?.label
|
|
10860
|
-
}, I(Y.value?.label), 9,
|
|
10891
|
+
}, I(Y.value?.label), 9, tp)]), u(Z, {
|
|
10861
10892
|
name: "chevron-down",
|
|
10862
10893
|
class: "pv-icon-16",
|
|
10863
10894
|
"data-sidebar-expanded-content": ""
|
|
10864
|
-
})], 8,
|
|
10865
|
-
content: K(() => [s("div",
|
|
10895
|
+
})], 8, Xf)]),
|
|
10896
|
+
content: K(() => [s("div", np, [s("ul", rp, [(D(!0), o(t, null, A(e.organizations, (e) => (D(), o(t, { key: e.value }, [s("li", { "data-active": e.active || void 0 }, [s("a", {
|
|
10866
10897
|
class: "pv-flex",
|
|
10867
10898
|
href: e.url
|
|
10868
|
-
}, [s("div",
|
|
10899
|
+
}, [s("div", op, [e.avatarUrl ? (D(), o("img", {
|
|
10869
10900
|
key: 0,
|
|
10870
10901
|
src: e.avatarUrl,
|
|
10871
10902
|
alt: "Organization Avatar"
|
|
10872
|
-
}, null, 8,
|
|
10903
|
+
}, null, 8, sp)) : (D(), o("span", cp, I(e.label.slice(0, 1)), 1))]), s("span", {
|
|
10873
10904
|
class: "pv-truncate pv-flex-item",
|
|
10874
10905
|
title: e.label
|
|
10875
|
-
}, I(e.label), 9,
|
|
10906
|
+
}, I(e.label), 9, lp)], 8, ap)], 8, ip), (D(!0), o(t, null, A(e.entities, (e) => (D(), o("li", {
|
|
10876
10907
|
key: e.value,
|
|
10877
10908
|
style: { "padding-left": "0.5rem" },
|
|
10878
10909
|
"data-active": e.active || void 0
|
|
@@ -10883,7 +10914,7 @@ var Rd = ["aria-label"], zd = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
10883
10914
|
}, [u(Z, { name: "corner-down-right" }), s("span", {
|
|
10884
10915
|
class: "pv-truncate",
|
|
10885
10916
|
title: e.label
|
|
10886
|
-
}, I(e.label), 9,
|
|
10917
|
+
}, I(e.label), 9, fp)], 8, dp)], 8, up))), 128))], 64))), 128))])])]),
|
|
10887
10918
|
_: 1
|
|
10888
10919
|
}, 8, [
|
|
10889
10920
|
"modelValue",
|
|
@@ -10906,9 +10937,9 @@ var Rd = ["aria-label"], zd = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
10906
10937
|
}, null, 8, ["left-icon", "aria-label"])]),
|
|
10907
10938
|
content: K(() => [l(I(X.value ? "Expand navigation" : "Collapse navigation"), 1)]),
|
|
10908
10939
|
_: 1
|
|
10909
|
-
}))], 2)]), s("div",
|
|
10910
|
-
L(m) ? (D(), o("div",
|
|
10911
|
-
e.navItems && e.navItems.length ? (D(), o("ul",
|
|
10940
|
+
}))], 2)]), s("div", pp, [
|
|
10941
|
+
L(m) ? (D(), o("div", mp, [j(n.$slots, "sidebar-additional-content")])) : a("", !0),
|
|
10942
|
+
e.navItems && e.navItems.length ? (D(), o("ul", hp, [(D(!0), o(t, null, A(e.navItems, (e) => (D(), o("li", { key: e.value }, [te(e) ? (D(), i($n, {
|
|
10912
10943
|
key: 0,
|
|
10913
10944
|
modelValue: O.value[e.value],
|
|
10914
10945
|
"onUpdate:modelValue": (t) => O.value[e.value] = t,
|
|
@@ -10938,7 +10969,7 @@ var Rd = ["aria-label"], zd = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
10938
10969
|
key: 0,
|
|
10939
10970
|
name: e.icon,
|
|
10940
10971
|
class: "pv-nav-icon"
|
|
10941
|
-
}, null, 8, ["name"])) : a("", !0), s("span",
|
|
10972
|
+
}, null, 8, ["name"])) : a("", !0), s("span", gp, [s("span", { class: y(["pv-truncate pv-flex-item", { "pv-link-external": e.external }]) }, I(e.label), 3), e.badge ? (D(), o("span", _p, I(e.badge.toUpperCase()), 1)) : a("", !0)])]),
|
|
10942
10973
|
_: 2
|
|
10943
10974
|
}, 1040, [
|
|
10944
10975
|
"href",
|
|
@@ -10955,7 +10986,7 @@ var Rd = ["aria-label"], zd = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
10955
10986
|
class: "pv-sidebar-hover-panel",
|
|
10956
10987
|
onClick: (t) => q(t, e.value),
|
|
10957
10988
|
onKeydown: (t) => J(t, e.value)
|
|
10958
|
-
}, [j(n.$slots, e.hoverPanelSlot)], 40,
|
|
10989
|
+
}, [j(n.$slots, e.hoverPanelSlot)], 40, vp)]),
|
|
10959
10990
|
_: 2
|
|
10960
10991
|
}, 1032, [
|
|
10961
10992
|
"modelValue",
|
|
@@ -10984,8 +11015,8 @@ var Rd = ["aria-label"], zd = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
10984
11015
|
key: 0,
|
|
10985
11016
|
name: e.icon,
|
|
10986
11017
|
class: "pv-nav-icon"
|
|
10987
|
-
}, null, 8, ["name"])) : a("", !0), s("span",
|
|
10988
|
-
content: K(() => [s("div",
|
|
11018
|
+
}, null, 8, ["name"])) : a("", !0), s("span", bp, [s("span", { class: y(["pv-truncate pv-flex-item", { "pv-link-external": e.external }]) }, I(e.label), 3), e.badge ? (D(), o("span", xp, I(e.badge.toUpperCase()), 1)) : a("", !0)])], 16, yp)]),
|
|
11019
|
+
content: K(() => [s("div", Sp, [s("ul", Cp, [s("li", { "data-active": e.active || void 0 }, [s("a", _({ href: e.url }, { ref_for: !0 }, e.linkAttrs, { style: { "flex-wrap": "wrap" } }), [s("span", { class: y(["pv-truncate pv-flex-item", { "pv-link-external": e.external }]) }, I(e.label), 3), e.badge ? (D(), o("span", Ep, I(e.badge.toUpperCase()), 1)) : a("", !0)], 16, Tp)], 8, wp)])])]),
|
|
10989
11020
|
_: 2
|
|
10990
11021
|
}, 1032, [
|
|
10991
11022
|
"use-teleport",
|
|
@@ -11018,14 +11049,14 @@ var Rd = ["aria-label"], zd = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
11018
11049
|
key: 0,
|
|
11019
11050
|
name: e.icon,
|
|
11020
11051
|
class: "pv-nav-icon"
|
|
11021
|
-
}, null, 8, ["name"])) : a("", !0), s("span",
|
|
11022
|
-
default: K(() => [s("div",
|
|
11052
|
+
}, null, 8, ["name"])) : a("", !0), s("span", Op, I(e.label), 1)], 40, Dp)]),
|
|
11053
|
+
default: K(() => [s("div", kp, [(D(!0), o(t, null, A(e.children, (e) => (D(), o("a", _({
|
|
11023
11054
|
key: e.value,
|
|
11024
11055
|
href: e.url
|
|
11025
11056
|
}, { ref_for: !0 }, e.linkAttrs, {
|
|
11026
11057
|
"aria-current": e.active ? "page" : void 0,
|
|
11027
11058
|
title: e.label
|
|
11028
|
-
}), [s("span",
|
|
11059
|
+
}), [s("span", jp, [s("span", { class: y(["pv-truncate pv-flex-item", { "pv-link-external": e.external }]) }, I(e.label), 3), e.badge ? (D(), o("span", Mp, I(e.badge.toUpperCase()), 1)) : a("", !0)])], 16, Ap))), 128))])]),
|
|
11029
11060
|
_: 2
|
|
11030
11061
|
}, 1032, [
|
|
11031
11062
|
"modelValue",
|
|
@@ -11033,17 +11064,17 @@ var Rd = ["aria-label"], zd = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
11033
11064
|
"default-open",
|
|
11034
11065
|
"summary-attrs"
|
|
11035
11066
|
])]),
|
|
11036
|
-
content: K(() => [s("div",
|
|
11067
|
+
content: K(() => [s("div", Np, [s("ul", Pp, [(D(!0), o(t, null, A(e.children, (e) => (D(), o("li", {
|
|
11037
11068
|
key: e.value,
|
|
11038
11069
|
"data-active": e.active || void 0
|
|
11039
|
-
}, [s("a", _({ href: e.url }, { ref_for: !0 }, e.linkAttrs, { style: { "flex-wrap": "wrap" } }), [s("span", { class: y(["pv-truncate pv-flex-item", { "pv-link-external": e.external }]) }, I(e.label), 3), e.badge ? (D(), o("span",
|
|
11070
|
+
}, [s("a", _({ href: e.url }, { ref_for: !0 }, e.linkAttrs, { style: { "flex-wrap": "wrap" } }), [s("span", { class: y(["pv-truncate pv-flex-item", { "pv-link-external": e.external }]) }, I(e.label), 3), e.badge ? (D(), o("span", Lp, I(e.badge.toUpperCase()), 1)) : a("", !0)], 16, Ip)], 8, Fp))), 128))])])]),
|
|
11040
11071
|
_: 2
|
|
11041
11072
|
}, 1032, [
|
|
11042
11073
|
"use-teleport",
|
|
11043
11074
|
"teleport-location",
|
|
11044
11075
|
"disabled"
|
|
11045
11076
|
]))]))), 128))])) : a("", !0),
|
|
11046
|
-
s("div",
|
|
11077
|
+
s("div", Rp, [L(g) ? (D(), i($n, {
|
|
11047
11078
|
key: 0,
|
|
11048
11079
|
modelValue: de.value,
|
|
11049
11080
|
"onUpdate:modelValue": r[1] ||= (e) => de.value = e,
|
|
@@ -11065,8 +11096,8 @@ var Rd = ["aria-label"], zd = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
11065
11096
|
}, [u(Z, {
|
|
11066
11097
|
name: "help-circle",
|
|
11067
11098
|
class: "pv-icon-20 pv-nav-icon"
|
|
11068
|
-
}), r[3] ||= s("span", { "data-sidebar-expanded-content": "" }, "Help", -1)], 8,
|
|
11069
|
-
content: K(() => [s("div",
|
|
11099
|
+
}), r[3] ||= s("span", { "data-sidebar-expanded-content": "" }, "Help", -1)], 8, zp)]),
|
|
11100
|
+
content: K(() => [s("div", Bp, [j(n.$slots, "sidebar-help-content")])]),
|
|
11070
11101
|
_: 3
|
|
11071
11102
|
}, 8, [
|
|
11072
11103
|
"modelValue",
|
|
@@ -11093,12 +11124,12 @@ var Rd = ["aria-label"], zd = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
11093
11124
|
"aria-label": e.profile.name,
|
|
11094
11125
|
"aria-expanded": pe.value,
|
|
11095
11126
|
title: e.profile.name
|
|
11096
|
-
}, [s("span",
|
|
11127
|
+
}, [s("span", Hp, [e.profile.avatarUrl ? (D(), o("img", {
|
|
11097
11128
|
key: 0,
|
|
11098
11129
|
src: e.profile.avatarUrl,
|
|
11099
11130
|
alt: ""
|
|
11100
|
-
}, null, 8,
|
|
11101
|
-
content: K(() => [s("div",
|
|
11131
|
+
}, null, 8, Up)) : (D(), o("span", Wp, I(e.profile.name.slice(0, 1)), 1))]), s("span", Gp, I(e.profile.name), 1)], 8, Vp)]),
|
|
11132
|
+
content: K(() => [s("div", Kp, [j(n.$slots, "sidebar-profile-content")])]),
|
|
11102
11133
|
_: 3
|
|
11103
11134
|
}, 8, [
|
|
11104
11135
|
"modelValue",
|
|
@@ -11108,7 +11139,7 @@ var Rd = ["aria-label"], zd = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
11108
11139
|
"teleport-location"
|
|
11109
11140
|
])) : a("", !0)])
|
|
11110
11141
|
])], 512),
|
|
11111
|
-
s("div",
|
|
11142
|
+
s("div", qp, [j(n.$slots, "default")]),
|
|
11112
11143
|
s("div", {
|
|
11113
11144
|
ref_key: "popoverTeleportTarget",
|
|
11114
11145
|
ref: T,
|
|
@@ -11116,11 +11147,11 @@ var Rd = ["aria-label"], zd = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
11116
11147
|
}, null, 512)
|
|
11117
11148
|
], 38));
|
|
11118
11149
|
}
|
|
11119
|
-
}),
|
|
11150
|
+
}), Xp = {
|
|
11120
11151
|
class: "pv-toc",
|
|
11121
11152
|
role: "list",
|
|
11122
11153
|
style: { "min-width": "160px" }
|
|
11123
|
-
},
|
|
11154
|
+
}, Zp = ["aria-current"], Qp = ["href", "onClick"], $p = /* @__PURE__ */ d({
|
|
11124
11155
|
__name: "PvTableOfContents",
|
|
11125
11156
|
props: /* @__PURE__ */ g({ items: {} }, {
|
|
11126
11157
|
modelValue: { required: !1 },
|
|
@@ -11131,7 +11162,7 @@ var Rd = ["aria-label"], zd = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
11131
11162
|
let r = B(e, "modelValue"), c = n, u = (e, t) => {
|
|
11132
11163
|
t.href || e.preventDefault(), r.value = t.id, c("handle-select", t);
|
|
11133
11164
|
};
|
|
11134
|
-
return (n, c) => (D(), o("ul",
|
|
11165
|
+
return (n, c) => (D(), o("ul", Xp, [(D(!0), o(t, null, A(e.items, (e) => (D(), o("li", {
|
|
11135
11166
|
key: e.id,
|
|
11136
11167
|
"aria-current": r.value === e.id ? "true" : void 0
|
|
11137
11168
|
}, [s("a", {
|
|
@@ -11140,9 +11171,9 @@ var Rd = ["aria-label"], zd = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
11140
11171
|
}, [e.icon ? (D(), i(Z, {
|
|
11141
11172
|
key: 0,
|
|
11142
11173
|
name: e.icon
|
|
11143
|
-
}, null, 8, ["name"])) : a("", !0), l(" " + I(e.label), 1)], 8,
|
|
11174
|
+
}, null, 8, ["name"])) : a("", !0), l(" " + I(e.label), 1)], 8, Qp)], 8, Zp))), 128))]));
|
|
11144
11175
|
}
|
|
11145
|
-
}),
|
|
11176
|
+
}), em = { class: "pv-flex" }, tm = ["data-clickable", "onClick"], nm = /* @__PURE__ */ d({
|
|
11146
11177
|
__name: "PvStepper",
|
|
11147
11178
|
props: {
|
|
11148
11179
|
count: { default: 5 },
|
|
@@ -11155,14 +11186,14 @@ var Rd = ["aria-label"], zd = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
11155
11186
|
emits: ["update:active"],
|
|
11156
11187
|
setup(e) {
|
|
11157
11188
|
let n = e;
|
|
11158
|
-
return (n.active < 0 || n.active >= n.count) && console.warn(`PvStepper: "active" (${n.active}) is out of range for "count" (${n.count}).`), (n, r) => (D(), o("div",
|
|
11189
|
+
return (n.active < 0 || n.active >= n.count) && console.warn(`PvStepper: "active" (${n.active}) is out of range for "count" (${n.count}).`), (n, r) => (D(), o("div", em, [(D(!0), o(t, null, A(e.count, (t, r) => (D(), o("div", {
|
|
11159
11190
|
key: r,
|
|
11160
11191
|
"data-clickable": e.clickable,
|
|
11161
11192
|
class: y(r === e.active ? "pv-stepper-active" : "pv-stepper-inactive"),
|
|
11162
11193
|
onClick: (t) => e.clickable && n.$emit("update:active", r)
|
|
11163
|
-
}, null, 10,
|
|
11194
|
+
}, null, 10, tm))), 128))]));
|
|
11164
11195
|
}
|
|
11165
|
-
}),
|
|
11196
|
+
}), rm = { theme: {
|
|
11166
11197
|
preset: Te,
|
|
11167
11198
|
options: {
|
|
11168
11199
|
darkModeSelector: "none",
|
|
@@ -11171,15 +11202,15 @@ var Rd = ["aria-label"], zd = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
11171
11202
|
order: "pit-viper-v2, primevue"
|
|
11172
11203
|
}
|
|
11173
11204
|
}
|
|
11174
|
-
} },
|
|
11175
|
-
e.use(we,
|
|
11176
|
-
},
|
|
11177
|
-
let e = m(
|
|
11205
|
+
} }, im = (e) => {
|
|
11206
|
+
e.use(we, rm);
|
|
11207
|
+
}, am = Symbol.for("pv.rum-context"), om = () => {
|
|
11208
|
+
let e = m(am, void 0);
|
|
11178
11209
|
return () => {
|
|
11179
11210
|
let t = e?.value;
|
|
11180
11211
|
return typeof t == "string" ? { consumer: t } : t ?? {};
|
|
11181
11212
|
};
|
|
11182
|
-
},
|
|
11213
|
+
}, sm = (e, t = {}, n = {}) => {
|
|
11183
11214
|
try {
|
|
11184
11215
|
if (n.enabled === !1 || typeof window > "u" || !window.DD_RUM?.addAction) return;
|
|
11185
11216
|
let r = n.consumer == null ? t : {
|
|
@@ -11188,7 +11219,7 @@ var Rd = ["aria-label"], zd = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
11188
11219
|
};
|
|
11189
11220
|
window.DD_RUM.addAction(e, r);
|
|
11190
11221
|
} catch {}
|
|
11191
|
-
},
|
|
11222
|
+
}, cm = (e) => {
|
|
11192
11223
|
queueMicrotask(() => {
|
|
11193
11224
|
try {
|
|
11194
11225
|
e();
|
|
@@ -11196,6 +11227,6 @@ var Rd = ["aria-label"], zd = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
11196
11227
|
});
|
|
11197
11228
|
};
|
|
11198
11229
|
//#endregion
|
|
11199
|
-
export { Ti as ContextCardEnum, ti as PvAccordion,
|
|
11230
|
+
export { Ti as ContextCardEnum, ti as PvAccordion, Zs as PvActionBar, rr as PvActionButton, or as PvAiButton, ba as PvAvatar, ts as PvAvatarGroup, Gr as PvBanner, ha as PvBreadcrumbs, $ as PvButton, dr as PvButtonWithTooltip, Rs as PvCard, ss as PvCheckbox, Ai as PvCompanyLabel, Nr as PvCompanyLogo, Xr as PvCompanyTag, He as PvCounterBadge, pi as PvDatePicker, hi as PvDateTime, Nc as PvDistributionBar, wi as PvDrawer, Cr as PvDropdown, Yr as PvEmptyErrorState, qs as PvExpandableContent, Ts as PvFileInput, Tf as PvFilterModal, cf as PvFilterPanel, qo as PvGhostInput, Qo as PvHeader, Iu as PvHorizontalScroller, kf as PvHoverActionMenu, Z as PvIcon, vs as PvInput, Ks as PvInsightCard, yo as PvMenu, uo as PvMenuItem, zr as PvModal, Do as PvMultiSelectButton, Io as PvPagination, vr as PvPill, br as PvPopover, Tr as PvPopoverMenu, $n as PvPopoverV2, jc as PvProgressBar, Hf as PvQueryBuilderInput, ds as PvRadioGroup, Xc as PvRange, Os as PvRating, hr as PvReleaseBadge, oi as PvSearchInput, Er as PvSegmentedControl, ko as PvSelectButton, zo as PvSelectableCard, Wo as PvSidePanel, Kf as PvSidebar, Yp as PvSidebarV2, ps as PvSkeleton, aa as PvSpinesContextCard, la as PvSpinesContextDrawer, Ne as PvSpinner, mr as PvSplitButton, fs as PvSprite, nm as PvStepper, $r as PvSuggestionTag, Wa as PvSwitch, Ar as PvTabList, $p as PvTableOfContents, fa as PvTabs, _r as PvTag, Bi as PvTextArea, Ys as PvToast, Wi as PvToggleButton, as as PvToggleGroup, lr as PvTooltip, tr as PvTooltipV2, Tc as PvTree, Ec as PvTreeGroup, zs as PvWidget, am as RumContextKey, sm as addRumAction, Rd as createPvFilterStore, cm as deferRumTask, zd as providePvFilterStore, mi as useDateTime, Bd as useOptionalPvFilterStore, im as usePvComponents, Vd as usePvFilterStore, om as useRumContext };
|
|
11200
11231
|
|
|
11201
11232
|
//# sourceMappingURL=pv-components-base.mjs.map
|