@infineon/infineon-design-system-stencil 37.13.1--canary.1992.854aaf1c0bff5fdb0752d9b89b6e9e1a8f43bab6.0 → 37.13.1--canary.1992.0eb8390d6cfd0c060d046f7e91d06e160e2dc360.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-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-multiselect_2.cjs.entry.js +4 -4
- 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-overview-table.entry.cjs.js.map +1 -1
- package/dist/cjs/ifx-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/ifx-radio-button-group.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 +2 -2
- 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 +2 -2
- 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 +2 -2
- package/dist/cjs/ifx-tooltip.cjs.entry.js +4 -4
- package/dist/cjs/ifx-tree-view-item.cjs.entry.js +2 -2
- package/dist/cjs/ifx-tree-view.cjs.entry.js +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 +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/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/search-bar/search-bar.js +1 -1
- package/dist/collection/components/search-field/search-field.js +2 -2
- 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/multi-select/multiselect-option.js +4 -4
- package/dist/collection/components/select/single-select/select.js +2 -2
- 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 +2 -2
- package/dist/collection/components/tooltip/tooltip.js +4 -4
- package/dist/collection/components/tree-view/tree-view-item.js +2 -2
- package/dist/collection/components/tree-view/tree-view.js +1 -1
- 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-faq.js +1 -1
- package/dist/components/ifx-file-upload.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-icons-preview.js +1 -1
- package/dist/components/ifx-list-entry.js +2 -2
- package/dist/components/ifx-multiselect-option.js +1 -1
- package/dist/components/ifx-multiselect.js +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-group.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 +5 -5
- 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 +2 -2
- package/dist/components/ifx-tooltip.js +4 -4
- package/dist/components/ifx-tree-view-item.js +2 -2
- package/dist/components/ifx-tree-view.js +1 -1
- package/dist/components/{p-DzKYXXbM.js → p-BzDW_8pG.js} +5 -5
- package/dist/components/{p-DzKYXXbM.js.map → p-BzDW_8pG.js.map} +1 -1
- package/dist/components/{p-2wAYzDqA.js → p-C7jhiUEX.js} +4 -4
- package/dist/components/{p-2wAYzDqA.js.map → p-C7jhiUEX.js.map} +1 -1
- package/dist/components/{p-kg4ysJKX.js → p-CFMrihYb.js} +4 -4
- package/dist/components/{p-kg4ysJKX.js.map → p-CFMrihYb.js.map} +1 -1
- package/dist/components/{p-DTKvtzJx.js → p-CSpaQFX2.js} +4 -4
- package/dist/components/{p-DTKvtzJx.js.map → p-CSpaQFX2.js.map} +1 -1
- package/dist/components/{p-C_JIKaqu.js → p-Cg6x-9WC.js} +6 -6
- package/dist/components/{p-C_JIKaqu.js.map → p-Cg6x-9WC.js.map} +1 -1
- package/dist/components/{p-BJSu2r-8.js → p-Coa3oQEK.js} +4 -4
- package/dist/components/{p-BJSu2r-8.js.map → p-Coa3oQEK.js.map} +1 -1
- package/dist/components/{p-B5fdlGF3.js → p-CqAVn1BP.js} +4 -4
- package/dist/components/{p-B5fdlGF3.js.map → p-CqAVn1BP.js.map} +1 -1
- package/dist/components/{p-BbZP-TCJ.js → p-D4E8VwPm.js} +3 -3
- package/dist/components/{p-BbZP-TCJ.js.map → p-D4E8VwPm.js.map} +1 -1
- package/dist/components/{p-CaL5BiZo.js → p-DhQ2JvFY.js} +3 -3
- package/dist/components/{p-CaL5BiZo.js.map → p-DhQ2JvFY.js.map} +1 -1
- package/dist/components/{p-BFpEUO6M.js → p-KIEUAyZE.js} +6 -6
- package/dist/components/{p-BFpEUO6M.js.map → p-KIEUAyZE.js.map} +1 -1
- package/dist/esm/ifx-alert_2.entry.js +1 -1
- package/dist/esm/ifx-basic-table.entry.js +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-multiselect_2.entry.js +4 -4
- 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-group.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 +2 -2
- 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 +2 -2
- 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 +2 -2
- package/dist/esm/ifx-tooltip.entry.js +4 -4
- package/dist/esm/ifx-tree-view-item.entry.js +2 -2
- package/dist/esm/ifx-tree-view.entry.js +1 -1
- package/dist/infineon-design-system-stencil/ifx-overview-table.entry.esm.js.map +1 -1
- package/dist/infineon-design-system-stencil/infineon-design-system-stencil.esm.js +1 -1
- package/dist/infineon-design-system-stencil/{p-b89836c7.entry.js → p-04985a8a.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/p-0debad84.entry.js +2 -0
- package/dist/infineon-design-system-stencil/{p-2e3b9398.entry.js → p-0f008d09.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-849e87cb.entry.js → p-1c890e97.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-7af5da3e.entry.js → p-2a879a83.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-cb0dcdc2.entry.js → p-2c726b58.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-9aa4f499.entry.js → p-310f8129.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-be39dcf8.entry.js → p-4f221c15.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-8650a47b.entry.js → p-52cf847f.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-084fce52.entry.js → p-546ed89f.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/p-582ec002.entry.js +2 -0
- package/dist/infineon-design-system-stencil/{p-4d854e6a.entry.js → p-6d5a43ee.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-70b59b70.entry.js → p-71c6b92c.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-0aaa7d10.entry.js → p-7ce54612.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/p-8291f4e6.entry.js +2 -0
- package/dist/infineon-design-system-stencil/{p-d2495da3.entry.js.map → p-8291f4e6.entry.js.map} +1 -1
- package/dist/infineon-design-system-stencil/p-89d7b521.entry.js +2 -0
- package/dist/infineon-design-system-stencil/{p-9785cff5.entry.js → p-8a526f6e.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-50e87deb.entry.js → p-8c82ffa9.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-ba181d59.entry.js → p-94eaf9ae.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-2762e022.entry.js → p-9779c3ab.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-988efc99.entry.js → p-9bd0a9d4.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-61006328.entry.js → p-a24709c6.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-38feafe5.entry.js → p-b31baf1b.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-2627b967.entry.js → p-b3f51af9.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-1ec18b10.entry.js → p-c5865690.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-2bccf9a7.entry.js → p-c769b06c.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-2bccf9a7.entry.js.map → p-c769b06c.entry.js.map} +1 -1
- package/dist/infineon-design-system-stencil/{p-946a214d.entry.js → p-cfac63fe.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-0e333067.entry.js → p-d7d94bf8.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-c980def2.entry.js → p-d895326e.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-cc83cafd.entry.js → p-d9e803b2.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-98f0bc29.entry.js → p-e5735d80.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-6f1a4f66.entry.js → p-e7b8e003.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-2061726d.entry.js → p-eeeccd0b.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-5fc2ffd2.entry.js → p-fff9449b.entry.js} +2 -2
- package/package.json +1 -1
- package/dist/infineon-design-system-stencil/p-27264beb.entry.js +0 -2
- package/dist/infineon-design-system-stencil/p-38a20a09.entry.js +0 -2
- package/dist/infineon-design-system-stencil/p-4a19d3da.entry.js +0 -2
- package/dist/infineon-design-system-stencil/p-d2495da3.entry.js +0 -2
- /package/dist/infineon-design-system-stencil/{p-b89836c7.entry.js.map → p-04985a8a.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-38a20a09.entry.js.map → p-0debad84.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-2e3b9398.entry.js.map → p-0f008d09.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-849e87cb.entry.js.map → p-1c890e97.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-7af5da3e.entry.js.map → p-2a879a83.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-cb0dcdc2.entry.js.map → p-2c726b58.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-9aa4f499.entry.js.map → p-310f8129.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-be39dcf8.entry.js.map → p-4f221c15.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-8650a47b.entry.js.map → p-52cf847f.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-084fce52.entry.js.map → p-546ed89f.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-4a19d3da.entry.js.map → p-582ec002.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-4d854e6a.entry.js.map → p-6d5a43ee.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-70b59b70.entry.js.map → p-71c6b92c.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-0aaa7d10.entry.js.map → p-7ce54612.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-27264beb.entry.js.map → p-89d7b521.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-9785cff5.entry.js.map → p-8a526f6e.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-50e87deb.entry.js.map → p-8c82ffa9.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-ba181d59.entry.js.map → p-94eaf9ae.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-2762e022.entry.js.map → p-9779c3ab.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-988efc99.entry.js.map → p-9bd0a9d4.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-61006328.entry.js.map → p-a24709c6.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-38feafe5.entry.js.map → p-b31baf1b.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-2627b967.entry.js.map → p-b3f51af9.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-1ec18b10.entry.js.map → p-c5865690.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-946a214d.entry.js.map → p-cfac63fe.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-0e333067.entry.js.map → p-d7d94bf8.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-c980def2.entry.js.map → p-d895326e.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-cc83cafd.entry.js.map → p-d9e803b2.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-98f0bc29.entry.js.map → p-e5735d80.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-6f1a4f66.entry.js.map → p-e7b8e003.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-2061726d.entry.js.map → p-eeeccd0b.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-5fc2ffd2.entry.js.map → p-fff9449b.entry.js.map} +0 -0
@@ -27,7 +27,7 @@ const ProgressBar = class {
|
|
27
27
|
}
|
28
28
|
}
|
29
29
|
render() {
|
30
|
-
return (index.h("div", { key: '
|
30
|
+
return (index.h("div", { key: 'aab5d36ce5e1d2de702f7fd867d284be8f02e165', "aria-label": 'a progress bar', "aria-value": this.value, class: `progress-bar ${this.size}` }, index.h("div", { key: 'd113086b5d7d439ac710b284c017d295c25284cf', class: "progress", style: { width: `${this.internalValue}%` } }, this.showLabel && this.size !== "s" && this.internalValue !== 0 && index.h("span", { key: '98a8475f5cff469261f8a42e89a5c621c21a4373', class: "label" }, `${this.internalValue}%`))));
|
31
31
|
}
|
32
32
|
get el() { return index.getElement(this); }
|
33
33
|
static get watchers() { return {
|
@@ -54,7 +54,7 @@ const RadioButtonGroup = class {
|
|
54
54
|
this.hasErrors = Array.from(this.errorStates.values()).some((error) => error);
|
55
55
|
}
|
56
56
|
render() {
|
57
|
-
return (index.h("div", { key: '
|
57
|
+
return (index.h("div", { key: '5970ee5b26caf63ffa5b33705dd88f9970826782', class: 'radio-button-group-container' }, this.showGroupLabel ? index.h("div", { class: 'group-label' }, this.groupLabelText, " *") : '', index.h("div", { key: '5a166fe359c07d1e19752a7565f82389378602c4', class: `radio-button-group ${this.alignment} ${this.size}` }, index.h("slot", { key: '8fa966493211e16fbcdab377488d8fb0fd90502b', onSlotchange: this.handleSlotChange })), this.showCaption ? (index.h("div", { class: `caption ${this.hasErrors ? 'error' : 'default'}` }, this.showCaptionIcon ? index.h("div", { class: 'caption-icon' }, index.h("ifx-icon", { icon: "c-info-16" })) : '', index.h("div", { class: 'caption-text' }, this.captionText))) : ''));
|
58
58
|
}
|
59
59
|
static get formAssociated() { return true; }
|
60
60
|
get el() { return index.getElement(this); }
|
@@ -106,10 +106,10 @@ const RadioButton = class {
|
|
106
106
|
}
|
107
107
|
}
|
108
108
|
render() {
|
109
|
-
return (index.h("div", { key: '
|
109
|
+
return (index.h("div", { key: 'ee46feace78956daf6abf1540f8a6aee9e860e07', role: "radio", "aria-checked": String(this.internalChecked), "aria-disabled": String(this.disabled), class: `radioButton__container ${this.size} ${this.disabled ? 'disabled' : ''}`, onClick: (e) => this.handleRadioButtonClick(e), tabindex: this.disabled ? -1 : 0 }, index.h("div", { key: 'acc2a1d50c6b15227bd94d2ae6947a0719078d77', class: `radioButton__wrapper
|
110
110
|
${this.internalChecked ? 'checked' : ''}
|
111
111
|
${this.disabled ? 'disabled' : ''}
|
112
|
-
${this.error ? 'error' : ''}` }, this.internalChecked && index.h("div", { key: '
|
112
|
+
${this.error ? 'error' : ''}` }, this.internalChecked && index.h("div", { key: '96edd548ad1827c82f0c646ddba621b8a79b8a62', class: "radioButton__wrapper-mark" })), this.hasSlot && (index.h("div", { key: '034163ff01ff65ebc7c5776bb02fe05dce267bf3', class: `label ${this.size === "m" ? "label-m" : ""} ${this.disabled ? 'disabled' : ''}` }, index.h("slot", { key: '9caedcfa9e459653f570646d817a51092841e7b2' }))), index.h("input", { key: '55cf766298a2bfa78a1e7f2aeb9be4765be0fa5f', type: "radio", hidden: true, ref: el => this.inputElement = el, name: this.name, value: this.value, checked: this.internalChecked, disabled: this.disabled, onClick: (e) => e.stopPropagation() })));
|
113
113
|
}
|
114
114
|
static get formAssociated() { return true; }
|
115
115
|
get el() { return index.getElement(this); }
|
@@ -46,7 +46,7 @@ const SearchBar = class {
|
|
46
46
|
this.value = event.detail;
|
47
47
|
}
|
48
48
|
render() {
|
49
|
-
return (index.h("div", { key: '
|
49
|
+
return (index.h("div", { key: '0e6a3ebaf25533324d81eaab8147ecd44decda64', role: "search", "aria-label": "a search field for user input", "aria-value": this.value, "aria-disabled": this.disabled, class: `search-bar ${this.internalState ? 'open' : 'closed'}` }, this.internalState ? (index.h("div", { class: "search-bar-wrapper" }, index.h("ifx-search-field", { autocomplete: this.autocomplete, disabled: this.disabled, value: this.value, maxlength: this.maxlength, onIfxInput: this.handleInput.bind(this) }, index.h("ifx-icon", { icon: "search-16", slot: "search-icon" })), index.h("a", { "aria-label": "Close button", href: 'javascript:void(0)', onClick: this.handleCloseButton }, "Close"))) : (index.h("div", { class: "search-bar_icon-wrapper", onClick: this.handleCloseButton }, index.h("ifx-icon", { icon: "search-16" })))));
|
50
50
|
}
|
51
51
|
get el() { return index.getElement(this); }
|
52
52
|
static get watchers() { return {
|
@@ -377,12 +377,12 @@ const SearchField = class {
|
|
377
377
|
this.showDeleteIconInternalState = false;
|
378
378
|
}
|
379
379
|
render() {
|
380
|
-
return (index.h("div", { key: '
|
380
|
+
return (index.h("div", { key: 'b4b6e9c1fffb8a7f3a10bf48748441eaa71ac311', "aria-disabled": this.disabled, "aria-value": this.value, class: 'search-field' }, index.h("div", { key: '711fd0df34e33f1ac62d2e0824238f57a7d63344', class: this.getWrapperClassNames(), tabindex: 1, onClick: () => this.focusInput() }, index.h("ifx-icon", { key: '23ecf2888cf2be969bb021798ebfc73063f3ace3', icon: "search-16", class: "search-icon" }), index.h("input", { key: 'ae313bce4320f7959359b4f63b0cc551f614418b', ref: (el) => (this.inputElement = el), type: "text", autocomplete: this.autocomplete, onInput: () => this.handleInput(), onFocus: () => this.focusInput(), onBlur: () => this.blurInput(), placeholder: this.placeholder, disabled: this.disabled, maxlength: this.maxlength, value: this.value, role: "combobox", "aria-expanded": this.showDropdown, "aria-autocomplete": "list", "aria-haspopup": "listbox", "aria-label": this.ariaLabel, "aria-labelledby": this.ariaLabelledBy, "aria-describedby": this.ariaDescribedBy, "aria-owns": this.showDropdown ? 'suggestions-dropdown' : undefined, "aria-activedescendant": this.selectedSuggestionIndex >= 0 ? `suggestion-${this.selectedSuggestionIndex}` : undefined }), this.showDeleteIcon && this.showDeleteIconInternalState ? (index.h("ifx-icon", { icon: "cRemove16", class: "delete-icon", onClick: this.handleDelete, role: "button", tabindex: "0", "aria-label": this.deleteIconAriaLabel, onKeyDown: (event) => {
|
381
381
|
if (event.key === 'Enter' || event.key === ' ') {
|
382
382
|
event.preventDefault();
|
383
383
|
this.handleDelete();
|
384
384
|
}
|
385
|
-
} })) : null), this.showDropdown && this.filteredSuggestions.length > 0 && (index.h("div", { key: '
|
385
|
+
} })) : null), this.showDropdown && this.filteredSuggestions.length > 0 && (index.h("div", { key: '914f35ac4df83db311423c761c33629caf9e1fb2', ref: (el) => (this.dropdownElement = el), id: "suggestions-dropdown", class: "suggestions-dropdown", role: "listbox", "aria-label": this.dropdownAriaLabel }, this.isShowingOnlyHistory() && (index.h("div", { key: 'cdec95092cee646c785b9f9cb049b28a8071fb6a', class: "suggestions-header" }, this.historyHeaderText)), this.filteredSuggestions.map((suggestion, index$1) => (index.h("div", { key: suggestion.id, id: `suggestion-${index$1}`, class: this.getSuggestionClassNames(index$1), role: "option", "aria-selected": index$1 === this.selectedSuggestionIndex, "aria-label": `${suggestion.type === 'history' ? this.historyItemAriaLabel : this.suggestionAriaLabel}: ${suggestion.text}${suggestion.scope ? `, ${suggestion.scope}` : ''}${suggestion.resultCount ? `, ${suggestion.resultCount} results` : ''}`, onClick: () => this.selectSuggestion(suggestion), onMouseEnter: () => this.selectedSuggestionIndex = index$1 }, index.h("div", { class: "suggestion-content" }, suggestion.type === 'history' && (index.h("ifx-icon", { icon: "history-16", class: "suggestion-icon suggestion-icon--history" })), suggestion.type === 'suggestion' && (index.h("ifx-icon", { icon: "search-16", class: "suggestion-icon suggestion-icon--suggestion" })), index.h("span", { class: "suggestion-text" }, index.h("span", { class: "suggestion-main-text" }, this.renderHighlightedText(suggestion.text, this.value)), suggestion.scope && (index.h("span", { class: "suggestion-scope" }, "\u2013 ", suggestion.scope))), suggestion.resultCount !== undefined && suggestion.scope && (index.h("span", { class: "suggestion-count" }, suggestion.resultCount)), suggestion.type === 'history' && (index.h("ifx-icon", { icon: "cross16", class: "suggestion-delete-icon", role: "button", tabindex: "0", "aria-label": `${this.historyDeleteAriaLabel}: ${suggestion.text}`, onClick: (event) => this.handleHistoryDelete(event, suggestion.text), onKeyDown: (event) => {
|
386
386
|
if (event.key === 'Enter' || event.key === ' ') {
|
387
387
|
event.preventDefault();
|
388
388
|
this.handleHistoryDelete(event, suggestion.text);
|
@@ -25,7 +25,7 @@ const Segment = class {
|
|
25
25
|
}
|
26
26
|
}
|
27
27
|
render() {
|
28
|
-
return (index.h("div", { key: '
|
28
|
+
return (index.h("div", { key: 'ad583bfc4687ff01f37c4855cbb1208e083e12e8', class: `segment ${this.selected ? 'segment--selected' : ''}`, tabIndex: 0, onClick: () => { this.handleSegmentClick(); }, onKeyDown: (e) => { this.handleSegmentKeyDown(e); } }, index.h("ifx-icon", { key: 'c439c8e46e5cb5307fdf7ca834a991a7130336cd', icon: this.icon }), " ", index.h("slot", { key: 'd604df6e5fad2fb9ef3671ac8bb0174b99c3ce5a' })));
|
29
29
|
}
|
30
30
|
};
|
31
31
|
Segment.style = segmentCss;
|
@@ -71,8 +71,8 @@ const SegmentedControl = class {
|
|
71
71
|
this.setActiveSegment();
|
72
72
|
}
|
73
73
|
render() {
|
74
|
-
return (index.h("div", { key: '
|
75
|
-
index.h("div", { key: '
|
74
|
+
return (index.h("div", { key: '736ba9f070e0e476d6818b4803b870ca932273c3', "aria-value": this.selectedValue, "aria-label": 'segmented control', class: 'group' }, index.h("div", { key: 'c1615f5fd6b1569cef19cd627955f9e0180e6e59', class: 'group__label' }, this.label.trim()), index.h("div", { key: '0c9ffc3a3c1fcb515cc9d5731ea7e1d61af03cbe', class: 'group__controls' }, index.h("slot", { key: '6abcc914da42eb8b400aa3bde6b6d7bbd8cfe6c0' })), this.caption.trim() &&
|
75
|
+
index.h("div", { key: 'e7a38c546402e9403d9692d700fffc425a453bcc', class: 'group__caption' }, index.h("ifx-icon", { key: 'e64b062c4a53e402c58cadf77462fc606e737eb3', icon: 'c-info-16' }), " ", this.caption.trim())));
|
76
76
|
}
|
77
77
|
componentDidRender() {
|
78
78
|
this.setSegmentSize();
|
@@ -7064,9 +7064,9 @@ const Choices = class {
|
|
7064
7064
|
// destroy choices element to restore previous dom structure
|
7065
7065
|
// so vdom can replace the element correctly
|
7066
7066
|
this.destroy();
|
7067
|
-
return (index.h("div", { key: '
|
7067
|
+
return (index.h("div", { key: 'cb25aa878918620f3485ed47abe8119b412e46ad', class: `ifx-select-container` }, this.label ? (index.h("div", { class: "ifx-label-wrapper" }, index.h("span", null, this.label))) : null, index.h("div", { key: 'f40d304e7232526c629a3fc503e339a779b650bb', class: `${choicesWrapperClass}
|
7068
7068
|
${this.disabled ? 'disabled' : ''}
|
7069
|
-
${this.error ? 'error' : ''}`, onClick: this.disabled ? undefined : (e) => this.handleWrapperClick(e), onKeyDown: event => this.handleKeyDown(event) }, index.h("select", Object.assign({ key: '
|
7069
|
+
${this.error ? 'error' : ''}`, onClick: this.disabled ? undefined : (e) => this.handleWrapperClick(e), onKeyDown: event => this.handleKeyDown(event) }, index.h("select", Object.assign({ key: '39527de54fb857b4dd0a7ea2ec2774bec74600aa', class: 'single__select-input-field', disabled: this.disabled }, attributes, { "data-trigger": true, onChange: () => this.handleChange() }), this.createSelectOptions(this.options)), index.h("div", { key: 'a31c142db402aed9bb15e575d482c8a374164e27', class: 'single__select-icon-container' }, this.optionIsSelected && (index.h("div", { key: '4951033da97957c27be575f96fff542abaec1a2a', class: `ifx-choices__icon-wrapper-delete ${!this.showClearButton ? 'hide' : ''}` }, index.h("ifx-icon", { key: 'd7379f57be2cf08ccde89b264d2417fae5f14172', icon: "cRemove16", onClick: () => this.clearSelection() }))), index.h("div", { key: '2c233dc1e2b0f393be849575d2a15f8af0cee0f2', class: "ifx-choices__icon-wrapper-up" }, index.h("ifx-icon", { key: "icon-up", icon: "chevron-up-16" })), index.h("div", { key: 'c30f147804dd91d3f96c32585f6ec93ade7f86db', class: "ifx-choices__icon-wrapper-down" }, index.h("ifx-icon", { key: "icon-down", icon: "chevron-down-16" })))), this.error ? (index.h("div", { class: "ifx-error-message-wrapper" }, index.h("span", null, this.errorMessage))) : null));
|
7070
7070
|
}
|
7071
7071
|
toggleDropdown() {
|
7072
7072
|
const div = this.root.querySelector('.ifx-choices__wrapper');
|
@@ -149,10 +149,10 @@ const IfxSlider = class {
|
|
149
149
|
this.updateValuePercent();
|
150
150
|
}
|
151
151
|
render() {
|
152
|
-
return (index.h("div", { key: '
|
152
|
+
return (index.h("div", { key: '2157a80dcdb4231f45b02da6c59b761927c14de0', class: "ifx-slider" }, this.leftText && (index.h("span", { key: '3f0cb2fafafd7eb2bb40733f99e94b0b11ae7f76', class: `left-text` }, this.leftText)), this.leftIcon && (index.h("ifx-icon", { key: '4366f93239d8ef4eb76b0cc7d3f7430b53c5297a', icon: this.leftIcon, class: `left-icon${this.disabled ? ' disabled' : ''}` })), (this.type !== 'double') ?
|
153
153
|
index.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 })
|
154
154
|
:
|
155
|
-
index.h("div", { class: 'range-slider__wrapper', "aria-label": 'a range slider', "aria-value": this.value, "aria-disabled": this.disabled }, index.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) }), index.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 && (index.h("ifx-icon", { key: '
|
155
|
+
index.h("div", { class: 'range-slider__wrapper', "aria-label": 'a range slider', "aria-value": this.value, "aria-disabled": this.disabled }, index.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) }), index.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 && (index.h("ifx-icon", { key: '0e549fb22c30b7e22a8bbb948c13cb41dec5f084', icon: this.rightIcon, class: `right-icon${this.disabled ? ' disabled' : ''}` })), this.rightText && (index.h("span", { key: '0329a6c3c917f6beddbfde63ba4eca875d0235b3', class: `right-text${this.disabled ? ' disabled' : ''}` }, this.rightText)), this.showPercentage && (this.type !== "double") && (index.h("span", { key: '45d29e469bae4237d5962cb90b337fb53a73cff3', class: `percentage-display${this.disabled ? ' disabled' : ''}` }, this.percentage, "%"))));
|
156
156
|
}
|
157
157
|
get el() { return index.getElement(this); }
|
158
158
|
static get watchers() { return {
|
@@ -20,8 +20,8 @@ const Spinner = class {
|
|
20
20
|
}
|
21
21
|
}
|
22
22
|
render() {
|
23
|
-
return (index.h("div", { key: '
|
24
|
-
&& index.h("div", { key: '
|
23
|
+
return (index.h("div", { key: '31b5c7c0cd9ed8aa434e37a8c9eb83a455c2a5f7', "aria-label": "spinner indicating a loading process", class: this.getClassNames() }, index.h("div", { key: 'd2ddaa89a5fde1f908342997e251f7cba3df2929', class: `${this.variant !== 'brand' ? 'border' : ""} ${this.inverted ? 'inverted' : ""}` }), this.variant === 'brand'
|
24
|
+
&& index.h("div", { key: 'dc2faa0f770b39ddd8623ae5c6f9c0132a8cd82c', class: `semiconductor ${this.inverted ? 'inverted' : ""} ${this.getSizeClass()}` }, index.h("svg", { key: 'a0b89dd66eb983065fdec1f41019b54007d370f5', width: '40', height: '40', viewBox: "0 0 40 40", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("g", { key: 'd8313728a4ac374c97ef4956429c6c7276d23bdf', id: "spinner/conductor" }, index.h("path", { key: '3422556938c6d9ba6038362d5cbf60cc5f96266c', 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" }))))));
|
25
25
|
}
|
26
26
|
getSizeClass() {
|
27
27
|
return `${this.size}` === "s"
|
@@ -100,12 +100,12 @@ const TextField = class {
|
|
100
100
|
}
|
101
101
|
}
|
102
102
|
render() {
|
103
|
-
return (index.h("div", { key: '
|
103
|
+
return (index.h("div", { key: '7ea646628085cf4007533a9ec6825ad2259cb509', "aria-label": "a text field for user input", "aria-value": this.value, "aria-disabled": this.disabled, class: `textInput__container ${this.disabled ? 'disabled' : ""}` }, index.h("div", { key: 'f97974d86716cc16b219b4b9ba904a7d25f55000', class: "textInput__top-wrapper" }, index.h("label", { key: 'eb0c422f0d16387f377d794c667f36a3f42ee6e9', htmlFor: this.internalId }, index.h("slot", { key: 'b3319e688dc9976eed5f5b72baa5e57e97952381' }), this.optional && this.required ? (index.h("span", { class: "optional-required" }, "(optional) *")) : this.optional ? (index.h("span", { class: "optional" }, "(optional)")) : this.required ? (index.h("span", { class: `required ${this.error ? 'error' : ""}` }, "*")) : null)), index.h("div", { key: '0f2e2494a174e8f24cebf99c3b8fdf13bcd1a8bf', class: "textInput__bottom-wrapper" }, index.h("div", { key: 'ea748222b6c51c62822c8850acdb3423c132d16e', class: "input-container" }, this.icon && (index.h("ifx-icon", { key: '98b62a88b7306dc56ff9619554ce21f5d8f54bdf', class: 'input-icon', icon: this.icon })), index.h("input", { key: '51ee89ffcb7debcd3287e1aeb55fcaacceaeae2c', ref: (el) => (this.inputElement = el), disabled: this.disabled, autocomplete: this.autocomplete, type: this.internalType, id: this.internalId, value: this.value, onInput: () => this.handleInput(), placeholder: this.placeholder, maxlength: this.maxlength, class: `${this.icon ? 'icon' : ""}
|
104
104
|
${this.error ? 'error' : ""}
|
105
105
|
${this.size === "s" ? "input-s" : ""}
|
106
|
-
${this.success ? "success" : ""}` }), (this.showDeleteIcon && this.value) && (index.h("ifx-icon", { key: '
|
107
|
-
index.h("div", { key: '
|
108
|
-
index.h("div", { key: '
|
106
|
+
${this.success ? "success" : ""}` }), (this.showDeleteIcon && this.value) && (index.h("ifx-icon", { key: '548a96a6ff8d8825290f5b6034f9a6daff3e4f83', class: "delete-icon", icon: "cRemove16", onClick: () => this.handleDeleteContent() }))), this.caption && !this.error &&
|
107
|
+
index.h("div", { key: '412b58db8de04214ec3d59bd2ff35eb77949ffff', class: `textInput__bottom-wrapper-caption ${this.disabled} ? disabled : ""` }, this.caption), this.error &&
|
108
|
+
index.h("div", { key: '8811eece7b1c34dc8197056a879b5b425aa59c53', class: "textInput__bottom-wrapper-caption error" }, this.caption))));
|
109
109
|
}
|
110
110
|
static get formAssociated() { return true; }
|
111
111
|
get el() { return index.getElement(this); }
|
@@ -22,7 +22,7 @@ const Status = class {
|
|
22
22
|
var _a;
|
23
23
|
const effectiveColor = ((_a = this.color) === null || _a === void 0 ? void 0 : _a.trim()) ? this.color : 'orange-500';
|
24
24
|
const containerClass = this.border ? `container border-${effectiveColor}` : 'container no-border';
|
25
|
-
return (index.h("div", { key: '
|
25
|
+
return (index.h("div", { key: '5c05fea02c5edc5cdebaa0a08c21e4e12cbf4139', "aria-label": "a status indicator", "aria-value": this.label, class: containerClass }, index.h("span", { key: 'c546e86e37c2692f017bda9938d53436caf771c0', class: `dot ${effectiveColor}` }), index.h("p", { key: '98b767f5a97332da894a987c0bd203f377d72db9', class: "text" }, this.label)));
|
26
26
|
}
|
27
27
|
get el() { return index.getElement(this); }
|
28
28
|
};
|
@@ -48,7 +48,7 @@ const Step = class {
|
|
48
48
|
}
|
49
49
|
}
|
50
50
|
render() {
|
51
|
-
return (index.h("div", { key: '
|
51
|
+
return (index.h("div", { key: 'b2ecec640e24f22126224764a7e4d1c7a7dac3ba', "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' : ''}
|
52
52
|
${this.error ? 'error' : ''}
|
53
53
|
${this.stepperState.variant}
|
54
54
|
${this.complete ? 'complete' : ''}
|
@@ -56,11 +56,11 @@ const Step = class {
|
|
56
56
|
indicator-${this.stepperState.indicatorPosition}
|
57
57
|
${this.active ? 'active' : ''}
|
58
58
|
${this.clickable ? 'clickable' : ''}
|
59
|
-
${this.disabled ? 'disabled' : ''}` }, index.h("div", { key: '
|
60
|
-
index.h("div", { key: '
|
59
|
+
${this.disabled ? 'disabled' : ''}` }, index.h("div", { key: '5dbbdc125c8cdcc4d6de860bbbfdb013e80e644a', class: 'step-icon-wrapper' }, this.stepperState.variant !== 'compact' && index.h("span", { key: '4148afe26904aef359e8a8845b5396b4d6ba677a', class: 'step-connector-l' }), (this.stepperState.variant !== 'compact' && (!this.error || (this.error && this.active))) &&
|
60
|
+
index.h("div", { key: 'bc8db67f548a9fddf566eaf362603b2345a79a42', class: 'step-icon' }, (this.stepperState.showStepNumber && !this.complete && !this.active) ? this.stepId : '', (this.complete && !this.active) && index.h("ifx-icon", { key: '2863d3b3635f51c4d1e11e94ffebf69daf3d7c8c', icon: 'check16' }), this.active && index.h("span", { key: '980494be3dd4b3da9ef0b097ff35f2574eae9c5d', class: 'active-indic' })), (this.stepperState.variant !== 'compact' && this.error && !this.active) && index.h("ifx-icon", { key: '6a70f401d995a158aa7640a6069fd62fc3e87331', icon: 'warningF16' }), this.stepperState.variant !== 'compact' && index.h("span", { key: 'e36043a53330c6cda9be71e284e10716615b4be6', class: `step-connector-r ${this.active ? 'active' : ''}` })),
|
61
61
|
/* Step labels */
|
62
62
|
(this.stepperState.variant !== 'compact' || (this.stepperState.variant === 'compact' && (this.active || this.stepId === this.stepperState.activeStep + 1))) &&
|
63
|
-
index.h("div", { key: '
|
63
|
+
index.h("div", { key: '26bf1d17d85b8a37cf881dfdbfdbb0d1e78c3642', 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') && index.h("slot", { key: 'd48ab802c4d9e17035cd92eaf49b0399cfa4fdbf' }), this.stepperState.variant === 'compact' && !this.active ? 'Next: ' : '', this.stepperState.variant === 'compact' && index.h("slot", { key: '5dfc63c25d1d2039244cfb5d23b3686c95932dd6' }))));
|
64
64
|
}
|
65
65
|
;
|
66
66
|
static get watchers() { return {
|
@@ -131,10 +131,10 @@ const Stepper = class {
|
|
131
131
|
this.syncIfxSteps();
|
132
132
|
}
|
133
133
|
render() {
|
134
|
-
return (index.h("div", { key: '
|
134
|
+
return (index.h("div", { key: '6d7e72296372e4eb85bf159ff8a9cb9d586f5394', "aria-label": 'a stepper', role: 'navigation', class: `stepper ${(this.variant !== 'compact' && this.variant !== 'vertical') ? 'default' : this.variant} ${this.variant === 'compact' ? 'compact-' + this.indicatorPosition : ''}` },
|
135
135
|
/* Progress bar for compact variant. */
|
136
136
|
(this.variant === 'compact') &&
|
137
|
-
index.h("div", { key: '
|
137
|
+
index.h("div", { key: '8a6f584379edabb3ca08a9510a1881bd336046d6', class: 'stepper-progress' }, index.h("div", { key: 'be140e0af85e4a1d3e939423a8fab9b73394198e', class: 'progress-detail' }, `${Math.min(this.activeStep, this.stepsCount)} of ${this.stepsCount}`)), index.h("div", { key: '7b52918d9ecc8c537201a6c42c771d5a34333fd8', class: `stepper-wrapper` }, index.h("slot", { key: 'c2ab16b8731e0fd0ce22c42ba36ec0e7d6822cb2' }))));
|
138
138
|
}
|
139
139
|
;
|
140
140
|
componentDidRender() {
|
@@ -83,7 +83,7 @@ const Switch = class {
|
|
83
83
|
this.internals.setFormValue(null);
|
84
84
|
}
|
85
85
|
render() {
|
86
|
-
return (index.h("div", { key: '
|
86
|
+
return (index.h("div", { key: 'd2ff9dc8d7cf6fc3d497993f95e6576bb9d6a135', class: "container", role: "switch", "aria-checked": this.internalChecked ? 'true' : 'false', "aria-label": this.name, onClick: () => this.toggleSwitch(), onKeyDown: (event) => this.handleKeyDown(event) }, index.h("div", { key: '9859ed7c79c5f5a0b7a99e26a30335e42e305f2c', class: `switch__checkbox-container ${this.internalChecked ? 'checked' : ''} ${this.disabled ? 'disabled' : ''}`, tabindex: "0" }, index.h("div", { key: 'aa7752a3d19454fa05f20c2b4cf0027e54b82cc1', class: "switch__checkbox-wrapper" }, index.h("input", { key: '628c3d5134af182568a2de37e52edf3bee9cbb36', type: "checkbox", hidden: true, name: this.name, disabled: this.disabled, checked: this.internalChecked, value: `${this.value}` }), index.h("div", { key: '91aebaa44415c2c94d42e6df2dce2ef05620609f', class: `switch ${this.internalChecked ? 'checked' : ''} ${this.disabled ? 'disabled' : ''}` }))), index.h("div", { key: '57e4151d43ba4fee3b09cdcf93ec26dc884612b3', class: `switch__label-wrapper ${this.disabled ? 'disabled' : ''}` }, index.h("label", { key: '30de77889ff4c205ad3b680e65394f8024857750', htmlFor: "switch" }, index.h("slot", { key: '1cb1f77f64f56d43bbc6b59e72f84b0ff564076d', onSlotchange: () => this.toggleLabelGap() })))));
|
87
87
|
}
|
88
88
|
static get formAssociated() { return true; }
|
89
89
|
get el() { return index.getElement(this); }
|
@@ -15,7 +15,7 @@ const IfxTab = class {
|
|
15
15
|
this.tabHeaderChange.emit(this.header);
|
16
16
|
}
|
17
17
|
render() {
|
18
|
-
return index.h("slot", { key: '
|
18
|
+
return index.h("slot", { key: '3c785942607a81fc11a58d86b911b30bdab528ce' });
|
19
19
|
}
|
20
20
|
get el() { return index.getElement(this); }
|
21
21
|
};
|
@@ -522,12 +522,12 @@ const Table = class {
|
|
522
522
|
};
|
523
523
|
}
|
524
524
|
const filterClass = this.filterOrientation === 'topbar' ? 'topbar-layout' : 'sidebar-layout';
|
525
|
-
return (index.h(index.Host, { key: '
|
525
|
+
return (index.h(index.Host, { key: 'ddc39ecc6b15beb0d862dde61df72506d8cdb778' }, index.h("div", { key: '92dfb30c256fa95aa2724598a5a871c89b551ca8', class: "table-container" }, this.filterOrientation === 'sidebar' && (index.h("div", { key: '9fbf035334727b7fbb75f1a27058b69b2b40342d', class: "sidebar-btn" }, index.h("ifx-button", { key: '4478585415cb65ced7aaeac26a666b11bf731d08', type: "button", disabled: false, variant: "secondary", size: "m", target: "_blank", theme: "default", "full-width": "false", onClick: () => this.toggleSidebarFilters() }, index.h("ifx-icon", { key: 'f2f78deefb4e88aedd1336091e95cf7c1d2e7659', icon: "cross-16" }), this.showSidebarFilters ? 'Hide Filters' : 'Show Filters'))), index.h("div", { key: 'b8b436407246dacfdad9c2c39cfbe19d1d63af09', class: filterClass }, this.filterOrientation === 'sidebar' && this.showSidebarFilters && (index.h("div", { key: '69c73b3d31d199d718ccd5b3626e494d6f327139', class: "sidebar-container" }, index.h("div", { key: '4cdf8135057c4f3613b9b1d84138885072973414', class: "filters-title-container" }, index.h("span", { key: 'f00d3bc7e055a8fd3740a2e3ff51a96a165b4591', class: "filters-title" }, "Filters")), index.h("div", { key: 'a00ee73a8e44a96db59eade80bb30571dc562d86', class: "set-filter-wrapper-sidebar" }, (this.filterOrientation !== 'sidebar' || this.showSidebarFilters) && (index.h("slot", { key: 'e34751892851931b6562253b7a2dd36ce312a252', name: "sidebar-filter" }))))), this.filterOrientation !== 'none' && this.filterOrientation !== 'sidebar' && (index.h("div", { key: '933961586b3ca174b132c01eeabeaf4686396393', class: "set-filter-wrapper-topbar" }, (this.filterOrientation !== 'sidebar' || this.showSidebarFilters) && (index.h("slot", { key: 'c180d8cfd86559488e2c74078d57b8c84b637f4a', name: "topbar-filter" })))), index.h("div", { key: '793c6da866b2db4464378410ca1ff817f22f45fb', class: "table-pagination-wrapper" }, index.h("div", { key: '5a091c27bdbee25f5f1aaf172ead318c0d35a089', class: "filter-chips" }, this.filterOrientation !== 'none' && this.filterOrientation !== 'topbar' && this.showSidebarFilters && (Object.keys(this.currentFilters).map(name => {
|
526
526
|
const filter = this.currentFilters[name];
|
527
527
|
const filterValues = filter.filterValues;
|
528
528
|
const isMultiSelect = filter.type !== 'text';
|
529
529
|
return filterValues.length > 0 ? (index.h("ifx-chip", { placeholder: name, size: "large", variant: isMultiSelect ? "multi" : "single", readOnly: true, value: filterValues, key: name }, filterValues.map(filterValue => (index.h("ifx-chip-item", { value: filterValue, selected: true, key: filterValue }, filterValue))))) : null;
|
530
|
-
})), this.filterOrientation !== 'none' && this.filterOrientation === 'sidebar' && this.showSidebarFilters && Object.keys(this.currentFilters).length > 0 && (index.h("ifx-button", { key: '
|
530
|
+
})), this.filterOrientation !== 'none' && this.filterOrientation === 'sidebar' && this.showSidebarFilters && Object.keys(this.currentFilters).length > 0 && (index.h("ifx-button", { key: 'bd919255bd5566f1dfe249a3cafa102a966a2e36', type: "button", disabled: false, variant: "tertiary", size: "m", target: "_blank", theme: "default", "full-width": "false", onClick: () => this.handleResetButtonClick() }, index.h("ifx-icon", { key: '25ebdf6cfb5cd3a3d8e6bb69c1c7bcd359b6bd60', icon: "curved-arrow-left-16" }), "Reset all"))), this.filterOrientation !== 'none' && (index.h("div", { key: '84f0e4f7f7d6aa03587490db6e9dc85c30490a03', class: "matching-results-container" }, index.h("span", { key: 'ff8f82475e07730e23c1364f1d6a0dc17460c702', class: "matching-results-count" }, this.matchingResultsCount), index.h("span", { key: '49902e92b5b610dc6b257ed2ee278a8d6ff125d2', class: "matching-results-text" }, "matching results"))), index.h("div", { key: '5b8648bba6f8d8b072debb4a3a03880dcecd6250', id: "table-wrapper", class: this.getTableClassNames() }, index.h("div", { key: '4e1d71aa7e520b7761f72b2ecb1647bc68425195', id: `ifxTable-${this.uniqueKey}`, class: `ifx-ag-grid ${this.variant === 'zebra' ? 'zebra' : ""}`, style: style, ref: (el) => this.container = el })), this.pagination ? index.h("ifx-pagination", { total: this.allRowData.length, "current-page": this.currentPage, "items-per-page": this.internalItemsPerPage }) : null)))));
|
531
531
|
}
|
532
532
|
hasButtonCol() {
|
533
533
|
return this.getColData().some(column => column.field === 'button');
|
@@ -209,9 +209,9 @@ const IfxTabs = class {
|
|
209
209
|
}
|
210
210
|
render() {
|
211
211
|
var _a;
|
212
|
-
return (index.h("div", { key: '
|
212
|
+
return (index.h("div", { key: '38c7909405df6043c7081416261c7e1d944709c8', "aria-label": "navigation tabs", class: `tabs ${this.internalOrientation}` }, index.h("ul", { key: '87f4fb331f271d2e0440139765b28242279c3507', role: "tablist", class: "tabs-list" }, (_a = this.tabObjects) === null || _a === void 0 ? void 0 :
|
213
213
|
_a.map((tab, index$1) => (index.h("li", { class: this.getTabItemClass(index$1), ref: (el) => (this.tabHeaderRefs[index$1] = el), onMouseDown: (event) => event.preventDefault(), onClick: () => this.handleClick(tab, index$1), "aria-selected": index$1 === this.internalActiveTabIndex ? 'true' : 'false', "aria-disabled": tab.disabled ? 'true' : 'false', role: "tab" }, (tab === null || tab === void 0 ? void 0 : tab.icon) ? index.h("ifx-icon", { icon: tab.icon }) : '', tab === null || tab === void 0 ? void 0 :
|
214
|
-
tab.header))), index.h("div", { key: '
|
214
|
+
tab.header))), index.h("div", { key: '2587b74846e4447bca5ff3951a2aa4697f0ecb6b', class: "active-border" })), index.h("div", { key: 'c9020ce911c51c70655082c0592da3c9b6930bea', class: "tab-content" }, Array.from(this.tabObjects).map((_, index$1) => (index.h("div", { style: { display: index$1 === this.internalActiveTabIndex ? 'block' : 'none' } }, index.h("slot", { name: `tab-${index$1}` })))))));
|
215
215
|
}
|
216
216
|
get el() { return index.getElement(this); }
|
217
217
|
static get watchers() { return {
|
@@ -17,7 +17,7 @@ const Tag = class {
|
|
17
17
|
}
|
18
18
|
}
|
19
19
|
render() {
|
20
|
-
return (index.h("div", { key: '
|
20
|
+
return (index.h("div", { key: '54860515082dafc6cf6af5d5d2c7314218a4a9fa', "aria-label": "a tag", class: "container" }, this.icon && (index.h("ifx-icon", { key: 'c6423bb9430162278c60f1099830f197c90cc734', icon: this.icon })), index.h("a", { key: '606425f798b31c72f8d3e9b75aabbaa379d9ed46', href: "javascript:void(null);", class: "label-wrapper" }, index.h("p", { key: '1f477544ff7f6710e960baccc83dc51a5c50ed3e', class: "label" }, index.h("slot", { key: 'ecdf86e97e59525a33c0b3ff106440eb60036d33' })))));
|
21
21
|
}
|
22
22
|
get el() { return index.getElement(this); }
|
23
23
|
};
|
@@ -46,7 +46,7 @@ const TemplatesUI = class {
|
|
46
46
|
alertWrapper.classList.remove('show');
|
47
47
|
}
|
48
48
|
render() {
|
49
|
-
return (index.h("div", { key: '
|
49
|
+
return (index.h("div", { key: 'c34596386a391c421389f7d0715e01de0581de2e', class: 'templates__container' }, index.h("div", { key: 'd36800e04daa98ba555b0e8e4f58957960d296f6', class: "back__btn-wrapper" }, index.h("ifx-icon-button", { key: '0909aef53ac7b933839afa61bce5916e6e1dbb6f', onClick: () => this.filterTemplates(false), shape: "round", variant: "tertiary", icon: "arrow-left-16", target: "_blank", size: "m" }), index.h("div", { key: '8c4928e1224963db801779c5a5557a3fef979d2d', class: "alert__wrapper" }, index.h("ifx-alert", { key: '4cd3381649bd441959b55796fc7908507d1019ca', onClick: () => this.closeAlert(), "aria-live": "assertive", variant: "danger", icon: "c-info-16" }, "All fields are mandatory"))), index.h("h2", { key: '5e4c952723938f8d8c07e75d52da443dfd57cf42', class: "templates__title" }, "Choose your template"), index.h("div", { key: 'fea5647d0a300fb3b84c06a09dd12c0bd16b5630', class: "templates__wrapper" }, index.h("ifx-template", { key: 'b23fed97f867be22c33cf24fd5f8cb273c1c408e', name: 'template-01', thumbnail: this.tableTemplate }), index.h("ifx-template", { key: '84798da9a0339349072f0df1e882ab8aed922068', name: 'template-02', thumbnail: this.wizardTemplate }))));
|
50
50
|
}
|
51
51
|
static get assetsDirs() { return ["assets"]; }
|
52
52
|
get el() { return index.getElement(this); }
|
@@ -67,8 +67,8 @@ const TextArea = class {
|
|
67
67
|
}
|
68
68
|
render() {
|
69
69
|
var _a, _b;
|
70
|
-
return (index.h(index.Host, { key: '
|
71
|
-
_a.trim(), this.required && (index.h("span", { key: '
|
70
|
+
return (index.h(index.Host, { key: 'b4481c42adc76f507c7b6ba58c6a9a3bf2dc002e', class: `wrapper--${this.error ? 'error' : ''} wrapper--${this.disabled ? 'disabled' : ''}` }, index.h("label", { key: '34dc978345858588513900e8dd942ad4585342ef', class: 'wrapper__label', htmlFor: this.inputId }, (_a = this.label) === null || _a === void 0 ? void 0 :
|
71
|
+
_a.trim(), this.required && (index.h("span", { key: 'c7b7cf42e30c3dfebd6d4f04809c95ab7f01e5fd', class: `required ${this.error ? 'error' : ""}` }, "*"))), index.h("div", { key: '6b6bca4bdb1cb3c6a1eb92464b608ca00ded8862', class: 'wrapper__textarea' }, index.h("textarea", { key: '0d26ed98a8c443f07381b411d46bae7de192e714', "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()) && (index.h("div", { key: 'e9da35cc7b65c78fa1afdf2cf27f18e7505deb89', class: 'wrapper__caption' }, this.caption.trim()))));
|
72
72
|
}
|
73
73
|
static get formAssociated() { return true; }
|
74
74
|
get el() { return index.getElement(this); }
|
@@ -159,10 +159,10 @@ const Tooltip = class {
|
|
159
159
|
'tooltip-extended': true,
|
160
160
|
'visible': this.tooltipVisible,
|
161
161
|
};
|
162
|
-
return (index.h("div", { key: '
|
163
|
-
index.h("div", { key: '
|
164
|
-
index.h("div", { key: '
|
165
|
-
index.h("svg", { class: "extended_icon", xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", fill: "none", viewBox: "0 0 24 24" }, index.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" }), index.h("path", { stroke: "#fff", d: "M19 17H6l2.5-4 2.097 2.516.405.486.379-.506 4.118-5.49.003-.002L19 17Z" }), index.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" }))), index.h("div", { key: '
|
162
|
+
return (index.h("div", { key: '5e5cc1fa5c9ec49849fa5f78c220a3d3afd5fa84', "aria-label": "a tooltip showing important information", "aria-value": this.header, class: "tooltip__container" }, index.h("slot", { key: 'c6486b1a9b2f4147a4b359669f77bc9678c44404' }), this.variant.toLowerCase() === 'dismissible' && index.h("div", { key: '663db61ef18dba05ecc87dc2d3404ccd5a423917', class: tooltipDismissible }, index.h("button", { key: '39d0d47ed02b8f49363cab4b6f366b6730888e2c', "aria-label": "Close Tooltip", class: "close-button", onClick: this.onDismissClick }, index.h("ifx-icon", { key: '653a22f87da21ada807da35347caf7e8aff6878e', icon: "cross16" })), index.h("div", { key: '35ee339b148fb0157d6a08df1ca38314c12dd636', class: "tooltip-dismissible-content" }, this.header && index.h("div", { key: '42bb380bce7839a4263e82b91f7f577716087277', class: "tooltip-dismissible-header" }, this.header), index.h("div", { key: 'e0436f7e5a65a0354a82338c34ab62d4e3656c0a', class: "tooltip-dismissible-body" }, this.text)), index.h("svg", { key: '4867c44982b76a53e24e3efff7838e603cb28d27', class: "tooltip-arrow-svg", width: "12", height: "8", viewBox: "0 0 12 8", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { key: 'ed9c304285de92d64444c4faf07f2f76582f2fe4', id: "Indicator", d: "M6 0L12 8L0 8L6 0Z", fill: "#1D1D1D" }))), this.variant.toLowerCase() === 'compact' &&
|
163
|
+
index.h("div", { key: '4bb8e1ca55e2ca3077615727f50c35de5a014957', class: tooltipCompact }, this.text, index.h("svg", { key: '382a5bcae87e6652d57ac03e1bee26ae5494ce54', class: "tooltip-arrow-svg", width: "12", height: "8", viewBox: "0 0 12 8", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { key: '33ca23e4ed5dfc332e62d8f5a34b4f39c2e388e6', id: "Indicator", d: "M6 0L12 8L0 8L6 0Z", fill: "#1D1D1D" }))), this.variant.toLowerCase() === 'extended' &&
|
164
|
+
index.h("div", { key: '4553fe35ce9a37eab707eab180dbd04247a91f91', class: tooltipExtended }, index.h("slot", { key: 'bd11143759af71f7e045ecf7640cef44f6b6f338', name: "icon" }, this.icon ? index.h("div", { class: "extended_icon" }, index.h("ifx-icon", { icon: this.icon })) :
|
165
|
+
index.h("svg", { class: "extended_icon", xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", fill: "none", viewBox: "0 0 24 24" }, index.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" }), index.h("path", { stroke: "#fff", d: "M19 17H6l2.5-4 2.097 2.516.405.486.379-.506 4.118-5.49.003-.002L19 17Z" }), index.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" }))), index.h("div", { key: '46446e956bb9f1cbcaf86f6dafdfafda1f447a41', class: "tooltip-extended-content" }, this.header && index.h("div", { key: '0724a40073e23f359c2759ed9854242b357c2d2c', class: "tooltip-extended-header" }, this.header), index.h("div", { key: 'b54da3ac4901f19dd9ae9b88d6e79ff36cd16cb2', class: "tooltip-extended-body" }, this.text)), index.h("svg", { key: 'e0caa4063f3d5c5f0323843b20b9b8cbf4439c66', class: "tooltip-arrow-svg", width: "12", height: "8", viewBox: "0 0 12 8", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { key: '46c01df81886f71356204957edc651a3cbc0b27d', id: "Indicator", d: "M6 0L12 8L0 8L6 0Z", fill: "#1D1D1D" })))));
|
166
166
|
}
|
167
167
|
get el() { return index.getElement(this); }
|
168
168
|
static get watchers() { return {
|
@@ -365,12 +365,12 @@ const TreeViewItem = class {
|
|
365
365
|
};
|
366
366
|
}
|
367
367
|
render() {
|
368
|
-
return (index.h("div", { key: '
|
368
|
+
return (index.h("div", { key: 'b382f043910b7aea147b4a3d8957b50bbb69f270', class: {
|
369
369
|
'tree-item': true,
|
370
370
|
'tree-item--expanded': this.isExpanded,
|
371
371
|
'tree-item--has-children': this.hasChildren,
|
372
372
|
'tree-item--disabled': this.disabled,
|
373
|
-
}, role: "treeitem", "aria-expanded": this.isExpanded ? 'true' : 'false', "data-level": this.level, "aria-disabled": this.disabled ? 'true' : undefined, "aria-label": this.ariaLabel }, index.h("div", { key: '
|
373
|
+
}, role: "treeitem", "aria-expanded": this.isExpanded ? 'true' : 'false', "data-level": this.level, "aria-disabled": this.disabled ? 'true' : undefined, "aria-label": this.ariaLabel }, index.h("div", { key: '547935ce2e47ecaeaac55a5c3436a3a02e7d4aca', class: "tree-item__content" }, index.h("div", { key: '799079032aafd3e72b4d29c9f3a1b8eeae306d74', class: "tree-item__checkbox-container", onClick: e => e.stopPropagation() }, index.h("ifx-checkbox", { key: '2c97b33134217d8398466cecf15deb13302c7adc', size: 's', checked: this.partialChecked ? false : this.isChecked, indeterminate: this.partialChecked, onIfxChange: this.handleCheckboxChange, disabled: this.disabled })), index.h("div", { key: '07d97392053e7ef3c38ce6d64683881dacbd9516', class: "tree-item__header", style: { paddingLeft: `${this.level * 24 + 10}px` }, onClick: this.handleHeaderClick, tabIndex: -1, "aria-disabled": this.disabled ? 'true' : undefined }, this.hasChildren && (index.h("div", { key: '1ffa4fb674d90a06d82a3419136c164b3654ca71', class: "tree-item__chevron-container", onClick: this.toggleExpand }, index.h("ifx-icon", { key: '2da83b8a5196476e2ae364b213d1201f6f53c612', class: `tree-item__chevron ${this.isExpanded ? 'chevron-down' : 'chevron-right'}`, icon: "chevron-right-16" }), index.h("div", { key: '654e5d3d2fe1c5243480129023785da373f52336', class: "tree-item__line" }))), index.h("div", { key: '5ea7a77901f16c59ed1224e81bee8513f3d502fa', class: "tree-item__label-icon-container", tabIndex: this.disabled ? -1 : 0, onKeyDown: this.handleKeyDown }, index.h("div", { key: '08e958ec2b33f110cc9a36ecc6fc479646659645', class: "tree-item__icon-container" }, this.hasChildren ? (index.h(index.Fragment, null, index.h("ifx-icon", { class: { 'icon--hidden': this.isExpanded }, icon: "folder-16" }), index.h("ifx-icon", { class: { 'icon--hidden': !this.isExpanded }, icon: "folder-open-16" }))) : (index.h("ifx-icon", { icon: "file-16" }))), index.h("span", { key: '8fd14dfd77b2d1488367d2cb415a9e3e86adcf72', class: "tree-item__label" }, index.h("slot", { key: '4faae4c0df02ab739505fbe5dd791b18f81c7a82' }))))), this.isExpanded && index.h("div", { key: 'e7917a721bcb256dbd24e6b19a29e095be51eaa0', class: "tree-item__children" }, index.h("slot", { key: 'a5992d80d1bc0d36c8498f73e57005587d483730', name: "children" }))));
|
374
374
|
}
|
375
375
|
get host() { return index.getElement(this); }
|
376
376
|
static get watchers() { return {
|
@@ -43,7 +43,7 @@ const TreeView = class {
|
|
43
43
|
}
|
44
44
|
}
|
45
45
|
render() {
|
46
|
-
return (index.h("div", { key: '
|
46
|
+
return (index.h("div", { key: '63bd9d4d51fc7b25418aaa76f00f93022fec7f6b', class: `tree-view ${this.disableAllItems ? ' tree-view--disabled' : ''}`, role: "tree", "aria-label": this.ariaLabel }, this.label && this.label.trim() !== '' && index.h("div", { key: '861163cec683997ba63508eea35d36016f967f05', class: "tree-view__label" }, this.label), index.h("slot", { key: '42c8a45620e984edf12726e85d51dd38f3a3270b', ref: this.handleSlotRef })));
|
47
47
|
}
|
48
48
|
get el() { return index.getElement(this); }
|
49
49
|
static get watchers() { return {
|