@ganpatiinfo/gids-core-web 10.0.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 +260 -0
- package/dist/css/index.css.map +1 -1
- package/dist/gids-action-bar.d.ts +11 -0
- package/dist/gids-action-bar.js +1 -0
- package/dist/gids-activity-gauge.d.ts +1 -1
- package/dist/gids-activity-gauge.js +1 -1
- package/dist/gids-bar-chart.d.ts +1 -1
- package/dist/gids-bar-chart.js +1 -1
- package/dist/gids-calendar-header-panel.d.ts +1 -1
- package/dist/gids-calendar-header-panel.js +1 -1
- package/dist/gids-calendar-month-list.d.ts +1 -1
- package/dist/gids-calendar-month-list.js +1 -1
- package/dist/gids-calendar-year-list.d.ts +1 -1
- package/dist/gids-calendar-year-list.js +1 -1
- package/dist/gids-calendar.d.ts +1 -1
- package/dist/gids-calendar.js +1 -1
- package/dist/gids-chart-legend-item.d.ts +1 -1
- package/dist/gids-chart-legend-item.js +1 -1
- package/dist/gids-chart-legend.d.ts +1 -1
- package/dist/gids-chart-legend.js +1 -1
- package/dist/gids-chart.d.ts +1 -1
- package/dist/gids-chart.js +1 -1
- package/dist/gids-chevron-button.d.ts +1 -1
- package/dist/gids-chevron-button.js +1 -1
- package/dist/gids-dot.d.ts +1 -1
- package/dist/gids-dot.js +1 -1
- package/dist/gids-dropdown-field.d.ts +1 -1
- package/dist/gids-dropdown-field.js +1 -1
- package/dist/gids-dropdown-picker.d.ts +1 -1
- package/dist/gids-dropdown-picker.js +1 -1
- package/dist/gids-dropdown.d.ts +1 -1
- package/dist/gids-dropdown.js +1 -1
- package/dist/gids-field.d.ts +1 -1
- package/dist/gids-field.js +1 -1
- package/dist/gids-filter.d.ts +11 -0
- package/dist/gids-filter.js +1 -0
- 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-level-gauge.js +1 -1
- package/dist/gids-line-chart.d.ts +1 -1
- package/dist/gids-line-chart.js +1 -1
- package/dist/gids-notification.d.ts +1 -1
- package/dist/gids-notification.js +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-progress-circle.js +1 -1
- package/dist/gids-scrim.d.ts +1 -1
- package/dist/gids-scrim.js +1 -1
- package/dist/gids-snackbar.d.ts +1 -1
- package/dist/gids-snackbar.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.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/index.js +1 -1
- package/dist/{p-h6alWGT8.js → p-5VIPb1eU.js} +1 -1
- package/dist/{p-BiPAgxAQ.js → p-8tOn5SjU.js} +1 -1
- package/dist/{p-Bmb-HiXg.js → p-B1Jgtjhu.js} +1 -1
- package/dist/{p-B81J5HCC.js → p-BYDimyG-.js} +1 -1
- package/dist/p-Bf3p-DY2.js +1 -0
- package/dist/{p-tyIgTtUC.js → p-BfnzH6wp.js} +1 -1
- package/dist/p-Bj28yqMD.js +1 -0
- package/dist/{p-CJzporPT.js → p-C-cUL-aA.js} +1 -1
- package/dist/{p-BvYnawkJ.js → p-C7ifjRCE.js} +1 -1
- package/dist/p-CHGTBObD.js +1 -0
- package/dist/{p-D_wcwB7E.js → p-CaauwQNd.js} +1 -1
- package/dist/p-Ciw-O9qN.js +1 -0
- package/dist/{p-quZYWCxU.js → p-CoS0NuDU.js} +1 -1
- package/dist/{p-BnL97lOW.js → p-D4Pimu_8.js} +1 -1
- package/dist/p-D6lxqcxP.js +1 -0
- package/dist/p-DMNS1d8v.js +1 -0
- package/dist/{p-uqSjmNkw.js → p-Degg_WJz.js} +1 -1
- package/dist/p-Dg2yoUxw.js +1 -0
- package/dist/{p-CIP0xyhD.js → p-DiNad9Px.js} +1 -1
- package/dist/{p-D93TNeOt.js → p-DoPuGtJd.js} +1 -1
- package/dist/{p-DfFqFdmS.js → p-Doi8Yizl.js} +1 -1
- package/dist/{p-9_mrQ7ac.js → p-Jdpe4Sgj.js} +1 -1
- package/dist/p-UVmSPzTd.js +1 -0
- package/dist/p-UxDcM-C5.js +1 -0
- package/dist/{p-CPSHPtGE.js → p-bPPm7cuw.js} +1 -1
- package/dist/p-qb1aWgjh.js +1 -0
- package/dist/p-qrjEbv6g.js +1 -0
- package/dist/p-xITwQAMz.js +1 -0
- package/dist/types/components/html/GidsButtonGroup/GidsButtonGroup.d.ts +2 -2
- package/dist/types/components/webComponents/GidsActionBar/GidsActionBar.d.ts +59 -0
- package/dist/types/components/webComponents/GidsFilter/GidsFilter.d.ts +55 -0
- 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/webComponents/GidsToggleButton/GidsToggleButton.d.ts +5 -3
- package/dist/types/components.d.ts +381 -5
- package/dist-bundled/es/gids-action-bar.js +177 -0
- package/dist-bundled/es/gids-activity-gauge.js +1 -1
- package/dist-bundled/es/gids-bar-chart.js +4 -4
- package/dist-bundled/es/gids-calendar-header-panel.js +4 -4
- package/dist-bundled/es/gids-calendar-month-list.js +3 -3
- package/dist-bundled/es/gids-calendar-year-list.js +3 -3
- package/dist-bundled/es/gids-calendar.js +34 -34
- package/dist-bundled/es/gids-chart-legend-item.js +3 -3
- package/dist-bundled/es/gids-chart-legend.js +4 -4
- package/dist-bundled/es/gids-chart.js +22 -22
- package/dist-bundled/es/gids-chevron-button.js +9 -9
- package/dist-bundled/es/gids-dot.js +1 -1
- package/dist-bundled/es/gids-dropdown-field.js +9 -9
- package/dist-bundled/es/gids-dropdown-picker.js +2 -2
- package/dist-bundled/es/gids-dropdown.js +4 -4
- package/dist-bundled/es/gids-field.js +1 -1
- package/dist-bundled/es/gids-filter.js +6 -0
- package/dist-bundled/es/gids-icon.js +4 -4
- package/dist-bundled/es/gids-input.js +4 -4
- package/dist-bundled/es/gids-level-gauge.js +4 -4
- package/dist-bundled/es/gids-line-chart.js +1 -1
- package/dist-bundled/es/gids-notification.js +1 -1
- package/dist-bundled/es/gids-overflow-container.js +9 -9
- package/dist-bundled/es/gids-overlay-provider.js +12 -12
- package/dist-bundled/es/gids-password-field.js +48 -48
- package/dist-bundled/es/gids-pie-chart.js +3 -3
- package/dist-bundled/es/gids-popover.js +5 -5
- package/dist-bundled/es/gids-progress-circle.js +1 -1
- package/dist-bundled/es/gids-scrim.js +3 -3
- package/dist-bundled/es/gids-snackbar.js +1 -1
- 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 +17 -17
- package/dist-bundled/es/gids-toggle-button.js +4 -44
- package/dist-bundled/es/gids-tooltip.js +2 -2
- package/dist-bundled/es/index.js +3 -3
- package/dist-bundled/es/nonEmpty-B284_5ai.js +4 -0
- package/dist-bundled/es/{p-h6alWGT8-CSY2g3c8.js → p-5VIPb1eU-MCAo8JCp.js} +8 -8
- package/dist-bundled/es/{p-BiPAgxAQ-BtMBQpJY.js → p-8tOn5SjU-D9rZ28cf.js} +11 -11
- package/dist-bundled/es/{p-Bmb-HiXg-MyHWdhpw.js → p-B1Jgtjhu-B_VYp-ZP.js} +15 -15
- package/dist-bundled/es/{p-B81J5HCC-Bkt2yXKi.js → p-BYDimyG--DBCLrqDJ.js} +3 -3
- package/dist-bundled/es/p-Bf3p-DY2-CPqEc-vc.js +672 -0
- package/dist-bundled/es/{p-tyIgTtUC-C8jR4A5G.js → p-BfnzH6wp-BfLC7Nak.js} +4 -4
- package/dist-bundled/es/p-Bj28yqMD-Dz1SWSqM.js +44 -0
- package/dist-bundled/es/{p-CJzporPT-I_OdjJsQ.js → p-C-cUL-aA-2jsvw-Lr.js} +9 -9
- package/dist-bundled/es/{p-BvYnawkJ-DohV9UNG.js → p-C7ifjRCE-CRlorwoN.js} +10 -10
- package/dist-bundled/es/{p-DKsrt7dx-ImYLc4xz.js → p-CHGTBObD-EN4cCwtX.js} +3 -3
- package/dist-bundled/es/{p-D_wcwB7E-d3jYxfod.js → p-CaauwQNd-D6_PbcRr.js} +1 -1
- package/dist-bundled/es/{p-BFHWXEeg-ByjSjz8i.js → p-Ciw-O9qN-DkWfirFu.js} +24 -22
- package/dist-bundled/es/{p-quZYWCxU-CPyWW0nv.js → p-CoS0NuDU-CqmDcRWj.js} +9 -9
- package/dist-bundled/es/{p-BnL97lOW-BO0p4EdC.js → p-D4Pimu_8-DfEGRQGf.js} +1 -1
- package/dist-bundled/es/p-D6lxqcxP-DWrZi1Xi.js +74 -0
- package/dist-bundled/es/{p-Dehss-X0-Di5vMgvd.js → p-DMNS1d8v-CHF62UXm.js} +3 -3
- package/dist-bundled/es/{p-uqSjmNkw-Cz2T86sC.js → p-Degg_WJz-BLua06el.js} +3 -3
- package/dist-bundled/es/{p-CRngHsR7-DL9wz3Z3.js → p-Dg2yoUxw-Cca8ROd_.js} +4 -4
- package/dist-bundled/es/{p-CIP0xyhD-D6y5soLj.js → p-DiNad9Px-uOCMHqAq.js} +11 -11
- package/dist-bundled/es/{p-D93TNeOt-Vvshbux8.js → p-DoPuGtJd-DYlbhh57.js} +14 -14
- package/dist-bundled/es/{p-DfFqFdmS-DjI2pk-0.js → p-Doi8Yizl-BszWK5Dq.js} +5 -5
- package/dist-bundled/es/{p-9_mrQ7ac-If6e6cvJ.js → p-Jdpe4Sgj-acwaxLtK.js} +3 -3
- package/dist-bundled/es/p-UVmSPzTd-6vjXok6h.js +26 -0
- package/dist-bundled/es/{p-DZWWuJac-DNQvnHAr.js → p-UxDcM-C5-Dr5d_WpJ.js} +2 -2
- package/dist-bundled/es/{p-CPSHPtGE-C7baJgXR.js → p-bPPm7cuw-B-dtPJF9.js} +6 -6
- package/dist-bundled/es/{p-B_HaXpJZ-a2SDgQ0E.js → p-qb1aWgjh-CzmMPIME.js} +2 -2
- package/dist-bundled/es/p-qrjEbv6g-ITSp3ky_.js +152 -0
- package/dist-bundled/es/{p-BaO-kEWS-ZITkeP-j.js → p-xITwQAMz-BMXjOAAQ.js} +20 -18
- package/dist-bundled/umd/gids-action-bar.umd.js +7 -0
- package/dist-bundled/umd/gids-activity-gauge.umd.js +2 -2
- package/dist-bundled/umd/gids-bar-chart.umd.js +3 -3
- 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 +2 -2
- package/dist-bundled/umd/gids-chart-legend-item.umd.js +2 -2
- package/dist-bundled/umd/gids-chart-legend.umd.js +2 -2
- package/dist-bundled/umd/gids-chart.umd.js +3 -3
- package/dist-bundled/umd/gids-chevron-button.umd.js +2 -2
- package/dist-bundled/umd/gids-dot.umd.js +2 -2
- package/dist-bundled/umd/gids-dropdown-field.umd.js +2 -2
- package/dist-bundled/umd/gids-dropdown-picker.umd.js +2 -2
- package/dist-bundled/umd/gids-dropdown.umd.js +2 -2
- package/dist-bundled/umd/gids-field.umd.js +2 -2
- package/dist-bundled/umd/gids-filter.umd.js +7 -0
- package/dist-bundled/umd/gids-icon.umd.js +2 -2
- package/dist-bundled/umd/gids-input.umd.js +2 -2
- package/dist-bundled/umd/gids-level-gauge.umd.js +2 -2
- package/dist-bundled/umd/gids-line-chart.umd.js +2 -2
- package/dist-bundled/umd/gids-notification.umd.js +2 -2
- package/dist-bundled/umd/gids-overflow-container.umd.js +2 -2
- package/dist-bundled/umd/gids-overlay-provider.umd.js +2 -2
- package/dist-bundled/umd/gids-password-field.umd.js +2 -2
- 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 +2 -2
- package/dist-bundled/umd/gids-scrim.umd.js +2 -2
- package/dist-bundled/umd/gids-snackbar.umd.js +2 -2
- 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 +2 -2
- package/dist-bundled/umd/index.umd.js +2 -2
- package/dist-bundled/umd-complete/gids-core-web.umd.js +8 -8
- package/package.json +36 -4
- package/dist/p-BFHWXEeg.js +0 -1
- package/dist/p-B_HaXpJZ.js +0 -1
- package/dist/p-BaO-kEWS.js +0 -1
- package/dist/p-CRngHsR7.js +0 -1
- package/dist/p-Ct3Ixgvf.js +0 -1
- package/dist/p-DKsrt7dx.js +0 -1
- package/dist/p-DZWWuJac.js +0 -1
- package/dist/p-Dehss-X0.js +0 -1
- package/dist/p-KxRqlvSh.js +0 -1
- package/dist/p-MgTlrSP_.js +0 -1
- package/dist-bundled/es/p-Ct3Ixgvf-CNP_PKwP.js +0 -646
- package/dist-bundled/es/p-KxRqlvSh-JOFDmT0B.js +0 -25
- package/dist-bundled/es/p-MgTlrSP_-DifRVv94.js +0 -70
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ganpatiinfo/gids-core-web",
|
|
3
|
-
"version": "10.
|
|
3
|
+
"version": "10.2.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "This is a core web package contains html components",
|
|
6
6
|
"homepage": "https://ganpatiinfo-design-system.onrender.com/",
|
|
@@ -321,6 +321,38 @@
|
|
|
321
321
|
"types": "./dist/gids-chart.d.ts",
|
|
322
322
|
"default": "./dist/gids-chart.js"
|
|
323
323
|
},
|
|
324
|
+
"./gids-filter.js": {
|
|
325
|
+
"types": "./dist/gids-filter.d.ts",
|
|
326
|
+
"default": "./dist/gids-filter.js"
|
|
327
|
+
},
|
|
328
|
+
"./dist/gids-filter.js": {
|
|
329
|
+
"types": "./dist/gids-filter.d.ts",
|
|
330
|
+
"default": "./dist/gids-filter.js"
|
|
331
|
+
},
|
|
332
|
+
"./gids-action-bar.js": {
|
|
333
|
+
"types": "./dist/gids-action-bar.d.ts",
|
|
334
|
+
"default": "./dist/gids-action-bar.js"
|
|
335
|
+
},
|
|
336
|
+
"./dist/gids-action-bar.js": {
|
|
337
|
+
"types": "./dist/gids-action-bar.d.ts",
|
|
338
|
+
"default": "./dist/gids-action-bar.js"
|
|
339
|
+
},
|
|
340
|
+
"./gids-tab-item.js": {
|
|
341
|
+
"types": "./dist/gids-tab-item.d.ts",
|
|
342
|
+
"default": "./dist/gids-tab-item.js"
|
|
343
|
+
},
|
|
344
|
+
"./dist/gids-tab-item.js": {
|
|
345
|
+
"types": "./dist/gids-tab-item.d.ts",
|
|
346
|
+
"default": "./dist/gids-tab-item.js"
|
|
347
|
+
},
|
|
348
|
+
"./gids-tab.js": {
|
|
349
|
+
"types": "./dist/gids-tab.d.ts",
|
|
350
|
+
"default": "./dist/gids-tab.js"
|
|
351
|
+
},
|
|
352
|
+
"./dist/gids-tab.js": {
|
|
353
|
+
"types": "./dist/gids-tab.d.ts",
|
|
354
|
+
"default": "./dist/gids-tab.js"
|
|
355
|
+
},
|
|
324
356
|
"./customElements": {
|
|
325
357
|
"default": "./dist/custom-elements.json"
|
|
326
358
|
},
|
|
@@ -339,8 +371,8 @@
|
|
|
339
371
|
"dependencies": {
|
|
340
372
|
"@floating-ui/dom": "1.7.6",
|
|
341
373
|
"clsx": "^2.1.1",
|
|
342
|
-
"@ganpatiinfo/gids-core-shared": "^9.
|
|
343
|
-
"@ganpatiinfo/gids-web-shared": "^9.
|
|
374
|
+
"@ganpatiinfo/gids-core-shared": "^9.2.0",
|
|
375
|
+
"@ganpatiinfo/gids-web-shared": "^9.2.0",
|
|
344
376
|
"composed-offset-position": "^0.0.6"
|
|
345
377
|
},
|
|
346
378
|
"devDependencies": {
|
|
@@ -350,7 +382,7 @@
|
|
|
350
382
|
"@ganpatiinfo/gids-liquid-renderer": "^4.0.0",
|
|
351
383
|
"@ganpatiinfo/gids-storybook-theme": "^7.0.0",
|
|
352
384
|
"@ganpatiinfo/gids-storybook-utilities": "^4.0.0",
|
|
353
|
-
"@ganpatiinfo/gids-web-dom-reference": "^9.
|
|
385
|
+
"@ganpatiinfo/gids-web-dom-reference": "^9.2.0",
|
|
354
386
|
"@ganpatiinfo/gids-web-theme-ganpatiinfo": "^6.0.0",
|
|
355
387
|
"@jest/globals": "^30.2.0",
|
|
356
388
|
"@stencil/core": "^4.43.2",
|
package/dist/p-BFHWXEeg.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t,p as e,H as i,h as s}from"./p-Ct3Ixgvf.js";import{GidsDropdownPickerWebUtils as n}from"@ganpatiinfo/gids-web-shared";import{G as o}from"./p-KxRqlvSh.js";import{G as d}from"./p-BnL97lOW.js";const{getGidsDropdownPickerClassNames:a}=n,h=e(class extends i{constructor(t){super(),!1!==t&&this.__registerHost(),this.appearance="subtle",this.size="sm",this.idPicker="",this.expanded=!1,this.hasLeadingIcon=!1,this.hasItemListener=!1,this.suppressNextMenuClickSelection=!1,this.hasDocumentListeners=!1,this.handleDropdownPickerItemSelect=t=>{const{value:e,title:i,disabled:s,id:n}=t.detail;s||"string"!=typeof e||(this.suppressNextMenuClickSelection=!0,queueMicrotask((()=>{this.suppressNextMenuClickSelection=!1})),this.applySelection({id:n,value:e,title:i,disabled:!1,originalEvent:t}))},this.handleMenuClick=t=>{if(this.suppressNextMenuClickSelection)return;const e=t.target;if(!(e instanceof Element))return;const i=e.closest(".gids-dropdown-item");if(!i||!this.hostElement.contains(i))return;if(i.hasAttribute("disabled")||"true"===i.getAttribute("aria-disabled"))return;const s=i instanceof HTMLButtonElement?i.value:i.getAttribute("value")??"";if("string"!=typeof s||0===s.length)return;const n=i instanceof HTMLButtonElement?i.id:i.getAttribute("id")??"";"string"==typeof n&&0!==n.length&&this.applySelection({id:n,value:s,title:i.textContent?.trim()??"",disabled:!1,originalEvent:t})},this.handleTriggerToggle=t=>{this.isInteractive()&&this.setExpandedState(!this.expanded,t)},this.handleDropdownButtonClickToggle=t=>{t.defaultPrevented||(t.stopPropagation(),this.handleTriggerToggle(t))},this.handleOutSpaceClickOfDropdownButtonToggle=t=>{this.expanded&&(t.stopPropagation(),this.setExpandedState(!1))},this.handleDocumentPointerDown=t=>{2!==t.button&&this.expanded&&(("function"==typeof t.composedPath?t.composedPath():[]).includes(this.hostElement)||this.hostElement.contains(t.target)||this.setExpandedState(!1,t))},this.handleDocumentKeyDown=t=>{if(!this.expanded)return;const e=t.key;if("Escape"===e||"Esc"===e)return t.preventDefault(),void this.setExpandedState(!1,t);"Tab"===e&&this.setExpandedState(!1,t)},this.handleFormReset=()=>{this.value=this.initialValue,this.selectedItemTitle=void 0,this.setExpandedState(!1)}}handleExpandedChange(t){t&&!this.isInteractive()&&(this.expanded=!1)}handleInteractivityChange(){!this.isInteractive()&&this.expanded&&this.setExpandedState(!1)}connectedCallback(){this.initialValue=this.value,this.attachItemListener(),this.attachDocumentListeners(),this.attachFormListener()}disconnectedCallback(){this.detachItemListener(),this.detachDocumentListeners(),this.detachFormListener()}componentWillLoad(){this.checkSlots()}componentWillUpdate(){this.checkSlots()}checkSlots(){this.hasLeadingIcon=!!this.hostElement.querySelector('[slot="leadingIconDropdownPicker"]')}getDropdownButtonControl(){return this.hostElement.querySelector(".gids-button")}getItemElements(){return Array.from(this.hostElement.querySelectorAll(".gids-dropdown-item"))}attachItemListener(){this.hasItemListener||(this.hostElement.addEventListener("onPressDropdownItem",this.handleDropdownPickerItemSelect),this.hasItemListener=!0)}detachItemListener(){this.hasItemListener&&(this.hostElement.removeEventListener("onPressDropdownItem",this.handleDropdownPickerItemSelect),this.hasItemListener=!1)}applySelection(t){this.value=t.value,this.selectedItemTitle="string"==typeof t.title?t.title:void 0,this.clearActive(),this.setExpandedState(!1,this.coerceEvent(t.originalEvent)),this.onSelectionChange?.(t),this.hostElement.dispatchEvent(new CustomEvent("gidsDropdownPickerChange",{bubbles:!0,composed:!0,detail:t}))}clearActive(){this.getItemElements().forEach((t=>t.classList.remove("gids-dropdown-item--active")))}setExpandedState(t,e){const i=Boolean(t);i&&!this.isInteractive()||this.expanded!==i&&(this.expanded=i,i||(this.clearActive(),this.syncInputDisplayValue()),this.hostElement.dispatchEvent(new CustomEvent("gidsDropdownPickerToggle",{bubbles:!0,composed:!0,detail:{expanded:i,originalEvent:e}})))}syncInputDisplayValue(){const t=this.getDropdownButtonControl();t&&t.value!==(this.selectedItemTitle??"")&&(t.value=this.selectedItemTitle??"")}attachDocumentListeners(){this.hasDocumentListeners||"undefined"==typeof document||(document.addEventListener("pointerdown",this.handleDocumentPointerDown),document.addEventListener("keydown",this.handleDocumentKeyDown),this.hasDocumentListeners=!0)}detachDocumentListeners(){this.hasDocumentListeners&&"undefined"!=typeof document&&(document.removeEventListener("pointerdown",this.handleDocumentPointerDown),document.removeEventListener("keydown",this.handleDocumentKeyDown),this.hasDocumentListeners=!1)}attachFormListener(){const t=this.hostElement.closest("form");this.patternForm!==t&&(this.patternForm&&this.patternForm.removeEventListener("reset",this.handleFormReset),this.patternForm=t??void 0,this.patternForm?.addEventListener("reset",this.handleFormReset))}detachFormListener(){this.patternForm&&(this.patternForm.removeEventListener("reset",this.handleFormReset),this.patternForm=void 0)}isInteractive(){return!this.disabled}coerceEvent(t){if("undefined"!=typeof Event&&null!==t)return t instanceof Event?t:void 0}render(){const t=this.expanded&&this.isInteractive(),e=a({expanded:t}),i="string"==typeof this.idPicker?this.idPicker:void 0,n=i?`${i}__menu`:void 0;return s("div",{key:"60aba19be894123a4fb11cf8d682c89c1e1dfc9c",class:e,onClick:this.handleOutSpaceClickOfDropdownButtonToggle},s(o,{key:"6e691f9fee63c676d7a66d42024a4688730f9503",role:"pickerbox","aria-expanded":t?"true":"false","aria-haspopup":"pickerlistbox","aria-controls":n??"",onClick:this.handleDropdownButtonClickToggle,disabled:this.disabled,value:this.selectedItemTitle??this.value??"",loading:this.loading,appearance:this.appearance,size:this.size},this.hasLeadingIcon?s("slot",{name:"leadingIconDropdownPicker",slot:"leadingIcon"}):s(d,{name:"chevron-down",size:this.size,appearance:"regular",alt:"",slot:"leadingIcon"})),s("div",{key:"b44514baae627324d71f1114c3ba18bc6b946b01",class:"gids-dropdown-picker__menu",id:n,role:"pickerbox",onClick:this.handleMenuClick},s("slot",{key:"1e3b9e592646a1bda41d2cf5bfc8556908c0499f"})))}get hostElement(){return this}static get watchers(){return{expanded:[{handleExpandedChange:0}],disabled:[{handleInteractivityChange:0}]}}static get style(){return".gids-dropdown-picker{position:relative}.gids-dropdown-picker__menu{position:absolute;inset-inline:0;top:calc(100% + var(--gids-gap-050));z-index:3;display:none;flex-direction:column;align-self:stretch;min-width:var(--gids-width-2-xs);min-height:55px;max-height:15rem;overflow-x:hidden;overflow-y:auto;background-color:var(--gids-elevation-surface-overlay-default);box-shadow:var(--gids-elevation-shadow-overlay);border-radius:var(--gids-border-radius-lg)}.gids-dropdown-picker__menu>*{flex-shrink:0}.gids-dropdown-picker--expanded .gids-dropdown-picker__menu{display:flex}"}},[260,"gids-dropdown-picker",{appearance:[1],size:[1],idPicker:[1,"id-picker"],expanded:[1540],disabled:[516],loading:[516],value:[513],name:[1],onSelectionChange:[16],selectedItemTitle:[32],hasLeadingIcon:[32]},void 0,{expanded:[{handleExpandedChange:0}],disabled:[{handleInteractivityChange:0}]}]);function r(){"undefined"!=typeof customElements&&["gids-dropdown-picker"].forEach((e=>{"gids-dropdown-picker"===e&&(customElements.get(t(e))||customElements.define(t(e),h))}))}r();export{h as G,r as d}
|
package/dist/p-B_HaXpJZ.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t,p as e,H as n,h as a}from"./p-Ct3Ixgvf.js";import{GidsChartLegendWebUtils as i}from"@ganpatiinfo/gids-web-shared";const{getGidsChartLegendClassNames:s}=i,r=e(class extends n{constructor(t){super(),!1!==t&&this.__registerHost(),this.orientation="horizontal"}handleOrientationChange(t){this.orientation=t}render(){const t=s({orientation:this.orientation});return a("div",{key:"cf7740304d4b3616d7bc15d2a2009c537665bbc7",class:t},a("slot",{key:"940d3744a6ea0da0684ff2d16c9734e8d265b485"}))}static get watchers(){return{orientation:[{handleOrientationChange:0}]}}static get style(){return".gids-chart-legend{display:inline-flex;align-items:flex-start;gap:var(--gids-gap-150)}.gids-chart-legend--orientation-vertical{flex-direction:column;gap:var(--gids-gap-050)}"}},[260,"gids-chart-legend",{orientation:[1]},void 0,{orientation:[{handleOrientationChange:0}]}]);function d(){"undefined"!=typeof customElements&&["gids-chart-legend"].forEach((e=>{"gids-chart-legend"===e&&(customElements.get(t(e))||customElements.define(t(e),r))}))}d();export{r as G,d}
|
package/dist/p-BaO-kEWS.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t,p as i,H as e,h as s}from"./p-Ct3Ixgvf.js";import{GidsDropdownWebUtils as n}from"@ganpatiinfo/gids-web-shared";import{G as o}from"./p-BnL97lOW.js";import{d}from"./p-DfFqFdmS.js";const{getGidsDropdownClassNames:a,getGidsChevronButtonControlClassNames:h}=n,r="gids-dropdown-item--active",c=i(class extends e{constructor(t){super(),!1!==t&&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=>{const{value:i,title:e,disabled:s,id:n}=t.detail;s||"string"!=typeof i||(this.suppressNextMenuClickSelection=!0,queueMicrotask((()=>{this.suppressNextMenuClickSelection=!1})),this.applySelection({id:n,value:i,title:e,disabled:!1,originalEvent:t}))},this.handleMenuClick=t=>{if(this.suppressNextMenuClickSelection)return;const i=t.target;if(!(i instanceof Element))return;const e=i.closest(".gids-dropdown-item");if(!e||!this.hostElement.contains(e))return;if(e.hasAttribute("disabled")||"true"===e.getAttribute("aria-disabled"))return;const s=e instanceof HTMLButtonElement?e.value:e.getAttribute("value")??"";if("string"!=typeof s||0===s.length)return;const n=e instanceof HTMLButtonElement?e.id:e.getAttribute("id")??"";"string"==typeof n&&0!==n.length&&this.applySelection({id:n,value:s,title:e.textContent?.trim()??"",disabled:!1,originalEvent:t})},this.handleFilterInput=t=>{const i=t.target;this.filterValue=i?.value??"",this.isFilterEditing=!0,this.clearActive(),this.expanded||this.setExpandedState(!0,t),this.applyFilter()},this.handleInputKeyDown=t=>{if(!this.isInteractive())return;const i=t.key,e="ArrowDown"===i;if((e||"ArrowUp"===i)&&!t.metaKey&&!t.ctrlKey)return t.preventDefault(),this.expanded||this.setExpandedState(!0,t),void this.moveActive(e?1:-1);if("Home"===i&&this.expanded)return t.preventDefault(),void this.setActiveByIndex(0);if("End"===i&&this.expanded)return t.preventDefault(),void this.setActiveByIndex(this.getVisibleEnabledItems().length-1);if("Enter"===i){if(!this.expanded)return t.preventDefault(),this.setExpandedState(!0,t),void this.setActiveByIndex(0);this.selectActive()&&t.preventDefault()}},this.handleTriggerToggle=t=>{this.isInteractive()&&this.setExpandedState(!this.expanded,t)},this.handleInputFocusAndBlur=t=>{this.hostElement.dispatchEvent(new FocusEvent(t.type,{relatedTarget:t.relatedTarget}))},this.handleInputClickToggle=t=>{t.defaultPrevented||this.handleTriggerToggle(t)},this.handleChevronClickToggle=t=>{t.defaultPrevented||(t.stopPropagation(),this.handleTriggerToggle(t))},this.handleDocumentPointerDown=t=>{2!==t.button&&this.expanded&&(("function"==typeof t.composedPath?t.composedPath():[]).includes(this.hostElement)||this.hostElement.contains(t.target)||this.setExpandedState(!1,t))},this.handleDocumentKeyDown=t=>{if(!this.expanded)return;const i=t.key;if("Escape"===i||"Esc"===i)return t.preventDefault(),void this.setExpandedState(!1,t);"Tab"===i&&this.setExpandedState(!1,t)},this.handleFormReset=()=>{this.value=this.initialValue,this.selectedItemTitle=void 0,this.isFilterEditing=!1,this.filterValue="",this.setExpandedState(!1)}}handleExpandedChange(t){t&&!this.isInteractive()&&(this.expanded=!1)}handleInteractivityChange(){!this.isInteractive()&&this.expanded&&this.setExpandedState(!1)}connectedCallback(){this.initialValue=this.value,this.attachItemListener(),this.attachDocumentListeners(),this.attachFormListener()}disconnectedCallback(){this.detachItemListener(),this.detachDocumentListeners(),this.detachFormListener()}componentWillLoad(){this.checkSlots()}componentWillUpdate(){this.checkSlots()}checkSlots(){this.hasLeadingIcon=!!this.hostElement.querySelector('[slot="leadingIconDropdown"]'),this.hasLeadingAccessory=!!this.hostElement.querySelector('[slot="leadingAccessoryDropdown"]')}getItemElements(){return Array.from(this.hostElement.querySelectorAll(".gids-dropdown-item"))}getVisibleEnabledItems(){return this.getItemElements().filter((t=>"none"!==t.style.display&&!t.hasAttribute("disabled")&&"true"!==t.getAttribute("aria-disabled")))}attachItemListener(){this.hasItemListener||(this.hostElement.addEventListener("onPressDropdownItem",this.handleDropdownItemSelect),this.hasItemListener=!0)}detachItemListener(){this.hasItemListener&&(this.hostElement.removeEventListener("onPressDropdownItem",this.handleDropdownItemSelect),this.hasItemListener=!1)}applySelection(t){this.value=t.value,this.selectedItemTitle="string"==typeof t.title?t.title:void 0,this.isFilterEditing=!1,this.filterValue="",this.clearActive(),this.emitNativeSelectionEvents(this.selectedItemTitle??""),this.setExpandedState(!1,this.coerceEvent(t.originalEvent)),this.onSelectionChange?.(t),this.hostElement.dispatchEvent(new CustomEvent("gidsDropdownChange",{bubbles:!0,composed:!0,detail:t}))}getInputControl(){return this.hostElement.querySelector(".gids-input__control")}emitNativeSelectionEvents(t){const i=this.getInputControl();i&&(i.value=t,i.dispatchEvent(new Event("input",{bubbles:!0,composed:!0})),i.dispatchEvent(new Event("change",{bubbles:!0,composed:!0})))}clearActive(){this.activeIndex=-1,this.getItemElements().forEach((t=>t.classList.remove(r))),this.setActiveDescendant(void 0)}setActiveByIndex(t){const i=this.getVisibleEnabledItems();if(this.getItemElements().forEach((t=>t.classList.remove(r))),0===i.length)return this.activeIndex=-1,void this.setActiveDescendant(void 0);const e=Math.max(0,Math.min(t,i.length-1)),s=i[e];if(!s)return this.activeIndex=-1,void this.setActiveDescendant(void 0);this.activeIndex=e,s.classList.add(r),s.scrollIntoView({block:"nearest"}),this.setActiveDescendant(s.id||void 0)}moveActive(t){const i=this.getVisibleEnabledItems();0!==i.length?this.setActiveByIndex(-1===this.activeIndex?t>0?0:i.length-1:(this.activeIndex+t+i.length)%i.length):this.clearActive()}selectActive(){const t=this.getVisibleEnabledItems();if(0===t.length)return!1;const i=this.activeIndex>=0?t[this.activeIndex]:t[0];return!!i&&(i.click(),this.getInputControl()?.focus(),!0)}applyFilter(){const t=this.filterValue.trim().toLowerCase();this.getItemElements().forEach((i=>{const e=(i.textContent??"").toLowerCase(),s=0===t.length||e.includes(t);i.style.display=s?"":"none"}))}setActiveDescendant(t){const i=this.getInputControl();i&&(t?i.setAttribute("aria-activedescendant",t):i.removeAttribute("aria-activedescendant"))}setExpandedState(t,i){const e=Boolean(t);e&&!this.isInteractive()||this.expanded!==e&&(this.expanded=e,e||(this.isFilterEditing=!1,this.filterValue="",this.clearActive(),this.applyFilter(),this.syncInputDisplayValue()),this.hostElement.dispatchEvent(new CustomEvent("gidsDropdownToggle",{bubbles:!0,composed:!0,detail:{expanded:e,originalEvent:i}})))}syncInputDisplayValue(){const t=this.getInputControl();t&&t.value!==(this.selectedItemTitle??"")&&(t.value=this.selectedItemTitle??"")}attachDocumentListeners(){this.hasDocumentListeners||"undefined"==typeof document||(document.addEventListener("pointerdown",this.handleDocumentPointerDown),document.addEventListener("keydown",this.handleDocumentKeyDown),this.hasDocumentListeners=!0)}detachDocumentListeners(){this.hasDocumentListeners&&"undefined"!=typeof document&&(document.removeEventListener("pointerdown",this.handleDocumentPointerDown),document.removeEventListener("keydown",this.handleDocumentKeyDown),this.hasDocumentListeners=!1)}attachFormListener(){const t=this.hostElement.closest("form");this.patternForm!==t&&(this.patternForm&&this.patternForm.removeEventListener("reset",this.handleFormReset),this.patternForm=t??void 0,this.patternForm?.addEventListener("reset",this.handleFormReset))}detachFormListener(){this.patternForm&&(this.patternForm.removeEventListener("reset",this.handleFormReset),this.patternForm=void 0)}get form(){return this.getInputControl()?.form??this.patternForm??null}get validity(){return this.getInputControl()?.validity??{}}get validationMessage(){return this.getInputControl()?.validationMessage??""}get willValidate(){return this.getInputControl()?.willValidate??!1}async checkValidity(){return this.getInputControl()?.checkValidity()??!0}async reportValidity(){return this.getInputControl()?.reportValidity()??!0}async setCustomValidity(t){return this.getInputControl()?.setCustomValidity(t)}isInteractive(){return!(this.disabled||this.readOnly)}coerceEvent(t){if("undefined"!=typeof Event&&null!==t)return t instanceof Event?t:void 0}scheduleControlRevalidation(){if(this.hasPendingControlRevalidation)return;this.hasPendingControlRevalidation=!0;const t=()=>{this.hasPendingControlRevalidation=!1,this.checkValidity()};"function"!=typeof requestAnimationFrame?t():requestAnimationFrame(t)}getEnhancedInputProps(){const t={...this.inputProps??{}};"string"==typeof t.autoComplete&&0!==t?.autoComplete?.trim?.()?.length||(t.autoComplete="off");const i=t.onInput;t.onInput=t=>{i?.(t),this.handleFilterInput(t)};const e=t.onBlur;t.onBlur=t=>{e?.(t),this.scheduleControlRevalidation()};const s=t.onKeyDown;return t.onKeyDown=t=>{s?.(t),t.defaultPrevented||this.handleInputKeyDown(t)},t}render(){const t=this.expanded&&this.isInteractive(),i=a({expanded:t}),e=this.getEnhancedInputProps(),n="string"==typeof e.id?e.id:void 0,d=n?`${n}__menu`:void 0;e.role="combobox",e["aria-expanded"]=t?"true":"false",e["aria-haspopup"]="listbox",e["aria-autocomplete"]="list",d&&(e["aria-controls"]=d);const r=this.isFilterEditing?this.filterValue:this.selectedItemTitle??this.value??"",c=t?"true":"false",l=s("button",{key:"94ed9ae19e3a6e1e9e02c6e3fab0c70a5193667b",class:h({size:"lg"}),slot:"trailingAccessory",type:"button",onClick:this.handleChevronClickToggle,"aria-label":t?"Collapse options":"Expanded options","aria-expanded":c,"aria-haspopup":"listbox","aria-controls":d,disabled:this.disabled||this.readOnly,tabIndex:-1},s("span",{key:"f6e79003a75a80623564c81c83158640c407c8f4",class:"gids-button__content"},s(o,{key:"85c0caf667a50f629375652ead7c1e8d86bc96ed",name:"chevron-vertical",alt:""})));return s("div",{key:"d02c0b39097b0307ca22a7e86bccfb37083d447f",class:i},s("gids-input",{key:"16475e8ebce7a5909f6c4c102ef781eed657a6e0",appearance:this.appearance,loading:this.loading,disabled:this.disabled,readOnly:this.readOnly,required:this.required,value:r,name:this.name,inputProps:e,onClick:this.handleInputClickToggle,onFocus:this.handleInputFocusAndBlur,onBlur:this.handleInputFocusAndBlur},this.hasLeadingIcon&&s("slot",{key:"fbdf6ef356a9d1ade43eecfa3bb92ef0fe538f1c",name:"leadingIconDropdown",slot:"leadingIcon"}),this.hasLeadingAccessory&&s("slot",{key:"f9e0fc631f4a3a4758d9b446312ae9d0ff9bcd01",name:"leadingAccessoryDropdown",slot:"leadingAccessory"}),l),s("div",{key:"ae2974b210c297fa1e1160ad93d22b45297a1613",class:"gids-dropdown__menu",id:d,role:"listbox",onClick:this.handleMenuClick},s("slot",{key:"d7bd637af09568522549e2551173efd90fa40e4b"})))}get hostElement(){return this}static get watchers(){return{expanded:[{handleExpandedChange:0}],disabled:[{handleInteractivityChange:0}],readOnly:[{handleInteractivityChange:0}]}}static get style(){return'@charset "UTF-8";.gids-dropdown{position:relative}.gids-dropdown__menu{position:absolute;inset-inline:0;top:calc(100% + var(--gids-gap-050));z-index:3;display:none;flex-direction:column;min-height:55px;max-height:20rem;overflow-x:hidden;overflow-y:auto;background-color:var(--gids-elevation-surface-overlay-default);box-shadow:var(--gids-elevation-shadow-overlay);border-radius:var(--gids-border-radius-lg)}.gids-dropdown__menu>*{flex-shrink:0}.gids-dropdown--expanded .gids-dropdown__menu{display:flex}.gids-dropdown__leading-icon{display:flex;align-items:center}.gids-dropdown__accessory{display:flex;align-items:center}'}},[260,"gids-dropdown",{appearance:[1],expanded:[1540],inputProps:[16],disabled:[516],readOnly:[516,"read-only"],loading:[516],value:[513],name:[1],onSelectionChange:[16],required:[4],filterValue:[32],isFilterEditing:[32],selectedItemTitle:[32],hasLeadingIcon:[32],hasLeadingAccessory:[32],checkValidity:[64],reportValidity:[64],setCustomValidity:[64]},void 0,{expanded:[{handleExpandedChange:0}],disabled:[{handleInteractivityChange:0}],readOnly:[{handleInteractivityChange:0}]}]);function l(){"undefined"!=typeof customElements&&["gids-dropdown","gids-input"].forEach((i=>{switch(i){case"gids-dropdown":customElements.get(t(i))||customElements.define(t(i),c);break;case"gids-input":customElements.get(t(i))||d()}}))}l();export{c as G,l as d}
|
package/dist/p-CRngHsR7.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{h as e}from"./p-Ct3Ixgvf.js";import{GidsLabelCommonUtils as i}from"@ganpatiinfo/gids-core-shared";import{GidsLabelWebUtils as t}from"@ganpatiinfo/gids-web-shared";const{getIndicatorText:l}=i,{getGidsLabelClassNames:r}=t,a=({disabled:i,fieldRequirement:t,fieldRequirementOptionalText:a,fieldRequirementRequiredText:d,info:n,htmlFor:s,labelId:o,class:m,isLabelSentence:f,...c},p)=>{const u=l({children:p,fieldRequirement:t,fieldRequirementOptionalText:a,fieldRequirementRequiredText:d,isLabelSentence:f});return e("div",{class:r({disabled:i},m),...c},e("label",{htmlFor:s,id:o},p,u&&e("span",{class:"gids-label__field-requirement"},u)),n)};export{a as G}
|
package/dist/p-Ct3Ixgvf.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
function t(t,n,e){const o="undefined"!=typeof HTMLElement?HTMLElement.prototype:null;for(;t&&t!==o;){const o=Object.getOwnPropertyDescriptor(t,n);if(o&&(!e||o.get))return o;t=Object.getPrototypeOf(t)}}var n,e=(n,e)=>{var o;Object.entries(null!=(o=e.o.t)?o:{}).map((([o,[l]])=>{if(31&l||32&l){const l=n[o],s=t(Object.getPrototypeOf(n),o,!0)||Object.getOwnPropertyDescriptor(n,o);s&&Object.defineProperty(n,o,{get(){return s.get.call(this)},set(t){s.set.call(this,t)},configurable:!0,enumerable:!0}),e.l.has(o)?n[o]=e.l.get(o):void 0!==l&&(n[o]=l)}}))},o=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},l=(t,n)=>n in t,s=(t,n)=>(0,console.error)(t,n),r=new Map,i="http://www.w3.org/1999/xlink",c=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],f="undefined"!=typeof window?window:{},u=f.HTMLElement||class{},a={i:0,u:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,n,e,o)=>t.addEventListener(n,e,o),rel:(t,n,e,o)=>t.removeEventListener(n,e,o),ce:(t,n)=>new CustomEvent(t,n)},d=(()=>{try{return!!f.document.adoptedStyleSheets&&(new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync)}catch(t){}return!1})(),p=!!d&&(()=>!!f.document&&Object.getOwnPropertyDescriptor(f.document.adoptedStyleSheets,"length").writable)(),h=!1,v=[],b=[],m=(t,n)=>e=>{t.push(e),h||(h=!0,n&&4&a.i?g($):a.raf($))},y=t=>{for(let n=0;n<t.length;n++)try{t[n](performance.now())}catch(t){s(t)}t.length=0},$=()=>{y(v),y(b),(h=v.length>0)&&a.raf($)},g=t=>Promise.resolve(undefined).then(t),w=m(b,!0),j=t=>{const n=new URL(t,a.u);return n.origin!==f.location.origin?n.href:n.pathname},O=t=>a.u=t;function S(){const t=this.attachShadow({mode:"open"});void 0===n&&(n=null),n&&(p?t.adoptedStyleSheets.push(n):t.adoptedStyleSheets=[...t.adoptedStyleSheets,n])}var k=t=>{const n=x(t,"childNodes");t.tagName&&t.tagName.includes("-")&&t["s-cr"]&&"SLOT-FB"!==t.tagName&&N(n,t.tagName).forEach((t=>{1===t.nodeType&&"SLOT-FB"===t.tagName&&(t.hidden=!!M(t,E(t),!1).length)}));let e=0;for(e=0;e<n.length;e++){const t=n[e];1===t.nodeType&&x(t,"childNodes").length&&k(t)}};function N(t,n,e){let o,l=0,s=[];for(;l<t.length;l++){if(o=t[l],o["s-sr"]&&(!n||o["s-hn"]===n)&&(void 0===e||E(o)===e)&&(s.push(o),void 0!==e))return s;s=[...s,...N(o.childNodes,n,e)]}return s}var M=(t,n,e=!0)=>{const o=[];(e&&t["s-sr"]||!t["s-sr"])&&o.push(t);let l=t;for(;l=l.nextSibling;)E(l)!==n||!e&&l["s-sr"]||o.push(l);return o},C=(t,n)=>1===t.nodeType?null===t.getAttribute("slot")&&""===n||t.getAttribute("slot")===n:t["s-sn"]===n||""===n,E=t=>"string"==typeof t["s-sn"]?t["s-sn"]:1===t.nodeType&&t.getAttribute("slot")||void 0;function x(t,n){if("__"+n in t){const e=t["__"+n];return"function"!=typeof e?e:e.bind(t)}return"function"!=typeof t[n]?t[n]:t[n].bind(t)}var A,R,_=new WeakMap,L=t=>"sc-"+t.p,F=t=>"object"==(t=typeof t)||"function"===t,T=(t,n,...e)=>{let o=null,l=null,s=null,r=!1,i=!1;const c=[],f=n=>{for(let e=0;e<n.length;e++)o=n[e],Array.isArray(o)?f(o):null!=o&&"boolean"!=typeof o&&((r="function"!=typeof t&&!F(o))&&(o=String(o)),r&&i?c[c.length-1].h+=o:c.push(r?D(null,o):o),i=r)};if(f(e),n){n.key&&(l=n.key),n.name&&(s=n.name);{const t=n.className||n.class;t&&(n.class="object"!=typeof t?t:Object.keys(t).filter((n=>t[n])).join(" "))}}if("function"==typeof t)return t(null===n?{}:n,c,P);const u=D(t,null);return u.v=n,c.length>0&&(u.m=c),u.$=l,u.j=s,u},D=(t,n)=>({i:0,O:t,h:null!=n?n:null,S:null,m:null,v:null,$:null,j:null}),H={},P={forEach:(t,n)=>t.map(U).forEach(n),map:(t,n)=>t.map(U).map(n).map(W)},U=t=>({vattrs:t.v,vchildren:t.m,vkey:t.$,vname:t.j,vtag:t.O,vtext:t.h}),W=t=>{if("function"==typeof t.vtag){const n={...t.vattrs};return t.vkey&&(n.key=t.vkey),t.vname&&(n.name=t.vname),T(t.vtag,n,...t.vchildren||[])}const n=D(t.vtag,t.vtext);return n.v=t.vattrs,n.m=t.vchildren,n.$=t.vkey,n.j=t.vname,n},B=t=>{if(!t)return;const n=Object.keys(t);if(0===n.length)return;let e=!1;for(const o of n){if(e)break;for(const n of t[o])if("string"==typeof n){e=!0;break}}if(!e)return t;const o={};for(const e of n)o[e]=t[e].map((t=>"string"==typeof t?{[t]:0}:t));return o},V=(t,n,e)=>null==t||F(t)?t:4&n?(e&&"string"==typeof t||"false"!==t)&&(""===t||!!t):2&n?"string"==typeof t?parseFloat(t):"number"==typeof t?t:NaN:1&n?String(t):t,q=(t,n)=>{const e=t;return{emit:t=>z(e,n,{bubbles:!0,composed:!0,cancelable:!0,detail:t})}},z=(t,n,e)=>{const o=a.ce(n,e);return t.dispatchEvent(o),o},Y=(t,n,e,s,r,c)=>{if(e===s)return;let u=l(t,n),d=n.toLowerCase();if("class"===n){const n=t.classList,o=Z(e);let l=Z(s);n.remove(...o.filter((t=>t&&!l.includes(t)))),n.add(...l.filter((t=>t&&!o.includes(t))))}else if("style"===n){for(const n in e)s&&null!=s[n]||(n.includes("-")?t.style.removeProperty(n):t.style[n]="");for(const n in s)e&&s[n]===e[n]||(n.includes("-")?t.style.setProperty(n,s[n]):t.style[n]=s[n])}else if("key"===n);else if("ref"===n)s&&bt(s,t);else if(t.__lookupSetter__(n)||"o"!==n[0]||"n"!==n[1]){if("a"===n[0]&&n.startsWith("attr:")){const e=n.slice(5);let l;{const n=o(t);if(n&&n.o&&n.o.t){const t=n.o.t[e];t&&t[1]&&(l=t[1])}}return l||(l=e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(null==s||!1===s?!1===s&&""!==t.getAttribute(l)||t.removeAttribute(l):t.setAttribute(l,!0===s?"":s))}if("p"===n[0]&&n.startsWith("prop:")){const e=n.slice(5);try{t[e]=s}catch(t){}return}{const o=F(s);if((u||o&&null!==s)&&!r)try{if(t.tagName.includes("-"))t[n]!==s&&(t[n]=s);else{const o=null==s?"":s;"list"===n?u=!1:null!=e&&t[n]===o||("function"==typeof t.__lookupSetter__(n)?t[n]=o:t.setAttribute(n,o))}}catch(t){}let l=!1;d!==(d=d.replace(/^xlink\:?/,""))&&(n=d,l=!0),null==s||!1===s?!1===s&&""!==t.getAttribute(n)||(l?t.removeAttributeNS(i,n):t.removeAttribute(n)):(!u||4&c||r)&&!o&&1===t.nodeType&&(s=!0===s?"":s,l?t.setAttributeNS(i,n,s):t.setAttribute(n,s))}}else if(n="-"===n[2]?n.slice(3):l(f,d)?d.slice(2):d[2]+n.slice(3),e||s){const o=n.endsWith(G);n=n.replace(J,""),e&&a.rel(t,n,e,o),s&&a.ael(t,n,s,o)}},I=/\s/,Z=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(I):[]),G="Capture",J=new RegExp(G+"$"),K=(t,n,e)=>{const o=11===n.S.nodeType&&n.S.host?n.S.host:n.S,l=t&&t.v||{},s=n.v||{};for(const t of Q(Object.keys(l)))t in s||Y(o,t,l[t],void 0,e,n.i);for(const t of Q(Object.keys(s)))Y(o,t,l[t],s[t],e,n.i)};function Q(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var X=!1,tt=!1,nt=!1,et=!1,ot=[],lt=[],st=(t,n,e)=>{var o;const l=n.m[e];let s,r,i,c=0;if(X||(nt=!0,"slot"===l.O&&(l.i|=l.m?2:1)),null!=l.h)s=l.S=f.document.createTextNode(l.h);else if(1&l.i)s=l.S=f.document.createTextNode(""),K(null,l,et);else{if(et||(et="svg"===l.O),!f.document)throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(s=l.S=f.document.createElementNS(et?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!X&&2&l.i?"slot-fb":l.O),et&&"foreignObject"===l.O&&(et=!1),K(null,l,et),l.m){const n="template"===l.O?s.content:s;for(c=0;c<l.m.length;++c)r=st(t,l,c),r&&n.appendChild(r)}"svg"===l.O?et=!1:"foreignObject"===s.tagName&&(et=!0)}return s["s-hn"]=R,3&l.i&&(s["s-sr"]=!0,s["s-cr"]=A,s["s-sn"]=l.j||"",s["s-rf"]=null==(o=l.v)?void 0:o.ref,function(t){if(t.assignedElements||t.assignedNodes||!t["s-sr"])return;const n=n=>function(t){const e=[],o=this["s-sn"];(null==t?void 0:t.flatten)&&console.error("\n Flattening is not supported for Stencil non-shadow slots.\n You can use `.childNodes` to nested slot fallback content.\n If you have a particular use case, please open an issue on the Stencil repo.\n ");const l=this["s-cr"].parentElement;return(l.__childNodes?l.childNodes:(t=>{const n=[];for(let e=0;e<t.length;e++){const o=t[e]["s-nr"]||void 0;o&&o.isConnected&&n.push(o)}return n})(l.childNodes)).forEach((t=>{o===E(t)&&e.push(t)})),n?e.filter((t=>1===t.nodeType)):e}.bind(t);t.assignedElements=n(!0),t.assignedNodes=n(!1)}(s),i=t&&t.m&&t.m[e],i&&i.O===l.O&&t.S&&rt(t.S)),s},rt=t=>{a.i|=1;const n=t.closest(R.toLowerCase());if(null!=n){const e=Array.from(n.__childNodes||n.childNodes).find((t=>t["s-cr"])),o=Array.from(t.__childNodes||t.childNodes);for(const t of e?o.reverse():o)null!=t["s-sh"]&&(mt(n,t,null!=e?e:null),t["s-sh"]=void 0,nt=!0)}a.i&=-2},it=(t,n)=>{a.i|=1;const e=Array.from(t.__childNodes||t.childNodes);if(t["s-sr"]){let n=t;for(;n=n.nextSibling;)n&&n["s-sn"]===t["s-sn"]&&n["s-sh"]===R&&e.push(n)}for(let t=e.length-1;t>=0;t--){const o=e[t];o["s-hn"]!==R&&o["s-ol"]&&(mt(at(o).parentNode,o,at(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,nt=!0),n&&it(o,n)}a.i&=-2},ct=(t,n,e,o,l,s)=>{let r,i=t["s-cr"]&&t["s-cr"].parentNode||t;for(i.shadowRoot&&i.tagName===R&&(i=i.shadowRoot),"template"===e.O&&(i=i.content);l<=s;++l)o[l]&&(r=st(null,e,l),r&&(o[l].S=r,mt(i,r,at(n))))},ft=(t,n,e)=>{for(let o=n;o<=e;++o){const n=t[o];if(n){const t=n.S;vt(n),t&&(tt=!0,t["s-ol"]?t["s-ol"].remove():it(t,!0),t.remove())}}},ut=(t,n,e=!1)=>t.O===n.O&&("slot"===t.O?t.j===n.j:e?(e&&!t.$&&n.$&&(t.$=n.$),!0):t.$===n.$),at=t=>t&&t["s-ol"]||t,dt=(t,n,e=!1)=>{const o=n.S=t.S,l=t.m,s=n.m,r=n.O,i=n.h;let c;null==i?(et="svg"===r||"foreignObject"!==r&&et,"slot"!==r||X||t.j!==n.j&&(n.S["s-sn"]=n.j||"",rt(n.S.parentElement)),K(t,n,et),null!==l&&null!==s?((t,n,e,o,l=!1)=>{let s,r,i=0,c=0,f=0,u=0,a=n.length-1,d=n[0],p=n[a],h=o.length-1,v=o[0],b=o[h];const m="template"===e.O?t.content:t;for(;i<=a&&c<=h;)if(null==d)d=n[++i];else if(null==p)p=n[--a];else if(null==v)v=o[++c];else if(null==b)b=o[--h];else if(ut(d,v,l))dt(d,v,l),d=n[++i],v=o[++c];else if(ut(p,b,l))dt(p,b,l),p=n[--a],b=o[--h];else if(ut(d,b,l))"slot"!==d.O&&"slot"!==b.O||it(d.S.parentNode,!1),dt(d,b,l),mt(m,d.S,p.S.nextSibling),d=n[++i],b=o[--h];else if(ut(p,v,l))"slot"!==d.O&&"slot"!==b.O||it(p.S.parentNode,!1),dt(p,v,l),mt(m,p.S,d.S),p=n[--a],v=o[++c];else{for(f=-1,u=i;u<=a;++u)if(n[u]&&null!==n[u].$&&n[u].$===v.$){f=u;break}f>=0?(r=n[f],r.O!==v.O?s=st(n&&n[c],e,f):(dt(r,v,l),n[f]=void 0,s=r.S),v=o[++c]):(s=st(n&&n[c],e,c),v=o[++c]),s&&mt(at(d.S).parentNode,s,at(d.S))}i>a?ct(t,null==o[h+1]?null:o[h+1].S,e,o,c,h):c>h&&ft(n,i,a)})(o,l,n,s,e):null!==s?(null!==t.h&&(o.textContent=""),ct(o,null,n,s,0,s.length-1)):!e&&null!==l&&ft(l,0,l.length-1),et&&"svg"===r&&(et=!1)):(c=o["s-cr"])?c.parentNode.textContent=i:t.h!==i&&(o.data=i)},pt=[],ht=t=>{let n,e,o;const l=t.__childNodes||t.childNodes;for(const t of l){if(t["s-sr"]&&(n=t["s-cr"])&&n.parentNode){e=n.parentNode.__childNodes||n.parentNode.childNodes;const l=t["s-sn"];for(o=e.length-1;o>=0;o--)if(n=e[o],!(n["s-cn"]||n["s-nr"]||n["s-hn"]===t["s-hn"]||n["s-sh"]&&n["s-sh"]===t["s-hn"]))if(C(n,l)){let e=pt.find((t=>t.k===n));tt=!0,n["s-sn"]=n["s-sn"]||l,e?(e.k["s-sh"]=t["s-hn"],e.N=t):(n["s-sh"]=t["s-hn"],pt.push({N:t,k:n})),n["s-sr"]&&pt.map((t=>{C(t.k,n["s-sn"])&&(e=pt.find((t=>t.k===n)),e&&!t.N&&(t.N=e.N))}))}else pt.some((t=>t.k===n))||pt.push({k:n})}1===t.nodeType&&ht(t)}},vt=t=>{t.v&&t.v.ref&&ot.push((()=>t.v.ref(null))),t.m&&t.m.map(vt)},bt=(t,n)=>{lt.push((()=>t(n)))},mt=(t,n,e,o)=>{if("string"==typeof n["s-sn"]){t.insertBefore(n,e);const{slotNode:l}=function(t,n){var e;if(!(n=n||(null==(e=t["s-ol"])?void 0:e.parentElement)))return{slotNode:null,slotName:""};const o=t["s-sn"]=E(t)||"";return{slotNode:N(x(n,"childNodes"),n.tagName,o)[0],slotName:o}}(n);return l&&!o&&l.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),n}return t.__insertBefore?t.__insertBefore(n,e):null==t?void 0:t.insertBefore(n,e)},yt=(t,n,e=!1)=>{var o,l,s,r,i;const c=t.$hostElement$,u=t.o,d=t.M||D(null,null);var p;const h=(p=n)&&p.O===H?n:T(null,null,n);if(R=c.tagName,u.C&&(h.v=h.v||{},u.C.forEach((([t,n])=>{h.v[n]=c[t]}))),e&&h.v)for(const t of Object.keys(h.v))c.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(h.v[t]=c[t]);if(h.O=null,h.i|=4,t.M=h,h.S=d.S=c.shadowRoot||c,X=!(!(1&u.i)||128&u.i),A=c["s-cr"],tt=!1,dt(d,h,e),a.i|=1,nt){ht(h.S);for(const t of pt){const n=t.k;if(!n["s-ol"]&&f.document){const t=f.document.createTextNode("");t["s-nr"]=n,mt(n.parentNode,n["s-ol"]=t,n,e)}}for(const t of pt){const n=t.k,i=t.N;if(1===n.nodeType&&e&&(n["s-ih"]=null!=(o=n.hidden)&&o),i){const t=i.parentNode;let o=i.nextSibling;if(o&&1===o.nodeType){let e=null==(l=n["s-ol"])?void 0:l.previousSibling;for(;e;){let l=null!=(s=e["s-nr"])?s:null;if(l&&l["s-sn"]===n["s-sn"]&&t===(l.__parentNode||l.parentNode)){for(l=l.nextSibling;l===n||(null==l?void 0:l["s-sr"]);)l=null==l?void 0:l.nextSibling;if(!l||!l["s-nr"]){o=l;break}}e=e.previousSibling}}if((!o&&t!==(n.__parentNode||n.parentNode)||(n.__nextSibling||n.nextSibling)!==o)&&n!==o){if(mt(t,n,o,e),8===n.nodeType&&n.nodeValue.startsWith("s-nt-")){const t=f.document.createTextNode(n.nodeValue.replace(/^s-nt-/,""));t["s-hn"]=n["s-hn"],t["s-sn"]=n["s-sn"],t["s-sh"]=n["s-sh"],t["s-sr"]=n["s-sr"],t["s-ol"]=n["s-ol"],t["s-ol"]["s-nr"]=t,mt(n.parentNode,t,n,e),n.parentNode.removeChild(n)}1===n.nodeType&&"SLOT-FB"!==n.tagName&&(n.hidden=null!=(r=n["s-ih"])&&r)}n&&"function"==typeof i["s-rf"]&&i["s-rf"](i)}else 1===n.nodeType&&(n.hidden=!0)}}if(tt&&k(h.S),a.i&=-2,pt.length=0,!X&&!(1&u.i)&&c["s-cr"]){const t=h.S.__childNodes||h.S.childNodes;for(const n of t)if(n["s-hn"]!==R&&!n["s-sh"])if(e&&null==n["s-ih"]&&(n["s-ih"]=null!=(i=n.hidden)&&i),1===n.nodeType)n.hidden=!0;else if(3===n.nodeType&&n.nodeValue.trim()){const t=f.document.createComment("s-nt-"+n.nodeValue);t["s-sn"]=n["s-sn"],mt(n.parentNode,t,n,e),n.parentNode.removeChild(n)}}A=void 0,ot.forEach((t=>t())),ot.length=0,lt.forEach((t=>t())),lt.length=0},$t=(t,n)=>{if(n&&!t.A&&n["s-p"]){const e=n["s-p"].push(new Promise((o=>t.A=()=>{n["s-p"].splice(e-1,1),o()})))}},gt=(t,n)=>{if(t.i|=16,4&t.i)return void(t.i|=512);$t(t,t.R);const e=()=>wt(t,n);if(!n)return w(e);queueMicrotask((()=>{e()}))},wt=(t,n)=>{const e=t.$hostElement$,o=e;if(!o)throw new Error(`Can't render component <${e.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return l=Et(o,n?"componentWillLoad":"componentWillUpdate",void 0,e),l=jt(l,(()=>Et(o,"componentWillRender",void 0,e))),jt(l,(()=>St(t,o,n)))},jt=(t,n)=>Ot(t)?t.then(n).catch((t=>{console.error(t),n()})):n(),Ot=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,St=async(t,n,e)=>{var o;const l=t.$hostElement$,s=l["s-rc"];e&&(t=>{const n=t.o,e=t.$hostElement$,o=n.i,l=((t,n)=>{var e,o,l;const s=L(n),i=r.get(s);if(!f.document)return s;if(t=11===t.nodeType?t:f.document,i)if("string"==typeof i){let l,r=_.get(t=t.head||t);if(r||_.set(t,r=new Set),!r.has(s)){l=f.document.createElement("style"),l.textContent=i;const c=null!=(e=a._)?e:function(){var t,n,e;return null!=(e=null==(n=null==(t=f.document.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?e:void 0}();if(null!=c&&l.setAttribute("nonce",c),!(1&n.i))if("HEAD"===t.nodeName){const n=t.querySelectorAll("link[rel=preconnect]"),e=n.length>0?n[n.length-1].nextSibling:t.querySelector("style");t.insertBefore(l,(null==e?void 0:e.parentNode)===t?e:null)}else if("host"in t)if(d){const n=new(null!=(o=t.defaultView)?o:t.ownerDocument.defaultView).CSSStyleSheet;n.replaceSync(i),p?t.adoptedStyleSheets.unshift(n):t.adoptedStyleSheets=[n,...t.adoptedStyleSheets]}else{const n=t.querySelector("style");n?n.textContent=i+n.textContent:t.prepend(l)}else t.append(l);1&n.i&&t.insertBefore(l,null),4&n.i&&(l.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),r&&r.add(s)}}else{let n=_.get(t);if(n||_.set(t,n=new Set),!n.has(s)){const e=null!=(l=t.defaultView)?l:t.ownerDocument.defaultView;let o;if(i.constructor===e.CSSStyleSheet)o=i;else{o=new e.CSSStyleSheet;for(let t=0;t<i.cssRules.length;t++)o.insertRule(i.cssRules[t].cssText,t)}p?t.adoptedStyleSheets.push(o):t.adoptedStyleSheets=[...t.adoptedStyleSheets,o],n.add(s)}}return s})(e.shadowRoot?e.shadowRoot:e.getRootNode(),n);10&o&&(e["s-sc"]=l,e.classList.add(l+"-h"))})(t);kt(t,n,l,e),s&&(s.map((t=>t())),l["s-rc"]=void 0);{const n=null!=(o=l["s-p"])?o:[],e=()=>Nt(t);0===n.length?e():(Promise.all(n).then(e).catch(e),t.i|=4,n.length=0)}},kt=(t,n,e,o)=>{try{n=n.render(),t.i&=-17,t.i|=2,yt(t,n,o)}catch(n){s(n,t.$hostElement$)}return null},Nt=t=>{const n=t.$hostElement$,e=n,o=t.R;Et(e,"componentDidRender",void 0,n),64&t.i?Et(e,"componentDidUpdate",void 0,n):(t.i|=64,xt(n),Et(e,"componentDidLoad",void 0,n),t.L(n),o||Ct()),t.A&&(t.A(),t.A=void 0),512&t.i&&g((()=>gt(t,!1))),t.i&=-517},Mt=t=>{var n;{const e=o(t),l=null==(n=null==e?void 0:e.$hostElement$)?void 0:n.isConnected;return l&&2==(18&e.i)&>(e,!1),l}},Ct=()=>{g((()=>z(f,"appload",{detail:{namespace:"gids-core-web"}})))},Et=(t,n,e,o)=>{if(t&&t[n])try{return t[n](e)}catch(t){s(t,o)}},xt=t=>t.classList.add("hydrated"),At=(t,n,e,l)=>{const r=o(t);if(!r)return;const i=t,c=r.l.get(n),f=r.i,u=i;e=V(e,l.t[n][0],!!(64&l.i));const a=Number.isNaN(c)&&Number.isNaN(e);if(e!==c&&!a){if(r.l.set(n,e),l.F){const t=l.F[n];t&&t.map((t=>{try{const[[o,l]]=Object.entries(t);(128&f||1&l)&&(u?u[o](e,c,n):r.T.push((()=>{r.D[o](e,c,n)})))}catch(t){s(t,i)}}))}if(2&f){if(u.componentShouldUpdate&&!1===u.componentShouldUpdate(e,c,n)&&!(16&f))return;16&f||gt(r,!1)}}},Rt=(n,e,l)=>{var s,r;const i=n.prototype;64&e.i&&1&l&&c.forEach((t=>{const n=i[t];Object.defineProperty(i,t,{value(...e){var l;const s=o(this),r=this;r?"function"==typeof n&&n.call(r,...e):null==(l=null==s?void 0:s.H)||l.then((n=>{const o=n[t];"function"==typeof o&&o.call(n,...e)}))}})}));{n.watchers&&!e.F&&(e.F=B(n.watchers)),n.deserializers&&!e.P&&(e.P=n.deserializers),n.serializers&&!e.U&&(e.U=n.serializers);const l=Object.entries(null!=(s=e.t)?s:{});l.map((([n,[l]])=>{if(31&l||32&l){const{get:s,set:r}=t(i,n)||{};s&&(e.t[n][0]|=2048),r&&(e.t[n][0]|=4096),Object.defineProperty(i,n,{get(){return s?s.apply(this):(t=n,o(this).l.get(t));var t},configurable:!0,enumerable:!0}),Object.defineProperty(i,n,{set(t){const s=o(this);if(s){if(r)return void 0===(32&l?this[n]:s.$hostElement$[n])&&s.l.get(n)&&(t=s.l.get(n)),r.apply(this,[V(t,l,!!(64&e.i))]),void At(this,n,t=32&l?this[n]:s.$hostElement$[n],e);At(this,n,t,e)}}})}}));{const t=new Map;i.attributeChangedCallback=function(n,s,r){a.jmp((()=>{var c;const f=t.get(n),u=o(this);if(this.hasOwnProperty(f),i.hasOwnProperty(f)&&"number"==typeof this[f]&&this[f]==r)return;if(null==f){const t=null==u?void 0:u.i;if(u&&t&&!(8&t)&&r!==s){const o=this,l=null==(c=e.F)?void 0:c[n];null==l||l.forEach((e=>{const[[l,i]]=Object.entries(e);null!=o[l]&&(128&t||1&i)&&o[l].call(o,r,s,n)}))}return}const a=l.find((([t])=>t===f)),d=a&&4&a[1][0],p=d&&null===r&&void 0===this[f];d&&(r=null!==r&&"false"!==r);const h=Object.getOwnPropertyDescriptor(i,f);p||r==this[f]||h.get&&!h.set||(this[f]=r)}))},n.observedAttributes=Array.from(new Set([...Object.keys(null!=(r=e.F)?r:{}),...l.filter((([t,n])=>31&n[0])).map((([n,o])=>{var l;const s=o[1]||n;return t.set(s,n),512&o[0]&&(null==(l=e.C)||l.push([n,s])),s}))]))}}return n},_t=(t,n)=>{const l={i:n[0],p:n[1]};try{l.t=n[2],l.F=B(t.F),l.P=t.P,l.U=t.U,l.C=[];const i=t.prototype.connectedCallback,c=t.prototype.disconnectedCallback;return Object.assign(t.prototype,{__hasHostListenerAttached:!1,__registerHost(){((t,n)=>{const o={i:0,$hostElement$:t,o:n,l:new Map,W:new Map};o.H=new Promise((t=>o.L=t)),t["s-p"]=[],t["s-rc"]=[];const l=o;t.__stencil__getHostRef=()=>l,512&n.i&&e(t,o)})(this,l)},connectedCallback(){if(!this.__hasHostListenerAttached){if(!o(this))return;this.__hasHostListenerAttached=!0}(t=>{if(!(1&a.i)){const n=o(t);if(!n)return;const e=n.o,l=()=>{};if(1&n.i)(null==n?void 0:n.D)||(null==n?void 0:n.H)&&n.H.then((()=>{}));else{n.i|=1,12&e.i&&(t=>{if(!f.document)return;const n=t["s-cr"]=f.document.createComment("");n["s-cn"]=!0,mt(t,n,t.firstChild)})(t);{let e=t;for(;e=e.parentNode||e.host;)if(e["s-p"]){$t(n,n.R=e);break}}e.t&&Object.entries(e.t).map((([n,[e]])=>{if(31&e&&Object.prototype.hasOwnProperty.call(t,n)){const e=t[n];delete t[n],t[n]=e}})),(async(t,n,e)=>{let o;try{if(!(32&n.i)&&(n.i|=32,o=t.constructor,customElements.whenDefined(t.localName).then((()=>n.i|=128)),o&&o.style)){let t;"string"==typeof o.style&&(t=o.style);const n=L(e);if(!r.has(n)){const o=()=>{};((t,n,e)=>{let o=r.get(t);d&&e?(o=o||new CSSStyleSheet,"string"==typeof o?o=n:o.replaceSync(n)):o=n,r.set(t,o)})(n,t,!!(1&e.i)),o()}}const l=n.R,s=()=>gt(n,!0);l&&l["s-rc"]?l["s-rc"].push(s):s()}catch(e){s(e,t),n.A&&(n.A(),n.A=void 0),n.L&&n.L(t)}})(t,n,e)}l()}})(this),i&&i.call(this)},disconnectedCallback(){(async t=>{1&a.i||o(t),_.has(t)&&_.delete(t),t.shadowRoot&&_.has(t.shadowRoot)&&_.delete(t.shadowRoot)})(this),c&&c.call(this)},__attachShadow(){if(this.shadowRoot){if("open"!==this.shadowRoot.mode)throw new Error(`Unable to re-use existing shadow root for ${l.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else S.call(this,l)}}),Object.defineProperty(t,"is",{value:l.p,configurable:!0}),Rt(t,l,3)}catch(n){return s(n),t}},Lt=(t,n)=>n,Ft=t=>a._=t,Tt=t=>Object.assign(a,t),Dt=new WeakMap;function Ht(t,n){let e=Dt.get(n);e||(e={i:0,o:{i:0,p:n.tagName},$hostElement$:n},Dt.set(n,e)),yt(e,t)}function Pt(t){return t}export{Lt as F,u as H,Ft as a,Tt as b,q as c,H as d,Mt as f,j as g,T as h,_t as p,Ht as r,O as s,Pt as t}
|
package/dist/p-DKsrt7dx.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{h as s}from"./p-Ct3Ixgvf.js";import{GidsSpinnerControlWebUtils as e}from"@ganpatiinfo/gids-web-shared";import{GidsSpinnerControlCommonUtils as r}from"@ganpatiinfo/gids-core-shared";const{getGidsSpinnerControlClassNames:t}=e,{calculateStrokeDasharray:i,thickness:o,radius:a,centerPosition:n,viewBox:c}=r,l=({size:e,indeterminate:r,value:l,max:d,...p})=>{let g;return r||(g={strokeDashArray:i(l,d||0),strokeDashoffset:"0"}),s("svg",{class:t({size:e,indeterminate:r,value:l}),viewBox:c,...p},s("circle",{class:"gids-spinner-control__track",cx:n,cy:n,r:a,"stroke-width":o}),s("circle",{style:g,class:"gids-spinner-control__progress",cx:n,cy:n,r:a,"stroke-width":o}))};export{l as G}
|
package/dist/p-DZWWuJac.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{h as s}from"./p-Ct3Ixgvf.js";import{GidsDismissButtonWebUtils as a}from"@ganpatiinfo/gids-web-shared";import{G as e}from"./p-BnL97lOW.js";const{getGidsDismissButtonClassNames:i}=a,r=({appearance:a="subtle",size:r="md",disabled:o=!1,class:l,onPressDismiss:p,label:t,...n})=>s("button",{class:i({appearance:a,size:r},l),onClick:p,disabled:o,"aria-label":t,...n},s(e,{name:"cross",appearance:"regular"}));export{r as G}
|
package/dist/p-Dehss-X0.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{h as s}from"./p-Ct3Ixgvf.js";import{GidsSpinnerCommonUtils as e}from"@ganpatiinfo/gids-core-shared";import{GidsSpinnerWebUtils as i}from"@ganpatiinfo/gids-web-shared";import{G as a}from"./p-DKsrt7dx.js";const{getGidsSpinnerClassNames:t}=i,{getElementVisibility:n}=e,r=({label:e,supportingText:i,size:r,indeterminate:p,value:o,max:l,class:m,...g})=>{const{hasLabel:d,hasSupportingText:x}=n({label:e,supportingText:i});return s("span",{class:t({size:r},m),...g},s(a,{size:r,indeterminate:p,value:o,max:l}),d&&s("span",{class:"gids-spinner__label"},e),x&&s("span",{class:"gids-spinner__supporting-text"},i))};export{r as G}
|
package/dist/p-KxRqlvSh.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{h as t}from"./p-Ct3Ixgvf.js";import{GidsButtonWebUtils as i,nonEmpty as s}from"@ganpatiinfo/gids-web-shared";import{G as e}from"./p-DKsrt7dx.js";const{getGidsButtonClassNames:n}=i,o=({appearance:i,size:o,destructive:a,positive:d,loading:r,width:p,leadingIcon:c,trailingIcon:l,as:g,disabled:m,class:u,forceIconOnly:b=!1,...v},f)=>{const I=g||"button",h="lg"===o||void 0===o?"md":o;return"button"!==I||"type"in v||(v.type="button"),t(I,{class:n({appearance:i,size:o,destructive:a,loading:r,width:p,positive:d},b||0===f.length&&s(c)&&!s(l),u),disabled:"button"===I?m:void 0,...v},t("span",{class:"gids-button__content"},c,f),r&&t(e,{size:h,indeterminate:!0}),l)};export{o as G}
|
package/dist/p-MgTlrSP_.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{h as t,F as e}from"./p-Ct3Ixgvf.js";import{GidsDropdownMenuGroupWebUtils as i,GidsButtonGroupWebUtils as s,GidsHeadingWebUtils as n,GidsDropdownMenuWebUtils as l,GidsEditButtonWebUtils as d,GidsDividerWebUtils as a,GidsListItemWebUtils as o,GidsDropdownItemWebUtils as r}from"@ganpatiinfo/gids-web-shared";import{G as c}from"./p-Dehss-X0.js";import{G as g}from"./p-BnL97lOW.js";const{getGidsDropdownMenuGroupClassNames:p}=i,u=({type:e="no-options",supportingText:i="No options",class:s,...n},l)=>t("div",{class:p({type:e},s),...n},"loading"===e?t(c,{indeterminate:!0,size:"md"}):null,"no-options"===e?t("span",null,i):null,"default"===e&&null!=l?l:null),{getGidsButtonGroupClassNames:_}=s,m=({layout:e,children:i,class:s})=>t("span",{class:_({layout:e},s)},i),{getGidsHeadingClassNames:b,getGidsHeadingSupportingTextTypographyClass:y}=n,v=({heading:e,supportingText:i,level:s="section",children:n,supportingTextTypography:l,class:d})=>t("div",{class:b(d)},t("div",{class:"gids-heading__content-container"},null!=e&&""!==e?"string"==typeof e?""!==e?t("span",{class:"section"===s?"gids-heading__heading-text-section":"gids-heading__heading-text-group"},e):null:e:null,null!=i&&""!==i?"string"==typeof i?""!==i?t("span",{class:`${"section"===s?"gids-heading__supporting-text-section":"gids-heading__supporting-text-group"} ${y(l)}`},i):null:i:null),n?t(m,{layout:"wrap"},n):null),{getGidsDropdownMenuClassNames:x}=l,f=({sectionLabel:e,class:i,...s},n)=>t("div",{class:x(i),...s},null!=e&&""!==e?t(v,{supportingText:e,supportingTextTypography:"eyebrow-medium"}):null,null!=n?t("div",{class:"gids-dropdown-menu__children"},n):null),{getGidsEditButtonClassNames:h}=d,C=({disabled:e,children:i,size:s="md",editButtonType:n="add",onPressEditButton:l,class:d,...a})=>t("button",{class:h({size:s},d),...a,onClick:l,disabled:e},"custom"===n&&i?t("div",null,i):"add"===n?t("div",{class:e?"gids-edit-button__add gids-edit-button__disabled":"gids-edit-button__add"},t(g,{name:"add",appearance:"filled",size:s})):"remove"===n?t("div",{class:e?"gids-edit-button__remove gids-edit-button__disabled":"gids-edit-button__remove"},t(g,{appearance:"filled",name:"remove",size:s})):void 0),{getGidsDividerClassNames:I}=a,G=({orientation:e})=>t("hr",{class:I({orientation:e})}),{getGidsListItemClassNames:w}=o,T=({id:i,value:s,index:n,defaultSelectedIndex:l,disabled:d,selected:a,editButton:o,onPressEditButton:r,onPressListItem:c,leadingAccessory:p,leadingSupport:u,leadingParagraph:_,trailingContent:m,trailingAccessory:b,trailingSupport:y,trailingParagraph:v,divider:x,role:f="list-item-option",class:h,...I},T)=>t("button",{type:"button",id:i,class:w({selected:a,disabled:d},h),role:f,"aria-selected":a?"true":"false",disabled:d,value:(()=>{if("string"==typeof s&&""!==s.trim())return s;const t=T;return t?(Array.isArray(t)?t:[t]).map((t=>"string"==typeof t||"number"==typeof t?String(t):t&&"object"==typeof t&&"text"in t?t.text??"":"")).join("").trim():""})(),onClick:t=>{const e=t.currentTarget;if(!e)return;if(t.defaultPrevented||e.disabled)return;const i=new CustomEvent("onPressListItem",{bubbles:!0,composed:!0,detail:{selectedIndex:n,defaultSelectedIndex:l}});c?.(i)},...I},t("div",{class:"gids-list-item__main-container"},null==o||"none"===o||d?null:t(C,{size:"md",editButtonType:o,onPressEditButton:r}),null!=p?t("div",{class:d?"gids-list-item__leading-accessory-container gids-list-item__accessory-content-disabled":"gids-list-item__leading-accessory-container"},p):null,t("div",{class:"gids-list-item__middle-content-container"},t("div",{class:"gids-list-item__leading-content-container"},t(e,null,null!=T?t("span",{class:d?"gids-list-item__leading-content-label gids-list-item__text-content-disabled":"gids-list-item__leading-content-label"},T):null,t("div",{class:"gids-list-item__leading-support-content"},null!=u?"string"==typeof u?t("p",{class:d?"gids-list-item__leading-content-supporting-text gids-list-item__text-content-disabled":"gids-list-item__leading-content-supporting-text"},u):u:null,null!=_?"string"==typeof _?t("p",{class:d?"gids-list-item__leading-content-paragraph-text gids-list-item__text-content-disabled":"gids-list-item__leading-content-paragraph-text"},_):_:null))),t("div",{class:"gids-list-item__trailing-content-container"},t(e,null,null!=m?"string"==typeof m?t("span",{class:d?"gids-list-item__trailing-content-label gids-list-item__text-content-disabled":"gids-list-item__trailing-content-label"},m):m:null,t("div",{class:"gids-list-item__trailing-support-content"},null!=y?"string"==typeof y?t("p",{class:d?"gids-list-item__trailing-content-supporting-text gids-list-item__text-content-disabled":"gids-list-item__trailing-content-supporting-text"},y):y:null,null!=v?"string"==typeof v?t("p",{class:d?"gids-list-item__trailing-content-paragraph-text gids-list-item__text-content-disabled":"gids-list-item__trailing-content-paragraph-text"},v):v:null)))),a?t("div",{class:d?"gids-list-item__trailing-accessory-container gids-list-item__accessory-content-disabled":"gids-list-item__trailing-accessory-container"},t(g,{name:"checkmark",size:"md",appearance:"regular"})):null,a||null==b?null:t("div",{class:d?"gids-list-item__trailing-accessory-container gids-list-item__accessory-content-disabled":"gids-list-item__trailing-accessory-container"},b)),x&&!a?t("div",{class:"gids-list-item__divider"},t(G,{orientation:"horizontal"})):null),{getGidsDropdownItemClassNames:P}=r,B=({id:e,title:i,class:s,selected:n=!1,disabled:l=!1,role:d="list-item-option",value:a,name:o,onPressDropdownItem:r,index:c,defaultSelectedIndex:g,leadingAccessory:p,divider:u,..._})=>{const m=P("string"==typeof s?s:void 0);return t(T,{id:e,index:c??0,defaultSelectedIndex:g,selected:n,disabled:l,role:d,value:a,name:o,leadingAccessory:p,class:m,onPressListItem:t=>{if(t.defaultPrevented)return;const s=new CustomEvent("onPressDropdownItem",{bubbles:!0,composed:!0,detail:{id:e,title:i,value:a,disabled:l,selectedIndex:c,defaultSelectedIndex:g}});r?.(s)},divider:u,..._},i)};export{u as G,f as a,B as b}
|