@infineon/infineon-design-system-stencil 32.1.3--canary.1732.d3813f209f738a14784b9c29ce072ceb36068e2f.0 → 32.2.0--canary.1735.73ac0fc3ba8a84e7408b2b0ddf5922d4ab28ecf8.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-alert_2.cjs.entry.js +1 -1
- package/dist/cjs/ifx-basic-table.cjs.entry.js +1 -1
- package/dist/cjs/ifx-checkbox-group.cjs.entry.js +1 -1
- package/dist/cjs/ifx-checkbox-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ifx-chip_3.cjs.entry.js +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-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 +4 -11
- package/dist/cjs/ifx-radio-button.cjs.entry.js.map +1 -1
- 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 +11 -2
- 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_2.cjs.entry.js +6 -6
- 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-templates-ui.cjs.entry.js +1 -1
- package/dist/cjs/ifx-textarea.cjs.entry.js +1 -1
- package/dist/cjs/ifx-tooltip.cjs.entry.js +4 -4
- package/dist/cjs/index-1ce5aae1.js +0 -4
- package/dist/cjs/infineon-design-system-stencil.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +0 -1
- package/dist/collection/components/checkbox-group/checkbox-group.css +2 -3
- 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 +1 -1
- package/dist/collection/components/progress-bar/progress-bar.js +1 -1
- package/dist/collection/components/radio-button/radio-button.css +0 -4
- package/dist/collection/components/radio-button/radio-button.js +2 -25
- package/dist/collection/components/radio-button/radio-button.js.map +1 -1
- package/dist/collection/components/radio-button/radio-button.stories.js +1 -13
- package/dist/collection/components/radio-button/radio-button.stories.js.map +1 -1
- 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.js +11 -2
- 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/templates/template/template.js +1 -1
- package/dist/collection/components/templates/templates-ui/templates-ui.js +1 -1
- package/dist/collection/components/text-field/text-field.js +4 -4
- package/dist/collection/components/textarea/textarea.js +1 -1
- 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-checkbox-group.js +1 -1
- package/dist/components/ifx-checkbox-group.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-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 +1 -1
- 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-template.js +1 -1
- package/dist/components/ifx-templates-ui.js +4 -4
- package/dist/components/ifx-text-field.js +1 -1
- package/dist/components/ifx-textarea.js +1 -1
- package/dist/components/ifx-tooltip.js +4 -4
- package/dist/components/{p-6758b716.js → p-25dce5bf.js} +2 -2
- package/dist/components/{p-6758b716.js.map → p-25dce5bf.js.map} +1 -1
- package/dist/components/{p-da211009.js → p-2eb42cd6.js} +12 -3
- package/dist/components/p-2eb42cd6.js.map +1 -0
- package/dist/components/{p-c24216e7.js → p-3d46d2af.js} +5 -5
- package/dist/components/{p-c24216e7.js.map → p-3d46d2af.js.map} +1 -1
- package/dist/components/{p-1ab9b2d3.js → p-432e892a.js} +3 -3
- package/dist/components/{p-1ab9b2d3.js.map → p-432e892a.js.map} +1 -1
- package/dist/components/{p-efb9a50a.js → p-47853a7b.js} +3 -3
- package/dist/components/{p-efb9a50a.js.map → p-47853a7b.js.map} +1 -1
- package/dist/components/{p-bf0b6855.js → p-80856f14.js} +4 -4
- package/dist/components/{p-bf0b6855.js.map → p-80856f14.js.map} +1 -1
- package/dist/components/{p-e3b1b73d.js → p-977668df.js} +6 -14
- package/dist/components/p-977668df.js.map +1 -0
- package/dist/esm/ifx-alert_2.entry.js +1 -1
- package/dist/esm/ifx-basic-table.entry.js +1 -1
- package/dist/esm/ifx-checkbox-group.entry.js +1 -1
- package/dist/esm/ifx-checkbox-group.entry.js.map +1 -1
- package/dist/esm/ifx-chip_3.entry.js +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-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 +4 -11
- package/dist/esm/ifx-radio-button.entry.js.map +1 -1
- 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 +11 -2
- package/dist/esm/ifx-select.entry.js.map +1 -1
- package/dist/esm/ifx-slider.entry.js +2 -2
- package/dist/esm/ifx-spinner_2.entry.js +6 -6
- 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-templates-ui.entry.js +1 -1
- package/dist/esm/ifx-textarea.entry.js +1 -1
- package/dist/esm/ifx-tooltip.entry.js +4 -4
- package/dist/esm/index-b4eaf00e.js +0 -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-094349b2.entry.js +2 -0
- package/dist/infineon-design-system-stencil/p-094349b2.entry.js.map +1 -0
- package/dist/infineon-design-system-stencil/{p-0ed489eb.entry.js → p-0c747aac.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-724a6be7.entry.js → p-0c8e65cc.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/p-0c8e65cc.entry.js.map +1 -0
- package/dist/infineon-design-system-stencil/{p-a2616b8d.entry.js → p-16430d76.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-44c3ef6d.entry.js → p-182854c8.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/p-19ebd7a9.entry.js +2 -0
- package/dist/infineon-design-system-stencil/p-19ebd7a9.entry.js.map +1 -0
- package/dist/infineon-design-system-stencil/{p-48701f83.entry.js → p-1a93de53.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-137b4109.entry.js → p-1b907dbd.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-ce37b499.entry.js → p-1c869534.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-2c83ff9d.entry.js → p-260c4f53.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-e58a1c25.entry.js → p-272aab7f.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-0682ec9e.entry.js → p-2d8c79bc.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-9bc3708f.entry.js → p-37e5b4b4.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-8a92bb07.entry.js → p-386f62f0.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-73b7e3a5.entry.js → p-4ea09b73.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-6ede583b.entry.js → p-65b50486.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-bb2885be.entry.js → p-7b9fd2df.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-1d4fc278.entry.js → p-8276469c.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/p-89c4fae2.entry.js +2 -0
- package/dist/infineon-design-system-stencil/{p-ece5ec08.entry.js → p-8ab52cac.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-e69d348c.entry.js → p-8c0927d0.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/p-939f2f37.entry.js +2 -0
- package/dist/infineon-design-system-stencil/{p-484ab7c4.entry.js.map → p-939f2f37.entry.js.map} +1 -1
- package/dist/infineon-design-system-stencil/{p-ebef8ea8.entry.js → p-9901114e.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/p-a1d3859e.entry.js +2 -0
- package/dist/infineon-design-system-stencil/p-a1d3859e.entry.js.map +1 -0
- package/dist/infineon-design-system-stencil/{p-62396204.entry.js → p-b0156752.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-a8fdba36.entry.js → p-b1bd480b.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-daa1ac45.entry.js → p-c8fecc8e.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-b4982f52.entry.js → p-ccba569e.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-c70eddd7.entry.js → p-d2998185.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-6cf93534.entry.js → p-f8f10567.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-42103a85.entry.js → p-f9298124.entry.js} +2 -2
- package/dist/types/components/radio-button/radio-button.d.ts +0 -2
- package/dist/types/components/radio-button/radio-button.stories.d.ts +0 -11
- package/dist/types/components/select/single-select/select.d.ts +1 -0
- package/dist/types/components.d.ts +0 -30
- package/package.json +1 -1
- package/dist/cjs/ifx-radio-button-group.cjs.entry.js +0 -61
- package/dist/cjs/ifx-radio-button-group.cjs.entry.js.map +0 -1
- package/dist/collection/components/radio-button-group/radio-button-group.css +0 -60
- package/dist/collection/components/radio-button-group/radio-button-group.js +0 -238
- package/dist/collection/components/radio-button-group/radio-button-group.js.map +0 -1
- package/dist/collection/components/radio-button-group/radio-button-group.stories.js +0 -143
- package/dist/collection/components/radio-button-group/radio-button-group.stories.js.map +0 -1
- package/dist/components/ifx-radio-button-group.d.ts +0 -11
- package/dist/components/ifx-radio-button-group.js +0 -91
- package/dist/components/ifx-radio-button-group.js.map +0 -1
- package/dist/components/p-da211009.js.map +0 -1
- package/dist/components/p-e3b1b73d.js.map +0 -1
- package/dist/esm/ifx-radio-button-group.entry.js +0 -57
- package/dist/esm/ifx-radio-button-group.entry.js.map +0 -1
- package/dist/infineon-design-system-stencil/p-484ab7c4.entry.js +0 -2
- package/dist/infineon-design-system-stencil/p-71b5d16a.entry.js +0 -2
- package/dist/infineon-design-system-stencil/p-71b5d16a.entry.js.map +0 -1
- package/dist/infineon-design-system-stencil/p-724a6be7.entry.js.map +0 -1
- package/dist/infineon-design-system-stencil/p-778a65ae.entry.js +0 -2
- package/dist/infineon-design-system-stencil/p-7a2688a5.entry.js +0 -2
- package/dist/infineon-design-system-stencil/p-7a2688a5.entry.js.map +0 -1
- package/dist/infineon-design-system-stencil/p-9631e187.entry.js +0 -2
- package/dist/infineon-design-system-stencil/p-9631e187.entry.js.map +0 -1
- package/dist/infineon-design-system-stencil/p-f24935f6.entry.js +0 -2
- package/dist/infineon-design-system-stencil/p-f24935f6.entry.js.map +0 -1
- package/dist/types/components/radio-button-group/radio-button-group.d.ts +0 -19
- package/dist/types/components/radio-button-group/radio-button-group.stories.d.ts +0 -171
- /package/dist/infineon-design-system-stencil/{p-0ed489eb.entry.js.map → p-0c747aac.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-a2616b8d.entry.js.map → p-16430d76.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-44c3ef6d.entry.js.map → p-182854c8.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-48701f83.entry.js.map → p-1a93de53.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-137b4109.entry.js.map → p-1b907dbd.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-ce37b499.entry.js.map → p-1c869534.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-2c83ff9d.entry.js.map → p-260c4f53.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-e58a1c25.entry.js.map → p-272aab7f.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-0682ec9e.entry.js.map → p-2d8c79bc.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-9bc3708f.entry.js.map → p-37e5b4b4.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-8a92bb07.entry.js.map → p-386f62f0.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-73b7e3a5.entry.js.map → p-4ea09b73.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-6ede583b.entry.js.map → p-65b50486.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-bb2885be.entry.js.map → p-7b9fd2df.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-1d4fc278.entry.js.map → p-8276469c.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-778a65ae.entry.js.map → p-89c4fae2.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-ece5ec08.entry.js.map → p-8ab52cac.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-e69d348c.entry.js.map → p-8c0927d0.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-ebef8ea8.entry.js.map → p-9901114e.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-62396204.entry.js.map → p-b0156752.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-a8fdba36.entry.js.map → p-b1bd480b.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-daa1ac45.entry.js.map → p-c8fecc8e.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-b4982f52.entry.js.map → p-ccba569e.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-c70eddd7.entry.js.map → p-d2998185.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-6cf93534.entry.js.map → p-f8f10567.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-42103a85.entry.js.map → p-f9298124.entry.js.map} +0 -0
@@ -20,7 +20,7 @@ const ProgressBar = /*@__PURE__*/ proxyCustomElement(class ProgressBar extends H
|
|
20
20
|
this.internalValue = this.value;
|
21
21
|
}
|
22
22
|
render() {
|
23
|
-
return (h("div", { key: '
|
23
|
+
return (h("div", { key: '9a1fc68c768dc22c5926f0eae299862f2d2de371', "aria-label": 'a progress bar', "aria-value": this.value, class: `progress-bar ${this.size}` }, h("div", { key: '6e847900044f4bc04eacbcc194ffac8bf6b83e0a', class: "progress", style: { width: `${this.internalValue}%` } }, this.showLabel && this.size !== "s" && this.internalValue !== 0 && h("span", { key: '8e6fa2713fbcd0b956b8f27b873816adc0c3cb7f', class: "label" }, `${this.internalValue}%`))));
|
24
24
|
}
|
25
25
|
static get watchers() { return {
|
26
26
|
"value": ["valueChanged"]
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, h } from './p-e27586b6.js';
|
2
2
|
import { d as defineCustomElement$3 } from './p-4cd3a589.js';
|
3
|
-
import { d as defineCustomElement$2 } from './p-
|
3
|
+
import { d as defineCustomElement$2 } from './p-25dce5bf.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;
|
@@ -40,7 +40,7 @@ const SearchBar = /*@__PURE__*/ proxyCustomElement(class SearchBar extends H {
|
|
40
40
|
this.value = event.detail;
|
41
41
|
}
|
42
42
|
render() {
|
43
|
-
return (h("div", { key: '
|
43
|
+
return (h("div", { key: '9a6033dd56aecd4444cf7b5bee7916ce8d534760', "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" })))));
|
44
44
|
}
|
45
45
|
get el() { return this; }
|
46
46
|
static get watchers() { return {
|
@@ -27,7 +27,7 @@ const Segment = /*@__PURE__*/ proxyCustomElement(class Segment extends H {
|
|
27
27
|
}
|
28
28
|
}
|
29
29
|
render() {
|
30
|
-
return (h("div", { key: '
|
30
|
+
return (h("div", { key: '82774e43f27d8995c36d7d356780bbe14b76f70c', class: `segment ${this.selected ? 'segment--selected' : ''}`, tabIndex: 0, onClick: () => { this.handleSegmentClick(); }, onKeyDown: (e) => { this.handleSegmentKeyDown(e); } }, h("ifx-icon", { key: '58ea805311f071bf39562bb043a4ea4e77b6cd57', icon: this.icon }), " ", h("slot", { key: '659727a8768c1988b251d795c9a7ae5b9554b1f0' })));
|
31
31
|
}
|
32
32
|
static get style() { return IfxSegmentStyle0; }
|
33
33
|
}, [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: '9fb656fefd8b61e7c563ac77a20a303d40c6f146', "aria-value": this.selectedValue, "aria-label": 'segmented control', class: 'group' }, h("div", { key: 'de4f8bf1f2404f106ff180167bf4c79abd2b165b', class: 'group__label' }, this.label.trim()), h("div", { key: 'e110c6c98b981142df08e7dda574b2d3e102a19d', class: 'group__controls' }, h("slot", { key: '3dd13439a68201c2f42104c4853b371c669e18df' })), this.caption.trim() &&
|
75
|
+
h("div", { key: '946fe774c7cf3f9642447b9a8cb0e258d3f9d493', class: 'group__caption' }, h("ifx-icon", { key: '39f21a9eae4961da05f38d6930bcc373671e9794', 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-d8045654.js';
|
|
3
3
|
import { d as defineCustomElement$6 } from './p-ec51e955.js';
|
4
4
|
import { d as defineCustomElement$5 } from './p-4cd3a589.js';
|
5
5
|
import { d as defineCustomElement$4 } from './p-9c7d6c8c.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-2eb42cd6.js';
|
7
|
+
import { d as defineCustomElement$2 } from './p-3d46d2af.js';
|
8
8
|
|
9
9
|
const setFilterCss = "";
|
10
10
|
const IfxSetFilterStyle0 = setFilterCss;
|
@@ -145,10 +145,10 @@ const IfxSlider$1 = /*@__PURE__*/ proxyCustomElement(class IfxSlider extends H {
|
|
145
145
|
this.updateValuePercent();
|
146
146
|
}
|
147
147
|
render() {
|
148
|
-
return (h("div", { key: '
|
148
|
+
return (h("div", { key: '3a43035d99bb5ae166d215994ba35dcc0a72f800', class: "ifx-slider" }, this.leftText && (h("span", { key: 'b5b672dd97b5fbe71f4e23ac0f35311fb4014112', class: `left-text` }, this.leftText)), this.leftIcon && (h("ifx-icon", { key: '1b167231afc1aba9165c7b0e340ba692ffb3ec04', icon: this.leftIcon, class: `left-icon${this.disabled ? ' disabled' : ''}` })), (this.type !== 'double') ?
|
149
149
|
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 })
|
150
150
|
:
|
151
|
-
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: '
|
151
|
+
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: '7b199e3e1024289bfde3e200c3b03b1a7600f7fd', icon: this.rightIcon, class: `right-icon${this.disabled ? ' disabled' : ''}` })), this.rightText && (h("span", { key: 'a77ecafe2e47167c7014fdf5aa710d59cfc18659', class: `right-text${this.disabled ? ' disabled' : ''}` }, this.rightText)), this.showPercentage && (this.type !== "double") && (h("span", { key: '344dd484214e0a5cbd4a530cfaec229f90dc7e7a', class: `percentage-display${this.disabled ? ' disabled' : ''}` }, this.percentage, "%"))));
|
152
152
|
}
|
153
153
|
get el() { return this; }
|
154
154
|
static get watchers() { return {
|
@@ -15,7 +15,7 @@ const Status = /*@__PURE__*/ proxyCustomElement(class Status extends H {
|
|
15
15
|
var _a;
|
16
16
|
const effectiveColor = ((_a = this.color) === null || _a === void 0 ? void 0 : _a.trim()) ? this.color : 'orange-500';
|
17
17
|
const containerClass = this.border ? `container border-${effectiveColor}` : 'container no-border';
|
18
|
-
return (h("div", { key: '
|
18
|
+
return (h("div", { key: 'd6594837b2884bfcb3aa73a47f335a240c6567b2', "aria-label": "a status indicator", "aria-value": this.label, class: containerClass }, h("span", { key: 'ebb8c7eaeb4a951ade8568b5fa08ba479e2f614d', class: `dot ${effectiveColor}` }), h("p", { key: '3061c0fa17b6f1f4895f43e627496c3469976191', class: "text" }, this.label)));
|
19
19
|
}
|
20
20
|
static get style() { return IfxStatusStyle0; }
|
21
21
|
}, [1, "ifx-status", {
|
@@ -50,7 +50,7 @@ const Step = /*@__PURE__*/ proxyCustomElement(class Step extends H {
|
|
50
50
|
}
|
51
51
|
}
|
52
52
|
render() {
|
53
|
-
return (h("div", { key: '
|
53
|
+
return (h("div", { key: 'cbee70d7f0f5c76a09d48423566bc3d485cd929a', "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' : ''}
|
54
54
|
${this.error ? 'error' : ''}
|
55
55
|
${this.stepperState.variant}
|
56
56
|
${this.complete ? 'complete' : ''}
|
@@ -58,11 +58,11 @@ const Step = /*@__PURE__*/ proxyCustomElement(class Step extends H {
|
|
58
58
|
indicator-${this.stepperState.indicatorPosition}
|
59
59
|
${this.active ? 'active' : ''}
|
60
60
|
${this.clickable ? 'clickable' : ''}
|
61
|
-
${this.disabled ? 'disabled' : ''}` }, h("div", { key: '
|
62
|
-
h("div", { key: '
|
61
|
+
${this.disabled ? 'disabled' : ''}` }, h("div", { key: 'fee2738c8478680320ec50c53a92d6e7b92a86e3', class: 'step-icon-wrapper' }, this.stepperState.variant !== 'compact' && h("span", { key: '96aa1a741cd013b6ae17f32de2725c368ea51618', class: 'step-connector-l' }), (this.stepperState.variant !== 'compact' && (!this.error || (this.error && this.active))) &&
|
62
|
+
h("div", { key: 'c9c696ac8898befd165fed334c36e7f77c91aa4f', class: 'step-icon' }, (this.stepperState.showStepNumber && !this.complete && !this.active) ? this.stepId : '', (this.complete && !this.active) && h("ifx-icon", { key: '98ff6e603c94aa1a57c5f8491dcf2a17cd4a4864', icon: 'check16' }), this.active && h("span", { key: '2fc5ce8a43ef62ecae07fbf25688af0b629b8e6d', class: 'active-indic' })), (this.stepperState.variant !== 'compact' && this.error && !this.active) && h("ifx-icon", { key: '72db4eb91a114022e470d14e035c1ff4364f6f00', icon: 'warningf24' }), this.stepperState.variant !== 'compact' && h("span", { key: '0a215fa7c2df964b4743f0fb0b16652b92003bfa', class: `step-connector-r ${this.active ? 'active' : ''}` })),
|
63
63
|
/* Step labels */
|
64
64
|
(this.stepperState.variant !== 'compact' || (this.stepperState.variant === 'compact' && (this.active || this.stepId === this.stepperState.activeStep + 1))) &&
|
65
|
-
h("div", { key: '
|
65
|
+
h("div", { key: '9b77faa804a42714b79535bfe530854c68ca6372', 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: 'a84af39da90db9e59e3b614f63de9802161a0e51' }), this.stepperState.variant === 'compact' && !this.active ? 'Next: ' : '', this.stepperState.variant === 'compact' && h("slot", { key: 'bdfaff2aed9faf5503fb89b7e2105c48d721dbe2' }))));
|
66
66
|
}
|
67
67
|
;
|
68
68
|
static get watchers() { return {
|
@@ -124,10 +124,10 @@ const Stepper = /*@__PURE__*/ proxyCustomElement(class Stepper extends H {
|
|
124
124
|
this.syncIfxSteps();
|
125
125
|
}
|
126
126
|
render() {
|
127
|
-
return (h("div", { key: '
|
127
|
+
return (h("div", { key: 'c7e51b5fe17beb80cac38fe0da1600f44b4ca111', "aria-label": 'a stepper', role: 'navigation', class: `stepper ${(this.variant !== 'compact' && this.variant !== 'vertical') ? 'default' : this.variant} ${this.variant === 'compact' ? 'compact-' + this.indicatorPosition : ''}` },
|
128
128
|
/* Progress bar for compact variant. */
|
129
129
|
(this.variant === 'compact') &&
|
130
|
-
h("div", { key: '
|
130
|
+
h("div", { key: '233c1234510997adab316ffb47e341c575036b95', class: 'stepper-progress' }, h("div", { key: '45c775b8727bac00e4c57a6e6e6129fe320e5a5b', class: 'progress-detail' }, `${Math.min(this.activeStep, this.stepsCount)} of ${this.stepsCount}`)), h("div", { key: '35ad66a86c1b1f6d008a232ae33944a3d7e122a6', class: `stepper-wrapper` }, h("slot", { key: '671a05ed6ce3927369e202f2a9218944bb6bb7cf' }))));
|
131
131
|
}
|
132
132
|
;
|
133
133
|
componentDidRender() {
|
@@ -72,7 +72,7 @@ const Switch = /*@__PURE__*/ proxyCustomElement(class Switch extends H {
|
|
72
72
|
this.internals.setFormValue(null);
|
73
73
|
}
|
74
74
|
render() {
|
75
|
-
return (h("div", { key: '
|
75
|
+
return (h("div", { key: '0481403a878470cdb42c03be663b88f19fe59c58', 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: 'c84f8e06349d1ffa03efb077e64881b12c4ac640', class: `switch__checkbox-container ${this.internalChecked ? 'checked' : ''} ${this.disabled ? 'disabled' : ''}`, tabindex: "0" }, h("div", { key: '533ca85af87c3edff93c76aaa0860f997b107e67', class: "switch__checkbox-wrapper" }, h("input", { key: 'fd9a8c6442c321a81161645c7e84f1d03cae3002', type: "checkbox", hidden: true, name: this.name, disabled: this.disabled, checked: this.internalChecked, value: `${this.value}` }), h("div", { key: 'ad951898b5b38de29aff0be91f734d443399f050', class: `switch ${this.internalChecked ? 'checked' : ''} ${this.disabled ? 'disabled' : ''}` }))), h("div", { key: '14219d030661fed97b8210d67ec3794147884225', class: `switch__label-wrapper ${this.disabled ? 'disabled' : ''}` }, h("label", { key: '3892d20ad28a1f1823e8302e9820973df938ee70', htmlFor: "switch" }, h("slot", { key: 'e350367180975d30978ec7c7d026b34e86c79741', onSlotchange: () => this.toggleLabelGap() })))));
|
76
76
|
}
|
77
77
|
static get formAssociated() { return true; }
|
78
78
|
get el() { return this; }
|
@@ -15,7 +15,7 @@ const IfxTab$1 = /*@__PURE__*/ proxyCustomElement(class IfxTab extends H {
|
|
15
15
|
this.tabHeaderChange.emit(this.header);
|
16
16
|
}
|
17
17
|
render() {
|
18
|
-
return h("slot", { key: '
|
18
|
+
return h("slot", { key: '845e795d2a758c1612b8601ea2eafab0385f02dc' });
|
19
19
|
}
|
20
20
|
get el() { return this; }
|
21
21
|
static get style() { return IfxTabStyle0; }
|
@@ -8,8 +8,8 @@ import { d as defineCustomElement$7 } from './p-2cb994f0.js';
|
|
8
8
|
import { d as defineCustomElement$6 } from './p-4cd3a589.js';
|
9
9
|
import { d as defineCustomElement$5 } from './p-5f01ab1d.js';
|
10
10
|
import { d as defineCustomElement$4 } from './p-6925a52c.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-432e892a.js';
|
12
|
+
import { d as defineCustomElement$2 } from './p-2eb42cd6.js';
|
13
13
|
|
14
14
|
class ButtonCellRenderer {
|
15
15
|
init(params) {
|
@@ -465,12 +465,12 @@ const Table = /*@__PURE__*/ proxyCustomElement(class Table extends H {
|
|
465
465
|
};
|
466
466
|
}
|
467
467
|
const filterClass = this.filterOrientation === 'topbar' ? 'topbar-layout' : 'sidebar-layout';
|
468
|
-
return (h(Host, { key: '
|
468
|
+
return (h(Host, { key: 'ef6d50ee7b08b86a5534feed83df514f7de1ca6d' }, h("div", { key: 'c3d3184293fe3b7bb34ca87126f56acc5abe2812', class: "table-container" }, this.filterOrientation === 'sidebar' && (h("div", { key: 'f0cd79a6d7a912f629a170998f53575c047529df', class: "sidebar-btn" }, h("ifx-button", { key: 'd4ac7961a437f6e18628693e3dee32ff357326c0', type: "button", disabled: false, variant: "secondary", size: "m", target: "_blank", theme: "default", "full-width": "false", onClick: () => this.toggleSidebarFilters() }, h("ifx-icon", { key: 'a46b1fc02a4a7888ed02aa7b7599f2687bb43291', icon: "cross-12" }), this.showSidebarFilters ? 'Hide Filters' : 'Show Filters'))), h("div", { key: '6f76f786bb6d06f02cbd54735bf042adbf892ae8', class: filterClass }, this.filterOrientation === 'sidebar' && this.showSidebarFilters && (h("div", { key: 'bc5966d2c801c7a660949ede006c3b9e81d228dc', class: "sidebar-container" }, h("div", { key: '646d3a6b689bedac78db621b50ba49b3f235f590', class: "filters-title-container" }, h("span", { key: '75420b67f11bd70a7bf88f6733a960b3b12a0877', class: "filters-title" }, "Filters")), h("div", { key: '4a26a7e37038cc124c5602871e9ae3efd03ece38', class: "set-filter-wrapper-sidebar" }, (this.filterOrientation !== 'sidebar' || this.showSidebarFilters) && (h("slot", { key: 'b57db55a41c57f5421c5a1cf1f41e1a895d70752', name: "sidebar-filter" }))))), this.filterOrientation !== 'none' && this.filterOrientation !== 'sidebar' && (h("div", { key: 'd44dd84651cd5a88736adb2ee3b93105569ea621', class: "set-filter-wrapper-topbar" }, (this.filterOrientation !== 'sidebar' || this.showSidebarFilters) && (h("slot", { key: '75cd86d074b880b9227df048222e6e1f71444c5c', name: "topbar-filter" })))), h("div", { key: '22ce3434d5073daac916a81975347c2635ebface', class: "table-pagination-wrapper" }, h("div", { key: '9986934e5c38ef7801523ba32edc9bc96d28cf91', class: "filter-chips" }, this.filterOrientation !== 'none' && this.filterOrientation !== 'topbar' && this.showSidebarFilters && (Object.keys(this.currentFilters).map(name => {
|
469
469
|
const filter = this.currentFilters[name];
|
470
470
|
const filterValues = filter.filterValues;
|
471
471
|
const isMultiSelect = filter.type !== 'text';
|
472
472
|
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;
|
473
|
-
})), this.filterOrientation !== 'none' && this.filterOrientation === 'sidebar' && this.showSidebarFilters && Object.keys(this.currentFilters).length > 0 && (h("ifx-button", { key: '
|
473
|
+
})), this.filterOrientation !== 'none' && this.filterOrientation === 'sidebar' && this.showSidebarFilters && Object.keys(this.currentFilters).length > 0 && (h("ifx-button", { key: 'c4bfcc611183bac5a09d0b4abc50e072e22c8bad', type: "button", disabled: false, variant: "tertiary", size: "m", target: "_blank", theme: "default", "full-width": "false", onClick: () => this.handleResetButtonClick() }, h("ifx-icon", { key: 'a0a23f693e59bb22d4d6d70d3a7fe37c4da70c87', icon: "curved-arrow-left-16" }), "Reset all"))), this.filterOrientation !== 'none' && (h("div", { key: '2d8e228d37046165d08054ba76cd3888224e2567', class: "matching-results-container" }, h("span", { key: 'fa68665c33fa576c64fd3def0eb0d1a2be287458', class: "matching-results-count" }, this.matchingResultsCount), h("span", { key: '6ce30960e908bc45f4d9d61f008174035ebd0f73', class: "matching-results-text" }, "matching results"))), h("div", { key: 'e888428f6e43473ccc1b18ee0a75f49c750ec70e', id: "table-wrapper", class: this.getTableClassNames() }, h("div", { key: 'c01494f8e3648908326f65d914c91a3a071f8c8d', 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, "items-per-page": '[{"value":"ten","label":"10","selected":true}, {"value":"Twenty","label":"20","selected":false}, {"value":"Thirty","label":"30","selected":false}]' }) : null)))));
|
474
474
|
}
|
475
475
|
hasButtonCol() {
|
476
476
|
return this.getColData().some(column => column.field === 'button');
|
@@ -200,9 +200,9 @@ const IfxTabs$1 = /*@__PURE__*/ proxyCustomElement(class IfxTabs extends H {
|
|
200
200
|
}
|
201
201
|
render() {
|
202
202
|
var _a;
|
203
|
-
return (h("div", { key: '
|
203
|
+
return (h("div", { key: 'd4e05ff054e60c53638ed293d85986b20a831f9c', "aria-label": "navigation tabs", class: `tabs ${this.internalOrientation}` }, h("ul", { key: '6815e7449952ed21744ffe024d356bbd1e1ebc8a', role: "tablist", class: "tabs-list" }, (_a = this.tabObjects) === null || _a === void 0 ? void 0 :
|
204
204
|
_a.map((tab, index) => (h("li", { class: this.getTabItemClass(index), ref: (el) => (this.tabHeaderRefs[index] = el), onMouseDown: (event) => event.preventDefault(), 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 :
|
205
|
-
tab.header))), h("div", { key: '
|
205
|
+
tab.header))), h("div", { key: '77b59e1fca18afe592610a35a26569538851b2b1', class: "active-border" })), h("div", { key: '89c6c472aee1a525e8be3a7d19008b372300b06c', class: "tab-content" }, Array.from(this.tabObjects).map((_, index) => (h("div", { style: { display: index === this.internalActiveTabIndex ? 'block' : 'none' } }, h("slot", { name: `tab-${index}` })))))));
|
206
206
|
}
|
207
207
|
get el() { return this; }
|
208
208
|
static get watchers() { return {
|
@@ -11,7 +11,7 @@ const Tag = /*@__PURE__*/ proxyCustomElement(class Tag extends H {
|
|
11
11
|
this.__attachShadow();
|
12
12
|
}
|
13
13
|
render() {
|
14
|
-
return (h("div", { key: '
|
14
|
+
return (h("div", { key: 'ebe5d8e2f3bc59ad1bdef92eb7e4fbc7a07f9c4c', "aria-label": "a tag", class: "container" }, this.icon && (h("ifx-icon", { key: 'accc8280c6248bb81a2d139e85da8a048329e917', icon: this.icon })), h("a", { key: '1282f2372cc961db61fefee89e2a21bf1a998537', href: "javascript:void(null);", class: "label-wrapper" }, h("p", { key: '76534734832475e44606e0fed6d3577802525d2f', class: "label" }, h("slot", { key: '6d422addc814889fc71d851bc2dc3ab65a7cb3e6' })))));
|
15
15
|
}
|
16
16
|
static get style() { return IfxTagStyle0; }
|
17
17
|
}, [1, "ifx-tag", {
|
@@ -4,9 +4,9 @@ import { d as defineCustomElement$8 } from './p-c7cced92.js';
|
|
4
4
|
import { d as defineCustomElement$7 } from './p-4cd3a589.js';
|
5
5
|
import { d as defineCustomElement$6 } from './p-5f01ab1d.js';
|
6
6
|
import { d as defineCustomElement$5 } from './p-be22dd11.js';
|
7
|
-
import { d as defineCustomElement$4 } from './p-
|
8
|
-
import { d as defineCustomElement$3 } from './p-
|
9
|
-
import { d as defineCustomElement$2 } from './p-
|
7
|
+
import { d as defineCustomElement$4 } from './p-47853a7b.js';
|
8
|
+
import { d as defineCustomElement$3 } from './p-80856f14.js';
|
9
|
+
import { d as defineCustomElement$2 } from './p-3d46d2af.js';
|
10
10
|
|
11
11
|
const templatesUiCss = "*{padding:0;margin:0}.templates__container{display:flex;flex-direction:column;align-items:center}.templates__container .back__btn-wrapper{display:none}.templates__container .back__btn-wrapper.show{display:flex;justify-content:space-between;width:100%}.templates__container .back__btn-wrapper .alert__wrapper{display:none}.templates__container .back__btn-wrapper .alert__wrapper.show{display:block}.templates__container .templates__wrapper{display:flex;padding:20px 0px;gap:20px;flex-wrap:wrap}.templates__container .templates__title.hide{display:none}";
|
12
12
|
const IfxTemplatesUiStyle0 = templatesUiCss;
|
@@ -55,7 +55,7 @@ const TemplatesUI = /*@__PURE__*/ proxyCustomElement(class TemplatesUI extends H
|
|
55
55
|
alertWrapper.classList.remove('show');
|
56
56
|
}
|
57
57
|
render() {
|
58
|
-
return (h("div", { key: '
|
58
|
+
return (h("div", { key: '23e25649965f489853cb1ba784a53479e53847fb', class: 'templates__container' }, h("div", { key: '2eac1a1cba9d1f33fde04c0ea2589758efcafbd2', class: "back__btn-wrapper" }, h("ifx-icon-button", { key: '7244dba86edf6f82f77e621e412ccce4f2af38c2', onClick: () => this.filterTemplates(false), shape: "round", variant: "tertiary", icon: "arrow-left-16", target: "_blank", size: "m" }), h("div", { key: '58045bb50dbcc65ce2320277983f81a0f429f735', class: "alert__wrapper" }, h("ifx-alert", { key: '591a2adff63451c789490bfa086156099abce152', onClick: () => this.closeAlert(), "aria-live": "assertive", variant: "danger", icon: "c-info-24" }, "All fields are mandatory"))), h("h2", { key: 'f655cc87e64cfdc7a66b44e3e145a35ae594f66c', class: "templates__title" }, "Choose your template"), h("div", { key: '81019e69e74c00df6425ed113d0b3f9c657b96ef', class: "templates__wrapper" }, h("ifx-template", { key: '458caa648b5cfc03d821f1614659e10a17350eaa', name: 'template-01', thumbnail: this.tableTemplate }), h("ifx-template", { key: '33401929cfc91de74dc2f9c2a083c7c230c3b9c4', name: 'template-02', thumbnail: this.wizardTemplate }))));
|
59
59
|
}
|
60
60
|
static get assetsDirs() { return ["assets"]; }
|
61
61
|
get el() { return this; }
|
@@ -53,7 +53,7 @@ const TextArea = /*@__PURE__*/ proxyCustomElement(class TextArea extends H {
|
|
53
53
|
}
|
54
54
|
render() {
|
55
55
|
var _a, _b;
|
56
|
-
return (h(Host, { key: '
|
56
|
+
return (h(Host, { key: 'f6dad1fd412d07775ede50165eee294a1bb527c7', class: `wrapper--${this.error ? 'error' : ''} wrapper--${this.disabled ? 'disabled' : ''}` }, h("label", { key: 'd9e433cf857369d09e9dc7b4439e4186f5c71dfa', class: 'wrapper__label', htmlFor: this.inputId }, (_a = this.label) === null || _a === void 0 ? void 0 : _a.trim()), h("div", { key: '9230ede30b10f47dc2868784e1bd5e41f6b1980c', class: 'wrapper__textarea' }, h("textarea", { key: '4499888b439a4f0d3e460e17ef6fb816178b6aeb', "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: '0a57adb212132a9afd51d60286c61d7df6707eb3', class: 'wrapper__caption' }, this.caption.trim()))));
|
57
57
|
}
|
58
58
|
static get formAssociated() { return true; }
|
59
59
|
get el() { return this; }
|
@@ -155,10 +155,10 @@ const Tooltip = /*@__PURE__*/ proxyCustomElement(class Tooltip extends H {
|
|
155
155
|
'tooltip-extended': true,
|
156
156
|
'visible': this.tooltipVisible,
|
157
157
|
};
|
158
|
-
return (h("div", { key: '
|
159
|
-
h("div", { key: '
|
160
|
-
h("div", { key: '
|
161
|
-
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: '
|
158
|
+
return (h("div", { key: 'd1011613a465b3f6283965385fa58c0757d37b72', "aria-label": "a tooltip showing important information", "aria-value": this.header, class: "tooltip__container" }, h("slot", { key: '8ecdc7cfd8ace95c5201e5aef989fd5a2d690fb6' }), this.variant.toLowerCase() === 'dismissible' && h("div", { key: '4d855121ef44f72e920dafbe165fbbb28757e2fd', class: tooltipDismissible }, h("button", { key: '0e5459e6f90c3e966303e72c261002e8aae19e31', "aria-label": "Close Tooltip", class: "close-button", onClick: this.onDismissClick }, h("ifx-icon", { key: 'a7cee4fab2cfca1c88f8c5e5bdb55f10dbc77aa2', icon: "cross16" })), h("div", { key: '8d3c651b0fd3c9d74ce22edfe3dc7b21f065da54', class: "tooltip-dismissible-content" }, this.header && h("div", { key: '835731e8d02674197ed4e0ff479b0493fc4a89b4', class: "tooltip-dismissible-header" }, this.header), h("div", { key: 'ad5d1d9d66a05af968aadce2c85e0f51a54d19fc', class: "tooltip-dismissible-body" }, this.text)), h("svg", { key: 'ddd6f30d4e4e70e7eb00aaa8af172d00bd5a2000', 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: '9afaa9623221b73dbfc84197763ccf74a3f55044', id: "Indicator", d: "M6 0L12 8L0 8L6 0Z", fill: "#1D1D1D" }))), this.variant.toLowerCase() === 'compact' &&
|
159
|
+
h("div", { key: 'dce5e22d5cb05d2333cf5846f2c16f51a463423d', class: tooltipCompact }, this.text, h("svg", { key: 'd6cd8374b050b4c907aa9ab83fcf9e6b64468f3b', 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: 'c3ae17c174a63d918614154ce424cb27a130fa7f', id: "Indicator", d: "M6 0L12 8L0 8L6 0Z", fill: "#1D1D1D" }))), this.variant.toLowerCase() === 'extended' &&
|
160
|
+
h("div", { key: '4c6b1a492d7950cb3441babbe74e2111bdbccb61', class: tooltipExtended }, h("slot", { key: '463bb3a005dba221542b3ba7ccd8c2a2e0ce8cd4', name: "icon" }, this.icon ? h("div", { class: "extended_icon" }, h("ifx-icon", { icon: this.icon })) :
|
161
|
+
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: '8b513f1bb9d4a661570f00d8419a054827c81e2d', class: "tooltip-extended-content" }, this.header && h("div", { key: '13df155ca7f7182c5a4975f54e20bdee6845cc67', class: "tooltip-extended-header" }, this.header), h("div", { key: '20ff208b9337416c20561e9aff96b1ab54e69d9b', class: "tooltip-extended-body" }, this.text)), h("svg", { key: 'ba54cfd306135108839d9d8406fc7a2bde0f36ef', 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: 'be0b68a7e3ccc70a0ab110bd2b847394c458bc23', id: "Indicator", d: "M6 0L12 8L0 8L6 0Z", fill: "#1D1D1D" })))));
|
162
162
|
}
|
163
163
|
get el() { return this; }
|
164
164
|
static get watchers() { return {
|
@@ -54,7 +54,7 @@ const SearchField = /*@__PURE__*/ proxyCustomElement(class SearchField extends H
|
|
54
54
|
this.showDeleteIconInternalState = false;
|
55
55
|
}
|
56
56
|
render() {
|
57
|
-
return (h("div", { key: '
|
57
|
+
return (h("div", { key: 'dd5d16c933ec70acb8950279f4642ac93ab8b801', "aria-label": "a search field for user input", "aria-disabled": this.disabled, "aria-value": this.value, class: 'search-field' }, h("div", { key: '92159e695d65890de079c49c25dba47a0243e56b', class: this.getWrapperClassNames(), tabindex: 1, onFocus: () => this.focusInput(), onClick: () => this.focusInput() }, h("ifx-icon", { key: '27c96d542775740161ea3630851b0b19d90a177f', icon: "search-16", class: "search-icon" }), h("input", { key: 'df87749e87af361855083fc54ff76826d2ca12b2', ref: (el) => (this.inputElement = el), type: "text", onInput: () => this.handleInput(), placeholder: this.placeholder, disabled: this.disabled, maxlength: this.maxlength, value: this.value }), this.showDeleteIcon && this.showDeleteIconInternalState ? (h("ifx-icon", { icon: "cremove16", class: "delete-icon", onClick: this.handleDelete })) : null)));
|
58
58
|
}
|
59
59
|
getSizeClass() {
|
60
60
|
return `${this.size}` === "s"
|
@@ -102,4 +102,4 @@ function defineCustomElement() {
|
|
102
102
|
|
103
103
|
export { SearchField as S, defineCustomElement as d };
|
104
104
|
|
105
|
-
//# sourceMappingURL=p-
|
105
|
+
//# sourceMappingURL=p-25dce5bf.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"file":"p-
|
1
|
+
{"file":"p-25dce5bf.js","mappings":";;;;AAAA,MAAM,cAAc,GAAG,81CAA81C,CAAC;AACt3C,6BAAe,cAAc;;MCWhB,WAAW;IAPxB;;;;;QAS2B,UAAK,GAAW,EAAE,CAAC;QAGnC,mBAAc,GAAY,KAAK,CAAC;QAEjC,mBAAc,GAAY,KAAK,CAAC;QAC/B,gCAA2B,GAAY,KAAK,CAAC;QAC9C,aAAQ,GAAY,KAAK,CAAC;QAC1B,SAAI,GAAW,GAAG,CAAC;QAClB,cAAS,GAAY,KAAK,CAAC;QAC5B,gBAAW,GAAW,WAAW,CAAC;QAClC,cAAS,GAAY,IAAI,CAAC;QAkBlC,gBAAW,GAAG;YACZ,MAAM,KAAK,GAAG,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC;YACtC,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;YACnB,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;SAChC,CAAC;QAEF,iBAAY,GAAG;YACb,IAAI,CAAC,YAAY,CAAC,KAAK,GAAG,EAAE,CAAC;YAC7B,IAAI,CAAC,KAAK,GAAG,EAAE,CAAC;YAChB,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;SAChC,CAAA;KAyDF;IAlFC,kBAAkB,CAAC,KAAiB;QAClC,MAAM,IAAI,GAAG,KAAK,CAAC,YAAY,EAAE,CAAC;QAClC,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE;YACrC,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC;SACxB;KACF;IAGD,YAAY,CAAC,QAAgB;QAC3B,IAAI,QAAQ,KAAK,IAAI,CAAC,YAAY,CAAC,KAAK,EAAE;YACxC,IAAI,CAAC,YAAY,CAAC,KAAK,GAAG,QAAQ,CAAC;SACpC;KACF;IAeD,UAAU;QACR,IAAI,CAAC,YAAY,CAAC,KAAK,EAAE,CAAC;QAC1B,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC;KACvB;IAKD,mBAAmB;QACjB,IAAI,IAAI,CAAC,KAAK,KAAK,EAAE,EAAE;YACrB,IAAI,CAAC,2BAA2B,GAAG,IAAI,CAAC;SACzC;;YAAM,IAAI,CAAC,2BAA2B,GAAG,KAAK,CAAC;KACjD;IAED,MAAM;QACJ,QACE,0EAAgB,+BAA+B,mBAAgB,IAAI,CAAC,QAAQ,gBAAc,IAAI,CAAC,KAAK,EAAE,KAAK,EAAC,cAAc,IACxH,4DAAK,KAAK,EAAE,IAAI,CAAC,oBAAoB,EAAE,EACrC,QAAQ,EAAE,CAAC,EACX,OAAO,EAAE,MAAM,IAAI,CAAC,UAAU,EAAE,EAChC,OAAO,EAAE,MAAM,IAAI,CAAC,UAAU,EAAE,IAEhC,iEAAU,IAAI,EAAC,WAAW,EAAC,KAAK,EAAC,aAAa,GAAY,EAC1D,8DACE,GAAG,EAAE,CAAC,EAAE,MAAM,IAAI,CAAC,YAAY,GAAG,EAAE,CAAC,EACrC,IAAI,EAAC,MAAM,EACX,OAAO,EAAE,MAAM,IAAI,CAAC,WAAW,EAAE,EACjC,WAAW,EAAE,IAAI,CAAC,WAAW,EAC7B,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,SAAS,EAAE,IAAI,CAAC,SAAS,EACzB,KAAK,EAAE,IAAI,CAAC,KAAK,GACjB,EACD,IAAI,CAAC,cAAc,IAAI,IAAI,CAAC,2BAA2B,IACtD,gBAAU,IAAI,EAAC,WAAW,EAAC,KAAK,EAAC,aAAa,EAAC,OAAO,EAAE,IAAI,CAAC,YAAY,GAC9D,IACT,IAAI,CACJ,CACF,EACN;KACH;IAED,YAAY;QACV,OAAO,GAAG,IAAI,CAAC,IAAI,EAAE,KAAK,GAAG;cACzB,yBAAyB;cACzB,EAAE,CAAC;KACR;IAGD,oBAAoB;QAClB,OAAO,UAAU,CACf,uBAAuB,EACvB,yBAAyB,IAAI,CAAC,YAAY,EAAE,EAAE,EAC9C,GAAG,IAAI,CAAC,SAAS,GAAG,SAAS,GAAG,EAAE,EAAE,CACrC,CAAC;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/search-field/search-field.scss?tag=ifx-search-field&encapsulation=shadow","src/components/search-field/search-field.tsx"],"sourcesContent":["@use \"~@infineon/design-system-tokens/dist/tokens\";\n@use \"../../global/font.scss\";\n\n:host {\n display: flex;\n}\n\n.search-field {\n box-sizing: border-box;\n background-color: tokens.$ifxColorBaseWhite;\n width: 100%;\n font-family: var(--ifx-font-family);\n\n\n .search-field__wrapper {\n box-sizing: border-box;\n height: tokens.$ifxSize500;\n display: flex;\n align-items: center;\n border: 1px solid #8D8786;\n border-radius: tokens.$ifxBorderRadius12;\n padding: tokens.$ifxSpace100 tokens.$ifxSpace200;\n gap: tokens.$ifxSpace150;\n flex: none;\n order: 0;\n align-self: stretch;\n flex-grow: 0;\n position: relative;\n width: 100%;\n outline: none;\n color: tokens.$ifxColorEngineering400;\n\n &.focused {\n border: 1px solid tokens.$ifxColorOcean500;\n\n & ifx-icon {\n color: tokens.$ifxColorEngineering500;\n }\n }\n\n &.search-field__wrapper-s {\n height: 36px;\n }\n\n\n &:hover:not(.focused, :focus) {\n border: 1px solid #3C3A39;\n }\n\n &:focus {\n outline: none;\n border: 1px solid #0A8276;\n }\n\n\n .delete-icon {\n right: 12px;\n cursor: pointer;\n }\n\n input[type='text'] {\n font-style: normal;\n font-weight: 400;\n font-size: 16px;\n //line-height: 24px;\n color: #8D8786;\n border: none;\n width: 100%;\n outline: none;\n //height: 100%;\n height: 16px;\n\n &:focus {\n outline: none;\n color: #1d1d1d;\n }\n\n &:disabled {\n background-color: #EEEDED;\n }\n }\n\n &:has(input[disabled]) {\n background-color: #EEEDED;\n }\n }\n}","import { Component, EventEmitter, h, Event, Prop, Watch, State, Listen } from '@stencil/core';\nimport classNames from 'classnames';\n \n\n\n@Component({\n tag: 'ifx-search-field',\n styleUrl: 'search-field.scss',\n shadow: true\n})\n\n\nexport class SearchField {\n private inputElement: HTMLInputElement;\n @Prop({ mutable: true }) value: string = '';\n\n @Event() ifxInput: EventEmitter<String>;\n @State() insideDropdown: boolean = false;\n\n @Prop() showDeleteIcon: boolean = false;\n @State() showDeleteIconInternalState: boolean = false;\n @Prop() disabled: boolean = false;\n @Prop() size: string = 'l';\n @State() isFocused: boolean = false;\n @Prop() placeholder: string = \"Search...\";\n @Prop() maxlength?: number = null; \n\n @Listen('mousedown', { target: 'document' })\n handleOutsideClick(event: MouseEvent) {\n const path = event.composedPath();\n if (!path.includes(this.inputElement)) {\n this.isFocused = false;\n }\n }\n\n @Watch('value')\n valueWatcher(newValue: string) {\n if (newValue !== this.inputElement.value) {\n this.inputElement.value = newValue;\n }\n }\n\n\n handleInput = () => {\n const query = this.inputElement.value;\n this.value = query; // update the value property when input changes\n this.ifxInput.emit(this.value);\n };\n\n handleDelete = () => {\n this.inputElement.value = '';\n this.value = \"\";\n this.ifxInput.emit(this.value);\n }\n\n focusInput() {\n this.inputElement.focus();\n this.isFocused = true;\n }\n \n\n\n\n componentWillUpdate() {\n if (this.value !== \"\") {\n this.showDeleteIconInternalState = true;\n } else this.showDeleteIconInternalState = false;\n }\n\n render() {\n return (\n <div aria-label=\"a search field for user input\" aria-disabled={this.disabled} aria-value={this.value} class='search-field'>\n <div class={this.getWrapperClassNames()}\n tabindex={1}\n onFocus={() => this.focusInput()}\n onClick={() => this.focusInput()}\n >\n <ifx-icon icon=\"search-16\" class=\"search-icon\"></ifx-icon>\n <input\n ref={(el) => (this.inputElement = el)}\n type=\"text\"\n onInput={() => this.handleInput()}\n placeholder={this.placeholder}\n disabled={this.disabled}\n maxlength={this.maxlength}\n value={this.value} // bind the value property to input element\n />\n {this.showDeleteIcon && this.showDeleteIconInternalState ? (\n <ifx-icon icon=\"cremove16\" class=\"delete-icon\" onClick={this.handleDelete}>\n </ifx-icon>\n ) : null}\n </div>\n </div>\n );\n }\n\n getSizeClass() {\n return `${this.size}` === \"s\"\n ? \"search-field__wrapper-s\"\n : \"\";\n }\n\n\n getWrapperClassNames() {\n return classNames(\n `search-field__wrapper`,\n `search-field__wrapper ${this.getSizeClass()}`,\n `${this.isFocused ? 'focused' : \"\"}`\n );\n }\n}"],"version":3}
|
@@ -7036,6 +7036,15 @@ const Choices = /*@__PURE__*/ proxyCustomElement(class Choices extends H {
|
|
7036
7036
|
this.resizeObserver = null;
|
7037
7037
|
}
|
7038
7038
|
}
|
7039
|
+
handleWrapperClick(event) {
|
7040
|
+
const target = event.target;
|
7041
|
+
const isSearchInput = target.classList.contains('choices__input') || target.closest('.choices__input');
|
7042
|
+
const isDropdownItem = target.closest('.choices__list--dropdown .choices__item');
|
7043
|
+
// Only toggle dropdown if clicking on wrapper itself
|
7044
|
+
if (!isSearchInput && !isDropdownItem) {
|
7045
|
+
this.toggleDropdown();
|
7046
|
+
}
|
7047
|
+
}
|
7039
7048
|
render() {
|
7040
7049
|
const attributes = {
|
7041
7050
|
'data-selector': 'root',
|
@@ -7046,9 +7055,9 @@ const Choices = /*@__PURE__*/ proxyCustomElement(class Choices extends H {
|
|
7046
7055
|
// destroy choices element to restore previous dom structure
|
7047
7056
|
// so vdom can replace the element correctly
|
7048
7057
|
this.destroy();
|
7049
|
-
return (h("div", { key: '
|
7058
|
+
return (h("div", { key: '91e098e1a55037ad7c173de8879564945b424810', class: `ifx-select-container` }, this.label ? (h("div", { class: "ifx-label-wrapper" }, h("span", null, this.label))) : null, h("div", { key: 'f9c6fe622d141197e8587919c7437d4c5cc7cbab', class: `${choicesWrapperClass}
|
7050
7059
|
${this.disabled ? 'disabled' : ''}
|
7051
|
-
${this.error ? 'error' : ''}`, onClick: this.disabled ? undefined : () => this.
|
7060
|
+
${this.error ? 'error' : ''}`, onClick: this.disabled ? undefined : (e) => this.handleWrapperClick(e), onKeyDown: event => this.handleKeyDown(event) }, h("select", Object.assign({ key: '2edd006818738308a19f6927ac7dba28e7fc0915', class: 'single__select-input-field', disabled: this.disabled }, attributes, { "data-trigger": true, onChange: () => this.handleChange() }), this.createSelectOptions(this.options)), h("div", { key: '8eface6caae23e10b4260ed0745a27dbd8a3bba3', class: "single__select-icon-container" }, this.optionIsSelected && (h("div", { key: '6767486ddc75c65fb6ea11683049ca4b6660abf6', class: "ifx-choices__icon-wrapper-delete" }, h("ifx-icon", { key: '7663e59188773f9ce3b6c6bd04979f142b46e4cc', icon: "cremove16", onClick: () => this.handleDeleteSelection() }))), h("div", { key: '889e421813563b7897bc40701f130edf92c36189', class: "ifx-choices__icon-wrapper-up" }, h("ifx-icon", { key: "icon-up", icon: "chevronup-16" })), h("div", { key: 'b236e7e56549ac3dd6ae92ad0a927e3b02c864d0', class: "ifx-choices__icon-wrapper-down" }, h("ifx-icon", { key: "icon-down", icon: "chevron-down-16" })))), this.error ? (h("div", { class: "ifx-error-message-wrapper" }, h("span", null, this.errorMessage))) : null));
|
7052
7061
|
}
|
7053
7062
|
toggleDropdown() {
|
7054
7063
|
const div = this.root.querySelector('.ifx-choices__wrapper');
|
@@ -7373,4 +7382,4 @@ function defineCustomElement() {
|
|
7373
7382
|
|
7374
7383
|
export { Choices as C, defineCustomElement as d };
|
7375
7384
|
|
7376
|
-
//# sourceMappingURL=p-
|
7385
|
+
//# sourceMappingURL=p-2eb42cd6.js.map
|