@ganpatiinfo/gids-core-web 10.3.0 → 13.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 +374 -107
- 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-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.d.ts +11 -0
- package/dist/gids-md-table.js +1 -0
- 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-4lN1OdcA.js +1 -0
- package/dist/{p-CD_BHkBE.js → p-6APCjBEI.js} +1 -1
- package/dist/p-BCVFQSjK.js +1 -0
- package/dist/{p-DfrYaprq.js → p-BSbOhfLZ.js} +1 -1
- package/dist/{p-DA_atCAU.js → p-BVAtja26.js} +1 -1
- package/dist/{p-BeP2XcqY.js → p-C2O_pGky.js} +1 -1
- package/dist/p-C2POfZhu.js +1 -0
- package/dist/{p-3Ni1-UuQ.js → p-C3We7Q8Q.js} +1 -1
- package/dist/{p-C4yEV6pT.js → p-C3w3wdCt.js} +1 -1
- package/dist/{p-BQCMjWpK.js → p-C3xv7tfs.js} +1 -1
- package/dist/{p-Ditd1zV7.js → p-C56G7JRy.js} +1 -1
- package/dist/p-CI-sN9Lr.js +1 -0
- package/dist/{p-WHI6NO_h.js → p-COHuQEfZ.js} +1 -1
- package/dist/{p-CkydANOS.js → p-Chqeexny.js} +1 -1
- package/dist/{p-C2PfO9h9.js → p-DO0MyFf4.js} +1 -1
- package/dist/p-DUojHltk.js +1 -0
- package/dist/p-_SIWct9h.js +1 -0
- package/dist/{p-qIkbfIF3.js → p-pSb81aE0.js} +1 -1
- package/dist/{p-BE2G21MT.js → p-ub0GuVHb.js} +1 -1
- package/dist/types/components/html/GidsBasicTableBody/GidsBasicTableBody.d.ts +7 -0
- package/dist/types/components/html/GidsBasicTableCell/GidsBasicTableCell.d.ts +5 -0
- package/dist/types/components/html/GidsBasicTableHead/GidsBasicTableHead.d.ts +11 -0
- package/dist/types/components/html/GidsBasicTableHeader/GidsBasicTableHeader.d.ts +5 -0
- package/dist/types/components/html/GidsBasicTableRow/GidsBasicTableRow.d.ts +5 -0
- package/dist/types/components/html/GidsBsTable/GidsBsTable.d.ts +12 -0
- package/dist/types/components/webComponents/GidsActionBar/GidsActionBar.d.ts +15 -2
- package/dist/types/components/webComponents/GidsExpansionBodyList/GidsExpansionBodyList.d.ts +5 -4
- package/dist/types/components/webComponents/GidsFilter/GidsFilter.d.ts +5 -0
- package/dist/types/components/webComponents/GidsMdTable/GidsMdTable.d.ts +42 -0
- package/dist/types/components.d.ts +199 -12
- 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 +1 -1
- 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 +4 -4
- package/dist-bundled/es/gids-calendar.js +7 -7
- 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 +18 -18
- package/dist-bundled/es/gids-chevron-button.js +2 -2
- package/dist-bundled/es/gids-dot.js +1 -1
- package/dist-bundled/es/gids-dropdown-field.js +5 -5
- package/dist-bundled/es/gids-dropdown-picker.js +2 -2
- package/dist-bundled/es/gids-dropdown.js +4 -4
- package/dist-bundled/es/gids-expansion-body-list-item.js +3 -3
- package/dist-bundled/es/gids-expansion-body-list.js +35 -35
- package/dist-bundled/es/gids-expansion-group.js +5 -5
- package/dist-bundled/es/gids-expansion.js +4 -4
- package/dist-bundled/es/gids-field.js +1 -1
- package/dist-bundled/es/gids-filter.js +2 -2
- package/dist-bundled/es/gids-icon.js +4 -4
- package/dist-bundled/es/gids-input.js +1 -1
- package/dist-bundled/es/gids-line-chart.js +4 -4
- package/dist-bundled/es/gids-md-table.js +170 -0
- package/dist-bundled/es/gids-overflow-container.js +1 -1
- package/dist-bundled/es/gids-overlay-provider.js +2 -2
- package/dist-bundled/es/gids-password-field.js +24 -24
- package/dist-bundled/es/gids-pie-chart.js +1 -1
- package/dist-bundled/es/gids-popover.js +1 -1
- package/dist-bundled/es/gids-scrim.js +6 -6
- package/dist-bundled/es/gids-tab-item.js +6 -6
- package/dist-bundled/es/gids-tab.js +4 -4
- package/dist-bundled/es/gids-text-field.js +16 -16
- package/dist-bundled/es/gids-toggle-button.js +1 -1
- package/dist-bundled/es/gids-tooltip.js +4 -4
- package/dist-bundled/es/{p-DlI2raNo-5V-p1A9Z.js → p-4lN1OdcA-xYP8gbDc.js} +17 -34
- package/dist-bundled/es/{p-CD_BHkBE-DX2546yK.js → p-6APCjBEI-BREg63Xr.js} +5 -5
- package/dist-bundled/es/{p-Cn-t3SGc-CwvvOdlK.js → p-BCVFQSjK-CKrYrI4b.js} +15 -15
- package/dist-bundled/es/{p-DfrYaprq-CeZqb0rn.js → p-BSbOhfLZ-BdEHhmFM.js} +3 -3
- package/dist-bundled/es/{p-DA_atCAU-KdxJYYDE.js → p-BVAtja26-C16IjShX.js} +8 -8
- package/dist-bundled/es/{p-BeP2XcqY-DMXmX4Mc.js → p-C2O_pGky-CP4PN55D.js} +10 -10
- package/dist-bundled/es/p-C2POfZhu-DzG_JxV6.js +24 -0
- package/dist-bundled/es/{p-3Ni1-UuQ-CPn15cat.js → p-C3We7Q8Q-2EoDLj5m.js} +2 -2
- package/dist-bundled/es/{p-C4yEV6pT-8IjLINXB.js → p-C3w3wdCt-BTH-jYlI.js} +6 -6
- package/dist-bundled/es/{p-BQCMjWpK-CLxPNItn.js → p-C3xv7tfs-DHsjc3Ns.js} +4 -4
- package/dist-bundled/es/{p-Ditd1zV7-DdQjXthS.js → p-C56G7JRy-BCGZG2-3.js} +2 -2
- package/dist-bundled/es/{p-DVVJrKxO-Bdl0HX_u.js → p-CI-sN9Lr-BvWzRJw-.js} +20 -19
- package/dist-bundled/es/{p-WHI6NO_h-DHNy0JzV.js → p-COHuQEfZ-DcUxD9TI.js} +11 -11
- package/dist-bundled/es/{p-CkydANOS-CzTX9wng.js → p-Chqeexny-BuJ-PhNi.js} +6 -6
- package/dist-bundled/es/{p-D4Pimu_8-DfEGRQGf.js → p-D4Pimu_8-ARSuGBs4.js} +0 -1
- package/dist-bundled/es/{p-D6lxqcxP-DWrZi1Xi.js → p-D6lxqcxP-C6BOC0kV.js} +1 -1
- package/dist-bundled/es/{p-C2PfO9h9-H_toZwKo.js → p-DO0MyFf4-Ddg5sVMx.js} +5 -5
- package/dist-bundled/es/p-DUojHltk-BQ0ryfLD.js +172 -0
- package/dist-bundled/es/{p-UxDcM-C5-Dr5d_WpJ.js → p-UxDcM-C5-BJO4X0jM.js} +1 -1
- package/dist-bundled/es/{p-KaaOtnwV-D7HTbhvI.js → p-_SIWct9h-jMYFZ-VO.js} +12 -12
- package/dist-bundled/es/{p-qIkbfIF3-B7NovGEi.js → p-pSb81aE0-WzAszFOQ.js} +2 -2
- package/dist-bundled/es/{p-BE2G21MT-WGW-ehxu.js → p-ub0GuVHb-C9vrhXyF.js} +2 -2
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist-bundled/umd/gids-expansion-body-list.umd.js +2 -2
- 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 +3 -3
- 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 +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 +2 -2
- package/dist-bundled/umd/gids-pie-chart.umd.js +1 -1
- 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 +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-2wB6zkno.js +0 -1
- package/dist/p-Cn-t3SGc.js +0 -1
- package/dist/p-DVVJrKxO.js +0 -1
- package/dist/p-DlI2raNo.js +0 -1
- package/dist/p-KaaOtnwV.js +0 -1
- package/dist-bundled/es/p-2wB6zkno-57WAxATm.js +0 -152
|
@@ -1,9 +1,9 @@
|
|
|
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-
|
|
6
|
-
import { g as u } from "./p-D4Pimu_8-
|
|
3
|
+
import { l } from "./p-CI-sN9Lr-BvWzRJw-.js";
|
|
4
|
+
import { h } from "./p-ub0GuVHb-C9vrhXyF.js";
|
|
5
|
+
import { r as c } from "./p-BVAtja26-C16IjShX.js";
|
|
6
|
+
import { g as u } from "./p-D4Pimu_8-ARSuGBs4.js";
|
|
7
7
|
const i = n(class extends d {
|
|
8
8
|
constructor(e) {
|
|
9
9
|
super(), e !== !1 && this.__registerHost(), this.internals = this.attachInternals(), this.appearance = "default", this.expanded = !1, this.#e = u(), this.handleSelectionChange = (t) => {
|
|
@@ -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;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { c as o, l as
|
|
2
|
-
const
|
|
1
|
+
import { c as o, l as e } from "./p-CI-sN9Lr-BvWzRJw-.js";
|
|
2
|
+
const s = o, t = e;
|
|
3
3
|
export {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
s as GidsDropdown,
|
|
5
|
+
t as defineCustomElement
|
|
6
6
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
const e = s,
|
|
1
|
+
import { r as s, d as o } from "./p-4lN1OdcA-xYP8gbDc.js";
|
|
2
|
+
const e = s, r = o;
|
|
3
3
|
export {
|
|
4
4
|
e as GidsExpansionBodyListItem,
|
|
5
|
-
|
|
5
|
+
r as defineCustomElement
|
|
6
6
|
};
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { L as
|
|
2
|
-
import {
|
|
3
|
-
import { c as
|
|
4
|
-
const
|
|
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-4lN1OdcA-xYP8gbDc.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
5
|
__proto__: null,
|
|
6
|
-
getGidsExpansionBodyListClassNames:
|
|
7
|
-
}, Symbol.toStringTag, { value: "Module" })), { getGidsExpansionBodyListClassNames:
|
|
8
|
-
constructor(
|
|
9
|
-
super(),
|
|
10
|
-
this.applyExpansionBodyListSubtitleSelection(s);
|
|
11
|
-
}, this.handleExpansionBodyListSupportingTextClick = (s) => {
|
|
12
|
-
this.applyExpansionBodyListSupportingTextSelection(s);
|
|
13
|
-
}, this.handleExpansionBodyListSubtitleSelect = (
|
|
14
|
-
const { listItemId:
|
|
15
|
-
this.applyExpansionBodyListSubtitleSelection({ listItemId:
|
|
16
|
-
}, this.handleExpansionBodyListSupportingTextSelect = (
|
|
17
|
-
const { listItemId:
|
|
18
|
-
this.applyExpansionBodyListSupportingTextSelection({ listItemId:
|
|
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
19
|
};
|
|
20
20
|
}
|
|
21
|
-
handleExpansionBodyListItemsChange(
|
|
22
|
-
this.expansionBodyListItems =
|
|
21
|
+
handleExpansionBodyListItemsChange(e) {
|
|
22
|
+
this.expansionBodyListItems = e;
|
|
23
23
|
}
|
|
24
24
|
connectedCallback() {
|
|
25
25
|
this.attachExpansionBodyListSubtitleItemListener(), this.attachExpansionBodyListSupportingTextItemListener();
|
|
@@ -27,11 +27,11 @@ const E = (t) => u("gids-expansion-body-list", t), m = /* @__PURE__ */ Object.fr
|
|
|
27
27
|
disconnectedCallback() {
|
|
28
28
|
this.detachExpansionBodyListSubtitleItemListener(), this.detachExpansionBodyListSupportingTextItemListener();
|
|
29
29
|
}
|
|
30
|
-
applyExpansionBodyListSubtitleSelection(t) {
|
|
31
|
-
this.onExpansionBodyListSubtitlePress && this.onExpansionBodyListSubtitlePress(t);
|
|
30
|
+
applyExpansionBodyListSubtitleSelection({ detail: e, expansionBodyListItem: t }) {
|
|
31
|
+
this.onExpansionBodyListSubtitlePress && this.onExpansionBodyListSubtitlePress({ ...e, selectedExpansionBodyListItem: t });
|
|
32
32
|
}
|
|
33
|
-
applyExpansionBodyListSupportingTextSelection(t) {
|
|
34
|
-
this.onExpansionBodyListSupportingTextPress && this.onExpansionBodyListSupportingTextPress(t);
|
|
33
|
+
applyExpansionBodyListSupportingTextSelection({ detail: e, expansionBodyListItem: t }) {
|
|
34
|
+
this.onExpansionBodyListSupportingTextPress && this.onExpansionBodyListSupportingTextPress({ ...e, selectedExpansionBodyListItem: t });
|
|
35
35
|
}
|
|
36
36
|
attachExpansionBodyListSubtitleItemListener() {
|
|
37
37
|
this.hasExpansionBodyListSubtitleItemListener || (this.hostElement.addEventListener("onExpansionBodyListSubtitlePress", this.handleExpansionBodyListSubtitleSelect), this.hasExpansionBodyListSubtitleItemListener = !0);
|
|
@@ -46,8 +46,8 @@ const E = (t) => u("gids-expansion-body-list", t), m = /* @__PURE__ */ Object.fr
|
|
|
46
46
|
this.hasExpansionBodyListSupportingTextItemListener && (this.hostElement.removeEventListener("onExpansionBodyListSupportingTextPress", this.handleExpansionBodyListSupportingTextSelect), this.hasExpansionBodyListSupportingTextItemListener = !1);
|
|
47
47
|
}
|
|
48
48
|
render() {
|
|
49
|
-
const
|
|
50
|
-
return
|
|
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
51
|
}
|
|
52
52
|
get hostElement() {
|
|
53
53
|
return this;
|
|
@@ -58,21 +58,21 @@ const E = (t) => u("gids-expansion-body-list", t), m = /* @__PURE__ */ Object.fr
|
|
|
58
58
|
static get style() {
|
|
59
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
60
|
}
|
|
61
|
-
}, [0, "gids-expansion-body-list", { expansionBodyListItems: [16], onExpansionBodyListSubtitlePress: [16], onExpansionBodyListSupportingTextPress: [16] }, void 0, { expansionBodyListItems: [{ handleExpansionBodyListItemsChange: 0 }] }]);
|
|
62
|
-
function
|
|
63
|
-
typeof customElements < "u" && ["gids-expansion-body-list", "gids-expansion-body-list-item"].forEach(((
|
|
64
|
-
switch (
|
|
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
65
|
case "gids-expansion-body-list":
|
|
66
|
-
customElements.get(p(
|
|
66
|
+
customElements.get(p(e)) || customElements.define(p(e), l);
|
|
67
67
|
break;
|
|
68
68
|
case "gids-expansion-body-list-item":
|
|
69
|
-
customElements.get(p(
|
|
69
|
+
customElements.get(p(e)) || h();
|
|
70
70
|
}
|
|
71
71
|
}));
|
|
72
72
|
}
|
|
73
|
-
|
|
74
|
-
const
|
|
73
|
+
x();
|
|
74
|
+
const g = l, b = x;
|
|
75
75
|
export {
|
|
76
|
-
|
|
77
|
-
|
|
76
|
+
g as GidsExpansionBodyList,
|
|
77
|
+
b as defineCustomElement
|
|
78
78
|
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { L as
|
|
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
2
|
import { c } from "./clsx-OuTLNxxd.js";
|
|
3
3
|
const d = (e) => c("gids-expansion-group", e), p = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4
4
|
__proto__: null,
|
|
5
5
|
getGidsExpansionGroupClassNames: d
|
|
6
|
-
}, Symbol.toStringTag, { value: "Module" })), { getGidsExpansionGroupClassNames: u } = p, t =
|
|
6
|
+
}, Symbol.toStringTag, { value: "Module" })), { getGidsExpansionGroupClassNames: u } = p, t = a(class extends r {
|
|
7
7
|
constructor(e) {
|
|
8
8
|
super(), e !== !1 && this.__registerHost();
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
11
|
const e = u();
|
|
12
|
-
return s(
|
|
12
|
+
return s(i, { key: "15cd9ad12d4c3af9ba224728362eb41530aa3cae", class: e }, s("slot", { key: "b6b2831de1ec6ad5ef92afc564b9cc749927d8da" }));
|
|
13
13
|
}
|
|
14
14
|
static get style() {
|
|
15
15
|
return ".gids-expansion-group{display:flex;flex-direction:column;width:100%}";
|
|
@@ -21,8 +21,8 @@ function n() {
|
|
|
21
21
|
}));
|
|
22
22
|
}
|
|
23
23
|
n();
|
|
24
|
-
const
|
|
24
|
+
const f = t, m = n;
|
|
25
25
|
export {
|
|
26
|
-
|
|
26
|
+
f as GidsExpansionGroup,
|
|
27
27
|
m as defineCustomElement
|
|
28
28
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
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-
|
|
2
|
+
import { d as g } from "./p-D4Pimu_8-ARSuGBs4.js";
|
|
3
3
|
import { e as p } from "./p-ChV9xqsO-CJSPCx6p.js";
|
|
4
4
|
import { c as h } from "./clsx-OuTLNxxd.js";
|
|
5
5
|
const c = ({ expanded: e }, n) => h("gids-expansion", {
|
|
@@ -7,7 +7,7 @@ const c = ({ expanded: e }, n) => h("gids-expansion", {
|
|
|
7
7
|
}, n), x = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
8
8
|
__proto__: null,
|
|
9
9
|
getGidsExpansionClassNames: c
|
|
10
|
-
}, Symbol.toStringTag, { value: "Module" })), { getGidsExpansionClassNames:
|
|
10
|
+
}, Symbol.toStringTag, { value: "Module" })), { getGidsExpansionClassNames: _ } = x, s = o(class extends r {
|
|
11
11
|
constructor(e) {
|
|
12
12
|
super(), e !== !1 && this.__registerHost(), this.labelLevel = "h1", this.hasContent = !1, this.handleExpansionClick = () => {
|
|
13
13
|
if (this.isInteractive()) {
|
|
@@ -64,8 +64,8 @@ const c = ({ expanded: e }, n) => h("gids-expansion", {
|
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
66
|
render() {
|
|
67
|
-
const e =
|
|
68
|
-
return i(l, { key: "
|
|
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
69
|
}
|
|
70
70
|
get hostElement() {
|
|
71
71
|
return this;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
const
|
|
1
|
+
import { n as o, d as s } from "./p-C2O_pGky-CP4PN55D.js";
|
|
2
|
+
const n = o, t = s;
|
|
3
3
|
export {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
n as GidsIcon,
|
|
5
|
+
t 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-BCGZG2-3.js";
|
|
2
|
+
const r = e, s = t;
|
|
3
3
|
export {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
r as GidsLineChart,
|
|
5
|
+
s as defineCustomElement
|
|
6
6
|
};
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
import { L as H, u as C, D as r, P as x, F as A, q as y } from "./p-Bf3p-DY2-CPqEc-vc.js";
|
|
2
|
+
import { o as S } from "./p-C2POfZhu-DzG_JxV6.js";
|
|
3
|
+
import { d as v } from "./p-D4Pimu_8-ARSuGBs4.js";
|
|
4
|
+
import { c as g } from "./clsx-OuTLNxxd.js";
|
|
5
|
+
const D = ({ borderSides: e, borderRadiusSides: a, appearance: t, textAlignment: i, width: s }, l) => g("gids-basic-table-cell", {
|
|
6
|
+
"gids-basic-table-cell--border-side-top": e?.includes("top"),
|
|
7
|
+
"gids-basic-table-cell--border-side-bottom": e?.includes("bottom"),
|
|
8
|
+
"gids-basic-table-cell--border-side-left": e?.includes("left"),
|
|
9
|
+
"gids-basic-table-cell--border-side-right": e?.includes("right"),
|
|
10
|
+
// Border radius sides
|
|
11
|
+
"gids-basic-table-cell--border-radius-side-top-left": a?.includes("top-left"),
|
|
12
|
+
"gids-basic-table-cell--border-radius-side-bottom-left": a?.includes("bottom-left"),
|
|
13
|
+
"gids-basic-table-cell--border-radius-side-top-right": a?.includes("top-right"),
|
|
14
|
+
"gids-basic-table-cell--border-radius-side-bottom-right": a?.includes("bottom-right"),
|
|
15
|
+
// Background colors
|
|
16
|
+
"gids-basic-table-cell--appearance-default": t === "default",
|
|
17
|
+
"gids-basic-table-cell--appearance-primal": t === "primal",
|
|
18
|
+
"gids-basic-table-cell--appearance-neutral-default": t === "neutral-default",
|
|
19
|
+
"gids-basic-table-cell--appearance-info": t === "info",
|
|
20
|
+
"gids-basic-table-cell--appearance-warning": t === "warning",
|
|
21
|
+
"gids-basic-table-cell--appearance-positive": t === "positive",
|
|
22
|
+
"gids-basic-table-cell--appearance-danger": t === "danger",
|
|
23
|
+
// Alignments
|
|
24
|
+
"gids-basic-table-cell--text-alignment-left": i === "left",
|
|
25
|
+
"gids-basic-table-cell--text-alignment-right": i === "right",
|
|
26
|
+
"gids-basic-table-cell--text-alignment-center": i === "center",
|
|
27
|
+
// Widths
|
|
28
|
+
// 'gids-basic-table-cell--width-full': width === 'full', // Width set by default so not needed
|
|
29
|
+
"gids-basic-table-cell--width-intrinsic": s === "intrinsic"
|
|
30
|
+
}, l), V = (e) => e && e.toString() !== "" ? `gids-typography-${e}` : "gids-typography-label-medium", R = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
31
|
+
__proto__: null,
|
|
32
|
+
getGidsBasicTableCellClassNames: D,
|
|
33
|
+
getGidsBasicTableCellLabelTypographyClass: V
|
|
34
|
+
}, Symbol.toStringTag, { value: "Module" })), L = ({ width: e }, a) => g("gids-basic-table-row", {
|
|
35
|
+
// Widths
|
|
36
|
+
// 'gids-basic-table-row--width-full': width === 'full', // Width set by default so not needed
|
|
37
|
+
"gids-basic-table-row--width-intrinsic": e === "intrinsic"
|
|
38
|
+
}, a), z = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
39
|
+
__proto__: null,
|
|
40
|
+
getGidsBasicTableRowClassNames: L
|
|
41
|
+
}, Symbol.toStringTag, { value: "Module" })), G = ({ width: e }, a) => g("gids-basic-table-header", {
|
|
42
|
+
// Widths
|
|
43
|
+
// 'gids-basic-table-header--width-full': width === 'full', // Width set by default so not needed
|
|
44
|
+
"gids-basic-table-header--width-intrinsic": e === "intrinsic"
|
|
45
|
+
}, a), I = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
46
|
+
__proto__: null,
|
|
47
|
+
getGidsBasicTableHeaderClassNames: G
|
|
48
|
+
}, Symbol.toStringTag, { value: "Module" })), O = ({ width: e }, a) => g("gids-md-table", {
|
|
49
|
+
// Widths
|
|
50
|
+
// 'gids-md-table--width-full': width === 'full', // Width set by default so not needed
|
|
51
|
+
"gids-md-table--width-intrinsic": e === "intrinsic"
|
|
52
|
+
}, a), k = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
53
|
+
__proto__: null,
|
|
54
|
+
getGidsMdTableClassNames: O
|
|
55
|
+
}, Symbol.toStringTag, { value: "Module" })), { getGidsBasicTableCellClassNames: N, getGidsBasicTableCellLabelTypographyClass: j } = R, T = ({ id: e, uniqueKey: a, extraData: t, label: i, cellDataType: s = "text", displayTags: l = [], width: d = "full", appearance: o = "none", borderSides: n = [], borderRadiusSides: b = [], textAlignment: p = "center", labelTypography: c = "label-medium", isHeaderCell: m = !1, class: u, ..._ }) => r(m ? "th" : "td", { ..._, class: N({ borderSides: n, borderRadiusSides: b, appearance: o, textAlignment: p, width: d }, u), id: e, "unique-key": a, "extra-data": JSON.stringify(t) }, s === "text" && i && i !== "" ? r("span", { class: "" + j(c) }, i) : void 0, s === "display-tag" && l && l.length > 0 ? r("div", { class: "gids-basic-table-cell__display-tags-container" }, l.map(((h) => r(S, { label: h?.label ?? "", appearance: h?.displayTagAppearance ?? "subtle", size: h?.displayTagSize ?? "xs", icon: h?.displayTagIcon ? r(v, { name: h.displayTagIcon, size: h?.displayTagSize ?? "xs", appearance: h?.displayTagIconAppearance ?? "regular" }) : void 0, color: h?.displayTagColor ?? "accent-5" })))) : void 0), { getGidsBasicTableRowClassNames: q } = z, f = ({ width: e = "full", layout: a = "horizontal", rows: t = [], isHeaderRow: i = !1, class: s, ...l }) => {
|
|
56
|
+
const d = q({ width: e }, s);
|
|
57
|
+
return a === "vertical" ? r(A, null, t.map(((o, n) => r("tr", { ...l, key: "row-v-" + (n + 1), class: d }, r(T, { ...o, width: e, isHeaderCell: i }))))) : r("tr", { ...l, class: d }, t.map(((o, n) => r(T, { key: "row-h-" + (n + 1), ...o, width: e, isHeaderCell: i }))));
|
|
58
|
+
}, { getGidsBasicTableHeaderClassNames: M } = I, E = ({ width: e = "full", headerCells: a = [], appearance: t = "none", labelTypography: i = "label-medium", textAlignment: s = "center", layout: l = "horizontal", class: d, ...o }) => {
|
|
59
|
+
const n = M({ width: e }, d);
|
|
60
|
+
return r("thead", { ...o, class: n }, r(f, { rows: a.map(((b) => ({ appearance: t, labelTypography: i, textAlignment: s, ...b }))), width: e, layout: l, isHeaderRow: !0 }));
|
|
61
|
+
}, { getGidsMdTableClassNames: P } = k, B = H(class extends C {
|
|
62
|
+
constructor(e) {
|
|
63
|
+
super(), e !== !1 && this.__registerHost(), this.isTopHeaderVisible = !1, this.isSideHeaderVisible = !1, this.width = "full", this.topHeaderAppearance = "none", this.sideHeaderAppearance = "none", this.rowAppearance = "none", this.tableBorders = "none", this.tableBorderRadius = [], this.topHeaderLabelTypography = "eyebrow-small", this.sideHeaderLabelTypography = "label-small", this.rowLabelTypography = "label-small", this.topHeaderTextAlignment = "left", this.sideHeaderTextAlignment = "left", this.rowTextAlignment = "left", this.topHeaderCells = [], this.tableBody = [], this.constructedTableBodyData = [];
|
|
64
|
+
}
|
|
65
|
+
handleTopHeaderVisibilityChange(e) {
|
|
66
|
+
this.isTopHeaderVisible = e;
|
|
67
|
+
}
|
|
68
|
+
handleSideHeaderVisibilityChange(e) {
|
|
69
|
+
this.isSideHeaderVisible = e;
|
|
70
|
+
}
|
|
71
|
+
handleTableBordersChange(e) {
|
|
72
|
+
this.tableBorders = e;
|
|
73
|
+
}
|
|
74
|
+
handleTableBorderRadiusChange(e) {
|
|
75
|
+
this.tableBorderRadius = e;
|
|
76
|
+
}
|
|
77
|
+
handleTopHeaderCellsChange(e) {
|
|
78
|
+
this.topHeaderCells = e;
|
|
79
|
+
}
|
|
80
|
+
handleTableBodyChange(e) {
|
|
81
|
+
this.tableBody = e, this.makeTableBodyData();
|
|
82
|
+
}
|
|
83
|
+
componentDidLoad() {
|
|
84
|
+
this.makeTableBodyData();
|
|
85
|
+
}
|
|
86
|
+
makeTableBodyData() {
|
|
87
|
+
const e = this.isSideHeaderVisible, a = this?.tableBody ?? [], t = [];
|
|
88
|
+
a.map(((i, s) => {
|
|
89
|
+
let l = [];
|
|
90
|
+
const d = i.heading, o = i.id, n = i.uniqueKey, b = i.extraData, p = i?.items ?? [];
|
|
91
|
+
if (e && d && d !== "") {
|
|
92
|
+
const c = this.getSideHeaderBorderSides({ _tableBodyData: a, _itemsArr: p, indexI: s });
|
|
93
|
+
l = [{ id: o, uniqueKey: n, extraData: b, label: d, appearance: this.sideHeaderAppearance, labelTypography: this.sideHeaderLabelTypography, textAlignment: this.sideHeaderTextAlignment, isHeader: !0, borderSides: c }];
|
|
94
|
+
}
|
|
95
|
+
p.map(((c, m) => {
|
|
96
|
+
const u = this.getRowBorderSides({ _tableBodyData: a, _itemsArr: p, indexI: s, indexJ: m });
|
|
97
|
+
l.push({ ...c, appearance: this.rowAppearance, labelTypography: this.rowLabelTypography, textAlignment: this.rowTextAlignment, isHeader: !1, borderSides: u });
|
|
98
|
+
})), t.push({ heading: d, id: o, uniqueKey: n, extraData: b, items: l });
|
|
99
|
+
})), this.constructedTableBodyData = t;
|
|
100
|
+
}
|
|
101
|
+
getRowBorderSides({ _tableBodyData: e, _itemsArr: a, indexI: t, indexJ: i }) {
|
|
102
|
+
const s = this.applyTableInternalBorders(), l = this.applyTableAllBorders();
|
|
103
|
+
let d = [];
|
|
104
|
+
return (s || l) && (i < a.length && t + 1 < e.length && (d = ["bottom"]), i + 1 < a.length && (d = [...d, "right"])), d;
|
|
105
|
+
}
|
|
106
|
+
getSideHeaderBorderSides({ _tableBodyData: e, _itemsArr: a, indexI: t }) {
|
|
107
|
+
const i = this.applyTableInternalBorders(), s = this.applyTableAllBorders();
|
|
108
|
+
let l = [];
|
|
109
|
+
return (i || s) && (t + 1 < e.length && (l = ["bottom"]), a.length > 0 && (l = [...l, "right"])), l;
|
|
110
|
+
}
|
|
111
|
+
getTableClasses() {
|
|
112
|
+
const e = this.width === "full" ? "gids-md-table__main-table gids-md-table__main-table-width-full" : "gids-md-table__main-table gids-md-table__main-table-width-intrinsic";
|
|
113
|
+
let a = e;
|
|
114
|
+
this.applyTableOuterBorders() && (a = e + " gids-md-table__outer-borders");
|
|
115
|
+
const t = this.addBorderRadiusDirectlyToTable(), i = t && t !== "" ? `${a} ${t}` : "" + a;
|
|
116
|
+
return console.log("finalTableClass", i), i;
|
|
117
|
+
}
|
|
118
|
+
addBorderRadiusDirectlyToTable() {
|
|
119
|
+
let e = "";
|
|
120
|
+
const a = this?.tableBorderRadius ?? [];
|
|
121
|
+
return a.includes("top-left") && (e = "gids-md-table__radius-top-left"), a.includes("bottom-left") && (e += " gids-md-table__radius-bottom-left"), a.includes("top-right") && (e += " gids-md-table__radius-top-right"), a.includes("bottom-right") && (e += " gids-md-table__radius-bottom-right"), e;
|
|
122
|
+
}
|
|
123
|
+
getTopHeaderCells() {
|
|
124
|
+
const e = this.isSideHeaderVisible, a = this?.topHeaderCells ?? [];
|
|
125
|
+
let t = [...a];
|
|
126
|
+
e === !1 && a.length > 0 ? t.splice(0, 1) : t = [...a];
|
|
127
|
+
const i = this.applyTableInternalBorders(), s = this.applyTableAllBorders(), l = this.applyTableTopHeaderBorders(), d = [];
|
|
128
|
+
return t.map(((o, n) => {
|
|
129
|
+
let b = [];
|
|
130
|
+
(i || s || l) && (b = ["bottom"], n + 1 < t.length && (b = [...b, "right"])), d.push({ ...o, borderSides: b });
|
|
131
|
+
})), d;
|
|
132
|
+
}
|
|
133
|
+
applyTableOuterBorders() {
|
|
134
|
+
const e = this.tableBorders;
|
|
135
|
+
return e === "all" || e === "outer-sides";
|
|
136
|
+
}
|
|
137
|
+
applyTableInternalBorders() {
|
|
138
|
+
return this.tableBorders === "internal";
|
|
139
|
+
}
|
|
140
|
+
applyTableAllBorders() {
|
|
141
|
+
return this.tableBorders === "all";
|
|
142
|
+
}
|
|
143
|
+
applyTableTopHeaderBorders() {
|
|
144
|
+
return this.tableBorders === "top-header-only";
|
|
145
|
+
}
|
|
146
|
+
render() {
|
|
147
|
+
const e = P({ width: this.width }), a = this.isTopHeaderVisible, t = this.getTopHeaderCells(), i = this?.constructedTableBodyData ?? [];
|
|
148
|
+
return r(x, { key: "814e05e15c2d08c626885f95c5729b3fa7e66c49", class: e }, r("table", { key: "d11cf92544c1281c39917ac74f0c236456ca19c2", class: this.getTableClasses() }, a ? r(E, { appearance: this.topHeaderAppearance, labelTypography: this.topHeaderLabelTypography, textAlignment: this.topHeaderTextAlignment, headerCells: t, width: this.width }) : void 0, r("tbody", { key: "88458110e1d34b7405a06ab51ae7d0fffd3bc57a" }, i.length > 0 ? i.map(((s) => r(f, { layout: "horizontal", rows: s?.items ?? [], width: this.width }))) : void 0)));
|
|
149
|
+
}
|
|
150
|
+
get hostElement() {
|
|
151
|
+
return this;
|
|
152
|
+
}
|
|
153
|
+
static get watchers() {
|
|
154
|
+
return { isTopHeaderVisible: [{ handleTopHeaderVisibilityChange: 0 }], isSideHeaderVisible: [{ handleSideHeaderVisibilityChange: 0 }, { handleTableBodyChange: 0 }], tableBorders: [{ handleTableBordersChange: 0 }, { handleTableBodyChange: 0 }], tableBorderRadius: [{ handleTableBorderRadiusChange: 0 }, { handleTableBodyChange: 0 }], topHeaderCells: [{ handleTopHeaderCellsChange: 0 }], tableBody: [{ handleTableBodyChange: 0 }] };
|
|
155
|
+
}
|
|
156
|
+
static get style() {
|
|
157
|
+
return ".gids-md-table{display:flex;flex-direction:column;width:100%}.gids-md-table__main-table{border-collapse:separate;border-spacing:0;overflow:hidden;table-layout:fixed}.gids-md-table__main-table-width-full{width:100%}.gids-md-table__main-table-width-intrinsic{width:max-content}.gids-md-table--width-intrinsic{width:max-content}.gids-md-table__outer-borders{border:var(--gids-border-width-thin) solid var(--gids-color-border-default)}.gids-md-table__radius-top-left{border-top-left-radius:var(--gids-border-radius-md)}.gids-md-table__radius-bottom-left{border-bottom-left-radius:var(--gids-border-radius-md)}.gids-md-table__radius-top-right{border-top-right-radius:var(--gids-border-radius-md)}.gids-md-table__radius-bottom-right{border-bottom-right-radius:var(--gids-border-radius-md)}";
|
|
158
|
+
}
|
|
159
|
+
}, [0, "gids-md-table", { isTopHeaderVisible: [4, "is-top-header-visible"], isSideHeaderVisible: [4, "is-side-header-visible"], width: [1], topHeaderAppearance: [1, "top-header-appearance"], sideHeaderAppearance: [1, "side-header-appearance"], rowAppearance: [1, "row-appearance"], tableBorders: [1, "table-borders"], tableBorderRadius: [16], topHeaderLabelTypography: [1, "top-header-label-typography"], sideHeaderLabelTypography: [1, "side-header-label-typography"], rowLabelTypography: [1, "row-label-typography"], topHeaderTextAlignment: [1, "top-header-text-alignment"], sideHeaderTextAlignment: [1, "side-header-text-alignment"], rowTextAlignment: [1, "row-text-alignment"], topHeaderCells: [16], tableBody: [16], constructedTableBodyData: [32] }, void 0, { isTopHeaderVisible: [{ handleTopHeaderVisibilityChange: 0 }], isSideHeaderVisible: [{ handleSideHeaderVisibilityChange: 0 }, { handleTableBodyChange: 0 }], tableBorders: [{ handleTableBordersChange: 0 }, { handleTableBodyChange: 0 }], tableBorderRadius: [{ handleTableBorderRadiusChange: 0 }, { handleTableBodyChange: 0 }], topHeaderCells: [{ handleTopHeaderCellsChange: 0 }], tableBody: [{ handleTableBodyChange: 0 }] }]);
|
|
160
|
+
function w() {
|
|
161
|
+
typeof customElements < "u" && ["gids-md-table"].forEach(((e) => {
|
|
162
|
+
e === "gids-md-table" && (customElements.get(y(e)) || customElements.define(y(e), B));
|
|
163
|
+
}));
|
|
164
|
+
}
|
|
165
|
+
w();
|
|
166
|
+
const Q = B, U = w;
|
|
167
|
+
export {
|
|
168
|
+
Q as GidsMdTable,
|
|
169
|
+
U as defineCustomElement
|
|
170
|
+
};
|
|
@@ -20,7 +20,7 @@ const c = (t) => t === "top" || t === "top-bottom", h = (t) => t === "bottom" ||
|
|
|
20
20
|
this._textArea.scrollTop + this._textArea.offsetHeight >= this._textArea.scrollHeight ? this._el.style.setProperty("--gidsOverflowContainer-after-opacity", "0") : t !== 0 ? t > 0 && (f(this.shadowLocation) && this._el.style.setProperty("--gidsOverflowContainer-before-opacity", "" + Math.min(t / 20, 1)), s(this.shadowLocation) && this._el.style.setProperty("--gidsOverflowContainer-after-opacity", "" + Math.min((this._textArea.scrollHeight - (this._textArea.scrollTop + this._textArea.offsetHeight)) / 20, 1))) : this._el.style.setProperty("--gidsOverflowContainer-after-opacity", "0");
|
|
21
21
|
}
|
|
22
22
|
render() {
|
|
23
|
-
return e("div", { key: "
|
|
23
|
+
return e("div", { key: "cfdffbc49db84a4ac18172a6b8ed9fb4a0e3ad1f", class: "gids-overflow-container__text-area", onScroll: this.calculateShadows.bind(this) }, e("slot", { key: "f3d5811cc2991941c14fdc655826f69620968248" }));
|
|
24
24
|
}
|
|
25
25
|
get _el() {
|
|
26
26
|
return this;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { L as C, u as y, D as o, F as w, q as f } from "./p-Bf3p-DY2-CPqEc-vc.js";
|
|
2
2
|
import { i as x } from "./p-B2zUuNXz-BLBgQDu7.js";
|
|
3
3
|
import { e as N, n as g } from "./p-CVtNa0cL-sSVeJsR3.js";
|
|
4
|
-
import { d as p } from "./p-D4Pimu_8-
|
|
4
|
+
import { d as p } from "./p-D4Pimu_8-ARSuGBs4.js";
|
|
5
5
|
import { o as u } from "./p-UVmSPzTd-6vjXok6h.js";
|
|
6
6
|
import { c as h } from "./clsx-OuTLNxxd.js";
|
|
7
7
|
const Q = ({ appearance: t }, e) => h("gids-snackbar-container", {
|
|
@@ -187,7 +187,7 @@ const Q = ({ appearance: t }, e) => h("gids-snackbar-container", {
|
|
|
187
187
|
}
|
|
188
188
|
render() {
|
|
189
189
|
const t = this._allowedComponentQueue[0]?.position || "bottom-center";
|
|
190
|
-
return o(w, { key: "
|
|
190
|
+
return o(w, { key: "bb974c7b42f4efc210a2b879538d3d34c963327c" }, o("slot", { key: "3bf4f43195851eda44a7a3adee27388e59842f85" }), this._isRoot() ? o("div", { class: G({ position: t }) }, [...this._allowedComponentQueue].reverse().map(((e) => this._renderComponent(e)))) : null);
|
|
191
191
|
}
|
|
192
192
|
get _el() {
|
|
193
193
|
return this;
|