@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.
Files changed (221) hide show
  1. package/README.md +38 -13
  2. package/fesm2022/cccteam-ccc-lib-src-auth-authentication-guard.mjs +36 -0
  3. package/fesm2022/cccteam-ccc-lib-src-auth-authentication-guard.mjs.map +1 -0
  4. package/fesm2022/cccteam-ccc-lib-src-auth-authorization-guard.mjs +25 -0
  5. package/fesm2022/cccteam-ccc-lib-src-auth-authorization-guard.mjs.map +1 -0
  6. package/fesm2022/cccteam-ccc-lib-src-auth-forms.mjs +83 -0
  7. package/fesm2022/cccteam-ccc-lib-src-auth-forms.mjs.map +1 -0
  8. package/fesm2022/cccteam-ccc-lib-src-auth-has-permission.mjs +44 -0
  9. package/fesm2022/cccteam-ccc-lib-src-auth-has-permission.mjs.map +1 -0
  10. package/fesm2022/cccteam-ccc-lib-src-auth-service.mjs +82 -0
  11. package/fesm2022/cccteam-ccc-lib-src-auth-service.mjs.map +1 -0
  12. package/fesm2022/cccteam-ccc-lib-src-ccc-camel-case-to-title.mjs +33 -0
  13. package/fesm2022/cccteam-ccc-lib-src-ccc-camel-case-to-title.mjs.map +1 -0
  14. package/fesm2022/cccteam-ccc-lib-src-ccc-grid.mjs +256 -0
  15. package/fesm2022/cccteam-ccc-lib-src-ccc-grid.mjs.map +1 -0
  16. package/fesm2022/cccteam-ccc-lib-src-ccc-resource.mjs +3129 -0
  17. package/fesm2022/cccteam-ccc-lib-src-ccc-resource.mjs.map +1 -0
  18. package/fesm2022/cccteam-ccc-lib-src-forms.mjs +79 -0
  19. package/fesm2022/cccteam-ccc-lib-src-forms.mjs.map +1 -0
  20. package/fesm2022/cccteam-ccc-lib-src-internal-types.mjs +6 -0
  21. package/fesm2022/cccteam-ccc-lib-src-internal-types.mjs.map +1 -0
  22. package/fesm2022/cccteam-ccc-lib-src-types.mjs +431 -0
  23. package/fesm2022/cccteam-ccc-lib-src-types.mjs.map +1 -0
  24. package/fesm2022/cccteam-ccc-lib-src-ui-alert.mjs +48 -0
  25. package/fesm2022/cccteam-ccc-lib-src-ui-alert.mjs.map +1 -0
  26. package/fesm2022/cccteam-ccc-lib-src-ui-core-service.mjs +41 -0
  27. package/fesm2022/cccteam-ccc-lib-src-ui-core-service.mjs.map +1 -0
  28. package/fesm2022/cccteam-ccc-lib-src-ui-idle-service.mjs +157 -0
  29. package/fesm2022/cccteam-ccc-lib-src-ui-idle-service.mjs.map +1 -0
  30. package/fesm2022/cccteam-ccc-lib-src-ui-interceptor.mjs +50 -0
  31. package/fesm2022/cccteam-ccc-lib-src-ui-interceptor.mjs.map +1 -0
  32. package/fesm2022/cccteam-ccc-lib-src-ui-notification-service.mjs +63 -0
  33. package/fesm2022/cccteam-ccc-lib-src-ui-notification-service.mjs.map +1 -0
  34. package/fesm2022/cccteam-ccc-lib-src-ui-sidenav.mjs +60 -0
  35. package/fesm2022/cccteam-ccc-lib-src-ui-sidenav.mjs.map +1 -0
  36. package/fesm2022/cccteam-ccc-lib-src-util-request-options.mjs +19 -0
  37. package/fesm2022/cccteam-ccc-lib-src-util-request-options.mjs.map +1 -0
  38. package/fesm2022/cccteam-ccc-lib.mjs +4444 -0
  39. package/fesm2022/cccteam-ccc-lib.mjs.map +1 -0
  40. package/package.json +88 -5
  41. package/types/cccteam-ccc-lib-src-auth-authentication-guard.d.ts +6 -0
  42. package/types/cccteam-ccc-lib-src-auth-authorization-guard.d.ts +6 -0
  43. package/types/cccteam-ccc-lib-src-auth-forms.d.ts +28 -0
  44. package/types/cccteam-ccc-lib-src-auth-has-permission.d.ts +15 -0
  45. package/types/cccteam-ccc-lib-src-auth-service.d.ts +38 -0
  46. package/types/cccteam-ccc-lib-src-ccc-camel-case-to-title.d.ts +10 -0
  47. package/types/cccteam-ccc-lib-src-ccc-grid.d.ts +35 -0
  48. package/types/cccteam-ccc-lib-src-ccc-resource.d.ts +674 -0
  49. package/types/cccteam-ccc-lib-src-forms.d.ts +27 -0
  50. package/types/cccteam-ccc-lib-src-types.d.ts +934 -0
  51. package/types/cccteam-ccc-lib-src-ui-alert.d.ts +16 -0
  52. package/types/cccteam-ccc-lib-src-ui-core-service.d.ts +20 -0
  53. package/types/cccteam-ccc-lib-src-ui-idle-service.d.ts +49 -0
  54. package/types/cccteam-ccc-lib-src-ui-interceptor.d.ts +16 -0
  55. package/types/cccteam-ccc-lib-src-ui-notification-service.d.ts +33 -0
  56. package/types/cccteam-ccc-lib-src-ui-sidenav.d.ts +33 -0
  57. package/types/cccteam-ccc-lib-src-util-request-options.d.ts +12 -0
  58. package/types/cccteam-ccc-lib.d.ts +1877 -0
  59. package/eslint.config.js +0 -32
  60. package/ng-package.json +0 -11
  61. package/src/auth-authentication-guard/authentication.guard.ts +0 -40
  62. package/src/auth-authentication-guard/index.ts +0 -1
  63. package/src/auth-authentication-guard/ng-package.json +0 -6
  64. package/src/auth-authorization-guard/authorization.guard.ts +0 -17
  65. package/src/auth-authorization-guard/index.ts +0 -1
  66. package/src/auth-authorization-guard/ng-package.json +0 -6
  67. package/src/auth-forms/ccc-field/ccc-field.component.html +0 -1
  68. package/src/auth-forms/ccc-field/ccc-field.component.scss +0 -0
  69. package/src/auth-forms/ccc-field/ccc-field.component.spec.ts +0 -22
  70. package/src/auth-forms/ccc-field/ccc-field.component.ts +0 -74
  71. package/src/auth-forms/form-helpers.ts +0 -39
  72. package/src/auth-forms/index.ts +0 -3
  73. package/src/auth-forms/ng-package.json +0 -6
  74. package/src/auth-has-permission/has-permission.directive.ts +0 -34
  75. package/src/auth-has-permission/index.ts +0 -1
  76. package/src/auth-has-permission/ng-package.json +0 -6
  77. package/src/auth-service/auth.service.ts +0 -92
  78. package/src/auth-service/index.ts +0 -1
  79. package/src/auth-service/ng-package.json +0 -6
  80. package/src/ccc-camel-case-to-title/camel-case-to-title.pipe.ts +0 -23
  81. package/src/ccc-camel-case-to-title/index.ts +0 -1
  82. package/src/ccc-camel-case-to-title/ng-package.json +0 -6
  83. package/src/ccc-grid/ccc-grid.component.ts +0 -155
  84. package/src/ccc-grid/index.ts +0 -3
  85. package/src/ccc-grid/ng-package.json +0 -6
  86. package/src/ccc-grid/table-button/table-button.component.html +0 -16
  87. package/src/ccc-grid/table-button/table-button.component.scss +0 -5
  88. package/src/ccc-grid/table-button/table-button.component.spec.ts +0 -22
  89. package/src/ccc-grid/table-button/table-button.component.ts +0 -49
  90. package/src/ccc-resource/can-deactivate.guard.ts +0 -41
  91. package/src/ccc-resource/compound-resource/compound-resource.component.html +0 -57
  92. package/src/ccc-resource/compound-resource/compound-resource.component.scss +0 -86
  93. package/src/ccc-resource/compound-resource/compound-resource.component.spec.ts +0 -22
  94. package/src/ccc-resource/compound-resource/compound-resource.component.ts +0 -158
  95. package/src/ccc-resource/concat-fns.ts +0 -162
  96. package/src/ccc-resource/empty-readonly-field/empty-readonly-field.component.html +0 -12
  97. package/src/ccc-resource/empty-readonly-field/empty-readonly-field.component.scss +0 -0
  98. package/src/ccc-resource/empty-readonly-field/empty-readonly-field.component.spec.ts +0 -23
  99. package/src/ccc-resource/empty-readonly-field/empty-readonly-field.component.ts +0 -17
  100. package/src/ccc-resource/form-state.service.ts +0 -24
  101. package/src/ccc-resource/format-fns.ts +0 -49
  102. package/src/ccc-resource/gui-constants.ts +0 -88
  103. package/src/ccc-resource/index.ts +0 -23
  104. package/src/ccc-resource/leave-page-confirmation-modal/leave-page-confirmation-modal.component.html +0 -8
  105. package/src/ccc-resource/leave-page-confirmation-modal/leave-page-confirmation-modal.component.scss +0 -0
  106. package/src/ccc-resource/leave-page-confirmation-modal/leave-page-confirmation-modal.component.spec.ts +0 -22
  107. package/src/ccc-resource/leave-page-confirmation-modal/leave-page-confirmation-modal.component.ts +0 -12
  108. package/src/ccc-resource/ng-package.json +0 -6
  109. package/src/ccc-resource/operation-types.ts +0 -19
  110. package/src/ccc-resource/padding-element/padding-element.component.html +0 -1
  111. package/src/ccc-resource/padding-element/padding-element.component.scss +0 -3
  112. package/src/ccc-resource/padding-element/padding-element.component.spec.ts +0 -22
  113. package/src/ccc-resource/padding-element/padding-element.component.ts +0 -20
  114. package/src/ccc-resource/resource-array-view/resource-array-view.component.html +0 -81
  115. package/src/ccc-resource/resource-array-view/resource-array-view.component.scss +0 -21
  116. package/src/ccc-resource/resource-array-view/resource-array-view.component.spec.ts +0 -22
  117. package/src/ccc-resource/resource-array-view/resource-array-view.component.ts +0 -143
  118. package/src/ccc-resource/resource-base/resource-base.component.spec.ts +0 -22
  119. package/src/ccc-resource/resource-base/resource-base.component.ts +0 -11
  120. package/src/ccc-resource/resource-cache.service.ts +0 -232
  121. package/src/ccc-resource/resource-create/resource-create.component.html +0 -31
  122. package/src/ccc-resource/resource-create/resource-create.component.scss +0 -130
  123. package/src/ccc-resource/resource-create/resource-create.component.spec.ts +0 -22
  124. package/src/ccc-resource/resource-create/resource-create.component.ts +0 -303
  125. package/src/ccc-resource/resource-field/base-field.directive.ts +0 -102
  126. package/src/ccc-resource/resource-field/fields/boolean-field/boolean-field.component.html +0 -16
  127. package/src/ccc-resource/resource-field/fields/boolean-field/boolean-field.component.scss +0 -0
  128. package/src/ccc-resource/resource-field/fields/boolean-field/boolean-field.component.spec.ts +0 -22
  129. package/src/ccc-resource/resource-field/fields/boolean-field/boolean-field.component.ts +0 -15
  130. package/src/ccc-resource/resource-field/fields/computed-field/computed-field.component.html +0 -13
  131. package/src/ccc-resource/resource-field/fields/computed-field/computed-field.component.scss +0 -0
  132. package/src/ccc-resource/resource-field/fields/computed-field/computed-field.component.spec.ts +0 -23
  133. package/src/ccc-resource/resource-field/fields/computed-field/computed-field.component.ts +0 -50
  134. package/src/ccc-resource/resource-field/fields/date-field/date-field.component.html +0 -22
  135. package/src/ccc-resource/resource-field/fields/date-field/date-field.component.scss +0 -0
  136. package/src/ccc-resource/resource-field/fields/date-field/date-field.component.spec.ts +0 -22
  137. package/src/ccc-resource/resource-field/fields/date-field/date-field.component.ts +0 -14
  138. package/src/ccc-resource/resource-field/fields/enumerated-field/enumerated-field.component.html +0 -71
  139. package/src/ccc-resource/resource-field/fields/enumerated-field/enumerated-field.component.scss +0 -9
  140. package/src/ccc-resource/resource-field/fields/enumerated-field/enumerated-field.component.spec.ts +0 -22
  141. package/src/ccc-resource/resource-field/fields/enumerated-field/enumerated-field.component.ts +0 -207
  142. package/src/ccc-resource/resource-field/fields/nullboolean-field/nullboolean-field.component.html +0 -38
  143. package/src/ccc-resource/resource-field/fields/nullboolean-field/nullboolean-field.component.scss +0 -3
  144. package/src/ccc-resource/resource-field/fields/nullboolean-field/nullboolean-field.component.spec.ts +0 -22
  145. package/src/ccc-resource/resource-field/fields/nullboolean-field/nullboolean-field.component.ts +0 -87
  146. package/src/ccc-resource/resource-field/fields/number-field/number-field.component.html +0 -23
  147. package/src/ccc-resource/resource-field/fields/number-field/number-field.component.scss +0 -6
  148. package/src/ccc-resource/resource-field/fields/number-field/number-field.component.spec.ts +0 -22
  149. package/src/ccc-resource/resource-field/fields/number-field/number-field.component.ts +0 -14
  150. package/src/ccc-resource/resource-field/fields/text-field/text-field.component.html +0 -29
  151. package/src/ccc-resource/resource-field/fields/text-field/text-field.component.scss +0 -6
  152. package/src/ccc-resource/resource-field/fields/text-field/text-field.component.spec.ts +0 -22
  153. package/src/ccc-resource/resource-field/fields/text-field/text-field.component.ts +0 -23
  154. package/src/ccc-resource/resource-field/resource-field.component.html +0 -112
  155. package/src/ccc-resource/resource-field/resource-field.component.scss +0 -7
  156. package/src/ccc-resource/resource-field/resource-field.component.spec.ts +0 -22
  157. package/src/ccc-resource/resource-field/resource-field.component.ts +0 -214
  158. package/src/ccc-resource/resource-layout/resource-layout.component.html +0 -73
  159. package/src/ccc-resource/resource-layout/resource-layout.component.scss +0 -26
  160. package/src/ccc-resource/resource-layout/resource-layout.component.spec.ts +0 -22
  161. package/src/ccc-resource/resource-layout/resource-layout.component.ts +0 -176
  162. package/src/ccc-resource/resource-list/ resource-list.component.spec.ts +0 -22
  163. package/src/ccc-resource/resource-list/resource-list.component.html +0 -27
  164. package/src/ccc-resource/resource-list/resource-list.component.scss +0 -67
  165. package/src/ccc-resource/resource-list/resource-list.component.ts +0 -376
  166. package/src/ccc-resource/resource-list-create/resource-list-create.component.html +0 -71
  167. package/src/ccc-resource/resource-list-create/resource-list-create.component.scss +0 -9
  168. package/src/ccc-resource/resource-list-create/resource-list-create.component.spec.ts +0 -22
  169. package/src/ccc-resource/resource-list-create/resource-list-create.component.ts +0 -103
  170. package/src/ccc-resource/resource-resolver/resource-resolver.component.html +0 -1
  171. package/src/ccc-resource/resource-resolver/resource-resolver.component.scss +0 -0
  172. package/src/ccc-resource/resource-resolver/resource-resolver.component.spec.ts +0 -22
  173. package/src/ccc-resource/resource-resolver/resource-resolver.component.ts +0 -69
  174. package/src/ccc-resource/resource-store.service.ts +0 -93
  175. package/src/ccc-resource/resource-view/resource-view.component.html +0 -133
  176. package/src/ccc-resource/resource-view/resource-view.component.scss +0 -150
  177. package/src/ccc-resource/resource-view/resource-view.component.spec.ts +0 -22
  178. package/src/ccc-resource/resource-view/resource-view.component.ts +0 -354
  179. package/src/ccc-resource/resources-helpers.ts +0 -262
  180. package/src/ccc-resource/utils/validator-utils.ts +0 -6
  181. package/src/index.ts +0 -44
  182. package/src/internal-types/ng-package.json +0 -6
  183. package/src/types/auth.actions.ts +0 -46
  184. package/src/types/configs.ts +0 -952
  185. package/src/types/constants.ts +0 -1
  186. package/src/types/core.actions.ts +0 -33
  187. package/src/types/index.ts +0 -9
  188. package/src/types/ng-package.json +0 -6
  189. package/src/types/notification-message.ts +0 -20
  190. package/src/types/permissions.ts +0 -17
  191. package/src/types/session-info.ts +0 -10
  192. package/src/types/tokens.ts +0 -20
  193. package/src/ui-alert/alert.component.html +0 -13
  194. package/src/ui-alert/alert.component.scss +0 -48
  195. package/src/ui-alert/alert.component.spec.ts +0 -22
  196. package/src/ui-alert/alert.component.ts +0 -35
  197. package/src/ui-alert/index.ts +0 -1
  198. package/src/ui-alert/ng-package.json +0 -6
  199. package/src/ui-core-service/index.ts +0 -1
  200. package/src/ui-core-service/ng-package.json +0 -6
  201. package/src/ui-core-service/ui-core.service.ts +0 -34
  202. package/src/ui-interceptor/api.interceptor.spec.ts +0 -16
  203. package/src/ui-interceptor/api.interceptor.ts +0 -45
  204. package/src/ui-interceptor/index.ts +0 -1
  205. package/src/ui-interceptor/ng-package.json +0 -6
  206. package/src/ui-notification-service/index.ts +0 -1
  207. package/src/ui-notification-service/ng-package.json +0 -6
  208. package/src/ui-notification-service/notification.service.ts +0 -59
  209. package/src/ui-sidenav/index.ts +0 -1
  210. package/src/ui-sidenav/ng-package.json +0 -6
  211. package/src/ui-sidenav/sidenav.component.html +0 -60
  212. package/src/ui-sidenav/sidenav.component.scss +0 -99
  213. package/src/ui-sidenav/sidenav.component.spec.ts +0 -22
  214. package/src/ui-sidenav/sidenav.component.ts +0 -64
  215. package/src/util-request-options/index.ts +0 -1
  216. package/src/util-request-options/ng-package.json +0 -6
  217. package/src/util-request-options/request-options.ts +0 -17
  218. package/tsconfig.lib.json +0 -13
  219. package/tsconfig.lib.prod.json +0 -11
  220. package/tsconfig.spec.json +0 -15
  221. /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.15",
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": "^20.0.0",
10
- "@angular/core": "^20.0.0"
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,6 @@
1
+ import { Signal } from '@angular/core';
2
+ import { ActivatedRouteSnapshot } from '@angular/router';
3
+
4
+ declare const AuthorizationGuard: (route: ActivatedRouteSnapshot) => Signal<boolean>;
5
+
6
+ export { AuthorizationGuard };
@@ -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 };