@infineon/infineon-design-system-stencil 30.0.0--canary.1626.ffb29ef0579b15bc19c3bb02e9b882c9b0e882e1.0 → 30.0.0--canary.1626.e3bcf6f890c4244274ebb8f58df2fcc338ce6629.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/cjs/ifx-basic-table.cjs.entry.js +1 -1
- package/dist/cjs/ifx-chip_3.cjs.entry.js +7 -2
- package/dist/cjs/ifx-chip_3.cjs.entry.js.map +1 -1
- package/dist/cjs/ifx-date-picker.cjs.entry.js +4 -2
- package/dist/cjs/ifx-date-picker.cjs.entry.js.map +1 -1
- package/dist/cjs/ifx-faq.cjs.entry.js +1 -1
- package/dist/cjs/ifx-filter-accordion.cjs.entry.js +2 -2
- package/dist/cjs/ifx-filter-bar.cjs.entry.js +1 -1
- package/dist/cjs/ifx-filter-search.cjs.entry.js +1 -1
- package/dist/cjs/ifx-filter-type-group.cjs.entry.js +1 -1
- package/dist/cjs/ifx-list-entry.cjs.entry.js +1 -1
- package/dist/cjs/ifx-multiselect_2.cjs.entry.js +4 -4
- package/dist/cjs/ifx-navbar.cjs.entry.js +6 -4
- package/dist/cjs/ifx-navbar.cjs.entry.js.map +1 -1
- package/dist/cjs/ifx-overview-table.cjs.entry.js +1 -1
- package/dist/cjs/ifx-overview-table.cjs.entry.js.map +1 -1
- package/dist/cjs/ifx-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/ifx-radio-button.cjs.entry.js +2 -2
- package/dist/cjs/ifx-search-bar.cjs.entry.js +1 -1
- package/dist/cjs/ifx-search-field.cjs.entry.js +1 -1
- package/dist/cjs/ifx-segment.cjs.entry.js +1 -1
- package/dist/cjs/ifx-segmented-control.cjs.entry.js +2 -2
- package/dist/cjs/ifx-select.cjs.entry.js +58 -3
- package/dist/cjs/ifx-select.cjs.entry.js.map +1 -1
- package/dist/cjs/ifx-slider.cjs.entry.js +2 -2
- package/dist/cjs/ifx-spinner.cjs.entry.js +2 -2
- package/dist/cjs/ifx-status.cjs.entry.js +1 -1
- package/dist/cjs/ifx-step.cjs.entry.js +4 -4
- package/dist/cjs/ifx-stepper.cjs.entry.js +2 -2
- package/dist/cjs/ifx-switch.cjs.entry.js +1 -1
- package/dist/cjs/ifx-tab.cjs.entry.js +1 -1
- package/dist/cjs/ifx-table.cjs.entry.js +2 -2
- package/dist/cjs/ifx-tabs.cjs.entry.js +2 -2
- package/dist/cjs/ifx-tag.cjs.entry.js +1 -1
- package/dist/cjs/ifx-textarea.cjs.entry.js +2 -2
- package/dist/cjs/ifx-tooltip.cjs.entry.js +4 -4
- package/dist/cjs/infineon-design-system-stencil.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/date-picker/date-picker.css +7 -0
- package/dist/collection/components/date-picker/date-picker.js +3 -1
- package/dist/collection/components/date-picker/date-picker.js.map +1 -1
- package/dist/collection/components/navigation/navbar/navbar.js +6 -4
- package/dist/collection/components/navigation/navbar/navbar.js.map +1 -1
- package/dist/collection/components/overview-table/overview-table.js +1 -1
- package/dist/collection/components/overview-table/overview-table.js.map +1 -1
- package/dist/collection/components/pagination/pagination.js +7 -2
- package/dist/collection/components/pagination/pagination.js.map +1 -1
- package/dist/collection/components/progress-bar/progress-bar.js +1 -1
- package/dist/collection/components/radio-button/radio-button.js +2 -2
- package/dist/collection/components/search-bar/search-bar.js +1 -1
- package/dist/collection/components/search-field/search-field.js +1 -1
- package/dist/collection/components/segmented-control/segment/segment.js +1 -1
- package/dist/collection/components/segmented-control/segmented-control.js +2 -2
- package/dist/collection/components/select/single-select/select.css +3 -0
- package/dist/collection/components/select/single-select/select.js +76 -3
- package/dist/collection/components/select/single-select/select.js.map +1 -1
- package/dist/collection/components/slider/slider.js +2 -2
- package/dist/collection/components/spinner/spinner.js +2 -2
- package/dist/collection/components/status/status.js +1 -1
- package/dist/collection/components/stepper/step/step.js +4 -4
- package/dist/collection/components/stepper/stepper.js +2 -2
- package/dist/collection/components/switch/switch.js +1 -1
- package/dist/collection/components/table-advanced-version/filter-bar/filter-bar.js +1 -1
- package/dist/collection/components/table-advanced-version/filter-type-group/filter-accordion/filter-accordion.js +2 -2
- package/dist/collection/components/table-advanced-version/filter-type-group/filter-search/filter-search.js +1 -1
- package/dist/collection/components/table-advanced-version/filter-type-group/filter-type-group.js +1 -1
- package/dist/collection/components/table-advanced-version/list/list-entry/list-entry.js +1 -1
- package/dist/collection/components/table-advanced-version/table.js +2 -2
- package/dist/collection/components/table-basic-version/table.js +1 -1
- package/dist/collection/components/tabs/tab.js +1 -1
- package/dist/collection/components/tabs/tabs.js +2 -2
- package/dist/collection/components/tag/tag.js +1 -1
- package/dist/collection/components/text-field/text-field.js +4 -4
- package/dist/collection/components/textarea/textarea.js +2 -2
- package/dist/collection/components/tooltip/tooltip.js +4 -4
- package/dist/collection/stories/setup-and-installation/faq/faq.js +1 -1
- package/dist/components/ifx-basic-table.js +1 -1
- package/dist/components/ifx-date-picker.js +4 -2
- package/dist/components/ifx-date-picker.js.map +1 -1
- package/dist/components/ifx-faq.js +1 -1
- package/dist/components/ifx-filter-accordion.js +2 -2
- package/dist/components/ifx-filter-bar.js +1 -1
- package/dist/components/ifx-filter-search.js +2 -2
- package/dist/components/ifx-filter-type-group.js +1 -1
- package/dist/components/ifx-list-entry.js +2 -2
- package/dist/components/ifx-navbar.js +6 -4
- package/dist/components/ifx-navbar.js.map +1 -1
- package/dist/components/ifx-overview-table.js +1 -1
- package/dist/components/ifx-overview-table.js.map +1 -1
- package/dist/components/ifx-pagination.js +1 -1
- package/dist/components/ifx-progress-bar.js +1 -1
- package/dist/components/ifx-radio-button.js +1 -1
- package/dist/components/ifx-search-bar.js +2 -2
- package/dist/components/ifx-search-field.js +1 -1
- package/dist/components/ifx-segment.js +1 -1
- package/dist/components/ifx-segmented-control.js +2 -2
- package/dist/components/ifx-select.js +1 -1
- package/dist/components/ifx-set-filter.js +2 -2
- package/dist/components/ifx-slider.js +2 -2
- package/dist/components/ifx-spinner.js +2 -2
- package/dist/components/ifx-status.js +1 -1
- package/dist/components/ifx-step.js +4 -4
- package/dist/components/ifx-stepper.js +2 -2
- package/dist/components/ifx-switch.js +1 -1
- package/dist/components/ifx-tab.js +1 -1
- package/dist/components/ifx-table.js +4 -4
- package/dist/components/ifx-tabs.js +2 -2
- package/dist/components/ifx-tag.js +1 -1
- package/dist/components/ifx-text-field.js +1 -1
- package/dist/components/ifx-textarea.js +2 -2
- package/dist/components/ifx-tooltip.js +4 -4
- package/dist/components/{p-07b492d8.js → p-81357e99.js} +9 -4
- package/dist/components/p-81357e99.js.map +1 -0
- package/dist/components/{p-4adbcde3.js → p-b9024e1a.js} +62 -5
- package/dist/components/p-b9024e1a.js.map +1 -0
- package/dist/components/{p-64f0fdf0.js → p-d0f74c7f.js} +3 -3
- package/dist/components/{p-64f0fdf0.js.map → p-d0f74c7f.js.map} +1 -1
- package/dist/components/{p-975b1a84.js → p-d5a199fb.js} +5 -5
- package/dist/components/{p-975b1a84.js.map → p-d5a199fb.js.map} +1 -1
- package/dist/components/{p-8ef3226f.js → p-f64f5f8d.js} +2 -2
- package/dist/components/{p-8ef3226f.js.map → p-f64f5f8d.js.map} +1 -1
- package/dist/esm/ifx-basic-table.entry.js +1 -1
- package/dist/esm/ifx-chip_3.entry.js +7 -2
- package/dist/esm/ifx-chip_3.entry.js.map +1 -1
- package/dist/esm/ifx-date-picker.entry.js +4 -2
- package/dist/esm/ifx-date-picker.entry.js.map +1 -1
- package/dist/esm/ifx-faq.entry.js +1 -1
- package/dist/esm/ifx-filter-accordion.entry.js +2 -2
- package/dist/esm/ifx-filter-bar.entry.js +1 -1
- package/dist/esm/ifx-filter-search.entry.js +1 -1
- package/dist/esm/ifx-filter-type-group.entry.js +1 -1
- package/dist/esm/ifx-list-entry.entry.js +1 -1
- package/dist/esm/ifx-multiselect_2.entry.js +4 -4
- package/dist/esm/ifx-navbar.entry.js +6 -4
- package/dist/esm/ifx-navbar.entry.js.map +1 -1
- package/dist/esm/ifx-overview-table.entry.js +1 -1
- package/dist/esm/ifx-overview-table.entry.js.map +1 -1
- package/dist/esm/ifx-progress-bar.entry.js +1 -1
- package/dist/esm/ifx-radio-button.entry.js +2 -2
- package/dist/esm/ifx-search-bar.entry.js +1 -1
- package/dist/esm/ifx-search-field.entry.js +1 -1
- package/dist/esm/ifx-segment.entry.js +1 -1
- package/dist/esm/ifx-segmented-control.entry.js +2 -2
- package/dist/esm/ifx-select.entry.js +58 -3
- package/dist/esm/ifx-select.entry.js.map +1 -1
- package/dist/esm/ifx-slider.entry.js +2 -2
- package/dist/esm/ifx-spinner.entry.js +2 -2
- package/dist/esm/ifx-status.entry.js +1 -1
- package/dist/esm/ifx-step.entry.js +4 -4
- package/dist/esm/ifx-stepper.entry.js +2 -2
- package/dist/esm/ifx-switch.entry.js +1 -1
- package/dist/esm/ifx-tab.entry.js +1 -1
- package/dist/esm/ifx-table.entry.js +2 -2
- package/dist/esm/ifx-tabs.entry.js +2 -2
- package/dist/esm/ifx-tag.entry.js +1 -1
- package/dist/esm/ifx-textarea.entry.js +2 -2
- package/dist/esm/ifx-tooltip.entry.js +4 -4
- package/dist/esm/infineon-design-system-stencil.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/infineon-design-system-stencil/infineon-design-system-stencil.esm.js +1 -1
- package/dist/infineon-design-system-stencil/infineon-design-system-stencil.esm.js.map +1 -1
- package/dist/infineon-design-system-stencil/{p-2afb8620.entry.js → p-02be14a9.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-c90f337e.entry.js → p-0ddf85fc.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/p-16f9a47c.entry.js +2 -0
- package/dist/infineon-design-system-stencil/{p-2ea18356.entry.js → p-1f329979.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-5ab7bd95.entry.js → p-208b28b1.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-a9a1fc54.entry.js → p-25bf54c9.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-849b1812.entry.js → p-2e8c0115.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/p-2fbad873.entry.js +2 -0
- package/dist/infineon-design-system-stencil/p-2fbad873.entry.js.map +1 -0
- package/dist/infineon-design-system-stencil/{p-1e07a44d.entry.js → p-30640970.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/p-31e9d4f8.entry.js +2 -0
- package/dist/infineon-design-system-stencil/{p-18d07164.entry.js.map → p-31e9d4f8.entry.js.map} +1 -1
- package/dist/infineon-design-system-stencil/{p-e21ab79f.entry.js → p-336778c3.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-9f1ab459.entry.js → p-37ecac74.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-9ecb5401.entry.js → p-39697853.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-7d11833b.entry.js → p-49872432.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-4631ff84.entry.js → p-4af08129.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-4631ff84.entry.js.map → p-4af08129.entry.js.map} +1 -1
- package/dist/infineon-design-system-stencil/{p-45c14df8.entry.js → p-50e122c4.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-d2749c43.entry.js → p-5edfe317.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-ba22e912.entry.js → p-666e0ea0.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-9910fa06.entry.js → p-7378190d.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-b4d2f129.entry.js → p-75436967.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-661d19d6.entry.js → p-8b089cd1.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-73a92169.entry.js → p-a10f9b3c.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-e65cee48.entry.js → p-b010bfcb.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/p-b010bfcb.entry.js.map +1 -0
- package/dist/infineon-design-system-stencil/{p-57671542.entry.js → p-b30b66e5.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-10ae176f.entry.js → p-bc40ad21.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-a4f220c4.entry.js → p-c2e6cbdb.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-9b77f2ec.entry.js → p-cdad5d2c.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-19565224.entry.js → p-ce9e5451.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-100ec922.entry.js → p-db4a364b.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-100ec922.entry.js.map → p-db4a364b.entry.js.map} +1 -1
- package/dist/infineon-design-system-stencil/p-ea74d7ab.entry.js +2 -0
- package/dist/infineon-design-system-stencil/{p-85e4c1c2.entry.js → p-f121e197.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-85e4c1c2.entry.js.map → p-f121e197.entry.js.map} +1 -1
- package/dist/types/components/select/single-select/select.d.ts +7 -0
- package/dist/types/components.d.ts +1 -0
- package/package.json +1 -1
- package/dist/components/p-07b492d8.js.map +0 -1
- package/dist/components/p-4adbcde3.js.map +0 -1
- package/dist/infineon-design-system-stencil/p-18d07164.entry.js +0 -2
- package/dist/infineon-design-system-stencil/p-6c6ddeb1.entry.js +0 -2
- package/dist/infineon-design-system-stencil/p-9518ef02.entry.js +0 -2
- package/dist/infineon-design-system-stencil/p-9518ef02.entry.js.map +0 -1
- package/dist/infineon-design-system-stencil/p-d868e967.entry.js +0 -2
- package/dist/infineon-design-system-stencil/p-e65cee48.entry.js.map +0 -1
- /package/dist/infineon-design-system-stencil/{p-2afb8620.entry.js.map → p-02be14a9.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-c90f337e.entry.js.map → p-0ddf85fc.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-d868e967.entry.js.map → p-16f9a47c.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-2ea18356.entry.js.map → p-1f329979.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-5ab7bd95.entry.js.map → p-208b28b1.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-a9a1fc54.entry.js.map → p-25bf54c9.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-849b1812.entry.js.map → p-2e8c0115.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-1e07a44d.entry.js.map → p-30640970.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-e21ab79f.entry.js.map → p-336778c3.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-9f1ab459.entry.js.map → p-37ecac74.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-9ecb5401.entry.js.map → p-39697853.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-7d11833b.entry.js.map → p-49872432.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-45c14df8.entry.js.map → p-50e122c4.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-d2749c43.entry.js.map → p-5edfe317.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-ba22e912.entry.js.map → p-666e0ea0.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-9910fa06.entry.js.map → p-7378190d.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-b4d2f129.entry.js.map → p-75436967.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-661d19d6.entry.js.map → p-8b089cd1.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-73a92169.entry.js.map → p-a10f9b3c.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-57671542.entry.js.map → p-b30b66e5.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-10ae176f.entry.js.map → p-bc40ad21.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-a4f220c4.entry.js.map → p-c2e6cbdb.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-9b77f2ec.entry.js.map → p-cdad5d2c.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-19565224.entry.js.map → p-ce9e5451.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-6c6ddeb1.entry.js.map → p-ea74d7ab.entry.js.map} +0 -0
@@ -22,7 +22,7 @@ const ProgressBar = /*@__PURE__*/ proxyCustomElement(class ProgressBar extends H
|
|
22
22
|
this.internalValue = this.value;
|
23
23
|
}
|
24
24
|
render() {
|
25
|
-
return (h("div", { key: '
|
25
|
+
return (h("div", { key: 'c222329efb633757b013203285668579d0844786', "aria-label": 'a progress bar', "aria-value": this.value, class: `progress-bar ${this.size}` }, h("div", { key: 'bd5235aa565957461162fe913960b491c1486768', class: "progress", style: { width: `${this.internalValue}%` } }, this.showLabel && this.size !== "s" && this.internalValue !== 0 && h("span", { key: '6294c5ae3aff2295b65d2e66631794b1bafe369d', class: "label" }, `${this.internalValue}%`))));
|
26
26
|
}
|
27
27
|
static get watchers() { return {
|
28
28
|
"value": ["valueChanged"]
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, h } from './p-4c09147f.js';
|
2
2
|
import { d as defineCustomElement$3 } from './p-a2411b44.js';
|
3
|
-
import { d as defineCustomElement$2 } from './p-
|
3
|
+
import { d as defineCustomElement$2 } from './p-f64f5f8d.js';
|
4
4
|
|
5
5
|
const searchBarCss = ":root{--ifx-font-family:\"Source Sans 3\";font-family:var(--ifx-font-family, sans-serif)}:host{width:100%;display:flex}.search-bar{box-sizing:border-box;height:40px;background-color:#FFFFFF;display:flex;flex-direction:row;align-items:center;width:100%;font-family:var(--ifx-font-family)}.search-bar.closed{display:flex;width:auto;justify-content:flex-start}.search-bar .search-bar-wrapper{display:flex;align-items:center;gap:16px;width:100%}.search-bar .search-bar-wrapper a{text-decoration:none;font-size:1rem;font-style:normal;font-weight:600;line-height:1.5rem;color:#0A8276;cursor:pointer}.search-bar .search-bar-wrapper ifx-search-field{width:100%}.search-bar .search-bar__icon-wrapper{display:none;flex-direction:row;align-items:center}.search-bar .search-bar__icon-wrapper ifx-icon:hover{cursor:pointer}.search-bar.closed .search-bar__icon-wrapper{display:flex}.search-bar.closed .search-bar-wrapper{display:none}";
|
6
6
|
const IfxSearchBarStyle0 = searchBarCss;
|
@@ -43,7 +43,7 @@ const SearchBar = /*@__PURE__*/ proxyCustomElement(class SearchBar extends H {
|
|
43
43
|
this.value = event.detail;
|
44
44
|
}
|
45
45
|
render() {
|
46
|
-
return (h("div", { key: '
|
46
|
+
return (h("div", { key: '06b4122a9df300f357050cd6b70cace1d2cfc4bd', "aria-label": 'a search bar', "aria-disabled": this.disabled, class: `search-bar ${this.internalState ? 'open' : 'closed'}` }, this.internalState ? (h("div", { class: "search-bar-wrapper" }, h("ifx-search-field", { disabled: this.disabled, value: this.value, maxlength: this.maxlength, onIfxInput: this.handleInput.bind(this) }, h("ifx-icon", { icon: "search-16", slot: "search-icon" })), h("a", { tabindex: "-1", href: 'javascript:void(0)', onClick: this.handleCloseButton }, "Close"))) : (h("div", { class: "search-bar__icon-wrapper", onClick: this.handleCloseButton }, h("ifx-icon", { icon: "search-16" })))));
|
47
47
|
}
|
48
48
|
get el() { return this; }
|
49
49
|
static get watchers() { return {
|
@@ -30,7 +30,7 @@ const Segment = /*@__PURE__*/ proxyCustomElement(class Segment extends H {
|
|
30
30
|
}
|
31
31
|
}
|
32
32
|
render() {
|
33
|
-
return (h("div", { key: '
|
33
|
+
return (h("div", { key: '0a115fe376c6484b9c301689ffdf81bc9645d5e3', class: `segment ${this.selected ? 'segment--selected' : ''}`, tabIndex: 0, onClick: () => { this.handleSegmentClick(); }, onKeyDown: (e) => { this.handleSegmentKeyDown(e); } }, h("ifx-icon", { key: '565df7e4a349afca13c80ee467f7199c18756e67', icon: this.icon }), " ", h("slot", { key: '3389c7d009e67542d3c4ba4ccbc32774cbd9b997' })));
|
34
34
|
}
|
35
35
|
static get style() { return IfxSegmentStyle0; }
|
36
36
|
}, [1, "ifx-segment", {
|
@@ -71,8 +71,8 @@ const SegmentedControl = /*@__PURE__*/ proxyCustomElement(class SegmentedControl
|
|
71
71
|
this.setActiveSegment();
|
72
72
|
}
|
73
73
|
render() {
|
74
|
-
return (h("div", { key: '
|
75
|
-
h("div", { key: '
|
74
|
+
return (h("div", { key: '5ca0ee9243e0823492e12fe8b2630985f694fd69', "aria-value": this.selectedValue, "aria-label": 'segmented control', class: 'group' }, h("div", { key: 'b3675371fb2e67ceed8ace372b127b9e9113f939', class: 'group__label' }, this.label.trim()), h("div", { key: '917662be651673665491b329aa0b50b0cb40a2cd', class: 'group__controls' }, h("slot", { key: 'd4ce45676acc1fda36e03129756cf74b3bb1c939' })), this.caption.trim() &&
|
75
|
+
h("div", { key: '0881e270ba2a728c5800658f9f2a1eea0ffc2ae8', class: 'group__caption' }, h("ifx-icon", { key: '3279f97de64a7d2ae369c934c4f3ea9efecdbb5b', icon: 'cinfo16' }), " ", this.caption.trim())));
|
76
76
|
}
|
77
77
|
componentDidRender() {
|
78
78
|
this.setSegmentSize();
|
@@ -3,8 +3,8 @@ import { d as defineCustomElement$7 } from './p-cc820c25.js';
|
|
3
3
|
import { d as defineCustomElement$6 } from './p-0d986658.js';
|
4
4
|
import { d as defineCustomElement$5 } from './p-a2411b44.js';
|
5
5
|
import { d as defineCustomElement$4 } from './p-96fbc3db.js';
|
6
|
-
import { d as defineCustomElement$3 } from './p-
|
7
|
-
import { d as defineCustomElement$2 } from './p-
|
6
|
+
import { d as defineCustomElement$3 } from './p-b9024e1a.js';
|
7
|
+
import { d as defineCustomElement$2 } from './p-d5a199fb.js';
|
8
8
|
|
9
9
|
const setFilterCss = "";
|
10
10
|
const IfxSetFilterStyle0 = setFilterCss;
|
@@ -152,10 +152,10 @@ const IfxSlider$1 = /*@__PURE__*/ proxyCustomElement(class IfxSlider extends H {
|
|
152
152
|
this.updateValuePercent();
|
153
153
|
}
|
154
154
|
render() {
|
155
|
-
return (h("div", { key: '
|
155
|
+
return (h("div", { key: '8018325235df36fea9dea725b8ad591ecccb4264', class: "ifx-slider" }, this.leftText && (h("span", { key: '17433ac850f968a6e5d453952bb63a96c7b02d5e', class: `left-text` }, this.leftText)), this.leftIcon && (h("ifx-icon", { key: '6cb7b2572e62d990a6724f2d00610aeee1a4441b', icon: this.leftIcon, class: `left-icon${this.disabled ? ' disabled' : ''}` })), (this.type !== 'double') ?
|
156
156
|
h("input", { type: "range", min: this.min, max: this.max, step: this.step, value: this.internalValue, disabled: this.disabled, ref: (el) => (this.inputRef = el), onInput: (event) => this.handleInputChange(event), "aria-label": 'a slider', "aria-value": this.value, "aria-disabled": this.disabled })
|
157
157
|
:
|
158
|
-
h("div", { class: 'range-slider__wrapper', "aria-label": 'a range slider', "aria-value": this.value, "aria-disabled": this.disabled }, h("input", { id: 'min-slider', type: 'range', min: this.min, max: this.max, step: this.step, value: this.internalMinValue, disabled: this.disabled, ref: (el) => (this.minInputRef = el), onInput: (event) => this.handleInputChangeOfRangeSlider(event), onMouseUp: (event) => this.handleOnMouseLeaveOfRangeSlider(event) }), h("input", { id: 'max-slider', type: 'range', min: this.min, max: this.max, step: this.step, value: this.internalMaxValue, disabled: this.disabled, ref: (el) => (this.maxInputRef = el), onInput: (event) => this.handleInputChangeOfRangeSlider(event), onMouseUp: (event) => this.handleOnMouseLeaveOfRangeSlider(event) })), this.rightIcon && (h("ifx-icon", { key: '
|
158
|
+
h("div", { class: 'range-slider__wrapper', "aria-label": 'a range slider', "aria-value": this.value, "aria-disabled": this.disabled }, h("input", { id: 'min-slider', type: 'range', min: this.min, max: this.max, step: this.step, value: this.internalMinValue, disabled: this.disabled, ref: (el) => (this.minInputRef = el), onInput: (event) => this.handleInputChangeOfRangeSlider(event), onMouseUp: (event) => this.handleOnMouseLeaveOfRangeSlider(event) }), h("input", { id: 'max-slider', type: 'range', min: this.min, max: this.max, step: this.step, value: this.internalMaxValue, disabled: this.disabled, ref: (el) => (this.maxInputRef = el), onInput: (event) => this.handleInputChangeOfRangeSlider(event), onMouseUp: (event) => this.handleOnMouseLeaveOfRangeSlider(event) })), this.rightIcon && (h("ifx-icon", { key: 'e0cde8d64abfd3ed959f8e62383958f574b8be29', icon: this.rightIcon, class: `right-icon${this.disabled ? ' disabled' : ''}` })), this.rightText && (h("span", { key: 'a30d54d9082b927aa21374a1e78123deb959b117', class: `right-text${this.disabled ? ' disabled' : ''}` }, this.rightText)), this.showPercentage && (this.type !== "double") && (h("span", { key: '95baf22332438f825302b4d2616d83b5531823a0', class: `percentage-display${this.disabled ? ' disabled' : ''}` }, this.percentage, "%"))));
|
159
159
|
}
|
160
160
|
get el() { return this; }
|
161
161
|
static get watchers() { return {
|
@@ -14,8 +14,8 @@ const Spinner = /*@__PURE__*/ proxyCustomElement(class Spinner extends H {
|
|
14
14
|
this.inverted = false;
|
15
15
|
}
|
16
16
|
render() {
|
17
|
-
return (h("div", { key: '
|
18
|
-
&& h("div", { key: '
|
17
|
+
return (h("div", { key: 'b04265492791de4279b55be5c26c3f91d0310ce3', "aria-label": "spinner indicating a loading process", class: this.getClassNames() }, h("div", { key: '4be11129b1b1ec16a9ad6aac61959f3fcf884e05', class: `${this.variant !== 'brand' ? 'border' : ""} ${this.inverted ? 'inverted' : ""}` }), this.variant === 'brand'
|
18
|
+
&& h("div", { key: '7147294300181e410f1a2da1a04bebaa34ca2338', class: `semiconductor ${this.inverted ? 'inverted' : ""} ${this.getSizeClass()}` }, h("svg", { key: '08aaeab1b3b244ea665cfb7ba86c5b2be0a833f4', width: '40', height: '40', viewBox: "0 0 40 40", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("g", { key: '32a839d29fa24742874c01a72e7f447940a6180c', id: "spinner/conductor" }, h("path", { key: '55846dd76b8622f0ac57337caf2ac049d7934144', id: "Vector", d: "M38.75 18.75C39.4375 18.75 40 19.3125 40 20C40 20.6875 39.4409 21.25 38.75 21.25H35V26.25H38.75C39.4375 26.25 40 26.8125 40 27.5C40 28.1875 39.4409 28.75 38.75 28.75H35V30C35 32.7617 32.7617 35 30 35H28.75V38.75C28.75 39.4409 28.1875 40 27.5 40C26.8125 40 26.25 39.4409 26.25 38.75V35H21.25V38.75C21.25 39.4409 20.6875 40 20 40C19.3125 40 18.75 39.4409 18.75 38.75V35H13.75V38.75C13.75 39.4409 13.1875 40 12.5 40C11.8125 40 11.25 39.4409 11.25 38.75V35H10C7.23828 35 5 32.7617 5 30V28.75H1.25C0.559062 28.75 0 28.1875 0 27.5C0 26.8125 0.559062 26.25 1.25 26.25H5V21.25H1.25C0.559062 21.25 0 20.6875 0 20C0 19.3125 0.559062 18.75 1.25 18.75H5V13.75H1.25C0.559062 13.75 0 13.1875 0 12.5C0 11.8125 0.559062 11.25 1.25 11.25H5V10C5 7.23828 7.23828 5 10 5H11.25V1.25C11.25 0.5625 11.8125 0 12.5 0C13.1875 0 13.75 0.559063 13.75 1.25V5H18.75V1.25C18.75 0.559063 19.3091 0 20 0C20.6909 0 21.25 0.559063 21.25 1.25V5H26.25V1.25C26.25 0.559063 26.8091 0 27.5 0C28.1909 0 28.75 0.559063 28.75 1.25V5H30C32.7617 5 35 7.23828 35 10V11.25H38.75C39.4409 11.25 40 11.8091 40 12.5C40 13.1909 39.4409 13.75 38.75 13.75H35V18.75H38.75ZM32.5 10C32.5 8.62188 31.3781 7.5 30 7.5H10C8.62187 7.5 7.5 8.62188 7.5 10V30C7.5 31.3781 8.62187 32.5 10 32.5H30C31.3781 32.5 32.5 31.3781 32.5 30V10Z" }))))));
|
19
19
|
}
|
20
20
|
getSizeClass() {
|
21
21
|
return `${this.size}` === "s"
|
@@ -14,7 +14,7 @@ const Status = /*@__PURE__*/ proxyCustomElement(class Status extends H {
|
|
14
14
|
}
|
15
15
|
render() {
|
16
16
|
const containerClass = this.border ? `container border-${this.color}` : 'container no-border';
|
17
|
-
return (h("div", { key: '
|
17
|
+
return (h("div", { key: '7d0a904e3325f104c736cc772d876be18d62f5f7', "aria-label": "a status indicator", "aria-value": this.label, class: containerClass }, h("span", { key: 'd3dad621fea01aca96ac6ae8f50a447058d547b4', class: `dot ${this.color}` }), h("p", { key: '68ce21770f730b740a2398ed69c0b33a3817912a', class: "text" }, this.label)));
|
18
18
|
}
|
19
19
|
static get style() { return IfxStatusStyle0; }
|
20
20
|
}, [1, "ifx-status", {
|
@@ -51,7 +51,7 @@ const Step = /*@__PURE__*/ proxyCustomElement(class Step extends H {
|
|
51
51
|
}
|
52
52
|
}
|
53
53
|
render() {
|
54
|
-
return (h("div", { key: '
|
54
|
+
return (h("div", { key: '416ac5feff4f3ec3e86b9d8ff0affe3b0efc744c', "aria-current": this.active ? 'step' : false, "aria-disabled": this.active || this.complete ? false : true, onClick: (e) => this.stopOnClickPropogation(e), class: `step-wrapper ${this.stepId === 1 ? 'first-step' : ''}
|
55
55
|
${this.error ? 'error' : ''}
|
56
56
|
${this.stepperState.variant}
|
57
57
|
${this.complete ? 'complete' : ''}
|
@@ -59,11 +59,11 @@ const Step = /*@__PURE__*/ proxyCustomElement(class Step extends H {
|
|
59
59
|
indicator-${this.stepperState.indicatorPosition}
|
60
60
|
${this.active ? 'active' : ''}
|
61
61
|
${this.clickable ? 'clickable' : ''}
|
62
|
-
${this.disabled ? 'disabled' : ''}` }, h("div", { key: '
|
63
|
-
h("div", { key: '
|
62
|
+
${this.disabled ? 'disabled' : ''}` }, h("div", { key: 'efb7fa5e287d66dae02b723b70d9db2f6c464bf4', class: 'step-icon-wrapper' }, this.stepperState.variant !== 'compact' && h("span", { key: '4f33356052398a786a8554b704a7d74f226b64d4', class: 'step-connector-l' }), (this.stepperState.variant !== 'compact' && (!this.error || (this.error && this.active))) &&
|
63
|
+
h("div", { key: 'a25b2220945eee1a67808a2da320ba87046d4a49', class: 'step-icon' }, (this.stepperState.showStepNumber && !this.complete && !this.active) ? this.stepId : '', (this.complete && !this.active) && h("ifx-icon", { key: 'f03a2ff8035b2a82880eaf3d582679cfc930370f', icon: 'check16' }), this.active && h("span", { key: '481b56ce3eb85af45f0b450b74aa9aaa2b582c73', class: 'active-indic' })), (this.stepperState.variant !== 'compact' && this.error && !this.active) && h("ifx-icon", { key: 'e59722bf9e76be99bffcc16128add8f7a86ede79', icon: 'warningf24' }), this.stepperState.variant !== 'compact' && h("span", { key: '9ad59c9ded639b54c3f8d92ae1e5d29d1b66e7b6', class: `step-connector-r ${this.active ? 'active' : ''}` })),
|
64
64
|
/* Step labels */
|
65
65
|
(this.stepperState.variant !== 'compact' || (this.stepperState.variant === 'compact' && (this.active || this.stepId === this.stepperState.activeStep + 1))) &&
|
66
|
-
h("div", { key: '
|
66
|
+
h("div", { key: '4383eec5c8d4f48dc63e0cdc7da2f6d0e94b4181', tabIndex: !this.disabled && this.complete && !this.active ? 0 : -1, class: `step-label ${this.stepperState.variant === 'compact' ? (this.active ? 'curr-label' : 'next-label') : ''}`, onClick: () => { this.handleStepClick(); }, onKeyDown: (e) => { this.handleStepKeyDown(e); } }, (this.stepperState.variant !== 'compact') && h("slot", { key: '56ae021c14fa55b0f8aeb4274353f314e2b609a5' }), this.stepperState.variant === 'compact' && !this.active ? 'Next: ' : '', this.stepperState.variant === 'compact' && h("slot", { key: '73c45a7010f1d80922fa31f357949c834fd83e7b' }))));
|
67
67
|
}
|
68
68
|
;
|
69
69
|
static get watchers() { return {
|
@@ -125,10 +125,10 @@ const Stepper = /*@__PURE__*/ proxyCustomElement(class Stepper extends H {
|
|
125
125
|
this.syncIfxSteps();
|
126
126
|
}
|
127
127
|
render() {
|
128
|
-
return (h("div", { key: '
|
128
|
+
return (h("div", { key: '1762c426129e424854ca59f136dae7cc6ea6b12b', "aria-label": 'a stepper', role: 'navigation', class: `stepper ${(this.variant !== 'compact' && this.variant !== 'vertical') ? 'default' : this.variant} ${this.variant === 'compact' ? 'compact-' + this.indicatorPosition : ''}` },
|
129
129
|
/* Progress bar for compact variant. */
|
130
130
|
(this.variant === 'compact') &&
|
131
|
-
h("div", { key: '
|
131
|
+
h("div", { key: '05e68fa2c4b4f7778a249e546e2feda37b82f3e5', class: 'stepper-progress' }, h("div", { key: 'a633d25307f2268ab0d590fd38b6e4c4b0a5c1f2', class: 'progress-detail' }, `${Math.min(this.activeStep, this.stepsCount)} of ${this.stepsCount}`)), h("div", { key: 'e68826d1ca953026b60597c52859fbff3ddcb076', class: `stepper-wrapper` }, h("slot", { key: 'c9bc23918e6f50d40c5c61cdce6a0da195ed4fb9' }))));
|
132
132
|
}
|
133
133
|
;
|
134
134
|
componentDidRender() {
|
@@ -73,7 +73,7 @@ const Switch = /*@__PURE__*/ proxyCustomElement(class Switch extends H {
|
|
73
73
|
this.internals.setFormValue(null);
|
74
74
|
}
|
75
75
|
render() {
|
76
|
-
return (h("div", { key: '
|
76
|
+
return (h("div", { key: '14a4d237bd92cc310e940e38be973fd109835e2f', class: "container", role: "switch", "aria-checked": this.internalChecked ? 'true' : 'false', "aria-label": this.name, onClick: () => this.toggleSwitch(), onKeyDown: (event) => this.handleKeyDown(event) }, h("div", { key: '48d82805b763e9a4876e69fff126a19668c60568', class: `switch__checkbox-container ${this.internalChecked ? 'checked' : ''} ${this.disabled ? 'disabled' : ''}`, tabindex: "0" }, h("div", { key: '966db68145830c394840d78e5a409bdaa93cff17', class: "switch__checkbox-wrapper" }, h("input", { key: '3e4f7b754878457747a22fc53643b3e3676cfb3d', type: "checkbox", hidden: true, name: this.name, disabled: this.disabled, checked: this.internalChecked, value: `${this.value}` }), h("div", { key: 'ca007fbcf8f88fee940039770a87345bdde5dda8', class: `switch ${this.internalChecked ? 'checked' : ''} ${this.disabled ? 'disabled' : ''}` }))), h("div", { key: '1bb43eb27456e27f5d735d6bd2d3be7bc58d3196', class: `switch__label-wrapper ${this.disabled ? 'disabled' : ''}` }, h("label", { key: '464f09b02a8b05a0bde53ebbc2cb998207995e29', htmlFor: "switch" }, h("slot", { key: '46896c8f8ac5c94b606cabdb26d0fa6903501299', onSlotchange: () => this.toggleLabelGap() })))));
|
77
77
|
}
|
78
78
|
static get formAssociated() { return true; }
|
79
79
|
get el() { return this; }
|
@@ -13,7 +13,7 @@ const IfxTab$1 = /*@__PURE__*/ proxyCustomElement(class IfxTab extends H {
|
|
13
13
|
this.iconPosition = 'left';
|
14
14
|
}
|
15
15
|
render() {
|
16
|
-
return h("slot", { key: '
|
16
|
+
return h("slot", { key: '58ea0a29eec7165f8d5d4627f00f2163916ed69a' });
|
17
17
|
}
|
18
18
|
get el() { return this; }
|
19
19
|
static get style() { return IfxTabStyle0; }
|
@@ -8,8 +8,8 @@ import { d as defineCustomElement$7 } from './p-77b40c27.js';
|
|
8
8
|
import { d as defineCustomElement$6 } from './p-a2411b44.js';
|
9
9
|
import { d as defineCustomElement$5 } from './p-6a771687.js';
|
10
10
|
import { d as defineCustomElement$4 } from './p-56db9d3e.js';
|
11
|
-
import { d as defineCustomElement$3 } from './p-
|
12
|
-
import { d as defineCustomElement$2 } from './p-
|
11
|
+
import { d as defineCustomElement$3 } from './p-81357e99.js';
|
12
|
+
import { d as defineCustomElement$2 } from './p-b9024e1a.js';
|
13
13
|
|
14
14
|
const ButtonKeys = ['disabled', 'variant', 'size', 'target', 'color', 'text'];
|
15
15
|
|
@@ -460,12 +460,12 @@ const Table = /*@__PURE__*/ proxyCustomElement(class Table extends H {
|
|
460
460
|
};
|
461
461
|
}
|
462
462
|
const filterClass = this.filterOrientation === 'topbar' ? 'topbar-layout' : 'sidebar-layout';
|
463
|
-
return (h(Host, { key: '
|
463
|
+
return (h(Host, { key: 'cb5495c16dd1e368f9b25604e36e75f19b052f6c' }, h("div", { key: '6344aab178181e2bac00b2e700a423e2dfd73c0d', class: "table-container" }, this.filterOrientation === 'sidebar' && (h("div", { key: '10dcb98a47b393c7deab1454e4738b15a15313d4', class: "sidebar-btn" }, h("ifx-button", { key: '8e46c678a6f99ebe01cc25bc774ad99c6dbea3a3', type: "button", disabled: false, variant: "secondary", size: "m", target: "_blank", theme: "default", "full-width": "false", onClick: () => this.toggleSidebarFilters() }, h("ifx-icon", { key: 'cd11248cfa51b68a4783dd0d66c6a5561f9afc1d', icon: "cross-12" }), this.showSidebarFilters ? 'Hide Filters' : 'Show Filters'))), h("div", { key: 'ce3d2ddc7d6db1c11695fa8698099c63cdcd6016', class: filterClass }, this.filterOrientation === 'sidebar' && this.showSidebarFilters && (h("div", { key: '221c3e8b632166682e3f5c16aa8790869a0cbd50', class: "sidebar-container" }, h("div", { key: '949dbe6a17f2c2f5ba7a411761e7a51903904cb1', class: "filters-title-container" }, h("span", { key: '85c9d1ad837f550867af7a027ca09b44300a08ca', class: "filters-title" }, "Filters")), h("div", { key: 'b57dad26fbdf3372654da8bbf781b3f2bec6f5f9', class: "set-filter-wrapper-sidebar" }, (this.filterOrientation !== 'sidebar' || this.showSidebarFilters) && (h("slot", { key: 'f2cd9bc56be616581dace0c4acc05f54e20f27c4', name: "sidebar-filter" }))))), this.filterOrientation !== 'none' && this.filterOrientation !== 'sidebar' && (h("div", { key: '81c36d9e0a3ce3f0b64c837bb557a7a4cb26de0a', class: "set-filter-wrapper-topbar" }, (this.filterOrientation !== 'sidebar' || this.showSidebarFilters) && (h("slot", { key: '3b9e65e24baa8d71eb0910146a6567d9f99b80e2', name: "topbar-filter" })))), h("div", { key: '41b62ff1c5fab0b29667ae2e1e6c5c010796f33b', class: "table-pagination-wrapper" }, h("div", { key: 'e617cbe06c4540a845f5356b1c0f9b67422c9f6b', class: "filter-chips" }, this.filterOrientation !== 'none' && this.filterOrientation !== 'topbar' && this.showSidebarFilters && (Object.keys(this.currentFilters).map(name => {
|
464
464
|
const filter = this.currentFilters[name];
|
465
465
|
const filterValues = filter.filterValues;
|
466
466
|
const isMultiSelect = filter.type !== 'text';
|
467
467
|
return filterValues.length > 0 ? (h("ifx-chip", { placeholder: name, size: "large", variant: isMultiSelect ? "multi" : "single", readOnly: true, value: filterValues, key: name }, filterValues.map(filterValue => (h("ifx-chip-item", { value: filterValue, selected: true, key: filterValue }, filterValue))))) : null;
|
468
|
-
})), this.filterOrientation !== 'none' && this.filterOrientation === 'sidebar' && this.showSidebarFilters && Object.keys(this.currentFilters).length > 0 && (h("ifx-button", { key: '
|
468
|
+
})), this.filterOrientation !== 'none' && this.filterOrientation === 'sidebar' && this.showSidebarFilters && Object.keys(this.currentFilters).length > 0 && (h("ifx-button", { key: '4d254dac541112495170a042abb6be9eee35928f', type: "button", disabled: false, variant: "tertiary", size: "m", target: "_blank", theme: "default", "full-width": "false", onClick: () => this.handleResetButtonClick() }, h("ifx-icon", { key: '9d5ece826c48a7e9dd87aaa70ee380f13b38f61c', icon: "curved-arrow-left-16" }), "Reset all"))), this.filterOrientation !== 'none' && (h("div", { key: '15515a1dc227bb72fddf6a1b6be42dbb3f727857', class: "matching-results-container" }, h("span", { key: '57fd4353359477232550132e79048b18839aa995', class: "matching-results-count" }, this.matchingResultsCount), h("span", { key: '65b5c9850eee2814275fa46cbd25065842b61238', class: "matching-results-text" }, "matching results"))), h("div", { key: '5158fb6fa70c8842c482cd841acbba9363594dd3', id: "table-wrapper", class: this.getTableClassNames() }, h("div", { key: 'bc4cc2553b57558f2249b32f29a97038e370d0f7', id: `ifxTable-${this.uniqueKey}`, class: 'ifx-ag-grid', style: style, ref: (el) => this.container = el })), this.pagination ? h("ifx-pagination", { total: this.allRowData.length, "current-page": this.currentPage }) : null)))));
|
469
469
|
}
|
470
470
|
hasButtonCol() {
|
471
471
|
return this.getColData().some(column => column.field === 'button');
|
@@ -195,9 +195,9 @@ const IfxTabs$1 = /*@__PURE__*/ proxyCustomElement(class IfxTabs extends H {
|
|
195
195
|
}
|
196
196
|
render() {
|
197
197
|
var _a;
|
198
|
-
return (h("div", { key: '
|
198
|
+
return (h("div", { key: '31de3a8ee189bb7c23bcc80fad050605595a6a0f', "aria-label": "navigation tabs", class: `tabs ${this.internalOrientation}` }, h("ul", { key: '867bea4d332940244b6a1a8623f279ed19d7e6eb', role: "tablist", class: "tabs-list" }, (_a = this.tabObjects) === null || _a === void 0 ? void 0 :
|
199
199
|
_a.map((tab, index) => (h("li", { class: this.getTabItemClass(index), ref: (el) => (this.tabHeaderRefs[index] = el), tabindex: "0", onClick: () => this.handleClick(tab, index), "aria-selected": index === this.internalActiveTabIndex ? 'true' : 'false', "aria-disabled": tab.disabled ? 'true' : 'false', role: "tab" }, (tab === null || tab === void 0 ? void 0 : tab.icon) ? h("ifx-icon", { icon: tab.icon }) : '', tab === null || tab === void 0 ? void 0 :
|
200
|
-
tab.header))), h("div", { key: '
|
200
|
+
tab.header))), h("div", { key: 'c1e8cd4aa0285bcc4a51d5623722025f8f580519', class: "active-border" })), h("div", { key: '217fe852c9f7e36d5f62b9acec0ce468c7417f46', class: "tab-content" }, Array.from(this.tabObjects).map((_, index) => (h("div", { style: { display: index === this.internalActiveTabIndex ? 'block' : 'none' } }, h("slot", { name: `tab-${index}` })))))));
|
201
201
|
}
|
202
202
|
get el() { return this; }
|
203
203
|
static get watchers() { return {
|
@@ -12,7 +12,7 @@ const Tag = /*@__PURE__*/ proxyCustomElement(class Tag extends H {
|
|
12
12
|
this.icon = undefined;
|
13
13
|
}
|
14
14
|
render() {
|
15
|
-
return (h("div", { key: '
|
15
|
+
return (h("div", { key: 'fc093100e9f721a29aaa84bf74176c451c1edcc5', "aria-label": "a tag", class: "container" }, this.icon && (h("ifx-icon", { key: '2ec09bacc6d29d140c6f4d25ad5746831f81519a', icon: this.icon })), h("a", { key: 'f411ae8ba59c7197fb0b980cb52767913909146f', href: "javascript:void(null);", class: "label-wrapper" }, h("p", { key: '1f52e3aae5deca0445fdfcca82651777cc895dba', class: "label" }, h("slot", { key: '810b1c466622acefb56b4a9f4c129414ff71b8c3' })))));
|
16
16
|
}
|
17
17
|
static get style() { return IfxTagStyle0; }
|
18
18
|
}, [1, "ifx-tag", {
|
@@ -47,9 +47,9 @@ const TextArea = /*@__PURE__*/ proxyCustomElement(class TextArea extends H {
|
|
47
47
|
}
|
48
48
|
render() {
|
49
49
|
var _a, _b;
|
50
|
-
return (h(Host, { key: '
|
50
|
+
return (h(Host, { key: 'ec61a94701ba15cea4338a1039c63ebb080a31de', class: `wrapper
|
51
51
|
wrapper--${this.error ? 'error' : ''}
|
52
|
-
wrapper--${this.disabled ? 'disabled' : ''}` }, h("label", { key: '
|
52
|
+
wrapper--${this.disabled ? 'disabled' : ''}` }, h("label", { key: '0ca84ca56869de241eb8993e210feff68d7e5cc4', class: 'wrapper__label', htmlFor: this.inputId }, (_a = this.label) === null || _a === void 0 ? void 0 : _a.trim()), h("div", { key: '6b27bb557b12d119425b024f964707d683c154bd', class: 'wrapper__textarea' }, h("textarea", { key: 'c3ce055457fddfad964b1c8da4bd574f30e182e2', "aria-label": 'a textarea', "aria-value": this.value, "aria-disabled": this.disabled, id: this.inputId, style: { resize: this.resize }, name: this.name ? this.name : this.inputId, cols: this.cols, rows: this.rows, maxlength: this.maxlength, wrap: this.wrap, disabled: this.disabled, readonly: this.readOnly, placeholder: this.placeholder, value: this.value, onInput: (e) => this.handleOnInput(e) })), ((_b = this.caption) === null || _b === void 0 ? void 0 : _b.trim()) && (h("div", { key: '5f774605c74e18f14908e181235be8489fdbe401', class: 'wrapper__caption' }, this.caption.trim()))));
|
53
53
|
}
|
54
54
|
static get formAssociated() { return true; }
|
55
55
|
static get style() { return IfxTextareaStyle0; }
|
@@ -156,10 +156,10 @@ const Tooltip = /*@__PURE__*/ proxyCustomElement(class Tooltip extends H {
|
|
156
156
|
'tooltip-extended': true,
|
157
157
|
'visible': this.tooltipVisible,
|
158
158
|
};
|
159
|
-
return (h("div", { key: '
|
160
|
-
h("div", { key: '
|
161
|
-
h("div", { key: '
|
162
|
-
h("svg", { class: "extended_icon", xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", fill: "none", viewBox: "0 0 24 24" }, h("path", { stroke: "#fff", "stroke-linecap": "round", "stroke-linejoin": "round", d: "M20.5 2.5h-16a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-16a2 2 0 0 0-2-2Z" }), h("path", { stroke: "#fff", d: "M19 17H6l2.5-4 2.097 2.516.405.486.379-.506 4.118-5.49.003-.002L19 17Z" }), h("path", { fill: "#fff", d: "M10 9.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z" }))), h("div", { key: '
|
159
|
+
return (h("div", { key: 'bef3eea14c8dde6e5320575791fb3af389260697', "aria-label": "a tooltip showing important information", "aria-value": this.header, class: "tooltip__container" }, h("slot", { key: 'b6a0e680a8a6c2d302930b086c4488bf6f7ac169' }), this.variant.toLowerCase() === 'dismissible' && h("div", { key: '67be6e1c5ec6a7f277b441648986d2ec07a6a651', class: tooltipDismissible }, h("button", { key: '053fbb51ae10f7ef007da38a5fc2c4df2a2d3846', "aria-label": "Close Tooltip", class: "close-button", onClick: this.onDismissClick }, h("ifx-icon", { key: '8b78386336b48c89c9ca8afe972c215c2c064903', icon: "cross16" })), h("div", { key: '48db9d8098af06bb9e310a4fb23a952442d0ec6f', class: "tooltip-dismissible-content" }, this.header && h("div", { key: 'b6687c8155ef62a414090d52478e8da155778358', class: "tooltip-dismissible-header" }, this.header), h("div", { key: '6f927579b33f3fd4ce6f5d4e493b9b037ff04678', class: "tooltip-dismissible-body" }, this.text)), h("svg", { key: '467f192720b5396add3971ccbee8a1bc5c1cc0e6', class: "tooltip-arrow-svg", width: "12", height: "8", viewBox: "0 0 12 8", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '7d62ff6780d4c4daaffdf5dcd53433dc20f1c064', id: "Indicator", d: "M6 0L12 8L0 8L6 0Z", fill: "#1D1D1D" }))), this.variant.toLowerCase() === 'compact' &&
|
160
|
+
h("div", { key: 'd3f8293e8ed481dc295d0c9f5dc98c218d999e3b', class: tooltipCompact }, this.text, h("svg", { key: '6276062b4337289d751911b6a71530e564b99bc0', class: "tooltip-arrow-svg", width: "12", height: "8", viewBox: "0 0 12 8", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '8fde6da76e2d4ca34743cb1274b4d7954434fd26', id: "Indicator", d: "M6 0L12 8L0 8L6 0Z", fill: "#1D1D1D" }))), this.variant.toLowerCase() === 'extended' &&
|
161
|
+
h("div", { key: 'c5318be31b725bb4f5d5bcd35d8503668032dffa', class: tooltipExtended }, h("slot", { key: '7f092e8f400880cc2186320a45f4d58d7b7c96a3', name: "icon" }, this.icon ? h("div", { class: "extended_icon" }, h("ifx-icon", { icon: this.icon })) :
|
162
|
+
h("svg", { class: "extended_icon", xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", fill: "none", viewBox: "0 0 24 24" }, h("path", { stroke: "#fff", "stroke-linecap": "round", "stroke-linejoin": "round", d: "M20.5 2.5h-16a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-16a2 2 0 0 0-2-2Z" }), h("path", { stroke: "#fff", d: "M19 17H6l2.5-4 2.097 2.516.405.486.379-.506 4.118-5.49.003-.002L19 17Z" }), h("path", { fill: "#fff", d: "M10 9.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z" }))), h("div", { key: '016ca1ce8701db753e8716344ccfb1fed728ed89', class: "tooltip-extended-content" }, this.header && h("div", { key: '30f8a71e360924c8c65bc6197397ae05c4b729c2', class: "tooltip-extended-header" }, this.header), h("div", { key: '4694d5e98f009c678ca1e1b8df7449af4c59b7bf', class: "tooltip-extended-body" }, this.text)), h("svg", { key: 'f82ef84945cd3185d034e58e7e9e88e6e468a02d', class: "tooltip-arrow-svg", width: "12", height: "8", viewBox: "0 0 12 8", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: 'ef2e943957ab5d5a5a1ed0e5443bb2b82feb0a1b', id: "Indicator", d: "M6 0L12 8L0 8L6 0Z", fill: "#1D1D1D" })))));
|
163
163
|
}
|
164
164
|
get el() { return this; }
|
165
165
|
static get watchers() { return {
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, h } from './p-4c09147f.js';
|
2
2
|
import { d as defineCustomElement$3 } from './p-a2411b44.js';
|
3
3
|
import { d as defineCustomElement$2 } from './p-6a771687.js';
|
4
|
-
import { d as defineCustomElement$1 } from './p-
|
4
|
+
import { d as defineCustomElement$1 } from './p-b9024e1a.js';
|
5
5
|
|
6
6
|
const paginationCss = "@charset \"UTF-8\";:root{--ifx-font-family:\"Source Sans 3\";font-family:var(--ifx-font-family, sans-serif)}:host{display:inline-flex}.container{display:inline-flex;justify-content:center;align-items:center;gap:32px;font-family:var(--ifx-font-family)}.container .items__per-page-wrapper{display:flex;align-items:center;gap:16px}.container .items__per-page-wrapper .items__per-page-label{color:#1D1D1D;font-size:14px;font-style:normal;font-weight:600;line-height:20px}.container .items__per-page-wrapper .items__per-page-field{display:flex;flex-direction:column;align-items:flex-start}.container .items__per-page-wrapper .items__per-page-field ifx-select{width:92px}.container .items__total-wrapper{display:flex;justify-content:center;align-items:center;gap:12px}.container .items__total-wrapper .items__total-button{display:flex;width:40px;height:40px;justify-content:center;align-items:center;border-radius:100px;border:1px solid #BFBBBB;background:#FFF}.container .items__total-wrapper .page__numbers-wrapper{display:flex;justify-content:center;align-items:center;gap:12px}.container .items__total-wrapper .page__numbers-wrapper .page__number-item{display:flex;padding:6px;flex-direction:column;justify-content:center;align-items:center;gap:10px;border-radius:100px}.container .items__total-wrapper .page__numbers-wrapper .page__number-item.active{background-color:#0A8276}.container .items__total-wrapper .page__numbers-wrapper .page__number-item.active span{color:#fff}.container .items__total-wrapper .page__numbers-wrapper .page__number-item:hover{cursor:pointer}.container .items__total-wrapper .page__numbers-wrapper .page__number-item:hover:not(.active){background-color:#ddd}.container .items__total-wrapper .page__numbers-wrapper .page__number-item:active:not(.active){background-color:#575352}.container .items__total-wrapper .page__numbers-wrapper .page__number-item span{display:flex;width:16px;height:16px;flex-direction:column;justify-content:center;color:#1D1D1D;text-align:center;font-size:13px;font-style:normal;font-weight:400;line-height:20px}.pagination{display:flex}.pagination ifx-icon-button:first-of-type{margin-right:12px}.pagination ifx-icon-button:last-of-type{margin-left:12px}a{padding:8px;border-radius:100px}ol{list-style-type:none;padding:0;margin:0;display:inline-flex;align-items:center;gap:12px}li{display:flex;flex-direction:column;justify-content:center;align-items:center;border-radius:100px}li:hover:not(.active) a{background-color:#EEEDED}li:active:not(.active) a{background-color:#575352;color:#fff}li.active{background-color:#0A8276}li.active a{color:#fff}li:hover{cursor:pointer}li a{text-decoration:none;display:flex;width:16px;height:16px;flex-direction:column;justify-content:center;color:#1D1D1D;text-align:center;font-size:13px;font-style:normal;font-weight:400;line-height:20px;align-items:center}.prev.disabled,.next.disabled{cursor:default}.prev.disabled:hover,.next.disabled:hover{cursor:default;text-decoration:none}.prev{margin-right:2.5px}.next{margin-left:2.5px}@media (min-width: 400px){li:first-child,li.active-sibling,li.active,li.active+li,li:last-child{display:inline-flex !important;flex-direction:row}li:first-child:nth-last-child(n+8)~li{display:none}li:first-child:nth-last-child(n+8)~li.active-sibling:before{content:\"…\";font-size:13px;display:inline-block;margin-right:6px}li:first-child:nth-last-child(n+8)~li.active+li:after{content:\"…\";font-size:13px;display:inline-block;margin-left:6px}li:first-child:nth-last-child(n+8)~li:nth-last-child(-n+5){display:inline-flex;flex-direction:row}li:first-child:nth-last-child(n+8)~li:nth-last-child(5):before{content:\"…\";font-size:13px;display:inline-block;margin-right:6px}li:first-child:nth-last-child(n+8)~li:nth-child(-n+2):before,li:first-child:nth-last-child(n+8)~li:nth-child(-n+2):after,li:first-child:nth-last-child(n+8)~li:nth-last-child(-n+2):before,li:first-child:nth-last-child(n+8)~li:nth-last-child(-n+2):after,li:first-child:nth-last-child(n+8)~li.active-sibling:nth-last-child(-n+4):before,li:first-child:nth-last-child(n+8)~li.active-sibling:nth-last-child(-n+4):after{display:none !important}li:first-child:nth-last-child(n+8).active~li:nth-last-child(-n+5),li:first-child:nth-last-child(n+8)~li.active~li:nth-last-child(-n+5){display:none}li:first-child:nth-last-child(n+8).active~li:nth-last-child(-n+5):before,li:first-child:nth-last-child(n+8)~li.active~li:nth-last-child(-n+5):before{display:none}li:first-child:nth-last-child(n+8).active~li:nth-child(-n+5),li:first-child:nth-last-child(n+8)~li.active~li:nth-child(-n+5){display:inline-flex !important;flex-direction:row}li:first-child:nth-last-child(n+8).active~li:nth-child(-n+4):after,li:first-child:nth-last-child(n+8)~li.active~li:nth-child(-n+4):after{display:none}li:first-child:nth-last-child(n+8).active~li:nth-child(5):after,li:first-child:nth-last-child(n+8)~li.active~li:nth-child(5):after{content:\"…\";font-size:13px;display:inline-block;margin-left:6px}li:first-child:nth-last-child(n+8).active:before,li:first-child:nth-last-child(n+8).active:after,li:first-child:nth-last-child(n+8)~li.active:before,li:first-child:nth-last-child(n+8)~li.active:after{display:none}}";
|
7
7
|
const IfxPaginationStyle0 = paginationCss;
|
@@ -25,7 +25,12 @@ const Pagination = /*@__PURE__*/ proxyCustomElement(class Pagination extends H {
|
|
25
25
|
this.total = 1;
|
26
26
|
}
|
27
27
|
setItemsPerPage(e) {
|
28
|
-
|
28
|
+
if (e.detail) {
|
29
|
+
this.itemsPerPage = parseInt(e.detail.label);
|
30
|
+
}
|
31
|
+
else {
|
32
|
+
this.itemsPerPage = 10;
|
33
|
+
}
|
29
34
|
}
|
30
35
|
componentDidLoad() {
|
31
36
|
this.calculateVisiblePageIndices();
|
@@ -145,7 +150,7 @@ const Pagination = /*@__PURE__*/ proxyCustomElement(class Pagination extends H {
|
|
145
150
|
this.initPagination(paginationElement);
|
146
151
|
}
|
147
152
|
render() {
|
148
|
-
return (h("div", { key: '
|
153
|
+
return (h("div", { key: 'fa57bfbd14b7ccfb8dbd5ef450c7db53a98bce50', "aria-label": 'a pagination', "aria-value": this.currentPage, class: "container" }, h("div", { key: 'f4eff578aa7189bbb52c0ac161faadd6a9ca2774', class: 'items__per-page-wrapper' }, h("div", { key: 'c199973fbd9d3518d21634fda3bc695bda392a24', class: 'items__per-page-label' }, "Results per Page"), h("div", { key: '3f8318383647cf41d67b5b1a0fd9c387dffe0e50', class: 'items__per-page-field' }, h("ifx-select", { key: '1cc33baebbb0d8930c8314ee5f39dbc393984d53', value: 'undefined', size: 's', placeholder: 'false', "show-search": 'false', "search-placeholder-value": 'Search...', disabled: false, error: false, "error-message": 'Error', label: '', "placeholder-value": 'Placeholder', options: '[{"value":"ten","label":"10","selected":true}, {"value":"Twenty","label":"20","selected":false}, {"value":"Thirty","label":"30","selected":false}]' }))), h("div", { key: '992b8b3219a3017fafc44d7d66be2d5997758945', class: 'items__total-wrapper' }, h("div", { key: 'ec4061b565a4dcd5fbe20fa655315328305bee4e', class: 'page__numbers-wrapper' }, h("div", { key: '67dfe394137b0edb704afe8367ed87697bbb52ee', class: "pagination" }, h("ifx-icon-button", { key: 'd6207f9becee00b57bda596fc7117bf4f757c10f', variant: 'secondary', class: "prev", color: 'primary', icon: 'arrow-left-24' }), h("ol", { key: 'c5a7300ffb926ab41a77a0e673cde2b85c8e196c' }, this.numberOfPages.map((item) => h("li", { class: `${this.internalPage === item ? 'active' : ""}` }, h("a", { href: undefined }, item)))), h("ifx-icon-button", { key: 'f2f96994c6cbd1b7c401eb9d81228d4b5dc7cfde', class: "next", variant: 'secondary', color: 'primary', icon: 'arrow-right-24' }))))));
|
149
154
|
}
|
150
155
|
get el() { return this; }
|
151
156
|
static get style() { return IfxPaginationStyle0; }
|
@@ -187,4 +192,4 @@ function defineCustomElement() {
|
|
187
192
|
|
188
193
|
export { Pagination as P, defineCustomElement as d };
|
189
194
|
|
190
|
-
//# sourceMappingURL=p-
|
195
|
+
//# sourceMappingURL=p-81357e99.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"file":"p-81357e99.js","mappings":";;;;;AAAA,MAAM,aAAa,GAAG,yjKAAyjK,CAAC;AAChlK,4BAAe,aAAa;;MCOf,UAAU;;;;;;;;QAWb,mBAAc,GAAG,UAAU,CAAA;QAC3B,iBAAY,GAAG,QAAQ,CAAA;QACvB,yBAAoB,GAAG,gBAAgB,CAAA;QACvC,aAAQ,GAAG,YAAY,CAAC;2BATF,CAAC;4BACC,CAAC;4BACD,EAAE;6BACC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CACtG,CACF,CACF,CACF,EACN;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/pagination/pagination.scss?tag=ifx-pagination&encapsulation=shadow","src/components/pagination/pagination.tsx"],"sourcesContent":["@use \"~@infineon/design-system-tokens/dist/tokens\";\n@use \"../../global/font.scss\";\n\n:host {\n display: inline-flex;\n}\n\n.container {\n display: inline-flex;\n justify-content: center;\n align-items: center;\n gap: 32px;\n font-family: var(--ifx-font-family);\n\n\n & .items__per-page-wrapper {\n display: flex;\n align-items: center;\n gap: 16px;\n\n & .items__per-page-label {\n color: #1D1D1D;\n font-size: 14px;\n font-style: normal;\n font-weight: 600;\n line-height: 20px;\n }\n\n & .items__per-page-field {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n\n & ifx-select {\n width: 92px;\n }\n }\n }\n\n & .items__total-wrapper {\n display: flex;\n justify-content: center;\n align-items: center;\n gap: 12px;\n\n & .items__total-button {\n display: flex;\n width: 40px;\n height: 40px;\n justify-content: center;\n align-items: center;\n border-radius: 100px;\n border: 1px solid #BFBBBB;\n background: #FFF;\n }\n\n & .page__numbers-wrapper {\n display: flex;\n justify-content: center;\n align-items: center;\n gap: 12px;\n\n & .page__number-item {\n display: flex;\n padding: 6px;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n gap: 10px;\n border-radius: 100px;\n\n &.active {\n background-color: #0A8276;\n\n & span {\n color: #fff;\n }\n }\n\n &:hover {\n cursor: pointer;\n }\n\n &:hover:not(.active) {\n background-color: #ddd;\n\n }\n\n &:active:not(.active) {\n background-color: #575352;\n }\n\n & span {\n display: flex;\n width: 16px;\n height: 16px;\n flex-direction: column;\n justify-content: center;\n color: #1D1D1D;\n text-align: center;\n font-size: 13px;\n font-style: normal;\n font-weight: 400;\n line-height: 20px;\n }\n }\n }\n }\n}\n\n\n.pagination {\n display: flex;\n\n & ifx-icon-button:first-of-type {\n margin-right: 12px;\n }\n\n & ifx-icon-button:last-of-type {\n margin-left: 12px;\n }\n}\n\na {\n padding: 8px;\n border-radius: 100px;\n}\n\nol {\n list-style-type: none;\n padding: 0;\n margin: 0;\n display: inline-flex;\n align-items: center;\n gap: 12px;\n}\n\nli {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n border-radius: 100px;\n\n &:hover:not(.active) {\n & a {\n background-color: #EEEDED;\n }\n }\n\n &:active:not(.active) {\n & a {\n background-color: #575352;\n color: #fff;\n }\n }\n\n &.active {\n background-color: #0A8276;\n\n & a {\n color: #fff;\n }\n }\n\n &:hover {\n cursor: pointer;\n }\n\n & a {\n text-decoration: none;\n display: flex;\n width: 16px;\n height: 16px;\n flex-direction: column;\n justify-content: center;\n color: #1D1D1D;\n text-align: center;\n font-size: 13px;\n font-style: normal;\n font-weight: 400;\n line-height: 20px;\n align-items: center;\n }\n}\n\n.prev,\n.next {\n &.disabled {\n cursor: default;\n\n &:hover {\n cursor: default;\n text-decoration: none;\n }\n }\n}\n\n.prev {\n margin-right: 2.5px;\n}\n\n.next {\n margin-left: 2.5px;\n}\n\n\n@mixin ellipsis($before: true) {\n content: \"\\2026\";\n font-size: 13px;\n display: inline-block;\n\n @if($before) {\n margin-right: 6px;\n }\n\n @else {\n margin-left: 6px;\n }\n}\n\n\n// @media(max-width:460px) {\n// li {\n\n// &:first-child,\n// &.active,\n// &.active-sibling:nth-last-child(2), // Show second to last child if the last one is active\n// &:last-child {\n// //display: inline-block !important;\n// display: inline-flex !important;\n// flex-direction: row;\n// }\n\n// $how-many-on-ends: 3; // 1,2,3,...,10 || 1,...,8,9,10\n// // There are >= 5 pages\n// &:first-child:nth-last-child(n+6) {\n\n// &~li {\n// // Start out with all siblings hidden\n// display: none;\n\n// // Show the last children in the list by default\n// &:nth-last-child(-n+#{$how-many-on-ends}) {\n// //display: inline-block;\n// display: inline-flex;\n// flex-direction: row;\n\n// }\n\n// // The child at the beginning of the last group shows ellipsis for the group\n// &:nth-last-child(#{$how-many-on-ends}) {\n// &:before {\n// @include ellipsis(true);\n// }\n// }\n\n// // The very beginning elements do not need to show ellipsis\n// // The very end elements do not need to show ellipsis\n// }\n\n\n// &.active,\n// &~li.active {\n\n// // Show ellipsis before and after the active element\n// &:before {\n// @include ellipsis(true);\n// }\n// &:after {\n// @include ellipsis(false);\n// }\n\n\n// // If the active element is in the first or last group, don't show ellipsis (siblings will take care of it)\n// &:nth-child(-n+#{$how-many-on-ends - 1}),\n// &:nth-last-child(-n+#{$how-many-on-ends - 1}) {\n// &:before, &:after {\n// display: none;\n// }\n// }\n\n// // Hide the last group if \"active\" comes before them\n// &~li:nth-last-child(-n+#{$how-many-on-ends}) {\n// display: none;\n// }\n\n// // Show the first group together if \"active\" comes before them\n// &~li:nth-child(-n+#{$how-many-on-ends}) {\n// //display: inline-block;\n// display: inline-flex;\n// flex-direction: row;\n// }\n\n// // If \"active\" is before the last member in the group, don't show ellipsis\n// &~li:nth-child(-n+#{$how-many-on-ends - 1}) {\n// &:after {\n// display: none;\n// }\n// }\n\n\n// // The child at the end of the first group shows ellipsis for the group\n// &~li:nth-child(#{$how-many-on-ends}) {\n// &:after {\n// @include ellipsis(false);\n// }\n// }\n// }\n// }\n// }\n// }\n\n@media (min-width: 400px) {\n li {\n\n &:first-child,\n &.active-sibling,\n &.active,\n &.active+li,\n &:last-child {\n //display: inline-block!important;\n display: inline-flex !important;\n flex-direction: row;\n }\n\n // There are >= 7 pages\n &:first-child:nth-last-child(n+8) {\n $how-many-on-ends: 5; // 1,2,3,4,5,...,10 || 1,...6,7,8,9,10\n\n &~li {\n // Start out with all siblings hidden\n display: none;\n\n // Show ellipsis before the previous one\n &.active-sibling:before {\n @include ellipsis(true);\n }\n\n // Show ellipsis after the next one\n &.active+li:after {\n @include ellipsis(false);\n }\n\n // Show the last children in the list by default\n &:nth-last-child(-n+#{$how-many-on-ends}) {\n //display: inline-block;\n display: inline-flex;\n flex-direction: row;\n }\n\n // The child at the beginning of the last group shows ellipsis for the group\n &:nth-last-child(#{$how-many-on-ends}) {\n &:before {\n @include ellipsis(true);\n }\n }\n\n // The very beginning elements do not need to show ellipsis\n &:nth-child(-n+#{$how-many-on-ends - 3}),\n // The very end elements do not need to show ellipsis\n &:nth-last-child(-n+#{$how-many-on-ends - 3}),\n // Even if it's a sibling to \"active\"\n &.active-sibling:nth-last-child(-n+#{$how-many-on-ends - 1}) {\n\n &:before,\n &:after {\n display: none !important;\n }\n }\n }\n\n &.active,\n &~li.active {\n\n // Hide the last group if \"active\" comes before them\n &~li:nth-last-child(-n+#{$how-many-on-ends}) {\n display: none;\n\n // If there is overlap, the element will show, but hide it's ellipsis\n &:before {\n display: none;\n }\n }\n\n // Show the first group together if \"active\" comes before them\n &~li:nth-child(-n+#{$how-many-on-ends}) {\n //display: inline-block;\n display: inline-flex !important;\n flex-direction: row;\n }\n\n // If \"active\" is before the last member in the group, don't show ellipsis\n &~li:nth-child(-n+#{$how-many-on-ends - 1}) {\n &:after {\n display: none;\n }\n }\n\n\n // The child at the end of the first group shows ellipsis for the group\n &~li:nth-child(#{$how-many-on-ends}) {\n &:after {\n @include ellipsis(false);\n }\n }\n\n // \"active\" should never show ellipsis\n &:before,\n &:after {\n display: none;\n }\n }\n }\n }\n}","import { Component, h, Element, Event, EventEmitter, Prop, State, Listen } from '@stencil/core';\n \n\n@Component({\n tag: 'ifx-pagination',\n styleUrl: 'pagination.scss',\n shadow: true\n})\nexport class Pagination {\n @Element() el;\n @Event() ifxPageChange: EventEmitter;\n @Event() ifxNextPage: EventEmitter;\n @Event() ifxPrevPage: EventEmitter;\n @Prop() currentPage: number = 0;\n @State() internalPage: number = 1;\n @State() itemsPerPage: number = 10;\n @State() numberOfPages: number[] = [];\n @Prop() total: number = 1;\n\n private CLASS_DISABLED = \"disabled\"\n private CLASS_ACTIVE = \"active\"\n private CLASS_SIBLING_ACTIVE = \"active-sibling\"\n private DATA_KEY = \"pagination\";\n\n @Listen('ifxSelect')\n setItemsPerPage(e) {\n if(e.detail) {\n this.itemsPerPage = parseInt(e.detail.label)\n } else { \n this.itemsPerPage = 10;\n }\n }\n\n componentDidLoad() {\n this.calculateVisiblePageIndices()\n var paginationElement = this.el.shadowRoot.querySelector(\".pagination\");\n let leftArrow = paginationElement.querySelector('.prev')\n this.navigateSinglePage(leftArrow, true)\n\n }\n\n calculateNumberOfPages() {\n if (isNaN(this.currentPage)) {\n this.currentPage = 1;\n }\n const total = this.total <= this.itemsPerPage ? this.itemsPerPage : this.total;\n const itemsPerPage = this.itemsPerPage;\n const totalPageNumber = Math.ceil(total / itemsPerPage);\n\n if (this.currentPage <= 0) {\n this.internalPage = 1;\n } else if (this.currentPage > totalPageNumber) {\n this.internalPage = totalPageNumber;\n } else this.internalPage = this.currentPage;\n\n this.numberOfPages = Array.from({ length: totalPageNumber }, (_, index) => index + 1);\n }\n\n componentWillLoad() {\n this.calculateNumberOfPages()\n }\n\n componentDidUpdate() {\n var paginationElement = this.el.shadowRoot.querySelector(\".pagination\");\n var listItems = paginationElement.querySelectorAll(\"li\");\n this.addEventListenersToPageItems(listItems, paginationElement)\n\n if (paginationElement.dataset[this.DATA_KEY] < this.numberOfPages) {\n paginationElement.dataset[this.DATA_KEY] = paginationElement.dataset[this.DATA_KEY];\n } else paginationElement.dataset[this.DATA_KEY] = 0;\n\n this.changePage(paginationElement, false)\n }\n\n componentWillUpdate() {\n this.calculateNumberOfPages()\n }\n\n handleEventEmission(currActive) {\n let currentPage = currActive + 1;\n let totalPages = this.numberOfPages.length;\n let prevPage = currActive === 0 ? null : currActive;\n let nextPage = currActive + 2 > totalPages ? null : currActive + 2;\n let itemsPerPage = this.itemsPerPage\n this.ifxPageChange.emit({ currentPage, totalPages, prevPage, nextPage, itemsPerPage })\n }\n\n addEventListenersToPageItems(listItems, paginationContainer) {\n listItems.forEach((item) => {\n item.addEventListener(\"click\", (e) => {\n var parent = paginationContainer;\n let listItems = parent.querySelectorAll(\"li\");\n parent.dataset[this.DATA_KEY] = Array.from(listItems).indexOf(e.currentTarget)\n this.changePage(parent, false)\n });\n });\n }\n\n initPagination(paginationContainer) {\n var listItems = paginationContainer.querySelectorAll(\"li\");\n\n paginationContainer.dataset[this.DATA_KEY] = Array.from(listItems).indexOf(paginationContainer.querySelector(\".active\"));\n\n paginationContainer.querySelector(\".prev\").addEventListener(\"click\", (e) => this.navigateSinglePage(e, false));\n paginationContainer.querySelector(\".next\").addEventListener(\"click\", (e) => this.navigateSinglePage(e, false));\n\n this.addEventListenersToPageItems(listItems, paginationContainer)\n }\n\n navigateSinglePage(e, initialValue) {\n let el = e;\n if (typeof e.target === 'object') {\n el = e.target\n }\n\n if (!el.classList.contains(this.CLASS_DISABLED)) {\n var parent = el.closest(\".pagination\");\n var currActive = parseInt(parent.dataset[this.DATA_KEY], 10);\n currActive += 1 * (el.classList.contains(\"prev\") ? -1 : 1);\n\n if (currActive === -1) {\n currActive = 0;\n }\n\n parent.dataset[this.DATA_KEY] = currActive;\n this.changePage(parent, initialValue)\n }\n }\n\n changePage(pagination, initialValue) {\n const paginationContainer = pagination;\n var listItems = paginationContainer.querySelectorAll(\"li\");\n var currActive = parseInt(paginationContainer.dataset[this.DATA_KEY], 10);\n\n listItems.forEach((item) => {\n item.classList.remove(this.CLASS_ACTIVE);\n item.classList.remove(this.CLASS_SIBLING_ACTIVE);\n });\n\n if (initialValue && this.internalPage > 1) {\n currActive = Math.floor(this.internalPage - 1);\n paginationContainer.dataset[this.DATA_KEY] = currActive;\n }\n\n this.handleEventEmission(currActive)\n\n listItems[currActive].classList.add(this.CLASS_ACTIVE);\n\n if (currActive === 0) {\n paginationContainer.querySelector(\".prev\").classList.add(this.CLASS_DISABLED);\n paginationContainer.querySelector(\".prev\").disabled = true;\n\n } else {\n listItems[currActive - 1].classList.add(this.CLASS_SIBLING_ACTIVE);\n paginationContainer.querySelector(\".prev\").classList.remove(this.CLASS_DISABLED);\n paginationContainer.querySelector(\".prev\").disabled = false;\n }\n\n if (currActive === (listItems.length - 1)) {\n paginationContainer.querySelector(\".next\").classList.add(this.CLASS_DISABLED);\n paginationContainer.querySelector(\".next\").disabled = true;\n\n } else {\n paginationContainer.querySelector(\".next\").classList.remove(this.CLASS_DISABLED);\n paginationContainer.querySelector(\".next\").disabled = false;\n }\n }\n\n calculateVisiblePageIndices() {\n var paginationElement = this.el.shadowRoot.querySelector(\".pagination\");\n this.initPagination(paginationElement)\n }\n\n render() {\n return (\n <div aria-label='a pagination' aria-value={this.currentPage} class=\"container\">\n <div class='items__per-page-wrapper'>\n <div class='items__per-page-label'>Results per Page</div>\n <div class='items__per-page-field'>\n <ifx-select\n value='undefined'\n size='s'\n placeholder='false'\n show-search='false'\n search-placeholder-value='Search...'\n disabled={false}\n error={false}\n error-message='Error'\n label=''\n placeholder-value='Placeholder'\n options='[{\"value\":\"ten\",\"label\":\"10\",\"selected\":true}, {\"value\":\"Twenty\",\"label\":\"20\",\"selected\":false}, {\"value\":\"Thirty\",\"label\":\"30\",\"selected\":false}]' >\n </ifx-select>\n </div>\n </div>\n <div class='items__total-wrapper'>\n <div class='page__numbers-wrapper'>\n <div class=\"pagination\">\n <ifx-icon-button variant='secondary' class=\"prev\" color='primary' icon='arrow-left-24'></ifx-icon-button>\n <ol>\n {this.numberOfPages.map((item) =>\n <li class={`${this.internalPage === item ? 'active' : \"\"}`}><a href={undefined}>{item}</a></li>)}\n </ol>\n <ifx-icon-button class=\"next\" variant='secondary' color='primary' icon='arrow-right-24'></ifx-icon-button>\n </div>\n </div>\n </div>\n </div>\n );\n }\n}"],"version":3}
|