@ganpatiinfo/gids-core-web 13.0.0 → 14.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/css/index.css +912 -56
- package/dist/css/index.css.map +1 -1
- package/dist/gids-action-bar.js +1 -1
- package/dist/gids-activity-gauge.js +1 -1
- package/dist/gids-advanced-tooltip.d.ts +11 -0
- package/dist/gids-advanced-tooltip.js +1 -0
- package/dist/gids-bar-chart.js +1 -1
- package/dist/gids-calendar-header-panel.js +1 -1
- package/dist/gids-calendar-month-list.js +1 -1
- package/dist/gids-calendar-year-list.js +1 -1
- package/dist/gids-calendar.js +1 -1
- package/dist/gids-chart-legend-item.js +1 -1
- package/dist/gids-chart-legend.js +1 -1
- package/dist/gids-chart.js +1 -1
- package/dist/gids-chevron-button.js +1 -1
- package/dist/gids-dot.js +1 -1
- package/dist/gids-dropdown-field.js +1 -1
- package/dist/gids-dropdown-picker.js +1 -1
- package/dist/gids-dropdown.js +1 -1
- package/dist/gids-expansion-body-list-item.js +1 -1
- package/dist/gids-expansion-body-list.js +1 -1
- package/dist/gids-expansion-group.js +1 -1
- package/dist/gids-expansion.js +1 -1
- package/dist/gids-field.js +1 -1
- package/dist/gids-filter.js +1 -1
- package/dist/gids-icon.js +1 -1
- package/dist/gids-input.js +1 -1
- package/dist/gids-line-chart.js +1 -1
- package/dist/gids-md-table.js +1 -1
- package/dist/gids-overflow-container.js +1 -1
- package/dist/gids-overlay-provider.js +1 -1
- package/dist/gids-password-field.js +1 -1
- package/dist/gids-pie-chart.js +1 -1
- package/dist/gids-popover.js +1 -1
- package/dist/gids-scrim.js +1 -1
- package/dist/gids-tab-item.js +1 -1
- package/dist/gids-tab.js +1 -1
- package/dist/gids-text-field.js +1 -1
- package/dist/gids-toggle-button.js +1 -1
- package/dist/gids-tooltip.js +1 -1
- package/dist/{p-pSb81aE0.js → p-1fMG8D4t.js} +1 -1
- package/dist/p-BBszCFSA.js +1 -0
- package/dist/p-BKcvOO8o.js +1 -0
- package/dist/p-BV0jg2ix.js +1 -0
- package/dist/p-BVA1LAFM.js +1 -0
- package/dist/p-BYt-9DKT.js +1 -0
- package/dist/{p-C3We7Q8Q.js → p-Bab1qxsC.js} +1 -1
- package/dist/{p-C3w3wdCt.js → p-Bh8qYmAS.js} +1 -1
- package/dist/{p-BSbOhfLZ.js → p-BzzDNTlP.js} +1 -1
- package/dist/{p-C2O_pGky.js → p-CU5JIcEp.js} +1 -1
- package/dist/{p-Chqeexny.js → p-C_RW9IFo.js} +1 -1
- package/dist/{p-ub0GuVHb.js → p-CatvDz2b.js} +1 -1
- package/dist/{p-BVAtja26.js → p-CnVmK0dH.js} +1 -1
- package/dist/p-D5DRatg0.js +1 -0
- package/dist/{p-6APCjBEI.js → p-DAnkY5ik.js} +1 -1
- package/dist/p-DMVCMnTe.js +1 -0
- package/dist/p-DUUxlY-K.js +1 -0
- package/dist/{p-COHuQEfZ.js → p-Dan1sCNk.js} +1 -1
- package/dist/{p-BCVFQSjK.js → p-DslOQITw.js} +1 -1
- package/dist/{p-DUojHltk.js → p-_HwuS8vK.js} +1 -1
- package/dist/{p-4lN1OdcA.js → p-jzl-rPxB.js} +1 -1
- package/dist/types/components/html/GidsBasicTableBody/GidsBasicTableBody.d.ts +28 -4
- package/dist/types/components/html/GidsBasicTableHead/GidsBasicTableHead.d.ts +15 -0
- package/dist/types/components/html/GidsBasicTableHeader/GidsBasicTableHeader.d.ts +22 -3
- package/dist/types/components/html/GidsBasicTableRow/GidsBasicTableRow.d.ts +19 -3
- package/dist/types/components/html/GidsBsTable/GidsBsTable.d.ts +26 -3
- package/dist/types/components/html/GidsColorSwatch/GidsColorSwatch.d.ts +6 -0
- package/dist/types/components/html/GidsMatrixTable/GidsMatrixTable.d.ts +11 -0
- package/dist/types/components/html/GidsMatrixTableBody/GidsMatrixTableBody.d.ts +11 -0
- package/dist/types/components/html/GidsPagination/GidsPagination.d.ts +10 -0
- package/dist/types/components/html/GidsPaginator/GidsPaginator.d.ts +6 -0
- package/dist/types/components/html/GidsPaginatorItem/GidsPaginatorItem.d.ts +7 -0
- package/dist/types/components/html/GidsTable/GidsTable.d.ts +16 -0
- package/dist/types/components/html/GidsTableBody/GidsTableBody.d.ts +11 -0
- package/dist/types/components/html/GidsTableCell/GidsTableCell.d.ts +21 -0
- package/dist/types/components/html/GidsTableEntry/GidsTableEntry.d.ts +9 -0
- package/dist/types/components/html/GidsTableFooter/GidsTableFooter.d.ts +12 -0
- package/dist/types/components/html/GidsTableFooterControl/GidsTableFooterControl.d.ts +8 -0
- package/dist/types/components/html/GidsTableHeader/GidsTableHeader.d.ts +9 -0
- package/dist/types/components/html/GidsTableRow/GidsTableRow.d.ts +9 -0
- package/dist/types/components/html/GidsTableToolbar/GidsTableToolbar.d.ts +11 -0
- package/dist/types/components/html/_GidsPaginationItem/GidsPaginationItem.d.ts +10 -0
- package/dist/types/components/webComponents/GidsAdvancedTooltip/GidsAdvancedTooltip.d.ts +28 -0
- package/dist/types/components/webComponents/GidsBarChart/GidsBarChart.d.ts +7 -0
- package/dist/types/components/webComponents/GidsChartLegendItem/GidsChartLegendItem.d.ts +7 -0
- package/dist/types/components/webComponents/GidsLineChart/GidsLineChart.d.ts +7 -0
- package/dist/types/components/webComponents/GidsMdTable/GidsMdTable.d.ts +12 -9
- package/dist/types/components.d.ts +114 -17
- package/dist-bundled/es/gids-action-bar.js +3 -3
- package/dist-bundled/es/gids-activity-gauge.js +4 -4
- package/dist-bundled/es/gids-advanced-tooltip.js +6 -0
- package/dist-bundled/es/gids-bar-chart.js +1 -1
- package/dist-bundled/es/gids-calendar-header-panel.js +3 -3
- package/dist-bundled/es/gids-calendar-month-list.js +3 -3
- package/dist-bundled/es/gids-calendar-year-list.js +4 -4
- package/dist-bundled/es/gids-calendar.js +23 -23
- package/dist-bundled/es/gids-chart-legend-item.js +4 -4
- package/dist-bundled/es/gids-chart-legend.js +4 -4
- package/dist-bundled/es/gids-chart.js +38 -34
- package/dist-bundled/es/gids-chevron-button.js +7 -7
- package/dist-bundled/es/gids-dot.js +1 -1
- package/dist-bundled/es/gids-dropdown-field.js +6 -6
- package/dist-bundled/es/gids-dropdown-picker.js +2 -2
- package/dist-bundled/es/gids-dropdown.js +3 -3
- package/dist-bundled/es/gids-expansion-body-list-item.js +3 -3
- package/dist-bundled/es/gids-expansion-body-list.js +2 -2
- package/dist-bundled/es/gids-expansion-group.js +13 -13
- package/dist-bundled/es/gids-expansion.js +6 -6
- package/dist-bundled/es/gids-field.js +3 -3
- package/dist-bundled/es/gids-filter.js +4 -4
- package/dist-bundled/es/gids-icon.js +1 -1
- package/dist-bundled/es/gids-input.js +4 -4
- package/dist-bundled/es/gids-line-chart.js +1 -1
- package/dist-bundled/es/gids-md-table.js +121 -88
- package/dist-bundled/es/gids-overflow-container.js +1 -1
- package/dist-bundled/es/gids-overlay-provider.js +1 -1
- package/dist-bundled/es/gids-password-field.js +9 -9
- package/dist-bundled/es/gids-pie-chart.js +4 -4
- package/dist-bundled/es/gids-popover.js +2 -2
- package/dist-bundled/es/gids-scrim.js +7 -7
- package/dist-bundled/es/gids-tab-item.js +1 -1
- package/dist-bundled/es/gids-tab.js +1 -1
- package/dist-bundled/es/gids-text-field.js +9 -9
- package/dist-bundled/es/gids-toggle-button.js +1 -1
- package/dist-bundled/es/gids-tooltip.js +2 -2
- package/dist-bundled/es/{p-pSb81aE0-WzAszFOQ.js → p-1fMG8D4t-CIEDM74u.js} +2 -2
- package/dist-bundled/es/p-BBszCFSA-BN0-eWJX.js +115 -0
- package/dist-bundled/es/p-BKcvOO8o-L5KtCP_k.js +1024 -0
- package/dist-bundled/es/{p-C3xv7tfs-DHsjc3Ns.js → p-BV0jg2ix-DI0fZl_6.js} +15 -12
- package/dist-bundled/es/p-BVA1LAFM-DdsY_n8R.js +129 -0
- package/dist-bundled/es/{p-CI-sN9Lr-BvWzRJw-.js → p-BYt-9DKT-DByyhIUd.js} +13 -13
- package/dist-bundled/es/{p-C3We7Q8Q-2EoDLj5m.js → p-Bab1qxsC-BMbD0lEy.js} +2 -2
- package/dist-bundled/es/{p-C3w3wdCt-BTH-jYlI.js → p-Bh8qYmAS-DhSpwB20.js} +4 -4
- package/dist-bundled/es/{p-BSbOhfLZ-BdEHhmFM.js → p-BzzDNTlP-BkSyrafk.js} +8 -8
- package/dist-bundled/es/{p-C2O_pGky-CP4PN55D.js → p-CU5JIcEp-CuVpd-eZ.js} +10 -10
- package/dist-bundled/es/{p-Chqeexny-BuJ-PhNi.js → p-C_RW9IFo-DNQqJS8t.js} +5 -5
- package/dist-bundled/es/{p-ub0GuVHb-C9vrhXyF.js → p-CatvDz2b-C-Hlv2Xb.js} +9 -9
- package/dist-bundled/es/{p-BVAtja26-C16IjShX.js → p-CnVmK0dH-CbmnN-RR.js} +6 -6
- package/dist-bundled/es/{p-_SIWct9h-jMYFZ-VO.js → p-D5DRatg0-DtQL-DQg.js} +2 -2
- package/dist-bundled/es/{p-6APCjBEI-BREg63Xr.js → p-DAnkY5ik-ChPtRpOX.js} +5 -5
- package/dist-bundled/es/p-DMVCMnTe-D4eJKJsj.js +111 -0
- package/dist-bundled/es/p-DUUxlY-K-mypBhVt6.js +99 -0
- package/dist-bundled/es/{p-COHuQEfZ-DcUxD9TI.js → p-Dan1sCNk-mWcyyplK.js} +11 -11
- package/dist-bundled/es/{p-BCVFQSjK-CKrYrI4b.js → p-DslOQITw-BfwtLWqG.js} +7 -7
- package/dist-bundled/es/{p-DUojHltk-BQ0ryfLD.js → p-_HwuS8vK-C0w4T5rV.js} +2 -2
- package/dist-bundled/es/{p-4lN1OdcA-xYP8gbDc.js → p-jzl-rPxB-CC735zJp.js} +7 -7
- package/dist-bundled/umd/gids-action-bar.umd.js +2 -2
- package/dist-bundled/umd/gids-activity-gauge.umd.js +2 -2
- package/dist-bundled/umd/gids-advanced-tooltip.umd.js +5 -0
- package/dist-bundled/umd/gids-bar-chart.umd.js +8 -8
- package/dist-bundled/umd/gids-calendar-header-panel.umd.js +1 -1
- package/dist-bundled/umd/gids-calendar-month-list.umd.js +2 -2
- package/dist-bundled/umd/gids-calendar-year-list.umd.js +1 -1
- package/dist-bundled/umd/gids-calendar.umd.js +1 -1
- package/dist-bundled/umd/gids-chart-legend-item.umd.js +2 -2
- package/dist-bundled/umd/gids-chart-legend.umd.js +1 -1
- package/dist-bundled/umd/gids-chart.umd.js +5 -5
- package/dist-bundled/umd/gids-chevron-button.umd.js +1 -1
- package/dist-bundled/umd/gids-dot.umd.js +1 -1
- package/dist-bundled/umd/gids-dropdown-field.umd.js +1 -1
- package/dist-bundled/umd/gids-dropdown-picker.umd.js +1 -1
- package/dist-bundled/umd/gids-dropdown.umd.js +1 -1
- package/dist-bundled/umd/gids-expansion-body-list-item.umd.js +1 -1
- package/dist-bundled/umd/gids-expansion-body-list.umd.js +1 -1
- package/dist-bundled/umd/gids-expansion-group.umd.js +1 -1
- package/dist-bundled/umd/gids-expansion.umd.js +1 -1
- package/dist-bundled/umd/gids-field.umd.js +1 -1
- package/dist-bundled/umd/gids-filter.umd.js +2 -2
- package/dist-bundled/umd/gids-icon.umd.js +1 -1
- package/dist-bundled/umd/gids-input.umd.js +1 -1
- package/dist-bundled/umd/gids-line-chart.umd.js +2 -2
- package/dist-bundled/umd/gids-md-table.umd.js +2 -2
- package/dist-bundled/umd/gids-overflow-container.umd.js +1 -1
- package/dist-bundled/umd/gids-overlay-provider.umd.js +1 -1
- package/dist-bundled/umd/gids-password-field.umd.js +1 -1
- package/dist-bundled/umd/gids-pie-chart.umd.js +2 -2
- package/dist-bundled/umd/gids-popover.umd.js +2 -2
- package/dist-bundled/umd/gids-scrim.umd.js +1 -1
- package/dist-bundled/umd/gids-tab-item.umd.js +2 -2
- package/dist-bundled/umd/gids-tab.umd.js +1 -1
- package/dist-bundled/umd/gids-text-field.umd.js +1 -1
- package/dist-bundled/umd/gids-toggle-button.umd.js +2 -2
- package/dist-bundled/umd/gids-tooltip.umd.js +1 -1
- package/dist-bundled/umd-complete/gids-core-web.umd.js +8 -8
- package/package.json +17 -9
- package/dist/p-C3xv7tfs.js +0 -1
- package/dist/p-C56G7JRy.js +0 -1
- package/dist/p-CI-sN9Lr.js +0 -1
- package/dist/p-DO0MyFf4.js +0 -1
- package/dist/p-_SIWct9h.js +0 -1
- package/dist/p-a3JfEYJp.js +0 -1
- package/dist/types/components/html/GidsBasicTableCell/GidsBasicTableCell.d.ts +0 -5
- package/dist-bundled/es/p-C56G7JRy-BCGZG2-3.js +0 -88
- package/dist-bundled/es/p-DO0MyFf4-Ddg5sVMx.js +0 -115
- package/dist-bundled/es/p-a3JfEYJp-DyhDK6VZ.js +0 -1128
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
import { L as u, u as m, D as s, q as
|
|
1
|
+
import { L as u, u as m, D as s, q as i } from "./p-Bf3p-DY2-CPqEc-vc.js";
|
|
2
2
|
import { r as h, c as y, b, a as T, C } from "./p-CaauwQNd-D6_PbcRr.js";
|
|
3
|
-
import { d as v } from "./p-
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { d as _ } from "./p-
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { c as E } from "./p-
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
|
|
3
|
+
import { d as v } from "./p-1fMG8D4t-CIEDM74u.js";
|
|
4
|
+
import { _ as f } from "./p-DUUxlY-K-mypBhVt6.js";
|
|
5
|
+
import { h as k } from "./p-BVA1LAFM-DdsY_n8R.js";
|
|
6
|
+
import { d as _ } from "./p-DslOQITw-BfwtLWqG.js";
|
|
7
|
+
import { l as A } from "./p-BV0jg2ix-DI0fZl_6.js";
|
|
8
|
+
import { h as P } from "./p-Degg_WJz-BLua06el.js";
|
|
9
|
+
import { c as E } from "./p-DMVCMnTe-D4eJKJsj.js";
|
|
10
|
+
import { c as D } from "./p-Bab1qxsC-BMbD0lEy.js";
|
|
11
|
+
import { d as x } from "./p-CoS0NuDU-CqmDcRWj.js";
|
|
12
|
+
import { c as G } from "./clsx-OuTLNxxd.js";
|
|
13
|
+
const I = (e) => G("gids-chart", e), L = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
13
14
|
__proto__: null,
|
|
14
|
-
getGidsChartClassNames:
|
|
15
|
-
}, Symbol.toStringTag, { value: "Module" })), { getGidsChartClassNames:
|
|
15
|
+
getGidsChartClassNames: I
|
|
16
|
+
}, Symbol.toStringTag, { value: "Module" })), { getGidsChartClassNames: N } = L, c = u(class extends m {
|
|
16
17
|
constructor(e) {
|
|
17
18
|
super(), e !== !1 && this.__registerHost(), this.breakpoint = "desktop", this.chartType = "line-chart", this.getChartTypes = () => ["line-chart", "bar-chart", "pie-chart", "activity-gauge", "level-gauge", "progress-circle", "radar-chart"], this.isChartTypeValid = () => {
|
|
18
19
|
const r = this.getChartTypes(), a = this.chartType;
|
|
@@ -20,12 +21,12 @@ const G = (e) => x("gids-chart", e), I = /* @__PURE__ */ Object.freeze(/* @__PUR
|
|
|
20
21
|
}, this.isChartDataValid = () => {
|
|
21
22
|
const r = this.chartType;
|
|
22
23
|
if (r === "line-chart") {
|
|
23
|
-
const a = this.lineChartProps, t = a?.chartData ?? [],
|
|
24
|
-
return Array.isArray(t) && t.length > 0 && Array.isArray(
|
|
24
|
+
const a = this.lineChartProps, t = a?.chartData ?? [], o = t?.[0]?.data ?? [];
|
|
25
|
+
return Array.isArray(t) && t.length > 0 && Array.isArray(o) && o.length > 0;
|
|
25
26
|
}
|
|
26
27
|
if (r === "bar-chart") {
|
|
27
|
-
const a = this.barChartProps, t = a?.chartData ?? [],
|
|
28
|
-
return Array.isArray(t) && t.length > 0 && Array.isArray(
|
|
28
|
+
const a = this.barChartProps, t = a?.chartData ?? [], o = t?.[0]?.data ?? [];
|
|
29
|
+
return Array.isArray(t) && t.length > 0 && Array.isArray(o) && o.length > 0;
|
|
29
30
|
}
|
|
30
31
|
if (r === "pie-chart") {
|
|
31
32
|
const a = this.pieChartProps, t = a?.chartData ?? [];
|
|
@@ -41,8 +42,8 @@ const G = (e) => x("gids-chart", e), I = /* @__PURE__ */ Object.freeze(/* @__PUR
|
|
|
41
42
|
if (r) {
|
|
42
43
|
const a = r.split("-");
|
|
43
44
|
let t = "";
|
|
44
|
-
return a.map(((
|
|
45
|
-
t =
|
|
45
|
+
return a.map(((o, n) => {
|
|
46
|
+
t = n === 0 ? "" + o : `${t} ${o}`;
|
|
46
47
|
})), t;
|
|
47
48
|
}
|
|
48
49
|
return "";
|
|
@@ -58,8 +59,8 @@ const G = (e) => x("gids-chart", e), I = /* @__PURE__ */ Object.freeze(/* @__PUR
|
|
|
58
59
|
if (!this.isChartTypeValid()) return s("div", { class: "gids-chart__no-data" }, s(h, { title: y, supportingText: b(this.getChartTypes().join(", ")) }));
|
|
59
60
|
const e = this.isChartDataValid(), r = this.getChartTypeText();
|
|
60
61
|
if (!e) return s("div", { class: "gids-activity-gauge__no-data" }, s(h, { title: T, supportingText: C(r) }));
|
|
61
|
-
const a =
|
|
62
|
-
return s("div", { class: a }, t === "line-chart" ? s("gids-line-chart", { ...this.lineChartProps, breakpoint: this.breakpoint }) : null, t === "bar-chart" ? s("gids-bar-chart", { ...
|
|
62
|
+
const a = N(), t = this.chartType, o = this.barChartProps, n = this.pieChartProps, l = this.activityGaugeProps, d = this.levelGaugeProps, p = this.progressCircleProps;
|
|
63
|
+
return s("div", { class: a }, t === "line-chart" ? s("gids-line-chart", { ...this.lineChartProps, breakpoint: this.breakpoint }) : null, t === "bar-chart" ? s("gids-bar-chart", { ...o, breakpoint: this.breakpoint }) : null, t === "pie-chart" ? s("gids-pie-chart", { ...n, breakpoint: this.breakpoint }) : null, t === "activity-gauge" ? s("gids-activity-gauge", { ...l, breakpoint: this.breakpoint }) : null, t === "level-gauge" ? s("gids-level-gauge", { ...d, breakpoint: this.breakpoint }) : null, t === "progress-circle" ? s("gids-progress-circle", { ...p, breakpoint: this.breakpoint }) : null, t === "radar-chart" ? s("div", { class: "gids-chart__no-data" }, s(h, { title: "Coming Soon!", supportingText: "Radar chart is under progress. This will be available in next major version of GIDS." })) : null);
|
|
63
64
|
}
|
|
64
65
|
static get watchers() {
|
|
65
66
|
return { breakpoint: [{ handleBreakpointChange: 0 }], chartType: [{ handleChartTypeChange: 0 }] };
|
|
@@ -69,40 +70,43 @@ const G = (e) => x("gids-chart", e), I = /* @__PURE__ */ Object.freeze(/* @__PUR
|
|
|
69
70
|
}
|
|
70
71
|
}, [0, "gids-chart", { breakpoint: [1], chartType: [1, "chart-type"], lineChartProps: [16], barChartProps: [16], pieChartProps: [16], activityGaugeProps: [16], levelGaugeProps: [16], progressCircleProps: [16] }, void 0, { breakpoint: [{ handleBreakpointChange: 0 }], chartType: [{ handleChartTypeChange: 0 }] }]);
|
|
71
72
|
function g() {
|
|
72
|
-
typeof customElements < "u" && ["gids-chart", "gids-activity-gauge", "gids-bar-chart", "gids-chart-legend", "gids-chart-legend-item", "gids-level-gauge", "gids-line-chart", "gids-pie-chart", "gids-progress-circle"].forEach(((e) => {
|
|
73
|
+
typeof customElements < "u" && ["gids-chart", "gids-activity-gauge", "gids-advanced-tooltip", "gids-bar-chart", "gids-chart-legend", "gids-chart-legend-item", "gids-level-gauge", "gids-line-chart", "gids-pie-chart", "gids-progress-circle"].forEach(((e) => {
|
|
73
74
|
switch (e) {
|
|
74
75
|
case "gids-chart":
|
|
75
|
-
customElements.get(
|
|
76
|
+
customElements.get(i(e)) || customElements.define(i(e), c);
|
|
76
77
|
break;
|
|
77
78
|
case "gids-activity-gauge":
|
|
78
|
-
customElements.get(
|
|
79
|
+
customElements.get(i(e)) || v();
|
|
80
|
+
break;
|
|
81
|
+
case "gids-advanced-tooltip":
|
|
82
|
+
customElements.get(i(e)) || f();
|
|
79
83
|
break;
|
|
80
84
|
case "gids-bar-chart":
|
|
81
|
-
customElements.get(
|
|
85
|
+
customElements.get(i(e)) || k();
|
|
82
86
|
break;
|
|
83
87
|
case "gids-chart-legend":
|
|
84
|
-
customElements.get(
|
|
88
|
+
customElements.get(i(e)) || _();
|
|
85
89
|
break;
|
|
86
90
|
case "gids-chart-legend-item":
|
|
87
|
-
customElements.get(
|
|
91
|
+
customElements.get(i(e)) || A();
|
|
88
92
|
break;
|
|
89
93
|
case "gids-level-gauge":
|
|
90
|
-
customElements.get(
|
|
94
|
+
customElements.get(i(e)) || P();
|
|
91
95
|
break;
|
|
92
96
|
case "gids-line-chart":
|
|
93
|
-
customElements.get(
|
|
97
|
+
customElements.get(i(e)) || E();
|
|
94
98
|
break;
|
|
95
99
|
case "gids-pie-chart":
|
|
96
|
-
customElements.get(
|
|
100
|
+
customElements.get(i(e)) || D();
|
|
97
101
|
break;
|
|
98
102
|
case "gids-progress-circle":
|
|
99
|
-
customElements.get(
|
|
103
|
+
customElements.get(i(e)) || x();
|
|
100
104
|
}
|
|
101
105
|
}));
|
|
102
106
|
}
|
|
103
107
|
g();
|
|
104
|
-
const
|
|
108
|
+
const F = c, X = g;
|
|
105
109
|
export {
|
|
106
|
-
|
|
107
|
-
|
|
110
|
+
F as GidsChart,
|
|
111
|
+
X as defineCustomElement
|
|
108
112
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { L as r, u as d, z as l, D as s, q as
|
|
1
|
+
import { L as r, u as d, z as l, D as s, q as t } from "./p-Bf3p-DY2-CPqEc-vc.js";
|
|
2
2
|
import { i as c } from "./p-B2zUuNXz-BLBgQDu7.js";
|
|
3
3
|
import { d as h } from "./p-D4Pimu_8-ARSuGBs4.js";
|
|
4
4
|
import { c as g } from "./clsx-OuTLNxxd.js";
|
|
@@ -10,12 +10,12 @@ const u = ({ size: e }, o) => g("gids-chevron-button", {
|
|
|
10
10
|
}, o), b = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
11
11
|
__proto__: null,
|
|
12
12
|
getGidsChevronButtonClassNames: u
|
|
13
|
-
}, Symbol.toStringTag, { value: "Module" })), { getGidsChevronButtonClassNames:
|
|
13
|
+
}, Symbol.toStringTag, { value: "Module" })), { getGidsChevronButtonClassNames: a } = b, i = r(class extends d {
|
|
14
14
|
constructor(e) {
|
|
15
15
|
super(), e !== !1 && this.__registerHost(), this.__attachShadow(), this.gidsChevronButton = l(this, "gidsChevronButton"), this.activeClasses = "", this.size = "xs";
|
|
16
16
|
}
|
|
17
17
|
handleExtraClassesAndSizeChange(e) {
|
|
18
|
-
this.activeClasses =
|
|
18
|
+
this.activeClasses = a({ size: this.size }, e);
|
|
19
19
|
}
|
|
20
20
|
handleSizeChange(e) {
|
|
21
21
|
this.size = e;
|
|
@@ -25,13 +25,13 @@ const u = ({ size: e }, o) => g("gids-chevron-button", {
|
|
|
25
25
|
}
|
|
26
26
|
connectedCallback() {
|
|
27
27
|
const e = c();
|
|
28
|
-
e !== void 0 && this._el.shadowRoot?.adoptedStyleSheets.push(e), this.activeClasses =
|
|
28
|
+
e !== void 0 && this._el.shadowRoot?.adoptedStyleSheets.push(e), this.activeClasses = a({ size: this.size }, this.extraClasses);
|
|
29
29
|
}
|
|
30
30
|
componentDidLoad() {
|
|
31
|
-
this.activeClasses =
|
|
31
|
+
this.activeClasses = a({ size: this.size }, this.extraClasses);
|
|
32
32
|
}
|
|
33
33
|
render() {
|
|
34
|
-
return s("button", { key: "
|
|
34
|
+
return s("button", { key: "a1c30fde2d8aff13a5e551367128bb46395852a5", class: this.activeClasses, slot: "trailingAccessory", type: "button", onClick: (e) => this.gidsChevronButton.emit(e), "aria-label": this?.ariaLabel ?? "", "aria-expanded": this?.ariaExpanded ?? "", "aria-haspopup": this?.ariaHaspopup ?? "", "aria-controls": this?.ariaControls ?? "", disabled: this.disabled, tabIndex: -1 }, s("span", { key: "de96f913b55181f644c5a2c833a6c554a4850366", class: "gids-button__content" }, s(h, { key: "b84a838fbfaaa5f0860bc1ca7f7e38b24006a896", name: "chevron-vertical", alt: "" })));
|
|
35
35
|
}
|
|
36
36
|
get _el() {
|
|
37
37
|
return this;
|
|
@@ -45,7 +45,7 @@ const u = ({ size: e }, o) => g("gids-chevron-button", {
|
|
|
45
45
|
}, [1, "gids-chevron-button", { extraClasses: [513, "extra-classes"], size: [513], disabled: [516], ariaLabel: [513, "aria-label"], ariaHaspopup: [513, "aria-haspopup"], ariaExpanded: [513, "aria-expanded"], ariaControls: [513, "aria-controls"], activeClasses: [32] }, void 0, { extraClasses: [{ handleExtraClassesAndSizeChange: 0 }], size: [{ handleExtraClassesAndSizeChange: 0 }, { handleSizeChange: 0 }], disabled: [{ handleDisabledChange: 0 }] }]);
|
|
46
46
|
function n() {
|
|
47
47
|
typeof customElements < "u" && ["gids-chevron-button"].forEach(((e) => {
|
|
48
|
-
e === "gids-chevron-button" && (customElements.get(
|
|
48
|
+
e === "gids-chevron-button" && (customElements.get(t(e)) || customElements.define(t(e), i));
|
|
49
49
|
}));
|
|
50
50
|
}
|
|
51
51
|
n();
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { L as n, u as d, D as s, q as a } from "./p-Bf3p-DY2-CPqEc-vc.js";
|
|
2
2
|
import { a as r } from "./p-Dg2yoUxw-Cca8ROd_.js";
|
|
3
|
-
import { l } from "./p-
|
|
4
|
-
import { h } from "./p-
|
|
5
|
-
import { r as c } from "./p-
|
|
3
|
+
import { l } from "./p-BYt-9DKT-DByyhIUd.js";
|
|
4
|
+
import { h } from "./p-CatvDz2b-C-Hlv2Xb.js";
|
|
5
|
+
import { r as c } from "./p-CnVmK0dH-CbmnN-RR.js";
|
|
6
6
|
import { g as u } from "./p-D4Pimu_8-ARSuGBs4.js";
|
|
7
7
|
const i = n(class extends d {
|
|
8
8
|
constructor(e) {
|
|
@@ -51,7 +51,7 @@ const i = n(class extends d {
|
|
|
51
51
|
}
|
|
52
52
|
render() {
|
|
53
53
|
const e = this.inputProps?.id ?? this.#e, t = { ...this.inputProps, id: e, placeholder: this.inputProps?.placeholder ?? "Please select an option" };
|
|
54
|
-
return s("gids-field", { key: "
|
|
54
|
+
return s("gids-field", { key: "94cb0cfdef5a4a29c4ae16c08e1f4dd8db14dbe9", disabled: this.disabled, helperText: this.helperText, statusText: this.statusText, status: this.status }, this.label !== void 0 ? s(r, { slot: "label", disabled: this.disabled, htmlFor: e, fieldRequirement: this.required ? "required" : void 0 }, this.label) : null, s("gids-dropdown", { key: "78f5a791c4a1cca195f622c2f512a03405d50501", appearance: this.appearance, expanded: this.expanded, inputProps: t, disabled: this.disabled, readOnly: this.readOnly, loading: this.loading, value: this.value, name: this.name, onSelectionChange: this.handleSelectionChange, onFocus: this.handleDropdownFocusAndBlur, onBlur: this.handleDropdownFocusAndBlur, required: this.required }, s("slot", { key: "08717bc75825d773321abb18c3ce7fbebc00eb10", name: "leadingIconDropdown" }), s("slot", { key: "ec873bdaef7fb6bbfba133bcf78568671cfb7fac", name: "leadingAccessoryDropdown" }), s("slot", { key: "e59462de6af0edacdb0fa6664cab6048f63ece18" })));
|
|
55
55
|
}
|
|
56
56
|
static get formAssociated() {
|
|
57
57
|
return !0;
|
|
@@ -81,8 +81,8 @@ function o() {
|
|
|
81
81
|
}));
|
|
82
82
|
}
|
|
83
83
|
o();
|
|
84
|
-
const
|
|
84
|
+
const w = i, V = o;
|
|
85
85
|
export {
|
|
86
|
-
|
|
86
|
+
w as GidsDropdownField,
|
|
87
87
|
V as defineCustomElement
|
|
88
88
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as s, d as o } from "./p-
|
|
2
|
-
const e = s,
|
|
1
|
+
import { r as s, d as o } from "./p-jzl-rPxB-CC735zJp.js";
|
|
2
|
+
const e = s, i = o;
|
|
3
3
|
export {
|
|
4
4
|
e as GidsExpansionBodyListItem,
|
|
5
|
-
|
|
5
|
+
i as defineCustomElement
|
|
6
6
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { L as r, u as L, D as d, P as y, q as p } from "./p-Bf3p-DY2-CPqEc-vc.js";
|
|
2
|
-
import { d as h } from "./p-
|
|
2
|
+
import { d as h } from "./p-jzl-rPxB-CC735zJp.js";
|
|
3
3
|
import { c as m } from "./clsx-OuTLNxxd.js";
|
|
4
4
|
const u = (e) => m("gids-expansion-body-list", e), E = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5
5
|
__proto__: null,
|
|
@@ -47,7 +47,7 @@ const u = (e) => m("gids-expansion-body-list", e), E = /* @__PURE__ */ Object.fr
|
|
|
47
47
|
}
|
|
48
48
|
render() {
|
|
49
49
|
const e = B();
|
|
50
|
-
return d(y, { key: "
|
|
50
|
+
return d(y, { key: "e9975df4219cc0a8a2d8b3a4ae4c03234fcd39dd", class: e }, (this?.expansionBodyListItems ?? []).map(((t, s) => d("gids-expansion-body-list-item", { key: "" + (s + 1), ...t, onSubtitlePress: (i) => this.handleExpansionBodyListSubtitleClick({ detail: i, expansionBodyListItem: t }), onSupportingTextPress: (i) => this.handleExpansionBodyListSupportingTextClick({ detail: i, expansionBodyListItem: t }) }))));
|
|
51
51
|
}
|
|
52
52
|
get hostElement() {
|
|
53
53
|
return this;
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { L as
|
|
2
|
-
import { c } from "./clsx-OuTLNxxd.js";
|
|
3
|
-
const
|
|
1
|
+
import { L as r, u as i, D as e, P as a, q as o } from "./p-Bf3p-DY2-CPqEc-vc.js";
|
|
2
|
+
import { c as d } from "./clsx-OuTLNxxd.js";
|
|
3
|
+
const p = (s) => d("gids-expansion-group", s), u = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4
4
|
__proto__: null,
|
|
5
|
-
getGidsExpansionGroupClassNames:
|
|
6
|
-
}, Symbol.toStringTag, { value: "Module" })), { getGidsExpansionGroupClassNames:
|
|
7
|
-
constructor(
|
|
8
|
-
super(),
|
|
5
|
+
getGidsExpansionGroupClassNames: p
|
|
6
|
+
}, Symbol.toStringTag, { value: "Module" })), { getGidsExpansionGroupClassNames: c } = u, t = r(class extends i {
|
|
7
|
+
constructor(s) {
|
|
8
|
+
super(), s !== !1 && this.__registerHost();
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
const
|
|
12
|
-
return
|
|
11
|
+
const s = c();
|
|
12
|
+
return e(a, { key: "3bd92428913c3c35bdb7a639d472ff6064e62baf", class: s }, e("slot", { key: "0be723a0821f0a5b80f1d042fe318da03f8d2fb6" }));
|
|
13
13
|
}
|
|
14
14
|
static get style() {
|
|
15
15
|
return ".gids-expansion-group{display:flex;flex-direction:column;width:100%}";
|
|
16
16
|
}
|
|
17
17
|
}, [260, "gids-expansion-group"]);
|
|
18
18
|
function n() {
|
|
19
|
-
typeof customElements < "u" && ["gids-expansion-group"].forEach(((
|
|
20
|
-
|
|
19
|
+
typeof customElements < "u" && ["gids-expansion-group"].forEach(((s) => {
|
|
20
|
+
s === "gids-expansion-group" && (customElements.get(o(s)) || customElements.define(o(s), t));
|
|
21
21
|
}));
|
|
22
22
|
}
|
|
23
23
|
n();
|
|
24
|
-
const
|
|
24
|
+
const g = t, m = n;
|
|
25
25
|
export {
|
|
26
|
-
|
|
26
|
+
g as GidsExpansionGroup,
|
|
27
27
|
m as defineCustomElement
|
|
28
28
|
};
|
|
@@ -31,8 +31,8 @@ const c = ({ expanded: e }, n) => h("gids-expansion", {
|
|
|
31
31
|
checkSlotContent() {
|
|
32
32
|
const e = this.hostElement.querySelector(".gids-expansion__content");
|
|
33
33
|
if (e) {
|
|
34
|
-
const n = e.children.length > 0,
|
|
35
|
-
this.hasContent = n ||
|
|
34
|
+
const n = e.children.length > 0, d = !!e.textContent && e.textContent.trim().length > 0;
|
|
35
|
+
this.hasContent = n || d;
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
isInteractive() {
|
|
@@ -65,7 +65,7 @@ const c = ({ expanded: e }, n) => h("gids-expansion", {
|
|
|
65
65
|
}
|
|
66
66
|
render() {
|
|
67
67
|
const e = _({ expanded: this.isExpanded() && this.isInteractive() }), n = this.label;
|
|
68
|
-
return i(l, { key: "
|
|
68
|
+
return i(l, { key: "9b88ef922cde963c110f1161e47929cbc0039429", class: e }, i("button", { key: "6a5797ed8b685365a2010aa7acf6569b11435b39", onClick: this.handleExpansionClick, class: p("gids-expansion__container", { "gids-expansion__disabled": this.disabled }), disabled: this.disabled, type: "button" }, this.isHavingLabelValue() ? i("span", { class: this.getLabelClass() }, n) : void 0, this.isInteractive() ? i(g, { name: "chevron-down", size: this.getIconSize(), appearance: "filled" }) : void 0), i("div", { key: "c23cd15f9f7886c331edda0990bf06c826866642", class: "gids-expansion__body", "aria-hidden": this.isExpanded() ? "false" : "true" }, i("div", { key: "4bb770ab65e0cbea3fe92593d518ef0e5f4beb11", class: "gids-expansion__content" }, i("slot", { key: "5eeafc07a137a3517948e846851451f76655ff45" }))));
|
|
69
69
|
}
|
|
70
70
|
get hostElement() {
|
|
71
71
|
return this;
|
|
@@ -77,13 +77,13 @@ const c = ({ expanded: e }, n) => h("gids-expansion", {
|
|
|
77
77
|
return '.gids-expansion{display:flex;align-items:center;position:relative;padding:var(--gids-padding-vertical-edge-to-element-300) 0}.gids-expansion:not(.gids-expansion--expanded):not([expanded])::after{content:"";position:absolute;bottom:0;left:0;width:100%;height:1px;background-color:var(--gids-color-border-default);transition:background 0.3s ease-in-out;z-index:1}.gids-expansion:not(.gids-expansion--expanded):not([expanded])::before{content:"";position:absolute;bottom:0;left:0;width:100%;height:2px;background:linear-gradient(to right, transparent 0%, transparent 25%, var(--gids-color-background-selected-pressed) 45%, var(--gids-color-background-selected-pressed) 55%, transparent 75%, transparent 100%);opacity:0;transition:opacity 0.3s ease-in-out;z-index:2}.gids-expansion:not(.gids-expansion--expanded):not([expanded]):has(.gids-expansion__container:hover):not([disabled=true]):not([disabled]):not(.gids-expansion__disabled)::after{background:linear-gradient(to right, var(--gids-color-border-default) 0%, var(--gids-color-border-default) 15%, var(--gids-color-background-selected-pressed) 45%, var(--gids-color-background-selected-pressed) 70%, var(--gids-color-border-default) 90%, var(--gids-color-border-default) 100%)}.gids-expansion:not(.gids-expansion--expanded):not([expanded]):has(.gids-expansion__container:hover):not([disabled=true]):not([disabled]):not(.gids-expansion__disabled)::before{opacity:1}.gids-expansion:not(.gids-expansion--expanded):not([expanded]):has(.gids-expansion__container:hover):not([disabled=true]):not([disabled]):not(.gids-expansion__disabled) .gids-expansion__level-h1{color:var(--gids-color-background-brand-bold-default)}.gids-expansion:not(.gids-expansion--expanded):not([expanded]):has(.gids-expansion__container:hover):not([disabled=true]):not([disabled]):not(.gids-expansion__disabled) .gids-expansion__level-h2{color:var(--gids-color-background-brand-bold-default)}.gids-expansion:not(.gids-expansion--expanded):not([expanded]):has(.gids-expansion__container:hover):not([disabled=true]):not([disabled]):not(.gids-expansion__disabled) .gids-expansion__level-h3{color:var(--gids-color-background-brand-bold-default)}.gids-expansion:not(.gids-expansion--expanded):not([expanded]):has(.gids-expansion__container:hover):not([disabled=true]):not([disabled]):not(.gids-expansion__disabled) .gids-icon{--gidsIcon-color:var(--gids-color-background-brand-bold-default)}.gids-expansion__container{margin:0;padding:0;appearance:none;border:none;background:none;cursor:pointer;display:flex;align-items:center;gap:var(--gids-gap-050);white-space:nowrap;color:var(--gids-color-text-default)}.gids-expansion__container gids-icon,.gids-expansion__container .gids-icon,.gids-expansion__container GidsIcon,.gids-expansion__container svg{display:inline-block;transform:rotate3d(0, 0, 1, 0deg);transition:transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);transform-origin:center center;backface-visibility:hidden}.gids-expansion__level-h1{font-family:var(--gids-typography-heading-medium__font-family);font-size:var(--gids-typography-heading-medium__font-size);font-weight:var(--gids-typography-heading-medium__font-weight);letter-spacing:var(--gids-typography-heading-medium__letter-spacing);line-height:var(--gids-typography-heading-medium__line-height);text-transform:var(--gids-typography-heading-medium__text-transform, inherit);font-variant-caps:var(--gids-typography-heading-medium__font-variant-caps, inherit)}.gids-expansion__level-h2{font-family:var(--gids-typography-heading-small__font-family);font-size:var(--gids-typography-heading-small__font-size);font-weight:var(--gids-typography-heading-small__font-weight);letter-spacing:var(--gids-typography-heading-small__letter-spacing);line-height:var(--gids-typography-heading-small__line-height);text-transform:var(--gids-typography-heading-small__text-transform, inherit);font-variant-caps:var(--gids-typography-heading-small__font-variant-caps, inherit)}.gids-expansion__level-h3{font-family:var(--gids-typography-heading-x-small__font-family);font-size:var(--gids-typography-heading-x-small__font-size);font-weight:var(--gids-typography-heading-x-small__font-weight);letter-spacing:var(--gids-typography-heading-x-small__letter-spacing);line-height:var(--gids-typography-heading-x-small__line-height);text-transform:var(--gids-typography-heading-x-small__text-transform, inherit);font-variant-caps:var(--gids-typography-heading-x-small__font-variant-caps, inherit)}.gids-expansion__body{position:absolute;top:100%;left:0;width:100%;z-index:10;transform:scaleY(0);transform-origin:top center;opacity:0;visibility:hidden;transition:transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease, visibility 0.4s;overflow:hidden}.gids-expansion--expanded{position:relative;display:block}.gids-expansion--expanded .gids-expansion__container gids-icon,.gids-expansion--expanded .gids-expansion__container .gids-icon,.gids-expansion--expanded .gids-expansion__container GidsIcon,.gids-expansion--expanded .gids-expansion__container svg{transform:rotate3d(0, 0, 1, -180deg)}.gids-expansion--expanded .gids-expansion__body{position:relative;top:auto;transform:scaleY(1);opacity:1;visibility:visible}.gids-expansion__content{min-height:0;padding:var(--gids-padding-vertical-edge-to-element-500) 0 var(--gids-padding-horizontal-edge-to-element-500)}.gids-expansion__disabled{color:var(--gids-color-text-disabled);cursor:not-allowed}.gids-expansion__disabled .gids-icon{--gidsIcon-color:var(--gids-color-icon-disabled)}';
|
|
78
78
|
}
|
|
79
79
|
}, [260, "gids-expansion", { expansionId: [1, "expansion-id"], label: [1], labelLevel: [1, "label-level"], expanded: [516], disabled: [516], onExpand: [16], hasContent: [32] }, void 0, { disabled: [{ handleDisabledChange: 0 }], expanded: [{ handleExpandedChange: 0 }], labelLevel: [{ handleLabelLevelChange: 0 }] }]);
|
|
80
|
-
function
|
|
80
|
+
function t() {
|
|
81
81
|
typeof customElements < "u" && ["gids-expansion"].forEach(((e) => {
|
|
82
82
|
e === "gids-expansion" && (customElements.get(a(e)) || customElements.define(a(e), s));
|
|
83
83
|
}));
|
|
84
84
|
}
|
|
85
|
-
|
|
86
|
-
const u = s, y =
|
|
85
|
+
t();
|
|
86
|
+
const u = s, y = t;
|
|
87
87
|
export {
|
|
88
88
|
u as GidsExpansion,
|
|
89
89
|
y as defineCustomElement
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r
|
|
2
|
-
const
|
|
1
|
+
import { r, a as e } from "./p-_HwuS8vK-C0w4T5rV.js";
|
|
2
|
+
const t = r, o = e;
|
|
3
3
|
export {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
t as GidsFilter,
|
|
5
|
+
o as defineCustomElement
|
|
6
6
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { c as t, r as e } from "./p-
|
|
2
|
-
const
|
|
1
|
+
import { c as t, r as e } from "./p-CnVmK0dH-CbmnN-RR.js";
|
|
2
|
+
const o = t, s = e;
|
|
3
3
|
export {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
o as GidsInput,
|
|
5
|
+
s as defineCustomElement
|
|
6
6
|
};
|