@nova-ui/bits 13.0.5 → 13.0.6-2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/animations/expand.d.ts +6 -6
- package/animations/fadeIn.d.ts +7 -7
- package/common/common.module.d.ts +22 -22
- package/common/directives/click-interceptor/click-interceptor.directive.d.ts +19 -19
- package/common/directives/clipboard/clipboard.directive.d.ts +38 -38
- package/common/directives/dragdrop/drag-and-drop.service.d.ts +17 -17
- package/common/directives/dragdrop/dragdrop.constants.d.ts +8 -8
- package/common/directives/dragdrop/draggable.directive.d.ts +70 -70
- package/common/directives/dragdrop/droppable.directive.d.ts +80 -80
- package/common/directives/dragdrop/public-api.d.ts +24 -24
- package/common/directives/index.d.ts +9 -9
- package/common/directives/public-api.d.ts +2 -2
- package/common/directives/resize/resize.directive.d.ts +64 -64
- package/common/directives/resize-observer/resize-observer.directive.d.ts +19 -19
- package/common/directives/resizer/public-api.d.ts +25 -25
- package/common/directives/resizer/resizer.directive.d.ts +90 -90
- package/common/directives/set-focus/set-focus.directive.d.ts +39 -39
- package/common/directives/zoom-content/zoom-content.directive.d.ts +48 -48
- package/constants/button.constants.d.ts +10 -10
- package/constants/dragdrop.constants.d.ts +8 -8
- package/constants/event.constants.d.ts +6 -6
- package/constants/images.constants.d.ts +3 -3
- package/constants/images.d.ts +7 -7
- package/constants/interaction.constants.d.ts +4 -4
- package/constants/keycode.constants.d.ts +40 -40
- package/constants/path.constants.d.ts +2 -2
- package/constants/popover.constants.d.ts +5 -5
- package/constants/public-api.d.ts +12 -12
- package/constants/regex.constants.d.ts +4 -4
- package/constants/resize.constants.d.ts +1 -1
- package/constants/unit-conversion.constants.d.ts +20 -20
- package/constants/wizard.constants.d.ts +5 -5
- package/environment.d.ts +27 -27
- package/esm2020/animations/expand.mjs +51 -51
- package/esm2020/animations/fadeIn.mjs +29 -29
- package/esm2020/common/common.module.mjs +166 -166
- package/esm2020/common/directives/click-interceptor/click-interceptor.directive.mjs +54 -54
- package/esm2020/common/directives/clipboard/clipboard.directive.mjs +121 -121
- package/esm2020/common/directives/dragdrop/drag-and-drop.service.mjs +76 -76
- package/esm2020/common/directives/dragdrop/dragdrop.constants.mjs +27 -27
- package/esm2020/common/directives/dragdrop/draggable.directive.mjs +259 -259
- package/esm2020/common/directives/dragdrop/droppable.directive.mjs +212 -212
- package/esm2020/common/directives/dragdrop/public-api.mjs +20 -20
- package/esm2020/common/directives/index.mjs +28 -28
- package/esm2020/common/directives/public-api.mjs +21 -21
- package/esm2020/common/directives/resize/resize.directive.mjs +187 -187
- package/esm2020/common/directives/resize-observer/resize-observer.directive.mjs +65 -65
- package/esm2020/common/directives/resizer/public-api.mjs +68 -68
- package/esm2020/common/directives/resizer/resizer.directive.mjs +322 -322
- package/esm2020/common/directives/set-focus/set-focus.directive.mjs +113 -113
- package/esm2020/common/directives/zoom-content/zoom-content.directive.mjs +159 -159
- package/esm2020/constants/button.constants.mjs +25 -25
- package/esm2020/constants/dragdrop.constants.mjs +27 -27
- package/esm2020/constants/event.constants.mjs +34 -34
- package/esm2020/constants/images.constants.mjs +25 -25
- package/esm2020/constants/images.mjs +35 -35
- package/esm2020/constants/interaction.constants.mjs +27 -27
- package/esm2020/constants/keycode.constants.mjs +61 -61
- package/esm2020/constants/path.constants.mjs +23 -23
- package/esm2020/constants/popover.constants.mjs +24 -24
- package/esm2020/constants/public-api.mjs +31 -31
- package/esm2020/constants/regex.constants.mjs +23 -23
- package/esm2020/constants/resize.constants.mjs +20 -20
- package/esm2020/constants/unit-conversion.constants.mjs +57 -57
- package/esm2020/constants/wizard.constants.mjs +42 -42
- package/esm2020/environment.mjs +55 -55
- package/esm2020/functions/immutable-set.mjs +33 -33
- package/esm2020/functions/nameof.mjs +28 -28
- package/esm2020/functions/public-api.mjs +24 -24
- package/esm2020/functions/remove-errors.mjs +38 -38
- package/esm2020/functions/traverse.mjs +31 -31
- package/esm2020/functions/uuid.mjs +30 -30
- package/esm2020/lib/breadcrumb/breadcrumb-state.service.mjs +54 -54
- package/esm2020/lib/breadcrumb/breadcrumb.component.mjs +56 -56
- package/esm2020/lib/breadcrumb/breadcrumb.module.mjs +42 -42
- package/esm2020/lib/breadcrumb/public-api.mjs +20 -20
- package/esm2020/lib/busy/busy.component.mjs +93 -93
- package/esm2020/lib/busy/busy.module.mjs +41 -41
- package/esm2020/lib/busy/public-api.mjs +20 -20
- package/esm2020/lib/button/button.component.mjs +236 -236
- package/esm2020/lib/button/button.module.mjs +41 -41
- package/esm2020/lib/button/public-api.mjs +25 -25
- package/esm2020/lib/checkbox/checkbox-group.component.mjs +157 -157
- package/esm2020/lib/checkbox/checkbox.component.mjs +236 -236
- package/esm2020/lib/checkbox/checkbox.module.mjs +41 -41
- package/esm2020/lib/checkbox/public-api.mjs +22 -22
- package/esm2020/lib/chips/chip/chip.component.mjs +64 -64
- package/esm2020/lib/chips/chips-overflow/chips-overflow.component.mjs +45 -45
- package/esm2020/lib/chips/chips-overflow.service.mjs +135 -135
- package/esm2020/lib/chips/chips.component.mjs +206 -206
- package/esm2020/lib/chips/chips.module.mjs +44 -44
- package/esm2020/lib/chips/public-api.mjs +20 -20
- package/esm2020/lib/content/content.component.mjs +42 -42
- package/esm2020/lib/content/content.module.mjs +40 -40
- package/esm2020/lib/convenience/time-frame-bar/time-frame-bar.component.mjs +188 -188
- package/esm2020/lib/convenience/time-frame-bar/time-frame-bar.module.mjs +76 -76
- package/esm2020/lib/date-picker/date-picker-day-picker.component.mjs +130 -130
- package/esm2020/lib/date-picker/date-picker-inner.component.mjs +318 -318
- package/esm2020/lib/date-picker/date-picker-month-picker.component.mjs +63 -63
- package/esm2020/lib/date-picker/date-picker-year-picker.component.mjs +68 -68
- package/esm2020/lib/date-picker/date-picker.component.mjs +311 -311
- package/esm2020/lib/date-picker/date-picker.module.mjs +74 -74
- package/esm2020/lib/date-picker/public-api.mjs +71 -71
- package/esm2020/lib/date-time-picker/date-time-picker.component.mjs +221 -221
- package/esm2020/lib/date-time-picker/date-time-picker.module.mjs +42 -42
- package/esm2020/lib/dialog/confirmation-dialog.component.mjs +80 -80
- package/esm2020/lib/dialog/dialog-backdrop.component.mjs +36 -36
- package/esm2020/lib/dialog/dialog-footer.component.mjs +32 -32
- package/esm2020/lib/dialog/dialog-header.component.mjs +59 -59
- package/esm2020/lib/dialog/dialog-ref.mjs +94 -94
- package/esm2020/lib/dialog/dialog-stack.service.mjs +135 -135
- package/esm2020/lib/dialog/dialog.component.mjs +155 -155
- package/esm2020/lib/dialog/dialog.module.mjs +59 -59
- package/esm2020/lib/dialog/dialog.service.mjs +59 -59
- package/esm2020/lib/dialog/public-api.mjs +24 -24
- package/esm2020/lib/divider/divider.component.mjs +74 -74
- package/esm2020/lib/divider/divider.module.mjs +40 -40
- package/esm2020/lib/divider/public-api.mjs +20 -20
- package/esm2020/lib/dnd/dnd-drop-target.directive.mjs +108 -108
- package/esm2020/lib/dnd/dnd.module.mjs +39 -39
- package/esm2020/lib/dnd/public-api.mjs +21 -21
- package/esm2020/lib/docs/copy-text/copy-text.component.mjs +52 -52
- package/esm2020/lib/docs/docs.module.mjs +116 -116
- package/esm2020/lib/docs/example-code/example-code.component.mjs +75 -75
- package/esm2020/lib/docs/example-wrapper/example-wrapper.component.mjs +89 -89
- package/esm2020/lib/docs/example-wrapper/plunker-files.mjs +35 -35
- package/esm2020/lib/docs/example-wrapper/plunker-project.service.mjs +110 -110
- package/esm2020/lib/docs/public-api.mjs +20 -20
- package/esm2020/lib/docs/services/sources.service.mjs +89 -89
- package/esm2020/lib/docs/srlc-indicator/public-api.mjs +29 -29
- package/esm2020/lib/docs/srlc-indicator/srlc-indicator.component.mjs +96 -96
- package/esm2020/lib/docs/theme-switcher/theme-switcher.component.mjs +42 -42
- package/esm2020/lib/dragdrop/dragdrop.module.mjs +42 -42
- package/esm2020/lib/dragdrop/draggable.component.mjs +62 -62
- package/esm2020/lib/dragdrop/droppable.component.mjs +58 -58
- package/esm2020/lib/dragdrop/public-api.mjs +2 -2
- package/esm2020/lib/expander/expander.component.mjs +111 -111
- package/esm2020/lib/expander/expander.module.mjs +41 -41
- package/esm2020/lib/form-field/form-field.component.mjs +125 -125
- package/esm2020/lib/form-field/form-field.module.mjs +42 -42
- package/esm2020/lib/form-field/public-api.mjs +27 -27
- package/esm2020/lib/form-field/touched-changes-helper.mjs +40 -40
- package/esm2020/lib/icon/icon.component.mjs +143 -143
- package/esm2020/lib/icon/icon.module.mjs +41 -41
- package/esm2020/lib/icon/icon.service.mjs +74 -74
- package/esm2020/lib/icon/icons.mjs +891 -891
- package/esm2020/lib/icon/public-api.mjs +20 -20
- package/esm2020/lib/icon/types.mjs +109 -109
- package/esm2020/lib/image/image.component.mjs +143 -143
- package/esm2020/lib/image/image.module.mjs +40 -40
- package/esm2020/lib/image/public-api.mjs +20 -20
- package/esm2020/lib/layout/card/card.component.mjs +46 -46
- package/esm2020/lib/layout/card-group/card-group.component.mjs +51 -51
- package/esm2020/lib/layout/layout-resizer/layout-resizer.component.mjs +96 -96
- package/esm2020/lib/layout/layout.module.mjs +62 -62
- package/esm2020/lib/layout/public-api.mjs +20 -20
- package/esm2020/lib/layout/sheet/sheet.component.mjs +64 -64
- package/esm2020/lib/layout/sheet-group/sheet-group.component.mjs +187 -187
- package/esm2020/lib/menu/index.mjs +28 -28
- package/esm2020/lib/menu/menu/menu.component.mjs +170 -170
- package/esm2020/lib/menu/menu-item/menu-action/menu-action.component.mjs +80 -80
- package/esm2020/lib/menu/menu-item/menu-group/menu-group.component.mjs +37 -37
- package/esm2020/lib/menu/menu-item/menu-item/menu-item-base.mjs +56 -56
- package/esm2020/lib/menu/menu-item/menu-item/menu-item.component.mjs +68 -68
- package/esm2020/lib/menu/menu-item/menu-link/menu-link.component.mjs +81 -81
- package/esm2020/lib/menu/menu-item/menu-option/menu-option.component.mjs +91 -91
- package/esm2020/lib/menu/menu-item/menu-switch/menu-switch.component.mjs +87 -87
- package/esm2020/lib/menu/menu-key-control.service.mjs +210 -210
- package/esm2020/lib/menu/menu-popup/menu-popup.component.mjs +90 -90
- package/esm2020/lib/menu/menu.module.mjs +106 -106
- package/esm2020/lib/menu/public-api.mjs +24 -24
- package/esm2020/lib/message/message.component.mjs +122 -122
- package/esm2020/lib/message/message.module.mjs +42 -42
- package/esm2020/lib/overlay/arrow-component/overlay-arrow.component.mjs +33 -33
- package/esm2020/lib/overlay/constants.mjs +24 -24
- package/esm2020/lib/overlay/overlay-additions.module.mjs +38 -38
- package/esm2020/lib/overlay/overlay-component/overlay.component.mjs +188 -188
- package/esm2020/lib/overlay/overlay-container.service.mjs +127 -127
- package/esm2020/lib/overlay/overlay-custom-container.mjs +54 -54
- package/esm2020/lib/overlay/overlay-item/overlay-item.component.mjs +51 -51
- package/esm2020/lib/overlay/overlay-position.service.mjs +270 -270
- package/esm2020/lib/overlay/overlay-utilities.service.mjs +75 -75
- package/esm2020/lib/overlay/overlay.module.mjs +43 -43
- package/esm2020/lib/overlay/overlay.service.mjs +135 -135
- package/esm2020/lib/overlay/public-api.mjs +27 -27
- package/esm2020/lib/overlay/types.mjs +47 -47
- package/esm2020/lib/paginator/paginator.component.mjs +456 -456
- package/esm2020/lib/paginator/paginator.module.mjs +60 -60
- package/esm2020/lib/paginator/public-api.mjs +20 -20
- package/esm2020/lib/panel/panel.component.mjs +452 -452
- package/esm2020/lib/panel/panel.module.mjs +41 -41
- package/esm2020/lib/panel/public-api.mjs +42 -42
- package/esm2020/lib/popover/popover-modal.component.mjs +91 -91
- package/esm2020/lib/popover/popover-modal.service.mjs +168 -168
- package/esm2020/lib/popover/popover-position.service.mjs +222 -222
- package/esm2020/lib/popover/popover.component.mjs +474 -474
- package/esm2020/lib/popover/popover.module.mjs +57 -57
- package/esm2020/lib/popover/public-api.mjs +30 -30
- package/esm2020/lib/popup/popup-container.component.mjs +75 -75
- package/esm2020/lib/popup/popup-container.service.mjs +34 -34
- package/esm2020/lib/popup/popup-toggle.directive.mjs +50 -50
- package/esm2020/lib/popup/popup.component.mjs +237 -237
- package/esm2020/lib/popup/popup.module.mjs +49 -49
- package/esm2020/lib/popup-adapter/popup-adapter.component.mjs +323 -323
- package/esm2020/lib/popup-adapter/popup-adapter.module.mjs +56 -56
- package/esm2020/lib/progress/progress.component.mjs +73 -73
- package/esm2020/lib/progress/progress.module.mjs +42 -42
- package/esm2020/lib/public-api.mjs +54 -54
- package/esm2020/lib/radio/radio-group.component.mjs +291 -291
- package/esm2020/lib/radio/radio.module.mjs +40 -40
- package/esm2020/lib/repeat/public-api.mjs +20 -20
- package/esm2020/lib/repeat/repeat-item/repeat-item.component.mjs +53 -53
- package/esm2020/lib/repeat/repeat.component.mjs +431 -431
- package/esm2020/lib/repeat/repeat.module.mjs +61 -61
- package/esm2020/lib/repeat/types.mjs +33 -33
- package/esm2020/lib/search/search.component.mjs +127 -127
- package/esm2020/lib/search/search.module.mjs +43 -43
- package/esm2020/lib/select/base-select.mjs +205 -205
- package/esm2020/lib/select/combobox/combobox.component.mjs +294 -294
- package/esm2020/lib/select/index.mjs +21 -21
- package/esm2020/lib/select/public-api.mjs +20 -20
- package/esm2020/lib/select/select.component.mjs +142 -142
- package/esm2020/lib/select/select.module.mjs +68 -68
- package/esm2020/lib/select-v2/base-select-v2.mjs +481 -481
- package/esm2020/lib/select-v2/combobox-v2/combobox-v2.component.mjs +319 -319
- package/esm2020/lib/select-v2/combobox-v2-option-highlight/combobox-v2-option-highlight.directive.mjs +82 -82
- package/esm2020/lib/select-v2/constants.mjs +24 -24
- package/esm2020/lib/select-v2/mark-as-selected-item.directive.mjs +28 -28
- package/esm2020/lib/select-v2/option/select-v2-option.component.mjs +80 -80
- package/esm2020/lib/select-v2/option-group/select-v2-option-group.component.mjs +68 -68
- package/esm2020/lib/select-v2/option-key-control.service.mjs +137 -137
- package/esm2020/lib/select-v2/select/select-v2.component.mjs +139 -139
- package/esm2020/lib/select-v2/select-v2.module.mjs +102 -102
- package/esm2020/lib/select-v2/selected-items-key-control.service.mjs +157 -157
- package/esm2020/lib/select-v2/types.mjs +20 -20
- package/esm2020/lib/selector/public-api.mjs +32 -32
- package/esm2020/lib/selector/selector.component.mjs +153 -153
- package/esm2020/lib/selector/selector.module.mjs +60 -60
- package/esm2020/lib/selector/selector.service.mjs +288 -288
- package/esm2020/lib/sorter/constants.mjs +21 -21
- package/esm2020/lib/sorter/public-api.mjs +25 -25
- package/esm2020/lib/sorter/sorter-keyboard.service.mjs +105 -105
- package/esm2020/lib/sorter/sorter.component.mjs +235 -235
- package/esm2020/lib/sorter/sorter.module.mjs +56 -56
- package/esm2020/lib/spinner/public-api.mjs +29 -29
- package/esm2020/lib/spinner/spinner.component.mjs +152 -152
- package/esm2020/lib/spinner/spinner.module.mjs +42 -42
- package/esm2020/lib/switch/switch.component.mjs +103 -103
- package/esm2020/lib/switch/switch.module.mjs +40 -40
- package/esm2020/lib/tabgroup/tab/tab-heading-custom-template-ref.directive.mjs +46 -46
- package/esm2020/lib/tabgroup/tab/tab-heading.directive.mjs +36 -36
- package/esm2020/lib/tabgroup/tab/tab.component.mjs +79 -79
- package/esm2020/lib/tabgroup/tab-group/tab-group.component.mjs +146 -146
- package/esm2020/lib/tabgroup/tab-heading/tab-heading.component.mjs +61 -61
- package/esm2020/lib/tabgroup/tab-heading-group/tab-heading-group.component.mjs +181 -181
- package/esm2020/lib/tabgroup/tabs.module.mjs +69 -69
- package/esm2020/lib/table/constants.mjs +23 -23
- package/esm2020/lib/table/public-api.mjs +24 -24
- package/esm2020/lib/table/table-cell/table-cell-def.directive.mjs +40 -40
- package/esm2020/lib/table/table-cell/table-cell.directive.mjs +123 -123
- package/esm2020/lib/table/table-cell/table-column-def.directive.mjs +72 -72
- package/esm2020/lib/table/table-cell/table-footer-cell-def.directive.mjs +44 -44
- package/esm2020/lib/table/table-cell/table-footer-cell.directive.mjs +43 -43
- package/esm2020/lib/table/table-cell/table-header-cell-def.directive.mjs +44 -44
- package/esm2020/lib/table/table-cell/table-header-cell.component.mjs +300 -300
- package/esm2020/lib/table/table-resizer/table-resizer.directive.mjs +74 -74
- package/esm2020/lib/table/table-row/table-row.component.mjs +456 -456
- package/esm2020/lib/table/table-state-handler.service.mjs +522 -522
- package/esm2020/lib/table/table-virtual-scroll/slice-range.pipe.mjs +22 -22
- package/esm2020/lib/table/table-virtual-scroll/table-sticky-header.directive.mjs +277 -277
- package/esm2020/lib/table/table-virtual-scroll/table-virtual-scroll-strategy.mjs +182 -182
- package/esm2020/lib/table/table-virtual-scroll/table-virtual-scroll.directive.mjs +130 -130
- package/esm2020/lib/table/table.component.mjs +294 -294
- package/esm2020/lib/table/table.module.mjs +133 -133
- package/esm2020/lib/table/types.mjs +20 -20
- package/esm2020/lib/textbox/textbox-number/textbox-number.component.mjs +272 -272
- package/esm2020/lib/textbox/textbox.component.mjs +177 -177
- package/esm2020/lib/textbox/textbox.module.mjs +64 -64
- package/esm2020/lib/time-frame-picker/public-api.mjs +20 -20
- package/esm2020/lib/time-frame-picker/quick-picker/quick-picker.component.mjs +57 -57
- package/esm2020/lib/time-frame-picker/services/timeframe.service.mjs +225 -225
- package/esm2020/lib/time-frame-picker/time-frame-format.pipe.mjs +59 -59
- package/esm2020/lib/time-frame-picker/time-frame-picker.component.mjs +129 -129
- package/esm2020/lib/time-frame-picker/time-frame-picker.module.mjs +57 -57
- package/esm2020/lib/time-picker/time-picker-keyboard.service.mjs +112 -112
- package/esm2020/lib/time-picker/time-picker.component.mjs +325 -325
- package/esm2020/lib/time-picker/time-picker.module.mjs +60 -60
- package/esm2020/lib/toast/public-api.mjs +20 -20
- package/esm2020/lib/toast/toast-container.service.mjs +89 -89
- package/esm2020/lib/toast/toast-injector.mjs +34 -34
- package/esm2020/lib/toast/toast-package.mjs +43 -43
- package/esm2020/lib/toast/toast-ref.mjs +64 -64
- package/esm2020/lib/toast/toast.component.mjs +228 -228
- package/esm2020/lib/toast/toast.directive.mjs +90 -90
- package/esm2020/lib/toast/toast.module.mjs +54 -54
- package/esm2020/lib/toast/toast.service.mjs +272 -272
- package/esm2020/lib/toast/toast.servicebase.mjs +31 -31
- package/esm2020/lib/toolbar/public-api.mjs +30 -30
- package/esm2020/lib/toolbar/toolbar-group.component.mjs +41 -41
- package/esm2020/lib/toolbar/toolbar-item.component.mjs +62 -62
- package/esm2020/lib/toolbar/toolbar-keyboard.service.mjs +80 -80
- package/esm2020/lib/toolbar/toolbar-message.component.mjs +35 -35
- package/esm2020/lib/toolbar/toolbar-splitter.component.mjs +36 -36
- package/esm2020/lib/toolbar/toolbar.component.mjs +245 -242
- package/esm2020/lib/toolbar/toolbar.module.mjs +84 -84
- package/esm2020/lib/tooltip/public-api.mjs +21 -21
- package/esm2020/lib/tooltip/tooltip.component.mjs +203 -203
- package/esm2020/lib/tooltip/tooltip.directive.mjs +226 -226
- package/esm2020/lib/tooltip/tooltip.module.mjs +41 -41
- package/esm2020/lib/validation-message/custom-validation-message/custom-validation-message.component.mjs +58 -58
- package/esm2020/lib/validation-message/public-api.mjs +21 -21
- package/esm2020/lib/validation-message/validation-message.component.mjs +45 -45
- package/esm2020/lib/validation-message/validation-message.module.mjs +46 -46
- package/esm2020/lib/wizard/public-api.mjs +20 -20
- package/esm2020/lib/wizard/wizard-step.component.mjs +131 -131
- package/esm2020/lib/wizard/wizard.component.mjs +357 -357
- package/esm2020/lib/wizard/wizard.module.mjs +61 -61
- package/esm2020/lib/wizard-v2/error-state-matcher.provider.mjs +35 -35
- package/esm2020/lib/wizard-v2/public-api.mjs +31 -31
- package/esm2020/lib/wizard-v2/types.mjs +20 -20
- package/esm2020/lib/wizard-v2/wizard-button/wizard-button.mjs +54 -54
- package/esm2020/lib/wizard-v2/wizard-footer/wizard-footer.component.mjs +59 -59
- package/esm2020/lib/wizard-v2/wizard-horizontal/wizard-horizontal.component.mjs +305 -305
- package/esm2020/lib/wizard-v2/wizard-overflow/wizard-overflow.component.mjs +43 -43
- package/esm2020/lib/wizard-v2/wizard-step/wizard-step.component.mjs +109 -109
- package/esm2020/lib/wizard-v2/wizard-step-footer.directive.mjs +34 -34
- package/esm2020/lib/wizard-v2/wizard-step-header/wizard-step-header.component.mjs +132 -132
- package/esm2020/lib/wizard-v2/wizard-step-label.directive.mjs +32 -32
- package/esm2020/lib/wizard-v2/wizard-vertical/wizard-vertical.component.mjs +70 -70
- package/esm2020/lib/wizard-v2/wizard.directive.mjs +122 -122
- package/esm2020/lib/wizard-v2/wizard.module.mjs +112 -112
- package/esm2020/nova-ui-bits.mjs +4 -4
- package/esm2020/nui-api.mjs +75 -75
- package/esm2020/pipes/highlight.pipe.mjs +89 -89
- package/esm2020/pipes/limit-to.pipe.mjs +49 -49
- package/esm2020/pipes/unit-conversion.pipe.mjs +59 -59
- package/esm2020/public_api.mjs +185 -185
- package/esm2020/services/content-ref.mjs +27 -27
- package/esm2020/services/data-filter.service.mjs +96 -96
- package/esm2020/services/data-source/client-side-data-source.service.mjs +117 -117
- package/esm2020/services/data-source/data-source-features.mjs +36 -36
- package/esm2020/services/data-source/data-source.service.mjs +135 -135
- package/esm2020/services/data-source/local-filtering-data-source.service.mjs +249 -249
- package/esm2020/services/data-source/noop-data-source.service.mjs +28 -28
- package/esm2020/services/data-source/public-api.mjs +40 -40
- package/esm2020/services/data-source/server-side-source.service.mjs +66 -66
- package/esm2020/services/dom-util.service.mjs +77 -77
- package/esm2020/services/edge-detection.service.mjs +178 -178
- package/esm2020/services/event-bus.mjs +69 -69
- package/esm2020/services/event-bus.service.mjs +47 -47
- package/esm2020/services/event-propagation.service.mjs +90 -90
- package/esm2020/services/history-storage.mjs +101 -101
- package/esm2020/services/list.service.mjs +120 -120
- package/esm2020/services/log-service.mjs +118 -118
- package/esm2020/services/notification-args.mjs +28 -28
- package/esm2020/services/notification-service.mjs +61 -61
- package/esm2020/services/position.service.mjs +189 -189
- package/esm2020/services/public-api.mjs +40 -40
- package/esm2020/services/search.service.mjs +136 -136
- package/esm2020/services/tab-navigation.service.mjs +62 -62
- package/esm2020/services/theme-switch.service.mjs +146 -146
- package/esm2020/services/transient-cache.service.mjs +78 -78
- package/esm2020/services/unit-conversion.service.mjs +176 -176
- package/esm2020/services/util.service.mjs +329 -329
- package/esm2020/services/virtual-viewport-manager.service.mjs +126 -126
- package/esm2020/types.mjs +20 -20
- package/esm2020/validators/index.mjs +20 -20
- package/esm2020/validators/nui-validators.mjs +56 -56
- package/fesm2015/nova-ui-bits.mjs +25389 -25386
- package/fesm2015/nova-ui-bits.mjs.map +1 -1
- package/fesm2020/nova-ui-bits.mjs +25554 -25551
- package/fesm2020/nova-ui-bits.mjs.map +1 -1
- package/functions/immutable-set.d.ts +8 -8
- package/functions/nameof.d.ts +7 -7
- package/functions/public-api.d.ts +5 -5
- package/functions/remove-errors.d.ts +8 -8
- package/functions/traverse.d.ts +3 -3
- package/functions/uuid.d.ts +1 -1
- package/lib/breadcrumb/breadcrumb-state.service.d.ts +13 -13
- package/lib/breadcrumb/breadcrumb.component.d.ts +11 -11
- package/lib/breadcrumb/breadcrumb.module.d.ts +12 -12
- package/lib/breadcrumb/public-api.d.ts +5 -5
- package/lib/busy/busy.component.d.ts +28 -28
- package/lib/busy/busy.module.d.ts +12 -12
- package/lib/busy/public-api.d.ts +9 -9
- package/lib/button/button.component.d.ts +82 -82
- package/lib/button/button.module.d.ts +12 -12
- package/lib/button/public-api.d.ts +5 -5
- package/lib/checkbox/checkbox-group.component.d.ts +50 -50
- package/lib/checkbox/checkbox.component.d.ts +96 -96
- package/lib/checkbox/checkbox.module.d.ts +12 -12
- package/lib/checkbox/public-api.d.ts +20 -20
- package/lib/chips/chip/chip.component.d.ts +33 -33
- package/lib/chips/chips-overflow/chips-overflow.component.d.ts +17 -17
- package/lib/chips/chips-overflow.service.d.ts +31 -31
- package/lib/chips/chips.component.d.ts +98 -98
- package/lib/chips/chips.module.d.ts +15 -15
- package/lib/chips/public-api.d.ts +23 -23
- package/lib/content/content.component.d.ts +11 -11
- package/lib/content/content.module.d.ts +11 -11
- package/lib/convenience/time-frame-bar/time-frame-bar.component.d.ts +67 -67
- package/lib/convenience/time-frame-bar/time-frame-bar.module.d.ts +19 -19
- package/lib/date-picker/date-picker-day-picker.component.d.ts +18 -18
- package/lib/date-picker/date-picker-inner.component.d.ts +74 -74
- package/lib/date-picker/date-picker-month-picker.component.d.ts +14 -14
- package/lib/date-picker/date-picker-year-picker.component.d.ts +14 -14
- package/lib/date-picker/date-picker.component.d.ts +114 -114
- package/lib/date-picker/date-picker.module.d.ts +19 -19
- package/lib/date-picker/public-api.d.ts +32 -32
- package/lib/date-time-picker/date-time-picker.component.d.ts +54 -54
- package/lib/date-time-picker/date-time-picker.module.d.ts +13 -13
- package/lib/dialog/confirmation-dialog.component.d.ts +26 -26
- package/lib/dialog/dialog-backdrop.component.d.ts +8 -8
- package/lib/dialog/dialog-footer.component.d.ts +8 -8
- package/lib/dialog/dialog-header.component.d.ts +26 -26
- package/lib/dialog/dialog-ref.d.ts +27 -27
- package/lib/dialog/dialog-stack.service.d.ts +27 -27
- package/lib/dialog/dialog.component.d.ts +49 -49
- package/lib/dialog/dialog.module.d.ts +18 -18
- package/lib/dialog/dialog.service.d.ts +20 -20
- package/lib/dialog/public-api.d.ts +69 -69
- package/lib/divider/divider.component.d.ts +21 -21
- package/lib/divider/divider.module.d.ts +11 -11
- package/lib/divider/public-api.d.ts +2 -2
- package/lib/dnd/dnd-drop-target.directive.d.ts +22 -22
- package/lib/dnd/dnd.module.d.ts +11 -11
- package/lib/dnd/public-api.d.ts +2 -2
- package/lib/docs/copy-text/copy-text.component.d.ts +12 -12
- package/lib/docs/docs.module.d.ts +26 -26
- package/lib/docs/example-code/example-code.component.d.ts +46 -46
- package/lib/docs/example-wrapper/example-wrapper.component.d.ts +25 -25
- package/lib/docs/example-wrapper/plunker-files.d.ts +9 -9
- package/lib/docs/example-wrapper/plunker-project.service.d.ts +18 -18
- package/lib/docs/public-api.d.ts +1 -1
- package/lib/docs/services/sources.service.d.ts +18 -18
- package/lib/docs/srlc-indicator/public-api.d.ts +16 -16
- package/lib/docs/srlc-indicator/srlc-indicator.component.d.ts +16 -16
- package/lib/docs/theme-switcher/theme-switcher.component.d.ts +12 -12
- package/lib/dragdrop/dragdrop.module.d.ts +13 -13
- package/lib/dragdrop/draggable.component.d.ts +21 -21
- package/lib/dragdrop/droppable.component.d.ts +16 -16
- package/lib/dragdrop/public-api.d.ts +2 -2
- package/lib/expander/expander.component.d.ts +44 -44
- package/lib/expander/expander.module.d.ts +12 -12
- package/lib/form-field/form-field.component.d.ts +49 -49
- package/lib/form-field/form-field.module.d.ts +13 -13
- package/lib/form-field/public-api.d.ts +12 -12
- package/lib/form-field/touched-changes-helper.d.ts +12 -12
- package/lib/icon/icon.component.d.ts +37 -37
- package/lib/icon/icon.module.d.ts +11 -11
- package/lib/icon/icon.service.d.ts +23 -23
- package/lib/icon/icons.d.ts +6 -6
- package/lib/icon/public-api.d.ts +1 -1
- package/lib/icon/types.d.ts +92 -92
- package/lib/image/image.component.d.ts +61 -61
- package/lib/image/image.module.d.ts +11 -11
- package/lib/image/public-api.d.ts +8 -8
- package/lib/layout/card/card.component.d.ts +11 -11
- package/lib/layout/card-group/card-group.component.d.ts +11 -11
- package/lib/layout/layout-resizer/layout-resizer.component.d.ts +31 -31
- package/lib/layout/layout.module.d.ts +12 -12
- package/lib/layout/public-api.d.ts +4 -4
- package/lib/layout/sheet/sheet.component.d.ts +17 -17
- package/lib/layout/sheet-group/sheet-group.component.d.ts +52 -52
- package/lib/menu/index.d.ts +9 -9
- package/lib/menu/menu/menu.component.d.ts +84 -84
- package/lib/menu/menu-item/menu-action/menu-action.component.d.ts +26 -26
- package/lib/menu/menu-item/menu-group/menu-group.component.d.ts +8 -8
- package/lib/menu/menu-item/menu-item/menu-item-base.d.ts +32 -32
- package/lib/menu/menu-item/menu-item/menu-item.component.d.ts +19 -19
- package/lib/menu/menu-item/menu-link/menu-link.component.d.ts +31 -31
- package/lib/menu/menu-item/menu-option/menu-option.component.d.ts +33 -33
- package/lib/menu/menu-item/menu-switch/menu-switch.component.d.ts +26 -26
- package/lib/menu/menu-key-control.service.d.ts +42 -42
- package/lib/menu/menu-popup/menu-popup.component.d.ts +25 -25
- package/lib/menu/menu.module.d.ts +24 -24
- package/lib/menu/public-api.d.ts +31 -31
- package/lib/message/message.component.d.ts +33 -33
- package/lib/message/message.module.d.ts +13 -13
- package/lib/overlay/arrow-component/overlay-arrow.component.d.ts +9 -9
- package/lib/overlay/constants.d.ts +7 -7
- package/lib/overlay/overlay-additions.module.d.ts +11 -11
- package/lib/overlay/overlay-component/overlay.component.d.ts +60 -60
- package/lib/overlay/overlay-container.service.d.ts +17 -17
- package/lib/overlay/overlay-custom-container.d.ts +19 -19
- package/lib/overlay/overlay-item/overlay-item.component.d.ts +23 -23
- package/lib/overlay/overlay-position.service.d.ts +26 -26
- package/lib/overlay/overlay-utilities.service.d.ts +10 -10
- package/lib/overlay/overlay.module.d.ts +13 -13
- package/lib/overlay/overlay.service.d.ts +36 -36
- package/lib/overlay/public-api.d.ts +8 -8
- package/lib/overlay/types.d.ts +54 -54
- package/lib/paginator/paginator.component.d.ts +164 -164
- package/lib/paginator/paginator.module.d.ts +15 -15
- package/lib/paginator/public-api.d.ts +11 -11
- package/lib/panel/panel.component.d.ts +123 -123
- package/lib/panel/panel.module.d.ts +12 -12
- package/lib/panel/public-api.d.ts +19 -19
- package/lib/popover/popover-modal.component.d.ts +62 -62
- package/lib/popover/popover-modal.service.d.ts +45 -45
- package/lib/popover/popover-position.service.d.ts +23 -23
- package/lib/popover/popover.component.d.ts +150 -150
- package/lib/popover/popover.module.d.ts +15 -15
- package/lib/popover/public-api.d.ts +12 -12
- package/lib/popup/popup-container.component.d.ts +26 -26
- package/lib/popup/popup-container.service.d.ts +8 -8
- package/lib/popup/popup-toggle.directive.d.ts +15 -15
- package/lib/popup/popup.component.d.ts +84 -84
- package/lib/popup/popup.module.d.ts +15 -15
- package/lib/popup-adapter/popup-adapter.component.d.ts +59 -59
- package/lib/popup-adapter/popup-adapter.module.d.ts +12 -12
- package/lib/progress/progress.component.d.ts +31 -31
- package/lib/progress/progress.module.d.ts +13 -13
- package/lib/public-api.d.ts +35 -35
- package/lib/radio/radio-group.component.d.ts +96 -96
- package/lib/radio/radio.module.d.ts +11 -11
- package/lib/repeat/public-api.d.ts +1 -1
- package/lib/repeat/repeat-item/repeat-item.component.d.ts +16 -16
- package/lib/repeat/repeat.component.d.ts +180 -180
- package/lib/repeat/repeat.module.d.ts +16 -16
- package/lib/repeat/types.d.ts +31 -31
- package/lib/search/search.component.d.ts +62 -62
- package/lib/search/search.module.d.ts +14 -14
- package/lib/select/base-select.d.ts +104 -104
- package/lib/select/combobox/combobox.component.d.ts +70 -70
- package/lib/select/index.d.ts +2 -2
- package/lib/select/public-api.d.ts +8 -8
- package/lib/select/select.component.d.ts +41 -41
- package/lib/select/select.module.d.ts +16 -16
- package/lib/select-v2/base-select-v2.d.ts +138 -138
- package/lib/select-v2/combobox-v2/combobox-v2.component.d.ts +64 -64
- package/lib/select-v2/combobox-v2-option-highlight/combobox-v2-option-highlight.directive.d.ts +23 -23
- package/lib/select-v2/constants.d.ts +5 -5
- package/lib/select-v2/mark-as-selected-item.directive.d.ts +13 -13
- package/lib/select-v2/option/select-v2-option.component.d.ts +31 -31
- package/lib/select-v2/option-group/select-v2-option-group.component.d.ts +19 -19
- package/lib/select-v2/option-key-control.service.d.ts +27 -27
- package/lib/select-v2/select/select-v2.component.d.ts +32 -32
- package/lib/select-v2/select-v2.module.d.ts +23 -23
- package/lib/select-v2/selected-items-key-control.service.d.ts +31 -31
- package/lib/select-v2/types.d.ts +11 -11
- package/lib/selector/public-api.d.ts +11 -11
- package/lib/selector/selector.component.d.ts +54 -54
- package/lib/selector/selector.module.d.ts +15 -15
- package/lib/selector/selector.service.d.ts +64 -64
- package/lib/sorter/constants.d.ts +2 -2
- package/lib/sorter/public-api.d.ts +13 -13
- package/lib/sorter/sorter-keyboard.service.d.ts +23 -23
- package/lib/sorter/sorter.component.d.ts +62 -62
- package/lib/sorter/sorter.module.d.ts +14 -14
- package/lib/spinner/public-api.d.ts +8 -8
- package/lib/spinner/spinner.component.d.ts +41 -41
- package/lib/spinner/spinner.module.d.ts +13 -13
- package/lib/switch/switch.component.d.ts +25 -25
- package/lib/switch/switch.module.d.ts +11 -11
- package/lib/tabgroup/tab/tab-heading-custom-template-ref.directive.d.ts +13 -13
- package/lib/tabgroup/tab/tab-heading.directive.d.ts +11 -11
- package/lib/tabgroup/tab/tab.component.d.ts +25 -25
- package/lib/tabgroup/tab-group/tab-group.component.d.ts +37 -37
- package/lib/tabgroup/tab-heading/tab-heading.component.d.ts +22 -22
- package/lib/tabgroup/tab-heading-group/tab-heading-group.component.d.ts +44 -44
- package/lib/tabgroup/tabs.module.d.ts +17 -17
- package/lib/table/constants.d.ts +4 -4
- package/lib/table/public-api.d.ts +5 -5
- package/lib/table/table-cell/table-cell-def.directive.d.ts +12 -12
- package/lib/table/table-cell/table-cell.directive.d.ts +30 -30
- package/lib/table/table-cell/table-column-def.directive.d.ts +20 -20
- package/lib/table/table-cell/table-footer-cell-def.directive.d.ts +12 -12
- package/lib/table/table-cell/table-footer-cell.directive.d.ts +11 -11
- package/lib/table/table-cell/table-header-cell-def.directive.d.ts +12 -12
- package/lib/table/table-cell/table-header-cell.component.d.ts +57 -57
- package/lib/table/table-resizer/table-resizer.directive.d.ts +21 -21
- package/lib/table/table-row/table-row.component.d.ts +116 -116
- package/lib/table/table-state-handler.service.d.ts +272 -272
- package/lib/table/table-virtual-scroll/slice-range.pipe.d.ts +10 -10
- package/lib/table/table-virtual-scroll/table-sticky-header.directive.d.ts +44 -44
- package/lib/table/table-virtual-scroll/table-virtual-scroll-strategy.d.ts +75 -75
- package/lib/table/table-virtual-scroll/table-virtual-scroll.directive.d.ts +42 -42
- package/lib/table/table.component.d.ts +54 -54
- package/lib/table/table.module.d.ts +28 -28
- package/lib/table/types.d.ts +8 -8
- package/lib/textbox/textbox-number/textbox-number.component.d.ts +88 -88
- package/lib/textbox/textbox.component.d.ts +96 -96
- package/lib/textbox/textbox.module.d.ts +16 -16
- package/lib/time-frame-picker/public-api.d.ts +21 -21
- package/lib/time-frame-picker/quick-picker/quick-picker.component.d.ts +22 -22
- package/lib/time-frame-picker/services/timeframe.service.d.ts +87 -87
- package/lib/time-frame-picker/time-frame-format.pipe.d.ts +30 -30
- package/lib/time-frame-picker/time-frame-picker.component.d.ts +37 -37
- package/lib/time-frame-picker/time-frame-picker.module.d.ts +15 -15
- package/lib/time-picker/time-picker-keyboard.service.d.ts +22 -22
- package/lib/time-picker/time-picker.component.d.ts +83 -83
- package/lib/time-picker/time-picker.module.d.ts +15 -15
- package/lib/toast/public-api.d.ts +123 -123
- package/lib/toast/toast-container.service.d.ts +34 -34
- package/lib/toast/toast-injector.d.ts +10 -10
- package/lib/toast/toast-package.d.ts +22 -22
- package/lib/toast/toast-ref.d.ts +30 -30
- package/lib/toast/toast.component.d.ts +69 -69
- package/lib/toast/toast.directive.d.ts +26 -26
- package/lib/toast/toast.module.d.ts +14 -14
- package/lib/toast/toast.service.d.ts +77 -77
- package/lib/toast/toast.servicebase.d.ts +16 -16
- package/lib/toolbar/public-api.d.ts +18 -18
- package/lib/toolbar/toolbar-group.component.d.ts +12 -12
- package/lib/toolbar/toolbar-item.component.d.ts +22 -22
- package/lib/toolbar/toolbar-keyboard.service.d.ts +16 -16
- package/lib/toolbar/toolbar-message.component.d.ts +8 -8
- package/lib/toolbar/toolbar-splitter.component.d.ts +8 -8
- package/lib/toolbar/toolbar.component.d.ts +60 -59
- package/lib/toolbar/toolbar.module.d.ts +19 -19
- package/lib/tooltip/public-api.d.ts +3 -3
- package/lib/tooltip/tooltip.component.d.ts +62 -62
- package/lib/tooltip/tooltip.directive.d.ts +60 -60
- package/lib/tooltip/tooltip.module.d.ts +13 -13
- package/lib/validation-message/custom-validation-message/custom-validation-message.component.d.ts +19 -19
- package/lib/validation-message/public-api.d.ts +2 -2
- package/lib/validation-message/validation-message.component.d.ts +19 -19
- package/lib/validation-message/validation-message.module.d.ts +13 -13
- package/lib/wizard/public-api.d.ts +30 -30
- package/lib/wizard/wizard-step.component.d.ts +84 -84
- package/lib/wizard/wizard.component.d.ts +98 -98
- package/lib/wizard/wizard.module.d.ts +16 -16
- package/lib/wizard-v2/error-state-matcher.provider.d.ts +7 -7
- package/lib/wizard-v2/public-api.d.ts +12 -12
- package/lib/wizard-v2/types.d.ts +13 -13
- package/lib/wizard-v2/wizard-button/wizard-button.d.ts +18 -18
- package/lib/wizard-v2/wizard-footer/wizard-footer.component.d.ts +20 -20
- package/lib/wizard-v2/wizard-horizontal/wizard-horizontal.component.d.ts +59 -59
- package/lib/wizard-v2/wizard-overflow/wizard-overflow.component.d.ts +13 -13
- package/lib/wizard-v2/wizard-step/wizard-step.component.d.ts +29 -29
- package/lib/wizard-v2/wizard-step-footer.directive.d.ts +8 -8
- package/lib/wizard-v2/wizard-step-header/wizard-step-header.component.d.ts +46 -46
- package/lib/wizard-v2/wizard-step-label.directive.d.ts +6 -6
- package/lib/wizard-v2/wizard-vertical/wizard-vertical.component.d.ts +18 -18
- package/lib/wizard-v2/wizard.directive.d.ts +48 -48
- package/lib/wizard-v2/wizard.module.d.ts +23 -23
- package/nova-ui-bits.d.ts +5 -5
- package/nui-api.d.ts +56 -56
- package/package.json +2 -2
- package/pipes/highlight.pipe.d.ts +37 -37
- package/pipes/limit-to.pipe.d.ts +21 -21
- package/pipes/unit-conversion.pipe.d.ts +28 -28
- package/public_api.d.ts +160 -160
- package/sdk/atoms/atom.d.ts +47 -47
- package/sdk/atoms/atom.js +172 -172
- package/sdk/atoms/components/breadcrumb/breadcrumb.atom.d.ts +11 -11
- package/sdk/atoms/components/breadcrumb/breadcrumb.atom.js +45 -45
- package/sdk/atoms/components/busy/busy.atom.d.ts +12 -12
- package/sdk/atoms/components/busy/busy.atom.js +40 -40
- package/sdk/atoms/components/button/button.atom.d.ts +19 -19
- package/sdk/atoms/components/button/button.atom.js +62 -62
- package/sdk/atoms/components/checkbox/checkbox.atom.d.ts +30 -30
- package/sdk/atoms/components/checkbox/checkbox.atom.js +93 -93
- package/sdk/atoms/components/checkbox-group/checkbox-group.atom.d.ts +11 -11
- package/sdk/atoms/components/checkbox-group/checkbox-group.atom.js +68 -68
- package/sdk/atoms/components/chips/chips.atom.d.ts +32 -32
- package/sdk/atoms/components/chips/chips.atom.js +92 -92
- package/sdk/atoms/components/combobox/combobox.atom.d.ts +29 -29
- package/sdk/atoms/components/combobox/combobox.atom.js +66 -66
- package/sdk/atoms/components/combobox-v2/combobox-v2.atom.d.ts +23 -23
- package/sdk/atoms/components/combobox-v2/combobox-v2.atom.js +100 -100
- package/sdk/atoms/components/content/content.atom.d.ts +6 -6
- package/sdk/atoms/components/content/content.atom.js +39 -39
- package/sdk/atoms/components/convenience/time-frame-bar/time-frame-bar.atom.d.ts +22 -22
- package/sdk/atoms/components/convenience/time-frame-bar/time-frame-bar.atom.js +83 -83
- package/sdk/atoms/components/datepicker/datepicker.atom.d.ts +57 -57
- package/sdk/atoms/components/datepicker/datepicker.atom.js +194 -194
- package/sdk/atoms/components/datetimepicker/datetimepicker.atom.d.ts +9 -9
- package/sdk/atoms/components/datetimepicker/datetimepicker.atom.js +42 -42
- package/sdk/atoms/components/dialog/dialog.atom.d.ts +18 -18
- package/sdk/atoms/components/dialog/dialog.atom.js +76 -76
- package/sdk/atoms/components/divider/divider.atom.d.ts +6 -6
- package/sdk/atoms/components/divider/divider.atom.js +44 -44
- package/sdk/atoms/components/drag-and-drop/cdk-drop-item.atom.d.ts +10 -10
- package/sdk/atoms/components/drag-and-drop/cdk-drop-item.atom.js +57 -57
- package/sdk/atoms/components/drag-and-drop/cdk-drop-list.atom.d.ts +8 -8
- package/sdk/atoms/components/drag-and-drop/cdk-drop-list.atom.js +41 -41
- package/sdk/atoms/components/expander/expander.atom.d.ts +19 -19
- package/sdk/atoms/components/expander/expander.atom.js +89 -89
- package/sdk/atoms/components/form-field/form-field.atom.d.ts +12 -12
- package/sdk/atoms/components/form-field/form-field.atom.js +72 -72
- package/sdk/atoms/components/icon/icon.atom.d.ts +21 -21
- package/sdk/atoms/components/icon/icon.atom.js +90 -90
- package/sdk/atoms/components/image/image.atom.d.ts +8 -8
- package/sdk/atoms/components/image/image.atom.js +60 -60
- package/sdk/atoms/components/layout/index.d.ts +2 -2
- package/sdk/atoms/components/layout/index.js +24 -24
- package/sdk/atoms/components/layout/layout-sheet-group.atom.d.ts +14 -14
- package/sdk/atoms/components/layout/layout-sheet-group.atom.js +90 -90
- package/sdk/atoms/components/layout/layout-sheet.atom.d.ts +6 -6
- package/sdk/atoms/components/layout/layout-sheet.atom.js +44 -44
- package/sdk/atoms/components/menu/menu-item.atom.d.ts +13 -13
- package/sdk/atoms/components/menu/menu-item.atom.js +116 -116
- package/sdk/atoms/components/menu/menu.atom.d.ts +43 -43
- package/sdk/atoms/components/menu/menu.atom.js +115 -115
- package/sdk/atoms/components/menu-popup/menu-popup.atom.d.ts +11 -11
- package/sdk/atoms/components/menu-popup/menu-popup.atom.js +56 -56
- package/sdk/atoms/components/message/message.atom.d.ts +16 -16
- package/sdk/atoms/components/message/message.atom.js +50 -50
- package/sdk/atoms/components/overlay/overlay.atom.d.ts +11 -11
- package/sdk/atoms/components/overlay/overlay.atom.js +40 -40
- package/sdk/atoms/components/paginator/paginator.atom.d.ts +29 -29
- package/sdk/atoms/components/paginator/paginator.atom.js +198 -198
- package/sdk/atoms/components/panel/panel.atom.d.ts +29 -29
- package/sdk/atoms/components/panel/panel.atom.js +119 -119
- package/sdk/atoms/components/popover/popover.atom.d.ts +28 -28
- package/sdk/atoms/components/popover/popover.atom.js +93 -93
- package/sdk/atoms/components/popup/overlay-content.atom.d.ts +7 -7
- package/sdk/atoms/components/popup/overlay-content.atom.js +34 -34
- package/sdk/atoms/components/popup/popup.atom.d.ts +16 -16
- package/sdk/atoms/components/popup/popup.atom.js +67 -67
- package/sdk/atoms/components/progress/progress.atom.d.ts +14 -14
- package/sdk/atoms/components/progress/progress.atom.js +64 -64
- package/sdk/atoms/components/public_api.d.ts +54 -54
- package/sdk/atoms/components/public_api.js +76 -76
- package/sdk/atoms/components/radio-group/radio-group.atom.d.ts +13 -13
- package/sdk/atoms/components/radio-group/radio-group.atom.js +75 -75
- package/sdk/atoms/components/repeat/repeat.atom.d.ts +27 -27
- package/sdk/atoms/components/repeat/repeat.atom.js +122 -122
- package/sdk/atoms/components/search/search.atom.d.ts +11 -11
- package/sdk/atoms/components/search/search.atom.js +74 -74
- package/sdk/atoms/components/select/basic-select.atom.d.ts +21 -21
- package/sdk/atoms/components/select/basic-select.atom.js +55 -55
- package/sdk/atoms/components/select/select.atom.d.ts +10 -10
- package/sdk/atoms/components/select/select.atom.js +36 -36
- package/sdk/atoms/components/select-v2/base-select-v2.atom.d.ts +29 -29
- package/sdk/atoms/components/select-v2/base-select-v2.atom.js +122 -122
- package/sdk/atoms/components/select-v2/select-v2-option.atom.d.ts +7 -7
- package/sdk/atoms/components/select-v2/select-v2-option.atom.js +43 -43
- package/sdk/atoms/components/select-v2/select-v2.atom.d.ts +5 -5
- package/sdk/atoms/components/select-v2/select-v2.atom.js +33 -33
- package/sdk/atoms/components/selector/selector.atom.d.ts +17 -17
- package/sdk/atoms/components/selector/selector.atom.js +82 -82
- package/sdk/atoms/components/selector/selector.e2e.d.ts +6 -6
- package/sdk/atoms/components/selector/selector.e2e.js +91 -91
- package/sdk/atoms/components/sorter/sorter.atom.d.ts +33 -33
- package/sdk/atoms/components/sorter/sorter.atom.js +122 -122
- package/sdk/atoms/components/spinner/spinner.atom.d.ts +12 -12
- package/sdk/atoms/components/spinner/spinner.atom.js +44 -44
- package/sdk/atoms/components/switch/switch.atom.d.ts +14 -14
- package/sdk/atoms/components/switch/switch.atom.js +72 -72
- package/sdk/atoms/components/tab-heading-group/tab-heading-group.atom.d.ts +16 -16
- package/sdk/atoms/components/tab-heading-group/tab-heading-group.atom.js +107 -107
- package/sdk/atoms/components/tab-heading-group/tab-heading.atom.d.ts +8 -8
- package/sdk/atoms/components/tab-heading-group/tab-heading.atom.js +51 -51
- package/sdk/atoms/components/table/table.atom.d.ts +73 -73
- package/sdk/atoms/components/table/table.atom.js +209 -209
- package/sdk/atoms/components/textbox/textbox.atom.d.ts +22 -22
- package/sdk/atoms/components/textbox/textbox.atom.js +58 -58
- package/sdk/atoms/components/textbox-number/textbox-number.atom.d.ts +18 -18
- package/sdk/atoms/components/textbox-number/textbox-number.atom.js +52 -52
- package/sdk/atoms/components/time-frame-picker/quick-picker.atom.d.ts +8 -8
- package/sdk/atoms/components/time-frame-picker/quick-picker.atom.js +48 -48
- package/sdk/atoms/components/time-frame-picker/time-frame-picker.atom.d.ts +7 -7
- package/sdk/atoms/components/time-frame-picker/time-frame-picker.atom.js +35 -35
- package/sdk/atoms/components/timepicker/timepicker.atom.d.ts +18 -18
- package/sdk/atoms/components/timepicker/timepicker.atom.js +63 -63
- package/sdk/atoms/components/toolbar/toolbar.atom.d.ts +18 -18
- package/sdk/atoms/components/toolbar/toolbar.atom.js +86 -86
- package/sdk/atoms/components/wizard/wizard-step.atom.d.ts +11 -11
- package/sdk/atoms/components/wizard/wizard-step.atom.js +51 -51
- package/sdk/atoms/components/wizard/wizard.atom.d.ts +22 -22
- package/sdk/atoms/components/wizard/wizard.atom.js +90 -90
- package/sdk/atoms/directives/public_api.d.ts +3 -3
- package/sdk/atoms/directives/public_api.js +25 -25
- package/sdk/atoms/directives/resizer/resizer.atom.d.ts +12 -12
- package/sdk/atoms/directives/resizer/resizer.atom.js +51 -51
- package/sdk/atoms/directives/toast/toast.atom.d.ts +28 -28
- package/sdk/atoms/directives/toast/toast.atom.js +66 -66
- package/sdk/atoms/directives/tooltip/tooltip.atom.d.ts +9 -9
- package/sdk/atoms/directives/tooltip/tooltip.atom.js +37 -37
- package/sdk/atoms/helpers.d.ts +37 -37
- package/sdk/atoms/helpers.js +215 -265
- package/sdk/atoms/helpers.js.map +1 -1
- package/sdk/atoms/index.d.ts +5 -5
- package/sdk/atoms/index.js +30 -30
- package/sdk/atoms/virtual-camera/Camera.d.ts +21 -21
- package/sdk/atoms/virtual-camera/Camera.js +53 -53
- package/sdk/atoms/virtual-camera/camera-engine.d.ts +13 -13
- package/sdk/atoms/virtual-camera/camera-engine.js +80 -81
- package/sdk/atoms/virtual-camera/camera-engine.js.map +1 -1
- package/sdk/atoms/virtual-camera/camera-settings.d.ts +10 -10
- package/sdk/atoms/virtual-camera/camera-settings.js +58 -58
- package/sdk/atoms/virtual-camera/camera-toggle.d.ts +7 -7
- package/sdk/atoms/virtual-camera/camera-toggle.js +39 -39
- package/sdk/atoms/virtual-camera/percy-lens.d.ts +17 -17
- package/sdk/atoms/virtual-camera/percy-lens.js +78 -78
- package/sdk/atoms/virtual-camera/public_api.d.ts +2 -2
- package/sdk/atoms/virtual-camera/public_api.js +24 -24
- package/sdk/atoms/virtual-camera/types.d.ts +35 -34
- package/sdk/atoms/virtual-camera/types.js +43 -42
- package/sdk/atoms/virtual-camera/types.js.map +1 -1
- package/sdk/locale/messages.en.xlf +8 -8
- package/sdk/schematics/filter-group/index.d.ts +3 -3
- package/sdk/schematics/filter-group/index.js +80 -80
- package/sdk/schematics/filter-group/index.spec.d.ts +1 -1
- package/sdk/schematics/filter-group/index.spec.js +59 -59
- package/sdk/schematics/filter-group/schema.d.ts +50 -50
- package/sdk/schematics/filter-group/schema.js +21 -21
- package/sdk/schematics/filtered-view/index.d.ts +3 -3
- package/sdk/schematics/filtered-view/index.js +130 -130
- package/sdk/schematics/filtered-view/index.spec.d.ts +1 -1
- package/sdk/schematics/filtered-view/index.spec.js +59 -59
- package/sdk/schematics/filtered-view/schema.d.ts +87 -87
- package/sdk/schematics/filtered-view/schema.js +21 -21
- package/sdk/schematics/index.d.ts +1 -1
- package/sdk/schematics/index.js +23 -23
- package/sdk/schematics/layout/index.d.ts +3 -3
- package/sdk/schematics/layout/index.js +88 -88
- package/sdk/schematics/layout/index.spec.d.ts +1 -1
- package/sdk/schematics/layout/index.spec.js +62 -62
- package/sdk/schematics/layout/schema.d.ts +78 -78
- package/sdk/schematics/layout/schema.js +21 -21
- package/sdk/schematics/list/files/__name@dasherize__.component.ts +320 -320
- package/sdk/schematics/list/index.d.ts +3 -3
- package/sdk/schematics/list/index.js +128 -128
- package/sdk/schematics/list/schema.d.ts +72 -72
- package/sdk/schematics/list/schema.js +21 -21
- package/sdk/schematics/ng-add/index.d.ts +2 -2
- package/sdk/schematics/ng-add/index.js +180 -180
- package/sdk/schematics/ng-add/index.spec.d.ts +1 -1
- package/sdk/schematics/ng-add/index.spec.js +176 -176
- package/sdk/schematics/ng-update/index.d.ts +2 -2
- package/sdk/schematics/ng-update/index.js +44 -44
- package/sdk/schematics/ng-update/index.spec.d.ts +1 -1
- package/sdk/schematics/ng-update/index.spec.js +106 -106
- package/sdk/schematics/table/files/__name@dasherize__.component.ts +381 -381
- package/sdk/schematics/table/index.d.ts +3 -3
- package/sdk/schematics/table/index.js +139 -139
- package/sdk/schematics/table/schema.d.ts +72 -72
- package/sdk/schematics/table/schema.js +21 -21
- package/sdk/schematics/utility/index.d.ts +5 -5
- package/sdk/schematics/utility/index.js +27 -27
- package/sdk/schematics/utility/json-utils.d.ts +13 -13
- package/sdk/schematics/utility/json-utils.js +122 -122
- package/sdk/schematics/utility/project-targets.d.ts +10 -10
- package/sdk/schematics/utility/project-targets.js +34 -34
- package/sdk/schematics/utility/project.d.ts +12 -12
- package/sdk/schematics/utility/project.js +47 -47
- package/sdk/schematics/utility/schematics-helper.d.ts +18 -18
- package/sdk/schematics/utility/schematics-helper.js +179 -179
- package/sdk/schematics/utility/schematics-helper.spec.d.ts +1 -1
- package/sdk/schematics/utility/schematics-helper.spec.js +51 -51
- package/sdk/schematics/utility/workspace.d.ts +10 -10
- package/sdk/schematics/utility/workspace.js +46 -46
- package/services/content-ref.d.ts +8 -8
- package/services/data-filter.service.d.ts +23 -23
- package/services/data-source/client-side-data-source.service.d.ts +25 -25
- package/services/data-source/data-source-features.d.ts +10 -10
- package/services/data-source/data-source.service.d.ts +31 -31
- package/services/data-source/local-filtering-data-source.service.d.ts +45 -45
- package/services/data-source/noop-data-source.service.d.ts +8 -8
- package/services/data-source/public-api.d.ts +137 -137
- package/services/data-source/server-side-source.service.d.ts +23 -23
- package/services/dom-util.service.d.ts +20 -20
- package/services/edge-detection.service.d.ts +32 -32
- package/services/event-bus.d.ts +18 -18
- package/services/event-bus.service.d.ts +13 -13
- package/services/event-propagation.service.d.ts +35 -35
- package/services/history-storage.d.ts +47 -47
- package/services/list.service.d.ts +41 -41
- package/services/log-service.d.ts +48 -48
- package/services/notification-args.d.ts +14 -14
- package/services/notification-service.d.ts +24 -24
- package/services/position.service.d.ts +37 -37
- package/services/public-api.d.ts +120 -120
- package/services/search.service.d.ts +49 -49
- package/services/tab-navigation.service.d.ts +15 -15
- package/services/theme-switch.service.d.ts +42 -42
- package/services/transient-cache.service.d.ts +18 -18
- package/services/unit-conversion.service.d.ts +76 -76
- package/services/util.service.d.ts +76 -76
- package/services/virtual-viewport-manager.service.d.ts +42 -42
- package/types.d.ts +15 -15
- package/validators/index.d.ts +1 -1
- package/validators/nui-validators.d.ts +20 -20
- package/sdk/atoms/virtual-camera/eyes-lens.d.ts +0 -15
- package/sdk/atoms/virtual-camera/eyes-lens.js +0 -106
- package/sdk/atoms/virtual-camera/eyes-lens.js.map +0 -1
|
@@ -1,312 +1,312 @@
|
|
|
1
|
-
import { ChangeDetectorRef, Component, ElementRef, EventEmitter, forwardRef, HostBinding, Input, Output, ViewChild, ViewEncapsulation, } from "@angular/core";
|
|
2
|
-
import { NG_VALIDATORS, NG_VALUE_ACCESSOR, } from "@angular/forms";
|
|
3
|
-
import _defaults from "lodash/defaults";
|
|
4
|
-
import _isEqual from "lodash/isEqual";
|
|
5
|
-
import _isNil from "lodash/isNil";
|
|
6
|
-
import _isNull from "lodash/isNull";
|
|
7
|
-
import moment from "moment/moment";
|
|
8
|
-
import { Subject } from "rxjs";
|
|
9
|
-
import { debounceTime, takeUntil } from "rxjs/operators";
|
|
10
|
-
import { NuiValidators } from "../../validators";
|
|
11
|
-
import { NuiFormFieldControl } from "../form-field/public-api";
|
|
12
|
-
import { OVERLAY_WITH_POPUP_STYLES_CLASS } from "../overlay/constants";
|
|
13
|
-
import { OverlayComponent } from "../overlay/overlay-component/overlay.component";
|
|
14
|
-
import { TextboxComponent } from "../textbox/textbox.component";
|
|
15
|
-
import { DatePickerInnerComponent } from "./date-picker-inner.component";
|
|
16
|
-
import { datePickerDateFormats, datePickerDefaults, } from "./public-api";
|
|
17
|
-
import * as i0 from "@angular/core";
|
|
18
|
-
import * as i1 from "../textbox/textbox.component";
|
|
19
|
-
import * as i2 from "../icon/icon.component";
|
|
20
|
-
import * as i3 from "../overlay/overlay-component/overlay.component";
|
|
21
|
-
import * as i4 from "./date-picker-inner.component";
|
|
22
|
-
import * as i5 from "./date-picker-day-picker.component";
|
|
23
|
-
import * as i6 from "./date-picker-month-picker.component";
|
|
24
|
-
import * as i7 from "./date-picker-year-picker.component";
|
|
25
|
-
import * as i8 from "@angular/common";
|
|
26
|
-
// <example-url>./../examples/index.html#/date-picker</example-url><br />
|
|
27
|
-
export class DatePickerComponent {
|
|
28
|
-
constructor(cd) {
|
|
29
|
-
this.cd = cd;
|
|
30
|
-
/** Input to set aria label text */
|
|
31
|
-
this.ariaLabel = "Date Picker";
|
|
32
|
-
/** sets date-picker mode, supports: `day`, `month`, `year` */
|
|
33
|
-
this.datepickerMode = "day";
|
|
34
|
-
/** if false week numbers will be hidden */
|
|
35
|
-
this.showWeeks = false;
|
|
36
|
-
/** number of months displayed in a single row of month picker */
|
|
37
|
-
this.preserveInsignificant = false;
|
|
38
|
-
this.selectionDone = new EventEmitter();
|
|
39
|
-
/** callback to invoke when the value is changed. */
|
|
40
|
-
this.valueChange = new EventEmitter();
|
|
41
|
-
this.calendarNavigated = new EventEmitter();
|
|
42
|
-
this.inputBlurred = new EventEmitter();
|
|
43
|
-
this.onDestroy$ = new Subject();
|
|
44
|
-
this.overlayConfig = {
|
|
45
|
-
panelClass: [OVERLAY_WITH_POPUP_STYLES_CLASS],
|
|
46
|
-
};
|
|
47
|
-
this._todayDate = moment();
|
|
48
|
-
this.inputChanged = new Subject();
|
|
49
|
-
}
|
|
50
|
-
/** currently active date */
|
|
51
|
-
get value() {
|
|
52
|
-
return this._value;
|
|
53
|
-
}
|
|
54
|
-
set value(value) {
|
|
55
|
-
if (!this.preserveInsignificant && value) {
|
|
56
|
-
value.set({ hour: 0, minute: 0, second: 0, millisecond: 0 });
|
|
57
|
-
}
|
|
58
|
-
if (!value || (value && value.isSame(this._value))) {
|
|
59
|
-
return;
|
|
60
|
-
}
|
|
61
|
-
this.setDate(value);
|
|
62
|
-
this.updateTextboxValue();
|
|
63
|
-
}
|
|
64
|
-
ngOnInit() {
|
|
65
|
-
_defaults(this, datePickerDefaults);
|
|
66
|
-
this.selectedDate = this._value;
|
|
67
|
-
this.initDate = this.value && this.value.clone();
|
|
68
|
-
this.setDateFormat();
|
|
69
|
-
this.inputChanged.pipe(debounceTime(500)).subscribe((value) => {
|
|
70
|
-
const momentValue = moment(value, datePickerDateFormats, true);
|
|
71
|
-
this.onTouched();
|
|
72
|
-
// In case of FormControl absence we still need to perform validation
|
|
73
|
-
const templateDrivenControlValid = !this.formControl &&
|
|
74
|
-
_isNull(NuiValidators.dateFormat(momentValue));
|
|
75
|
-
const reactiveDrivenControlValid = this.formControl &&
|
|
76
|
-
this.formControl.valid &&
|
|
77
|
-
_isNull(NuiValidators.dateFormat(momentValue));
|
|
78
|
-
const isInputValid = (templateDrivenControlValid || reactiveDrivenControlValid) &&
|
|
79
|
-
!this.isDateDisabled(momentValue);
|
|
80
|
-
this.setDate(momentValue);
|
|
81
|
-
this.setErrorState(!isInputValid);
|
|
82
|
-
if (this.value.isValid() &&
|
|
83
|
-
!_isEqual(this.value.format(this.momentDateFormat), value)) {
|
|
84
|
-
this.updateTextboxValue();
|
|
85
|
-
}
|
|
86
|
-
});
|
|
87
|
-
this.onAppendToBodyChange(this.appendToBody);
|
|
88
|
-
}
|
|
89
|
-
ngOnChanges(changes) {
|
|
90
|
-
if (changes.appendToBody) {
|
|
91
|
-
this.onAppendToBodyChange(changes.appendToBody.currentValue);
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
ngAfterViewInit() {
|
|
95
|
-
this.calendarChanged = this._datePicker.calendarMoved.subscribe((value) => this.calendarNavigated.emit(value));
|
|
96
|
-
this.updateTextboxValue();
|
|
97
|
-
this.cd.detectChanges();
|
|
98
|
-
if (this.overlay) {
|
|
99
|
-
this.overlay.clickOutside
|
|
100
|
-
.pipe(takeUntil(this.onDestroy$))
|
|
101
|
-
.subscribe((_) => this.overlay.hide());
|
|
102
|
-
// Sets innerDatePicker 'value' to 'null' on popup close and refreshView() on popup open,
|
|
103
|
-
// so in case datePicker.value is invalid it will build the calendar from the scratch
|
|
104
|
-
// and not keep its previous state.
|
|
105
|
-
this.overlay.show$
|
|
106
|
-
.pipe(takeUntil(this.onDestroy$))
|
|
107
|
-
.subscribe((_) => this._datePicker.refreshView());
|
|
108
|
-
this.overlay.hide$
|
|
109
|
-
.pipe(takeUntil(this.onDestroy$))
|
|
110
|
-
.subscribe((_) => {
|
|
111
|
-
const currentDateValid = this.value?.isValid();
|
|
112
|
-
if (!currentDateValid) {
|
|
113
|
-
this._datePicker.value = undefined;
|
|
114
|
-
this._datePicker.datepickerMode = "day";
|
|
115
|
-
}
|
|
116
|
-
});
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
updateTouchedState() {
|
|
120
|
-
setTimeout(() => this.inputBlurred.emit(), 100);
|
|
121
|
-
this.onTouched();
|
|
122
|
-
}
|
|
123
|
-
onUpdate(event) {
|
|
124
|
-
this.value = event;
|
|
125
|
-
this.selectionDone.emit(event);
|
|
126
|
-
this.setErrorState(false);
|
|
127
|
-
}
|
|
128
|
-
setDate(value) {
|
|
129
|
-
this._value = value;
|
|
130
|
-
this.selectedDate = value;
|
|
131
|
-
this.valueChange.emit(value);
|
|
132
|
-
this.onChange(value);
|
|
133
|
-
}
|
|
134
|
-
onInputActiveDateChanged(value) {
|
|
135
|
-
this.inputChanged.next(value);
|
|
136
|
-
}
|
|
137
|
-
getIconColor() {
|
|
138
|
-
return this.isDisabled ? "gray" : "primary-blue";
|
|
139
|
-
}
|
|
140
|
-
onChange(value) { }
|
|
141
|
-
onTouched() { }
|
|
142
|
-
validate(control) {
|
|
143
|
-
this.formControl = control;
|
|
144
|
-
return NuiValidators.dateFormat(control.value);
|
|
145
|
-
}
|
|
146
|
-
writeValue(value) {
|
|
147
|
-
this.value = value;
|
|
148
|
-
}
|
|
149
|
-
registerOnChange(fn) {
|
|
150
|
-
this.onChange = fn;
|
|
151
|
-
}
|
|
152
|
-
registerOnTouched(fn) {
|
|
153
|
-
this.onTouched = fn;
|
|
154
|
-
}
|
|
155
|
-
setDisabledState(isDisabled) {
|
|
156
|
-
this.isDisabled = isDisabled;
|
|
157
|
-
}
|
|
158
|
-
setErrorState(isInErrorState) {
|
|
159
|
-
this.isInErrorState = isInErrorState;
|
|
160
|
-
}
|
|
161
|
-
onSelectionDone(value) {
|
|
162
|
-
this.value = value;
|
|
163
|
-
this.overlay?.hide();
|
|
164
|
-
}
|
|
165
|
-
updateTextboxValue(value = this._value) {
|
|
166
|
-
if (!this.textbox || !value) {
|
|
167
|
-
return;
|
|
168
|
-
}
|
|
169
|
-
this.textbox.writeValue(moment(value).format(this.momentDateFormat));
|
|
170
|
-
}
|
|
171
|
-
isDateDisabled(value) {
|
|
172
|
-
return this._datePicker.isDisabled(value);
|
|
173
|
-
}
|
|
174
|
-
setDateFormat() {
|
|
175
|
-
const isCustomFormatValid = !_isNil(this.dateFormat) &&
|
|
176
|
-
moment(this._todayDate.format(this.dateFormat), datePickerDateFormats, true).isValid();
|
|
177
|
-
this.momentDateFormat = isCustomFormatValid
|
|
178
|
-
? this.dateFormat
|
|
179
|
-
: datePickerDefaults.dateFormat;
|
|
180
|
-
}
|
|
181
|
-
ngOnDestroy() {
|
|
182
|
-
// The following resolves a known 'Error during cleanup of component:' error during unit tests
|
|
183
|
-
// Details: https://github.com/angular/angular/issues/17013
|
|
184
|
-
if (this.calendarChanged) {
|
|
185
|
-
this.calendarChanged.unsubscribe();
|
|
186
|
-
}
|
|
187
|
-
if (this.overlay?.showing) {
|
|
188
|
-
this.overlay.hide();
|
|
189
|
-
}
|
|
190
|
-
this.onDestroy$.next();
|
|
191
|
-
this.onDestroy$.complete();
|
|
192
|
-
}
|
|
193
|
-
onAppendToBodyChange(appendToBody) {
|
|
194
|
-
this.customContainer = appendToBody ? undefined : this.popupArea;
|
|
195
|
-
}
|
|
196
|
-
}
|
|
197
|
-
DatePickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DatePickerComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
198
|
-
DatePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: DatePickerComponent, selector: "nui-date-picker", inputs: { inline: "inline", isRequired: "isRequired", isDisabled: "isDisabled", isInErrorState: "isInErrorState", ariaLabel: "ariaLabel", locale: "locale", datepickerMode: "datepickerMode", minDate: "minDate", maxDate: "maxDate", minMode: "minMode", maxMode: "maxMode", showWeeks: "showWeeks", dateFormat: "dateFormat", formatDay: "formatDay", formatMonth: "formatMonth", formatYear: "formatYear", formatDayHeader: "formatDayHeader", formatDayTitle: "formatDayTitle", formatMonthTitle: "formatMonthTitle", startingDay: "startingDay", yearRange: "yearRange", onlyCurrentMonth: "onlyCurrentMonth", preserveInsignificant: "preserveInsignificant", disabledDates: "disabledDates", handleTimezone: "handleTimezone", appendToBody: "appendToBody", value: "value" }, outputs: { selectionDone: "selectionDone", valueChange: "valueChange", calendarNavigated: "calendarNavigated", inputBlurred: "inputBlurred" }, host: { properties: { "class.nui-datepicker--inline": "this.inline" } }, providers: [
|
|
199
|
-
{
|
|
200
|
-
provide: NG_VALUE_ACCESSOR,
|
|
201
|
-
useExisting: forwardRef(() => DatePickerComponent),
|
|
202
|
-
multi: true,
|
|
203
|
-
},
|
|
204
|
-
{
|
|
205
|
-
provide: NG_VALIDATORS,
|
|
206
|
-
useExisting: forwardRef(() => DatePickerComponent),
|
|
207
|
-
multi: true,
|
|
208
|
-
},
|
|
209
|
-
{
|
|
210
|
-
provide: NuiFormFieldControl,
|
|
211
|
-
useExisting: forwardRef(() => DatePickerComponent),
|
|
212
|
-
multi: true,
|
|
213
|
-
},
|
|
214
|
-
], viewQueries: [{ propertyName: "_datePicker", first: true, predicate: DatePickerInnerComponent, descendants: true }, { propertyName: "textbox", first: true, predicate: ["date"], descendants: true }, { propertyName: "popupArea", first: true, predicate: ["popupArea"], descendants: true, static: true }, { propertyName: "overlay", first: true, predicate: OverlayComponent, descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div class=\"nui-datepicker\">\n <ng-container *ngIf=\"!inline\">\n <div\n #toggleRef\n class=\"nui-datepicker__container\"\n [class.disabled]=\"isDisabled\"\n (click)=\"!isDisabled && overlay.toggle()\"\n >\n <nui-textbox\n #date\n autocomplete=\"off\"\n [disabled]=\"isDisabled\"\n [isInErrorState]=\"isInErrorState\"\n (textChange)=\"onInputActiveDateChanged($event)\"\n (blurred)=\"updateTouchedState()\"\n [ariaLabel]=\"ariaLabel\"\n >\n </nui-textbox>\n <nui-icon\n class=\"nui-datepicker__icon\"\n icon=\"calendar\"\n aria-hidden=\"true\"\n [iconColor]=\"getIconColor()\"\n ></nui-icon>\n </div>\n <nui-overlay\n #overlay\n [toggleReference]=\"toggleRef\"\n [overlayConfig]=\"overlayConfig\"\n [customContainer]=\"customContainer\"\n >\n <ng-container *ngTemplateOutlet=\"datePickerInner\"></ng-container>\n </nui-overlay>\n </ng-container>\n\n <div *ngIf=\"inline\">\n <ng-container *ngTemplateOutlet=\"datePickerInner\"></ng-container>\n </div>\n\n <div #popupArea></div>\n</div>\n<ng-template #datePickerInner>\n <nui-date-picker-inner\n [preserveInsignificant]=\"preserveInsignificant\"\n [selectedDate]=\"selectedDate\"\n [inline]=\"inline\"\n (update)=\"onUpdate($event)\"\n (selectionDone)=\"onSelectionDone($event)\"\n [locale]=\"locale\"\n [datepickerMode]=\"datepickerMode\"\n [initDate]=\"initDate\"\n [minDate]=\"minDate\"\n [maxDate]=\"maxDate\"\n [minMode]=\"minMode\"\n [maxMode]=\"maxMode\"\n [showWeeks]=\"showWeeks\"\n [dateFormat]=\"dateFormat\"\n [formatDay]=\"formatDay\"\n [formatMonth]=\"formatMonth\"\n [formatYear]=\"formatYear\"\n [formatDayHeader]=\"formatDayHeader\"\n [formatDayTitle]=\"formatDayTitle\"\n [formatMonthTitle]=\"formatMonthTitle\"\n [startingDay]=\"startingDay\"\n [yearRange]=\"yearRange\"\n [disabledDates]=\"disabledDates\"\n [onlyCurrentMonth]=\"onlyCurrentMonth\"\n [handleTimezone]=\"handleTimezone\"\n [value]=\"value\"\n >\n <nui-day-picker tabindex=\"0\"></nui-day-picker>\n <nui-month-picker tabindex=\"0\"></nui-month-picker>\n <nui-year-picker tabindex=\"0\"></nui-year-picker>\n </nui-date-picker-inner>\n</ng-template>\n", styles: [".nui .nui-datepicker__textbox.ng-invalid-date{border-color:var(--nui-color-line-critical,#dd2c00)}.nui .nui-datepicker{display:inline-block}.nui .nui-datepicker--inline{display:inline-flex}.nui .nui-datepicker .nui-textbox .has-feedback{width:135px}.nui .nui-datepicker .nui-textbox .has-feedback .nui-textbox__input{line-height:14px}.nui .nui-datepicker__textbox{color:var(--nui-color-active-hover,#006d99)}.nui .nui-datepicker__textbox:disabled{pointer-events:none}.nui .nui-datepicker__textbox:not(:focus){cursor:pointer}.nui .nui-datepicker__container{position:relative}.nui .nui-datepicker__container.disabled .nui-icon{cursor:not-allowed;pointer-events:auto}.nui .nui-datepicker.has-error .nui-datepicker__messages div[ng-message]{clear:both;font-size:11px;font-weight:600;line-height:18px;margin:0 0 7px}.nui .nui-datepicker__icon{cursor:pointer;pointer-events:auto;position:absolute;right:7px;top:7px;z-index:501}.nui .nui-datepicker__icon.disabled{pointer-events:none}.nui .nui-datepicker-inner{min-height:290px;min-width:230px;padding:8px 10px}.nui .nui-datepicker-inner table{outline:none;background-color:transparent}.nui .nui-datepicker-inner table button.btn.btn-action{font-size:13px;outline:none}.nui .nui-datepicker-inner table button.btn.btn-action span{display:block}.nui .nui-datepicker-inner table button.btn.btn-action span.text-info{color:#0079aa;width:100%;color:var(--nui-color-text-link,#0079aa)}.nui .nui-datepicker-inner table button.btn.btn-action span.text-muted{color:var(--nui-color-text-secondary,rgba(17, 17, 17, .6))}.nui .nui-datepicker-inner table button.btn.btn-action span.today{border-bottom:2px solid;border-bottom-color:var(--nui-color-line-active,#0079aa);font-weight:700}.nui .nui-datepicker-inner table button.btn.btn-action span.today:not(.text-info).text-muted{border-bottom-color:#b3b3b3}.nui .nui-datepicker-inner table button.btn.btn-action:disabled{color:var(--nui-color-text-disabled,rgba(17, 17, 17, .3))}.nui .nui-datepicker-inner table button.btn.btn-action:disabled span.text-muted{color:var(--nui-color-text-disabled,rgba(17, 17, 17, .3))}.nui .nui-datepicker-inner table button.btn.btn-action.selected{box-shadow:none;background-color:var(--nui-color-selected-contrast,#00c4d2);color:#fff}.nui .nui-datepicker-inner table button.btn.btn-action.selected:hover{background-color:var(--nui-color-selected-contrast-hover,#00b0bd);border-color:transparent}.nui .nui-datepicker-inner table button.btn.btn-action.selected span{color:#fff}.nui .nui-datepicker-inner table button.btn.btn-action.selected span.today,.nui .nui-datepicker-inner table button.btn.btn-action.selected span.today.text-muted{border-bottom-color:#fff}.nui .nui-datepicker-inner table button span{font-weight:400}.nui .nui-datepicker-inner table th button.btn.btn-action{height:30px;width:100%}.nui .nui-datepicker-inner table th button.btn.btn-action.is-empty{width:30px}.nui .nui-datepicker-inner table th>button.title{width:100%}.nui .nui-datepicker-inner table th>button.title:disabled{opacity:1;color:var(--nui-color-off,#4d4d4d)}.nui .nui-datepicker-inner table th:last-of-type{text-align:right}.nui .nui-datepicker-inner table td.day>.btn.btn-action{height:30px;min-width:30px;padding:0 7px}.nui .nui-datepicker-inner table td.day>.btn.btn-action .nui-button__content{width:100%}.nui .nui-datepicker-inner table td.month>.btn.btn-action{height:52.5px;min-width:70px;padding:0}.nui .nui-datepicker-inner table td.year>.btn.btn-action{height:52.5px;min-width:42px;padding:0}.nui .nui-datepicker-inner table td>button:disabled span.today:not(.text-info){border-bottom-color:#b3b3b3}.nui .nui-datepicker-inner table .today-button{height:30px;max-width:none;width:100%}.nui .nui-datepicker-inner table .today-button:focus{background-color:transparent}.nui .nui-datepicker-inner table .day-label{color:var(--nui-color-text-default,#111);align-items:center;display:flex;height:30px;justify-content:center;min-width:30px}\n"], components: [{ type: i1.TextboxComponent, selector: "nui-textbox", inputs: ["caption", "autocomplete", "info", "customBoxWidth", "disabled", "hint", "name", "placeholder", "readonly", "rows", "type", "value", "isInErrorState", "ariaLabel", "isBusy"], outputs: ["textChange", "blurred"] }, { type: i2.IconComponent, selector: "nui-icon", inputs: ["iconColor", "brushType", "iconHoverColor", "iconSize", "cssClass", "fillContainer", "status", "childStatus", "icon", "counter"] }, { type: i3.OverlayComponent, selector: "nui-overlay", inputs: ["overlayConfig", "toggleReference", "viewportMargin", "customContainer", "roleAttr"], outputs: ["clickOutside"] }, { type: i4.DatePickerInnerComponent, selector: "nui-date-picker-inner", inputs: ["locale", "datepickerMode", "startingDay", "yearRange", "minDate", "maxDate", "minMode", "maxMode", "showWeeks", "dateFormat", "formatDay", "formatMonth", "formatYear", "formatDayHeader", "formatDayTitle", "formatMonthTitle", "onlyCurrentMonth", "preserveInsignificant", "disabledDates", "initDate", "inline", "selectedDate", "handleTimezone", "value"], outputs: ["selectionDone", "update"] }, { type: i5.DayPickerComponent, selector: "nui-day-picker" }, { type: i6.MonthPickerComponent, selector: "nui-month-picker" }, { type: i7.YearPickerComponent, selector: "nui-year-picker" }], directives: [{ type: i8.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i8.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
215
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DatePickerComponent, decorators: [{
|
|
216
|
-
type: Component,
|
|
217
|
-
args: [{ selector: "nui-date-picker", providers: [
|
|
218
|
-
{
|
|
219
|
-
provide: NG_VALUE_ACCESSOR,
|
|
220
|
-
useExisting: forwardRef(() => DatePickerComponent),
|
|
221
|
-
multi: true,
|
|
222
|
-
},
|
|
223
|
-
{
|
|
224
|
-
provide: NG_VALIDATORS,
|
|
225
|
-
useExisting: forwardRef(() => DatePickerComponent),
|
|
226
|
-
multi: true,
|
|
227
|
-
},
|
|
228
|
-
{
|
|
229
|
-
provide: NuiFormFieldControl,
|
|
230
|
-
useExisting: forwardRef(() => DatePickerComponent),
|
|
231
|
-
multi: true,
|
|
232
|
-
},
|
|
233
|
-
], encapsulation: ViewEncapsulation.None, template: "<div class=\"nui-datepicker\">\n <ng-container *ngIf=\"!inline\">\n <div\n #toggleRef\n class=\"nui-datepicker__container\"\n [class.disabled]=\"isDisabled\"\n (click)=\"!isDisabled && overlay.toggle()\"\n >\n <nui-textbox\n #date\n autocomplete=\"off\"\n [disabled]=\"isDisabled\"\n [isInErrorState]=\"isInErrorState\"\n (textChange)=\"onInputActiveDateChanged($event)\"\n (blurred)=\"updateTouchedState()\"\n [ariaLabel]=\"ariaLabel\"\n >\n </nui-textbox>\n <nui-icon\n class=\"nui-datepicker__icon\"\n icon=\"calendar\"\n aria-hidden=\"true\"\n [iconColor]=\"getIconColor()\"\n ></nui-icon>\n </div>\n <nui-overlay\n #overlay\n [toggleReference]=\"toggleRef\"\n [overlayConfig]=\"overlayConfig\"\n [customContainer]=\"customContainer\"\n >\n <ng-container *ngTemplateOutlet=\"datePickerInner\"></ng-container>\n </nui-overlay>\n </ng-container>\n\n <div *ngIf=\"inline\">\n <ng-container *ngTemplateOutlet=\"datePickerInner\"></ng-container>\n </div>\n\n <div #popupArea></div>\n</div>\n<ng-template #datePickerInner>\n <nui-date-picker-inner\n [preserveInsignificant]=\"preserveInsignificant\"\n [selectedDate]=\"selectedDate\"\n [inline]=\"inline\"\n (update)=\"onUpdate($event)\"\n (selectionDone)=\"onSelectionDone($event)\"\n [locale]=\"locale\"\n [datepickerMode]=\"datepickerMode\"\n [initDate]=\"initDate\"\n [minDate]=\"minDate\"\n [maxDate]=\"maxDate\"\n [minMode]=\"minMode\"\n [maxMode]=\"maxMode\"\n [showWeeks]=\"showWeeks\"\n [dateFormat]=\"dateFormat\"\n [formatDay]=\"formatDay\"\n [formatMonth]=\"formatMonth\"\n [formatYear]=\"formatYear\"\n [formatDayHeader]=\"formatDayHeader\"\n [formatDayTitle]=\"formatDayTitle\"\n [formatMonthTitle]=\"formatMonthTitle\"\n [startingDay]=\"startingDay\"\n [yearRange]=\"yearRange\"\n [disabledDates]=\"disabledDates\"\n [onlyCurrentMonth]=\"onlyCurrentMonth\"\n [handleTimezone]=\"handleTimezone\"\n [value]=\"value\"\n >\n <nui-day-picker tabindex=\"0\"></nui-day-picker>\n <nui-month-picker tabindex=\"0\"></nui-month-picker>\n <nui-year-picker tabindex=\"0\"></nui-year-picker>\n </nui-date-picker-inner>\n</ng-template>\n", styles: [".nui .nui-datepicker__textbox.ng-invalid-date{border-color:var(--nui-color-line-critical,#dd2c00)}.nui .nui-datepicker{display:inline-block}.nui .nui-datepicker--inline{display:inline-flex}.nui .nui-datepicker .nui-textbox .has-feedback{width:135px}.nui .nui-datepicker .nui-textbox .has-feedback .nui-textbox__input{line-height:14px}.nui .nui-datepicker__textbox{color:var(--nui-color-active-hover,#006d99)}.nui .nui-datepicker__textbox:disabled{pointer-events:none}.nui .nui-datepicker__textbox:not(:focus){cursor:pointer}.nui .nui-datepicker__container{position:relative}.nui .nui-datepicker__container.disabled .nui-icon{cursor:not-allowed;pointer-events:auto}.nui .nui-datepicker.has-error .nui-datepicker__messages div[ng-message]{clear:both;font-size:11px;font-weight:600;line-height:18px;margin:0 0 7px}.nui .nui-datepicker__icon{cursor:pointer;pointer-events:auto;position:absolute;right:7px;top:7px;z-index:501}.nui .nui-datepicker__icon.disabled{pointer-events:none}.nui .nui-datepicker-inner{min-height:290px;min-width:230px;padding:8px 10px}.nui .nui-datepicker-inner table{outline:none;background-color:transparent}.nui .nui-datepicker-inner table button.btn.btn-action{font-size:13px;outline:none}.nui .nui-datepicker-inner table button.btn.btn-action span{display:block}.nui .nui-datepicker-inner table button.btn.btn-action span.text-info{color:#0079aa;width:100%;color:var(--nui-color-text-link,#0079aa)}.nui .nui-datepicker-inner table button.btn.btn-action span.text-muted{color:var(--nui-color-text-secondary,rgba(17, 17, 17, .6))}.nui .nui-datepicker-inner table button.btn.btn-action span.today{border-bottom:2px solid;border-bottom-color:var(--nui-color-line-active,#0079aa);font-weight:700}.nui .nui-datepicker-inner table button.btn.btn-action span.today:not(.text-info).text-muted{border-bottom-color:#b3b3b3}.nui .nui-datepicker-inner table button.btn.btn-action:disabled{color:var(--nui-color-text-disabled,rgba(17, 17, 17, .3))}.nui .nui-datepicker-inner table button.btn.btn-action:disabled span.text-muted{color:var(--nui-color-text-disabled,rgba(17, 17, 17, .3))}.nui .nui-datepicker-inner table button.btn.btn-action.selected{box-shadow:none;background-color:var(--nui-color-selected-contrast,#00c4d2);color:#fff}.nui .nui-datepicker-inner table button.btn.btn-action.selected:hover{background-color:var(--nui-color-selected-contrast-hover,#00b0bd);border-color:transparent}.nui .nui-datepicker-inner table button.btn.btn-action.selected span{color:#fff}.nui .nui-datepicker-inner table button.btn.btn-action.selected span.today,.nui .nui-datepicker-inner table button.btn.btn-action.selected span.today.text-muted{border-bottom-color:#fff}.nui .nui-datepicker-inner table button span{font-weight:400}.nui .nui-datepicker-inner table th button.btn.btn-action{height:30px;width:100%}.nui .nui-datepicker-inner table th button.btn.btn-action.is-empty{width:30px}.nui .nui-datepicker-inner table th>button.title{width:100%}.nui .nui-datepicker-inner table th>button.title:disabled{opacity:1;color:var(--nui-color-off,#4d4d4d)}.nui .nui-datepicker-inner table th:last-of-type{text-align:right}.nui .nui-datepicker-inner table td.day>.btn.btn-action{height:30px;min-width:30px;padding:0 7px}.nui .nui-datepicker-inner table td.day>.btn.btn-action .nui-button__content{width:100%}.nui .nui-datepicker-inner table td.month>.btn.btn-action{height:52.5px;min-width:70px;padding:0}.nui .nui-datepicker-inner table td.year>.btn.btn-action{height:52.5px;min-width:42px;padding:0}.nui .nui-datepicker-inner table td>button:disabled span.today:not(.text-info){border-bottom-color:#b3b3b3}.nui .nui-datepicker-inner table .today-button{height:30px;max-width:none;width:100%}.nui .nui-datepicker-inner table .today-button:focus{background-color:transparent}.nui .nui-datepicker-inner table .day-label{color:var(--nui-color-text-default,#111);align-items:center;display:flex;height:30px;justify-content:center;min-width:30px}\n"] }]
|
|
234
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { inline: [{
|
|
235
|
-
type: HostBinding,
|
|
236
|
-
args: ["class.nui-datepicker--inline"]
|
|
237
|
-
}, {
|
|
238
|
-
type: Input
|
|
239
|
-
}], isRequired: [{
|
|
240
|
-
type: Input
|
|
241
|
-
}], isDisabled: [{
|
|
242
|
-
type: Input
|
|
243
|
-
}], isInErrorState: [{
|
|
244
|
-
type: Input
|
|
245
|
-
}], ariaLabel: [{
|
|
246
|
-
type: Input
|
|
247
|
-
}], locale: [{
|
|
248
|
-
type: Input
|
|
249
|
-
}], datepickerMode: [{
|
|
250
|
-
type: Input
|
|
251
|
-
}], minDate: [{
|
|
252
|
-
type: Input
|
|
253
|
-
}], maxDate: [{
|
|
254
|
-
type: Input
|
|
255
|
-
}], minMode: [{
|
|
256
|
-
type: Input
|
|
257
|
-
}], maxMode: [{
|
|
258
|
-
type: Input
|
|
259
|
-
}], showWeeks: [{
|
|
260
|
-
type: Input
|
|
261
|
-
}], dateFormat: [{
|
|
262
|
-
type: Input
|
|
263
|
-
}], formatDay: [{
|
|
264
|
-
type: Input
|
|
265
|
-
}], formatMonth: [{
|
|
266
|
-
type: Input
|
|
267
|
-
}], formatYear: [{
|
|
268
|
-
type: Input
|
|
269
|
-
}], formatDayHeader: [{
|
|
270
|
-
type: Input
|
|
271
|
-
}], formatDayTitle: [{
|
|
272
|
-
type: Input
|
|
273
|
-
}], formatMonthTitle: [{
|
|
274
|
-
type: Input
|
|
275
|
-
}], startingDay: [{
|
|
276
|
-
type: Input
|
|
277
|
-
}], yearRange: [{
|
|
278
|
-
type: Input
|
|
279
|
-
}], onlyCurrentMonth: [{
|
|
280
|
-
type: Input
|
|
281
|
-
}], preserveInsignificant: [{
|
|
282
|
-
type: Input
|
|
283
|
-
}], disabledDates: [{
|
|
284
|
-
type: Input
|
|
285
|
-
}], handleTimezone: [{
|
|
286
|
-
type: Input
|
|
287
|
-
}], appendToBody: [{
|
|
288
|
-
type: Input
|
|
289
|
-
}], value: [{
|
|
290
|
-
type: Input
|
|
291
|
-
}], selectionDone: [{
|
|
292
|
-
type: Output
|
|
293
|
-
}], valueChange: [{
|
|
294
|
-
type: Output
|
|
295
|
-
}], calendarNavigated: [{
|
|
296
|
-
type: Output
|
|
297
|
-
}], inputBlurred: [{
|
|
298
|
-
type: Output
|
|
299
|
-
}], _datePicker: [{
|
|
300
|
-
type: ViewChild,
|
|
301
|
-
args: [DatePickerInnerComponent]
|
|
302
|
-
}], textbox: [{
|
|
303
|
-
type: ViewChild,
|
|
304
|
-
args: ["date"]
|
|
305
|
-
}], popupArea: [{
|
|
306
|
-
type: ViewChild,
|
|
307
|
-
args: ["popupArea", { static: true }]
|
|
308
|
-
}], overlay: [{
|
|
309
|
-
type: ViewChild,
|
|
310
|
-
args: [OverlayComponent]
|
|
311
|
-
}] } });
|
|
1
|
+
import { ChangeDetectorRef, Component, ElementRef, EventEmitter, forwardRef, HostBinding, Input, Output, ViewChild, ViewEncapsulation, } from "@angular/core";
|
|
2
|
+
import { NG_VALIDATORS, NG_VALUE_ACCESSOR, } from "@angular/forms";
|
|
3
|
+
import _defaults from "lodash/defaults";
|
|
4
|
+
import _isEqual from "lodash/isEqual";
|
|
5
|
+
import _isNil from "lodash/isNil";
|
|
6
|
+
import _isNull from "lodash/isNull";
|
|
7
|
+
import moment from "moment/moment";
|
|
8
|
+
import { Subject } from "rxjs";
|
|
9
|
+
import { debounceTime, takeUntil } from "rxjs/operators";
|
|
10
|
+
import { NuiValidators } from "../../validators";
|
|
11
|
+
import { NuiFormFieldControl } from "../form-field/public-api";
|
|
12
|
+
import { OVERLAY_WITH_POPUP_STYLES_CLASS } from "../overlay/constants";
|
|
13
|
+
import { OverlayComponent } from "../overlay/overlay-component/overlay.component";
|
|
14
|
+
import { TextboxComponent } from "../textbox/textbox.component";
|
|
15
|
+
import { DatePickerInnerComponent } from "./date-picker-inner.component";
|
|
16
|
+
import { datePickerDateFormats, datePickerDefaults, } from "./public-api";
|
|
17
|
+
import * as i0 from "@angular/core";
|
|
18
|
+
import * as i1 from "../textbox/textbox.component";
|
|
19
|
+
import * as i2 from "../icon/icon.component";
|
|
20
|
+
import * as i3 from "../overlay/overlay-component/overlay.component";
|
|
21
|
+
import * as i4 from "./date-picker-inner.component";
|
|
22
|
+
import * as i5 from "./date-picker-day-picker.component";
|
|
23
|
+
import * as i6 from "./date-picker-month-picker.component";
|
|
24
|
+
import * as i7 from "./date-picker-year-picker.component";
|
|
25
|
+
import * as i8 from "@angular/common";
|
|
26
|
+
// <example-url>./../examples/index.html#/date-picker</example-url><br />
|
|
27
|
+
export class DatePickerComponent {
|
|
28
|
+
constructor(cd) {
|
|
29
|
+
this.cd = cd;
|
|
30
|
+
/** Input to set aria label text */
|
|
31
|
+
this.ariaLabel = "Date Picker";
|
|
32
|
+
/** sets date-picker mode, supports: `day`, `month`, `year` */
|
|
33
|
+
this.datepickerMode = "day";
|
|
34
|
+
/** if false week numbers will be hidden */
|
|
35
|
+
this.showWeeks = false;
|
|
36
|
+
/** number of months displayed in a single row of month picker */
|
|
37
|
+
this.preserveInsignificant = false;
|
|
38
|
+
this.selectionDone = new EventEmitter();
|
|
39
|
+
/** callback to invoke when the value is changed. */
|
|
40
|
+
this.valueChange = new EventEmitter();
|
|
41
|
+
this.calendarNavigated = new EventEmitter();
|
|
42
|
+
this.inputBlurred = new EventEmitter();
|
|
43
|
+
this.onDestroy$ = new Subject();
|
|
44
|
+
this.overlayConfig = {
|
|
45
|
+
panelClass: [OVERLAY_WITH_POPUP_STYLES_CLASS],
|
|
46
|
+
};
|
|
47
|
+
this._todayDate = moment();
|
|
48
|
+
this.inputChanged = new Subject();
|
|
49
|
+
}
|
|
50
|
+
/** currently active date */
|
|
51
|
+
get value() {
|
|
52
|
+
return this._value;
|
|
53
|
+
}
|
|
54
|
+
set value(value) {
|
|
55
|
+
if (!this.preserveInsignificant && value) {
|
|
56
|
+
value.set({ hour: 0, minute: 0, second: 0, millisecond: 0 });
|
|
57
|
+
}
|
|
58
|
+
if (!value || (value && value.isSame(this._value))) {
|
|
59
|
+
return;
|
|
60
|
+
}
|
|
61
|
+
this.setDate(value);
|
|
62
|
+
this.updateTextboxValue();
|
|
63
|
+
}
|
|
64
|
+
ngOnInit() {
|
|
65
|
+
_defaults(this, datePickerDefaults);
|
|
66
|
+
this.selectedDate = this._value;
|
|
67
|
+
this.initDate = this.value && this.value.clone();
|
|
68
|
+
this.setDateFormat();
|
|
69
|
+
this.inputChanged.pipe(debounceTime(500)).subscribe((value) => {
|
|
70
|
+
const momentValue = moment(value, datePickerDateFormats, true);
|
|
71
|
+
this.onTouched();
|
|
72
|
+
// In case of FormControl absence we still need to perform validation
|
|
73
|
+
const templateDrivenControlValid = !this.formControl &&
|
|
74
|
+
_isNull(NuiValidators.dateFormat(momentValue));
|
|
75
|
+
const reactiveDrivenControlValid = this.formControl &&
|
|
76
|
+
this.formControl.valid &&
|
|
77
|
+
_isNull(NuiValidators.dateFormat(momentValue));
|
|
78
|
+
const isInputValid = (templateDrivenControlValid || reactiveDrivenControlValid) &&
|
|
79
|
+
!this.isDateDisabled(momentValue);
|
|
80
|
+
this.setDate(momentValue);
|
|
81
|
+
this.setErrorState(!isInputValid);
|
|
82
|
+
if (this.value.isValid() &&
|
|
83
|
+
!_isEqual(this.value.format(this.momentDateFormat), value)) {
|
|
84
|
+
this.updateTextboxValue();
|
|
85
|
+
}
|
|
86
|
+
});
|
|
87
|
+
this.onAppendToBodyChange(this.appendToBody);
|
|
88
|
+
}
|
|
89
|
+
ngOnChanges(changes) {
|
|
90
|
+
if (changes.appendToBody) {
|
|
91
|
+
this.onAppendToBodyChange(changes.appendToBody.currentValue);
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
ngAfterViewInit() {
|
|
95
|
+
this.calendarChanged = this._datePicker.calendarMoved.subscribe((value) => this.calendarNavigated.emit(value));
|
|
96
|
+
this.updateTextboxValue();
|
|
97
|
+
this.cd.detectChanges();
|
|
98
|
+
if (this.overlay) {
|
|
99
|
+
this.overlay.clickOutside
|
|
100
|
+
.pipe(takeUntil(this.onDestroy$))
|
|
101
|
+
.subscribe((_) => this.overlay.hide());
|
|
102
|
+
// Sets innerDatePicker 'value' to 'null' on popup close and refreshView() on popup open,
|
|
103
|
+
// so in case datePicker.value is invalid it will build the calendar from the scratch
|
|
104
|
+
// and not keep its previous state.
|
|
105
|
+
this.overlay.show$
|
|
106
|
+
.pipe(takeUntil(this.onDestroy$))
|
|
107
|
+
.subscribe((_) => this._datePicker.refreshView());
|
|
108
|
+
this.overlay.hide$
|
|
109
|
+
.pipe(takeUntil(this.onDestroy$))
|
|
110
|
+
.subscribe((_) => {
|
|
111
|
+
const currentDateValid = this.value?.isValid();
|
|
112
|
+
if (!currentDateValid) {
|
|
113
|
+
this._datePicker.value = undefined;
|
|
114
|
+
this._datePicker.datepickerMode = "day";
|
|
115
|
+
}
|
|
116
|
+
});
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
updateTouchedState() {
|
|
120
|
+
setTimeout(() => this.inputBlurred.emit(), 100);
|
|
121
|
+
this.onTouched();
|
|
122
|
+
}
|
|
123
|
+
onUpdate(event) {
|
|
124
|
+
this.value = event;
|
|
125
|
+
this.selectionDone.emit(event);
|
|
126
|
+
this.setErrorState(false);
|
|
127
|
+
}
|
|
128
|
+
setDate(value) {
|
|
129
|
+
this._value = value;
|
|
130
|
+
this.selectedDate = value;
|
|
131
|
+
this.valueChange.emit(value);
|
|
132
|
+
this.onChange(value);
|
|
133
|
+
}
|
|
134
|
+
onInputActiveDateChanged(value) {
|
|
135
|
+
this.inputChanged.next(value);
|
|
136
|
+
}
|
|
137
|
+
getIconColor() {
|
|
138
|
+
return this.isDisabled ? "gray" : "primary-blue";
|
|
139
|
+
}
|
|
140
|
+
onChange(value) { }
|
|
141
|
+
onTouched() { }
|
|
142
|
+
validate(control) {
|
|
143
|
+
this.formControl = control;
|
|
144
|
+
return NuiValidators.dateFormat(control.value);
|
|
145
|
+
}
|
|
146
|
+
writeValue(value) {
|
|
147
|
+
this.value = value;
|
|
148
|
+
}
|
|
149
|
+
registerOnChange(fn) {
|
|
150
|
+
this.onChange = fn;
|
|
151
|
+
}
|
|
152
|
+
registerOnTouched(fn) {
|
|
153
|
+
this.onTouched = fn;
|
|
154
|
+
}
|
|
155
|
+
setDisabledState(isDisabled) {
|
|
156
|
+
this.isDisabled = isDisabled;
|
|
157
|
+
}
|
|
158
|
+
setErrorState(isInErrorState) {
|
|
159
|
+
this.isInErrorState = isInErrorState;
|
|
160
|
+
}
|
|
161
|
+
onSelectionDone(value) {
|
|
162
|
+
this.value = value;
|
|
163
|
+
this.overlay?.hide();
|
|
164
|
+
}
|
|
165
|
+
updateTextboxValue(value = this._value) {
|
|
166
|
+
if (!this.textbox || !value) {
|
|
167
|
+
return;
|
|
168
|
+
}
|
|
169
|
+
this.textbox.writeValue(moment(value).format(this.momentDateFormat));
|
|
170
|
+
}
|
|
171
|
+
isDateDisabled(value) {
|
|
172
|
+
return this._datePicker.isDisabled(value);
|
|
173
|
+
}
|
|
174
|
+
setDateFormat() {
|
|
175
|
+
const isCustomFormatValid = !_isNil(this.dateFormat) &&
|
|
176
|
+
moment(this._todayDate.format(this.dateFormat), datePickerDateFormats, true).isValid();
|
|
177
|
+
this.momentDateFormat = isCustomFormatValid
|
|
178
|
+
? this.dateFormat
|
|
179
|
+
: datePickerDefaults.dateFormat;
|
|
180
|
+
}
|
|
181
|
+
ngOnDestroy() {
|
|
182
|
+
// The following resolves a known 'Error during cleanup of component:' error during unit tests
|
|
183
|
+
// Details: https://github.com/angular/angular/issues/17013
|
|
184
|
+
if (this.calendarChanged) {
|
|
185
|
+
this.calendarChanged.unsubscribe();
|
|
186
|
+
}
|
|
187
|
+
if (this.overlay?.showing) {
|
|
188
|
+
this.overlay.hide();
|
|
189
|
+
}
|
|
190
|
+
this.onDestroy$.next();
|
|
191
|
+
this.onDestroy$.complete();
|
|
192
|
+
}
|
|
193
|
+
onAppendToBodyChange(appendToBody) {
|
|
194
|
+
this.customContainer = appendToBody ? undefined : this.popupArea;
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
DatePickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DatePickerComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
198
|
+
DatePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: DatePickerComponent, selector: "nui-date-picker", inputs: { inline: "inline", isRequired: "isRequired", isDisabled: "isDisabled", isInErrorState: "isInErrorState", ariaLabel: "ariaLabel", locale: "locale", datepickerMode: "datepickerMode", minDate: "minDate", maxDate: "maxDate", minMode: "minMode", maxMode: "maxMode", showWeeks: "showWeeks", dateFormat: "dateFormat", formatDay: "formatDay", formatMonth: "formatMonth", formatYear: "formatYear", formatDayHeader: "formatDayHeader", formatDayTitle: "formatDayTitle", formatMonthTitle: "formatMonthTitle", startingDay: "startingDay", yearRange: "yearRange", onlyCurrentMonth: "onlyCurrentMonth", preserveInsignificant: "preserveInsignificant", disabledDates: "disabledDates", handleTimezone: "handleTimezone", appendToBody: "appendToBody", value: "value" }, outputs: { selectionDone: "selectionDone", valueChange: "valueChange", calendarNavigated: "calendarNavigated", inputBlurred: "inputBlurred" }, host: { properties: { "class.nui-datepicker--inline": "this.inline" } }, providers: [
|
|
199
|
+
{
|
|
200
|
+
provide: NG_VALUE_ACCESSOR,
|
|
201
|
+
useExisting: forwardRef(() => DatePickerComponent),
|
|
202
|
+
multi: true,
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
provide: NG_VALIDATORS,
|
|
206
|
+
useExisting: forwardRef(() => DatePickerComponent),
|
|
207
|
+
multi: true,
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
provide: NuiFormFieldControl,
|
|
211
|
+
useExisting: forwardRef(() => DatePickerComponent),
|
|
212
|
+
multi: true,
|
|
213
|
+
},
|
|
214
|
+
], viewQueries: [{ propertyName: "_datePicker", first: true, predicate: DatePickerInnerComponent, descendants: true }, { propertyName: "textbox", first: true, predicate: ["date"], descendants: true }, { propertyName: "popupArea", first: true, predicate: ["popupArea"], descendants: true, static: true }, { propertyName: "overlay", first: true, predicate: OverlayComponent, descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div class=\"nui-datepicker\">\n <ng-container *ngIf=\"!inline\">\n <div\n #toggleRef\n class=\"nui-datepicker__container\"\n [class.disabled]=\"isDisabled\"\n (click)=\"!isDisabled && overlay.toggle()\"\n >\n <nui-textbox\n #date\n autocomplete=\"off\"\n [disabled]=\"isDisabled\"\n [isInErrorState]=\"isInErrorState\"\n (textChange)=\"onInputActiveDateChanged($event)\"\n (blurred)=\"updateTouchedState()\"\n [ariaLabel]=\"ariaLabel\"\n >\n </nui-textbox>\n <nui-icon\n class=\"nui-datepicker__icon\"\n icon=\"calendar\"\n aria-hidden=\"true\"\n [iconColor]=\"getIconColor()\"\n ></nui-icon>\n </div>\n <nui-overlay\n #overlay\n [toggleReference]=\"toggleRef\"\n [overlayConfig]=\"overlayConfig\"\n [customContainer]=\"customContainer\"\n >\n <ng-container *ngTemplateOutlet=\"datePickerInner\"></ng-container>\n </nui-overlay>\n </ng-container>\n\n <div *ngIf=\"inline\">\n <ng-container *ngTemplateOutlet=\"datePickerInner\"></ng-container>\n </div>\n\n <div #popupArea></div>\n</div>\n<ng-template #datePickerInner>\n <nui-date-picker-inner\n [preserveInsignificant]=\"preserveInsignificant\"\n [selectedDate]=\"selectedDate\"\n [inline]=\"inline\"\n (update)=\"onUpdate($event)\"\n (selectionDone)=\"onSelectionDone($event)\"\n [locale]=\"locale\"\n [datepickerMode]=\"datepickerMode\"\n [initDate]=\"initDate\"\n [minDate]=\"minDate\"\n [maxDate]=\"maxDate\"\n [minMode]=\"minMode\"\n [maxMode]=\"maxMode\"\n [showWeeks]=\"showWeeks\"\n [dateFormat]=\"dateFormat\"\n [formatDay]=\"formatDay\"\n [formatMonth]=\"formatMonth\"\n [formatYear]=\"formatYear\"\n [formatDayHeader]=\"formatDayHeader\"\n [formatDayTitle]=\"formatDayTitle\"\n [formatMonthTitle]=\"formatMonthTitle\"\n [startingDay]=\"startingDay\"\n [yearRange]=\"yearRange\"\n [disabledDates]=\"disabledDates\"\n [onlyCurrentMonth]=\"onlyCurrentMonth\"\n [handleTimezone]=\"handleTimezone\"\n [value]=\"value\"\n >\n <nui-day-picker tabindex=\"0\"></nui-day-picker>\n <nui-month-picker tabindex=\"0\"></nui-month-picker>\n <nui-year-picker tabindex=\"0\"></nui-year-picker>\n </nui-date-picker-inner>\n</ng-template>\n", styles: [".nui .nui-datepicker__textbox.ng-invalid-date{border-color:var(--nui-color-line-critical,#dd2c00)}.nui .nui-datepicker{display:inline-block}.nui .nui-datepicker--inline{display:inline-flex}.nui .nui-datepicker .nui-textbox .has-feedback{width:135px}.nui .nui-datepicker .nui-textbox .has-feedback .nui-textbox__input{line-height:14px}.nui .nui-datepicker__textbox{color:var(--nui-color-active-hover,#006d99)}.nui .nui-datepicker__textbox:disabled{pointer-events:none}.nui .nui-datepicker__textbox:not(:focus){cursor:pointer}.nui .nui-datepicker__container{position:relative}.nui .nui-datepicker__container.disabled .nui-icon{cursor:not-allowed;pointer-events:auto}.nui .nui-datepicker.has-error .nui-datepicker__messages div[ng-message]{clear:both;font-size:11px;font-weight:600;line-height:18px;margin:0 0 7px}.nui .nui-datepicker__icon{cursor:pointer;pointer-events:auto;position:absolute;right:7px;top:7px;z-index:501}.nui .nui-datepicker__icon.disabled{pointer-events:none}.nui .nui-datepicker-inner{min-height:290px;min-width:230px;padding:8px 10px}.nui .nui-datepicker-inner table{outline:none;background-color:transparent}.nui .nui-datepicker-inner table button.btn.btn-action{font-size:13px;outline:none}.nui .nui-datepicker-inner table button.btn.btn-action span{display:block}.nui .nui-datepicker-inner table button.btn.btn-action span.text-info{color:#0079aa;width:100%;color:var(--nui-color-text-link,#0079aa)}.nui .nui-datepicker-inner table button.btn.btn-action span.text-muted{color:var(--nui-color-text-secondary,rgba(17, 17, 17, .6))}.nui .nui-datepicker-inner table button.btn.btn-action span.today{border-bottom:2px solid;border-bottom-color:var(--nui-color-line-active,#0079aa);font-weight:700}.nui .nui-datepicker-inner table button.btn.btn-action span.today:not(.text-info).text-muted{border-bottom-color:#b3b3b3}.nui .nui-datepicker-inner table button.btn.btn-action:disabled{color:var(--nui-color-text-disabled,rgba(17, 17, 17, .3))}.nui .nui-datepicker-inner table button.btn.btn-action:disabled span.text-muted{color:var(--nui-color-text-disabled,rgba(17, 17, 17, .3))}.nui .nui-datepicker-inner table button.btn.btn-action.selected{box-shadow:none;background-color:var(--nui-color-selected-contrast,#00c4d2);color:#fff}.nui .nui-datepicker-inner table button.btn.btn-action.selected:hover{background-color:var(--nui-color-selected-contrast-hover,#00b0bd);border-color:transparent}.nui .nui-datepicker-inner table button.btn.btn-action.selected span{color:#fff}.nui .nui-datepicker-inner table button.btn.btn-action.selected span.today,.nui .nui-datepicker-inner table button.btn.btn-action.selected span.today.text-muted{border-bottom-color:#fff}.nui .nui-datepicker-inner table button span{font-weight:400}.nui .nui-datepicker-inner table th button.btn.btn-action{height:30px;width:100%}.nui .nui-datepicker-inner table th button.btn.btn-action.is-empty{width:30px}.nui .nui-datepicker-inner table th>button.title{width:100%}.nui .nui-datepicker-inner table th>button.title:disabled{opacity:1;color:var(--nui-color-off,#4d4d4d)}.nui .nui-datepicker-inner table th:last-of-type{text-align:right}.nui .nui-datepicker-inner table td.day>.btn.btn-action{height:30px;min-width:30px;padding:0 7px}.nui .nui-datepicker-inner table td.day>.btn.btn-action .nui-button__content{width:100%}.nui .nui-datepicker-inner table td.month>.btn.btn-action{height:52.5px;min-width:70px;padding:0}.nui .nui-datepicker-inner table td.year>.btn.btn-action{height:52.5px;min-width:42px;padding:0}.nui .nui-datepicker-inner table td>button:disabled span.today:not(.text-info){border-bottom-color:#b3b3b3}.nui .nui-datepicker-inner table .today-button{height:30px;max-width:none;width:100%}.nui .nui-datepicker-inner table .today-button:focus{background-color:transparent}.nui .nui-datepicker-inner table .day-label{color:var(--nui-color-text-default,#111);align-items:center;display:flex;height:30px;justify-content:center;min-width:30px}\n"], components: [{ type: i1.TextboxComponent, selector: "nui-textbox", inputs: ["caption", "autocomplete", "info", "customBoxWidth", "disabled", "hint", "name", "placeholder", "readonly", "rows", "type", "value", "isInErrorState", "ariaLabel", "isBusy"], outputs: ["textChange", "blurred"] }, { type: i2.IconComponent, selector: "nui-icon", inputs: ["iconColor", "brushType", "iconHoverColor", "iconSize", "cssClass", "fillContainer", "status", "childStatus", "icon", "counter"] }, { type: i3.OverlayComponent, selector: "nui-overlay", inputs: ["overlayConfig", "toggleReference", "viewportMargin", "customContainer", "roleAttr"], outputs: ["clickOutside"] }, { type: i4.DatePickerInnerComponent, selector: "nui-date-picker-inner", inputs: ["locale", "datepickerMode", "startingDay", "yearRange", "minDate", "maxDate", "minMode", "maxMode", "showWeeks", "dateFormat", "formatDay", "formatMonth", "formatYear", "formatDayHeader", "formatDayTitle", "formatMonthTitle", "onlyCurrentMonth", "preserveInsignificant", "disabledDates", "initDate", "inline", "selectedDate", "handleTimezone", "value"], outputs: ["selectionDone", "update"] }, { type: i5.DayPickerComponent, selector: "nui-day-picker" }, { type: i6.MonthPickerComponent, selector: "nui-month-picker" }, { type: i7.YearPickerComponent, selector: "nui-year-picker" }], directives: [{ type: i8.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i8.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
215
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DatePickerComponent, decorators: [{
|
|
216
|
+
type: Component,
|
|
217
|
+
args: [{ selector: "nui-date-picker", providers: [
|
|
218
|
+
{
|
|
219
|
+
provide: NG_VALUE_ACCESSOR,
|
|
220
|
+
useExisting: forwardRef(() => DatePickerComponent),
|
|
221
|
+
multi: true,
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
provide: NG_VALIDATORS,
|
|
225
|
+
useExisting: forwardRef(() => DatePickerComponent),
|
|
226
|
+
multi: true,
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
provide: NuiFormFieldControl,
|
|
230
|
+
useExisting: forwardRef(() => DatePickerComponent),
|
|
231
|
+
multi: true,
|
|
232
|
+
},
|
|
233
|
+
], encapsulation: ViewEncapsulation.None, template: "<div class=\"nui-datepicker\">\n <ng-container *ngIf=\"!inline\">\n <div\n #toggleRef\n class=\"nui-datepicker__container\"\n [class.disabled]=\"isDisabled\"\n (click)=\"!isDisabled && overlay.toggle()\"\n >\n <nui-textbox\n #date\n autocomplete=\"off\"\n [disabled]=\"isDisabled\"\n [isInErrorState]=\"isInErrorState\"\n (textChange)=\"onInputActiveDateChanged($event)\"\n (blurred)=\"updateTouchedState()\"\n [ariaLabel]=\"ariaLabel\"\n >\n </nui-textbox>\n <nui-icon\n class=\"nui-datepicker__icon\"\n icon=\"calendar\"\n aria-hidden=\"true\"\n [iconColor]=\"getIconColor()\"\n ></nui-icon>\n </div>\n <nui-overlay\n #overlay\n [toggleReference]=\"toggleRef\"\n [overlayConfig]=\"overlayConfig\"\n [customContainer]=\"customContainer\"\n >\n <ng-container *ngTemplateOutlet=\"datePickerInner\"></ng-container>\n </nui-overlay>\n </ng-container>\n\n <div *ngIf=\"inline\">\n <ng-container *ngTemplateOutlet=\"datePickerInner\"></ng-container>\n </div>\n\n <div #popupArea></div>\n</div>\n<ng-template #datePickerInner>\n <nui-date-picker-inner\n [preserveInsignificant]=\"preserveInsignificant\"\n [selectedDate]=\"selectedDate\"\n [inline]=\"inline\"\n (update)=\"onUpdate($event)\"\n (selectionDone)=\"onSelectionDone($event)\"\n [locale]=\"locale\"\n [datepickerMode]=\"datepickerMode\"\n [initDate]=\"initDate\"\n [minDate]=\"minDate\"\n [maxDate]=\"maxDate\"\n [minMode]=\"minMode\"\n [maxMode]=\"maxMode\"\n [showWeeks]=\"showWeeks\"\n [dateFormat]=\"dateFormat\"\n [formatDay]=\"formatDay\"\n [formatMonth]=\"formatMonth\"\n [formatYear]=\"formatYear\"\n [formatDayHeader]=\"formatDayHeader\"\n [formatDayTitle]=\"formatDayTitle\"\n [formatMonthTitle]=\"formatMonthTitle\"\n [startingDay]=\"startingDay\"\n [yearRange]=\"yearRange\"\n [disabledDates]=\"disabledDates\"\n [onlyCurrentMonth]=\"onlyCurrentMonth\"\n [handleTimezone]=\"handleTimezone\"\n [value]=\"value\"\n >\n <nui-day-picker tabindex=\"0\"></nui-day-picker>\n <nui-month-picker tabindex=\"0\"></nui-month-picker>\n <nui-year-picker tabindex=\"0\"></nui-year-picker>\n </nui-date-picker-inner>\n</ng-template>\n", styles: [".nui .nui-datepicker__textbox.ng-invalid-date{border-color:var(--nui-color-line-critical,#dd2c00)}.nui .nui-datepicker{display:inline-block}.nui .nui-datepicker--inline{display:inline-flex}.nui .nui-datepicker .nui-textbox .has-feedback{width:135px}.nui .nui-datepicker .nui-textbox .has-feedback .nui-textbox__input{line-height:14px}.nui .nui-datepicker__textbox{color:var(--nui-color-active-hover,#006d99)}.nui .nui-datepicker__textbox:disabled{pointer-events:none}.nui .nui-datepicker__textbox:not(:focus){cursor:pointer}.nui .nui-datepicker__container{position:relative}.nui .nui-datepicker__container.disabled .nui-icon{cursor:not-allowed;pointer-events:auto}.nui .nui-datepicker.has-error .nui-datepicker__messages div[ng-message]{clear:both;font-size:11px;font-weight:600;line-height:18px;margin:0 0 7px}.nui .nui-datepicker__icon{cursor:pointer;pointer-events:auto;position:absolute;right:7px;top:7px;z-index:501}.nui .nui-datepicker__icon.disabled{pointer-events:none}.nui .nui-datepicker-inner{min-height:290px;min-width:230px;padding:8px 10px}.nui .nui-datepicker-inner table{outline:none;background-color:transparent}.nui .nui-datepicker-inner table button.btn.btn-action{font-size:13px;outline:none}.nui .nui-datepicker-inner table button.btn.btn-action span{display:block}.nui .nui-datepicker-inner table button.btn.btn-action span.text-info{color:#0079aa;width:100%;color:var(--nui-color-text-link,#0079aa)}.nui .nui-datepicker-inner table button.btn.btn-action span.text-muted{color:var(--nui-color-text-secondary,rgba(17, 17, 17, .6))}.nui .nui-datepicker-inner table button.btn.btn-action span.today{border-bottom:2px solid;border-bottom-color:var(--nui-color-line-active,#0079aa);font-weight:700}.nui .nui-datepicker-inner table button.btn.btn-action span.today:not(.text-info).text-muted{border-bottom-color:#b3b3b3}.nui .nui-datepicker-inner table button.btn.btn-action:disabled{color:var(--nui-color-text-disabled,rgba(17, 17, 17, .3))}.nui .nui-datepicker-inner table button.btn.btn-action:disabled span.text-muted{color:var(--nui-color-text-disabled,rgba(17, 17, 17, .3))}.nui .nui-datepicker-inner table button.btn.btn-action.selected{box-shadow:none;background-color:var(--nui-color-selected-contrast,#00c4d2);color:#fff}.nui .nui-datepicker-inner table button.btn.btn-action.selected:hover{background-color:var(--nui-color-selected-contrast-hover,#00b0bd);border-color:transparent}.nui .nui-datepicker-inner table button.btn.btn-action.selected span{color:#fff}.nui .nui-datepicker-inner table button.btn.btn-action.selected span.today,.nui .nui-datepicker-inner table button.btn.btn-action.selected span.today.text-muted{border-bottom-color:#fff}.nui .nui-datepicker-inner table button span{font-weight:400}.nui .nui-datepicker-inner table th button.btn.btn-action{height:30px;width:100%}.nui .nui-datepicker-inner table th button.btn.btn-action.is-empty{width:30px}.nui .nui-datepicker-inner table th>button.title{width:100%}.nui .nui-datepicker-inner table th>button.title:disabled{opacity:1;color:var(--nui-color-off,#4d4d4d)}.nui .nui-datepicker-inner table th:last-of-type{text-align:right}.nui .nui-datepicker-inner table td.day>.btn.btn-action{height:30px;min-width:30px;padding:0 7px}.nui .nui-datepicker-inner table td.day>.btn.btn-action .nui-button__content{width:100%}.nui .nui-datepicker-inner table td.month>.btn.btn-action{height:52.5px;min-width:70px;padding:0}.nui .nui-datepicker-inner table td.year>.btn.btn-action{height:52.5px;min-width:42px;padding:0}.nui .nui-datepicker-inner table td>button:disabled span.today:not(.text-info){border-bottom-color:#b3b3b3}.nui .nui-datepicker-inner table .today-button{height:30px;max-width:none;width:100%}.nui .nui-datepicker-inner table .today-button:focus{background-color:transparent}.nui .nui-datepicker-inner table .day-label{color:var(--nui-color-text-default,#111);align-items:center;display:flex;height:30px;justify-content:center;min-width:30px}\n"] }]
|
|
234
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { inline: [{
|
|
235
|
+
type: HostBinding,
|
|
236
|
+
args: ["class.nui-datepicker--inline"]
|
|
237
|
+
}, {
|
|
238
|
+
type: Input
|
|
239
|
+
}], isRequired: [{
|
|
240
|
+
type: Input
|
|
241
|
+
}], isDisabled: [{
|
|
242
|
+
type: Input
|
|
243
|
+
}], isInErrorState: [{
|
|
244
|
+
type: Input
|
|
245
|
+
}], ariaLabel: [{
|
|
246
|
+
type: Input
|
|
247
|
+
}], locale: [{
|
|
248
|
+
type: Input
|
|
249
|
+
}], datepickerMode: [{
|
|
250
|
+
type: Input
|
|
251
|
+
}], minDate: [{
|
|
252
|
+
type: Input
|
|
253
|
+
}], maxDate: [{
|
|
254
|
+
type: Input
|
|
255
|
+
}], minMode: [{
|
|
256
|
+
type: Input
|
|
257
|
+
}], maxMode: [{
|
|
258
|
+
type: Input
|
|
259
|
+
}], showWeeks: [{
|
|
260
|
+
type: Input
|
|
261
|
+
}], dateFormat: [{
|
|
262
|
+
type: Input
|
|
263
|
+
}], formatDay: [{
|
|
264
|
+
type: Input
|
|
265
|
+
}], formatMonth: [{
|
|
266
|
+
type: Input
|
|
267
|
+
}], formatYear: [{
|
|
268
|
+
type: Input
|
|
269
|
+
}], formatDayHeader: [{
|
|
270
|
+
type: Input
|
|
271
|
+
}], formatDayTitle: [{
|
|
272
|
+
type: Input
|
|
273
|
+
}], formatMonthTitle: [{
|
|
274
|
+
type: Input
|
|
275
|
+
}], startingDay: [{
|
|
276
|
+
type: Input
|
|
277
|
+
}], yearRange: [{
|
|
278
|
+
type: Input
|
|
279
|
+
}], onlyCurrentMonth: [{
|
|
280
|
+
type: Input
|
|
281
|
+
}], preserveInsignificant: [{
|
|
282
|
+
type: Input
|
|
283
|
+
}], disabledDates: [{
|
|
284
|
+
type: Input
|
|
285
|
+
}], handleTimezone: [{
|
|
286
|
+
type: Input
|
|
287
|
+
}], appendToBody: [{
|
|
288
|
+
type: Input
|
|
289
|
+
}], value: [{
|
|
290
|
+
type: Input
|
|
291
|
+
}], selectionDone: [{
|
|
292
|
+
type: Output
|
|
293
|
+
}], valueChange: [{
|
|
294
|
+
type: Output
|
|
295
|
+
}], calendarNavigated: [{
|
|
296
|
+
type: Output
|
|
297
|
+
}], inputBlurred: [{
|
|
298
|
+
type: Output
|
|
299
|
+
}], _datePicker: [{
|
|
300
|
+
type: ViewChild,
|
|
301
|
+
args: [DatePickerInnerComponent]
|
|
302
|
+
}], textbox: [{
|
|
303
|
+
type: ViewChild,
|
|
304
|
+
args: ["date"]
|
|
305
|
+
}], popupArea: [{
|
|
306
|
+
type: ViewChild,
|
|
307
|
+
args: ["popupAr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7XG4gICAgc2VsZWN0b3I6IFwibnVpLWRhdGUtcGlja2VyXCIsXG4gICAgdGVtcGxhdGVVcmw6IFwiLi9kYXRlLXBpY2tlci5jb21wb25lbnQuaHRtbFwiLFxuICAgIHByb3ZpZGVyczogW1xuICAgICAgICB7XG4gICAgICAgICAgICBwcm92aWRlOiBOR19WQUxVRV9BQ0NFU1NPUixcbiAgICAgICAgICAgIHVzZUV4aXN0aW5nOiBmb3J3YXJkUmVmKCgpID0+IERhdGVQaWNrZXJDb21wb25lbnQpLFxuICAgICAgICAgICAgbXVsdGk6IHRydWUsXG4gICAgICAgIH0sXG4gICAgICAgIHtcbiAgICAgICAgICAgIHByb3ZpZGU6IE5HX1ZBTElEQVRPUlMsXG4gICAgICAgICAgICB1c2VFeGlzdGluZzogZm9yd2FyZFJlZigoKSA9PiBEYXRlUGlja2VyQ29tcG9uZW50KSxcbiAgICAgICAgICAgIG11bHRpOiB0cnVlLFxuICAgICAgICB9LFxuICAgICAgICB7XG4gICAgICAgICAgICBwcm92aWRlOiBOdWlGb3JtRmllbGRDb250cm9sLFxuICAgICAgICAgICAgdXNlRXhpc3Rpbmc6IGZvcndhcmRSZWYoKCkgPT4gRGF0ZVBpY2tlckNvbXBvbmVudCksXG4gICAgICAgICAgICBtdWx0aTogdHJ1ZSxcbiAgICAgICAgfSxcbiAgICBdLFxuICAgIHN0eWxlVXJsczogW1wiLi9kYXRlLXBpY2tlci5jb21wb25lbnQubGVzc1wiXSxcbiAgICBlbmNhcHN1bGF0aW9uOiBWaWV3RW5jYXBzdWxhdGlvbi5Ob25lLFxufSlcbmV4cG9ydCBjbGFzcyBEYXRlUGlja2VyQ29tcG9uZW50XG4gICAgaW1wbGVtZW50c1xuICAgICAgICBPbkNoYW5nZXMsXG4gICAgICAgIE9uSW5pdCxcbiAgICAgICAgQ29udHJvbFZhbHVlQWNjZXNzb3IsXG4gICAgICAgIE51aUZvcm1GaWVsZENvbnRyb2wsXG4gICAgICAgIEFmdGVyVmlld0lua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oXykgPT4gdGhpcy5fZGF0ZVBpY2tlci5yZWZyZXNoVmlldygpKTtcbiAgICAgICAgICAgIHRoaXMub3ZlcmxheS5oaWRlJFxuICAgICAgICAgICAgICAgIC5waXBlKHRha2VVbnRpbCh0aGlzLm9uRGVzdHJveSQpKVxuICAgICAgICAgICAgICAgIC5zdWJzY3JpYmUoKF8pID0+IHtcbiAgICAgICAgICAgICAgICAgICAgY29uc3QgY3VycmVudERhdGVWYWxpZCA9IHRoaXMudmFsdWU/LmlzVmFsaWQoKTtcbiAgICAgICAgICAgICAgICAgICAgaWYgKCFjdXJyZW50RGF0ZVZhbGlkKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICB0aGlzLl9kYXRlUGlja2VyLnZhbHVlID0gdW5kZWZpbmVkO1xuICAgICAgICAgICAgICAgICAgICAgICAgdGhpcy5fZGF0ZVBpY2tlci5kYXRlcGlja2VyTW9kZSA9IFwiZGF5XCI7XG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB9KTtcbiAgICAgICAgfVxuICAgIH1cblxuICAgIHB1YmxpYyB1cGRhdGVUb3VjaGVkU3RhdGUoKTogdm9pZCB7XG4gICAgICAgIHNldFRpbWVvdXQoKCkgPT4gdGhpcy5pbnB1dEJsdXJyZWQuZW1pdCgpLCAxMDApO1xuICAgICAgICB0aGlzLm9uVG91Y2hlZCgpO1xuICAgIH1cblxuICAgIHB1YmxpYyBvblVwZGF0ZShldmVudDogTW9tZW50KTogdm9pZCB7XG4gICAgICAgIHRoaXMudmFsdWUgPSBldmVudDtcbiAgICAgICAgdGhpcy5zZWxlY3Rpb25Eb25lLmVtaXQoZXZlbnQpO1xuICAgICAgICB0aGlzLnNldEVycm9yU3RhdGUoZmFsc2UpO1xuICAgIH1cblxuICAgIHByaXZhdGUgc2V0RGF0ZSh2YWx1ZTogTW9tZW50KTogdm9pZCB7XG4gICAgICAgIHRoaXMuX3ZhbHVlID0gdmFsdWU7XG4gICAgICAgIHRoaXMuc2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N1c3RvbUNvbnRhaW5lciA9IGFwcGVuZFRvQm9keSA/IHVuZGVmaW5lZCA6IHRoaXMucG9wdXBBcmVhO1xuICAgIH1cbn1cbiIsIjxkaXYgY2xhc3M9XCJudWktZGF0ZXBpY2tlclwiPlxuICAgIDxuZy1jb250YWluZXIgKm5nSWY9XCIhaW5saW5lXCI+XG4gICAgICAgIDxkaXZcbiAgICAgICAgICAgICN0b2dnbGVSZWZcbiAgICAgICAgICAgIGNsYXNzPVwibnVpLWRhdGVwaWNrZXJfX2NvbnRhaW5lclwiXG4gICAgICAgICAgICBbY2xhc3MuZGlzYWJsZWRdPVwiaXNEaXNhYmxlZFwiXG4gICAgICAgICAgICAoY2xpY2spPVwiIWlzRGlzYWJsZWQgJiYgb3ZlcmxheS50b2dnbGUoKVwiXG4gICAgICAgID5cbiAgICAgICAgICAgIDxudWktdGV4dGJveFxuICAgICAgICAgICAgICAgICNkYXRlXG4gICAgICAgICAgICAgICAgYXV0b2NvbXBsZXRlPVwib2ZmXCJcbiAgICAgICAgICAgICAgICBbZGlzYWJsZWRdPVwiaXNEaXNhYmxlZFwiXG4gICAgICAgICAgICAgICAgW2lzSW5FcnJvclN0YXRlXT1cImlzSW5FcnJvclN0YXRlXCJcbiAgICAgICAgICAgICAgICAodGV4dENoYW5nZSk9XCJvbklucHV0QWN0aXZlRGF0ZUNoYW5nZWQoJGV2ZW50KVwiXG4gICAgICAgICAgICAgICAgKGJsdXJyZWQpPVwidXBkYXRlVG91Y2hlZFN0YXRlKClcIlxuICAgICAgICAgICAgICAgIFthcmlhTGFiZWxdPVwiYXJpYUxhYmVsXCJcbiAgICAgICAgICAgID5cbiAgICAgICAgICAgIDwvbnVpLXRleHRib3g+XG4gICAgICAgICAgICA8bnVpLWljb25cbiAgICAgICAgICAgICAgICBjbGFzcz1cIm51aS1kYXRlcGlja2VyX19pY29uXCJcbiAgICAgICAgICAgICAgICBpY29uPVwiY2FsZW5kYXJcIlxuICAgICAgICAgICAgICAgIGFyaWEtaGlkZGVuPVwidHJ1ZVwiXG4gICAgICAgICAgICAgICAgW2ljb25Db2xvcl09XCJnZXRJY29uQ29sb3IoKVwiXG4gICAgICAgICAgICA+PC9udWktaWNvbj5cbiAgICAgICAgPC9kaXY+XG4gICAgICAgIDxudWktb3ZlcmxheVxuICAgICAgICAgICAgI292ZXJsYXlcbiAgICAgICAgICAgIFt0b2dnbGVSZWZlcmVuY2VdPVwidG9nZ2xlUmVmXCJcbiAgICAgICAgICAgIFtvdmVybGF5Q29uZmlnXT1cIm92ZXJsYXlDb25maWdcIlxuICAgICAgICAgICAgW2N1c3RvbUNvbnRhaW5lcl09XCJjdXN0b21Db250YWluZXJcIlxuICAgICAgICA+XG4gICAgICAgICAgICA8bmctY29udGFpbmVyICpuZ1RlbXBsYXRlT3V0bGV0PVwiZGF0ZVBpY2tlcklubmVyXCI+PC9uZy1jb250YWluZXI+XG4gICAgICAgIDwvbnVpLW92ZXJsYXk+XG4gICAgPC9uZy1jb250YWluZXI+XG5cbiAgICA8ZGl2ICpuZ0lmPVwiaW5saW5lXCI+XG4gICAgICAgIDxuZy1jb250YWluZXIgKm5nVGVtcGxhdGVPdXRsZXQ9XCJkYXRlUGlja2VySW5uZXJcIj48L25nLWNvbnRhaW5lcj5cbiAgICA8L2Rpdj5cblxuICAgIDxkaXYgI3BvcHVwQXJlYT48L2Rpdj5cbjwvZGl2PlxuPG5nLXRlbXBsYXRlICNkYXRlUGlja2VySW5uZXI+XG4gICAgPG51aS1kYXRlLXBpY2tlci1pbm5lclxuICAgICAgICBbcHJlc2VydmVJbnNpZ25pZmljYW50XT1cInByZXNlcnZlSW5zaWduaWZpY2FudFwiXG4gICAgICAgIFtzZWxlY3RlZERhdGVdPVwic2VsZWN0ZWREYXRlXCJcbiAgICAgICAgW2lubGluZV09XCJpbmxpbmVcIlxuICAgICAgICAodXBkYXRlKT1cIm9uVXBkYXRlKCRldmVudClcIlxuICAgICAgICAoc2VsZWN0aW9uRG9uZSk9XCJvblNlbGVj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