@siemens/ix 2.6.0 → 2.6.1
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/components/button.js +7 -2
- package/components/button.js.map +1 -1
- package/components/dropdown-item.js +1 -1
- package/components/dropdown-item.js.map +1 -1
- package/components/field-label.js +1 -1
- package/components/field-label.js.map +1 -1
- package/components/field-wrapper.js +2 -2
- package/components/field-wrapper.js.map +1 -1
- package/components/index3.js +2 -1
- package/components/index3.js.map +1 -1
- package/components/input.util.js +4 -8
- package/components/input.util.js.map +1 -1
- package/components/ix-date-input.js +6 -6
- package/components/ix-date-input.js.map +1 -1
- package/components/ix-input.js +3 -3
- package/components/ix-input.js.map +1 -1
- package/components/ix-number-input.js +5 -5
- package/components/ix-number-input.js.map +1 -1
- package/components/ix-textarea.js +2 -2
- package/components/ix-textarea.js.map +1 -1
- package/components/ix-toggle-button.js +2 -2
- package/components/ix-toggle.js +25 -5
- package/components/ix-toggle.js.map +1 -1
- package/components/ix-tree.js +330 -496
- package/components/ix-tree.js.map +1 -1
- package/components/ix-upload.js +3 -3
- package/components/ix-validation-tooltip.js +2 -2
- package/components/ix-workflow-step.js +3 -3
- package/components/ix-workflow-steps.js +1 -1
- package/components/modal.js +6 -0
- package/components/modal.js.map +1 -1
- package/components/select.js +68 -52
- package/components/select.js.map +1 -1
- package/components/tooltip.js +2 -2
- package/components/tree-item.js +6 -5
- package/components/tree-item.js.map +1 -1
- package/dist/cjs/{app-globals-3c9c6a50.js → app-globals-4d8f1524.js} +2 -2
- package/dist/cjs/{app-globals-3c9c6a50.js.map → app-globals-4d8f1524.js.map} +1 -1
- package/dist/cjs/core-js-b22adfab.js +26 -0
- package/dist/cjs/core-js-b22adfab.js.map +1 -0
- package/dist/cjs/{helper-text-util-3192e78f.js → helper-text-util-635a1877.js} +2 -2
- package/dist/cjs/{helper-text-util-3192e78f.js.map → helper-text-util-635a1877.js.map} +1 -1
- package/dist/cjs/{index-74904d8b.js → index-492e6488.js} +2 -2
- package/dist/cjs/{index-74904d8b.js.map → index-492e6488.js.map} +1 -1
- package/dist/cjs/{index-d2117dc0.js → index-b44a6617.js} +3 -1
- package/dist/cjs/index-b44a6617.js.map +1 -0
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/{index.es2017-0c2b80b6.js → index.es2017-805b5876.js} +3 -3
- package/dist/cjs/{index.es2017-0c2b80b6.js.map → index.es2017-805b5876.js.map} +1 -1
- package/dist/cjs/{input.util-1c2fa43d.js → input.util-54d161e6.js} +5 -9
- package/dist/cjs/input.util-54d161e6.js.map +1 -0
- package/dist/cjs/ix-application-header.cjs.entry.js +2 -2
- package/dist/cjs/ix-application-switch-modal.cjs.entry.js +1 -1
- package/dist/cjs/ix-button.cjs.entry.js +7 -2
- package/dist/cjs/ix-button.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-col_4.cjs.entry.js +1 -1
- package/dist/cjs/ix-date-input.cjs.entry.js +6 -6
- package/dist/cjs/ix-date-input.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-dropdown-item.cjs.entry.js +1 -1
- package/dist/cjs/ix-dropdown-item.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-field-label_3.cjs.entry.js +7 -7
- package/dist/cjs/ix-field-label_3.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-helper-text.cjs.entry.js +2 -2
- package/dist/cjs/{ix-icon.entry-e95ddded.js → ix-icon.entry-e33446e2.js} +2 -2
- package/dist/cjs/{ix-icon.entry-e95ddded.js.map → ix-icon.entry-e33446e2.js.map} +1 -1
- package/dist/cjs/ix-input.cjs.entry.js +5 -5
- package/dist/cjs/ix-input.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-menu.cjs.entry.js +2 -2
- package/dist/cjs/ix-number-input.cjs.entry.js +7 -7
- package/dist/cjs/ix-number-input.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-select.cjs.entry.js +68 -52
- package/dist/cjs/ix-select.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-textarea.cjs.entry.js +3 -3
- package/dist/cjs/ix-textarea.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-time-picker.cjs.entry.js +1 -1
- package/dist/cjs/ix-toggle-button.cjs.entry.js +2 -2
- package/dist/cjs/ix-toggle.cjs.entry.js +17 -3
- package/dist/cjs/ix-toggle.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-tree-item.cjs.entry.js +6 -5
- package/dist/cjs/ix-tree-item.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-tree.cjs.entry.js +330 -489
- package/dist/cjs/ix-tree.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-upload.cjs.entry.js +3 -3
- package/dist/cjs/ix-validation-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/ix-workflow-step.cjs.entry.js +3 -3
- package/dist/cjs/ix-workflow-steps.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{modal-a49409aa.js → modal-923c83a6.js} +7 -1
- package/dist/cjs/modal-923c83a6.js.map +1 -0
- package/dist/cjs/{setup-86b7d543.js → setup-cc07fbfc.js} +2 -2
- package/dist/cjs/{setup-86b7d543.js.map → setup-cc07fbfc.js.map} +1 -1
- package/dist/cjs/siemens-ix.cjs.js +3 -3
- package/dist/collection/components/button/button.js +7 -2
- package/dist/collection/components/button/button.js.map +1 -1
- package/dist/collection/components/date-input/date-input.js +8 -6
- package/dist/collection/components/date-input/date-input.js.map +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.css +0 -3
- package/dist/collection/components/field-label/field-label.js +13 -5
- package/dist/collection/components/field-label/field-label.js.map +1 -1
- package/dist/collection/components/field-wrapper/field-wrapper.js +12 -4
- package/dist/collection/components/field-wrapper/field-wrapper.js.map +1 -1
- package/dist/collection/components/input/input.fc.js +4 -8
- package/dist/collection/components/input/input.fc.js.map +1 -1
- package/dist/collection/components/input/input.js +5 -3
- package/dist/collection/components/input/input.js.map +1 -1
- package/dist/collection/components/input/number-input.js +7 -5
- package/dist/collection/components/input/number-input.js.map +1 -1
- package/dist/collection/components/input/textarea.js +2 -2
- package/dist/collection/components/input/textarea.js.map +1 -1
- package/dist/collection/components/modal/test/modal.ct.js +57 -65
- package/dist/collection/components/modal/test/modal.ct.js.map +1 -1
- package/dist/collection/components/select/select.js +68 -52
- package/dist/collection/components/select/select.js.map +1 -1
- package/dist/collection/components/select/test/select.ct.js +72 -100
- package/dist/collection/components/select/test/select.ct.js.map +1 -1
- package/dist/collection/components/toggle/toggle.css +376 -161
- package/dist/collection/components/toggle/toggle.js +17 -3
- package/dist/collection/components/toggle/toggle.js.map +1 -1
- package/dist/collection/components/toggle-button/toggle-button.js +2 -2
- package/dist/collection/components/tooltip/tooltip.js +2 -2
- package/dist/collection/components/tree/tree.js +6 -3
- package/dist/collection/components/tree/tree.js.map +1 -1
- package/dist/collection/components/tree-item/tree-item.js +6 -5
- package/dist/collection/components/tree-item/tree-item.js.map +1 -1
- package/dist/collection/components/upload/upload.js +3 -3
- package/dist/collection/components/utils/lazy-list/index.js +2 -0
- package/dist/collection/components/utils/lazy-list/index.js.map +1 -0
- package/dist/collection/components/utils/lazy-list/lazy.js +343 -0
- package/dist/collection/components/utils/lazy-list/lazy.js.map +1 -0
- package/dist/collection/components/utils/modal/modal.js +6 -0
- package/dist/collection/components/utils/modal/modal.js.map +1 -1
- package/dist/collection/components/validation-tooltip/validation-tooltip.js +2 -2
- package/dist/collection/components/workflow-step/workflow-step.js +3 -3
- package/dist/collection/components/workflow-steps/workflow-steps.js +1 -1
- package/dist/collection/tests/html-tags/html-tags.e2e.js +17 -0
- package/dist/collection/tests/html-tags/html-tags.e2e.js.map +1 -0
- package/dist/esm/app-globals-40082a83.js +7 -0
- package/dist/esm/{app-globals-ae0ca705.js.map → app-globals-40082a83.js.map} +1 -1
- package/dist/esm/{core-js-78b486a8.js → core-js-4a847feb.js} +2 -2
- package/dist/esm/{core-js-78b486a8.js.map → core-js-4a847feb.js.map} +1 -1
- package/dist/esm/{helper-text-util-10896253.js → helper-text-util-e47b864d.js} +2 -2
- package/dist/esm/{helper-text-util-10896253.js.map → helper-text-util-e47b864d.js.map} +1 -1
- package/dist/esm/{index-ad2af369.js → index-2b76ea55.js} +3 -2
- package/dist/esm/index-2b76ea55.js.map +1 -0
- package/dist/esm/{index-60d17930.js → index-7421df0c.js} +2 -2
- package/dist/esm/{index-60d17930.js.map → index-7421df0c.js.map} +1 -1
- package/dist/esm/{index.es2017-93ac816c.js → index.es2017-4e6fdf77.js} +3 -3
- package/dist/esm/{index.es2017-93ac816c.js.map → index.es2017-4e6fdf77.js.map} +1 -1
- package/dist/esm/index.js +3 -3
- package/dist/esm/{input.util-715860e3.js → input.util-c855b2ed.js} +5 -9
- package/dist/esm/input.util-c855b2ed.js.map +1 -0
- package/dist/esm/ix-application-header.entry.js +2 -2
- package/dist/esm/ix-application-switch-modal.entry.js +1 -1
- package/dist/esm/ix-button.entry.js +7 -2
- package/dist/esm/ix-button.entry.js.map +1 -1
- package/dist/esm/ix-col_4.entry.js +1 -1
- package/dist/esm/ix-date-input.entry.js +6 -6
- package/dist/esm/ix-date-input.entry.js.map +1 -1
- package/dist/esm/ix-dropdown-item.entry.js +1 -1
- package/dist/esm/ix-dropdown-item.entry.js.map +1 -1
- package/dist/esm/ix-field-label_3.entry.js +7 -7
- package/dist/esm/ix-field-label_3.entry.js.map +1 -1
- package/dist/esm/ix-helper-text.entry.js +2 -2
- package/dist/esm/{ix-icon.entry-621b700a.js → ix-icon.entry-f5f7c268.js} +2 -2
- package/dist/esm/{ix-icon.entry-621b700a.js.map → ix-icon.entry-f5f7c268.js.map} +1 -1
- package/dist/esm/ix-input.entry.js +5 -5
- package/dist/esm/ix-input.entry.js.map +1 -1
- package/dist/esm/ix-menu.entry.js +2 -2
- package/dist/esm/ix-number-input.entry.js +7 -7
- package/dist/esm/ix-number-input.entry.js.map +1 -1
- package/dist/esm/ix-select.entry.js +68 -52
- package/dist/esm/ix-select.entry.js.map +1 -1
- package/dist/esm/ix-textarea.entry.js +3 -3
- package/dist/esm/ix-textarea.entry.js.map +1 -1
- package/dist/esm/ix-time-picker.entry.js +1 -1
- package/dist/esm/ix-toggle-button.entry.js +2 -2
- package/dist/esm/ix-toggle.entry.js +18 -4
- package/dist/esm/ix-toggle.entry.js.map +1 -1
- package/dist/esm/ix-tree-item.entry.js +6 -5
- package/dist/esm/ix-tree-item.entry.js.map +1 -1
- package/dist/esm/ix-tree.entry.js +330 -489
- package/dist/esm/ix-tree.entry.js.map +1 -1
- package/dist/esm/ix-upload.entry.js +3 -3
- package/dist/esm/ix-validation-tooltip.entry.js +2 -2
- package/dist/esm/ix-workflow-step.entry.js +3 -3
- package/dist/esm/ix-workflow-steps.entry.js +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{modal-101eef04.js → modal-4b3f8800.js} +7 -1
- package/dist/{cjs/modal-a49409aa.js.map → esm/modal-4b3f8800.js.map} +1 -1
- package/dist/esm/{setup-d88021f8.js → setup-9c5fe321.js} +2 -2
- package/dist/esm/{setup-d88021f8.js.map → setup-9c5fe321.js.map} +1 -1
- package/dist/esm/siemens-ix.js +3 -3
- package/dist/siemens-ix/index.esm.js +1 -1
- package/dist/siemens-ix/{p-0dbc970e.entry.js → p-0b2f0536.entry.js} +2 -2
- package/dist/siemens-ix/{p-2b226409.entry.js → p-0b5c9f33.entry.js} +2 -2
- package/dist/siemens-ix/p-0b5c9f33.entry.js.map +1 -0
- package/dist/siemens-ix/{p-044c2a7b.entry.js → p-18542846.entry.js} +2 -2
- package/dist/siemens-ix/p-20938f73.entry.js +2 -0
- package/dist/siemens-ix/p-20938f73.entry.js.map +1 -0
- package/dist/siemens-ix/p-22cba43a.entry.js +2 -0
- package/dist/siemens-ix/p-22cba43a.entry.js.map +1 -0
- package/dist/siemens-ix/{p-9fe2759f.entry.js → p-243e8b32.entry.js} +2 -2
- package/dist/siemens-ix/p-243e8b32.entry.js.map +1 -0
- package/dist/siemens-ix/p-38d9d569.js +2 -0
- package/dist/siemens-ix/p-38d9d569.js.map +1 -0
- package/dist/siemens-ix/{p-d7aa00d6.js → p-3aaecbd9.js} +2 -2
- package/dist/siemens-ix/{p-175599e4.entry.js → p-42320fb3.entry.js} +2 -2
- package/dist/siemens-ix/p-44fa005c.js +4 -0
- package/dist/siemens-ix/{p-a2200306.js.map → p-44fa005c.js.map} +1 -1
- package/dist/siemens-ix/p-451551d1.js +2 -0
- package/dist/siemens-ix/p-451551d1.js.map +1 -0
- package/dist/siemens-ix/p-53fd545a.entry.js +2 -0
- package/dist/siemens-ix/p-53fd545a.entry.js.map +1 -0
- package/dist/siemens-ix/p-5fbdff13.entry.js +2 -0
- package/dist/siemens-ix/p-5fbdff13.entry.js.map +1 -0
- package/dist/siemens-ix/{p-1f6df0c6.js → p-738c2d1f.js} +2 -2
- package/dist/siemens-ix/{p-424e8092.entry.js → p-897c8e5b.entry.js} +2 -2
- package/dist/siemens-ix/p-897c8e5b.entry.js.map +1 -0
- package/dist/siemens-ix/{p-f35386ec.js → p-93d4d3c9.js} +2 -2
- package/dist/siemens-ix/{p-9948574f.entry.js → p-97d4b3bd.entry.js} +2 -2
- package/dist/siemens-ix/{p-6a4a2064.entry.js → p-9f960c0b.entry.js} +2 -2
- package/dist/siemens-ix/{p-0c89cbcc.entry.js → p-a4dc6824.entry.js} +2 -2
- package/dist/siemens-ix/{p-fe87443e.js → p-a6af13b0.js} +2 -2
- package/dist/siemens-ix/p-af7c4b16.entry.js +2 -0
- package/dist/siemens-ix/p-af7c4b16.entry.js.map +1 -0
- package/dist/siemens-ix/{p-a3364116.entry.js → p-afb4565c.entry.js} +2 -2
- package/dist/siemens-ix/{p-4c9b7548.entry.js → p-bc272f75.entry.js} +2 -2
- package/dist/siemens-ix/{p-3205726a.entry.js → p-bfe469e4.entry.js} +2 -2
- package/dist/siemens-ix/{p-792e1c52.entry.js → p-c07557b0.entry.js} +2 -2
- package/dist/siemens-ix/p-c07557b0.entry.js.map +1 -0
- package/dist/siemens-ix/p-c3ca17fc.js +2 -0
- package/dist/siemens-ix/p-c530de51.entry.js +2 -0
- package/dist/siemens-ix/p-c530de51.entry.js.map +1 -0
- package/dist/siemens-ix/p-d2f21544.js +2 -0
- package/dist/siemens-ix/{p-68bb2a09.entry.js → p-d9b654af.entry.js} +2 -2
- package/dist/siemens-ix/p-d9b654af.entry.js.map +1 -0
- package/dist/siemens-ix/{p-e9a37b3f.entry.js → p-ee0645f8.entry.js} +2 -2
- package/dist/siemens-ix/p-fe158b99.js +2 -0
- package/dist/siemens-ix/p-fe158b99.js.map +1 -0
- package/dist/siemens-ix/{p-f39048a2.entry.js → p-fe396297.entry.js} +2 -2
- package/dist/siemens-ix/siemens-ix.esm.js +1 -1
- package/dist/types/components/button/button.d.ts +1 -0
- package/dist/types/components/date-input/date-input.d.ts +2 -0
- package/dist/types/components/field-label/field-label.d.ts +1 -1
- package/dist/types/components/field-wrapper/field-wrapper.d.ts +1 -1
- package/dist/types/components/input/input.d.ts +2 -0
- package/dist/types/components/input/number-input.d.ts +2 -0
- package/dist/types/components/modal/test/modal.ct.d.ts +2 -1
- package/dist/types/components/select/select.d.ts +9 -8
- package/dist/types/components/utils/lazy-list/index.d.ts +2 -0
- package/dist/types/components/utils/lazy-list/lazy.d.ts +51 -0
- package/dist/types/components.d.ts +9 -3
- package/hydrate/index.js +499 -621
- package/package.json +1 -2
- package/dist/cjs/_commonjsHelpers-0192c5b3.js +0 -17
- package/dist/cjs/_commonjsHelpers-0192c5b3.js.map +0 -1
- package/dist/cjs/core-js-2fc351ee.js +0 -26
- package/dist/cjs/core-js-2fc351ee.js.map +0 -1
- package/dist/cjs/index-d2117dc0.js.map +0 -1
- package/dist/cjs/input.util-1c2fa43d.js.map +0 -1
- package/dist/esm/_commonjsHelpers-e557d4a5.js +0 -13
- package/dist/esm/_commonjsHelpers-e557d4a5.js.map +0 -1
- package/dist/esm/app-globals-ae0ca705.js +0 -7
- package/dist/esm/index-ad2af369.js.map +0 -1
- package/dist/esm/input.util-715860e3.js.map +0 -1
- package/dist/esm/modal-101eef04.js.map +0 -1
- package/dist/siemens-ix/p-0f0e7e14.entry.js +0 -2
- package/dist/siemens-ix/p-0f0e7e14.entry.js.map +0 -1
- package/dist/siemens-ix/p-23a4b81f.js +0 -2
- package/dist/siemens-ix/p-23a4b81f.js.map +0 -1
- package/dist/siemens-ix/p-2b226409.entry.js.map +0 -1
- package/dist/siemens-ix/p-424e8092.entry.js.map +0 -1
- package/dist/siemens-ix/p-45840cb9.js +0 -2
- package/dist/siemens-ix/p-45840cb9.js.map +0 -1
- package/dist/siemens-ix/p-4624a772.entry.js +0 -2
- package/dist/siemens-ix/p-4624a772.entry.js.map +0 -1
- package/dist/siemens-ix/p-50096707.js +0 -2
- package/dist/siemens-ix/p-5682e985.js +0 -2
- package/dist/siemens-ix/p-5db5a0b5.entry.js +0 -2
- package/dist/siemens-ix/p-5db5a0b5.entry.js.map +0 -1
- package/dist/siemens-ix/p-68bb2a09.entry.js.map +0 -1
- package/dist/siemens-ix/p-792e1c52.entry.js.map +0 -1
- package/dist/siemens-ix/p-79bb0d39.js +0 -2
- package/dist/siemens-ix/p-79bb0d39.js.map +0 -1
- package/dist/siemens-ix/p-857f99c8.entry.js +0 -2
- package/dist/siemens-ix/p-857f99c8.entry.js.map +0 -1
- package/dist/siemens-ix/p-9fe2759f.entry.js.map +0 -1
- package/dist/siemens-ix/p-a2200306.js +0 -4
- package/dist/siemens-ix/p-a427e6a2.js +0 -2
- package/dist/siemens-ix/p-a427e6a2.js.map +0 -1
- package/dist/siemens-ix/p-bded112a.entry.js +0 -2
- package/dist/siemens-ix/p-bded112a.entry.js.map +0 -1
- package/dist/siemens-ix/p-f7618d1d.entry.js +0 -2
- package/dist/siemens-ix/p-f7618d1d.entry.js.map +0 -1
- /package/dist/siemens-ix/{p-0dbc970e.entry.js.map → p-0b2f0536.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-044c2a7b.entry.js.map → p-18542846.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-d7aa00d6.js.map → p-3aaecbd9.js.map} +0 -0
- /package/dist/siemens-ix/{p-175599e4.entry.js.map → p-42320fb3.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-1f6df0c6.js.map → p-738c2d1f.js.map} +0 -0
- /package/dist/siemens-ix/{p-f35386ec.js.map → p-93d4d3c9.js.map} +0 -0
- /package/dist/siemens-ix/{p-9948574f.entry.js.map → p-97d4b3bd.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-6a4a2064.entry.js.map → p-9f960c0b.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-0c89cbcc.entry.js.map → p-a4dc6824.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-fe87443e.js.map → p-a6af13b0.js.map} +0 -0
- /package/dist/siemens-ix/{p-a3364116.entry.js.map → p-afb4565c.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-4c9b7548.entry.js.map → p-bc272f75.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-3205726a.entry.js.map → p-bfe469e4.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-5682e985.js.map → p-c3ca17fc.js.map} +0 -0
- /package/dist/siemens-ix/{p-50096707.js.map → p-d2f21544.js.map} +0 -0
- /package/dist/siemens-ix/{p-e9a37b3f.entry.js.map → p-ee0645f8.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-f39048a2.entry.js.map → p-fe396297.entry.js.map} +0 -0
package/hydrate/index.js
CHANGED
|
@@ -2961,6 +2961,12 @@ async function showModal(config) {
|
|
|
2961
2961
|
onDismiss.emit(detail);
|
|
2962
2962
|
await delegate.removeView(dialogRef);
|
|
2963
2963
|
});
|
|
2964
|
+
requestAnimationFrame(() => {
|
|
2965
|
+
const autofocusElement = dialogRef.querySelector('[autofocus],[auto-focus]');
|
|
2966
|
+
if (autofocusElement) {
|
|
2967
|
+
autofocusElement.focus();
|
|
2968
|
+
}
|
|
2969
|
+
});
|
|
2964
2970
|
return {
|
|
2965
2971
|
htmlElement: dialogRef,
|
|
2966
2972
|
onClose,
|
|
@@ -5288,6 +5294,10 @@ class Button {
|
|
|
5288
5294
|
this.submitButtonElement.click();
|
|
5289
5295
|
}
|
|
5290
5296
|
}
|
|
5297
|
+
setFocus() {
|
|
5298
|
+
var _a;
|
|
5299
|
+
(_a = this.hostElement.shadowRoot.querySelector('button')) === null || _a === void 0 ? void 0 : _a.focus();
|
|
5300
|
+
}
|
|
5291
5301
|
render() {
|
|
5292
5302
|
const baseButtonProps = {
|
|
5293
5303
|
variant: this.variant,
|
|
@@ -5303,10 +5313,11 @@ class Button {
|
|
|
5303
5313
|
onClick: () => this.dispatchFormEvents(),
|
|
5304
5314
|
type: this.type,
|
|
5305
5315
|
alignment: this.alignment,
|
|
5316
|
+
tabIndex: this.hostElement.tabIndex,
|
|
5306
5317
|
};
|
|
5307
|
-
return (hAsync(Host, { key: '
|
|
5318
|
+
return (hAsync(Host, { key: 'd5ab86ccc3e14d1c70b57f43c56424f933580b63', tabindex: this.disabled ? -1 : 0, class: {
|
|
5308
5319
|
disabled: this.disabled || this.loading,
|
|
5309
|
-
} }, hAsync(BaseButton, Object.assign({ key: '
|
|
5320
|
+
}, onFocus: () => this.setFocus() }, hAsync(BaseButton, Object.assign({ key: 'f7df5bf7cf56a26cd42f8b3af19e94b77395a55b' }, baseButtonProps), hAsync("slot", { key: '19fb63277a484ddbd75065f0b0ac78ce510f0847' }))));
|
|
5310
5321
|
}
|
|
5311
5322
|
get hostElement() { return getElement(this); }
|
|
5312
5323
|
static get style() { return IxButtonStyle0; }
|
|
@@ -7011,14 +7022,6 @@ __decorate$a([
|
|
|
7011
7022
|
})
|
|
7012
7023
|
], CustomField.prototype, "updateValidationState", null);
|
|
7013
7024
|
|
|
7014
|
-
function getDefaultExportFromCjs (x) {
|
|
7015
|
-
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
|
7016
|
-
}
|
|
7017
|
-
|
|
7018
|
-
function commonjsRequire (path) {
|
|
7019
|
-
throw new Error('Could not dynamically require "' + path + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
|
7020
|
-
}
|
|
7021
|
-
|
|
7022
7025
|
var luxon = {};
|
|
7023
7026
|
|
|
7024
7027
|
Object.defineProperty(luxon, '__esModule', { value: true });
|
|
@@ -8555,7 +8558,7 @@ function normalizeZone(input, defaultZone) {
|
|
|
8555
8558
|
} else if (isString(input)) {
|
|
8556
8559
|
var lowered = input.toLowerCase();
|
|
8557
8560
|
if (lowered === "default") return defaultZone;else if (lowered === "local" || lowered === "system") return SystemZone.instance;else if (lowered === "utc" || lowered === "gmt") return FixedOffsetZone.utcInstance;else return FixedOffsetZone.parseSpecifier(lowered) || IANAZone.create(input);
|
|
8558
|
-
} else if (isNumber(input)) {
|
|
8561
|
+
} else if (isNumber$1(input)) {
|
|
8559
8562
|
return FixedOffsetZone.instance(input);
|
|
8560
8563
|
} else if (typeof input === "object" && "offset" in input && typeof input.offset === "function") {
|
|
8561
8564
|
// This is dumb, but the instanceof check above doesn't seem to really work
|
|
@@ -8989,7 +8992,7 @@ function hasInvalidTimeData(obj) {
|
|
|
8989
8992
|
function isUndefined(o) {
|
|
8990
8993
|
return typeof o === "undefined";
|
|
8991
8994
|
}
|
|
8992
|
-
function isNumber(o) {
|
|
8995
|
+
function isNumber$1(o) {
|
|
8993
8996
|
return typeof o === "number";
|
|
8994
8997
|
}
|
|
8995
8998
|
function isInteger(o) {
|
|
@@ -10381,7 +10384,7 @@ var Duration = /*#__PURE__*/function (_Symbol$for) {
|
|
|
10381
10384
|
* @return {Duration}
|
|
10382
10385
|
*/;
|
|
10383
10386
|
Duration.fromDurationLike = function fromDurationLike(durationLike) {
|
|
10384
|
-
if (isNumber(durationLike)) {
|
|
10387
|
+
if (isNumber$1(durationLike)) {
|
|
10385
10388
|
return Duration.fromMillis(durationLike);
|
|
10386
10389
|
} else if (Duration.isDuration(durationLike)) {
|
|
10387
10390
|
return durationLike;
|
|
@@ -10883,7 +10886,7 @@ var Duration = /*#__PURE__*/function (_Symbol$for) {
|
|
|
10883
10886
|
}
|
|
10884
10887
|
|
|
10885
10888
|
// plus anything that's already in this unit
|
|
10886
|
-
if (isNumber(vals[k])) {
|
|
10889
|
+
if (isNumber$1(vals[k])) {
|
|
10887
10890
|
own += vals[k];
|
|
10888
10891
|
}
|
|
10889
10892
|
|
|
@@ -10894,7 +10897,7 @@ var Duration = /*#__PURE__*/function (_Symbol$for) {
|
|
|
10894
10897
|
accumulated[k] = (own * 1000 - i * 1000) / 1000;
|
|
10895
10898
|
|
|
10896
10899
|
// otherwise, keep it in the wings to boil it later
|
|
10897
|
-
} else if (isNumber(vals[k])) {
|
|
10900
|
+
} else if (isNumber$1(vals[k])) {
|
|
10898
10901
|
accumulated[k] = vals[k];
|
|
10899
10902
|
}
|
|
10900
10903
|
}
|
|
@@ -13309,7 +13312,7 @@ var DateTime = /*#__PURE__*/function (_Symbol$for) {
|
|
|
13309
13312
|
if (options === void 0) {
|
|
13310
13313
|
options = {};
|
|
13311
13314
|
}
|
|
13312
|
-
if (!isNumber(milliseconds)) {
|
|
13315
|
+
if (!isNumber$1(milliseconds)) {
|
|
13313
13316
|
throw new InvalidArgumentError("fromMillis requires a numerical input, but received a " + typeof milliseconds + " with value " + milliseconds);
|
|
13314
13317
|
} else if (milliseconds < -MAX_DATE || milliseconds > MAX_DATE) {
|
|
13315
13318
|
// this isn't perfect because because we can still end up out of range because of additional shifting, but it's a start
|
|
@@ -13337,7 +13340,7 @@ var DateTime = /*#__PURE__*/function (_Symbol$for) {
|
|
|
13337
13340
|
if (options === void 0) {
|
|
13338
13341
|
options = {};
|
|
13339
13342
|
}
|
|
13340
|
-
if (!isNumber(seconds)) {
|
|
13343
|
+
if (!isNumber$1(seconds)) {
|
|
13341
13344
|
throw new InvalidArgumentError("fromSeconds requires a numerical input");
|
|
13342
13345
|
} else {
|
|
13343
13346
|
return new DateTime({
|
|
@@ -15302,7 +15305,7 @@ var DateTime = /*#__PURE__*/function (_Symbol$for) {
|
|
|
15302
15305
|
function friendlyDateTime(dateTimeish) {
|
|
15303
15306
|
if (DateTime.isDateTime(dateTimeish)) {
|
|
15304
15307
|
return dateTimeish;
|
|
15305
|
-
} else if (dateTimeish && dateTimeish.valueOf && isNumber(dateTimeish.valueOf())) {
|
|
15308
|
+
} else if (dateTimeish && dateTimeish.valueOf && isNumber$1(dateTimeish.valueOf())) {
|
|
15306
15309
|
return DateTime.fromJSDate(dateTimeish);
|
|
15307
15310
|
} else if (dateTimeish && typeof dateTimeish === "object") {
|
|
15308
15311
|
return DateTime.fromObject(dateTimeish);
|
|
@@ -15521,6 +15524,25 @@ class DateDropdown {
|
|
|
15521
15524
|
}; }
|
|
15522
15525
|
}
|
|
15523
15526
|
|
|
15527
|
+
/* Siemens iX Icons */
|
|
15528
|
+
const iconCalendar = "data:image/svg+xml;utf8,<?xml version='1.0' encoding='UTF-8'?><svg width='512px' height='512px' viewBox='0 0 512 512' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'><g id='Page-1' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'><g id='scheduler' transform='translate(64.000000, 64.000000)'><path d='M384,1.42108547e-14 L384,384 L1.42108547e-14,384 L1.42108547e-14,1.42108547e-14 L384,1.42108547e-14 Z M341.333333,128 L42.6666667,128 L42.6666667,341.333333 L341.333333,341.333333 L341.333333,128 Z M128,256 L128,298.666667 L85.3333333,298.666667 L85.3333333,256 L128,256 Z M213.333333,256 L213.333333,298.666667 L170.666667,298.666667 L170.666667,256 L213.333333,256 Z M298.666667,256 L298.666667,298.666667 L256,298.666667 L256,256 L298.666667,256 Z M128,170.666667 L128,213.333333 L85.3333333,213.333333 L85.3333333,170.666667 L128,170.666667 Z M213.333333,170.666667 L213.333333,213.333333 L170.666667,213.333333 L170.666667,170.666667 L213.333333,170.666667 Z M298.666667,170.666667 L298.666667,213.333333 L256,213.333333 L256,170.666667 L298.666667,170.666667 Z M341.333333,42.6666667 L42.6666667,42.6666667 L42.6666667,85.3333333 L341.333333,85.3333333 L341.333333,42.6666667 Z' id='Combined-Shape'/></g></g></svg>";
|
|
15529
|
+
const iconChevronDownSmall = "data:image/svg+xml;utf8,<?xml version='1.0' encoding='UTF-8'?><svg width='512px' height='512px' viewBox='0 0 512 512' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'><g id='Page-1' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'><g id='add' transform='translate(134.186667, 187.520000)'><polygon id='arrowhead-down' points='121.813333 151.893333 0 30.2933333 30.2933333 0 121.813333 91.7333333 213.333333 0 243.626667 30.2933333'/></g></g></svg>";
|
|
15530
|
+
const iconChevronDown = "data:image/svg+xml;utf8,<?xml version='1.0' encoding='UTF-8'?><svg width='512px' height='512px' viewBox='0 0 512 512' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'><g id='Page-1' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'><g id='add' transform='translate(80.915055, 157.440000)'><polygon id='Path-19' points='320 0 350.169889 30.1698893 175.084945 205.254834 0 30.1698893 30.1698893 0 175.084945 144.898278'/></g></g></svg>";
|
|
15531
|
+
const iconChevronLeftSmall = "data:image/svg+xml;utf8,<?xml version='1.0' encoding='UTF-8'?><svg width='512px' height='512px' viewBox='0 0 512 512' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'><g id='Page-1' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'><g id='add' transform='translate(172.586667, 134.186667)'><polygon id='arrrowhead-left' points='121.6 243.626667 0 121.813333 121.6 0 151.893333 30.2933333 60.16 121.813333 151.893333 213.333333'/></g></g></svg>";
|
|
15532
|
+
const iconChevronRightSmall = "data:image/svg+xml;utf8,<?xml version='1.0' encoding='UTF-8'?><svg width='512px' height='512px' viewBox='0 0 512 512' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'><g id='Page-1' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'><g id='add' transform='translate(187.520000, 134.186667)'><polygon id='arrowhead-right' points='30.2933333 243.626667 0 213.333333 91.7333333 121.813333 0 30.2933333 30.2933333 0 151.893333 121.813333'/></g></g></svg>";
|
|
15533
|
+
const iconChevronRight = "data:image/svg+xml;utf8,<?xml version='1.0' encoding='UTF-8'?><svg width='512px' height='512px' viewBox='0 0 512 512' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'><g id='Page-1' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'><g id='add' transform='translate(149.333333, 80.853333)'><polygon id='Path' points='-2.84217094e-14 320 30.1698893 350.169889 205.254834 175.084945 30.1698893 0 -2.84217094e-14 30.1698893 144.898278 175.084945'/></g></g></svg>";
|
|
15534
|
+
const iconChevronUpSmall = "data:image/svg+xml;utf8,<?xml version='1.0' encoding='UTF-8'?><svg width='512px' height='512px' viewBox='0 0 512 512' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'><g id='Page-1' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'><g id='add' transform='translate(134.186667, 172.586667)'><polygon id='arrowhead-up' points='213.333333 151.893333 121.813333 60.16 30.2933333 151.893333 2.84217094e-14 121.6 121.813333 0 243.626667 121.6'/></g></g></svg>";
|
|
15535
|
+
const iconChevronUp = "data:image/svg+xml;utf8,<?xml version='1.0' encoding='UTF-8'?><svg width='512px' height='512px' viewBox='0 0 512 512' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'><g id='Page-1' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'><g id='add' transform='translate(80.853333, 157.440000)'><polygon id='Path' points='320 205.254834 350.169889 175.084945 175.084945 5.68434189e-14 0 175.084945 30.1698893 205.254834 175.084945 60.356556'/></g></g></svg>";
|
|
15536
|
+
const iconError = "data:image/svg+xml;utf8,<?xml version='1.0' encoding='UTF-8'?><svg width='512px' height='512px' viewBox='0 0 512 512' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'><g id='Page-1' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'><g id='add' transform='translate(42.666667, 42.666667)'><path d='M213.333333,3.55271368e-14 C331.136,3.55271368e-14 426.666667,95.5306667 426.666667,213.333333 C426.666667,331.136 331.136,426.666667 213.333333,426.666667 C95.5306667,426.666667 3.55271368e-14,331.136 3.55271368e-14,213.333333 C3.55271368e-14,95.5306667 95.5306667,3.55271368e-14 213.333333,3.55271368e-14 Z M213.333333,42.6666667 C119.232,42.6666667 42.6666667,119.232 42.6666667,213.333333 C42.6666667,307.434667 119.232,384 213.333333,384 C307.434667,384 384,307.434667 384,213.333333 C384,119.232 307.434667,42.6666667 213.333333,42.6666667 Z M262.250667,134.250667 L292.416,164.416 L243.498667,213.333333 L292.416,262.250667 L262.250667,292.416 L213.333333,243.498667 L164.416,292.416 L134.250667,262.250667 L183.168,213.333333 L134.250667,164.416 L164.416,134.250667 L213.333333,183.168 L262.250667,134.250667 Z' id='error'/></g></g></svg>";
|
|
15537
|
+
const iconEyeCancelled = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='512' height='512' viewBox='0 0 512 512'><path fill-rule='evenodd' d='M47.0849493,2.84217094e-14 L185.740632,138.655563 C194.095501,134.657276 203.45297,132.418278 213.333333,132.418278 C248.679253,132.418278 277.333333,161.072358 277.333333,196.418278 C277.333333,206.299034 275.094157,215.656855 271.095572,224.011976 L409.751616,362.666662 L379.581717,392.836561 L320.374817,333.628896 C291.246618,353.329494 255.728838,367.084945 213.333333,367.084945 C64,367.084945 7.10542736e-15,196.418278 7.10542736e-15,196.418278 C7.10542736e-15,196.418278 22.862032,135.452859 73.1408088,86.3974274 L16.9150553,30.169894 L47.0849493,2.84217094e-14 Z M103.440016,116.694904 C74.7091717,144.512844 55.9626236,177.598744 46.7136,196.424891 C64.7370667,233.114811 119.071573,324.418278 213.333333,324.418278 C242.440012,324.418278 267.739844,315.712374 289.339919,302.595012 L240.926035,254.180993 C232.571166,258.17928 223.213696,260.418278 213.333333,260.418278 C177.987413,260.418278 149.333333,231.764198 149.333333,196.418278 C149.333333,186.537915 151.572331,177.180445 155.570618,168.825577 Z M213.333333,25.7516113 C362.666667,25.7516113 426.666667,196.418278 426.666667,196.418278 C426.666667,196.418278 412.428071,234.387867 381.712212,274.508373 L351.151213,243.941206 C364.581948,225.697449 374.142733,208.239347 379.954347,196.410385 C361.9296,159.721745 307.595093,68.418278 213.333333,68.418278 C201.495833,68.418278 190.287983,69.858232 179.702584,72.449263 L145.662385,38.4000762 C165.913597,30.494948 188.437631,25.7516113 213.333333,25.7516113 Z' transform='translate(42.667 59.582)'/></svg>";
|
|
15538
|
+
const iconEye = "data:image/svg+xml;utf8,<?xml version='1.0' encoding='UTF-8'?><svg width='512px' height='512px' viewBox='0 0 512 512' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'><g id='Page-1' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'><g id='Shape' transform='translate(42.666667, 85.333333)'><path d='M213.333333,1.42108547e-14 C64,1.42108547e-14 7.10542736e-15,170.666667 7.10542736e-15,170.666667 C7.10542736e-15,170.666667 64,341.333333 213.333333,341.333333 C362.666667,341.333333 426.666667,170.666667 426.666667,170.666667 C426.666667,170.666667 362.666667,1.42108547e-14 213.333333,1.42108547e-14 Z M213.333333,298.666667 C119.071573,298.666667 64.7370667,207.3632 46.7136,170.67328 C64.7850667,133.88928 119.114667,42.6666667 213.333333,42.6666667 C307.595093,42.6666667 361.9296,133.970133 379.954347,170.658773 C361.8816,207.444053 307.552,298.666667 213.333333,298.666667 Z M213.333333,96 C172.096427,96 138.666667,129.42976 138.666667,170.666667 C138.666667,211.903573 172.096427,245.333333 213.333333,245.333333 C254.57024,245.333333 288,211.903573 288,170.666667 C288,129.42976 254.57024,96 213.333333,96 Z M213.333333,202.666667 C195.688747,202.666667 181.333333,188.311253 181.333333,170.666667 C181.333333,153.02208 195.688747,138.666667 213.333333,138.666667 C230.97792,138.666667 245.333333,153.02208 245.333333,170.666667 C245.333333,188.311253 230.97792,202.666667 213.333333,202.666667 Z'/></g></g></svg>";
|
|
15539
|
+
const iconInfo = "data:image/svg+xml;utf8,<?xml version='1.0' encoding='UTF-8'?><svg width='512px' height='512px' viewBox='0 0 512 512' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'><g id='Page-1' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'><g id='add' transform='translate(42.666667, 42.666667)'><path d='M213.333333,3.55271368e-14 C95.51296,3.55271368e-14 3.55271368e-14,95.51168 3.55271368e-14,213.333333 C3.55271368e-14,331.153707 95.51296,426.666667 213.333333,426.666667 C331.154987,426.666667 426.666667,331.153707 426.666667,213.333333 C426.666667,95.51168 331.154987,3.55271368e-14 213.333333,3.55271368e-14 Z M213.333333,384 C119.227947,384 42.6666667,307.43872 42.6666667,213.333333 C42.6666667,119.227947 119.227947,42.6666667 213.333333,42.6666667 C307.44,42.6666667 384,119.227947 384,213.333333 C384,307.43872 307.44,384 213.333333,384 Z M240.04672,128 C240.04672,143.46752 228.785067,154.666667 213.55008,154.666667 C197.698773,154.666667 186.713387,143.46752 186.713387,127.704107 C186.713387,112.5536 197.99616,101.333333 213.55008,101.333333 C228.785067,101.333333 240.04672,112.5536 240.04672,128 Z M192.04672,192 L234.713387,192 L234.713387,320 L192.04672,320 L192.04672,192 Z' id='Shape'/></g></g></svg>";
|
|
15540
|
+
const iconMinus = "data:image/svg+xml;utf8,<?xml version='1.0' encoding='UTF-8'?><svg width='512px' height='512px' viewBox='0 0 512 512' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'><g id='Page-1' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'><g id='add' transform='translate(64.000000, 234.666667)'><rect id='Combined-Shape' x='0' y='0' width='384' height='42.6666667'/></g></g></svg>";
|
|
15541
|
+
const iconPlus = "data:image/svg+xml;utf8,<?xml version='1.0' encoding='UTF-8'?><svg width='512px' height='512px' viewBox='0 0 512 512' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'><g id='Page-1' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'><g id='uncollapse' transform='translate(64.000000, 64.000000)'><path d='M213.333333,1.42108547e-14 L213.333,170.666 L384,170.666667 L384,213.333333 L213.333,213.333 L213.333333,384 L170.666667,384 L170.666,213.333 L1.42108547e-14,213.333333 L1.42108547e-14,170.666667 L170.666,170.666 L170.666667,1.42108547e-14 L213.333333,1.42108547e-14 Z'/></g></g></svg>";
|
|
15542
|
+
const iconSingleCheck = "data:image/svg+xml;utf8,<?xml version='1.0' encoding='UTF-8'?><svg width='512px' height='512px' viewBox='0 0 512 512' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'><g id='Page-1' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'><g id='add' transform='translate(91.581722, 94.833062)'><polygon id='check-small' points='304.534538 0 340.035351 23.6672084 154.934008 301.319223 1.42108547e-14 146.385216 30.1698893 116.215326 148.290278 234.318938'/></g></g></svg>";
|
|
15543
|
+
const iconSuccess = "data:image/svg+xml;utf8,<?xml version='1.0' encoding='UTF-8'?><svg width='512px' height='512px' viewBox='0 0 512 512' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'><g id='Page-1' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'><g id='add-copy' transform='translate(42.666667, 42.666667)'><path d='M213.333333,3.55271368e-14 C95.51296,3.55271368e-14 3.55271368e-14,95.51296 3.55271368e-14,213.333333 C3.55271368e-14,331.153707 95.51296,426.666667 213.333333,426.666667 C331.153707,426.666667 426.666667,331.153707 426.666667,213.333333 C426.666667,95.51296 331.153707,3.55271368e-14 213.333333,3.55271368e-14 Z M213.333333,384 C119.227947,384 42.6666667,307.43872 42.6666667,213.333333 C42.6666667,119.227947 119.227947,42.6666667 213.333333,42.6666667 C307.43872,42.6666667 384,119.227947 384,213.333333 C384,307.43872 307.438933,384 213.333333,384 Z M293.669333,137.114453 L323.835947,167.281067 L192,299.66912 L112.916693,220.585813 L143.083307,190.4192 L192,239.335893 L293.669333,137.114453 Z' id='Shape'/></g></g></svg>";
|
|
15544
|
+
const iconWarning = "data:image/svg+xml;utf8,<?xml version='1.0' encoding='UTF-8'?><svg width='512px' height='512px' viewBox='0 0 512 512' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'><g id='Page-1' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'><g id='add' transform='translate(32.000000, 42.666667)'><path d='M246.312928,5.62892705 C252.927596,9.40873724 258.409564,14.8907053 262.189374,21.5053731 L444.667042,340.84129 C456.358134,361.300701 449.250007,387.363834 428.790595,399.054926 C422.34376,402.738832 415.04715,404.676552 407.622001,404.676552 L42.6666667,404.676552 C19.1025173,404.676552 7.10542736e-15,385.574034 7.10542736e-15,362.009885 C7.10542736e-15,354.584736 1.93772021,347.288125 5.62162594,340.84129 L188.099293,21.5053731 C199.790385,1.04596203 225.853517,-6.06216498 246.312928,5.62892705 Z M225.144334,42.6739678 L42.6666667,362.009885 L407.622001,362.009885 L225.144334,42.6739678 Z M224,272 C239.238095,272 250.666667,283.264 250.666667,298.624 C250.666667,313.984 239.238095,325.248 224,325.248 C208.415584,325.248 197.333333,313.984 197.333333,298.282667 C197.333333,283.264 208.761905,272 224,272 Z M245.333333,106.666667 L245.333333,234.666667 L202.666667,234.666667 L202.666667,106.666667 L245.333333,106.666667 Z' id='Combined-Shape'/></g></g></svg>";
|
|
15545
|
+
|
|
15524
15546
|
/*
|
|
15525
15547
|
* SPDX-FileCopyrightText: 2024 Siemens AG
|
|
15526
15548
|
*
|
|
@@ -15685,12 +15707,10 @@ const dropdownController = new DropdownController();
|
|
|
15685
15707
|
function TextareaElement(props) {
|
|
15686
15708
|
return (hAsync("textarea", Object.assign({ readOnly: props.readonly, disabled: props.disabled, maxLength: props.maxLength, minLength: props.minLength, cols: props.textareaCols, rows: props.textareaRows, ref: props.textAreaRef, class: {
|
|
15687
15709
|
'is-invalid': props.isInvalid,
|
|
15688
|
-
}, required: props.required, value: props.value, placeholder: props.placeholder,
|
|
15689
|
-
const target = changeEvent.target;
|
|
15690
|
-
props.valueChange(target.value);
|
|
15691
|
-
}, onInput: (inputEvent) => {
|
|
15710
|
+
}, required: props.required, value: props.value, placeholder: props.placeholder, onInput: (inputEvent) => {
|
|
15692
15711
|
const target = inputEvent.target;
|
|
15693
15712
|
props.updateFormInternalValue(target.value);
|
|
15713
|
+
props.valueChange(target.value);
|
|
15694
15714
|
}, onBlur: () => props.onBlur(), style: {
|
|
15695
15715
|
resize: props.resizeBehavior,
|
|
15696
15716
|
height: props.textareaHeight,
|
|
@@ -15700,12 +15720,10 @@ function TextareaElement(props) {
|
|
|
15700
15720
|
function InputElement(props) {
|
|
15701
15721
|
return (hAsync("input", Object.assign({ id: props.id, autoComplete: "off", readOnly: props.readonly, disabled: props.disabled, min: props.min, max: props.max, maxLength: props.maxLength ? Number(props.maxLength) : undefined, minLength: props.maxLength ? Number(props.minLength) : undefined, ref: props.inputRef, pattern: props.pattern, type: props.type, class: {
|
|
15702
15722
|
'is-invalid': props.isInvalid,
|
|
15703
|
-
}, required: props.required, value: props.value, placeholder: props.placeholder, onKeyPress: (event) => props.onKeyPress(event),
|
|
15704
|
-
const target = changeEvent.target;
|
|
15705
|
-
props.valueChange(target.value);
|
|
15706
|
-
}, onInput: (inputEvent) => {
|
|
15723
|
+
}, required: props.required, value: props.value, placeholder: props.placeholder, onKeyPress: (event) => props.onKeyPress(event), onInput: (inputEvent) => {
|
|
15707
15724
|
const target = inputEvent.target;
|
|
15708
15725
|
props.updateFormInternalValue(target.value);
|
|
15726
|
+
props.valueChange(target.value);
|
|
15709
15727
|
}, onBlur: () => props.onBlur() }, props.ariaAttributes)));
|
|
15710
15728
|
}
|
|
15711
15729
|
const SlotEnd = (props, children) => {
|
|
@@ -15859,24 +15877,6 @@ function getAriaAttributesForInput(component) {
|
|
|
15859
15877
|
return inputAria;
|
|
15860
15878
|
}
|
|
15861
15879
|
|
|
15862
|
-
/* Siemens iX Icons */
|
|
15863
|
-
const iconCalendar = "data:image/svg+xml;utf8,<?xml version='1.0' encoding='UTF-8'?><svg width='512px' height='512px' viewBox='0 0 512 512' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'><g id='Page-1' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'><g id='scheduler' transform='translate(64.000000, 64.000000)'><path d='M384,1.42108547e-14 L384,384 L1.42108547e-14,384 L1.42108547e-14,1.42108547e-14 L384,1.42108547e-14 Z M341.333333,128 L42.6666667,128 L42.6666667,341.333333 L341.333333,341.333333 L341.333333,128 Z M128,256 L128,298.666667 L85.3333333,298.666667 L85.3333333,256 L128,256 Z M213.333333,256 L213.333333,298.666667 L170.666667,298.666667 L170.666667,256 L213.333333,256 Z M298.666667,256 L298.666667,298.666667 L256,298.666667 L256,256 L298.666667,256 Z M128,170.666667 L128,213.333333 L85.3333333,213.333333 L85.3333333,170.666667 L128,170.666667 Z M213.333333,170.666667 L213.333333,213.333333 L170.666667,213.333333 L170.666667,170.666667 L213.333333,170.666667 Z M298.666667,170.666667 L298.666667,213.333333 L256,213.333333 L256,170.666667 L298.666667,170.666667 Z M341.333333,42.6666667 L42.6666667,42.6666667 L42.6666667,85.3333333 L341.333333,85.3333333 L341.333333,42.6666667 Z' id='Combined-Shape'/></g></g></svg>";
|
|
15864
|
-
const iconChevronDownSmall = "data:image/svg+xml;utf8,<?xml version='1.0' encoding='UTF-8'?><svg width='512px' height='512px' viewBox='0 0 512 512' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'><g id='Page-1' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'><g id='add' transform='translate(134.186667, 187.520000)'><polygon id='arrowhead-down' points='121.813333 151.893333 0 30.2933333 30.2933333 0 121.813333 91.7333333 213.333333 0 243.626667 30.2933333'/></g></g></svg>";
|
|
15865
|
-
const iconChevronDown = "data:image/svg+xml;utf8,<?xml version='1.0' encoding='UTF-8'?><svg width='512px' height='512px' viewBox='0 0 512 512' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'><g id='Page-1' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'><g id='add' transform='translate(80.915055, 157.440000)'><polygon id='Path-19' points='320 0 350.169889 30.1698893 175.084945 205.254834 0 30.1698893 30.1698893 0 175.084945 144.898278'/></g></g></svg>";
|
|
15866
|
-
const iconChevronLeftSmall = "data:image/svg+xml;utf8,<?xml version='1.0' encoding='UTF-8'?><svg width='512px' height='512px' viewBox='0 0 512 512' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'><g id='Page-1' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'><g id='add' transform='translate(172.586667, 134.186667)'><polygon id='arrrowhead-left' points='121.6 243.626667 0 121.813333 121.6 0 151.893333 30.2933333 60.16 121.813333 151.893333 213.333333'/></g></g></svg>";
|
|
15867
|
-
const iconChevronRightSmall = "data:image/svg+xml;utf8,<?xml version='1.0' encoding='UTF-8'?><svg width='512px' height='512px' viewBox='0 0 512 512' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'><g id='Page-1' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'><g id='add' transform='translate(187.520000, 134.186667)'><polygon id='arrowhead-right' points='30.2933333 243.626667 0 213.333333 91.7333333 121.813333 0 30.2933333 30.2933333 0 151.893333 121.813333'/></g></g></svg>";
|
|
15868
|
-
const iconChevronUpSmall = "data:image/svg+xml;utf8,<?xml version='1.0' encoding='UTF-8'?><svg width='512px' height='512px' viewBox='0 0 512 512' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'><g id='Page-1' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'><g id='add' transform='translate(134.186667, 172.586667)'><polygon id='arrowhead-up' points='213.333333 151.893333 121.813333 60.16 30.2933333 151.893333 2.84217094e-14 121.6 121.813333 0 243.626667 121.6'/></g></g></svg>";
|
|
15869
|
-
const iconChevronUp = "data:image/svg+xml;utf8,<?xml version='1.0' encoding='UTF-8'?><svg width='512px' height='512px' viewBox='0 0 512 512' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'><g id='Page-1' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'><g id='add' transform='translate(80.853333, 157.440000)'><polygon id='Path' points='320 205.254834 350.169889 175.084945 175.084945 5.68434189e-14 0 175.084945 30.1698893 205.254834 175.084945 60.356556'/></g></g></svg>";
|
|
15870
|
-
const iconError = "data:image/svg+xml;utf8,<?xml version='1.0' encoding='UTF-8'?><svg width='512px' height='512px' viewBox='0 0 512 512' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'><g id='Page-1' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'><g id='add' transform='translate(42.666667, 42.666667)'><path d='M213.333333,3.55271368e-14 C331.136,3.55271368e-14 426.666667,95.5306667 426.666667,213.333333 C426.666667,331.136 331.136,426.666667 213.333333,426.666667 C95.5306667,426.666667 3.55271368e-14,331.136 3.55271368e-14,213.333333 C3.55271368e-14,95.5306667 95.5306667,3.55271368e-14 213.333333,3.55271368e-14 Z M213.333333,42.6666667 C119.232,42.6666667 42.6666667,119.232 42.6666667,213.333333 C42.6666667,307.434667 119.232,384 213.333333,384 C307.434667,384 384,307.434667 384,213.333333 C384,119.232 307.434667,42.6666667 213.333333,42.6666667 Z M262.250667,134.250667 L292.416,164.416 L243.498667,213.333333 L292.416,262.250667 L262.250667,292.416 L213.333333,243.498667 L164.416,292.416 L134.250667,262.250667 L183.168,213.333333 L134.250667,164.416 L164.416,134.250667 L213.333333,183.168 L262.250667,134.250667 Z' id='error'/></g></g></svg>";
|
|
15871
|
-
const iconEyeCancelled = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='512' height='512' viewBox='0 0 512 512'><path fill-rule='evenodd' d='M47.0849493,2.84217094e-14 L185.740632,138.655563 C194.095501,134.657276 203.45297,132.418278 213.333333,132.418278 C248.679253,132.418278 277.333333,161.072358 277.333333,196.418278 C277.333333,206.299034 275.094157,215.656855 271.095572,224.011976 L409.751616,362.666662 L379.581717,392.836561 L320.374817,333.628896 C291.246618,353.329494 255.728838,367.084945 213.333333,367.084945 C64,367.084945 7.10542736e-15,196.418278 7.10542736e-15,196.418278 C7.10542736e-15,196.418278 22.862032,135.452859 73.1408088,86.3974274 L16.9150553,30.169894 L47.0849493,2.84217094e-14 Z M103.440016,116.694904 C74.7091717,144.512844 55.9626236,177.598744 46.7136,196.424891 C64.7370667,233.114811 119.071573,324.418278 213.333333,324.418278 C242.440012,324.418278 267.739844,315.712374 289.339919,302.595012 L240.926035,254.180993 C232.571166,258.17928 223.213696,260.418278 213.333333,260.418278 C177.987413,260.418278 149.333333,231.764198 149.333333,196.418278 C149.333333,186.537915 151.572331,177.180445 155.570618,168.825577 Z M213.333333,25.7516113 C362.666667,25.7516113 426.666667,196.418278 426.666667,196.418278 C426.666667,196.418278 412.428071,234.387867 381.712212,274.508373 L351.151213,243.941206 C364.581948,225.697449 374.142733,208.239347 379.954347,196.410385 C361.9296,159.721745 307.595093,68.418278 213.333333,68.418278 C201.495833,68.418278 190.287983,69.858232 179.702584,72.449263 L145.662385,38.4000762 C165.913597,30.494948 188.437631,25.7516113 213.333333,25.7516113 Z' transform='translate(42.667 59.582)'/></svg>";
|
|
15872
|
-
const iconEye = "data:image/svg+xml;utf8,<?xml version='1.0' encoding='UTF-8'?><svg width='512px' height='512px' viewBox='0 0 512 512' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'><g id='Page-1' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'><g id='Shape' transform='translate(42.666667, 85.333333)'><path d='M213.333333,1.42108547e-14 C64,1.42108547e-14 7.10542736e-15,170.666667 7.10542736e-15,170.666667 C7.10542736e-15,170.666667 64,341.333333 213.333333,341.333333 C362.666667,341.333333 426.666667,170.666667 426.666667,170.666667 C426.666667,170.666667 362.666667,1.42108547e-14 213.333333,1.42108547e-14 Z M213.333333,298.666667 C119.071573,298.666667 64.7370667,207.3632 46.7136,170.67328 C64.7850667,133.88928 119.114667,42.6666667 213.333333,42.6666667 C307.595093,42.6666667 361.9296,133.970133 379.954347,170.658773 C361.8816,207.444053 307.552,298.666667 213.333333,298.666667 Z M213.333333,96 C172.096427,96 138.666667,129.42976 138.666667,170.666667 C138.666667,211.903573 172.096427,245.333333 213.333333,245.333333 C254.57024,245.333333 288,211.903573 288,170.666667 C288,129.42976 254.57024,96 213.333333,96 Z M213.333333,202.666667 C195.688747,202.666667 181.333333,188.311253 181.333333,170.666667 C181.333333,153.02208 195.688747,138.666667 213.333333,138.666667 C230.97792,138.666667 245.333333,153.02208 245.333333,170.666667 C245.333333,188.311253 230.97792,202.666667 213.333333,202.666667 Z'/></g></g></svg>";
|
|
15873
|
-
const iconInfo = "data:image/svg+xml;utf8,<?xml version='1.0' encoding='UTF-8'?><svg width='512px' height='512px' viewBox='0 0 512 512' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'><g id='Page-1' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'><g id='add' transform='translate(42.666667, 42.666667)'><path d='M213.333333,3.55271368e-14 C95.51296,3.55271368e-14 3.55271368e-14,95.51168 3.55271368e-14,213.333333 C3.55271368e-14,331.153707 95.51296,426.666667 213.333333,426.666667 C331.154987,426.666667 426.666667,331.153707 426.666667,213.333333 C426.666667,95.51168 331.154987,3.55271368e-14 213.333333,3.55271368e-14 Z M213.333333,384 C119.227947,384 42.6666667,307.43872 42.6666667,213.333333 C42.6666667,119.227947 119.227947,42.6666667 213.333333,42.6666667 C307.44,42.6666667 384,119.227947 384,213.333333 C384,307.43872 307.44,384 213.333333,384 Z M240.04672,128 C240.04672,143.46752 228.785067,154.666667 213.55008,154.666667 C197.698773,154.666667 186.713387,143.46752 186.713387,127.704107 C186.713387,112.5536 197.99616,101.333333 213.55008,101.333333 C228.785067,101.333333 240.04672,112.5536 240.04672,128 Z M192.04672,192 L234.713387,192 L234.713387,320 L192.04672,320 L192.04672,192 Z' id='Shape'/></g></g></svg>";
|
|
15874
|
-
const iconMinus = "data:image/svg+xml;utf8,<?xml version='1.0' encoding='UTF-8'?><svg width='512px' height='512px' viewBox='0 0 512 512' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'><g id='Page-1' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'><g id='add' transform='translate(64.000000, 234.666667)'><rect id='Combined-Shape' x='0' y='0' width='384' height='42.6666667'/></g></g></svg>";
|
|
15875
|
-
const iconPlus = "data:image/svg+xml;utf8,<?xml version='1.0' encoding='UTF-8'?><svg width='512px' height='512px' viewBox='0 0 512 512' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'><g id='Page-1' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'><g id='uncollapse' transform='translate(64.000000, 64.000000)'><path d='M213.333333,1.42108547e-14 L213.333,170.666 L384,170.666667 L384,213.333333 L213.333,213.333 L213.333333,384 L170.666667,384 L170.666,213.333 L1.42108547e-14,213.333333 L1.42108547e-14,170.666667 L170.666,170.666 L170.666667,1.42108547e-14 L213.333333,1.42108547e-14 Z'/></g></g></svg>";
|
|
15876
|
-
const iconSingleCheck = "data:image/svg+xml;utf8,<?xml version='1.0' encoding='UTF-8'?><svg width='512px' height='512px' viewBox='0 0 512 512' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'><g id='Page-1' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'><g id='add' transform='translate(91.581722, 94.833062)'><polygon id='check-small' points='304.534538 0 340.035351 23.6672084 154.934008 301.319223 1.42108547e-14 146.385216 30.1698893 116.215326 148.290278 234.318938'/></g></g></svg>";
|
|
15877
|
-
const iconSuccess = "data:image/svg+xml;utf8,<?xml version='1.0' encoding='UTF-8'?><svg width='512px' height='512px' viewBox='0 0 512 512' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'><g id='Page-1' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'><g id='add-copy' transform='translate(42.666667, 42.666667)'><path d='M213.333333,3.55271368e-14 C95.51296,3.55271368e-14 3.55271368e-14,95.51296 3.55271368e-14,213.333333 C3.55271368e-14,331.153707 95.51296,426.666667 213.333333,426.666667 C331.153707,426.666667 426.666667,331.153707 426.666667,213.333333 C426.666667,95.51296 331.153707,3.55271368e-14 213.333333,3.55271368e-14 Z M213.333333,384 C119.227947,384 42.6666667,307.43872 42.6666667,213.333333 C42.6666667,119.227947 119.227947,42.6666667 213.333333,42.6666667 C307.43872,42.6666667 384,119.227947 384,213.333333 C384,307.43872 307.438933,384 213.333333,384 Z M293.669333,137.114453 L323.835947,167.281067 L192,299.66912 L112.916693,220.585813 L143.083307,190.4192 L192,239.335893 L293.669333,137.114453 Z' id='Shape'/></g></g></svg>";
|
|
15878
|
-
const iconWarning = "data:image/svg+xml;utf8,<?xml version='1.0' encoding='UTF-8'?><svg width='512px' height='512px' viewBox='0 0 512 512' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'><g id='Page-1' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'><g id='add' transform='translate(32.000000, 42.666667)'><path d='M246.312928,5.62892705 C252.927596,9.40873724 258.409564,14.8907053 262.189374,21.5053731 L444.667042,340.84129 C456.358134,361.300701 449.250007,387.363834 428.790595,399.054926 C422.34376,402.738832 415.04715,404.676552 407.622001,404.676552 L42.6666667,404.676552 C19.1025173,404.676552 7.10542736e-15,385.574034 7.10542736e-15,362.009885 C7.10542736e-15,354.584736 1.93772021,347.288125 5.62162594,340.84129 L188.099293,21.5053731 C199.790385,1.04596203 225.853517,-6.06216498 246.312928,5.62892705 Z M225.144334,42.6739678 L42.6666667,362.009885 L407.622001,362.009885 L225.144334,42.6739678 Z M224,272 C239.238095,272 250.666667,283.264 250.666667,298.624 C250.666667,313.984 239.238095,325.248 224,325.248 C208.415584,325.248 197.333333,313.984 197.333333,298.282667 C197.333333,283.264 208.761905,272 224,272 Z M245.333333,106.666667 L245.333333,234.666667 L202.666667,234.666667 L202.666667,106.666667 L245.333333,106.666667 Z' id='Combined-Shape'/></g></g></svg>";
|
|
15879
|
-
|
|
15880
15880
|
const dateInputCss = "/*!@label*/label.sc-ix-date-input{color:var(--theme-color-soft-text);padding:2px 0px}/*!@label.label-alignment-left*/label.label-alignment-left.sc-ix-date-input{padding:6px 0px}/*!@input*/input.sc-ix-date-input{font-feature-settings:\"clig\" off, \"liga\" off;font-family:Siemens Sans, Siemens Sans, Arial, Helvetica, sans-serif;font-style:normal;font-size:var(--theme-ms-0);line-height:var(--theme-line-height-md);font-weight:var(--theme-font-weight-normal);letter-spacing:var(--theme-letter-spacing-xl);text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;min-height:2rem;width:100%;padding:0.25rem 0.5rem;background-color:var(--theme-input--background);color:var(--theme-input--color);-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield;text-overflow:ellipsis;border:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color);border-radius:var(--theme-input--border-radius);box-shadow:var(--theme-input--box-shadow)}/*!@input:-webkit-autofill*/input.sc-ix-date-input:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px var(--theme-color-component-info) inset !important;-webkit-text-fill-color:var(--theme-input--color--autofill) !important;background-color:var(--theme-input--background--autofill) !important;border:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color--autofill) !important;color:var(--theme-input--color--autofill) !important}/*!@input:-webkit-autofill, input:autofill*/input.sc-ix-date-input:-webkit-autofill,input.sc-ix-date-input:autofill{-webkit-box-shadow:0 0 0 1000px var(--theme-color-component-info) inset !important;-webkit-text-fill-color:var(--theme-input--color--autofill) !important;background-color:var(--theme-input--background--autofill) !important;border:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color--autofill) !important;color:var(--theme-input--color--autofill) !important}/*!@input::-moz-placeholder*/input.sc-ix-date-input::-moz-placeholder{color:var(--theme-input-hint--color)}/*!@input::placeholder*/input.sc-ix-date-input::placeholder{color:var(--theme-input-hint--color)}/*!@input.hover:not(.readonly,\n.read-only,\n.disabled,\n[readonly],\n[disabled],\n:-moz-read-only), input:hover:not(.readonly,\n.read-only,\n.disabled,\n[readonly],\n[disabled],\n:-moz-read-only)*/input.hover.sc-ix-date-input:not(.readonly,.read-only.sc-ix-date-input,.disabled.sc-ix-date-input,[readonly].sc-ix-date-input,[disabled].sc-ix-date-input,.sc-ix-date-input:-moz-read-only),input.sc-ix-date-input:hover:not(.readonly,.read-only.sc-ix-date-input,.disabled.sc-ix-date-input,[readonly].sc-ix-date-input,[disabled].sc-ix-date-input,.sc-ix-date-input:-moz-read-only){border-color:var(--theme-input--border-color--hover) !important;background-color:var(--theme-input--background--hover)}/*!@input.hover:not(.readonly,\n.read-only,\n.disabled,\n[readonly],\n[disabled],\n:read-only), input:hover:not(.readonly,\n.read-only,\n.disabled,\n[readonly],\n[disabled],\n:read-only)*/input.hover.sc-ix-date-input:not(.readonly,.read-only.sc-ix-date-input,.disabled.sc-ix-date-input,[readonly].sc-ix-date-input,[disabled].sc-ix-date-input,.sc-ix-date-input:read-only),input.sc-ix-date-input:hover:not(.readonly,.read-only.sc-ix-date-input,.disabled.sc-ix-date-input,[readonly].sc-ix-date-input,[disabled].sc-ix-date-input,.sc-ix-date-input:read-only){border-color:var(--theme-input--border-color--hover) !important;background-color:var(--theme-input--background--hover)}/*!@input.focus:not(.readonly,\n.read-only,\n.disabled,\n[readonly],\n[disabled],\n:-moz-read-only), input:focus:not(.readonly,\n.read-only,\n.disabled,\n[readonly],\n[disabled],\n:-moz-read-only)*/input.focus.sc-ix-date-input:not(.readonly,.read-only.sc-ix-date-input,.disabled.sc-ix-date-input,[readonly].sc-ix-date-input,[disabled].sc-ix-date-input,.sc-ix-date-input:-moz-read-only),input.sc-ix-date-input:focus:not(.readonly,.read-only.sc-ix-date-input,.disabled.sc-ix-date-input,[readonly].sc-ix-date-input,[disabled].sc-ix-date-input,.sc-ix-date-input:-moz-read-only){outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-input--focus--outline-offset);border-color:var(--theme-input--border-color--focus) !important}/*!@input.focus:not(.readonly,\n.read-only,\n.disabled,\n[readonly],\n[disabled],\n:read-only), input:focus:not(.readonly,\n.read-only,\n.disabled,\n[readonly],\n[disabled],\n:read-only)*/input.focus.sc-ix-date-input:not(.readonly,.read-only.sc-ix-date-input,.disabled.sc-ix-date-input,[readonly].sc-ix-date-input,[disabled].sc-ix-date-input,.sc-ix-date-input:read-only),input.sc-ix-date-input:focus:not(.readonly,.read-only.sc-ix-date-input,.disabled.sc-ix-date-input,[readonly].sc-ix-date-input,[disabled].sc-ix-date-input,.sc-ix-date-input:read-only){outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-input--focus--outline-offset);border-color:var(--theme-input--border-color--focus) !important}/*!@input:-moz-read-only*/input.sc-ix-date-input:-moz-read-only{box-shadow:none;background-color:transparent;outline:none;border:none;border-radius:0;border-bottom:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color-bottom--readonly)}/*!@input.read-only, input:read-only*/input.read-only.sc-ix-date-input,input.sc-ix-date-input:read-only{box-shadow:none;background-color:transparent;outline:none;border:none;border-radius:0;border-bottom:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color-bottom--readonly)}/*!@input.read-only::-moz-placeholder, input:read-only::-moz-placeholder*/input.read-only.sc-ix-date-input::-moz-placeholder,input.sc-ix-date-input:read-only::-moz-placeholder{color:transparent}/*!@input:-moz-read-only::placeholder*/input.sc-ix-date-input:-moz-read-only::placeholder{color:transparent}/*!@input.read-only::placeholder, input:read-only::placeholder*/input.read-only.sc-ix-date-input::placeholder,input.sc-ix-date-input:read-only::placeholder{color:transparent}/*!@input:disabled, input.disabled*/input.sc-ix-date-input:disabled,input.disabled.sc-ix-date-input{box-shadow:none;background-color:transparent;outline:none;border:none;border-radius:0;color:var(--theme-input--color--disabled);border-bottom:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color-bottom--disabled)}/*!@input:disabled::-moz-placeholder, input.disabled::-moz-placeholder*/input.sc-ix-date-input:disabled::-moz-placeholder,input.disabled.sc-ix-date-input::-moz-placeholder{color:transparent}/*!@input:disabled::placeholder, input.disabled::placeholder*/input.sc-ix-date-input:disabled::placeholder,input.disabled.sc-ix-date-input::placeholder{color:transparent}/*!@input[type=number]*/input[type=number].sc-ix-date-input{text-align:right}/*!@input[type=number]::-webkit-inner-spin-button*/input[type=number].sc-ix-date-input::-webkit-inner-spin-button{margin-right:-2px;margin-left:2px;display:none}/*!@textarea*/textarea.sc-ix-date-input{padding:0.375rem 1.25rem 0.375rem 0.5rem}/*!@textarea*/textarea.sc-ix-date-input{font-feature-settings:\"clig\" off, \"liga\" off;font-family:Siemens Sans, Siemens Sans, Arial, Helvetica, sans-serif;font-style:normal;font-size:var(--theme-ms-0);line-height:var(--theme-line-height-md);font-weight:var(--theme-font-weight-normal);letter-spacing:var(--theme-letter-spacing-xl);text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;min-height:2rem;width:100%;padding:0.25rem 0.5rem;background-color:var(--theme-input--background);color:var(--theme-input--color);-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield;text-overflow:ellipsis;border:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color);border-radius:var(--theme-input--border-radius);box-shadow:var(--theme-input--box-shadow)}/*!@textarea:-webkit-autofill*/textarea.sc-ix-date-input:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px var(--theme-color-component-info) inset !important;-webkit-text-fill-color:var(--theme-input--color--autofill) !important;background-color:var(--theme-input--background--autofill) !important;border:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color--autofill) !important;color:var(--theme-input--color--autofill) !important}/*!@textarea:-webkit-autofill, textarea:autofill*/textarea.sc-ix-date-input:-webkit-autofill,textarea.sc-ix-date-input:autofill{-webkit-box-shadow:0 0 0 1000px var(--theme-color-component-info) inset !important;-webkit-text-fill-color:var(--theme-input--color--autofill) !important;background-color:var(--theme-input--background--autofill) !important;border:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color--autofill) !important;color:var(--theme-input--color--autofill) !important}/*!@textarea::-moz-placeholder*/textarea.sc-ix-date-input::-moz-placeholder{color:var(--theme-input-hint--color)}/*!@textarea::placeholder*/textarea.sc-ix-date-input::placeholder{color:var(--theme-input-hint--color)}/*!@textarea.hover:not(.readonly,\n.read-only,\n.disabled,\n[readonly],\n[disabled],\n:-moz-read-only), textarea:hover:not(.readonly,\n.read-only,\n.disabled,\n[readonly],\n[disabled],\n:-moz-read-only)*/textarea.hover.sc-ix-date-input:not(.readonly,.read-only.sc-ix-date-input,.disabled.sc-ix-date-input,[readonly].sc-ix-date-input,[disabled].sc-ix-date-input,.sc-ix-date-input:-moz-read-only),textarea.sc-ix-date-input:hover:not(.readonly,.read-only.sc-ix-date-input,.disabled.sc-ix-date-input,[readonly].sc-ix-date-input,[disabled].sc-ix-date-input,.sc-ix-date-input:-moz-read-only){border-color:var(--theme-input--border-color--hover) !important;background-color:var(--theme-input--background--hover)}/*!@textarea.hover:not(.readonly,\n.read-only,\n.disabled,\n[readonly],\n[disabled],\n:read-only), textarea:hover:not(.readonly,\n.read-only,\n.disabled,\n[readonly],\n[disabled],\n:read-only)*/textarea.hover.sc-ix-date-input:not(.readonly,.read-only.sc-ix-date-input,.disabled.sc-ix-date-input,[readonly].sc-ix-date-input,[disabled].sc-ix-date-input,.sc-ix-date-input:read-only),textarea.sc-ix-date-input:hover:not(.readonly,.read-only.sc-ix-date-input,.disabled.sc-ix-date-input,[readonly].sc-ix-date-input,[disabled].sc-ix-date-input,.sc-ix-date-input:read-only){border-color:var(--theme-input--border-color--hover) !important;background-color:var(--theme-input--background--hover)}/*!@textarea.focus:not(.readonly,\n.read-only,\n.disabled,\n[readonly],\n[disabled],\n:-moz-read-only), textarea:focus:not(.readonly,\n.read-only,\n.disabled,\n[readonly],\n[disabled],\n:-moz-read-only)*/textarea.focus.sc-ix-date-input:not(.readonly,.read-only.sc-ix-date-input,.disabled.sc-ix-date-input,[readonly].sc-ix-date-input,[disabled].sc-ix-date-input,.sc-ix-date-input:-moz-read-only),textarea.sc-ix-date-input:focus:not(.readonly,.read-only.sc-ix-date-input,.disabled.sc-ix-date-input,[readonly].sc-ix-date-input,[disabled].sc-ix-date-input,.sc-ix-date-input:-moz-read-only){outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-input--focus--outline-offset);border-color:var(--theme-input--border-color--focus) !important}/*!@textarea.focus:not(.readonly,\n.read-only,\n.disabled,\n[readonly],\n[disabled],\n:read-only), textarea:focus:not(.readonly,\n.read-only,\n.disabled,\n[readonly],\n[disabled],\n:read-only)*/textarea.focus.sc-ix-date-input:not(.readonly,.read-only.sc-ix-date-input,.disabled.sc-ix-date-input,[readonly].sc-ix-date-input,[disabled].sc-ix-date-input,.sc-ix-date-input:read-only),textarea.sc-ix-date-input:focus:not(.readonly,.read-only.sc-ix-date-input,.disabled.sc-ix-date-input,[readonly].sc-ix-date-input,[disabled].sc-ix-date-input,.sc-ix-date-input:read-only){outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-input--focus--outline-offset);border-color:var(--theme-input--border-color--focus) !important}/*!@textarea:-moz-read-only*/textarea.sc-ix-date-input:-moz-read-only{box-shadow:none;background-color:transparent;outline:none;border:none;border-radius:0;border-bottom:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color-bottom--readonly)}/*!@textarea.read-only, textarea:read-only*/textarea.read-only.sc-ix-date-input,textarea.sc-ix-date-input:read-only{box-shadow:none;background-color:transparent;outline:none;border:none;border-radius:0;border-bottom:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color-bottom--readonly)}/*!@textarea.read-only::-moz-placeholder, textarea:read-only::-moz-placeholder*/textarea.read-only.sc-ix-date-input::-moz-placeholder,textarea.sc-ix-date-input:read-only::-moz-placeholder{color:transparent}/*!@textarea:-moz-read-only::placeholder*/textarea.sc-ix-date-input:-moz-read-only::placeholder{color:transparent}/*!@textarea.read-only::placeholder, textarea:read-only::placeholder*/textarea.read-only.sc-ix-date-input::placeholder,textarea.sc-ix-date-input:read-only::placeholder{color:transparent}/*!@textarea:disabled, textarea.disabled*/textarea.sc-ix-date-input:disabled,textarea.disabled.sc-ix-date-input{box-shadow:none;background-color:transparent;outline:none;border:none;border-radius:0;color:var(--theme-input--color--disabled);border-bottom:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color-bottom--disabled)}/*!@textarea:disabled::-moz-placeholder, textarea.disabled::-moz-placeholder*/textarea.sc-ix-date-input:disabled::-moz-placeholder,textarea.disabled.sc-ix-date-input::-moz-placeholder{color:transparent}/*!@textarea:disabled::placeholder, textarea.disabled::placeholder*/textarea.sc-ix-date-input:disabled::placeholder,textarea.disabled.sc-ix-date-input::placeholder{color:transparent}/*!@textarea ~ .valid-feedback,\ntextarea ~ .invalid-feedback,\ninput ~ .valid-feedback,\ninput ~ .invalid-feedback*/textarea.sc-ix-date-input~.valid-feedback.sc-ix-date-input,textarea.sc-ix-date-input~.invalid-feedback.sc-ix-date-input,input.sc-ix-date-input~.valid-feedback.sc-ix-date-input,input.sc-ix-date-input~.invalid-feedback.sc-ix-date-input{display:none;font-feature-settings:\"clig\" off, \"liga\" off;font-family:Siemens Sans, Siemens Sans, Arial, Helvetica, sans-serif;font-style:normal;font-size:var(--theme-ms-0);line-height:var(--theme-line-height-md);font-weight:var(--theme-font-weight-normal);letter-spacing:var(--theme-letter-spacing-xl);text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}/*!@form textarea ~ .valid-feedback,\nform input ~ .valid-feedback*/form.sc-ix-date-input textarea.sc-ix-date-input~.valid-feedback.sc-ix-date-input,form.sc-ix-date-input input.sc-ix-date-input~.valid-feedback.sc-ix-date-input{color:var(--theme-color-success)}/*!@form textarea ~ .invalid-feedback,\nform input ~ .invalid-feedback*/form.sc-ix-date-input textarea.sc-ix-date-input~.invalid-feedback.sc-ix-date-input,form.sc-ix-date-input input.sc-ix-date-input~.invalid-feedback.sc-ix-date-input{color:var(--theme-color-alarm-text)}/*!@form:not([novalidate]) :invalid,\nform:not([novalidate]) .is-invalid,\nform.was-validated :invalid,\nform.was-validated .is-invalid*/form.sc-ix-date-input:not([novalidate]) .sc-ix-date-input:invalid,form.sc-ix-date-input:not([novalidate]) .is-invalid.sc-ix-date-input,form.was-validated.sc-ix-date-input .sc-ix-date-input:invalid,form.was-validated.sc-ix-date-input .is-invalid.sc-ix-date-input{background-color:var(--theme-input-error--background);border-color:var(--theme-input-error--border-color);background-image:url(\"data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg width='512px' height='512px' viewBox='0 0 512 512' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3C!-- Generator: sketchtool 62 (101010) - https://sketch.com --%3E%3Ctitle%3Eerror%3C/title%3E%3Cdesc%3ECreated with sketchtool.%3C/desc%3E%3Cg id='Page-1' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd' fill-opacity='0.75'%3E%3Cg id='error' fill='%23ff2640'%3E%3Cg id='error/error'%3E%3Cpath d='M256,42.6666667 C373.626371,42.6666667 469.333333,138.373627 469.333333,256 C469.333333,373.626371 373.626371,469.333333 256,469.333333 C138.373627,469.333333 42.6666667,373.626371 42.6666667,256 C42.6666667,138.373627 138.373627,42.6666667 256,42.6666667 Z M256,85.3333333 C161.559631,85.3333333 85.3333333,161.559631 85.3333333,256 C85.3333333,350.44037 161.559631,426.666667 256,426.666667 C350.44037,426.666667 426.666667,350.44037 426.666667,256 C426.666667,161.559631 350.44037,85.3333333 256,85.3333333 Z M326.248389,155.581722 L356.418278,185.751611 L286.168667,255.999667 L356.418278,326.248389 L326.248389,356.418278 L255.999667,286.168667 L185.751611,356.418278 L155.581722,326.248389 L225.829667,255.999667 L155.581722,185.751611 L185.751611,155.581722 L255.999667,225.829667 L326.248389,155.581722 Z' id='Combined-Shape'%3E%3C/path%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E\") !important;background-position:left calc(0.375em + 0.1875rem) center;padding-right:0.75rem;padding-left:calc(1.5em + 0.75rem);background-size:18px;background-repeat:no-repeat}/*!@form:not([novalidate]) :invalid ~ .invalid-feedback,\nform:not([novalidate]) .is-invalid ~ .invalid-feedback,\nform.was-validated :invalid ~ .invalid-feedback,\nform.was-validated .is-invalid ~ .invalid-feedback*/form.sc-ix-date-input:not([novalidate]) .sc-ix-date-input:invalid~.invalid-feedback.sc-ix-date-input,form.sc-ix-date-input:not([novalidate]) .is-invalid.sc-ix-date-input~.invalid-feedback.sc-ix-date-input,form.was-validated.sc-ix-date-input .sc-ix-date-input:invalid~.invalid-feedback.sc-ix-date-input,form.was-validated.sc-ix-date-input .is-invalid.sc-ix-date-input~.invalid-feedback.sc-ix-date-input{display:block}/*!@form:not([novalidate]) :valid ~ .valid-feedback,\nform:not([novalidate]) .is-valid ~ .valid-feedback,\nform.was-validated :valid ~ .valid-feedback,\nform.was-validated .is-valid ~ .valid-feedback*/form.sc-ix-date-input:not([novalidate]) .sc-ix-date-input:valid~.valid-feedback.sc-ix-date-input,form.sc-ix-date-input:not([novalidate]) .is-valid.sc-ix-date-input~.valid-feedback.sc-ix-date-input,form.was-validated.sc-ix-date-input .sc-ix-date-input:valid~.valid-feedback.sc-ix-date-input,form.was-validated.sc-ix-date-input .is-valid.sc-ix-date-input~.valid-feedback.sc-ix-date-input{display:block}/*!@form:not(.was-validated) .invalid-feedback,\nform:not(.was-validated) .valid-feedback*/form.sc-ix-date-input:not(.was-validated) .invalid-feedback.sc-ix-date-input,form.sc-ix-date-input:not(.was-validated) .valid-feedback.sc-ix-date-input{display:none !important}/*!@textarea.ix-info:not(.disabled):not(:disabled):not([disabled]),\ninput.ix-info:not(.disabled):not(:disabled):not([disabled])*/textarea.ix-info.sc-ix-date-input:not(.disabled):not(:disabled):not([disabled]),input.ix-info.sc-ix-date-input:not(.disabled):not(:disabled):not([disabled]){border-color:var(--theme-input--border-color--info)}/*!@textarea.ix-info:not(.disabled):not(:disabled):not([disabled]):hover,\ninput.ix-info:not(.disabled):not(:disabled):not([disabled]):hover*/textarea.ix-info.sc-ix-date-input:not(.disabled):not(:disabled):not([disabled]):hover,input.ix-info.sc-ix-date-input:not(.disabled):not(:disabled):not([disabled]):hover{border-color:var(--theme-input--border-color--info--hover) !important}/*!@textarea.ix-info:not(.disabled):not(:disabled):not([disabled]):active,\ninput.ix-info:not(.disabled):not(:disabled):not([disabled]):active*/textarea.ix-info.sc-ix-date-input:not(.disabled):not(:disabled):not([disabled]):active,input.ix-info.sc-ix-date-input:not(.disabled):not(:disabled):not([disabled]):active{border-color:var(--theme-input--border-color--info--active) !important}/*!@textarea.ix-warning:not(.disabled):not(:disabled):not([disabled]),\ninput.ix-warning:not(.disabled):not(:disabled):not([disabled])*/textarea.ix-warning.sc-ix-date-input:not(.disabled):not(:disabled):not([disabled]),input.ix-warning.sc-ix-date-input:not(.disabled):not(:disabled):not([disabled]){border-color:var(--theme-input--border-color--warning--active) !important}/*!@textarea.ix-warning:not(.disabled):not(:disabled):not([disabled]):hover,\ninput.ix-warning:not(.disabled):not(:disabled):not([disabled]):hover*/textarea.ix-warning.sc-ix-date-input:not(.disabled):not(:disabled):not([disabled]):hover,input.ix-warning.sc-ix-date-input:not(.disabled):not(:disabled):not([disabled]):hover{border-color:var(--theme-input--border-color--warning--active) !important}/*!@textarea.ix-warning:not(.disabled):not(:disabled):not([disabled]):active,\ninput.ix-warning:not(.disabled):not(:disabled):not([disabled]):active*/textarea.ix-warning.sc-ix-date-input:not(.disabled):not(:disabled):not([disabled]):active,input.ix-warning.sc-ix-date-input:not(.disabled):not(:disabled):not([disabled]):active{border-color:var(--theme-input--border-color--warning--active) !important}/*!@textarea[class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled]),\ninput[class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled])*/textarea[class*=ix-invalid].sc-ix-date-input:not(.disabled):not(:disabled):not([disabled]),input[class*=ix-invalid].sc-ix-date-input:not(.disabled):not(:disabled):not([disabled]){background-color:var(--theme-input--background--invalid);border-color:var(--theme-input--border-color--invalid) !important}/*!@textarea[class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled]):hover,\ninput[class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled]):hover*/textarea[class*=ix-invalid].sc-ix-date-input:not(.disabled):not(:disabled):not([disabled]):hover,input[class*=ix-invalid].sc-ix-date-input:not(.disabled):not(:disabled):not([disabled]):hover{border-color:var(--theme-input--border-color--invalid--hover) !important}/*!@textarea[class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled]):active,\ninput[class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled]):active*/textarea[class*=ix-invalid].sc-ix-date-input:not(.disabled):not(:disabled):not([disabled]):active,input[class*=ix-invalid].sc-ix-date-input:not(.disabled):not(:disabled):not([disabled]):active{border-color:var(--theme-input--border-color--invalid--active) !important}/*!@label*/label.sc-ix-date-input{color:var(--theme-color-soft-text);padding:2px 0px}/*!@label.label-alignment-left*/label.label-alignment-left.sc-ix-date-input{padding:6px 0px}/*!@input*/input.sc-ix-date-input{font-feature-settings:\"clig\" off, \"liga\" off;font-family:Siemens Sans, Siemens Sans, Arial, Helvetica, sans-serif;font-style:normal;font-size:var(--theme-ms-0);line-height:var(--theme-line-height-md);font-weight:var(--theme-font-weight-normal);letter-spacing:var(--theme-letter-spacing-xl);text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;min-height:2rem;width:100%;padding:0.25rem 0.5rem;background-color:var(--theme-input--background);color:var(--theme-input--color);-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield;text-overflow:ellipsis;border:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color);border-radius:var(--theme-input--border-radius);box-shadow:var(--theme-input--box-shadow)}/*!@input:-webkit-autofill*/input.sc-ix-date-input:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px var(--theme-color-component-info) inset !important;-webkit-text-fill-color:var(--theme-input--color--autofill) !important;background-color:var(--theme-input--background--autofill) !important;border:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color--autofill) !important;color:var(--theme-input--color--autofill) !important}/*!@input:-webkit-autofill, input:autofill*/input.sc-ix-date-input:-webkit-autofill,input.sc-ix-date-input:autofill{-webkit-box-shadow:0 0 0 1000px var(--theme-color-component-info) inset !important;-webkit-text-fill-color:var(--theme-input--color--autofill) !important;background-color:var(--theme-input--background--autofill) !important;border:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color--autofill) !important;color:var(--theme-input--color--autofill) !important}/*!@input::-moz-placeholder*/input.sc-ix-date-input::-moz-placeholder{color:var(--theme-input-hint--color)}/*!@input::placeholder*/input.sc-ix-date-input::placeholder{color:var(--theme-input-hint--color)}/*!@input.hover:not(.readonly,\n.read-only,\n.disabled,\n[readonly],\n[disabled],\n:-moz-read-only), input:hover:not(.readonly,\n.read-only,\n.disabled,\n[readonly],\n[disabled],\n:-moz-read-only)*/input.hover.sc-ix-date-input:not(.readonly,.read-only.sc-ix-date-input,.disabled.sc-ix-date-input,[readonly].sc-ix-date-input,[disabled].sc-ix-date-input,.sc-ix-date-input:-moz-read-only),input.sc-ix-date-input:hover:not(.readonly,.read-only.sc-ix-date-input,.disabled.sc-ix-date-input,[readonly].sc-ix-date-input,[disabled].sc-ix-date-input,.sc-ix-date-input:-moz-read-only){border-color:var(--theme-input--border-color--hover) !important;background-color:var(--theme-input--background--hover)}/*!@input.hover:not(.readonly,\n.read-only,\n.disabled,\n[readonly],\n[disabled],\n:read-only), input:hover:not(.readonly,\n.read-only,\n.disabled,\n[readonly],\n[disabled],\n:read-only)*/input.hover.sc-ix-date-input:not(.readonly,.read-only.sc-ix-date-input,.disabled.sc-ix-date-input,[readonly].sc-ix-date-input,[disabled].sc-ix-date-input,.sc-ix-date-input:read-only),input.sc-ix-date-input:hover:not(.readonly,.read-only.sc-ix-date-input,.disabled.sc-ix-date-input,[readonly].sc-ix-date-input,[disabled].sc-ix-date-input,.sc-ix-date-input:read-only){border-color:var(--theme-input--border-color--hover) !important;background-color:var(--theme-input--background--hover)}/*!@input.focus:not(.readonly,\n.read-only,\n.disabled,\n[readonly],\n[disabled],\n:-moz-read-only), input:focus:not(.readonly,\n.read-only,\n.disabled,\n[readonly],\n[disabled],\n:-moz-read-only)*/input.focus.sc-ix-date-input:not(.readonly,.read-only.sc-ix-date-input,.disabled.sc-ix-date-input,[readonly].sc-ix-date-input,[disabled].sc-ix-date-input,.sc-ix-date-input:-moz-read-only),input.sc-ix-date-input:focus:not(.readonly,.read-only.sc-ix-date-input,.disabled.sc-ix-date-input,[readonly].sc-ix-date-input,[disabled].sc-ix-date-input,.sc-ix-date-input:-moz-read-only){outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-input--focus--outline-offset);border-color:var(--theme-input--border-color--focus) !important}/*!@input.focus:not(.readonly,\n.read-only,\n.disabled,\n[readonly],\n[disabled],\n:read-only), input:focus:not(.readonly,\n.read-only,\n.disabled,\n[readonly],\n[disabled],\n:read-only)*/input.focus.sc-ix-date-input:not(.readonly,.read-only.sc-ix-date-input,.disabled.sc-ix-date-input,[readonly].sc-ix-date-input,[disabled].sc-ix-date-input,.sc-ix-date-input:read-only),input.sc-ix-date-input:focus:not(.readonly,.read-only.sc-ix-date-input,.disabled.sc-ix-date-input,[readonly].sc-ix-date-input,[disabled].sc-ix-date-input,.sc-ix-date-input:read-only){outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-input--focus--outline-offset);border-color:var(--theme-input--border-color--focus) !important}/*!@input:-moz-read-only*/input.sc-ix-date-input:-moz-read-only{box-shadow:none;background-color:transparent;outline:none;border:none;border-radius:0;border-bottom:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color-bottom--readonly)}/*!@input.read-only, input:read-only*/input.read-only.sc-ix-date-input,input.sc-ix-date-input:read-only{box-shadow:none;background-color:transparent;outline:none;border:none;border-radius:0;border-bottom:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color-bottom--readonly)}/*!@input.read-only::-moz-placeholder, input:read-only::-moz-placeholder*/input.read-only.sc-ix-date-input::-moz-placeholder,input.sc-ix-date-input:read-only::-moz-placeholder{color:transparent}/*!@input:-moz-read-only::placeholder*/input.sc-ix-date-input:-moz-read-only::placeholder{color:transparent}/*!@input.read-only::placeholder, input:read-only::placeholder*/input.read-only.sc-ix-date-input::placeholder,input.sc-ix-date-input:read-only::placeholder{color:transparent}/*!@input:disabled, input.disabled*/input.sc-ix-date-input:disabled,input.disabled.sc-ix-date-input{box-shadow:none;background-color:transparent;outline:none;border:none;border-radius:0;color:var(--theme-input--color--disabled);border-bottom:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color-bottom--disabled)}/*!@input:disabled::-moz-placeholder, input.disabled::-moz-placeholder*/input.sc-ix-date-input:disabled::-moz-placeholder,input.disabled.sc-ix-date-input::-moz-placeholder{color:transparent}/*!@input:disabled::placeholder, input.disabled::placeholder*/input.sc-ix-date-input:disabled::placeholder,input.disabled.sc-ix-date-input::placeholder{color:transparent}/*!@input[type=number]*/input[type=number].sc-ix-date-input{text-align:right}/*!@input[type=number]::-webkit-inner-spin-button*/input[type=number].sc-ix-date-input::-webkit-inner-spin-button{margin-right:-2px;margin-left:2px;display:none}/*!@textarea*/textarea.sc-ix-date-input{padding:0.375rem 1.25rem 0.375rem 0.5rem}/*!@textarea*/textarea.sc-ix-date-input{font-feature-settings:\"clig\" off, \"liga\" off;font-family:Siemens Sans, Siemens Sans, Arial, Helvetica, sans-serif;font-style:normal;font-size:var(--theme-ms-0);line-height:var(--theme-line-height-md);font-weight:var(--theme-font-weight-normal);letter-spacing:var(--theme-letter-spacing-xl);text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;min-height:2rem;width:100%;padding:0.25rem 0.5rem;background-color:var(--theme-input--background);color:var(--theme-input--color);-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield;text-overflow:ellipsis;border:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color);border-radius:var(--theme-input--border-radius);box-shadow:var(--theme-input--box-shadow)}/*!@textarea:-webkit-autofill*/textarea.sc-ix-date-input:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px var(--theme-color-component-info) inset !important;-webkit-text-fill-color:var(--theme-input--color--autofill) !important;background-color:var(--theme-input--background--autofill) !important;border:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color--autofill) !important;color:var(--theme-input--color--autofill) !important}/*!@textarea:-webkit-autofill, textarea:autofill*/textarea.sc-ix-date-input:-webkit-autofill,textarea.sc-ix-date-input:autofill{-webkit-box-shadow:0 0 0 1000px var(--theme-color-component-info) inset !important;-webkit-text-fill-color:var(--theme-input--color--autofill) !important;background-color:var(--theme-input--background--autofill) !important;border:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color--autofill) !important;color:var(--theme-input--color--autofill) !important}/*!@textarea::-moz-placeholder*/textarea.sc-ix-date-input::-moz-placeholder{color:var(--theme-input-hint--color)}/*!@textarea::placeholder*/textarea.sc-ix-date-input::placeholder{color:var(--theme-input-hint--color)}/*!@textarea.hover:not(.readonly,\n.read-only,\n.disabled,\n[readonly],\n[disabled],\n:-moz-read-only), textarea:hover:not(.readonly,\n.read-only,\n.disabled,\n[readonly],\n[disabled],\n:-moz-read-only)*/textarea.hover.sc-ix-date-input:not(.readonly,.read-only.sc-ix-date-input,.disabled.sc-ix-date-input,[readonly].sc-ix-date-input,[disabled].sc-ix-date-input,.sc-ix-date-input:-moz-read-only),textarea.sc-ix-date-input:hover:not(.readonly,.read-only.sc-ix-date-input,.disabled.sc-ix-date-input,[readonly].sc-ix-date-input,[disabled].sc-ix-date-input,.sc-ix-date-input:-moz-read-only){border-color:var(--theme-input--border-color--hover) !important;background-color:var(--theme-input--background--hover)}/*!@textarea.hover:not(.readonly,\n.read-only,\n.disabled,\n[readonly],\n[disabled],\n:read-only), textarea:hover:not(.readonly,\n.read-only,\n.disabled,\n[readonly],\n[disabled],\n:read-only)*/textarea.hover.sc-ix-date-input:not(.readonly,.read-only.sc-ix-date-input,.disabled.sc-ix-date-input,[readonly].sc-ix-date-input,[disabled].sc-ix-date-input,.sc-ix-date-input:read-only),textarea.sc-ix-date-input:hover:not(.readonly,.read-only.sc-ix-date-input,.disabled.sc-ix-date-input,[readonly].sc-ix-date-input,[disabled].sc-ix-date-input,.sc-ix-date-input:read-only){border-color:var(--theme-input--border-color--hover) !important;background-color:var(--theme-input--background--hover)}/*!@textarea.focus:not(.readonly,\n.read-only,\n.disabled,\n[readonly],\n[disabled],\n:-moz-read-only), textarea:focus:not(.readonly,\n.read-only,\n.disabled,\n[readonly],\n[disabled],\n:-moz-read-only)*/textarea.focus.sc-ix-date-input:not(.readonly,.read-only.sc-ix-date-input,.disabled.sc-ix-date-input,[readonly].sc-ix-date-input,[disabled].sc-ix-date-input,.sc-ix-date-input:-moz-read-only),textarea.sc-ix-date-input:focus:not(.readonly,.read-only.sc-ix-date-input,.disabled.sc-ix-date-input,[readonly].sc-ix-date-input,[disabled].sc-ix-date-input,.sc-ix-date-input:-moz-read-only){outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-input--focus--outline-offset);border-color:var(--theme-input--border-color--focus) !important}/*!@textarea.focus:not(.readonly,\n.read-only,\n.disabled,\n[readonly],\n[disabled],\n:read-only), textarea:focus:not(.readonly,\n.read-only,\n.disabled,\n[readonly],\n[disabled],\n:read-only)*/textarea.focus.sc-ix-date-input:not(.readonly,.read-only.sc-ix-date-input,.disabled.sc-ix-date-input,[readonly].sc-ix-date-input,[disabled].sc-ix-date-input,.sc-ix-date-input:read-only),textarea.sc-ix-date-input:focus:not(.readonly,.read-only.sc-ix-date-input,.disabled.sc-ix-date-input,[readonly].sc-ix-date-input,[disabled].sc-ix-date-input,.sc-ix-date-input:read-only){outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-input--focus--outline-offset);border-color:var(--theme-input--border-color--focus) !important}/*!@textarea:-moz-read-only*/textarea.sc-ix-date-input:-moz-read-only{box-shadow:none;background-color:transparent;outline:none;border:none;border-radius:0;border-bottom:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color-bottom--readonly)}/*!@textarea.read-only, textarea:read-only*/textarea.read-only.sc-ix-date-input,textarea.sc-ix-date-input:read-only{box-shadow:none;background-color:transparent;outline:none;border:none;border-radius:0;border-bottom:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color-bottom--readonly)}/*!@textarea.read-only::-moz-placeholder, textarea:read-only::-moz-placeholder*/textarea.read-only.sc-ix-date-input::-moz-placeholder,textarea.sc-ix-date-input:read-only::-moz-placeholder{color:transparent}/*!@textarea:-moz-read-only::placeholder*/textarea.sc-ix-date-input:-moz-read-only::placeholder{color:transparent}/*!@textarea.read-only::placeholder, textarea:read-only::placeholder*/textarea.read-only.sc-ix-date-input::placeholder,textarea.sc-ix-date-input:read-only::placeholder{color:transparent}/*!@textarea:disabled, textarea.disabled*/textarea.sc-ix-date-input:disabled,textarea.disabled.sc-ix-date-input{box-shadow:none;background-color:transparent;outline:none;border:none;border-radius:0;color:var(--theme-input--color--disabled);border-bottom:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color-bottom--disabled)}/*!@textarea:disabled::-moz-placeholder, textarea.disabled::-moz-placeholder*/textarea.sc-ix-date-input:disabled::-moz-placeholder,textarea.disabled.sc-ix-date-input::-moz-placeholder{color:transparent}/*!@textarea:disabled::placeholder, textarea.disabled::placeholder*/textarea.sc-ix-date-input:disabled::placeholder,textarea.disabled.sc-ix-date-input::placeholder{color:transparent}/*!@textarea ~ .valid-feedback,\ntextarea ~ .invalid-feedback,\ninput ~ .valid-feedback,\ninput ~ .invalid-feedback*/textarea.sc-ix-date-input~.valid-feedback.sc-ix-date-input,textarea.sc-ix-date-input~.invalid-feedback.sc-ix-date-input,input.sc-ix-date-input~.valid-feedback.sc-ix-date-input,input.sc-ix-date-input~.invalid-feedback.sc-ix-date-input{display:none;font-feature-settings:\"clig\" off, \"liga\" off;font-family:Siemens Sans, Siemens Sans, Arial, Helvetica, sans-serif;font-style:normal;font-size:var(--theme-ms-0);line-height:var(--theme-line-height-md);font-weight:var(--theme-font-weight-normal);letter-spacing:var(--theme-letter-spacing-xl);text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}/*!@form textarea ~ .valid-feedback,\nform input ~ .valid-feedback*/form.sc-ix-date-input textarea.sc-ix-date-input~.valid-feedback.sc-ix-date-input,form.sc-ix-date-input input.sc-ix-date-input~.valid-feedback.sc-ix-date-input{color:var(--theme-color-success)}/*!@form textarea ~ .invalid-feedback,\nform input ~ .invalid-feedback*/form.sc-ix-date-input textarea.sc-ix-date-input~.invalid-feedback.sc-ix-date-input,form.sc-ix-date-input input.sc-ix-date-input~.invalid-feedback.sc-ix-date-input{color:var(--theme-color-alarm-text)}/*!@form:not([novalidate]) :invalid,\nform:not([novalidate]) .is-invalid,\nform.was-validated :invalid,\nform.was-validated .is-invalid*/form.sc-ix-date-input:not([novalidate]) .sc-ix-date-input:invalid,form.sc-ix-date-input:not([novalidate]) .is-invalid.sc-ix-date-input,form.was-validated.sc-ix-date-input .sc-ix-date-input:invalid,form.was-validated.sc-ix-date-input .is-invalid.sc-ix-date-input{background-color:var(--theme-input-error--background);border-color:var(--theme-input-error--border-color);background-image:url(\"data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg width='512px' height='512px' viewBox='0 0 512 512' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3C!-- Generator: sketchtool 62 (101010) - https://sketch.com --%3E%3Ctitle%3Eerror%3C/title%3E%3Cdesc%3ECreated with sketchtool.%3C/desc%3E%3Cg id='Page-1' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd' fill-opacity='0.75'%3E%3Cg id='error' fill='%23ff2640'%3E%3Cg id='error/error'%3E%3Cpath d='M256,42.6666667 C373.626371,42.6666667 469.333333,138.373627 469.333333,256 C469.333333,373.626371 373.626371,469.333333 256,469.333333 C138.373627,469.333333 42.6666667,373.626371 42.6666667,256 C42.6666667,138.373627 138.373627,42.6666667 256,42.6666667 Z M256,85.3333333 C161.559631,85.3333333 85.3333333,161.559631 85.3333333,256 C85.3333333,350.44037 161.559631,426.666667 256,426.666667 C350.44037,426.666667 426.666667,350.44037 426.666667,256 C426.666667,161.559631 350.44037,85.3333333 256,85.3333333 Z M326.248389,155.581722 L356.418278,185.751611 L286.168667,255.999667 L356.418278,326.248389 L326.248389,356.418278 L255.999667,286.168667 L185.751611,356.418278 L155.581722,326.248389 L225.829667,255.999667 L155.581722,185.751611 L185.751611,155.581722 L255.999667,225.829667 L326.248389,155.581722 Z' id='Combined-Shape'%3E%3C/path%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E\") !important;background-position:left calc(0.375em + 0.1875rem) center;padding-right:0.75rem;padding-left:calc(1.5em + 0.75rem);background-size:18px;background-repeat:no-repeat}/*!@form:not([novalidate]) :invalid ~ .invalid-feedback,\nform:not([novalidate]) .is-invalid ~ .invalid-feedback,\nform.was-validated :invalid ~ .invalid-feedback,\nform.was-validated .is-invalid ~ .invalid-feedback*/form.sc-ix-date-input:not([novalidate]) .sc-ix-date-input:invalid~.invalid-feedback.sc-ix-date-input,form.sc-ix-date-input:not([novalidate]) .is-invalid.sc-ix-date-input~.invalid-feedback.sc-ix-date-input,form.was-validated.sc-ix-date-input .sc-ix-date-input:invalid~.invalid-feedback.sc-ix-date-input,form.was-validated.sc-ix-date-input .is-invalid.sc-ix-date-input~.invalid-feedback.sc-ix-date-input{display:block}/*!@form:not([novalidate]) :valid ~ .valid-feedback,\nform:not([novalidate]) .is-valid ~ .valid-feedback,\nform.was-validated :valid ~ .valid-feedback,\nform.was-validated .is-valid ~ .valid-feedback*/form.sc-ix-date-input:not([novalidate]) .sc-ix-date-input:valid~.valid-feedback.sc-ix-date-input,form.sc-ix-date-input:not([novalidate]) .is-valid.sc-ix-date-input~.valid-feedback.sc-ix-date-input,form.was-validated.sc-ix-date-input .sc-ix-date-input:valid~.valid-feedback.sc-ix-date-input,form.was-validated.sc-ix-date-input .is-valid.sc-ix-date-input~.valid-feedback.sc-ix-date-input{display:block}/*!@form:not(.was-validated) .invalid-feedback,\nform:not(.was-validated) .valid-feedback*/form.sc-ix-date-input:not(.was-validated) .invalid-feedback.sc-ix-date-input,form.sc-ix-date-input:not(.was-validated) .valid-feedback.sc-ix-date-input{display:none !important}/*!@textarea.ix-info:not(.disabled):not(:disabled):not([disabled]),\ninput.ix-info:not(.disabled):not(:disabled):not([disabled])*/textarea.ix-info.sc-ix-date-input:not(.disabled):not(:disabled):not([disabled]),input.ix-info.sc-ix-date-input:not(.disabled):not(:disabled):not([disabled]){border-color:var(--theme-input--border-color--info)}/*!@textarea.ix-info:not(.disabled):not(:disabled):not([disabled]):hover,\ninput.ix-info:not(.disabled):not(:disabled):not([disabled]):hover*/textarea.ix-info.sc-ix-date-input:not(.disabled):not(:disabled):not([disabled]):hover,input.ix-info.sc-ix-date-input:not(.disabled):not(:disabled):not([disabled]):hover{border-color:var(--theme-input--border-color--info--hover) !important}/*!@textarea.ix-info:not(.disabled):not(:disabled):not([disabled]):active,\ninput.ix-info:not(.disabled):not(:disabled):not([disabled]):active*/textarea.ix-info.sc-ix-date-input:not(.disabled):not(:disabled):not([disabled]):active,input.ix-info.sc-ix-date-input:not(.disabled):not(:disabled):not([disabled]):active{border-color:var(--theme-input--border-color--info--active) !important}/*!@textarea.ix-warning:not(.disabled):not(:disabled):not([disabled]),\ninput.ix-warning:not(.disabled):not(:disabled):not([disabled])*/textarea.ix-warning.sc-ix-date-input:not(.disabled):not(:disabled):not([disabled]),input.ix-warning.sc-ix-date-input:not(.disabled):not(:disabled):not([disabled]){border-color:var(--theme-input--border-color--warning--active) !important}/*!@textarea.ix-warning:not(.disabled):not(:disabled):not([disabled]):hover,\ninput.ix-warning:not(.disabled):not(:disabled):not([disabled]):hover*/textarea.ix-warning.sc-ix-date-input:not(.disabled):not(:disabled):not([disabled]):hover,input.ix-warning.sc-ix-date-input:not(.disabled):not(:disabled):not([disabled]):hover{border-color:var(--theme-input--border-color--warning--active) !important}/*!@textarea.ix-warning:not(.disabled):not(:disabled):not([disabled]):active,\ninput.ix-warning:not(.disabled):not(:disabled):not([disabled]):active*/textarea.ix-warning.sc-ix-date-input:not(.disabled):not(:disabled):not([disabled]):active,input.ix-warning.sc-ix-date-input:not(.disabled):not(:disabled):not([disabled]):active{border-color:var(--theme-input--border-color--warning--active) !important}/*!@textarea[class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled]),\ninput[class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled])*/textarea[class*=ix-invalid].sc-ix-date-input:not(.disabled):not(:disabled):not([disabled]),input[class*=ix-invalid].sc-ix-date-input:not(.disabled):not(:disabled):not([disabled]){background-color:var(--theme-input--background--invalid);border-color:var(--theme-input--border-color--invalid) !important}/*!@textarea[class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled]):hover,\ninput[class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled]):hover*/textarea[class*=ix-invalid].sc-ix-date-input:not(.disabled):not(:disabled):not([disabled]):hover,input[class*=ix-invalid].sc-ix-date-input:not(.disabled):not(:disabled):not([disabled]):hover{border-color:var(--theme-input--border-color--invalid--hover) !important}/*!@textarea[class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled]):active,\ninput[class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled]):active*/textarea[class*=ix-invalid].sc-ix-date-input:not(.disabled):not(:disabled):not([disabled]):active,input[class*=ix-invalid].sc-ix-date-input:not(.disabled):not(:disabled):not([disabled]):active{border-color:var(--theme-input--border-color--invalid--active) !important}/*!@:host*/.sc-ix-date-input-h{display:inline-block;position:relative;width:auto}/*!@:host *,\n:host *::after,\n:host *::before*/.sc-ix-date-input-h *.sc-ix-date-input,.sc-ix-date-input-h *.sc-ix-date-input::after,.sc-ix-date-input-h *.sc-ix-date-input::before{box-sizing:border-box}/*!@:host ::-webkit-scrollbar-button*/.sc-ix-date-input-h .sc-ix-date-input::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){.sc-ix-date-input-h *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}/*!@:host ::-webkit-scrollbar*/.sc-ix-date-input-h .sc-ix-date-input::-webkit-scrollbar{width:0.5rem;height:0.5rem}/*!@:host ::-webkit-scrollbar-track*/.sc-ix-date-input-h .sc-ix-date-input::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}/*!@:host ::-webkit-scrollbar-track:hover*/.sc-ix-date-input-h .sc-ix-date-input::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}/*!@:host ::-webkit-scrollbar-thumb*/.sc-ix-date-input-h .sc-ix-date-input::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}/*!@:host ::-webkit-scrollbar-thumb:hover*/.sc-ix-date-input-h .sc-ix-date-input::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}/*!@:host ::-webkit-scrollbar-corner*/.sc-ix-date-input-h .sc-ix-date-input::-webkit-scrollbar-corner{display:none}/*!@:host .input-wrapper*/.sc-ix-date-input-h .input-wrapper.sc-ix-date-input{display:flex;position:relative;align-items:center;width:100%;height:100%}/*!@:host input*/.sc-ix-date-input-h input.sc-ix-date-input{width:100%;height:100%}/*!@:host .start-container,\n:host .end-container*/.sc-ix-date-input-h .start-container.sc-ix-date-input,.sc-ix-date-input-h .end-container.sc-ix-date-input{display:flex;position:absolute;align-items:center;justify-content:center;z-index:1}/*!@:host .start-container*/.sc-ix-date-input-h .start-container.sc-ix-date-input{left:0}/*!@:host .end-container*/.sc-ix-date-input-h .end-container.sc-ix-date-input{right:0}/*!@:host .start-container ::slotted(*)*/.sc-ix-date-input-h .start-container .sc-ix-date-input-s>*{margin-left:0.5rem}/*!@:host .start-container ::slotted(ix-icon.size-24),\n:host .start-container ::slotted(ix-icon-button.btn-icon-16)*/.sc-ix-date-input-h .start-container .sc-ix-date-input-s>ix-icon.size-24,.sc-ix-date-input-h .start-container.sc-ix-date-input-s>ix-icon-button.btn-icon-16,.sc-ix-date-input-h .start-container .sc-ix-date-input-s>ix-icon-button.btn-icon-16{margin-left:0.25rem}/*!@:host .start-container ::slotted(ix-icon-button.btn-icon-32)*/.sc-ix-date-input-h .start-container .sc-ix-date-input-s>ix-icon-button.btn-icon-32{margin-left:0}/*!@:host .end-container ::slotted(*)*/.sc-ix-date-input-h .end-container .sc-ix-date-input-s>*{margin-right:0.5rem}/*!@:host .end-container ::slotted(ix-icon.size-24),\n:host .end-container ::slotted(ix-icon-button.btn-icon-16)*/.sc-ix-date-input-h .end-container .sc-ix-date-input-s>ix-icon.size-24,.sc-ix-date-input-h .end-container.sc-ix-date-input-s>ix-icon-button.btn-icon-16,.sc-ix-date-input-h .end-container .sc-ix-date-input-s>ix-icon-button.btn-icon-16{margin-right:0.25rem}/*!@:host .end-container ::slotted(ix-icon-button.btn-icon-32)*/.sc-ix-date-input-h .end-container .sc-ix-date-input-s>ix-icon-button.btn-icon-32{margin-right:0}/*!@:host .bottom-text*/.sc-ix-date-input-h .bottom-text.sc-ix-date-input{margin-top:0.25rem;margin-bottom:0.25rem}/*!@:host(.disabled)*/.disabled.sc-ix-date-input-h{pointer-events:none}/*!@:host(.disabled) input,\n:host(.disabled) textarea*/.disabled.sc-ix-date-input-h input.sc-ix-date-input,.disabled.sc-ix-date-input-h textarea.sc-ix-date-input{pointer-events:none}/*!@:host(.ix-info:not(.disabled):not(:disabled):not([disabled])) input*/.ix-info.sc-ix-date-input-h:not(.disabled):not(:disabled):not([disabled]) input.sc-ix-date-input{border-color:var(--theme-input--border-color--info)}/*!@:host(.ix-info:not(.disabled):not(:disabled):not([disabled])) input:hover*/.ix-info.sc-ix-date-input-h:not(.disabled):not(:disabled):not([disabled]) input.sc-ix-date-input:hover{border-color:var(--theme-input--border-color--info--hover) !important}/*!@:host(.ix-info:not(.disabled):not(:disabled):not([disabled])) input:active*/.ix-info.sc-ix-date-input-h:not(.disabled):not(:disabled):not([disabled]) input.sc-ix-date-input:active{border-color:var(--theme-input--border-color--info--active) !important}/*!@:host(.ix-warning:not(.disabled):not(:disabled):not([disabled])) input*/.ix-warning.sc-ix-date-input-h:not(.disabled):not(:disabled):not([disabled]) input.sc-ix-date-input{border-color:var(--theme-input--border-color--warning--active) !important}/*!@:host(.ix-warning:not(.disabled):not(:disabled):not([disabled])) input:hover*/.ix-warning.sc-ix-date-input-h:not(.disabled):not(:disabled):not([disabled]) input.sc-ix-date-input:hover{border-color:var(--theme-input--border-color--warning--active) !important}/*!@:host(.ix-warning:not(.disabled):not(:disabled):not([disabled])) input:active*/.ix-warning.sc-ix-date-input-h:not(.disabled):not(:disabled):not([disabled]) input.sc-ix-date-input:active{border-color:var(--theme-input--border-color--warning--active) !important}/*!@:host([class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled])) input,\n:host(.ix-invalid--required:not(.disabled):not(:disabled):not([disabled])) input*/[class*=ix-invalid].sc-ix-date-input-h:not(.disabled):not(:disabled):not([disabled]) input.sc-ix-date-input,.ix-invalid--required.sc-ix-date-input-h:not(.disabled):not(:disabled):not([disabled]) input.sc-ix-date-input{background-color:var(--theme-input--background--invalid);border-color:var(--theme-input--border-color--invalid) !important}/*!@:host([class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled])) input:hover,\n:host(.ix-invalid--required:not(.disabled):not(:disabled):not([disabled])) input:hover*/[class*=ix-invalid].sc-ix-date-input-h:not(.disabled):not(:disabled):not([disabled]) input.sc-ix-date-input:hover,.ix-invalid--required.sc-ix-date-input-h:not(.disabled):not(:disabled):not([disabled]) input.sc-ix-date-input:hover{border-color:var(--theme-input--border-color--invalid--hover) !important}/*!@:host([class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled])) input:active,\n:host(.ix-invalid--required:not(.disabled):not(:disabled):not([disabled])) input:active*/[class*=ix-invalid].sc-ix-date-input-h:not(.disabled):not(:disabled):not([disabled]) input.sc-ix-date-input:active,.ix-invalid--required.sc-ix-date-input-h:not(.disabled):not(:disabled):not([disabled]) input.sc-ix-date-input:active{border-color:var(--theme-input--border-color--invalid--active) !important}/*!@:host*/.sc-ix-date-input-h{display:inline-block;position:relative}/*!@:host *,\n:host *::after,\n:host *::before*/.sc-ix-date-input-h *.sc-ix-date-input,.sc-ix-date-input-h *.sc-ix-date-input::after,.sc-ix-date-input-h *.sc-ix-date-input::before{box-sizing:border-box}/*!@:host ::-webkit-scrollbar-button*/.sc-ix-date-input-h .sc-ix-date-input::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){.sc-ix-date-input-h *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}/*!@:host ::-webkit-scrollbar*/.sc-ix-date-input-h .sc-ix-date-input::-webkit-scrollbar{width:0.5rem;height:0.5rem}/*!@:host ::-webkit-scrollbar-track*/.sc-ix-date-input-h .sc-ix-date-input::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}/*!@:host ::-webkit-scrollbar-track:hover*/.sc-ix-date-input-h .sc-ix-date-input::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}/*!@:host ::-webkit-scrollbar-thumb*/.sc-ix-date-input-h .sc-ix-date-input::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}/*!@:host ::-webkit-scrollbar-thumb:hover*/.sc-ix-date-input-h .sc-ix-date-input::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}/*!@:host ::-webkit-scrollbar-corner*/.sc-ix-date-input-h .sc-ix-date-input::-webkit-scrollbar-corner{display:none}/*!@:host input*/.sc-ix-date-input-h input.sc-ix-date-input{width:100%;height:100%}/*!@:host .calendar-hidden*/.sc-ix-date-input-h .calendar-hidden.sc-ix-date-input{display:none}/*!@:host(.readonly) input*/.readonly.sc-ix-date-input-h input.sc-ix-date-input{pointer-events:none}";
|
|
15881
15881
|
var IxDateInputStyle0 = dateInputCss;
|
|
15882
15882
|
|
|
@@ -15901,6 +15901,8 @@ var __decorate$9 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
15901
15901
|
/**
|
|
15902
15902
|
* @since 2.6.0
|
|
15903
15903
|
* @form-ready 2.6.0
|
|
15904
|
+
* @slot start - Element will be displayed at the start of the input
|
|
15905
|
+
* @slot end - Element will be displayed at the end of the input
|
|
15904
15906
|
*/
|
|
15905
15907
|
class DateInput {
|
|
15906
15908
|
constructor(hostRef) {
|
|
@@ -16107,12 +16109,12 @@ class DateInput {
|
|
|
16107
16109
|
const invalidText = this.isInputInvalid
|
|
16108
16110
|
? this.i18nErrorDateUnparsable
|
|
16109
16111
|
: this.invalidText;
|
|
16110
|
-
return (hAsync(Host, { key: '
|
|
16112
|
+
return (hAsync(Host, { key: 'd05f1297b5282bca5b43401e5527a0ddee4a8a58', class: {
|
|
16111
16113
|
disabled: this.disabled,
|
|
16112
16114
|
readonly: this.readonly,
|
|
16113
|
-
} }, hAsync("ix-field-wrapper", { key: '
|
|
16115
|
+
} }, hAsync("ix-field-wrapper", { key: '2b910308be3df70b11eb8cbfb355b8c9c3accc0b', label: this.label, helperText: this.helperText, isInvalid: this.isInvalid, invalidText: invalidText, infoText: this.infoText, isInfo: this.isInfo, isWarning: this.isWarning, warningText: this.warningText, isValid: this.isValid, validText: this.validText, showTextAsTooltip: this.showTextAsTooltip, required: this.required, controlRef: this.inputElementRef }, this.renderInput()), hAsync("ix-dropdown", { key: '2665ff4fd4c5f257dd92b00a7b5dddd3fb1881b6', "data-testid": "date-dropdown", trigger: this.inputElementRef.waitForCurrent(), ref: this.dropdownElementRef, closeBehavior: "outside", suppressOverflowBehavior: true, show: this.show, onShowChanged: (event) => {
|
|
16114
16116
|
this.show = event.detail;
|
|
16115
|
-
} }, hAsync("ix-date-picker", { key: '
|
|
16117
|
+
} }, hAsync("ix-date-picker", { key: '211396b59afb9fd5037f4efee6b8e626a5dd3403', ref: this.datepickerRef, format: this.format, locale: this.locale, range: false, from: (_a = this.from) !== null && _a !== void 0 ? _a : '', onDateChange: (event) => {
|
|
16116
16118
|
const { from } = event.detail;
|
|
16117
16119
|
this.onInput(from);
|
|
16118
16120
|
} }))));
|
|
@@ -19641,7 +19643,7 @@ class DropdownHeader {
|
|
|
19641
19643
|
}; }
|
|
19642
19644
|
}
|
|
19643
19645
|
|
|
19644
|
-
const dropdownItemCss = "/*!@:host*/.sc-ix-dropdown-item-h{--ix-dropdown-item-checked-color:var(--theme-color-primary);display:flex;flex-direction:row;position:relative;height:2.5rem;width:auto;overflow:hidden;cursor:pointer}/*!@:host *,\n:host *::after,\n:host *::before*/.sc-ix-dropdown-item-h *.sc-ix-dropdown-item,.sc-ix-dropdown-item-h *.sc-ix-dropdown-item::after,.sc-ix-dropdown-item-h *.sc-ix-dropdown-item::before{box-sizing:border-box}/*!@:host ::-webkit-scrollbar-button*/.sc-ix-dropdown-item-h .sc-ix-dropdown-item::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){.sc-ix-dropdown-item-h *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}/*!@:host ::-webkit-scrollbar*/.sc-ix-dropdown-item-h .sc-ix-dropdown-item::-webkit-scrollbar{width:0.5rem;height:0.5rem}/*!@:host ::-webkit-scrollbar-track*/.sc-ix-dropdown-item-h .sc-ix-dropdown-item::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}/*!@:host ::-webkit-scrollbar-track:hover*/.sc-ix-dropdown-item-h .sc-ix-dropdown-item::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}/*!@:host ::-webkit-scrollbar-thumb*/.sc-ix-dropdown-item-h .sc-ix-dropdown-item::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}/*!@:host ::-webkit-scrollbar-thumb:hover*/.sc-ix-dropdown-item-h .sc-ix-dropdown-item::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}/*!@:host ::-webkit-scrollbar-corner*/.sc-ix-dropdown-item-h .sc-ix-dropdown-item::-webkit-scrollbar-corner{display:none}/*!@:host .dropdown-item*/.sc-ix-dropdown-item-h .dropdown-item.sc-ix-dropdown-item{all:unset;display:flex;flex-direction:row;align-items:center;position:relative;height:calc(100% - 2px);width:calc(100% - 0.5rem - 1.5rem);padding:0 0.5rem;padding-right:1.5rem;border:0.0625rem solid transparent;white-space:nowrap}/*!@:host .dropdown-item.no-checked-field*/.sc-ix-dropdown-item-h .dropdown-item.no-checked-field.sc-ix-dropdown-item{width:calc(100% - 1rem - 1.5rem);padding:0 1rem;padding-right:1.5rem}/*!@:host .dropdown-item:focus-visible*/.sc-ix-dropdown-item-h .dropdown-item.sc-ix-dropdown-item:focus-visible{border-color:var(--theme-color-focus-bdr)}/*!@:host .dropdown-item-checked*/.sc-ix-dropdown-item-h .dropdown-item-checked.sc-ix-dropdown-item{display:flex;align-items:center;justify-content:center;position:relative;height:100%;width:1rem;min-width:1rem;margin-right:0.5rem;color:var(--ix-dropdown-item-checked-color)}/*!@:host .dropdown-item-icon*/.sc-ix-dropdown-item-h .dropdown-item-icon.sc-ix-dropdown-item{margin-right:0.5rem;color:var(--theme-color-std-text)}/*!@:host .dropdown-item-text*/.sc-ix-dropdown-item-h .dropdown-item-text.sc-ix-dropdown-item{display:block;position:relative;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}/*!@:host .
|
|
19646
|
+
const dropdownItemCss = "/*!@:host*/.sc-ix-dropdown-item-h{--ix-dropdown-item-checked-color:var(--theme-color-primary);display:flex;flex-direction:row;position:relative;height:2.5rem;width:auto;overflow:hidden;cursor:pointer}/*!@:host *,\n:host *::after,\n:host *::before*/.sc-ix-dropdown-item-h *.sc-ix-dropdown-item,.sc-ix-dropdown-item-h *.sc-ix-dropdown-item::after,.sc-ix-dropdown-item-h *.sc-ix-dropdown-item::before{box-sizing:border-box}/*!@:host ::-webkit-scrollbar-button*/.sc-ix-dropdown-item-h .sc-ix-dropdown-item::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){.sc-ix-dropdown-item-h *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}/*!@:host ::-webkit-scrollbar*/.sc-ix-dropdown-item-h .sc-ix-dropdown-item::-webkit-scrollbar{width:0.5rem;height:0.5rem}/*!@:host ::-webkit-scrollbar-track*/.sc-ix-dropdown-item-h .sc-ix-dropdown-item::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}/*!@:host ::-webkit-scrollbar-track:hover*/.sc-ix-dropdown-item-h .sc-ix-dropdown-item::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}/*!@:host ::-webkit-scrollbar-thumb*/.sc-ix-dropdown-item-h .sc-ix-dropdown-item::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}/*!@:host ::-webkit-scrollbar-thumb:hover*/.sc-ix-dropdown-item-h .sc-ix-dropdown-item::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}/*!@:host ::-webkit-scrollbar-corner*/.sc-ix-dropdown-item-h .sc-ix-dropdown-item::-webkit-scrollbar-corner{display:none}/*!@:host .dropdown-item*/.sc-ix-dropdown-item-h .dropdown-item.sc-ix-dropdown-item{all:unset;display:flex;flex-direction:row;align-items:center;position:relative;height:calc(100% - 2px);width:calc(100% - 0.5rem - 1.5rem);padding:0 0.5rem;padding-right:1.5rem;border:0.0625rem solid transparent;white-space:nowrap}/*!@:host .dropdown-item.no-checked-field*/.sc-ix-dropdown-item-h .dropdown-item.no-checked-field.sc-ix-dropdown-item{width:calc(100% - 1rem - 1.5rem);padding:0 1rem;padding-right:1.5rem}/*!@:host .dropdown-item:focus-visible*/.sc-ix-dropdown-item-h .dropdown-item.sc-ix-dropdown-item:focus-visible{border-color:var(--theme-color-focus-bdr)}/*!@:host .dropdown-item-checked*/.sc-ix-dropdown-item-h .dropdown-item-checked.sc-ix-dropdown-item{display:flex;align-items:center;justify-content:center;position:relative;height:100%;width:1rem;min-width:1rem;margin-right:0.5rem;color:var(--ix-dropdown-item-checked-color)}/*!@:host .dropdown-item-icon*/.sc-ix-dropdown-item-h .dropdown-item-icon.sc-ix-dropdown-item{margin-right:0.5rem;color:var(--theme-color-std-text)}/*!@:host .dropdown-item-text*/.sc-ix-dropdown-item-h .dropdown-item-text.sc-ix-dropdown-item{display:block;position:relative;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}/*!@:host .submenu-icon*/.sc-ix-dropdown-item-h .submenu-icon.sc-ix-dropdown-item{margin-left:auto}/*!@:host(.icon-only) .dropdown-item-icon*/.icon-only.sc-ix-dropdown-item-h .dropdown-item-icon.sc-ix-dropdown-item{margin-right:0px}/*!@:host(.icon-only) .dropdown-item-checked*/.icon-only.sc-ix-dropdown-item-h .dropdown-item-checked.sc-ix-dropdown-item{display:none}/*!@:host(.icon-only) .dropdown-item*/.icon-only.sc-ix-dropdown-item-h .dropdown-item.sc-ix-dropdown-item{width:calc(100% - 0.5rem - 0.5rem);padding:0 0.5rem;padding-right:0.5rem}/*!@:host(.submenu) .dropdown-item*/.submenu.sc-ix-dropdown-item-h .dropdown-item.sc-ix-dropdown-item{width:calc(100% - 0.5rem - 0.5rem);padding:0 0.5rem;padding-right:0.5rem}/*!@:host(:not(.disabled):not(:disabled).hover),\n:host(:not(.disabled):not(:disabled):hover)*/.sc-ix-dropdown-item-h:not(.disabled):not(:disabled).hover,.sc-ix-dropdown-item-h:not(.disabled):not(:disabled):hover{background-color:var(--theme-ghost--background--hover)}/*!@:host(:not(.disabled):not(:disabled).active),\n:host(:not(.disabled):not(:disabled):active)*/.sc-ix-dropdown-item-h:not(.disabled):not(:disabled).active,.sc-ix-dropdown-item-h:not(.disabled):not(:disabled):active{background-color:var(--theme-ghost--background--active)}/*!@:host(.disabled)*/.disabled.sc-ix-dropdown-item-h{pointer-events:none;color:var(--theme-color-weak-text) !important}/*!@:host(.disabled) .dropdown-item-icon*/.disabled.sc-ix-dropdown-item-h .dropdown-item-icon.sc-ix-dropdown-item{color:var(--theme-color-weak-text) !important}";
|
|
19645
19647
|
var IxDropdownItemStyle0 = dropdownItemCss;
|
|
19646
19648
|
|
|
19647
19649
|
class DropdownItem {
|
|
@@ -20108,9 +20110,9 @@ class FieldWrapper {
|
|
|
20108
20110
|
infoText: this.infoText,
|
|
20109
20111
|
helperText: this.helperText,
|
|
20110
20112
|
};
|
|
20111
|
-
return (hAsync(Host, { key: '
|
|
20113
|
+
return (hAsync(Host, { key: 'cca8bb819e4c2e02176ef9edc0d2456b3b3cbb5c' }, this.label && (hAsync("div", { key: '3e9aa899b1e7257cabfd9e9c36823598d798c2b2', class: "field-top" }, hAsync("ix-field-label", { key: '425ee0329aa0f27abebe81995f4843cd734c1a6a', required: this.required, htmlFor: this.htmlForLabel, controlRef: this.controlRef, isInvalid: this.isInvalid }, this.label))), hAsync("div", { key: '3fe4cedebd10b2c3fb9abf47223049e12a666010', class: {
|
|
20112
20114
|
'slot-wrapper': true,
|
|
20113
|
-
}, ref: this.slotRef }, hAsync("slot", { key: '
|
|
20115
|
+
}, ref: this.slotRef }, hAsync("slot", { key: '206122b8896175febbb37f4c3c54a8e3555a46d5' })), hAsync("div", { key: 'f238391284d847e62e76eb78e1f85863f60092a5', class: 'field-bottom' }, !this.showTextAsTooltip && renderHelperText(textOptions), hAsync("div", { key: '55d56938344a710759252156997d528486b67e14', class: "bottom-right" }, hAsync("slot", { key: 'bbc9255ddc0e95a6896a8d5ff0cd5f7146c434bf', name: "bottom-right" }))), this.showTextAsTooltip === true && hasAnyText(textOptions) && (hAsync("ix-tooltip", { key: 'e50287d266f19646efe1b56a56ef9a5b11bd7fed', for: this.slotRef.waitForCurrent(), showDelay: 500, placement: "bottom" }, renderHelperText(textOptions)))));
|
|
20114
20116
|
}
|
|
20115
20117
|
get hostElement() { return getElement(this); }
|
|
20116
20118
|
static get style() { return IxFieldWrapperStyle0; }
|
|
@@ -20416,7 +20418,7 @@ class FormFieldLabel {
|
|
|
20416
20418
|
}
|
|
20417
20419
|
}
|
|
20418
20420
|
render() {
|
|
20419
|
-
return (hAsync(Host, { key: '
|
|
20421
|
+
return (hAsync(Host, { key: 'bef5f15183b60646f3092ef0c9d8ca1172a4d149', onClick: () => this.focusOnClick() }, hAsync("label", Object.assign({ key: '1203a82e14cca571098ce7dacd2ce71d7bd674fd', htmlFor: this.htmlFor }, this.a11yAttributes, { ref: this.labelRef }), hAsync("ix-typography", { key: '9e6b76080bc45ca0f46667e4c6610002f64ae884', color: this.isInvalid ? 'alarm' : 'soft', format: "label" }, hAsync("slot", { key: 'a80749a45eb26b4655b9b0c13855980d2ef35323' }), this.required && hAsync("span", { key: '54f33771b6cace5a63dd82b9813f8fbb6425536e' }, "\u00A0*")))));
|
|
20420
20422
|
}
|
|
20421
20423
|
get hostElement() { return getElement(this); }
|
|
20422
20424
|
static get watchers() { return {
|
|
@@ -20997,6 +20999,8 @@ let inputIds = 0;
|
|
|
20997
20999
|
/**
|
|
20998
21000
|
* @since 2.6.0
|
|
20999
21001
|
* @form-ready 2.6.0
|
|
21002
|
+
* @slot start - Element will be displayed at the start of the input
|
|
21003
|
+
* @slot end - Element will be displayed at the end of the input
|
|
21000
21004
|
*/
|
|
21001
21005
|
class Input {
|
|
21002
21006
|
constructor(hostRef) {
|
|
@@ -21083,10 +21087,10 @@ class Input {
|
|
|
21083
21087
|
render() {
|
|
21084
21088
|
var _a;
|
|
21085
21089
|
const inputAria = getAriaAttributesForInput(this);
|
|
21086
|
-
return (hAsync(Host, { key: '
|
|
21090
|
+
return (hAsync(Host, { key: 'f625dc7d2ed058f53940ccda73db408a3d7017a5', class: {
|
|
21087
21091
|
disabled: this.disabled,
|
|
21088
21092
|
readonly: this.readonly,
|
|
21089
|
-
} }, hAsync("ix-field-wrapper", { key: '
|
|
21093
|
+
} }, hAsync("ix-field-wrapper", { key: 'c018215d637253e021247473c35701ff94d3f028', htmlForLabel: this.inputId, required: this.required, label: this.label, helperText: this.helperText, invalidText: this.invalidText, infoText: this.infoText, warningText: this.warningText, validText: this.validText, showTextAsTooltip: this.showTextAsTooltip, isInvalid: this.isInvalid, isValid: this.isValid, isInfo: this.isInfo, isWarning: this.isWarning, controlRef: this.inputRef }, hAsync("div", { key: 'cc9ee3d23a14d0e10351f294fae72aeec82fbf64', class: "input-wrapper" }, hAsync(SlotStart, { key: 'f32e50c55492dc1423b91f05209c1e9914b50f28', slotStartRef: this.slotStartRef, onSlotChange: () => this.updatePaddings() }), hAsync(InputElement, { key: 'ca17d2fee580dbe2e8d176018d0e55565bef5f33', id: this.inputId, readonly: this.readonly, disabled: this.disabled, maxLength: this.maxLength, minLength: this.minLength, pattern: this.pattern, type: this.inputType, isInvalid: this.isInvalid, required: this.required, value: this.value, placeholder: this.placeholder, inputRef: this.inputRef, onKeyPress: (event) => checkAllowedKeys(this, event), valueChange: (value) => this.valueChange.emit(value), updateFormInternalValue: (value) => this.updateFormInternalValue(value), onBlur: () => onInputBlur(this, this.inputRef.current), ariaAttributes: inputAria }), hAsync(SlotEnd, { key: '5664747770d85defa36d460b4aa3e497a802bca2', slotEndRef: this.slotEndRef, onSlotChange: () => this.updatePaddings() }, hAsync("ix-icon-button", { key: 'f680b65ba0355746be49646d25a2074cc4a9caac', color: "color-weak-text", class: {
|
|
21090
21094
|
'password-eye': true,
|
|
21091
21095
|
'eye-hidden': this.type !== 'password',
|
|
21092
21096
|
}, ghost: true, icon: this.inputType === 'password' ? iconEye : iconEyeCancelled, onClick: () => {
|
|
@@ -21095,7 +21099,7 @@ class Input {
|
|
|
21095
21099
|
return;
|
|
21096
21100
|
}
|
|
21097
21101
|
this.inputType = 'password';
|
|
21098
|
-
} }))), !!this.maxLength && this.maxLength > 0 && (hAsync("ix-typography", { key: '
|
|
21102
|
+
} }))), !!this.maxLength && this.maxLength > 0 && (hAsync("ix-typography", { key: 'baa09803b87cd3efce3cce29cb735b5d0a290832', class: "bottom-text", slot: "bottom-right", color: "soft" }, (_a = this.value) === null || _a === void 0 ? void 0 :
|
|
21099
21103
|
_a.length, "/", this.maxLength)))));
|
|
21100
21104
|
}
|
|
21101
21105
|
static get formAssociated() { return true; }
|
|
@@ -23550,6 +23554,8 @@ let numberInputIds = 0;
|
|
|
23550
23554
|
/**
|
|
23551
23555
|
* @since 2.6.0
|
|
23552
23556
|
* @form-ready 2.6.0
|
|
23557
|
+
* @slot start - Element will be displayed at the start of the input
|
|
23558
|
+
* @slot end - Element will be displayed at the end of the input
|
|
23553
23559
|
*/
|
|
23554
23560
|
class NumberInput {
|
|
23555
23561
|
constructor(hostRef) {
|
|
@@ -23630,16 +23636,16 @@ class NumberInput {
|
|
|
23630
23636
|
}
|
|
23631
23637
|
render() {
|
|
23632
23638
|
const showStepperButtons = this.showStepperButtons && (this.disabled || this.readonly) === false;
|
|
23633
|
-
return (hAsync(Host, { key: '
|
|
23639
|
+
return (hAsync(Host, { key: 'd44d46cba0a85db489b707e79978d7835cd7f6db', class: {
|
|
23634
23640
|
disabled: this.disabled,
|
|
23635
23641
|
readonly: this.readonly,
|
|
23636
|
-
} }, hAsync("ix-field-wrapper", { key: '
|
|
23642
|
+
} }, hAsync("ix-field-wrapper", { key: '258921ecc2d462c97026ba1b0bfc783c277cef41', id: this.numberInputId, required: this.required, label: this.label, helperText: this.helperText, invalidText: this.invalidText, infoText: this.infoText, warningText: this.warningText, validText: this.validText, showTextAsTooltip: this.showTextAsTooltip, isInvalid: this.isInvalid, isValid: this.isValid, isInfo: this.isInfo, isWarning: this.isWarning, controlRef: this.inputRef }, hAsync("div", { key: '88f56233a0fff77353f8e5710e7503e61877a391', class: {
|
|
23637
23643
|
'input-wrapper': true,
|
|
23638
23644
|
'show-stepper-buttons': !!this.showStepperButtons,
|
|
23639
|
-
} }, hAsync(SlotStart, { key: '
|
|
23645
|
+
} }, hAsync(SlotStart, { key: 'c74d37bb1153f84bd326b4c84308d0ef87c2af53', slotStartRef: this.slotStartRef, onSlotChange: () => this.updatePaddings() }), hAsync(InputElement, { key: 'e538819db34d4e7b3a345f992f79cd7d528b3fae', id: this.numberInputId, readonly: this.readonly, disabled: this.disabled, min: this.min, max: this.max, pattern: this.pattern, type: 'number', isInvalid: this.isInvalid, required: this.required, value: this.value, placeholder: this.placeholder, inputRef: this.inputRef, onKeyPress: (event) => checkAllowedKeys(this, event), valueChange: (value) => this.valueChange.emit(Number(value)), updateFormInternalValue: (value) => this.updateFormInternalValue(Number(value)), onBlur: () => onInputBlur(this, this.inputRef.current) }), hAsync(SlotEnd, { key: '91bff359e6340bace9a9669da1ee056da40bb977', slotEndRef: this.slotEndRef, onSlotChange: () => this.updatePaddings() }, hAsync("div", { key: '9f002e7ccfb5f77e76d4e1179af333ca20f99cd2', class: {
|
|
23640
23646
|
'number-stepper-container': true,
|
|
23641
23647
|
'container-hidden': !showStepperButtons,
|
|
23642
|
-
} }, hAsync("ix-icon-button", { key: '
|
|
23648
|
+
} }, hAsync("ix-icon-button", { key: '6fa92f4a99603300ba0815bbab96f5c3c01f35b6', ghost: true, icon: iconMinus, size: "16", class: "number-stepper-button step-minus", onClick: () => {
|
|
23643
23649
|
if (!this.inputRef.current) {
|
|
23644
23650
|
return;
|
|
23645
23651
|
}
|
|
@@ -23647,7 +23653,7 @@ class NumberInput {
|
|
|
23647
23653
|
checkInternalValidity(this, this.inputRef.current);
|
|
23648
23654
|
this.updateFormInternalValue(Number(this.inputRef.current.value));
|
|
23649
23655
|
this.valueChange.emit(this.value);
|
|
23650
|
-
} }), hAsync("ix-icon-button", { key: '
|
|
23656
|
+
} }), hAsync("ix-icon-button", { key: '514c2c7164156b86b09a6aa2c999e00128e4527e', ghost: true, icon: iconPlus, size: "16", class: "number-stepper-button step-plus", onClick: () => {
|
|
23651
23657
|
if (!this.inputRef.current) {
|
|
23652
23658
|
return;
|
|
23653
23659
|
}
|
|
@@ -25041,7 +25047,8 @@ class Select {
|
|
|
25041
25047
|
hostRef.$hostElement$["s-ei"] = this.formInternals;
|
|
25042
25048
|
}
|
|
25043
25049
|
this.dropdownWrapperRef = makeRef();
|
|
25044
|
-
this.
|
|
25050
|
+
this.dropdownAnchorRef = makeRef();
|
|
25051
|
+
this.inputRef = makeRef();
|
|
25045
25052
|
this.itemObserver = createMutationObserver(() => {
|
|
25046
25053
|
if (!this.arrowFocusController) {
|
|
25047
25054
|
return;
|
|
@@ -25123,10 +25130,10 @@ class Select {
|
|
|
25123
25130
|
this.updateSelection();
|
|
25124
25131
|
}
|
|
25125
25132
|
watchDropdownShow(show) {
|
|
25126
|
-
if (show) {
|
|
25127
|
-
this.arrowFocusController = new ArrowFocusController(this.visibleNonShadowItems, this.
|
|
25133
|
+
if (show && this.dropdownElement) {
|
|
25134
|
+
this.arrowFocusController = new ArrowFocusController(this.visibleNonShadowItems, this.dropdownElement, this.focusControllerCallbackBind);
|
|
25128
25135
|
this.arrowFocusController.wrap = !this.editable;
|
|
25129
|
-
this.itemObserver.observe(this.
|
|
25136
|
+
this.itemObserver.observe(this.dropdownElement, {
|
|
25130
25137
|
childList: true,
|
|
25131
25138
|
subtree: true,
|
|
25132
25139
|
});
|
|
@@ -25164,7 +25171,7 @@ class Select {
|
|
|
25164
25171
|
}
|
|
25165
25172
|
focusDropdownItem(index) {
|
|
25166
25173
|
var _a, _b;
|
|
25167
|
-
this.navigationItem =
|
|
25174
|
+
this.navigationItem = undefined;
|
|
25168
25175
|
if (index < this.visibleNonShadowItems.length) {
|
|
25169
25176
|
const nestedDropdownItem = (_b = (_a = this.visibleNonShadowItems[index]) === null || _a === void 0 ? void 0 : _a.shadowRoot) === null || _b === void 0 ? void 0 : _b.querySelector('ix-dropdown-item');
|
|
25170
25177
|
if (!nestedDropdownItem) {
|
|
@@ -25188,6 +25195,7 @@ class Select {
|
|
|
25188
25195
|
this.updateSelection();
|
|
25189
25196
|
}
|
|
25190
25197
|
emitAddItem(value) {
|
|
25198
|
+
var _a;
|
|
25191
25199
|
if (value === undefined || value.trim() === '') {
|
|
25192
25200
|
return false;
|
|
25193
25201
|
}
|
|
@@ -25198,7 +25206,7 @@ class Select {
|
|
|
25198
25206
|
const newItem = document.createElement('ix-select-item');
|
|
25199
25207
|
newItem.value = value;
|
|
25200
25208
|
newItem.label = value;
|
|
25201
|
-
this.
|
|
25209
|
+
(_a = this.customItemsContainerElement) === null || _a === void 0 ? void 0 : _a.appendChild(newItem);
|
|
25202
25210
|
this.clearInput();
|
|
25203
25211
|
this.itemClick(value);
|
|
25204
25212
|
return false;
|
|
@@ -25222,7 +25230,7 @@ class Select {
|
|
|
25222
25230
|
}
|
|
25223
25231
|
}
|
|
25224
25232
|
updateSelection() {
|
|
25225
|
-
var _a;
|
|
25233
|
+
var _a, _b;
|
|
25226
25234
|
let ids = [];
|
|
25227
25235
|
if (this.value) {
|
|
25228
25236
|
ids = Array.isArray(this.value) ? [...this.value] : [this.value];
|
|
@@ -25239,12 +25247,12 @@ class Select {
|
|
|
25239
25247
|
});
|
|
25240
25248
|
this.selectedLabels = this.selectedItems.map((item) => item.label);
|
|
25241
25249
|
if (((_a = this.selectedLabels) === null || _a === void 0 ? void 0 : _a.length) && this.isSingleMode) {
|
|
25242
|
-
this.inputValue = this.selectedLabels[0];
|
|
25250
|
+
this.inputValue = (_b = this.selectedLabels[0]) !== null && _b !== void 0 ? _b : '';
|
|
25243
25251
|
}
|
|
25244
25252
|
else {
|
|
25245
25253
|
this.inputValue = '';
|
|
25246
25254
|
}
|
|
25247
|
-
this.
|
|
25255
|
+
this.inputElement && (this.inputElement.value = this.inputValue);
|
|
25248
25256
|
}
|
|
25249
25257
|
emitValueChange(value) {
|
|
25250
25258
|
const { defaultPrevented } = this.valueChange.emit(value);
|
|
@@ -25252,7 +25260,7 @@ class Select {
|
|
|
25252
25260
|
return true;
|
|
25253
25261
|
}
|
|
25254
25262
|
if (!value) {
|
|
25255
|
-
this.itemSelectionChange.emit(
|
|
25263
|
+
this.itemSelectionChange.emit([]);
|
|
25256
25264
|
}
|
|
25257
25265
|
else {
|
|
25258
25266
|
this.itemSelectionChange.emit(Array.isArray(value) ? value : [value]);
|
|
@@ -25262,10 +25270,10 @@ class Select {
|
|
|
25262
25270
|
}
|
|
25263
25271
|
componentDidLoad() {
|
|
25264
25272
|
var _a;
|
|
25265
|
-
(_a = this.
|
|
25273
|
+
(_a = this.inputElement) === null || _a === void 0 ? void 0 : _a.addEventListener('input', () => {
|
|
25266
25274
|
var _a;
|
|
25267
25275
|
this.dropdownShow = true;
|
|
25268
|
-
this.inputChange.emit((_a = this.
|
|
25276
|
+
this.inputChange.emit((_a = this.inputElement) === null || _a === void 0 ? void 0 : _a.value);
|
|
25269
25277
|
});
|
|
25270
25278
|
}
|
|
25271
25279
|
componentWillLoad() {
|
|
@@ -25290,13 +25298,13 @@ class Select {
|
|
|
25290
25298
|
var _a, _b;
|
|
25291
25299
|
this.dropdownShow = event.detail;
|
|
25292
25300
|
if (event.detail) {
|
|
25293
|
-
(_a = this.
|
|
25294
|
-
(_b = this.
|
|
25301
|
+
(_a = this.inputElement) === null || _a === void 0 ? void 0 : _a.focus();
|
|
25302
|
+
(_b = this.inputElement) === null || _b === void 0 ? void 0 : _b.select();
|
|
25295
25303
|
this.removeHiddenFromItems();
|
|
25296
25304
|
this.isDropdownEmpty = this.isEveryDropdownItemHidden;
|
|
25297
25305
|
}
|
|
25298
25306
|
else {
|
|
25299
|
-
this.navigationItem =
|
|
25307
|
+
this.navigationItem = undefined;
|
|
25300
25308
|
this.updateSelection();
|
|
25301
25309
|
this.inputFilterText = '';
|
|
25302
25310
|
}
|
|
@@ -25319,19 +25327,21 @@ class Select {
|
|
|
25319
25327
|
if (this.isMultipleMode) {
|
|
25320
25328
|
return;
|
|
25321
25329
|
}
|
|
25322
|
-
|
|
25323
|
-
|
|
25324
|
-
|
|
25325
|
-
|
|
25326
|
-
|
|
25327
|
-
|
|
25328
|
-
|
|
25330
|
+
const trimmedInput = this.inputFilterText.trim();
|
|
25331
|
+
const itemLabel = el === null || el === void 0 ? void 0 : el.label;
|
|
25332
|
+
if (this.editable &&
|
|
25333
|
+
!this.itemExists(trimmedInput) &&
|
|
25334
|
+
!this.itemExists(itemLabel)) {
|
|
25335
|
+
const defaultPrevented = this.emitAddItem(trimmedInput);
|
|
25336
|
+
if (defaultPrevented) {
|
|
25337
|
+
return;
|
|
25329
25338
|
}
|
|
25330
25339
|
}
|
|
25331
25340
|
this.dropdownShow = false;
|
|
25332
25341
|
this.updateSelection();
|
|
25333
25342
|
}
|
|
25334
25343
|
async onArrowNavigation(event, key) {
|
|
25344
|
+
var _a;
|
|
25335
25345
|
if (event.defaultPrevented) {
|
|
25336
25346
|
return;
|
|
25337
25347
|
}
|
|
@@ -25375,14 +25385,12 @@ class Select {
|
|
|
25375
25385
|
return;
|
|
25376
25386
|
}
|
|
25377
25387
|
if (this.isAddItemVisible() &&
|
|
25378
|
-
this.
|
|
25388
|
+
((_a = this.addItemElement) === null || _a === void 0 ? void 0 : _a.contains(await this.navigationItem.getDropdownItemElement()))) {
|
|
25379
25389
|
if (moveUp) {
|
|
25380
25390
|
this.applyFocusTo(this.visibleItems.pop());
|
|
25381
25391
|
}
|
|
25382
|
-
else {
|
|
25383
|
-
|
|
25384
|
-
this.applyFocusTo(this.visibleItems.shift());
|
|
25385
|
-
}
|
|
25392
|
+
else if (this.visibleItems.length) {
|
|
25393
|
+
this.applyFocusTo(this.visibleItems.shift());
|
|
25386
25394
|
}
|
|
25387
25395
|
return;
|
|
25388
25396
|
}
|
|
@@ -25429,19 +25437,20 @@ class Select {
|
|
|
25429
25437
|
var _a, _b;
|
|
25430
25438
|
if (this.addItemButton) {
|
|
25431
25439
|
(_b = (_a = this.addItemButton.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('button')) === null || _b === void 0 ? void 0 : _b.focus();
|
|
25432
|
-
this.navigationItem = this.
|
|
25440
|
+
this.navigationItem = this.addItemElement;
|
|
25433
25441
|
}
|
|
25434
25442
|
}
|
|
25435
25443
|
filterItemsWithTypeahead() {
|
|
25436
|
-
var _a;
|
|
25437
|
-
this.inputFilterText = ((_a = this.
|
|
25444
|
+
var _a, _b;
|
|
25445
|
+
this.inputFilterText = (_b = (_a = this.inputElement) === null || _a === void 0 ? void 0 : _a.value) !== null && _b !== void 0 ? _b : '';
|
|
25438
25446
|
if (this.isSingleMode && this.inputFilterText === this.selectedLabels[0]) {
|
|
25439
25447
|
return;
|
|
25440
25448
|
}
|
|
25441
25449
|
if (this.inputFilterText) {
|
|
25442
25450
|
this.items.forEach((item) => {
|
|
25451
|
+
var _a;
|
|
25443
25452
|
item.classList.remove('d-none');
|
|
25444
|
-
if (!item.label.toLowerCase().includes(this.inputFilterText.toLowerCase())) {
|
|
25453
|
+
if (!((_a = item.label) === null || _a === void 0 ? void 0 : _a.toLowerCase().includes(this.inputFilterText.toLowerCase()))) {
|
|
25445
25454
|
item.classList.add('d-none');
|
|
25446
25455
|
}
|
|
25447
25456
|
});
|
|
@@ -25460,8 +25469,8 @@ class Select {
|
|
|
25460
25469
|
});
|
|
25461
25470
|
}
|
|
25462
25471
|
clearInput() {
|
|
25463
|
-
if (this.
|
|
25464
|
-
this.
|
|
25472
|
+
if (this.inputElement) {
|
|
25473
|
+
this.inputElement.value = '';
|
|
25465
25474
|
}
|
|
25466
25475
|
this.inputFilterText = '';
|
|
25467
25476
|
}
|
|
@@ -25516,37 +25525,50 @@ class Select {
|
|
|
25516
25525
|
* Returns the native input element used in the component.
|
|
25517
25526
|
*/
|
|
25518
25527
|
getNativeInputElement() {
|
|
25519
|
-
|
|
25528
|
+
if (this.inputElement) {
|
|
25529
|
+
return Promise.resolve(this.inputElement);
|
|
25530
|
+
}
|
|
25531
|
+
else {
|
|
25532
|
+
return Promise.reject(new Error('Input element not found'));
|
|
25533
|
+
}
|
|
25520
25534
|
}
|
|
25521
25535
|
/**
|
|
25522
25536
|
* Focuses the input field
|
|
25523
25537
|
*/
|
|
25524
25538
|
async focusInput() {
|
|
25525
|
-
|
|
25539
|
+
const inputElement = await this.getNativeInputElement();
|
|
25540
|
+
if (inputElement) {
|
|
25541
|
+
inputElement.focus();
|
|
25542
|
+
}
|
|
25526
25543
|
}
|
|
25527
25544
|
render() {
|
|
25528
25545
|
var _a, _b, _c, _d;
|
|
25529
|
-
return (hAsync(Host, { key: '
|
|
25546
|
+
return (hAsync(Host, { key: 'e303aff09c9bfc570154e79b6276c609ed12c531', "aria-disabled": a11yBoolean(this.disabled), class: {
|
|
25530
25547
|
disabled: this.disabled,
|
|
25531
|
-
} }, hAsync("ix-field-wrapper", { key: '
|
|
25548
|
+
} }, hAsync("ix-field-wrapper", { key: '257e201bdca4c09533c569dfe1d53efd46ef9efe', required: this.required, label: this.label, helperText: this.helperText, invalidText: this.invalidText, infoText: this.infoText, warningText: this.warningText, validText: this.validText, showTextAsTooltip: this.showTextAsTooltip, isInvalid: this.isInvalid, isValid: this.isValid, isInfo: this.isInfo, isWarning: this.isWarning, controlRef: this.inputRef }, hAsync("div", { key: 'a94e63733189753312269744dfc48178e4a38e6e', class: {
|
|
25532
25549
|
select: true,
|
|
25533
25550
|
disabled: this.disabled,
|
|
25534
25551
|
readonly: this.readonly,
|
|
25535
25552
|
}, ref: (ref) => {
|
|
25536
|
-
this.
|
|
25553
|
+
this.dropdownAnchorRef(ref);
|
|
25537
25554
|
if (!this.editable)
|
|
25538
25555
|
this.dropdownWrapperRef(ref);
|
|
25539
|
-
} }, hAsync("div", { key: '
|
|
25556
|
+
} }, hAsync("div", { key: '86746135a307b00ca720636200f2f8b06d148605', class: "input-container" }, hAsync("div", { key: 'da77d6ccc888fd2f8e171b33414741c24014563c', class: "chips" }, this.isMultipleMode
|
|
25540
25557
|
? (_a = this.selectedItems) === null || _a === void 0 ? void 0 : _a.map((item) => (hAsync("ix-filter-chip", { disabled: this.disabled || this.readonly, key: item.value, onCloseClick: (e) => {
|
|
25541
25558
|
e.preventDefault();
|
|
25542
25559
|
e.stopPropagation();
|
|
25543
25560
|
this.itemClick(item.value);
|
|
25544
25561
|
} }, item.label)))
|
|
25545
|
-
: '', hAsync("div", { key: '
|
|
25562
|
+
: '', hAsync("div", { key: '49c977ee154d514bb1066b781eacaea57d5ca49e', class: "trigger" }, hAsync("input", { key: '431842c51aceb1b187032aab9d690e84853f71ae', autocomplete: "off", "data-testid": "input", disabled: this.disabled, readOnly: this.readonly, required: this.required, type: "text", class: {
|
|
25546
25563
|
'allow-clear': this.allowClear && !!((_b = this.selectedLabels) === null || _b === void 0 ? void 0 : _b.length),
|
|
25547
|
-
}, placeholder: this.placeholderValue(), value: (_c = this.inputValue) !== null && _c !== void 0 ? _c : '', ref: (ref) =>
|
|
25548
|
-
this.
|
|
25564
|
+
}, placeholder: this.placeholderValue(), value: (_c = this.inputValue) !== null && _c !== void 0 ? _c : '', ref: (ref) => {
|
|
25565
|
+
this.inputElement = ref;
|
|
25566
|
+
this.inputRef(ref);
|
|
25567
|
+
}, onBlur: (e) => this.onInputBlur(e), onFocus: () => {
|
|
25568
|
+
this.navigationItem = undefined;
|
|
25549
25569
|
}, onInput: () => this.filterItemsWithTypeahead(), onKeyDown: (e) => this.onKeyDown(e) }), this.allowClear &&
|
|
25570
|
+
!this.disabled &&
|
|
25571
|
+
!this.readonly &&
|
|
25550
25572
|
(((_d = this.selectedLabels) === null || _d === void 0 ? void 0 : _d.length) || this.inputFilterText) ? (hAsync("ix-icon-button", { class: "clear", icon: 'clear', ghost: true, oval: true, size: "16", onClick: (e) => {
|
|
25551
25573
|
e.preventDefault();
|
|
25552
25574
|
e.stopPropagation();
|
|
@@ -25554,27 +25576,27 @@ class Select {
|
|
|
25554
25576
|
} })) : null, this.disabled || this.readonly ? null : (hAsync("ix-icon-button", { "data-select-dropdown": true, class: { 'dropdown-visible': this.dropdownShow }, icon: "chevron-down-small", ghost: true, ref: (ref) => {
|
|
25555
25577
|
if (this.editable)
|
|
25556
25578
|
this.dropdownWrapperRef(ref);
|
|
25557
|
-
} }))))))), hAsync("ix-dropdown", { key: '
|
|
25579
|
+
} }))))))), hAsync("ix-dropdown", { key: '8d4ee01533ee9843a836a9b4c986ab5db0be4db9', ref: (ref) => (this.dropdownElement = ref), show: this.dropdownShow, closeBehavior: this.isMultipleMode ? 'outside' : 'both', class: {
|
|
25558
25580
|
'd-none': this.disabled || this.readonly,
|
|
25559
|
-
}, anchor: this.
|
|
25581
|
+
}, anchor: this.dropdownAnchorRef.waitForCurrent(), trigger: this.dropdownWrapperRef.waitForCurrent(), onShowChanged: (e) => this.dropdownVisibilityChanged(e), placement: "bottom-start", overwriteDropdownStyle: async () => {
|
|
25560
25582
|
var _a, _b;
|
|
25561
25583
|
const minWidth = (_b = (_a = this.hostElement.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('.select')) === null || _b === void 0 ? void 0 : _b.getBoundingClientRect().width;
|
|
25562
25584
|
return {
|
|
25563
25585
|
minWidth: `${minWidth}px`,
|
|
25564
25586
|
};
|
|
25565
|
-
} }, hAsync("div", { key: '
|
|
25587
|
+
} }, hAsync("div", { key: '3897bfc9748d7044d038c413f046ba693ac7f03d', class: {
|
|
25566
25588
|
'select-list-header': true,
|
|
25567
25589
|
hidden: this.hideListHeader || this.isDropdownEmpty,
|
|
25568
|
-
}, title: this.i18nSelectListHeader, onClick: (e) => e.preventDefault() }, this.i18nSelectListHeader), hAsync("slot", { key: '
|
|
25590
|
+
}, title: this.i18nSelectListHeader, onClick: (e) => e.preventDefault() }, this.i18nSelectListHeader), hAsync("slot", { key: '71fada597f8ae68598a1444b96c66fe85cf56258', onSlotchange: () => {
|
|
25569
25591
|
this.updateSelection();
|
|
25570
|
-
} }), hAsync("div", { key: '
|
|
25592
|
+
} }), hAsync("div", { key: 'bbb7e303d5443707e576d2dc2a9597bdf37bff7c', ref: (ref) => (this.customItemsContainerElement = ref), class: "d-contents" }), this.isAddItemVisible() ? (hAsync("ix-dropdown-item", { "data-testid": "add-item", icon: 'plus', class: {
|
|
25571
25593
|
'add-item': true,
|
|
25572
25594
|
}, label: this.inputFilterText, onItemClick: (e) => {
|
|
25573
25595
|
e.preventDefault();
|
|
25574
25596
|
e.stopPropagation();
|
|
25575
25597
|
this.emitAddItem(this.inputFilterText);
|
|
25576
|
-
}, onFocus: () => (this.navigationItem = this.
|
|
25577
|
-
this.
|
|
25598
|
+
}, onFocus: () => (this.navigationItem = this.addItemElement), ref: (ref) => {
|
|
25599
|
+
this.addItemElement = ref;
|
|
25578
25600
|
} })) : null, this.isDropdownEmpty && !this.editable ? (hAsync("div", { class: "select-list-header" }, this.i18nNoMatches)) : (''))));
|
|
25579
25601
|
}
|
|
25580
25602
|
static get formAssociated() { return true; }
|
|
@@ -26526,10 +26548,10 @@ class Textarea {
|
|
|
26526
26548
|
return (await this.getNativeInputElement()).focus();
|
|
26527
26549
|
}
|
|
26528
26550
|
render() {
|
|
26529
|
-
return (hAsync(Host, { key: '
|
|
26551
|
+
return (hAsync(Host, { key: '952c321d9c45ebf78962aca11974f95dcfd7b18a', class: {
|
|
26530
26552
|
disabled: this.disabled,
|
|
26531
26553
|
readonly: this.readonly,
|
|
26532
|
-
} }, hAsync("ix-field-wrapper", { key: '
|
|
26554
|
+
} }, hAsync("ix-field-wrapper", { key: '78c62b4ed783ffe4545de3bfa17ff9fbe5dcde2f', required: this.required, label: this.label, helperText: this.helperText, invalidText: this.invalidText, infoText: this.infoText, warningText: this.warningText, validText: this.validText, showTextAsTooltip: this.showTextAsTooltip, isInvalid: this.isInvalid, isValid: this.isValid, isInfo: this.isInfo, isWarning: this.isWarning, controlRef: this.textAreaRef }, !!this.maxLength && this.maxLength > 0 && (hAsync("ix-typography", { key: 'b05c5008923f91643f710f9953ae374f44d88c11', class: "bottom-text", slot: "bottom-right", color: "soft" }, this.value.length, "/", this.maxLength)), hAsync("div", { key: 'bb7a292373d01721499c2128b057cad95c0fe59d', class: "input-wrapper" }, hAsync(TextareaElement, { key: '1769ad294d552d2cd99113dfdcddc77ec517826a', minLength: this.minLength, maxLength: this.maxLength, textareaCols: this.textareaCols, textareaRows: this.textareaRows, textareaHeight: this.textareaHeight, textareaWidth: this.textareaWidth, resizeBehavior: this.resizeBehavior, readonly: this.readonly, disabled: this.disabled, isInvalid: this.isInvalid, required: this.required, value: this.value, placeholder: this.placeholder, textAreaRef: this.textAreaRef, valueChange: (value) => this.valueChange.emit(value), updateFormInternalValue: (value) => this.updateFormInternalValue(value), onBlur: () => onInputBlur(this, this.textAreaRef.current) })))));
|
|
26533
26555
|
}
|
|
26534
26556
|
static get formAssociated() { return true; }
|
|
26535
26557
|
get hostElement() { return getElement(this); }
|
|
@@ -26989,7 +27011,7 @@ class ToastContainer {
|
|
|
26989
27011
|
}; }
|
|
26990
27012
|
}
|
|
26991
27013
|
|
|
26992
|
-
const toggleCss = "/*!@:host*/.sc-ix-toggle-h{display:inline-flex;position:relative;height:2rem;justify-content:flex-start;align-items:center;margin-right:0.25rem;cursor:pointer}/*!@:host *,\n:host *::after,\n:host *::before*/.sc-ix-toggle-h *.sc-ix-toggle,.sc-ix-toggle-h *.sc-ix-toggle::after,.sc-ix-toggle-h *.sc-ix-toggle::before{box-sizing:border-box}/*!@:host ::-webkit-scrollbar-button*/.sc-ix-toggle-h .sc-ix-toggle::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){.sc-ix-toggle-h *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}/*!@:host ::-webkit-scrollbar*/.sc-ix-toggle-h .sc-ix-toggle::-webkit-scrollbar{width:0.5rem;height:0.5rem}/*!@:host ::-webkit-scrollbar-track*/.sc-ix-toggle-h .sc-ix-toggle::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}/*!@:host ::-webkit-scrollbar-track:hover*/.sc-ix-toggle-h .sc-ix-toggle::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}/*!@:host ::-webkit-scrollbar-thumb*/.sc-ix-toggle-h .sc-ix-toggle::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}/*!@:host ::-webkit-scrollbar-thumb:hover*/.sc-ix-toggle-h .sc-ix-toggle::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}/*!@:host ::-webkit-scrollbar-corner*/.sc-ix-toggle-h .sc-ix-toggle::-webkit-scrollbar-corner{display:none}/*!@:host .switch*/.sc-ix-toggle-h .switch.sc-ix-toggle{position:relative;display:inline-block;width:3rem;min-width:3rem;max-width:3rem;height:1.5rem;margin-right:0.25rem}/*!@:host .switch input*/.sc-ix-toggle-h .switch.sc-ix-toggle input.sc-ix-toggle{opacity:0;width:0;height:0}/*!@:host .slider*/.sc-ix-toggle-h .slider.sc-ix-toggle{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:var(--theme-switch-off--background);transition:var(--theme-default-time);border-radius:1.5rem;border:1px solid transparent}/*!@:host .slider:before*/.sc-ix-toggle-h .slider.sc-ix-toggle:before{position:absolute;content:\"\";height:1.125rem;width:1.125rem;left:4px;bottom:2px;background-color:var(--theme-switch-thumb-off--background);transition:var(--theme-default-time);border-radius:50%}/*!@:host input*/.sc-ix-toggle-h input.sc-ix-toggle{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}/*!@:host input:focus-visible + .switch > .slider*/.sc-ix-toggle-h input.sc-ix-toggle:focus-visible+.switch.sc-ix-toggle>.slider.sc-ix-toggle{outline:1px solid var(--theme-color-focus-bdr);outline-offset:1px}/*!@:host input:checked + .switch > .slider::before*/.sc-ix-toggle-h input.sc-ix-toggle:checked+.switch.sc-ix-toggle>.slider.sc-ix-toggle::before{background-color:var(--theme-switch-thumb-on--background);transform:translateX(1.35rem)}/*!@:host input + .switch > .slider*/.sc-ix-toggle-h input.sc-ix-toggle+.switch.sc-ix-toggle>.slider.sc-ix-toggle{border-color:var(--theme-switch-off--border-color)}/*!@:host input + .switch:hover > .slider*/.sc-ix-toggle-h input.sc-ix-toggle+.switch.sc-ix-toggle:hover>.slider.sc-ix-toggle{background-color:var(--theme-switch-off--background--hover);border-color:var(--theme-switch-off--border-color--hover)}/*!@:host input + .switch:hover > .slider:before*/.sc-ix-toggle-h input.sc-ix-toggle+.switch.sc-ix-toggle:hover>.slider.sc-ix-toggle:before{background-color:var(--theme-switch-thumb-off--background--hover)}/*!@:host input + .switch:active > .slider*/.sc-ix-toggle-h input.sc-ix-toggle+.switch.sc-ix-toggle:active>.slider.sc-ix-toggle{background-color:var(--theme-switch-off--background--active);border-color:var(--theme-switch-off--border-color--active)}/*!@:host input + .switch:active > .slider:before*/.sc-ix-toggle-h input.sc-ix-toggle+.switch.sc-ix-toggle:active>.slider.sc-ix-toggle:before{background-color:var(--theme-switch-thumb-off--background--active)}/*!@:host input:checked + .switch > .slider*/.sc-ix-toggle-h input.sc-ix-toggle:checked+.switch.sc-ix-toggle>.slider.sc-ix-toggle{background-color:var(--theme-switch-on--background);border-color:var(--theme-switch-on--border-color)}/*!@:host input:checked + .switch:hover > .slider*/.sc-ix-toggle-h input.sc-ix-toggle:checked+.switch.sc-ix-toggle:hover>.slider.sc-ix-toggle{background-color:var(--theme-switch-on--background--hover);border-color:var(--theme-switch-on--border-color--hover)}/*!@:host input:checked + .switch:hover > .slider:before*/.sc-ix-toggle-h input.sc-ix-toggle:checked+.switch.sc-ix-toggle:hover>.slider.sc-ix-toggle:before{background-color:var(--theme-switch-thumb-on--background--hover)}/*!@:host input:checked + .switch:active > .slider*/.sc-ix-toggle-h input.sc-ix-toggle:checked+.switch.sc-ix-toggle:active>.slider.sc-ix-toggle{background-color:var(--theme-switch-on--background--active);border-color:var(--theme-switch-on--border-color--active)}/*!@:host input:checked + .switch:active > .slider:before*/.sc-ix-toggle-h input.sc-ix-toggle:checked+.switch.sc-ix-toggle:active>.slider.sc-ix-toggle:before{background-color:var(--theme-switch-thumb-on--background--active)}/*!@:host input:indeterminate + .switch > .slider::before*/.sc-ix-toggle-h input.sc-ix-toggle:indeterminate+.switch.sc-ix-toggle>.slider.sc-ix-toggle::before{transform:translateX(0.7rem)}/*!@:host .toggle-text*/.sc-ix-toggle-h .toggle-text.sc-ix-toggle{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}/*!@:host(.disabled)*/.disabled.sc-ix-toggle-h{pointer-events:none}/*!@:host(.disabled) input + .switch*/.disabled.sc-ix-toggle-h input.sc-ix-toggle+.switch.sc-ix-toggle{opacity:0.5}/*!@:host(.disabled) input + .switch > .slider*/.disabled.sc-ix-toggle-h input.sc-ix-toggle+.switch.sc-ix-toggle>.slider.sc-ix-toggle{background-color:var(--theme-switch-off--background--disabled)}/*!@:host(.disabled) input + .switch > .slider:before*/.disabled.sc-ix-toggle-h input.sc-ix-toggle+.switch.sc-ix-toggle>.slider.sc-ix-toggle:before{background-color:var(--theme-switch-thumb-off--background--disabled)}/*!@:host(.disabled) input:checked + .switch > .slider*/.disabled.sc-ix-toggle-h input.sc-ix-toggle:checked+.switch.sc-ix-toggle>.slider.sc-ix-toggle{background-color:var(--theme-switch-on--background--disabled)}/*!@:host(.disabled) input:checked + .switch > .slider:before*/.disabled.sc-ix-toggle-h input.sc-ix-toggle:checked+.switch.sc-ix-toggle>.slider.sc-ix-toggle:before{background-color:var(--theme-switch-thumb-on--background--disabled)}/*!@:host(.disabled) .toggle-text*/.disabled.sc-ix-toggle-h .toggle-text.sc-ix-toggle{color:var(--theme-color-weak-text)}/*!@:host(.ix-info:not(.disabled)) .slider*/.ix-info.sc-ix-toggle-h:not(.disabled) .slider.sc-ix-toggle{--theme-switch-off--background:var(--theme-switch-off--background--info);--theme-switch-off--background--hover:var(--theme-switch-off--background--info--hover);--theme-switch-off--background--active:var(--theme-switch-off--background--info--active);--theme-switch-thumb-off--background:var(--theme-switch-thumb-off--background--info);--theme-switch-thumb-off--background--hover:var(--theme-switch-thumb-off--background--info--hover);--theme-switch-thumb-off--background--active:var(--theme-switch-thumb-off--background--info--active);--theme-switch-off--border-color:var(--theme-switch-off--border-color--info);--theme-switch-off--border-color--hover:var(--theme-switch-off--border-color--info--hover);--theme-switch-off--border-color--active:var(--theme-switch-off--border-color--info--active);--theme-switch-on--background:var(--theme-switch-on--background--info);--theme-switch-on--background--hover:var(--theme-switch-on--background--info--hover);--theme-switch-on--background--active:var(--theme-switch-on--background--info--active);--theme-switch-thumb-on--background:var(--theme-switch-thumb-on--background--info);--theme-switch-thumb-on--background--hover:var(--theme-switch-thumb-on--background--info--hover);--theme-switch-thumb-on--background--active:var(--theme-switch-thumb-on--background--info--active);--theme-switch-on--border-color:var(--theme-switch-on--border-color--info);--theme-switch-on--border-color--hover:var(--theme-switch-on--border-color--info--hover);--theme-switch-on--border-color--active:var(--theme-switch-on--border-color--info--active);--theme-switch-mixed--background:var(--theme-switch-mixed--background--info);--theme-switch-mixed--background--hover:var(--theme-switch-mixed--background--info--hover);--theme-switch-mixed--background--active:var(--theme-switch-mixed--background--info--active);--theme-switch-thumb-mixed--background:var(--theme-switch-thumb-mixed--background--info);--theme-switch-thumb-mixed--background--hover:var(--theme-switch-thumb-mixed--background--info--hover);--theme-switch-thumb-mixed--background--active:var(--theme-switch-thumb-mixed--background--info--active);--theme-switch-mixed--border-color:var(--theme-switch-mixed--border-color--info);--theme-switch-mixed--border-color--hover:var(--theme-switch-mixed--border-color--info--hover);--theme-switch-mixed--border-color--active:var(--theme-switch-mixed--border-color--info--active)}/*!@:host(.ix-warning:not(.disabled)) .slider*/.ix-warning.sc-ix-toggle-h:not(.disabled) .slider.sc-ix-toggle{--theme-switch-off--background:var(--theme-switch-off--background--warning);--theme-switch-off--background--hover:var(--theme-switch-off--background--warning--hover);--theme-switch-off--background--active:var(--theme-switch-off--background--warning--active);--theme-switch-thumb-off--background:var(--theme-switch-thumb-off--background--warning);--theme-switch-thumb-off--background--hover:var(--theme-switch-thumb-off--background--warning--hover);--theme-switch-thumb-off--background--active:var(--theme-switch-thumb-off--background--warning--active);--theme-switch-off--border-color:var(--theme-switch-off--border-color--warning);--theme-switch-off--border-color--hover:var(--theme-switch-off--border-color--warning--hover);--theme-switch-off--border-color--active:var(--theme-switch-off--border-color--warning--active);--theme-switch-on--background:var(--theme-switch-on--background--warning);--theme-switch-on--background--hover:var(--theme-switch-on--background--warning--hover);--theme-switch-on--background--active:var(--theme-switch-on--background--warning--active);--theme-switch-thumb-on--background:var(--theme-switch-thumb-on--background--warning);--theme-switch-thumb-on--background--hover:var(--theme-switch-thumb-on--background--warning--hover);--theme-switch-thumb-on--background--active:var(--theme-switch-thumb-on--background--warning--active);--theme-switch-on--border-color:var(--theme-switch-on--border-color--warning);--theme-switch-on--border-color--hover:var(--theme-switch-on--border-color--warning--hover);--theme-switch-on--border-color--active:var(--theme-switch-on--border-color--warning--active);--theme-switch-mixed--background:var(--theme-switch-mixed--background--warning);--theme-switch-mixed--background--hover:var(--theme-switch-mixed--background--warning--hover);--theme-switch-mixed--background--active:var(--theme-switch-mixed--background--warning--active);--theme-switch-thumb-mixed--background:var(--theme-switch-thumb-mixed--background--warning);--theme-switch-thumb-mixed--background--hover:var(--theme-switch-thumb-mixed--background--warning--hover);--theme-switch-thumb-mixed--background--active:var(--theme-switch-thumb-mixed--background--warning--active);--theme-switch-mixed--border-color:var(--theme-switch-mixed--border-color--warning);--theme-switch-mixed--border-color--hover:var(--theme-switch-mixed--border-color--warning--hover);--theme-switch-mixed--border-color--active:var(--theme-switch-mixed--border-color--warning--active)}/*!@:host(.ix-invalid--required:not(.disabled)) .slider*/.ix-invalid--required.sc-ix-toggle-h:not(.disabled) .slider.sc-ix-toggle{--theme-switch-off--background:var(--theme-switch-off--background--invalid);--theme-switch-off--background--hover:var(--theme-switch-off--background--invalid--hover);--theme-switch-off--background--active:var(--theme-switch-off--background--invalid--active);--theme-switch-thumb-off--background:var(--theme-switch-thumb-off--background--invalid);--theme-switch-thumb-off--background--hover:var(--theme-switch-thumb-off--background--invalid--hover);--theme-switch-thumb-off--background--active:var(--theme-switch-thumb-off--background--invalid--active);--theme-switch-off--border-color:var(--theme-switch-off--border-color--invalid);--theme-switch-off--border-color--hover:var(--theme-switch-off--border-color--invalid--hover);--theme-switch-off--border-color--active:var(--theme-switch-off--border-color--invalid--active);--theme-switch-on--background:var(--theme-switch-on--background--invalid);--theme-switch-on--background--hover:var(--theme-switch-on--background--invalid--hover);--theme-switch-on--background--active:var(--theme-switch-on--background--invalid--active);--theme-switch-thumb-on--background:var(--theme-switch-thumb-on--background--invalid);--theme-switch-thumb-on--background--hover:var(--theme-switch-thumb-on--background--invalid--hover);--theme-switch-thumb-on--background--active:var(--theme-switch-thumb-on--background--invalid--active);--theme-switch-on--border-color:var(--theme-switch-on--border-color--invalid);--theme-switch-on--border-color--hover:var(--theme-switch-on--border-color--invalid--hover);--theme-switch-on--border-color--active:var(--theme-switch-on--border-color--invalid--active);--theme-switch-mixed--background:var(--theme-switch-mixed--background--invalid);--theme-switch-mixed--background--hover:var(--theme-switch-mixed--background--invalid--hover);--theme-switch-mixed--background--active:var(--theme-switch-mixed--background--invalid--active);--theme-switch-thumb-mixed--background:var(--theme-switch-thumb-mixed--background--invalid);--theme-switch-thumb-mixed--background--hover:var(--theme-switch-thumb-mixed--background--invalid--hover);--theme-switch-thumb-mixed--background--active:var(--theme-switch-thumb-mixed--background--invalid--active);--theme-switch-mixed--border-color:var(--theme-switch-mixed--border-color--invalid);--theme-switch-mixed--border-color--hover:var(--theme-switch-mixed--border-color--invalid--hover);--theme-switch-mixed--border-color--active:var(--theme-switch-mixed--border-color--invalid--active)}/*!@:host(.ix-invalid:not(.disabled)) .slider*/.ix-invalid.sc-ix-toggle-h:not(.disabled) .slider.sc-ix-toggle{--theme-switch-off--background:var(--theme-switch-off--background--invalid);--theme-switch-off--background--hover:var(--theme-switch-off--background--invalid--hover);--theme-switch-off--background--active:var(--theme-switch-off--background--invalid--active);--theme-switch-thumb-off--background:var(--theme-switch-thumb-off--background--invalid);--theme-switch-thumb-off--background--hover:var(--theme-switch-thumb-off--background--invalid--hover);--theme-switch-thumb-off--background--active:var(--theme-switch-thumb-off--background--invalid--active);--theme-switch-off--border-color:var(--theme-switch-off--border-color--invalid);--theme-switch-off--border-color--hover:var(--theme-switch-off--border-color--invalid--hover);--theme-switch-off--border-color--active:var(--theme-switch-off--border-color--invalid--active);--theme-switch-on--background:var(--theme-switch-on--background--invalid);--theme-switch-on--background--hover:var(--theme-switch-on--background--invalid--hover);--theme-switch-on--background--active:var(--theme-switch-on--background--invalid--active);--theme-switch-thumb-on--background:var(--theme-switch-thumb-on--background--invalid);--theme-switch-thumb-on--background--hover:var(--theme-switch-thumb-on--background--invalid--hover);--theme-switch-thumb-on--background--active:var(--theme-switch-thumb-on--background--invalid--active);--theme-switch-on--border-color:var(--theme-switch-on--border-color--invalid);--theme-switch-on--border-color--hover:var(--theme-switch-on--border-color--invalid--hover);--theme-switch-on--border-color--active:var(--theme-switch-on--border-color--invalid--active);--theme-switch-mixed--background:var(--theme-switch-mixed--background--invalid);--theme-switch-mixed--background--hover:var(--theme-switch-mixed--background--invalid--hover);--theme-switch-mixed--background--active:var(--theme-switch-mixed--background--invalid--active);--theme-switch-thumb-mixed--background:var(--theme-switch-thumb-mixed--background--invalid);--theme-switch-thumb-mixed--background--hover:var(--theme-switch-thumb-mixed--background--invalid--hover);--theme-switch-thumb-mixed--background--active:var(--theme-switch-thumb-mixed--background--invalid--active);--theme-switch-mixed--border-color:var(--theme-switch-mixed--border-color--invalid);--theme-switch-mixed--border-color--hover:var(--theme-switch-mixed--border-color--invalid--hover);--theme-switch-mixed--border-color--active:var(--theme-switch-mixed--border-color--invalid--active)}";
|
|
27014
|
+
const toggleCss = "/*!@:host*/.sc-ix-toggle-h{display:inline-flex;flex-direction:row;position:relative;height:1.5rem;margin-block-start:0.25rem;margin-block-end:0.25rem}/*!@:host *,\n:host *::after,\n:host *::before*/.sc-ix-toggle-h *.sc-ix-toggle,.sc-ix-toggle-h *.sc-ix-toggle::after,.sc-ix-toggle-h *.sc-ix-toggle::before{box-sizing:border-box}/*!@:host ::-webkit-scrollbar-button*/.sc-ix-toggle-h .sc-ix-toggle::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){.sc-ix-toggle-h *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}/*!@:host ::-webkit-scrollbar*/.sc-ix-toggle-h .sc-ix-toggle::-webkit-scrollbar{width:0.5rem;height:0.5rem}/*!@:host ::-webkit-scrollbar-track*/.sc-ix-toggle-h .sc-ix-toggle::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}/*!@:host ::-webkit-scrollbar-track:hover*/.sc-ix-toggle-h .sc-ix-toggle::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}/*!@:host ::-webkit-scrollbar-thumb*/.sc-ix-toggle-h .sc-ix-toggle::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}/*!@:host ::-webkit-scrollbar-thumb:hover*/.sc-ix-toggle-h .sc-ix-toggle::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}/*!@:host ::-webkit-scrollbar-corner*/.sc-ix-toggle-h .sc-ix-toggle::-webkit-scrollbar-corner{display:none}/*!@:host input[type=checkbox]*/.sc-ix-toggle-h input[type=checkbox].sc-ix-toggle{display:none}/*!@:host .wrapper*/.sc-ix-toggle-h .wrapper.sc-ix-toggle{display:flex;align-items:flex-start;width:100%;height:100%}/*!@:host .label*/.sc-ix-toggle-h .label.sc-ix-toggle{display:inline-block;white-space:normal;overflow:hidden;text-overflow:ellipsis;margin-block-start:0.125rem;margin-inline-start:0.5625rem}/*!@:host .switch*/.sc-ix-toggle-h .switch.sc-ix-toggle{all:unset;position:relative;display:inline-block;width:3rem;min-width:3rem;max-width:3rem;height:1.5rem}/*!@:host .slider*/.sc-ix-toggle-h .slider.sc-ix-toggle{position:absolute;top:0;left:0;right:0;bottom:0;background-color:var(--theme-switch-off--background);transition:var(--theme-default-time);border-radius:1.5rem;border:0.0625rem solid transparent}/*!@:host .slider:before*/.sc-ix-toggle-h .slider.sc-ix-toggle:before{position:absolute;content:\"\";height:1.125rem;width:1.125rem;left:0.125rem;bottom:0.125rem;background-color:var(--theme-switch-thumb-off--background);transition:var(--theme-default-time);border-radius:50%}/*!@:host .switch.checked > .slider::before*/.sc-ix-toggle-h .switch.checked.sc-ix-toggle>.slider.sc-ix-toggle::before{background-color:var(--theme-switch-thumb-on--background);transform:translateX(1.5rem)}/*!@:host .switch > .slider*/.sc-ix-toggle-h .switch.sc-ix-toggle>.slider.sc-ix-toggle{border-color:var(--theme-switch-off--border-color)}/*!@:host .switch:hover > .slider*/.sc-ix-toggle-h .switch.sc-ix-toggle:hover>.slider.sc-ix-toggle{background-color:var(--theme-switch-off--background--hover);border-color:var(--theme-switch-off--border-color--hover)}/*!@:host .switch:hover > .slider:before*/.sc-ix-toggle-h .switch.sc-ix-toggle:hover>.slider.sc-ix-toggle:before{background-color:var(--theme-switch-thumb-off--background--hover)}/*!@:host .switch:active > .slider*/.sc-ix-toggle-h .switch.sc-ix-toggle:active>.slider.sc-ix-toggle{background-color:var(--theme-switch-off--background--active);border-color:var(--theme-switch-off--border-color--active)}/*!@:host .switch:active > .slider:before*/.sc-ix-toggle-h .switch.sc-ix-toggle:active>.slider.sc-ix-toggle:before{background-color:var(--theme-switch-thumb-off--background--active)}/*!@:host .switch.checked > .slider*/.sc-ix-toggle-h .switch.checked.sc-ix-toggle>.slider.sc-ix-toggle{background-color:var(--theme-switch-on--background);border-color:var(--theme-switch-on--border-color)}/*!@:host .switch.checked:hover > .slider*/.sc-ix-toggle-h .switch.checked.sc-ix-toggle:hover>.slider.sc-ix-toggle{background-color:var(--theme-switch-on--background--hover);border-color:var(--theme-switch-on--border-color--hover)}/*!@:host .switch.checked:hover > .slider:before*/.sc-ix-toggle-h .switch.checked.sc-ix-toggle:hover>.slider.sc-ix-toggle:before{background-color:var(--theme-switch-thumb-on--background--hover)}/*!@:host .switch.checked:active > .slider*/.sc-ix-toggle-h .switch.checked.sc-ix-toggle:active>.slider.sc-ix-toggle{background-color:var(--theme-switch-on--background--active);border-color:var(--theme-switch-on--border-color--active)}/*!@:host .switch.checked:active > .slider:before*/.sc-ix-toggle-h .switch.checked.sc-ix-toggle:active>.slider.sc-ix-toggle:before{background-color:var(--theme-switch-thumb-on--background--active)}/*!@:host .switch.indeterminate > .slider::before*/.sc-ix-toggle-h .switch.indeterminate.sc-ix-toggle>.slider.sc-ix-toggle::before{transform:translateX(0.75rem)}/*!@:host(:not(.disabled)) .wrapper*/.sc-ix-toggle-h:not(.disabled) .wrapper.sc-ix-toggle{cursor:pointer}/*!@:host(:not(.disabled)) .switch:focus-visible > .slider*/.sc-ix-toggle-h:not(.disabled) .switch.sc-ix-toggle:focus-visible>.slider.sc-ix-toggle{outline:0.0625rem solid var(--theme-color-focus-bdr);outline-offset:0.0625rem}/*!@:host(.disabled)*/.disabled.sc-ix-toggle-h{pointer-events:none}/*!@:host(.disabled) .switch*/.disabled.sc-ix-toggle-h .switch.sc-ix-toggle{opacity:0.5}/*!@:host(.disabled) .switch > .slider*/.disabled.sc-ix-toggle-h .switch.sc-ix-toggle>.slider.sc-ix-toggle{background-color:var(--theme-switch-off--background--disabled)}/*!@:host(.disabled) .switch > .slider:before*/.disabled.sc-ix-toggle-h .switch.sc-ix-toggle>.slider.sc-ix-toggle:before{background-color:var(--theme-switch-thumb-off--background--disabled)}/*!@:host(.disabled) .switch.checked > .slider*/.disabled.sc-ix-toggle-h .switch.checked.sc-ix-toggle>.slider.sc-ix-toggle{background-color:var(--theme-switch-on--background--disabled)}/*!@:host(.disabled) .switch.checked > .slider:before*/.disabled.sc-ix-toggle-h .switch.checked.sc-ix-toggle>.slider.sc-ix-toggle:before{background-color:var(--theme-switch-thumb-on--background--disabled)}/*!@:host(.disabled) .label*/.disabled.sc-ix-toggle-h .label.sc-ix-toggle{color:var(--theme-color-weak-text)}/*!@:host(.ix-info:not(.disabled)) .slider*/.ix-info.sc-ix-toggle-h:not(.disabled) .slider.sc-ix-toggle{--theme-switch-off--background:var(\n --theme-switch-off--background--info\n );--theme-switch-off--background--hover:var(\n --theme-switch-off--background--info--hover\n );--theme-switch-off--background--active:var(\n --theme-switch-off--background--info--active\n );--theme-switch-thumb-off--background:var(\n --theme-switch-thumb-off--background--info\n );--theme-switch-thumb-off--background--hover:var(\n --theme-switch-thumb-off--background--info--hover\n );--theme-switch-thumb-off--background--active:var(\n --theme-switch-thumb-off--background--info--active\n );--theme-switch-off--border-color:var(\n --theme-switch-off--border-color--info\n );--theme-switch-off--border-color--hover:var(\n --theme-switch-off--border-color--info--hover\n );--theme-switch-off--border-color--active:var(\n --theme-switch-off--border-color--info--active\n );--theme-switch-on--background:var(\n --theme-switch-on--background--info\n );--theme-switch-on--background--hover:var(\n --theme-switch-on--background--info--hover\n );--theme-switch-on--background--active:var(\n --theme-switch-on--background--info--active\n );--theme-switch-thumb-on--background:var(\n --theme-switch-thumb-on--background--info\n );--theme-switch-thumb-on--background--hover:var(\n --theme-switch-thumb-on--background--info--hover\n );--theme-switch-thumb-on--background--active:var(\n --theme-switch-thumb-on--background--info--active\n );--theme-switch-on--border-color:var(\n --theme-switch-on--border-color--info\n );--theme-switch-on--border-color--hover:var(\n --theme-switch-on--border-color--info--hover\n );--theme-switch-on--border-color--active:var(\n --theme-switch-on--border-color--info--active\n );--theme-switch-mixed--background:var(\n --theme-switch-mixed--background--info\n );--theme-switch-mixed--background--hover:var(\n --theme-switch-mixed--background--info--hover\n );--theme-switch-mixed--background--active:var(\n --theme-switch-mixed--background--info--active\n );--theme-switch-thumb-mixed--background:var(\n --theme-switch-thumb-mixed--background--info\n );--theme-switch-thumb-mixed--background--hover:var(\n --theme-switch-thumb-mixed--background--info--hover\n );--theme-switch-thumb-mixed--background--active:var(\n --theme-switch-thumb-mixed--background--info--active\n );--theme-switch-mixed--border-color:var(\n --theme-switch-mixed--border-color--info\n );--theme-switch-mixed--border-color--hover:var(\n --theme-switch-mixed--border-color--info--hover\n );--theme-switch-mixed--border-color--active:var(\n --theme-switch-mixed--border-color--info--active\n )}/*!@:host(.ix-warning:not(.disabled)) .slider*/.ix-warning.sc-ix-toggle-h:not(.disabled) .slider.sc-ix-toggle{--theme-switch-off--background:var(\n --theme-switch-off--background--warning\n );--theme-switch-off--background--hover:var(\n --theme-switch-off--background--warning--hover\n );--theme-switch-off--background--active:var(\n --theme-switch-off--background--warning--active\n );--theme-switch-thumb-off--background:var(\n --theme-switch-thumb-off--background--warning\n );--theme-switch-thumb-off--background--hover:var(\n --theme-switch-thumb-off--background--warning--hover\n );--theme-switch-thumb-off--background--active:var(\n --theme-switch-thumb-off--background--warning--active\n );--theme-switch-off--border-color:var(\n --theme-switch-off--border-color--warning\n );--theme-switch-off--border-color--hover:var(\n --theme-switch-off--border-color--warning--hover\n );--theme-switch-off--border-color--active:var(\n --theme-switch-off--border-color--warning--active\n );--theme-switch-on--background:var(\n --theme-switch-on--background--warning\n );--theme-switch-on--background--hover:var(\n --theme-switch-on--background--warning--hover\n );--theme-switch-on--background--active:var(\n --theme-switch-on--background--warning--active\n );--theme-switch-thumb-on--background:var(\n --theme-switch-thumb-on--background--warning\n );--theme-switch-thumb-on--background--hover:var(\n --theme-switch-thumb-on--background--warning--hover\n );--theme-switch-thumb-on--background--active:var(\n --theme-switch-thumb-on--background--warning--active\n );--theme-switch-on--border-color:var(\n --theme-switch-on--border-color--warning\n );--theme-switch-on--border-color--hover:var(\n --theme-switch-on--border-color--warning--hover\n );--theme-switch-on--border-color--active:var(\n --theme-switch-on--border-color--warning--active\n );--theme-switch-mixed--background:var(\n --theme-switch-mixed--background--warning\n );--theme-switch-mixed--background--hover:var(\n --theme-switch-mixed--background--warning--hover\n );--theme-switch-mixed--background--active:var(\n --theme-switch-mixed--background--warning--active\n );--theme-switch-thumb-mixed--background:var(\n --theme-switch-thumb-mixed--background--warning\n );--theme-switch-thumb-mixed--background--hover:var(\n --theme-switch-thumb-mixed--background--warning--hover\n );--theme-switch-thumb-mixed--background--active:var(\n --theme-switch-thumb-mixed--background--warning--active\n );--theme-switch-mixed--border-color:var(\n --theme-switch-mixed--border-color--warning\n );--theme-switch-mixed--border-color--hover:var(\n --theme-switch-mixed--border-color--warning--hover\n );--theme-switch-mixed--border-color--active:var(\n --theme-switch-mixed--border-color--warning--active\n )}/*!@:host(.ix-invalid--required:not(.disabled)) .slider*/.ix-invalid--required.sc-ix-toggle-h:not(.disabled) .slider.sc-ix-toggle{--theme-switch-off--background:var(\n --theme-switch-off--background--invalid\n );--theme-switch-off--background--hover:var(\n --theme-switch-off--background--invalid--hover\n );--theme-switch-off--background--active:var(\n --theme-switch-off--background--invalid--active\n );--theme-switch-thumb-off--background:var(\n --theme-switch-thumb-off--background--invalid\n );--theme-switch-thumb-off--background--hover:var(\n --theme-switch-thumb-off--background--invalid--hover\n );--theme-switch-thumb-off--background--active:var(\n --theme-switch-thumb-off--background--invalid--active\n );--theme-switch-off--border-color:var(\n --theme-switch-off--border-color--invalid\n );--theme-switch-off--border-color--hover:var(\n --theme-switch-off--border-color--invalid--hover\n );--theme-switch-off--border-color--active:var(\n --theme-switch-off--border-color--invalid--active\n );--theme-switch-on--background:var(\n --theme-switch-on--background--invalid\n );--theme-switch-on--background--hover:var(\n --theme-switch-on--background--invalid--hover\n );--theme-switch-on--background--active:var(\n --theme-switch-on--background--invalid--active\n );--theme-switch-thumb-on--background:var(\n --theme-switch-thumb-on--background--invalid\n );--theme-switch-thumb-on--background--hover:var(\n --theme-switch-thumb-on--background--invalid--hover\n );--theme-switch-thumb-on--background--active:var(\n --theme-switch-thumb-on--background--invalid--active\n );--theme-switch-on--border-color:var(\n --theme-switch-on--border-color--invalid\n );--theme-switch-on--border-color--hover:var(\n --theme-switch-on--border-color--invalid--hover\n );--theme-switch-on--border-color--active:var(\n --theme-switch-on--border-color--invalid--active\n );--theme-switch-mixed--background:var(\n --theme-switch-mixed--background--invalid\n );--theme-switch-mixed--background--hover:var(\n --theme-switch-mixed--background--invalid--hover\n );--theme-switch-mixed--background--active:var(\n --theme-switch-mixed--background--invalid--active\n );--theme-switch-thumb-mixed--background:var(\n --theme-switch-thumb-mixed--background--invalid\n );--theme-switch-thumb-mixed--background--hover:var(\n --theme-switch-thumb-mixed--background--invalid--hover\n );--theme-switch-thumb-mixed--background--active:var(\n --theme-switch-thumb-mixed--background--invalid--active\n );--theme-switch-mixed--border-color:var(\n --theme-switch-mixed--border-color--invalid\n );--theme-switch-mixed--border-color--hover:var(\n --theme-switch-mixed--border-color--invalid--hover\n );--theme-switch-mixed--border-color--active:var(\n --theme-switch-mixed--border-color--invalid--active\n )}/*!@:host(.ix-invalid:not(.disabled)) .slider*/.ix-invalid.sc-ix-toggle-h:not(.disabled) .slider.sc-ix-toggle{--theme-switch-off--background:var(\n --theme-switch-off--background--invalid\n );--theme-switch-off--background--hover:var(\n --theme-switch-off--background--invalid--hover\n );--theme-switch-off--background--active:var(\n --theme-switch-off--background--invalid--active\n );--theme-switch-thumb-off--background:var(\n --theme-switch-thumb-off--background--invalid\n );--theme-switch-thumb-off--background--hover:var(\n --theme-switch-thumb-off--background--invalid--hover\n );--theme-switch-thumb-off--background--active:var(\n --theme-switch-thumb-off--background--invalid--active\n );--theme-switch-off--border-color:var(\n --theme-switch-off--border-color--invalid\n );--theme-switch-off--border-color--hover:var(\n --theme-switch-off--border-color--invalid--hover\n );--theme-switch-off--border-color--active:var(\n --theme-switch-off--border-color--invalid--active\n );--theme-switch-on--background:var(\n --theme-switch-on--background--invalid\n );--theme-switch-on--background--hover:var(\n --theme-switch-on--background--invalid--hover\n );--theme-switch-on--background--active:var(\n --theme-switch-on--background--invalid--active\n );--theme-switch-thumb-on--background:var(\n --theme-switch-thumb-on--background--invalid\n );--theme-switch-thumb-on--background--hover:var(\n --theme-switch-thumb-on--background--invalid--hover\n );--theme-switch-thumb-on--background--active:var(\n --theme-switch-thumb-on--background--invalid--active\n );--theme-switch-on--border-color:var(\n --theme-switch-on--border-color--invalid\n );--theme-switch-on--border-color--hover:var(\n --theme-switch-on--border-color--invalid--hover\n );--theme-switch-on--border-color--active:var(\n --theme-switch-on--border-color--invalid--active\n );--theme-switch-mixed--background:var(\n --theme-switch-mixed--background--invalid\n );--theme-switch-mixed--background--hover:var(\n --theme-switch-mixed--background--invalid--hover\n );--theme-switch-mixed--background--active:var(\n --theme-switch-mixed--background--invalid--active\n );--theme-switch-thumb-mixed--background:var(\n --theme-switch-thumb-mixed--background--invalid\n );--theme-switch-thumb-mixed--background--hover:var(\n --theme-switch-thumb-mixed--background--invalid--hover\n );--theme-switch-thumb-mixed--background--active:var(\n --theme-switch-thumb-mixed--background--invalid--active\n );--theme-switch-mixed--border-color:var(\n --theme-switch-mixed--border-color--invalid\n );--theme-switch-mixed--border-color--hover:var(\n --theme-switch-mixed--border-color--invalid--hover\n );--theme-switch-mixed--border-color--active:var(\n --theme-switch-mixed--border-color--invalid--active\n )}";
|
|
26993
27015
|
var IxToggleStyle0 = toggleCss;
|
|
26994
27016
|
|
|
26995
27017
|
/**
|
|
@@ -27019,6 +27041,9 @@ class Toggle {
|
|
|
27019
27041
|
this.required = false;
|
|
27020
27042
|
}
|
|
27021
27043
|
onCheckedChange(newChecked) {
|
|
27044
|
+
if (this.disabled) {
|
|
27045
|
+
return;
|
|
27046
|
+
}
|
|
27022
27047
|
if (this.indeterminate) {
|
|
27023
27048
|
this.indeterminate = false;
|
|
27024
27049
|
}
|
|
@@ -27048,9 +27073,20 @@ class Toggle {
|
|
|
27048
27073
|
return Promise.resolve(this.formInternals.form);
|
|
27049
27074
|
}
|
|
27050
27075
|
render() {
|
|
27051
|
-
|
|
27076
|
+
let toggleText = this.textOff;
|
|
27077
|
+
if (this.checked) {
|
|
27078
|
+
toggleText = this.textOn;
|
|
27079
|
+
}
|
|
27080
|
+
if (this.indeterminate) {
|
|
27081
|
+
toggleText = this.textIndeterminate;
|
|
27082
|
+
}
|
|
27083
|
+
return (hAsync(Host, { key: '326e2301e2d731f943233771e66c80680fc77f71', class: {
|
|
27052
27084
|
disabled: this.disabled,
|
|
27053
|
-
}
|
|
27085
|
+
} }, hAsync("label", { key: '1498ebf0357541fca93abab9e774c274f2b65702', class: "wrapper" }, hAsync("button", { key: '97825608357f5a2fc9b000aa33b7d2a77f540362', role: "switch", "aria-checked": a11yBoolean(this.checked), class: {
|
|
27086
|
+
switch: true,
|
|
27087
|
+
checked: this.checked,
|
|
27088
|
+
indeterminate: this.indeterminate,
|
|
27089
|
+
}, onClick: () => this.onCheckedChange(!this.checked) }, hAsync("div", { key: '644322fb450d6836be5260c1191c8b3ec36ecdaa', class: "slider" })), hAsync("input", { key: 'db434f5b8caf0be198cdabca153c6b2308d6df11', type: "checkbox", disabled: this.disabled, indeterminate: this.indeterminate, checked: this.checked, tabindex: 0, "aria-hidden": a11yBoolean(true), "aria-checked": a11yBoolean(this.checked), onChange: (event) => this.onCheckedChange(event.target.checked) }), !this.hideText && (hAsync("ix-typography", { key: '401fce46a2f766b62e06c13d8a571bfbe931bb42', class: "label" }, toggleText)))));
|
|
27054
27090
|
}
|
|
27055
27091
|
static get formAssociated() { return true; }
|
|
27056
27092
|
get hostElement() { return getElement(this); }
|
|
@@ -27139,9 +27175,9 @@ class ToggleButton {
|
|
|
27139
27175
|
'aria-pressed': a11yBoolean(this.pressed),
|
|
27140
27176
|
},
|
|
27141
27177
|
};
|
|
27142
|
-
return (hAsync(Host, { key: '
|
|
27178
|
+
return (hAsync(Host, { key: '9927083c0c3ac1ce93333d41d60c4069bec42c2a', class: {
|
|
27143
27179
|
disabled: this.disabled || this.loading,
|
|
27144
|
-
} }, hAsync(BaseButton, Object.assign({ key: '
|
|
27180
|
+
} }, hAsync(BaseButton, Object.assign({ key: '78d27ae9c94500d658d1bb773ff6bb1350934fed' }, baseButtonProps), hAsync("slot", { key: '8ffb2bb3726742fc00be381212fa50e5331b05e0' }))));
|
|
27145
27181
|
}
|
|
27146
27182
|
static get watchers() { return {
|
|
27147
27183
|
"variant": ["onVariantChange"],
|
|
@@ -27450,9 +27486,9 @@ class Tooltip {
|
|
|
27450
27486
|
this.visible = false;
|
|
27451
27487
|
}
|
|
27452
27488
|
render() {
|
|
27453
|
-
return (hAsync(Host, { key: '
|
|
27489
|
+
return (hAsync(Host, { key: 'ebbc608804dfd761125e956c9309d3c7e9a6d12c', class: {
|
|
27454
27490
|
visible: this.visible,
|
|
27455
|
-
}, role: "tooltip" }, hAsync("div", { key: '
|
|
27491
|
+
}, role: "tooltip" }, hAsync("div", { key: '4a028e58597259058d5da914b89daaa464b024b3', class: "tooltip-container" }, hAsync("div", { key: 'a89fb49efcea7926b8eb1dcea67aa2f082f6d7e1', class: 'tooltip-title' }, hAsync("slot", { key: '2c18717f991c7f4387cb42c406cc64a1e7648807', name: "title-icon" }), hAsync("ix-typography", { key: 'eecf6414ae15538c2b66ace8540c8974e044872a', format: "h5" }, this.titleContent, hAsync("slot", { key: '1fd60eaa5087211e30643f35a178353bbe988951', name: "title-content" }))), hAsync("div", { key: '58b1fa21258323a98b2626b4f620be85dcb92183', class: 'tooltip-content' }, hAsync("slot", { key: 'dda6df03fcc825588bed72d729f76b4cf2af36eb' })), hAsync("div", { key: '8a7cb430d02aed565c2c80e417f332be4f33ef08', class: "arrow" }))));
|
|
27456
27492
|
}
|
|
27457
27493
|
get hostElement() { return getElement(this); }
|
|
27458
27494
|
static get style() { return IxTooltipStyle0; }
|
|
@@ -27480,509 +27516,348 @@ __decorate([
|
|
|
27480
27516
|
OnListener('keydown', (self) => self.visible)
|
|
27481
27517
|
], Tooltip.prototype, "onKeydown", null);
|
|
27482
27518
|
|
|
27483
|
-
|
|
27484
|
-
|
|
27485
|
-
|
|
27486
|
-
|
|
27487
|
-
|
|
27488
|
-
|
|
27489
|
-
|
|
27490
|
-
Object.defineProperty(exports, "__esModule", {
|
|
27491
|
-
value: true
|
|
27492
|
-
});
|
|
27493
|
-
|
|
27494
|
-
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
|
|
27495
|
-
|
|
27496
|
-
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
27497
|
-
|
|
27498
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
27499
|
-
|
|
27500
|
-
var defaultConfig = {
|
|
27501
|
-
width: '100%',
|
|
27502
|
-
height: '100%'
|
|
27503
|
-
|
|
27504
|
-
// Check for valid number.
|
|
27505
|
-
};var isNumber = function isNumber(input) {
|
|
27506
|
-
return Number(input) === Number(input);
|
|
27507
|
-
};
|
|
27508
|
-
|
|
27509
|
-
// Add a class to an element.
|
|
27510
|
-
var addClass = 'classList' in document.documentElement ? function (element, className) {
|
|
27511
|
-
element.classList.add(className);
|
|
27512
|
-
} : function (element, className) {
|
|
27513
|
-
var oldClass = element.getAttribute('class') || '';
|
|
27514
|
-
element.setAttribute('class', oldClass + ' ' + className);
|
|
27515
|
-
};
|
|
27516
|
-
|
|
27517
|
-
/**
|
|
27518
|
-
* Creates a HyperList instance that virtually scrolls very large amounts of
|
|
27519
|
-
* data effortlessly.
|
|
27519
|
+
/*
|
|
27520
|
+
* SPDX-FileCopyrightText: 2024 Siemens AG
|
|
27521
|
+
*
|
|
27522
|
+
* SPDX-License-Identifier: MIT
|
|
27523
|
+
*
|
|
27524
|
+
* This source code is licensed under the MIT license found in the
|
|
27525
|
+
* LICENSE file in the root directory of this source tree.
|
|
27520
27526
|
*/
|
|
27521
|
-
|
|
27522
|
-
|
|
27523
|
-
|
|
27524
|
-
|
|
27525
|
-
|
|
27526
|
-
|
|
27527
|
-
|
|
27528
|
-
|
|
27529
|
-
|
|
27530
|
-
|
|
27531
|
-
|
|
27532
|
-
|
|
27533
|
-
|
|
27534
|
-
|
|
27535
|
-
|
|
27536
|
-
|
|
27537
|
-
|
|
27538
|
-
for (var i in style) {
|
|
27539
|
-
if (element.style[i] !== style[i]) {
|
|
27540
|
-
element.style[i] = style[i];
|
|
27527
|
+
// Manually forked from https://github.com/tbranyen/hyperlist to remove
|
|
27528
|
+
// features a direct document calls
|
|
27529
|
+
//
|
|
27530
|
+
// Hyperlist is licensed MIT. https://github.com/tbranyen/hyperlist
|
|
27531
|
+
const isNumber = (input) => !Number.isNaN(Number(input));
|
|
27532
|
+
const addClass = (element, className) => {
|
|
27533
|
+
element.classList.add(className);
|
|
27534
|
+
};
|
|
27535
|
+
class VirtualList {
|
|
27536
|
+
static create(element, userProvidedConfig = VirtualList.defaultConfig) {
|
|
27537
|
+
return new VirtualList(element, userProvidedConfig);
|
|
27538
|
+
}
|
|
27539
|
+
static mergeStyle(element, style) {
|
|
27540
|
+
for (let i in style) {
|
|
27541
|
+
if (element.style[i] !== style[i]) {
|
|
27542
|
+
element.style[i] = style[i];
|
|
27543
|
+
}
|
|
27541
27544
|
}
|
|
27542
|
-
}
|
|
27543
27545
|
}
|
|
27544
|
-
|
|
27545
|
-
|
|
27546
|
-
|
|
27547
|
-
|
|
27548
|
-
|
|
27549
|
-
|
|
27550
|
-
|
|
27551
|
-
|
|
27552
|
-
|
|
27553
|
-
|
|
27554
|
-
|
|
27555
|
-
|
|
27556
|
-
|
|
27557
|
-
|
|
27558
|
-
|
|
27559
|
-
|
|
27560
|
-
|
|
27561
|
-
|
|
27562
|
-
|
|
27563
|
-
|
|
27564
|
-
|
|
27565
|
-
|
|
27566
|
-
|
|
27567
|
-
|
|
27568
|
-
|
|
27569
|
-
|
|
27570
|
-
|
|
27571
|
-
|
|
27546
|
+
static getMaxBrowserHeight() {
|
|
27547
|
+
// Create two elements, the wrapper is `1px` tall and is transparent and
|
|
27548
|
+
// positioned at the top of the page. Inside that is an element that gets
|
|
27549
|
+
// set to 1 billion pixels. Then reads the max height the browser can
|
|
27550
|
+
// calculate.
|
|
27551
|
+
const wrapper = document.createElement('div');
|
|
27552
|
+
const fixture = document.createElement('div');
|
|
27553
|
+
// As said above, these values get set to put the fixture elements into the
|
|
27554
|
+
// right visual state.
|
|
27555
|
+
VirtualList.mergeStyle(wrapper, {
|
|
27556
|
+
position: 'absolute',
|
|
27557
|
+
height: '1px',
|
|
27558
|
+
opacity: 0,
|
|
27559
|
+
});
|
|
27560
|
+
VirtualList.mergeStyle(fixture, { height: '1e7px' });
|
|
27561
|
+
// Add the fixture into the wrapper element.
|
|
27562
|
+
wrapper.appendChild(fixture);
|
|
27563
|
+
// Apply to the page, the values won't kick in unless this is attached.
|
|
27564
|
+
document.body.appendChild(wrapper);
|
|
27565
|
+
// Get the maximum element height in pixels.
|
|
27566
|
+
const maxElementHeight = fixture.offsetHeight;
|
|
27567
|
+
// Remove the element immediately after reading the value.
|
|
27568
|
+
document.body.removeChild(wrapper);
|
|
27569
|
+
return maxElementHeight;
|
|
27570
|
+
}
|
|
27571
|
+
constructor(element, userProvidedConfig) {
|
|
27572
|
+
this._lastRepaint = null;
|
|
27573
|
+
this._maxElementHeight = VirtualList.getMaxBrowserHeight();
|
|
27574
|
+
this.refresh(element, userProvidedConfig);
|
|
27575
|
+
const config = this._config;
|
|
27576
|
+
// Create internal render loop.
|
|
27577
|
+
const render = () => {
|
|
27578
|
+
const scrollTop = this._getScrollPosition();
|
|
27579
|
+
const lastRepaint = this._lastRepaint;
|
|
27580
|
+
this._renderAnimationFrame = window.requestAnimationFrame(render);
|
|
27581
|
+
if (scrollTop === lastRepaint) {
|
|
27582
|
+
return;
|
|
27583
|
+
}
|
|
27584
|
+
const diff = lastRepaint ? scrollTop - lastRepaint : 0;
|
|
27585
|
+
if (!lastRepaint || diff < 0 || diff > this._averageHeight) {
|
|
27586
|
+
let rendered = this._renderChunk();
|
|
27587
|
+
this._lastRepaint = scrollTop;
|
|
27588
|
+
if (rendered !== false && typeof config.afterRender === 'function') {
|
|
27589
|
+
config.afterRender();
|
|
27590
|
+
}
|
|
27591
|
+
}
|
|
27592
|
+
};
|
|
27593
|
+
render();
|
|
27572
27594
|
}
|
|
27573
|
-
|
|
27574
|
-
|
|
27575
|
-
function HyperList(element, userProvidedConfig) {
|
|
27576
|
-
var _this = this;
|
|
27577
|
-
|
|
27578
|
-
_classCallCheck(this, HyperList);
|
|
27579
|
-
|
|
27580
|
-
this._config = {};
|
|
27581
|
-
this._lastRepaint = null;
|
|
27582
|
-
this._maxElementHeight = HyperList.getMaxBrowserHeight();
|
|
27583
|
-
|
|
27584
|
-
this.refresh(element, userProvidedConfig);
|
|
27585
|
-
|
|
27586
|
-
var config = this._config;
|
|
27587
|
-
|
|
27588
|
-
// Create internal render loop.
|
|
27589
|
-
var render = function render() {
|
|
27590
|
-
var scrollTop = _this._getScrollPosition();
|
|
27591
|
-
var lastRepaint = _this._lastRepaint;
|
|
27592
|
-
|
|
27593
|
-
_this._renderAnimationFrame = window.requestAnimationFrame(render);
|
|
27594
|
-
|
|
27595
|
-
if (scrollTop === lastRepaint) {
|
|
27596
|
-
return;
|
|
27597
|
-
}
|
|
27598
|
-
|
|
27599
|
-
var diff = lastRepaint ? scrollTop - lastRepaint : 0;
|
|
27600
|
-
if (!lastRepaint || diff < 0 || diff > _this._averageHeight) {
|
|
27601
|
-
var rendered = _this._renderChunk();
|
|
27602
|
-
|
|
27603
|
-
_this._lastRepaint = scrollTop;
|
|
27604
|
-
|
|
27605
|
-
if (rendered !== false && typeof config.afterRender === 'function') {
|
|
27606
|
-
config.afterRender();
|
|
27607
|
-
}
|
|
27608
|
-
}
|
|
27609
|
-
};
|
|
27610
|
-
|
|
27611
|
-
render();
|
|
27612
|
-
}
|
|
27613
|
-
|
|
27614
|
-
_createClass(HyperList, [{
|
|
27615
|
-
key: 'destroy',
|
|
27616
|
-
value: function destroy() {
|
|
27617
|
-
window.cancelAnimationFrame(this._renderAnimationFrame);
|
|
27595
|
+
destroy() {
|
|
27596
|
+
window.cancelAnimationFrame(this._renderAnimationFrame);
|
|
27618
27597
|
}
|
|
27619
|
-
|
|
27620
|
-
|
|
27621
|
-
|
|
27622
|
-
|
|
27623
|
-
|
|
27624
|
-
Object.assign(this._config, defaultConfig, userProvidedConfig);
|
|
27625
|
-
|
|
27626
|
-
if (!element || element.nodeType !== 1) {
|
|
27627
|
-
throw new Error('HyperList requires a valid DOM Node container');
|
|
27628
|
-
}
|
|
27629
|
-
|
|
27630
|
-
this._element = element;
|
|
27631
|
-
|
|
27632
|
-
var config = this._config;
|
|
27633
|
-
|
|
27634
|
-
var scroller = this._scroller || config.scroller || document.createElement(config.scrollerTagName || 'tr');
|
|
27635
|
-
|
|
27636
|
-
// Default configuration option `useFragment` to `true`.
|
|
27637
|
-
if (typeof config.useFragment !== 'boolean') {
|
|
27638
|
-
this._config.useFragment = true;
|
|
27639
|
-
}
|
|
27640
|
-
|
|
27641
|
-
if (!config.generate) {
|
|
27642
|
-
throw new Error('Missing required `generate` function');
|
|
27643
|
-
}
|
|
27644
|
-
|
|
27645
|
-
if (!isNumber(config.total)) {
|
|
27646
|
-
throw new Error('Invalid required `total` value, expected number');
|
|
27647
|
-
}
|
|
27648
|
-
|
|
27649
|
-
if (!Array.isArray(config.itemHeight) && !isNumber(config.itemHeight)) {
|
|
27650
|
-
throw new Error('\n Invalid required `itemHeight` value, expected number or array\n '.trim());
|
|
27651
|
-
} else if (isNumber(config.itemHeight)) {
|
|
27652
|
-
this._itemHeights = Array(config.total).fill(config.itemHeight);
|
|
27653
|
-
} else {
|
|
27654
|
-
this._itemHeights = config.itemHeight;
|
|
27655
|
-
}
|
|
27656
|
-
|
|
27657
|
-
// Width and height should be coerced to string representations. Either in
|
|
27658
|
-
// `%` or `px`.
|
|
27659
|
-
Object.keys(defaultConfig).filter(function (prop) {
|
|
27660
|
-
return prop in config;
|
|
27661
|
-
}).forEach(function (prop) {
|
|
27662
|
-
var value = config[prop];
|
|
27663
|
-
var isValueNumber = isNumber(value);
|
|
27664
|
-
|
|
27665
|
-
if (value && typeof value !== 'string' && typeof value !== 'number') {
|
|
27666
|
-
var msg = 'Invalid optional `' + prop + '`, expected string or number';
|
|
27667
|
-
throw new Error(msg);
|
|
27668
|
-
} else if (isValueNumber) {
|
|
27669
|
-
config[prop] = value + 'px';
|
|
27598
|
+
refresh(element, userProvidedConfig = VirtualList.defaultConfig) {
|
|
27599
|
+
this._config = userProvidedConfig;
|
|
27600
|
+
if (!element || element.nodeType !== 1) {
|
|
27601
|
+
throw new Error('HyperList requires a valid DOM Node container');
|
|
27670
27602
|
}
|
|
27671
|
-
|
|
27672
|
-
|
|
27673
|
-
|
|
27674
|
-
|
|
27675
|
-
|
|
27676
|
-
|
|
27677
|
-
|
|
27678
|
-
|
|
27679
|
-
// Compute the containerHeight as number
|
|
27680
|
-
var numberValue = isValueNumber ? value : parseInt(value.replace(/px|%/, ''), 10);
|
|
27681
|
-
var innerSize = window[isHoriz ? 'innerWidth' : 'innerHeight'];
|
|
27682
|
-
|
|
27683
|
-
if (isValuePercent) {
|
|
27684
|
-
this._containerSize = innerSize * numberValue / 100;
|
|
27685
|
-
} else {
|
|
27686
|
-
this._containerSize = isNumber(value) ? value : numberValue;
|
|
27603
|
+
this._element = element;
|
|
27604
|
+
const config = this._config;
|
|
27605
|
+
const scroller = this._scroller ||
|
|
27606
|
+
config.scroller ||
|
|
27607
|
+
document.createElement(config.scrollerTagName || 'tr');
|
|
27608
|
+
// Default configuration option `useFragment` to `true`.
|
|
27609
|
+
if (typeof config.useFragment !== 'boolean') {
|
|
27610
|
+
this._config.useFragment = true;
|
|
27687
27611
|
}
|
|
27688
|
-
|
|
27689
|
-
|
|
27690
|
-
var scrollContainer = config.scrollContainer;
|
|
27691
|
-
var scrollerHeight = config.itemHeight * config.total;
|
|
27692
|
-
var maxElementHeight = this._maxElementHeight;
|
|
27693
|
-
|
|
27694
|
-
if (scrollerHeight > maxElementHeight) {
|
|
27695
|
-
console.warn(['HyperList: The maximum element height', maxElementHeight + 'px has', 'been exceeded; please reduce your item height.'].join(' '));
|
|
27696
|
-
}
|
|
27697
|
-
|
|
27698
|
-
// Decorate the container element with styles that will match
|
|
27699
|
-
// the user supplied configuration.
|
|
27700
|
-
var elementStyle = {
|
|
27701
|
-
width: '' + config.width,
|
|
27702
|
-
height: scrollContainer ? scrollerHeight + 'px' : '' + config.height,
|
|
27703
|
-
overflow: scrollContainer ? 'none' : 'auto',
|
|
27704
|
-
position: 'relative'
|
|
27705
|
-
};
|
|
27706
|
-
|
|
27707
|
-
HyperList.mergeStyle(element, elementStyle);
|
|
27708
|
-
|
|
27709
|
-
if (scrollContainer) {
|
|
27710
|
-
HyperList.mergeStyle(config.scrollContainer, { overflow: 'auto' });
|
|
27711
|
-
}
|
|
27712
|
-
|
|
27713
|
-
var scrollerStyle = (_scrollerStyle = {
|
|
27714
|
-
opacity: '0',
|
|
27715
|
-
position: 'absolute'
|
|
27716
|
-
}, _defineProperty(_scrollerStyle, isHoriz ? 'height' : 'width', '1px'), _defineProperty(_scrollerStyle, isHoriz ? 'width' : 'height', scrollerHeight + 'px'), _scrollerStyle);
|
|
27717
|
-
|
|
27718
|
-
HyperList.mergeStyle(scroller, scrollerStyle);
|
|
27719
|
-
|
|
27720
|
-
// Only append the scroller element once.
|
|
27721
|
-
if (!this._scroller) {
|
|
27722
|
-
element.appendChild(scroller);
|
|
27723
|
-
}
|
|
27724
|
-
|
|
27725
|
-
var padding = this._computeScrollPadding();
|
|
27726
|
-
this._scrollPaddingBottom = padding.bottom;
|
|
27727
|
-
this._scrollPaddingTop = padding.top;
|
|
27728
|
-
|
|
27729
|
-
// Set the scroller instance.
|
|
27730
|
-
this._scroller = scroller;
|
|
27731
|
-
this._scrollHeight = this._computeScrollHeight();
|
|
27732
|
-
|
|
27733
|
-
// Reuse the item positions if refreshed, otherwise set to empty array.
|
|
27734
|
-
this._itemPositions = this._itemPositions || Array(config.total).fill(0);
|
|
27735
|
-
|
|
27736
|
-
// Each index in the array should represent the position in the DOM.
|
|
27737
|
-
this._computePositions(0);
|
|
27738
|
-
|
|
27739
|
-
// Render after refreshing. Force render if we're calling refresh manually.
|
|
27740
|
-
this._renderChunk(this._lastRepaint !== null);
|
|
27741
|
-
|
|
27742
|
-
if (typeof config.afterRender === 'function') {
|
|
27743
|
-
config.afterRender();
|
|
27744
|
-
}
|
|
27745
|
-
}
|
|
27746
|
-
}, {
|
|
27747
|
-
key: '_getRow',
|
|
27748
|
-
value: function _getRow(i) {
|
|
27749
|
-
var config = this._config;
|
|
27750
|
-
var item = config.generate(i);
|
|
27751
|
-
var height = item.height;
|
|
27752
|
-
|
|
27753
|
-
if (height !== undefined && isNumber(height)) {
|
|
27754
|
-
item = item.element;
|
|
27755
|
-
|
|
27756
|
-
// The height isn't the same as predicted, compute positions again
|
|
27757
|
-
if (height !== this._itemHeights[i]) {
|
|
27758
|
-
this._itemHeights[i] = height;
|
|
27759
|
-
this._computePositions(i);
|
|
27760
|
-
this._scrollHeight = this._computeScrollHeight(i);
|
|
27612
|
+
if (!config.generate) {
|
|
27613
|
+
throw new Error('Missing required `generate` function');
|
|
27761
27614
|
}
|
|
27762
|
-
|
|
27763
|
-
|
|
27764
|
-
}
|
|
27765
|
-
|
|
27766
|
-
if (!item || item.nodeType !== 1) {
|
|
27767
|
-
throw new Error('Generator did not return a DOM Node for index: ' + i);
|
|
27768
|
-
}
|
|
27769
|
-
|
|
27770
|
-
addClass(item, config.rowClassName || 'vrow');
|
|
27771
|
-
|
|
27772
|
-
var top = this._itemPositions[i] + this._scrollPaddingTop;
|
|
27773
|
-
|
|
27774
|
-
HyperList.mergeStyle(item, _defineProperty({
|
|
27775
|
-
position: 'absolute'
|
|
27776
|
-
}, config.horizontal ? 'left' : 'top', top + 'px'));
|
|
27777
|
-
|
|
27778
|
-
return item;
|
|
27779
|
-
}
|
|
27780
|
-
}, {
|
|
27781
|
-
key: '_getScrollPosition',
|
|
27782
|
-
value: function _getScrollPosition() {
|
|
27783
|
-
var config = this._config;
|
|
27784
|
-
|
|
27785
|
-
if (typeof config.overrideScrollPosition === 'function') {
|
|
27786
|
-
return config.overrideScrollPosition();
|
|
27787
|
-
}
|
|
27788
|
-
|
|
27789
|
-
return this._element[config.horizontal ? 'scrollLeft' : 'scrollTop'];
|
|
27790
|
-
}
|
|
27791
|
-
}, {
|
|
27792
|
-
key: '_renderChunk',
|
|
27793
|
-
value: function _renderChunk(force) {
|
|
27794
|
-
var config = this._config;
|
|
27795
|
-
var element = this._element;
|
|
27796
|
-
var scrollTop = this._getScrollPosition();
|
|
27797
|
-
var total = config.total;
|
|
27798
|
-
|
|
27799
|
-
var from = config.reverse ? this._getReverseFrom(scrollTop) : this._getFrom(scrollTop) - 1;
|
|
27800
|
-
|
|
27801
|
-
if (from < 0 || from - this._screenItemsLen < 0) {
|
|
27802
|
-
from = 0;
|
|
27803
|
-
}
|
|
27804
|
-
|
|
27805
|
-
if (!force && this._lastFrom === from) {
|
|
27806
|
-
return false;
|
|
27807
|
-
}
|
|
27808
|
-
|
|
27809
|
-
this._lastFrom = from;
|
|
27810
|
-
|
|
27811
|
-
var to = from + this._cachedItemsLen;
|
|
27812
|
-
|
|
27813
|
-
if (to > total || to + this._cachedItemsLen > total) {
|
|
27814
|
-
to = total;
|
|
27815
|
-
}
|
|
27816
|
-
|
|
27817
|
-
// Append all the new rows in a document fragment that we will later append
|
|
27818
|
-
// to the parent node
|
|
27819
|
-
var fragment = config.useFragment ? document.createDocumentFragment() : []
|
|
27820
|
-
// Sometimes you'll pass fake elements to this tool and Fragments require
|
|
27821
|
-
// real elements.
|
|
27822
|
-
|
|
27823
|
-
|
|
27824
|
-
// The element that forces the container to scroll.
|
|
27825
|
-
;var scroller = this._scroller;
|
|
27826
|
-
|
|
27827
|
-
// Keep the scroller in the list of children.
|
|
27828
|
-
fragment[config.useFragment ? 'appendChild' : 'push'](scroller);
|
|
27829
|
-
|
|
27830
|
-
for (var i = from; i < to; i++) {
|
|
27831
|
-
var row = this._getRow(i);
|
|
27832
|
-
|
|
27833
|
-
fragment[config.useFragment ? 'appendChild' : 'push'](row);
|
|
27834
|
-
}
|
|
27835
|
-
|
|
27836
|
-
if (config.applyPatch) {
|
|
27837
|
-
return config.applyPatch(element, fragment);
|
|
27838
|
-
}
|
|
27839
|
-
|
|
27840
|
-
element.innerHTML = '';
|
|
27841
|
-
element.appendChild(fragment);
|
|
27842
|
-
}
|
|
27843
|
-
}, {
|
|
27844
|
-
key: '_computePositions',
|
|
27845
|
-
value: function _computePositions() {
|
|
27846
|
-
var from = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 1;
|
|
27847
|
-
|
|
27848
|
-
var config = this._config;
|
|
27849
|
-
var total = config.total;
|
|
27850
|
-
var reverse = config.reverse;
|
|
27851
|
-
|
|
27852
|
-
if (from < 1 && !reverse) {
|
|
27853
|
-
from = 1;
|
|
27854
|
-
}
|
|
27855
|
-
|
|
27856
|
-
for (var i = from; i < total; i++) {
|
|
27857
|
-
if (reverse) {
|
|
27858
|
-
if (i === 0) {
|
|
27859
|
-
this._itemPositions[0] = this._scrollHeight - this._itemHeights[0];
|
|
27860
|
-
} else {
|
|
27861
|
-
this._itemPositions[i] = this._itemPositions[i - 1] - this._itemHeights[i];
|
|
27862
|
-
}
|
|
27863
|
-
} else {
|
|
27864
|
-
this._itemPositions[i] = this._itemHeights[i - 1] + this._itemPositions[i - 1];
|
|
27615
|
+
if (!isNumber(config.total)) {
|
|
27616
|
+
throw new Error('Invalid required `total` value, expected number');
|
|
27865
27617
|
}
|
|
27866
|
-
|
|
27867
|
-
|
|
27868
|
-
|
|
27869
|
-
|
|
27870
|
-
|
|
27871
|
-
|
|
27872
|
-
|
|
27873
|
-
|
|
27874
|
-
|
|
27875
|
-
|
|
27876
|
-
|
|
27877
|
-
|
|
27878
|
-
|
|
27879
|
-
|
|
27880
|
-
|
|
27881
|
-
|
|
27882
|
-
|
|
27883
|
-
|
|
27884
|
-
|
|
27885
|
-
|
|
27886
|
-
|
|
27887
|
-
|
|
27888
|
-
|
|
27889
|
-
|
|
27890
|
-
|
|
27891
|
-
var middle = Math.floor(total / 2);
|
|
27892
|
-
var averageHeight = total % 2 === 0 ? (sortedItemHeights[middle] + sortedItemHeights[middle - 1]) / 2 : sortedItemHeights[middle];
|
|
27893
|
-
|
|
27894
|
-
var clientProp = isHoriz ? 'clientWidth' : 'clientHeight';
|
|
27895
|
-
var element = config.scrollContainer ? config.scrollContainer : this._element;
|
|
27896
|
-
var containerHeight = element[clientProp] ? element[clientProp] : this._containerSize;
|
|
27897
|
-
this._screenItemsLen = Math.ceil(containerHeight / averageHeight);
|
|
27898
|
-
this._containerSize = containerHeight;
|
|
27899
|
-
|
|
27900
|
-
// Cache 3 times the number of items that fit in the container viewport.
|
|
27901
|
-
this._cachedItemsLen = Math.max(this._cachedItemsLen || 0, this._screenItemsLen * 3);
|
|
27902
|
-
this._averageHeight = averageHeight;
|
|
27903
|
-
|
|
27904
|
-
if (config.reverse) {
|
|
27905
|
-
window.requestAnimationFrame(function () {
|
|
27906
|
-
if (isHoriz) {
|
|
27907
|
-
_this2._element.scrollLeft = scrollHeight;
|
|
27908
|
-
} else {
|
|
27909
|
-
_this2._element.scrollTop = scrollHeight;
|
|
27910
|
-
}
|
|
27618
|
+
if (!Array.isArray(config.itemHeight) && !isNumber(config.itemHeight)) {
|
|
27619
|
+
throw new Error(`
|
|
27620
|
+
Invalid required \`itemHeight\` value, expected number or array
|
|
27621
|
+
`.trim());
|
|
27622
|
+
}
|
|
27623
|
+
else if (isNumber(config.itemHeight)) {
|
|
27624
|
+
this._itemHeights = Array(config.total).fill(config.itemHeight);
|
|
27625
|
+
}
|
|
27626
|
+
else {
|
|
27627
|
+
this._itemHeights = [config.itemHeight];
|
|
27628
|
+
}
|
|
27629
|
+
// Width and height should be coerced to string representations. Either in
|
|
27630
|
+
// `%` or `px`.
|
|
27631
|
+
Object.keys(VirtualList.defaultConfig)
|
|
27632
|
+
.filter((prop) => prop in config)
|
|
27633
|
+
.forEach((prop) => {
|
|
27634
|
+
const value = config[prop];
|
|
27635
|
+
const isValueNumber = isNumber(value);
|
|
27636
|
+
if (value && typeof value !== 'string' && typeof value !== 'number') {
|
|
27637
|
+
let msg = `Invalid optional \`${prop}\`, expected string or number`;
|
|
27638
|
+
throw new Error(msg);
|
|
27639
|
+
}
|
|
27640
|
+
else if (isValueNumber) {
|
|
27641
|
+
config[prop] = `${value}px`;
|
|
27642
|
+
}
|
|
27911
27643
|
});
|
|
27912
|
-
|
|
27913
|
-
|
|
27914
|
-
|
|
27915
|
-
|
|
27916
|
-
|
|
27917
|
-
|
|
27918
|
-
|
|
27919
|
-
|
|
27920
|
-
|
|
27921
|
-
|
|
27922
|
-
|
|
27923
|
-
|
|
27924
|
-
|
|
27925
|
-
|
|
27926
|
-
|
|
27927
|
-
|
|
27928
|
-
|
|
27929
|
-
|
|
27930
|
-
|
|
27931
|
-
|
|
27932
|
-
|
|
27933
|
-
|
|
27934
|
-
|
|
27935
|
-
|
|
27936
|
-
|
|
27937
|
-
|
|
27938
|
-
}
|
|
27939
|
-
|
|
27940
|
-
|
|
27941
|
-
|
|
27942
|
-
|
|
27644
|
+
const isHorizontal = Boolean(config.horizontal);
|
|
27645
|
+
const value = config[isHorizontal ? 'width' : 'height'];
|
|
27646
|
+
if (value) {
|
|
27647
|
+
const isValueNumber = isNumber(value);
|
|
27648
|
+
const isValuePercent = isValueNumber ? false : value.slice(-1) === '%';
|
|
27649
|
+
// Compute the containerHeight as number
|
|
27650
|
+
const numberValue = isValueNumber
|
|
27651
|
+
? parseInt(value, 10)
|
|
27652
|
+
: parseInt(value.replace(/px|%/, ''), 10);
|
|
27653
|
+
const innerSize = window[isHorizontal ? 'innerWidth' : 'innerHeight'];
|
|
27654
|
+
if (isValuePercent) {
|
|
27655
|
+
this._containerSize = (innerSize * numberValue) / 100;
|
|
27656
|
+
}
|
|
27657
|
+
else {
|
|
27658
|
+
this._containerSize = isNumber(value) ? value : numberValue;
|
|
27659
|
+
}
|
|
27660
|
+
}
|
|
27661
|
+
const scrollContainer = config.scrollContainer;
|
|
27662
|
+
const scrollerHeight = config.itemHeight * config.total;
|
|
27663
|
+
const maxElementHeight = this._maxElementHeight;
|
|
27664
|
+
if (scrollerHeight > maxElementHeight) {
|
|
27665
|
+
console.warn([
|
|
27666
|
+
'HyperList: The maximum element height',
|
|
27667
|
+
maxElementHeight + 'px has',
|
|
27668
|
+
'been exceeded; please reduce your item height.',
|
|
27669
|
+
].join(' '));
|
|
27670
|
+
}
|
|
27671
|
+
// Decorate the container element with styles that will match
|
|
27672
|
+
// the user supplied configuration.
|
|
27673
|
+
const elementStyle = {
|
|
27674
|
+
width: `${config.width}`,
|
|
27675
|
+
height: scrollContainer ? `${scrollerHeight}px` : `${config.height}`,
|
|
27676
|
+
overflow: scrollContainer ? 'none' : 'auto',
|
|
27677
|
+
position: 'relative',
|
|
27943
27678
|
};
|
|
27944
|
-
|
|
27945
|
-
|
|
27946
|
-
|
|
27947
|
-
|
|
27679
|
+
VirtualList.mergeStyle(element, elementStyle);
|
|
27680
|
+
if (scrollContainer) {
|
|
27681
|
+
VirtualList.mergeStyle(config.scrollContainer, { overflow: 'auto' });
|
|
27682
|
+
}
|
|
27683
|
+
const scrollerStyle = {
|
|
27684
|
+
opacity: '0',
|
|
27685
|
+
position: 'absolute',
|
|
27686
|
+
[isHorizontal ? 'height' : 'width']: '1px',
|
|
27687
|
+
[isHorizontal ? 'width' : 'height']: `${scrollerHeight}px`,
|
|
27948
27688
|
};
|
|
27949
|
-
|
|
27689
|
+
VirtualList.mergeStyle(scroller, scrollerStyle);
|
|
27690
|
+
// Only append the scroller element once.
|
|
27691
|
+
if (!this._scroller) {
|
|
27692
|
+
element.appendChild(scroller);
|
|
27693
|
+
}
|
|
27694
|
+
const padding = this._computeScrollPadding();
|
|
27695
|
+
this._scrollPaddingBottom = padding.bottom;
|
|
27696
|
+
this._scrollPaddingTop = padding.top;
|
|
27697
|
+
// Set the scroller instance.
|
|
27698
|
+
this._scroller = scroller;
|
|
27699
|
+
this._scrollHeight = this._computeScrollHeight();
|
|
27700
|
+
// Reuse the item positions if refreshed, otherwise set to empty array.
|
|
27701
|
+
this._itemPositions = this._itemPositions || Array(config.total).fill(0);
|
|
27702
|
+
// Each index in the array should represent the position in the DOM.
|
|
27703
|
+
this._computePositions(0);
|
|
27704
|
+
// Render after refreshing. Force render if we're calling refresh manually.
|
|
27705
|
+
this._renderChunk(this._lastRepaint !== null);
|
|
27706
|
+
if (typeof config.afterRender === 'function') {
|
|
27707
|
+
config.afterRender();
|
|
27708
|
+
}
|
|
27709
|
+
}
|
|
27710
|
+
_getRow(i) {
|
|
27711
|
+
const config = this._config;
|
|
27712
|
+
let item = config.generate(i);
|
|
27713
|
+
let height = item.height;
|
|
27714
|
+
if (height !== undefined && isNumber(height)) {
|
|
27715
|
+
item = item.element;
|
|
27716
|
+
// The height isn't the same as predicted, compute positions again
|
|
27717
|
+
if (height !== this._itemHeights[i]) {
|
|
27718
|
+
this._itemHeights[i] = height;
|
|
27719
|
+
this._computePositions(i);
|
|
27720
|
+
this._scrollHeight = this._computeScrollHeight();
|
|
27721
|
+
}
|
|
27722
|
+
}
|
|
27723
|
+
else {
|
|
27724
|
+
height = this._itemHeights[i];
|
|
27725
|
+
}
|
|
27726
|
+
if (!item || item.nodeType !== 1) {
|
|
27727
|
+
throw new Error(`Generator did not return a DOM Node for index: ${i}`);
|
|
27728
|
+
}
|
|
27729
|
+
addClass(item, config.rowClassName || 'vrow');
|
|
27730
|
+
const top = this._itemPositions[i] + this._scrollPaddingTop;
|
|
27731
|
+
VirtualList.mergeStyle(item, {
|
|
27732
|
+
position: 'absolute',
|
|
27733
|
+
[config.horizontal ? 'left' : 'top']: `${top}px`,
|
|
27734
|
+
});
|
|
27735
|
+
return item;
|
|
27950
27736
|
}
|
|
27951
|
-
|
|
27952
|
-
|
|
27953
|
-
|
|
27954
|
-
|
|
27955
|
-
|
|
27956
|
-
|
|
27957
|
-
i++;
|
|
27958
|
-
}
|
|
27959
|
-
|
|
27960
|
-
return i;
|
|
27737
|
+
_getScrollPosition() {
|
|
27738
|
+
const config = this._config;
|
|
27739
|
+
if (typeof config.overrideScrollPosition === 'function') {
|
|
27740
|
+
return config.overrideScrollPosition();
|
|
27741
|
+
}
|
|
27742
|
+
return this._element[config.horizontal ? 'scrollLeft' : 'scrollTop'];
|
|
27961
27743
|
}
|
|
27962
|
-
|
|
27963
|
-
|
|
27964
|
-
|
|
27965
|
-
|
|
27966
|
-
|
|
27967
|
-
|
|
27968
|
-
|
|
27969
|
-
|
|
27970
|
-
|
|
27971
|
-
|
|
27744
|
+
_renderChunk(force = false) {
|
|
27745
|
+
const config = this._config;
|
|
27746
|
+
const element = this._element;
|
|
27747
|
+
const scrollTop = this._getScrollPosition();
|
|
27748
|
+
const total = config.total;
|
|
27749
|
+
let from = this._getFrom(scrollTop) - 1;
|
|
27750
|
+
if (from < 0 || from - this._screenItemsLen < 0) {
|
|
27751
|
+
from = 0;
|
|
27752
|
+
}
|
|
27753
|
+
if (!force && this._lastFrom === from) {
|
|
27754
|
+
return false;
|
|
27755
|
+
}
|
|
27756
|
+
this._lastFrom = from;
|
|
27757
|
+
let to = from + this._cachedItemsLen;
|
|
27758
|
+
if (to > total || to + this._cachedItemsLen > total) {
|
|
27759
|
+
to = total;
|
|
27760
|
+
}
|
|
27761
|
+
// Append all the new rows in a document fragment that we will later append
|
|
27762
|
+
// to the parent node
|
|
27763
|
+
const fragment = config.useFragment
|
|
27764
|
+
? document.createDocumentFragment()
|
|
27765
|
+
: [
|
|
27766
|
+
// Sometimes you'll pass fake elements to this tool and Fragments require
|
|
27767
|
+
// real elements.
|
|
27768
|
+
];
|
|
27769
|
+
// The element that forces the container to scroll.
|
|
27770
|
+
const scroller = this._scroller;
|
|
27771
|
+
// Keep the scroller in the list of children.
|
|
27772
|
+
fragment[config.useFragment ? 'appendChild' : 'push'](scroller);
|
|
27773
|
+
for (let i = from; i < to; i++) {
|
|
27774
|
+
let row = this._getRow(i);
|
|
27775
|
+
fragment[config.useFragment ? 'appendChild' : 'push'](row);
|
|
27776
|
+
}
|
|
27777
|
+
if (config.applyPatch) {
|
|
27778
|
+
return config.applyPatch(element, fragment);
|
|
27779
|
+
}
|
|
27780
|
+
element.innerHTML = '';
|
|
27781
|
+
element.appendChild(fragment);
|
|
27782
|
+
}
|
|
27783
|
+
_computePositions(from = 1) {
|
|
27784
|
+
const config = this._config;
|
|
27785
|
+
const total = config.total;
|
|
27786
|
+
if (from < 1) {
|
|
27787
|
+
from = 1;
|
|
27788
|
+
}
|
|
27789
|
+
for (let i = from; i < total; i++) {
|
|
27790
|
+
this._itemPositions[i] =
|
|
27791
|
+
this._itemHeights[i - 1] + this._itemPositions[i - 1];
|
|
27792
|
+
}
|
|
27793
|
+
}
|
|
27794
|
+
_computeScrollHeight() {
|
|
27795
|
+
const config = this._config;
|
|
27796
|
+
const isHorizontal = Boolean(config.horizontal);
|
|
27797
|
+
const total = config.total;
|
|
27798
|
+
const scrollHeight = this._itemHeights.reduce((a, b) => a + b, 0) +
|
|
27799
|
+
this._scrollPaddingBottom +
|
|
27800
|
+
this._scrollPaddingTop;
|
|
27801
|
+
VirtualList.mergeStyle(this._scroller, {
|
|
27802
|
+
opacity: 0,
|
|
27803
|
+
position: 'absolute',
|
|
27804
|
+
top: '0px',
|
|
27805
|
+
[isHorizontal ? 'height' : 'width']: '1px',
|
|
27806
|
+
[isHorizontal ? 'width' : 'height']: `${scrollHeight}px`,
|
|
27807
|
+
});
|
|
27808
|
+
// Calculate the height median
|
|
27809
|
+
const sortedItemHeights = this._itemHeights.slice(0).sort((a, b) => a - b);
|
|
27810
|
+
const middle = Math.floor(total / 2);
|
|
27811
|
+
const averageHeight = total % 2 === 0
|
|
27812
|
+
? (sortedItemHeights[middle] + sortedItemHeights[middle - 1]) / 2
|
|
27813
|
+
: sortedItemHeights[middle];
|
|
27814
|
+
const clientProp = isHorizontal ? 'clientWidth' : 'clientHeight';
|
|
27815
|
+
const element = config.scrollContainer
|
|
27816
|
+
? config.scrollContainer
|
|
27817
|
+
: this._element;
|
|
27818
|
+
const containerHeight = element[clientProp]
|
|
27819
|
+
? element[clientProp]
|
|
27820
|
+
: this._containerSize;
|
|
27821
|
+
this._screenItemsLen = Math.ceil(containerHeight / averageHeight);
|
|
27822
|
+
this._containerSize = containerHeight;
|
|
27823
|
+
// Cache 3 times the number of items that fit in the container viewport.
|
|
27824
|
+
this._cachedItemsLen = Math.max(this._cachedItemsLen || 0, this._screenItemsLen * 3);
|
|
27825
|
+
this._averageHeight = averageHeight;
|
|
27826
|
+
return scrollHeight;
|
|
27827
|
+
}
|
|
27828
|
+
_computeScrollPadding() {
|
|
27829
|
+
const config = this._config;
|
|
27830
|
+
const isHoriz = Boolean(config.horizontal);
|
|
27831
|
+
const styles = window.getComputedStyle(this._element);
|
|
27832
|
+
const padding = (location) => {
|
|
27833
|
+
const cssValue = styles.getPropertyValue(`padding-${location}`);
|
|
27834
|
+
return parseInt(cssValue, 10) || 0;
|
|
27835
|
+
};
|
|
27836
|
+
if (isHoriz) {
|
|
27837
|
+
return {
|
|
27838
|
+
bottom: padding('right'),
|
|
27839
|
+
top: padding('left'),
|
|
27840
|
+
};
|
|
27841
|
+
}
|
|
27842
|
+
else {
|
|
27843
|
+
return {
|
|
27844
|
+
bottom: padding('bottom'),
|
|
27845
|
+
top: padding('top'),
|
|
27846
|
+
};
|
|
27847
|
+
}
|
|
27972
27848
|
}
|
|
27973
|
-
|
|
27974
|
-
|
|
27975
|
-
|
|
27976
|
-
|
|
27977
|
-
|
|
27978
|
-
|
|
27979
|
-
|
|
27980
|
-
|
|
27981
|
-
|
|
27982
|
-
|
|
27983
|
-
|
|
27984
|
-
|
|
27985
|
-
var Hyperlist = /*@__PURE__*/getDefaultExportFromCjs(hyperlist.exports);
|
|
27849
|
+
_getFrom(scrollTop) {
|
|
27850
|
+
let i = 0;
|
|
27851
|
+
while (this._itemPositions[i] < scrollTop) {
|
|
27852
|
+
i++;
|
|
27853
|
+
}
|
|
27854
|
+
return i;
|
|
27855
|
+
}
|
|
27856
|
+
}
|
|
27857
|
+
VirtualList.defaultConfig = {
|
|
27858
|
+
width: '100%',
|
|
27859
|
+
height: '100%',
|
|
27860
|
+
};
|
|
27986
27861
|
|
|
27987
27862
|
/*
|
|
27988
27863
|
* SPDX-FileCopyrightText: 2023 Siemens AG
|
|
@@ -28042,6 +27917,8 @@ class Tree {
|
|
|
28042
27917
|
}
|
|
28043
27918
|
};
|
|
28044
27919
|
return {
|
|
27920
|
+
width: '100%',
|
|
27921
|
+
height: '100%',
|
|
28045
27922
|
itemHeight: 32,
|
|
28046
27923
|
total: list.length,
|
|
28047
27924
|
generate: (index) => {
|
|
@@ -28178,6 +28055,7 @@ class Tree {
|
|
|
28178
28055
|
}
|
|
28179
28056
|
isListInitialized() {
|
|
28180
28057
|
var _a;
|
|
28058
|
+
//@ts-ignore
|
|
28181
28059
|
const itemPositions = (_a = this.hyperlist) === null || _a === void 0 ? void 0 : _a._itemPositions;
|
|
28182
28060
|
return (itemPositions !== undefined &&
|
|
28183
28061
|
itemPositions.length &&
|
|
@@ -28195,10 +28073,10 @@ class Tree {
|
|
|
28195
28073
|
}
|
|
28196
28074
|
(_a = this.hyperlist) === null || _a === void 0 ? void 0 : _a.destroy();
|
|
28197
28075
|
const config = this.getVirtualizerOptions();
|
|
28198
|
-
this.hyperlist = new
|
|
28076
|
+
this.hyperlist = new VirtualList(this.hostElement, config);
|
|
28199
28077
|
}
|
|
28200
28078
|
render() {
|
|
28201
|
-
return (hAsync(Host, { key: '
|
|
28079
|
+
return (hAsync(Host, { key: '23855bc97fd2eceb9af149d6b39e32ccb930b1d9' }, hAsync("slot", { key: '1fe905f3ded4b94af84d2e827f6056914c14fc45' })));
|
|
28202
28080
|
}
|
|
28203
28081
|
get hostElement() { return getElement(this); }
|
|
28204
28082
|
static get watchers() { return {
|
|
@@ -28234,16 +28112,16 @@ class TreeItem {
|
|
|
28234
28112
|
}
|
|
28235
28113
|
render() {
|
|
28236
28114
|
var _a, _b, _c;
|
|
28237
|
-
return (hAsync(Host, { key: '
|
|
28115
|
+
return (hAsync(Host, { key: '6fffa2b53d684d4b512c8f12c50a7ff6f436fd6a', class: {
|
|
28238
28116
|
selected: !!((_a = this.context) === null || _a === void 0 ? void 0 : _a.isSelected),
|
|
28239
|
-
} }, hAsync("div", { key: '
|
|
28117
|
+
} }, hAsync("div", { key: 'b6859cc2ae9b42f7da94a0d69a5d285b617ce1f1', class: "icon-toggle-container", onClick: (e) => {
|
|
28240
28118
|
e.preventDefault();
|
|
28241
28119
|
this.toggle.emit();
|
|
28242
|
-
} }, this.hasChildren ? (hAsync("ix-icon", { name:
|
|
28120
|
+
} }, this.hasChildren ? (hAsync("ix-icon", { name: iconChevronRight, size: "16", class: {
|
|
28243
28121
|
['icon-toggle-down']: !!((_b = this.context) === null || _b === void 0 ? void 0 : _b.isExpanded),
|
|
28244
|
-
}, color: `color-${((_c = this.context) === null || _c === void 0 ? void 0 : _c.isExpanded) ? 'primary' : 'std-text'}` })) : null), hAsync("div", { key: '
|
|
28122
|
+
}, color: `color-${((_c = this.context) === null || _c === void 0 ? void 0 : _c.isExpanded) ? 'primary' : 'std-text'}` })) : null), hAsync("div", { key: 'bcc331825f22ae1e470a3a03708261984c203368', class: "tree-node-container", onClick: () => {
|
|
28245
28123
|
this.itemClick.emit();
|
|
28246
|
-
} }, hAsync("div", { key: '
|
|
28124
|
+
} }, hAsync("div", { key: '9298a6130fbd9bb6c0f064e7cc1c35ef7cf417ba', class: "tree-node-text" }, this.text), hAsync("slot", { key: 'ee7cbdaaa22dde0b6ed599a1c9d20909f639d3db' }))));
|
|
28247
28125
|
}
|
|
28248
28126
|
static get style() { return IxTreeItemStyle0; }
|
|
28249
28127
|
static get cmpMeta() { return {
|
|
@@ -28412,7 +28290,7 @@ class Upload {
|
|
|
28412
28290
|
render() {
|
|
28413
28291
|
const disabled = this.disabled || this.state === UploadFileState.LOADING;
|
|
28414
28292
|
const _a = this.a11y, { 'aria-label': ariaLabel = 'Upload files' } = _a, a11y = __rest(_a, ['aria-label']);
|
|
28415
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
28293
|
+
return (hAsync(Host, Object.assign({ key: '82579837d4c9dcc86fb8fe7573cf648c21712c59' }, a11y, { "aria-disabled": disabled }), hAsync("div", { key: '8a749068bbf88d95be15c870dc8c35ab6f46f738', class: {
|
|
28416
28294
|
'file-upload-area': true,
|
|
28417
28295
|
'file-over': this.state !== UploadFileState.LOADING && this.isFileOver,
|
|
28418
28296
|
checking: this.state === UploadFileState.LOADING,
|
|
@@ -28422,9 +28300,9 @@ class Upload {
|
|
|
28422
28300
|
if (this.state !== UploadFileState.LOADING) {
|
|
28423
28301
|
this.fileDropped(e);
|
|
28424
28302
|
}
|
|
28425
|
-
}, onDragOver: (e) => this.fileOver(e), onDragLeave: () => this.fileLeave(), draggable: !this.disabled }, this.renderUploadState(), hAsync("div", { key: '
|
|
28303
|
+
}, onDragOver: (e) => this.fileOver(e), onDragLeave: () => this.fileLeave(), draggable: !this.disabled }, this.renderUploadState(), hAsync("div", { key: '7f7bdb5b79ad62d6f42ecc260bb229f73eeeb055' }, hAsync("input", { key: '86b5dd7603c671a897e4b2dbdedb024d83cbfd34', "aria-label": ariaLabel, "aria-disabled": disabled, multiple: this.multiple, type: "file", class: "upload-browser", id: "upload-browser", onChange: (e) => {
|
|
28426
28304
|
this.fileChangeEvent(e);
|
|
28427
|
-
}, accept: this.accept, disabled: disabled }), hAsync("ix-button", { key: '
|
|
28305
|
+
}, accept: this.accept, disabled: disabled }), hAsync("ix-button", { key: 'f0cfc2789b73110afd9b5f11c98a1b29fd10a55c', tabindex: "-1", outline: true, onClick: () => this.inputElement.click(), disabled: disabled }, this.i18nUploadFile)))));
|
|
28428
28306
|
}
|
|
28429
28307
|
get hostElement() { return getElement(this); }
|
|
28430
28308
|
static get style() { return IxUploadStyle0; }
|
|
@@ -28583,13 +28461,13 @@ class ValidationTooltip {
|
|
|
28583
28461
|
}
|
|
28584
28462
|
render() {
|
|
28585
28463
|
var _a, _b;
|
|
28586
|
-
return (hAsync(Host, { key: '
|
|
28464
|
+
return (hAsync(Host, { key: '460aa78f5dd3391a92b14828692f2fa110793b13' }, hAsync("slot", { key: '37e66c6a6bc556d95717378e974a0f991317e66f' }), hAsync("div", { key: 'cde0b66e90021043c49614a8b76a97e07b72d318', role: "tooltip", style: {
|
|
28587
28465
|
display: 'none',
|
|
28588
28466
|
position: 'fixed',
|
|
28589
28467
|
top: '0',
|
|
28590
28468
|
left: '0',
|
|
28591
28469
|
transform: `translate(${Math.round(((_a = this.tooltipPosition) === null || _a === void 0 ? void 0 : _a.x) || 0)}px,${Math.round(((_b = this.tooltipPosition) === null || _b === void 0 ? void 0 : _b.y) || 0)}px)`,
|
|
28592
|
-
}, class: "validation-tooltip text-default" }, this.message, hAsync("slot", { key: '
|
|
28470
|
+
}, class: "validation-tooltip text-default" }, this.message, hAsync("slot", { key: 'b933fa0044dda7b423ed095c1c6f142bd4cbb32b', name: "tooltip-message" }), hAsync("div", { key: '26fd0871dee60e14fc3a4c4c8fb42afb67758cd4', id: "arrow" }))));
|
|
28593
28471
|
}
|
|
28594
28472
|
get hostElement() { return getElement(this); }
|
|
28595
28473
|
static get watchers() { return {
|
|
@@ -28681,18 +28559,18 @@ class WorkflowStep {
|
|
|
28681
28559
|
}
|
|
28682
28560
|
render() {
|
|
28683
28561
|
const icons = !this.customIconSlot ? (hAsync(Fragment, null, hAsync("ix-icon", { color: "color-1", name: this.iconName === 'warning' ? 'triangle-filled' : 'circle-filled', class: "absolute", size: "24" }), hAsync("ix-icon", { color: this.iconColor, name: this.iconName, class: "absolute", size: "24" }))) : null;
|
|
28684
|
-
return (hAsync(Host, { key: '
|
|
28562
|
+
return (hAsync(Host, { key: 'c7a9468843919209ac0aea64ec545b06b1ff1c94', class: { 'host-vertical': this.vertical }, onClick: () => this.onStepClick() }, hAsync("div", { key: '8ed70b6fe5c65b483da3fbf557dc175bc7c3d526', tabIndex: 0, class: {
|
|
28685
28563
|
step: true,
|
|
28686
28564
|
selected: this.selected,
|
|
28687
28565
|
vertical: this.vertical,
|
|
28688
28566
|
disabled: this.disabled,
|
|
28689
28567
|
clickable: this.clickable && !this.disabled,
|
|
28690
|
-
} }, hAsync("div", { key: '
|
|
28568
|
+
} }, hAsync("div", { key: '11667e23f833fc8a05092d13e1df7d3eef0b7e10', class: "wrapper" }, hAsync("div", { key: '0861c819a27d729817f5394c2e79772a38930f5d', class: {
|
|
28691
28569
|
line: true,
|
|
28692
28570
|
selected: this.selected,
|
|
28693
28571
|
[this.status]: true,
|
|
28694
28572
|
[this.position]: true,
|
|
28695
|
-
} }), hAsync("div", { key: '
|
|
28573
|
+
} }), hAsync("div", { key: '1a60733de3019590a691c9d46db45369a8b8eca6', class: "iconWrapper" }, icons, hAsync("slot", { key: '031bc2ce3930fb0692bad430e54fffda8d609997', name: "custom-icon" }))), hAsync("div", { key: 'b6dec2578d5517d27c255460d089221f0e2a6ea2', class: "text" }, hAsync("slot", { key: 'dbeb4ebe5075bb2fa92b93978b6864b05154791f' })))));
|
|
28696
28574
|
}
|
|
28697
28575
|
get hostElement() { return getElement(this); }
|
|
28698
28576
|
static get watchers() { return {
|
|
@@ -28789,7 +28667,7 @@ class WorkflowSteps {
|
|
|
28789
28667
|
this.updateSteps();
|
|
28790
28668
|
}
|
|
28791
28669
|
render() {
|
|
28792
|
-
return (hAsync(Host, { key: '
|
|
28670
|
+
return (hAsync(Host, { key: '66d54af6c64b30b77aeb613c12fca16b9f4db815' }, hAsync("div", { key: 'c808cfa588110a8df4d2266cc55e6211a0afb697', class: { steps: true, vertical: this.vertical } }, hAsync("slot", { key: 'f713ffae56fdb063c5161965581f19eaef5798d3' }))));
|
|
28793
28671
|
}
|
|
28794
28672
|
get hostElement() { return getElement(this); }
|
|
28795
28673
|
static get style() { return IxWorkflowStepsStyle0; }
|