@one-paragon/angular-utilities 2.0.14 → 2.0.15
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/fesm2022/one-paragon-angular-utilities.mjs +35 -78
- package/fesm2022/one-paragon-angular-utilities.mjs.map +1 -1
- package/package.json +1 -1
- package/table-builder/components/initialization-component/initialization-component.d.ts +9 -9
- package/table-builder/components/link-column.component.d.ts +4 -4
- package/table-builder/services/table-template-service.d.ts +5 -5
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Directive, Input, inject, Injector, TemplateRef, ViewContainerRef, NgModule, assertInInjectionContext, DestroyRef, computed, isSignal, Injectable, Pipe, input, signal, Renderer2, ElementRef, booleanAttribute, InjectionToken, makeEnvironmentProviders, Component, ChangeDetectionStrategy, HostListener, EventEmitter, untracked, Output, effect, ContentChildren, ChangeDetectorRef, output,
|
|
2
|
+
import { Directive, Input, inject, Injector, TemplateRef, ViewContainerRef, NgModule, assertInInjectionContext, DestroyRef, computed, isSignal, Injectable, Pipe, input, signal, Renderer2, ElementRef, booleanAttribute, InjectionToken, makeEnvironmentProviders, Component, ChangeDetectionStrategy, HostListener, EventEmitter, untracked, Output, effect, ContentChildren, ChangeDetectorRef, output, viewChild, EnvironmentInjector, createComponent, linkedSignal, contentChild, forwardRef, contentChildren, model, runInInjectionContext, provideAppInitializer } from '@angular/core';
|
|
3
3
|
import { shareReplay, switchAll, map, filter, tap, catchError, startWith, switchMap, mergeMap, concatMap as concatMap$1, takeUntil, distinctUntilChanged, observeOn, debounceTime, scan as scan$1, timestamp as timestamp$1, first as first$1 } from 'rxjs/operators';
|
|
4
4
|
import * as i1 from 'rxjs';
|
|
5
5
|
import { Subject, isObservable, of, ReplaySubject, filter as filter$1, first, map as map$1, Observable, combineLatest, Subscription, startWith as startWith$1, pairwise, concatMap, merge, delay, fromEvent, takeUntil as takeUntil$1, tap as tap$1, switchMap as switchMap$1, scan, timestamp, animationFrameScheduler, debounceTime as debounceTime$1, BehaviorSubject } from 'rxjs';
|
|
@@ -3262,11 +3262,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0", ngImpor
|
|
|
3262
3262
|
class RouterLinkColumnComponent {
|
|
3263
3263
|
additional = input.required();
|
|
3264
3264
|
element = input.required();
|
|
3265
|
-
link = computed(() => this.additional().link(this.element()));
|
|
3266
3265
|
queryParams = computed(() => this.additional().routerLinkOptions.queryParams(this.element()));
|
|
3267
3266
|
routerLinkOptions = computed(() => this.additional().routerLinkOptions);
|
|
3267
|
+
link = input.required();
|
|
3268
3268
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: RouterLinkColumnComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3269
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.0.0", type: RouterLinkColumnComponent, isStandalone: true, selector: "tb-router-link-column", inputs: { additional: { classPropertyName: "additional", publicName: "additional", isSignal: true, isRequired: true, transformFunction: null }, element: { classPropertyName: "element", publicName: "element", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: `
|
|
3269
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.0.0", type: RouterLinkColumnComponent, isStandalone: true, selector: "tb-router-link-column", inputs: { additional: { classPropertyName: "additional", publicName: "additional", isSignal: true, isRequired: true, transformFunction: null }, element: { classPropertyName: "element", publicName: "element", isSignal: true, isRequired: true, transformFunction: null }, link: { classPropertyName: "link", publicName: "link", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: `
|
|
3270
3270
|
<a target="{{additional().target}}"
|
|
3271
3271
|
[routerLink]=" [link()]"
|
|
3272
3272
|
[queryParams]="queryParams()"
|
|
@@ -3302,9 +3302,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0", ngImpor
|
|
|
3302
3302
|
class LinkColumnComponent {
|
|
3303
3303
|
element = input.required();
|
|
3304
3304
|
additional = input.required();
|
|
3305
|
-
link =
|
|
3305
|
+
link = input.required();
|
|
3306
3306
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: LinkColumnComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3307
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.0.0", type: LinkColumnComponent, isStandalone: true, selector: "tb-link-column", inputs: { element: { classPropertyName: "element", publicName: "element", isSignal: true, isRequired: true, transformFunction: null }, additional: { classPropertyName: "additional", publicName: "additional", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: `
|
|
3307
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.0.0", type: LinkColumnComponent, isStandalone: true, selector: "tb-link-column", inputs: { element: { classPropertyName: "element", publicName: "element", isSignal: true, isRequired: true, transformFunction: null }, additional: { classPropertyName: "additional", publicName: "additional", isSignal: true, isRequired: true, transformFunction: null }, link: { classPropertyName: "link", publicName: "link", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: `
|
|
3308
3308
|
<a target="{{additional().target}}" href="{{link()}}">
|
|
3309
3309
|
<ng-content></ng-content>
|
|
3310
3310
|
</a>
|
|
@@ -3373,111 +3373,68 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0", ngImpor
|
|
|
3373
3373
|
}] });
|
|
3374
3374
|
|
|
3375
3375
|
class InitializationComponent {
|
|
3376
|
-
linkTemplate;
|
|
3377
|
-
routerLinkTemplate;
|
|
3378
|
-
linkWithIconTemplate;
|
|
3379
|
-
routerLinkWithIconTemplate;
|
|
3380
|
-
imageUrlTemplate;
|
|
3381
|
-
arrayNewLineTemplate;
|
|
3382
|
-
arrayCommaTemplate;
|
|
3383
|
-
defaultTemplate;
|
|
3384
|
-
defaultWithIcon;
|
|
3376
|
+
$linkTemplate = viewChild.required('link');
|
|
3377
|
+
$routerLinkTemplate = viewChild.required('routerLink');
|
|
3378
|
+
$linkWithIconTemplate = viewChild.required('linkWithIcon');
|
|
3379
|
+
$routerLinkWithIconTemplate = viewChild.required('routerLinkWithIcon');
|
|
3380
|
+
$imageUrlTemplate = viewChild.required('imageUrl');
|
|
3381
|
+
$arrayNewLineTemplate = viewChild.required('arrayNewLine');
|
|
3382
|
+
$arrayCommaTemplate = viewChild.required('arrayComma');
|
|
3383
|
+
$defaultTemplate = viewChild.required('default');
|
|
3384
|
+
$defaultWithIcon = viewChild.required('defaultWithIcon');
|
|
3385
3385
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: InitializationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3386
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
3386
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.0", type: InitializationComponent, isStandalone: true, selector: "initialization", viewQueries: [{ propertyName: "$linkTemplate", first: true, predicate: ["link"], descendants: true, isSignal: true }, { propertyName: "$routerLinkTemplate", first: true, predicate: ["routerLink"], descendants: true, isSignal: true }, { propertyName: "$linkWithIconTemplate", first: true, predicate: ["linkWithIcon"], descendants: true, isSignal: true }, { propertyName: "$routerLinkWithIconTemplate", first: true, predicate: ["routerLinkWithIcon"], descendants: true, isSignal: true }, { propertyName: "$imageUrlTemplate", first: true, predicate: ["imageUrl"], descendants: true, isSignal: true }, { propertyName: "$arrayNewLineTemplate", first: true, predicate: ["arrayNewLine"], descendants: true, isSignal: true }, { propertyName: "$arrayCommaTemplate", first: true, predicate: ["arrayComma"], descendants: true, isSignal: true }, { propertyName: "$defaultTemplate", first: true, predicate: ["default"], descendants: true, isSignal: true }, { propertyName: "$defaultWithIcon", first: true, predicate: ["defaultWithIcon"], descendants: true, isSignal: true }], ngImport: i0, template: "<ng-template #link let-value='value' let-element='element' let-additional=\"additional\" let-styles=\"innerStyles\">\r\n @let link = additional.link | func : element;\r\n @if(link)\r\n {\r\n <tb-link-column [element]=\"element\" [additional]=\"additional\" [link]=\"$any(link)\">\r\n <span [styler]=\"styles\" [element]=\"element\">{{value}}</span>\r\n </tb-link-column>\r\n }\r\n @else\r\n {\r\n <span [styler]=\"styles\" [element]=\"element\">{{value}}</span>\r\n }\r\n</ng-template>\r\n\r\n<ng-template #routerLink let-value='value' let-element='element' let-additional=\"additional\" let-styles=\"innerStyles\">\r\n @let link = additional.link | func : element;\r\n @if(link)\r\n {\r\n <tb-router-link-column [element]=\"element\" [additional]=\"additional\" [link]=\"$any(link)\">\r\n <span [styler]=\"styles\" [element]=\"element\">{{value}}</span>\r\n </tb-router-link-column>\r\n }\r\n @else\r\n {\r\n <span [styler]=\"styles\" [element]=\"element\">{{value}}</span>\r\n }\r\n\r\n</ng-template>\r\n\r\n<ng-template #linkWithIcon let-value='value' let-element='element' let-additional=\"additional\" let-styles=\"innerStyles\">\r\n @let link = additional.link | func : element;\r\n @if(link)\r\n {\r\n <tb-link-column [element]=\"element\" [additional]=\"additional\" [link]=\"$any(link)\">\r\n <mat-icon [styler]=\"styles\" [element]=\"element\">{{ value}}</mat-icon>\r\n </tb-link-column>\r\n }\r\n @else\r\n {\r\n <span [styler]=\"styles\" [element]=\"element\">{{value}}</span>\r\n }\r\n</ng-template>\r\n\r\n<ng-template #routerLinkWithIcon let-value='value' let-element='element' let-additional=\"additional\" let-styles=\"innerStyles\">\r\n @let link = additional.link | func : element;\r\n @if(link)\r\n {\r\n <tb-link-column [element]=\"element\" [additional]=\"additional\" [link]=\"$any(link)\">\r\n <mat-icon [styler]=\"styles\" [element]=\"element\">{{ value}}</mat-icon>\r\n </tb-link-column>\r\n }\r\n @else\r\n {\r\n <mat-icon [styler]=\"styles\" [element]=\"element\">{{ value}}</mat-icon>\r\n }\r\n</ng-template>\r\n\r\n<ng-template #imageUrl let-value='value'>\r\n <span>\r\n <img src=\"{{value}}\" height=\"75px\" width=\"75px\" />\r\n </span>\r\n</ng-template>\r\n\r\n<ng-template #arrayNewLine let-value='value' let-element='element' let-additional=\"additional\" let-styles=\"innerStyles\">\r\n <tb-new-line-array-column [value]='value' [additional]='additional' [styler]=\"styles\" [element]=\"element\"/>\r\n</ng-template>\r\n\r\n<ng-template #arrayComma let-value='value' let-element='element' let-additional=\"additional\" let-styles=\"innerStyles\">\r\n <tb-comma-array-column [value]='value' [additional]='additional' [styler]=\"styles\" [element]=\"element\"/>\r\n</ng-template>\r\n\r\n<ng-template #default let-value='value' let-element='element' let-styles=\"innerStyles\">\r\n <span [styler]=\"styles\" [element]=\"element\">{{value}}</span>\r\n</ng-template>\r\n\r\n<ng-template #defaultWithIcon let-value='value' let-element='element' let-styles=\"innerStyles\">\r\n <mat-icon [styler]=\"styles\" [element]=\"element\">{{value}}</mat-icon>\r\n</ng-template>\r\n", dependencies: [{ kind: "component", type: LinkColumnComponent, selector: "tb-link-column", inputs: ["element", "additional", "link"] }, { kind: "component", type: ArrayCommaColumnComponent, selector: "tb-comma-array-column", inputs: ["value", "additional"] }, { kind: "component", type: MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: RouterLinkColumnComponent, selector: "tb-router-link-column", inputs: ["additional", "element", "link"] }, { kind: "component", type: ArrayNewLineColumnComponent, selector: "tb-new-line-array-column", inputs: ["value", "additional"] }, { kind: "directive", type: StylerDirective, selector: "[styler]", inputs: ["element", "styler"] }, { kind: "pipe", type: FunctionPipe, name: "func" }] });
|
|
3387
3387
|
}
|
|
3388
3388
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: InitializationComponent, decorators: [{
|
|
3389
3389
|
type: Component,
|
|
3390
3390
|
args: [{ selector: 'initialization', imports: [
|
|
3391
3391
|
LinkColumnComponent, ArrayCommaColumnComponent, MatIcon,
|
|
3392
3392
|
RouterLinkColumnComponent, ArrayNewLineColumnComponent,
|
|
3393
|
-
StylerDirective
|
|
3394
|
-
], template: "<ng-template #link let-value='value' let-element='element' let-additional=\"additional\" let-styles=\"innerStyles\">\r\n <tb-link-column [element]=\"element\" [additional]=\"additional\">\r\n
|
|
3395
|
-
}]
|
|
3396
|
-
type: ViewChild,
|
|
3397
|
-
args: ['link', { static: true }]
|
|
3398
|
-
}], routerLinkTemplate: [{
|
|
3399
|
-
type: ViewChild,
|
|
3400
|
-
args: ['routerLink', { static: true }]
|
|
3401
|
-
}], linkWithIconTemplate: [{
|
|
3402
|
-
type: ViewChild,
|
|
3403
|
-
args: ['linkWithIcon', { static: true }]
|
|
3404
|
-
}], routerLinkWithIconTemplate: [{
|
|
3405
|
-
type: ViewChild,
|
|
3406
|
-
args: ['routerLinkWithIcon', { static: true }]
|
|
3407
|
-
}], imageUrlTemplate: [{
|
|
3408
|
-
type: ViewChild,
|
|
3409
|
-
args: ['imageUrl', { static: true }]
|
|
3410
|
-
}], arrayNewLineTemplate: [{
|
|
3411
|
-
type: ViewChild,
|
|
3412
|
-
args: ['arrayNewLine', { static: true }]
|
|
3413
|
-
}], arrayCommaTemplate: [{
|
|
3414
|
-
type: ViewChild,
|
|
3415
|
-
args: ['arrayComma', { static: true }]
|
|
3416
|
-
}], defaultTemplate: [{
|
|
3417
|
-
type: ViewChild,
|
|
3418
|
-
args: ['default', { static: true }]
|
|
3419
|
-
}], defaultWithIcon: [{
|
|
3420
|
-
type: ViewChild,
|
|
3421
|
-
args: ['defaultWithIcon', { static: true }]
|
|
3422
|
-
}] } });
|
|
3393
|
+
StylerDirective, FunctionPipe
|
|
3394
|
+
], template: "<ng-template #link let-value='value' let-element='element' let-additional=\"additional\" let-styles=\"innerStyles\">\r\n @let link = additional.link | func : element;\r\n @if(link)\r\n {\r\n <tb-link-column [element]=\"element\" [additional]=\"additional\" [link]=\"$any(link)\">\r\n <span [styler]=\"styles\" [element]=\"element\">{{value}}</span>\r\n </tb-link-column>\r\n }\r\n @else\r\n {\r\n <span [styler]=\"styles\" [element]=\"element\">{{value}}</span>\r\n }\r\n</ng-template>\r\n\r\n<ng-template #routerLink let-value='value' let-element='element' let-additional=\"additional\" let-styles=\"innerStyles\">\r\n @let link = additional.link | func : element;\r\n @if(link)\r\n {\r\n <tb-router-link-column [element]=\"element\" [additional]=\"additional\" [link]=\"$any(link)\">\r\n <span [styler]=\"styles\" [element]=\"element\">{{value}}</span>\r\n </tb-router-link-column>\r\n }\r\n @else\r\n {\r\n <span [styler]=\"styles\" [element]=\"element\">{{value}}</span>\r\n }\r\n\r\n</ng-template>\r\n\r\n<ng-template #linkWithIcon let-value='value' let-element='element' let-additional=\"additional\" let-styles=\"innerStyles\">\r\n @let link = additional.link | func : element;\r\n @if(link)\r\n {\r\n <tb-link-column [element]=\"element\" [additional]=\"additional\" [link]=\"$any(link)\">\r\n <mat-icon [styler]=\"styles\" [element]=\"element\">{{ value}}</mat-icon>\r\n </tb-link-column>\r\n }\r\n @else\r\n {\r\n <span [styler]=\"styles\" [element]=\"element\">{{value}}</span>\r\n }\r\n</ng-template>\r\n\r\n<ng-template #routerLinkWithIcon let-value='value' let-element='element' let-additional=\"additional\" let-styles=\"innerStyles\">\r\n @let link = additional.link | func : element;\r\n @if(link)\r\n {\r\n <tb-link-column [element]=\"element\" [additional]=\"additional\" [link]=\"$any(link)\">\r\n <mat-icon [styler]=\"styles\" [element]=\"element\">{{ value}}</mat-icon>\r\n </tb-link-column>\r\n }\r\n @else\r\n {\r\n <mat-icon [styler]=\"styles\" [element]=\"element\">{{ value}}</mat-icon>\r\n }\r\n</ng-template>\r\n\r\n<ng-template #imageUrl let-value='value'>\r\n <span>\r\n <img src=\"{{value}}\" height=\"75px\" width=\"75px\" />\r\n </span>\r\n</ng-template>\r\n\r\n<ng-template #arrayNewLine let-value='value' let-element='element' let-additional=\"additional\" let-styles=\"innerStyles\">\r\n <tb-new-line-array-column [value]='value' [additional]='additional' [styler]=\"styles\" [element]=\"element\"/>\r\n</ng-template>\r\n\r\n<ng-template #arrayComma let-value='value' let-element='element' let-additional=\"additional\" let-styles=\"innerStyles\">\r\n <tb-comma-array-column [value]='value' [additional]='additional' [styler]=\"styles\" [element]=\"element\"/>\r\n</ng-template>\r\n\r\n<ng-template #default let-value='value' let-element='element' let-styles=\"innerStyles\">\r\n <span [styler]=\"styles\" [element]=\"element\">{{value}}</span>\r\n</ng-template>\r\n\r\n<ng-template #defaultWithIcon let-value='value' let-element='element' let-styles=\"innerStyles\">\r\n <mat-icon [styler]=\"styles\" [element]=\"element\">{{value}}</mat-icon>\r\n</ng-template>\r\n" }]
|
|
3395
|
+
}] });
|
|
3423
3396
|
|
|
3424
3397
|
class TableTemplateService {
|
|
3425
|
-
|
|
3426
|
-
|
|
3427
|
-
|
|
3428
|
-
|
|
3429
|
-
|
|
3430
|
-
|
|
3431
|
-
this.templates.Icon = this.instance.defaultWithIcon;
|
|
3432
|
-
this.templates.ImageUrl = this.instance.imageUrlTemplate;
|
|
3433
|
-
this.templates.Link = this.instance.linkTemplate;
|
|
3434
|
-
this.templates.RouterLink = this.instance.routerLinkTemplate;
|
|
3435
|
-
this.templates.LinkWithIcon = this.instance.linkWithIconTemplate;
|
|
3436
|
-
this.templates.RouterLinkWithIcon = this.instance.routerLinkWithIconTemplate;
|
|
3437
|
-
}
|
|
3398
|
+
environmentInjector = inject(EnvironmentInjector);
|
|
3399
|
+
tableConfig = inject(TableBuilderConfigToken);
|
|
3400
|
+
initConfig = createComponent(InitializationComponent, {
|
|
3401
|
+
environmentInjector: this.environmentInjector,
|
|
3402
|
+
});
|
|
3403
|
+
initializationComponentInstance = this.initConfig.instance;
|
|
3438
3404
|
getTemplate(metaData) {
|
|
3439
|
-
const arrayStyle = metaData.additional?.arrayStyle ?? this.tableConfig?.arrayDefaults?.arrayStyle;
|
|
3440
3405
|
if (metaData.fieldType === FieldType.Array) {
|
|
3406
|
+
const arrayStyle = metaData.additional?.arrayStyle ?? this.tableConfig?.arrayDefaults?.arrayStyle;
|
|
3441
3407
|
return arrayStyle === ArrayStyle.NewLine
|
|
3442
|
-
? this.
|
|
3443
|
-
: this.
|
|
3408
|
+
? this.initializationComponentInstance.$arrayNewLineTemplate()
|
|
3409
|
+
: this.initializationComponentInstance.$arrayCommaTemplate();
|
|
3444
3410
|
}
|
|
3445
3411
|
if (metaData.fieldType === FieldType.ImageUrl) {
|
|
3446
|
-
return this.
|
|
3412
|
+
return this.initializationComponentInstance.$imageUrlTemplate();
|
|
3447
3413
|
}
|
|
3448
3414
|
const useIcon = metaData.useIcon || metaData.fieldType === FieldType.Boolean;
|
|
3449
3415
|
if (metaData.fieldType === FieldType.Link || metaData.additional?.link) {
|
|
3450
3416
|
const router = metaData.additional?.link?.useRouterLink;
|
|
3451
3417
|
if (router) {
|
|
3452
3418
|
return useIcon
|
|
3453
|
-
? this.
|
|
3454
|
-
: this.
|
|
3419
|
+
? this.initializationComponentInstance.$routerLinkWithIconTemplate()
|
|
3420
|
+
: this.initializationComponentInstance.$routerLinkTemplate();
|
|
3455
3421
|
}
|
|
3456
3422
|
return useIcon
|
|
3457
|
-
? this.
|
|
3458
|
-
: this.
|
|
3423
|
+
? this.initializationComponentInstance.$linkWithIconTemplate()
|
|
3424
|
+
: this.initializationComponentInstance.$linkTemplate();
|
|
3459
3425
|
}
|
|
3460
3426
|
if (useIcon) {
|
|
3461
|
-
return this.
|
|
3427
|
+
return this.initializationComponentInstance.$defaultWithIcon();
|
|
3462
3428
|
}
|
|
3463
|
-
return this.
|
|
3429
|
+
return this.initializationComponentInstance.$defaultTemplate();
|
|
3464
3430
|
}
|
|
3465
|
-
constructor() {
|
|
3466
|
-
const ei = inject(EnvironmentInjector);
|
|
3467
|
-
const c = createComponent(InitializationComponent, {
|
|
3468
|
-
environmentInjector: ei,
|
|
3469
|
-
});
|
|
3470
|
-
this.instance = c.instance;
|
|
3471
|
-
this.initTemplates();
|
|
3472
|
-
}
|
|
3473
|
-
tableConfig = inject(TableBuilderConfigToken);
|
|
3474
3431
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: TableTemplateService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3475
3432
|
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: TableTemplateService, providedIn: 'root' });
|
|
3476
3433
|
}
|
|
3477
3434
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: TableTemplateService, decorators: [{
|
|
3478
3435
|
type: Injectable,
|
|
3479
3436
|
args: [{ providedIn: 'root' }]
|
|
3480
|
-
}]
|
|
3437
|
+
}] });
|
|
3481
3438
|
|
|
3482
3439
|
class ColumnHeaderMenuComponent {
|
|
3483
3440
|
tableState = inject(TableStore);
|