@nova-ui/bits 13.0.1 → 13.0.2-3955
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 +11 -11
- 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 +4 -4
- 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 +10 -5
- 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/select-v2/selected-items-key-control.service.mjs +5 -5
- 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 +4 -3
- 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 +468 -386
- package/fesm2015/nova-ui-bits.mjs.map +1 -1
- package/fesm2020/nova-ui-bits.mjs +464 -387
- 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 +2 -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/expander/expander.component.d.ts +1 -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/base-select-v2.d.ts +1 -0
- 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 +64 -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';
|
|
@@ -42,29 +42,29 @@ import _isInteger from 'lodash/isInteger';
|
|
|
42
42
|
import * as i3$2 from '@angular/forms';
|
|
43
43
|
import { NG_VALUE_ACCESSOR, FormsModule, NG_VALIDATORS, ReactiveFormsModule } from '@angular/forms';
|
|
44
44
|
import _remove from 'lodash/remove';
|
|
45
|
-
import
|
|
46
|
-
import
|
|
45
|
+
import * as i1 from '@angular/cdk/drag-drop';
|
|
46
|
+
import { CdkDropList, CdkDrag, DragDropModule, moveItemInArray, transferArrayItem } from '@angular/cdk/drag-drop';
|
|
47
|
+
import * as i1$7 from '@angular/animations';
|
|
47
48
|
import { trigger, state, style, transition, animate, group, query, stagger } from '@angular/animations';
|
|
48
49
|
import _find from 'lodash/find';
|
|
49
|
-
import * as i1$
|
|
50
|
+
import * as i1$2 from '@angular/cdk/overlay';
|
|
50
51
|
import { OverlayContainer, OverlayConfig, Overlay, OverlayModule } from '@angular/cdk/overlay';
|
|
51
52
|
import * as i5 from '@angular/cdk/portal';
|
|
52
53
|
import { CdkPortal, PortalModule } from '@angular/cdk/portal';
|
|
53
54
|
import set from 'lodash/set';
|
|
54
55
|
import _some from 'lodash/some';
|
|
55
|
-
import * as i1 from '@angular/cdk/platform';
|
|
56
|
+
import * as i1$1 from '@angular/cdk/platform';
|
|
56
57
|
import isNull from 'lodash/isNull';
|
|
57
|
-
import * as i1$
|
|
58
|
+
import * as i1$3 from '@angular/cdk/a11y';
|
|
58
59
|
import { A11yModule, ActiveDescendantKeyManager, ListKeyManager } from '@angular/cdk/a11y';
|
|
59
60
|
import { coerceBooleanProperty } from '@angular/cdk/coercion';
|
|
60
|
-
import
|
|
61
|
+
import { hasModifierKey } from '@angular/cdk/keycodes';
|
|
62
|
+
import * as i1$5 from '@angular/cdk/scrolling';
|
|
61
63
|
import { CdkVirtualScrollViewport, VIRTUAL_SCROLL_STRATEGY, CdkVirtualForOf, ScrollingModule, CdkScrollable } from '@angular/cdk/scrolling';
|
|
62
64
|
import last from 'lodash/last';
|
|
63
65
|
import pull from 'lodash/pull';
|
|
64
66
|
import every from 'lodash/every';
|
|
65
|
-
import * as
|
|
66
|
-
import { CdkDrag, moveItemInArray, transferArrayItem, DragDropModule } from '@angular/cdk/drag-drop';
|
|
67
|
-
import * as i1$3 from '@angular/cdk/bidi';
|
|
67
|
+
import * as i1$4 from '@angular/cdk/bidi';
|
|
68
68
|
import { _VIEW_REPEATER_STRATEGY, _DisposeViewRepeaterStrategy, DataSource } from '@angular/cdk/collections';
|
|
69
69
|
import * as i5$1 from '@angular/cdk/table';
|
|
70
70
|
import { CdkTable, _COALESCED_STYLE_SCHEDULER, STICKY_POSITIONING_LISTENER, _CoalescedStyleScheduler, CDK_TABLE_TEMPLATE, CdkCellDef, CdkColumnDef, CdkCell, CdkFooterCellDef, CdkFooterCell, CdkHeaderCellDef, CdkHeaderCell, CdkHeaderRowDef, CdkRowDef, CdkFooterRowDef, CdkHeaderRow, CdkRow, CdkFooterRow, CdkTableModule } from '@angular/cdk/table';
|
|
@@ -76,7 +76,7 @@ import round from 'lodash/round';
|
|
|
76
76
|
import _flatMap from 'lodash/flatMap';
|
|
77
77
|
import _unescape from 'lodash/unescape';
|
|
78
78
|
import _toString from 'lodash/toString';
|
|
79
|
-
import * as i1$
|
|
79
|
+
import * as i1$6 from '@angular/router';
|
|
80
80
|
import { NavigationEnd, RoutesRecognized, RouterModule } from '@angular/router';
|
|
81
81
|
import _size from 'lodash/size';
|
|
82
82
|
import _uniqueId from 'lodash/uniqueId';
|
|
@@ -91,7 +91,7 @@ import extend from 'lodash/extend';
|
|
|
91
91
|
import _cloneDeep from 'lodash/cloneDeep';
|
|
92
92
|
import _toInteger from 'lodash/toInteger';
|
|
93
93
|
import _findIndex from 'lodash/findIndex';
|
|
94
|
-
import hljs from 'highlight.js
|
|
94
|
+
import hljs from 'highlight.js';
|
|
95
95
|
import javascript from 'highlight.js/lib/languages/javascript';
|
|
96
96
|
import json from 'highlight.js/lib/languages/json';
|
|
97
97
|
import less from 'highlight.js/lib/languages/less';
|
|
@@ -881,176 +881,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
881
881
|
}]
|
|
882
882
|
}] });
|
|
883
883
|
|
|
884
|
-
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
885
|
-
//
|
|
886
|
-
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
887
|
-
// of this software and associated documentation files (the "Software"), to
|
|
888
|
-
// deal in the Software without restriction, including without limitation the
|
|
889
|
-
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
890
|
-
// sell copies of the Software, and to permit persons to whom the Software is
|
|
891
|
-
// furnished to do so, subject to the following conditions:
|
|
892
|
-
//
|
|
893
|
-
// The above copyright notice and this permission notice shall be included in
|
|
894
|
-
// all copies or substantial portions of the Software.
|
|
895
|
-
//
|
|
896
|
-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
897
|
-
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
898
|
-
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
899
|
-
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
900
|
-
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
901
|
-
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
902
|
-
// THE SOFTWARE.
|
|
903
|
-
const scrollConstants$1 = {
|
|
904
|
-
verticalScrollPercentage: 30,
|
|
905
|
-
horizontalScrollPercentage: 30,
|
|
906
|
-
checkIntervalInMs: 30,
|
|
907
|
-
accelerationFactor: 0.5,
|
|
908
|
-
dragOverThrottleInMs: 100,
|
|
909
|
-
adornerUpdateThrottleInMs: 16,
|
|
910
|
-
};
|
|
911
|
-
|
|
912
|
-
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
913
|
-
//
|
|
914
|
-
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
915
|
-
// of this software and associated documentation files (the "Software"), to
|
|
916
|
-
// deal in the Software without restriction, including without limitation the
|
|
917
|
-
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
918
|
-
// sell copies of the Software, and to permit persons to whom the Software is
|
|
919
|
-
// furnished to do so, subject to the following conditions:
|
|
920
|
-
//
|
|
921
|
-
// The above copyright notice and this permission notice shall be included in
|
|
922
|
-
// all copies or substantial portions of the Software.
|
|
923
|
-
//
|
|
924
|
-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
925
|
-
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
926
|
-
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
927
|
-
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
928
|
-
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
929
|
-
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
930
|
-
// THE SOFTWARE.
|
|
931
|
-
/**
|
|
932
|
-
* These selectors are useful when we capture e.g. a click event on a higher level and want to prevent an action in case the event target was one of these.
|
|
933
|
-
*/
|
|
934
|
-
const DEFAULT_INTERACTIVE_ELEMENTS = [
|
|
935
|
-
"button",
|
|
936
|
-
"input[type='button']",
|
|
937
|
-
"a[href]",
|
|
938
|
-
];
|
|
939
|
-
|
|
940
|
-
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
941
|
-
//
|
|
942
|
-
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
943
|
-
// of this software and associated documentation files (the "Software"), to
|
|
944
|
-
// deal in the Software without restriction, including without limitation the
|
|
945
|
-
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
946
|
-
// sell copies of the Software, and to permit persons to whom the Software is
|
|
947
|
-
// furnished to do so, subject to the following conditions:
|
|
948
|
-
//
|
|
949
|
-
// The above copyright notice and this permission notice shall be included in
|
|
950
|
-
// all copies or substantial portions of the Software.
|
|
951
|
-
//
|
|
952
|
-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
953
|
-
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
954
|
-
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
955
|
-
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
956
|
-
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
957
|
-
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
958
|
-
// THE SOFTWARE.
|
|
959
|
-
/** @deprecated */
|
|
960
|
-
var KEY_CODE;
|
|
961
|
-
(function (KEY_CODE) {
|
|
962
|
-
KEY_CODE[KEY_CODE["BACKSPACE"] = 8] = "BACKSPACE";
|
|
963
|
-
KEY_CODE[KEY_CODE["TAB"] = 9] = "TAB";
|
|
964
|
-
KEY_CODE[KEY_CODE["ENTER"] = 13] = "ENTER";
|
|
965
|
-
KEY_CODE[KEY_CODE["ESCAPE"] = 27] = "ESCAPE";
|
|
966
|
-
KEY_CODE[KEY_CODE["SPACE"] = 32] = "SPACE";
|
|
967
|
-
KEY_CODE[KEY_CODE["PAGE_UP"] = 33] = "PAGE_UP";
|
|
968
|
-
KEY_CODE[KEY_CODE["PAGE_DOWN"] = 34] = "PAGE_DOWN";
|
|
969
|
-
KEY_CODE[KEY_CODE["END"] = 35] = "END";
|
|
970
|
-
KEY_CODE[KEY_CODE["HOME"] = 36] = "HOME";
|
|
971
|
-
KEY_CODE[KEY_CODE["LEFT_ARROW"] = 37] = "LEFT_ARROW";
|
|
972
|
-
KEY_CODE[KEY_CODE["UP_ARROW"] = 38] = "UP_ARROW";
|
|
973
|
-
KEY_CODE[KEY_CODE["RIGHT_ARROW"] = 39] = "RIGHT_ARROW";
|
|
974
|
-
KEY_CODE[KEY_CODE["DOWN_ARROW"] = 40] = "DOWN_ARROW";
|
|
975
|
-
KEY_CODE[KEY_CODE["DELETE"] = 46] = "DELETE";
|
|
976
|
-
KEY_CODE[KEY_CODE["X"] = 88] = "X";
|
|
977
|
-
KEY_CODE[KEY_CODE["ASTERISK"] = 106] = "ASTERISK";
|
|
978
|
-
KEY_CODE[KEY_CODE["PLUS"] = 107] = "PLUS";
|
|
979
|
-
KEY_CODE[KEY_CODE["MINUS"] = 109] = "MINUS";
|
|
980
|
-
KEY_CODE[KEY_CODE["TILDE"] = 192] = "TILDE";
|
|
981
|
-
})(KEY_CODE || (KEY_CODE = {}));
|
|
982
|
-
var KEYBOARD_CODE;
|
|
983
|
-
(function (KEYBOARD_CODE) {
|
|
984
|
-
KEYBOARD_CODE["ARROW_DOWN"] = "ArrowDown";
|
|
985
|
-
KEYBOARD_CODE["ARROW_LEFT"] = "ArrowLeft";
|
|
986
|
-
KEYBOARD_CODE["ARROW_RIGHT"] = "ArrowRight";
|
|
987
|
-
KEYBOARD_CODE["ARROW_UP"] = "ArrowUp";
|
|
988
|
-
KEYBOARD_CODE["BACKSPACE"] = "Backspace";
|
|
989
|
-
KEYBOARD_CODE["ENTER"] = "Enter";
|
|
990
|
-
KEYBOARD_CODE["END"] = "End";
|
|
991
|
-
KEYBOARD_CODE["ESCAPE"] = "Escape";
|
|
992
|
-
KEYBOARD_CODE["HOME"] = "Home";
|
|
993
|
-
KEYBOARD_CODE["PAGE_DOWN"] = "PageDown";
|
|
994
|
-
KEYBOARD_CODE["PAGE_UP"] = "PageUp";
|
|
995
|
-
KEYBOARD_CODE["SHIFT_LEFT"] = "ShiftLeft";
|
|
996
|
-
KEYBOARD_CODE["SHIFT_RIGHT"] = "ShiftRight";
|
|
997
|
-
KEYBOARD_CODE["SPACE"] = "Space";
|
|
998
|
-
KEYBOARD_CODE["TAB"] = "Tab";
|
|
999
|
-
KEYBOARD_CODE["DELETE"] = "Delete";
|
|
1000
|
-
})(KEYBOARD_CODE || (KEYBOARD_CODE = {}));
|
|
1001
|
-
|
|
1002
|
-
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
1003
|
-
// This should not be here, but Angular DI is not recognizing this token when it in scope of docsModule
|
|
1004
|
-
// In any case doc helpers will be moved in separate preject and this will not be here
|
|
1005
|
-
const DEMO_PATH_TOKEN = new InjectionToken("DemoPathToken");
|
|
1006
|
-
|
|
1007
|
-
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
1008
|
-
//
|
|
1009
|
-
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
1010
|
-
// of this software and associated documentation files (the "Software"), to
|
|
1011
|
-
// deal in the Software without restriction, including without limitation the
|
|
1012
|
-
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
1013
|
-
// sell copies of the Software, and to permit persons to whom the Software is
|
|
1014
|
-
// furnished to do so, subject to the following conditions:
|
|
1015
|
-
//
|
|
1016
|
-
// The above copyright notice and this permission notice shall be included in
|
|
1017
|
-
// all copies or substantial portions of the Software.
|
|
1018
|
-
//
|
|
1019
|
-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
1020
|
-
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
1021
|
-
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
1022
|
-
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
1023
|
-
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
1024
|
-
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
1025
|
-
// THE SOFTWARE.
|
|
1026
|
-
const RESIZE_DEBOUNCE_TIME = 300;
|
|
1027
|
-
|
|
1028
|
-
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
1029
|
-
const WIZARD_CONFIG = new InjectionToken("wizard.conf");
|
|
1030
|
-
const WIZARD_STEP_STATE_DEFAULT_CONFIG = {
|
|
1031
|
-
initial: {
|
|
1032
|
-
icon: "step",
|
|
1033
|
-
iconColor: "gray",
|
|
1034
|
-
},
|
|
1035
|
-
visited: {
|
|
1036
|
-
icon: "step-complete",
|
|
1037
|
-
iconColor: "primary-blue",
|
|
1038
|
-
},
|
|
1039
|
-
active: {
|
|
1040
|
-
icon: "step-active",
|
|
1041
|
-
iconColor: "black",
|
|
1042
|
-
},
|
|
1043
|
-
error: {
|
|
1044
|
-
icon: "step-active",
|
|
1045
|
-
iconColor: "black",
|
|
1046
|
-
},
|
|
1047
|
-
};
|
|
1048
|
-
const WIZARD_CONFIG_DEFAULT = {
|
|
1049
|
-
stepState: { ...WIZARD_STEP_STATE_DEFAULT_CONFIG },
|
|
1050
|
-
};
|
|
1051
|
-
|
|
1052
|
-
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
1053
|
-
|
|
1054
884
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
1055
885
|
/**
|
|
1056
886
|
* <example-url>./../examples/index.html#/common/unit-conversion-service</example-url>
|
|
@@ -1468,7 +1298,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
1468
1298
|
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
1469
1299
|
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
1470
1300
|
// THE SOFTWARE.
|
|
1471
|
-
const DOCUMENT_CLICK_EVENT =
|
|
1301
|
+
const DOCUMENT_CLICK_EVENT = {
|
|
1302
|
+
id: "document-click",
|
|
1303
|
+
};
|
|
1304
|
+
const COMPLETE_RESIZE_EVENT = {
|
|
1305
|
+
id: "complete-resize",
|
|
1306
|
+
};
|
|
1307
|
+
const CHECKBOX_KEYDOWN_EVENT = {
|
|
1308
|
+
id: "checkbox-keydown",
|
|
1309
|
+
};
|
|
1310
|
+
const CLOSE_POPOVER_EVENT = {
|
|
1311
|
+
id: "close-popover",
|
|
1312
|
+
};
|
|
1313
|
+
const POPOVER_CLOSED_EVENT = {
|
|
1314
|
+
id: "popover-closed",
|
|
1315
|
+
};
|
|
1472
1316
|
|
|
1473
1317
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
1474
1318
|
/**
|
|
@@ -1532,7 +1376,7 @@ class EventBusService extends EventBus {
|
|
|
1532
1376
|
// but we should register listener only once
|
|
1533
1377
|
this.renderer.listen("document", "click", (event) => {
|
|
1534
1378
|
// separate stream to detect document-body clicks in case of popup in popover
|
|
1535
|
-
this.getStream(
|
|
1379
|
+
this.getStream(DOCUMENT_CLICK_EVENT).next(event);
|
|
1536
1380
|
});
|
|
1537
1381
|
}
|
|
1538
1382
|
}
|
|
@@ -1735,10 +1579,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
1735
1579
|
}] });
|
|
1736
1580
|
|
|
1737
1581
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
1738
|
-
/**
|
|
1739
|
-
* Service for calculating element's position (e.g. tooltip, popover).
|
|
1740
|
-
* For now has one public method 'getCoordinates' (see method description).
|
|
1741
|
-
*/
|
|
1742
1582
|
/**
|
|
1743
1583
|
* @dynamic
|
|
1744
1584
|
* @ignore
|
|
@@ -2089,11 +1929,11 @@ class UtilService {
|
|
|
2089
1929
|
return event.composedPath();
|
|
2090
1930
|
}
|
|
2091
1931
|
let element = event.target;
|
|
2092
|
-
const path = [];
|
|
2093
1932
|
// Hack for EDGE
|
|
2094
1933
|
if (!element.path) {
|
|
2095
1934
|
element = event.currentTarget;
|
|
2096
1935
|
}
|
|
1936
|
+
const path = [];
|
|
2097
1937
|
while (element) {
|
|
2098
1938
|
path.push(element);
|
|
2099
1939
|
if (element.tagName === "HTML") {
|
|
@@ -2103,6 +1943,7 @@ class UtilService {
|
|
|
2103
1943
|
}
|
|
2104
1944
|
element = element.parentElement;
|
|
2105
1945
|
}
|
|
1946
|
+
return [];
|
|
2106
1947
|
}
|
|
2107
1948
|
isBrowser() {
|
|
2108
1949
|
return isPlatformBrowser(this.platformId);
|
|
@@ -2125,10 +1966,10 @@ class UtilService {
|
|
|
2125
1966
|
isBlackberry: () => this.document.defaultView?.navigator.userAgent.match(/BlackBerry|BB10/i) !== null,
|
|
2126
1967
|
isIOS: () => this.document.defaultView?.navigator.userAgent.match(/iPhone|iPad|iPod/i) !== null,
|
|
2127
1968
|
isOpera: () => this.document.defaultView?.navigator.userAgent.match(/Opera Mini/i) !== null,
|
|
2128
|
-
isAny: () => this.browser?.mobileDevice.isIOS() ||
|
|
1969
|
+
isAny: () => !!(this.browser?.mobileDevice.isIOS() ||
|
|
2129
1970
|
this.browser?.mobileDevice.isAndroid() ||
|
|
2130
1971
|
this.browser?.mobileDevice.isBlackberry() ||
|
|
2131
|
-
this.browser?.mobileDevice.isOpera(),
|
|
1972
|
+
this.browser?.mobileDevice.isOpera()),
|
|
2132
1973
|
},
|
|
2133
1974
|
};
|
|
2134
1975
|
}
|
|
@@ -2381,9 +2222,7 @@ class ClickInterceptorDirective {
|
|
|
2381
2222
|
}
|
|
2382
2223
|
catchClick(event) {
|
|
2383
2224
|
event.stopPropagation();
|
|
2384
|
-
this.eventBusService
|
|
2385
|
-
.getStream({ id: DOCUMENT_CLICK_EVENT })
|
|
2386
|
-
.next(event);
|
|
2225
|
+
this.eventBusService.getStream(DOCUMENT_CLICK_EVENT).next(event);
|
|
2387
2226
|
}
|
|
2388
2227
|
}
|
|
2389
2228
|
ClickInterceptorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ClickInterceptorDirective, deps: [{ token: EventBusService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
@@ -2567,7 +2406,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
2567
2406
|
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
2568
2407
|
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
2569
2408
|
// THE SOFTWARE.
|
|
2570
|
-
const scrollConstants = {
|
|
2409
|
+
const scrollConstants$1 = {
|
|
2571
2410
|
verticalScrollPercentage: 30,
|
|
2572
2411
|
horizontalScrollPercentage: 30,
|
|
2573
2412
|
checkIntervalInMs: 30,
|
|
@@ -2628,7 +2467,7 @@ class DraggableDirective {
|
|
|
2628
2467
|
}
|
|
2629
2468
|
this.autoScroll(coordinates.x, coordinates.y);
|
|
2630
2469
|
});
|
|
2631
|
-
}, scrollConstants.adornerUpdateThrottleInMs);
|
|
2470
|
+
}, scrollConstants$1.adornerUpdateThrottleInMs);
|
|
2632
2471
|
this.mouseHook = (event) => {
|
|
2633
2472
|
const clientX = event.clientX;
|
|
2634
2473
|
const clientY = event.clientY;
|
|
@@ -2735,34 +2574,34 @@ class DraggableDirective {
|
|
|
2735
2574
|
}
|
|
2736
2575
|
const verticalDistPercentage = (clientY / this.document.defaultView.innerHeight) * 100;
|
|
2737
2576
|
const horizontalDistPercentage = (clientX / this.document.defaultView.innerWidth) * 100;
|
|
2738
|
-
const topScrollBoundary = scrollConstants.verticalScrollPercentage;
|
|
2739
|
-
const bottomScrollBoundary = 100 - scrollConstants.verticalScrollPercentage;
|
|
2740
|
-
const leftScrollBoundary = scrollConstants.horizontalScrollPercentage;
|
|
2741
|
-
const rightScrollBoundary = 100 - scrollConstants.horizontalScrollPercentage;
|
|
2577
|
+
const topScrollBoundary = scrollConstants$1.verticalScrollPercentage;
|
|
2578
|
+
const bottomScrollBoundary = 100 - scrollConstants$1.verticalScrollPercentage;
|
|
2579
|
+
const leftScrollBoundary = scrollConstants$1.horizontalScrollPercentage;
|
|
2580
|
+
const rightScrollBoundary = 100 - scrollConstants$1.horizontalScrollPercentage;
|
|
2742
2581
|
let newX = this.document.defaultView.pageXOffset;
|
|
2743
2582
|
let newY = this.document.defaultView.pageYOffset;
|
|
2744
2583
|
let scrollNeeded = false;
|
|
2745
2584
|
if (verticalDistPercentage < topScrollBoundary) {
|
|
2746
2585
|
const throttleDistance = (topScrollBoundary - verticalDistPercentage) *
|
|
2747
|
-
scrollConstants.accelerationFactor;
|
|
2586
|
+
scrollConstants$1.accelerationFactor;
|
|
2748
2587
|
newY = newY - throttleDistance;
|
|
2749
2588
|
scrollNeeded = true;
|
|
2750
2589
|
}
|
|
2751
2590
|
if (verticalDistPercentage > bottomScrollBoundary) {
|
|
2752
2591
|
const throttleDistance = (verticalDistPercentage - bottomScrollBoundary) *
|
|
2753
|
-
scrollConstants.accelerationFactor;
|
|
2592
|
+
scrollConstants$1.accelerationFactor;
|
|
2754
2593
|
newY = newY + throttleDistance;
|
|
2755
2594
|
scrollNeeded = true;
|
|
2756
2595
|
}
|
|
2757
2596
|
if (horizontalDistPercentage < leftScrollBoundary) {
|
|
2758
2597
|
const throttleDistance = (leftScrollBoundary - horizontalDistPercentage) *
|
|
2759
|
-
scrollConstants.accelerationFactor;
|
|
2598
|
+
scrollConstants$1.accelerationFactor;
|
|
2760
2599
|
newX = newX - throttleDistance;
|
|
2761
2600
|
scrollNeeded = true;
|
|
2762
2601
|
}
|
|
2763
2602
|
if (horizontalDistPercentage > rightScrollBoundary) {
|
|
2764
2603
|
const throttleDistance = (horizontalDistPercentage - rightScrollBoundary) *
|
|
2765
|
-
scrollConstants.accelerationFactor;
|
|
2604
|
+
scrollConstants$1.accelerationFactor;
|
|
2766
2605
|
newX = newX + throttleDistance;
|
|
2767
2606
|
scrollNeeded = true;
|
|
2768
2607
|
}
|
|
@@ -2873,7 +2712,7 @@ class DroppableDirective {
|
|
|
2873
2712
|
this.dragElements = [];
|
|
2874
2713
|
this.dragThrottle = throttle((dragEvent) => {
|
|
2875
2714
|
this.dragOver.emit(dragEvent);
|
|
2876
|
-
}, scrollConstants.checkIntervalInMs, { trailing: false });
|
|
2715
|
+
}, scrollConstants$1.checkIntervalInMs, { trailing: false });
|
|
2877
2716
|
}
|
|
2878
2717
|
onDragEnter(event) {
|
|
2879
2718
|
const payload = this.dragAndDropService.getDragPayload(event);
|
|
@@ -2997,6 +2836,27 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
2997
2836
|
args: ["drop", ["$event"]]
|
|
2998
2837
|
}] } });
|
|
2999
2838
|
|
|
2839
|
+
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
2840
|
+
//
|
|
2841
|
+
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
2842
|
+
// of this software and associated documentation files (the "Software"), to
|
|
2843
|
+
// deal in the Software without restriction, including without limitation the
|
|
2844
|
+
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
2845
|
+
// sell copies of the Software, and to permit persons to whom the Software is
|
|
2846
|
+
// furnished to do so, subject to the following conditions:
|
|
2847
|
+
//
|
|
2848
|
+
// The above copyright notice and this permission notice shall be included in
|
|
2849
|
+
// all copies or substantial portions of the Software.
|
|
2850
|
+
//
|
|
2851
|
+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
2852
|
+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
2853
|
+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
2854
|
+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
2855
|
+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
2856
|
+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
2857
|
+
// THE SOFTWARE.
|
|
2858
|
+
const RESIZE_DEBOUNCE_TIME = 300;
|
|
2859
|
+
|
|
3000
2860
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
3001
2861
|
/**
|
|
3002
2862
|
* @ignore
|
|
@@ -3394,7 +3254,7 @@ class ResizerDirective {
|
|
|
3394
3254
|
}
|
|
3395
3255
|
addSubscription() {
|
|
3396
3256
|
this.resizeSubscription = this.eventBusService
|
|
3397
|
-
.getStream(
|
|
3257
|
+
.getStream(COMPLETE_RESIZE_EVENT)
|
|
3398
3258
|
.subscribe((resize) => this.refreshStyle());
|
|
3399
3259
|
}
|
|
3400
3260
|
onSizeChanged(newSize) {
|
|
@@ -3492,15 +3352,13 @@ class ResizerDirective {
|
|
|
3492
3352
|
? event.clientX
|
|
3493
3353
|
: event.clientY;
|
|
3494
3354
|
this.mouseUpUnlisten = this.renderer.listen(document, "mouseup", ($event) => this.onMouseUp($event));
|
|
3495
|
-
event.preventDefault(); // This disables accidental text selection while
|
|
3355
|
+
event.preventDefault(); // This disables accidental text selection while resizingw
|
|
3496
3356
|
}
|
|
3497
3357
|
onMouseUp(event) {
|
|
3498
3358
|
this.renderer.removeStyle(document.documentElement, "cursor");
|
|
3499
3359
|
this.renderer.removeClass(this.resizeGutter, `${this.resizeClass}--active`);
|
|
3500
3360
|
this._isDragging = false;
|
|
3501
|
-
this.eventBusService
|
|
3502
|
-
.getStream({ id: "complete-resize" })
|
|
3503
|
-
.next(undefined);
|
|
3361
|
+
this.eventBusService.getStream(COMPLETE_RESIZE_EVENT).next(event);
|
|
3504
3362
|
}
|
|
3505
3363
|
calculatePosition() {
|
|
3506
3364
|
if (this.resizerDisabled) {
|
|
@@ -5003,7 +4861,7 @@ class IconComponent {
|
|
|
5003
4861
|
}
|
|
5004
4862
|
getIconByStatus(status) {
|
|
5005
4863
|
if (!status) {
|
|
5006
|
-
return;
|
|
4864
|
+
return "";
|
|
5007
4865
|
}
|
|
5008
4866
|
return this.iconService.getStatusIcon(status);
|
|
5009
4867
|
}
|
|
@@ -5183,8 +5041,6 @@ var ButtonSizeType;
|
|
|
5183
5041
|
|
|
5184
5042
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
5185
5043
|
// <example-url>./../examples/index.html#/button</example-url>
|
|
5186
|
-
/* eslint-disable @angular-eslint/component-selector */
|
|
5187
|
-
/* eslint-enable @angular-eslint/component-selector */
|
|
5188
5044
|
class ButtonComponent {
|
|
5189
5045
|
constructor(type, el, logger) {
|
|
5190
5046
|
this.type = type;
|
|
@@ -5238,12 +5094,7 @@ should be set explicitly: `, el.nativeElement);
|
|
|
5238
5094
|
return this.isBusy;
|
|
5239
5095
|
}
|
|
5240
5096
|
get isEmptyClass() {
|
|
5241
|
-
|
|
5242
|
-
return this._isContentEmpty;
|
|
5243
|
-
}
|
|
5244
|
-
else {
|
|
5245
|
-
return this.isEmpty;
|
|
5246
|
-
}
|
|
5097
|
+
return this.isEmpty ?? this._isContentEmpty;
|
|
5247
5098
|
}
|
|
5248
5099
|
get dispStylePrimClass() {
|
|
5249
5100
|
return this.displayStyle === "primary";
|
|
@@ -5445,6 +5296,68 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
5445
5296
|
class NuiFormFieldControl {
|
|
5446
5297
|
}
|
|
5447
5298
|
|
|
5299
|
+
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
5300
|
+
//
|
|
5301
|
+
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
5302
|
+
// of this software and associated documentation files (the "Software"), to
|
|
5303
|
+
// deal in the Software without restriction, including without limitation the
|
|
5304
|
+
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
5305
|
+
// sell copies of the Software, and to permit persons to whom the Software is
|
|
5306
|
+
// furnished to do so, subject to the following conditions:
|
|
5307
|
+
//
|
|
5308
|
+
// The above copyright notice and this permission notice shall be included in
|
|
5309
|
+
// all copies or substantial portions of the Software.
|
|
5310
|
+
//
|
|
5311
|
+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
5312
|
+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
5313
|
+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
5314
|
+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
5315
|
+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
5316
|
+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
5317
|
+
// THE SOFTWARE.
|
|
5318
|
+
/** @deprecated */
|
|
5319
|
+
var KEY_CODE;
|
|
5320
|
+
(function (KEY_CODE) {
|
|
5321
|
+
KEY_CODE[KEY_CODE["BACKSPACE"] = 8] = "BACKSPACE";
|
|
5322
|
+
KEY_CODE[KEY_CODE["TAB"] = 9] = "TAB";
|
|
5323
|
+
KEY_CODE[KEY_CODE["ENTER"] = 13] = "ENTER";
|
|
5324
|
+
KEY_CODE[KEY_CODE["ESCAPE"] = 27] = "ESCAPE";
|
|
5325
|
+
KEY_CODE[KEY_CODE["SPACE"] = 32] = "SPACE";
|
|
5326
|
+
KEY_CODE[KEY_CODE["PAGE_UP"] = 33] = "PAGE_UP";
|
|
5327
|
+
KEY_CODE[KEY_CODE["PAGE_DOWN"] = 34] = "PAGE_DOWN";
|
|
5328
|
+
KEY_CODE[KEY_CODE["END"] = 35] = "END";
|
|
5329
|
+
KEY_CODE[KEY_CODE["HOME"] = 36] = "HOME";
|
|
5330
|
+
KEY_CODE[KEY_CODE["LEFT_ARROW"] = 37] = "LEFT_ARROW";
|
|
5331
|
+
KEY_CODE[KEY_CODE["UP_ARROW"] = 38] = "UP_ARROW";
|
|
5332
|
+
KEY_CODE[KEY_CODE["RIGHT_ARROW"] = 39] = "RIGHT_ARROW";
|
|
5333
|
+
KEY_CODE[KEY_CODE["DOWN_ARROW"] = 40] = "DOWN_ARROW";
|
|
5334
|
+
KEY_CODE[KEY_CODE["DELETE"] = 46] = "DELETE";
|
|
5335
|
+
KEY_CODE[KEY_CODE["X"] = 88] = "X";
|
|
5336
|
+
KEY_CODE[KEY_CODE["ASTERISK"] = 106] = "ASTERISK";
|
|
5337
|
+
KEY_CODE[KEY_CODE["PLUS"] = 107] = "PLUS";
|
|
5338
|
+
KEY_CODE[KEY_CODE["MINUS"] = 109] = "MINUS";
|
|
5339
|
+
KEY_CODE[KEY_CODE["TILDE"] = 192] = "TILDE";
|
|
5340
|
+
})(KEY_CODE || (KEY_CODE = {}));
|
|
5341
|
+
var KEYBOARD_CODE;
|
|
5342
|
+
(function (KEYBOARD_CODE) {
|
|
5343
|
+
KEYBOARD_CODE["ARROW_DOWN"] = "ArrowDown";
|
|
5344
|
+
KEYBOARD_CODE["ARROW_LEFT"] = "ArrowLeft";
|
|
5345
|
+
KEYBOARD_CODE["ARROW_RIGHT"] = "ArrowRight";
|
|
5346
|
+
KEYBOARD_CODE["ARROW_UP"] = "ArrowUp";
|
|
5347
|
+
KEYBOARD_CODE["BACKSPACE"] = "Backspace";
|
|
5348
|
+
KEYBOARD_CODE["ENTER"] = "Enter";
|
|
5349
|
+
KEYBOARD_CODE["END"] = "End";
|
|
5350
|
+
KEYBOARD_CODE["ESCAPE"] = "Escape";
|
|
5351
|
+
KEYBOARD_CODE["HOME"] = "Home";
|
|
5352
|
+
KEYBOARD_CODE["PAGE_DOWN"] = "PageDown";
|
|
5353
|
+
KEYBOARD_CODE["PAGE_UP"] = "PageUp";
|
|
5354
|
+
KEYBOARD_CODE["SHIFT_LEFT"] = "ShiftLeft";
|
|
5355
|
+
KEYBOARD_CODE["SHIFT_RIGHT"] = "ShiftRight";
|
|
5356
|
+
KEYBOARD_CODE["SPACE"] = "Space";
|
|
5357
|
+
KEYBOARD_CODE["TAB"] = "Tab";
|
|
5358
|
+
KEYBOARD_CODE["DELETE"] = "Delete";
|
|
5359
|
+
})(KEYBOARD_CODE || (KEYBOARD_CODE = {}));
|
|
5360
|
+
|
|
5448
5361
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
5449
5362
|
/**
|
|
5450
5363
|
* <nui-checkbox> provides the same functionality as a native
|
|
@@ -5467,6 +5380,7 @@ class CheckboxComponent {
|
|
|
5467
5380
|
*/
|
|
5468
5381
|
this.valueChange = new EventEmitter();
|
|
5469
5382
|
this._ariaLabel = "Checkbox";
|
|
5383
|
+
this.keysAction = [KEYBOARD_CODE.SPACE, KEYBOARD_CODE.ENTER].map(String);
|
|
5470
5384
|
}
|
|
5471
5385
|
/**
|
|
5472
5386
|
* Input to set aria label text
|
|
@@ -5509,14 +5423,14 @@ class CheckboxComponent {
|
|
|
5509
5423
|
ngAfterViewInit() {
|
|
5510
5424
|
this.rendererListener = this.renderer.listen(this.checkboxLabel.nativeElement, "keydown", (event) => {
|
|
5511
5425
|
this.eventBusService
|
|
5512
|
-
.getStream(
|
|
5426
|
+
.getStream(CHECKBOX_KEYDOWN_EVENT)
|
|
5513
5427
|
.next(event);
|
|
5514
5428
|
});
|
|
5515
5429
|
this.sub = this.eventBusService
|
|
5516
|
-
.getStream(
|
|
5430
|
+
.getStream(CHECKBOX_KEYDOWN_EVENT)
|
|
5517
5431
|
.subscribe((event) => {
|
|
5518
5432
|
if (event.target === this.checkboxLabel.nativeElement) {
|
|
5519
|
-
if (
|
|
5433
|
+
if (this.keysAction.includes(event.code)) {
|
|
5520
5434
|
event.stopPropagation();
|
|
5521
5435
|
event.preventDefault();
|
|
5522
5436
|
if (!this.disabled) {
|
|
@@ -5544,15 +5458,14 @@ class CheckboxComponent {
|
|
|
5544
5458
|
*/
|
|
5545
5459
|
changeHandler(event) {
|
|
5546
5460
|
this.valueChange.emit(event);
|
|
5547
|
-
|
|
5461
|
+
const checked = !!event.target?.checked;
|
|
5462
|
+
this.onChange(checked);
|
|
5548
5463
|
this.onTouched();
|
|
5549
|
-
this.writeValue(
|
|
5464
|
+
this.writeValue(checked);
|
|
5550
5465
|
}
|
|
5551
5466
|
onClick(event) {
|
|
5552
5467
|
event.stopPropagation();
|
|
5553
|
-
this.eventBusService
|
|
5554
|
-
.getStream({ id: DOCUMENT_CLICK_EVENT })
|
|
5555
|
-
.next(event);
|
|
5468
|
+
this.eventBusService.getStream(DOCUMENT_CLICK_EVENT).next(event);
|
|
5556
5469
|
}
|
|
5557
5470
|
onChange(value) { }
|
|
5558
5471
|
onTouched() { }
|
|
@@ -5882,6 +5795,101 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
5882
5795
|
}]
|
|
5883
5796
|
}] });
|
|
5884
5797
|
|
|
5798
|
+
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
5799
|
+
// import {DraggableComponent} from "./draggable.component";
|
|
5800
|
+
/**
|
|
5801
|
+
* @ignore
|
|
5802
|
+
*/
|
|
5803
|
+
class DroppableComponent {
|
|
5804
|
+
constructor() {
|
|
5805
|
+
// @Input() dragSource: DraggableComponent;
|
|
5806
|
+
this.dragOver = new EventEmitter();
|
|
5807
|
+
this.dragEnter = new EventEmitter();
|
|
5808
|
+
this.dragLeave = new EventEmitter();
|
|
5809
|
+
this.dropSuccess = new EventEmitter();
|
|
5810
|
+
}
|
|
5811
|
+
onDrop(event) {
|
|
5812
|
+
if (event.container !== event.previousContainer) {
|
|
5813
|
+
this.dropSuccess.emit(event.item.data);
|
|
5814
|
+
}
|
|
5815
|
+
}
|
|
5816
|
+
}
|
|
5817
|
+
DroppableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DroppableComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5818
|
+
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"] }] });
|
|
5819
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DroppableComponent, decorators: [{
|
|
5820
|
+
type: Component,
|
|
5821
|
+
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"] }]
|
|
5822
|
+
}], propDecorators: { dragOver: [{
|
|
5823
|
+
type: Output
|
|
5824
|
+
}], dragEnter: [{
|
|
5825
|
+
type: Output
|
|
5826
|
+
}], dragLeave: [{
|
|
5827
|
+
type: Output
|
|
5828
|
+
}], dropSuccess: [{
|
|
5829
|
+
type: Output
|
|
5830
|
+
}], dropList: [{
|
|
5831
|
+
type: ViewChild,
|
|
5832
|
+
args: [CdkDropList, { static: true }]
|
|
5833
|
+
}] } });
|
|
5834
|
+
|
|
5835
|
+
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
5836
|
+
/**
|
|
5837
|
+
* @ignore
|
|
5838
|
+
*/
|
|
5839
|
+
class DraggableComponent {
|
|
5840
|
+
constructor() {
|
|
5841
|
+
this.dragHandle = false;
|
|
5842
|
+
this.dragStart = new EventEmitter();
|
|
5843
|
+
this.dragEnd = new EventEmitter();
|
|
5844
|
+
}
|
|
5845
|
+
ngOnInit() {
|
|
5846
|
+
this.dragElement.dropContainer = this.dropTarget.dropList;
|
|
5847
|
+
}
|
|
5848
|
+
}
|
|
5849
|
+
DraggableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DraggableComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5850
|
+
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"] }] });
|
|
5851
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DraggableComponent, decorators: [{
|
|
5852
|
+
type: Component,
|
|
5853
|
+
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"] }]
|
|
5854
|
+
}], ctorParameters: function () { return []; }, propDecorators: { payload: [{
|
|
5855
|
+
type: Input
|
|
5856
|
+
}], dropTarget: [{
|
|
5857
|
+
type: Input
|
|
5858
|
+
}], dragHandle: [{
|
|
5859
|
+
type: Input
|
|
5860
|
+
}], dragPreview: [{
|
|
5861
|
+
type: Input
|
|
5862
|
+
}], dragStart: [{
|
|
5863
|
+
type: Output
|
|
5864
|
+
}], dragEnd: [{
|
|
5865
|
+
type: Output
|
|
5866
|
+
}], dropList: [{
|
|
5867
|
+
type: ViewChild,
|
|
5868
|
+
args: [CdkDropList, { static: true }]
|
|
5869
|
+
}], dragElement: [{
|
|
5870
|
+
type: ViewChild,
|
|
5871
|
+
args: [CdkDrag, { static: true }]
|
|
5872
|
+
}] } });
|
|
5873
|
+
|
|
5874
|
+
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
5875
|
+
/**
|
|
5876
|
+
* @ignore
|
|
5877
|
+
*/
|
|
5878
|
+
class NuiDragDropModule {
|
|
5879
|
+
}
|
|
5880
|
+
NuiDragDropModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NuiDragDropModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5881
|
+
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] });
|
|
5882
|
+
NuiDragDropModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NuiDragDropModule, providers: [], imports: [[NuiCommonModule, DragDropModule], DragDropModule] });
|
|
5883
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NuiDragDropModule, decorators: [{
|
|
5884
|
+
type: NgModule,
|
|
5885
|
+
args: [{
|
|
5886
|
+
imports: [NuiCommonModule, DragDropModule],
|
|
5887
|
+
declarations: [DraggableComponent, DroppableComponent],
|
|
5888
|
+
exports: [DragDropModule, DraggableComponent, DroppableComponent],
|
|
5889
|
+
providers: [],
|
|
5890
|
+
}]
|
|
5891
|
+
}] });
|
|
5892
|
+
|
|
5885
5893
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
5886
5894
|
// <example-url>./../examples/index.html#/message</example-url>
|
|
5887
5895
|
class MessageComponent {
|
|
@@ -5935,9 +5943,8 @@ class MessageComponent {
|
|
|
5935
5943
|
return this.type ? `nui-message-${this.type.toLowerCase()}` : "";
|
|
5936
5944
|
}
|
|
5937
5945
|
get icon() {
|
|
5938
|
-
|
|
5939
|
-
|
|
5940
|
-
return icon ? icon : MessageComponent.UNKNOWN_ICON;
|
|
5946
|
+
return (MessageComponent.ICON_MAP[this.type ?? ""] ||
|
|
5947
|
+
MessageComponent.UNKNOWN_ICON);
|
|
5941
5948
|
}
|
|
5942
5949
|
}
|
|
5943
5950
|
MessageComponent.ICON_MAP = {
|
|
@@ -6303,14 +6310,14 @@ class OverlayCustomContainer extends OverlayContainer {
|
|
|
6303
6310
|
// Overriding default destroy to prevent unwanted cleanup
|
|
6304
6311
|
}
|
|
6305
6312
|
}
|
|
6306
|
-
OverlayCustomContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: OverlayCustomContainer, deps: [{ token: DOCUMENT }, { token: i1.Platform }, { token: OverlayContainerService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6313
|
+
OverlayCustomContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: OverlayCustomContainer, deps: [{ token: DOCUMENT }, { token: i1$1.Platform }, { token: OverlayContainerService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6307
6314
|
OverlayCustomContainer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: OverlayCustomContainer });
|
|
6308
6315
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: OverlayCustomContainer, decorators: [{
|
|
6309
6316
|
type: Injectable
|
|
6310
6317
|
}], ctorParameters: function () { return [{ type: Document, decorators: [{
|
|
6311
6318
|
type: Inject,
|
|
6312
6319
|
args: [DOCUMENT]
|
|
6313
|
-
}] }, { type: i1.Platform }, { type: OverlayContainerService }]; } });
|
|
6320
|
+
}] }, { type: i1$1.Platform }, { type: OverlayContainerService }]; } });
|
|
6314
6321
|
|
|
6315
6322
|
var OverlayPanelClass;
|
|
6316
6323
|
(function (OverlayPanelClass) {
|
|
@@ -6674,11 +6681,11 @@ class OverlayService {
|
|
|
6674
6681
|
this.overlayContainer.setContainer(container);
|
|
6675
6682
|
}
|
|
6676
6683
|
}
|
|
6677
|
-
OverlayService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: OverlayService, deps: [{ token: i1$
|
|
6684
|
+
OverlayService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: OverlayService, deps: [{ token: i1$2.Overlay }, { token: i1$2.OverlayContainer }, { token: DOCUMENT }, { token: OVERLAY_CONTAINER, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6678
6685
|
OverlayService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: OverlayService });
|
|
6679
6686
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: OverlayService, decorators: [{
|
|
6680
6687
|
type: Injectable
|
|
6681
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
6688
|
+
}], ctorParameters: function () { return [{ type: i1$2.Overlay }, { type: i1$2.OverlayContainer }, { type: Document, decorators: [{
|
|
6682
6689
|
type: Inject,
|
|
6683
6690
|
args: [DOCUMENT]
|
|
6684
6691
|
}] }, { type: undefined, decorators: [{
|
|
@@ -6690,6 +6697,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
6690
6697
|
|
|
6691
6698
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
6692
6699
|
const POPUP_V2_VIEWPORT_MARGINS_DEFAULT = 30;
|
|
6700
|
+
const isMouseEvent$1 = (event) => event instanceof MouseEvent;
|
|
6693
6701
|
// <example-url>./../examples/index.html#/overlay</example-url>
|
|
6694
6702
|
/* @dynamic */
|
|
6695
6703
|
class OverlayComponent {
|
|
@@ -6752,9 +6760,7 @@ class OverlayComponent {
|
|
|
6752
6760
|
}
|
|
6753
6761
|
/** Stream of clicks outside. */
|
|
6754
6762
|
overlayClickOutside() {
|
|
6755
|
-
return this.eventBusService
|
|
6756
|
-
.getStream({ id: DOCUMENT_CLICK_EVENT })
|
|
6757
|
-
.pipe(filter$1((event) => {
|
|
6763
|
+
return this.eventBusService.getStream(DOCUMENT_CLICK_EVENT).pipe(filter$1(isMouseEvent$1), filter$1((event) => {
|
|
6758
6764
|
const clickTarget = event.target;
|
|
6759
6765
|
const notOrigin = !_some(event.composedPath(), (p) => p === this.toggleReference); // the toggle elem
|
|
6760
6766
|
const notOverlay = this.overlayService
|
|
@@ -6809,7 +6815,7 @@ class OverlayComponent {
|
|
|
6809
6815
|
return this.getContentHeight() <= 10; // 10 is for 5 + 5 paddings
|
|
6810
6816
|
}
|
|
6811
6817
|
}
|
|
6812
|
-
OverlayComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: OverlayComponent, deps: [{ token: OverlayPositionService }, { token: OverlayService }, { token: i1$
|
|
6818
|
+
OverlayComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: OverlayComponent, deps: [{ token: OverlayPositionService }, { token: OverlayService }, { token: i1$2.Overlay }, { token: EventBusService }], target: i0.ɵɵFactoryTarget.Component });
|
|
6813
6819
|
OverlayComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: OverlayComponent, selector: "nui-overlay", inputs: { overlayConfig: "overlayConfig", toggleReference: "toggleReference", viewportMargin: "viewportMargin", customContainer: "customContainer", roleAttr: "roleAttr" }, outputs: { clickOutside: "clickOutside" }, providers: [
|
|
6814
6820
|
Overlay,
|
|
6815
6821
|
OverlayService,
|
|
@@ -6842,7 +6848,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
6842
6848
|
OverlayPositionService,
|
|
6843
6849
|
{ provide: OverlayContainer, useClass: OverlayCustomContainer },
|
|
6844
6850
|
], encapsulation: ViewEncapsulation.None, styles: [".nui-overlay{display:block;overflow-x:hidden;overflow-y:auto;width:100%}.with-popup-styles .nui-overlay{padding:5px 0;border-radius:3px;box-shadow:0 0 5px 0 var(--nui-shadow-color, rgba(17, 17, 17, .3));background-color:var(--nui-color-bg-content_popover,#fff)}.with-popup-styles .nui-overlay.empty{padding:0}\n"] }]
|
|
6845
|
-
}], ctorParameters: function () { return [{ type: OverlayPositionService }, { type: OverlayService }, { type: i1$
|
|
6851
|
+
}], ctorParameters: function () { return [{ type: OverlayPositionService }, { type: OverlayService }, { type: i1$2.Overlay }, { type: EventBusService }]; }, propDecorators: { overlayConfig: [{
|
|
6846
6852
|
type: Input
|
|
6847
6853
|
}], toggleReference: [{
|
|
6848
6854
|
type: Input
|
|
@@ -6928,7 +6934,7 @@ class PopupComponent {
|
|
|
6928
6934
|
setTimeout(() => this.isOpenHandler(open));
|
|
6929
6935
|
}
|
|
6930
6936
|
get isOpen() {
|
|
6931
|
-
return this.popup?.showing;
|
|
6937
|
+
return !!this.popup?.showing;
|
|
6932
6938
|
}
|
|
6933
6939
|
set visible(value) {
|
|
6934
6940
|
this._visible = value;
|
|
@@ -6980,7 +6986,7 @@ class PopupComponent {
|
|
|
6980
6986
|
this.customContainer = this.popupArea;
|
|
6981
6987
|
}
|
|
6982
6988
|
this.eventBusService
|
|
6983
|
-
.getStream(
|
|
6989
|
+
.getStream(DOCUMENT_CLICK_EVENT)
|
|
6984
6990
|
.pipe(takeUntil(this.destroy$))
|
|
6985
6991
|
.subscribe((event) => {
|
|
6986
6992
|
const isToggle = this.popupToggle && event
|
|
@@ -7132,7 +7138,7 @@ class PopupComponent {
|
|
|
7132
7138
|
: this.document.querySelector(this.baseElementSelector);
|
|
7133
7139
|
}
|
|
7134
7140
|
}
|
|
7135
|
-
PopupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PopupComponent, deps: [{ token: i1$
|
|
7141
|
+
PopupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PopupComponent, deps: [{ token: i1$2.Overlay }, { token: i0.ChangeDetectorRef }, { token: EventBusService }, { token: i0.ElementRef }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Component });
|
|
7136
7142
|
PopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PopupComponent, selector: "nui-popup", inputs: { width: "width", overlayConfig: "overlayConfig", contextClass: "contextClass", directionTop: "directionTop", directionRight: "directionRight", manualOpenControl: "manualOpenControl", appendToBody: "appendToBody", baseElementSelector: "baseElementSelector", isHostToggleRef: "isHostToggleRef", ariaLabel: "ariaLabel", isOpen: "isOpen", visible: "visible" }, outputs: { opened: "opened" }, host: { attributes: { "role": "dialog" }, properties: { "attr.aria-label": "ariaLabel" }, classAttribute: "nui-popup" }, queries: [{ propertyName: "popupToggle", first: true, predicate: PopupToggleDirective, descendants: true }], viewQueries: [{ propertyName: "popupArea", first: true, predicate: ["popupArea"], descendants: true, static: true }, { propertyName: "popup", first: true, predicate: OverlayComponent, descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div\n nuiClickInterceptor\n class=\"nui-popup-container\"\n [class.nui-popup--opened]=\"isOpen\"\n>\n <div class=\"nui-popup__content\">\n <ng-content></ng-content>\n </div>\n <div #popupArea></div>\n\n <nui-overlay\n [toggleReference]=\"toggleReference\"\n [overlayConfig]=\"overlayConfig\"\n [customContainer]=\"customContainer\"\n >\n <div class=\"nui-popup__area\">\n <div class=\"nui-popup__area--container\">\n <ng-content select=\"[popupAreaContent]\"></ng-content>\n </div>\n </div>\n </nui-overlay>\n</div>\n", styles: [".nui-popup{display:inline-flex;position:relative}.nui-popup__content{display:inline-flex;flex-direction:row}.nui-select-popup-host.nui-popup__area{width:auto}.nui-select-popup-host.nui-popup__area .nui-menu-item .nui-menu-item__action{color:var(--nui-color-text-default,#111)}.nui-select-popup-host.nui-popup__area .nui-menu-item.item-selected .nui-menu-item__action{background-color:var(--nui-color-selected,rgba(0, 196, 210, .1));color:var(--nui-color-text-default,#111);font-weight:600}.nui-select-popup-host.nui-popup__area .nui-menu-item.item-selected .nui-menu-item__action:hover{background-color:var(--nui-color-selected-hover,rgba(0, 196, 210, .2))}.nui-select-popup-host.nui-select--justified.nui-popup__area{max-width:none}.nui-select-popup-host.nui-select--justified .nui-popup__content .menu-button{display:flex;flex-grow:1;max-width:none}.nui-combobox-popup-host{max-width:300px;max-height:300px}.nui-combobox-popup-host.nui-overlay .nui-menu-item .nui-menu-item__action{color:var(--nui-color-text-default,#111)}.nui-combobox-popup-host.nui-overlay .nui-menu-item.item-selected .nui-menu-item__action{background-color:var(--nui-color-selected,rgba(0, 196, 210, .1));color:var(--nui-color-text-default,#111);font-weight:600}.nui-combobox-popup-host.nui-overlay .nui-menu-item.item-selected .nui-menu-item__action:hover{background-color:var(--nui-color-selected-hover,rgba(0, 196, 210, .2))}.nui-combobox-popup-host .nui-combobox__menu{max-height:300px;overflow-y:auto;max-width:400px;overflow-y:initial}.nui-combobox-popup-host.nui-combobox--justified{max-width:none}.nui-selector-append-to-body-host.nui-popup__area{left:-35px;min-width:100px;border:none;color:var(--nui-color-text-link,#0079aa)}.nui-selector-append-to-body-host.nui-popup__area .nui-repeat .nui-repeat-item{border:0}.nui-selector-host.nui-popup__area{min-width:100px;border:none;color:var(--nui-color-text-link,#0079aa)}.nui-selector-host.nui-popup__area .nui-repeat .nui-repeat-item{border:0}.nui-selector-popup-area{min-width:100px;border:none;color:var(--nui-color-text-link,#0079aa)}.nui-selector-popup-area .nui-repeat .nui-repeat-item{border:0}.popup-adapter-overlay .nui-menu-popup-host{min-width:150px;max-width:450px;max-height:300px}.popup-adapter-overlay .nui-menu-popup-host.nui-select--justified{max-width:unset}.popup-adapter-overlay .nui-menu-popup-host .nui-popup__area--container{overflow-x:hidden;overflow-y:auto;margin:5px 0}.popup-adapter-overlay.nui-overlay-panel .nui-overlay{visibility:hidden;padding:0}.popup-adapter-overlay.visible .nui-overlay{visibility:visible}\n"], components: [{ type: OverlayComponent, selector: "nui-overlay", inputs: ["overlayConfig", "toggleReference", "viewportMargin", "customContainer", "roleAttr"], outputs: ["clickOutside"] }], directives: [{ type: ClickInterceptorDirective, selector: "[nuiClickInterceptor]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
7137
7143
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PopupComponent, decorators: [{
|
|
7138
7144
|
type: Component,
|
|
@@ -7141,7 +7147,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
7141
7147
|
role: "dialog",
|
|
7142
7148
|
"[attr.aria-label]": "ariaLabel",
|
|
7143
7149
|
}, template: "<div\n nuiClickInterceptor\n class=\"nui-popup-container\"\n [class.nui-popup--opened]=\"isOpen\"\n>\n <div class=\"nui-popup__content\">\n <ng-content></ng-content>\n </div>\n <div #popupArea></div>\n\n <nui-overlay\n [toggleReference]=\"toggleReference\"\n [overlayConfig]=\"overlayConfig\"\n [customContainer]=\"customContainer\"\n >\n <div class=\"nui-popup__area\">\n <div class=\"nui-popup__area--container\">\n <ng-content select=\"[popupAreaContent]\"></ng-content>\n </div>\n </div>\n </nui-overlay>\n</div>\n", styles: [".nui-popup{display:inline-flex;position:relative}.nui-popup__content{display:inline-flex;flex-direction:row}.nui-select-popup-host.nui-popup__area{width:auto}.nui-select-popup-host.nui-popup__area .nui-menu-item .nui-menu-item__action{color:var(--nui-color-text-default,#111)}.nui-select-popup-host.nui-popup__area .nui-menu-item.item-selected .nui-menu-item__action{background-color:var(--nui-color-selected,rgba(0, 196, 210, .1));color:var(--nui-color-text-default,#111);font-weight:600}.nui-select-popup-host.nui-popup__area .nui-menu-item.item-selected .nui-menu-item__action:hover{background-color:var(--nui-color-selected-hover,rgba(0, 196, 210, .2))}.nui-select-popup-host.nui-select--justified.nui-popup__area{max-width:none}.nui-select-popup-host.nui-select--justified .nui-popup__content .menu-button{display:flex;flex-grow:1;max-width:none}.nui-combobox-popup-host{max-width:300px;max-height:300px}.nui-combobox-popup-host.nui-overlay .nui-menu-item .nui-menu-item__action{color:var(--nui-color-text-default,#111)}.nui-combobox-popup-host.nui-overlay .nui-menu-item.item-selected .nui-menu-item__action{background-color:var(--nui-color-selected,rgba(0, 196, 210, .1));color:var(--nui-color-text-default,#111);font-weight:600}.nui-combobox-popup-host.nui-overlay .nui-menu-item.item-selected .nui-menu-item__action:hover{background-color:var(--nui-color-selected-hover,rgba(0, 196, 210, .2))}.nui-combobox-popup-host .nui-combobox__menu{max-height:300px;overflow-y:auto;max-width:400px;overflow-y:initial}.nui-combobox-popup-host.nui-combobox--justified{max-width:none}.nui-selector-append-to-body-host.nui-popup__area{left:-35px;min-width:100px;border:none;color:var(--nui-color-text-link,#0079aa)}.nui-selector-append-to-body-host.nui-popup__area .nui-repeat .nui-repeat-item{border:0}.nui-selector-host.nui-popup__area{min-width:100px;border:none;color:var(--nui-color-text-link,#0079aa)}.nui-selector-host.nui-popup__area .nui-repeat .nui-repeat-item{border:0}.nui-selector-popup-area{min-width:100px;border:none;color:var(--nui-color-text-link,#0079aa)}.nui-selector-popup-area .nui-repeat .nui-repeat-item{border:0}.popup-adapter-overlay .nui-menu-popup-host{min-width:150px;max-width:450px;max-height:300px}.popup-adapter-overlay .nui-menu-popup-host.nui-select--justified{max-width:unset}.popup-adapter-overlay .nui-menu-popup-host .nui-popup__area--container{overflow-x:hidden;overflow-y:auto;margin:5px 0}.popup-adapter-overlay.nui-overlay-panel .nui-overlay{visibility:hidden;padding:0}.popup-adapter-overlay.visible .nui-overlay{visibility:visible}\n"] }]
|
|
7144
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
7150
|
+
}], ctorParameters: function () { return [{ type: i1$2.Overlay }, { type: i0.ChangeDetectorRef }, { type: EventBusService }, { type: i0.ElementRef }, { type: Document, decorators: [{
|
|
7145
7151
|
type: Inject,
|
|
7146
7152
|
args: [DOCUMENT]
|
|
7147
7153
|
}] }]; }, propDecorators: { popupToggle: [{
|
|
@@ -7374,7 +7380,7 @@ class TooltipComponent {
|
|
|
7374
7380
|
this._markForCheck();
|
|
7375
7381
|
}
|
|
7376
7382
|
}
|
|
7377
|
-
TooltipComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TooltipComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1$
|
|
7383
|
+
TooltipComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TooltipComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1$2.ScrollDispatcher }, { token: i0.NgZone }, { token: i1$2.Overlay }], target: i0.ɵɵFactoryTarget.Component });
|
|
7378
7384
|
TooltipComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: TooltipComponent, selector: "nui-tooltip-component", host: { attributes: { "aria-hidden": "true", "role": "tooltip" }, listeners: { "body:click": "this._handleBodyInteraction()" } }, viewQueries: [{ propertyName: "overlayComponent", first: true, predicate: OverlayComponent, descendants: true, static: true }], ngImport: i0, template: `
|
|
7379
7385
|
<nui-overlay
|
|
7380
7386
|
[toggleReference]="toggleReference.nativeElement"
|
|
@@ -7411,7 +7417,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
7411
7417
|
</div>
|
|
7412
7418
|
</nui-overlay>
|
|
7413
7419
|
`, styles: [".nui-tooltip-body{background-color:var(--nui-color-bg-inverse,#111);color:var(--nui-color-text-inverse,#fff);font-size:11px;line-height:14px;overflow:hidden;word-wrap:break-word;margin:10px;max-width:250px;padding:5px 10px;box-shadow:0 0 5px 0 var(--nui-shadow-color, rgba(17, 17, 17, .3))}.nui-tooltip-body.with-nui-overlay{margin:unset}\n"] }]
|
|
7414
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i1$
|
|
7420
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i1$2.ScrollDispatcher }, { type: i0.NgZone }, { type: i1$2.Overlay }]; }, propDecorators: { overlayComponent: [{
|
|
7415
7421
|
type: ViewChild,
|
|
7416
7422
|
args: [OverlayComponent, { static: true }]
|
|
7417
7423
|
}] } });
|
|
@@ -7552,7 +7558,7 @@ class TooltipDirective {
|
|
|
7552
7558
|
/** Handles the keydown events on the host element. */
|
|
7553
7559
|
_handleKeydown(e) {
|
|
7554
7560
|
if (this._isTooltipVisible() &&
|
|
7555
|
-
e.
|
|
7561
|
+
e.code === KEYBOARD_CODE.ESCAPE &&
|
|
7556
7562
|
!hasModifierKey(e)) {
|
|
7557
7563
|
e.preventDefault();
|
|
7558
7564
|
e.stopPropagation();
|
|
@@ -7588,7 +7594,7 @@ class TooltipDirective {
|
|
|
7588
7594
|
return !(this.disabled || !this.message || this._isTooltipVisible());
|
|
7589
7595
|
}
|
|
7590
7596
|
}
|
|
7591
|
-
TooltipDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TooltipDirective, deps: [{ token: i0.ElementRef }, { token: i0.ViewContainerRef }, { token: i0.NgZone }, { token: i1$
|
|
7597
|
+
TooltipDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TooltipDirective, deps: [{ token: i0.ElementRef }, { token: i0.ViewContainerRef }, { token: i0.NgZone }, { token: i1$3.AriaDescriber }, { token: i1$3.FocusMonitor }, { token: i0.ComponentFactoryResolver }, { token: OverlayPositionService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
7592
7598
|
TooltipDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: TooltipDirective, selector: "[nuiTooltip]", inputs: { position: ["tooltipPlacement", "position"], disabled: ["nuiTooltipDisabled", "disabled"], message: ["nuiTooltip", "message"] }, host: { listeners: { "longpress": "show()", "keydown": "_handleKeydown($event)", "touchend": "_handleTouchend()" } }, providers: [OverlayPositionService], exportAs: ["nuiTooltip"], ngImport: i0 });
|
|
7593
7599
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TooltipDirective, decorators: [{
|
|
7594
7600
|
type: Directive,
|
|
@@ -7602,7 +7608,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
7602
7608
|
},
|
|
7603
7609
|
providers: [OverlayPositionService],
|
|
7604
7610
|
}]
|
|
7605
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ViewContainerRef }, { type: i0.NgZone }, { type: i1$
|
|
7611
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ViewContainerRef }, { type: i0.NgZone }, { type: i1$3.AriaDescriber }, { type: i1$3.FocusMonitor }, { type: i0.ComponentFactoryResolver }, { type: OverlayPositionService }]; }, propDecorators: { position: [{
|
|
7606
7612
|
type: Input,
|
|
7607
7613
|
args: ["tooltipPlacement"]
|
|
7608
7614
|
}], disabled: [{
|
|
@@ -7799,11 +7805,11 @@ class OptionKeyControlService {
|
|
|
7799
7805
|
this.liveAnnouncer.announce(message);
|
|
7800
7806
|
}
|
|
7801
7807
|
}
|
|
7802
|
-
OptionKeyControlService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: OptionKeyControlService, deps: [{ token: i1$
|
|
7808
|
+
OptionKeyControlService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: OptionKeyControlService, deps: [{ token: i1$3.LiveAnnouncer }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7803
7809
|
OptionKeyControlService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: OptionKeyControlService });
|
|
7804
7810
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: OptionKeyControlService, decorators: [{
|
|
7805
7811
|
type: Injectable
|
|
7806
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
7812
|
+
}], ctorParameters: function () { return [{ type: i1$3.LiveAnnouncer }]; } });
|
|
7807
7813
|
|
|
7808
7814
|
/**
|
|
7809
7815
|
* @ignore
|
|
@@ -7936,7 +7942,6 @@ const DEFAULT_SELECT_OVERLAY_CONFIG = {
|
|
|
7936
7942
|
};
|
|
7937
7943
|
const V_SCROLL_HEIGHT_BUFFER = 10;
|
|
7938
7944
|
// Will be renamed in scope of the NUI-5797
|
|
7939
|
-
// eslint-disable-next-line @angular-eslint/directive-class-suffix
|
|
7940
7945
|
class BaseSelectV2 {
|
|
7941
7946
|
constructor(optionKeyControlService, cdRef, elRef, liveAnnouncer) {
|
|
7942
7947
|
this.optionKeyControlService = optionKeyControlService;
|
|
@@ -7952,6 +7957,11 @@ class BaseSelectV2 {
|
|
|
7952
7957
|
this.syncWidth = true;
|
|
7953
7958
|
/** Whether the Select/Combobox disabled */
|
|
7954
7959
|
this.isDisabled = false;
|
|
7960
|
+
this.allowedKeys = [
|
|
7961
|
+
KEYBOARD_CODE.ARROW_UP,
|
|
7962
|
+
KEYBOARD_CODE.ARROW_DOWN,
|
|
7963
|
+
KEYBOARD_CODE.ENTER,
|
|
7964
|
+
].map(String);
|
|
7955
7965
|
/** Name of the icon which indicates open/close state of the Dropdown */
|
|
7956
7966
|
this.caretIcon = "caret-down";
|
|
7957
7967
|
this.popupUtilities = new OverlayUtilitiesService();
|
|
@@ -8165,7 +8175,8 @@ class BaseSelectV2 {
|
|
|
8165
8175
|
// Using type assertion to avoid compilation error, undefined elements are filtered but compiler do not infer the type properly
|
|
8166
8176
|
this._selectedOptions = (value
|
|
8167
8177
|
.map((v) => this.options?.find((option) => _isEqual(option.value, v)))
|
|
8168
|
-
.filter((_) => _));
|
|
8178
|
+
.filter((_) => _));
|
|
8179
|
+
// removes 'undefined' elements out of the array if any
|
|
8169
8180
|
this._selectedOptions.forEach((option) => (option.outfiltered = true));
|
|
8170
8181
|
}
|
|
8171
8182
|
else {
|
|
@@ -8238,7 +8249,7 @@ class BaseSelectV2 {
|
|
|
8238
8249
|
});
|
|
8239
8250
|
}
|
|
8240
8251
|
isAllowedKeyOnManualDropdown(event) {
|
|
8241
|
-
return
|
|
8252
|
+
return this.allowedKeys.includes(event.code);
|
|
8242
8253
|
}
|
|
8243
8254
|
defineDropdownContainer() {
|
|
8244
8255
|
this.dropdown.customContainer = this.dropdownCustomContainer;
|
|
@@ -8299,11 +8310,11 @@ class BaseSelectV2 {
|
|
|
8299
8310
|
this.liveAnnouncer.announce(msg);
|
|
8300
8311
|
}
|
|
8301
8312
|
}
|
|
8302
|
-
BaseSelectV2.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BaseSelectV2, deps: [{ token: OptionKeyControlService }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i1$
|
|
8313
|
+
BaseSelectV2.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BaseSelectV2, deps: [{ token: OptionKeyControlService }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i1$3.LiveAnnouncer }], target: i0.ɵɵFactoryTarget.Directive });
|
|
8303
8314
|
BaseSelectV2.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: BaseSelectV2, inputs: { placeholder: "placeholder", popupViewportMargin: "popupViewportMargin", overlayConfig: "overlayConfig", multiselect: "multiselect", manualDropdownControl: "manualDropdownControl", value: "value", dropdownCustomContainer: "dropdownCustomContainer", syncWidth: "syncWidth", isDisabled: "isDisabled", isInErrorState: "isInErrorState", ariaLabel: "ariaLabel" }, outputs: { valueSelected: "valueSelected", valueChanged: "valueChanged", clickOutsideDropdown: "clickOutsideDropdown" }, host: { listeners: { "mousedown": "onMouseDown()", "mouseup": "onMouseUp($event.target)", "focusin": "onFocusIn()", "window:resize": "onWindowResize()" }, properties: { "class.disabled": "this.isDisabled", "class.has-error": "this.isInErrorState" } }, queries: [{ propertyName: "cdkVirtualScroll", first: true, predicate: CdkVirtualScrollViewport, descendants: true }, { propertyName: "options", predicate: i0.forwardRef(function () { return SelectV2OptionComponent; }), descendants: true }, { propertyName: "allPopupItems", predicate: i0.forwardRef(function () { return OVERLAY_ITEM; }), descendants: true }], viewQueries: [{ propertyName: "inputElement", first: true, predicate: ["input"], descendants: true }, { propertyName: "dropdown", first: true, predicate: OverlayComponent, descendants: true }], usesOnChanges: true, ngImport: i0 });
|
|
8304
8315
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BaseSelectV2, decorators: [{
|
|
8305
8316
|
type: Directive
|
|
8306
|
-
}], ctorParameters: function () { return [{ type: OptionKeyControlService }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i1$
|
|
8317
|
+
}], ctorParameters: function () { return [{ type: OptionKeyControlService }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i1$3.LiveAnnouncer }]; }, propDecorators: { placeholder: [{
|
|
8307
8318
|
type: Input
|
|
8308
8319
|
}], popupViewportMargin: [{
|
|
8309
8320
|
type: Input
|
|
@@ -8498,16 +8509,16 @@ class SelectedItemsKeyControlService {
|
|
|
8498
8509
|
}
|
|
8499
8510
|
}
|
|
8500
8511
|
isBackspace(event) {
|
|
8501
|
-
return event.
|
|
8512
|
+
return event.code === KEYBOARD_CODE.BACKSPACE;
|
|
8502
8513
|
}
|
|
8503
8514
|
isLeftOrRightArrow(event) {
|
|
8504
8515
|
return this.isLeftArrow(event) || this.isRightArrow(event);
|
|
8505
8516
|
}
|
|
8506
8517
|
isRightArrow(event) {
|
|
8507
|
-
return event.
|
|
8518
|
+
return event.code === KEYBOARD_CODE.ARROW_RIGHT;
|
|
8508
8519
|
}
|
|
8509
8520
|
isLeftArrow(event) {
|
|
8510
|
-
return event.
|
|
8521
|
+
return event.code === KEYBOARD_CODE.ARROW_LEFT;
|
|
8511
8522
|
}
|
|
8512
8523
|
get activeItem() {
|
|
8513
8524
|
return this.selectedItemsKeyManager.activeItem;
|
|
@@ -8523,11 +8534,11 @@ class SelectedItemsKeyControlService {
|
|
|
8523
8534
|
return this.activeItem?.cdRef.context.item.label || "";
|
|
8524
8535
|
}
|
|
8525
8536
|
}
|
|
8526
|
-
SelectedItemsKeyControlService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SelectedItemsKeyControlService, deps: [{ token: i1$
|
|
8537
|
+
SelectedItemsKeyControlService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SelectedItemsKeyControlService, deps: [{ token: i1$3.LiveAnnouncer }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
8527
8538
|
SelectedItemsKeyControlService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SelectedItemsKeyControlService });
|
|
8528
8539
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SelectedItemsKeyControlService, decorators: [{
|
|
8529
8540
|
type: Injectable
|
|
8530
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
8541
|
+
}], ctorParameters: function () { return [{ type: i1$3.LiveAnnouncer }]; } });
|
|
8531
8542
|
|
|
8532
8543
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
8533
8544
|
// <example-url>./../examples/index.html#/combobox-v2</example-url>
|
|
@@ -8751,7 +8762,7 @@ class ComboboxV2Component extends BaseSelectV2 {
|
|
|
8751
8762
|
!this.options.find((option) => optionName(option) === inputValue));
|
|
8752
8763
|
}
|
|
8753
8764
|
}
|
|
8754
|
-
ComboboxV2Component.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ComboboxV2Component, deps: [{ token: i0.ElementRef }, { token: OptionKeyControlService }, { token: i0.ChangeDetectorRef }, { token: SelectedItemsKeyControlService }, { token: i1$
|
|
8765
|
+
ComboboxV2Component.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ComboboxV2Component, deps: [{ token: i0.ElementRef }, { token: OptionKeyControlService }, { token: i0.ChangeDetectorRef }, { token: SelectedItemsKeyControlService }, { token: i1$3.LiveAnnouncer }], target: i0.ɵɵFactoryTarget.Component });
|
|
8755
8766
|
ComboboxV2Component.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ComboboxV2Component, selector: "nui-combobox-v2", inputs: { displayWith: "displayWith", isRemoveValueEnabled: "isRemoveValueEnabled", isTypeaheadEnabled: "isTypeaheadEnabled" }, outputs: { searchEmpty: "searchEmpty", canCreateOption: "canCreateOption" }, host: { attributes: { "role": "combobox", "aria-haspopup": "listbox", "aria-owns": "nui-overlay" }, properties: { "attr.aria-expanded": "isDropdownOpen || false" }, classAttribute: "nui-combobox-v2" }, providers: [
|
|
8756
8767
|
OptionKeyControlService,
|
|
8757
8768
|
SelectedItemsKeyControlService,
|
|
@@ -8796,7 +8807,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
8796
8807
|
"aria-haspopup": "listbox",
|
|
8797
8808
|
"aria-owns": "nui-overlay",
|
|
8798
8809
|
}, template: "<div\n class=\"w-100 d-flex flex-wrap align-items-center pt-2\"\n [attr.role]=\"multiselect && selectedOptions.length ? 'list' : null\"\n>\n <ng-content select=\"[selectedItems]\"></ng-content>\n\n <input\n class=\"nui-combobox-v2__input pb-2\"\n type=\"text\"\n [attr.aria-label]=\"ariaLabel || 'input'\"\n [class.has-error]=\"isInErrorState\"\n [disabled]=\"isDisabled\"\n [(ngModel)]=\"inputValue\"\n [placeholder]=\"placeholder\"\n (input)=\"handleInput(input.value)\"\n (keydown)=\"onKeyDown($event)\"\n (click)=\"selectTextInInput()\"\n #input\n />\n</div>\n<button\n tabindex=\"0\"\n *ngIf=\"isRemoveValueEnabled && (selectedOptions[0] || inputValue)\"\n nui-button\n class=\"nui-combobox-v2__remove-value action\"\n (click)=\"clearValue($event)\"\n [isEmpty]=\"true\"\n icon=\"remove\"\n type=\"button\"\n [nuiTooltip]=\"clearValueButtonTooltip\"\n [class.disabled]=\"isDisabled\"\n [disabled]=\"isDisabled\"\n></button>\n<button\n tabindex=\"-1\"\n class=\"nui-combobox-v2__toggle action\"\n nui-button\n type=\"button\"\n [isEmpty]=\"true\"\n icon=\"caret-down\"\n [class.rotate]=\"isDropdownOpen\"\n [class.disabled]=\"isDisabled\"\n [disabled]=\"isDisabled\"\n (click)=\"selectTextInInput()\"\n></button>\n<nui-overlay\n roleAttr=\"listbox\"\n [toggleReference]=\"elRef.nativeElement\"\n [viewportMargin]=\"popupViewportMargin\"\n [overlayConfig]=\"overlayConfig\"\n>\n <ng-content></ng-content>\n</nui-overlay>\n", styles: [".nui-combobox-v2{border-color:var(--nui-color-line-default,#d9d9d9);border-width:1px;border-style:solid;border-radius:3px;background:var(--nui-color-bg-content,#fff);box-shadow:inset 0 1px 1px #00000013;display:flex;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;color:var(--nui-color-text-default,#111);min-height:28px;line-height:23px;min-width:100px;font-size:13px}.nui-combobox-v2:hover{border-color:var(--nui-color-line-default-hover,#b3b3b3)}.nui-combobox-v2:focus-within,.nui-combobox-v2:focus{border-color:var(--nui-color-line-active,#0079aa);outline:none}.nui-combobox-v2.error,.nui-combobox-v2.has-error{border-color:var(--nui-color-line-critical,#dd2c00)}.nui-combobox-v2.error:hover,.nui-combobox-v2.has-error:hover,.nui-combobox-v2.error:focus,.nui-combobox-v2.has-error:focus,.nui-combobox-v2.error:active,.nui-combobox-v2.has-error:active{border-color:var(--nui-color-line-critical,#dd2c00)}.nui-combobox-v2.disabled,.nui-combobox-v2[disabled]{background:var(--nui-color-disabled-secondary,#e8e8e8);border-color:transparent;cursor:not-allowed}.nui-combobox-v2.disabled:hover,.nui-combobox-v2[disabled]:hover{background:var(--nui-color-disabled-secondary,#e8e8e8);border-color:transparent}.nui-combobox-v2[readonly]{color:var(--nui-color-text-secondary,rgba(17, 17, 17, .6));background:var(--nui-color-disabled-secondary,#e8e8e8);border-color:transparent;cursor:default}.nui-combobox-v2[readonly]:hover,.nui-combobox-v2[readonly]:focus,.nui-combobox-v2[readonly]:active{color:var(--nui-color-text-secondary,rgba(17, 17, 17, .6));background:var(--nui-color-disabled-secondary,#e8e8e8);border-color:transparent}.nui-combobox-v2.disabled{color:var(--nui-color-text-disabled,rgba(17, 17, 17, .3));-webkit-user-select:none;-o-user-select:none;user-select:none}.nui-combobox-v2__input{flex:1;outline:none;box-sizing:border-box;border:none;background-color:transparent;background-image:none;min-height:23px;height:23px;resize:vertical;padding:0 10px;overflow-y:hidden;cursor:text;width:inherit;white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;text-overflow:ellipsis}.nui-combobox-v2__input[disabled]{cursor:not-allowed}.nui-combobox-v2__input[disabled]::placeholder{color:var(--nui-color-text-disabled,rgba(17, 17, 17, .3))}.nui-combobox-v2__input::placeholder{color:var(--nui-color-text-secondary,rgba(17, 17, 17, .6));font-size:13px;font-weight:400;margin-right:5px;white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;text-overflow:ellipsis}.nui-combobox-v2__remove-value.nui-button.action{border:none;border-radius:0;border-right:1px solid;border-right-color:var(--nui-color-line-default,#d9d9d9);min-height:28px;max-height:28px;align-self:center}.nui-combobox-v2__remove-value.nui-button.action:hover,.nui-combobox-v2__remove-value.nui-button.action:focus,.nui-combobox-v2__remove-value.nui-button.action:active{border-right:1px solid;border-right-color:var(--nui-color-line-default,#d9d9d9)}.nui-combobox-v2__remove-value.nui-button.action:focus{border-radius:3px;outline:none;z-index:500;box-shadow:inset 0 0 0 2px #00c4d280}.nui-combobox-v2__toggle.nui-button.action{min-height:28px;max-height:28px;align-self:center}.nui-combobox-v2__toggle.nui-button.action.rotate nui-icon{transform:rotate(180deg)}\n"] }]
|
|
8799
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: OptionKeyControlService }, { type: i0.ChangeDetectorRef }, { type: SelectedItemsKeyControlService }, { type: i1$
|
|
8810
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: OptionKeyControlService }, { type: i0.ChangeDetectorRef }, { type: SelectedItemsKeyControlService }, { type: i1$3.LiveAnnouncer }]; }, propDecorators: { displayWith: [{
|
|
8800
8811
|
type: Input
|
|
8801
8812
|
}], isRemoveValueEnabled: [{
|
|
8802
8813
|
type: Input
|
|
@@ -9036,15 +9047,12 @@ class DndDropTargetDirective {
|
|
|
9036
9047
|
this.showDropZone$,
|
|
9037
9048
|
draggedItem$,
|
|
9038
9049
|
]).pipe(switchMap(([showDropZone, drag]) => {
|
|
9039
|
-
|
|
9040
|
-
|
|
9041
|
-
|
|
9042
|
-
|
|
9043
|
-
|
|
9044
|
-
|
|
9045
|
-
}
|
|
9046
|
-
this._canLastDragItemBeDropped = result;
|
|
9047
|
-
return of(result);
|
|
9050
|
+
const canBeDropped = showDropZone
|
|
9051
|
+
? this.canBeDropped?.(drag.data, this.targetDropList) ??
|
|
9052
|
+
true
|
|
9053
|
+
: false;
|
|
9054
|
+
this._canLastDragItemBeDropped = canBeDropped;
|
|
9055
|
+
return of(canBeDropped);
|
|
9048
9056
|
}), distinctUntilChanged(), shareReplay());
|
|
9049
9057
|
// If consumer will not subscribe in the template to canDrop$ we should set proper classes anyway.
|
|
9050
9058
|
// That's why we're subscribing also here, the number of observables will remain the same because of shareReplay
|
|
@@ -9075,7 +9083,7 @@ class DndDropTargetDirective {
|
|
|
9075
9083
|
this._destroy$.complete();
|
|
9076
9084
|
}
|
|
9077
9085
|
}
|
|
9078
|
-
DndDropTargetDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DndDropTargetDirective, deps: [{ token:
|
|
9086
|
+
DndDropTargetDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DndDropTargetDirective, deps: [{ token: i1.CdkDropList }, { token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
9079
9087
|
DndDropTargetDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: DndDropTargetDirective, selector: "[cdkDropList][nuiDndDropTarget]", inputs: { canBeDropped: "canBeDropped" }, host: { properties: { "class.nui-dnd-dropzone": "true", "class.nui-dnd-dropzone--active": "isDropZoneActive", "class.nui-dnd-dropzone--drop-allowed": "isDropZoneActive && canLastDragItemBeDropped", "class.nui-dnd-dropzone--drop-not-allowed": "isDropZoneActive && canLastDragItemBeDropped === false" } }, queries: [{ propertyName: "draggables", predicate: CdkDrag, descendants: true }], exportAs: ["nuiDndDropTarget"], ngImport: i0 });
|
|
9080
9088
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DndDropTargetDirective, decorators: [{
|
|
9081
9089
|
type: Directive,
|
|
@@ -9091,7 +9099,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
9091
9099
|
"[class.nui-dnd-dropzone--drop-not-allowed]": "isDropZoneActive && canLastDragItemBeDropped === false",
|
|
9092
9100
|
},
|
|
9093
9101
|
}]
|
|
9094
|
-
}], ctorParameters: function () { return [{ type:
|
|
9102
|
+
}], ctorParameters: function () { return [{ type: i1.CdkDropList }, { type: i0.Renderer2 }, { type: i0.ElementRef }]; }, propDecorators: { draggables: [{
|
|
9095
9103
|
type: ContentChildren,
|
|
9096
9104
|
args: [CdkDrag, { descendants: true }]
|
|
9097
9105
|
}], canBeDropped: [{
|
|
@@ -9545,6 +9553,7 @@ class TableVirtualScrollDirective {
|
|
|
9545
9553
|
this.offset = DEFAULT_TABLE_HEADER_OFFSET;
|
|
9546
9554
|
// Converting parameters to numbers here to avoid inputs become strings in case user sets rowHeight and offset
|
|
9547
9555
|
// without square brackets in the template
|
|
9556
|
+
// eslint-disable-next-line import/no-deprecated
|
|
9548
9557
|
this.scrollStrategy = new TableVirtualScrollStrategy(+this.rowHeight, +this.offset);
|
|
9549
9558
|
}
|
|
9550
9559
|
ngOnChanges() {
|
|
@@ -10291,7 +10300,7 @@ class TableComponent extends CdkTable {
|
|
|
10291
10300
|
this.tableStateHandlerService.hasVirtualScroll = !!this.virtualFor;
|
|
10292
10301
|
}
|
|
10293
10302
|
}
|
|
10294
|
-
TableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TableComponent, deps: [{ token: i0.IterableDiffers }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: "role", attribute: true }, { token: i1$
|
|
10303
|
+
TableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TableComponent, deps: [{ token: i0.IterableDiffers }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: "role", attribute: true }, { token: i1$4.Directionality }, { token: TableStateHandlerService }, { token: DOCUMENT }, { token: i1$1.Platform }, { token: _VIEW_REPEATER_STRATEGY }, { token: _COALESCED_STYLE_SCHEDULER }, { token: i1$5.ViewportRuler }, { token: STICKY_POSITIONING_LISTENER, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
10295
10304
|
TableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: TableComponent, selector: "nui-table, table[nui-table]", inputs: { reorderable: "reorderable", sortable: "sortable", resizable: "resizable", selectable: "selectable", totalItems: "totalItems", dataSource: "dataSource", selection: "selection", sortedColumn: "sortedColumn" }, outputs: { columnsOrderChange: "columnsOrderChange", sortOrderChanged: "sortOrderChanged", selectionChange: "selectionChange" }, host: { properties: { "class.nui-table__table-fixed": "this.layoutFixed" }, classAttribute: "nui-table__table" }, providers: [
|
|
10296
10305
|
TableStateHandlerService,
|
|
10297
10306
|
{
|
|
@@ -10321,16 +10330,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
10321
10330
|
}], ctorParameters: function () { return [{ type: i0.IterableDiffers }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: undefined, decorators: [{
|
|
10322
10331
|
type: Attribute,
|
|
10323
10332
|
args: ["role"]
|
|
10324
|
-
}] }, { type: i1$
|
|
10333
|
+
}] }, { type: i1$4.Directionality }, { type: TableStateHandlerService }, { type: Document, decorators: [{
|
|
10325
10334
|
type: Inject,
|
|
10326
10335
|
args: [DOCUMENT]
|
|
10327
|
-
}] }, { type: i1.Platform }, { type: undefined, decorators: [{
|
|
10336
|
+
}] }, { type: i1$1.Platform }, { type: undefined, decorators: [{
|
|
10328
10337
|
type: Inject,
|
|
10329
10338
|
args: [_VIEW_REPEATER_STRATEGY]
|
|
10330
10339
|
}] }, { type: i5$1._CoalescedStyleScheduler, decorators: [{
|
|
10331
10340
|
type: Inject,
|
|
10332
10341
|
args: [_COALESCED_STYLE_SCHEDULER]
|
|
10333
|
-
}] }, { type: i1$
|
|
10342
|
+
}] }, { type: i1$5.ViewportRuler }, { type: undefined, decorators: [{
|
|
10334
10343
|
type: Optional
|
|
10335
10344
|
}, {
|
|
10336
10345
|
type: SkipSelf
|
|
@@ -10517,7 +10526,9 @@ class TableStickyHeaderDirective {
|
|
|
10517
10526
|
const resize$ = new Subject();
|
|
10518
10527
|
// Note: Passing the resize event to resize$ subject to be able
|
|
10519
10528
|
// to handle all the columnWidth update trigger in a single stream
|
|
10520
|
-
const resizeObserver = new ResizeObserver(() =>
|
|
10529
|
+
const resizeObserver = new ResizeObserver(() => {
|
|
10530
|
+
resize$.next();
|
|
10531
|
+
});
|
|
10521
10532
|
resizeObserver.observe(this.viewportEl);
|
|
10522
10533
|
this.unsubscribe$
|
|
10523
10534
|
.pipe(take$1(1), tap(() => resize$.complete()))
|
|
@@ -10594,7 +10605,7 @@ class TableStickyHeaderDirective {
|
|
|
10594
10605
|
this.setSticky();
|
|
10595
10606
|
}
|
|
10596
10607
|
}
|
|
10597
|
-
TableStickyHeaderDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TableStickyHeaderDirective, deps: [{ token: i0.Renderer2 }, { token: i1$
|
|
10608
|
+
TableStickyHeaderDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TableStickyHeaderDirective, deps: [{ token: i0.Renderer2 }, { token: i1$5.CdkVirtualScrollViewport }], target: i0.ɵɵFactoryTarget.Directive });
|
|
10598
10609
|
TableStickyHeaderDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: TableStickyHeaderDirective, selector: "cdk-virtual-scroll-viewport[tableStickyHeader]", inputs: { tableStickyHeader: "tableStickyHeader" }, host: { properties: { "class.sticky-table-header": "true" }, styleAttribute: "overflow-y:overlay" }, queries: [{ propertyName: "table", first: true, predicate: TableComponent, descendants: true }, { propertyName: "virtualFor", first: true, predicate: CdkVirtualForOf, descendants: true }], ngImport: i0 });
|
|
10599
10610
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TableStickyHeaderDirective, decorators: [{
|
|
10600
10611
|
type: Directive,
|
|
@@ -10605,7 +10616,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
10605
10616
|
style: "overflow-y:overlay",
|
|
10606
10617
|
},
|
|
10607
10618
|
}]
|
|
10608
|
-
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i1$
|
|
10619
|
+
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i1$5.CdkVirtualScrollViewport }]; }, propDecorators: { table: [{
|
|
10609
10620
|
type: ContentChild,
|
|
10610
10621
|
args: [TableComponent]
|
|
10611
10622
|
}], virtualFor: [{
|
|
@@ -11208,9 +11219,7 @@ class PopoverComponent {
|
|
|
11208
11219
|
else {
|
|
11209
11220
|
this.onTrigger("click");
|
|
11210
11221
|
}
|
|
11211
|
-
this.eventBusService
|
|
11212
|
-
.getStream({ id: DOCUMENT_CLICK_EVENT })
|
|
11213
|
-
.next(event);
|
|
11222
|
+
this.eventBusService.getStream(DOCUMENT_CLICK_EVENT).next(event);
|
|
11214
11223
|
event.stopPropagation();
|
|
11215
11224
|
}
|
|
11216
11225
|
onMouseEnter() {
|
|
@@ -11335,16 +11344,14 @@ class PopoverComponent {
|
|
|
11335
11344
|
}
|
|
11336
11345
|
}
|
|
11337
11346
|
activatePopover() {
|
|
11338
|
-
this.eventBusService.getStream(
|
|
11347
|
+
this.eventBusService.getStream(CLOSE_POPOVER_EVENT).next();
|
|
11339
11348
|
this.showPopover();
|
|
11340
11349
|
}
|
|
11341
11350
|
initializePopover() {
|
|
11342
11351
|
this.popoverModalSubscriptions = [];
|
|
11343
|
-
const closePopoverSubscription = merge(!this.preventClosing
|
|
11344
|
-
? this.eventBusService
|
|
11345
|
-
|
|
11346
|
-
.asObservable()
|
|
11347
|
-
: EMPTY, this.closePopover || EMPTY).subscribe(() => {
|
|
11352
|
+
const closePopoverSubscription = merge((!this.preventClosing
|
|
11353
|
+
? this.eventBusService.getStream(CLOSE_POPOVER_EVENT)
|
|
11354
|
+
: EMPTY), this.closePopover || EMPTY).subscribe(() => {
|
|
11348
11355
|
this.hidePopover();
|
|
11349
11356
|
});
|
|
11350
11357
|
if (!this.popover) {
|
|
@@ -11377,7 +11384,7 @@ class PopoverComponent {
|
|
|
11377
11384
|
});
|
|
11378
11385
|
if (this.isTriggerPresent("click") && !this.preventClosing) {
|
|
11379
11386
|
const documentClickSubscription = this.eventBusService
|
|
11380
|
-
.getStream(
|
|
11387
|
+
.getStream(DOCUMENT_CLICK_EVENT)
|
|
11381
11388
|
.subscribe((event) => {
|
|
11382
11389
|
const popoverModalNativeElement = this.popover?.instance.elRef.nativeElement;
|
|
11383
11390
|
const eventPath = UtilService.getEventPath(event);
|
|
@@ -11507,12 +11514,12 @@ class PopoverComponent {
|
|
|
11507
11514
|
this.resizeObserver.observe(this.overlayComponent.getOverlayRef().overlayElement);
|
|
11508
11515
|
}
|
|
11509
11516
|
}
|
|
11510
|
-
PopoverComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PopoverComponent, deps: [{ token: i0.ElementRef }, { token: i0.ComponentFactoryResolver }, { token: i0.ViewContainerRef }, { token: i1$
|
|
11517
|
+
PopoverComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PopoverComponent, deps: [{ token: i0.ElementRef }, { token: i0.ComponentFactoryResolver }, { token: i0.ViewContainerRef }, { token: i1$2.Overlay }, { token: i0.ChangeDetectorRef }, { token: EventBusService }, { token: PopoverPositionService }], target: i0.ɵɵFactoryTarget.Component });
|
|
11511
11518
|
PopoverComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PopoverComponent, selector: "nui-popover", inputs: { closePopover: "closePopover", openPopover: "openPopover", disabled: "disabled", trigger: "trigger", template: "template", placement: "placement", popoverTitle: "popoverTitle", icon: "icon", modal: "modal", container: "container", hasPadding: "hasPadding", preventClosing: "preventClosing", unlimited: "unlimited", delay: "delay", withGrowAfterOpen: "withGrowAfterOpen", popoverOverlayPosition: "popoverOverlayPosition" }, outputs: { shown: "shown", hidden: "hidden" }, host: { listeners: { "click": "onClick($event)", "mouseenter": "onMouseEnter()", "mouseleave": "onMouseLeave()", "focusin": "onFocusIn()", "focusout": "onFocusOut()" }, classAttribute: "nui-popover" }, providers: [PopoverPositionService], queries: [{ propertyName: "myTemplate", first: true, predicate: TemplateRef, descendants: true }], viewQueries: [{ propertyName: "renderContainer", first: true, predicate: ["renderContainer"], descendants: true }, { propertyName: "modalContainer", first: true, predicate: ["modalContainer"], descendants: true, read: ViewContainerRef }, { propertyName: "overlayComponent", first: true, predicate: OverlayComponent, descendants: true }], usesOnChanges: true, ngImport: i0, template: "<ng-content></ng-content>\n<nui-overlay\n [customContainer]=\"containerElementRef\"\n [toggleReference]=\"host.nativeElement\"\n [overlayConfig]=\"overlayConfig\"\n (clickOutside)=\"onBackdropClick()\"\n>\n <ng-template #modalContainer></ng-template>\n</nui-overlay>\n", styles: [".nui .nui-popover-container{padding:0;font-size:11px;border:none;background-color:var(--nui-color-bg-content_popover,#fff);background-clip:padding-box;border-radius:0;font-family:Open Sans,Helvetica Neue,Helvetica,Arial,sans-serif;font-style:normal;font-weight:400;letter-spacing:normal;line-break:auto;line-height:1.66666667;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;white-space:normal;word-break:normal;word-spacing:normal;word-wrap:normal}.nui .nui-popover-container:not(.unlimited){min-width:200px;max-width:350px;max-height:60vh}.nui .nui-popover-container-animation{-webkit-backface-visibility:hidden;backface-visibility:hidden}.nui .nui-popover-container__backdrop{position:absolute;top:0;right:0;bottom:0;left:0;position:fixed;background-color:var(--nui-color-overlay-modal,rgba(17, 17, 17, .5));z-index:1059;cursor:default}.nui .nui-popover-container__backdrop.ng-enter,.nui .nui-popover-container__backdrop.ng-leave{transition:all ease-in-out .2s}.nui .nui-popover-container__backdrop.ng-enter,.nui .nui-popover-container__backdrop.ng-leave.ng-leave-active{opacity:0}.nui .nui-popover-container__backdrop.ng-leave,.nui .nui-popover-container__backdrop.ng-enter.ng-enter-active{opacity:.5}.nui .nui-popover-container__backdrop.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:var(--nui-color-overlay-modal,rgba(17, 17, 17, .5))}.nui .nui-popover-container__backdrop.modal-backdrop.fade{opacity:0;filter:alpha(opacity=0)}.nui .nui-popover-container__backdrop.modal-backdrop.in{opacity:.5;filter:alpha(opacity=50)}.nui .nui-popover-container__frame{background-color:var(--nui-color-bg-content_popover,#fff)}.nui .nui-popover-container__frame.ng-enter,.nui .nui-popover-container__frame.ng-leave{transition:all ease-in-out .2s}.nui .nui-popover-container__frame.ng-enter,.nui .nui-popover-container__frame.ng-leave.ng-leave-active{opacity:0}.nui .nui-popover-container__frame.ng-leave,.nui .nui-popover-container__frame.ng-enter.ng-enter-active{opacity:1}.nui .nui-popover-container__header--with-border{border-bottom:1px solid #d9d9d9;border-bottom:1px solid var(--nui-color-line-default, #d9d9d9)}.nui .nui-popover-container__title{font-size:13px;font-weight:600;padding:10px;overflow:hidden;text-overflow:ellipsis;background-color:var(--nui-color-bg-content_popover,#fff);color:var(--nui-color-text-default,#111);white-space:nowrap}.nui .nui-popover-container__title--with-icon{padding-left:0}.nui .nui-popover-container__icon{float:left;margin:12px 5px 10px 10px}.nui .nui-popover-container__icon .nui-icon{margin:0}.nui .nui-popover-container__content{padding:10px;display:block;background-color:var(--nui-color-bg-content_popover,#fff)}.nui .nui-popover-container__content.noPadding{padding:0}.nui .nui-popover-container--shadow{box-shadow:0 3px 9px #11111180;box-shadow:0 3px 9px var(--nui-color-overlay-dark, rgba(17, 17, 17, .5))}.nui .nui-popover-container--hidden{visibility:hidden}.nui-popover-container-animation{box-shadow:0 0 5px 0 var(--nui-shadow-color, rgba(17, 17, 17, .3))}.overlay-left-bottom .nui-popover-container-animation .nui-overlay-arrow,.overlay-left-top .nui-popover-container-animation .nui-overlay-arrow{right:-6px}.overlay-right-bottom .nui-popover-container-animation .nui-overlay-arrow,.overlay-right-top .nui-popover-container-animation .nui-overlay-arrow{left:-6px}.overlay-left-top .nui-popover-container-animation .nui-overlay-arrow,.overlay-right-top .nui-popover-container-animation .nui-overlay-arrow{bottom:6px}.overlay-top-left .nui-popover-container-animation .nui-overlay-arrow,.overlay-top-right .nui-popover-container-animation .nui-overlay-arrow{bottom:-6px}.overlay-bottom-left .nui-popover-container-animation .nui-overlay-arrow,.overlay-bottom-right .nui-popover-container-animation .nui-overlay-arrow{top:-6px}.nui nui-popover-modal{display:flex;position:relative}.nui .nui-popover{display:inline-flex}.nui .modal-backdrop{background-color:var(--nui-color-overlay-modal,rgba(17, 17, 17, .5))}.nui .nui-popover-overlay{transform:none!important}.nui .nui-popover-overlay .nui-overlay{overflow:initial}\n"], components: [{ type: OverlayComponent, selector: "nui-overlay", inputs: ["overlayConfig", "toggleReference", "viewportMargin", "customContainer", "roleAttr"], outputs: ["clickOutside"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
11512
11519
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PopoverComponent, decorators: [{
|
|
11513
11520
|
type: Component,
|
|
11514
11521
|
args: [{ selector: "nui-popover", host: { class: "nui-popover" }, encapsulation: ViewEncapsulation.None, providers: [PopoverPositionService], template: "<ng-content></ng-content>\n<nui-overlay\n [customContainer]=\"containerElementRef\"\n [toggleReference]=\"host.nativeElement\"\n [overlayConfig]=\"overlayConfig\"\n (clickOutside)=\"onBackdropClick()\"\n>\n <ng-template #modalContainer></ng-template>\n</nui-overlay>\n", styles: [".nui .nui-popover-container{padding:0;font-size:11px;border:none;background-color:var(--nui-color-bg-content_popover,#fff);background-clip:padding-box;border-radius:0;font-family:Open Sans,Helvetica Neue,Helvetica,Arial,sans-serif;font-style:normal;font-weight:400;letter-spacing:normal;line-break:auto;line-height:1.66666667;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;white-space:normal;word-break:normal;word-spacing:normal;word-wrap:normal}.nui .nui-popover-container:not(.unlimited){min-width:200px;max-width:350px;max-height:60vh}.nui .nui-popover-container-animation{-webkit-backface-visibility:hidden;backface-visibility:hidden}.nui .nui-popover-container__backdrop{position:absolute;top:0;right:0;bottom:0;left:0;position:fixed;background-color:var(--nui-color-overlay-modal,rgba(17, 17, 17, .5));z-index:1059;cursor:default}.nui .nui-popover-container__backdrop.ng-enter,.nui .nui-popover-container__backdrop.ng-leave{transition:all ease-in-out .2s}.nui .nui-popover-container__backdrop.ng-enter,.nui .nui-popover-container__backdrop.ng-leave.ng-leave-active{opacity:0}.nui .nui-popover-container__backdrop.ng-leave,.nui .nui-popover-container__backdrop.ng-enter.ng-enter-active{opacity:.5}.nui .nui-popover-container__backdrop.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:var(--nui-color-overlay-modal,rgba(17, 17, 17, .5))}.nui .nui-popover-container__backdrop.modal-backdrop.fade{opacity:0;filter:alpha(opacity=0)}.nui .nui-popover-container__backdrop.modal-backdrop.in{opacity:.5;filter:alpha(opacity=50)}.nui .nui-popover-container__frame{background-color:var(--nui-color-bg-content_popover,#fff)}.nui .nui-popover-container__frame.ng-enter,.nui .nui-popover-container__frame.ng-leave{transition:all ease-in-out .2s}.nui .nui-popover-container__frame.ng-enter,.nui .nui-popover-container__frame.ng-leave.ng-leave-active{opacity:0}.nui .nui-popover-container__frame.ng-leave,.nui .nui-popover-container__frame.ng-enter.ng-enter-active{opacity:1}.nui .nui-popover-container__header--with-border{border-bottom:1px solid #d9d9d9;border-bottom:1px solid var(--nui-color-line-default, #d9d9d9)}.nui .nui-popover-container__title{font-size:13px;font-weight:600;padding:10px;overflow:hidden;text-overflow:ellipsis;background-color:var(--nui-color-bg-content_popover,#fff);color:var(--nui-color-text-default,#111);white-space:nowrap}.nui .nui-popover-container__title--with-icon{padding-left:0}.nui .nui-popover-container__icon{float:left;margin:12px 5px 10px 10px}.nui .nui-popover-container__icon .nui-icon{margin:0}.nui .nui-popover-container__content{padding:10px;display:block;background-color:var(--nui-color-bg-content_popover,#fff)}.nui .nui-popover-container__content.noPadding{padding:0}.nui .nui-popover-container--shadow{box-shadow:0 3px 9px #11111180;box-shadow:0 3px 9px var(--nui-color-overlay-dark, rgba(17, 17, 17, .5))}.nui .nui-popover-container--hidden{visibility:hidden}.nui-popover-container-animation{box-shadow:0 0 5px 0 var(--nui-shadow-color, rgba(17, 17, 17, .3))}.overlay-left-bottom .nui-popover-container-animation .nui-overlay-arrow,.overlay-left-top .nui-popover-container-animation .nui-overlay-arrow{right:-6px}.overlay-right-bottom .nui-popover-container-animation .nui-overlay-arrow,.overlay-right-top .nui-popover-container-animation .nui-overlay-arrow{left:-6px}.overlay-left-top .nui-popover-container-animation .nui-overlay-arrow,.overlay-right-top .nui-popover-container-animation .nui-overlay-arrow{bottom:6px}.overlay-top-left .nui-popover-container-animation .nui-overlay-arrow,.overlay-top-right .nui-popover-container-animation .nui-overlay-arrow{bottom:-6px}.overlay-bottom-left .nui-popover-container-animation .nui-overlay-arrow,.overlay-bottom-right .nui-popover-container-animation .nui-overlay-arrow{top:-6px}.nui nui-popover-modal{display:flex;position:relative}.nui .nui-popover{display:inline-flex}.nui .modal-backdrop{background-color:var(--nui-color-overlay-modal,rgba(17, 17, 17, .5))}.nui .nui-popover-overlay{transform:none!important}.nui .nui-popover-overlay .nui-overlay{overflow:initial}\n"] }]
|
|
11515
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ComponentFactoryResolver }, { type: i0.ViewContainerRef }, { type: i1$
|
|
11522
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ComponentFactoryResolver }, { type: i0.ViewContainerRef }, { type: i1$2.Overlay }, { type: i0.ChangeDetectorRef }, { type: EventBusService }, { type: PopoverPositionService }]; }, propDecorators: { closePopover: [{
|
|
11516
11523
|
type: Input
|
|
11517
11524
|
}], openPopover: [{
|
|
11518
11525
|
type: Input
|
|
@@ -11697,7 +11704,7 @@ class WizardFooterComponent {
|
|
|
11697
11704
|
: null;
|
|
11698
11705
|
}
|
|
11699
11706
|
}
|
|
11700
|
-
WizardFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WizardFooterComponent, deps: [{ token: i1$
|
|
11707
|
+
WizardFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WizardFooterComponent, deps: [{ token: i1$3.FocusMonitor }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
11701
11708
|
WizardFooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: WizardFooterComponent, selector: "wizard-footer", inputs: { footer: "footer" }, host: { attributes: { "role": "tab" }, classAttribute: "nui-wizard-footer" }, ngImport: i0, template: "<ng-container\n *ngIf=\"_templateFooter()\"\n [ngTemplateOutlet]=\"_templateFooter()!.template\"\n></ng-container>\n", styles: [".nui-wizard-footer{border-top:1px solid;border-top-color:var(--nui-color-line-default,#d9d9d9);padding:15px;display:flex;justify-content:flex-end;width:100%}.nui-wizard-footer>.nui-button{margin-left:15px}\n"], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
11702
11709
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WizardFooterComponent, decorators: [{
|
|
11703
11710
|
type: Component,
|
|
@@ -11705,10 +11712,34 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
11705
11712
|
class: "nui-wizard-footer",
|
|
11706
11713
|
role: "tab",
|
|
11707
11714
|
}, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container\n *ngIf=\"_templateFooter()\"\n [ngTemplateOutlet]=\"_templateFooter()!.template\"\n></ng-container>\n", styles: [".nui-wizard-footer{border-top:1px solid;border-top-color:var(--nui-color-line-default,#d9d9d9);padding:15px;display:flex;justify-content:flex-end;width:100%}.nui-wizard-footer>.nui-button{margin-left:15px}\n"] }]
|
|
11708
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
11715
|
+
}], ctorParameters: function () { return [{ type: i1$3.FocusMonitor }, { type: i0.ElementRef }]; }, propDecorators: { footer: [{
|
|
11709
11716
|
type: Input
|
|
11710
11717
|
}] } });
|
|
11711
11718
|
|
|
11719
|
+
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
11720
|
+
const WIZARD_CONFIG = new InjectionToken("wizard.conf");
|
|
11721
|
+
const WIZARD_STEP_STATE_DEFAULT_CONFIG = {
|
|
11722
|
+
initial: {
|
|
11723
|
+
icon: "step",
|
|
11724
|
+
iconColor: "gray",
|
|
11725
|
+
},
|
|
11726
|
+
visited: {
|
|
11727
|
+
icon: "step-complete",
|
|
11728
|
+
iconColor: "primary-blue",
|
|
11729
|
+
},
|
|
11730
|
+
active: {
|
|
11731
|
+
icon: "step-active",
|
|
11732
|
+
iconColor: "black",
|
|
11733
|
+
},
|
|
11734
|
+
error: {
|
|
11735
|
+
icon: "step-active",
|
|
11736
|
+
iconColor: "black",
|
|
11737
|
+
},
|
|
11738
|
+
};
|
|
11739
|
+
const WIZARD_CONFIG_DEFAULT = {
|
|
11740
|
+
stepState: { ...WIZARD_STEP_STATE_DEFAULT_CONFIG },
|
|
11741
|
+
};
|
|
11742
|
+
|
|
11712
11743
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
11713
11744
|
class WizardStepLabelDirective extends CdkStepLabel {
|
|
11714
11745
|
}
|
|
@@ -11886,7 +11917,7 @@ class WizardStepHeaderComponent extends CdkStepHeader {
|
|
|
11886
11917
|
return STEP_STATE.NUMBER;
|
|
11887
11918
|
}
|
|
11888
11919
|
}
|
|
11889
|
-
WizardStepHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WizardStepHeaderComponent, deps: [{ token: i1$
|
|
11920
|
+
WizardStepHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WizardStepHeaderComponent, deps: [{ token: i1$3.FocusMonitor }, { token: i0.ElementRef }, { token: WIZARD_CONFIG, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
11890
11921
|
WizardStepHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: WizardStepHeaderComponent, selector: "nui-wizard-step-header", inputs: { stepStateConfig: "stepStateConfig", label: "label", optionalLabel: "optionalLabel", errorMessage: "errorMessage", index: "index", selected: "selected", active: "active", step: "step" }, host: { attributes: { "role": "tab" }, properties: { "class.nui-wizard-step-header--selected": "selected", "class.nui-wizard-step-header--optional": "step.optional", "class.nui-wizard-step-header--completed": "stepState === 'done'" }, classAttribute: "nui-wizard-step-header" }, usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<div\n class=\"nui-wizard-step-header__label\"\n [nuiTooltip]=\"stringLabel ? stringLabel : ''\"\n [class.nui-wizard-step-header__label--active]=\"step.completed\"\n [class.nui-wizard-step-header__label--selected]=\"selected\"\n [class.nui-wizard-step-header__label--error]=\"stepState === 'error'\"\n>\n <!-- If there is a label template, use it. -->\n <ng-container\n *ngIf=\"templateLabel\"\n [ngTemplateOutlet]=\"templateLabel?.template\"\n ></ng-container>\n\n <!-- If there is no label template, fall back to the text label. -->\n <div class=\"nui-wizard-step-header__text-label\" *ngIf=\"stringLabel\">\n {{ label }}\n </div>\n\n <div\n class=\"nui-wizard-step-header__label--optional\"\n *ngIf=\"step.optional && stepState !== 'error'\"\n >\n {{ optionalLabel }}\n </div>\n <div\n class=\"nui-wizard-step-header__label--error\"\n *ngIf=\"stepState === 'error'\"\n >\n {{ errorMessage }}\n </div>\n</div>\n\n<div\n class=\"nui-wizard-step-header-icon nui-step-header-icon-state--{{\n stepState\n }}\"\n>\n <div class=\"nui-wizard-step-header-icon-container\">\n <span class=\"nui-wizard-step-header-icon-content\">\n <ng-container>\n <nui-icon\n [icon]=\"stepStateConfigMap[stepState].icon\"\n [iconColor]=\"stepStateConfigMap[stepState].iconColor\"\n ></nui-icon>\n </ng-container>\n </span>\n </div>\n</div>\n", styles: [".nui-wizard-step-header{overflow:hidden;outline:none;cursor:pointer;position:relative;color:var(--nui-color-text-default,#111);width:145px}.nui-wizard-step-header--completed{color:var(--nui-color-text-link,#0079aa)}.nui-wizard-step-header:focus{outline:none;box-shadow:inset 0 0 0 2px #00c4d280;border-radius:3px}.nui-wizard-step-header:focus:not(:focus-visible){box-shadow:unset;border-radius:unset}.nui-wizard-step-header-icon{height:16px;width:16px;position:relative}.nui-popover-container__content .nui-wizard-step-header-icon{display:flex;align-self:flex-end}.nui-wizard-step-header-icon-content{font-size:16px;height:16px;width:16px;position:relative;top:4px}.nui-wizard-step-header-icon-container .nui-icon{position:relative;top:50%;left:50%;transform:translate(-50%,-50%)}.nui-wizard-step-header__label{display:inline-block;min-width:50px;max-width:130px;vertical-align:middle;padding-bottom:5px;line-height:14px;font-size:11px;white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;text-overflow:ellipsis;color:var(--nui-color-text-secondary,rgba(17, 17, 17, .6))}.nui-wizard-step-header__label--active{color:var(--nui-color-text-link,#0079aa)}.nui-wizard-step-header__label--selected{color:var(--nui-color-text-default,#111)}.nui-popover-container__content .nui-wizard-step-header__label{padding:0}.nui-wizard-step-header__text-label{white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;text-overflow:ellipsis}\n"], components: [{ type: IconComponent, selector: "nui-icon", inputs: ["iconColor", "brushType", "iconHoverColor", "iconSize", "cssClass", "fillContainer", "status", "childStatus", "icon", "counter"] }], directives: [{ type: TooltipDirective, selector: "[nuiTooltip]", inputs: ["tooltipPlacement", "nuiTooltipDisabled", "nuiTooltip"], exportAs: ["nuiTooltip"] }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
11891
11922
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WizardStepHeaderComponent, decorators: [{
|
|
11892
11923
|
type: Component,
|
|
@@ -11897,7 +11928,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
11897
11928
|
"[class.nui-wizard-step-header--completed]": "stepState === 'done'",
|
|
11898
11929
|
role: "tab",
|
|
11899
11930
|
}, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div\n class=\"nui-wizard-step-header__label\"\n [nuiTooltip]=\"stringLabel ? stringLabel : ''\"\n [class.nui-wizard-step-header__label--active]=\"step.completed\"\n [class.nui-wizard-step-header__label--selected]=\"selected\"\n [class.nui-wizard-step-header__label--error]=\"stepState === 'error'\"\n>\n <!-- If there is a label template, use it. -->\n <ng-container\n *ngIf=\"templateLabel\"\n [ngTemplateOutlet]=\"templateLabel?.template\"\n ></ng-container>\n\n <!-- If there is no label template, fall back to the text label. -->\n <div class=\"nui-wizard-step-header__text-label\" *ngIf=\"stringLabel\">\n {{ label }}\n </div>\n\n <div\n class=\"nui-wizard-step-header__label--optional\"\n *ngIf=\"step.optional && stepState !== 'error'\"\n >\n {{ optionalLabel }}\n </div>\n <div\n class=\"nui-wizard-step-header__label--error\"\n *ngIf=\"stepState === 'error'\"\n >\n {{ errorMessage }}\n </div>\n</div>\n\n<div\n class=\"nui-wizard-step-header-icon nui-step-header-icon-state--{{\n stepState\n }}\"\n>\n <div class=\"nui-wizard-step-header-icon-container\">\n <span class=\"nui-wizard-step-header-icon-content\">\n <ng-container>\n <nui-icon\n [icon]=\"stepStateConfigMap[stepState].icon\"\n [iconColor]=\"stepStateConfigMap[stepState].iconColor\"\n ></nui-icon>\n </ng-container>\n </span>\n </div>\n</div>\n", styles: [".nui-wizard-step-header{overflow:hidden;outline:none;cursor:pointer;position:relative;color:var(--nui-color-text-default,#111);width:145px}.nui-wizard-step-header--completed{color:var(--nui-color-text-link,#0079aa)}.nui-wizard-step-header:focus{outline:none;box-shadow:inset 0 0 0 2px #00c4d280;border-radius:3px}.nui-wizard-step-header:focus:not(:focus-visible){box-shadow:unset;border-radius:unset}.nui-wizard-step-header-icon{height:16px;width:16px;position:relative}.nui-popover-container__content .nui-wizard-step-header-icon{display:flex;align-self:flex-end}.nui-wizard-step-header-icon-content{font-size:16px;height:16px;width:16px;position:relative;top:4px}.nui-wizard-step-header-icon-container .nui-icon{position:relative;top:50%;left:50%;transform:translate(-50%,-50%)}.nui-wizard-step-header__label{display:inline-block;min-width:50px;max-width:130px;vertical-align:middle;padding-bottom:5px;line-height:14px;font-size:11px;white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;text-overflow:ellipsis;color:var(--nui-color-text-secondary,rgba(17, 17, 17, .6))}.nui-wizard-step-header__label--active{color:var(--nui-color-text-link,#0079aa)}.nui-wizard-step-header__label--selected{color:var(--nui-color-text-default,#111)}.nui-popover-container__content .nui-wizard-step-header__label{padding:0}.nui-wizard-step-header__text-label{white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;text-overflow:ellipsis}\n"] }]
|
|
11900
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
11931
|
+
}], ctorParameters: function () { return [{ type: i1$3.FocusMonitor }, { type: i0.ElementRef }, { type: undefined, decorators: [{
|
|
11901
11932
|
type: Optional
|
|
11902
11933
|
}, {
|
|
11903
11934
|
type: Inject,
|
|
@@ -12296,7 +12327,7 @@ WizardHorizontalComponent.ngAcceptInputTypeEditable = undefined;
|
|
|
12296
12327
|
WizardHorizontalComponent.ngAcceptInputTypeOptional = undefined;
|
|
12297
12328
|
WizardHorizontalComponent.ngAcceptInputTypeCompleted = undefined;
|
|
12298
12329
|
WizardHorizontalComponent.ngAcceptInputTypeHasError = undefined;
|
|
12299
|
-
WizardHorizontalComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WizardHorizontalComponent, deps: [{ token: i1$
|
|
12330
|
+
WizardHorizontalComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WizardHorizontalComponent, deps: [{ token: i1$4.Directionality }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Component });
|
|
12300
12331
|
WizardHorizontalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: WizardHorizontalComponent, selector: "nui-wizard-horizontal", inputs: { selectedIndex: "selectedIndex", labelPosition: "labelPosition" }, host: { attributes: { "aria-orientation": "horizontal", "role": "tablist" }, properties: { "class.nui-wizard-step-header__label-position--end": "labelPosition == 'end'", "class.nui-wizard-step-header__label-position--top": "labelPosition == 'top'" }, classAttribute: "nui-wizard-horizontal-layout" }, providers: [
|
|
12301
12332
|
{ provide: WizardDirective, useExisting: WizardHorizontalComponent },
|
|
12302
12333
|
{ provide: CdkStepper, useExisting: WizardHorizontalComponent },
|
|
@@ -12313,7 +12344,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
12313
12344
|
{ provide: WizardDirective, useExisting: WizardHorizontalComponent },
|
|
12314
12345
|
{ provide: CdkStepper, useExisting: WizardHorizontalComponent },
|
|
12315
12346
|
], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"nui-wizard-horizontal-header-container\" #headerContainer>\n <!-- Left overflow container -->\n <ng-container *ngIf=\"isInResponsiveMode && overflownStepsStart.length\">\n <nui-wizard-overflow\n #overflowComponent\n class=\"overflow-left\"\n [template]=\"overflowStart\"\n [completed]=\"true\"\n [value]=\"overflownStepsStart.length\"\n >\n </nui-wizard-overflow>\n\n <ng-template #overflowStart>\n <div *ngIf=\"overflownStepsStart.length\" class=\"pb-3\">\n <strong>+{{ overflownStepsStart.length }} more steps</strong>\n </div>\n <div\n class=\"nui-wizard-horizontal-header-wrapper\"\n *ngFor=\"\n let step of overflownStepsStart;\n let i = index;\n let isFirst = first\n \"\n >\n <ng-template\n *ngTemplateOutlet=\"\n stepHeaderWithLines;\n context: {\n $implicit: steps,\n step: step,\n i: i,\n isFirst: isFirst\n }\n \"\n ></ng-template>\n </div>\n </ng-template>\n </ng-container>\n\n <!-- Visible items container -->\n <div\n class=\"nui-wizard-horizontal-header-wrapper\"\n *ngFor=\"\n let step of isInResponsiveMode ? visibleSteps : steps;\n let i = index;\n let isFirst = first\n \"\n >\n <ng-template\n *ngTemplateOutlet=\"\n stepHeaderWithLines;\n context: {\n $implicit: steps,\n step: step,\n i: overflownStepsStart.length + i,\n isFirst: isFirst\n }\n \"\n ></ng-template>\n </div>\n\n <!-- Right overflow container -->\n <ng-container *ngIf=\"isInResponsiveMode && overflownStepsEnd.length\">\n <nui-wizard-overflow\n #overflowComponent\n class=\"overflow-right\"\n [class.overflow-right-completed]=\"allStepsCompleted\"\n [template]=\"overflowEnd\"\n [completed]=\"allStepsCompleted\"\n [value]=\"overflownStepsEnd.length\"\n >\n </nui-wizard-overflow>\n\n <ng-template #overflowEnd>\n <div *ngIf=\"overflownStepsEnd.length\" class=\"pb-3\">\n <strong>+{{ overflownStepsEnd.length }} more steps</strong>\n </div>\n <div\n class=\"nui-wizard-horizontal-header-wrapper\"\n *ngFor=\"\n let step of overflownStepsEnd;\n let i = index;\n let isFirst = first\n \"\n >\n <ng-template\n *ngTemplateOutlet=\"\n stepHeaderWithLines;\n context: {\n $implicit: steps,\n step: step,\n i:\n overflownStepsStart.length +\n visibleSteps.length +\n i,\n isFirst: isFirst\n }\n \"\n ></ng-template>\n </div>\n </ng-template>\n </ng-container>\n</div>\n\n<div class=\"nui-wizard-horizontal-content-container\">\n <div\n *ngFor=\"let step of steps; let i = index\"\n class=\"nui-wizard-horizontal-content\"\n role=\"tabpanel\"\n [id]=\"stepContentIds[i]\"\n [attr.aria-labelledby]=\"labelIds[i]\"\n [attr.aria-expanded]=\"selectedIndex === i\"\n >\n <ng-container [ngTemplateOutlet]=\"step.content\"></ng-container>\n </div>\n</div>\n<div\n *ngIf=\"selected?.stepFooter\"\n class=\"nui-wizard-horizontal-footer-container\"\n>\n <wizard-footer [footer]=\"selected?.stepFooter\"></wizard-footer>\n</div>\n\n<ng-template\n #stepHeaderWithLines\n let-steps\n let-step=\"step\"\n let-i=\"i\"\n let-isFirst=\"isFirst\"\n>\n <div\n *ngIf=\"!isFirst\"\n class=\"nui-wizard-horizontal__step-connector-line\"\n [ngClass]=\"{\n 'nui-wizard-horizontal__step-connector-line--completed':\n (stepsArray[i - 1]?.completed && step.completed) ||\n selectedIndex === i\n }\"\n ></div>\n <nui-wizard-step-header\n #stepHeaders\n class=\"nui-wizard-horizontal-header\"\n (click)=\"step.select()\"\n (keydown)=\"_onKeydown($event)\"\n [tabIndex]=\"selectedIndex === i ? 0 : -1\"\n [id]=\"labelIds[i]\"\n [attr.aria-posinset]=\"i + 1\"\n [attr.aria-setsize]=\"steps.length\"\n [attr.aria-controls]=\"stepContentIds[i]\"\n [attr.aria-selected]=\"selectedIndex === i\"\n [attr.aria-label]=\"step.ariaLabel || null\"\n [attr.aria-labelledby]=\"\n !step.ariaLabel && step.ariaLabelledby ? step.ariaLabelledby : null\n \"\n [index]=\"i\"\n [stepStateConfig]=\"step.stepStateConfig\"\n [label]=\"step.stepLabel || step.label\"\n [selected]=\"selectedIndex === i\"\n [active]=\"step.completed || selectedIndex === i || !linear\"\n [step]=\"step\"\n [errorMessage]=\"step.errorMessage\"\n >\n </nui-wizard-step-header>\n</ng-template>\n", styles: [".nui-wizard-vertical,.nui-wizard-horizontal{display:block}.nui-dialog .nui-wizard-vertical,.nui-dialog .nui-wizard-horizontal{padding-top:0}.nui-dialog .nui-wizard-vertical .nui-wizard-horizontal-header-container,.nui-dialog .nui-wizard-horizontal .nui-wizard-horizontal-header-container{border-top:none}.nui-wizard-horizontal-header{display:flex;min-height:32px;max-height:72px;align-items:center}.nui-popover-container__content .nui-wizard-horizontal-header{flex-flow:row-reverse;justify-content:flex-end;padding:0;min-height:17px}[dir=rtl] .nui-wizard-horizontal-header .nui-wizard-step-header-icon{margin-right:0;margin-left:0}.nui-popover-container__content .nui-wizard-horizontal-header .nui-wizard-step-header-icon{margin-right:5px}.nui-wizard-step-header__label-position--top .nui-wizard-horizontal-header{flex-direction:column;height:auto}.nui-wizard-step-header__label-position--top .nui-wizard-horizontal-header .nui-wizard-step-header-icon{margin-right:0;margin-left:0}.nui-wizard-horizontal-header-container{display:flex;justify-content:center;text-align:center;padding:10px;border:1px solid;border-left:none;border-right:none;overflow:hidden;white-space:nowrap;align-items:center;background-color:var(--nui-color-bg-secondary,#fafafa);border-color:var(--nui-color-line-default,#d9d9d9);-webkit-user-select:none;-o-user-select:none;user-select:none}.nui-wizard-horizontal-header-wrapper{position:relative}.nui-popover-container__content .nui-wizard-horizontal-header-wrapper:not(:last-child){margin-bottom:5px}.nui-popover-container__content .nui-wizard-horizontal-header-wrapper:hover{background-color:var(--nui-color-bg-secondary,#fafafa)}.nui-wizard-horizontal__step-connector-line{border-top-width:2px;border-top-style:solid;border-color:var(--nui-color-line-default,#d9d9d9)}.nui-wizard-horizontal__step-connector-line--completed{border-color:var(--nui-color-text-link,#0079aa)}.nui-wizard-step-header__label-position--top .nui-wizard-horizontal__step-connector-line{bottom:8px;right:80.5px;width:129px;position:absolute}.nui-popover-container__content .nui-wizard-horizontal__step-connector-line{position:absolute;top:-6px;left:7px;height:6px;border-left-width:1px;border-left-style:solid;border-top:none;border-bottom:none;border-right:none}.nui-wizard-horizontal-content{outline:0}.nui-wizard-horizontal-content[aria-expanded=false]{height:0;overflow:hidden}.nui-wizard-horizontal-content-container{overflow:hidden}.nui-wizard-vertical-content{outline:0;overflow:hidden}.nui-wizard-vertical-content-container{margin-left:36px;border:0;position:relative}[dir=rtl] .nui-wizard-vertical-content-container{margin-left:0;margin-right:36px}.nui-wizard-vertical-line:before{content:\"\";position:absolute;left:0;border-left-width:2px;border-left-style:solid}[dir=rtl] .nui-wizard-vertical-line:before{left:auto;right:0}.nui-step:last-child .nui-wizard-vertical-content-container{border:none}\n"] }]
|
|
12316
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
12347
|
+
}], ctorParameters: function () { return [{ type: i1$4.Directionality }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: undefined, decorators: [{
|
|
12317
12348
|
type: Inject,
|
|
12318
12349
|
args: [DOCUMENT]
|
|
12319
12350
|
}] }]; }, propDecorators: { selectedIndex: [{
|
|
@@ -12350,7 +12381,7 @@ WizardVerticalComponent.ngAcceptInputTypeEditable = undefined;
|
|
|
12350
12381
|
WizardVerticalComponent.ngAcceptInputTypeOptional = undefined;
|
|
12351
12382
|
WizardVerticalComponent.ngAcceptInputTypeCompleted = undefined;
|
|
12352
12383
|
WizardVerticalComponent.ngAcceptInputTypeHasError = undefined;
|
|
12353
|
-
WizardVerticalComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WizardVerticalComponent, deps: [{ token: i1$
|
|
12384
|
+
WizardVerticalComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WizardVerticalComponent, deps: [{ token: i1$4.Directionality, optional: true }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Component });
|
|
12354
12385
|
WizardVerticalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: WizardVerticalComponent, selector: "nui-wizard-vertical", inputs: { selectedIndex: "selectedIndex" }, host: { attributes: { "aria-orientation": "vertical", "role": "tablist" }, classAttribute: "nui-wizard-vertical-layout" }, providers: [
|
|
12355
12386
|
{ provide: WizardDirective, useExisting: WizardVerticalComponent },
|
|
12356
12387
|
{ provide: CdkStepper, useExisting: WizardVerticalComponent },
|
|
@@ -12365,7 +12396,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
12365
12396
|
{ provide: WizardDirective, useExisting: WizardVerticalComponent },
|
|
12366
12397
|
{ provide: CdkStepper, useExisting: WizardVerticalComponent },
|
|
12367
12398
|
], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div\n class=\"nui-wizard-vertical-header-container\"\n *ngFor=\"let step of steps; let i = index; let isLast = last\"\n>\n <nui-wizard-step-header\n class=\"nui-wizard-vertical-header\"\n (click)=\"step.select()\"\n (keydown)=\"_onKeydown($event)\"\n [tabIndex]=\"_getFocusIndex() === i ? 0 : -1\"\n [id]=\"labelIds[i]\"\n [attr.aria-posinset]=\"i + 1\"\n [attr.aria-setsize]=\"steps.length\"\n [attr.aria-controls]=\"stepContentIds[i]\"\n [attr.aria-selected]=\"selectedIndex === i\"\n [attr.aria-label]=\"step.ariaLabel || null\"\n [attr.aria-labelledby]=\"\n !step.ariaLabel && step.ariaLabelledby ? step.ariaLabelledby : null\n \"\n [index]=\"i\"\n [label]=\"step.stepLabel || step.label\"\n [selected]=\"selectedIndex === i\"\n [active]=\"step.completed || selectedIndex === i || !linear\"\n [errorMessage]=\"step.errorMessage\"\n >\n </nui-wizard-step-header>\n\n <div\n class=\"nui-wizard-vertical-content-container\"\n [class.nui-wizard-vertical-line]=\"!isLast\"\n >\n <div\n class=\"nui-wizard-vertical-content\"\n role=\"tabpanel\"\n [attr.tabindex]=\"selectedIndex === i ? 0 : null\"\n [id]=\"_getStepContentId(i)\"\n [attr.aria-labelledby]=\"_getStepLabelId(i)\"\n [attr.aria-expanded]=\"selectedIndex === i\"\n >\n <div class=\"nui-wizard-vertical-content\">\n <ng-container [ngTemplateOutlet]=\"step.content\"></ng-container>\n </div>\n </div>\n </div>\n</div>\n\n<div *ngIf=\"selected.stepFooter\" class=\"nui-wizard-vertical-footer-container\">\n <wizard-footer [footer]=\"selected.stepFooter\"></wizard-footer>\n</div>\n", styles: [".nui-wizard-vertical,.nui-wizard-horizontal{display:block}.nui-dialog .nui-wizard-vertical,.nui-dialog .nui-wizard-horizontal{padding-top:0}.nui-dialog .nui-wizard-vertical .nui-wizard-horizontal-header-container,.nui-dialog .nui-wizard-horizontal .nui-wizard-horizontal-header-container{border-top:none}.nui-wizard-horizontal-header{display:flex;min-height:32px;max-height:72px;align-items:center}.nui-popover-container__content .nui-wizard-horizontal-header{flex-flow:row-reverse;justify-content:flex-end;padding:0;min-height:17px}[dir=rtl] .nui-wizard-horizontal-header .nui-wizard-step-header-icon{margin-right:0;margin-left:0}.nui-popover-container__content .nui-wizard-horizontal-header .nui-wizard-step-header-icon{margin-right:5px}.nui-wizard-step-header__label-position--top .nui-wizard-horizontal-header{flex-direction:column;height:auto}.nui-wizard-step-header__label-position--top .nui-wizard-horizontal-header .nui-wizard-step-header-icon{margin-right:0;margin-left:0}.nui-wizard-horizontal-header-container{display:flex;justify-content:center;text-align:center;padding:10px;border:1px solid;border-left:none;border-right:none;overflow:hidden;white-space:nowrap;align-items:center;background-color:var(--nui-color-bg-secondary,#fafafa);border-color:var(--nui-color-line-default,#d9d9d9);-webkit-user-select:none;-o-user-select:none;user-select:none}.nui-wizard-horizontal-header-wrapper{position:relative}.nui-popover-container__content .nui-wizard-horizontal-header-wrapper:not(:last-child){margin-bottom:5px}.nui-popover-container__content .nui-wizard-horizontal-header-wrapper:hover{background-color:var(--nui-color-bg-secondary,#fafafa)}.nui-wizard-horizontal__step-connector-line{border-top-width:2px;border-top-style:solid;border-color:var(--nui-color-line-default,#d9d9d9)}.nui-wizard-horizontal__step-connector-line--completed{border-color:var(--nui-color-text-link,#0079aa)}.nui-wizard-step-header__label-position--top .nui-wizard-horizontal__step-connector-line{bottom:8px;right:80.5px;width:129px;position:absolute}.nui-popover-container__content .nui-wizard-horizontal__step-connector-line{position:absolute;top:-6px;left:7px;height:6px;border-left-width:1px;border-left-style:solid;border-top:none;border-bottom:none;border-right:none}.nui-wizard-horizontal-content{outline:0}.nui-wizard-horizontal-content[aria-expanded=false]{height:0;overflow:hidden}.nui-wizard-horizontal-content-container{overflow:hidden}.nui-wizard-vertical-content{outline:0;overflow:hidden}.nui-wizard-vertical-content-container{margin-left:36px;border:0;position:relative}[dir=rtl] .nui-wizard-vertical-content-container{margin-left:0;margin-right:36px}.nui-wizard-vertical-line:before{content:\"\";position:absolute;left:0;border-left-width:2px;border-left-style:solid}[dir=rtl] .nui-wizard-vertical-line:before{left:auto;right:0}.nui-step:last-child .nui-wizard-vertical-content-container{border:none}\n"] }]
|
|
12368
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
12399
|
+
}], ctorParameters: function () { return [{ type: i1$4.Directionality, decorators: [{
|
|
12369
12400
|
type: Optional
|
|
12370
12401
|
}] }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: undefined, decorators: [{
|
|
12371
12402
|
type: Inject,
|
|
@@ -12523,7 +12554,7 @@ class SelectV2Component extends BaseSelectV2 {
|
|
|
12523
12554
|
this.displayText = this.selectedOptions[0]?.viewValue || "";
|
|
12524
12555
|
}
|
|
12525
12556
|
}
|
|
12526
|
-
SelectV2Component.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SelectV2Component, deps: [{ token: i0.ElementRef }, { token: OptionKeyControlService }, { token: i0.ChangeDetectorRef }, { token: i1$
|
|
12557
|
+
SelectV2Component.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SelectV2Component, deps: [{ token: i0.ElementRef }, { token: OptionKeyControlService }, { token: i0.ChangeDetectorRef }, { token: i1$3.LiveAnnouncer }], target: i0.ɵɵFactoryTarget.Component });
|
|
12527
12558
|
SelectV2Component.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: SelectV2Component, selector: "nui-select-v2", inputs: { displayValueTemplate: "displayValueTemplate" }, host: { attributes: { "role": "button" }, classAttribute: "nui-select-v2" }, providers: [
|
|
12528
12559
|
OptionKeyControlService,
|
|
12529
12560
|
{
|
|
@@ -12563,7 +12594,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
12563
12594
|
class: "nui-select-v2",
|
|
12564
12595
|
role: "button",
|
|
12565
12596
|
}, template: "<div\n tabindex=\"0\"\n #input\n class=\"nui-select-v2__container\"\n [attr.aria-label]=\"ariaLabel\"\n (keydown)=\"onKeyDown($event)\"\n>\n <div *ngIf=\"!displayValueTemplate\" class=\"nui-select-v2__value\">\n <div *ngIf=\"!isEmpty\" class=\"nui-select-v2__value-content\">\n <span>{{ displayText || \"\\u00A0\" }}</span>\n </div>\n <span class=\"nui-select-v2__placeholder\" *ngIf=\"isEmpty\">{{\n placeholder || \"\\u00A0\"\n }}</span>\n\n <nui-icon\n [style.transform]=\"isDropdownOpen ? 'rotate(180deg)' : ''\"\n [icon]=\"caretIcon\"\n ></nui-icon>\n </div>\n\n <ng-container\n *ngIf=\"displayValueTemplate\"\n [ngTemplateOutlet]=\"displayValueTemplate\"\n [ngTemplateOutletContext]=\"{\n $implicit: getLastSelectedOption()?.displayValueContext || value,\n open: isDropdownOpen\n }\"\n ></ng-container>\n</div>\n<nui-overlay\n roleAttr=\"listbox\"\n [toggleReference]=\"elRef.nativeElement\"\n [viewportMargin]=\"popupViewportMargin\"\n [overlayConfig]=\"overlayConfig\"\n>\n <ng-content></ng-content>\n</nui-overlay>\n", styles: [".nui-select-v2{border-width:1px;border-style:solid;border-radius:3px;color:var(--nui-color-text-link,#0079aa);background-color:var(--transparent,transparent);border-color:var(--nui-color-line-default,#d9d9d9);display:flex;position:relative;color:var(--nui-color-text-default,#111);box-sizing:border-box;min-height:28px;min-width:100px}.nui-select-v2.default{color:var(--nui-color-text-link,#0079aa);background-color:var(--transparent,transparent);border-color:var(--nui-color-line-default,#d9d9d9)}.nui-select-v2.default:focus,.nui-select-v2.default.focus{color:var(--nui-color-text-link,#0079aa);background-color:var(--nui-color-bg-transparent-hover,rgba(17, 17, 17, .05));border-color:var(--nui-color-btn1-focusBrd,#cbcbcb);outline:none;z-index:500;box-shadow:0 0 0 2px #00c4d280}.nui-select-v2.default:hover{color:var(--nui-color-text-link,#0079aa);background-color:var(--nui-color-bg-transparent-hover,rgba(17, 17, 17, .05));border-color:var(--nui-color-btn1-focusBrd,#cbcbcb)}.nui-select-v2.default:active,.nui-select-v2.default.active,.open>.dropdown-toggle.nui-select-v2.default{color:var(--nui-color-text-link,#0079aa);background-color:var(--transparent,transparent);border-color:var(--nui-color-btn1-activeOpenBrd,#bababa)}.nui-select-v2.default:active:hover,.nui-select-v2.default.active:hover,.open>.dropdown-toggle.nui-select-v2.default:hover,.nui-select-v2.default:active:focus,.nui-select-v2.default.active:focus,.open>.dropdown-toggle.nui-select-v2.default:focus,.nui-select-v2.default:active.focus,.nui-select-v2.default.active.focus,.open>.dropdown-toggle.nui-select-v2.default.focus{color:var(--nui-color-text-link,#0079aa);background-color:var(--transparent,transparent);border-color:var(--nui-color-btn1-activeHoverBrd,#999999)}.nui-select-v2.default:active,.nui-select-v2.default.active,.open>.dropdown-toggle.nui-select-v2.default{background-image:none}.nui-select-v2.default.disabled,.nui-select-v2.default[disabled],fieldset[disabled] .nui-select-v2.default,.nui-select-v2.default.disabled:hover,.nui-select-v2.default[disabled]:hover,fieldset[disabled] .nui-select-v2.default:hover,.nui-select-v2.default.disabled:focus,.nui-select-v2.default[disabled]:focus,fieldset[disabled] .nui-select-v2.default:focus,.nui-select-v2.default.disabled.focus,.nui-select-v2.default[disabled].focus,fieldset[disabled] .nui-select-v2.default.focus,.nui-select-v2.default.disabled:active,.nui-select-v2.default[disabled]:active,fieldset[disabled] .nui-select-v2.default:active,.nui-select-v2.default.disabled.active,.nui-select-v2.default[disabled].active,fieldset[disabled] .nui-select-v2.default.active{background-color:var(--transparent,transparent);border-color:var(--nui-color-line-default,#d9d9d9);color:var(--nui-color-disabled,#b3b3b3)}.nui-select-v2.default.is-busy .ripple-1,.nui-select-v2.default.is-busy .ripple-2{background:var(--nui-color-busy-default,rgba(0, 196, 210, .2))}.nui-select-v2.default.has-error{border-color:var(--nui-color-line-critical,#dd2c00)}.nui-select-v2.default.has-error:hover,.nui-select-v2.default.has-error:focus,.nui-select-v2.default.has-error:active{border-color:var(--nui-color-line-critical,#dd2c00)}.nui-select-v2.default .badge{color:var(--transparent,transparent);background-color:var(--nui-color-text-link,#0079aa)}.nui-select-v2.default .nui-icon:not(.custom-icon-color) path,.nui-select-v2.default .nui-icon:not(.custom-icon-color) polygon{fill:var(--nui-color-text-link,#0079aa)}.nui-select-v2.default.disabled .nui-icon:not(.custom-icon-color) path,.nui-select-v2.default[disabled] .nui-icon:not(.custom-icon-color) path,fieldset[disabled] .nui-select-v2.default .nui-icon:not(.custom-icon-color) path,.nui-select-v2.default.disabled:hover .nui-icon:not(.custom-icon-color) path,.nui-select-v2.default[disabled]:hover .nui-icon:not(.custom-icon-color) path,fieldset[disabled] .nui-select-v2.default:hover .nui-icon:not(.custom-icon-color) path,.nui-select-v2.default.disabled:focus .nui-icon:not(.custom-icon-color) path,.nui-select-v2.default[disabled]:focus .nui-icon:not(.custom-icon-color) path,fieldset[disabled] .nui-select-v2.default:focus .nui-icon:not(.custom-icon-color) path,.nui-select-v2.default.disabled.focus .nui-icon:not(.custom-icon-color) path,.nui-select-v2.default[disabled].focus .nui-icon:not(.custom-icon-color) path,fieldset[disabled] .nui-select-v2.default.focus .nui-icon:not(.custom-icon-color) path,.nui-select-v2.default.disabled:active .nui-icon:not(.custom-icon-color) path,.nui-select-v2.default[disabled]:active .nui-icon:not(.custom-icon-color) path,fieldset[disabled] .nui-select-v2.default:active .nui-icon:not(.custom-icon-color) path,.nui-select-v2.default.disabled.active .nui-icon:not(.custom-icon-color) path,.nui-select-v2.default[disabled].active .nui-icon:not(.custom-icon-color) path,fieldset[disabled] .nui-select-v2.default.active .nui-icon:not(.custom-icon-color) path,.nui-select-v2.default.disabled .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.default[disabled] .nui-icon:not(.custom-icon-color) polygon,fieldset[disabled] .nui-select-v2.default .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.default.disabled:hover .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.default[disabled]:hover .nui-icon:not(.custom-icon-color) polygon,fieldset[disabled] .nui-select-v2.default:hover .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.default.disabled:focus .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.default[disabled]:focus .nui-icon:not(.custom-icon-color) polygon,fieldset[disabled] .nui-select-v2.default:focus .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.default.disabled.focus .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.default[disabled].focus .nui-icon:not(.custom-icon-color) polygon,fieldset[disabled] .nui-select-v2.default.focus .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.default.disabled:active .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.default[disabled]:active .nui-icon:not(.custom-icon-color) polygon,fieldset[disabled] .nui-select-v2.default:active .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.default.disabled.active .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.default[disabled].active .nui-icon:not(.custom-icon-color) polygon,fieldset[disabled] .nui-select-v2.default.active .nui-icon:not(.custom-icon-color) polygon{fill:var(--nui-color-disabled,#b3b3b3)}.nui-select-v2.primary{color:var(--nui-color-text-light,#fff);background-color:var(--nui-color-active,#0079aa);border-color:var(--transparent,transparent)}.nui-select-v2.primary:focus,.nui-select-v2.primary.focus{color:var(--nui-color-text-light,#fff);background-color:var(--nui-color-active-hover,#006d99);border-color:var(--transparent,transparent);outline:none;z-index:500;box-shadow:0 0 0 2px #00c4d280}.nui-select-v2.primary:hover{color:var(--nui-color-text-light,#fff);background-color:var(--nui-color-active-hover,#006d99);border-color:var(--transparent,transparent)}.nui-select-v2.primary:active,.nui-select-v2.primary.active,.open>.dropdown-toggle.nui-select-v2.primary{color:var(--nui-color-text-light,#fff);background-color:var(--nui-color-btn2-activeOpenBk,#004d6d);border-color:var(--transparent,transparent)}.nui-select-v2.primary:active:hover,.nui-select-v2.primary.active:hover,.open>.dropdown-toggle.nui-select-v2.primary:hover,.nui-select-v2.primary:active:focus,.nui-select-v2.primary.active:focus,.open>.dropdown-toggle.nui-select-v2.primary:focus,.nui-select-v2.primary:active.focus,.nui-select-v2.primary.active.focus,.open>.dropdown-toggle.nui-select-v2.primary.focus{color:var(--nui-color-text-light,#fff);background-color:var(--nui-color-btn2-activeHoverBk,#001e2a);border-color:var(--transparent,transparent)}.nui-select-v2.primary:active,.nui-select-v2.primary.active,.open>.dropdown-toggle.nui-select-v2.primary{background-image:none}.nui-select-v2.primary.disabled,.nui-select-v2.primary[disabled],fieldset[disabled] .nui-select-v2.primary,.nui-select-v2.primary.disabled:hover,.nui-select-v2.primary[disabled]:hover,fieldset[disabled] .nui-select-v2.primary:hover,.nui-select-v2.primary.disabled:focus,.nui-select-v2.primary[disabled]:focus,fieldset[disabled] .nui-select-v2.primary:focus,.nui-select-v2.primary.disabled.focus,.nui-select-v2.primary[disabled].focus,fieldset[disabled] .nui-select-v2.primary.focus,.nui-select-v2.primary.disabled:active,.nui-select-v2.primary[disabled]:active,fieldset[disabled] .nui-select-v2.primary:active,.nui-select-v2.primary.disabled.active,.nui-select-v2.primary[disabled].active,fieldset[disabled] .nui-select-v2.primary.active{background-color:var(--nui-color-disabled,#b3b3b3);border-color:var(--transparent,transparent);color:var(--white,#fff)}.nui-select-v2.primary.is-busy .ripple-1,.nui-select-v2.primary.is-busy .ripple-2{background:var(--nui-color-busy-default,rgba(0, 196, 210, .2))}.nui-select-v2.primary.has-error{border-color:var(--nui-color-line-critical,#dd2c00)}.nui-select-v2.primary.has-error:hover,.nui-select-v2.primary.has-error:focus,.nui-select-v2.primary.has-error:active{border-color:var(--nui-color-line-critical,#dd2c00)}.nui-select-v2.primary .badge{color:var(--nui-color-active,#0079aa);background-color:var(--nui-color-text-light,#fff)}.nui-select-v2.primary .nui-icon:not(.custom-icon-color) path,.nui-select-v2.primary .nui-icon:not(.custom-icon-color) polygon{fill:var(--nui-color-icon-light,#fff)}.nui-select-v2.primary.disabled .nui-icon:not(.custom-icon-color) path,.nui-select-v2.primary[disabled] .nui-icon:not(.custom-icon-color) path,fieldset[disabled] .nui-select-v2.primary .nui-icon:not(.custom-icon-color) path,.nui-select-v2.primary.disabled:hover .nui-icon:not(.custom-icon-color) path,.nui-select-v2.primary[disabled]:hover .nui-icon:not(.custom-icon-color) path,fieldset[disabled] .nui-select-v2.primary:hover .nui-icon:not(.custom-icon-color) path,.nui-select-v2.primary.disabled:focus .nui-icon:not(.custom-icon-color) path,.nui-select-v2.primary[disabled]:focus .nui-icon:not(.custom-icon-color) path,fieldset[disabled] .nui-select-v2.primary:focus .nui-icon:not(.custom-icon-color) path,.nui-select-v2.primary.disabled.focus .nui-icon:not(.custom-icon-color) path,.nui-select-v2.primary[disabled].focus .nui-icon:not(.custom-icon-color) path,fieldset[disabled] .nui-select-v2.primary.focus .nui-icon:not(.custom-icon-color) path,.nui-select-v2.primary.disabled:active .nui-icon:not(.custom-icon-color) path,.nui-select-v2.primary[disabled]:active .nui-icon:not(.custom-icon-color) path,fieldset[disabled] .nui-select-v2.primary:active .nui-icon:not(.custom-icon-color) path,.nui-select-v2.primary.disabled.active .nui-icon:not(.custom-icon-color) path,.nui-select-v2.primary[disabled].active .nui-icon:not(.custom-icon-color) path,fieldset[disabled] .nui-select-v2.primary.active .nui-icon:not(.custom-icon-color) path,.nui-select-v2.primary.disabled .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.primary[disabled] .nui-icon:not(.custom-icon-color) polygon,fieldset[disabled] .nui-select-v2.primary .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.primary.disabled:hover .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.primary[disabled]:hover .nui-icon:not(.custom-icon-color) polygon,fieldset[disabled] .nui-select-v2.primary:hover .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.primary.disabled:focus .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.primary[disabled]:focus .nui-icon:not(.custom-icon-color) polygon,fieldset[disabled] .nui-select-v2.primary:focus .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.primary.disabled.focus .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.primary[disabled].focus .nui-icon:not(.custom-icon-color) polygon,fieldset[disabled] .nui-select-v2.primary.focus .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.primary.disabled:active .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.primary[disabled]:active .nui-icon:not(.custom-icon-color) polygon,fieldset[disabled] .nui-select-v2.primary:active .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.primary.disabled.active .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.primary[disabled].active .nui-icon:not(.custom-icon-color) polygon,fieldset[disabled] .nui-select-v2.primary.active .nui-icon:not(.custom-icon-color) polygon{fill:var(--white,#fff)}.nui-select-v2.action{color:var(--nui-color-text-link,#0079aa);background-color:var(--transparent,transparent);border-color:var(--transparent,transparent)}.nui-select-v2.action:focus,.nui-select-v2.action.focus{color:var(--nui-color-text-link,#0079aa);background-color:var(--nui-color-bg-transparent-hover,rgba(17, 17, 17, .05));border-color:var(--transparent,transparent);outline:none;z-index:500;box-shadow:0 0 0 2px #00c4d280}.nui-select-v2.action:hover{color:var(--nui-color-text-link,#0079aa);background-color:var(--nui-color-bg-transparent-hover,rgba(17, 17, 17, .05));border-color:var(--transparent,transparent)}.nui-select-v2.action:active,.nui-select-v2.action.active,.open>.dropdown-toggle.nui-select-v2.action{color:var(--nui-color-text-link,#0079aa);background-color:var(--nui-color-bg-transparent-hover,rgba(17, 17, 17, .05));border-color:var(--transparent,transparent)}.nui-select-v2.action:active:hover,.nui-select-v2.action.active:hover,.open>.dropdown-toggle.nui-select-v2.action:hover,.nui-select-v2.action:active:focus,.nui-select-v2.action.active:focus,.open>.dropdown-toggle.nui-select-v2.action:focus,.nui-select-v2.action:active.focus,.nui-select-v2.action.active.focus,.open>.dropdown-toggle.nui-select-v2.action.focus{color:var(--nui-color-text-link,#0079aa);background-color:var(--nui-color-bg-transparent-hover,rgba(17, 17, 17, .05));border-color:var(--transparent,transparent)}.nui-select-v2.action:active,.nui-select-v2.action.active,.open>.dropdown-toggle.nui-select-v2.action{background-image:none}.nui-select-v2.action.disabled,.nui-select-v2.action[disabled],fieldset[disabled] .nui-select-v2.action,.nui-select-v2.action.disabled:hover,.nui-select-v2.action[disabled]:hover,fieldset[disabled] .nui-select-v2.action:hover,.nui-select-v2.action.disabled:focus,.nui-select-v2.action[disabled]:focus,fieldset[disabled] .nui-select-v2.action:focus,.nui-select-v2.action.disabled.focus,.nui-select-v2.action[disabled].focus,fieldset[disabled] .nui-select-v2.action.focus,.nui-select-v2.action.disabled:active,.nui-select-v2.action[disabled]:active,fieldset[disabled] .nui-select-v2.action:active,.nui-select-v2.action.disabled.active,.nui-select-v2.action[disabled].active,fieldset[disabled] .nui-select-v2.action.active{background-color:var(--transparent,transparent);border-color:var(--transparent,transparent);color:var(--nui-color-disabled,#b3b3b3)}.nui-select-v2.action.is-busy .ripple-1,.nui-select-v2.action.is-busy .ripple-2{background:var(--nui-color-busy-default,rgba(0, 196, 210, .2))}.nui-select-v2.action.has-error{border-color:var(--nui-color-line-critical,#dd2c00)}.nui-select-v2.action.has-error:hover,.nui-select-v2.action.has-error:focus,.nui-select-v2.action.has-error:active{border-color:var(--nui-color-line-critical,#dd2c00)}.nui-select-v2.action .badge{color:var(--transparent,transparent);background-color:var(--nui-color-text-link,#0079aa)}.nui-select-v2.action .nui-icon:not(.custom-icon-color) path,.nui-select-v2.action .nui-icon:not(.custom-icon-color) polygon{fill:var(--nui-color-text-link,#0079aa)}.nui-select-v2.action.disabled .nui-icon:not(.custom-icon-color) path,.nui-select-v2.action[disabled] .nui-icon:not(.custom-icon-color) path,fieldset[disabled] .nui-select-v2.action .nui-icon:not(.custom-icon-color) path,.nui-select-v2.action.disabled:hover .nui-icon:not(.custom-icon-color) path,.nui-select-v2.action[disabled]:hover .nui-icon:not(.custom-icon-color) path,fieldset[disabled] .nui-select-v2.action:hover .nui-icon:not(.custom-icon-color) path,.nui-select-v2.action.disabled:focus .nui-icon:not(.custom-icon-color) path,.nui-select-v2.action[disabled]:focus .nui-icon:not(.custom-icon-color) path,fieldset[disabled] .nui-select-v2.action:focus .nui-icon:not(.custom-icon-color) path,.nui-select-v2.action.disabled.focus .nui-icon:not(.custom-icon-color) path,.nui-select-v2.action[disabled].focus .nui-icon:not(.custom-icon-color) path,fieldset[disabled] .nui-select-v2.action.focus .nui-icon:not(.custom-icon-color) path,.nui-select-v2.action.disabled:active .nui-icon:not(.custom-icon-color) path,.nui-select-v2.action[disabled]:active .nui-icon:not(.custom-icon-color) path,fieldset[disabled] .nui-select-v2.action:active .nui-icon:not(.custom-icon-color) path,.nui-select-v2.action.disabled.active .nui-icon:not(.custom-icon-color) path,.nui-select-v2.action[disabled].active .nui-icon:not(.custom-icon-color) path,fieldset[disabled] .nui-select-v2.action.active .nui-icon:not(.custom-icon-color) path,.nui-select-v2.action.disabled .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.action[disabled] .nui-icon:not(.custom-icon-color) polygon,fieldset[disabled] .nui-select-v2.action .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.action.disabled:hover .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.action[disabled]:hover .nui-icon:not(.custom-icon-color) polygon,fieldset[disabled] .nui-select-v2.action:hover .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.action.disabled:focus .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.action[disabled]:focus .nui-icon:not(.custom-icon-color) polygon,fieldset[disabled] .nui-select-v2.action:focus .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.action.disabled.focus .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.action[disabled].focus .nui-icon:not(.custom-icon-color) polygon,fieldset[disabled] .nui-select-v2.action.focus .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.action.disabled:active .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.action[disabled]:active .nui-icon:not(.custom-icon-color) polygon,fieldset[disabled] .nui-select-v2.action:active .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.action.disabled.active .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.action[disabled].active .nui-icon:not(.custom-icon-color) polygon,fieldset[disabled] .nui-select-v2.action.active .nui-icon:not(.custom-icon-color) polygon{fill:var(--nui-color-disabled,#b3b3b3)}.nui-select-v2.destructive{color:var(--nui-color-text-critical,#dd2c00);background-color:var(--transparent,transparent);border-color:var(--nui-color-line-default,#d9d9d9)}.nui-select-v2.destructive:focus,.nui-select-v2.destructive.focus{color:var(--nui-color-text-critical,#dd2c00);background-color:var(--nui-color-bg-transparent-hover,rgba(17, 17, 17, .05));border-color:var(--nui-color-btn1-focusBrd,#cbcbcb);outline:none;z-index:500;box-shadow:0 0 0 2px #00c4d280}.nui-select-v2.destructive:hover{color:var(--nui-color-text-critical,#dd2c00);background-color:var(--nui-color-bg-transparent-hover,rgba(17, 17, 17, .05));border-color:var(--nui-color-btn1-focusBrd,#cbcbcb)}.nui-select-v2.destructive:active,.nui-select-v2.destructive.active,.open>.dropdown-toggle.nui-select-v2.destructive{color:var(--nui-color-text-critical,#dd2c00);background-color:var(--nui-color-bg-transparent-hover,rgba(17, 17, 17, .05));border-color:var(--nui-color-btn1-activeOpenBrd,#bababa)}.nui-select-v2.destructive:active:hover,.nui-select-v2.destructive.active:hover,.open>.dropdown-toggle.nui-select-v2.destructive:hover,.nui-select-v2.destructive:active:focus,.nui-select-v2.destructive.active:focus,.open>.dropdown-toggle.nui-select-v2.destructive:focus,.nui-select-v2.destructive:active.focus,.nui-select-v2.destructive.active.focus,.open>.dropdown-toggle.nui-select-v2.destructive.focus{color:var(--nui-color-text-critical,#dd2c00);background-color:var(--nui-color-bg-transparent-hover,rgba(17, 17, 17, .05));border-color:var(--nui-color-btn1-activeHoverBrd,#999999)}.nui-select-v2.destructive:active,.nui-select-v2.destructive.active,.open>.dropdown-toggle.nui-select-v2.destructive{background-image:none}.nui-select-v2.destructive.disabled,.nui-select-v2.destructive[disabled],fieldset[disabled] .nui-select-v2.destructive,.nui-select-v2.destructive.disabled:hover,.nui-select-v2.destructive[disabled]:hover,fieldset[disabled] .nui-select-v2.destructive:hover,.nui-select-v2.destructive.disabled:focus,.nui-select-v2.destructive[disabled]:focus,fieldset[disabled] .nui-select-v2.destructive:focus,.nui-select-v2.destructive.disabled.focus,.nui-select-v2.destructive[disabled].focus,fieldset[disabled] .nui-select-v2.destructive.focus,.nui-select-v2.destructive.disabled:active,.nui-select-v2.destructive[disabled]:active,fieldset[disabled] .nui-select-v2.destructive:active,.nui-select-v2.destructive.disabled.active,.nui-select-v2.destructive[disabled].active,fieldset[disabled] .nui-select-v2.destructive.active{background-color:var(--transparent,transparent);border-color:var(--nui-color-line-default,#d9d9d9);color:var(--nui-color-disabled,#b3b3b3)}.nui-select-v2.destructive.is-busy .ripple-1,.nui-select-v2.destructive.is-busy .ripple-2{background:var(--nui-color-busy-destructive,rgba(221, 44, 0, .2))}.nui-select-v2.destructive.has-error{border-color:var(--nui-color-line-critical,#dd2c00)}.nui-select-v2.destructive.has-error:hover,.nui-select-v2.destructive.has-error:focus,.nui-select-v2.destructive.has-error:active{border-color:var(--nui-color-line-critical,#dd2c00)}.nui-select-v2.destructive .badge{color:var(--transparent,transparent);background-color:var(--nui-color-text-critical,#dd2c00)}.nui-select-v2.destructive .nui-icon:not(.custom-icon-color) path,.nui-select-v2.destructive .nui-icon:not(.custom-icon-color) polygon{fill:var(--nui-color-text-critical,#dd2c00)}.nui-select-v2.destructive.disabled .nui-icon:not(.custom-icon-color) path,.nui-select-v2.destructive[disabled] .nui-icon:not(.custom-icon-color) path,fieldset[disabled] .nui-select-v2.destructive .nui-icon:not(.custom-icon-color) path,.nui-select-v2.destructive.disabled:hover .nui-icon:not(.custom-icon-color) path,.nui-select-v2.destructive[disabled]:hover .nui-icon:not(.custom-icon-color) path,fieldset[disabled] .nui-select-v2.destructive:hover .nui-icon:not(.custom-icon-color) path,.nui-select-v2.destructive.disabled:focus .nui-icon:not(.custom-icon-color) path,.nui-select-v2.destructive[disabled]:focus .nui-icon:not(.custom-icon-color) path,fieldset[disabled] .nui-select-v2.destructive:focus .nui-icon:not(.custom-icon-color) path,.nui-select-v2.destructive.disabled.focus .nui-icon:not(.custom-icon-color) path,.nui-select-v2.destructive[disabled].focus .nui-icon:not(.custom-icon-color) path,fieldset[disabled] .nui-select-v2.destructive.focus .nui-icon:not(.custom-icon-color) path,.nui-select-v2.destructive.disabled:active .nui-icon:not(.custom-icon-color) path,.nui-select-v2.destructive[disabled]:active .nui-icon:not(.custom-icon-color) path,fieldset[disabled] .nui-select-v2.destructive:active .nui-icon:not(.custom-icon-color) path,.nui-select-v2.destructive.disabled.active .nui-icon:not(.custom-icon-color) path,.nui-select-v2.destructive[disabled].active .nui-icon:not(.custom-icon-color) path,fieldset[disabled] .nui-select-v2.destructive.active .nui-icon:not(.custom-icon-color) path,.nui-select-v2.destructive.disabled .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.destructive[disabled] .nui-icon:not(.custom-icon-color) polygon,fieldset[disabled] .nui-select-v2.destructive .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.destructive.disabled:hover .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.destructive[disabled]:hover .nui-icon:not(.custom-icon-color) polygon,fieldset[disabled] .nui-select-v2.destructive:hover .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.destructive.disabled:focus .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.destructive[disabled]:focus .nui-icon:not(.custom-icon-color) polygon,fieldset[disabled] .nui-select-v2.destructive:focus .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.destructive.disabled.focus .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.destructive[disabled].focus .nui-icon:not(.custom-icon-color) polygon,fieldset[disabled] .nui-select-v2.destructive.focus .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.destructive.disabled:active .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.destructive[disabled]:active .nui-icon:not(.custom-icon-color) polygon,fieldset[disabled] .nui-select-v2.destructive:active .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.destructive.disabled.active .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.destructive[disabled].active .nui-icon:not(.custom-icon-color) polygon,fieldset[disabled] .nui-select-v2.destructive.active .nui-icon:not(.custom-icon-color) polygon{fill:var(--nui-color-disabled,#b3b3b3)}.nui-select-v2.selected{color:var(--nui-color-text-link,#0079aa);background-color:var(--nui-color-selected,rgba(0, 196, 210, .1));border-color:var(--transparent,transparent)}.nui-select-v2.selected:focus,.nui-select-v2.selected.focus{color:var(--nui-color-text-link,#0079aa);background-color:var(--nui-color-selected-hover,rgba(0, 196, 210, .2));border-color:var(--transparent,transparent);outline:none;z-index:500;box-shadow:0 0 0 2px #00c4d280}.nui-select-v2.selected:hover{color:var(--nui-color-text-link,#0079aa);background-color:var(--nui-color-selected-hover,rgba(0, 196, 210, .2));border-color:var(--transparent,transparent)}.nui-select-v2.selected:active,.nui-select-v2.selected.active,.open>.dropdown-toggle.nui-select-v2.selected{color:var(--nui-color-text-link,#0079aa);background-color:var(--nui-color-selected-active,rgba(0, 196, 210, .2));border-color:var(--transparent,transparent)}.nui-select-v2.selected:active:hover,.nui-select-v2.selected.active:hover,.open>.dropdown-toggle.nui-select-v2.selected:hover,.nui-select-v2.selected:active:focus,.nui-select-v2.selected.active:focus,.open>.dropdown-toggle.nui-select-v2.selected:focus,.nui-select-v2.selected:active.focus,.nui-select-v2.selected.active.focus,.open>.dropdown-toggle.nui-select-v2.selected.focus{color:var(--nui-color-text-link,#0079aa);background-color:var(--nui-color-selected-active,rgba(0, 196, 210, .2));border-color:var(--transparent,transparent)}.nui-select-v2.selected:active,.nui-select-v2.selected.active,.open>.dropdown-toggle.nui-select-v2.selected{background-image:none}.nui-select-v2.selected.disabled,.nui-select-v2.selected[disabled],fieldset[disabled] .nui-select-v2.selected,.nui-select-v2.selected.disabled:hover,.nui-select-v2.selected[disabled]:hover,fieldset[disabled] .nui-select-v2.selected:hover,.nui-select-v2.selected.disabled:focus,.nui-select-v2.selected[disabled]:focus,fieldset[disabled] .nui-select-v2.selected:focus,.nui-select-v2.selected.disabled.focus,.nui-select-v2.selected[disabled].focus,fieldset[disabled] .nui-select-v2.selected.focus,.nui-select-v2.selected.disabled:active,.nui-select-v2.selected[disabled]:active,fieldset[disabled] .nui-select-v2.selected:active,.nui-select-v2.selected.disabled.active,.nui-select-v2.selected[disabled].active,fieldset[disabled] .nui-select-v2.selected.active{background-color:var(--nui-color-disabled,#b3b3b3);border-color:var(--transparent,transparent);color:var(--white,#fff)}.nui-select-v2.selected.is-busy .ripple-1,.nui-select-v2.selected.is-busy .ripple-2{background:var(--nui-color-busy-default,rgba(0, 196, 210, .2))}.nui-select-v2.selected.has-error{border-color:var(--nui-color-line-critical,#dd2c00)}.nui-select-v2.selected.has-error:hover,.nui-select-v2.selected.has-error:focus,.nui-select-v2.selected.has-error:active{border-color:var(--nui-color-line-critical,#dd2c00)}.nui-select-v2.selected .badge{color:var(--nui-color-selected,rgba(0, 196, 210, .1));background-color:var(--nui-color-text-link,#0079aa)}.nui-select-v2.selected .nui-icon:not(.custom-icon-color) path,.nui-select-v2.selected .nui-icon:not(.custom-icon-color) polygon{fill:var(--nui-color-text-link,#0079aa)}.nui-select-v2.selected.disabled .nui-icon:not(.custom-icon-color) path,.nui-select-v2.selected[disabled] .nui-icon:not(.custom-icon-color) path,fieldset[disabled] .nui-select-v2.selected .nui-icon:not(.custom-icon-color) path,.nui-select-v2.selected.disabled:hover .nui-icon:not(.custom-icon-color) path,.nui-select-v2.selected[disabled]:hover .nui-icon:not(.custom-icon-color) path,fieldset[disabled] .nui-select-v2.selected:hover .nui-icon:not(.custom-icon-color) path,.nui-select-v2.selected.disabled:focus .nui-icon:not(.custom-icon-color) path,.nui-select-v2.selected[disabled]:focus .nui-icon:not(.custom-icon-color) path,fieldset[disabled] .nui-select-v2.selected:focus .nui-icon:not(.custom-icon-color) path,.nui-select-v2.selected.disabled.focus .nui-icon:not(.custom-icon-color) path,.nui-select-v2.selected[disabled].focus .nui-icon:not(.custom-icon-color) path,fieldset[disabled] .nui-select-v2.selected.focus .nui-icon:not(.custom-icon-color) path,.nui-select-v2.selected.disabled:active .nui-icon:not(.custom-icon-color) path,.nui-select-v2.selected[disabled]:active .nui-icon:not(.custom-icon-color) path,fieldset[disabled] .nui-select-v2.selected:active .nui-icon:not(.custom-icon-color) path,.nui-select-v2.selected.disabled.active .nui-icon:not(.custom-icon-color) path,.nui-select-v2.selected[disabled].active .nui-icon:not(.custom-icon-color) path,fieldset[disabled] .nui-select-v2.selected.active .nui-icon:not(.custom-icon-color) path,.nui-select-v2.selected.disabled .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.selected[disabled] .nui-icon:not(.custom-icon-color) polygon,fieldset[disabled] .nui-select-v2.selected .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.selected.disabled:hover .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.selected[disabled]:hover .nui-icon:not(.custom-icon-color) polygon,fieldset[disabled] .nui-select-v2.selected:hover .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.selected.disabled:focus .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.selected[disabled]:focus .nui-icon:not(.custom-icon-color) polygon,fieldset[disabled] .nui-select-v2.selected:focus .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.selected.disabled.focus .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.selected[disabled].focus .nui-icon:not(.custom-icon-color) polygon,fieldset[disabled] .nui-select-v2.selected.focus .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.selected.disabled:active .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.selected[disabled]:active .nui-icon:not(.custom-icon-color) polygon,fieldset[disabled] .nui-select-v2.selected:active .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.selected.disabled.active .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.selected[disabled].active .nui-icon:not(.custom-icon-color) polygon,fieldset[disabled] .nui-select-v2.selected.active .nui-icon:not(.custom-icon-color) polygon{fill:var(--white,#fff)}.nui-select-v2.selected-contrast{color:var(--white,#fff);background-color:var(--nui-color-selected-contrast,#00c4d2);border-color:var(--transparent,transparent)}.nui-select-v2.selected-contrast:focus,.nui-select-v2.selected-contrast.focus{color:var(--white,#fff);background-color:var(--nui-color-selected-contrast-hover,#00b0bd);border-color:var(--transparent,transparent);outline:none;z-index:500;box-shadow:0 0 0 2px #00c4d280}.nui-select-v2.selected-contrast:hover{color:var(--white,#fff);background-color:var(--nui-color-selected-contrast-hover,#00b0bd);border-color:var(--transparent,transparent)}.nui-select-v2.selected-contrast:active,.nui-select-v2.selected-contrast.active,.open>.dropdown-toggle.nui-select-v2.selected-contrast{color:var(--white,#fff);background-color:var(--nui-color-selected-contrast-hover,#00b0bd);border-color:var(--transparent,transparent)}.nui-select-v2.selected-contrast:active:hover,.nui-select-v2.selected-contrast.active:hover,.open>.dropdown-toggle.nui-select-v2.selected-contrast:hover,.nui-select-v2.selected-contrast:active:focus,.nui-select-v2.selected-contrast.active:focus,.open>.dropdown-toggle.nui-select-v2.selected-contrast:focus,.nui-select-v2.selected-contrast:active.focus,.nui-select-v2.selected-contrast.active.focus,.open>.dropdown-toggle.nui-select-v2.selected-contrast.focus{color:var(--white,#fff);background-color:var(--nui-color-selected-contrast-hover,#00b0bd);border-color:var(--transparent,transparent)}.nui-select-v2.selected-contrast:active,.nui-select-v2.selected-contrast.active,.open>.dropdown-toggle.nui-select-v2.selected-contrast{background-image:none}.nui-select-v2.selected-contrast.disabled,.nui-select-v2.selected-contrast[disabled],fieldset[disabled] .nui-select-v2.selected-contrast,.nui-select-v2.selected-contrast.disabled:hover,.nui-select-v2.selected-contrast[disabled]:hover,fieldset[disabled] .nui-select-v2.selected-contrast:hover,.nui-select-v2.selected-contrast.disabled:focus,.nui-select-v2.selected-contrast[disabled]:focus,fieldset[disabled] .nui-select-v2.selected-contrast:focus,.nui-select-v2.selected-contrast.disabled.focus,.nui-select-v2.selected-contrast[disabled].focus,fieldset[disabled] .nui-select-v2.selected-contrast.focus,.nui-select-v2.selected-contrast.disabled:active,.nui-select-v2.selected-contrast[disabled]:active,fieldset[disabled] .nui-select-v2.selected-contrast:active,.nui-select-v2.selected-contrast.disabled.active,.nui-select-v2.selected-contrast[disabled].active,fieldset[disabled] .nui-select-v2.selected-contrast.active{background-color:var(--nui-color-disabled,#b3b3b3);border-color:var(--transparent,transparent);color:var(--white,#fff)}.nui-select-v2.selected-contrast.is-busy .ripple-1,.nui-select-v2.selected-contrast.is-busy .ripple-2{background:var(--nui-color-busy-default,rgba(0, 196, 210, .2))}.nui-select-v2.selected-contrast.has-error{border-color:var(--nui-color-line-critical,#dd2c00)}.nui-select-v2.selected-contrast.has-error:hover,.nui-select-v2.selected-contrast.has-error:focus,.nui-select-v2.selected-contrast.has-error:active{border-color:var(--nui-color-line-critical,#dd2c00)}.nui-select-v2.selected-contrast .badge{color:var(--nui-color-selected-contrast,#00c4d2);background-color:var(--white,#fff)}.nui-select-v2.selected-contrast .nui-icon:not(.custom-icon-color) path,.nui-select-v2.selected-contrast .nui-icon:not(.custom-icon-color) polygon{fill:var(--nui-color-icon-light,#fff)}.nui-select-v2.selected-contrast.disabled .nui-icon:not(.custom-icon-color) path,.nui-select-v2.selected-contrast[disabled] .nui-icon:not(.custom-icon-color) path,fieldset[disabled] .nui-select-v2.selected-contrast .nui-icon:not(.custom-icon-color) path,.nui-select-v2.selected-contrast.disabled:hover .nui-icon:not(.custom-icon-color) path,.nui-select-v2.selected-contrast[disabled]:hover .nui-icon:not(.custom-icon-color) path,fieldset[disabled] .nui-select-v2.selected-contrast:hover .nui-icon:not(.custom-icon-color) path,.nui-select-v2.selected-contrast.disabled:focus .nui-icon:not(.custom-icon-color) path,.nui-select-v2.selected-contrast[disabled]:focus .nui-icon:not(.custom-icon-color) path,fieldset[disabled] .nui-select-v2.selected-contrast:focus .nui-icon:not(.custom-icon-color) path,.nui-select-v2.selected-contrast.disabled.focus .nui-icon:not(.custom-icon-color) path,.nui-select-v2.selected-contrast[disabled].focus .nui-icon:not(.custom-icon-color) path,fieldset[disabled] .nui-select-v2.selected-contrast.focus .nui-icon:not(.custom-icon-color) path,.nui-select-v2.selected-contrast.disabled:active .nui-icon:not(.custom-icon-color) path,.nui-select-v2.selected-contrast[disabled]:active .nui-icon:not(.custom-icon-color) path,fieldset[disabled] .nui-select-v2.selected-contrast:active .nui-icon:not(.custom-icon-color) path,.nui-select-v2.selected-contrast.disabled.active .nui-icon:not(.custom-icon-color) path,.nui-select-v2.selected-contrast[disabled].active .nui-icon:not(.custom-icon-color) path,fieldset[disabled] .nui-select-v2.selected-contrast.active .nui-icon:not(.custom-icon-color) path,.nui-select-v2.selected-contrast.disabled .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.selected-contrast[disabled] .nui-icon:not(.custom-icon-color) polygon,fieldset[disabled] .nui-select-v2.selected-contrast .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.selected-contrast.disabled:hover .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.selected-contrast[disabled]:hover .nui-icon:not(.custom-icon-color) polygon,fieldset[disabled] .nui-select-v2.selected-contrast:hover .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.selected-contrast.disabled:focus .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.selected-contrast[disabled]:focus .nui-icon:not(.custom-icon-color) polygon,fieldset[disabled] .nui-select-v2.selected-contrast:focus .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.selected-contrast.disabled.focus .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.selected-contrast[disabled].focus .nui-icon:not(.custom-icon-color) polygon,fieldset[disabled] .nui-select-v2.selected-contrast.focus .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.selected-contrast.disabled:active .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.selected-contrast[disabled]:active .nui-icon:not(.custom-icon-color) polygon,fieldset[disabled] .nui-select-v2.selected-contrast:active .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.selected-contrast.disabled.active .nui-icon:not(.custom-icon-color) polygon,.nui-select-v2.selected-contrast[disabled].active .nui-icon:not(.custom-icon-color) polygon,fieldset[disabled] .nui-select-v2.selected-contrast.active .nui-icon:not(.custom-icon-color) polygon{fill:var(--white,#fff)}.nui-select-v2:focus,.nui-select-v2.focus{color:var(--nui-color-text-link,#0079aa);background-color:var(--nui-color-bg-transparent-hover,rgba(17, 17, 17, .05));border-color:var(--nui-color-btn1-focusBrd,#cbcbcb);outline:none;z-index:500;box-shadow:0 0 0 2px #00c4d280}.nui-select-v2:hover{color:var(--nui-color-text-link,#0079aa);background-color:var(--nui-color-bg-transparent-hover,rgba(17, 17, 17, .05));border-color:var(--nui-color-btn1-focusBrd,#cbcbcb)}.nui-select-v2:active,.nui-select-v2.active,.open>.dropdown-toggle.nui-select-v2{color:var(--nui-color-text-link,#0079aa);background-color:var(--transparent,transparent);border-color:var(--nui-color-btn1-activeOpenBrd,#bababa)}.nui-select-v2:active:hover,.nui-select-v2.active:hover,.open>.dropdown-toggle.nui-select-v2:hover,.nui-select-v2:active:focus,.nui-select-v2.active:focus,.open>.dropdown-toggle.nui-select-v2:focus,.nui-select-v2:active.focus,.nui-select-v2.active.focus,.open>.dropdown-toggle.nui-select-v2.focus{color:var(--nui-color-text-link,#0079aa);background-color:var(--transparent,transparent);border-color:var(--nui-color-btn1-activeHoverBrd,#999999)}.nui-select-v2:active,.nui-select-v2.active,.open>.dropdown-toggle.nui-select-v2{background-image:none}.nui-select-v2.disabled,.nui-select-v2[disabled],fieldset[disabled] .nui-select-v2,.nui-select-v2.disabled:hover,.nui-select-v2[disabled]:hover,fieldset[disabled] .nui-select-v2:hover,.nui-select-v2.disabled:focus,.nui-select-v2[disabled]:focus,fieldset[disabled] .nui-select-v2:focus,.nui-select-v2.disabled.focus,.nui-select-v2[disabled].focus,fieldset[disabled] .nui-select-v2.focus,.nui-select-v2.disabled:active,.nui-select-v2[disabled]:active,fieldset[disabled] .nui-select-v2:active,.nui-select-v2.disabled.active,.nui-select-v2[disabled].active,fieldset[disabled] .nui-select-v2.active{background-color:var(--transparent,transparent);border-color:var(--nui-color-line-default,#d9d9d9);color:var(--nui-color-disabled,#b3b3b3)}.nui-select-v2.is-busy .ripple-1,.nui-select-v2.is-busy .ripple-2{background:var(--nui-color-busy-default,rgba(0, 196, 210, .2))}.nui-select-v2.has-error{border-color:var(--nui-color-line-critical,#dd2c00)}.nui-select-v2.has-error:hover,.nui-select-v2.has-error:focus,.nui-select-v2.has-error:active{border-color:var(--nui-color-line-critical,#dd2c00)}.nui-select-v2 .badge{color:var(--transparent,transparent);background-color:var(--nui-color-text-link,#0079aa)}.nui-select-v2:focus-within{background-color:var(--nui-color-bg-transparent-hover,rgba(17, 17, 17, .05))}.nui-select-v2.disabled .nui-select-v2__value{color:var(--nui-color-text-disabled,rgba(17, 17, 17, .3));cursor:not-allowed;-webkit-user-select:none;-o-user-select:none;user-select:none}.nui-select-v2.disabled .nui-select-v2__value .nui-select-v2__placeholder{color:var(--nui-color-text-disabled,rgba(17, 17, 17, .3))}.nui-select-v2__container{width:100%;height:100%}.nui-select-v2__container:hover,.nui-select-v2__container:focus,.nui-select-v2__container:active,.nui-select-v2__container:active:hover{transform:unset;outline:unset}.nui-select-v2__value{touch-action:manipulation;cursor:pointer;white-space:nowrap;position:relative;overflow:hidden;align-items:center;min-width:inherit;justify-content:space-between;padding:5px 10px;display:flex;flex-grow:1}.nui-select-v2__value-text{font-size:13px;margin-right:5px}.nui-select-v2__value:hover,.nui-select-v2__value:focus,.nui-select-v2__value:active,.nui-select-v2__value:active:hover{color:var(--nui-color-text-default,#111);transform:none;outline:none}.nui-select-v2__value-content{width:100%;line-height:18px;white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;text-overflow:ellipsis}.nui-select-v2__placeholder{color:var(--nui-color-text-secondary,rgba(17, 17, 17, .6));font-size:13px;line-height:18px;font-weight:400;margin-right:5px;white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;text-overflow:ellipsis}\n"] }]
|
|
12566
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: OptionKeyControlService }, { type: i0.ChangeDetectorRef }, { type: i1$
|
|
12597
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: OptionKeyControlService }, { type: i0.ChangeDetectorRef }, { type: i1$3.LiveAnnouncer }]; }, propDecorators: { displayValueTemplate: [{
|
|
12567
12598
|
type: Input
|
|
12568
12599
|
}] } });
|
|
12569
12600
|
|
|
@@ -12672,7 +12703,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
12672
12703
|
* @ignore
|
|
12673
12704
|
* @deprecated in v11 - Use PopupComponent instead - Removal: NUI-5796
|
|
12674
12705
|
*/
|
|
12675
|
-
/* eslint-disable @angular-eslint/no-host-metadata-property */
|
|
12676
12706
|
class PopupContainerComponent {
|
|
12677
12707
|
constructor(elRef, zone, positionService, edgeDetector) {
|
|
12678
12708
|
this.elRef = elRef;
|
|
@@ -12751,6 +12781,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
12751
12781
|
}] });
|
|
12752
12782
|
|
|
12753
12783
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
12784
|
+
const isMouseEvent = (event) => event instanceof MouseEvent;
|
|
12754
12785
|
// <example-url>./../examples/index.html#/popup</example-url>
|
|
12755
12786
|
/**
|
|
12756
12787
|
* @deprecated in v11 - Use PopupComponent instead - Removal: NUI-5796
|
|
@@ -12766,8 +12797,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
12766
12797
|
* 1st layer of content to define "popup area". DO NOT USE "opened" WITH "nuiPopupToggle".
|
|
12767
12798
|
* IT IS NEEDED TO CHOOSE ONE.
|
|
12768
12799
|
*/
|
|
12769
|
-
/* eslint-disable @angular-eslint/no-host-metadata-property */
|
|
12770
|
-
/* eslint-disable @angular-eslint/no-host-metadata-property */
|
|
12771
12800
|
class PopupDeprecatedComponent {
|
|
12772
12801
|
constructor(elementRef, edgeDetector, changeDetectorRef, eventBusService, componentFactoryResolver, injector, appRef, logger, popupContainer) {
|
|
12773
12802
|
this.elementRef = elementRef;
|
|
@@ -12799,7 +12828,8 @@ class PopupDeprecatedComponent {
|
|
|
12799
12828
|
}));
|
|
12800
12829
|
}
|
|
12801
12830
|
this.popupSubscriptions.push(this.eventBusService
|
|
12802
|
-
.getStream(
|
|
12831
|
+
.getStream(DOCUMENT_CLICK_EVENT)
|
|
12832
|
+
.pipe(filter$2(isMouseEvent))
|
|
12803
12833
|
.subscribe((event) => {
|
|
12804
12834
|
if (this.isOpen) {
|
|
12805
12835
|
this.closePopup(event);
|
|
@@ -13063,7 +13093,7 @@ class SwitchComponent {
|
|
|
13063
13093
|
onTouched() { }
|
|
13064
13094
|
writeValue(value) {
|
|
13065
13095
|
if (value !== undefined) {
|
|
13066
|
-
this.value = value;
|
|
13096
|
+
this.value = !!value;
|
|
13067
13097
|
}
|
|
13068
13098
|
}
|
|
13069
13099
|
registerOnChange(fn) {
|
|
@@ -13189,7 +13219,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
13189
13219
|
/**
|
|
13190
13220
|
* Base class for menu items. Adds styles to host element
|
|
13191
13221
|
*/
|
|
13192
|
-
// eslint-disable-next-line @angular-eslint/directive-class-suffix
|
|
13193
13222
|
class MenuItemBaseComponent {
|
|
13194
13223
|
constructor(group, cd) {
|
|
13195
13224
|
this.group = group;
|
|
@@ -13890,11 +13919,11 @@ class MenuKeyControlService {
|
|
|
13890
13919
|
}
|
|
13891
13920
|
}
|
|
13892
13921
|
}
|
|
13893
|
-
MenuKeyControlService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MenuKeyControlService, deps: [{ token: i1$
|
|
13922
|
+
MenuKeyControlService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MenuKeyControlService, deps: [{ token: i1$3.LiveAnnouncer }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
13894
13923
|
MenuKeyControlService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MenuKeyControlService });
|
|
13895
13924
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MenuKeyControlService, decorators: [{
|
|
13896
13925
|
type: Injectable
|
|
13897
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
13926
|
+
}], ctorParameters: function () { return [{ type: i1$3.LiveAnnouncer }]; } });
|
|
13898
13927
|
|
|
13899
13928
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
13900
13929
|
/**
|
|
@@ -13965,7 +13994,7 @@ class MenuComponent {
|
|
|
13965
13994
|
this.blurred.emit(event);
|
|
13966
13995
|
}
|
|
13967
13996
|
onMenuOpen() {
|
|
13968
|
-
this.menuOpenStream.next(
|
|
13997
|
+
this.menuOpenStream.next();
|
|
13969
13998
|
}
|
|
13970
13999
|
isJustified() {
|
|
13971
14000
|
return this.contextClass?.includes("nui-select--justified");
|
|
@@ -13984,7 +14013,7 @@ class MenuComponent {
|
|
|
13984
14013
|
this.focusMonitorSubscription.unsubscribe();
|
|
13985
14014
|
}
|
|
13986
14015
|
}
|
|
13987
|
-
MenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MenuComponent, deps: [{ token: MenuKeyControlService }, { token: i0.Renderer2 }, { token: i1$
|
|
14016
|
+
MenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MenuComponent, deps: [{ token: MenuKeyControlService }, { token: i0.Renderer2 }, { token: i1$3.FocusMonitor }], target: i0.ɵɵFactoryTarget.Component });
|
|
13988
14017
|
MenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: MenuComponent, selector: "nui-menu", inputs: { widthOfPopup: "widthOfPopup", contextClass: "contextClass", appendToBody: "appendToBody", ariaLabel: "ariaLabel", title: "title", size: "size", displayStyle: "displayStyle", isDisabled: "isDisabled", icon: "icon", itemsSource: "itemsSource" }, outputs: { blurred: "blurred" }, host: { properties: { "attr.aria-label": "title || ariaLabel" }, classAttribute: "nui-menu" }, providers: [MenuKeyControlService], queries: [{ propertyName: "menuItems", predicate: MenuItemBaseComponent, descendants: true }, { propertyName: "menuGroups", predicate: MenuGroupComponent }], viewQueries: [{ propertyName: "popup", first: true, predicate: PopupComponent, descendants: true }, { propertyName: "menuPopup", first: true, predicate: MenuPopupComponent, descendants: true }, { propertyName: "menuToggle", first: true, predicate: ["menuToggle"], descendants: true, read: ElementRef }], usesOnChanges: true, ngImport: i0, template: "<nui-popup\n [class.nui-menu--compact]=\"isMenuCompact()\"\n (opened)=\"onMenuOpen()\"\n [appendToBody]=\"appendToBody\"\n [width]=\"widthOfPopup\"\n [contextClass]=\"contextClass + ' nui-menu-popup-host'\"\n>\n <button\n #menuToggle\n nui-button\n nuiPopupToggle\n [disabled]=\"isDisabled\"\n aria-haspopup=\"true\"\n type=\"button\"\n (blur)=\"onBlur($event)\"\n [displayStyle]=\"displayStyle\"\n [size]=\"size\"\n [icon]=\"icon\"\n [iconRight]=\"isTitlePresent()\"\n class=\"menu-button no-shadow\"\n [isEmpty]=\"!isTitlePresent()\"\n >\n <span>{{ title }}</span>\n </button>\n <div popupAreaContent>\n <nui-menu-popup\n *ngIf=\"itemsSource\"\n [itemsSource]=\"itemsSource\"\n [size]=\"size\"\n ></nui-menu-popup>\n <ng-content *ngIf=\"!itemsSource\"></ng-content>\n </div>\n</nui-popup>\n", styles: [".nui-menu-item{display:list-item;list-style-type:none;white-space:nowrap;margin-bottom:1px;font-size:13px;background-color:var(--nui-color-bg-transparent,transparent)}.nui-menu-item:not(.nui-menu-item--header){min-height:30px}.nui-menu-item .nui-icon{margin-right:5px}.nui-menu-item:not(.nui-menu-item--header):hover{background-color:var(--nui-color-bg-transparent-hover,rgba(17, 17, 17, .05))}.nui-menu-item:not(.nui-menu-item--header):hover .nui-checkbox__label{background-color:var(--transparent,transparent)}.nui-menu-item.nui-menu-item--header{padding:5px 10px;text-transform:uppercase;cursor:default;font-size:11px;color:var(--nui-color-text-secondary,rgba(17, 17, 17, .6));line-height:14px}.nui-menu-item.nui-menu-item__default,.nui-menu-item .nui-checkbox__transclude,.nui-menu-item>.nui-menu-item__link,.nui-menu-item>.nui-menu-item__switch,.nui-menu-item>.nui-menu-item__option{overflow:hidden;text-overflow:ellipsis}.nui-menu-item>.nui-menu-item__link,.nui-menu-item>.nui-menu-item__switch,.nui-menu-item>.nui-menu-item__option,.nui-menu-item>.nui-menu-item__default{display:flex;align-items:center;padding:5px 10px;text-decoration:none}.nui-menu-item>.nui-menu-item__link:active,.nui-menu-item>.nui-menu-item__switch:active,.nui-menu-item>.nui-menu-item__option:active,.nui-menu-item>.nui-menu-item__default:active,.nui-menu-item>.nui-menu-item__link:focus,.nui-menu-item>.nui-menu-item__switch:focus,.nui-menu-item>.nui-menu-item__option:focus,.nui-menu-item>.nui-menu-item__default:focus{outline:none;z-index:500;box-shadow:inset 0 0 0 2px #00c4d280}.nui-menu-item.checked{background-color:var(--nui-color-selected,rgba(0, 196, 210, .1));font-weight:600}.nui-menu-item.checked:hover{background-color:var(--nui-color-selected-hover,rgba(0, 196, 210, .2));font-weight:600;cursor:pointer}.nui-menu-item .nui-menu-item__default{padding:5px 10px;cursor:pointer;color:var(--nui-color-text-default,#111)}.nui-menu-item .nui-menu-item__default:hover{color:var(--nui-color-text-default-hover,#000000)}.nui-menu-item--active{background-color:var(--nui-color-bg-light-hover,#f2f2f2);outline:none;z-index:500;box-shadow:inset 0 0 0 2px #00c4d280}.nui-menu-item--active.nui-menu-item--selected,.nui-menu-item--active.nui-menu-item.checked{background-color:var(--nui-color-selected-hover,rgba(0, 196, 210, .2))}.nui-menu-item.nui-menu-item--selected{background-color:var(--nui-color-selected,rgba(0, 196, 210, .1));font-weight:600}.nui-menu-item.nui-menu-item--selected:hover{background-color:var(--nui-color-selected-hover,rgba(0, 196, 210, .2))}.nui-menu .nui-menu--compact{line-height:1}.nui-menu .nui-button.menu-button:focus{outline:none;z-index:500;box-shadow:0 0 0 2px #00c4d280}\n"], components: [{ type: PopupComponent, selector: "nui-popup", inputs: ["width", "overlayConfig", "contextClass", "directionTop", "directionRight", "manualOpenControl", "appendToBody", "baseElementSelector", "isHostToggleRef", "ariaLabel", "isOpen", "visible"], outputs: ["opened"] }, { type: ButtonComponent, selector: "[nui-button]", inputs: ["displayStyle", "icon", "iconColor", "iconRight", "isBusy", "isEmpty", "ariaLabel", "isRepeat", "size"] }, { type: MenuPopupComponent, selector: "nui-menu-popup", inputs: ["itemsSource", "size"], outputs: ["menuItemClicked"] }], directives: [{ type: PopupToggleDirective, selector: "[nuiPopupToggle]", inputs: ["isDisabled", "disabled"], outputs: ["toggle"] }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
13989
14018
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MenuComponent, decorators: [{
|
|
13990
14019
|
type: Component,
|
|
@@ -13992,7 +14021,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
13992
14021
|
class: "nui-menu",
|
|
13993
14022
|
"[attr.aria-label]": "title || ariaLabel",
|
|
13994
14023
|
}, encapsulation: ViewEncapsulation.None, providers: [MenuKeyControlService], template: "<nui-popup\n [class.nui-menu--compact]=\"isMenuCompact()\"\n (opened)=\"onMenuOpen()\"\n [appendToBody]=\"appendToBody\"\n [width]=\"widthOfPopup\"\n [contextClass]=\"contextClass + ' nui-menu-popup-host'\"\n>\n <button\n #menuToggle\n nui-button\n nuiPopupToggle\n [disabled]=\"isDisabled\"\n aria-haspopup=\"true\"\n type=\"button\"\n (blur)=\"onBlur($event)\"\n [displayStyle]=\"displayStyle\"\n [size]=\"size\"\n [icon]=\"icon\"\n [iconRight]=\"isTitlePresent()\"\n class=\"menu-button no-shadow\"\n [isEmpty]=\"!isTitlePresent()\"\n >\n <span>{{ title }}</span>\n </button>\n <div popupAreaContent>\n <nui-menu-popup\n *ngIf=\"itemsSource\"\n [itemsSource]=\"itemsSource\"\n [size]=\"size\"\n ></nui-menu-popup>\n <ng-content *ngIf=\"!itemsSource\"></ng-content>\n </div>\n</nui-popup>\n", styles: [".nui-menu-item{display:list-item;list-style-type:none;white-space:nowrap;margin-bottom:1px;font-size:13px;background-color:var(--nui-color-bg-transparent,transparent)}.nui-menu-item:not(.nui-menu-item--header){min-height:30px}.nui-menu-item .nui-icon{margin-right:5px}.nui-menu-item:not(.nui-menu-item--header):hover{background-color:var(--nui-color-bg-transparent-hover,rgba(17, 17, 17, .05))}.nui-menu-item:not(.nui-menu-item--header):hover .nui-checkbox__label{background-color:var(--transparent,transparent)}.nui-menu-item.nui-menu-item--header{padding:5px 10px;text-transform:uppercase;cursor:default;font-size:11px;color:var(--nui-color-text-secondary,rgba(17, 17, 17, .6));line-height:14px}.nui-menu-item.nui-menu-item__default,.nui-menu-item .nui-checkbox__transclude,.nui-menu-item>.nui-menu-item__link,.nui-menu-item>.nui-menu-item__switch,.nui-menu-item>.nui-menu-item__option{overflow:hidden;text-overflow:ellipsis}.nui-menu-item>.nui-menu-item__link,.nui-menu-item>.nui-menu-item__switch,.nui-menu-item>.nui-menu-item__option,.nui-menu-item>.nui-menu-item__default{display:flex;align-items:center;padding:5px 10px;text-decoration:none}.nui-menu-item>.nui-menu-item__link:active,.nui-menu-item>.nui-menu-item__switch:active,.nui-menu-item>.nui-menu-item__option:active,.nui-menu-item>.nui-menu-item__default:active,.nui-menu-item>.nui-menu-item__link:focus,.nui-menu-item>.nui-menu-item__switch:focus,.nui-menu-item>.nui-menu-item__option:focus,.nui-menu-item>.nui-menu-item__default:focus{outline:none;z-index:500;box-shadow:inset 0 0 0 2px #00c4d280}.nui-menu-item.checked{background-color:var(--nui-color-selected,rgba(0, 196, 210, .1));font-weight:600}.nui-menu-item.checked:hover{background-color:var(--nui-color-selected-hover,rgba(0, 196, 210, .2));font-weight:600;cursor:pointer}.nui-menu-item .nui-menu-item__default{padding:5px 10px;cursor:pointer;color:var(--nui-color-text-default,#111)}.nui-menu-item .nui-menu-item__default:hover{color:var(--nui-color-text-default-hover,#000000)}.nui-menu-item--active{background-color:var(--nui-color-bg-light-hover,#f2f2f2);outline:none;z-index:500;box-shadow:inset 0 0 0 2px #00c4d280}.nui-menu-item--active.nui-menu-item--selected,.nui-menu-item--active.nui-menu-item.checked{background-color:var(--nui-color-selected-hover,rgba(0, 196, 210, .2))}.nui-menu-item.nui-menu-item--selected{background-color:var(--nui-color-selected,rgba(0, 196, 210, .1));font-weight:600}.nui-menu-item.nui-menu-item--selected:hover{background-color:var(--nui-color-selected-hover,rgba(0, 196, 210, .2))}.nui-menu .nui-menu--compact{line-height:1}.nui-menu .nui-button.menu-button:focus{outline:none;z-index:500;box-shadow:0 0 0 2px #00c4d280}\n"] }]
|
|
13995
|
-
}], ctorParameters: function () { return [{ type: MenuKeyControlService }, { type: i0.Renderer2 }, { type: i1$
|
|
14024
|
+
}], ctorParameters: function () { return [{ type: MenuKeyControlService }, { type: i0.Renderer2 }, { type: i1$3.FocusMonitor }]; }, propDecorators: { widthOfPopup: [{
|
|
13996
14025
|
type: Input
|
|
13997
14026
|
}], contextClass: [{
|
|
13998
14027
|
type: Input
|
|
@@ -14335,9 +14364,7 @@ class RadioComponent {
|
|
|
14335
14364
|
// This will lead to multiple click events.
|
|
14336
14365
|
// Preventing bubbling for the second event will solve that issue.
|
|
14337
14366
|
event.stopPropagation();
|
|
14338
|
-
this.eventBusService
|
|
14339
|
-
.getStream({ id: DOCUMENT_CLICK_EVENT })
|
|
14340
|
-
.next(event);
|
|
14367
|
+
this.eventBusService.getStream(DOCUMENT_CLICK_EVENT).next(event);
|
|
14341
14368
|
}
|
|
14342
14369
|
}
|
|
14343
14370
|
RadioComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: RadioComponent, deps: [{ token: RadioGroupComponent, optional: true }, { token: i0.ChangeDetectorRef }, { token: EventBusService }], target: i0.ɵɵFactoryTarget.Component });
|
|
@@ -14760,8 +14787,8 @@ class RepeatComponent {
|
|
|
14760
14787
|
}
|
|
14761
14788
|
}
|
|
14762
14789
|
}
|
|
14763
|
-
RepeatComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: RepeatComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: LoggerService }, { token: i0.IterableDiffers }, { token:
|
|
14764
|
-
RepeatComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: RepeatComponent, selector: "nui-repeat", inputs: { draggable: "draggable", reorderable: "reorderable", preventRowClick: "preventRowClick", repeatItemTemplateRef: "repeatItemTemplateRef", dragHandleTemplateRef: "dragHandleTemplateRef", dragPreviewClass: "dragPreviewClass", dragPreviewTemplateRef: "dragPreviewTemplateRef", actionsTemplateRef: "actionsTemplateRef", selectionMode: "selectionMode", paddingSize: "paddingSize", virtualScroll: "virtualScroll", itemSize: "itemSize", selection: "selection", itemConfig: "itemConfig", itemsSource: "itemsSource", highlightSelectedItem: "highlightSelectedItem" }, outputs: { draggableChange: "draggableChange", reorderableChange: "reorderableChange", itemsReordered: "itemsReordered", selectionChange: "selectionChange" }, host: { properties: { "class.virtual-scroll-viewport": "virtualScroll", "attr.role": "role", "attr.aria-multiselectable": "ariaMultiselectable", "style.width": "this.width" } }, viewQueries: [{ propertyName: "dropListArea", first: true, predicate: ["dropListArea"], descendants: true }, { propertyName: "_viewportRef", first: true, predicate: CdkVirtualScrollViewport, descendants: true }, { propertyName: "draggableElements", predicate: CdkDrag, descendants: true }], ngImport: i0, template: "<ng-template #repeatItems let-item=\"item\" let-itemIndex=\"itemIndex\">\n <nui-repeat-item\n class=\"repeat-group-item\"\n #drag=\"cdkDrag\"\n cdkDrag\n [cdkDragData]=\"item\"\n [cdkDragPreviewClass]=\"dragPreviewClass\"\n [cdkDragDisabled]=\"!isItemDraggable(item)\"\n (rowClicked)=\"itemClicked($event, item)\"\n [clickable]=\"isItemClickable(item)\"\n [selectable]=\"isItemSelectable(item)\"\n [selected]=\"isItemSelected(item) && !isItemDisabled(item)\"\n [class.repeat-group-item--disabled]=\"isItemDisabled(item)\"\n [class.nui-dnd-without-drag-handle]=\"\n isItemDraggable(item) && !dragHandleTemplateRef\n \"\n [class.nui-dnd-raised-state]=\"\n isItemDraggable(item) && mousedOver[itemIndex]\n \"\n >\n <div\n *ngIf=\"dragHandleTemplateRef && !virtualScroll\"\n [class.hide]=\"!draggable\"\n [class.invisible]=\"!isItemDraggable(item)\"\n class=\"nui-repeat-item__controls-drag-handle align-self-center\"\n >\n <div\n cdkDragHandle\n (mouseover)=\"mousedOver[itemIndex] = true\"\n (mouseout)=\"mousedOver[itemIndex] = false\"\n [class.nui-dnd-handle]=\"!drag.disabled\"\n >\n <ng-container\n [ngTemplateOutlet]=\"dragHandleTemplateRef\"\n [ngTemplateOutletContext]=\"{ item: item }\"\n ></ng-container>\n </div>\n </div>\n <div\n *ngIf=\"dragPreviewTemplateRef && !virtualScroll\"\n class=\"nui-repeat-item__controls-drag-handle\"\n >\n <div\n *cdkDragPreview\n [class.nui-dnd-preview]=\"!isItemDisabled(item)\"\n >\n <ng-container\n [ngTemplateOutlet]=\"dragPreviewTemplateRef\"\n [ngTemplateOutletContext]=\"{ item: item }\"\n ></ng-container>\n </div>\n </div>\n <div class=\"nui-repeat-item__controls-container\">\n <nui-checkbox\n *ngIf=\"isModeMulti()\"\n class=\"nui-repeat-item__checkbox\"\n [value]=\"item\"\n [checked]=\"isItemSelected(item)\"\n [disabled]=\"isItemDisabled(item)\"\n (valueChange)=\"itemClicked($event, item)\"\n >\n </nui-checkbox>\n <nui-radio\n *ngIf=\"isModeRadio()\"\n class=\"nui-repeat-item__radio\"\n [value]=\"item\"\n [checked]=\"isItemSelected(item)\"\n [disabled]=\"isItemDisabled(item)\"\n (click)=\"itemClicked($event, item)\"\n >\n </nui-radio>\n </div>\n <div class=\"nui-repeat-item__content-container\">\n <ng-container\n [ngTemplateOutlet]=\"repeatItemTemplateRef\"\n [ngTemplateOutletContext]=\"{ item: item }\"\n ></ng-container>\n </div>\n <div\n class=\"nui-repeat-item__actions-container\"\n *ngIf=\"actionsTemplateRef\"\n >\n <ng-container\n [ngTemplateOutlet]=\"actionsTemplateRef\"\n [ngTemplateOutletContext]=\"{ item: item }\"\n >\n </ng-container>\n </div>\n </nui-repeat-item>\n</ng-template>\n\n<div class=\"nui-repeat nui-repeat__{{ paddingSize }}\">\n <div class=\"nui-repeat-header\">\n <ng-content select=\"[repeatHeaderTemplate]\"></ng-content>\n </div>\n <ul #dropListArea class=\"repeat-group\" aria-dropeffect=\"move\">\n <div *ngIf=\"!virtualScroll\">\n <ng-container\n *ngFor=\"\n let sourceItem of itemsSource;\n trackBy: itemConfig?.trackBy;\n let itemIndex = index\n \"\n [ngTemplateOutlet]=\"repeatItems\"\n [ngTemplateOutletContext]=\"{\n item: sourceItem,\n itemIndex: itemIndex\n }\"\n ></ng-container>\n </div>\n <cdk-virtual-scroll-viewport\n [itemSize]=\"itemSize\"\n *ngIf=\"virtualScroll && itemSize\"\n >\n <ng-container\n *cdkVirtualFor=\"\n let sourceItem of itemsSource;\n templateCacheSize: 0\n \"\n >\n <ng-container\n [ngTemplateOutlet]=\"repeatItems\"\n [ngTemplateOutletContext]=\"{ item: sourceItem }\"\n ></ng-container>\n </ng-container>\n </cdk-virtual-scroll-viewport>\n </ul>\n</div>\n", styles: [".nui .nui-repeat{height:inherit}.nui .nui-repeat__normal .nui-repeat-item{padding-top:5px;padding-bottom:5px}.nui .nui-repeat>ul>cdk-virtual-scroll-viewport{height:100%}.nui .nui-repeat__compact .nui-repeat-item{padding-top:0;padding-bottom:0}.nui .nui-repeat-header{color:var(--nui-color-text-default,#111);background-color:var(--nui-color-bg-light,#fff)}.nui .nui-repeat .repeat-group .nui-repeat-item{cursor:auto}.nui .nui-repeat .repeat-group .nui-repeat-item.nui-repeat-item--clickable{cursor:pointer}.nui .nui-repeat .repeat-group .nui-repeat-item.nui-repeat-item--clickable:hover:not(.nui-repeat-item--selected){border-color:var(--nui-color-line-default,#d9d9d9)}.nui .nui-repeat .repeat-group-item:first-child .nui-repeat-item{border-top:solid 1px;border-top-color:var(--nui-color-line-default,#d9d9d9)}.nui .nui-repeat .repeat-group{margin-bottom:0;padding-left:0;margin-left:0;height:inherit}.nui .nui-repeat .repeat-group-item{position:relative;display:block;color:var(--nui-color-text-default,#111);background-color:var(--nui-color-bg-light,#fff);transition:box-shadow .4s}.nui .nui-repeat .repeat-group-item:first-child{border-top-right-radius:0;border-top-left-radius:0}.nui .nui-repeat .repeat-group-item:last-child{margin-bottom:0;border-bottom-right-radius:0;border-bottom-left-radius:0}.nui .nui-repeat .repeat-group-item:hover{cursor:pointer}.nui .nui-repeat .repeat-group-item:hover.nui-dnd-without-drag-handle:not(.cdk-drag-disabled){cursor:move;z-index:1;box-sizing:border-box;box-shadow:0 2px 10px 0 var(--nui-shadow-color, rgba(17, 17, 17, .3))}.nui .nui-repeat .repeat-group-item--disabled{color:var(--nui-color-text-disabled,rgba(17, 17, 17, .3))}.nui .nui-repeat .repeat-group-item--disabled:hover{cursor:not-allowed}.nui .nui-repeat .nui-repeat-item{border-bottom:solid 1px;border-bottom-color:var(--nui-color-line-default,#d9d9d9)}@supports (-ms-ime-align: auto){.nui .nui-repeat .nui-repeat-item{margin-bottom:.5px}}\n"], components: [{ type: RepeatItemComponent, selector: "nui-repeat-item", inputs: ["clickable", "nowrap", "selected", "selectable"], outputs: ["rowClicked"] }, { type: CheckboxComponent, selector: "nui-checkbox", inputs: ["ariaLabel", "ariaLabelledby", "ariaDescribedby", "name", "title", "value", "hovered", "checked", "required", "hint", "disabled", "indeterminate"], outputs: ["valueChange"] }, { type: RadioComponent, selector: "nui-radio", inputs: ["value", "hovered", "checked", "hint", "disabled", "ariaLabel"], outputs: ["valueChange"] }, { type: i1$4.CdkVirtualScrollViewport, selector: "cdk-virtual-scroll-viewport", inputs: ["orientation", "appendOnly"], outputs: ["scrolledIndexChange"] }], directives: [{ type: i2.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { type: i3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i2.CdkDragPreview, selector: "ng-template[cdkDragPreview]", inputs: ["data", "matchSize"] }, { type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1$4.CdkFixedSizeVirtualScroll, selector: "cdk-virtual-scroll-viewport[itemSize]", inputs: ["itemSize", "minBufferPx", "maxBufferPx"] }, { type: i1$4.CdkVirtualForOf, selector: "[cdkVirtualFor][cdkVirtualForOf]", inputs: ["cdkVirtualForOf", "cdkVirtualForTrackBy", "cdkVirtualForTemplate", "cdkVirtualForTemplateCacheSize"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
14790
|
+
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 });
|
|
14791
|
+
RepeatComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: RepeatComponent, selector: "nui-repeat", inputs: { draggable: "draggable", reorderable: "reorderable", preventRowClick: "preventRowClick", repeatItemTemplateRef: "repeatItemTemplateRef", dragHandleTemplateRef: "dragHandleTemplateRef", dragPreviewClass: "dragPreviewClass", dragPreviewTemplateRef: "dragPreviewTemplateRef", actionsTemplateRef: "actionsTemplateRef", selectionMode: "selectionMode", paddingSize: "paddingSize", virtualScroll: "virtualScroll", itemSize: "itemSize", selection: "selection", itemConfig: "itemConfig", itemsSource: "itemsSource", highlightSelectedItem: "highlightSelectedItem" }, outputs: { draggableChange: "draggableChange", reorderableChange: "reorderableChange", itemsReordered: "itemsReordered", selectionChange: "selectionChange" }, host: { properties: { "class.virtual-scroll-viewport": "virtualScroll", "attr.role": "role", "attr.aria-multiselectable": "ariaMultiselectable", "style.width": "this.width" } }, viewQueries: [{ propertyName: "dropListArea", first: true, predicate: ["dropListArea"], descendants: true }, { propertyName: "_viewportRef", first: true, predicate: CdkVirtualScrollViewport, descendants: true }, { propertyName: "draggableElements", predicate: CdkDrag, descendants: true }], ngImport: i0, template: "<ng-template #repeatItems let-item=\"item\" let-itemIndex=\"itemIndex\">\n <nui-repeat-item\n class=\"repeat-group-item\"\n #drag=\"cdkDrag\"\n cdkDrag\n [cdkDragData]=\"item\"\n [cdkDragPreviewClass]=\"dragPreviewClass\"\n [cdkDragDisabled]=\"!isItemDraggable(item)\"\n (rowClicked)=\"itemClicked($event, item)\"\n [clickable]=\"isItemClickable(item)\"\n [selectable]=\"isItemSelectable(item)\"\n [selected]=\"isItemSelected(item) && !isItemDisabled(item)\"\n [class.repeat-group-item--disabled]=\"isItemDisabled(item)\"\n [class.nui-dnd-without-drag-handle]=\"\n isItemDraggable(item) && !dragHandleTemplateRef\n \"\n [class.nui-dnd-raised-state]=\"\n isItemDraggable(item) && mousedOver[itemIndex]\n \"\n >\n <div\n *ngIf=\"dragHandleTemplateRef && !virtualScroll\"\n [class.hide]=\"!draggable\"\n [class.invisible]=\"!isItemDraggable(item)\"\n class=\"nui-repeat-item__controls-drag-handle align-self-center\"\n >\n <div\n cdkDragHandle\n (mouseover)=\"mousedOver[itemIndex] = true\"\n (mouseout)=\"mousedOver[itemIndex] = false\"\n [class.nui-dnd-handle]=\"!drag.disabled\"\n >\n <ng-container\n [ngTemplateOutlet]=\"dragHandleTemplateRef\"\n [ngTemplateOutletContext]=\"{ item: item }\"\n ></ng-container>\n </div>\n </div>\n <div\n *ngIf=\"dragPreviewTemplateRef && !virtualScroll\"\n class=\"nui-repeat-item__controls-drag-handle\"\n >\n <div\n *cdkDragPreview\n [class.nui-dnd-preview]=\"!isItemDisabled(item)\"\n >\n <ng-container\n [ngTemplateOutlet]=\"dragPreviewTemplateRef\"\n [ngTemplateOutletContext]=\"{ item: item }\"\n ></ng-container>\n </div>\n </div>\n <div class=\"nui-repeat-item__controls-container\">\n <nui-checkbox\n *ngIf=\"isModeMulti()\"\n class=\"nui-repeat-item__checkbox\"\n [value]=\"item\"\n [checked]=\"isItemSelected(item)\"\n [disabled]=\"isItemDisabled(item)\"\n (valueChange)=\"itemClicked($event, item)\"\n >\n </nui-checkbox>\n <nui-radio\n *ngIf=\"isModeRadio()\"\n class=\"nui-repeat-item__radio\"\n [value]=\"item\"\n [checked]=\"isItemSelected(item)\"\n [disabled]=\"isItemDisabled(item)\"\n (click)=\"itemClicked($event, item)\"\n >\n </nui-radio>\n </div>\n <div class=\"nui-repeat-item__content-container\">\n <ng-container\n [ngTemplateOutlet]=\"repeatItemTemplateRef\"\n [ngTemplateOutletContext]=\"{ item: item }\"\n ></ng-container>\n </div>\n <div\n class=\"nui-repeat-item__actions-container\"\n *ngIf=\"actionsTemplateRef\"\n >\n <ng-container\n [ngTemplateOutlet]=\"actionsTemplateRef\"\n [ngTemplateOutletContext]=\"{ item: item }\"\n >\n </ng-container>\n </div>\n </nui-repeat-item>\n</ng-template>\n\n<div class=\"nui-repeat nui-repeat__{{ paddingSize }}\">\n <div class=\"nui-repeat-header\">\n <ng-content select=\"[repeatHeaderTemplate]\"></ng-content>\n </div>\n <ul #dropListArea class=\"repeat-group\" aria-dropeffect=\"move\">\n <div *ngIf=\"!virtualScroll\">\n <ng-container\n *ngFor=\"\n let sourceItem of itemsSource;\n trackBy: itemConfig?.trackBy;\n let itemIndex = index\n \"\n [ngTemplateOutlet]=\"repeatItems\"\n [ngTemplateOutletContext]=\"{\n item: sourceItem,\n itemIndex: itemIndex\n }\"\n ></ng-container>\n </div>\n <cdk-virtual-scroll-viewport\n [itemSize]=\"itemSize\"\n *ngIf=\"virtualScroll && itemSize\"\n >\n <ng-container\n *cdkVirtualFor=\"\n let sourceItem of itemsSource;\n templateCacheSize: 0\n \"\n >\n <ng-container\n [ngTemplateOutlet]=\"repeatItems\"\n [ngTemplateOutletContext]=\"{ item: sourceItem }\"\n ></ng-container>\n </ng-container>\n </cdk-virtual-scroll-viewport>\n </ul>\n</div>\n", styles: [".nui .nui-repeat{height:inherit}.nui .nui-repeat__normal .nui-repeat-item{padding-top:5px;padding-bottom:5px}.nui .nui-repeat>ul>cdk-virtual-scroll-viewport{height:100%}.nui .nui-repeat__compact .nui-repeat-item{padding-top:0;padding-bottom:0}.nui .nui-repeat-header{color:var(--nui-color-text-default,#111);background-color:var(--nui-color-bg-light,#fff)}.nui .nui-repeat .repeat-group .nui-repeat-item{cursor:auto}.nui .nui-repeat .repeat-group .nui-repeat-item.nui-repeat-item--clickable{cursor:pointer}.nui .nui-repeat .repeat-group .nui-repeat-item.nui-repeat-item--clickable:hover:not(.nui-repeat-item--selected){border-color:var(--nui-color-line-default,#d9d9d9)}.nui .nui-repeat .repeat-group-item:first-child .nui-repeat-item{border-top:solid 1px;border-top-color:var(--nui-color-line-default,#d9d9d9)}.nui .nui-repeat .repeat-group{margin-bottom:0;padding-left:0;margin-left:0;height:inherit}.nui .nui-repeat .repeat-group-item{position:relative;display:block;color:var(--nui-color-text-default,#111);background-color:var(--nui-color-bg-light,#fff);transition:box-shadow .4s}.nui .nui-repeat .repeat-group-item:first-child{border-top-right-radius:0;border-top-left-radius:0}.nui .nui-repeat .repeat-group-item:last-child{margin-bottom:0;border-bottom-right-radius:0;border-bottom-left-radius:0}.nui .nui-repeat .repeat-group-item:hover{cursor:pointer}.nui .nui-repeat .repeat-group-item:hover.nui-dnd-without-drag-handle:not(.cdk-drag-disabled){cursor:move;z-index:1;box-sizing:border-box;box-shadow:0 2px 10px 0 var(--nui-shadow-color, rgba(17, 17, 17, .3))}.nui .nui-repeat .repeat-group-item--disabled{color:var(--nui-color-text-disabled,rgba(17, 17, 17, .3))}.nui .nui-repeat .repeat-group-item--disabled:hover{cursor:not-allowed}.nui .nui-repeat .nui-repeat-item{border-bottom:solid 1px;border-bottom-color:var(--nui-color-line-default,#d9d9d9)}@supports (-ms-ime-align: auto){.nui .nui-repeat .nui-repeat-item{margin-bottom:.5px}}\n"], components: [{ type: RepeatItemComponent, selector: "nui-repeat-item", inputs: ["clickable", "nowrap", "selected", "selectable"], outputs: ["rowClicked"] }, { type: CheckboxComponent, selector: "nui-checkbox", inputs: ["ariaLabel", "ariaLabelledby", "ariaDescribedby", "name", "title", "value", "hovered", "checked", "required", "hint", "disabled", "indeterminate"], outputs: ["valueChange"] }, { type: RadioComponent, selector: "nui-radio", inputs: ["value", "hovered", "checked", "hint", "disabled", "ariaLabel"], outputs: ["valueChange"] }, { type: i1$5.CdkVirtualScrollViewport, selector: "cdk-virtual-scroll-viewport", inputs: ["orientation", "appendOnly"], outputs: ["scrolledIndexChange"] }], directives: [{ type: i1.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { type: i3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i1.CdkDragPreview, selector: "ng-template[cdkDragPreview]", inputs: ["data", "matchSize"] }, { type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1$5.CdkFixedSizeVirtualScroll, selector: "cdk-virtual-scroll-viewport[itemSize]", inputs: ["itemSize", "minBufferPx", "maxBufferPx"] }, { type: i1$5.CdkVirtualForOf, selector: "[cdkVirtualFor][cdkVirtualForOf]", inputs: ["cdkVirtualForOf", "cdkVirtualForTrackBy", "cdkVirtualForTemplate", "cdkVirtualForTemplateCacheSize"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
14765
14792
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: RepeatComponent, decorators: [{
|
|
14766
14793
|
type: Component,
|
|
14767
14794
|
args: [{ selector: "nui-repeat", changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
|
|
@@ -14769,7 +14796,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
14769
14796
|
"[attr.role]": "role",
|
|
14770
14797
|
"[attr.aria-multiselectable]": "ariaMultiselectable",
|
|
14771
14798
|
}, template: "<ng-template #repeatItems let-item=\"item\" let-itemIndex=\"itemIndex\">\n <nui-repeat-item\n class=\"repeat-group-item\"\n #drag=\"cdkDrag\"\n cdkDrag\n [cdkDragData]=\"item\"\n [cdkDragPreviewClass]=\"dragPreviewClass\"\n [cdkDragDisabled]=\"!isItemDraggable(item)\"\n (rowClicked)=\"itemClicked($event, item)\"\n [clickable]=\"isItemClickable(item)\"\n [selectable]=\"isItemSelectable(item)\"\n [selected]=\"isItemSelected(item) && !isItemDisabled(item)\"\n [class.repeat-group-item--disabled]=\"isItemDisabled(item)\"\n [class.nui-dnd-without-drag-handle]=\"\n isItemDraggable(item) && !dragHandleTemplateRef\n \"\n [class.nui-dnd-raised-state]=\"\n isItemDraggable(item) && mousedOver[itemIndex]\n \"\n >\n <div\n *ngIf=\"dragHandleTemplateRef && !virtualScroll\"\n [class.hide]=\"!draggable\"\n [class.invisible]=\"!isItemDraggable(item)\"\n class=\"nui-repeat-item__controls-drag-handle align-self-center\"\n >\n <div\n cdkDragHandle\n (mouseover)=\"mousedOver[itemIndex] = true\"\n (mouseout)=\"mousedOver[itemIndex] = false\"\n [class.nui-dnd-handle]=\"!drag.disabled\"\n >\n <ng-container\n [ngTemplateOutlet]=\"dragHandleTemplateRef\"\n [ngTemplateOutletContext]=\"{ item: item }\"\n ></ng-container>\n </div>\n </div>\n <div\n *ngIf=\"dragPreviewTemplateRef && !virtualScroll\"\n class=\"nui-repeat-item__controls-drag-handle\"\n >\n <div\n *cdkDragPreview\n [class.nui-dnd-preview]=\"!isItemDisabled(item)\"\n >\n <ng-container\n [ngTemplateOutlet]=\"dragPreviewTemplateRef\"\n [ngTemplateOutletContext]=\"{ item: item }\"\n ></ng-container>\n </div>\n </div>\n <div class=\"nui-repeat-item__controls-container\">\n <nui-checkbox\n *ngIf=\"isModeMulti()\"\n class=\"nui-repeat-item__checkbox\"\n [value]=\"item\"\n [checked]=\"isItemSelected(item)\"\n [disabled]=\"isItemDisabled(item)\"\n (valueChange)=\"itemClicked($event, item)\"\n >\n </nui-checkbox>\n <nui-radio\n *ngIf=\"isModeRadio()\"\n class=\"nui-repeat-item__radio\"\n [value]=\"item\"\n [checked]=\"isItemSelected(item)\"\n [disabled]=\"isItemDisabled(item)\"\n (click)=\"itemClicked($event, item)\"\n >\n </nui-radio>\n </div>\n <div class=\"nui-repeat-item__content-container\">\n <ng-container\n [ngTemplateOutlet]=\"repeatItemTemplateRef\"\n [ngTemplateOutletContext]=\"{ item: item }\"\n ></ng-container>\n </div>\n <div\n class=\"nui-repeat-item__actions-container\"\n *ngIf=\"actionsTemplateRef\"\n >\n <ng-container\n [ngTemplateOutlet]=\"actionsTemplateRef\"\n [ngTemplateOutletContext]=\"{ item: item }\"\n >\n </ng-container>\n </div>\n </nui-repeat-item>\n</ng-template>\n\n<div class=\"nui-repeat nui-repeat__{{ paddingSize }}\">\n <div class=\"nui-repeat-header\">\n <ng-content select=\"[repeatHeaderTemplate]\"></ng-content>\n </div>\n <ul #dropListArea class=\"repeat-group\" aria-dropeffect=\"move\">\n <div *ngIf=\"!virtualScroll\">\n <ng-container\n *ngFor=\"\n let sourceItem of itemsSource;\n trackBy: itemConfig?.trackBy;\n let itemIndex = index\n \"\n [ngTemplateOutlet]=\"repeatItems\"\n [ngTemplateOutletContext]=\"{\n item: sourceItem,\n itemIndex: itemIndex\n }\"\n ></ng-container>\n </div>\n <cdk-virtual-scroll-viewport\n [itemSize]=\"itemSize\"\n *ngIf=\"virtualScroll && itemSize\"\n >\n <ng-container\n *cdkVirtualFor=\"\n let sourceItem of itemsSource;\n templateCacheSize: 0\n \"\n >\n <ng-container\n [ngTemplateOutlet]=\"repeatItems\"\n [ngTemplateOutletContext]=\"{ item: sourceItem }\"\n ></ng-container>\n </ng-container>\n </cdk-virtual-scroll-viewport>\n </ul>\n</div>\n", styles: [".nui .nui-repeat{height:inherit}.nui .nui-repeat__normal .nui-repeat-item{padding-top:5px;padding-bottom:5px}.nui .nui-repeat>ul>cdk-virtual-scroll-viewport{height:100%}.nui .nui-repeat__compact .nui-repeat-item{padding-top:0;padding-bottom:0}.nui .nui-repeat-header{color:var(--nui-color-text-default,#111);background-color:var(--nui-color-bg-light,#fff)}.nui .nui-repeat .repeat-group .nui-repeat-item{cursor:auto}.nui .nui-repeat .repeat-group .nui-repeat-item.nui-repeat-item--clickable{cursor:pointer}.nui .nui-repeat .repeat-group .nui-repeat-item.nui-repeat-item--clickable:hover:not(.nui-repeat-item--selected){border-color:var(--nui-color-line-default,#d9d9d9)}.nui .nui-repeat .repeat-group-item:first-child .nui-repeat-item{border-top:solid 1px;border-top-color:var(--nui-color-line-default,#d9d9d9)}.nui .nui-repeat .repeat-group{margin-bottom:0;padding-left:0;margin-left:0;height:inherit}.nui .nui-repeat .repeat-group-item{position:relative;display:block;color:var(--nui-color-text-default,#111);background-color:var(--nui-color-bg-light,#fff);transition:box-shadow .4s}.nui .nui-repeat .repeat-group-item:first-child{border-top-right-radius:0;border-top-left-radius:0}.nui .nui-repeat .repeat-group-item:last-child{margin-bottom:0;border-bottom-right-radius:0;border-bottom-left-radius:0}.nui .nui-repeat .repeat-group-item:hover{cursor:pointer}.nui .nui-repeat .repeat-group-item:hover.nui-dnd-without-drag-handle:not(.cdk-drag-disabled){cursor:move;z-index:1;box-sizing:border-box;box-shadow:0 2px 10px 0 var(--nui-shadow-color, rgba(17, 17, 17, .3))}.nui .nui-repeat .repeat-group-item--disabled{color:var(--nui-color-text-disabled,rgba(17, 17, 17, .3))}.nui .nui-repeat .repeat-group-item--disabled:hover{cursor:not-allowed}.nui .nui-repeat .nui-repeat-item{border-bottom:solid 1px;border-bottom-color:var(--nui-color-line-default,#d9d9d9)}@supports (-ms-ime-align: auto){.nui .nui-repeat .nui-repeat-item{margin-bottom:.5px}}\n"] }]
|
|
14772
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: LoggerService }, { type: i0.IterableDiffers }, { type:
|
|
14799
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: LoggerService }, { type: i0.IterableDiffers }, { type: i1.DragDrop }, { type: i0.ElementRef }]; }, propDecorators: { draggable: [{
|
|
14773
14800
|
type: Input
|
|
14774
14801
|
}], reorderable: [{
|
|
14775
14802
|
type: Input
|
|
@@ -15466,7 +15493,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
15466
15493
|
/**
|
|
15467
15494
|
* @deprecated in v11 - Use BaseSelectV2 instead - Removal: NUI-5796
|
|
15468
15495
|
*/
|
|
15469
|
-
// eslint-disable-next-line @angular-eslint/directive-class-suffix
|
|
15470
15496
|
class BaseSelect {
|
|
15471
15497
|
constructor(utilService) {
|
|
15472
15498
|
this.utilService = utilService;
|
|
@@ -15770,7 +15796,6 @@ class ComboboxComponent extends BaseSelect {
|
|
|
15770
15796
|
}
|
|
15771
15797
|
findObjectByValue(value) {
|
|
15772
15798
|
let arrayOfValues;
|
|
15773
|
-
let foundObject;
|
|
15774
15799
|
// for itemsSource passed as ISelectGroup[]
|
|
15775
15800
|
if (this.isGroupedData(this.itemsSource)) {
|
|
15776
15801
|
arrayOfValues = _flatMap(this.itemsSource, (group) => group.items);
|
|
@@ -15778,7 +15803,7 @@ class ComboboxComponent extends BaseSelect {
|
|
|
15778
15803
|
else {
|
|
15779
15804
|
arrayOfValues = this.itemsSource;
|
|
15780
15805
|
}
|
|
15781
|
-
foundObject = _find(arrayOfValues, [this.displayValue, value]);
|
|
15806
|
+
const foundObject = _find(arrayOfValues, [this.displayValue, value]);
|
|
15782
15807
|
return foundObject ? foundObject : value;
|
|
15783
15808
|
}
|
|
15784
15809
|
isGroupedData(itemsSource) {
|
|
@@ -15820,7 +15845,7 @@ class ComboboxComponent extends BaseSelect {
|
|
|
15820
15845
|
}
|
|
15821
15846
|
}
|
|
15822
15847
|
}
|
|
15823
|
-
ComboboxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ComboboxComponent, deps: [{ token: UtilService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: MenuKeyControlService }, { token: i1$
|
|
15848
|
+
ComboboxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ComboboxComponent, deps: [{ token: UtilService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: MenuKeyControlService }, { token: i1$3.FocusMonitor }, { token: LoggerService }], target: i0.ɵɵFactoryTarget.Component });
|
|
15824
15849
|
ComboboxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ComboboxComponent, selector: "nui-combobox", inputs: { clearOnBlur: "clearOnBlur", appendToBody: "appendToBody" }, host: { properties: { "class.nui-combobox--justified": "this.isJustified", "class.nui-combobox--inline": "this.isInline" }, classAttribute: "nui-combobox" }, providers: [
|
|
15825
15850
|
{
|
|
15826
15851
|
provide: NG_VALUE_ACCESSOR,
|
|
@@ -15849,7 +15874,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
15849
15874
|
},
|
|
15850
15875
|
MenuKeyControlService,
|
|
15851
15876
|
], encapsulation: ViewEncapsulation.None, template: "<div class=\"nui-combobox__layout-block\" [class.disabled]=\"isDisabled\">\n <nui-popup\n [class.custom-template]=\"customTemplate\"\n (opened)=\"openChange($event)\"\n [manualOpenControl]=\"openControl\"\n [width]=\"getWidth()\"\n [contextClass]=\"getPopupContextClass()\"\n [appendToBody]=\"appendToBody\"\n >\n <div class=\"nui-combobox__icon\" *ngIf=\"!!icon\">\n <nui-icon\n [icon]=\"icon\"\n aria-hidden=\"true\"\n [iconColor]=\"getIconColor()\"\n ></nui-icon>\n </div>\n <div\n class=\"nui-combobox__container\"\n [class.has-error]=\"isInErrorState\"\n [class.nui-combobox__editable-container--disabled]=\"isDisabled\"\n nuiPopupToggle\n [disabled]=\"isDisabled\"\n >\n <nui-textbox\n class=\"nui-combobox__input\"\n [class.nui-combobox__input-icon]=\"showIcon()\"\n [class.nui-combobox__right-border]=\"showRightBorder()\"\n [class.nui-combobox__input--with-remove-value]=\"\n isRemoveValueDisplayed()\n \"\n type=\"text\"\n autocomplete=\"off\"\n [value]=\"unescapeItem(inputValue)\"\n [placeholder]=\"displayPlaceholderValue()\"\n (textChange)=\"onInputChange($event)\"\n [disabled]=\"isDisabled\"\n [isInErrorState]=\"isInErrorState\"\n [ariaLabel]=\"ariaLabel\"\n #comboboxToggle\n >\n </nui-textbox>\n <button\n tabindex=\"-1\"\n *ngIf=\"isRemoveValueDisplayed()\"\n nui-button\n class=\"nui-combobox__remove-value\"\n (click)=\"clearValue($event)\"\n [isEmpty]=\"true\"\n icon=\"remove\"\n title=\"remove\"\n displayStyle=\"action\"\n type=\"button\"\n ></button>\n <button\n tabindex=\"-1\"\n class=\"nui-combobox__toggle\"\n nui-button\n [isEmpty]=\"true\"\n icon=\"caret-down\"\n title=\"toggle\"\n displayStyle=\"action\"\n type=\"button\"\n [class.disabled]=\"isDisabled\"\n [disabled]=\"isDisabled\"\n ></button>\n </div>\n <div popupAreaContent>\n <div #scrollContainer class=\"nui-menu nui-combobox__menu\">\n <ng-container *ngFor=\"let item of itemsSource\">\n <nui-menu-action\n tabindex=\"-1\"\n *ngIf=\"!item.items\"\n [class.item-selected]=\"isItemSelected(item)\"\n (actionDone)=\"select(item)\"\n >\n <span\n tabindex=\"-1\"\n *ngIf=\"!customTemplate\"\n [innerHTML]=\"\n getItemDisplay(item)\n | nuiHighlight\n : (isItemSelected(item)\n ? ''\n : inputValue)\n \"\n ></span>\n <ng-container\n [ngTemplateOutlet]=\"customTemplate\"\n [ngTemplateOutletContext]=\"{ context: item }\"\n >\n </ng-container>\n </nui-menu-action>\n <nui-menu-group\n tabindex=\"-1\"\n *ngIf=\"item.items\"\n [header]=\"item.header\"\n >\n <nui-menu-action\n *ngFor=\"let groupedItem of item.items\"\n [class.item-selected]=\"isItemSelected(groupedItem)\"\n (actionDone)=\"select(groupedItem)\"\n >\n <span\n tabindex=\"-1\"\n [innerHTML]=\"\n getItemDisplay(groupedItem)\n | nuiHighlight\n : (isItemSelected(groupedItem)\n ? ''\n : inputValue)\n \"\n ></span>\n </nui-menu-action>\n </nui-menu-group>\n </ng-container>\n </div>\n </div>\n </nui-popup>\n</div>\n", styles: [".nui-menu-item{display:list-item;list-style-type:none;white-space:nowrap;margin-bottom:1px;font-size:13px;background-color:var(--nui-color-bg-transparent,transparent)}.nui-menu-item:not(.nui-menu-item--header){min-height:30px}.nui-menu-item .nui-icon{margin-right:5px}.nui-menu-item:not(.nui-menu-item--header):hover{background-color:var(--nui-color-bg-transparent-hover,rgba(17, 17, 17, .05))}.nui-menu-item:not(.nui-menu-item--header):hover .nui-checkbox__label{background-color:var(--transparent,transparent)}.nui-menu-item.nui-menu-item--header{padding:5px 10px;text-transform:uppercase;cursor:default;font-size:11px;color:var(--nui-color-text-secondary,rgba(17, 17, 17, .6));line-height:14px}.nui-menu-item.nui-menu-item__default,.nui-menu-item .nui-checkbox__transclude,.nui-menu-item>.nui-menu-item__link,.nui-menu-item>.nui-menu-item__switch,.nui-menu-item>.nui-menu-item__option{overflow:hidden;text-overflow:ellipsis}.nui-menu-item>.nui-menu-item__link,.nui-menu-item>.nui-menu-item__switch,.nui-menu-item>.nui-menu-item__option,.nui-menu-item>.nui-menu-item__default{display:flex;align-items:center;padding:5px 10px;text-decoration:none}.nui-menu-item>.nui-menu-item__link:active,.nui-menu-item>.nui-menu-item__switch:active,.nui-menu-item>.nui-menu-item__option:active,.nui-menu-item>.nui-menu-item__default:active,.nui-menu-item>.nui-menu-item__link:focus,.nui-menu-item>.nui-menu-item__switch:focus,.nui-menu-item>.nui-menu-item__option:focus,.nui-menu-item>.nui-menu-item__default:focus{outline:none;z-index:500;box-shadow:inset 0 0 0 2px #00c4d280}.nui-menu-item.checked{background-color:var(--nui-color-selected,rgba(0, 196, 210, .1));font-weight:600}.nui-menu-item.checked:hover{background-color:var(--nui-color-selected-hover,rgba(0, 196, 210, .2));font-weight:600;cursor:pointer}.nui-menu-item .nui-menu-item__default{padding:5px 10px;cursor:pointer;color:var(--nui-color-text-default,#111)}.nui-menu-item .nui-menu-item__default:hover{color:var(--nui-color-text-default-hover,#000000)}.nui-menu-item--active{background-color:var(--nui-color-bg-light-hover,#f2f2f2);outline:none;z-index:500;box-shadow:inset 0 0 0 2px #00c4d280}.nui-menu-item--active.nui-menu-item--selected,.nui-menu-item--active.nui-menu-item.checked{background-color:var(--nui-color-selected-hover,rgba(0, 196, 210, .2))}.nui-menu-item.nui-menu-item--selected{background-color:var(--nui-color-selected,rgba(0, 196, 210, .1));font-weight:600}.nui-menu-item.nui-menu-item--selected:hover{background-color:var(--nui-color-selected-hover,rgba(0, 196, 210, .2))}.nui .nui-combobox .nui-combobox__container{outline:none;border-radius:3px;border:1px solid #d9d9d9;border:1px solid var(--nui-color-line-default, #d9d9d9)}.nui .nui-combobox .nui-combobox__container.nui-combobox__editable-container--disabled{background-color:var(--nui-color-disabled-secondary,#e8e8e8)}.nui .nui-combobox .nui-combobox__container:not(.nui-combobox__editable-container--disabled):not(.has-error):hover{border-color:var(--nui-color-line-default-hover,#b3b3b3)}.nui .nui-combobox .nui-combobox__container:not(.nui-combobox__editable-container--disabled):not(.has-error):focus-within{border-color:var(--nui-color-line-active,#0079aa)}.nui .nui-combobox .nui-combobox__container:not(.nui-combobox__editable-container--disabled):not(.has-error):focus{background-color:var(--nui-color-bg-transparent-hover,rgba(17, 17, 17, .05));outline:none;z-index:500;box-shadow:0 0 0 2px #00c4d280}.nui .nui-combobox .nui-combobox__container.has-error{border-color:var(--nui-color-line-critical,#dd2c00)}.nui .nui-combobox .nui-combobox__container.has-error:focus{background-color:var(--nui-color-bg-transparent-hover,rgba(17, 17, 17, .05));outline:none;z-index:500;box-shadow:0 0 0 2px #00c4d280}.nui .nui-combobox--inline .nui-combobox__layout-block{display:inline-flex}.nui .nui-combobox .btn{border-radius:0 3px 3px 0}.nui .nui-combobox .btn:hover,.nui .nui-combobox .btn:active{outline:none}.nui .nui-combobox .btn:focus{background-color:var(--nui-color-bg-transparent-hover,rgba(17, 17, 17, .05));outline:none;z-index:500;box-shadow:0 0 0 2px #00c4d280}.nui .nui-combobox .btn.disabled{color:var(--nui-color-disabled,#b3b3b3);pointer-events:auto;cursor:not-allowed}.nui .nui-combobox .btn.disabled:hover,.nui .nui-combobox .btn.disabled:active{color:var(--nui-color-disabled,#b3b3b3);background-color:var(--transparent,transparent);box-shadow:none}.nui .nui-combobox .btn.disabled .nui-icon path,.nui .nui-combobox .btn.disabled .nui-icon polygon{fill:var(--nui-color-icon-disabled,rgba(17, 17, 17, .3))}.nui .nui-combobox .nui-menu-item .nui-menu-item__action{color:var(--nui-color-text-default,#111)}.nui .nui-combobox .nui-menu-item.item-selected .nui-menu-item__action{background-color:var(--nui-color-selected,rgba(0, 196, 210, .1));color:var(--nui-color-text-default,#111);font-weight:600}.nui .nui-combobox .nui-menu-item.item-selected .nui-menu-item__action:hover{background-color:var(--nui-color-selected-hover,rgba(0, 196, 210, .2))}.nui .nui-combobox .nui-popup .nui-popup__area [popupAreaContent]{padding:0}.nui .nui-combobox .nui-popup .nui-popup__area{width:100%;min-width:160px;max-width:400px;height:100%;overflow-y:auto}.nui .nui-combobox .nui-combobox__menu{max-height:300px;overflow-y:auto;max-width:400px;overflow-y:initial}.nui .nui-combobox__input{float:left;width:200px;height:30px;border-radius:3px 0 0 3px;border:0;box-shadow:none}.nui .nui-combobox__input--with-remove-value{width:170px}.nui .nui-combobox__input:not(:disabled):hover,.nui .nui-combobox__input:not(:disabled):focus{border-color:var(--nui-color-line-default,#d9d9d9);position:relative}.nui .nui-combobox__input .nui-textbox__input{border:none;box-shadow:none}.nui .nui-combobox__input .nui-textbox__input::-moz-placeholder{color:var(--input-color-placeholder,rgba(17, 17, 17, .6));opacity:1;font-weight:400}.nui .nui-combobox__input .nui-textbox__input:-ms-input-placeholder{color:var(--input-color-placeholder,rgba(17, 17, 17, .6));font-weight:400}.nui .nui-combobox__input .nui-textbox__input::-webkit-input-placeholder{color:var(--input-color-placeholder,rgba(17, 17, 17, .6));font-weight:400}.nui .nui-combobox__input .nui-textbox__input.input-control{border-radius:3px 0 0 3px;padding-right:0;margin-bottom:0}.nui .nui-combobox__input .nui-textbox__input.input-control:active{border:#0079aa}.nui .nui-combobox__input .nui-textbox__input.input-control:focus{background-color:var(--nui-color-bg-transparent-hover,rgba(17, 17, 17, .05));outline:none;z-index:500;box-shadow:0 0 0 2px #00c4d280}.nui .nui-combobox__remove-value{border-right:1px solid var(--nui-color-line-default, #d9d9d9);border-left:none}.nui .nui-combobox__icon{align-items:center;display:flex;height:22px;left:7px;pointer-events:none;position:absolute;top:5px;z-index:501}.nui .nui-combobox__input-icon .nui-textbox .has-feedback .nui-textbox__input{padding-left:32px}.nui .nui-combobox__right-border{border-right:1px solid var(--nui-color-line-default, #d9d9d9)}.nui .nui-combobox.disabled>.nui-combobox__container{background-color:var(--nui-color-disabled-secondary,#e8e8e8)}.nui .nui-combobox.disabled>.nui-combobox__btn-group>.btn{color:var(--nui-color-off,#4d4d4d);background-color:var(--nui-color-line-default,#d9d9d9);border-color:var(--nui-color-line-default,#d9d9d9)}.nui .nui-combobox--justified .nui-popup,.nui .nui-combobox--justified .nui-popup .nui-popup-container{flex-grow:1}.nui .nui-combobox--justified .nui-popup .nui-popup__content{width:100%}.nui .nui-combobox--justified .nui-combobox__layout-block{display:flex}.nui .nui-combobox--justified .nui-combobox__container{display:flex;flex-grow:1}.nui .nui-combobox--justified .nui-combobox__input{width:auto;display:flex;flex-grow:1}.nui .nui-combobox--justified .nui-combobox__input .nui-textbox,.nui .nui-combobox--justified .nui-combobox__input .nui-textbox .has-feedback{display:flex;flex-grow:1}.nui .nui-combobox--justified .nui-popup .nui-popup__area,.nui .nui-combobox--justified .nui-popup .nui-popup__area .nui-combobox__menu{max-width:none}.nui .nui-combobox .custom-template .nui-combobox__menu,.nui .nui-combobox .custom-template .nui-popup__area{width:auto}@-moz-document url-prefix(){.nui .nui-combobox .nui-menu-item{padding-right:0}}\n"] }]
|
|
15852
|
-
}], ctorParameters: function () { return [{ type: UtilService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }, { type: MenuKeyControlService }, { type: i1$
|
|
15877
|
+
}], ctorParameters: function () { return [{ type: UtilService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }, { type: MenuKeyControlService }, { type: i1$3.FocusMonitor }, { type: LoggerService }]; }, propDecorators: { clearOnBlur: [{
|
|
15853
15878
|
type: Input
|
|
15854
15879
|
}], appendToBody: [{
|
|
15855
15880
|
type: Input
|
|
@@ -17064,7 +17089,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
17064
17089
|
/**
|
|
17065
17090
|
* <example-url>./../examples/index.html#/busy</example-url>
|
|
17066
17091
|
*/
|
|
17067
|
-
/* eslint-disable @angular-eslint/component-selector */
|
|
17068
17092
|
/* eslint-enable @angular-eslint/component-selector */
|
|
17069
17093
|
class BusyComponent {
|
|
17070
17094
|
constructor(tabNavigationService, elRef) {
|
|
@@ -19314,8 +19338,8 @@ class DialogComponent {
|
|
|
19314
19338
|
this.elRef.nativeElement.querySelector(FOCUSABLE_SELECTOR).focus();
|
|
19315
19339
|
}
|
|
19316
19340
|
}
|
|
19317
|
-
DialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DialogComponent, deps: [{ token: DOCUMENT }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i1$
|
|
19318
|
-
DialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: DialogComponent, selector: "nui-dialog-window", inputs: { backdrop: "backdrop", keyboard: "keyboard", size: "size", windowClass: "windowClass" }, outputs: { dismissEvent: "dismissEvent" }, host: { attributes: { "role": "dialog", "aria-modal": "true", "tabindex": "-1" }, listeners: { "keyup.esc": "escKey($event)", "mousedown": "backdropMouseDown($event)", "mouseup": "backdropMouseUp($event)", "window:keydown.shift.tab": "onShiftTab($event)", "window:keydown.tab": "onTab($event)" }, properties: { "class": "\"nui-dialog fade in show\" + (windowClass ? \" \" + windowClass : \"\")" } }, ngImport: i0, template: "<div [class]=\"'modal-dialog' + (size ? ' dialog-' + size : '')\" cdkTrapFocus>\n <div class=\"dialog-content\"><ng-content></ng-content></div>\n</div>\n", styles: [".nui .dialog-open{overflow:hidden}.nui .dialog-open .nui-dialog{overflow-x:hidden;overflow-y:auto}.nui .nui-dialog{display:none;overflow:hidden;position:fixed;top:0;right:0;bottom:0;left:0;z-index:1050;pointer-events:auto;-webkit-overflow-scrolling:touch;outline:0}.nui .nui-dialog .modal-dialog{position:relative;width:auto;max-width:80%;margin:10px}.nui .nui-dialog .modal-dialog .dialog-content{position:relative;background-color:var(--nui-color-bg-content_popover,#fff);box-shadow:0 0 5px 0 var(--nui-shadow-color, rgba(17, 17, 17, .3));background-clip:padding-box;outline:0;min-width:400px;word-wrap:break-word}.nui .nui-dialog .modal-dialog .dialog-content .dialog-header{display:flex;align-items:center;justify-content:space-between;padding:15px;border-bottom:1px solid;border-bottom-color:var(--nui-color-line-default,#d9d9d9);min-height:39px;background:none}.nui .nui-dialog .modal-dialog .dialog-content .dialog-header .severity-text{display:inline-flex;align-items:center;overflow:hidden}.nui .nui-dialog .modal-dialog .dialog-content .dialog-header .severity-text .dialog-title{white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;text-overflow:ellipsis;display:inline-block;margin:0;padding:0;line-height:24px;text-transform:none}.nui .nui-dialog .modal-dialog .dialog-content .dialog-header .severity-text .nui-icon{margin-right:5px}.nui .nui-dialog .modal-dialog .dialog-content .dialog-header .btn-group{margin-left:15px}.nui .nui-dialog .modal-dialog .dialog-content .dialog-header.dialog-header-info{border-bottom:3px solid;border-bottom-color:var(--nui-color-line-info,#1c8eb1)}.nui .nui-dialog .modal-dialog .dialog-content .dialog-header.dialog-header-warning{border-bottom:3px solid;border-bottom-color:var(--nui-color-line-warning,#fec405)}.nui .nui-dialog .modal-dialog .dialog-content .dialog-header.dialog-header-critical{border-bottom:3px solid;border-bottom-color:var(--nui-color-line-critical,#dd2c00)}.nui .nui-dialog .modal-dialog .dialog-content .dialog-body{position:relative;padding:15px}.nui .nui-dialog .modal-dialog .dialog-content .dialog-body.compact-mode{padding:0}.nui .nui-dialog .modal-dialog .dialog-content .dialog-body.responsive-mode{overflow:auto;max-height:71vh}.nui .dialog-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:var(--nui-color-overlay-modal,rgba(17, 17, 17, .5))}.nui .nui-overlay-container.cdk-overlay-container .dialog-backdrop,.nui .nui-overlay-container.cdk-overlay-container .nui-dialog{z-index:1000}@media (min-width: 768px){.nui .nui-dialog .modal-dialog{width:600px;margin:80px auto}.nui .nui-dialog .modal-dialog .dialog-content{box-shadow:0 0 5px 0 var(--nui-shadow-color, rgba(17, 17, 17, .3))}.nui-dialog .modal-dialog.dialog-sm{width:400px}}@media (min-width: 992px){.nui-dialog .modal-dialog.dialog-lg{width:900px}}\n"], directives: [{ type: i1$
|
|
19341
|
+
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 });
|
|
19342
|
+
DialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: DialogComponent, selector: "nui-dialog-window", inputs: { backdrop: "backdrop", keyboard: "keyboard", size: "size", windowClass: "windowClass" }, outputs: { dismissEvent: "dismissEvent" }, host: { attributes: { "role": "dialog", "aria-modal": "true", "tabindex": "-1" }, listeners: { "keyup.esc": "escKey($event)", "mousedown": "backdropMouseDown($event)", "mouseup": "backdropMouseUp($event)", "window:keydown.shift.tab": "onShiftTab($event)", "window:keydown.tab": "onTab($event)" }, properties: { "class": "\"nui-dialog fade in show\" + (windowClass ? \" \" + windowClass : \"\")" } }, ngImport: i0, template: "<div [class]=\"'modal-dialog' + (size ? ' dialog-' + size : '')\" cdkTrapFocus>\n <div class=\"dialog-content\"><ng-content></ng-content></div>\n</div>\n", styles: [".nui .dialog-open{overflow:hidden}.nui .dialog-open .nui-dialog{overflow-x:hidden;overflow-y:auto}.nui .nui-dialog{display:none;overflow:hidden;position:fixed;top:0;right:0;bottom:0;left:0;z-index:1050;pointer-events:auto;-webkit-overflow-scrolling:touch;outline:0}.nui .nui-dialog .modal-dialog{position:relative;width:auto;max-width:80%;margin:10px}.nui .nui-dialog .modal-dialog .dialog-content{position:relative;background-color:var(--nui-color-bg-content_popover,#fff);box-shadow:0 0 5px 0 var(--nui-shadow-color, rgba(17, 17, 17, .3));background-clip:padding-box;outline:0;min-width:400px;word-wrap:break-word}.nui .nui-dialog .modal-dialog .dialog-content .dialog-header{display:flex;align-items:center;justify-content:space-between;padding:15px;border-bottom:1px solid;border-bottom-color:var(--nui-color-line-default,#d9d9d9);min-height:39px;background:none}.nui .nui-dialog .modal-dialog .dialog-content .dialog-header .severity-text{display:inline-flex;align-items:center;overflow:hidden}.nui .nui-dialog .modal-dialog .dialog-content .dialog-header .severity-text .dialog-title{white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;text-overflow:ellipsis;display:inline-block;margin:0;padding:0;line-height:24px;text-transform:none}.nui .nui-dialog .modal-dialog .dialog-content .dialog-header .severity-text .nui-icon{margin-right:5px}.nui .nui-dialog .modal-dialog .dialog-content .dialog-header .btn-group{margin-left:15px}.nui .nui-dialog .modal-dialog .dialog-content .dialog-header.dialog-header-info{border-bottom:3px solid;border-bottom-color:var(--nui-color-line-info,#1c8eb1)}.nui .nui-dialog .modal-dialog .dialog-content .dialog-header.dialog-header-warning{border-bottom:3px solid;border-bottom-color:var(--nui-color-line-warning,#fec405)}.nui .nui-dialog .modal-dialog .dialog-content .dialog-header.dialog-header-critical{border-bottom:3px solid;border-bottom-color:var(--nui-color-line-critical,#dd2c00)}.nui .nui-dialog .modal-dialog .dialog-content .dialog-body{position:relative;padding:15px}.nui .nui-dialog .modal-dialog .dialog-content .dialog-body.compact-mode{padding:0}.nui .nui-dialog .modal-dialog .dialog-content .dialog-body.responsive-mode{overflow:auto;max-height:71vh}.nui .dialog-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:var(--nui-color-overlay-modal,rgba(17, 17, 17, .5))}.nui .nui-overlay-container.cdk-overlay-container .dialog-backdrop,.nui .nui-overlay-container.cdk-overlay-container .nui-dialog{z-index:1000}@media (min-width: 768px){.nui .nui-dialog .modal-dialog{width:600px;margin:80px auto}.nui .nui-dialog .modal-dialog .dialog-content{box-shadow:0 0 5px 0 var(--nui-shadow-color, rgba(17, 17, 17, .3))}.nui-dialog .modal-dialog.dialog-sm{width:400px}}@media (min-width: 992px){.nui-dialog .modal-dialog.dialog-lg{width:900px}}\n"], directives: [{ type: i1$3.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
19319
19343
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DialogComponent, decorators: [{
|
|
19320
19344
|
type: Component,
|
|
19321
19345
|
args: [{ selector: "nui-dialog-window", host: {
|
|
@@ -19330,7 +19354,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
19330
19354
|
}], ctorParameters: function () { return [{ type: Document, decorators: [{
|
|
19331
19355
|
type: Inject,
|
|
19332
19356
|
args: [DOCUMENT]
|
|
19333
|
-
}] }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.NgZone }, { type: i1$
|
|
19357
|
+
}] }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.NgZone }, { type: i1$5.ScrollDispatcher }, { type: i1$6.Router }]; }, propDecorators: { backdrop: [{
|
|
19334
19358
|
type: Input
|
|
19335
19359
|
}], keyboard: [{
|
|
19336
19360
|
type: Input
|
|
@@ -19580,6 +19604,7 @@ class ExpanderComponent {
|
|
|
19580
19604
|
this.openChange = new EventEmitter();
|
|
19581
19605
|
this.state = "collapsed";
|
|
19582
19606
|
this.isCustomHeaderContentEmpty = false;
|
|
19607
|
+
this.actionKeys = [KEYBOARD_CODE.SPACE, KEYBOARD_CODE.ENTER].map(String);
|
|
19583
19608
|
}
|
|
19584
19609
|
/**
|
|
19585
19610
|
* Use this to have expander opened by default.
|
|
@@ -19608,8 +19633,7 @@ class ExpanderComponent {
|
|
|
19608
19633
|
return this.disabled ? "gray" : "primary-blue";
|
|
19609
19634
|
}
|
|
19610
19635
|
onKeyDown(event) {
|
|
19611
|
-
if (event.code
|
|
19612
|
-
event.code === KEYBOARD_CODE.ENTER) {
|
|
19636
|
+
if (this.actionKeys.includes(event.code)) {
|
|
19613
19637
|
if (event.target === event.currentTarget) {
|
|
19614
19638
|
event.preventDefault();
|
|
19615
19639
|
this.toggle();
|
|
@@ -20167,7 +20191,7 @@ ${this.pageSizeSet[0]}. To set the desired initial page size, include it as part
|
|
|
20167
20191
|
}
|
|
20168
20192
|
}
|
|
20169
20193
|
PaginatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PaginatorComponent, deps: [{ token: LoggerService }, { token: PopupContainerService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
20170
|
-
PaginatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PaginatorComponent, selector: "nui-paginator", inputs: { itemsList: "itemsList", page: "page", pageSize: "pageSize", pageSizeSet: "pageSizeSet", total: "total", dots: "dots", hideIfEmpty: "hideIfEmpty", hide: "hide", activeClass: "activeClass", disabledClass: "disabledClass", adjacent: "adjacent", maxElements: "maxElements", showPrevNext: "showPrevNext", popupDirectionTop: "popupDirectionTop", popupBaseElementSelector: "popupBaseElementSelector", appendToBody: "appendToBody" }, outputs: { pagerAction: "pagerAction", pageChange: "pageChange" }, host: { attributes: { "role": "navigation" } }, providers: [PopupContainerService], viewQueries: [{ propertyName: "selectComponent", first: true, predicate: ["select"], descendants: true }, { propertyName: "virtualScrollViewport", first: true, predicate: CdkVirtualScrollViewport, descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div class=\"nui-paginator\" *ngIf=\"showPaginator()\">\n <div class=\"nui-paginator__items\">\n <ul\n class=\"nui-paginator__list\"\n role=\"listbox\"\n aria-label=\"List of pages\"\n >\n <li\n role=\"option\"\n title=\"{{ item.title }}\"\n [ngClass]=\"item.style\"\n *ngFor=\"let item of itemsList\"\n value=\"{{ item.value }}\"\n >\n <button\n nui-button\n type=\"button\"\n displayStyle=\"action\"\n [disabled]=\"item.style\"\n *ngIf=\"item.iconName\"\n class=\"move-icon\"\n [icon]=\"item.iconName\"\n (click)=\"item.action($event)\"\n ></button>\n <button\n nui-button\n type=\"button\"\n *ngIf=\"item.value !== dots && !item.iconName\"\n displayStyle=\"action\"\n (click)=\"item.action($event)\"\n [isEmpty]=\"false\"\n >\n {{ item.value }}\n </button>\n <nui-popup\n *ngIf=\"item.value === dots\"\n [appendToBody]=\"appendToBody\"\n [baseElementSelector]=\"popupBaseElementSelector\"\n >\n <button\n nui-button\n type=\"button\"\n nuiPopupToggle\n displayStyle=\"action\"\n [ngClass]=\"item.imageClass\"\n [isEmpty]=\"false\"\n aria-haspopup=\"true\"\n (click)=\"handleDotsClick()\"\n class=\"nui-paginator__dots\"\n >\n {{ item.value }}\n </button>\n\n <ul popupAreaContent class=\"nui-paginator__elipsis-pages\">\n <li>\n <table\n class=\"nui-paginator__page-table\"\n [ngClass]=\"{\n 'native-scroll': !item.useVirtualScroll\n }\"\n >\n <cdk-virtual-scroll-viewport\n *ngIf=\"item.useVirtualScroll\"\n [style.width.px]=\"item.popupWidth\"\n [style.height.px]=\"130\"\n [itemSize]=\"40\"\n [maxBufferPx]=\"130\"\n [minBufferPx]=\"130\"\n >\n <ng-container\n *cdkVirtualFor=\"\n let pages of item.pageRows\n \"\n >\n <div\n [ngTemplateOutlet]=\"tableRow\"\n [ngTemplateOutletContext]=\"{\n pages: pages\n }\"\n ></div>\n </ng-container>\n </cdk-virtual-scroll-viewport>\n <tbody *ngIf=\"!item.useVirtualScroll\">\n <ng-container\n *ngFor=\"let pages of item.pageRows\"\n [ngTemplateOutlet]=\"tableRow\"\n [ngTemplateOutletContext]=\"{\n pages: pages\n }\"\n >\n </ng-container>\n </tbody>\n </table>\n </li>\n </ul>\n </nui-popup>\n </li>\n </ul>\n </div>\n <div class=\"nui-paginator__options\">\n <div class=\"nui-paginator__info\" i18n>\n {{ getRange(total) }} of\n <span class=\"nui-paginator__total\">{{ total }}</span>\n </div>\n\n <nui-select-v2\n ariaLabel=\"Items per page\"\n [value]=\"pageSize\"\n (valueSelected)=\"onPageSizeChange($event)\"\n >\n <nui-select-v2-option\n *ngFor=\"let item of pageSizeSet\"\n [value]=\"item\"\n >{{ item }}</nui-select-v2-option\n >\n </nui-select-v2>\n </div>\n</div>\n<ng-template #tableRow let-pages=\"pages\">\n <tr [ngClass]=\"{ 'stretch-row': pages.length === dotsPagesPerRow }\">\n <td *ngFor=\"let value of pages\" class=\"nui-paginator__page-cell\">\n <button\n nui-button\n type=\"button\"\n displayStyle=\"action\"\n (click)=\"goToPage(value)\"\n >\n <!-- This tag span was added to display value properly on Safari brouser inside a button in ngFor directive -->\n <span>{{ value }}</span>\n </button>\n </td>\n </tr>\n</ng-template>\n", styles: [".nui .nui-paginator{height:30px;display:flex;align-items:center;justify-content:space-between}.nui .nui-paginator .nui-select-v2{min-width:60px}.nui .nui-paginator__info{font-size:13px;margin-right:10px;color:var(--nui-color-text-default,#111)}.nui .nui-paginator__icon{position:relative}.nui .nui-paginator__icon:hover{cursor:pointer;opacity:.7}.nui .nui-paginator__dots{font-size:13px}.nui .nui-paginator__dots:hover{cursor:pointer;background-color:var(--nui-color-bg-light-hover,#f2f2f2)}.nui .nui-paginator__elipsis-pages[popupAreaContent]{padding:0;max-height:130px;overflow-y:auto;overflow-x:hidden}.nui .nui-paginator__list{border-radius:0;display:flex;border-collapse:collapse;padding-left:3px;font-size:13px;margin-right:15px;margin-bottom:0}.nui .nui-paginator__list:before,.nui .nui-paginator__list:after{content:\" \";display:table;width:0px}.nui .nui-paginator__list:after{clear:both}.nui .nui-paginator__list>li>button.move-icon{padding:5px}.nui .nui-paginator__list>li{position:relative;padding:0;display:inline}.nui .nui-paginator__list>.active>button,.nui .nui-paginator__list>.active>button:hover,.nui .nui-paginator__list>.active>button:focus{background-color:transparent;border-color:transparent;color:var(--nui-color-text-default,#111);font-weight:600;cursor:default;z-index:2}.nui .nui-paginator__page-table{background-color:var(--nui-color-bg-transparent,transparent)}.nui .nui-paginator__page-table.native-scroll{margin:10px}.nui .nui-paginator__page-table:not(.native-scroll) tr{display:inline-table}.nui .nui-paginator__page-table:not(.native-scroll) tr.stretch-row{width:100%}.nui .nui-paginator__page-table tr:not(:last-child) .nui-paginator__page-cell{padding-bottom:10px}.nui .nui-paginator__page-table .cdk-virtual-scroll-content-wrapper{padding:10px}.nui .nui-paginator__page-cell>.btn{min-width:30px;padding:5px}.nui .nui-paginator__options{display:flex;align-items:center}.nui .nui-paginator__options .nui-select .nui-popup .nui-popup__area,.nui .nui-paginator__options .nui-select .nui-popup .nui-popup__area .nui-select__menu,.popup-adapter-overlay .nui-overlay.nui-select-popup-host{min-width:0}nui-popup-container[parent=PaginatorComponent] .nui-popup__area{min-width:0}nui-popup-container[parent=PaginatorComponent] .nui-popup__area .nui-select__menu{min-width:0}@-moz-document url-prefix(){.nui-paginator__page-table tr:nth-child(4) td:last-child{padding-right:15px}}\n"], components: [{ type: ButtonComponent, selector: "[nui-button]", inputs: ["displayStyle", "icon", "iconColor", "iconRight", "isBusy", "isEmpty", "ariaLabel", "isRepeat", "size"] }, { type: PopupComponent, selector: "nui-popup", inputs: ["width", "overlayConfig", "contextClass", "directionTop", "directionRight", "manualOpenControl", "appendToBody", "baseElementSelector", "isHostToggleRef", "ariaLabel", "isOpen", "visible"], outputs: ["opened"] }, { type: i1$4.CdkVirtualScrollViewport, selector: "cdk-virtual-scroll-viewport", inputs: ["orientation", "appendOnly"], outputs: ["scrolledIndexChange"] }, { type: SelectV2Component, selector: "nui-select-v2", inputs: ["displayValueTemplate"] }, { type: SelectV2OptionComponent, selector: "nui-select-v2-option", inputs: ["value", "index", "displayValueContext", "outfiltered"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: PopupToggleDirective, selector: "[nuiPopupToggle]", inputs: ["isDisabled", "disabled"], outputs: ["toggle"] }, { type: i1$4.CdkFixedSizeVirtualScroll, selector: "cdk-virtual-scroll-viewport[itemSize]", inputs: ["itemSize", "minBufferPx", "maxBufferPx"] }, { type: i1$4.CdkVirtualForOf, selector: "[cdkVirtualFor][cdkVirtualForOf]", inputs: ["cdkVirtualForOf", "cdkVirtualForTrackBy", "cdkVirtualForTemplate", "cdkVirtualForTemplateCacheSize"] }, { type: i3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
20194
|
+
PaginatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PaginatorComponent, selector: "nui-paginator", inputs: { itemsList: "itemsList", page: "page", pageSize: "pageSize", pageSizeSet: "pageSizeSet", total: "total", dots: "dots", hideIfEmpty: "hideIfEmpty", hide: "hide", activeClass: "activeClass", disabledClass: "disabledClass", adjacent: "adjacent", maxElements: "maxElements", showPrevNext: "showPrevNext", popupDirectionTop: "popupDirectionTop", popupBaseElementSelector: "popupBaseElementSelector", appendToBody: "appendToBody" }, outputs: { pagerAction: "pagerAction", pageChange: "pageChange" }, host: { attributes: { "role": "navigation" } }, providers: [PopupContainerService], viewQueries: [{ propertyName: "selectComponent", first: true, predicate: ["select"], descendants: true }, { propertyName: "virtualScrollViewport", first: true, predicate: CdkVirtualScrollViewport, descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div class=\"nui-paginator\" *ngIf=\"showPaginator()\">\n <div class=\"nui-paginator__items\">\n <ul\n class=\"nui-paginator__list\"\n role=\"listbox\"\n aria-label=\"List of pages\"\n >\n <li\n role=\"option\"\n title=\"{{ item.title }}\"\n [ngClass]=\"item.style\"\n *ngFor=\"let item of itemsList\"\n value=\"{{ item.value }}\"\n >\n <button\n nui-button\n type=\"button\"\n displayStyle=\"action\"\n [disabled]=\"item.style\"\n *ngIf=\"item.iconName\"\n class=\"move-icon\"\n [icon]=\"item.iconName\"\n (click)=\"item.action($event)\"\n ></button>\n <button\n nui-button\n type=\"button\"\n *ngIf=\"item.value !== dots && !item.iconName\"\n displayStyle=\"action\"\n (click)=\"item.action($event)\"\n [isEmpty]=\"false\"\n >\n {{ item.value }}\n </button>\n <nui-popup\n *ngIf=\"item.value === dots\"\n [appendToBody]=\"appendToBody\"\n [baseElementSelector]=\"popupBaseElementSelector\"\n >\n <button\n nui-button\n type=\"button\"\n nuiPopupToggle\n displayStyle=\"action\"\n [ngClass]=\"item.imageClass\"\n [isEmpty]=\"false\"\n aria-haspopup=\"true\"\n (click)=\"handleDotsClick()\"\n class=\"nui-paginator__dots\"\n >\n {{ item.value }}\n </button>\n\n <ul popupAreaContent class=\"nui-paginator__elipsis-pages\">\n <li>\n <table\n class=\"nui-paginator__page-table\"\n [ngClass]=\"{\n 'native-scroll': !item.useVirtualScroll\n }\"\n >\n <cdk-virtual-scroll-viewport\n *ngIf=\"item.useVirtualScroll\"\n [style.width.px]=\"item.popupWidth\"\n [style.height.px]=\"130\"\n [itemSize]=\"40\"\n [maxBufferPx]=\"130\"\n [minBufferPx]=\"130\"\n >\n <ng-container\n *cdkVirtualFor=\"\n let pages of item.pageRows\n \"\n >\n <div\n [ngTemplateOutlet]=\"tableRow\"\n [ngTemplateOutletContext]=\"{\n pages: pages\n }\"\n ></div>\n </ng-container>\n </cdk-virtual-scroll-viewport>\n <tbody *ngIf=\"!item.useVirtualScroll\">\n <ng-container\n *ngFor=\"let pages of item.pageRows\"\n [ngTemplateOutlet]=\"tableRow\"\n [ngTemplateOutletContext]=\"{\n pages: pages\n }\"\n >\n </ng-container>\n </tbody>\n </table>\n </li>\n </ul>\n </nui-popup>\n </li>\n </ul>\n </div>\n <div class=\"nui-paginator__options\">\n <div class=\"nui-paginator__info\" i18n>\n {{ getRange(total) }} of\n <span class=\"nui-paginator__total\">{{ total }}</span>\n </div>\n\n <nui-select-v2\n ariaLabel=\"Items per page\"\n [value]=\"pageSize\"\n (valueSelected)=\"onPageSizeChange($event)\"\n >\n <nui-select-v2-option\n *ngFor=\"let item of pageSizeSet\"\n [value]=\"item\"\n >{{ item }}</nui-select-v2-option\n >\n </nui-select-v2>\n </div>\n</div>\n<ng-template #tableRow let-pages=\"pages\">\n <tr [ngClass]=\"{ 'stretch-row': pages.length === dotsPagesPerRow }\">\n <td *ngFor=\"let value of pages\" class=\"nui-paginator__page-cell\">\n <button\n nui-button\n type=\"button\"\n displayStyle=\"action\"\n (click)=\"goToPage(value)\"\n >\n <!-- This tag span was added to display value properly on Safari brouser inside a button in ngFor directive -->\n <span>{{ value }}</span>\n </button>\n </td>\n </tr>\n</ng-template>\n", styles: [".nui .nui-paginator{height:30px;display:flex;align-items:center;justify-content:space-between}.nui .nui-paginator .nui-select-v2{min-width:60px}.nui .nui-paginator__info{font-size:13px;margin-right:10px;color:var(--nui-color-text-default,#111)}.nui .nui-paginator__icon{position:relative}.nui .nui-paginator__icon:hover{cursor:pointer;opacity:.7}.nui .nui-paginator__dots{font-size:13px}.nui .nui-paginator__dots:hover{cursor:pointer;background-color:var(--nui-color-bg-light-hover,#f2f2f2)}.nui .nui-paginator__elipsis-pages[popupAreaContent]{padding:0;max-height:130px;overflow-y:auto;overflow-x:hidden}.nui .nui-paginator__list{border-radius:0;display:flex;border-collapse:collapse;padding-left:3px;font-size:13px;margin-right:15px;margin-bottom:0}.nui .nui-paginator__list:before,.nui .nui-paginator__list:after{content:\" \";display:table;width:0px}.nui .nui-paginator__list:after{clear:both}.nui .nui-paginator__list>li>button.move-icon{padding:5px}.nui .nui-paginator__list>li{position:relative;padding:0;display:inline}.nui .nui-paginator__list>.active>button,.nui .nui-paginator__list>.active>button:hover,.nui .nui-paginator__list>.active>button:focus{background-color:transparent;border-color:transparent;color:var(--nui-color-text-default,#111);font-weight:600;cursor:default;z-index:2}.nui .nui-paginator__page-table{background-color:var(--nui-color-bg-transparent,transparent)}.nui .nui-paginator__page-table.native-scroll{margin:10px}.nui .nui-paginator__page-table:not(.native-scroll) tr{display:inline-table}.nui .nui-paginator__page-table:not(.native-scroll) tr.stretch-row{width:100%}.nui .nui-paginator__page-table tr:not(:last-child) .nui-paginator__page-cell{padding-bottom:10px}.nui .nui-paginator__page-table .cdk-virtual-scroll-content-wrapper{padding:10px}.nui .nui-paginator__page-cell>.btn{min-width:30px;padding:5px}.nui .nui-paginator__options{display:flex;align-items:center}.nui .nui-paginator__options .nui-select .nui-popup .nui-popup__area,.nui .nui-paginator__options .nui-select .nui-popup .nui-popup__area .nui-select__menu,.popup-adapter-overlay .nui-overlay.nui-select-popup-host{min-width:0}nui-popup-container[parent=PaginatorComponent] .nui-popup__area{min-width:0}nui-popup-container[parent=PaginatorComponent] .nui-popup__area .nui-select__menu{min-width:0}@-moz-document url-prefix(){.nui-paginator__page-table tr:nth-child(4) td:last-child{padding-right:15px}}\n"], components: [{ type: ButtonComponent, selector: "[nui-button]", inputs: ["displayStyle", "icon", "iconColor", "iconRight", "isBusy", "isEmpty", "ariaLabel", "isRepeat", "size"] }, { type: PopupComponent, selector: "nui-popup", inputs: ["width", "overlayConfig", "contextClass", "directionTop", "directionRight", "manualOpenControl", "appendToBody", "baseElementSelector", "isHostToggleRef", "ariaLabel", "isOpen", "visible"], outputs: ["opened"] }, { type: i1$5.CdkVirtualScrollViewport, selector: "cdk-virtual-scroll-viewport", inputs: ["orientation", "appendOnly"], outputs: ["scrolledIndexChange"] }, { type: SelectV2Component, selector: "nui-select-v2", inputs: ["displayValueTemplate"] }, { type: SelectV2OptionComponent, selector: "nui-select-v2-option", inputs: ["value", "index", "displayValueContext", "outfiltered"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: PopupToggleDirective, selector: "[nuiPopupToggle]", inputs: ["isDisabled", "disabled"], outputs: ["toggle"] }, { type: i1$5.CdkFixedSizeVirtualScroll, selector: "cdk-virtual-scroll-viewport[itemSize]", inputs: ["itemSize", "minBufferPx", "maxBufferPx"] }, { type: i1$5.CdkVirtualForOf, selector: "[cdkVirtualFor][cdkVirtualForOf]", inputs: ["cdkVirtualForOf", "cdkVirtualForTrackBy", "cdkVirtualForTemplate", "cdkVirtualForTemplateCacheSize"] }, { type: i3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
20171
20195
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PaginatorComponent, decorators: [{
|
|
20172
20196
|
type: Component,
|
|
20173
20197
|
args: [{ selector: "nui-paginator", changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, providers: [PopupContainerService], host: { role: "navigation" }, template: "<div class=\"nui-paginator\" *ngIf=\"showPaginator()\">\n <div class=\"nui-paginator__items\">\n <ul\n class=\"nui-paginator__list\"\n role=\"listbox\"\n aria-label=\"List of pages\"\n >\n <li\n role=\"option\"\n title=\"{{ item.title }}\"\n [ngClass]=\"item.style\"\n *ngFor=\"let item of itemsList\"\n value=\"{{ item.value }}\"\n >\n <button\n nui-button\n type=\"button\"\n displayStyle=\"action\"\n [disabled]=\"item.style\"\n *ngIf=\"item.iconName\"\n class=\"move-icon\"\n [icon]=\"item.iconName\"\n (click)=\"item.action($event)\"\n ></button>\n <button\n nui-button\n type=\"button\"\n *ngIf=\"item.value !== dots && !item.iconName\"\n displayStyle=\"action\"\n (click)=\"item.action($event)\"\n [isEmpty]=\"false\"\n >\n {{ item.value }}\n </button>\n <nui-popup\n *ngIf=\"item.value === dots\"\n [appendToBody]=\"appendToBody\"\n [baseElementSelector]=\"popupBaseElementSelector\"\n >\n <button\n nui-button\n type=\"button\"\n nuiPopupToggle\n displayStyle=\"action\"\n [ngClass]=\"item.imageClass\"\n [isEmpty]=\"false\"\n aria-haspopup=\"true\"\n (click)=\"handleDotsClick()\"\n class=\"nui-paginator__dots\"\n >\n {{ item.value }}\n </button>\n\n <ul popupAreaContent class=\"nui-paginator__elipsis-pages\">\n <li>\n <table\n class=\"nui-paginator__page-table\"\n [ngClass]=\"{\n 'native-scroll': !item.useVirtualScroll\n }\"\n >\n <cdk-virtual-scroll-viewport\n *ngIf=\"item.useVirtualScroll\"\n [style.width.px]=\"item.popupWidth\"\n [style.height.px]=\"130\"\n [itemSize]=\"40\"\n [maxBufferPx]=\"130\"\n [minBufferPx]=\"130\"\n >\n <ng-container\n *cdkVirtualFor=\"\n let pages of item.pageRows\n \"\n >\n <div\n [ngTemplateOutlet]=\"tableRow\"\n [ngTemplateOutletContext]=\"{\n pages: pages\n }\"\n ></div>\n </ng-container>\n </cdk-virtual-scroll-viewport>\n <tbody *ngIf=\"!item.useVirtualScroll\">\n <ng-container\n *ngFor=\"let pages of item.pageRows\"\n [ngTemplateOutlet]=\"tableRow\"\n [ngTemplateOutletContext]=\"{\n pages: pages\n }\"\n >\n </ng-container>\n </tbody>\n </table>\n </li>\n </ul>\n </nui-popup>\n </li>\n </ul>\n </div>\n <div class=\"nui-paginator__options\">\n <div class=\"nui-paginator__info\" i18n>\n {{ getRange(total) }} of\n <span class=\"nui-paginator__total\">{{ total }}</span>\n </div>\n\n <nui-select-v2\n ariaLabel=\"Items per page\"\n [value]=\"pageSize\"\n (valueSelected)=\"onPageSizeChange($event)\"\n >\n <nui-select-v2-option\n *ngFor=\"let item of pageSizeSet\"\n [value]=\"item\"\n >{{ item }}</nui-select-v2-option\n >\n </nui-select-v2>\n </div>\n</div>\n<ng-template #tableRow let-pages=\"pages\">\n <tr [ngClass]=\"{ 'stretch-row': pages.length === dotsPagesPerRow }\">\n <td *ngFor=\"let value of pages\" class=\"nui-paginator__page-cell\">\n <button\n nui-button\n type=\"button\"\n displayStyle=\"action\"\n (click)=\"goToPage(value)\"\n >\n <!-- This tag span was added to display value properly on Safari brouser inside a button in ngFor directive -->\n <span>{{ value }}</span>\n </button>\n </td>\n </tr>\n</ng-template>\n", styles: [".nui .nui-paginator{height:30px;display:flex;align-items:center;justify-content:space-between}.nui .nui-paginator .nui-select-v2{min-width:60px}.nui .nui-paginator__info{font-size:13px;margin-right:10px;color:var(--nui-color-text-default,#111)}.nui .nui-paginator__icon{position:relative}.nui .nui-paginator__icon:hover{cursor:pointer;opacity:.7}.nui .nui-paginator__dots{font-size:13px}.nui .nui-paginator__dots:hover{cursor:pointer;background-color:var(--nui-color-bg-light-hover,#f2f2f2)}.nui .nui-paginator__elipsis-pages[popupAreaContent]{padding:0;max-height:130px;overflow-y:auto;overflow-x:hidden}.nui .nui-paginator__list{border-radius:0;display:flex;border-collapse:collapse;padding-left:3px;font-size:13px;margin-right:15px;margin-bottom:0}.nui .nui-paginator__list:before,.nui .nui-paginator__list:after{content:\" \";display:table;width:0px}.nui .nui-paginator__list:after{clear:both}.nui .nui-paginator__list>li>button.move-icon{padding:5px}.nui .nui-paginator__list>li{position:relative;padding:0;display:inline}.nui .nui-paginator__list>.active>button,.nui .nui-paginator__list>.active>button:hover,.nui .nui-paginator__list>.active>button:focus{background-color:transparent;border-color:transparent;color:var(--nui-color-text-default,#111);font-weight:600;cursor:default;z-index:2}.nui .nui-paginator__page-table{background-color:var(--nui-color-bg-transparent,transparent)}.nui .nui-paginator__page-table.native-scroll{margin:10px}.nui .nui-paginator__page-table:not(.native-scroll) tr{display:inline-table}.nui .nui-paginator__page-table:not(.native-scroll) tr.stretch-row{width:100%}.nui .nui-paginator__page-table tr:not(:last-child) .nui-paginator__page-cell{padding-bottom:10px}.nui .nui-paginator__page-table .cdk-virtual-scroll-content-wrapper{padding:10px}.nui .nui-paginator__page-cell>.btn{min-width:30px;padding:5px}.nui .nui-paginator__options{display:flex;align-items:center}.nui .nui-paginator__options .nui-select .nui-popup .nui-popup__area,.nui .nui-paginator__options .nui-select .nui-popup .nui-popup__area .nui-select__menu,.popup-adapter-overlay .nui-overlay.nui-select-popup-host{min-width:0}nui-popup-container[parent=PaginatorComponent] .nui-popup__area{min-width:0}nui-popup-container[parent=PaginatorComponent] .nui-popup__area .nui-select__menu{min-width:0}@-moz-document url-prefix(){.nui-paginator__page-table tr:nth-child(4) td:last-child{padding-right:15px}}\n"] }]
|
|
@@ -20363,7 +20387,7 @@ class PanelComponent {
|
|
|
20363
20387
|
.pipe(filter$1((toggle) => toggle === this._isCollapsed))
|
|
20364
20388
|
.pipe(distinctUntilChanged())
|
|
20365
20389
|
.pipe(debounceTime(PanelComponent.ANIMATION_TIME))
|
|
20366
|
-
.subscribe((
|
|
20390
|
+
.subscribe((_) => this.toggleHideOrCollapsed());
|
|
20367
20391
|
}
|
|
20368
20392
|
ngOnChanges(changes) {
|
|
20369
20393
|
if (changes["panelMode"] && changes["panelMode"].isFirstChange()) {
|
|
@@ -20502,10 +20526,7 @@ class PanelComponent {
|
|
|
20502
20526
|
}
|
|
20503
20527
|
}
|
|
20504
20528
|
toggleCollapsedOnClick() {
|
|
20505
|
-
if (this.isHoverable) {
|
|
20506
|
-
return;
|
|
20507
|
-
}
|
|
20508
|
-
else {
|
|
20529
|
+
if (!this.isHoverable) {
|
|
20509
20530
|
this.toggleHideOrCollapsed();
|
|
20510
20531
|
}
|
|
20511
20532
|
}
|
|
@@ -20587,18 +20608,14 @@ class PanelComponent {
|
|
|
20587
20608
|
style({
|
|
20588
20609
|
height: startSize,
|
|
20589
20610
|
}),
|
|
20590
|
-
animate(`${PanelComponent.ANIMATION_TIME}ms ease-in-out`, style({
|
|
20591
|
-
height: endSize,
|
|
20592
|
-
})),
|
|
20611
|
+
animate(`${PanelComponent.ANIMATION_TIME}ms ease-in-out`, style({ height: endSize })),
|
|
20593
20612
|
]);
|
|
20594
20613
|
}
|
|
20595
20614
|
return this.builder.build([
|
|
20596
20615
|
style({
|
|
20597
20616
|
width: startSize,
|
|
20598
20617
|
}),
|
|
20599
|
-
animate(`${PanelComponent.ANIMATION_TIME}ms ease-in-out`, style({
|
|
20600
|
-
width: endSize,
|
|
20601
|
-
})),
|
|
20618
|
+
animate(`${PanelComponent.ANIMATION_TIME}ms ease-in-out`, style({ width: endSize })),
|
|
20602
20619
|
]);
|
|
20603
20620
|
}
|
|
20604
20621
|
destroyLastAnimationPlayer() {
|
|
@@ -20628,12 +20645,12 @@ PanelComponent.SIZE_VALUES = {
|
|
|
20628
20645
|
MAX_VALUE: "90%",
|
|
20629
20646
|
},
|
|
20630
20647
|
};
|
|
20631
|
-
PanelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PanelComponent, deps: [{ token: i0.Renderer2 }, { token: i1$
|
|
20648
|
+
PanelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PanelComponent, deps: [{ token: i0.Renderer2 }, { token: i1$7.AnimationBuilder }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
20632
20649
|
PanelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PanelComponent, selector: "nui-panel", inputs: { panelMode: "panelMode", heading: "heading", isCollapsed: "isCollapsed", displacePrimaryContent: "displacePrimaryContent", isHidden: "isHidden", orientation: "orientation", isResizable: "isResizable", headerPadding: "headerPadding", sidePaneBodyPadding: "sidePaneBodyPadding", darkBorder: "darkBorder", paneSize: "paneSize", panelBackgroundColor: "panelBackgroundColor", paneCollapsedSize: "paneCollapsedSize", paneMinSize: "paneMinSize", paneMaxSize: "paneMaxSize" }, outputs: { collapsed: "collapsed", hidden: "hidden" }, viewQueries: [{ propertyName: "panelMainContent", first: true, predicate: ["mainContent"], descendants: true, read: ViewContainerRef }, { propertyName: "headerContent", first: true, predicate: ["headerContent"], descendants: true, read: ViewContainerRef }, { propertyName: "footerContent", first: true, predicate: ["footerContent"], descendants: true, read: ViewContainerRef }, { propertyName: "sidePaneContainer", first: true, predicate: ["sidePaneContainer"], descendants: true, read: ViewContainerRef, static: true }], usesOnChanges: true, ngImport: i0, template: "<div\n class=\"nui-panel media nui-panel--{{ orientation }}\"\n [class.nui-panel--hoverable]=\"isHoverable\"\n [class.nui-panel--is-collapsed]=\"isCollapsible && isCollapsed\"\n [class.nui-panel--animating]=\"isAnimating\"\n role=\"tabpanel\"\n [attr.aria-expanded]=\"!isCollapsible || !isCollapsed\"\n [attr.aria-hidden]=\"isCollapsible && isCollapsed\"\n>\n <div\n class=\"nui-panel__side-pane\"\n [ngClass]=\"panelBackgroundColor\"\n [class.nui-panel-pane--border-dark]=\"darkBorder\"\n [class.nui-panel-pane__hidden]=\"isHidden\"\n [class.nui-panel-pane__closable]=\"isClosable\"\n [class.nui-panel--shrink]=\"displacePrimaryContent\"\n [class.nui-panel-pane__vertical]=\"paneDirectionHorizontal\"\n (mouseenter)=\"toggleEnter()\"\n (mouseleave)=\"toggleLeave()\"\n nuiResizer\n [resizerDirection]=\"getResizeDirection()\"\n [resizerDisabled]=\"!isPanelResizable()\"\n [resizerValue]=\"getPaneSizeMeasurement()\"\n (resizerSizeChanged)=\"onSizeChanged($event)\"\n #sidePaneContainer\n >\n <div class=\"nui-panel__container\" #paneContainer>\n <div\n *ngIf=\"displayPanelHeader\"\n class=\"nui-panel__header\"\n [class.nui-panel__header--no-padding]=\"!headerPadding\"\n #headerContent\n >\n <ng-content select=\"[nuiPanelEmbeddedIcon]\"></ng-content>\n <ng-container *ngIf=\"!heading; else defaultTitle\">\n <ng-content select=\"[nuiPanelEmbeddedHeading]\"></ng-content>\n </ng-container>\n\n <div\n *ngIf=\"showDefaultIcon\"\n class=\"nui-panel__header-container nui-panel__header-container--default\"\n >\n <ng-container *ngIf=\"!isClosable\">\n <button\n nui-button\n class=\"nui-panel__header-btn\"\n type=\"button\"\n displayStyle=\"action\"\n [icon]=\"mainIcon\"\n [disabled]=\"isAnimating\"\n (click)=\"toggleCollapsedOnClick()\"\n *ngIf=\"isCollapsible\"\n ></button>\n </ng-container>\n <ng-container *ngIf=\"isClosable\">\n <button\n nui-button\n displayStyle=\"action\"\n class=\"nui-panel__header-btn nui-panel__header-btn--close\"\n type=\"button\"\n icon=\"close\"\n (click)=\"toggleCollapsedOnClick()\"\n ></button>\n </ng-container>\n </div>\n </div>\n <div class=\"nui-panel__side-pane-body-wrapper nui-scroll-shadows\">\n <div\n *ngIf=\"!isCollapsed\"\n class=\"nui-panel__side-pane-body\"\n [class.nui-panel__side-pane-body--no-padding]=\"\n !sidePaneBodyPadding\n \"\n [style.min-width]=\"paneBodyWidth\"\n >\n <ng-content select=\"[nuiPanelEmbeddedBody]\"></ng-content>\n </div>\n </div>\n <div *ngIf=\"displayFooter\" class=\"nui-panel__footer\" #footerContent>\n <ng-content select=\"[nuiPanelEmbeddedFooter]\"></ng-content>\n </div>\n </div>\n </div>\n <div class=\"nui-panel__center-pane media-body\" #mainContent>\n <div class=\"nui-panel__container\">\n <div class=\"nui-panel__body\">\n <ng-content></ng-content>\n </div>\n </div>\n </div>\n</div>\n\n<ng-template #defaultTitle>\n <div class=\"nui-panel__header-content\">\n <span class=\"nui-panel__header-content-default\">\n <h4 class=\"nui-panel__header-default-title\">{{ heading }}</h4>\n </span>\n </div>\n</ng-template>\n", styles: [".nui .nui-panel{height:100%;width:100%;overflow:visible;position:relative;display:flex;margin-top:15px}.nui .nui-panel:first-child{margin-top:0}.nui .nui-panel--top,.nui .nui-panel--bottom{flex-direction:column}.nui .nui-panel__header{display:flex;position:relative;align-items:center;flex-shrink:0;min-height:40px;padding:var(--nui-space-xs,5px)}.nui .nui-panel__header--no-padding{padding:0}.nui .nui-panel__header-container{margin-left:auto}.nui .nui-panel__header-content{white-space:nowrap;text-transform:uppercase;-webkit-user-select:none;-o-user-select:none;user-select:none;display:flex;align-items:center}.nui .nui-panel__header-default-title{line-height:26px;margin:0}.nui .nui-panel__header-btn{border:none;background-color:transparent}.nui .nui-panel__header-btn__right{float:left;border:none;background-color:transparent}.nui .nui-panel__container{display:flex;flex-direction:column;width:100%}.nui .nui-panel__container .nui-panel__body{width:100%}.nui .nui-panel__side-pane{--nui-color-bg-panel-side-pane: var(--nui-color-bg-content);--nui-color-bg-scroll: var(--nui-color-bg-content);background-color:var(--nui-color-bg-panel-side-pane);display:flex;height:100%;flex-shrink:0;z-index:var(--nui-panel-side-pane-stack-order,100);position:absolute;top:0}.nui .nui-panel__side-pane.color-bg-secondary{--nui-color-bg-panel-side-pane: var(--nui-color-bg-secondary);--nui-color-bg-scroll: var(--nui-color-bg-secondary)}.nui .nui-panel__side-pane.color-bg-transparent{--nui-color-bg-panel-side-pane: var(--nui-color-bg-transparent)}.nui .nui-panel__side-pane.nui-panel-pane__hidden{display:none}.nui .nui-panel__side-pane.nui-panel-pane__vertical{flex-direction:column}.nui .nui-panel__side-pane.nui-panel--shrink{position:static}.nui .nui-panel__side-pane .nui-panel__side-pane-body{position:relative;height:100%;padding:0 5px}.nui .nui-panel__side-pane .nui-panel__side-pane-body--no-padding{padding:0}.nui .nui-panel__side-pane .nui-panel__side-pane-body-wrapper{height:100%;overflow-y:auto;overflow-x:hidden}.nui .nui-panel__center-pane{width:100%;overflow-y:auto}.nui .nui-panel [nuiPanelEmbeddedFooter]{border-top:1px solid #d9d9d9;border-top:solid 1px var(--nui-color-line-default, #d9d9d9);padding:10px 15px}.nui .nui-panel.nui-panel--animating .nui-panel__side-pane{overflow:hidden}.nui .nui-panel.nui-panel--animating.nui-panel--left [nuiPanelEmbeddedIcon],.nui .nui-panel.nui-panel--animating.nui-panel--right [nuiPanelEmbeddedIcon]{transform:scale(0)}.nui .nui-panel.nui-panel--is-collapsed>.nui-panel__side-pane .nui-panel__side-pane-body-wrapper{opacity:0;pointer-events:none}.nui .nui-panel.nui-panel--is-collapsed .nui-panel__header{padding:var(--nui-space-xs,5px)}.nui .nui-panel.nui-panel--is-collapsed .nui-panel__header-btn--close{display:none}.nui .nui-panel.nui-panel--is-collapsed.nui-panel--right>.nui-panel__side-pane .nui-panel__header,.nui .nui-panel.nui-panel--is-collapsed.nui-panel--left>.nui-panel__side-pane .nui-panel__header{flex-direction:column}.nui .nui-panel.nui-panel--is-collapsed.nui-panel--right>.nui-panel__side-pane .nui-panel__header-content-default,.nui .nui-panel.nui-panel--is-collapsed.nui-panel--left>.nui-panel__side-pane .nui-panel__header-content-default{display:none}.nui .nui-panel.nui-panel--is-collapsed.nui-panel--right>.nui-panel__side-pane .nui-panel__header [nuiPanelEmbeddedHeading],.nui .nui-panel.nui-panel--is-collapsed.nui-panel--left>.nui-panel__side-pane .nui-panel__header [nuiPanelEmbeddedHeading]{transform:scale(0)}.nui .nui-panel.nui-panel--is-collapsed.nui-panel--right>.nui-panel__side-pane .nui-panel__header-container--default,.nui .nui-panel.nui-panel--is-collapsed.nui-panel--left>.nui-panel__side-pane .nui-panel__header-container--default{order:-1}.nui .nui-panel.nui-panel--is-collapsed.nui-panel--right>.nui-panel__side-pane .nui-panel__footer,.nui .nui-panel.nui-panel--is-collapsed.nui-panel--left>.nui-panel__side-pane .nui-panel__footer{display:none}.nui .nui-panel.nui-panel--is-collapsed.nui-panel--right .nui-panel__header-container--default{margin-right:auto}.nui .nui-panel.nui-panel--is-collapsed.nui-panel--top .nui-panel__side-pane-body,.nui .nui-panel.nui-panel--is-collapsed.nui-panel--bottom .nui-panel__side-pane-body{position:static}.nui .nui-panel.nui-panel--left .nui-panel__side-pane.nui-panel--shrink,.nui .nui-panel.nui-panel--right .nui-panel__side-pane.nui-panel--shrink,.nui .nui-panel.nui-panel--left .nui-panel__side-pane.nui-panel--shrink .nui-panel__side-pane-body,.nui .nui-panel.nui-panel--right .nui-panel__side-pane.nui-panel--shrink .nui-panel__side-pane-body{height:auto}.nui .nui-panel.nui-panel--left .nui-panel__side-pane{padding-right:0;left:0;border-right:1px solid;border-right-color:var(--nui-color-line-default,#d9d9d9)}.nui .nui-panel.nui-panel--left .nui-panel__side-pane.nui-panel-pane--border-dark{border-right:1px solid;border-right-color:var(--nui-color-line-dark,#999999)}.nui .nui-panel.nui-panel--right .nui-panel__side-pane{order:2;right:0;padding-left:0;border-left:1px solid;border-left-color:var(--nui-color-line-default,#d9d9d9)}.nui .nui-panel.nui-panel--right .nui-panel__side-pane.nui-panel-pane--border-dark{border-left:1px solid;border-left-color:var(--nui-color-line-dark,#999999)}.nui .nui-panel.nui-panel--right .nui-panel__header-container--default{order:-1;margin-left:0}.nui .nui-panel.nui-panel--right .nui-panel-pane__closable .nui-panel__header{flex-direction:row-reverse}.nui .nui-panel.nui-panel--right .nui-panel-pane__closable .nui-panel__header-container--default{margin-left:auto}.nui .nui-panel.nui-panel--top .nui-panel__side-pane,.nui .nui-panel.nui-panel--bottom .nui-panel__side-pane{width:100%;left:0}.nui .nui-panel.nui-panel--top .nui-panel__side-pane .nui-panel__side-pane-body,.nui .nui-panel.nui-panel--bottom .nui-panel__side-pane .nui-panel__side-pane-body{overflow-y:auto}.nui .nui-panel.nui-panel--top .nui-panel__header-container--default,.nui .nui-panel.nui-panel--bottom .nui-panel__header-container--default{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);order:1;margin-right:auto}.nui .nui-panel.nui-panel--top .nui-panel-pane__closable .nui-panel__header-container--default,.nui .nui-panel.nui-panel--bottom .nui-panel-pane__closable .nui-panel__header-container--default{position:static;transform:none;margin-right:0}.nui .nui-panel.nui-panel--top .nui-panel__side-pane{border-bottom:1px solid;border-bottom-color:var(--nui-color-line-default,#d9d9d9)}.nui .nui-panel.nui-panel--top .nui-panel__side-pane.nui-panel-pane--border-dark{border-bottom:1px solid;border-bottom-color:var(--nui-color-line-dark,#999999)}.nui .nui-panel.nui-panel--bottom .nui-panel__side-pane{order:2;bottom:0;top:auto;border-top:1px solid;border-top-color:var(--nui-color-line-default,#d9d9d9)}.nui .nui-panel.nui-panel--bottom .nui-panel__side-pane.nui-panel-pane--border-dark{border-top:1px solid;border-top-color:var(--nui-color-line-dark,#999999)}.nui .nui-panel.nui-panel--hoverable .nui-panel__side-pane{transition:box-shadow 0s .3s}.nui .nui-panel.nui-panel--hoverable .nui-panel__side-pane:hover{transition:box-shadow 0s}.nui .nui-panel.nui-panel--hoverable.nui-panel--left .nui-panel__side-pane:hover{box-shadow:6px 0 5px -5px var(--nui-shadow-color, rgba(17, 17, 17, .3))}.nui .nui-panel.nui-panel--hoverable.nui-panel--right .nui-panel__side-pane:hover{box-shadow:-6px 0 5px -5px var(--nui-shadow-color, rgba(17, 17, 17, .3))}.nui .nui-panel.nui-panel--hoverable.nui-panel--top .nui-panel__side-pane:hover{box-shadow:0 6px 5px -5px var(--nui-shadow-color, rgba(17, 17, 17, .3))}.nui .nui-panel.nui-panel--hoverable.nui-panel--bottom .nui-panel__side-pane:hover{box-shadow:0 -6px 5px -5px var(--nui-shadow-color, rgba(17, 17, 17, .3))}\n"], components: [{ type: ButtonComponent, selector: "[nui-button]", inputs: ["displayStyle", "icon", "iconColor", "iconRight", "isBusy", "isEmpty", "ariaLabel", "isRepeat", "size"] }], directives: [{ type: ResizerDirective, selector: "[nuiResizer]", inputs: ["resizerDirection", "resizerDisabled", "resizerValue", "isMultiple"], outputs: ["resizerSizeChanged"] }, { type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
20633
20650
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PanelComponent, decorators: [{
|
|
20634
20651
|
type: Component,
|
|
20635
20652
|
args: [{ selector: "nui-panel", encapsulation: ViewEncapsulation.None, template: "<div\n class=\"nui-panel media nui-panel--{{ orientation }}\"\n [class.nui-panel--hoverable]=\"isHoverable\"\n [class.nui-panel--is-collapsed]=\"isCollapsible && isCollapsed\"\n [class.nui-panel--animating]=\"isAnimating\"\n role=\"tabpanel\"\n [attr.aria-expanded]=\"!isCollapsible || !isCollapsed\"\n [attr.aria-hidden]=\"isCollapsible && isCollapsed\"\n>\n <div\n class=\"nui-panel__side-pane\"\n [ngClass]=\"panelBackgroundColor\"\n [class.nui-panel-pane--border-dark]=\"darkBorder\"\n [class.nui-panel-pane__hidden]=\"isHidden\"\n [class.nui-panel-pane__closable]=\"isClosable\"\n [class.nui-panel--shrink]=\"displacePrimaryContent\"\n [class.nui-panel-pane__vertical]=\"paneDirectionHorizontal\"\n (mouseenter)=\"toggleEnter()\"\n (mouseleave)=\"toggleLeave()\"\n nuiResizer\n [resizerDirection]=\"getResizeDirection()\"\n [resizerDisabled]=\"!isPanelResizable()\"\n [resizerValue]=\"getPaneSizeMeasurement()\"\n (resizerSizeChanged)=\"onSizeChanged($event)\"\n #sidePaneContainer\n >\n <div class=\"nui-panel__container\" #paneContainer>\n <div\n *ngIf=\"displayPanelHeader\"\n class=\"nui-panel__header\"\n [class.nui-panel__header--no-padding]=\"!headerPadding\"\n #headerContent\n >\n <ng-content select=\"[nuiPanelEmbeddedIcon]\"></ng-content>\n <ng-container *ngIf=\"!heading; else defaultTitle\">\n <ng-content select=\"[nuiPanelEmbeddedHeading]\"></ng-content>\n </ng-container>\n\n <div\n *ngIf=\"showDefaultIcon\"\n class=\"nui-panel__header-container nui-panel__header-container--default\"\n >\n <ng-container *ngIf=\"!isClosable\">\n <button\n nui-button\n class=\"nui-panel__header-btn\"\n type=\"button\"\n displayStyle=\"action\"\n [icon]=\"mainIcon\"\n [disabled]=\"isAnimating\"\n (click)=\"toggleCollapsedOnClick()\"\n *ngIf=\"isCollapsible\"\n ></button>\n </ng-container>\n <ng-container *ngIf=\"isClosable\">\n <button\n nui-button\n displayStyle=\"action\"\n class=\"nui-panel__header-btn nui-panel__header-btn--close\"\n type=\"button\"\n icon=\"close\"\n (click)=\"toggleCollapsedOnClick()\"\n ></button>\n </ng-container>\n </div>\n </div>\n <div class=\"nui-panel__side-pane-body-wrapper nui-scroll-shadows\">\n <div\n *ngIf=\"!isCollapsed\"\n class=\"nui-panel__side-pane-body\"\n [class.nui-panel__side-pane-body--no-padding]=\"\n !sidePaneBodyPadding\n \"\n [style.min-width]=\"paneBodyWidth\"\n >\n <ng-content select=\"[nuiPanelEmbeddedBody]\"></ng-content>\n </div>\n </div>\n <div *ngIf=\"displayFooter\" class=\"nui-panel__footer\" #footerContent>\n <ng-content select=\"[nuiPanelEmbeddedFooter]\"></ng-content>\n </div>\n </div>\n </div>\n <div class=\"nui-panel__center-pane media-body\" #mainContent>\n <div class=\"nui-panel__container\">\n <div class=\"nui-panel__body\">\n <ng-content></ng-content>\n </div>\n </div>\n </div>\n</div>\n\n<ng-template #defaultTitle>\n <div class=\"nui-panel__header-content\">\n <span class=\"nui-panel__header-content-default\">\n <h4 class=\"nui-panel__header-default-title\">{{ heading }}</h4>\n </span>\n </div>\n</ng-template>\n", styles: [".nui .nui-panel{height:100%;width:100%;overflow:visible;position:relative;display:flex;margin-top:15px}.nui .nui-panel:first-child{margin-top:0}.nui .nui-panel--top,.nui .nui-panel--bottom{flex-direction:column}.nui .nui-panel__header{display:flex;position:relative;align-items:center;flex-shrink:0;min-height:40px;padding:var(--nui-space-xs,5px)}.nui .nui-panel__header--no-padding{padding:0}.nui .nui-panel__header-container{margin-left:auto}.nui .nui-panel__header-content{white-space:nowrap;text-transform:uppercase;-webkit-user-select:none;-o-user-select:none;user-select:none;display:flex;align-items:center}.nui .nui-panel__header-default-title{line-height:26px;margin:0}.nui .nui-panel__header-btn{border:none;background-color:transparent}.nui .nui-panel__header-btn__right{float:left;border:none;background-color:transparent}.nui .nui-panel__container{display:flex;flex-direction:column;width:100%}.nui .nui-panel__container .nui-panel__body{width:100%}.nui .nui-panel__side-pane{--nui-color-bg-panel-side-pane: var(--nui-color-bg-content);--nui-color-bg-scroll: var(--nui-color-bg-content);background-color:var(--nui-color-bg-panel-side-pane);display:flex;height:100%;flex-shrink:0;z-index:var(--nui-panel-side-pane-stack-order,100);position:absolute;top:0}.nui .nui-panel__side-pane.color-bg-secondary{--nui-color-bg-panel-side-pane: var(--nui-color-bg-secondary);--nui-color-bg-scroll: var(--nui-color-bg-secondary)}.nui .nui-panel__side-pane.color-bg-transparent{--nui-color-bg-panel-side-pane: var(--nui-color-bg-transparent)}.nui .nui-panel__side-pane.nui-panel-pane__hidden{display:none}.nui .nui-panel__side-pane.nui-panel-pane__vertical{flex-direction:column}.nui .nui-panel__side-pane.nui-panel--shrink{position:static}.nui .nui-panel__side-pane .nui-panel__side-pane-body{position:relative;height:100%;padding:0 5px}.nui .nui-panel__side-pane .nui-panel__side-pane-body--no-padding{padding:0}.nui .nui-panel__side-pane .nui-panel__side-pane-body-wrapper{height:100%;overflow-y:auto;overflow-x:hidden}.nui .nui-panel__center-pane{width:100%;overflow-y:auto}.nui .nui-panel [nuiPanelEmbeddedFooter]{border-top:1px solid #d9d9d9;border-top:solid 1px var(--nui-color-line-default, #d9d9d9);padding:10px 15px}.nui .nui-panel.nui-panel--animating .nui-panel__side-pane{overflow:hidden}.nui .nui-panel.nui-panel--animating.nui-panel--left [nuiPanelEmbeddedIcon],.nui .nui-panel.nui-panel--animating.nui-panel--right [nuiPanelEmbeddedIcon]{transform:scale(0)}.nui .nui-panel.nui-panel--is-collapsed>.nui-panel__side-pane .nui-panel__side-pane-body-wrapper{opacity:0;pointer-events:none}.nui .nui-panel.nui-panel--is-collapsed .nui-panel__header{padding:var(--nui-space-xs,5px)}.nui .nui-panel.nui-panel--is-collapsed .nui-panel__header-btn--close{display:none}.nui .nui-panel.nui-panel--is-collapsed.nui-panel--right>.nui-panel__side-pane .nui-panel__header,.nui .nui-panel.nui-panel--is-collapsed.nui-panel--left>.nui-panel__side-pane .nui-panel__header{flex-direction:column}.nui .nui-panel.nui-panel--is-collapsed.nui-panel--right>.nui-panel__side-pane .nui-panel__header-content-default,.nui .nui-panel.nui-panel--is-collapsed.nui-panel--left>.nui-panel__side-pane .nui-panel__header-content-default{display:none}.nui .nui-panel.nui-panel--is-collapsed.nui-panel--right>.nui-panel__side-pane .nui-panel__header [nuiPanelEmbeddedHeading],.nui .nui-panel.nui-panel--is-collapsed.nui-panel--left>.nui-panel__side-pane .nui-panel__header [nuiPanelEmbeddedHeading]{transform:scale(0)}.nui .nui-panel.nui-panel--is-collapsed.nui-panel--right>.nui-panel__side-pane .nui-panel__header-container--default,.nui .nui-panel.nui-panel--is-collapsed.nui-panel--left>.nui-panel__side-pane .nui-panel__header-container--default{order:-1}.nui .nui-panel.nui-panel--is-collapsed.nui-panel--right>.nui-panel__side-pane .nui-panel__footer,.nui .nui-panel.nui-panel--is-collapsed.nui-panel--left>.nui-panel__side-pane .nui-panel__footer{display:none}.nui .nui-panel.nui-panel--is-collapsed.nui-panel--right .nui-panel__header-container--default{margin-right:auto}.nui .nui-panel.nui-panel--is-collapsed.nui-panel--top .nui-panel__side-pane-body,.nui .nui-panel.nui-panel--is-collapsed.nui-panel--bottom .nui-panel__side-pane-body{position:static}.nui .nui-panel.nui-panel--left .nui-panel__side-pane.nui-panel--shrink,.nui .nui-panel.nui-panel--right .nui-panel__side-pane.nui-panel--shrink,.nui .nui-panel.nui-panel--left .nui-panel__side-pane.nui-panel--shrink .nui-panel__side-pane-body,.nui .nui-panel.nui-panel--right .nui-panel__side-pane.nui-panel--shrink .nui-panel__side-pane-body{height:auto}.nui .nui-panel.nui-panel--left .nui-panel__side-pane{padding-right:0;left:0;border-right:1px solid;border-right-color:var(--nui-color-line-default,#d9d9d9)}.nui .nui-panel.nui-panel--left .nui-panel__side-pane.nui-panel-pane--border-dark{border-right:1px solid;border-right-color:var(--nui-color-line-dark,#999999)}.nui .nui-panel.nui-panel--right .nui-panel__side-pane{order:2;right:0;padding-left:0;border-left:1px solid;border-left-color:var(--nui-color-line-default,#d9d9d9)}.nui .nui-panel.nui-panel--right .nui-panel__side-pane.nui-panel-pane--border-dark{border-left:1px solid;border-left-color:var(--nui-color-line-dark,#999999)}.nui .nui-panel.nui-panel--right .nui-panel__header-container--default{order:-1;margin-left:0}.nui .nui-panel.nui-panel--right .nui-panel-pane__closable .nui-panel__header{flex-direction:row-reverse}.nui .nui-panel.nui-panel--right .nui-panel-pane__closable .nui-panel__header-container--default{margin-left:auto}.nui .nui-panel.nui-panel--top .nui-panel__side-pane,.nui .nui-panel.nui-panel--bottom .nui-panel__side-pane{width:100%;left:0}.nui .nui-panel.nui-panel--top .nui-panel__side-pane .nui-panel__side-pane-body,.nui .nui-panel.nui-panel--bottom .nui-panel__side-pane .nui-panel__side-pane-body{overflow-y:auto}.nui .nui-panel.nui-panel--top .nui-panel__header-container--default,.nui .nui-panel.nui-panel--bottom .nui-panel__header-container--default{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);order:1;margin-right:auto}.nui .nui-panel.nui-panel--top .nui-panel-pane__closable .nui-panel__header-container--default,.nui .nui-panel.nui-panel--bottom .nui-panel-pane__closable .nui-panel__header-container--default{position:static;transform:none;margin-right:0}.nui .nui-panel.nui-panel--top .nui-panel__side-pane{border-bottom:1px solid;border-bottom-color:var(--nui-color-line-default,#d9d9d9)}.nui .nui-panel.nui-panel--top .nui-panel__side-pane.nui-panel-pane--border-dark{border-bottom:1px solid;border-bottom-color:var(--nui-color-line-dark,#999999)}.nui .nui-panel.nui-panel--bottom .nui-panel__side-pane{order:2;bottom:0;top:auto;border-top:1px solid;border-top-color:var(--nui-color-line-default,#d9d9d9)}.nui .nui-panel.nui-panel--bottom .nui-panel__side-pane.nui-panel-pane--border-dark{border-top:1px solid;border-top-color:var(--nui-color-line-dark,#999999)}.nui .nui-panel.nui-panel--hoverable .nui-panel__side-pane{transition:box-shadow 0s .3s}.nui .nui-panel.nui-panel--hoverable .nui-panel__side-pane:hover{transition:box-shadow 0s}.nui .nui-panel.nui-panel--hoverable.nui-panel--left .nui-panel__side-pane:hover{box-shadow:6px 0 5px -5px var(--nui-shadow-color, rgba(17, 17, 17, .3))}.nui .nui-panel.nui-panel--hoverable.nui-panel--right .nui-panel__side-pane:hover{box-shadow:-6px 0 5px -5px var(--nui-shadow-color, rgba(17, 17, 17, .3))}.nui .nui-panel.nui-panel--hoverable.nui-panel--top .nui-panel__side-pane:hover{box-shadow:0 6px 5px -5px var(--nui-shadow-color, rgba(17, 17, 17, .3))}.nui .nui-panel.nui-panel--hoverable.nui-panel--bottom .nui-panel__side-pane:hover{box-shadow:0 -6px 5px -5px var(--nui-shadow-color, rgba(17, 17, 17, .3))}\n"] }]
|
|
20636
|
-
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i1$
|
|
20653
|
+
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i1$7.AnimationBuilder }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { panelMode: [{
|
|
20637
20654
|
type: Input
|
|
20638
20655
|
}], heading: [{
|
|
20639
20656
|
type: Input
|
|
@@ -21113,11 +21130,11 @@ class SorterKeyboardService {
|
|
|
21113
21130
|
this.liveAnnouncer.announce(`Sort by ${this.keyboardEventsManager?.activeItem?.menuItem.nativeElement.innerText}.`);
|
|
21114
21131
|
}
|
|
21115
21132
|
}
|
|
21116
|
-
SorterKeyboardService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SorterKeyboardService, deps: [{ token: i1$
|
|
21133
|
+
SorterKeyboardService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SorterKeyboardService, deps: [{ token: i1$3.LiveAnnouncer }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
21117
21134
|
SorterKeyboardService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SorterKeyboardService });
|
|
21118
21135
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SorterKeyboardService, decorators: [{
|
|
21119
21136
|
type: Injectable
|
|
21120
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
21137
|
+
}], ctorParameters: function () { return [{ type: i1$3.LiveAnnouncer }]; } });
|
|
21121
21138
|
|
|
21122
21139
|
// <example-url>./../examples/index.html#/sorter</example-url>
|
|
21123
21140
|
class SorterComponent {
|
|
@@ -21398,7 +21415,6 @@ class TableColumnDefDirective extends CdkColumnDef {
|
|
|
21398
21415
|
super();
|
|
21399
21416
|
this.tableStateHandlerService = tableStateHandlerService;
|
|
21400
21417
|
}
|
|
21401
|
-
/* eslint-disable @angular-eslint/no-input-rename */
|
|
21402
21418
|
get name() {
|
|
21403
21419
|
return super.name;
|
|
21404
21420
|
}
|
|
@@ -21475,9 +21491,9 @@ class TableCellDirective extends CdkCell {
|
|
|
21475
21491
|
this.rightEdgeActive = this.leftEdgeActive = false;
|
|
21476
21492
|
if (draggedOverCell?.cellIndex === this.currentCellIndex) {
|
|
21477
21493
|
this.rightEdgeActive =
|
|
21478
|
-
draggedOverCell
|
|
21494
|
+
draggedOverCell?.dropAlignment === "right";
|
|
21479
21495
|
this.leftEdgeActive =
|
|
21480
|
-
draggedOverCell
|
|
21496
|
+
draggedOverCell?.dropAlignment === "left";
|
|
21481
21497
|
this.cd.detectChanges();
|
|
21482
21498
|
}
|
|
21483
21499
|
});
|
|
@@ -21514,7 +21530,6 @@ TableCellDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", ver
|
|
|
21514
21530
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TableCellDirective, decorators: [{
|
|
21515
21531
|
type: Directive,
|
|
21516
21532
|
args: [{
|
|
21517
|
-
// eslint-disable-next-line
|
|
21518
21533
|
selector: "nui-cell, td[nui-cell]",
|
|
21519
21534
|
host: {
|
|
21520
21535
|
role: "gridcell",
|
|
@@ -21815,9 +21830,9 @@ class TableHeaderCellComponent extends CdkHeaderCell {
|
|
|
21815
21830
|
this.rightEdgeActive = this.leftEdgeActive = false;
|
|
21816
21831
|
if (draggedOverCell?.cellIndex === this.currentCellIndex) {
|
|
21817
21832
|
this.rightEdgeActive =
|
|
21818
|
-
draggedOverCell
|
|
21833
|
+
draggedOverCell?.dropAlignment === "right";
|
|
21819
21834
|
this.leftEdgeActive =
|
|
21820
|
-
draggedOverCell
|
|
21835
|
+
draggedOverCell?.dropAlignment === "left";
|
|
21821
21836
|
}
|
|
21822
21837
|
}));
|
|
21823
21838
|
}
|
|
@@ -21874,7 +21889,6 @@ TableHeaderCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0
|
|
|
21874
21889
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TableHeaderCellComponent, decorators: [{
|
|
21875
21890
|
type: Component,
|
|
21876
21891
|
args: [{
|
|
21877
|
-
// eslint-disable-next-line
|
|
21878
21892
|
selector: "nui-header-cell, th[nui-header-cell]",
|
|
21879
21893
|
host: {
|
|
21880
21894
|
role: "columnheader",
|
|
@@ -21954,6 +21968,34 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
21954
21968
|
args: ["dragend", ["$event"]]
|
|
21955
21969
|
}] } });
|
|
21956
21970
|
|
|
21971
|
+
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
21972
|
+
//
|
|
21973
|
+
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
21974
|
+
// of this software and associated documentation files (the "Software"), to
|
|
21975
|
+
// deal in the Software without restriction, including without limitation the
|
|
21976
|
+
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
21977
|
+
// sell copies of the Software, and to permit persons to whom the Software is
|
|
21978
|
+
// furnished to do so, subject to the following conditions:
|
|
21979
|
+
//
|
|
21980
|
+
// The above copyright notice and this permission notice shall be included in
|
|
21981
|
+
// all copies or substantial portions of the Software.
|
|
21982
|
+
//
|
|
21983
|
+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
21984
|
+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
21985
|
+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
21986
|
+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
21987
|
+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21988
|
+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21989
|
+
// THE SOFTWARE.
|
|
21990
|
+
/**
|
|
21991
|
+
* 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.
|
|
21992
|
+
*/
|
|
21993
|
+
const DEFAULT_INTERACTIVE_ELEMENTS = [
|
|
21994
|
+
"button",
|
|
21995
|
+
"input[type='button']",
|
|
21996
|
+
"a[href]",
|
|
21997
|
+
];
|
|
21998
|
+
|
|
21957
21999
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
21958
22000
|
/* eslint-disable */
|
|
21959
22001
|
/**
|
|
@@ -22970,8 +23012,8 @@ class TimeFrameBarComponent {
|
|
|
22970
23012
|
this.changeDetectorRef = changeDetectorRef;
|
|
22971
23013
|
/** Current time frame value */
|
|
22972
23014
|
this.timeFrame = {
|
|
22973
|
-
startDatetime: undefined,
|
|
22974
|
-
endDatetime: undefined,
|
|
23015
|
+
startDatetime: moment(undefined),
|
|
23016
|
+
endDatetime: moment(undefined),
|
|
22975
23017
|
};
|
|
22976
23018
|
this.timeFrameChange = new EventEmitter();
|
|
22977
23019
|
/** Current index in zoom history */
|
|
@@ -23787,13 +23829,9 @@ class ToastService {
|
|
|
23787
23829
|
// @ts-ignore: Suppressing error until v10 to prevent API breaking changes
|
|
23788
23830
|
return null;
|
|
23789
23831
|
}
|
|
23790
|
-
|
|
23832
|
+
this.toastContainerService.getContainerElement(config.positionClass);
|
|
23791
23833
|
let keepInactive = false;
|
|
23792
23834
|
let sanitizedBody = body;
|
|
23793
|
-
let toastRef;
|
|
23794
|
-
let toastPackage;
|
|
23795
|
-
let toastInjector;
|
|
23796
|
-
let toastInstance;
|
|
23797
23835
|
if (this.toastConfig.maxOpened &&
|
|
23798
23836
|
this.currentlyActive >= this.toastConfig.maxOpened) {
|
|
23799
23837
|
keepInactive = true;
|
|
@@ -23805,11 +23843,11 @@ class ToastService {
|
|
|
23805
23843
|
if (body && config.enableHtml) {
|
|
23806
23844
|
sanitizedBody = (this.sanitizer.sanitize(SecurityContext.HTML, body));
|
|
23807
23845
|
}
|
|
23808
|
-
toastRef = new ToastRef(this.toastContainerService);
|
|
23809
|
-
toastPackage = new ToastPackage(this.index, config, sanitizedBody, title, toastType, toastRef);
|
|
23810
|
-
toastInjector = new ToastInjector(toastPackage, this._injector);
|
|
23846
|
+
const toastRef = new ToastRef(this.toastContainerService);
|
|
23847
|
+
const toastPackage = new ToastPackage(this.index, config, sanitizedBody, title, toastType, toastRef);
|
|
23848
|
+
const toastInjector = new ToastInjector(toastPackage, this._injector);
|
|
23811
23849
|
toastRef.componentInstance = this.toastContainerService.attachToast(ToastComponent, toastInjector, !!config.newestOnTop);
|
|
23812
|
-
toastInstance = {
|
|
23850
|
+
const toastInstance = {
|
|
23813
23851
|
toastId: this.index,
|
|
23814
23852
|
body: sanitizedBody,
|
|
23815
23853
|
toastRef,
|
|
@@ -24872,6 +24910,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
24872
24910
|
args: ["code"]
|
|
24873
24911
|
}] } });
|
|
24874
24912
|
|
|
24913
|
+
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
24914
|
+
// This should not be here, but Angular DI is not recognizing this token when it in scope of docsModule
|
|
24915
|
+
// In any case doc helpers will be moved in separate preject and this will not be here
|
|
24916
|
+
const DEMO_PATH_TOKEN = new InjectionToken("DemoPathToken");
|
|
24917
|
+
|
|
24875
24918
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
24876
24919
|
/** @ignore */
|
|
24877
24920
|
class SourcesService {
|
|
@@ -24882,11 +24925,9 @@ class SourcesService {
|
|
|
24882
24925
|
}
|
|
24883
24926
|
getSourcesByFilenamePrefix(prefix) {
|
|
24884
24927
|
if (!this.context) {
|
|
24885
|
-
this.logger
|
|
24886
|
-
|
|
24887
|
-
|
|
24888
|
-
useFactory: () => (<any> require).context("!!raw-loader!./components/demo/", true, /.*\.(ts|html|less)$/)}, `);
|
|
24889
|
-
return;
|
|
24928
|
+
this.logger.error(`You need to configure SourceService in the module where you import NuiDocsModule e.g. {` +
|
|
24929
|
+
` provide: DEMO_PATH_TOKEN, useFactory: () => (<any> require).context("!!raw-loader!./components/demo/", true, /.*[.](ts|html|less)$/) }`);
|
|
24930
|
+
return {};
|
|
24890
24931
|
}
|
|
24891
24932
|
const matchingFilePaths = filter(this.context.keys(), (filePath) => {
|
|
24892
24933
|
const prefixIndex = filePath.indexOf(prefix);
|
|
@@ -24919,19 +24960,19 @@ class SourcesService {
|
|
|
24919
24960
|
`;
|
|
24920
24961
|
}
|
|
24921
24962
|
getFileData(fileName) {
|
|
24922
|
-
let fileData = {};
|
|
24923
24963
|
const regExResultArray = this.fileExtensionsRegex.exec(fileName);
|
|
24924
|
-
if (regExResultArray) {
|
|
24925
|
-
|
|
24926
|
-
|
|
24927
|
-
|
|
24928
|
-
|
|
24929
|
-
|
|
24930
|
-
|
|
24931
|
-
|
|
24964
|
+
if (!regExResultArray) {
|
|
24965
|
+
return {};
|
|
24966
|
+
}
|
|
24967
|
+
const content = this.context(fileName);
|
|
24968
|
+
const fileContent = content?.default ?? content ?? "";
|
|
24969
|
+
const extension = fileName.split(".").pop();
|
|
24970
|
+
if (extension === "less") {
|
|
24971
|
+
return {
|
|
24972
|
+
[extension]: fileContent.replace(/@import \(reference\) "([\w-]+\/){0,}([\w-]+)(\.less)?"/g, `@import (reference) "@nova-ui/bits/sdk/less/$1$2"`),
|
|
24932
24973
|
};
|
|
24933
24974
|
}
|
|
24934
|
-
return
|
|
24975
|
+
return { [extension]: fileContent };
|
|
24935
24976
|
}
|
|
24936
24977
|
}
|
|
24937
24978
|
SourcesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SourcesService, deps: [{ token: LoggerService }, { token: DEMO_PATH_TOKEN, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
@@ -25439,6 +25480,10 @@ class ExampleWrapperComponent {
|
|
|
25439
25480
|
this.sourcesService = sourcesService;
|
|
25440
25481
|
this.document = document;
|
|
25441
25482
|
this.plunkerProjectService = plunkerProjectService;
|
|
25483
|
+
// Prefix of the example component's filenames
|
|
25484
|
+
this.filenamePrefix = "";
|
|
25485
|
+
// Title to be displayed at the top of the example
|
|
25486
|
+
this.exampleTitle = "";
|
|
25442
25487
|
// Indicates whether the source code is being displayed
|
|
25443
25488
|
this.showSource = false;
|
|
25444
25489
|
this.availableThemes = ["light theme", "dark theme"];
|
|
@@ -25456,14 +25501,15 @@ class ExampleWrapperComponent {
|
|
|
25456
25501
|
this.plunkerProjectService.open(this.filenamePrefix, this.componentSources, this.sourcesService.getTranslations());
|
|
25457
25502
|
}
|
|
25458
25503
|
ngOnInit() {
|
|
25459
|
-
this.componentSources =
|
|
25504
|
+
this.componentSources =
|
|
25505
|
+
this.sourcesService.getSourcesByFilenamePrefix(this.filenamePrefix) ?? {};
|
|
25460
25506
|
}
|
|
25461
25507
|
}
|
|
25462
25508
|
ExampleWrapperComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ExampleWrapperComponent, deps: [{ token: SourcesService }, { token: DOCUMENT }, { token: PlunkerProjectService }], target: i0.ɵɵFactoryTarget.Component });
|
|
25463
|
-
ExampleWrapperComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ExampleWrapperComponent, selector: "nui-example-wrapper", inputs: { filenamePrefix: "filenamePrefix", exampleTitle: "exampleTitle", showSource: "showSource" }, providers: [SourcesService], ngImport: i0, template: "<div class=\"nui-example-wrapper__container\">\n <div class=\"nui-example-wrapper__header\">\n <h4 class=\"nui-example-wrapper__title\">{{ exampleTitle }}</h4>\n <div>\n <button\n nui-button\n type=\"button\"\n displayStyle=\"action\"\n icon=\"{{\n showSource ? 'double-caret-up' : 'double-caret-down'\n }}\"\n [nuiTooltip]=\"getTooltip()\"\n tooltipPlacement=\"bottom\"\n (click)=\"showSource = !showSource\"\n ></button>\n <button\n nui-button\n type=\"button\"\n displayStyle=\"action\"\n icon=\"external-link\"\n nuiTooltip=\"Open in Plunker (only self-contained examples are opened properly)\"\n tooltipPlacement=\"bottom\"\n (click)=\"openPlunker()\"\n ></button>\n </div>\n </div>\n <div *ngIf=\"showSource\" class=\"nui-example-wrapper__source\">\n <nui-tab-group>\n <nui-tab *ngIf=\"!!componentSources.html\" heading=\"HTML\">\n <div class=\"media-body\">\n <nui-copy-text\n fileContent=\"{{ componentSources.html }}\"\n ></nui-copy-text>\n <nui-example-code language=\"html\">{{\n componentSources.html\n }}</nui-example-code>\n </div>\n </nui-tab>\n <nui-tab *ngIf=\"!!componentSources.ts\" heading=\"Typescript\">\n <nui-copy-text\n fileContent=\"{{ componentSources.ts }}\"\n ></nui-copy-text>\n <div class=\"media-body\">\n <nui-example-code language=\"typescript\">{{\n componentSources.ts\n }}</nui-example-code>\n </div>\n </nui-tab>\n <nui-tab *ngIf=\"!!componentSources.less\" heading=\"Less\">\n <nui-copy-text\n fileContent=\"{{ componentSources.less }}\"\n ></nui-copy-text>\n <div class=\"media-body\">\n <nui-example-code\n *ngIf=\"!!componentSources.less; else noLess\"\n >{{ componentSources.less }}</nui-example-code\n >\n <ng-template #noLess>\n <nui-image image=\"no-data-to-show\"></nui-image>\n </ng-template>\n </div>\n </nui-tab>\n </nui-tab-group>\n </div>\n <div class=\"nui-example-wrapper__content\">\n <ng-content></ng-content>\n </div>\n</div>\n", styles: [".nui-example-wrapper__theme{display:inline-block}.nui-example-wrapper__content{background-color:var(--nui-color-bg-light,#fff)}.nui-example-wrapper__container{display:flex;flex-direction:column;border:1px solid;border-color:var(--nui-color-line-default,#d9d9d9);box-shadow:0 2px 2px #1111114d;margin-bottom:20px}.nui-example-wrapper__header{display:flex;flex-direction:row;background-color:var(--page-header-border-color,#d9d9d9);color:var(--nui-color-line-default,#d9d9d9);padding:5px 10px}.nui-example-wrapper__header button{outline:none}.nui-example-wrapper__title{flex-grow:1}.nui-example-wrapper__content{padding:20px}\n"], components: [{ type: ButtonComponent, selector: "[nui-button]", inputs: ["displayStyle", "icon", "iconColor", "iconRight", "isBusy", "isEmpty", "ariaLabel", "isRepeat", "size"] }, { type: TabGroupComponent, selector: "nui-tab-group", inputs: ["vertical"] }, { type: TabComponent, selector: "nui-tab", inputs: ["heading", "disabled", "templateRef", "active"], outputs: ["selected", "deselected"] }, { type: CopyTextComponent, selector: "nui-copy-text", inputs: ["fileContent"] }, { type: ExampleCodeComponent, selector: "nui-example-code", inputs: ["language"] }, { type: ImageComponent, selector: "nui-image", inputs: ["image", "description", "float", "margin", "isWatermark", "width", "height", "autoFill"] }], directives: [{ type: TooltipDirective, selector: "[nuiTooltip]", inputs: ["tooltipPlacement", "nuiTooltipDisabled", "nuiTooltip"], exportAs: ["nuiTooltip"] }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
25509
|
+
ExampleWrapperComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ExampleWrapperComponent, selector: "nui-example-wrapper", inputs: { filenamePrefix: "filenamePrefix", exampleTitle: "exampleTitle", showSource: "showSource" }, providers: [SourcesService], ngImport: i0, template: "<div class=\"nui-example-wrapper__container\">\n <div class=\"nui-example-wrapper__header\">\n <h4 class=\"nui-example-wrapper__title\">{{ exampleTitle }}</h4>\n <div>\n <button\n nui-button\n type=\"button\"\n displayStyle=\"action\"\n icon=\"{{\n showSource ? 'double-caret-up' : 'double-caret-down'\n }}\"\n title=\"Show source\"\n [nuiTooltip]=\"getTooltip()\"\n tooltipPlacement=\"bottom\"\n (click)=\"showSource = !showSource\"\n ></button>\n <button\n nui-button\n type=\"button\"\n displayStyle=\"action\"\n icon=\"external-link\"\n title=\"Open in Plunker\"\n nuiTooltip=\"Open in Plunker (only self-contained examples are opened properly)\"\n tooltipPlacement=\"bottom\"\n (click)=\"openPlunker()\"\n ></button>\n </div>\n </div>\n <div *ngIf=\"showSource\" class=\"nui-example-wrapper__source\">\n <nui-tab-group>\n <nui-tab *ngIf=\"!!componentSources.html\" heading=\"HTML\">\n <div class=\"media-body\">\n <nui-copy-text\n fileContent=\"{{ componentSources.html }}\"\n ></nui-copy-text>\n <nui-example-code language=\"html\">{{\n componentSources.html\n }}</nui-example-code>\n </div>\n </nui-tab>\n <nui-tab *ngIf=\"!!componentSources.ts\" heading=\"Typescript\">\n <nui-copy-text\n fileContent=\"{{ componentSources.ts }}\"\n ></nui-copy-text>\n <div class=\"media-body\">\n <nui-example-code language=\"typescript\">{{\n componentSources.ts\n }}</nui-example-code>\n </div>\n </nui-tab>\n <nui-tab *ngIf=\"!!componentSources.less\" heading=\"Less\">\n <nui-copy-text\n fileContent=\"{{ componentSources.less }}\"\n ></nui-copy-text>\n <div class=\"media-body\">\n <nui-example-code\n *ngIf=\"!!componentSources.less; else noLess\"\n >{{ componentSources.less }}</nui-example-code\n >\n <ng-template #noLess>\n <nui-image image=\"no-data-to-show\"></nui-image>\n </ng-template>\n </div>\n </nui-tab>\n </nui-tab-group>\n </div>\n <div class=\"nui-example-wrapper__content\">\n <ng-content></ng-content>\n </div>\n</div>\n", styles: [".nui-example-wrapper__theme{display:inline-block}.nui-example-wrapper__content{background-color:var(--nui-color-bg-light,#fff)}.nui-example-wrapper__container{display:flex;flex-direction:column;border:1px solid;border-color:var(--nui-color-line-default,#d9d9d9);box-shadow:0 2px 2px #1111114d;margin-bottom:20px}.nui-example-wrapper__header{display:flex;flex-direction:row;background-color:var(--page-header-border-color,#d9d9d9);color:var(--nui-color-line-default,#d9d9d9);padding:5px 10px}.nui-example-wrapper__header button{outline:none}.nui-example-wrapper__title{flex-grow:1}.nui-example-wrapper__content{padding:20px}\n"], components: [{ type: ButtonComponent, selector: "[nui-button]", inputs: ["displayStyle", "icon", "iconColor", "iconRight", "isBusy", "isEmpty", "ariaLabel", "isRepeat", "size"] }, { type: TabGroupComponent, selector: "nui-tab-group", inputs: ["vertical"] }, { type: TabComponent, selector: "nui-tab", inputs: ["heading", "disabled", "templateRef", "active"], outputs: ["selected", "deselected"] }, { type: CopyTextComponent, selector: "nui-copy-text", inputs: ["fileContent"] }, { type: ExampleCodeComponent, selector: "nui-example-code", inputs: ["language"] }, { type: ImageComponent, selector: "nui-image", inputs: ["image", "description", "float", "margin", "isWatermark", "width", "height", "autoFill"] }], directives: [{ type: TooltipDirective, selector: "[nuiTooltip]", inputs: ["tooltipPlacement", "nuiTooltipDisabled", "nuiTooltip"], exportAs: ["nuiTooltip"] }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
25464
25510
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ExampleWrapperComponent, decorators: [{
|
|
25465
25511
|
type: Component,
|
|
25466
|
-
args: [{ selector: "nui-example-wrapper", providers: [SourcesService], template: "<div class=\"nui-example-wrapper__container\">\n <div class=\"nui-example-wrapper__header\">\n <h4 class=\"nui-example-wrapper__title\">{{ exampleTitle }}</h4>\n <div>\n <button\n nui-button\n type=\"button\"\n displayStyle=\"action\"\n icon=\"{{\n showSource ? 'double-caret-up' : 'double-caret-down'\n }}\"\n [nuiTooltip]=\"getTooltip()\"\n tooltipPlacement=\"bottom\"\n (click)=\"showSource = !showSource\"\n ></button>\n <button\n nui-button\n type=\"button\"\n displayStyle=\"action\"\n icon=\"external-link\"\n nuiTooltip=\"Open in Plunker (only self-contained examples are opened properly)\"\n tooltipPlacement=\"bottom\"\n (click)=\"openPlunker()\"\n ></button>\n </div>\n </div>\n <div *ngIf=\"showSource\" class=\"nui-example-wrapper__source\">\n <nui-tab-group>\n <nui-tab *ngIf=\"!!componentSources.html\" heading=\"HTML\">\n <div class=\"media-body\">\n <nui-copy-text\n fileContent=\"{{ componentSources.html }}\"\n ></nui-copy-text>\n <nui-example-code language=\"html\">{{\n componentSources.html\n }}</nui-example-code>\n </div>\n </nui-tab>\n <nui-tab *ngIf=\"!!componentSources.ts\" heading=\"Typescript\">\n <nui-copy-text\n fileContent=\"{{ componentSources.ts }}\"\n ></nui-copy-text>\n <div class=\"media-body\">\n <nui-example-code language=\"typescript\">{{\n componentSources.ts\n }}</nui-example-code>\n </div>\n </nui-tab>\n <nui-tab *ngIf=\"!!componentSources.less\" heading=\"Less\">\n <nui-copy-text\n fileContent=\"{{ componentSources.less }}\"\n ></nui-copy-text>\n <div class=\"media-body\">\n <nui-example-code\n *ngIf=\"!!componentSources.less; else noLess\"\n >{{ componentSources.less }}</nui-example-code\n >\n <ng-template #noLess>\n <nui-image image=\"no-data-to-show\"></nui-image>\n </ng-template>\n </div>\n </nui-tab>\n </nui-tab-group>\n </div>\n <div class=\"nui-example-wrapper__content\">\n <ng-content></ng-content>\n </div>\n</div>\n", styles: [".nui-example-wrapper__theme{display:inline-block}.nui-example-wrapper__content{background-color:var(--nui-color-bg-light,#fff)}.nui-example-wrapper__container{display:flex;flex-direction:column;border:1px solid;border-color:var(--nui-color-line-default,#d9d9d9);box-shadow:0 2px 2px #1111114d;margin-bottom:20px}.nui-example-wrapper__header{display:flex;flex-direction:row;background-color:var(--page-header-border-color,#d9d9d9);color:var(--nui-color-line-default,#d9d9d9);padding:5px 10px}.nui-example-wrapper__header button{outline:none}.nui-example-wrapper__title{flex-grow:1}.nui-example-wrapper__content{padding:20px}\n"] }]
|
|
25512
|
+
args: [{ selector: "nui-example-wrapper", providers: [SourcesService], template: "<div class=\"nui-example-wrapper__container\">\n <div class=\"nui-example-wrapper__header\">\n <h4 class=\"nui-example-wrapper__title\">{{ exampleTitle }}</h4>\n <div>\n <button\n nui-button\n type=\"button\"\n displayStyle=\"action\"\n icon=\"{{\n showSource ? 'double-caret-up' : 'double-caret-down'\n }}\"\n title=\"Show source\"\n [nuiTooltip]=\"getTooltip()\"\n tooltipPlacement=\"bottom\"\n (click)=\"showSource = !showSource\"\n ></button>\n <button\n nui-button\n type=\"button\"\n displayStyle=\"action\"\n icon=\"external-link\"\n title=\"Open in Plunker\"\n nuiTooltip=\"Open in Plunker (only self-contained examples are opened properly)\"\n tooltipPlacement=\"bottom\"\n (click)=\"openPlunker()\"\n ></button>\n </div>\n </div>\n <div *ngIf=\"showSource\" class=\"nui-example-wrapper__source\">\n <nui-tab-group>\n <nui-tab *ngIf=\"!!componentSources.html\" heading=\"HTML\">\n <div class=\"media-body\">\n <nui-copy-text\n fileContent=\"{{ componentSources.html }}\"\n ></nui-copy-text>\n <nui-example-code language=\"html\">{{\n componentSources.html\n }}</nui-example-code>\n </div>\n </nui-tab>\n <nui-tab *ngIf=\"!!componentSources.ts\" heading=\"Typescript\">\n <nui-copy-text\n fileContent=\"{{ componentSources.ts }}\"\n ></nui-copy-text>\n <div class=\"media-body\">\n <nui-example-code language=\"typescript\">{{\n componentSources.ts\n }}</nui-example-code>\n </div>\n </nui-tab>\n <nui-tab *ngIf=\"!!componentSources.less\" heading=\"Less\">\n <nui-copy-text\n fileContent=\"{{ componentSources.less }}\"\n ></nui-copy-text>\n <div class=\"media-body\">\n <nui-example-code\n *ngIf=\"!!componentSources.less; else noLess\"\n >{{ componentSources.less }}</nui-example-code\n >\n <ng-template #noLess>\n <nui-image image=\"no-data-to-show\"></nui-image>\n </ng-template>\n </div>\n </nui-tab>\n </nui-tab-group>\n </div>\n <div class=\"nui-example-wrapper__content\">\n <ng-content></ng-content>\n </div>\n</div>\n", styles: [".nui-example-wrapper__theme{display:inline-block}.nui-example-wrapper__content{background-color:var(--nui-color-bg-light,#fff)}.nui-example-wrapper__container{display:flex;flex-direction:column;border:1px solid;border-color:var(--nui-color-line-default,#d9d9d9);box-shadow:0 2px 2px #1111114d;margin-bottom:20px}.nui-example-wrapper__header{display:flex;flex-direction:row;background-color:var(--page-header-border-color,#d9d9d9);color:var(--nui-color-line-default,#d9d9d9);padding:5px 10px}.nui-example-wrapper__header button{outline:none}.nui-example-wrapper__title{flex-grow:1}.nui-example-wrapper__content{padding:20px}\n"] }]
|
|
25467
25513
|
}], ctorParameters: function () { return [{ type: SourcesService }, { type: Document, decorators: [{
|
|
25468
25514
|
type: Inject,
|
|
25469
25515
|
args: [DOCUMENT]
|
|
@@ -25543,12 +25589,12 @@ class SrlcIndicatorComponent {
|
|
|
25543
25589
|
});
|
|
25544
25590
|
}
|
|
25545
25591
|
}
|
|
25546
|
-
SrlcIndicatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SrlcIndicatorComponent, deps: [{ token: i1$
|
|
25592
|
+
SrlcIndicatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SrlcIndicatorComponent, deps: [{ token: i1$6.Router }], target: i0.ɵɵFactoryTarget.Component });
|
|
25547
25593
|
SrlcIndicatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: SrlcIndicatorComponent, selector: "nui-srlc-indicator", ngImport: i0, template: "<nui-message\n [type]=\"getMessageType()\"\n [allowDismiss]=\"false\"\n *ngIf=\"!!componentSrlc && !componentSrlc.hideIndicator\"\n>\n <span [innerHTML]=\"getMessageText()\"></span>\n</nui-message>\n", components: [{ type: MessageComponent, selector: "nui-message", inputs: ["type", "allowDismiss", "manualControl"], outputs: ["dismiss"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
25548
25594
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SrlcIndicatorComponent, decorators: [{
|
|
25549
25595
|
type: Component,
|
|
25550
25596
|
args: [{ selector: "nui-srlc-indicator", template: "<nui-message\n [type]=\"getMessageType()\"\n [allowDismiss]=\"false\"\n *ngIf=\"!!componentSrlc && !componentSrlc.hideIndicator\"\n>\n <span [innerHTML]=\"getMessageText()\"></span>\n</nui-message>\n" }]
|
|
25551
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
25597
|
+
}], ctorParameters: function () { return [{ type: i1$6.Router }]; } });
|
|
25552
25598
|
|
|
25553
25599
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
25554
25600
|
/** @dynamic */
|
|
@@ -25659,14 +25705,14 @@ class ThemeSwitchService {
|
|
|
25659
25705
|
});
|
|
25660
25706
|
}
|
|
25661
25707
|
}
|
|
25662
|
-
ThemeSwitchService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ThemeSwitchService, deps: [{ token: i0.RendererFactory2 }, { token: i1$
|
|
25708
|
+
ThemeSwitchService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ThemeSwitchService, deps: [{ token: i0.RendererFactory2 }, { token: i1$6.Router }, { token: i1$6.ActivatedRoute }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
25663
25709
|
ThemeSwitchService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ThemeSwitchService, providedIn: "root" });
|
|
25664
25710
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ThemeSwitchService, decorators: [{
|
|
25665
25711
|
type: Injectable,
|
|
25666
25712
|
args: [{
|
|
25667
25713
|
providedIn: "root",
|
|
25668
25714
|
}]
|
|
25669
|
-
}], ctorParameters: function () { return [{ type: i0.RendererFactory2 }, { type: i1$
|
|
25715
|
+
}], ctorParameters: function () { return [{ type: i0.RendererFactory2 }, { type: i1$6.Router }, { type: i1$6.ActivatedRoute }, { type: Document, decorators: [{
|
|
25670
25716
|
type: Inject,
|
|
25671
25717
|
args: [DOCUMENT]
|
|
25672
25718
|
}] }]; } });
|
|
@@ -25772,6 +25818,36 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
25772
25818
|
|
|
25773
25819
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
25774
25820
|
|
|
25821
|
+
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
25822
|
+
//
|
|
25823
|
+
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
25824
|
+
// of this software and associated documentation files (the "Software"), to
|
|
25825
|
+
// deal in the Software without restriction, including without limitation the
|
|
25826
|
+
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
25827
|
+
// sell copies of the Software, and to permit persons to whom the Software is
|
|
25828
|
+
// furnished to do so, subject to the following conditions:
|
|
25829
|
+
//
|
|
25830
|
+
// The above copyright notice and this permission notice shall be included in
|
|
25831
|
+
// all copies or substantial portions of the Software.
|
|
25832
|
+
//
|
|
25833
|
+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
25834
|
+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
25835
|
+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
25836
|
+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
25837
|
+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
25838
|
+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
25839
|
+
// THE SOFTWARE.
|
|
25840
|
+
const scrollConstants = {
|
|
25841
|
+
verticalScrollPercentage: 30,
|
|
25842
|
+
horizontalScrollPercentage: 30,
|
|
25843
|
+
checkIntervalInMs: 30,
|
|
25844
|
+
accelerationFactor: 0.5,
|
|
25845
|
+
dragOverThrottleInMs: 100,
|
|
25846
|
+
adornerUpdateThrottleInMs: 16,
|
|
25847
|
+
};
|
|
25848
|
+
|
|
25849
|
+
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
25850
|
+
|
|
25775
25851
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
25776
25852
|
|
|
25777
25853
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
@@ -25866,6 +25942,7 @@ function traverse(obj, fn, path = []) {
|
|
|
25866
25942
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
25867
25943
|
|
|
25868
25944
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
25945
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
25869
25946
|
class DataSourceService extends DataSource {
|
|
25870
25947
|
constructor() {
|
|
25871
25948
|
super(); // in future dataSource in cdk may have some constructor.
|
|
@@ -26657,5 +26734,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
26657
26734
|
* Generated bundle index. Do not edit.
|
|
26658
26735
|
*/
|
|
26659
26736
|
|
|
26660
|
-
export { ANNOUNCER_CLOSE_MESSAGE, ANNOUNCER_OPEN_MESSAGE_SUFFIX, OverlayArrowComponent as ArrowComponent, BaseSelect, BreadcrumbComponent, BreadcrumbStateService, BusyComponent, ButtonComponent, ButtonIcon, ButtonSizeType, CardComponent, CardGroupComponent, CheckboxChangeEvent, CheckboxComponent, CheckboxGroupComponent, CheckboxStatus, ChipComponent, ChipsComponent, ChipsOverflowComponent, ClickInterceptorDirective, ClientSideDataSource, ClipboardDirective, ComboboxComponent, ComboboxV2Component, ComboboxV2OptionHighlightDirective, ConfirmationDialogComponent, ContentComponent, CopyTextComponent, CustomValidationMessageComponent, DEFAULT_INTERACTIVE_ELEMENTS, DEFAULT_TABLE_HEADER_OFFSET, DEMO_PATH_TOKEN, DataFilterService, DataSourceFeatures, DataSourceService, DatePickerComponent, DateTimePickerComponent, DialogBackdropComponent, DialogComponent, DialogFooterComponent, DialogHeaderComponent, DialogService, DialogStackService, DividerComponent, DndDropTargetDirective, DomUtilService, DragAndDropService, DraggableDirective, DroppableDirective, EdgeDetectionService, ErrorStateMatcher, EventBus, EventBusService, EventDefinition, EventPropagationService, ExampleCodeComponent, ExampleWrapperComponent, ExpanderComponent, FIXED_WIDTH_CLASS, FormFieldComponent, HighlightPipe, HistoryStorage, IEvent, IconCategory, IconCategoryNamespace, IconComponent, IconService, IconSeverity, IconState, IconStatus, IconWidget, ImageComponent, KEYBOARD_CODE, KEY_CODE, LayoutResizerComponent, LimitToPipe, ListService, LocalFilteringDataSource, LogLevel, LoggerService, MarkAsSelectedItemDirective, MenuActionComponent, MenuActionType, MenuComponent, MenuGroupComponent, MenuItemBaseComponent, MenuItemComponent, MenuKeyControlService, MenuLinkComponent, MenuOptionComponent, MenuPopupComponent, MenuSwitchComponent, MessageComponent, NUI_ENV_PROVIDER, NUI_ENV_PROVIDER_FACTORY, NUI_SELECT_V2_OPTION_PARENT_COMPONENT, NoopDataSourceService, NotificationService, NuiActiveDialog, NuiBreadcrumbModule, NuiBusyModule, NuiButtonModule, NuiCheckboxModule, NuiChipsModule, NuiCommonModule, NuiContentModule, NuiDatePickerModule, NuiDateTimePickerModule, NuiDialogEvent, NuiDialogModule, NuiDialogRef, NuiDividerModule, NuiDndModule, NuiDocsModule, NuiEnvironment, NuiExpanderModule, NuiFormFieldControl, NuiFormFieldModule, NuiIconModule, NuiImageModule, NuiLayoutModule, NuiMenuModule, NuiMessageModule, NuiOverlayAdditionsModule, NuiOverlayModule, NuiPaginatorModule, NuiPanelModule, NuiPopoverModule, NuiPopupModule, NuiProgressModule, NuiRadioModule, NuiRepeatModule, NuiSearchModule, NuiSelectModule, NuiSelectV2Module, NuiSelectorModule, NuiSorterModule, NuiSpinnerModule, NuiSwitchModule, NuiTableModule, NuiTabsModule, NuiTextboxModule, NuiTimeFrameBarModule, NuiTimeFramePickerModule, NuiTimePickerModule, NuiToastModule, NuiToolbarModule, NuiTooltipModule, NuiValidationMessageModule, NuiValidators, NuiWizardModule, NuiWizardV2Module, OVERLAY_ARROW_SIZE, OVERLAY_CONTAINER, OVERLAY_CONTAINER_CLASS, OVERLAY_DEFAULT_PRIORITY, OVERLAY_ITEM, OVERLAY_PANEL_CLASS, OVERLAY_WITH_POPUP_STYLES_CLASS, OverlayComponent, OverlayContainerService, OverlayCustomContainer, OverlayItemComponent, OverlayPlacement, OverlayPosition, OverlayPositionService, OverlayService, OverlayUtilitiesService, POPUP_V2_VIEWPORT_MARGINS_DEFAULT, PaddingOptions, PaginatorComponent, PanelBackgroundColor, PanelComponent, PanelModes, PanelStates, PopoverComponent, PopoverModalComponent, PopoverOverlayPosition, PopupComponent, PopupDeprecatedComponent, PopupToggleDirective, PositionService, ProgressComponent, QuickPickerComponent, RESIZE_DEBOUNCE_TIME, RadioComponent, RadioGroupComponent, RepeatComponent, RepeatItemComponent, RepeatSelectionMode, ResizeDirection, ResizeDirective, ResizeObserverDirective, ResizeUnit, ResizerDirective, SearchComponent, SearchService, SelectComponent, SelectV2Component, SelectV2OptionComponent, SelectV2OptionGroupComponent, SelectionModel, SelectionType, SelectorComponent, SelectorService, ServerSideDataSource, SetFocusDirective, SheetComponent, SheetGroupComponent, SizeParameters, SliceRangePipe, SorterComponent, SorterDirection, SpinnerComponent, SpinnerSize, SrlcIndicatorComponent, SrlcStage, SwitchComponent, TABLE_ROW_HEIGHT, TabComponent, TabGroupComponent, TabHeadingComponent, TabHeadingCustomTemplateRefDirective, TabHeadingDirective, TabHeadingGroupComponent, TableCellDefDirective, TableCellDirective, TableColumnDefDirective, TableComponent, TableFooterCellDefDirective, TableFooterCellDirective, TableFooterRowComponent, TableFooterRowDefDirective, TableHeaderCellComponent, TableHeaderCellDefDirective, TableHeaderRowComponent, TableHeaderRowDefDirective, TableResizerDirective, TableRowComponent, TableRowDefDirective, TableStateHandlerService, TableStickyHeaderDirective, TableVirtualScrollDirective, TableVirtualScrollHeaderPosition, TableVirtualScrollLinearDirective, TextboxComponent, TextboxNumberComponent, ThemeSwitchService, ThemeSwitcherComponent, TimeFrameBarComponent, TimeFrameFormatPipe, TimeFramePickerComponent, TimePickerComponent, TimeframeService, ToastComponent, ToastContainerService, ToastDirective, ToastService, ToolbarComponent, ToolbarGroupComponent, ToolbarItemComponent, ToolbarItemDisplayStyle, ToolbarItemType, ToolbarMessageComponent, ToolbarSplitterComponent, TooltipComponent, TooltipDirective, TransientCacheService, UnitBase, UnitConversionPipe, UnitConversionService, UtilService, ValidationMessageComponent, VirtualViewportManager, WIZARD_CONFIG, WIZARD_CONFIG_DEFAULT, WIZARD_STEP_STATE_DEFAULT_CONFIG, WizardComponent, WizardDirective, WizardFooterComponent, WizardHorizontalComponent, WizardStepComponent, WizardStepFooterDirective, WizardStepHeaderComponent, WizardStepLabelDirective, WizardStepV2Component, WizardStepperNextDirective, WizardStepperPreviousDirective, WizardVerticalComponent, ZoomContentDirective, complexScrollStrategyFactory, datePickerDateFormats, datePickerDefaults, defaultFilters, expand, getOverlayPositions, imagesPresetToken, immutableSet, nameof, removeErrors, resizeDirectionHelpers, scrollConstants
|
|
26737
|
+
export { ANNOUNCER_CLOSE_MESSAGE, ANNOUNCER_OPEN_MESSAGE_SUFFIX, OverlayArrowComponent as ArrowComponent, BaseSelect, BreadcrumbComponent, BreadcrumbStateService, BusyComponent, ButtonComponent, ButtonIcon, ButtonSizeType, CHECKBOX_KEYDOWN_EVENT, CLOSE_POPOVER_EVENT, COMPLETE_RESIZE_EVENT, CardComponent, CardGroupComponent, CheckboxChangeEvent, CheckboxComponent, CheckboxGroupComponent, CheckboxStatus, ChipComponent, ChipsComponent, ChipsOverflowComponent, ClickInterceptorDirective, ClientSideDataSource, ClipboardDirective, ComboboxComponent, ComboboxV2Component, ComboboxV2OptionHighlightDirective, ConfirmationDialogComponent, ContentComponent, CopyTextComponent, CustomValidationMessageComponent, DEFAULT_INTERACTIVE_ELEMENTS, DEFAULT_TABLE_HEADER_OFFSET, DEMO_PATH_TOKEN, DOCUMENT_CLICK_EVENT, DataFilterService, DataSourceFeatures, DataSourceService, DatePickerComponent, DateTimePickerComponent, DialogBackdropComponent, DialogComponent, DialogFooterComponent, DialogHeaderComponent, DialogService, DialogStackService, DividerComponent, DndDropTargetDirective, DomUtilService, DragAndDropService, DraggableComponent, DraggableDirective, DroppableComponent, DroppableDirective, EdgeDetectionService, ErrorStateMatcher, EventBus, EventBusService, EventDefinition, EventPropagationService, ExampleCodeComponent, ExampleWrapperComponent, ExpanderComponent, FIXED_WIDTH_CLASS, FormFieldComponent, HighlightPipe, HistoryStorage, IEvent, IconCategory, IconCategoryNamespace, IconComponent, IconService, IconSeverity, IconState, IconStatus, IconWidget, ImageComponent, KEYBOARD_CODE, KEY_CODE, LayoutResizerComponent, LimitToPipe, ListService, LocalFilteringDataSource, LogLevel, LoggerService, MarkAsSelectedItemDirective, MenuActionComponent, MenuActionType, MenuComponent, MenuGroupComponent, MenuItemBaseComponent, MenuItemComponent, MenuKeyControlService, MenuLinkComponent, MenuOptionComponent, MenuPopupComponent, MenuSwitchComponent, MessageComponent, NUI_ENV_PROVIDER, NUI_ENV_PROVIDER_FACTORY, NUI_SELECT_V2_OPTION_PARENT_COMPONENT, NoopDataSourceService, NotificationService, NuiActiveDialog, NuiBreadcrumbModule, NuiBusyModule, NuiButtonModule, NuiCheckboxModule, NuiChipsModule, NuiCommonModule, NuiContentModule, NuiDatePickerModule, NuiDateTimePickerModule, NuiDialogEvent, NuiDialogModule, NuiDialogRef, NuiDividerModule, NuiDndModule, NuiDocsModule, NuiDragDropModule, NuiEnvironment, NuiExpanderModule, NuiFormFieldControl, NuiFormFieldModule, NuiIconModule, NuiImageModule, NuiLayoutModule, NuiMenuModule, NuiMessageModule, NuiOverlayAdditionsModule, NuiOverlayModule, NuiPaginatorModule, NuiPanelModule, NuiPopoverModule, NuiPopupModule, NuiProgressModule, NuiRadioModule, NuiRepeatModule, NuiSearchModule, NuiSelectModule, NuiSelectV2Module, NuiSelectorModule, NuiSorterModule, NuiSpinnerModule, NuiSwitchModule, NuiTableModule, NuiTabsModule, NuiTextboxModule, NuiTimeFrameBarModule, NuiTimeFramePickerModule, NuiTimePickerModule, NuiToastModule, NuiToolbarModule, NuiTooltipModule, NuiValidationMessageModule, NuiValidators, NuiWizardModule, NuiWizardV2Module, OVERLAY_ARROW_SIZE, OVERLAY_CONTAINER, OVERLAY_CONTAINER_CLASS, OVERLAY_DEFAULT_PRIORITY, OVERLAY_ITEM, OVERLAY_PANEL_CLASS, OVERLAY_WITH_POPUP_STYLES_CLASS, OverlayComponent, OverlayContainerService, OverlayCustomContainer, OverlayItemComponent, OverlayPlacement, OverlayPosition, OverlayPositionService, OverlayService, OverlayUtilitiesService, POPOVER_CLOSED_EVENT, POPUP_V2_VIEWPORT_MARGINS_DEFAULT, PaddingOptions, PaginatorComponent, PanelBackgroundColor, PanelComponent, PanelModes, PanelStates, PopoverComponent, PopoverModalComponent, PopoverOverlayPosition, PopupComponent, PopupDeprecatedComponent, PopupToggleDirective, PositionService, ProgressComponent, QuickPickerComponent, RESIZE_DEBOUNCE_TIME, RadioComponent, RadioGroupComponent, RepeatComponent, RepeatItemComponent, RepeatSelectionMode, ResizeDirection, ResizeDirective, ResizeObserverDirective, ResizeUnit, ResizerDirective, SearchComponent, SearchService, SelectComponent, SelectV2Component, SelectV2OptionComponent, SelectV2OptionGroupComponent, SelectionModel, SelectionType, SelectorComponent, SelectorService, ServerSideDataSource, SetFocusDirective, SheetComponent, SheetGroupComponent, SizeParameters, SliceRangePipe, SorterComponent, SorterDirection, SpinnerComponent, SpinnerSize, SrlcIndicatorComponent, SrlcStage, SwitchComponent, TABLE_ROW_HEIGHT, TabComponent, TabGroupComponent, TabHeadingComponent, TabHeadingCustomTemplateRefDirective, TabHeadingDirective, TabHeadingGroupComponent, TableCellDefDirective, TableCellDirective, TableColumnDefDirective, TableComponent, TableFooterCellDefDirective, TableFooterCellDirective, TableFooterRowComponent, TableFooterRowDefDirective, TableHeaderCellComponent, TableHeaderCellDefDirective, TableHeaderRowComponent, TableHeaderRowDefDirective, TableResizerDirective, TableRowComponent, TableRowDefDirective, TableStateHandlerService, TableStickyHeaderDirective, TableVirtualScrollDirective, TableVirtualScrollHeaderPosition, TableVirtualScrollLinearDirective, TextboxComponent, TextboxNumberComponent, ThemeSwitchService, ThemeSwitcherComponent, TimeFrameBarComponent, TimeFrameFormatPipe, TimeFramePickerComponent, TimePickerComponent, TimeframeService, ToastComponent, ToastContainerService, ToastDirective, ToastService, ToolbarComponent, ToolbarGroupComponent, ToolbarItemComponent, ToolbarItemDisplayStyle, ToolbarItemType, ToolbarMessageComponent, ToolbarSplitterComponent, TooltipComponent, TooltipDirective, TransientCacheService, UnitBase, UnitConversionPipe, UnitConversionService, UtilService, ValidationMessageComponent, VirtualViewportManager, WIZARD_CONFIG, WIZARD_CONFIG_DEFAULT, WIZARD_STEP_STATE_DEFAULT_CONFIG, WizardComponent, WizardDirective, WizardFooterComponent, WizardHorizontalComponent, WizardStepComponent, WizardStepFooterDirective, WizardStepHeaderComponent, WizardStepLabelDirective, WizardStepV2Component, WizardStepperNextDirective, WizardStepperPreviousDirective, WizardVerticalComponent, ZoomContentDirective, buttonConstants, complexScrollStrategyFactory, datePickerDateFormats, datePickerDefaults, defaultFilters, expand, getOverlayPositions, imagesPresetToken, immutableSet, nameof, popoverConstants, regexpValidation, removeErrors, resizeDirectionHelpers, scrollConstants, traverse, unitConversionConstants, unitConversionToken, uuid };
|
|
26661
26738
|
//# sourceMappingURL=nova-ui-bits.mjs.map
|