@nova-ui/bits 12.0.14-3724 → 12.0.14-3732
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/README.md +31 -67
- package/bundles/nova-ui-bits.umd.js +2087 -2719
- package/bundles/nova-ui-bits.umd.js.map +1 -1
- package/common/directives/resizer/resizer.directive.d.ts +10 -10
- package/common/directives/set-focus/set-focus.directive.d.ts +6 -6
- package/esm2015/animations/expand.js +4 -2
- package/esm2015/animations/fadeIn.js +2 -2
- package/esm2015/common/common.module.js +7 -8
- package/esm2015/common/directives/click-interceptor/click-interceptor.directive.js +2 -4
- package/esm2015/common/directives/clipboard/clipboard.directive.js +2 -2
- package/esm2015/common/directives/dragdrop/drag-and-drop.service.js +5 -14
- package/esm2015/common/directives/dragdrop/dragdrop.constants.js +1 -1
- package/esm2015/common/directives/dragdrop/draggable.directive.js +8 -15
- package/esm2015/common/directives/dragdrop/droppable.directive.js +14 -23
- package/esm2015/common/directives/resize/resize.directive.js +5 -4
- package/esm2015/common/directives/resize-observer/resize-observer.directive.js +5 -5
- package/esm2015/common/directives/resizer/resizer.directive.js +29 -44
- package/esm2015/common/directives/set-focus/set-focus.directive.js +6 -9
- package/esm2015/common/directives/zoom-content/zoom-content.directive.js +9 -7
- package/esm2015/constants/button.constants.js +4 -2
- package/esm2015/constants/event.constants.js +1 -1
- package/esm2015/constants/images.constants.js +1 -1
- package/esm2015/constants/images.js +9 -9
- package/esm2015/constants/interaction.constants.js +2 -6
- package/esm2015/constants/regex.constants.js +1 -1
- package/esm2015/constants/unit-conversion.constants.js +3 -23
- package/esm2015/constants/wizard.constants.js +1 -1
- package/esm2015/environment.js +1 -1
- package/esm2015/functions/immutable-set.js +2 -4
- package/esm2015/functions/nameof.js +1 -1
- package/esm2015/functions/traverse.js +1 -1
- package/esm2015/functions/uuid.js +2 -2
- package/esm2015/lib/breadcrumb/breadcrumb-state.service.js +6 -10
- package/esm2015/lib/breadcrumb/breadcrumb.component.js +3 -3
- package/esm2015/lib/breadcrumb/breadcrumb.module.js +11 -4
- package/esm2015/lib/busy/busy.component.js +4 -5
- package/esm2015/lib/busy/busy.module.js +11 -4
- package/esm2015/lib/button/button.component.js +21 -48
- package/esm2015/lib/button/button.module.js +8 -3
- package/esm2015/lib/checkbox/checkbox-group.component.js +13 -17
- package/esm2015/lib/checkbox/checkbox.component.js +6 -13
- package/esm2015/lib/checkbox/checkbox.module.js +12 -4
- package/esm2015/lib/chips/chip/chip.component.js +2 -2
- package/esm2015/lib/chips/chips-overflow/chips-overflow.component.js +4 -4
- package/esm2015/lib/chips/chips-overflow.service.js +12 -16
- package/esm2015/lib/chips/chips.component.js +8 -16
- package/esm2015/lib/chips/chips.module.js +16 -4
- package/esm2015/lib/chips/public-api.js +1 -1
- package/esm2015/lib/content/content.component.js +2 -2
- package/esm2015/lib/content/content.module.js +10 -4
- package/esm2015/lib/convenience/time-frame-bar/time-frame-bar.component.js +13 -30
- package/esm2015/lib/convenience/time-frame-bar/time-frame-bar.module.js +7 -3
- package/esm2015/lib/date-picker/date-picker-day-picker.component.js +16 -31
- package/esm2015/lib/date-picker/date-picker-inner.component.js +13 -32
- package/esm2015/lib/date-picker/date-picker-month-picker.component.js +4 -4
- package/esm2015/lib/date-picker/date-picker-year-picker.component.js +5 -10
- package/esm2015/lib/date-picker/date-picker.component.js +18 -28
- package/esm2015/lib/date-picker/date-picker.module.js +4 -2
- package/esm2015/lib/date-time-picker/date-time-picker.component.js +8 -9
- package/esm2015/lib/date-time-picker/date-time-picker.module.js +12 -4
- package/esm2015/lib/dialog/confirmation-dialog.component.js +4 -5
- package/esm2015/lib/dialog/dialog-backdrop.component.js +2 -2
- package/esm2015/lib/dialog/dialog-footer.component.js +1 -1
- package/esm2015/lib/dialog/dialog-header.component.js +3 -3
- package/esm2015/lib/dialog/dialog-ref.js +4 -10
- package/esm2015/lib/dialog/dialog-stack.service.js +9 -17
- package/esm2015/lib/dialog/dialog.component.js +6 -9
- package/esm2015/lib/dialog/dialog.module.js +15 -4
- package/esm2015/lib/dialog/dialog.service.js +1 -1
- package/esm2015/lib/dialog/public-api.js +1 -1
- package/esm2015/lib/divider/divider.component.js +3 -3
- package/esm2015/lib/divider/divider.module.js +10 -4
- package/esm2015/lib/dnd/dnd-drop-target.directive.js +7 -13
- package/esm2015/lib/dnd/dnd.module.js +7 -3
- package/esm2015/lib/docs/copy-text/copy-text.component.js +3 -3
- package/esm2015/lib/docs/docs.module.js +1 -1
- package/esm2015/lib/docs/example-code/example-code.component.js +3 -4
- package/esm2015/lib/docs/example-wrapper/example-wrapper.component.js +7 -7
- package/esm2015/lib/docs/example-wrapper/plunker-files.js +1 -1
- package/esm2015/lib/docs/example-wrapper/plunker-project.service.js +4 -5
- package/esm2015/lib/docs/services/sources.service.js +4 -9
- package/esm2015/lib/docs/srlc-indicator/srlc-indicator.component.js +11 -19
- package/esm2015/lib/docs/theme-switcher/theme-switcher.component.js +2 -2
- package/esm2015/lib/expander/expander.component.js +4 -6
- package/esm2015/lib/expander/expander.module.js +11 -4
- package/esm2015/lib/form-field/form-field.component.js +6 -6
- package/esm2015/lib/form-field/form-field.module.js +12 -4
- package/esm2015/lib/form-field/touched-changes-helper.js +1 -1
- package/esm2015/lib/icon/icon.component.js +10 -11
- package/esm2015/lib/icon/icon.module.js +4 -2
- package/esm2015/lib/icon/icon.service.js +5 -5
- package/esm2015/lib/icon/icons.js +620 -620
- package/esm2015/lib/image/image.component.js +6 -10
- package/esm2015/lib/image/image.module.js +4 -2
- package/esm2015/lib/layout/card/card.component.js +3 -7
- package/esm2015/lib/layout/card-group/card-group.component.js +3 -7
- package/esm2015/lib/layout/layout-resizer/layout-resizer.component.js +4 -5
- package/esm2015/lib/layout/layout.module.js +4 -8
- package/esm2015/lib/layout/sheet/sheet.component.js +7 -14
- package/esm2015/lib/layout/sheet-group/sheet-group.component.js +13 -27
- package/esm2015/lib/menu/menu/menu.component.js +5 -7
- package/esm2015/lib/menu/menu-item/menu-action/menu-action.component.js +5 -16
- package/esm2015/lib/menu/menu-item/menu-group/menu-group.component.js +4 -12
- package/esm2015/lib/menu/menu-item/menu-item/menu-item-base.js +2 -2
- package/esm2015/lib/menu/menu-item/menu-item/menu-item.component.js +3 -8
- package/esm2015/lib/menu/menu-item/menu-link/menu-link.component.js +8 -10
- package/esm2015/lib/menu/menu-item/menu-option/menu-option.component.js +8 -9
- package/esm2015/lib/menu/menu-item/menu-switch/menu-switch.component.js +6 -9
- package/esm2015/lib/menu/menu-key-control.service.js +31 -48
- package/esm2015/lib/menu/menu-popup/menu-popup.component.js +4 -4
- package/esm2015/lib/menu/menu.module.js +1 -1
- package/esm2015/lib/menu/public-api.js +1 -1
- package/esm2015/lib/message/message.component.js +8 -10
- package/esm2015/lib/message/message.module.js +9 -3
- package/esm2015/lib/overlay/arrow-component/overlay-arrow.component.js +1 -1
- package/esm2015/lib/overlay/constants.js +1 -1
- package/esm2015/lib/overlay/overlay-additions.module.js +13 -4
- package/esm2015/lib/overlay/overlay-component/overlay.component.js +23 -33
- package/esm2015/lib/overlay/overlay-container.service.js +6 -11
- package/esm2015/lib/overlay/overlay-custom-container.js +2 -3
- package/esm2015/lib/overlay/overlay-item/overlay-item.component.js +3 -6
- package/esm2015/lib/overlay/overlay-position.service.js +11 -18
- package/esm2015/lib/overlay/overlay-utilities.service.js +7 -11
- package/esm2015/lib/overlay/overlay.module.js +15 -5
- package/esm2015/lib/overlay/overlay.service.js +6 -9
- package/esm2015/lib/paginator/paginator.component.js +26 -37
- package/esm2015/lib/paginator/paginator.module.js +7 -3
- package/esm2015/lib/panel/panel.component.js +22 -39
- package/esm2015/lib/panel/panel.module.js +11 -4
- package/esm2015/lib/popover/popover-modal.component.js +9 -9
- package/esm2015/lib/popover/popover-modal.service.js +26 -68
- package/esm2015/lib/popover/popover-position.service.js +2 -2
- package/esm2015/lib/popover/popover.component.js +21 -39
- package/esm2015/lib/popover/popover.module.js +9 -3
- package/esm2015/lib/popover/public-api.js +1 -1
- package/esm2015/lib/popup/popup-container.component.js +7 -10
- package/esm2015/lib/popup/popup-toggle.directive.js +1 -1
- package/esm2015/lib/popup/popup.component.js +16 -37
- package/esm2015/lib/popup/popup.module.js +10 -3
- package/esm2015/lib/popup-adapter/popup-adapter.component.js +14 -19
- package/esm2015/lib/popup-adapter/popup-adapter.module.js +1 -1
- package/esm2015/lib/progress/progress.component.js +2 -2
- package/esm2015/lib/progress/progress.module.js +12 -4
- package/esm2015/lib/radio/radio-group.component.js +16 -23
- package/esm2015/lib/radio/radio.module.js +12 -4
- package/esm2015/lib/repeat/repeat-item/repeat-item.component.js +3 -5
- package/esm2015/lib/repeat/repeat.component.js +1 -1
- package/esm2015/lib/repeat/repeat.module.js +9 -3
- package/esm2015/lib/search/search.component.js +4 -4
- package/esm2015/lib/search/search.module.js +13 -4
- package/esm2015/lib/select/base-select.js +10 -12
- package/esm2015/lib/select/combobox/combobox.component.js +12 -23
- package/esm2015/lib/select/select.component.js +6 -9
- package/esm2015/lib/select/select.module.js +10 -3
- package/esm2015/lib/select-v2/base-select-v2.js +29 -47
- package/esm2015/lib/select-v2/combobox-v2/combobox-v2.component.js +19 -30
- package/esm2015/lib/select-v2/combobox-v2-option-highlight/combobox-v2-option-highlight.directive.js +3 -4
- package/esm2015/lib/select-v2/constants.js +1 -1
- package/esm2015/lib/select-v2/mark-as-selected-item.directive.js +2 -2
- package/esm2015/lib/select-v2/option/select-v2-option.component.js +5 -8
- package/esm2015/lib/select-v2/option-group/select-v2-option-group.component.js +3 -4
- package/esm2015/lib/select-v2/option-key-control.service.js +8 -15
- package/esm2015/lib/select-v2/select/select-v2.component.js +8 -10
- package/esm2015/lib/select-v2/select-v2.module.js +1 -1
- package/esm2015/lib/select-v2/selected-items-key-control.service.js +6 -12
- package/esm2015/lib/select-v2/types.js +1 -1
- package/esm2015/lib/selector/selector.component.js +11 -21
- package/esm2015/lib/selector/selector.module.js +7 -3
- package/esm2015/lib/selector/selector.service.js +21 -57
- package/esm2015/lib/sorter/constants.js +1 -1
- package/esm2015/lib/sorter/sorter-keyboard.service.js +10 -19
- package/esm2015/lib/sorter/sorter.component.js +19 -39
- package/esm2015/lib/sorter/sorter.module.js +7 -3
- package/esm2015/lib/spinner/spinner.component.js +3 -3
- package/esm2015/lib/spinner/spinner.module.js +12 -4
- package/esm2015/lib/switch/switch.component.js +2 -2
- package/esm2015/lib/switch/switch.module.js +4 -2
- package/esm2015/lib/tabgroup/tab/tab.component.js +4 -2
- package/esm2015/lib/tabgroup/tab-group/tab-group.component.js +8 -14
- package/esm2015/lib/tabgroup/tab-heading/tab-heading.component.js +4 -6
- package/esm2015/lib/tabgroup/tab-heading-group/tab-heading-group.component.js +11 -17
- package/esm2015/lib/tabgroup/tabs.module.js +5 -2
- package/esm2015/lib/table/table-cell/table-cell.directive.js +20 -26
- package/esm2015/lib/table/table-cell/table-column-def.directive.js +3 -5
- package/esm2015/lib/table/table-cell/table-footer-cell-def.directive.js +2 -4
- package/esm2015/lib/table/table-cell/table-footer-cell.directive.js +3 -3
- package/esm2015/lib/table/table-cell/table-header-cell-def.directive.js +2 -4
- package/esm2015/lib/table/table-cell/table-header-cell.component.js +31 -49
- package/esm2015/lib/table/table-resizer/table-resizer.directive.js +2 -2
- package/esm2015/lib/table/table-row/table-row.component.js +50 -84
- package/esm2015/lib/table/table-state-handler.service.js +34 -58
- package/esm2015/lib/table/table-virtual-scroll/slice-range.pipe.js +2 -3
- package/esm2015/lib/table/table-virtual-scroll/table-sticky-header.directive.js +19 -33
- package/esm2015/lib/table/table-virtual-scroll/table-virtual-scroll-strategy.js +15 -13
- package/esm2015/lib/table/table-virtual-scroll/table-virtual-scroll.directive.js +6 -10
- package/esm2015/lib/table/table.component.js +1 -1
- package/esm2015/lib/table/table.module.js +1 -1
- package/esm2015/lib/table/types.js +1 -1
- package/esm2015/lib/textbox/textbox-number/textbox-number.component.js +12 -11
- package/esm2015/lib/textbox/textbox.component.js +2 -2
- package/esm2015/lib/textbox/textbox.module.js +9 -3
- package/esm2015/lib/time-frame-picker/public-api.js +1 -1
- package/esm2015/lib/time-frame-picker/quick-picker/quick-picker.component.js +2 -2
- package/esm2015/lib/time-frame-picker/services/timeframe.service.js +13 -20
- package/esm2015/lib/time-frame-picker/time-frame-format.pipe.js +2 -5
- package/esm2015/lib/time-frame-picker/time-frame-picker.component.js +4 -6
- package/esm2015/lib/time-frame-picker/time-frame-picker.module.js +6 -2
- package/esm2015/lib/time-picker/time-picker-keyboard.service.js +9 -17
- package/esm2015/lib/time-picker/time-picker.component.js +18 -29
- package/esm2015/lib/time-picker/time-picker.module.js +7 -3
- package/esm2015/lib/toast/public-api.js +1 -1
- package/esm2015/lib/toast/toast-container.service.js +3 -4
- package/esm2015/lib/toast/toast-injector.js +1 -1
- package/esm2015/lib/toast/toast-package.js +1 -1
- package/esm2015/lib/toast/toast-ref.js +1 -1
- package/esm2015/lib/toast/toast.component.js +9 -17
- package/esm2015/lib/toast/toast.directive.js +7 -11
- package/esm2015/lib/toast/toast.module.js +17 -5
- package/esm2015/lib/toast/toast.service.js +6 -11
- package/esm2015/lib/toast/toast.servicebase.js +1 -1
- package/esm2015/lib/toolbar/public-api.js +1 -1
- package/esm2015/lib/toolbar/toolbar-group.component.js +5 -3
- package/esm2015/lib/toolbar/toolbar-item.component.js +3 -3
- package/esm2015/lib/toolbar/toolbar-keyboard.service.js +3 -6
- package/esm2015/lib/toolbar/toolbar-splitter.component.js +2 -2
- package/esm2015/lib/toolbar/toolbar.component.js +1 -1
- package/esm2015/lib/toolbar/toolbar.module.js +1 -1
- package/esm2015/lib/tooltip/tooltip.component.js +17 -34
- package/esm2015/lib/tooltip/tooltip.directive.js +7 -19
- package/esm2015/lib/tooltip/tooltip.module.js +7 -2
- package/esm2015/lib/validation-message/custom-validation-message/custom-validation-message.component.js +6 -11
- package/esm2015/lib/validation-message/validation-message.component.js +4 -4
- package/esm2015/lib/validation-message/validation-message.module.js +9 -3
- package/esm2015/lib/wizard/public-api.js +1 -1
- package/esm2015/lib/wizard/wizard-step.component.js +2 -2
- package/esm2015/lib/wizard/wizard.component.js +14 -22
- package/esm2015/lib/wizard/wizard.module.js +12 -4
- package/esm2015/lib/wizard-v2/error-state-matcher.provider.js +2 -4
- package/esm2015/lib/wizard-v2/types.js +1 -1
- package/esm2015/lib/wizard-v2/wizard-button/wizard-button.js +3 -3
- package/esm2015/lib/wizard-v2/wizard-footer/wizard-footer.component.js +5 -7
- package/esm2015/lib/wizard-v2/wizard-horizontal/wizard-horizontal.component.js +17 -37
- package/esm2015/lib/wizard-v2/wizard-overflow/wizard-overflow.component.js +2 -2
- package/esm2015/lib/wizard-v2/wizard-step/wizard-step.component.js +4 -6
- package/esm2015/lib/wizard-v2/wizard-step-footer.directive.js +1 -1
- package/esm2015/lib/wizard-v2/wizard-step-header/wizard-step-header.component.js +8 -12
- package/esm2015/lib/wizard-v2/wizard-step-label.directive.js +1 -1
- package/esm2015/lib/wizard-v2/wizard-vertical/wizard-vertical.component.js +5 -5
- package/esm2015/lib/wizard-v2/wizard.directive.js +12 -16
- package/esm2015/lib/wizard-v2/wizard.module.js +3 -3
- package/esm2015/pipes/highlight.pipe.js +2 -2
- package/esm2015/pipes/unit-conversion.pipe.js +1 -1
- package/esm2015/public_api.js +2 -2
- package/esm2015/services/content-ref.js +1 -1
- package/esm2015/services/data-filter.service.js +3 -7
- package/esm2015/services/data-source/client-side-data-source.service.js +4 -4
- package/esm2015/services/data-source/data-source-features.js +1 -1
- package/esm2015/services/data-source/data-source.service.js +4 -6
- package/esm2015/services/data-source/local-filtering-data-source.service.js +18 -29
- package/esm2015/services/data-source/noop-data-source.service.js +1 -1
- package/esm2015/services/data-source/public-api.js +1 -1
- package/esm2015/services/data-source/server-side-source.service.js +2 -4
- package/esm2015/services/dom-util.service.js +2 -3
- package/esm2015/services/edge-detection.service.js +19 -51
- package/esm2015/services/event-bus.js +2 -4
- package/esm2015/services/event-bus.service.js +1 -1
- package/esm2015/services/event-propagation.service.js +3 -3
- package/esm2015/services/list.service.js +1 -1
- package/esm2015/services/log-service.js +3 -3
- package/esm2015/services/notification-service.js +2 -3
- package/esm2015/services/position.service.js +18 -41
- package/esm2015/services/public-api.js +1 -1
- package/esm2015/services/search.service.js +2 -5
- package/esm2015/services/tab-navigation.service.js +2 -2
- package/esm2015/services/theme-switch.service.js +9 -16
- package/esm2015/services/transient-cache.service.js +3 -4
- package/esm2015/services/unit-conversion.service.js +4 -10
- package/esm2015/services/util.service.js +16 -39
- package/esm2015/services/virtual-viewport-manager.service.js +5 -12
- package/esm2015/types.js +1 -1
- package/esm2015/validators/nui-validators.js +3 -5
- package/fesm2015/nova-ui-bits.js +2216 -2908
- package/fesm2015/nova-ui-bits.js.map +1 -1
- package/lib/icon/icon.component.d.ts +2 -2
- package/lib/layout/sheet-group/sheet-group.component.d.ts +3 -3
- package/lib/paginator/paginator.component.d.ts +4 -4
- package/lib/panel/panel.component.d.ts +5 -5
- package/lib/select-v2/base-select-v2.d.ts +2 -2
- package/lib/select-v2/combobox-v2/combobox-v2.component.d.ts +1 -1
- package/lib/select-v2/select/select-v2.component.d.ts +1 -1
- package/lib/sorter/sorter-keyboard.service.d.ts +1 -1
- package/lib/sorter/sorter.component.d.ts +1 -1
- package/lib/table/table-cell/table-column-def.directive.d.ts +1 -1
- package/lib/table/table-cell/table-header-cell.component.d.ts +1 -1
- package/lib/table/table-row/table-row.component.d.ts +1 -1
- package/lib/table/table-state-handler.service.d.ts +1 -1
- package/lib/time-picker/time-picker.component.d.ts +1 -1
- package/lib/toast/toast.component.d.ts +1 -1
- package/lib/wizard-v2/wizard-button/wizard-button.d.ts +2 -2
- package/lib/wizard-v2/wizard-step/wizard-step.component.d.ts +1 -1
- package/lib/wizard-v2/wizard-step-header/wizard-step-header.component.d.ts +1 -1
- package/lib/wizard-v2/wizard.directive.d.ts +5 -5
- package/nova-ui-bits.metadata.json +1 -1
- package/package.json +1 -1
- package/public_api.d.ts +1 -1
- package/sdk/atoms/atom.d.ts +1 -1
- package/sdk/atoms/atom.js +9 -22
- package/sdk/atoms/atom.js.map +1 -1
- package/sdk/atoms/components/breadcrumb/breadcrumb.atom.js +1 -3
- package/sdk/atoms/components/breadcrumb/breadcrumb.atom.js.map +1 -1
- package/sdk/atoms/components/busy/busy.atom.js.map +1 -1
- package/sdk/atoms/components/button/button.atom.js +1 -5
- package/sdk/atoms/components/button/button.atom.js.map +1 -1
- package/sdk/atoms/components/checkbox/checkbox.atom.js +7 -28
- package/sdk/atoms/components/checkbox/checkbox.atom.js.map +1 -1
- package/sdk/atoms/components/checkbox-group/checkbox-group.atom.js +1 -2
- package/sdk/atoms/components/checkbox-group/checkbox-group.atom.js.map +1 -1
- package/sdk/atoms/components/chips/chips.atom.js +3 -12
- package/sdk/atoms/components/chips/chips.atom.js.map +1 -1
- package/sdk/atoms/components/combobox/combobox.atom.js +6 -12
- package/sdk/atoms/components/combobox/combobox.atom.js.map +1 -1
- package/sdk/atoms/components/combobox-v2/combobox-v2.atom.js +1 -1
- package/sdk/atoms/components/combobox-v2/combobox-v2.atom.js.map +1 -1
- package/sdk/atoms/components/content/content.atom.js +1 -8
- package/sdk/atoms/components/content/content.atom.js.map +1 -1
- package/sdk/atoms/components/convenience/time-frame-bar/time-frame-bar.atom.js +4 -12
- package/sdk/atoms/components/convenience/time-frame-bar/time-frame-bar.atom.js.map +1 -1
- package/sdk/atoms/components/datepicker/datepicker.atom.js +11 -58
- package/sdk/atoms/components/datepicker/datepicker.atom.js.map +1 -1
- package/sdk/atoms/components/datetimepicker/datetimepicker.atom.js +1 -2
- package/sdk/atoms/components/datetimepicker/datetimepicker.atom.js.map +1 -1
- package/sdk/atoms/components/dialog/dialog.atom.js +9 -27
- package/sdk/atoms/components/dialog/dialog.atom.js.map +1 -1
- package/sdk/atoms/components/divider/divider.atom.js +2 -6
- package/sdk/atoms/components/divider/divider.atom.js.map +1 -1
- package/sdk/atoms/components/drag-and-drop/cdk-drop-item.atom.js.map +1 -1
- package/sdk/atoms/components/drag-and-drop/cdk-drop-list.atom.js.map +1 -1
- package/sdk/atoms/components/expander/expander.atom.js +7 -27
- package/sdk/atoms/components/expander/expander.atom.js.map +1 -1
- package/sdk/atoms/components/form-field/form-field.atom.js +3 -9
- package/sdk/atoms/components/form-field/form-field.atom.js.map +1 -1
- package/sdk/atoms/components/icon/icon.atom.js +5 -15
- package/sdk/atoms/components/icon/icon.atom.js.map +1 -1
- package/sdk/atoms/components/image/image.atom.js +4 -12
- package/sdk/atoms/components/image/image.atom.js.map +1 -1
- package/sdk/atoms/components/layout/layout-sheet-group.atom.js +2 -8
- package/sdk/atoms/components/layout/layout-sheet-group.atom.js.map +1 -1
- package/sdk/atoms/components/layout/layout-sheet.atom.js.map +1 -1
- package/sdk/atoms/components/menu/menu-item.atom.js +9 -35
- package/sdk/atoms/components/menu/menu-item.atom.js.map +1 -1
- package/sdk/atoms/components/menu/menu.atom.js +6 -14
- package/sdk/atoms/components/menu/menu.atom.js.map +1 -1
- package/sdk/atoms/components/menu-popup/menu-popup.atom.js +3 -11
- package/sdk/atoms/components/menu-popup/menu-popup.atom.js.map +1 -1
- package/sdk/atoms/components/message/message.atom.js.map +1 -1
- package/sdk/atoms/components/overlay/overlay.atom.js.map +1 -1
- package/sdk/atoms/components/paginator/paginator.atom.js +11 -42
- package/sdk/atoms/components/paginator/paginator.atom.js.map +1 -1
- package/sdk/atoms/components/panel/panel.atom.js +9 -39
- package/sdk/atoms/components/panel/panel.atom.js.map +1 -1
- package/sdk/atoms/components/popover/popover.atom.js +4 -11
- package/sdk/atoms/components/popover/popover.atom.js.map +1 -1
- package/sdk/atoms/components/popup/overlay-content.atom.js.map +1 -1
- package/sdk/atoms/components/popup/popup.atom.js.map +1 -1
- package/sdk/atoms/components/progress/progress.atom.js +5 -23
- package/sdk/atoms/components/progress/progress.atom.js.map +1 -1
- package/sdk/atoms/components/radio-group/radio-group.atom.js +4 -13
- package/sdk/atoms/components/radio-group/radio-group.atom.js.map +1 -1
- package/sdk/atoms/components/repeat/repeat.atom.js +7 -21
- package/sdk/atoms/components/repeat/repeat.atom.js.map +1 -1
- package/sdk/atoms/components/search/search.atom.js +4 -18
- package/sdk/atoms/components/search/search.atom.js.map +1 -1
- package/sdk/atoms/components/select/basic-select.atom.js +1 -3
- package/sdk/atoms/components/select/basic-select.atom.js.map +1 -1
- package/sdk/atoms/components/select/select.atom.js.map +1 -1
- package/sdk/atoms/components/select-v2/base-select-v2.atom.js +2 -4
- package/sdk/atoms/components/select-v2/base-select-v2.atom.js.map +1 -1
- package/sdk/atoms/components/selector/selector.atom.js +1 -3
- package/sdk/atoms/components/selector/selector.atom.js.map +1 -1
- package/sdk/atoms/components/selector/selector.e2e.js.map +1 -1
- package/sdk/atoms/components/sorter/sorter.atom.js +5 -15
- package/sdk/atoms/components/sorter/sorter.atom.js.map +1 -1
- package/sdk/atoms/components/spinner/spinner.atom.js +2 -6
- package/sdk/atoms/components/spinner/spinner.atom.js.map +1 -1
- package/sdk/atoms/components/switch/switch.atom.js +5 -19
- package/sdk/atoms/components/switch/switch.atom.js.map +1 -1
- package/sdk/atoms/components/tab-heading-group/tab-heading-group.atom.js.map +1 -1
- package/sdk/atoms/components/tab-heading-group/tab-heading.atom.js.map +1 -1
- package/sdk/atoms/components/table/table.atom.js +8 -23
- package/sdk/atoms/components/table/table.atom.js.map +1 -1
- package/sdk/atoms/components/textbox/textbox.atom.js +1 -3
- package/sdk/atoms/components/textbox/textbox.atom.js.map +1 -1
- package/sdk/atoms/components/textbox-number/textbox-number.atom.js +6 -6
- package/sdk/atoms/components/textbox-number/textbox-number.atom.js.map +1 -1
- package/sdk/atoms/components/time-frame-picker/quick-picker.atom.js +1 -3
- package/sdk/atoms/components/time-frame-picker/quick-picker.atom.js.map +1 -1
- package/sdk/atoms/components/time-frame-picker/time-frame-picker.atom.js.map +1 -1
- package/sdk/atoms/components/timepicker/timepicker.atom.js +1 -5
- package/sdk/atoms/components/timepicker/timepicker.atom.js.map +1 -1
- package/sdk/atoms/components/toolbar/toolbar.atom.js +2 -6
- package/sdk/atoms/components/toolbar/toolbar.atom.js.map +1 -1
- package/sdk/atoms/components/wizard/wizard-step.atom.js +1 -3
- package/sdk/atoms/components/wizard/wizard-step.atom.js.map +1 -1
- package/sdk/atoms/components/wizard/wizard.atom.js +10 -21
- package/sdk/atoms/components/wizard/wizard.atom.js.map +1 -1
- package/sdk/atoms/directives/resizer/resizer.atom.js +1 -4
- package/sdk/atoms/directives/resizer/resizer.atom.js.map +1 -1
- package/sdk/atoms/directives/toast/toast.atom.js +4 -12
- package/sdk/atoms/directives/toast/toast.atom.js.map +1 -1
- package/sdk/atoms/directives/tooltip/tooltip.atom.js.map +1 -1
- package/sdk/atoms/helpers.js.map +1 -1
- package/sdk/atoms/virtual-camera/Camera.js.map +1 -1
- package/sdk/atoms/virtual-camera/camera-engine.js +5 -5
- package/sdk/atoms/virtual-camera/camera-engine.js.map +1 -1
- package/sdk/atoms/virtual-camera/camera-settings.js +3 -10
- package/sdk/atoms/virtual-camera/camera-settings.js.map +1 -1
- package/sdk/atoms/virtual-camera/camera-toggle.js.map +1 -1
- package/sdk/atoms/virtual-camera/eyes-lens.js +11 -18
- package/sdk/atoms/virtual-camera/eyes-lens.js.map +1 -1
- package/sdk/atoms/virtual-camera/percy-lens.js +3 -9
- package/sdk/atoms/virtual-camera/percy-lens.js.map +1 -1
- package/sdk/atoms/virtual-camera/types.js.map +1 -1
- package/sdk/less/mixins/background-variant.less +8 -7
- package/sdk/less/mixins/border-radius.less +8 -8
- package/sdk/less/mixins/buttons.less +4 -4
- package/sdk/less/mixins/center-block.less +3 -3
- package/sdk/less/mixins/checkbox.less +1 -1
- package/sdk/less/mixins/clearfix.less +9 -9
- package/sdk/less/mixins/component-bases/base-button.less +13 -13
- package/sdk/less/mixins/component-bases/base-textbox.less +4 -5
- package/sdk/less/mixins/css-variables.less +3 -3
- package/sdk/less/mixins/dnd.less +3 -4
- package/sdk/less/mixins/expander-base.less +2 -3
- package/sdk/less/mixins/fill.less +1 -1
- package/sdk/less/mixins/focus.less +1 -2
- package/sdk/less/mixins/font-roboto.less +9 -9
- package/sdk/less/mixins/forms.less +19 -18
- package/sdk/less/mixins/gradients.less +53 -170
- package/sdk/less/mixins/hide-text.less +5 -5
- package/sdk/less/mixins/image.less +16 -13
- package/sdk/less/mixins/labels.less +6 -6
- package/sdk/less/mixins/list-item.less +1 -0
- package/sdk/less/mixins/no-select.less +7 -7
- package/sdk/less/mixins/opacity.less +4 -4
- package/sdk/less/mixins/reset-filter.less +1 -1
- package/sdk/less/mixins/reset-text.less +16 -16
- package/sdk/less/mixins/resize.less +2 -2
- package/sdk/less/mixins/responsive-visibility.less +6 -12
- package/sdk/less/mixins/scroll-shadows.less +10 -25
- package/sdk/less/mixins/size.less +3 -3
- package/sdk/less/mixins/tab-focus.less +5 -5
- package/sdk/less/mixins/table-row.less +21 -21
- package/sdk/less/mixins/text-emphasis.less +7 -7
- package/sdk/less/mixins/text-overflow.less +3 -3
- package/sdk/less/mixins/touch-action.less +1 -1
- package/sdk/less/mixins/vendor-prefixes.less +118 -121
- package/sdk/less/mixins/vertical-align.less +1 -1
- package/sdk/less/mixins.less +1 -0
- package/sdk/less/nui-framework-animations.less +3 -2
- package/sdk/less/nui-framework-base.less +21 -40
- package/sdk/less/nui-framework-colors-dark.less +47 -58
- package/sdk/less/nui-framework-colors.less +31 -46
- package/sdk/less/nui-framework-fonts.less +27 -33
- package/sdk/less/nui-framework-palette.less +51 -51
- package/sdk/less/nui-framework-shadow.less +7 -14
- package/sdk/less/nui-framework-typography.less +2 -1
- package/sdk/less/nui-framework-variables.less +105 -71
- package/sdk/locale/messages.en.xlf +55 -57
- package/sdk/tslint.json +4 -2
package/README.md
CHANGED
|
@@ -4,41 +4,34 @@ In Bits, the philosophy is all about flexibility – it provides the Legos, plum
|
|
|
4
4
|
<br>
|
|
5
5
|
<br>
|
|
6
6
|
|
|
7
|
+
|
|
7
8
|
## Prerequisites
|
|
8
9
|
|
|
9
10
|
Before you begin, make sure your development environment includes the following:
|
|
10
|
-
|
|
11
|
-
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
<br>
|
|
11
|
+
* Node.js®
|
|
12
|
+
* A package manager such as [npm](https://www.npmjs.com/get-npm)
|
|
13
|
+
* Angular CLI v12
|
|
14
|
+
* Angular CDK v12 as a devDependency
|
|
15
|
+
<br>
|
|
16
16
|
|
|
17
17
|
### Installing NodeJS and `npm`
|
|
18
|
-
|
|
19
18
|
To check your version, run node -v in a terminal/console window.
|
|
20
19
|
To get Node.js (which comes with `npm` out of the box), go to [nodejs.org](https://nodejs.org/en/).
|
|
21
20
|
|
|
22
21
|
### Installing Angular CLI
|
|
22
|
+
The Angular CLI is a command-line interface tool that you can use to initialize, develop, scaffold and maintain Angular applications.
|
|
23
23
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
You may want to check first whether it's already installed by running the following command:
|
|
27
|
-
|
|
24
|
+
You may want to check first whether it's already installed by running the following command:
|
|
28
25
|
```
|
|
29
26
|
ng --version
|
|
30
27
|
```
|
|
31
|
-
|
|
32
|
-
If you want to install the latest Angular CLI globally, run the following command:
|
|
33
|
-
|
|
28
|
+
If you want to install the latest Angular CLI globally, run the following command:
|
|
34
29
|
```
|
|
35
30
|
npm install -g @angular/cli@^12
|
|
36
31
|
```
|
|
37
32
|
|
|
38
33
|
### Installing Angular CDK
|
|
39
|
-
|
|
40
34
|
Nova uses Angular CDK as part of its schematics functionality. To install it, you can run the following command:
|
|
41
|
-
|
|
42
35
|
```
|
|
43
36
|
npm install @angular/cdk@^12 --save-dev
|
|
44
37
|
```
|
|
@@ -46,45 +39,38 @@ npm install @angular/cdk@^12 --save-dev
|
|
|
46
39
|
<br>
|
|
47
40
|
<br>
|
|
48
41
|
|
|
42
|
+
|
|
49
43
|
# Install Nova Bits
|
|
50
44
|
|
|
51
45
|
#### Using Angular CLI
|
|
52
|
-
|
|
53
|
-
In order to install bits in your project root using the CLI, run the following command:
|
|
54
|
-
|
|
46
|
+
In order to install bits in your project root using the CLI, run the following command:
|
|
55
47
|
```
|
|
56
48
|
ng add @nova-ui/bits
|
|
57
49
|
```
|
|
58
|
-
|
|
59
50
|
This will automatically perform most of the steps for you.
|
|
60
51
|
|
|
61
52
|
If you do not want to override your dependency versions, you can use skipPackageJson flag.
|
|
62
|
-
|
|
63
53
|
```
|
|
64
54
|
ng add @nova-ui/bits --skipPackageJson
|
|
65
55
|
```
|
|
66
56
|
|
|
67
|
-
But, there's one additional step that needs to be done manually. Since bits uses `@angular/localize` for localization, this dependency
|
|
57
|
+
But, there's one additional step that needs to be done manually. Since bits uses `@angular/localize` for localization, this dependency
|
|
68
58
|
needs to be imported in your app's polyfills.ts file. The easiest way to do this is to run the following command:
|
|
69
|
-
|
|
70
59
|
```
|
|
71
60
|
ng add @angular/localize
|
|
72
61
|
```
|
|
73
62
|
|
|
74
63
|
#### Using npm
|
|
75
|
-
|
|
76
64
|
Installation is quite simple using npm. Nui includes all of its dependencies as part of the final build such as Angular, RxJs and more.
|
|
77
|
-
|
|
78
65
|
```
|
|
79
66
|
$ npm install @nova-ui/bits
|
|
80
67
|
```
|
|
81
|
-
|
|
82
68
|
<br><br>
|
|
83
69
|
|
|
70
|
+
|
|
84
71
|
# Module Usage
|
|
85
72
|
|
|
86
73
|
#### Adding Modules to Your Project
|
|
87
|
-
|
|
88
74
|
Once all dependencies and project files are downloaded, import any component modules you want to use to the appropriate Angular
|
|
89
75
|
module in your project. The following example imports the `NuiButtonModule` to make the `ButtonComponent` available for use.
|
|
90
76
|
|
|
@@ -98,7 +84,7 @@ import { NuiButtonModule } from "@nova-ui/bits";
|
|
|
98
84
|
})
|
|
99
85
|
```
|
|
100
86
|
|
|
101
|
-
Note that, before alpha.15, the forRoot() method was used and an optional argument in `forRoot()` could be used to configure the Bits environment.
|
|
87
|
+
Note that, before alpha.15, the forRoot() method was used and an optional argument in `forRoot()` could be used to configure the Bits environment.
|
|
102
88
|
The current way to configure Bits is shown below:
|
|
103
89
|
|
|
104
90
|
```js
|
|
@@ -121,9 +107,7 @@ The Nova modules you consume will search for the NuiEnvironment provider and use
|
|
|
121
107
|
<br>
|
|
122
108
|
|
|
123
109
|
#### Add root dependencies
|
|
124
|
-
|
|
125
110
|
In your root module, you need to add these imports:
|
|
126
|
-
|
|
127
111
|
```js
|
|
128
112
|
imports: [
|
|
129
113
|
BrowserModule,
|
|
@@ -131,23 +115,19 @@ imports: [
|
|
|
131
115
|
...
|
|
132
116
|
]
|
|
133
117
|
```
|
|
134
|
-
|
|
135
118
|
and these providers:
|
|
136
|
-
|
|
137
119
|
```javascript
|
|
138
120
|
providers: [
|
|
139
121
|
{provide: TRANSLATIONS_FORMAT, useValue: "xlf"},
|
|
140
122
|
{provide: MISSING_TRANSLATION_STRATEGY, useValue: MissingTranslationStrategy.Warning},
|
|
141
123
|
{provide: TRANSLATIONS, useValue: ""},
|
|
142
124
|
...
|
|
143
|
-
]
|
|
125
|
+
]
|
|
144
126
|
```
|
|
145
|
-
|
|
146
|
-
The `TRANSLATIONS` provider can be used to internationalize bits. Details can be found [here](<https://ux.solarwinds.io/nova/docs/nova-bits/develop/sdk/api-docs-ng2/additional-documentation/internationalization-(i18n).html>).
|
|
127
|
+
The `TRANSLATIONS` provider can be used to internationalize bits. Details can be found [here](https://ux.solarwinds.io/nova/docs/nova-bits/develop/sdk/api-docs-ng2/additional-documentation/internationalization-(i18n).html).
|
|
147
128
|
<br>
|
|
148
129
|
|
|
149
130
|
#### Set root CSS class
|
|
150
|
-
|
|
151
131
|
To get some of the styles to display, you have to add the `nui` css class to the root html element:
|
|
152
132
|
|
|
153
133
|
```html
|
|
@@ -155,17 +135,13 @@ To get some of the styles to display, you have to add the `nui` css class to the
|
|
|
155
135
|
<!--rest of page-->
|
|
156
136
|
</html>
|
|
157
137
|
```
|
|
158
|
-
|
|
159
138
|
<br>
|
|
160
139
|
|
|
161
140
|
#### Styles
|
|
162
141
|
|
|
163
142
|
###### Configuration
|
|
164
|
-
|
|
165
143
|
To add styling for Bits, you need to modify angular.json corresponding to the targeted project with the following additions:
|
|
166
|
-
|
|
167
144
|
1. Add the styles path to stylePreprocessorOptions.includePaths:
|
|
168
|
-
|
|
169
145
|
```json
|
|
170
146
|
"architect": {
|
|
171
147
|
"build": {
|
|
@@ -181,9 +157,7 @@ To add styling for Bits, you need to modify angular.json corresponding to the ta
|
|
|
181
157
|
}
|
|
182
158
|
}
|
|
183
159
|
```
|
|
184
|
-
|
|
185
160
|
2. Add the styles path to the source paths:
|
|
186
|
-
|
|
187
161
|
```json
|
|
188
162
|
"architect": {
|
|
189
163
|
"build": {
|
|
@@ -193,69 +167,59 @@ To add styling for Bits, you need to modify angular.json corresponding to the ta
|
|
|
193
167
|
...
|
|
194
168
|
],
|
|
195
169
|
...
|
|
196
|
-
}
|
|
170
|
+
}
|
|
197
171
|
}
|
|
198
172
|
}
|
|
199
|
-
```
|
|
173
|
+
```
|
|
200
174
|
|
|
201
175
|
**FYI - Bits does not use the Bootstrap component library nor does it include custom fonts.**
|
|
202
176
|
|
|
203
177
|
###### Naming Convention
|
|
204
|
-
|
|
205
178
|
We recommend the [BEM](http://getbem.com/) naming convention for your css/less variable names, but you're free to use whatever convention you prefer.
|
|
206
179
|
<br>
|
|
207
180
|
|
|
208
|
-
#### Typescript Compiler Options
|
|
209
181
|
|
|
182
|
+
#### Typescript Compiler Options
|
|
210
183
|
Information about this can be found [here](../../README.md#Typescript-Compiler-Options).
|
|
211
184
|
<br>
|
|
212
185
|
|
|
213
186
|
## Schematics
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
Nova Bits offers the following [schematics](https://nova-ui.solarwinds.io/bits/release_v12.x/additional-documentation/schematics.html):
|
|
187
|
+
A [schematic](https://angular.io/guide/schematics) is a template-based code generator that supports complex logic. It is a set of instructions for transforming a software project by generating or modifying code. Schematics are part of the Angular ecosystem.
|
|
188
|
+
Nova Bits offers the following [schematics](https://nova-ui.solarwinds.io/bits/release_v12.x/additional-documentation/schematics.html):
|
|
217
189
|
|
|
218
190
|
#### Filtered View
|
|
219
|
-
|
|
220
|
-
[The Filtered View](https://nova-ui.solarwinds.io/bits/release_v12.x/additional-documentation/schematics/filtered-view.html)
|
|
191
|
+
[The Filtered View](https://nova-ui.solarwinds.io/bits/release_v12.x/additional-documentation/schematics/filtered-view.html)
|
|
221
192
|
schematic provides the ability to create a generic filtered view that can cover many use cases for filtering a set of data. Its main responsibility is to integrate a filter group panel with a list or table view that displays the filtered data. More details can be found [here](https://solarwinds.sharepoint.com/portals/hub/_layouts/15/PointPublishing.aspx?app=video&p=p&chid=8511af43-214a-435d-a605-dbe722ca04a0&vid=a5dbbef3-3582-49bf-b537-f789f946d09f)
|
|
222
|
-
To add a filtered view to your project, run the following command:
|
|
223
|
-
|
|
193
|
+
To add a filtered view to your project, run the following command:
|
|
224
194
|
```
|
|
225
195
|
ng generate @nova-ui/bits:filtered-view --name=custom-name-for-filtered-view
|
|
226
196
|
```
|
|
227
|
-
|
|
228
197
|
<br>
|
|
229
198
|
|
|
230
199
|
#### Filtered Group
|
|
231
|
-
|
|
232
|
-
[The Filtered Group](https://nova-ui.solarwinds.io/bits/release_v12.x/additional-documentation/schematics/filter-group.html)
|
|
200
|
+
[The Filtered Group](https://nova-ui.solarwinds.io/bits/release_v12.x/additional-documentation/schematics/filter-group.html)
|
|
233
201
|
schematic provides the ability to create a filtered group view. It depends heavily on the [LocalFilteringDataSource](https://nova-ui.solarwinds.io/bits/release_v12.x/injectables/LocalFilteringDataSource.html) service, so first and foremost please check out the documentation for it.
|
|
234
|
-
This code can be generated using the following command:
|
|
235
|
-
|
|
202
|
+
This code can be generated using the following command:
|
|
236
203
|
```
|
|
237
204
|
ng generate @nova-ui/bits:filter-group --name=basic-filter-group --p=app
|
|
238
205
|
```
|
|
239
|
-
|
|
240
206
|
<br>
|
|
241
207
|
|
|
242
208
|
#### List
|
|
243
|
-
|
|
244
|
-
[The List](https://nova-ui.solarwinds.io/bits/release_v12.x/additional-documentation/schematics/list.html) schematic provides the
|
|
209
|
+
[The List](https://nova-ui.solarwinds.io/bits/release_v12.x/additional-documentation/schematics/list.html) schematic provides the
|
|
245
210
|
ability to create a generic list that can cover a majority of use cases for a list. Its main responsibility is to integrate the functionality of the [nui-repeat](https://nova-ui.solarwinds.io/bits/release_v12.x/components/RepeatComponent.html) component with other components commonly used with a list such as [nui-select-v2](https://nova-ui.solarwinds.io/bits/release_v12.x/components/SelectV2Component.html), [nui-search](https://nova-ui.solarwinds.io/bits/release_v12.x/components/SearchComponent.html), [nui-paginator](https://nova-ui.solarwinds.io/bits/release_v12.x/components/PaginatorComponent.html) and [nui-sorter](https://nova-ui.solarwinds.io/bits/release_v12.x/components/SorterComponent.html).
|
|
246
|
-
This code can be generated using the following command:
|
|
247
|
-
|
|
211
|
+
This code can be generated using the following command:
|
|
248
212
|
```
|
|
249
213
|
ng g @nova-ui/bits:list --name=basic-list --p=app
|
|
250
214
|
```
|
|
251
|
-
|
|
252
215
|
<br>
|
|
253
216
|
|
|
254
|
-
## What are Atoms?
|
|
255
217
|
|
|
218
|
+
## What are Atoms?
|
|
256
219
|
Information about Atoms can be found [here](../../README.md#Atoms)
|
|
257
220
|
Bits atoms can be imported from here: `@nova-ui/bits/sdk/atoms`.
|
|
258
221
|
|
|
222
|
+
|
|
259
223
|
## AoT Support
|
|
260
224
|
|
|
261
225
|
Nova Nui supports AoT. For a primer on AoT, you can go [here](https://angular-2-training-book.rangle.io/handout/aot/) or for
|
|
@@ -268,13 +232,13 @@ a more detailed overview you can go [here](https://angular.io/guide/aot-compiler
|
|
|
268
232
|
### Supported browsers
|
|
269
233
|
|
|
270
234
|
Nova formally supports the following browsers. Support for IE11 has been dropped as of Nova v9.0.0.
|
|
271
|
-
|
|
272
235
|
1. Chrome
|
|
273
236
|
2. Firefox
|
|
274
237
|
3. Edge
|
|
275
238
|
4. Safari
|
|
276
|
-
|
|
239
|
+
<br>
|
|
277
240
|
|
|
278
241
|
### Date pipe Safari issue
|
|
279
242
|
|
|
280
243
|
Using date pipe, string should be provided according to ISO format. Otherwise, put Moment object instead to avoid error in Safari browser. Follow [this link](https://github.com/angular/angular/issues/17575) for more details.
|
|
244
|
+
|