@ganpatiinfo/gids-core-web 10.1.0 → 10.2.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 +201 -0
- 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-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-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.d.ts +11 -0
- package/dist/gids-tab-item.js +1 -0
- package/dist/gids-tab.d.ts +11 -0
- package/dist/gids-tab.js +1 -0
- 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-DfxTsSdZ.js → p-5VIPb1eU.js} +1 -1
- package/dist/{p-Db62Pz3n.js → p-8tOn5SjU.js} +1 -1
- package/dist/{p-V48JyMbP.js → p-B1Jgtjhu.js} +1 -1
- package/dist/{p-mZJdpfOo.js → p-BYDimyG-.js} +1 -1
- package/dist/{p-DPIK2ayL.js → p-BfnzH6wp.js} +1 -1
- package/dist/p-Bj28yqMD.js +1 -0
- package/dist/{p-CW7tw1Fb.js → p-C-cUL-aA.js} +1 -1
- package/dist/{p-DNTv2BQ5.js → p-C7ifjRCE.js} +1 -1
- package/dist/{p-JjN8U9B5.js → p-Ciw-O9qN.js} +1 -1
- package/dist/{p-BpQB6ncp.js → p-DiNad9Px.js} +1 -1
- package/dist/{p-CQH7eAs3.js → p-DoPuGtJd.js} +1 -1
- package/dist/{p-BQ-ZnlnH.js → p-Doi8Yizl.js} +1 -1
- package/dist/{p-BZCJlqVe.js → p-Jdpe4Sgj.js} +1 -1
- package/dist/{p-CP1wz2PI.js → p-bPPm7cuw.js} +1 -1
- package/dist/{p-DoCwI_bx.js → p-qb1aWgjh.js} +1 -1
- package/dist/{p-H1JIMJ2t.js → p-qrjEbv6g.js} +1 -1
- package/dist/{p-Cn3-K5eR.js → p-xITwQAMz.js} +1 -1
- package/dist/types/components/webComponents/GidsTab/GidsTab.d.ts +17 -0
- package/dist/types/components/webComponents/GidsTabItem/GidsTabItem.d.ts +29 -0
- package/dist/types/components.d.ts +123 -2
- package/dist-bundled/es/gids-action-bar.js +4 -4
- package/dist-bundled/es/gids-activity-gauge.js +1 -1
- 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 +33 -33
- 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 +6 -6
- package/dist-bundled/es/gids-chevron-button.js +4 -4
- package/dist-bundled/es/gids-dot.js +3 -3
- package/dist-bundled/es/gids-dropdown-field.js +10 -10
- package/dist-bundled/es/gids-dropdown-picker.js +2 -2
- package/dist-bundled/es/gids-dropdown.js +1 -1
- package/dist-bundled/es/gids-field.js +1 -1
- package/dist-bundled/es/gids-filter.js +3 -3
- package/dist-bundled/es/gids-icon.js +4 -4
- package/dist-bundled/es/gids-input.js +4 -4
- package/dist-bundled/es/gids-line-chart.js +4 -4
- package/dist-bundled/es/gids-overflow-container.js +9 -9
- package/dist-bundled/es/gids-overlay-provider.js +2 -2
- package/dist-bundled/es/gids-password-field.js +19 -19
- 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 +3 -3
- package/dist-bundled/es/gids-tab-item.js +100 -0
- package/dist-bundled/es/gids-tab.js +63 -0
- package/dist-bundled/es/gids-text-field.js +9 -9
- package/dist-bundled/es/gids-toggle-button.js +4 -4
- package/dist-bundled/es/gids-tooltip.js +4 -4
- package/dist-bundled/es/nonEmpty-B284_5ai.js +4 -0
- package/dist-bundled/es/{p-DfxTsSdZ-C2Afv1lS.js → p-5VIPb1eU-MCAo8JCp.js} +2 -2
- package/dist-bundled/es/{p-Db62Pz3n-DpQjwBYb.js → p-8tOn5SjU-D9rZ28cf.js} +10 -10
- package/dist-bundled/es/{p-V48JyMbP-Bx-0od-Z.js → p-B1Jgtjhu-B_VYp-ZP.js} +7 -7
- package/dist-bundled/es/{p-mZJdpfOo-DicbKil0.js → p-BYDimyG--DBCLrqDJ.js} +6 -6
- package/dist-bundled/es/{p-DPIK2ayL-DPEbctqo.js → p-BfnzH6wp-BfLC7Nak.js} +2 -2
- package/dist-bundled/es/{p-DmLoB2Dn-D-FSoCvI.js → p-Bj28yqMD-Dz1SWSqM.js} +6 -6
- package/dist-bundled/es/{p-CW7tw1Fb-DtJ5TwCU.js → p-C-cUL-aA-2jsvw-Lr.js} +11 -11
- package/dist-bundled/es/{p-DNTv2BQ5-Bwgd30mM.js → p-C7ifjRCE-CRlorwoN.js} +12 -12
- package/dist-bundled/es/{p-JjN8U9B5-GeWjfJBY.js → p-Ciw-O9qN-DkWfirFu.js} +4 -4
- package/dist-bundled/es/{p-BpQB6ncp-C2AWddf-.js → p-DiNad9Px-uOCMHqAq.js} +9 -9
- package/dist-bundled/es/{p-CQH7eAs3-BVowyVGn.js → p-DoPuGtJd-DYlbhh57.js} +2 -2
- package/dist-bundled/es/{p-BQ-ZnlnH-CUVdDHzX.js → p-Doi8Yizl-BszWK5Dq.js} +3 -3
- package/dist-bundled/es/{p-BZCJlqVe-BcSwze-q.js → p-Jdpe4Sgj-acwaxLtK.js} +5 -5
- package/dist-bundled/es/p-UVmSPzTd-6vjXok6h.js +26 -0
- package/dist-bundled/es/{p-CP1wz2PI-DhVAsHFS.js → p-bPPm7cuw-B-dtPJF9.js} +5 -5
- package/dist-bundled/es/{p-DoCwI_bx-BXHlZI7-.js → p-qb1aWgjh-CzmMPIME.js} +6 -6
- package/dist-bundled/es/{p-H1JIMJ2t-DEXp7M4I.js → p-qrjEbv6g-ITSp3ky_.js} +2 -2
- package/dist-bundled/es/{p-Cn3-K5eR-tQ1EOnDF.js → p-xITwQAMz-BMXjOAAQ.js} +12 -12
- package/dist-bundled/umd/gids-action-bar.umd.js +2 -2
- 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 +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-field.umd.js +2 -2
- 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-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 +5 -0
- package/dist-bundled/umd/gids-tab.umd.js +5 -0
- package/dist-bundled/umd/gids-text-field.umd.js +2 -2
- package/dist-bundled/umd/gids-toggle-button.umd.js +3 -3
- package/dist-bundled/umd/gids-tooltip.umd.js +1 -1
- package/dist-bundled/umd-complete/gids-core-web.umd.js +4 -4
- package/package.json +20 -4
- package/dist/p-DmLoB2Dn.js +0 -1
- package/dist-bundled/es/p-UVmSPzTd-DiTxS9kW.js +0 -25
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { q as r, L as l, u as h, D as n } from "./p-Bf3p-DY2-CPqEc-vc.js";
|
|
2
|
-
import { o as c } from "./p-UVmSPzTd-
|
|
2
|
+
import { o as c } from "./p-UVmSPzTd-6vjXok6h.js";
|
|
3
3
|
import { d as p } from "./p-D4Pimu_8-DfEGRQGf.js";
|
|
4
4
|
import { c as u } from "./clsx-OuTLNxxd.js";
|
|
5
5
|
const m = ({ expanded: e }, t) => u("gids-dropdown-picker", {
|
|
@@ -111,7 +111,7 @@ const m = ({ expanded: e }, t) => u("gids-dropdown-picker", {
|
|
|
111
111
|
}
|
|
112
112
|
render() {
|
|
113
113
|
const e = this.expanded && this.isInteractive(), t = f({ expanded: e }), i = typeof this.idPicker == "string" ? this.idPicker : void 0, s = i ? `${i}__menu` : void 0;
|
|
114
|
-
return n("div", { key: "
|
|
114
|
+
return n("div", { key: "1ee449ed3c2d93b14e4b2df8d535bd30e580fb0f", class: t, onClick: this.handleOutSpaceClickOfDropdownButtonToggle }, n(c, { key: "e566f446f656a90c51ff25206d1b56918641904c", role: "pickerbox", "aria-expanded": e ? "true" : "false", "aria-haspopup": "pickerlistbox", "aria-controls": s ?? "", onClick: this.handleDropdownButtonClickToggle, disabled: this.disabled, value: this.selectedItemTitle ?? this.value ?? "", loading: this.loading, appearance: this.appearance, size: this.size }, this.hasLeadingIcon ? n("slot", { name: "leadingIconDropdownPicker", slot: "leadingIcon" }) : n(p, { name: "chevron-down", size: this.size, appearance: "regular", alt: "", slot: "leadingIcon" })), n("div", { key: "ff00f5d0f0ecd11fd67ba8748f983a0444400c50", class: "gids-dropdown-picker__menu", id: s, role: "pickerbox", onClick: this.handleMenuClick }, n("slot", { key: "ea983b061c69295bc6756a44617cc35267d6ce70" })));
|
|
115
115
|
}
|
|
116
116
|
get hostElement() {
|
|
117
117
|
return this;
|
|
@@ -130,6 +130,6 @@ function E() {
|
|
|
130
130
|
}
|
|
131
131
|
E();
|
|
132
132
|
export {
|
|
133
|
-
E as
|
|
134
|
-
v as
|
|
133
|
+
E as a,
|
|
134
|
+
v as h
|
|
135
135
|
};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { q as l, L as o, u as p, D as r } from "./p-Bf3p-DY2-CPqEc-vc.js";
|
|
2
|
-
import { o as h } from "./p-UVmSPzTd-
|
|
2
|
+
import { o as h } from "./p-UVmSPzTd-6vjXok6h.js";
|
|
3
3
|
import { d as c } from "./p-D4Pimu_8-DfEGRQGf.js";
|
|
4
|
-
import { c as u } from "./p-
|
|
5
|
-
import { u as b } from "./p-
|
|
6
|
-
import {
|
|
4
|
+
import { c as u } from "./p-B1Jgtjhu-B_VYp-ZP.js";
|
|
5
|
+
import { u as b } from "./p-C-cUL-aA-2jsvw-Lr.js";
|
|
6
|
+
import { a as m } from "./p-Ciw-O9qN-DkWfirFu.js";
|
|
7
7
|
import { c as k } from "./clsx-OuTLNxxd.js";
|
|
8
|
-
const
|
|
8
|
+
const g = (e) => k("gids-calendar-header-panel", e), f = (e, a = "en-US") => {
|
|
9
9
|
const t = new Date(2e3, e - 1, 1);
|
|
10
10
|
return new Intl.DateTimeFormat(a, { month: "long" }).format(t);
|
|
11
11
|
}, P = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
12
12
|
__proto__: null,
|
|
13
|
-
getCalendarMonthNameViaMonthNumber:
|
|
14
|
-
getGidsCalendarHeaderPanelClassNames:
|
|
13
|
+
getCalendarMonthNameViaMonthNumber: f,
|
|
14
|
+
getGidsCalendarHeaderPanelClassNames: g
|
|
15
15
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
16
16
|
function d(e) {
|
|
17
17
|
var a, t, n = "";
|
|
@@ -143,7 +143,7 @@ const { getGidsCalendarHeaderPanelClassNames: v, getCalendarMonthNameViaMonthNum
|
|
|
143
143
|
}
|
|
144
144
|
render() {
|
|
145
145
|
const e = v(), a = this.expandedMonthPicker && this.isMonthPickerInteractive() && !this.expandedYearPicker, t = this.expandedYearPicker && this.isYearPickerInteractive() && !this.expandedMonthPicker, n = this.internalPreviousDisabled || this.previousDisabled, i = this.internalNextDisabled || this.nextDisabled;
|
|
146
|
-
return r("div", { key: "
|
|
146
|
+
return r("div", { key: "4e86a7c844e70c90e05e2a1ddd5ad51e68fc5bb0", class: e }, r(h, { key: "d50159e90799c9e9b8069d507c35804e2fd9b548", leadingIcon: r(c, { name: "arrow-left", size: "md", appearance: "regular" }), appearance: this.appearance, size: "sm", width: "intrinsic", onClick: this.handlePreviousActionClick, disabled: n }), r("div", { key: "2dd55f8c20c09562ce9102378893dd7b2b4932d3", class: "gids-calendar-header-panel__main-container" }, r("gids-dropdown-picker", { key: "f8249e38d451bb29a22e8a267691ed36353e4ca1", expanded: a, appearance: this.appearance, size: "sm", value: `${this.panelMonthNumber}`, disabled: this.monthPickerDisabled }, r("gids-calendar-month-list", { key: "f1a39772965a30147741d4dd7cad7bbfaa646164", type: "default", selectedMonthNumber: this.panelMonthNumber, onSelectionMonthChange: this.handleMonthPickerMenuClick })), r("span", { key: "0b134f7c394a01ec8f37fb310e2fa2640dfcb0ed", class: y("gids-calendar-header-panel__panel-value", { "gids-calendar-header-panel__panel-value-disabled": this.panelDisabled }) }, this.getPanelValue()), r("gids-dropdown-picker", { key: "89947df44ab95f08ede5fc3f2a47e8659d507b52", expanded: t, appearance: this.appearance, size: "sm", value: `${this.panelYear}`, disabled: this.yearPickerDisabled }, r("gids-calendar-year-list", { key: "2b240db8514dc0c4257bea698f614981674a33f6", type: "default", selectedYear: this.panelYear, startYear: this.startYear ?? this.fallbackStartYear, endYear: this.endYear, onSelectionYearChange: this.handleYearPickerMenuClick }))), r(h, { key: "b087f4fc376b6b2a0e0a2d52178f70d462ab97bb", leadingIcon: r(c, { name: "arrow-right", size: "md", appearance: "regular" }), appearance: this.appearance, size: "sm", width: "intrinsic", onClick: this.handleNextActionClick, disabled: i }));
|
|
147
147
|
}
|
|
148
148
|
get hostElement() {
|
|
149
149
|
return this;
|
|
@@ -175,6 +175,6 @@ function Y() {
|
|
|
175
175
|
Y();
|
|
176
176
|
export {
|
|
177
177
|
Y as g,
|
|
178
|
-
P as
|
|
178
|
+
P as n,
|
|
179
179
|
M as u
|
|
180
180
|
};
|
|
@@ -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
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { d as w } from "./p-qb1aWgjh-CzmMPIME.js";
|
|
4
|
+
import { l as k } from "./p-BYDimyG--DBCLrqDJ.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"
|
|
@@ -54,9 +54,9 @@ const c = (e) => e.type === "hidden", f = (e) => {
|
|
|
54
54
|
this._el.removeEventListener("click", this._focusInput);
|
|
55
55
|
}
|
|
56
56
|
render() {
|
|
57
|
-
return a(d, { key: "
|
|
57
|
+
return a(d, { key: "94b08611da249786439b37e6ea7961ea3e5ee851" }, a("slot", { key: "d334ee7f99214b10ddecafcbc9a8a851723eba89", name: "leadingIcon" }), this.leadingLabel && a("span", { key: "8c650986f8a51f563f2499d9f68704702d67d3d6", class: "gids-input__label" }, this.leadingLabel), a("slot", { key: "d6f6f0f53e0af2b3de306fbb4bda2b4199567060", name: "leadingAccessory" }), a("input", { key: "8429cdabbbc2034cac2d76cc72fa5e40298d5ec7", ...this.inputProps, ref: (e) => {
|
|
58
58
|
this.#t = e, this.#e.value !== void 0 && (this.#t.value = this.#e.value, delete this.#e.value), this.#e.defaultValue !== void 0 && (this.#t.defaultValue = this.#e.defaultValue, delete this.#e.defaultValue);
|
|
59
|
-
}, class: "gids-input__control", name: this.name, disabled: this.disabled, readOnly: this.readOnly, required: this.required, onFocus: this._handleInputFocusAndBlur, onBlur: this._handleInputFocusAndBlur }), a("slot", { key: "
|
|
59
|
+
}, class: "gids-input__control", name: this.name, disabled: this.disabled, readOnly: this.readOnly, required: this.required, onFocus: this._handleInputFocusAndBlur, onBlur: this._handleInputFocusAndBlur }), a("slot", { key: "aa7a6d1b0551a88801ef75da893ecf41e1eaafa8", name: "trailingAccessory" }), this.trailingLabel && a("span", { key: "5f683d6c71ef3802c3749959b921b9046c168437", class: "gids-input__label" }, this.trailingLabel), a("slot", { key: "b7d26fe16f35c0147b7b1a34dd41cd0f85ed5ab5", name: "trailingIcon" }), this.status === "incomplete" && a(n, { key: "66f1da3df7907675feace05c11e2e31e892d6251", name: "warning", appearance: "filled", class: "gids-input__warning-icon" }), this.status === "complete" && a(n, { key: "3fc74b5623174d2a321a5367854ff180bde2cd9f", name: "positive", appearance: "filled", class: "gids-input__positive-icon" }), this.loading && a(r, { key: "ceb78121856acade2513cffcae16170d91a3fb74", size: "md", indeterminate: !0 }));
|
|
60
60
|
}
|
|
61
61
|
get _el() {
|
|
62
62
|
return this;
|
|
@@ -69,6 +69,6 @@ function h() {
|
|
|
69
69
|
}
|
|
70
70
|
h();
|
|
71
71
|
export {
|
|
72
|
-
o as
|
|
72
|
+
o as c,
|
|
73
73
|
h as r
|
|
74
74
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
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-
|
|
4
|
-
import { c } from "./clsx-OuTLNxxd.js";
|
|
5
|
-
const
|
|
3
|
+
import { d as r } from "./p-8tOn5SjU-D9rZ28cf.js";
|
|
4
|
+
import { c as h } from "./clsx-OuTLNxxd.js";
|
|
5
|
+
const c = ({ appearance: s, size: e, disabled: a }, d) => h("gids-dot", {
|
|
6
6
|
"gids-dot--disabled": a,
|
|
7
7
|
"gids-dot--subtle": s === "subtle" && !a,
|
|
8
8
|
"gids-dot--static-inverse": s === "static-inverse" && !a,
|
|
@@ -16,7 +16,7 @@ const h = ({ appearance: s, size: e, disabled: a }, d) => c("gids-dot", {
|
|
|
16
16
|
"gids-dot--3xl": e === "3xl"
|
|
17
17
|
}, d), p = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
18
18
|
__proto__: null,
|
|
19
|
-
getGidsDotClassNames:
|
|
19
|
+
getGidsDotClassNames: c
|
|
20
20
|
}, Symbol.toStringTag, { value: "Module" })), { getGidsDotClassNames: t } = p, C = o(class extends n {
|
|
21
21
|
constructor(s) {
|
|
22
22
|
super(), s !== !1 && this.__registerHost(), this.appearance = "subtle", this.size = "xs", this.disabled = !1, this.activeClasses = "";
|
|
@@ -41,7 +41,7 @@ const h = ({ appearance: s, size: e, disabled: a }, d) => c("gids-dot", {
|
|
|
41
41
|
this.activeClasses = t({ size: this.size, appearance: this.appearance, disabled: this.disabled }, this.extraClasses);
|
|
42
42
|
}
|
|
43
43
|
render() {
|
|
44
|
-
return l("gids-icon", { key: "
|
|
44
|
+
return l("gids-icon", { key: "480701db1853f39d641ed1b1478644f90202bad6", class: this.activeClasses, name: "new", alt: "", appearance: "filled" });
|
|
45
45
|
}
|
|
46
46
|
get _el() {
|
|
47
47
|
return this;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { D as a } from "./p-Bf3p-DY2-CPqEc-vc.js";
|
|
2
|
+
import { l as v } from "./p-CHGTBObD-EN4cCwtX.js";
|
|
3
|
+
import { n as b } from "./nonEmpty-B284_5ai.js";
|
|
4
|
+
import { c as _ } from "./clsx-OuTLNxxd.js";
|
|
5
|
+
const h = ({ appearance: o, size: t, width: d, destructive: s, positive: n, loading: l }, i, e) => _("gids-button", {
|
|
6
|
+
"gids-button--primary": o === "primary",
|
|
7
|
+
"gids-button--subtle": o === "subtle",
|
|
8
|
+
"gids-button--xs": t === "xs",
|
|
9
|
+
"gids-button--sm": t === "sm",
|
|
10
|
+
// 'gids-button--md': size === 'md',
|
|
11
|
+
"gids-button--lg": t === "lg",
|
|
12
|
+
"gids-button--full-width": d === "full",
|
|
13
|
+
"gids-button--destructive": s && !n,
|
|
14
|
+
"gids-button--positive": n && !s,
|
|
15
|
+
"gids-button--icon-only": i,
|
|
16
|
+
"gids-button--loading": l
|
|
17
|
+
}, e), x = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
18
|
+
__proto__: null,
|
|
19
|
+
getGidsButtonClassNames: h
|
|
20
|
+
}, Symbol.toStringTag, { value: "Module" })), { getGidsButtonClassNames: w } = x, z = ({ appearance: o, size: t, destructive: d, positive: s, loading: n, width: l, leadingIcon: i, trailingIcon: e, as: c, disabled: m, class: p, forceIconOnly: y = !1, ...u }, g) => {
|
|
21
|
+
const r = c || "button", f = t === "lg" || t === void 0 ? "md" : t;
|
|
22
|
+
return r !== "button" || "type" in u || (u.type = "button"), a(r, { class: w({ appearance: o, size: t, destructive: d, loading: n, width: l, positive: s }, y || g.length === 0 && b(i) && !b(e), p), disabled: r === "button" ? m : void 0, ...u }, a("span", { class: "gids-button__content" }, i, g), n && a(v, { size: f, indeterminate: !0 }), e);
|
|
23
|
+
};
|
|
24
|
+
export {
|
|
25
|
+
z as o
|
|
26
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { q as x, L as C, u as D, D as e } from "./p-Bf3p-DY2-CPqEc-vc.js";
|
|
2
|
-
import { p as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import { p as L } from "./p-DMNS1d8v-CHF62UXm.js";
|
|
3
|
+
import { d as $ } from "./p-qb1aWgjh-CzmMPIME.js";
|
|
4
|
+
import { l as E } from "./p-BYDimyG--DBCLrqDJ.js";
|
|
5
5
|
import { c as P } from "./clsx-OuTLNxxd.js";
|
|
6
6
|
const M = ({ breakpoint: a }, o) => P("gids-bar-chart", {
|
|
7
7
|
"gids-bar-chart--breakpoint-mobile": a === "mobile"
|
|
@@ -35,7 +35,7 @@ const M = ({ breakpoint: a }, o) => P("gids-bar-chart", {
|
|
|
35
35
|
this.width = a.width, this.height = a.height > 0 ? a.height : 300;
|
|
36
36
|
}
|
|
37
37
|
render() {
|
|
38
|
-
if (this.chartLoading) return e("div", { class: "gids-bar-chart__no-data" }, e(
|
|
38
|
+
if (this.chartLoading) return e("div", { class: "gids-bar-chart__no-data" }, e(L, { label: this.chartLoadingTitle, supportingText: this.chartLoadingSupportingText, size: this?.chartLoaderSize ?? "lg" }));
|
|
39
39
|
const a = this?.chartData?.[0]?.data?.map(((t) => t.label)) ?? [], o = a.length, d = Array(o).fill(0);
|
|
40
40
|
this.chartData.forEach(((t) => {
|
|
41
41
|
Array.isArray(t?.data) && t.data.forEach(((i, r) => {
|
|
@@ -101,7 +101,7 @@ function O() {
|
|
|
101
101
|
customElements.get(x(a)) || customElements.define(x(a), j);
|
|
102
102
|
break;
|
|
103
103
|
case "gids-chart-legend":
|
|
104
|
-
customElements.get(x(a)) ||
|
|
104
|
+
customElements.get(x(a)) || $();
|
|
105
105
|
break;
|
|
106
106
|
case "gids-chart-legend-item":
|
|
107
107
|
customElements.get(x(a)) || E();
|
|
@@ -7,7 +7,7 @@ const o = ({ orientation: e }, i) => s("gids-chart-legend", {
|
|
|
7
7
|
}, i), d = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
8
8
|
__proto__: null,
|
|
9
9
|
getGidsChartLegendClassNames: o
|
|
10
|
-
}, Symbol.toStringTag, { value: "Module" })), { getGidsChartLegendClassNames:
|
|
10
|
+
}, Symbol.toStringTag, { value: "Module" })), { getGidsChartLegendClassNames: c } = d, l = a(class extends r {
|
|
11
11
|
constructor(e) {
|
|
12
12
|
super(), e !== !1 && this.__registerHost(), this.orientation = "horizontal";
|
|
13
13
|
}
|
|
@@ -15,8 +15,8 @@ const o = ({ orientation: e }, i) => s("gids-chart-legend", {
|
|
|
15
15
|
this.orientation = e;
|
|
16
16
|
}
|
|
17
17
|
render() {
|
|
18
|
-
const e =
|
|
19
|
-
return n("div", { key: "
|
|
18
|
+
const e = c({ orientation: this.orientation });
|
|
19
|
+
return n("div", { key: "7e7c09b41e9b2cb54dd61e9c7b5d3e0d68ab59d7", class: e }, n("slot", { key: "9c7cebdc6a73c349bfe6359671810cd2fe4c77f1" }));
|
|
20
20
|
}
|
|
21
21
|
static get watchers() {
|
|
22
22
|
return { orientation: [{ handleOrientationChange: 0 }] };
|
|
@@ -27,11 +27,11 @@ const o = ({ orientation: e }, i) => s("gids-chart-legend", {
|
|
|
27
27
|
}, [260, "gids-chart-legend", { orientation: [1] }, void 0, { orientation: [{ handleOrientationChange: 0 }] }]);
|
|
28
28
|
function g() {
|
|
29
29
|
typeof customElements < "u" && ["gids-chart-legend"].forEach(((e) => {
|
|
30
|
-
e === "gids-chart-legend" && (customElements.get(t(e)) || customElements.define(t(e),
|
|
30
|
+
e === "gids-chart-legend" && (customElements.get(t(e)) || customElements.define(t(e), l));
|
|
31
31
|
}));
|
|
32
32
|
}
|
|
33
33
|
g();
|
|
34
34
|
export {
|
|
35
|
-
g as
|
|
36
|
-
|
|
35
|
+
g as d,
|
|
36
|
+
l as r
|
|
37
37
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { q as h, L as g, u as m, D as o } from "./p-Bf3p-DY2-CPqEc-vc.js";
|
|
2
2
|
import { d as u } from "./p-D4Pimu_8-DfEGRQGf.js";
|
|
3
|
-
import { o as p } from "./p-
|
|
3
|
+
import { o as p } from "./p-Bj28yqMD-Dz1SWSqM.js";
|
|
4
4
|
import { c as v } from "./clsx-OuTLNxxd.js";
|
|
5
5
|
const I = ({ expanded: e }, i) => v("gids-filter", {
|
|
6
6
|
"gids-filter--expanded": e
|
|
@@ -122,7 +122,7 @@ const I = ({ expanded: e }, i) => v("gids-filter", {
|
|
|
122
122
|
}
|
|
123
123
|
render() {
|
|
124
124
|
const e = this.expanded && this.isInteractive(), i = x({ expanded: e }), s = this.isMenuToggler(), t = typeof this.filterPickerId == "string" ? this.filterPickerId : void 0, l = t ? `${t}__menu` : void 0, n = this.selectedItemTitle ?? this.value ?? "", a = this.type === "more", r = this.type === "all", d = this.type === "none";
|
|
125
|
-
return o("div", { key: "
|
|
125
|
+
return o("div", { key: "77922291f6dbfc4aaf21bb866adb8786ea9bb907", class: i, "aria-control": l ?? "" }, o("gids-toggle-button", { key: "9b3383507aae162b8faa7b8468213dda4dd55dde", id: t, name: this.name, expanded: e, value: n, disabled: this.disabled, size: this.size, loading: this.loading, tabIndex: this.filterIndex, defaultSelected: this.filterDefaultSelected, selected: this.filterSelected || this.filterDefaultSelected, onSelect: this.handleFilterButtonClickToggle }, a || r ? o(u, { name: a ? "options" : "filter", size: this.size, appearance: "regular", alt: "", slot: "leadingIcon" }) : void 0, d || r ? n : void 0, s && !a ? o(u, { name: "chevron-down", size: this.size, appearance: "regular", alt: "", slot: "trailingIcon" }) : void 0), o("div", { key: "634d8f924dd3252fa912a518dabdcba31b79c5e2", class: "gids-filter__menu", id: l, role: "pickerbox", onClick: this.handleMenuClick }, o("slot", { key: "eec317eac8d11f3021a553b59c1a030aa5135e7d", onSlotchange: () => this.evaluateSlottedMenuExistence() })));
|
|
126
126
|
}
|
|
127
127
|
get hostElement() {
|
|
128
128
|
return this;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { q as
|
|
1
|
+
import { q as r, L as u, u as p, D as a } from "./p-Bf3p-DY2-CPqEc-vc.js";
|
|
2
2
|
import { d as m } from "./p-D4Pimu_8-DfEGRQGf.js";
|
|
3
|
-
import { r as g } from "./p-
|
|
3
|
+
import { r as g } from "./p-Doi8Yizl-BszWK5Dq.js";
|
|
4
4
|
import { c as h } from "./clsx-OuTLNxxd.js";
|
|
5
5
|
const v = ({ expanded: e }, t) => h("gids-dropdown", {
|
|
6
6
|
"gids-dropdown--expanded": e
|
|
@@ -15,10 +15,10 @@ const v = ({ expanded: e }, t) => h("gids-dropdown", {
|
|
|
15
15
|
}, Symbol.toStringTag, { value: "Module" })), { getGidsDropdownClassNames: b, getGidsChevronButtonControlClassNames: I } = y, l = "gids-dropdown-item--active", E = u(class extends p {
|
|
16
16
|
constructor(e) {
|
|
17
17
|
super(), e !== !1 && this.__registerHost(), this.appearance = "default", this.expanded = !1, this.filterValue = "", this.isFilterEditing = !1, this.hasLeadingIcon = !1, this.hasLeadingAccessory = !1, this.activeIndex = -1, this.hasItemListener = !1, this.suppressNextMenuClickSelection = !1, this.hasDocumentListeners = !1, this.hasPendingControlRevalidation = !1, this.handleDropdownItemSelect = (t) => {
|
|
18
|
-
const { value: i, title: n, disabled: s, id: o, isPlaceholderItem:
|
|
18
|
+
const { value: i, title: n, disabled: s, id: o, isPlaceholderItem: d } = t.detail;
|
|
19
19
|
s || typeof i != "string" || (this.suppressNextMenuClickSelection = !0, queueMicrotask((() => {
|
|
20
20
|
this.suppressNextMenuClickSelection = !1;
|
|
21
|
-
})), this.applySelection({ id: o, value: i, title: n, disabled: !1, originalEvent: t, isPlaceholderItem:
|
|
21
|
+
})), this.applySelection({ id: o, value: i, title: n, disabled: !1, originalEvent: t, isPlaceholderItem: d }));
|
|
22
22
|
}, this.handleMenuClick = (t) => {
|
|
23
23
|
if (this.suppressNextMenuClickSelection) return;
|
|
24
24
|
const i = t.target;
|
|
@@ -29,8 +29,8 @@ const v = ({ expanded: e }, t) => h("gids-dropdown", {
|
|
|
29
29
|
if (typeof s != "string" || s.length === 0) return;
|
|
30
30
|
const o = n instanceof HTMLButtonElement ? n.id : n.getAttribute("id") ?? "";
|
|
31
31
|
if (typeof o != "string" || o.length === 0) return;
|
|
32
|
-
const
|
|
33
|
-
this.applySelection({ id: o, value: s, title: n.textContent?.trim() ?? "", disabled: !1, originalEvent: t, isPlaceholderItem: !(!
|
|
32
|
+
const d = n.getAttribute("is-placeholder-item") ?? "";
|
|
33
|
+
this.applySelection({ id: o, value: s, title: n.textContent?.trim() ?? "", disabled: !1, originalEvent: t, isPlaceholderItem: !(!d || d !== "true") });
|
|
34
34
|
}, this.handleFilterInput = (t) => {
|
|
35
35
|
const i = t.target;
|
|
36
36
|
this.filterValue = i?.value ?? "", this.isFilterEditing = !0, this.clearActive(), this.expanded || this.setExpandedState(!0, t), this.applyFilter();
|
|
@@ -212,8 +212,8 @@ const v = ({ expanded: e }, t) => h("gids-dropdown", {
|
|
|
212
212
|
render() {
|
|
213
213
|
const e = this.expanded && this.isInteractive(), t = b({ expanded: e }), i = this.getEnhancedInputProps(), n = typeof i.id == "string" ? i.id : void 0, s = n ? `${n}__menu` : void 0;
|
|
214
214
|
i.role = "combobox", i["aria-expanded"] = e ? "true" : "false", i["aria-haspopup"] = "listbox", i["aria-autocomplete"] = "list", s && (i["aria-controls"] = s);
|
|
215
|
-
const o = this.isFilterEditing ? this.filterValue : this.selectedItemTitle ?? this.value ?? "",
|
|
216
|
-
return a("div", { key: "
|
|
215
|
+
const o = this.isFilterEditing ? this.filterValue : this.selectedItemTitle ?? this.value ?? "", d = e ? "true" : "false", c = a("button", { key: "c4482da12927a1e47e6ef8aeaa8948d928f44c82", class: I({ size: "lg" }), slot: "trailingAccessory", type: "button", onClick: this.handleChevronClickToggle, "aria-label": e ? "Collapse options" : "Expanded options", "aria-expanded": d, "aria-haspopup": "listbox", "aria-controls": s, disabled: this.disabled || this.readOnly, tabIndex: -1 }, a("span", { key: "19b889b60ea764f63f885092201e950b35d78a45", class: "gids-button__content" }, a(m, { key: "0ac5ccbd16fc7bd223f45107ede23aa698c1f4b1", name: "chevron-vertical", alt: "" })));
|
|
216
|
+
return a("div", { key: "5e1ecfa73b2790753739dfb374a4220b9470dc5b", class: t }, a("gids-input", { key: "945e19939a10b6c3415c6794f6d594d8c6e4288e", appearance: this.appearance, loading: this.loading, disabled: this.disabled, readOnly: this.readOnly, required: this.required, value: o, name: this.name, inputProps: i, onClick: this.handleInputClickToggle, onFocus: this.handleInputFocusAndBlur, onBlur: this.handleInputFocusAndBlur }, this.hasLeadingIcon && a("slot", { key: "3f73972a3e445cb40bfdb1a319e7f2094a100ec6", name: "leadingIconDropdown", slot: "leadingIcon" }), this.hasLeadingAccessory && a("slot", { key: "2c53bfbd7fa8dd1cb03295bf6994c5ebabfd4c3b", name: "leadingAccessoryDropdown", slot: "leadingAccessory" }), c), a("div", { key: "b09e3a03faba23b1fa1b641543803322d05d6cc6", class: "gids-dropdown__menu", id: s, role: "listbox", onClick: this.handleMenuClick }, a("slot", { key: "90acae2dad52ae43ddada1acc294d8b5291ab668" })));
|
|
217
217
|
}
|
|
218
218
|
get hostElement() {
|
|
219
219
|
return this;
|
|
@@ -229,15 +229,15 @@ function x() {
|
|
|
229
229
|
typeof customElements < "u" && ["gids-dropdown", "gids-input"].forEach(((e) => {
|
|
230
230
|
switch (e) {
|
|
231
231
|
case "gids-dropdown":
|
|
232
|
-
customElements.get(
|
|
232
|
+
customElements.get(r(e)) || customElements.define(r(e), E);
|
|
233
233
|
break;
|
|
234
234
|
case "gids-input":
|
|
235
|
-
customElements.get(
|
|
235
|
+
customElements.get(r(e)) || g();
|
|
236
236
|
}
|
|
237
237
|
}));
|
|
238
238
|
}
|
|
239
239
|
x();
|
|
240
240
|
export {
|
|
241
|
-
|
|
242
|
-
|
|
241
|
+
E as c,
|
|
242
|
+
x as l
|
|
243
243
|
};
|