@nova-ui/bits 13.0.5-4047 → 13.0.6-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/animations/expand.d.ts +6 -6
- package/animations/fadeIn.d.ts +7 -7
- package/common/common.module.d.ts +22 -22
- package/common/directives/click-interceptor/click-interceptor.directive.d.ts +19 -19
- package/common/directives/clipboard/clipboard.directive.d.ts +38 -38
- package/common/directives/dragdrop/drag-and-drop.service.d.ts +17 -17
- package/common/directives/dragdrop/dragdrop.constants.d.ts +8 -8
- package/common/directives/dragdrop/draggable.directive.d.ts +70 -70
- package/common/directives/dragdrop/droppable.directive.d.ts +80 -80
- package/common/directives/dragdrop/public-api.d.ts +24 -24
- package/common/directives/index.d.ts +9 -9
- package/common/directives/public-api.d.ts +2 -2
- package/common/directives/resize/resize.directive.d.ts +64 -64
- package/common/directives/resize-observer/resize-observer.directive.d.ts +19 -19
- package/common/directives/resizer/public-api.d.ts +25 -25
- package/common/directives/resizer/resizer.directive.d.ts +90 -90
- package/common/directives/set-focus/set-focus.directive.d.ts +39 -39
- package/common/directives/zoom-content/zoom-content.directive.d.ts +48 -48
- package/constants/button.constants.d.ts +10 -10
- package/constants/dragdrop.constants.d.ts +8 -8
- package/constants/event.constants.d.ts +6 -6
- package/constants/images.constants.d.ts +3 -3
- package/constants/images.d.ts +7 -7
- package/constants/interaction.constants.d.ts +4 -4
- package/constants/keycode.constants.d.ts +40 -40
- package/constants/path.constants.d.ts +2 -2
- package/constants/popover.constants.d.ts +5 -5
- package/constants/public-api.d.ts +12 -12
- package/constants/regex.constants.d.ts +4 -4
- package/constants/resize.constants.d.ts +1 -1
- package/constants/unit-conversion.constants.d.ts +20 -20
- package/constants/wizard.constants.d.ts +5 -5
- package/environment.d.ts +27 -27
- package/esm2020/animations/expand.mjs +51 -51
- package/esm2020/animations/fadeIn.mjs +29 -29
- package/esm2020/common/common.module.mjs +166 -166
- package/esm2020/common/directives/click-interceptor/click-interceptor.directive.mjs +54 -54
- package/esm2020/common/directives/clipboard/clipboard.directive.mjs +121 -121
- package/esm2020/common/directives/dragdrop/drag-and-drop.service.mjs +76 -76
- package/esm2020/common/directives/dragdrop/dragdrop.constants.mjs +27 -27
- package/esm2020/common/directives/dragdrop/draggable.directive.mjs +259 -259
- package/esm2020/common/directives/dragdrop/droppable.directive.mjs +212 -212
- package/esm2020/common/directives/dragdrop/public-api.mjs +20 -20
- package/esm2020/common/directives/index.mjs +28 -28
- package/esm2020/common/directives/public-api.mjs +21 -21
- package/esm2020/common/directives/resize/resize.directive.mjs +187 -187
- package/esm2020/common/directives/resize-observer/resize-observer.directive.mjs +65 -65
- package/esm2020/common/directives/resizer/public-api.mjs +68 -68
- package/esm2020/common/directives/resizer/resizer.directive.mjs +322 -322
- package/esm2020/common/directives/set-focus/set-focus.directive.mjs +113 -113
- package/esm2020/common/directives/zoom-content/zoom-content.directive.mjs +159 -159
- package/esm2020/constants/button.constants.mjs +25 -25
- package/esm2020/constants/dragdrop.constants.mjs +27 -27
- package/esm2020/constants/event.constants.mjs +34 -34
- package/esm2020/constants/images.constants.mjs +25 -25
- package/esm2020/constants/images.mjs +35 -35
- package/esm2020/constants/interaction.constants.mjs +27 -27
- package/esm2020/constants/keycode.constants.mjs +61 -61
- package/esm2020/constants/path.constants.mjs +23 -23
- package/esm2020/constants/popover.constants.mjs +24 -24
- package/esm2020/constants/public-api.mjs +31 -31
- package/esm2020/constants/regex.constants.mjs +23 -23
- package/esm2020/constants/resize.constants.mjs +20 -20
- package/esm2020/constants/unit-conversion.constants.mjs +57 -57
- package/esm2020/constants/wizard.constants.mjs +42 -42
- package/esm2020/environment.mjs +55 -55
- package/esm2020/functions/immutable-set.mjs +33 -33
- package/esm2020/functions/nameof.mjs +28 -28
- package/esm2020/functions/public-api.mjs +24 -24
- package/esm2020/functions/remove-errors.mjs +38 -38
- package/esm2020/functions/traverse.mjs +31 -31
- package/esm2020/functions/uuid.mjs +30 -30
- package/esm2020/lib/breadcrumb/breadcrumb-state.service.mjs +54 -54
- package/esm2020/lib/breadcrumb/breadcrumb.component.mjs +56 -56
- package/esm2020/lib/breadcrumb/breadcrumb.module.mjs +42 -42
- package/esm2020/lib/breadcrumb/public-api.mjs +20 -20
- package/esm2020/lib/busy/busy.component.mjs +93 -93
- package/esm2020/lib/busy/busy.module.mjs +41 -41
- package/esm2020/lib/busy/public-api.mjs +20 -20
- package/esm2020/lib/button/button.component.mjs +236 -236
- package/esm2020/lib/button/button.module.mjs +41 -41
- package/esm2020/lib/button/public-api.mjs +25 -25
- package/esm2020/lib/checkbox/checkbox-group.component.mjs +157 -157
- package/esm2020/lib/checkbox/checkbox.component.mjs +236 -236
- package/esm2020/lib/checkbox/checkbox.module.mjs +41 -41
- package/esm2020/lib/checkbox/public-api.mjs +22 -22
- package/esm2020/lib/chips/chip/chip.component.mjs +64 -64
- package/esm2020/lib/chips/chips-overflow/chips-overflow.component.mjs +45 -45
- package/esm2020/lib/chips/chips-overflow.service.mjs +135 -135
- package/esm2020/lib/chips/chips.component.mjs +206 -206
- package/esm2020/lib/chips/chips.module.mjs +44 -44
- package/esm2020/lib/chips/public-api.mjs +20 -20
- package/esm2020/lib/content/content.component.mjs +42 -42
- package/esm2020/lib/content/content.module.mjs +40 -40
- package/esm2020/lib/convenience/time-frame-bar/time-frame-bar.component.mjs +188 -188
- package/esm2020/lib/convenience/time-frame-bar/time-frame-bar.module.mjs +76 -76
- package/esm2020/lib/date-picker/date-picker-day-picker.component.mjs +130 -130
- package/esm2020/lib/date-picker/date-picker-inner.component.mjs +318 -318
- package/esm2020/lib/date-picker/date-picker-month-picker.component.mjs +63 -63
- package/esm2020/lib/date-picker/date-picker-year-picker.component.mjs +68 -68
- package/esm2020/lib/date-picker/date-picker.component.mjs +311 -311
- package/esm2020/lib/date-picker/date-picker.module.mjs +74 -74
- package/esm2020/lib/date-picker/public-api.mjs +71 -71
- package/esm2020/lib/date-time-picker/date-time-picker.component.mjs +221 -221
- package/esm2020/lib/date-time-picker/date-time-picker.module.mjs +42 -42
- package/esm2020/lib/dialog/confirmation-dialog.component.mjs +80 -80
- package/esm2020/lib/dialog/dialog-backdrop.component.mjs +36 -36
- package/esm2020/lib/dialog/dialog-footer.component.mjs +32 -32
- package/esm2020/lib/dialog/dialog-header.component.mjs +59 -59
- package/esm2020/lib/dialog/dialog-ref.mjs +94 -94
- package/esm2020/lib/dialog/dialog-stack.service.mjs +135 -135
- package/esm2020/lib/dialog/dialog.component.mjs +155 -155
- package/esm2020/lib/dialog/dialog.module.mjs +59 -59
- package/esm2020/lib/dialog/dialog.service.mjs +59 -59
- package/esm2020/lib/dialog/public-api.mjs +24 -24
- package/esm2020/lib/divider/divider.component.mjs +74 -74
- package/esm2020/lib/divider/divider.module.mjs +40 -40
- package/esm2020/lib/divider/public-api.mjs +20 -20
- package/esm2020/lib/dnd/dnd-drop-target.directive.mjs +108 -108
- package/esm2020/lib/dnd/dnd.module.mjs +39 -39
- package/esm2020/lib/dnd/public-api.mjs +21 -21
- package/esm2020/lib/docs/copy-text/copy-text.component.mjs +52 -52
- package/esm2020/lib/docs/docs.module.mjs +116 -116
- package/esm2020/lib/docs/example-code/example-code.component.mjs +75 -75
- package/esm2020/lib/docs/example-wrapper/example-wrapper.component.mjs +89 -89
- package/esm2020/lib/docs/example-wrapper/plunker-files.mjs +35 -35
- package/esm2020/lib/docs/example-wrapper/plunker-project.service.mjs +110 -110
- package/esm2020/lib/docs/public-api.mjs +20 -20
- package/esm2020/lib/docs/services/sources.service.mjs +89 -89
- package/esm2020/lib/docs/srlc-indicator/public-api.mjs +29 -29
- package/esm2020/lib/docs/srlc-indicator/srlc-indicator.component.mjs +96 -96
- package/esm2020/lib/docs/theme-switcher/theme-switcher.component.mjs +42 -42
- package/esm2020/lib/dragdrop/dragdrop.module.mjs +42 -42
- package/esm2020/lib/dragdrop/draggable.component.mjs +62 -62
- package/esm2020/lib/dragdrop/droppable.component.mjs +58 -58
- package/esm2020/lib/dragdrop/public-api.mjs +2 -2
- package/esm2020/lib/expander/expander.component.mjs +111 -111
- package/esm2020/lib/expander/expander.module.mjs +41 -41
- package/esm2020/lib/form-field/form-field.component.mjs +125 -125
- package/esm2020/lib/form-field/form-field.module.mjs +42 -42
- package/esm2020/lib/form-field/public-api.mjs +27 -27
- package/esm2020/lib/form-field/touched-changes-helper.mjs +40 -40
- package/esm2020/lib/icon/icon.component.mjs +143 -143
- package/esm2020/lib/icon/icon.module.mjs +41 -41
- package/esm2020/lib/icon/icon.service.mjs +74 -74
- package/esm2020/lib/icon/icons.mjs +891 -891
- package/esm2020/lib/icon/public-api.mjs +20 -20
- package/esm2020/lib/icon/types.mjs +109 -109
- package/esm2020/lib/image/image.component.mjs +143 -143
- package/esm2020/lib/image/image.module.mjs +40 -40
- package/esm2020/lib/image/public-api.mjs +20 -20
- package/esm2020/lib/layout/card/card.component.mjs +46 -46
- package/esm2020/lib/layout/card-group/card-group.component.mjs +51 -51
- package/esm2020/lib/layout/layout-resizer/layout-resizer.component.mjs +96 -96
- package/esm2020/lib/layout/layout.module.mjs +62 -62
- package/esm2020/lib/layout/public-api.mjs +20 -20
- package/esm2020/lib/layout/sheet/sheet.component.mjs +64 -64
- package/esm2020/lib/layout/sheet-group/sheet-group.component.mjs +187 -187
- package/esm2020/lib/menu/index.mjs +28 -28
- package/esm2020/lib/menu/menu/menu.component.mjs +170 -170
- package/esm2020/lib/menu/menu-item/menu-action/menu-action.component.mjs +80 -80
- package/esm2020/lib/menu/menu-item/menu-group/menu-group.component.mjs +37 -37
- package/esm2020/lib/menu/menu-item/menu-item/menu-item-base.mjs +56 -56
- package/esm2020/lib/menu/menu-item/menu-item/menu-item.component.mjs +68 -68
- package/esm2020/lib/menu/menu-item/menu-link/menu-link.component.mjs +81 -81
- package/esm2020/lib/menu/menu-item/menu-option/menu-option.component.mjs +91 -91
- package/esm2020/lib/menu/menu-item/menu-switch/menu-switch.component.mjs +87 -87
- package/esm2020/lib/menu/menu-key-control.service.mjs +210 -210
- package/esm2020/lib/menu/menu-popup/menu-popup.component.mjs +90 -90
- package/esm2020/lib/menu/menu.module.mjs +106 -106
- package/esm2020/lib/menu/public-api.mjs +24 -24
- package/esm2020/lib/message/message.component.mjs +122 -122
- package/esm2020/lib/message/message.module.mjs +42 -42
- package/esm2020/lib/overlay/arrow-component/overlay-arrow.component.mjs +33 -33
- package/esm2020/lib/overlay/constants.mjs +24 -24
- package/esm2020/lib/overlay/overlay-additions.module.mjs +38 -38
- package/esm2020/lib/overlay/overlay-component/overlay.component.mjs +188 -188
- package/esm2020/lib/overlay/overlay-container.service.mjs +127 -127
- package/esm2020/lib/overlay/overlay-custom-container.mjs +54 -54
- package/esm2020/lib/overlay/overlay-item/overlay-item.component.mjs +51 -51
- package/esm2020/lib/overlay/overlay-position.service.mjs +270 -270
- package/esm2020/lib/overlay/overlay-utilities.service.mjs +75 -75
- package/esm2020/lib/overlay/overlay.module.mjs +43 -43
- package/esm2020/lib/overlay/overlay.service.mjs +135 -135
- package/esm2020/lib/overlay/public-api.mjs +27 -27
- package/esm2020/lib/overlay/types.mjs +47 -47
- package/esm2020/lib/paginator/paginator.component.mjs +456 -456
- package/esm2020/lib/paginator/paginator.module.mjs +60 -60
- package/esm2020/lib/paginator/public-api.mjs +20 -20
- package/esm2020/lib/panel/panel.component.mjs +452 -452
- package/esm2020/lib/panel/panel.module.mjs +41 -41
- package/esm2020/lib/panel/public-api.mjs +42 -42
- package/esm2020/lib/popover/popover-modal.component.mjs +91 -91
- package/esm2020/lib/popover/popover-modal.service.mjs +168 -168
- package/esm2020/lib/popover/popover-position.service.mjs +222 -222
- package/esm2020/lib/popover/popover.component.mjs +474 -474
- package/esm2020/lib/popover/popover.module.mjs +57 -57
- package/esm2020/lib/popover/public-api.mjs +30 -30
- package/esm2020/lib/popup/popup-container.component.mjs +75 -75
- package/esm2020/lib/popup/popup-container.service.mjs +34 -34
- package/esm2020/lib/popup/popup-toggle.directive.mjs +50 -50
- package/esm2020/lib/popup/popup.component.mjs +237 -237
- package/esm2020/lib/popup/popup.module.mjs +49 -49
- package/esm2020/lib/popup-adapter/popup-adapter.component.mjs +323 -323
- package/esm2020/lib/popup-adapter/popup-adapter.module.mjs +56 -56
- package/esm2020/lib/progress/progress.component.mjs +73 -73
- package/esm2020/lib/progress/progress.module.mjs +42 -42
- package/esm2020/lib/public-api.mjs +54 -54
- package/esm2020/lib/radio/radio-group.component.mjs +291 -291
- package/esm2020/lib/radio/radio.module.mjs +40 -40
- package/esm2020/lib/repeat/public-api.mjs +20 -20
- package/esm2020/lib/repeat/repeat-item/repeat-item.component.mjs +53 -53
- package/esm2020/lib/repeat/repeat.component.mjs +431 -431
- package/esm2020/lib/repeat/repeat.module.mjs +61 -61
- package/esm2020/lib/repeat/types.mjs +33 -33
- package/esm2020/lib/search/search.component.mjs +127 -127
- package/esm2020/lib/search/search.module.mjs +43 -43
- package/esm2020/lib/select/base-select.mjs +205 -205
- package/esm2020/lib/select/combobox/combobox.component.mjs +294 -294
- package/esm2020/lib/select/index.mjs +21 -21
- package/esm2020/lib/select/public-api.mjs +20 -20
- package/esm2020/lib/select/select.component.mjs +142 -142
- package/esm2020/lib/select/select.module.mjs +68 -68
- package/esm2020/lib/select-v2/base-select-v2.mjs +481 -481
- package/esm2020/lib/select-v2/combobox-v2/combobox-v2.component.mjs +319 -319
- package/esm2020/lib/select-v2/combobox-v2-option-highlight/combobox-v2-option-highlight.directive.mjs +82 -82
- package/esm2020/lib/select-v2/constants.mjs +24 -24
- package/esm2020/lib/select-v2/mark-as-selected-item.directive.mjs +28 -28
- package/esm2020/lib/select-v2/option/select-v2-option.component.mjs +80 -80
- package/esm2020/lib/select-v2/option-group/select-v2-option-group.component.mjs +68 -68
- package/esm2020/lib/select-v2/option-key-control.service.mjs +137 -137
- package/esm2020/lib/select-v2/select/select-v2.component.mjs +139 -139
- package/esm2020/lib/select-v2/select-v2.module.mjs +102 -102
- package/esm2020/lib/select-v2/selected-items-key-control.service.mjs +157 -157
- package/esm2020/lib/select-v2/types.mjs +20 -20
- package/esm2020/lib/selector/public-api.mjs +32 -32
- package/esm2020/lib/selector/selector.component.mjs +153 -153
- package/esm2020/lib/selector/selector.module.mjs +60 -60
- package/esm2020/lib/selector/selector.service.mjs +288 -288
- package/esm2020/lib/sorter/constants.mjs +21 -21
- package/esm2020/lib/sorter/public-api.mjs +25 -25
- package/esm2020/lib/sorter/sorter-keyboard.service.mjs +105 -105
- package/esm2020/lib/sorter/sorter.component.mjs +235 -235
- package/esm2020/lib/sorter/sorter.module.mjs +56 -56
- package/esm2020/lib/spinner/public-api.mjs +29 -29
- package/esm2020/lib/spinner/spinner.component.mjs +152 -152
- package/esm2020/lib/spinner/spinner.module.mjs +42 -42
- package/esm2020/lib/switch/switch.component.mjs +103 -103
- package/esm2020/lib/switch/switch.module.mjs +40 -40
- package/esm2020/lib/tabgroup/tab/tab-heading-custom-template-ref.directive.mjs +46 -46
- package/esm2020/lib/tabgroup/tab/tab-heading.directive.mjs +36 -36
- package/esm2020/lib/tabgroup/tab/tab.component.mjs +79 -79
- package/esm2020/lib/tabgroup/tab-group/tab-group.component.mjs +146 -146
- package/esm2020/lib/tabgroup/tab-heading/tab-heading.component.mjs +61 -61
- package/esm2020/lib/tabgroup/tab-heading-group/tab-heading-group.component.mjs +181 -181
- package/esm2020/lib/tabgroup/tabs.module.mjs +69 -69
- package/esm2020/lib/table/constants.mjs +23 -23
- package/esm2020/lib/table/public-api.mjs +24 -24
- package/esm2020/lib/table/table-cell/table-cell-def.directive.mjs +40 -40
- package/esm2020/lib/table/table-cell/table-cell.directive.mjs +123 -123
- package/esm2020/lib/table/table-cell/table-column-def.directive.mjs +72 -72
- package/esm2020/lib/table/table-cell/table-footer-cell-def.directive.mjs +44 -44
- package/esm2020/lib/table/table-cell/table-footer-cell.directive.mjs +43 -43
- package/esm2020/lib/table/table-cell/table-header-cell-def.directive.mjs +44 -44
- package/esm2020/lib/table/table-cell/table-header-cell.component.mjs +300 -300
- package/esm2020/lib/table/table-resizer/table-resizer.directive.mjs +74 -74
- package/esm2020/lib/table/table-row/table-row.component.mjs +456 -456
- package/esm2020/lib/table/table-state-handler.service.mjs +522 -522
- package/esm2020/lib/table/table-virtual-scroll/slice-range.pipe.mjs +22 -22
- package/esm2020/lib/table/table-virtual-scroll/table-sticky-header.directive.mjs +277 -277
- package/esm2020/lib/table/table-virtual-scroll/table-virtual-scroll-strategy.mjs +182 -182
- package/esm2020/lib/table/table-virtual-scroll/table-virtual-scroll.directive.mjs +130 -130
- package/esm2020/lib/table/table.component.mjs +294 -294
- package/esm2020/lib/table/table.module.mjs +133 -133
- package/esm2020/lib/table/types.mjs +20 -20
- package/esm2020/lib/textbox/textbox-number/textbox-number.component.mjs +272 -272
- package/esm2020/lib/textbox/textbox.component.mjs +177 -177
- package/esm2020/lib/textbox/textbox.module.mjs +64 -64
- package/esm2020/lib/time-frame-picker/public-api.mjs +20 -20
- package/esm2020/lib/time-frame-picker/quick-picker/quick-picker.component.mjs +57 -57
- package/esm2020/lib/time-frame-picker/services/timeframe.service.mjs +225 -225
- package/esm2020/lib/time-frame-picker/time-frame-format.pipe.mjs +59 -59
- package/esm2020/lib/time-frame-picker/time-frame-picker.component.mjs +129 -129
- package/esm2020/lib/time-frame-picker/time-frame-picker.module.mjs +57 -57
- package/esm2020/lib/time-picker/time-picker-keyboard.service.mjs +112 -112
- package/esm2020/lib/time-picker/time-picker.component.mjs +325 -325
- package/esm2020/lib/time-picker/time-picker.module.mjs +60 -60
- package/esm2020/lib/toast/public-api.mjs +20 -20
- package/esm2020/lib/toast/toast-container.service.mjs +89 -89
- package/esm2020/lib/toast/toast-injector.mjs +34 -34
- package/esm2020/lib/toast/toast-package.mjs +43 -43
- package/esm2020/lib/toast/toast-ref.mjs +64 -64
- package/esm2020/lib/toast/toast.component.mjs +228 -228
- package/esm2020/lib/toast/toast.directive.mjs +90 -90
- package/esm2020/lib/toast/toast.module.mjs +54 -54
- package/esm2020/lib/toast/toast.service.mjs +272 -272
- package/esm2020/lib/toast/toast.servicebase.mjs +31 -31
- package/esm2020/lib/toolbar/public-api.mjs +30 -30
- package/esm2020/lib/toolbar/toolbar-group.component.mjs +41 -41
- package/esm2020/lib/toolbar/toolbar-item.component.mjs +62 -62
- package/esm2020/lib/toolbar/toolbar-keyboard.service.mjs +80 -80
- package/esm2020/lib/toolbar/toolbar-message.component.mjs +35 -35
- package/esm2020/lib/toolbar/toolbar-splitter.component.mjs +36 -36
- package/esm2020/lib/toolbar/toolbar.component.mjs +245 -242
- package/esm2020/lib/toolbar/toolbar.module.mjs +84 -84
- package/esm2020/lib/tooltip/public-api.mjs +21 -21
- package/esm2020/lib/tooltip/tooltip.component.mjs +203 -203
- package/esm2020/lib/tooltip/tooltip.directive.mjs +226 -226
- package/esm2020/lib/tooltip/tooltip.module.mjs +41 -41
- package/esm2020/lib/validation-message/custom-validation-message/custom-validation-message.component.mjs +58 -58
- package/esm2020/lib/validation-message/public-api.mjs +21 -21
- package/esm2020/lib/validation-message/validation-message.component.mjs +45 -45
- package/esm2020/lib/validation-message/validation-message.module.mjs +46 -46
- package/esm2020/lib/wizard/public-api.mjs +20 -20
- package/esm2020/lib/wizard/wizard-step.component.mjs +131 -131
- package/esm2020/lib/wizard/wizard.component.mjs +357 -357
- package/esm2020/lib/wizard/wizard.module.mjs +61 -61
- package/esm2020/lib/wizard-v2/error-state-matcher.provider.mjs +35 -35
- package/esm2020/lib/wizard-v2/public-api.mjs +31 -31
- package/esm2020/lib/wizard-v2/types.mjs +20 -20
- package/esm2020/lib/wizard-v2/wizard-button/wizard-button.mjs +54 -54
- package/esm2020/lib/wizard-v2/wizard-footer/wizard-footer.component.mjs +59 -59
- package/esm2020/lib/wizard-v2/wizard-horizontal/wizard-horizontal.component.mjs +305 -305
- package/esm2020/lib/wizard-v2/wizard-overflow/wizard-overflow.component.mjs +43 -43
- package/esm2020/lib/wizard-v2/wizard-step/wizard-step.component.mjs +109 -109
- package/esm2020/lib/wizard-v2/wizard-step-footer.directive.mjs +34 -34
- package/esm2020/lib/wizard-v2/wizard-step-header/wizard-step-header.component.mjs +132 -132
- package/esm2020/lib/wizard-v2/wizard-step-label.directive.mjs +32 -32
- package/esm2020/lib/wizard-v2/wizard-vertical/wizard-vertical.component.mjs +70 -70
- package/esm2020/lib/wizard-v2/wizard.directive.mjs +122 -122
- package/esm2020/lib/wizard-v2/wizard.module.mjs +112 -112
- package/esm2020/nova-ui-bits.mjs +4 -4
- package/esm2020/nui-api.mjs +75 -75
- package/esm2020/pipes/highlight.pipe.mjs +89 -89
- package/esm2020/pipes/limit-to.pipe.mjs +49 -49
- package/esm2020/pipes/unit-conversion.pipe.mjs +59 -59
- package/esm2020/public_api.mjs +185 -185
- package/esm2020/services/content-ref.mjs +27 -27
- package/esm2020/services/data-filter.service.mjs +96 -96
- package/esm2020/services/data-source/client-side-data-source.service.mjs +117 -117
- package/esm2020/services/data-source/data-source-features.mjs +36 -36
- package/esm2020/services/data-source/data-source.service.mjs +135 -135
- package/esm2020/services/data-source/local-filtering-data-source.service.mjs +249 -249
- package/esm2020/services/data-source/noop-data-source.service.mjs +28 -28
- package/esm2020/services/data-source/public-api.mjs +40 -40
- package/esm2020/services/data-source/server-side-source.service.mjs +66 -66
- package/esm2020/services/dom-util.service.mjs +77 -77
- package/esm2020/services/edge-detection.service.mjs +178 -178
- package/esm2020/services/event-bus.mjs +69 -69
- package/esm2020/services/event-bus.service.mjs +47 -47
- package/esm2020/services/event-propagation.service.mjs +90 -90
- package/esm2020/services/history-storage.mjs +101 -101
- package/esm2020/services/list.service.mjs +120 -120
- package/esm2020/services/log-service.mjs +118 -118
- package/esm2020/services/notification-args.mjs +28 -28
- package/esm2020/services/notification-service.mjs +61 -61
- package/esm2020/services/position.service.mjs +189 -189
- package/esm2020/services/public-api.mjs +40 -40
- package/esm2020/services/search.service.mjs +136 -136
- package/esm2020/services/tab-navigation.service.mjs +62 -62
- package/esm2020/services/theme-switch.service.mjs +146 -146
- package/esm2020/services/transient-cache.service.mjs +78 -78
- package/esm2020/services/unit-conversion.service.mjs +176 -176
- package/esm2020/services/util.service.mjs +329 -329
- package/esm2020/services/virtual-viewport-manager.service.mjs +126 -126
- package/esm2020/types.mjs +20 -20
- package/esm2020/validators/index.mjs +20 -20
- package/esm2020/validators/nui-validators.mjs +56 -56
- package/fesm2015/nova-ui-bits.mjs +25389 -25386
- package/fesm2015/nova-ui-bits.mjs.map +1 -1
- package/fesm2020/nova-ui-bits.mjs +25554 -25551
- package/fesm2020/nova-ui-bits.mjs.map +1 -1
- package/functions/immutable-set.d.ts +8 -8
- package/functions/nameof.d.ts +7 -7
- package/functions/public-api.d.ts +5 -5
- package/functions/remove-errors.d.ts +8 -8
- package/functions/traverse.d.ts +3 -3
- package/functions/uuid.d.ts +1 -1
- package/lib/breadcrumb/breadcrumb-state.service.d.ts +13 -13
- package/lib/breadcrumb/breadcrumb.component.d.ts +11 -11
- package/lib/breadcrumb/breadcrumb.module.d.ts +12 -12
- package/lib/breadcrumb/public-api.d.ts +5 -5
- package/lib/busy/busy.component.d.ts +28 -28
- package/lib/busy/busy.module.d.ts +12 -12
- package/lib/busy/public-api.d.ts +9 -9
- package/lib/button/button.component.d.ts +82 -82
- package/lib/button/button.module.d.ts +12 -12
- package/lib/button/public-api.d.ts +5 -5
- package/lib/checkbox/checkbox-group.component.d.ts +50 -50
- package/lib/checkbox/checkbox.component.d.ts +96 -96
- package/lib/checkbox/checkbox.module.d.ts +12 -12
- package/lib/checkbox/public-api.d.ts +20 -20
- package/lib/chips/chip/chip.component.d.ts +33 -33
- package/lib/chips/chips-overflow/chips-overflow.component.d.ts +17 -17
- package/lib/chips/chips-overflow.service.d.ts +31 -31
- package/lib/chips/chips.component.d.ts +98 -98
- package/lib/chips/chips.module.d.ts +15 -15
- package/lib/chips/public-api.d.ts +23 -23
- package/lib/content/content.component.d.ts +11 -11
- package/lib/content/content.module.d.ts +11 -11
- package/lib/convenience/time-frame-bar/time-frame-bar.component.d.ts +67 -67
- package/lib/convenience/time-frame-bar/time-frame-bar.module.d.ts +19 -19
- package/lib/date-picker/date-picker-day-picker.component.d.ts +18 -18
- package/lib/date-picker/date-picker-inner.component.d.ts +74 -74
- package/lib/date-picker/date-picker-month-picker.component.d.ts +14 -14
- package/lib/date-picker/date-picker-year-picker.component.d.ts +14 -14
- package/lib/date-picker/date-picker.component.d.ts +114 -114
- package/lib/date-picker/date-picker.module.d.ts +19 -19
- package/lib/date-picker/public-api.d.ts +32 -32
- package/lib/date-time-picker/date-time-picker.component.d.ts +54 -54
- package/lib/date-time-picker/date-time-picker.module.d.ts +13 -13
- package/lib/dialog/confirmation-dialog.component.d.ts +26 -26
- package/lib/dialog/dialog-backdrop.component.d.ts +8 -8
- package/lib/dialog/dialog-footer.component.d.ts +8 -8
- package/lib/dialog/dialog-header.component.d.ts +26 -26
- package/lib/dialog/dialog-ref.d.ts +27 -27
- package/lib/dialog/dialog-stack.service.d.ts +27 -27
- package/lib/dialog/dialog.component.d.ts +49 -49
- package/lib/dialog/dialog.module.d.ts +18 -18
- package/lib/dialog/dialog.service.d.ts +20 -20
- package/lib/dialog/public-api.d.ts +69 -69
- package/lib/divider/divider.component.d.ts +21 -21
- package/lib/divider/divider.module.d.ts +11 -11
- package/lib/divider/public-api.d.ts +2 -2
- package/lib/dnd/dnd-drop-target.directive.d.ts +22 -22
- package/lib/dnd/dnd.module.d.ts +11 -11
- package/lib/dnd/public-api.d.ts +2 -2
- package/lib/docs/copy-text/copy-text.component.d.ts +12 -12
- package/lib/docs/docs.module.d.ts +26 -26
- package/lib/docs/example-code/example-code.component.d.ts +46 -46
- package/lib/docs/example-wrapper/example-wrapper.component.d.ts +25 -25
- package/lib/docs/example-wrapper/plunker-files.d.ts +9 -9
- package/lib/docs/example-wrapper/plunker-project.service.d.ts +18 -18
- package/lib/docs/public-api.d.ts +1 -1
- package/lib/docs/services/sources.service.d.ts +18 -18
- package/lib/docs/srlc-indicator/public-api.d.ts +16 -16
- package/lib/docs/srlc-indicator/srlc-indicator.component.d.ts +16 -16
- package/lib/docs/theme-switcher/theme-switcher.component.d.ts +12 -12
- package/lib/dragdrop/dragdrop.module.d.ts +13 -13
- package/lib/dragdrop/draggable.component.d.ts +21 -21
- package/lib/dragdrop/droppable.component.d.ts +16 -16
- package/lib/dragdrop/public-api.d.ts +2 -2
- package/lib/expander/expander.component.d.ts +44 -44
- package/lib/expander/expander.module.d.ts +12 -12
- package/lib/form-field/form-field.component.d.ts +49 -49
- package/lib/form-field/form-field.module.d.ts +13 -13
- package/lib/form-field/public-api.d.ts +12 -12
- package/lib/form-field/touched-changes-helper.d.ts +12 -12
- package/lib/icon/icon.component.d.ts +37 -37
- package/lib/icon/icon.module.d.ts +11 -11
- package/lib/icon/icon.service.d.ts +23 -23
- package/lib/icon/icons.d.ts +6 -6
- package/lib/icon/public-api.d.ts +1 -1
- package/lib/icon/types.d.ts +92 -92
- package/lib/image/image.component.d.ts +61 -61
- package/lib/image/image.module.d.ts +11 -11
- package/lib/image/public-api.d.ts +8 -8
- package/lib/layout/card/card.component.d.ts +11 -11
- package/lib/layout/card-group/card-group.component.d.ts +11 -11
- package/lib/layout/layout-resizer/layout-resizer.component.d.ts +31 -31
- package/lib/layout/layout.module.d.ts +12 -12
- package/lib/layout/public-api.d.ts +4 -4
- package/lib/layout/sheet/sheet.component.d.ts +17 -17
- package/lib/layout/sheet-group/sheet-group.component.d.ts +52 -52
- package/lib/menu/index.d.ts +9 -9
- package/lib/menu/menu/menu.component.d.ts +84 -84
- package/lib/menu/menu-item/menu-action/menu-action.component.d.ts +26 -26
- package/lib/menu/menu-item/menu-group/menu-group.component.d.ts +8 -8
- package/lib/menu/menu-item/menu-item/menu-item-base.d.ts +32 -32
- package/lib/menu/menu-item/menu-item/menu-item.component.d.ts +19 -19
- package/lib/menu/menu-item/menu-link/menu-link.component.d.ts +31 -31
- package/lib/menu/menu-item/menu-option/menu-option.component.d.ts +33 -33
- package/lib/menu/menu-item/menu-switch/menu-switch.component.d.ts +26 -26
- package/lib/menu/menu-key-control.service.d.ts +42 -42
- package/lib/menu/menu-popup/menu-popup.component.d.ts +25 -25
- package/lib/menu/menu.module.d.ts +24 -24
- package/lib/menu/public-api.d.ts +31 -31
- package/lib/message/message.component.d.ts +33 -33
- package/lib/message/message.module.d.ts +13 -13
- package/lib/overlay/arrow-component/overlay-arrow.component.d.ts +9 -9
- package/lib/overlay/constants.d.ts +7 -7
- package/lib/overlay/overlay-additions.module.d.ts +11 -11
- package/lib/overlay/overlay-component/overlay.component.d.ts +60 -60
- package/lib/overlay/overlay-container.service.d.ts +17 -17
- package/lib/overlay/overlay-custom-container.d.ts +19 -19
- package/lib/overlay/overlay-item/overlay-item.component.d.ts +23 -23
- package/lib/overlay/overlay-position.service.d.ts +26 -26
- package/lib/overlay/overlay-utilities.service.d.ts +10 -10
- package/lib/overlay/overlay.module.d.ts +13 -13
- package/lib/overlay/overlay.service.d.ts +36 -36
- package/lib/overlay/public-api.d.ts +8 -8
- package/lib/overlay/types.d.ts +54 -54
- package/lib/paginator/paginator.component.d.ts +164 -164
- package/lib/paginator/paginator.module.d.ts +15 -15
- package/lib/paginator/public-api.d.ts +11 -11
- package/lib/panel/panel.component.d.ts +123 -123
- package/lib/panel/panel.module.d.ts +12 -12
- package/lib/panel/public-api.d.ts +19 -19
- package/lib/popover/popover-modal.component.d.ts +62 -62
- package/lib/popover/popover-modal.service.d.ts +45 -45
- package/lib/popover/popover-position.service.d.ts +23 -23
- package/lib/popover/popover.component.d.ts +150 -150
- package/lib/popover/popover.module.d.ts +15 -15
- package/lib/popover/public-api.d.ts +12 -12
- package/lib/popup/popup-container.component.d.ts +26 -26
- package/lib/popup/popup-container.service.d.ts +8 -8
- package/lib/popup/popup-toggle.directive.d.ts +15 -15
- package/lib/popup/popup.component.d.ts +84 -84
- package/lib/popup/popup.module.d.ts +15 -15
- package/lib/popup-adapter/popup-adapter.component.d.ts +59 -59
- package/lib/popup-adapter/popup-adapter.module.d.ts +12 -12
- package/lib/progress/progress.component.d.ts +31 -31
- package/lib/progress/progress.module.d.ts +13 -13
- package/lib/public-api.d.ts +35 -35
- package/lib/radio/radio-group.component.d.ts +96 -96
- package/lib/radio/radio.module.d.ts +11 -11
- package/lib/repeat/public-api.d.ts +1 -1
- package/lib/repeat/repeat-item/repeat-item.component.d.ts +16 -16
- package/lib/repeat/repeat.component.d.ts +180 -180
- package/lib/repeat/repeat.module.d.ts +16 -16
- package/lib/repeat/types.d.ts +31 -31
- package/lib/search/search.component.d.ts +62 -62
- package/lib/search/search.module.d.ts +14 -14
- package/lib/select/base-select.d.ts +104 -104
- package/lib/select/combobox/combobox.component.d.ts +70 -70
- package/lib/select/index.d.ts +2 -2
- package/lib/select/public-api.d.ts +8 -8
- package/lib/select/select.component.d.ts +41 -41
- package/lib/select/select.module.d.ts +16 -16
- package/lib/select-v2/base-select-v2.d.ts +138 -138
- package/lib/select-v2/combobox-v2/combobox-v2.component.d.ts +64 -64
- package/lib/select-v2/combobox-v2-option-highlight/combobox-v2-option-highlight.directive.d.ts +23 -23
- package/lib/select-v2/constants.d.ts +5 -5
- package/lib/select-v2/mark-as-selected-item.directive.d.ts +13 -13
- package/lib/select-v2/option/select-v2-option.component.d.ts +31 -31
- package/lib/select-v2/option-group/select-v2-option-group.component.d.ts +19 -19
- package/lib/select-v2/option-key-control.service.d.ts +27 -27
- package/lib/select-v2/select/select-v2.component.d.ts +32 -32
- package/lib/select-v2/select-v2.module.d.ts +23 -23
- package/lib/select-v2/selected-items-key-control.service.d.ts +31 -31
- package/lib/select-v2/types.d.ts +11 -11
- package/lib/selector/public-api.d.ts +11 -11
- package/lib/selector/selector.component.d.ts +54 -54
- package/lib/selector/selector.module.d.ts +15 -15
- package/lib/selector/selector.service.d.ts +64 -64
- package/lib/sorter/constants.d.ts +2 -2
- package/lib/sorter/public-api.d.ts +13 -13
- package/lib/sorter/sorter-keyboard.service.d.ts +23 -23
- package/lib/sorter/sorter.component.d.ts +62 -62
- package/lib/sorter/sorter.module.d.ts +14 -14
- package/lib/spinner/public-api.d.ts +8 -8
- package/lib/spinner/spinner.component.d.ts +41 -41
- package/lib/spinner/spinner.module.d.ts +13 -13
- package/lib/switch/switch.component.d.ts +25 -25
- package/lib/switch/switch.module.d.ts +11 -11
- package/lib/tabgroup/tab/tab-heading-custom-template-ref.directive.d.ts +13 -13
- package/lib/tabgroup/tab/tab-heading.directive.d.ts +11 -11
- package/lib/tabgroup/tab/tab.component.d.ts +25 -25
- package/lib/tabgroup/tab-group/tab-group.component.d.ts +37 -37
- package/lib/tabgroup/tab-heading/tab-heading.component.d.ts +22 -22
- package/lib/tabgroup/tab-heading-group/tab-heading-group.component.d.ts +44 -44
- package/lib/tabgroup/tabs.module.d.ts +17 -17
- package/lib/table/constants.d.ts +4 -4
- package/lib/table/public-api.d.ts +5 -5
- package/lib/table/table-cell/table-cell-def.directive.d.ts +12 -12
- package/lib/table/table-cell/table-cell.directive.d.ts +30 -30
- package/lib/table/table-cell/table-column-def.directive.d.ts +20 -20
- package/lib/table/table-cell/table-footer-cell-def.directive.d.ts +12 -12
- package/lib/table/table-cell/table-footer-cell.directive.d.ts +11 -11
- package/lib/table/table-cell/table-header-cell-def.directive.d.ts +12 -12
- package/lib/table/table-cell/table-header-cell.component.d.ts +57 -57
- package/lib/table/table-resizer/table-resizer.directive.d.ts +21 -21
- package/lib/table/table-row/table-row.component.d.ts +116 -116
- package/lib/table/table-state-handler.service.d.ts +272 -272
- package/lib/table/table-virtual-scroll/slice-range.pipe.d.ts +10 -10
- package/lib/table/table-virtual-scroll/table-sticky-header.directive.d.ts +44 -44
- package/lib/table/table-virtual-scroll/table-virtual-scroll-strategy.d.ts +75 -75
- package/lib/table/table-virtual-scroll/table-virtual-scroll.directive.d.ts +42 -42
- package/lib/table/table.component.d.ts +54 -54
- package/lib/table/table.module.d.ts +28 -28
- package/lib/table/types.d.ts +8 -8
- package/lib/textbox/textbox-number/textbox-number.component.d.ts +88 -88
- package/lib/textbox/textbox.component.d.ts +96 -96
- package/lib/textbox/textbox.module.d.ts +16 -16
- package/lib/time-frame-picker/public-api.d.ts +21 -21
- package/lib/time-frame-picker/quick-picker/quick-picker.component.d.ts +22 -22
- package/lib/time-frame-picker/services/timeframe.service.d.ts +87 -87
- package/lib/time-frame-picker/time-frame-format.pipe.d.ts +30 -30
- package/lib/time-frame-picker/time-frame-picker.component.d.ts +37 -37
- package/lib/time-frame-picker/time-frame-picker.module.d.ts +15 -15
- package/lib/time-picker/time-picker-keyboard.service.d.ts +22 -22
- package/lib/time-picker/time-picker.component.d.ts +83 -83
- package/lib/time-picker/time-picker.module.d.ts +15 -15
- package/lib/toast/public-api.d.ts +123 -123
- package/lib/toast/toast-container.service.d.ts +34 -34
- package/lib/toast/toast-injector.d.ts +10 -10
- package/lib/toast/toast-package.d.ts +22 -22
- package/lib/toast/toast-ref.d.ts +30 -30
- package/lib/toast/toast.component.d.ts +69 -69
- package/lib/toast/toast.directive.d.ts +26 -26
- package/lib/toast/toast.module.d.ts +14 -14
- package/lib/toast/toast.service.d.ts +77 -77
- package/lib/toast/toast.servicebase.d.ts +16 -16
- package/lib/toolbar/public-api.d.ts +18 -18
- package/lib/toolbar/toolbar-group.component.d.ts +12 -12
- package/lib/toolbar/toolbar-item.component.d.ts +22 -22
- package/lib/toolbar/toolbar-keyboard.service.d.ts +16 -16
- package/lib/toolbar/toolbar-message.component.d.ts +8 -8
- package/lib/toolbar/toolbar-splitter.component.d.ts +8 -8
- package/lib/toolbar/toolbar.component.d.ts +60 -59
- package/lib/toolbar/toolbar.module.d.ts +19 -19
- package/lib/tooltip/public-api.d.ts +3 -3
- package/lib/tooltip/tooltip.component.d.ts +62 -62
- package/lib/tooltip/tooltip.directive.d.ts +60 -60
- package/lib/tooltip/tooltip.module.d.ts +13 -13
- package/lib/validation-message/custom-validation-message/custom-validation-message.component.d.ts +19 -19
- package/lib/validation-message/public-api.d.ts +2 -2
- package/lib/validation-message/validation-message.component.d.ts +19 -19
- package/lib/validation-message/validation-message.module.d.ts +13 -13
- package/lib/wizard/public-api.d.ts +30 -30
- package/lib/wizard/wizard-step.component.d.ts +84 -84
- package/lib/wizard/wizard.component.d.ts +98 -98
- package/lib/wizard/wizard.module.d.ts +16 -16
- package/lib/wizard-v2/error-state-matcher.provider.d.ts +7 -7
- package/lib/wizard-v2/public-api.d.ts +12 -12
- package/lib/wizard-v2/types.d.ts +13 -13
- package/lib/wizard-v2/wizard-button/wizard-button.d.ts +18 -18
- package/lib/wizard-v2/wizard-footer/wizard-footer.component.d.ts +20 -20
- package/lib/wizard-v2/wizard-horizontal/wizard-horizontal.component.d.ts +59 -59
- package/lib/wizard-v2/wizard-overflow/wizard-overflow.component.d.ts +13 -13
- package/lib/wizard-v2/wizard-step/wizard-step.component.d.ts +29 -29
- package/lib/wizard-v2/wizard-step-footer.directive.d.ts +8 -8
- package/lib/wizard-v2/wizard-step-header/wizard-step-header.component.d.ts +46 -46
- package/lib/wizard-v2/wizard-step-label.directive.d.ts +6 -6
- package/lib/wizard-v2/wizard-vertical/wizard-vertical.component.d.ts +18 -18
- package/lib/wizard-v2/wizard.directive.d.ts +48 -48
- package/lib/wizard-v2/wizard.module.d.ts +23 -23
- package/nova-ui-bits.d.ts +5 -5
- package/nui-api.d.ts +56 -56
- package/package.json +2 -2
- package/pipes/highlight.pipe.d.ts +37 -37
- package/pipes/limit-to.pipe.d.ts +21 -21
- package/pipes/unit-conversion.pipe.d.ts +28 -28
- package/public_api.d.ts +160 -160
- package/sdk/atoms/atom.d.ts +47 -47
- package/sdk/atoms/atom.js +172 -172
- package/sdk/atoms/components/breadcrumb/breadcrumb.atom.d.ts +11 -11
- package/sdk/atoms/components/breadcrumb/breadcrumb.atom.js +45 -45
- package/sdk/atoms/components/busy/busy.atom.d.ts +12 -12
- package/sdk/atoms/components/busy/busy.atom.js +40 -40
- package/sdk/atoms/components/button/button.atom.d.ts +19 -19
- package/sdk/atoms/components/button/button.atom.js +62 -62
- package/sdk/atoms/components/checkbox/checkbox.atom.d.ts +30 -30
- package/sdk/atoms/components/checkbox/checkbox.atom.js +93 -93
- package/sdk/atoms/components/checkbox-group/checkbox-group.atom.d.ts +11 -11
- package/sdk/atoms/components/checkbox-group/checkbox-group.atom.js +68 -68
- package/sdk/atoms/components/chips/chips.atom.d.ts +32 -32
- package/sdk/atoms/components/chips/chips.atom.js +92 -92
- package/sdk/atoms/components/combobox/combobox.atom.d.ts +29 -29
- package/sdk/atoms/components/combobox/combobox.atom.js +66 -66
- package/sdk/atoms/components/combobox-v2/combobox-v2.atom.d.ts +23 -23
- package/sdk/atoms/components/combobox-v2/combobox-v2.atom.js +100 -100
- package/sdk/atoms/components/content/content.atom.d.ts +6 -6
- package/sdk/atoms/components/content/content.atom.js +39 -39
- package/sdk/atoms/components/convenience/time-frame-bar/time-frame-bar.atom.d.ts +22 -22
- package/sdk/atoms/components/convenience/time-frame-bar/time-frame-bar.atom.js +83 -83
- package/sdk/atoms/components/datepicker/datepicker.atom.d.ts +57 -57
- package/sdk/atoms/components/datepicker/datepicker.atom.js +194 -194
- package/sdk/atoms/components/datetimepicker/datetimepicker.atom.d.ts +9 -9
- package/sdk/atoms/components/datetimepicker/datetimepicker.atom.js +42 -42
- package/sdk/atoms/components/dialog/dialog.atom.d.ts +18 -18
- package/sdk/atoms/components/dialog/dialog.atom.js +76 -76
- package/sdk/atoms/components/divider/divider.atom.d.ts +6 -6
- package/sdk/atoms/components/divider/divider.atom.js +44 -44
- package/sdk/atoms/components/drag-and-drop/cdk-drop-item.atom.d.ts +10 -10
- package/sdk/atoms/components/drag-and-drop/cdk-drop-item.atom.js +57 -57
- package/sdk/atoms/components/drag-and-drop/cdk-drop-list.atom.d.ts +8 -8
- package/sdk/atoms/components/drag-and-drop/cdk-drop-list.atom.js +41 -41
- package/sdk/atoms/components/expander/expander.atom.d.ts +19 -19
- package/sdk/atoms/components/expander/expander.atom.js +89 -89
- package/sdk/atoms/components/form-field/form-field.atom.d.ts +12 -12
- package/sdk/atoms/components/form-field/form-field.atom.js +72 -72
- package/sdk/atoms/components/icon/icon.atom.d.ts +21 -21
- package/sdk/atoms/components/icon/icon.atom.js +90 -90
- package/sdk/atoms/components/image/image.atom.d.ts +8 -8
- package/sdk/atoms/components/image/image.atom.js +60 -60
- package/sdk/atoms/components/layout/index.d.ts +2 -2
- package/sdk/atoms/components/layout/index.js +24 -24
- package/sdk/atoms/components/layout/layout-sheet-group.atom.d.ts +14 -14
- package/sdk/atoms/components/layout/layout-sheet-group.atom.js +90 -90
- package/sdk/atoms/components/layout/layout-sheet.atom.d.ts +6 -6
- package/sdk/atoms/components/layout/layout-sheet.atom.js +44 -44
- package/sdk/atoms/components/menu/menu-item.atom.d.ts +13 -13
- package/sdk/atoms/components/menu/menu-item.atom.js +116 -116
- package/sdk/atoms/components/menu/menu.atom.d.ts +43 -43
- package/sdk/atoms/components/menu/menu.atom.js +115 -115
- package/sdk/atoms/components/menu-popup/menu-popup.atom.d.ts +11 -11
- package/sdk/atoms/components/menu-popup/menu-popup.atom.js +56 -56
- package/sdk/atoms/components/message/message.atom.d.ts +16 -16
- package/sdk/atoms/components/message/message.atom.js +50 -50
- package/sdk/atoms/components/overlay/overlay.atom.d.ts +11 -11
- package/sdk/atoms/components/overlay/overlay.atom.js +40 -40
- package/sdk/atoms/components/paginator/paginator.atom.d.ts +29 -29
- package/sdk/atoms/components/paginator/paginator.atom.js +198 -198
- package/sdk/atoms/components/panel/panel.atom.d.ts +29 -29
- package/sdk/atoms/components/panel/panel.atom.js +119 -119
- package/sdk/atoms/components/popover/popover.atom.d.ts +28 -28
- package/sdk/atoms/components/popover/popover.atom.js +93 -93
- package/sdk/atoms/components/popup/overlay-content.atom.d.ts +7 -7
- package/sdk/atoms/components/popup/overlay-content.atom.js +34 -34
- package/sdk/atoms/components/popup/popup.atom.d.ts +16 -16
- package/sdk/atoms/components/popup/popup.atom.js +67 -67
- package/sdk/atoms/components/progress/progress.atom.d.ts +14 -14
- package/sdk/atoms/components/progress/progress.atom.js +64 -64
- package/sdk/atoms/components/public_api.d.ts +54 -54
- package/sdk/atoms/components/public_api.js +76 -76
- package/sdk/atoms/components/radio-group/radio-group.atom.d.ts +13 -13
- package/sdk/atoms/components/radio-group/radio-group.atom.js +75 -75
- package/sdk/atoms/components/repeat/repeat.atom.d.ts +27 -27
- package/sdk/atoms/components/repeat/repeat.atom.js +122 -122
- package/sdk/atoms/components/search/search.atom.d.ts +11 -11
- package/sdk/atoms/components/search/search.atom.js +74 -74
- package/sdk/atoms/components/select/basic-select.atom.d.ts +21 -21
- package/sdk/atoms/components/select/basic-select.atom.js +55 -55
- package/sdk/atoms/components/select/select.atom.d.ts +10 -10
- package/sdk/atoms/components/select/select.atom.js +36 -36
- package/sdk/atoms/components/select-v2/base-select-v2.atom.d.ts +29 -29
- package/sdk/atoms/components/select-v2/base-select-v2.atom.js +122 -122
- package/sdk/atoms/components/select-v2/select-v2-option.atom.d.ts +7 -7
- package/sdk/atoms/components/select-v2/select-v2-option.atom.js +43 -43
- package/sdk/atoms/components/select-v2/select-v2.atom.d.ts +5 -5
- package/sdk/atoms/components/select-v2/select-v2.atom.js +33 -33
- package/sdk/atoms/components/selector/selector.atom.d.ts +17 -17
- package/sdk/atoms/components/selector/selector.atom.js +82 -82
- package/sdk/atoms/components/selector/selector.e2e.d.ts +6 -6
- package/sdk/atoms/components/selector/selector.e2e.js +91 -91
- package/sdk/atoms/components/sorter/sorter.atom.d.ts +33 -33
- package/sdk/atoms/components/sorter/sorter.atom.js +122 -122
- package/sdk/atoms/components/spinner/spinner.atom.d.ts +12 -12
- package/sdk/atoms/components/spinner/spinner.atom.js +44 -44
- package/sdk/atoms/components/switch/switch.atom.d.ts +14 -14
- package/sdk/atoms/components/switch/switch.atom.js +72 -72
- package/sdk/atoms/components/tab-heading-group/tab-heading-group.atom.d.ts +16 -16
- package/sdk/atoms/components/tab-heading-group/tab-heading-group.atom.js +107 -107
- package/sdk/atoms/components/tab-heading-group/tab-heading.atom.d.ts +8 -8
- package/sdk/atoms/components/tab-heading-group/tab-heading.atom.js +51 -51
- package/sdk/atoms/components/table/table.atom.d.ts +73 -73
- package/sdk/atoms/components/table/table.atom.js +209 -209
- package/sdk/atoms/components/textbox/textbox.atom.d.ts +22 -22
- package/sdk/atoms/components/textbox/textbox.atom.js +58 -58
- package/sdk/atoms/components/textbox-number/textbox-number.atom.d.ts +18 -18
- package/sdk/atoms/components/textbox-number/textbox-number.atom.js +52 -52
- package/sdk/atoms/components/time-frame-picker/quick-picker.atom.d.ts +8 -8
- package/sdk/atoms/components/time-frame-picker/quick-picker.atom.js +48 -48
- package/sdk/atoms/components/time-frame-picker/time-frame-picker.atom.d.ts +7 -7
- package/sdk/atoms/components/time-frame-picker/time-frame-picker.atom.js +35 -35
- package/sdk/atoms/components/timepicker/timepicker.atom.d.ts +18 -18
- package/sdk/atoms/components/timepicker/timepicker.atom.js +63 -63
- package/sdk/atoms/components/toolbar/toolbar.atom.d.ts +18 -18
- package/sdk/atoms/components/toolbar/toolbar.atom.js +86 -86
- package/sdk/atoms/components/wizard/wizard-step.atom.d.ts +11 -11
- package/sdk/atoms/components/wizard/wizard-step.atom.js +51 -51
- package/sdk/atoms/components/wizard/wizard.atom.d.ts +22 -22
- package/sdk/atoms/components/wizard/wizard.atom.js +90 -90
- package/sdk/atoms/directives/public_api.d.ts +3 -3
- package/sdk/atoms/directives/public_api.js +25 -25
- package/sdk/atoms/directives/resizer/resizer.atom.d.ts +12 -12
- package/sdk/atoms/directives/resizer/resizer.atom.js +51 -51
- package/sdk/atoms/directives/toast/toast.atom.d.ts +28 -28
- package/sdk/atoms/directives/toast/toast.atom.js +66 -66
- package/sdk/atoms/directives/tooltip/tooltip.atom.d.ts +9 -9
- package/sdk/atoms/directives/tooltip/tooltip.atom.js +37 -37
- package/sdk/atoms/helpers.d.ts +37 -37
- package/sdk/atoms/helpers.js +215 -265
- package/sdk/atoms/helpers.js.map +1 -1
- package/sdk/atoms/index.d.ts +5 -5
- package/sdk/atoms/index.js +30 -30
- package/sdk/atoms/virtual-camera/Camera.d.ts +21 -21
- package/sdk/atoms/virtual-camera/Camera.js +53 -53
- package/sdk/atoms/virtual-camera/camera-engine.d.ts +13 -13
- package/sdk/atoms/virtual-camera/camera-engine.js +80 -81
- package/sdk/atoms/virtual-camera/camera-engine.js.map +1 -1
- package/sdk/atoms/virtual-camera/camera-settings.d.ts +10 -10
- package/sdk/atoms/virtual-camera/camera-settings.js +58 -58
- package/sdk/atoms/virtual-camera/camera-toggle.d.ts +7 -7
- package/sdk/atoms/virtual-camera/camera-toggle.js +39 -39
- package/sdk/atoms/virtual-camera/percy-lens.d.ts +17 -17
- package/sdk/atoms/virtual-camera/percy-lens.js +78 -78
- package/sdk/atoms/virtual-camera/public_api.d.ts +2 -2
- package/sdk/atoms/virtual-camera/public_api.js +24 -24
- package/sdk/atoms/virtual-camera/types.d.ts +35 -34
- package/sdk/atoms/virtual-camera/types.js +43 -42
- package/sdk/atoms/virtual-camera/types.js.map +1 -1
- package/sdk/locale/messages.en.xlf +8 -8
- package/sdk/schematics/filter-group/index.d.ts +3 -3
- package/sdk/schematics/filter-group/index.js +80 -80
- package/sdk/schematics/filter-group/index.spec.d.ts +1 -1
- package/sdk/schematics/filter-group/index.spec.js +59 -59
- package/sdk/schematics/filter-group/schema.d.ts +50 -50
- package/sdk/schematics/filter-group/schema.js +21 -21
- package/sdk/schematics/filtered-view/index.d.ts +3 -3
- package/sdk/schematics/filtered-view/index.js +130 -130
- package/sdk/schematics/filtered-view/index.spec.d.ts +1 -1
- package/sdk/schematics/filtered-view/index.spec.js +59 -59
- package/sdk/schematics/filtered-view/schema.d.ts +87 -87
- package/sdk/schematics/filtered-view/schema.js +21 -21
- package/sdk/schematics/index.d.ts +1 -1
- package/sdk/schematics/index.js +23 -23
- package/sdk/schematics/layout/index.d.ts +3 -3
- package/sdk/schematics/layout/index.js +88 -88
- package/sdk/schematics/layout/index.spec.d.ts +1 -1
- package/sdk/schematics/layout/index.spec.js +62 -62
- package/sdk/schematics/layout/schema.d.ts +78 -78
- package/sdk/schematics/layout/schema.js +21 -21
- package/sdk/schematics/list/files/__name@dasherize__.component.ts +320 -320
- package/sdk/schematics/list/index.d.ts +3 -3
- package/sdk/schematics/list/index.js +128 -128
- package/sdk/schematics/list/schema.d.ts +72 -72
- package/sdk/schematics/list/schema.js +21 -21
- package/sdk/schematics/ng-add/index.d.ts +2 -2
- package/sdk/schematics/ng-add/index.js +180 -180
- package/sdk/schematics/ng-add/index.spec.d.ts +1 -1
- package/sdk/schematics/ng-add/index.spec.js +176 -176
- package/sdk/schematics/ng-update/index.d.ts +2 -2
- package/sdk/schematics/ng-update/index.js +44 -44
- package/sdk/schematics/ng-update/index.spec.d.ts +1 -1
- package/sdk/schematics/ng-update/index.spec.js +106 -106
- package/sdk/schematics/table/files/__name@dasherize__.component.ts +381 -381
- package/sdk/schematics/table/index.d.ts +3 -3
- package/sdk/schematics/table/index.js +139 -139
- package/sdk/schematics/table/schema.d.ts +72 -72
- package/sdk/schematics/table/schema.js +21 -21
- package/sdk/schematics/utility/index.d.ts +5 -5
- package/sdk/schematics/utility/index.js +27 -27
- package/sdk/schematics/utility/json-utils.d.ts +13 -13
- package/sdk/schematics/utility/json-utils.js +122 -122
- package/sdk/schematics/utility/project-targets.d.ts +10 -10
- package/sdk/schematics/utility/project-targets.js +34 -34
- package/sdk/schematics/utility/project.d.ts +12 -12
- package/sdk/schematics/utility/project.js +47 -47
- package/sdk/schematics/utility/schematics-helper.d.ts +18 -18
- package/sdk/schematics/utility/schematics-helper.js +179 -179
- package/sdk/schematics/utility/schematics-helper.spec.d.ts +1 -1
- package/sdk/schematics/utility/schematics-helper.spec.js +51 -51
- package/sdk/schematics/utility/workspace.d.ts +10 -10
- package/sdk/schematics/utility/workspace.js +46 -46
- package/services/content-ref.d.ts +8 -8
- package/services/data-filter.service.d.ts +23 -23
- package/services/data-source/client-side-data-source.service.d.ts +25 -25
- package/services/data-source/data-source-features.d.ts +10 -10
- package/services/data-source/data-source.service.d.ts +31 -31
- package/services/data-source/local-filtering-data-source.service.d.ts +45 -45
- package/services/data-source/noop-data-source.service.d.ts +8 -8
- package/services/data-source/public-api.d.ts +137 -137
- package/services/data-source/server-side-source.service.d.ts +23 -23
- package/services/dom-util.service.d.ts +20 -20
- package/services/edge-detection.service.d.ts +32 -32
- package/services/event-bus.d.ts +18 -18
- package/services/event-bus.service.d.ts +13 -13
- package/services/event-propagation.service.d.ts +35 -35
- package/services/history-storage.d.ts +47 -47
- package/services/list.service.d.ts +41 -41
- package/services/log-service.d.ts +48 -48
- package/services/notification-args.d.ts +14 -14
- package/services/notification-service.d.ts +24 -24
- package/services/position.service.d.ts +37 -37
- package/services/public-api.d.ts +120 -120
- package/services/search.service.d.ts +49 -49
- package/services/tab-navigation.service.d.ts +15 -15
- package/services/theme-switch.service.d.ts +42 -42
- package/services/transient-cache.service.d.ts +18 -18
- package/services/unit-conversion.service.d.ts +76 -76
- package/services/util.service.d.ts +76 -76
- package/services/virtual-viewport-manager.service.d.ts +42 -42
- package/types.d.ts +15 -15
- package/validators/index.d.ts +1 -1
- package/validators/nui-validators.d.ts +20 -20
- package/sdk/atoms/virtual-camera/eyes-lens.d.ts +0 -15
- package/sdk/atoms/virtual-camera/eyes-lens.js +0 -106
- package/sdk/atoms/virtual-camera/eyes-lens.js.map +0 -1
|
@@ -1,200 +1,200 @@
|
|
|
1
|
-
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
2
|
-
//
|
|
3
|
-
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
4
|
-
// of this software and associated documentation files (the "Software"), to
|
|
5
|
-
// deal in the Software without restriction, including without limitation the
|
|
6
|
-
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
7
|
-
// sell copies of the Software, and to permit persons to whom the Software is
|
|
8
|
-
// furnished to do so, subject to the following conditions:
|
|
9
|
-
//
|
|
10
|
-
// The above copyright notice and this permission notice shall be included in
|
|
11
|
-
// all copies or substantial portions of the Software.
|
|
12
|
-
//
|
|
13
|
-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
14
|
-
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
15
|
-
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
16
|
-
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
17
|
-
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
18
|
-
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
19
|
-
// THE SOFTWARE.
|
|
20
|
-
import { ApplicationRef, ChangeDetectorRef, Component, ComponentFactoryResolver, ContentChild, ElementRef, EventEmitter, Injector, Input, Optional, Output, ViewChild, ViewEncapsulation, } from "@angular/core";
|
|
21
|
-
import _isUndefined from "lodash/isUndefined";
|
|
22
|
-
import { filter, Subject } from "rxjs";
|
|
23
|
-
import { DOCUMENT_CLICK_EVENT } from "../../constants/event.constants";
|
|
24
|
-
import { EdgeDetectionService } from "../../services/edge-detection.service";
|
|
25
|
-
import { EventBusService } from "../../services/event-bus.service";
|
|
26
|
-
import { LoggerService } from "../../services/log-service";
|
|
27
|
-
import { PopupContainerComponent } from "./popup-container.component";
|
|
28
|
-
import { PopupContainerService } from "./popup-container.service";
|
|
29
|
-
import { PopupToggleDirective } from "./popup-toggle.directive";
|
|
30
|
-
import * as i0 from "@angular/core";
|
|
31
|
-
import * as i1 from "../../services/edge-detection.service";
|
|
32
|
-
import * as i2 from "../../services/event-bus.service";
|
|
33
|
-
import * as i3 from "../../services/log-service";
|
|
34
|
-
import * as i4 from "./popup-container.service";
|
|
35
|
-
import * as i5 from "../../common/directives/click-interceptor/click-interceptor.directive";
|
|
36
|
-
const isMouseEvent = (event) => event instanceof MouseEvent;
|
|
37
|
-
// <example-url>./../examples/index.html#/popup</example-url>
|
|
38
|
-
/**
|
|
39
|
-
* @deprecated in v11 - Use PopupComponent instead - Removal: NUI-5796
|
|
40
|
-
*/
|
|
41
|
-
/**
|
|
42
|
-
* __Name :__
|
|
43
|
-
* NUI Pop-up component.
|
|
44
|
-
*
|
|
45
|
-
* __Usage :__
|
|
46
|
-
* Component represents basic functionality for dropdowns, popups, etc.
|
|
47
|
-
* May be used directly. Use "nuiPopupToggle" attribute inside any layer of content
|
|
48
|
-
* to define element that will toggle popover. Use "popupAreaContent" attribute inside
|
|
49
|
-
* 1st layer of content to define "popup area". DO NOT USE "opened" WITH "nuiPopupToggle".
|
|
50
|
-
* IT IS NEEDED TO CHOOSE ONE.
|
|
51
|
-
*/
|
|
52
|
-
export class PopupDeprecatedComponent {
|
|
53
|
-
constructor(elementRef, edgeDetector, changeDetectorRef, eventBusService, componentFactoryResolver, injector, appRef, logger, popupContainer) {
|
|
54
|
-
this.elementRef = elementRef;
|
|
55
|
-
this.edgeDetector = edgeDetector;
|
|
56
|
-
this.changeDetectorRef = changeDetectorRef;
|
|
57
|
-
this.eventBusService = eventBusService;
|
|
58
|
-
this.componentFactoryResolver = componentFactoryResolver;
|
|
59
|
-
this.injector = injector;
|
|
60
|
-
this.appRef = appRef;
|
|
61
|
-
this.logger = logger;
|
|
62
|
-
this.popupContainer = popupContainer;
|
|
63
|
-
this.isOpen = false;
|
|
64
|
-
this.ariaLabel = "Popup";
|
|
65
|
-
this.opened = new EventEmitter();
|
|
66
|
-
this.popupSubscriptions = [];
|
|
67
|
-
/**
|
|
68
|
-
* switches visibility of popup area
|
|
69
|
-
*/
|
|
70
|
-
this.visible = false;
|
|
71
|
-
this.logger.warn("<nui-popup-deprecated> is deprecated as of Nova v11. Please use <nui-popup> instead.");
|
|
72
|
-
}
|
|
73
|
-
get popupInstance() {
|
|
74
|
-
return this._popupInstance;
|
|
75
|
-
}
|
|
76
|
-
ngOnInit() {
|
|
77
|
-
if (this.manualOpenControl) {
|
|
78
|
-
this.popupSubscriptions.push(this.manualOpenControl.subscribe((event) => {
|
|
79
|
-
this.toggleOpened(event);
|
|
80
|
-
}));
|
|
81
|
-
}
|
|
82
|
-
this.popupSubscriptions.push(this.eventBusService
|
|
83
|
-
.getStream(DOCUMENT_CLICK_EVENT)
|
|
84
|
-
.pipe(filter(isMouseEvent))
|
|
85
|
-
.subscribe((event) => {
|
|
86
|
-
if (this.isOpen) {
|
|
87
|
-
this.closePopup(event);
|
|
88
|
-
}
|
|
89
|
-
}));
|
|
90
|
-
// This is needed to make the isOpen @Input work.
|
|
91
|
-
this.visible = this.isOpen;
|
|
92
|
-
}
|
|
93
|
-
ngAfterContentInit() {
|
|
94
|
-
this.setPopupPosition();
|
|
95
|
-
if (!this.popupToggle) {
|
|
96
|
-
return;
|
|
97
|
-
}
|
|
98
|
-
this.popupSubscriptions.push(this.popupToggle.toggle.subscribe((event) => {
|
|
99
|
-
this.toggleOpened(event);
|
|
100
|
-
}));
|
|
101
|
-
}
|
|
102
|
-
toggleOpened(event) {
|
|
103
|
-
this.visible = false;
|
|
104
|
-
let emit = true;
|
|
105
|
-
if (event) {
|
|
106
|
-
// since click triggers focusin event, we need to prevent popup from closing
|
|
107
|
-
// when focus on the input is gained via click
|
|
108
|
-
if (this.lastEventType === "focusin" && event.type === "click") {
|
|
109
|
-
emit = false;
|
|
110
|
-
}
|
|
111
|
-
// if popup is already closed, prevent it from opening on focusout
|
|
112
|
-
if (event.type === "focusout" && !this.isOpen) {
|
|
113
|
-
emit = false;
|
|
114
|
-
}
|
|
115
|
-
this.lastEventType = event.type;
|
|
116
|
-
}
|
|
117
|
-
if (emit) {
|
|
118
|
-
this.isOpen = !this.isOpen;
|
|
119
|
-
this.changeDetectorRef.detectChanges();
|
|
120
|
-
this.changeDetectorRef.detach();
|
|
121
|
-
if (this.isOpen) {
|
|
122
|
-
if (!this._popupInstance && this.appendToBody) {
|
|
123
|
-
const popupContainerFactory = this.componentFactoryResolver.resolveComponentFactory(PopupContainerComponent);
|
|
124
|
-
this._popupInstance = popupContainerFactory.create(this.injector, [[this.popupAreaContent.nativeElement]]);
|
|
125
|
-
this._popupInstance.instance.hostElement =
|
|
126
|
-
this.popupToggle.host.nativeElement;
|
|
127
|
-
this.appRef.attachView(this._popupInstance.hostView);
|
|
128
|
-
const hostElement = this._popupInstance.hostView.rootNodes[0];
|
|
129
|
-
if (this.popupContainer?.parent) {
|
|
130
|
-
hostElement.setAttribute("parent", this.popupContainer.parent.constructor.name);
|
|
131
|
-
}
|
|
132
|
-
document.body.appendChild(hostElement);
|
|
133
|
-
}
|
|
134
|
-
else {
|
|
135
|
-
this.setPopupPosition();
|
|
136
|
-
}
|
|
137
|
-
this.visible = true;
|
|
138
|
-
this.changeDetectorRef.detectChanges();
|
|
139
|
-
this.changeDetectorRef.detach();
|
|
140
|
-
// If closed, remove popup instance from DOM if there's one
|
|
141
|
-
}
|
|
142
|
-
else if (this._popupInstance && this.appendToBody) {
|
|
143
|
-
this.deletePopupInstance();
|
|
144
|
-
}
|
|
145
|
-
this.opened.emit(this.isOpen);
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
closePopup(event) {
|
|
149
|
-
const isToggle = this.popupToggle && event
|
|
150
|
-
? this.popupToggle.host.nativeElement.contains(event.target)
|
|
151
|
-
: false;
|
|
152
|
-
if (!isToggle) {
|
|
153
|
-
this.deletePopupInstance();
|
|
154
|
-
this.isOpen = false;
|
|
155
|
-
this.visible = false;
|
|
156
|
-
this.opened.emit(this.isOpen);
|
|
157
|
-
this.changeDetectorRef.detectChanges();
|
|
158
|
-
this.changeDetectorRef.detach();
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
setPopupPosition() {
|
|
162
|
-
let parentEl;
|
|
163
|
-
if (!this.baseElementSelector && !this.popupToggle) {
|
|
164
|
-
return;
|
|
165
|
-
}
|
|
166
|
-
if (this.popupToggle) {
|
|
167
|
-
parentEl = this.popupToggle.host.nativeElement;
|
|
168
|
-
}
|
|
169
|
-
else {
|
|
170
|
-
parentEl =
|
|
171
|
-
document.querySelector(this.baseElementSelector) ??
|
|
172
|
-
undefined;
|
|
173
|
-
}
|
|
174
|
-
if (!parentEl) {
|
|
175
|
-
return;
|
|
176
|
-
}
|
|
177
|
-
const canBe = this.edgeDetector.canBe(parentEl, this.popupAreaContent.nativeElement);
|
|
178
|
-
this._directionTop = _isUndefined(this.directionTop)
|
|
179
|
-
? !canBe?.placed.bottom
|
|
180
|
-
: this.directionTop;
|
|
181
|
-
this._directionRight = _isUndefined(this.directionRight)
|
|
182
|
-
? !canBe?.aligned.left
|
|
183
|
-
: this.directionRight;
|
|
184
|
-
}
|
|
185
|
-
deletePopupInstance() {
|
|
186
|
-
if (this._popupInstance) {
|
|
187
|
-
this.appRef.detachView(this._popupInstance.hostView);
|
|
188
|
-
this._popupInstance.destroy();
|
|
189
|
-
this._popupInstance = undefined;
|
|
190
|
-
}
|
|
191
|
-
}
|
|
192
|
-
ngOnDestroy() {
|
|
193
|
-
this.popupSubscriptions.forEach((subscription) => subscription.unsubscribe());
|
|
194
|
-
this.deletePopupInstance();
|
|
195
|
-
}
|
|
196
|
-
}
|
|
197
|
-
PopupDeprecatedComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PopupDeprecatedComponent, deps: [{ token: i0.ElementRef }, { token: i1.EdgeDetectionService }, { token: i0.ChangeDetectorRef }, { token: i2.EventBusService }, { token: i0.ComponentFactoryResolver }, { token: i0.Injector }, { token: i0.ApplicationRef }, { token: i3.LoggerService }, { token: i4.PopupContainerService, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
1
|
+
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
2
|
+
//
|
|
3
|
+
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
4
|
+
// of this software and associated documentation files (the "Software"), to
|
|
5
|
+
// deal in the Software without restriction, including without limitation the
|
|
6
|
+
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
7
|
+
// sell copies of the Software, and to permit persons to whom the Software is
|
|
8
|
+
// furnished to do so, subject to the following conditions:
|
|
9
|
+
//
|
|
10
|
+
// The above copyright notice and this permission notice shall be included in
|
|
11
|
+
// all copies or substantial portions of the Software.
|
|
12
|
+
//
|
|
13
|
+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
14
|
+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
15
|
+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
16
|
+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
17
|
+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
18
|
+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
19
|
+
// THE SOFTWARE.
|
|
20
|
+
import { ApplicationRef, ChangeDetectorRef, Component, ComponentFactoryResolver, ContentChild, ElementRef, EventEmitter, Injector, Input, Optional, Output, ViewChild, ViewEncapsulation, } from "@angular/core";
|
|
21
|
+
import _isUndefined from "lodash/isUndefined";
|
|
22
|
+
import { filter, Subject } from "rxjs";
|
|
23
|
+
import { DOCUMENT_CLICK_EVENT } from "../../constants/event.constants";
|
|
24
|
+
import { EdgeDetectionService } from "../../services/edge-detection.service";
|
|
25
|
+
import { EventBusService } from "../../services/event-bus.service";
|
|
26
|
+
import { LoggerService } from "../../services/log-service";
|
|
27
|
+
import { PopupContainerComponent } from "./popup-container.component";
|
|
28
|
+
import { PopupContainerService } from "./popup-container.service";
|
|
29
|
+
import { PopupToggleDirective } from "./popup-toggle.directive";
|
|
30
|
+
import * as i0 from "@angular/core";
|
|
31
|
+
import * as i1 from "../../services/edge-detection.service";
|
|
32
|
+
import * as i2 from "../../services/event-bus.service";
|
|
33
|
+
import * as i3 from "../../services/log-service";
|
|
34
|
+
import * as i4 from "./popup-container.service";
|
|
35
|
+
import * as i5 from "../../common/directives/click-interceptor/click-interceptor.directive";
|
|
36
|
+
const isMouseEvent = (event) => event instanceof MouseEvent;
|
|
37
|
+
// <example-url>./../examples/index.html#/popup</example-url>
|
|
38
|
+
/**
|
|
39
|
+
* @deprecated in v11 - Use PopupComponent instead - Removal: NUI-5796
|
|
40
|
+
*/
|
|
41
|
+
/**
|
|
42
|
+
* __Name :__
|
|
43
|
+
* NUI Pop-up component.
|
|
44
|
+
*
|
|
45
|
+
* __Usage :__
|
|
46
|
+
* Component represents basic functionality for dropdowns, popups, etc.
|
|
47
|
+
* May be used directly. Use "nuiPopupToggle" attribute inside any layer of content
|
|
48
|
+
* to define element that will toggle popover. Use "popupAreaContent" attribute inside
|
|
49
|
+
* 1st layer of content to define "popup area". DO NOT USE "opened" WITH "nuiPopupToggle".
|
|
50
|
+
* IT IS NEEDED TO CHOOSE ONE.
|
|
51
|
+
*/
|
|
52
|
+
export class PopupDeprecatedComponent {
|
|
53
|
+
constructor(elementRef, edgeDetector, changeDetectorRef, eventBusService, componentFactoryResolver, injector, appRef, logger, popupContainer) {
|
|
54
|
+
this.elementRef = elementRef;
|
|
55
|
+
this.edgeDetector = edgeDetector;
|
|
56
|
+
this.changeDetectorRef = changeDetectorRef;
|
|
57
|
+
this.eventBusService = eventBusService;
|
|
58
|
+
this.componentFactoryResolver = componentFactoryResolver;
|
|
59
|
+
this.injector = injector;
|
|
60
|
+
this.appRef = appRef;
|
|
61
|
+
this.logger = logger;
|
|
62
|
+
this.popupContainer = popupContainer;
|
|
63
|
+
this.isOpen = false;
|
|
64
|
+
this.ariaLabel = "Popup";
|
|
65
|
+
this.opened = new EventEmitter();
|
|
66
|
+
this.popupSubscriptions = [];
|
|
67
|
+
/**
|
|
68
|
+
* switches visibility of popup area
|
|
69
|
+
*/
|
|
70
|
+
this.visible = false;
|
|
71
|
+
this.logger.warn("<nui-popup-deprecated> is deprecated as of Nova v11. Please use <nui-popup> instead.");
|
|
72
|
+
}
|
|
73
|
+
get popupInstance() {
|
|
74
|
+
return this._popupInstance;
|
|
75
|
+
}
|
|
76
|
+
ngOnInit() {
|
|
77
|
+
if (this.manualOpenControl) {
|
|
78
|
+
this.popupSubscriptions.push(this.manualOpenControl.subscribe((event) => {
|
|
79
|
+
this.toggleOpened(event);
|
|
80
|
+
}));
|
|
81
|
+
}
|
|
82
|
+
this.popupSubscriptions.push(this.eventBusService
|
|
83
|
+
.getStream(DOCUMENT_CLICK_EVENT)
|
|
84
|
+
.pipe(filter(isMouseEvent))
|
|
85
|
+
.subscribe((event) => {
|
|
86
|
+
if (this.isOpen) {
|
|
87
|
+
this.closePopup(event);
|
|
88
|
+
}
|
|
89
|
+
}));
|
|
90
|
+
// This is needed to make the isOpen @Input work.
|
|
91
|
+
this.visible = this.isOpen;
|
|
92
|
+
}
|
|
93
|
+
ngAfterContentInit() {
|
|
94
|
+
this.setPopupPosition();
|
|
95
|
+
if (!this.popupToggle) {
|
|
96
|
+
return;
|
|
97
|
+
}
|
|
98
|
+
this.popupSubscriptions.push(this.popupToggle.toggle.subscribe((event) => {
|
|
99
|
+
this.toggleOpened(event);
|
|
100
|
+
}));
|
|
101
|
+
}
|
|
102
|
+
toggleOpened(event) {
|
|
103
|
+
this.visible = false;
|
|
104
|
+
let emit = true;
|
|
105
|
+
if (event) {
|
|
106
|
+
// since click triggers focusin event, we need to prevent popup from closing
|
|
107
|
+
// when focus on the input is gained via click
|
|
108
|
+
if (this.lastEventType === "focusin" && event.type === "click") {
|
|
109
|
+
emit = false;
|
|
110
|
+
}
|
|
111
|
+
// if popup is already closed, prevent it from opening on focusout
|
|
112
|
+
if (event.type === "focusout" && !this.isOpen) {
|
|
113
|
+
emit = false;
|
|
114
|
+
}
|
|
115
|
+
this.lastEventType = event.type;
|
|
116
|
+
}
|
|
117
|
+
if (emit) {
|
|
118
|
+
this.isOpen = !this.isOpen;
|
|
119
|
+
this.changeDetectorRef.detectChanges();
|
|
120
|
+
this.changeDetectorRef.detach();
|
|
121
|
+
if (this.isOpen) {
|
|
122
|
+
if (!this._popupInstance && this.appendToBody) {
|
|
123
|
+
const popupContainerFactory = this.componentFactoryResolver.resolveComponentFactory(PopupContainerComponent);
|
|
124
|
+
this._popupInstance = popupContainerFactory.create(this.injector, [[this.popupAreaContent.nativeElement]]);
|
|
125
|
+
this._popupInstance.instance.hostElement =
|
|
126
|
+
this.popupToggle.host.nativeElement;
|
|
127
|
+
this.appRef.attachView(this._popupInstance.hostView);
|
|
128
|
+
const hostElement = this._popupInstance.hostView.rootNodes[0];
|
|
129
|
+
if (this.popupContainer?.parent) {
|
|
130
|
+
hostElement.setAttribute("parent", this.popupContainer.parent.constructor.name);
|
|
131
|
+
}
|
|
132
|
+
document.body.appendChild(hostElement);
|
|
133
|
+
}
|
|
134
|
+
else {
|
|
135
|
+
this.setPopupPosition();
|
|
136
|
+
}
|
|
137
|
+
this.visible = true;
|
|
138
|
+
this.changeDetectorRef.detectChanges();
|
|
139
|
+
this.changeDetectorRef.detach();
|
|
140
|
+
// If closed, remove popup instance from DOM if there's one
|
|
141
|
+
}
|
|
142
|
+
else if (this._popupInstance && this.appendToBody) {
|
|
143
|
+
this.deletePopupInstance();
|
|
144
|
+
}
|
|
145
|
+
this.opened.emit(this.isOpen);
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
closePopup(event) {
|
|
149
|
+
const isToggle = this.popupToggle && event
|
|
150
|
+
? this.popupToggle.host.nativeElement.contains(event.target)
|
|
151
|
+
: false;
|
|
152
|
+
if (!isToggle) {
|
|
153
|
+
this.deletePopupInstance();
|
|
154
|
+
this.isOpen = false;
|
|
155
|
+
this.visible = false;
|
|
156
|
+
this.opened.emit(this.isOpen);
|
|
157
|
+
this.changeDetectorRef.detectChanges();
|
|
158
|
+
this.changeDetectorRef.detach();
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
setPopupPosition() {
|
|
162
|
+
let parentEl;
|
|
163
|
+
if (!this.baseElementSelector && !this.popupToggle) {
|
|
164
|
+
return;
|
|
165
|
+
}
|
|
166
|
+
if (this.popupToggle) {
|
|
167
|
+
parentEl = this.popupToggle.host.nativeElement;
|
|
168
|
+
}
|
|
169
|
+
else {
|
|
170
|
+
parentEl =
|
|
171
|
+
document.querySelector(this.baseElementSelector) ??
|
|
172
|
+
undefined;
|
|
173
|
+
}
|
|
174
|
+
if (!parentEl) {
|
|
175
|
+
return;
|
|
176
|
+
}
|
|
177
|
+
const canBe = this.edgeDetector.canBe(parentEl, this.popupAreaContent.nativeElement);
|
|
178
|
+
this._directionTop = _isUndefined(this.directionTop)
|
|
179
|
+
? !canBe?.placed.bottom
|
|
180
|
+
: this.directionTop;
|
|
181
|
+
this._directionRight = _isUndefined(this.directionRight)
|
|
182
|
+
? !canBe?.aligned.left
|
|
183
|
+
: this.directionRight;
|
|
184
|
+
}
|
|
185
|
+
deletePopupInstance() {
|
|
186
|
+
if (this._popupInstance) {
|
|
187
|
+
this.appRef.detachView(this._popupInstance.hostView);
|
|
188
|
+
this._popupInstance.destroy();
|
|
189
|
+
this._popupInstance = undefined;
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
ngOnDestroy() {
|
|
193
|
+
this.popupSubscriptions.forEach((subscription) => subscription.unsubscribe());
|
|
194
|
+
this.deletePopupInstance();
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
PopupDeprecatedComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PopupDeprecatedComponent, deps: [{ token: i0.ElementRef }, { token: i1.EdgeDetectionService }, { token: i0.ChangeDetectorRef }, { token: i2.EventBusService }, { token: i0.ComponentFactoryResolver }, { token: i0.Injector }, { token: i0.ApplicationRef }, { token: i3.LoggerService }, { token: i4.PopupContainerService, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
198
198
|
PopupDeprecatedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PopupDeprecatedComponent, selector: "nui-popup-deprecated", inputs: { width: "width", contextClass: "contextClass", appendToBody: "appendToBody", isOpen: "isOpen", manualOpenControl: "manualOpenControl", directionTop: "directionTop", directionRight: "directionRight", baseElementSelector: "baseElementSelector", ariaLabel: "ariaLabel" }, outputs: { opened: "opened" }, host: { attributes: { "role": "dialog" }, properties: { "attr.aria-label": "ariaLabel" }, classAttribute: "nui-popup" }, queries: [{ propertyName: "popupToggle", first: true, predicate: PopupToggleDirective, descendants: true }], viewQueries: [{ propertyName: "popupAreaContainer", first: true, predicate: ["popupAreaContainer"], descendants: true }, { propertyName: "popupAreaContent", first: true, predicate: ["popupArea"], descendants: true, static: true }], ngImport: i0, template: `
|
|
199
199
|
<div
|
|
200
200
|
class="nui-popup-container"
|
|
@@ -223,13 +223,13 @@ PopupDeprecatedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0
|
|
|
223
223
|
</div>
|
|
224
224
|
</div>
|
|
225
225
|
</div>
|
|
226
|
-
`, isInline: true, styles: [".nui-menu-popup-host.nui-popup__area{min-width:150px;max-width:450px;max-height:300px}.nui-menu-popup-host.nui-popup__area .nui-popup__area--container{overflow-x:hidden;overflow-y:auto;max-height:290px;margin:5px 0}.nui-select-popup-host.nui-popup__area{width:auto}.nui-select-popup-host.nui-popup__area .nui-menu-item .nui-menu-item__action{color:var(--nui-color-text-default,#111)}.nui-select-popup-host.nui-popup__area .nui-menu-item.item-selected .nui-menu-item__action{background-color:var(--nui-color-selected,rgba(0, 196, 210, .1));color:var(--nui-color-text-default,#111);font-weight:600}.nui-select-popup-host.nui-popup__area .nui-menu-item.item-selected .nui-menu-item__action:hover{background-color:var(--nui-color-selected-hover,rgba(0, 196, 210, .2))}.nui-select-popup-host.nui-select--justified.nui-popup__area{max-width:none}.nui-select-popup-host.nui-select--justified .nui-popup__content .menu-button{display:flex;flex-grow:1;max-width:none}.nui-combobox-popup-host.nui-popup__area .nui-menu-item .nui-menu-item__action{color:var(--nui-color-text-default,#111)}.nui-combobox-popup-host.nui-popup__area .nui-menu-item.item-selected .nui-menu-item__action{background-color:var(--nui-color-selected,rgba(0, 196, 210, .1));color:var(--nui-color-text-default,#111);font-weight:600}.nui-combobox-popup-host.nui-popup__area .nui-menu-item.item-selected .nui-menu-item__action:hover{background-color:var(--nui-color-selected-hover,rgba(0, 196, 210, .2))}.nui-combobox-popup-host .nui-combobox__menu{max-height:300px;overflow-y:auto;max-width:400px}.nui-combobox-popup-host.nui-combobox--justified .nui-combobox__menu{max-width:none}.nui-selector-append-to-body-host.nui-popup__area{left:-35px;min-width:100px;border:none;color:var(--nui-color-text-link,#0079aa)}.nui-selector-append-to-body-host.nui-popup__area .nui-repeat .nui-repeat-item{border:0}.nui-selector-host.nui-popup__area{min-width:100px;border:none;color:var(--nui-color-text-link,#0079aa)}.nui-selector-host.nui-popup__area .nui-repeat .nui-repeat-item{border:0}.nui-selector-popup-area{min-width:100px;border:none;color:var(--nui-color-text-link,#0079aa)}.nui-selector-popup-area .nui-repeat .nui-repeat-item{border:0}.nui-popup{display:inline-flex;position:relative;font-size:13px;line-height:1.66666667;border-radius:0}.nui-popup-container{pointer-events:all;flex-direction:column}.nui-popup-container.nui-popup--opened .nui-popup__area{display:block}.nui-popup-container.nui-popup--opened .nui-popup__area.nui-popup__area--visible{visibility:visible}.nui-popup__content{display:inline-flex;flex-direction:row}.nui-popup--detached{position:absolute}.nui-popup__area{display:none;visibility:hidden;position:absolute;top:100%;margin:0;z-index:1050;box-shadow:var(--nui-shadow-default,0 0 5px 0 var(--nui-shadow-color, rgba(17, 17, 17, .3)));background-color:var(--nui-color-bg-content_popover,#fff)}.nui-popup__area.nui-popup__area--top{top:0;transform:translateY(-100%)}.nui-popup__area.nui-popup__area--right{right:0;left:auto}.nui-popup:not(.nui-popup--opened){background:none}\n"], directives: [{ type: i5.ClickInterceptorDirective, selector: "[nuiClickInterceptor]" }], encapsulation: i0.ViewEncapsulation.None });
|
|
227
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PopupDeprecatedComponent, decorators: [{
|
|
228
|
-
type: Component,
|
|
229
|
-
args: [{ selector: "nui-popup-deprecated", host: {
|
|
230
|
-
class: "nui-popup",
|
|
231
|
-
role: "dialog",
|
|
232
|
-
"[attr.aria-label]": "ariaLabel",
|
|
226
|
+
`, isInline: true, styles: [".nui-menu-popup-host.nui-popup__area{min-width:150px;max-width:450px;max-height:300px}.nui-menu-popup-host.nui-popup__area .nui-popup__area--container{overflow-x:hidden;overflow-y:auto;max-height:290px;margin:5px 0}.nui-select-popup-host.nui-popup__area{width:auto}.nui-select-popup-host.nui-popup__area .nui-menu-item .nui-menu-item__action{color:var(--nui-color-text-default,#111)}.nui-select-popup-host.nui-popup__area .nui-menu-item.item-selected .nui-menu-item__action{background-color:var(--nui-color-selected,rgba(0, 196, 210, .1));color:var(--nui-color-text-default,#111);font-weight:600}.nui-select-popup-host.nui-popup__area .nui-menu-item.item-selected .nui-menu-item__action:hover{background-color:var(--nui-color-selected-hover,rgba(0, 196, 210, .2))}.nui-select-popup-host.nui-select--justified.nui-popup__area{max-width:none}.nui-select-popup-host.nui-select--justified .nui-popup__content .menu-button{display:flex;flex-grow:1;max-width:none}.nui-combobox-popup-host.nui-popup__area .nui-menu-item .nui-menu-item__action{color:var(--nui-color-text-default,#111)}.nui-combobox-popup-host.nui-popup__area .nui-menu-item.item-selected .nui-menu-item__action{background-color:var(--nui-color-selected,rgba(0, 196, 210, .1));color:var(--nui-color-text-default,#111);font-weight:600}.nui-combobox-popup-host.nui-popup__area .nui-menu-item.item-selected .nui-menu-item__action:hover{background-color:var(--nui-color-selected-hover,rgba(0, 196, 210, .2))}.nui-combobox-popup-host .nui-combobox__menu{max-height:300px;overflow-y:auto;max-width:400px}.nui-combobox-popup-host.nui-combobox--justified .nui-combobox__menu{max-width:none}.nui-selector-append-to-body-host.nui-popup__area{left:-35px;min-width:100px;border:none;color:var(--nui-color-text-link,#0079aa)}.nui-selector-append-to-body-host.nui-popup__area .nui-repeat .nui-repeat-item{border:0}.nui-selector-host.nui-popup__area{min-width:100px;border:none;color:var(--nui-color-text-link,#0079aa)}.nui-selector-host.nui-popup__area .nui-repeat .nui-repeat-item{border:0}.nui-selector-popup-area{min-width:100px;border:none;color:var(--nui-color-text-link,#0079aa)}.nui-selector-popup-area .nui-repeat .nui-repeat-item{border:0}.nui-popup{display:inline-flex;position:relative;font-size:13px;line-height:1.66666667;border-radius:0}.nui-popup-container{pointer-events:all;flex-direction:column}.nui-popup-container.nui-popup--opened .nui-popup__area{display:block}.nui-popup-container.nui-popup--opened .nui-popup__area.nui-popup__area--visible{visibility:visible}.nui-popup__content{display:inline-flex;flex-direction:row}.nui-popup--detached{position:absolute}.nui-popup__area{display:none;visibility:hidden;position:absolute;top:100%;margin:0;z-index:1050;box-shadow:var(--nui-shadow-default,0 0 5px 0 var(--nui-shadow-color, rgba(17, 17, 17, .3)));background-color:var(--nui-color-bg-content_popover,#fff)}.nui-popup__area.nui-popup__area--top{top:0;transform:translateY(-100%)}.nui-popup__area.nui-popup__area--right{right:0;left:auto}.nui-popup:not(.nui-popup--opened){background:none}\n"], directives: [{ type: i5.ClickInterceptorDirective, selector: "[nuiClickInterceptor]" }], encapsulation: i0.ViewEncapsulation.None });
|
|
227
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PopupDeprecatedComponent, decorators: [{
|
|
228
|
+
type: Component,
|
|
229
|
+
args: [{ selector: "nui-popup-deprecated", host: {
|
|
230
|
+
class: "nui-popup",
|
|
231
|
+
role: "dialog",
|
|
232
|
+
"[attr.aria-label]": "ariaLabel",
|
|
233
233
|
}, template: `
|
|
234
234
|
<div
|
|
235
235
|
class="nui-popup-container"
|
|
@@ -258,37 +258,37 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
258
258
|
</div>
|
|
259
259
|
</div>
|
|
260
260
|
</div>
|
|
261
|
-
`, encapsulation: ViewEncapsulation.None, styles: [".nui-menu-popup-host.nui-popup__area{min-width:150px;max-width:450px;max-height:300px}.nui-menu-popup-host.nui-popup__area .nui-popup__area--container{overflow-x:hidden;overflow-y:auto;max-height:290px;margin:5px 0}.nui-select-popup-host.nui-popup__area{width:auto}.nui-select-popup-host.nui-popup__area .nui-menu-item .nui-menu-item__action{color:var(--nui-color-text-default,#111)}.nui-select-popup-host.nui-popup__area .nui-menu-item.item-selected .nui-menu-item__action{background-color:var(--nui-color-selected,rgba(0, 196, 210, .1));color:var(--nui-color-text-default,#111);font-weight:600}.nui-select-popup-host.nui-popup__area .nui-menu-item.item-selected .nui-menu-item__action:hover{background-color:var(--nui-color-selected-hover,rgba(0, 196, 210, .2))}.nui-select-popup-host.nui-select--justified.nui-popup__area{max-width:none}.nui-select-popup-host.nui-select--justified .nui-popup__content .menu-button{display:flex;flex-grow:1;max-width:none}.nui-combobox-popup-host.nui-popup__area .nui-menu-item .nui-menu-item__action{color:var(--nui-color-text-default,#111)}.nui-combobox-popup-host.nui-popup__area .nui-menu-item.item-selected .nui-menu-item__action{background-color:var(--nui-color-selected,rgba(0, 196, 210, .1));color:var(--nui-color-text-default,#111);font-weight:600}.nui-combobox-popup-host.nui-popup__area .nui-menu-item.item-selected .nui-menu-item__action:hover{background-color:var(--nui-color-selected-hover,rgba(0, 196, 210, .2))}.nui-combobox-popup-host .nui-combobox__menu{max-height:300px;overflow-y:auto;max-width:400px}.nui-combobox-popup-host.nui-combobox--justified .nui-combobox__menu{max-width:none}.nui-selector-append-to-body-host.nui-popup__area{left:-35px;min-width:100px;border:none;color:var(--nui-color-text-link,#0079aa)}.nui-selector-append-to-body-host.nui-popup__area .nui-repeat .nui-repeat-item{border:0}.nui-selector-host.nui-popup__area{min-width:100px;border:none;color:var(--nui-color-text-link,#0079aa)}.nui-selector-host.nui-popup__area .nui-repeat .nui-repeat-item{border:0}.nui-selector-popup-area{min-width:100px;border:none;color:var(--nui-color-text-link,#0079aa)}.nui-selector-popup-area .nui-repeat .nui-repeat-item{border:0}.nui-popup{display:inline-flex;position:relative;font-size:13px;line-height:1.66666667;border-radius:0}.nui-popup-container{pointer-events:all;flex-direction:column}.nui-popup-container.nui-popup--opened .nui-popup__area{display:block}.nui-popup-container.nui-popup--opened .nui-popup__area.nui-popup__area--visible{visibility:visible}.nui-popup__content{display:inline-flex;flex-direction:row}.nui-popup--detached{position:absolute}.nui-popup__area{display:none;visibility:hidden;position:absolute;top:100%;margin:0;z-index:1050;box-shadow:var(--nui-shadow-default,0 0 5px 0 var(--nui-shadow-color, rgba(17, 17, 17, .3)));background-color:var(--nui-color-bg-content_popover,#fff)}.nui-popup__area.nui-popup__area--top{top:0;transform:translateY(-100%)}.nui-popup__area.nui-popup__area--right{right:0;left:auto}.nui-popup:not(.nui-popup--opened){background:none}\n"] }]
|
|
262
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.EdgeDetectionService }, { type: i0.ChangeDetectorRef }, { type: i2.EventBusService }, { type: i0.ComponentFactoryResolver }, { type: i0.Injector }, { type: i0.ApplicationRef }, { type: i3.LoggerService }, { type: i4.PopupContainerService, decorators: [{
|
|
263
|
-
type: Optional
|
|
264
|
-
}] }]; }, propDecorators: { width: [{
|
|
265
|
-
type: Input
|
|
266
|
-
}], contextClass: [{
|
|
267
|
-
type: Input
|
|
268
|
-
}], appendToBody: [{
|
|
269
|
-
type: Input
|
|
270
|
-
}], isOpen: [{
|
|
271
|
-
type: Input
|
|
272
|
-
}], manualOpenControl: [{
|
|
273
|
-
type: Input
|
|
274
|
-
}], directionTop: [{
|
|
275
|
-
type: Input
|
|
276
|
-
}], directionRight: [{
|
|
277
|
-
type: Input
|
|
278
|
-
}], baseElementSelector: [{
|
|
279
|
-
type: Input
|
|
280
|
-
}], ariaLabel: [{
|
|
281
|
-
type: Input
|
|
282
|
-
}], opened: [{
|
|
283
|
-
type: Output
|
|
284
|
-
}], popupToggle: [{
|
|
285
|
-
type: ContentChild,
|
|
286
|
-
args: [PopupToggleDirective]
|
|
287
|
-
}], popupAreaContainer: [{
|
|
288
|
-
type: ViewChild,
|
|
289
|
-
args: ["popupAreaContainer"]
|
|
290
|
-
}], popupAreaContent: [{
|
|
291
|
-
type: ViewChild,
|
|
292
|
-
args: ["popupArea", { static: true }]
|
|
293
|
-
}] } });
|
|
261
|
+
`, encapsulation: ViewEncapsulation.None, styles: [".nui-menu-popup-host.nui-popup__area{min-width:150px;max-width:450px;max-height:300px}.nui-menu-popup-host.nui-popup__area .nui-popup__area--container{overflow-x:hidden;overflow-y:auto;max-height:290px;margin:5px 0}.nui-select-popup-host.nui-popup__area{width:auto}.nui-select-popup-host.nui-popup__area .nui-menu-item .nui-menu-item__action{color:var(--nui-color-text-default,#111)}.nui-select-popup-host.nui-popup__area .nui-menu-item.item-selected .nui-menu-item__action{background-color:var(--nui-color-selected,rgba(0, 196, 210, .1));color:var(--nui-color-text-default,#111);font-weight:600}.nui-select-popup-host.nui-popup__area .nui-menu-item.item-selected .nui-menu-item__action:hover{background-color:var(--nui-color-selected-hover,rgba(0, 196, 210, .2))}.nui-select-popup-host.nui-select--justified.nui-popup__area{max-width:none}.nui-select-popup-host.nui-select--justified .nui-popup__content .menu-button{display:flex;flex-grow:1;max-width:none}.nui-combobox-popup-host.nui-popup__area .nui-menu-item .nui-menu-item__action{color:var(--nui-color-text-default,#111)}.nui-combobox-popup-host.nui-popup__area .nui-menu-item.item-selected .nui-menu-item__action{background-color:var(--nui-color-selected,rgba(0, 196, 210, .1));color:var(--nui-color-text-default,#111);font-weight:600}.nui-combobox-popup-host.nui-popup__area .nui-menu-item.item-selected .nui-menu-item__action:hover{background-color:var(--nui-color-selected-hover,rgba(0, 196, 210, .2))}.nui-combobox-popup-host .nui-combobox__menu{max-height:300px;overflow-y:auto;max-width:400px}.nui-combobox-popup-host.nui-combobox--justified .nui-combobox__menu{max-width:none}.nui-selector-append-to-body-host.nui-popup__area{left:-35px;min-width:100px;border:none;color:var(--nui-color-text-link,#0079aa)}.nui-selector-append-to-body-host.nui-popup__area .nui-repeat .nui-repeat-item{border:0}.nui-selector-host.nui-popup__area{min-width:100px;border:none;color:var(--nui-color-text-link,#0079aa)}.nui-selector-host.nui-popup__area .nui-repeat .nui-repeat-item{border:0}.nui-selector-popup-area{min-width:100px;border:none;color:var(--nui-color-text-link,#0079aa)}.nui-selector-popup-area .nui-repeat .nui-repeat-item{border:0}.nui-popup{display:inline-flex;position:relative;font-size:13px;line-height:1.66666667;border-radius:0}.nui-popup-container{pointer-events:all;flex-direction:column}.nui-popup-container.nui-popup--opened .nui-popup__area{display:block}.nui-popup-container.nui-popup--opened .nui-popup__area.nui-popup__area--visible{visibility:visible}.nui-popup__content{display:inline-flex;flex-direction:row}.nui-popup--detached{position:absolute}.nui-popup__area{display:none;visibility:hidden;position:absolute;top:100%;margin:0;z-index:1050;box-shadow:var(--nui-shadow-default,0 0 5px 0 var(--nui-shadow-color, rgba(17, 17, 17, .3)));background-color:var(--nui-color-bg-content_popover,#fff)}.nui-popup__area.nui-popup__area--top{top:0;transform:translateY(-100%)}.nui-popup__area.nui-popup__area--right{right:0;left:auto}.nui-popup:not(.nui-popup--opened){background:none}\n"] }]
|
|
262
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.EdgeDetectionService }, { type: i0.ChangeDetectorRef }, { type: i2.EventBusService }, { type: i0.ComponentFactoryResolver }, { type: i0.Injector }, { type: i0.ApplicationRef }, { type: i3.LoggerService }, { type: i4.PopupContainerService, decorators: [{
|
|
263
|
+
type: Optional
|
|
264
|
+
}] }]; }, propDecorators: { width: [{
|
|
265
|
+
type: Input
|
|
266
|
+
}], contextClass: [{
|
|
267
|
+
type: Input
|
|
268
|
+
}], appendToBody: [{
|
|
269
|
+
type: Input
|
|
270
|
+
}], isOpen: [{
|
|
271
|
+
type: Input
|
|
272
|
+
}], manualOpenControl: [{
|
|
273
|
+
type: Input
|
|
274
|
+
}], directionTop: [{
|
|
275
|
+
type: Input
|
|
276
|
+
}], directionRight: [{
|
|
277
|
+
type: Input
|
|
278
|
+
}], baseElementSelector: [{
|
|
279
|
+
type: Input
|
|
280
|
+
}], ariaLabel: [{
|
|
281
|
+
type: Input
|
|
282
|
+
}], opened: [{
|
|
283
|
+
type: Output
|
|
284
|
+
}], popupToggle: [{
|
|
285
|
+
type: ContentChild,
|
|
286
|
+
args: [PopupToggleDirective]
|
|
287
|
+
}], popupAreaContainer: [{
|
|
288
|
+
type: ViewChild,
|
|
289
|
+
args: ["popupAreaContainer"]
|
|
290
|
+
}], popupAreaContent: [{
|
|
291
|
+
type: ViewChild,
|
|
292
|
+
args: ["popupArea", { static: true }]
|
|
293
|
+
}] } });
|
|
294
294
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicG9wdXAuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2xpYi9wb3B1cC9wb3B1cC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEseURBQXlEO0FBQ3pELEVBQUU7QUFDRiwrRUFBK0U7QUFDL0UsNEVBQTRFO0FBQzVFLDhFQUE4RTtBQUM5RSwrRUFBK0U7QUFDL0UsOEVBQThFO0FBQzlFLDREQUE0RDtBQUM1RCxFQUFFO0FBQ0YsNkVBQTZFO0FBQzdFLHVEQUF1RDtBQUN2RCxFQUFFO0FBQ0YsNkVBQTZFO0FBQzdFLDRFQUE0RTtBQUM1RSwrRUFBK0U7QUFDL0UsMEVBQTBFO0FBQzFFLGlGQUFpRjtBQUNqRiw2RUFBNkU7QUFDN0UsaUJBQWlCO0FBRWpCLE9BQU8sRUFFSCxjQUFjLEVBQ2QsaUJBQWlCLEVBQ2pCLFNBQVMsRUFDVCx3QkFBd0IsRUFFeEIsWUFBWSxFQUNaLFVBQVUsRUFFVixZQUFZLEVBQ1osUUFBUSxFQUNSLEtB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YVwiLiBETyBOT1QgVVNFIFwib3BlbmVkXCIgV0lUSCBcIm51aVBvcHVwVG9nZ2xlXCIuXG4gKiBJVCBJUyBORUVERUQgVE8gQ0hPT1NFIE9ORS5cbiAqL1xuQENvbXBvbmVudCh7XG4gICAgc2VsZWN0b3I6IFwibnVpLXBvcHVwLWRlcHJlY2F0ZWRcIixcbiAgICBob3N0OiB7XG4gICAgICAgIGNsYXNzOiBcIm51aS1wb3B1cFwiLFxuICAgICAgICByb2xlOiBcImRpYWxvZ1wiLFxuICAgICAgICBcIlthdHRyLmFyaWEtbGFiZWxdXCI6IFwiYXJpYUxhYmVsXCIsXG4gICAgfSxcbiAgICB0ZW1wbGF0ZTogYFxuICAgICAgICA8ZGl2XG4gICAgICAgICAgICBjbGFzcz1cIm51aS1wb3B1cC1jb250YWluZXJcIlxuICAgICAgICAgICAgW2NsYXNzLm51aS1wb3B1cC0tb3BlbmVkXT1cImlzT3BlblwiXG4gICAgICAgICAgICBudWlDbGlja0ludGVyY2VwdG9yXG4gICAgICAgID5cbiAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJudWktcG9wdXBfX2NvbnRlbnRcIj5cbiAgICAgICAgICAgICAgICA8bmctY29udGVudD48L25nLWNvbnRlbnQ+XG4gICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICAgIDxkaXZcbiAgICAgICAgICAgICAgICAjcG9wdXBBcmVhXG4gICAgICAgICAgICAgICAgY2xhc3M9XCJudWktcG9wdXBfX2FyZWEge3sgY29udGV4dENsYXNzIH19XCJcbiAgICAgICAgICAgICAgICBbc3R5bGUud2lkdGhdPVwid2lkdGhcIlxuICAgICAgICAgICAgICAgIFtjbGFzcy5udWktcG9wdXBfX2FyZWEtLXZpc2libGVdPVwidmlzaWJsZVwiXG4gICAgICAgICAgICAgICAgW2NsYXNzLm51aS1wb3B1cF9fYXJlYS0tdG9wXT1cIl9kaXJlY3Rpb25Ub3AgJiYgIWFwcGVuZFRvQm9keVwiXG4gICAgICAgICAgICAgICAgW2NsYXNzLm51aS1wb3B1cF9fYXJlYS0tcmlnaHRdPVwiXG4gICAgICAgICAgICAgICAgICAgIF9kaXJlY3Rpb25SaWdodCAmJiAhYXBwZW5kVG9Cb2R5XG4gICAgICAgICAgICAgICAgXCJcbiAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgICA8ZGl2XG4gICAgICAgICAgICAgICAgICAgICNwb3B1cEFyZWFDb250YWluZXJcbiAgICAgICAgICAgICAgICAgICAgdGFiaW5kZXg9XCItMVwiXG4gICAgICAgICAgICAgICAgICAgIGNsYXNzPVwibnVpLXBvcHVwX19hcmVhLS1jb250YWluZXJcIlxuICAgICAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgICAgICAgPG5nLWNvbnRlbnQgc2VsZWN0PVwiW3BvcHVwQXJlYUNvbnRlbnRdXCI+PC9uZy1jb250ZW50PlxuICAgICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgIDwvZGl2PlxuICAgIGAsXG4gICAgc3R5bGVVcmxzOiBbXCIuL3BvcHVwLmNvbXBvbmVudC5sZXNzXCJdLFxuICAgIGVuY2Fwc3VsYXRpb246IFZpZXdFbmNhcHN1bGF0aW9uLk5vbmUsXG59KVxuZXhwb3J0IGNsYXNzIFBvcHVwRGVwcmVjYXRlZENvbXBvbmVudFxuICAgIGltcGxlbWVudHMgQWZ0ZXJDb250ZW50SW5pdCwgT25EZXN0cm95LCBPbkluaXRcbntcbiAgICBASW5wdXQoKSB3aWR0aDogc3RyaW5nO1xuICAgIC8qKlxuICAgICAqIElmIGFkZGl0aW9uYWwgc3R5bGVzIHNob3VsZCBiZSBhcHBsaWVkIHRvIHBvcHVwXG4gICAgICovXG4gICAgQElucHV0KCkgY29udGV4dENsYXNzOiBzdHJpbmc7XG4gICAgLyoqXG4gICAgICogQWxsb3dzIHBvcHVwIGJveCB0byBiZSBhdHRhY2hlZCB0byBkb2N1bWVudC5ib2R5XG4gICAgICovXG4gICA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3RyZWFtKERPQ1VNRU5UX0NMSUNLX0VWRU5UKVxuICAgICAgICAgICAgICAgIC5waXBlKGZpbHRlcihpc01vdXNlRXZlbnQpKVxuICAgICAgICAgICAgICAgIC5zdWJzY3JpYmUoKGV2ZW50OiBNb3VzZUV2ZW50KSA9PiB7XG4gICAgICAgICAgICAgICAgICAgIGlmICh0aGlzLmlzT3Blbikge1xuICAgICAgICAgICAgICAgICAgICAgICAgdGhpcy5jbG9zZVBvcHVwKGV2ZW50KTtcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH0pXG4gICAgICAgICk7XG5cbiAgICAgICAgLy8gVGhpcyBpcyBuZWVkZWQgdG8gbWFrZSB0aGUgaXNPcGVuIEBJbnB1dCB3b3JrLlxuICAgICAgICB0aGlzLnZpc2libGUgPSB0aGlzLmlzT3BlbjtcbiAgICB9XG5cbiAgICBwdWJsaWMgbmdBZnRlckNvbnRlbnRJbml0KCk6IHZvaWQge1xuICAgICAgICB0aGlzLnNldFBvcHVwUG9zaXRpb24oKTtcblxuICAgICAgICBpZiAoIXRoaXMucG9wdXBUb2dnbGUpIHtcbiAgICAgICAgICAgIHJldHVybjtcbiAgICAgICAgfVxuXG4gICAgICAgIHRoaXMucG9wdXBTdWJzY3JpcHRpb25zLnB1c2goXG4gICAgICAgICAgICB0aGlzLnBvcHVwVG9nZ2xlLnRvZ2dsZS5zdWJzY3JpYmUoKGV2ZW50OiBFdmVudCkgPT4ge1xuICAgICAgICAgICAgICAgIHRoaXMudG9nZ2xlT3BlbmVkKGV2ZW50KTtcbiAgICAgICAgICAgIH0pXG4gICAgICAgICk7XG4gICAgfVxuXG4gICAgcHVibGljIHRvZ2dsZU9wZW5lZChldmVudDogRXZlbnQpOiB2b2lkIHtcbiAgICAgICAgdGhpcy52aXNpYmxlID0gZmFsc2U7XG4gICAgICAgIGxldCBlbWl0ID0gdHJ1ZTtcbiAgICAgICAgaWYgKGV2ZW50KSB7XG4gICAgICAgICAgICAvLyB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AgICAgICB0aGlzLmNvbXBvbmVudEZhY3RvcnlSZXNvbHZlci5yZXNvbHZlQ29tcG9uZW50RmFjdG9yeShcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBQb3B1cENvbnRhaW5lckNvbXBvbmVudFxuICAgICAgICAgICAgICAgICAgICAgICAgKTtcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5fcG9wdXBJbnN0YW5jZSA9IHBvcHVwQ29udGFpbmVyRmFjdG9yeS5jcmVhdGUoXG4gICAgICAgICAgICAgICAgICAgICAgICB0aGlzLmluamVjdG9yLFxuICAgICAgICAgICAgICAgICAgICAgICAgW1t0aGlzLnBvcHVwQXJlYUNvbnRlbnQubmF0aXZlRWxlbWVudF1dXG4gICAgICAgICAgICAgICAgICAgICk7XG4gICAgICAgICAgICAgICAgICAgIHRoaXMuX3BvcHVwSW5zdGFuY2UuaW5zdGFuY2UuaG9zdEVsZW1lbnQgPVxuICAgICAgICAgICAgICAgICAgICAgICAgdGhpcy5wb3B1cFRvZ2dsZS5ob3N0Lm5hdGl2ZUVsZW1lbnQ7XG4gICAgICAgICAgICAgICAgICAgIHRoaXMuYXBwUmVmLmF0dGFjaFZpZXcodGhpcy5fcG9wdXBJbnN0YW5jZS5ob3N0Vmlldyk7XG4gICAgICAgICAgICAgICAgICAgIGNvbnN0IGhvc3RFbGVtZW50ID0gKFxuICAgICAgICAgICAgICAgICAgICAgICAgdGhpcy5fcG9wdXBJbnN0YW5jZS5ob3N0VmlldyBhcyBFbWJlZGRlZFZpZXdSZWY8YW55PlxuICAgICAgICAgICAgICAgICAgICApLnJvb3ROb2Rlc1swXSBhcyBIVE1MRWxlbWVudDtcbiAgICAgICAgICAgICAgICAgICAgaWYgKHRoaXMucG9wdXBDb250YWluZXI/LnBhcmVudCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgaG9zdEVsZW1lbnQuc2V0QXR0cmlidXRlKFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIFwicGFyZW50XCIsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgdGhpcy5wb3B1cENvbnRhaW5lci5wYXJlbnQuY29uc3RydWN0b3IubmFtZVxuICAgICAgICAgICAgICAgICAgICAgICAgKTtcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICBkb2N1bWVudC5ib2R5LmFwcGVuZENoaWxkKGhvc3RFbGVtZW50KTtcbiAgICAgICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgICAgICB0aGlzLnNldFBvcHVwUG9zaXRpb24oKTtcbiAgICAgICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgICB0aGlzLnZpc2libGUgPSB0cnVlO1xuICAgICAgICAgICAgICAgIHRoaXMuY2hhbmdlRGV0ZWN0b3JSZWYuZGV0ZWN0Q2hhbmdlcygpO1xuICAgICAgICAgICAgICAgIHRoaXMuY2hhbmdlRGV0ZWN0b3JSZWYuZGV0YWNoKCk7XG4gICAgICAgICAgICAgICAgLy8gSWYgY2xvc2VkLCByZW1vdmUgcG9wdXAgaW5zdGFuY2UgZnJvbSBET00gaWYgdGhlcmUncyBvbmVcbiAgICAgICAgICAgIH0gZWxzZSBpZiAodGhpcy5fcG9wdXBJbnN0YW5jZSAmJiB0aGlzLmFwcGVuZFRvQm9keSkge1xuICAgICAgICAgICAgICAgIHRoaXMuZGVsZXRlUG9wdXBJbnN0YW5jZSgpO1xuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICB0aGlzLm9wZW5lZC5lbWl0KHRoaXMuaXNPcGVuKTtcbiAgICAgICAgfVxuICAgIH1cblxuICAgIHB1YmxpYyBjbG9zZVBvcHVwKGV2ZW50PzogTW91c2VFdmVudCk6IHZvaWQge1xuICAgICAgICBjb25zdCBpc1RvZ2dsZSA9XG4gICAgICAgICAgICB0aGlzLnBvcHVwVG9nZ2xlICYmIGV2ZW50XG4gICAgICAgICAgICAgICAgPyAodGhpcy5wb3B1cFRvZ2dsZS5ob3N0Lm5hdGl2ZUV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