@colijnit/corecomponents_v12 261.20.1 → 261.20.3
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.
|
Binary file
|
|
Binary file
|
|
@@ -2127,7 +2127,7 @@ class OverlayService {
|
|
|
2127
2127
|
this._appRef = _appRef;
|
|
2128
2128
|
this._injector = _injector;
|
|
2129
2129
|
}
|
|
2130
|
-
createComponent(compClass, inputs, events
|
|
2130
|
+
createComponent(compClass, inputs, events) {
|
|
2131
2131
|
if (this._componentRefExists(compClass)) {
|
|
2132
2132
|
this._removeComponentRef(compClass);
|
|
2133
2133
|
}
|
|
@@ -2151,8 +2151,7 @@ class OverlayService {
|
|
|
2151
2151
|
this._appRef.attachView(componentRef.hostView);
|
|
2152
2152
|
const domElem = componentRef.hostView
|
|
2153
2153
|
.rootNodes[0];
|
|
2154
|
-
|
|
2155
|
-
container.appendChild(domElem);
|
|
2154
|
+
document.body.appendChild(domElem);
|
|
2156
2155
|
componentRef.onDestroy(() => {
|
|
2157
2156
|
this._appRef.detachView(componentRef.hostView);
|
|
2158
2157
|
});
|
|
@@ -8180,7 +8179,7 @@ class InputDatePickerComponent extends BaseInputDatePickerDirective {
|
|
|
8180
8179
|
}, {
|
|
8181
8180
|
dateSelected: (event) => this.handleDateSelected(event),
|
|
8182
8181
|
clickedOutside: () => this.toggleCalendar(false) // Close when clicked outside
|
|
8183
|
-
}
|
|
8182
|
+
});
|
|
8184
8183
|
}
|
|
8185
8184
|
else {
|
|
8186
8185
|
this.overlayService.removeComponent(this._calendarComponentRef);
|
|
@@ -8816,7 +8815,7 @@ class DoubleCalendarComponent extends BaseInputDatePickerDirective {
|
|
|
8816
8815
|
}
|
|
8817
8816
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: DoubleCalendarComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
8818
8817
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: DoubleCalendarComponent, isStandalone: false, selector: "co-double-calendar", inputs: { selectedDates: "selectedDates", ownParentForOverlay: "ownParentForOverlay" }, outputs: { datesSelected: "datesSelected", secondDateSelected: "secondDateSelected", clickedOutside: "clickedOutside" }, host: { properties: { "class.co-double-calendar": "this.showClass" } }, usesInheritance: true, ngImport: i0, template: `
|
|
8819
|
-
<div class="dual-calendar-wrapper" [overlay]="ownParentForOverlay" (clickOutside)="clickedOutside.next()">
|
|
8818
|
+
<div class="dual-calendar-wrapper" [keepInView]="true" [overlay]="ownParentForOverlay" (clickOutside)="clickedOutside.next()">
|
|
8820
8819
|
<calendar-template
|
|
8821
8820
|
[selectedDate]="selectedFirstDate"
|
|
8822
8821
|
[secondSelectedDate]="selectedSecondDate"
|
|
@@ -8846,7 +8845,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
8846
8845
|
args: [{
|
|
8847
8846
|
selector: "co-double-calendar",
|
|
8848
8847
|
template: `
|
|
8849
|
-
<div class="dual-calendar-wrapper" [overlay]="ownParentForOverlay" (clickOutside)="clickedOutside.next()">
|
|
8848
|
+
<div class="dual-calendar-wrapper" [keepInView]="true" [overlay]="ownParentForOverlay" (clickOutside)="clickedOutside.next()">
|
|
8850
8849
|
<calendar-template
|
|
8851
8850
|
[selectedDate]="selectedFirstDate"
|
|
8852
8851
|
[secondSelectedDate]="selectedSecondDate"
|
|
@@ -12934,6 +12933,12 @@ class SimpleGridComponent extends BaseSimpleGridComponent {
|
|
|
12934
12933
|
}
|
|
12935
12934
|
else {
|
|
12936
12935
|
let index = -1; // existing row
|
|
12936
|
+
if (this.rowsPerPage) {
|
|
12937
|
+
index = (this.currentPage - 1) * this.rowsPerPage + this.editRowIndex;
|
|
12938
|
+
}
|
|
12939
|
+
else {
|
|
12940
|
+
index = this.editRowIndex;
|
|
12941
|
+
}
|
|
12937
12942
|
if (index >= 0 && index < this.data.length) {
|
|
12938
12943
|
this.saveRow.next(this.data[index]);
|
|
12939
12944
|
}
|
|
@@ -12971,7 +12976,7 @@ class SimpleGridComponent extends BaseSimpleGridComponent {
|
|
|
12971
12976
|
(deleteClick)="removeSelectedRow()">
|
|
12972
12977
|
</co-grid-toolbar>
|
|
12973
12978
|
}
|
|
12974
|
-
|
|
12979
|
+
|
|
12975
12980
|
<table
|
|
12976
12981
|
id="simple-grid-table"
|
|
12977
12982
|
class="simple-grid-table"
|
|
@@ -13043,7 +13048,7 @@ class SimpleGridComponent extends BaseSimpleGridComponent {
|
|
|
13043
13048
|
</th>
|
|
13044
13049
|
}
|
|
13045
13050
|
</tr>
|
|
13046
|
-
|
|
13051
|
+
|
|
13047
13052
|
@if (showGridSettings) {
|
|
13048
13053
|
<div class="grid-settings">
|
|
13049
13054
|
<co-button
|
|
@@ -13177,7 +13182,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
13177
13182
|
(deleteClick)="removeSelectedRow()">
|
|
13178
13183
|
</co-grid-toolbar>
|
|
13179
13184
|
}
|
|
13180
|
-
|
|
13185
|
+
|
|
13181
13186
|
<table
|
|
13182
13187
|
id="simple-grid-table"
|
|
13183
13188
|
class="simple-grid-table"
|
|
@@ -13249,7 +13254,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
13249
13254
|
</th>
|
|
13250
13255
|
}
|
|
13251
13256
|
</tr>
|
|
13252
|
-
|
|
13257
|
+
|
|
13253
13258
|
@if (showGridSettings) {
|
|
13254
13259
|
<div class="grid-settings">
|
|
13255
13260
|
<co-button
|
|
@@ -14475,12 +14480,12 @@ class ListOfValuesComponent extends BaseInputComponent {
|
|
|
14475
14480
|
showToggleAll: this.showToggleAll,
|
|
14476
14481
|
model: this.model,
|
|
14477
14482
|
collection: this.collection,
|
|
14478
|
-
optionIcon: this.optionIcon
|
|
14483
|
+
optionIcon: this.optionIcon
|
|
14479
14484
|
}, {
|
|
14480
14485
|
modelChange: (value) => this.optionChosen(value),
|
|
14481
14486
|
closePopup: () => this.closePopup(),
|
|
14482
14487
|
keyDown: (event) => this.handleInputKeyDown(event)
|
|
14483
|
-
}
|
|
14488
|
+
});
|
|
14484
14489
|
this.keepFocussed = true;
|
|
14485
14490
|
}
|
|
14486
14491
|
removeOptionFromModel(chip) {
|