@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
|
@@ -1,9 +1,27 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
2
|
import { c as createCommonjsModule, g as getDefaultExportFromCjs, a as commonjsRequire } from './_commonjsHelpers.js';
|
|
3
|
-
import { r as renderDefaultItem } from './default-tree-item.js';
|
|
4
3
|
import { d as defineCustomElement$3 } from './icon.js';
|
|
5
4
|
import { d as defineCustomElement$2 } from './tree-item.js';
|
|
6
5
|
|
|
6
|
+
/*
|
|
7
|
+
* SPDX-FileCopyrightText: 2022 Siemens AG
|
|
8
|
+
*
|
|
9
|
+
* SPDX-License-Identifier: MIT
|
|
10
|
+
*
|
|
11
|
+
* This source code is licensed under the MIT license found in the
|
|
12
|
+
* LICENSE file in the root directory of this source tree.
|
|
13
|
+
*/
|
|
14
|
+
function renderDefaultItem(item, context, update) {
|
|
15
|
+
const el = document.createElement('ix-tree-item');
|
|
16
|
+
el.hasChildren = item.hasChildren;
|
|
17
|
+
el.context = context;
|
|
18
|
+
el.text = item.data.name;
|
|
19
|
+
update((updateTreeItem) => {
|
|
20
|
+
el.text = updateTreeItem.data.name;
|
|
21
|
+
});
|
|
22
|
+
return el;
|
|
23
|
+
}
|
|
24
|
+
|
|
7
25
|
var hyperlist = createCommonjsModule(function (module, exports) {
|
|
8
26
|
(function(f){{module.exports=f();}})(function(){return (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof commonjsRequire&&commonjsRequire;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t);}return n[i].exports}for(var u="function"==typeof commonjsRequire&&commonjsRequire,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(_dereq_,module,exports){
|
|
9
27
|
|
|
@@ -514,13 +532,13 @@ const Tree = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
514
532
|
this.__registerHost();
|
|
515
533
|
this.contextChange = createEvent(this, "contextChange", 7);
|
|
516
534
|
this.nodeRemoved = createEvent(this, "nodeRemoved", 7);
|
|
517
|
-
/**
|
|
518
|
-
* Selection and collapsed state management
|
|
519
|
-
*/
|
|
520
|
-
this.context = {};
|
|
521
535
|
this.toggleListener = new Map();
|
|
522
536
|
this.itemClickListener = new Map();
|
|
523
537
|
this.updates = new Map();
|
|
538
|
+
this.root = undefined;
|
|
539
|
+
this.model = undefined;
|
|
540
|
+
this.renderItem = undefined;
|
|
541
|
+
this.context = {};
|
|
524
542
|
}
|
|
525
543
|
getVirtualizerOptions() {
|
|
526
544
|
const list = this.buildTreeList(this.model[this.root]);
|
|
@@ -691,4 +709,4 @@ function defineCustomElement$1() {
|
|
|
691
709
|
const IxTree = Tree;
|
|
692
710
|
const defineCustomElement = defineCustomElement$1;
|
|
693
711
|
|
|
694
|
-
export { IxTree, defineCustomElement };
|
|
712
|
+
export { IxTree, defineCustomElement, renderDefaultItem as r };
|
|
@@ -1,57 +1,27 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
|
-
import { U as UploadFileState } from './upload-file-state.js';
|
|
3
2
|
import { d as defineCustomElement$3 } from './button.js';
|
|
4
3
|
import { d as defineCustomElement$2 } from './spinner.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 UploadFileState;
|
|
14
|
+
(function (UploadFileState) {
|
|
15
|
+
UploadFileState["SELECT_FILE"] = "SELECT_FILE";
|
|
16
|
+
UploadFileState["LOADING"] = "LOADING";
|
|
17
|
+
UploadFileState["UPLOAD_FAILED"] = "UPLOAD_FAILED";
|
|
18
|
+
UploadFileState["UPLOAD_SUCCESSED"] = "UPLOAD_SUCCESSED";
|
|
19
|
+
})(UploadFileState || (UploadFileState = {}));
|
|
20
|
+
|
|
6
21
|
const uploadCss = ".sc-ix-upload-h{display:block;min-height:4rem;height:4rem}.sc-ix-upload-h .file-upload-area.sc-ix-upload{display:flex;flex-direction:row;align-items:center;justify-content:space-between;overflow:hidden;height:100%;width:100%;padding:1rem;border:1px dashed var(--theme-upload--border-color);border-radius:var(--theme-upload--border-radius);color:var(--theme-upload-text--color)}.sc-ix-upload-h .file-upload-area.multiline.sc-ix-upload{max-height:unset;height:auto}.sc-ix-upload-h .file-upload-area.multiline.sc-ix-upload .glyph.sc-ix-upload{align-self:flex-start;-webkit-margin-before:3px;margin-block-start:3px}.sc-ix-upload-h .file-upload-area.multiline.sc-ix-upload>div.sc-ix-upload{align-self:flex-start}.sc-ix-upload-h .file-upload-area.sc-ix-upload:not(.multiline) .state.sc-ix-upload,.sc-ix-upload-h .file-upload-area.sc-ix-upload:not(.multiline) .upload-text.sc-ix-upload{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sc-ix-upload-h .file-upload-area.file-over.sc-ix-upload{border-color:var(--theme-upload--border-color--dragover);border-style:solid}.sc-ix-upload-h .file-upload-area.checking.sc-ix-upload{color:var(--theme-upload-text--color--checking);border-style:solid}.sc-ix-upload-h .file-upload-area.disabled.sc-ix-upload{border-style:solid;color:var(--theme-upload-text--color--disabled)}.sc-ix-upload-h .file-upload-area.sc-ix-upload ix-button.sc-ix-upload{-webkit-margin-start:1rem;margin-inline-start:1rem}.sc-ix-upload-h .file-upload-area.sc-ix-upload .upload-browser.sc-ix-upload{opacity:0;overflow:hidden;position:absolute;z-index:-1}.sc-ix-upload-h .file-upload-area.sc-ix-upload .loader.sc-ix-upload{margin:2.187rem auto;font-size:0.937rem;width:1rem;height:1rem;border-radius:50%;position:relative;text-indent:-9999em;animation:optimise-loading 1.1s infinite ease;transform:translateZ(0)}.sc-ix-upload-h .file-upload-area.sc-ix-upload .upload-filename.sc-ix-upload{margin-bottom:1rem}.sc-ix-upload-h .file-upload-area.sc-ix-upload .state.sc-ix-upload{display:flex;align-items:center}.sc-ix-upload-h .file-upload-area.sc-ix-upload .state.sc-ix-upload>ix-spinner.sc-ix-upload{-webkit-margin-end:0.5rem;margin-inline-end:0.5rem;height:1.5rem;width:1.5rem}.sc-ix-upload-h .file-upload-area.sc-ix-upload .state.sc-ix-upload>i.sc-ix-upload{-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}.sc-ix-upload-h .file-upload-area.sc-ix-upload .state.sc-ix-upload>i.glyph-error.sc-ix-upload{color:var(--theme-color-alarm)}.sc-ix-upload-h .file-upload-area.sc-ix-upload .state.sc-ix-upload>i.glyph-success.sc-ix-upload{color:var(--theme-color-success)}";
|
|
7
22
|
|
|
8
23
|
const Upload = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
9
|
-
constructor() {
|
|
10
|
-
super();
|
|
11
|
-
this.__registerHost();
|
|
12
|
-
this.filesChanged = createEvent(this, "filesChanged", 7);
|
|
13
|
-
/**
|
|
14
|
-
* If multiple is true the user can drop or select multiple files
|
|
15
|
-
*/
|
|
16
|
-
this.multiple = false;
|
|
17
|
-
/**
|
|
18
|
-
* Whether the text should wrap to more than one line
|
|
19
|
-
*/
|
|
20
|
-
this.multiline = false;
|
|
21
|
-
/**
|
|
22
|
-
* Disable all input events
|
|
23
|
-
*/
|
|
24
|
-
this.disabled = false;
|
|
25
|
-
/**
|
|
26
|
-
* After a file is uploaded you can set the upload component to a defined state
|
|
27
|
-
*/
|
|
28
|
-
this.state = UploadFileState.SELECT_FILE;
|
|
29
|
-
/**
|
|
30
|
-
* Will be used by state = UploadFileState.SELECT_FILE
|
|
31
|
-
*/
|
|
32
|
-
this.selectFileText = '+ Drag files here or…';
|
|
33
|
-
/**
|
|
34
|
-
* Will be used by state = UploadFileState.LOADING
|
|
35
|
-
*/
|
|
36
|
-
this.loadingText = 'Checking files…';
|
|
37
|
-
/**
|
|
38
|
-
* Will be used by state = UploadFileState.UPLOAD_FAILED
|
|
39
|
-
*/
|
|
40
|
-
this.uploadFailedText = 'Upload failed. Please try again.';
|
|
41
|
-
/**
|
|
42
|
-
* Will be used by state = UploadFileState.UPLOAD_SUCCESSED
|
|
43
|
-
*/
|
|
44
|
-
this.uploadSuccessText = 'Upload successful';
|
|
45
|
-
/**
|
|
46
|
-
* Label for upload file button
|
|
47
|
-
*/
|
|
48
|
-
this.i18nUploadFile = 'Upload file…';
|
|
49
|
-
/**
|
|
50
|
-
* Text for disabled state
|
|
51
|
-
*/
|
|
52
|
-
this.i18nUploadDisabled = 'File upload currently not possible.';
|
|
53
|
-
this.isFileOver = false;
|
|
54
|
-
}
|
|
24
|
+
constructor() { super(); this.__registerHost(); this.filesChanged = createEvent(this, "filesChanged", 7); this.accept = undefined; this.multiple = false; this.multiline = false; this.disabled = false; this.state = UploadFileState.SELECT_FILE; this.selectFileText = '+ Drag files here or…'; this.loadingText = 'Checking files…'; this.uploadFailedText = 'Upload failed. Please try again.'; this.uploadSuccessText = 'Upload successful'; this.i18nUploadFile = 'Upload file…'; this.i18nUploadDisabled = 'File upload currently not possible.'; this.isFileOver = false; }
|
|
55
25
|
get inputElement() {
|
|
56
26
|
return this.hostElement.querySelector('#upload-browser');
|
|
57
27
|
}
|
|
@@ -175,4 +145,4 @@ function defineCustomElement$1() {
|
|
|
175
145
|
const IxUpload = Upload;
|
|
176
146
|
const defineCustomElement = defineCustomElement$1;
|
|
177
147
|
|
|
178
|
-
export { IxUpload, defineCustomElement };
|
|
148
|
+
export { IxUpload, UploadFileState as U, defineCustomElement };
|
|
@@ -7,13 +7,11 @@ const ValidationTooltip = /*@__PURE__*/ proxyCustomElement(class extends HTMLEle
|
|
|
7
7
|
constructor() {
|
|
8
8
|
super();
|
|
9
9
|
this.__registerHost();
|
|
10
|
-
/**
|
|
11
|
-
* Placement of the tooltip
|
|
12
|
-
*/
|
|
13
|
-
this.placement = 'top';
|
|
14
|
-
this.isInputValid = true;
|
|
15
10
|
this.onSubmitBind = this.onSubmit.bind(this);
|
|
16
11
|
this.onInputFocusBind = this.onInputFocus.bind(this);
|
|
12
|
+
this.message = undefined;
|
|
13
|
+
this.placement = 'top';
|
|
14
|
+
this.isInputValid = true;
|
|
17
15
|
}
|
|
18
16
|
get arrow() {
|
|
19
17
|
return this.hostElement.querySelector('#arrow');
|
|
@@ -7,29 +7,11 @@ const WorkflowStep = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
7
7
|
constructor() {
|
|
8
8
|
super();
|
|
9
9
|
this.__registerHost();
|
|
10
|
-
/**
|
|
11
|
-
* Select orientation
|
|
12
|
-
*/
|
|
13
10
|
this.vertical = false;
|
|
14
|
-
/**
|
|
15
|
-
* Set disabled
|
|
16
|
-
*/
|
|
17
11
|
this.disabled = false;
|
|
18
|
-
/**
|
|
19
|
-
* Set status
|
|
20
|
-
*/
|
|
21
12
|
this.status = 'open';
|
|
22
|
-
/**
|
|
23
|
-
* Activate navigation click
|
|
24
|
-
*/
|
|
25
13
|
this.clickable = false;
|
|
26
|
-
/**
|
|
27
|
-
* Set selected
|
|
28
|
-
*/
|
|
29
14
|
this.selected = false;
|
|
30
|
-
/**
|
|
31
|
-
* Activate navigation click
|
|
32
|
-
*/
|
|
33
15
|
this.position = 'undefined';
|
|
34
16
|
this.iconName = 'circle';
|
|
35
17
|
this.iconColor = 'workflow-step-icon-default--color';
|
|
@@ -7,21 +7,9 @@ const WorkflowSteps = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
7
7
|
super();
|
|
8
8
|
this.__registerHost();
|
|
9
9
|
this.stepSelected = createEvent(this, "stepSelected", 7);
|
|
10
|
-
/**
|
|
11
|
-
* Select orientation
|
|
12
|
-
*/
|
|
13
10
|
this.vertical = false;
|
|
14
|
-
/**
|
|
15
|
-
* Select linear mode
|
|
16
|
-
*/
|
|
17
11
|
this.linear = false;
|
|
18
|
-
/**
|
|
19
|
-
* Activate navigation click
|
|
20
|
-
*/
|
|
21
12
|
this.clickable = false;
|
|
22
|
-
/**
|
|
23
|
-
* Activate navigation click
|
|
24
|
-
*/
|
|
25
13
|
this.selectedIndex = 0;
|
|
26
14
|
}
|
|
27
15
|
getSteps() {
|
|
@@ -1,14 +1,45 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
|
+
import { a as anime } from './anime.es.js';
|
|
2
3
|
import { d as defineCustomElement$2 } from './icon.js';
|
|
3
4
|
import { d as defineCustomElement$1 } from './icon-button.js';
|
|
4
5
|
|
|
5
|
-
const mapNavigationOverlayCss = ".text-xs.sc-ix-map-navigation-overlay{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.625rem;font-weight:400;line-height:1.4em;color:var(--theme-color-std-text)}.text-s.sc-ix-map-navigation-overlay{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.75rem;font-weight:400;line-height:1.5em;color:var(--theme-color-std-text)}.text-caption.sc-ix-map-navigation-overlay{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.75rem;font-weight:700;line-height:1.5em;color:var(--theme-color-std-text)}.text-caption-single.sc-ix-map-navigation-overlay{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.75rem;font-weight:700;line-height:1em;color:var(--theme-color-std-text)}.text-default.sc-ix-map-navigation-overlay{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:400;line-height:1.429em;color:var(--theme-color-std-text)}.text-default-single.sc-ix-map-navigation-overlay{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:400;line-height:1.143em;color:var(--theme-color-std-text)}.text-default-title.sc-ix-map-navigation-overlay{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:700;line-height:1.429em;color:var(--theme-color-std-text)}.text-default-title-single.sc-ix-map-navigation-overlay{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:700;line-height:1.143em;color:var(--theme-color-std-text)}.text-l.sc-ix-map-navigation-overlay{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:1rem;font-weight:400;line-height:1.5em;color:var(--theme-color-std-text)}.text-l-single.sc-ix-map-navigation-overlay{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:1rem;font-weight:400;line-height:1.25em;color:var(--theme-color-std-text)}.text-l-title.sc-ix-map-navigation-overlay{-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)}.text-l-title-single.sc-ix-map-navigation-overlay{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:1rem;font-weight:700;line-height:1.25em;color:var(--theme-color-std-text)}.text-h2.sc-ix-map-navigation-overlay{-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)}.text-xl.sc-ix-map-navigation-overlay{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:1.375rem;font-weight:400;line-height:1.091em;color:var(--theme-color-std-text)}a.sc-ix-map-navigation-overlay{color:var(--theme-color-primary)}.sc-ix-map-navigation-overlay-h{position:absolute;width:100%;height:100%;z-index:2;background-color:var(--theme-overlay--background)}.sc-ix-map-navigation-overlay-h .overlay-header.sc-ix-map-navigation-overlay{display:flex;position:relative;justify-content:flex-start;align-items:center;height:3.5rem;background-color:var(--theme-overlay-header--background)}.sc-ix-map-navigation-overlay-h .overlay-header-content.sc-ix-map-navigation-overlay{display:flex;align-items:center;min-width:0}.sc-ix-map-navigation-overlay-h .overlay-header-content.sc-ix-map-navigation-overlay ix-icon.sc-ix-map-navigation-overlay{margin-left:1rem;color:var(--theme-overlay-header--color)}.sc-ix-map-navigation-overlay-h .overlay-header-content.sc-ix-map-navigation-overlay .overlay-header-title.sc-ix-map-navigation-overlay{-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);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--theme-overlay-header--color);margin-left:1rem}.sc-ix-map-navigation-overlay-h .color-indicator.sc-ix-map-navigation-overlay{display:inline-block;position:relative;width:0.5rem;height:100%;background-color:var(--theme-color-neutral)}.sc-ix-map-navigation-overlay-h .overlay-close.sc-ix-map-navigation-overlay{margin-left:auto;margin-right:1rem}";
|
|
6
|
+
const mapNavigationOverlayCss = ".text-xs.sc-ix-map-navigation-overlay{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.625rem;font-weight:400;line-height:1.4em;color:var(--theme-color-std-text)}.text-s.sc-ix-map-navigation-overlay{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.75rem;font-weight:400;line-height:1.5em;color:var(--theme-color-std-text)}.text-caption.sc-ix-map-navigation-overlay{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.75rem;font-weight:700;line-height:1.5em;color:var(--theme-color-std-text)}.text-caption-single.sc-ix-map-navigation-overlay{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.75rem;font-weight:700;line-height:1em;color:var(--theme-color-std-text)}.text-default.sc-ix-map-navigation-overlay{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:400;line-height:1.429em;color:var(--theme-color-std-text)}.text-default-single.sc-ix-map-navigation-overlay{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:400;line-height:1.143em;color:var(--theme-color-std-text)}.text-default-title.sc-ix-map-navigation-overlay{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:700;line-height:1.429em;color:var(--theme-color-std-text)}.text-default-title-single.sc-ix-map-navigation-overlay{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:700;line-height:1.143em;color:var(--theme-color-std-text)}.text-l.sc-ix-map-navigation-overlay{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:1rem;font-weight:400;line-height:1.5em;color:var(--theme-color-std-text)}.text-l-single.sc-ix-map-navigation-overlay{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:1rem;font-weight:400;line-height:1.25em;color:var(--theme-color-std-text)}.text-l-title.sc-ix-map-navigation-overlay{-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)}.text-l-title-single.sc-ix-map-navigation-overlay{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:1rem;font-weight:700;line-height:1.25em;color:var(--theme-color-std-text)}.text-h2.sc-ix-map-navigation-overlay{-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)}.text-xl.sc-ix-map-navigation-overlay{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:1.375rem;font-weight:400;line-height:1.091em;color:var(--theme-color-std-text)}a.sc-ix-map-navigation-overlay{color:var(--theme-color-primary)}.sc-ix-map-navigation-overlay-h{position:absolute;width:100%;height:100%;z-index:2;top:0;background-color:var(--theme-overlay--background)}.sc-ix-map-navigation-overlay-h .overlay-header.sc-ix-map-navigation-overlay{display:flex;position:relative;justify-content:flex-start;align-items:center;height:3.5rem;background-color:var(--theme-overlay-header--background)}.sc-ix-map-navigation-overlay-h .overlay-header-content.sc-ix-map-navigation-overlay{display:flex;align-items:center;min-width:0}.sc-ix-map-navigation-overlay-h .overlay-header-content.sc-ix-map-navigation-overlay ix-icon.sc-ix-map-navigation-overlay{margin-left:1rem;color:var(--theme-overlay-header--color)}.sc-ix-map-navigation-overlay-h .overlay-header-content.sc-ix-map-navigation-overlay .overlay-header-title.sc-ix-map-navigation-overlay{-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);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--theme-overlay-header--color);margin-left:1rem}.sc-ix-map-navigation-overlay-h .color-indicator.sc-ix-map-navigation-overlay{display:inline-block;position:relative;width:0.5rem;height:100%;background-color:var(--theme-color-neutral)}.sc-ix-map-navigation-overlay-h .overlay-close.sc-ix-map-navigation-overlay{margin-left:auto;margin-right:1rem}";
|
|
6
7
|
|
|
7
8
|
const MapNavigationOverlay = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
8
9
|
constructor() {
|
|
9
10
|
super();
|
|
10
11
|
this.__registerHost();
|
|
11
12
|
this.closeClick = createEvent(this, "closeClick", 7);
|
|
13
|
+
this.name = undefined;
|
|
14
|
+
this.icon = undefined;
|
|
15
|
+
this.color = undefined;
|
|
16
|
+
}
|
|
17
|
+
componentWillLoad() {
|
|
18
|
+
anime({
|
|
19
|
+
targets: this.hostElement,
|
|
20
|
+
duration: MapNavigationOverlay.slowTime,
|
|
21
|
+
backdropFilter: [0, 'blur(1rem)'],
|
|
22
|
+
translateX: ['-4rem', 0],
|
|
23
|
+
opacity: [0, 1],
|
|
24
|
+
easing: 'easeOutSine',
|
|
25
|
+
begin: () => {
|
|
26
|
+
this.hostElement.classList.remove('d-none');
|
|
27
|
+
}
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
closeOverlay() {
|
|
31
|
+
anime({
|
|
32
|
+
targets: this.hostElement,
|
|
33
|
+
duration: MapNavigationOverlay.slowTime,
|
|
34
|
+
backdropFilter: ['blur(1rem)', 0],
|
|
35
|
+
translateX: [0, '-4rem'],
|
|
36
|
+
opacity: [1, 0],
|
|
37
|
+
easing: 'easeInSine',
|
|
38
|
+
complete: () => {
|
|
39
|
+
this.closeClick.emit();
|
|
40
|
+
this.hostElement.classList.add('d-none');
|
|
41
|
+
},
|
|
42
|
+
});
|
|
12
43
|
}
|
|
13
44
|
render() {
|
|
14
45
|
return (h(Host, null, h("div", { class: "overlay-header" }, h("div", { class: {
|
|
@@ -18,14 +49,16 @@ const MapNavigationOverlay = /*@__PURE__*/ proxyCustomElement(class extends HTML
|
|
|
18
49
|
'background-color': this.color
|
|
19
50
|
? `var(--theme-${this.color})`
|
|
20
51
|
: '',
|
|
21
|
-
} }), h("div", { class: "overlay-header-content" }, h("ix-icon", { size: "32", name: this.icon }), h("span", { class: "overlay-header-title", title: this.name }, this.name)), h("ix-icon-button", { class: "overlay-close", invisible: true, icon: "close", size: "24", onClick: () => this.
|
|
52
|
+
} }), h("div", { class: "overlay-header-content" }, h("ix-icon", { size: "32", name: this.icon }), h("span", { class: "overlay-header-title", title: this.name }, this.name)), h("ix-icon-button", { class: "overlay-close", invisible: true, icon: "close", size: "24", onClick: () => this.closeOverlay() })), h("slot", null)));
|
|
22
53
|
}
|
|
54
|
+
get hostElement() { return this; }
|
|
23
55
|
static get style() { return mapNavigationOverlayCss; }
|
|
24
56
|
}, [6, "ix-map-navigation-overlay", {
|
|
25
57
|
"name": [1],
|
|
26
58
|
"icon": [1],
|
|
27
59
|
"color": [1]
|
|
28
60
|
}]);
|
|
61
|
+
MapNavigationOverlay.slowTime = 500;
|
|
29
62
|
function defineCustomElement() {
|
|
30
63
|
if (typeof customElements === "undefined") {
|
|
31
64
|
return;
|
|
@@ -9,6 +9,8 @@ const MenuAvatarItem = /*@__PURE__*/ proxyCustomElement(class extends HTMLElemen
|
|
|
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) }));
|
|
@@ -6,18 +6,13 @@ const MenuItem = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
6
6
|
constructor() {
|
|
7
7
|
super();
|
|
8
8
|
this.__registerHost();
|
|
9
|
-
/**
|
|
10
|
-
* Move the Tab to a top position.
|
|
11
|
-
*/
|
|
12
9
|
this.home = false;
|
|
13
|
-
/**
|
|
14
|
-
* Place tab on bottom
|
|
15
|
-
*/
|
|
16
10
|
this.bottom = false;
|
|
17
|
-
/**
|
|
18
|
-
* Icon name from @siemens/ix-icons
|
|
19
|
-
*/
|
|
20
11
|
this.tabIcon = 'document';
|
|
12
|
+
this.notifications = undefined;
|
|
13
|
+
this.active = undefined;
|
|
14
|
+
this.disabled = undefined;
|
|
15
|
+
this.title = undefined;
|
|
21
16
|
}
|
|
22
17
|
get tabLabel() {
|
|
23
18
|
return this.hostElement.querySelector('.tab-text');
|
package/dist/components/modal.js
CHANGED
|
@@ -11,40 +11,23 @@ const Modal = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
11
11
|
this.__registerHost();
|
|
12
12
|
this.closed = createEvent(this, "closed", 7);
|
|
13
13
|
this.dismissed = createEvent(this, "dismissed", 7);
|
|
14
|
-
|
|
15
|
-
* Should the modal be animtated
|
|
16
|
-
*/
|
|
14
|
+
this.onKeydown = this.handleKeydown.bind(this);
|
|
17
15
|
this.animation = true;
|
|
18
|
-
|
|
19
|
-
*
|
|
20
|
-
*/
|
|
16
|
+
this.ariaDescribedBy = undefined;
|
|
21
17
|
this.ariaLabelledBy = 'modal-title';
|
|
22
|
-
/**
|
|
23
|
-
* Adds a dimming layer to the modal.
|
|
24
|
-
* This should only be used when it it necessary to focus the user's attention to the dialog content (e.g. errors, warnings, complex tasks).
|
|
25
|
-
*/
|
|
26
18
|
this.backdrop = true;
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
*/
|
|
19
|
+
this.backdropClass = undefined;
|
|
20
|
+
this.beforeDismiss = undefined;
|
|
30
21
|
this.centered = false;
|
|
31
|
-
|
|
32
|
-
* ESC close modal dialog
|
|
33
|
-
*/
|
|
22
|
+
this.content = undefined;
|
|
34
23
|
this.keyboard = true;
|
|
35
|
-
|
|
36
|
-
* Color of the header {@link icon}
|
|
37
|
-
*/
|
|
24
|
+
this.icon = undefined;
|
|
38
25
|
this.iconColor = 'color-std-text';
|
|
39
|
-
|
|
40
|
-
* Modal scollable
|
|
41
|
-
*/
|
|
26
|
+
this.modalDialogClass = undefined;
|
|
42
27
|
this.scrollable = true;
|
|
43
|
-
/**
|
|
44
|
-
* Modal size
|
|
45
|
-
*/
|
|
46
28
|
this.size = 'sm';
|
|
47
|
-
this.
|
|
29
|
+
this.headerTitle = undefined;
|
|
30
|
+
this.windowClass = undefined;
|
|
48
31
|
}
|
|
49
32
|
get modal() {
|
|
50
33
|
return this.hostElement.querySelector('.modal');
|
|
@@ -9,13 +9,9 @@ const SelectItem = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
9
9
|
super();
|
|
10
10
|
this.__registerHost();
|
|
11
11
|
this.itemClick = createEvent(this, "itemClick", 7);
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
*/
|
|
12
|
+
this.label = undefined;
|
|
13
|
+
this.value = undefined;
|
|
15
14
|
this.selected = false;
|
|
16
|
-
/**
|
|
17
|
-
* ***Internal***
|
|
18
|
-
*/
|
|
19
15
|
this.hover = false;
|
|
20
16
|
}
|
|
21
17
|
/**
|
|
@@ -6,13 +6,7 @@ const Spinner = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
6
6
|
constructor() {
|
|
7
7
|
super();
|
|
8
8
|
this.__registerHost();
|
|
9
|
-
/**
|
|
10
|
-
* Variant of spinner
|
|
11
|
-
*/
|
|
12
9
|
this.variant = 'secondary';
|
|
13
|
-
/**
|
|
14
|
-
* Size of spinner
|
|
15
|
-
*/
|
|
16
10
|
this.size = 'medium';
|
|
17
11
|
}
|
|
18
12
|
render() {
|
|
@@ -6,33 +6,13 @@ const TabItem = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
6
6
|
constructor() {
|
|
7
7
|
super();
|
|
8
8
|
this.__registerHost();
|
|
9
|
-
/**
|
|
10
|
-
* Set selected tab
|
|
11
|
-
*/
|
|
12
9
|
this.selected = false;
|
|
13
|
-
/**
|
|
14
|
-
* Set disabled tab
|
|
15
|
-
*/
|
|
16
10
|
this.disabled = false;
|
|
17
|
-
/**
|
|
18
|
-
* Set small size tab
|
|
19
|
-
*/
|
|
20
11
|
this.small = false;
|
|
21
|
-
/**
|
|
22
|
-
* Set icon only tab
|
|
23
|
-
*/
|
|
24
12
|
this.icon = false;
|
|
25
|
-
/**
|
|
26
|
-
* Set rounded tab
|
|
27
|
-
*/
|
|
28
13
|
this.rounded = false;
|
|
29
|
-
|
|
30
|
-
* Set layout width style
|
|
31
|
-
*/
|
|
14
|
+
this.counter = undefined;
|
|
32
15
|
this.layout = 'auto';
|
|
33
|
-
/**
|
|
34
|
-
* Set selected placement
|
|
35
|
-
*/
|
|
36
16
|
this.placement = 'bottom';
|
|
37
17
|
}
|
|
38
18
|
tabItemClasses(props) {
|
package/dist/components/tabs.js
CHANGED
|
@@ -7,34 +7,19 @@ const Tabs = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
7
7
|
constructor() {
|
|
8
8
|
super();
|
|
9
9
|
this.__registerHost();
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
this.clickAction = {
|
|
11
|
+
timeout: null,
|
|
12
|
+
isClick: true,
|
|
13
|
+
};
|
|
13
14
|
this.small = false;
|
|
14
|
-
/**
|
|
15
|
-
* Set rounded tabs
|
|
16
|
-
*/
|
|
17
15
|
this.rounded = false;
|
|
18
|
-
/**
|
|
19
|
-
* Set default selected tab by index
|
|
20
|
-
*/
|
|
21
16
|
this.selected = 0;
|
|
22
|
-
/**
|
|
23
|
-
* Set layout width style
|
|
24
|
-
*/
|
|
25
17
|
this.layout = 'auto';
|
|
26
|
-
/**
|
|
27
|
-
* Set placement style
|
|
28
|
-
*/
|
|
29
18
|
this.placement = 'bottom';
|
|
30
19
|
this.totalItems = 0;
|
|
31
20
|
this.currentScrollAmount = 0;
|
|
32
21
|
this.scrollAmount = 100;
|
|
33
22
|
this.scrollActionAmount = 0;
|
|
34
|
-
this.clickAction = {
|
|
35
|
-
timeout: null,
|
|
36
|
-
isClick: true,
|
|
37
|
-
};
|
|
38
23
|
}
|
|
39
24
|
onWindowResize() {
|
|
40
25
|
this.totalItems = 0;
|
|
@@ -13,55 +13,21 @@ const TimePicker = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
13
13
|
this.__registerHost();
|
|
14
14
|
this.done = createEvent(this, "done", 7);
|
|
15
15
|
this.timeChange = createEvent(this, "timeChange", 7);
|
|
16
|
-
|
|
17
|
-
* Format of time string
|
|
18
|
-
*
|
|
19
|
-
* @since 1.1.0
|
|
20
|
-
*/
|
|
16
|
+
this._time = luxon.DateTime.now();
|
|
21
17
|
this.format = 'TT';
|
|
22
|
-
/**
|
|
23
|
-
* Corner style
|
|
24
|
-
*/
|
|
25
18
|
this.corners = 'rounded';
|
|
26
|
-
/**
|
|
27
|
-
* @deprecated - will get removed with next major release
|
|
28
|
-
*/
|
|
29
19
|
this.individual = true;
|
|
30
|
-
/**
|
|
31
|
-
* Show hour input
|
|
32
|
-
*/
|
|
33
20
|
this.showHour = false;
|
|
34
|
-
/**
|
|
35
|
-
* Show minutes input
|
|
36
|
-
*/
|
|
37
21
|
this.showMinutes = false;
|
|
38
|
-
/**
|
|
39
|
-
* Show seconds input
|
|
40
|
-
*/
|
|
41
22
|
this.showSeconds = false;
|
|
42
|
-
/**
|
|
43
|
-
* Select time with format string
|
|
44
|
-
*
|
|
45
|
-
* @since 1.1.0
|
|
46
|
-
*/
|
|
47
23
|
this.time = luxon.DateTime.now().toFormat(this.format);
|
|
48
|
-
/**
|
|
49
|
-
* Show time reference input
|
|
50
|
-
*
|
|
51
|
-
* @since 1.1.0 time reference is default aligned with formt tt
|
|
52
|
-
*/
|
|
53
24
|
this.showTimeReference = undefined;
|
|
54
|
-
/**
|
|
55
|
-
* Set time reference
|
|
56
|
-
*/
|
|
57
25
|
this.timeReference = luxon.DateTime.fromFormat(this.time, this.format).toFormat('a');
|
|
58
|
-
/**
|
|
59
|
-
* Text of date select button
|
|
60
|
-
*
|
|
61
|
-
* @since 1.1.0
|
|
62
|
-
*/
|
|
63
26
|
this.textSelectTime = 'Done';
|
|
64
|
-
this.
|
|
27
|
+
this.hourInputRef = undefined;
|
|
28
|
+
this.minuteInputRef = undefined;
|
|
29
|
+
this.secondInputRef = undefined;
|
|
30
|
+
this.referenceInputRef = undefined;
|
|
65
31
|
}
|
|
66
32
|
get hour() {
|
|
67
33
|
return this._time.hour;
|
|
@@ -107,6 +73,7 @@ const TimePicker = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
107
73
|
this.timeChange.emit(time);
|
|
108
74
|
}
|
|
109
75
|
componentWillLoad() {
|
|
76
|
+
this._time = luxon.DateTime.fromFormat(this.time, this.format);
|
|
110
77
|
if (this.showTimeReference === undefined) {
|
|
111
78
|
const matchedKeys = Object.keys(luxon.DateTime.fromFormatExplain(this.time, this.format).matches);
|
|
112
79
|
this.showTimeReference = matchedKeys.includes('a');
|
|
@@ -116,7 +83,7 @@ const TimePicker = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
116
83
|
* Get current time
|
|
117
84
|
*/
|
|
118
85
|
async getCurrentTime() {
|
|
119
|
-
return this._time;
|
|
86
|
+
return this._time.toFormat(this.format);
|
|
120
87
|
}
|
|
121
88
|
render() {
|
|
122
89
|
let hideHour = !this.showHour;
|
package/dist/components/toast.js
CHANGED
|
@@ -9,18 +9,12 @@ const Toast = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
9
9
|
super();
|
|
10
10
|
this.__registerHost();
|
|
11
11
|
this.closeToast = createEvent(this, "closeToast", 7);
|
|
12
|
-
/**
|
|
13
|
-
* Toast type
|
|
14
|
-
*/
|
|
15
12
|
this.type = 'info';
|
|
16
|
-
|
|
17
|
-
* Autoclose title after delay
|
|
18
|
-
*/
|
|
13
|
+
this.toastTitle = undefined;
|
|
19
14
|
this.autoCloseDelay = 5000;
|
|
20
|
-
/**
|
|
21
|
-
* Autoclose behavior
|
|
22
|
-
*/
|
|
23
15
|
this.autoClose = true;
|
|
16
|
+
this.icon = undefined;
|
|
17
|
+
this.iconColor = undefined;
|
|
24
18
|
this.progress = 0;
|
|
25
19
|
this.isRunning = true;
|
|
26
20
|
this.touched = false;
|
|
@@ -9,6 +9,9 @@ const TreeItem = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
9
9
|
this.__registerHost();
|
|
10
10
|
this.toggle = createEvent(this, "toggle", 7);
|
|
11
11
|
this.itemClick = createEvent(this, "itemClick", 7);
|
|
12
|
+
this.text = undefined;
|
|
13
|
+
this.hasChildren = undefined;
|
|
14
|
+
this.context = undefined;
|
|
12
15
|
}
|
|
13
16
|
render() {
|
|
14
17
|
var _a, _b, _c;
|
|
@@ -14,7 +14,7 @@ const isSecondary = (variant) => {
|
|
|
14
14
|
};
|
|
15
15
|
const getButtonClasses = (variant, outline, ghost, iconOnly = false, iconOval = false, selected, disabled) => {
|
|
16
16
|
return {
|
|
17
|
-
|
|
17
|
+
btn: true,
|
|
18
18
|
'btn-primary': isPrimary(variant) && !outline && !ghost,
|
|
19
19
|
'btn-outline-primary': isPrimary(variant) && outline && !ghost,
|
|
20
20
|
'btn-invisible-primary': isPrimary(variant) && !outline && ghost,
|
|
@@ -23,8 +23,8 @@ const getButtonClasses = (variant, outline, ghost, iconOnly = false, iconOval =
|
|
|
23
23
|
'btn-invisible-secondary': isSecondary(variant) && !outline && ghost,
|
|
24
24
|
'btn-icon': iconOnly,
|
|
25
25
|
'btn-oval': iconOval,
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
selected: isSecondary(variant) && (outline || ghost) && selected,
|
|
27
|
+
disabled: disabled,
|
|
28
28
|
};
|
|
29
29
|
};
|
|
30
30
|
|