@siemens/ix 1.1.0-beta.5 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{base-button-eb1d47db.js → base-button-6ef79cb6.js} +3 -3
- package/dist/cjs/{index-1e4a348f.js → index-40761405.js} +467 -275
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/ix-animated-tab_2.cjs.entry.js +7 -12
- package/dist/cjs/ix-application-header.cjs.entry.js +2 -1
- package/dist/cjs/ix-basic-navigation.cjs.entry.js +2 -4
- package/dist/cjs/ix-blind.cjs.entry.js +2 -9
- package/dist/cjs/ix-breadcrumb_2.cjs.entry.js +6 -11
- package/dist/cjs/ix-button.cjs.entry.js +2 -25
- package/dist/cjs/ix-category-filter.cjs.entry.js +16 -27
- package/dist/cjs/ix-chip.cjs.entry.js +4 -13
- package/dist/cjs/ix-counter-pill.cjs.entry.js +3 -10
- package/dist/cjs/ix-date-picker_2.cjs.entry.js +23 -91
- package/dist/cjs/ix-date-time-card.cjs.entry.js +1 -7
- package/dist/cjs/ix-datetime-picker.cjs.entry.js +9 -53
- package/dist/cjs/ix-drawer.cjs.entry.js +2 -20
- package/dist/cjs/ix-dropdown_2.cjs.entry.js +7 -30
- package/dist/cjs/ix-event-list_2.cjs.entry.js +6 -19
- package/dist/cjs/ix-expanding-search.cjs.entry.js +1 -10
- package/dist/cjs/ix-filter-chip.cjs.entry.js +1 -4
- package/dist/cjs/ix-flip-tile_2.cjs.entry.js +4 -1
- package/dist/cjs/ix-group_3.cjs.entry.js +9 -26
- package/dist/cjs/ix-icon-button.cjs.entry.js +8 -17
- package/dist/cjs/ix-icon.cjs.entry.js +4 -1
- package/dist/cjs/ix-input-group.cjs.entry.js +1 -1
- package/dist/cjs/ix-kpi.cjs.entry.js +4 -7
- package/dist/cjs/ix-map-navigation_2.cjs.entry.js +44 -9
- package/dist/cjs/ix-menu_9.cjs.entry.js +26 -82
- package/dist/cjs/ix-message-bar.cjs.entry.js +3 -7
- package/dist/cjs/ix-modal-example.cjs.entry.js +1 -1
- package/dist/cjs/ix-modal_2.cjs.entry.js +2 -2
- package/dist/cjs/ix-pill.cjs.entry.js +4 -10
- package/dist/cjs/ix-select_2.cjs.entry.js +8 -34
- package/dist/cjs/ix-spinner.cjs.entry.js +1 -7
- package/dist/cjs/ix-split-button_2.cjs.entry.js +5 -28
- package/dist/cjs/ix-tab-item.cjs.entry.js +2 -22
- package/dist/cjs/ix-tabs.cjs.entry.js +5 -20
- package/dist/cjs/ix-tile.cjs.entry.js +1 -4
- package/dist/cjs/ix-toast_2.cjs.entry.js +4 -16
- package/dist/cjs/ix-toggle.cjs.entry.js +1 -26
- package/dist/cjs/ix-tree_2.cjs.entry.js +8 -5
- package/dist/cjs/ix-upload.cjs.entry.js +2 -46
- package/dist/cjs/ix-validation-tooltip.cjs.entry.js +4 -6
- package/dist/cjs/ix-workflow-step_2.cjs.entry.js +1 -31
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{modal-5be2b1a3.js → modal-42934387.js} +10 -27
- package/dist/cjs/my-component.cjs.entry.js +1 -1
- package/dist/cjs/siemens-ix.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/animated-tab/animated-tab.js +53 -44
- package/dist/collection/components/animated-tabs/animated-tabs.js +122 -123
- package/dist/collection/components/application-header/application-header.js +36 -31
- package/dist/collection/components/basic-navigation/basic-navigation.js +51 -52
- package/dist/collection/components/blind/blind.js +83 -83
- package/dist/collection/components/breadcrumb/breadcrumb.css +2 -7
- package/dist/collection/components/breadcrumb/breadcrumb.js +119 -129
- package/dist/collection/components/breadcrumb-item/breadcrumb-item.js +53 -44
- package/dist/collection/components/button/base-button.js +3 -3
- package/dist/collection/components/button/button.js +143 -161
- package/dist/collection/components/category-filter/category-filter.js +355 -372
- package/dist/collection/components/chip/chip.js +154 -160
- package/dist/collection/components/counter-pill/counter-pill.js +102 -105
- package/dist/collection/components/date-picker/date-picker.js +352 -406
- package/dist/collection/components/date-time-card/date-time-card.js +54 -60
- package/dist/collection/components/datetime-picker/datetime-picker.js +399 -442
- package/dist/collection/components/datetime-picker/event.js +0 -8
- package/dist/collection/components/drawer/drawer.js +185 -197
- package/dist/collection/components/dropdown/dropdown.css +2 -0
- package/dist/collection/components/dropdown/dropdown.js +240 -245
- package/dist/collection/components/dropdown-item/dropdown-item.js +147 -149
- package/dist/collection/components/event-list/event-list.js +85 -92
- package/dist/collection/components/event-list-item/event-list-item.js +136 -133
- package/dist/collection/components/expanding-search/expanding-search.js +112 -116
- package/dist/collection/components/filter-chip/filter-chip.js +51 -50
- package/dist/collection/components/flip-tile/flip-tile.js +74 -72
- package/dist/collection/components/flip-tile-content/flip-tile-content.js +12 -9
- package/dist/collection/components/group/group.js +201 -221
- package/dist/collection/components/group-dropdown-item/group-dropdown-item.js +53 -45
- package/dist/collection/components/group-item/group-item.js +165 -164
- package/dist/collection/components/icon/icon.js +77 -68
- package/dist/collection/components/icon-button/icon-button.js +207 -217
- package/dist/collection/components/input-group/input-group.js +12 -13
- package/dist/collection/components/kpi/kpi.js +106 -110
- package/dist/collection/components/map-navigation/map-navigation.css +3 -10
- package/dist/collection/components/map-navigation/map-navigation.js +186 -185
- package/dist/collection/components/map-navigation-overlay/map-navigation-overlay.css +1 -0
- package/dist/collection/components/map-navigation-overlay/map-navigation-overlay.js +124 -88
- package/dist/collection/components/menu/menu.css +2 -3
- package/dist/collection/components/menu/menu.js +483 -527
- package/dist/collection/components/menu-about/menu-about.js +99 -98
- package/dist/collection/components/menu-about-item/menu-about-item.js +36 -28
- package/dist/collection/components/menu-about-news/menu-about-news.js +160 -174
- package/dist/collection/components/menu-avatar/menu-avatar.js +102 -101
- package/dist/collection/components/menu-avatar-item/menu-avatar-item.js +72 -60
- package/dist/collection/components/menu-item/menu-item.js +128 -127
- package/dist/collection/components/menu-settings/menu-settings.js +94 -94
- package/dist/collection/components/menu-settings-item/menu-settings-item.js +36 -28
- package/dist/collection/components/message-bar/message-bar.js +78 -77
- package/dist/collection/components/modal/modal.js +404 -418
- package/dist/collection/components/modal-container/modal-container.js +51 -44
- package/dist/collection/components/my-component/example-modal.js +2 -10
- package/dist/collection/components/my-component/my-component.js +11 -7
- package/dist/collection/components/pill/pill.js +119 -122
- package/dist/collection/components/select/select.js +282 -303
- package/dist/collection/components/select-item/select-item.js +134 -129
- package/dist/collection/components/spinner/spinner.js +51 -115
- package/dist/collection/components/split-button/split-button.js +208 -231
- package/dist/collection/components/split-button-item/split-button-item.js +72 -60
- package/dist/collection/components/tab-item/tab-item.js +160 -177
- package/dist/collection/components/tabs/tabs.js +123 -137
- package/dist/collection/components/tile/tile.js +34 -39
- package/dist/collection/components/time-picker/time-picker.js +274 -323
- package/dist/collection/components/toast/toast-container.js +94 -96
- package/dist/collection/components/toast/toast.js +159 -164
- package/dist/collection/components/toggle/toggle.js +189 -209
- package/dist/collection/components/tree/tree-model.js +0 -8
- package/dist/collection/components/tree/tree.js +144 -135
- package/dist/collection/components/tree-item/tree-item.js +111 -102
- package/dist/collection/components/upload/upload.js +276 -319
- package/dist/collection/components/utils/button-variants.js +0 -8
- package/dist/collection/components/utils/notification-color.js +0 -8
- package/dist/collection/components/validation-tooltip/validation-tooltip.js +68 -65
- package/dist/collection/components/workflow-step/workflow-step.js +145 -163
- package/dist/collection/components/workflow-steps/workflow-steps.js +102 -108
- package/dist/components/application-header.js +1 -0
- package/dist/components/base-button.js +3 -3
- package/dist/components/button.js +0 -23
- package/dist/components/date-picker.js +15 -50
- package/dist/components/date-time-card.js +0 -6
- package/dist/components/dropdown-item.js +2 -9
- package/dist/components/dropdown.js +4 -20
- package/dist/components/filter-chip.js +0 -3
- package/dist/components/group-item.js +5 -7
- package/dist/components/icon-button.js +6 -15
- package/dist/components/icon.js +3 -0
- package/dist/components/index.d.ts +65 -5
- package/dist/components/index.js +65 -5
- package/dist/components/ix-animated-tab.js +2 -0
- package/dist/components/ix-animated-tabs.js +4 -11
- package/dist/components/ix-basic-navigation.js +1 -3
- package/dist/components/ix-blind.js +1 -9
- package/dist/components/ix-breadcrumb-item.js +2 -0
- package/dist/components/ix-breadcrumb.js +3 -10
- package/dist/components/ix-category-filter.js +48 -28
- package/dist/components/ix-chip.js +3 -12
- package/dist/components/ix-counter-pill.js +2 -9
- package/dist/components/ix-datetime-picker.js +8 -52
- package/dist/components/ix-drawer.js +1 -19
- package/dist/components/ix-event-list-item.js +4 -6
- package/dist/components/ix-event-list.js +1 -12
- package/dist/components/ix-expanding-search.js +0 -9
- package/dist/components/ix-flip-tile.js +21 -2
- package/dist/components/ix-group-dropdown-item.js +2 -0
- package/dist/components/ix-group.js +1 -19
- package/dist/components/ix-kpi.js +3 -6
- package/dist/components/ix-map-navigation.js +9 -6
- package/dist/components/ix-menu-about-item.js +1 -0
- package/dist/components/ix-menu-about-news.js +2 -12
- package/dist/components/ix-menu-about.js +1 -6
- package/dist/components/ix-menu-avatar.js +3 -3
- package/dist/components/ix-menu-settings-item.js +1 -0
- package/dist/components/ix-menu-settings.js +1 -6
- package/dist/components/ix-menu.js +10 -45
- package/dist/components/ix-message-bar.js +2 -6
- package/dist/components/ix-modal-example.js +38 -2
- package/dist/components/ix-pill.js +3 -9
- package/dist/components/ix-select.js +5 -27
- package/dist/components/ix-split-button-item.js +2 -0
- package/dist/components/ix-split-button.js +1 -26
- package/dist/components/ix-tile.js +0 -3
- package/dist/components/ix-toast-container.js +0 -6
- package/dist/components/ix-toggle.js +0 -25
- package/dist/components/ix-tree.js +24 -6
- package/dist/components/ix-upload.js +18 -48
- package/dist/components/ix-validation-tooltip.js +3 -5
- package/dist/components/ix-workflow-step.js +0 -18
- package/dist/components/ix-workflow-steps.js +0 -12
- package/dist/components/map-navigation-overlay.js +35 -2
- package/dist/components/menu-avatar-item.js +2 -0
- package/dist/components/menu-item.js +4 -9
- package/dist/components/modal.js +9 -26
- package/dist/components/select-item.js +2 -6
- package/dist/components/spinner.js +0 -6
- package/dist/components/tab-item.js +1 -21
- package/dist/components/tabs.js +4 -19
- package/dist/components/time-picker.js +7 -40
- package/dist/components/toast.js +3 -9
- package/dist/components/tree-item.js +3 -0
- package/dist/esm/{base-button-7bfb747f.js → base-button-0b6635df.js} +3 -3
- package/dist/esm/{index-55cfd20d.js → index-b22287de.js} +467 -275
- package/dist/esm/index.js +2 -2
- package/dist/esm/ix-animated-tab_2.entry.js +7 -12
- package/dist/esm/ix-application-header.entry.js +2 -1
- package/dist/esm/ix-basic-navigation.entry.js +2 -4
- package/dist/esm/ix-blind.entry.js +2 -9
- package/dist/esm/ix-breadcrumb_2.entry.js +6 -11
- package/dist/esm/ix-button.entry.js +2 -25
- package/dist/esm/ix-category-filter.entry.js +16 -27
- package/dist/esm/ix-chip.entry.js +4 -13
- package/dist/esm/ix-counter-pill.entry.js +3 -10
- package/dist/esm/ix-date-picker_2.entry.js +23 -91
- package/dist/esm/ix-date-time-card.entry.js +1 -7
- package/dist/esm/ix-datetime-picker.entry.js +9 -53
- package/dist/esm/ix-drawer.entry.js +2 -20
- package/dist/esm/ix-dropdown_2.entry.js +7 -30
- package/dist/esm/ix-event-list_2.entry.js +6 -19
- package/dist/esm/ix-expanding-search.entry.js +1 -10
- package/dist/esm/ix-filter-chip.entry.js +1 -4
- package/dist/esm/ix-flip-tile_2.entry.js +4 -1
- package/dist/esm/ix-group_3.entry.js +9 -26
- package/dist/esm/ix-icon-button.entry.js +8 -17
- package/dist/esm/ix-icon.entry.js +4 -1
- package/dist/esm/ix-input-group.entry.js +1 -1
- package/dist/esm/ix-kpi.entry.js +4 -7
- package/dist/esm/ix-map-navigation_2.entry.js +44 -9
- package/dist/esm/ix-menu_9.entry.js +26 -82
- package/dist/esm/ix-message-bar.entry.js +3 -7
- package/dist/esm/ix-modal-example.entry.js +1 -1
- package/dist/esm/ix-modal_2.entry.js +2 -2
- package/dist/esm/ix-pill.entry.js +4 -10
- package/dist/esm/ix-select_2.entry.js +8 -34
- package/dist/esm/ix-spinner.entry.js +1 -7
- package/dist/esm/ix-split-button_2.entry.js +5 -28
- package/dist/esm/ix-tab-item.entry.js +2 -22
- package/dist/esm/ix-tabs.entry.js +5 -20
- package/dist/esm/ix-tile.entry.js +1 -4
- package/dist/esm/ix-toast_2.entry.js +4 -16
- package/dist/esm/ix-toggle.entry.js +1 -26
- package/dist/esm/ix-tree_2.entry.js +8 -5
- package/dist/esm/ix-upload.entry.js +2 -46
- package/dist/esm/ix-validation-tooltip.entry.js +4 -6
- package/dist/esm/ix-workflow-step_2.entry.js +1 -31
- package/dist/esm/loader.js +2 -2
- package/dist/esm/{modal-8ed87a6c.js → modal-f1e45879.js} +10 -27
- package/dist/esm/my-component.entry.js +1 -1
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm/siemens-ix.js +2 -2
- package/dist/siemens-ix/index.esm.js +1 -1
- package/dist/siemens-ix/p-003b58b3.js +1 -0
- package/dist/siemens-ix/p-0419f23d.entry.js +1 -0
- package/dist/siemens-ix/p-0cdac3da.entry.js +1 -0
- package/dist/siemens-ix/p-161561ef.entry.js +1 -0
- package/dist/siemens-ix/p-1686ce8c.entry.js +1 -0
- package/dist/siemens-ix/{p-df43662b.entry.js → p-18652f43.entry.js} +1 -1
- package/dist/siemens-ix/p-1cd8f35f.entry.js +1 -0
- package/dist/siemens-ix/{p-a49005f3.entry.js → p-1d1eeeea.entry.js} +1 -1
- package/dist/siemens-ix/{p-2b7ed5d4.entry.js → p-38a598ed.entry.js} +1 -1
- package/dist/siemens-ix/p-44ab1dce.entry.js +1 -0
- package/dist/siemens-ix/{p-81e46337.entry.js → p-477681a5.entry.js} +1 -1
- package/dist/siemens-ix/{p-d2fc562a.entry.js → p-4f2fbbb5.entry.js} +1 -1
- package/dist/siemens-ix/{p-71de6498.entry.js → p-56bba5f9.entry.js} +1 -1
- package/dist/siemens-ix/p-5b4399b3.entry.js +1 -0
- package/dist/siemens-ix/p-5c038d1d.js +2 -0
- package/dist/siemens-ix/p-6d075808.entry.js +1 -0
- package/dist/siemens-ix/p-72b5c8d5.entry.js +1 -0
- package/dist/siemens-ix/p-746ebc92.entry.js +1 -0
- package/dist/siemens-ix/p-7fb73253.entry.js +1 -0
- package/dist/siemens-ix/p-87c46ff3.entry.js +1 -0
- package/dist/siemens-ix/p-8c5948e2.entry.js +1 -0
- package/dist/siemens-ix/{p-03ef9fe5.entry.js → p-8e60010d.entry.js} +1 -1
- package/dist/siemens-ix/p-9cc43bf2.entry.js +1 -0
- package/dist/siemens-ix/p-a2e33741.entry.js +1 -0
- package/dist/siemens-ix/p-a3760331.entry.js +1 -0
- package/dist/siemens-ix/p-a4ed41f9.entry.js +1 -0
- package/dist/siemens-ix/p-aa620cc7.entry.js +1 -0
- package/dist/siemens-ix/p-afefc17c.entry.js +1 -0
- package/dist/siemens-ix/{p-5a1dcc74.js → p-b12006c6.js} +0 -0
- package/dist/siemens-ix/p-b18d15c7.entry.js +1 -0
- package/dist/siemens-ix/{p-cbd0f8a7.entry.js → p-b49fbfc3.entry.js} +1 -1
- package/dist/siemens-ix/p-b7a46add.entry.js +1 -0
- package/dist/siemens-ix/p-b8849072.entry.js +1 -0
- package/dist/siemens-ix/p-c0a126c6.entry.js +1 -0
- package/dist/siemens-ix/p-c1674778.entry.js +1 -0
- package/dist/siemens-ix/p-ca8a41ea.entry.js +1 -0
- package/dist/siemens-ix/{p-77823732.entry.js → p-d1a17dd8.entry.js} +1 -1
- package/dist/siemens-ix/p-d5199425.entry.js +1 -0
- package/dist/siemens-ix/{p-fa44655a.entry.js → p-d62d2304.entry.js} +1 -1
- package/dist/siemens-ix/{p-b4003026.entry.js → p-dc8f82d5.entry.js} +1 -1
- package/dist/siemens-ix/{p-1d56d9b6.entry.js → p-e0c85889.entry.js} +1 -1
- package/dist/siemens-ix/p-e5da6672.entry.js +1 -0
- package/dist/siemens-ix/{p-4287bd7e.entry.js → p-eff31ef4.entry.js} +1 -1
- package/dist/siemens-ix/{p-bd15d8ca.entry.js → p-f34f7e30.entry.js} +1 -1
- package/dist/siemens-ix/p-fca4a226.entry.js +1 -0
- package/dist/siemens-ix/siemens-ix.css +3 -0
- package/dist/siemens-ix/siemens-ix.esm.js +1 -1
- package/dist/types/components/date-picker/date-picker.d.ts +4 -4
- package/dist/types/components/datetime-picker/datetime-picker.d.ts +4 -3
- package/dist/types/components/map-navigation/map-navigation.d.ts +2 -0
- package/dist/types/components/map-navigation-overlay/map-navigation-overlay.d.ts +4 -0
- package/dist/types/components/menu-item/menu-item.d.ts +4 -0
- package/dist/types/components/modal/modal.d.ts +1 -1
- package/dist/types/components/time-picker/time-picker.d.ts +1 -2
- package/dist/types/components/upload/upload.d.ts +1 -1
- package/dist/types/components.d.ts +221 -74
- package/dist/types/stencil-public-runtime.d.ts +20 -4
- package/loader/package.json +1 -0
- package/package.json +4 -6
- package/scss/components/_buttons.scss +1 -0
- package/scss/components/_dropdown.scss +3 -0
- package/src/components/date-picker/readme.md +3 -3
- package/src/components/datetime-picker/readme.md +3 -3
- package/src/components/map-navigation/readme.md +2 -2
- package/src/components/menu-item/readme.md +8 -8
- package/src/components/modal/readme.md +1 -1
- package/src/components/time-picker/readme.md +2 -2
- package/src/components/upload/readme.md +13 -13
- package/dist/components/default-tree-item.js +0 -20
- package/dist/components/flip-tile-state.js +0 -18
- package/dist/components/logical-filter-operator.js +0 -33
- package/dist/components/modal-utils.js +0 -38
- package/dist/components/upload-file-state.js +0 -17
- package/dist/siemens-ix/p-02501b64.entry.js +0 -1
- package/dist/siemens-ix/p-0e315bd7.entry.js +0 -1
- package/dist/siemens-ix/p-235606b2.entry.js +0 -1
- package/dist/siemens-ix/p-301ddeb7.js +0 -1
- package/dist/siemens-ix/p-334b7d5c.entry.js +0 -1
- package/dist/siemens-ix/p-3f809fb3.entry.js +0 -1
- package/dist/siemens-ix/p-47ea9884.js +0 -1
- package/dist/siemens-ix/p-52d99490.entry.js +0 -1
- package/dist/siemens-ix/p-5f9f25ef.entry.js +0 -1
- package/dist/siemens-ix/p-5fed62f8.entry.js +0 -1
- package/dist/siemens-ix/p-6726f740.entry.js +0 -1
- package/dist/siemens-ix/p-67c2bca6.entry.js +0 -1
- package/dist/siemens-ix/p-78df1e46.entry.js +0 -1
- package/dist/siemens-ix/p-7d667916.entry.js +0 -1
- package/dist/siemens-ix/p-7f5a2e3c.entry.js +0 -1
- package/dist/siemens-ix/p-8239c3a1.entry.js +0 -1
- package/dist/siemens-ix/p-893b7bf6.entry.js +0 -1
- package/dist/siemens-ix/p-94b86dec.entry.js +0 -1
- package/dist/siemens-ix/p-a8396077.entry.js +0 -1
- package/dist/siemens-ix/p-ab715295.entry.js +0 -1
- package/dist/siemens-ix/p-b93c2fab.entry.js +0 -1
- package/dist/siemens-ix/p-be1ec062.entry.js +0 -1
- package/dist/siemens-ix/p-bf5513a0.entry.js +0 -1
- package/dist/siemens-ix/p-c0c9fb81.entry.js +0 -1
- package/dist/siemens-ix/p-c3738ffc.entry.js +0 -1
- package/dist/siemens-ix/p-c792adb4.entry.js +0 -1
- package/dist/siemens-ix/p-c9a5d942.entry.js +0 -1
- package/dist/siemens-ix/p-cb6e62ff.entry.js +0 -1
- package/dist/siemens-ix/p-f2636faf.entry.js +0 -1
- package/dist/siemens-ix/p-fe5db4d1.entry.js +0 -1
- package/scripts/post-install/post-install.mjs +0 -111
|
@@ -9,17 +9,8 @@ const ExpandingSearch = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
|
9
9
|
super();
|
|
10
10
|
this.__registerHost();
|
|
11
11
|
this.valueChange = createEvent(this, "valueChange", 7);
|
|
12
|
-
/**
|
|
13
|
-
* Search icon
|
|
14
|
-
*/
|
|
15
12
|
this.icon = 'search';
|
|
16
|
-
/**
|
|
17
|
-
* Placeholder text
|
|
18
|
-
*/
|
|
19
13
|
this.placeholder = 'Enter text here';
|
|
20
|
-
/**
|
|
21
|
-
* Default value
|
|
22
|
-
*/
|
|
23
14
|
this.value = '';
|
|
24
15
|
this.isFieldChanged = false;
|
|
25
16
|
this.expanded = false;
|
|
@@ -1,8 +1,24 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
-
import { F as FlipTileState } from './flip-tile-state.js';
|
|
3
2
|
import { d as defineCustomElement$3 } from './icon.js';
|
|
4
3
|
import { d as defineCustomElement$2 } from './icon-button.js';
|
|
5
4
|
|
|
5
|
+
/*
|
|
6
|
+
* SPDX-FileCopyrightText: 2022 Siemens AG
|
|
7
|
+
*
|
|
8
|
+
* SPDX-License-Identifier: MIT
|
|
9
|
+
*
|
|
10
|
+
* This source code is licensed under the MIT license found in the
|
|
11
|
+
* LICENSE file in the root directory of this source tree.
|
|
12
|
+
*/
|
|
13
|
+
var FlipTileState;
|
|
14
|
+
(function (FlipTileState) {
|
|
15
|
+
FlipTileState["None"] = "None";
|
|
16
|
+
FlipTileState["Info"] = "Info";
|
|
17
|
+
FlipTileState["Warning"] = "Warning";
|
|
18
|
+
FlipTileState["Alarm"] = "Alarm";
|
|
19
|
+
FlipTileState["Primary"] = "Primary";
|
|
20
|
+
})(FlipTileState || (FlipTileState = {}));
|
|
21
|
+
|
|
6
22
|
const flipTileCss = "@keyframes flip-animation{0%{transform:rotateY(0)}50%{transform:rotateY(90deg)}51%{transform:rotateY(270deg)}100%{transform:rotateY(360deg)}}.sc-ix-flip-tile-h{display:flex;flex-direction:column;width:16rem;min-width:16rem;max-width:16rem;height:15.125rem;perspective:1000px}.sc-ix-flip-tile-h .flip-tile-header.sc-ix-flip-tile{display:flex;align-items:center;height:2.5rem;padding:0 0.5rem 0 1rem}.sc-ix-flip-tile-h .flip-tile-header.sc-ix-flip-tile .header-slot-container.sc-ix-flip-tile{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex-grow:1;min-width:0}.sc-ix-flip-tile-h .content-container.sc-ix-flip-tile{flex-grow:1;margin:1rem}.sc-ix-flip-tile-h .flip-tile-container.sc-ix-flip-tile{display:flex;flex-direction:column;height:100%;background-color:var(--theme-blind-base--background);border:solid 1px var(--theme-blind-base--border-color);border-radius:var(--theme-flip-tile--border-radius) var(--theme-flip-tile--border-radius) 0 0;transform-style:preserve-3d}.sc-ix-flip-tile-h .flip-tile-container.flip-animation-active.sc-ix-flip-tile{animation:flip-animation 300ms, ease-in-out}.sc-ix-flip-tile-h .flip-tile-container.sc-ix-flip-tile .footer.sc-ix-flip-tile{display:flex;height:3rem;align-items:center;justify-content:center;padding:0 0.5rem;color:var(--theme-flip-footer--color);background-color:var(--theme-blind-base--background)}.sc-ix-flip-tile-h .flip-tile-container.sc-ix-flip-tile .footer.sc-ix-flip-tile .sc-ix-flip-tile:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;height:100%}.sc-ix-flip-tile-h .flip-tile-container .sc-ix-flip-tile-s>*{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:flex;flex-direction:column;align-items:center;min-width:0}.sc-ix-flip-tile-h .flip-tile-container.primary.sc-ix-flip-tile{border-color:var(--theme-color-primary)}.sc-ix-flip-tile-h .flip-tile-container.primary.sc-ix-flip-tile .footer.sc-ix-flip-tile{background-color:var(--theme-color-primary);color:var(--theme-color-primary--contrast)}.sc-ix-flip-tile-h .flip-tile-container.info.sc-ix-flip-tile{border-color:var(--theme-color-info)}.sc-ix-flip-tile-h .flip-tile-container.info.sc-ix-flip-tile .footer.sc-ix-flip-tile{background-color:var(--theme-color-info);color:var(--theme-color-info--contrast)}.sc-ix-flip-tile-h .flip-tile-container.warning.sc-ix-flip-tile{border-color:var(--theme-color-warning)}.sc-ix-flip-tile-h .flip-tile-container.warning.sc-ix-flip-tile .footer.sc-ix-flip-tile{background-color:var(--theme-color-warning);color:var(--theme-color-warning--contrast)}.sc-ix-flip-tile-h .flip-tile-container.alarm.sc-ix-flip-tile{border-color:var(--theme-color-alarm)}.sc-ix-flip-tile-h .flip-tile-container.alarm.sc-ix-flip-tile .footer.sc-ix-flip-tile{background-color:var(--theme-color-alarm);color:var(--theme-color-alarm--contrast)}.sc-ix-flip-tile-h:hover .flip-tile-container.sc-ix-flip-tile .footer.sc-ix-flip-tile ix-icon.sc-ix-flip-tile{color:var(--theme-color-std-text)}";
|
|
7
23
|
|
|
8
24
|
const FlipTile = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
@@ -11,6 +27,9 @@ const FlipTile = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
11
27
|
this.__registerHost();
|
|
12
28
|
this.ANIMATION_DURATION = 150;
|
|
13
29
|
this.index = 0;
|
|
30
|
+
this.isFlipAnimationActive = undefined;
|
|
31
|
+
this.state = undefined;
|
|
32
|
+
this.footer = undefined;
|
|
14
33
|
}
|
|
15
34
|
componentDidLoad() {
|
|
16
35
|
this.contentItems = this.contentContainerElement.querySelectorAll('ix-flip-tile-content');
|
|
@@ -93,4 +112,4 @@ function defineCustomElement$1() {
|
|
|
93
112
|
const IxFlipTile = FlipTile;
|
|
94
113
|
const defineCustomElement = defineCustomElement$1;
|
|
95
114
|
|
|
96
|
-
export { IxFlipTile, defineCustomElement };
|
|
115
|
+
export { FlipTileState as F, IxFlipTile, defineCustomElement };
|
|
@@ -8,6 +8,8 @@ const GroupDropdownItem = /*@__PURE__*/ proxyCustomElement(class extends HTMLEle
|
|
|
8
8
|
constructor() {
|
|
9
9
|
super();
|
|
10
10
|
this.__registerHost();
|
|
11
|
+
this.label = undefined;
|
|
12
|
+
this.icon = undefined;
|
|
11
13
|
}
|
|
12
14
|
render() {
|
|
13
15
|
return (h(Host, null, h("ix-dropdown-item", { label: this.label, icon: this.icon }, h("slot", null))));
|
|
@@ -7,25 +7,7 @@ import { d as defineCustomElement$2 } from './icon-button.js';
|
|
|
7
7
|
const groupCss = ".sc-ix-group-h{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:flex;flex-direction:column;position:relative;max-width:19.75rem;border-color:var(--theme-group-item--border-color)}.sc-ix-group-h .group-header-context-button.sc-ix-group{display:block;position:relative;margin-top:5px;margin-right:5px;margin-left:auto}.sc-ix-group-h .group-header-context-button.sc-ix-group ix-icon-button.sc-ix-group::after{display:none}.sc-ix-group-h .group-header.sc-ix-group{height:4rem;min-height:4rem;max-height:4rem;border-radius:0.25rem;border:var(--theme-std-bdr-1);display:flex;background-color:var(--theme-group-item--background);border:1px solid var(--theme-group-item--border-color);color:var(--theme-group-header--color);cursor:pointer}.sc-ix-group-h .group-header.sc-ix-group:not(.disabled):not(:disabled){cursor:pointer}.sc-ix-group-h .group-header.sc-ix-group:not(.disabled):not(:disabled):hover{background-color:var(--theme-group-item--background--hover);border-color:var(--theme-group-item--border-color--hover)}.sc-ix-group-h .group-header.sc-ix-group:not(.disabled):not(:disabled){cursor:pointer}.sc-ix-group-h .group-header.sc-ix-group:not(.disabled):not(:disabled):active{background-color:var(--theme-group-item--background--active);border-color:var(--theme-group-item--border-color--active)}.sc-ix-group-h .group-header.sc-ix-group:not(.disabled):not(:disabled):focus-visible{border-color:var(--focus--border-color);border-radius:var(--theme-group--border-radius--focus);outline:none}.sc-ix-group-h .group-header-clickable.sc-ix-group{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:flex;width:100%;min-width:0}.sc-ix-group-h .group-header.expand.sc-ix-group{border-bottom-left-radius:0;border-bottom-right-radius:0}.sc-ix-group-h .group-header-selection-indicator.sc-ix-group{width:0.25rem}.sc-ix-group-h .group-header-content.sc-ix-group{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:flex;flex-direction:row;justify-content:space-between;min-width:0;padding:0.5rem;padding-left:0;width:100%}.sc-ix-group-h .group-header-content.sc-ix-group .group-header-props-container.sc-ix-group{width:100%}.sc-ix-group-h .group-header-content.sc-ix-group .group-header-title.sc-ix-group{display:flex;align-items:center;font-size:1rem;font-weight:700;height:1.5rem}.sc-ix-group-h .group-header-content.sc-ix-group .group-header-title.sc-ix-group>*.sc-ix-group{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.sc-ix-group-h .group-header-content.sc-ix-group .group-subheader.sc-ix-group{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;height:1.25rem;font-size:0.875rem;color:var(--theme-group-subheader--color)}.sc-ix-group-h .expand-icon.sc-ix-group{padding:0.125rem 0.437rem;color:var(--theme-color-std-text)}.sc-ix-group-h .btn-expand-header.sc-ix-group{margin:0.5rem;-webkit-margin-end:0.25rem;margin-inline-end:0.25rem}.sc-ix-group-h .group-content.sc-ix-group{display:flex;flex-direction:column}.sc-ix-group-h .group-header.selected.sc-ix-group{border:var(--theme-primary-bdr-2);background-color:var(--theme-group-item--background--selected)}.sc-ix-group-h .group-header.selected.sc-ix-group .group-header-selection-indicator.sc-ix-group{background-color:var(--theme-color-input-focus)}.sc-ix-group-h .footer.sc-ix-group{height:auto;min-height:0}";
|
|
8
8
|
|
|
9
9
|
const Group = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
10
|
-
constructor() {
|
|
11
|
-
super();
|
|
12
|
-
this.__registerHost();
|
|
13
|
-
this.selectGroup = createEvent(this, "selectGroup", 7);
|
|
14
|
-
this.selectItem = createEvent(this, "selectItem", 7);
|
|
15
|
-
this.collapsedChanged = createEvent(this, "collapsedChanged", 7);
|
|
16
|
-
/**
|
|
17
|
-
* Prevent header from being selectable
|
|
18
|
-
*/
|
|
19
|
-
this.suppressHeaderSelection = false;
|
|
20
|
-
/**
|
|
21
|
-
* Whether the group is collapsed or expanded. Defaults to true.
|
|
22
|
-
*/
|
|
23
|
-
this.collapsed = true;
|
|
24
|
-
/**
|
|
25
|
-
* Expand the group if the header is clicked
|
|
26
|
-
*/
|
|
27
|
-
this.expandOnHeaderClick = false;
|
|
28
|
-
}
|
|
10
|
+
constructor() { super(); this.__registerHost(); this.selectGroup = createEvent(this, "selectGroup", 7); this.selectItem = createEvent(this, "selectItem", 7); this.collapsedChanged = createEvent(this, "collapsedChanged", 7); this.suppressHeaderSelection = false; this.header = undefined; this.subHeader = undefined; this.collapsed = true; this.selected = undefined; this.index = undefined; this.expandOnHeaderClick = false; this.dropdownTriggerRef = undefined; }
|
|
29
11
|
get dropdownItems() {
|
|
30
12
|
return Array.from(this.hostElement.querySelectorAll('ix-group-dropdown-item'));
|
|
31
13
|
}
|
|
@@ -7,13 +7,10 @@ const Kpi = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
7
7
|
constructor() {
|
|
8
8
|
super();
|
|
9
9
|
this.__registerHost();
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
this.label = undefined;
|
|
11
|
+
this.value = undefined;
|
|
12
|
+
this.unit = undefined;
|
|
13
13
|
this.state = 'neutral';
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
*/
|
|
17
14
|
this.orientation = 'horizontal';
|
|
18
15
|
}
|
|
19
16
|
getStateIcon() {
|
|
@@ -4,7 +4,7 @@ import { d as defineCustomElement$4 } from './icon.js';
|
|
|
4
4
|
import { d as defineCustomElement$3 } from './icon-button.js';
|
|
5
5
|
import { d as defineCustomElement$2 } from './map-navigation-overlay.js';
|
|
6
6
|
|
|
7
|
-
const mapNavigationCss = ".sc-ix-map-navigation-h{display:flex;position:relative;width:100%;height:100%}.sc-ix-map-navigation-h .map-nav.sc-ix-map-navigation{display:flex;margin-left:4rem;position:relative;height:100%;flex-grow:1;overflow:hidden}.sc-ix-map-navigation-h .map-nav-sidebar.sc-ix-map-navigation{display:flex;flex-direction:column;align-items:center;width:29.75rem;max-width:29.75rem;min-width:29.75rem;height:100%;left:4rem;background-color:var(--theme-
|
|
7
|
+
const mapNavigationCss = ".sc-ix-map-navigation-h{display:flex;position:relative;width:100%;height:100%}.sc-ix-map-navigation-h .map-nav.sc-ix-map-navigation{display:flex;margin-left:4rem;position:relative;height:100%;flex-grow:1;overflow:hidden}.sc-ix-map-navigation-h .map-nav-sidebar.sc-ix-map-navigation{display:flex;flex-direction:column;align-items:center;width:29.75rem;max-width:29.75rem;min-width:29.75rem;height:100%;left:4rem;background-color:var(--theme-map-navigation--background);-webkit-border-end:0.125rem solid var(--theme-map-navigation-separator--background);border-inline-end:0.125rem solid var(--theme-map-navigation-separator--background);z-index:99}.sc-ix-map-navigation-h .map-nav-sidebar-content.sc-ix-map-navigation{align-items:center;position:relative;overflow:auto;height:100%;width:100%}.sc-ix-map-navigation-h .map-nav-sidebar-content.sc-ix-map-navigation .map-nav-sidebar-static-content.sc-ix-map-navigation{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:1.375rem;font-weight:700;line-height:1.455em;color:var(--theme-color-std-text);display:flex;justify-content:space-between;margin-top:0.437rem;margin-bottom:0.812rem;margin-left:1rem;margin-right:1rem}.sc-ix-map-navigation-h .map-nav-header.sc-ix-map-navigation{display:flex;position:relative;align-items:center;height:3.5rem;min-height:3.5rem;width:100%}.sc-ix-map-navigation-h .map-nav-header.sc-ix-map-navigation .map-nav-header-brand.sc-ix-map-navigation{background-color:var(--theme-map-navigation-background);display:flex;align-items:center;height:100%;width:100%;padding:0 1rem}.sc-ix-map-navigation-h .map-nav-header.sc-ix-map-navigation .map-nav-header-brand.sc-ix-map-navigation button.sc-ix-map-navigation{margin-left:1rem}.sc-ix-map-navigation-h .map-nav-header.sc-ix-map-navigation .map-nav-header-brand.sc-ix-map-navigation .map-nav-brand-logo.sc-ix-map-navigation{min-width:4.75rem;-webkit-margin-end:3.5rem;margin-inline-end:3.5rem}.sc-ix-map-navigation-h .map-nav-header.sc-ix-map-navigation .map-nav-header-brand.sc-ix-map-navigation .map-nav-brand-title.sc-ix-map-navigation{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:1rem;font-weight:700;line-height:1.5em;color:var(--theme-color-std-text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--theme-map-navigation-header--color);flex-grow:1}.sc-ix-map-navigation-h .map-nav-header-content.sc-ix-map-navigation{display:flex;height:3.5rem;align-items:center;overflow:hidden;padding:0 1rem}.sc-ix-map-navigation-h .map-nav-header-content.sc-ix-map-navigation:empty{height:0}.sc-ix-map-navigation-h .map-nav-title.sc-ix-map-navigation{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:1.375rem;font-weight:700;line-height:1.455em;color:var(--theme-color-std-text);display:flex;align-items:center;flex-grow:1}.sc-ix-map-navigation-h .content.sc-ix-map-navigation{display:block;flex-grow:1;position:relative;height:100%;overflow:hidden;z-index:calc(var(--theme-z-index-sticky) - 1)}";
|
|
8
8
|
|
|
9
9
|
const MapNavigation = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
10
10
|
constructor() {
|
|
@@ -12,9 +12,8 @@ const MapNavigation = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
12
12
|
this.__registerHost();
|
|
13
13
|
this.navigationToggled = createEvent(this, "navigationToggled", 7);
|
|
14
14
|
this.contextMenuClick = createEvent(this, "contextMenuClick", 7);
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
*/
|
|
15
|
+
this.applicationName = undefined;
|
|
16
|
+
this.navigationTitle = undefined;
|
|
18
17
|
this.hideContextMenu = true;
|
|
19
18
|
this.isSidebarOpen = true;
|
|
20
19
|
}
|
|
@@ -35,7 +34,6 @@ const MapNavigation = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
35
34
|
}
|
|
36
35
|
componentDidRender() {
|
|
37
36
|
this.appendMenu();
|
|
38
|
-
// this.openOverlay('Test', document.createElement('ix-breadcrumb'), 'info', 'color-warning');
|
|
39
37
|
this.closeOverlay();
|
|
40
38
|
}
|
|
41
39
|
appendMenu() {
|
|
@@ -88,6 +86,7 @@ const MapNavigation = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
88
86
|
}
|
|
89
87
|
/**
|
|
90
88
|
* Open a overlay inside content area
|
|
89
|
+
* @deprecated will get removed with next major release in favor of slot based approach
|
|
91
90
|
*
|
|
92
91
|
* @param name
|
|
93
92
|
* @param component
|
|
@@ -116,6 +115,7 @@ const MapNavigation = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
116
115
|
}
|
|
117
116
|
/**
|
|
118
117
|
* Close current shown overlay
|
|
118
|
+
* @deprecated will get removed with next major release in favor of slot based approach
|
|
119
119
|
*/
|
|
120
120
|
async closeOverlay() {
|
|
121
121
|
anime({
|
|
@@ -127,13 +127,16 @@ const MapNavigation = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
127
127
|
easing: 'easeInSine',
|
|
128
128
|
complete: () => {
|
|
129
129
|
var _a;
|
|
130
|
+
if (!this.overlay) {
|
|
131
|
+
return;
|
|
132
|
+
}
|
|
130
133
|
(_a = this.overlay.firstChild) === null || _a === void 0 ? void 0 : _a.remove();
|
|
131
134
|
this.overlay.classList.add('d-none');
|
|
132
135
|
},
|
|
133
136
|
});
|
|
134
137
|
}
|
|
135
138
|
render() {
|
|
136
|
-
return (h(Host, null, h("div", { id: "menu-placeholder" }), h("div", { class: "map-nav" }, h("div", { class: "map-nav-sidebar" }, h("div", { class: "map-nav-header" }, h("div", { class: "map-nav-header-brand" }, h("div", { class: "map-nav-brand-logo" }, h("slot", { name: "logo" })), h("span", { class: "map-nav-brand-title" }, this.applicationName))), h("div", { class: "map-nav-sidebar-content" }, h("div", { class: "map-nav-sidebar-static-content" }, h("div", { class: "map-nav-title" }, this.navigationTitle), this.hideContextMenu ? ('') : (h("ix-icon-button", { icon: "context-menu", ghost: true, size: "24", variant: "Secondary", onClick: (_) => this.contextMenuClick.emit() }))), h("div", { class: "map-nav-sidebar-user-content" }, h("slot", { name: "sidebar-content" })))), h("div", { class: "content" }, h("div", { class: "map-nav-header-content bg-2" }, h("slot", { name: "content-header" })), h("main", null, h("slot", null))
|
|
139
|
+
return (h(Host, null, h("div", { id: "menu-placeholder" }), h("div", { class: "map-nav" }, h("div", { class: "map-nav-sidebar" }, h("div", { class: "map-nav-header" }, h("div", { class: "map-nav-header-brand" }, h("div", { class: "map-nav-brand-logo" }, h("slot", { name: "logo" })), h("span", { class: "map-nav-brand-title" }, this.applicationName))), h("div", { class: "map-nav-sidebar-content" }, h("div", { class: "map-nav-sidebar-static-content" }, h("div", { class: "map-nav-title" }, this.navigationTitle), this.hideContextMenu ? ('') : (h("ix-icon-button", { icon: "context-menu", ghost: true, size: "24", variant: "Secondary", onClick: (_) => this.contextMenuClick.emit() }))), h("div", { class: "map-nav-sidebar-user-content" }, h("slot", { name: "sidebar-content" })))), h("div", { class: "content" }, h("div", { class: "map-nav-header-content bg-2" }, h("slot", { name: "content-header" })), h("main", null, h("slot", null))))));
|
|
137
140
|
}
|
|
138
141
|
get hostElement() { return this; }
|
|
139
142
|
static get style() { return mapNavigationCss; }
|
|
@@ -10,21 +10,11 @@ const MenuAboutNews = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
10
10
|
this.__registerHost();
|
|
11
11
|
this.showMore = createEvent(this, "showMore", 7);
|
|
12
12
|
this.closePopover = createEvent(this, "closePopover", 7);
|
|
13
|
-
/**
|
|
14
|
-
* Show about news
|
|
15
|
-
*/
|
|
16
13
|
this.show = false;
|
|
17
|
-
|
|
18
|
-
*
|
|
19
|
-
*/
|
|
14
|
+
this.label = undefined;
|
|
20
15
|
this.i18nShowMore = 'Show more';
|
|
21
|
-
|
|
22
|
-
* Bottom offset
|
|
23
|
-
*/
|
|
16
|
+
this.aboutItemLabel = undefined;
|
|
24
17
|
this.offsetBottom = 0;
|
|
25
|
-
/**
|
|
26
|
-
* Internal
|
|
27
|
-
*/
|
|
28
18
|
this.expanded = false;
|
|
29
19
|
}
|
|
30
20
|
render() {
|
|
@@ -11,13 +11,8 @@ const MenuAbout = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
11
11
|
super();
|
|
12
12
|
this.__registerHost();
|
|
13
13
|
this.close = createEvent(this, "close", 7);
|
|
14
|
-
|
|
15
|
-
* Label of first tab
|
|
16
|
-
*/
|
|
14
|
+
this.activeTabLabel = undefined;
|
|
17
15
|
this.label = 'About & legal information';
|
|
18
|
-
/**
|
|
19
|
-
* Internal
|
|
20
|
-
*/
|
|
21
16
|
this.show = false;
|
|
22
17
|
this.labels = [];
|
|
23
18
|
}
|
|
@@ -12,9 +12,9 @@ const MenuAvatar = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
12
12
|
super();
|
|
13
13
|
this.__registerHost();
|
|
14
14
|
this.logoutClick = createEvent(this, "logoutClick", 7);
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
15
|
+
this.displayMenu = undefined;
|
|
16
|
+
this.top = undefined;
|
|
17
|
+
this.bottom = undefined;
|
|
18
18
|
this.i18nLogout = 'Logout';
|
|
19
19
|
}
|
|
20
20
|
toggleMenu() {
|
|
@@ -11,13 +11,8 @@ const MenuAbout = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
11
11
|
super();
|
|
12
12
|
this.__registerHost();
|
|
13
13
|
this.close = createEvent(this, "close", 7);
|
|
14
|
-
|
|
15
|
-
* Label
|
|
16
|
-
*/
|
|
14
|
+
this.activeTabLabel = undefined;
|
|
17
15
|
this.label = 'Settings';
|
|
18
|
-
/**
|
|
19
|
-
* Internal
|
|
20
|
-
*/
|
|
21
16
|
this.show = false;
|
|
22
17
|
}
|
|
23
18
|
get settingsItems() {
|
|
@@ -29,7 +29,7 @@ const toggleVariant = () => {
|
|
|
29
29
|
document.body.classList.add(newTheme);
|
|
30
30
|
};
|
|
31
31
|
|
|
32
|
-
const menuCss = "ix-menu{display:flex;flex-direction:row;position:absolute;height:100%;min-height:22.75rem;z-index:var(--theme-z-index-sticky);width:auto}ix-menu .menu{display:flex;flex-direction:column;position:relative;width:4rem;height:100
|
|
32
|
+
const menuCss = "ix-menu{display:flex;flex-direction:row;position:absolute;height:100%;min-height:22.75rem;z-index:var(--theme-z-index-sticky);width:auto}ix-menu .menu{display:flex;flex-direction:column;position:relative;width:4rem;height:100%;-webkit-padding-after:1rem;padding-block-end:1rem;background-color:var(--theme-nav--background);transition:width var(--animate-duration)}ix-menu .menu.expanded{box-shadow:var(--theme-navigation--box-shadow)}ix-menu .menu .burger-menu-button{display:flex;justify-content:center;margin-top:0.75rem;margin-left:0.75rem;margin-bottom:1rem;height:2rem;width:2.5rem;border-radius:0.25rem}ix-menu .menu .burger-menu-button:not(.disabled):not(:disabled).hover,ix-menu .menu .burger-menu-button:not(.disabled):not(:disabled):hover{background-color:var(--theme-ghost--background--hover)}ix-menu .menu .burger-menu-button:not(.disabled):not(:disabled).active,ix-menu .menu .burger-menu-button:not(.disabled):not(:disabled):active{background-color:var(--theme-ghost--background--active)}ix-menu .menu .burger-menu-button svg{display:inline-block;fill:var(--theme-menu-btn--color);position:relative}ix-menu .menu .burger-menu-button svg .line{opacity:1;transform:rotate(0) translateY(0) translateX(0);transition:transform 0.3s ease-in-out, opacity 0.2s ease-in-out}ix-menu .menu .burger-menu-button.expanded svg .line-1{transform:translate(0.6875rem, -0.05rem) rotate(45deg)}ix-menu .menu .burger-menu-button.expanded svg .line-2{opacity:0}ix-menu .menu .burger-menu-button.expanded svg .line-3{transform:translate(-0.75625rem, 0.8125rem) rotate(-45deg)}ix-menu .menu-overlay{display:block;position:absolute;width:calc(100vw - 4rem);height:100%;left:4rem;z-index:-1;-webkit-backdrop-filter:blur(1rem);backdrop-filter:blur(1rem);background-color:var(--theme-sidebar-overlay-blur);transition:all 150ms ease-out}ix-menu .menu-overlay-invisible{display:none}ix-menu .menu.expanded{width:16rem}ix-menu .menu-overlay.expanded{width:calc(100vw - 16rem);left:16rem}ix-menu #avatar-tab-placeholder{max-height:3rem}ix-menu .avatar{margin-bottom:2rem}ix-menu #cui-imprint .cui-imprint-product-name{margin-bottom:1rem}ix-menu #cui-imprint .cui-imprint-product-description{margin-bottom:2rem}ix-menu #cui-imprint .cui-imprint-link-container{display:flex;align-items:center}ix-menu .bottom-tab-divider{margin-top:auto}";
|
|
33
33
|
|
|
34
34
|
const Menu = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
35
35
|
constructor() {
|
|
@@ -37,69 +37,34 @@ const Menu = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
37
37
|
this.__registerHost();
|
|
38
38
|
this.expandChange = createEvent(this, "expandChange", 7);
|
|
39
39
|
this.mapExpandChange = createEvent(this, "mapExpandChange", 7);
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
40
|
+
this.domObserver = new MutationObserver(this.onDomChange.bind(this));
|
|
41
|
+
// FBC IAM workaround #488
|
|
42
|
+
this.isVisible = (elm) => {
|
|
43
|
+
var _a, _b;
|
|
44
|
+
return (elm.style.display !== 'none' &&
|
|
45
|
+
((_b = (_a = elm.parentElement) === null || _a === void 0 ? void 0 : _a.parentElement) === null || _b === void 0 ? void 0 : _b.style.display) !== 'none');
|
|
46
|
+
};
|
|
43
47
|
this.showSettings = false;
|
|
44
|
-
/**
|
|
45
|
-
* Is about tab visible
|
|
46
|
-
*/
|
|
47
48
|
this.showAbout = false;
|
|
48
|
-
/**
|
|
49
|
-
* Show toggle between light and dark variant. Only if the provided theme have implemented both!
|
|
50
|
-
*/
|
|
51
49
|
this.enableToggleTheme = false;
|
|
52
|
-
/**
|
|
53
|
-
* Is settings tab is visible
|
|
54
|
-
*/
|
|
55
50
|
this.enableSettings = true;
|
|
56
|
-
/**
|
|
57
|
-
* Internal
|
|
58
|
-
*/
|
|
59
51
|
this.enableMapExpand = false;
|
|
60
|
-
|
|
61
|
-
* Should only be set if you use ix-menu standalone
|
|
62
|
-
*/
|
|
52
|
+
this.applicationName = undefined;
|
|
63
53
|
this.applicationDescription = '';
|
|
64
|
-
/**
|
|
65
|
-
* Maximum number of menu items to show in case enough vertical space is available.
|
|
66
|
-
* Extra menu items will be collapsed to 'show more' menu item.
|
|
67
|
-
*/
|
|
68
54
|
this.maxVisibleMenuItems = 9;
|
|
69
|
-
/**
|
|
70
|
-
*/
|
|
71
55
|
this.i18nLegal = 'About & legal information';
|
|
72
|
-
/**
|
|
73
|
-
*/
|
|
74
56
|
this.i18nSettings = 'Settings';
|
|
75
|
-
/**
|
|
76
|
-
*/
|
|
77
57
|
this.i18nToggleTheme = 'Toggle theme';
|
|
78
|
-
/**
|
|
79
|
-
*/
|
|
80
58
|
this.i18nExpand = ' Expand';
|
|
81
|
-
/**
|
|
82
|
-
*/
|
|
83
59
|
this.i18nCollapse = 'Collapse';
|
|
84
|
-
/**
|
|
85
|
-
*/
|
|
86
60
|
this.i18nMore = 'More…';
|
|
87
|
-
/**
|
|
88
|
-
* Expand menu
|
|
89
|
-
*/
|
|
90
61
|
this.expand = false;
|
|
91
62
|
this.showMoreItems = false;
|
|
92
63
|
this.visibleMenuItems = 0;
|
|
93
64
|
this.countMoreNotifications = 0;
|
|
94
65
|
this.mapExpand = true;
|
|
66
|
+
this.activeTab = undefined;
|
|
95
67
|
this.isMoreTabEmpty = false;
|
|
96
|
-
this.domObserver = new MutationObserver(this.onDomChange.bind(this));
|
|
97
|
-
// FBC IAM workaround #488
|
|
98
|
-
this.isVisible = (elm) => {
|
|
99
|
-
var _a, _b;
|
|
100
|
-
return (elm.style.display !== 'none' &&
|
|
101
|
-
((_b = (_a = elm.parentElement) === null || _a === void 0 ? void 0 : _a.parentElement) === null || _b === void 0 ? void 0 : _b.style.display) !== 'none');
|
|
102
|
-
};
|
|
103
68
|
}
|
|
104
69
|
onWindowResize() {
|
|
105
70
|
this.visibleMenuItems = this.getMaxTabCount();
|
|
@@ -10,14 +10,10 @@ const MessageBar = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
10
10
|
super();
|
|
11
11
|
this.__registerHost();
|
|
12
12
|
this.closedChange = createEvent(this, "closedChange", 7);
|
|
13
|
-
/**
|
|
14
|
-
* Specifies the type of the alert.
|
|
15
|
-
*/
|
|
16
13
|
this.type = 'info';
|
|
17
|
-
/**
|
|
18
|
-
* If true, close button is enabled and alert can be dismissed by the user
|
|
19
|
-
*/
|
|
20
14
|
this.dismissible = true;
|
|
15
|
+
this.icon = undefined;
|
|
16
|
+
this.color = undefined;
|
|
21
17
|
}
|
|
22
18
|
componentWillRender() {
|
|
23
19
|
if (this.type === 'danger') {
|
|
@@ -1,11 +1,47 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
-
import { d as dismissModal, c as closeModal } from './modal-utils.js';
|
|
3
2
|
import { d as defineCustomElement$6 } from './button.js';
|
|
4
3
|
import { d as defineCustomElement$5 } from './icon.js';
|
|
5
4
|
import { d as defineCustomElement$4 } from './icon-button.js';
|
|
6
5
|
import { d as defineCustomElement$3 } from './modal.js';
|
|
7
6
|
import { d as defineCustomElement$2 } from './modal-container.js';
|
|
8
7
|
|
|
8
|
+
/*
|
|
9
|
+
* SPDX-FileCopyrightText: 2022 Siemens AG
|
|
10
|
+
*
|
|
11
|
+
* SPDX-License-Identifier: MIT
|
|
12
|
+
*
|
|
13
|
+
* This source code is licensed under the MIT license found in the
|
|
14
|
+
* LICENSE file in the root directory of this source tree.
|
|
15
|
+
*/
|
|
16
|
+
function getModalContainer() {
|
|
17
|
+
const containerList = Array.from(document.querySelectorAll('ix-modal-container'));
|
|
18
|
+
const [container] = containerList;
|
|
19
|
+
if (containerList.length > 1) {
|
|
20
|
+
console.warn('Multiple modal container are found. Only there first is used.');
|
|
21
|
+
return container;
|
|
22
|
+
}
|
|
23
|
+
if (!container) {
|
|
24
|
+
const modalContainer = document.createElement('ix-modal-container');
|
|
25
|
+
document.body.appendChild(modalContainer);
|
|
26
|
+
return modalContainer;
|
|
27
|
+
}
|
|
28
|
+
return container;
|
|
29
|
+
}
|
|
30
|
+
async function modal(config) {
|
|
31
|
+
const modalContainer = getModalContainer();
|
|
32
|
+
const modalInstance = await modalContainer.showModal(config);
|
|
33
|
+
return modalInstance;
|
|
34
|
+
}
|
|
35
|
+
function getIxModal(element) {
|
|
36
|
+
return element.closest('ix-modal');
|
|
37
|
+
}
|
|
38
|
+
function closeModal(element, closeResult) {
|
|
39
|
+
getIxModal(element).close(closeResult);
|
|
40
|
+
}
|
|
41
|
+
function dismissModal(element, dismissResult) {
|
|
42
|
+
getIxModal(element).dismiss(dismissResult);
|
|
43
|
+
}
|
|
44
|
+
|
|
9
45
|
const ModalExample = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
10
46
|
constructor() {
|
|
11
47
|
super();
|
|
@@ -64,4 +100,4 @@ function defineCustomElement$1() {
|
|
|
64
100
|
const IxModalExample = ModalExample;
|
|
65
101
|
const defineCustomElement = defineCustomElement$1;
|
|
66
102
|
|
|
67
|
-
export { IxModalExample, defineCustomElement };
|
|
103
|
+
export { IxModalExample, closeModal as c, dismissModal as d, defineCustomElement, modal as m };
|
|
@@ -7,17 +7,11 @@ const Pill = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
7
7
|
constructor() {
|
|
8
8
|
super();
|
|
9
9
|
this.__registerHost();
|
|
10
|
-
/**
|
|
11
|
-
* Pill variant
|
|
12
|
-
*/
|
|
13
10
|
this.variant = 'primary';
|
|
14
|
-
/**
|
|
15
|
-
* Show pill as outline
|
|
16
|
-
*/
|
|
17
11
|
this.outline = false;
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
12
|
+
this.icon = undefined;
|
|
13
|
+
this.background = undefined;
|
|
14
|
+
this.color = undefined;
|
|
21
15
|
this.alignLeft = false;
|
|
22
16
|
}
|
|
23
17
|
render() {
|
|
@@ -14,45 +14,23 @@ const Select = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
14
14
|
this.__registerHost();
|
|
15
15
|
this.itemSelectionChange = createEvent(this, "itemSelectionChange", 7);
|
|
16
16
|
this.addItem = createEvent(this, "addItem", 7);
|
|
17
|
-
/**
|
|
18
|
-
* Indices of selected items
|
|
19
|
-
*/
|
|
20
17
|
this.selectedIndices = [];
|
|
21
|
-
/**
|
|
22
|
-
* Show clear button
|
|
23
|
-
*/
|
|
24
18
|
this.allowClear = false;
|
|
25
|
-
/**
|
|
26
|
-
* Selection mode
|
|
27
|
-
*/
|
|
28
19
|
this.mode = 'single';
|
|
29
|
-
/**
|
|
30
|
-
* Select is extendable
|
|
31
|
-
*/
|
|
32
20
|
this.editable = false;
|
|
33
|
-
/**
|
|
34
|
-
* If true the select will be in disabled state
|
|
35
|
-
*/
|
|
36
21
|
this.disabled = false;
|
|
37
|
-
/**
|
|
38
|
-
* If true the select will be in readonly mode
|
|
39
|
-
*/
|
|
40
22
|
this.readonly = false;
|
|
41
|
-
/**
|
|
42
|
-
* Input field placeholder
|
|
43
|
-
*/
|
|
44
23
|
this.i18nPlaceholder = 'Select an option';
|
|
45
|
-
/**
|
|
46
|
-
* Input field placeholder for editable select
|
|
47
|
-
*/
|
|
48
24
|
this.i18nPlaceholderEditable = 'Type of select option';
|
|
49
|
-
/**
|
|
50
|
-
* Select list header
|
|
51
|
-
*/
|
|
52
25
|
this.i18nSelectListHeader = 'Please select an option';
|
|
53
26
|
this.dropdownShow = false;
|
|
27
|
+
this.value = undefined;
|
|
28
|
+
this.dropdownWrapperRef = undefined;
|
|
29
|
+
this.dropdownAnchor = undefined;
|
|
54
30
|
this.isDropdownEmpty = false;
|
|
55
31
|
this.hasFocus = false;
|
|
32
|
+
this.navigationItem = undefined;
|
|
33
|
+
this.inputText = undefined;
|
|
56
34
|
}
|
|
57
35
|
get items() {
|
|
58
36
|
return Array.from(this.hostElement.querySelectorAll('ix-select-item'));
|
|
@@ -9,6 +9,8 @@ const SplitButtonItem = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
|
9
9
|
super();
|
|
10
10
|
this.__registerHost();
|
|
11
11
|
this.itemClick = createEvent(this, "itemClick", 7);
|
|
12
|
+
this.icon = undefined;
|
|
13
|
+
this.label = undefined;
|
|
12
14
|
}
|
|
13
15
|
render() {
|
|
14
16
|
return (h("ix-dropdown-item", { icon: this.icon, label: this.label, onClick: (e) => this.itemClick.emit(e) }));
|
|
@@ -11,39 +11,14 @@ const SplitButton = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
11
11
|
super();
|
|
12
12
|
this.__registerHost();
|
|
13
13
|
this.buttonClick = createEvent(this, "buttonClick", 7);
|
|
14
|
-
/**
|
|
15
|
-
* Color variant of button
|
|
16
|
-
*/
|
|
17
14
|
this.variant = 'Primary';
|
|
18
|
-
/**
|
|
19
|
-
* Button outline variant
|
|
20
|
-
*/
|
|
21
15
|
this.outline = false;
|
|
22
|
-
/**
|
|
23
|
-
* Button invisible
|
|
24
|
-
*
|
|
25
|
-
* @deprecated use ghost property
|
|
26
|
-
*/
|
|
27
16
|
this.invisible = false;
|
|
28
|
-
/**
|
|
29
|
-
* Button invisible
|
|
30
|
-
*/
|
|
31
17
|
this.ghost = false;
|
|
32
|
-
|
|
33
|
-
* Button icon
|
|
34
|
-
*/
|
|
18
|
+
this.label = undefined;
|
|
35
19
|
this.icon = '';
|
|
36
|
-
/**
|
|
37
|
-
* Splitbutton icon
|
|
38
|
-
*/
|
|
39
20
|
this.splitIcon = 'context-menu';
|
|
40
|
-
/**
|
|
41
|
-
* Disabled
|
|
42
|
-
*/
|
|
43
21
|
this.disabled = false;
|
|
44
|
-
/**
|
|
45
|
-
* Placement of the dropdown
|
|
46
|
-
*/
|
|
47
22
|
this.placement = 'bottom-start';
|
|
48
23
|
this.toggle = false;
|
|
49
24
|
}
|
|
@@ -8,14 +8,8 @@ const ToastContainer = /*@__PURE__*/ proxyCustomElement(class extends HTMLElemen
|
|
|
8
8
|
constructor() {
|
|
9
9
|
super();
|
|
10
10
|
this.__registerHost();
|
|
11
|
-
/**
|
|
12
|
-
*/
|
|
13
11
|
this.containerId = 'toast-container';
|
|
14
|
-
/**
|
|
15
|
-
*/
|
|
16
12
|
this.containerClass = 'toast-container';
|
|
17
|
-
/**
|
|
18
|
-
*/
|
|
19
13
|
this.position = 'bottom-right';
|
|
20
14
|
}
|
|
21
15
|
get hostContainer() {
|
|
@@ -7,38 +7,13 @@ const CuiToggle = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
7
7
|
super();
|
|
8
8
|
this.__registerHost();
|
|
9
9
|
this.checkedChange = createEvent(this, "checkedChange", 7);
|
|
10
|
-
/**
|
|
11
|
-
* Whether the slide-toggle element is checked or not.
|
|
12
|
-
*/
|
|
13
10
|
this.checked = false;
|
|
14
|
-
/**
|
|
15
|
-
* Whether the slide-toggle element is disabled or not.
|
|
16
|
-
*/
|
|
17
11
|
this.disabled = false;
|
|
18
|
-
/**
|
|
19
|
-
* If true the control is in indeterminate state
|
|
20
|
-
*/
|
|
21
12
|
this.indeterminate = false;
|
|
22
|
-
/**
|
|
23
|
-
* Basic and status colors from color palette
|
|
24
|
-
* @deprecated - Has no effect on the rendered control
|
|
25
|
-
*/
|
|
26
13
|
this.color = 'accent';
|
|
27
|
-
/**
|
|
28
|
-
* Text for on state
|
|
29
|
-
*/
|
|
30
14
|
this.textOn = 'On';
|
|
31
|
-
/**
|
|
32
|
-
* Text for off state
|
|
33
|
-
*/
|
|
34
15
|
this.textOff = 'Off';
|
|
35
|
-
/**
|
|
36
|
-
* Text for indeterminate state
|
|
37
|
-
*/
|
|
38
16
|
this.textIndeterminate = 'Mixed';
|
|
39
|
-
/**
|
|
40
|
-
* Hide `on` and `off` text
|
|
41
|
-
*/
|
|
42
17
|
this.hideText = false;
|
|
43
18
|
}
|
|
44
19
|
async onKeyDown(event) {
|