@nova-ui/bits 13.0.1-3938 → 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';
|
|
@@ -44,31 +44,31 @@ import * as i3$2 from '@angular/forms';
|
|
|
44
44
|
import { NG_VALUE_ACCESSOR, FormsModule, NG_VALIDATORS, ReactiveFormsModule } from '@angular/forms';
|
|
45
45
|
import _remove from 'lodash/remove';
|
|
46
46
|
import { ENTER, SPACE, ESCAPE, hasModifierKey, UP_ARROW, DOWN_ARROW, BACKSPACE, RIGHT_ARROW, LEFT_ARROW } from '@angular/cdk/keycodes';
|
|
47
|
-
import * as i1
|
|
47
|
+
import * as i1 from '@angular/cdk/drag-drop';
|
|
48
|
+
import { CdkDropList, CdkDrag, DragDropModule, moveItemInArray, transferArrayItem } from '@angular/cdk/drag-drop';
|
|
49
|
+
import * as i1$7 from '@angular/animations';
|
|
48
50
|
import { trigger, state, style, transition, animate, group, query, stagger } from '@angular/animations';
|
|
49
51
|
import _find from 'lodash/find';
|
|
50
|
-
import * as i1$
|
|
52
|
+
import * as i1$2 from '@angular/cdk/overlay';
|
|
51
53
|
import { OverlayContainer, OverlayConfig, Overlay, OverlayModule } from '@angular/cdk/overlay';
|
|
52
54
|
import * as i5 from '@angular/cdk/portal';
|
|
53
55
|
import { CdkPortal, PortalModule } from '@angular/cdk/portal';
|
|
54
56
|
import set from 'lodash/set';
|
|
55
57
|
import _some from 'lodash/some';
|
|
56
|
-
import * as i1 from '@angular/cdk/platform';
|
|
58
|
+
import * as i1$1 from '@angular/cdk/platform';
|
|
57
59
|
import isNull from 'lodash/isNull';
|
|
58
|
-
import * as i1$
|
|
60
|
+
import * as i1$3 from '@angular/cdk/a11y';
|
|
59
61
|
import { A11yModule, ActiveDescendantKeyManager, ListKeyManager } from '@angular/cdk/a11y';
|
|
60
62
|
import { coerceBooleanProperty } from '@angular/cdk/coercion';
|
|
61
|
-
import * as i1$
|
|
63
|
+
import * as i1$5 from '@angular/cdk/scrolling';
|
|
62
64
|
import { CdkVirtualScrollViewport, VIRTUAL_SCROLL_STRATEGY, CdkVirtualForOf, ScrollingModule, CdkScrollable } from '@angular/cdk/scrolling';
|
|
63
65
|
import last from 'lodash/last';
|
|
64
66
|
import pull from 'lodash/pull';
|
|
65
67
|
import every from 'lodash/every';
|
|
66
|
-
import * as i2 from '@angular/cdk/drag-drop';
|
|
67
|
-
import { CdkDrag, moveItemInArray, transferArrayItem, DragDropModule } from '@angular/cdk/drag-drop';
|
|
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';
|
|
71
|
-
import * as i1$
|
|
71
|
+
import * as i1$4 from '@angular/cdk/bidi';
|
|
72
72
|
import { CdkStepperNext, CdkStepperPrevious, CdkStepLabel, CdkStepHeader, STEP_STATE, CdkStep, CdkStepper, STEPPER_GLOBAL_OPTIONS } from '@angular/cdk/stepper';
|
|
73
73
|
import without from 'lodash/without';
|
|
74
74
|
import _assign from 'lodash/assign';
|
|
@@ -77,7 +77,7 @@ import round from 'lodash/round';
|
|
|
77
77
|
import _flatMap from 'lodash/flatMap';
|
|
78
78
|
import _unescape from 'lodash/unescape';
|
|
79
79
|
import _toString from 'lodash/toString';
|
|
80
|
-
import * as i1$
|
|
80
|
+
import * as i1$6 from '@angular/router';
|
|
81
81
|
import { NavigationEnd, RoutesRecognized, RouterModule } from '@angular/router';
|
|
82
82
|
import _size from 'lodash/size';
|
|
83
83
|
import _uniqueId from 'lodash/uniqueId';
|
|
@@ -92,7 +92,7 @@ import extend from 'lodash/extend';
|
|
|
92
92
|
import _cloneDeep from 'lodash/cloneDeep';
|
|
93
93
|
import _toInteger from 'lodash/toInteger';
|
|
94
94
|
import _findIndex from 'lodash/findIndex';
|
|
95
|
-
import hljs from 'highlight.js
|
|
95
|
+
import hljs from 'highlight.js';
|
|
96
96
|
import javascript from 'highlight.js/lib/languages/javascript';
|
|
97
97
|
import json from 'highlight.js/lib/languages/json';
|
|
98
98
|
import less from 'highlight.js/lib/languages/less';
|
|
@@ -888,176 +888,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
888
888
|
}]
|
|
889
889
|
}] });
|
|
890
890
|
|
|
891
|
-
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
892
|
-
//
|
|
893
|
-
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
894
|
-
// of this software and associated documentation files (the "Software"), to
|
|
895
|
-
// deal in the Software without restriction, including without limitation the
|
|
896
|
-
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
897
|
-
// sell copies of the Software, and to permit persons to whom the Software is
|
|
898
|
-
// furnished to do so, subject to the following conditions:
|
|
899
|
-
//
|
|
900
|
-
// The above copyright notice and this permission notice shall be included in
|
|
901
|
-
// all copies or substantial portions of the Software.
|
|
902
|
-
//
|
|
903
|
-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
904
|
-
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
905
|
-
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
906
|
-
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
907
|
-
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
908
|
-
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
909
|
-
// THE SOFTWARE.
|
|
910
|
-
const scrollConstants$1 = {
|
|
911
|
-
verticalScrollPercentage: 30,
|
|
912
|
-
horizontalScrollPercentage: 30,
|
|
913
|
-
checkIntervalInMs: 30,
|
|
914
|
-
accelerationFactor: 0.5,
|
|
915
|
-
dragOverThrottleInMs: 100,
|
|
916
|
-
adornerUpdateThrottleInMs: 16,
|
|
917
|
-
};
|
|
918
|
-
|
|
919
|
-
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
920
|
-
//
|
|
921
|
-
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
922
|
-
// of this software and associated documentation files (the "Software"), to
|
|
923
|
-
// deal in the Software without restriction, including without limitation the
|
|
924
|
-
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
925
|
-
// sell copies of the Software, and to permit persons to whom the Software is
|
|
926
|
-
// furnished to do so, subject to the following conditions:
|
|
927
|
-
//
|
|
928
|
-
// The above copyright notice and this permission notice shall be included in
|
|
929
|
-
// all copies or substantial portions of the Software.
|
|
930
|
-
//
|
|
931
|
-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
932
|
-
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
933
|
-
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
934
|
-
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
935
|
-
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
936
|
-
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
937
|
-
// THE SOFTWARE.
|
|
938
|
-
/**
|
|
939
|
-
* 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.
|
|
940
|
-
*/
|
|
941
|
-
const DEFAULT_INTERACTIVE_ELEMENTS = [
|
|
942
|
-
"button",
|
|
943
|
-
"input[type='button']",
|
|
944
|
-
"a[href]",
|
|
945
|
-
];
|
|
946
|
-
|
|
947
|
-
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
948
|
-
//
|
|
949
|
-
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
950
|
-
// of this software and associated documentation files (the "Software"), to
|
|
951
|
-
// deal in the Software without restriction, including without limitation the
|
|
952
|
-
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
953
|
-
// sell copies of the Software, and to permit persons to whom the Software is
|
|
954
|
-
// furnished to do so, subject to the following conditions:
|
|
955
|
-
//
|
|
956
|
-
// The above copyright notice and this permission notice shall be included in
|
|
957
|
-
// all copies or substantial portions of the Software.
|
|
958
|
-
//
|
|
959
|
-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
960
|
-
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
961
|
-
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
962
|
-
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
963
|
-
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
964
|
-
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
965
|
-
// THE SOFTWARE.
|
|
966
|
-
/** @deprecated */
|
|
967
|
-
var KEY_CODE;
|
|
968
|
-
(function (KEY_CODE) {
|
|
969
|
-
KEY_CODE[KEY_CODE["BACKSPACE"] = 8] = "BACKSPACE";
|
|
970
|
-
KEY_CODE[KEY_CODE["TAB"] = 9] = "TAB";
|
|
971
|
-
KEY_CODE[KEY_CODE["ENTER"] = 13] = "ENTER";
|
|
972
|
-
KEY_CODE[KEY_CODE["ESCAPE"] = 27] = "ESCAPE";
|
|
973
|
-
KEY_CODE[KEY_CODE["SPACE"] = 32] = "SPACE";
|
|
974
|
-
KEY_CODE[KEY_CODE["PAGE_UP"] = 33] = "PAGE_UP";
|
|
975
|
-
KEY_CODE[KEY_CODE["PAGE_DOWN"] = 34] = "PAGE_DOWN";
|
|
976
|
-
KEY_CODE[KEY_CODE["END"] = 35] = "END";
|
|
977
|
-
KEY_CODE[KEY_CODE["HOME"] = 36] = "HOME";
|
|
978
|
-
KEY_CODE[KEY_CODE["LEFT_ARROW"] = 37] = "LEFT_ARROW";
|
|
979
|
-
KEY_CODE[KEY_CODE["UP_ARROW"] = 38] = "UP_ARROW";
|
|
980
|
-
KEY_CODE[KEY_CODE["RIGHT_ARROW"] = 39] = "RIGHT_ARROW";
|
|
981
|
-
KEY_CODE[KEY_CODE["DOWN_ARROW"] = 40] = "DOWN_ARROW";
|
|
982
|
-
KEY_CODE[KEY_CODE["DELETE"] = 46] = "DELETE";
|
|
983
|
-
KEY_CODE[KEY_CODE["X"] = 88] = "X";
|
|
984
|
-
KEY_CODE[KEY_CODE["ASTERISK"] = 106] = "ASTERISK";
|
|
985
|
-
KEY_CODE[KEY_CODE["PLUS"] = 107] = "PLUS";
|
|
986
|
-
KEY_CODE[KEY_CODE["MINUS"] = 109] = "MINUS";
|
|
987
|
-
KEY_CODE[KEY_CODE["TILDE"] = 192] = "TILDE";
|
|
988
|
-
})(KEY_CODE || (KEY_CODE = {}));
|
|
989
|
-
var KEYBOARD_CODE;
|
|
990
|
-
(function (KEYBOARD_CODE) {
|
|
991
|
-
KEYBOARD_CODE["ARROW_DOWN"] = "ArrowDown";
|
|
992
|
-
KEYBOARD_CODE["ARROW_LEFT"] = "ArrowLeft";
|
|
993
|
-
KEYBOARD_CODE["ARROW_RIGHT"] = "ArrowRight";
|
|
994
|
-
KEYBOARD_CODE["ARROW_UP"] = "ArrowUp";
|
|
995
|
-
KEYBOARD_CODE["BACKSPACE"] = "Backspace";
|
|
996
|
-
KEYBOARD_CODE["ENTER"] = "Enter";
|
|
997
|
-
KEYBOARD_CODE["END"] = "End";
|
|
998
|
-
KEYBOARD_CODE["ESCAPE"] = "Escape";
|
|
999
|
-
KEYBOARD_CODE["HOME"] = "Home";
|
|
1000
|
-
KEYBOARD_CODE["PAGE_DOWN"] = "PageDown";
|
|
1001
|
-
KEYBOARD_CODE["PAGE_UP"] = "PageUp";
|
|
1002
|
-
KEYBOARD_CODE["SHIFT_LEFT"] = "ShiftLeft";
|
|
1003
|
-
KEYBOARD_CODE["SHIFT_RIGHT"] = "ShiftRight";
|
|
1004
|
-
KEYBOARD_CODE["SPACE"] = "Space";
|
|
1005
|
-
KEYBOARD_CODE["TAB"] = "Tab";
|
|
1006
|
-
KEYBOARD_CODE["DELETE"] = "Delete";
|
|
1007
|
-
})(KEYBOARD_CODE || (KEYBOARD_CODE = {}));
|
|
1008
|
-
|
|
1009
|
-
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
1010
|
-
// This should not be here, but Angular DI is not recognizing this token when it in scope of docsModule
|
|
1011
|
-
// In any case doc helpers will be moved in separate preject and this will not be here
|
|
1012
|
-
const DEMO_PATH_TOKEN = new InjectionToken("DemoPathToken");
|
|
1013
|
-
|
|
1014
|
-
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
1015
|
-
//
|
|
1016
|
-
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
1017
|
-
// of this software and associated documentation files (the "Software"), to
|
|
1018
|
-
// deal in the Software without restriction, including without limitation the
|
|
1019
|
-
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
1020
|
-
// sell copies of the Software, and to permit persons to whom the Software is
|
|
1021
|
-
// furnished to do so, subject to the following conditions:
|
|
1022
|
-
//
|
|
1023
|
-
// The above copyright notice and this permission notice shall be included in
|
|
1024
|
-
// all copies or substantial portions of the Software.
|
|
1025
|
-
//
|
|
1026
|
-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
1027
|
-
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
1028
|
-
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
1029
|
-
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
1030
|
-
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
1031
|
-
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
1032
|
-
// THE SOFTWARE.
|
|
1033
|
-
const RESIZE_DEBOUNCE_TIME = 300;
|
|
1034
|
-
|
|
1035
|
-
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
1036
|
-
const WIZARD_CONFIG = new InjectionToken("wizard.conf");
|
|
1037
|
-
const WIZARD_STEP_STATE_DEFAULT_CONFIG = {
|
|
1038
|
-
initial: {
|
|
1039
|
-
icon: "step",
|
|
1040
|
-
iconColor: "gray",
|
|
1041
|
-
},
|
|
1042
|
-
visited: {
|
|
1043
|
-
icon: "step-complete",
|
|
1044
|
-
iconColor: "primary-blue",
|
|
1045
|
-
},
|
|
1046
|
-
active: {
|
|
1047
|
-
icon: "step-active",
|
|
1048
|
-
iconColor: "black",
|
|
1049
|
-
},
|
|
1050
|
-
error: {
|
|
1051
|
-
icon: "step-active",
|
|
1052
|
-
iconColor: "black",
|
|
1053
|
-
},
|
|
1054
|
-
};
|
|
1055
|
-
const WIZARD_CONFIG_DEFAULT = {
|
|
1056
|
-
stepState: Object.assign({}, WIZARD_STEP_STATE_DEFAULT_CONFIG),
|
|
1057
|
-
};
|
|
1058
|
-
|
|
1059
|
-
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
1060
|
-
|
|
1061
891
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
1062
892
|
/**
|
|
1063
893
|
* <example-url>./../examples/index.html#/common/unit-conversion-service</example-url>
|
|
@@ -1481,7 +1311,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
1481
1311
|
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
1482
1312
|
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
1483
1313
|
// THE SOFTWARE.
|
|
1484
|
-
const DOCUMENT_CLICK_EVENT =
|
|
1314
|
+
const DOCUMENT_CLICK_EVENT = {
|
|
1315
|
+
id: "document-click",
|
|
1316
|
+
};
|
|
1317
|
+
const COMPLETE_RESIZE_EVENT = {
|
|
1318
|
+
id: "complete-resize",
|
|
1319
|
+
};
|
|
1320
|
+
const CHECKBOX_KEYDOWN_EVENT = {
|
|
1321
|
+
id: "checkbox-keydown",
|
|
1322
|
+
};
|
|
1323
|
+
const CLOSE_POPOVER_EVENT = {
|
|
1324
|
+
id: "close-popover",
|
|
1325
|
+
};
|
|
1326
|
+
const POPOVER_CLOSED_EVENT = {
|
|
1327
|
+
id: "popover-closed",
|
|
1328
|
+
};
|
|
1485
1329
|
|
|
1486
1330
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
1487
1331
|
/**
|
|
@@ -1545,7 +1389,7 @@ class EventBusService extends EventBus {
|
|
|
1545
1389
|
// but we should register listener only once
|
|
1546
1390
|
this.renderer.listen("document", "click", (event) => {
|
|
1547
1391
|
// separate stream to detect document-body clicks in case of popup in popover
|
|
1548
|
-
this.getStream(
|
|
1392
|
+
this.getStream(DOCUMENT_CLICK_EVENT).next(event);
|
|
1549
1393
|
});
|
|
1550
1394
|
}
|
|
1551
1395
|
}
|
|
@@ -1749,10 +1593,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
1749
1593
|
}] });
|
|
1750
1594
|
|
|
1751
1595
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
1752
|
-
/**
|
|
1753
|
-
* Service for calculating element's position (e.g. tooltip, popover).
|
|
1754
|
-
* For now has one public method 'getCoordinates' (see method description).
|
|
1755
|
-
*/
|
|
1756
1596
|
/**
|
|
1757
1597
|
* @dynamic
|
|
1758
1598
|
* @ignore
|
|
@@ -2105,11 +1945,11 @@ class UtilService {
|
|
|
2105
1945
|
return event.composedPath();
|
|
2106
1946
|
}
|
|
2107
1947
|
let element = event.target;
|
|
2108
|
-
const path = [];
|
|
2109
1948
|
// Hack for EDGE
|
|
2110
1949
|
if (!element.path) {
|
|
2111
1950
|
element = event.currentTarget;
|
|
2112
1951
|
}
|
|
1952
|
+
const path = [];
|
|
2113
1953
|
while (element) {
|
|
2114
1954
|
path.push(element);
|
|
2115
1955
|
if (element.tagName === "HTML") {
|
|
@@ -2119,6 +1959,7 @@ class UtilService {
|
|
|
2119
1959
|
}
|
|
2120
1960
|
element = element.parentElement;
|
|
2121
1961
|
}
|
|
1962
|
+
return [];
|
|
2122
1963
|
}
|
|
2123
1964
|
isBrowser() {
|
|
2124
1965
|
return isPlatformBrowser(this.platformId);
|
|
@@ -2143,10 +1984,10 @@ class UtilService {
|
|
|
2143
1984
|
isOpera: () => { var _a; return ((_a = this.document.defaultView) === null || _a === void 0 ? void 0 : _a.navigator.userAgent.match(/Opera Mini/i)) !== null; },
|
|
2144
1985
|
isAny: () => {
|
|
2145
1986
|
var _a, _b, _c, _d;
|
|
2146
|
-
return ((_a = this.browser) === null || _a === void 0 ? void 0 : _a.mobileDevice.isIOS()) ||
|
|
1987
|
+
return !!(((_a = this.browser) === null || _a === void 0 ? void 0 : _a.mobileDevice.isIOS()) ||
|
|
2147
1988
|
((_b = this.browser) === null || _b === void 0 ? void 0 : _b.mobileDevice.isAndroid()) ||
|
|
2148
1989
|
((_c = this.browser) === null || _c === void 0 ? void 0 : _c.mobileDevice.isBlackberry()) ||
|
|
2149
|
-
((_d = this.browser) === null || _d === void 0 ? void 0 : _d.mobileDevice.isOpera());
|
|
1990
|
+
((_d = this.browser) === null || _d === void 0 ? void 0 : _d.mobileDevice.isOpera()));
|
|
2150
1991
|
},
|
|
2151
1992
|
},
|
|
2152
1993
|
};
|
|
@@ -2403,9 +2244,7 @@ class ClickInterceptorDirective {
|
|
|
2403
2244
|
}
|
|
2404
2245
|
catchClick(event) {
|
|
2405
2246
|
event.stopPropagation();
|
|
2406
|
-
this.eventBusService
|
|
2407
|
-
.getStream({ id: DOCUMENT_CLICK_EVENT })
|
|
2408
|
-
.next(event);
|
|
2247
|
+
this.eventBusService.getStream(DOCUMENT_CLICK_EVENT).next(event);
|
|
2409
2248
|
}
|
|
2410
2249
|
}
|
|
2411
2250
|
ClickInterceptorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ClickInterceptorDirective, deps: [{ token: EventBusService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
@@ -2593,7 +2432,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
2593
2432
|
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
2594
2433
|
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
2595
2434
|
// THE SOFTWARE.
|
|
2596
|
-
const scrollConstants = {
|
|
2435
|
+
const scrollConstants$1 = {
|
|
2597
2436
|
verticalScrollPercentage: 30,
|
|
2598
2437
|
horizontalScrollPercentage: 30,
|
|
2599
2438
|
checkIntervalInMs: 30,
|
|
@@ -2654,7 +2493,7 @@ class DraggableDirective {
|
|
|
2654
2493
|
}
|
|
2655
2494
|
this.autoScroll(coordinates.x, coordinates.y);
|
|
2656
2495
|
});
|
|
2657
|
-
}, scrollConstants.adornerUpdateThrottleInMs);
|
|
2496
|
+
}, scrollConstants$1.adornerUpdateThrottleInMs);
|
|
2658
2497
|
this.mouseHook = (event) => {
|
|
2659
2498
|
const clientX = event.clientX;
|
|
2660
2499
|
const clientY = event.clientY;
|
|
@@ -2764,34 +2603,34 @@ class DraggableDirective {
|
|
|
2764
2603
|
}
|
|
2765
2604
|
const verticalDistPercentage = (clientY / this.document.defaultView.innerHeight) * 100;
|
|
2766
2605
|
const horizontalDistPercentage = (clientX / this.document.defaultView.innerWidth) * 100;
|
|
2767
|
-
const topScrollBoundary = scrollConstants.verticalScrollPercentage;
|
|
2768
|
-
const bottomScrollBoundary = 100 - scrollConstants.verticalScrollPercentage;
|
|
2769
|
-
const leftScrollBoundary = scrollConstants.horizontalScrollPercentage;
|
|
2770
|
-
const rightScrollBoundary = 100 - scrollConstants.horizontalScrollPercentage;
|
|
2606
|
+
const topScrollBoundary = scrollConstants$1.verticalScrollPercentage;
|
|
2607
|
+
const bottomScrollBoundary = 100 - scrollConstants$1.verticalScrollPercentage;
|
|
2608
|
+
const leftScrollBoundary = scrollConstants$1.horizontalScrollPercentage;
|
|
2609
|
+
const rightScrollBoundary = 100 - scrollConstants$1.horizontalScrollPercentage;
|
|
2771
2610
|
let newX = this.document.defaultView.pageXOffset;
|
|
2772
2611
|
let newY = this.document.defaultView.pageYOffset;
|
|
2773
2612
|
let scrollNeeded = false;
|
|
2774
2613
|
if (verticalDistPercentage < topScrollBoundary) {
|
|
2775
2614
|
const throttleDistance = (topScrollBoundary - verticalDistPercentage) *
|
|
2776
|
-
scrollConstants.accelerationFactor;
|
|
2615
|
+
scrollConstants$1.accelerationFactor;
|
|
2777
2616
|
newY = newY - throttleDistance;
|
|
2778
2617
|
scrollNeeded = true;
|
|
2779
2618
|
}
|
|
2780
2619
|
if (verticalDistPercentage > bottomScrollBoundary) {
|
|
2781
2620
|
const throttleDistance = (verticalDistPercentage - bottomScrollBoundary) *
|
|
2782
|
-
scrollConstants.accelerationFactor;
|
|
2621
|
+
scrollConstants$1.accelerationFactor;
|
|
2783
2622
|
newY = newY + throttleDistance;
|
|
2784
2623
|
scrollNeeded = true;
|
|
2785
2624
|
}
|
|
2786
2625
|
if (horizontalDistPercentage < leftScrollBoundary) {
|
|
2787
2626
|
const throttleDistance = (leftScrollBoundary - horizontalDistPercentage) *
|
|
2788
|
-
scrollConstants.accelerationFactor;
|
|
2627
|
+
scrollConstants$1.accelerationFactor;
|
|
2789
2628
|
newX = newX - throttleDistance;
|
|
2790
2629
|
scrollNeeded = true;
|
|
2791
2630
|
}
|
|
2792
2631
|
if (horizontalDistPercentage > rightScrollBoundary) {
|
|
2793
2632
|
const throttleDistance = (horizontalDistPercentage - rightScrollBoundary) *
|
|
2794
|
-
scrollConstants.accelerationFactor;
|
|
2633
|
+
scrollConstants$1.accelerationFactor;
|
|
2795
2634
|
newX = newX + throttleDistance;
|
|
2796
2635
|
scrollNeeded = true;
|
|
2797
2636
|
}
|
|
@@ -2904,7 +2743,7 @@ class DroppableDirective {
|
|
|
2904
2743
|
this.dragElements = [];
|
|
2905
2744
|
this.dragThrottle = throttle((dragEvent) => {
|
|
2906
2745
|
this.dragOver.emit(dragEvent);
|
|
2907
|
-
}, scrollConstants.checkIntervalInMs, { trailing: false });
|
|
2746
|
+
}, scrollConstants$1.checkIntervalInMs, { trailing: false });
|
|
2908
2747
|
}
|
|
2909
2748
|
onDragEnter(event) {
|
|
2910
2749
|
const payload = this.dragAndDropService.getDragPayload(event);
|
|
@@ -3028,6 +2867,27 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
3028
2867
|
args: ["drop", ["$event"]]
|
|
3029
2868
|
}] } });
|
|
3030
2869
|
|
|
2870
|
+
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
2871
|
+
//
|
|
2872
|
+
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
2873
|
+
// of this software and associated documentation files (the "Software"), to
|
|
2874
|
+
// deal in the Software without restriction, including without limitation the
|
|
2875
|
+
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
2876
|
+
// sell copies of the Software, and to permit persons to whom the Software is
|
|
2877
|
+
// furnished to do so, subject to the following conditions:
|
|
2878
|
+
//
|
|
2879
|
+
// The above copyright notice and this permission notice shall be included in
|
|
2880
|
+
// all copies or substantial portions of the Software.
|
|
2881
|
+
//
|
|
2882
|
+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
2883
|
+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
2884
|
+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
2885
|
+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
2886
|
+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
2887
|
+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
2888
|
+
// THE SOFTWARE.
|
|
2889
|
+
const RESIZE_DEBOUNCE_TIME = 300;
|
|
2890
|
+
|
|
3031
2891
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
3032
2892
|
/**
|
|
3033
2893
|
* @ignore
|
|
@@ -3427,7 +3287,7 @@ class ResizerDirective {
|
|
|
3427
3287
|
}
|
|
3428
3288
|
addSubscription() {
|
|
3429
3289
|
this.resizeSubscription = this.eventBusService
|
|
3430
|
-
.getStream(
|
|
3290
|
+
.getStream(COMPLETE_RESIZE_EVENT)
|
|
3431
3291
|
.subscribe((resize) => this.refreshStyle());
|
|
3432
3292
|
}
|
|
3433
3293
|
onSizeChanged(newSize) {
|
|
@@ -3525,15 +3385,13 @@ class ResizerDirective {
|
|
|
3525
3385
|
? event.clientX
|
|
3526
3386
|
: event.clientY;
|
|
3527
3387
|
this.mouseUpUnlisten = this.renderer.listen(document, "mouseup", ($event) => this.onMouseUp($event));
|
|
3528
|
-
event.preventDefault(); // This disables accidental text selection while
|
|
3388
|
+
event.preventDefault(); // This disables accidental text selection while resizingw
|
|
3529
3389
|
}
|
|
3530
3390
|
onMouseUp(event) {
|
|
3531
3391
|
this.renderer.removeStyle(document.documentElement, "cursor");
|
|
3532
3392
|
this.renderer.removeClass(this.resizeGutter, `${this.resizeClass}--active`);
|
|
3533
3393
|
this._isDragging = false;
|
|
3534
|
-
this.eventBusService
|
|
3535
|
-
.getStream({ id: "complete-resize" })
|
|
3536
|
-
.next(undefined);
|
|
3394
|
+
this.eventBusService.getStream(COMPLETE_RESIZE_EVENT).next(event);
|
|
3537
3395
|
}
|
|
3538
3396
|
calculatePosition() {
|
|
3539
3397
|
if (this.resizerDisabled) {
|
|
@@ -5035,7 +4893,7 @@ class IconComponent {
|
|
|
5035
4893
|
}
|
|
5036
4894
|
getIconByStatus(status) {
|
|
5037
4895
|
if (!status) {
|
|
5038
|
-
return;
|
|
4896
|
+
return "";
|
|
5039
4897
|
}
|
|
5040
4898
|
return this.iconService.getStatusIcon(status);
|
|
5041
4899
|
}
|
|
@@ -5216,8 +5074,6 @@ var ButtonSizeType;
|
|
|
5216
5074
|
|
|
5217
5075
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
5218
5076
|
// <example-url>./../examples/index.html#/button</example-url>
|
|
5219
|
-
/* eslint-disable @angular-eslint/component-selector */
|
|
5220
|
-
/* eslint-enable @angular-eslint/component-selector */
|
|
5221
5077
|
class ButtonComponent {
|
|
5222
5078
|
constructor(type, el, logger) {
|
|
5223
5079
|
this.type = type;
|
|
@@ -5271,12 +5127,8 @@ should be set explicitly: `, el.nativeElement);
|
|
|
5271
5127
|
return this.isBusy;
|
|
5272
5128
|
}
|
|
5273
5129
|
get isEmptyClass() {
|
|
5274
|
-
|
|
5275
|
-
|
|
5276
|
-
}
|
|
5277
|
-
else {
|
|
5278
|
-
return this.isEmpty;
|
|
5279
|
-
}
|
|
5130
|
+
var _a;
|
|
5131
|
+
return (_a = this.isEmpty) !== null && _a !== void 0 ? _a : this._isContentEmpty;
|
|
5280
5132
|
}
|
|
5281
5133
|
get dispStylePrimClass() {
|
|
5282
5134
|
return this.displayStyle === "primary";
|
|
@@ -5544,11 +5396,11 @@ class CheckboxComponent {
|
|
|
5544
5396
|
ngAfterViewInit() {
|
|
5545
5397
|
this.rendererListener = this.renderer.listen(this.checkboxLabel.nativeElement, "keydown", (event) => {
|
|
5546
5398
|
this.eventBusService
|
|
5547
|
-
.getStream(
|
|
5399
|
+
.getStream(CHECKBOX_KEYDOWN_EVENT)
|
|
5548
5400
|
.next(event);
|
|
5549
5401
|
});
|
|
5550
5402
|
this.sub = this.eventBusService
|
|
5551
|
-
.getStream(
|
|
5403
|
+
.getStream(CHECKBOX_KEYDOWN_EVENT)
|
|
5552
5404
|
.subscribe((event) => {
|
|
5553
5405
|
if (event.target === this.checkboxLabel.nativeElement) {
|
|
5554
5406
|
if (event.keyCode === ENTER || event.keyCode === SPACE) {
|
|
@@ -5578,16 +5430,16 @@ class CheckboxComponent {
|
|
|
5578
5430
|
* @param event Changed nui-checkbox component
|
|
5579
5431
|
*/
|
|
5580
5432
|
changeHandler(event) {
|
|
5433
|
+
var _a;
|
|
5581
5434
|
this.valueChange.emit(event);
|
|
5582
|
-
|
|
5435
|
+
const checked = !!((_a = event.target) === null || _a === void 0 ? void 0 : _a.checked);
|
|
5436
|
+
this.onChange(checked);
|
|
5583
5437
|
this.onTouched();
|
|
5584
|
-
this.writeValue(
|
|
5438
|
+
this.writeValue(checked);
|
|
5585
5439
|
}
|
|
5586
5440
|
onClick(event) {
|
|
5587
5441
|
event.stopPropagation();
|
|
5588
|
-
this.eventBusService
|
|
5589
|
-
.getStream({ id: DOCUMENT_CLICK_EVENT })
|
|
5590
|
-
.next(event);
|
|
5442
|
+
this.eventBusService.getStream(DOCUMENT_CLICK_EVENT).next(event);
|
|
5591
5443
|
}
|
|
5592
5444
|
onChange(value) { }
|
|
5593
5445
|
onTouched() { }
|
|
@@ -5917,6 +5769,101 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
5917
5769
|
}]
|
|
5918
5770
|
}] });
|
|
5919
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
|
+
// import {DraggableComponent} from "./draggable.component";
|
|
5813
|
+
/**
|
|
5814
|
+
* @ignore
|
|
5815
|
+
*/
|
|
5816
|
+
class DroppableComponent {
|
|
5817
|
+
constructor() {
|
|
5818
|
+
// @Input() dragSource: DraggableComponent;
|
|
5819
|
+
this.dragOver = new EventEmitter();
|
|
5820
|
+
this.dragEnter = new EventEmitter();
|
|
5821
|
+
this.dragLeave = new EventEmitter();
|
|
5822
|
+
this.dropSuccess = new EventEmitter();
|
|
5823
|
+
}
|
|
5824
|
+
onDrop(event) {
|
|
5825
|
+
if (event.container !== event.previousContainer) {
|
|
5826
|
+
this.dropSuccess.emit(event.item.data);
|
|
5827
|
+
}
|
|
5828
|
+
}
|
|
5829
|
+
}
|
|
5830
|
+
DroppableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DroppableComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5831
|
+
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"] }] });
|
|
5832
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DroppableComponent, decorators: [{
|
|
5833
|
+
type: Component,
|
|
5834
|
+
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"] }]
|
|
5835
|
+
}], propDecorators: { dragOver: [{
|
|
5836
|
+
type: Output
|
|
5837
|
+
}], dragEnter: [{
|
|
5838
|
+
type: Output
|
|
5839
|
+
}], dragLeave: [{
|
|
5840
|
+
type: Output
|
|
5841
|
+
}], dropSuccess: [{
|
|
5842
|
+
type: Output
|
|
5843
|
+
}], dropList: [{
|
|
5844
|
+
type: ViewChild,
|
|
5845
|
+
args: [CdkDropList, { static: true }]
|
|
5846
|
+
}] } });
|
|
5847
|
+
|
|
5848
|
+
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
5849
|
+
/**
|
|
5850
|
+
* @ignore
|
|
5851
|
+
*/
|
|
5852
|
+
class NuiDragDropModule {
|
|
5853
|
+
}
|
|
5854
|
+
NuiDragDropModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NuiDragDropModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5855
|
+
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] });
|
|
5856
|
+
NuiDragDropModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NuiDragDropModule, providers: [], imports: [[NuiCommonModule, DragDropModule], DragDropModule] });
|
|
5857
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NuiDragDropModule, decorators: [{
|
|
5858
|
+
type: NgModule,
|
|
5859
|
+
args: [{
|
|
5860
|
+
imports: [NuiCommonModule, DragDropModule],
|
|
5861
|
+
declarations: [DraggableComponent, DroppableComponent],
|
|
5862
|
+
exports: [DragDropModule, DraggableComponent, DroppableComponent],
|
|
5863
|
+
providers: [],
|
|
5864
|
+
}]
|
|
5865
|
+
}] });
|
|
5866
|
+
|
|
5920
5867
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
5921
5868
|
// <example-url>./../examples/index.html#/message</example-url>
|
|
5922
5869
|
class MessageComponent {
|
|
@@ -5970,9 +5917,9 @@ class MessageComponent {
|
|
|
5970
5917
|
return this.type ? `nui-message-${this.type.toLowerCase()}` : "";
|
|
5971
5918
|
}
|
|
5972
5919
|
get icon() {
|
|
5973
|
-
|
|
5974
|
-
|
|
5975
|
-
|
|
5920
|
+
var _a;
|
|
5921
|
+
return (MessageComponent.ICON_MAP[(_a = this.type) !== null && _a !== void 0 ? _a : ""] ||
|
|
5922
|
+
MessageComponent.UNKNOWN_ICON);
|
|
5976
5923
|
}
|
|
5977
5924
|
}
|
|
5978
5925
|
MessageComponent.ICON_MAP = {
|
|
@@ -6343,7 +6290,7 @@ class OverlayCustomContainer extends OverlayContainer {
|
|
|
6343
6290
|
// Overriding default destroy to prevent unwanted cleanup
|
|
6344
6291
|
}
|
|
6345
6292
|
}
|
|
6346
|
-
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 });
|
|
6293
|
+
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 });
|
|
6347
6294
|
OverlayCustomContainer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: OverlayCustomContainer });
|
|
6348
6295
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: OverlayCustomContainer, decorators: [{
|
|
6349
6296
|
type: Injectable
|
|
@@ -6351,7 +6298,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
6351
6298
|
return [{ type: Document, decorators: [{
|
|
6352
6299
|
type: Inject,
|
|
6353
6300
|
args: [DOCUMENT]
|
|
6354
|
-
}] }, { type: i1.Platform }, { type: OverlayContainerService }];
|
|
6301
|
+
}] }, { type: i1$1.Platform }, { type: OverlayContainerService }];
|
|
6355
6302
|
} });
|
|
6356
6303
|
|
|
6357
6304
|
var OverlayPanelClass;
|
|
@@ -6718,12 +6665,12 @@ class OverlayService {
|
|
|
6718
6665
|
this.overlayContainer.setContainer(container);
|
|
6719
6666
|
}
|
|
6720
6667
|
}
|
|
6721
|
-
OverlayService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: OverlayService, deps: [{ token: i1$
|
|
6668
|
+
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 });
|
|
6722
6669
|
OverlayService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: OverlayService });
|
|
6723
6670
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: OverlayService, decorators: [{
|
|
6724
6671
|
type: Injectable
|
|
6725
6672
|
}], ctorParameters: function () {
|
|
6726
|
-
return [{ type: i1$
|
|
6673
|
+
return [{ type: i1$2.Overlay }, { type: i1$2.OverlayContainer }, { type: Document, decorators: [{
|
|
6727
6674
|
type: Inject,
|
|
6728
6675
|
args: [DOCUMENT]
|
|
6729
6676
|
}] }, { type: undefined, decorators: [{
|
|
@@ -6736,6 +6683,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
6736
6683
|
|
|
6737
6684
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
6738
6685
|
const POPUP_V2_VIEWPORT_MARGINS_DEFAULT = 30;
|
|
6686
|
+
const isMouseEvent$1 = (event) => event instanceof MouseEvent;
|
|
6739
6687
|
// <example-url>./../examples/index.html#/overlay</example-url>
|
|
6740
6688
|
/* @dynamic */
|
|
6741
6689
|
class OverlayComponent {
|
|
@@ -6800,9 +6748,7 @@ class OverlayComponent {
|
|
|
6800
6748
|
}
|
|
6801
6749
|
/** Stream of clicks outside. */
|
|
6802
6750
|
overlayClickOutside() {
|
|
6803
|
-
return this.eventBusService
|
|
6804
|
-
.getStream({ id: DOCUMENT_CLICK_EVENT })
|
|
6805
|
-
.pipe(filter$1((event) => {
|
|
6751
|
+
return this.eventBusService.getStream(DOCUMENT_CLICK_EVENT).pipe(filter$1(isMouseEvent$1), filter$1((event) => {
|
|
6806
6752
|
var _a, _b;
|
|
6807
6753
|
const clickTarget = event.target;
|
|
6808
6754
|
const notOrigin = !_some(event.composedPath(), (p) => p === this.toggleReference); // the toggle elem
|
|
@@ -6855,7 +6801,7 @@ class OverlayComponent {
|
|
|
6855
6801
|
return this.getContentHeight() <= 10; // 10 is for 5 + 5 paddings
|
|
6856
6802
|
}
|
|
6857
6803
|
}
|
|
6858
|
-
OverlayComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: OverlayComponent, deps: [{ token: OverlayPositionService }, { token: OverlayService }, { token: i1$
|
|
6804
|
+
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 });
|
|
6859
6805
|
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: [
|
|
6860
6806
|
Overlay,
|
|
6861
6807
|
OverlayService,
|
|
@@ -6888,7 +6834,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
6888
6834
|
OverlayPositionService,
|
|
6889
6835
|
{ provide: OverlayContainer, useClass: OverlayCustomContainer },
|
|
6890
6836
|
], 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"] }]
|
|
6891
|
-
}], ctorParameters: function () { return [{ type: OverlayPositionService }, { type: OverlayService }, { type: i1$
|
|
6837
|
+
}], ctorParameters: function () { return [{ type: OverlayPositionService }, { type: OverlayService }, { type: i1$2.Overlay }, { type: EventBusService }]; }, propDecorators: { overlayConfig: [{
|
|
6892
6838
|
type: Input
|
|
6893
6839
|
}], toggleReference: [{
|
|
6894
6840
|
type: Input
|
|
@@ -6971,7 +6917,7 @@ class PopupComponent {
|
|
|
6971
6917
|
}
|
|
6972
6918
|
get isOpen() {
|
|
6973
6919
|
var _a;
|
|
6974
|
-
return (_a = this.popup) === null || _a === void 0 ? void 0 : _a.showing;
|
|
6920
|
+
return !!((_a = this.popup) === null || _a === void 0 ? void 0 : _a.showing);
|
|
6975
6921
|
}
|
|
6976
6922
|
set visible(value) {
|
|
6977
6923
|
this._visible = value;
|
|
@@ -7018,7 +6964,7 @@ class PopupComponent {
|
|
|
7018
6964
|
this.customContainer = this.popupArea;
|
|
7019
6965
|
}
|
|
7020
6966
|
this.eventBusService
|
|
7021
|
-
.getStream(
|
|
6967
|
+
.getStream(DOCUMENT_CLICK_EVENT)
|
|
7022
6968
|
.pipe(takeUntil(this.destroy$))
|
|
7023
6969
|
.subscribe((event) => {
|
|
7024
6970
|
const isToggle = this.popupToggle && event
|
|
@@ -7170,7 +7116,7 @@ class PopupComponent {
|
|
|
7170
7116
|
: this.document.querySelector(this.baseElementSelector);
|
|
7171
7117
|
}
|
|
7172
7118
|
}
|
|
7173
|
-
PopupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PopupComponent, deps: [{ token: i1$
|
|
7119
|
+
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 });
|
|
7174
7120
|
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 });
|
|
7175
7121
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PopupComponent, decorators: [{
|
|
7176
7122
|
type: Component,
|
|
@@ -7180,7 +7126,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
7180
7126
|
"[attr.aria-label]": "ariaLabel",
|
|
7181
7127
|
}, 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"] }]
|
|
7182
7128
|
}], ctorParameters: function () {
|
|
7183
|
-
return [{ type: i1$
|
|
7129
|
+
return [{ type: i1$2.Overlay }, { type: i0.ChangeDetectorRef }, { type: EventBusService }, { type: i0.ElementRef }, { type: Document, decorators: [{
|
|
7184
7130
|
type: Inject,
|
|
7185
7131
|
args: [DOCUMENT]
|
|
7186
7132
|
}] }];
|
|
@@ -7414,7 +7360,7 @@ class TooltipComponent {
|
|
|
7414
7360
|
this._markForCheck();
|
|
7415
7361
|
}
|
|
7416
7362
|
}
|
|
7417
|
-
TooltipComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TooltipComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1$
|
|
7363
|
+
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 });
|
|
7418
7364
|
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: `
|
|
7419
7365
|
<nui-overlay
|
|
7420
7366
|
[toggleReference]="toggleReference.nativeElement"
|
|
@@ -7451,7 +7397,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
7451
7397
|
</div>
|
|
7452
7398
|
</nui-overlay>
|
|
7453
7399
|
`, 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"] }]
|
|
7454
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i1$
|
|
7400
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i1$2.ScrollDispatcher }, { type: i0.NgZone }, { type: i1$2.Overlay }]; }, propDecorators: { overlayComponent: [{
|
|
7455
7401
|
type: ViewChild,
|
|
7456
7402
|
args: [OverlayComponent, { static: true }]
|
|
7457
7403
|
}] } });
|
|
@@ -7629,7 +7575,7 @@ class TooltipDirective {
|
|
|
7629
7575
|
return !(this.disabled || !this.message || this._isTooltipVisible());
|
|
7630
7576
|
}
|
|
7631
7577
|
}
|
|
7632
|
-
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$
|
|
7578
|
+
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 });
|
|
7633
7579
|
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 });
|
|
7634
7580
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TooltipDirective, decorators: [{
|
|
7635
7581
|
type: Directive,
|
|
@@ -7643,7 +7589,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
7643
7589
|
},
|
|
7644
7590
|
providers: [OverlayPositionService],
|
|
7645
7591
|
}]
|
|
7646
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ViewContainerRef }, { type: i0.NgZone }, { type: i1$
|
|
7592
|
+
}], 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: [{
|
|
7647
7593
|
type: Input,
|
|
7648
7594
|
args: ["tooltipPlacement"]
|
|
7649
7595
|
}], disabled: [{
|
|
@@ -7863,6 +7809,68 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
7863
7809
|
args: ["click", ["$event"]]
|
|
7864
7810
|
}] } });
|
|
7865
7811
|
|
|
7812
|
+
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
7813
|
+
//
|
|
7814
|
+
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7815
|
+
// of this software and associated documentation files (the "Software"), to
|
|
7816
|
+
// deal in the Software without restriction, including without limitation the
|
|
7817
|
+
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
7818
|
+
// sell copies of the Software, and to permit persons to whom the Software is
|
|
7819
|
+
// furnished to do so, subject to the following conditions:
|
|
7820
|
+
//
|
|
7821
|
+
// The above copyright notice and this permission notice shall be included in
|
|
7822
|
+
// all copies or substantial portions of the Software.
|
|
7823
|
+
//
|
|
7824
|
+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
7825
|
+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
7826
|
+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
7827
|
+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
7828
|
+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
7829
|
+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
7830
|
+
// THE SOFTWARE.
|
|
7831
|
+
/** @deprecated */
|
|
7832
|
+
var KEY_CODE;
|
|
7833
|
+
(function (KEY_CODE) {
|
|
7834
|
+
KEY_CODE[KEY_CODE["BACKSPACE"] = 8] = "BACKSPACE";
|
|
7835
|
+
KEY_CODE[KEY_CODE["TAB"] = 9] = "TAB";
|
|
7836
|
+
KEY_CODE[KEY_CODE["ENTER"] = 13] = "ENTER";
|
|
7837
|
+
KEY_CODE[KEY_CODE["ESCAPE"] = 27] = "ESCAPE";
|
|
7838
|
+
KEY_CODE[KEY_CODE["SPACE"] = 32] = "SPACE";
|
|
7839
|
+
KEY_CODE[KEY_CODE["PAGE_UP"] = 33] = "PAGE_UP";
|
|
7840
|
+
KEY_CODE[KEY_CODE["PAGE_DOWN"] = 34] = "PAGE_DOWN";
|
|
7841
|
+
KEY_CODE[KEY_CODE["END"] = 35] = "END";
|
|
7842
|
+
KEY_CODE[KEY_CODE["HOME"] = 36] = "HOME";
|
|
7843
|
+
KEY_CODE[KEY_CODE["LEFT_ARROW"] = 37] = "LEFT_ARROW";
|
|
7844
|
+
KEY_CODE[KEY_CODE["UP_ARROW"] = 38] = "UP_ARROW";
|
|
7845
|
+
KEY_CODE[KEY_CODE["RIGHT_ARROW"] = 39] = "RIGHT_ARROW";
|
|
7846
|
+
KEY_CODE[KEY_CODE["DOWN_ARROW"] = 40] = "DOWN_ARROW";
|
|
7847
|
+
KEY_CODE[KEY_CODE["DELETE"] = 46] = "DELETE";
|
|
7848
|
+
KEY_CODE[KEY_CODE["X"] = 88] = "X";
|
|
7849
|
+
KEY_CODE[KEY_CODE["ASTERISK"] = 106] = "ASTERISK";
|
|
7850
|
+
KEY_CODE[KEY_CODE["PLUS"] = 107] = "PLUS";
|
|
7851
|
+
KEY_CODE[KEY_CODE["MINUS"] = 109] = "MINUS";
|
|
7852
|
+
KEY_CODE[KEY_CODE["TILDE"] = 192] = "TILDE";
|
|
7853
|
+
})(KEY_CODE || (KEY_CODE = {}));
|
|
7854
|
+
var KEYBOARD_CODE;
|
|
7855
|
+
(function (KEYBOARD_CODE) {
|
|
7856
|
+
KEYBOARD_CODE["ARROW_DOWN"] = "ArrowDown";
|
|
7857
|
+
KEYBOARD_CODE["ARROW_LEFT"] = "ArrowLeft";
|
|
7858
|
+
KEYBOARD_CODE["ARROW_RIGHT"] = "ArrowRight";
|
|
7859
|
+
KEYBOARD_CODE["ARROW_UP"] = "ArrowUp";
|
|
7860
|
+
KEYBOARD_CODE["BACKSPACE"] = "Backspace";
|
|
7861
|
+
KEYBOARD_CODE["ENTER"] = "Enter";
|
|
7862
|
+
KEYBOARD_CODE["END"] = "End";
|
|
7863
|
+
KEYBOARD_CODE["ESCAPE"] = "Escape";
|
|
7864
|
+
KEYBOARD_CODE["HOME"] = "Home";
|
|
7865
|
+
KEYBOARD_CODE["PAGE_DOWN"] = "PageDown";
|
|
7866
|
+
KEYBOARD_CODE["PAGE_UP"] = "PageUp";
|
|
7867
|
+
KEYBOARD_CODE["SHIFT_LEFT"] = "ShiftLeft";
|
|
7868
|
+
KEYBOARD_CODE["SHIFT_RIGHT"] = "ShiftRight";
|
|
7869
|
+
KEYBOARD_CODE["SPACE"] = "Space";
|
|
7870
|
+
KEYBOARD_CODE["TAB"] = "Tab";
|
|
7871
|
+
KEYBOARD_CODE["DELETE"] = "Delete";
|
|
7872
|
+
})(KEYBOARD_CODE || (KEYBOARD_CODE = {}));
|
|
7873
|
+
|
|
7866
7874
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
7867
7875
|
class OptionKeyControlService {
|
|
7868
7876
|
constructor(liveAnnouncer) {
|
|
@@ -7973,18 +7981,17 @@ class OptionKeyControlService {
|
|
|
7973
7981
|
this.liveAnnouncer.announce(message);
|
|
7974
7982
|
}
|
|
7975
7983
|
}
|
|
7976
|
-
OptionKeyControlService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: OptionKeyControlService, deps: [{ token: i1$
|
|
7984
|
+
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 });
|
|
7977
7985
|
OptionKeyControlService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: OptionKeyControlService });
|
|
7978
7986
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: OptionKeyControlService, decorators: [{
|
|
7979
7987
|
type: Injectable
|
|
7980
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
7988
|
+
}], ctorParameters: function () { return [{ type: i1$3.LiveAnnouncer }]; } });
|
|
7981
7989
|
|
|
7982
7990
|
const DEFAULT_SELECT_OVERLAY_CONFIG = {
|
|
7983
7991
|
panelClass: OVERLAY_WITH_POPUP_STYLES_CLASS,
|
|
7984
7992
|
};
|
|
7985
7993
|
const V_SCROLL_HEIGHT_BUFFER = 10;
|
|
7986
7994
|
// Will be renamed in scope of the NUI-5797
|
|
7987
|
-
// eslint-disable-next-line @angular-eslint/directive-class-suffix
|
|
7988
7995
|
class BaseSelectV2 {
|
|
7989
7996
|
constructor(optionKeyControlService, cdRef, elRef, liveAnnouncer) {
|
|
7990
7997
|
this.optionKeyControlService = optionKeyControlService;
|
|
@@ -8215,7 +8222,8 @@ class BaseSelectV2 {
|
|
|
8215
8222
|
// Using type assertion to avoid compilation error, undefined elements are filtered but compiler do not infer the type properly
|
|
8216
8223
|
this._selectedOptions = (value
|
|
8217
8224
|
.map((v) => { var _a; return (_a = this.options) === null || _a === void 0 ? void 0 : _a.find((option) => _isEqual(option.value, v)); })
|
|
8218
|
-
.filter((_) => _));
|
|
8225
|
+
.filter((_) => _));
|
|
8226
|
+
// removes 'undefined' elements out of the array if any
|
|
8219
8227
|
this._selectedOptions.forEach((option) => (option.outfiltered = true));
|
|
8220
8228
|
}
|
|
8221
8229
|
else {
|
|
@@ -8347,11 +8355,11 @@ class BaseSelectV2 {
|
|
|
8347
8355
|
this.liveAnnouncer.announce(msg);
|
|
8348
8356
|
}
|
|
8349
8357
|
}
|
|
8350
|
-
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$
|
|
8358
|
+
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 });
|
|
8351
8359
|
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 });
|
|
8352
8360
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BaseSelectV2, decorators: [{
|
|
8353
8361
|
type: Directive
|
|
8354
|
-
}], ctorParameters: function () { return [{ type: OptionKeyControlService }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i1$
|
|
8362
|
+
}], ctorParameters: function () { return [{ type: OptionKeyControlService }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i1$3.LiveAnnouncer }]; }, propDecorators: { placeholder: [{
|
|
8355
8363
|
type: Input
|
|
8356
8364
|
}], popupViewportMargin: [{
|
|
8357
8365
|
type: Input
|
|
@@ -8573,11 +8581,11 @@ class SelectedItemsKeyControlService {
|
|
|
8573
8581
|
return ((_a = this.activeItem) === null || _a === void 0 ? void 0 : _a.cdRef.context.item.label) || "";
|
|
8574
8582
|
}
|
|
8575
8583
|
}
|
|
8576
|
-
SelectedItemsKeyControlService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SelectedItemsKeyControlService, deps: [{ token: i1$
|
|
8584
|
+
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 });
|
|
8577
8585
|
SelectedItemsKeyControlService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SelectedItemsKeyControlService });
|
|
8578
8586
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SelectedItemsKeyControlService, decorators: [{
|
|
8579
8587
|
type: Injectable
|
|
8580
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
8588
|
+
}], ctorParameters: function () { return [{ type: i1$3.LiveAnnouncer }]; } });
|
|
8581
8589
|
|
|
8582
8590
|
// <example-url>./../examples/index.html#/combobox-v2</example-url>
|
|
8583
8591
|
// Will be renamed in scope of the NUI-5797
|
|
@@ -8802,7 +8810,7 @@ class ComboboxV2Component extends BaseSelectV2 {
|
|
|
8802
8810
|
!this.options.find((option) => optionName(option) === inputValue));
|
|
8803
8811
|
}
|
|
8804
8812
|
}
|
|
8805
|
-
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$
|
|
8813
|
+
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 });
|
|
8806
8814
|
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: [
|
|
8807
8815
|
OptionKeyControlService,
|
|
8808
8816
|
SelectedItemsKeyControlService,
|
|
@@ -8847,7 +8855,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
8847
8855
|
"aria-haspopup": "listbox",
|
|
8848
8856
|
"aria-owns": "nui-overlay",
|
|
8849
8857
|
}, 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"] }]
|
|
8850
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: OptionKeyControlService }, { type: i0.ChangeDetectorRef }, { type: SelectedItemsKeyControlService }, { type: i1$
|
|
8858
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: OptionKeyControlService }, { type: i0.ChangeDetectorRef }, { type: SelectedItemsKeyControlService }, { type: i1$3.LiveAnnouncer }]; }, propDecorators: { displayWith: [{
|
|
8851
8859
|
type: Input
|
|
8852
8860
|
}], isRemoveValueEnabled: [{
|
|
8853
8861
|
type: Input
|
|
@@ -9087,14 +9095,11 @@ class DndDropTargetDirective {
|
|
|
9087
9095
|
draggedItem$,
|
|
9088
9096
|
]).pipe(switchMap(([showDropZone, drag]) => {
|
|
9089
9097
|
var _a, _b;
|
|
9090
|
-
|
|
9091
|
-
|
|
9092
|
-
|
|
9093
|
-
|
|
9094
|
-
|
|
9095
|
-
}
|
|
9096
|
-
this._canLastDragItemBeDropped = result;
|
|
9097
|
-
return of(result);
|
|
9098
|
+
const canBeDropped = showDropZone
|
|
9099
|
+
? (_b = (_a = this.canBeDropped) === null || _a === void 0 ? void 0 : _a.call(this, drag.data, this.targetDropList)) !== null && _b !== void 0 ? _b : true
|
|
9100
|
+
: false;
|
|
9101
|
+
this._canLastDragItemBeDropped = canBeDropped;
|
|
9102
|
+
return of(canBeDropped);
|
|
9098
9103
|
}), distinctUntilChanged(), shareReplay());
|
|
9099
9104
|
// If consumer will not subscribe in the template to canDrop$ we should set proper classes anyway.
|
|
9100
9105
|
// That's why we're subscribing also here, the number of observables will remain the same because of shareReplay
|
|
@@ -9125,7 +9130,7 @@ class DndDropTargetDirective {
|
|
|
9125
9130
|
this._destroy$.complete();
|
|
9126
9131
|
}
|
|
9127
9132
|
}
|
|
9128
|
-
DndDropTargetDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DndDropTargetDirective, deps: [{ token:
|
|
9133
|
+
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 });
|
|
9129
9134
|
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 });
|
|
9130
9135
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DndDropTargetDirective, decorators: [{
|
|
9131
9136
|
type: Directive,
|
|
@@ -9141,7 +9146,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
9141
9146
|
"[class.nui-dnd-dropzone--drop-not-allowed]": "isDropZoneActive && canLastDragItemBeDropped === false",
|
|
9142
9147
|
},
|
|
9143
9148
|
}]
|
|
9144
|
-
}], ctorParameters: function () { return [{ type:
|
|
9149
|
+
}], ctorParameters: function () { return [{ type: i1.CdkDropList }, { type: i0.Renderer2 }, { type: i0.ElementRef }]; }, propDecorators: { draggables: [{
|
|
9145
9150
|
type: ContentChildren,
|
|
9146
9151
|
args: [CdkDrag, { descendants: true }]
|
|
9147
9152
|
}], canBeDropped: [{
|
|
@@ -9583,6 +9588,7 @@ class TableVirtualScrollDirective {
|
|
|
9583
9588
|
this.offset = DEFAULT_TABLE_HEADER_OFFSET;
|
|
9584
9589
|
// Converting parameters to numbers here to avoid inputs become strings in case user sets rowHeight and offset
|
|
9585
9590
|
// without square brackets in the template
|
|
9591
|
+
// eslint-disable-next-line import/no-deprecated
|
|
9586
9592
|
this.scrollStrategy = new TableVirtualScrollStrategy(+this.rowHeight, +this.offset);
|
|
9587
9593
|
}
|
|
9588
9594
|
ngOnChanges() {
|
|
@@ -10331,7 +10337,7 @@ class TableComponent extends CdkTable {
|
|
|
10331
10337
|
this.tableStateHandlerService.hasVirtualScroll = !!this.virtualFor;
|
|
10332
10338
|
}
|
|
10333
10339
|
}
|
|
10334
|
-
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$
|
|
10340
|
+
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 });
|
|
10335
10341
|
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: [
|
|
10336
10342
|
TableStateHandlerService,
|
|
10337
10343
|
{
|
|
@@ -10362,16 +10368,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
10362
10368
|
return [{ type: i0.IterableDiffers }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: undefined, decorators: [{
|
|
10363
10369
|
type: Attribute,
|
|
10364
10370
|
args: ["role"]
|
|
10365
|
-
}] }, { type: i1$
|
|
10371
|
+
}] }, { type: i1$4.Directionality }, { type: TableStateHandlerService }, { type: Document, decorators: [{
|
|
10366
10372
|
type: Inject,
|
|
10367
10373
|
args: [DOCUMENT]
|
|
10368
|
-
}] }, { type: i1.Platform }, { type: undefined, decorators: [{
|
|
10374
|
+
}] }, { type: i1$1.Platform }, { type: undefined, decorators: [{
|
|
10369
10375
|
type: Inject,
|
|
10370
10376
|
args: [_VIEW_REPEATER_STRATEGY]
|
|
10371
10377
|
}] }, { type: i5$1._CoalescedStyleScheduler, decorators: [{
|
|
10372
10378
|
type: Inject,
|
|
10373
10379
|
args: [_COALESCED_STYLE_SCHEDULER]
|
|
10374
|
-
}] }, { type: i1$
|
|
10380
|
+
}] }, { type: i1$5.ViewportRuler }, { type: undefined, decorators: [{
|
|
10375
10381
|
type: Optional
|
|
10376
10382
|
}, {
|
|
10377
10383
|
type: SkipSelf
|
|
@@ -10562,7 +10568,9 @@ class TableStickyHeaderDirective {
|
|
|
10562
10568
|
const resize$ = new Subject();
|
|
10563
10569
|
// Note: Passing the resize event to resize$ subject to be able
|
|
10564
10570
|
// to handle all the columnWidth update trigger in a single stream
|
|
10565
|
-
const resizeObserver = new ResizeObserver(() =>
|
|
10571
|
+
const resizeObserver = new ResizeObserver(() => {
|
|
10572
|
+
resize$.next();
|
|
10573
|
+
});
|
|
10566
10574
|
resizeObserver.observe(this.viewportEl);
|
|
10567
10575
|
this.unsubscribe$
|
|
10568
10576
|
.pipe(take$1(1), tap(() => resize$.complete()))
|
|
@@ -10640,7 +10648,7 @@ class TableStickyHeaderDirective {
|
|
|
10640
10648
|
this.setSticky();
|
|
10641
10649
|
}
|
|
10642
10650
|
}
|
|
10643
|
-
TableStickyHeaderDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TableStickyHeaderDirective, deps: [{ token: i0.Renderer2 }, { token: i1$
|
|
10651
|
+
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 });
|
|
10644
10652
|
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 });
|
|
10645
10653
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TableStickyHeaderDirective, decorators: [{
|
|
10646
10654
|
type: Directive,
|
|
@@ -10651,7 +10659,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
10651
10659
|
style: "overflow-y:overlay",
|
|
10652
10660
|
},
|
|
10653
10661
|
}]
|
|
10654
|
-
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i1$
|
|
10662
|
+
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i1$5.CdkVirtualScrollViewport }]; }, propDecorators: { table: [{
|
|
10655
10663
|
type: ContentChild,
|
|
10656
10664
|
args: [TableComponent]
|
|
10657
10665
|
}], virtualFor: [{
|
|
@@ -11245,9 +11253,7 @@ class PopoverComponent {
|
|
|
11245
11253
|
else {
|
|
11246
11254
|
this.onTrigger("click");
|
|
11247
11255
|
}
|
|
11248
|
-
this.eventBusService
|
|
11249
|
-
.getStream({ id: DOCUMENT_CLICK_EVENT })
|
|
11250
|
-
.next(event);
|
|
11256
|
+
this.eventBusService.getStream(DOCUMENT_CLICK_EVENT).next(event);
|
|
11251
11257
|
event.stopPropagation();
|
|
11252
11258
|
}
|
|
11253
11259
|
onMouseEnter() {
|
|
@@ -11368,16 +11374,14 @@ class PopoverComponent {
|
|
|
11368
11374
|
}
|
|
11369
11375
|
}
|
|
11370
11376
|
activatePopover() {
|
|
11371
|
-
this.eventBusService.getStream(
|
|
11377
|
+
this.eventBusService.getStream(CLOSE_POPOVER_EVENT).next();
|
|
11372
11378
|
this.showPopover();
|
|
11373
11379
|
}
|
|
11374
11380
|
initializePopover() {
|
|
11375
11381
|
this.popoverModalSubscriptions = [];
|
|
11376
|
-
const closePopoverSubscription = merge(!this.preventClosing
|
|
11377
|
-
? this.eventBusService
|
|
11378
|
-
|
|
11379
|
-
.asObservable()
|
|
11380
|
-
: EMPTY, this.closePopover || EMPTY).subscribe(() => {
|
|
11382
|
+
const closePopoverSubscription = merge((!this.preventClosing
|
|
11383
|
+
? this.eventBusService.getStream(CLOSE_POPOVER_EVENT)
|
|
11384
|
+
: EMPTY), this.closePopover || EMPTY).subscribe(() => {
|
|
11381
11385
|
this.hidePopover();
|
|
11382
11386
|
});
|
|
11383
11387
|
if (!this.popover) {
|
|
@@ -11410,7 +11414,7 @@ class PopoverComponent {
|
|
|
11410
11414
|
});
|
|
11411
11415
|
if (this.isTriggerPresent("click") && !this.preventClosing) {
|
|
11412
11416
|
const documentClickSubscription = this.eventBusService
|
|
11413
|
-
.getStream(
|
|
11417
|
+
.getStream(DOCUMENT_CLICK_EVENT)
|
|
11414
11418
|
.subscribe((event) => {
|
|
11415
11419
|
var _a;
|
|
11416
11420
|
const popoverModalNativeElement = (_a = this.popover) === null || _a === void 0 ? void 0 : _a.instance.elRef.nativeElement;
|
|
@@ -11542,12 +11546,12 @@ class PopoverComponent {
|
|
|
11542
11546
|
this.resizeObserver.observe(this.overlayComponent.getOverlayRef().overlayElement);
|
|
11543
11547
|
}
|
|
11544
11548
|
}
|
|
11545
|
-
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$
|
|
11549
|
+
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 });
|
|
11546
11550
|
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 });
|
|
11547
11551
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PopoverComponent, decorators: [{
|
|
11548
11552
|
type: Component,
|
|
11549
11553
|
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"] }]
|
|
11550
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ComponentFactoryResolver }, { type: i0.ViewContainerRef }, { type: i1$
|
|
11554
|
+
}], 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: [{
|
|
11551
11555
|
type: Input
|
|
11552
11556
|
}], openPopover: [{
|
|
11553
11557
|
type: Input
|
|
@@ -11731,7 +11735,7 @@ class WizardFooterComponent {
|
|
|
11731
11735
|
: null;
|
|
11732
11736
|
}
|
|
11733
11737
|
}
|
|
11734
|
-
WizardFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WizardFooterComponent, deps: [{ token: i1$
|
|
11738
|
+
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 });
|
|
11735
11739
|
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 });
|
|
11736
11740
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WizardFooterComponent, decorators: [{
|
|
11737
11741
|
type: Component,
|
|
@@ -11739,10 +11743,34 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
11739
11743
|
class: "nui-wizard-footer",
|
|
11740
11744
|
role: "tab",
|
|
11741
11745
|
}, 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"] }]
|
|
11742
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
11746
|
+
}], ctorParameters: function () { return [{ type: i1$3.FocusMonitor }, { type: i0.ElementRef }]; }, propDecorators: { footer: [{
|
|
11743
11747
|
type: Input
|
|
11744
11748
|
}] } });
|
|
11745
11749
|
|
|
11750
|
+
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
11751
|
+
const WIZARD_CONFIG = new InjectionToken("wizard.conf");
|
|
11752
|
+
const WIZARD_STEP_STATE_DEFAULT_CONFIG = {
|
|
11753
|
+
initial: {
|
|
11754
|
+
icon: "step",
|
|
11755
|
+
iconColor: "gray",
|
|
11756
|
+
},
|
|
11757
|
+
visited: {
|
|
11758
|
+
icon: "step-complete",
|
|
11759
|
+
iconColor: "primary-blue",
|
|
11760
|
+
},
|
|
11761
|
+
active: {
|
|
11762
|
+
icon: "step-active",
|
|
11763
|
+
iconColor: "black",
|
|
11764
|
+
},
|
|
11765
|
+
error: {
|
|
11766
|
+
icon: "step-active",
|
|
11767
|
+
iconColor: "black",
|
|
11768
|
+
},
|
|
11769
|
+
};
|
|
11770
|
+
const WIZARD_CONFIG_DEFAULT = {
|
|
11771
|
+
stepState: Object.assign({}, WIZARD_STEP_STATE_DEFAULT_CONFIG),
|
|
11772
|
+
};
|
|
11773
|
+
|
|
11746
11774
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
11747
11775
|
class WizardStepLabelDirective extends CdkStepLabel {
|
|
11748
11776
|
}
|
|
@@ -11825,7 +11853,7 @@ class WizardStepHeaderComponent extends CdkStepHeader {
|
|
|
11825
11853
|
return STEP_STATE.NUMBER;
|
|
11826
11854
|
}
|
|
11827
11855
|
}
|
|
11828
|
-
WizardStepHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WizardStepHeaderComponent, deps: [{ token: i1$
|
|
11856
|
+
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 });
|
|
11829
11857
|
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 });
|
|
11830
11858
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WizardStepHeaderComponent, decorators: [{
|
|
11831
11859
|
type: Component,
|
|
@@ -11837,7 +11865,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
11837
11865
|
role: "tab",
|
|
11838
11866
|
}, 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"] }]
|
|
11839
11867
|
}], ctorParameters: function () {
|
|
11840
|
-
return [{ type: i1$
|
|
11868
|
+
return [{ type: i1$3.FocusMonitor }, { type: i0.ElementRef }, { type: undefined, decorators: [{
|
|
11841
11869
|
type: Optional
|
|
11842
11870
|
}, {
|
|
11843
11871
|
type: Inject,
|
|
@@ -12337,7 +12365,7 @@ WizardHorizontalComponent.ngAcceptInputTypeEditable = undefined;
|
|
|
12337
12365
|
WizardHorizontalComponent.ngAcceptInputTypeOptional = undefined;
|
|
12338
12366
|
WizardHorizontalComponent.ngAcceptInputTypeCompleted = undefined;
|
|
12339
12367
|
WizardHorizontalComponent.ngAcceptInputTypeHasError = undefined;
|
|
12340
|
-
WizardHorizontalComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WizardHorizontalComponent, deps: [{ token: i1$
|
|
12368
|
+
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 });
|
|
12341
12369
|
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: [
|
|
12342
12370
|
{ provide: WizardDirective, useExisting: WizardHorizontalComponent },
|
|
12343
12371
|
{ provide: CdkStepper, useExisting: WizardHorizontalComponent },
|
|
@@ -12355,7 +12383,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
12355
12383
|
{ provide: CdkStepper, useExisting: WizardHorizontalComponent },
|
|
12356
12384
|
], 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"] }]
|
|
12357
12385
|
}], ctorParameters: function () {
|
|
12358
|
-
return [{ type: i1$
|
|
12386
|
+
return [{ type: i1$4.Directionality }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: undefined, decorators: [{
|
|
12359
12387
|
type: Inject,
|
|
12360
12388
|
args: [DOCUMENT]
|
|
12361
12389
|
}] }];
|
|
@@ -12392,7 +12420,7 @@ WizardVerticalComponent.ngAcceptInputTypeEditable = undefined;
|
|
|
12392
12420
|
WizardVerticalComponent.ngAcceptInputTypeOptional = undefined;
|
|
12393
12421
|
WizardVerticalComponent.ngAcceptInputTypeCompleted = undefined;
|
|
12394
12422
|
WizardVerticalComponent.ngAcceptInputTypeHasError = undefined;
|
|
12395
|
-
WizardVerticalComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WizardVerticalComponent, deps: [{ token: i1$
|
|
12423
|
+
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 });
|
|
12396
12424
|
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: [
|
|
12397
12425
|
{ provide: WizardDirective, useExisting: WizardVerticalComponent },
|
|
12398
12426
|
{ provide: CdkStepper, useExisting: WizardVerticalComponent },
|
|
@@ -12408,7 +12436,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
12408
12436
|
{ provide: CdkStepper, useExisting: WizardVerticalComponent },
|
|
12409
12437
|
], 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"] }]
|
|
12410
12438
|
}], ctorParameters: function () {
|
|
12411
|
-
return [{ type: i1$
|
|
12439
|
+
return [{ type: i1$4.Directionality, decorators: [{
|
|
12412
12440
|
type: Optional
|
|
12413
12441
|
}] }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: undefined, decorators: [{
|
|
12414
12442
|
type: Inject,
|
|
@@ -12565,7 +12593,7 @@ class SelectV2Component extends BaseSelectV2 {
|
|
|
12565
12593
|
this.displayText = ((_a = this.selectedOptions[0]) === null || _a === void 0 ? void 0 : _a.viewValue) || "";
|
|
12566
12594
|
}
|
|
12567
12595
|
}
|
|
12568
|
-
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$
|
|
12596
|
+
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 });
|
|
12569
12597
|
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: [
|
|
12570
12598
|
OptionKeyControlService,
|
|
12571
12599
|
{
|
|
@@ -12605,7 +12633,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
12605
12633
|
class: "nui-select-v2",
|
|
12606
12634
|
role: "button",
|
|
12607
12635
|
}, 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"] }]
|
|
12608
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: OptionKeyControlService }, { type: i0.ChangeDetectorRef }, { type: i1$
|
|
12636
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: OptionKeyControlService }, { type: i0.ChangeDetectorRef }, { type: i1$3.LiveAnnouncer }]; }, propDecorators: { displayValueTemplate: [{
|
|
12609
12637
|
type: Input
|
|
12610
12638
|
}] } });
|
|
12611
12639
|
|
|
@@ -12714,7 +12742,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
12714
12742
|
* @ignore
|
|
12715
12743
|
* @deprecated in v11 - Use PopupComponent instead - Removal: NUI-5796
|
|
12716
12744
|
*/
|
|
12717
|
-
/* eslint-disable @angular-eslint/no-host-metadata-property */
|
|
12718
12745
|
class PopupContainerComponent {
|
|
12719
12746
|
constructor(elRef, zone, positionService, edgeDetector) {
|
|
12720
12747
|
this.elRef = elRef;
|
|
@@ -12793,6 +12820,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
12793
12820
|
}] });
|
|
12794
12821
|
|
|
12795
12822
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
12823
|
+
const isMouseEvent = (event) => event instanceof MouseEvent;
|
|
12796
12824
|
// <example-url>./../examples/index.html#/popup</example-url>
|
|
12797
12825
|
/**
|
|
12798
12826
|
* @deprecated in v11 - Use PopupComponent instead - Removal: NUI-5796
|
|
@@ -12808,8 +12836,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
12808
12836
|
* 1st layer of content to define "popup area". DO NOT USE "opened" WITH "nuiPopupToggle".
|
|
12809
12837
|
* IT IS NEEDED TO CHOOSE ONE.
|
|
12810
12838
|
*/
|
|
12811
|
-
/* eslint-disable @angular-eslint/no-host-metadata-property */
|
|
12812
|
-
/* eslint-disable @angular-eslint/no-host-metadata-property */
|
|
12813
12839
|
class PopupDeprecatedComponent {
|
|
12814
12840
|
constructor(elementRef, edgeDetector, changeDetectorRef, eventBusService, componentFactoryResolver, injector, appRef, logger, popupContainer) {
|
|
12815
12841
|
this.elementRef = elementRef;
|
|
@@ -12841,7 +12867,8 @@ class PopupDeprecatedComponent {
|
|
|
12841
12867
|
}));
|
|
12842
12868
|
}
|
|
12843
12869
|
this.popupSubscriptions.push(this.eventBusService
|
|
12844
|
-
.getStream(
|
|
12870
|
+
.getStream(DOCUMENT_CLICK_EVENT)
|
|
12871
|
+
.pipe(filter$2(isMouseEvent))
|
|
12845
12872
|
.subscribe((event) => {
|
|
12846
12873
|
if (this.isOpen) {
|
|
12847
12874
|
this.closePopup(event);
|
|
@@ -13108,7 +13135,7 @@ class SwitchComponent {
|
|
|
13108
13135
|
onTouched() { }
|
|
13109
13136
|
writeValue(value) {
|
|
13110
13137
|
if (value !== undefined) {
|
|
13111
|
-
this.value = value;
|
|
13138
|
+
this.value = !!value;
|
|
13112
13139
|
}
|
|
13113
13140
|
}
|
|
13114
13141
|
registerOnChange(fn) {
|
|
@@ -13234,7 +13261,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
13234
13261
|
/**
|
|
13235
13262
|
* Base class for menu items. Adds styles to host element
|
|
13236
13263
|
*/
|
|
13237
|
-
// eslint-disable-next-line @angular-eslint/directive-class-suffix
|
|
13238
13264
|
class MenuItemBaseComponent {
|
|
13239
13265
|
constructor(group, cd) {
|
|
13240
13266
|
this.group = group;
|
|
@@ -13951,11 +13977,11 @@ class MenuKeyControlService {
|
|
|
13951
13977
|
}
|
|
13952
13978
|
}
|
|
13953
13979
|
}
|
|
13954
|
-
MenuKeyControlService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MenuKeyControlService, deps: [{ token: i1$
|
|
13980
|
+
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 });
|
|
13955
13981
|
MenuKeyControlService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MenuKeyControlService });
|
|
13956
13982
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MenuKeyControlService, decorators: [{
|
|
13957
13983
|
type: Injectable
|
|
13958
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
13984
|
+
}], ctorParameters: function () { return [{ type: i1$3.LiveAnnouncer }]; } });
|
|
13959
13985
|
|
|
13960
13986
|
/**
|
|
13961
13987
|
* Examples: <example-url>./../examples/index.html#/menu</example-url><br />
|
|
@@ -14025,7 +14051,7 @@ class MenuComponent {
|
|
|
14025
14051
|
this.blurred.emit(event);
|
|
14026
14052
|
}
|
|
14027
14053
|
onMenuOpen() {
|
|
14028
|
-
this.menuOpenStream.next(
|
|
14054
|
+
this.menuOpenStream.next();
|
|
14029
14055
|
}
|
|
14030
14056
|
isJustified() {
|
|
14031
14057
|
var _a;
|
|
@@ -14045,7 +14071,7 @@ class MenuComponent {
|
|
|
14045
14071
|
this.focusMonitorSubscription.unsubscribe();
|
|
14046
14072
|
}
|
|
14047
14073
|
}
|
|
14048
|
-
MenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MenuComponent, deps: [{ token: MenuKeyControlService }, { token: i0.Renderer2 }, { token: i1$
|
|
14074
|
+
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 });
|
|
14049
14075
|
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 });
|
|
14050
14076
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MenuComponent, decorators: [{
|
|
14051
14077
|
type: Component,
|
|
@@ -14053,7 +14079,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
14053
14079
|
class: "nui-menu",
|
|
14054
14080
|
"[attr.aria-label]": "title || ariaLabel",
|
|
14055
14081
|
}, 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"] }]
|
|
14056
|
-
}], ctorParameters: function () { return [{ type: MenuKeyControlService }, { type: i0.Renderer2 }, { type: i1$
|
|
14082
|
+
}], ctorParameters: function () { return [{ type: MenuKeyControlService }, { type: i0.Renderer2 }, { type: i1$3.FocusMonitor }]; }, propDecorators: { widthOfPopup: [{
|
|
14057
14083
|
type: Input
|
|
14058
14084
|
}], contextClass: [{
|
|
14059
14085
|
type: Input
|
|
@@ -14396,9 +14422,7 @@ class RadioComponent {
|
|
|
14396
14422
|
// This will lead to multiple click events.
|
|
14397
14423
|
// Preventing bubbling for the second event will solve that issue.
|
|
14398
14424
|
event.stopPropagation();
|
|
14399
|
-
this.eventBusService
|
|
14400
|
-
.getStream({ id: DOCUMENT_CLICK_EVENT })
|
|
14401
|
-
.next(event);
|
|
14425
|
+
this.eventBusService.getStream(DOCUMENT_CLICK_EVENT).next(event);
|
|
14402
14426
|
}
|
|
14403
14427
|
}
|
|
14404
14428
|
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 });
|
|
@@ -14825,8 +14849,8 @@ class RepeatComponent {
|
|
|
14825
14849
|
}
|
|
14826
14850
|
}
|
|
14827
14851
|
}
|
|
14828
|
-
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:
|
|
14829
|
-
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 });
|
|
14852
|
+
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 });
|
|
14853
|
+
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 });
|
|
14830
14854
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: RepeatComponent, decorators: [{
|
|
14831
14855
|
type: Component,
|
|
14832
14856
|
args: [{ selector: "nui-repeat", changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
|
|
@@ -14834,7 +14858,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
14834
14858
|
"[attr.role]": "role",
|
|
14835
14859
|
"[attr.aria-multiselectable]": "ariaMultiselectable",
|
|
14836
14860
|
}, 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"] }]
|
|
14837
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: LoggerService }, { type: i0.IterableDiffers }, { type:
|
|
14861
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: LoggerService }, { type: i0.IterableDiffers }, { type: i1.DragDrop }, { type: i0.ElementRef }]; }, propDecorators: { draggable: [{
|
|
14838
14862
|
type: Input
|
|
14839
14863
|
}], reorderable: [{
|
|
14840
14864
|
type: Input
|
|
@@ -15533,7 +15557,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
15533
15557
|
/**
|
|
15534
15558
|
* @deprecated in v11 - Use BaseSelectV2 instead - Removal: NUI-5796
|
|
15535
15559
|
*/
|
|
15536
|
-
// eslint-disable-next-line @angular-eslint/directive-class-suffix
|
|
15537
15560
|
class BaseSelect {
|
|
15538
15561
|
constructor(utilService) {
|
|
15539
15562
|
this.utilService = utilService;
|
|
@@ -15836,7 +15859,6 @@ class ComboboxComponent extends BaseSelect {
|
|
|
15836
15859
|
}
|
|
15837
15860
|
findObjectByValue(value) {
|
|
15838
15861
|
let arrayOfValues;
|
|
15839
|
-
let foundObject;
|
|
15840
15862
|
// for itemsSource passed as ISelectGroup[]
|
|
15841
15863
|
if (this.isGroupedData(this.itemsSource)) {
|
|
15842
15864
|
arrayOfValues = _flatMap(this.itemsSource, (group) => group.items);
|
|
@@ -15844,7 +15866,7 @@ class ComboboxComponent extends BaseSelect {
|
|
|
15844
15866
|
else {
|
|
15845
15867
|
arrayOfValues = this.itemsSource;
|
|
15846
15868
|
}
|
|
15847
|
-
foundObject = _find(arrayOfValues, [this.displayValue, value]);
|
|
15869
|
+
const foundObject = _find(arrayOfValues, [this.displayValue, value]);
|
|
15848
15870
|
return foundObject ? foundObject : value;
|
|
15849
15871
|
}
|
|
15850
15872
|
isGroupedData(itemsSource) {
|
|
@@ -15886,7 +15908,7 @@ class ComboboxComponent extends BaseSelect {
|
|
|
15886
15908
|
}
|
|
15887
15909
|
}
|
|
15888
15910
|
}
|
|
15889
|
-
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$
|
|
15911
|
+
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 });
|
|
15890
15912
|
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: [
|
|
15891
15913
|
{
|
|
15892
15914
|
provide: NG_VALUE_ACCESSOR,
|
|
@@ -15915,7 +15937,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
15915
15937
|
},
|
|
15916
15938
|
MenuKeyControlService,
|
|
15917
15939
|
], 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"] }]
|
|
15918
|
-
}], ctorParameters: function () { return [{ type: UtilService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }, { type: MenuKeyControlService }, { type: i1$
|
|
15940
|
+
}], ctorParameters: function () { return [{ type: UtilService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }, { type: MenuKeyControlService }, { type: i1$3.FocusMonitor }, { type: LoggerService }]; }, propDecorators: { clearOnBlur: [{
|
|
15919
15941
|
type: Input
|
|
15920
15942
|
}], appendToBody: [{
|
|
15921
15943
|
type: Input
|
|
@@ -17130,7 +17152,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
17130
17152
|
/**
|
|
17131
17153
|
* <example-url>./../examples/index.html#/busy</example-url>
|
|
17132
17154
|
*/
|
|
17133
|
-
/* eslint-disable @angular-eslint/component-selector */
|
|
17134
17155
|
/* eslint-enable @angular-eslint/component-selector */
|
|
17135
17156
|
class BusyComponent {
|
|
17136
17157
|
constructor(tabNavigationService, elRef) {
|
|
@@ -19397,8 +19418,8 @@ class DialogComponent {
|
|
|
19397
19418
|
this.elRef.nativeElement.querySelector(FOCUSABLE_SELECTOR).focus();
|
|
19398
19419
|
}
|
|
19399
19420
|
}
|
|
19400
|
-
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$
|
|
19401
|
-
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$
|
|
19421
|
+
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 });
|
|
19422
|
+
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 });
|
|
19402
19423
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DialogComponent, decorators: [{
|
|
19403
19424
|
type: Component,
|
|
19404
19425
|
args: [{ selector: "nui-dialog-window", host: {
|
|
@@ -19414,7 +19435,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
19414
19435
|
return [{ type: Document, decorators: [{
|
|
19415
19436
|
type: Inject,
|
|
19416
19437
|
args: [DOCUMENT]
|
|
19417
|
-
}] }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.NgZone }, { type: i1$
|
|
19438
|
+
}] }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.NgZone }, { type: i1$5.ScrollDispatcher }, { type: i1$6.Router }];
|
|
19418
19439
|
}, propDecorators: { backdrop: [{
|
|
19419
19440
|
type: Input
|
|
19420
19441
|
}], keyboard: [{
|
|
@@ -20252,7 +20273,7 @@ ${this.pageSizeSet[0]}. To set the desired initial page size, include it as part
|
|
|
20252
20273
|
}
|
|
20253
20274
|
}
|
|
20254
20275
|
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 });
|
|
20255
|
-
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 });
|
|
20276
|
+
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 });
|
|
20256
20277
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PaginatorComponent, decorators: [{
|
|
20257
20278
|
type: Component,
|
|
20258
20279
|
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"] }]
|
|
@@ -20448,7 +20469,7 @@ class PanelComponent {
|
|
|
20448
20469
|
.pipe(filter$1((toggle) => toggle === this._isCollapsed))
|
|
20449
20470
|
.pipe(distinctUntilChanged())
|
|
20450
20471
|
.pipe(debounceTime(PanelComponent.ANIMATION_TIME))
|
|
20451
|
-
.subscribe((
|
|
20472
|
+
.subscribe((_) => this.toggleHideOrCollapsed());
|
|
20452
20473
|
}
|
|
20453
20474
|
ngOnChanges(changes) {
|
|
20454
20475
|
if (changes["panelMode"] && changes["panelMode"].isFirstChange()) {
|
|
@@ -20587,10 +20608,7 @@ class PanelComponent {
|
|
|
20587
20608
|
}
|
|
20588
20609
|
}
|
|
20589
20610
|
toggleCollapsedOnClick() {
|
|
20590
|
-
if (this.isHoverable) {
|
|
20591
|
-
return;
|
|
20592
|
-
}
|
|
20593
|
-
else {
|
|
20611
|
+
if (!this.isHoverable) {
|
|
20594
20612
|
this.toggleHideOrCollapsed();
|
|
20595
20613
|
}
|
|
20596
20614
|
}
|
|
@@ -20672,18 +20690,14 @@ class PanelComponent {
|
|
|
20672
20690
|
style({
|
|
20673
20691
|
height: startSize,
|
|
20674
20692
|
}),
|
|
20675
|
-
animate(`${PanelComponent.ANIMATION_TIME}ms ease-in-out`, style({
|
|
20676
|
-
height: endSize,
|
|
20677
|
-
})),
|
|
20693
|
+
animate(`${PanelComponent.ANIMATION_TIME}ms ease-in-out`, style({ height: endSize })),
|
|
20678
20694
|
]);
|
|
20679
20695
|
}
|
|
20680
20696
|
return this.builder.build([
|
|
20681
20697
|
style({
|
|
20682
20698
|
width: startSize,
|
|
20683
20699
|
}),
|
|
20684
|
-
animate(`${PanelComponent.ANIMATION_TIME}ms ease-in-out`, style({
|
|
20685
|
-
width: endSize,
|
|
20686
|
-
})),
|
|
20700
|
+
animate(`${PanelComponent.ANIMATION_TIME}ms ease-in-out`, style({ width: endSize })),
|
|
20687
20701
|
]);
|
|
20688
20702
|
}
|
|
20689
20703
|
destroyLastAnimationPlayer() {
|
|
@@ -20713,12 +20727,12 @@ PanelComponent.SIZE_VALUES = {
|
|
|
20713
20727
|
MAX_VALUE: "90%",
|
|
20714
20728
|
},
|
|
20715
20729
|
};
|
|
20716
|
-
PanelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PanelComponent, deps: [{ token: i0.Renderer2 }, { token: i1$
|
|
20730
|
+
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 });
|
|
20717
20731
|
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 });
|
|
20718
20732
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PanelComponent, decorators: [{
|
|
20719
20733
|
type: Component,
|
|
20720
20734
|
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"] }]
|
|
20721
|
-
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i1$
|
|
20735
|
+
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i1$7.AnimationBuilder }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { panelMode: [{
|
|
20722
20736
|
type: Input
|
|
20723
20737
|
}], heading: [{
|
|
20724
20738
|
type: Input
|
|
@@ -21200,11 +21214,11 @@ class SorterKeyboardService {
|
|
|
21200
21214
|
this.liveAnnouncer.announce(`Sort by ${(_b = (_a = this.keyboardEventsManager) === null || _a === void 0 ? void 0 : _a.activeItem) === null || _b === void 0 ? void 0 : _b.menuItem.nativeElement.innerText}.`);
|
|
21201
21215
|
}
|
|
21202
21216
|
}
|
|
21203
|
-
SorterKeyboardService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SorterKeyboardService, deps: [{ token: i1$
|
|
21217
|
+
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 });
|
|
21204
21218
|
SorterKeyboardService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SorterKeyboardService });
|
|
21205
21219
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SorterKeyboardService, decorators: [{
|
|
21206
21220
|
type: Injectable
|
|
21207
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
21221
|
+
}], ctorParameters: function () { return [{ type: i1$3.LiveAnnouncer }]; } });
|
|
21208
21222
|
|
|
21209
21223
|
// <example-url>./../examples/index.html#/sorter</example-url>
|
|
21210
21224
|
class SorterComponent {
|
|
@@ -21489,7 +21503,6 @@ class TableColumnDefDirective extends CdkColumnDef {
|
|
|
21489
21503
|
super();
|
|
21490
21504
|
this.tableStateHandlerService = tableStateHandlerService;
|
|
21491
21505
|
}
|
|
21492
|
-
/* eslint-disable @angular-eslint/no-input-rename */
|
|
21493
21506
|
get name() {
|
|
21494
21507
|
return super.name;
|
|
21495
21508
|
}
|
|
@@ -21566,9 +21579,9 @@ class TableCellDirective extends CdkCell {
|
|
|
21566
21579
|
this.rightEdgeActive = this.leftEdgeActive = false;
|
|
21567
21580
|
if ((draggedOverCell === null || draggedOverCell === void 0 ? void 0 : draggedOverCell.cellIndex) === this.currentCellIndex) {
|
|
21568
21581
|
this.rightEdgeActive =
|
|
21569
|
-
draggedOverCell.dropAlignment === "right";
|
|
21582
|
+
(draggedOverCell === null || draggedOverCell === void 0 ? void 0 : draggedOverCell.dropAlignment) === "right";
|
|
21570
21583
|
this.leftEdgeActive =
|
|
21571
|
-
draggedOverCell.dropAlignment === "left";
|
|
21584
|
+
(draggedOverCell === null || draggedOverCell === void 0 ? void 0 : draggedOverCell.dropAlignment) === "left";
|
|
21572
21585
|
this.cd.detectChanges();
|
|
21573
21586
|
}
|
|
21574
21587
|
});
|
|
@@ -21605,7 +21618,6 @@ TableCellDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", ver
|
|
|
21605
21618
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TableCellDirective, decorators: [{
|
|
21606
21619
|
type: Directive,
|
|
21607
21620
|
args: [{
|
|
21608
|
-
// eslint-disable-next-line
|
|
21609
21621
|
selector: "nui-cell, td[nui-cell]",
|
|
21610
21622
|
host: {
|
|
21611
21623
|
role: "gridcell",
|
|
@@ -21907,9 +21919,9 @@ class TableHeaderCellComponent extends CdkHeaderCell {
|
|
|
21907
21919
|
this.rightEdgeActive = this.leftEdgeActive = false;
|
|
21908
21920
|
if ((draggedOverCell === null || draggedOverCell === void 0 ? void 0 : draggedOverCell.cellIndex) === this.currentCellIndex) {
|
|
21909
21921
|
this.rightEdgeActive =
|
|
21910
|
-
draggedOverCell.dropAlignment === "right";
|
|
21922
|
+
(draggedOverCell === null || draggedOverCell === void 0 ? void 0 : draggedOverCell.dropAlignment) === "right";
|
|
21911
21923
|
this.leftEdgeActive =
|
|
21912
|
-
draggedOverCell.dropAlignment === "left";
|
|
21924
|
+
(draggedOverCell === null || draggedOverCell === void 0 ? void 0 : draggedOverCell.dropAlignment) === "left";
|
|
21913
21925
|
}
|
|
21914
21926
|
}));
|
|
21915
21927
|
}
|
|
@@ -21966,7 +21978,6 @@ TableHeaderCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0
|
|
|
21966
21978
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TableHeaderCellComponent, decorators: [{
|
|
21967
21979
|
type: Component,
|
|
21968
21980
|
args: [{
|
|
21969
|
-
// eslint-disable-next-line
|
|
21970
21981
|
selector: "nui-header-cell, th[nui-header-cell]",
|
|
21971
21982
|
host: {
|
|
21972
21983
|
role: "columnheader",
|
|
@@ -22046,6 +22057,34 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
22046
22057
|
args: ["dragend", ["$event"]]
|
|
22047
22058
|
}] } });
|
|
22048
22059
|
|
|
22060
|
+
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
22061
|
+
//
|
|
22062
|
+
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
22063
|
+
// of this software and associated documentation files (the "Software"), to
|
|
22064
|
+
// deal in the Software without restriction, including without limitation the
|
|
22065
|
+
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
22066
|
+
// sell copies of the Software, and to permit persons to whom the Software is
|
|
22067
|
+
// furnished to do so, subject to the following conditions:
|
|
22068
|
+
//
|
|
22069
|
+
// The above copyright notice and this permission notice shall be included in
|
|
22070
|
+
// all copies or substantial portions of the Software.
|
|
22071
|
+
//
|
|
22072
|
+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
22073
|
+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
22074
|
+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
22075
|
+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
22076
|
+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
22077
|
+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
22078
|
+
// THE SOFTWARE.
|
|
22079
|
+
/**
|
|
22080
|
+
* 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.
|
|
22081
|
+
*/
|
|
22082
|
+
const DEFAULT_INTERACTIVE_ELEMENTS = [
|
|
22083
|
+
"button",
|
|
22084
|
+
"input[type='button']",
|
|
22085
|
+
"a[href]",
|
|
22086
|
+
];
|
|
22087
|
+
|
|
22049
22088
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
22050
22089
|
/* eslint-disable */
|
|
22051
22090
|
/**
|
|
@@ -23053,8 +23092,8 @@ class TimeFrameBarComponent {
|
|
|
23053
23092
|
this.changeDetectorRef = changeDetectorRef;
|
|
23054
23093
|
/** Current time frame value */
|
|
23055
23094
|
this.timeFrame = {
|
|
23056
|
-
startDatetime: undefined,
|
|
23057
|
-
endDatetime: undefined,
|
|
23095
|
+
startDatetime: moment(undefined),
|
|
23096
|
+
endDatetime: moment(undefined),
|
|
23058
23097
|
};
|
|
23059
23098
|
this.timeFrameChange = new EventEmitter();
|
|
23060
23099
|
/** Current index in zoom history */
|
|
@@ -23871,13 +23910,9 @@ class ToastService {
|
|
|
23871
23910
|
// @ts-ignore: Suppressing error until v10 to prevent API breaking changes
|
|
23872
23911
|
return null;
|
|
23873
23912
|
}
|
|
23874
|
-
|
|
23913
|
+
this.toastContainerService.getContainerElement(config.positionClass);
|
|
23875
23914
|
let keepInactive = false;
|
|
23876
23915
|
let sanitizedBody = body;
|
|
23877
|
-
let toastRef;
|
|
23878
|
-
let toastPackage;
|
|
23879
|
-
let toastInjector;
|
|
23880
|
-
let toastInstance;
|
|
23881
23916
|
if (this.toastConfig.maxOpened &&
|
|
23882
23917
|
this.currentlyActive >= this.toastConfig.maxOpened) {
|
|
23883
23918
|
keepInactive = true;
|
|
@@ -23889,11 +23924,11 @@ class ToastService {
|
|
|
23889
23924
|
if (body && config.enableHtml) {
|
|
23890
23925
|
sanitizedBody = (this.sanitizer.sanitize(SecurityContext.HTML, body));
|
|
23891
23926
|
}
|
|
23892
|
-
toastRef = new ToastRef(this.toastContainerService);
|
|
23893
|
-
toastPackage = new ToastPackage(this.index, config, sanitizedBody, title, toastType, toastRef);
|
|
23894
|
-
toastInjector = new ToastInjector(toastPackage, this._injector);
|
|
23927
|
+
const toastRef = new ToastRef(this.toastContainerService);
|
|
23928
|
+
const toastPackage = new ToastPackage(this.index, config, sanitizedBody, title, toastType, toastRef);
|
|
23929
|
+
const toastInjector = new ToastInjector(toastPackage, this._injector);
|
|
23895
23930
|
toastRef.componentInstance = this.toastContainerService.attachToast(ToastComponent, toastInjector, !!config.newestOnTop);
|
|
23896
|
-
toastInstance = {
|
|
23931
|
+
const toastInstance = {
|
|
23897
23932
|
toastId: this.index,
|
|
23898
23933
|
body: sanitizedBody,
|
|
23899
23934
|
toastRef,
|
|
@@ -24965,6 +25000,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
24965
25000
|
args: ["code"]
|
|
24966
25001
|
}] } });
|
|
24967
25002
|
|
|
25003
|
+
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
25004
|
+
// This should not be here, but Angular DI is not recognizing this token when it in scope of docsModule
|
|
25005
|
+
// In any case doc helpers will be moved in separate preject and this will not be here
|
|
25006
|
+
const DEMO_PATH_TOKEN = new InjectionToken("DemoPathToken");
|
|
25007
|
+
|
|
24968
25008
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
24969
25009
|
/** @ignore */
|
|
24970
25010
|
class SourcesService {
|
|
@@ -24975,11 +25015,9 @@ class SourcesService {
|
|
|
24975
25015
|
}
|
|
24976
25016
|
getSourcesByFilenamePrefix(prefix) {
|
|
24977
25017
|
if (!this.context) {
|
|
24978
|
-
this.logger
|
|
24979
|
-
|
|
24980
|
-
|
|
24981
|
-
useFactory: () => (<any> require).context("!!raw-loader!./components/demo/", true, /.*\.(ts|html|less)$/)}, `);
|
|
24982
|
-
return;
|
|
25018
|
+
this.logger.error(`You need to configure SourceService in the module where you import NuiDocsModule e.g. {` +
|
|
25019
|
+
` provide: DEMO_PATH_TOKEN, useFactory: () => (<any> require).context("!!raw-loader!./components/demo/", true, /.*[.](ts|html|less)$/) }`);
|
|
25020
|
+
return {};
|
|
24983
25021
|
}
|
|
24984
25022
|
const matchingFilePaths = filter(this.context.keys(), (filePath) => {
|
|
24985
25023
|
const prefixIndex = filePath.indexOf(prefix);
|
|
@@ -25012,19 +25050,20 @@ class SourcesService {
|
|
|
25012
25050
|
`;
|
|
25013
25051
|
}
|
|
25014
25052
|
getFileData(fileName) {
|
|
25015
|
-
|
|
25053
|
+
var _a, _b;
|
|
25016
25054
|
const regExResultArray = this.fileExtensionsRegex.exec(fileName);
|
|
25017
|
-
if (regExResultArray) {
|
|
25018
|
-
|
|
25019
|
-
|
|
25020
|
-
|
|
25021
|
-
|
|
25022
|
-
|
|
25023
|
-
|
|
25024
|
-
|
|
25055
|
+
if (!regExResultArray) {
|
|
25056
|
+
return {};
|
|
25057
|
+
}
|
|
25058
|
+
const content = this.context(fileName);
|
|
25059
|
+
const fileContent = (_b = (_a = content === null || content === void 0 ? void 0 : content.default) !== null && _a !== void 0 ? _a : content) !== null && _b !== void 0 ? _b : "";
|
|
25060
|
+
const extension = fileName.split(".").pop();
|
|
25061
|
+
if (extension === "less") {
|
|
25062
|
+
return {
|
|
25063
|
+
[extension]: fileContent.replace(/@import \(reference\) "([\w-]+\/){0,}([\w-]+)(\.less)?"/g, `@import (reference) "@nova-ui/bits/sdk/less/$1$2"`),
|
|
25025
25064
|
};
|
|
25026
25065
|
}
|
|
25027
|
-
return
|
|
25066
|
+
return { [extension]: fileContent };
|
|
25028
25067
|
}
|
|
25029
25068
|
}
|
|
25030
25069
|
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 });
|
|
@@ -25536,6 +25575,10 @@ class ExampleWrapperComponent {
|
|
|
25536
25575
|
this.sourcesService = sourcesService;
|
|
25537
25576
|
this.document = document;
|
|
25538
25577
|
this.plunkerProjectService = plunkerProjectService;
|
|
25578
|
+
// Prefix of the example component's filenames
|
|
25579
|
+
this.filenamePrefix = "";
|
|
25580
|
+
// Title to be displayed at the top of the example
|
|
25581
|
+
this.exampleTitle = "";
|
|
25539
25582
|
// Indicates whether the source code is being displayed
|
|
25540
25583
|
this.showSource = false;
|
|
25541
25584
|
this.availableThemes = ["light theme", "dark theme"];
|
|
@@ -25553,14 +25596,16 @@ class ExampleWrapperComponent {
|
|
|
25553
25596
|
this.plunkerProjectService.open(this.filenamePrefix, this.componentSources, this.sourcesService.getTranslations());
|
|
25554
25597
|
}
|
|
25555
25598
|
ngOnInit() {
|
|
25556
|
-
|
|
25599
|
+
var _a;
|
|
25600
|
+
this.componentSources =
|
|
25601
|
+
(_a = this.sourcesService.getSourcesByFilenamePrefix(this.filenamePrefix)) !== null && _a !== void 0 ? _a : {};
|
|
25557
25602
|
}
|
|
25558
25603
|
}
|
|
25559
25604
|
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 });
|
|
25560
|
-
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"] }] });
|
|
25605
|
+
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"] }] });
|
|
25561
25606
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ExampleWrapperComponent, decorators: [{
|
|
25562
25607
|
type: Component,
|
|
25563
|
-
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"] }]
|
|
25608
|
+
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"] }]
|
|
25564
25609
|
}], ctorParameters: function () {
|
|
25565
25610
|
return [{ type: SourcesService }, { type: Document, decorators: [{
|
|
25566
25611
|
type: Inject,
|
|
@@ -25643,12 +25688,12 @@ class SrlcIndicatorComponent {
|
|
|
25643
25688
|
});
|
|
25644
25689
|
}
|
|
25645
25690
|
}
|
|
25646
|
-
SrlcIndicatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SrlcIndicatorComponent, deps: [{ token: i1$
|
|
25691
|
+
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 });
|
|
25647
25692
|
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"] }] });
|
|
25648
25693
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SrlcIndicatorComponent, decorators: [{
|
|
25649
25694
|
type: Component,
|
|
25650
25695
|
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" }]
|
|
25651
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
25696
|
+
}], ctorParameters: function () { return [{ type: i1$6.Router }]; } });
|
|
25652
25697
|
|
|
25653
25698
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
25654
25699
|
/** @dynamic */
|
|
@@ -25759,7 +25804,7 @@ class ThemeSwitchService {
|
|
|
25759
25804
|
});
|
|
25760
25805
|
}
|
|
25761
25806
|
}
|
|
25762
|
-
ThemeSwitchService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ThemeSwitchService, deps: [{ token: i0.RendererFactory2 }, { token: i1$
|
|
25807
|
+
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 });
|
|
25763
25808
|
ThemeSwitchService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ThemeSwitchService, providedIn: "root" });
|
|
25764
25809
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ThemeSwitchService, decorators: [{
|
|
25765
25810
|
type: Injectable,
|
|
@@ -25767,7 +25812,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
25767
25812
|
providedIn: "root",
|
|
25768
25813
|
}]
|
|
25769
25814
|
}], ctorParameters: function () {
|
|
25770
|
-
return [{ type: i0.RendererFactory2 }, { type: i1$
|
|
25815
|
+
return [{ type: i0.RendererFactory2 }, { type: i1$6.Router }, { type: i1$6.ActivatedRoute }, { type: Document, decorators: [{
|
|
25771
25816
|
type: Inject,
|
|
25772
25817
|
args: [DOCUMENT]
|
|
25773
25818
|
}] }];
|
|
@@ -25872,6 +25917,36 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
25872
25917
|
}]
|
|
25873
25918
|
}] });
|
|
25874
25919
|
|
|
25920
|
+
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
25921
|
+
//
|
|
25922
|
+
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
25923
|
+
// of this software and associated documentation files (the "Software"), to
|
|
25924
|
+
// deal in the Software without restriction, including without limitation the
|
|
25925
|
+
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
25926
|
+
// sell copies of the Software, and to permit persons to whom the Software is
|
|
25927
|
+
// furnished to do so, subject to the following conditions:
|
|
25928
|
+
//
|
|
25929
|
+
// The above copyright notice and this permission notice shall be included in
|
|
25930
|
+
// all copies or substantial portions of the Software.
|
|
25931
|
+
//
|
|
25932
|
+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
25933
|
+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
25934
|
+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
25935
|
+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
25936
|
+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
25937
|
+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
25938
|
+
// THE SOFTWARE.
|
|
25939
|
+
const scrollConstants = {
|
|
25940
|
+
verticalScrollPercentage: 30,
|
|
25941
|
+
horizontalScrollPercentage: 30,
|
|
25942
|
+
checkIntervalInMs: 30,
|
|
25943
|
+
accelerationFactor: 0.5,
|
|
25944
|
+
dragOverThrottleInMs: 100,
|
|
25945
|
+
adornerUpdateThrottleInMs: 16,
|
|
25946
|
+
};
|
|
25947
|
+
|
|
25948
|
+
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
25949
|
+
|
|
25875
25950
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
25876
25951
|
|
|
25877
25952
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
@@ -25963,6 +26038,7 @@ function traverse(obj, fn, path = []) {
|
|
|
25963
26038
|
|
|
25964
26039
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
25965
26040
|
|
|
26041
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
25966
26042
|
class DataSourceService extends DataSource {
|
|
25967
26043
|
constructor() {
|
|
25968
26044
|
super(); // in future dataSource in cdk may have some constructor.
|
|
@@ -26739,5 +26815,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
26739
26815
|
* Generated bundle index. Do not edit.
|
|
26740
26816
|
*/
|
|
26741
26817
|
|
|
26742
|
-
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
|
|
26818
|
+
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 };
|
|
26743
26819
|
//# sourceMappingURL=nova-ui-bits.mjs.map
|