@nova-ui/bits 12.0.17 → 13.0.1-3938
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-variables.css +3 -1
- package/bundles/css/styles-font-roboto.css +3 -1
- package/bundles/css/styles.css +3 -15
- package/common/common.module.d.ts +17 -0
- package/common/directives/click-interceptor/click-interceptor.directive.d.ts +3 -0
- package/common/directives/clipboard/clipboard.directive.d.ts +3 -0
- package/common/directives/dragdrop/drag-and-drop.service.d.ts +3 -0
- package/common/directives/dragdrop/draggable.directive.d.ts +3 -0
- package/common/directives/dragdrop/droppable.directive.d.ts +3 -0
- package/common/directives/resize/resize.directive.d.ts +3 -0
- package/common/directives/resize-observer/resize-observer.directive.d.ts +3 -0
- package/common/directives/resizer/resizer.directive.d.ts +3 -0
- package/common/directives/set-focus/set-focus.directive.d.ts +3 -0
- package/common/directives/zoom-content/zoom-content.directive.d.ts +3 -0
- package/constants/dragdrop.constants.d.ts +8 -0
- package/constants/index.d.ts +5 -4
- package/environment.d.ts +3 -0
- package/{esm2015/animations/expand.js → esm2020/animations/expand.mjs} +0 -0
- package/{esm2015/animations/fadeIn.js → esm2020/animations/fadeIn.mjs} +0 -0
- package/esm2020/common/common.module.mjs +167 -0
- package/esm2020/common/directives/click-interceptor/click-interceptor.directive.mjs +57 -0
- package/esm2020/common/directives/clipboard/clipboard.directive.mjs +122 -0
- package/esm2020/common/directives/dragdrop/drag-and-drop.service.mjs +77 -0
- package/{esm2015/common/directives/dragdrop/dragdrop.constants.js → esm2020/common/directives/dragdrop/dragdrop.constants.mjs} +0 -0
- package/esm2020/common/directives/dragdrop/draggable.directive.mjs +260 -0
- package/esm2020/common/directives/dragdrop/droppable.directive.mjs +213 -0
- package/{esm2015/common/directives/dragdrop/public-api.js → esm2020/common/directives/dragdrop/public-api.mjs} +0 -0
- package/{esm2015/common/directives/index.js → esm2020/common/directives/index.mjs} +0 -0
- package/{esm2015/common/directives/public-api.js → esm2020/common/directives/public-api.mjs} +0 -0
- package/esm2020/common/directives/resize/resize.directive.mjs +193 -0
- package/esm2020/common/directives/resize-observer/resize-observer.directive.mjs +66 -0
- package/{esm2015/common/directives/resizer/public-api.js → esm2020/common/directives/resizer/public-api.mjs} +0 -0
- package/esm2020/common/directives/resizer/resizer.directive.mjs +324 -0
- package/esm2020/common/directives/set-focus/set-focus.directive.mjs +114 -0
- package/esm2020/common/directives/zoom-content/zoom-content.directive.mjs +160 -0
- package/{esm2015/constants/button.constants.js → esm2020/constants/button.constants.mjs} +0 -0
- package/esm2020/constants/dragdrop.constants.mjs +28 -0
- package/{esm2015/constants/event.constants.js → esm2020/constants/event.constants.mjs} +0 -0
- package/{esm2015/constants/images.constants.js → esm2020/constants/images.constants.mjs} +0 -0
- package/{esm2015/constants/images.js → esm2020/constants/images.mjs} +0 -0
- package/{esm2015/lib/tabgroup/tab/tab-heading.directive.js → esm2020/constants/index.mjs} +9 -17
- package/{esm2015/constants/interaction.constants.js → esm2020/constants/interaction.constants.mjs} +0 -0
- package/{esm2015/constants/keycode.constants.js → esm2020/constants/keycode.constants.mjs} +0 -0
- package/{esm2015/constants/path.constant.js → esm2020/constants/path.constant.mjs} +0 -0
- package/{esm2015/constants/popover.constants.js → esm2020/constants/popover.constants.mjs} +0 -0
- package/{esm2015/constants/regex.constants.js → esm2020/constants/regex.constants.mjs} +0 -0
- package/{esm2015/constants/resize.constants.js → esm2020/constants/resize.constants.mjs} +0 -0
- package/{esm2015/constants/unit-conversion.constants.js → esm2020/constants/unit-conversion.constants.mjs} +0 -0
- package/esm2020/constants/wizard.constants.mjs +43 -0
- package/esm2020/environment.mjs +56 -0
- package/{esm2015/functions/immutable-set.js → esm2020/functions/immutable-set.mjs} +0 -0
- package/{esm2015/functions/nameof.js → esm2020/functions/nameof.mjs} +0 -0
- package/{esm2015/functions/public-api.js → esm2020/functions/public-api.mjs} +0 -0
- package/{esm2015/functions/remove-errors.js → esm2020/functions/remove-errors.mjs} +0 -0
- package/{esm2015/functions/traverse.js → esm2020/functions/traverse.mjs} +0 -0
- package/{esm2015/functions/uuid.js → esm2020/functions/uuid.mjs} +0 -0
- package/esm2020/lib/breadcrumb/breadcrumb-state.service.mjs +55 -0
- package/esm2020/lib/breadcrumb/breadcrumb.component.mjs +57 -0
- package/esm2020/lib/breadcrumb/breadcrumb.module.mjs +43 -0
- package/{esm2015/lib/breadcrumb/public-api.js → esm2020/lib/breadcrumb/public-api.mjs} +0 -0
- package/esm2020/lib/busy/busy.component.mjs +95 -0
- package/esm2020/lib/busy/busy.module.mjs +42 -0
- package/{esm2015/lib/busy/public-api.js → esm2020/lib/busy/public-api.mjs} +0 -0
- package/esm2020/lib/button/button.component.mjs +245 -0
- package/esm2020/lib/button/button.module.mjs +42 -0
- package/{esm2015/lib/button/public-api.js → esm2020/lib/button/public-api.mjs} +0 -0
- package/esm2020/lib/checkbox/checkbox-group.component.mjs +158 -0
- package/esm2020/lib/checkbox/checkbox.component.mjs +237 -0
- package/esm2020/lib/checkbox/checkbox.module.mjs +42 -0
- package/{esm2015/lib/checkbox/public-api.js → esm2020/lib/checkbox/public-api.mjs} +0 -0
- package/esm2020/lib/chips/chip/chip.component.mjs +65 -0
- package/esm2020/lib/chips/chips-overflow/chips-overflow.component.mjs +46 -0
- package/esm2020/lib/chips/chips-overflow.service.mjs +136 -0
- package/esm2020/lib/chips/chips.component.mjs +207 -0
- package/esm2020/lib/chips/chips.module.mjs +45 -0
- package/{esm2015/lib/chips/public-api.js → esm2020/lib/chips/public-api.mjs} +0 -0
- package/esm2020/lib/content/content.component.mjs +43 -0
- package/esm2020/lib/content/content.module.mjs +41 -0
- package/esm2020/lib/convenience/time-frame-bar/time-frame-bar.component.mjs +190 -0
- package/esm2020/lib/convenience/time-frame-bar/time-frame-bar.module.mjs +77 -0
- package/esm2020/lib/date-picker/date-picker-day-picker.component.mjs +131 -0
- package/esm2020/lib/date-picker/date-picker-inner.component.mjs +319 -0
- package/esm2020/lib/date-picker/date-picker-month-picker.component.mjs +64 -0
- package/esm2020/lib/date-picker/date-picker-year-picker.component.mjs +69 -0
- package/esm2020/lib/date-picker/date-picker.component.mjs +312 -0
- package/esm2020/lib/date-picker/date-picker.module.mjs +75 -0
- package/{esm2015/lib/date-picker/public-api.js → esm2020/lib/date-picker/public-api.mjs} +0 -0
- package/esm2020/lib/date-time-picker/date-time-picker.component.mjs +222 -0
- package/esm2020/lib/date-time-picker/date-time-picker.module.mjs +43 -0
- package/esm2020/lib/dialog/confirmation-dialog.component.mjs +81 -0
- package/{esm2015/lib/toolbar/toolbar-message.component.js → esm2020/lib/dialog/dialog-backdrop.component.mjs} +13 -8
- package/esm2020/lib/dialog/dialog-footer.component.mjs +33 -0
- package/esm2020/lib/dialog/dialog-header.component.mjs +60 -0
- package/esm2020/lib/dialog/dialog-ref.mjs +95 -0
- package/esm2020/lib/dialog/dialog-stack.service.mjs +136 -0
- package/esm2020/lib/dialog/dialog.component.mjs +156 -0
- package/esm2020/lib/dialog/dialog.module.mjs +60 -0
- package/esm2020/lib/dialog/dialog.service.mjs +60 -0
- package/{esm2015/lib/dialog/public-api.js → esm2020/lib/dialog/public-api.mjs} +0 -0
- package/esm2020/lib/divider/divider.component.mjs +75 -0
- package/esm2020/lib/divider/divider.module.mjs +41 -0
- package/{esm2015/lib/divider/public-api.js → esm2020/lib/divider/public-api.mjs} +0 -0
- package/esm2020/lib/dnd/dnd-drop-target.directive.mjs +112 -0
- package/esm2020/lib/dnd/dnd.module.mjs +40 -0
- package/{esm2015/lib/dnd/public-api.js → esm2020/lib/dnd/public-api.mjs} +0 -0
- package/esm2020/lib/docs/copy-text/copy-text.component.mjs +53 -0
- package/esm2020/lib/docs/docs.module.mjs +117 -0
- package/esm2020/lib/docs/example-code/example-code.component.mjs +76 -0
- package/esm2020/lib/docs/example-wrapper/example-wrapper.component.mjs +85 -0
- package/esm2020/lib/docs/example-wrapper/plunker-files.mjs +414 -0
- package/esm2020/lib/docs/example-wrapper/plunker-project.service.mjs +111 -0
- package/{esm2015/lib/docs/public-api.js → esm2020/lib/docs/public-api.mjs} +0 -0
- package/esm2020/lib/docs/services/sources.service.mjs +99 -0
- package/{esm2015/lib/docs/srlc-indicator/public-api.js → esm2020/lib/docs/srlc-indicator/public-api.mjs} +0 -0
- package/esm2020/lib/docs/srlc-indicator/srlc-indicator.component.mjs +102 -0
- package/esm2020/lib/docs/theme-switcher/theme-switcher.component.mjs +43 -0
- package/esm2020/lib/expander/expander.component.mjs +112 -0
- package/{esm2015/lib/message/message.module.js → esm2020/lib/expander/expander.module.mjs} +17 -13
- package/esm2020/lib/form-field/form-field.component.mjs +126 -0
- package/{esm2015/lib/popover/popover.module.js → esm2020/lib/form-field/form-field.module.mjs} +17 -19
- package/{esm2015/lib/form-field/public-api.js → esm2020/lib/form-field/public-api.mjs} +0 -0
- package/{esm2015/lib/form-field/touched-changes-helper.js → esm2020/lib/form-field/touched-changes-helper.mjs} +0 -0
- package/esm2020/lib/icon/icon.component.mjs +148 -0
- package/{esm2015/lib/dnd/dnd.module.js → esm2020/lib/icon/icon.module.mjs} +17 -10
- package/esm2020/lib/icon/icon.service.mjs +79 -0
- package/{esm2015/lib/icon/icons.js → esm2020/lib/icon/icons.mjs} +0 -0
- package/{esm2015/lib/icon/public-api.js → esm2020/lib/icon/public-api.mjs} +0 -0
- package/{esm2015/lib/icon/types.js → esm2020/lib/icon/types.mjs} +0 -0
- package/esm2020/lib/image/image.component.mjs +144 -0
- package/{esm2015/lib/content/content.module.js → esm2020/lib/image/image.module.mjs} +16 -11
- package/{esm2015/lib/image/public-api.js → esm2020/lib/image/public-api.mjs} +0 -0
- package/esm2020/lib/layout/card/card.component.mjs +47 -0
- package/esm2020/lib/layout/card-group/card-group.component.mjs +52 -0
- package/esm2020/lib/layout/layout-resizer/layout-resizer.component.mjs +97 -0
- package/esm2020/lib/layout/layout.module.mjs +63 -0
- package/{esm2015/lib/layout/public-api.js → esm2020/lib/layout/public-api.mjs} +0 -0
- package/esm2020/lib/layout/sheet/sheet.component.mjs +65 -0
- package/esm2020/lib/layout/sheet-group/sheet-group.component.mjs +188 -0
- package/{esm2015/lib/menu/index.js → esm2020/lib/menu/index.mjs} +0 -0
- package/esm2020/lib/menu/menu/menu.component.mjs +171 -0
- package/esm2020/lib/menu/menu-item/menu-action/menu-action.component.mjs +115 -0
- package/esm2020/lib/menu/menu-item/menu-group/menu-group.component.mjs +70 -0
- package/esm2020/lib/menu/menu-item/menu-item/menu-item-base.mjs +58 -0
- package/esm2020/lib/menu/menu-item/menu-item/menu-item.component.mjs +87 -0
- package/esm2020/lib/menu/menu-item/menu-link/menu-link.component.mjs +106 -0
- package/esm2020/lib/menu/menu-item/menu-option/menu-option.component.mjs +116 -0
- package/esm2020/lib/menu/menu-item/menu-switch/menu-switch.component.mjs +110 -0
- package/esm2020/lib/menu/menu-key-control.service.mjs +212 -0
- package/esm2020/lib/menu/menu-popup/menu-popup.component.mjs +91 -0
- package/esm2020/lib/menu/menu.module.mjs +107 -0
- package/{esm2015/lib/menu/public-api.js → esm2020/lib/menu/public-api.mjs} +0 -0
- package/esm2020/lib/message/message.component.mjs +124 -0
- package/esm2020/lib/message/message.module.mjs +43 -0
- package/esm2020/lib/overlay/arrow-component/overlay-arrow.component.mjs +34 -0
- package/{esm2015/lib/overlay/constants.js → esm2020/lib/overlay/constants.mjs} +0 -0
- package/esm2020/lib/overlay/overlay-additions.module.mjs +39 -0
- package/esm2020/lib/overlay/overlay-component/overlay.component.mjs +208 -0
- package/esm2020/lib/overlay/overlay-container.service.mjs +128 -0
- package/esm2020/lib/overlay/overlay-custom-container.mjs +55 -0
- package/esm2020/lib/overlay/overlay-item/overlay-item.component.mjs +52 -0
- package/esm2020/lib/overlay/overlay-position.service.mjs +271 -0
- package/esm2020/lib/overlay/overlay-utilities.service.mjs +76 -0
- package/esm2020/lib/overlay/overlay.module.mjs +44 -0
- package/esm2020/lib/overlay/overlay.service.mjs +136 -0
- package/{esm2015/lib/overlay/public-api.js → esm2020/lib/overlay/public-api.mjs} +0 -0
- package/{esm2015/lib/overlay/types.js → esm2020/lib/overlay/types.mjs} +0 -0
- package/esm2020/lib/paginator/paginator.component.mjs +458 -0
- package/esm2020/lib/paginator/paginator.module.mjs +61 -0
- package/{esm2015/lib/paginator/public-api.js → esm2020/lib/paginator/public-api.mjs} +0 -0
- package/esm2020/lib/panel/panel.component.mjs +460 -0
- package/esm2020/lib/panel/panel.module.mjs +42 -0
- package/{esm2015/lib/panel/public-api.js → esm2020/lib/panel/public-api.mjs} +0 -0
- package/esm2020/lib/popover/popover-modal.component.mjs +92 -0
- package/esm2020/lib/popover/popover-modal.service.mjs +169 -0
- package/esm2020/lib/popover/popover-position.service.mjs +223 -0
- package/esm2020/lib/popover/popover.component.mjs +479 -0
- package/esm2020/lib/popover/popover.module.mjs +58 -0
- package/{esm2015/lib/popover/public-api.js → esm2020/lib/popover/public-api.mjs} +0 -0
- package/esm2020/lib/popup/popup-container.component.mjs +93 -0
- package/esm2020/lib/popup/popup-container.service.mjs +35 -0
- package/esm2020/lib/popup/popup-toggle.directive.mjs +51 -0
- package/esm2020/lib/popup/popup.component.mjs +294 -0
- package/esm2020/lib/popup/popup.module.mjs +50 -0
- package/esm2020/lib/popup-adapter/popup-adapter.component.mjs +324 -0
- package/esm2020/lib/popup-adapter/popup-adapter.module.mjs +57 -0
- package/esm2020/lib/progress/progress.component.mjs +74 -0
- package/esm2020/lib/progress/progress.module.mjs +43 -0
- package/{esm2015/lib/public-api.js → esm2020/lib/public-api.mjs} +0 -0
- package/esm2020/lib/radio/radio-group.component.mjs +298 -0
- package/{esm2015/lib/sorter/sorter.module.js → esm2020/lib/radio/radio.module.mjs} +16 -19
- package/{esm2015/lib/repeat/public-api.js → esm2020/lib/repeat/public-api.mjs} +0 -0
- package/esm2020/lib/repeat/repeat-item/repeat-item.component.mjs +54 -0
- package/esm2020/lib/repeat/repeat.component.mjs +432 -0
- package/esm2020/lib/repeat/repeat.module.mjs +62 -0
- package/{esm2015/lib/repeat/types.js → esm2020/lib/repeat/types.mjs} +0 -0
- package/esm2020/lib/search/search.component.mjs +128 -0
- package/esm2020/lib/search/search.module.mjs +44 -0
- package/esm2020/lib/select/base-select.mjs +207 -0
- package/esm2020/lib/select/combobox/combobox.component.mjs +296 -0
- package/{esm2015/lib/select/index.js → esm2020/lib/select/index.mjs} +0 -0
- package/{esm2015/lib/select/public-api.js → esm2020/lib/select/public-api.mjs} +0 -0
- package/esm2020/lib/select/select.component.mjs +143 -0
- package/esm2020/lib/select/select.module.mjs +69 -0
- package/esm2020/lib/select-v2/base-select-v2.mjs +477 -0
- package/esm2020/lib/select-v2/combobox-v2/combobox-v2.component.mjs +320 -0
- package/esm2020/lib/select-v2/combobox-v2-option-highlight/combobox-v2-option-highlight.directive.mjs +83 -0
- package/{esm2015/lib/select-v2/constants.js → esm2020/lib/select-v2/constants.mjs} +0 -0
- package/esm2020/lib/select-v2/mark-as-selected-item.directive.mjs +29 -0
- package/esm2020/lib/select-v2/option/select-v2-option.component.mjs +81 -0
- package/esm2020/lib/select-v2/option-group/select-v2-option-group.component.mjs +69 -0
- package/esm2020/lib/select-v2/option-key-control.service.mjs +138 -0
- package/esm2020/lib/select-v2/select/select-v2.component.mjs +140 -0
- package/esm2020/lib/select-v2/select-v2.module.mjs +103 -0
- package/esm2020/lib/select-v2/selected-items-key-control.service.mjs +158 -0
- package/{esm2015/lib/select-v2/types.js → esm2020/lib/select-v2/types.mjs} +0 -0
- package/{esm2015/lib/selector/public-api.js → esm2020/lib/selector/public-api.mjs} +0 -0
- package/esm2020/lib/selector/selector.component.mjs +154 -0
- package/esm2020/lib/selector/selector.module.mjs +61 -0
- package/esm2020/lib/selector/selector.service.mjs +290 -0
- package/{esm2015/lib/sorter/constants.js → esm2020/lib/sorter/constants.mjs} +0 -0
- package/{esm2015/lib/sorter/public-api.js → esm2020/lib/sorter/public-api.mjs} +0 -0
- package/{esm2015/lib/sorter/sorter-keyboard.service.js → esm2020/lib/sorter/sorter-keyboard.service.mjs} +12 -13
- package/esm2020/lib/sorter/sorter.component.mjs +237 -0
- package/esm2020/lib/sorter/sorter.module.mjs +57 -0
- package/{esm2015/lib/spinner/public-api.js → esm2020/lib/spinner/public-api.mjs} +0 -0
- package/esm2020/lib/spinner/spinner.component.mjs +153 -0
- package/esm2020/lib/spinner/spinner.module.mjs +43 -0
- package/esm2020/lib/switch/switch.component.mjs +104 -0
- package/esm2020/lib/switch/switch.module.mjs +41 -0
- package/esm2020/lib/tabgroup/tab/tab-heading-custom-template-ref.directive.mjs +47 -0
- package/esm2020/lib/tabgroup/tab/tab-heading.directive.mjs +37 -0
- package/esm2020/lib/tabgroup/tab/tab.component.mjs +88 -0
- package/esm2020/lib/tabgroup/tab-group/tab-group.component.mjs +147 -0
- package/esm2020/lib/tabgroup/tab-heading/tab-heading.component.mjs +62 -0
- package/esm2020/lib/tabgroup/tab-heading-group/tab-heading-group.component.mjs +182 -0
- package/esm2020/lib/tabgroup/tabs.module.mjs +70 -0
- package/{esm2015/lib/table/constants.js → esm2020/lib/table/constants.mjs} +0 -0
- package/{esm2015/lib/table/public-api.js → esm2020/lib/table/public-api.mjs} +0 -0
- package/esm2020/lib/table/table-cell/table-cell-def.directive.mjs +41 -0
- package/esm2020/lib/table/table-cell/table-cell.directive.mjs +125 -0
- package/esm2020/lib/table/table-cell/table-column-def.directive.mjs +74 -0
- package/esm2020/lib/table/table-cell/table-footer-cell-def.directive.mjs +45 -0
- package/esm2020/lib/table/table-cell/table-footer-cell.directive.mjs +44 -0
- package/esm2020/lib/table/table-cell/table-header-cell-def.directive.mjs +45 -0
- package/esm2020/lib/table/table-cell/table-header-cell.component.mjs +328 -0
- package/esm2020/lib/table/table-resizer/table-resizer.directive.mjs +75 -0
- package/esm2020/lib/table/table-row/table-row.component.mjs +515 -0
- package/esm2020/lib/table/table-state-handler.service.mjs +523 -0
- package/esm2020/lib/table/table-virtual-scroll/slice-range.pipe.mjs +23 -0
- package/esm2020/lib/table/table-virtual-scroll/table-sticky-header.directive.mjs +276 -0
- package/esm2020/lib/table/table-virtual-scroll/table-virtual-scroll-strategy.mjs +183 -0
- package/esm2020/lib/table/table-virtual-scroll/table-virtual-scroll.directive.mjs +128 -0
- package/esm2020/lib/table/table.component.mjs +295 -0
- package/esm2020/lib/table/table.module.mjs +134 -0
- package/{esm2015/lib/table/types.js → esm2020/lib/table/types.mjs} +0 -0
- package/esm2020/lib/textbox/textbox-number/textbox-number.component.mjs +273 -0
- package/esm2020/lib/textbox/textbox.component.mjs +178 -0
- package/esm2020/lib/textbox/textbox.module.mjs +65 -0
- package/{esm2015/lib/time-frame-picker/public-api.js → esm2020/lib/time-frame-picker/public-api.mjs} +0 -0
- package/esm2020/lib/time-frame-picker/quick-picker/quick-picker.component.mjs +58 -0
- package/esm2020/lib/time-frame-picker/services/timeframe.service.mjs +226 -0
- package/esm2020/lib/time-frame-picker/time-frame-format.pipe.mjs +60 -0
- package/esm2020/lib/time-frame-picker/time-frame-picker.component.mjs +130 -0
- package/esm2020/lib/time-frame-picker/time-frame-picker.module.mjs +58 -0
- package/esm2020/lib/time-picker/time-picker-keyboard.service.mjs +113 -0
- package/esm2020/lib/time-picker/time-picker.component.mjs +326 -0
- package/esm2020/lib/time-picker/time-picker.module.mjs +61 -0
- package/{esm2015/lib/toast/public-api.js → esm2020/lib/toast/public-api.mjs} +0 -0
- package/esm2020/lib/toast/toast-container.service.mjs +90 -0
- package/{esm2015/lib/toast/toast-injector.js → esm2020/lib/toast/toast-injector.mjs} +0 -0
- package/esm2020/lib/toast/toast-package.mjs +44 -0
- package/esm2020/lib/toast/toast-ref.mjs +65 -0
- package/esm2020/lib/toast/toast.component.mjs +229 -0
- package/esm2020/lib/toast/toast.directive.mjs +91 -0
- package/esm2020/lib/toast/toast.module.mjs +55 -0
- package/esm2020/lib/toast/toast.service.mjs +277 -0
- package/esm2020/lib/toast/toast.servicebase.mjs +32 -0
- package/{esm2015/lib/toolbar/public-api.js → esm2020/lib/toolbar/public-api.mjs} +0 -0
- package/esm2020/lib/toolbar/toolbar-group.component.mjs +42 -0
- package/esm2020/lib/toolbar/toolbar-item.component.mjs +63 -0
- package/esm2020/lib/toolbar/toolbar-keyboard.service.mjs +81 -0
- package/{esm2015/lib/toolbar/toolbar-group.component.js → esm2020/lib/toolbar/toolbar-message.component.mjs} +13 -14
- package/{esm2015/lib/wizard-v2/wizard-step-footer.directive.js → esm2020/lib/toolbar/toolbar-splitter.component.mjs} +17 -14
- package/esm2020/lib/toolbar/toolbar.component.mjs +242 -0
- package/esm2020/lib/toolbar/toolbar.module.mjs +85 -0
- package/{esm2015/lib/tooltip/public-api.js → esm2020/lib/tooltip/public-api.mjs} +0 -0
- package/esm2020/lib/tooltip/tooltip.component.mjs +232 -0
- package/esm2020/lib/tooltip/tooltip.directive.mjs +226 -0
- package/esm2020/lib/tooltip/tooltip.module.mjs +42 -0
- package/esm2020/lib/validation-message/custom-validation-message/custom-validation-message.component.mjs +67 -0
- package/{esm2015/lib/validation-message/public-api.js → esm2020/lib/validation-message/public-api.mjs} +0 -0
- package/esm2020/lib/validation-message/validation-message.component.mjs +46 -0
- package/esm2020/lib/validation-message/validation-message.module.mjs +47 -0
- package/{esm2015/lib/wizard/public-api.js → esm2020/lib/wizard/public-api.mjs} +0 -0
- package/esm2020/lib/wizard/wizard-step.component.mjs +132 -0
- package/esm2020/lib/wizard/wizard.component.mjs +359 -0
- package/esm2020/lib/wizard/wizard.module.mjs +62 -0
- package/{esm2015/lib/docs/theme-switcher/theme-switcher.component.js → esm2020/lib/wizard-v2/error-state-matcher.provider.mjs} +15 -21
- package/{esm2015/lib/wizard-v2/public-api.js → esm2020/lib/wizard-v2/public-api.mjs} +0 -0
- package/{esm2015/lib/wizard-v2/types.js → esm2020/lib/wizard-v2/types.mjs} +0 -0
- package/esm2020/lib/wizard-v2/wizard-button/wizard-button.mjs +55 -0
- package/esm2020/lib/wizard-v2/wizard-footer/wizard-footer.component.mjs +60 -0
- package/esm2020/lib/wizard-v2/wizard-horizontal/wizard-horizontal.component.mjs +306 -0
- package/esm2020/lib/wizard-v2/wizard-overflow/wizard-overflow.component.mjs +44 -0
- package/esm2020/lib/wizard-v2/wizard-step/wizard-step.component.mjs +124 -0
- package/{esm2015/lib/panel/panel.module.js → esm2020/lib/wizard-v2/wizard-step-footer.directive.mjs} +15 -17
- package/esm2020/lib/wizard-v2/wizard-step-header/wizard-step-header.component.mjs +133 -0
- package/{esm2015/lib/toast/toast.servicebase.js → esm2020/lib/wizard-v2/wizard-step-label.directive.mjs} +13 -9
- package/esm2020/lib/wizard-v2/wizard-vertical/wizard-vertical.component.mjs +71 -0
- package/esm2020/lib/wizard-v2/wizard.directive.mjs +123 -0
- package/esm2020/lib/wizard-v2/wizard.module.mjs +113 -0
- package/esm2020/nova-ui-bits.mjs +5 -0
- package/{esm2015/nui-api.js → esm2020/nui-api.mjs} +0 -0
- package/esm2020/pipes/highlight.pipe.mjs +90 -0
- package/esm2020/pipes/limit-to.pipe.mjs +50 -0
- package/esm2020/pipes/unit-conversion.pipe.mjs +60 -0
- package/{esm2015/public_api.js → esm2020/public_api.mjs} +0 -0
- package/{esm2015/services/content-ref.js → esm2020/services/content-ref.mjs} +0 -0
- package/esm2020/services/data-filter.service.mjs +97 -0
- package/esm2020/services/data-source/client-side-data-source.service.mjs +118 -0
- package/esm2020/services/data-source/data-source-features.mjs +37 -0
- package/esm2020/services/data-source/data-source.service.mjs +135 -0
- package/esm2020/services/data-source/local-filtering-data-source.service.mjs +250 -0
- package/{esm2015/pipes/limit-to.pipe.js → esm2020/services/data-source/noop-data-source.service.mjs} +6 -23
- package/{esm2015/services/data-source/public-api.js → esm2020/services/data-source/public-api.mjs} +0 -0
- package/esm2020/services/data-source/server-side-source.service.mjs +67 -0
- package/esm2020/services/dom-util.service.mjs +78 -0
- package/esm2020/services/edge-detection.service.mjs +179 -0
- package/esm2020/services/event-bus.mjs +70 -0
- package/esm2020/services/event-bus.service.mjs +48 -0
- package/esm2020/services/event-propagation.service.mjs +91 -0
- package/esm2020/services/history-storage.mjs +102 -0
- package/esm2020/services/list.service.mjs +121 -0
- package/{esm2015/services/log-service.js → esm2020/services/log-service.mjs} +9 -8
- package/{esm2015/services/notification-args.js → esm2020/services/notification-args.mjs} +0 -0
- package/esm2020/services/notification-service.mjs +62 -0
- package/esm2020/services/position.service.mjs +194 -0
- package/{esm2015/services/public-api.js → esm2020/services/public-api.mjs} +0 -0
- package/{esm2015/services/search.service.js → esm2020/services/search.service.mjs} +7 -9
- package/esm2020/services/tab-navigation.service.mjs +63 -0
- package/esm2020/services/theme-switch.service.mjs +147 -0
- package/esm2020/services/transient-cache.service.mjs +79 -0
- package/esm2020/services/unit-conversion.service.mjs +177 -0
- package/esm2020/services/util.service.mjs +329 -0
- package/esm2020/services/virtual-viewport-manager.service.mjs +127 -0
- package/{esm2015/types.js → esm2020/types.mjs} +0 -0
- package/{esm2015/validators/index.js → esm2020/validators/index.mjs} +0 -0
- package/{esm2015/validators/nui-validators.js → esm2020/validators/nui-validators.mjs} +0 -0
- package/fesm2015/nova-ui-bits.mjs +26743 -0
- package/fesm2015/nova-ui-bits.mjs.map +1 -0
- package/fesm2020/nova-ui-bits.mjs +26661 -0
- package/fesm2020/nova-ui-bits.mjs.map +1 -0
- package/lib/breadcrumb/breadcrumb-state.service.d.ts +3 -0
- package/lib/breadcrumb/breadcrumb.component.d.ts +3 -0
- package/lib/breadcrumb/breadcrumb.module.d.ts +7 -0
- package/lib/busy/busy.component.d.ts +3 -0
- package/lib/busy/busy.module.d.ts +7 -0
- package/lib/button/button.component.d.ts +3 -0
- package/lib/button/button.module.d.ts +7 -0
- package/lib/checkbox/checkbox-group.component.d.ts +3 -0
- package/lib/checkbox/checkbox.component.d.ts +3 -0
- package/lib/checkbox/checkbox.module.d.ts +7 -0
- package/lib/chips/chip/chip.component.d.ts +3 -0
- package/lib/chips/chips-overflow/chips-overflow.component.d.ts +3 -0
- package/lib/chips/chips-overflow.service.d.ts +3 -0
- package/lib/chips/chips.component.d.ts +3 -0
- package/lib/chips/chips.module.d.ts +10 -0
- package/lib/content/content.component.d.ts +3 -0
- package/lib/content/content.module.d.ts +6 -0
- package/lib/convenience/time-frame-bar/time-frame-bar.component.d.ts +4 -1
- package/lib/convenience/time-frame-bar/time-frame-bar.module.d.ts +14 -0
- package/lib/date-picker/date-picker-day-picker.component.d.ts +3 -0
- package/lib/date-picker/date-picker-inner.component.d.ts +3 -0
- package/lib/date-picker/date-picker-month-picker.component.d.ts +3 -0
- package/lib/date-picker/date-picker-year-picker.component.d.ts +3 -0
- package/lib/date-picker/date-picker.component.d.ts +3 -0
- package/lib/date-picker/date-picker.module.d.ts +14 -0
- package/lib/date-time-picker/date-time-picker.component.d.ts +3 -0
- package/lib/date-time-picker/date-time-picker.module.d.ts +8 -0
- package/lib/dialog/confirmation-dialog.component.d.ts +3 -0
- package/lib/dialog/dialog-backdrop.component.d.ts +3 -0
- package/lib/dialog/dialog-footer.component.d.ts +3 -0
- package/lib/dialog/dialog-header.component.d.ts +3 -0
- package/lib/dialog/dialog-stack.service.d.ts +3 -0
- package/lib/dialog/dialog.component.d.ts +3 -0
- package/lib/dialog/dialog.module.d.ts +13 -0
- package/lib/dialog/dialog.service.d.ts +3 -0
- package/lib/divider/divider.component.d.ts +3 -0
- package/lib/divider/divider.module.d.ts +6 -0
- package/lib/dnd/dnd-drop-target.directive.d.ts +3 -0
- package/lib/dnd/dnd.module.d.ts +6 -0
- package/lib/docs/copy-text/copy-text.component.d.ts +3 -0
- package/lib/docs/docs.module.d.ts +21 -0
- package/lib/docs/example-code/example-code.component.d.ts +3 -1
- package/lib/docs/example-wrapper/example-wrapper.component.d.ts +4 -2
- package/lib/docs/example-wrapper/plunker-files.d.ts +3 -0
- package/lib/docs/example-wrapper/plunker-project.service.d.ts +3 -0
- package/lib/docs/services/sources.service.d.ts +3 -0
- package/lib/docs/srlc-indicator/srlc-indicator.component.d.ts +4 -1
- package/lib/docs/theme-switcher/theme-switcher.component.d.ts +3 -0
- package/lib/expander/expander.component.d.ts +3 -0
- package/lib/expander/expander.module.d.ts +7 -0
- package/lib/form-field/form-field.component.d.ts +3 -0
- package/lib/form-field/form-field.module.d.ts +8 -0
- package/lib/icon/icon.component.d.ts +3 -0
- package/lib/icon/icon.module.d.ts +6 -0
- package/lib/icon/icon.service.d.ts +3 -0
- package/lib/image/image.component.d.ts +3 -0
- package/lib/image/image.module.d.ts +6 -0
- package/lib/layout/card/card.component.d.ts +3 -0
- package/lib/layout/card-group/card-group.component.d.ts +3 -0
- package/lib/layout/layout-resizer/layout-resizer.component.d.ts +3 -0
- package/lib/layout/layout.module.d.ts +10 -0
- package/lib/layout/sheet/sheet.component.d.ts +3 -0
- package/lib/layout/sheet-group/sheet-group.component.d.ts +3 -0
- package/lib/menu/menu/menu.component.d.ts +3 -0
- package/lib/menu/menu-item/menu-action/menu-action.component.d.ts +3 -0
- package/lib/menu/menu-item/menu-group/menu-group.component.d.ts +3 -0
- package/lib/menu/menu-item/menu-item/menu-item-base.d.ts +3 -0
- package/lib/menu/menu-item/menu-item/menu-item.component.d.ts +3 -0
- package/lib/menu/menu-item/menu-link/menu-link.component.d.ts +3 -0
- package/lib/menu/menu-item/menu-option/menu-option.component.d.ts +3 -0
- package/lib/menu/menu-item/menu-switch/menu-switch.component.d.ts +3 -0
- package/lib/menu/menu-key-control.service.d.ts +3 -0
- package/lib/menu/menu-popup/menu-popup.component.d.ts +3 -0
- package/lib/menu/menu.module.d.ts +19 -0
- package/lib/message/message.component.d.ts +3 -0
- package/lib/message/message.module.d.ts +8 -0
- package/lib/overlay/arrow-component/overlay-arrow.component.d.ts +3 -0
- package/lib/overlay/overlay-additions.module.d.ts +6 -0
- package/lib/overlay/overlay-component/overlay.component.d.ts +6 -3
- package/lib/overlay/overlay-container.service.d.ts +3 -0
- package/lib/overlay/overlay-custom-container.d.ts +3 -0
- package/lib/overlay/overlay-item/overlay-item.component.d.ts +3 -0
- package/lib/overlay/overlay-position.service.d.ts +3 -0
- package/lib/overlay/overlay.module.d.ts +8 -0
- package/lib/overlay/overlay.service.d.ts +3 -0
- package/lib/paginator/paginator.component.d.ts +3 -0
- package/lib/paginator/paginator.module.d.ts +10 -0
- package/lib/panel/panel.component.d.ts +3 -0
- package/lib/panel/panel.module.d.ts +7 -0
- package/lib/popover/popover-modal.component.d.ts +3 -0
- package/lib/popover/popover-modal.service.d.ts +3 -0
- package/lib/popover/popover-position.service.d.ts +3 -0
- package/lib/popover/popover.component.d.ts +3 -0
- package/lib/popover/popover.module.d.ts +10 -0
- package/lib/popup/popup-container.component.d.ts +3 -0
- package/lib/popup/popup-container.service.d.ts +3 -0
- package/lib/popup/popup-toggle.directive.d.ts +3 -0
- package/lib/popup/popup.component.d.ts +3 -0
- package/lib/popup/popup.module.d.ts +10 -0
- package/lib/popup-adapter/popup-adapter.component.d.ts +3 -0
- package/lib/popup-adapter/popup-adapter.module.d.ts +10 -0
- package/lib/progress/progress.component.d.ts +3 -0
- package/lib/progress/progress.module.d.ts +8 -0
- package/lib/radio/radio-group.component.d.ts +5 -0
- package/lib/radio/radio.module.d.ts +6 -0
- package/lib/repeat/repeat-item/repeat-item.component.d.ts +3 -0
- package/lib/repeat/repeat.component.d.ts +3 -0
- package/lib/repeat/repeat.module.d.ts +11 -0
- package/lib/search/search.component.d.ts +3 -0
- package/lib/search/search.module.d.ts +9 -0
- package/lib/select/base-select.d.ts +3 -0
- package/lib/select/combobox/combobox.component.d.ts +3 -0
- package/lib/select/select.component.d.ts +3 -0
- package/lib/select/select.module.d.ts +13 -0
- package/lib/select-v2/base-select-v2.d.ts +3 -0
- package/lib/select-v2/combobox-v2/combobox-v2.component.d.ts +3 -0
- package/lib/select-v2/combobox-v2-option-highlight/combobox-v2-option-highlight.directive.d.ts +3 -0
- package/lib/select-v2/mark-as-selected-item.directive.d.ts +3 -0
- package/lib/select-v2/option/select-v2-option.component.d.ts +3 -0
- package/lib/select-v2/option-group/select-v2-option-group.component.d.ts +3 -0
- package/lib/select-v2/option-key-control.service.d.ts +3 -0
- package/lib/select-v2/select/select-v2.component.d.ts +3 -0
- package/lib/select-v2/select-v2.module.d.ts +18 -0
- package/lib/select-v2/selected-items-key-control.service.d.ts +3 -0
- package/lib/selector/selector.component.d.ts +3 -0
- package/lib/selector/selector.module.d.ts +10 -0
- package/lib/selector/selector.service.d.ts +3 -0
- package/lib/sorter/sorter-keyboard.service.d.ts +3 -0
- package/lib/sorter/sorter.component.d.ts +3 -0
- package/lib/sorter/sorter.module.d.ts +9 -0
- package/lib/spinner/spinner.component.d.ts +3 -0
- package/lib/spinner/spinner.module.d.ts +8 -0
- package/lib/switch/switch.component.d.ts +3 -0
- package/lib/switch/switch.module.d.ts +6 -0
- package/lib/tabgroup/tab/tab-heading-custom-template-ref.directive.d.ts +3 -0
- package/lib/tabgroup/tab/tab-heading.directive.d.ts +3 -0
- package/lib/tabgroup/tab/tab.component.d.ts +3 -0
- package/lib/tabgroup/tab-group/tab-group.component.d.ts +3 -0
- package/lib/tabgroup/tab-heading/tab-heading.component.d.ts +3 -0
- package/lib/tabgroup/tab-heading-group/tab-heading-group.component.d.ts +3 -0
- package/lib/tabgroup/tabs.module.d.ts +12 -0
- package/lib/table/table-cell/table-cell-def.directive.d.ts +3 -0
- package/lib/table/table-cell/table-cell.directive.d.ts +3 -0
- package/lib/table/table-cell/table-column-def.directive.d.ts +3 -0
- package/lib/table/table-cell/table-footer-cell-def.directive.d.ts +3 -0
- package/lib/table/table-cell/table-footer-cell.directive.d.ts +3 -0
- package/lib/table/table-cell/table-header-cell-def.directive.d.ts +3 -0
- package/lib/table/table-cell/table-header-cell.component.d.ts +3 -0
- package/lib/table/table-resizer/table-resizer.directive.d.ts +3 -0
- package/lib/table/table-row/table-row.component.d.ts +13 -0
- package/lib/table/table-state-handler.service.d.ts +4 -1
- package/lib/table/table-virtual-scroll/slice-range.pipe.d.ts +3 -0
- package/lib/table/table-virtual-scroll/table-sticky-header.directive.d.ts +3 -0
- package/lib/table/table-virtual-scroll/table-virtual-scroll.directive.d.ts +5 -0
- package/lib/table/table.component.d.ts +3 -0
- package/lib/table/table.module.d.ts +23 -0
- package/lib/textbox/textbox-number/textbox-number.component.d.ts +3 -0
- package/lib/textbox/textbox.component.d.ts +3 -0
- package/lib/textbox/textbox.module.d.ts +11 -0
- package/lib/time-frame-picker/quick-picker/quick-picker.component.d.ts +3 -0
- package/lib/time-frame-picker/services/timeframe.service.d.ts +3 -0
- package/lib/time-frame-picker/time-frame-format.pipe.d.ts +3 -0
- package/lib/time-frame-picker/time-frame-picker.component.d.ts +3 -0
- package/lib/time-frame-picker/time-frame-picker.module.d.ts +10 -0
- package/lib/time-picker/time-picker-keyboard.service.d.ts +3 -0
- package/lib/time-picker/time-picker.component.d.ts +3 -0
- package/lib/time-picker/time-picker.module.d.ts +10 -0
- package/lib/toast/toast-container.service.d.ts +3 -0
- package/lib/toast/toast.component.d.ts +3 -0
- package/lib/toast/toast.directive.d.ts +3 -0
- package/lib/toast/toast.module.d.ts +9 -0
- package/lib/toast/toast.service.d.ts +3 -0
- package/lib/toast/toast.servicebase.d.ts +3 -0
- package/lib/toolbar/toolbar-group.component.d.ts +3 -0
- package/lib/toolbar/toolbar-item.component.d.ts +3 -0
- package/lib/toolbar/toolbar-keyboard.service.d.ts +3 -0
- package/lib/toolbar/toolbar-message.component.d.ts +3 -0
- package/lib/toolbar/toolbar-splitter.component.d.ts +3 -0
- package/lib/toolbar/toolbar.component.d.ts +3 -0
- package/lib/toolbar/toolbar.module.d.ts +14 -0
- package/lib/tooltip/tooltip.component.d.ts +3 -0
- package/lib/tooltip/tooltip.directive.d.ts +3 -0
- package/lib/tooltip/tooltip.module.d.ts +10 -0
- package/lib/validation-message/custom-validation-message/custom-validation-message.component.d.ts +3 -0
- package/lib/validation-message/validation-message.component.d.ts +3 -0
- package/lib/validation-message/validation-message.module.d.ts +8 -0
- package/lib/wizard/wizard-step.component.d.ts +3 -0
- package/lib/wizard/wizard.component.d.ts +3 -0
- package/lib/wizard/wizard.module.d.ts +11 -0
- package/lib/wizard-v2/error-state-matcher.provider.d.ts +3 -0
- package/lib/wizard-v2/wizard-button/wizard-button.d.ts +5 -0
- package/lib/wizard-v2/wizard-footer/wizard-footer.component.d.ts +3 -0
- package/lib/wizard-v2/wizard-horizontal/wizard-horizontal.component.d.ts +3 -0
- package/lib/wizard-v2/wizard-overflow/wizard-overflow.component.d.ts +3 -0
- package/lib/wizard-v2/wizard-step/wizard-step.component.d.ts +3 -0
- package/lib/wizard-v2/wizard-step-footer.directive.d.ts +3 -0
- package/lib/wizard-v2/wizard-step-header/wizard-step-header.component.d.ts +3 -0
- package/lib/wizard-v2/wizard-step-label.directive.d.ts +3 -0
- package/lib/wizard-v2/wizard-vertical/wizard-vertical.component.d.ts +3 -0
- package/lib/wizard-v2/wizard.directive.d.ts +3 -0
- package/lib/wizard-v2/wizard.module.d.ts +18 -0
- package/nova-ui-bits.d.ts +1 -31
- package/package.json +39 -28
- package/pipes/highlight.pipe.d.ts +3 -0
- package/pipes/limit-to.pipe.d.ts +3 -0
- package/pipes/unit-conversion.pipe.d.ts +3 -0
- package/schematics/README.md +28 -0
- package/sdk/atoms/atom.js +2 -2
- package/sdk/atoms/atom.js.map +1 -1
- package/sdk/atoms/components/combobox-v2/combobox-v2.atom.js +2 -2
- package/sdk/atoms/components/combobox-v2/combobox-v2.atom.js.map +1 -1
- package/sdk/atoms/components/datepicker/datepicker.atom.js +2 -2
- package/sdk/atoms/components/datepicker/datepicker.atom.js.map +1 -1
- package/sdk/atoms/components/dialog/dialog.atom.js +3 -3
- package/sdk/atoms/components/dialog/dialog.atom.js.map +1 -1
- package/sdk/atoms/components/icon/icon.atom.js +2 -0
- 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/overlay/overlay.atom.js +3 -3
- package/sdk/atoms/components/overlay/overlay.atom.js.map +1 -1
- package/sdk/atoms/components/popover/popover.atom.js +6 -6
- package/sdk/atoms/components/popover/popover.atom.js.map +1 -1
- package/sdk/atoms/components/popup/overlay-content.atom.js +1 -1
- package/sdk/atoms/components/popup/overlay-content.atom.js.map +1 -1
- package/sdk/atoms/components/popup/popup.atom.js +1 -1
- package/sdk/atoms/components/popup/popup.atom.js.map +1 -1
- package/sdk/atoms/components/select-v2/base-select-v2.atom.js +1 -1
- package/sdk/atoms/components/select-v2/base-select-v2.atom.js.map +1 -1
- package/sdk/atoms/components/selector/selector.e2e.js +2 -2
- package/sdk/atoms/components/selector/selector.e2e.js.map +1 -1
- package/sdk/atoms/components/table/table.atom.js +3 -3
- package/sdk/atoms/components/table/table.atom.js.map +1 -1
- package/sdk/atoms/components/timepicker/timepicker.atom.js +3 -3
- package/sdk/atoms/components/timepicker/timepicker.atom.js.map +1 -1
- package/sdk/atoms/virtual-camera/eyes-lens.js +1 -1
- package/sdk/atoms/virtual-camera/eyes-lens.js.map +1 -1
- package/sdk/atoms/virtual-camera/percy-lens.js +1 -1
- package/sdk/atoms/virtual-camera/percy-lens.js.map +1 -1
- package/sdk/schematics/filter-group/index.js +28 -26
- package/sdk/schematics/filter-group/index.js.map +1 -1
- package/sdk/schematics/filter-group/index.spec.d.ts +1 -0
- package/sdk/schematics/filter-group/index.spec.js +91 -0
- package/sdk/schematics/filter-group/index.spec.js.map +1 -0
- package/sdk/schematics/filter-group/schema.d.ts +50 -0
- package/sdk/schematics/filter-group/schema.js +22 -0
- package/sdk/schematics/filter-group/schema.js.map +1 -0
- package/sdk/schematics/filter-group/schema.json +6 -6
- package/sdk/schematics/filtered-view/index.js +46 -40
- package/sdk/schematics/filtered-view/index.js.map +1 -1
- package/sdk/schematics/filtered-view/index.spec.d.ts +1 -0
- package/sdk/schematics/filtered-view/index.spec.js +91 -0
- package/sdk/schematics/filtered-view/index.spec.js.map +1 -0
- package/sdk/schematics/filtered-view/schema.d.ts +87 -0
- package/sdk/schematics/filtered-view/schema.js +22 -0
- package/sdk/schematics/filtered-view/schema.js.map +1 -0
- package/sdk/schematics/filtered-view/schema.json +42 -14
- package/sdk/schematics/index.js +5 -1
- package/sdk/schematics/index.js.map +1 -1
- package/sdk/schematics/layout/index.js +22 -26
- package/sdk/schematics/layout/index.js.map +1 -1
- package/sdk/schematics/layout/index.spec.d.ts +1 -0
- package/sdk/schematics/layout/index.spec.js +71 -0
- package/sdk/schematics/layout/index.spec.js.map +1 -0
- package/sdk/schematics/layout/schema.d.ts +78 -0
- package/sdk/schematics/layout/schema.js +22 -0
- package/sdk/schematics/layout/schema.js.map +1 -0
- package/sdk/schematics/layout/schema.json +5 -5
- package/sdk/schematics/list/files/__name@dasherize__.component.ts +2 -2
- package/sdk/schematics/list/index.js +37 -34
- package/sdk/schematics/list/index.js.map +1 -1
- package/sdk/schematics/list/schema.d.ts +72 -0
- package/sdk/schematics/list/schema.js +22 -0
- package/sdk/schematics/list/schema.js.map +1 -0
- package/sdk/schematics/list/schema.json +41 -13
- package/sdk/schematics/migration.json +7 -7
- package/sdk/schematics/ng-add/index.js +36 -30
- package/sdk/schematics/ng-add/index.js.map +1 -1
- package/sdk/schematics/ng-add/index.spec.d.ts +1 -0
- package/sdk/schematics/ng-add/index.spec.js +183 -0
- package/sdk/schematics/ng-add/index.spec.js.map +1 -0
- package/sdk/schematics/ng-add/schema.json +4 -4
- package/sdk/schematics/ng-update/index.js +4 -4
- package/sdk/schematics/ng-update/index.js.map +1 -1
- package/sdk/schematics/ng-update/index.spec.d.ts +1 -0
- package/sdk/schematics/ng-update/index.spec.js +108 -0
- package/sdk/schematics/ng-update/index.spec.js.map +1 -0
- package/sdk/schematics/ng-update/schema.json +4 -6
- package/sdk/schematics/table/files/__name@dasherize__.component.ts +2 -2
- package/sdk/schematics/table/index.js +43 -36
- package/sdk/schematics/table/index.js.map +1 -1
- package/sdk/schematics/table/schema.d.ts +72 -0
- package/sdk/schematics/table/schema.js +22 -0
- package/sdk/schematics/table/schema.js.map +1 -0
- package/sdk/schematics/table/schema.json +20 -8
- package/sdk/schematics/utility/json-utils.d.ts +2 -1
- package/sdk/schematics/utility/json-utils.js +11 -14
- package/sdk/schematics/utility/json-utils.js.map +1 -1
- package/sdk/schematics/utility/project-targets.js +2 -2
- package/sdk/schematics/utility/project-targets.js.map +1 -1
- package/sdk/schematics/utility/project.js +1 -1
- package/sdk/schematics/utility/project.js.map +1 -1
- package/sdk/schematics/utility/public-api.js +5 -1
- package/sdk/schematics/utility/public-api.js.map +1 -1
- package/sdk/schematics/utility/schematics-helper.d.ts +1 -1
- package/sdk/schematics/utility/schematics-helper.js +30 -25
- package/sdk/schematics/utility/schematics-helper.js.map +1 -1
- package/sdk/schematics/utility/schematics-helper.spec.d.ts +1 -0
- package/sdk/schematics/utility/schematics-helper.spec.js +63 -0
- package/sdk/schematics/utility/schematics-helper.spec.js.map +1 -0
- package/sdk/schematics/utility/workspace.d.ts +6 -0
- package/sdk/schematics/utility/workspace.js +3 -3
- package/sdk/schematics/utility/workspace.js.map +1 -1
- package/services/data-filter.service.d.ts +3 -0
- package/services/data-source/client-side-data-source.service.d.ts +3 -0
- package/services/data-source/data-source.service.d.ts +3 -0
- package/services/data-source/local-filtering-data-source.service.d.ts +3 -0
- package/services/data-source/server-side-source.service.d.ts +3 -0
- package/services/dom-util.service.d.ts +3 -0
- package/services/edge-detection.service.d.ts +3 -0
- package/services/event-bus.d.ts +3 -0
- package/services/event-bus.service.d.ts +3 -0
- package/services/event-propagation.service.d.ts +3 -0
- package/services/history-storage.d.ts +3 -0
- package/services/list.service.d.ts +3 -0
- package/services/log-service.d.ts +4 -4
- package/services/notification-service.d.ts +3 -0
- package/services/position.service.d.ts +3 -0
- package/services/search.service.d.ts +3 -0
- package/services/tab-navigation.service.d.ts +3 -0
- package/services/theme-switch.service.d.ts +3 -0
- package/services/transient-cache.service.d.ts +3 -0
- package/services/unit-conversion.service.d.ts +3 -0
- package/services/util.service.d.ts +3 -0
- package/services/virtual-viewport-manager.service.d.ts +3 -0
- package/bundles/css/styles-v7-compat.css +0 -1
- package/bundles/nova-ui-bits.umd.js +0 -26761
- package/bundles/nova-ui-bits.umd.js.map +0 -1
- package/esm2015/common/common.module.js +0 -120
- package/esm2015/common/directives/click-interceptor/click-interceptor.directive.js +0 -55
- package/esm2015/common/directives/clipboard/clipboard.directive.js +0 -114
- package/esm2015/common/directives/dragdrop/drag-and-drop.service.js +0 -77
- package/esm2015/common/directives/dragdrop/draggable.directive.js +0 -250
- package/esm2015/common/directives/dragdrop/droppable.directive.js +0 -198
- package/esm2015/common/directives/resize/resize.directive.js +0 -193
- package/esm2015/common/directives/resize-observer/resize-observer.directive.js +0 -68
- package/esm2015/common/directives/resizer/resizer.directive.js +0 -322
- package/esm2015/common/directives/set-focus/set-focus.directive.js +0 -110
- package/esm2015/common/directives/zoom-content/zoom-content.directive.js +0 -146
- package/esm2015/constants/index.js +0 -27
- package/esm2015/constants/wizard.constants.js +0 -43
- package/esm2015/environment.js +0 -53
- package/esm2015/lib/breadcrumb/breadcrumb-state.service.js +0 -54
- package/esm2015/lib/breadcrumb/breadcrumb.component.js +0 -56
- package/esm2015/lib/breadcrumb/breadcrumb.module.js +0 -38
- package/esm2015/lib/busy/busy.component.js +0 -96
- package/esm2015/lib/busy/busy.module.js +0 -37
- package/esm2015/lib/button/button.component.js +0 -216
- package/esm2015/lib/button/button.module.js +0 -37
- package/esm2015/lib/checkbox/checkbox-group.component.js +0 -147
- package/esm2015/lib/checkbox/checkbox.component.js +0 -217
- package/esm2015/lib/checkbox/checkbox.module.js +0 -37
- package/esm2015/lib/chips/chip/chip.component.js +0 -64
- package/esm2015/lib/chips/chips-overflow/chips-overflow.component.js +0 -47
- package/esm2015/lib/chips/chips-overflow.service.js +0 -141
- package/esm2015/lib/chips/chips.component.js +0 -190
- package/esm2015/lib/chips/chips.module.js +0 -40
- package/esm2015/lib/content/content.component.js +0 -45
- package/esm2015/lib/convenience/time-frame-bar/time-frame-bar.component.js +0 -181
- package/esm2015/lib/convenience/time-frame-bar/time-frame-bar.module.js +0 -54
- package/esm2015/lib/date-picker/date-picker-day-picker.component.js +0 -131
- package/esm2015/lib/date-picker/date-picker-inner.component.js +0 -293
- package/esm2015/lib/date-picker/date-picker-month-picker.component.js +0 -63
- package/esm2015/lib/date-picker/date-picker-year-picker.component.js +0 -68
- package/esm2015/lib/date-picker/date-picker.component.js +0 -275
- package/esm2015/lib/date-picker/date-picker.module.js +0 -56
- package/esm2015/lib/date-time-picker/date-time-picker.component.js +0 -206
- package/esm2015/lib/date-time-picker/date-time-picker.module.js +0 -38
- package/esm2015/lib/dialog/confirmation-dialog.component.js +0 -75
- package/esm2015/lib/dialog/dialog-backdrop.component.js +0 -33
- package/esm2015/lib/dialog/dialog-footer.component.js +0 -34
- package/esm2015/lib/dialog/dialog-header.component.js +0 -54
- package/esm2015/lib/dialog/dialog-ref.js +0 -96
- package/esm2015/lib/dialog/dialog-stack.service.js +0 -139
- package/esm2015/lib/dialog/dialog.component.js +0 -153
- package/esm2015/lib/dialog/dialog.module.js +0 -56
- package/esm2015/lib/dialog/dialog.service.js +0 -63
- package/esm2015/lib/divider/divider.component.js +0 -65
- package/esm2015/lib/divider/divider.module.js +0 -36
- package/esm2015/lib/dnd/dnd-drop-target.directive.js +0 -108
- package/esm2015/lib/docs/copy-text/copy-text.component.js +0 -51
- package/esm2015/lib/docs/docs.module.js +0 -77
- package/esm2015/lib/docs/example-code/example-code.component.js +0 -76
- package/esm2015/lib/docs/example-wrapper/example-wrapper.component.js +0 -78
- package/esm2015/lib/docs/example-wrapper/plunker-files.js +0 -412
- package/esm2015/lib/docs/example-wrapper/plunker-project.service.js +0 -111
- package/esm2015/lib/docs/services/sources.service.js +0 -92
- package/esm2015/lib/docs/srlc-indicator/srlc-indicator.component.js +0 -102
- package/esm2015/lib/expander/expander.component.js +0 -109
- package/esm2015/lib/expander/expander.module.js +0 -37
- package/esm2015/lib/form-field/form-field.component.js +0 -114
- package/esm2015/lib/form-field/form-field.module.js +0 -38
- package/esm2015/lib/icon/icon.component.js +0 -145
- package/esm2015/lib/icon/icon.module.js +0 -37
- package/esm2015/lib/icon/icon.service.js +0 -78
- package/esm2015/lib/image/image.component.js +0 -145
- package/esm2015/lib/image/image.module.js +0 -36
- package/esm2015/lib/layout/card/card.component.js +0 -44
- package/esm2015/lib/layout/card-group/card-group.component.js +0 -49
- package/esm2015/lib/layout/layout-resizer/layout-resizer.component.js +0 -99
- package/esm2015/lib/layout/layout.module.js +0 -51
- package/esm2015/lib/layout/sheet/sheet.component.js +0 -61
- package/esm2015/lib/layout/sheet-group/sheet-group.component.js +0 -174
- package/esm2015/lib/menu/menu/menu.component.js +0 -154
- package/esm2015/lib/menu/menu-item/menu-action/menu-action.component.js +0 -93
- package/esm2015/lib/menu/menu-item/menu-group/menu-group.component.js +0 -55
- package/esm2015/lib/menu/menu-item/menu-item/menu-item-base.js +0 -69
- package/esm2015/lib/menu/menu-item/menu-item/menu-item.component.js +0 -77
- package/esm2015/lib/menu/menu-item/menu-link/menu-link.component.js +0 -88
- package/esm2015/lib/menu/menu-item/menu-option/menu-option.component.js +0 -95
- package/esm2015/lib/menu/menu-item/menu-switch/menu-switch.component.js +0 -91
- package/esm2015/lib/menu/menu-key-control.service.js +0 -214
- package/esm2015/lib/menu/menu-popup/menu-popup.component.js +0 -80
- package/esm2015/lib/menu/menu.module.js +0 -74
- package/esm2015/lib/message/message.component.js +0 -116
- package/esm2015/lib/overlay/arrow-component/overlay-arrow.component.js +0 -35
- package/esm2015/lib/overlay/overlay-additions.module.js +0 -35
- package/esm2015/lib/overlay/overlay-component/overlay.component.js +0 -191
- package/esm2015/lib/overlay/overlay-container.service.js +0 -126
- package/esm2015/lib/overlay/overlay-custom-container.js +0 -52
- package/esm2015/lib/overlay/overlay-item/overlay-item.component.js +0 -67
- package/esm2015/lib/overlay/overlay-position.service.js +0 -287
- package/esm2015/lib/overlay/overlay-utilities.service.js +0 -78
- package/esm2015/lib/overlay/overlay.module.js +0 -40
- package/esm2015/lib/overlay/overlay.service.js +0 -132
- package/esm2015/lib/paginator/paginator.component.js +0 -438
- package/esm2015/lib/paginator/paginator.module.js +0 -46
- package/esm2015/lib/panel/panel.component.js +0 -439
- package/esm2015/lib/popover/popover-modal.component.js +0 -103
- package/esm2015/lib/popover/popover-modal.service.js +0 -166
- package/esm2015/lib/popover/popover-position.service.js +0 -240
- package/esm2015/lib/popover/popover.component.js +0 -449
- package/esm2015/lib/popup/popup-container.component.js +0 -85
- package/esm2015/lib/popup/popup-container.service.js +0 -32
- package/esm2015/lib/popup/popup-toggle.directive.js +0 -47
- package/esm2015/lib/popup/popup.component.js +0 -259
- package/esm2015/lib/popup/popup.module.js +0 -44
- package/esm2015/lib/popup-adapter/popup-adapter.component.js +0 -303
- package/esm2015/lib/popup-adapter/popup-adapter.module.js +0 -42
- package/esm2015/lib/progress/progress.component.js +0 -61
- package/esm2015/lib/progress/progress.module.js +0 -38
- package/esm2015/lib/radio/radio-group.component.js +0 -274
- package/esm2015/lib/radio/radio.module.js +0 -36
- package/esm2015/lib/repeat/repeat-item/repeat-item.component.js +0 -53
- package/esm2015/lib/repeat/repeat.component.js +0 -411
- package/esm2015/lib/repeat/repeat.module.js +0 -47
- package/esm2015/lib/search/search.component.js +0 -121
- package/esm2015/lib/search/search.module.js +0 -39
- package/esm2015/lib/select/base-select.js +0 -192
- package/esm2015/lib/select/combobox/combobox.component.js +0 -267
- package/esm2015/lib/select/select.component.js +0 -128
- package/esm2015/lib/select/select.module.js +0 -50
- package/esm2015/lib/select-v2/base-select-v2.js +0 -442
- package/esm2015/lib/select-v2/combobox-v2/combobox-v2.component.js +0 -303
- package/esm2015/lib/select-v2/combobox-v2-option-highlight/combobox-v2-option-highlight.directive.js +0 -80
- package/esm2015/lib/select-v2/mark-as-selected-item.directive.js +0 -48
- package/esm2015/lib/select-v2/option/select-v2-option.component.js +0 -89
- package/esm2015/lib/select-v2/option-group/select-v2-option-group.component.js +0 -67
- package/esm2015/lib/select-v2/option-key-control.service.js +0 -140
- package/esm2015/lib/select-v2/select/select-v2.component.js +0 -131
- package/esm2015/lib/select-v2/select-v2.module.js +0 -72
- package/esm2015/lib/select-v2/selected-items-key-control.service.js +0 -159
- package/esm2015/lib/selector/selector.component.js +0 -161
- package/esm2015/lib/selector/selector.module.js +0 -46
- package/esm2015/lib/selector/selector.service.js +0 -290
- package/esm2015/lib/sorter/sorter.component.js +0 -251
- package/esm2015/lib/spinner/spinner.component.js +0 -139
- package/esm2015/lib/spinner/spinner.module.js +0 -38
- package/esm2015/lib/switch/switch.component.js +0 -93
- package/esm2015/lib/switch/switch.module.js +0 -36
- package/esm2015/lib/tabgroup/tab/tab-heading-custom-template-ref.directive.js +0 -47
- package/esm2015/lib/tabgroup/tab/tab.component.js +0 -75
- package/esm2015/lib/tabgroup/tab-group/tab-group.component.js +0 -151
- package/esm2015/lib/tabgroup/tab-heading/tab-heading.component.js +0 -62
- package/esm2015/lib/tabgroup/tab-heading-group/tab-heading-group.component.js +0 -181
- package/esm2015/lib/tabgroup/tabs.module.js +0 -55
- package/esm2015/lib/table/table-cell/table-cell-def.directive.js +0 -40
- package/esm2015/lib/table/table-cell/table-cell.directive.js +0 -119
- package/esm2015/lib/table/table-cell/table-column-def.directive.js +0 -68
- package/esm2015/lib/table/table-cell/table-footer-cell-def.directive.js +0 -42
- package/esm2015/lib/table/table-cell/table-footer-cell.directive.js +0 -43
- package/esm2015/lib/table/table-cell/table-header-cell-def.directive.js +0 -42
- package/esm2015/lib/table/table-cell/table-header-cell.component.js +0 -279
- package/esm2015/lib/table/table-resizer/table-resizer.directive.js +0 -69
- package/esm2015/lib/table/table-row/table-row.component.js +0 -455
- package/esm2015/lib/table/table-state-handler.service.js +0 -523
- package/esm2015/lib/table/table-virtual-scroll/slice-range.pipe.js +0 -38
- package/esm2015/lib/table/table-virtual-scroll/table-sticky-header.directive.js +0 -276
- package/esm2015/lib/table/table-virtual-scroll/table-virtual-scroll-strategy.js +0 -183
- package/esm2015/lib/table/table-virtual-scroll/table-virtual-scroll.directive.js +0 -109
- package/esm2015/lib/table/table.component.js +0 -270
- package/esm2015/lib/table/table.module.js +0 -81
- package/esm2015/lib/textbox/textbox-number/textbox-number.component.js +0 -245
- package/esm2015/lib/textbox/textbox.component.js +0 -150
- package/esm2015/lib/textbox/textbox.module.js +0 -48
- package/esm2015/lib/time-frame-picker/quick-picker/quick-picker.component.js +0 -58
- package/esm2015/lib/time-frame-picker/services/timeframe.service.js +0 -215
- package/esm2015/lib/time-frame-picker/time-frame-format.pipe.js +0 -56
- package/esm2015/lib/time-frame-picker/time-frame-picker.component.js +0 -131
- package/esm2015/lib/time-frame-picker/time-frame-picker.module.js +0 -49
- package/esm2015/lib/time-picker/time-picker-keyboard.service.js +0 -115
- package/esm2015/lib/time-picker/time-picker.component.js +0 -311
- package/esm2015/lib/time-picker/time-picker.module.js +0 -46
- package/esm2015/lib/toast/toast-container.service.js +0 -93
- package/esm2015/lib/toast/toast-package.js +0 -44
- package/esm2015/lib/toast/toast-ref.js +0 -65
- package/esm2015/lib/toast/toast.component.js +0 -221
- package/esm2015/lib/toast/toast.directive.js +0 -91
- package/esm2015/lib/toast/toast.module.js +0 -47
- package/esm2015/lib/toast/toast.service.js +0 -282
- package/esm2015/lib/toolbar/toolbar-item.component.js +0 -56
- package/esm2015/lib/toolbar/toolbar-keyboard.service.js +0 -81
- package/esm2015/lib/toolbar/toolbar-splitter.component.js +0 -33
- package/esm2015/lib/toolbar/toolbar.component.js +0 -223
- package/esm2015/lib/toolbar/toolbar.module.js +0 -62
- package/esm2015/lib/tooltip/tooltip.component.js +0 -226
- package/esm2015/lib/tooltip/tooltip.directive.js +0 -227
- package/esm2015/lib/tooltip/tooltip.module.js +0 -38
- package/esm2015/lib/validation-message/custom-validation-message/custom-validation-message.component.js +0 -53
- package/esm2015/lib/validation-message/validation-message.component.js +0 -46
- package/esm2015/lib/validation-message/validation-message.module.js +0 -41
- package/esm2015/lib/wizard/wizard-step.component.js +0 -119
- package/esm2015/lib/wizard/wizard.component.js +0 -351
- package/esm2015/lib/wizard/wizard.module.js +0 -48
- package/esm2015/lib/wizard-v2/error-state-matcher.provider.js +0 -34
- package/esm2015/lib/wizard-v2/wizard-button/wizard-button.js +0 -50
- package/esm2015/lib/wizard-v2/wizard-footer/wizard-footer.component.js +0 -66
- package/esm2015/lib/wizard-v2/wizard-horizontal/wizard-horizontal.component.js +0 -303
- package/esm2015/lib/wizard-v2/wizard-overflow/wizard-overflow.component.js +0 -44
- package/esm2015/lib/wizard-v2/wizard-step/wizard-step.component.js +0 -99
- package/esm2015/lib/wizard-v2/wizard-step-header/wizard-step-header.component.js +0 -128
- package/esm2015/lib/wizard-v2/wizard-step-label.directive.js +0 -29
- package/esm2015/lib/wizard-v2/wizard-vertical/wizard-vertical.component.js +0 -71
- package/esm2015/lib/wizard-v2/wizard.directive.js +0 -132
- package/esm2015/lib/wizard-v2/wizard.module.js +0 -79
- package/esm2015/nova-ui-bits.js +0 -36
- package/esm2015/pipes/highlight.pipe.js +0 -86
- package/esm2015/pipes/unit-conversion.pipe.js +0 -58
- package/esm2015/services/data-filter.service.js +0 -90
- package/esm2015/services/data-source/client-side-data-source.service.js +0 -121
- package/esm2015/services/data-source/data-source-features.js +0 -38
- package/esm2015/services/data-source/data-source.service.js +0 -138
- package/esm2015/services/data-source/local-filtering-data-source.service.js +0 -249
- package/esm2015/services/data-source/noop-data-source.service.js +0 -32
- package/esm2015/services/data-source/server-side-source.service.js +0 -73
- package/esm2015/services/dom-util.service.js +0 -78
- package/esm2015/services/edge-detection.service.js +0 -178
- package/esm2015/services/event-bus.js +0 -67
- package/esm2015/services/event-bus.service.js +0 -49
- package/esm2015/services/event-propagation.service.js +0 -90
- package/esm2015/services/history-storage.js +0 -99
- package/esm2015/services/list.service.js +0 -99
- package/esm2015/services/notification-service.js +0 -60
- package/esm2015/services/position.service.js +0 -193
- package/esm2015/services/tab-navigation.service.js +0 -61
- package/esm2015/services/theme-switch.service.js +0 -149
- package/esm2015/services/transient-cache.service.js +0 -81
- package/esm2015/services/unit-conversion.service.js +0 -178
- package/esm2015/services/util.service.js +0 -344
- package/esm2015/services/virtual-viewport-manager.service.js +0 -140
- package/fesm2015/nova-ui-bits.js +0 -25208
- package/fesm2015/nova-ui-bits.js.map +0 -1
- package/nova-ui-bits.metadata.json +0 -1
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
3
|
+
//
|
|
4
|
+
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
5
|
+
// of this software and associated documentation files (the "Software"), to
|
|
6
|
+
// deal in the Software without restriction, including without limitation the
|
|
7
|
+
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
8
|
+
// sell copies of the Software, and to permit persons to whom the Software is
|
|
9
|
+
// furnished to do so, subject to the following conditions:
|
|
10
|
+
//
|
|
11
|
+
// The above copyright notice and this permission notice shall be included in
|
|
12
|
+
// all copies or substantial portions of the Software.
|
|
13
|
+
//
|
|
14
|
+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
15
|
+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
16
|
+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
17
|
+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
18
|
+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
19
|
+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
20
|
+
// THE SOFTWARE.
|
|
21
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
22
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
23
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
24
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
25
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
26
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
27
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
28
|
+
});
|
|
29
|
+
};
|
|
30
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
31
|
+
const testing_1 = require("@angular-devkit/schematics/testing");
|
|
32
|
+
describe("layout", () => {
|
|
33
|
+
const runner = new testing_1.SchematicTestRunner("schematics", require.resolve("../collection.json"));
|
|
34
|
+
let appTree;
|
|
35
|
+
beforeEach(() => __awaiter(void 0, void 0, void 0, function* () {
|
|
36
|
+
const workspaceOptions = {
|
|
37
|
+
name: "workspace",
|
|
38
|
+
newProjectRoot: "projects",
|
|
39
|
+
version: "6.0.0",
|
|
40
|
+
};
|
|
41
|
+
const appOptions = {
|
|
42
|
+
name: "bar",
|
|
43
|
+
inlineStyle: false,
|
|
44
|
+
inlineTemplate: false,
|
|
45
|
+
routing: false,
|
|
46
|
+
style: "less",
|
|
47
|
+
skipTests: false,
|
|
48
|
+
skipPackageJson: false,
|
|
49
|
+
};
|
|
50
|
+
appTree = yield runner
|
|
51
|
+
.runExternalSchematicAsync("@schematics/angular", "workspace", workspaceOptions)
|
|
52
|
+
.toPromise();
|
|
53
|
+
appTree = yield runner
|
|
54
|
+
.runExternalSchematicAsync("@schematics/angular", "application", appOptions, appTree)
|
|
55
|
+
.toPromise();
|
|
56
|
+
}));
|
|
57
|
+
it("adds basic component", () => __awaiter(void 0, void 0, void 0, function* () {
|
|
58
|
+
const afterTree = yield runner
|
|
59
|
+
.runSchematicAsync("layout", { project: "bar", name: "comp" }, appTree)
|
|
60
|
+
.toPromise();
|
|
61
|
+
const htmlFile = afterTree.readContent("/projects/bar/src/app/comp/comp.component.html");
|
|
62
|
+
const specFile = afterTree.readContent("/projects/bar/src/app/comp/comp.component.spec.ts");
|
|
63
|
+
const tsFile = afterTree.readContent("/projects/bar/src/app/comp/comp.component.ts");
|
|
64
|
+
const lessFile = afterTree.readContent("/projects/bar/src/app/comp/comp.component.less");
|
|
65
|
+
expect(htmlFile).toContain('<nui-sheet direction="column">');
|
|
66
|
+
expect(specFile).toContain("fixture = TestBed.createComponent(CompComponent)");
|
|
67
|
+
expect(lessFile).toContain("nui-framework-variables");
|
|
68
|
+
expect(tsFile).toContain("export class CompComponent");
|
|
69
|
+
}));
|
|
70
|
+
});
|
|
71
|
+
//# sourceMappingURL=index.spec.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.spec.js","sourceRoot":"","sources":["../../src/layout/index.spec.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,EAAE;AACF,+EAA+E;AAC/E,4EAA4E;AAC5E,8EAA8E;AAC9E,+EAA+E;AAC/E,8EAA8E;AAC9E,4DAA4D;AAC5D,EAAE;AACF,6EAA6E;AAC7E,uDAAuD;AACvD,EAAE;AACF,6EAA6E;AAC7E,4EAA4E;AAC5E,+EAA+E;AAC/E,0EAA0E;AAC1E,iFAAiF;AACjF,6EAA6E;AAC7E,iBAAiB;;;;;;;;;;;AAEjB,gEAG4C;AAE5C,QAAQ,CAAC,QAAQ,EAAE,GAAG,EAAE;IACpB,MAAM,MAAM,GAAG,IAAI,6BAAmB,CAClC,YAAY,EACZ,OAAO,CAAC,OAAO,CAAC,oBAAoB,CAAC,CACxC,CAAC;IAEF,IAAI,OAAqB,CAAC;IAE1B,UAAU,CAAC,GAAS,EAAE;QAClB,MAAM,gBAAgB,GAAG;YACrB,IAAI,EAAE,WAAW;YACjB,cAAc,EAAE,UAAU;YAC1B,OAAO,EAAE,OAAO;SACnB,CAAC;QAEF,MAAM,UAAU,GAAG;YACf,IAAI,EAAE,KAAK;YACX,WAAW,EAAE,KAAK;YAClB,cAAc,EAAE,KAAK;YACrB,OAAO,EAAE,KAAK;YACd,KAAK,EAAE,MAAM;YACb,SAAS,EAAE,KAAK;YAChB,eAAe,E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eDetection;
|
|
6
|
+
/**
|
|
7
|
+
* Specifies if the component is an entry component of declaring module.
|
|
8
|
+
*/
|
|
9
|
+
entryComponent?: boolean;
|
|
10
|
+
/**
|
|
11
|
+
* Specifies if declaring module exports the component.
|
|
12
|
+
*/
|
|
13
|
+
export?: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* Flag to indicate if a directory is created.
|
|
16
|
+
*/
|
|
17
|
+
flat?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Specifies whether to apply lint fixes after generating the component.
|
|
20
|
+
*/
|
|
21
|
+
lintFix?: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Allows specification of the declaring module.
|
|
24
|
+
*/
|
|
25
|
+
module?: string;
|
|
26
|
+
/**
|
|
27
|
+
* The name of the component.
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
/**
|
|
31
|
+
* The path to create the component.
|
|
32
|
+
*/
|
|
33
|
+
path?: string;
|
|
34
|
+
/**
|
|
35
|
+
* The prefix to apply to generated selectors.
|
|
36
|
+
*/
|
|
37
|
+
prefix?: string;
|
|
38
|
+
/**
|
|
39
|
+
* The name of the project.
|
|
40
|
+
*/
|
|
41
|
+
project?: string;
|
|
42
|
+
/**
|
|
43
|
+
* The selector to use for the component.
|
|
44
|
+
*/
|
|
45
|
+
selector?: string;
|
|
46
|
+
/**
|
|
47
|
+
* Flag to skip the module import.
|
|
48
|
+
*/
|
|
49
|
+
skipImport?: boolean;
|
|
50
|
+
/**
|
|
51
|
+
* Specifies if a spec file is generated.
|
|
52
|
+
*/
|
|
53
|
+
spec?: boolean;
|
|
54
|
+
/**
|
|
55
|
+
* The file extension to be used for style files.
|
|
56
|
+
*/
|
|
57
|
+
styleext?: string;
|
|
58
|
+
/**
|
|
59
|
+
* Specifies the view encapsulation strategy.
|
|
60
|
+
*/
|
|
61
|
+
viewEncapsulation?: ViewEncapsulation;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Specifies the change detection strategy.
|
|
65
|
+
*/
|
|
66
|
+
export declare enum ChangeDetection {
|
|
67
|
+
Default = "Default",
|
|
68
|
+
OnPush = "OnPush"
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Specifies the view encapsulation strategy.
|
|
72
|
+
*/
|
|
73
|
+
export declare enum ViewEncapsulation {
|
|
74
|
+
Emulated = "Emulated",
|
|
75
|
+
Native = "Native",
|
|
76
|
+
None = "None",
|
|
77
|
+
ShadowDOM = "ShadowDom"
|
|
78
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
3
|
+
//
|
|
4
|
+
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
5
|
+
// of this software and associated documentation files (the "Software"), to
|
|
6
|
+
// deal in the Software without restriction, including without limitation the
|
|
7
|
+
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
8
|
+
// sell copies of the Software, and to permit persons to whom the Software is
|
|
9
|
+
// furnished to do so, subject to the following conditions:
|
|
10
|
+
//
|
|
11
|
+
// The above copyright notice and this permission notice shall be included in
|
|
12
|
+
// all copies or substantial portions of the Software.
|
|
13
|
+
//
|
|
14
|
+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
15
|
+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
16
|
+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
17
|
+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
18
|
+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
19
|
+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
20
|
+
// THE SOFTWARE.
|
|
21
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
|
+
//# sourceMappingURL=schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../../src/layout/schema.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,EAAE;AACF,+EAA+E;AAC/E,4EAA4E;AAC5E,8EAA8E;AAC9E,+EAA+E;AAC/E,8EAA8E;AAC9E,4DAA4D;AAC5D,EAAE;AACF,6EAA6E;AAC7E,uDAAuD;AACvD,EAAE;AACF,6EAA6E;AAC7E,4EAA4E;AAC5E,+EAA+E;AAC/E,0EAA0E;AAC1E,iFAAiF;AACjF,6EAA6E;AAC7E,iBAAiB"}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
+
"$id": "SchematicsNovaLayoutComponent",
|
|
2
3
|
"$schema": "http://json-schema.org/schema",
|
|
3
|
-
"id": "SchematicsNovaLayoutComponent",
|
|
4
|
-
"title": "Nova Layout Options Schema",
|
|
5
|
-
"type": "object",
|
|
6
4
|
"description": "Adds a layout",
|
|
7
5
|
"properties": {
|
|
8
6
|
"path": {
|
|
@@ -75,7 +73,7 @@
|
|
|
75
73
|
"format": "html-selector",
|
|
76
74
|
"description": "The HTML selector to use for this component"
|
|
77
75
|
},
|
|
78
|
-
"module":
|
|
76
|
+
"module": {
|
|
79
77
|
"type": "string",
|
|
80
78
|
"description": "The declaring NgModule",
|
|
81
79
|
"alias": "m"
|
|
@@ -95,5 +93,7 @@
|
|
|
95
93
|
"default": false,
|
|
96
94
|
"description": "When true, applies lint fixes after generating the component"
|
|
97
95
|
}
|
|
98
|
-
}
|
|
96
|
+
},
|
|
97
|
+
"title": "Nova Layout Options Schema",
|
|
98
|
+
"type": "object"
|
|
99
99
|
}
|
|
@@ -146,7 +146,7 @@ export class <%= classify(name) %>Component implements <% if (dataSource === "se
|
|
|
146
146
|
if (enableSort) { %>
|
|
147
147
|
@ViewChild(SorterComponent) sorter: SorterComponent;<% } %>
|
|
148
148
|
|
|
149
|
-
private destroy$ = new Subject();
|
|
149
|
+
private destroy$ = new Subject<void>();
|
|
150
150
|
|
|
151
151
|
constructor(
|
|
152
152
|
@Inject(DataSourceService) private dataSource:
|
|
@@ -317,4 +317,4 @@ export class <%= classify(name) %>Component implements <% if (dataSource === "se
|
|
|
317
317
|
public onRepeatOutput(selectedItems: IServer[]) {
|
|
318
318
|
this.filteringState = this.listService.selectItems(selectedItems, RepeatSelectionMode.<%= selectionMode %>, this.filteringState);
|
|
319
319
|
}<% } %>
|
|
320
|
-
}
|
|
320
|
+
}
|
|
@@ -24,7 +24,6 @@ const schematics_1 = require("@angular-devkit/schematics");
|
|
|
24
24
|
const ast_utils_1 = require("@schematics/angular/utility/ast-utils");
|
|
25
25
|
const change_1 = require("@schematics/angular/utility/change");
|
|
26
26
|
const find_module_1 = require("@schematics/angular/utility/find-module");
|
|
27
|
-
const lint_fix_1 = require("@schematics/angular/utility/lint-fix");
|
|
28
27
|
const parse_name_1 = require("@schematics/angular/utility/parse-name");
|
|
29
28
|
const validation_1 = require("@schematics/angular/utility/validation");
|
|
30
29
|
const project_1 = require("../utility/project");
|
|
@@ -35,12 +34,12 @@ function addDeclarationToNgModule(options) {
|
|
|
35
34
|
return host;
|
|
36
35
|
}
|
|
37
36
|
const modulePath = options.module;
|
|
38
|
-
let moduleSource = schematics_helper_1.readIntoSourceFile(host, modulePath);
|
|
39
|
-
const componentPath = `/${options.path}/`
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
const relativePath = find_module_1.buildRelativePath(modulePath, componentPath);
|
|
37
|
+
let moduleSource = (0, schematics_helper_1.readIntoSourceFile)(host, modulePath);
|
|
38
|
+
const componentPath = `/${options.path}/` +
|
|
39
|
+
(options.flat ? "" : core_1.strings.dasherize(options.name) + "/") +
|
|
40
|
+
core_1.strings.dasherize(options.name) +
|
|
41
|
+
".component";
|
|
42
|
+
const relativePath = (0, find_module_1.buildRelativePath)(modulePath, componentPath);
|
|
44
43
|
const componentName = core_1.strings.classify(`${options.name}Component`);
|
|
45
44
|
// default modules to be imported
|
|
46
45
|
const modules = [
|
|
@@ -58,16 +57,19 @@ function addDeclarationToNgModule(options) {
|
|
|
58
57
|
// additional module(s) used only for virtual scroll
|
|
59
58
|
if (options.dataSource === "serverSide") {
|
|
60
59
|
if (options.dataSource === "serverSide") {
|
|
61
|
-
modules.push({
|
|
60
|
+
modules.push({
|
|
61
|
+
item: "HttpClientModule",
|
|
62
|
+
path: "@angular/common/http",
|
|
63
|
+
});
|
|
62
64
|
}
|
|
63
65
|
modules.push({ item: "NuiBusyModule", path: "@nova-ui/bits" }, { item: "NuiSpinnerModule", path: "@nova-ui/bits" });
|
|
64
66
|
}
|
|
65
|
-
schematics_helper_1.updateModuleChanges(host, options, moduleSource, modules, [], [{ item: componentName, path: relativePath }]);
|
|
67
|
+
(0, schematics_helper_1.updateModuleChanges)(host, options, moduleSource, modules, [], [{ item: componentName, path: relativePath }]);
|
|
66
68
|
if (options.export) {
|
|
67
69
|
// Need to refresh the AST because we overwrote the file in the host.
|
|
68
|
-
moduleSource = schematics_helper_1.readIntoSourceFile(host, modulePath);
|
|
70
|
+
moduleSource = (0, schematics_helper_1.readIntoSourceFile)(host, modulePath);
|
|
69
71
|
const exportRecorder = host.beginUpdate(modulePath);
|
|
70
|
-
const exportChanges = ast_utils_1.addExportToModule(moduleSource, modulePath, core_1.strings.classify(`${options.name}Component`), relativePath);
|
|
72
|
+
const exportChanges = (0, ast_utils_1.addExportToModule)(moduleSource, modulePath, core_1.strings.classify(`${options.name}Component`), relativePath);
|
|
71
73
|
for (const change of exportChanges) {
|
|
72
74
|
if (change instanceof change_1.InsertChange) {
|
|
73
75
|
exportRecorder.insertLeft(change.pos, change.toAdd);
|
|
@@ -83,42 +85,43 @@ function default_1(options) {
|
|
|
83
85
|
if (!options.project) {
|
|
84
86
|
throw new schematics_1.SchematicsException("Option (project) is required.");
|
|
85
87
|
}
|
|
86
|
-
const project = project_1.getProject(host, options.project);
|
|
88
|
+
const project = (0, project_1.getProject)(host, options.project);
|
|
87
89
|
if (options.path === undefined) {
|
|
88
|
-
options.path = project_1.buildDefaultPath(project);
|
|
90
|
+
options.path = (0, project_1.buildDefaultPath)(project);
|
|
89
91
|
}
|
|
90
|
-
options.module = find_module_1.findModuleFromOptions(host, options);
|
|
91
|
-
const parsedPath = parse_name_1.parseName(options.path, options.name);
|
|
92
|
+
options.module = (0, find_module_1.findModuleFromOptions)(host, options);
|
|
93
|
+
const parsedPath = (0, parse_name_1.parseName)(options.path, options.name);
|
|
92
94
|
options.name = parsedPath.name;
|
|
93
95
|
options.path = parsedPath.path;
|
|
94
|
-
options.selector =
|
|
96
|
+
options.selector =
|
|
97
|
+
options.selector || (0, schematics_helper_1.buildSelector)(options, project.prefix);
|
|
95
98
|
options.dataSourceName = options.dataSourceName || options.name;
|
|
96
|
-
validation_1.
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
99
|
+
(0, validation_1.validateHtmlSelector)(options.selector);
|
|
100
|
+
const templateSource = (0, schematics_1.apply)((0, schematics_1.url)("./files"), [
|
|
101
|
+
(0, schematics_1.template)(Object.assign(Object.assign(Object.assign({}, core_1.strings), { "if-flat": (s) => (options.flat ? "" : s) }), options)),
|
|
102
|
+
(0, schematics_1.filter)((path) => {
|
|
103
|
+
if (options.dataSource === "custom" &&
|
|
104
|
+
(path.endsWith("data-source.service.ts") ||
|
|
105
|
+
path.endsWith("types.ts"))) {
|
|
102
106
|
return false;
|
|
103
107
|
}
|
|
104
|
-
if (options.dataSource === "none" &&
|
|
108
|
+
if (options.dataSource === "none" &&
|
|
109
|
+
path.endsWith("data-source.service.ts")) {
|
|
105
110
|
return false;
|
|
106
111
|
}
|
|
107
|
-
return (options.dataSourceName === options.name
|
|
108
|
-
|
|
109
|
-
(
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
&& !path.endsWith("data.ts"));
|
|
112
|
+
return (options.dataSourceName === options.name ||
|
|
113
|
+
(options.dataSourceName !== options.name &&
|
|
114
|
+
!path.endsWith("data-source.service.ts") &&
|
|
115
|
+
!path.endsWith("types.ts") &&
|
|
116
|
+
!path.endsWith("data.ts")));
|
|
113
117
|
}),
|
|
114
|
-
schematics_1.move(`${parsedPath.path}/${parsedPath.name}`),
|
|
118
|
+
(0, schematics_1.move)(`${parsedPath.path}/${parsedPath.name}`),
|
|
115
119
|
]);
|
|
116
|
-
return schematics_1.chain([
|
|
117
|
-
schematics_1.branchAndMerge(schematics_1.chain([
|
|
120
|
+
return (0, schematics_1.chain)([
|
|
121
|
+
(0, schematics_1.branchAndMerge)((0, schematics_1.chain)([
|
|
118
122
|
addDeclarationToNgModule(options),
|
|
119
|
-
schematics_1.mergeWith(templateSource),
|
|
123
|
+
(0, schematics_1.mergeWith)(templateSource),
|
|
120
124
|
])),
|
|
121
|
-
options.lintFix ? lint_fix_1.applyLintFix(options.path) : schematics_1.noop(),
|
|
122
125
|
]);
|
|
123
126
|
};
|
|
124
127
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,EAAE;AACF,+EAA+E;AAC/E,4EAA4E;AAC5E,8EAA8E;AAC9E,+EAA+E;AAC/E,8EAA8E;AAC9E,4DAA4D;AAC5D,EAAE;AACF,6EAA6E;AAC7E,uDAAuD;AACvD,EAAE;AACF,6EAA6E;AAC7E,4EAA4E;AAC5E,+EAA+E;AAC/E,0EAA0E;AAC1E,iFAAiF;AACjF,6EAA6E;AAC7E,iBAAiB;;AAEjB,+CAA+C;AAC/C,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/list/index.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,EAAE;AACF,+EAA+E;AAC/E,4EAA4E;AAC5E,8EAA8E;AAC9E,+EAA+E;AAC/E,8EAA8E;AAC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
* Specifies if declaring module exports the component.
|
|
4
|
+
*/
|
|
5
|
+
export?: boolean;
|
|
6
|
+
/**
|
|
7
|
+
* Flag to indicate if a directory is created.
|
|
8
|
+
*/
|
|
9
|
+
flat?: boolean;
|
|
10
|
+
/**
|
|
11
|
+
* Specifies whether to apply lint fixes after generating the component.
|
|
12
|
+
*/
|
|
13
|
+
lintFix?: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* Allows specification of the declaring module.
|
|
16
|
+
*/
|
|
17
|
+
module?: string;
|
|
18
|
+
/**
|
|
19
|
+
* The name of the component.
|
|
20
|
+
*/
|
|
21
|
+
name: string;
|
|
22
|
+
/**
|
|
23
|
+
* The path to create the component.
|
|
24
|
+
*/
|
|
25
|
+
path?: string;
|
|
26
|
+
/**
|
|
27
|
+
* The prefix to apply to generated selectors.
|
|
28
|
+
*/
|
|
29
|
+
prefix?: string;
|
|
30
|
+
/**
|
|
31
|
+
* The name of the project.
|
|
32
|
+
*/
|
|
33
|
+
project?: string;
|
|
34
|
+
/**
|
|
35
|
+
* The selector to use for the component.
|
|
36
|
+
*/
|
|
37
|
+
selector?: string;
|
|
38
|
+
/**
|
|
39
|
+
* Specifies the selection mode to be used for the list
|
|
40
|
+
*/
|
|
41
|
+
selectionMode: string;
|
|
42
|
+
/**
|
|
43
|
+
* Specifies the presentation mode to be used for the list
|
|
44
|
+
* (pagination | virtualScroll | none)
|
|
45
|
+
*/
|
|
46
|
+
pagingMode: string;
|
|
47
|
+
/**
|
|
48
|
+
* Specifies if search feature is enabled (default true)
|
|
49
|
+
*/
|
|
50
|
+
enableSearch?: boolean;
|
|
51
|
+
/**
|
|
52
|
+
* Specifies if sorting feature is enabled (default true)
|
|
53
|
+
*/
|
|
54
|
+
enableSort?: boolean;
|
|
55
|
+
/**
|
|
56
|
+
* Flag to skip the module import.
|
|
57
|
+
*/
|
|
58
|
+
skipImport?: boolean;
|
|
59
|
+
/**
|
|
60
|
+
* Specifies if a spec file is generated.
|
|
61
|
+
*/
|
|
62
|
+
spec?: boolean;
|
|
63
|
+
/**
|
|
64
|
+
* Whether to generate client-side, server-side or custom DataSource
|
|
65
|
+
*/
|
|
66
|
+
dataSource?: string;
|
|
67
|
+
/**
|
|
68
|
+
* Specifies the data source class
|
|
69
|
+
* (when not provided the name parameter is used to generate the class name)
|
|
70
|
+
*/
|
|
71
|
+
dataSourceName?: string;
|
|
72
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
3
|
+
//
|
|
4
|
+
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
5
|
+
// of this software and associated documentation files (the "Software"), to
|
|
6
|
+
// deal in the Software without restriction, including without limitation the
|
|
7
|
+
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
8
|
+
// sell copies of the Software, and to permit persons to whom the Software is
|
|
9
|
+
// furnished to do so, subject to the following conditions:
|
|
10
|
+
//
|
|
11
|
+
// The above copyright notice and this permission notice shall be included in
|
|
12
|
+
// all copies or substantial portions of the Software.
|
|
13
|
+
//
|
|
14
|
+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
15
|
+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
16
|
+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
17
|
+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
18
|
+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
19
|
+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
20
|
+
// THE SOFTWARE.
|
|
21
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
|
+
//# sourceMappingURL=schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../../src/list/schema.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,EAAE;AACF,+EAA+E;AAC/E,4EAA4E;AAC5E,8EAA8E;AAC9E,+EAA+E;AAC/E,8EAA8E;AAC9E,4DAA4D;AAC5D,EAAE;AACF,6EAA6E;AAC7E,uDAAuD;AACvD,EAAE;AACF,6EAA6E;AAC7E,4EAA4E;AAC5E,+EAA+E;AAC/E,0EAA0E;AAC1E,iFAAiF;AACjF,6EAA6E;AAC7E,iBAAiB"}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
+
"$id": "SchematicsNovaListComponent",
|
|
2
3
|
"$schema": "http://json-schema.org/schema",
|
|
3
|
-
"id": "SchematicsNovaListComponent",
|
|
4
|
-
"title": "Nova list Schema",
|
|
5
|
-
"type": "object",
|
|
6
4
|
"description": "Adds a list",
|
|
7
5
|
"properties": {
|
|
8
6
|
"path": {
|
|
@@ -56,7 +54,7 @@
|
|
|
56
54
|
"format": "html-selector",
|
|
57
55
|
"description": "The HTML selector to use for this component"
|
|
58
56
|
},
|
|
59
|
-
"module":
|
|
57
|
+
"module": {
|
|
60
58
|
"type": "string",
|
|
61
59
|
"description": "The declaring NgModule",
|
|
62
60
|
"alias": "m"
|
|
@@ -75,7 +73,14 @@
|
|
|
75
73
|
"description": "Selection mode to be used for the list",
|
|
76
74
|
"type": "string",
|
|
77
75
|
"default": "none",
|
|
78
|
-
"enum": [
|
|
76
|
+
"enum": [
|
|
77
|
+
"none",
|
|
78
|
+
"multi",
|
|
79
|
+
"single",
|
|
80
|
+
"singleWithRequiredSelection",
|
|
81
|
+
"radio",
|
|
82
|
+
"radioWithNonRequiredSelection"
|
|
83
|
+
],
|
|
79
84
|
"x-prompt": {
|
|
80
85
|
"message": "What selection mode would you like the list to use?",
|
|
81
86
|
"type": "list",
|
|
@@ -83,9 +88,18 @@
|
|
|
83
88
|
{ "value": "none", "label": "None (Selection Disabled)" },
|
|
84
89
|
{ "value": "multi", "label": "Multi-Select (Checkboxes)" },
|
|
85
90
|
{ "value": "radio", "label": "Radio Buttons" },
|
|
86
|
-
{
|
|
87
|
-
|
|
88
|
-
|
|
91
|
+
{
|
|
92
|
+
"value": "radioWithNonRequiredSelection",
|
|
93
|
+
"label": "Radio Buttons with Deselection Allowed"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"value": "singleWithRequiredSelection",
|
|
97
|
+
"label": "Single-Select with No Radio Buttons"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"value": "single",
|
|
101
|
+
"label": "Single-Select with No Radio Buttons and Deselection Allowed"
|
|
102
|
+
}
|
|
89
103
|
]
|
|
90
104
|
}
|
|
91
105
|
},
|
|
@@ -122,10 +136,22 @@
|
|
|
122
136
|
"message": "What is the source of your data?",
|
|
123
137
|
"type": "list",
|
|
124
138
|
"items": [
|
|
125
|
-
{
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
139
|
+
{
|
|
140
|
+
"value": "clientSide",
|
|
141
|
+
"label": "The generated data source will retrieve data locally from a client side source."
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"value": "serverSide",
|
|
145
|
+
"label": "The generated data source will retrieve data remotely from a server side API."
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"value": "custom",
|
|
149
|
+
"label": "No data source will be generated, allowing you to create one from scratch."
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"value": "none",
|
|
153
|
+
"label": "No data source will be generated and no accommodations for a data source, e.g. sorting or search, will be added to the generated code."
|
|
154
|
+
}
|
|
129
155
|
]
|
|
130
156
|
}
|
|
131
157
|
},
|
|
@@ -134,5 +160,7 @@
|
|
|
134
160
|
"description": "Specifies the datasource class name"
|
|
135
161
|
}
|
|
136
162
|
},
|
|
137
|
-
"required": ["name", "selectionMode", "pagingMode"]
|
|
163
|
+
"required": ["name", "selectionMode", "pagingMode"],
|
|
164
|
+
"title": "Nova list Schema",
|
|
165
|
+
"type": "object"
|
|
138
166
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "
|
|
2
|
+
"$schema": "../../node_modules/@angular-devkit/schematics/collection-schema.json",
|
|
3
3
|
"schematics": {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
"nova-migration-v13": {
|
|
5
|
+
"version": "13",
|
|
6
|
+
"description": "Updates the nova-bits from v12 to v13",
|
|
7
|
+
"factory": "./ng-update/index"
|
|
8
|
+
}
|
|
9
9
|
}
|
|
10
|
-
|
|
10
|
+
}
|