@wlcm/angular 17.5.13 → 17.5.16
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/core/esm2022/index.mjs +7 -4
- package/core/esm2022/lib/components/default-loader/default-loader.component.mjs +12 -0
- package/core/esm2022/lib/components/{calendar-icon → icons/calendar-icon}/calendar-icon.component.mjs +1 -1
- package/core/esm2022/lib/components/{chevron-down-icon → icons/chevron-down-icon}/chevron-down-icon.component.mjs +1 -1
- package/core/esm2022/lib/components/{close-icon → icons/close-icon}/close-icon.component.mjs +1 -1
- package/core/esm2022/lib/components/{search-icon → icons/search-icon}/search-icon.component.mjs +1 -1
- package/core/esm2022/lib/components/loader/loader.component.mjs +32 -0
- package/core/esm2022/lib/constants/icon.contants.mjs +4 -4
- package/core/esm2022/lib/constants/loader.constants.mjs +7 -0
- package/core/esm2022/lib/directives/icon.directive.mjs +2 -2
- package/core/esm2022/lib/utils/paginated-data-emulator.utils.mjs +20 -0
- package/core/fesm2022/wlcm-angular-core.mjs +64 -3
- package/core/fesm2022/wlcm-angular-core.mjs.map +1 -1
- package/core/index.d.ts +6 -3
- package/core/lib/components/default-loader/default-loader.component.d.ts +5 -0
- package/core/lib/components/loader/loader.component.d.ts +11 -0
- package/core/lib/constants/loader.constants.d.ts +2 -0
- package/core/lib/utils/paginated-data-emulator.utils.d.ts +10 -0
- package/datepicker/esm2022/lib/components/calendar-header/calendar-header.component.mjs +7 -5
- package/datepicker/esm2022/lib/components/range/date-range-calendar-header/date-range-calendar-header.component.mjs +39 -5
- package/datepicker/esm2022/lib/components/range/date-range-picker/date-range-picker.component.mjs +14 -9
- package/datepicker/esm2022/lib/components/single/datepicker-input-container/datepicker-input-container.component.mjs +2 -2
- package/datepicker/esm2022/lib/components/single/datepicker-panel/datepicker-panel.component.mjs +15 -9
- package/datepicker/esm2022/lib/constants/datepicker.constants.mjs +3 -1
- package/datepicker/esm2022/lib/directives/datepicker-input.base.mjs +20 -4
- package/datepicker/esm2022/lib/directives/datepicker-trigger.base.mjs +23 -4
- package/datepicker/esm2022/lib/directives/ragne/date-range-picker-input-end.directive.mjs +12 -8
- package/datepicker/esm2022/lib/directives/ragne/date-range-picker-input-start.directive.mjs +12 -8
- package/datepicker/esm2022/lib/directives/ragne/date-range-picker-input.base.mjs +7 -4
- package/datepicker/esm2022/lib/directives/ragne/left-calendar.directive.mjs +10 -5
- package/datepicker/esm2022/lib/directives/ragne/right-calendar.directive.mjs +10 -5
- package/datepicker/esm2022/lib/directives/single/datepicker-input.directive.mjs +2 -2
- package/datepicker/esm2022/lib/models/date-picker.models.mjs +3 -1
- package/datepicker/esm2022/lib/models/range/data-range-calendar.models.mjs +21 -3
- package/datepicker/fesm2022/wlcm-angular-datepicker.mjs +202 -94
- package/datepicker/fesm2022/wlcm-angular-datepicker.mjs.map +1 -1
- package/datepicker/lib/components/calendar-header/calendar-header.component.d.ts +3 -1
- package/datepicker/lib/components/range/date-range-calendar-header/date-range-calendar-header.component.d.ts +8 -2
- package/datepicker/lib/components/range/date-range-picker/date-range-picker.component.d.ts +5 -3
- package/datepicker/lib/components/single/datepicker-input-container/datepicker-input-container.component.d.ts +3 -3
- package/datepicker/lib/components/single/datepicker-panel/datepicker-panel.component.d.ts +10 -6
- package/datepicker/lib/constants/datepicker.constants.d.ts +3 -1
- package/datepicker/lib/directives/datepicker-input.base.d.ts +5 -1
- package/datepicker/lib/directives/datepicker-trigger.base.d.ts +7 -2
- package/datepicker/lib/directives/ragne/date-range-picker-input-end.directive.d.ts +4 -2
- package/datepicker/lib/directives/ragne/date-range-picker-input-start.directive.d.ts +4 -2
- package/datepicker/lib/directives/ragne/date-range-picker-input.base.d.ts +3 -1
- package/datepicker/lib/directives/ragne/left-calendar.directive.d.ts +3 -1
- package/datepicker/lib/directives/ragne/right-calendar.directive.d.ts +3 -1
- package/datepicker/lib/directives/single/datepicker-input.directive.d.ts +5 -5
- package/datepicker/lib/models/date-picker.models.d.ts +8 -1
- package/datepicker/lib/models/range/data-range-calendar.models.d.ts +6 -1
- package/forms/esm2022/lib/forms/components/form-field/form-field.component.mjs +9 -6
- package/forms/fesm2022/wlcm-angular-forms.mjs +8 -5
- package/forms/fesm2022/wlcm-angular-forms.mjs.map +1 -1
- package/forms/lib/forms/components/form-field/form-field.component.d.ts +2 -1
- package/package.json +1 -1
- package/search-field/esm2022/lib/components/search-field/search-field.component.mjs +3 -3
- package/search-field/fesm2022/wlcm-angular-search-field.mjs +2 -2
- package/search-field/fesm2022/wlcm-angular-search-field.mjs.map +1 -1
- package/styles/components/calendar/_calendar-header.scss +4 -0
- package/styles/components/loader/_loader.scss +168 -0
- package/styles/components/loader/index.scss +5 -0
- package/styles/core/_all-theme.scss +2 -0
- package/table/esm2022/lib/components/table/table.component.mjs +3 -1
- package/table/esm2022/lib/components/table-row/table-row.component.mjs +48 -20
- package/table/esm2022/lib/components/table-row-actions/table-row-actions.component.mjs +13 -46
- package/table/esm2022/lib/directives/scrollable-table-container.directive.mjs +38 -7
- package/table/fesm2022/wlcm-angular-table.mjs +86 -61
- package/table/fesm2022/wlcm-angular-table.mjs.map +1 -1
- package/table/lib/components/table-row/table-row.component.d.ts +9 -4
- package/table/lib/components/table-row-actions/table-row-actions.component.d.ts +3 -12
- package/table/lib/directives/scrollable-table-container.directive.d.ts +9 -1
- /package/core/lib/components/{calendar-icon → icons/calendar-icon}/calendar-icon.component.d.ts +0 -0
- /package/core/lib/components/{chevron-down-icon → icons/chevron-down-icon}/chevron-down-icon.component.d.ts +0 -0
- /package/core/lib/components/{close-icon → icons/close-icon}/close-icon.component.d.ts +0 -0
- /package/core/lib/components/{search-icon → icons/search-icon}/search-icon.component.d.ts +0 -0
@@ -1,15 +1,16 @@
|
|
1
1
|
import * as i0 from '@angular/core';
|
2
|
-
import { InjectionToken, inject, Injector, Pipe, Component, Inject, output,
|
3
|
-
import * as
|
2
|
+
import { InjectionToken, inject, Injector, Pipe, Component, Inject, input, output, signal, ElementRef, HostBinding, effect, NgZone, Directive, NgModule } from '@angular/core';
|
3
|
+
import * as i2$1 from '@angular/common';
|
4
4
|
import { CommonModule } from '@angular/common';
|
5
|
-
import { BehaviorSubject, map } from 'rxjs';
|
5
|
+
import { BehaviorSubject, map, filter, fromEvent, debounceTime } from 'rxjs';
|
6
6
|
import { __decorate, __metadata } from 'tslib';
|
7
7
|
import * as i2 from '@wlcm/angular/forms';
|
8
8
|
import { WlcmFormsModule } from '@wlcm/angular/forms';
|
9
9
|
import * as i3 from '@angular/forms';
|
10
|
-
import { FormControl, ReactiveFormsModule } from '@angular/forms';
|
10
|
+
import { FormControl, ReactiveFormsModule, FormsModule } from '@angular/forms';
|
11
11
|
import { untilDestroyed, UntilDestroy } from '@ngneat/until-destroy';
|
12
12
|
import { RxLet } from '@rx-angular/template/let';
|
13
|
+
import { WlcmLoaderComponent } from '@wlcm/angular/core';
|
13
14
|
|
14
15
|
class WlcmTableSelectionModel {
|
15
16
|
constructor() {
|
@@ -116,7 +117,7 @@ class WlcmTableHeadComponent {
|
|
116
117
|
this.tableConfig = tableConfig;
|
117
118
|
}
|
118
119
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: WlcmTableHeadComponent, deps: [{ token: WLCM_TABLE_CONFIG }], target: i0.ɵɵFactoryTarget.Component }); }
|
119
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.5", type: WlcmTableHeadComponent, isStandalone: true, selector: "wlcm-table-head", host: { classAttribute: "wlcm-table-head" }, ngImport: i0, template: "<wlcm-table-head-actions\n *ngIf=\"tableConfig.selectable\"\n></wlcm-table-head-actions>\n\n<ng-content select=\"wlcm-table-head-data\"></ng-content>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type:
|
120
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.5", type: WlcmTableHeadComponent, isStandalone: true, selector: "wlcm-table-head", host: { classAttribute: "wlcm-table-head" }, ngImport: i0, template: "<wlcm-table-head-actions\n *ngIf=\"tableConfig.selectable\"\n></wlcm-table-head-actions>\n\n<ng-content select=\"wlcm-table-head-data\"></ng-content>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: WlcmTableHeadActionsComponent, selector: "wlcm-table-head-actions" }] }); }
|
120
121
|
}
|
121
122
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: WlcmTableHeadComponent, decorators: [{
|
122
123
|
type: Component,
|
@@ -126,79 +127,75 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.5", ngImpor
|
|
126
127
|
args: [WLCM_TABLE_CONFIG]
|
127
128
|
}] }] });
|
128
129
|
|
129
|
-
|
130
|
-
constructor(
|
130
|
+
class WlcmTableRowActionsComponent {
|
131
|
+
constructor() {
|
132
|
+
this.isSelected = input.required();
|
133
|
+
this.selectionChanged = output();
|
134
|
+
}
|
135
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: WlcmTableRowActionsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
136
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "17.3.5", type: WlcmTableRowActionsComponent, isStandalone: true, selector: "wlcm-table-row-actions", inputs: { isSelected: { classPropertyName: "isSelected", publicName: "isSelected", isSignal: true, isRequired: true, transformFunction: null } }, outputs: { selectionChanged: "selectionChanged" }, host: { classAttribute: "wlcm-table-row-actions" }, ngImport: i0, template: "<wlcm-checkbox\n [ngModel]=\"isSelected()\"\n (changed)=\"selectionChanged.emit($event)\"\n></wlcm-checkbox>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: WlcmFormsModule }, { kind: "component", type: i2.WlcmCheckboxComponent, selector: "wlcm-checkbox", outputs: ["changed"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }] }); }
|
137
|
+
}
|
138
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: WlcmTableRowActionsComponent, decorators: [{
|
139
|
+
type: Component,
|
140
|
+
args: [{ selector: 'wlcm-table-row-actions', host: { class: 'wlcm-table-row-actions' }, standalone: true, imports: [CommonModule, WlcmFormsModule, FormsModule], template: "<wlcm-checkbox\n [ngModel]=\"isSelected()\"\n (changed)=\"selectionChanged.emit($event)\"\n></wlcm-checkbox>\n" }]
|
141
|
+
}] });
|
142
|
+
|
143
|
+
let WlcmTableRowComponent = class WlcmTableRowComponent {
|
144
|
+
get first() {
|
145
|
+
return this.rowContext.first;
|
146
|
+
}
|
147
|
+
get last() {
|
148
|
+
return this.rowContext.last;
|
149
|
+
}
|
150
|
+
constructor(elementRef, selectionModel, tableConfig, rowContext) {
|
151
|
+
this.elementRef = elementRef;
|
131
152
|
this.selectionModel = selectionModel;
|
153
|
+
this.tableConfig = tableConfig;
|
132
154
|
this.rowContext = rowContext;
|
133
|
-
this.
|
134
|
-
this.selectionChanged = output();
|
155
|
+
this.isSelected = signal(false);
|
135
156
|
this.rowId = this.rowContext.selectId(this.rowContext.$implicit);
|
136
|
-
this.
|
157
|
+
this.handleSelectionChanges();
|
137
158
|
}
|
138
|
-
|
139
|
-
if (
|
159
|
+
selectionChanged(isSelected) {
|
160
|
+
if (isSelected) {
|
140
161
|
return this.selectionModel.selectOne(this.rowId);
|
141
162
|
}
|
142
163
|
this.selectionModel.deselectOne(this.rowId);
|
164
|
+
this.isSelected.set(isSelected);
|
143
165
|
}
|
144
|
-
|
166
|
+
handleSelectionChanges() {
|
145
167
|
this.selectionModel.selectionChanged
|
146
168
|
.pipe(untilDestroyed(this))
|
147
169
|
.pipe(map((collection) => collection.has(this.rowId)))
|
170
|
+
.pipe(filter((isSelected) => isSelected !== this.isSelected()))
|
148
171
|
.subscribe((isSelected) => {
|
149
|
-
this.
|
150
|
-
|
172
|
+
this.isSelected.set(isSelected);
|
173
|
+
if (isSelected) {
|
174
|
+
this.elementRef.nativeElement.classList.add('wlcm-table-row-selected');
|
175
|
+
}
|
176
|
+
else {
|
177
|
+
this.elementRef.nativeElement.classList.remove('wlcm-table-row-selected');
|
178
|
+
}
|
151
179
|
});
|
152
180
|
}
|
153
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type:
|
154
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.5", type:
|
181
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: WlcmTableRowComponent, deps: [{ token: i0.ElementRef }, { token: WlcmTableSelectionModel }, { token: WLCM_TABLE_CONFIG }, { token: WLCM_TABLE_ROW_CONTEXT }], target: i0.ɵɵFactoryTarget.Component }); }
|
182
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.5", type: WlcmTableRowComponent, isStandalone: true, selector: "wlcm-table-row", host: { properties: { "class.wlcm-table-row-first": "this.first", "class.wlcm-table-row-last": "this.last" }, classAttribute: "wlcm-table-row" }, ngImport: i0, template: "<wlcm-table-row-actions\n *ngIf=\"tableConfig.selectable\"\n [isSelected]=\"isSelected()\"\n (selectionChanged)=\"selectionChanged($event)\"\n></wlcm-table-row-actions>\n\n<ng-content select=\"wlcm-table-row-data\"></ng-content>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: WlcmTableRowActionsComponent, selector: "wlcm-table-row-actions", inputs: ["isSelected"], outputs: ["selectionChanged"] }] }); }
|
155
183
|
};
|
156
|
-
|
184
|
+
WlcmTableRowComponent = __decorate([
|
157
185
|
UntilDestroy(),
|
158
|
-
__metadata("design:paramtypes", [
|
159
|
-
|
160
|
-
|
161
|
-
type: Component,
|
162
|
-
args: [{ selector: 'wlcm-table-row-actions', host: { class: 'wlcm-table-row-actions' }, standalone: true, imports: [CommonModule, WlcmFormsModule, ReactiveFormsModule], template: "<wlcm-checkbox\n [formControl]=\"control\"\n (changed)=\"toggle($event)\"\n></wlcm-checkbox>\n" }]
|
163
|
-
}], ctorParameters: () => [{ type: WlcmTableSelectionModel }, { type: undefined, decorators: [{
|
164
|
-
type: Inject,
|
165
|
-
args: [WLCM_TABLE_ROW_CONTEXT]
|
166
|
-
}] }] });
|
167
|
-
|
168
|
-
class WlcmTableRowComponent {
|
169
|
-
get isSelected() {
|
170
|
-
return this._isSelected;
|
171
|
-
}
|
172
|
-
get first() {
|
173
|
-
return this.rowContext.first;
|
174
|
-
}
|
175
|
-
get last() {
|
176
|
-
return this.rowContext.last;
|
177
|
-
}
|
178
|
-
constructor(tableConfig, rowContext) {
|
179
|
-
this.tableConfig = tableConfig;
|
180
|
-
this.rowContext = rowContext;
|
181
|
-
this._isSelected = false;
|
182
|
-
}
|
183
|
-
handleSelectionChange(isSelected) {
|
184
|
-
this._isSelected = isSelected;
|
185
|
-
}
|
186
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: WlcmTableRowComponent, deps: [{ token: WLCM_TABLE_CONFIG }, { token: WLCM_TABLE_ROW_CONTEXT }], target: i0.ɵɵFactoryTarget.Component }); }
|
187
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.5", type: WlcmTableRowComponent, isStandalone: true, selector: "wlcm-table-row", host: { properties: { "class.wlcm-table-row-selected": "this.isSelected", "class.wlcm-table-row-first": "this.first", "class.wlcm-table-row-last": "this.last" }, classAttribute: "wlcm-table-row" }, ngImport: i0, template: "<wlcm-table-row-actions\n *ngIf=\"tableConfig.selectable\"\n (selectionChanged)=\"handleSelectionChange($event)\"\n></wlcm-table-row-actions>\n\n<ng-content select=\"wlcm-table-row-data\"></ng-content>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: WlcmTableRowActionsComponent, selector: "wlcm-table-row-actions", outputs: ["selectionChanged"] }] }); }
|
188
|
-
}
|
186
|
+
__metadata("design:paramtypes", [ElementRef,
|
187
|
+
WlcmTableSelectionModel, Object, Object])
|
188
|
+
], WlcmTableRowComponent);
|
189
189
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: WlcmTableRowComponent, decorators: [{
|
190
190
|
type: Component,
|
191
|
-
args: [{ selector: 'wlcm-table-row', host: { class: 'wlcm-table-row' }, standalone: true, imports: [CommonModule, WlcmTableRowActionsComponent], template: "<wlcm-table-row-actions\n *ngIf=\"tableConfig.selectable\"\n (selectionChanged)=\"
|
192
|
-
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
191
|
+
args: [{ selector: 'wlcm-table-row', host: { class: 'wlcm-table-row' }, standalone: true, imports: [CommonModule, WlcmTableRowActionsComponent], template: "<wlcm-table-row-actions\n *ngIf=\"tableConfig.selectable\"\n [isSelected]=\"isSelected()\"\n (selectionChanged)=\"selectionChanged($event)\"\n></wlcm-table-row-actions>\n\n<ng-content select=\"wlcm-table-row-data\"></ng-content>\n" }]
|
192
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: WlcmTableSelectionModel }, { type: undefined, decorators: [{
|
193
193
|
type: Inject,
|
194
194
|
args: [WLCM_TABLE_CONFIG]
|
195
195
|
}] }, { type: undefined, decorators: [{
|
196
196
|
type: Inject,
|
197
197
|
args: [WLCM_TABLE_ROW_CONTEXT]
|
198
|
-
}] }], propDecorators: {
|
199
|
-
type: HostBinding,
|
200
|
-
args: ['class.wlcm-table-row-selected']
|
201
|
-
}], first: [{
|
198
|
+
}] }], propDecorators: { first: [{
|
202
199
|
type: HostBinding,
|
203
200
|
args: ['class.wlcm-table-row-first']
|
204
201
|
}], last: [{
|
@@ -226,7 +223,7 @@ class WlcmTableComponent {
|
|
226
223
|
effect(() => this.selectionModel.updateCollection(this.rows().map(this.selectId())));
|
227
224
|
}
|
228
225
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: WlcmTableComponent, deps: [{ token: WlcmTableSelectionModel }], target: i0.ɵɵFactoryTarget.Component }); }
|
229
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.5", type: WlcmTableComponent, isStandalone: true, selector: "wlcm-table", inputs: { rows: { classPropertyName: "rows", publicName: "rows", isSignal: true, isRequired: false, transformFunction: null }, headTemplate: { classPropertyName: "headTemplate", publicName: "headTemplate", isSignal: true, isRequired: true, transformFunction: null }, rowTemplate: { classPropertyName: "rowTemplate", publicName: "rowTemplate", isSignal: true, isRequired: true, transformFunction: null }, selectId: { classPropertyName: "selectId", publicName: "selectId", isSignal: true, isRequired: true, transformFunction: null } }, host: { classAttribute: "wlcm-table" }, providers: [{ provide: WlcmTableSelectionModel, useClass: DefaultWlcmTableSelectionModel }], ngImport: i0, template: "<ng-container\n *ngTemplateOutlet=\"headTemplate(); injector: injector\"\n></ng-container>\n\n<tbody>\n @for (row of rows(); track row; let index = $index; let first = $first; let\n last = $last) {\n <wlcm-table-row-spacer></wlcm-table-row-spacer>\n\n <ng-container\n *rxLet=\"\n {\n $implicit: row,\n selectId: selectId(),\n index: index,\n first: first,\n last: last,\n };\n let context\n \"\n >\n <ng-container\n *ngTemplateOutlet=\"\n rowTemplate();\n context: context;\n injector: context | wlcmTableRowInjector\n \"\n >\n </ng-container>\n </ng-container>\n\n }\n</tbody>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type:
|
226
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.5", type: WlcmTableComponent, isStandalone: true, selector: "wlcm-table", inputs: { rows: { classPropertyName: "rows", publicName: "rows", isSignal: true, isRequired: false, transformFunction: null }, headTemplate: { classPropertyName: "headTemplate", publicName: "headTemplate", isSignal: true, isRequired: true, transformFunction: null }, rowTemplate: { classPropertyName: "rowTemplate", publicName: "rowTemplate", isSignal: true, isRequired: true, transformFunction: null }, selectId: { classPropertyName: "selectId", publicName: "selectId", isSignal: true, isRequired: true, transformFunction: null } }, host: { classAttribute: "wlcm-table" }, providers: [{ provide: WlcmTableSelectionModel, useClass: DefaultWlcmTableSelectionModel }], ngImport: i0, template: "<ng-container\n *ngTemplateOutlet=\"headTemplate(); injector: injector\"\n></ng-container>\n\n<tbody>\n @for (row of rows(); track row; let index = $index; let first = $first; let\n last = $last) {\n <wlcm-table-row-spacer></wlcm-table-row-spacer>\n\n <ng-container\n *rxLet=\"\n {\n $implicit: row,\n selectId: selectId(),\n index: index,\n first: first,\n last: last,\n };\n let context\n \"\n >\n <ng-container\n *ngTemplateOutlet=\"\n rowTemplate();\n context: context;\n injector: context | wlcmTableRowInjector\n \"\n >\n </ng-container>\n </ng-container>\n\n }\n</tbody>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "pipe", type: WlcmTableRowInjectorPipe, name: "wlcmTableRowInjector" }, { kind: "component", type: WlcmTableRowSpacerComponent, selector: "wlcm-table-row-spacer" }, { kind: "directive", type: RxLet, selector: "[rxLet]", inputs: ["rxLet", "rxLetStrategy", "rxLetComplete", "rxLetError", "rxLetSuspense", "rxLetContextTrigger", "rxLetCompleteTrigger", "rxLetErrorTrigger", "rxLetSuspenseTrigger", "rxLetNextTrigger", "rxLetRenderCallback", "rxLetParent", "rxLetPatchZone"], outputs: ["rendered"] }] }); }
|
230
227
|
}
|
231
228
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: WlcmTableComponent, decorators: [{
|
232
229
|
type: Component,
|
@@ -236,6 +233,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.5", ngImpor
|
|
236
233
|
WlcmTableRowComponent,
|
237
234
|
WlcmTableRowInjectorPipe,
|
238
235
|
WlcmTableRowSpacerComponent,
|
236
|
+
WlcmLoaderComponent,
|
239
237
|
RxLet,
|
240
238
|
], providers: [{ provide: WlcmTableSelectionModel, useClass: DefaultWlcmTableSelectionModel }], template: "<ng-container\n *ngTemplateOutlet=\"headTemplate(); injector: injector\"\n></ng-container>\n\n<tbody>\n @for (row of rows(); track row; let index = $index; let first = $first; let\n last = $last) {\n <wlcm-table-row-spacer></wlcm-table-row-spacer>\n\n <ng-container\n *rxLet=\"\n {\n $implicit: row,\n selectId: selectId(),\n index: index,\n first: first,\n last: last,\n };\n let context\n \"\n >\n <ng-container\n *ngTemplateOutlet=\"\n rowTemplate();\n context: context;\n injector: context | wlcmTableRowInjector\n \"\n >\n </ng-container>\n </ng-container>\n\n }\n</tbody>\n" }]
|
241
239
|
}], ctorParameters: () => [{ type: WlcmTableSelectionModel }] });
|
@@ -258,10 +256,37 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.5", ngImpor
|
|
258
256
|
args: [{ selector: 'wlcm-table-row-data', host: { class: 'wlcm-table-row-data' }, standalone: true, imports: [CommonModule], template: "<ng-content></ng-content>\n" }]
|
259
257
|
}] });
|
260
258
|
|
261
|
-
class WlcmScrollableTableContainerDirective {
|
262
|
-
|
263
|
-
|
264
|
-
|
259
|
+
let WlcmScrollableTableContainerDirective = class WlcmScrollableTableContainerDirective {
|
260
|
+
constructor(zone, elementRef) {
|
261
|
+
this.zone = zone;
|
262
|
+
this.elementRef = elementRef;
|
263
|
+
this.scrollDownOffsetPercent = input(0.8);
|
264
|
+
this.scrolledDown = output();
|
265
|
+
this.handleScrolling();
|
266
|
+
}
|
267
|
+
get element() {
|
268
|
+
return this.elementRef.nativeElement;
|
269
|
+
}
|
270
|
+
handleScrolling() {
|
271
|
+
this.zone.runOutsideAngular(() => {
|
272
|
+
fromEvent(this.element, 'scroll')
|
273
|
+
.pipe(debounceTime(50))
|
274
|
+
.pipe(untilDestroyed(this))
|
275
|
+
.subscribe(() => {
|
276
|
+
if (this.element.scrollHeight * this.scrollDownOffsetPercent() <=
|
277
|
+
this.element.scrollTop + this.element.clientHeight) {
|
278
|
+
this.zone.run(() => this.scrolledDown.emit());
|
279
|
+
}
|
280
|
+
});
|
281
|
+
});
|
282
|
+
}
|
283
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: WlcmScrollableTableContainerDirective, deps: [{ token: i0.NgZone }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
284
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "17.3.5", type: WlcmScrollableTableContainerDirective, isStandalone: true, selector: "[wlcmScrollableTableContainer]", inputs: { scrollDownOffsetPercent: { classPropertyName: "scrollDownOffsetPercent", publicName: "scrollDownOffsetPercent", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { scrolledDown: "scrolledDown" }, host: { classAttribute: "wlcm-scrollable-table-container" }, ngImport: i0 }); }
|
285
|
+
};
|
286
|
+
WlcmScrollableTableContainerDirective = __decorate([
|
287
|
+
UntilDestroy(),
|
288
|
+
__metadata("design:paramtypes", [NgZone, ElementRef])
|
289
|
+
], WlcmScrollableTableContainerDirective);
|
265
290
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: WlcmScrollableTableContainerDirective, decorators: [{
|
266
291
|
type: Directive,
|
267
292
|
args: [{
|
@@ -269,7 +294,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.5", ngImpor
|
|
269
294
|
host: { class: 'wlcm-scrollable-table-container' },
|
270
295
|
standalone: true,
|
271
296
|
}]
|
272
|
-
}] });
|
297
|
+
}], ctorParameters: () => [{ type: i0.NgZone }, { type: i0.ElementRef }] });
|
273
298
|
|
274
299
|
const publicComponents = [
|
275
300
|
WlcmTableComponent,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"wlcm-angular-table.mjs","sources":["../../../../modules/table/src/lib/models/table-selection-model.ts","../../../../modules/table/src/lib/constants/table-row.constants.ts","../../../../modules/table/src/lib/pipes/table-row-injector.pipe.ts","../../../../modules/table/src/lib/components/table-head-actions/table-head-actions.component.ts","../../../../modules/table/src/lib/components/table-head-actions/table-head-actions.component.html","../../../../modules/table/src/lib/constants/table.constants.ts","../../../../modules/table/src/lib/components/table-head/table-head.component.ts","../../../../modules/table/src/lib/components/table-head/table-head.component.html","../../../../modules/table/src/lib/components/table-row-actions/table-row-actions.component.ts","../../../../modules/table/src/lib/components/table-row-actions/table-row-actions.component.html","../../../../modules/table/src/lib/components/table-row/table-row.component.ts","../../../../modules/table/src/lib/components/table-row/table-row.component.html","../../../../modules/table/src/lib/components/table-row-spacer/table-row-spacer.component.ts","../../../../modules/table/src/lib/components/table-row-spacer/table-row-spacer.component.html","../../../../modules/table/src/lib/components/table/table.component.ts","../../../../modules/table/src/lib/components/table/table.component.html","../../../../modules/table/src/lib/components/table-head-data/table-head-data.component.ts","../../../../modules/table/src/lib/components/table-head-data/table-head-data.component.html","../../../../modules/table/src/lib/components/table-row-data/table-row-data.component.ts","../../../../modules/table/src/lib/components/table-row-data/table-row-data.component.html","../../../../modules/table/src/lib/directives/scrollable-table-container.directive.ts","../../../../modules/table/src/lib/table.module.ts","../../../../modules/table/src/wlcm-angular-table.ts"],"sourcesContent":["import { BehaviorSubject, Observable, map } from 'rxjs';\n\nexport abstract class WlcmTableSelectionModel {\n protected _selection: Set<string> = new Set();\n\n protected readonly _selectionChanged: BehaviorSubject<Set<string>> = new BehaviorSubject(this._selection);\n\n readonly selectionChanged: Observable<Set<string>> = this._selectionChanged.asObservable();\n\n abstract readonly allSelected: Observable<boolean>;\n\n abstract selectOne(value: string): void;\n\n abstract deselectOne(value: string): void;\n\n abstract selectAll(): void;\n\n abstract deselectAll(): void;\n\n abstract updateCollection(values: string[]): void;\n}\n\nexport class DefaultWlcmTableSelectionModel extends WlcmTableSelectionModel {\n private _values: string[] = [];\n\n private _selectAll: boolean = false;\n\n readonly allSelected: Observable<boolean> = this._selectionChanged.pipe(\n map(() => this._values.length > 0 && this._selection.size === this._values.length)\n );\n\n selectOne(value: string): void {\n this._selection.add(value);\n\n this.triggerSelectionChanged();\n }\n\n deselectOne(value: string): void {\n this._selectAll = false;\n\n this._selection.delete(value);\n\n this.triggerSelectionChanged();\n }\n\n selectAll(): void {\n this._selectAll = true;\n\n this._selection.clear();\n\n this._values.forEach((value: string) => this._selection.add(value));\n\n this.triggerSelectionChanged();\n }\n\n deselectAll(): void {\n this._selectAll = false;\n\n this._selection.clear();\n\n this.triggerSelectionChanged();\n }\n\n updateCollection(values: string[]): void {\n this._values = values;\n\n if (this._selectAll) this.selectAll();\n }\n\n private triggerSelectionChanged(): void {\n this._selectionChanged.next(this._selection);\n }\n}\n","import { InjectionToken } from '@angular/core';\nimport { WlcmTableRowContext } from '../models/table-row.models';\n\nexport const WLCM_TABLE_ROW_CONTEXT: InjectionToken<WlcmTableRowContext<unknown>> = new InjectionToken(\n 'WLCM_TABLE_ROW_CONTEXT'\n);\n","import { Injector, Pipe, PipeTransform, inject } from '@angular/core';\nimport { WlcmTableRowContext } from '../models/table-row.models';\nimport { WLCM_TABLE_ROW_CONTEXT } from '../constants/table-row.constants';\n\n@Pipe({\n name: 'wlcmTableRowInjector',\n standalone: true,\n})\nexport class WlcmTableRowInjectorPipe<T> implements PipeTransform {\n protected injector: Injector = inject(Injector);\n\n transform(context: WlcmTableRowContext<T>): Injector {\n return Injector.create({\n providers: [{ provide: WLCM_TABLE_ROW_CONTEXT, useValue: context }],\n parent: this.injector,\n });\n }\n}\n","import { Component } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { WlcmFormsModule } from '@wlcm/angular/forms';\nimport { WlcmTableSelectionModel } from '../../models/table-selection-model';\nimport { FormControl, ReactiveFormsModule } from '@angular/forms';\nimport { UntilDestroy, untilDestroyed } from '@ngneat/until-destroy';\n\n@UntilDestroy()\n@Component({\n selector: 'wlcm-table-head-actions',\n host: { class: 'wlcm-table-head-actions' },\n standalone: true,\n imports: [CommonModule, WlcmFormsModule, ReactiveFormsModule],\n templateUrl: './table-head-actions.component.html',\n styleUrl: './table-head-actions.component.scss',\n})\nexport class WlcmTableHeadActionsComponent {\n readonly control: FormControl = new FormControl(false);\n\n constructor(private selectionModel: WlcmTableSelectionModel) {\n this.handleSelectionChange();\n }\n\n toggle(isChecked: boolean): void {\n if (isChecked) {\n return this.selectionModel.selectAll();\n }\n\n this.selectionModel.deselectAll();\n }\n\n private handleSelectionChange(): void {\n this.selectionModel.allSelected\n .pipe(untilDestroyed(this))\n .subscribe((isSelected: boolean) => this.control.setValue(isSelected));\n }\n}\n","<wlcm-checkbox\n [formControl]=\"control\"\n (changed)=\"toggle($event)\"\n></wlcm-checkbox>\n","import { InjectionToken } from '@angular/core';\nimport { WlcmTableConfig } from '../models/table.models';\n\nexport const WLCM_TABLE_CONFIG: InjectionToken<WlcmTableConfig> = new InjectionToken('WLCM_TABLE_CONFIG', {\n factory: () => ({ selectable: false }),\n});\n","import { Component, Inject } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { WlcmTableHeadActionsComponent } from '../table-head-actions/table-head-actions.component';\nimport { WLCM_TABLE_CONFIG } from '../../constants/table.constants';\nimport { WlcmTableConfig } from '../../models/table.models';\n\n@Component({\n selector: 'wlcm-table-head',\n host: { class: 'wlcm-table-head' },\n standalone: true,\n imports: [CommonModule, WlcmTableHeadActionsComponent],\n templateUrl: './table-head.component.html',\n styleUrl: './table-head.component.scss',\n})\nexport class WlcmTableHeadComponent {\n constructor(@Inject(WLCM_TABLE_CONFIG) protected tableConfig: WlcmTableConfig) {}\n}\n","<wlcm-table-head-actions\n *ngIf=\"tableConfig.selectable\"\n></wlcm-table-head-actions>\n\n<ng-content select=\"wlcm-table-head-data\"></ng-content>\n","import { Component, Inject, OutputEmitterRef, output } from '@angular/core';\nimport { WlcmTableSelectionModel } from '../../models/table-selection-model';\nimport { WLCM_TABLE_ROW_CONTEXT } from '../../constants/table-row.constants';\nimport { WlcmTableRowContext } from '../../models/table-row.models';\nimport { FormControl, ReactiveFormsModule } from '@angular/forms';\nimport { UntilDestroy, untilDestroyed } from '@ngneat/until-destroy';\nimport { WlcmFormsModule } from '@wlcm/angular/forms';\nimport { CommonModule } from '@angular/common';\nimport { map } from 'rxjs';\n\n@UntilDestroy()\n@Component({\n selector: 'wlcm-table-row-actions',\n host: { class: 'wlcm-table-row-actions' },\n standalone: true,\n imports: [CommonModule, WlcmFormsModule, ReactiveFormsModule],\n templateUrl: './table-row-actions.component.html',\n styleUrl: './table-row-actions.component.scss',\n})\nexport class WlcmTableRowActionsComponent<T = unknown> {\n rowId!: string;\n\n readonly control: FormControl = new FormControl(false);\n\n selectionChanged: OutputEmitterRef<boolean> = output();\n\n constructor(\n private selectionModel: WlcmTableSelectionModel,\n @Inject(WLCM_TABLE_ROW_CONTEXT) private rowContext: WlcmTableRowContext<T>\n ) {\n this.rowId = this.rowContext.selectId(this.rowContext.$implicit);\n\n this.handleSelectionChange();\n }\n\n toggle(isChecked: boolean): void {\n if (isChecked) {\n return this.selectionModel.selectOne(this.rowId);\n }\n\n this.selectionModel.deselectOne(this.rowId);\n }\n\n private handleSelectionChange(): void {\n this.selectionModel.selectionChanged\n .pipe(untilDestroyed(this))\n .pipe(map((collection: Set<string>) => collection.has(this.rowId)))\n .subscribe((isSelected: boolean) => {\n this.control.setValue(isSelected);\n\n this.selectionChanged.emit(isSelected);\n });\n }\n}\n","<wlcm-checkbox\n [formControl]=\"control\"\n (changed)=\"toggle($event)\"\n></wlcm-checkbox>\n","import { Component, HostBinding, Inject } from '@angular/core';\nimport { WlcmTableRowActionsComponent } from '../table-row-actions/table-row-actions.component';\nimport { WLCM_TABLE_ROW_CONTEXT } from '../../constants/table-row.constants';\nimport { WLCM_TABLE_CONFIG } from '../../constants/table.constants';\nimport { WlcmTableRowContext } from '../../models/table-row.models';\nimport { WlcmTableConfig } from '../../models/table.models';\nimport { CommonModule } from '@angular/common';\n\n@Component({\n selector: 'wlcm-table-row',\n host: { class: 'wlcm-table-row' },\n standalone: true,\n imports: [CommonModule, WlcmTableRowActionsComponent],\n templateUrl: './table-row.component.html',\n styleUrl: './table-row.component.scss',\n})\nexport class WlcmTableRowComponent<T = unknown> {\n private _isSelected: boolean = false;\n\n @HostBinding('class.wlcm-table-row-selected') get isSelected() {\n return this._isSelected;\n }\n\n @HostBinding('class.wlcm-table-row-first') get first() {\n return this.rowContext.first;\n }\n\n @HostBinding('class.wlcm-table-row-last') get last() {\n return this.rowContext.last;\n }\n\n constructor(\n @Inject(WLCM_TABLE_CONFIG) protected tableConfig: WlcmTableConfig,\n @Inject(WLCM_TABLE_ROW_CONTEXT) private rowContext: WlcmTableRowContext<T>\n ) {}\n\n handleSelectionChange(isSelected: boolean): void {\n this._isSelected = isSelected;\n }\n}\n","<wlcm-table-row-actions\n *ngIf=\"tableConfig.selectable\"\n (selectionChanged)=\"handleSelectionChange($event)\"\n></wlcm-table-row-actions>\n\n<ng-content select=\"wlcm-table-row-data\"></ng-content>\n","import { Component } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\n@Component({\n selector: 'wlcm-table-row-spacer',\n host: { class: 'wlcm-table-row-spacer' },\n standalone: true,\n imports: [CommonModule],\n templateUrl: './table-row-spacer.component.html',\n styleUrl: './table-row-spacer.component.scss',\n})\nexport class WlcmTableRowSpacerComponent {}\n","","import { Component, Injector, InputSignal, TemplateRef, effect, inject, input } from '@angular/core';\nimport { DefaultWlcmTableSelectionModel, WlcmTableSelectionModel } from '../../models/table-selection-model';\nimport { WlcmTableRowInjectorPipe } from '../../pipes/table-row-injector.pipe';\nimport { WlcmTableHeadComponent } from '../table-head/table-head.component';\nimport { WlcmTableRowComponent } from '../table-row/table-row.component';\nimport { WlcmTableRowContext } from '../../models/table-row.models';\nimport { WlcmTableSelectIdFn } from '../../models/table.models';\nimport { WlcmTableRowSpacerComponent } from '../table-row-spacer/table-row-spacer.component';\nimport { RxLet } from '@rx-angular/template/let';\nimport { CommonModule } from '@angular/common';\n\n@Component({\n selector: 'wlcm-table',\n host: { class: 'wlcm-table' },\n standalone: true,\n imports: [\n CommonModule,\n WlcmTableHeadComponent,\n WlcmTableRowComponent,\n WlcmTableRowInjectorPipe,\n WlcmTableRowSpacerComponent,\n RxLet,\n ],\n providers: [{ provide: WlcmTableSelectionModel, useClass: DefaultWlcmTableSelectionModel }],\n templateUrl: './table.component.html',\n styleUrl: './table.component.scss',\n})\nexport class WlcmTableComponent<T = unknown> {\n rows: InputSignal<T[]> = input<T[]>([]);\n\n headTemplate: InputSignal<TemplateRef<void>> = input.required();\n\n rowTemplate: InputSignal<TemplateRef<WlcmTableRowContext<T>>> = input.required();\n\n selectId: InputSignal<WlcmTableSelectIdFn<T>> = input.required();\n\n injector: Injector = inject(Injector);\n\n constructor(private selectionModel: WlcmTableSelectionModel) {\n effect(() => this.selectionModel.updateCollection(this.rows().map(this.selectId())));\n }\n}\n","<ng-container\n *ngTemplateOutlet=\"headTemplate(); injector: injector\"\n></ng-container>\n\n<tbody>\n @for (row of rows(); track row; let index = $index; let first = $first; let\n last = $last) {\n <wlcm-table-row-spacer></wlcm-table-row-spacer>\n\n <ng-container\n *rxLet=\"\n {\n $implicit: row,\n selectId: selectId(),\n index: index,\n first: first,\n last: last,\n };\n let context\n \"\n >\n <ng-container\n *ngTemplateOutlet=\"\n rowTemplate();\n context: context;\n injector: context | wlcmTableRowInjector\n \"\n >\n </ng-container>\n </ng-container>\n\n }\n</tbody>\n","import { Component } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\n@Component({\n selector: 'wlcm-table-head-data',\n host: { class: 'wlcm-table-head-data' },\n standalone: true,\n imports: [CommonModule],\n templateUrl: './table-head-data.component.html',\n styleUrl: './table-head-data.component.scss',\n})\nexport class WlcmTableHeadDataComponent {}\n","<ng-content></ng-content>\n","import { Component } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\n@Component({\n selector: 'wlcm-table-row-data',\n host: { class: 'wlcm-table-row-data' },\n standalone: true,\n imports: [CommonModule],\n templateUrl: './table-row-data.component.html',\n styleUrl: './table-row-data.component.scss',\n})\nexport class WlcmTableRowDataComponent {}\n","<ng-content></ng-content>\n","import { Directive } from '@angular/core';\n\n@Directive({\n selector: '[wlcmScrollableTableContainer]',\n host: { class: 'wlcm-scrollable-table-container' },\n standalone: true,\n})\nexport class WlcmScrollableTableContainerDirective {}\n","import { NgModule, Type } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { WlcmTableComponent } from './components/table/table.component';\nimport { WlcmTableHeadComponent } from './components/table-head/table-head.component';\nimport { WlcmTableHeadDataComponent } from './components/table-head-data/table-head-data.component';\nimport { WlcmTableRowComponent } from './components/table-row/table-row.component';\nimport { WlcmTableRowDataComponent } from './components/table-row-data/table-row-data.component';\nimport { WlcmScrollableTableContainerDirective } from './directives/scrollable-table-container.directive';\n\nconst publicComponents: Type<unknown>[] = [\n WlcmTableComponent,\n WlcmTableHeadComponent,\n WlcmTableHeadDataComponent,\n WlcmTableRowDataComponent,\n WlcmTableRowComponent,\n];\n\nconst publicDirectives: Type<unknown>[] = [WlcmScrollableTableContainerDirective];\n\n@NgModule({\n imports: [CommonModule, ...publicComponents, ...publicDirectives],\n exports: [...publicComponents, ...publicDirectives],\n})\nexport class WlcmTableModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1.WlcmTableSelectionModel"],"mappings":";;;;;;;;;;;;;MAEsB,uBAAuB,CAAA;AAA7C,IAAA,WAAA,GAAA;AACY,QAAA,IAAA,CAAA,UAAU,GAAgB,IAAI,GAAG,EAAE,CAAC;QAE3B,IAAiB,CAAA,iBAAA,GAAiC,IAAI,eAAe,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;AAEjG,QAAA,IAAA,CAAA,gBAAgB,GAA4B,IAAI,CAAC,iBAAiB,CAAC,YAAY,EAAE,CAAC;KAa5F;AAAA,CAAA;AAEK,MAAO,8BAA+B,SAAQ,uBAAuB,CAAA;AAA3E,IAAA,WAAA,GAAA;;QACU,IAAO,CAAA,OAAA,GAAa,EAAE,CAAC;QAEvB,IAAU,CAAA,UAAA,GAAY,KAAK,CAAC;AAE3B,QAAA,IAAA,CAAA,WAAW,GAAwB,IAAI,CAAC,iBAAiB,CAAC,IAAI,CACrE,GAAG,CAAC,MAAM,IAAI,CAAC,OAAO,CAAC,MAAM,GAAG,CAAC,IAAI,IAAI,CAAC,UAAU,CAAC,IAAI,KAAK,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,CACnF,CAAC;KA2CH;AAzCC,IAAA,SAAS,CAAC,KAAa,EAAA;AACrB,QAAA,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;QAE3B,IAAI,CAAC,uBAAuB,EAAE,CAAC;KAChC;AAED,IAAA,WAAW,CAAC,KAAa,EAAA;AACvB,QAAA,IAAI,CAAC,UAAU,GAAG,KAAK,CAAC;AAExB,QAAA,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QAE9B,IAAI,CAAC,uBAAuB,EAAE,CAAC;KAChC;IAED,SAAS,GAAA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E,kBAAkB;YAClB,sBAAsB;YACtB,0BAA0B;YAC1B,yBAAyB;AACzB,YAAA,qBAAqB,EAGoB,qCAAqC,CAAA,EAAA,CAAA,CAAA,EAAA;+GAMnE,eAAe,EAAA,OAAA,EAAA,CAHhB,YAAY,EAAK,gBAAgB,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAGhC,eAAe,EAAA,UAAA,EAAA,CAAA;kBAJ3B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,YAAY,EAAE,GAAG,gBAAgB,EAAE,GAAG,gBAAgB,CAAC;AACjE,oBAAA,OAAO,EAAE,CAAC,GAAG,gBAAgB,EAAE,GAAG,gBAAgB,CAAC;AACpD,iBAAA,CAAA;;;ACtBD;;AAEG;;;;"}
|
1
|
+
{"version":3,"file":"wlcm-angular-table.mjs","sources":["../../../../modules/table/src/lib/models/table-selection-model.ts","../../../../modules/table/src/lib/constants/table-row.constants.ts","../../../../modules/table/src/lib/pipes/table-row-injector.pipe.ts","../../../../modules/table/src/lib/components/table-head-actions/table-head-actions.component.ts","../../../../modules/table/src/lib/components/table-head-actions/table-head-actions.component.html","../../../../modules/table/src/lib/constants/table.constants.ts","../../../../modules/table/src/lib/components/table-head/table-head.component.ts","../../../../modules/table/src/lib/components/table-head/table-head.component.html","../../../../modules/table/src/lib/components/table-row-actions/table-row-actions.component.ts","../../../../modules/table/src/lib/components/table-row-actions/table-row-actions.component.html","../../../../modules/table/src/lib/components/table-row/table-row.component.ts","../../../../modules/table/src/lib/components/table-row/table-row.component.html","../../../../modules/table/src/lib/components/table-row-spacer/table-row-spacer.component.ts","../../../../modules/table/src/lib/components/table-row-spacer/table-row-spacer.component.html","../../../../modules/table/src/lib/components/table/table.component.ts","../../../../modules/table/src/lib/components/table/table.component.html","../../../../modules/table/src/lib/components/table-head-data/table-head-data.component.ts","../../../../modules/table/src/lib/components/table-head-data/table-head-data.component.html","../../../../modules/table/src/lib/components/table-row-data/table-row-data.component.ts","../../../../modules/table/src/lib/components/table-row-data/table-row-data.component.html","../../../../modules/table/src/lib/directives/scrollable-table-container.directive.ts","../../../../modules/table/src/lib/table.module.ts","../../../../modules/table/src/wlcm-angular-table.ts"],"sourcesContent":["import { BehaviorSubject, Observable, map } from 'rxjs';\n\nexport abstract class WlcmTableSelectionModel {\n protected _selection: Set<string> = new Set();\n\n protected readonly _selectionChanged: BehaviorSubject<Set<string>> = new BehaviorSubject(this._selection);\n\n readonly selectionChanged: Observable<Set<string>> = this._selectionChanged.asObservable();\n\n abstract readonly allSelected: Observable<boolean>;\n\n abstract selectOne(value: string): void;\n\n abstract deselectOne(value: string): void;\n\n abstract selectAll(): void;\n\n abstract deselectAll(): void;\n\n abstract updateCollection(values: string[]): void;\n}\n\nexport class DefaultWlcmTableSelectionModel extends WlcmTableSelectionModel {\n private _values: string[] = [];\n\n private _selectAll: boolean = false;\n\n readonly allSelected: Observable<boolean> = this._selectionChanged.pipe(\n map(() => this._values.length > 0 && this._selection.size === this._values.length)\n );\n\n selectOne(value: string): void {\n this._selection.add(value);\n\n this.triggerSelectionChanged();\n }\n\n deselectOne(value: string): void {\n this._selectAll = false;\n\n this._selection.delete(value);\n\n this.triggerSelectionChanged();\n }\n\n selectAll(): void {\n this._selectAll = true;\n\n this._selection.clear();\n\n this._values.forEach((value: string) => this._selection.add(value));\n\n this.triggerSelectionChanged();\n }\n\n deselectAll(): void {\n this._selectAll = false;\n\n this._selection.clear();\n\n this.triggerSelectionChanged();\n }\n\n updateCollection(values: string[]): void {\n this._values = values;\n\n if (this._selectAll) this.selectAll();\n }\n\n private triggerSelectionChanged(): void {\n this._selectionChanged.next(this._selection);\n }\n}\n","import { InjectionToken } from '@angular/core';\nimport { WlcmTableRowContext } from '../models/table-row.models';\n\nexport const WLCM_TABLE_ROW_CONTEXT: InjectionToken<WlcmTableRowContext<unknown>> = new InjectionToken(\n 'WLCM_TABLE_ROW_CONTEXT'\n);\n","import { Injector, Pipe, PipeTransform, inject } from '@angular/core';\nimport { WlcmTableRowContext } from '../models/table-row.models';\nimport { WLCM_TABLE_ROW_CONTEXT } from '../constants/table-row.constants';\n\n@Pipe({\n name: 'wlcmTableRowInjector',\n standalone: true,\n})\nexport class WlcmTableRowInjectorPipe<T> implements PipeTransform {\n protected injector: Injector = inject(Injector);\n\n transform(context: WlcmTableRowContext<T>): Injector {\n return Injector.create({\n providers: [{ provide: WLCM_TABLE_ROW_CONTEXT, useValue: context }],\n parent: this.injector,\n });\n }\n}\n","import { Component } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { WlcmFormsModule } from '@wlcm/angular/forms';\nimport { WlcmTableSelectionModel } from '../../models/table-selection-model';\nimport { FormControl, ReactiveFormsModule } from '@angular/forms';\nimport { UntilDestroy, untilDestroyed } from '@ngneat/until-destroy';\n\n@UntilDestroy()\n@Component({\n selector: 'wlcm-table-head-actions',\n host: { class: 'wlcm-table-head-actions' },\n standalone: true,\n imports: [CommonModule, WlcmFormsModule, ReactiveFormsModule],\n templateUrl: './table-head-actions.component.html',\n styleUrl: './table-head-actions.component.scss',\n})\nexport class WlcmTableHeadActionsComponent {\n readonly control: FormControl = new FormControl(false);\n\n constructor(private selectionModel: WlcmTableSelectionModel) {\n this.handleSelectionChange();\n }\n\n toggle(isChecked: boolean): void {\n if (isChecked) {\n return this.selectionModel.selectAll();\n }\n\n this.selectionModel.deselectAll();\n }\n\n private handleSelectionChange(): void {\n this.selectionModel.allSelected\n .pipe(untilDestroyed(this))\n .subscribe((isSelected: boolean) => this.control.setValue(isSelected));\n }\n}\n","<wlcm-checkbox\n [formControl]=\"control\"\n (changed)=\"toggle($event)\"\n></wlcm-checkbox>\n","import { InjectionToken } from '@angular/core';\nimport { WlcmTableConfig } from '../models/table.models';\n\nexport const WLCM_TABLE_CONFIG: InjectionToken<WlcmTableConfig> = new InjectionToken('WLCM_TABLE_CONFIG', {\n factory: () => ({ selectable: false }),\n});\n","import { Component, Inject } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { WlcmTableHeadActionsComponent } from '../table-head-actions/table-head-actions.component';\nimport { WLCM_TABLE_CONFIG } from '../../constants/table.constants';\nimport { WlcmTableConfig } from '../../models/table.models';\n\n@Component({\n selector: 'wlcm-table-head',\n host: { class: 'wlcm-table-head' },\n standalone: true,\n imports: [CommonModule, WlcmTableHeadActionsComponent],\n templateUrl: './table-head.component.html',\n styleUrl: './table-head.component.scss',\n})\nexport class WlcmTableHeadComponent {\n constructor(@Inject(WLCM_TABLE_CONFIG) protected tableConfig: WlcmTableConfig) {}\n}\n","<wlcm-table-head-actions\n *ngIf=\"tableConfig.selectable\"\n></wlcm-table-head-actions>\n\n<ng-content select=\"wlcm-table-head-data\"></ng-content>\n","import { Component, InputSignal, OutputEmitterRef, input, output } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\n\nimport { WlcmFormsModule } from '@wlcm/angular/forms';\nimport { CommonModule } from '@angular/common';\n\n@Component({\n selector: 'wlcm-table-row-actions',\n host: { class: 'wlcm-table-row-actions' },\n standalone: true,\n imports: [CommonModule, WlcmFormsModule, FormsModule],\n templateUrl: './table-row-actions.component.html',\n styleUrl: './table-row-actions.component.scss',\n})\nexport class WlcmTableRowActionsComponent<T = unknown> {\n isSelected: InputSignal<boolean> = input.required();\n\n selectionChanged: OutputEmitterRef<boolean> = output();\n}\n","<wlcm-checkbox\n [ngModel]=\"isSelected()\"\n (changed)=\"selectionChanged.emit($event)\"\n></wlcm-checkbox>\n","import { Component, ElementRef, HostBinding, Inject, WritableSignal, signal } from '@angular/core';\nimport { WlcmTableRowActionsComponent } from '../table-row-actions/table-row-actions.component';\nimport { WLCM_TABLE_ROW_CONTEXT } from '../../constants/table-row.constants';\nimport { WlcmTableSelectionModel } from '../../models/table-selection-model';\nimport { WLCM_TABLE_CONFIG } from '../../constants/table.constants';\nimport { WlcmTableRowContext } from '../../models/table-row.models';\nimport { UntilDestroy, untilDestroyed } from '@ngneat/until-destroy';\nimport { WlcmTableConfig } from '../../models/table.models';\nimport { CommonModule } from '@angular/common';\nimport { filter, map } from 'rxjs';\n\n@UntilDestroy()\n@Component({\n selector: 'wlcm-table-row',\n host: { class: 'wlcm-table-row' },\n standalone: true,\n imports: [CommonModule, WlcmTableRowActionsComponent],\n templateUrl: './table-row.component.html',\n styleUrl: './table-row.component.scss',\n})\nexport class WlcmTableRowComponent<T = unknown> {\n rowId!: string;\n\n isSelected: WritableSignal<boolean> = signal(false);\n\n @HostBinding('class.wlcm-table-row-first') get first() {\n return this.rowContext.first;\n }\n\n @HostBinding('class.wlcm-table-row-last') get last() {\n return this.rowContext.last;\n }\n\n constructor(\n private elementRef: ElementRef<HTMLElement>,\n private selectionModel: WlcmTableSelectionModel,\n @Inject(WLCM_TABLE_CONFIG) protected tableConfig: WlcmTableConfig,\n @Inject(WLCM_TABLE_ROW_CONTEXT) private rowContext: WlcmTableRowContext<T>\n ) {\n this.rowId = this.rowContext.selectId(this.rowContext.$implicit);\n\n this.handleSelectionChanges();\n }\n\n selectionChanged(isSelected: boolean): void {\n if (isSelected) {\n return this.selectionModel.selectOne(this.rowId);\n }\n\n this.selectionModel.deselectOne(this.rowId);\n\n this.isSelected.set(isSelected);\n }\n\n private handleSelectionChanges(): void {\n this.selectionModel.selectionChanged\n .pipe(untilDestroyed(this))\n .pipe(map((collection: Set<string>) => collection.has(this.rowId)))\n .pipe(filter((isSelected: boolean) => isSelected !== this.isSelected()))\n .subscribe((isSelected: boolean) => {\n this.isSelected.set(isSelected);\n\n if (isSelected) {\n this.elementRef.nativeElement.classList.add('wlcm-table-row-selected');\n } else {\n this.elementRef.nativeElement.classList.remove('wlcm-table-row-selected');\n }\n });\n }\n}\n","<wlcm-table-row-actions\n *ngIf=\"tableConfig.selectable\"\n [isSelected]=\"isSelected()\"\n (selectionChanged)=\"selectionChanged($event)\"\n></wlcm-table-row-actions>\n\n<ng-content select=\"wlcm-table-row-data\"></ng-content>\n","import { Component } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\n@Component({\n selector: 'wlcm-table-row-spacer',\n host: { class: 'wlcm-table-row-spacer' },\n standalone: true,\n imports: [CommonModule],\n templateUrl: './table-row-spacer.component.html',\n styleUrl: './table-row-spacer.component.scss',\n})\nexport class WlcmTableRowSpacerComponent {}\n","","import { Component, Injector, InputSignal, TemplateRef, effect, inject, input } from '@angular/core';\nimport { DefaultWlcmTableSelectionModel, WlcmTableSelectionModel } from '../../models/table-selection-model';\nimport { WlcmTableRowInjectorPipe } from '../../pipes/table-row-injector.pipe';\nimport { WlcmTableHeadComponent } from '../table-head/table-head.component';\nimport { WlcmTableRowComponent } from '../table-row/table-row.component';\nimport { WlcmTableRowContext } from '../../models/table-row.models';\nimport { WlcmTableSelectIdFn } from '../../models/table.models';\nimport { WlcmTableRowSpacerComponent } from '../table-row-spacer/table-row-spacer.component';\nimport { RxLet } from '@rx-angular/template/let';\nimport { CommonModule } from '@angular/common';\nimport { WlcmLoaderComponent } from '@wlcm/angular/core';\n\n@Component({\n selector: 'wlcm-table',\n host: { class: 'wlcm-table' },\n standalone: true,\n imports: [\n CommonModule,\n WlcmTableHeadComponent,\n WlcmTableRowComponent,\n WlcmTableRowInjectorPipe,\n WlcmTableRowSpacerComponent,\n WlcmLoaderComponent,\n RxLet,\n ],\n providers: [{ provide: WlcmTableSelectionModel, useClass: DefaultWlcmTableSelectionModel }],\n templateUrl: './table.component.html',\n styleUrl: './table.component.scss',\n})\nexport class WlcmTableComponent<T = unknown> {\n rows: InputSignal<T[]> = input<T[]>([]);\n\n headTemplate: InputSignal<TemplateRef<void>> = input.required();\n\n rowTemplate: InputSignal<TemplateRef<WlcmTableRowContext<T>>> = input.required();\n\n selectId: InputSignal<WlcmTableSelectIdFn<T>> = input.required();\n\n injector: Injector = inject(Injector);\n\n constructor(private selectionModel: WlcmTableSelectionModel) {\n effect(() => this.selectionModel.updateCollection(this.rows().map(this.selectId())));\n }\n}\n","<ng-container\n *ngTemplateOutlet=\"headTemplate(); injector: injector\"\n></ng-container>\n\n<tbody>\n @for (row of rows(); track row; let index = $index; let first = $first; let\n last = $last) {\n <wlcm-table-row-spacer></wlcm-table-row-spacer>\n\n <ng-container\n *rxLet=\"\n {\n $implicit: row,\n selectId: selectId(),\n index: index,\n first: first,\n last: last,\n };\n let context\n \"\n >\n <ng-container\n *ngTemplateOutlet=\"\n rowTemplate();\n context: context;\n injector: context | wlcmTableRowInjector\n \"\n >\n </ng-container>\n </ng-container>\n\n }\n</tbody>\n","import { Component } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\n@Component({\n selector: 'wlcm-table-head-data',\n host: { class: 'wlcm-table-head-data' },\n standalone: true,\n imports: [CommonModule],\n templateUrl: './table-head-data.component.html',\n styleUrl: './table-head-data.component.scss',\n})\nexport class WlcmTableHeadDataComponent {}\n","<ng-content></ng-content>\n","import { Component } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\n@Component({\n selector: 'wlcm-table-row-data',\n host: { class: 'wlcm-table-row-data' },\n standalone: true,\n imports: [CommonModule],\n templateUrl: './table-row-data.component.html',\n styleUrl: './table-row-data.component.scss',\n})\nexport class WlcmTableRowDataComponent {}\n","<ng-content></ng-content>\n","import { Directive, ElementRef, InputSignal, NgZone, OutputEmitterRef, input, output } from '@angular/core';\nimport { UntilDestroy, untilDestroyed } from '@ngneat/until-destroy';\nimport { debounceTime, fromEvent } from 'rxjs';\n\n@UntilDestroy()\n@Directive({\n selector: '[wlcmScrollableTableContainer]',\n host: { class: 'wlcm-scrollable-table-container' },\n standalone: true,\n})\nexport class WlcmScrollableTableContainerDirective {\n scrollDownOffsetPercent: InputSignal<number> = input(0.8);\n\n scrolledDown: OutputEmitterRef<void> = output();\n\n constructor(private zone: NgZone, private elementRef: ElementRef<HTMLElement>) {\n this.handleScrolling();\n }\n\n private get element(): HTMLElement {\n return this.elementRef.nativeElement;\n }\n\n private handleScrolling(): void {\n this.zone.runOutsideAngular(() => {\n fromEvent(this.element, 'scroll')\n .pipe(debounceTime(50))\n .pipe(untilDestroyed(this))\n .subscribe(() => {\n if (\n this.element.scrollHeight * this.scrollDownOffsetPercent() <=\n this.element.scrollTop + this.element.clientHeight\n ) {\n this.zone.run(() => this.scrolledDown.emit());\n }\n });\n });\n }\n}\n","import { NgModule, Type } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { WlcmTableComponent } from './components/table/table.component';\nimport { WlcmTableHeadComponent } from './components/table-head/table-head.component';\nimport { WlcmTableHeadDataComponent } from './components/table-head-data/table-head-data.component';\nimport { WlcmTableRowComponent } from './components/table-row/table-row.component';\nimport { WlcmTableRowDataComponent } from './components/table-row-data/table-row-data.component';\nimport { WlcmScrollableTableContainerDirective } from './directives/scrollable-table-container.directive';\n\nconst publicComponents: Type<unknown>[] = [\n WlcmTableComponent,\n WlcmTableHeadComponent,\n WlcmTableHeadDataComponent,\n WlcmTableRowDataComponent,\n WlcmTableRowComponent,\n];\n\nconst publicDirectives: Type<unknown>[] = [WlcmScrollableTableContainerDirective];\n\n@NgModule({\n imports: [CommonModule, ...publicComponents, ...publicDirectives],\n exports: [...publicComponents, ...publicDirectives],\n})\nexport class WlcmTableModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1.WlcmTableSelectionModel","i2"],"mappings":";;;;;;;;;;;;;;MAEsB,uBAAuB,CAAA;AAA7C,IAAA,WAAA,GAAA;AACY,QAAA,IAAA,CAAA,UAAU,GAAgB,IAAI,GAAG,EAAE,CAAC;QAE3B,IAAiB,CAAA,iBAAA,GAAiC,IAAI,eAAe,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;AAEjG,QAAA,IAAA,CAAA,gBAAgB,GAA4B,IAAI,CAAC,iBAAiB,CAAC,YAAY,EAAE,CAAC;KAa5F;AAAA,CAAA;AAEK,MAAO,8BAA+B,SAAQ,uBAAuB,CAAA;AAA3E,IAAA,WAAA,GAAA;;QACU,IAAO,CAAA,OAAA,GAAa,EAAE,CAAC;QAEvB,IAAU,CAAA,UAAA,GAAY,KAAK,CAAC;AAE3B,QAAA,IAA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EAAE,CAAC,YAAY,EAAE,GAAG,gBAAgB,EAAE,GAAG,gBAAgB,CAAC;AACjE,oBAAA,OAAO,EAAE,CAAC,GAAG,gBAAgB,EAAE,GAAG,gBAAgB,CAAC;AACpD,iBAAA,CAAA;;;ACtBD;;AAEG;;;;"}
|
@@ -1,15 +1,20 @@
|
|
1
|
+
import { ElementRef, WritableSignal } from '@angular/core';
|
2
|
+
import { WlcmTableSelectionModel } from '../../models/table-selection-model';
|
1
3
|
import { WlcmTableRowContext } from '../../models/table-row.models';
|
2
4
|
import { WlcmTableConfig } from '../../models/table.models';
|
3
5
|
import * as i0 from "@angular/core";
|
4
6
|
export declare class WlcmTableRowComponent<T = unknown> {
|
7
|
+
private elementRef;
|
8
|
+
private selectionModel;
|
5
9
|
protected tableConfig: WlcmTableConfig;
|
6
10
|
private rowContext;
|
7
|
-
|
8
|
-
|
11
|
+
rowId: string;
|
12
|
+
isSelected: WritableSignal<boolean>;
|
9
13
|
get first(): boolean;
|
10
14
|
get last(): boolean;
|
11
|
-
constructor(tableConfig: WlcmTableConfig, rowContext: WlcmTableRowContext<T>);
|
12
|
-
|
15
|
+
constructor(elementRef: ElementRef<HTMLElement>, selectionModel: WlcmTableSelectionModel, tableConfig: WlcmTableConfig, rowContext: WlcmTableRowContext<T>);
|
16
|
+
selectionChanged(isSelected: boolean): void;
|
17
|
+
private handleSelectionChanges;
|
13
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<WlcmTableRowComponent<any>, never>;
|
14
19
|
static ɵcmp: i0.ɵɵComponentDeclaration<WlcmTableRowComponent<any>, "wlcm-table-row", never, {}, {}, never, ["wlcm-table-row-data"], true, never>;
|
15
20
|
}
|
@@ -1,17 +1,8 @@
|
|
1
|
-
import { OutputEmitterRef } from '@angular/core';
|
2
|
-
import { WlcmTableSelectionModel } from '../../models/table-selection-model';
|
3
|
-
import { WlcmTableRowContext } from '../../models/table-row.models';
|
4
|
-
import { FormControl } from '@angular/forms';
|
1
|
+
import { InputSignal, OutputEmitterRef } from '@angular/core';
|
5
2
|
import * as i0 from "@angular/core";
|
6
3
|
export declare class WlcmTableRowActionsComponent<T = unknown> {
|
7
|
-
|
8
|
-
private rowContext;
|
9
|
-
rowId: string;
|
10
|
-
readonly control: FormControl;
|
4
|
+
isSelected: InputSignal<boolean>;
|
11
5
|
selectionChanged: OutputEmitterRef<boolean>;
|
12
|
-
constructor(selectionModel: WlcmTableSelectionModel, rowContext: WlcmTableRowContext<T>);
|
13
|
-
toggle(isChecked: boolean): void;
|
14
|
-
private handleSelectionChange;
|
15
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<WlcmTableRowActionsComponent<any>, never>;
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WlcmTableRowActionsComponent<any>, "wlcm-table-row-actions", never, {}, { "selectionChanged": "selectionChanged"; }, never, never, true, never>;
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WlcmTableRowActionsComponent<any>, "wlcm-table-row-actions", never, { "isSelected": { "alias": "isSelected"; "required": true; "isSignal": true; }; }, { "selectionChanged": "selectionChanged"; }, never, never, true, never>;
|
17
8
|
}
|
@@ -1,5 +1,13 @@
|
|
1
|
+
import { ElementRef, InputSignal, NgZone, OutputEmitterRef } from '@angular/core';
|
1
2
|
import * as i0 from "@angular/core";
|
2
3
|
export declare class WlcmScrollableTableContainerDirective {
|
4
|
+
private zone;
|
5
|
+
private elementRef;
|
6
|
+
scrollDownOffsetPercent: InputSignal<number>;
|
7
|
+
scrolledDown: OutputEmitterRef<void>;
|
8
|
+
constructor(zone: NgZone, elementRef: ElementRef<HTMLElement>);
|
9
|
+
private get element();
|
10
|
+
private handleScrolling;
|
3
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<WlcmScrollableTableContainerDirective, never>;
|
4
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<WlcmScrollableTableContainerDirective, "[wlcmScrollableTableContainer]", never, {}, {}, never, never, true, never>;
|
12
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<WlcmScrollableTableContainerDirective, "[wlcmScrollableTableContainer]", never, { "scrollDownOffsetPercent": { "alias": "scrollDownOffsetPercent"; "required": false; "isSignal": true; }; }, { "scrolledDown": "scrolledDown"; }, never, never, true, never>;
|
5
13
|
}
|
/package/core/lib/components/{calendar-icon → icons/calendar-icon}/calendar-icon.component.d.ts
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|