@onecx/angular-accelerator 6.0.0-rc.5 → 6.0.0-rc.6
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/onecx-angular-accelerator.mjs +38 -33
- package/fesm2022/onecx-angular-accelerator.mjs.map +1 -1
- package/index.d.ts +1 -1
- package/lib/components/data-list-grid/data-list-grid.component.d.ts +3 -1
- package/lib/components/data-table/data-table.component.d.ts +3 -1
- package/lib/components/data-view/data-view.component.d.ts +3 -0
- package/lib/components/interactive-data-view/interactive-data-view.component.d.ts +3 -0
- package/lib/components/page-header/page-header.component.d.ts +1 -0
- package/lib/components/search-header/search-header.component.d.ts +1 -1
- package/lib/services/translation-connection.service.d.ts +10 -0
- package/lib/utils/provide-connection-service.d.ts +3 -3
- package/migrations.json +26 -0
- package/package.json +13 -8
- package/lib/services/connection.service.d.ts +0 -10
package/index.d.ts
CHANGED
|
@@ -25,7 +25,7 @@ export * from './lib/components/page-header/page-header.component';
|
|
|
25
25
|
export * from './lib/components/search-header/search-header.component';
|
|
26
26
|
export * from './lib/components/data-loading-error/data-loading-error.component';
|
|
27
27
|
export * from './lib/services/breadcrumb.service';
|
|
28
|
-
export * from './lib/services/connection.service';
|
|
28
|
+
export * from './lib/services/translation-connection.service';
|
|
29
29
|
export * from './lib/services/translation-cache.service';
|
|
30
30
|
export * from './lib/pipes/dynamic.pipe';
|
|
31
31
|
export * from './lib/pipes/ocxtimeago.pipe';
|
|
@@ -41,7 +41,9 @@ export declare class DataListGridComponent extends DataSortBase implements OnIni
|
|
|
41
41
|
_pageSize$: BehaviorSubject<number | undefined>;
|
|
42
42
|
get pageSize(): number | undefined;
|
|
43
43
|
set pageSize(value: number | undefined);
|
|
44
|
-
|
|
44
|
+
/**
|
|
45
|
+
* @deprecated
|
|
46
|
+
*/
|
|
45
47
|
set showAllOption(value: boolean);
|
|
46
48
|
emptyResultsMessage: string | undefined;
|
|
47
49
|
fallbackImage: string;
|
|
@@ -71,7 +71,9 @@ export declare class DataTableComponent extends DataSortBase implements OnInit,
|
|
|
71
71
|
_pageSize$: BehaviorSubject<number | undefined>;
|
|
72
72
|
get pageSize(): number | undefined;
|
|
73
73
|
set pageSize(value: number | undefined);
|
|
74
|
-
|
|
74
|
+
/**
|
|
75
|
+
* @deprecated
|
|
76
|
+
*/
|
|
75
77
|
set showAllOption(value: boolean);
|
|
76
78
|
emptyResultsMessage: string | undefined;
|
|
77
79
|
name: string;
|
|
@@ -58,6 +58,9 @@ export declare class DataViewComponent implements DoCheck, OnInit, AfterContentI
|
|
|
58
58
|
sortStates: DataSortDirection[];
|
|
59
59
|
pageSizes: number[];
|
|
60
60
|
pageSize: number | undefined;
|
|
61
|
+
/**
|
|
62
|
+
* @deprecated
|
|
63
|
+
*/
|
|
61
64
|
showAllOption: boolean;
|
|
62
65
|
stringTableCellTemplate: TemplateRef<any> | undefined;
|
|
63
66
|
stringTableCellChildTemplate: TemplateRef<any> | undefined;
|
|
@@ -56,6 +56,9 @@ export declare class InteractiveDataViewComponent implements OnInit, AfterConten
|
|
|
56
56
|
sortStates: DataSortDirection[];
|
|
57
57
|
pageSizes: number[];
|
|
58
58
|
pageSize: number | undefined;
|
|
59
|
+
/**
|
|
60
|
+
* @deprecated
|
|
61
|
+
*/
|
|
59
62
|
showAllOption: boolean;
|
|
60
63
|
totalRecordsOnServer: number | undefined;
|
|
61
64
|
layout: 'grid' | 'list' | 'table';
|
|
@@ -56,7 +56,7 @@ export declare class SearchHeaderComponent implements AfterContentInit, AfterVie
|
|
|
56
56
|
hasAdvanced: boolean;
|
|
57
57
|
simpleAdvancedAction: Action;
|
|
58
58
|
headerActions: Action[];
|
|
59
|
-
searchButtonsReversed
|
|
59
|
+
searchButtonsReversed$: Observable<boolean>;
|
|
60
60
|
fieldValues$: Observable<{
|
|
61
61
|
[key: string]: unknown;
|
|
62
62
|
}> | undefined;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { OnDestroy } from '@angular/core';
|
|
2
|
+
import { Subscription } from 'rxjs';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class TranslationConnectionService implements OnDestroy {
|
|
5
|
+
languageSub: Subscription;
|
|
6
|
+
constructor();
|
|
7
|
+
ngOnDestroy(): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TranslationConnectionService, never>;
|
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TranslationConnectionService>;
|
|
10
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare function
|
|
1
|
+
import { TranslationConnectionService } from '../services/translation-connection.service';
|
|
2
|
+
export declare function provideTranslationConnectionService(): (typeof TranslationConnectionService | {
|
|
3
3
|
provide: import("@angular/core").InjectionToken<readonly (() => void)[]>;
|
|
4
4
|
multi: boolean;
|
|
5
|
-
useFactory(): () =>
|
|
5
|
+
useFactory(): () => TranslationConnectionService;
|
|
6
6
|
})[];
|
package/migrations.json
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"generators": {
|
|
3
|
+
"migrate-onecx-to-v6": {
|
|
4
|
+
"cli": "nx",
|
|
5
|
+
"version": "6.0.0",
|
|
6
|
+
"description": "Update package json to Angular 19, PrimeNG 19, OneCX versions to v6 and other dependencies to be compatible with Angular 19.",
|
|
7
|
+
"factory": "migrations/v6/migrate-onecx-to-v6"
|
|
8
|
+
}
|
|
9
|
+
},
|
|
10
|
+
"packageJsonUpdates": {
|
|
11
|
+
"6.0.0": {
|
|
12
|
+
"version": "6.0.0",
|
|
13
|
+
"packages": {
|
|
14
|
+
"@angular/cli": {
|
|
15
|
+
"version": "~19.0.0",
|
|
16
|
+
"alwaysAddToPackageJson": false
|
|
17
|
+
},
|
|
18
|
+
"@nx/angular": {
|
|
19
|
+
"version": "~20.3.0",
|
|
20
|
+
"alwaysAddToPackageJson": false
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"version": "null"
|
|
25
|
+
}
|
|
26
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onecx/angular-accelerator",
|
|
3
|
-
"version": "6.0.0-rc.
|
|
3
|
+
"version": "6.0.0-rc.6",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/common": "^19.0.0",
|
|
@@ -12,17 +12,18 @@
|
|
|
12
12
|
"@ngx-translate/core": "^16.0.0",
|
|
13
13
|
"@ngx-translate/http-loader": "^8.0.0",
|
|
14
14
|
"@ngneat/until-destroy": "^10.0.0",
|
|
15
|
-
"@onecx/integration-interface": "^6.0.0-rc.
|
|
16
|
-
"@onecx/angular-integration-interface": "^6.0.0-rc.
|
|
17
|
-
"@onecx/angular-remote-components": "^6.0.0-rc.
|
|
18
|
-
"@onecx/angular-testing": "^6.0.0-rc.
|
|
19
|
-
"@onecx/accelerator": "^6.0.0-rc.
|
|
20
|
-
"@onecx/angular-utils": "^6.0.0-rc.
|
|
15
|
+
"@onecx/integration-interface": "^6.0.0-rc.6",
|
|
16
|
+
"@onecx/angular-integration-interface": "^6.0.0-rc.6",
|
|
17
|
+
"@onecx/angular-remote-components": "^6.0.0-rc.6",
|
|
18
|
+
"@onecx/angular-testing": "^6.0.0-rc.6",
|
|
19
|
+
"@onecx/accelerator": "^6.0.0-rc.6",
|
|
20
|
+
"@onecx/angular-utils": "^6.0.0-rc.6",
|
|
21
21
|
"chart.js": "^4.4.3",
|
|
22
22
|
"d3-scale-chromatic": "^3.1.0",
|
|
23
23
|
"rxjs": "~7.8.1",
|
|
24
24
|
"primeng": "^19.0.0",
|
|
25
|
-
"@storybook/angular": "^8.3.2"
|
|
25
|
+
"@storybook/angular": "^8.3.2",
|
|
26
|
+
"@nx/devkit": "^20.3.0"
|
|
26
27
|
},
|
|
27
28
|
"dependencies": {
|
|
28
29
|
"tslib": "^2.3.0"
|
|
@@ -33,6 +34,7 @@
|
|
|
33
34
|
"types": "./index.d.ts",
|
|
34
35
|
"default": "./fesm2022/onecx-angular-accelerator.mjs"
|
|
35
36
|
},
|
|
37
|
+
"./migrations.json": "./migrations.json",
|
|
36
38
|
"./package.json": {
|
|
37
39
|
"default": "./package.json"
|
|
38
40
|
},
|
|
@@ -44,6 +46,9 @@
|
|
|
44
46
|
"publishConfig": {
|
|
45
47
|
"access": "public"
|
|
46
48
|
},
|
|
49
|
+
"nx-migrations": {
|
|
50
|
+
"migrations": "./migrations.json"
|
|
51
|
+
},
|
|
47
52
|
"module": "fesm2022/onecx-angular-accelerator.mjs",
|
|
48
53
|
"typings": "index.d.ts",
|
|
49
54
|
"sideEffects": false
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { OnDestroy } from '@angular/core';
|
|
2
|
-
import { Subscription } from 'rxjs';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class ConnectionService implements OnDestroy {
|
|
5
|
-
languageSub: Subscription;
|
|
6
|
-
constructor();
|
|
7
|
-
ngOnDestroy(): void;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ConnectionService, never>;
|
|
9
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ConnectionService>;
|
|
10
|
-
}
|