@infineon/infineon-design-system-stencil 39.5.3--canary.2143.7e22c74e4f4e08bfb2cb8d5e5811adf79267a112.0 → 39.5.3--canary.2144.4d6adbdd15b2843a11fb5f8cf503f6424f864373.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.cjs.entry.js +12 -12
- package/dist/cjs/ifx-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/ifx-checkbox.entry.cjs.js.map +1 -1
- package/dist/cjs/ifx-faq.cjs.entry.js +1 -1
- package/dist/cjs/ifx-filter-accordion.cjs.entry.js +2 -2
- package/dist/cjs/ifx-filter-bar.cjs.entry.js +1 -1
- package/dist/cjs/ifx-filter-search.cjs.entry.js +1 -1
- package/dist/cjs/ifx-filter-type-group.cjs.entry.js +1 -1
- package/dist/cjs/ifx-list-entry.cjs.entry.js +1 -1
- package/dist/cjs/ifx-multiselect_2.cjs.entry.js +10 -10
- package/dist/cjs/ifx-search-field.cjs.entry.js +59 -2
- package/dist/cjs/ifx-search-field.cjs.entry.js.map +1 -1
- package/dist/cjs/ifx-search-field.entry.cjs.js.map +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 +2 -2
- package/dist/cjs/ifx-slider.cjs.entry.js +2 -2
- package/dist/cjs/ifx-spinner_2.cjs.entry.js +4 -4
- 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-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/cjs/infineon-design-system-stencil.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/checkbox/checkbox.js +15 -14
- package/dist/collection/components/checkbox/checkbox.js.map +1 -1
- package/dist/collection/components/search-field/search-field.js +59 -2
- package/dist/collection/components/search-field/search-field.js.map +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/multi-select/multiselect-option.js +4 -4
- package/dist/collection/components/select/multi-select/multiselect.js +6 -6
- 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-advanced-version/table.stories.js +71 -71
- package/dist/collection/components/table-advanced-version/table.stories.js.map +1 -1
- package/dist/collection/components/table-basic-version/table.js +1 -1
- package/dist/collection/components/table-basic-version/table.stories.js +15 -15
- package/dist/collection/components/table-basic-version/table.stories.js.map +1 -1
- package/dist/collection/components/tabs/tab.js +1 -1
- package/dist/collection/components/tabs/tabs.js +2 -2
- 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 +2 -2
- 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-checkbox.js +1 -1
- package/dist/components/ifx-chip-item.js +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-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-pagination.js +1 -1
- package/dist/components/ifx-search-bar.js +1 -1
- 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 +6 -6
- 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 +6 -6
- package/dist/components/ifx-tabs.js +2 -2
- 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 +3 -3
- package/dist/components/ifx-tree-view.js +1 -1
- package/dist/components/{p-DQYngnHn.js → p-B-I2VhI5.js} +10 -10
- package/dist/components/{p-DQYngnHn.js.map → p-B-I2VhI5.js.map} +1 -1
- package/dist/components/{p-DGAOPH_P.js → p-B61i82g5.js} +4 -4
- package/dist/components/{p-DGAOPH_P.js.map → p-B61i82g5.js.map} +1 -1
- package/dist/components/{p-WVpEOqoG.js → p-BG2S8rtL.js} +3 -3
- package/dist/components/{p-WVpEOqoG.js.map → p-BG2S8rtL.js.map} +1 -1
- package/dist/components/{p-DxKWinW1.js → p-Bc_ZM813.js} +7 -7
- package/dist/components/{p-DxKWinW1.js.map → p-Bc_ZM813.js.map} +1 -1
- package/dist/components/{p-D7r3u21_.js → p-C53lC4vo.js} +3 -3
- package/dist/components/{p-D7r3u21_.js.map → p-C53lC4vo.js.map} +1 -1
- package/dist/components/{p-CtzLf4yZ.js → p-CROLVxZq.js} +16 -15
- package/dist/components/p-CROLVxZq.js.map +1 -0
- package/dist/components/{p-BxWZjkxk.js → p-DdOsLLJc.js} +4 -4
- package/dist/components/{p-BxWZjkxk.js.map → p-DdOsLLJc.js.map} +1 -1
- package/dist/components/{p-Dce2xAGf.js → p-DmM40b2X.js} +5 -5
- package/dist/components/{p-Dce2xAGf.js.map → p-DmM40b2X.js.map} +1 -1
- package/dist/components/{p-kFkxPh9g.js → p-GP5uSTr1.js} +4 -4
- package/dist/components/{p-kFkxPh9g.js.map → p-GP5uSTr1.js.map} +1 -1
- package/dist/components/{p-BO6nWGLo.js → p-ZCLJED5S.js} +61 -4
- package/dist/components/p-ZCLJED5S.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.entry.js +12 -12
- package/dist/esm/ifx-checkbox.entry.js.map +1 -1
- package/dist/esm/ifx-faq.entry.js +1 -1
- package/dist/esm/ifx-filter-accordion.entry.js +2 -2
- package/dist/esm/ifx-filter-bar.entry.js +1 -1
- package/dist/esm/ifx-filter-search.entry.js +1 -1
- package/dist/esm/ifx-filter-type-group.entry.js +1 -1
- package/dist/esm/ifx-list-entry.entry.js +1 -1
- package/dist/esm/ifx-multiselect_2.entry.js +10 -10
- package/dist/esm/ifx-search-field.entry.js +59 -2
- package/dist/esm/ifx-search-field.entry.js.map +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 +2 -2
- package/dist/esm/ifx-slider.entry.js +2 -2
- package/dist/esm/ifx-spinner_2.entry.js +4 -4
- 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-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/esm/infineon-design-system-stencil.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/infineon-design-system-stencil/ifx-checkbox.entry.esm.js.map +1 -1
- package/dist/infineon-design-system-stencil/ifx-search-field.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-8eef85bc.entry.js → p-0d4211db.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-44026267.entry.js → p-0d9da371.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-b3ba9994.entry.js → p-13fed6df.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/p-22a45c93.entry.js +2 -0
- package/dist/infineon-design-system-stencil/{p-2a7e30cf.entry.js.map → p-22a45c93.entry.js.map} +1 -1
- package/dist/infineon-design-system-stencil/{p-2b4778da.entry.js → p-242fc6b0.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-ebce6648.entry.js → p-372fa9eb.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-ddff8e4e.entry.js → p-3f3a5140.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-c3362d41.entry.js → p-453bd9bd.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-39a29970.entry.js → p-54785004.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-f06af3d9.entry.js → p-6407c496.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-6162a610.entry.js → p-6504f8d0.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-fc030370.entry.js → p-83816596.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-8aabbd26.entry.js → p-8ab64504.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-9577d799.entry.js → p-913a8693.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-07e1efa5.entry.js → p-98c2e3a9.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-0d5a32ec.entry.js → p-9ea43bb7.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-f855d12d.entry.js → p-af1e0cb5.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/p-b23596f4.entry.js +2 -0
- package/dist/infineon-design-system-stencil/p-b23596f4.entry.js.map +1 -0
- package/dist/infineon-design-system-stencil/{p-9dbede78.entry.js → p-b5efb1d6.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/p-ba4ee343.entry.js +2 -0
- package/dist/infineon-design-system-stencil/p-c9d594e1.entry.js +2 -0
- package/dist/infineon-design-system-stencil/{p-bfbe3ddc.entry.js.map → p-c9d594e1.entry.js.map} +1 -1
- package/dist/infineon-design-system-stencil/p-d3a6bbf7.entry.js +2 -0
- package/dist/infineon-design-system-stencil/{p-3b5cf4ca.entry.js → p-dcc7240e.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-4fca78a6.entry.js → p-e7b72d33.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-fef185c2.entry.js → p-eed36710.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-a827c4bc.entry.js → p-f5811026.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-49eb8d14.entry.js → p-f63ba4a3.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/p-f63ba4a3.entry.js.map +1 -0
- package/dist/infineon-design-system-stencil/{p-1fcb504e.entry.js → p-fe373208.entry.js} +2 -2
- package/dist/types/components/checkbox/checkbox.d.ts +1 -0
- package/dist/types/components/search-field/search-field.d.ts +4 -0
- package/package.json +2 -2
- package/dist/components/p-BO6nWGLo.js.map +0 -1
- package/dist/components/p-CtzLf4yZ.js.map +0 -1
- package/dist/infineon-design-system-stencil/p-2537f7fe.entry.js +0 -2
- package/dist/infineon-design-system-stencil/p-2a7e30cf.entry.js +0 -2
- package/dist/infineon-design-system-stencil/p-49eb8d14.entry.js.map +0 -1
- package/dist/infineon-design-system-stencil/p-8d19ae4f.entry.js +0 -2
- package/dist/infineon-design-system-stencil/p-8d19ae4f.entry.js.map +0 -1
- package/dist/infineon-design-system-stencil/p-9c93e258.entry.js +0 -2
- package/dist/infineon-design-system-stencil/p-bfbe3ddc.entry.js +0 -2
- /package/dist/infineon-design-system-stencil/{p-8eef85bc.entry.js.map → p-0d4211db.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-44026267.entry.js.map → p-0d9da371.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-b3ba9994.entry.js.map → p-13fed6df.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-2b4778da.entry.js.map → p-242fc6b0.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-ebce6648.entry.js.map → p-372fa9eb.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-ddff8e4e.entry.js.map → p-3f3a5140.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-c3362d41.entry.js.map → p-453bd9bd.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-39a29970.entry.js.map → p-54785004.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-f06af3d9.entry.js.map → p-6407c496.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-6162a610.entry.js.map → p-6504f8d0.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-fc030370.entry.js.map → p-83816596.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-8aabbd26.entry.js.map → p-8ab64504.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-9577d799.entry.js.map → p-913a8693.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-07e1efa5.entry.js.map → p-98c2e3a9.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-0d5a32ec.entry.js.map → p-9ea43bb7.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-f855d12d.entry.js.map → p-af1e0cb5.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-9dbede78.entry.js.map → p-b5efb1d6.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-9c93e258.entry.js.map → p-ba4ee343.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-2537f7fe.entry.js.map → p-d3a6bbf7.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-3b5cf4ca.entry.js.map → p-dcc7240e.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-4fca78a6.entry.js.map → p-e7b72d33.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-fef185c2.entry.js.map → p-eed36710.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-a827c4bc.entry.js.map → p-f5811026.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-1fcb504e.entry.js.map → p-fe373208.entry.js.map} +0 -0
|
@@ -49,7 +49,7 @@ const Step = /*@__PURE__*/ proxyCustomElement(class Step extends H {
|
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
render() {
|
|
52
|
-
return (h("div", { key: '
|
|
52
|
+
return (h("div", { key: '9a603ade945d1020bcba53fa85777a27f08f7df1', "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' : ''}
|
|
53
53
|
${this.error ? 'error' : ''}
|
|
54
54
|
${this.stepperState.variant}
|
|
55
55
|
${this.complete ? 'complete' : ''}
|
|
@@ -57,11 +57,11 @@ const Step = /*@__PURE__*/ proxyCustomElement(class Step extends H {
|
|
|
57
57
|
indicator-${this.stepperState.indicatorPosition}
|
|
58
58
|
${this.active ? 'active' : ''}
|
|
59
59
|
${this.clickable ? 'clickable' : ''}
|
|
60
|
-
${this.disabled ? 'disabled' : ''}` }, h("div", { key: '
|
|
61
|
-
h("div", { key: '
|
|
60
|
+
${this.disabled ? 'disabled' : ''}` }, h("div", { key: 'ec1bdd77edfd87f066df44db5f3f0e115b3f7a67', class: 'step-icon-wrapper' }, this.stepperState.variant !== 'compact' && h("span", { key: '46ae721e9ba89b6f561540d6228b4928d74522a0', class: 'step-connector-l' }), (this.stepperState.variant !== 'compact' && (!this.error || (this.error && this.active))) &&
|
|
61
|
+
h("div", { key: 'e168325daeff9ca6b2ff4e045bce5ec974e9c5d5', class: 'step-icon' }, (this.stepperState.showStepNumber && !this.complete && !this.active) ? this.stepId : '', (this.complete && !this.active) && h("ifx-icon", { key: '4eb3de9575a8704f0ed7e1ade9ccae31ea59c572', icon: 'check16' }), this.active && h("span", { key: 'c0c554eaae6a28783a4597633e4c60dbe14c0fda', class: 'active-indic' })), (this.stepperState.variant !== 'compact' && this.error && !this.active) && h("ifx-icon", { key: '1b27252ddf3369c3732e7b40786645ec2720d8bb', icon: 'warningF16' }), this.stepperState.variant !== 'compact' && h("span", { key: '38bf07c39837ed4f77de59c44a2a32fbdb069439', class: `step-connector-r ${this.active ? 'active' : ''}` })),
|
|
62
62
|
/* Step labels */
|
|
63
63
|
(this.stepperState.variant !== 'compact' || (this.stepperState.variant === 'compact' && (this.active || this.stepId === this.stepperState.activeStep + 1))) &&
|
|
64
|
-
h("div", { key: '
|
|
64
|
+
h("div", { key: 'f13581114efa81deaeecd38ffe27b14d1d3dcc87', 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: '6accb517e6d561549759a3a723c4c24b1729e80a' }), this.stepperState.variant === 'compact' && !this.active ? 'Next: ' : '', this.stepperState.variant === 'compact' && h("slot", { key: 'c6960ab0dd25316c6407433ecad376b66b47d28c' }))));
|
|
65
65
|
}
|
|
66
66
|
;
|
|
67
67
|
static get watchers() { return {
|
|
@@ -130,10 +130,10 @@ const Stepper = /*@__PURE__*/ proxyCustomElement(class Stepper extends H {
|
|
|
130
130
|
this.syncIfxSteps();
|
|
131
131
|
}
|
|
132
132
|
render() {
|
|
133
|
-
return (h("div", { key: '
|
|
133
|
+
return (h("div", { key: 'b6ddc5830bc2c1a371411fa1ddeef157b940acd5', "aria-label": this.ariaLabel, "aria-current": this.ariaCurrent, role: 'navigation', class: `stepper ${(this.variant !== 'compact' && this.variant !== 'vertical') ? 'default' : this.variant} ${this.variant === 'compact' ? 'compact-' + this.indicatorPosition : ''}` },
|
|
134
134
|
/* Progress bar for compact variant. */
|
|
135
135
|
(this.variant === 'compact') &&
|
|
136
|
-
h("div", { key: '
|
|
136
|
+
h("div", { key: '043992aa871a912d5f3326e2c8c263865d07c5b3', class: 'stepper-progress' }, h("div", { key: '901254c7f8f706e9541d79ecbbbfb0a37925dd73', class: 'progress-detail' }, `${Math.min(this.activeStep, this.stepsCount)} of ${this.stepsCount}`)), h("div", { key: '7b2757662fb0acd26f47338fdbfce65a977f37ab', class: `stepper-wrapper` }, h("slot", { key: 'b4fd58e8b562c58c4837e5418e24739dc666f35a' }))));
|
|
137
137
|
}
|
|
138
138
|
;
|
|
139
139
|
componentDidRender() {
|
|
@@ -65,7 +65,7 @@ const Switch = /*@__PURE__*/ proxyCustomElement(class Switch extends H {
|
|
|
65
65
|
// this.internals.setFormValue(null);
|
|
66
66
|
// }
|
|
67
67
|
render() {
|
|
68
|
-
return (h("div", { key: '
|
|
68
|
+
return (h("div", { key: 'dac7ec48eba63ea4fea619b38bc2d42050335fb3', class: "container", role: "switch", "aria-checked": this.internalChecked ? 'true' : 'false', "aria-disabled": this.disabled ? 'true' : 'false', "aria-labelledby": "switch-label", onClick: () => this.toggleSwitch(), onKeyDown: (event) => this.handleKeyDown(event) }, h("div", { key: '4e331d64ea1bd5c2a76b730523c250add430e620', class: `switch__checkbox-container ${this.internalChecked ? 'checked' : ''} ${this.disabled ? 'disabled' : ''}`, tabindex: "0" }, h("div", { key: '7f9d1690039ed6a4a99e4204c0358088aa1f459a', class: "switch__checkbox-wrapper" }, h("input", { key: '9b1b492b35cd3bf74143370bbdf79dc97d456893', type: "checkbox", hidden: true, name: this.name, disabled: this.disabled, checked: this.internalChecked, value: `${this.value}` }), h("div", { key: '27559d56f6fb75e90ac15590245668af0b1ab447', class: `switch ${this.internalChecked ? 'checked' : ''} ${this.disabled ? 'disabled' : ''}` }))), h("div", { key: '783db5d3a6d1619b96ac97501bb889bb1f6a75bc', class: `switch__label-wrapper ${this.disabled ? 'disabled' : ''}` }, h("label", { key: 'ee10d23ac2b7d8d693a3ff8a85fb7af9b09c3445', htmlFor: "switch" }, h("slot", { key: '3b7b243ac57f43997f0111500e59667c2b8c75be', onSlotchange: () => this.toggleLabelGap() })))));
|
|
69
69
|
}
|
|
70
70
|
get el() { return this; }
|
|
71
71
|
static get watchers() { return {
|
|
@@ -14,7 +14,7 @@ const IfxTab$1 = /*@__PURE__*/ proxyCustomElement(class IfxTab extends H {
|
|
|
14
14
|
this.tabHeaderChange.emit(this.header);
|
|
15
15
|
}
|
|
16
16
|
render() {
|
|
17
|
-
return h("slot", { key: '
|
|
17
|
+
return h("slot", { key: 'dad01fbbf74d672ac8755a57cf6a31b18b4de550' });
|
|
18
18
|
}
|
|
19
19
|
get el() { return this; }
|
|
20
20
|
static get style() { return tabCss; }
|
|
@@ -3,14 +3,14 @@ import { c as classNames } from './p-DMLRPGid.js';
|
|
|
3
3
|
import { i as isNestedInIfxComponent, d as detectFramework, t as trackComponent } from './p-bqYaVeZb.js';
|
|
4
4
|
import { c as createGrid } from './p-9UDg_bQZ.js';
|
|
5
5
|
import { d as defineCustomElement$a } from './p-Dn3cSDWF.js';
|
|
6
|
-
import { d as defineCustomElement$9 } from './p-
|
|
6
|
+
import { d as defineCustomElement$9 } from './p-CROLVxZq.js';
|
|
7
7
|
import { d as defineCustomElement$8 } from './p-DsbrEtP9.js';
|
|
8
|
-
import { d as defineCustomElement$7 } from './p-
|
|
8
|
+
import { d as defineCustomElement$7 } from './p-BG2S8rtL.js';
|
|
9
9
|
import { d as defineCustomElement$6 } from './p-Bm-eGlq5.js';
|
|
10
10
|
import { d as defineCustomElement$5 } from './p-C8gN_PDS.js';
|
|
11
11
|
import { d as defineCustomElement$4 } from './p-BJpqCkkb.js';
|
|
12
|
-
import { d as defineCustomElement$3 } from './p-
|
|
13
|
-
import { d as defineCustomElement$2 } from './p-
|
|
12
|
+
import { d as defineCustomElement$3 } from './p-C53lC4vo.js';
|
|
13
|
+
import { d as defineCustomElement$2 } from './p-GP5uSTr1.js';
|
|
14
14
|
|
|
15
15
|
class ButtonCellRenderer {
|
|
16
16
|
init(params) {
|
|
@@ -1177,12 +1177,12 @@ const Table = /*@__PURE__*/ proxyCustomElement(class Table extends H {
|
|
|
1177
1177
|
};
|
|
1178
1178
|
}
|
|
1179
1179
|
const filterClass = this.filterOrientation === 'topbar' ? 'topbar-layout' : this.filterOrientation === 'none' ? '' : 'sidebar-layout';
|
|
1180
|
-
return (h(Host, { key: '
|
|
1180
|
+
return (h(Host, { key: 'a0421844e9c61683bd742e73f1809ffe3e0e6bad' }, h("div", { key: 'cdbddf03c9ec9508afe475280031ac789465c924', class: "table-container" }, this.filterOrientation === 'sidebar' && (h("div", { key: '9190967ad17c4bc873461f9679857aecfc42cf29', class: "sidebar-btn" }, h("ifx-button", { key: 'e6af658a82fa88e87b3b2cc3d377268d4b8e2cf4', type: "button", disabled: false, variant: "secondary", size: "m", target: "_blank", theme: "default", "full-width": "false", onClick: () => this.toggleSidebarFilters() }, h("ifx-icon", { key: '20be3fda6b40d956202c70dd8f2d5b8e27fccca1', icon: "cross-16" }), this.showSidebarFilters ? 'Hide Filters' : 'Show Filters'))), h("div", { key: 'b886df2920915f2e26b9e92a29f95971c769fe0c', class: filterClass }, this.filterOrientation === 'sidebar' && this.showSidebarFilters && (h("div", { key: '768e749d6bb7294581916fa350ab6db406fd56cc', class: "sidebar-container" }, h("div", { key: '00e5ee6ae4127e25ed6f354431fb50826a5738b7', class: "filters-title-container" }, h("span", { key: 'c40714d09dae34e2fe4ca75f4ddb12f4c81b37da', class: "filters-title" }, "Filters")), h("div", { key: '4c182b7dd4fe8996011025af996c1a2c8815c6d2', class: "set-filter-wrapper-sidebar" }, (this.filterOrientation !== 'sidebar' || this.showSidebarFilters) && h("slot", { key: '8a7dc422f3e4382554eb2af47de00ed53442d1d5', name: "sidebar-filter" })))), this.filterOrientation !== 'none' && this.filterOrientation !== 'sidebar' && (h("div", { key: '0f1ee29a1bc041554cdc65108136c646efc7b934', class: "set-filter-wrapper-topbar" }, (this.filterOrientation !== 'sidebar' || this.showSidebarFilters) && h("slot", { key: 'c9ce08d1026ebfc80ddd3a11bbe1b26a09e58c64', name: "topbar-filter" }))), h("div", { key: '12f0b8bcb4dcebe0b57779f09ac703a76c741df0', class: "table-pagination-wrapper" }, this.filterOrientation !== 'none' && this.filterOrientation !== 'topbar' && this.showSidebarFilters && (h("div", { key: '50fae34e9d7652ad2d27a2dbe10a973cc559f61b', class: "filter-chips" }, Object.keys(this.currentFilters).map(name => {
|
|
1181
1181
|
const filter = this.currentFilters[name];
|
|
1182
1182
|
const filterValues = filter.filterValues;
|
|
1183
1183
|
const isMultiSelect = filter.type !== 'text';
|
|
1184
1184
|
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;
|
|
1185
|
-
}))), h("div", { key: '
|
|
1185
|
+
}))), h("div", { key: 'a3d61c90ad5d8744be6c55d7790551a53d5388e9', class: "headline-wrapper" }, this.filterOrientation !== 'none' && this.headline && (h("div", { key: '598c04897a782b9f7fa8ea69b202e17c5db87142', class: "matching-results-container" }, h("span", { key: '174bbc64858c0b952eef4e289ec25a88f6a13ba5', class: "matching-results-count" }, "(", this.matchingResultsCount, ")"), h("span", { key: 'fa4e1a350a97794ba1c0390176d7413c19ff9286', class: "matching-results-text" }, this.headline))), h("div", { key: '52105af6541e2a5588dc0307c20d7e4b3e72220c', class: "inner-buttons-wrapper" }, h("slot", { key: 'fe68a9b64d3ed0fcbdb6a2ac9f2092fb9c921974', name: "inner-button" }))), h("div", { key: 'd3001b399da78d9e6005f4cf262a7f74b77b9cb4', id: "table-wrapper", class: this.getTableClassNames() }, h("div", { key: '4cc86621f42cb3c4de69618957297666e7df04a3', id: `ifxTable-${this.uniqueKey}`, class: `ifx-ag-grid ${this.variant === 'zebra' ? 'zebra' : ''}`, style: style, ref: el => (this.container = el) })), h("div", { key: 'ffea3142fecc04ca051aeeefd17dc9860ca8a1e1', class: "pagination-wrapper" }, this.pagination ? (h("ifx-pagination", { total: this.serverSidePagination ? this.matchingResultsCount : this.allRowData.length, "current-page": this.currentPage, "items-per-page": this.internalItemsPerPage })) : null))))));
|
|
1186
1186
|
}
|
|
1187
1187
|
hasButtonCol() {
|
|
1188
1188
|
return this.getColData().some(column => column.field === 'button');
|
|
@@ -292,11 +292,11 @@ const IfxTabs$1 = /*@__PURE__*/ proxyCustomElement(class IfxTabs extends H {
|
|
|
292
292
|
}
|
|
293
293
|
render() {
|
|
294
294
|
var _a, _b;
|
|
295
|
-
return (h("div", { key: '
|
|
295
|
+
return (h("div", { key: '17f31c13b84743786e5c6aa2f5c9c24f58b82ed2', "aria-label": "navigation tabs", class: `tabs ${this.internalOrientation} ${this.fullWidth ? 'full-width-enabled' : ''}` }, this.internalOrientation === 'horizontal' ? (h("div", { class: "tabs-container" }, h("ifx-icon-button", { shape: "round", variant: "tertiary", icon: "chevronLeft16", size: "s", disabled: false, "aria-label": "Scroll tabs left", onClick: () => this.scrollLeft(), class: `scroll-button scroll-left ${!this.canScrollLeft ? 'hidden' : ''}` }), h("ul", { role: "tablist", class: "tabs-list scrollable", ref: (el) => (this.tabsListElement = el), onScroll: () => this.onTabsListScroll() }, (_a = this.tabObjects) === null || _a === void 0 ? void 0 :
|
|
296
296
|
_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 :
|
|
297
297
|
tab.header))), h("div", { class: "active-border" })), h("ifx-icon-button", { shape: "round", variant: "tertiary", icon: "chevronRight16", size: "s", disabled: false, "aria-label": "Scroll tabs right", onClick: () => this.scrollRight(), class: `scroll-button scroll-right ${!this.canScrollRight ? 'hidden' : ''}` }))) : (h("ul", { role: "tablist", class: "tabs-list" }, (_b = this.tabObjects) === null || _b === void 0 ? void 0 :
|
|
298
298
|
_b.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 :
|
|
299
|
-
tab.header))), h("div", { class: "active-border" }))), h("div", { key: '
|
|
299
|
+
tab.header))), h("div", { class: "active-border" }))), h("div", { key: '852abb48779c3d068d3bb3d317e9dcf658f413e2', class: "tab-content" }, Array.from(this.tabObjects).map((_, index) => (h("div", { style: { display: index === this.internalActiveTabIndex ? 'block' : 'none' } }, h("slot", { name: `tab-${index}` })))))));
|
|
300
300
|
}
|
|
301
301
|
get el() { return this; }
|
|
302
302
|
static get watchers() { return {
|
|
@@ -4,9 +4,9 @@ import { d as defineCustomElement$8 } from './p-Dn3cSDWF.js';
|
|
|
4
4
|
import { d as defineCustomElement$7 } from './p-Bm-eGlq5.js';
|
|
5
5
|
import { d as defineCustomElement$6 } from './p-C8gN_PDS.js';
|
|
6
6
|
import { d as defineCustomElement$5 } from './p-BxvlRqa4.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-DdOsLLJc.js';
|
|
8
|
+
import { d as defineCustomElement$3 } from './p-DmM40b2X.js';
|
|
9
|
+
import { d as defineCustomElement$2 } from './p-B61i82g5.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
|
|
|
@@ -54,7 +54,7 @@ const TemplatesUI = /*@__PURE__*/ proxyCustomElement(class TemplatesUI extends H
|
|
|
54
54
|
alertWrapper.classList.remove('show');
|
|
55
55
|
}
|
|
56
56
|
render() {
|
|
57
|
-
return (h("div", { key: '
|
|
57
|
+
return (h("div", { key: '625f556bc421af7b7eb482e3516f7792b4c1ef71', class: 'templates__container' }, h("div", { key: 'b4baf8ddbb682ed4c8fd68915d5ade140e0f599f', class: "back__btn-wrapper" }, h("ifx-icon-button", { key: 'ae7543d14589bedb717e5798d2adfee5466cd7dc', onClick: () => this.filterTemplates(false), shape: "round", variant: "tertiary", icon: "arrow-left-16", target: "_blank", size: "m" }), h("div", { key: '62661f884e553205dcb63977c110b5cb8e174e53', class: "alert__wrapper" }, h("ifx-alert", { key: '5a9d3c9ed711cb2f3ceebb1baebbc106899f7e1f', onClick: () => this.closeAlert(), "aria-live": "assertive", variant: "danger", icon: "c-info-16" }, "All fields are mandatory"))), h("h2", { key: '60fb42f545206c1e19b4d3762c9110270cbd391e', class: "templates__title" }, "Choose your template"), h("div", { key: '4d4db713807c60c8cf3d10dde9d7b7b64304a2c5', class: "templates__wrapper" }, h("ifx-template", { key: 'edacabf2edfc49a2b23bf3a200ac559a6637336d', name: 'template-01', thumbnail: this.tableTemplate }), h("ifx-template", { key: '78eb56d6b2ae1f3f3020eaf36b99eeb5fd8b24ea', name: 'template-02', thumbnail: this.wizardTemplate }))));
|
|
58
58
|
}
|
|
59
59
|
static get assetsDirs() { return ["assets"]; }
|
|
60
60
|
get el() { return this; }
|
|
@@ -60,8 +60,8 @@ const TextArea = /*@__PURE__*/ proxyCustomElement(class TextArea extends H {
|
|
|
60
60
|
}
|
|
61
61
|
render() {
|
|
62
62
|
var _a, _b;
|
|
63
|
-
return (h(Host, { key: '
|
|
64
|
-
_a.trim(), this.required && (h("span", { key: '
|
|
63
|
+
return (h(Host, { key: '78ee16999292032b82986fe1e356e7f15609f0f4', class: `wrapper--${this.error ? 'error' : ''} wrapper--${this.disabled && !this.error ? 'disabled' : ''}` }, h("label", { key: 'a4faec9c9761ef71c2025d9d5c6f6c8637786bbe', class: 'wrapper__label', htmlFor: this.inputId }, (_a = this.label) === null || _a === void 0 ? void 0 :
|
|
64
|
+
_a.trim(), this.required && (h("span", { key: '7dba2fdd58743c379597dc59d839d8cb32dadbc1', class: `required ${this.error ? 'error' : ""}` }, "*"))), h("div", { key: 'ce8d1a3c5f53ab7a378ac475b008d033e746db8d', class: 'wrapper__textarea' }, h("textarea", { key: 'ab8d751375870e9293644d6f69c329afac342504', "aria-label": 'a textarea', "aria-value": this.value, "aria-disabled": this.disabled && !this.error, 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 && !this.error, 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: 'f9a033dd8fa43d821f0476f38161bb2dbf683432', class: 'wrapper__caption' }, this.caption.trim()))));
|
|
65
65
|
}
|
|
66
66
|
get el() { return this; }
|
|
67
67
|
static get style() { return textareaCss; }
|
|
@@ -159,10 +159,10 @@ const Tooltip = /*@__PURE__*/ proxyCustomElement(class Tooltip extends H {
|
|
|
159
159
|
'tooltip-extended': true,
|
|
160
160
|
'visible': this.tooltipVisible,
|
|
161
161
|
};
|
|
162
|
-
return (h("div", { key: '
|
|
163
|
-
h("div", { key: '
|
|
164
|
-
h("div", { key: '
|
|
165
|
-
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: '
|
|
162
|
+
return (h("div", { key: '73fe0cd0ba30b772907db89dc10248ca8fab5d5b', "aria-label": this.ariaLabel, "aria-value": this.header, class: "tooltip__container" }, h("slot", { key: 'c322892c782277d8640de4d7f86c073c82ff5b87' }), this.variant.toLowerCase() === 'dismissible' && h("div", { key: 'd268c502ee61550b6bb96512220bb10f73a6ec53', class: tooltipDismissible }, h("button", { key: 'e2ef4f4709a58adca779f60afbae4d5d990bf2b0', "aria-label": "Close Tooltip", class: "close-button", onClick: this.onDismissClick }, h("ifx-icon", { key: '85c008fc5bb577d3ed6dc3dc7ae824f3e579217a', icon: "cross16" })), h("div", { key: 'b6bbb49d16efdacb67596bd8006ad94be7895e24', class: "tooltip-dismissible-content" }, this.header && h("div", { key: 'b62b5521156c7ae5a9ceb95d2bbf02322345f7ef', class: "tooltip-dismissible-header" }, this.header), h("div", { key: 'cec7a6ea9e7536d18916547646864729396eb60f', class: "tooltip-dismissible-body" }, this.text)), h("svg", { key: 'c51e82c058a9cb4c4e7a0cbb13bb476f8afeb928', 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: '1029a62c61d0357a731b2951ea38d05c7c269551', id: "Indicator", d: "M6 0L12 8L0 8L6 0Z", fill: "#1D1D1D" }))), this.variant.toLowerCase() === 'compact' &&
|
|
163
|
+
h("div", { key: '830e279a14e2935f4e08021bd7399865e1ef44a2', class: tooltipCompact }, this.text, h("svg", { key: '93e80185a37e7121f858790fb3fa33ffb18092f6', 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: '0158bcc8dcd9259d92d512f8e96d325b616d50a0', id: "Indicator", d: "M6 0L12 8L0 8L6 0Z", fill: "#1D1D1D" }))), this.variant.toLowerCase() === 'extended' &&
|
|
164
|
+
h("div", { key: '661134a45b938246e9c58f2d456920a6035a90c9', class: tooltipExtended }, h("slot", { key: 'c601220c6b6d357800b3b697f78e68bb9d614431', name: "icon" }, this.icon ? h("div", { class: "extended_icon" }, h("ifx-icon", { icon: this.icon })) :
|
|
165
|
+
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: 'cee24e9d36ca9f745c397ba328eae361fc19741a', class: "tooltip-extended-content" }, this.header && h("div", { key: 'a7cd9c2a5614e33300e2ad18677655d96c8bb16f', class: "tooltip-extended-header" }, this.header), h("div", { key: '04075ce9041db50760373c24d5b15481bc1803fb', class: "tooltip-extended-body" }, this.text)), h("svg", { key: '003660f174f2d82b61fe122fc7102e5f5c345571', 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: '4212775539c5aad8f0b89edd938c9786c7662fef', id: "Indicator", d: "M6 0L12 8L0 8L6 0Z", fill: "#1D1D1D" })))));
|
|
166
166
|
}
|
|
167
167
|
get el() { return this; }
|
|
168
168
|
static get watchers() { return {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, h, F as Fragment } from './index.js';
|
|
2
|
-
import { d as defineCustomElement$3 } from './p-
|
|
2
|
+
import { d as defineCustomElement$3 } from './p-CROLVxZq.js';
|
|
3
3
|
import { d as defineCustomElement$2 } from './p-Bm-eGlq5.js';
|
|
4
4
|
|
|
5
5
|
const treeViewItemCss = ".tree-item{position:relative;cursor:pointer;list-style:none}.tree-item.tree-item--expanded{position:relative}.tree-item.tree-item--has-children{position:relative}.tree-item.tree-item--has-children .tree-item__header>.tree-item__chevron-container{display:flex}.tree-item.tree-item--has-children.tree-item--expanded .tree-item__header>.tree-item__chevron-container::after{display:block}.tree-item--disabled{cursor:not-allowed;pointer-events:none;color:#BFBBBB}.tree-item__content{display:flex;flex-direction:row}.tree-item__content:hover .tree-item__checkbox-container,.tree-item__content:hover .tree-item__header{background-color:#F7F7F7}.tree-item__checkbox-container{position:sticky;left:0;z-index:10;padding:4px;background-color:#FFFFFF}.tree-item__header{flex-grow:1;display:flex;align-items:center;white-space:nowrap;height:20px;padding-top:4px;padding-right:16px;padding-bottom:4px;padding-left:8px}.tree-item__chevron-container{display:none;align-items:center;margin-right:8px;height:20px}.tree-item__chevron-container::after{--height-line-start:28px;display:none;content:\"\";position:absolute;z-index:1;top:var(--height-line-start);left:auto;margin-left:8px;width:1px;height:calc(100% - var(--height-line-start));background-color:#EEEDED}.tree-item--disabled .tree-item__chevron-container::after{color:#EEEDED}.tree-item__chevron.chevron-down{transform:rotate(90deg)}.tree-item__chevron.chevron-right{transform:rotate(0)}.tree-item__label-icon-container{display:flex;align-items:center}.tree-item__label-icon-container:focus{outline:none}.tree-item__label-icon-container:focus-visible{outline:2px solid #0A8276;outline-offset:2px;border-radius:1px}.tree-item__icon-container{position:relative;width:16px;height:16px}.tree-item__icon-container ifx-icon{position:absolute;left:0;top:0;opacity:1;transition:opacity 0.2s ease-in-out}.tree-item__icon-container ifx-icon.icon--hidden{opacity:0}.tree-item__label{padding-left:8px}.tree-item__children{display:none}.tree-item[aria-expanded=true]>.tree-item__children{display:block}";
|
|
@@ -367,12 +367,12 @@ const TreeViewItem = /*@__PURE__*/ proxyCustomElement(class TreeViewItem extends
|
|
|
367
367
|
};
|
|
368
368
|
}
|
|
369
369
|
render() {
|
|
370
|
-
return (h("div", { key: '
|
|
370
|
+
return (h("div", { key: '06430c8297a83b8ede5128151c7393c3fd03e2a2', class: {
|
|
371
371
|
'tree-item': true,
|
|
372
372
|
'tree-item--expanded': this.isExpanded,
|
|
373
373
|
'tree-item--has-children': this.hasChildren,
|
|
374
374
|
'tree-item--disabled': this.disabled,
|
|
375
|
-
}, role: "treeitem", "aria-expanded": this.isExpanded ? 'true' : 'false', "data-level": this.level, "aria-disabled": this.disabled ? 'true' : undefined, "aria-label": this.ariaLabel }, h("div", { key: '
|
|
375
|
+
}, role: "treeitem", "aria-expanded": this.isExpanded ? 'true' : 'false', "data-level": this.level, "aria-disabled": this.disabled ? 'true' : undefined, "aria-label": this.ariaLabel }, h("div", { key: '2de63b8310c477646aeaf8deb3131bba1dc3801d', class: "tree-item__content" }, h("div", { key: '4269b1df1e670ec4106c1c4462cdd1dbe3cee7bd', class: "tree-item__checkbox-container", onClick: e => e.stopPropagation() }, h("ifx-checkbox", { key: '819444dfb6c9dd52a0aa703796c3e59c90616a79', size: 's', checked: this.partialChecked ? false : this.isChecked, indeterminate: this.partialChecked, onIfxChange: this.handleCheckboxChange, disabled: this.disabled })), h("div", { key: '2b4f487b08fbb77eed104ecee0774033c26f96fd', class: "tree-item__header", style: { paddingLeft: `${this.level * 24 + 10}px` }, onClick: this.handleHeaderClick, tabIndex: -1, "aria-disabled": this.disabled ? 'true' : undefined }, this.hasChildren && (h("div", { key: '59770cbe680dce25156ded6580dad90d3f4cc880', class: "tree-item__chevron-container", onClick: this.toggleExpand }, h("ifx-icon", { key: 'ef7ef1761781d4c179ee696e08af6d24af7d9b9f', class: `tree-item__chevron ${this.isExpanded ? 'chevron-down' : 'chevron-right'}`, icon: "chevron-right-16" }), h("div", { key: '99ec9f0abe191fde4a158484fb3b74d9d4ce524e', class: "tree-item__line" }))), h("div", { key: 'e91ecf4d195285403ac2229fc838e470c0e46ba6', class: "tree-item__label-icon-container", tabIndex: this.disabled ? -1 : 0, onKeyDown: this.handleKeyDown }, h("div", { key: 'a4b44e04c85234486602bdce7be330c7b9775233', class: "tree-item__icon-container" }, this.hasChildren ? (h(Fragment, null, h("ifx-icon", { class: { 'icon--hidden': this.isExpanded }, icon: "folder-16" }), h("ifx-icon", { class: { 'icon--hidden': !this.isExpanded }, icon: "folder-open-16" }))) : (h("ifx-icon", { icon: "file-16" }))), h("span", { key: '855ebc797490c23969a22b31fe8df64ffae2ff32', class: "tree-item__label" }, h("slot", { key: '92d518b2c916f43229ca5f9a9c38809b08888d09' }))))), this.isExpanded && h("div", { key: '769744e6235899295020700585f278ae8f3ba091', class: "tree-item__children" }, h("slot", { key: '4e760a8d309e22549df336927b955a35036c1826', name: "children" }))));
|
|
376
376
|
}
|
|
377
377
|
get host() { return this; }
|
|
378
378
|
static get watchers() { return {
|
|
@@ -42,7 +42,7 @@ const TreeView = /*@__PURE__*/ proxyCustomElement(class TreeView extends H {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
render() {
|
|
45
|
-
return (h("div", { key: '
|
|
45
|
+
return (h("div", { key: 'd8339646d8f0aab7afd0a0c75423b03106c5eb1f', class: `tree-view ${this.disableAllItems ? ' tree-view--disabled' : ''}`, role: "tree", "aria-label": this.ariaLabel }, this.label && this.label.trim() !== '' && h("div", { key: '010f9c98e9c17b4d6be10d886dce7738dc094a55', class: "tree-view__label" }, this.label), h("slot", { key: 'd09ddb739ede79d1b22ec390510444783cc2e8fc', ref: this.handleSlotRef })));
|
|
46
46
|
}
|
|
47
47
|
get el() { return this; }
|
|
48
48
|
static get watchers() { return {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, h } from './index.js';
|
|
2
2
|
import { i as isNestedInIfxComponent, d as detectFramework, t as trackComponent } from './p-bqYaVeZb.js';
|
|
3
|
-
import { d as defineCustomElement$3 } from './p-
|
|
3
|
+
import { d as defineCustomElement$3 } from './p-CROLVxZq.js';
|
|
4
4
|
import { d as defineCustomElement$2 } from './p-Bm-eGlq5.js';
|
|
5
|
-
import { d as defineCustomElement$1 } from './p-
|
|
5
|
+
import { d as defineCustomElement$1 } from './p-ZCLJED5S.js';
|
|
6
6
|
|
|
7
7
|
const multiselectCss = ":root{--ifx-font-family:\"Source Sans 3\", 'Arial, sans-serif'}.ifx-multiselect-container{position:relative;box-sizing:border-box;font-family:var(--ifx-font-family)}.ifx-multiselect-container.disabled .ifx-label-wrapper{color:#BFBBBB}.ifx-multiselect-container.disabled .ifx-multiselect-wrapper{background:#BFBBBB;color:#FFFFFF;border-color:#BFBBBB;cursor:default;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ifx-multiselect-container:hover{cursor:pointer}.ifx-multiselect-container .ifx-label-wrapper{font-size:1rem;line-height:1.5rem;white-space:pre-wrap;word-wrap:break-word;overflow-wrap:anywhere;max-width:100%}.ifx-multiselect-container .ifx-label-wrapper .required{margin-left:4px}.ifx-multiselect-container .ifx-label-wrapper .required.error{color:#CD002F}.ifx-multiselect-container .multi__select-caption{font-style:normal;font-weight:400;font-size:0.75rem;line-height:1rem;color:#1D1D1D;flex:none;order:1;align-self:stretch;flex-grow:0}.ifx-multiselect-container .multi__select-caption.error{color:#CD002F}.ifx-multiselect-container .multi__select-caption.disabled{color:#BFBBBB}.ifx-multiselect-container .ifx-multiselect-wrapper{background-color:#FFFFFF;box-sizing:border-box;display:flex;align-items:center;border:1px solid #8D8786;border-radius:1px;width:100%;font-weight:400;font-style:normal;height:40px;line-height:24px;padding:8px 16px;font-size:1rem;line-height:1.5rem}.ifx-multiselect-container .ifx-multiselect-wrapper:focus-visible{outline:none}.ifx-multiselect-container .ifx-multiselect-wrapper:focus-visible:not(.active):not(:active){outline:none}.ifx-multiselect-container .ifx-multiselect-wrapper:focus-visible:not(.active):not(:active)::before{content:\"\";position:absolute;width:calc(100% + 4px);height:calc(100% + 4px);top:50%;left:50%;transform:translate(-50%, -50%);border:2px solid #0A8276;border-radius:2px}.ifx-multiselect-container .ifx-multiselect-wrapper.error{border-color:#CD002F}.ifx-multiselect-container .ifx-multiselect-wrapper.active{border-color:#0A8276 !important}.ifx-multiselect-container .ifx-multiselect-wrapper.active .icon-wrapper-up{display:flex;align-items:center;justify-content:center;padding-left:8px}.ifx-multiselect-container .ifx-multiselect-wrapper.active .icon-wrapper-down{display:none}.ifx-multiselect-container .ifx-multiselect-wrapper .icon-wrapper-up{display:none}.ifx-multiselect-container .ifx-multiselect-wrapper .icon-wrapper-down{display:flex;align-items:center;justify-content:center;padding-left:8px}.ifx-multiselect-container .ifx-multiselect-wrapper.is-flipped .ifx-multiselect-dropdown-menu{top:auto;bottom:100%}.ifx-multiselect-container .ifx-multiselect-input{flex-grow:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ifx-multiselect-container .ifx-multiselect-input.placeholder{opacity:0.5}.ifx-multiselect-container .ifx-multiselect-icon-container{margin-left:auto;display:flex;align-items:center;gap:8px}.ifx-multiselect-container .ifx-multiselect-icon-container .ifx-multiselect-icon-container{display:flex}.ifx-multiselect-container .ifx-multiselect-icon-container .icon-wrapper{display:flex;align-items:center;transition:transform 0.2s ease-in-out}.ifx-multiselect-container .ifx-multiselect-icon-container .icon-wrapper--open{transform:rotate(180deg)}.ifx-multiselect-container .ifx-clear-button{display:flex;align-items:center}.ifx-multiselect-container .ifx-clear-button.hide{display:none}.ifx-multiselect-container .ifx-multiselect-dropdown-menu{box-sizing:border-box;position:absolute;top:100%;left:0;width:100%;margin-top:4px;border:1px solid #EEEDED;background-color:#FFFFFF;box-shadow:0px 6px 9px 0px rgba(29, 29, 29, 0.1);max-height:300px;z-index:1000;display:flex;flex-direction:column}.ifx-multiselect-container:not(.disabled) .ifx-multiselect-wrapper:hover:not(.focus,:focus){border-color:#575352}.ifx-multiselect-dropdown-functions{padding:12px 16px;border-bottom:1px solid #EEEDED;flex-shrink:0}.ifx-multiselect-dropdown-search{margin-bottom:12px}.ifx-multiselect-dropdown-controls{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px}.ifx-multiselect-dropdown-controls .select-all-wrapper{display:flex}.ifx-multiselect-dropdown-controls .expand-collapse-controls{display:flex;gap:12px}.ifx-multiselect-dropdown-controls .control-item{font-size:0.875rem;line-height:1.25rem}.ifx-multiselect-dropdown-controls .control-item:hover{color:#0A8276}.ifx-multiselect-dropdown-controls .control-item:active{color:#08665C}.ifx-multiselect-dropdown-controls .control-item:focus{outline:none}.ifx-multiselect-dropdown-controls .control-item:focus-visible{outline:2px solid #0A8276;outline-offset:2px;border-radius:1px}.ifx-multiselect-options{flex:1;overflow-y:auto;padding-top:12px;padding-bottom:12px}.ifx-multiselect-options.show-no-results .ifx-multiselect-no-results{display:block}.ifx-multiselect-no-results{padding-left:16px;padding-right:16px;display:none}";
|
|
8
8
|
|
|
@@ -486,15 +486,15 @@ const Multiselect = /*@__PURE__*/ proxyCustomElement(class Multiselect extends H
|
|
|
486
486
|
if (allOptionElements.length > 0) {
|
|
487
487
|
isFlatMultiselect = Array.from(allOptionElements).every(option => option.children.length === 0);
|
|
488
488
|
}
|
|
489
|
-
return (h("div", { key: '
|
|
489
|
+
return (h("div", { key: 'fd7ce64694f743334f1c4577105d9c40f084ebbf', class: `ifx-multiselect-container ${this.disabled && !this.error ? 'disabled' : ''}`, ref: el => (this.dropdownElement = el) }, h("div", { key: '81abefbfc60b69bcd9c7e9b909dae93fd1767773', class: "ifx-label-wrapper" }, this.label && (h("span", { key: '6de06dac0828d7831519e3c92b68095e533ae375', class: "wrapper-label" }, h("span", { key: 'ed9c68a25201321d0d69444e88d60d68db24e330' }, this.label), this.required && h("span", { key: '070422e2ebb9cb47fb21dcee37229b70016c0da1', class: `required ${this.error ? 'error' : ''}` }, "*")))), h("div", { key: '3b5d28e2c87f472e68f1a8293daa9d5246d170b2', class: `ifx-multiselect-wrapper
|
|
490
490
|
${this.dropdownOpen ? 'active' : ''}
|
|
491
491
|
${this.dropdownFlipped ? 'is-flipped' : ''}
|
|
492
492
|
${this.internalError ? 'error' : ''}
|
|
493
|
-
${this.disabled && !this.error ? 'disabled' : ''}`, role: "combobox", "aria-label": this.ariaMultiSelectLabel, "aria-labelledby": this.ariaMultiSelectLabelledBy || undefined, "aria-describedby": this.ariaMultiSelectDescribedBy || undefined, "aria-expanded": this.dropdownOpen, "aria-haspopup": "listbox", "aria-disabled": this.disabled && !this.error, tabindex: "0", onClick: this.disabled && !this.error ? undefined : event => this.handleWrapperClick(event), onKeyDown: this.disabled && !this.error ? undefined : event => this.handleKeyDown(event) }, h("div", { key: '
|
|
493
|
+
${this.disabled && !this.error ? 'disabled' : ''}`, role: "combobox", "aria-label": this.ariaMultiSelectLabel, "aria-labelledby": this.ariaMultiSelectLabelledBy || undefined, "aria-describedby": this.ariaMultiSelectDescribedBy || undefined, "aria-expanded": this.dropdownOpen, "aria-haspopup": "listbox", "aria-disabled": this.disabled && !this.error, tabindex: "0", onClick: this.disabled && !this.error ? undefined : event => this.handleWrapperClick(event), onKeyDown: this.disabled && !this.error ? undefined : event => this.handleKeyDown(event) }, h("div", { key: '1d5e621056168b08004c8efb998ff25865da2239', class: `ifx-multiselect-input
|
|
494
494
|
${hasSelections ? '' : 'placeholder'}
|
|
495
|
-
`, onClick: this.disabled && !this.error ? undefined : () => this.toggleDropdown() }, hasSelections ? selectedOptionsLabels : this.placeholder), this.dropdownOpen && (h("div", { key: '
|
|
495
|
+
`, onClick: this.disabled && !this.error ? undefined : () => this.toggleDropdown() }, hasSelections ? selectedOptionsLabels : this.placeholder), this.dropdownOpen && (h("div", { key: '88762a0e7d11feb2fba793f3d4dc7fc183c161e9', class: "ifx-multiselect-dropdown-menu" }, (this.showSearch || this.showSelectAll || (this.showExpandCollapse && !isFlatMultiselect)) && (h("div", { key: 'f47c4fd519f502997c2c8ac3611f914e628a465b', class: "ifx-multiselect-dropdown-functions", onClick: e => e.stopPropagation() }, this.showSearch && (h("div", { key: '6d34c960d1dba9eca8bf4e1c89377d736c590b20', class: "ifx-multiselect-dropdown-search" }, h("ifx-search-field", { key: '37bc73b76fb6011f64566aa3ffc4b01056a0ac1b', class: "search-input", placeholder: this.searchPlaceholder, size: "s", "show-delete-icon": "true", "aria-label": this.ariaSearchLabel, onKeyDown: e => {
|
|
496
496
|
e.stopPropagation();
|
|
497
|
-
}, onIfxInput: event => this.handleSearch(event.target), onFocus: () => this.handleSearchFocus(true), onBlur: () => this.handleSearchFocus(false) }))), h("div", { key: '
|
|
497
|
+
}, onIfxInput: event => this.handleSearch(event.target), onFocus: () => this.handleSearchFocus(true), onBlur: () => this.handleSearchFocus(false) }))), h("div", { key: 'd7a0b92d7532aa2290e253172359c694a83d92e9', class: "ifx-multiselect-dropdown-controls" }, this.showSelectAll && this.renderSelectAll(), this.showExpandCollapse && !isFlatMultiselect && (h("div", { key: 'c509eb6f7b77507cf3c1207f1e912130b722f84e', class: "expand-collapse-controls" }, h("span", { key: '912ffe8e593e4e0f81cff8ad03e72139b492c23f', class: "control-item", role: "button", tabIndex: 0, "aria-label": this.ariaExpandAllLabel, onClick: e => {
|
|
498
498
|
e.stopPropagation();
|
|
499
499
|
this.expandAll();
|
|
500
500
|
}, onKeyDown: e => {
|
|
@@ -503,7 +503,7 @@ const Multiselect = /*@__PURE__*/ proxyCustomElement(class Multiselect extends H
|
|
|
503
503
|
e.stopPropagation();
|
|
504
504
|
this.expandAll();
|
|
505
505
|
}
|
|
506
|
-
} }, this.expandLabel), h("span", { key: '
|
|
506
|
+
} }, this.expandLabel), h("span", { key: 'e7201dfca2b2e16469778ffd922b4c64f3d06619', class: "control-item", role: "button", tabIndex: 0, "aria-label": this.ariaCollapseAllLabel, onClick: e => {
|
|
507
507
|
e.stopPropagation();
|
|
508
508
|
this.collapseAll();
|
|
509
509
|
}, onKeyDown: e => {
|
|
@@ -512,7 +512,7 @@ const Multiselect = /*@__PURE__*/ proxyCustomElement(class Multiselect extends H
|
|
|
512
512
|
e.stopPropagation();
|
|
513
513
|
this.collapseAll();
|
|
514
514
|
}
|
|
515
|
-
} }, this.collapseLabel)))))), h("div", { key: '
|
|
515
|
+
} }, this.collapseLabel)))))), h("div", { key: '031e2384922144e63b528ac69a8ad1bea1420acf', class: "ifx-multiselect-options", role: "listbox", "aria-multiselectable": "true" }, h("slot", { key: 'b5e77631b05852b7f708b92f2cdd797b7cb653a2' }), this.searchTerm && this.showNoResultsMessage && this.renderNoResultsMessage()))), h("div", { key: '5a813087f59df7ab9dca060d5c80d158bc8d6da1', class: "ifx-multiselect-icon-container" }, this.persistentSelectedOptions.length > 0 && (h("div", { key: '0ae8b58fa2d2ccf28962264bfaa8949114f5767d', class: `ifx-clear-button ${!this.showClearButton ? 'hide' : ''}`, onClick: this.disabled && !this.error ? undefined : () => this.clearSelection() }, h("ifx-icon", { key: '8e60813fa135b67a28ba5759c37fb000641af257', icon: "cRemove16" }))), h("div", { key: 'f71cc3fa883c5af46d24048320bdf822c8ceeb99', class: "icon-wrapper-up", onClick: this.disabled && !this.error ? undefined : () => this.toggleDropdown() }, h("ifx-icon", { key: "icon-up", icon: "chevron-up-16" })), h("div", { key: 'fb08f6a16daebfc6e0a58fcb24e5cfdffd80b423', class: "icon-wrapper-down", onClick: this.disabled && !this.error ? undefined : () => this.toggleDropdown() }, h("ifx-icon", { key: "icon-down", icon: "chevron-down-16" })))), this.caption && h("div", { key: '4bd2795e4eb8539f8609bf83065f2637f2f1dc1b', class: `multi__select-caption ${this.error ? 'error' : ''} ${this.disabled && !this.error ? 'disabled' : ''}` }, this.caption)));
|
|
516
516
|
}
|
|
517
517
|
get el() { return this; }
|
|
518
518
|
static get watchers() { return {
|
|
@@ -587,6 +587,6 @@ function defineCustomElement() {
|
|
|
587
587
|
}
|
|
588
588
|
|
|
589
589
|
export { Multiselect as M, defineCustomElement as d };
|
|
590
|
-
//# sourceMappingURL=p-
|
|
590
|
+
//# sourceMappingURL=p-B-I2VhI5.js.map
|
|
591
591
|
|
|
592
|
-
//# sourceMappingURL=p-
|
|
592
|
+
//# sourceMappingURL=p-B-I2VhI5.js.map
|