@ganpatiinfo/gids-core-web 13.0.0 → 15.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 +5485 -4131
- package/dist/css/index.css.map +1 -1
- package/dist/gids-action-bar.d.ts +1 -1
- package/dist/gids-action-bar.js +1 -1
- package/dist/gids-activity-gauge.d.ts +1 -1
- package/dist/gids-activity-gauge.js +1 -1
- package/dist/gids-advanced-tooltip.d.ts +11 -0
- package/dist/gids-advanced-tooltip.js +1 -0
- package/dist/gids-bar-chart.d.ts +1 -1
- package/dist/gids-bar-chart.js +1 -1
- package/dist/gids-calendar-header-panel.d.ts +1 -1
- package/dist/gids-calendar-header-panel.js +1 -1
- package/dist/gids-calendar-month-list.d.ts +1 -1
- package/dist/gids-calendar-month-list.js +1 -1
- package/dist/gids-calendar-year-list.d.ts +1 -1
- package/dist/gids-calendar-year-list.js +1 -1
- package/dist/gids-calendar.d.ts +1 -1
- package/dist/gids-calendar.js +1 -1
- package/dist/gids-chart-legend-item.d.ts +1 -1
- package/dist/gids-chart-legend-item.js +1 -1
- package/dist/gids-chart-legend.d.ts +1 -1
- package/dist/gids-chart-legend.js +1 -1
- package/dist/gids-chart.d.ts +1 -1
- package/dist/gids-chart.js +1 -1
- package/dist/gids-chevron-button.d.ts +1 -1
- package/dist/gids-chevron-button.js +1 -1
- package/dist/gids-dot.d.ts +1 -1
- package/dist/gids-dot.js +1 -1
- package/dist/gids-dropdown-field.d.ts +1 -1
- package/dist/gids-dropdown-field.js +1 -1
- package/dist/gids-dropdown-picker.d.ts +1 -1
- package/dist/gids-dropdown-picker.js +1 -1
- package/dist/gids-dropdown.d.ts +1 -1
- package/dist/gids-dropdown.js +1 -1
- package/dist/gids-expansion-body-list-item.d.ts +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-group.js +1 -1
- package/dist/gids-expansion.d.ts +1 -1
- package/dist/gids-expansion.js +1 -1
- package/dist/gids-field.d.ts +1 -1
- package/dist/gids-field.js +1 -1
- package/dist/gids-filter.d.ts +1 -1
- package/dist/gids-filter.js +1 -1
- package/dist/gids-icon.d.ts +1 -1
- package/dist/gids-icon.js +1 -1
- package/dist/gids-input.d.ts +1 -1
- package/dist/gids-input.js +1 -1
- package/dist/gids-level-gauge.d.ts +1 -1
- package/dist/gids-line-chart.d.ts +1 -1
- package/dist/gids-line-chart.js +1 -1
- package/dist/gids-md-table.d.ts +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-overflow-container.js +1 -1
- package/dist/gids-overlay-provider.d.ts +1 -1
- package/dist/gids-overlay-provider.js +1 -1
- package/dist/gids-password-field.d.ts +1 -1
- package/dist/gids-password-field.js +1 -1
- package/dist/gids-pie-chart.d.ts +1 -1
- package/dist/gids-pie-chart.js +1 -1
- package/dist/gids-popover.d.ts +1 -1
- package/dist/gids-popover.js +1 -1
- package/dist/gids-progress-circle.d.ts +1 -1
- package/dist/gids-scrim.d.ts +1 -1
- package/dist/gids-scrim.js +1 -1
- package/dist/gids-skeleton.d.ts +11 -0
- package/dist/gids-skeleton.js +1 -0
- package/dist/gids-snackbar.d.ts +1 -1
- package/dist/gids-tab-item.d.ts +1 -1
- package/dist/gids-tab-item.js +1 -1
- package/dist/gids-tab.d.ts +1 -1
- package/dist/gids-tab.js +1 -1
- package/dist/gids-text-field.d.ts +1 -1
- package/dist/gids-text-field.js +1 -1
- package/dist/gids-toggle-button.d.ts +1 -1
- package/dist/gids-toggle-button.js +1 -1
- package/dist/gids-tooltip.d.ts +1 -1
- package/dist/gids-tooltip.js +1 -1
- package/dist/gids-transfer-list.d.ts +11 -0
- package/dist/gids-transfer-list.js +1 -0
- package/dist/p-474lVBcu.js +1 -0
- package/dist/{p-DUojHltk.js → p-9NZjfY_u.js} +1 -1
- package/dist/{p-C3w3wdCt.js → p-B0Nc9rVM.js} +1 -1
- package/dist/p-BBszCFSA.js +1 -0
- package/dist/{p-C3We7Q8Q.js → p-BF46eY8H.js} +1 -1
- package/dist/{p-4lN1OdcA.js → p-BKIsp763.js} +1 -1
- package/dist/p-BKcvOO8o.js +1 -0
- package/dist/p-BgvpzBUx.js +1 -0
- package/dist/p-BtKwhIx5.js +1 -0
- package/dist/{p-6APCjBEI.js → p-CLm5opt9.js} +1 -1
- package/dist/{p-Chqeexny.js → p-CZxn31uZ.js} +1 -1
- package/dist/{p-C2O_pGky.js → p-Cyant-dw.js} +1 -1
- package/dist/{p-COHuQEfZ.js → p-D7qanqNO.js} +1 -1
- package/dist/{p-BVAtja26.js → p-DGenc1qz.js} +1 -1
- package/dist/p-DLauG0q8.js +1 -0
- package/dist/p-DaqhrFRM.js +1 -0
- package/dist/{p-BSbOhfLZ.js → p-Db4qRSmH.js} +1 -1
- package/dist/{p-BCVFQSjK.js → p-Df5xaj-o.js} +1 -1
- package/dist/{p-pSb81aE0.js → p-DhtEw_C2.js} +1 -1
- package/dist/p-DshXkAUj.js +1 -0
- package/dist/p-Dvh4sPkD.js +1 -0
- package/dist/p-Iqbf3Pja.js +1 -0
- package/dist/{p-ub0GuVHb.js → p-MnCDY1k9.js} +1 -1
- package/dist/types/components/html/GidsBasicTableBody/GidsBasicTableBody.d.ts +28 -4
- package/dist/types/components/html/GidsBasicTableHead/GidsBasicTableHead.d.ts +15 -0
- package/dist/types/components/html/GidsBasicTableHeader/GidsBasicTableHeader.d.ts +22 -3
- package/dist/types/components/html/GidsBasicTableRow/GidsBasicTableRow.d.ts +19 -3
- package/dist/types/components/html/GidsBsTable/GidsBsTable.d.ts +26 -3
- package/dist/types/components/html/GidsColorSwatch/GidsColorSwatch.d.ts +6 -0
- package/dist/types/components/html/GidsCrossTable/GidsCrossTable.d.ts +17 -0
- package/dist/types/components/html/GidsCrossTableBody/GidsCrossTableBody.d.ts +12 -0
- package/dist/types/components/html/GidsCrossTableRow/GidsCrossTableRow.d.ts +12 -0
- package/dist/types/components/html/GidsDialog/GidsDialog.d.ts +12 -0
- package/dist/types/components/html/GidsMatrixTable/GidsMatrixTable.d.ts +31 -0
- package/dist/types/components/html/GidsMatrixTableBody/GidsMatrixTableBody.d.ts +31 -0
- package/dist/types/components/html/GidsMenu/GidsMenu.d.ts +3 -3
- package/dist/types/components/html/GidsMenuGroup/GidsMenuGroup.d.ts +3 -3
- package/dist/types/components/html/GidsPagination/GidsPagination.d.ts +10 -0
- package/dist/types/components/html/GidsPaginator/GidsPaginator.d.ts +6 -0
- package/dist/types/components/html/GidsPaginatorItem/GidsPaginatorItem.d.ts +7 -0
- package/dist/types/components/html/GidsTable/GidsTable.d.ts +16 -0
- package/dist/types/components/html/GidsTableBody/GidsTableBody.d.ts +11 -0
- package/dist/types/components/html/GidsTableCell/GidsTableCell.d.ts +21 -0
- package/dist/types/components/html/GidsTableEntry/GidsTableEntry.d.ts +9 -0
- package/dist/types/components/html/GidsTableFooter/GidsTableFooter.d.ts +12 -0
- package/dist/types/components/html/GidsTableFooterControl/GidsTableFooterControl.d.ts +8 -0
- package/dist/types/components/html/GidsTableHeader/GidsTableHeader.d.ts +9 -0
- package/dist/types/components/html/GidsTableRow/GidsTableRow.d.ts +9 -0
- package/dist/types/components/html/GidsTableToolbar/GidsTableToolbar.d.ts +11 -0
- package/dist/types/components/html/_GidsDialogControl/GidsDialogControl.d.ts +8 -0
- package/dist/types/components/html/_GidsPaginationItem/GidsPaginationItem.d.ts +10 -0
- package/dist/types/components/webComponents/GidsAdvancedTooltip/GidsAdvancedTooltip.d.ts +28 -0
- package/dist/types/components/webComponents/GidsBarChart/GidsBarChart.d.ts +7 -0
- package/dist/types/components/webComponents/GidsChartLegendItem/GidsChartLegendItem.d.ts +7 -0
- package/dist/types/components/webComponents/GidsLineChart/GidsLineChart.d.ts +7 -0
- package/dist/types/components/webComponents/GidsMdTable/GidsMdTable.d.ts +12 -9
- package/dist/types/components/webComponents/GidsSkeleton/GidsSkeleton.d.ts +11 -0
- package/dist/types/components/webComponents/GidsTransferList/GidsTransferList.d.ts +49 -0
- package/dist/types/components.d.ts +243 -17
- package/dist-bundled/es/gids-action-bar.js +28 -27
- package/dist-bundled/es/gids-activity-gauge.js +4 -4
- package/dist-bundled/es/gids-advanced-tooltip.js +6 -0
- package/dist-bundled/es/gids-bar-chart.js +4 -4
- package/dist-bundled/es/gids-calendar-header-panel.js +1 -1
- package/dist-bundled/es/gids-calendar-month-list.js +3 -3
- package/dist-bundled/es/gids-calendar-year-list.js +4 -4
- package/dist-bundled/es/gids-calendar.js +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 +38 -34
- 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 +7 -7
- package/dist-bundled/es/gids-dropdown-picker.js +4 -4
- package/dist-bundled/es/gids-dropdown.js +3 -3
- package/dist-bundled/es/gids-expansion-body-list-item.js +1 -1
- package/dist-bundled/es/gids-expansion-body-list.js +2 -2
- package/dist-bundled/es/gids-expansion-group.js +6 -6
- 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 +4 -4
- package/dist-bundled/es/gids-icon.js +3 -3
- package/dist-bundled/es/gids-input.js +4 -4
- package/dist-bundled/es/gids-level-gauge.js +1 -1
- package/dist-bundled/es/gids-line-chart.js +4 -4
- package/dist-bundled/es/gids-md-table.js +116 -83
- package/dist-bundled/es/gids-overflow-container.js +1 -1
- package/dist-bundled/es/gids-overlay-provider.js +20 -20
- package/dist-bundled/es/gids-password-field.js +52 -52
- package/dist-bundled/es/gids-pie-chart.js +1 -1
- package/dist-bundled/es/gids-popover.js +2 -2
- package/dist-bundled/es/gids-progress-circle.js +1 -1
- package/dist-bundled/es/gids-scrim.js +7 -7
- package/dist-bundled/es/gids-skeleton.js +41 -0
- package/dist-bundled/es/gids-tab-item.js +10 -10
- package/dist-bundled/es/gids-tab.js +4 -4
- package/dist-bundled/es/gids-text-field.js +10 -10
- package/dist-bundled/es/gids-toggle-button.js +1 -1
- package/dist-bundled/es/gids-tooltip.js +2 -2
- package/dist-bundled/es/gids-transfer-list.js +196 -0
- package/dist-bundled/es/p-474lVBcu-B1f8x2o1.js +31 -0
- package/dist-bundled/es/{p-DUojHltk-BQ0ryfLD.js → p-9NZjfY_u-CnjUEy1y.js} +2 -2
- package/dist-bundled/es/{p-C3w3wdCt-BTH-jYlI.js → p-B0Nc9rVM-SBit1KrF.js} +6 -6
- package/dist-bundled/es/p-BBszCFSA-BN0-eWJX.js +115 -0
- package/dist-bundled/es/{p-C3We7Q8Q-2EoDLj5m.js → p-BF46eY8H-Xn8Fl9EI.js} +3 -3
- package/dist-bundled/es/{p-4lN1OdcA-xYP8gbDc.js → p-BKIsp763-CqL9MgyZ.js} +1 -1
- package/dist-bundled/es/p-BKcvOO8o-L5KtCP_k.js +1024 -0
- package/dist-bundled/es/p-BgvpzBUx-iq-eKBVZ.js +129 -0
- package/dist-bundled/es/{p-CI-sN9Lr-BvWzRJw-.js → p-BtKwhIx5-DTEmfdxe.js} +14 -14
- package/dist-bundled/es/{p-CHGTBObD-EN4cCwtX.js → p-CHGTBObD-D_K9_Tmh.js} +15 -15
- package/dist-bundled/es/{p-6APCjBEI-BREg63Xr.js → p-CLm5opt9-DlxkI38w.js} +5 -5
- package/dist-bundled/es/{p-Chqeexny-BuJ-PhNi.js → p-CZxn31uZ-BBHM983b.js} +6 -6
- package/dist-bundled/es/{p-CoS0NuDU-CqmDcRWj.js → p-CoS0NuDU-ByDvQAzA.js} +1 -1
- package/dist-bundled/es/{p-C2O_pGky-CP4PN55D.js → p-Cyant-dw-Ch2zYNkx.js} +8 -8
- package/dist-bundled/es/{p-COHuQEfZ-DcUxD9TI.js → p-D7qanqNO-Dby5jSjA.js} +12 -12
- package/dist-bundled/es/{p-BVAtja26-C16IjShX.js → p-DGenc1qz-CMwVEtCm.js} +7 -7
- package/dist-bundled/es/{p-_SIWct9h-jMYFZ-VO.js → p-DLauG0q8-CCUuzYl9.js} +6 -6
- package/dist-bundled/es/{p-DMNS1d8v-CHF62UXm.js → p-DMNS1d8v-BX8e_AsY.js} +14 -14
- package/dist-bundled/es/p-DaqhrFRM-2PqBeu5o.js +111 -0
- package/dist-bundled/es/{p-BSbOhfLZ-BdEHhmFM.js → p-Db4qRSmH-B5pzOeve.js} +2 -2
- package/dist-bundled/es/{p-Degg_WJz-BLua06el.js → p-Degg_WJz-ORZcjc8G.js} +1 -1
- package/dist-bundled/es/{p-BCVFQSjK-CKrYrI4b.js → p-Df5xaj-o-fxAXUmag.js} +1 -1
- package/dist-bundled/es/{p-Dg2yoUxw-Cca8ROd_.js → p-Dg2yoUxw-DliMstZy.js} +8 -8
- package/dist-bundled/es/{p-pSb81aE0-WzAszFOQ.js → p-DhtEw_C2-D_91JSPC.js} +3 -3
- package/dist-bundled/es/{p-C3xv7tfs-DHsjc3Ns.js → p-DshXkAUj-DgCiQIA2.js} +15 -12
- package/dist-bundled/es/p-Dvh4sPkD-B-T5C03p.js +99 -0
- package/dist-bundled/es/p-Iqbf3Pja-DuajY4uD.js +52 -0
- package/dist-bundled/es/{p-ub0GuVHb-C9vrhXyF.js → p-MnCDY1k9-CgbTyJ5R.js} +1 -1
- package/dist-bundled/es/{p-UVmSPzTd-6vjXok6h.js → p-UVmSPzTd-CR1higgJ.js} +1 -1
- package/dist-bundled/umd/gids-action-bar.umd.js +3 -3
- package/dist-bundled/umd/gids-activity-gauge.umd.js +2 -2
- package/dist-bundled/umd/gids-advanced-tooltip.umd.js +5 -0
- package/dist-bundled/umd/gids-bar-chart.umd.js +8 -8
- package/dist-bundled/umd/gids-calendar-header-panel.umd.js +2 -2
- package/dist-bundled/umd/gids-calendar-month-list.umd.js +2 -2
- package/dist-bundled/umd/gids-calendar-year-list.umd.js +2 -2
- package/dist-bundled/umd/gids-calendar.umd.js +1 -1
- package/dist-bundled/umd/gids-chart-legend-item.umd.js +2 -2
- package/dist-bundled/umd/gids-chart-legend.umd.js +1 -1
- package/dist-bundled/umd/gids-chart.umd.js +5 -5
- package/dist-bundled/umd/gids-chevron-button.umd.js +1 -1
- package/dist-bundled/umd/gids-dot.umd.js +1 -1
- package/dist-bundled/umd/gids-dropdown-field.umd.js +1 -1
- package/dist-bundled/umd/gids-dropdown-picker.umd.js +1 -1
- package/dist-bundled/umd/gids-dropdown.umd.js +1 -1
- package/dist-bundled/umd/gids-expansion-body-list-item.umd.js +1 -1
- package/dist-bundled/umd/gids-expansion-body-list.umd.js +1 -1
- package/dist-bundled/umd/gids-expansion-group.umd.js +1 -1
- package/dist-bundled/umd/gids-expansion.umd.js +1 -1
- package/dist-bundled/umd/gids-field.umd.js +1 -1
- package/dist-bundled/umd/gids-filter.umd.js +2 -2
- package/dist-bundled/umd/gids-icon.umd.js +1 -1
- package/dist-bundled/umd/gids-input.umd.js +2 -2
- package/dist-bundled/umd/gids-level-gauge.umd.js +1 -1
- package/dist-bundled/umd/gids-line-chart.umd.js +2 -2
- package/dist-bundled/umd/gids-md-table.umd.js +2 -2
- package/dist-bundled/umd/gids-overflow-container.umd.js +1 -1
- package/dist-bundled/umd/gids-overlay-provider.umd.js +1 -1
- package/dist-bundled/umd/gids-password-field.umd.js +1 -1
- package/dist-bundled/umd/gids-pie-chart.umd.js +2 -2
- package/dist-bundled/umd/gids-popover.umd.js +2 -2
- package/dist-bundled/umd/gids-progress-circle.umd.js +1 -1
- package/dist-bundled/umd/gids-scrim.umd.js +1 -1
- package/dist-bundled/umd/gids-skeleton.umd.js +5 -0
- package/dist-bundled/umd/gids-tab-item.umd.js +1 -1
- 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/gids-transfer-list.umd.js +5 -0
- package/dist-bundled/umd-complete/gids-core-web.umd.js +8 -8
- package/package.json +33 -9
- package/dist/p-C3xv7tfs.js +0 -1
- package/dist/p-C56G7JRy.js +0 -1
- package/dist/p-CI-sN9Lr.js +0 -1
- package/dist/p-D6lxqcxP.js +0 -1
- package/dist/p-DO0MyFf4.js +0 -1
- package/dist/p-_SIWct9h.js +0 -1
- package/dist/p-a3JfEYJp.js +0 -1
- package/dist/types/components/html/GidsBasicTableCell/GidsBasicTableCell.d.ts +0 -5
- package/dist-bundled/es/p-C56G7JRy-BCGZG2-3.js +0 -88
- package/dist-bundled/es/p-D6lxqcxP-C6BOC0kV.js +0 -74
- package/dist-bundled/es/p-DO0MyFf4-Ddg5sVMx.js +0 -115
- package/dist-bundled/es/p-a3JfEYJp-DyhDK6VZ.js +0 -1128
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
import { q as b, L as A, u as D, D as a } from "./p-Bf3p-DY2-CPqEc-vc.js";
|
|
2
|
+
import { p as L } from "./p-DMNS1d8v-BX8e_AsY.js";
|
|
3
|
+
import { _ as E } from "./p-Dvh4sPkD-B-T5C03p.js";
|
|
4
|
+
import { o as M } from "./p-Df5xaj-o-fxAXUmag.js";
|
|
5
|
+
import { l as I } from "./p-DshXkAUj-DgCiQIA2.js";
|
|
6
|
+
import { c as $ } from "./clsx-OuTLNxxd.js";
|
|
7
|
+
const P = ({ breakpoint: e }, l) => $("gids-bar-chart", {
|
|
8
|
+
"gids-bar-chart--breakpoint-mobile": e === "mobile"
|
|
9
|
+
}, l), V = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10
|
+
__proto__: null,
|
|
11
|
+
getGidsBarChartClassNames: P
|
|
12
|
+
}, Symbol.toStringTag, { value: "Module" })), { getGidsBarChartClassNames: S } = V, T = A(class extends D {
|
|
13
|
+
constructor(e) {
|
|
14
|
+
super(), e !== !1 && this.__registerHost(), this.breakpoint = "desktop", this.legend = "none", this.chartData = [], this.yAxisVisible = !1, this.dataPoints = [], this.chartLoaderSize = "lg", this.chartLoading = !1, this.width = 0, this.height = 0, this.hoveredIndex = null, this.tooltip = { visible: !1, x: 0, y: 0 };
|
|
15
|
+
}
|
|
16
|
+
chartDataChanged() {
|
|
17
|
+
this.updateDimensions();
|
|
18
|
+
}
|
|
19
|
+
dataPointsChanged(e) {
|
|
20
|
+
this.dataPoints = e;
|
|
21
|
+
}
|
|
22
|
+
legendChanged(e) {
|
|
23
|
+
this.legend = e;
|
|
24
|
+
}
|
|
25
|
+
yAxisVisibilityChanged(e) {
|
|
26
|
+
this.yAxisVisible = e;
|
|
27
|
+
}
|
|
28
|
+
componentDidLoad() {
|
|
29
|
+
this.updateDimensions(), this.resizeObserver = new ResizeObserver((() => this.updateDimensions())), this.hostElement.parentElement && this.resizeObserver.observe(this.hostElement.parentElement);
|
|
30
|
+
}
|
|
31
|
+
disconnectedCallback() {
|
|
32
|
+
this.resizeObserver && this.resizeObserver.disconnect();
|
|
33
|
+
}
|
|
34
|
+
updateDimensions() {
|
|
35
|
+
const e = this.hostElement.getBoundingClientRect();
|
|
36
|
+
this.width = e.width, this.height = e.height > 0 ? e.height : 300;
|
|
37
|
+
}
|
|
38
|
+
getTooltipItems(e) {
|
|
39
|
+
return this.chartData.reduce(((l, o) => {
|
|
40
|
+
const d = o.data[e];
|
|
41
|
+
return d && l.push({ label: o?.label ?? "", value: String(d.value), seriesIndicatorColor: o?.seriesColor ?? "" }), l;
|
|
42
|
+
}), []);
|
|
43
|
+
}
|
|
44
|
+
render() {
|
|
45
|
+
if (this.chartLoading) return a("div", { class: "gids-bar-chart__no-data" }, a(L, { label: this.chartLoadingTitle, supportingText: this.chartLoadingSupportingText, size: this?.chartLoaderSize ?? "lg" }));
|
|
46
|
+
const e = this?.chartData?.[0]?.data?.map(((t) => t.label)) ?? [], l = e.length, o = Array(l).fill(0);
|
|
47
|
+
this.chartData.forEach(((t) => {
|
|
48
|
+
Array.isArray(t?.data) && t.data.forEach(((s, r) => {
|
|
49
|
+
r < l && (o[r] = (o[r] ?? 0) + (s?.value || 0));
|
|
50
|
+
}));
|
|
51
|
+
}));
|
|
52
|
+
const d = o.length > 0 ? Math.max(...o) : 10, c = Math.pow(10, Math.floor(Math.log10(d || 1)));
|
|
53
|
+
let m = c;
|
|
54
|
+
d / c <= 2 ? m = c / 5 : d / c <= 5 && (m = c / 2);
|
|
55
|
+
const w = Math.ceil(d / m) * m, p = [];
|
|
56
|
+
if (Array.isArray(this.dataPoints) && this.dataPoints.length > 0) {
|
|
57
|
+
const t = [...this.dataPoints].sort(((h, i) => h - i)), s = t.length > 1 ? (t[1] ?? 200) - (t[0] ?? 0) : 200, r = Math.max(...t, w, ...o), x = Math.ceil(r / (s || 1));
|
|
58
|
+
for (let h = 0; h <= x; h++) p.push(h * s);
|
|
59
|
+
} else {
|
|
60
|
+
const s = w / 4;
|
|
61
|
+
for (let r = 0; r < 5; r++) p.push(Math.round(0 + r * s));
|
|
62
|
+
}
|
|
63
|
+
const _ = Math.max(...p) - 0 || 1, k = S({ breakpoint: this.breakpoint });
|
|
64
|
+
let v = !1, z = !1;
|
|
65
|
+
this.breakpoint === "mobile" ? this.legend !== "none" && (v = !0) : this.legend === "top" ? v = !0 : this.legend === "right" && (z = !0);
|
|
66
|
+
const f = 100 / l, g = 0.4 * f;
|
|
67
|
+
return a("div", { class: k }, v ? a("div", { class: "gids-bar-chart__header" }, a("gids-chart-legend", { orientation: "horizontal" }, this.chartData.map(((t) => a("gids-chart-legend-item", { key: t.label, seriesColor: t?.seriesColor, orientation: "horizontal" }, t.label))))) : null, a("div", { class: "gids-bar-chart__main-container" }, a("div", { class: "gids-bar-chart__grid-layout" }, a("span", { class: "gids-bar-chart__y-axis-label" }, this.yAxisLabel), a("div", { class: "gids-bar-chart__chart-stage-container" }, this.yAxisVisible ? a("div", { class: "gids-bar-chart__y-axis-scale-container" }, p.map(((t) => a("span", { class: "gids-bar-chart__scale-text gids-bar-chart__y-axis-scale-value", key: t, style: { bottom: (t - 0) / _ * 100 + "%" } }, t)))) : null, a("div", { class: "gids-bar-chart__chart-stage" }, a("svg", { viewBox: "0 0 100 100", class: "gids-bar-chart__chart-vector", preserveAspectRatio: "none" }, p.map(((t) => {
|
|
68
|
+
const s = 100 - (t - 0) / _ * 100;
|
|
69
|
+
return a("line", { x1: "0", y1: s, x2: "100", y2: s, class: "gids-bar-chart__grid-line", key: t });
|
|
70
|
+
})), e.map(((t, s) => {
|
|
71
|
+
const r = s * f + (f - g) / 2;
|
|
72
|
+
let x = 0;
|
|
73
|
+
const h = [...this.chartData.map(((i, n) => {
|
|
74
|
+
if (!Array.isArray(i.data)) return null;
|
|
75
|
+
const y = i.data[s];
|
|
76
|
+
if (!y) return null;
|
|
77
|
+
const u = (y.value || 0) / _ * 100, C = 100 - u - x;
|
|
78
|
+
return x += u, { seriesIdx: n, crownY: C, height: u, seriesColor: i?.seriesColor };
|
|
79
|
+
})).filter(((i) => i !== null && i.height > 0))].sort(((i, n) => n.seriesIdx - i.seriesIdx));
|
|
80
|
+
return a("g", { key: s }, h.map(((i) => {
|
|
81
|
+
const n = 0.3 * g, y = `
|
|
82
|
+
M ${r},${i.crownY + n}
|
|
83
|
+
Q ${r},${i.crownY} ${r + n},${i.crownY}
|
|
84
|
+
H ${r + g - n}
|
|
85
|
+
Q ${r + g},${i.crownY} ${r + g},${i.crownY + n}
|
|
86
|
+
V 100
|
|
87
|
+
H ${r}
|
|
88
|
+
Z
|
|
89
|
+
`.replace(/\s+/g, " ").trim();
|
|
90
|
+
return a("path", { key: i.seriesIdx, d: y, class: "gids-bar-chart__bar", style: { fill: i?.seriesColor } });
|
|
91
|
+
})), a("rect", { x: r, y: "0", width: g, height: "100", fill: "transparent", "pointer-events": "all", onMouseMove: (i) => {
|
|
92
|
+
this.hoveredIndex = s, this.tooltip = { visible: !0, x: i.clientX, y: i.clientY };
|
|
93
|
+
}, onMouseLeave: () => {
|
|
94
|
+
this.hoveredIndex = null, this.tooltip = { ...this.tooltip, visible: !1 };
|
|
95
|
+
} }));
|
|
96
|
+
}))), a("gids-advanced-tooltip", { visible: this.tooltip.visible, x: this.tooltip.x, y: this.tooltip.y, items: this.hoveredIndex !== null ? this.getTooltipItems(this.hoveredIndex) : [] }))), a("div", { class: "gids-bar-chart__x-axis-scale-container" }, e.map(((t, s) => a("span", { class: "gids-bar-chart__scale-text", key: s }, t)))), a("span", { class: "gids-bar-chart__x-axis-label" }, this.xAxisLabel)), z ? a("gids-chart-legend", { orientation: "vertical" }, this.chartData.map(((t) => a("gids-chart-legend-item", { key: t.label, seriesColor: t?.seriesColor, orientation: "vertical" }, t.label)))) : null));
|
|
97
|
+
}
|
|
98
|
+
get hostElement() {
|
|
99
|
+
return this;
|
|
100
|
+
}
|
|
101
|
+
static get watchers() {
|
|
102
|
+
return { chartData: [{ chartDataChanged: 0 }], dataPoints: [{ dataPointsChanged: 0 }], legend: [{ legendChanged: 0 }], yAxisVisible: [{ yAxisVisibilityChanged: 0 }] };
|
|
103
|
+
}
|
|
104
|
+
static get style() {
|
|
105
|
+
return ":host{display:block;width:100%;height:100%;box-sizing:border-box}.gids-bar-chart{display:flex;flex-direction:column;width:100%;height:100%;box-sizing:border-box}.gids-bar-chart--breakpoint-mobile{max-width:var(--gids-width-xs)}.gids-bar-chart__main-container{display:flex;gap:var(--gids-gap-200)}.gids-bar-chart__header{display:flex;justify-content:flex-end;align-items:center;width:100%;margin-bottom:var(--gids-padding-vertical-edge-to-element-200)}.gids-bar-chart__grid-layout{display:grid;grid-template-columns:auto 1fr;grid-template-rows:minmax(180px, 280px) auto auto;flex:1;width:100%;height:100%;box-sizing:border-box}.gids-bar-chart__y-axis-label{grid-column:1;grid-row:1;display:flex;align-items:center;justify-content:center;margin-right:var(--gids-padding-horizontal-edge-to-element-600);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-subtlest);writing-mode:vertical-rl;transform:rotate(180deg);white-space:nowrap}.gids-bar-chart__chart-stage-container{grid-column:2;grid-row:1;position:relative;width:100%;height:100%;padding-left:var(--gids-container-padding-desktop);box-sizing:border-box}.gids-bar-chart__y-axis-scale-container{position:absolute;top:0;bottom:0;left:0;width:calc(var(--gids-container-padding-desktop) - var(--gids-padding-horizontal-edge-to-element-100));pointer-events:none}.gids-bar-chart__y-axis-scale-value{position:absolute;right:0;transform:translateY(50%);margin-right:var(--gids-padding-horizontal-edge-to-element-100)}.gids-bar-chart__chart-stage{position:relative;width:100%;height:100%;border-bottom:var(--gids-border-width-thin) solid var(--gids-color-border-default);box-sizing:border-box}.gids-bar-chart__chart-vector{display:block;width:100%;height:100%;overflow:visible}.gids-bar-chart__grid-line{stroke:var(--gids-color-border-default);stroke-width:0.5;fill:none}.gids-bar-chart{}.gids-bar-chart__bar{vector-effect:non-scaling-stroke}.gids-bar-chart{}.gids-bar-chart__x-axis-scale-container{display:flex;grid-column:2;grid-row:2;justify-content:space-around;align-items:center;padding-left:var(--gids-container-padding-desktop);padding-top:var(--gids-padding-vertical-edge-to-element-200);gap:var(--gids-gap-050);box-sizing:border-box}.gids-bar-chart__x-axis-label{grid-column:2;grid-row:3;display:flex;justify-content:center;align-items:center;padding-top:var(--gids-padding-vertical-edge-to-element-100);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-subtlest);white-space:nowrap}.gids-bar-chart__scale-text{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-subtlest);user-select:none;white-space:nowrap}.gids-bar-chart__no-data{display:flex;align-items:center;justify-content:center;padding:var(--gids-padding-vertical-edge-to-element-300) var(--gids-padding-horizontal-edge-to-element-100);width:100%;height:100%;min-height:200px;color:var(--gids-color-text-subtlest);border:var(--gids-border-width-thin) dashed var(--gids-color-border-default);border-radius:var(--gids-border-radius-md)}";
|
|
106
|
+
}
|
|
107
|
+
}, [0, "gids-bar-chart", { breakpoint: [1], legend: [1], chartData: [16], yAxisVisible: [4, "y-axis-visible"], xAxisLabel: [1, "x-axis-label"], yAxisLabel: [1, "y-axis-label"], dataPoints: [16], chartLoaderSize: [1, "chart-loader-size"], chartLoading: [4, "chart-loading"], chartLoadingTitle: [1, "chart-loading-title"], chartLoadingSupportingText: [1, "chart-loading-supporting-text"], width: [32], height: [32], hoveredIndex: [32], tooltip: [32] }, void 0, { chartData: [{ chartDataChanged: 0 }], dataPoints: [{ dataPointsChanged: 0 }], legend: [{ legendChanged: 0 }], yAxisVisible: [{ yAxisVisibilityChanged: 0 }] }]);
|
|
108
|
+
function Y() {
|
|
109
|
+
typeof customElements < "u" && ["gids-bar-chart", "gids-advanced-tooltip", "gids-chart-legend", "gids-chart-legend-item"].forEach(((e) => {
|
|
110
|
+
switch (e) {
|
|
111
|
+
case "gids-bar-chart":
|
|
112
|
+
customElements.get(b(e)) || customElements.define(b(e), T);
|
|
113
|
+
break;
|
|
114
|
+
case "gids-advanced-tooltip":
|
|
115
|
+
customElements.get(b(e)) || E();
|
|
116
|
+
break;
|
|
117
|
+
case "gids-chart-legend":
|
|
118
|
+
customElements.get(b(e)) || M();
|
|
119
|
+
break;
|
|
120
|
+
case "gids-chart-legend-item":
|
|
121
|
+
customElements.get(b(e)) || I();
|
|
122
|
+
}
|
|
123
|
+
}));
|
|
124
|
+
}
|
|
125
|
+
Y();
|
|
126
|
+
export {
|
|
127
|
+
T as g,
|
|
128
|
+
Y as h
|
|
129
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { q as
|
|
1
|
+
import { q as l, 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-ARSuGBs4.js";
|
|
3
|
-
import { r as g } from "./p-
|
|
3
|
+
import { r as g } from "./p-DGenc1qz-CMwVEtCm.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
|
|
@@ -12,13 +12,13 @@ const v = ({ expanded: e }, t) => c("gids-dropdown", {
|
|
|
12
12
|
__proto__: null,
|
|
13
13
|
getGidsChevronButtonControlClassNames: f,
|
|
14
14
|
getGidsDropdownClassNames: v
|
|
15
|
-
}, Symbol.toStringTag, { value: "Module" })), { getGidsDropdownClassNames:
|
|
15
|
+
}, Symbol.toStringTag, { value: "Module" })), { getGidsDropdownClassNames: I, getGidsChevronButtonControlClassNames: E } = y, h = "gids-dropdown-item--active", b = 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: r } = 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: r }));
|
|
22
22
|
}, this.handleMenuClick = (t) => {
|
|
23
23
|
if (this.suppressNextMenuClickSelection) return;
|
|
24
24
|
const i = t.target;
|
|
@@ -29,9 +29,9 @@ const v = ({ expanded: e }, t) => c("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
|
-
let
|
|
34
|
-
|
|
32
|
+
const r = n.getAttribute("is-placeholder-item") ?? "";
|
|
33
|
+
let d = n.textContent?.trim() ?? "";
|
|
34
|
+
d.endsWith("checkmark") && (d = d.slice(0, -9).trim()), this.applySelection({ id: o, value: s, title: d.trim(), disabled: !1, originalEvent: t, isPlaceholderItem: !(!r || r !== "true") });
|
|
35
35
|
}, this.handleFilterInput = (t) => {
|
|
36
36
|
const i = t.target;
|
|
37
37
|
this.filterValue = i?.value ?? "", this.isFilterEditing = !0, this.clearActive(), this.expanded || this.setExpandedState(!0, t), this.applyFilter();
|
|
@@ -211,10 +211,10 @@ const v = ({ expanded: e }, t) => c("gids-dropdown", {
|
|
|
211
211
|
}, e;
|
|
212
212
|
}
|
|
213
213
|
render() {
|
|
214
|
-
const e = this.expanded && this.isInteractive(), t =
|
|
214
|
+
const e = this.expanded && this.isInteractive(), t = I({ expanded: e }), i = this.getEnhancedInputProps(), n = typeof i.id == "string" ? i.id : void 0, s = n ? `${n}__menu` : void 0;
|
|
215
215
|
i.role = "combobox", i["aria-expanded"] = e ? "true" : "false", i["aria-haspopup"] = "listbox", i["aria-autocomplete"] = "list", s && (i["aria-controls"] = s);
|
|
216
|
-
const o = this.isFilterEditing ? this.filterValue : this.selectedItemTitle ?? this.value ?? "",
|
|
217
|
-
return a("div", { key: "
|
|
216
|
+
const o = this.isFilterEditing ? this.filterValue : this.selectedItemTitle ?? this.value ?? "", r = e ? "true" : "false", d = a("button", { key: "35d89661d85a8598572ff98383f08f9626e2daf0", class: E({ size: "lg" }), slot: "trailingAccessory", type: "button", onClick: this.handleChevronClickToggle, "aria-label": e ? "Collapse options" : "Expanded options", "aria-expanded": r, "aria-haspopup": "listbox", "aria-controls": s, disabled: this.disabled || this.readOnly, tabIndex: -1 }, a("span", { key: "61aa33caa3c33ddec50713f697c66414fb83cb9c", class: "gids-button__content" }, a(m, { key: "26a64c22901fdba21daa6cad35de6991b481a5c7", name: "chevron-vertical", alt: "" })));
|
|
217
|
+
return a("div", { key: "6675e14654eb5c6bda87c6ff34633882b1e3b20e", class: t }, a("gids-input", { key: "2bf2921699a55a6e67790ac15b6430755a6426e1", 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: "69eaf25688c6d199298f8499c6a44d119189900e", name: "leadingIconDropdown", slot: "leadingIcon" }), this.hasLeadingAccessory && a("slot", { key: "5d13d954b33acb2cd246efd5fae42c73f489137d", name: "leadingAccessoryDropdown", slot: "leadingAccessory" }), d), a("div", { key: "bd0835e11b2c9cd45ae4730144b8b218a93fca6d", class: "gids-dropdown__menu", id: s, role: "listbox", onClick: this.handleMenuClick }, a("slot", { key: "e9ab0f9976cec22f1f8d149eb148f6598995104a" })));
|
|
218
218
|
}
|
|
219
219
|
get hostElement() {
|
|
220
220
|
return this;
|
|
@@ -230,15 +230,15 @@ function x() {
|
|
|
230
230
|
typeof customElements < "u" && ["gids-dropdown", "gids-input"].forEach(((e) => {
|
|
231
231
|
switch (e) {
|
|
232
232
|
case "gids-dropdown":
|
|
233
|
-
customElements.get(
|
|
233
|
+
customElements.get(l(e)) || customElements.define(l(e), b);
|
|
234
234
|
break;
|
|
235
235
|
case "gids-input":
|
|
236
|
-
customElements.get(
|
|
236
|
+
customElements.get(l(e)) || g();
|
|
237
237
|
}
|
|
238
238
|
}));
|
|
239
239
|
}
|
|
240
240
|
x();
|
|
241
241
|
export {
|
|
242
|
-
|
|
242
|
+
b as c,
|
|
243
243
|
x as l
|
|
244
244
|
};
|
|
@@ -1,6 +1,17 @@
|
|
|
1
1
|
import { D as l } from "./p-Bf3p-DY2-CPqEc-vc.js";
|
|
2
2
|
import { c as x } from "./clsx-OuTLNxxd.js";
|
|
3
|
-
const f =
|
|
3
|
+
const c = 64, g = 10, u = c / 2 - g / 2, f = c / 2, a = 2 * Math.PI * u, h = `0 0 ${c} ${c}`, _ = (e = 0, t) => {
|
|
4
|
+
const n = typeof t == "number" && t > 0 ? t : 1, i = Math.max(0, Math.min(n, e)) / n * 100, o = (a * i / 100).toFixed(2), m = (a - parseFloat(o)).toFixed(2);
|
|
5
|
+
return `${o} ${m}`;
|
|
6
|
+
}, y = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7
|
+
__proto__: null,
|
|
8
|
+
calculateStrokeDasharray: _,
|
|
9
|
+
centerPosition: f,
|
|
10
|
+
circumference: a,
|
|
11
|
+
radius: u,
|
|
12
|
+
thickness: g,
|
|
13
|
+
viewBox: h
|
|
14
|
+
}, Symbol.toStringTag, { value: "Module" })), k = ({ size: e, indeterminate: t, value: n }, r) => x("gids-spinner-control", {
|
|
4
15
|
"gids-spinner-control--xs": e === "xs",
|
|
5
16
|
"gids-spinner-control--sm": e === "sm",
|
|
6
17
|
// 'gids-spinner-control--md': size === 'md',
|
|
@@ -8,21 +19,10 @@ const f = ({ size: e, indeterminate: t, value: n }, r) => x("gids-spinner-contro
|
|
|
8
19
|
"gids-spinner-control--xl": e === "xl",
|
|
9
20
|
"gids-spinner-control--2xl": e === "2xl",
|
|
10
21
|
"gids-spinner-control--determinate": t === !1
|
|
11
|
-
}, n, r),
|
|
22
|
+
}, n, r), v = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
12
23
|
__proto__: null,
|
|
13
|
-
getGidsSpinnerControlClassNames:
|
|
14
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
15
|
-
const n = typeof t == "number" && t > 0 ? t : 1, i = Math.max(0, Math.min(n, e)) / n * 100, o = (a * i / 100).toFixed(2), m = (a - parseFloat(o)).toFixed(2);
|
|
16
|
-
return `${o} ${m}`;
|
|
17
|
-
}, v = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
18
|
-
__proto__: null,
|
|
19
|
-
calculateStrokeDasharray: k,
|
|
20
|
-
centerPosition: _,
|
|
21
|
-
circumference: a,
|
|
22
|
-
radius: u,
|
|
23
|
-
thickness: g,
|
|
24
|
-
viewBox: y
|
|
25
|
-
}, Symbol.toStringTag, { value: "Module" })), { getGidsSpinnerControlClassNames: S } = h, { calculateStrokeDasharray: b, thickness: d, radius: p, centerPosition: s, viewBox: D } = v, P = ({ size: e, indeterminate: t, value: n, max: r, ...i }) => {
|
|
24
|
+
getGidsSpinnerControlClassNames: k
|
|
25
|
+
}, Symbol.toStringTag, { value: "Module" })), { getGidsSpinnerControlClassNames: S } = v, { calculateStrokeDasharray: b, thickness: d, radius: p, centerPosition: s, viewBox: D } = y, P = ({ size: e, indeterminate: t, value: n, max: r, ...i }) => {
|
|
26
26
|
let o;
|
|
27
27
|
return t || (o = { strokeDashArray: b(n, r || 0), strokeDashoffset: "0" }), l("svg", { class: S({ size: e, indeterminate: t, value: n }), viewBox: D, ...i }, l("circle", { class: "gids-spinner-control__track", cx: s, cy: s, r: p, "stroke-width": d }), l("circle", { style: o, class: "gids-spinner-control__progress", cx: s, cy: s, r: p, "stroke-width": d }));
|
|
28
28
|
};
|
|
@@ -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 {
|
|
3
|
+
import { n as r } from "./p-Cyant-dw-Ch2zYNkx.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,
|
|
@@ -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: "a204dacf153b91ff96a29edd42da79dcf5f839a6", class: this.activeClasses, name: "new", alt: "", appearance: "filled" });
|
|
45
45
|
}
|
|
46
46
|
get _el() {
|
|
47
47
|
return this;
|
|
@@ -53,7 +53,7 @@ const h = ({ appearance: s, size: e, disabled: a }, d) => c("gids-dot", {
|
|
|
53
53
|
return ".gids-dot{display:flex;--gidsDotIcon-height:var(--gids-size-040);--gidsIcon-height:var(--gidsDotIcon-height);--gidsDotIcon-color:var(--gids-color-icon-subtle);--gidsIcon-color:var(--gidsDotIcon-color)}.gids-dot--sm{--gidsDotIcon-height:var(--gids-size-060)}.gids-dot--md{--gidsDotIcon-height:var(--gids-size-080)}.gids-dot--lg{--gidsDotIcon-height:var(--gids-size-100)}.gids-dot--xl{--gidsDotIcon-height:var(--gids-size-120)}.gids-dot--2xl{--gidsDotIcon-height:var(--gids-size-160)}.gids-dot--3xl{--gidsDotIcon-height:var(--gids-size-200)}.gids-dot--subtle{--gidsDotIcon-color:var(--gids-color-icon-subtle)}.gids-dot--static-inverse{--gidsDotIcon-color:var(--gids-color-icon-inverse)}.gids-dot--disabled{--gidsDotIcon-color:var(--gids-color-icon-disabled)}";
|
|
54
54
|
}
|
|
55
55
|
}, [0, "gids-dot", { extraClasses: [513, "extra-classes"], appearance: [513], size: [513], disabled: [516], activeClasses: [32] }, void 0, { extraClasses: [{ handleExtraClassesAndSizeChange: 0 }], appearance: [{ handleExtraClassesAndSizeChange: 0 }, { handleAppearanceChange: 0 }], size: [{ handleExtraClassesAndSizeChange: 0 }, { handleSizeChange: 0 }], disabled: [{ handleExtraClassesAndSizeChange: 0 }, { handleDisabledChange: 0 }] }]);
|
|
56
|
-
function
|
|
56
|
+
function x() {
|
|
57
57
|
typeof customElements < "u" && ["gids-dot", "gids-icon"].forEach(((s) => {
|
|
58
58
|
switch (s) {
|
|
59
59
|
case "gids-dot":
|
|
@@ -64,8 +64,8 @@ function b() {
|
|
|
64
64
|
}
|
|
65
65
|
}));
|
|
66
66
|
}
|
|
67
|
-
|
|
67
|
+
x();
|
|
68
68
|
export {
|
|
69
|
-
|
|
69
|
+
x as g,
|
|
70
70
|
C as h
|
|
71
71
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { q as d, L as
|
|
2
|
-
import {
|
|
1
|
+
import { q as d, L as o, u as h, D as i } from "./p-Bf3p-DY2-CPqEc-vc.js";
|
|
2
|
+
import { a as u, p as m, u as Y } from "./p-474lVBcu-B1f8x2o1.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();
|
|
@@ -24,13 +24,13 @@ const f = (e) => p("gids-calendar-year-list", e), g = (e) => {
|
|
|
24
24
|
getGidsCalendarYearListClassNames: f,
|
|
25
25
|
getGidsCalendarYearListYears: I,
|
|
26
26
|
isValidFourDigitYear: g
|
|
27
|
-
}, Symbol.toStringTag, { value: "Module" })), { getGidsCalendarYearListClassNames: y, getGidsCalendarYearListYears: b, isValidFourDigitYear: l } = S, w =
|
|
27
|
+
}, Symbol.toStringTag, { value: "Module" })), { getGidsCalendarYearListClassNames: y, getGidsCalendarYearListYears: b, isValidFourDigitYear: l } = S, w = o(class extends h {
|
|
28
28
|
constructor(e) {
|
|
29
29
|
super(), e !== !1 && this.__registerHost(), this.type = "default", this.disabledIndices = [], this.divider = !1, this.newStartYear = (/* @__PURE__ */ new Date()).getFullYear(), this.newEndYear = (/* @__PURE__ */ new Date()).getFullYear() + 100, this.hasItemListener = !1, this.suppressNextMenuClickSelection = !1, this.handleCalendarMenuItemSelect = (t) => {
|
|
30
|
-
const { title: s, value: a, selectedIndex: r, disabled: n, id:
|
|
30
|
+
const { title: s, value: a, selectedIndex: r, disabled: n, id: c } = t.detail;
|
|
31
31
|
n || typeof s != "string" || (this.suppressNextMenuClickSelection = !0, queueMicrotask((() => {
|
|
32
32
|
this.suppressNextMenuClickSelection = !1;
|
|
33
|
-
})), this.applySelection({ id:
|
|
33
|
+
})), this.applySelection({ id: c, year: Number(a), disabled: !1, selectedIndex: r, startYear: this.newStartYear, endYear: this.newEndYear }));
|
|
34
34
|
}, this.handleMenuClick = (t) => {
|
|
35
35
|
if (this.suppressNextMenuClickSelection) return;
|
|
36
36
|
const s = t?.detail;
|
|
@@ -71,7 +71,7 @@ const f = (e) => p("gids-calendar-year-list", e), g = (e) => {
|
|
|
71
71
|
}
|
|
72
72
|
render() {
|
|
73
73
|
const e = y();
|
|
74
|
-
return i("div", { key: "
|
|
74
|
+
return i("div", { key: "faf7bc805275a5c8134768678c3362912bcd739f", class: e }, i(u, { key: "a087b75eb1af94caa8962e9ba6a8439f2ba7558d", type: this.type, supportingText: this.noOptionsText }, i(m, { key: "f7ebc9972e0240405ebdecab3c1274c0c15a53a9", sectionLabel: "Years" }, this.yearsList().map(((t, s) => {
|
|
75
75
|
const a = `${s + 1}`, r = this.disabledIndices?.includes(t.value);
|
|
76
76
|
return i(Y, { title: t.title, value: `${t.value}`, key: `${s.toString()}`, index: s, id: a, selected: this.isItemSelected(s), onPressDropdownItem: this.handleMenuClick, disabled: r, divider: this.divider, isPlaceholderItem: !1 });
|
|
77
77
|
})))));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { q as c, L as _, u as y, D as e } from "./p-Bf3p-DY2-CPqEc-vc.js";
|
|
2
2
|
import { r as m, e as f, d as v, H as x, F as b } from "./p-CaauwQNd-D6_PbcRr.js";
|
|
3
|
-
import { p as u } from "./p-DMNS1d8v-
|
|
3
|
+
import { p as u } from "./p-DMNS1d8v-BX8e_AsY.js";
|
|
4
4
|
import { c as w } from "./clsx-OuTLNxxd.js";
|
|
5
5
|
const z = ({ breakpoint: s }, t) => w("gids-progress-circle", {
|
|
6
6
|
"gids-progress-circle--breakpoint-mobile": s === "mobile"
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { q as e, L as t, u as s, D as o } from "./p-Bf3p-DY2-CPqEc-vc.js";
|
|
2
|
-
import { i as
|
|
3
|
-
import { d } from "./p-D4Pimu_8-ARSuGBs4.js";
|
|
4
|
-
const
|
|
2
|
+
import { i as d } from "./p-B2zUuNXz-BLBgQDu7.js";
|
|
3
|
+
import { d as a } from "./p-D4Pimu_8-ARSuGBs4.js";
|
|
4
|
+
const c = t(class extends s {
|
|
5
5
|
constructor(i) {
|
|
6
6
|
super(), i !== !1 && this.__registerHost(), this.__attachShadow();
|
|
7
7
|
}
|
|
8
8
|
connectedCallback() {
|
|
9
|
-
const i =
|
|
9
|
+
const i = d();
|
|
10
10
|
i !== void 0 && this._el.shadowRoot?.adoptedStyleSheets.push(i);
|
|
11
11
|
}
|
|
12
12
|
render() {
|
|
13
|
-
return o(
|
|
13
|
+
return o(a, { key: "3c0910dce9846dd72cf79f8af8aa5b974d59e3df", name: this.name, size: this.size, appearance: this.appearance, alt: this.alt, titleId: this.titleId });
|
|
14
14
|
}
|
|
15
15
|
get _el() {
|
|
16
16
|
return this;
|
|
@@ -21,11 +21,11 @@ const a = t(class extends s {
|
|
|
21
21
|
}, [1, "gids-icon", { name: [1], size: [1], appearance: [1], alt: [1], titleId: [1, "title-id"] }]);
|
|
22
22
|
function n() {
|
|
23
23
|
typeof customElements < "u" && ["gids-icon"].forEach(((i) => {
|
|
24
|
-
i === "gids-icon" && (customElements.get(e(i)) || customElements.define(e(i),
|
|
24
|
+
i === "gids-icon" && (customElements.get(e(i)) || customElements.define(e(i), c));
|
|
25
25
|
}));
|
|
26
26
|
}
|
|
27
27
|
n();
|
|
28
28
|
export {
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
c as d,
|
|
30
|
+
n
|
|
31
31
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { q as d, L as r, u as
|
|
2
|
-
import {
|
|
3
|
-
import { c as
|
|
4
|
-
const
|
|
1
|
+
import { q as d, L as r, u as h, D as l } from "./p-Bf3p-DY2-CPqEc-vc.js";
|
|
2
|
+
import { a as c, p as m, u } from "./p-474lVBcu-B1f8x2o1.js";
|
|
3
|
+
import { c as f } from "./clsx-OuTLNxxd.js";
|
|
4
|
+
const p = (t) => f("gids-calendar-month-list", t), I = () => {
|
|
5
5
|
const t = [], s = new Intl.DateTimeFormat("en-US", { month: "long" });
|
|
6
6
|
for (let e = 1; e <= 12; e += 1) {
|
|
7
7
|
const n = new Date(2e3, e - 1, 1), i = s.format(n);
|
|
@@ -14,9 +14,9 @@ const I = (t) => p("gids-calendar-month-list", t), f = () => {
|
|
|
14
14
|
return t;
|
|
15
15
|
}, b = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
16
16
|
__proto__: null,
|
|
17
|
-
getGidsCalendarMonthListClassNames:
|
|
18
|
-
getGidsCalendarMonthListMonths:
|
|
19
|
-
}, Symbol.toStringTag, { value: "Module" })), { getGidsCalendarMonthListClassNames: g, getGidsCalendarMonthListMonths: M } = b,
|
|
17
|
+
getGidsCalendarMonthListClassNames: p,
|
|
18
|
+
getGidsCalendarMonthListMonths: I
|
|
19
|
+
}, Symbol.toStringTag, { value: "Module" })), { getGidsCalendarMonthListClassNames: g, getGidsCalendarMonthListMonths: M } = b, C = r(class extends h {
|
|
20
20
|
constructor(t) {
|
|
21
21
|
super(), t !== !1 && this.__registerHost(), this.type = "default", this.disabledIndices = [], this.divider = !1, this.hasItemListener = !1, this.suppressNextMenuClickSelection = !1, this.handleCalendarMenuItemSelect = (s) => {
|
|
22
22
|
const { title: e, value: n, selectedIndex: i, disabled: o, id: a } = s.detail;
|
|
@@ -59,7 +59,7 @@ const I = (t) => p("gids-calendar-month-list", t), f = () => {
|
|
|
59
59
|
}
|
|
60
60
|
render() {
|
|
61
61
|
const t = g();
|
|
62
|
-
return l("div", { key: "
|
|
62
|
+
return l("div", { key: "ea6af81523dc95f997f8aa9d89d1f89b4f89a623", class: t }, l(c, { key: "4181888b065d7410afffc88216a8f1ac4fa3d682", type: this.type, supportingText: this.noOptionsText }, l(m, { key: "2b7a683bd7435b0443009a41701e840e2f9a93b6", sectionLabel: "Months" }, this.monthsList().map(((s, e) => {
|
|
63
63
|
const n = `${e + 1}`, i = this.disabledIndices?.includes(e);
|
|
64
64
|
return l(u, { title: s.title, value: `${s.value}`, key: `${e.toString()}`, index: e, id: n, selected: this.isItemSelected(e), onPressDropdownItem: this.handleMenuClick, disabled: i, divider: this.divider, isPlaceholderItem: !1 });
|
|
65
65
|
})))));
|
|
@@ -68,13 +68,13 @@ const I = (t) => p("gids-calendar-month-list", t), f = () => {
|
|
|
68
68
|
return this;
|
|
69
69
|
}
|
|
70
70
|
}, [0, "gids-calendar-month-list", { type: [1], noOptionsText: [1, "no-options-text"], disabledIndices: [16], divider: [4], selectedMonthNumber: [2, "selected-month-number"], onSelectionMonthChange: [16] }]);
|
|
71
|
-
function
|
|
71
|
+
function L() {
|
|
72
72
|
typeof customElements < "u" && ["gids-calendar-month-list"].forEach(((t) => {
|
|
73
|
-
t === "gids-calendar-month-list" && (customElements.get(d(t)) || customElements.define(d(t),
|
|
73
|
+
t === "gids-calendar-month-list" && (customElements.get(d(t)) || customElements.define(d(t), C));
|
|
74
74
|
}));
|
|
75
75
|
}
|
|
76
|
-
|
|
76
|
+
L();
|
|
77
77
|
export {
|
|
78
|
-
|
|
78
|
+
L as c,
|
|
79
79
|
C as l
|
|
80
80
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { q as s, L as l, u, D as
|
|
1
|
+
import { q as s, L as l, u as d, D as a, F as u } from "./p-Bf3p-DY2-CPqEc-vc.js";
|
|
2
2
|
import { d as n } from "./p-D4Pimu_8-ARSuGBs4.js";
|
|
3
|
-
import { l as r } from "./p-CHGTBObD-
|
|
3
|
+
import { l as r } from "./p-CHGTBObD-D_K9_Tmh.js";
|
|
4
4
|
const c = (e) => e.type === "hidden", f = (e) => {
|
|
5
5
|
if (!(e instanceof HTMLElement))
|
|
6
6
|
return !1;
|
|
@@ -15,11 +15,11 @@ const c = (e) => e.type === "hidden", f = (e) => {
|
|
|
15
15
|
"SELECT",
|
|
16
16
|
"TEXTAREA"
|
|
17
17
|
].includes(t) || t === "A" && e.hasAttribute("href") || e instanceof HTMLInputElement && !c(e) || ["AUDIO", "VIDEO"].includes(t) && e.hasAttribute("controls") || ["IMG", "OBJECT"].includes(t) && e.hasAttribute("usemap") || e.hasAttribute("tabindex") && e.tabIndex > -1);
|
|
18
|
-
}, o = l(class extends
|
|
18
|
+
}, o = l(class extends d {
|
|
19
19
|
constructor(e) {
|
|
20
20
|
super(), e !== !1 && this.__registerHost(), this.#e = {}, this._focusInput = (t) => {
|
|
21
|
-
const
|
|
22
|
-
|
|
21
|
+
const i = t.target;
|
|
22
|
+
i === this.#t || this._isWithinInteractiveElement(i) || this.#t?.focus();
|
|
23
23
|
}, this._handleInputFocusAndBlur = (t) => {
|
|
24
24
|
this._el.dispatchEvent(new FocusEvent(t.type, { relatedTarget: t.relatedTarget }));
|
|
25
25
|
};
|
|
@@ -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
|
|
57
|
+
return a(u, { key: "8e83f27a9a2184689594d011aa47837b3e99eff9" }, a("slot", { key: "0cd90f0580e2e57140fb8abb16250444d75b7ae2", name: "leadingIcon" }), this.leadingLabel && a("span", { key: "c61a6ffd7054190421724c5125639b53d1ac2f28", class: "gids-input__label" }, this.leadingLabel), a("slot", { key: "ea00c693b1fcfd6ba85c2179ce97bc286073078c", name: "leadingAccessory" }), a("input", { key: "00dcbb06fd546b60fed8310056096d25c0dc09d2", ...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 }),
|
|
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: "aa449cf35c27946ad62bb63050e302167e871dc7", name: "trailingAccessory" }), this.trailingLabel && a("span", { key: "a896156b9a680a2dae3bf572ca3a34b6b385d19d", class: "gids-input__label" }, this.trailingLabel), a("slot", { key: "45c922441ce3eedd0d57dcfedc6e9629da056082", name: "trailingIcon" }), this.status === "incomplete" && a(n, { key: "5b13f1af4a6eba7f18c1c0fd9cbd1f29decdd966", name: "warning", appearance: "filled", class: "gids-input__warning-icon" }), this.status === "complete" && a(n, { key: "20cbf20a8465e1f774171e9d42009a66445fa988", name: "positive", appearance: "filled", class: "gids-input__positive-icon" }), this.loading && a(r, { key: "add57df9d054eb26ad00ed8debe5f0d48502953d", size: "md", indeterminate: !0 }));
|
|
60
60
|
}
|
|
61
61
|
get _el() {
|
|
62
62
|
return this;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { q as s, L as l, u as
|
|
2
|
-
import { o } from "./p-UVmSPzTd-
|
|
1
|
+
import { q as s, L as l, u as d, z as i, D as t, P as n } from "./p-Bf3p-DY2-CPqEc-vc.js";
|
|
2
|
+
import { o } from "./p-UVmSPzTd-CR1higgJ.js";
|
|
3
3
|
import { i as c } from "./p-B2zUuNXz-BLBgQDu7.js";
|
|
4
|
-
const a = l(class extends
|
|
4
|
+
const a = l(class extends d {
|
|
5
5
|
constructor(e) {
|
|
6
|
-
super(), e !== !1 && this.__registerHost(), this.__attachShadow(), this.select =
|
|
6
|
+
super(), e !== !1 && this.__registerHost(), this.__attachShadow(), this.select = i(this, "select"), this._toggle = this._toggle.bind(this);
|
|
7
7
|
}
|
|
8
8
|
handleSelctedChange(e) {
|
|
9
9
|
this.selected !== e && (this.selected = e);
|
|
@@ -17,9 +17,9 @@ const a = l(class extends i {
|
|
|
17
17
|
this._el.selected = e, this.select?.emit(e), this.selected = e;
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
|
-
return t(n, { key: "
|
|
20
|
+
return t(n, { key: "12f13d3e650436160eda65d3374b733dc4f453a0" }, t("style", { key: "0491d15d5fd9bf1d51e67cf43cf0bc8fa3c1f201" }, `:host {
|
|
21
21
|
display: ${this.width === "full" ? "block" : "inline-block"}
|
|
22
|
-
}`), t(o, { key: "
|
|
22
|
+
}`), t(o, { key: "271ea9e926ff161c07be2fb39b41af249b6c0fb9", appearance: this.appearance, size: this.size, width: this.width, disabled: this.disabled, onClick: this._toggle, "aria-pressed": this.selected ? "true" : "false", leadingIcon: t("slot", { name: "leadingIcon" }), trailingIcon: t("slot", { name: "trailingIcon" }), forceIconOnly: this._onlyHasLeadingIcon() }, t("slot", { key: "c4c4df979e095eeade71a4f93d92d13799f226a5" })));
|
|
23
23
|
}
|
|
24
24
|
_onlyHasLeadingIcon() {
|
|
25
25
|
const e = this._el.childNodes;
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { D as n } from "./p-Bf3p-DY2-CPqEc-vc.js";
|
|
2
|
-
import { l as m } from "./p-CHGTBObD-
|
|
2
|
+
import { l as m } from "./p-CHGTBObD-D_K9_Tmh.js";
|
|
3
3
|
import { c } from "./clsx-OuTLNxxd.js";
|
|
4
|
-
const d = (
|
|
4
|
+
const d = (e) => {
|
|
5
|
+
const { label: t, supportingText: s } = e, i = typeof t == "string" && t.trim().length > 0, r = typeof s == "string" && s.trim().length > 0;
|
|
6
|
+
return {
|
|
7
|
+
hasLabel: i,
|
|
8
|
+
hasSupportingText: r
|
|
9
|
+
};
|
|
10
|
+
}, u = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
11
|
+
__proto__: null,
|
|
12
|
+
getElementVisibility: d
|
|
13
|
+
}, Symbol.toStringTag, { value: "Module" })), x = ({ size: e }, t) => c("gids-spinner", {
|
|
5
14
|
"gids-spinner--xs": e === "xs",
|
|
6
15
|
"gids-spinner--sm": e === "sm",
|
|
7
16
|
// 'gids-spinner--md': size === 'md',
|
|
8
17
|
"gids-spinner--lg": e === "lg",
|
|
9
18
|
"gids-spinner--xl": e === "xl",
|
|
10
19
|
"gids-spinner--2xl": e === "2xl"
|
|
11
|
-
}, t),
|
|
12
|
-
__proto__: null,
|
|
13
|
-
getGidsSpinnerClassNames: d
|
|
14
|
-
}, Symbol.toStringTag, { value: "Module" })), x = (e) => {
|
|
15
|
-
const { label: t, supportingText: s } = e, i = typeof t == "string" && t.trim().length > 0, r = typeof s == "string" && s.trim().length > 0;
|
|
16
|
-
return {
|
|
17
|
-
hasLabel: i,
|
|
18
|
-
hasSupportingText: r
|
|
19
|
-
};
|
|
20
|
-
}, b = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
20
|
+
}, t), b = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
21
21
|
__proto__: null,
|
|
22
|
-
|
|
23
|
-
}, Symbol.toStringTag, { value: "Module" })), { getGidsSpinnerClassNames: _ } =
|
|
22
|
+
getGidsSpinnerClassNames: x
|
|
23
|
+
}, Symbol.toStringTag, { value: "Module" })), { getGidsSpinnerClassNames: _ } = b, { getElementVisibility: f } = u, h = ({ label: e, supportingText: t, size: s, indeterminate: i, value: r, max: l, class: o, ...p }) => {
|
|
24
24
|
const { hasLabel: a, hasSupportingText: g } = f({ label: e, supportingText: t });
|
|
25
25
|
return n("span", { class: _({ size: s }, o), ...p }, n(m, { size: s, indeterminate: i, value: r, max: l }), a && n("span", { class: "gids-spinner__label" }, e), g && n("span", { class: "gids-spinner__supporting-text" }, t));
|
|
26
26
|
};
|