@ganpatiinfo/gids-core-web 12.0.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 +125 -114
- package/dist/css/index.css.map +1 -1
- package/dist/gids-action-bar.d.ts +1 -1
- package/dist/gids-activity-gauge.d.ts +1 -1
- package/dist/gids-bar-chart.d.ts +1 -1
- package/dist/gids-calendar-header-panel.d.ts +1 -1
- package/dist/gids-calendar-month-list.d.ts +1 -1
- package/dist/gids-calendar-year-list.d.ts +1 -1
- package/dist/gids-calendar.d.ts +1 -1
- package/dist/gids-chart-legend-item.d.ts +1 -1
- package/dist/gids-chart-legend.d.ts +1 -1
- package/dist/gids-chart.d.ts +1 -1
- package/dist/gids-chevron-button.d.ts +1 -1
- package/dist/gids-dot.d.ts +1 -1
- package/dist/gids-dropdown-field.d.ts +1 -1
- package/dist/gids-dropdown-picker.d.ts +1 -1
- package/dist/gids-dropdown.d.ts +1 -1
- package/dist/gids-expansion-body-list-item.d.ts +1 -1
- package/dist/gids-expansion-body-list-item.js +1 -1
- package/dist/gids-expansion-body-list.d.ts +1 -1
- package/dist/gids-expansion-body-list.js +1 -1
- package/dist/gids-expansion-group.d.ts +1 -1
- package/dist/gids-expansion.d.ts +1 -1
- package/dist/gids-field.d.ts +1 -1
- package/dist/gids-filter.d.ts +1 -1
- package/dist/gids-icon.d.ts +1 -1
- package/dist/gids-input.d.ts +1 -1
- package/dist/gids-level-gauge.d.ts +1 -1
- package/dist/gids-line-chart.d.ts +1 -1
- package/dist/gids-md-table.d.ts +1 -1
- package/dist/gids-md-table.js +1 -1
- package/dist/gids-notification.d.ts +1 -1
- package/dist/gids-overflow-container.d.ts +1 -1
- package/dist/gids-overlay-provider.d.ts +1 -1
- package/dist/gids-password-field.d.ts +1 -1
- package/dist/gids-pie-chart.d.ts +1 -1
- package/dist/gids-popover.d.ts +1 -1
- package/dist/gids-progress-circle.d.ts +1 -1
- package/dist/gids-scrim.d.ts +1 -1
- package/dist/gids-snackbar.d.ts +1 -1
- package/dist/gids-tab-item.d.ts +1 -1
- package/dist/gids-tab.d.ts +1 -1
- package/dist/gids-text-field.d.ts +1 -1
- package/dist/gids-toggle-button.d.ts +1 -1
- package/dist/gids-tooltip.d.ts +1 -1
- package/dist/p-4lN1OdcA.js +1 -0
- package/dist/p-C2POfZhu.js +1 -0
- package/dist/types/components/html/GidsBasicTableBody/GidsBasicTableBody.d.ts +3 -2
- package/dist/types/components/html/GidsBasicTableCell/GidsBasicTableCell.d.ts +4 -3
- package/dist/types/components/html/GidsBasicTableHeader/GidsBasicTableHeader.d.ts +3 -2
- package/dist/types/components/html/GidsBasicTableRow/GidsBasicTableRow.d.ts +3 -2
- package/dist/types/components/html/GidsBsTable/GidsBsTable.d.ts +3 -2
- package/dist/types/components/webComponents/GidsMdTable/GidsMdTable.d.ts +7 -5
- package/dist/types/components.d.ts +20 -4
- package/dist-bundled/es/gids-action-bar.js +3 -3
- package/dist-bundled/es/gids-activity-gauge.js +1 -1
- package/dist-bundled/es/gids-bar-chart.js +1 -1
- package/dist-bundled/es/gids-calendar-header-panel.js +1 -1
- package/dist-bundled/es/gids-calendar-month-list.js +1 -1
- package/dist-bundled/es/gids-calendar-year-list.js +1 -1
- package/dist-bundled/es/gids-calendar.js +6 -6
- package/dist-bundled/es/gids-chart-legend-item.js +1 -1
- package/dist-bundled/es/gids-chart.js +5 -5
- package/dist-bundled/es/gids-chevron-button.js +1 -1
- package/dist-bundled/es/gids-dot.js +1 -1
- package/dist-bundled/es/gids-dropdown-field.js +4 -4
- package/dist-bundled/es/gids-dropdown-picker.js +1 -1
- package/dist-bundled/es/gids-dropdown.js +1 -1
- package/dist-bundled/es/gids-expansion-body-list-item.js +3 -3
- package/dist-bundled/es/gids-expansion-body-list.js +1 -1
- package/dist-bundled/es/gids-expansion.js +1 -1
- package/dist-bundled/es/gids-field.js +1 -1
- package/dist-bundled/es/gids-filter.js +1 -1
- package/dist-bundled/es/gids-icon.js +1 -1
- package/dist-bundled/es/gids-input.js +1 -1
- package/dist-bundled/es/gids-line-chart.js +1 -1
- package/dist-bundled/es/gids-md-table.js +63 -58
- package/dist-bundled/es/gids-overlay-provider.js +1 -1
- package/dist-bundled/es/gids-password-field.js +4 -4
- package/dist-bundled/es/gids-pie-chart.js +1 -1
- package/dist-bundled/es/gids-text-field.js +4 -4
- package/dist-bundled/es/{p-VJAcf53T-2X0vBJ1A.js → p-4lN1OdcA-xYP8gbDc.js} +17 -34
- package/dist-bundled/es/{p-6APCjBEI-roDSyEYu.js → p-6APCjBEI-BREg63Xr.js} +1 -1
- package/dist-bundled/es/{p-BSbOhfLZ-ByjjVMqG.js → p-BSbOhfLZ-BdEHhmFM.js} +1 -1
- package/dist-bundled/es/{p-BVAtja26-Xjd4_b4e.js → p-BVAtja26-C16IjShX.js} +1 -1
- package/dist-bundled/es/{p-C2O_pGky-C_30AJ3m.js → p-C2O_pGky-CP4PN55D.js} +1 -1
- package/dist-bundled/es/p-C2POfZhu-DzG_JxV6.js +24 -0
- package/dist-bundled/es/{p-C3We7Q8Q-DT_NDg87.js → p-C3We7Q8Q-2EoDLj5m.js} +1 -1
- package/dist-bundled/es/{p-C3w3wdCt-I6zwuecb.js → p-C3w3wdCt-BTH-jYlI.js} +4 -4
- package/dist-bundled/es/{p-C3xv7tfs-RodXvmql.js → p-C3xv7tfs-DHsjc3Ns.js} +1 -1
- package/dist-bundled/es/{p-C56G7JRy-B3HO4aVF.js → p-C56G7JRy-BCGZG2-3.js} +1 -1
- package/dist-bundled/es/{p-CI-sN9Lr-DHC9DyS8.js → p-CI-sN9Lr-BvWzRJw-.js} +2 -2
- package/dist-bundled/es/{p-COHuQEfZ-C_POuXNC.js → p-COHuQEfZ-DcUxD9TI.js} +1 -1
- package/dist-bundled/es/{p-Chqeexny-C4hlPbBP.js → p-Chqeexny-BuJ-PhNi.js} +1 -1
- 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-DO0MyFf4-D7XItX1k.js → p-DO0MyFf4-Ddg5sVMx.js} +1 -1
- package/dist-bundled/es/{p-DUojHltk-GyvsWoCM.js → p-DUojHltk-BQ0ryfLD.js} +1 -1
- package/dist-bundled/es/{p-UxDcM-C5-Dr5d_WpJ.js → p-UxDcM-C5-BJO4X0jM.js} +1 -1
- package/dist-bundled/es/{p-pSb81aE0-CNrq7SQW.js → p-pSb81aE0-WzAszFOQ.js} +1 -1
- package/dist-bundled/es/{p-ub0GuVHb-C_PFTi1_.js → p-ub0GuVHb-C9vrhXyF.js} +1 -1
- package/dist-bundled/umd/gids-action-bar.umd.js +1 -1
- 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 +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 +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 +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.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 +1 -1
- package/dist-bundled/umd/gids-md-table.umd.js +2 -2
- 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 +1 -1
- package/dist-bundled/umd/gids-text-field.umd.js +1 -1
- package/dist-bundled/umd-complete/gids-core-web.umd.js +4 -4
- package/package.json +9 -9
- package/dist/p-VJAcf53T.js +0 -1
|
@@ -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-CI-sN9Lr-
|
|
4
|
-
import { h } from "./p-ub0GuVHb-
|
|
5
|
-
import { r as c } from "./p-BVAtja26-
|
|
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) => {
|
|
@@ -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,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 {
|
|
2
|
+
import { d as h } from "./p-4lN1OdcA-xYP8gbDc.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,
|
|
@@ -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", {
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import { L as
|
|
2
|
-
import {
|
|
3
|
-
|
|
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", {
|
|
4
6
|
"gids-basic-table-cell--border-side-top": e?.includes("top"),
|
|
5
7
|
"gids-basic-table-cell--border-side-bottom": e?.includes("bottom"),
|
|
6
8
|
"gids-basic-table-cell--border-side-left": e?.includes("left"),
|
|
@@ -19,44 +21,44 @@ const _ = ({ borderSides: e, borderRadiusSides: a, appearance: t, textAlignment:
|
|
|
19
21
|
"gids-basic-table-cell--appearance-positive": t === "positive",
|
|
20
22
|
"gids-basic-table-cell--appearance-danger": t === "danger",
|
|
21
23
|
// Alignments
|
|
22
|
-
"gids-basic-table-cell--text-alignment-left":
|
|
23
|
-
"gids-basic-table-cell--text-alignment-right":
|
|
24
|
-
"gids-basic-table-cell--text-alignment-center":
|
|
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",
|
|
25
27
|
// Widths
|
|
26
28
|
// 'gids-basic-table-cell--width-full': width === 'full', // Width set by default so not needed
|
|
27
|
-
"gids-basic-table-cell--width-intrinsic":
|
|
28
|
-
},
|
|
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({
|
|
29
31
|
__proto__: null,
|
|
30
|
-
getGidsBasicTableCellClassNames:
|
|
31
|
-
getGidsBasicTableCellLabelTypographyClass:
|
|
32
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
32
|
+
getGidsBasicTableCellClassNames: D,
|
|
33
|
+
getGidsBasicTableCellLabelTypographyClass: V
|
|
34
|
+
}, Symbol.toStringTag, { value: "Module" })), L = ({ width: e }, a) => g("gids-basic-table-row", {
|
|
33
35
|
// Widths
|
|
34
36
|
// 'gids-basic-table-row--width-full': width === 'full', // Width set by default so not needed
|
|
35
37
|
"gids-basic-table-row--width-intrinsic": e === "intrinsic"
|
|
36
|
-
}, a),
|
|
38
|
+
}, a), z = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
37
39
|
__proto__: null,
|
|
38
|
-
getGidsBasicTableRowClassNames:
|
|
39
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
40
|
+
getGidsBasicTableRowClassNames: L
|
|
41
|
+
}, Symbol.toStringTag, { value: "Module" })), G = ({ width: e }, a) => g("gids-basic-table-header", {
|
|
40
42
|
// Widths
|
|
41
43
|
// 'gids-basic-table-header--width-full': width === 'full', // Width set by default so not needed
|
|
42
44
|
"gids-basic-table-header--width-intrinsic": e === "intrinsic"
|
|
43
|
-
}, a),
|
|
45
|
+
}, a), I = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
44
46
|
__proto__: null,
|
|
45
|
-
getGidsBasicTableHeaderClassNames:
|
|
46
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
47
|
+
getGidsBasicTableHeaderClassNames: G
|
|
48
|
+
}, Symbol.toStringTag, { value: "Module" })), O = ({ width: e }, a) => g("gids-md-table", {
|
|
47
49
|
// Widths
|
|
48
50
|
// 'gids-md-table--width-full': width === 'full', // Width set by default so not needed
|
|
49
51
|
"gids-md-table--width-intrinsic": e === "intrinsic"
|
|
50
|
-
}, a),
|
|
52
|
+
}, a), k = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
51
53
|
__proto__: null,
|
|
52
|
-
getGidsMdTableClassNames:
|
|
53
|
-
}, Symbol.toStringTag, { value: "Module" })), { getGidsBasicTableCellClassNames:
|
|
54
|
-
const
|
|
55
|
-
return a === "vertical" ? r(
|
|
56
|
-
}, { getGidsBasicTableHeaderClassNames:
|
|
57
|
-
const n =
|
|
58
|
-
return r("thead", { ...o, class: n }, r(
|
|
59
|
-
}, { getGidsMdTableClassNames:
|
|
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 {
|
|
60
62
|
constructor(e) {
|
|
61
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 = [];
|
|
62
64
|
}
|
|
@@ -83,35 +85,35 @@ const _ = ({ borderSides: e, borderRadiusSides: a, appearance: t, textAlignment:
|
|
|
83
85
|
}
|
|
84
86
|
makeTableBodyData() {
|
|
85
87
|
const e = this.isSideHeaderVisible, a = this?.tableBody ?? [], t = [];
|
|
86
|
-
a.map(((
|
|
87
|
-
let
|
|
88
|
-
const
|
|
89
|
-
if (e &&
|
|
90
|
-
const
|
|
91
|
-
|
|
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 }];
|
|
92
94
|
}
|
|
93
|
-
|
|
94
|
-
const
|
|
95
|
-
|
|
96
|
-
})), t.push({ heading:
|
|
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 });
|
|
97
99
|
})), this.constructedTableBodyData = t;
|
|
98
100
|
}
|
|
99
|
-
getRowBorderSides({ _tableBodyData: e, _itemsArr: a, indexI: t, indexJ:
|
|
100
|
-
const
|
|
101
|
-
let
|
|
102
|
-
return (
|
|
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;
|
|
103
105
|
}
|
|
104
106
|
getSideHeaderBorderSides({ _tableBodyData: e, _itemsArr: a, indexI: t }) {
|
|
105
|
-
const
|
|
106
|
-
let
|
|
107
|
-
return (
|
|
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;
|
|
108
110
|
}
|
|
109
111
|
getTableClasses() {
|
|
110
|
-
const e = this.width === "full" ? "gids-md-table__main-table gids-md-
|
|
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";
|
|
111
113
|
let a = e;
|
|
112
114
|
this.applyTableOuterBorders() && (a = e + " gids-md-table__outer-borders");
|
|
113
|
-
const t = this.addBorderRadiusDirectlyToTable(),
|
|
114
|
-
return console.log("finalTableClass",
|
|
115
|
+
const t = this.addBorderRadiusDirectlyToTable(), i = t && t !== "" ? `${a} ${t}` : "" + a;
|
|
116
|
+
return console.log("finalTableClass", i), i;
|
|
115
117
|
}
|
|
116
118
|
addBorderRadiusDirectlyToTable() {
|
|
117
119
|
let e = "";
|
|
@@ -122,11 +124,11 @@ const _ = ({ borderSides: e, borderRadiusSides: a, appearance: t, textAlignment:
|
|
|
122
124
|
const e = this.isSideHeaderVisible, a = this?.topHeaderCells ?? [];
|
|
123
125
|
let t = [...a];
|
|
124
126
|
e === !1 && a.length > 0 ? t.splice(0, 1) : t = [...a];
|
|
125
|
-
const
|
|
127
|
+
const i = this.applyTableInternalBorders(), s = this.applyTableAllBorders(), l = this.applyTableTopHeaderBorders(), d = [];
|
|
126
128
|
return t.map(((o, n) => {
|
|
127
129
|
let b = [];
|
|
128
|
-
(
|
|
129
|
-
})),
|
|
130
|
+
(i || s || l) && (b = ["bottom"], n + 1 < t.length && (b = [...b, "right"])), d.push({ ...o, borderSides: b });
|
|
131
|
+
})), d;
|
|
130
132
|
}
|
|
131
133
|
applyTableOuterBorders() {
|
|
132
134
|
const e = this.tableBorders;
|
|
@@ -142,24 +144,27 @@ const _ = ({ borderSides: e, borderRadiusSides: a, appearance: t, textAlignment:
|
|
|
142
144
|
return this.tableBorders === "top-header-only";
|
|
143
145
|
}
|
|
144
146
|
render() {
|
|
145
|
-
const e =
|
|
146
|
-
return r(
|
|
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;
|
|
147
152
|
}
|
|
148
153
|
static get watchers() {
|
|
149
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 }] };
|
|
150
155
|
}
|
|
151
156
|
static get style() {
|
|
152
|
-
return ".gids-md-table{width:100%}.gids-md-table__main-table{border-collapse:separate;border-spacing:0;overflow:hidden;table-layout:fixed}.gids-md-
|
|
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)}";
|
|
153
158
|
}
|
|
154
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 }] }]);
|
|
155
|
-
function
|
|
160
|
+
function w() {
|
|
156
161
|
typeof customElements < "u" && ["gids-md-table"].forEach(((e) => {
|
|
157
|
-
e === "gids-md-table" && (customElements.get(
|
|
162
|
+
e === "gids-md-table" && (customElements.get(y(e)) || customElements.define(y(e), B));
|
|
158
163
|
}));
|
|
159
164
|
}
|
|
160
|
-
|
|
161
|
-
const
|
|
165
|
+
w();
|
|
166
|
+
const Q = B, U = w;
|
|
162
167
|
export {
|
|
163
|
-
|
|
164
|
-
|
|
168
|
+
Q as GidsMdTable,
|
|
169
|
+
U as defineCustomElement
|
|
165
170
|
};
|
|
@@ -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", {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { L as S, u as P, z as v, C as x, D as i, F as T, q as h } from "./p-Bf3p-DY2-CPqEc-vc.js";
|
|
2
2
|
import { i as C } from "./p-B2zUuNXz-BLBgQDu7.js";
|
|
3
3
|
import { a as F } from "./p-Dg2yoUxw-Cca8ROd_.js";
|
|
4
|
-
import { r as L } from "./p-UxDcM-C5-
|
|
4
|
+
import { r as L } from "./p-UxDcM-C5-BJO4X0jM.js";
|
|
5
5
|
import { o as O } from "./p-UVmSPzTd-6vjXok6h.js";
|
|
6
|
-
import { g as k, d as j } from "./p-D4Pimu_8-
|
|
7
|
-
import { h as z } from "./p-ub0GuVHb-
|
|
8
|
-
import { r as E } from "./p-BVAtja26-
|
|
6
|
+
import { g as k, d as j } from "./p-D4Pimu_8-ARSuGBs4.js";
|
|
7
|
+
import { h as z } from "./p-ub0GuVHb-C9vrhXyF.js";
|
|
8
|
+
import { r as E } from "./p-BVAtja26-C16IjShX.js";
|
|
9
9
|
import { c as g } from "./clsx-OuTLNxxd.js";
|
|
10
10
|
const f = /[A-Z]/, b = /[a-z]/, p = /[0-9]/, q = /[^A-Za-z0-9]/, G = ({ text: e, meterRules: t = [], textMinLength: s = 0 }) => {
|
|
11
11
|
if (!e || e === "")
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { L as u, u as h, z as c, C as f, D as i, q as s } from "./p-Bf3p-DY2-CPqEc-vc.js";
|
|
2
2
|
import { i as b } from "./p-B2zUuNXz-BLBgQDu7.js";
|
|
3
3
|
import { a as m } from "./p-Dg2yoUxw-Cca8ROd_.js";
|
|
4
|
-
import { r as p } from "./p-UxDcM-C5-
|
|
5
|
-
import { h as g } from "./p-ub0GuVHb-
|
|
6
|
-
import { r as x } from "./p-BVAtja26-
|
|
7
|
-
import { g as _ } from "./p-D4Pimu_8-
|
|
4
|
+
import { r as p } from "./p-UxDcM-C5-BJO4X0jM.js";
|
|
5
|
+
import { h as g } from "./p-ub0GuVHb-C9vrhXyF.js";
|
|
6
|
+
import { r as x } from "./p-BVAtja26-C16IjShX.js";
|
|
7
|
+
import { g as _ } from "./p-D4Pimu_8-ARSuGBs4.js";
|
|
8
8
|
const v = (e, t) => {
|
|
9
9
|
if (!(e === void 0 || t === void 0))
|
|
10
10
|
return `${e} / ${Math.max(t, 0)}`;
|
|
@@ -1,32 +1,15 @@
|
|
|
1
|
-
import { q as
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
"gids-display-tag--small": t === "sm",
|
|
6
|
-
// 'gids-display-tag--medium': size === 'md',
|
|
7
|
-
"gids-display-tag--large": t === "lg",
|
|
8
|
-
"gids-display-tag--accent-1": e === "subtle" && i === "accent-1",
|
|
9
|
-
"gids-display-tag--accent-2": e === "subtle" && i === "accent-2",
|
|
10
|
-
"gids-display-tag--accent-3": e === "subtle" && i === "accent-3",
|
|
11
|
-
"gids-display-tag--accent-4": e === "subtle" && i === "accent-4",
|
|
12
|
-
"gids-display-tag--accent-5": e === "subtle" && i === "accent-5",
|
|
13
|
-
"gids-display-tag--bold-accent-1": e === "bold" && i === "accent-1",
|
|
14
|
-
"gids-display-tag--bold-accent-2": e === "bold" && i === "accent-2",
|
|
15
|
-
"gids-display-tag--bold-accent-3": e === "bold" && i === "accent-3",
|
|
16
|
-
"gids-display-tag--bold-accent-4": e === "bold" && i === "accent-4",
|
|
17
|
-
"gids-display-tag--bold-accent-5": e === "bold" && i === "accent-5"
|
|
18
|
-
}, a), u = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1
|
+
import { q as n, L as g, u as h, D as e, P as c } from "./p-Bf3p-DY2-CPqEc-vc.js";
|
|
2
|
+
import { o as b } from "./p-C2POfZhu-DzG_JxV6.js";
|
|
3
|
+
import { c as y } from "./clsx-OuTLNxxd.js";
|
|
4
|
+
const u = (t) => y("gids-expansion-body-list-item", t), m = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
19
5
|
__proto__: null,
|
|
20
|
-
|
|
21
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
22
|
-
__proto__: null,
|
|
23
|
-
getGidsExpansionBodyListItemClassNames: m
|
|
24
|
-
}, Symbol.toStringTag, { value: "Module" })), { getGidsDisplaTagClassNames: f } = u, v = ({ label: t, appearance: e = "subtle", color: i, size: a = "md", icon: l, class: n, ...o }) => s("span", { class: f({ size: a, appearance: e, color: i }, n), ...o }, l, t), { getGidsExpansionBodyListItemClassNames: T } = x, _ = c(class extends h {
|
|
6
|
+
getGidsExpansionBodyListItemClassNames: u
|
|
7
|
+
}, Symbol.toStringTag, { value: "Module" })), { getGidsExpansionBodyListItemClassNames: x } = m, f = g(class extends h {
|
|
25
8
|
constructor(t) {
|
|
26
|
-
super(), t !== !1 && this.__registerHost(), this.displayTagVisible = !1, this.displayTagColor = "accent-5", this.displayTagSize = "xs", this.displayTagAppearance = "subtle", this.hasSubtitleItemListener = !1, this.hasSupportingTextItemListener = !1, this.handleSubtitleClick = (
|
|
27
|
-
this.applySubtitleSelection({ listItemId: this.listItemId, label: this.label, subtitle: this.subtitle, supportingText: this.supportingText, listItemPressedType: "subtitle", originalEvent:
|
|
28
|
-
}, this.handleSupportingTextClick = (
|
|
29
|
-
this.applySupportingTextSelection({ listItemId: this.listItemId, label: this.label, subtitle: this.subtitle, supportingText: this.supportingText, listItemPressedType: "supporting-text", originalEvent:
|
|
9
|
+
super(), t !== !1 && this.__registerHost(), this.displayTagVisible = !1, this.displayTagColor = "accent-5", this.displayTagSize = "xs", this.displayTagAppearance = "subtle", this.hasSubtitleItemListener = !1, this.hasSupportingTextItemListener = !1, this.handleSubtitleClick = (i) => {
|
|
10
|
+
this.applySubtitleSelection({ listItemId: this.listItemId, label: this.label, subtitle: this.subtitle, supportingText: this.supportingText, listItemPressedType: "subtitle", originalEvent: i });
|
|
11
|
+
}, this.handleSupportingTextClick = (i) => {
|
|
12
|
+
this.applySupportingTextSelection({ listItemId: this.listItemId, label: this.label, subtitle: this.subtitle, supportingText: this.supportingText, listItemPressedType: "supporting-text", originalEvent: i });
|
|
30
13
|
};
|
|
31
14
|
}
|
|
32
15
|
handleDisplayTagVisibilityChange(t) {
|
|
@@ -81,8 +64,8 @@ const y = ({ size: t, appearance: e, color: i }, a) => p("gids-display-tag", {
|
|
|
81
64
|
return t && t !== "" ? t.toUpperCase() : "";
|
|
82
65
|
}
|
|
83
66
|
render() {
|
|
84
|
-
const t =
|
|
85
|
-
return
|
|
67
|
+
const t = x(), i = this?.label, o = this?.subtitle, r = this?.supportingText, s = this.isValidLabel(), l = this.isValidSubtitle(), p = this.isValidSupportingText(), a = this.isDisplayTagVisible(), d = this?.displayTagLabel ?? "";
|
|
68
|
+
return e(c, { key: "f70f03c864cc5d3fe92f7f22a1772054636c1e9c", class: t }, s || l || a ? e("div", { class: "gids-expansion-body-list-item__primary-container" }, s || a ? e("div", { class: "gids-expansion-body-list-item__primary-content" }, s ? e("span", { class: "gids-expansion-body-list-item__label" }, this.convertTextToUppercase(i)) : void 0, a ? e(b, { color: this.displayTagColor || "accent-5", label: d, size: this.displayTagSize, appearance: this.displayTagAppearance }) : void 0) : void 0, l ? e("button", { type: "button", class: "gids-expansion-body-list-item__subtitle", onClick: this.handleSubtitleClick }, o) : void 0) : void 0, p ? e("div", { class: "gids-expansion-body-list-item__secondary-container" }, e("button", { type: "button", class: "gids-expansion-body-list-item__supporting-text", onClick: this.handleSupportingTextClick }, this.convertTextToUppercase(r))) : void 0);
|
|
86
69
|
}
|
|
87
70
|
get hostElement() {
|
|
88
71
|
return this;
|
|
@@ -94,13 +77,13 @@ const y = ({ size: t, appearance: e, color: i }, a) => p("gids-display-tag", {
|
|
|
94
77
|
return '.gids-expansion-body-list-item{display:flex;flex:1;gap:var(--gids-gap-400);padding-bottom:var(--gids-padding-vertical-edge-to-element-300);position:relative;cursor:default}.gids-expansion-body-list-item::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-body-list-item::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-body-list-item:has(.gids-expansion-body-list-item__subtitle:hover)::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-body-list-item:has(.gids-expansion-body-list-item__subtitle:hover)::before{opacity:1}.gids-expansion-body-list-item__primary-container{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;flex:1 0;gap:var(--gids-gap-150)}.gids-expansion-body-list-item__primary-content{display:flex;align-items:center;justify-content:center;gap:var(--gids-gap-200)}.gids-expansion-body-list-item__secondary-container{display:flex;flex-direction:column;align-items:flex-end;justify-content:flex-end}.gids-expansion-body-list-item__label{font-family:var(--gids-typography-label-x-small__font-family);font-size:var(--gids-typography-label-x-small__font-size);font-weight:var(--gids-typography-label-x-small__font-weight);letter-spacing:var(--gids-typography-label-x-small__letter-spacing);line-height:var(--gids-typography-label-x-small__line-height);text-transform:var(--gids-typography-label-x-small__text-transform, inherit);font-variant-caps:var(--gids-typography-label-x-small__font-variant-caps, inherit);color:var(--gids-color-text-subtle);cursor:default}.gids-expansion-body-list-item__subtitle{margin:0;padding:0;appearance:none;border:none;background:none;font-family:var(--gids-typography-label-medium__font-family);font-size:var(--gids-typography-label-medium__font-size);font-weight:var(--gids-typography-label-medium__font-weight);letter-spacing:var(--gids-typography-label-medium__letter-spacing);line-height:var(--gids-typography-label-medium__line-height);text-transform:var(--gids-typography-label-medium__text-transform, inherit);font-variant-caps:var(--gids-typography-label-medium__font-variant-caps, inherit);color:var(--gids-color-text-default);cursor:pointer}.gids-expansion-body-list-item__supporting-text{margin:0;padding:0;appearance:none;border:none;background:none;font-family:var(--gids-typography-label-x-small__font-family);font-size:var(--gids-typography-label-x-small__font-size);font-weight:var(--gids-typography-label-x-small__font-weight);letter-spacing:var(--gids-typography-label-x-small__letter-spacing);line-height:var(--gids-typography-label-x-small__line-height);text-transform:var(--gids-typography-label-x-small__text-transform, inherit);font-variant-caps:var(--gids-typography-label-x-small__font-variant-caps, inherit);color:var(--gids-color-text-subtle);padding:var(--gids-padding-vertical-edge-to-element-050) var(--gids-padding-horizontal-edge-to-element-100);border-radius:var(--gids-border-radius-sm);cursor:pointer;transition:background-color 0.3s ease-in-out, color 0.3s ease-in-out}.gids-expansion-body-list-item__supporting-text:hover{background-color:var(--gids-color-background-brand-bold-hovered);color:var(--gids-color-text-inverse)}.gids-expansion-body-list-item__supporting-text:active{background-color:var(--gids-color-background-brand-bold-pressed);color:var(--gids-color-text-inverse)}';
|
|
95
78
|
}
|
|
96
79
|
}, [0, "gids-expansion-body-list-item", { listItemId: [1, "list-item-id"], label: [1], subtitle: [1], supportingText: [1, "supporting-text"], displayTagVisible: [4, "display-tag-visible"], displayTagColor: [1, "display-tag-color"], displayTagSize: [1, "display-tag-size"], displayTagAppearance: [1, "display-tag-appearance"], displayTagLabel: [1, "display-tag-label"], onSubtitlePress: [16], onSupportingTextPress: [16] }, void 0, { displayTagVisible: [{ handleDisplayTagVisibilityChange: 0 }], displayTagColor: [{ handleDisplayTagColorChange: 0 }], displayTagSize: [{ handleDisplayTagSizeChange: 0 }], displayTagAppearance: [{ handleDisplayTagAppearanceChange: 0 }] }]);
|
|
97
|
-
function
|
|
80
|
+
function v() {
|
|
98
81
|
typeof customElements < "u" && ["gids-expansion-body-list-item"].forEach(((t) => {
|
|
99
|
-
t === "gids-expansion-body-list-item" && (customElements.get(
|
|
82
|
+
t === "gids-expansion-body-list-item" && (customElements.get(n(t)) || customElements.define(n(t), f));
|
|
100
83
|
}));
|
|
101
84
|
}
|
|
102
|
-
|
|
85
|
+
v();
|
|
103
86
|
export {
|
|
104
|
-
|
|
105
|
-
|
|
87
|
+
v as d,
|
|
88
|
+
f as r
|
|
106
89
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { q as i, L as o, u as n, D as l } from "./p-Bf3p-DY2-CPqEc-vc.js";
|
|
2
2
|
import { i as g } from "./p-B2zUuNXz-BLBgQDu7.js";
|
|
3
|
-
import { d as r } from "./p-C2O_pGky-
|
|
3
|
+
import { d as r } from "./p-C2O_pGky-CP4PN55D.js";
|
|
4
4
|
import { c } from "./clsx-OuTLNxxd.js";
|
|
5
5
|
const h = ({ appearance: s, size: e, disabled: a }, d) => c("gids-dot", {
|
|
6
6
|
"gids-dot--disabled": a,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { q as r, L as l, u as h, D as n } from "./p-Bf3p-DY2-CPqEc-vc.js";
|
|
2
2
|
import { o as c } from "./p-UVmSPzTd-6vjXok6h.js";
|
|
3
|
-
import { d as p } from "./p-D4Pimu_8-
|
|
3
|
+
import { d as p } from "./p-D4Pimu_8-ARSuGBs4.js";
|
|
4
4
|
import { c as u } from "./clsx-OuTLNxxd.js";
|
|
5
5
|
const m = ({ expanded: e }, t) => u("gids-dropdown-picker", {
|
|
6
6
|
"gids-dropdown-picker--expanded": e
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { q as s, L as l, u, D as i, F as d } from "./p-Bf3p-DY2-CPqEc-vc.js";
|
|
2
|
-
import { d as n } from "./p-D4Pimu_8-
|
|
2
|
+
import { d as n } from "./p-D4Pimu_8-ARSuGBs4.js";
|
|
3
3
|
import { l as r } from "./p-CHGTBObD-EN4cCwtX.js";
|
|
4
4
|
const c = (e) => e.type === "hidden", f = (e) => {
|
|
5
5
|
if (!(e instanceof HTMLElement))
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { q as e, L as t, u as s, D as o } from "./p-Bf3p-DY2-CPqEc-vc.js";
|
|
2
2
|
import { i as c } from "./p-B2zUuNXz-BLBgQDu7.js";
|
|
3
|
-
import { d } from "./p-D4Pimu_8-
|
|
3
|
+
import { d } from "./p-D4Pimu_8-ARSuGBs4.js";
|
|
4
4
|
const a = t(class extends s {
|
|
5
5
|
constructor(i) {
|
|
6
6
|
super(), i !== !1 && this.__registerHost(), this.__attachShadow();
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { D as g } from "./p-Bf3p-DY2-CPqEc-vc.js";
|
|
2
|
+
import { c as e } from "./clsx-OuTLNxxd.js";
|
|
3
|
+
const n = ({ size: a, appearance: s, color: t }, d) => e("gids-display-tag", {
|
|
4
|
+
"gids-display-tag--xsmall": a === "xs",
|
|
5
|
+
"gids-display-tag--small": a === "sm",
|
|
6
|
+
// 'gids-display-tag--medium': size === 'md',
|
|
7
|
+
"gids-display-tag--large": a === "lg",
|
|
8
|
+
"gids-display-tag--accent-1": s === "subtle" && t === "accent-1",
|
|
9
|
+
"gids-display-tag--accent-2": s === "subtle" && t === "accent-2",
|
|
10
|
+
"gids-display-tag--accent-3": s === "subtle" && t === "accent-3",
|
|
11
|
+
"gids-display-tag--accent-4": s === "subtle" && t === "accent-4",
|
|
12
|
+
"gids-display-tag--accent-5": s === "subtle" && t === "accent-5",
|
|
13
|
+
"gids-display-tag--bold-accent-1": s === "bold" && t === "accent-1",
|
|
14
|
+
"gids-display-tag--bold-accent-2": s === "bold" && t === "accent-2",
|
|
15
|
+
"gids-display-tag--bold-accent-3": s === "bold" && t === "accent-3",
|
|
16
|
+
"gids-display-tag--bold-accent-4": s === "bold" && t === "accent-4",
|
|
17
|
+
"gids-display-tag--bold-accent-5": s === "bold" && t === "accent-5"
|
|
18
|
+
}, d), b = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
19
|
+
__proto__: null,
|
|
20
|
+
getGidsDisplaTagClassNames: n
|
|
21
|
+
}, Symbol.toStringTag, { value: "Module" })), { getGidsDisplaTagClassNames: y } = b, u = ({ label: a, appearance: s = "subtle", color: t, size: d = "md", icon: l, class: i, ...c }) => g("span", { class: y({ size: d, appearance: s, color: t }, i), ...c }, l, a);
|
|
22
|
+
export {
|
|
23
|
+
u as o
|
|
24
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { q as a, L as _, u as m, D as t } from "./p-Bf3p-DY2-CPqEc-vc.js";
|
|
2
2
|
import { p as b } from "./p-DMNS1d8v-CHF62UXm.js";
|
|
3
3
|
import { o as u } from "./p-BCVFQSjK-CKrYrI4b.js";
|
|
4
|
-
import { d as v } from "./p-C3xv7tfs-
|
|
4
|
+
import { d as v } from "./p-C3xv7tfs-DHsjc3Ns.js";
|
|
5
5
|
import { c as x } from "./clsx-OuTLNxxd.js";
|
|
6
6
|
const f = ({ breakpoint: e }, r) => x("gids-pie-chart", {
|
|
7
7
|
"gids-pie-chart--breakpoint-mobile": e === "mobile"
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { q as l, L as d, u as o, D as n } from "./p-Bf3p-DY2-CPqEc-vc.js";
|
|
2
2
|
import { o as h } from "./p-UVmSPzTd-6vjXok6h.js";
|
|
3
|
-
import { d as c } from "./p-D4Pimu_8-
|
|
3
|
+
import { d as c } from "./p-D4Pimu_8-ARSuGBs4.js";
|
|
4
4
|
import { e as p } from "./p-ChV9xqsO-CJSPCx6p.js";
|
|
5
|
-
import { l as u } from "./p-COHuQEfZ-
|
|
6
|
-
import { u as b } from "./p-Chqeexny-
|
|
7
|
-
import { h as m } from "./p-BSbOhfLZ-
|
|
5
|
+
import { l as u } from "./p-COHuQEfZ-DcUxD9TI.js";
|
|
6
|
+
import { u as b } from "./p-Chqeexny-BuJ-PhNi.js";
|
|
7
|
+
import { h as m } from "./p-BSbOhfLZ-BdEHhmFM.js";
|
|
8
8
|
import { c as k } from "./clsx-OuTLNxxd.js";
|
|
9
9
|
const g = (e) => k("gids-calendar-header-panel", e), f = (e, a = "en-US") => {
|
|
10
10
|
const t = new Date(2e3, e - 1, 1);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { q as i, L as s, u as n, D as t } from "./p-Bf3p-DY2-CPqEc-vc.js";
|
|
2
|
-
import { d } from "./p-D4Pimu_8-
|
|
2
|
+
import { d } from "./p-D4Pimu_8-ARSuGBs4.js";
|
|
3
3
|
import { c as l } from "./clsx-OuTLNxxd.js";
|
|
4
4
|
const o = ({ seriesType: e, orientation: a }, r) => l("gids-chart-legend-item", {
|
|
5
5
|
// 'gids-chart-legend-item--series-1': seriesType === '1', // by default
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { q as d, L as f, u as v, D as e } from "./p-Bf3p-DY2-CPqEc-vc.js";
|
|
2
2
|
import { p as u } from "./p-DMNS1d8v-CHF62UXm.js";
|
|
3
3
|
import { o as w } from "./p-BCVFQSjK-CKrYrI4b.js";
|
|
4
|
-
import { d as k } from "./p-C3xv7tfs-
|
|
4
|
+
import { d as k } from "./p-C3xv7tfs-DHsjc3Ns.js";
|
|
5
5
|
import { c as z } from "./clsx-OuTLNxxd.js";
|
|
6
6
|
const L = ({ breakpoint: a }, s) => z("gids-line-chart", {
|
|
7
7
|
"gids-line-chart--breakpoint-mobile": a === "mobile"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { q as d, L as u, u as p, D as a } from "./p-Bf3p-DY2-CPqEc-vc.js";
|
|
2
|
-
import { d as m } from "./p-D4Pimu_8-
|
|
3
|
-
import { r as g } from "./p-BVAtja26-
|
|
2
|
+
import { d as m } from "./p-D4Pimu_8-ARSuGBs4.js";
|
|
3
|
+
import { r as g } from "./p-BVAtja26-C16IjShX.js";
|
|
4
4
|
import { c } from "./clsx-OuTLNxxd.js";
|
|
5
5
|
const v = ({ expanded: e }, t) => c("gids-dropdown", {
|
|
6
6
|
"gids-dropdown--expanded": e
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { q as d, L as r, u as c, D as l } from "./p-Bf3p-DY2-CPqEc-vc.js";
|
|
2
|
-
import { m as h, x as m, N as u } from "./p-D6lxqcxP-
|
|
2
|
+
import { m as h, x as m, N as u } from "./p-D6lxqcxP-C6BOC0kV.js";
|
|
3
3
|
import { c as p } from "./clsx-OuTLNxxd.js";
|
|
4
4
|
const I = (t) => p("gids-calendar-month-list", t), f = () => {
|
|
5
5
|
const t = [], s = new Intl.DateTimeFormat("en-US", { month: "long" });
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { q as d, L as c, u as h, D as i } from "./p-Bf3p-DY2-CPqEc-vc.js";
|
|
2
|
-
import { m as u, x as m, N as Y } from "./p-D6lxqcxP-
|
|
2
|
+
import { m as u, x as m, N as Y } from "./p-D6lxqcxP-C6BOC0kV.js";
|
|
3
3
|
import { c as p } from "./clsx-OuTLNxxd.js";
|
|
4
4
|
const f = (e) => p("gids-calendar-year-list", e), g = (e) => {
|
|
5
5
|
const t = e.toString().trim();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { D as t, F as w } from "./p-Bf3p-DY2-CPqEc-vc.js";
|
|
2
2
|
import { p as O } from "./p-DMNS1d8v-CHF62UXm.js";
|
|
3
|
-
import { d as C } from "./p-D4Pimu_8-
|
|
3
|
+
import { d as C } from "./p-D4Pimu_8-ARSuGBs4.js";
|
|
4
4
|
import { c as a } from "./clsx-OuTLNxxd.js";
|
|
5
5
|
const T = ({ orientation: e }, i) => a("gids-divider", {
|
|
6
6
|
"gids-divider--vertical": e === "vertical"
|