@nova-ui/bits 13.0.6-2 → 13.0.6-4169
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 +244 -244
- 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 +25501 -25501
- package/fesm2020/nova-ui-bits.mjs +25376 -25376
- 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 -60
- 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 -215
- 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 -80
- 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 -35
- package/sdk/atoms/virtual-camera/types.js +42 -42
- 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
|
@@ -1,296 +1,296 @@
|
|
|
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 { ChangeDetectorRef, Component, ContentChildren, ElementRef, EventEmitter, forwardRef, Input, Optional, Output, QueryList, Renderer2, ViewChild, ViewContainerRef, ViewEncapsulation, } from "@angular/core";
|
|
21
|
-
import { NG_VALUE_ACCESSOR } from "@angular/forms";
|
|
22
|
-
import _isNil from "lodash/isNil";
|
|
23
|
-
import _isUndefined from "lodash/isUndefined";
|
|
24
|
-
import { DOCUMENT_CLICK_EVENT } from "../../constants/event.constants";
|
|
25
|
-
import { EventBusService } from "../../services/event-bus.service";
|
|
26
|
-
import { NuiFormFieldControl } from "../form-field/public-api";
|
|
27
|
-
import * as i0 from "@angular/core";
|
|
28
|
-
import * as i1 from "../../services/event-bus.service";
|
|
29
|
-
import * as i2 from "@angular/common";
|
|
30
|
-
/*
|
|
31
|
-
* <example-url>./../examples/index.html#/radio-group</example-url>
|
|
32
|
-
*/
|
|
33
|
-
export class RadioGroupComponent {
|
|
34
|
-
constructor(renderer) {
|
|
35
|
-
this.renderer = renderer;
|
|
36
|
-
/**
|
|
37
|
-
* Input to set aria label text
|
|
38
|
-
*/
|
|
39
|
-
this.ariaLabel = "";
|
|
40
|
-
/**
|
|
41
|
-
* Emits an event when the radio selection changes
|
|
42
|
-
*/
|
|
43
|
-
this.valueChange = new EventEmitter();
|
|
44
|
-
this._value = null;
|
|
45
|
-
this.selectedRadio = null;
|
|
46
|
-
this.subscriptions = new Array();
|
|
47
|
-
this.setChildDisabled = (child) => {
|
|
48
|
-
if (!_isUndefined(this.disabled)) {
|
|
49
|
-
child.disabled = this.disabled;
|
|
50
|
-
}
|
|
51
|
-
};
|
|
52
|
-
}
|
|
53
|
-
/**
|
|
54
|
-
* Stores the value from selected radio
|
|
55
|
-
*/
|
|
56
|
-
get value() {
|
|
57
|
-
return this._value;
|
|
58
|
-
}
|
|
59
|
-
set value(newValue) {
|
|
60
|
-
if (this._value !== newValue) {
|
|
61
|
-
// Set this before proceeding to ensure no circular loop occurs with selection.
|
|
62
|
-
this._value = newValue;
|
|
63
|
-
this.updateSelectedRadioFromValue();
|
|
64
|
-
this.checkSelectedRadioButton();
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
ngAfterContentInit() {
|
|
68
|
-
this.children.toArray().forEach((child) => {
|
|
69
|
-
this.renderer.setAttribute(child.inputViewContainer.element.nativeElement, "name", this.name);
|
|
70
|
-
this.subscriptions.push(this.subscribeToRadioEvent(child));
|
|
71
|
-
// timeout to prevent "expression changed after it has been checked" error
|
|
72
|
-
setTimeout(() => {
|
|
73
|
-
this.setChildDisabled(child);
|
|
74
|
-
});
|
|
75
|
-
});
|
|
76
|
-
this.children.changes.subscribe((radioComponentQueryList) => {
|
|
77
|
-
this.subscriptions.forEach((sub) => sub.unsubscribe());
|
|
78
|
-
radioComponentQueryList
|
|
79
|
-
.toArray()
|
|
80
|
-
.forEach((radio) => {
|
|
81
|
-
this.renderer.setAttribute(radio.inputViewContainer.element.nativeElement, "name", this.name);
|
|
82
|
-
this.subscriptions.push(this.subscribeToRadioEvent(radio));
|
|
83
|
-
// timeout to prevent "expression changed after it has been checked" error
|
|
84
|
-
setTimeout(() => {
|
|
85
|
-
this.setChildDisabled(radio);
|
|
86
|
-
});
|
|
87
|
-
});
|
|
88
|
-
});
|
|
89
|
-
}
|
|
90
|
-
onChange(value) { }
|
|
91
|
-
onTouched() { }
|
|
92
|
-
writeValue(value) {
|
|
93
|
-
this.value = value;
|
|
94
|
-
}
|
|
95
|
-
registerOnChange(fn) {
|
|
96
|
-
this.onChange = fn;
|
|
97
|
-
}
|
|
98
|
-
registerOnTouched(fn) {
|
|
99
|
-
this.onTouched = fn;
|
|
100
|
-
}
|
|
101
|
-
setDisabledState(isDisabled) {
|
|
102
|
-
this.disabled = isDisabled;
|
|
103
|
-
if (this.children) {
|
|
104
|
-
this.children.toArray().forEach(this.setChildDisabled);
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
ngOnDestroy() {
|
|
108
|
-
this.subscriptions.forEach((sub) => sub.unsubscribe());
|
|
109
|
-
}
|
|
110
|
-
checkSelectedRadioButton() {
|
|
111
|
-
if (this.selectedRadio && !this.selectedRadio.checked) {
|
|
112
|
-
this.selectedRadio.checked = true;
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
updateSelectedRadioFromValue() {
|
|
116
|
-
// If the value already matches the selected radio, do nothing.
|
|
117
|
-
const isAlreadySelected = this.selectedRadio !== null &&
|
|
118
|
-
this.selectedRadio.value === this._value;
|
|
119
|
-
if (this.children && !isAlreadySelected) {
|
|
120
|
-
this.children.forEach((radio) => {
|
|
121
|
-
radio.checked = this.value === radio.value;
|
|
122
|
-
if (radio.checked) {
|
|
123
|
-
this.selectedRadio = radio;
|
|
124
|
-
}
|
|
125
|
-
});
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
subscribeToRadioEvent(radio) {
|
|
129
|
-
return radio.valueChange.subscribe((value) => {
|
|
130
|
-
this.value = value;
|
|
131
|
-
this.valueChange.emit(value);
|
|
132
|
-
if (!radio.keepFormPristine) {
|
|
133
|
-
this.onChange(this.value);
|
|
134
|
-
this.onTouched();
|
|
135
|
-
}
|
|
136
|
-
this.writeValue(this.value);
|
|
137
|
-
});
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
RadioGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: RadioGroupComponent, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
141
|
-
RadioGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: RadioGroupComponent, selector: "nui-radio-group", inputs: { ariaLabel: "ariaLabel", name: "name", value: "value", disabled: "disabled" }, outputs: { valueChange: "valueChange" }, host: { attributes: { "role": "radiogroup" } }, providers: [
|
|
142
|
-
{
|
|
143
|
-
provide: NuiFormFieldControl,
|
|
144
|
-
useExisting: forwardRef(() => RadioGroupComponent),
|
|
145
|
-
multi: true,
|
|
146
|
-
},
|
|
147
|
-
{
|
|
148
|
-
provide: NG_VALUE_ACCESSOR,
|
|
149
|
-
useExisting: forwardRef(() => RadioGroupComponent),
|
|
150
|
-
multi: true,
|
|
151
|
-
},
|
|
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 { ChangeDetectorRef, Component, ContentChildren, ElementRef, EventEmitter, forwardRef, Input, Optional, Output, QueryList, Renderer2, ViewChild, ViewContainerRef, ViewEncapsulation, } from "@angular/core";
|
|
21
|
+
import { NG_VALUE_ACCESSOR } from "@angular/forms";
|
|
22
|
+
import _isNil from "lodash/isNil";
|
|
23
|
+
import _isUndefined from "lodash/isUndefined";
|
|
24
|
+
import { DOCUMENT_CLICK_EVENT } from "../../constants/event.constants";
|
|
25
|
+
import { EventBusService } from "../../services/event-bus.service";
|
|
26
|
+
import { NuiFormFieldControl } from "../form-field/public-api";
|
|
27
|
+
import * as i0 from "@angular/core";
|
|
28
|
+
import * as i1 from "../../services/event-bus.service";
|
|
29
|
+
import * as i2 from "@angular/common";
|
|
30
|
+
/*
|
|
31
|
+
* <example-url>./../examples/index.html#/radio-group</example-url>
|
|
32
|
+
*/
|
|
33
|
+
export class RadioGroupComponent {
|
|
34
|
+
constructor(renderer) {
|
|
35
|
+
this.renderer = renderer;
|
|
36
|
+
/**
|
|
37
|
+
* Input to set aria label text
|
|
38
|
+
*/
|
|
39
|
+
this.ariaLabel = "";
|
|
40
|
+
/**
|
|
41
|
+
* Emits an event when the radio selection changes
|
|
42
|
+
*/
|
|
43
|
+
this.valueChange = new EventEmitter();
|
|
44
|
+
this._value = null;
|
|
45
|
+
this.selectedRadio = null;
|
|
46
|
+
this.subscriptions = new Array();
|
|
47
|
+
this.setChildDisabled = (child) => {
|
|
48
|
+
if (!_isUndefined(this.disabled)) {
|
|
49
|
+
child.disabled = this.disabled;
|
|
50
|
+
}
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Stores the value from selected radio
|
|
55
|
+
*/
|
|
56
|
+
get value() {
|
|
57
|
+
return this._value;
|
|
58
|
+
}
|
|
59
|
+
set value(newValue) {
|
|
60
|
+
if (this._value !== newValue) {
|
|
61
|
+
// Set this before proceeding to ensure no circular loop occurs with selection.
|
|
62
|
+
this._value = newValue;
|
|
63
|
+
this.updateSelectedRadioFromValue();
|
|
64
|
+
this.checkSelectedRadioButton();
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
ngAfterContentInit() {
|
|
68
|
+
this.children.toArray().forEach((child) => {
|
|
69
|
+
this.renderer.setAttribute(child.inputViewContainer.element.nativeElement, "name", this.name);
|
|
70
|
+
this.subscriptions.push(this.subscribeToRadioEvent(child));
|
|
71
|
+
// timeout to prevent "expression changed after it has been checked" error
|
|
72
|
+
setTimeout(() => {
|
|
73
|
+
this.setChildDisabled(child);
|
|
74
|
+
});
|
|
75
|
+
});
|
|
76
|
+
this.children.changes.subscribe((radioComponentQueryList) => {
|
|
77
|
+
this.subscriptions.forEach((sub) => sub.unsubscribe());
|
|
78
|
+
radioComponentQueryList
|
|
79
|
+
.toArray()
|
|
80
|
+
.forEach((radio) => {
|
|
81
|
+
this.renderer.setAttribute(radio.inputViewContainer.element.nativeElement, "name", this.name);
|
|
82
|
+
this.subscriptions.push(this.subscribeToRadioEvent(radio));
|
|
83
|
+
// timeout to prevent "expression changed after it has been checked" error
|
|
84
|
+
setTimeout(() => {
|
|
85
|
+
this.setChildDisabled(radio);
|
|
86
|
+
});
|
|
87
|
+
});
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
onChange(value) { }
|
|
91
|
+
onTouched() { }
|
|
92
|
+
writeValue(value) {
|
|
93
|
+
this.value = value;
|
|
94
|
+
}
|
|
95
|
+
registerOnChange(fn) {
|
|
96
|
+
this.onChange = fn;
|
|
97
|
+
}
|
|
98
|
+
registerOnTouched(fn) {
|
|
99
|
+
this.onTouched = fn;
|
|
100
|
+
}
|
|
101
|
+
setDisabledState(isDisabled) {
|
|
102
|
+
this.disabled = isDisabled;
|
|
103
|
+
if (this.children) {
|
|
104
|
+
this.children.toArray().forEach(this.setChildDisabled);
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
ngOnDestroy() {
|
|
108
|
+
this.subscriptions.forEach((sub) => sub.unsubscribe());
|
|
109
|
+
}
|
|
110
|
+
checkSelectedRadioButton() {
|
|
111
|
+
if (this.selectedRadio && !this.selectedRadio.checked) {
|
|
112
|
+
this.selectedRadio.checked = true;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
updateSelectedRadioFromValue() {
|
|
116
|
+
// If the value already matches the selected radio, do nothing.
|
|
117
|
+
const isAlreadySelected = this.selectedRadio !== null &&
|
|
118
|
+
this.selectedRadio.value === this._value;
|
|
119
|
+
if (this.children && !isAlreadySelected) {
|
|
120
|
+
this.children.forEach((radio) => {
|
|
121
|
+
radio.checked = this.value === radio.value;
|
|
122
|
+
if (radio.checked) {
|
|
123
|
+
this.selectedRadio = radio;
|
|
124
|
+
}
|
|
125
|
+
});
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
subscribeToRadioEvent(radio) {
|
|
129
|
+
return radio.valueChange.subscribe((value) => {
|
|
130
|
+
this.value = value;
|
|
131
|
+
this.valueChange.emit(value);
|
|
132
|
+
if (!radio.keepFormPristine) {
|
|
133
|
+
this.onChange(this.value);
|
|
134
|
+
this.onTouched();
|
|
135
|
+
}
|
|
136
|
+
this.writeValue(this.value);
|
|
137
|
+
});
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
RadioGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: RadioGroupComponent, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
141
|
+
RadioGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: RadioGroupComponent, selector: "nui-radio-group", inputs: { ariaLabel: "ariaLabel", name: "name", value: "value", disabled: "disabled" }, outputs: { valueChange: "valueChange" }, host: { attributes: { "role": "radiogroup" } }, providers: [
|
|
142
|
+
{
|
|
143
|
+
provide: NuiFormFieldControl,
|
|
144
|
+
useExisting: forwardRef(() => RadioGroupComponent),
|
|
145
|
+
multi: true,
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
provide: NG_VALUE_ACCESSOR,
|
|
149
|
+
useExisting: forwardRef(() => RadioGroupComponent),
|
|
150
|
+
multi: true,
|
|
151
|
+
},
|
|
152
152
|
], queries: [{ propertyName: "children", predicate: i0.forwardRef(function () { return RadioComponent; }), descendants: true }], ngImport: i0, template: `<div class="nui-radio-group" [attr.aria-label]="ariaLabel">
|
|
153
153
|
<ng-content></ng-content>
|
|
154
|
-
</div>`, isInline: true });
|
|
155
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: RadioGroupComponent, decorators: [{
|
|
156
|
-
type: Component,
|
|
157
|
-
args: [{
|
|
158
|
-
selector: "nui-radio-group",
|
|
154
|
+
</div>`, isInline: true });
|
|
155
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: RadioGroupComponent, decorators: [{
|
|
156
|
+
type: Component,
|
|
157
|
+
args: [{
|
|
158
|
+
selector: "nui-radio-group",
|
|
159
159
|
template: `<div class="nui-radio-group" [attr.aria-label]="ariaLabel">
|
|
160
160
|
<ng-content></ng-content>
|
|
161
|
-
</div>`,
|
|
162
|
-
providers: [
|
|
163
|
-
{
|
|
164
|
-
provide: NuiFormFieldControl,
|
|
165
|
-
useExisting: forwardRef(() => RadioGroupComponent),
|
|
166
|
-
multi: true,
|
|
167
|
-
},
|
|
168
|
-
{
|
|
169
|
-
provide: NG_VALUE_ACCESSOR,
|
|
170
|
-
useExisting: forwardRef(() => RadioGroupComponent),
|
|
171
|
-
multi: true,
|
|
172
|
-
},
|
|
173
|
-
],
|
|
174
|
-
host: { role: "radiogroup" },
|
|
175
|
-
}]
|
|
176
|
-
}], ctorParameters: function () { return [{ type: i0.Renderer2 }]; }, propDecorators: { ariaLabel: [{
|
|
177
|
-
type: Input
|
|
178
|
-
}], name: [{
|
|
179
|
-
type: Input
|
|
180
|
-
}], value: [{
|
|
181
|
-
type: Input
|
|
182
|
-
}], disabled: [{
|
|
183
|
-
type: Input
|
|
184
|
-
}], valueChange: [{
|
|
185
|
-
type: Output
|
|
186
|
-
}], children: [{
|
|
187
|
-
type: ContentChildren,
|
|
188
|
-
args: [forwardRef(() => RadioComponent), { descendants: true }]
|
|
189
|
-
}] } });
|
|
190
|
-
/**
|
|
191
|
-
* @ignore
|
|
192
|
-
* Should be used only within nui-radio-group.
|
|
193
|
-
*/
|
|
194
|
-
export class RadioComponent {
|
|
195
|
-
constructor(radioGroup, changeDetector, eventBusService) {
|
|
196
|
-
this.changeDetector = changeDetector;
|
|
197
|
-
this.eventBusService = eventBusService;
|
|
198
|
-
/**
|
|
199
|
-
* Emits an event when the value changes
|
|
200
|
-
*/
|
|
201
|
-
this.valueChange = new EventEmitter();
|
|
202
|
-
/**
|
|
203
|
-
* Sets whether the radio button is selected
|
|
204
|
-
*/
|
|
205
|
-
this.checked = false;
|
|
206
|
-
/**
|
|
207
|
-
* Input to set aria label text
|
|
208
|
-
*/
|
|
209
|
-
this.ariaLabel = "";
|
|
210
|
-
this.keepFormPristine = true;
|
|
211
|
-
this._disabled = false;
|
|
212
|
-
this.radioGroup = radioGroup;
|
|
213
|
-
}
|
|
214
|
-
/**
|
|
215
|
-
* Sets whether the radio button is disabled
|
|
216
|
-
*/
|
|
217
|
-
get disabled() {
|
|
218
|
-
return this._disabled;
|
|
219
|
-
}
|
|
220
|
-
set disabled(val) {
|
|
221
|
-
if (this._disabled !== val) {
|
|
222
|
-
this.changeDetector.markForCheck();
|
|
223
|
-
}
|
|
224
|
-
this._disabled = val;
|
|
225
|
-
}
|
|
226
|
-
ngOnInit() {
|
|
227
|
-
if (this.radioGroup !== null) {
|
|
228
|
-
if (this.radioGroup.value === this.value) {
|
|
229
|
-
this.checked = true;
|
|
230
|
-
}
|
|
231
|
-
}
|
|
232
|
-
if (this.checked) {
|
|
233
|
-
// TODO: remove timeout in v10 NUI-4843
|
|
234
|
-
// nui-radio-group should subscribe before event is emitted
|
|
235
|
-
this.timeoutId = setTimeout(() => {
|
|
236
|
-
this.valueChange.emit(this.value);
|
|
237
|
-
}, 0);
|
|
238
|
-
}
|
|
239
|
-
// Checks if user supplied any content as a label for radio button to adjust styles for radio buttons without labels
|
|
240
|
-
this.radioTranscludeIsEmpty = _isNil(this.radioTransclude.nativeElement.firstChild);
|
|
241
|
-
}
|
|
242
|
-
ngOnDestroy() {
|
|
243
|
-
clearTimeout(this.timeoutId);
|
|
244
|
-
}
|
|
245
|
-
hoverHandler() {
|
|
246
|
-
this.hovered = !this.hovered;
|
|
247
|
-
}
|
|
248
|
-
changeHandler() {
|
|
249
|
-
this.keepFormPristine = false;
|
|
250
|
-
this.valueChange.emit(this.value);
|
|
251
|
-
}
|
|
252
|
-
onInputClick(event) {
|
|
253
|
-
// We have to stop propagation for click events on the visual hidden input element.
|
|
254
|
-
// By default, when a user clicks on a label element, a generated click event will be
|
|
255
|
-
// dispatched on the associated input element. Since we are using a label element as our
|
|
256
|
-
// root container, the click event on the `radio-button` will be executed twice.
|
|
257
|
-
// The real click event will bubble up, and the generated click event also tries to bubble up.
|
|
258
|
-
// This will lead to multiple click events.
|
|
259
|
-
// Preventing bubbling for the second event will solve that issue.
|
|
260
|
-
event.stopPropagation();
|
|
261
|
-
this.eventBusService.getStream(DOCUMENT_CLICK_EVENT).next(event);
|
|
262
|
-
}
|
|
263
|
-
}
|
|
264
|
-
RadioComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: RadioComponent, deps: [{ token: RadioGroupComponent, optional: true }, { token: i0.ChangeDetectorRef }, { token: i1.EventBusService }], target: i0.ɵɵFactoryTarget.Component });
|
|
265
|
-
RadioComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: RadioComponent, selector: "nui-radio", inputs: { value: "value", hovered: "hovered", checked: "checked", hint: "hint", disabled: "disabled", ariaLabel: "ariaLabel" }, outputs: { valueChange: "valueChange" }, host: { attributes: { "role": "radio" }, properties: { "class.nui-radio--hovered": "hovered", "class.nui-radio--checked": "checked" } }, viewQueries: [{ propertyName: "inputViewContainer", first: true, predicate: ["inputViewContainer"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "radioTransclude", first: true, predicate: ["radioTransclude"], descendants: true, static: true }], ngImport: i0, template: "<div\n class=\"nui-radio\"\n [class.nui-radio--empty]=\"radioTranscludeIsEmpty && !hint\"\n>\n <label\n class=\"nui-radio__label\"\n [class.nui-radio__label--translucent]=\"disabled\"\n (mouseenter)=\"hoverHandler()\"\n (mouseleave)=\"hoverHandler()\"\n >\n <div class=\"nui-radio__content\">\n <input\n #inputViewContainer\n class=\"nui-radio__input\"\n type=\"radio\"\n [value]=\"value\"\n [checked]=\"checked\"\n [disabled]=\"disabled\"\n [attr.aria-label]=\"ariaLabel\"\n (change)=\"changeHandler()\"\n (click)=\"onInputClick($event)\"\n />\n\n <div\n class=\"nui-radio__mark\"\n [class.nui-radio__mark--disabled]=\"disabled\"\n >\n <div class=\"nui-radio__glyph\"></div>\n </div>\n\n <div #radioTransclude class=\"nui-radio__transclude\">\n <ng-content></ng-content>\n </div>\n </div>\n\n <span class=\"nui-radio__hint nui-help-hint\" *ngIf=\"hint\">\n {{ hint }}\n </span>\n </label>\n</div>\n", styles: [".nui-radio-group-inline>.nui-radio-group{display:inline-flex}.nui-radio-group-inline>.nui-radio-group .nui-radio{margin-left:5px}.nui .nui-radio{border-radius:3px;cursor:pointer;line-height:14px}.nui .nui-radio:hover{background-color:var(--nui-color-bg-transparent-hover,rgba(17, 17, 17, .05))}.nui .nui-radio__label{cursor:pointer;font-weight:400;margin:0;min-height:30px;min-width:30px;padding:7px;position:relative;width:100%}.nui .nui-radio__label--translucent{-webkit-user-select:none;-o-user-select:none;user-select:none;color:var(--nui-color-text-disabled,rgba(17, 17, 17, .3));cursor:default}.nui .nui-radio__content{align-items:center;display:flex;flex-wrap:nowrap;justify-content:flex-start;min-height:16px}.nui .nui-radio__mark{background:var(--nui-color-bg-content,#fff);background-size:16px;border:solid 2px;border-color:var(--nui-color-active,#0079aa);border-radius:100%;height:16px;margin:0 7px 0 0;padding:3px;width:16px;flex-shrink:0;flex-grow:0}.nui .nui-radio__mark.nui-radio__mark--disabled{background-color:var(--nui-color-bg-content,#fff);border-color:var(--nui-color-disabled,#b3b3b3);cursor:not-allowed}.nui .nui-radio__glyph{background:var(--nui-color-bg-content,#fff);border-radius:100%;display:none;height:100%;width:100%}.nui .nui-radio__input{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;outline:0;overflow:hidden;padding:0;position:absolute;width:1px}.nui .nui-radio__input[disabled],.nui .nui-radio__input.disabled{cursor:not-allowed}.nui .nui-radio__input:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.nui .nui-radio__input:disabled+.nui-radio__mark{background-color:var(--nui-color-bg-content,#fff);border-color:var(--nui-color-disabled,#b3b3b3)}.nui .nui-radio.nui-radio--empty{display:inline-block}.nui .nui-radio.nui-radio--empty .nui-radio__label{justify-content:center;margin:auto;width:auto}.nui .nui-radio.nui-radio--empty .nui-radio__mark{margin:auto}.nui .nui-radio .nui-help-hint{line-height:14px;margin-left:23px;padding:0}.nui .nui-radio--checked .nui-radio__mark{background-color:var(--nui-color-active,#0079aa);border-color:var(--nui-color-active,#0079aa)}.nui .nui-radio--checked .nui-radio__mark>.nui-radio__glyph{display:block}.nui .nui-radio--checked .nui-radio__mark--disabled{background-color:var(--nui-color-off,#4d4d4d);border-color:var(--nui-color-off,#4d4d4d)}.nui .nui-radio--checked .nui-radio__input+.nui-radio__mark{background-color:var(--nui-color-active,#0079aa);border-color:var(--nui-color-active,#0079aa)}.nui .nui-radio--checked .nui-radio__input+.nui-radio__mark>.nui-radio__glyph{display:block}.nui .nui-radio--checked .nui-radio__input:disabled+.nui-radio__mark{background-color:var(--nui-color-disabled,#b3b3b3);border-color:var(--nui-color-disabled,#b3b3b3)}.nui-repeat-item__radio .nui-radio:hover{background:none}.nui-repeat-item__radio .nui-radio .nui-radio__hint{display:none}\n"], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
266
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: RadioComponent, decorators: [{
|
|
267
|
-
type: Component,
|
|
268
|
-
args: [{ selector: "nui-radio", encapsulation: ViewEncapsulation.None, host: {
|
|
269
|
-
"[class.nui-radio--hovered]": "hovered",
|
|
270
|
-
"[class.nui-radio--checked]": "checked",
|
|
271
|
-
role: "radio",
|
|
272
|
-
}, template: "<div\n class=\"nui-radio\"\n [class.nui-radio--empty]=\"radioTranscludeIsEmpty && !hint\"\n>\n <label\n class=\"nui-radio__label\"\n [class.nui-radio__label--translucent]=\"disabled\"\n (mouseenter)=\"hoverHandler()\"\n (mouseleave)=\"hoverHandler()\"\n >\n <div class=\"nui-radio__content\">\n <input\n #inputViewContainer\n class=\"nui-radio__input\"\n type=\"radio\"\n [value]=\"value\"\n [checked]=\"checked\"\n [disabled]=\"disabled\"\n [attr.aria-label]=\"ariaLabel\"\n (change)=\"changeHandler()\"\n (click)=\"onInputClick($event)\"\n />\n\n <div\n class=\"nui-radio__mark\"\n [class.nui-radio__mark--disabled]=\"disabled\"\n >\n <div class=\"nui-radio__glyph\"></div>\n </div>\n\n <div #radioTransclude class=\"nui-radio__transclude\">\n <ng-content></ng-content>\n </div>\n </div>\n\n <span class=\"nui-radio__hint nui-help-hint\" *ngIf=\"hint\">\n {{ hint }}\n </span>\n </label>\n</div>\n", styles: [".nui-radio-group-inline>.nui-radio-group{display:inline-flex}.nui-radio-group-inline>.nui-radio-group .nui-radio{margin-left:5px}.nui .nui-radio{border-radius:3px;cursor:pointer;line-height:14px}.nui .nui-radio:hover{background-color:var(--nui-color-bg-transparent-hover,rgba(17, 17, 17, .05))}.nui .nui-radio__label{cursor:pointer;font-weight:400;margin:0;min-height:30px;min-width:30px;padding:7px;position:relative;width:100%}.nui .nui-radio__label--translucent{-webkit-user-select:none;-o-user-select:none;user-select:none;color:var(--nui-color-text-disabled,rgba(17, 17, 17, .3));cursor:default}.nui .nui-radio__content{align-items:center;display:flex;flex-wrap:nowrap;justify-content:flex-start;min-height:16px}.nui .nui-radio__mark{background:var(--nui-color-bg-content,#fff);background-size:16px;border:solid 2px;border-color:var(--nui-color-active,#0079aa);border-radius:100%;height:16px;margin:0 7px 0 0;padding:3px;width:16px;flex-shrink:0;flex-grow:0}.nui .nui-radio__mark.nui-radio__mark--disabled{background-color:var(--nui-color-bg-content,#fff);border-color:var(--nui-color-disabled,#b3b3b3);cursor:not-allowed}.nui .nui-radio__glyph{background:var(--nui-color-bg-content,#fff);border-radius:100%;display:none;height:100%;width:100%}.nui .nui-radio__input{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;outline:0;overflow:hidden;padding:0;position:absolute;width:1px}.nui .nui-radio__input[disabled],.nui .nui-radio__input.disabled{cursor:not-allowed}.nui .nui-radio__input:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.nui .nui-radio__input:disabled+.nui-radio__mark{background-color:var(--nui-color-bg-content,#fff);border-color:var(--nui-color-disabled,#b3b3b3)}.nui .nui-radio.nui-radio--empty{display:inline-block}.nui .nui-radio.nui-radio--empty .nui-radio__label{justify-content:center;margin:auto;width:auto}.nui .nui-radio.nui-radio--empty .nui-radio__mark{margin:auto}.nui .nui-radio .nui-help-hint{line-height:14px;margin-left:23px;padding:0}.nui .nui-radio--checked .nui-radio__mark{background-color:var(--nui-color-active,#0079aa);border-color:var(--nui-color-active,#0079aa)}.nui .nui-radio--checked .nui-radio__mark>.nui-radio__glyph{display:block}.nui .nui-radio--checked .nui-radio__mark--disabled{background-color:var(--nui-color-off,#4d4d4d);border-color:var(--nui-color-off,#4d4d4d)}.nui .nui-radio--checked .nui-radio__input+.nui-radio__mark{background-color:var(--nui-color-active,#0079aa);border-color:var(--nui-color-active,#0079aa)}.nui .nui-radio--checked .nui-radio__input+.nui-radio__mark>.nui-radio__glyph{display:block}.nui .nui-radio--checked .nui-radio__input:disabled+.nui-radio__mark{background-color:var(--nui-color-disabled,#b3b3b3);border-color:var(--nui-color-disabled,#b3b3b3)}.nui-repeat-item__radio .nui-radio:hover{background:none}.nui-repeat-item__radio .nui-radio .nui-radio__hint{display:none}\n"] }]
|
|
273
|
-
}], ctorParameters: function () { return [{ type: RadioGroupComponent, decorators: [{
|
|
274
|
-
type: Optional
|
|
275
|
-
}] }, { type: i0.ChangeDetectorRef }, { type: i1.EventBusService }]; }, propDecorators: { value: [{
|
|
276
|
-
type: Input
|
|
277
|
-
}], valueChange: [{
|
|
278
|
-
type: Output
|
|
279
|
-
}], hovered: [{
|
|
280
|
-
type: Input
|
|
281
|
-
}], checked: [{
|
|
282
|
-
type: Input
|
|
283
|
-
}], hint: [{
|
|
284
|
-
type: Input
|
|
285
|
-
}], disabled: [{
|
|
286
|
-
type: Input
|
|
287
|
-
}], ariaLabel: [{
|
|
288
|
-
type: Input
|
|
289
|
-
}], inputViewContainer: [{
|
|
290
|
-
type: ViewChild,
|
|
291
|
-
args: ["inputViewContainer", { static: true, read: ViewContainerRef }]
|
|
292
|
-
}], radioTransclude: [{
|
|
293
|
-
type: ViewChild,
|
|
294
|
-
args: ["radioTransclude", { static: true }]
|
|
295
|
-
}] } });
|
|
161
|
+
</div>`,
|
|
162
|
+
providers: [
|
|
163
|
+
{
|
|
164
|
+
provide: NuiFormFieldControl,
|
|
165
|
+
useExisting: forwardRef(() => RadioGroupComponent),
|
|
166
|
+
multi: true,
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
provide: NG_VALUE_ACCESSOR,
|
|
170
|
+
useExisting: forwardRef(() => RadioGroupComponent),
|
|
171
|
+
multi: true,
|
|
172
|
+
},
|
|
173
|
+
],
|
|
174
|
+
host: { role: "radiogroup" },
|
|
175
|
+
}]
|
|
176
|
+
}], ctorParameters: function () { return [{ type: i0.Renderer2 }]; }, propDecorators: { ariaLabel: [{
|
|
177
|
+
type: Input
|
|
178
|
+
}], name: [{
|
|
179
|
+
type: Input
|
|
180
|
+
}], value: [{
|
|
181
|
+
type: Input
|
|
182
|
+
}], disabled: [{
|
|
183
|
+
type: Input
|
|
184
|
+
}], valueChange: [{
|
|
185
|
+
type: Output
|
|
186
|
+
}], children: [{
|
|
187
|
+
type: ContentChildren,
|
|
188
|
+
args: [forwardRef(() => RadioComponent), { descendants: true }]
|
|
189
|
+
}] } });
|
|
190
|
+
/**
|
|
191
|
+
* @ignore
|
|
192
|
+
* Should be used only within nui-radio-group.
|
|
193
|
+
*/
|
|
194
|
+
export class RadioComponent {
|
|
195
|
+
constructor(radioGroup, changeDetector, eventBusService) {
|
|
196
|
+
this.changeDetector = changeDetector;
|
|
197
|
+
this.eventBusService = eventBusService;
|
|
198
|
+
/**
|
|
199
|
+
* Emits an event when the value changes
|
|
200
|
+
*/
|
|
201
|
+
this.valueChange = new EventEmitter();
|
|
202
|
+
/**
|
|
203
|
+
* Sets whether the radio button is selected
|
|
204
|
+
*/
|
|
205
|
+
this.checked = false;
|
|
206
|
+
/**
|
|
207
|
+
* Input to set aria label text
|
|
208
|
+
*/
|
|
209
|
+
this.ariaLabel = "";
|
|
210
|
+
this.keepFormPristine = true;
|
|
211
|
+
this._disabled = false;
|
|
212
|
+
this.radioGroup = radioGroup;
|
|
213
|
+
}
|
|
214
|
+
/**
|
|
215
|
+
* Sets whether the radio button is disabled
|
|
216
|
+
*/
|
|
217
|
+
get disabled() {
|
|
218
|
+
return this._disabled;
|
|
219
|
+
}
|
|
220
|
+
set disabled(val) {
|
|
221
|
+
if (this._disabled !== val) {
|
|
222
|
+
this.changeDetector.markForCheck();
|
|
223
|
+
}
|
|
224
|
+
this._disabled = val;
|
|
225
|
+
}
|
|
226
|
+
ngOnInit() {
|
|
227
|
+
if (this.radioGroup !== null) {
|
|
228
|
+
if (this.radioGroup.value === this.value) {
|
|
229
|
+
this.checked = true;
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
if (this.checked) {
|
|
233
|
+
// TODO: remove timeout in v10 NUI-4843
|
|
234
|
+
// nui-radio-group should subscribe before event is emitted
|
|
235
|
+
this.timeoutId = setTimeout(() => {
|
|
236
|
+
this.valueChange.emit(this.value);
|
|
237
|
+
}, 0);
|
|
238
|
+
}
|
|
239
|
+
// Checks if user supplied any content as a label for radio button to adjust styles for radio buttons without labels
|
|
240
|
+
this.radioTranscludeIsEmpty = _isNil(this.radioTransclude.nativeElement.firstChild);
|
|
241
|
+
}
|
|
242
|
+
ngOnDestroy() {
|
|
243
|
+
clearTimeout(this.timeoutId);
|
|
244
|
+
}
|
|
245
|
+
hoverHandler() {
|
|
246
|
+
this.hovered = !this.hovered;
|
|
247
|
+
}
|
|
248
|
+
changeHandler() {
|
|
249
|
+
this.keepFormPristine = false;
|
|
250
|
+
this.valueChange.emit(this.value);
|
|
251
|
+
}
|
|
252
|
+
onInputClick(event) {
|
|
253
|
+
// We have to stop propagation for click events on the visual hidden input element.
|
|
254
|
+
// By default, when a user clicks on a label element, a generated click event will be
|
|
255
|
+
// dispatched on the associated input element. Since we are using a label element as our
|
|
256
|
+
// root container, the click event on the `radio-button` will be executed twice.
|
|
257
|
+
// The real click event will bubble up, and the generated click event also tries to bubble up.
|
|
258
|
+
// This will lead to multiple click events.
|
|
259
|
+
// Preventing bubbling for the second event will solve that issue.
|
|
260
|
+
event.stopPropagation();
|
|
261
|
+
this.eventBusService.getStream(DOCUMENT_CLICK_EVENT).next(event);
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
RadioComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: RadioComponent, deps: [{ token: RadioGroupComponent, optional: true }, { token: i0.ChangeDetectorRef }, { token: i1.EventBusService }], target: i0.ɵɵFactoryTarget.Component });
|
|
265
|
+
RadioComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: RadioComponent, selector: "nui-radio", inputs: { value: "value", hovered: "hovered", checked: "checked", hint: "hint", disabled: "disabled", ariaLabel: "ariaLabel" }, outputs: { valueChange: "valueChange" }, host: { attributes: { "role": "radio" }, properties: { "class.nui-radio--hovered": "hovered", "class.nui-radio--checked": "checked" } }, viewQueries: [{ propertyName: "inputViewContainer", first: true, predicate: ["inputViewContainer"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "radioTransclude", first: true, predicate: ["radioTransclude"], descendants: true, static: true }], ngImport: i0, template: "<div\n class=\"nui-radio\"\n [class.nui-radio--empty]=\"radioTranscludeIsEmpty && !hint\"\n>\n <label\n class=\"nui-radio__label\"\n [class.nui-radio__label--translucent]=\"disabled\"\n (mouseenter)=\"hoverHandler()\"\n (mouseleave)=\"hoverHandler()\"\n >\n <div class=\"nui-radio__content\">\n <input\n #inputViewContainer\n class=\"nui-radio__input\"\n type=\"radio\"\n [value]=\"value\"\n [checked]=\"checked\"\n [disabled]=\"disabled\"\n [attr.aria-label]=\"ariaLabel\"\n (change)=\"changeHandler()\"\n (click)=\"onInputClick($event)\"\n />\n\n <div\n class=\"nui-radio__mark\"\n [class.nui-radio__mark--disabled]=\"disabled\"\n >\n <div class=\"nui-radio__glyph\"></div>\n </div>\n\n <div #radioTransclude class=\"nui-radio__transclude\">\n <ng-content></ng-content>\n </div>\n </div>\n\n <span class=\"nui-radio__hint nui-help-hint\" *ngIf=\"hint\">\n {{ hint }}\n </span>\n </label>\n</div>\n", styles: [".nui-radio-group-inline>.nui-radio-group{display:inline-flex}.nui-radio-group-inline>.nui-radio-group .nui-radio{margin-left:5px}.nui .nui-radio{border-radius:3px;cursor:pointer;line-height:14px}.nui .nui-radio:hover{background-color:var(--nui-color-bg-transparent-hover,rgba(17, 17, 17, .05))}.nui .nui-radio__label{cursor:pointer;font-weight:400;margin:0;min-height:30px;min-width:30px;padding:7px;position:relative;width:100%}.nui .nui-radio__label--translucent{-webkit-user-select:none;-o-user-select:none;user-select:none;color:var(--nui-color-text-disabled,rgba(17, 17, 17, .3));cursor:default}.nui .nui-radio__content{align-items:center;display:flex;flex-wrap:nowrap;justify-content:flex-start;min-height:16px}.nui .nui-radio__mark{background:var(--nui-color-bg-content,#fff);background-size:16px;border:solid 2px;border-color:var(--nui-color-active,#0079aa);border-radius:100%;height:16px;margin:0 7px 0 0;padding:3px;width:16px;flex-shrink:0;flex-grow:0}.nui .nui-radio__mark.nui-radio__mark--disabled{background-color:var(--nui-color-bg-content,#fff);border-color:var(--nui-color-disabled,#b3b3b3);cursor:not-allowed}.nui .nui-radio__glyph{background:var(--nui-color-bg-content,#fff);border-radius:100%;display:none;height:100%;width:100%}.nui .nui-radio__input{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;outline:0;overflow:hidden;padding:0;position:absolute;width:1px}.nui .nui-radio__input[disabled],.nui .nui-radio__input.disabled{cursor:not-allowed}.nui .nui-radio__input:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.nui .nui-radio__input:disabled+.nui-radio__mark{background-color:var(--nui-color-bg-content,#fff);border-color:var(--nui-color-disabled,#b3b3b3)}.nui .nui-radio.nui-radio--empty{display:inline-block}.nui .nui-radio.nui-radio--empty .nui-radio__label{justify-content:center;margin:auto;width:auto}.nui .nui-radio.nui-radio--empty .nui-radio__mark{margin:auto}.nui .nui-radio .nui-help-hint{line-height:14px;margin-left:23px;padding:0}.nui .nui-radio--checked .nui-radio__mark{background-color:var(--nui-color-active,#0079aa);border-color:var(--nui-color-active,#0079aa)}.nui .nui-radio--checked .nui-radio__mark>.nui-radio__glyph{display:block}.nui .nui-radio--checked .nui-radio__mark--disabled{background-color:var(--nui-color-off,#4d4d4d);border-color:var(--nui-color-off,#4d4d4d)}.nui .nui-radio--checked .nui-radio__input+.nui-radio__mark{background-color:var(--nui-color-active,#0079aa);border-color:var(--nui-color-active,#0079aa)}.nui .nui-radio--checked .nui-radio__input+.nui-radio__mark>.nui-radio__glyph{display:block}.nui .nui-radio--checked .nui-radio__input:disabled+.nui-radio__mark{background-color:var(--nui-color-disabled,#b3b3b3);border-color:var(--nui-color-disabled,#b3b3b3)}.nui-repeat-item__radio .nui-radio:hover{background:none}.nui-repeat-item__radio .nui-radio .nui-radio__hint{display:none}\n"], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
266
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: RadioComponent, decorators: [{
|
|
267
|
+
type: Component,
|
|
268
|
+
args: [{ selector: "nui-radio", encapsulation: ViewEncapsulation.None, host: {
|
|
269
|
+
"[class.nui-radio--hovered]": "hovered",
|
|
270
|
+
"[class.nui-radio--checked]": "checked",
|
|
271
|
+
role: "radio",
|
|
272
|
+
}, template: "<div\n class=\"nui-radio\"\n [class.nui-radio--empty]=\"radioTranscludeIsEmpty && !hint\"\n>\n <label\n class=\"nui-radio__label\"\n [class.nui-radio__label--translucent]=\"disabled\"\n (mouseenter)=\"hoverHandler()\"\n (mouseleave)=\"hoverHandler()\"\n >\n <div class=\"nui-radio__content\">\n <input\n #inputViewContainer\n class=\"nui-radio__input\"\n type=\"radio\"\n [value]=\"value\"\n [checked]=\"checked\"\n [disabled]=\"disabled\"\n [attr.aria-label]=\"ariaLabel\"\n (change)=\"changeHandler()\"\n (click)=\"onInputClick($event)\"\n />\n\n <div\n class=\"nui-radio__mark\"\n [class.nui-radio__mark--disabled]=\"disabled\"\n >\n <div class=\"nui-radio__glyph\"></div>\n </div>\n\n <div #radioTransclude class=\"nui-radio__transclude\">\n <ng-content></ng-content>\n </div>\n </div>\n\n <span class=\"nui-radio__hint nui-help-hint\" *ngIf=\"hint\">\n {{ hint }}\n </span>\n </label>\n</div>\n", styles: [".nui-radio-group-inline>.nui-radio-group{display:inline-flex}.nui-radio-group-inline>.nui-radio-group .nui-radio{margin-left:5px}.nui .nui-radio{border-radius:3px;cursor:pointer;line-height:14px}.nui .nui-radio:hover{background-color:var(--nui-color-bg-transparent-hover,rgba(17, 17, 17, .05))}.nui .nui-radio__label{cursor:pointer;font-weight:400;margin:0;min-height:30px;min-width:30px;padding:7px;position:relative;width:100%}.nui .nui-radio__label--translucent{-webkit-user-select:none;-o-user-select:none;user-select:none;color:var(--nui-color-text-disabled,rgba(17, 17, 17, .3));cursor:default}.nui .nui-radio__content{align-items:center;display:flex;flex-wrap:nowrap;justify-content:flex-start;min-height:16px}.nui .nui-radio__mark{background:var(--nui-color-bg-content,#fff);background-size:16px;border:solid 2px;border-color:var(--nui-color-active,#0079aa);border-radius:100%;height:16px;margin:0 7px 0 0;padding:3px;width:16px;flex-shrink:0;flex-grow:0}.nui .nui-radio__mark.nui-radio__mark--disabled{background-color:var(--nui-color-bg-content,#fff);border-color:var(--nui-color-disabled,#b3b3b3);cursor:not-allowed}.nui .nui-radio__glyph{background:var(--nui-color-bg-content,#fff);border-radius:100%;display:none;height:100%;width:100%}.nui .nui-radio__input{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;outline:0;overflow:hidden;padding:0;position:absolute;width:1px}.nui .nui-radio__input[disabled],.nui .nui-radio__input.disabled{cursor:not-allowed}.nui .nui-radio__input:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.nui .nui-radio__input:disabled+.nui-radio__mark{background-color:var(--nui-color-bg-content,#fff);border-color:var(--nui-color-disabled,#b3b3b3)}.nui .nui-radio.nui-radio--empty{display:inline-block}.nui .nui-radio.nui-radio--empty .nui-radio__label{justify-content:center;margin:auto;width:auto}.nui .nui-radio.nui-radio--empty .nui-radio__mark{margin:auto}.nui .nui-radio .nui-help-hint{line-height:14px;margin-left:23px;padding:0}.nui .nui-radio--checked .nui-radio__mark{background-color:var(--nui-color-active,#0079aa);border-color:var(--nui-color-active,#0079aa)}.nui .nui-radio--checked .nui-radio__mark>.nui-radio__glyph{display:block}.nui .nui-radio--checked .nui-radio__mark--disabled{background-color:var(--nui-color-off,#4d4d4d);border-color:var(--nui-color-off,#4d4d4d)}.nui .nui-radio--checked .nui-radio__input+.nui-radio__mark{background-color:var(--nui-color-active,#0079aa);border-color:var(--nui-color-active,#0079aa)}.nui .nui-radio--checked .nui-radio__input+.nui-radio__mark>.nui-radio__glyph{display:block}.nui .nui-radio--checked .nui-radio__input:disabled+.nui-radio__mark{background-color:var(--nui-color-disabled,#b3b3b3);border-color:var(--nui-color-disabled,#b3b3b3)}.nui-repeat-item__radio .nui-radio:hover{background:none}.nui-repeat-item__radio .nui-radio .nui-radio__hint{display:none}\n"] }]
|
|
273
|
+
}], ctorParameters: function () { return [{ type: RadioGroupComponent, decorators: [{
|
|
274
|
+
type: Optional
|
|
275
|
+
}] }, { type: i0.ChangeDetectorRef }, { type: i1.EventBusService }]; }, propDecorators: { value: [{
|
|
276
|
+
type: Input
|
|
277
|
+
}], valueChange: [{
|
|
278
|
+
type: Output
|
|
279
|
+
}], hovered: [{
|
|
280
|
+
type: Input
|
|
281
|
+
}], checked: [{
|
|
282
|
+
type: Input
|
|
283
|
+
}], hint: [{
|
|
284
|
+
type: Input
|
|
285
|
+
}], disabled: [{
|
|
286
|
+
type: Input
|
|
287
|
+
}], ariaLabel: [{
|
|
288
|
+
type: Input
|
|
289
|
+
}], inputViewContainer: [{
|
|
290
|
+
type: ViewChild,
|
|
291
|
+
args: ["inputViewContainer", { static: true, read: ViewContainerRef }]
|
|
292
|
+
}], radioTransclude: [{
|
|
293
|
+
type: ViewChild,
|
|
294
|
+
args: ["radioTransclude", { static: true }]
|
|
295
|
+
}] } });
|
|
296
296
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmFkaW8tZ3JvdXAuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2xpYi9yYWRpby9yYWRpby1ncm91cC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AgICAgICAgICAvLyB0aW1lb3V0IHRvIHByZXZlbnQgXCJleHByZXNzaW9uIGNoYW5nZWQgYWZ0ZXIgaXQgaGFzIGJlZW4gY2hlY2tlZFwiIGVycm9yXG4gICAgICAgICAgICBzZXRUaW1lb3V0KCgpID0+IHtcbiAgICAgICAgICAgICAgICB0aGlzLnNldENoaWxkRGlzYWJsZWQoY2hpbGQpO1xuICAgICAgICAgICAgfSk7XG4gICAgICAgIH0pO1xuICAgICAgICB0aGlzLmNoaWxkcmVuLmNoYW5nZXMuc3Vic2NyaWJlKFxuICAgICAgICAgICAgKHJhZGlvQ29tcG9uZW50UXVlcnlMaXN0OiBRdWVyeUxpc3Q8UmFkaW9Db21wb25lbnQ+KSA9PiB7XG4gICAgICAgICAgICAgICAgdGhpcy5zdWJzY3JpcHRpb25zLmZvckVhY2goKHN1YikgPT4gc3ViLnVuc3Vic2NyaWJlKCkpO1xuICAgICAgICAgICAgICAgIHJhZGlvQ29tcG9uZW50UXVlcnlMaXN0XG4gICAgICAgICAgICAgICAgICAgIC50b0FycmF5KClcbiAgICAgICAgICAgICAgICAgICAgLmZvckVhY2goKHJhZGlvOiBSYWRpb0NvbXBvbmVudCkgPT4ge1xuICAgICAgICAgICAgICAgICAgICAgICAgdGhpcy5yZW5kZXJlci5zZXRBdHRyaWJ1dGUoXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgcmFkaW8uaW5wdXRWaWV3Q29udGFpbmVyLmVsZW1lbnQubmF0aXZlRWxlbWVudCxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBcIm5hbWVcIixcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB0aGlzLm5hbWVcbiAgICAgICAgICAgICAgICAgICAgICAgICk7XG4gICAgICAgICAgICAgICAgICAgICAgICB0aGlzLnN1YnNjcmlwdGlvbnMucHVzaChcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB0aGlzLnN1YnNjcmliZVRvUmFkaW9FdmVudChyYWRpbylcbiAgICAgICAgICAgICAgICAgICAgICAgICk7XG4gICAgICAgICAgICAgICAgICAgICAgICAvLyB0aW1lb3V0IHRvIHByZXZlbnQgXCJleHByZXNzaW9uIGNoYW5nZWQgYWZ0ZXIgaXQgaGFzIGJlZW4gY2hlY2tlZFwiIGVycm9yXG4gICAgICAgICAgICAgICAgICAgICAgICBzZXRUaW1lb3V0KCgpID0+IHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB0aGlzLnNldENoaWxkRGlzYWJsZWQocmFkaW8pO1xuICAgICAgICAgICAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgfVxuICAgICAgICApO1xuICAgIH1cblxuICAgIHB1YmxpYyBvbkNoYW5nZSh2YWx1ZTogYW55KTogdm9pZCB7fVxuXG4gICAgcHVibGljIG9uVG91Y2hlZCgpOiB2b2lkIHt9XG5cbiAgICBwdWJsaWMgd3JpdGVWYWx1ZSh2YWx1ZTogYW55KTogdm9pZCB7XG4gICAgICAgIHRoaXMudmFsdWUgPSB2YWx1ZTtcbiAgICB9XG5cbiAgICBwdWJsaWMgcmVnaXN0ZXJPbkNoYW5nZShmbjogKHZhbHVlOiBhbnkpID0+IHt9KTogdm9pZCB7XG4gICAgICAgIHRoaXMub25DaGFuZ2UgPSBmbjtcbiAgICB9XG5cbiAgICBwdWJsaWMgcmVnaXN0ZXJPblRvdWNoZWQoZm46ICgpID0+IHt9KTogdm9pZCB7XG4gICAgICAgIHRoaXMub25Ub3VjaGVkID0gZm47XG4gICAgfVxuXG4gICAgcHVibGljIHNldERpc2FibGVkU3RhdGUoaXNEaXNhYmxlZDogYm9vbGVhbik6IHZvaWQge1xuICAgICAgICB0aGlzLmRpc2FibGVkID0gaXNEaXNhYmxlZDtcbiAgICAgICAgaWYgKHRoaXMuY2hpbGRyZW4pIHtcbiAgICAgICAgICAgIHRoaXMuY2hpbGRyZW4udG9BcnJheSgpLmZvckVhY2godGhpcy5zZXRDaGlsZERpc2FibG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lucHV0XCJcbiAgICAgICAgICAgICAgICB0eXBlPVwicmFkaW9cIlxuICAgICAgICAgICAgICAgIFt2YWx1ZV09XCJ2YWx1ZVwiXG4gICAgICAgICAgICAgICAgW2NoZWNrZWRdPVwiY2hlY2tlZFwiXG4gICAgICAgICAgICAgICAgW2Rpc2FibGVkXT1cImRpc2FibGVkXCJcbiAgICAgICAgICAgICAgICBbYXR0ci5hcmlhLWxhYmVsXT1cImFyaWFMYWJlbFwiXG4gICAgICAgICAgICAgICAgKGNoYW5nZSk9XCJjaGFuZ2VIYW5kbGVyKClcIlxuICAgICAgICAgICAgICAgIChjbGljayk9XCJvbklucHV0Q2xpY2soJGV2ZW50KVwiXG4gICAgICAgICAgICAvPlxuXG4gICAgICAgICAgICA8ZGl2XG4gICAgICAgICAgICAgICAgY2xhc3M9XCJudWktcmFkaW9fX21hcmtcIlxuICAgICAgICAgICAgICAgIFtjbGFzcy5udWktcmFkaW9fX21hcmstLWRpc2FibGVkXT1cImRpc2FibGVkXCJcbiAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwibnVpLXJhZGlvX19nbHlwaFwiPjwvZGl2PlxuICAgICAgICAgICAgPC9kaXY+XG5cbiAgICAgICAgICAgIDxkaXYgI3JhZGlvVHJhbnNjbHVkZSBjbGFzcz1cIm51aS1yYWRpb19fdHJhbnNjbHVkZVwiPlxuICAgICAgICAgICAgICAgIDxuZy1jb250ZW50PjwvbmctY29udGVudD5cbiAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICA8L2Rpdj5cblxuICAgICAgICA8c3BhbiBjbGFzcz1cIm51aS1yYWRpb19faGludCBudWktaGVscC1oaW50XCIgKm5nSWY9XCJoaW50XCI+XG4gICAgICAgICAgICB7eyBoaW50IH19XG4gICAgICAgIDwvc3Bhbj5cbiAgICA8L2xhYmVsPlxuPC9kaXY+XG4iXX0=
|