@ng-atomic/common 20.67.0 → 20.69.4
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/ng-atomic-common-directives-active-control.mjs +15 -15
- package/fesm2022/ng-atomic-common-directives-contain-events.mjs +4 -4
- package/fesm2022/ng-atomic-common-directives-fallback-src.mjs +4 -4
- package/fesm2022/ng-atomic-common-directives-ios-safari-scroll-buggyfill.mjs +7 -7
- package/fesm2022/ng-atomic-common-directives-molecules-column.mjs +18 -18
- package/fesm2022/ng-atomic-common-directives-prevent-browser-zoom.mjs +3 -3
- package/fesm2022/ng-atomic-common-directives-resize-column.mjs +7 -7
- package/fesm2022/ng-atomic-common-interceptors-authorization.mjs +3 -3
- package/fesm2022/ng-atomic-common-interceptors-throttle.mjs +6 -6
- package/fesm2022/ng-atomic-common-interceptors-token.mjs +3 -3
- package/fesm2022/ng-atomic-common-interceptors.mjs +4 -4
- package/fesm2022/ng-atomic-common-pipes-actions.mjs +3 -3
- package/fesm2022/ng-atomic-common-pipes-auto-columns.mjs +3 -3
- package/fesm2022/ng-atomic-common-pipes-columns.mjs +3 -3
- package/fesm2022/ng-atomic-common-pipes-data-accessor.mjs +3 -3
- package/fesm2022/ng-atomic-common-pipes-domain.mjs +3 -3
- package/fesm2022/ng-atomic-common-pipes-error.mjs +3 -3
- package/fesm2022/ng-atomic-common-pipes-expression.mjs +3 -3
- package/fesm2022/ng-atomic-common-pipes-grouped-by.mjs +3 -3
- package/fesm2022/ng-atomic-common-pipes-index-length.mjs +3 -3
- package/fesm2022/ng-atomic-common-pipes-index.mjs +3 -3
- package/fesm2022/ng-atomic-common-pipes-keys.mjs +3 -3
- package/fesm2022/ng-atomic-common-pipes-map.mjs +3 -3
- package/fesm2022/ng-atomic-common-pipes-page.mjs +3 -3
- package/fesm2022/ng-atomic-common-pipes-pagination.mjs +4 -4
- package/fesm2022/ng-atomic-common-pipes-query.mjs +4 -4
- package/fesm2022/ng-atomic-common-pipes-resolve-columns.mjs +3 -3
- package/fesm2022/ng-atomic-common-pipes-secret.mjs +3 -3
- package/fesm2022/ng-atomic-common-pipes-select-id.mjs +3 -3
- package/fesm2022/ng-atomic-common-pipes-signal.mjs +3 -3
- package/fesm2022/ng-atomic-common-pipes-smart-field.mjs +3 -3
- package/fesm2022/ng-atomic-common-pipes-sort-by.mjs +3 -3
- package/fesm2022/ng-atomic-common-pipes-sort.mjs +3 -3
- package/fesm2022/ng-atomic-common-pipes-style.mjs +3 -3
- package/fesm2022/ng-atomic-common-pipes-yen.mjs +3 -3
- package/fesm2022/ng-atomic-common-services-app.mjs +6 -6
- package/fesm2022/ng-atomic-common-services-auth.mjs +3 -3
- package/fesm2022/ng-atomic-common-services-breakpoint.mjs +4 -4
- package/fesm2022/ng-atomic-common-services-chips-manager.mjs +3 -3
- package/fesm2022/ng-atomic-common-services-csv.mjs +3 -3
- package/fesm2022/ng-atomic-common-services-editing.mjs +5 -5
- package/fesm2022/ng-atomic-common-services-fab.mjs +5 -5
- package/fesm2022/ng-atomic-common-services-form-_index.mjs +3 -3
- package/fesm2022/ng-atomic-common-services-form-columns.mjs +3 -3
- package/fesm2022/ng-atomic-common-services-form-json-schema.mjs +3 -3
- package/fesm2022/ng-atomic-common-services-form-pagination.mjs +3 -3
- package/fesm2022/ng-atomic-common-services-form-sort.mjs +3 -3
- package/fesm2022/ng-atomic-common-services-initializer.mjs +3 -3
- package/fesm2022/ng-atomic-common-services-language.mjs +3 -3
- package/fesm2022/ng-atomic-common-services-loading.mjs +7 -7
- package/fesm2022/ng-atomic-common-services-navigation-history.mjs +6 -6
- package/fesm2022/ng-atomic-common-services-navigator-actions.mjs +4 -4
- package/fesm2022/ng-atomic-common-services-query-resolver.mjs +6 -6
- package/fesm2022/ng-atomic-common-services-root-property.mjs +9 -9
- package/fesm2022/ng-atomic-common-services-router.mjs +3 -3
- package/fesm2022/ng-atomic-common-services-secret.mjs +4 -4
- package/fesm2022/ng-atomic-common-services-sheets-actions.mjs +3 -3
- package/fesm2022/ng-atomic-common-services-sheets.mjs +7 -7
- package/fesm2022/ng-atomic-common-services-side-app.mjs +7 -7
- package/fesm2022/ng-atomic-common-services-side-nav-mode.mjs +4 -4
- package/fesm2022/ng-atomic-common-services-snack-bar.mjs +7 -7
- package/fesm2022/ng-atomic-common-services-spreadsheet.mjs +65 -65
- package/fesm2022/ng-atomic-common-services-ui.mjs +6 -6
- package/fesm2022/ng-atomic-common-stores-entities.mjs +9 -9
- package/fesm2022/ng-atomic-common-stores-pagination.mjs +3 -3
- package/fesm2022/ng-atomic-common-stores-query.mjs +3 -3
- package/fesm2022/ng-atomic-common-stores-selection.mjs +3 -3
- package/fesm2022/ng-atomic-common-stores-sort.mjs +3 -3
- package/fesm2022/ng-atomic-common-utils.mjs +7 -7
- package/fesm2022/ng-atomic-common.mjs +28 -28
- package/package.json +3 -3
|
@@ -34,10 +34,10 @@ class RouterService {
|
|
|
34
34
|
back() {
|
|
35
35
|
history.back();
|
|
36
36
|
}
|
|
37
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
38
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.
|
|
37
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: RouterService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
38
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: RouterService, providedIn: 'root' }); }
|
|
39
39
|
}
|
|
40
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
40
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: RouterService, decorators: [{
|
|
41
41
|
type: Injectable,
|
|
42
42
|
args: [{ providedIn: 'root' }]
|
|
43
43
|
}] });
|
|
@@ -3,12 +3,12 @@ import { signal, Injectable } from '@angular/core';
|
|
|
3
3
|
|
|
4
4
|
class SecretService {
|
|
5
5
|
constructor() {
|
|
6
|
-
this.isSecret = signal(false, ...(ngDevMode ? [{ debugName: "isSecret" }] : []));
|
|
6
|
+
this.isSecret = signal(false, ...(ngDevMode ? [{ debugName: "isSecret" }] : /* istanbul ignore next */ []));
|
|
7
7
|
}
|
|
8
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
9
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.
|
|
8
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: SecretService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
9
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: SecretService, providedIn: 'root' }); }
|
|
10
10
|
}
|
|
11
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
11
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: SecretService, decorators: [{
|
|
12
12
|
type: Injectable,
|
|
13
13
|
args: [{
|
|
14
14
|
providedIn: 'root'
|
|
@@ -15,8 +15,8 @@ class ActionsSheet extends NgAtomicComponent {
|
|
|
15
15
|
this.dispatch(action, 'root');
|
|
16
16
|
this.sheetRef.dismiss(action);
|
|
17
17
|
}
|
|
18
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
19
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.
|
|
18
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ActionsSheet, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
19
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.25", type: ActionsSheet, isStandalone: true, selector: "sheets-actions", usesInheritance: true, ngImport: i0, template: `
|
|
20
20
|
<mat-action-list>
|
|
21
21
|
@for (action of actions; track action) {
|
|
22
22
|
<button mat-list-item (click)="onItemClick(action)">
|
|
@@ -27,7 +27,7 @@ class ActionsSheet extends NgAtomicComponent {
|
|
|
27
27
|
</mat-action-list>
|
|
28
28
|
`, isInline: true, styles: ["mat-action-list{padding:0}\n"], dependencies: [{ kind: "ngmodule", type: MatListModule }, { kind: "component", type: i1.MatActionList, selector: "mat-action-list", exportAs: ["matActionList"] }, { kind: "component", type: i1.MatListItem, selector: "mat-list-item, a[mat-list-item], button[mat-list-item]", inputs: ["activated"], exportAs: ["matListItem"] }, { kind: "directive", type: i1.MatListItemTitle, selector: "[matListItemTitle]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
29
29
|
}
|
|
30
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
30
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ActionsSheet, decorators: [{
|
|
31
31
|
type: Component,
|
|
32
32
|
args: [{ selector: 'sheets-actions', imports: [
|
|
33
33
|
MatListModule
|
|
@@ -14,10 +14,10 @@ class SheetService {
|
|
|
14
14
|
return ref.afterDismissed().toPromise();
|
|
15
15
|
});
|
|
16
16
|
}
|
|
17
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
18
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.
|
|
17
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: SheetService, deps: [{ token: i1.MatBottomSheet }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
18
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: SheetService, providedIn: 'root' }); }
|
|
19
19
|
}
|
|
20
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
20
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: SheetService, decorators: [{
|
|
21
21
|
type: Injectable,
|
|
22
22
|
args: [{
|
|
23
23
|
providedIn: 'root'
|
|
@@ -25,11 +25,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.6", ngImpor
|
|
|
25
25
|
}], ctorParameters: () => [{ type: i1.MatBottomSheet }] });
|
|
26
26
|
|
|
27
27
|
class NgAtomicSheetsModule {
|
|
28
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
29
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.
|
|
30
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.
|
|
28
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: NgAtomicSheetsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
29
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.25", ngImport: i0, type: NgAtomicSheetsModule, imports: [MatBottomSheetModule] }); }
|
|
30
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: NgAtomicSheetsModule, providers: [SheetService], imports: [MatBottomSheetModule] }); }
|
|
31
31
|
}
|
|
32
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
32
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: NgAtomicSheetsModule, decorators: [{
|
|
33
33
|
type: NgModule,
|
|
34
34
|
args: [{
|
|
35
35
|
imports: [
|
|
@@ -27,16 +27,16 @@ class SideAppRouter {
|
|
|
27
27
|
return res;
|
|
28
28
|
});
|
|
29
29
|
}
|
|
30
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
31
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.
|
|
30
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: SideAppRouter, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
31
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: SideAppRouter, providedIn: 'root' }); }
|
|
32
32
|
}
|
|
33
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
33
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: SideAppRouter, decorators: [{
|
|
34
34
|
type: Injectable,
|
|
35
35
|
args: [{ providedIn: 'root' }]
|
|
36
36
|
}] });
|
|
37
37
|
class SideAppService {
|
|
38
38
|
constructor() {
|
|
39
|
-
this.opened = signal(false, ...(ngDevMode ? [{ debugName: "opened" }] : []));
|
|
39
|
+
this.opened = signal(false, ...(ngDevMode ? [{ debugName: "opened" }] : /* istanbul ignore next */ []));
|
|
40
40
|
this.router = inject(SideAppRouter);
|
|
41
41
|
this.router.setSideApp(this);
|
|
42
42
|
}
|
|
@@ -49,10 +49,10 @@ class SideAppService {
|
|
|
49
49
|
expand() {
|
|
50
50
|
this.opened.set(true);
|
|
51
51
|
}
|
|
52
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
53
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.
|
|
52
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: SideAppService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
53
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: SideAppService, providedIn: 'root' }); }
|
|
54
54
|
}
|
|
55
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
55
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: SideAppService, decorators: [{
|
|
56
56
|
type: Injectable,
|
|
57
57
|
args: [{
|
|
58
58
|
providedIn: 'root'
|
|
@@ -3,7 +3,7 @@ import { signal, Injectable } from '@angular/core';
|
|
|
3
3
|
|
|
4
4
|
class SideNavModeService {
|
|
5
5
|
constructor() {
|
|
6
|
-
this.sideNavMode = signal('collapsed', ...(ngDevMode ? [{ debugName: "sideNavMode" }] : []));
|
|
6
|
+
this.sideNavMode = signal('collapsed', ...(ngDevMode ? [{ debugName: "sideNavMode" }] : /* istanbul ignore next */ []));
|
|
7
7
|
}
|
|
8
8
|
toggleSideNav() {
|
|
9
9
|
this.sideNavMode.set(this.sideNavMode() === 'expanded' ? 'collapsed' : 'expanded');
|
|
@@ -17,10 +17,10 @@ class SideNavModeService {
|
|
|
17
17
|
expand() {
|
|
18
18
|
this.sideNavMode.set('expanded');
|
|
19
19
|
}
|
|
20
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
21
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.
|
|
20
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: SideNavModeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
21
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: SideNavModeService, providedIn: 'root' }); }
|
|
22
22
|
}
|
|
23
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: SideNavModeService, decorators: [{
|
|
24
24
|
type: Injectable,
|
|
25
25
|
args: [{ providedIn: 'root' }]
|
|
26
26
|
}] });
|
|
@@ -24,10 +24,10 @@ class SnackBarService {
|
|
|
24
24
|
this.clipboard.copy(copyJson);
|
|
25
25
|
});
|
|
26
26
|
}
|
|
27
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
28
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.
|
|
27
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: SnackBarService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
28
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: SnackBarService, providedIn: 'root' }); }
|
|
29
29
|
}
|
|
30
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
30
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: SnackBarService, decorators: [{
|
|
31
31
|
type: Injectable,
|
|
32
32
|
args: [{ providedIn: 'root' }]
|
|
33
33
|
}] });
|
|
@@ -42,13 +42,13 @@ function errorMessageResolver(error) {
|
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
class SnackBarModule {
|
|
45
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
46
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.
|
|
45
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: SnackBarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
46
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.25", ngImport: i0, type: SnackBarModule, imports: [CommonModule,
|
|
47
47
|
MatSnackBarModule] }); }
|
|
48
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.
|
|
48
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: SnackBarModule, imports: [CommonModule,
|
|
49
49
|
MatSnackBarModule] }); }
|
|
50
50
|
}
|
|
51
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
51
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: SnackBarModule, decorators: [{
|
|
52
52
|
type: NgModule,
|
|
53
53
|
args: [{
|
|
54
54
|
declarations: [],
|
|
@@ -11,13 +11,13 @@ import { EditingStateManager } from '@ng-atomic/common/services/editing';
|
|
|
11
11
|
|
|
12
12
|
class SpreadSheetDataService {
|
|
13
13
|
constructor() {
|
|
14
|
-
this.displayedColumns = signal([], ...(ngDevMode ? [{ debugName: "displayedColumns" }] : []));
|
|
15
|
-
this.items = signal([], ...(ngDevMode ? [{ debugName: "items" }] : []));
|
|
14
|
+
this.displayedColumns = signal([], ...(ngDevMode ? [{ debugName: "displayedColumns" }] : /* istanbul ignore next */ []));
|
|
15
|
+
this.items = signal([], ...(ngDevMode ? [{ debugName: "items" }] : /* istanbul ignore next */ []));
|
|
16
16
|
}
|
|
17
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
18
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.
|
|
17
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: SpreadSheetDataService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
18
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: SpreadSheetDataService }); }
|
|
19
19
|
}
|
|
20
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
20
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: SpreadSheetDataService, decorators: [{
|
|
21
21
|
type: Injectable
|
|
22
22
|
}] });
|
|
23
23
|
|
|
@@ -25,8 +25,8 @@ class GridService {
|
|
|
25
25
|
constructor() {
|
|
26
26
|
this.contextMap = new Map();
|
|
27
27
|
this.data = inject(SpreadSheetDataService);
|
|
28
|
-
this.maxCol = computed(() => this.data.displayedColumns().length - 1, ...(ngDevMode ? [{ debugName: "maxCol" }] : []));
|
|
29
|
-
this.maxRow = computed(() => this.data.items().length, ...(ngDevMode ? [{ debugName: "maxRow" }] : []));
|
|
28
|
+
this.maxCol = computed(() => this.data.displayedColumns().length - 1, ...(ngDevMode ? [{ debugName: "maxCol" }] : /* istanbul ignore next */ []));
|
|
29
|
+
this.maxRow = computed(() => this.data.items().length, ...(ngDevMode ? [{ debugName: "maxRow" }] : /* istanbul ignore next */ []));
|
|
30
30
|
}
|
|
31
31
|
setContext(context) {
|
|
32
32
|
this.contextMap.set(this.buildKey(context.position), context);
|
|
@@ -37,10 +37,10 @@ class GridService {
|
|
|
37
37
|
buildKey(position) {
|
|
38
38
|
return `(${position.row}, ${position.col})`;
|
|
39
39
|
}
|
|
40
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
41
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.
|
|
40
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: GridService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
41
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: GridService }); }
|
|
42
42
|
}
|
|
43
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
43
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: GridService, decorators: [{
|
|
44
44
|
type: Injectable
|
|
45
45
|
}] });
|
|
46
46
|
|
|
@@ -103,19 +103,19 @@ class NavigationService {
|
|
|
103
103
|
}
|
|
104
104
|
return { row, col };
|
|
105
105
|
}
|
|
106
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
107
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.
|
|
106
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: NavigationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
107
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: NavigationService }); }
|
|
108
108
|
}
|
|
109
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
109
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: NavigationService, decorators: [{
|
|
110
110
|
type: Injectable
|
|
111
111
|
}] });
|
|
112
112
|
|
|
113
113
|
class SelectionService {
|
|
114
114
|
constructor() {
|
|
115
115
|
this.data = inject(SpreadSheetDataService);
|
|
116
|
-
this.selection = signal({ start: { row: 1, col: 0 }, end: null }, ...(ngDevMode ? [{ debugName: "selection" }] : []));
|
|
117
|
-
this.selectionStart = computed(() => this.selection().start, { ...(ngDevMode ? { debugName: "selectionStart" } : {}), equal: isEqual });
|
|
118
|
-
this.isMouseDown = signal(false, ...(ngDevMode ? [{ debugName: "isMouseDown" }] : []));
|
|
116
|
+
this.selection = signal({ start: { row: 1, col: 0 }, end: null }, ...(ngDevMode ? [{ debugName: "selection" }] : /* istanbul ignore next */ []));
|
|
117
|
+
this.selectionStart = computed(() => this.selection().start, { ...(ngDevMode ? { debugName: "selectionStart" } : /* istanbul ignore next */ {}), equal: isEqual });
|
|
118
|
+
this.isMouseDown = signal(false, ...(ngDevMode ? [{ debugName: "isMouseDown" }] : /* istanbul ignore next */ []));
|
|
119
119
|
this.grid = inject(GridService);
|
|
120
120
|
this.cellElMap = new Map();
|
|
121
121
|
effect(() => {
|
|
@@ -205,10 +205,10 @@ class SelectionService {
|
|
|
205
205
|
buildKey(position) {
|
|
206
206
|
return `(${position.row}, ${position.col})`;
|
|
207
207
|
}
|
|
208
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
209
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.
|
|
208
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: SelectionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
209
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: SelectionService }); }
|
|
210
210
|
}
|
|
211
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
211
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: SelectionService, decorators: [{
|
|
212
212
|
type: Injectable
|
|
213
213
|
}], ctorParameters: () => [] });
|
|
214
214
|
|
|
@@ -259,10 +259,10 @@ class ClipboardService {
|
|
|
259
259
|
}
|
|
260
260
|
async paste(targetRow, targetCol) {
|
|
261
261
|
}
|
|
262
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
263
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.
|
|
262
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ClipboardService, deps: [{ token: SelectionService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
263
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ClipboardService }); }
|
|
264
264
|
}
|
|
265
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
265
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ClipboardService, decorators: [{
|
|
266
266
|
type: Injectable
|
|
267
267
|
}], ctorParameters: () => [{ type: SelectionService }] });
|
|
268
268
|
|
|
@@ -282,10 +282,10 @@ class ProtectionService {
|
|
|
282
282
|
return true;
|
|
283
283
|
return this.protectors.every((protector) => protector(value, context));
|
|
284
284
|
}
|
|
285
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
286
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.
|
|
285
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ProtectionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
286
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ProtectionService }); }
|
|
287
287
|
}
|
|
288
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
288
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ProtectionService, decorators: [{
|
|
289
289
|
type: Injectable
|
|
290
290
|
}] });
|
|
291
291
|
|
|
@@ -296,7 +296,7 @@ class EditorService {
|
|
|
296
296
|
this.selection = inject(SelectionService);
|
|
297
297
|
this.protection = inject(ProtectionService);
|
|
298
298
|
this.editingStateManager = inject(EditingStateManager);
|
|
299
|
-
this.editinngCell = signal(null, ...(ngDevMode ? [{ debugName: "editinngCell" }] : []));
|
|
299
|
+
this.editinngCell = signal(null, ...(ngDevMode ? [{ debugName: "editinngCell" }] : /* istanbul ignore next */ []));
|
|
300
300
|
this.inputMap = new Map();
|
|
301
301
|
}
|
|
302
302
|
isEditing(position) {
|
|
@@ -350,18 +350,18 @@ class EditorService {
|
|
|
350
350
|
buildKey(position) {
|
|
351
351
|
return `(${position.row}, ${position.col})`;
|
|
352
352
|
}
|
|
353
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
354
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.
|
|
353
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: EditorService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
354
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: EditorService }); }
|
|
355
355
|
}
|
|
356
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
356
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: EditorService, decorators: [{
|
|
357
357
|
type: Injectable
|
|
358
358
|
}] });
|
|
359
359
|
|
|
360
360
|
class AutoFillService {
|
|
361
361
|
constructor() {
|
|
362
|
-
this.autofillMode = signal(false, ...(ngDevMode ? [{ debugName: "autofillMode" }] : []));
|
|
363
|
-
this.sourcePosition = signal(null, ...(ngDevMode ? [{ debugName: "sourcePosition" }] : []));
|
|
364
|
-
this.targetRange = signal(null, ...(ngDevMode ? [{ debugName: "targetRange" }] : []));
|
|
362
|
+
this.autofillMode = signal(false, ...(ngDevMode ? [{ debugName: "autofillMode" }] : /* istanbul ignore next */ []));
|
|
363
|
+
this.sourcePosition = signal(null, ...(ngDevMode ? [{ debugName: "sourcePosition" }] : /* istanbul ignore next */ []));
|
|
364
|
+
this.targetRange = signal(null, ...(ngDevMode ? [{ debugName: "targetRange" }] : /* istanbul ignore next */ []));
|
|
365
365
|
this.previewElements = new Set();
|
|
366
366
|
this.isAutofillMode = this.autofillMode.asReadonly();
|
|
367
367
|
this.getSourcePosition = this.sourcePosition.asReadonly();
|
|
@@ -411,10 +411,10 @@ class AutoFillService {
|
|
|
411
411
|
this.sourcePosition.set(null);
|
|
412
412
|
this.targetRange.set(null);
|
|
413
413
|
}
|
|
414
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
415
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.
|
|
414
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: AutoFillService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
415
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: AutoFillService }); }
|
|
416
416
|
}
|
|
417
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
417
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: AutoFillService, decorators: [{
|
|
418
418
|
type: Injectable
|
|
419
419
|
}] });
|
|
420
420
|
|
|
@@ -576,10 +576,10 @@ class SpreadSheetService {
|
|
|
576
576
|
this.editor.startEditing(position);
|
|
577
577
|
}
|
|
578
578
|
}
|
|
579
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
580
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.
|
|
579
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: SpreadSheetService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
580
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: SpreadSheetService }); }
|
|
581
581
|
}
|
|
582
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
582
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: SpreadSheetService, decorators: [{
|
|
583
583
|
type: Injectable
|
|
584
584
|
}] });
|
|
585
585
|
function provideSpreadSheetService() {
|
|
@@ -600,12 +600,12 @@ class SpreadSheetCell {
|
|
|
600
600
|
constructor() {
|
|
601
601
|
this.ss = inject(SpreadSheetService);
|
|
602
602
|
this.el = inject(ElementRef);
|
|
603
|
-
this.position = input({ row: 0, col: 0 }, { ...(ngDevMode ? { debugName: "position" } : {}), alias: 'ssCell' });
|
|
604
|
-
this.editable = input(false, { ...(ngDevMode ? { debugName: "editable" } : {}), alias: 'ssCellEditable' });
|
|
605
|
-
this.context = input(null, { ...(ngDevMode ? { debugName: "context" } : {}), alias: 'ssCellContext' });
|
|
606
|
-
this.isSelected = computed(() => this.ss.selection.isSelected(this.position()), ...(ngDevMode ? [{ debugName: "isSelected" }] : []));
|
|
607
|
-
this.isEditing = computed(() => this.ss.editor.isEditing(this.position()), ...(ngDevMode ? [{ debugName: "isEditing" }] : []));
|
|
608
|
-
this.frameEl = signal(null, ...(ngDevMode ? [{ debugName: "frameEl" }] : []));
|
|
603
|
+
this.position = input({ row: 0, col: 0 }, { ...(ngDevMode ? { debugName: "position" } : /* istanbul ignore next */ {}), alias: 'ssCell' });
|
|
604
|
+
this.editable = input(false, { ...(ngDevMode ? { debugName: "editable" } : /* istanbul ignore next */ {}), alias: 'ssCellEditable' });
|
|
605
|
+
this.context = input(null, { ...(ngDevMode ? { debugName: "context" } : /* istanbul ignore next */ {}), alias: 'ssCellContext' });
|
|
606
|
+
this.isSelected = computed(() => this.ss.selection.isSelected(this.position()), ...(ngDevMode ? [{ debugName: "isSelected" }] : /* istanbul ignore next */ []));
|
|
607
|
+
this.isEditing = computed(() => this.ss.editor.isEditing(this.position()), ...(ngDevMode ? [{ debugName: "isEditing" }] : /* istanbul ignore next */ []));
|
|
608
|
+
this.frameEl = signal(null, ...(ngDevMode ? [{ debugName: "frameEl" }] : /* istanbul ignore next */ []));
|
|
609
609
|
effect(() => {
|
|
610
610
|
if (!this.context())
|
|
611
611
|
return;
|
|
@@ -667,10 +667,10 @@ class SpreadSheetCell {
|
|
|
667
667
|
el.style.whiteSpace = 'nowrap';
|
|
668
668
|
this.el.nativeElement.appendChild(el);
|
|
669
669
|
}
|
|
670
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
671
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.
|
|
670
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: SpreadSheetCell, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
671
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.25", type: SpreadSheetCell, isStandalone: true, selector: "[ssCell]", inputs: { position: { classPropertyName: "position", publicName: "ssCell", isSignal: true, isRequired: false, transformFunction: null }, editable: { classPropertyName: "editable", publicName: "ssCellEditable", isSignal: true, isRequired: false, transformFunction: null }, context: { classPropertyName: "context", publicName: "ssCellContext", isSignal: true, isRequired: false, transformFunction: null } }, host: { listeners: { "mousedown": "ss.selection.handleMouseDown(position(), $event)", "mouseup": "ss.selection.handleMouseUp()", "mouseenter": "ss.selection.handleMouseEnter(position())", "click": "ss.selection.handleClick(position(), $event)", "dblclick": "onDbClick()" }, properties: { "class.selected": "ss.selection.isSelected(position())", "class.editing": "ss.editor.isEditing(position())", "attr.data-row": "position().row", "attr.data-col": "position().col" } }, ngImport: i0 }); }
|
|
672
672
|
}
|
|
673
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
673
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: SpreadSheetCell, decorators: [{
|
|
674
674
|
type: Directive,
|
|
675
675
|
args: [{
|
|
676
676
|
standalone: true,
|
|
@@ -691,10 +691,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.6", ngImpor
|
|
|
691
691
|
class SpreadSheetCellInput {
|
|
692
692
|
constructor() {
|
|
693
693
|
this.ss = inject(SpreadSheetService);
|
|
694
|
-
this.position = input({ row: 0, col: 0 }, { ...(ngDevMode ? { debugName: "position" } : {}), alias: 'ssCellInput' });
|
|
694
|
+
this.position = input({ row: 0, col: 0 }, { ...(ngDevMode ? { debugName: "position" } : /* istanbul ignore next */ {}), alias: 'ssCellInput' });
|
|
695
695
|
this.el = inject(ElementRef);
|
|
696
|
-
this.isSelected = computed(() => this.ss.selection.isSelected(this.position()), ...(ngDevMode ? [{ debugName: "isSelected" }] : []));
|
|
697
|
-
this.isEditing = computed(() => this.ss.editor.isEditing(this.position()), ...(ngDevMode ? [{ debugName: "isEditing" }] : []));
|
|
696
|
+
this.isSelected = computed(() => this.ss.selection.isSelected(this.position()), ...(ngDevMode ? [{ debugName: "isSelected" }] : /* istanbul ignore next */ []));
|
|
697
|
+
this.isEditing = computed(() => this.ss.editor.isEditing(this.position()), ...(ngDevMode ? [{ debugName: "isEditing" }] : /* istanbul ignore next */ []));
|
|
698
698
|
}
|
|
699
699
|
ngAfterViewInit() {
|
|
700
700
|
this.ss.editor.setInput(this.el.nativeElement, this.position());
|
|
@@ -705,10 +705,10 @@ class SpreadSheetCellInput {
|
|
|
705
705
|
stopEditing() {
|
|
706
706
|
this.ss.editor.stopEditing();
|
|
707
707
|
}
|
|
708
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
709
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.
|
|
708
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: SpreadSheetCellInput, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
709
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.25", type: SpreadSheetCellInput, isStandalone: true, selector: "[ssCellInput]", inputs: { position: { classPropertyName: "position", publicName: "ssCellInput", isSignal: true, isRequired: false, transformFunction: null } }, host: { listeners: { "blur": "stopEditing()" } }, ngImport: i0 }); }
|
|
710
710
|
}
|
|
711
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
711
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: SpreadSheetCellInput, decorators: [{
|
|
712
712
|
type: Directive,
|
|
713
713
|
args: [{
|
|
714
714
|
standalone: true,
|
|
@@ -746,10 +746,10 @@ class AutofillHandleComponent {
|
|
|
746
746
|
hide() {
|
|
747
747
|
this.renderer.removeClass(this.elementRef.nativeElement, 'visible');
|
|
748
748
|
}
|
|
749
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
750
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.
|
|
749
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: AutofillHandleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
750
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.25", type: AutofillHandleComponent, isStandalone: true, selector: "autofill-handle", outputs: { handleMouseDown: "handleMouseDown" }, host: { listeners: { "mousedown": "onMouseDown($event)" } }, ngImport: i0, template: '', isInline: true, styles: [":host{position:absolute;width:8px;height:8px;background-color:#2196f3;border:2px solid #ffffff;border-radius:50%;cursor:crosshair;z-index:10000;box-shadow:0 1px 3px #0000004d;transition:background-color .2s,opacity .2s;opacity:0;pointer-events:none}:host:hover{background-color:#1976d2}:host.visible{opacity:1;pointer-events:auto}\n"] }); }
|
|
751
751
|
}
|
|
752
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
752
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: AutofillHandleComponent, decorators: [{
|
|
753
753
|
type: Component,
|
|
754
754
|
args: [{ selector: 'autofill-handle', standalone: true, template: '', styles: [":host{position:absolute;width:8px;height:8px;background-color:#2196f3;border:2px solid #ffffff;border-radius:50%;cursor:crosshair;z-index:10000;box-shadow:0 1px 3px #0000004d;transition:background-color .2s,opacity .2s;opacity:0;pointer-events:none}:host:hover{background-color:#1976d2}:host.visible{opacity:1;pointer-events:auto}\n"] }]
|
|
755
755
|
}], propDecorators: { handleMouseDown: [{ type: i0.Output, args: ["handleMouseDown"] }], onMouseDown: [{
|
|
@@ -908,10 +908,10 @@ class GridDataTableAutofill {
|
|
|
908
908
|
this.handleComponent.destroy();
|
|
909
909
|
}
|
|
910
910
|
}
|
|
911
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
912
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.
|
|
911
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: GridDataTableAutofill, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
912
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.25", type: GridDataTableAutofill, isStandalone: true, selector: "[gridDataTableAutofill]", outputs: { autofillComplete: "autofillComplete" }, ngImport: i0 }); }
|
|
913
913
|
}
|
|
914
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
914
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: GridDataTableAutofill, decorators: [{
|
|
915
915
|
type: Directive,
|
|
916
916
|
args: [{
|
|
917
917
|
standalone: true,
|
|
@@ -924,12 +924,12 @@ class SpreadSheetCellAutofill {
|
|
|
924
924
|
this.ss = inject(SpreadSheetService);
|
|
925
925
|
this.el = inject(ElementRef);
|
|
926
926
|
this.table = inject(GridDataTableAutofill);
|
|
927
|
-
this.position = input({ row: 0, col: 0 }, { ...(ngDevMode ? { debugName: "position" } : {}), alias: 'gridDataCellAutofill' });
|
|
928
|
-
this.enabled = input(true, { ...(ngDevMode ? { debugName: "enabled" } : {}), alias: 'gridDataCellAutofillEnabled' });
|
|
927
|
+
this.position = input({ row: 0, col: 0 }, { ...(ngDevMode ? { debugName: "position" } : /* istanbul ignore next */ {}), alias: 'gridDataCellAutofill' });
|
|
928
|
+
this.enabled = input(true, { ...(ngDevMode ? { debugName: "enabled" } : /* istanbul ignore next */ {}), alias: 'gridDataCellAutofillEnabled' });
|
|
929
929
|
this.shouldShow = computed(() => this.enabled() &&
|
|
930
930
|
this.ss.selection.isCursorPosition(this.position()) &&
|
|
931
931
|
!this.ss.editor.isEditing(this.position()) &&
|
|
932
|
-
!this.ss.autofill.isAutofillMode(), ...(ngDevMode ? [{ debugName: "shouldShow" }] : []));
|
|
932
|
+
!this.ss.autofill.isAutofillMode(), ...(ngDevMode ? [{ debugName: "shouldShow" }] : /* istanbul ignore next */ []));
|
|
933
933
|
effect(() => {
|
|
934
934
|
if (this.shouldShow()) {
|
|
935
935
|
requestAnimationFrame(() => {
|
|
@@ -941,10 +941,10 @@ class SpreadSheetCellAutofill {
|
|
|
941
941
|
}
|
|
942
942
|
});
|
|
943
943
|
}
|
|
944
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
945
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.
|
|
944
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: SpreadSheetCellAutofill, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
945
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.25", type: SpreadSheetCellAutofill, isStandalone: true, selector: "[gridDataCellAutofill]", inputs: { position: { classPropertyName: "position", publicName: "gridDataCellAutofill", isSignal: true, isRequired: false, transformFunction: null }, enabled: { classPropertyName: "enabled", publicName: "gridDataCellAutofillEnabled", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 }); }
|
|
946
946
|
}
|
|
947
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
947
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: SpreadSheetCellAutofill, decorators: [{
|
|
948
948
|
type: Directive,
|
|
949
949
|
args: [{ standalone: true, selector: '[gridDataCellAutofill]' }]
|
|
950
950
|
}], ctorParameters: () => [], propDecorators: { position: [{ type: i0.Input, args: [{ isSignal: true, alias: "gridDataCellAutofill", required: false }] }], enabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "gridDataCellAutofillEnabled", required: false }] }] } });
|
|
@@ -24,18 +24,18 @@ class UiService {
|
|
|
24
24
|
this.uiContext = computed(() => ({
|
|
25
25
|
breakpoint: this.breakpoint.breakpoint(),
|
|
26
26
|
paths: this.paths(),
|
|
27
|
-
}), ...(ngDevMode ? [{ debugName: "uiContext" }] : []));
|
|
27
|
+
}), ...(ngDevMode ? [{ debugName: "uiContext" }] : /* istanbul ignore next */ []));
|
|
28
28
|
}
|
|
29
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
30
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.
|
|
29
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: UiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
30
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: UiService, providedIn: 'root' }); }
|
|
31
31
|
}
|
|
32
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
32
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: UiService, decorators: [{
|
|
33
33
|
type: Injectable,
|
|
34
34
|
args: [{ providedIn: 'root' }]
|
|
35
35
|
}] });
|
|
36
36
|
|
|
37
37
|
function scoped(source, path) {
|
|
38
|
-
const scopedSignal = signal(get(source(), path), ...(ngDevMode ? [{ debugName: "scopedSignal" }] : []));
|
|
38
|
+
const scopedSignal = signal(get(source(), path), ...(ngDevMode ? [{ debugName: "scopedSignal" }] : /* istanbul ignore next */ []));
|
|
39
39
|
effect(() => {
|
|
40
40
|
scopedSignal.set(get(source(), path, source()));
|
|
41
41
|
});
|
|
@@ -211,7 +211,7 @@ function injectRootConfig(paths = [], token = UI_CONFIG_REDUCER) {
|
|
|
211
211
|
return reducers.reduce((acc, reducer) => {
|
|
212
212
|
return runInInjectionContext(hostInjector, () => reducer(acc, context));
|
|
213
213
|
}, {});
|
|
214
|
-
}, ...(ngDevMode ? [{ debugName: "rootConfig" }] : []));
|
|
214
|
+
}, ...(ngDevMode ? [{ debugName: "rootConfig" }] : /* istanbul ignore next */ []));
|
|
215
215
|
return rootConfig;
|
|
216
216
|
}
|
|
217
217
|
function injectUiConfig(paths = [], token = UI_CONFIG_REDUCER) {
|
|
@@ -29,10 +29,10 @@ class ProxyIdService {
|
|
|
29
29
|
resolve(proxyIdOrId) {
|
|
30
30
|
return this.isProxyId(proxyIdOrId) ? this.proxyMap.get(proxyIdOrId) : proxyIdOrId;
|
|
31
31
|
}
|
|
32
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
33
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.
|
|
32
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ProxyIdService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
33
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ProxyIdService, providedIn: 'root' }); }
|
|
34
34
|
}
|
|
35
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
35
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: ProxyIdService, decorators: [{
|
|
36
36
|
type: Injectable,
|
|
37
37
|
args: [{ providedIn: 'root' }]
|
|
38
38
|
}] });
|
|
@@ -98,10 +98,10 @@ class TaskComposerService {
|
|
|
98
98
|
}
|
|
99
99
|
}, { type: 'noop', payload: {} });
|
|
100
100
|
}
|
|
101
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
102
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.
|
|
101
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: TaskComposerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
102
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: TaskComposerService, providedIn: 'root' }); }
|
|
103
103
|
}
|
|
104
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
104
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: TaskComposerService, decorators: [{
|
|
105
105
|
type: Injectable,
|
|
106
106
|
args: [{ providedIn: 'root' }]
|
|
107
107
|
}] });
|
|
@@ -257,10 +257,10 @@ class EntityStoreService {
|
|
|
257
257
|
}
|
|
258
258
|
return this.storeMap.get(Entity);
|
|
259
259
|
}
|
|
260
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
261
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.
|
|
260
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: EntityStoreService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
261
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: EntityStoreService, providedIn: 'root' }); }
|
|
262
262
|
}
|
|
263
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
263
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: EntityStoreService, decorators: [{
|
|
264
264
|
type: Injectable,
|
|
265
265
|
args: [{ providedIn: 'root' }]
|
|
266
266
|
}] });
|
|
@@ -15,10 +15,10 @@ class PaginationStore extends ComponentStore {
|
|
|
15
15
|
get page() { return this.get(state => state.page); }
|
|
16
16
|
get start() { return this.page.start; }
|
|
17
17
|
get end() { return this.page.end; }
|
|
18
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
19
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.
|
|
18
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: PaginationStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
19
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: PaginationStore }); }
|
|
20
20
|
}
|
|
21
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: PaginationStore, decorators: [{
|
|
22
22
|
type: Injectable
|
|
23
23
|
}], ctorParameters: () => [] });
|
|
24
24
|
|
|
@@ -17,10 +17,10 @@ class QueryStore extends ComponentStore {
|
|
|
17
17
|
resolve(entities) {
|
|
18
18
|
return this.queryResolver.resolve(entities, this.query);
|
|
19
19
|
}
|
|
20
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
21
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.
|
|
20
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: QueryStore, deps: [{ token: i1.QueryResolverService }, { token: DOMAIN_LANG_MAP, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
21
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: QueryStore }); }
|
|
22
22
|
}
|
|
23
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: QueryStore, decorators: [{
|
|
24
24
|
type: Injectable
|
|
25
25
|
}], ctorParameters: () => [{ type: i1.QueryResolverService }, { type: undefined, decorators: [{
|
|
26
26
|
type: Optional
|