@nova-ui/bits 13.0.1 → 13.0.2-3950
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +37 -62
- package/common/directives/zoom-content/zoom-content.directive.d.ts +1 -1
- package/constants/event.constants.d.ts +6 -1
- package/constants/path.constants.d.ts +2 -0
- package/constants/{index.d.ts → public-api.d.ts} +5 -1
- package/esm2020/common/directives/click-interceptor/click-interceptor.directive.mjs +2 -4
- package/esm2020/common/directives/dragdrop/drag-and-drop.service.mjs +1 -1
- package/esm2020/common/directives/dragdrop/draggable.directive.mjs +1 -1
- package/esm2020/common/directives/dragdrop/droppable.directive.mjs +1 -1
- package/esm2020/common/directives/resize-observer/resize-observer.directive.mjs +2 -2
- package/esm2020/common/directives/resizer/resizer.directive.mjs +5 -6
- package/esm2020/common/directives/set-focus/set-focus.directive.mjs +1 -1
- package/esm2020/common/directives/zoom-content/zoom-content.directive.mjs +1 -1
- package/esm2020/constants/event.constants.mjs +16 -2
- package/esm2020/constants/path.constants.mjs +24 -0
- package/esm2020/constants/public-api.mjs +32 -0
- package/esm2020/environment.mjs +1 -1
- package/esm2020/functions/remove-errors.mjs +1 -1
- package/esm2020/functions/traverse.mjs +1 -1
- package/esm2020/functions/uuid.mjs +1 -1
- package/esm2020/lib/breadcrumb/breadcrumb.component.mjs +1 -1
- package/esm2020/lib/busy/busy.component.mjs +1 -2
- package/esm2020/lib/button/button.component.mjs +2 -9
- package/esm2020/lib/checkbox/checkbox-group.component.mjs +1 -1
- package/esm2020/lib/checkbox/checkbox.component.mjs +8 -9
- package/esm2020/lib/chips/chip/chip.component.mjs +1 -1
- package/esm2020/lib/chips/chips-overflow/chips-overflow.component.mjs +1 -1
- package/esm2020/lib/chips/chips.component.mjs +1 -1
- package/esm2020/lib/convenience/time-frame-bar/time-frame-bar.component.mjs +3 -3
- package/esm2020/lib/date-picker/date-picker-day-picker.component.mjs +1 -1
- package/esm2020/lib/date-picker/date-picker-inner.component.mjs +1 -1
- package/esm2020/lib/date-picker/date-picker-month-picker.component.mjs +1 -1
- package/esm2020/lib/date-picker/date-picker-year-picker.component.mjs +1 -1
- package/esm2020/lib/date-picker/date-picker.component.mjs +1 -1
- package/esm2020/lib/date-time-picker/date-time-picker.component.mjs +1 -1
- package/esm2020/lib/dialog/confirmation-dialog.component.mjs +1 -1
- package/esm2020/lib/dialog/dialog-header.component.mjs +1 -1
- package/esm2020/lib/dialog/dialog.component.mjs +1 -1
- package/esm2020/lib/divider/divider.component.mjs +1 -1
- package/esm2020/lib/dnd/dnd-drop-target.directive.mjs +7 -10
- package/esm2020/lib/docs/copy-text/copy-text.component.mjs +1 -1
- package/esm2020/lib/docs/example-code/example-code.component.mjs +2 -2
- package/esm2020/lib/docs/example-wrapper/example-wrapper.component.mjs +10 -5
- package/esm2020/lib/docs/services/sources.service.mjs +15 -17
- package/esm2020/lib/docs/srlc-indicator/srlc-indicator.component.mjs +1 -1
- package/esm2020/lib/dragdrop/dragdrop.module.mjs +43 -0
- package/esm2020/lib/dragdrop/draggable.component.mjs +63 -0
- package/esm2020/lib/dragdrop/droppable.component.mjs +59 -0
- package/esm2020/lib/dragdrop/public-api.mjs +3 -0
- package/esm2020/lib/expander/expander.component.mjs +2 -2
- package/esm2020/lib/form-field/form-field.component.mjs +1 -1
- package/esm2020/lib/icon/icon.component.mjs +2 -2
- package/esm2020/lib/icon/icon.service.mjs +1 -1
- package/esm2020/lib/icon/icons.mjs +1 -1
- package/esm2020/lib/image/image.component.mjs +1 -1
- package/esm2020/lib/layout/card/card.component.mjs +1 -1
- package/esm2020/lib/layout/card-group/card-group.component.mjs +1 -1
- package/esm2020/lib/layout/layout-resizer/layout-resizer.component.mjs +1 -1
- package/esm2020/lib/layout/sheet/sheet.component.mjs +1 -1
- package/esm2020/lib/layout/sheet-group/sheet-group.component.mjs +1 -1
- package/esm2020/lib/menu/menu/menu.component.mjs +2 -2
- package/esm2020/lib/menu/menu-item/menu-action/menu-action.component.mjs +1 -1
- package/esm2020/lib/menu/menu-item/menu-group/menu-group.component.mjs +1 -1
- package/esm2020/lib/menu/menu-item/menu-item/menu-item-base.mjs +1 -2
- package/esm2020/lib/menu/menu-item/menu-option/menu-option.component.mjs +1 -1
- package/esm2020/lib/menu/menu-item/menu-switch/menu-switch.component.mjs +1 -1
- package/esm2020/lib/menu/menu-key-control.service.mjs +2 -2
- package/esm2020/lib/menu/menu-popup/menu-popup.component.mjs +1 -1
- package/esm2020/lib/message/message.component.mjs +3 -4
- package/esm2020/lib/overlay/overlay-component/overlay.component.mjs +3 -4
- package/esm2020/lib/overlay/overlay-custom-container.mjs +1 -1
- package/esm2020/lib/overlay/overlay-item/overlay-item.component.mjs +1 -1
- package/esm2020/lib/overlay/overlay-position.service.mjs +1 -1
- package/esm2020/lib/overlay/overlay.service.mjs +1 -1
- package/esm2020/lib/paginator/paginator.component.mjs +1 -1
- package/esm2020/lib/panel/panel.component.mjs +5 -12
- package/esm2020/lib/popover/popover-modal.component.mjs +1 -1
- package/esm2020/lib/popover/popover-position.service.mjs +1 -1
- package/esm2020/lib/popover/popover.component.mjs +9 -13
- package/esm2020/lib/popup/popup-container.component.mjs +1 -2
- package/esm2020/lib/popup/popup.component.mjs +5 -5
- package/esm2020/lib/popup-adapter/popup-adapter.component.mjs +3 -3
- package/esm2020/lib/progress/progress.component.mjs +1 -1
- package/esm2020/lib/public-api.mjs +2 -1
- package/esm2020/lib/radio/radio-group.component.mjs +2 -4
- package/esm2020/lib/search/search.component.mjs +1 -1
- package/esm2020/lib/select/base-select.mjs +1 -2
- package/esm2020/lib/select/combobox/combobox.component.mjs +2 -3
- package/esm2020/lib/select/select.component.mjs +1 -1
- package/esm2020/lib/select-v2/base-select-v2.mjs +3 -3
- package/esm2020/lib/select-v2/combobox-v2/combobox-v2.component.mjs +1 -1
- package/esm2020/lib/select-v2/combobox-v2-option-highlight/combobox-v2-option-highlight.directive.mjs +1 -1
- package/esm2020/lib/select-v2/mark-as-selected-item.directive.mjs +1 -1
- package/esm2020/lib/select-v2/option-group/select-v2-option-group.component.mjs +1 -1
- package/esm2020/lib/select-v2/option-key-control.service.mjs +2 -2
- package/esm2020/lib/select-v2/select/select-v2.component.mjs +1 -1
- package/esm2020/lib/sorter/sorter-keyboard.service.mjs +2 -2
- package/esm2020/lib/sorter/sorter.component.mjs +1 -1
- package/esm2020/lib/spinner/spinner.component.mjs +1 -1
- package/esm2020/lib/switch/switch.component.mjs +2 -2
- package/esm2020/lib/tabgroup/tab-group/tab-group.component.mjs +1 -1
- package/esm2020/lib/tabgroup/tab-heading/tab-heading.component.mjs +1 -1
- package/esm2020/lib/tabgroup/tab-heading-group/tab-heading-group.component.mjs +1 -1
- package/esm2020/lib/table/table-cell/table-cell.directive.mjs +4 -5
- package/esm2020/lib/table/table-cell/table-column-def.directive.mjs +1 -2
- package/esm2020/lib/table/table-cell/table-header-cell.component.mjs +3 -4
- package/esm2020/lib/table/table-resizer/table-resizer.directive.mjs +1 -1
- package/esm2020/lib/table/table-row/table-row.component.mjs +1 -1
- package/esm2020/lib/table/table-state-handler.service.mjs +1 -1
- package/esm2020/lib/table/table-virtual-scroll/table-sticky-header.directive.mjs +4 -2
- package/esm2020/lib/table/table-virtual-scroll/table-virtual-scroll-strategy.mjs +1 -1
- package/esm2020/lib/table/table-virtual-scroll/table-virtual-scroll.directive.mjs +6 -3
- package/esm2020/lib/table/table.component.mjs +1 -1
- package/esm2020/lib/textbox/textbox-number/textbox-number.component.mjs +2 -2
- package/esm2020/lib/textbox/textbox.component.mjs +1 -1
- package/esm2020/lib/time-frame-picker/quick-picker/quick-picker.component.mjs +1 -1
- package/esm2020/lib/time-frame-picker/services/timeframe.service.mjs +1 -1
- package/esm2020/lib/time-frame-picker/time-frame-picker.component.mjs +1 -1
- package/esm2020/lib/time-picker/time-picker-keyboard.service.mjs +2 -2
- package/esm2020/lib/time-picker/time-picker.component.mjs +1 -1
- package/esm2020/lib/toast/toast-package.mjs +1 -1
- package/esm2020/lib/toast/toast-ref.mjs +1 -1
- package/esm2020/lib/toast/toast.component.mjs +1 -1
- package/esm2020/lib/toast/toast.directive.mjs +1 -1
- package/esm2020/lib/toast/toast.service.mjs +6 -10
- package/esm2020/lib/toolbar/toolbar-item.component.mjs +1 -1
- package/esm2020/lib/toolbar/toolbar-keyboard.service.mjs +2 -2
- package/esm2020/lib/tooltip/tooltip.component.mjs +1 -1
- package/esm2020/lib/tooltip/tooltip.directive.mjs +1 -1
- package/esm2020/lib/wizard/wizard-step.component.mjs +1 -1
- package/esm2020/lib/wizard/wizard.component.mjs +1 -1
- package/esm2020/lib/wizard-v2/wizard-footer/wizard-footer.component.mjs +1 -1
- package/esm2020/lib/wizard-v2/wizard-horizontal/wizard-horizontal.component.mjs +1 -1
- package/esm2020/lib/wizard-v2/wizard-step/wizard-step.component.mjs +1 -1
- package/esm2020/lib/wizard-v2/wizard-step-header/wizard-step-header.component.mjs +1 -1
- package/esm2020/nui-api.mjs +3 -2
- package/esm2020/public_api.mjs +4 -2
- package/esm2020/services/data-filter.service.mjs +1 -1
- package/esm2020/services/data-source/client-side-data-source.service.mjs +1 -1
- package/esm2020/services/data-source/data-source-features.mjs +1 -1
- package/esm2020/services/data-source/data-source.service.mjs +2 -1
- package/esm2020/services/data-source/local-filtering-data-source.service.mjs +1 -1
- package/esm2020/services/data-source/server-side-source.service.mjs +1 -1
- package/esm2020/services/dom-util.service.mjs +1 -1
- package/esm2020/services/event-bus.mjs +1 -1
- package/esm2020/services/event-bus.service.mjs +2 -2
- package/esm2020/services/history-storage.mjs +1 -1
- package/esm2020/services/log-service.mjs +1 -1
- package/esm2020/services/position.service.mjs +1 -5
- package/esm2020/services/public-api.mjs +1 -1
- package/esm2020/services/search.service.mjs +1 -1
- package/esm2020/services/tab-navigation.service.mjs +1 -1
- package/esm2020/services/theme-switch.service.mjs +1 -1
- package/esm2020/services/unit-conversion.service.mjs +2 -2
- package/esm2020/services/util.service.mjs +5 -4
- package/fesm2015/nova-ui-bits.mjs +453 -377
- package/fesm2015/nova-ui-bits.mjs.map +1 -1
- package/fesm2020/nova-ui-bits.mjs +449 -378
- package/fesm2020/nova-ui-bits.mjs.map +1 -1
- package/lib/breadcrumb/breadcrumb.component.d.ts +1 -1
- package/lib/button/button.component.d.ts +2 -7
- package/lib/checkbox/checkbox.component.d.ts +1 -1
- package/lib/chips/chips.component.d.ts +1 -1
- package/lib/convenience/time-frame-bar/time-frame-bar.component.d.ts +1 -1
- package/lib/dnd/dnd-drop-target.directive.d.ts +1 -1
- package/lib/docs/example-wrapper/example-wrapper.component.d.ts +1 -6
- package/lib/docs/services/sources.service.d.ts +1 -1
- package/lib/docs/srlc-indicator/srlc-indicator.component.d.ts +1 -1
- package/lib/dragdrop/dragdrop.module.d.ts +13 -0
- package/lib/dragdrop/draggable.component.d.ts +21 -0
- package/lib/dragdrop/droppable.component.d.ts +16 -0
- package/lib/dragdrop/public-api.d.ts +2 -0
- package/lib/icon/icon.component.d.ts +1 -1
- package/lib/icon/icons.d.ts +1 -2
- 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-key-control.service.d.ts +3 -3
- package/lib/message/message.component.d.ts +1 -1
- package/lib/overlay/overlay-component/overlay.component.d.ts +4 -4
- package/lib/popup-adapter/popup-adapter.component.d.ts +1 -1
- package/lib/public-api.d.ts +1 -0
- package/lib/radio/radio-group.component.d.ts +1 -1
- package/lib/select/base-select.d.ts +1 -1
- package/lib/select-v2/combobox-v2-option-highlight/combobox-v2-option-highlight.directive.d.ts +1 -1
- package/lib/table/table-state-handler.service.d.ts +5 -4
- 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 -1
- package/lib/table/table.component.d.ts +1 -1
- package/lib/time-picker/time-picker.component.d.ts +1 -1
- package/lib/toast/toast-package.d.ts +1 -1
- package/lib/toast/toast-ref.d.ts +3 -3
- package/lib/tooltip/tooltip.component.d.ts +1 -1
- package/lib/wizard/wizard.component.d.ts +1 -1
- package/lib/wizard-v2/wizard-step/wizard-step.component.d.ts +1 -1
- package/nui-api.d.ts +2 -1
- package/package.json +1 -1
- package/public_api.d.ts +3 -1
- package/sdk/atoms/atom.d.ts +10 -6
- package/sdk/atoms/atom.js +58 -58
- package/sdk/atoms/atom.js.map +1 -1
- package/sdk/atoms/components/busy/busy.atom.js.map +1 -1
- package/sdk/atoms/components/button/button.atom.d.ts +1 -1
- package/sdk/atoms/components/button/button.atom.js +1 -5
- package/sdk/atoms/components/button/button.atom.js.map +1 -1
- package/sdk/atoms/components/checkbox-group/checkbox-group.atom.js +1 -2
- package/sdk/atoms/components/checkbox-group/checkbox-group.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.d.ts +1 -1
- package/sdk/atoms/components/combobox-v2/combobox-v2.atom.js +6 -11
- package/sdk/atoms/components/combobox-v2/combobox-v2.atom.js.map +1 -1
- package/sdk/atoms/components/content/content.atom.js +3 -8
- package/sdk/atoms/components/content/content.atom.js.map +1 -1
- package/sdk/atoms/components/convenience/time-frame-bar/time-frame-bar.atom.d.ts +6 -8
- package/sdk/atoms/components/convenience/time-frame-bar/time-frame-bar.atom.js +11 -12
- package/sdk/atoms/components/convenience/time-frame-bar/time-frame-bar.atom.js.map +1 -1
- package/sdk/atoms/components/drag-and-drop/cdk-drop-list.atom.js +1 -2
- package/sdk/atoms/components/drag-and-drop/cdk-drop-list.atom.js.map +1 -1
- package/sdk/atoms/components/menu/menu.atom.d.ts +1 -1
- package/sdk/atoms/components/menu/menu.atom.js +15 -11
- package/sdk/atoms/components/menu/menu.atom.js.map +1 -1
- package/sdk/atoms/components/menu-popup/menu-popup.atom.js +7 -3
- 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/panel/panel.atom.js +1 -1
- package/sdk/atoms/components/panel/panel.atom.js.map +1 -1
- package/sdk/atoms/components/popup/popup.atom.d.ts +4 -4
- package/sdk/atoms/components/popup/popup.atom.js +14 -4
- package/sdk/atoms/components/popup/popup.atom.js.map +1 -1
- package/sdk/atoms/components/repeat/repeat.atom.js.map +1 -1
- package/sdk/atoms/components/search/search.atom.d.ts +3 -3
- package/sdk/atoms/components/search/search.atom.js +17 -12
- package/sdk/atoms/components/search/search.atom.js.map +1 -1
- package/sdk/atoms/components/select/basic-select.atom.js +3 -2
- package/sdk/atoms/components/select/basic-select.atom.js.map +1 -1
- package/sdk/atoms/components/select-v2/base-select-v2.atom.d.ts +2 -1
- package/sdk/atoms/components/select-v2/base-select-v2.atom.js.map +1 -1
- package/sdk/atoms/components/selector/selector.atom.js +7 -6
- package/sdk/atoms/components/selector/selector.atom.js.map +1 -1
- package/sdk/atoms/components/sorter/sorter.atom.d.ts +10 -9
- package/sdk/atoms/components/sorter/sorter.atom.js +46 -14
- package/sdk/atoms/components/sorter/sorter.atom.js.map +1 -1
- package/sdk/atoms/components/tab-heading-group/tab-heading-group.atom.d.ts +2 -2
- package/sdk/atoms/components/tab-heading-group/tab-heading-group.atom.js +24 -22
- package/sdk/atoms/components/tab-heading-group/tab-heading-group.atom.js.map +1 -1
- package/sdk/atoms/components/tab-heading-group/tab-heading.atom.d.ts +4 -4
- package/sdk/atoms/components/tab-heading-group/tab-heading.atom.js +17 -6
- package/sdk/atoms/components/tab-heading-group/tab-heading.atom.js.map +1 -1
- package/sdk/atoms/components/timepicker/timepicker.atom.js +3 -2
- package/sdk/atoms/components/timepicker/timepicker.atom.js.map +1 -1
- package/sdk/atoms/components/wizard/wizard.atom.d.ts +2 -1
- package/sdk/atoms/directives/resizer/resizer.atom.js.map +1 -1
- package/sdk/atoms/helpers.d.ts +3 -1
- package/sdk/atoms/helpers.js +14 -4
- package/sdk/atoms/helpers.js.map +1 -1
- package/sdk/atoms/virtual-camera/camera-engine.d.ts +1 -1
- package/sdk/atoms/virtual-camera/eyes-lens.js.map +1 -1
- package/sdk/locale/messages.en.xlf +1 -1
- package/sdk/schematics/filter-group/files/__name@dasherize__/__name@dasherize__.component.ts +2 -2
- package/sdk/schematics/filter-group/files/__name@dasherize__/filter-groups-wrapper/filter-groups-wrapper.component.ts +1 -1
- package/sdk/schematics/filter-group/files/__name@dasherize__/item-picker/item-picker.component.ts +5 -5
- package/sdk/schematics/filter-group/index.spec.js +3 -34
- package/sdk/schematics/filter-group/index.spec.js.map +1 -1
- package/sdk/schematics/filtered-view/files/__name@dasherize__/__name@dasherize__.component.ts +2 -2
- package/sdk/schematics/filtered-view/index.spec.js +3 -34
- package/sdk/schematics/filtered-view/index.spec.js.map +1 -1
- package/sdk/schematics/index.d.ts +1 -1
- package/sdk/schematics/index.js +2 -15
- package/sdk/schematics/index.js.map +1 -1
- package/sdk/schematics/layout/files/__name@dasherize@if-flat__/__name@dasherize__.component.ts +1 -1
- package/sdk/schematics/layout/index.spec.js +3 -11
- package/sdk/schematics/layout/index.spec.js.map +1 -1
- package/sdk/schematics/list/files/__name@dasherize__.component.ts +4 -4
- package/sdk/schematics/ng-add/index.spec.js +13 -19
- package/sdk/schematics/ng-add/index.spec.js.map +1 -1
- package/sdk/schematics/ng-update/index.spec.js +5 -13
- package/sdk/schematics/ng-update/index.spec.js.map +1 -1
- package/sdk/schematics/table/files/__name@dasherize__.component.ts +4 -4
- package/sdk/schematics/utility/{public-api.d.ts → index.d.ts} +0 -0
- package/sdk/schematics/utility/{public-api.js → index.js} +7 -20
- package/sdk/schematics/utility/index.js.map +1 -0
- package/sdk/schematics/utility/schematics-helper.js +2 -4
- package/sdk/schematics/utility/schematics-helper.js.map +1 -1
- package/sdk/schematics/utility/schematics-helper.spec.js +3 -14
- package/sdk/schematics/utility/schematics-helper.spec.js.map +1 -1
- package/services/data-source/client-side-data-source.service.d.ts +4 -4
- package/services/data-source/data-source-features.d.ts +2 -2
- package/services/data-source/local-filtering-data-source.service.d.ts +5 -5
- package/services/event-bus.d.ts +2 -2
- package/services/log-service.d.ts +5 -5
- package/services/position.service.d.ts +0 -4
- package/services/public-api.d.ts +1 -0
- package/services/search.service.d.ts +2 -2
- package/services/unit-conversion.service.d.ts +1 -1
- package/services/util.service.d.ts +19 -17
- package/constants/path.constant.d.ts +0 -2
- package/esm2020/constants/index.mjs +0 -28
- package/esm2020/constants/path.constant.mjs +0 -24
- package/sdk/schematics/utility/public-api.js.map +0 -1
- package/sdk/tslint.json +0 -4
|
@@ -19,7 +19,7 @@ import _get from 'lodash/get';
|
|
|
19
19
|
import _isNil from 'lodash/isNil';
|
|
20
20
|
import _parseInt from 'lodash/parseInt';
|
|
21
21
|
import each from 'lodash/each';
|
|
22
|
-
import { ReplaySubject, Subject, timer, fromEvent, merge, BehaviorSubject, combineLatest, of, EMPTY, asyncScheduler } from 'rxjs';
|
|
22
|
+
import { ReplaySubject, Subject, timer, fromEvent, merge, BehaviorSubject, combineLatest, of, EMPTY, asyncScheduler, filter as filter$2 } from 'rxjs';
|
|
23
23
|
import { takeUntil, map, filter as filter$1, take as take$1, skip, delay, tap, mapTo, distinctUntilChanged, shareReplay, switchMap, startWith, finalize, throttleTime, exhaustMap, debounceTime, pluck, takeWhile } from 'rxjs/operators';
|
|
24
24
|
import _includes from 'lodash/includes';
|
|
25
25
|
import has from 'lodash/has';
|
|
@@ -43,28 +43,28 @@ import * as i3$2 from '@angular/forms';
|
|
|
43
43
|
import { NG_VALUE_ACCESSOR, FormsModule, NG_VALIDATORS, ReactiveFormsModule } from '@angular/forms';
|
|
44
44
|
import _remove from 'lodash/remove';
|
|
45
45
|
import { ENTER, SPACE, ESCAPE, hasModifierKey, UP_ARROW, DOWN_ARROW, BACKSPACE, RIGHT_ARROW, LEFT_ARROW } from '@angular/cdk/keycodes';
|
|
46
|
-
import * as i1
|
|
46
|
+
import * as i1 from '@angular/cdk/drag-drop';
|
|
47
|
+
import { CdkDropList, CdkDrag, DragDropModule, moveItemInArray, transferArrayItem } from '@angular/cdk/drag-drop';
|
|
48
|
+
import * as i1$7 from '@angular/animations';
|
|
47
49
|
import { trigger, state, style, transition, animate, group, query, stagger } from '@angular/animations';
|
|
48
50
|
import _find from 'lodash/find';
|
|
49
|
-
import * as i1$
|
|
51
|
+
import * as i1$2 from '@angular/cdk/overlay';
|
|
50
52
|
import { OverlayContainer, OverlayConfig, Overlay, OverlayModule } from '@angular/cdk/overlay';
|
|
51
53
|
import * as i5 from '@angular/cdk/portal';
|
|
52
54
|
import { CdkPortal, PortalModule } from '@angular/cdk/portal';
|
|
53
55
|
import set from 'lodash/set';
|
|
54
56
|
import _some from 'lodash/some';
|
|
55
|
-
import * as i1 from '@angular/cdk/platform';
|
|
57
|
+
import * as i1$1 from '@angular/cdk/platform';
|
|
56
58
|
import isNull from 'lodash/isNull';
|
|
57
|
-
import * as i1$
|
|
59
|
+
import * as i1$3 from '@angular/cdk/a11y';
|
|
58
60
|
import { A11yModule, ActiveDescendantKeyManager, ListKeyManager } from '@angular/cdk/a11y';
|
|
59
61
|
import { coerceBooleanProperty } from '@angular/cdk/coercion';
|
|
60
|
-
import * as i1$
|
|
62
|
+
import * as i1$5 from '@angular/cdk/scrolling';
|
|
61
63
|
import { CdkVirtualScrollViewport, VIRTUAL_SCROLL_STRATEGY, CdkVirtualForOf, ScrollingModule, CdkScrollable } from '@angular/cdk/scrolling';
|
|
62
64
|
import last from 'lodash/last';
|
|
63
65
|
import pull from 'lodash/pull';
|
|
64
66
|
import every from 'lodash/every';
|
|
65
|
-
import * as
|
|
66
|
-
import { CdkDrag, moveItemInArray, transferArrayItem, DragDropModule } from '@angular/cdk/drag-drop';
|
|
67
|
-
import * as i1$3 from '@angular/cdk/bidi';
|
|
67
|
+
import * as i1$4 from '@angular/cdk/bidi';
|
|
68
68
|
import { _VIEW_REPEATER_STRATEGY, _DisposeViewRepeaterStrategy, DataSource } from '@angular/cdk/collections';
|
|
69
69
|
import * as i5$1 from '@angular/cdk/table';
|
|
70
70
|
import { CdkTable, _COALESCED_STYLE_SCHEDULER, STICKY_POSITIONING_LISTENER, _CoalescedStyleScheduler, CDK_TABLE_TEMPLATE, CdkCellDef, CdkColumnDef, CdkCell, CdkFooterCellDef, CdkFooterCell, CdkHeaderCellDef, CdkHeaderCell, CdkHeaderRowDef, CdkRowDef, CdkFooterRowDef, CdkHeaderRow, CdkRow, CdkFooterRow, CdkTableModule } from '@angular/cdk/table';
|
|
@@ -76,7 +76,7 @@ import round from 'lodash/round';
|
|
|
76
76
|
import _flatMap from 'lodash/flatMap';
|
|
77
77
|
import _unescape from 'lodash/unescape';
|
|
78
78
|
import _toString from 'lodash/toString';
|
|
79
|
-
import * as i1$
|
|
79
|
+
import * as i1$6 from '@angular/router';
|
|
80
80
|
import { NavigationEnd, RoutesRecognized, RouterModule } from '@angular/router';
|
|
81
81
|
import _size from 'lodash/size';
|
|
82
82
|
import _uniqueId from 'lodash/uniqueId';
|
|
@@ -91,7 +91,7 @@ import extend from 'lodash/extend';
|
|
|
91
91
|
import _cloneDeep from 'lodash/cloneDeep';
|
|
92
92
|
import _toInteger from 'lodash/toInteger';
|
|
93
93
|
import _findIndex from 'lodash/findIndex';
|
|
94
|
-
import hljs from 'highlight.js
|
|
94
|
+
import hljs from 'highlight.js';
|
|
95
95
|
import javascript from 'highlight.js/lib/languages/javascript';
|
|
96
96
|
import json from 'highlight.js/lib/languages/json';
|
|
97
97
|
import less from 'highlight.js/lib/languages/less';
|
|
@@ -881,176 +881,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
881
881
|
}]
|
|
882
882
|
}] });
|
|
883
883
|
|
|
884
|
-
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
885
|
-
//
|
|
886
|
-
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
887
|
-
// of this software and associated documentation files (the "Software"), to
|
|
888
|
-
// deal in the Software without restriction, including without limitation the
|
|
889
|
-
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
890
|
-
// sell copies of the Software, and to permit persons to whom the Software is
|
|
891
|
-
// furnished to do so, subject to the following conditions:
|
|
892
|
-
//
|
|
893
|
-
// The above copyright notice and this permission notice shall be included in
|
|
894
|
-
// all copies or substantial portions of the Software.
|
|
895
|
-
//
|
|
896
|
-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
897
|
-
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
898
|
-
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
899
|
-
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
900
|
-
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
901
|
-
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
902
|
-
// THE SOFTWARE.
|
|
903
|
-
const scrollConstants$1 = {
|
|
904
|
-
verticalScrollPercentage: 30,
|
|
905
|
-
horizontalScrollPercentage: 30,
|
|
906
|
-
checkIntervalInMs: 30,
|
|
907
|
-
accelerationFactor: 0.5,
|
|
908
|
-
dragOverThrottleInMs: 100,
|
|
909
|
-
adornerUpdateThrottleInMs: 16,
|
|
910
|
-
};
|
|
911
|
-
|
|
912
|
-
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
913
|
-
//
|
|
914
|
-
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
915
|
-
// of this software and associated documentation files (the "Software"), to
|
|
916
|
-
// deal in the Software without restriction, including without limitation the
|
|
917
|
-
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
918
|
-
// sell copies of the Software, and to permit persons to whom the Software is
|
|
919
|
-
// furnished to do so, subject to the following conditions:
|
|
920
|
-
//
|
|
921
|
-
// The above copyright notice and this permission notice shall be included in
|
|
922
|
-
// all copies or substantial portions of the Software.
|
|
923
|
-
//
|
|
924
|
-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
925
|
-
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
926
|
-
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
927
|
-
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
928
|
-
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
929
|
-
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
930
|
-
// THE SOFTWARE.
|
|
931
|
-
/**
|
|
932
|
-
* These selectors are useful when we capture e.g. a click event on a higher level and want to prevent an action in case the event target was one of these.
|
|
933
|
-
*/
|
|
934
|
-
const DEFAULT_INTERACTIVE_ELEMENTS = [
|
|
935
|
-
"button",
|
|
936
|
-
"input[type='button']",
|
|
937
|
-
"a[href]",
|
|
938
|
-
];
|
|
939
|
-
|
|
940
|
-
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
941
|
-
//
|
|
942
|
-
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
943
|
-
// of this software and associated documentation files (the "Software"), to
|
|
944
|
-
// deal in the Software without restriction, including without limitation the
|
|
945
|
-
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
946
|
-
// sell copies of the Software, and to permit persons to whom the Software is
|
|
947
|
-
// furnished to do so, subject to the following conditions:
|
|
948
|
-
//
|
|
949
|
-
// The above copyright notice and this permission notice shall be included in
|
|
950
|
-
// all copies or substantial portions of the Software.
|
|
951
|
-
//
|
|
952
|
-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
953
|
-
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
954
|
-
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
955
|
-
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
956
|
-
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
957
|
-
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
958
|
-
// THE SOFTWARE.
|
|
959
|
-
/** @deprecated */
|
|
960
|
-
var KEY_CODE;
|
|
961
|
-
(function (KEY_CODE) {
|
|
962
|
-
KEY_CODE[KEY_CODE["BACKSPACE"] = 8] = "BACKSPACE";
|
|
963
|
-
KEY_CODE[KEY_CODE["TAB"] = 9] = "TAB";
|
|
964
|
-
KEY_CODE[KEY_CODE["ENTER"] = 13] = "ENTER";
|
|
965
|
-
KEY_CODE[KEY_CODE["ESCAPE"] = 27] = "ESCAPE";
|
|
966
|
-
KEY_CODE[KEY_CODE["SPACE"] = 32] = "SPACE";
|
|
967
|
-
KEY_CODE[KEY_CODE["PAGE_UP"] = 33] = "PAGE_UP";
|
|
968
|
-
KEY_CODE[KEY_CODE["PAGE_DOWN"] = 34] = "PAGE_DOWN";
|
|
969
|
-
KEY_CODE[KEY_CODE["END"] = 35] = "END";
|
|
970
|
-
KEY_CODE[KEY_CODE["HOME"] = 36] = "HOME";
|
|
971
|
-
KEY_CODE[KEY_CODE["LEFT_ARROW"] = 37] = "LEFT_ARROW";
|
|
972
|
-
KEY_CODE[KEY_CODE["UP_ARROW"] = 38] = "UP_ARROW";
|
|
973
|
-
KEY_CODE[KEY_CODE["RIGHT_ARROW"] = 39] = "RIGHT_ARROW";
|
|
974
|
-
KEY_CODE[KEY_CODE["DOWN_ARROW"] = 40] = "DOWN_ARROW";
|
|
975
|
-
KEY_CODE[KEY_CODE["DELETE"] = 46] = "DELETE";
|
|
976
|
-
KEY_CODE[KEY_CODE["X"] = 88] = "X";
|
|
977
|
-
KEY_CODE[KEY_CODE["ASTERISK"] = 106] = "ASTERISK";
|
|
978
|
-
KEY_CODE[KEY_CODE["PLUS"] = 107] = "PLUS";
|
|
979
|
-
KEY_CODE[KEY_CODE["MINUS"] = 109] = "MINUS";
|
|
980
|
-
KEY_CODE[KEY_CODE["TILDE"] = 192] = "TILDE";
|
|
981
|
-
})(KEY_CODE || (KEY_CODE = {}));
|
|
982
|
-
var KEYBOARD_CODE;
|
|
983
|
-
(function (KEYBOARD_CODE) {
|
|
984
|
-
KEYBOARD_CODE["ARROW_DOWN"] = "ArrowDown";
|
|
985
|
-
KEYBOARD_CODE["ARROW_LEFT"] = "ArrowLeft";
|
|
986
|
-
KEYBOARD_CODE["ARROW_RIGHT"] = "ArrowRight";
|
|
987
|
-
KEYBOARD_CODE["ARROW_UP"] = "ArrowUp";
|
|
988
|
-
KEYBOARD_CODE["BACKSPACE"] = "Backspace";
|
|
989
|
-
KEYBOARD_CODE["ENTER"] = "Enter";
|
|
990
|
-
KEYBOARD_CODE["END"] = "End";
|
|
991
|
-
KEYBOARD_CODE["ESCAPE"] = "Escape";
|
|
992
|
-
KEYBOARD_CODE["HOME"] = "Home";
|
|
993
|
-
KEYBOARD_CODE["PAGE_DOWN"] = "PageDown";
|
|
994
|
-
KEYBOARD_CODE["PAGE_UP"] = "PageUp";
|
|
995
|
-
KEYBOARD_CODE["SHIFT_LEFT"] = "ShiftLeft";
|
|
996
|
-
KEYBOARD_CODE["SHIFT_RIGHT"] = "ShiftRight";
|
|
997
|
-
KEYBOARD_CODE["SPACE"] = "Space";
|
|
998
|
-
KEYBOARD_CODE["TAB"] = "Tab";
|
|
999
|
-
KEYBOARD_CODE["DELETE"] = "Delete";
|
|
1000
|
-
})(KEYBOARD_CODE || (KEYBOARD_CODE = {}));
|
|
1001
|
-
|
|
1002
|
-
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
1003
|
-
// This should not be here, but Angular DI is not recognizing this token when it in scope of docsModule
|
|
1004
|
-
// In any case doc helpers will be moved in separate preject and this will not be here
|
|
1005
|
-
const DEMO_PATH_TOKEN = new InjectionToken("DemoPathToken");
|
|
1006
|
-
|
|
1007
|
-
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
1008
|
-
//
|
|
1009
|
-
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
1010
|
-
// of this software and associated documentation files (the "Software"), to
|
|
1011
|
-
// deal in the Software without restriction, including without limitation the
|
|
1012
|
-
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
1013
|
-
// sell copies of the Software, and to permit persons to whom the Software is
|
|
1014
|
-
// furnished to do so, subject to the following conditions:
|
|
1015
|
-
//
|
|
1016
|
-
// The above copyright notice and this permission notice shall be included in
|
|
1017
|
-
// all copies or substantial portions of the Software.
|
|
1018
|
-
//
|
|
1019
|
-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
1020
|
-
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
1021
|
-
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
1022
|
-
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
1023
|
-
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
1024
|
-
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
1025
|
-
// THE SOFTWARE.
|
|
1026
|
-
const RESIZE_DEBOUNCE_TIME = 300;
|
|
1027
|
-
|
|
1028
|
-
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
1029
|
-
const WIZARD_CONFIG = new InjectionToken("wizard.conf");
|
|
1030
|
-
const WIZARD_STEP_STATE_DEFAULT_CONFIG = {
|
|
1031
|
-
initial: {
|
|
1032
|
-
icon: "step",
|
|
1033
|
-
iconColor: "gray",
|
|
1034
|
-
},
|
|
1035
|
-
visited: {
|
|
1036
|
-
icon: "step-complete",
|
|
1037
|
-
iconColor: "primary-blue",
|
|
1038
|
-
},
|
|
1039
|
-
active: {
|
|
1040
|
-
icon: "step-active",
|
|
1041
|
-
iconColor: "black",
|
|
1042
|
-
},
|
|
1043
|
-
error: {
|
|
1044
|
-
icon: "step-active",
|
|
1045
|
-
iconColor: "black",
|
|
1046
|
-
},
|
|
1047
|
-
};
|
|
1048
|
-
const WIZARD_CONFIG_DEFAULT = {
|
|
1049
|
-
stepState: { ...WIZARD_STEP_STATE_DEFAULT_CONFIG },
|
|
1050
|
-
};
|
|
1051
|
-
|
|
1052
|
-
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
1053
|
-
|
|
1054
884
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
1055
885
|
/**
|
|
1056
886
|
* <example-url>./../examples/index.html#/common/unit-conversion-service</example-url>
|
|
@@ -1468,7 +1298,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
1468
1298
|
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
1469
1299
|
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
1470
1300
|
// THE SOFTWARE.
|
|
1471
|
-
const DOCUMENT_CLICK_EVENT =
|
|
1301
|
+
const DOCUMENT_CLICK_EVENT = {
|
|
1302
|
+
id: "document-click",
|
|
1303
|
+
};
|
|
1304
|
+
const COMPLETE_RESIZE_EVENT = {
|
|
1305
|
+
id: "complete-resize",
|
|
1306
|
+
};
|
|
1307
|
+
const CHECKBOX_KEYDOWN_EVENT = {
|
|
1308
|
+
id: "checkbox-keydown",
|
|
1309
|
+
};
|
|
1310
|
+
const CLOSE_POPOVER_EVENT = {
|
|
1311
|
+
id: "close-popover",
|
|
1312
|
+
};
|
|
1313
|
+
const POPOVER_CLOSED_EVENT = {
|
|
1314
|
+
id: "popover-closed",
|
|
1315
|
+
};
|
|
1472
1316
|
|
|
1473
1317
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
1474
1318
|
/**
|
|
@@ -1532,7 +1376,7 @@ class EventBusService extends EventBus {
|
|
|
1532
1376
|
// but we should register listener only once
|
|
1533
1377
|
this.renderer.listen("document", "click", (event) => {
|
|
1534
1378
|
// separate stream to detect document-body clicks in case of popup in popover
|
|
1535
|
-
this.getStream(
|
|
1379
|
+
this.getStream(DOCUMENT_CLICK_EVENT).next(event);
|
|
1536
1380
|
});
|
|
1537
1381
|
}
|
|
1538
1382
|
}
|
|
@@ -1735,10 +1579,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
1735
1579
|
}] });
|
|
1736
1580
|
|
|
1737
1581
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
1738
|
-
/**
|
|
1739
|
-
* Service for calculating element's position (e.g. tooltip, popover).
|
|
1740
|
-
* For now has one public method 'getCoordinates' (see method description).
|
|
1741
|
-
*/
|
|
1742
1582
|
/**
|
|
1743
1583
|
* @dynamic
|
|
1744
1584
|
* @ignore
|
|
@@ -2089,11 +1929,11 @@ class UtilService {
|
|
|
2089
1929
|
return event.composedPath();
|
|
2090
1930
|
}
|
|
2091
1931
|
let element = event.target;
|
|
2092
|
-
const path = [];
|
|
2093
1932
|
// Hack for EDGE
|
|
2094
1933
|
if (!element.path) {
|
|
2095
1934
|
element = event.currentTarget;
|
|
2096
1935
|
}
|
|
1936
|
+
const path = [];
|
|
2097
1937
|
while (element) {
|
|
2098
1938
|
path.push(element);
|
|
2099
1939
|
if (element.tagName === "HTML") {
|
|
@@ -2103,6 +1943,7 @@ class UtilService {
|
|
|
2103
1943
|
}
|
|
2104
1944
|
element = element.parentElement;
|
|
2105
1945
|
}
|
|
1946
|
+
return [];
|
|
2106
1947
|
}
|
|
2107
1948
|
isBrowser() {
|
|
2108
1949
|
return isPlatformBrowser(this.platformId);
|
|
@@ -2125,10 +1966,10 @@ class UtilService {
|
|
|
2125
1966
|
isBlackberry: () => this.document.defaultView?.navigator.userAgent.match(/BlackBerry|BB10/i) !== null,
|
|
2126
1967
|
isIOS: () => this.document.defaultView?.navigator.userAgent.match(/iPhone|iPad|iPod/i) !== null,
|
|
2127
1968
|
isOpera: () => this.document.defaultView?.navigator.userAgent.match(/Opera Mini/i) !== null,
|
|
2128
|
-
isAny: () => this.browser?.mobileDevice.isIOS() ||
|
|
1969
|
+
isAny: () => !!(this.browser?.mobileDevice.isIOS() ||
|
|
2129
1970
|
this.browser?.mobileDevice.isAndroid() ||
|
|
2130
1971
|
this.browser?.mobileDevice.isBlackberry() ||
|
|
2131
|
-
this.browser?.mobileDevice.isOpera(),
|
|
1972
|
+
this.browser?.mobileDevice.isOpera()),
|
|
2132
1973
|
},
|
|
2133
1974
|
};
|
|
2134
1975
|
}
|
|
@@ -2381,9 +2222,7 @@ class ClickInterceptorDirective {
|
|
|
2381
2222
|
}
|
|
2382
2223
|
catchClick(event) {
|
|
2383
2224
|
event.stopPropagation();
|
|
2384
|
-
this.eventBusService
|
|
2385
|
-
.getStream({ id: DOCUMENT_CLICK_EVENT })
|
|
2386
|
-
.next(event);
|
|
2225
|
+
this.eventBusService.getStream(DOCUMENT_CLICK_EVENT).next(event);
|
|
2387
2226
|
}
|
|
2388
2227
|
}
|
|
2389
2228
|
ClickInterceptorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ClickInterceptorDirective, deps: [{ token: EventBusService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
@@ -2567,7 +2406,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
2567
2406
|
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
2568
2407
|
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
2569
2408
|
// THE SOFTWARE.
|
|
2570
|
-
const scrollConstants = {
|
|
2409
|
+
const scrollConstants$1 = {
|
|
2571
2410
|
verticalScrollPercentage: 30,
|
|
2572
2411
|
horizontalScrollPercentage: 30,
|
|
2573
2412
|
checkIntervalInMs: 30,
|
|
@@ -2628,7 +2467,7 @@ class DraggableDirective {
|
|
|
2628
2467
|
}
|
|
2629
2468
|
this.autoScroll(coordinates.x, coordinates.y);
|
|
2630
2469
|
});
|
|
2631
|
-
}, scrollConstants.adornerUpdateThrottleInMs);
|
|
2470
|
+
}, scrollConstants$1.adornerUpdateThrottleInMs);
|
|
2632
2471
|
this.mouseHook = (event) => {
|
|
2633
2472
|
const clientX = event.clientX;
|
|
2634
2473
|
const clientY = event.clientY;
|
|
@@ -2735,34 +2574,34 @@ class DraggableDirective {
|
|
|
2735
2574
|
}
|
|
2736
2575
|
const verticalDistPercentage = (clientY / this.document.defaultView.innerHeight) * 100;
|
|
2737
2576
|
const horizontalDistPercentage = (clientX / this.document.defaultView.innerWidth) * 100;
|
|
2738
|
-
const topScrollBoundary = scrollConstants.verticalScrollPercentage;
|
|
2739
|
-
const bottomScrollBoundary = 100 - scrollConstants.verticalScrollPercentage;
|
|
2740
|
-
const leftScrollBoundary = scrollConstants.horizontalScrollPercentage;
|
|
2741
|
-
const rightScrollBoundary = 100 - scrollConstants.horizontalScrollPercentage;
|
|
2577
|
+
const topScrollBoundary = scrollConstants$1.verticalScrollPercentage;
|
|
2578
|
+
const bottomScrollBoundary = 100 - scrollConstants$1.verticalScrollPercentage;
|
|
2579
|
+
const leftScrollBoundary = scrollConstants$1.horizontalScrollPercentage;
|
|
2580
|
+
const rightScrollBoundary = 100 - scrollConstants$1.horizontalScrollPercentage;
|
|
2742
2581
|
let newX = this.document.defaultView.pageXOffset;
|
|
2743
2582
|
let newY = this.document.defaultView.pageYOffset;
|
|
2744
2583
|
let scrollNeeded = false;
|
|
2745
2584
|
if (verticalDistPercentage < topScrollBoundary) {
|
|
2746
2585
|
const throttleDistance = (topScrollBoundary - verticalDistPercentage) *
|
|
2747
|
-
scrollConstants.accelerationFactor;
|
|
2586
|
+
scrollConstants$1.accelerationFactor;
|
|
2748
2587
|
newY = newY - throttleDistance;
|
|
2749
2588
|
scrollNeeded = true;
|
|
2750
2589
|
}
|
|
2751
2590
|
if (verticalDistPercentage > bottomScrollBoundary) {
|
|
2752
2591
|
const throttleDistance = (verticalDistPercentage - bottomScrollBoundary) *
|
|
2753
|
-
scrollConstants.accelerationFactor;
|
|
2592
|
+
scrollConstants$1.accelerationFactor;
|
|
2754
2593
|
newY = newY + throttleDistance;
|
|
2755
2594
|
scrollNeeded = true;
|
|
2756
2595
|
}
|
|
2757
2596
|
if (horizontalDistPercentage < leftScrollBoundary) {
|
|
2758
2597
|
const throttleDistance = (leftScrollBoundary - horizontalDistPercentage) *
|
|
2759
|
-
scrollConstants.accelerationFactor;
|
|
2598
|
+
scrollConstants$1.accelerationFactor;
|
|
2760
2599
|
newX = newX - throttleDistance;
|
|
2761
2600
|
scrollNeeded = true;
|
|
2762
2601
|
}
|
|
2763
2602
|
if (horizontalDistPercentage > rightScrollBoundary) {
|
|
2764
2603
|
const throttleDistance = (horizontalDistPercentage - rightScrollBoundary) *
|
|
2765
|
-
scrollConstants.accelerationFactor;
|
|
2604
|
+
scrollConstants$1.accelerationFactor;
|
|
2766
2605
|
newX = newX + throttleDistance;
|
|
2767
2606
|
scrollNeeded = true;
|
|
2768
2607
|
}
|
|
@@ -2873,7 +2712,7 @@ class DroppableDirective {
|
|
|
2873
2712
|
this.dragElements = [];
|
|
2874
2713
|
this.dragThrottle = throttle((dragEvent) => {
|
|
2875
2714
|
this.dragOver.emit(dragEvent);
|
|
2876
|
-
}, scrollConstants.checkIntervalInMs, { trailing: false });
|
|
2715
|
+
}, scrollConstants$1.checkIntervalInMs, { trailing: false });
|
|
2877
2716
|
}
|
|
2878
2717
|
onDragEnter(event) {
|
|
2879
2718
|
const payload = this.dragAndDropService.getDragPayload(event);
|
|
@@ -2997,6 +2836,27 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
2997
2836
|
args: ["drop", ["$event"]]
|
|
2998
2837
|
}] } });
|
|
2999
2838
|
|
|
2839
|
+
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
2840
|
+
//
|
|
2841
|
+
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
2842
|
+
// of this software and associated documentation files (the "Software"), to
|
|
2843
|
+
// deal in the Software without restriction, including without limitation the
|
|
2844
|
+
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
2845
|
+
// sell copies of the Software, and to permit persons to whom the Software is
|
|
2846
|
+
// furnished to do so, subject to the following conditions:
|
|
2847
|
+
//
|
|
2848
|
+
// The above copyright notice and this permission notice shall be included in
|
|
2849
|
+
// all copies or substantial portions of the Software.
|
|
2850
|
+
//
|
|
2851
|
+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
2852
|
+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
2853
|
+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
2854
|
+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
2855
|
+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
2856
|
+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
2857
|
+
// THE SOFTWARE.
|
|
2858
|
+
const RESIZE_DEBOUNCE_TIME = 300;
|
|
2859
|
+
|
|
3000
2860
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
3001
2861
|
/**
|
|
3002
2862
|
* @ignore
|
|
@@ -3394,7 +3254,7 @@ class ResizerDirective {
|
|
|
3394
3254
|
}
|
|
3395
3255
|
addSubscription() {
|
|
3396
3256
|
this.resizeSubscription = this.eventBusService
|
|
3397
|
-
.getStream(
|
|
3257
|
+
.getStream(COMPLETE_RESIZE_EVENT)
|
|
3398
3258
|
.subscribe((resize) => this.refreshStyle());
|
|
3399
3259
|
}
|
|
3400
3260
|
onSizeChanged(newSize) {
|
|
@@ -3492,15 +3352,13 @@ class ResizerDirective {
|
|
|
3492
3352
|
? event.clientX
|
|
3493
3353
|
: event.clientY;
|
|
3494
3354
|
this.mouseUpUnlisten = this.renderer.listen(document, "mouseup", ($event) => this.onMouseUp($event));
|
|
3495
|
-
event.preventDefault(); // This disables accidental text selection while
|
|
3355
|
+
event.preventDefault(); // This disables accidental text selection while resizingw
|
|
3496
3356
|
}
|
|
3497
3357
|
onMouseUp(event) {
|
|
3498
3358
|
this.renderer.removeStyle(document.documentElement, "cursor");
|
|
3499
3359
|
this.renderer.removeClass(this.resizeGutter, `${this.resizeClass}--active`);
|
|
3500
3360
|
this._isDragging = false;
|
|
3501
|
-
this.eventBusService
|
|
3502
|
-
.getStream({ id: "complete-resize" })
|
|
3503
|
-
.next(undefined);
|
|
3361
|
+
this.eventBusService.getStream(COMPLETE_RESIZE_EVENT).next(event);
|
|
3504
3362
|
}
|
|
3505
3363
|
calculatePosition() {
|
|
3506
3364
|
if (this.resizerDisabled) {
|
|
@@ -5003,7 +4861,7 @@ class IconComponent {
|
|
|
5003
4861
|
}
|
|
5004
4862
|
getIconByStatus(status) {
|
|
5005
4863
|
if (!status) {
|
|
5006
|
-
return;
|
|
4864
|
+
return "";
|
|
5007
4865
|
}
|
|
5008
4866
|
return this.iconService.getStatusIcon(status);
|
|
5009
4867
|
}
|
|
@@ -5183,8 +5041,6 @@ var ButtonSizeType;
|
|
|
5183
5041
|
|
|
5184
5042
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
5185
5043
|
// <example-url>./../examples/index.html#/button</example-url>
|
|
5186
|
-
/* eslint-disable @angular-eslint/component-selector */
|
|
5187
|
-
/* eslint-enable @angular-eslint/component-selector */
|
|
5188
5044
|
class ButtonComponent {
|
|
5189
5045
|
constructor(type, el, logger) {
|
|
5190
5046
|
this.type = type;
|
|
@@ -5238,12 +5094,7 @@ should be set explicitly: `, el.nativeElement);
|
|
|
5238
5094
|
return this.isBusy;
|
|
5239
5095
|
}
|
|
5240
5096
|
get isEmptyClass() {
|
|
5241
|
-
|
|
5242
|
-
return this._isContentEmpty;
|
|
5243
|
-
}
|
|
5244
|
-
else {
|
|
5245
|
-
return this.isEmpty;
|
|
5246
|
-
}
|
|
5097
|
+
return this.isEmpty ?? this._isContentEmpty;
|
|
5247
5098
|
}
|
|
5248
5099
|
get dispStylePrimClass() {
|
|
5249
5100
|
return this.displayStyle === "primary";
|
|
@@ -5509,11 +5360,11 @@ class CheckboxComponent {
|
|
|
5509
5360
|
ngAfterViewInit() {
|
|
5510
5361
|
this.rendererListener = this.renderer.listen(this.checkboxLabel.nativeElement, "keydown", (event) => {
|
|
5511
5362
|
this.eventBusService
|
|
5512
|
-
.getStream(
|
|
5363
|
+
.getStream(CHECKBOX_KEYDOWN_EVENT)
|
|
5513
5364
|
.next(event);
|
|
5514
5365
|
});
|
|
5515
5366
|
this.sub = this.eventBusService
|
|
5516
|
-
.getStream(
|
|
5367
|
+
.getStream(CHECKBOX_KEYDOWN_EVENT)
|
|
5517
5368
|
.subscribe((event) => {
|
|
5518
5369
|
if (event.target === this.checkboxLabel.nativeElement) {
|
|
5519
5370
|
if (event.keyCode === ENTER || event.keyCode === SPACE) {
|
|
@@ -5544,15 +5395,14 @@ class CheckboxComponent {
|
|
|
5544
5395
|
*/
|
|
5545
5396
|
changeHandler(event) {
|
|
5546
5397
|
this.valueChange.emit(event);
|
|
5547
|
-
|
|
5398
|
+
const checked = !!event.target?.checked;
|
|
5399
|
+
this.onChange(checked);
|
|
5548
5400
|
this.onTouched();
|
|
5549
|
-
this.writeValue(
|
|
5401
|
+
this.writeValue(checked);
|
|
5550
5402
|
}
|
|
5551
5403
|
onClick(event) {
|
|
5552
5404
|
event.stopPropagation();
|
|
5553
|
-
this.eventBusService
|
|
5554
|
-
.getStream({ id: DOCUMENT_CLICK_EVENT })
|
|
5555
|
-
.next(event);
|
|
5405
|
+
this.eventBusService.getStream(DOCUMENT_CLICK_EVENT).next(event);
|
|
5556
5406
|
}
|
|
5557
5407
|
onChange(value) { }
|
|
5558
5408
|
onTouched() { }
|
|
@@ -5882,6 +5732,101 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
5882
5732
|
}]
|
|
5883
5733
|
}] });
|
|
5884
5734
|
|
|
5735
|
+
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
5736
|
+
// import {DraggableComponent} from "./draggable.component";
|
|
5737
|
+
/**
|
|
5738
|
+
* @ignore
|
|
5739
|
+
*/
|
|
5740
|
+
class DroppableComponent {
|
|
5741
|
+
constructor() {
|
|
5742
|
+
// @Input() dragSource: DraggableComponent;
|
|
5743
|
+
this.dragOver = new EventEmitter();
|
|
5744
|
+
this.dragEnter = new EventEmitter();
|
|
5745
|
+
this.dragLeave = new EventEmitter();
|
|
5746
|
+
this.dropSuccess = new EventEmitter();
|
|
5747
|
+
}
|
|
5748
|
+
onDrop(event) {
|
|
5749
|
+
if (event.container !== event.previousContainer) {
|
|
5750
|
+
this.dropSuccess.emit(event.item.data);
|
|
5751
|
+
}
|
|
5752
|
+
}
|
|
5753
|
+
}
|
|
5754
|
+
DroppableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DroppableComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5755
|
+
DroppableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: DroppableComponent, selector: "nui-droppable", outputs: { dragOver: "dragOver", dragEnter: "dragEnter", dragLeave: "dragLeave", dropSuccess: "dropSuccess" }, viewQueries: [{ propertyName: "dropList", first: true, predicate: CdkDropList, descendants: true, static: true }], ngImport: i0, template: "<div cdkDropList (cdkDropListDropped)=\"onDrop($event)\">\n <ng-content></ng-content>\n</div>\n", styles: [".cdk-drop-list{border:1px dotted black}.cdk-drop-list-dragging{border:5px solid rgba(0,196,210,.1);background:rgba(0,196,210,.3)}\n"], directives: [{ type: i1.CdkDropList, selector: "[cdkDropList], cdk-drop-list", inputs: ["cdkDropListConnectedTo", "cdkDropListData", "cdkDropListOrientation", "id", "cdkDropListLockAxis", "cdkDropListDisabled", "cdkDropListSortingDisabled", "cdkDropListEnterPredicate", "cdkDropListSortPredicate", "cdkDropListAutoScrollDisabled", "cdkDropListAutoScrollStep"], outputs: ["cdkDropListDropped", "cdkDropListEntered", "cdkDropListExited", "cdkDropListSorted"], exportAs: ["cdkDropList"] }] });
|
|
5756
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DroppableComponent, decorators: [{
|
|
5757
|
+
type: Component,
|
|
5758
|
+
args: [{ selector: "nui-droppable", template: "<div cdkDropList (cdkDropListDropped)=\"onDrop($event)\">\n <ng-content></ng-content>\n</div>\n", styles: [".cdk-drop-list{border:1px dotted black}.cdk-drop-list-dragging{border:5px solid rgba(0,196,210,.1);background:rgba(0,196,210,.3)}\n"] }]
|
|
5759
|
+
}], propDecorators: { dragOver: [{
|
|
5760
|
+
type: Output
|
|
5761
|
+
}], dragEnter: [{
|
|
5762
|
+
type: Output
|
|
5763
|
+
}], dragLeave: [{
|
|
5764
|
+
type: Output
|
|
5765
|
+
}], dropSuccess: [{
|
|
5766
|
+
type: Output
|
|
5767
|
+
}], dropList: [{
|
|
5768
|
+
type: ViewChild,
|
|
5769
|
+
args: [CdkDropList, { static: true }]
|
|
5770
|
+
}] } });
|
|
5771
|
+
|
|
5772
|
+
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
5773
|
+
/**
|
|
5774
|
+
* @ignore
|
|
5775
|
+
*/
|
|
5776
|
+
class DraggableComponent {
|
|
5777
|
+
constructor() {
|
|
5778
|
+
this.dragHandle = false;
|
|
5779
|
+
this.dragStart = new EventEmitter();
|
|
5780
|
+
this.dragEnd = new EventEmitter();
|
|
5781
|
+
}
|
|
5782
|
+
ngOnInit() {
|
|
5783
|
+
this.dragElement.dropContainer = this.dropTarget.dropList;
|
|
5784
|
+
}
|
|
5785
|
+
}
|
|
5786
|
+
DraggableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DraggableComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5787
|
+
DraggableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: DraggableComponent, selector: "nui-draggable", inputs: { payload: "payload", dropTarget: "dropTarget", dragHandle: "dragHandle", dragPreview: "dragPreview" }, outputs: { dragStart: "dragStart", dragEnd: "dragEnd" }, viewQueries: [{ propertyName: "dropList", first: true, predicate: CdkDropList, descendants: true, static: true }, { propertyName: "dragElement", first: true, predicate: CdkDrag, descendants: true, static: true }], ngImport: i0, template: "<div cdkDropList [cdkDropListConnectedTo]=\"[dropTarget.dropList]\">\n <div\n cdkDrag\n [cdkDragData]=\"payload\"\n [class.cdk-drag-with-handle]=\"dragHandle\"\n >\n <svg\n *ngIf=\"dragHandle\"\n cdkDragHandle\n width=\"24px\"\n fill=\"currentColor\"\n viewBox=\"0 0 24 24\"\n >\n <path\n d=\"M10 9h4V6h3l-5-5-5 5h3v3zm-1 1H6V7l-5 5 5 5v-3h3v-4zm14 2l-5-5v3h-3v4h3v3l5-5zm-9 3h-4v3H7l5 5 5-5h-3v-3z\"\n ></path>\n <path d=\"M0 0h24v24H0z\" fill=\"none\"></path>\n </svg>\n\n <ng-content></ng-content>\n\n <ng-container *ngIf=\"dragPreview\">\n <div *cdkDragPreview>\n <ng-container *ngTemplateOutlet=\"dragPreview\"></ng-container>\n </div>\n </ng-container>\n </div>\n</div>\n", styles: [".cdk-drag{position:relative;cursor:move}.cdk-drag:hover{background-color:var(--nui-color-bg-light-hover,#f2f2f2);box-shadow:0 0 5px 0 var(--nui-shadow-color, rgba(17, 17, 17, .3))}.cdk-drag-with-handle{pointer-events:none}.cdk-drag-with-handle svg{pointer-events:all;position:absolute;top:10px;right:10px;color:#ccc;cursor:move;width:24px;height:24px}.cdk-drop-list-dragging{background-color:var(--nui-color-selected,rgba(0, 196, 210, .1));position:relative;pointer-events:none;box-shadow:0 0 5px 0 var(--nui-shadow-color, rgba(17, 17, 17, .3))}.cdk-drop-list-dragging .cdk-drag-placeholder{opacity:10%;display:initial}.cdk-drag-placeholder{display:none}\n"], directives: [{ type: i1.CdkDropList, selector: "[cdkDropList], cdk-drop-list", inputs: ["cdkDropListConnectedTo", "cdkDropListData", "cdkDropListOrientation", "id", "cdkDropListLockAxis", "cdkDropListDisabled", "cdkDropListSortingDisabled", "cdkDropListEnterPredicate", "cdkDropListSortPredicate", "cdkDropListAutoScrollDisabled", "cdkDropListAutoScrollStep"], outputs: ["cdkDropListDropped", "cdkDropListEntered", "cdkDropListExited", "cdkDropListSorted"], exportAs: ["cdkDropList"] }, { type: i1.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { type: i1.CdkDragPreview, selector: "ng-template[cdkDragPreview]", inputs: ["data", "matchSize"] }, { type: i3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
|
|
5788
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DraggableComponent, decorators: [{
|
|
5789
|
+
type: Component,
|
|
5790
|
+
args: [{ selector: "nui-draggable", template: "<div cdkDropList [cdkDropListConnectedTo]=\"[dropTarget.dropList]\">\n <div\n cdkDrag\n [cdkDragData]=\"payload\"\n [class.cdk-drag-with-handle]=\"dragHandle\"\n >\n <svg\n *ngIf=\"dragHandle\"\n cdkDragHandle\n width=\"24px\"\n fill=\"currentColor\"\n viewBox=\"0 0 24 24\"\n >\n <path\n d=\"M10 9h4V6h3l-5-5-5 5h3v3zm-1 1H6V7l-5 5 5 5v-3h3v-4zm14 2l-5-5v3h-3v4h3v3l5-5zm-9 3h-4v3H7l5 5 5-5h-3v-3z\"\n ></path>\n <path d=\"M0 0h24v24H0z\" fill=\"none\"></path>\n </svg>\n\n <ng-content></ng-content>\n\n <ng-container *ngIf=\"dragPreview\">\n <div *cdkDragPreview>\n <ng-container *ngTemplateOutlet=\"dragPreview\"></ng-container>\n </div>\n </ng-container>\n </div>\n</div>\n", styles: [".cdk-drag{position:relative;cursor:move}.cdk-drag:hover{background-color:var(--nui-color-bg-light-hover,#f2f2f2);box-shadow:0 0 5px 0 var(--nui-shadow-color, rgba(17, 17, 17, .3))}.cdk-drag-with-handle{pointer-events:none}.cdk-drag-with-handle svg{pointer-events:all;position:absolute;top:10px;right:10px;color:#ccc;cursor:move;width:24px;height:24px}.cdk-drop-list-dragging{background-color:var(--nui-color-selected,rgba(0, 196, 210, .1));position:relative;pointer-events:none;box-shadow:0 0 5px 0 var(--nui-shadow-color, rgba(17, 17, 17, .3))}.cdk-drop-list-dragging .cdk-drag-placeholder{opacity:10%;display:initial}.cdk-drag-placeholder{display:none}\n"] }]
|
|
5791
|
+
}], ctorParameters: function () { return []; }, propDecorators: { payload: [{
|
|
5792
|
+
type: Input
|
|
5793
|
+
}], dropTarget: [{
|
|
5794
|
+
type: Input
|
|
5795
|
+
}], dragHandle: [{
|
|
5796
|
+
type: Input
|
|
5797
|
+
}], dragPreview: [{
|
|
5798
|
+
type: Input
|
|
5799
|
+
}], dragStart: [{
|
|
5800
|
+
type: Output
|
|
5801
|
+
}], dragEnd: [{
|
|
5802
|
+
type: Output
|
|
5803
|
+
}], dropList: [{
|
|
5804
|
+
type: ViewChild,
|
|
5805
|
+
args: [CdkDropList, { static: true }]
|
|
5806
|
+
}], dragElement: [{
|
|
5807
|
+
type: ViewChild,
|
|
5808
|
+
args: [CdkDrag, { static: true }]
|
|
5809
|
+
}] } });
|
|
5810
|
+
|
|
5811
|
+
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
5812
|
+
/**
|
|
5813
|
+
* @ignore
|
|
5814
|
+
*/
|
|
5815
|
+
class NuiDragDropModule {
|
|
5816
|
+
}
|
|
5817
|
+
NuiDragDropModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NuiDragDropModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5818
|
+
NuiDragDropModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NuiDragDropModule, declarations: [DraggableComponent, DroppableComponent], imports: [NuiCommonModule, DragDropModule], exports: [DragDropModule, DraggableComponent, DroppableComponent] });
|
|
5819
|
+
NuiDragDropModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NuiDragDropModule, providers: [], imports: [[NuiCommonModule, DragDropModule], DragDropModule] });
|
|
5820
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NuiDragDropModule, decorators: [{
|
|
5821
|
+
type: NgModule,
|
|
5822
|
+
args: [{
|
|
5823
|
+
imports: [NuiCommonModule, DragDropModule],
|
|
5824
|
+
declarations: [DraggableComponent, DroppableComponent],
|
|
5825
|
+
exports: [DragDropModule, DraggableComponent, DroppableComponent],
|
|
5826
|
+
providers: [],
|
|
5827
|
+
}]
|
|
5828
|
+
}] });
|
|
5829
|
+
|
|
5885
5830
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
5886
5831
|
// <example-url>./../examples/index.html#/message</example-url>
|
|
5887
5832
|
class MessageComponent {
|
|
@@ -5935,9 +5880,8 @@ class MessageComponent {
|
|
|
5935
5880
|
return this.type ? `nui-message-${this.type.toLowerCase()}` : "";
|
|
5936
5881
|
}
|
|
5937
5882
|
get icon() {
|
|
5938
|
-
|
|
5939
|
-
|
|
5940
|
-
return icon ? icon : MessageComponent.UNKNOWN_ICON;
|
|
5883
|
+
return (MessageComponent.ICON_MAP[this.type ?? ""] ||
|
|
5884
|
+
MessageComponent.UNKNOWN_ICON);
|
|
5941
5885
|
}
|
|
5942
5886
|
}
|
|
5943
5887
|
MessageComponent.ICON_MAP = {
|
|
@@ -6303,14 +6247,14 @@ class OverlayCustomContainer extends OverlayContainer {
|
|
|
6303
6247
|
// Overriding default destroy to prevent unwanted cleanup
|
|
6304
6248
|
}
|
|
6305
6249
|
}
|
|
6306
|
-
OverlayCustomContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: OverlayCustomContainer, deps: [{ token: DOCUMENT }, { token: i1.Platform }, { token: OverlayContainerService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6250
|
+
OverlayCustomContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: OverlayCustomContainer, deps: [{ token: DOCUMENT }, { token: i1$1.Platform }, { token: OverlayContainerService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6307
6251
|
OverlayCustomContainer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: OverlayCustomContainer });
|
|
6308
6252
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: OverlayCustomContainer, decorators: [{
|
|
6309
6253
|
type: Injectable
|
|
6310
6254
|
}], ctorParameters: function () { return [{ type: Document, decorators: [{
|
|
6311
6255
|
type: Inject,
|
|
6312
6256
|
args: [DOCUMENT]
|
|
6313
|
-
}] }, { type: i1.Platform }, { type: OverlayContainerService }]; } });
|
|
6257
|
+
}] }, { type: i1$1.Platform }, { type: OverlayContainerService }]; } });
|
|
6314
6258
|
|
|
6315
6259
|
var OverlayPanelClass;
|
|
6316
6260
|
(function (OverlayPanelClass) {
|
|
@@ -6674,11 +6618,11 @@ class OverlayService {
|
|
|
6674
6618
|
this.overlayContainer.setContainer(container);
|
|
6675
6619
|
}
|
|
6676
6620
|
}
|
|
6677
|
-
OverlayService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: OverlayService, deps: [{ token: i1$
|
|
6621
|
+
OverlayService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: OverlayService, deps: [{ token: i1$2.Overlay }, { token: i1$2.OverlayContainer }, { token: DOCUMENT }, { token: OVERLAY_CONTAINER, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6678
6622
|
OverlayService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: OverlayService });
|
|
6679
6623
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: OverlayService, decorators: [{
|
|
6680
6624
|
type: Injectable
|
|
6681
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
6625
|
+
}], ctorParameters: function () { return [{ type: i1$2.Overlay }, { type: i1$2.OverlayContainer }, { type: Document, decorators: [{
|
|
6682
6626
|
type: Inject,
|
|
6683
6627
|
args: [DOCUMENT]
|
|
6684
6628
|
}] }, { type: undefined, decorators: [{
|
|
@@ -6690,6 +6634,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
6690
6634
|
|
|
6691
6635
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
6692
6636
|
const POPUP_V2_VIEWPORT_MARGINS_DEFAULT = 30;
|
|
6637
|
+
const isMouseEvent$1 = (event) => event instanceof MouseEvent;
|
|
6693
6638
|
// <example-url>./../examples/index.html#/overlay</example-url>
|
|
6694
6639
|
/* @dynamic */
|
|
6695
6640
|
class OverlayComponent {
|
|
@@ -6752,9 +6697,7 @@ class OverlayComponent {
|
|
|
6752
6697
|
}
|
|
6753
6698
|
/** Stream of clicks outside. */
|
|
6754
6699
|
overlayClickOutside() {
|
|
6755
|
-
return this.eventBusService
|
|
6756
|
-
.getStream({ id: DOCUMENT_CLICK_EVENT })
|
|
6757
|
-
.pipe(filter$1((event) => {
|
|
6700
|
+
return this.eventBusService.getStream(DOCUMENT_CLICK_EVENT).pipe(filter$1(isMouseEvent$1), filter$1((event) => {
|
|
6758
6701
|
const clickTarget = event.target;
|
|
6759
6702
|
const notOrigin = !_some(event.composedPath(), (p) => p === this.toggleReference); // the toggle elem
|
|
6760
6703
|
const notOverlay = this.overlayService
|
|
@@ -6809,7 +6752,7 @@ class OverlayComponent {
|
|
|
6809
6752
|
return this.getContentHeight() <= 10; // 10 is for 5 + 5 paddings
|
|
6810
6753
|
}
|
|
6811
6754
|
}
|
|
6812
|
-
OverlayComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: OverlayComponent, deps: [{ token: OverlayPositionService }, { token: OverlayService }, { token: i1$
|
|
6755
|
+
OverlayComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: OverlayComponent, deps: [{ token: OverlayPositionService }, { token: OverlayService }, { token: i1$2.Overlay }, { token: EventBusService }], target: i0.ɵɵFactoryTarget.Component });
|
|
6813
6756
|
OverlayComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: OverlayComponent, selector: "nui-overlay", inputs: { overlayConfig: "overlayConfig", toggleReference: "toggleReference", viewportMargin: "viewportMargin", customContainer: "customContainer", roleAttr: "roleAttr" }, outputs: { clickOutside: "clickOutside" }, providers: [
|
|
6814
6757
|
Overlay,
|
|
6815
6758
|
OverlayService,
|
|
@@ -6842,7 +6785,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
6842
6785
|
OverlayPositionService,
|
|
6843
6786
|
{ provide: OverlayContainer, useClass: OverlayCustomContainer },
|
|
6844
6787
|
], encapsulation: ViewEncapsulation.None, styles: [".nui-overlay{display:block;overflow-x:hidden;overflow-y:auto;width:100%}.with-popup-styles .nui-overlay{padding:5px 0;border-radius:3px;box-shadow:0 0 5px 0 var(--nui-shadow-color, rgba(17, 17, 17, .3));background-color:var(--nui-color-bg-content_popover,#fff)}.with-popup-styles .nui-overlay.empty{padding:0}\n"] }]
|
|
6845
|
-
}], ctorParameters: function () { return [{ type: OverlayPositionService }, { type: OverlayService }, { type: i1$
|
|
6788
|
+
}], ctorParameters: function () { return [{ type: OverlayPositionService }, { type: OverlayService }, { type: i1$2.Overlay }, { type: EventBusService }]; }, propDecorators: { overlayConfig: [{
|
|
6846
6789
|
type: Input
|
|
6847
6790
|
}], toggleReference: [{
|
|
6848
6791
|
type: Input
|
|
@@ -6928,7 +6871,7 @@ class PopupComponent {
|
|
|
6928
6871
|
setTimeout(() => this.isOpenHandler(open));
|
|
6929
6872
|
}
|
|
6930
6873
|
get isOpen() {
|
|
6931
|
-
return this.popup?.showing;
|
|
6874
|
+
return !!this.popup?.showing;
|
|
6932
6875
|
}
|
|
6933
6876
|
set visible(value) {
|
|
6934
6877
|
this._visible = value;
|
|
@@ -6980,7 +6923,7 @@ class PopupComponent {
|
|
|
6980
6923
|
this.customContainer = this.popupArea;
|
|
6981
6924
|
}
|
|
6982
6925
|
this.eventBusService
|
|
6983
|
-
.getStream(
|
|
6926
|
+
.getStream(DOCUMENT_CLICK_EVENT)
|
|
6984
6927
|
.pipe(takeUntil(this.destroy$))
|
|
6985
6928
|
.subscribe((event) => {
|
|
6986
6929
|
const isToggle = this.popupToggle && event
|
|
@@ -7132,7 +7075,7 @@ class PopupComponent {
|
|
|
7132
7075
|
: this.document.querySelector(this.baseElementSelector);
|
|
7133
7076
|
}
|
|
7134
7077
|
}
|
|
7135
|
-
PopupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PopupComponent, deps: [{ token: i1$
|
|
7078
|
+
PopupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PopupComponent, deps: [{ token: i1$2.Overlay }, { token: i0.ChangeDetectorRef }, { token: EventBusService }, { token: i0.ElementRef }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Component });
|
|
7136
7079
|
PopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PopupComponent, selector: "nui-popup", inputs: { width: "width", overlayConfig: "overlayConfig", contextClass: "contextClass", directionTop: "directionTop", directionRight: "directionRight", manualOpenControl: "manualOpenControl", appendToBody: "appendToBody", baseElementSelector: "baseElementSelector", isHostToggleRef: "isHostToggleRef", ariaLabel: "ariaLabel", isOpen: "isOpen", visible: "visible" }, outputs: { opened: "opened" }, host: { attributes: { "role": "dialog" }, properties: { "attr.aria-label": "ariaLabel" }, classAttribute: "nui-popup" }, queries: [{ propertyName: "popupToggle", first: true, predicate: PopupToggleDirective, descendants: true }], viewQueries: [{ propertyName: "popupArea", first: true, predicate: ["popupArea"], descendants: true, static: true }, { propertyName: "popup", first: true, predicate: OverlayComponent, descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div\n nuiClickInterceptor\n class=\"nui-popup-container\"\n [class.nui-popup--opened]=\"isOpen\"\n>\n <div class=\"nui-popup__content\">\n <ng-content></ng-content>\n </div>\n <div #popupArea></div>\n\n <nui-overlay\n [toggleReference]=\"toggleReference\"\n [overlayConfig]=\"overlayConfig\"\n [customContainer]=\"customContainer\"\n >\n <div class=\"nui-popup__area\">\n <div class=\"nui-popup__area--container\">\n <ng-content select=\"[popupAreaContent]\"></ng-content>\n </div>\n </div>\n </nui-overlay>\n</div>\n", styles: [".nui-popup{display:inline-flex;position:relative}.nui-popup__content{display:inline-flex;flex-direction:row}.nui-select-popup-host.nui-popup__area{width:auto}.nui-select-popup-host.nui-popup__area .nui-menu-item .nui-menu-item__action{color:var(--nui-color-text-default,#111)}.nui-select-popup-host.nui-popup__area .nui-menu-item.item-selected .nui-menu-item__action{background-color:var(--nui-color-selected,rgba(0, 196, 210, .1));color:var(--nui-color-text-default,#111);font-weight:600}.nui-select-popup-host.nui-popup__area .nui-menu-item.item-selected .nui-menu-item__action:hover{background-color:var(--nui-color-selected-hover,rgba(0, 196, 210, .2))}.nui-select-popup-host.nui-select--justified.nui-popup__area{max-width:none}.nui-select-popup-host.nui-select--justified .nui-popup__content .menu-button{display:flex;flex-grow:1;max-width:none}.nui-combobox-popup-host{max-width:300px;max-height:300px}.nui-combobox-popup-host.nui-overlay .nui-menu-item .nui-menu-item__action{color:var(--nui-color-text-default,#111)}.nui-combobox-popup-host.nui-overlay .nui-menu-item.item-selected .nui-menu-item__action{background-color:var(--nui-color-selected,rgba(0, 196, 210, .1));color:var(--nui-color-text-default,#111);font-weight:600}.nui-combobox-popup-host.nui-overlay .nui-menu-item.item-selected .nui-menu-item__action:hover{background-color:var(--nui-color-selected-hover,rgba(0, 196, 210, .2))}.nui-combobox-popup-host .nui-combobox__menu{max-height:300px;overflow-y:auto;max-width:400px;overflow-y:initial}.nui-combobox-popup-host.nui-combobox--justified{max-width:none}.nui-selector-append-to-body-host.nui-popup__area{left:-35px;min-width:100px;border:none;color:var(--nui-color-text-link,#0079aa)}.nui-selector-append-to-body-host.nui-popup__area .nui-repeat .nui-repeat-item{border:0}.nui-selector-host.nui-popup__area{min-width:100px;border:none;color:var(--nui-color-text-link,#0079aa)}.nui-selector-host.nui-popup__area .nui-repeat .nui-repeat-item{border:0}.nui-selector-popup-area{min-width:100px;border:none;color:var(--nui-color-text-link,#0079aa)}.nui-selector-popup-area .nui-repeat .nui-repeat-item{border:0}.popup-adapter-overlay .nui-menu-popup-host{min-width:150px;max-width:450px;max-height:300px}.popup-adapter-overlay .nui-menu-popup-host.nui-select--justified{max-width:unset}.popup-adapter-overlay .nui-menu-popup-host .nui-popup__area--container{overflow-x:hidden;overflow-y:auto;margin:5px 0}.popup-adapter-overlay.nui-overlay-panel .nui-overlay{visibility:hidden;padding:0}.popup-adapter-overlay.visible .nui-overlay{visibility:visible}\n"], components: [{ type: OverlayComponent, selector: "nui-overlay", inputs: ["overlayConfig", "toggleReference", "viewportMargin", "customContainer", "roleAttr"], outputs: ["clickOutside"] }], directives: [{ type: ClickInterceptorDirective, selector: "[nuiClickInterceptor]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
7137
7080
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PopupComponent, decorators: [{
|
|
7138
7081
|
type: Component,
|
|
@@ -7141,7 +7084,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
7141
7084
|
role: "dialog",
|
|
7142
7085
|
"[attr.aria-label]": "ariaLabel",
|
|
7143
7086
|
}, template: "<div\n nuiClickInterceptor\n class=\"nui-popup-container\"\n [class.nui-popup--opened]=\"isOpen\"\n>\n <div class=\"nui-popup__content\">\n <ng-content></ng-content>\n </div>\n <div #popupArea></div>\n\n <nui-overlay\n [toggleReference]=\"toggleReference\"\n [overlayConfig]=\"overlayConfig\"\n [customContainer]=\"customContainer\"\n >\n <div class=\"nui-popup__area\">\n <div class=\"nui-popup__area--container\">\n <ng-content select=\"[popupAreaContent]\"></ng-content>\n </div>\n </div>\n </nui-overlay>\n</div>\n", styles: [".nui-popup{display:inline-flex;position:relative}.nui-popup__content{display:inline-flex;flex-direction:row}.nui-select-popup-host.nui-popup__area{width:auto}.nui-select-popup-host.nui-popup__area .nui-menu-item .nui-menu-item__action{color:var(--nui-color-text-default,#111)}.nui-select-popup-host.nui-popup__area .nui-menu-item.item-selected .nui-menu-item__action{background-color:var(--nui-color-selected,rgba(0, 196, 210, .1));color:var(--nui-color-text-default,#111);font-weight:600}.nui-select-popup-host.nui-popup__area .nui-menu-item.item-selected .nui-menu-item__action:hover{background-color:var(--nui-color-selected-hover,rgba(0, 196, 210, .2))}.nui-select-popup-host.nui-select--justified.nui-popup__area{max-width:none}.nui-select-popup-host.nui-select--justified .nui-popup__content .menu-button{display:flex;flex-grow:1;max-width:none}.nui-combobox-popup-host{max-width:300px;max-height:300px}.nui-combobox-popup-host.nui-overlay .nui-menu-item .nui-menu-item__action{color:var(--nui-color-text-default,#111)}.nui-combobox-popup-host.nui-overlay .nui-menu-item.item-selected .nui-menu-item__action{background-color:var(--nui-color-selected,rgba(0, 196, 210, .1));color:var(--nui-color-text-default,#111);font-weight:600}.nui-combobox-popup-host.nui-overlay .nui-menu-item.item-selected .nui-menu-item__action:hover{background-color:var(--nui-color-selected-hover,rgba(0, 196, 210, .2))}.nui-combobox-popup-host .nui-combobox__menu{max-height:300px;overflow-y:auto;max-width:400px;overflow-y:initial}.nui-combobox-popup-host.nui-combobox--justified{max-width:none}.nui-selector-append-to-body-host.nui-popup__area{left:-35px;min-width:100px;border:none;color:var(--nui-color-text-link,#0079aa)}.nui-selector-append-to-body-host.nui-popup__area .nui-repeat .nui-repeat-item{border:0}.nui-selector-host.nui-popup__area{min-width:100px;border:none;color:var(--nui-color-text-link,#0079aa)}.nui-selector-host.nui-popup__area .nui-repeat .nui-repeat-item{border:0}.nui-selector-popup-area{min-width:100px;border:none;color:var(--nui-color-text-link,#0079aa)}.nui-selector-popup-area .nui-repeat .nui-repeat-item{border:0}.popup-adapter-overlay .nui-menu-popup-host{min-width:150px;max-width:450px;max-height:300px}.popup-adapter-overlay .nui-menu-popup-host.nui-select--justified{max-width:unset}.popup-adapter-overlay .nui-menu-popup-host .nui-popup__area--container{overflow-x:hidden;overflow-y:auto;margin:5px 0}.popup-adapter-overlay.nui-overlay-panel .nui-overlay{visibility:hidden;padding:0}.popup-adapter-overlay.visible .nui-overlay{visibility:visible}\n"] }]
|
|
7144
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
7087
|
+
}], ctorParameters: function () { return [{ type: i1$2.Overlay }, { type: i0.ChangeDetectorRef }, { type: EventBusService }, { type: i0.ElementRef }, { type: Document, decorators: [{
|
|
7145
7088
|
type: Inject,
|
|
7146
7089
|
args: [DOCUMENT]
|
|
7147
7090
|
}] }]; }, propDecorators: { popupToggle: [{
|
|
@@ -7374,7 +7317,7 @@ class TooltipComponent {
|
|
|
7374
7317
|
this._markForCheck();
|
|
7375
7318
|
}
|
|
7376
7319
|
}
|
|
7377
|
-
TooltipComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TooltipComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1$
|
|
7320
|
+
TooltipComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TooltipComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1$2.ScrollDispatcher }, { token: i0.NgZone }, { token: i1$2.Overlay }], target: i0.ɵɵFactoryTarget.Component });
|
|
7378
7321
|
TooltipComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: TooltipComponent, selector: "nui-tooltip-component", host: { attributes: { "aria-hidden": "true", "role": "tooltip" }, listeners: { "body:click": "this._handleBodyInteraction()" } }, viewQueries: [{ propertyName: "overlayComponent", first: true, predicate: OverlayComponent, descendants: true, static: true }], ngImport: i0, template: `
|
|
7379
7322
|
<nui-overlay
|
|
7380
7323
|
[toggleReference]="toggleReference.nativeElement"
|
|
@@ -7411,7 +7354,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
7411
7354
|
</div>
|
|
7412
7355
|
</nui-overlay>
|
|
7413
7356
|
`, styles: [".nui-tooltip-body{background-color:var(--nui-color-bg-inverse,#111);color:var(--nui-color-text-inverse,#fff);font-size:11px;line-height:14px;overflow:hidden;word-wrap:break-word;margin:10px;max-width:250px;padding:5px 10px;box-shadow:0 0 5px 0 var(--nui-shadow-color, rgba(17, 17, 17, .3))}.nui-tooltip-body.with-nui-overlay{margin:unset}\n"] }]
|
|
7414
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i1$
|
|
7357
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i1$2.ScrollDispatcher }, { type: i0.NgZone }, { type: i1$2.Overlay }]; }, propDecorators: { overlayComponent: [{
|
|
7415
7358
|
type: ViewChild,
|
|
7416
7359
|
args: [OverlayComponent, { static: true }]
|
|
7417
7360
|
}] } });
|
|
@@ -7588,7 +7531,7 @@ class TooltipDirective {
|
|
|
7588
7531
|
return !(this.disabled || !this.message || this._isTooltipVisible());
|
|
7589
7532
|
}
|
|
7590
7533
|
}
|
|
7591
|
-
TooltipDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TooltipDirective, deps: [{ token: i0.ElementRef }, { token: i0.ViewContainerRef }, { token: i0.NgZone }, { token: i1$
|
|
7534
|
+
TooltipDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TooltipDirective, deps: [{ token: i0.ElementRef }, { token: i0.ViewContainerRef }, { token: i0.NgZone }, { token: i1$3.AriaDescriber }, { token: i1$3.FocusMonitor }, { token: i0.ComponentFactoryResolver }, { token: OverlayPositionService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
7592
7535
|
TooltipDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: TooltipDirective, selector: "[nuiTooltip]", inputs: { position: ["tooltipPlacement", "position"], disabled: ["nuiTooltipDisabled", "disabled"], message: ["nuiTooltip", "message"] }, host: { listeners: { "longpress": "show()", "keydown": "_handleKeydown($event)", "touchend": "_handleTouchend()" } }, providers: [OverlayPositionService], exportAs: ["nuiTooltip"], ngImport: i0 });
|
|
7593
7536
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TooltipDirective, decorators: [{
|
|
7594
7537
|
type: Directive,
|
|
@@ -7602,7 +7545,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
7602
7545
|
},
|
|
7603
7546
|
providers: [OverlayPositionService],
|
|
7604
7547
|
}]
|
|
7605
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ViewContainerRef }, { type: i0.NgZone }, { type: i1$
|
|
7548
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ViewContainerRef }, { type: i0.NgZone }, { type: i1$3.AriaDescriber }, { type: i1$3.FocusMonitor }, { type: i0.ComponentFactoryResolver }, { type: OverlayPositionService }]; }, propDecorators: { position: [{
|
|
7606
7549
|
type: Input,
|
|
7607
7550
|
args: ["tooltipPlacement"]
|
|
7608
7551
|
}], disabled: [{
|
|
@@ -7692,6 +7635,68 @@ const NUI_SELECT_V2_OPTION_PARENT_COMPONENT = new InjectionToken("NUI_SELECT_V2_
|
|
|
7692
7635
|
const ANNOUNCER_OPEN_MESSAGE_SUFFIX = "options available";
|
|
7693
7636
|
const ANNOUNCER_CLOSE_MESSAGE = "Dropdown closed";
|
|
7694
7637
|
|
|
7638
|
+
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
7639
|
+
//
|
|
7640
|
+
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7641
|
+
// of this software and associated documentation files (the "Software"), to
|
|
7642
|
+
// deal in the Software without restriction, including without limitation the
|
|
7643
|
+
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
7644
|
+
// sell copies of the Software, and to permit persons to whom the Software is
|
|
7645
|
+
// furnished to do so, subject to the following conditions:
|
|
7646
|
+
//
|
|
7647
|
+
// The above copyright notice and this permission notice shall be included in
|
|
7648
|
+
// all copies or substantial portions of the Software.
|
|
7649
|
+
//
|
|
7650
|
+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
7651
|
+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
7652
|
+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
7653
|
+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
7654
|
+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
7655
|
+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
7656
|
+
// THE SOFTWARE.
|
|
7657
|
+
/** @deprecated */
|
|
7658
|
+
var KEY_CODE;
|
|
7659
|
+
(function (KEY_CODE) {
|
|
7660
|
+
KEY_CODE[KEY_CODE["BACKSPACE"] = 8] = "BACKSPACE";
|
|
7661
|
+
KEY_CODE[KEY_CODE["TAB"] = 9] = "TAB";
|
|
7662
|
+
KEY_CODE[KEY_CODE["ENTER"] = 13] = "ENTER";
|
|
7663
|
+
KEY_CODE[KEY_CODE["ESCAPE"] = 27] = "ESCAPE";
|
|
7664
|
+
KEY_CODE[KEY_CODE["SPACE"] = 32] = "SPACE";
|
|
7665
|
+
KEY_CODE[KEY_CODE["PAGE_UP"] = 33] = "PAGE_UP";
|
|
7666
|
+
KEY_CODE[KEY_CODE["PAGE_DOWN"] = 34] = "PAGE_DOWN";
|
|
7667
|
+
KEY_CODE[KEY_CODE["END"] = 35] = "END";
|
|
7668
|
+
KEY_CODE[KEY_CODE["HOME"] = 36] = "HOME";
|
|
7669
|
+
KEY_CODE[KEY_CODE["LEFT_ARROW"] = 37] = "LEFT_ARROW";
|
|
7670
|
+
KEY_CODE[KEY_CODE["UP_ARROW"] = 38] = "UP_ARROW";
|
|
7671
|
+
KEY_CODE[KEY_CODE["RIGHT_ARROW"] = 39] = "RIGHT_ARROW";
|
|
7672
|
+
KEY_CODE[KEY_CODE["DOWN_ARROW"] = 40] = "DOWN_ARROW";
|
|
7673
|
+
KEY_CODE[KEY_CODE["DELETE"] = 46] = "DELETE";
|
|
7674
|
+
KEY_CODE[KEY_CODE["X"] = 88] = "X";
|
|
7675
|
+
KEY_CODE[KEY_CODE["ASTERISK"] = 106] = "ASTERISK";
|
|
7676
|
+
KEY_CODE[KEY_CODE["PLUS"] = 107] = "PLUS";
|
|
7677
|
+
KEY_CODE[KEY_CODE["MINUS"] = 109] = "MINUS";
|
|
7678
|
+
KEY_CODE[KEY_CODE["TILDE"] = 192] = "TILDE";
|
|
7679
|
+
})(KEY_CODE || (KEY_CODE = {}));
|
|
7680
|
+
var KEYBOARD_CODE;
|
|
7681
|
+
(function (KEYBOARD_CODE) {
|
|
7682
|
+
KEYBOARD_CODE["ARROW_DOWN"] = "ArrowDown";
|
|
7683
|
+
KEYBOARD_CODE["ARROW_LEFT"] = "ArrowLeft";
|
|
7684
|
+
KEYBOARD_CODE["ARROW_RIGHT"] = "ArrowRight";
|
|
7685
|
+
KEYBOARD_CODE["ARROW_UP"] = "ArrowUp";
|
|
7686
|
+
KEYBOARD_CODE["BACKSPACE"] = "Backspace";
|
|
7687
|
+
KEYBOARD_CODE["ENTER"] = "Enter";
|
|
7688
|
+
KEYBOARD_CODE["END"] = "End";
|
|
7689
|
+
KEYBOARD_CODE["ESCAPE"] = "Escape";
|
|
7690
|
+
KEYBOARD_CODE["HOME"] = "Home";
|
|
7691
|
+
KEYBOARD_CODE["PAGE_DOWN"] = "PageDown";
|
|
7692
|
+
KEYBOARD_CODE["PAGE_UP"] = "PageUp";
|
|
7693
|
+
KEYBOARD_CODE["SHIFT_LEFT"] = "ShiftLeft";
|
|
7694
|
+
KEYBOARD_CODE["SHIFT_RIGHT"] = "ShiftRight";
|
|
7695
|
+
KEYBOARD_CODE["SPACE"] = "Space";
|
|
7696
|
+
KEYBOARD_CODE["TAB"] = "Tab";
|
|
7697
|
+
KEYBOARD_CODE["DELETE"] = "Delete";
|
|
7698
|
+
})(KEYBOARD_CODE || (KEYBOARD_CODE = {}));
|
|
7699
|
+
|
|
7695
7700
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
7696
7701
|
class OptionKeyControlService {
|
|
7697
7702
|
constructor(liveAnnouncer) {
|
|
@@ -7799,11 +7804,11 @@ class OptionKeyControlService {
|
|
|
7799
7804
|
this.liveAnnouncer.announce(message);
|
|
7800
7805
|
}
|
|
7801
7806
|
}
|
|
7802
|
-
OptionKeyControlService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: OptionKeyControlService, deps: [{ token: i1$
|
|
7807
|
+
OptionKeyControlService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: OptionKeyControlService, deps: [{ token: i1$3.LiveAnnouncer }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7803
7808
|
OptionKeyControlService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: OptionKeyControlService });
|
|
7804
7809
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: OptionKeyControlService, decorators: [{
|
|
7805
7810
|
type: Injectable
|
|
7806
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
7811
|
+
}], ctorParameters: function () { return [{ type: i1$3.LiveAnnouncer }]; } });
|
|
7807
7812
|
|
|
7808
7813
|
/**
|
|
7809
7814
|
* @ignore
|
|
@@ -7936,7 +7941,6 @@ const DEFAULT_SELECT_OVERLAY_CONFIG = {
|
|
|
7936
7941
|
};
|
|
7937
7942
|
const V_SCROLL_HEIGHT_BUFFER = 10;
|
|
7938
7943
|
// Will be renamed in scope of the NUI-5797
|
|
7939
|
-
// eslint-disable-next-line @angular-eslint/directive-class-suffix
|
|
7940
7944
|
class BaseSelectV2 {
|
|
7941
7945
|
constructor(optionKeyControlService, cdRef, elRef, liveAnnouncer) {
|
|
7942
7946
|
this.optionKeyControlService = optionKeyControlService;
|
|
@@ -8165,7 +8169,8 @@ class BaseSelectV2 {
|
|
|
8165
8169
|
// Using type assertion to avoid compilation error, undefined elements are filtered but compiler do not infer the type properly
|
|
8166
8170
|
this._selectedOptions = (value
|
|
8167
8171
|
.map((v) => this.options?.find((option) => _isEqual(option.value, v)))
|
|
8168
|
-
.filter((_) => _));
|
|
8172
|
+
.filter((_) => _));
|
|
8173
|
+
// removes 'undefined' elements out of the array if any
|
|
8169
8174
|
this._selectedOptions.forEach((option) => (option.outfiltered = true));
|
|
8170
8175
|
}
|
|
8171
8176
|
else {
|
|
@@ -8299,11 +8304,11 @@ class BaseSelectV2 {
|
|
|
8299
8304
|
this.liveAnnouncer.announce(msg);
|
|
8300
8305
|
}
|
|
8301
8306
|
}
|
|
8302
|
-
BaseSelectV2.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BaseSelectV2, deps: [{ token: OptionKeyControlService }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i1$
|
|
8307
|
+
BaseSelectV2.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BaseSelectV2, deps: [{ token: OptionKeyControlService }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i1$3.LiveAnnouncer }], target: i0.ɵɵFactoryTarget.Directive });
|
|
8303
8308
|
BaseSelectV2.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: BaseSelectV2, inputs: { placeholder: "placeholder", popupViewportMargin: "popupViewportMargin", overlayConfig: "overlayConfig", multiselect: "multiselect", manualDropdownControl: "manualDropdownControl", value: "value", dropdownCustomContainer: "dropdownCustomContainer", syncWidth: "syncWidth", isDisabled: "isDisabled", isInErrorState: "isInErrorState", ariaLabel: "ariaLabel" }, outputs: { valueSelected: "valueSelected", valueChanged: "valueChanged", clickOutsideDropdown: "clickOutsideDropdown" }, host: { listeners: { "mousedown": "onMouseDown()", "mouseup": "onMouseUp($event.target)", "focusin": "onFocusIn()", "window:resize": "onWindowResize()" }, properties: { "class.disabled": "this.isDisabled", "class.has-error": "this.isInErrorState" } }, queries: [{ propertyName: "cdkVirtualScroll", first: true, predicate: CdkVirtualScrollViewport, descendants: true }, { propertyName: "options", predicate: i0.forwardRef(function () { return SelectV2OptionComponent; }), descendants: true }, { propertyName: "allPopupItems", predicate: i0.forwardRef(function () { return OVERLAY_ITEM; }), descendants: true }], viewQueries: [{ propertyName: "inputElement", first: true, predicate: ["input"], descendants: true }, { propertyName: "dropdown", first: true, predicate: OverlayComponent, descendants: true }], usesOnChanges: true, ngImport: i0 });
|
|
8304
8309
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BaseSelectV2, decorators: [{
|
|
8305
8310
|
type: Directive
|
|
8306
|
-
}], ctorParameters: function () { return [{ type: OptionKeyControlService }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i1$
|
|
8311
|
+
}], ctorParameters: function () { return [{ type: OptionKeyControlService }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i1$3.LiveAnnouncer }]; }, propDecorators: { placeholder: [{
|
|
8307
8312
|
type: Input
|
|
8308
8313
|
}], popupViewportMargin: [{
|
|
8309
8314
|
type: Input
|
|
@@ -8523,11 +8528,11 @@ class SelectedItemsKeyControlService {
|
|
|
8523
8528
|
return this.activeItem?.cdRef.context.item.label || "";
|
|
8524
8529
|
}
|
|
8525
8530
|
}
|
|
8526
|
-
SelectedItemsKeyControlService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SelectedItemsKeyControlService, deps: [{ token: i1$
|
|
8531
|
+
SelectedItemsKeyControlService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SelectedItemsKeyControlService, deps: [{ token: i1$3.LiveAnnouncer }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
8527
8532
|
SelectedItemsKeyControlService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SelectedItemsKeyControlService });
|
|
8528
8533
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SelectedItemsKeyControlService, decorators: [{
|
|
8529
8534
|
type: Injectable
|
|
8530
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
8535
|
+
}], ctorParameters: function () { return [{ type: i1$3.LiveAnnouncer }]; } });
|
|
8531
8536
|
|
|
8532
8537
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
8533
8538
|
// <example-url>./../examples/index.html#/combobox-v2</example-url>
|
|
@@ -8751,7 +8756,7 @@ class ComboboxV2Component extends BaseSelectV2 {
|
|
|
8751
8756
|
!this.options.find((option) => optionName(option) === inputValue));
|
|
8752
8757
|
}
|
|
8753
8758
|
}
|
|
8754
|
-
ComboboxV2Component.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ComboboxV2Component, deps: [{ token: i0.ElementRef }, { token: OptionKeyControlService }, { token: i0.ChangeDetectorRef }, { token: SelectedItemsKeyControlService }, { token: i1$
|
|
8759
|
+
ComboboxV2Component.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ComboboxV2Component, deps: [{ token: i0.ElementRef }, { token: OptionKeyControlService }, { token: i0.ChangeDetectorRef }, { token: SelectedItemsKeyControlService }, { token: i1$3.LiveAnnouncer }], target: i0.ɵɵFactoryTarget.Component });
|
|
8755
8760
|
ComboboxV2Component.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ComboboxV2Component, selector: "nui-combobox-v2", inputs: { displayWith: "displayWith", isRemoveValueEnabled: "isRemoveValueEnabled", isTypeaheadEnabled: "isTypeaheadEnabled" }, outputs: { searchEmpty: "searchEmpty", canCreateOption: "canCreateOption" }, host: { attributes: { "role": "combobox", "aria-haspopup": "listbox", "aria-owns": "nui-overlay" }, properties: { "attr.aria-expanded": "isDropdownOpen || false" }, classAttribute: "nui-combobox-v2" }, providers: [
|
|
8756
8761
|
OptionKeyControlService,
|
|
8757
8762
|
SelectedItemsKeyControlService,
|
|
@@ -8796,7 +8801,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
8796
8801
|
"aria-haspopup": "listbox",
|
|
8797
8802
|
"aria-owns": "nui-overlay",
|
|
8798
8803
|
}, template: "<div\n class=\"w-100 d-flex flex-wrap align-items-center pt-2\"\n [attr.role]=\"multiselect && selectedOptions.length ? 'list' : null\"\n>\n <ng-content select=\"[selectedItems]\"></ng-content>\n\n <input\n class=\"nui-combobox-v2__input pb-2\"\n type=\"text\"\n [attr.aria-label]=\"ariaLabel || 'input'\"\n [class.has-error]=\"isInErrorState\"\n [disabled]=\"isDisabled\"\n [(ngModel)]=\"inputValue\"\n [placeholder]=\"placeholder\"\n (input)=\"handleInput(input.value)\"\n (keydown)=\"onKeyDown($event)\"\n (click)=\"selectTextInInput()\"\n #input\n />\n</div>\n<button\n tabindex=\"0\"\n *ngIf=\"isRemoveValueEnabled && (selectedOptions[0] || inputValue)\"\n nui-button\n class=\"nui-combobox-v2__remove-value action\"\n (click)=\"clearValue($event)\"\n [isEmpty]=\"true\"\n icon=\"remove\"\n type=\"button\"\n [nuiTooltip]=\"clearValueButtonTooltip\"\n [class.disabled]=\"isDisabled\"\n [disabled]=\"isDisabled\"\n></button>\n<button\n tabindex=\"-1\"\n class=\"nui-combobox-v2__toggle action\"\n nui-button\n type=\"button\"\n [isEmpty]=\"true\"\n icon=\"caret-down\"\n [class.rotate]=\"isDropdownOpen\"\n [class.disabled]=\"isDisabled\"\n [disabled]=\"isDisabled\"\n (click)=\"selectTextInInput()\"\n></button>\n<nui-overlay\n roleAttr=\"listbox\"\n [toggleReference]=\"elRef.nativeElement\"\n [viewportMargin]=\"popupViewportMargin\"\n [overlayConfig]=\"overlayConfig\"\n>\n <ng-content></ng-content>\n</nui-overlay>\n", styles: [".nui-combobox-v2{border-color:var(--nui-color-line-default,#d9d9d9);border-width:1px;border-style:solid;border-radius:3px;background:var(--nui-color-bg-content,#fff);box-shadow:inset 0 1px 1px #00000013;display:flex;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;color:var(--nui-color-text-default,#111);min-height:28px;line-height:23px;min-width:100px;font-size:13px}.nui-combobox-v2:hover{border-color:var(--nui-color-line-default-hover,#b3b3b3)}.nui-combobox-v2:focus-within,.nui-combobox-v2:focus{border-color:var(--nui-color-line-active,#0079aa);outline:none}.nui-combobox-v2.error,.nui-combobox-v2.has-error{border-color:var(--nui-color-line-critical,#dd2c00)}.nui-combobox-v2.error:hover,.nui-combobox-v2.has-error:hover,.nui-combobox-v2.error:focus,.nui-combobox-v2.has-error:focus,.nui-combobox-v2.error:active,.nui-combobox-v2.has-error:active{border-color:var(--nui-color-line-critical,#dd2c00)}.nui-combobox-v2.disabled,.nui-combobox-v2[disabled]{background:var(--nui-color-disabled-secondary,#e8e8e8);border-color:transparent;cursor:not-allowed}.nui-combobox-v2.disabled:hover,.nui-combobox-v2[disabled]:hover{background:var(--nui-color-disabled-secondary,#e8e8e8);border-color:transparent}.nui-combobox-v2[readonly]{color:var(--nui-color-text-secondary,rgba(17, 17, 17, .6));background:var(--nui-color-disabled-secondary,#e8e8e8);border-color:transparent;cursor:default}.nui-combobox-v2[readonly]:hover,.nui-combobox-v2[readonly]:focus,.nui-combobox-v2[readonly]:active{color:var(--nui-color-text-secondary,rgba(17, 17, 17, .6));background:var(--nui-color-disabled-secondary,#e8e8e8);border-color:transparent}.nui-combobox-v2.disabled{color:var(--nui-color-text-disabled,rgba(17, 17, 17, .3));-webkit-user-select:none;-o-user-select:none;user-select:none}.nui-combobox-v2__input{flex:1;outline:none;box-sizing:border-box;border:none;background-color:transparent;background-image:none;min-height:23px;height:23px;resize:vertical;padding:0 10px;overflow-y:hidden;cursor:text;width:inherit;white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;text-overflow:ellipsis}.nui-combobox-v2__input[disabled]{cursor:not-allowed}.nui-combobox-v2__input[disabled]::placeholder{color:var(--nui-color-text-disabled,rgba(17, 17, 17, .3))}.nui-combobox-v2__input::placeholder{color:var(--nui-color-text-secondary,rgba(17, 17, 17, .6));font-size:13px;font-weight:400;margin-right:5px;white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;text-overflow:ellipsis}.nui-combobox-v2__remove-value.nui-button.action{border:none;border-radius:0;border-right:1px solid;border-right-color:var(--nui-color-line-default,#d9d9d9);min-height:28px;max-height:28px;align-self:center}.nui-combobox-v2__remove-value.nui-button.action:hover,.nui-combobox-v2__remove-value.nui-button.action:focus,.nui-combobox-v2__remove-value.nui-button.action:active{border-right:1px solid;border-right-color:var(--nui-color-line-default,#d9d9d9)}.nui-combobox-v2__remove-value.nui-button.action:focus{border-radius:3px;outline:none;z-index:500;box-shadow:inset 0 0 0 2px #00c4d280}.nui-combobox-v2__toggle.nui-button.action{min-height:28px;max-height:28px;align-self:center}.nui-combobox-v2__toggle.nui-button.action.rotate nui-icon{transform:rotate(180deg)}\n"] }]
|
|
8799
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: OptionKeyControlService }, { type: i0.ChangeDetectorRef }, { type: SelectedItemsKeyControlService }, { type: i1$
|
|
8804
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: OptionKeyControlService }, { type: i0.ChangeDetectorRef }, { type: SelectedItemsKeyControlService }, { type: i1$3.LiveAnnouncer }]; }, propDecorators: { displayWith: [{
|
|
8800
8805
|
type: Input
|
|
8801
8806
|
}], isRemoveValueEnabled: [{
|
|
8802
8807
|
type: Input
|
|
@@ -9036,15 +9041,12 @@ class DndDropTargetDirective {
|
|
|
9036
9041
|
this.showDropZone$,
|
|
9037
9042
|
draggedItem$,
|
|
9038
9043
|
]).pipe(switchMap(([showDropZone, drag]) => {
|
|
9039
|
-
|
|
9040
|
-
|
|
9041
|
-
|
|
9042
|
-
|
|
9043
|
-
|
|
9044
|
-
|
|
9045
|
-
}
|
|
9046
|
-
this._canLastDragItemBeDropped = result;
|
|
9047
|
-
return of(result);
|
|
9044
|
+
const canBeDropped = showDropZone
|
|
9045
|
+
? this.canBeDropped?.(drag.data, this.targetDropList) ??
|
|
9046
|
+
true
|
|
9047
|
+
: false;
|
|
9048
|
+
this._canLastDragItemBeDropped = canBeDropped;
|
|
9049
|
+
return of(canBeDropped);
|
|
9048
9050
|
}), distinctUntilChanged(), shareReplay());
|
|
9049
9051
|
// If consumer will not subscribe in the template to canDrop$ we should set proper classes anyway.
|
|
9050
9052
|
// That's why we're subscribing also here, the number of observables will remain the same because of shareReplay
|
|
@@ -9075,7 +9077,7 @@ class DndDropTargetDirective {
|
|
|
9075
9077
|
this._destroy$.complete();
|
|
9076
9078
|
}
|
|
9077
9079
|
}
|
|
9078
|
-
DndDropTargetDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DndDropTargetDirective, deps: [{ token:
|
|
9080
|
+
DndDropTargetDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DndDropTargetDirective, deps: [{ token: i1.CdkDropList }, { token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
9079
9081
|
DndDropTargetDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: DndDropTargetDirective, selector: "[cdkDropList][nuiDndDropTarget]", inputs: { canBeDropped: "canBeDropped" }, host: { properties: { "class.nui-dnd-dropzone": "true", "class.nui-dnd-dropzone--active": "isDropZoneActive", "class.nui-dnd-dropzone--drop-allowed": "isDropZoneActive && canLastDragItemBeDropped", "class.nui-dnd-dropzone--drop-not-allowed": "isDropZoneActive && canLastDragItemBeDropped === false" } }, queries: [{ propertyName: "draggables", predicate: CdkDrag, descendants: true }], exportAs: ["nuiDndDropTarget"], ngImport: i0 });
|
|
9080
9082
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DndDropTargetDirective, decorators: [{
|
|
9081
9083
|
type: Directive,
|
|
@@ -9091,7 +9093,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
9091
9093
|
"[class.nui-dnd-dropzone--drop-not-allowed]": "isDropZoneActive && canLastDragItemBeDropped === false",
|
|
9092
9094
|
},
|
|
9093
9095
|
}]
|
|
9094
|
-
}], ctorParameters: function () { return [{ type:
|
|
9096
|
+
}], ctorParameters: function () { return [{ type: i1.CdkDropList }, { type: i0.Renderer2 }, { type: i0.ElementRef }]; }, propDecorators: { draggables: [{
|
|
9095
9097
|
type: ContentChildren,
|
|
9096
9098
|
args: [CdkDrag, { descendants: true }]
|
|
9097
9099
|
}], canBeDropped: [{
|
|
@@ -9545,6 +9547,7 @@ class TableVirtualScrollDirective {
|
|
|
9545
9547
|
this.offset = DEFAULT_TABLE_HEADER_OFFSET;
|
|
9546
9548
|
// Converting parameters to numbers here to avoid inputs become strings in case user sets rowHeight and offset
|
|
9547
9549
|
// without square brackets in the template
|
|
9550
|
+
// eslint-disable-next-line import/no-deprecated
|
|
9548
9551
|
this.scrollStrategy = new TableVirtualScrollStrategy(+this.rowHeight, +this.offset);
|
|
9549
9552
|
}
|
|
9550
9553
|
ngOnChanges() {
|
|
@@ -10291,7 +10294,7 @@ class TableComponent extends CdkTable {
|
|
|
10291
10294
|
this.tableStateHandlerService.hasVirtualScroll = !!this.virtualFor;
|
|
10292
10295
|
}
|
|
10293
10296
|
}
|
|
10294
|
-
TableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TableComponent, deps: [{ token: i0.IterableDiffers }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: "role", attribute: true }, { token: i1$
|
|
10297
|
+
TableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TableComponent, deps: [{ token: i0.IterableDiffers }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: "role", attribute: true }, { token: i1$4.Directionality }, { token: TableStateHandlerService }, { token: DOCUMENT }, { token: i1$1.Platform }, { token: _VIEW_REPEATER_STRATEGY }, { token: _COALESCED_STYLE_SCHEDULER }, { token: i1$5.ViewportRuler }, { token: STICKY_POSITIONING_LISTENER, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
10295
10298
|
TableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: TableComponent, selector: "nui-table, table[nui-table]", inputs: { reorderable: "reorderable", sortable: "sortable", resizable: "resizable", selectable: "selectable", totalItems: "totalItems", dataSource: "dataSource", selection: "selection", sortedColumn: "sortedColumn" }, outputs: { columnsOrderChange: "columnsOrderChange", sortOrderChanged: "sortOrderChanged", selectionChange: "selectionChange" }, host: { properties: { "class.nui-table__table-fixed": "this.layoutFixed" }, classAttribute: "nui-table__table" }, providers: [
|
|
10296
10299
|
TableStateHandlerService,
|
|
10297
10300
|
{
|
|
@@ -10321,16 +10324,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
10321
10324
|
}], ctorParameters: function () { return [{ type: i0.IterableDiffers }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: undefined, decorators: [{
|
|
10322
10325
|
type: Attribute,
|
|
10323
10326
|
args: ["role"]
|
|
10324
|
-
}] }, { type: i1$
|
|
10327
|
+
}] }, { type: i1$4.Directionality }, { type: TableStateHandlerService }, { type: Document, decorators: [{
|
|
10325
10328
|
type: Inject,
|
|
10326
10329
|
args: [DOCUMENT]
|
|
10327
|
-
}] }, { type: i1.Platform }, { type: undefined, decorators: [{
|
|
10330
|
+
}] }, { type: i1$1.Platform }, { type: undefined, decorators: [{
|
|
10328
10331
|
type: Inject,
|
|
10329
10332
|
args: [_VIEW_REPEATER_STRATEGY]
|
|
10330
10333
|
}] }, { type: i5$1._CoalescedStyleScheduler, decorators: [{
|
|
10331
10334
|
type: Inject,
|
|
10332
10335
|
args: [_COALESCED_STYLE_SCHEDULER]
|
|
10333
|
-
}] }, { type: i1$
|
|
10336
|
+
}] }, { type: i1$5.ViewportRuler }, { type: undefined, decorators: [{
|
|
10334
10337
|
type: Optional
|
|
10335
10338
|
}, {
|
|
10336
10339
|
type: SkipSelf
|
|
@@ -10517,7 +10520,9 @@ class TableStickyHeaderDirective {
|
|
|
10517
10520
|
const resize$ = new Subject();
|
|
10518
10521
|
// Note: Passing the resize event to resize$ subject to be able
|
|
10519
10522
|
// to handle all the columnWidth update trigger in a single stream
|
|
10520
|
-
const resizeObserver = new ResizeObserver(() =>
|
|
10523
|
+
const resizeObserver = new ResizeObserver(() => {
|
|
10524
|
+
resize$.next();
|
|
10525
|
+
});
|
|
10521
10526
|
resizeObserver.observe(this.viewportEl);
|
|
10522
10527
|
this.unsubscribe$
|
|
10523
10528
|
.pipe(take$1(1), tap(() => resize$.complete()))
|
|
@@ -10594,7 +10599,7 @@ class TableStickyHeaderDirective {
|
|
|
10594
10599
|
this.setSticky();
|
|
10595
10600
|
}
|
|
10596
10601
|
}
|
|
10597
|
-
TableStickyHeaderDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TableStickyHeaderDirective, deps: [{ token: i0.Renderer2 }, { token: i1$
|
|
10602
|
+
TableStickyHeaderDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TableStickyHeaderDirective, deps: [{ token: i0.Renderer2 }, { token: i1$5.CdkVirtualScrollViewport }], target: i0.ɵɵFactoryTarget.Directive });
|
|
10598
10603
|
TableStickyHeaderDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: TableStickyHeaderDirective, selector: "cdk-virtual-scroll-viewport[tableStickyHeader]", inputs: { tableStickyHeader: "tableStickyHeader" }, host: { properties: { "class.sticky-table-header": "true" }, styleAttribute: "overflow-y:overlay" }, queries: [{ propertyName: "table", first: true, predicate: TableComponent, descendants: true }, { propertyName: "virtualFor", first: true, predicate: CdkVirtualForOf, descendants: true }], ngImport: i0 });
|
|
10599
10604
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TableStickyHeaderDirective, decorators: [{
|
|
10600
10605
|
type: Directive,
|
|
@@ -10605,7 +10610,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
10605
10610
|
style: "overflow-y:overlay",
|
|
10606
10611
|
},
|
|
10607
10612
|
}]
|
|
10608
|
-
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i1$
|
|
10613
|
+
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i1$5.CdkVirtualScrollViewport }]; }, propDecorators: { table: [{
|
|
10609
10614
|
type: ContentChild,
|
|
10610
10615
|
args: [TableComponent]
|
|
10611
10616
|
}], virtualFor: [{
|
|
@@ -11208,9 +11213,7 @@ class PopoverComponent {
|
|
|
11208
11213
|
else {
|
|
11209
11214
|
this.onTrigger("click");
|
|
11210
11215
|
}
|
|
11211
|
-
this.eventBusService
|
|
11212
|
-
.getStream({ id: DOCUMENT_CLICK_EVENT })
|
|
11213
|
-
.next(event);
|
|
11216
|
+
this.eventBusService.getStream(DOCUMENT_CLICK_EVENT).next(event);
|
|
11214
11217
|
event.stopPropagation();
|
|
11215
11218
|
}
|
|
11216
11219
|
onMouseEnter() {
|
|
@@ -11335,16 +11338,14 @@ class PopoverComponent {
|
|
|
11335
11338
|
}
|
|
11336
11339
|
}
|
|
11337
11340
|
activatePopover() {
|
|
11338
|
-
this.eventBusService.getStream(
|
|
11341
|
+
this.eventBusService.getStream(CLOSE_POPOVER_EVENT).next();
|
|
11339
11342
|
this.showPopover();
|
|
11340
11343
|
}
|
|
11341
11344
|
initializePopover() {
|
|
11342
11345
|
this.popoverModalSubscriptions = [];
|
|
11343
|
-
const closePopoverSubscription = merge(!this.preventClosing
|
|
11344
|
-
? this.eventBusService
|
|
11345
|
-
|
|
11346
|
-
.asObservable()
|
|
11347
|
-
: EMPTY, this.closePopover || EMPTY).subscribe(() => {
|
|
11346
|
+
const closePopoverSubscription = merge((!this.preventClosing
|
|
11347
|
+
? this.eventBusService.getStream(CLOSE_POPOVER_EVENT)
|
|
11348
|
+
: EMPTY), this.closePopover || EMPTY).subscribe(() => {
|
|
11348
11349
|
this.hidePopover();
|
|
11349
11350
|
});
|
|
11350
11351
|
if (!this.popover) {
|
|
@@ -11377,7 +11378,7 @@ class PopoverComponent {
|
|
|
11377
11378
|
});
|
|
11378
11379
|
if (this.isTriggerPresent("click") && !this.preventClosing) {
|
|
11379
11380
|
const documentClickSubscription = this.eventBusService
|
|
11380
|
-
.getStream(
|
|
11381
|
+
.getStream(DOCUMENT_CLICK_EVENT)
|
|
11381
11382
|
.subscribe((event) => {
|
|
11382
11383
|
const popoverModalNativeElement = this.popover?.instance.elRef.nativeElement;
|
|
11383
11384
|
const eventPath = UtilService.getEventPath(event);
|
|
@@ -11507,12 +11508,12 @@ class PopoverComponent {
|
|
|
11507
11508
|
this.resizeObserver.observe(this.overlayComponent.getOverlayRef().overlayElement);
|
|
11508
11509
|
}
|
|
11509
11510
|
}
|
|
11510
|
-
PopoverComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PopoverComponent, deps: [{ token: i0.ElementRef }, { token: i0.ComponentFactoryResolver }, { token: i0.ViewContainerRef }, { token: i1$
|
|
11511
|
+
PopoverComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PopoverComponent, deps: [{ token: i0.ElementRef }, { token: i0.ComponentFactoryResolver }, { token: i0.ViewContainerRef }, { token: i1$2.Overlay }, { token: i0.ChangeDetectorRef }, { token: EventBusService }, { token: PopoverPositionService }], target: i0.ɵɵFactoryTarget.Component });
|
|
11511
11512
|
PopoverComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PopoverComponent, selector: "nui-popover", inputs: { closePopover: "closePopover", openPopover: "openPopover", disabled: "disabled", trigger: "trigger", template: "template", placement: "placement", popoverTitle: "popoverTitle", icon: "icon", modal: "modal", container: "container", hasPadding: "hasPadding", preventClosing: "preventClosing", unlimited: "unlimited", delay: "delay", withGrowAfterOpen: "withGrowAfterOpen", popoverOverlayPosition: "popoverOverlayPosition" }, outputs: { shown: "shown", hidden: "hidden" }, host: { listeners: { "click": "onClick($event)", "mouseenter": "onMouseEnter()", "mouseleave": "onMouseLeave()", "focusin": "onFocusIn()", "focusout": "onFocusOut()" }, classAttribute: "nui-popover" }, providers: [PopoverPositionService], queries: [{ propertyName: "myTemplate", first: true, predicate: TemplateRef, descendants: true }], viewQueries: [{ propertyName: "renderContainer", first: true, predicate: ["renderContainer"], descendants: true }, { propertyName: "modalContainer", first: true, predicate: ["modalContainer"], descendants: true, read: ViewContainerRef }, { propertyName: "overlayComponent", first: true, predicate: OverlayComponent, descendants: true }], usesOnChanges: true, ngImport: i0, template: "<ng-content></ng-content>\n<nui-overlay\n [customContainer]=\"containerElementRef\"\n [toggleReference]=\"host.nativeElement\"\n [overlayConfig]=\"overlayConfig\"\n (clickOutside)=\"onBackdropClick()\"\n>\n <ng-template #modalContainer></ng-template>\n</nui-overlay>\n", styles: [".nui .nui-popover-container{padding:0;font-size:11px;border:none;background-color:var(--nui-color-bg-content_popover,#fff);background-clip:padding-box;border-radius:0;font-family:Open Sans,Helvetica Neue,Helvetica,Arial,sans-serif;font-style:normal;font-weight:400;letter-spacing:normal;line-break:auto;line-height:1.66666667;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;white-space:normal;word-break:normal;word-spacing:normal;word-wrap:normal}.nui .nui-popover-container:not(.unlimited){min-width:200px;max-width:350px;max-height:60vh}.nui .nui-popover-container-animation{-webkit-backface-visibility:hidden;backface-visibility:hidden}.nui .nui-popover-container__backdrop{position:absolute;top:0;right:0;bottom:0;left:0;position:fixed;background-color:var(--nui-color-overlay-modal,rgba(17, 17, 17, .5));z-index:1059;cursor:default}.nui .nui-popover-container__backdrop.ng-enter,.nui .nui-popover-container__backdrop.ng-leave{transition:all ease-in-out .2s}.nui .nui-popover-container__backdrop.ng-enter,.nui .nui-popover-container__backdrop.ng-leave.ng-leave-active{opacity:0}.nui .nui-popover-container__backdrop.ng-leave,.nui .nui-popover-container__backdrop.ng-enter.ng-enter-active{opacity:.5}.nui .nui-popover-container__backdrop.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:var(--nui-color-overlay-modal,rgba(17, 17, 17, .5))}.nui .nui-popover-container__backdrop.modal-backdrop.fade{opacity:0;filter:alpha(opacity=0)}.nui .nui-popover-container__backdrop.modal-backdrop.in{opacity:.5;filter:alpha(opacity=50)}.nui .nui-popover-container__frame{background-color:var(--nui-color-bg-content_popover,#fff)}.nui .nui-popover-container__frame.ng-enter,.nui .nui-popover-container__frame.ng-leave{transition:all ease-in-out .2s}.nui .nui-popover-container__frame.ng-enter,.nui .nui-popover-container__frame.ng-leave.ng-leave-active{opacity:0}.nui .nui-popover-container__frame.ng-leave,.nui .nui-popover-container__frame.ng-enter.ng-enter-active{opacity:1}.nui .nui-popover-container__header--with-border{border-bottom:1px solid #d9d9d9;border-bottom:1px solid var(--nui-color-line-default, #d9d9d9)}.nui .nui-popover-container__title{font-size:13px;font-weight:600;padding:10px;overflow:hidden;text-overflow:ellipsis;background-color:var(--nui-color-bg-content_popover,#fff);color:var(--nui-color-text-default,#111);white-space:nowrap}.nui .nui-popover-container__title--with-icon{padding-left:0}.nui .nui-popover-container__icon{float:left;margin:12px 5px 10px 10px}.nui .nui-popover-container__icon .nui-icon{margin:0}.nui .nui-popover-container__content{padding:10px;display:block;background-color:var(--nui-color-bg-content_popover,#fff)}.nui .nui-popover-container__content.noPadding{padding:0}.nui .nui-popover-container--shadow{box-shadow:0 3px 9px #11111180;box-shadow:0 3px 9px var(--nui-color-overlay-dark, rgba(17, 17, 17, .5))}.nui .nui-popover-container--hidden{visibility:hidden}.nui-popover-container-animation{box-shadow:0 0 5px 0 var(--nui-shadow-color, rgba(17, 17, 17, .3))}.overlay-left-bottom .nui-popover-container-animation .nui-overlay-arrow,.overlay-left-top .nui-popover-container-animation .nui-overlay-arrow{right:-6px}.overlay-right-bottom .nui-popover-container-animation .nui-overlay-arrow,.overlay-right-top .nui-popover-container-animation .nui-overlay-arrow{left:-6px}.overlay-left-top .nui-popover-container-animation .nui-overlay-arrow,.overlay-right-top .nui-popover-container-animation .nui-overlay-arrow{bottom:6px}.overlay-top-left .nui-popover-container-animation .nui-overlay-arrow,.overlay-top-right .nui-popover-container-animation .nui-overlay-arrow{bottom:-6px}.overlay-bottom-left .nui-popover-container-animation .nui-overlay-arrow,.overlay-bottom-right .nui-popover-container-animation .nui-overlay-arrow{top:-6px}.nui nui-popover-modal{display:flex;position:relative}.nui .nui-popover{display:inline-flex}.nui .modal-backdrop{background-color:var(--nui-color-overlay-modal,rgba(17, 17, 17, .5))}.nui .nui-popover-overlay{transform:none!important}.nui .nui-popover-overlay .nui-overlay{overflow:initial}\n"], components: [{ type: OverlayComponent, selector: "nui-overlay", inputs: ["overlayConfig", "toggleReference", "viewportMargin", "customContainer", "roleAttr"], outputs: ["clickOutside"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
11512
11513
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PopoverComponent, decorators: [{
|
|
11513
11514
|
type: Component,
|
|
11514
11515
|
args: [{ selector: "nui-popover", host: { class: "nui-popover" }, encapsulation: ViewEncapsulation.None, providers: [PopoverPositionService], template: "<ng-content></ng-content>\n<nui-overlay\n [customContainer]=\"containerElementRef\"\n [toggleReference]=\"host.nativeElement\"\n [overlayConfig]=\"overlayConfig\"\n (clickOutside)=\"onBackdropClick()\"\n>\n <ng-template #modalContainer></ng-template>\n</nui-overlay>\n", styles: [".nui .nui-popover-container{padding:0;font-size:11px;border:none;background-color:var(--nui-color-bg-content_popover,#fff);background-clip:padding-box;border-radius:0;font-family:Open Sans,Helvetica Neue,Helvetica,Arial,sans-serif;font-style:normal;font-weight:400;letter-spacing:normal;line-break:auto;line-height:1.66666667;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;white-space:normal;word-break:normal;word-spacing:normal;word-wrap:normal}.nui .nui-popover-container:not(.unlimited){min-width:200px;max-width:350px;max-height:60vh}.nui .nui-popover-container-animation{-webkit-backface-visibility:hidden;backface-visibility:hidden}.nui .nui-popover-container__backdrop{position:absolute;top:0;right:0;bottom:0;left:0;position:fixed;background-color:var(--nui-color-overlay-modal,rgba(17, 17, 17, .5));z-index:1059;cursor:default}.nui .nui-popover-container__backdrop.ng-enter,.nui .nui-popover-container__backdrop.ng-leave{transition:all ease-in-out .2s}.nui .nui-popover-container__backdrop.ng-enter,.nui .nui-popover-container__backdrop.ng-leave.ng-leave-active{opacity:0}.nui .nui-popover-container__backdrop.ng-leave,.nui .nui-popover-container__backdrop.ng-enter.ng-enter-active{opacity:.5}.nui .nui-popover-container__backdrop.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:var(--nui-color-overlay-modal,rgba(17, 17, 17, .5))}.nui .nui-popover-container__backdrop.modal-backdrop.fade{opacity:0;filter:alpha(opacity=0)}.nui .nui-popover-container__backdrop.modal-backdrop.in{opacity:.5;filter:alpha(opacity=50)}.nui .nui-popover-container__frame{background-color:var(--nui-color-bg-content_popover,#fff)}.nui .nui-popover-container__frame.ng-enter,.nui .nui-popover-container__frame.ng-leave{transition:all ease-in-out .2s}.nui .nui-popover-container__frame.ng-enter,.nui .nui-popover-container__frame.ng-leave.ng-leave-active{opacity:0}.nui .nui-popover-container__frame.ng-leave,.nui .nui-popover-container__frame.ng-enter.ng-enter-active{opacity:1}.nui .nui-popover-container__header--with-border{border-bottom:1px solid #d9d9d9;border-bottom:1px solid var(--nui-color-line-default, #d9d9d9)}.nui .nui-popover-container__title{font-size:13px;font-weight:600;padding:10px;overflow:hidden;text-overflow:ellipsis;background-color:var(--nui-color-bg-content_popover,#fff);color:var(--nui-color-text-default,#111);white-space:nowrap}.nui .nui-popover-container__title--with-icon{padding-left:0}.nui .nui-popover-container__icon{float:left;margin:12px 5px 10px 10px}.nui .nui-popover-container__icon .nui-icon{margin:0}.nui .nui-popover-container__content{padding:10px;display:block;background-color:var(--nui-color-bg-content_popover,#fff)}.nui .nui-popover-container__content.noPadding{padding:0}.nui .nui-popover-container--shadow{box-shadow:0 3px 9px #11111180;box-shadow:0 3px 9px var(--nui-color-overlay-dark, rgba(17, 17, 17, .5))}.nui .nui-popover-container--hidden{visibility:hidden}.nui-popover-container-animation{box-shadow:0 0 5px 0 var(--nui-shadow-color, rgba(17, 17, 17, .3))}.overlay-left-bottom .nui-popover-container-animation .nui-overlay-arrow,.overlay-left-top .nui-popover-container-animation .nui-overlay-arrow{right:-6px}.overlay-right-bottom .nui-popover-container-animation .nui-overlay-arrow,.overlay-right-top .nui-popover-container-animation .nui-overlay-arrow{left:-6px}.overlay-left-top .nui-popover-container-animation .nui-overlay-arrow,.overlay-right-top .nui-popover-container-animation .nui-overlay-arrow{bottom:6px}.overlay-top-left .nui-popover-container-animation .nui-overlay-arrow,.overlay-top-right .nui-popover-container-animation .nui-overlay-arrow{bottom:-6px}.overlay-bottom-left .nui-popover-container-animation .nui-overlay-arrow,.overlay-bottom-right .nui-popover-container-animation .nui-overlay-arrow{top:-6px}.nui nui-popover-modal{display:flex;position:relative}.nui .nui-popover{display:inline-flex}.nui .modal-backdrop{background-color:var(--nui-color-overlay-modal,rgba(17, 17, 17, .5))}.nui .nui-popover-overlay{transform:none!important}.nui .nui-popover-overlay .nui-overlay{overflow:initial}\n"] }]
|
|
11515
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ComponentFactoryResolver }, { type: i0.ViewContainerRef }, { type: i1$
|
|
11516
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ComponentFactoryResolver }, { type: i0.ViewContainerRef }, { type: i1$2.Overlay }, { type: i0.ChangeDetectorRef }, { type: EventBusService }, { type: PopoverPositionService }]; }, propDecorators: { closePopover: [{
|
|
11516
11517
|
type: Input
|
|
11517
11518
|
}], openPopover: [{
|
|
11518
11519
|
type: Input
|
|
@@ -11697,7 +11698,7 @@ class WizardFooterComponent {
|
|
|
11697
11698
|
: null;
|
|
11698
11699
|
}
|
|
11699
11700
|
}
|
|
11700
|
-
WizardFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WizardFooterComponent, deps: [{ token: i1$
|
|
11701
|
+
WizardFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WizardFooterComponent, deps: [{ token: i1$3.FocusMonitor }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
11701
11702
|
WizardFooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: WizardFooterComponent, selector: "wizard-footer", inputs: { footer: "footer" }, host: { attributes: { "role": "tab" }, classAttribute: "nui-wizard-footer" }, ngImport: i0, template: "<ng-container\n *ngIf=\"_templateFooter()\"\n [ngTemplateOutlet]=\"_templateFooter()!.template\"\n></ng-container>\n", styles: [".nui-wizard-footer{border-top:1px solid;border-top-color:var(--nui-color-line-default,#d9d9d9);padding:15px;display:flex;justify-content:flex-end;width:100%}.nui-wizard-footer>.nui-button{margin-left:15px}\n"], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
11702
11703
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WizardFooterComponent, decorators: [{
|
|
11703
11704
|
type: Component,
|
|
@@ -11705,10 +11706,34 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
11705
11706
|
class: "nui-wizard-footer",
|
|
11706
11707
|
role: "tab",
|
|
11707
11708
|
}, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container\n *ngIf=\"_templateFooter()\"\n [ngTemplateOutlet]=\"_templateFooter()!.template\"\n></ng-container>\n", styles: [".nui-wizard-footer{border-top:1px solid;border-top-color:var(--nui-color-line-default,#d9d9d9);padding:15px;display:flex;justify-content:flex-end;width:100%}.nui-wizard-footer>.nui-button{margin-left:15px}\n"] }]
|
|
11708
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
11709
|
+
}], ctorParameters: function () { return [{ type: i1$3.FocusMonitor }, { type: i0.ElementRef }]; }, propDecorators: { footer: [{
|
|
11709
11710
|
type: Input
|
|
11710
11711
|
}] } });
|
|
11711
11712
|
|
|
11713
|
+
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
11714
|
+
const WIZARD_CONFIG = new InjectionToken("wizard.conf");
|
|
11715
|
+
const WIZARD_STEP_STATE_DEFAULT_CONFIG = {
|
|
11716
|
+
initial: {
|
|
11717
|
+
icon: "step",
|
|
11718
|
+
iconColor: "gray",
|
|
11719
|
+
},
|
|
11720
|
+
visited: {
|
|
11721
|
+
icon: "step-complete",
|
|
11722
|
+
iconColor: "primary-blue",
|
|
11723
|
+
},
|
|
11724
|
+
active: {
|
|
11725
|
+
icon: "step-active",
|
|
11726
|
+
iconColor: "black",
|
|
11727
|
+
},
|
|
11728
|
+
error: {
|
|
11729
|
+
icon: "step-active",
|
|
11730
|
+
iconColor: "black",
|
|
11731
|
+
},
|
|
11732
|
+
};
|
|
11733
|
+
const WIZARD_CONFIG_DEFAULT = {
|
|
11734
|
+
stepState: { ...WIZARD_STEP_STATE_DEFAULT_CONFIG },
|
|
11735
|
+
};
|
|
11736
|
+
|
|
11712
11737
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
11713
11738
|
class WizardStepLabelDirective extends CdkStepLabel {
|
|
11714
11739
|
}
|
|
@@ -11886,7 +11911,7 @@ class WizardStepHeaderComponent extends CdkStepHeader {
|
|
|
11886
11911
|
return STEP_STATE.NUMBER;
|
|
11887
11912
|
}
|
|
11888
11913
|
}
|
|
11889
|
-
WizardStepHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WizardStepHeaderComponent, deps: [{ token: i1$
|
|
11914
|
+
WizardStepHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WizardStepHeaderComponent, deps: [{ token: i1$3.FocusMonitor }, { token: i0.ElementRef }, { token: WIZARD_CONFIG, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
11890
11915
|
WizardStepHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: WizardStepHeaderComponent, selector: "nui-wizard-step-header", inputs: { stepStateConfig: "stepStateConfig", label: "label", optionalLabel: "optionalLabel", errorMessage: "errorMessage", index: "index", selected: "selected", active: "active", step: "step" }, host: { attributes: { "role": "tab" }, properties: { "class.nui-wizard-step-header--selected": "selected", "class.nui-wizard-step-header--optional": "step.optional", "class.nui-wizard-step-header--completed": "stepState === 'done'" }, classAttribute: "nui-wizard-step-header" }, usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<div\n class=\"nui-wizard-step-header__label\"\n [nuiTooltip]=\"stringLabel ? stringLabel : ''\"\n [class.nui-wizard-step-header__label--active]=\"step.completed\"\n [class.nui-wizard-step-header__label--selected]=\"selected\"\n [class.nui-wizard-step-header__label--error]=\"stepState === 'error'\"\n>\n <!-- If there is a label template, use it. -->\n <ng-container\n *ngIf=\"templateLabel\"\n [ngTemplateOutlet]=\"templateLabel?.template\"\n ></ng-container>\n\n <!-- If there is no label template, fall back to the text label. -->\n <div class=\"nui-wizard-step-header__text-label\" *ngIf=\"stringLabel\">\n {{ label }}\n </div>\n\n <div\n class=\"nui-wizard-step-header__label--optional\"\n *ngIf=\"step.optional && stepState !== 'error'\"\n >\n {{ optionalLabel }}\n </div>\n <div\n class=\"nui-wizard-step-header__label--error\"\n *ngIf=\"stepState === 'error'\"\n >\n {{ errorMessage }}\n </div>\n</div>\n\n<div\n class=\"nui-wizard-step-header-icon nui-step-header-icon-state--{{\n stepState\n }}\"\n>\n <div class=\"nui-wizard-step-header-icon-container\">\n <span class=\"nui-wizard-step-header-icon-content\">\n <ng-container>\n <nui-icon\n [icon]=\"stepStateConfigMap[stepState].icon\"\n [iconColor]=\"stepStateConfigMap[stepState].iconColor\"\n ></nui-icon>\n </ng-container>\n </span>\n </div>\n</div>\n", styles: [".nui-wizard-step-header{overflow:hidden;outline:none;cursor:pointer;position:relative;color:var(--nui-color-text-default,#111);width:145px}.nui-wizard-step-header--completed{color:var(--nui-color-text-link,#0079aa)}.nui-wizard-step-header:focus{outline:none;box-shadow:inset 0 0 0 2px #00c4d280;border-radius:3px}.nui-wizard-step-header:focus:not(:focus-visible){box-shadow:unset;border-radius:unset}.nui-wizard-step-header-icon{height:16px;width:16px;position:relative}.nui-popover-container__content .nui-wizard-step-header-icon{display:flex;align-self:flex-end}.nui-wizard-step-header-icon-content{font-size:16px;height:16px;width:16px;position:relative;top:4px}.nui-wizard-step-header-icon-container .nui-icon{position:relative;top:50%;left:50%;transform:translate(-50%,-50%)}.nui-wizard-step-header__label{display:inline-block;min-width:50px;max-width:130px;vertical-align:middle;padding-bottom:5px;line-height:14px;font-size:11px;white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;text-overflow:ellipsis;color:var(--nui-color-text-secondary,rgba(17, 17, 17, .6))}.nui-wizard-step-header__label--active{color:var(--nui-color-text-link,#0079aa)}.nui-wizard-step-header__label--selected{color:var(--nui-color-text-default,#111)}.nui-popover-container__content .nui-wizard-step-header__label{padding:0}.nui-wizard-step-header__text-label{white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;text-overflow:ellipsis}\n"], components: [{ type: IconComponent, selector: "nui-icon", inputs: ["iconColor", "brushType", "iconHoverColor", "iconSize", "cssClass", "fillContainer", "status", "childStatus", "icon", "counter"] }], directives: [{ type: TooltipDirective, selector: "[nuiTooltip]", inputs: ["tooltipPlacement", "nuiTooltipDisabled", "nuiTooltip"], exportAs: ["nuiTooltip"] }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
11891
11916
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WizardStepHeaderComponent, decorators: [{
|
|
11892
11917
|
type: Component,
|
|
@@ -11897,7 +11922,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
11897
11922
|
"[class.nui-wizard-step-header--completed]": "stepState === 'done'",
|
|
11898
11923
|
role: "tab",
|
|
11899
11924
|
}, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div\n class=\"nui-wizard-step-header__label\"\n [nuiTooltip]=\"stringLabel ? stringLabel : ''\"\n [class.nui-wizard-step-header__label--active]=\"step.completed\"\n [class.nui-wizard-step-header__label--selected]=\"selected\"\n [class.nui-wizard-step-header__label--error]=\"stepState === 'error'\"\n>\n <!-- If there is a label template, use it. -->\n <ng-container\n *ngIf=\"templateLabel\"\n [ngTemplateOutlet]=\"templateLabel?.template\"\n ></ng-container>\n\n <!-- If there is no label template, fall back to the text label. -->\n <div class=\"nui-wizard-step-header__text-label\" *ngIf=\"stringLabel\">\n {{ label }}\n </div>\n\n <div\n class=\"nui-wizard-step-header__label--optional\"\n *ngIf=\"step.optional && stepState !== 'error'\"\n >\n {{ optionalLabel }}\n </div>\n <div\n class=\"nui-wizard-step-header__label--error\"\n *ngIf=\"stepState === 'error'\"\n >\n {{ errorMessage }}\n </div>\n</div>\n\n<div\n class=\"nui-wizard-step-header-icon nui-step-header-icon-state--{{\n stepState\n }}\"\n>\n <div class=\"nui-wizard-step-header-icon-container\">\n <span class=\"nui-wizard-step-header-icon-content\">\n <ng-container>\n <nui-icon\n [icon]=\"stepStateConfigMap[stepState].icon\"\n [iconColor]=\"stepStateConfigMap[stepState].iconColor\"\n ></nui-icon>\n </ng-container>\n </span>\n </div>\n</div>\n", styles: [".nui-wizard-step-header{overflow:hidden;outline:none;cursor:pointer;position:relative;color:var(--nui-color-text-default,#111);width:145px}.nui-wizard-step-header--completed{color:var(--nui-color-text-link,#0079aa)}.nui-wizard-step-header:focus{outline:none;box-shadow:inset 0 0 0 2px #00c4d280;border-radius:3px}.nui-wizard-step-header:focus:not(:focus-visible){box-shadow:unset;border-radius:unset}.nui-wizard-step-header-icon{height:16px;width:16px;position:relative}.nui-popover-container__content .nui-wizard-step-header-icon{display:flex;align-self:flex-end}.nui-wizard-step-header-icon-content{font-size:16px;height:16px;width:16px;position:relative;top:4px}.nui-wizard-step-header-icon-container .nui-icon{position:relative;top:50%;left:50%;transform:translate(-50%,-50%)}.nui-wizard-step-header__label{display:inline-block;min-width:50px;max-width:130px;vertical-align:middle;padding-bottom:5px;line-height:14px;font-size:11px;white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;text-overflow:ellipsis;color:var(--nui-color-text-secondary,rgba(17, 17, 17, .6))}.nui-wizard-step-header__label--active{color:var(--nui-color-text-link,#0079aa)}.nui-wizard-step-header__label--selected{color:var(--nui-color-text-default,#111)}.nui-popover-container__content .nui-wizard-step-header__label{padding:0}.nui-wizard-step-header__text-label{white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;text-overflow:ellipsis}\n"] }]
|
|
11900
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
11925
|
+
}], ctorParameters: function () { return [{ type: i1$3.FocusMonitor }, { type: i0.ElementRef }, { type: undefined, decorators: [{
|
|
11901
11926
|
type: Optional
|
|
11902
11927
|
}, {
|
|
11903
11928
|
type: Inject,
|
|
@@ -12296,7 +12321,7 @@ WizardHorizontalComponent.ngAcceptInputTypeEditable = undefined;
|
|
|
12296
12321
|
WizardHorizontalComponent.ngAcceptInputTypeOptional = undefined;
|
|
12297
12322
|
WizardHorizontalComponent.ngAcceptInputTypeCompleted = undefined;
|
|
12298
12323
|
WizardHorizontalComponent.ngAcceptInputTypeHasError = undefined;
|
|
12299
|
-
WizardHorizontalComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WizardHorizontalComponent, deps: [{ token: i1$
|
|
12324
|
+
WizardHorizontalComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WizardHorizontalComponent, deps: [{ token: i1$4.Directionality }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Component });
|
|
12300
12325
|
WizardHorizontalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: WizardHorizontalComponent, selector: "nui-wizard-horizontal", inputs: { selectedIndex: "selectedIndex", labelPosition: "labelPosition" }, host: { attributes: { "aria-orientation": "horizontal", "role": "tablist" }, properties: { "class.nui-wizard-step-header__label-position--end": "labelPosition == 'end'", "class.nui-wizard-step-header__label-position--top": "labelPosition == 'top'" }, classAttribute: "nui-wizard-horizontal-layout" }, providers: [
|
|
12301
12326
|
{ provide: WizardDirective, useExisting: WizardHorizontalComponent },
|
|
12302
12327
|
{ provide: CdkStepper, useExisting: WizardHorizontalComponent },
|
|
@@ -12313,7 +12338,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
12313
12338
|
{ provide: WizardDirective, useExisting: WizardHorizontalComponent },
|
|
12314
12339
|
{ provide: CdkStepper, useExisting: WizardHorizontalComponent },
|
|
12315
12340
|
], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"nui-wizard-horizontal-header-container\" #headerContainer>\n <!-- Left overflow container -->\n <ng-container *ngIf=\"isInResponsiveMode && overflownStepsStart.length\">\n <nui-wizard-overflow\n #overflowComponent\n class=\"overflow-left\"\n [template]=\"overflowStart\"\n [completed]=\"true\"\n [value]=\"overflownStepsStart.length\"\n >\n </nui-wizard-overflow>\n\n <ng-template #overflowStart>\n <div *ngIf=\"overflownStepsStart.length\" class=\"pb-3\">\n <strong>+{{ overflownStepsStart.length }} more steps</strong>\n </div>\n <div\n class=\"nui-wizard-horizontal-header-wrapper\"\n *ngFor=\"\n let step of overflownStepsStart;\n let i = index;\n let isFirst = first\n \"\n >\n <ng-template\n *ngTemplateOutlet=\"\n stepHeaderWithLines;\n context: {\n $implicit: steps,\n step: step,\n i: i,\n isFirst: isFirst\n }\n \"\n ></ng-template>\n </div>\n </ng-template>\n </ng-container>\n\n <!-- Visible items container -->\n <div\n class=\"nui-wizard-horizontal-header-wrapper\"\n *ngFor=\"\n let step of isInResponsiveMode ? visibleSteps : steps;\n let i = index;\n let isFirst = first\n \"\n >\n <ng-template\n *ngTemplateOutlet=\"\n stepHeaderWithLines;\n context: {\n $implicit: steps,\n step: step,\n i: overflownStepsStart.length + i,\n isFirst: isFirst\n }\n \"\n ></ng-template>\n </div>\n\n <!-- Right overflow container -->\n <ng-container *ngIf=\"isInResponsiveMode && overflownStepsEnd.length\">\n <nui-wizard-overflow\n #overflowComponent\n class=\"overflow-right\"\n [class.overflow-right-completed]=\"allStepsCompleted\"\n [template]=\"overflowEnd\"\n [completed]=\"allStepsCompleted\"\n [value]=\"overflownStepsEnd.length\"\n >\n </nui-wizard-overflow>\n\n <ng-template #overflowEnd>\n <div *ngIf=\"overflownStepsEnd.length\" class=\"pb-3\">\n <strong>+{{ overflownStepsEnd.length }} more steps</strong>\n </div>\n <div\n class=\"nui-wizard-horizontal-header-wrapper\"\n *ngFor=\"\n let step of overflownStepsEnd;\n let i = index;\n let isFirst = first\n \"\n >\n <ng-template\n *ngTemplateOutlet=\"\n stepHeaderWithLines;\n context: {\n $implicit: steps,\n step: step,\n i:\n overflownStepsStart.length +\n visibleSteps.length +\n i,\n isFirst: isFirst\n }\n \"\n ></ng-template>\n </div>\n </ng-template>\n </ng-container>\n</div>\n\n<div class=\"nui-wizard-horizontal-content-container\">\n <div\n *ngFor=\"let step of steps; let i = index\"\n class=\"nui-wizard-horizontal-content\"\n role=\"tabpanel\"\n [id]=\"stepContentIds[i]\"\n [attr.aria-labelledby]=\"labelIds[i]\"\n [attr.aria-expanded]=\"selectedIndex === i\"\n >\n <ng-container [ngTemplateOutlet]=\"step.content\"></ng-container>\n </div>\n</div>\n<div\n *ngIf=\"selected?.stepFooter\"\n class=\"nui-wizard-horizontal-footer-container\"\n>\n <wizard-footer [footer]=\"selected?.stepFooter\"></wizard-footer>\n</div>\n\n<ng-template\n #stepHeaderWithLines\n let-steps\n let-step=\"step\"\n let-i=\"i\"\n let-isFirst=\"isFirst\"\n>\n <div\n *ngIf=\"!isFirst\"\n class=\"nui-wizard-horizontal__step-connector-line\"\n [ngClass]=\"{\n 'nui-wizard-horizontal__step-connector-line--completed':\n (stepsArray[i - 1]?.completed && step.completed) ||\n selectedIndex === i\n }\"\n ></div>\n <nui-wizard-step-header\n #stepHeaders\n class=\"nui-wizard-horizontal-header\"\n (click)=\"step.select()\"\n (keydown)=\"_onKeydown($event)\"\n [tabIndex]=\"selectedIndex === i ? 0 : -1\"\n [id]=\"labelIds[i]\"\n [attr.aria-posinset]=\"i + 1\"\n [attr.aria-setsize]=\"steps.length\"\n [attr.aria-controls]=\"stepContentIds[i]\"\n [attr.aria-selected]=\"selectedIndex === i\"\n [attr.aria-label]=\"step.ariaLabel || null\"\n [attr.aria-labelledby]=\"\n !step.ariaLabel && step.ariaLabelledby ? step.ariaLabelledby : null\n \"\n [index]=\"i\"\n [stepStateConfig]=\"step.stepStateConfig\"\n [label]=\"step.stepLabel || step.label\"\n [selected]=\"selectedIndex === i\"\n [active]=\"step.completed || selectedIndex === i || !linear\"\n [step]=\"step\"\n [errorMessage]=\"step.errorMessage\"\n >\n </nui-wizard-step-header>\n</ng-template>\n", styles: [".nui-wizard-vertical,.nui-wizard-horizontal{display:block}.nui-dialog .nui-wizard-vertical,.nui-dialog .nui-wizard-horizontal{padding-top:0}.nui-dialog .nui-wizard-vertical .nui-wizard-horizontal-header-container,.nui-dialog .nui-wizard-horizontal .nui-wizard-horizontal-header-container{border-top:none}.nui-wizard-horizontal-header{display:flex;min-height:32px;max-height:72px;align-items:center}.nui-popover-container__content .nui-wizard-horizontal-header{flex-flow:row-reverse;justify-content:flex-end;padding:0;min-height:17px}[dir=rtl] .nui-wizard-horizontal-header .nui-wizard-step-header-icon{margin-right:0;margin-left:0}.nui-popover-container__content .nui-wizard-horizontal-header .nui-wizard-step-header-icon{margin-right:5px}.nui-wizard-step-header__label-position--top .nui-wizard-horizontal-header{flex-direction:column;height:auto}.nui-wizard-step-header__label-position--top .nui-wizard-horizontal-header .nui-wizard-step-header-icon{margin-right:0;margin-left:0}.nui-wizard-horizontal-header-container{display:flex;justify-content:center;text-align:center;padding:10px;border:1px solid;border-left:none;border-right:none;overflow:hidden;white-space:nowrap;align-items:center;background-color:var(--nui-color-bg-secondary,#fafafa);border-color:var(--nui-color-line-default,#d9d9d9);-webkit-user-select:none;-o-user-select:none;user-select:none}.nui-wizard-horizontal-header-wrapper{position:relative}.nui-popover-container__content .nui-wizard-horizontal-header-wrapper:not(:last-child){margin-bottom:5px}.nui-popover-container__content .nui-wizard-horizontal-header-wrapper:hover{background-color:var(--nui-color-bg-secondary,#fafafa)}.nui-wizard-horizontal__step-connector-line{border-top-width:2px;border-top-style:solid;border-color:var(--nui-color-line-default,#d9d9d9)}.nui-wizard-horizontal__step-connector-line--completed{border-color:var(--nui-color-text-link,#0079aa)}.nui-wizard-step-header__label-position--top .nui-wizard-horizontal__step-connector-line{bottom:8px;right:80.5px;width:129px;position:absolute}.nui-popover-container__content .nui-wizard-horizontal__step-connector-line{position:absolute;top:-6px;left:7px;height:6px;border-left-width:1px;border-left-style:solid;border-top:none;border-bottom:none;border-right:none}.nui-wizard-horizontal-content{outline:0}.nui-wizard-horizontal-content[aria-expanded=false]{height:0;overflow:hidden}.nui-wizard-horizontal-content-container{overflow:hidden}.nui-wizard-vertical-content{outline:0;overflow:hidden}.nui-wizard-vertical-content-container{margin-left:36px;border:0;position:relative}[dir=rtl] .nui-wizard-vertical-content-container{margin-left:0;margin-right:36px}.nui-wizard-vertical-line:before{content:\"\";position:absolute;left:0;border-left-width:2px;border-left-style:solid}[dir=rtl] .nui-wizard-vertical-line:before{left:auto;right:0}.nui-step:last-child .nui-wizard-vertical-content-container{border:none}\n"] }]
|
|
12316
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
12341
|
+
}], ctorParameters: function () { return [{ type: i1$4.Directionality }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: undefined, decorators: [{
|
|
12317
12342
|
type: Inject,
|
|
12318
12343
|
args: [DOCUMENT]
|
|
12319
12344
|
}] }]; }, propDecorators: { selectedIndex: [{
|
|
@@ -12350,7 +12375,7 @@ WizardVerticalComponent.ngAcceptInputTypeEditable = undefined;
|
|
|
12350
12375
|
WizardVerticalComponent.ngAcceptInputTypeOptional = undefined;
|
|
12351
12376
|
WizardVerticalComponent.ngAcceptInputTypeCompleted = undefined;
|
|
12352
12377
|
WizardVerticalComponent.ngAcceptInputTypeHasError = undefined;
|
|
12353
|
-
WizardVerticalComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WizardVerticalComponent, deps: [{ token: i1$
|
|
12378
|
+
WizardVerticalComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WizardVerticalComponent, deps: [{ token: i1$4.Directionality, optional: true }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Component });
|
|
12354
12379
|
WizardVerticalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: WizardVerticalComponent, selector: "nui-wizard-vertical", inputs: { selectedIndex: "selectedIndex" }, host: { attributes: { "aria-orientation": "vertical", "role": "tablist" }, classAttribute: "nui-wizard-vertical-layout" }, providers: [
|
|
12355
12380
|
{ provide: WizardDirective, useExisting: WizardVerticalComponent },
|
|
12356
12381
|
{ provide: CdkStepper, useExisting: WizardVerticalComponent },
|
|
@@ -12365,7 +12390,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
12365
12390
|
{ provide: WizardDirective, useExisting: WizardVerticalComponent },
|
|
12366
12391
|
{ provide: CdkStepper, useExisting: WizardVerticalComponent },
|
|
12367
12392
|
], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div\n class=\"nui-wizard-vertical-header-container\"\n *ngFor=\"let step of steps; let i = index; let isLast = last\"\n>\n <nui-wizard-step-header\n class=\"nui-wizard-vertical-header\"\n (click)=\"step.select()\"\n (keydown)=\"_onKeydown($event)\"\n [tabIndex]=\"_getFocusIndex() === i ? 0 : -1\"\n [id]=\"labelIds[i]\"\n [attr.aria-posinset]=\"i + 1\"\n [attr.aria-setsize]=\"steps.length\"\n [attr.aria-controls]=\"stepContentIds[i]\"\n [attr.aria-selected]=\"selectedIndex === i\"\n [attr.aria-label]=\"step.ariaLabel || null\"\n [attr.aria-labelledby]=\"\n !step.ariaLabel && step.ariaLabelledby ? step.ariaLabelledby : null\n \"\n [index]=\"i\"\n [label]=\"step.stepLabel || step.label\"\n [selected]=\"selectedIndex === i\"\n [active]=\"step.completed || selectedIndex === i || !linear\"\n [errorMessage]=\"step.errorMessage\"\n >\n </nui-wizard-step-header>\n\n <div\n class=\"nui-wizard-vertical-content-container\"\n [class.nui-wizard-vertical-line]=\"!isLast\"\n >\n <div\n class=\"nui-wizard-vertical-content\"\n role=\"tabpanel\"\n [attr.tabindex]=\"selectedIndex === i ? 0 : null\"\n [id]=\"_getStepContentId(i)\"\n [attr.aria-labelledby]=\"_getStepLabelId(i)\"\n [attr.aria-expanded]=\"selectedIndex === i\"\n >\n <div class=\"nui-wizard-vertical-content\">\n <ng-container [ngTemplateOutlet]=\"step.content\"></ng-container>\n </div>\n </div>\n </div>\n</div>\n\n<div *ngIf=\"selected.stepFooter\" class=\"nui-wizard-vertical-footer-container\">\n <wizard-footer [footer]=\"selected.stepFooter\"></wizard-footer>\n</div>\n", styles: [".nui-wizard-vertical,.nui-wizard-horizontal{display:block}.nui-dialog .nui-wizard-vertical,.nui-dialog .nui-wizard-horizontal{padding-top:0}.nui-dialog .nui-wizard-vertical .nui-wizard-horizontal-header-container,.nui-dialog .nui-wizard-horizontal .nui-wizard-horizontal-header-container{border-top:none}.nui-wizard-horizontal-header{display:flex;min-height:32px;max-height:72px;align-items:center}.nui-popover-container__content .nui-wizard-horizontal-header{flex-flow:row-reverse;justify-content:flex-end;padding:0;min-height:17px}[dir=rtl] .nui-wizard-horizontal-header .nui-wizard-step-header-icon{margin-right:0;margin-left:0}.nui-popover-container__content .nui-wizard-horizontal-header .nui-wizard-step-header-icon{margin-right:5px}.nui-wizard-step-header__label-position--top .nui-wizard-horizontal-header{flex-direction:column;height:auto}.nui-wizard-step-header__label-position--top .nui-wizard-horizontal-header .nui-wizard-step-header-icon{margin-right:0;margin-left:0}.nui-wizard-horizontal-header-container{display:flex;justify-content:center;text-align:center;padding:10px;border:1px solid;border-left:none;border-right:none;overflow:hidden;white-space:nowrap;align-items:center;background-color:var(--nui-color-bg-secondary,#fafafa);border-color:var(--nui-color-line-default,#d9d9d9);-webkit-user-select:none;-o-user-select:none;user-select:none}.nui-wizard-horizontal-header-wrapper{position:relative}.nui-popover-container__content .nui-wizard-horizontal-header-wrapper:not(:last-child){margin-bottom:5px}.nui-popover-container__content .nui-wizard-horizontal-header-wrapper:hover{background-color:var(--nui-color-bg-secondary,#fafafa)}.nui-wizard-horizontal__step-connector-line{border-top-width:2px;border-top-style:solid;border-color:var(--nui-color-line-default,#d9d9d9)}.nui-wizard-horizontal__step-connector-line--completed{border-color:var(--nui-color-text-link,#0079aa)}.nui-wizard-step-header__label-position--top .nui-wizard-horizontal__step-connector-line{bottom:8px;right:80.5px;width:129px;position:absolute}.nui-popover-container__content .nui-wizard-horizontal__step-connector-line{position:absolute;top:-6px;left:7px;height:6px;border-left-width:1px;border-left-style:solid;border-top:none;border-bottom:none;border-right:none}.nui-wizard-horizontal-content{outline:0}.nui-wizard-horizontal-content[aria-expanded=false]{height:0;overflow:hidden}.nui-wizard-horizontal-content-container{overflow:hidden}.nui-wizard-vertical-content{outline:0;overflow:hidden}.nui-wizard-vertical-content-container{margin-left:36px;border:0;position:relative}[dir=rtl] .nui-wizard-vertical-content-container{margin-left:0;margin-right:36px}.nui-wizard-vertical-line:before{content:\"\";position:absolute;left:0;border-left-width:2px;border-left-style:solid}[dir=rtl] .nui-wizard-vertical-line:before{left:auto;right:0}.nui-step:last-child .nui-wizard-vertical-content-container{border:none}\n"] }]
|
|
12368
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
12393
|
+
}], ctorParameters: function () { return [{ type: i1$4.Directionality, decorators: [{
|
|
12369
12394
|
type: Optional
|
|
12370
12395
|
}] }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: undefined, decorators: [{
|
|
12371
12396
|
type: Inject,
|
|
@@ -12523,7 +12548,7 @@ class SelectV2Component extends BaseSelectV2 {
|
|
|
12523
12548
|
this.displayText = this.selectedOptions[0]?.viewValue || "";
|
|
12524
12549
|
}
|
|
12525
12550
|
}
|
|
12526
|
-
SelectV2Component.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SelectV2Component, deps: [{ token: i0.ElementRef }, { token: OptionKeyControlService }, { token: i0.ChangeDetectorRef }, { token: i1$
|
|
12551
|
+
SelectV2Component.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SelectV2Component, deps: [{ token: i0.ElementRef }, { token: OptionKeyControlService }, { token: i0.ChangeDetectorRef }, { token: i1$3.LiveAnnouncer }], target: i0.ɵɵFactoryTarget.Component });
|
|
12527
12552
|
SelectV2Component.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: SelectV2Component, selector: "nui-select-v2", inputs: { displayValueTemplate: "displayValueTemplate" }, host: { attributes: { "role": "button" }, classAttribute: "nui-select-v2" }, providers: [
|
|
12528
12553
|
OptionKeyControlService,
|
|
12529
12554
|
{
|
|
@@ -12563,7 +12588,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
12563
12588
|
class: "nui-select-v2",
|
|
12564
12589
|
role: "button",
|
|
12565
12590
|
}, template: "<div\n tabindex=\"0\"\n #input\n class=\"nui-select-v2__container\"\n [attr.aria-label]=\"ariaLabel\"\n (keydown)=\"onKeyDown($event)\"\n>\n <div *ngIf=\"!displayValueTemplate\" class=\"nui-select-v2__value\">\n <div *ngIf=\"!isEmpty\" class=\"nui-select-v2__value-content\">\n <span>{{ displayText || \"\\u00A0\" }}</span>\n </div>\n <span class=\"nui-select-v2__placeholder\" *ngIf=\"isEmpty\">{{\n placeholder || \"\\u00A0\"\n }}</span>\n\n <nui-icon\n [style.transform]=\"isDropdownOpen ? 'rotate(180deg)' : ''\"\n [icon]=\"caretIcon\"\n ></nui-icon>\n </div>\n\n <ng-container\n *ngIf=\"displayValueTemplate\"\n [ngTemplateOutlet]=\"displayValueTemplate\"\n [ngTemplateOutletContext]=\"{\n $implicit: getLastSelectedOption()?.displayValueContext || value,\n open: isDropdownOpen\n }\"\n ></ng-container>\n</div>\n<nui-overlay\n roleAttr=\"listbox\"\n [toggleReference]=\"elRef.nativeElement\"\n [viewportMargin]=\"popupViewportMargin\"\n [overlayConfig]=\"overlayConfig\"\n>\n <ng-content></ng-content>\n</nui-overlay>\n", styles: [".nui-select-v2{border-width:1px;border-style:solid;border-radius:3px;color:var(--nui-color-text-link,#0079aa);background-color:var(--transparent,transparent);border-color:var(--nui-color-line-default,#d9d9d9);display:flex;position:relative;color:var(--nui-color-text-default,#111);box-sizing:border-box;min-height:28px;min-width:100px}.nui-select-v2.default{color:var(--nui-color-text-link,#0079aa);background-color:var(--transparent,transparent);border-color:var(--nui-color-line-default,#d9d9d9)}.nui-select-v2.default:focus,.nui-select-v2.default.focus{color:var(--nui-color-text-link,#0079aa);background-color:var(--nui-color-bg-transparent-hover,rgba(17, 17, 17, .05));border-color:var(--nui-color-btn1-focusBrd,#cbcbcb);outline:none;z-index:500;box-shadow:0 0 0 2px #00c4d280}.nui-select-v2.default:hover{color:var(--nui-color-text-link,#0079aa);background-color:var(--nui-color-bg-transparent-hover,rgba(17, 17, 17, .05));border-color:var(--nui-color-btn1-focusBrd,#cbcbcb)}.nui-select-v2.default:active,.nui-select-v2.default.active,.open>.dropdown-toggle.nui-select-v2.default{color:var(--nui-color-text-link,#0079aa);background-color:var(--transparent,transparent);border-color:var(--nui-color-btn1-activeOpenBrd,#bababa)}.nui-select-v2.default:active:hover,.nui-select-v2.default.active:hover,.open>.dropdown-toggle.nui-select-v2.default:hover,.nui-select-v2.default:active:focus,.nui-select-v2.default.active:focus,.open>.dropdown-toggle.nui-select-v2.default:focus,.nui-select-v2.default:active.focus,.nui-select-v2.default.active.focus,.open>.dropdown-toggle.nui-select-v2.default.focus{color:var(--nui-color-text-link,#0079aa);background-color:var(--transparent,transparent);border-color:var(--nui-color-btn1-activeHoverBrd,#999999)}.nui-select-v2.default:active,.nui-select-v2.default.active,.open>.dropdown-toggle.nui-select-v2.default{background-image:none}.nui-select-v2.default.disabled,.nui-select-v2.default[disabled],fieldset[disabled] .nui-select-v2.default,.nui-select-v2.default.disabled:hover,.nui-select-v2.default[disabled]:hover,fieldset[disabled] .nui-select-v2.default:hover,.nui-select-v2.default.disabled:focus,.nui-select-v2.default[disabled]:focus,fieldset[disabled] .nui-select-v2.default:focus,.nui-select-v2.default.disabled.focus,.nui-select-v2.default[disabled].focus,fieldset[disabled] .nui-select-v2.default.focus,.nui-select-v2.default.disabled:active,.nui-select-v2.default[disabled]:active,fieldset[disabled] .nui-select-v2.default:active,.nui-select-v2.default.disabled.active,.nui-select-v2.default[disabled].active,fieldset[disabled] .nui-select-v2.default.active{background-color:var(--transparent,transparent);border-color:var(--nui-color-line-default,#d9d9d9);color:var(--nui-color-disabled,#b3b3b3)}.nui-select-v2.default.is-busy .ripple-1,.nui-select-v2.default.is-busy .ripple-2{background:var(--nui-color-busy-default,rgba(0, 196, 210, .2))}.nui-select-v2.default.has-error{border-color:var(--nui-color-line-critical,#dd2c00)}.nui-select-v2.default.has-error:hover,.nui-select-v2.default.has-error:focus,.nui-select-v2.default.has-error:active{border-color:var(--nui-color-line-critical,#dd2c00)}.nui-select-v2.default .badge{color:var(--transparent,transparent);background-color:var(--nui-color-text-link,#0079aa)}.nui-select-v2.default .nui-icon:not(.custom-icon-color) path,.nui-select-v2.default .nui-icon:not(.custom-icon-color) polygon{fill:var(--nui-color-text-link,#0079aa)}.nui-select-v2.default.disabled .nui-icon:not(.custom-icon-color) path,.nui-select-v2.default[disabled] .nui-icon:not(.custom-icon-color) path,fieldset[disabled] .nui-select-v2.default .nui-icon:not(.custom-icon-color) path,.nui-select-v2.default.disabled:hover .nui-icon:not(.custom-icon-color) path,.nui-select-v2.default[disabled]:hover .nui-icon:not(.custom-icon-color) path,fieldset[disabled] .nui-select-v2.default:hover .nui-icon:not(.custom-icon-color) path,.nui-select-v2.default.disabled:focus .nui-icon:not(.custom-icon-color) path,.nui-select-v2.default[disabled]:focus .nui-icon:not(.custom-icon-color) path,fieldset[disabled] .nui-select-v2.default:focus .nui-icon:not(.custom-icon-color) path,.nui-select-v2.default.disabled.focus .nui-icon:not(.custom-icon-color) path,.nui-select-v2.default[disabled].focus .nui-icon:not(.custom-icon-color) path,fieldset[disabled] .nui-select-v2.default.focus .nui-icon:not(.custom-icon-color) path,.nui-select-v2.default.disabled:active .nui-icon:not(.custom-icon-color) path,.nui-select-v2.default[disabled]:active .nui-icon:not(.custom-icon-color) path,fieldset[disabled] .nui-select-v2.default:active .nui-icon:not(.custom-icon-color) path,.nui-select-v2.default.disabled.active .nui-icon:not(.custom-icon-color) path,.nui-select-v2.default[disabled].active .nui-icon:not(.custom-icon-color) path,fieldset[disabled] .nui-select-v2.default.active .nui-icon:not(.custom-icon-color) path,.nui-select-v2.default.disabled .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.default[disabled] .nui-icon:not(.custom-icon-color) polygon,fieldset[disabled] .nui-select-v2.default .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.default.disabled:hover .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.default[disabled]:hover .nui-icon:not(.custom-icon-color) polygon,fieldset[disabled] .nui-select-v2.default:hover .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.default.disabled:focus .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.default[disabled]:focus .nui-icon:not(.custom-icon-color) polygon,fieldset[disabled] .nui-select-v2.default:focus .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.default.disabled.focus .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.default[disabled].focus .nui-icon:not(.custom-icon-color) polygon,fieldset[disabled] .nui-select-v2.default.focus .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.default.disabled:active .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.default[disabled]:active .nui-icon:not(.custom-icon-color) polygon,fieldset[disabled] .nui-select-v2.default:active .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.default.disabled.active .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.default[disabled].active .nui-icon:not(.custom-icon-color) polygon,fieldset[disabled] .nui-select-v2.default.active .nui-icon:not(.custom-icon-color) polygon{fill:var(--nui-color-disabled,#b3b3b3)}.nui-select-v2.primary{color:var(--nui-color-text-light,#fff);background-color:var(--nui-color-active,#0079aa);border-color:var(--transparent,transparent)}.nui-select-v2.primary:focus,.nui-select-v2.primary.focus{color:var(--nui-color-text-light,#fff);background-color:var(--nui-color-active-hover,#006d99);border-color:var(--transparent,transparent);outline:none;z-index:500;box-shadow:0 0 0 2px #00c4d280}.nui-select-v2.primary:hover{color:var(--nui-color-text-light,#fff);background-color:var(--nui-color-active-hover,#006d99);border-color:var(--transparent,transparent)}.nui-select-v2.primary:active,.nui-select-v2.primary.active,.open>.dropdown-toggle.nui-select-v2.primary{color:var(--nui-color-text-light,#fff);background-color:var(--nui-color-btn2-activeOpenBk,#004d6d);border-color:var(--transparent,transparent)}.nui-select-v2.primary:active:hover,.nui-select-v2.primary.active:hover,.open>.dropdown-toggle.nui-select-v2.primary:hover,.nui-select-v2.primary:active:focus,.nui-select-v2.primary.active:focus,.open>.dropdown-toggle.nui-select-v2.primary:focus,.nui-select-v2.primary:active.focus,.nui-select-v2.primary.active.focus,.open>.dropdown-toggle.nui-select-v2.primary.focus{color:var(--nui-color-text-light,#fff);background-color:var(--nui-color-btn2-activeHoverBk,#001e2a);border-color:var(--transparent,transparent)}.nui-select-v2.primary:active,.nui-select-v2.primary.active,.open>.dropdown-toggle.nui-select-v2.primary{background-image:none}.nui-select-v2.primary.disabled,.nui-select-v2.primary[disabled],fieldset[disabled] .nui-select-v2.primary,.nui-select-v2.primary.disabled:hover,.nui-select-v2.primary[disabled]:hover,fieldset[disabled] .nui-select-v2.primary:hover,.nui-select-v2.primary.disabled:focus,.nui-select-v2.primary[disabled]:focus,fieldset[disabled] .nui-select-v2.primary:focus,.nui-select-v2.primary.disabled.focus,.nui-select-v2.primary[disabled].focus,fieldset[disabled] .nui-select-v2.primary.focus,.nui-select-v2.primary.disabled:active,.nui-select-v2.primary[disabled]:active,fieldset[disabled] .nui-select-v2.primary:active,.nui-select-v2.primary.disabled.active,.nui-select-v2.primary[disabled].active,fieldset[disabled] .nui-select-v2.primary.active{background-color:var(--nui-color-disabled,#b3b3b3);border-color:var(--transparent,transparent);color:var(--white,#fff)}.nui-select-v2.primary.is-busy .ripple-1,.nui-select-v2.primary.is-busy .ripple-2{background:var(--nui-color-busy-default,rgba(0, 196, 210, .2))}.nui-select-v2.primary.has-error{border-color:var(--nui-color-line-critical,#dd2c00)}.nui-select-v2.primary.has-error:hover,.nui-select-v2.primary.has-error:focus,.nui-select-v2.primary.has-error:active{border-color:var(--nui-color-line-critical,#dd2c00)}.nui-select-v2.primary .badge{color:var(--nui-color-active,#0079aa);background-color:var(--nui-color-text-light,#fff)}.nui-select-v2.primary .nui-icon:not(.custom-icon-color) path,.nui-select-v2.primary .nui-icon:not(.custom-icon-color) polygon{fill:var(--nui-color-icon-light,#fff)}.nui-select-v2.primary.disabled .nui-icon:not(.custom-icon-color) path,.nui-select-v2.primary[disabled] .nui-icon:not(.custom-icon-color) path,fieldset[disabled] .nui-select-v2.primary .nui-icon:not(.custom-icon-color) path,.nui-select-v2.primary.disabled:hover .nui-icon:not(.custom-icon-color) path,.nui-select-v2.primary[disabled]:hover .nui-icon:not(.custom-icon-color) path,fieldset[disabled] .nui-select-v2.primary:hover .nui-icon:not(.custom-icon-color) path,.nui-select-v2.primary.disabled:focus .nui-icon:not(.custom-icon-color) path,.nui-select-v2.primary[disabled]:focus .nui-icon:not(.custom-icon-color) path,fieldset[disabled] .nui-select-v2.primary:focus .nui-icon:not(.custom-icon-color) path,.nui-select-v2.primary.disabled.focus .nui-icon:not(.custom-icon-color) path,.nui-select-v2.primary[disabled].focus .nui-icon:not(.custom-icon-color) path,fieldset[disabled] .nui-select-v2.primary.focus .nui-icon:not(.custom-icon-color) path,.nui-select-v2.primary.disabled:active .nui-icon:not(.custom-icon-color) path,.nui-select-v2.primary[disabled]:active .nui-icon:not(.custom-icon-color) path,fieldset[disabled] .nui-select-v2.primary:active .nui-icon:not(.custom-icon-color) path,.nui-select-v2.primary.disabled.active .nui-icon:not(.custom-icon-color) path,.nui-select-v2.primary[disabled].active .nui-icon:not(.custom-icon-color) path,fieldset[disabled] .nui-select-v2.primary.active .nui-icon:not(.custom-icon-color) path,.nui-select-v2.primary.disabled .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.primary[disabled] .nui-icon:not(.custom-icon-color) polygon,fieldset[disabled] .nui-select-v2.primary .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.primary.disabled:hover .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.primary[disabled]:hover .nui-icon:not(.custom-icon-color) polygon,fieldset[disabled] .nui-select-v2.primary:hover .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.primary.disabled:focus .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.primary[disabled]:focus .nui-icon:not(.custom-icon-color) polygon,fieldset[disabled] .nui-select-v2.primary:focus .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.primary.disabled.focus .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.primary[disabled].focus .nui-icon:not(.custom-icon-color) polygon,fieldset[disabled] .nui-select-v2.primary.focus .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.primary.disabled:active .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.primary[disabled]:active .nui-icon:not(.custom-icon-color) polygon,fieldset[disabled] .nui-select-v2.primary:active .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.primary.disabled.active .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.primary[disabled].active .nui-icon:not(.custom-icon-color) polygon,fieldset[disabled] .nui-select-v2.primary.active .nui-icon:not(.custom-icon-color) polygon{fill:var(--white,#fff)}.nui-select-v2.action{color:var(--nui-color-text-link,#0079aa);background-color:var(--transparent,transparent);border-color:var(--transparent,transparent)}.nui-select-v2.action:focus,.nui-select-v2.action.focus{color:var(--nui-color-text-link,#0079aa);background-color:var(--nui-color-bg-transparent-hover,rgba(17, 17, 17, .05));border-color:var(--transparent,transparent);outline:none;z-index:500;box-shadow:0 0 0 2px #00c4d280}.nui-select-v2.action:hover{color:var(--nui-color-text-link,#0079aa);background-color:var(--nui-color-bg-transparent-hover,rgba(17, 17, 17, .05));border-color:var(--transparent,transparent)}.nui-select-v2.action:active,.nui-select-v2.action.active,.open>.dropdown-toggle.nui-select-v2.action{color:var(--nui-color-text-link,#0079aa);background-color:var(--nui-color-bg-transparent-hover,rgba(17, 17, 17, .05));border-color:var(--transparent,transparent)}.nui-select-v2.action:active:hover,.nui-select-v2.action.active:hover,.open>.dropdown-toggle.nui-select-v2.action:hover,.nui-select-v2.action:active:focus,.nui-select-v2.action.active:focus,.open>.dropdown-toggle.nui-select-v2.action:focus,.nui-select-v2.action:active.focus,.nui-select-v2.action.active.focus,.open>.dropdown-toggle.nui-select-v2.action.focus{color:var(--nui-color-text-link,#0079aa);background-color:var(--nui-color-bg-transparent-hover,rgba(17, 17, 17, .05));border-color:var(--transparent,transparent)}.nui-select-v2.action:active,.nui-select-v2.action.active,.open>.dropdown-toggle.nui-select-v2.action{background-image:none}.nui-select-v2.action.disabled,.nui-select-v2.action[disabled],fieldset[disabled] .nui-select-v2.action,.nui-select-v2.action.disabled:hover,.nui-select-v2.action[disabled]:hover,fieldset[disabled] .nui-select-v2.action:hover,.nui-select-v2.action.disabled:focus,.nui-select-v2.action[disabled]:focus,fieldset[disabled] .nui-select-v2.action:focus,.nui-select-v2.action.disabled.focus,.nui-select-v2.action[disabled].focus,fieldset[disabled] .nui-select-v2.action.focus,.nui-select-v2.action.disabled:active,.nui-select-v2.action[disabled]:active,fieldset[disabled] .nui-select-v2.action:active,.nui-select-v2.action.disabled.active,.nui-select-v2.action[disabled].active,fieldset[disabled] .nui-select-v2.action.active{background-color:var(--transparent,transparent);border-color:var(--transparent,transparent);color:var(--nui-color-disabled,#b3b3b3)}.nui-select-v2.action.is-busy .ripple-1,.nui-select-v2.action.is-busy .ripple-2{background:var(--nui-color-busy-default,rgba(0, 196, 210, .2))}.nui-select-v2.action.has-error{border-color:var(--nui-color-line-critical,#dd2c00)}.nui-select-v2.action.has-error:hover,.nui-select-v2.action.has-error:focus,.nui-select-v2.action.has-error:active{border-color:var(--nui-color-line-critical,#dd2c00)}.nui-select-v2.action .badge{color:var(--transparent,transparent);background-color:var(--nui-color-text-link,#0079aa)}.nui-select-v2.action .nui-icon:not(.custom-icon-color) path,.nui-select-v2.action .nui-icon:not(.custom-icon-color) polygon{fill:var(--nui-color-text-link,#0079aa)}.nui-select-v2.action.disabled .nui-icon:not(.custom-icon-color) path,.nui-select-v2.action[disabled] .nui-icon:not(.custom-icon-color) path,fieldset[disabled] .nui-select-v2.action .nui-icon:not(.custom-icon-color) path,.nui-select-v2.action.disabled:hover .nui-icon:not(.custom-icon-color) path,.nui-select-v2.action[disabled]:hover .nui-icon:not(.custom-icon-color) path,fieldset[disabled] .nui-select-v2.action:hover .nui-icon:not(.custom-icon-color) path,.nui-select-v2.action.disabled:focus .nui-icon:not(.custom-icon-color) path,.nui-select-v2.action[disabled]:focus .nui-icon:not(.custom-icon-color) path,fieldset[disabled] .nui-select-v2.action:focus .nui-icon:not(.custom-icon-color) path,.nui-select-v2.action.disabled.focus .nui-icon:not(.custom-icon-color) path,.nui-select-v2.action[disabled].focus .nui-icon:not(.custom-icon-color) path,fieldset[disabled] .nui-select-v2.action.focus .nui-icon:not(.custom-icon-color) path,.nui-select-v2.action.disabled:active .nui-icon:not(.custom-icon-color) path,.nui-select-v2.action[disabled]:active .nui-icon:not(.custom-icon-color) path,fieldset[disabled] .nui-select-v2.action:active .nui-icon:not(.custom-icon-color) path,.nui-select-v2.action.disabled.active .nui-icon:not(.custom-icon-color) path,.nui-select-v2.action[disabled].active .nui-icon:not(.custom-icon-color) path,fieldset[disabled] .nui-select-v2.action.active .nui-icon:not(.custom-icon-color) path,.nui-select-v2.action.disabled .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.action[disabled] .nui-icon:not(.custom-icon-color) polygon,fieldset[disabled] .nui-select-v2.action .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.action.disabled:hover .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.action[disabled]:hover .nui-icon:not(.custom-icon-color) polygon,fieldset[disabled] .nui-select-v2.action:hover .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.action.disabled:focus .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.action[disabled]:focus .nui-icon:not(.custom-icon-color) polygon,fieldset[disabled] .nui-select-v2.action:focus .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.action.disabled.focus .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.action[disabled].focus .nui-icon:not(.custom-icon-color) polygon,fieldset[disabled] .nui-select-v2.action.focus .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.action.disabled:active .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.action[disabled]:active .nui-icon:not(.custom-icon-color) polygon,fieldset[disabled] .nui-select-v2.action:active .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.action.disabled.active .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.action[disabled].active .nui-icon:not(.custom-icon-color) polygon,fieldset[disabled] .nui-select-v2.action.active .nui-icon:not(.custom-icon-color) polygon{fill:var(--nui-color-disabled,#b3b3b3)}.nui-select-v2.destructive{color:var(--nui-color-text-critical,#dd2c00);background-color:var(--transparent,transparent);border-color:var(--nui-color-line-default,#d9d9d9)}.nui-select-v2.destructive:focus,.nui-select-v2.destructive.focus{color:var(--nui-color-text-critical,#dd2c00);background-color:var(--nui-color-bg-transparent-hover,rgba(17, 17, 17, .05));border-color:var(--nui-color-btn1-focusBrd,#cbcbcb);outline:none;z-index:500;box-shadow:0 0 0 2px #00c4d280}.nui-select-v2.destructive:hover{color:var(--nui-color-text-critical,#dd2c00);background-color:var(--nui-color-bg-transparent-hover,rgba(17, 17, 17, .05));border-color:var(--nui-color-btn1-focusBrd,#cbcbcb)}.nui-select-v2.destructive:active,.nui-select-v2.destructive.active,.open>.dropdown-toggle.nui-select-v2.destructive{color:var(--nui-color-text-critical,#dd2c00);background-color:var(--nui-color-bg-transparent-hover,rgba(17, 17, 17, .05));border-color:var(--nui-color-btn1-activeOpenBrd,#bababa)}.nui-select-v2.destructive:active:hover,.nui-select-v2.destructive.active:hover,.open>.dropdown-toggle.nui-select-v2.destructive:hover,.nui-select-v2.destructive:active:focus,.nui-select-v2.destructive.active:focus,.open>.dropdown-toggle.nui-select-v2.destructive:focus,.nui-select-v2.destructive:active.focus,.nui-select-v2.destructive.active.focus,.open>.dropdown-toggle.nui-select-v2.destructive.focus{color:var(--nui-color-text-critical,#dd2c00);background-color:var(--nui-color-bg-transparent-hover,rgba(17, 17, 17, .05));border-color:var(--nui-color-btn1-activeHoverBrd,#999999)}.nui-select-v2.destructive:active,.nui-select-v2.destructive.active,.open>.dropdown-toggle.nui-select-v2.destructive{background-image:none}.nui-select-v2.destructive.disabled,.nui-select-v2.destructive[disabled],fieldset[disabled] .nui-select-v2.destructive,.nui-select-v2.destructive.disabled:hover,.nui-select-v2.destructive[disabled]:hover,fieldset[disabled] .nui-select-v2.destructive:hover,.nui-select-v2.destructive.disabled:focus,.nui-select-v2.destructive[disabled]:focus,fieldset[disabled] .nui-select-v2.destructive:focus,.nui-select-v2.destructive.disabled.focus,.nui-select-v2.destructive[disabled].focus,fieldset[disabled] .nui-select-v2.destructive.focus,.nui-select-v2.destructive.disabled:active,.nui-select-v2.destructive[disabled]:active,fieldset[disabled] .nui-select-v2.destructive:active,.nui-select-v2.destructive.disabled.active,.nui-select-v2.destructive[disabled].active,fieldset[disabled] .nui-select-v2.destructive.active{background-color:var(--transparent,transparent);border-color:var(--nui-color-line-default,#d9d9d9);color:var(--nui-color-disabled,#b3b3b3)}.nui-select-v2.destructive.is-busy .ripple-1,.nui-select-v2.destructive.is-busy .ripple-2{background:var(--nui-color-busy-destructive,rgba(221, 44, 0, .2))}.nui-select-v2.destructive.has-error{border-color:var(--nui-color-line-critical,#dd2c00)}.nui-select-v2.destructive.has-error:hover,.nui-select-v2.destructive.has-error:focus,.nui-select-v2.destructive.has-error:active{border-color:var(--nui-color-line-critical,#dd2c00)}.nui-select-v2.destructive .badge{color:var(--transparent,transparent);background-color:var(--nui-color-text-critical,#dd2c00)}.nui-select-v2.destructive .nui-icon:not(.custom-icon-color) path,.nui-select-v2.destructive .nui-icon:not(.custom-icon-color) polygon{fill:var(--nui-color-text-critical,#dd2c00)}.nui-select-v2.destructive.disabled .nui-icon:not(.custom-icon-color) path,.nui-select-v2.destructive[disabled] .nui-icon:not(.custom-icon-color) path,fieldset[disabled] .nui-select-v2.destructive .nui-icon:not(.custom-icon-color) path,.nui-select-v2.destructive.disabled:hover .nui-icon:not(.custom-icon-color) path,.nui-select-v2.destructive[disabled]:hover .nui-icon:not(.custom-icon-color) path,fieldset[disabled] .nui-select-v2.destructive:hover .nui-icon:not(.custom-icon-color) path,.nui-select-v2.destructive.disabled:focus .nui-icon:not(.custom-icon-color) path,.nui-select-v2.destructive[disabled]:focus .nui-icon:not(.custom-icon-color) path,fieldset[disabled] .nui-select-v2.destructive:focus .nui-icon:not(.custom-icon-color) path,.nui-select-v2.destructive.disabled.focus .nui-icon:not(.custom-icon-color) path,.nui-select-v2.destructive[disabled].focus .nui-icon:not(.custom-icon-color) path,fieldset[disabled] .nui-select-v2.destructive.focus .nui-icon:not(.custom-icon-color) path,.nui-select-v2.destructive.disabled:active .nui-icon:not(.custom-icon-color) path,.nui-select-v2.destructive[disabled]:active .nui-icon:not(.custom-icon-color) path,fieldset[disabled] .nui-select-v2.destructive:active .nui-icon:not(.custom-icon-color) path,.nui-select-v2.destructive.disabled.active .nui-icon:not(.custom-icon-color) path,.nui-select-v2.destructive[disabled].active .nui-icon:not(.custom-icon-color) path,fieldset[disabled] .nui-select-v2.destructive.active .nui-icon:not(.custom-icon-color) path,.nui-select-v2.destructive.disabled .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.destructive[disabled] .nui-icon:not(.custom-icon-color) polygon,fieldset[disabled] .nui-select-v2.destructive .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.destructive.disabled:hover .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.destructive[disabled]:hover .nui-icon:not(.custom-icon-color) polygon,fieldset[disabled] .nui-select-v2.destructive:hover .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.destructive.disabled:focus .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.destructive[disabled]:focus .nui-icon:not(.custom-icon-color) polygon,fieldset[disabled] .nui-select-v2.destructive:focus .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.destructive.disabled.focus .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.destructive[disabled].focus .nui-icon:not(.custom-icon-color) polygon,fieldset[disabled] .nui-select-v2.destructive.focus .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.destructive.disabled:active .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.destructive[disabled]:active .nui-icon:not(.custom-icon-color) polygon,fieldset[disabled] .nui-select-v2.destructive:active .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.destructive.disabled.active .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.destructive[disabled].active .nui-icon:not(.custom-icon-color) polygon,fieldset[disabled] .nui-select-v2.destructive.active .nui-icon:not(.custom-icon-color) polygon{fill:var(--nui-color-disabled,#b3b3b3)}.nui-select-v2.selected{color:var(--nui-color-text-link,#0079aa);background-color:var(--nui-color-selected,rgba(0, 196, 210, .1));border-color:var(--transparent,transparent)}.nui-select-v2.selected:focus,.nui-select-v2.selected.focus{color:var(--nui-color-text-link,#0079aa);background-color:var(--nui-color-selected-hover,rgba(0, 196, 210, .2));border-color:var(--transparent,transparent);outline:none;z-index:500;box-shadow:0 0 0 2px #00c4d280}.nui-select-v2.selected:hover{color:var(--nui-color-text-link,#0079aa);background-color:var(--nui-color-selected-hover,rgba(0, 196, 210, .2));border-color:var(--transparent,transparent)}.nui-select-v2.selected:active,.nui-select-v2.selected.active,.open>.dropdown-toggle.nui-select-v2.selected{color:var(--nui-color-text-link,#0079aa);background-color:var(--nui-color-selected-active,rgba(0, 196, 210, .2));border-color:var(--transparent,transparent)}.nui-select-v2.selected:active:hover,.nui-select-v2.selected.active:hover,.open>.dropdown-toggle.nui-select-v2.selected:hover,.nui-select-v2.selected:active:focus,.nui-select-v2.selected.active:focus,.open>.dropdown-toggle.nui-select-v2.selected:focus,.nui-select-v2.selected:active.focus,.nui-select-v2.selected.active.focus,.open>.dropdown-toggle.nui-select-v2.selected.focus{color:var(--nui-color-text-link,#0079aa);background-color:var(--nui-color-selected-active,rgba(0, 196, 210, .2));border-color:var(--transparent,transparent)}.nui-select-v2.selected:active,.nui-select-v2.selected.active,.open>.dropdown-toggle.nui-select-v2.selected{background-image:none}.nui-select-v2.selected.disabled,.nui-select-v2.selected[disabled],fieldset[disabled] .nui-select-v2.selected,.nui-select-v2.selected.disabled:hover,.nui-select-v2.selected[disabled]:hover,fieldset[disabled] .nui-select-v2.selected:hover,.nui-select-v2.selected.disabled:focus,.nui-select-v2.selected[disabled]:focus,fieldset[disabled] .nui-select-v2.selected:focus,.nui-select-v2.selected.disabled.focus,.nui-select-v2.selected[disabled].focus,fieldset[disabled] .nui-select-v2.selected.focus,.nui-select-v2.selected.disabled:active,.nui-select-v2.selected[disabled]:active,fieldset[disabled] .nui-select-v2.selected:active,.nui-select-v2.selected.disabled.active,.nui-select-v2.selected[disabled].active,fieldset[disabled] .nui-select-v2.selected.active{background-color:var(--nui-color-disabled,#b3b3b3);border-color:var(--transparent,transparent);color:var(--white,#fff)}.nui-select-v2.selected.is-busy .ripple-1,.nui-select-v2.selected.is-busy .ripple-2{background:var(--nui-color-busy-default,rgba(0, 196, 210, .2))}.nui-select-v2.selected.has-error{border-color:var(--nui-color-line-critical,#dd2c00)}.nui-select-v2.selected.has-error:hover,.nui-select-v2.selected.has-error:focus,.nui-select-v2.selected.has-error:active{border-color:var(--nui-color-line-critical,#dd2c00)}.nui-select-v2.selected .badge{color:var(--nui-color-selected,rgba(0, 196, 210, .1));background-color:var(--nui-color-text-link,#0079aa)}.nui-select-v2.selected .nui-icon:not(.custom-icon-color) path,.nui-select-v2.selected .nui-icon:not(.custom-icon-color) polygon{fill:var(--nui-color-text-link,#0079aa)}.nui-select-v2.selected.disabled .nui-icon:not(.custom-icon-color) path,.nui-select-v2.selected[disabled] .nui-icon:not(.custom-icon-color) path,fieldset[disabled] .nui-select-v2.selected .nui-icon:not(.custom-icon-color) path,.nui-select-v2.selected.disabled:hover .nui-icon:not(.custom-icon-color) path,.nui-select-v2.selected[disabled]:hover .nui-icon:not(.custom-icon-color) path,fieldset[disabled] .nui-select-v2.selected:hover .nui-icon:not(.custom-icon-color) path,.nui-select-v2.selected.disabled:focus .nui-icon:not(.custom-icon-color) path,.nui-select-v2.selected[disabled]:focus .nui-icon:not(.custom-icon-color) path,fieldset[disabled] .nui-select-v2.selected:focus .nui-icon:not(.custom-icon-color) path,.nui-select-v2.selected.disabled.focus .nui-icon:not(.custom-icon-color) path,.nui-select-v2.selected[disabled].focus .nui-icon:not(.custom-icon-color) path,fieldset[disabled] .nui-select-v2.selected.focus .nui-icon:not(.custom-icon-color) path,.nui-select-v2.selected.disabled:active .nui-icon:not(.custom-icon-color) path,.nui-select-v2.selected[disabled]:active .nui-icon:not(.custom-icon-color) path,fieldset[disabled] .nui-select-v2.selected:active .nui-icon:not(.custom-icon-color) path,.nui-select-v2.selected.disabled.active .nui-icon:not(.custom-icon-color) path,.nui-select-v2.selected[disabled].active .nui-icon:not(.custom-icon-color) path,fieldset[disabled] .nui-select-v2.selected.active .nui-icon:not(.custom-icon-color) path,.nui-select-v2.selected.disabled .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.selected[disabled] .nui-icon:not(.custom-icon-color) polygon,fieldset[disabled] .nui-select-v2.selected .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.selected.disabled:hover .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.selected[disabled]:hover .nui-icon:not(.custom-icon-color) polygon,fieldset[disabled] .nui-select-v2.selected:hover .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.selected.disabled:focus .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.selected[disabled]:focus .nui-icon:not(.custom-icon-color) polygon,fieldset[disabled] .nui-select-v2.selected:focus .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.selected.disabled.focus .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.selected[disabled].focus .nui-icon:not(.custom-icon-color) polygon,fieldset[disabled] .nui-select-v2.selected.focus .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.selected.disabled:active .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.selected[disabled]:active .nui-icon:not(.custom-icon-color) polygon,fieldset[disabled] .nui-select-v2.selected:active .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.selected.disabled.active .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.selected[disabled].active .nui-icon:not(.custom-icon-color) polygon,fieldset[disabled] .nui-select-v2.selected.active .nui-icon:not(.custom-icon-color) polygon{fill:var(--white,#fff)}.nui-select-v2.selected-contrast{color:var(--white,#fff);background-color:var(--nui-color-selected-contrast,#00c4d2);border-color:var(--transparent,transparent)}.nui-select-v2.selected-contrast:focus,.nui-select-v2.selected-contrast.focus{color:var(--white,#fff);background-color:var(--nui-color-selected-contrast-hover,#00b0bd);border-color:var(--transparent,transparent);outline:none;z-index:500;box-shadow:0 0 0 2px #00c4d280}.nui-select-v2.selected-contrast:hover{color:var(--white,#fff);background-color:var(--nui-color-selected-contrast-hover,#00b0bd);border-color:var(--transparent,transparent)}.nui-select-v2.selected-contrast:active,.nui-select-v2.selected-contrast.active,.open>.dropdown-toggle.nui-select-v2.selected-contrast{color:var(--white,#fff);background-color:var(--nui-color-selected-contrast-hover,#00b0bd);border-color:var(--transparent,transparent)}.nui-select-v2.selected-contrast:active:hover,.nui-select-v2.selected-contrast.active:hover,.open>.dropdown-toggle.nui-select-v2.selected-contrast:hover,.nui-select-v2.selected-contrast:active:focus,.nui-select-v2.selected-contrast.active:focus,.open>.dropdown-toggle.nui-select-v2.selected-contrast:focus,.nui-select-v2.selected-contrast:active.focus,.nui-select-v2.selected-contrast.active.focus,.open>.dropdown-toggle.nui-select-v2.selected-contrast.focus{color:var(--white,#fff);background-color:var(--nui-color-selected-contrast-hover,#00b0bd);border-color:var(--transparent,transparent)}.nui-select-v2.selected-contrast:active,.nui-select-v2.selected-contrast.active,.open>.dropdown-toggle.nui-select-v2.selected-contrast{background-image:none}.nui-select-v2.selected-contrast.disabled,.nui-select-v2.selected-contrast[disabled],fieldset[disabled] .nui-select-v2.selected-contrast,.nui-select-v2.selected-contrast.disabled:hover,.nui-select-v2.selected-contrast[disabled]:hover,fieldset[disabled] .nui-select-v2.selected-contrast:hover,.nui-select-v2.selected-contrast.disabled:focus,.nui-select-v2.selected-contrast[disabled]:focus,fieldset[disabled] .nui-select-v2.selected-contrast:focus,.nui-select-v2.selected-contrast.disabled.focus,.nui-select-v2.selected-contrast[disabled].focus,fieldset[disabled] .nui-select-v2.selected-contrast.focus,.nui-select-v2.selected-contrast.disabled:active,.nui-select-v2.selected-contrast[disabled]:active,fieldset[disabled] .nui-select-v2.selected-contrast:active,.nui-select-v2.selected-contrast.disabled.active,.nui-select-v2.selected-contrast[disabled].active,fieldset[disabled] .nui-select-v2.selected-contrast.active{background-color:var(--nui-color-disabled,#b3b3b3);border-color:var(--transparent,transparent);color:var(--white,#fff)}.nui-select-v2.selected-contrast.is-busy .ripple-1,.nui-select-v2.selected-contrast.is-busy .ripple-2{background:var(--nui-color-busy-default,rgba(0, 196, 210, .2))}.nui-select-v2.selected-contrast.has-error{border-color:var(--nui-color-line-critical,#dd2c00)}.nui-select-v2.selected-contrast.has-error:hover,.nui-select-v2.selected-contrast.has-error:focus,.nui-select-v2.selected-contrast.has-error:active{border-color:var(--nui-color-line-critical,#dd2c00)}.nui-select-v2.selected-contrast .badge{color:var(--nui-color-selected-contrast,#00c4d2);background-color:var(--white,#fff)}.nui-select-v2.selected-contrast .nui-icon:not(.custom-icon-color) path,.nui-select-v2.selected-contrast .nui-icon:not(.custom-icon-color) polygon{fill:var(--nui-color-icon-light,#fff)}.nui-select-v2.selected-contrast.disabled .nui-icon:not(.custom-icon-color) path,.nui-select-v2.selected-contrast[disabled] .nui-icon:not(.custom-icon-color) path,fieldset[disabled] .nui-select-v2.selected-contrast .nui-icon:not(.custom-icon-color) path,.nui-select-v2.selected-contrast.disabled:hover .nui-icon:not(.custom-icon-color) path,.nui-select-v2.selected-contrast[disabled]:hover .nui-icon:not(.custom-icon-color) path,fieldset[disabled] .nui-select-v2.selected-contrast:hover .nui-icon:not(.custom-icon-color) path,.nui-select-v2.selected-contrast.disabled:focus .nui-icon:not(.custom-icon-color) path,.nui-select-v2.selected-contrast[disabled]:focus .nui-icon:not(.custom-icon-color) path,fieldset[disabled] .nui-select-v2.selected-contrast:focus .nui-icon:not(.custom-icon-color) path,.nui-select-v2.selected-contrast.disabled.focus .nui-icon:not(.custom-icon-color) path,.nui-select-v2.selected-contrast[disabled].focus .nui-icon:not(.custom-icon-color) path,fieldset[disabled] .nui-select-v2.selected-contrast.focus .nui-icon:not(.custom-icon-color) path,.nui-select-v2.selected-contrast.disabled:active .nui-icon:not(.custom-icon-color) path,.nui-select-v2.selected-contrast[disabled]:active .nui-icon:not(.custom-icon-color) path,fieldset[disabled] .nui-select-v2.selected-contrast:active .nui-icon:not(.custom-icon-color) path,.nui-select-v2.selected-contrast.disabled.active .nui-icon:not(.custom-icon-color) path,.nui-select-v2.selected-contrast[disabled].active .nui-icon:not(.custom-icon-color) path,fieldset[disabled] .nui-select-v2.selected-contrast.active .nui-icon:not(.custom-icon-color) path,.nui-select-v2.selected-contrast.disabled .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.selected-contrast[disabled] .nui-icon:not(.custom-icon-color) polygon,fieldset[disabled] .nui-select-v2.selected-contrast .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.selected-contrast.disabled:hover .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.selected-contrast[disabled]:hover .nui-icon:not(.custom-icon-color) polygon,fieldset[disabled] .nui-select-v2.selected-contrast:hover .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.selected-contrast.disabled:focus .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.selected-contrast[disabled]:focus .nui-icon:not(.custom-icon-color) polygon,fieldset[disabled] .nui-select-v2.selected-contrast:focus .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.selected-contrast.disabled.focus .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.selected-contrast[disabled].focus .nui-icon:not(.custom-icon-color) polygon,fieldset[disabled] .nui-select-v2.selected-contrast.focus .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.selected-contrast.disabled:active .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.selected-contrast[disabled]:active .nui-icon:not(.custom-icon-color) polygon,fieldset[disabled] .nui-select-v2.selected-contrast:active .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.selected-contrast.disabled.active .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.selected-contrast[disabled].active .nui-icon:not(.custom-icon-color) polygon,fieldset[disabled] .nui-select-v2.selected-contrast.active .nui-icon:not(.custom-icon-color) polygon{fill:var(--white,#fff)}.nui-select-v2:focus,.nui-select-v2.focus{color:var(--nui-color-text-link,#0079aa);background-color:var(--nui-color-bg-transparent-hover,rgba(17, 17, 17, .05));border-color:var(--nui-color-btn1-focusBrd,#cbcbcb);outline:none;z-index:500;box-shadow:0 0 0 2px #00c4d280}.nui-select-v2:hover{color:var(--nui-color-text-link,#0079aa);background-color:var(--nui-color-bg-transparent-hover,rgba(17, 17, 17, .05));border-color:var(--nui-color-btn1-focusBrd,#cbcbcb)}.nui-select-v2:active,.nui-select-v2.active,.open>.dropdown-toggle.nui-select-v2{color:var(--nui-color-text-link,#0079aa);background-color:var(--transparent,transparent);border-color:var(--nui-color-btn1-activeOpenBrd,#bababa)}.nui-select-v2:active:hover,.nui-select-v2.active:hover,.open>.dropdown-toggle.nui-select-v2:hover,.nui-select-v2:active:focus,.nui-select-v2.active:focus,.open>.dropdown-toggle.nui-select-v2:focus,.nui-select-v2:active.focus,.nui-select-v2.active.focus,.open>.dropdown-toggle.nui-select-v2.focus{color:var(--nui-color-text-link,#0079aa);background-color:var(--transparent,transparent);border-color:var(--nui-color-btn1-activeHoverBrd,#999999)}.nui-select-v2:active,.nui-select-v2.active,.open>.dropdown-toggle.nui-select-v2{background-image:none}.nui-select-v2.disabled,.nui-select-v2[disabled],fieldset[disabled] .nui-select-v2,.nui-select-v2.disabled:hover,.nui-select-v2[disabled]:hover,fieldset[disabled] .nui-select-v2:hover,.nui-select-v2.disabled:focus,.nui-select-v2[disabled]:focus,fieldset[disabled] .nui-select-v2:focus,.nui-select-v2.disabled.focus,.nui-select-v2[disabled].focus,fieldset[disabled] .nui-select-v2.focus,.nui-select-v2.disabled:active,.nui-select-v2[disabled]:active,fieldset[disabled] .nui-select-v2:active,.nui-select-v2.disabled.active,.nui-select-v2[disabled].active,fieldset[disabled] .nui-select-v2.active{background-color:var(--transparent,transparent);border-color:var(--nui-color-line-default,#d9d9d9);color:var(--nui-color-disabled,#b3b3b3)}.nui-select-v2.is-busy .ripple-1,.nui-select-v2.is-busy .ripple-2{background:var(--nui-color-busy-default,rgba(0, 196, 210, .2))}.nui-select-v2.has-error{border-color:var(--nui-color-line-critical,#dd2c00)}.nui-select-v2.has-error:hover,.nui-select-v2.has-error:focus,.nui-select-v2.has-error:active{border-color:var(--nui-color-line-critical,#dd2c00)}.nui-select-v2 .badge{color:var(--transparent,transparent);background-color:var(--nui-color-text-link,#0079aa)}.nui-select-v2:focus-within{background-color:var(--nui-color-bg-transparent-hover,rgba(17, 17, 17, .05))}.nui-select-v2.disabled .nui-select-v2__value{color:var(--nui-color-text-disabled,rgba(17, 17, 17, .3));cursor:not-allowed;-webkit-user-select:none;-o-user-select:none;user-select:none}.nui-select-v2.disabled .nui-select-v2__value .nui-select-v2__placeholder{color:var(--nui-color-text-disabled,rgba(17, 17, 17, .3))}.nui-select-v2__container{width:100%;height:100%}.nui-select-v2__container:hover,.nui-select-v2__container:focus,.nui-select-v2__container:active,.nui-select-v2__container:active:hover{transform:unset;outline:unset}.nui-select-v2__value{touch-action:manipulation;cursor:pointer;white-space:nowrap;position:relative;overflow:hidden;align-items:center;min-width:inherit;justify-content:space-between;padding:5px 10px;display:flex;flex-grow:1}.nui-select-v2__value-text{font-size:13px;margin-right:5px}.nui-select-v2__value:hover,.nui-select-v2__value:focus,.nui-select-v2__value:active,.nui-select-v2__value:active:hover{color:var(--nui-color-text-default,#111);transform:none;outline:none}.nui-select-v2__value-content{width:100%;line-height:18px;white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;text-overflow:ellipsis}.nui-select-v2__placeholder{color:var(--nui-color-text-secondary,rgba(17, 17, 17, .6));font-size:13px;line-height:18px;font-weight:400;margin-right:5px;white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;text-overflow:ellipsis}\n"] }]
|
|
12566
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: OptionKeyControlService }, { type: i0.ChangeDetectorRef }, { type: i1$
|
|
12591
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: OptionKeyControlService }, { type: i0.ChangeDetectorRef }, { type: i1$3.LiveAnnouncer }]; }, propDecorators: { displayValueTemplate: [{
|
|
12567
12592
|
type: Input
|
|
12568
12593
|
}] } });
|
|
12569
12594
|
|
|
@@ -12672,7 +12697,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
12672
12697
|
* @ignore
|
|
12673
12698
|
* @deprecated in v11 - Use PopupComponent instead - Removal: NUI-5796
|
|
12674
12699
|
*/
|
|
12675
|
-
/* eslint-disable @angular-eslint/no-host-metadata-property */
|
|
12676
12700
|
class PopupContainerComponent {
|
|
12677
12701
|
constructor(elRef, zone, positionService, edgeDetector) {
|
|
12678
12702
|
this.elRef = elRef;
|
|
@@ -12751,6 +12775,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
12751
12775
|
}] });
|
|
12752
12776
|
|
|
12753
12777
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
12778
|
+
const isMouseEvent = (event) => event instanceof MouseEvent;
|
|
12754
12779
|
// <example-url>./../examples/index.html#/popup</example-url>
|
|
12755
12780
|
/**
|
|
12756
12781
|
* @deprecated in v11 - Use PopupComponent instead - Removal: NUI-5796
|
|
@@ -12766,8 +12791,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
12766
12791
|
* 1st layer of content to define "popup area". DO NOT USE "opened" WITH "nuiPopupToggle".
|
|
12767
12792
|
* IT IS NEEDED TO CHOOSE ONE.
|
|
12768
12793
|
*/
|
|
12769
|
-
/* eslint-disable @angular-eslint/no-host-metadata-property */
|
|
12770
|
-
/* eslint-disable @angular-eslint/no-host-metadata-property */
|
|
12771
12794
|
class PopupDeprecatedComponent {
|
|
12772
12795
|
constructor(elementRef, edgeDetector, changeDetectorRef, eventBusService, componentFactoryResolver, injector, appRef, logger, popupContainer) {
|
|
12773
12796
|
this.elementRef = elementRef;
|
|
@@ -12799,7 +12822,8 @@ class PopupDeprecatedComponent {
|
|
|
12799
12822
|
}));
|
|
12800
12823
|
}
|
|
12801
12824
|
this.popupSubscriptions.push(this.eventBusService
|
|
12802
|
-
.getStream(
|
|
12825
|
+
.getStream(DOCUMENT_CLICK_EVENT)
|
|
12826
|
+
.pipe(filter$2(isMouseEvent))
|
|
12803
12827
|
.subscribe((event) => {
|
|
12804
12828
|
if (this.isOpen) {
|
|
12805
12829
|
this.closePopup(event);
|
|
@@ -13063,7 +13087,7 @@ class SwitchComponent {
|
|
|
13063
13087
|
onTouched() { }
|
|
13064
13088
|
writeValue(value) {
|
|
13065
13089
|
if (value !== undefined) {
|
|
13066
|
-
this.value = value;
|
|
13090
|
+
this.value = !!value;
|
|
13067
13091
|
}
|
|
13068
13092
|
}
|
|
13069
13093
|
registerOnChange(fn) {
|
|
@@ -13189,7 +13213,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
13189
13213
|
/**
|
|
13190
13214
|
* Base class for menu items. Adds styles to host element
|
|
13191
13215
|
*/
|
|
13192
|
-
// eslint-disable-next-line @angular-eslint/directive-class-suffix
|
|
13193
13216
|
class MenuItemBaseComponent {
|
|
13194
13217
|
constructor(group, cd) {
|
|
13195
13218
|
this.group = group;
|
|
@@ -13890,11 +13913,11 @@ class MenuKeyControlService {
|
|
|
13890
13913
|
}
|
|
13891
13914
|
}
|
|
13892
13915
|
}
|
|
13893
|
-
MenuKeyControlService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MenuKeyControlService, deps: [{ token: i1$
|
|
13916
|
+
MenuKeyControlService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MenuKeyControlService, deps: [{ token: i1$3.LiveAnnouncer }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
13894
13917
|
MenuKeyControlService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MenuKeyControlService });
|
|
13895
13918
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MenuKeyControlService, decorators: [{
|
|
13896
13919
|
type: Injectable
|
|
13897
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
13920
|
+
}], ctorParameters: function () { return [{ type: i1$3.LiveAnnouncer }]; } });
|
|
13898
13921
|
|
|
13899
13922
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
13900
13923
|
/**
|
|
@@ -13965,7 +13988,7 @@ class MenuComponent {
|
|
|
13965
13988
|
this.blurred.emit(event);
|
|
13966
13989
|
}
|
|
13967
13990
|
onMenuOpen() {
|
|
13968
|
-
this.menuOpenStream.next(
|
|
13991
|
+
this.menuOpenStream.next();
|
|
13969
13992
|
}
|
|
13970
13993
|
isJustified() {
|
|
13971
13994
|
return this.contextClass?.includes("nui-select--justified");
|
|
@@ -13984,7 +14007,7 @@ class MenuComponent {
|
|
|
13984
14007
|
this.focusMonitorSubscription.unsubscribe();
|
|
13985
14008
|
}
|
|
13986
14009
|
}
|
|
13987
|
-
MenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MenuComponent, deps: [{ token: MenuKeyControlService }, { token: i0.Renderer2 }, { token: i1$
|
|
14010
|
+
MenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MenuComponent, deps: [{ token: MenuKeyControlService }, { token: i0.Renderer2 }, { token: i1$3.FocusMonitor }], target: i0.ɵɵFactoryTarget.Component });
|
|
13988
14011
|
MenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: MenuComponent, selector: "nui-menu", inputs: { widthOfPopup: "widthOfPopup", contextClass: "contextClass", appendToBody: "appendToBody", ariaLabel: "ariaLabel", title: "title", size: "size", displayStyle: "displayStyle", isDisabled: "isDisabled", icon: "icon", itemsSource: "itemsSource" }, outputs: { blurred: "blurred" }, host: { properties: { "attr.aria-label": "title || ariaLabel" }, classAttribute: "nui-menu" }, providers: [MenuKeyControlService], queries: [{ propertyName: "menuItems", predicate: MenuItemBaseComponent, descendants: true }, { propertyName: "menuGroups", predicate: MenuGroupComponent }], viewQueries: [{ propertyName: "popup", first: true, predicate: PopupComponent, descendants: true }, { propertyName: "menuPopup", first: true, predicate: MenuPopupComponent, descendants: true }, { propertyName: "menuToggle", first: true, predicate: ["menuToggle"], descendants: true, read: ElementRef }], usesOnChanges: true, ngImport: i0, template: "<nui-popup\n [class.nui-menu--compact]=\"isMenuCompact()\"\n (opened)=\"onMenuOpen()\"\n [appendToBody]=\"appendToBody\"\n [width]=\"widthOfPopup\"\n [contextClass]=\"contextClass + ' nui-menu-popup-host'\"\n>\n <button\n #menuToggle\n nui-button\n nuiPopupToggle\n [disabled]=\"isDisabled\"\n aria-haspopup=\"true\"\n type=\"button\"\n (blur)=\"onBlur($event)\"\n [displayStyle]=\"displayStyle\"\n [size]=\"size\"\n [icon]=\"icon\"\n [iconRight]=\"isTitlePresent()\"\n class=\"menu-button no-shadow\"\n [isEmpty]=\"!isTitlePresent()\"\n >\n <span>{{ title }}</span>\n </button>\n <div popupAreaContent>\n <nui-menu-popup\n *ngIf=\"itemsSource\"\n [itemsSource]=\"itemsSource\"\n [size]=\"size\"\n ></nui-menu-popup>\n <ng-content *ngIf=\"!itemsSource\"></ng-content>\n </div>\n</nui-popup>\n", styles: [".nui-menu-item{display:list-item;list-style-type:none;white-space:nowrap;margin-bottom:1px;font-size:13px;background-color:var(--nui-color-bg-transparent,transparent)}.nui-menu-item:not(.nui-menu-item--header){min-height:30px}.nui-menu-item .nui-icon{margin-right:5px}.nui-menu-item:not(.nui-menu-item--header):hover{background-color:var(--nui-color-bg-transparent-hover,rgba(17, 17, 17, .05))}.nui-menu-item:not(.nui-menu-item--header):hover .nui-checkbox__label{background-color:var(--transparent,transparent)}.nui-menu-item.nui-menu-item--header{padding:5px 10px;text-transform:uppercase;cursor:default;font-size:11px;color:var(--nui-color-text-secondary,rgba(17, 17, 17, .6));line-height:14px}.nui-menu-item.nui-menu-item__default,.nui-menu-item .nui-checkbox__transclude,.nui-menu-item>.nui-menu-item__link,.nui-menu-item>.nui-menu-item__switch,.nui-menu-item>.nui-menu-item__option{overflow:hidden;text-overflow:ellipsis}.nui-menu-item>.nui-menu-item__link,.nui-menu-item>.nui-menu-item__switch,.nui-menu-item>.nui-menu-item__option,.nui-menu-item>.nui-menu-item__default{display:flex;align-items:center;padding:5px 10px;text-decoration:none}.nui-menu-item>.nui-menu-item__link:active,.nui-menu-item>.nui-menu-item__switch:active,.nui-menu-item>.nui-menu-item__option:active,.nui-menu-item>.nui-menu-item__default:active,.nui-menu-item>.nui-menu-item__link:focus,.nui-menu-item>.nui-menu-item__switch:focus,.nui-menu-item>.nui-menu-item__option:focus,.nui-menu-item>.nui-menu-item__default:focus{outline:none;z-index:500;box-shadow:inset 0 0 0 2px #00c4d280}.nui-menu-item.checked{background-color:var(--nui-color-selected,rgba(0, 196, 210, .1));font-weight:600}.nui-menu-item.checked:hover{background-color:var(--nui-color-selected-hover,rgba(0, 196, 210, .2));font-weight:600;cursor:pointer}.nui-menu-item .nui-menu-item__default{padding:5px 10px;cursor:pointer;color:var(--nui-color-text-default,#111)}.nui-menu-item .nui-menu-item__default:hover{color:var(--nui-color-text-default-hover,#000000)}.nui-menu-item--active{background-color:var(--nui-color-bg-light-hover,#f2f2f2);outline:none;z-index:500;box-shadow:inset 0 0 0 2px #00c4d280}.nui-menu-item--active.nui-menu-item--selected,.nui-menu-item--active.nui-menu-item.checked{background-color:var(--nui-color-selected-hover,rgba(0, 196, 210, .2))}.nui-menu-item.nui-menu-item--selected{background-color:var(--nui-color-selected,rgba(0, 196, 210, .1));font-weight:600}.nui-menu-item.nui-menu-item--selected:hover{background-color:var(--nui-color-selected-hover,rgba(0, 196, 210, .2))}.nui-menu .nui-menu--compact{line-height:1}.nui-menu .nui-button.menu-button:focus{outline:none;z-index:500;box-shadow:0 0 0 2px #00c4d280}\n"], components: [{ type: PopupComponent, selector: "nui-popup", inputs: ["width", "overlayConfig", "contextClass", "directionTop", "directionRight", "manualOpenControl", "appendToBody", "baseElementSelector", "isHostToggleRef", "ariaLabel", "isOpen", "visible"], outputs: ["opened"] }, { type: ButtonComponent, selector: "[nui-button]", inputs: ["displayStyle", "icon", "iconColor", "iconRight", "isBusy", "isEmpty", "ariaLabel", "isRepeat", "size"] }, { type: MenuPopupComponent, selector: "nui-menu-popup", inputs: ["itemsSource", "size"], outputs: ["menuItemClicked"] }], directives: [{ type: PopupToggleDirective, selector: "[nuiPopupToggle]", inputs: ["isDisabled", "disabled"], outputs: ["toggle"] }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
13989
14012
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MenuComponent, decorators: [{
|
|
13990
14013
|
type: Component,
|
|
@@ -13992,7 +14015,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
13992
14015
|
class: "nui-menu",
|
|
13993
14016
|
"[attr.aria-label]": "title || ariaLabel",
|
|
13994
14017
|
}, encapsulation: ViewEncapsulation.None, providers: [MenuKeyControlService], template: "<nui-popup\n [class.nui-menu--compact]=\"isMenuCompact()\"\n (opened)=\"onMenuOpen()\"\n [appendToBody]=\"appendToBody\"\n [width]=\"widthOfPopup\"\n [contextClass]=\"contextClass + ' nui-menu-popup-host'\"\n>\n <button\n #menuToggle\n nui-button\n nuiPopupToggle\n [disabled]=\"isDisabled\"\n aria-haspopup=\"true\"\n type=\"button\"\n (blur)=\"onBlur($event)\"\n [displayStyle]=\"displayStyle\"\n [size]=\"size\"\n [icon]=\"icon\"\n [iconRight]=\"isTitlePresent()\"\n class=\"menu-button no-shadow\"\n [isEmpty]=\"!isTitlePresent()\"\n >\n <span>{{ title }}</span>\n </button>\n <div popupAreaContent>\n <nui-menu-popup\n *ngIf=\"itemsSource\"\n [itemsSource]=\"itemsSource\"\n [size]=\"size\"\n ></nui-menu-popup>\n <ng-content *ngIf=\"!itemsSource\"></ng-content>\n </div>\n</nui-popup>\n", styles: [".nui-menu-item{display:list-item;list-style-type:none;white-space:nowrap;margin-bottom:1px;font-size:13px;background-color:var(--nui-color-bg-transparent,transparent)}.nui-menu-item:not(.nui-menu-item--header){min-height:30px}.nui-menu-item .nui-icon{margin-right:5px}.nui-menu-item:not(.nui-menu-item--header):hover{background-color:var(--nui-color-bg-transparent-hover,rgba(17, 17, 17, .05))}.nui-menu-item:not(.nui-menu-item--header):hover .nui-checkbox__label{background-color:var(--transparent,transparent)}.nui-menu-item.nui-menu-item--header{padding:5px 10px;text-transform:uppercase;cursor:default;font-size:11px;color:var(--nui-color-text-secondary,rgba(17, 17, 17, .6));line-height:14px}.nui-menu-item.nui-menu-item__default,.nui-menu-item .nui-checkbox__transclude,.nui-menu-item>.nui-menu-item__link,.nui-menu-item>.nui-menu-item__switch,.nui-menu-item>.nui-menu-item__option{overflow:hidden;text-overflow:ellipsis}.nui-menu-item>.nui-menu-item__link,.nui-menu-item>.nui-menu-item__switch,.nui-menu-item>.nui-menu-item__option,.nui-menu-item>.nui-menu-item__default{display:flex;align-items:center;padding:5px 10px;text-decoration:none}.nui-menu-item>.nui-menu-item__link:active,.nui-menu-item>.nui-menu-item__switch:active,.nui-menu-item>.nui-menu-item__option:active,.nui-menu-item>.nui-menu-item__default:active,.nui-menu-item>.nui-menu-item__link:focus,.nui-menu-item>.nui-menu-item__switch:focus,.nui-menu-item>.nui-menu-item__option:focus,.nui-menu-item>.nui-menu-item__default:focus{outline:none;z-index:500;box-shadow:inset 0 0 0 2px #00c4d280}.nui-menu-item.checked{background-color:var(--nui-color-selected,rgba(0, 196, 210, .1));font-weight:600}.nui-menu-item.checked:hover{background-color:var(--nui-color-selected-hover,rgba(0, 196, 210, .2));font-weight:600;cursor:pointer}.nui-menu-item .nui-menu-item__default{padding:5px 10px;cursor:pointer;color:var(--nui-color-text-default,#111)}.nui-menu-item .nui-menu-item__default:hover{color:var(--nui-color-text-default-hover,#000000)}.nui-menu-item--active{background-color:var(--nui-color-bg-light-hover,#f2f2f2);outline:none;z-index:500;box-shadow:inset 0 0 0 2px #00c4d280}.nui-menu-item--active.nui-menu-item--selected,.nui-menu-item--active.nui-menu-item.checked{background-color:var(--nui-color-selected-hover,rgba(0, 196, 210, .2))}.nui-menu-item.nui-menu-item--selected{background-color:var(--nui-color-selected,rgba(0, 196, 210, .1));font-weight:600}.nui-menu-item.nui-menu-item--selected:hover{background-color:var(--nui-color-selected-hover,rgba(0, 196, 210, .2))}.nui-menu .nui-menu--compact{line-height:1}.nui-menu .nui-button.menu-button:focus{outline:none;z-index:500;box-shadow:0 0 0 2px #00c4d280}\n"] }]
|
|
13995
|
-
}], ctorParameters: function () { return [{ type: MenuKeyControlService }, { type: i0.Renderer2 }, { type: i1$
|
|
14018
|
+
}], ctorParameters: function () { return [{ type: MenuKeyControlService }, { type: i0.Renderer2 }, { type: i1$3.FocusMonitor }]; }, propDecorators: { widthOfPopup: [{
|
|
13996
14019
|
type: Input
|
|
13997
14020
|
}], contextClass: [{
|
|
13998
14021
|
type: Input
|
|
@@ -14335,9 +14358,7 @@ class RadioComponent {
|
|
|
14335
14358
|
// This will lead to multiple click events.
|
|
14336
14359
|
// Preventing bubbling for the second event will solve that issue.
|
|
14337
14360
|
event.stopPropagation();
|
|
14338
|
-
this.eventBusService
|
|
14339
|
-
.getStream({ id: DOCUMENT_CLICK_EVENT })
|
|
14340
|
-
.next(event);
|
|
14361
|
+
this.eventBusService.getStream(DOCUMENT_CLICK_EVENT).next(event);
|
|
14341
14362
|
}
|
|
14342
14363
|
}
|
|
14343
14364
|
RadioComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: RadioComponent, deps: [{ token: RadioGroupComponent, optional: true }, { token: i0.ChangeDetectorRef }, { token: EventBusService }], target: i0.ɵɵFactoryTarget.Component });
|
|
@@ -14760,8 +14781,8 @@ class RepeatComponent {
|
|
|
14760
14781
|
}
|
|
14761
14782
|
}
|
|
14762
14783
|
}
|
|
14763
|
-
RepeatComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: RepeatComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: LoggerService }, { token: i0.IterableDiffers }, { token:
|
|
14764
|
-
RepeatComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: RepeatComponent, selector: "nui-repeat", inputs: { draggable: "draggable", reorderable: "reorderable", preventRowClick: "preventRowClick", repeatItemTemplateRef: "repeatItemTemplateRef", dragHandleTemplateRef: "dragHandleTemplateRef", dragPreviewClass: "dragPreviewClass", dragPreviewTemplateRef: "dragPreviewTemplateRef", actionsTemplateRef: "actionsTemplateRef", selectionMode: "selectionMode", paddingSize: "paddingSize", virtualScroll: "virtualScroll", itemSize: "itemSize", selection: "selection", itemConfig: "itemConfig", itemsSource: "itemsSource", highlightSelectedItem: "highlightSelectedItem" }, outputs: { draggableChange: "draggableChange", reorderableChange: "reorderableChange", itemsReordered: "itemsReordered", selectionChange: "selectionChange" }, host: { properties: { "class.virtual-scroll-viewport": "virtualScroll", "attr.role": "role", "attr.aria-multiselectable": "ariaMultiselectable", "style.width": "this.width" } }, viewQueries: [{ propertyName: "dropListArea", first: true, predicate: ["dropListArea"], descendants: true }, { propertyName: "_viewportRef", first: true, predicate: CdkVirtualScrollViewport, descendants: true }, { propertyName: "draggableElements", predicate: CdkDrag, descendants: true }], ngImport: i0, template: "<ng-template #repeatItems let-item=\"item\" let-itemIndex=\"itemIndex\">\n <nui-repeat-item\n class=\"repeat-group-item\"\n #drag=\"cdkDrag\"\n cdkDrag\n [cdkDragData]=\"item\"\n [cdkDragPreviewClass]=\"dragPreviewClass\"\n [cdkDragDisabled]=\"!isItemDraggable(item)\"\n (rowClicked)=\"itemClicked($event, item)\"\n [clickable]=\"isItemClickable(item)\"\n [selectable]=\"isItemSelectable(item)\"\n [selected]=\"isItemSelected(item) && !isItemDisabled(item)\"\n [class.repeat-group-item--disabled]=\"isItemDisabled(item)\"\n [class.nui-dnd-without-drag-handle]=\"\n isItemDraggable(item) && !dragHandleTemplateRef\n \"\n [class.nui-dnd-raised-state]=\"\n isItemDraggable(item) && mousedOver[itemIndex]\n \"\n >\n <div\n *ngIf=\"dragHandleTemplateRef && !virtualScroll\"\n [class.hide]=\"!draggable\"\n [class.invisible]=\"!isItemDraggable(item)\"\n class=\"nui-repeat-item__controls-drag-handle align-self-center\"\n >\n <div\n cdkDragHandle\n (mouseover)=\"mousedOver[itemIndex] = true\"\n (mouseout)=\"mousedOver[itemIndex] = false\"\n [class.nui-dnd-handle]=\"!drag.disabled\"\n >\n <ng-container\n [ngTemplateOutlet]=\"dragHandleTemplateRef\"\n [ngTemplateOutletContext]=\"{ item: item }\"\n ></ng-container>\n </div>\n </div>\n <div\n *ngIf=\"dragPreviewTemplateRef && !virtualScroll\"\n class=\"nui-repeat-item__controls-drag-handle\"\n >\n <div\n *cdkDragPreview\n [class.nui-dnd-preview]=\"!isItemDisabled(item)\"\n >\n <ng-container\n [ngTemplateOutlet]=\"dragPreviewTemplateRef\"\n [ngTemplateOutletContext]=\"{ item: item }\"\n ></ng-container>\n </div>\n </div>\n <div class=\"nui-repeat-item__controls-container\">\n <nui-checkbox\n *ngIf=\"isModeMulti()\"\n class=\"nui-repeat-item__checkbox\"\n [value]=\"item\"\n [checked]=\"isItemSelected(item)\"\n [disabled]=\"isItemDisabled(item)\"\n (valueChange)=\"itemClicked($event, item)\"\n >\n </nui-checkbox>\n <nui-radio\n *ngIf=\"isModeRadio()\"\n class=\"nui-repeat-item__radio\"\n [value]=\"item\"\n [checked]=\"isItemSelected(item)\"\n [disabled]=\"isItemDisabled(item)\"\n (click)=\"itemClicked($event, item)\"\n >\n </nui-radio>\n </div>\n <div class=\"nui-repeat-item__content-container\">\n <ng-container\n [ngTemplateOutlet]=\"repeatItemTemplateRef\"\n [ngTemplateOutletContext]=\"{ item: item }\"\n ></ng-container>\n </div>\n <div\n class=\"nui-repeat-item__actions-container\"\n *ngIf=\"actionsTemplateRef\"\n >\n <ng-container\n [ngTemplateOutlet]=\"actionsTemplateRef\"\n [ngTemplateOutletContext]=\"{ item: item }\"\n >\n </ng-container>\n </div>\n </nui-repeat-item>\n</ng-template>\n\n<div class=\"nui-repeat nui-repeat__{{ paddingSize }}\">\n <div class=\"nui-repeat-header\">\n <ng-content select=\"[repeatHeaderTemplate]\"></ng-content>\n </div>\n <ul #dropListArea class=\"repeat-group\" aria-dropeffect=\"move\">\n <div *ngIf=\"!virtualScroll\">\n <ng-container\n *ngFor=\"\n let sourceItem of itemsSource;\n trackBy: itemConfig?.trackBy;\n let itemIndex = index\n \"\n [ngTemplateOutlet]=\"repeatItems\"\n [ngTemplateOutletContext]=\"{\n item: sourceItem,\n itemIndex: itemIndex\n }\"\n ></ng-container>\n </div>\n <cdk-virtual-scroll-viewport\n [itemSize]=\"itemSize\"\n *ngIf=\"virtualScroll && itemSize\"\n >\n <ng-container\n *cdkVirtualFor=\"\n let sourceItem of itemsSource;\n templateCacheSize: 0\n \"\n >\n <ng-container\n [ngTemplateOutlet]=\"repeatItems\"\n [ngTemplateOutletContext]=\"{ item: sourceItem }\"\n ></ng-container>\n </ng-container>\n </cdk-virtual-scroll-viewport>\n </ul>\n</div>\n", styles: [".nui .nui-repeat{height:inherit}.nui .nui-repeat__normal .nui-repeat-item{padding-top:5px;padding-bottom:5px}.nui .nui-repeat>ul>cdk-virtual-scroll-viewport{height:100%}.nui .nui-repeat__compact .nui-repeat-item{padding-top:0;padding-bottom:0}.nui .nui-repeat-header{color:var(--nui-color-text-default,#111);background-color:var(--nui-color-bg-light,#fff)}.nui .nui-repeat .repeat-group .nui-repeat-item{cursor:auto}.nui .nui-repeat .repeat-group .nui-repeat-item.nui-repeat-item--clickable{cursor:pointer}.nui .nui-repeat .repeat-group .nui-repeat-item.nui-repeat-item--clickable:hover:not(.nui-repeat-item--selected){border-color:var(--nui-color-line-default,#d9d9d9)}.nui .nui-repeat .repeat-group-item:first-child .nui-repeat-item{border-top:solid 1px;border-top-color:var(--nui-color-line-default,#d9d9d9)}.nui .nui-repeat .repeat-group{margin-bottom:0;padding-left:0;margin-left:0;height:inherit}.nui .nui-repeat .repeat-group-item{position:relative;display:block;color:var(--nui-color-text-default,#111);background-color:var(--nui-color-bg-light,#fff);transition:box-shadow .4s}.nui .nui-repeat .repeat-group-item:first-child{border-top-right-radius:0;border-top-left-radius:0}.nui .nui-repeat .repeat-group-item:last-child{margin-bottom:0;border-bottom-right-radius:0;border-bottom-left-radius:0}.nui .nui-repeat .repeat-group-item:hover{cursor:pointer}.nui .nui-repeat .repeat-group-item:hover.nui-dnd-without-drag-handle:not(.cdk-drag-disabled){cursor:move;z-index:1;box-sizing:border-box;box-shadow:0 2px 10px 0 var(--nui-shadow-color, rgba(17, 17, 17, .3))}.nui .nui-repeat .repeat-group-item--disabled{color:var(--nui-color-text-disabled,rgba(17, 17, 17, .3))}.nui .nui-repeat .repeat-group-item--disabled:hover{cursor:not-allowed}.nui .nui-repeat .nui-repeat-item{border-bottom:solid 1px;border-bottom-color:var(--nui-color-line-default,#d9d9d9)}@supports (-ms-ime-align: auto){.nui .nui-repeat .nui-repeat-item{margin-bottom:.5px}}\n"], components: [{ type: RepeatItemComponent, selector: "nui-repeat-item", inputs: ["clickable", "nowrap", "selected", "selectable"], outputs: ["rowClicked"] }, { type: CheckboxComponent, selector: "nui-checkbox", inputs: ["ariaLabel", "ariaLabelledby", "ariaDescribedby", "name", "title", "value", "hovered", "checked", "required", "hint", "disabled", "indeterminate"], outputs: ["valueChange"] }, { type: RadioComponent, selector: "nui-radio", inputs: ["value", "hovered", "checked", "hint", "disabled", "ariaLabel"], outputs: ["valueChange"] }, { type: i1$4.CdkVirtualScrollViewport, selector: "cdk-virtual-scroll-viewport", inputs: ["orientation", "appendOnly"], outputs: ["scrolledIndexChange"] }], directives: [{ type: i2.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { type: i3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i2.CdkDragPreview, selector: "ng-template[cdkDragPreview]", inputs: ["data", "matchSize"] }, { type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1$4.CdkFixedSizeVirtualScroll, selector: "cdk-virtual-scroll-viewport[itemSize]", inputs: ["itemSize", "minBufferPx", "maxBufferPx"] }, { type: i1$4.CdkVirtualForOf, selector: "[cdkVirtualFor][cdkVirtualForOf]", inputs: ["cdkVirtualForOf", "cdkVirtualForTrackBy", "cdkVirtualForTemplate", "cdkVirtualForTemplateCacheSize"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
14784
|
+
RepeatComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: RepeatComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: LoggerService }, { token: i0.IterableDiffers }, { token: i1.DragDrop }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
14785
|
+
RepeatComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: RepeatComponent, selector: "nui-repeat", inputs: { draggable: "draggable", reorderable: "reorderable", preventRowClick: "preventRowClick", repeatItemTemplateRef: "repeatItemTemplateRef", dragHandleTemplateRef: "dragHandleTemplateRef", dragPreviewClass: "dragPreviewClass", dragPreviewTemplateRef: "dragPreviewTemplateRef", actionsTemplateRef: "actionsTemplateRef", selectionMode: "selectionMode", paddingSize: "paddingSize", virtualScroll: "virtualScroll", itemSize: "itemSize", selection: "selection", itemConfig: "itemConfig", itemsSource: "itemsSource", highlightSelectedItem: "highlightSelectedItem" }, outputs: { draggableChange: "draggableChange", reorderableChange: "reorderableChange", itemsReordered: "itemsReordered", selectionChange: "selectionChange" }, host: { properties: { "class.virtual-scroll-viewport": "virtualScroll", "attr.role": "role", "attr.aria-multiselectable": "ariaMultiselectable", "style.width": "this.width" } }, viewQueries: [{ propertyName: "dropListArea", first: true, predicate: ["dropListArea"], descendants: true }, { propertyName: "_viewportRef", first: true, predicate: CdkVirtualScrollViewport, descendants: true }, { propertyName: "draggableElements", predicate: CdkDrag, descendants: true }], ngImport: i0, template: "<ng-template #repeatItems let-item=\"item\" let-itemIndex=\"itemIndex\">\n <nui-repeat-item\n class=\"repeat-group-item\"\n #drag=\"cdkDrag\"\n cdkDrag\n [cdkDragData]=\"item\"\n [cdkDragPreviewClass]=\"dragPreviewClass\"\n [cdkDragDisabled]=\"!isItemDraggable(item)\"\n (rowClicked)=\"itemClicked($event, item)\"\n [clickable]=\"isItemClickable(item)\"\n [selectable]=\"isItemSelectable(item)\"\n [selected]=\"isItemSelected(item) && !isItemDisabled(item)\"\n [class.repeat-group-item--disabled]=\"isItemDisabled(item)\"\n [class.nui-dnd-without-drag-handle]=\"\n isItemDraggable(item) && !dragHandleTemplateRef\n \"\n [class.nui-dnd-raised-state]=\"\n isItemDraggable(item) && mousedOver[itemIndex]\n \"\n >\n <div\n *ngIf=\"dragHandleTemplateRef && !virtualScroll\"\n [class.hide]=\"!draggable\"\n [class.invisible]=\"!isItemDraggable(item)\"\n class=\"nui-repeat-item__controls-drag-handle align-self-center\"\n >\n <div\n cdkDragHandle\n (mouseover)=\"mousedOver[itemIndex] = true\"\n (mouseout)=\"mousedOver[itemIndex] = false\"\n [class.nui-dnd-handle]=\"!drag.disabled\"\n >\n <ng-container\n [ngTemplateOutlet]=\"dragHandleTemplateRef\"\n [ngTemplateOutletContext]=\"{ item: item }\"\n ></ng-container>\n </div>\n </div>\n <div\n *ngIf=\"dragPreviewTemplateRef && !virtualScroll\"\n class=\"nui-repeat-item__controls-drag-handle\"\n >\n <div\n *cdkDragPreview\n [class.nui-dnd-preview]=\"!isItemDisabled(item)\"\n >\n <ng-container\n [ngTemplateOutlet]=\"dragPreviewTemplateRef\"\n [ngTemplateOutletContext]=\"{ item: item }\"\n ></ng-container>\n </div>\n </div>\n <div class=\"nui-repeat-item__controls-container\">\n <nui-checkbox\n *ngIf=\"isModeMulti()\"\n class=\"nui-repeat-item__checkbox\"\n [value]=\"item\"\n [checked]=\"isItemSelected(item)\"\n [disabled]=\"isItemDisabled(item)\"\n (valueChange)=\"itemClicked($event, item)\"\n >\n </nui-checkbox>\n <nui-radio\n *ngIf=\"isModeRadio()\"\n class=\"nui-repeat-item__radio\"\n [value]=\"item\"\n [checked]=\"isItemSelected(item)\"\n [disabled]=\"isItemDisabled(item)\"\n (click)=\"itemClicked($event, item)\"\n >\n </nui-radio>\n </div>\n <div class=\"nui-repeat-item__content-container\">\n <ng-container\n [ngTemplateOutlet]=\"repeatItemTemplateRef\"\n [ngTemplateOutletContext]=\"{ item: item }\"\n ></ng-container>\n </div>\n <div\n class=\"nui-repeat-item__actions-container\"\n *ngIf=\"actionsTemplateRef\"\n >\n <ng-container\n [ngTemplateOutlet]=\"actionsTemplateRef\"\n [ngTemplateOutletContext]=\"{ item: item }\"\n >\n </ng-container>\n </div>\n </nui-repeat-item>\n</ng-template>\n\n<div class=\"nui-repeat nui-repeat__{{ paddingSize }}\">\n <div class=\"nui-repeat-header\">\n <ng-content select=\"[repeatHeaderTemplate]\"></ng-content>\n </div>\n <ul #dropListArea class=\"repeat-group\" aria-dropeffect=\"move\">\n <div *ngIf=\"!virtualScroll\">\n <ng-container\n *ngFor=\"\n let sourceItem of itemsSource;\n trackBy: itemConfig?.trackBy;\n let itemIndex = index\n \"\n [ngTemplateOutlet]=\"repeatItems\"\n [ngTemplateOutletContext]=\"{\n item: sourceItem,\n itemIndex: itemIndex\n }\"\n ></ng-container>\n </div>\n <cdk-virtual-scroll-viewport\n [itemSize]=\"itemSize\"\n *ngIf=\"virtualScroll && itemSize\"\n >\n <ng-container\n *cdkVirtualFor=\"\n let sourceItem of itemsSource;\n templateCacheSize: 0\n \"\n >\n <ng-container\n [ngTemplateOutlet]=\"repeatItems\"\n [ngTemplateOutletContext]=\"{ item: sourceItem }\"\n ></ng-container>\n </ng-container>\n </cdk-virtual-scroll-viewport>\n </ul>\n</div>\n", styles: [".nui .nui-repeat{height:inherit}.nui .nui-repeat__normal .nui-repeat-item{padding-top:5px;padding-bottom:5px}.nui .nui-repeat>ul>cdk-virtual-scroll-viewport{height:100%}.nui .nui-repeat__compact .nui-repeat-item{padding-top:0;padding-bottom:0}.nui .nui-repeat-header{color:var(--nui-color-text-default,#111);background-color:var(--nui-color-bg-light,#fff)}.nui .nui-repeat .repeat-group .nui-repeat-item{cursor:auto}.nui .nui-repeat .repeat-group .nui-repeat-item.nui-repeat-item--clickable{cursor:pointer}.nui .nui-repeat .repeat-group .nui-repeat-item.nui-repeat-item--clickable:hover:not(.nui-repeat-item--selected){border-color:var(--nui-color-line-default,#d9d9d9)}.nui .nui-repeat .repeat-group-item:first-child .nui-repeat-item{border-top:solid 1px;border-top-color:var(--nui-color-line-default,#d9d9d9)}.nui .nui-repeat .repeat-group{margin-bottom:0;padding-left:0;margin-left:0;height:inherit}.nui .nui-repeat .repeat-group-item{position:relative;display:block;color:var(--nui-color-text-default,#111);background-color:var(--nui-color-bg-light,#fff);transition:box-shadow .4s}.nui .nui-repeat .repeat-group-item:first-child{border-top-right-radius:0;border-top-left-radius:0}.nui .nui-repeat .repeat-group-item:last-child{margin-bottom:0;border-bottom-right-radius:0;border-bottom-left-radius:0}.nui .nui-repeat .repeat-group-item:hover{cursor:pointer}.nui .nui-repeat .repeat-group-item:hover.nui-dnd-without-drag-handle:not(.cdk-drag-disabled){cursor:move;z-index:1;box-sizing:border-box;box-shadow:0 2px 10px 0 var(--nui-shadow-color, rgba(17, 17, 17, .3))}.nui .nui-repeat .repeat-group-item--disabled{color:var(--nui-color-text-disabled,rgba(17, 17, 17, .3))}.nui .nui-repeat .repeat-group-item--disabled:hover{cursor:not-allowed}.nui .nui-repeat .nui-repeat-item{border-bottom:solid 1px;border-bottom-color:var(--nui-color-line-default,#d9d9d9)}@supports (-ms-ime-align: auto){.nui .nui-repeat .nui-repeat-item{margin-bottom:.5px}}\n"], components: [{ type: RepeatItemComponent, selector: "nui-repeat-item", inputs: ["clickable", "nowrap", "selected", "selectable"], outputs: ["rowClicked"] }, { type: CheckboxComponent, selector: "nui-checkbox", inputs: ["ariaLabel", "ariaLabelledby", "ariaDescribedby", "name", "title", "value", "hovered", "checked", "required", "hint", "disabled", "indeterminate"], outputs: ["valueChange"] }, { type: RadioComponent, selector: "nui-radio", inputs: ["value", "hovered", "checked", "hint", "disabled", "ariaLabel"], outputs: ["valueChange"] }, { type: i1$5.CdkVirtualScrollViewport, selector: "cdk-virtual-scroll-viewport", inputs: ["orientation", "appendOnly"], outputs: ["scrolledIndexChange"] }], directives: [{ type: i1.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { type: i3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i1.CdkDragPreview, selector: "ng-template[cdkDragPreview]", inputs: ["data", "matchSize"] }, { type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1$5.CdkFixedSizeVirtualScroll, selector: "cdk-virtual-scroll-viewport[itemSize]", inputs: ["itemSize", "minBufferPx", "maxBufferPx"] }, { type: i1$5.CdkVirtualForOf, selector: "[cdkVirtualFor][cdkVirtualForOf]", inputs: ["cdkVirtualForOf", "cdkVirtualForTrackBy", "cdkVirtualForTemplate", "cdkVirtualForTemplateCacheSize"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
14765
14786
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: RepeatComponent, decorators: [{
|
|
14766
14787
|
type: Component,
|
|
14767
14788
|
args: [{ selector: "nui-repeat", changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
|
|
@@ -14769,7 +14790,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
14769
14790
|
"[attr.role]": "role",
|
|
14770
14791
|
"[attr.aria-multiselectable]": "ariaMultiselectable",
|
|
14771
14792
|
}, template: "<ng-template #repeatItems let-item=\"item\" let-itemIndex=\"itemIndex\">\n <nui-repeat-item\n class=\"repeat-group-item\"\n #drag=\"cdkDrag\"\n cdkDrag\n [cdkDragData]=\"item\"\n [cdkDragPreviewClass]=\"dragPreviewClass\"\n [cdkDragDisabled]=\"!isItemDraggable(item)\"\n (rowClicked)=\"itemClicked($event, item)\"\n [clickable]=\"isItemClickable(item)\"\n [selectable]=\"isItemSelectable(item)\"\n [selected]=\"isItemSelected(item) && !isItemDisabled(item)\"\n [class.repeat-group-item--disabled]=\"isItemDisabled(item)\"\n [class.nui-dnd-without-drag-handle]=\"\n isItemDraggable(item) && !dragHandleTemplateRef\n \"\n [class.nui-dnd-raised-state]=\"\n isItemDraggable(item) && mousedOver[itemIndex]\n \"\n >\n <div\n *ngIf=\"dragHandleTemplateRef && !virtualScroll\"\n [class.hide]=\"!draggable\"\n [class.invisible]=\"!isItemDraggable(item)\"\n class=\"nui-repeat-item__controls-drag-handle align-self-center\"\n >\n <div\n cdkDragHandle\n (mouseover)=\"mousedOver[itemIndex] = true\"\n (mouseout)=\"mousedOver[itemIndex] = false\"\n [class.nui-dnd-handle]=\"!drag.disabled\"\n >\n <ng-container\n [ngTemplateOutlet]=\"dragHandleTemplateRef\"\n [ngTemplateOutletContext]=\"{ item: item }\"\n ></ng-container>\n </div>\n </div>\n <div\n *ngIf=\"dragPreviewTemplateRef && !virtualScroll\"\n class=\"nui-repeat-item__controls-drag-handle\"\n >\n <div\n *cdkDragPreview\n [class.nui-dnd-preview]=\"!isItemDisabled(item)\"\n >\n <ng-container\n [ngTemplateOutlet]=\"dragPreviewTemplateRef\"\n [ngTemplateOutletContext]=\"{ item: item }\"\n ></ng-container>\n </div>\n </div>\n <div class=\"nui-repeat-item__controls-container\">\n <nui-checkbox\n *ngIf=\"isModeMulti()\"\n class=\"nui-repeat-item__checkbox\"\n [value]=\"item\"\n [checked]=\"isItemSelected(item)\"\n [disabled]=\"isItemDisabled(item)\"\n (valueChange)=\"itemClicked($event, item)\"\n >\n </nui-checkbox>\n <nui-radio\n *ngIf=\"isModeRadio()\"\n class=\"nui-repeat-item__radio\"\n [value]=\"item\"\n [checked]=\"isItemSelected(item)\"\n [disabled]=\"isItemDisabled(item)\"\n (click)=\"itemClicked($event, item)\"\n >\n </nui-radio>\n </div>\n <div class=\"nui-repeat-item__content-container\">\n <ng-container\n [ngTemplateOutlet]=\"repeatItemTemplateRef\"\n [ngTemplateOutletContext]=\"{ item: item }\"\n ></ng-container>\n </div>\n <div\n class=\"nui-repeat-item__actions-container\"\n *ngIf=\"actionsTemplateRef\"\n >\n <ng-container\n [ngTemplateOutlet]=\"actionsTemplateRef\"\n [ngTemplateOutletContext]=\"{ item: item }\"\n >\n </ng-container>\n </div>\n </nui-repeat-item>\n</ng-template>\n\n<div class=\"nui-repeat nui-repeat__{{ paddingSize }}\">\n <div class=\"nui-repeat-header\">\n <ng-content select=\"[repeatHeaderTemplate]\"></ng-content>\n </div>\n <ul #dropListArea class=\"repeat-group\" aria-dropeffect=\"move\">\n <div *ngIf=\"!virtualScroll\">\n <ng-container\n *ngFor=\"\n let sourceItem of itemsSource;\n trackBy: itemConfig?.trackBy;\n let itemIndex = index\n \"\n [ngTemplateOutlet]=\"repeatItems\"\n [ngTemplateOutletContext]=\"{\n item: sourceItem,\n itemIndex: itemIndex\n }\"\n ></ng-container>\n </div>\n <cdk-virtual-scroll-viewport\n [itemSize]=\"itemSize\"\n *ngIf=\"virtualScroll && itemSize\"\n >\n <ng-container\n *cdkVirtualFor=\"\n let sourceItem of itemsSource;\n templateCacheSize: 0\n \"\n >\n <ng-container\n [ngTemplateOutlet]=\"repeatItems\"\n [ngTemplateOutletContext]=\"{ item: sourceItem }\"\n ></ng-container>\n </ng-container>\n </cdk-virtual-scroll-viewport>\n </ul>\n</div>\n", styles: [".nui .nui-repeat{height:inherit}.nui .nui-repeat__normal .nui-repeat-item{padding-top:5px;padding-bottom:5px}.nui .nui-repeat>ul>cdk-virtual-scroll-viewport{height:100%}.nui .nui-repeat__compact .nui-repeat-item{padding-top:0;padding-bottom:0}.nui .nui-repeat-header{color:var(--nui-color-text-default,#111);background-color:var(--nui-color-bg-light,#fff)}.nui .nui-repeat .repeat-group .nui-repeat-item{cursor:auto}.nui .nui-repeat .repeat-group .nui-repeat-item.nui-repeat-item--clickable{cursor:pointer}.nui .nui-repeat .repeat-group .nui-repeat-item.nui-repeat-item--clickable:hover:not(.nui-repeat-item--selected){border-color:var(--nui-color-line-default,#d9d9d9)}.nui .nui-repeat .repeat-group-item:first-child .nui-repeat-item{border-top:solid 1px;border-top-color:var(--nui-color-line-default,#d9d9d9)}.nui .nui-repeat .repeat-group{margin-bottom:0;padding-left:0;margin-left:0;height:inherit}.nui .nui-repeat .repeat-group-item{position:relative;display:block;color:var(--nui-color-text-default,#111);background-color:var(--nui-color-bg-light,#fff);transition:box-shadow .4s}.nui .nui-repeat .repeat-group-item:first-child{border-top-right-radius:0;border-top-left-radius:0}.nui .nui-repeat .repeat-group-item:last-child{margin-bottom:0;border-bottom-right-radius:0;border-bottom-left-radius:0}.nui .nui-repeat .repeat-group-item:hover{cursor:pointer}.nui .nui-repeat .repeat-group-item:hover.nui-dnd-without-drag-handle:not(.cdk-drag-disabled){cursor:move;z-index:1;box-sizing:border-box;box-shadow:0 2px 10px 0 var(--nui-shadow-color, rgba(17, 17, 17, .3))}.nui .nui-repeat .repeat-group-item--disabled{color:var(--nui-color-text-disabled,rgba(17, 17, 17, .3))}.nui .nui-repeat .repeat-group-item--disabled:hover{cursor:not-allowed}.nui .nui-repeat .nui-repeat-item{border-bottom:solid 1px;border-bottom-color:var(--nui-color-line-default,#d9d9d9)}@supports (-ms-ime-align: auto){.nui .nui-repeat .nui-repeat-item{margin-bottom:.5px}}\n"] }]
|
|
14772
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: LoggerService }, { type: i0.IterableDiffers }, { type:
|
|
14793
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: LoggerService }, { type: i0.IterableDiffers }, { type: i1.DragDrop }, { type: i0.ElementRef }]; }, propDecorators: { draggable: [{
|
|
14773
14794
|
type: Input
|
|
14774
14795
|
}], reorderable: [{
|
|
14775
14796
|
type: Input
|
|
@@ -15466,7 +15487,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
15466
15487
|
/**
|
|
15467
15488
|
* @deprecated in v11 - Use BaseSelectV2 instead - Removal: NUI-5796
|
|
15468
15489
|
*/
|
|
15469
|
-
// eslint-disable-next-line @angular-eslint/directive-class-suffix
|
|
15470
15490
|
class BaseSelect {
|
|
15471
15491
|
constructor(utilService) {
|
|
15472
15492
|
this.utilService = utilService;
|
|
@@ -15770,7 +15790,6 @@ class ComboboxComponent extends BaseSelect {
|
|
|
15770
15790
|
}
|
|
15771
15791
|
findObjectByValue(value) {
|
|
15772
15792
|
let arrayOfValues;
|
|
15773
|
-
let foundObject;
|
|
15774
15793
|
// for itemsSource passed as ISelectGroup[]
|
|
15775
15794
|
if (this.isGroupedData(this.itemsSource)) {
|
|
15776
15795
|
arrayOfValues = _flatMap(this.itemsSource, (group) => group.items);
|
|
@@ -15778,7 +15797,7 @@ class ComboboxComponent extends BaseSelect {
|
|
|
15778
15797
|
else {
|
|
15779
15798
|
arrayOfValues = this.itemsSource;
|
|
15780
15799
|
}
|
|
15781
|
-
foundObject = _find(arrayOfValues, [this.displayValue, value]);
|
|
15800
|
+
const foundObject = _find(arrayOfValues, [this.displayValue, value]);
|
|
15782
15801
|
return foundObject ? foundObject : value;
|
|
15783
15802
|
}
|
|
15784
15803
|
isGroupedData(itemsSource) {
|
|
@@ -15820,7 +15839,7 @@ class ComboboxComponent extends BaseSelect {
|
|
|
15820
15839
|
}
|
|
15821
15840
|
}
|
|
15822
15841
|
}
|
|
15823
|
-
ComboboxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ComboboxComponent, deps: [{ token: UtilService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: MenuKeyControlService }, { token: i1$
|
|
15842
|
+
ComboboxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ComboboxComponent, deps: [{ token: UtilService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: MenuKeyControlService }, { token: i1$3.FocusMonitor }, { token: LoggerService }], target: i0.ɵɵFactoryTarget.Component });
|
|
15824
15843
|
ComboboxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ComboboxComponent, selector: "nui-combobox", inputs: { clearOnBlur: "clearOnBlur", appendToBody: "appendToBody" }, host: { properties: { "class.nui-combobox--justified": "this.isJustified", "class.nui-combobox--inline": "this.isInline" }, classAttribute: "nui-combobox" }, providers: [
|
|
15825
15844
|
{
|
|
15826
15845
|
provide: NG_VALUE_ACCESSOR,
|
|
@@ -15849,7 +15868,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
15849
15868
|
},
|
|
15850
15869
|
MenuKeyControlService,
|
|
15851
15870
|
], encapsulation: ViewEncapsulation.None, template: "<div class=\"nui-combobox__layout-block\" [class.disabled]=\"isDisabled\">\n <nui-popup\n [class.custom-template]=\"customTemplate\"\n (opened)=\"openChange($event)\"\n [manualOpenControl]=\"openControl\"\n [width]=\"getWidth()\"\n [contextClass]=\"getPopupContextClass()\"\n [appendToBody]=\"appendToBody\"\n >\n <div class=\"nui-combobox__icon\" *ngIf=\"!!icon\">\n <nui-icon\n [icon]=\"icon\"\n aria-hidden=\"true\"\n [iconColor]=\"getIconColor()\"\n ></nui-icon>\n </div>\n <div\n class=\"nui-combobox__container\"\n [class.has-error]=\"isInErrorState\"\n [class.nui-combobox__editable-container--disabled]=\"isDisabled\"\n nuiPopupToggle\n [disabled]=\"isDisabled\"\n >\n <nui-textbox\n class=\"nui-combobox__input\"\n [class.nui-combobox__input-icon]=\"showIcon()\"\n [class.nui-combobox__right-border]=\"showRightBorder()\"\n [class.nui-combobox__input--with-remove-value]=\"\n isRemoveValueDisplayed()\n \"\n type=\"text\"\n autocomplete=\"off\"\n [value]=\"unescapeItem(inputValue)\"\n [placeholder]=\"displayPlaceholderValue()\"\n (textChange)=\"onInputChange($event)\"\n [disabled]=\"isDisabled\"\n [isInErrorState]=\"isInErrorState\"\n [ariaLabel]=\"ariaLabel\"\n #comboboxToggle\n >\n </nui-textbox>\n <button\n tabindex=\"-1\"\n *ngIf=\"isRemoveValueDisplayed()\"\n nui-button\n class=\"nui-combobox__remove-value\"\n (click)=\"clearValue($event)\"\n [isEmpty]=\"true\"\n icon=\"remove\"\n title=\"remove\"\n displayStyle=\"action\"\n type=\"button\"\n ></button>\n <button\n tabindex=\"-1\"\n class=\"nui-combobox__toggle\"\n nui-button\n [isEmpty]=\"true\"\n icon=\"caret-down\"\n title=\"toggle\"\n displayStyle=\"action\"\n type=\"button\"\n [class.disabled]=\"isDisabled\"\n [disabled]=\"isDisabled\"\n ></button>\n </div>\n <div popupAreaContent>\n <div #scrollContainer class=\"nui-menu nui-combobox__menu\">\n <ng-container *ngFor=\"let item of itemsSource\">\n <nui-menu-action\n tabindex=\"-1\"\n *ngIf=\"!item.items\"\n [class.item-selected]=\"isItemSelected(item)\"\n (actionDone)=\"select(item)\"\n >\n <span\n tabindex=\"-1\"\n *ngIf=\"!customTemplate\"\n [innerHTML]=\"\n getItemDisplay(item)\n | nuiHighlight\n : (isItemSelected(item)\n ? ''\n : inputValue)\n \"\n ></span>\n <ng-container\n [ngTemplateOutlet]=\"customTemplate\"\n [ngTemplateOutletContext]=\"{ context: item }\"\n >\n </ng-container>\n </nui-menu-action>\n <nui-menu-group\n tabindex=\"-1\"\n *ngIf=\"item.items\"\n [header]=\"item.header\"\n >\n <nui-menu-action\n *ngFor=\"let groupedItem of item.items\"\n [class.item-selected]=\"isItemSelected(groupedItem)\"\n (actionDone)=\"select(groupedItem)\"\n >\n <span\n tabindex=\"-1\"\n [innerHTML]=\"\n getItemDisplay(groupedItem)\n | nuiHighlight\n : (isItemSelected(groupedItem)\n ? ''\n : inputValue)\n \"\n ></span>\n </nui-menu-action>\n </nui-menu-group>\n </ng-container>\n </div>\n </div>\n </nui-popup>\n</div>\n", styles: [".nui-menu-item{display:list-item;list-style-type:none;white-space:nowrap;margin-bottom:1px;font-size:13px;background-color:var(--nui-color-bg-transparent,transparent)}.nui-menu-item:not(.nui-menu-item--header){min-height:30px}.nui-menu-item .nui-icon{margin-right:5px}.nui-menu-item:not(.nui-menu-item--header):hover{background-color:var(--nui-color-bg-transparent-hover,rgba(17, 17, 17, .05))}.nui-menu-item:not(.nui-menu-item--header):hover .nui-checkbox__label{background-color:var(--transparent,transparent)}.nui-menu-item.nui-menu-item--header{padding:5px 10px;text-transform:uppercase;cursor:default;font-size:11px;color:var(--nui-color-text-secondary,rgba(17, 17, 17, .6));line-height:14px}.nui-menu-item.nui-menu-item__default,.nui-menu-item .nui-checkbox__transclude,.nui-menu-item>.nui-menu-item__link,.nui-menu-item>.nui-menu-item__switch,.nui-menu-item>.nui-menu-item__option{overflow:hidden;text-overflow:ellipsis}.nui-menu-item>.nui-menu-item__link,.nui-menu-item>.nui-menu-item__switch,.nui-menu-item>.nui-menu-item__option,.nui-menu-item>.nui-menu-item__default{display:flex;align-items:center;padding:5px 10px;text-decoration:none}.nui-menu-item>.nui-menu-item__link:active,.nui-menu-item>.nui-menu-item__switch:active,.nui-menu-item>.nui-menu-item__option:active,.nui-menu-item>.nui-menu-item__default:active,.nui-menu-item>.nui-menu-item__link:focus,.nui-menu-item>.nui-menu-item__switch:focus,.nui-menu-item>.nui-menu-item__option:focus,.nui-menu-item>.nui-menu-item__default:focus{outline:none;z-index:500;box-shadow:inset 0 0 0 2px #00c4d280}.nui-menu-item.checked{background-color:var(--nui-color-selected,rgba(0, 196, 210, .1));font-weight:600}.nui-menu-item.checked:hover{background-color:var(--nui-color-selected-hover,rgba(0, 196, 210, .2));font-weight:600;cursor:pointer}.nui-menu-item .nui-menu-item__default{padding:5px 10px;cursor:pointer;color:var(--nui-color-text-default,#111)}.nui-menu-item .nui-menu-item__default:hover{color:var(--nui-color-text-default-hover,#000000)}.nui-menu-item--active{background-color:var(--nui-color-bg-light-hover,#f2f2f2);outline:none;z-index:500;box-shadow:inset 0 0 0 2px #00c4d280}.nui-menu-item--active.nui-menu-item--selected,.nui-menu-item--active.nui-menu-item.checked{background-color:var(--nui-color-selected-hover,rgba(0, 196, 210, .2))}.nui-menu-item.nui-menu-item--selected{background-color:var(--nui-color-selected,rgba(0, 196, 210, .1));font-weight:600}.nui-menu-item.nui-menu-item--selected:hover{background-color:var(--nui-color-selected-hover,rgba(0, 196, 210, .2))}.nui .nui-combobox .nui-combobox__container{outline:none;border-radius:3px;border:1px solid #d9d9d9;border:1px solid var(--nui-color-line-default, #d9d9d9)}.nui .nui-combobox .nui-combobox__container.nui-combobox__editable-container--disabled{background-color:var(--nui-color-disabled-secondary,#e8e8e8)}.nui .nui-combobox .nui-combobox__container:not(.nui-combobox__editable-container--disabled):not(.has-error):hover{border-color:var(--nui-color-line-default-hover,#b3b3b3)}.nui .nui-combobox .nui-combobox__container:not(.nui-combobox__editable-container--disabled):not(.has-error):focus-within{border-color:var(--nui-color-line-active,#0079aa)}.nui .nui-combobox .nui-combobox__container:not(.nui-combobox__editable-container--disabled):not(.has-error):focus{background-color:var(--nui-color-bg-transparent-hover,rgba(17, 17, 17, .05));outline:none;z-index:500;box-shadow:0 0 0 2px #00c4d280}.nui .nui-combobox .nui-combobox__container.has-error{border-color:var(--nui-color-line-critical,#dd2c00)}.nui .nui-combobox .nui-combobox__container.has-error:focus{background-color:var(--nui-color-bg-transparent-hover,rgba(17, 17, 17, .05));outline:none;z-index:500;box-shadow:0 0 0 2px #00c4d280}.nui .nui-combobox--inline .nui-combobox__layout-block{display:inline-flex}.nui .nui-combobox .btn{border-radius:0 3px 3px 0}.nui .nui-combobox .btn:hover,.nui .nui-combobox .btn:active{outline:none}.nui .nui-combobox .btn:focus{background-color:var(--nui-color-bg-transparent-hover,rgba(17, 17, 17, .05));outline:none;z-index:500;box-shadow:0 0 0 2px #00c4d280}.nui .nui-combobox .btn.disabled{color:var(--nui-color-disabled,#b3b3b3);pointer-events:auto;cursor:not-allowed}.nui .nui-combobox .btn.disabled:hover,.nui .nui-combobox .btn.disabled:active{color:var(--nui-color-disabled,#b3b3b3);background-color:var(--transparent,transparent);box-shadow:none}.nui .nui-combobox .btn.disabled .nui-icon path,.nui .nui-combobox .btn.disabled .nui-icon polygon{fill:var(--nui-color-icon-disabled,rgba(17, 17, 17, .3))}.nui .nui-combobox .nui-menu-item .nui-menu-item__action{color:var(--nui-color-text-default,#111)}.nui .nui-combobox .nui-menu-item.item-selected .nui-menu-item__action{background-color:var(--nui-color-selected,rgba(0, 196, 210, .1));color:var(--nui-color-text-default,#111);font-weight:600}.nui .nui-combobox .nui-menu-item.item-selected .nui-menu-item__action:hover{background-color:var(--nui-color-selected-hover,rgba(0, 196, 210, .2))}.nui .nui-combobox .nui-popup .nui-popup__area [popupAreaContent]{padding:0}.nui .nui-combobox .nui-popup .nui-popup__area{width:100%;min-width:160px;max-width:400px;height:100%;overflow-y:auto}.nui .nui-combobox .nui-combobox__menu{max-height:300px;overflow-y:auto;max-width:400px;overflow-y:initial}.nui .nui-combobox__input{float:left;width:200px;height:30px;border-radius:3px 0 0 3px;border:0;box-shadow:none}.nui .nui-combobox__input--with-remove-value{width:170px}.nui .nui-combobox__input:not(:disabled):hover,.nui .nui-combobox__input:not(:disabled):focus{border-color:var(--nui-color-line-default,#d9d9d9);position:relative}.nui .nui-combobox__input .nui-textbox__input{border:none;box-shadow:none}.nui .nui-combobox__input .nui-textbox__input::-moz-placeholder{color:var(--input-color-placeholder,rgba(17, 17, 17, .6));opacity:1;font-weight:400}.nui .nui-combobox__input .nui-textbox__input:-ms-input-placeholder{color:var(--input-color-placeholder,rgba(17, 17, 17, .6));font-weight:400}.nui .nui-combobox__input .nui-textbox__input::-webkit-input-placeholder{color:var(--input-color-placeholder,rgba(17, 17, 17, .6));font-weight:400}.nui .nui-combobox__input .nui-textbox__input.input-control{border-radius:3px 0 0 3px;padding-right:0;margin-bottom:0}.nui .nui-combobox__input .nui-textbox__input.input-control:active{border:#0079aa}.nui .nui-combobox__input .nui-textbox__input.input-control:focus{background-color:var(--nui-color-bg-transparent-hover,rgba(17, 17, 17, .05));outline:none;z-index:500;box-shadow:0 0 0 2px #00c4d280}.nui .nui-combobox__remove-value{border-right:1px solid var(--nui-color-line-default, #d9d9d9);border-left:none}.nui .nui-combobox__icon{align-items:center;display:flex;height:22px;left:7px;pointer-events:none;position:absolute;top:5px;z-index:501}.nui .nui-combobox__input-icon .nui-textbox .has-feedback .nui-textbox__input{padding-left:32px}.nui .nui-combobox__right-border{border-right:1px solid var(--nui-color-line-default, #d9d9d9)}.nui .nui-combobox.disabled>.nui-combobox__container{background-color:var(--nui-color-disabled-secondary,#e8e8e8)}.nui .nui-combobox.disabled>.nui-combobox__btn-group>.btn{color:var(--nui-color-off,#4d4d4d);background-color:var(--nui-color-line-default,#d9d9d9);border-color:var(--nui-color-line-default,#d9d9d9)}.nui .nui-combobox--justified .nui-popup,.nui .nui-combobox--justified .nui-popup .nui-popup-container{flex-grow:1}.nui .nui-combobox--justified .nui-popup .nui-popup__content{width:100%}.nui .nui-combobox--justified .nui-combobox__layout-block{display:flex}.nui .nui-combobox--justified .nui-combobox__container{display:flex;flex-grow:1}.nui .nui-combobox--justified .nui-combobox__input{width:auto;display:flex;flex-grow:1}.nui .nui-combobox--justified .nui-combobox__input .nui-textbox,.nui .nui-combobox--justified .nui-combobox__input .nui-textbox .has-feedback{display:flex;flex-grow:1}.nui .nui-combobox--justified .nui-popup .nui-popup__area,.nui .nui-combobox--justified .nui-popup .nui-popup__area .nui-combobox__menu{max-width:none}.nui .nui-combobox .custom-template .nui-combobox__menu,.nui .nui-combobox .custom-template .nui-popup__area{width:auto}@-moz-document url-prefix(){.nui .nui-combobox .nui-menu-item{padding-right:0}}\n"] }]
|
|
15852
|
-
}], ctorParameters: function () { return [{ type: UtilService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }, { type: MenuKeyControlService }, { type: i1$
|
|
15871
|
+
}], ctorParameters: function () { return [{ type: UtilService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }, { type: MenuKeyControlService }, { type: i1$3.FocusMonitor }, { type: LoggerService }]; }, propDecorators: { clearOnBlur: [{
|
|
15853
15872
|
type: Input
|
|
15854
15873
|
}], appendToBody: [{
|
|
15855
15874
|
type: Input
|
|
@@ -17064,7 +17083,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
17064
17083
|
/**
|
|
17065
17084
|
* <example-url>./../examples/index.html#/busy</example-url>
|
|
17066
17085
|
*/
|
|
17067
|
-
/* eslint-disable @angular-eslint/component-selector */
|
|
17068
17086
|
/* eslint-enable @angular-eslint/component-selector */
|
|
17069
17087
|
class BusyComponent {
|
|
17070
17088
|
constructor(tabNavigationService, elRef) {
|
|
@@ -19314,8 +19332,8 @@ class DialogComponent {
|
|
|
19314
19332
|
this.elRef.nativeElement.querySelector(FOCUSABLE_SELECTOR).focus();
|
|
19315
19333
|
}
|
|
19316
19334
|
}
|
|
19317
|
-
DialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DialogComponent, deps: [{ token: DOCUMENT }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i1$
|
|
19318
|
-
DialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: DialogComponent, selector: "nui-dialog-window", inputs: { backdrop: "backdrop", keyboard: "keyboard", size: "size", windowClass: "windowClass" }, outputs: { dismissEvent: "dismissEvent" }, host: { attributes: { "role": "dialog", "aria-modal": "true", "tabindex": "-1" }, listeners: { "keyup.esc": "escKey($event)", "mousedown": "backdropMouseDown($event)", "mouseup": "backdropMouseUp($event)", "window:keydown.shift.tab": "onShiftTab($event)", "window:keydown.tab": "onTab($event)" }, properties: { "class": "\"nui-dialog fade in show\" + (windowClass ? \" \" + windowClass : \"\")" } }, ngImport: i0, template: "<div [class]=\"'modal-dialog' + (size ? ' dialog-' + size : '')\" cdkTrapFocus>\n <div class=\"dialog-content\"><ng-content></ng-content></div>\n</div>\n", styles: [".nui .dialog-open{overflow:hidden}.nui .dialog-open .nui-dialog{overflow-x:hidden;overflow-y:auto}.nui .nui-dialog{display:none;overflow:hidden;position:fixed;top:0;right:0;bottom:0;left:0;z-index:1050;pointer-events:auto;-webkit-overflow-scrolling:touch;outline:0}.nui .nui-dialog .modal-dialog{position:relative;width:auto;max-width:80%;margin:10px}.nui .nui-dialog .modal-dialog .dialog-content{position:relative;background-color:var(--nui-color-bg-content_popover,#fff);box-shadow:0 0 5px 0 var(--nui-shadow-color, rgba(17, 17, 17, .3));background-clip:padding-box;outline:0;min-width:400px;word-wrap:break-word}.nui .nui-dialog .modal-dialog .dialog-content .dialog-header{display:flex;align-items:center;justify-content:space-between;padding:15px;border-bottom:1px solid;border-bottom-color:var(--nui-color-line-default,#d9d9d9);min-height:39px;background:none}.nui .nui-dialog .modal-dialog .dialog-content .dialog-header .severity-text{display:inline-flex;align-items:center;overflow:hidden}.nui .nui-dialog .modal-dialog .dialog-content .dialog-header .severity-text .dialog-title{white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;text-overflow:ellipsis;display:inline-block;margin:0;padding:0;line-height:24px;text-transform:none}.nui .nui-dialog .modal-dialog .dialog-content .dialog-header .severity-text .nui-icon{margin-right:5px}.nui .nui-dialog .modal-dialog .dialog-content .dialog-header .btn-group{margin-left:15px}.nui .nui-dialog .modal-dialog .dialog-content .dialog-header.dialog-header-info{border-bottom:3px solid;border-bottom-color:var(--nui-color-line-info,#1c8eb1)}.nui .nui-dialog .modal-dialog .dialog-content .dialog-header.dialog-header-warning{border-bottom:3px solid;border-bottom-color:var(--nui-color-line-warning,#fec405)}.nui .nui-dialog .modal-dialog .dialog-content .dialog-header.dialog-header-critical{border-bottom:3px solid;border-bottom-color:var(--nui-color-line-critical,#dd2c00)}.nui .nui-dialog .modal-dialog .dialog-content .dialog-body{position:relative;padding:15px}.nui .nui-dialog .modal-dialog .dialog-content .dialog-body.compact-mode{padding:0}.nui .nui-dialog .modal-dialog .dialog-content .dialog-body.responsive-mode{overflow:auto;max-height:71vh}.nui .dialog-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:var(--nui-color-overlay-modal,rgba(17, 17, 17, .5))}.nui .nui-overlay-container.cdk-overlay-container .dialog-backdrop,.nui .nui-overlay-container.cdk-overlay-container .nui-dialog{z-index:1000}@media (min-width: 768px){.nui .nui-dialog .modal-dialog{width:600px;margin:80px auto}.nui .nui-dialog .modal-dialog .dialog-content{box-shadow:0 0 5px 0 var(--nui-shadow-color, rgba(17, 17, 17, .3))}.nui-dialog .modal-dialog.dialog-sm{width:400px}}@media (min-width: 992px){.nui-dialog .modal-dialog.dialog-lg{width:900px}}\n"], directives: [{ type: i1$
|
|
19335
|
+
DialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DialogComponent, deps: [{ token: DOCUMENT }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i1$5.ScrollDispatcher }, { token: i1$6.Router }], target: i0.ɵɵFactoryTarget.Component });
|
|
19336
|
+
DialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: DialogComponent, selector: "nui-dialog-window", inputs: { backdrop: "backdrop", keyboard: "keyboard", size: "size", windowClass: "windowClass" }, outputs: { dismissEvent: "dismissEvent" }, host: { attributes: { "role": "dialog", "aria-modal": "true", "tabindex": "-1" }, listeners: { "keyup.esc": "escKey($event)", "mousedown": "backdropMouseDown($event)", "mouseup": "backdropMouseUp($event)", "window:keydown.shift.tab": "onShiftTab($event)", "window:keydown.tab": "onTab($event)" }, properties: { "class": "\"nui-dialog fade in show\" + (windowClass ? \" \" + windowClass : \"\")" } }, ngImport: i0, template: "<div [class]=\"'modal-dialog' + (size ? ' dialog-' + size : '')\" cdkTrapFocus>\n <div class=\"dialog-content\"><ng-content></ng-content></div>\n</div>\n", styles: [".nui .dialog-open{overflow:hidden}.nui .dialog-open .nui-dialog{overflow-x:hidden;overflow-y:auto}.nui .nui-dialog{display:none;overflow:hidden;position:fixed;top:0;right:0;bottom:0;left:0;z-index:1050;pointer-events:auto;-webkit-overflow-scrolling:touch;outline:0}.nui .nui-dialog .modal-dialog{position:relative;width:auto;max-width:80%;margin:10px}.nui .nui-dialog .modal-dialog .dialog-content{position:relative;background-color:var(--nui-color-bg-content_popover,#fff);box-shadow:0 0 5px 0 var(--nui-shadow-color, rgba(17, 17, 17, .3));background-clip:padding-box;outline:0;min-width:400px;word-wrap:break-word}.nui .nui-dialog .modal-dialog .dialog-content .dialog-header{display:flex;align-items:center;justify-content:space-between;padding:15px;border-bottom:1px solid;border-bottom-color:var(--nui-color-line-default,#d9d9d9);min-height:39px;background:none}.nui .nui-dialog .modal-dialog .dialog-content .dialog-header .severity-text{display:inline-flex;align-items:center;overflow:hidden}.nui .nui-dialog .modal-dialog .dialog-content .dialog-header .severity-text .dialog-title{white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;text-overflow:ellipsis;display:inline-block;margin:0;padding:0;line-height:24px;text-transform:none}.nui .nui-dialog .modal-dialog .dialog-content .dialog-header .severity-text .nui-icon{margin-right:5px}.nui .nui-dialog .modal-dialog .dialog-content .dialog-header .btn-group{margin-left:15px}.nui .nui-dialog .modal-dialog .dialog-content .dialog-header.dialog-header-info{border-bottom:3px solid;border-bottom-color:var(--nui-color-line-info,#1c8eb1)}.nui .nui-dialog .modal-dialog .dialog-content .dialog-header.dialog-header-warning{border-bottom:3px solid;border-bottom-color:var(--nui-color-line-warning,#fec405)}.nui .nui-dialog .modal-dialog .dialog-content .dialog-header.dialog-header-critical{border-bottom:3px solid;border-bottom-color:var(--nui-color-line-critical,#dd2c00)}.nui .nui-dialog .modal-dialog .dialog-content .dialog-body{position:relative;padding:15px}.nui .nui-dialog .modal-dialog .dialog-content .dialog-body.compact-mode{padding:0}.nui .nui-dialog .modal-dialog .dialog-content .dialog-body.responsive-mode{overflow:auto;max-height:71vh}.nui .dialog-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:var(--nui-color-overlay-modal,rgba(17, 17, 17, .5))}.nui .nui-overlay-container.cdk-overlay-container .dialog-backdrop,.nui .nui-overlay-container.cdk-overlay-container .nui-dialog{z-index:1000}@media (min-width: 768px){.nui .nui-dialog .modal-dialog{width:600px;margin:80px auto}.nui .nui-dialog .modal-dialog .dialog-content{box-shadow:0 0 5px 0 var(--nui-shadow-color, rgba(17, 17, 17, .3))}.nui-dialog .modal-dialog.dialog-sm{width:400px}}@media (min-width: 992px){.nui-dialog .modal-dialog.dialog-lg{width:900px}}\n"], directives: [{ type: i1$3.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
19319
19337
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DialogComponent, decorators: [{
|
|
19320
19338
|
type: Component,
|
|
19321
19339
|
args: [{ selector: "nui-dialog-window", host: {
|
|
@@ -19330,7 +19348,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
19330
19348
|
}], ctorParameters: function () { return [{ type: Document, decorators: [{
|
|
19331
19349
|
type: Inject,
|
|
19332
19350
|
args: [DOCUMENT]
|
|
19333
|
-
}] }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.NgZone }, { type: i1$
|
|
19351
|
+
}] }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.NgZone }, { type: i1$5.ScrollDispatcher }, { type: i1$6.Router }]; }, propDecorators: { backdrop: [{
|
|
19334
19352
|
type: Input
|
|
19335
19353
|
}], keyboard: [{
|
|
19336
19354
|
type: Input
|
|
@@ -20167,7 +20185,7 @@ ${this.pageSizeSet[0]}. To set the desired initial page size, include it as part
|
|
|
20167
20185
|
}
|
|
20168
20186
|
}
|
|
20169
20187
|
PaginatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PaginatorComponent, deps: [{ token: LoggerService }, { token: PopupContainerService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
20170
|
-
PaginatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PaginatorComponent, selector: "nui-paginator", inputs: { itemsList: "itemsList", page: "page", pageSize: "pageSize", pageSizeSet: "pageSizeSet", total: "total", dots: "dots", hideIfEmpty: "hideIfEmpty", hide: "hide", activeClass: "activeClass", disabledClass: "disabledClass", adjacent: "adjacent", maxElements: "maxElements", showPrevNext: "showPrevNext", popupDirectionTop: "popupDirectionTop", popupBaseElementSelector: "popupBaseElementSelector", appendToBody: "appendToBody" }, outputs: { pagerAction: "pagerAction", pageChange: "pageChange" }, host: { attributes: { "role": "navigation" } }, providers: [PopupContainerService], viewQueries: [{ propertyName: "selectComponent", first: true, predicate: ["select"], descendants: true }, { propertyName: "virtualScrollViewport", first: true, predicate: CdkVirtualScrollViewport, descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div class=\"nui-paginator\" *ngIf=\"showPaginator()\">\n <div class=\"nui-paginator__items\">\n <ul\n class=\"nui-paginator__list\"\n role=\"listbox\"\n aria-label=\"List of pages\"\n >\n <li\n role=\"option\"\n title=\"{{ item.title }}\"\n [ngClass]=\"item.style\"\n *ngFor=\"let item of itemsList\"\n value=\"{{ item.value }}\"\n >\n <button\n nui-button\n type=\"button\"\n displayStyle=\"action\"\n [disabled]=\"item.style\"\n *ngIf=\"item.iconName\"\n class=\"move-icon\"\n [icon]=\"item.iconName\"\n (click)=\"item.action($event)\"\n ></button>\n <button\n nui-button\n type=\"button\"\n *ngIf=\"item.value !== dots && !item.iconName\"\n displayStyle=\"action\"\n (click)=\"item.action($event)\"\n [isEmpty]=\"false\"\n >\n {{ item.value }}\n </button>\n <nui-popup\n *ngIf=\"item.value === dots\"\n [appendToBody]=\"appendToBody\"\n [baseElementSelector]=\"popupBaseElementSelector\"\n >\n <button\n nui-button\n type=\"button\"\n nuiPopupToggle\n displayStyle=\"action\"\n [ngClass]=\"item.imageClass\"\n [isEmpty]=\"false\"\n aria-haspopup=\"true\"\n (click)=\"handleDotsClick()\"\n class=\"nui-paginator__dots\"\n >\n {{ item.value }}\n </button>\n\n <ul popupAreaContent class=\"nui-paginator__elipsis-pages\">\n <li>\n <table\n class=\"nui-paginator__page-table\"\n [ngClass]=\"{\n 'native-scroll': !item.useVirtualScroll\n }\"\n >\n <cdk-virtual-scroll-viewport\n *ngIf=\"item.useVirtualScroll\"\n [style.width.px]=\"item.popupWidth\"\n [style.height.px]=\"130\"\n [itemSize]=\"40\"\n [maxBufferPx]=\"130\"\n [minBufferPx]=\"130\"\n >\n <ng-container\n *cdkVirtualFor=\"\n let pages of item.pageRows\n \"\n >\n <div\n [ngTemplateOutlet]=\"tableRow\"\n [ngTemplateOutletContext]=\"{\n pages: pages\n }\"\n ></div>\n </ng-container>\n </cdk-virtual-scroll-viewport>\n <tbody *ngIf=\"!item.useVirtualScroll\">\n <ng-container\n *ngFor=\"let pages of item.pageRows\"\n [ngTemplateOutlet]=\"tableRow\"\n [ngTemplateOutletContext]=\"{\n pages: pages\n }\"\n >\n </ng-container>\n </tbody>\n </table>\n </li>\n </ul>\n </nui-popup>\n </li>\n </ul>\n </div>\n <div class=\"nui-paginator__options\">\n <div class=\"nui-paginator__info\" i18n>\n {{ getRange(total) }} of\n <span class=\"nui-paginator__total\">{{ total }}</span>\n </div>\n\n <nui-select-v2\n ariaLabel=\"Items per page\"\n [value]=\"pageSize\"\n (valueSelected)=\"onPageSizeChange($event)\"\n >\n <nui-select-v2-option\n *ngFor=\"let item of pageSizeSet\"\n [value]=\"item\"\n >{{ item }}</nui-select-v2-option\n >\n </nui-select-v2>\n </div>\n</div>\n<ng-template #tableRow let-pages=\"pages\">\n <tr [ngClass]=\"{ 'stretch-row': pages.length === dotsPagesPerRow }\">\n <td *ngFor=\"let value of pages\" class=\"nui-paginator__page-cell\">\n <button\n nui-button\n type=\"button\"\n displayStyle=\"action\"\n (click)=\"goToPage(value)\"\n >\n <!-- This tag span was added to display value properly on Safari brouser inside a button in ngFor directive -->\n <span>{{ value }}</span>\n </button>\n </td>\n </tr>\n</ng-template>\n", styles: [".nui .nui-paginator{height:30px;display:flex;align-items:center;justify-content:space-between}.nui .nui-paginator .nui-select-v2{min-width:60px}.nui .nui-paginator__info{font-size:13px;margin-right:10px;color:var(--nui-color-text-default,#111)}.nui .nui-paginator__icon{position:relative}.nui .nui-paginator__icon:hover{cursor:pointer;opacity:.7}.nui .nui-paginator__dots{font-size:13px}.nui .nui-paginator__dots:hover{cursor:pointer;background-color:var(--nui-color-bg-light-hover,#f2f2f2)}.nui .nui-paginator__elipsis-pages[popupAreaContent]{padding:0;max-height:130px;overflow-y:auto;overflow-x:hidden}.nui .nui-paginator__list{border-radius:0;display:flex;border-collapse:collapse;padding-left:3px;font-size:13px;margin-right:15px;margin-bottom:0}.nui .nui-paginator__list:before,.nui .nui-paginator__list:after{content:\" \";display:table;width:0px}.nui .nui-paginator__list:after{clear:both}.nui .nui-paginator__list>li>button.move-icon{padding:5px}.nui .nui-paginator__list>li{position:relative;padding:0;display:inline}.nui .nui-paginator__list>.active>button,.nui .nui-paginator__list>.active>button:hover,.nui .nui-paginator__list>.active>button:focus{background-color:transparent;border-color:transparent;color:var(--nui-color-text-default,#111);font-weight:600;cursor:default;z-index:2}.nui .nui-paginator__page-table{background-color:var(--nui-color-bg-transparent,transparent)}.nui .nui-paginator__page-table.native-scroll{margin:10px}.nui .nui-paginator__page-table:not(.native-scroll) tr{display:inline-table}.nui .nui-paginator__page-table:not(.native-scroll) tr.stretch-row{width:100%}.nui .nui-paginator__page-table tr:not(:last-child) .nui-paginator__page-cell{padding-bottom:10px}.nui .nui-paginator__page-table .cdk-virtual-scroll-content-wrapper{padding:10px}.nui .nui-paginator__page-cell>.btn{min-width:30px;padding:5px}.nui .nui-paginator__options{display:flex;align-items:center}.nui .nui-paginator__options .nui-select .nui-popup .nui-popup__area,.nui .nui-paginator__options .nui-select .nui-popup .nui-popup__area .nui-select__menu,.popup-adapter-overlay .nui-overlay.nui-select-popup-host{min-width:0}nui-popup-container[parent=PaginatorComponent] .nui-popup__area{min-width:0}nui-popup-container[parent=PaginatorComponent] .nui-popup__area .nui-select__menu{min-width:0}@-moz-document url-prefix(){.nui-paginator__page-table tr:nth-child(4) td:last-child{padding-right:15px}}\n"], components: [{ type: ButtonComponent, selector: "[nui-button]", inputs: ["displayStyle", "icon", "iconColor", "iconRight", "isBusy", "isEmpty", "ariaLabel", "isRepeat", "size"] }, { type: PopupComponent, selector: "nui-popup", inputs: ["width", "overlayConfig", "contextClass", "directionTop", "directionRight", "manualOpenControl", "appendToBody", "baseElementSelector", "isHostToggleRef", "ariaLabel", "isOpen", "visible"], outputs: ["opened"] }, { type: i1$4.CdkVirtualScrollViewport, selector: "cdk-virtual-scroll-viewport", inputs: ["orientation", "appendOnly"], outputs: ["scrolledIndexChange"] }, { type: SelectV2Component, selector: "nui-select-v2", inputs: ["displayValueTemplate"] }, { type: SelectV2OptionComponent, selector: "nui-select-v2-option", inputs: ["value", "index", "displayValueContext", "outfiltered"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: PopupToggleDirective, selector: "[nuiPopupToggle]", inputs: ["isDisabled", "disabled"], outputs: ["toggle"] }, { type: i1$4.CdkFixedSizeVirtualScroll, selector: "cdk-virtual-scroll-viewport[itemSize]", inputs: ["itemSize", "minBufferPx", "maxBufferPx"] }, { type: i1$4.CdkVirtualForOf, selector: "[cdkVirtualFor][cdkVirtualForOf]", inputs: ["cdkVirtualForOf", "cdkVirtualForTrackBy", "cdkVirtualForTemplate", "cdkVirtualForTemplateCacheSize"] }, { type: i3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
20188
|
+
PaginatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PaginatorComponent, selector: "nui-paginator", inputs: { itemsList: "itemsList", page: "page", pageSize: "pageSize", pageSizeSet: "pageSizeSet", total: "total", dots: "dots", hideIfEmpty: "hideIfEmpty", hide: "hide", activeClass: "activeClass", disabledClass: "disabledClass", adjacent: "adjacent", maxElements: "maxElements", showPrevNext: "showPrevNext", popupDirectionTop: "popupDirectionTop", popupBaseElementSelector: "popupBaseElementSelector", appendToBody: "appendToBody" }, outputs: { pagerAction: "pagerAction", pageChange: "pageChange" }, host: { attributes: { "role": "navigation" } }, providers: [PopupContainerService], viewQueries: [{ propertyName: "selectComponent", first: true, predicate: ["select"], descendants: true }, { propertyName: "virtualScrollViewport", first: true, predicate: CdkVirtualScrollViewport, descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div class=\"nui-paginator\" *ngIf=\"showPaginator()\">\n <div class=\"nui-paginator__items\">\n <ul\n class=\"nui-paginator__list\"\n role=\"listbox\"\n aria-label=\"List of pages\"\n >\n <li\n role=\"option\"\n title=\"{{ item.title }}\"\n [ngClass]=\"item.style\"\n *ngFor=\"let item of itemsList\"\n value=\"{{ item.value }}\"\n >\n <button\n nui-button\n type=\"button\"\n displayStyle=\"action\"\n [disabled]=\"item.style\"\n *ngIf=\"item.iconName\"\n class=\"move-icon\"\n [icon]=\"item.iconName\"\n (click)=\"item.action($event)\"\n ></button>\n <button\n nui-button\n type=\"button\"\n *ngIf=\"item.value !== dots && !item.iconName\"\n displayStyle=\"action\"\n (click)=\"item.action($event)\"\n [isEmpty]=\"false\"\n >\n {{ item.value }}\n </button>\n <nui-popup\n *ngIf=\"item.value === dots\"\n [appendToBody]=\"appendToBody\"\n [baseElementSelector]=\"popupBaseElementSelector\"\n >\n <button\n nui-button\n type=\"button\"\n nuiPopupToggle\n displayStyle=\"action\"\n [ngClass]=\"item.imageClass\"\n [isEmpty]=\"false\"\n aria-haspopup=\"true\"\n (click)=\"handleDotsClick()\"\n class=\"nui-paginator__dots\"\n >\n {{ item.value }}\n </button>\n\n <ul popupAreaContent class=\"nui-paginator__elipsis-pages\">\n <li>\n <table\n class=\"nui-paginator__page-table\"\n [ngClass]=\"{\n 'native-scroll': !item.useVirtualScroll\n }\"\n >\n <cdk-virtual-scroll-viewport\n *ngIf=\"item.useVirtualScroll\"\n [style.width.px]=\"item.popupWidth\"\n [style.height.px]=\"130\"\n [itemSize]=\"40\"\n [maxBufferPx]=\"130\"\n [minBufferPx]=\"130\"\n >\n <ng-container\n *cdkVirtualFor=\"\n let pages of item.pageRows\n \"\n >\n <div\n [ngTemplateOutlet]=\"tableRow\"\n [ngTemplateOutletContext]=\"{\n pages: pages\n }\"\n ></div>\n </ng-container>\n </cdk-virtual-scroll-viewport>\n <tbody *ngIf=\"!item.useVirtualScroll\">\n <ng-container\n *ngFor=\"let pages of item.pageRows\"\n [ngTemplateOutlet]=\"tableRow\"\n [ngTemplateOutletContext]=\"{\n pages: pages\n }\"\n >\n </ng-container>\n </tbody>\n </table>\n </li>\n </ul>\n </nui-popup>\n </li>\n </ul>\n </div>\n <div class=\"nui-paginator__options\">\n <div class=\"nui-paginator__info\" i18n>\n {{ getRange(total) }} of\n <span class=\"nui-paginator__total\">{{ total }}</span>\n </div>\n\n <nui-select-v2\n ariaLabel=\"Items per page\"\n [value]=\"pageSize\"\n (valueSelected)=\"onPageSizeChange($event)\"\n >\n <nui-select-v2-option\n *ngFor=\"let item of pageSizeSet\"\n [value]=\"item\"\n >{{ item }}</nui-select-v2-option\n >\n </nui-select-v2>\n </div>\n</div>\n<ng-template #tableRow let-pages=\"pages\">\n <tr [ngClass]=\"{ 'stretch-row': pages.length === dotsPagesPerRow }\">\n <td *ngFor=\"let value of pages\" class=\"nui-paginator__page-cell\">\n <button\n nui-button\n type=\"button\"\n displayStyle=\"action\"\n (click)=\"goToPage(value)\"\n >\n <!-- This tag span was added to display value properly on Safari brouser inside a button in ngFor directive -->\n <span>{{ value }}</span>\n </button>\n </td>\n </tr>\n</ng-template>\n", styles: [".nui .nui-paginator{height:30px;display:flex;align-items:center;justify-content:space-between}.nui .nui-paginator .nui-select-v2{min-width:60px}.nui .nui-paginator__info{font-size:13px;margin-right:10px;color:var(--nui-color-text-default,#111)}.nui .nui-paginator__icon{position:relative}.nui .nui-paginator__icon:hover{cursor:pointer;opacity:.7}.nui .nui-paginator__dots{font-size:13px}.nui .nui-paginator__dots:hover{cursor:pointer;background-color:var(--nui-color-bg-light-hover,#f2f2f2)}.nui .nui-paginator__elipsis-pages[popupAreaContent]{padding:0;max-height:130px;overflow-y:auto;overflow-x:hidden}.nui .nui-paginator__list{border-radius:0;display:flex;border-collapse:collapse;padding-left:3px;font-size:13px;margin-right:15px;margin-bottom:0}.nui .nui-paginator__list:before,.nui .nui-paginator__list:after{content:\" \";display:table;width:0px}.nui .nui-paginator__list:after{clear:both}.nui .nui-paginator__list>li>button.move-icon{padding:5px}.nui .nui-paginator__list>li{position:relative;padding:0;display:inline}.nui .nui-paginator__list>.active>button,.nui .nui-paginator__list>.active>button:hover,.nui .nui-paginator__list>.active>button:focus{background-color:transparent;border-color:transparent;color:var(--nui-color-text-default,#111);font-weight:600;cursor:default;z-index:2}.nui .nui-paginator__page-table{background-color:var(--nui-color-bg-transparent,transparent)}.nui .nui-paginator__page-table.native-scroll{margin:10px}.nui .nui-paginator__page-table:not(.native-scroll) tr{display:inline-table}.nui .nui-paginator__page-table:not(.native-scroll) tr.stretch-row{width:100%}.nui .nui-paginator__page-table tr:not(:last-child) .nui-paginator__page-cell{padding-bottom:10px}.nui .nui-paginator__page-table .cdk-virtual-scroll-content-wrapper{padding:10px}.nui .nui-paginator__page-cell>.btn{min-width:30px;padding:5px}.nui .nui-paginator__options{display:flex;align-items:center}.nui .nui-paginator__options .nui-select .nui-popup .nui-popup__area,.nui .nui-paginator__options .nui-select .nui-popup .nui-popup__area .nui-select__menu,.popup-adapter-overlay .nui-overlay.nui-select-popup-host{min-width:0}nui-popup-container[parent=PaginatorComponent] .nui-popup__area{min-width:0}nui-popup-container[parent=PaginatorComponent] .nui-popup__area .nui-select__menu{min-width:0}@-moz-document url-prefix(){.nui-paginator__page-table tr:nth-child(4) td:last-child{padding-right:15px}}\n"], components: [{ type: ButtonComponent, selector: "[nui-button]", inputs: ["displayStyle", "icon", "iconColor", "iconRight", "isBusy", "isEmpty", "ariaLabel", "isRepeat", "size"] }, { type: PopupComponent, selector: "nui-popup", inputs: ["width", "overlayConfig", "contextClass", "directionTop", "directionRight", "manualOpenControl", "appendToBody", "baseElementSelector", "isHostToggleRef", "ariaLabel", "isOpen", "visible"], outputs: ["opened"] }, { type: i1$5.CdkVirtualScrollViewport, selector: "cdk-virtual-scroll-viewport", inputs: ["orientation", "appendOnly"], outputs: ["scrolledIndexChange"] }, { type: SelectV2Component, selector: "nui-select-v2", inputs: ["displayValueTemplate"] }, { type: SelectV2OptionComponent, selector: "nui-select-v2-option", inputs: ["value", "index", "displayValueContext", "outfiltered"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: PopupToggleDirective, selector: "[nuiPopupToggle]", inputs: ["isDisabled", "disabled"], outputs: ["toggle"] }, { type: i1$5.CdkFixedSizeVirtualScroll, selector: "cdk-virtual-scroll-viewport[itemSize]", inputs: ["itemSize", "minBufferPx", "maxBufferPx"] }, { type: i1$5.CdkVirtualForOf, selector: "[cdkVirtualFor][cdkVirtualForOf]", inputs: ["cdkVirtualForOf", "cdkVirtualForTrackBy", "cdkVirtualForTemplate", "cdkVirtualForTemplateCacheSize"] }, { type: i3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
20171
20189
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PaginatorComponent, decorators: [{
|
|
20172
20190
|
type: Component,
|
|
20173
20191
|
args: [{ selector: "nui-paginator", changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, providers: [PopupContainerService], host: { role: "navigation" }, template: "<div class=\"nui-paginator\" *ngIf=\"showPaginator()\">\n <div class=\"nui-paginator__items\">\n <ul\n class=\"nui-paginator__list\"\n role=\"listbox\"\n aria-label=\"List of pages\"\n >\n <li\n role=\"option\"\n title=\"{{ item.title }}\"\n [ngClass]=\"item.style\"\n *ngFor=\"let item of itemsList\"\n value=\"{{ item.value }}\"\n >\n <button\n nui-button\n type=\"button\"\n displayStyle=\"action\"\n [disabled]=\"item.style\"\n *ngIf=\"item.iconName\"\n class=\"move-icon\"\n [icon]=\"item.iconName\"\n (click)=\"item.action($event)\"\n ></button>\n <button\n nui-button\n type=\"button\"\n *ngIf=\"item.value !== dots && !item.iconName\"\n displayStyle=\"action\"\n (click)=\"item.action($event)\"\n [isEmpty]=\"false\"\n >\n {{ item.value }}\n </button>\n <nui-popup\n *ngIf=\"item.value === dots\"\n [appendToBody]=\"appendToBody\"\n [baseElementSelector]=\"popupBaseElementSelector\"\n >\n <button\n nui-button\n type=\"button\"\n nuiPopupToggle\n displayStyle=\"action\"\n [ngClass]=\"item.imageClass\"\n [isEmpty]=\"false\"\n aria-haspopup=\"true\"\n (click)=\"handleDotsClick()\"\n class=\"nui-paginator__dots\"\n >\n {{ item.value }}\n </button>\n\n <ul popupAreaContent class=\"nui-paginator__elipsis-pages\">\n <li>\n <table\n class=\"nui-paginator__page-table\"\n [ngClass]=\"{\n 'native-scroll': !item.useVirtualScroll\n }\"\n >\n <cdk-virtual-scroll-viewport\n *ngIf=\"item.useVirtualScroll\"\n [style.width.px]=\"item.popupWidth\"\n [style.height.px]=\"130\"\n [itemSize]=\"40\"\n [maxBufferPx]=\"130\"\n [minBufferPx]=\"130\"\n >\n <ng-container\n *cdkVirtualFor=\"\n let pages of item.pageRows\n \"\n >\n <div\n [ngTemplateOutlet]=\"tableRow\"\n [ngTemplateOutletContext]=\"{\n pages: pages\n }\"\n ></div>\n </ng-container>\n </cdk-virtual-scroll-viewport>\n <tbody *ngIf=\"!item.useVirtualScroll\">\n <ng-container\n *ngFor=\"let pages of item.pageRows\"\n [ngTemplateOutlet]=\"tableRow\"\n [ngTemplateOutletContext]=\"{\n pages: pages\n }\"\n >\n </ng-container>\n </tbody>\n </table>\n </li>\n </ul>\n </nui-popup>\n </li>\n </ul>\n </div>\n <div class=\"nui-paginator__options\">\n <div class=\"nui-paginator__info\" i18n>\n {{ getRange(total) }} of\n <span class=\"nui-paginator__total\">{{ total }}</span>\n </div>\n\n <nui-select-v2\n ariaLabel=\"Items per page\"\n [value]=\"pageSize\"\n (valueSelected)=\"onPageSizeChange($event)\"\n >\n <nui-select-v2-option\n *ngFor=\"let item of pageSizeSet\"\n [value]=\"item\"\n >{{ item }}</nui-select-v2-option\n >\n </nui-select-v2>\n </div>\n</div>\n<ng-template #tableRow let-pages=\"pages\">\n <tr [ngClass]=\"{ 'stretch-row': pages.length === dotsPagesPerRow }\">\n <td *ngFor=\"let value of pages\" class=\"nui-paginator__page-cell\">\n <button\n nui-button\n type=\"button\"\n displayStyle=\"action\"\n (click)=\"goToPage(value)\"\n >\n <!-- This tag span was added to display value properly on Safari brouser inside a button in ngFor directive -->\n <span>{{ value }}</span>\n </button>\n </td>\n </tr>\n</ng-template>\n", styles: [".nui .nui-paginator{height:30px;display:flex;align-items:center;justify-content:space-between}.nui .nui-paginator .nui-select-v2{min-width:60px}.nui .nui-paginator__info{font-size:13px;margin-right:10px;color:var(--nui-color-text-default,#111)}.nui .nui-paginator__icon{position:relative}.nui .nui-paginator__icon:hover{cursor:pointer;opacity:.7}.nui .nui-paginator__dots{font-size:13px}.nui .nui-paginator__dots:hover{cursor:pointer;background-color:var(--nui-color-bg-light-hover,#f2f2f2)}.nui .nui-paginator__elipsis-pages[popupAreaContent]{padding:0;max-height:130px;overflow-y:auto;overflow-x:hidden}.nui .nui-paginator__list{border-radius:0;display:flex;border-collapse:collapse;padding-left:3px;font-size:13px;margin-right:15px;margin-bottom:0}.nui .nui-paginator__list:before,.nui .nui-paginator__list:after{content:\" \";display:table;width:0px}.nui .nui-paginator__list:after{clear:both}.nui .nui-paginator__list>li>button.move-icon{padding:5px}.nui .nui-paginator__list>li{position:relative;padding:0;display:inline}.nui .nui-paginator__list>.active>button,.nui .nui-paginator__list>.active>button:hover,.nui .nui-paginator__list>.active>button:focus{background-color:transparent;border-color:transparent;color:var(--nui-color-text-default,#111);font-weight:600;cursor:default;z-index:2}.nui .nui-paginator__page-table{background-color:var(--nui-color-bg-transparent,transparent)}.nui .nui-paginator__page-table.native-scroll{margin:10px}.nui .nui-paginator__page-table:not(.native-scroll) tr{display:inline-table}.nui .nui-paginator__page-table:not(.native-scroll) tr.stretch-row{width:100%}.nui .nui-paginator__page-table tr:not(:last-child) .nui-paginator__page-cell{padding-bottom:10px}.nui .nui-paginator__page-table .cdk-virtual-scroll-content-wrapper{padding:10px}.nui .nui-paginator__page-cell>.btn{min-width:30px;padding:5px}.nui .nui-paginator__options{display:flex;align-items:center}.nui .nui-paginator__options .nui-select .nui-popup .nui-popup__area,.nui .nui-paginator__options .nui-select .nui-popup .nui-popup__area .nui-select__menu,.popup-adapter-overlay .nui-overlay.nui-select-popup-host{min-width:0}nui-popup-container[parent=PaginatorComponent] .nui-popup__area{min-width:0}nui-popup-container[parent=PaginatorComponent] .nui-popup__area .nui-select__menu{min-width:0}@-moz-document url-prefix(){.nui-paginator__page-table tr:nth-child(4) td:last-child{padding-right:15px}}\n"] }]
|
|
@@ -20363,7 +20381,7 @@ class PanelComponent {
|
|
|
20363
20381
|
.pipe(filter$1((toggle) => toggle === this._isCollapsed))
|
|
20364
20382
|
.pipe(distinctUntilChanged())
|
|
20365
20383
|
.pipe(debounceTime(PanelComponent.ANIMATION_TIME))
|
|
20366
|
-
.subscribe((
|
|
20384
|
+
.subscribe((_) => this.toggleHideOrCollapsed());
|
|
20367
20385
|
}
|
|
20368
20386
|
ngOnChanges(changes) {
|
|
20369
20387
|
if (changes["panelMode"] && changes["panelMode"].isFirstChange()) {
|
|
@@ -20502,10 +20520,7 @@ class PanelComponent {
|
|
|
20502
20520
|
}
|
|
20503
20521
|
}
|
|
20504
20522
|
toggleCollapsedOnClick() {
|
|
20505
|
-
if (this.isHoverable) {
|
|
20506
|
-
return;
|
|
20507
|
-
}
|
|
20508
|
-
else {
|
|
20523
|
+
if (!this.isHoverable) {
|
|
20509
20524
|
this.toggleHideOrCollapsed();
|
|
20510
20525
|
}
|
|
20511
20526
|
}
|
|
@@ -20587,18 +20602,14 @@ class PanelComponent {
|
|
|
20587
20602
|
style({
|
|
20588
20603
|
height: startSize,
|
|
20589
20604
|
}),
|
|
20590
|
-
animate(`${PanelComponent.ANIMATION_TIME}ms ease-in-out`, style({
|
|
20591
|
-
height: endSize,
|
|
20592
|
-
})),
|
|
20605
|
+
animate(`${PanelComponent.ANIMATION_TIME}ms ease-in-out`, style({ height: endSize })),
|
|
20593
20606
|
]);
|
|
20594
20607
|
}
|
|
20595
20608
|
return this.builder.build([
|
|
20596
20609
|
style({
|
|
20597
20610
|
width: startSize,
|
|
20598
20611
|
}),
|
|
20599
|
-
animate(`${PanelComponent.ANIMATION_TIME}ms ease-in-out`, style({
|
|
20600
|
-
width: endSize,
|
|
20601
|
-
})),
|
|
20612
|
+
animate(`${PanelComponent.ANIMATION_TIME}ms ease-in-out`, style({ width: endSize })),
|
|
20602
20613
|
]);
|
|
20603
20614
|
}
|
|
20604
20615
|
destroyLastAnimationPlayer() {
|
|
@@ -20628,12 +20639,12 @@ PanelComponent.SIZE_VALUES = {
|
|
|
20628
20639
|
MAX_VALUE: "90%",
|
|
20629
20640
|
},
|
|
20630
20641
|
};
|
|
20631
|
-
PanelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PanelComponent, deps: [{ token: i0.Renderer2 }, { token: i1$
|
|
20642
|
+
PanelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PanelComponent, deps: [{ token: i0.Renderer2 }, { token: i1$7.AnimationBuilder }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
20632
20643
|
PanelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PanelComponent, selector: "nui-panel", inputs: { panelMode: "panelMode", heading: "heading", isCollapsed: "isCollapsed", displacePrimaryContent: "displacePrimaryContent", isHidden: "isHidden", orientation: "orientation", isResizable: "isResizable", headerPadding: "headerPadding", sidePaneBodyPadding: "sidePaneBodyPadding", darkBorder: "darkBorder", paneSize: "paneSize", panelBackgroundColor: "panelBackgroundColor", paneCollapsedSize: "paneCollapsedSize", paneMinSize: "paneMinSize", paneMaxSize: "paneMaxSize" }, outputs: { collapsed: "collapsed", hidden: "hidden" }, viewQueries: [{ propertyName: "panelMainContent", first: true, predicate: ["mainContent"], descendants: true, read: ViewContainerRef }, { propertyName: "headerContent", first: true, predicate: ["headerContent"], descendants: true, read: ViewContainerRef }, { propertyName: "footerContent", first: true, predicate: ["footerContent"], descendants: true, read: ViewContainerRef }, { propertyName: "sidePaneContainer", first: true, predicate: ["sidePaneContainer"], descendants: true, read: ViewContainerRef, static: true }], usesOnChanges: true, ngImport: i0, template: "<div\n class=\"nui-panel media nui-panel--{{ orientation }}\"\n [class.nui-panel--hoverable]=\"isHoverable\"\n [class.nui-panel--is-collapsed]=\"isCollapsible && isCollapsed\"\n [class.nui-panel--animating]=\"isAnimating\"\n role=\"tabpanel\"\n [attr.aria-expanded]=\"!isCollapsible || !isCollapsed\"\n [attr.aria-hidden]=\"isCollapsible && isCollapsed\"\n>\n <div\n class=\"nui-panel__side-pane\"\n [ngClass]=\"panelBackgroundColor\"\n [class.nui-panel-pane--border-dark]=\"darkBorder\"\n [class.nui-panel-pane__hidden]=\"isHidden\"\n [class.nui-panel-pane__closable]=\"isClosable\"\n [class.nui-panel--shrink]=\"displacePrimaryContent\"\n [class.nui-panel-pane__vertical]=\"paneDirectionHorizontal\"\n (mouseenter)=\"toggleEnter()\"\n (mouseleave)=\"toggleLeave()\"\n nuiResizer\n [resizerDirection]=\"getResizeDirection()\"\n [resizerDisabled]=\"!isPanelResizable()\"\n [resizerValue]=\"getPaneSizeMeasurement()\"\n (resizerSizeChanged)=\"onSizeChanged($event)\"\n #sidePaneContainer\n >\n <div class=\"nui-panel__container\" #paneContainer>\n <div\n *ngIf=\"displayPanelHeader\"\n class=\"nui-panel__header\"\n [class.nui-panel__header--no-padding]=\"!headerPadding\"\n #headerContent\n >\n <ng-content select=\"[nuiPanelEmbeddedIcon]\"></ng-content>\n <ng-container *ngIf=\"!heading; else defaultTitle\">\n <ng-content select=\"[nuiPanelEmbeddedHeading]\"></ng-content>\n </ng-container>\n\n <div\n *ngIf=\"showDefaultIcon\"\n class=\"nui-panel__header-container nui-panel__header-container--default\"\n >\n <ng-container *ngIf=\"!isClosable\">\n <button\n nui-button\n class=\"nui-panel__header-btn\"\n type=\"button\"\n displayStyle=\"action\"\n [icon]=\"mainIcon\"\n [disabled]=\"isAnimating\"\n (click)=\"toggleCollapsedOnClick()\"\n *ngIf=\"isCollapsible\"\n ></button>\n </ng-container>\n <ng-container *ngIf=\"isClosable\">\n <button\n nui-button\n displayStyle=\"action\"\n class=\"nui-panel__header-btn nui-panel__header-btn--close\"\n type=\"button\"\n icon=\"close\"\n (click)=\"toggleCollapsedOnClick()\"\n ></button>\n </ng-container>\n </div>\n </div>\n <div class=\"nui-panel__side-pane-body-wrapper nui-scroll-shadows\">\n <div\n *ngIf=\"!isCollapsed\"\n class=\"nui-panel__side-pane-body\"\n [class.nui-panel__side-pane-body--no-padding]=\"\n !sidePaneBodyPadding\n \"\n [style.min-width]=\"paneBodyWidth\"\n >\n <ng-content select=\"[nuiPanelEmbeddedBody]\"></ng-content>\n </div>\n </div>\n <div *ngIf=\"displayFooter\" class=\"nui-panel__footer\" #footerContent>\n <ng-content select=\"[nuiPanelEmbeddedFooter]\"></ng-content>\n </div>\n </div>\n </div>\n <div class=\"nui-panel__center-pane media-body\" #mainContent>\n <div class=\"nui-panel__container\">\n <div class=\"nui-panel__body\">\n <ng-content></ng-content>\n </div>\n </div>\n </div>\n</div>\n\n<ng-template #defaultTitle>\n <div class=\"nui-panel__header-content\">\n <span class=\"nui-panel__header-content-default\">\n <h4 class=\"nui-panel__header-default-title\">{{ heading }}</h4>\n </span>\n </div>\n</ng-template>\n", styles: [".nui .nui-panel{height:100%;width:100%;overflow:visible;position:relative;display:flex;margin-top:15px}.nui .nui-panel:first-child{margin-top:0}.nui .nui-panel--top,.nui .nui-panel--bottom{flex-direction:column}.nui .nui-panel__header{display:flex;position:relative;align-items:center;flex-shrink:0;min-height:40px;padding:var(--nui-space-xs,5px)}.nui .nui-panel__header--no-padding{padding:0}.nui .nui-panel__header-container{margin-left:auto}.nui .nui-panel__header-content{white-space:nowrap;text-transform:uppercase;-webkit-user-select:none;-o-user-select:none;user-select:none;display:flex;align-items:center}.nui .nui-panel__header-default-title{line-height:26px;margin:0}.nui .nui-panel__header-btn{border:none;background-color:transparent}.nui .nui-panel__header-btn__right{float:left;border:none;background-color:transparent}.nui .nui-panel__container{display:flex;flex-direction:column;width:100%}.nui .nui-panel__container .nui-panel__body{width:100%}.nui .nui-panel__side-pane{--nui-color-bg-panel-side-pane: var(--nui-color-bg-content);--nui-color-bg-scroll: var(--nui-color-bg-content);background-color:var(--nui-color-bg-panel-side-pane);display:flex;height:100%;flex-shrink:0;z-index:var(--nui-panel-side-pane-stack-order,100);position:absolute;top:0}.nui .nui-panel__side-pane.color-bg-secondary{--nui-color-bg-panel-side-pane: var(--nui-color-bg-secondary);--nui-color-bg-scroll: var(--nui-color-bg-secondary)}.nui .nui-panel__side-pane.color-bg-transparent{--nui-color-bg-panel-side-pane: var(--nui-color-bg-transparent)}.nui .nui-panel__side-pane.nui-panel-pane__hidden{display:none}.nui .nui-panel__side-pane.nui-panel-pane__vertical{flex-direction:column}.nui .nui-panel__side-pane.nui-panel--shrink{position:static}.nui .nui-panel__side-pane .nui-panel__side-pane-body{position:relative;height:100%;padding:0 5px}.nui .nui-panel__side-pane .nui-panel__side-pane-body--no-padding{padding:0}.nui .nui-panel__side-pane .nui-panel__side-pane-body-wrapper{height:100%;overflow-y:auto;overflow-x:hidden}.nui .nui-panel__center-pane{width:100%;overflow-y:auto}.nui .nui-panel [nuiPanelEmbeddedFooter]{border-top:1px solid #d9d9d9;border-top:solid 1px var(--nui-color-line-default, #d9d9d9);padding:10px 15px}.nui .nui-panel.nui-panel--animating .nui-panel__side-pane{overflow:hidden}.nui .nui-panel.nui-panel--animating.nui-panel--left [nuiPanelEmbeddedIcon],.nui .nui-panel.nui-panel--animating.nui-panel--right [nuiPanelEmbeddedIcon]{transform:scale(0)}.nui .nui-panel.nui-panel--is-collapsed>.nui-panel__side-pane .nui-panel__side-pane-body-wrapper{opacity:0;pointer-events:none}.nui .nui-panel.nui-panel--is-collapsed .nui-panel__header{padding:var(--nui-space-xs,5px)}.nui .nui-panel.nui-panel--is-collapsed .nui-panel__header-btn--close{display:none}.nui .nui-panel.nui-panel--is-collapsed.nui-panel--right>.nui-panel__side-pane .nui-panel__header,.nui .nui-panel.nui-panel--is-collapsed.nui-panel--left>.nui-panel__side-pane .nui-panel__header{flex-direction:column}.nui .nui-panel.nui-panel--is-collapsed.nui-panel--right>.nui-panel__side-pane .nui-panel__header-content-default,.nui .nui-panel.nui-panel--is-collapsed.nui-panel--left>.nui-panel__side-pane .nui-panel__header-content-default{display:none}.nui .nui-panel.nui-panel--is-collapsed.nui-panel--right>.nui-panel__side-pane .nui-panel__header [nuiPanelEmbeddedHeading],.nui .nui-panel.nui-panel--is-collapsed.nui-panel--left>.nui-panel__side-pane .nui-panel__header [nuiPanelEmbeddedHeading]{transform:scale(0)}.nui .nui-panel.nui-panel--is-collapsed.nui-panel--right>.nui-panel__side-pane .nui-panel__header-container--default,.nui .nui-panel.nui-panel--is-collapsed.nui-panel--left>.nui-panel__side-pane .nui-panel__header-container--default{order:-1}.nui .nui-panel.nui-panel--is-collapsed.nui-panel--right>.nui-panel__side-pane .nui-panel__footer,.nui .nui-panel.nui-panel--is-collapsed.nui-panel--left>.nui-panel__side-pane .nui-panel__footer{display:none}.nui .nui-panel.nui-panel--is-collapsed.nui-panel--right .nui-panel__header-container--default{margin-right:auto}.nui .nui-panel.nui-panel--is-collapsed.nui-panel--top .nui-panel__side-pane-body,.nui .nui-panel.nui-panel--is-collapsed.nui-panel--bottom .nui-panel__side-pane-body{position:static}.nui .nui-panel.nui-panel--left .nui-panel__side-pane.nui-panel--shrink,.nui .nui-panel.nui-panel--right .nui-panel__side-pane.nui-panel--shrink,.nui .nui-panel.nui-panel--left .nui-panel__side-pane.nui-panel--shrink .nui-panel__side-pane-body,.nui .nui-panel.nui-panel--right .nui-panel__side-pane.nui-panel--shrink .nui-panel__side-pane-body{height:auto}.nui .nui-panel.nui-panel--left .nui-panel__side-pane{padding-right:0;left:0;border-right:1px solid;border-right-color:var(--nui-color-line-default,#d9d9d9)}.nui .nui-panel.nui-panel--left .nui-panel__side-pane.nui-panel-pane--border-dark{border-right:1px solid;border-right-color:var(--nui-color-line-dark,#999999)}.nui .nui-panel.nui-panel--right .nui-panel__side-pane{order:2;right:0;padding-left:0;border-left:1px solid;border-left-color:var(--nui-color-line-default,#d9d9d9)}.nui .nui-panel.nui-panel--right .nui-panel__side-pane.nui-panel-pane--border-dark{border-left:1px solid;border-left-color:var(--nui-color-line-dark,#999999)}.nui .nui-panel.nui-panel--right .nui-panel__header-container--default{order:-1;margin-left:0}.nui .nui-panel.nui-panel--right .nui-panel-pane__closable .nui-panel__header{flex-direction:row-reverse}.nui .nui-panel.nui-panel--right .nui-panel-pane__closable .nui-panel__header-container--default{margin-left:auto}.nui .nui-panel.nui-panel--top .nui-panel__side-pane,.nui .nui-panel.nui-panel--bottom .nui-panel__side-pane{width:100%;left:0}.nui .nui-panel.nui-panel--top .nui-panel__side-pane .nui-panel__side-pane-body,.nui .nui-panel.nui-panel--bottom .nui-panel__side-pane .nui-panel__side-pane-body{overflow-y:auto}.nui .nui-panel.nui-panel--top .nui-panel__header-container--default,.nui .nui-panel.nui-panel--bottom .nui-panel__header-container--default{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);order:1;margin-right:auto}.nui .nui-panel.nui-panel--top .nui-panel-pane__closable .nui-panel__header-container--default,.nui .nui-panel.nui-panel--bottom .nui-panel-pane__closable .nui-panel__header-container--default{position:static;transform:none;margin-right:0}.nui .nui-panel.nui-panel--top .nui-panel__side-pane{border-bottom:1px solid;border-bottom-color:var(--nui-color-line-default,#d9d9d9)}.nui .nui-panel.nui-panel--top .nui-panel__side-pane.nui-panel-pane--border-dark{border-bottom:1px solid;border-bottom-color:var(--nui-color-line-dark,#999999)}.nui .nui-panel.nui-panel--bottom .nui-panel__side-pane{order:2;bottom:0;top:auto;border-top:1px solid;border-top-color:var(--nui-color-line-default,#d9d9d9)}.nui .nui-panel.nui-panel--bottom .nui-panel__side-pane.nui-panel-pane--border-dark{border-top:1px solid;border-top-color:var(--nui-color-line-dark,#999999)}.nui .nui-panel.nui-panel--hoverable .nui-panel__side-pane{transition:box-shadow 0s .3s}.nui .nui-panel.nui-panel--hoverable .nui-panel__side-pane:hover{transition:box-shadow 0s}.nui .nui-panel.nui-panel--hoverable.nui-panel--left .nui-panel__side-pane:hover{box-shadow:6px 0 5px -5px var(--nui-shadow-color, rgba(17, 17, 17, .3))}.nui .nui-panel.nui-panel--hoverable.nui-panel--right .nui-panel__side-pane:hover{box-shadow:-6px 0 5px -5px var(--nui-shadow-color, rgba(17, 17, 17, .3))}.nui .nui-panel.nui-panel--hoverable.nui-panel--top .nui-panel__side-pane:hover{box-shadow:0 6px 5px -5px var(--nui-shadow-color, rgba(17, 17, 17, .3))}.nui .nui-panel.nui-panel--hoverable.nui-panel--bottom .nui-panel__side-pane:hover{box-shadow:0 -6px 5px -5px var(--nui-shadow-color, rgba(17, 17, 17, .3))}\n"], components: [{ type: ButtonComponent, selector: "[nui-button]", inputs: ["displayStyle", "icon", "iconColor", "iconRight", "isBusy", "isEmpty", "ariaLabel", "isRepeat", "size"] }], directives: [{ type: ResizerDirective, selector: "[nuiResizer]", inputs: ["resizerDirection", "resizerDisabled", "resizerValue", "isMultiple"], outputs: ["resizerSizeChanged"] }, { type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
20633
20644
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PanelComponent, decorators: [{
|
|
20634
20645
|
type: Component,
|
|
20635
20646
|
args: [{ selector: "nui-panel", encapsulation: ViewEncapsulation.None, template: "<div\n class=\"nui-panel media nui-panel--{{ orientation }}\"\n [class.nui-panel--hoverable]=\"isHoverable\"\n [class.nui-panel--is-collapsed]=\"isCollapsible && isCollapsed\"\n [class.nui-panel--animating]=\"isAnimating\"\n role=\"tabpanel\"\n [attr.aria-expanded]=\"!isCollapsible || !isCollapsed\"\n [attr.aria-hidden]=\"isCollapsible && isCollapsed\"\n>\n <div\n class=\"nui-panel__side-pane\"\n [ngClass]=\"panelBackgroundColor\"\n [class.nui-panel-pane--border-dark]=\"darkBorder\"\n [class.nui-panel-pane__hidden]=\"isHidden\"\n [class.nui-panel-pane__closable]=\"isClosable\"\n [class.nui-panel--shrink]=\"displacePrimaryContent\"\n [class.nui-panel-pane__vertical]=\"paneDirectionHorizontal\"\n (mouseenter)=\"toggleEnter()\"\n (mouseleave)=\"toggleLeave()\"\n nuiResizer\n [resizerDirection]=\"getResizeDirection()\"\n [resizerDisabled]=\"!isPanelResizable()\"\n [resizerValue]=\"getPaneSizeMeasurement()\"\n (resizerSizeChanged)=\"onSizeChanged($event)\"\n #sidePaneContainer\n >\n <div class=\"nui-panel__container\" #paneContainer>\n <div\n *ngIf=\"displayPanelHeader\"\n class=\"nui-panel__header\"\n [class.nui-panel__header--no-padding]=\"!headerPadding\"\n #headerContent\n >\n <ng-content select=\"[nuiPanelEmbeddedIcon]\"></ng-content>\n <ng-container *ngIf=\"!heading; else defaultTitle\">\n <ng-content select=\"[nuiPanelEmbeddedHeading]\"></ng-content>\n </ng-container>\n\n <div\n *ngIf=\"showDefaultIcon\"\n class=\"nui-panel__header-container nui-panel__header-container--default\"\n >\n <ng-container *ngIf=\"!isClosable\">\n <button\n nui-button\n class=\"nui-panel__header-btn\"\n type=\"button\"\n displayStyle=\"action\"\n [icon]=\"mainIcon\"\n [disabled]=\"isAnimating\"\n (click)=\"toggleCollapsedOnClick()\"\n *ngIf=\"isCollapsible\"\n ></button>\n </ng-container>\n <ng-container *ngIf=\"isClosable\">\n <button\n nui-button\n displayStyle=\"action\"\n class=\"nui-panel__header-btn nui-panel__header-btn--close\"\n type=\"button\"\n icon=\"close\"\n (click)=\"toggleCollapsedOnClick()\"\n ></button>\n </ng-container>\n </div>\n </div>\n <div class=\"nui-panel__side-pane-body-wrapper nui-scroll-shadows\">\n <div\n *ngIf=\"!isCollapsed\"\n class=\"nui-panel__side-pane-body\"\n [class.nui-panel__side-pane-body--no-padding]=\"\n !sidePaneBodyPadding\n \"\n [style.min-width]=\"paneBodyWidth\"\n >\n <ng-content select=\"[nuiPanelEmbeddedBody]\"></ng-content>\n </div>\n </div>\n <div *ngIf=\"displayFooter\" class=\"nui-panel__footer\" #footerContent>\n <ng-content select=\"[nuiPanelEmbeddedFooter]\"></ng-content>\n </div>\n </div>\n </div>\n <div class=\"nui-panel__center-pane media-body\" #mainContent>\n <div class=\"nui-panel__container\">\n <div class=\"nui-panel__body\">\n <ng-content></ng-content>\n </div>\n </div>\n </div>\n</div>\n\n<ng-template #defaultTitle>\n <div class=\"nui-panel__header-content\">\n <span class=\"nui-panel__header-content-default\">\n <h4 class=\"nui-panel__header-default-title\">{{ heading }}</h4>\n </span>\n </div>\n</ng-template>\n", styles: [".nui .nui-panel{height:100%;width:100%;overflow:visible;position:relative;display:flex;margin-top:15px}.nui .nui-panel:first-child{margin-top:0}.nui .nui-panel--top,.nui .nui-panel--bottom{flex-direction:column}.nui .nui-panel__header{display:flex;position:relative;align-items:center;flex-shrink:0;min-height:40px;padding:var(--nui-space-xs,5px)}.nui .nui-panel__header--no-padding{padding:0}.nui .nui-panel__header-container{margin-left:auto}.nui .nui-panel__header-content{white-space:nowrap;text-transform:uppercase;-webkit-user-select:none;-o-user-select:none;user-select:none;display:flex;align-items:center}.nui .nui-panel__header-default-title{line-height:26px;margin:0}.nui .nui-panel__header-btn{border:none;background-color:transparent}.nui .nui-panel__header-btn__right{float:left;border:none;background-color:transparent}.nui .nui-panel__container{display:flex;flex-direction:column;width:100%}.nui .nui-panel__container .nui-panel__body{width:100%}.nui .nui-panel__side-pane{--nui-color-bg-panel-side-pane: var(--nui-color-bg-content);--nui-color-bg-scroll: var(--nui-color-bg-content);background-color:var(--nui-color-bg-panel-side-pane);display:flex;height:100%;flex-shrink:0;z-index:var(--nui-panel-side-pane-stack-order,100);position:absolute;top:0}.nui .nui-panel__side-pane.color-bg-secondary{--nui-color-bg-panel-side-pane: var(--nui-color-bg-secondary);--nui-color-bg-scroll: var(--nui-color-bg-secondary)}.nui .nui-panel__side-pane.color-bg-transparent{--nui-color-bg-panel-side-pane: var(--nui-color-bg-transparent)}.nui .nui-panel__side-pane.nui-panel-pane__hidden{display:none}.nui .nui-panel__side-pane.nui-panel-pane__vertical{flex-direction:column}.nui .nui-panel__side-pane.nui-panel--shrink{position:static}.nui .nui-panel__side-pane .nui-panel__side-pane-body{position:relative;height:100%;padding:0 5px}.nui .nui-panel__side-pane .nui-panel__side-pane-body--no-padding{padding:0}.nui .nui-panel__side-pane .nui-panel__side-pane-body-wrapper{height:100%;overflow-y:auto;overflow-x:hidden}.nui .nui-panel__center-pane{width:100%;overflow-y:auto}.nui .nui-panel [nuiPanelEmbeddedFooter]{border-top:1px solid #d9d9d9;border-top:solid 1px var(--nui-color-line-default, #d9d9d9);padding:10px 15px}.nui .nui-panel.nui-panel--animating .nui-panel__side-pane{overflow:hidden}.nui .nui-panel.nui-panel--animating.nui-panel--left [nuiPanelEmbeddedIcon],.nui .nui-panel.nui-panel--animating.nui-panel--right [nuiPanelEmbeddedIcon]{transform:scale(0)}.nui .nui-panel.nui-panel--is-collapsed>.nui-panel__side-pane .nui-panel__side-pane-body-wrapper{opacity:0;pointer-events:none}.nui .nui-panel.nui-panel--is-collapsed .nui-panel__header{padding:var(--nui-space-xs,5px)}.nui .nui-panel.nui-panel--is-collapsed .nui-panel__header-btn--close{display:none}.nui .nui-panel.nui-panel--is-collapsed.nui-panel--right>.nui-panel__side-pane .nui-panel__header,.nui .nui-panel.nui-panel--is-collapsed.nui-panel--left>.nui-panel__side-pane .nui-panel__header{flex-direction:column}.nui .nui-panel.nui-panel--is-collapsed.nui-panel--right>.nui-panel__side-pane .nui-panel__header-content-default,.nui .nui-panel.nui-panel--is-collapsed.nui-panel--left>.nui-panel__side-pane .nui-panel__header-content-default{display:none}.nui .nui-panel.nui-panel--is-collapsed.nui-panel--right>.nui-panel__side-pane .nui-panel__header [nuiPanelEmbeddedHeading],.nui .nui-panel.nui-panel--is-collapsed.nui-panel--left>.nui-panel__side-pane .nui-panel__header [nuiPanelEmbeddedHeading]{transform:scale(0)}.nui .nui-panel.nui-panel--is-collapsed.nui-panel--right>.nui-panel__side-pane .nui-panel__header-container--default,.nui .nui-panel.nui-panel--is-collapsed.nui-panel--left>.nui-panel__side-pane .nui-panel__header-container--default{order:-1}.nui .nui-panel.nui-panel--is-collapsed.nui-panel--right>.nui-panel__side-pane .nui-panel__footer,.nui .nui-panel.nui-panel--is-collapsed.nui-panel--left>.nui-panel__side-pane .nui-panel__footer{display:none}.nui .nui-panel.nui-panel--is-collapsed.nui-panel--right .nui-panel__header-container--default{margin-right:auto}.nui .nui-panel.nui-panel--is-collapsed.nui-panel--top .nui-panel__side-pane-body,.nui .nui-panel.nui-panel--is-collapsed.nui-panel--bottom .nui-panel__side-pane-body{position:static}.nui .nui-panel.nui-panel--left .nui-panel__side-pane.nui-panel--shrink,.nui .nui-panel.nui-panel--right .nui-panel__side-pane.nui-panel--shrink,.nui .nui-panel.nui-panel--left .nui-panel__side-pane.nui-panel--shrink .nui-panel__side-pane-body,.nui .nui-panel.nui-panel--right .nui-panel__side-pane.nui-panel--shrink .nui-panel__side-pane-body{height:auto}.nui .nui-panel.nui-panel--left .nui-panel__side-pane{padding-right:0;left:0;border-right:1px solid;border-right-color:var(--nui-color-line-default,#d9d9d9)}.nui .nui-panel.nui-panel--left .nui-panel__side-pane.nui-panel-pane--border-dark{border-right:1px solid;border-right-color:var(--nui-color-line-dark,#999999)}.nui .nui-panel.nui-panel--right .nui-panel__side-pane{order:2;right:0;padding-left:0;border-left:1px solid;border-left-color:var(--nui-color-line-default,#d9d9d9)}.nui .nui-panel.nui-panel--right .nui-panel__side-pane.nui-panel-pane--border-dark{border-left:1px solid;border-left-color:var(--nui-color-line-dark,#999999)}.nui .nui-panel.nui-panel--right .nui-panel__header-container--default{order:-1;margin-left:0}.nui .nui-panel.nui-panel--right .nui-panel-pane__closable .nui-panel__header{flex-direction:row-reverse}.nui .nui-panel.nui-panel--right .nui-panel-pane__closable .nui-panel__header-container--default{margin-left:auto}.nui .nui-panel.nui-panel--top .nui-panel__side-pane,.nui .nui-panel.nui-panel--bottom .nui-panel__side-pane{width:100%;left:0}.nui .nui-panel.nui-panel--top .nui-panel__side-pane .nui-panel__side-pane-body,.nui .nui-panel.nui-panel--bottom .nui-panel__side-pane .nui-panel__side-pane-body{overflow-y:auto}.nui .nui-panel.nui-panel--top .nui-panel__header-container--default,.nui .nui-panel.nui-panel--bottom .nui-panel__header-container--default{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);order:1;margin-right:auto}.nui .nui-panel.nui-panel--top .nui-panel-pane__closable .nui-panel__header-container--default,.nui .nui-panel.nui-panel--bottom .nui-panel-pane__closable .nui-panel__header-container--default{position:static;transform:none;margin-right:0}.nui .nui-panel.nui-panel--top .nui-panel__side-pane{border-bottom:1px solid;border-bottom-color:var(--nui-color-line-default,#d9d9d9)}.nui .nui-panel.nui-panel--top .nui-panel__side-pane.nui-panel-pane--border-dark{border-bottom:1px solid;border-bottom-color:var(--nui-color-line-dark,#999999)}.nui .nui-panel.nui-panel--bottom .nui-panel__side-pane{order:2;bottom:0;top:auto;border-top:1px solid;border-top-color:var(--nui-color-line-default,#d9d9d9)}.nui .nui-panel.nui-panel--bottom .nui-panel__side-pane.nui-panel-pane--border-dark{border-top:1px solid;border-top-color:var(--nui-color-line-dark,#999999)}.nui .nui-panel.nui-panel--hoverable .nui-panel__side-pane{transition:box-shadow 0s .3s}.nui .nui-panel.nui-panel--hoverable .nui-panel__side-pane:hover{transition:box-shadow 0s}.nui .nui-panel.nui-panel--hoverable.nui-panel--left .nui-panel__side-pane:hover{box-shadow:6px 0 5px -5px var(--nui-shadow-color, rgba(17, 17, 17, .3))}.nui .nui-panel.nui-panel--hoverable.nui-panel--right .nui-panel__side-pane:hover{box-shadow:-6px 0 5px -5px var(--nui-shadow-color, rgba(17, 17, 17, .3))}.nui .nui-panel.nui-panel--hoverable.nui-panel--top .nui-panel__side-pane:hover{box-shadow:0 6px 5px -5px var(--nui-shadow-color, rgba(17, 17, 17, .3))}.nui .nui-panel.nui-panel--hoverable.nui-panel--bottom .nui-panel__side-pane:hover{box-shadow:0 -6px 5px -5px var(--nui-shadow-color, rgba(17, 17, 17, .3))}\n"] }]
|
|
20636
|
-
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i1$
|
|
20647
|
+
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i1$7.AnimationBuilder }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { panelMode: [{
|
|
20637
20648
|
type: Input
|
|
20638
20649
|
}], heading: [{
|
|
20639
20650
|
type: Input
|
|
@@ -21113,11 +21124,11 @@ class SorterKeyboardService {
|
|
|
21113
21124
|
this.liveAnnouncer.announce(`Sort by ${this.keyboardEventsManager?.activeItem?.menuItem.nativeElement.innerText}.`);
|
|
21114
21125
|
}
|
|
21115
21126
|
}
|
|
21116
|
-
SorterKeyboardService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SorterKeyboardService, deps: [{ token: i1$
|
|
21127
|
+
SorterKeyboardService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SorterKeyboardService, deps: [{ token: i1$3.LiveAnnouncer }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
21117
21128
|
SorterKeyboardService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SorterKeyboardService });
|
|
21118
21129
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SorterKeyboardService, decorators: [{
|
|
21119
21130
|
type: Injectable
|
|
21120
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
21131
|
+
}], ctorParameters: function () { return [{ type: i1$3.LiveAnnouncer }]; } });
|
|
21121
21132
|
|
|
21122
21133
|
// <example-url>./../examples/index.html#/sorter</example-url>
|
|
21123
21134
|
class SorterComponent {
|
|
@@ -21398,7 +21409,6 @@ class TableColumnDefDirective extends CdkColumnDef {
|
|
|
21398
21409
|
super();
|
|
21399
21410
|
this.tableStateHandlerService = tableStateHandlerService;
|
|
21400
21411
|
}
|
|
21401
|
-
/* eslint-disable @angular-eslint/no-input-rename */
|
|
21402
21412
|
get name() {
|
|
21403
21413
|
return super.name;
|
|
21404
21414
|
}
|
|
@@ -21475,9 +21485,9 @@ class TableCellDirective extends CdkCell {
|
|
|
21475
21485
|
this.rightEdgeActive = this.leftEdgeActive = false;
|
|
21476
21486
|
if (draggedOverCell?.cellIndex === this.currentCellIndex) {
|
|
21477
21487
|
this.rightEdgeActive =
|
|
21478
|
-
draggedOverCell
|
|
21488
|
+
draggedOverCell?.dropAlignment === "right";
|
|
21479
21489
|
this.leftEdgeActive =
|
|
21480
|
-
draggedOverCell
|
|
21490
|
+
draggedOverCell?.dropAlignment === "left";
|
|
21481
21491
|
this.cd.detectChanges();
|
|
21482
21492
|
}
|
|
21483
21493
|
});
|
|
@@ -21514,7 +21524,6 @@ TableCellDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", ver
|
|
|
21514
21524
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TableCellDirective, decorators: [{
|
|
21515
21525
|
type: Directive,
|
|
21516
21526
|
args: [{
|
|
21517
|
-
// eslint-disable-next-line
|
|
21518
21527
|
selector: "nui-cell, td[nui-cell]",
|
|
21519
21528
|
host: {
|
|
21520
21529
|
role: "gridcell",
|
|
@@ -21815,9 +21824,9 @@ class TableHeaderCellComponent extends CdkHeaderCell {
|
|
|
21815
21824
|
this.rightEdgeActive = this.leftEdgeActive = false;
|
|
21816
21825
|
if (draggedOverCell?.cellIndex === this.currentCellIndex) {
|
|
21817
21826
|
this.rightEdgeActive =
|
|
21818
|
-
draggedOverCell
|
|
21827
|
+
draggedOverCell?.dropAlignment === "right";
|
|
21819
21828
|
this.leftEdgeActive =
|
|
21820
|
-
draggedOverCell
|
|
21829
|
+
draggedOverCell?.dropAlignment === "left";
|
|
21821
21830
|
}
|
|
21822
21831
|
}));
|
|
21823
21832
|
}
|
|
@@ -21874,7 +21883,6 @@ TableHeaderCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0
|
|
|
21874
21883
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TableHeaderCellComponent, decorators: [{
|
|
21875
21884
|
type: Component,
|
|
21876
21885
|
args: [{
|
|
21877
|
-
// eslint-disable-next-line
|
|
21878
21886
|
selector: "nui-header-cell, th[nui-header-cell]",
|
|
21879
21887
|
host: {
|
|
21880
21888
|
role: "columnheader",
|
|
@@ -21954,6 +21962,34 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
21954
21962
|
args: ["dragend", ["$event"]]
|
|
21955
21963
|
}] } });
|
|
21956
21964
|
|
|
21965
|
+
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
21966
|
+
//
|
|
21967
|
+
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
21968
|
+
// of this software and associated documentation files (the "Software"), to
|
|
21969
|
+
// deal in the Software without restriction, including without limitation the
|
|
21970
|
+
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
21971
|
+
// sell copies of the Software, and to permit persons to whom the Software is
|
|
21972
|
+
// furnished to do so, subject to the following conditions:
|
|
21973
|
+
//
|
|
21974
|
+
// The above copyright notice and this permission notice shall be included in
|
|
21975
|
+
// all copies or substantial portions of the Software.
|
|
21976
|
+
//
|
|
21977
|
+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
21978
|
+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
21979
|
+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
21980
|
+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
21981
|
+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21982
|
+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21983
|
+
// THE SOFTWARE.
|
|
21984
|
+
/**
|
|
21985
|
+
* These selectors are useful when we capture e.g. a click event on a higher level and want to prevent an action in case the event target was one of these.
|
|
21986
|
+
*/
|
|
21987
|
+
const DEFAULT_INTERACTIVE_ELEMENTS = [
|
|
21988
|
+
"button",
|
|
21989
|
+
"input[type='button']",
|
|
21990
|
+
"a[href]",
|
|
21991
|
+
];
|
|
21992
|
+
|
|
21957
21993
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
21958
21994
|
/* eslint-disable */
|
|
21959
21995
|
/**
|
|
@@ -22970,8 +23006,8 @@ class TimeFrameBarComponent {
|
|
|
22970
23006
|
this.changeDetectorRef = changeDetectorRef;
|
|
22971
23007
|
/** Current time frame value */
|
|
22972
23008
|
this.timeFrame = {
|
|
22973
|
-
startDatetime: undefined,
|
|
22974
|
-
endDatetime: undefined,
|
|
23009
|
+
startDatetime: moment(undefined),
|
|
23010
|
+
endDatetime: moment(undefined),
|
|
22975
23011
|
};
|
|
22976
23012
|
this.timeFrameChange = new EventEmitter();
|
|
22977
23013
|
/** Current index in zoom history */
|
|
@@ -23787,13 +23823,9 @@ class ToastService {
|
|
|
23787
23823
|
// @ts-ignore: Suppressing error until v10 to prevent API breaking changes
|
|
23788
23824
|
return null;
|
|
23789
23825
|
}
|
|
23790
|
-
|
|
23826
|
+
this.toastContainerService.getContainerElement(config.positionClass);
|
|
23791
23827
|
let keepInactive = false;
|
|
23792
23828
|
let sanitizedBody = body;
|
|
23793
|
-
let toastRef;
|
|
23794
|
-
let toastPackage;
|
|
23795
|
-
let toastInjector;
|
|
23796
|
-
let toastInstance;
|
|
23797
23829
|
if (this.toastConfig.maxOpened &&
|
|
23798
23830
|
this.currentlyActive >= this.toastConfig.maxOpened) {
|
|
23799
23831
|
keepInactive = true;
|
|
@@ -23805,11 +23837,11 @@ class ToastService {
|
|
|
23805
23837
|
if (body && config.enableHtml) {
|
|
23806
23838
|
sanitizedBody = (this.sanitizer.sanitize(SecurityContext.HTML, body));
|
|
23807
23839
|
}
|
|
23808
|
-
toastRef = new ToastRef(this.toastContainerService);
|
|
23809
|
-
toastPackage = new ToastPackage(this.index, config, sanitizedBody, title, toastType, toastRef);
|
|
23810
|
-
toastInjector = new ToastInjector(toastPackage, this._injector);
|
|
23840
|
+
const toastRef = new ToastRef(this.toastContainerService);
|
|
23841
|
+
const toastPackage = new ToastPackage(this.index, config, sanitizedBody, title, toastType, toastRef);
|
|
23842
|
+
const toastInjector = new ToastInjector(toastPackage, this._injector);
|
|
23811
23843
|
toastRef.componentInstance = this.toastContainerService.attachToast(ToastComponent, toastInjector, !!config.newestOnTop);
|
|
23812
|
-
toastInstance = {
|
|
23844
|
+
const toastInstance = {
|
|
23813
23845
|
toastId: this.index,
|
|
23814
23846
|
body: sanitizedBody,
|
|
23815
23847
|
toastRef,
|
|
@@ -24872,6 +24904,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
24872
24904
|
args: ["code"]
|
|
24873
24905
|
}] } });
|
|
24874
24906
|
|
|
24907
|
+
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
24908
|
+
// This should not be here, but Angular DI is not recognizing this token when it in scope of docsModule
|
|
24909
|
+
// In any case doc helpers will be moved in separate preject and this will not be here
|
|
24910
|
+
const DEMO_PATH_TOKEN = new InjectionToken("DemoPathToken");
|
|
24911
|
+
|
|
24875
24912
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
24876
24913
|
/** @ignore */
|
|
24877
24914
|
class SourcesService {
|
|
@@ -24882,11 +24919,9 @@ class SourcesService {
|
|
|
24882
24919
|
}
|
|
24883
24920
|
getSourcesByFilenamePrefix(prefix) {
|
|
24884
24921
|
if (!this.context) {
|
|
24885
|
-
this.logger
|
|
24886
|
-
|
|
24887
|
-
|
|
24888
|
-
useFactory: () => (<any> require).context("!!raw-loader!./components/demo/", true, /.*\.(ts|html|less)$/)}, `);
|
|
24889
|
-
return;
|
|
24922
|
+
this.logger.error(`You need to configure SourceService in the module where you import NuiDocsModule e.g. {` +
|
|
24923
|
+
` provide: DEMO_PATH_TOKEN, useFactory: () => (<any> require).context("!!raw-loader!./components/demo/", true, /.*[.](ts|html|less)$/) }`);
|
|
24924
|
+
return {};
|
|
24890
24925
|
}
|
|
24891
24926
|
const matchingFilePaths = filter(this.context.keys(), (filePath) => {
|
|
24892
24927
|
const prefixIndex = filePath.indexOf(prefix);
|
|
@@ -24919,19 +24954,19 @@ class SourcesService {
|
|
|
24919
24954
|
`;
|
|
24920
24955
|
}
|
|
24921
24956
|
getFileData(fileName) {
|
|
24922
|
-
let fileData = {};
|
|
24923
24957
|
const regExResultArray = this.fileExtensionsRegex.exec(fileName);
|
|
24924
|
-
if (regExResultArray) {
|
|
24925
|
-
|
|
24926
|
-
|
|
24927
|
-
|
|
24928
|
-
|
|
24929
|
-
|
|
24930
|
-
|
|
24931
|
-
|
|
24958
|
+
if (!regExResultArray) {
|
|
24959
|
+
return {};
|
|
24960
|
+
}
|
|
24961
|
+
const content = this.context(fileName);
|
|
24962
|
+
const fileContent = content?.default ?? content ?? "";
|
|
24963
|
+
const extension = fileName.split(".").pop();
|
|
24964
|
+
if (extension === "less") {
|
|
24965
|
+
return {
|
|
24966
|
+
[extension]: fileContent.replace(/@import \(reference\) "([\w-]+\/){0,}([\w-]+)(\.less)?"/g, `@import (reference) "@nova-ui/bits/sdk/less/$1$2"`),
|
|
24932
24967
|
};
|
|
24933
24968
|
}
|
|
24934
|
-
return
|
|
24969
|
+
return { [extension]: fileContent };
|
|
24935
24970
|
}
|
|
24936
24971
|
}
|
|
24937
24972
|
SourcesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SourcesService, deps: [{ token: LoggerService }, { token: DEMO_PATH_TOKEN, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
@@ -25439,6 +25474,10 @@ class ExampleWrapperComponent {
|
|
|
25439
25474
|
this.sourcesService = sourcesService;
|
|
25440
25475
|
this.document = document;
|
|
25441
25476
|
this.plunkerProjectService = plunkerProjectService;
|
|
25477
|
+
// Prefix of the example component's filenames
|
|
25478
|
+
this.filenamePrefix = "";
|
|
25479
|
+
// Title to be displayed at the top of the example
|
|
25480
|
+
this.exampleTitle = "";
|
|
25442
25481
|
// Indicates whether the source code is being displayed
|
|
25443
25482
|
this.showSource = false;
|
|
25444
25483
|
this.availableThemes = ["light theme", "dark theme"];
|
|
@@ -25456,14 +25495,15 @@ class ExampleWrapperComponent {
|
|
|
25456
25495
|
this.plunkerProjectService.open(this.filenamePrefix, this.componentSources, this.sourcesService.getTranslations());
|
|
25457
25496
|
}
|
|
25458
25497
|
ngOnInit() {
|
|
25459
|
-
this.componentSources =
|
|
25498
|
+
this.componentSources =
|
|
25499
|
+
this.sourcesService.getSourcesByFilenamePrefix(this.filenamePrefix) ?? {};
|
|
25460
25500
|
}
|
|
25461
25501
|
}
|
|
25462
25502
|
ExampleWrapperComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ExampleWrapperComponent, deps: [{ token: SourcesService }, { token: DOCUMENT }, { token: PlunkerProjectService }], target: i0.ɵɵFactoryTarget.Component });
|
|
25463
|
-
ExampleWrapperComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ExampleWrapperComponent, selector: "nui-example-wrapper", inputs: { filenamePrefix: "filenamePrefix", exampleTitle: "exampleTitle", showSource: "showSource" }, providers: [SourcesService], ngImport: i0, template: "<div class=\"nui-example-wrapper__container\">\n <div class=\"nui-example-wrapper__header\">\n <h4 class=\"nui-example-wrapper__title\">{{ exampleTitle }}</h4>\n <div>\n <button\n nui-button\n type=\"button\"\n displayStyle=\"action\"\n icon=\"{{\n showSource ? 'double-caret-up' : 'double-caret-down'\n }}\"\n [nuiTooltip]=\"getTooltip()\"\n tooltipPlacement=\"bottom\"\n (click)=\"showSource = !showSource\"\n ></button>\n <button\n nui-button\n type=\"button\"\n displayStyle=\"action\"\n icon=\"external-link\"\n nuiTooltip=\"Open in Plunker (only self-contained examples are opened properly)\"\n tooltipPlacement=\"bottom\"\n (click)=\"openPlunker()\"\n ></button>\n </div>\n </div>\n <div *ngIf=\"showSource\" class=\"nui-example-wrapper__source\">\n <nui-tab-group>\n <nui-tab *ngIf=\"!!componentSources.html\" heading=\"HTML\">\n <div class=\"media-body\">\n <nui-copy-text\n fileContent=\"{{ componentSources.html }}\"\n ></nui-copy-text>\n <nui-example-code language=\"html\">{{\n componentSources.html\n }}</nui-example-code>\n </div>\n </nui-tab>\n <nui-tab *ngIf=\"!!componentSources.ts\" heading=\"Typescript\">\n <nui-copy-text\n fileContent=\"{{ componentSources.ts }}\"\n ></nui-copy-text>\n <div class=\"media-body\">\n <nui-example-code language=\"typescript\">{{\n componentSources.ts\n }}</nui-example-code>\n </div>\n </nui-tab>\n <nui-tab *ngIf=\"!!componentSources.less\" heading=\"Less\">\n <nui-copy-text\n fileContent=\"{{ componentSources.less }}\"\n ></nui-copy-text>\n <div class=\"media-body\">\n <nui-example-code\n *ngIf=\"!!componentSources.less; else noLess\"\n >{{ componentSources.less }}</nui-example-code\n >\n <ng-template #noLess>\n <nui-image image=\"no-data-to-show\"></nui-image>\n </ng-template>\n </div>\n </nui-tab>\n </nui-tab-group>\n </div>\n <div class=\"nui-example-wrapper__content\">\n <ng-content></ng-content>\n </div>\n</div>\n", styles: [".nui-example-wrapper__theme{display:inline-block}.nui-example-wrapper__content{background-color:var(--nui-color-bg-light,#fff)}.nui-example-wrapper__container{display:flex;flex-direction:column;border:1px solid;border-color:var(--nui-color-line-default,#d9d9d9);box-shadow:0 2px 2px #1111114d;margin-bottom:20px}.nui-example-wrapper__header{display:flex;flex-direction:row;background-color:var(--page-header-border-color,#d9d9d9);color:var(--nui-color-line-default,#d9d9d9);padding:5px 10px}.nui-example-wrapper__header button{outline:none}.nui-example-wrapper__title{flex-grow:1}.nui-example-wrapper__content{padding:20px}\n"], components: [{ type: ButtonComponent, selector: "[nui-button]", inputs: ["displayStyle", "icon", "iconColor", "iconRight", "isBusy", "isEmpty", "ariaLabel", "isRepeat", "size"] }, { type: TabGroupComponent, selector: "nui-tab-group", inputs: ["vertical"] }, { type: TabComponent, selector: "nui-tab", inputs: ["heading", "disabled", "templateRef", "active"], outputs: ["selected", "deselected"] }, { type: CopyTextComponent, selector: "nui-copy-text", inputs: ["fileContent"] }, { type: ExampleCodeComponent, selector: "nui-example-code", inputs: ["language"] }, { type: ImageComponent, selector: "nui-image", inputs: ["image", "description", "float", "margin", "isWatermark", "width", "height", "autoFill"] }], directives: [{ type: TooltipDirective, selector: "[nuiTooltip]", inputs: ["tooltipPlacement", "nuiTooltipDisabled", "nuiTooltip"], exportAs: ["nuiTooltip"] }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
25503
|
+
ExampleWrapperComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ExampleWrapperComponent, selector: "nui-example-wrapper", inputs: { filenamePrefix: "filenamePrefix", exampleTitle: "exampleTitle", showSource: "showSource" }, providers: [SourcesService], ngImport: i0, template: "<div class=\"nui-example-wrapper__container\">\n <div class=\"nui-example-wrapper__header\">\n <h4 class=\"nui-example-wrapper__title\">{{ exampleTitle }}</h4>\n <div>\n <button\n nui-button\n type=\"button\"\n displayStyle=\"action\"\n icon=\"{{\n showSource ? 'double-caret-up' : 'double-caret-down'\n }}\"\n title=\"Show source\"\n [nuiTooltip]=\"getTooltip()\"\n tooltipPlacement=\"bottom\"\n (click)=\"showSource = !showSource\"\n ></button>\n <button\n nui-button\n type=\"button\"\n displayStyle=\"action\"\n icon=\"external-link\"\n title=\"Open in Plunker\"\n nuiTooltip=\"Open in Plunker (only self-contained examples are opened properly)\"\n tooltipPlacement=\"bottom\"\n (click)=\"openPlunker()\"\n ></button>\n </div>\n </div>\n <div *ngIf=\"showSource\" class=\"nui-example-wrapper__source\">\n <nui-tab-group>\n <nui-tab *ngIf=\"!!componentSources.html\" heading=\"HTML\">\n <div class=\"media-body\">\n <nui-copy-text\n fileContent=\"{{ componentSources.html }}\"\n ></nui-copy-text>\n <nui-example-code language=\"html\">{{\n componentSources.html\n }}</nui-example-code>\n </div>\n </nui-tab>\n <nui-tab *ngIf=\"!!componentSources.ts\" heading=\"Typescript\">\n <nui-copy-text\n fileContent=\"{{ componentSources.ts }}\"\n ></nui-copy-text>\n <div class=\"media-body\">\n <nui-example-code language=\"typescript\">{{\n componentSources.ts\n }}</nui-example-code>\n </div>\n </nui-tab>\n <nui-tab *ngIf=\"!!componentSources.less\" heading=\"Less\">\n <nui-copy-text\n fileContent=\"{{ componentSources.less }}\"\n ></nui-copy-text>\n <div class=\"media-body\">\n <nui-example-code\n *ngIf=\"!!componentSources.less; else noLess\"\n >{{ componentSources.less }}</nui-example-code\n >\n <ng-template #noLess>\n <nui-image image=\"no-data-to-show\"></nui-image>\n </ng-template>\n </div>\n </nui-tab>\n </nui-tab-group>\n </div>\n <div class=\"nui-example-wrapper__content\">\n <ng-content></ng-content>\n </div>\n</div>\n", styles: [".nui-example-wrapper__theme{display:inline-block}.nui-example-wrapper__content{background-color:var(--nui-color-bg-light,#fff)}.nui-example-wrapper__container{display:flex;flex-direction:column;border:1px solid;border-color:var(--nui-color-line-default,#d9d9d9);box-shadow:0 2px 2px #1111114d;margin-bottom:20px}.nui-example-wrapper__header{display:flex;flex-direction:row;background-color:var(--page-header-border-color,#d9d9d9);color:var(--nui-color-line-default,#d9d9d9);padding:5px 10px}.nui-example-wrapper__header button{outline:none}.nui-example-wrapper__title{flex-grow:1}.nui-example-wrapper__content{padding:20px}\n"], components: [{ type: ButtonComponent, selector: "[nui-button]", inputs: ["displayStyle", "icon", "iconColor", "iconRight", "isBusy", "isEmpty", "ariaLabel", "isRepeat", "size"] }, { type: TabGroupComponent, selector: "nui-tab-group", inputs: ["vertical"] }, { type: TabComponent, selector: "nui-tab", inputs: ["heading", "disabled", "templateRef", "active"], outputs: ["selected", "deselected"] }, { type: CopyTextComponent, selector: "nui-copy-text", inputs: ["fileContent"] }, { type: ExampleCodeComponent, selector: "nui-example-code", inputs: ["language"] }, { type: ImageComponent, selector: "nui-image", inputs: ["image", "description", "float", "margin", "isWatermark", "width", "height", "autoFill"] }], directives: [{ type: TooltipDirective, selector: "[nuiTooltip]", inputs: ["tooltipPlacement", "nuiTooltipDisabled", "nuiTooltip"], exportAs: ["nuiTooltip"] }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
25464
25504
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ExampleWrapperComponent, decorators: [{
|
|
25465
25505
|
type: Component,
|
|
25466
|
-
args: [{ selector: "nui-example-wrapper", providers: [SourcesService], template: "<div class=\"nui-example-wrapper__container\">\n <div class=\"nui-example-wrapper__header\">\n <h4 class=\"nui-example-wrapper__title\">{{ exampleTitle }}</h4>\n <div>\n <button\n nui-button\n type=\"button\"\n displayStyle=\"action\"\n icon=\"{{\n showSource ? 'double-caret-up' : 'double-caret-down'\n }}\"\n [nuiTooltip]=\"getTooltip()\"\n tooltipPlacement=\"bottom\"\n (click)=\"showSource = !showSource\"\n ></button>\n <button\n nui-button\n type=\"button\"\n displayStyle=\"action\"\n icon=\"external-link\"\n nuiTooltip=\"Open in Plunker (only self-contained examples are opened properly)\"\n tooltipPlacement=\"bottom\"\n (click)=\"openPlunker()\"\n ></button>\n </div>\n </div>\n <div *ngIf=\"showSource\" class=\"nui-example-wrapper__source\">\n <nui-tab-group>\n <nui-tab *ngIf=\"!!componentSources.html\" heading=\"HTML\">\n <div class=\"media-body\">\n <nui-copy-text\n fileContent=\"{{ componentSources.html }}\"\n ></nui-copy-text>\n <nui-example-code language=\"html\">{{\n componentSources.html\n }}</nui-example-code>\n </div>\n </nui-tab>\n <nui-tab *ngIf=\"!!componentSources.ts\" heading=\"Typescript\">\n <nui-copy-text\n fileContent=\"{{ componentSources.ts }}\"\n ></nui-copy-text>\n <div class=\"media-body\">\n <nui-example-code language=\"typescript\">{{\n componentSources.ts\n }}</nui-example-code>\n </div>\n </nui-tab>\n <nui-tab *ngIf=\"!!componentSources.less\" heading=\"Less\">\n <nui-copy-text\n fileContent=\"{{ componentSources.less }}\"\n ></nui-copy-text>\n <div class=\"media-body\">\n <nui-example-code\n *ngIf=\"!!componentSources.less; else noLess\"\n >{{ componentSources.less }}</nui-example-code\n >\n <ng-template #noLess>\n <nui-image image=\"no-data-to-show\"></nui-image>\n </ng-template>\n </div>\n </nui-tab>\n </nui-tab-group>\n </div>\n <div class=\"nui-example-wrapper__content\">\n <ng-content></ng-content>\n </div>\n</div>\n", styles: [".nui-example-wrapper__theme{display:inline-block}.nui-example-wrapper__content{background-color:var(--nui-color-bg-light,#fff)}.nui-example-wrapper__container{display:flex;flex-direction:column;border:1px solid;border-color:var(--nui-color-line-default,#d9d9d9);box-shadow:0 2px 2px #1111114d;margin-bottom:20px}.nui-example-wrapper__header{display:flex;flex-direction:row;background-color:var(--page-header-border-color,#d9d9d9);color:var(--nui-color-line-default,#d9d9d9);padding:5px 10px}.nui-example-wrapper__header button{outline:none}.nui-example-wrapper__title{flex-grow:1}.nui-example-wrapper__content{padding:20px}\n"] }]
|
|
25506
|
+
args: [{ selector: "nui-example-wrapper", providers: [SourcesService], template: "<div class=\"nui-example-wrapper__container\">\n <div class=\"nui-example-wrapper__header\">\n <h4 class=\"nui-example-wrapper__title\">{{ exampleTitle }}</h4>\n <div>\n <button\n nui-button\n type=\"button\"\n displayStyle=\"action\"\n icon=\"{{\n showSource ? 'double-caret-up' : 'double-caret-down'\n }}\"\n title=\"Show source\"\n [nuiTooltip]=\"getTooltip()\"\n tooltipPlacement=\"bottom\"\n (click)=\"showSource = !showSource\"\n ></button>\n <button\n nui-button\n type=\"button\"\n displayStyle=\"action\"\n icon=\"external-link\"\n title=\"Open in Plunker\"\n nuiTooltip=\"Open in Plunker (only self-contained examples are opened properly)\"\n tooltipPlacement=\"bottom\"\n (click)=\"openPlunker()\"\n ></button>\n </div>\n </div>\n <div *ngIf=\"showSource\" class=\"nui-example-wrapper__source\">\n <nui-tab-group>\n <nui-tab *ngIf=\"!!componentSources.html\" heading=\"HTML\">\n <div class=\"media-body\">\n <nui-copy-text\n fileContent=\"{{ componentSources.html }}\"\n ></nui-copy-text>\n <nui-example-code language=\"html\">{{\n componentSources.html\n }}</nui-example-code>\n </div>\n </nui-tab>\n <nui-tab *ngIf=\"!!componentSources.ts\" heading=\"Typescript\">\n <nui-copy-text\n fileContent=\"{{ componentSources.ts }}\"\n ></nui-copy-text>\n <div class=\"media-body\">\n <nui-example-code language=\"typescript\">{{\n componentSources.ts\n }}</nui-example-code>\n </div>\n </nui-tab>\n <nui-tab *ngIf=\"!!componentSources.less\" heading=\"Less\">\n <nui-copy-text\n fileContent=\"{{ componentSources.less }}\"\n ></nui-copy-text>\n <div class=\"media-body\">\n <nui-example-code\n *ngIf=\"!!componentSources.less; else noLess\"\n >{{ componentSources.less }}</nui-example-code\n >\n <ng-template #noLess>\n <nui-image image=\"no-data-to-show\"></nui-image>\n </ng-template>\n </div>\n </nui-tab>\n </nui-tab-group>\n </div>\n <div class=\"nui-example-wrapper__content\">\n <ng-content></ng-content>\n </div>\n</div>\n", styles: [".nui-example-wrapper__theme{display:inline-block}.nui-example-wrapper__content{background-color:var(--nui-color-bg-light,#fff)}.nui-example-wrapper__container{display:flex;flex-direction:column;border:1px solid;border-color:var(--nui-color-line-default,#d9d9d9);box-shadow:0 2px 2px #1111114d;margin-bottom:20px}.nui-example-wrapper__header{display:flex;flex-direction:row;background-color:var(--page-header-border-color,#d9d9d9);color:var(--nui-color-line-default,#d9d9d9);padding:5px 10px}.nui-example-wrapper__header button{outline:none}.nui-example-wrapper__title{flex-grow:1}.nui-example-wrapper__content{padding:20px}\n"] }]
|
|
25467
25507
|
}], ctorParameters: function () { return [{ type: SourcesService }, { type: Document, decorators: [{
|
|
25468
25508
|
type: Inject,
|
|
25469
25509
|
args: [DOCUMENT]
|
|
@@ -25543,12 +25583,12 @@ class SrlcIndicatorComponent {
|
|
|
25543
25583
|
});
|
|
25544
25584
|
}
|
|
25545
25585
|
}
|
|
25546
|
-
SrlcIndicatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SrlcIndicatorComponent, deps: [{ token: i1$
|
|
25586
|
+
SrlcIndicatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SrlcIndicatorComponent, deps: [{ token: i1$6.Router }], target: i0.ɵɵFactoryTarget.Component });
|
|
25547
25587
|
SrlcIndicatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: SrlcIndicatorComponent, selector: "nui-srlc-indicator", ngImport: i0, template: "<nui-message\n [type]=\"getMessageType()\"\n [allowDismiss]=\"false\"\n *ngIf=\"!!componentSrlc && !componentSrlc.hideIndicator\"\n>\n <span [innerHTML]=\"getMessageText()\"></span>\n</nui-message>\n", components: [{ type: MessageComponent, selector: "nui-message", inputs: ["type", "allowDismiss", "manualControl"], outputs: ["dismiss"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
25548
25588
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SrlcIndicatorComponent, decorators: [{
|
|
25549
25589
|
type: Component,
|
|
25550
25590
|
args: [{ selector: "nui-srlc-indicator", template: "<nui-message\n [type]=\"getMessageType()\"\n [allowDismiss]=\"false\"\n *ngIf=\"!!componentSrlc && !componentSrlc.hideIndicator\"\n>\n <span [innerHTML]=\"getMessageText()\"></span>\n</nui-message>\n" }]
|
|
25551
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
25591
|
+
}], ctorParameters: function () { return [{ type: i1$6.Router }]; } });
|
|
25552
25592
|
|
|
25553
25593
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
25554
25594
|
/** @dynamic */
|
|
@@ -25659,14 +25699,14 @@ class ThemeSwitchService {
|
|
|
25659
25699
|
});
|
|
25660
25700
|
}
|
|
25661
25701
|
}
|
|
25662
|
-
ThemeSwitchService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ThemeSwitchService, deps: [{ token: i0.RendererFactory2 }, { token: i1$
|
|
25702
|
+
ThemeSwitchService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ThemeSwitchService, deps: [{ token: i0.RendererFactory2 }, { token: i1$6.Router }, { token: i1$6.ActivatedRoute }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
25663
25703
|
ThemeSwitchService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ThemeSwitchService, providedIn: "root" });
|
|
25664
25704
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ThemeSwitchService, decorators: [{
|
|
25665
25705
|
type: Injectable,
|
|
25666
25706
|
args: [{
|
|
25667
25707
|
providedIn: "root",
|
|
25668
25708
|
}]
|
|
25669
|
-
}], ctorParameters: function () { return [{ type: i0.RendererFactory2 }, { type: i1$
|
|
25709
|
+
}], ctorParameters: function () { return [{ type: i0.RendererFactory2 }, { type: i1$6.Router }, { type: i1$6.ActivatedRoute }, { type: Document, decorators: [{
|
|
25670
25710
|
type: Inject,
|
|
25671
25711
|
args: [DOCUMENT]
|
|
25672
25712
|
}] }]; } });
|
|
@@ -25772,6 +25812,36 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
25772
25812
|
|
|
25773
25813
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
25774
25814
|
|
|
25815
|
+
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
25816
|
+
//
|
|
25817
|
+
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
25818
|
+
// of this software and associated documentation files (the "Software"), to
|
|
25819
|
+
// deal in the Software without restriction, including without limitation the
|
|
25820
|
+
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
25821
|
+
// sell copies of the Software, and to permit persons to whom the Software is
|
|
25822
|
+
// furnished to do so, subject to the following conditions:
|
|
25823
|
+
//
|
|
25824
|
+
// The above copyright notice and this permission notice shall be included in
|
|
25825
|
+
// all copies or substantial portions of the Software.
|
|
25826
|
+
//
|
|
25827
|
+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
25828
|
+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
25829
|
+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
25830
|
+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
25831
|
+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
25832
|
+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
25833
|
+
// THE SOFTWARE.
|
|
25834
|
+
const scrollConstants = {
|
|
25835
|
+
verticalScrollPercentage: 30,
|
|
25836
|
+
horizontalScrollPercentage: 30,
|
|
25837
|
+
checkIntervalInMs: 30,
|
|
25838
|
+
accelerationFactor: 0.5,
|
|
25839
|
+
dragOverThrottleInMs: 100,
|
|
25840
|
+
adornerUpdateThrottleInMs: 16,
|
|
25841
|
+
};
|
|
25842
|
+
|
|
25843
|
+
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
25844
|
+
|
|
25775
25845
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
25776
25846
|
|
|
25777
25847
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
@@ -25866,6 +25936,7 @@ function traverse(obj, fn, path = []) {
|
|
|
25866
25936
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
25867
25937
|
|
|
25868
25938
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
25939
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
25869
25940
|
class DataSourceService extends DataSource {
|
|
25870
25941
|
constructor() {
|
|
25871
25942
|
super(); // in future dataSource in cdk may have some constructor.
|
|
@@ -26657,5 +26728,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
26657
26728
|
* Generated bundle index. Do not edit.
|
|
26658
26729
|
*/
|
|
26659
26730
|
|
|
26660
|
-
export { ANNOUNCER_CLOSE_MESSAGE, ANNOUNCER_OPEN_MESSAGE_SUFFIX, OverlayArrowComponent as ArrowComponent, BaseSelect, BreadcrumbComponent, BreadcrumbStateService, BusyComponent, ButtonComponent, ButtonIcon, ButtonSizeType, CardComponent, CardGroupComponent, CheckboxChangeEvent, CheckboxComponent, CheckboxGroupComponent, CheckboxStatus, ChipComponent, ChipsComponent, ChipsOverflowComponent, ClickInterceptorDirective, ClientSideDataSource, ClipboardDirective, ComboboxComponent, ComboboxV2Component, ComboboxV2OptionHighlightDirective, ConfirmationDialogComponent, ContentComponent, CopyTextComponent, CustomValidationMessageComponent, DEFAULT_INTERACTIVE_ELEMENTS, DEFAULT_TABLE_HEADER_OFFSET, DEMO_PATH_TOKEN, DataFilterService, DataSourceFeatures, DataSourceService, DatePickerComponent, DateTimePickerComponent, DialogBackdropComponent, DialogComponent, DialogFooterComponent, DialogHeaderComponent, DialogService, DialogStackService, DividerComponent, DndDropTargetDirective, DomUtilService, DragAndDropService, DraggableDirective, DroppableDirective, EdgeDetectionService, ErrorStateMatcher, EventBus, EventBusService, EventDefinition, EventPropagationService, ExampleCodeComponent, ExampleWrapperComponent, ExpanderComponent, FIXED_WIDTH_CLASS, FormFieldComponent, HighlightPipe, HistoryStorage, IEvent, IconCategory, IconCategoryNamespace, IconComponent, IconService, IconSeverity, IconState, IconStatus, IconWidget, ImageComponent, KEYBOARD_CODE, KEY_CODE, LayoutResizerComponent, LimitToPipe, ListService, LocalFilteringDataSource, LogLevel, LoggerService, MarkAsSelectedItemDirective, MenuActionComponent, MenuActionType, MenuComponent, MenuGroupComponent, MenuItemBaseComponent, MenuItemComponent, MenuKeyControlService, MenuLinkComponent, MenuOptionComponent, MenuPopupComponent, MenuSwitchComponent, MessageComponent, NUI_ENV_PROVIDER, NUI_ENV_PROVIDER_FACTORY, NUI_SELECT_V2_OPTION_PARENT_COMPONENT, NoopDataSourceService, NotificationService, NuiActiveDialog, NuiBreadcrumbModule, NuiBusyModule, NuiButtonModule, NuiCheckboxModule, NuiChipsModule, NuiCommonModule, NuiContentModule, NuiDatePickerModule, NuiDateTimePickerModule, NuiDialogEvent, NuiDialogModule, NuiDialogRef, NuiDividerModule, NuiDndModule, NuiDocsModule, NuiEnvironment, NuiExpanderModule, NuiFormFieldControl, NuiFormFieldModule, NuiIconModule, NuiImageModule, NuiLayoutModule, NuiMenuModule, NuiMessageModule, NuiOverlayAdditionsModule, NuiOverlayModule, NuiPaginatorModule, NuiPanelModule, NuiPopoverModule, NuiPopupModule, NuiProgressModule, NuiRadioModule, NuiRepeatModule, NuiSearchModule, NuiSelectModule, NuiSelectV2Module, NuiSelectorModule, NuiSorterModule, NuiSpinnerModule, NuiSwitchModule, NuiTableModule, NuiTabsModule, NuiTextboxModule, NuiTimeFrameBarModule, NuiTimeFramePickerModule, NuiTimePickerModule, NuiToastModule, NuiToolbarModule, NuiTooltipModule, NuiValidationMessageModule, NuiValidators, NuiWizardModule, NuiWizardV2Module, OVERLAY_ARROW_SIZE, OVERLAY_CONTAINER, OVERLAY_CONTAINER_CLASS, OVERLAY_DEFAULT_PRIORITY, OVERLAY_ITEM, OVERLAY_PANEL_CLASS, OVERLAY_WITH_POPUP_STYLES_CLASS, OverlayComponent, OverlayContainerService, OverlayCustomContainer, OverlayItemComponent, OverlayPlacement, OverlayPosition, OverlayPositionService, OverlayService, OverlayUtilitiesService, POPUP_V2_VIEWPORT_MARGINS_DEFAULT, PaddingOptions, PaginatorComponent, PanelBackgroundColor, PanelComponent, PanelModes, PanelStates, PopoverComponent, PopoverModalComponent, PopoverOverlayPosition, PopupComponent, PopupDeprecatedComponent, PopupToggleDirective, PositionService, ProgressComponent, QuickPickerComponent, RESIZE_DEBOUNCE_TIME, RadioComponent, RadioGroupComponent, RepeatComponent, RepeatItemComponent, RepeatSelectionMode, ResizeDirection, ResizeDirective, ResizeObserverDirective, ResizeUnit, ResizerDirective, SearchComponent, SearchService, SelectComponent, SelectV2Component, SelectV2OptionComponent, SelectV2OptionGroupComponent, SelectionModel, SelectionType, SelectorComponent, SelectorService, ServerSideDataSource, SetFocusDirective, SheetComponent, SheetGroupComponent, SizeParameters, SliceRangePipe, SorterComponent, SorterDirection, SpinnerComponent, SpinnerSize, SrlcIndicatorComponent, SrlcStage, SwitchComponent, TABLE_ROW_HEIGHT, TabComponent, TabGroupComponent, TabHeadingComponent, TabHeadingCustomTemplateRefDirective, TabHeadingDirective, TabHeadingGroupComponent, TableCellDefDirective, TableCellDirective, TableColumnDefDirective, TableComponent, TableFooterCellDefDirective, TableFooterCellDirective, TableFooterRowComponent, TableFooterRowDefDirective, TableHeaderCellComponent, TableHeaderCellDefDirective, TableHeaderRowComponent, TableHeaderRowDefDirective, TableResizerDirective, TableRowComponent, TableRowDefDirective, TableStateHandlerService, TableStickyHeaderDirective, TableVirtualScrollDirective, TableVirtualScrollHeaderPosition, TableVirtualScrollLinearDirective, TextboxComponent, TextboxNumberComponent, ThemeSwitchService, ThemeSwitcherComponent, TimeFrameBarComponent, TimeFrameFormatPipe, TimeFramePickerComponent, TimePickerComponent, TimeframeService, ToastComponent, ToastContainerService, ToastDirective, ToastService, ToolbarComponent, ToolbarGroupComponent, ToolbarItemComponent, ToolbarItemDisplayStyle, ToolbarItemType, ToolbarMessageComponent, ToolbarSplitterComponent, TooltipComponent, TooltipDirective, TransientCacheService, UnitBase, UnitConversionPipe, UnitConversionService, UtilService, ValidationMessageComponent, VirtualViewportManager, WIZARD_CONFIG, WIZARD_CONFIG_DEFAULT, WIZARD_STEP_STATE_DEFAULT_CONFIG, WizardComponent, WizardDirective, WizardFooterComponent, WizardHorizontalComponent, WizardStepComponent, WizardStepFooterDirective, WizardStepHeaderComponent, WizardStepLabelDirective, WizardStepV2Component, WizardStepperNextDirective, WizardStepperPreviousDirective, WizardVerticalComponent, ZoomContentDirective, complexScrollStrategyFactory, datePickerDateFormats, datePickerDefaults, defaultFilters, expand, getOverlayPositions, imagesPresetToken, immutableSet, nameof, removeErrors, resizeDirectionHelpers, scrollConstants
|
|
26731
|
+
export { ANNOUNCER_CLOSE_MESSAGE, ANNOUNCER_OPEN_MESSAGE_SUFFIX, OverlayArrowComponent as ArrowComponent, BaseSelect, BreadcrumbComponent, BreadcrumbStateService, BusyComponent, ButtonComponent, ButtonIcon, ButtonSizeType, CHECKBOX_KEYDOWN_EVENT, CLOSE_POPOVER_EVENT, COMPLETE_RESIZE_EVENT, CardComponent, CardGroupComponent, CheckboxChangeEvent, CheckboxComponent, CheckboxGroupComponent, CheckboxStatus, ChipComponent, ChipsComponent, ChipsOverflowComponent, ClickInterceptorDirective, ClientSideDataSource, ClipboardDirective, ComboboxComponent, ComboboxV2Component, ComboboxV2OptionHighlightDirective, ConfirmationDialogComponent, ContentComponent, CopyTextComponent, CustomValidationMessageComponent, DEFAULT_INTERACTIVE_ELEMENTS, DEFAULT_TABLE_HEADER_OFFSET, DEMO_PATH_TOKEN, DOCUMENT_CLICK_EVENT, DataFilterService, DataSourceFeatures, DataSourceService, DatePickerComponent, DateTimePickerComponent, DialogBackdropComponent, DialogComponent, DialogFooterComponent, DialogHeaderComponent, DialogService, DialogStackService, DividerComponent, DndDropTargetDirective, DomUtilService, DragAndDropService, DraggableComponent, DraggableDirective, DroppableComponent, DroppableDirective, EdgeDetectionService, ErrorStateMatcher, EventBus, EventBusService, EventDefinition, EventPropagationService, ExampleCodeComponent, ExampleWrapperComponent, ExpanderComponent, FIXED_WIDTH_CLASS, FormFieldComponent, HighlightPipe, HistoryStorage, IEvent, IconCategory, IconCategoryNamespace, IconComponent, IconService, IconSeverity, IconState, IconStatus, IconWidget, ImageComponent, KEYBOARD_CODE, KEY_CODE, LayoutResizerComponent, LimitToPipe, ListService, LocalFilteringDataSource, LogLevel, LoggerService, MarkAsSelectedItemDirective, MenuActionComponent, MenuActionType, MenuComponent, MenuGroupComponent, MenuItemBaseComponent, MenuItemComponent, MenuKeyControlService, MenuLinkComponent, MenuOptionComponent, MenuPopupComponent, MenuSwitchComponent, MessageComponent, NUI_ENV_PROVIDER, NUI_ENV_PROVIDER_FACTORY, NUI_SELECT_V2_OPTION_PARENT_COMPONENT, NoopDataSourceService, NotificationService, NuiActiveDialog, NuiBreadcrumbModule, NuiBusyModule, NuiButtonModule, NuiCheckboxModule, NuiChipsModule, NuiCommonModule, NuiContentModule, NuiDatePickerModule, NuiDateTimePickerModule, NuiDialogEvent, NuiDialogModule, NuiDialogRef, NuiDividerModule, NuiDndModule, NuiDocsModule, NuiDragDropModule, NuiEnvironment, NuiExpanderModule, NuiFormFieldControl, NuiFormFieldModule, NuiIconModule, NuiImageModule, NuiLayoutModule, NuiMenuModule, NuiMessageModule, NuiOverlayAdditionsModule, NuiOverlayModule, NuiPaginatorModule, NuiPanelModule, NuiPopoverModule, NuiPopupModule, NuiProgressModule, NuiRadioModule, NuiRepeatModule, NuiSearchModule, NuiSelectModule, NuiSelectV2Module, NuiSelectorModule, NuiSorterModule, NuiSpinnerModule, NuiSwitchModule, NuiTableModule, NuiTabsModule, NuiTextboxModule, NuiTimeFrameBarModule, NuiTimeFramePickerModule, NuiTimePickerModule, NuiToastModule, NuiToolbarModule, NuiTooltipModule, NuiValidationMessageModule, NuiValidators, NuiWizardModule, NuiWizardV2Module, OVERLAY_ARROW_SIZE, OVERLAY_CONTAINER, OVERLAY_CONTAINER_CLASS, OVERLAY_DEFAULT_PRIORITY, OVERLAY_ITEM, OVERLAY_PANEL_CLASS, OVERLAY_WITH_POPUP_STYLES_CLASS, OverlayComponent, OverlayContainerService, OverlayCustomContainer, OverlayItemComponent, OverlayPlacement, OverlayPosition, OverlayPositionService, OverlayService, OverlayUtilitiesService, POPOVER_CLOSED_EVENT, POPUP_V2_VIEWPORT_MARGINS_DEFAULT, PaddingOptions, PaginatorComponent, PanelBackgroundColor, PanelComponent, PanelModes, PanelStates, PopoverComponent, PopoverModalComponent, PopoverOverlayPosition, PopupComponent, PopupDeprecatedComponent, PopupToggleDirective, PositionService, ProgressComponent, QuickPickerComponent, RESIZE_DEBOUNCE_TIME, RadioComponent, RadioGroupComponent, RepeatComponent, RepeatItemComponent, RepeatSelectionMode, ResizeDirection, ResizeDirective, ResizeObserverDirective, ResizeUnit, ResizerDirective, SearchComponent, SearchService, SelectComponent, SelectV2Component, SelectV2OptionComponent, SelectV2OptionGroupComponent, SelectionModel, SelectionType, SelectorComponent, SelectorService, ServerSideDataSource, SetFocusDirective, SheetComponent, SheetGroupComponent, SizeParameters, SliceRangePipe, SorterComponent, SorterDirection, SpinnerComponent, SpinnerSize, SrlcIndicatorComponent, SrlcStage, SwitchComponent, TABLE_ROW_HEIGHT, TabComponent, TabGroupComponent, TabHeadingComponent, TabHeadingCustomTemplateRefDirective, TabHeadingDirective, TabHeadingGroupComponent, TableCellDefDirective, TableCellDirective, TableColumnDefDirective, TableComponent, TableFooterCellDefDirective, TableFooterCellDirective, TableFooterRowComponent, TableFooterRowDefDirective, TableHeaderCellComponent, TableHeaderCellDefDirective, TableHeaderRowComponent, TableHeaderRowDefDirective, TableResizerDirective, TableRowComponent, TableRowDefDirective, TableStateHandlerService, TableStickyHeaderDirective, TableVirtualScrollDirective, TableVirtualScrollHeaderPosition, TableVirtualScrollLinearDirective, TextboxComponent, TextboxNumberComponent, ThemeSwitchService, ThemeSwitcherComponent, TimeFrameBarComponent, TimeFrameFormatPipe, TimeFramePickerComponent, TimePickerComponent, TimeframeService, ToastComponent, ToastContainerService, ToastDirective, ToastService, ToolbarComponent, ToolbarGroupComponent, ToolbarItemComponent, ToolbarItemDisplayStyle, ToolbarItemType, ToolbarMessageComponent, ToolbarSplitterComponent, TooltipComponent, TooltipDirective, TransientCacheService, UnitBase, UnitConversionPipe, UnitConversionService, UtilService, ValidationMessageComponent, VirtualViewportManager, WIZARD_CONFIG, WIZARD_CONFIG_DEFAULT, WIZARD_STEP_STATE_DEFAULT_CONFIG, WizardComponent, WizardDirective, WizardFooterComponent, WizardHorizontalComponent, WizardStepComponent, WizardStepFooterDirective, WizardStepHeaderComponent, WizardStepLabelDirective, WizardStepV2Component, WizardStepperNextDirective, WizardStepperPreviousDirective, WizardVerticalComponent, ZoomContentDirective, buttonConstants, complexScrollStrategyFactory, datePickerDateFormats, datePickerDefaults, defaultFilters, expand, getOverlayPositions, imagesPresetToken, immutableSet, nameof, popoverConstants, regexpValidation, removeErrors, resizeDirectionHelpers, scrollConstants, traverse, unitConversionConstants, unitConversionToken, uuid };
|
|
26661
26732
|
//# sourceMappingURL=nova-ui-bits.mjs.map
|