@cccteam/ccc-lib 0.0.17 → 0.0.19
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/{cccteam-ccc-lib-src-auth-authentication-guard.mjs → cccteam-ccc-lib-auth-authentication-guard.mjs} +3 -3
- package/fesm2022/cccteam-ccc-lib-auth-authentication-guard.mjs.map +1 -0
- package/fesm2022/{cccteam-ccc-lib-src-auth-authorization-guard.mjs → cccteam-ccc-lib-auth-authorization-guard.mjs} +2 -2
- package/fesm2022/cccteam-ccc-lib-auth-authorization-guard.mjs.map +1 -0
- package/fesm2022/{cccteam-ccc-lib-src-auth-forms.mjs → cccteam-ccc-lib-auth-forms.mjs} +3 -3
- package/fesm2022/cccteam-ccc-lib-auth-forms.mjs.map +1 -0
- package/fesm2022/{cccteam-ccc-lib-src-auth-has-permission.mjs → cccteam-ccc-lib-auth-has-permission.mjs} +2 -2
- package/fesm2022/cccteam-ccc-lib-auth-has-permission.mjs.map +1 -0
- package/fesm2022/{cccteam-ccc-lib-src-auth-service.mjs → cccteam-ccc-lib-auth-service.mjs} +3 -3
- package/fesm2022/cccteam-ccc-lib-auth-service.mjs.map +1 -0
- package/fesm2022/{cccteam-ccc-lib-src-ccc-camel-case-to-title.mjs → cccteam-ccc-lib-ccc-camel-case-to-title.mjs} +1 -1
- package/fesm2022/cccteam-ccc-lib-ccc-camel-case-to-title.mjs.map +1 -0
- package/fesm2022/{cccteam-ccc-lib-src-ccc-grid.mjs → cccteam-ccc-lib-ccc-grid.mjs} +2 -2
- package/fesm2022/cccteam-ccc-lib-ccc-grid.mjs.map +1 -0
- package/fesm2022/{cccteam-ccc-lib-src-ccc-resource.mjs → cccteam-ccc-lib-ccc-resource.mjs} +32 -35
- package/fesm2022/cccteam-ccc-lib-ccc-resource.mjs.map +1 -0
- package/fesm2022/{cccteam-ccc-lib-src-forms.mjs → cccteam-ccc-lib-forms.mjs} +1 -1
- package/fesm2022/cccteam-ccc-lib-forms.mjs.map +1 -0
- package/fesm2022/cccteam-ccc-lib-internal-types.mjs +6 -0
- package/fesm2022/cccteam-ccc-lib-internal-types.mjs.map +1 -0
- package/fesm2022/{cccteam-ccc-lib-src-types.mjs → cccteam-ccc-lib-types.mjs} +14 -8
- package/fesm2022/cccteam-ccc-lib-types.mjs.map +1 -0
- package/fesm2022/{cccteam-ccc-lib-src-ui-alert.mjs → cccteam-ccc-lib-ui-alert.mjs} +2 -2
- package/fesm2022/cccteam-ccc-lib-ui-alert.mjs.map +1 -0
- package/fesm2022/{cccteam-ccc-lib-src-ui-core-service.mjs → cccteam-ccc-lib-ui-core-service.mjs} +2 -2
- package/fesm2022/cccteam-ccc-lib-ui-core-service.mjs.map +1 -0
- package/fesm2022/{cccteam-ccc-lib-src-ui-idle-service.mjs → cccteam-ccc-lib-ui-idle-service.mjs} +6 -6
- package/fesm2022/cccteam-ccc-lib-ui-idle-service.mjs.map +1 -0
- package/fesm2022/{cccteam-ccc-lib-src-ui-interceptor.mjs → cccteam-ccc-lib-ui-interceptor.mjs} +5 -5
- package/fesm2022/cccteam-ccc-lib-ui-interceptor.mjs.map +1 -0
- package/fesm2022/{cccteam-ccc-lib-src-ui-notification-service.mjs → cccteam-ccc-lib-ui-notification-service.mjs} +1 -1
- package/fesm2022/cccteam-ccc-lib-ui-notification-service.mjs.map +1 -0
- package/fesm2022/{cccteam-ccc-lib-src-ui-sidenav.mjs → cccteam-ccc-lib-ui-sidenav.mjs} +3 -3
- package/fesm2022/cccteam-ccc-lib-ui-sidenav.mjs.map +1 -0
- package/fesm2022/{cccteam-ccc-lib-src-util-request-options.mjs → cccteam-ccc-lib-util-request-options.mjs} +1 -1
- package/fesm2022/cccteam-ccc-lib-util-request-options.mjs.map +1 -0
- package/fesm2022/cccteam-ccc-lib.mjs +3 -4438
- package/fesm2022/cccteam-ccc-lib.mjs.map +1 -1
- package/package.json +55 -55
- package/types/{cccteam-ccc-lib-src-auth-forms.d.ts → cccteam-ccc-lib-auth-forms.d.ts} +2 -2
- package/types/{cccteam-ccc-lib-src-auth-has-permission.d.ts → cccteam-ccc-lib-auth-has-permission.d.ts} +1 -1
- package/types/{cccteam-ccc-lib-src-auth-service.d.ts → cccteam-ccc-lib-auth-service.d.ts} +1 -1
- package/types/{cccteam-ccc-lib-src-ccc-grid.d.ts → cccteam-ccc-lib-ccc-grid.d.ts} +1 -1
- package/types/{cccteam-ccc-lib-src-ccc-resource.d.ts → cccteam-ccc-lib-ccc-resource.d.ts} +35 -35
- package/types/cccteam-ccc-lib-internal-types.d.ts +1 -0
- package/types/{cccteam-ccc-lib-src-types.d.ts → cccteam-ccc-lib-types.d.ts} +14 -7
- package/types/{cccteam-ccc-lib-src-ui-alert.d.ts → cccteam-ccc-lib-ui-alert.d.ts} +2 -2
- package/types/{cccteam-ccc-lib-src-ui-core-service.d.ts → cccteam-ccc-lib-ui-core-service.d.ts} +2 -2
- package/types/{cccteam-ccc-lib-src-ui-notification-service.d.ts → cccteam-ccc-lib-ui-notification-service.d.ts} +1 -1
- package/types/{cccteam-ccc-lib-src-ui-sidenav.d.ts → cccteam-ccc-lib-ui-sidenav.d.ts} +2 -2
- package/types/cccteam-ccc-lib.d.ts +2 -1881
- package/fesm2022/cccteam-ccc-lib-src-auth-authentication-guard.mjs.map +0 -1
- package/fesm2022/cccteam-ccc-lib-src-auth-authorization-guard.mjs.map +0 -1
- package/fesm2022/cccteam-ccc-lib-src-auth-forms.mjs.map +0 -1
- package/fesm2022/cccteam-ccc-lib-src-auth-has-permission.mjs.map +0 -1
- package/fesm2022/cccteam-ccc-lib-src-auth-service.mjs.map +0 -1
- package/fesm2022/cccteam-ccc-lib-src-ccc-camel-case-to-title.mjs.map +0 -1
- package/fesm2022/cccteam-ccc-lib-src-ccc-grid.mjs.map +0 -1
- package/fesm2022/cccteam-ccc-lib-src-ccc-resource.mjs.map +0 -1
- package/fesm2022/cccteam-ccc-lib-src-forms.mjs.map +0 -1
- package/fesm2022/cccteam-ccc-lib-src-internal-types.mjs +0 -6
- package/fesm2022/cccteam-ccc-lib-src-internal-types.mjs.map +0 -1
- package/fesm2022/cccteam-ccc-lib-src-types.mjs.map +0 -1
- package/fesm2022/cccteam-ccc-lib-src-ui-alert.mjs.map +0 -1
- package/fesm2022/cccteam-ccc-lib-src-ui-core-service.mjs.map +0 -1
- package/fesm2022/cccteam-ccc-lib-src-ui-idle-service.mjs.map +0 -1
- package/fesm2022/cccteam-ccc-lib-src-ui-interceptor.mjs.map +0 -1
- package/fesm2022/cccteam-ccc-lib-src-ui-notification-service.mjs.map +0 -1
- package/fesm2022/cccteam-ccc-lib-src-ui-sidenav.mjs.map +0 -1
- package/fesm2022/cccteam-ccc-lib-src-util-request-options.mjs.map +0 -1
- package/types/cccteam-ccc-lib-src-internal-types.d.ts +0 -1
- /package/types/{cccteam-ccc-lib-src-auth-authentication-guard.d.ts → cccteam-ccc-lib-auth-authentication-guard.d.ts} +0 -0
- /package/types/{cccteam-ccc-lib-src-auth-authorization-guard.d.ts → cccteam-ccc-lib-auth-authorization-guard.d.ts} +0 -0
- /package/types/{cccteam-ccc-lib-src-ccc-camel-case-to-title.d.ts → cccteam-ccc-lib-ccc-camel-case-to-title.d.ts} +0 -0
- /package/types/{cccteam-ccc-lib-src-forms.d.ts → cccteam-ccc-lib-forms.d.ts} +0 -0
- /package/types/{cccteam-ccc-lib-src-ui-idle-service.d.ts → cccteam-ccc-lib-ui-idle-service.d.ts} +0 -0
- /package/types/{cccteam-ccc-lib-src-ui-interceptor.d.ts → cccteam-ccc-lib-ui-interceptor.d.ts} +0 -0
- /package/types/{cccteam-ccc-lib-src-util-request-options.d.ts → cccteam-ccc-lib-util-request-options.d.ts} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cccteam/ccc-lib",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.19",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git://github.com/cccteam/ccc-lib.git"
|
|
@@ -25,77 +25,77 @@
|
|
|
25
25
|
"types": "./types/cccteam-ccc-lib.d.ts",
|
|
26
26
|
"default": "./fesm2022/cccteam-ccc-lib.mjs"
|
|
27
27
|
},
|
|
28
|
-
"./
|
|
29
|
-
"types": "./types/cccteam-ccc-lib-
|
|
30
|
-
"default": "./fesm2022/cccteam-ccc-lib-
|
|
28
|
+
"./auth-authentication-guard": {
|
|
29
|
+
"types": "./types/cccteam-ccc-lib-auth-authentication-guard.d.ts",
|
|
30
|
+
"default": "./fesm2022/cccteam-ccc-lib-auth-authentication-guard.mjs"
|
|
31
31
|
},
|
|
32
|
-
"./
|
|
33
|
-
"types": "./types/cccteam-ccc-lib-
|
|
34
|
-
"default": "./fesm2022/cccteam-ccc-lib-
|
|
32
|
+
"./auth-authorization-guard": {
|
|
33
|
+
"types": "./types/cccteam-ccc-lib-auth-authorization-guard.d.ts",
|
|
34
|
+
"default": "./fesm2022/cccteam-ccc-lib-auth-authorization-guard.mjs"
|
|
35
35
|
},
|
|
36
|
-
"./
|
|
37
|
-
"types": "./types/cccteam-ccc-lib-
|
|
38
|
-
"default": "./fesm2022/cccteam-ccc-lib-
|
|
36
|
+
"./auth-forms": {
|
|
37
|
+
"types": "./types/cccteam-ccc-lib-auth-forms.d.ts",
|
|
38
|
+
"default": "./fesm2022/cccteam-ccc-lib-auth-forms.mjs"
|
|
39
39
|
},
|
|
40
|
-
"./
|
|
41
|
-
"types": "./types/cccteam-ccc-lib-
|
|
42
|
-
"default": "./fesm2022/cccteam-ccc-lib-
|
|
40
|
+
"./auth-has-permission": {
|
|
41
|
+
"types": "./types/cccteam-ccc-lib-auth-has-permission.d.ts",
|
|
42
|
+
"default": "./fesm2022/cccteam-ccc-lib-auth-has-permission.mjs"
|
|
43
43
|
},
|
|
44
|
-
"./
|
|
45
|
-
"types": "./types/cccteam-ccc-lib-
|
|
46
|
-
"default": "./fesm2022/cccteam-ccc-lib-
|
|
44
|
+
"./auth-service": {
|
|
45
|
+
"types": "./types/cccteam-ccc-lib-auth-service.d.ts",
|
|
46
|
+
"default": "./fesm2022/cccteam-ccc-lib-auth-service.mjs"
|
|
47
47
|
},
|
|
48
|
-
"./
|
|
49
|
-
"types": "./types/cccteam-ccc-lib-
|
|
50
|
-
"default": "./fesm2022/cccteam-ccc-lib-
|
|
48
|
+
"./ccc-camel-case-to-title": {
|
|
49
|
+
"types": "./types/cccteam-ccc-lib-ccc-camel-case-to-title.d.ts",
|
|
50
|
+
"default": "./fesm2022/cccteam-ccc-lib-ccc-camel-case-to-title.mjs"
|
|
51
51
|
},
|
|
52
|
-
"./
|
|
53
|
-
"types": "./types/cccteam-ccc-lib-
|
|
54
|
-
"default": "./fesm2022/cccteam-ccc-lib-
|
|
52
|
+
"./ccc-grid": {
|
|
53
|
+
"types": "./types/cccteam-ccc-lib-ccc-grid.d.ts",
|
|
54
|
+
"default": "./fesm2022/cccteam-ccc-lib-ccc-grid.mjs"
|
|
55
55
|
},
|
|
56
|
-
"./
|
|
57
|
-
"types": "./types/cccteam-ccc-lib-
|
|
58
|
-
"default": "./fesm2022/cccteam-ccc-lib-
|
|
56
|
+
"./ccc-resource": {
|
|
57
|
+
"types": "./types/cccteam-ccc-lib-ccc-resource.d.ts",
|
|
58
|
+
"default": "./fesm2022/cccteam-ccc-lib-ccc-resource.mjs"
|
|
59
59
|
},
|
|
60
|
-
"./
|
|
61
|
-
"types": "./types/cccteam-ccc-lib-
|
|
62
|
-
"default": "./fesm2022/cccteam-ccc-lib-
|
|
60
|
+
"./forms": {
|
|
61
|
+
"types": "./types/cccteam-ccc-lib-forms.d.ts",
|
|
62
|
+
"default": "./fesm2022/cccteam-ccc-lib-forms.mjs"
|
|
63
63
|
},
|
|
64
|
-
"./
|
|
65
|
-
"types": "./types/cccteam-ccc-lib-
|
|
66
|
-
"default": "./fesm2022/cccteam-ccc-lib-
|
|
64
|
+
"./internal-types": {
|
|
65
|
+
"types": "./types/cccteam-ccc-lib-internal-types.d.ts",
|
|
66
|
+
"default": "./fesm2022/cccteam-ccc-lib-internal-types.mjs"
|
|
67
67
|
},
|
|
68
|
-
"./
|
|
69
|
-
"types": "./types/cccteam-ccc-lib-
|
|
70
|
-
"default": "./fesm2022/cccteam-ccc-lib-
|
|
68
|
+
"./types": {
|
|
69
|
+
"types": "./types/cccteam-ccc-lib-types.d.ts",
|
|
70
|
+
"default": "./fesm2022/cccteam-ccc-lib-types.mjs"
|
|
71
71
|
},
|
|
72
|
-
"./
|
|
73
|
-
"types": "./types/cccteam-ccc-lib-
|
|
74
|
-
"default": "./fesm2022/cccteam-ccc-lib-
|
|
72
|
+
"./ui-alert": {
|
|
73
|
+
"types": "./types/cccteam-ccc-lib-ui-alert.d.ts",
|
|
74
|
+
"default": "./fesm2022/cccteam-ccc-lib-ui-alert.mjs"
|
|
75
75
|
},
|
|
76
|
-
"./
|
|
77
|
-
"types": "./types/cccteam-ccc-lib-
|
|
78
|
-
"default": "./fesm2022/cccteam-ccc-lib-
|
|
76
|
+
"./ui-core-service": {
|
|
77
|
+
"types": "./types/cccteam-ccc-lib-ui-core-service.d.ts",
|
|
78
|
+
"default": "./fesm2022/cccteam-ccc-lib-ui-core-service.mjs"
|
|
79
79
|
},
|
|
80
|
-
"./
|
|
81
|
-
"types": "./types/cccteam-ccc-lib-
|
|
82
|
-
"default": "./fesm2022/cccteam-ccc-lib-
|
|
80
|
+
"./ui-idle-service": {
|
|
81
|
+
"types": "./types/cccteam-ccc-lib-ui-idle-service.d.ts",
|
|
82
|
+
"default": "./fesm2022/cccteam-ccc-lib-ui-idle-service.mjs"
|
|
83
83
|
},
|
|
84
|
-
"./
|
|
85
|
-
"types": "./types/cccteam-ccc-lib-
|
|
86
|
-
"default": "./fesm2022/cccteam-ccc-lib-
|
|
84
|
+
"./ui-interceptor": {
|
|
85
|
+
"types": "./types/cccteam-ccc-lib-ui-interceptor.d.ts",
|
|
86
|
+
"default": "./fesm2022/cccteam-ccc-lib-ui-interceptor.mjs"
|
|
87
87
|
},
|
|
88
|
-
"./
|
|
89
|
-
"types": "./types/cccteam-ccc-lib-
|
|
90
|
-
"default": "./fesm2022/cccteam-ccc-lib-
|
|
88
|
+
"./ui-notification-service": {
|
|
89
|
+
"types": "./types/cccteam-ccc-lib-ui-notification-service.d.ts",
|
|
90
|
+
"default": "./fesm2022/cccteam-ccc-lib-ui-notification-service.mjs"
|
|
91
91
|
},
|
|
92
|
-
"./
|
|
93
|
-
"types": "./types/cccteam-ccc-lib-
|
|
94
|
-
"default": "./fesm2022/cccteam-ccc-lib-
|
|
92
|
+
"./ui-sidenav": {
|
|
93
|
+
"types": "./types/cccteam-ccc-lib-ui-sidenav.d.ts",
|
|
94
|
+
"default": "./fesm2022/cccteam-ccc-lib-ui-sidenav.mjs"
|
|
95
95
|
},
|
|
96
|
-
"./
|
|
97
|
-
"types": "./types/cccteam-ccc-lib-
|
|
98
|
-
"default": "./fesm2022/cccteam-ccc-lib-
|
|
96
|
+
"./util-request-options": {
|
|
97
|
+
"types": "./types/cccteam-ccc-lib-util-request-options.d.ts",
|
|
98
|
+
"default": "./fesm2022/cccteam-ccc-lib-util-request-options.mjs"
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
101
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
2
|
import { OnInit, Signal } from '@angular/core';
|
|
3
|
-
import { AuthService } from '@cccteam/ccc-lib/
|
|
4
|
-
import { Resource, Domain } from '@cccteam/ccc-lib/
|
|
3
|
+
import { AuthService } from '@cccteam/ccc-lib/auth-service';
|
|
4
|
+
import { Resource, Domain } from '@cccteam/ccc-lib/types';
|
|
5
5
|
|
|
6
6
|
declare enum InputMode {
|
|
7
7
|
Read = "read",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
2
|
import { HttpClient } from '@angular/common/http';
|
|
3
|
-
import { SessionInfo, PermissionScope, Resource, Permission } from '@cccteam/ccc-lib/
|
|
3
|
+
import { SessionInfo, PermissionScope, Resource, Permission } from '@cccteam/ccc-lib/types';
|
|
4
4
|
import { Observable } from 'rxjs';
|
|
5
5
|
|
|
6
6
|
declare class AuthService {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
2
|
import { TemplateRef } from '@angular/core';
|
|
3
|
-
import { ColumnConfig, RecordData, ActionButtonConfig } from '@cccteam/ccc-lib/
|
|
3
|
+
import { ColumnConfig, RecordData, ActionButtonConfig } from '@cccteam/ccc-lib/types';
|
|
4
4
|
import { SelectableSettings } from '@progress/kendo-angular-grid';
|
|
5
5
|
import { TooltipPosition } from '@angular/material/tooltip';
|
|
6
6
|
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
2
|
import { ModelSignal, Injector, Signal, ResourceRef, OnInit, Type, DestroyRef, ViewContainerRef, WritableSignal } from '@angular/core';
|
|
3
|
-
import * as
|
|
4
|
-
import { ResourceMeta, RecordData, MenuItem, Resource, DataType, ViewConfig, RootConfig, ConfigElement, RPCRecordData, MethodMeta, FieldSort, ColumnConfig, RPCConfig, FieldElement, Method, RPCBaseFormData, ParentResourceConfig, ChildResourceConfig, FormatType, PaddingElement, ArrayConfig, ListViewConfig, Meta, FieldMeta, RPCFieldMeta, ValidDisplayTypes, ComponentConfig } from '@cccteam/ccc-lib/
|
|
3
|
+
import * as _cccteam_ccc_lib_types from '@cccteam/ccc-lib/types';
|
|
4
|
+
import { ResourceMeta, RecordData, MenuItem, Resource, DataType, ViewConfig, RootConfig, ConfigElement, RPCRecordData, MethodMeta, FieldSort, ColumnConfig, RPCConfig, FieldElement, Method, RPCBaseFormData, ParentResourceConfig, ChildResourceConfig, FormatType, PaddingElement, ArrayConfig, ListViewConfig, Meta, FieldMeta, RPCFieldMeta, ValidDisplayTypes, ComponentConfig } from '@cccteam/ccc-lib/types';
|
|
5
5
|
import { MatDialog } from '@angular/material/dialog';
|
|
6
6
|
import { Route, Router, ActivatedRoute, UrlTree, CanDeactivateFn } from '@angular/router';
|
|
7
|
-
import { NotificationService } from '@cccteam/ccc-lib/
|
|
7
|
+
import { NotificationService } from '@cccteam/ccc-lib/ui-notification-service';
|
|
8
8
|
import { HttpClient } from '@angular/common/http';
|
|
9
9
|
import { Observable } from 'rxjs';
|
|
10
10
|
import { FormGroup } from '@angular/forms';
|
|
11
11
|
import { Location } from '@angular/common';
|
|
12
12
|
import { MatExpansionPanel } from '@angular/material/expansion';
|
|
13
|
-
import { CamelCaseToTitlePipe } from '@cccteam/ccc-lib/
|
|
13
|
+
import { CamelCaseToTitlePipe } from '@cccteam/ccc-lib/ccc-camel-case-to-title';
|
|
14
14
|
|
|
15
15
|
type ActionButtonContext$1 = {
|
|
16
16
|
actionType: 'create' | 'edit' | 'delete';
|
|
@@ -107,7 +107,7 @@ declare class ResourceStore {
|
|
|
107
107
|
router: Router;
|
|
108
108
|
injector: Injector;
|
|
109
109
|
apiUrl: string;
|
|
110
|
-
methodMeta: (method: string) =>
|
|
110
|
+
methodMeta: (method: string) => _cccteam_ccc_lib_types.MethodMeta;
|
|
111
111
|
private resourceListRef;
|
|
112
112
|
listData: Signal<RecordData[]>;
|
|
113
113
|
listStatus: Signal<_angular_core.ResourceStatus | undefined>;
|
|
@@ -144,7 +144,7 @@ declare class RpcButtonComponent {
|
|
|
144
144
|
formState: FormStateService;
|
|
145
145
|
dialog: MatDialog;
|
|
146
146
|
store: ResourceStore;
|
|
147
|
-
methodMeta: (method: string) =>
|
|
147
|
+
methodMeta: (method: string) => _cccteam_ccc_lib_types.MethodMeta;
|
|
148
148
|
relatedData: _angular_core.InputSignal<RecordData>;
|
|
149
149
|
rpcConfig: _angular_core.InputSignal<RPCConfig>;
|
|
150
150
|
primaryResource: _angular_core.InputSignal<Resource>;
|
|
@@ -160,7 +160,7 @@ declare class RpcButtonComponent {
|
|
|
160
160
|
}
|
|
161
161
|
|
|
162
162
|
declare class BaseRPCModalComponent {
|
|
163
|
-
methodMeta: (method: string) =>
|
|
163
|
+
methodMeta: (method: string) => _cccteam_ccc_lib_types.MethodMeta;
|
|
164
164
|
private dialogRef;
|
|
165
165
|
data: {
|
|
166
166
|
elements: FieldElement[];
|
|
@@ -169,7 +169,7 @@ declare class BaseRPCModalComponent {
|
|
|
169
169
|
width: string;
|
|
170
170
|
};
|
|
171
171
|
formData: _angular_core.WritableSignal<RPCBaseFormData>;
|
|
172
|
-
meta: _angular_core.Signal<
|
|
172
|
+
meta: _angular_core.Signal<_cccteam_ccc_lib_types.MethodMeta>;
|
|
173
173
|
constructor();
|
|
174
174
|
onConfirm(): void;
|
|
175
175
|
form: _angular_core.Signal<FormGroup<{}>>;
|
|
@@ -190,8 +190,8 @@ declare class CompoundResourceComponent implements OnInit {
|
|
|
190
190
|
store: ResourceStore;
|
|
191
191
|
injector: Injector;
|
|
192
192
|
componentRef: Type<any>;
|
|
193
|
-
resourceMeta: (resource: Resource) =>
|
|
194
|
-
resourceConfig: _angular_core.InputSignal<
|
|
193
|
+
resourceMeta: (resource: Resource) => _cccteam_ccc_lib_types.ResourceMeta;
|
|
194
|
+
resourceConfig: _angular_core.InputSignal<_cccteam_ccc_lib_types.ListViewConfig | _cccteam_ccc_lib_types.ViewConfig | _cccteam_ccc_lib_types.ComponentConfig | _cccteam_ccc_lib_types.ArrayConfig | undefined>;
|
|
195
195
|
isArrayChild: _angular_core.InputSignal<boolean>;
|
|
196
196
|
uuid: _angular_core.InputSignal<string>;
|
|
197
197
|
parentData: _angular_core.InputSignal<RecordData | undefined>;
|
|
@@ -204,12 +204,12 @@ declare class CompoundResourceComponent implements OnInit {
|
|
|
204
204
|
navAfterDeleteConsideringRoot: _angular_core.Signal<boolean>;
|
|
205
205
|
hasElements: _angular_core.Signal<boolean>;
|
|
206
206
|
primaryConfigParentId: _angular_core.Signal<string>;
|
|
207
|
-
primaryConfig: _angular_core.Signal<
|
|
207
|
+
primaryConfig: _angular_core.Signal<_cccteam_ccc_lib_types.ComponentConfig | ParentResourceConfig>;
|
|
208
208
|
title: _angular_core.Signal<string>;
|
|
209
209
|
isRootConfig: _angular_core.Signal<boolean>;
|
|
210
210
|
configs: _angular_core.Signal<ChildResourceConfig[]>;
|
|
211
211
|
rpcConfigs: _angular_core.Signal<{
|
|
212
|
-
config:
|
|
212
|
+
config: _cccteam_ccc_lib_types.RPCConfig;
|
|
213
213
|
context: {
|
|
214
214
|
actionType: "rpc";
|
|
215
215
|
shouldRender: () => boolean;
|
|
@@ -343,13 +343,13 @@ declare const civildateCoercion: (value: string) => Date;
|
|
|
343
343
|
* email, minLength, maxLength, pattern, nullValidator
|
|
344
344
|
*/
|
|
345
345
|
declare const resourceValidators: Readonly<{
|
|
346
|
-
REQUIRED:
|
|
347
|
-
EMAIL:
|
|
348
|
-
CURRENT_OR_FUTURE_DATE:
|
|
349
|
-
POSITIVE_NUMBER:
|
|
350
|
-
NOT_FUTURE_DATE:
|
|
351
|
-
VALUE_IN_RANGE_INCLUSIVE: (min: number, max: number) =>
|
|
352
|
-
MAX_LENGTH: (maxLength: number) =>
|
|
346
|
+
REQUIRED: _cccteam_ccc_lib_types.ResourceValidatorFn;
|
|
347
|
+
EMAIL: _cccteam_ccc_lib_types.ResourceValidatorFn;
|
|
348
|
+
CURRENT_OR_FUTURE_DATE: _cccteam_ccc_lib_types.ResourceValidatorFn;
|
|
349
|
+
POSITIVE_NUMBER: _cccteam_ccc_lib_types.ResourceValidatorFn;
|
|
350
|
+
NOT_FUTURE_DATE: _cccteam_ccc_lib_types.ResourceValidatorFn;
|
|
351
|
+
VALUE_IN_RANGE_INCLUSIVE: (min: number, max: number) => _cccteam_ccc_lib_types.ResourceValidatorFn;
|
|
352
|
+
MAX_LENGTH: (maxLength: number) => _cccteam_ccc_lib_types.ResourceValidatorFn;
|
|
353
353
|
}>;
|
|
354
354
|
|
|
355
355
|
declare class LeavePageConfirmationModalComponent {
|
|
@@ -377,7 +377,7 @@ type ActionButtonContext = {
|
|
|
377
377
|
};
|
|
378
378
|
|
|
379
379
|
declare class ResourceArrayViewComponent implements OnInit {
|
|
380
|
-
resourceMeta: (resource:
|
|
380
|
+
resourceMeta: (resource: _cccteam_ccc_lib_types.Resource) => _cccteam_ccc_lib_types.ResourceMeta;
|
|
381
381
|
store: ResourceStore;
|
|
382
382
|
injector: Injector;
|
|
383
383
|
resourceConfig: _angular_core.InputSignal<ArrayConfig>;
|
|
@@ -401,7 +401,7 @@ declare class ResourceArrayViewComponent implements OnInit {
|
|
|
401
401
|
}
|
|
402
402
|
|
|
403
403
|
declare class ResourceCreateComponent implements OnInit {
|
|
404
|
-
resourceMeta: (resource: Resource) =>
|
|
404
|
+
resourceMeta: (resource: Resource) => _cccteam_ccc_lib_types.ResourceMeta;
|
|
405
405
|
activatedRoute: ActivatedRoute;
|
|
406
406
|
notifications: NotificationService;
|
|
407
407
|
store: ResourceStore;
|
|
@@ -419,7 +419,7 @@ declare class ResourceCreateComponent implements OnInit {
|
|
|
419
419
|
indentTitle: _angular_core.Signal<boolean>;
|
|
420
420
|
form: _angular_core.Signal<FormGroup<{}>>;
|
|
421
421
|
route: _angular_core.Signal<string>;
|
|
422
|
-
primaryKeys: _angular_core.Signal<
|
|
422
|
+
primaryKeys: _angular_core.Signal<_cccteam_ccc_lib_types.FieldMeta[]>;
|
|
423
423
|
hasRequiredPrimaryKey: _angular_core.Signal<boolean>;
|
|
424
424
|
primaryKeyPath: _angular_core.Signal<string>;
|
|
425
425
|
camelCaseToTitlePipe: CamelCaseToTitlePipe;
|
|
@@ -432,7 +432,7 @@ declare class ResourceCreateComponent implements OnInit {
|
|
|
432
432
|
}
|
|
433
433
|
|
|
434
434
|
declare abstract class BaseInputComponent {
|
|
435
|
-
resourceMeta: (resource:
|
|
435
|
+
resourceMeta: (resource: _cccteam_ccc_lib_types.Resource) => _cccteam_ccc_lib_types.ResourceMeta;
|
|
436
436
|
injector: Injector;
|
|
437
437
|
store: ResourceStore;
|
|
438
438
|
meta: _angular_core.InputSignal<Meta>;
|
|
@@ -506,7 +506,7 @@ declare class ResourceLayoutComponent implements OnInit {
|
|
|
506
506
|
|
|
507
507
|
declare class ResourceListComponent implements OnInit {
|
|
508
508
|
compoundResourceComponent: _angular_core.InputSignal<Type<any>>;
|
|
509
|
-
resourceMeta: (resource: Resource) =>
|
|
509
|
+
resourceMeta: (resource: Resource) => _cccteam_ccc_lib_types.ResourceMeta;
|
|
510
510
|
router: Router;
|
|
511
511
|
store: ResourceStore;
|
|
512
512
|
injector: Injector;
|
|
@@ -521,7 +521,7 @@ declare class ResourceListComponent implements OnInit {
|
|
|
521
521
|
showCreateButton: _angular_core.Signal<boolean>;
|
|
522
522
|
createButtonContext: _angular_core.Signal<{
|
|
523
523
|
actionType: "create";
|
|
524
|
-
meta:
|
|
524
|
+
meta: _cccteam_ccc_lib_types.ResourceMeta;
|
|
525
525
|
shouldRender: (data: RecordData) => boolean;
|
|
526
526
|
resourceData: RecordData;
|
|
527
527
|
} | undefined>;
|
|
@@ -535,14 +535,14 @@ declare class ResourceListComponent implements OnInit {
|
|
|
535
535
|
listTitle: _angular_core.Signal<string>;
|
|
536
536
|
indentTitle: _angular_core.Signal<boolean>;
|
|
537
537
|
createButtonLabel: _angular_core.Signal<string>;
|
|
538
|
-
meta: _angular_core.Signal<
|
|
538
|
+
meta: _angular_core.Signal<_cccteam_ccc_lib_types.ResourceMeta>;
|
|
539
539
|
resourceRefMap: _angular_core.WritableSignal<Map<Resource, ResourceRef<RecordData[]>>>;
|
|
540
|
-
primaryKeys: _angular_core.Signal<
|
|
540
|
+
primaryKeys: _angular_core.Signal<_cccteam_ccc_lib_types.FieldMeta[]>;
|
|
541
541
|
rootColumns: _angular_core.Signal<ColumnConfig[]>;
|
|
542
542
|
columns: _angular_core.Signal<ColumnConfig[]>;
|
|
543
543
|
reloadListData(): void;
|
|
544
544
|
processedRowData: _angular_core.Signal<{
|
|
545
|
-
[x: string]:
|
|
545
|
+
[x: string]: _cccteam_ccc_lib_types.DataType | null;
|
|
546
546
|
}[]>;
|
|
547
547
|
filters: _angular_core.Signal<string>;
|
|
548
548
|
createResource(event: MouseEvent): void;
|
|
@@ -574,7 +574,7 @@ declare class ResourceListCreateComponent {
|
|
|
574
574
|
expPanel: _angular_core.Signal<MatExpansionPanel | undefined>;
|
|
575
575
|
rootConfig: _angular_core.Signal<RootConfig>;
|
|
576
576
|
createLinkType: _angular_core.Signal<boolean>;
|
|
577
|
-
createConfig: _angular_core.Signal<
|
|
577
|
+
createConfig: _angular_core.Signal<_cccteam_ccc_lib_types.ChildResourceConfig>;
|
|
578
578
|
createResource(event: MouseEvent): void;
|
|
579
579
|
makeCreatePatches(): void;
|
|
580
580
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ResourceListCreateComponent, never>;
|
|
@@ -593,7 +593,7 @@ declare class ResourceResolverComponent {
|
|
|
593
593
|
}
|
|
594
594
|
|
|
595
595
|
declare class ResourceViewComponent implements OnInit {
|
|
596
|
-
resourceMeta: (resource: Resource) =>
|
|
596
|
+
resourceMeta: (resource: Resource) => _cccteam_ccc_lib_types.ResourceMeta;
|
|
597
597
|
location: Location;
|
|
598
598
|
router: Router;
|
|
599
599
|
activatedRoute: ActivatedRoute;
|
|
@@ -613,23 +613,23 @@ declare class ResourceViewComponent implements OnInit {
|
|
|
613
613
|
deleted: _angular_core.OutputEmitterRef<boolean>;
|
|
614
614
|
navAfterDelete: _angular_core.InputSignal<boolean>;
|
|
615
615
|
showCreateForm: _angular_core.ModelSignal<boolean>;
|
|
616
|
-
createConfig: _angular_core.Signal<
|
|
616
|
+
createConfig: _angular_core.Signal<_cccteam_ccc_lib_types.ChildResourceConfig>;
|
|
617
617
|
rootConfig: _angular_core.Signal<RootConfig>;
|
|
618
618
|
showCloseButton: _angular_core.Signal<boolean>;
|
|
619
619
|
commonButtonConfig: _angular_core.Signal<{
|
|
620
|
-
meta:
|
|
620
|
+
meta: _cccteam_ccc_lib_types.ResourceMeta;
|
|
621
621
|
resourceData: RecordData;
|
|
622
622
|
config: ListViewConfig | ViewConfig;
|
|
623
623
|
} | undefined>;
|
|
624
624
|
editButtonContext: _angular_core.Signal<{
|
|
625
625
|
actionType: "edit";
|
|
626
|
-
meta:
|
|
626
|
+
meta: _cccteam_ccc_lib_types.ResourceMeta;
|
|
627
627
|
resourceData: RecordData;
|
|
628
628
|
shouldRender: ((data: any) => boolean) | ((data: any) => boolean);
|
|
629
629
|
} | undefined>;
|
|
630
630
|
deleteButtonContext: _angular_core.Signal<{
|
|
631
631
|
actionType: "delete";
|
|
632
|
-
meta:
|
|
632
|
+
meta: _cccteam_ccc_lib_types.ResourceMeta;
|
|
633
633
|
resourceData: RecordData;
|
|
634
634
|
shouldRender: (data: RecordData) => boolean;
|
|
635
635
|
} | undefined>;
|
|
@@ -655,7 +655,7 @@ declare class ResourceViewComponent implements OnInit {
|
|
|
655
655
|
form: _angular_core.Signal<FormGroup<{}>>;
|
|
656
656
|
pristineFormValues: Record<string, DataType | null>;
|
|
657
657
|
route: _angular_core.Signal<string>;
|
|
658
|
-
primaryKeys: _angular_core.Signal<
|
|
658
|
+
primaryKeys: _angular_core.Signal<_cccteam_ccc_lib_types.FieldMeta[]>;
|
|
659
659
|
primaryKeyPath: _angular_core.Signal<string>;
|
|
660
660
|
ngOnInit(): void;
|
|
661
661
|
setEditMode(mode: 'edit' | 'view'): void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@cccteam/ccc-lib/types';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { Type, InjectionToken } from '@angular/core';
|
|
1
3
|
import { TooltipPosition } from '@angular/material/tooltip';
|
|
2
4
|
import { ValidatorFn, AbstractControl, ValidationErrors } from '@angular/forms';
|
|
3
|
-
import { InjectionToken } from '@angular/core';
|
|
4
5
|
|
|
5
6
|
type Brand<K, T> = K & {
|
|
6
7
|
__brand: T;
|
|
@@ -601,11 +602,17 @@ interface BaseConfig {
|
|
|
601
602
|
showBackButton: boolean;
|
|
602
603
|
createNavigation: string[];
|
|
603
604
|
}
|
|
604
|
-
|
|
605
|
+
declare abstract class CustomConfigComponent {
|
|
606
|
+
uuid: _angular_core.InputSignal<string | undefined>;
|
|
607
|
+
parentData: _angular_core.InputSignal<RecordData | undefined>;
|
|
608
|
+
config: _angular_core.InputSignal<ComponentConfig | undefined>;
|
|
609
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CustomConfigComponent, never>;
|
|
610
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<CustomConfigComponent, never, never, { "uuid": { "alias": "uuid"; "required": false; "isSignal": true; }; "parentData": { "alias": "parentData"; "required": false; "isSignal": true; }; "config": { "alias": "config"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
611
|
+
}
|
|
605
612
|
type ConfigParam = SwitchConfigParam;
|
|
606
613
|
interface ComponentConfigOptions {
|
|
607
614
|
primaryResource: Resource;
|
|
608
|
-
component:
|
|
615
|
+
component: Type<CustomConfigComponent> | 'SwitchResolver';
|
|
609
616
|
params?: ConfigParam;
|
|
610
617
|
relatedConfig?: ParentResourceConfig[];
|
|
611
618
|
shouldRenderActions?: Record<'edit' | 'delete' | 'create', (data: any) => boolean>;
|
|
@@ -613,7 +620,7 @@ interface ComponentConfigOptions {
|
|
|
613
620
|
interface ComponentConfig {
|
|
614
621
|
type: 'Component';
|
|
615
622
|
primaryResource: Resource;
|
|
616
|
-
component:
|
|
623
|
+
component: Type<CustomConfigComponent> | 'SwitchResolver';
|
|
617
624
|
params: ConfigParam;
|
|
618
625
|
relatedConfig: ParentResourceConfig[];
|
|
619
626
|
shouldRenderActions: Record<'edit' | 'delete' | 'create', (data: any) => boolean>;
|
|
@@ -622,7 +629,7 @@ declare function componentConfig(config: ComponentConfigOptions): ComponentConfi
|
|
|
622
629
|
declare const componentConfigDefaults: {
|
|
623
630
|
type: "Component";
|
|
624
631
|
primaryResource: Resource;
|
|
625
|
-
component:
|
|
632
|
+
component: "SwitchResolver";
|
|
626
633
|
params: {
|
|
627
634
|
cases: never[];
|
|
628
635
|
};
|
|
@@ -935,5 +942,5 @@ declare const IDLE_SESSION_DURATION: InjectionToken<number>;
|
|
|
935
942
|
declare const IDLE_WARNING_DURATION: InjectionToken<number>;
|
|
936
943
|
declare const IDLE_KEEPALIVE_DURATION: InjectionToken<number>;
|
|
937
944
|
|
|
938
|
-
export { API_URL, AVAILABLE_DOMAINS, AVAILABLE_PERMISSIONS, AlertLevel, BASE_URL, CustomTypes, FRONTEND_LOGIN_PATH, IDLE_KEEPALIVE_DURATION, IDLE_SESSION_DURATION, IDLE_WARNING_DURATION, METHOD_META, PERMISSION_REQUIRED, RESOURCE_META, ReadPermission, SESSION_PATH, UpdatePermission, actionButtonConfig, actionButtonConfigDefaults, additionalResourceConfig, additionalResourceConfigDefaults, arrayConfig, arrayConfigDefaults, componentConfig, componentConfigDefaults, computedDisplayField, computedDisplayFieldElementDefaults, createResourceValidator, defaultEmptyFieldValue, enumeratedConfig, enumeratedConfigDefaults, field, fieldElementDefaults, fieldSort, fieldSortDefaults, foreignKeyDefault, foreignKeyDefaultDefaults, listViewConfig, listViewConfigDefaults, multiColumnConfig, multiColumnConfigDefaults, nullBooleanConfig, nullBooleanConfigDefaults, padding, paddingElementDefaults, requiredIf, rootConfig, rootConfigDefaults, rpcConfig, rpcConfigDefaults, section, sectionElementDefaults, singleColumnConfig, singleColumnConfigDefaults, staticDefault, staticDefaultDefaults, switchParams, switchParamsDefaults, validatorsPresent, viewConfig, viewConfigDefaults };
|
|
939
|
-
export type { ActionButtonConfig, ActionButtonConfigOptions, ActionType, AdditionalResourceConfig, AdditionalResourceConfigOptions, Affix, ArrayConfig,
|
|
945
|
+
export { API_URL, AVAILABLE_DOMAINS, AVAILABLE_PERMISSIONS, AlertLevel, BASE_URL, CustomConfigComponent, CustomTypes, FRONTEND_LOGIN_PATH, IDLE_KEEPALIVE_DURATION, IDLE_SESSION_DURATION, IDLE_WARNING_DURATION, METHOD_META, PERMISSION_REQUIRED, RESOURCE_META, ReadPermission, SESSION_PATH, UpdatePermission, actionButtonConfig, actionButtonConfigDefaults, additionalResourceConfig, additionalResourceConfigDefaults, arrayConfig, arrayConfigDefaults, componentConfig, componentConfigDefaults, computedDisplayField, computedDisplayFieldElementDefaults, createResourceValidator, defaultEmptyFieldValue, enumeratedConfig, enumeratedConfigDefaults, field, fieldElementDefaults, fieldSort, fieldSortDefaults, foreignKeyDefault, foreignKeyDefaultDefaults, listViewConfig, listViewConfigDefaults, multiColumnConfig, multiColumnConfigDefaults, nullBooleanConfig, nullBooleanConfigDefaults, padding, paddingElementDefaults, requiredIf, rootConfig, rootConfigDefaults, rpcConfig, rpcConfigDefaults, section, sectionElementDefaults, singleColumnConfig, singleColumnConfigDefaults, staticDefault, staticDefaultDefaults, switchParams, switchParamsDefaults, validatorsPresent, viewConfig, viewConfigDefaults };
|
|
946
|
+
export type { ActionButtonConfig, ActionButtonConfigOptions, ActionType, AdditionalResourceConfig, AdditionalResourceConfigOptions, Affix, ArrayConfig, BaseConfig, BaseConfigOptions, ChildResourceConfig, ColSize, ColumnConfig, ComponentConfig, ComponentConfigOptions, ComputedDisplayFieldElement, ComputedDisplayFieldElementOptions, ConcatFn, ConfigElement, ConfigParam, ConfigType, CreateNotificationMessage, DataType, Domain, DomainPermissions, EnumeratedConfig, EnumeratedConfigOptions, FieldDefault, FieldElement, FieldElementOptions, FieldMeta, FieldName, FieldPointer, FieldSort, FieldSortOptions, ForeignKeyDefault, ForeignKeyDefaultOptions, FormatType, ListConcatFn, ListViewConfig, ListViewConfigOptions, MenuItem, Meta, Method, MethodMeta, MultiColumnConfig, MultiColumnConfigOptions, NotificationMessage, NullBoolean, NullBooleanConfig, NullBooleanConfigOptions, PaddingElement, PaddingElementOptions, ParentResourceConfig, Permission, PermissionScope, RPCBaseFormData, RPCConfig, RPCConfigOptions, RPCDataType, RPCFieldMeta, RPCPlacement, RPCRecordData, RecordData, Resource, ResourceMeta, ResourceValidatorFn, RootConfig, RootConfigOptions, RootRouteData, RouteResourceData, RpcMethod, SectionElement, SectionElementOptions, SessionInfo, SingleColumnConfig, SingleColumnConfigOptions, StaticDefault, SwitchConfigParam, SwitchConfigParamOptions, ValidDisplayTypes, ValidRPCTypes, ViewConfig, ViewConfigOptions, ViewType, arrayConfigOptions, staticDefaultOptions, switchCase };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { OnInit, EventEmitter } from '@angular/core';
|
|
3
|
-
import { NotificationMessage } from '@cccteam/ccc-lib/
|
|
4
|
-
import { NotificationService } from '@cccteam/ccc-lib/
|
|
3
|
+
import { NotificationMessage } from '@cccteam/ccc-lib/types';
|
|
4
|
+
import { NotificationService } from '@cccteam/ccc-lib/ui-notification-service';
|
|
5
5
|
|
|
6
6
|
declare class AlertComponent implements OnInit {
|
|
7
7
|
error: NotificationMessage;
|
package/types/{cccteam-ccc-lib-src-ui-core-service.d.ts → cccteam-ccc-lib-ui-core-service.d.ts}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { CreateNotificationMessage } from '@cccteam/ccc-lib/
|
|
3
|
-
import { NotificationService } from '@cccteam/ccc-lib/
|
|
2
|
+
import { CreateNotificationMessage } from '@cccteam/ccc-lib/types';
|
|
3
|
+
import { NotificationService } from '@cccteam/ccc-lib/ui-notification-service';
|
|
4
4
|
|
|
5
5
|
declare class UiCoreService {
|
|
6
6
|
notifications: NotificationService;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { NotificationMessage, CreateNotificationMessage } from '@cccteam/ccc-lib/
|
|
2
|
+
import { NotificationMessage, CreateNotificationMessage } from '@cccteam/ccc-lib/types';
|
|
3
3
|
|
|
4
4
|
declare class NotificationService {
|
|
5
5
|
private notificationId;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { Signal } from '@angular/core';
|
|
3
|
-
import { PermissionScope } from '@cccteam/ccc-lib/
|
|
4
|
-
import { UiCoreService } from '@cccteam/ccc-lib/
|
|
3
|
+
import { PermissionScope } from '@cccteam/ccc-lib/types';
|
|
4
|
+
import { UiCoreService } from '@cccteam/ccc-lib/ui-core-service';
|
|
5
5
|
|
|
6
6
|
interface NavItem {
|
|
7
7
|
type: 'link' | 'header' | 'expandable';
|