@nova-ui/bits 11.12.0 → 11.12.2
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 +91 -41
- package/bundles/nova-ui-bits.umd.js.map +1 -1
- package/bundles/nova-ui-bits.umd.min.js +1 -1
- package/bundles/nova-ui-bits.umd.min.js.map +1 -1
- package/esm2015/lib/docs/example-code/example-code.component.js +3 -2
- package/esm2015/lib/paginator/paginator.component.js +3 -2
- package/esm2015/lib/repeat/repeat-item/repeat-item.component.js +6 -4
- package/esm2015/lib/repeat/repeat.component.js +84 -41
- package/esm2015/lib/repeat/types.js +1 -1
- package/fesm2015/nova-ui-bits.js +89 -43
- package/fesm2015/nova-ui-bits.js.map +1 -1
- package/lib/docs/example-code/example-code.component.d.ts +1 -0
- package/lib/repeat/repeat-item/repeat-item.component.d.ts +2 -0
- package/lib/repeat/repeat.component.d.ts +10 -2
- package/nova-ui-bits.metadata.json +1 -1
- package/package.json +1 -1
- package/sdk/atoms/components/repeat/repeat.atom.d.ts +3 -0
- package/sdk/atoms/components/repeat/repeat.atom.js +20 -7
- package/sdk/atoms/components/repeat/repeat.atom.js.map +1 -1
|
@@ -13603,6 +13603,7 @@
|
|
|
13603
13603
|
this.nowrap = false;
|
|
13604
13604
|
this.selected = false;
|
|
13605
13605
|
this.selectable = false;
|
|
13606
|
+
this.rowClicked = new i0.EventEmitter();
|
|
13606
13607
|
}
|
|
13607
13608
|
Object.defineProperty(RepeatItemComponent.prototype, "role", {
|
|
13608
13609
|
get: function () { return this.selectable ? "option" : "listitem"; },
|
|
@@ -13614,7 +13615,7 @@
|
|
|
13614
13615
|
RepeatItemComponent.decorators = [
|
|
13615
13616
|
{ type: i0.Component, args: [{
|
|
13616
13617
|
selector: "nui-repeat-item",
|
|
13617
|
-
template: "<li class=\"nui-repeat-item\"\n [
|
|
13618
|
+
template: "<li class=\"nui-repeat-item\"\n [class.nui-repeat-item--selected]=\"selected\"\n [class.text-nowrap]=\"nowrap\"\n [class.nui-repeat-item--clickable]=\"clickable\"\n (click)=\"clickable ? rowClicked.emit($event) : null\"\n tabindex=\"-1\">\n <div class=\"nui-repeat-item__content\">\n <ng-content></ng-content>\n </div>\n</li>\n",
|
|
13618
13619
|
encapsulation: i0.ViewEncapsulation.None,
|
|
13619
13620
|
host: { "[attr.role]": "role" },
|
|
13620
13621
|
styles: ["body>nui-repeat-item.cdk-drag-preview .nui-repeat-item{list-style-type:none}body>nui-repeat-item.cdk-drag-preview .nui-repeat-item__controls-drag-handle{display:none}.nui .nui-repeat-item:active,.nui .nui-repeat-item:focus{outline:none}.nui .nui-repeat-item:hover{background-color:var(--nui-color-bg-secondary,#fafafa)}.nui .nui-repeat-item__content{display:flex}.nui .nui-repeat-item__controls-drag-handle{height:16px}.nui .nui-repeat-item__controls-drag-handle .nui-dnd-handle:hover{cursor:move}.nui .nui-repeat-item__controls-container{padding-left:3px}.nui .nui-repeat-item__controls-container .nui-repeat-item__checkbox .nui-checkbox{display:flex;justify-content:center;width:30px;height:30px}.nui .nui-repeat-item__controls-container .nui-repeat-item__checkbox .nui-checkbox__label:hover{background-color:transparent}.nui .nui-repeat-item__controls-container .nui-repeat-item__checkbox .nui-checkbox__transclude{margin-left:0}.nui .nui-repeat-item__content-container{min-height:30px;flex-grow:1;display:flex;align-items:center;margin-left:5px;margin-right:10px;min-width:0}.nui .nui-repeat-item__actions-container{margin-left:5px;display:flex;align-items:flex-start}.nui .nui-repeat-item__actions-container .btn-action:focus{background-color:transparent}.nui .nui-repeat-item.nui-repeat-item--clickable:not(.nui-repeat-item--selected):hover{background-color:var(--nui-color-bg-secondary,#fafafa)}.nui .nui-repeat-item.nui-repeat-item--selected{background-color:var(--nui-color-selected,rgba(0,196,210,.1));color:var(--nui-color-text-default,#111)}.nui .nui-repeat-item.nui-repeat-item--selected.nui-repeat-item--clickable:hover{background-color:var(--nui-color-selected-hover,rgba(0,196,210,.2))}"]
|
|
@@ -13624,7 +13625,8 @@
|
|
|
13624
13625
|
clickable: [{ type: i0.Input }],
|
|
13625
13626
|
nowrap: [{ type: i0.Input }],
|
|
13626
13627
|
selected: [{ type: i0.Input }],
|
|
13627
|
-
selectable: [{ type: i0.Input }]
|
|
13628
|
+
selectable: [{ type: i0.Input }],
|
|
13629
|
+
rowClicked: [{ type: i0.Output }]
|
|
13628
13630
|
};
|
|
13629
13631
|
|
|
13630
13632
|
/**
|
|
@@ -13647,6 +13649,10 @@
|
|
|
13647
13649
|
* This will stretch repeat items full width
|
|
13648
13650
|
*/
|
|
13649
13651
|
this.width = "100%";
|
|
13652
|
+
/**
|
|
13653
|
+
* Prevent item bodies from capturing clicks
|
|
13654
|
+
*/
|
|
13655
|
+
this.preventRowClick = false;
|
|
13650
13656
|
/**
|
|
13651
13657
|
* Drag preview class that is applied on the previewed item
|
|
13652
13658
|
*
|
|
@@ -13679,8 +13685,6 @@
|
|
|
13679
13685
|
*/
|
|
13680
13686
|
this.selectionChange = new i0.EventEmitter();
|
|
13681
13687
|
this.mousedOver = [];
|
|
13682
|
-
// Note: workaround to be able to use enum values in template
|
|
13683
|
-
this.repeatSelectionMode = exports.RepeatSelectionMode;
|
|
13684
13688
|
this.selectionHasChanged = false;
|
|
13685
13689
|
/** Emits when the drop list has been destroyed. */
|
|
13686
13690
|
this.dropListDestroyed = new rxjs.Subject();
|
|
@@ -13749,24 +13753,44 @@
|
|
|
13749
13753
|
configurable: true
|
|
13750
13754
|
});
|
|
13751
13755
|
Object.defineProperty(RepeatComponent.prototype, "role", {
|
|
13752
|
-
get: function () {
|
|
13756
|
+
get: function () {
|
|
13757
|
+
return this.selectionMode !== exports.RepeatSelectionMode.none
|
|
13758
|
+
? "listbox"
|
|
13759
|
+
: "list";
|
|
13760
|
+
},
|
|
13761
|
+
enumerable: false,
|
|
13762
|
+
configurable: true
|
|
13763
|
+
});
|
|
13764
|
+
Object.defineProperty(RepeatComponent.prototype, "ariaMultiselectable", {
|
|
13765
|
+
get: function () {
|
|
13766
|
+
return this.isModeMulti() || null;
|
|
13767
|
+
},
|
|
13753
13768
|
enumerable: false,
|
|
13754
13769
|
configurable: true
|
|
13755
13770
|
});
|
|
13756
13771
|
RepeatComponent.prototype.ngOnInit = function () {
|
|
13757
13772
|
this.intersectionObserver = new IntersectionObserver(this.intersectionObserverCallback);
|
|
13758
|
-
|
|
13759
|
-
|
|
13773
|
+
if (this.elRef.nativeElement instanceof Element) {
|
|
13774
|
+
this.intersectionObserver.observe(this.elRef.nativeElement);
|
|
13775
|
+
}
|
|
13776
|
+
if (this.dragPreviewTemplateRef ||
|
|
13777
|
+
this.dragHandleTemplateRef ||
|
|
13778
|
+
this._reorderable === true) {
|
|
13760
13779
|
this._draggable = true;
|
|
13761
13780
|
this.draggableChange.emit(this._draggable);
|
|
13762
13781
|
}
|
|
13763
|
-
this.paddingSize =
|
|
13782
|
+
this.paddingSize =
|
|
13783
|
+
this.paddingSize in exports.PaddingOptions
|
|
13784
|
+
? this.paddingSize
|
|
13785
|
+
: exports.PaddingOptions.compact;
|
|
13764
13786
|
if (!this.itemSize && this.virtualScroll) {
|
|
13765
13787
|
this.logger.error("ERROR: To use virtual scroll feature please set correct value to the 'itemSize' input!");
|
|
13766
13788
|
}
|
|
13767
13789
|
// Note: Using empty array as a fallback value to obtain a proper differ factory
|
|
13768
13790
|
// when the itemsSource is not provided by parent at init.
|
|
13769
|
-
this.itemsSourceDiff = this.iterableDiffers
|
|
13791
|
+
this.itemsSourceDiff = this.iterableDiffers
|
|
13792
|
+
.find(this.itemsSource || [])
|
|
13793
|
+
.create();
|
|
13770
13794
|
};
|
|
13771
13795
|
RepeatComponent.prototype.ngDoCheck = function () {
|
|
13772
13796
|
// Note: In case the input value have changed the CD will not be triggered because
|
|
@@ -13817,9 +13841,11 @@
|
|
|
13817
13841
|
case exports.RepeatSelectionMode.radio:
|
|
13818
13842
|
case exports.RepeatSelectionMode.singleWithRequiredSelection:
|
|
13819
13843
|
case exports.RepeatSelectionMode.radioWithNonRequiredSelection:
|
|
13820
|
-
return
|
|
13844
|
+
return this.selection && _isEqual__default['default'](item, this.selection[0]);
|
|
13821
13845
|
case exports.RepeatSelectionMode.multi:
|
|
13822
|
-
return Boolean(this.selection &&
|
|
13846
|
+
return Boolean(this.selection &&
|
|
13847
|
+
this.selection.length &&
|
|
13848
|
+
this.selection.indexOf(item) !== -1);
|
|
13823
13849
|
default:
|
|
13824
13850
|
return false;
|
|
13825
13851
|
}
|
|
@@ -13830,33 +13856,37 @@
|
|
|
13830
13856
|
* @param item value object that is used in nui-repeat-item
|
|
13831
13857
|
*/
|
|
13832
13858
|
RepeatComponent.prototype.itemClicked = function (event, item) {
|
|
13833
|
-
if (this.selectionMode === exports.RepeatSelectionMode.none ||
|
|
13859
|
+
if (this.selectionMode === exports.RepeatSelectionMode.none ||
|
|
13860
|
+
this.isItemDisabled(item)) {
|
|
13834
13861
|
return;
|
|
13835
13862
|
}
|
|
13836
|
-
|
|
13837
|
-
|
|
13863
|
+
// prevent handling both from row and input
|
|
13864
|
+
event.stopImmediatePropagation();
|
|
13865
|
+
event.stopPropagation();
|
|
13866
|
+
event.preventDefault();
|
|
13867
|
+
if (this.isModeMulti()) {
|
|
13838
13868
|
this.selectionHasChanged = true;
|
|
13839
13869
|
this.multiSelectionChanged(item);
|
|
13870
|
+
return;
|
|
13840
13871
|
}
|
|
13841
|
-
|
|
13842
|
-
|
|
13843
|
-
|
|
13844
|
-
|
|
13872
|
+
if (this.selectionMode ===
|
|
13873
|
+
exports.RepeatSelectionMode.singleWithRequiredSelection ||
|
|
13874
|
+
this.selectionMode === exports.RepeatSelectionMode.radio) {
|
|
13875
|
+
this.selection = [item];
|
|
13876
|
+
}
|
|
13877
|
+
if (this.selectionMode === exports.RepeatSelectionMode.single ||
|
|
13878
|
+
this.selectionMode ===
|
|
13879
|
+
exports.RepeatSelectionMode.radioWithNonRequiredSelection) {
|
|
13880
|
+
if (this.selection.indexOf(item) !== -1) {
|
|
13881
|
+
this.selection = [];
|
|
13845
13882
|
}
|
|
13846
|
-
|
|
13847
|
-
this.
|
|
13848
|
-
if (this.selection.indexOf(item) !== -1) {
|
|
13849
|
-
this.selection = [];
|
|
13850
|
-
}
|
|
13851
|
-
else {
|
|
13852
|
-
this.selection = [item];
|
|
13853
|
-
}
|
|
13883
|
+
else {
|
|
13884
|
+
this.selection = [item];
|
|
13854
13885
|
}
|
|
13855
|
-
this.changeDetector.markForCheck();
|
|
13856
|
-
this.selectionHasChanged = true;
|
|
13857
|
-
this.selectionChange.emit(this.selection);
|
|
13858
|
-
return;
|
|
13859
13886
|
}
|
|
13887
|
+
this.changeDetector.markForCheck();
|
|
13888
|
+
this.selectionHasChanged = true;
|
|
13889
|
+
this.selectionChange.emit(this.selection);
|
|
13860
13890
|
};
|
|
13861
13891
|
/**
|
|
13862
13892
|
* nui-repeat-item selection change handler
|
|
@@ -13871,12 +13901,25 @@
|
|
|
13871
13901
|
}
|
|
13872
13902
|
this.selectionChange.emit(this.selection);
|
|
13873
13903
|
};
|
|
13904
|
+
RepeatComponent.prototype.isModeMulti = function () {
|
|
13905
|
+
return this.selectionMode === exports.RepeatSelectionMode.multi;
|
|
13906
|
+
};
|
|
13907
|
+
RepeatComponent.prototype.isModeRadio = function () {
|
|
13908
|
+
return [
|
|
13909
|
+
exports.RepeatSelectionMode.radio,
|
|
13910
|
+
exports.RepeatSelectionMode.radioWithNonRequiredSelection,
|
|
13911
|
+
].includes(this.selectionMode);
|
|
13912
|
+
};
|
|
13874
13913
|
/* START - ITEM BEHAVIOUR DECIDERS */
|
|
13914
|
+
RepeatComponent.prototype.isItemClickable = function (item) {
|
|
13915
|
+
return !this.preventRowClick && !this.isItemDisabled(item);
|
|
13916
|
+
};
|
|
13917
|
+
RepeatComponent.prototype.isItemSelectable = function (item) {
|
|
13918
|
+
return !this.isItemDisabled(item);
|
|
13919
|
+
};
|
|
13875
13920
|
RepeatComponent.prototype.isItemDisabled = function (item) {
|
|
13876
|
-
var _a, _b;
|
|
13877
|
-
return item.
|
|
13878
|
-
? item.disabled
|
|
13879
|
-
: !!((_b = (_a = this.itemConfig) === null || _a === void 0 ? void 0 : _a.isDisabled) === null || _b === void 0 ? void 0 : _b.call(_a, item));
|
|
13921
|
+
var _a, _b, _c;
|
|
13922
|
+
return ((_a = item.disabled) !== null && _a !== void 0 ? _a : !!((_c = (_b = this.itemConfig) === null || _b === void 0 ? void 0 : _b.isDisabled) === null || _c === void 0 ? void 0 : _c.call(_b, item)));
|
|
13880
13923
|
};
|
|
13881
13924
|
RepeatComponent.prototype.isItemDraggable = function (item) {
|
|
13882
13925
|
var _a, _b, _c;
|
|
@@ -13893,12 +13936,17 @@
|
|
|
13893
13936
|
/* END - ITEM BEHAVIOUR DECIDERS */
|
|
13894
13937
|
RepeatComponent.prototype.initializeCDKDropList = function () {
|
|
13895
13938
|
var _this = this;
|
|
13896
|
-
if (!this.virtualScroll &&
|
|
13939
|
+
if (!this.virtualScroll &&
|
|
13940
|
+
this.dropListArea &&
|
|
13941
|
+
this._draggable &&
|
|
13942
|
+
!this.dropListRef) {
|
|
13897
13943
|
this.dropListRef = this.dragDropService.createDropList(this.dropListArea);
|
|
13898
13944
|
this.dropListRef.disabled = !this._draggable;
|
|
13899
13945
|
this.dropListRef.data = this.itemsSource;
|
|
13900
13946
|
// self-destroyed subscription
|
|
13901
|
-
this.dropListRef.dropped
|
|
13947
|
+
this.dropListRef.dropped
|
|
13948
|
+
.pipe(operators.tap(function (event) { return _this.itemDropped(event); }), operators.takeUntil(this.dropListDestroyed))
|
|
13949
|
+
.subscribe();
|
|
13902
13950
|
this.dropListRef.withItems(this.draggableElements.map(function (item) { return item._dragRef; }));
|
|
13903
13951
|
}
|
|
13904
13952
|
};
|
|
@@ -13942,15 +13990,15 @@
|
|
|
13942
13990
|
RepeatComponent.decorators = [
|
|
13943
13991
|
{ type: i0.Component, args: [{
|
|
13944
13992
|
selector: "nui-repeat",
|
|
13945
|
-
template: "<ng-template #repeatItems let-item=\"item\" let-itemIndex=\"itemIndex\">\n <nui-repeat-item
|
|
13993
|
+
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",
|
|
13946
13994
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
13947
13995
|
encapsulation: i0.ViewEncapsulation.None,
|
|
13948
13996
|
host: {
|
|
13949
13997
|
"[class.virtual-scroll-viewport]": "virtualScroll",
|
|
13950
13998
|
"[attr.role]": "role",
|
|
13951
|
-
"[attr.aria-multiselectable]": "
|
|
13999
|
+
"[attr.aria-multiselectable]": "ariaMultiselectable",
|
|
13952
14000
|
},
|
|
13953
|
-
styles: [".nui .nui-repeat{height:inherit}.nui .nui-repeat__normal .nui-repeat-item{padding-top:5px;padding-bottom:5px}.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-
|
|
14001
|
+
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:1px solid;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:1px solid;border-bottom-color:var(--nui-color-line-default,#d9d9d9)}@supports (-ms-ime-align:auto){.nui .nui-repeat .nui-repeat-item{margin-bottom:.5px}}"]
|
|
13954
14002
|
},] }
|
|
13955
14003
|
];
|
|
13956
14004
|
RepeatComponent.ctorParameters = function () { return [
|
|
@@ -13966,6 +14014,7 @@
|
|
|
13966
14014
|
draggableChange: [{ type: i0.Output }],
|
|
13967
14015
|
reorderableChange: [{ type: i0.Output }],
|
|
13968
14016
|
width: [{ type: i0.HostBinding, args: ["style.width",] }],
|
|
14017
|
+
preventRowClick: [{ type: i0.Input }],
|
|
13969
14018
|
repeatItemTemplateRef: [{ type: i0.Input }],
|
|
13970
14019
|
dragHandleTemplateRef: [{ type: i0.Input }],
|
|
13971
14020
|
dragPreviewClass: [{ type: i0.Input }],
|
|
@@ -18788,7 +18837,8 @@
|
|
|
18788
18837
|
PaginatorComponent.prototype.ngOnChanges = function (changes) {
|
|
18789
18838
|
if (changes["total"]
|
|
18790
18839
|
|| changes["page"]
|
|
18791
|
-
|| changes["adjacent"]
|
|
18840
|
+
|| changes["adjacent"]
|
|
18841
|
+
|| changes["pageSize"]) {
|
|
18792
18842
|
this.assemble();
|
|
18793
18843
|
}
|
|
18794
18844
|
};
|
|
@@ -23465,7 +23515,7 @@
|
|
|
23465
23515
|
ExampleCodeComponent.prototype.ngAfterViewInit = function () {
|
|
23466
23516
|
// remove wrapping spaces. They might appear due to passing content via ng-content into element
|
|
23467
23517
|
this.codeElement.nativeElement.innerHTML = this.codeElement.nativeElement.innerHTML.trim();
|
|
23468
|
-
hljs__namespace.
|
|
23518
|
+
hljs__namespace.highlightElement(this.codeElement.nativeElement);
|
|
23469
23519
|
};
|
|
23470
23520
|
return ExampleCodeComponent;
|
|
23471
23521
|
}());
|