@nova-ui/bits 12.0.14-3719 → 12.0.14-3724
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/nova-ui-bits.umd.js +105 -114
- package/bundles/nova-ui-bits.umd.js.map +1 -1
- package/esm2015/animations/expand.js +3 -7
- package/esm2015/common/common.module.js +2 -2
- package/esm2015/common/directives/dragdrop/draggable.directive.js +1 -1
- package/esm2015/common/directives/resizer/resizer.directive.js +1 -1
- package/esm2015/constants/wizard.constants.js +1 -1
- package/esm2015/lib/breadcrumb/breadcrumb.module.js +1 -1
- package/esm2015/lib/busy/busy.module.js +1 -1
- package/esm2015/lib/button/button.component.js +1 -1
- package/esm2015/lib/button/button.module.js +1 -1
- package/esm2015/lib/checkbox/checkbox-group.component.js +1 -1
- package/esm2015/lib/checkbox/checkbox.component.js +1 -1
- package/esm2015/lib/checkbox/checkbox.module.js +1 -1
- package/esm2015/lib/chips/chips.module.js +1 -1
- package/esm2015/lib/content/content.module.js +1 -1
- package/esm2015/lib/convenience/time-frame-bar/time-frame-bar.module.js +1 -1
- package/esm2015/lib/date-picker/date-picker.component.js +1 -1
- package/esm2015/lib/date-picker/date-picker.module.js +1 -1
- package/esm2015/lib/date-time-picker/date-time-picker.module.js +1 -1
- package/esm2015/lib/dialog/dialog-ref.js +1 -1
- package/esm2015/lib/dialog/dialog-stack.service.js +1 -1
- package/esm2015/lib/dialog/dialog.module.js +1 -1
- package/esm2015/lib/divider/divider.module.js +1 -1
- package/esm2015/lib/dnd/dnd.module.js +1 -1
- package/esm2015/lib/docs/docs.module.js +1 -1
- package/esm2015/lib/docs/example-code/example-code.component.js +1 -1
- package/esm2015/lib/docs/example-wrapper/example-wrapper.component.js +5 -5
- package/esm2015/lib/expander/expander.component.js +1 -1
- package/esm2015/lib/expander/expander.module.js +1 -1
- package/esm2015/lib/form-field/form-field.component.js +1 -1
- package/esm2015/lib/form-field/form-field.module.js +1 -1
- package/esm2015/lib/icon/icon.module.js +1 -1
- package/esm2015/lib/image/image.component.js +1 -1
- package/esm2015/lib/image/image.module.js +1 -1
- package/esm2015/lib/layout/layout.module.js +1 -1
- package/esm2015/lib/menu/menu-item/menu-item/menu-item.component.js +1 -1
- package/esm2015/lib/menu/menu-key-control.service.js +2 -4
- package/esm2015/lib/menu/menu.module.js +1 -1
- package/esm2015/lib/message/message.module.js +1 -1
- package/esm2015/lib/paginator/paginator.component.js +1 -1
- package/esm2015/lib/paginator/paginator.module.js +1 -1
- package/esm2015/lib/panel/panel.module.js +1 -1
- package/esm2015/lib/popover/popover-modal.component.js +1 -1
- package/esm2015/lib/popover/popover-modal.service.js +1 -1
- package/esm2015/lib/popover/popover-position.service.js +1 -1
- package/esm2015/lib/popover/popover.component.js +1 -1
- package/esm2015/lib/popover/popover.module.js +1 -1
- package/esm2015/lib/popup/popup.component.js +1 -1
- package/esm2015/lib/popup/popup.module.js +1 -1
- package/esm2015/lib/popup-adapter/popup-adapter.module.js +1 -1
- package/esm2015/lib/progress/progress.module.js +1 -1
- package/esm2015/lib/radio/radio.module.js +1 -1
- package/esm2015/lib/repeat/repeat.component.js +1 -1
- package/esm2015/lib/repeat/repeat.module.js +1 -1
- package/esm2015/lib/search/search.module.js +1 -1
- package/esm2015/lib/select/base-select.js +1 -1
- package/esm2015/lib/select/select.component.js +1 -1
- package/esm2015/lib/select/select.module.js +1 -1
- package/esm2015/lib/select-v2/base-select-v2.js +4 -4
- package/esm2015/lib/select-v2/combobox-v2/combobox-v2.component.js +2 -2
- package/esm2015/lib/select-v2/option-key-control.service.js +2 -2
- package/esm2015/lib/select-v2/select/select-v2.component.js +2 -2
- package/esm2015/lib/select-v2/select-v2.module.js +1 -1
- package/esm2015/lib/selector/selector.component.js +1 -1
- package/esm2015/lib/selector/selector.module.js +1 -1
- package/esm2015/lib/selector/selector.service.js +1 -1
- package/esm2015/lib/sorter/sorter-keyboard.service.js +2 -2
- package/esm2015/lib/sorter/sorter.component.js +2 -2
- package/esm2015/lib/sorter/sorter.module.js +1 -1
- package/esm2015/lib/spinner/spinner.component.js +1 -1
- package/esm2015/lib/spinner/spinner.module.js +1 -1
- package/esm2015/lib/switch/switch.module.js +1 -1
- package/esm2015/lib/tabgroup/tabs.module.js +1 -1
- package/esm2015/lib/table/table-cell/table-cell.directive.js +1 -1
- package/esm2015/lib/table/table-cell/table-column-def.directive.js +1 -1
- package/esm2015/lib/table/table-cell/table-header-cell.component.js +1 -1
- package/esm2015/lib/table/table-row/table-row.component.js +1 -1
- package/esm2015/lib/table/table-state-handler.service.js +1 -1
- package/esm2015/lib/table/table-virtual-scroll/table-sticky-header.directive.js +1 -1
- package/esm2015/lib/table/table-virtual-scroll/table-virtual-scroll.directive.js +1 -1
- package/esm2015/lib/table/table.component.js +1 -1
- package/esm2015/lib/table/table.module.js +1 -1
- package/esm2015/lib/textbox/textbox-number/textbox-number.component.js +2 -2
- package/esm2015/lib/textbox/textbox.module.js +1 -1
- package/esm2015/lib/time-frame-picker/time-frame-picker.module.js +1 -1
- package/esm2015/lib/time-picker/time-picker-keyboard.service.js +3 -5
- package/esm2015/lib/time-picker/time-picker.component.js +2 -2
- package/esm2015/lib/time-picker/time-picker.module.js +1 -1
- package/esm2015/lib/toast/toast-container.service.js +1 -1
- package/esm2015/lib/toast/toast.module.js +1 -1
- package/esm2015/lib/toast/toast.service.js +1 -1
- package/esm2015/lib/toolbar/toolbar-keyboard.service.js +1 -1
- package/esm2015/lib/toolbar/toolbar.component.js +1 -1
- package/esm2015/lib/toolbar/toolbar.module.js +1 -1
- package/esm2015/lib/tooltip/tooltip.directive.js +1 -1
- package/esm2015/lib/tooltip/tooltip.module.js +1 -1
- package/esm2015/lib/validation-message/validation-message.module.js +1 -1
- package/esm2015/lib/wizard/wizard-step.component.js +1 -1
- package/esm2015/lib/wizard/wizard.component.js +1 -1
- package/esm2015/lib/wizard/wizard.module.js +1 -1
- package/esm2015/lib/wizard-v2/wizard-step/wizard-step.component.js +3 -3
- package/esm2015/lib/wizard-v2/wizard-step-header/wizard-step-header.component.js +3 -3
- package/esm2015/lib/wizard-v2/wizard.directive.js +3 -3
- package/esm2015/lib/wizard-v2/wizard.module.js +3 -3
- package/esm2015/services/data-source/client-side-data-source.service.js +1 -1
- package/esm2015/services/data-source/local-filtering-data-source.service.js +1 -1
- package/esm2015/services/dom-util.service.js +5 -6
- package/esm2015/services/event-bus.service.js +1 -1
- package/esm2015/services/list.service.js +1 -1
- package/esm2015/services/position.service.js +1 -1
- package/esm2015/services/unit-conversion.service.js +1 -1
- package/fesm2015/nova-ui-bits.js +98 -107
- package/fesm2015/nova-ui-bits.js.map +1 -1
- package/lib/select-v2/base-select-v2.d.ts +2 -2
- package/lib/select-v2/combobox-v2/combobox-v2.component.d.ts +1 -1
- package/lib/select-v2/select/select-v2.component.d.ts +1 -1
- package/lib/sorter/sorter-keyboard.service.d.ts +1 -1
- package/lib/sorter/sorter.component.d.ts +1 -1
- package/lib/table/table-cell/table-column-def.directive.d.ts +1 -1
- package/lib/table/table-cell/table-header-cell.component.d.ts +1 -1
- package/lib/table/table-row/table-row.component.d.ts +1 -1
- package/lib/time-picker/time-picker.component.d.ts +1 -1
- package/lib/wizard-v2/wizard-step/wizard-step.component.d.ts +1 -1
- package/lib/wizard-v2/wizard-step-header/wizard-step-header.component.d.ts +1 -1
- package/lib/wizard-v2/wizard.directive.d.ts +5 -5
- package/nova-ui-bits.metadata.json +1 -1
- package/package.json +1 -1
- package/sdk/atoms/components/combobox/combobox.atom.js +3 -3
- package/sdk/atoms/components/combobox/combobox.atom.js.map +1 -1
- package/sdk/atoms/components/content/content.atom.js +6 -4
- package/sdk/atoms/components/content/content.atom.js.map +1 -1
- package/sdk/atoms/components/drag-and-drop/cdk-drop-list.atom.js.map +1 -1
- package/sdk/atoms/components/menu/menu.atom.js.map +1 -1
- package/sdk/atoms/components/popup/popup.atom.js.map +1 -1
- package/sdk/atoms/components/select/basic-select.atom.js +1 -1
- package/sdk/atoms/components/select/basic-select.atom.js.map +1 -1
- package/sdk/atoms/components/select-v2/base-select-v2.atom.js.map +1 -1
- package/sdk/atoms/components/selector/selector.atom.js.map +1 -1
- package/sdk/atoms/components/selector/selector.e2e.js.map +1 -1
- package/sdk/atoms/components/sorter/sorter.atom.js +1 -1
- package/sdk/atoms/components/sorter/sorter.atom.js.map +1 -1
- package/sdk/atoms/components/tab-heading-group/tab-heading-group.atom.js.map +1 -1
- package/sdk/atoms/components/wizard/wizard.atom.js +4 -4
- package/sdk/atoms/components/wizard/wizard.atom.js.map +1 -1
- package/sdk/atoms/directives/toast/toast.atom.js +1 -1
- package/sdk/atoms/directives/toast/toast.atom.js.map +1 -1
- package/sdk/atoms/helpers.js.map +1 -1
- package/sdk/atoms/virtual-camera/Camera.js.map +1 -1
- package/sdk/atoms/virtual-camera/camera-engine.js +1 -4
- package/sdk/atoms/virtual-camera/camera-engine.js.map +1 -1
- package/sdk/atoms/virtual-camera/eyes-lens.js.map +1 -1
- package/sdk/atoms/virtual-camera/percy-lens.js.map +1 -1
- package/sdk/locale/messages.en.xlf +16 -16
package/fesm2015/nova-ui-bits.js
CHANGED
|
@@ -9,11 +9,11 @@ import isUndefined from 'lodash/isUndefined';
|
|
|
9
9
|
import _reject from 'lodash/reject';
|
|
10
10
|
import _unionWith from 'lodash/unionWith';
|
|
11
11
|
import noop from 'lodash/noop';
|
|
12
|
-
import take from 'lodash/take';
|
|
13
12
|
import escape from 'lodash/escape';
|
|
14
13
|
import escapeRegExp from 'lodash/escapeRegExp';
|
|
15
14
|
import _isEmpty from 'lodash/isEmpty';
|
|
16
15
|
import isString from 'lodash/isString';
|
|
16
|
+
import take from 'lodash/take';
|
|
17
17
|
import _capitalize from 'lodash/capitalize';
|
|
18
18
|
import _get from 'lodash/get';
|
|
19
19
|
import _isNil from 'lodash/isNil';
|
|
@@ -54,9 +54,9 @@ import { Platform } from '@angular/cdk/platform';
|
|
|
54
54
|
import isNull from 'lodash/isNull';
|
|
55
55
|
import { AriaDescriber, FocusMonitor, A11yModule, ActiveDescendantKeyManager, LiveAnnouncer, ListKeyManager } from '@angular/cdk/a11y';
|
|
56
56
|
import { coerceBooleanProperty } from '@angular/cdk/coercion';
|
|
57
|
+
import { CdkVirtualScrollViewport, VIRTUAL_SCROLL_STRATEGY, ViewportRuler, CdkVirtualForOf, ScrollingModule, CdkScrollable, ScrollDispatcher as ScrollDispatcher$1 } from '@angular/cdk/scrolling';
|
|
57
58
|
import last from 'lodash/last';
|
|
58
59
|
import pull from 'lodash/pull';
|
|
59
|
-
import { CdkVirtualScrollViewport, VIRTUAL_SCROLL_STRATEGY, ViewportRuler, CdkVirtualForOf, ScrollingModule, CdkScrollable, ScrollDispatcher as ScrollDispatcher$1 } from '@angular/cdk/scrolling';
|
|
60
60
|
import every from 'lodash/every';
|
|
61
61
|
import { CdkDropList, CdkDrag, moveItemInArray, transferArrayItem, DragDrop, DragDropModule } from '@angular/cdk/drag-drop';
|
|
62
62
|
import { Directionality } from '@angular/cdk/bidi';
|
|
@@ -87,10 +87,10 @@ import _toInteger from 'lodash/toInteger';
|
|
|
87
87
|
import _findIndex from 'lodash/findIndex';
|
|
88
88
|
import * as hljs from 'highlight.js/lib/core';
|
|
89
89
|
import javascript from 'highlight.js/lib/languages/javascript';
|
|
90
|
-
import less from 'highlight.js/lib/languages/less';
|
|
91
90
|
import json from 'highlight.js/lib/languages/json';
|
|
92
|
-
import
|
|
91
|
+
import less from 'highlight.js/lib/languages/less';
|
|
93
92
|
import typescript from 'highlight.js/lib/languages/typescript';
|
|
93
|
+
import xml from 'highlight.js/lib/languages/xml';
|
|
94
94
|
import setWith from 'lodash/setWith';
|
|
95
95
|
import _omit from 'lodash/omit';
|
|
96
96
|
import _intersection from 'lodash/intersection';
|
|
@@ -694,6 +694,68 @@ SelectorService.ctorParameters = () => [
|
|
|
694
694
|
{ type: LoggerService, decorators: [{ type: Optional }] }
|
|
695
695
|
];
|
|
696
696
|
|
|
697
|
+
/**
|
|
698
|
+
* <example-url>./../examples/index.html#/pipes/highlight</example-url>
|
|
699
|
+
*
|
|
700
|
+
* The nuiHighlight pipe is used to mark a portion of text. It will search the provided text for the specified string and highlight it. Returns HTML.
|
|
701
|
+
* Can only be used with `innerHTML` directive. Escapes all the characters by default and highlights every match in the string.
|
|
702
|
+
*
|
|
703
|
+
* __Parameters :__
|
|
704
|
+
*
|
|
705
|
+
* text - The source text.
|
|
706
|
+
*
|
|
707
|
+
* search - The search term to be highlighted.
|
|
708
|
+
*
|
|
709
|
+
* __Usage :__
|
|
710
|
+
* "text" | nuiHighlight : "search"
|
|
711
|
+
*
|
|
712
|
+
* __Examples :__
|
|
713
|
+
*
|
|
714
|
+
* <code>{{ "hello world" | nuiHighlight:"world" }}</code>
|
|
715
|
+
*
|
|
716
|
+
* formats to: <code>hello <span class="nui-highlighted">world</span></code>
|
|
717
|
+
*
|
|
718
|
+
*
|
|
719
|
+
* <code>{{ "hello <span class="x">FOO</span> bar" | nuiHighlight:"bar" }}</code>
|
|
720
|
+
*
|
|
721
|
+
* formats to: <code>hello <span class="x">FOO</span><span class="nui-highlighted">bar</span>;</code>
|
|
722
|
+
*/
|
|
723
|
+
class HighlightPipe {
|
|
724
|
+
constructor() {
|
|
725
|
+
this.deduplicateStarsRegex = new RegExp("(\\\\\\*)+", "gi");
|
|
726
|
+
this.getHighlightRegex = (text) => {
|
|
727
|
+
const escaped = escapeRegExp(text);
|
|
728
|
+
return escaped.replace(this.deduplicateStarsRegex, () => ".*");
|
|
729
|
+
};
|
|
730
|
+
}
|
|
731
|
+
transform(text, search) {
|
|
732
|
+
if (!isString(search) || _isEmpty(search)) {
|
|
733
|
+
return this.escapeItem(text);
|
|
734
|
+
}
|
|
735
|
+
const regex = new RegExp("(" + this.getHighlightRegex(search) + ")", "i");
|
|
736
|
+
const matchRes = Array.from(text.split(regex));
|
|
737
|
+
let result = "";
|
|
738
|
+
for (let i = 0; i < matchRes.length; i++) {
|
|
739
|
+
const isMatch = i % 2 !== 0;
|
|
740
|
+
if (isMatch) {
|
|
741
|
+
result += `<span class="nui-highlighted">${this.escapeItem(matchRes[i])}</span>`;
|
|
742
|
+
}
|
|
743
|
+
else {
|
|
744
|
+
result += this.escapeItem(matchRes[i]);
|
|
745
|
+
}
|
|
746
|
+
}
|
|
747
|
+
return result;
|
|
748
|
+
}
|
|
749
|
+
escapeItem(item) {
|
|
750
|
+
return escape(item);
|
|
751
|
+
}
|
|
752
|
+
}
|
|
753
|
+
HighlightPipe.decorators = [
|
|
754
|
+
{ type: Pipe, args: [{
|
|
755
|
+
name: "nuiHighlight",
|
|
756
|
+
},] }
|
|
757
|
+
];
|
|
758
|
+
|
|
697
759
|
/**
|
|
698
760
|
* Filter used for limiting amount of items in array
|
|
699
761
|
*
|
|
@@ -990,68 +1052,6 @@ UnitConversionPipe.ctorParameters = () => [
|
|
|
990
1052
|
{ type: UnitConversionService }
|
|
991
1053
|
];
|
|
992
1054
|
|
|
993
|
-
/**
|
|
994
|
-
* <example-url>./../examples/index.html#/pipes/highlight</example-url>
|
|
995
|
-
*
|
|
996
|
-
* The nuiHighlight pipe is used to mark a portion of text. It will search the provided text for the specified string and highlight it. Returns HTML.
|
|
997
|
-
* Can only be used with `innerHTML` directive. Escapes all the characters by default and highlights every match in the string.
|
|
998
|
-
*
|
|
999
|
-
* __Parameters :__
|
|
1000
|
-
*
|
|
1001
|
-
* text - The source text.
|
|
1002
|
-
*
|
|
1003
|
-
* search - The search term to be highlighted.
|
|
1004
|
-
*
|
|
1005
|
-
* __Usage :__
|
|
1006
|
-
* "text" | nuiHighlight : "search"
|
|
1007
|
-
*
|
|
1008
|
-
* __Examples :__
|
|
1009
|
-
*
|
|
1010
|
-
* <code>{{ "hello world" | nuiHighlight:"world" }}</code>
|
|
1011
|
-
*
|
|
1012
|
-
* formats to: <code>hello <span class="nui-highlighted">world</span></code>
|
|
1013
|
-
*
|
|
1014
|
-
*
|
|
1015
|
-
* <code>{{ "hello <span class="x">FOO</span> bar" | nuiHighlight:"bar" }}</code>
|
|
1016
|
-
*
|
|
1017
|
-
* formats to: <code>hello <span class="x">FOO</span><span class="nui-highlighted">bar</span>;</code>
|
|
1018
|
-
*/
|
|
1019
|
-
class HighlightPipe {
|
|
1020
|
-
constructor() {
|
|
1021
|
-
this.deduplicateStarsRegex = new RegExp("(\\\\\\*)+", "gi");
|
|
1022
|
-
this.getHighlightRegex = (text) => {
|
|
1023
|
-
const escaped = escapeRegExp(text);
|
|
1024
|
-
return escaped.replace(this.deduplicateStarsRegex, () => ".*");
|
|
1025
|
-
};
|
|
1026
|
-
}
|
|
1027
|
-
transform(text, search) {
|
|
1028
|
-
if (!isString(search) || _isEmpty(search)) {
|
|
1029
|
-
return this.escapeItem(text);
|
|
1030
|
-
}
|
|
1031
|
-
const regex = new RegExp("(" + this.getHighlightRegex(search) + ")", "i");
|
|
1032
|
-
const matchRes = Array.from(text.split(regex));
|
|
1033
|
-
let result = "";
|
|
1034
|
-
for (let i = 0; i < matchRes.length; i++) {
|
|
1035
|
-
const isMatch = i % 2 !== 0;
|
|
1036
|
-
if (isMatch) {
|
|
1037
|
-
result += `<span class="nui-highlighted">${this.escapeItem(matchRes[i])}</span>`;
|
|
1038
|
-
}
|
|
1039
|
-
else {
|
|
1040
|
-
result += this.escapeItem(matchRes[i]);
|
|
1041
|
-
}
|
|
1042
|
-
}
|
|
1043
|
-
return result;
|
|
1044
|
-
}
|
|
1045
|
-
escapeItem(item) {
|
|
1046
|
-
return escape(item);
|
|
1047
|
-
}
|
|
1048
|
-
}
|
|
1049
|
-
HighlightPipe.decorators = [
|
|
1050
|
-
{ type: Pipe, args: [{
|
|
1051
|
-
name: "nuiHighlight",
|
|
1052
|
-
},] }
|
|
1053
|
-
];
|
|
1054
|
-
|
|
1055
1055
|
// TODO: Refactor class to use strongly typed values
|
|
1056
1056
|
/**
|
|
1057
1057
|
* Service providing DOM utilities
|
|
@@ -1076,13 +1076,12 @@ class DomUtilService {
|
|
|
1076
1076
|
Element.prototype.msMatchesSelector ||
|
|
1077
1077
|
Element.prototype.webkitMatchesSelector ||
|
|
1078
1078
|
function (slctr) {
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
// @ts-ignore: 'this' implicitly has type 'any' because it does not have a type annotation.
|
|
1079
|
+
const matches =
|
|
1080
|
+
// @ts-ignore: 'this' implicitly has type 'any' because it does not have a type annotation
|
|
1082
1081
|
// An outer value of 'this' is shadowed by this container.
|
|
1083
|
-
this.document || this.ownerDocument).querySelectorAll(slctr);
|
|
1082
|
+
(this.document || this.ownerDocument).querySelectorAll(slctr);
|
|
1084
1083
|
let index = matches.length - 1;
|
|
1085
|
-
// @ts-ignore: 'this' implicitly has type 'any' because it does not have a type annotation
|
|
1084
|
+
// @ts-ignore: 'this' implicitly has type 'any' because it does not have a type annotation
|
|
1086
1085
|
// An outer value of 'this' is shadowed by this container.
|
|
1087
1086
|
while (index >= 0 && matches.item(index) !== this) {
|
|
1088
1087
|
--index;
|
|
@@ -11243,6 +11242,30 @@ WizardHorizontalComponent.propDecorators = {
|
|
|
11243
11242
|
overflowComponents: [{ type: ViewChildren, args: ["overflowComponent",] }]
|
|
11244
11243
|
};
|
|
11245
11244
|
|
|
11245
|
+
/** @ignore */
|
|
11246
|
+
class WizardOverflowComponent {
|
|
11247
|
+
constructor(el) {
|
|
11248
|
+
this.el = el;
|
|
11249
|
+
this.tooltipText = $localize ` more steps are available`;
|
|
11250
|
+
this.completed = false;
|
|
11251
|
+
}
|
|
11252
|
+
}
|
|
11253
|
+
WizardOverflowComponent.decorators = [
|
|
11254
|
+
{ type: Component, args: [{
|
|
11255
|
+
selector: "nui-wizard-overflow",
|
|
11256
|
+
template: "<div class=\"nui-wizard-overflow\" [nuiTooltip]=\"'+' + value + tooltipText\" i18n>\n <nui-popover\n trigger=\"focus\"\n tabindex=\"0\"\n placement=\"bottom\"\n [unlimited]=\"true\"\n [template]=\"template\"\n >\n <div class=\"nui-tag\" [class.nui-tag--completed]=\"completed\">\n {{ \"+\" + value }}\n </div>\n </nui-popover>\n</div>\n",
|
|
11257
|
+
styles: [":host{margin-top:auto}:host(.overflow-right) .nui-wizard-overflow:before{border-top-width:2px;border-top-style:solid;border-color:var(--nui-color-line-default,#d9d9d9);bottom:8px;position:absolute;content:\"\";right:35px;width:66px}:host(.overflow-right-completed) .nui-wizard-overflow:before{border-color:var(--nui-color-text-link,#0079aa)}:host(.overflow-left) .nui-wizard-overflow:after{border-top-width:2px;border-top-style:solid;border-color:var(--nui-color-line-default,#d9d9d9);bottom:8px;position:absolute;content:\"\";left:35px;width:66px;border-color:var(--nui-color-text-link,#0079aa)}.nui-wizard-overflow{position:relative}.nui-wizard-overflow .nui-tag{z-index:1;width:35px;justify-content:center;cursor:pointer;border-color:var(--nui-color-line-default,#d9d9d9);color:var(--nui-color-text-link,#0079aa)}.nui-wizard-overflow .nui-tag--completed{border-color:var(--nui-color-text-link,#0079aa);color:var(--nui-color-text-link,#0079aa)}\n"]
|
|
11258
|
+
},] }
|
|
11259
|
+
];
|
|
11260
|
+
WizardOverflowComponent.ctorParameters = () => [
|
|
11261
|
+
{ type: ElementRef }
|
|
11262
|
+
];
|
|
11263
|
+
WizardOverflowComponent.propDecorators = {
|
|
11264
|
+
template: [{ type: Input }],
|
|
11265
|
+
value: [{ type: Input }],
|
|
11266
|
+
completed: [{ type: Input }]
|
|
11267
|
+
};
|
|
11268
|
+
|
|
11246
11269
|
/** ignore should be removed in scope of the NUI-6099 */
|
|
11247
11270
|
/** @ignore */
|
|
11248
11271
|
class WizardVerticalComponent extends WizardDirective {
|
|
@@ -11290,30 +11313,6 @@ WizardVerticalComponent.propDecorators = {
|
|
|
11290
11313
|
selectedIndex: [{ type: Input }]
|
|
11291
11314
|
};
|
|
11292
11315
|
|
|
11293
|
-
/** @ignore */
|
|
11294
|
-
class WizardOverflowComponent {
|
|
11295
|
-
constructor(el) {
|
|
11296
|
-
this.el = el;
|
|
11297
|
-
this.tooltipText = $localize ` more steps are available`;
|
|
11298
|
-
this.completed = false;
|
|
11299
|
-
}
|
|
11300
|
-
}
|
|
11301
|
-
WizardOverflowComponent.decorators = [
|
|
11302
|
-
{ type: Component, args: [{
|
|
11303
|
-
selector: "nui-wizard-overflow",
|
|
11304
|
-
template: "<div class=\"nui-wizard-overflow\" [nuiTooltip]=\"'+' + value + tooltipText\" i18n>\n <nui-popover\n trigger=\"focus\"\n tabindex=\"0\"\n placement=\"bottom\"\n [unlimited]=\"true\"\n [template]=\"template\"\n >\n <div class=\"nui-tag\" [class.nui-tag--completed]=\"completed\">\n {{ \"+\" + value }}\n </div>\n </nui-popover>\n</div>\n",
|
|
11305
|
-
styles: [":host{margin-top:auto}:host(.overflow-right) .nui-wizard-overflow:before{border-top-width:2px;border-top-style:solid;border-color:var(--nui-color-line-default,#d9d9d9);bottom:8px;position:absolute;content:\"\";right:35px;width:66px}:host(.overflow-right-completed) .nui-wizard-overflow:before{border-color:var(--nui-color-text-link,#0079aa)}:host(.overflow-left) .nui-wizard-overflow:after{border-top-width:2px;border-top-style:solid;border-color:var(--nui-color-line-default,#d9d9d9);bottom:8px;position:absolute;content:\"\";left:35px;width:66px;border-color:var(--nui-color-text-link,#0079aa)}.nui-wizard-overflow{position:relative}.nui-wizard-overflow .nui-tag{z-index:1;width:35px;justify-content:center;cursor:pointer;border-color:var(--nui-color-line-default,#d9d9d9);color:var(--nui-color-text-link,#0079aa)}.nui-wizard-overflow .nui-tag--completed{border-color:var(--nui-color-text-link,#0079aa);color:var(--nui-color-text-link,#0079aa)}\n"]
|
|
11306
|
-
},] }
|
|
11307
|
-
];
|
|
11308
|
-
WizardOverflowComponent.ctorParameters = () => [
|
|
11309
|
-
{ type: ElementRef }
|
|
11310
|
-
];
|
|
11311
|
-
WizardOverflowComponent.propDecorators = {
|
|
11312
|
-
template: [{ type: Input }],
|
|
11313
|
-
value: [{ type: Input }],
|
|
11314
|
-
completed: [{ type: Input }]
|
|
11315
|
-
};
|
|
11316
|
-
|
|
11317
11316
|
/**
|
|
11318
11317
|
* @ignore
|
|
11319
11318
|
*/
|
|
@@ -12498,9 +12497,7 @@ class MenuKeyControlService {
|
|
|
12498
12497
|
// This keeps the active item visible within the visible area of the menu popup. In case there are disabled items in the list,
|
|
12499
12498
|
// this scrolls down to the nearest enabled item. Otherwise, the active item will "jump over" the disabled items and remain
|
|
12500
12499
|
// outside of the visible edge of the list.
|
|
12501
|
-
(_c = (_b = (_a = this.keyboardEventsManager.activeItem) === null || _a === void 0 ? void 0 : _a.menuItem) === null || _b === void 0 ? void 0 : _b.nativeElement) === null || _c === void 0 ? void 0 : _c.scrollIntoView({
|
|
12502
|
-
block: "nearest",
|
|
12503
|
-
});
|
|
12500
|
+
(_c = (_b = (_a = this.keyboardEventsManager.activeItem) === null || _a === void 0 ? void 0 : _a.menuItem) === null || _b === void 0 ? void 0 : _b.nativeElement) === null || _c === void 0 ? void 0 : _c.scrollIntoView({ block: "nearest" });
|
|
12504
12501
|
// prevent closing on enter
|
|
12505
12502
|
if (!this.hasActiveItem() && event.code === KEYBOARD_CODE.ENTER) {
|
|
12506
12503
|
event.preventDefault();
|
|
@@ -16726,9 +16723,7 @@ class TimePickerKeyboardService {
|
|
|
16726
16723
|
event.preventDefault();
|
|
16727
16724
|
this.overlay.show();
|
|
16728
16725
|
this.keyboardEventsManager.setActiveItem(this.getSelectedIndex());
|
|
16729
|
-
(_c = (_b = (_a = this.keyboardEventsManager.activeItem) === null || _a === void 0 ? void 0 : _a.menuItem) === null || _b === void 0 ? void 0 : _b.nativeElement) === null || _c === void 0 ? void 0 : _c.scrollIntoView({
|
|
16730
|
-
block: "center",
|
|
16731
|
-
});
|
|
16726
|
+
(_c = (_b = (_a = this.keyboardEventsManager.activeItem) === null || _a === void 0 ? void 0 : _a.menuItem) === null || _b === void 0 ? void 0 : _b.nativeElement) === null || _c === void 0 ? void 0 : _c.scrollIntoView({ block: "center" });
|
|
16732
16727
|
}
|
|
16733
16728
|
}
|
|
16734
16729
|
hideMenu() {
|
|
@@ -17707,17 +17702,13 @@ const expandV2 = trigger("expandContent", [
|
|
|
17707
17702
|
query(":self", [
|
|
17708
17703
|
style({ height: 0 }),
|
|
17709
17704
|
animate("350ms ease-in-out", style({ height: "*" })),
|
|
17710
|
-
], {
|
|
17711
|
-
optional: true,
|
|
17712
|
-
}),
|
|
17705
|
+
], { optional: true }),
|
|
17713
17706
|
query("@*", [
|
|
17714
17707
|
style({ height: 0 }),
|
|
17715
17708
|
stagger(10, [
|
|
17716
17709
|
animate("250ms ease-in-out", style({ height: "*" })),
|
|
17717
17710
|
]),
|
|
17718
|
-
], {
|
|
17719
|
-
optional: true,
|
|
17720
|
-
}),
|
|
17711
|
+
], { optional: true }),
|
|
17721
17712
|
]),
|
|
17722
17713
|
]),
|
|
17723
17714
|
transition(":leave", [
|