@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
|
@@ -6,45 +6,28 @@
|
|
|
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 anime from 'animejs';
|
|
11
11
|
import Animation from '../utils/animation';
|
|
12
12
|
export class Modal {
|
|
13
13
|
constructor() {
|
|
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');
|
|
@@ -132,409 +115,412 @@ export class Modal {
|
|
|
132
115
|
this.slideUp(this.modalContent, () => this.closed.emit(result));
|
|
133
116
|
}
|
|
134
117
|
render() {
|
|
135
|
-
return (h(Host, null,
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
'modal-xl': this.size === 'xl',
|
|
148
|
-
} },
|
|
149
|
-
h("div", { class: "modal-content" },
|
|
150
|
-
this.icon === undefined || this.icon === '' ? ('') : (h("div", { class: "state-icon-container" },
|
|
151
|
-
h("ix-icon", { name: this.icon, size: "32", color: this.iconColor }))),
|
|
152
|
-
h("div", { class: "slot-container" },
|
|
153
|
-
h("slot", null)))))));
|
|
118
|
+
return (h(Host, null, h("div", { class: {
|
|
119
|
+
animation: this.animation,
|
|
120
|
+
modal: true,
|
|
121
|
+
backdrop: this.backdrop === 'static' || this.backdrop,
|
|
122
|
+
'align-items-center': this.centered,
|
|
123
|
+
scrollable: this.scrollable,
|
|
124
|
+
}, "aria-describedby": this.ariaDescribedBy, "aria-labelledby": this.ariaLabelledBy }, h("div", { class: {
|
|
125
|
+
'modal-dialog': true,
|
|
126
|
+
'modal-sm': this.size === 'sm',
|
|
127
|
+
'modal-lg': this.size === 'lg',
|
|
128
|
+
'modal-xl': this.size === 'xl',
|
|
129
|
+
} }, h("div", { class: "modal-content" }, this.icon === undefined || this.icon === '' ? ('') : (h("div", { class: "state-icon-container" }, h("ix-icon", { name: this.icon, size: "32", color: this.iconColor }))), h("div", { class: "slot-container" }, h("slot", null)))))));
|
|
154
130
|
}
|
|
155
131
|
static get is() { return "ix-modal"; }
|
|
156
132
|
static get encapsulation() { return "scoped"; }
|
|
157
|
-
static get originalStyleUrls() {
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
"
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
"
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
"
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
"
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
"
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
"
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
"tags": [],
|
|
268
|
-
"text": "BeforeDismiss callback"
|
|
269
|
-
}
|
|
270
|
-
},
|
|
271
|
-
"centered": {
|
|
272
|
-
"type": "boolean",
|
|
273
|
-
"mutable": false,
|
|
274
|
-
"complexType": {
|
|
275
|
-
"original": "boolean",
|
|
276
|
-
"resolved": "boolean",
|
|
277
|
-
"references": {}
|
|
278
|
-
},
|
|
279
|
-
"required": false,
|
|
280
|
-
"optional": false,
|
|
281
|
-
"docs": {
|
|
282
|
-
"tags": [],
|
|
283
|
-
"text": "Centered modal"
|
|
284
|
-
},
|
|
285
|
-
"attribute": "centered",
|
|
286
|
-
"reflect": false,
|
|
287
|
-
"defaultValue": "false"
|
|
288
|
-
},
|
|
289
|
-
"content": {
|
|
290
|
-
"type": "string",
|
|
291
|
-
"mutable": false,
|
|
292
|
-
"complexType": {
|
|
293
|
-
"original": "HTMLElement | string",
|
|
294
|
-
"resolved": "HTMLElement | string",
|
|
295
|
-
"references": {
|
|
296
|
-
"HTMLElement": {
|
|
297
|
-
"location": "global"
|
|
133
|
+
static get originalStyleUrls() {
|
|
134
|
+
return {
|
|
135
|
+
"$": ["modal.scss"]
|
|
136
|
+
};
|
|
137
|
+
}
|
|
138
|
+
static get styleUrls() {
|
|
139
|
+
return {
|
|
140
|
+
"$": ["modal.css"]
|
|
141
|
+
};
|
|
142
|
+
}
|
|
143
|
+
static get properties() {
|
|
144
|
+
return {
|
|
145
|
+
"animation": {
|
|
146
|
+
"type": "boolean",
|
|
147
|
+
"mutable": false,
|
|
148
|
+
"complexType": {
|
|
149
|
+
"original": "boolean",
|
|
150
|
+
"resolved": "boolean",
|
|
151
|
+
"references": {}
|
|
152
|
+
},
|
|
153
|
+
"required": false,
|
|
154
|
+
"optional": false,
|
|
155
|
+
"docs": {
|
|
156
|
+
"tags": [],
|
|
157
|
+
"text": "Should the modal be animtated"
|
|
158
|
+
},
|
|
159
|
+
"attribute": "animation",
|
|
160
|
+
"reflect": false,
|
|
161
|
+
"defaultValue": "true"
|
|
162
|
+
},
|
|
163
|
+
"ariaDescribedBy": {
|
|
164
|
+
"type": "string",
|
|
165
|
+
"mutable": false,
|
|
166
|
+
"complexType": {
|
|
167
|
+
"original": "string",
|
|
168
|
+
"resolved": "string",
|
|
169
|
+
"references": {}
|
|
170
|
+
},
|
|
171
|
+
"required": false,
|
|
172
|
+
"optional": false,
|
|
173
|
+
"docs": {
|
|
174
|
+
"tags": [],
|
|
175
|
+
"text": ""
|
|
176
|
+
},
|
|
177
|
+
"attribute": "aria-described-by",
|
|
178
|
+
"reflect": false
|
|
179
|
+
},
|
|
180
|
+
"ariaLabelledBy": {
|
|
181
|
+
"type": "string",
|
|
182
|
+
"mutable": false,
|
|
183
|
+
"complexType": {
|
|
184
|
+
"original": "string",
|
|
185
|
+
"resolved": "string",
|
|
186
|
+
"references": {}
|
|
187
|
+
},
|
|
188
|
+
"required": false,
|
|
189
|
+
"optional": false,
|
|
190
|
+
"docs": {
|
|
191
|
+
"tags": [],
|
|
192
|
+
"text": ""
|
|
193
|
+
},
|
|
194
|
+
"attribute": "aria-labelled-by",
|
|
195
|
+
"reflect": false,
|
|
196
|
+
"defaultValue": "'modal-title'"
|
|
197
|
+
},
|
|
198
|
+
"backdrop": {
|
|
199
|
+
"type": "any",
|
|
200
|
+
"mutable": false,
|
|
201
|
+
"complexType": {
|
|
202
|
+
"original": "boolean | 'static'",
|
|
203
|
+
"resolved": "\"static\" | boolean",
|
|
204
|
+
"references": {}
|
|
205
|
+
},
|
|
206
|
+
"required": false,
|
|
207
|
+
"optional": false,
|
|
208
|
+
"docs": {
|
|
209
|
+
"tags": [],
|
|
210
|
+
"text": "Adds a dimming layer to the modal.\nThis should only be used when it it necessary to focus the user's attention to the dialog content (e.g. errors, warnings, complex tasks)."
|
|
211
|
+
},
|
|
212
|
+
"attribute": "backdrop",
|
|
213
|
+
"reflect": false,
|
|
214
|
+
"defaultValue": "true"
|
|
215
|
+
},
|
|
216
|
+
"backdropClass": {
|
|
217
|
+
"type": "string",
|
|
218
|
+
"mutable": false,
|
|
219
|
+
"complexType": {
|
|
220
|
+
"original": "string",
|
|
221
|
+
"resolved": "string",
|
|
222
|
+
"references": {}
|
|
223
|
+
},
|
|
224
|
+
"required": false,
|
|
225
|
+
"optional": false,
|
|
226
|
+
"docs": {
|
|
227
|
+
"tags": [],
|
|
228
|
+
"text": "Backdrop class"
|
|
229
|
+
},
|
|
230
|
+
"attribute": "backdrop-class",
|
|
231
|
+
"reflect": false
|
|
232
|
+
},
|
|
233
|
+
"beforeDismiss": {
|
|
234
|
+
"type": "unknown",
|
|
235
|
+
"mutable": false,
|
|
236
|
+
"complexType": {
|
|
237
|
+
"original": "(reason?: any) => boolean | Promise<boolean>",
|
|
238
|
+
"resolved": "(reason?: any) => boolean | Promise<boolean>",
|
|
239
|
+
"references": {
|
|
240
|
+
"Promise": {
|
|
241
|
+
"location": "global"
|
|
242
|
+
}
|
|
298
243
|
}
|
|
244
|
+
},
|
|
245
|
+
"required": false,
|
|
246
|
+
"optional": false,
|
|
247
|
+
"docs": {
|
|
248
|
+
"tags": [],
|
|
249
|
+
"text": "BeforeDismiss callback"
|
|
299
250
|
}
|
|
300
251
|
},
|
|
301
|
-
"
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
"
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
"
|
|
316
|
-
"
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
"
|
|
320
|
-
|
|
321
|
-
"
|
|
322
|
-
"
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
"type": "string",
|
|
330
|
-
"mutable": false,
|
|
331
|
-
"complexType": {
|
|
332
|
-
"original": "string",
|
|
333
|
-
"resolved": "string",
|
|
334
|
-
"references": {}
|
|
335
|
-
},
|
|
336
|
-
"required": false,
|
|
337
|
-
"optional": false,
|
|
338
|
-
"docs": {
|
|
339
|
-
"tags": [],
|
|
340
|
-
"text": "Optional icon displayed next to the title"
|
|
341
|
-
},
|
|
342
|
-
"attribute": "icon",
|
|
343
|
-
"reflect": false
|
|
344
|
-
},
|
|
345
|
-
"iconColor": {
|
|
346
|
-
"type": "string",
|
|
347
|
-
"mutable": false,
|
|
348
|
-
"complexType": {
|
|
349
|
-
"original": "NotificationColor",
|
|
350
|
-
"resolved": "\"color-alarm\" | \"color-info\" | \"color-std-text\" | \"color-success\" | \"color-warning\"",
|
|
351
|
-
"references": {
|
|
352
|
-
"NotificationColor": {
|
|
353
|
-
"location": "import",
|
|
354
|
-
"path": "../utils/notification-color"
|
|
252
|
+
"centered": {
|
|
253
|
+
"type": "boolean",
|
|
254
|
+
"mutable": false,
|
|
255
|
+
"complexType": {
|
|
256
|
+
"original": "boolean",
|
|
257
|
+
"resolved": "boolean",
|
|
258
|
+
"references": {}
|
|
259
|
+
},
|
|
260
|
+
"required": false,
|
|
261
|
+
"optional": false,
|
|
262
|
+
"docs": {
|
|
263
|
+
"tags": [],
|
|
264
|
+
"text": "Centered modal"
|
|
265
|
+
},
|
|
266
|
+
"attribute": "centered",
|
|
267
|
+
"reflect": false,
|
|
268
|
+
"defaultValue": "false"
|
|
269
|
+
},
|
|
270
|
+
"content": {
|
|
271
|
+
"type": "string",
|
|
272
|
+
"mutable": false,
|
|
273
|
+
"complexType": {
|
|
274
|
+
"original": "HTMLElement | string",
|
|
275
|
+
"resolved": "HTMLElement | string",
|
|
276
|
+
"references": {
|
|
277
|
+
"HTMLElement": {
|
|
278
|
+
"location": "global"
|
|
279
|
+
}
|
|
355
280
|
}
|
|
356
|
-
}
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
"
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
"
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
"
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
"
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
"optional": false,
|
|
413
|
-
"docs": {
|
|
414
|
-
"tags": [],
|
|
415
|
-
"text": "Modal size"
|
|
416
|
-
},
|
|
417
|
-
"attribute": "size",
|
|
418
|
-
"reflect": false,
|
|
419
|
-
"defaultValue": "'sm'"
|
|
420
|
-
},
|
|
421
|
-
"headerTitle": {
|
|
422
|
-
"type": "string",
|
|
423
|
-
"mutable": false,
|
|
424
|
-
"complexType": {
|
|
425
|
-
"original": "string",
|
|
426
|
-
"resolved": "string",
|
|
427
|
-
"references": {}
|
|
428
|
-
},
|
|
429
|
-
"required": false,
|
|
430
|
-
"optional": false,
|
|
431
|
-
"docs": {
|
|
432
|
-
"tags": [],
|
|
433
|
-
"text": "Header title"
|
|
434
|
-
},
|
|
435
|
-
"attribute": "header-title",
|
|
436
|
-
"reflect": false
|
|
437
|
-
},
|
|
438
|
-
"windowClass": {
|
|
439
|
-
"type": "string",
|
|
440
|
-
"mutable": false,
|
|
441
|
-
"complexType": {
|
|
442
|
-
"original": "string",
|
|
443
|
-
"resolved": "string",
|
|
444
|
-
"references": {}
|
|
445
|
-
},
|
|
446
|
-
"required": false,
|
|
447
|
-
"optional": false,
|
|
448
|
-
"docs": {
|
|
449
|
-
"tags": [],
|
|
450
|
-
"text": "Window class"
|
|
451
|
-
},
|
|
452
|
-
"attribute": "window-class",
|
|
453
|
-
"reflect": false
|
|
454
|
-
}
|
|
455
|
-
}; }
|
|
456
|
-
static get events() { return [{
|
|
457
|
-
"method": "closed",
|
|
458
|
-
"name": "closed",
|
|
459
|
-
"bubbles": true,
|
|
460
|
-
"cancelable": true,
|
|
461
|
-
"composed": true,
|
|
462
|
-
"docs": {
|
|
463
|
-
"tags": [],
|
|
464
|
-
"text": "Modal closed"
|
|
465
|
-
},
|
|
466
|
-
"complexType": {
|
|
467
|
-
"original": "any",
|
|
468
|
-
"resolved": "any",
|
|
469
|
-
"references": {}
|
|
470
|
-
}
|
|
471
|
-
}, {
|
|
472
|
-
"method": "dismissed",
|
|
473
|
-
"name": "dismissed",
|
|
474
|
-
"bubbles": true,
|
|
475
|
-
"cancelable": true,
|
|
476
|
-
"composed": true,
|
|
477
|
-
"docs": {
|
|
478
|
-
"tags": [],
|
|
479
|
-
"text": "Modal dismissed"
|
|
480
|
-
},
|
|
481
|
-
"complexType": {
|
|
482
|
-
"original": "any",
|
|
483
|
-
"resolved": "any",
|
|
484
|
-
"references": {}
|
|
485
|
-
}
|
|
486
|
-
}]; }
|
|
487
|
-
static get methods() { return {
|
|
488
|
-
"dismiss": {
|
|
489
|
-
"complexType": {
|
|
490
|
-
"signature": "(reason?: any) => Promise<void>",
|
|
491
|
-
"parameters": [{
|
|
492
|
-
"tags": [{
|
|
493
|
-
"name": "param",
|
|
494
|
-
"text": "reason"
|
|
495
|
-
}],
|
|
496
|
-
"text": ""
|
|
497
|
-
}],
|
|
498
|
-
"references": {
|
|
499
|
-
"Promise": {
|
|
500
|
-
"location": "global"
|
|
281
|
+
},
|
|
282
|
+
"required": false,
|
|
283
|
+
"optional": false,
|
|
284
|
+
"docs": {
|
|
285
|
+
"tags": [],
|
|
286
|
+
"text": "Content of modal"
|
|
287
|
+
},
|
|
288
|
+
"attribute": "content",
|
|
289
|
+
"reflect": false
|
|
290
|
+
},
|
|
291
|
+
"keyboard": {
|
|
292
|
+
"type": "boolean",
|
|
293
|
+
"mutable": false,
|
|
294
|
+
"complexType": {
|
|
295
|
+
"original": "boolean",
|
|
296
|
+
"resolved": "boolean",
|
|
297
|
+
"references": {}
|
|
298
|
+
},
|
|
299
|
+
"required": false,
|
|
300
|
+
"optional": false,
|
|
301
|
+
"docs": {
|
|
302
|
+
"tags": [],
|
|
303
|
+
"text": "ESC close modal dialog"
|
|
304
|
+
},
|
|
305
|
+
"attribute": "keyboard",
|
|
306
|
+
"reflect": false,
|
|
307
|
+
"defaultValue": "true"
|
|
308
|
+
},
|
|
309
|
+
"icon": {
|
|
310
|
+
"type": "string",
|
|
311
|
+
"mutable": false,
|
|
312
|
+
"complexType": {
|
|
313
|
+
"original": "string",
|
|
314
|
+
"resolved": "string",
|
|
315
|
+
"references": {}
|
|
316
|
+
},
|
|
317
|
+
"required": false,
|
|
318
|
+
"optional": false,
|
|
319
|
+
"docs": {
|
|
320
|
+
"tags": [],
|
|
321
|
+
"text": "Optional icon displayed next to the title"
|
|
322
|
+
},
|
|
323
|
+
"attribute": "icon",
|
|
324
|
+
"reflect": false
|
|
325
|
+
},
|
|
326
|
+
"iconColor": {
|
|
327
|
+
"type": "string",
|
|
328
|
+
"mutable": false,
|
|
329
|
+
"complexType": {
|
|
330
|
+
"original": "NotificationColor",
|
|
331
|
+
"resolved": "\"color-alarm\" | \"color-info\" | \"color-std-text\" | \"color-success\" | \"color-warning\"",
|
|
332
|
+
"references": {
|
|
333
|
+
"NotificationColor": {
|
|
334
|
+
"location": "import",
|
|
335
|
+
"path": "../utils/notification-color"
|
|
336
|
+
}
|
|
501
337
|
}
|
|
502
338
|
},
|
|
503
|
-
"
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
339
|
+
"required": false,
|
|
340
|
+
"optional": false,
|
|
341
|
+
"docs": {
|
|
342
|
+
"tags": [],
|
|
343
|
+
"text": "Color of the header {@see ix-icon}"
|
|
344
|
+
},
|
|
345
|
+
"attribute": "icon-color",
|
|
346
|
+
"reflect": false,
|
|
347
|
+
"defaultValue": "'color-std-text'"
|
|
348
|
+
},
|
|
349
|
+
"modalDialogClass": {
|
|
350
|
+
"type": "string",
|
|
351
|
+
"mutable": false,
|
|
352
|
+
"complexType": {
|
|
353
|
+
"original": "string",
|
|
354
|
+
"resolved": "string",
|
|
355
|
+
"references": {}
|
|
356
|
+
},
|
|
357
|
+
"required": false,
|
|
358
|
+
"optional": false,
|
|
359
|
+
"docs": {
|
|
360
|
+
"tags": [],
|
|
361
|
+
"text": "Modal dialog class"
|
|
362
|
+
},
|
|
363
|
+
"attribute": "modal-dialog-class",
|
|
364
|
+
"reflect": false
|
|
365
|
+
},
|
|
366
|
+
"scrollable": {
|
|
367
|
+
"type": "boolean",
|
|
368
|
+
"mutable": false,
|
|
369
|
+
"complexType": {
|
|
370
|
+
"original": "boolean",
|
|
371
|
+
"resolved": "boolean",
|
|
372
|
+
"references": {}
|
|
373
|
+
},
|
|
374
|
+
"required": false,
|
|
375
|
+
"optional": false,
|
|
376
|
+
"docs": {
|
|
377
|
+
"tags": [],
|
|
378
|
+
"text": "Modal scollable"
|
|
379
|
+
},
|
|
380
|
+
"attribute": "scrollable",
|
|
381
|
+
"reflect": false,
|
|
382
|
+
"defaultValue": "true"
|
|
383
|
+
},
|
|
384
|
+
"size": {
|
|
385
|
+
"type": "string",
|
|
386
|
+
"mutable": false,
|
|
387
|
+
"complexType": {
|
|
388
|
+
"original": "'sm' | 'lg' | 'xl'",
|
|
389
|
+
"resolved": "\"lg\" | \"sm\" | \"xl\"",
|
|
390
|
+
"references": {}
|
|
391
|
+
},
|
|
392
|
+
"required": false,
|
|
393
|
+
"optional": false,
|
|
394
|
+
"docs": {
|
|
395
|
+
"tags": [],
|
|
396
|
+
"text": "Modal size"
|
|
397
|
+
},
|
|
398
|
+
"attribute": "size",
|
|
399
|
+
"reflect": false,
|
|
400
|
+
"defaultValue": "'sm'"
|
|
401
|
+
},
|
|
402
|
+
"headerTitle": {
|
|
403
|
+
"type": "string",
|
|
404
|
+
"mutable": false,
|
|
405
|
+
"complexType": {
|
|
406
|
+
"original": "string",
|
|
407
|
+
"resolved": "string",
|
|
408
|
+
"references": {}
|
|
409
|
+
},
|
|
410
|
+
"required": false,
|
|
411
|
+
"optional": false,
|
|
412
|
+
"docs": {
|
|
413
|
+
"tags": [],
|
|
414
|
+
"text": "Header title"
|
|
415
|
+
},
|
|
416
|
+
"attribute": "header-title",
|
|
417
|
+
"reflect": false
|
|
418
|
+
},
|
|
419
|
+
"windowClass": {
|
|
420
|
+
"type": "string",
|
|
421
|
+
"mutable": false,
|
|
422
|
+
"complexType": {
|
|
423
|
+
"original": "string",
|
|
424
|
+
"resolved": "string",
|
|
425
|
+
"references": {}
|
|
426
|
+
},
|
|
427
|
+
"required": false,
|
|
428
|
+
"optional": false,
|
|
429
|
+
"docs": {
|
|
430
|
+
"tags": [],
|
|
431
|
+
"text": "Window class"
|
|
432
|
+
},
|
|
433
|
+
"attribute": "window-class",
|
|
434
|
+
"reflect": false
|
|
511
435
|
}
|
|
512
|
-
}
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
"
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
"Promise": {
|
|
525
|
-
"location": "global"
|
|
526
|
-
}
|
|
436
|
+
};
|
|
437
|
+
}
|
|
438
|
+
static get events() {
|
|
439
|
+
return [{
|
|
440
|
+
"method": "closed",
|
|
441
|
+
"name": "closed",
|
|
442
|
+
"bubbles": true,
|
|
443
|
+
"cancelable": true,
|
|
444
|
+
"composed": true,
|
|
445
|
+
"docs": {
|
|
446
|
+
"tags": [],
|
|
447
|
+
"text": "Modal closed"
|
|
527
448
|
},
|
|
528
|
-
"
|
|
449
|
+
"complexType": {
|
|
450
|
+
"original": "any",
|
|
451
|
+
"resolved": "any",
|
|
452
|
+
"references": {}
|
|
453
|
+
}
|
|
454
|
+
}, {
|
|
455
|
+
"method": "dismissed",
|
|
456
|
+
"name": "dismissed",
|
|
457
|
+
"bubbles": true,
|
|
458
|
+
"cancelable": true,
|
|
459
|
+
"composed": true,
|
|
460
|
+
"docs": {
|
|
461
|
+
"tags": [],
|
|
462
|
+
"text": "Modal dismissed"
|
|
463
|
+
},
|
|
464
|
+
"complexType": {
|
|
465
|
+
"original": "any",
|
|
466
|
+
"resolved": "any",
|
|
467
|
+
"references": {}
|
|
468
|
+
}
|
|
469
|
+
}];
|
|
470
|
+
}
|
|
471
|
+
static get methods() {
|
|
472
|
+
return {
|
|
473
|
+
"dismiss": {
|
|
474
|
+
"complexType": {
|
|
475
|
+
"signature": "(reason?: any) => Promise<void>",
|
|
476
|
+
"parameters": [{
|
|
477
|
+
"tags": [{
|
|
478
|
+
"name": "param",
|
|
479
|
+
"text": "reason"
|
|
480
|
+
}],
|
|
481
|
+
"text": ""
|
|
482
|
+
}],
|
|
483
|
+
"references": {
|
|
484
|
+
"Promise": {
|
|
485
|
+
"location": "global"
|
|
486
|
+
}
|
|
487
|
+
},
|
|
488
|
+
"return": "Promise<void>"
|
|
489
|
+
},
|
|
490
|
+
"docs": {
|
|
491
|
+
"text": "Dismiss modal instance",
|
|
492
|
+
"tags": [{
|
|
493
|
+
"name": "param",
|
|
494
|
+
"text": "reason"
|
|
495
|
+
}]
|
|
496
|
+
}
|
|
529
497
|
},
|
|
530
|
-
"
|
|
531
|
-
"
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
498
|
+
"close": {
|
|
499
|
+
"complexType": {
|
|
500
|
+
"signature": "(result: any) => Promise<void>",
|
|
501
|
+
"parameters": [{
|
|
502
|
+
"tags": [{
|
|
503
|
+
"name": "param",
|
|
504
|
+
"text": "result"
|
|
505
|
+
}],
|
|
506
|
+
"text": ""
|
|
507
|
+
}],
|
|
508
|
+
"references": {
|
|
509
|
+
"Promise": {
|
|
510
|
+
"location": "global"
|
|
511
|
+
}
|
|
512
|
+
},
|
|
513
|
+
"return": "Promise<void>"
|
|
514
|
+
},
|
|
515
|
+
"docs": {
|
|
516
|
+
"text": "Close modal",
|
|
517
|
+
"tags": [{
|
|
518
|
+
"name": "param",
|
|
519
|
+
"text": "result"
|
|
520
|
+
}]
|
|
521
|
+
}
|
|
536
522
|
}
|
|
537
|
-
}
|
|
538
|
-
}
|
|
523
|
+
};
|
|
524
|
+
}
|
|
539
525
|
static get elementRef() { return "hostElement"; }
|
|
540
526
|
}
|