@nova-ui/bits 15.0.11 → 16.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/css/styles.css +1 -1
- package/common/directives/click-filter/click-filter.directive.d.ts +1 -1
- package/common/directives/clipboard/clipboard.directive.d.ts +1 -1
- package/common/directives/dragdrop/draggable.directive.d.ts +1 -1
- package/common/directives/dragdrop/droppable.directive.d.ts +1 -1
- package/common/directives/resizer/resizer.directive.d.ts +1 -1
- package/common/directives/set-focus/set-focus.directive.d.ts +1 -1
- package/common/directives/zoom-content/zoom-content.directive.d.ts +1 -1
- package/esm2022/common/common.module.mjs +177 -0
- package/{esm2020 → esm2022}/common/directives/click-filter/click-filter.directive.mjs +4 -4
- package/{esm2020 → esm2022}/common/directives/click-interceptor/click-interceptor.directive.mjs +4 -4
- package/{esm2020 → esm2022}/common/directives/clipboard/clipboard.directive.mjs +4 -4
- package/{esm2020 → esm2022}/common/directives/dragdrop/drag-and-drop.service.mjs +4 -4
- package/esm2022/common/directives/dragdrop/draggable.directive.mjs +260 -0
- package/{esm2020 → esm2022}/common/directives/dragdrop/droppable.directive.mjs +4 -4
- package/{esm2020 → esm2022}/common/directives/resize/resize.directive.mjs +4 -4
- package/{esm2020 → esm2022}/common/directives/resize-observer/resize-observer.directive.mjs +4 -4
- package/{esm2020 → esm2022}/common/directives/resizer/resizer.directive.mjs +4 -4
- package/esm2022/common/directives/set-focus/set-focus.directive.mjs +114 -0
- package/{esm2020 → esm2022}/common/directives/zoom-content/zoom-content.directive.mjs +4 -4
- package/{esm2020 → esm2022}/environment.mjs +4 -4
- package/{esm2020 → esm2022}/lib/breadcrumb/breadcrumb-state.service.mjs +4 -4
- package/{esm2020 → esm2022}/lib/breadcrumb/breadcrumb.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/breadcrumb/breadcrumb.module.mjs +5 -5
- package/{esm2020 → esm2022}/lib/busy/busy.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/busy/busy.module.mjs +5 -5
- package/esm2022/lib/button/button.component.mjs +238 -0
- package/{esm2020 → esm2022}/lib/button/button.module.mjs +5 -5
- package/esm2022/lib/checkbox/checkbox-group.component.mjs +158 -0
- package/esm2022/lib/checkbox/checkbox.component.mjs +237 -0
- package/{esm2020 → esm2022}/lib/checkbox/checkbox.module.mjs +5 -5
- package/{esm2020 → esm2022}/lib/chips/chip/chip.component.mjs +5 -5
- package/{esm2020 → esm2022}/lib/chips/chips-overflow/chips-overflow.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/chips/chips-overflow.service.mjs +4 -4
- package/{esm2020 → esm2022}/lib/chips/chips.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/chips/chips.module.mjs +5 -5
- package/{esm2020 → esm2022}/lib/content/content.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/content/content.module.mjs +5 -5
- package/{esm2020 → esm2022}/lib/convenience/time-frame-bar/time-frame-bar.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/convenience/time-frame-bar/time-frame-bar.module.mjs +21 -21
- package/{esm2020 → esm2022}/lib/date-picker/date-picker-day-picker.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/date-picker/date-picker-inner.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/date-picker/date-picker-month-picker.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/date-picker/date-picker-year-picker.component.mjs +4 -4
- package/esm2022/lib/date-picker/date-picker.component.mjs +312 -0
- package/{esm2020 → esm2022}/lib/date-picker/date-picker.module.mjs +17 -17
- package/esm2022/lib/date-time-picker/date-time-picker.component.mjs +222 -0
- package/{esm2020 → esm2022}/lib/date-time-picker/date-time-picker.module.mjs +5 -5
- package/{esm2020 → esm2022}/lib/dialog/confirmation-dialog.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/dialog/dialog-backdrop.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/dialog/dialog-footer.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/dialog/dialog-header.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/dialog/dialog-stack.service.mjs +4 -4
- package/{esm2020 → esm2022}/lib/dialog/dialog.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/dialog/dialog.module.mjs +9 -9
- package/{esm2020 → esm2022}/lib/dialog/dialog.service.mjs +4 -4
- package/{esm2020 → esm2022}/lib/divider/divider.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/divider/divider.module.mjs +5 -5
- package/{esm2020 → esm2022}/lib/dnd/dnd-drop-target.directive.mjs +4 -4
- package/{esm2020 → esm2022}/lib/dnd/dnd.module.mjs +5 -5
- package/{esm2020 → esm2022}/lib/docs/copy-text/copy-text.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/docs/docs.module.mjs +38 -38
- package/{esm2020 → esm2022}/lib/docs/example-code/example-code.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/docs/example-wrapper/code-sandbox.service.mjs +4 -4
- package/{esm2020 → esm2022}/lib/docs/example-wrapper/example-wrapper.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/docs/services/sources.service.mjs +4 -4
- package/{esm2020 → esm2022}/lib/docs/srlc-indicator/srlc-indicator.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/docs/theme-switcher/theme-switcher.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/dragdrop/dragdrop.module.mjs +5 -5
- package/{esm2020 → esm2022}/lib/dragdrop/draggable.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/dragdrop/droppable.component.mjs +5 -5
- package/{esm2020 → esm2022}/lib/expander/expander.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/expander/expander.module.mjs +5 -5
- package/{esm2020 → esm2022}/lib/form-field/form-field.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/form-field/form-field.module.mjs +5 -5
- package/esm2022/lib/freetype-query-builder/freetype-query-builder.component.mjs +362 -0
- package/{esm2020 → esm2022}/lib/freetype-query-builder/freetype-query-builder.module.mjs +29 -29
- package/{esm2020 → esm2022}/lib/freetype-query-builder/helpers/freetype-query-utils.service.mjs +4 -4
- package/{esm2020 → esm2022}/lib/freetype-query-builder/text-highlight-overlay/text-highlight-overlay-component.mjs +4 -4
- package/esm2022/lib/icon/icon.component.mjs +148 -0
- package/{esm2020 → esm2022}/lib/icon/icon.module.mjs +5 -5
- package/{esm2020 → esm2022}/lib/icon/icon.service.mjs +4 -4
- package/{esm2020 → esm2022}/lib/image/image.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/image/image.module.mjs +5 -5
- package/{esm2020 → esm2022}/lib/layout/card/card.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/layout/card-group/card-group.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/layout/layout-resizer/layout-resizer.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/layout/layout.module.mjs +13 -13
- package/{esm2020 → esm2022}/lib/layout/sheet/sheet.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/layout/sheet-group/sheet-group.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/menu/menu/menu.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/menu/menu-item/menu-action/menu-action.component.mjs +11 -11
- package/{esm2020 → esm2022}/lib/menu/menu-item/menu-group/menu-group.component.mjs +6 -6
- package/{esm2020 → esm2022}/lib/menu/menu-item/menu-item/menu-item-base.mjs +4 -4
- package/{esm2020 → esm2022}/lib/menu/menu-item/menu-item/menu-item.component.mjs +11 -11
- package/{esm2020 → esm2022}/lib/menu/menu-item/menu-link/menu-link.component.mjs +11 -11
- package/{esm2020 → esm2022}/lib/menu/menu-item/menu-option/menu-option.component.mjs +11 -11
- package/{esm2020 → esm2022}/lib/menu/menu-item/menu-switch/menu-switch.component.mjs +11 -11
- package/{esm2020 → esm2022}/lib/menu/menu-key-control.service.mjs +4 -4
- package/{esm2020 → esm2022}/lib/menu/menu-popup/menu-popup.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/menu/menu.module.mjs +31 -31
- package/esm2022/lib/message/message.component.mjs +123 -0
- package/{esm2020 → esm2022}/lib/message/message.module.mjs +5 -5
- package/{esm2020 → esm2022}/lib/overlay/arrow-component/overlay-arrow.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/overlay/overlay-additions.module.mjs +5 -5
- package/{esm2020 → esm2022}/lib/overlay/overlay-component/overlay.component.mjs +11 -11
- package/{esm2020 → esm2022}/lib/overlay/overlay-container.service.mjs +4 -4
- package/{esm2020 → esm2022}/lib/overlay/overlay-custom-container.mjs +4 -4
- package/esm2022/lib/overlay/overlay-item/overlay-item.component.mjs +52 -0
- package/{esm2020 → esm2022}/lib/overlay/overlay-position.service.mjs +4 -4
- package/{esm2020 → esm2022}/lib/overlay/overlay.module.mjs +5 -5
- package/{esm2020 → esm2022}/lib/overlay/overlay.service.mjs +4 -4
- package/{esm2020 → esm2022}/lib/paginator/paginator.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/paginator/paginator.module.mjs +13 -13
- package/esm2022/lib/panel/panel.component.mjs +453 -0
- package/{esm2020 → esm2022}/lib/panel/panel.module.mjs +5 -5
- package/{esm2020 → esm2022}/lib/popover/popover-modal.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/popover/popover-modal.service.mjs +4 -4
- package/{esm2020 → esm2022}/lib/popover/popover-position.service.mjs +4 -4
- package/{esm2020 → esm2022}/lib/popover/popover.component.mjs +5 -5
- package/{esm2020 → esm2022}/lib/popover/popover.module.mjs +11 -11
- package/{esm2020 → esm2022}/lib/popup/popup-container.component.mjs +6 -6
- package/{esm2020 → esm2022}/lib/popup/popup-container.service.mjs +4 -4
- package/{esm2020 → esm2022}/lib/popup/popup-toggle.directive.mjs +4 -4
- package/{esm2020 → esm2022}/lib/popup/popup.component.mjs +6 -6
- package/{esm2020 → esm2022}/lib/popup/popup.module.mjs +7 -7
- package/{esm2020 → esm2022}/lib/popup-adapter/popup-adapter.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/popup-adapter/popup-adapter.module.mjs +13 -13
- package/{esm2020 → esm2022}/lib/progress/progress.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/progress/progress.module.mjs +5 -5
- package/esm2022/lib/radio/radio-group.component.mjs +293 -0
- package/{esm2020 → esm2022}/lib/radio/radio.module.mjs +5 -5
- package/{esm2020 → esm2022}/lib/repeat/repeat-item/repeat-item.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/repeat/repeat.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/repeat/repeat.module.mjs +13 -13
- package/{esm2020 → esm2022}/lib/risk-score/risk-score.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/risk-score/risk-score.module.mjs +5 -5
- package/{esm2020 → esm2022}/lib/search/search.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/search/search.module.mjs +5 -5
- package/{esm2020 → esm2022}/lib/select/base-select.mjs +4 -4
- package/esm2022/lib/select/combobox/combobox.component.mjs +295 -0
- package/esm2022/lib/select/select.component.mjs +143 -0
- package/{esm2020 → esm2022}/lib/select/select.module.mjs +17 -17
- package/{esm2020 → esm2022}/lib/select-v2/base-select-v2.mjs +4 -4
- package/esm2022/lib/select-v2/combobox-v2/combobox-v2.component.mjs +320 -0
- package/{esm2020 → esm2022}/lib/select-v2/combobox-v2-option-highlight/combobox-v2-option-highlight.directive.mjs +4 -4
- package/{esm2020 → esm2022}/lib/select-v2/mark-as-selected-item.directive.mjs +4 -4
- package/esm2022/lib/select-v2/option/select-v2-option.component.mjs +81 -0
- package/{esm2020 → esm2022}/lib/select-v2/option-group/select-v2-option-group.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/select-v2/option-key-control.service.mjs +4 -4
- package/esm2022/lib/select-v2/select/select-v2.component.mjs +140 -0
- package/{esm2020 → esm2022}/lib/select-v2/select-v2.module.mjs +29 -29
- package/{esm2020 → esm2022}/lib/select-v2/selected-items-key-control.service.mjs +4 -4
- package/{esm2020 → esm2022}/lib/selector/selector.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/selector/selector.module.mjs +13 -13
- package/{esm2020 → esm2022}/lib/selector/selector.service.mjs +4 -4
- package/{esm2020 → esm2022}/lib/sorter/sorter-keyboard.service.mjs +4 -4
- package/{esm2020 → esm2022}/lib/sorter/sorter.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/sorter/sorter.module.mjs +11 -11
- package/esm2022/lib/spinner/spinner.component.mjs +153 -0
- package/{esm2020 → esm2022}/lib/spinner/spinner.module.mjs +5 -5
- package/esm2022/lib/switch/switch.component.mjs +104 -0
- package/{esm2020 → esm2022}/lib/switch/switch.module.mjs +5 -5
- package/{esm2020 → esm2022}/lib/tabgroup/tab/tab-heading-custom-template-ref.directive.mjs +4 -4
- package/{esm2020 → esm2022}/lib/tabgroup/tab/tab-heading.directive.mjs +4 -4
- package/{esm2020 → esm2022}/lib/tabgroup/tab/tab.component.mjs +6 -6
- package/{esm2020 → esm2022}/lib/tabgroup/tab-group/tab-group.component.mjs +5 -5
- package/{esm2020 → esm2022}/lib/tabgroup/tab-heading/tab-heading.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/tabgroup/tab-heading-group/tab-heading-group.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/tabgroup/tabs.module.mjs +15 -15
- package/{esm2020 → esm2022}/lib/table/table-cell/table-cell-def.directive.mjs +4 -4
- package/{esm2020 → esm2022}/lib/table/table-cell/table-cell.directive.mjs +4 -4
- package/{esm2020 → esm2022}/lib/table/table-cell/table-column-def.directive.mjs +6 -6
- package/{esm2020 → esm2022}/lib/table/table-cell/table-footer-cell-def.directive.mjs +6 -6
- package/{esm2020 → esm2022}/lib/table/table-cell/table-footer-cell.directive.mjs +4 -4
- package/{esm2020 → esm2022}/lib/table/table-cell/table-header-cell-def.directive.mjs +6 -6
- package/{esm2020 → esm2022}/lib/table/table-cell/table-header-cell.component.mjs +6 -6
- package/{esm2020 → esm2022}/lib/table/table-resizer/table-resizer.directive.mjs +4 -4
- package/{esm2020 → esm2022}/lib/table/table-row/table-row.component.mjs +31 -31
- package/{esm2020 → esm2022}/lib/table/table-state-handler.service.mjs +4 -4
- package/{esm2020 → esm2022}/lib/table/table-virtual-scroll/slice-range.pipe.mjs +4 -4
- package/{esm2020 → esm2022}/lib/table/table-virtual-scroll/table-sticky-header.directive.mjs +4 -4
- package/esm2022/lib/table/table-virtual-scroll/table-virtual-scroll.directive.mjs +131 -0
- package/{esm2020 → esm2022}/lib/table/table.component.mjs +14 -14
- package/{esm2020 → esm2022}/lib/table/table.module.mjs +53 -53
- package/esm2022/lib/textbox/textbox-number/textbox-number.component.mjs +273 -0
- package/esm2022/lib/textbox/textbox.component.mjs +178 -0
- package/{esm2020 → esm2022}/lib/textbox/textbox.module.mjs +15 -15
- package/{esm2020 → esm2022}/lib/time-frame-picker/quick-picker/quick-picker.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/time-frame-picker/services/timeframe.service.mjs +4 -4
- package/{esm2020 → esm2022}/lib/time-frame-picker/time-frame-format.pipe.mjs +4 -4
- package/{esm2020 → esm2022}/lib/time-frame-picker/time-frame-picker.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/time-frame-picker/time-frame-picker.module.mjs +9 -9
- package/{esm2020 → esm2022}/lib/time-picker/time-picker-keyboard.service.mjs +4 -4
- package/esm2022/lib/time-picker/time-picker.component.mjs +326 -0
- package/{esm2020 → esm2022}/lib/time-picker/time-picker.module.mjs +13 -13
- package/{esm2020 → esm2022}/lib/toast/toast-container.service.mjs +4 -4
- package/{esm2020 → esm2022}/lib/toast/toast.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/toast/toast.directive.mjs +4 -4
- package/{esm2020 → esm2022}/lib/toast/toast.module.mjs +9 -9
- package/{esm2020 → esm2022}/lib/toast/toast.service.mjs +4 -4
- package/{esm2020 → esm2022}/lib/toast/toast.servicebase.mjs +4 -4
- package/{esm2020 → esm2022}/lib/toolbar/toolbar-group.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/toolbar/toolbar-item.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/toolbar/toolbar-keyboard.service.mjs +4 -4
- package/{esm2020 → esm2022}/lib/toolbar/toolbar-message.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/toolbar/toolbar-splitter.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/toolbar/toolbar.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/toolbar/toolbar.module.mjs +21 -21
- package/{esm2020 → esm2022}/lib/tooltip/tooltip.component.mjs +6 -6
- package/esm2022/lib/tooltip/tooltip.directive.mjs +250 -0
- package/{esm2020 → esm2022}/lib/tooltip/tooltip.module.mjs +5 -5
- package/esm2022/lib/validation-message/custom-validation-message/custom-validation-message.component.mjs +67 -0
- package/{esm2020 → esm2022}/lib/validation-message/validation-message.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/validation-message/validation-message.module.mjs +6 -6
- package/{esm2020 → esm2022}/lib/wizard/wizard-step.component.mjs +4 -4
- package/esm2022/lib/wizard/wizard.component.mjs +358 -0
- package/{esm2020 → esm2022}/lib/wizard/wizard.module.mjs +13 -13
- package/{esm2020 → esm2022}/lib/wizard-v2/error-state-matcher.provider.mjs +4 -4
- package/{esm2020 → esm2022}/lib/wizard-v2/wizard-button/wizard-button.mjs +7 -7
- package/{esm2020 → esm2022}/lib/wizard-v2/wizard-footer/wizard-footer.component.mjs +4 -4
- package/esm2022/lib/wizard-v2/wizard-horizontal/wizard-horizontal.component.mjs +302 -0
- package/{esm2020 → esm2022}/lib/wizard-v2/wizard-overflow/wizard-overflow.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/wizard-v2/wizard-step/wizard-step.component.mjs +9 -9
- package/{esm2020 → esm2022}/lib/wizard-v2/wizard-step-footer.directive.mjs +4 -4
- package/{esm2020 → esm2022}/lib/wizard-v2/wizard-step-header/wizard-step-header.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/wizard-v2/wizard-step-label.directive.mjs +4 -4
- package/esm2022/lib/wizard-v2/wizard-vertical/wizard-vertical.component.mjs +67 -0
- package/esm2022/lib/wizard-v2/wizard.directive.mjs +123 -0
- package/{esm2020 → esm2022}/lib/wizard-v2/wizard.module.mjs +32 -32
- package/{esm2020 → esm2022}/pipes/highlight.pipe.mjs +4 -4
- package/{esm2020 → esm2022}/pipes/limit-to.pipe.mjs +4 -4
- package/{esm2020 → esm2022}/pipes/map-key-value.pipe.mjs +4 -4
- package/{esm2020 → esm2022}/pipes/unit-conversion.pipe.mjs +4 -4
- package/{esm2020 → esm2022}/services/data-filter.service.mjs +4 -4
- package/{esm2020 → esm2022}/services/data-source/client-side-data-source.service.mjs +4 -4
- package/{esm2020 → esm2022}/services/data-source/data-source.service.mjs +4 -4
- package/{esm2020 → esm2022}/services/data-source/local-filtering-data-source.service.mjs +4 -4
- package/{esm2020 → esm2022}/services/data-source/server-side-source.service.mjs +4 -4
- package/{esm2020 → esm2022}/services/dom-util.service.mjs +4 -4
- package/{esm2020 → esm2022}/services/edge-detection.service.mjs +4 -4
- package/{esm2020 → esm2022}/services/event-bus.mjs +4 -4
- package/{esm2020 → esm2022}/services/event-bus.service.mjs +4 -4
- package/{esm2020 → esm2022}/services/event-propagation.service.mjs +4 -4
- package/{esm2020 → esm2022}/services/history-storage.mjs +4 -4
- package/{esm2020 → esm2022}/services/list.service.mjs +4 -4
- package/{esm2020 → esm2022}/services/log-service.mjs +4 -4
- package/{esm2020 → esm2022}/services/notification-service.mjs +4 -4
- package/{esm2020 → esm2022}/services/position.service.mjs +4 -4
- package/{esm2020 → esm2022}/services/search.service.mjs +4 -4
- package/{esm2020 → esm2022}/services/tab-navigation.service.mjs +4 -4
- package/{esm2020 → esm2022}/services/theme-switch.service.mjs +4 -4
- package/{esm2020 → esm2022}/services/transient-cache.service.mjs +4 -4
- package/{esm2020 → esm2022}/services/unit-conversion.service.mjs +4 -4
- package/{esm2020 → esm2022}/services/util.service.mjs +4 -4
- package/{esm2020 → esm2022}/services/virtual-viewport-manager.service.mjs +4 -4
- package/{fesm2020 → fesm2022}/nova-ui-bits.mjs +6923 -1695
- package/fesm2022/nova-ui-bits.mjs.map +1 -0
- package/lib/breadcrumb/breadcrumb.component.d.ts +1 -1
- package/lib/busy/busy.component.d.ts +1 -1
- package/lib/button/button.component.d.ts +1 -1
- package/lib/checkbox/checkbox-group.component.d.ts +1 -1
- package/lib/checkbox/checkbox.component.d.ts +1 -1
- package/lib/chips/chip/chip.component.d.ts +1 -1
- package/lib/chips/chips-overflow/chips-overflow.component.d.ts +1 -1
- package/lib/chips/chips.component.d.ts +1 -1
- package/lib/content/content.component.d.ts +1 -1
- package/lib/convenience/time-frame-bar/time-frame-bar.component.d.ts +1 -1
- package/lib/date-picker/date-picker-inner.component.d.ts +1 -1
- package/lib/date-picker/date-picker.component.d.ts +1 -1
- package/lib/date-time-picker/date-time-picker.component.d.ts +1 -1
- package/lib/dialog/confirmation-dialog.component.d.ts +1 -1
- package/lib/dialog/dialog-header.component.d.ts +1 -1
- package/lib/dialog/dialog.component.d.ts +1 -1
- package/lib/divider/divider.component.d.ts +1 -1
- package/lib/dnd/dnd-drop-target.directive.d.ts +1 -1
- package/lib/docs/copy-text/copy-text.component.d.ts +1 -1
- package/lib/docs/example-code/example-code.component.d.ts +1 -1
- package/lib/docs/example-wrapper/example-wrapper.component.d.ts +1 -1
- package/lib/dragdrop/draggable.component.d.ts +1 -1
- package/lib/expander/expander.component.d.ts +1 -1
- package/lib/form-field/form-field.component.d.ts +1 -1
- package/lib/freetype-query-builder/freetype-query-builder.component.d.ts +1 -1
- package/lib/freetype-query-builder/text-highlight-overlay/text-highlight-overlay-component.d.ts +1 -1
- package/lib/icon/icon.component.d.ts +1 -1
- package/lib/image/image.component.d.ts +1 -1
- package/lib/layout/card/card.component.d.ts +1 -1
- package/lib/layout/card-group/card-group.component.d.ts +1 -1
- package/lib/layout/layout-resizer/layout-resizer.component.d.ts +1 -1
- package/lib/layout/sheet/sheet.component.d.ts +1 -1
- package/lib/layout/sheet-group/sheet-group.component.d.ts +1 -1
- package/lib/menu/menu/menu.component.d.ts +1 -1
- package/lib/menu/menu-item/menu-action/menu-action.component.d.ts +1 -1
- package/lib/menu/menu-item/menu-group/menu-group.component.d.ts +1 -1
- package/lib/menu/menu-item/menu-item/menu-item-base.d.ts +1 -1
- package/lib/menu/menu-item/menu-link/menu-link.component.d.ts +1 -1
- package/lib/menu/menu-item/menu-option/menu-option.component.d.ts +1 -1
- package/lib/menu/menu-item/menu-switch/menu-switch.component.d.ts +1 -1
- package/lib/menu/menu-popup/menu-popup.component.d.ts +1 -1
- package/lib/message/message.component.d.ts +1 -1
- package/lib/overlay/overlay-component/overlay.component.d.ts +1 -1
- package/lib/overlay/overlay-item/overlay-item.component.d.ts +1 -1
- package/lib/paginator/paginator.component.d.ts +1 -1
- package/lib/panel/panel.component.d.ts +1 -1
- package/lib/popover/popover-modal.component.d.ts +1 -1
- package/lib/popover/popover.component.d.ts +1 -1
- package/lib/popup/popup-toggle.directive.d.ts +1 -1
- package/lib/popup/popup.component.d.ts +1 -1
- package/lib/popup-adapter/popup-adapter.component.d.ts +1 -1
- package/lib/progress/progress.component.d.ts +1 -1
- package/lib/radio/radio-group.component.d.ts +2 -2
- package/lib/repeat/repeat-item/repeat-item.component.d.ts +1 -1
- package/lib/repeat/repeat.component.d.ts +1 -1
- package/lib/risk-score/risk-score.component.d.ts +1 -1
- package/lib/search/search.component.d.ts +1 -1
- package/lib/select/base-select.d.ts +1 -1
- package/lib/select/combobox/combobox.component.d.ts +1 -1
- package/lib/select/select.component.d.ts +1 -1
- package/lib/select-v2/base-select-v2.d.ts +1 -1
- package/lib/select-v2/combobox-v2/combobox-v2.component.d.ts +1 -1
- package/lib/select-v2/combobox-v2-option-highlight/combobox-v2-option-highlight.directive.d.ts +1 -1
- package/lib/select-v2/option/select-v2-option.component.d.ts +1 -1
- package/lib/select-v2/select/select-v2.component.d.ts +1 -1
- package/lib/selector/selector.component.d.ts +1 -1
- package/lib/sorter/sorter.component.d.ts +1 -1
- package/lib/spinner/spinner.component.d.ts +1 -1
- package/lib/switch/switch.component.d.ts +1 -1
- package/lib/tabgroup/tab/tab-heading-custom-template-ref.directive.d.ts +1 -1
- package/lib/tabgroup/tab/tab.component.d.ts +1 -1
- package/lib/tabgroup/tab-group/tab-group.component.d.ts +1 -1
- package/lib/tabgroup/tab-heading/tab-heading.component.d.ts +1 -1
- package/lib/tabgroup/tab-heading-group/tab-heading-group.component.d.ts +1 -1
- package/lib/table/table-cell/table-cell.directive.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-resizer/table-resizer.directive.d.ts +1 -1
- package/lib/table/table-row/table-row.component.d.ts +5 -5
- package/lib/table/table-virtual-scroll/table-sticky-header.directive.d.ts +1 -1
- package/lib/table/table-virtual-scroll/table-virtual-scroll.directive.d.ts +2 -2
- package/lib/table/table.component.d.ts +1 -1
- package/lib/textbox/textbox-number/textbox-number.component.d.ts +1 -1
- package/lib/textbox/textbox.component.d.ts +1 -1
- package/lib/time-frame-picker/quick-picker/quick-picker.component.d.ts +1 -1
- package/lib/time-frame-picker/time-frame-picker.component.d.ts +1 -1
- package/lib/time-picker/time-picker.component.d.ts +1 -1
- package/lib/toast/toast.directive.d.ts +1 -1
- package/lib/toolbar/toolbar-group.component.d.ts +1 -1
- package/lib/toolbar/toolbar-item.component.d.ts +1 -1
- package/lib/toolbar/toolbar.component.d.ts +1 -1
- package/lib/tooltip/tooltip.directive.d.ts +3 -4
- package/lib/validation-message/validation-message.component.d.ts +1 -1
- package/lib/wizard/wizard-step.component.d.ts +1 -1
- package/lib/wizard/wizard.component.d.ts +4 -4
- package/lib/wizard-v2/wizard-button/wizard-button.d.ts +2 -2
- package/lib/wizard-v2/wizard-footer/wizard-footer.component.d.ts +1 -1
- package/lib/wizard-v2/wizard-horizontal/wizard-horizontal.component.d.ts +1 -1
- package/lib/wizard-v2/wizard-overflow/wizard-overflow.component.d.ts +1 -1
- 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-vertical/wizard-vertical.component.d.ts +1 -1
- package/lib/wizard-v2/wizard.directive.d.ts +1 -1
- package/package.json +5 -14
- 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.map +1 -1
- package/sdk/atoms/components/checkbox/checkbox.atom.js.map +1 -1
- package/sdk/atoms/components/checkbox-group/checkbox-group.atom.js.map +1 -1
- package/sdk/atoms/components/chips/chips.atom.js.map +1 -1
- package/sdk/atoms/components/combobox/combobox.atom.js.map +1 -1
- package/sdk/atoms/components/combobox-v2/combobox-v2.atom.js.map +1 -1
- package/sdk/atoms/components/content/content.atom.js.map +1 -1
- package/sdk/atoms/components/datepicker/datepicker.atom.js.map +1 -1
- package/sdk/atoms/components/dialog/dialog.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.map +1 -1
- package/sdk/atoms/components/form-field/form-field.atom.js.map +1 -1
- package/sdk/atoms/components/freetype-query-builder/freetype-query-builder.atom.js.map +1 -1
- package/sdk/atoms/components/icon/icon.atom.js +1 -1
- package/sdk/atoms/components/icon/icon.atom.js.map +1 -1
- package/sdk/atoms/components/menu/menu.atom.js.map +1 -1
- 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/paginator/paginator.atom.js.map +1 -1
- package/sdk/atoms/components/panel/panel.atom.js.map +1 -1
- 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.map +1 -1
- package/sdk/atoms/components/repeat/repeat.atom.js.map +1 -1
- package/sdk/atoms/components/select/select.atom.js.map +1 -1
- package/sdk/atoms/components/selector/selector.e2e.js +1 -1
- package/sdk/atoms/components/selector/selector.e2e.js.map +1 -1
- package/sdk/atoms/components/sorter/sorter.atom.js.map +1 -1
- package/sdk/atoms/components/spinner/spinner.atom.js.map +1 -1
- package/sdk/atoms/components/switch/switch.atom.js.map +1 -1
- package/sdk/atoms/components/table/table.atom.js.map +1 -1
- package/sdk/atoms/components/textbox/textbox.atom.js.map +1 -1
- package/sdk/atoms/components/textbox-number/textbox-number.atom.js.map +1 -1
- package/sdk/atoms/components/time-frame-picker/quick-picker.atom.js.map +1 -1
- package/sdk/atoms/components/timepicker/timepicker.atom.js.map +1 -1
- package/sdk/atoms/components/toolbar/toolbar.atom.js.map +1 -1
- package/sdk/atoms/components/wizard/wizard-step.atom.js.map +1 -1
- package/sdk/atoms/components/wizard/wizard.atom.js.map +1 -1
- package/sdk/atoms/directives/resizer/resizer.atom.js.map +1 -1
- 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 +1 -1
- package/sdk/atoms/helpers.js.map +1 -1
- package/sdk/atoms/virtual-camera/types.js +1 -1
- package/sdk/atoms/virtual-camera/types.js.map +1 -1
- package/sdk/locale/messages.en.xlf +1 -1
- package/sdk/schematics/collection.json +1 -1
- package/sdk/schematics/filter-group/index.spec.js +1 -2
- package/sdk/schematics/filter-group/index.spec.js.map +1 -1
- package/sdk/schematics/filtered-view/index.spec.js +1 -2
- package/sdk/schematics/filtered-view/index.spec.js.map +1 -1
- package/sdk/schematics/layout/index.spec.js +3 -6
- package/sdk/schematics/layout/index.spec.js.map +1 -1
- package/sdk/schematics/migration.json +1 -1
- package/sdk/schematics/ng-add/index.spec.js +13 -23
- package/sdk/schematics/ng-add/index.spec.js.map +1 -1
- package/sdk/schematics/ng-update/index.spec.js +5 -10
- package/sdk/schematics/ng-update/index.spec.js.map +1 -1
- package/esm2020/common/common.module.mjs +0 -177
- package/esm2020/common/directives/dragdrop/draggable.directive.mjs +0 -260
- package/esm2020/common/directives/set-focus/set-focus.directive.mjs +0 -114
- package/esm2020/lib/button/button.component.mjs +0 -238
- package/esm2020/lib/checkbox/checkbox-group.component.mjs +0 -158
- package/esm2020/lib/checkbox/checkbox.component.mjs +0 -237
- package/esm2020/lib/date-picker/date-picker.component.mjs +0 -312
- package/esm2020/lib/date-time-picker/date-time-picker.component.mjs +0 -222
- package/esm2020/lib/freetype-query-builder/freetype-query-builder.component.mjs +0 -362
- package/esm2020/lib/icon/icon.component.mjs +0 -148
- package/esm2020/lib/message/message.component.mjs +0 -123
- package/esm2020/lib/overlay/overlay-item/overlay-item.component.mjs +0 -52
- package/esm2020/lib/panel/panel.component.mjs +0 -453
- package/esm2020/lib/radio/radio-group.component.mjs +0 -293
- package/esm2020/lib/select/combobox/combobox.component.mjs +0 -295
- package/esm2020/lib/select/select.component.mjs +0 -143
- package/esm2020/lib/select-v2/combobox-v2/combobox-v2.component.mjs +0 -320
- package/esm2020/lib/select-v2/option/select-v2-option.component.mjs +0 -81
- package/esm2020/lib/select-v2/select/select-v2.component.mjs +0 -140
- package/esm2020/lib/spinner/spinner.component.mjs +0 -153
- package/esm2020/lib/switch/switch.component.mjs +0 -104
- package/esm2020/lib/table/table-virtual-scroll/table-virtual-scroll.directive.mjs +0 -131
- package/esm2020/lib/textbox/textbox-number/textbox-number.component.mjs +0 -273
- package/esm2020/lib/textbox/textbox.component.mjs +0 -178
- package/esm2020/lib/time-picker/time-picker.component.mjs +0 -326
- package/esm2020/lib/tooltip/tooltip.directive.mjs +0 -252
- package/esm2020/lib/validation-message/custom-validation-message/custom-validation-message.component.mjs +0 -67
- package/esm2020/lib/wizard/wizard.component.mjs +0 -359
- package/esm2020/lib/wizard-v2/wizard-horizontal/wizard-horizontal.component.mjs +0 -302
- package/esm2020/lib/wizard-v2/wizard-vertical/wizard-vertical.component.mjs +0 -67
- package/esm2020/lib/wizard-v2/wizard.directive.mjs +0 -123
- package/fesm2015/nova-ui-bits.mjs +0 -27911
- package/fesm2015/nova-ui-bits.mjs.map +0 -1
- package/fesm2020/nova-ui-bits.mjs.map +0 -1
- package/schematics/README.md +0 -28
- /package/{esm2020 → esm2022}/animations/expand.mjs +0 -0
- /package/{esm2020 → esm2022}/animations/fadeIn.mjs +0 -0
- /package/{esm2020 → esm2022}/common/directives/click-filter/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/common/directives/dragdrop/dragdrop.constants.mjs +0 -0
- /package/{esm2020 → esm2022}/common/directives/dragdrop/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/common/directives/index.mjs +0 -0
- /package/{esm2020 → esm2022}/common/directives/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/common/directives/resizer/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/constants/button.constants.mjs +0 -0
- /package/{esm2020 → esm2022}/constants/dragdrop.constants.mjs +0 -0
- /package/{esm2020 → esm2022}/constants/event.constants.mjs +0 -0
- /package/{esm2020 → esm2022}/constants/images.constants.mjs +0 -0
- /package/{esm2020 → esm2022}/constants/images.mjs +0 -0
- /package/{esm2020 → esm2022}/constants/interaction.constants.mjs +0 -0
- /package/{esm2020 → esm2022}/constants/keycode.constants.mjs +0 -0
- /package/{esm2020 → esm2022}/constants/path.constants.mjs +0 -0
- /package/{esm2020 → esm2022}/constants/popover.constants.mjs +0 -0
- /package/{esm2020 → esm2022}/constants/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/constants/regex.constants.mjs +0 -0
- /package/{esm2020 → esm2022}/constants/resize.constants.mjs +0 -0
- /package/{esm2020 → esm2022}/constants/unit-conversion.constants.mjs +0 -0
- /package/{esm2020 → esm2022}/constants/wizard.constants.mjs +0 -0
- /package/{esm2020 → esm2022}/functions/immutable-set.mjs +0 -0
- /package/{esm2020 → esm2022}/functions/nameof.mjs +0 -0
- /package/{esm2020 → esm2022}/functions/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/functions/remove-errors.mjs +0 -0
- /package/{esm2020 → esm2022}/functions/traverse.mjs +0 -0
- /package/{esm2020 → esm2022}/functions/uuid.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/breadcrumb/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/busy/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/button/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/checkbox/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/chips/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/date-picker/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/dialog/dialog-ref.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/dialog/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/divider/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/dnd/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/docs/example-wrapper/code-sandbox-files.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/docs/live-example-files/angular.json.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/docs/live-example-files/app.component.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/docs/live-example-files/app.module.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/docs/live-example-files/index.html.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/docs/live-example-files/main.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/docs/live-example-files/package.json.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/docs/live-example-files/polyfills.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/docs/live-example-files/tsconfig.json.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/docs/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/docs/srlc-indicator/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/dragdrop/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/form-field/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/form-field/touched-changes-helper.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/freetype-query-builder/helpers/window.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/freetype-query-builder/models.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/freetype-query-builder/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/icon/icons.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/icon/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/icon/types.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/image/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/layout/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/menu/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/menu/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/overlay/constants.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/overlay/overlay-utilities.service.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/overlay/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/overlay/types.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/paginator/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/panel/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/popover/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/repeat/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/repeat/types.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/select/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/select/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/select-v2/constants.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/select-v2/types.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/selector/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/sorter/constants.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/sorter/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/spinner/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/table/constants.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/table/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/table/table-virtual-scroll/table-virtual-scroll-strategy.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/table/types.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/time-frame-picker/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/toast/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/toast/toast-injector.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/toast/toast-package.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/toast/toast-ref.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/toolbar/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/tooltip/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/validation-message/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/wizard/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/wizard-v2/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/wizard-v2/types.mjs +0 -0
- /package/{esm2020 → esm2022}/nova-ui-bits.mjs +0 -0
- /package/{esm2020 → esm2022}/nui-api.mjs +0 -0
- /package/{esm2020 → esm2022}/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/services/content-ref.mjs +0 -0
- /package/{esm2020 → esm2022}/services/data-source/data-source-features.mjs +0 -0
- /package/{esm2020 → esm2022}/services/data-source/noop-data-source.service.mjs +0 -0
- /package/{esm2020 → esm2022}/services/data-source/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/services/notification-args.mjs +0 -0
- /package/{esm2020 → esm2022}/services/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/types.mjs +0 -0
- /package/{esm2020 → esm2022}/validators/index.mjs +0 -0
- /package/{esm2020 → esm2022}/validators/nui-validators.mjs +0 -0
|
@@ -1,153 +0,0 @@
|
|
|
1
|
-
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
2
|
-
//
|
|
3
|
-
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
4
|
-
// of this software and associated documentation files (the "Software"), to
|
|
5
|
-
// deal in the Software without restriction, including without limitation the
|
|
6
|
-
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
7
|
-
// sell copies of the Software, and to permit persons to whom the Software is
|
|
8
|
-
// furnished to do so, subject to the following conditions:
|
|
9
|
-
//
|
|
10
|
-
// The above copyright notice and this permission notice shall be included in
|
|
11
|
-
// all copies or substantial portions of the Software.
|
|
12
|
-
//
|
|
13
|
-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
14
|
-
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
15
|
-
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
16
|
-
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
17
|
-
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
18
|
-
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
19
|
-
// THE SOFTWARE.
|
|
20
|
-
import { animate, style, transition, trigger } from "@angular/animations";
|
|
21
|
-
import { ChangeDetectorRef, Component, EventEmitter, HostBinding, Input, NgZone, Output, ViewEncapsulation, } from "@angular/core";
|
|
22
|
-
import { ButtonIcon, SpinnerSize } from "./public-api";
|
|
23
|
-
import { LoggerService } from "../../services/log-service";
|
|
24
|
-
import * as i0 from "@angular/core";
|
|
25
|
-
import * as i1 from "../../services/log-service";
|
|
26
|
-
import * as i2 from "@angular/common";
|
|
27
|
-
import * as i3 from "../button/button.component";
|
|
28
|
-
import * as i4 from "../tooltip/tooltip.directive";
|
|
29
|
-
/**
|
|
30
|
-
* <example-url>./../examples/index.html#/spinner</example-url>
|
|
31
|
-
*/
|
|
32
|
-
export class SpinnerComponent {
|
|
33
|
-
set size(val) {
|
|
34
|
-
const sizes = Object.values(SpinnerSize);
|
|
35
|
-
if (sizes.includes(val)) {
|
|
36
|
-
this._size = val;
|
|
37
|
-
return;
|
|
38
|
-
}
|
|
39
|
-
this.logger.warn(`Allowed sizes for nui-spinner are ${sizes.join(", ")}. ` +
|
|
40
|
-
`Default is ${SpinnerComponent.defaultSize}.`);
|
|
41
|
-
this._size = SpinnerComponent.defaultSize;
|
|
42
|
-
}
|
|
43
|
-
get size() {
|
|
44
|
-
return this._size || SpinnerComponent.defaultSize;
|
|
45
|
-
}
|
|
46
|
-
get icon() {
|
|
47
|
-
return ButtonIcon[this.size];
|
|
48
|
-
}
|
|
49
|
-
get showText() {
|
|
50
|
-
return this.size !== SpinnerSize.Small;
|
|
51
|
-
}
|
|
52
|
-
constructor(logger, changeDetector, ngZone) {
|
|
53
|
-
this.logger = logger;
|
|
54
|
-
this.changeDetector = changeDetector;
|
|
55
|
-
this.ngZone = ngZone;
|
|
56
|
-
this.tooltipText = $localize `Cancel`;
|
|
57
|
-
this.showSpinner = false;
|
|
58
|
-
this.isDeterminate = false;
|
|
59
|
-
this.show = false;
|
|
60
|
-
this.delay = 250;
|
|
61
|
-
/**
|
|
62
|
-
* Input to set aria label text
|
|
63
|
-
*/
|
|
64
|
-
this.ariaLabel = "Spinner";
|
|
65
|
-
this.cancel = new EventEmitter();
|
|
66
|
-
}
|
|
67
|
-
ngOnChanges(changes) {
|
|
68
|
-
if (changes?.percent) {
|
|
69
|
-
this.ariaValueNow = this.percent ? String(this.percent) : undefined;
|
|
70
|
-
}
|
|
71
|
-
if (!changes["show"]) {
|
|
72
|
-
return;
|
|
73
|
-
}
|
|
74
|
-
this.isDeterminate = this.percent !== undefined;
|
|
75
|
-
this.cancelShowTimer();
|
|
76
|
-
if (this.delay && this.show) {
|
|
77
|
-
this.ngZone.runOutsideAngular(() => {
|
|
78
|
-
this.showTimer = setTimeout(() => {
|
|
79
|
-
this.ngZone.run(() => {
|
|
80
|
-
this.showSpinner = this.show;
|
|
81
|
-
this.changeDetector.detectChanges();
|
|
82
|
-
});
|
|
83
|
-
}, this.delay);
|
|
84
|
-
});
|
|
85
|
-
}
|
|
86
|
-
else {
|
|
87
|
-
this.showSpinner = this.show;
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
cancelShowTimer() {
|
|
91
|
-
if (this.showTimer) {
|
|
92
|
-
clearTimeout(this.showTimer);
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
cancelProgress() {
|
|
96
|
-
this.cancel.emit();
|
|
97
|
-
}
|
|
98
|
-
ngOnDestroy() {
|
|
99
|
-
this.cancelShowTimer();
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
SpinnerComponent.defaultSize = SpinnerSize.Small;
|
|
103
|
-
SpinnerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SpinnerComponent, deps: [{ token: i1.LoggerService }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
104
|
-
SpinnerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", type: SpinnerComponent, selector: "nui-spinner", inputs: { percent: "percent", show: "show", delay: "delay", allowCancel: "allowCancel", message: "message", helpText: "helpText", ariaLabel: "ariaLabel", size: "size" }, outputs: { cancel: "cancel" }, host: { attributes: { "role": "progressbar", "aria-valuemin": "0", "aria-valuemax": "100" }, properties: { "attr.aria-label": "ariaLabel", "attr.aria-valuenow": "this.ariaValueNow" } }, usesOnChanges: true, ngImport: i0, template: "<span\n class=\"nui-icon-busy-circular nui-spinner nui-spinner__container--{{\n size\n }}\"\n *ngIf=\"showSpinner\"\n [ngClass]=\"{ 'nui-spinner--determinate': isDeterminate }\"\n [@spinnerAppear]\n>\n <div class=\"nui-spinner__container\">\n <svg\n class=\"nui-spinner__circular\"\n viewBox=\"25 25 50 50\"\n *ngIf=\"!isDeterminate\"\n >\n <circle\n class=\"nui-spinner__path-under\"\n cx=\"50\"\n cy=\"50\"\n r=\"22\"\n fill=\"none\"\n stroke-width=\"5\"\n stroke-miterlimit=\"10\"\n />\n <circle\n class=\"nui-spinner__path\"\n cx=\"50\"\n cy=\"50\"\n r=\"22\"\n fill=\"none\"\n stroke-width=\"5\"\n stroke-miterlimit=\"10\"\n />\n </svg>\n <svg\n class=\"nui-spinner__circular\"\n viewBox=\"0 0 36 36\"\n *ngIf=\"isDeterminate\"\n >\n <circle\n class=\"nui-spinner__path-under\"\n cx=\"18\"\n cy=\"18\"\n r=\"15.9155\"\n fill=\"none\"\n stroke-width=\"4\"\n stroke-miterlimit=\"10\"\n />\n <circle\n class=\"nui-spinner__path\"\n cx=\"18\"\n cy=\"18\"\n r=\"15.9155\"\n fill=\"none\"\n stroke-width=\"4\"\n stroke-miterlimit=\"10\"\n [ngStyle]=\"{ 'stroke-dasharray': percent + ', 100' }\"\n />\n </svg>\n\n <button\n nui-button\n type=\"button\"\n class=\"nui-spinner__cancel\"\n icon=\"close\"\n *ngIf=\"allowCancel\"\n (click)=\"cancelProgress()\"\n displayStyle=\"action\"\n [nuiTooltip]=\"tooltipText\"\n ></button>\n </div>\n\n <div class=\"nui-spinner__text-content\" *ngIf=\"showText\">\n <div class=\"nui-spinner__label\" *ngIf=\"message !== undefined\">\n <span class=\"nui-text-label nui-spinner__label-item\">{{\n message\n }}</span>\n </div>\n <span\n class=\"nui-spinner__hint nui-help-hint\"\n *ngIf=\"helpText !== undefined\"\n >\n {{ helpText }}\n </span>\n </div>\n</span>\n", styles: [".nui-spinner{display:inline-flex;align-items:center;position:relative;margin:0 auto;box-sizing:border-box;vertical-align:middle}.nui-spinner__container{display:inline-flex;align-items:center;justify-content:center;position:relative;box-sizing:border-box}.nui-spinner__container--small .nui-spinner__container{width:20px;height:20px}.nui-spinner__container--small .nui-spinner__cancel.nui-button{border-radius:50%;min-height:10px;min-width:10px;padding:0}.nui-spinner__container--large .nui-spinner__container{width:50px;height:50px}.nui-spinner__container--large .nui-spinner__cancel.nui-button{border-radius:50%;min-height:10px;min-width:10px;padding:3px}.nui-spinner__label{margin-left:10px}.nui-spinner__hint{display:block;margin-left:10px}.nui-spinner__circular{position:absolute;width:100%;height:100%;animation:rotate 2s linear infinite;transform-origin:center center;inset:0;margin:auto}.nui-spinner__path-under{stroke:var(--nui-color-line-default,#d9d9d9)}.nui-spinner__path{stroke-dashoffset:0px;animation:dash 1.5s ease-in-out infinite;stroke-linecap:square;stroke:var(--nui-color-progress,#00c4d2)}@keyframes rotate{to{transform:rotate(360deg)}}@keyframes dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:67,200;stroke-dashoffset:-35px}to{stroke-dasharray:134,200;stroke-dashoffset:-134px}}.nui-spinner--determinate .nui-spinner__circular{animation:none}.nui-spinner--determinate .nui-spinner__path{transition:.5s linear;animation:none}\n"], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: i3.ButtonComponent, selector: "[nui-button]", inputs: ["displayStyle", "icon", "iconColor", "iconRight", "isBusy", "isEmpty", "ariaLabel", "isRepeat", "size"] }, { kind: "directive", type: i4.TooltipDirective, selector: "[nuiTooltip]", inputs: ["tooltipPlacement", "nuiTooltipDisabled", "nuiTooltipEllipsis", "nuiTooltip"], exportAs: ["nuiTooltip"] }], animations: [
|
|
105
|
-
trigger("spinnerAppear", [
|
|
106
|
-
transition(":enter", [
|
|
107
|
-
animate(".2s ease-in-out", style({ opacity: 1 })),
|
|
108
|
-
]),
|
|
109
|
-
transition(":leave", [
|
|
110
|
-
animate(".2s ease-in-out", style({ opacity: 0 })),
|
|
111
|
-
]),
|
|
112
|
-
]),
|
|
113
|
-
], encapsulation: i0.ViewEncapsulation.None });
|
|
114
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SpinnerComponent, decorators: [{
|
|
115
|
-
type: Component,
|
|
116
|
-
args: [{ selector: "nui-spinner", encapsulation: ViewEncapsulation.None, animations: [
|
|
117
|
-
trigger("spinnerAppear", [
|
|
118
|
-
transition(":enter", [
|
|
119
|
-
animate(".2s ease-in-out", style({ opacity: 1 })),
|
|
120
|
-
]),
|
|
121
|
-
transition(":leave", [
|
|
122
|
-
animate(".2s ease-in-out", style({ opacity: 0 })),
|
|
123
|
-
]),
|
|
124
|
-
]),
|
|
125
|
-
], host: {
|
|
126
|
-
role: "progressbar",
|
|
127
|
-
"aria-valuemin": "0",
|
|
128
|
-
"aria-valuemax": "100",
|
|
129
|
-
"[attr.aria-label]": "ariaLabel",
|
|
130
|
-
}, template: "<span\n class=\"nui-icon-busy-circular nui-spinner nui-spinner__container--{{\n size\n }}\"\n *ngIf=\"showSpinner\"\n [ngClass]=\"{ 'nui-spinner--determinate': isDeterminate }\"\n [@spinnerAppear]\n>\n <div class=\"nui-spinner__container\">\n <svg\n class=\"nui-spinner__circular\"\n viewBox=\"25 25 50 50\"\n *ngIf=\"!isDeterminate\"\n >\n <circle\n class=\"nui-spinner__path-under\"\n cx=\"50\"\n cy=\"50\"\n r=\"22\"\n fill=\"none\"\n stroke-width=\"5\"\n stroke-miterlimit=\"10\"\n />\n <circle\n class=\"nui-spinner__path\"\n cx=\"50\"\n cy=\"50\"\n r=\"22\"\n fill=\"none\"\n stroke-width=\"5\"\n stroke-miterlimit=\"10\"\n />\n </svg>\n <svg\n class=\"nui-spinner__circular\"\n viewBox=\"0 0 36 36\"\n *ngIf=\"isDeterminate\"\n >\n <circle\n class=\"nui-spinner__path-under\"\n cx=\"18\"\n cy=\"18\"\n r=\"15.9155\"\n fill=\"none\"\n stroke-width=\"4\"\n stroke-miterlimit=\"10\"\n />\n <circle\n class=\"nui-spinner__path\"\n cx=\"18\"\n cy=\"18\"\n r=\"15.9155\"\n fill=\"none\"\n stroke-width=\"4\"\n stroke-miterlimit=\"10\"\n [ngStyle]=\"{ 'stroke-dasharray': percent + ', 100' }\"\n />\n </svg>\n\n <button\n nui-button\n type=\"button\"\n class=\"nui-spinner__cancel\"\n icon=\"close\"\n *ngIf=\"allowCancel\"\n (click)=\"cancelProgress()\"\n displayStyle=\"action\"\n [nuiTooltip]=\"tooltipText\"\n ></button>\n </div>\n\n <div class=\"nui-spinner__text-content\" *ngIf=\"showText\">\n <div class=\"nui-spinner__label\" *ngIf=\"message !== undefined\">\n <span class=\"nui-text-label nui-spinner__label-item\">{{\n message\n }}</span>\n </div>\n <span\n class=\"nui-spinner__hint nui-help-hint\"\n *ngIf=\"helpText !== undefined\"\n >\n {{ helpText }}\n </span>\n </div>\n</span>\n", styles: [".nui-spinner{display:inline-flex;align-items:center;position:relative;margin:0 auto;box-sizing:border-box;vertical-align:middle}.nui-spinner__container{display:inline-flex;align-items:center;justify-content:center;position:relative;box-sizing:border-box}.nui-spinner__container--small .nui-spinner__container{width:20px;height:20px}.nui-spinner__container--small .nui-spinner__cancel.nui-button{border-radius:50%;min-height:10px;min-width:10px;padding:0}.nui-spinner__container--large .nui-spinner__container{width:50px;height:50px}.nui-spinner__container--large .nui-spinner__cancel.nui-button{border-radius:50%;min-height:10px;min-width:10px;padding:3px}.nui-spinner__label{margin-left:10px}.nui-spinner__hint{display:block;margin-left:10px}.nui-spinner__circular{position:absolute;width:100%;height:100%;animation:rotate 2s linear infinite;transform-origin:center center;inset:0;margin:auto}.nui-spinner__path-under{stroke:var(--nui-color-line-default,#d9d9d9)}.nui-spinner__path{stroke-dashoffset:0px;animation:dash 1.5s ease-in-out infinite;stroke-linecap:square;stroke:var(--nui-color-progress,#00c4d2)}@keyframes rotate{to{transform:rotate(360deg)}}@keyframes dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:67,200;stroke-dashoffset:-35px}to{stroke-dasharray:134,200;stroke-dashoffset:-134px}}.nui-spinner--determinate .nui-spinner__circular{animation:none}.nui-spinner--determinate .nui-spinner__path{transition:.5s linear;animation:none}\n"] }]
|
|
131
|
-
}], ctorParameters: function () { return [{ type: i1.LoggerService }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }]; }, propDecorators: { ariaValueNow: [{
|
|
132
|
-
type: HostBinding,
|
|
133
|
-
args: ["attr.aria-valuenow"]
|
|
134
|
-
}], percent: [{
|
|
135
|
-
type: Input
|
|
136
|
-
}], show: [{
|
|
137
|
-
type: Input
|
|
138
|
-
}], delay: [{
|
|
139
|
-
type: Input
|
|
140
|
-
}], allowCancel: [{
|
|
141
|
-
type: Input
|
|
142
|
-
}], message: [{
|
|
143
|
-
type: Input
|
|
144
|
-
}], helpText: [{
|
|
145
|
-
type: Input
|
|
146
|
-
}], ariaLabel: [{
|
|
147
|
-
type: Input
|
|
148
|
-
}], cancel: [{
|
|
149
|
-
type: Output
|
|
150
|
-
}], size: [{
|
|
151
|
-
type: Input
|
|
152
|
-
}] } });
|
|
153
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Bpbm5lci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvbGliL3NwaW5uZXIvc3Bpbm5lci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi9zcmMvbGliL3NwaW5uZXIvc3Bpbm5lci5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSx5REFBeUQ7QUFDekQsRUFBRTtBQUNGLCtFQUErRTtBQUMvRSw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1bigoKSA9PiB7XG4gICAgICAgICAgICAgICAgICAgICAgICB0aGlzLnNob3dTcGlubmVyID0gdGhpcy5zaG93O1xuICAgICAgICAgICAgICAgICAgICAgICAgdGhpcy5jaGFuZ2VEZXRlY3Rvci5kZXRlY3RDaGFuZ2VzKCk7XG4gICAgICAgICAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgICAgIH0sIHRoaXMuZGVsYXkpO1xuICAgICAgICAgICAgfSk7XG4gICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICB0aGlzLnNob3dTcGlubmVyID0gdGhpcy5zaG93O1xuICAgICAgICB9XG4gICAgfVxuXG4gICAgcHVibGljIGNhbmNlbFNob3dUaW1lcigpOiB2b2lkIHtcbiAgICAgICAgaWYgKHRoaXMuc2hvd1RpbWVyKSB7XG4gICAgICAgICAgICBjbGVhclRpbWVvdXQodGhpcy5zaG93VGltZXIpO1xuICAgICAgICB9XG4gICAgfVxuXG4gICAgcHVibGljIGNhbmNlbFByb2dyZXNzKCk6IHZvaWQge1xuICAgICAgICB0aGlzLmNhbmNlbC5lbWl0KCk7XG4gICAgfVxuXG4gICAgcHVibGljIG5nT25EZXN0cm95KCk6IHZvaWQge1xuICAgICAgICB0aGlzLmNhbmNlbFNob3dUaW1lcigpO1xuICAgIH1cbn1cbiIsIjxzcGFuXG4gICAgY2xhc3M9XCJudWktaWNvbi1idXN5LWNpcmN1bGFyIG51aS1zcGlubmVyIG51aS1zcGlubmVyX19jb250YWluZXItLXt7XG4gICAgICAgIHNpemVcbiAgICB9fVwiXG4gICAgKm5nSWY9XCJzaG93U3Bpbm5lclwiXG4gICAgW25nQ2xhc3NdPVwieyAnbnVpLXNwaW5uZXItLWRldGVybWluYXRlJzogaXNEZXRlcm1pbmF0ZSB9XCJcbiAgICBbQHNwaW5uZXJBcHBlYXJdXG4+XG4gICAgPGRpdiBjbGFzcz1cIm51aS1zcGlubmVyX19jb250YWluZXJcIj5cbiAgICAgICAgPHN2Z1xuICAgICAgICAgICAgY2xhc3M9XCJudWktc3Bpbm5lcl9fY2lyY3VsYXJcIlxuICAgICAgICAgICAgdmlld0JveD1cIjI1IDI1IDUwIDUwXCJcbiAgICAgICAgICAgICpuZ0lmPVwiIWlzRGV0ZXJtaW5hdGVcIlxuICAgICAgICA+XG4gICAgICAgICAgICA8Y2lyY2xlXG4gICAgICAgICAgICAgICAgY2xhc3M9XCJudWktc3Bpbm5lcl9fcGF0aC11bmRlclwiXG4gICAgICAgICAgICAgICAgY3g9XCI1MFwiXG4gICAgICAgICAgICAgICAgY3k9XCI1MFwiXG4gICAgICAgICAgICAgICAgcj1cIjIyXCJcbiAgICAgICAgICAgICAgICBmaWxsPVwibm9uZVwiXG4gICAgICAgICAgICAgICAgc3Ryb2tlLXdpZHRoPVwiNVwiXG4gICAgICAgICAgICAgICAgc3Ryb2tlLW1pdGVybGltaXQ9XCIxMFwiXG4gICAgICAgICAgICAvPlxuICAgICAgICAgICAgPGNpcmNsZVxuICAgICAgICAgICAgICAgIGNsYXNzPVwibnVpLXNwaW5uZXJfX3BhdGhcIlxuICAgICAgICAgICAgICAgIGN4PVwiNTBcIlxuICAgICAgICAgICAgICAgIGN5PVwiNTBcIlxuICAgICAgICAgICAgICAgIHI9XCIyMlwiXG4gICAgICAgICAgICAgICAgZmlsbD1cIm5vbmVcIlxuICAgICAgICAgICAgICAgIHN0cm9rZS13aWR0aD1cIjVcIlxuICAgICAgICAgICAgICAgIHN0cm9rZS1taXRlcmxpbWl0PVwiMTBcIlxuICAgICAgICAgICAgLz5cbiAgICAgICAgPC9zdmc+XG4gICAgICAgIDxzdmdcbiAgICAgICAgICAgIGNsYXNzPVwibnVpLXNwaW5uZXJfX2NpcmN1bGFyXCJcbiAgICAgICAgICAgIHZpZXdCb3g9XCIwIDAgMzYgMzZcIlxuICAgICAgICAgICAgKm5nSWY9XCJpc0RldGVybWluYXRlXCJcbiAgICAgICAgPlxuICAgICAgICAgICAgPGNpcmNsZVxuICAgICAgICAgICAgICAgIGNsYXNzPVwibnVpLXNwaW5uZXJfX3BhdGgtdW5kZXJcIlxuICAgICAgICAgICAgICAgIGN4PVwiMThcIlxuICAgICAgICAgICAgICAgIGN5PVwiMThcIlxuICAgICAgICAgICAgICAgIHI9XCIxNS45MTU1XCJcbiAgICAgICAgICAgICAgICBmaWxsPVwibm9uZVwiXG4gICAgICAgICAgICAgICAgc3Ryb2tlLXdpZHRoPVwiNFwiXG4gICAgICAgICAgICAgICAgc3Ryb2tlLW1pdGVybGltaXQ9XCIxMFwiXG4gICAgICAgICAgICAvPlxuICAgICAgICAgICAgPGNpcmNsZVxuICAgICAgICAgICAgICAgIGNsYXNzPVwibnVpLXNwaW5uZXJfX3BhdGhcIlxuICAgICAgICAgICAgICAgIGN4PVwiMThcIlxuICAgICAgICAgICAgICAgIGN5PVwiMThcIlxuICAgICAgICAgICAgICAgIHI9XCIxNS45MTU1XCJcbiAgICAgICAgICAgICAgICBmaWxsPVwibm9uZVwiXG4gICAgICAgICAgICAgICAgc3Ryb2tlLXdpZHRoPVwiNFwiXG4gICAgICAgICAgICAgICAgc3Ryb2tlLW1pdGVybGltaXQ9XCIxMFwiXG4gICAgICAgICAgICAgICAgW25nU3R5bGVdPVwieyAnc3Ryb2tlLWRhc2hhcnJheSc6IHBlcmNlbnQgKyAnLCAxMDAnIH1cIlxuICAgICAgICAgICAgLz5cbiAgICAgICAgPC9zdmc+XG5cbiAgICAgICAgPGJ1dHRvblxuICAgICAgICAgICAgbnVpLWJ1dHRvblxuICAgICAgICAgICAgdHlwZT1cImJ1dHRvblwiXG4gICAgICAgICAgICBjbGFzcz1cIm51aS1zcGlubmVyX19jYW5jZWxcIlxuICAgICAgICAgICAgaWNvbj1cImNsb3NlXCJcbiAgICAgICAgICAgICpuZ0lmPVwiYWxsb3dDYW5jZWxcIlxuICAgICAgICAgICAgKGNsaWNrKT1cImNhbmNlbFByb2dyZXNzKClcIlxuICAgICAgICAgICAgZGlzcGxheVN0eWxlPVwiYWN0aW9uXCJcbiAgICAgICAgICAgIFtudWlUb29sdGlwXT1cInRvb2x0aXBUZXh0XCJcbiAgICAgICAgPjwvYnV0dG9uPlxuICAgIDwvZGl2PlxuXG4gICAgPGRpdiBjbGFzcz1cIm51aS1zcGlubmVyX190ZXh0LWNvbnRlbnRcIiAqbmdJZj1cInNob3dUZXh0XCI+XG4gICAgICAgIDxkaXYgY2xhc3M9XCJudWktc3Bpbm5lcl9fbGFiZWxcIiAqbmdJZj1cIm1lc3NhZ2UgIT09IHVuZGVmaW5lZFwiPlxuICAgICAgICAgICAgPHNwYW4gY2xhc3M9XCJudWktdGV4dC1sYWJlbCBudWktc3Bpbm5lcl9fbGFiZWwtaXRlbVwiPnt7XG4gICAgICAgICAgICAgICAgbWVzc2FnZVxuICAgICAgICAgICAgfX08L3NwYW4+XG4gICAgICAgIDwvZGl2PlxuICAgICAgICA8c3BhblxuICAgICAgICAgICAgY2xhc3M9XCJudWktc3Bpbm5lcl9faGludCBudWktaGVscC1oaW50XCJcbiAgICAgICAgICAgICpuZ0lmPVwiaGVscFRleHQgIT09IHVuZGVmaW5lZFwiXG4gICAgICAgID5cbiAgICAgICAgICAgIHt7IGhlbHBUZXh0IH19XG4gICAgICAgIDwvc3Bhbj5cbiAgICA8L2Rpdj5cbjwvc3Bhbj5cbiJdfQ==
|
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
2
|
-
//
|
|
3
|
-
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
4
|
-
// of this software and associated documentation files (the "Software"), to
|
|
5
|
-
// deal in the Software without restriction, including without limitation the
|
|
6
|
-
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
7
|
-
// sell copies of the Software, and to permit persons to whom the Software is
|
|
8
|
-
// furnished to do so, subject to the following conditions:
|
|
9
|
-
//
|
|
10
|
-
// The above copyright notice and this permission notice shall be included in
|
|
11
|
-
// all copies or substantial portions of the Software.
|
|
12
|
-
//
|
|
13
|
-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
14
|
-
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
15
|
-
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
16
|
-
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
17
|
-
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
18
|
-
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
19
|
-
// THE SOFTWARE.
|
|
20
|
-
import { Component, EventEmitter, forwardRef, Input, Output, ViewEncapsulation, } from "@angular/core";
|
|
21
|
-
import { NG_VALUE_ACCESSOR } from "@angular/forms";
|
|
22
|
-
import { NuiFormFieldControl } from "../form-field/public-api";
|
|
23
|
-
import * as i0 from "@angular/core";
|
|
24
|
-
/**
|
|
25
|
-
* <example-url>./../examples/index.html#/switch</example-url>
|
|
26
|
-
*/
|
|
27
|
-
export class SwitchComponent {
|
|
28
|
-
constructor() {
|
|
29
|
-
/**
|
|
30
|
-
* Input to set aria label text
|
|
31
|
-
*/
|
|
32
|
-
this.ariaLabel = "Switch";
|
|
33
|
-
this.valueChange = new EventEmitter();
|
|
34
|
-
}
|
|
35
|
-
toggle() {
|
|
36
|
-
if (this.disabled) {
|
|
37
|
-
return;
|
|
38
|
-
}
|
|
39
|
-
const toggledValue = !this.value;
|
|
40
|
-
this.valueChange.emit(toggledValue);
|
|
41
|
-
// this is here because of a bug in reactive forms,
|
|
42
|
-
// that causes the UI not to update when a value is updated on the FormControl
|
|
43
|
-
// https://github.com/angular/angular/issues/13792
|
|
44
|
-
this.value = toggledValue;
|
|
45
|
-
this.onChange(toggledValue);
|
|
46
|
-
this.onTouched();
|
|
47
|
-
}
|
|
48
|
-
onChange(value) { }
|
|
49
|
-
onTouched() { }
|
|
50
|
-
writeValue(value) {
|
|
51
|
-
if (value !== undefined) {
|
|
52
|
-
this.value = !!value;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
registerOnChange(fn) {
|
|
56
|
-
this.onChange = fn;
|
|
57
|
-
}
|
|
58
|
-
registerOnTouched(fn) {
|
|
59
|
-
this.onTouched = fn;
|
|
60
|
-
}
|
|
61
|
-
setDisabledState(isDisabled) {
|
|
62
|
-
this.disabled = isDisabled;
|
|
63
|
-
}
|
|
64
|
-
ngOnInit() {
|
|
65
|
-
this.value = !!this.value;
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
SwitchComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SwitchComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
69
|
-
SwitchComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", type: SwitchComponent, selector: "nui-switch", inputs: { value: "value", disabled: "disabled", ariaLabel: "ariaLabel" }, outputs: { valueChange: "valueChange" }, providers: [
|
|
70
|
-
{
|
|
71
|
-
provide: NuiFormFieldControl,
|
|
72
|
-
useExisting: forwardRef(() => SwitchComponent),
|
|
73
|
-
multi: true,
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
provide: NG_VALUE_ACCESSOR,
|
|
77
|
-
useExisting: forwardRef(() => SwitchComponent),
|
|
78
|
-
multi: true,
|
|
79
|
-
},
|
|
80
|
-
], ngImport: i0, template: "<div\n class=\"nui-switch\"\n [class.nui-switched]=\"value\"\n [class.nui-disabled]=\"disabled\"\n [attr.disabled]=\"disabled\"\n>\n <div class=\"nui-switch__container\">\n <div\n class=\"nui-switch__bar\"\n (click)=\"toggle()\"\n (keyup.enter)=\"toggle()\"\n (keyup.space)=\"toggle()\"\n tabindex=\"{{ disabled ? -1 : 0 }}\"\n role=\"checkbox\"\n [attr.aria-checked]=\"value\"\n [attr.aria-label]=\"ariaLabel\"\n >\n <div class=\"nui-switch__on\">\n <svg\n aria-hidden=\"true\"\n class=\"nui-switch__svg\"\n viewBox=\"0 0 7.1 6.7\"\n >\n <polyline\n class=\"nui-switch__icon-on\"\n points=\"0.6,2.9 3.2,4.8 7.2,1.0 \"\n />\n </svg>\n </div>\n <div class=\"nui-switch__thumb\">\n <svg\n aria-hidden=\"true\"\n class=\"nui-switch__svg\"\n viewBox=\"0 0 7.1 6.7\"\n ></svg>\n </div>\n </div>\n <label class=\"nui-switch__label\">\n <ng-content></ng-content>\n </label>\n </div>\n</div>\n", styles: [":host .nui-switch{-webkit-user-select:none;-o-user-select:none;user-select:none}:host .nui-switch[disabled=true]{cursor:default;pointer-events:none;opacity:.4;filter:alpha(opacity=40)}:host .nui-switch:focus{outline:none}:host .nui-switch.nui-switched .nui-switch__bar{background-color:var(--nui-color-on,#00a753)}:host .nui-switch.nui-switched .nui-switch__thumb{transform:translate(20px)}:host .nui-switch__container{display:inline-block}:host .nui-switch__label{margin:0 0 0 10px}:host .nui-switch__bar{cursor:pointer;height:20px;width:40px;border-radius:10px;background-color:var(--nui-color-off,#4d4d4d);position:relative;float:left;transition:background-color ease .3s}:host .nui-switch__bar:focus{outline:none;z-index:500;box-shadow:0 0 0 2px #00c4d280}:host .nui-switch__on,:host .nui-switch__off,:host .nui-switch__thumb{width:14px;height:14px;text-align:center;position:relative;top:3px}:host .nui-switch__thumb{width:14px;height:14px;border-radius:10px;background-color:var(--nui-color-bg-light,#fff);position:absolute;left:3px;top:3px;transition:transform ease .3s}:host .nui-switch__svg{width:10px;height:10px;display:block;margin:1px 6px}:host .nui-switch__icon-on{fill:none;stroke:var(--nui-color-line-inverse,#fff);stroke-width:1;stroke-miterlimit:10}:host .nui-switch__icon-off{fill:none;stroke:var(--nui-color-line-inverse,#fff);stroke-width:1;stroke-miterlimit:10}:host .nui-switch__icon-thumb{fill:none;stroke:var(--nui-color-line-default,#d9d9d9);stroke-miterlimit:10}:host .nui-switch__label:focus{outline:none}\n"] });
|
|
81
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: SwitchComponent, decorators: [{
|
|
82
|
-
type: Component,
|
|
83
|
-
args: [{ selector: "nui-switch", providers: [
|
|
84
|
-
{
|
|
85
|
-
provide: NuiFormFieldControl,
|
|
86
|
-
useExisting: forwardRef(() => SwitchComponent),
|
|
87
|
-
multi: true,
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
provide: NG_VALUE_ACCESSOR,
|
|
91
|
-
useExisting: forwardRef(() => SwitchComponent),
|
|
92
|
-
multi: true,
|
|
93
|
-
},
|
|
94
|
-
], encapsulation: ViewEncapsulation.Emulated, template: "<div\n class=\"nui-switch\"\n [class.nui-switched]=\"value\"\n [class.nui-disabled]=\"disabled\"\n [attr.disabled]=\"disabled\"\n>\n <div class=\"nui-switch__container\">\n <div\n class=\"nui-switch__bar\"\n (click)=\"toggle()\"\n (keyup.enter)=\"toggle()\"\n (keyup.space)=\"toggle()\"\n tabindex=\"{{ disabled ? -1 : 0 }}\"\n role=\"checkbox\"\n [attr.aria-checked]=\"value\"\n [attr.aria-label]=\"ariaLabel\"\n >\n <div class=\"nui-switch__on\">\n <svg\n aria-hidden=\"true\"\n class=\"nui-switch__svg\"\n viewBox=\"0 0 7.1 6.7\"\n >\n <polyline\n class=\"nui-switch__icon-on\"\n points=\"0.6,2.9 3.2,4.8 7.2,1.0 \"\n />\n </svg>\n </div>\n <div class=\"nui-switch__thumb\">\n <svg\n aria-hidden=\"true\"\n class=\"nui-switch__svg\"\n viewBox=\"0 0 7.1 6.7\"\n ></svg>\n </div>\n </div>\n <label class=\"nui-switch__label\">\n <ng-content></ng-content>\n </label>\n </div>\n</div>\n", styles: [":host .nui-switch{-webkit-user-select:none;-o-user-select:none;user-select:none}:host .nui-switch[disabled=true]{cursor:default;pointer-events:none;opacity:.4;filter:alpha(opacity=40)}:host .nui-switch:focus{outline:none}:host .nui-switch.nui-switched .nui-switch__bar{background-color:var(--nui-color-on,#00a753)}:host .nui-switch.nui-switched .nui-switch__thumb{transform:translate(20px)}:host .nui-switch__container{display:inline-block}:host .nui-switch__label{margin:0 0 0 10px}:host .nui-switch__bar{cursor:pointer;height:20px;width:40px;border-radius:10px;background-color:var(--nui-color-off,#4d4d4d);position:relative;float:left;transition:background-color ease .3s}:host .nui-switch__bar:focus{outline:none;z-index:500;box-shadow:0 0 0 2px #00c4d280}:host .nui-switch__on,:host .nui-switch__off,:host .nui-switch__thumb{width:14px;height:14px;text-align:center;position:relative;top:3px}:host .nui-switch__thumb{width:14px;height:14px;border-radius:10px;background-color:var(--nui-color-bg-light,#fff);position:absolute;left:3px;top:3px;transition:transform ease .3s}:host .nui-switch__svg{width:10px;height:10px;display:block;margin:1px 6px}:host .nui-switch__icon-on{fill:none;stroke:var(--nui-color-line-inverse,#fff);stroke-width:1;stroke-miterlimit:10}:host .nui-switch__icon-off{fill:none;stroke:var(--nui-color-line-inverse,#fff);stroke-width:1;stroke-miterlimit:10}:host .nui-switch__icon-thumb{fill:none;stroke:var(--nui-color-line-default,#d9d9d9);stroke-miterlimit:10}:host .nui-switch__label:focus{outline:none}\n"] }]
|
|
95
|
-
}], propDecorators: { value: [{
|
|
96
|
-
type: Input
|
|
97
|
-
}], disabled: [{
|
|
98
|
-
type: Input
|
|
99
|
-
}], ariaLabel: [{
|
|
100
|
-
type: Input
|
|
101
|
-
}], valueChange: [{
|
|
102
|
-
type: Output
|
|
103
|
-
}] } });
|
|
104
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3dpdGNoLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9saWIvc3dpdGNoL3N3aXRjaC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi9zcmMvbGliL3N3aXRjaC9zd2l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VwibnVpLXN3aXRjaF9fY29udGFpbmVyXCI+XG4gICAgICAgIDxkaXZcbiAgICAgICAgICAgIGNsYXNzPVwibnVpLXN3aXRjaF9fYmFyXCJcbiAgICAgICAgICAgIChjbGljayk9XCJ0b2dnbGUoKVwiXG4gICAgICAgICAgICAoa2V5dXAuZW50ZXIpPVwidG9nZ2xlKClcIlxuICAgICAgICAgICAgKGtleXVwLnNwYWNlKT1cInRvZ2dsZSgpXCJcbiAgICAgICAgICAgIHRhYmluZGV4PVwie3sgZGlzYWJsZWQgPyAtMSA6IDAgfX1cIlxuICAgICAgICAgICAgcm9sZT1cImNoZWNrYm94XCJcbiAgICAgICAgICAgIFthdHRyLmFyaWEtY2hlY2tlZF09XCJ2YWx1ZVwiXG4gICAgICAgICAgICBbYXR0ci5hcmlhLWxhYmVsXT1cImFyaWFMYWJlbFwiXG4gICAgICAgID5cbiAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJudWktc3dpdGNoX19vblwiPlxuICAgICAgICAgICAgICAgIDxzdmdcbiAgICAgICAgICAgICAgICAgICAgYXJpYS1oaWRkZW49XCJ0cnVlXCJcbiAgICAgICAgICAgICAgICAgICAgY2xhc3M9XCJudWktc3dpdGNoX19zdmdcIlxuICAgICAgICAgICAgICAgICAgICB2aWV3Qm94PVwiMCAwIDcuMSA2LjdcIlxuICAgICAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgICAgICAgPHBvbHlsaW5lXG4gICAgICAgICAgICAgICAgICAgICAgICBjbGFzcz1cIm51aS1zd2l0Y2hfX2ljb24tb25cIlxuICAgICAgICAgICAgICAgICAgICAgICAgcG9pbnRzPVwiMC42LDIuOSAzLjIsNC44IDcuMiwxLjAgXCJcbiAgICAgICAgICAgICAgICAgICAgLz5cbiAgICAgICAgICAgICAgICA8L3N2Zz5cbiAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgPGRpdiBjbGFzcz1cIm51aS1zd2l0Y2hfX3RodW1iXCI+XG4gICAgICAgICAgICAgICAgPHN2Z1xuICAgICAgICAgICAgICAgICAgICBhcmlhLWhpZGRlbj1cInRydWVcIlxuICAgICAgICAgICAgICAgICAgICBjbGFzcz1cIm51aS1zd2l0Y2hfX3N2Z1wiXG4gICAgICAgICAgICAgICAgICAgIHZpZXdCb3g9XCIwIDAgNy4xIDYuN1wiXG4gICAgICAgICAgICAgICAgPjwvc3ZnPlxuICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgIDwvZGl2PlxuICAgICAgICA8bGFiZWwgY2xhc3M9XCJudWktc3dpdGNoX19sYWJlbFwiPlxuICAgICAgICAgICAgPG5nLWNvbnRlbnQ+PC9uZy1jb250ZW50PlxuICAgICAgICA8L2xhYmVsPlxuICAgIDwvZGl2PlxuPC9kaXY+XG4iXX0=
|
|
@@ -1,131 +0,0 @@
|
|
|
1
|
-
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
2
|
-
//
|
|
3
|
-
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
4
|
-
// of this software and associated documentation files (the "Software"), to
|
|
5
|
-
// deal in the Software without restriction, including without limitation the
|
|
6
|
-
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
7
|
-
// sell copies of the Software, and to permit persons to whom the Software is
|
|
8
|
-
// furnished to do so, subject to the following conditions:
|
|
9
|
-
//
|
|
10
|
-
// The above copyright notice and this permission notice shall be included in
|
|
11
|
-
// all copies or substantial portions of the Software.
|
|
12
|
-
//
|
|
13
|
-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
14
|
-
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
15
|
-
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
16
|
-
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
17
|
-
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
18
|
-
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
19
|
-
// THE SOFTWARE.
|
|
20
|
-
import { VIRTUAL_SCROLL_STRATEGY, } from "@angular/cdk/scrolling";
|
|
21
|
-
import { Directive, forwardRef, Input } from "@angular/core";
|
|
22
|
-
import { TableVirtualScrollLinearStrategy,
|
|
23
|
-
// eslint-disable-next-line import/no-deprecated
|
|
24
|
-
TableVirtualScrollStrategy, } from "./table-virtual-scroll-strategy";
|
|
25
|
-
import * as i0 from "@angular/core";
|
|
26
|
-
export const DEFAULT_TABLE_HEADER_OFFSET = 40;
|
|
27
|
-
export const TABLE_ROW_HEIGHT = 24;
|
|
28
|
-
export function complexScrollStrategyFactory(scroll) {
|
|
29
|
-
return scroll.scrollStrategy;
|
|
30
|
-
}
|
|
31
|
-
export class TableVirtualScrollLinearDirective {
|
|
32
|
-
constructor() {
|
|
33
|
-
/** Height of table row. */
|
|
34
|
-
this.rowHeight = TABLE_ROW_HEIGHT;
|
|
35
|
-
// Converting parameters to numbers here to avoid inputs become strings in case user sets rowHeight and offset
|
|
36
|
-
// without square brackets in the template
|
|
37
|
-
this.scrollStrategy = new TableVirtualScrollLinearStrategy(+this.rowHeight);
|
|
38
|
-
}
|
|
39
|
-
ngOnChanges(changes) {
|
|
40
|
-
this.scrollStrategy.setRowHeight(+this.rowHeight);
|
|
41
|
-
if (changes.rowCount) {
|
|
42
|
-
this.updateDataLength(this.rowCount);
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
/**
|
|
46
|
-
* Updates the size of the items in the virtually scrolling list.
|
|
47
|
-
* @param length
|
|
48
|
-
*/
|
|
49
|
-
updateDataLength(length) {
|
|
50
|
-
this.scrollStrategy.setDataLength(length);
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
TableVirtualScrollLinearDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TableVirtualScrollLinearDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
54
|
-
TableVirtualScrollLinearDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.5", type: TableVirtualScrollLinearDirective, selector: "[tableVirtualScroll]:not([offset])", inputs: { rowHeight: "rowHeight", rowCount: "rowCount" }, providers: [
|
|
55
|
-
{
|
|
56
|
-
provide: VIRTUAL_SCROLL_STRATEGY,
|
|
57
|
-
useFactory: complexScrollStrategyFactory,
|
|
58
|
-
deps: [forwardRef(() => TableVirtualScrollLinearDirective)],
|
|
59
|
-
},
|
|
60
|
-
], usesOnChanges: true, ngImport: i0 });
|
|
61
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TableVirtualScrollLinearDirective, decorators: [{
|
|
62
|
-
type: Directive,
|
|
63
|
-
args: [{
|
|
64
|
-
selector: "[tableVirtualScroll]:not([offset])",
|
|
65
|
-
providers: [
|
|
66
|
-
{
|
|
67
|
-
provide: VIRTUAL_SCROLL_STRATEGY,
|
|
68
|
-
useFactory: complexScrollStrategyFactory,
|
|
69
|
-
deps: [forwardRef(() => TableVirtualScrollLinearDirective)],
|
|
70
|
-
},
|
|
71
|
-
],
|
|
72
|
-
}]
|
|
73
|
-
}], propDecorators: { rowHeight: [{
|
|
74
|
-
type: Input
|
|
75
|
-
}], rowCount: [{
|
|
76
|
-
type: Input
|
|
77
|
-
}] } });
|
|
78
|
-
/**
|
|
79
|
-
* @deprecated in v11 - Use tableVirtualScroll with 'rowCount' attribute instead of 'offset' attribute - Removal: NUI-5796
|
|
80
|
-
*/
|
|
81
|
-
export class TableVirtualScrollDirective {
|
|
82
|
-
constructor() {
|
|
83
|
-
/** Height of table row. */
|
|
84
|
-
this.rowHeight = TABLE_ROW_HEIGHT;
|
|
85
|
-
/** Space to be saved for the header. Will be assigned to headerOffset value inside custom strategy */
|
|
86
|
-
this.offset = DEFAULT_TABLE_HEADER_OFFSET;
|
|
87
|
-
// Converting parameters to numbers here to avoid inputs become strings in case user sets rowHeight and offset
|
|
88
|
-
// without square brackets in the template
|
|
89
|
-
// eslint-disable-next-line import/no-deprecated
|
|
90
|
-
this.scrollStrategy = new TableVirtualScrollStrategy(+this.rowHeight, +this.offset);
|
|
91
|
-
}
|
|
92
|
-
ngOnChanges() {
|
|
93
|
-
this.scrollStrategy.setScrollHeight(+this.rowHeight, +this.offset);
|
|
94
|
-
}
|
|
95
|
-
/**
|
|
96
|
-
* Updates the size of the items in the virtually scrolling list.
|
|
97
|
-
* @param length
|
|
98
|
-
*/
|
|
99
|
-
updateDataLength(length) {
|
|
100
|
-
this.scrollStrategy.setDataLength(length);
|
|
101
|
-
}
|
|
102
|
-
setMaxItems(maxItems) {
|
|
103
|
-
this.scrollStrategy.maxItems = maxItems;
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
TableVirtualScrollDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TableVirtualScrollDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
107
|
-
TableVirtualScrollDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.5", type: TableVirtualScrollDirective, selector: "[tableVirtualScroll]:not([rowCount])", inputs: { rowHeight: "rowHeight", offset: "offset" }, providers: [
|
|
108
|
-
{
|
|
109
|
-
provide: VIRTUAL_SCROLL_STRATEGY,
|
|
110
|
-
useFactory: complexScrollStrategyFactory,
|
|
111
|
-
deps: [forwardRef(() => TableVirtualScrollDirective)],
|
|
112
|
-
},
|
|
113
|
-
], usesOnChanges: true, ngImport: i0 });
|
|
114
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TableVirtualScrollDirective, decorators: [{
|
|
115
|
-
type: Directive,
|
|
116
|
-
args: [{
|
|
117
|
-
selector: "[tableVirtualScroll]:not([rowCount])",
|
|
118
|
-
providers: [
|
|
119
|
-
{
|
|
120
|
-
provide: VIRTUAL_SCROLL_STRATEGY,
|
|
121
|
-
useFactory: complexScrollStrategyFactory,
|
|
122
|
-
deps: [forwardRef(() => TableVirtualScrollDirective)],
|
|
123
|
-
},
|
|
124
|
-
],
|
|
125
|
-
}]
|
|
126
|
-
}], propDecorators: { rowHeight: [{
|
|
127
|
-
type: Input
|
|
128
|
-
}], offset: [{
|
|
129
|
-
type: Input
|
|
130
|
-
}] } });
|
|
131
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFibGUtdmlydHVhbC1zY3JvbGwuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vc3JjL2xpYi90YWJsZS90YWJsZS12aXJ0dWFsLXNjcm9sbC90YWJsZS12aXJ0dWFsLXNjcm9sbC5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEseURBQXlEO0FBQ3pELEVBQUU7QUFDRiwrRUFBK0U7QUFDL0UsNEVBQTRFO0FBQzVFLDhFQUE4RTtBQUM5RSwrRUFBK0U7QUFDL0UsOEVBQThFO0FBQzlFLDREQUE0RDtBQUM1RCxFQUFFO0FBQ0YsNkVBQTZFO0FBQzdFLHVEQUF1RDtBQUN2RCxFQUFFO0FBQ0YsNkVBQTZFO0FBQzdFLDRFQUE0RTtBQUM1RSwrRUFBK0U7QUFDL0UsMEVBQTBFO0FBQzFFLGlGQUFpRjtBQUNqRiw2RUFBNkU7QUFDN0UsaUJBQWlCO0FBRWpCLE9BQU8sRUFFSCx1QkFBdUIsR0FDMUIsTUFBTSx3QkFBd0IsQ0FBQztBQUNoQyxPQUFPLEVBQUUsU0FBUyxFQUFFLFVBQVUsRUFBRSxLQUFLLEVBQWEsTUFBTSxlQUFlLENBQUM7QUFFeEUsT0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