@siemens/ix 1.1.0-beta.4 → 1.1.0-beta.6
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 +40 -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 +120 -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 +31 -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 +40 -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-97f2f93a.entry.js +1 -0
- package/dist/siemens-ix/p-9cc43bf2.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
|
@@ -6,75 +6,40 @@
|
|
|
6
6
|
* This source code is licensed under the MIT license found in the
|
|
7
7
|
* LICENSE file in the root directory of this source tree.
|
|
8
8
|
*/
|
|
9
|
-
import {
|
|
9
|
+
import { h, Host, } from '@stencil/core';
|
|
10
10
|
import { Popover } from '../utils/popover.util';
|
|
11
11
|
import { convertToRemString } from '../utils/rwd.util';
|
|
12
12
|
import { toggleVariant } from '../utils/toggle-theme';
|
|
13
13
|
export class Menu {
|
|
14
14
|
constructor() {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
15
|
+
this.domObserver = new MutationObserver(this.onDomChange.bind(this));
|
|
16
|
+
// FBC IAM workaround #488
|
|
17
|
+
this.isVisible = (elm) => {
|
|
18
|
+
var _a, _b;
|
|
19
|
+
return (elm.style.display !== 'none' &&
|
|
20
|
+
((_b = (_a = elm.parentElement) === null || _a === void 0 ? void 0 : _a.parentElement) === null || _b === void 0 ? void 0 : _b.style.display) !== 'none');
|
|
21
|
+
};
|
|
18
22
|
this.showSettings = false;
|
|
19
|
-
/**
|
|
20
|
-
* Is about tab visible
|
|
21
|
-
*/
|
|
22
23
|
this.showAbout = false;
|
|
23
|
-
/**
|
|
24
|
-
* Show toggle between light and dark variant. Only if the provided theme have implemented both!
|
|
25
|
-
*/
|
|
26
24
|
this.enableToggleTheme = false;
|
|
27
|
-
/**
|
|
28
|
-
* Is settings tab is visible
|
|
29
|
-
*/
|
|
30
25
|
this.enableSettings = true;
|
|
31
|
-
/**
|
|
32
|
-
* Internal
|
|
33
|
-
*/
|
|
34
26
|
this.enableMapExpand = false;
|
|
35
|
-
|
|
36
|
-
* Should only be set if you use ix-menu standalone
|
|
37
|
-
*/
|
|
27
|
+
this.applicationName = undefined;
|
|
38
28
|
this.applicationDescription = '';
|
|
39
|
-
/**
|
|
40
|
-
* Maximum number of menu items to show in case enough vertical space is available.
|
|
41
|
-
* Extra menu items will be collapsed to 'show more' menu item.
|
|
42
|
-
*/
|
|
43
29
|
this.maxVisibleMenuItems = 9;
|
|
44
|
-
/**
|
|
45
|
-
*/
|
|
46
30
|
this.i18nLegal = 'About & legal information';
|
|
47
|
-
/**
|
|
48
|
-
*/
|
|
49
31
|
this.i18nSettings = 'Settings';
|
|
50
|
-
/**
|
|
51
|
-
*/
|
|
52
32
|
this.i18nToggleTheme = 'Toggle theme';
|
|
53
|
-
/**
|
|
54
|
-
*/
|
|
55
33
|
this.i18nExpand = ' Expand';
|
|
56
|
-
/**
|
|
57
|
-
*/
|
|
58
34
|
this.i18nCollapse = 'Collapse';
|
|
59
|
-
/**
|
|
60
|
-
*/
|
|
61
35
|
this.i18nMore = 'More…';
|
|
62
|
-
/**
|
|
63
|
-
* Expand menu
|
|
64
|
-
*/
|
|
65
36
|
this.expand = false;
|
|
66
37
|
this.showMoreItems = false;
|
|
67
38
|
this.visibleMenuItems = 0;
|
|
68
39
|
this.countMoreNotifications = 0;
|
|
69
40
|
this.mapExpand = true;
|
|
41
|
+
this.activeTab = undefined;
|
|
70
42
|
this.isMoreTabEmpty = false;
|
|
71
|
-
this.domObserver = new MutationObserver(this.onDomChange.bind(this));
|
|
72
|
-
// FBC IAM workaround #488
|
|
73
|
-
this.isVisible = (elm) => {
|
|
74
|
-
var _a, _b;
|
|
75
|
-
return (elm.style.display !== 'none' &&
|
|
76
|
-
((_b = (_a = elm.parentElement) === null || _a === void 0 ? void 0 : _a.parentElement) === null || _b === void 0 ? void 0 : _b.style.display) !== 'none');
|
|
77
|
-
};
|
|
78
43
|
}
|
|
79
44
|
onWindowResize() {
|
|
80
45
|
this.visibleMenuItems = this.getMaxTabCount();
|
|
@@ -495,494 +460,485 @@ export class Menu {
|
|
|
495
460
|
render() {
|
|
496
461
|
return (h(Host, { class: {
|
|
497
462
|
expanded: this.expand,
|
|
498
|
-
} },
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
h("div", { class: "bottom-tab-divider" }),
|
|
538
|
-
this.enableSettings && !this.isSettingsEmpty ? (h("ix-menu-item", { id: "settings", class: {
|
|
539
|
-
'internal-tab': true,
|
|
540
|
-
'bottom-tab': true,
|
|
541
|
-
active: this.showSettings,
|
|
542
|
-
}, tabIcon: "cogwheel", onClick: async () => this.toggleSettings(!this.showSettings) }, this.i18nSettings)) : null,
|
|
543
|
-
h("slot", { name: "bottom" }),
|
|
544
|
-
h("div", { id: "popover-area" }),
|
|
545
|
-
this.about ? (h("ix-menu-item", { id: "aboutAndLegal", class: {
|
|
546
|
-
'internal-tab': true,
|
|
547
|
-
'bottom-tab': true,
|
|
548
|
-
active: this.showAbout,
|
|
549
|
-
}, tabIcon: "info", onClick: async () => this.toggleAbout(!this.showAbout) }, this.i18nLegal)) : null,
|
|
550
|
-
this.enableToggleTheme ? (h("ix-menu-item", { id: "toggleTheme", onClick: () => toggleVariant(), class: "internal-tab bottom-tab", tabIcon: "bulb" }, this.i18nToggleTheme)) : null,
|
|
551
|
-
this.enableMapExpand ? (h("ix-menu-item", { id: "menu-collapse", onClick: () => this.mapExpandChange.emit(this.mapExpand), class: "internal-tab bottom-tab", tabIcon: `${this.getCollapseIcon()}` }, this.getCollapseText())) : null),
|
|
552
|
-
h("div", { class: {
|
|
553
|
-
'menu-overlay': true,
|
|
554
|
-
expanded: this.expand,
|
|
555
|
-
'd-block': this.showAbout || this.showSettings,
|
|
556
|
-
}, style: {
|
|
557
|
-
opacity: this.showAbout || this.showSettings ? '1' : '0',
|
|
558
|
-
} }),
|
|
559
|
-
h("div", { class: "menu-overlay-invisible" })));
|
|
463
|
+
} }, h("div", { class: {
|
|
464
|
+
menu: true,
|
|
465
|
+
expanded: this.expand,
|
|
466
|
+
}, onClick: () => {
|
|
467
|
+
this.resetActiveTab();
|
|
468
|
+
} }, h("div", { onClick: async () => this.toggleMenu(), class: {
|
|
469
|
+
'burger-menu-button': true,
|
|
470
|
+
expanded: this.expand,
|
|
471
|
+
} }, h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32", width: "32", height: "32" }, h("rect", { class: "line line-1", x: "5", y: "9.5", width: "22", height: "2" }), h("rect", { class: "line line-2", x: "5", y: "15.5", width: "22", height: "2" }), h("rect", { class: "line line-3", x: "5", y: "21.5", width: "22", height: "2" }))), h("div", { id: "avatar-tab-placeholder" }), h("div", { id: "menu-tabs", style: {
|
|
472
|
+
display: 'contents',
|
|
473
|
+
}, onClick: (event) => {
|
|
474
|
+
if (this.isMenuItemClicked(event)) {
|
|
475
|
+
this.resetOverlay();
|
|
476
|
+
}
|
|
477
|
+
} }, h("div", { class: "tabs-top" }), h("slot", null), h("div", { class: "active-more-tab" }, this.activeTab ? (h("ix-menu-item", { class: "internal-tab", active: true, tabIcon: this.activeTab.tabIcon }, this.activeTab.innerText)) : null), h("ix-menu-item", { id: "more-tab", tabIcon: "more-menu", class: {
|
|
478
|
+
'internal-tab': true,
|
|
479
|
+
}, style: {
|
|
480
|
+
display: this.showMoreButton() ? 'block' : 'none',
|
|
481
|
+
}, title: "Show more", notifications: this.countMoreNotifications, onClick: () => this.toggleShowMoreDropdown() }, this.i18nMore, h("ix-dropdown", { show: this.showMoreItems }, this.menuItems
|
|
482
|
+
.filter((elm, index) => !this.showTab(index) &&
|
|
483
|
+
!this.isMenuItemActive(elm) &&
|
|
484
|
+
this.isVisible(elm))
|
|
485
|
+
.map((e) => {
|
|
486
|
+
return (h("ix-menu-item", { tabIcon: e.tabIcon, active: e.active, class: "internal-tab appended", onClick: () => e.dispatchEvent(new CustomEvent('click')) }, e.innerText));
|
|
487
|
+
})))), h("div", { class: "bottom-tab-divider" }), this.enableSettings && !this.isSettingsEmpty ? (h("ix-menu-item", { id: "settings", class: {
|
|
488
|
+
'internal-tab': true,
|
|
489
|
+
'bottom-tab': true,
|
|
490
|
+
active: this.showSettings,
|
|
491
|
+
}, tabIcon: "cogwheel", onClick: async () => this.toggleSettings(!this.showSettings) }, this.i18nSettings)) : null, h("slot", { name: "bottom" }), h("div", { id: "popover-area" }), this.about ? (h("ix-menu-item", { id: "aboutAndLegal", class: {
|
|
492
|
+
'internal-tab': true,
|
|
493
|
+
'bottom-tab': true,
|
|
494
|
+
active: this.showAbout,
|
|
495
|
+
}, tabIcon: "info", onClick: async () => this.toggleAbout(!this.showAbout) }, this.i18nLegal)) : null, this.enableToggleTheme ? (h("ix-menu-item", { id: "toggleTheme", onClick: () => toggleVariant(), class: "internal-tab bottom-tab", tabIcon: "bulb" }, this.i18nToggleTheme)) : null, this.enableMapExpand ? (h("ix-menu-item", { id: "menu-collapse", onClick: () => this.mapExpandChange.emit(this.mapExpand), class: "internal-tab bottom-tab", tabIcon: `${this.getCollapseIcon()}` }, this.getCollapseText())) : null), h("div", { class: {
|
|
496
|
+
'menu-overlay': true,
|
|
497
|
+
expanded: this.expand,
|
|
498
|
+
'd-block': this.showAbout || this.showSettings,
|
|
499
|
+
}, style: {
|
|
500
|
+
opacity: this.showAbout || this.showSettings ? '1' : '0',
|
|
501
|
+
} }), h("div", { class: "menu-overlay-invisible" })));
|
|
560
502
|
}
|
|
561
503
|
static get is() { return "ix-menu"; }
|
|
562
|
-
static get originalStyleUrls() {
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
"
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
"
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
"
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
"
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
"
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
"
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
"
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
"
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
"
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
"
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
"
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
"
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
"
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
"
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
"
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
"countMoreNotifications": {},
|
|
843
|
-
"mapExpand": {},
|
|
844
|
-
"activeTab": {},
|
|
845
|
-
"isMoreTabEmpty": {}
|
|
846
|
-
}; }
|
|
847
|
-
static get events() { return [{
|
|
848
|
-
"method": "expandChange",
|
|
849
|
-
"name": "expandChange",
|
|
850
|
-
"bubbles": true,
|
|
851
|
-
"cancelable": true,
|
|
852
|
-
"composed": true,
|
|
853
|
-
"docs": {
|
|
854
|
-
"tags": [],
|
|
855
|
-
"text": "Menu expanded"
|
|
856
|
-
},
|
|
857
|
-
"complexType": {
|
|
858
|
-
"original": "boolean",
|
|
859
|
-
"resolved": "boolean",
|
|
860
|
-
"references": {}
|
|
861
|
-
}
|
|
862
|
-
}, {
|
|
863
|
-
"method": "mapExpandChange",
|
|
864
|
-
"name": "mapExpandChange",
|
|
865
|
-
"bubbles": true,
|
|
866
|
-
"cancelable": true,
|
|
867
|
-
"composed": true,
|
|
868
|
-
"docs": {
|
|
869
|
-
"tags": [],
|
|
870
|
-
"text": "Map Sidebar expanded"
|
|
871
|
-
},
|
|
872
|
-
"complexType": {
|
|
873
|
-
"original": "boolean",
|
|
874
|
-
"resolved": "boolean",
|
|
875
|
-
"references": {}
|
|
876
|
-
}
|
|
877
|
-
}]; }
|
|
878
|
-
static get methods() { return {
|
|
879
|
-
"toggleMapExpand": {
|
|
880
|
-
"complexType": {
|
|
881
|
-
"signature": "(show?: boolean) => Promise<void>",
|
|
882
|
-
"parameters": [{
|
|
883
|
-
"tags": [{
|
|
884
|
-
"name": "param",
|
|
885
|
-
"text": "show"
|
|
886
|
-
}],
|
|
887
|
-
"text": ""
|
|
888
|
-
}],
|
|
889
|
-
"references": {
|
|
890
|
-
"Promise": {
|
|
891
|
-
"location": "global"
|
|
892
|
-
}
|
|
893
|
-
},
|
|
894
|
-
"return": "Promise<void>"
|
|
895
|
-
},
|
|
896
|
-
"docs": {
|
|
897
|
-
"text": "Toggle map sidebar expand",
|
|
898
|
-
"tags": [{
|
|
899
|
-
"name": "param",
|
|
900
|
-
"text": "show"
|
|
901
|
-
}]
|
|
504
|
+
static get originalStyleUrls() {
|
|
505
|
+
return {
|
|
506
|
+
"$": ["menu.scss"]
|
|
507
|
+
};
|
|
508
|
+
}
|
|
509
|
+
static get styleUrls() {
|
|
510
|
+
return {
|
|
511
|
+
"$": ["menu.css"]
|
|
512
|
+
};
|
|
513
|
+
}
|
|
514
|
+
static get properties() {
|
|
515
|
+
return {
|
|
516
|
+
"showSettings": {
|
|
517
|
+
"type": "boolean",
|
|
518
|
+
"mutable": true,
|
|
519
|
+
"complexType": {
|
|
520
|
+
"original": "boolean",
|
|
521
|
+
"resolved": "boolean",
|
|
522
|
+
"references": {}
|
|
523
|
+
},
|
|
524
|
+
"required": false,
|
|
525
|
+
"optional": false,
|
|
526
|
+
"docs": {
|
|
527
|
+
"tags": [],
|
|
528
|
+
"text": "Is settings tab visible"
|
|
529
|
+
},
|
|
530
|
+
"attribute": "show-settings",
|
|
531
|
+
"reflect": false,
|
|
532
|
+
"defaultValue": "false"
|
|
533
|
+
},
|
|
534
|
+
"showAbout": {
|
|
535
|
+
"type": "boolean",
|
|
536
|
+
"mutable": true,
|
|
537
|
+
"complexType": {
|
|
538
|
+
"original": "boolean",
|
|
539
|
+
"resolved": "boolean",
|
|
540
|
+
"references": {}
|
|
541
|
+
},
|
|
542
|
+
"required": false,
|
|
543
|
+
"optional": false,
|
|
544
|
+
"docs": {
|
|
545
|
+
"tags": [],
|
|
546
|
+
"text": "Is about tab visible"
|
|
547
|
+
},
|
|
548
|
+
"attribute": "show-about",
|
|
549
|
+
"reflect": false,
|
|
550
|
+
"defaultValue": "false"
|
|
551
|
+
},
|
|
552
|
+
"enableToggleTheme": {
|
|
553
|
+
"type": "boolean",
|
|
554
|
+
"mutable": false,
|
|
555
|
+
"complexType": {
|
|
556
|
+
"original": "boolean",
|
|
557
|
+
"resolved": "boolean",
|
|
558
|
+
"references": {}
|
|
559
|
+
},
|
|
560
|
+
"required": false,
|
|
561
|
+
"optional": false,
|
|
562
|
+
"docs": {
|
|
563
|
+
"tags": [],
|
|
564
|
+
"text": "Show toggle between light and dark variant. Only if the provided theme have implemented both!"
|
|
565
|
+
},
|
|
566
|
+
"attribute": "enable-toggle-theme",
|
|
567
|
+
"reflect": false,
|
|
568
|
+
"defaultValue": "false"
|
|
569
|
+
},
|
|
570
|
+
"enableSettings": {
|
|
571
|
+
"type": "boolean",
|
|
572
|
+
"mutable": false,
|
|
573
|
+
"complexType": {
|
|
574
|
+
"original": "boolean",
|
|
575
|
+
"resolved": "boolean",
|
|
576
|
+
"references": {}
|
|
577
|
+
},
|
|
578
|
+
"required": false,
|
|
579
|
+
"optional": false,
|
|
580
|
+
"docs": {
|
|
581
|
+
"tags": [],
|
|
582
|
+
"text": "Is settings tab is visible"
|
|
583
|
+
},
|
|
584
|
+
"attribute": "enable-settings",
|
|
585
|
+
"reflect": false,
|
|
586
|
+
"defaultValue": "true"
|
|
587
|
+
},
|
|
588
|
+
"enableMapExpand": {
|
|
589
|
+
"type": "boolean",
|
|
590
|
+
"mutable": false,
|
|
591
|
+
"complexType": {
|
|
592
|
+
"original": "boolean",
|
|
593
|
+
"resolved": "boolean",
|
|
594
|
+
"references": {}
|
|
595
|
+
},
|
|
596
|
+
"required": false,
|
|
597
|
+
"optional": false,
|
|
598
|
+
"docs": {
|
|
599
|
+
"tags": [],
|
|
600
|
+
"text": "Internal"
|
|
601
|
+
},
|
|
602
|
+
"attribute": "enable-map-expand",
|
|
603
|
+
"reflect": false,
|
|
604
|
+
"defaultValue": "false"
|
|
605
|
+
},
|
|
606
|
+
"applicationName": {
|
|
607
|
+
"type": "string",
|
|
608
|
+
"mutable": false,
|
|
609
|
+
"complexType": {
|
|
610
|
+
"original": "string",
|
|
611
|
+
"resolved": "string",
|
|
612
|
+
"references": {}
|
|
613
|
+
},
|
|
614
|
+
"required": false,
|
|
615
|
+
"optional": false,
|
|
616
|
+
"docs": {
|
|
617
|
+
"tags": [],
|
|
618
|
+
"text": "Should only be set if you use ix-menu standalone"
|
|
619
|
+
},
|
|
620
|
+
"attribute": "application-name",
|
|
621
|
+
"reflect": false
|
|
622
|
+
},
|
|
623
|
+
"applicationDescription": {
|
|
624
|
+
"type": "string",
|
|
625
|
+
"mutable": false,
|
|
626
|
+
"complexType": {
|
|
627
|
+
"original": "string",
|
|
628
|
+
"resolved": "string",
|
|
629
|
+
"references": {}
|
|
630
|
+
},
|
|
631
|
+
"required": false,
|
|
632
|
+
"optional": false,
|
|
633
|
+
"docs": {
|
|
634
|
+
"tags": [],
|
|
635
|
+
"text": "Should only be set if you use ix-menu standalone"
|
|
636
|
+
},
|
|
637
|
+
"attribute": "application-description",
|
|
638
|
+
"reflect": false,
|
|
639
|
+
"defaultValue": "''"
|
|
640
|
+
},
|
|
641
|
+
"maxVisibleMenuItems": {
|
|
642
|
+
"type": "number",
|
|
643
|
+
"mutable": false,
|
|
644
|
+
"complexType": {
|
|
645
|
+
"original": "number",
|
|
646
|
+
"resolved": "number",
|
|
647
|
+
"references": {}
|
|
648
|
+
},
|
|
649
|
+
"required": false,
|
|
650
|
+
"optional": false,
|
|
651
|
+
"docs": {
|
|
652
|
+
"tags": [],
|
|
653
|
+
"text": "Maximum number of menu items to show in case enough vertical space is available.\nExtra menu items will be collapsed to 'show more' menu item."
|
|
654
|
+
},
|
|
655
|
+
"attribute": "max-visible-menu-items",
|
|
656
|
+
"reflect": false,
|
|
657
|
+
"defaultValue": "9"
|
|
658
|
+
},
|
|
659
|
+
"i18nLegal": {
|
|
660
|
+
"type": "string",
|
|
661
|
+
"mutable": false,
|
|
662
|
+
"complexType": {
|
|
663
|
+
"original": "string",
|
|
664
|
+
"resolved": "string",
|
|
665
|
+
"references": {}
|
|
666
|
+
},
|
|
667
|
+
"required": false,
|
|
668
|
+
"optional": false,
|
|
669
|
+
"docs": {
|
|
670
|
+
"tags": [],
|
|
671
|
+
"text": ""
|
|
672
|
+
},
|
|
673
|
+
"attribute": "i-1-8n-legal",
|
|
674
|
+
"reflect": false,
|
|
675
|
+
"defaultValue": "'About & legal information'"
|
|
676
|
+
},
|
|
677
|
+
"i18nSettings": {
|
|
678
|
+
"type": "string",
|
|
679
|
+
"mutable": false,
|
|
680
|
+
"complexType": {
|
|
681
|
+
"original": "string",
|
|
682
|
+
"resolved": "string",
|
|
683
|
+
"references": {}
|
|
684
|
+
},
|
|
685
|
+
"required": false,
|
|
686
|
+
"optional": false,
|
|
687
|
+
"docs": {
|
|
688
|
+
"tags": [],
|
|
689
|
+
"text": ""
|
|
690
|
+
},
|
|
691
|
+
"attribute": "i-1-8n-settings",
|
|
692
|
+
"reflect": false,
|
|
693
|
+
"defaultValue": "'Settings'"
|
|
694
|
+
},
|
|
695
|
+
"i18nToggleTheme": {
|
|
696
|
+
"type": "string",
|
|
697
|
+
"mutable": false,
|
|
698
|
+
"complexType": {
|
|
699
|
+
"original": "string",
|
|
700
|
+
"resolved": "string",
|
|
701
|
+
"references": {}
|
|
702
|
+
},
|
|
703
|
+
"required": false,
|
|
704
|
+
"optional": false,
|
|
705
|
+
"docs": {
|
|
706
|
+
"tags": [],
|
|
707
|
+
"text": ""
|
|
708
|
+
},
|
|
709
|
+
"attribute": "i-1-8n-toggle-theme",
|
|
710
|
+
"reflect": false,
|
|
711
|
+
"defaultValue": "'Toggle theme'"
|
|
712
|
+
},
|
|
713
|
+
"i18nExpand": {
|
|
714
|
+
"type": "string",
|
|
715
|
+
"mutable": false,
|
|
716
|
+
"complexType": {
|
|
717
|
+
"original": "string",
|
|
718
|
+
"resolved": "string",
|
|
719
|
+
"references": {}
|
|
720
|
+
},
|
|
721
|
+
"required": false,
|
|
722
|
+
"optional": false,
|
|
723
|
+
"docs": {
|
|
724
|
+
"tags": [],
|
|
725
|
+
"text": ""
|
|
726
|
+
},
|
|
727
|
+
"attribute": "i-1-8n-expand",
|
|
728
|
+
"reflect": false,
|
|
729
|
+
"defaultValue": "' Expand'"
|
|
730
|
+
},
|
|
731
|
+
"i18nCollapse": {
|
|
732
|
+
"type": "string",
|
|
733
|
+
"mutable": false,
|
|
734
|
+
"complexType": {
|
|
735
|
+
"original": "string",
|
|
736
|
+
"resolved": "string",
|
|
737
|
+
"references": {}
|
|
738
|
+
},
|
|
739
|
+
"required": false,
|
|
740
|
+
"optional": false,
|
|
741
|
+
"docs": {
|
|
742
|
+
"tags": [],
|
|
743
|
+
"text": ""
|
|
744
|
+
},
|
|
745
|
+
"attribute": "i-1-8n-collapse",
|
|
746
|
+
"reflect": false,
|
|
747
|
+
"defaultValue": "'Collapse'"
|
|
748
|
+
},
|
|
749
|
+
"i18nMore": {
|
|
750
|
+
"type": "string",
|
|
751
|
+
"mutable": false,
|
|
752
|
+
"complexType": {
|
|
753
|
+
"original": "string",
|
|
754
|
+
"resolved": "string",
|
|
755
|
+
"references": {}
|
|
756
|
+
},
|
|
757
|
+
"required": false,
|
|
758
|
+
"optional": false,
|
|
759
|
+
"docs": {
|
|
760
|
+
"tags": [],
|
|
761
|
+
"text": ""
|
|
762
|
+
},
|
|
763
|
+
"attribute": "i-1-8n-more",
|
|
764
|
+
"reflect": false,
|
|
765
|
+
"defaultValue": "'More\u2026'"
|
|
766
|
+
},
|
|
767
|
+
"expand": {
|
|
768
|
+
"type": "boolean",
|
|
769
|
+
"mutable": true,
|
|
770
|
+
"complexType": {
|
|
771
|
+
"original": "boolean",
|
|
772
|
+
"resolved": "boolean",
|
|
773
|
+
"references": {}
|
|
774
|
+
},
|
|
775
|
+
"required": false,
|
|
776
|
+
"optional": false,
|
|
777
|
+
"docs": {
|
|
778
|
+
"tags": [],
|
|
779
|
+
"text": "Expand menu"
|
|
780
|
+
},
|
|
781
|
+
"attribute": "expand",
|
|
782
|
+
"reflect": true,
|
|
783
|
+
"defaultValue": "false"
|
|
902
784
|
}
|
|
903
|
-
}
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
"
|
|
785
|
+
};
|
|
786
|
+
}
|
|
787
|
+
static get states() {
|
|
788
|
+
return {
|
|
789
|
+
"showMoreItems": {},
|
|
790
|
+
"visibleMenuItems": {},
|
|
791
|
+
"countMoreNotifications": {},
|
|
792
|
+
"mapExpand": {},
|
|
793
|
+
"activeTab": {},
|
|
794
|
+
"isMoreTabEmpty": {}
|
|
795
|
+
};
|
|
796
|
+
}
|
|
797
|
+
static get events() {
|
|
798
|
+
return [{
|
|
799
|
+
"method": "expandChange",
|
|
800
|
+
"name": "expandChange",
|
|
801
|
+
"bubbles": true,
|
|
802
|
+
"cancelable": true,
|
|
803
|
+
"composed": true,
|
|
804
|
+
"docs": {
|
|
805
|
+
"tags": [],
|
|
806
|
+
"text": "Menu expanded"
|
|
807
|
+
},
|
|
808
|
+
"complexType": {
|
|
809
|
+
"original": "boolean",
|
|
810
|
+
"resolved": "boolean",
|
|
811
|
+
"references": {}
|
|
812
|
+
}
|
|
813
|
+
}, {
|
|
814
|
+
"method": "mapExpandChange",
|
|
815
|
+
"name": "mapExpandChange",
|
|
816
|
+
"bubbles": true,
|
|
817
|
+
"cancelable": true,
|
|
818
|
+
"composed": true,
|
|
819
|
+
"docs": {
|
|
820
|
+
"tags": [],
|
|
821
|
+
"text": "Map Sidebar expanded"
|
|
822
|
+
},
|
|
823
|
+
"complexType": {
|
|
824
|
+
"original": "boolean",
|
|
825
|
+
"resolved": "boolean",
|
|
826
|
+
"references": {}
|
|
827
|
+
}
|
|
828
|
+
}];
|
|
829
|
+
}
|
|
830
|
+
static get methods() {
|
|
831
|
+
return {
|
|
832
|
+
"toggleMapExpand": {
|
|
833
|
+
"complexType": {
|
|
834
|
+
"signature": "(show?: boolean) => Promise<void>",
|
|
835
|
+
"parameters": [{
|
|
836
|
+
"tags": [{
|
|
837
|
+
"name": "param",
|
|
838
|
+
"text": "show"
|
|
839
|
+
}],
|
|
840
|
+
"text": ""
|
|
841
|
+
}],
|
|
842
|
+
"references": {
|
|
843
|
+
"Promise": {
|
|
844
|
+
"location": "global"
|
|
845
|
+
}
|
|
846
|
+
},
|
|
847
|
+
"return": "Promise<void>"
|
|
848
|
+
},
|
|
849
|
+
"docs": {
|
|
850
|
+
"text": "Toggle map sidebar expand",
|
|
851
|
+
"tags": [{
|
|
852
|
+
"name": "param",
|
|
853
|
+
"text": "show"
|
|
854
|
+
}]
|
|
855
|
+
}
|
|
920
856
|
},
|
|
921
|
-
"
|
|
922
|
-
"
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
"
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
857
|
+
"toggleMenu": {
|
|
858
|
+
"complexType": {
|
|
859
|
+
"signature": "(show?: boolean) => Promise<void>",
|
|
860
|
+
"parameters": [{
|
|
861
|
+
"tags": [{
|
|
862
|
+
"name": "param",
|
|
863
|
+
"text": "show"
|
|
864
|
+
}],
|
|
865
|
+
"text": ""
|
|
866
|
+
}],
|
|
867
|
+
"references": {
|
|
868
|
+
"Promise": {
|
|
869
|
+
"location": "global"
|
|
870
|
+
}
|
|
871
|
+
},
|
|
872
|
+
"return": "Promise<void>"
|
|
873
|
+
},
|
|
874
|
+
"docs": {
|
|
875
|
+
"text": "Toggle menu",
|
|
876
|
+
"tags": [{
|
|
877
|
+
"name": "param",
|
|
878
|
+
"text": "show"
|
|
879
|
+
}]
|
|
880
|
+
}
|
|
945
881
|
},
|
|
946
|
-
"
|
|
947
|
-
"
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
"
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
882
|
+
"toggleSettings": {
|
|
883
|
+
"complexType": {
|
|
884
|
+
"signature": "(show: boolean) => Promise<void>",
|
|
885
|
+
"parameters": [{
|
|
886
|
+
"tags": [{
|
|
887
|
+
"name": "param",
|
|
888
|
+
"text": "show"
|
|
889
|
+
}],
|
|
890
|
+
"text": ""
|
|
891
|
+
}],
|
|
892
|
+
"references": {
|
|
893
|
+
"Promise": {
|
|
894
|
+
"location": "global"
|
|
895
|
+
}
|
|
896
|
+
},
|
|
897
|
+
"return": "Promise<void>"
|
|
898
|
+
},
|
|
899
|
+
"docs": {
|
|
900
|
+
"text": "Toggle Settings tabs",
|
|
901
|
+
"tags": [{
|
|
902
|
+
"name": "param",
|
|
903
|
+
"text": "show"
|
|
904
|
+
}]
|
|
905
|
+
}
|
|
970
906
|
},
|
|
971
|
-
"
|
|
972
|
-
"
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
907
|
+
"toggleAbout": {
|
|
908
|
+
"complexType": {
|
|
909
|
+
"signature": "(show: boolean) => Promise<void>",
|
|
910
|
+
"parameters": [{
|
|
911
|
+
"tags": [{
|
|
912
|
+
"name": "param",
|
|
913
|
+
"text": "show"
|
|
914
|
+
}],
|
|
915
|
+
"text": ""
|
|
916
|
+
}],
|
|
917
|
+
"references": {
|
|
918
|
+
"Promise": {
|
|
919
|
+
"location": "global"
|
|
920
|
+
}
|
|
921
|
+
},
|
|
922
|
+
"return": "Promise<void>"
|
|
923
|
+
},
|
|
924
|
+
"docs": {
|
|
925
|
+
"text": "Toggle About tabs",
|
|
926
|
+
"tags": [{
|
|
927
|
+
"name": "param",
|
|
928
|
+
"text": "show"
|
|
929
|
+
}]
|
|
930
|
+
}
|
|
977
931
|
}
|
|
978
|
-
}
|
|
979
|
-
}
|
|
932
|
+
};
|
|
933
|
+
}
|
|
980
934
|
static get elementRef() { return "hostElement"; }
|
|
981
|
-
static get listeners() {
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
935
|
+
static get listeners() {
|
|
936
|
+
return [{
|
|
937
|
+
"name": "resize",
|
|
938
|
+
"method": "onWindowResize",
|
|
939
|
+
"target": "window",
|
|
940
|
+
"capture": false,
|
|
941
|
+
"passive": true
|
|
942
|
+
}];
|
|
943
|
+
}
|
|
988
944
|
}
|