@cccteam/ccc-lib 0.0.15 → 0.0.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +38 -13
- package/fesm2022/cccteam-ccc-lib-src-auth-authentication-guard.mjs +36 -0
- package/fesm2022/cccteam-ccc-lib-src-auth-authentication-guard.mjs.map +1 -0
- package/fesm2022/cccteam-ccc-lib-src-auth-authorization-guard.mjs +25 -0
- package/fesm2022/cccteam-ccc-lib-src-auth-authorization-guard.mjs.map +1 -0
- package/fesm2022/cccteam-ccc-lib-src-auth-forms.mjs +83 -0
- package/fesm2022/cccteam-ccc-lib-src-auth-forms.mjs.map +1 -0
- package/fesm2022/cccteam-ccc-lib-src-auth-has-permission.mjs +44 -0
- package/fesm2022/cccteam-ccc-lib-src-auth-has-permission.mjs.map +1 -0
- package/fesm2022/cccteam-ccc-lib-src-auth-service.mjs +82 -0
- package/fesm2022/cccteam-ccc-lib-src-auth-service.mjs.map +1 -0
- package/fesm2022/cccteam-ccc-lib-src-ccc-camel-case-to-title.mjs +33 -0
- package/fesm2022/cccteam-ccc-lib-src-ccc-camel-case-to-title.mjs.map +1 -0
- package/fesm2022/cccteam-ccc-lib-src-ccc-grid.mjs +256 -0
- package/fesm2022/cccteam-ccc-lib-src-ccc-grid.mjs.map +1 -0
- package/fesm2022/cccteam-ccc-lib-src-ccc-resource.mjs +3129 -0
- package/fesm2022/cccteam-ccc-lib-src-ccc-resource.mjs.map +1 -0
- package/fesm2022/cccteam-ccc-lib-src-forms.mjs +79 -0
- package/fesm2022/cccteam-ccc-lib-src-forms.mjs.map +1 -0
- package/fesm2022/cccteam-ccc-lib-src-internal-types.mjs +6 -0
- package/fesm2022/cccteam-ccc-lib-src-internal-types.mjs.map +1 -0
- package/fesm2022/cccteam-ccc-lib-src-types.mjs +431 -0
- package/fesm2022/cccteam-ccc-lib-src-types.mjs.map +1 -0
- package/fesm2022/cccteam-ccc-lib-src-ui-alert.mjs +48 -0
- package/fesm2022/cccteam-ccc-lib-src-ui-alert.mjs.map +1 -0
- package/fesm2022/cccteam-ccc-lib-src-ui-core-service.mjs +41 -0
- package/fesm2022/cccteam-ccc-lib-src-ui-core-service.mjs.map +1 -0
- package/fesm2022/cccteam-ccc-lib-src-ui-idle-service.mjs +157 -0
- package/fesm2022/cccteam-ccc-lib-src-ui-idle-service.mjs.map +1 -0
- package/fesm2022/cccteam-ccc-lib-src-ui-interceptor.mjs +50 -0
- package/fesm2022/cccteam-ccc-lib-src-ui-interceptor.mjs.map +1 -0
- package/fesm2022/cccteam-ccc-lib-src-ui-notification-service.mjs +63 -0
- package/fesm2022/cccteam-ccc-lib-src-ui-notification-service.mjs.map +1 -0
- package/fesm2022/cccteam-ccc-lib-src-ui-sidenav.mjs +60 -0
- package/fesm2022/cccteam-ccc-lib-src-ui-sidenav.mjs.map +1 -0
- package/fesm2022/cccteam-ccc-lib-src-util-request-options.mjs +19 -0
- package/fesm2022/cccteam-ccc-lib-src-util-request-options.mjs.map +1 -0
- package/fesm2022/cccteam-ccc-lib.mjs +4444 -0
- package/fesm2022/cccteam-ccc-lib.mjs.map +1 -0
- package/package.json +88 -5
- package/types/cccteam-ccc-lib-src-auth-authentication-guard.d.ts +6 -0
- package/types/cccteam-ccc-lib-src-auth-authorization-guard.d.ts +6 -0
- package/types/cccteam-ccc-lib-src-auth-forms.d.ts +28 -0
- package/types/cccteam-ccc-lib-src-auth-has-permission.d.ts +15 -0
- package/types/cccteam-ccc-lib-src-auth-service.d.ts +38 -0
- package/types/cccteam-ccc-lib-src-ccc-camel-case-to-title.d.ts +10 -0
- package/types/cccteam-ccc-lib-src-ccc-grid.d.ts +35 -0
- package/types/cccteam-ccc-lib-src-ccc-resource.d.ts +674 -0
- package/types/cccteam-ccc-lib-src-forms.d.ts +27 -0
- package/types/cccteam-ccc-lib-src-types.d.ts +934 -0
- package/types/cccteam-ccc-lib-src-ui-alert.d.ts +16 -0
- package/types/cccteam-ccc-lib-src-ui-core-service.d.ts +20 -0
- package/types/cccteam-ccc-lib-src-ui-idle-service.d.ts +49 -0
- package/types/cccteam-ccc-lib-src-ui-interceptor.d.ts +16 -0
- package/types/cccteam-ccc-lib-src-ui-notification-service.d.ts +33 -0
- package/types/cccteam-ccc-lib-src-ui-sidenav.d.ts +33 -0
- package/types/cccteam-ccc-lib-src-util-request-options.d.ts +12 -0
- package/types/cccteam-ccc-lib.d.ts +1877 -0
- package/eslint.config.js +0 -32
- package/ng-package.json +0 -11
- package/src/auth-authentication-guard/authentication.guard.ts +0 -40
- package/src/auth-authentication-guard/index.ts +0 -1
- package/src/auth-authentication-guard/ng-package.json +0 -6
- package/src/auth-authorization-guard/authorization.guard.ts +0 -17
- package/src/auth-authorization-guard/index.ts +0 -1
- package/src/auth-authorization-guard/ng-package.json +0 -6
- package/src/auth-forms/ccc-field/ccc-field.component.html +0 -1
- package/src/auth-forms/ccc-field/ccc-field.component.scss +0 -0
- package/src/auth-forms/ccc-field/ccc-field.component.spec.ts +0 -22
- package/src/auth-forms/ccc-field/ccc-field.component.ts +0 -74
- package/src/auth-forms/form-helpers.ts +0 -39
- package/src/auth-forms/index.ts +0 -3
- package/src/auth-forms/ng-package.json +0 -6
- package/src/auth-has-permission/has-permission.directive.ts +0 -34
- package/src/auth-has-permission/index.ts +0 -1
- package/src/auth-has-permission/ng-package.json +0 -6
- package/src/auth-service/auth.service.ts +0 -92
- package/src/auth-service/index.ts +0 -1
- package/src/auth-service/ng-package.json +0 -6
- package/src/ccc-camel-case-to-title/camel-case-to-title.pipe.ts +0 -23
- package/src/ccc-camel-case-to-title/index.ts +0 -1
- package/src/ccc-camel-case-to-title/ng-package.json +0 -6
- package/src/ccc-grid/ccc-grid.component.ts +0 -155
- package/src/ccc-grid/index.ts +0 -3
- package/src/ccc-grid/ng-package.json +0 -6
- package/src/ccc-grid/table-button/table-button.component.html +0 -16
- package/src/ccc-grid/table-button/table-button.component.scss +0 -5
- package/src/ccc-grid/table-button/table-button.component.spec.ts +0 -22
- package/src/ccc-grid/table-button/table-button.component.ts +0 -49
- package/src/ccc-resource/can-deactivate.guard.ts +0 -41
- package/src/ccc-resource/compound-resource/compound-resource.component.html +0 -57
- package/src/ccc-resource/compound-resource/compound-resource.component.scss +0 -86
- package/src/ccc-resource/compound-resource/compound-resource.component.spec.ts +0 -22
- package/src/ccc-resource/compound-resource/compound-resource.component.ts +0 -158
- package/src/ccc-resource/concat-fns.ts +0 -162
- package/src/ccc-resource/empty-readonly-field/empty-readonly-field.component.html +0 -12
- package/src/ccc-resource/empty-readonly-field/empty-readonly-field.component.scss +0 -0
- package/src/ccc-resource/empty-readonly-field/empty-readonly-field.component.spec.ts +0 -23
- package/src/ccc-resource/empty-readonly-field/empty-readonly-field.component.ts +0 -17
- package/src/ccc-resource/form-state.service.ts +0 -24
- package/src/ccc-resource/format-fns.ts +0 -49
- package/src/ccc-resource/gui-constants.ts +0 -88
- package/src/ccc-resource/index.ts +0 -23
- package/src/ccc-resource/leave-page-confirmation-modal/leave-page-confirmation-modal.component.html +0 -8
- package/src/ccc-resource/leave-page-confirmation-modal/leave-page-confirmation-modal.component.scss +0 -0
- package/src/ccc-resource/leave-page-confirmation-modal/leave-page-confirmation-modal.component.spec.ts +0 -22
- package/src/ccc-resource/leave-page-confirmation-modal/leave-page-confirmation-modal.component.ts +0 -12
- package/src/ccc-resource/ng-package.json +0 -6
- package/src/ccc-resource/operation-types.ts +0 -19
- package/src/ccc-resource/padding-element/padding-element.component.html +0 -1
- package/src/ccc-resource/padding-element/padding-element.component.scss +0 -3
- package/src/ccc-resource/padding-element/padding-element.component.spec.ts +0 -22
- package/src/ccc-resource/padding-element/padding-element.component.ts +0 -20
- package/src/ccc-resource/resource-array-view/resource-array-view.component.html +0 -81
- package/src/ccc-resource/resource-array-view/resource-array-view.component.scss +0 -21
- package/src/ccc-resource/resource-array-view/resource-array-view.component.spec.ts +0 -22
- package/src/ccc-resource/resource-array-view/resource-array-view.component.ts +0 -143
- package/src/ccc-resource/resource-base/resource-base.component.spec.ts +0 -22
- package/src/ccc-resource/resource-base/resource-base.component.ts +0 -11
- package/src/ccc-resource/resource-cache.service.ts +0 -232
- package/src/ccc-resource/resource-create/resource-create.component.html +0 -31
- package/src/ccc-resource/resource-create/resource-create.component.scss +0 -130
- package/src/ccc-resource/resource-create/resource-create.component.spec.ts +0 -22
- package/src/ccc-resource/resource-create/resource-create.component.ts +0 -303
- package/src/ccc-resource/resource-field/base-field.directive.ts +0 -102
- package/src/ccc-resource/resource-field/fields/boolean-field/boolean-field.component.html +0 -16
- package/src/ccc-resource/resource-field/fields/boolean-field/boolean-field.component.scss +0 -0
- package/src/ccc-resource/resource-field/fields/boolean-field/boolean-field.component.spec.ts +0 -22
- package/src/ccc-resource/resource-field/fields/boolean-field/boolean-field.component.ts +0 -15
- package/src/ccc-resource/resource-field/fields/computed-field/computed-field.component.html +0 -13
- package/src/ccc-resource/resource-field/fields/computed-field/computed-field.component.scss +0 -0
- package/src/ccc-resource/resource-field/fields/computed-field/computed-field.component.spec.ts +0 -23
- package/src/ccc-resource/resource-field/fields/computed-field/computed-field.component.ts +0 -50
- package/src/ccc-resource/resource-field/fields/date-field/date-field.component.html +0 -22
- package/src/ccc-resource/resource-field/fields/date-field/date-field.component.scss +0 -0
- package/src/ccc-resource/resource-field/fields/date-field/date-field.component.spec.ts +0 -22
- package/src/ccc-resource/resource-field/fields/date-field/date-field.component.ts +0 -14
- package/src/ccc-resource/resource-field/fields/enumerated-field/enumerated-field.component.html +0 -71
- package/src/ccc-resource/resource-field/fields/enumerated-field/enumerated-field.component.scss +0 -9
- package/src/ccc-resource/resource-field/fields/enumerated-field/enumerated-field.component.spec.ts +0 -22
- package/src/ccc-resource/resource-field/fields/enumerated-field/enumerated-field.component.ts +0 -207
- package/src/ccc-resource/resource-field/fields/nullboolean-field/nullboolean-field.component.html +0 -38
- package/src/ccc-resource/resource-field/fields/nullboolean-field/nullboolean-field.component.scss +0 -3
- package/src/ccc-resource/resource-field/fields/nullboolean-field/nullboolean-field.component.spec.ts +0 -22
- package/src/ccc-resource/resource-field/fields/nullboolean-field/nullboolean-field.component.ts +0 -87
- package/src/ccc-resource/resource-field/fields/number-field/number-field.component.html +0 -23
- package/src/ccc-resource/resource-field/fields/number-field/number-field.component.scss +0 -6
- package/src/ccc-resource/resource-field/fields/number-field/number-field.component.spec.ts +0 -22
- package/src/ccc-resource/resource-field/fields/number-field/number-field.component.ts +0 -14
- package/src/ccc-resource/resource-field/fields/text-field/text-field.component.html +0 -29
- package/src/ccc-resource/resource-field/fields/text-field/text-field.component.scss +0 -6
- package/src/ccc-resource/resource-field/fields/text-field/text-field.component.spec.ts +0 -22
- package/src/ccc-resource/resource-field/fields/text-field/text-field.component.ts +0 -23
- package/src/ccc-resource/resource-field/resource-field.component.html +0 -112
- package/src/ccc-resource/resource-field/resource-field.component.scss +0 -7
- package/src/ccc-resource/resource-field/resource-field.component.spec.ts +0 -22
- package/src/ccc-resource/resource-field/resource-field.component.ts +0 -214
- package/src/ccc-resource/resource-layout/resource-layout.component.html +0 -73
- package/src/ccc-resource/resource-layout/resource-layout.component.scss +0 -26
- package/src/ccc-resource/resource-layout/resource-layout.component.spec.ts +0 -22
- package/src/ccc-resource/resource-layout/resource-layout.component.ts +0 -176
- package/src/ccc-resource/resource-list/ resource-list.component.spec.ts +0 -22
- package/src/ccc-resource/resource-list/resource-list.component.html +0 -27
- package/src/ccc-resource/resource-list/resource-list.component.scss +0 -67
- package/src/ccc-resource/resource-list/resource-list.component.ts +0 -376
- package/src/ccc-resource/resource-list-create/resource-list-create.component.html +0 -71
- package/src/ccc-resource/resource-list-create/resource-list-create.component.scss +0 -9
- package/src/ccc-resource/resource-list-create/resource-list-create.component.spec.ts +0 -22
- package/src/ccc-resource/resource-list-create/resource-list-create.component.ts +0 -103
- package/src/ccc-resource/resource-resolver/resource-resolver.component.html +0 -1
- package/src/ccc-resource/resource-resolver/resource-resolver.component.scss +0 -0
- package/src/ccc-resource/resource-resolver/resource-resolver.component.spec.ts +0 -22
- package/src/ccc-resource/resource-resolver/resource-resolver.component.ts +0 -69
- package/src/ccc-resource/resource-store.service.ts +0 -93
- package/src/ccc-resource/resource-view/resource-view.component.html +0 -133
- package/src/ccc-resource/resource-view/resource-view.component.scss +0 -150
- package/src/ccc-resource/resource-view/resource-view.component.spec.ts +0 -22
- package/src/ccc-resource/resource-view/resource-view.component.ts +0 -354
- package/src/ccc-resource/resources-helpers.ts +0 -262
- package/src/ccc-resource/utils/validator-utils.ts +0 -6
- package/src/index.ts +0 -44
- package/src/internal-types/ng-package.json +0 -6
- package/src/types/auth.actions.ts +0 -46
- package/src/types/configs.ts +0 -952
- package/src/types/constants.ts +0 -1
- package/src/types/core.actions.ts +0 -33
- package/src/types/index.ts +0 -9
- package/src/types/ng-package.json +0 -6
- package/src/types/notification-message.ts +0 -20
- package/src/types/permissions.ts +0 -17
- package/src/types/session-info.ts +0 -10
- package/src/types/tokens.ts +0 -20
- package/src/ui-alert/alert.component.html +0 -13
- package/src/ui-alert/alert.component.scss +0 -48
- package/src/ui-alert/alert.component.spec.ts +0 -22
- package/src/ui-alert/alert.component.ts +0 -35
- package/src/ui-alert/index.ts +0 -1
- package/src/ui-alert/ng-package.json +0 -6
- package/src/ui-core-service/index.ts +0 -1
- package/src/ui-core-service/ng-package.json +0 -6
- package/src/ui-core-service/ui-core.service.ts +0 -34
- package/src/ui-interceptor/api.interceptor.spec.ts +0 -16
- package/src/ui-interceptor/api.interceptor.ts +0 -45
- package/src/ui-interceptor/index.ts +0 -1
- package/src/ui-interceptor/ng-package.json +0 -6
- package/src/ui-notification-service/index.ts +0 -1
- package/src/ui-notification-service/ng-package.json +0 -6
- package/src/ui-notification-service/notification.service.ts +0 -59
- package/src/ui-sidenav/index.ts +0 -1
- package/src/ui-sidenav/ng-package.json +0 -6
- package/src/ui-sidenav/sidenav.component.html +0 -60
- package/src/ui-sidenav/sidenav.component.scss +0 -99
- package/src/ui-sidenav/sidenav.component.spec.ts +0 -22
- package/src/ui-sidenav/sidenav.component.ts +0 -64
- package/src/util-request-options/index.ts +0 -1
- package/src/util-request-options/ng-package.json +0 -6
- package/src/util-request-options/request-options.ts +0 -17
- package/tsconfig.lib.json +0 -13
- package/tsconfig.lib.prod.json +0 -11
- package/tsconfig.spec.json +0 -15
- /package/{src/internal-types/index.ts → types/cccteam-ccc-lib-src-internal-types.d.ts} +0 -0
package/package.json
CHANGED
|
@@ -1,18 +1,101 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cccteam/ccc-lib",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.16",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git://github.com/cccteam/ccc-lib.git"
|
|
7
7
|
},
|
|
8
8
|
"peerDependencies": {
|
|
9
|
-
"@angular/common": "^
|
|
10
|
-
"@angular/core": "^
|
|
9
|
+
"@angular/common": "^21.0.0",
|
|
10
|
+
"@angular/core": "^21.0.0"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"date-fns": "^4.1.0",
|
|
14
14
|
"date-fns-tz": "^3.2.0",
|
|
15
15
|
"tslib": "^2.3.0"
|
|
16
16
|
},
|
|
17
|
-
"sideEffects": false
|
|
18
|
-
|
|
17
|
+
"sideEffects": false,
|
|
18
|
+
"module": "fesm2022/cccteam-ccc-lib.mjs",
|
|
19
|
+
"typings": "types/cccteam-ccc-lib.d.ts",
|
|
20
|
+
"exports": {
|
|
21
|
+
"./package.json": {
|
|
22
|
+
"default": "./package.json"
|
|
23
|
+
},
|
|
24
|
+
".": {
|
|
25
|
+
"types": "./types/cccteam-ccc-lib.d.ts",
|
|
26
|
+
"default": "./fesm2022/cccteam-ccc-lib.mjs"
|
|
27
|
+
},
|
|
28
|
+
"./src/auth-authentication-guard": {
|
|
29
|
+
"types": "./types/cccteam-ccc-lib-src-auth-authentication-guard.d.ts",
|
|
30
|
+
"default": "./fesm2022/cccteam-ccc-lib-src-auth-authentication-guard.mjs"
|
|
31
|
+
},
|
|
32
|
+
"./src/auth-authorization-guard": {
|
|
33
|
+
"types": "./types/cccteam-ccc-lib-src-auth-authorization-guard.d.ts",
|
|
34
|
+
"default": "./fesm2022/cccteam-ccc-lib-src-auth-authorization-guard.mjs"
|
|
35
|
+
},
|
|
36
|
+
"./src/auth-forms": {
|
|
37
|
+
"types": "./types/cccteam-ccc-lib-src-auth-forms.d.ts",
|
|
38
|
+
"default": "./fesm2022/cccteam-ccc-lib-src-auth-forms.mjs"
|
|
39
|
+
},
|
|
40
|
+
"./src/auth-has-permission": {
|
|
41
|
+
"types": "./types/cccteam-ccc-lib-src-auth-has-permission.d.ts",
|
|
42
|
+
"default": "./fesm2022/cccteam-ccc-lib-src-auth-has-permission.mjs"
|
|
43
|
+
},
|
|
44
|
+
"./src/auth-service": {
|
|
45
|
+
"types": "./types/cccteam-ccc-lib-src-auth-service.d.ts",
|
|
46
|
+
"default": "./fesm2022/cccteam-ccc-lib-src-auth-service.mjs"
|
|
47
|
+
},
|
|
48
|
+
"./src/ccc-camel-case-to-title": {
|
|
49
|
+
"types": "./types/cccteam-ccc-lib-src-ccc-camel-case-to-title.d.ts",
|
|
50
|
+
"default": "./fesm2022/cccteam-ccc-lib-src-ccc-camel-case-to-title.mjs"
|
|
51
|
+
},
|
|
52
|
+
"./src/ccc-grid": {
|
|
53
|
+
"types": "./types/cccteam-ccc-lib-src-ccc-grid.d.ts",
|
|
54
|
+
"default": "./fesm2022/cccteam-ccc-lib-src-ccc-grid.mjs"
|
|
55
|
+
},
|
|
56
|
+
"./src/ccc-resource": {
|
|
57
|
+
"types": "./types/cccteam-ccc-lib-src-ccc-resource.d.ts",
|
|
58
|
+
"default": "./fesm2022/cccteam-ccc-lib-src-ccc-resource.mjs"
|
|
59
|
+
},
|
|
60
|
+
"./src/forms": {
|
|
61
|
+
"types": "./types/cccteam-ccc-lib-src-forms.d.ts",
|
|
62
|
+
"default": "./fesm2022/cccteam-ccc-lib-src-forms.mjs"
|
|
63
|
+
},
|
|
64
|
+
"./src/internal-types": {
|
|
65
|
+
"types": "./types/cccteam-ccc-lib-src-internal-types.d.ts",
|
|
66
|
+
"default": "./fesm2022/cccteam-ccc-lib-src-internal-types.mjs"
|
|
67
|
+
},
|
|
68
|
+
"./src/types": {
|
|
69
|
+
"types": "./types/cccteam-ccc-lib-src-types.d.ts",
|
|
70
|
+
"default": "./fesm2022/cccteam-ccc-lib-src-types.mjs"
|
|
71
|
+
},
|
|
72
|
+
"./src/ui-alert": {
|
|
73
|
+
"types": "./types/cccteam-ccc-lib-src-ui-alert.d.ts",
|
|
74
|
+
"default": "./fesm2022/cccteam-ccc-lib-src-ui-alert.mjs"
|
|
75
|
+
},
|
|
76
|
+
"./src/ui-core-service": {
|
|
77
|
+
"types": "./types/cccteam-ccc-lib-src-ui-core-service.d.ts",
|
|
78
|
+
"default": "./fesm2022/cccteam-ccc-lib-src-ui-core-service.mjs"
|
|
79
|
+
},
|
|
80
|
+
"./src/ui-idle-service": {
|
|
81
|
+
"types": "./types/cccteam-ccc-lib-src-ui-idle-service.d.ts",
|
|
82
|
+
"default": "./fesm2022/cccteam-ccc-lib-src-ui-idle-service.mjs"
|
|
83
|
+
},
|
|
84
|
+
"./src/ui-interceptor": {
|
|
85
|
+
"types": "./types/cccteam-ccc-lib-src-ui-interceptor.d.ts",
|
|
86
|
+
"default": "./fesm2022/cccteam-ccc-lib-src-ui-interceptor.mjs"
|
|
87
|
+
},
|
|
88
|
+
"./src/ui-notification-service": {
|
|
89
|
+
"types": "./types/cccteam-ccc-lib-src-ui-notification-service.d.ts",
|
|
90
|
+
"default": "./fesm2022/cccteam-ccc-lib-src-ui-notification-service.mjs"
|
|
91
|
+
},
|
|
92
|
+
"./src/ui-sidenav": {
|
|
93
|
+
"types": "./types/cccteam-ccc-lib-src-ui-sidenav.d.ts",
|
|
94
|
+
"default": "./fesm2022/cccteam-ccc-lib-src-ui-sidenav.mjs"
|
|
95
|
+
},
|
|
96
|
+
"./src/util-request-options": {
|
|
97
|
+
"types": "./types/cccteam-ccc-lib-src-util-request-options.d.ts",
|
|
98
|
+
"default": "./fesm2022/cccteam-ccc-lib-src-util-request-options.mjs"
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ActivatedRouteSnapshot, RouterStateSnapshot } from '@angular/router';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
|
|
4
|
+
declare const AuthenticationGuard: (route: ActivatedRouteSnapshot, routerState: RouterStateSnapshot) => Observable<boolean>;
|
|
5
|
+
|
|
6
|
+
export { AuthenticationGuard };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { OnInit, Signal } from '@angular/core';
|
|
3
|
+
import { AuthService } from '@cccteam/ccc-lib/src/auth-service';
|
|
4
|
+
import { Resource, Domain } from '@cccteam/ccc-lib/src/types';
|
|
5
|
+
|
|
6
|
+
declare enum InputMode {
|
|
7
|
+
Read = "read",
|
|
8
|
+
Edit = "edit"
|
|
9
|
+
}
|
|
10
|
+
declare class CccInputFieldComponent implements OnInit {
|
|
11
|
+
auth: AuthService;
|
|
12
|
+
className: _angular_core.InputSignal<unknown>;
|
|
13
|
+
mode: _angular_core.InputSignal<InputMode>;
|
|
14
|
+
resource: _angular_core.InputSignal<Resource>;
|
|
15
|
+
domain: _angular_core.InputSignal<Domain>;
|
|
16
|
+
value: _angular_core.InputSignal<unknown>;
|
|
17
|
+
name: _angular_core.InputSignal<string>;
|
|
18
|
+
inputMode: typeof InputMode;
|
|
19
|
+
canEdit: Signal<boolean>;
|
|
20
|
+
canEditSelector: boolean;
|
|
21
|
+
canRead: Signal<boolean>;
|
|
22
|
+
canReadSelector: boolean;
|
|
23
|
+
ngOnInit(): void;
|
|
24
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CccInputFieldComponent, never>;
|
|
25
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CccInputFieldComponent, "ccc-input-field", never, { "className": { "alias": "className"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": true; "isSignal": true; }; "resource": { "alias": "resource"; "required": true; "isSignal": true; }; "domain": { "alias": "domain"; "required": true; "isSignal": true; }; "value": { "alias": "value"; "required": true; "isSignal": true; }; "name": { "alias": "name"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export { CccInputFieldComponent, InputMode };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { PermissionScope } from '@cccteam/ccc-lib/src/types';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
|
|
4
|
+
declare class HasPermissionDirective {
|
|
5
|
+
private auth;
|
|
6
|
+
private templateRef;
|
|
7
|
+
private viewContainer;
|
|
8
|
+
private scope;
|
|
9
|
+
set cccHasPermission(scope: PermissionScope);
|
|
10
|
+
constructor();
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HasPermissionDirective, never>;
|
|
12
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HasPermissionDirective, "[cccHasPermission]", never, { "cccHasPermission": { "alias": "cccHasPermission"; "required": false; }; }, {}, never, never, true, never>;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export { HasPermissionDirective };
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { HttpClient } from '@angular/common/http';
|
|
3
|
+
import { SessionInfo, PermissionScope, Resource, Permission } from '@cccteam/ccc-lib/src/types';
|
|
4
|
+
import { Observable } from 'rxjs';
|
|
5
|
+
|
|
6
|
+
declare class AuthService {
|
|
7
|
+
private apiUrl;
|
|
8
|
+
private loginUrl;
|
|
9
|
+
private sessionUrl;
|
|
10
|
+
http: HttpClient;
|
|
11
|
+
private authenticatedSignal;
|
|
12
|
+
private sessionInfoSignal;
|
|
13
|
+
redirectUrl: _angular_core.WritableSignal<string>;
|
|
14
|
+
authenticated: _angular_core.Signal<boolean>;
|
|
15
|
+
sessionInfo: _angular_core.Signal<SessionInfo>;
|
|
16
|
+
constructor();
|
|
17
|
+
private static permissionFn;
|
|
18
|
+
hasPermission(scope?: PermissionScope): boolean;
|
|
19
|
+
static requiresPermission(resource: Resource, permission: Permission): boolean;
|
|
20
|
+
private initializePermissionFn;
|
|
21
|
+
/**
|
|
22
|
+
* Logs a user out.
|
|
23
|
+
*
|
|
24
|
+
* @returns Observable with a boolean indicating whether they were logged out.
|
|
25
|
+
*/
|
|
26
|
+
logout(): Observable<boolean>;
|
|
27
|
+
/**
|
|
28
|
+
* Checks a user's session with the server.
|
|
29
|
+
*
|
|
30
|
+
* @returns Observable with the user session info
|
|
31
|
+
*/
|
|
32
|
+
checkUserSession(): Observable<SessionInfo>;
|
|
33
|
+
loginRoute(): string;
|
|
34
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AuthService, never>;
|
|
35
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AuthService>;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export { AuthService };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { PipeTransform } from '@angular/core';
|
|
3
|
+
|
|
4
|
+
declare class CamelCaseToTitlePipe implements PipeTransform {
|
|
5
|
+
transform(value: string): string;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CamelCaseToTitlePipe, never>;
|
|
7
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<CamelCaseToTitlePipe, "camelCaseToTitle", true>;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export { CamelCaseToTitlePipe };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { TemplateRef } from '@angular/core';
|
|
3
|
+
import { ColumnConfig, RecordData, ActionButtonConfig } from '@cccteam/ccc-lib/src/types';
|
|
4
|
+
import { SelectableSettings } from '@progress/kendo-angular-grid';
|
|
5
|
+
import { TooltipPosition } from '@angular/material/tooltip';
|
|
6
|
+
|
|
7
|
+
declare class AppGridComponent {
|
|
8
|
+
rowData: _angular_core.InputSignal<any[]>;
|
|
9
|
+
columnDefs: _angular_core.InputSignal<ColumnConfig[]>;
|
|
10
|
+
enableRowExpansion: _angular_core.InputSignal<boolean>;
|
|
11
|
+
detailTemplate: _angular_core.InputSignal<TemplateRef<unknown> | undefined>;
|
|
12
|
+
selectionType: _angular_core.InputSignal<"multiple" | "single" | "none">;
|
|
13
|
+
selectedRows: _angular_core.OutputEmitterRef<RecordData[]>;
|
|
14
|
+
selectedKeys: number[];
|
|
15
|
+
onSelectedKeysChange(keys: number[]): void;
|
|
16
|
+
selectionMode: _angular_core.Signal<false | SelectableSettings>;
|
|
17
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AppGridComponent, never>;
|
|
18
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AppGridComponent, "ccc-grid", never, { "rowData": { "alias": "rowData"; "required": false; "isSignal": true; }; "columnDefs": { "alias": "columnDefs"; "required": false; "isSignal": true; }; "enableRowExpansion": { "alias": "enableRowExpansion"; "required": false; "isSignal": true; }; "detailTemplate": { "alias": "detailTemplate"; "required": false; "isSignal": true; }; "selectionType": { "alias": "selectionType"; "required": false; "isSignal": true; }; }, { "selectedRows": "selectedRows"; }, never, never, true, never>;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
declare class TableButtonComponent<T> {
|
|
22
|
+
config: _angular_core.InputSignal<ActionButtonConfig>;
|
|
23
|
+
rowData: _angular_core.InputSignal<T>;
|
|
24
|
+
tooltipPosition: _angular_core.InputSignal<TooltipPosition>;
|
|
25
|
+
color: _angular_core.InputSignal<string>;
|
|
26
|
+
disabled: _angular_core.WritableSignal<boolean>;
|
|
27
|
+
viewRoute: _angular_core.InputSignal<string>;
|
|
28
|
+
id: _angular_core.InputSignal<string>;
|
|
29
|
+
link: _angular_core.Signal<string>;
|
|
30
|
+
callAction(): void;
|
|
31
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableButtonComponent<any>, never>;
|
|
32
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TableButtonComponent<any>, "ccc-table-button", never, { "config": { "alias": "config"; "required": true; "isSignal": true; }; "rowData": { "alias": "rowData"; "required": true; "isSignal": true; }; "tooltipPosition": { "alias": "tooltipPosition"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "viewRoute": { "alias": "viewRoute"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export { AppGridComponent, TableButtonComponent };
|