novo-elements 6.1.2 → 6.2.1
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/novo-elements.umd.js +3 -3
- package/bundles/novo-elements.umd.js.map +1 -1
- package/bundles/novo-elements.umd.min.js +1 -1
- package/bundles/novo-elements.umd.min.js.map +1 -1
- package/elements/chips/Chips.scss +0 -3
- package/esm2015/src/elements/chips/RowChips.js +1 -2
- package/esm2015/src/elements/dropdown/Dropdown.js +2 -2
- package/esm2015/src/elements/select/Select.js +2 -2
- package/fesm2015/novo-elements.js +2 -3
- package/fesm2015/novo-elements.js.map +1 -1
- package/package.json +1 -1
- package/schematics/package.json +1 -1
|
@@ -26909,7 +26909,7 @@
|
|
|
26909
26909
|
/** Sets up a key manager to listen to keyboard events on the overlay panel. */
|
|
26910
26910
|
NovoDropdownElement.prototype._initKeyManager = function () {
|
|
26911
26911
|
var _this = this;
|
|
26912
|
-
this._keyManager = new a11y.ActiveDescendantKeyManager(this.options).withTypeAhead(
|
|
26912
|
+
this._keyManager = new a11y.ActiveDescendantKeyManager(this.options).withTypeAhead(250).withHomeAndEnd();
|
|
26913
26913
|
// .withAllowedModifierKeys(['shiftKey']);
|
|
26914
26914
|
this._keyManager.tabOut.pipe(operators.takeUntil(this._onDestroy)).subscribe(function () {
|
|
26915
26915
|
if (_this.panelOpen) {
|
|
@@ -33665,7 +33665,7 @@
|
|
|
33665
33665
|
host: {
|
|
33666
33666
|
'[class.with-value]': 'items.length > 0',
|
|
33667
33667
|
},
|
|
33668
|
-
template: "\n <div class=\"novo-row-chips-columns\" *ngIf=\"items.length > 0\">\n <div class=\"column-label\" [style.flexBasis.px]=\"column.width || 200\" *ngFor=\"let column of source.columns\">{{ column.label }}</div>\n </div>\n <div class=\"novo-row-chips-empty-message\" *ngIf=\"source.emptyReadOnlyMessage && disablePickerInput && items.length === 0\">\n {{ source.emptyReadOnlyMessage }}\n </div>\n <novo-row-chip\n *ngFor=\"let item of _items | async\"\n [type]=\"type || item?.value?.searchEntity\"\n [class.selected]=\"item == selected\"\n [disabled]=\"disablePickerInput\"\n (removed)=\"remove($event, item)\"\n (selectionChange)=\"select($event, item)\"\n >\n <div\n class=\"column-data\"\n [class.editable]=\"column.editable\"\n [style.flexBasis.px]=\"column.width || 200\"\n *ngFor=\"let column of source.columns\"\n >\n <ng-container *ngIf=\"column.editable\">\n <novo-field>\n <input novoInput [type]=\"column.type || 'text'\" [(ngModel)]=\"item.value[column.name]\" />\n </novo-field>\n </ng-container>\n <ng-container *ngIf=\"!column.editable\">\n <span>{{ column.data(item) }}</span>\n </ng-container>\n </div>\n </novo-row-chip>\n <novo-picker\n clearValueOnSelect=\"true\"\n [closeOnSelect]=\"closeOnSelect\"\n [config]=\"source\"\n [disablePickerInput]=\"disablePickerInput\"\n [hidden]=\"disablePickerInput\"\n [placeholder]=\"placeholder\"\n [(ngModel)]=\"itemToAdd\"\n (select)=\"add($event)\"\n (keydown)=\"onKeyDown($event)\"\n (focus)=\"onFocus($event)\"\n (typing)=\"onTyping($event)\"\n (blur)=\"onTouched($event)\"\n [selected]=\"items\"\n
|
|
33668
|
+
template: "\n <div class=\"novo-row-chips-columns\" *ngIf=\"items.length > 0\">\n <div class=\"column-label\" [style.flexBasis.px]=\"column.width || 200\" *ngFor=\"let column of source.columns\">{{ column.label }}</div>\n </div>\n <div class=\"novo-row-chips-empty-message\" *ngIf=\"source.emptyReadOnlyMessage && disablePickerInput && items.length === 0\">\n {{ source.emptyReadOnlyMessage }}\n </div>\n <novo-row-chip\n *ngFor=\"let item of _items | async\"\n [type]=\"type || item?.value?.searchEntity\"\n [class.selected]=\"item == selected\"\n [disabled]=\"disablePickerInput\"\n (removed)=\"remove($event, item)\"\n (selectionChange)=\"select($event, item)\"\n >\n <div\n class=\"column-data\"\n [class.editable]=\"column.editable\"\n [style.flexBasis.px]=\"column.width || 200\"\n *ngFor=\"let column of source.columns\"\n >\n <ng-container *ngIf=\"column.editable\">\n <novo-field>\n <input novoInput [type]=\"column.type || 'text'\" [(ngModel)]=\"item.value[column.name]\" />\n </novo-field>\n </ng-container>\n <ng-container *ngIf=\"!column.editable\">\n <span>{{ column.data(item) }}</span>\n </ng-container>\n </div>\n </novo-row-chip>\n <novo-picker\n clearValueOnSelect=\"true\"\n [closeOnSelect]=\"closeOnSelect\"\n [config]=\"source\"\n [disablePickerInput]=\"disablePickerInput\"\n [hidden]=\"disablePickerInput\"\n [placeholder]=\"placeholder\"\n [(ngModel)]=\"itemToAdd\"\n (select)=\"add($event)\"\n (keydown)=\"onKeyDown($event)\"\n (focus)=\"onFocus($event)\"\n (typing)=\"onTyping($event)\"\n (blur)=\"onTouched($event)\"\n [selected]=\"items\"\n *ngIf=\"!maxlength || (maxlength && items.length < maxlength)\"\n >\n </novo-picker>\n <div class=\"preview-container\">\n <span #preview></span>\n </div>\n "
|
|
33669
33669
|
},] }
|
|
33670
33670
|
];
|
|
33671
33671
|
NovoRowChipsElement.ctorParameters = function () { return [
|
|
@@ -38881,7 +38881,7 @@
|
|
|
38881
38881
|
/** Sets up a key manager to listen to keyboard events on the overlay panel. */
|
|
38882
38882
|
NovoSelectElement.prototype._initKeyManager = function () {
|
|
38883
38883
|
var _this = this;
|
|
38884
|
-
this._keyManager = new a11y.ActiveDescendantKeyManager(this._getOptions()).withTypeAhead(
|
|
38884
|
+
this._keyManager = new a11y.ActiveDescendantKeyManager(this._getOptions()).withTypeAhead(250).withHomeAndEnd();
|
|
38885
38885
|
// .withAllowedModifierKeys(['shiftKey']);
|
|
38886
38886
|
this._keyManager.tabOut.pipe(operators.takeUntil(this._destroy)).subscribe(function () {
|
|
38887
38887
|
if (_this.panelOpen) {
|