@ganpatiinfo/gids-core-web 10.2.0 → 12.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 +525 -3
- package/dist/css/index.css.map +1 -1
- package/dist/gids-action-bar.d.ts +1 -1
- package/dist/gids-action-bar.js +1 -1
- package/dist/gids-activity-gauge.d.ts +1 -1
- package/dist/gids-activity-gauge.js +1 -1
- package/dist/gids-bar-chart.d.ts +1 -1
- package/dist/gids-bar-chart.js +1 -1
- package/dist/gids-calendar-header-panel.d.ts +1 -1
- package/dist/gids-calendar-header-panel.js +1 -1
- package/dist/gids-calendar-month-list.d.ts +1 -1
- package/dist/gids-calendar-month-list.js +1 -1
- package/dist/gids-calendar-year-list.d.ts +1 -1
- package/dist/gids-calendar-year-list.js +1 -1
- package/dist/gids-calendar.d.ts +1 -1
- package/dist/gids-calendar.js +1 -1
- package/dist/gids-chart-legend-item.d.ts +1 -1
- package/dist/gids-chart-legend-item.js +1 -1
- package/dist/gids-chart-legend.d.ts +1 -1
- package/dist/gids-chart-legend.js +1 -1
- package/dist/gids-chart.d.ts +1 -1
- package/dist/gids-chart.js +1 -1
- package/dist/gids-chevron-button.d.ts +1 -1
- package/dist/gids-chevron-button.js +1 -1
- package/dist/gids-dot.d.ts +1 -1
- package/dist/gids-dot.js +1 -1
- package/dist/gids-dropdown-field.d.ts +1 -1
- package/dist/gids-dropdown-field.js +1 -1
- package/dist/gids-dropdown-picker.d.ts +1 -1
- package/dist/gids-dropdown-picker.js +1 -1
- package/dist/gids-dropdown.d.ts +1 -1
- package/dist/gids-dropdown.js +1 -1
- package/dist/gids-expansion-body-list-item.d.ts +11 -0
- package/dist/gids-expansion-body-list-item.js +1 -0
- package/dist/gids-expansion-body-list.d.ts +11 -0
- package/dist/gids-expansion-body-list.js +1 -0
- package/dist/gids-expansion-group.d.ts +11 -0
- package/dist/gids-expansion-group.js +1 -0
- package/dist/gids-expansion.d.ts +11 -0
- package/dist/gids-expansion.js +1 -0
- package/dist/gids-field.d.ts +1 -1
- package/dist/gids-field.js +1 -1
- package/dist/gids-filter.d.ts +1 -1
- package/dist/gids-filter.js +1 -1
- package/dist/gids-icon.d.ts +1 -1
- package/dist/gids-icon.js +1 -1
- package/dist/gids-input.d.ts +1 -1
- package/dist/gids-input.js +1 -1
- package/dist/gids-level-gauge.d.ts +1 -1
- package/dist/gids-line-chart.d.ts +1 -1
- package/dist/gids-line-chart.js +1 -1
- package/dist/gids-md-table.d.ts +11 -0
- package/dist/gids-md-table.js +1 -0
- package/dist/gids-notification.d.ts +1 -1
- package/dist/gids-overflow-container.d.ts +1 -1
- package/dist/gids-overflow-container.js +1 -1
- package/dist/gids-overlay-provider.d.ts +1 -1
- package/dist/gids-overlay-provider.js +1 -1
- package/dist/gids-password-field.d.ts +1 -1
- package/dist/gids-password-field.js +1 -1
- package/dist/gids-pie-chart.d.ts +1 -1
- package/dist/gids-pie-chart.js +1 -1
- package/dist/gids-popover.d.ts +1 -1
- package/dist/gids-popover.js +1 -1
- package/dist/gids-progress-circle.d.ts +1 -1
- package/dist/gids-scrim.d.ts +1 -1
- package/dist/gids-scrim.js +1 -1
- package/dist/gids-snackbar.d.ts +1 -1
- package/dist/gids-tab-item.d.ts +1 -1
- package/dist/gids-tab-item.js +1 -1
- package/dist/gids-tab.d.ts +1 -1
- package/dist/gids-tab.js +1 -1
- package/dist/gids-text-field.d.ts +1 -1
- package/dist/gids-text-field.js +1 -1
- package/dist/gids-toggle-button.d.ts +1 -1
- package/dist/gids-toggle-button.js +1 -1
- package/dist/gids-tooltip.d.ts +1 -1
- package/dist/gids-tooltip.js +1 -1
- package/dist/{p-Jdpe4Sgj.js → p-6APCjBEI.js} +1 -1
- package/dist/{p-qb1aWgjh.js → p-BCVFQSjK.js} +1 -1
- package/dist/{p-Ciw-O9qN.js → p-BSbOhfLZ.js} +1 -1
- package/dist/{p-Doi8Yizl.js → p-BVAtja26.js} +1 -1
- package/dist/{p-8tOn5SjU.js → p-C2O_pGky.js} +1 -1
- package/dist/{p-BfnzH6wp.js → p-C3We7Q8Q.js} +1 -1
- package/dist/p-C3w3wdCt.js +1 -0
- package/dist/{p-BYDimyG-.js → p-C3xv7tfs.js} +1 -1
- package/dist/{p-DoPuGtJd.js → p-C56G7JRy.js} +1 -1
- package/dist/p-CI-sN9Lr.js +1 -0
- package/dist/{p-B1Jgtjhu.js → p-COHuQEfZ.js} +1 -1
- package/dist/p-ChV9xqsO.js +1 -0
- package/dist/{p-C-cUL-aA.js → p-Chqeexny.js} +1 -1
- package/dist/{p-bPPm7cuw.js → p-DO0MyFf4.js} +1 -1
- package/dist/p-DUojHltk.js +1 -0
- package/dist/p-VJAcf53T.js +1 -0
- package/dist/p-_SIWct9h.js +1 -0
- package/dist/{p-5VIPb1eU.js → p-pSb81aE0.js} +1 -1
- package/dist/{p-C7ifjRCE.js → p-ub0GuVHb.js} +1 -1
- package/dist/types/components/html/GidsBasicTableBody/GidsBasicTableBody.d.ts +6 -0
- package/dist/types/components/html/GidsBasicTableCell/GidsBasicTableCell.d.ts +4 -0
- package/dist/types/components/html/GidsBasicTableHead/GidsBasicTableHead.d.ts +11 -0
- package/dist/types/components/html/GidsBasicTableHeader/GidsBasicTableHeader.d.ts +4 -0
- package/dist/types/components/html/GidsBasicTableRow/GidsBasicTableRow.d.ts +4 -0
- package/dist/types/components/html/GidsBsTable/GidsBsTable.d.ts +11 -0
- package/dist/types/components/webComponents/GidsActionBar/GidsActionBar.d.ts +15 -2
- package/dist/types/components/webComponents/GidsExpansion/GidsExpansion.d.ts +24 -0
- package/dist/types/components/webComponents/GidsExpansionBodyList/GidsExpansionBodyList.d.ts +25 -0
- package/dist/types/components/webComponents/GidsExpansionBodyListItem/GidsExpansionBodyListItem.d.ts +38 -0
- package/dist/types/components/webComponents/GidsExpansionGroup/GidsExpansionGroup.d.ts +4 -0
- package/dist/types/components/webComponents/GidsFilter/GidsFilter.d.ts +5 -0
- package/dist/types/components/webComponents/GidsMdTable/GidsMdTable.d.ts +40 -0
- package/dist/types/components.d.ts +323 -6
- package/dist-bundled/es/gids-action-bar.js +168 -126
- package/dist-bundled/es/gids-activity-gauge.js +4 -4
- package/dist-bundled/es/gids-bar-chart.js +3 -3
- package/dist-bundled/es/gids-calendar-header-panel.js +4 -4
- package/dist-bundled/es/gids-calendar-month-list.js +1 -1
- package/dist-bundled/es/gids-calendar-year-list.js +3 -3
- package/dist-bundled/es/gids-calendar.js +7 -7
- package/dist-bundled/es/gids-chart-legend-item.js +1 -1
- package/dist-bundled/es/gids-chart-legend.js +4 -4
- package/dist-bundled/es/gids-chart.js +50 -50
- package/dist-bundled/es/gids-chevron-button.js +7 -7
- package/dist-bundled/es/gids-dot.js +3 -3
- package/dist-bundled/es/gids-dropdown-field.js +4 -4
- package/dist-bundled/es/gids-dropdown-picker.js +2 -2
- package/dist-bundled/es/gids-dropdown.js +1 -1
- package/dist-bundled/es/gids-expansion-body-list-item.js +6 -0
- package/dist-bundled/es/gids-expansion-body-list.js +78 -0
- package/dist-bundled/es/gids-expansion-group.js +28 -0
- package/dist-bundled/es/gids-expansion.js +90 -0
- package/dist-bundled/es/gids-field.js +1 -1
- package/dist-bundled/es/gids-filter.js +4 -4
- package/dist-bundled/es/gids-icon.js +3 -3
- package/dist-bundled/es/gids-input.js +3 -3
- package/dist-bundled/es/gids-line-chart.js +4 -4
- package/dist-bundled/es/gids-md-table.js +165 -0
- package/dist-bundled/es/gids-overflow-container.js +6 -6
- package/dist-bundled/es/gids-overlay-provider.js +1 -1
- package/dist-bundled/es/gids-password-field.js +18 -18
- package/dist-bundled/es/gids-pie-chart.js +4 -4
- package/dist-bundled/es/gids-popover.js +1 -1
- package/dist-bundled/es/gids-scrim.js +7 -7
- package/dist-bundled/es/gids-tab-item.js +6 -6
- package/dist-bundled/es/gids-tab.js +6 -6
- package/dist-bundled/es/gids-text-field.js +12 -12
- package/dist-bundled/es/gids-toggle-button.js +1 -1
- package/dist-bundled/es/gids-tooltip.js +4 -4
- package/dist-bundled/es/{p-Jdpe4Sgj-acwaxLtK.js → p-6APCjBEI-roDSyEYu.js} +5 -5
- package/dist-bundled/es/{p-qb1aWgjh-CzmMPIME.js → p-BCVFQSjK-CKrYrI4b.js} +5 -5
- package/dist-bundled/es/{p-Ciw-O9qN-DkWfirFu.js → p-BSbOhfLZ-ByjjVMqG.js} +7 -7
- package/dist-bundled/es/{p-Doi8Yizl-BszWK5Dq.js → p-BVAtja26-Xjd4_b4e.js} +5 -5
- package/dist-bundled/es/{p-8tOn5SjU-D9rZ28cf.js → p-C2O_pGky-C_30AJ3m.js} +7 -7
- package/dist-bundled/es/{p-BfnzH6wp-BfLC7Nak.js → p-C3We7Q8Q-DT_NDg87.js} +2 -2
- package/dist-bundled/es/{p-DiNad9Px-uOCMHqAq.js → p-C3w3wdCt-I6zwuecb.js} +24 -37
- package/dist-bundled/es/{p-BYDimyG--DBCLrqDJ.js → p-C3xv7tfs-RodXvmql.js} +3 -3
- package/dist-bundled/es/{p-DoPuGtJd-DYlbhh57.js → p-C56G7JRy-B3HO4aVF.js} +2 -2
- package/dist-bundled/es/{p-xITwQAMz-BMXjOAAQ.js → p-CI-sN9Lr-DHC9DyS8.js} +19 -18
- package/dist-bundled/es/{p-B1Jgtjhu-B_VYp-ZP.js → p-COHuQEfZ-C_POuXNC.js} +9 -9
- package/dist-bundled/es/p-ChV9xqsO-CJSPCx6p.js +16 -0
- package/dist-bundled/es/{p-C-cUL-aA-2jsvw-Lr.js → p-Chqeexny-C4hlPbBP.js} +11 -11
- package/dist-bundled/es/{p-bPPm7cuw-B-dtPJF9.js → p-DO0MyFf4-D7XItX1k.js} +5 -5
- package/dist-bundled/es/p-DUojHltk-GyvsWoCM.js +172 -0
- package/dist-bundled/es/p-VJAcf53T-2X0vBJ1A.js +106 -0
- package/dist-bundled/es/{p-Bj28yqMD-Dz1SWSqM.js → p-_SIWct9h-jMYFZ-VO.js} +4 -4
- package/dist-bundled/es/{p-5VIPb1eU-MCAo8JCp.js → p-pSb81aE0-CNrq7SQW.js} +2 -2
- package/dist-bundled/es/{p-C7ifjRCE-CRlorwoN.js → p-ub0GuVHb-C_PFTi1_.js} +9 -9
- package/dist-bundled/umd/gids-action-bar.umd.js +3 -3
- package/dist-bundled/umd/gids-activity-gauge.umd.js +1 -1
- package/dist-bundled/umd/gids-bar-chart.umd.js +1 -1
- package/dist-bundled/umd/gids-calendar-header-panel.umd.js +1 -1
- package/dist-bundled/umd/gids-calendar-month-list.umd.js +1 -1
- package/dist-bundled/umd/gids-calendar-year-list.umd.js +2 -2
- package/dist-bundled/umd/gids-calendar.umd.js +1 -1
- package/dist-bundled/umd/gids-chart-legend-item.umd.js +1 -1
- package/dist-bundled/umd/gids-chart-legend.umd.js +1 -1
- package/dist-bundled/umd/gids-chart.umd.js +2 -2
- 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 +2 -2
- package/dist-bundled/umd/gids-dropdown-picker.umd.js +1 -1
- package/dist-bundled/umd/gids-dropdown.umd.js +2 -2
- package/dist-bundled/umd/gids-expansion-body-list-item.umd.js +5 -0
- package/dist-bundled/umd/gids-expansion-body-list.umd.js +5 -0
- package/dist-bundled/umd/gids-expansion-group.umd.js +5 -0
- package/dist-bundled/umd/gids-expansion.umd.js +5 -0
- package/dist-bundled/umd/gids-field.umd.js +1 -1
- package/dist-bundled/umd/gids-filter.umd.js +3 -3
- package/dist-bundled/umd/gids-icon.umd.js +1 -1
- package/dist-bundled/umd/gids-input.umd.js +2 -2
- package/dist-bundled/umd/gids-line-chart.umd.js +1 -1
- package/dist-bundled/umd/gids-md-table.umd.js +5 -0
- 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 +1 -1
- 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 +2 -2
- package/dist-bundled/umd/gids-text-field.umd.js +2 -2
- 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 +9 -9
- package/package.json +44 -4
- package/dist/p-Bj28yqMD.js +0 -1
- package/dist/p-DiNad9Px.js +0 -1
- package/dist/p-qrjEbv6g.js +0 -1
- package/dist/p-xITwQAMz.js +0 -1
- package/dist-bundled/es/p-qrjEbv6g-ITSp3ky_.js +0 -152
|
@@ -1,65 +1,65 @@
|
|
|
1
|
-
import { L as u, u as m, D as
|
|
2
|
-
import { r as
|
|
3
|
-
import { d as v } from "./p-
|
|
4
|
-
import { g as f } from "./p-
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
1
|
+
import { L as u, u as m, D as s, q as n } from "./p-Bf3p-DY2-CPqEc-vc.js";
|
|
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-pSb81aE0-CNrq7SQW.js";
|
|
4
|
+
import { g as f } from "./p-DO0MyFf4-D7XItX1k.js";
|
|
5
|
+
import { o as k } from "./p-BCVFQSjK-CKrYrI4b.js";
|
|
6
|
+
import { d as _ } from "./p-C3xv7tfs-RodXvmql.js";
|
|
7
7
|
import { h as A } from "./p-Degg_WJz-BLua06el.js";
|
|
8
|
-
import { g as P } from "./p-
|
|
9
|
-
import { c as E } from "./p-
|
|
8
|
+
import { g as P } from "./p-C56G7JRy-B3HO4aVF.js";
|
|
9
|
+
import { c as E } from "./p-C3We7Q8Q-DT_NDg87.js";
|
|
10
10
|
import { d as D } from "./p-CoS0NuDU-CqmDcRWj.js";
|
|
11
11
|
import { c as x } from "./clsx-OuTLNxxd.js";
|
|
12
|
-
const G = (
|
|
12
|
+
const G = (e) => x("gids-chart", e), I = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
13
13
|
__proto__: null,
|
|
14
14
|
getGidsChartClassNames: G
|
|
15
15
|
}, Symbol.toStringTag, { value: "Module" })), { getGidsChartClassNames: L } = I, c = u(class extends m {
|
|
16
|
-
constructor(
|
|
17
|
-
super(),
|
|
18
|
-
const
|
|
19
|
-
return !(!
|
|
16
|
+
constructor(e) {
|
|
17
|
+
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
|
+
const r = this.getChartTypes(), a = this.chartType;
|
|
19
|
+
return !(!a || !r.includes(a));
|
|
20
20
|
}, this.isChartDataValid = () => {
|
|
21
|
-
const
|
|
22
|
-
if (
|
|
23
|
-
const
|
|
24
|
-
return Array.isArray(t) && t.length > 0 && Array.isArray(
|
|
21
|
+
const r = this.chartType;
|
|
22
|
+
if (r === "line-chart") {
|
|
23
|
+
const a = this.lineChartProps, t = a?.chartData ?? [], i = t?.[0]?.data ?? [];
|
|
24
|
+
return Array.isArray(t) && t.length > 0 && Array.isArray(i) && i.length > 0;
|
|
25
25
|
}
|
|
26
|
-
if (
|
|
27
|
-
const
|
|
28
|
-
return Array.isArray(t) && t.length > 0 && Array.isArray(
|
|
26
|
+
if (r === "bar-chart") {
|
|
27
|
+
const a = this.barChartProps, t = a?.chartData ?? [], i = t?.[0]?.data ?? [];
|
|
28
|
+
return Array.isArray(t) && t.length > 0 && Array.isArray(i) && i.length > 0;
|
|
29
29
|
}
|
|
30
|
-
if (
|
|
31
|
-
const
|
|
30
|
+
if (r === "pie-chart") {
|
|
31
|
+
const a = this.pieChartProps, t = a?.chartData ?? [];
|
|
32
32
|
return Array.isArray(t) && t.length > 0;
|
|
33
33
|
}
|
|
34
|
-
if (
|
|
35
|
-
const
|
|
34
|
+
if (r === "activity-gauge") {
|
|
35
|
+
const a = this.activityGaugeProps, t = a?.chartData ?? [];
|
|
36
36
|
return Array.isArray(t) && t.length > 0;
|
|
37
37
|
}
|
|
38
|
-
return
|
|
38
|
+
return r === "level-gauge" || r === "progress-circle" || r === "radar-chart";
|
|
39
39
|
}, this.getChartTypeText = () => {
|
|
40
|
-
const
|
|
41
|
-
if (
|
|
42
|
-
const
|
|
40
|
+
const r = this.chartType;
|
|
41
|
+
if (r) {
|
|
42
|
+
const a = r.split("-");
|
|
43
43
|
let t = "";
|
|
44
|
-
return
|
|
45
|
-
t =
|
|
44
|
+
return a.map(((i, o) => {
|
|
45
|
+
t = o === 0 ? "" + i : `${t} ${i}`;
|
|
46
46
|
})), t;
|
|
47
47
|
}
|
|
48
48
|
return "";
|
|
49
49
|
};
|
|
50
50
|
}
|
|
51
|
-
handleBreakpointChange(
|
|
52
|
-
this.breakpoint =
|
|
51
|
+
handleBreakpointChange(e) {
|
|
52
|
+
this.breakpoint = e;
|
|
53
53
|
}
|
|
54
|
-
handleChartTypeChange(
|
|
55
|
-
this.chartType =
|
|
54
|
+
handleChartTypeChange(e) {
|
|
55
|
+
this.chartType = e;
|
|
56
56
|
}
|
|
57
57
|
render() {
|
|
58
|
-
if (!this.isChartTypeValid()) return
|
|
59
|
-
const
|
|
60
|
-
if (!
|
|
61
|
-
const
|
|
62
|
-
return
|
|
58
|
+
if (!this.isChartTypeValid()) return s("div", { class: "gids-chart__no-data" }, s(h, { title: y, supportingText: b(this.getChartTypes().join(", ")) }));
|
|
59
|
+
const e = this.isChartDataValid(), r = this.getChartTypeText();
|
|
60
|
+
if (!e) return s("div", { class: "gids-activity-gauge__no-data" }, s(h, { title: T, supportingText: C(r) }));
|
|
61
|
+
const a = L(), t = this.chartType, i = this.barChartProps, o = this.pieChartProps, l = this.activityGaugeProps, d = this.levelGaugeProps, p = this.progressCircleProps;
|
|
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", { ...i, breakpoint: this.breakpoint }) : null, t === "pie-chart" ? s("gids-pie-chart", { ...o, 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
63
|
}
|
|
64
64
|
static get watchers() {
|
|
65
65
|
return { breakpoint: [{ handleBreakpointChange: 0 }], chartType: [{ handleChartTypeChange: 0 }] };
|
|
@@ -69,34 +69,34 @@ const G = (r) => x("gids-chart", r), I = /* @__PURE__ */ Object.freeze(/* @__PUR
|
|
|
69
69
|
}
|
|
70
70
|
}, [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
71
|
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(((
|
|
73
|
-
switch (
|
|
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
|
+
switch (e) {
|
|
74
74
|
case "gids-chart":
|
|
75
|
-
customElements.get(n(
|
|
75
|
+
customElements.get(n(e)) || customElements.define(n(e), c);
|
|
76
76
|
break;
|
|
77
77
|
case "gids-activity-gauge":
|
|
78
|
-
customElements.get(n(
|
|
78
|
+
customElements.get(n(e)) || v();
|
|
79
79
|
break;
|
|
80
80
|
case "gids-bar-chart":
|
|
81
|
-
customElements.get(n(
|
|
81
|
+
customElements.get(n(e)) || f();
|
|
82
82
|
break;
|
|
83
83
|
case "gids-chart-legend":
|
|
84
|
-
customElements.get(n(
|
|
84
|
+
customElements.get(n(e)) || k();
|
|
85
85
|
break;
|
|
86
86
|
case "gids-chart-legend-item":
|
|
87
|
-
customElements.get(n(
|
|
87
|
+
customElements.get(n(e)) || _();
|
|
88
88
|
break;
|
|
89
89
|
case "gids-level-gauge":
|
|
90
|
-
customElements.get(n(
|
|
90
|
+
customElements.get(n(e)) || A();
|
|
91
91
|
break;
|
|
92
92
|
case "gids-line-chart":
|
|
93
|
-
customElements.get(n(
|
|
93
|
+
customElements.get(n(e)) || P();
|
|
94
94
|
break;
|
|
95
95
|
case "gids-pie-chart":
|
|
96
|
-
customElements.get(n(
|
|
96
|
+
customElements.get(n(e)) || E();
|
|
97
97
|
break;
|
|
98
98
|
case "gids-progress-circle":
|
|
99
|
-
customElements.get(n(
|
|
99
|
+
customElements.get(n(e)) || D();
|
|
100
100
|
}
|
|
101
101
|
}));
|
|
102
102
|
}
|
|
@@ -2,15 +2,15 @@ import { L as r, u as d, z as l, D as s, q as a } 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-DfEGRQGf.js";
|
|
4
4
|
import { c as g } from "./clsx-OuTLNxxd.js";
|
|
5
|
-
const
|
|
5
|
+
const u = ({ size: e }, o) => g("gids-chevron-button", {
|
|
6
6
|
// 'gids-chevron-button--xs': size === 'xs', // By default xs
|
|
7
7
|
"gids-chevron-button--sm": e === "sm",
|
|
8
8
|
"gids-chevron-button--md": e === "md",
|
|
9
9
|
"gids-chevron-button--lg": e === "lg"
|
|
10
|
-
}, o),
|
|
10
|
+
}, o), b = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
11
11
|
__proto__: null,
|
|
12
|
-
getGidsChevronButtonClassNames:
|
|
13
|
-
}, Symbol.toStringTag, { value: "Module" })), { getGidsChevronButtonClassNames: t } =
|
|
12
|
+
getGidsChevronButtonClassNames: u
|
|
13
|
+
}, Symbol.toStringTag, { value: "Module" })), { getGidsChevronButtonClassNames: t } = 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
|
}
|
|
@@ -31,7 +31,7 @@ const b = ({ size: e }, o) => g("gids-chevron-button", {
|
|
|
31
31
|
this.activeClasses = t({ size: this.size }, this.extraClasses);
|
|
32
32
|
}
|
|
33
33
|
render() {
|
|
34
|
-
return s("button", { key: "
|
|
34
|
+
return s("button", { key: "b56342a076de4718a3f441cb9f71ab2390230f8e", 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: "a3519d694e1d8608a0138084343d55489804dca3", class: "gids-button__content" }, s(h, { key: "720f3b9c0f0dfb59bbccb77029c5a79b4b775a97", name: "chevron-vertical", alt: "" })));
|
|
35
35
|
}
|
|
36
36
|
get _el() {
|
|
37
37
|
return this;
|
|
@@ -49,8 +49,8 @@ function n() {
|
|
|
49
49
|
}));
|
|
50
50
|
}
|
|
51
51
|
n();
|
|
52
|
-
const
|
|
52
|
+
const f = i, z = n;
|
|
53
53
|
export {
|
|
54
|
-
|
|
54
|
+
f as GidsChevronButton,
|
|
55
55
|
z as defineCustomElement
|
|
56
56
|
};
|
|
@@ -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-CI-sN9Lr-DHC9DyS8.js";
|
|
4
|
+
import { h } from "./p-ub0GuVHb-C_PFTi1_.js";
|
|
5
|
+
import { r as c } from "./p-BVAtja26-Xjd4_b4e.js";
|
|
6
6
|
import { g as u } from "./p-D4Pimu_8-DfEGRQGf.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: "20c1747dfcab7f178de45a4046a53f0147425bde", 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: "83ff5c4adf7d7c6b4f65d55332c1ef33cf86dd02", 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: "009165e31cfb3e4d7f2acc9ff2d2b77a0a3c9231", name: "leadingIconDropdown" }), s("slot", { key: "cf07e7454439b586c2dacdd69eebc71d0c99fb59", name: "leadingAccessoryDropdown" }), s("slot", { key: "bdb9dc44043a1b99c9e6cab5069420803c3bb834" })));
|
|
55
55
|
}
|
|
56
56
|
static get formAssociated() {
|
|
57
57
|
return !0;
|
|
@@ -0,0 +1,78 @@
|
|
|
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 { g as h } from "./p-VJAcf53T-2X0vBJ1A.js";
|
|
3
|
+
import { c as m } from "./clsx-OuTLNxxd.js";
|
|
4
|
+
const u = (e) => m("gids-expansion-body-list", e), E = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5
|
+
__proto__: null,
|
|
6
|
+
getGidsExpansionBodyListClassNames: u
|
|
7
|
+
}, Symbol.toStringTag, { value: "Module" })), { getGidsExpansionBodyListClassNames: B } = E, l = r(class extends L {
|
|
8
|
+
constructor(e) {
|
|
9
|
+
super(), e !== !1 && this.__registerHost(), this.expansionBodyListItems = [], this.hasExpansionBodyListSubtitleItemListener = !1, this.hasExpansionBodyListSupportingTextItemListener = !1, this.handleExpansionBodyListSubtitleClick = ({ detail: t, expansionBodyListItem: s }) => {
|
|
10
|
+
this.selectedExpansionListItem = { detail: t, expansionBodyListItem: s }, this.applyExpansionBodyListSubtitleSelection({ detail: t, expansionBodyListItem: s });
|
|
11
|
+
}, this.handleExpansionBodyListSupportingTextClick = ({ detail: t, expansionBodyListItem: s }) => {
|
|
12
|
+
this.selectedExpansionListItem = { detail: t, expansionBodyListItem: s }, this.applyExpansionBodyListSupportingTextSelection({ detail: t, expansionBodyListItem: s });
|
|
13
|
+
}, this.handleExpansionBodyListSubtitleSelect = (t) => {
|
|
14
|
+
const { listItemId: s, label: i, subtitle: n, supportingText: o, listItemPressedType: a } = t.detail;
|
|
15
|
+
this.applyExpansionBodyListSubtitleSelection({ detail: { listItemId: s, label: i, subtitle: n, supportingText: o, listItemPressedType: a, originalEvent: t }, expansionBodyListItem: this.selectedExpansionListItem?.expansionBodyListItem });
|
|
16
|
+
}, this.handleExpansionBodyListSupportingTextSelect = (t) => {
|
|
17
|
+
const { listItemId: s, label: i, subtitle: n, supportingText: o, listItemPressedType: a } = t.detail;
|
|
18
|
+
this.applyExpansionBodyListSupportingTextSelection({ detail: { listItemId: s, label: i, subtitle: n, supportingText: o, listItemPressedType: a, originalEvent: t }, expansionBodyListItem: this.selectedExpansionListItem?.expansionBodyListItem });
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
handleExpansionBodyListItemsChange(e) {
|
|
22
|
+
this.expansionBodyListItems = e;
|
|
23
|
+
}
|
|
24
|
+
connectedCallback() {
|
|
25
|
+
this.attachExpansionBodyListSubtitleItemListener(), this.attachExpansionBodyListSupportingTextItemListener();
|
|
26
|
+
}
|
|
27
|
+
disconnectedCallback() {
|
|
28
|
+
this.detachExpansionBodyListSubtitleItemListener(), this.detachExpansionBodyListSupportingTextItemListener();
|
|
29
|
+
}
|
|
30
|
+
applyExpansionBodyListSubtitleSelection({ detail: e, expansionBodyListItem: t }) {
|
|
31
|
+
this.onExpansionBodyListSubtitlePress && this.onExpansionBodyListSubtitlePress({ ...e, selectedExpansionBodyListItem: t });
|
|
32
|
+
}
|
|
33
|
+
applyExpansionBodyListSupportingTextSelection({ detail: e, expansionBodyListItem: t }) {
|
|
34
|
+
this.onExpansionBodyListSupportingTextPress && this.onExpansionBodyListSupportingTextPress({ ...e, selectedExpansionBodyListItem: t });
|
|
35
|
+
}
|
|
36
|
+
attachExpansionBodyListSubtitleItemListener() {
|
|
37
|
+
this.hasExpansionBodyListSubtitleItemListener || (this.hostElement.addEventListener("onExpansionBodyListSubtitlePress", this.handleExpansionBodyListSubtitleSelect), this.hasExpansionBodyListSubtitleItemListener = !0);
|
|
38
|
+
}
|
|
39
|
+
attachExpansionBodyListSupportingTextItemListener() {
|
|
40
|
+
this.hasExpansionBodyListSupportingTextItemListener || (this.hostElement.addEventListener("onExpansionBodyListSupportingTextPress", this.handleExpansionBodyListSupportingTextSelect), this.hasExpansionBodyListSupportingTextItemListener = !0);
|
|
41
|
+
}
|
|
42
|
+
detachExpansionBodyListSubtitleItemListener() {
|
|
43
|
+
this.hasExpansionBodyListSubtitleItemListener && (this.hostElement.removeEventListener("onExpansionBodyListSubtitlePress", this.handleExpansionBodyListSubtitleSelect), this.hasExpansionBodyListSubtitleItemListener = !1);
|
|
44
|
+
}
|
|
45
|
+
detachExpansionBodyListSupportingTextItemListener() {
|
|
46
|
+
this.hasExpansionBodyListSupportingTextItemListener && (this.hostElement.removeEventListener("onExpansionBodyListSupportingTextPress", this.handleExpansionBodyListSupportingTextSelect), this.hasExpansionBodyListSupportingTextItemListener = !1);
|
|
47
|
+
}
|
|
48
|
+
render() {
|
|
49
|
+
const e = B();
|
|
50
|
+
return d(y, { key: "1a5870a9022eaac94b1dc42c81a661d78cffbe15", 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
|
+
}
|
|
52
|
+
get hostElement() {
|
|
53
|
+
return this;
|
|
54
|
+
}
|
|
55
|
+
static get watchers() {
|
|
56
|
+
return { expansionBodyListItems: [{ handleExpansionBodyListItemsChange: 0 }] };
|
|
57
|
+
}
|
|
58
|
+
static get style() {
|
|
59
|
+
return ".gids-expansion-body-list{display:flex;flex-direction:column;width:100%;gap:var(--gids-gap-400);overflow-y:scroll;overflow-x:hidden}";
|
|
60
|
+
}
|
|
61
|
+
}, [0, "gids-expansion-body-list", { expansionBodyListItems: [16], onExpansionBodyListSubtitlePress: [16], onExpansionBodyListSupportingTextPress: [16], selectedExpansionListItem: [32] }, void 0, { expansionBodyListItems: [{ handleExpansionBodyListItemsChange: 0 }] }]);
|
|
62
|
+
function x() {
|
|
63
|
+
typeof customElements < "u" && ["gids-expansion-body-list", "gids-expansion-body-list-item"].forEach(((e) => {
|
|
64
|
+
switch (e) {
|
|
65
|
+
case "gids-expansion-body-list":
|
|
66
|
+
customElements.get(p(e)) || customElements.define(p(e), l);
|
|
67
|
+
break;
|
|
68
|
+
case "gids-expansion-body-list-item":
|
|
69
|
+
customElements.get(p(e)) || h();
|
|
70
|
+
}
|
|
71
|
+
}));
|
|
72
|
+
}
|
|
73
|
+
x();
|
|
74
|
+
const g = l, b = x;
|
|
75
|
+
export {
|
|
76
|
+
g as GidsExpansionBodyList,
|
|
77
|
+
b as defineCustomElement
|
|
78
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { L as a, u as r, D as s, P as i, q as o } from "./p-Bf3p-DY2-CPqEc-vc.js";
|
|
2
|
+
import { c } from "./clsx-OuTLNxxd.js";
|
|
3
|
+
const d = (e) => c("gids-expansion-group", e), p = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4
|
+
__proto__: null,
|
|
5
|
+
getGidsExpansionGroupClassNames: d
|
|
6
|
+
}, Symbol.toStringTag, { value: "Module" })), { getGidsExpansionGroupClassNames: u } = p, t = a(class extends r {
|
|
7
|
+
constructor(e) {
|
|
8
|
+
super(), e !== !1 && this.__registerHost();
|
|
9
|
+
}
|
|
10
|
+
render() {
|
|
11
|
+
const e = u();
|
|
12
|
+
return s(i, { key: "15cd9ad12d4c3af9ba224728362eb41530aa3cae", class: e }, s("slot", { key: "b6b2831de1ec6ad5ef92afc564b9cc749927d8da" }));
|
|
13
|
+
}
|
|
14
|
+
static get style() {
|
|
15
|
+
return ".gids-expansion-group{display:flex;flex-direction:column;width:100%}";
|
|
16
|
+
}
|
|
17
|
+
}, [260, "gids-expansion-group"]);
|
|
18
|
+
function n() {
|
|
19
|
+
typeof customElements < "u" && ["gids-expansion-group"].forEach(((e) => {
|
|
20
|
+
e === "gids-expansion-group" && (customElements.get(o(e)) || customElements.define(o(e), t));
|
|
21
|
+
}));
|
|
22
|
+
}
|
|
23
|
+
n();
|
|
24
|
+
const f = t, m = n;
|
|
25
|
+
export {
|
|
26
|
+
f as GidsExpansionGroup,
|
|
27
|
+
m as defineCustomElement
|
|
28
|
+
};
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { L as o, u as r, D as i, P as l, q as a } from "./p-Bf3p-DY2-CPqEc-vc.js";
|
|
2
|
+
import { d as g } from "./p-D4Pimu_8-DfEGRQGf.js";
|
|
3
|
+
import { e as p } from "./p-ChV9xqsO-CJSPCx6p.js";
|
|
4
|
+
import { c as h } from "./clsx-OuTLNxxd.js";
|
|
5
|
+
const c = ({ expanded: e }, n) => h("gids-expansion", {
|
|
6
|
+
"gids-expansion--expanded": e
|
|
7
|
+
}, n), x = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
8
|
+
__proto__: null,
|
|
9
|
+
getGidsExpansionClassNames: c
|
|
10
|
+
}, Symbol.toStringTag, { value: "Module" })), { getGidsExpansionClassNames: _ } = x, s = o(class extends r {
|
|
11
|
+
constructor(e) {
|
|
12
|
+
super(), e !== !1 && this.__registerHost(), this.labelLevel = "h1", this.hasContent = !1, this.handleExpansionClick = () => {
|
|
13
|
+
if (this.isInteractive()) {
|
|
14
|
+
const n = !this.isExpanded();
|
|
15
|
+
this.expanded = n, this.onExpand && this.onExpand({ expansionId: this.expansionId, expanded: n, label: this?.label, labelLevel: this?.labelLevel, disabled: this?.disabled });
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
handleDisabledChange(e) {
|
|
20
|
+
this.disabled = e;
|
|
21
|
+
}
|
|
22
|
+
handleExpandedChange(e) {
|
|
23
|
+
this.expanded = e;
|
|
24
|
+
}
|
|
25
|
+
handleLabelLevelChange(e) {
|
|
26
|
+
this.labelLevel = e;
|
|
27
|
+
}
|
|
28
|
+
componentDidLoad() {
|
|
29
|
+
this.checkSlotContent();
|
|
30
|
+
}
|
|
31
|
+
checkSlotContent() {
|
|
32
|
+
const e = this.hostElement.querySelector(".gids-expansion__content");
|
|
33
|
+
if (e) {
|
|
34
|
+
const n = e.children.length > 0, t = !!e.textContent && e.textContent.trim().length > 0;
|
|
35
|
+
this.hasContent = n || t;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
isInteractive() {
|
|
39
|
+
return !this.disabled && this.hasContent;
|
|
40
|
+
}
|
|
41
|
+
isExpanded() {
|
|
42
|
+
return !!this.expanded && this.isInteractive();
|
|
43
|
+
}
|
|
44
|
+
isHavingLabelValue() {
|
|
45
|
+
return !(!this.label || this.label === "");
|
|
46
|
+
}
|
|
47
|
+
getIconSize() {
|
|
48
|
+
switch (this.labelLevel) {
|
|
49
|
+
case "h2":
|
|
50
|
+
case "h3":
|
|
51
|
+
return "md";
|
|
52
|
+
default:
|
|
53
|
+
return "lg";
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
getLabelClass() {
|
|
57
|
+
switch (this.labelLevel) {
|
|
58
|
+
case "h2":
|
|
59
|
+
return "gids-expansion__level-h2";
|
|
60
|
+
case "h3":
|
|
61
|
+
return "gids-expansion__level-h3";
|
|
62
|
+
default:
|
|
63
|
+
return "gids-expansion__level-h1";
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
render() {
|
|
67
|
+
const e = _({ expanded: this.isExpanded() && this.isInteractive() }), n = this.label;
|
|
68
|
+
return i(l, { key: "548d1a5398ae9800ad1cf8b24d7d02a6e4111649", class: e }, i("button", { key: "31618853bbaf5b6389fbaaf008972fef5c70e6ed", 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: "2a62873503236e8f8c5f7739e5d562083ef33765", class: "gids-expansion__body", "aria-hidden": this.isExpanded() ? "false" : "true" }, i("div", { key: "52c4912088ee65ba0a4caa60c9a20f012fc85fa6", class: "gids-expansion__content" }, i("slot", { key: "4d72d3b46fba3becd23d1511b941b038b9a8ee04" }))));
|
|
69
|
+
}
|
|
70
|
+
get hostElement() {
|
|
71
|
+
return this;
|
|
72
|
+
}
|
|
73
|
+
static get watchers() {
|
|
74
|
+
return { disabled: [{ handleDisabledChange: 0 }], expanded: [{ handleExpandedChange: 0 }], labelLevel: [{ handleLabelLevelChange: 0 }] };
|
|
75
|
+
}
|
|
76
|
+
static get style() {
|
|
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
|
+
}
|
|
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 d() {
|
|
81
|
+
typeof customElements < "u" && ["gids-expansion"].forEach(((e) => {
|
|
82
|
+
e === "gids-expansion" && (customElements.get(a(e)) || customElements.define(a(e), s));
|
|
83
|
+
}));
|
|
84
|
+
}
|
|
85
|
+
d();
|
|
86
|
+
const u = s, y = d;
|
|
87
|
+
export {
|
|
88
|
+
u as GidsExpansion,
|
|
89
|
+
y as defineCustomElement
|
|
90
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
const
|
|
1
|
+
import { r as t, a as e } from "./p-DUojHltk-GyvsWoCM.js";
|
|
2
|
+
const r = t, s = e;
|
|
3
3
|
export {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
r as GidsFilter,
|
|
5
|
+
s as defineCustomElement
|
|
6
6
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { d as
|
|
2
|
-
const
|
|
1
|
+
import { d as e, g as t } from "./p-C56G7JRy-B3HO4aVF.js";
|
|
2
|
+
const r = e, s = t;
|
|
3
3
|
export {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
r as GidsLineChart,
|
|
5
|
+
s as defineCustomElement
|
|
6
6
|
};
|