@valtimo/shared 13.0.0

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 (129) hide show
  1. package/README.md +31 -0
  2. package/assets/core/de.json +1850 -0
  3. package/assets/core/en.json +1826 -0
  4. package/assets/core/nl.json +1848 -0
  5. package/fesm2022/valtimo-shared.mjs +1653 -0
  6. package/fesm2022/valtimo-shared.mjs.map +1 -0
  7. package/index.d.ts +6 -0
  8. package/lib/components/global-notification.component.d.ts +13 -0
  9. package/lib/components/global-notification.component.d.ts.map +1 -0
  10. package/lib/config.module.d.ts +11 -0
  11. package/lib/config.module.d.ts.map +1 -0
  12. package/lib/constants/case-configuration-extensions-token.d.ts +4 -0
  13. package/lib/constants/case-configuration-extensions-token.d.ts.map +1 -0
  14. package/lib/constants/case-management-tab-token.d.ts +5 -0
  15. package/lib/constants/case-management-tab-token.d.ts.map +1 -0
  16. package/lib/constants/error.constants.d.ts +5 -0
  17. package/lib/constants/error.constants.d.ts.map +1 -0
  18. package/lib/constants/form-view-model-token.d.ts +5 -0
  19. package/lib/constants/form-view-model-token.d.ts.map +1 -0
  20. package/lib/constants/index.d.ts +6 -0
  21. package/lib/constants/index.d.ts.map +1 -0
  22. package/lib/constants/versions.d.ts +4 -0
  23. package/lib/constants/versions.d.ts.map +1 -0
  24. package/lib/extension/extension.component.d.ts +19 -0
  25. package/lib/extension/extension.component.d.ts.map +1 -0
  26. package/lib/models/case-management.model.d.ts +12 -0
  27. package/lib/models/case-management.model.d.ts.map +1 -0
  28. package/lib/models/config.d.ts +144 -0
  29. package/lib/models/config.d.ts.map +1 -0
  30. package/lib/models/email-notification-settings.model.d.ts +12 -0
  31. package/lib/models/email-notification-settings.model.d.ts.map +1 -0
  32. package/lib/models/extension.model.d.ts +33 -0
  33. package/lib/models/extension.model.d.ts.map +1 -0
  34. package/lib/models/form-view-model.model.d.ts +6 -0
  35. package/lib/models/form-view-model.model.d.ts.map +1 -0
  36. package/lib/models/global-configuration.model.d.ts +5 -0
  37. package/lib/models/global-configuration.model.d.ts.map +1 -0
  38. package/lib/models/http-loader.d.ts +4 -0
  39. package/lib/models/http-loader.d.ts.map +1 -0
  40. package/lib/models/index.d.ts +22 -0
  41. package/lib/models/index.d.ts.map +1 -0
  42. package/lib/models/localization.model.d.ts +10 -0
  43. package/lib/models/localization.model.d.ts.map +1 -0
  44. package/lib/models/management.model.d.ts +3 -0
  45. package/lib/models/management.model.d.ts.map +1 -0
  46. package/lib/models/menu-item.model.d.ts +19 -0
  47. package/lib/models/menu-item.model.d.ts.map +1 -0
  48. package/lib/models/menu.config.d.ts +5 -0
  49. package/lib/models/menu.config.d.ts.map +1 -0
  50. package/lib/models/page.d.ts +26 -0
  51. package/lib/models/page.d.ts.map +1 -0
  52. package/lib/models/roles.d.ts +4 -0
  53. package/lib/models/roles.d.ts.map +1 -0
  54. package/lib/models/search.model.d.ts +52 -0
  55. package/lib/models/search.model.d.ts.map +1 -0
  56. package/lib/models/security.config.d.ts +47 -0
  57. package/lib/models/security.config.d.ts.map +1 -0
  58. package/lib/models/tag-color.model.d.ts +16 -0
  59. package/lib/models/tag-color.model.d.ts.map +1 -0
  60. package/lib/models/translation.model.d.ts +7 -0
  61. package/lib/models/translation.model.d.ts.map +1 -0
  62. package/lib/models/user-management.model.d.ts +22 -0
  63. package/lib/models/user-management.model.d.ts.map +1 -0
  64. package/lib/models/user-settings.model.d.ts +9 -0
  65. package/lib/models/user-settings.model.d.ts.map +1 -0
  66. package/lib/models/versions.model.d.ts +5 -0
  67. package/lib/models/versions.model.d.ts.map +1 -0
  68. package/lib/models/window.model.d.ts +12 -0
  69. package/lib/models/window.model.d.ts.map +1 -0
  70. package/lib/services/base-api.service.d.ts +10 -0
  71. package/lib/services/base-api.service.d.ts.map +1 -0
  72. package/lib/services/config.service.d.ts +27 -0
  73. package/lib/services/config.service.d.ts.map +1 -0
  74. package/lib/services/draft-version.service.d.ts +14 -0
  75. package/lib/services/draft-version.service.d.ts.map +1 -0
  76. package/lib/services/edit-permissions.service.d.ts +19 -0
  77. package/lib/services/edit-permissions.service.d.ts.map +1 -0
  78. package/lib/services/environment.service.d.ts +14 -0
  79. package/lib/services/environment.service.d.ts.map +1 -0
  80. package/lib/services/global-notification.service.d.ts +22 -0
  81. package/lib/services/global-notification.service.d.ts.map +1 -0
  82. package/lib/services/index.d.ts +10 -0
  83. package/lib/services/index.d.ts.map +1 -0
  84. package/lib/services/localization.service.d.ts +19 -0
  85. package/lib/services/localization.service.d.ts.map +1 -0
  86. package/lib/services/menu-include.service.d.ts +13 -0
  87. package/lib/services/menu-include.service.d.ts.map +1 -0
  88. package/lib/services/user-settings.service.d.ts +16 -0
  89. package/lib/services/user-settings.service.d.ts.map +1 -0
  90. package/lib/testing/index.d.ts +2 -0
  91. package/lib/testing/index.d.ts.map +1 -0
  92. package/lib/testing/services/index.d.ts +4 -0
  93. package/lib/testing/services/index.d.ts.map +1 -0
  94. package/lib/testing/services/mock-icon.service.d.ts +7 -0
  95. package/lib/testing/services/mock-icon.service.d.ts.map +1 -0
  96. package/lib/testing/services/mock-keycloak.service.d.ts +14 -0
  97. package/lib/testing/services/mock-keycloak.service.d.ts.map +1 -0
  98. package/lib/testing/services/mock-translate.service.d.ts +9 -0
  99. package/lib/testing/services/mock-translate.service.d.ts.map +1 -0
  100. package/lib/translation/custom-multi-translate-http-loader-factory.d.ts +6 -0
  101. package/lib/translation/custom-multi-translate-http-loader-factory.d.ts.map +1 -0
  102. package/lib/translation/custom-multi-translate-http-loader.d.ts +14 -0
  103. package/lib/translation/custom-multi-translate-http-loader.d.ts.map +1 -0
  104. package/lib/translation/index.d.ts +4 -0
  105. package/lib/translation/index.d.ts.map +1 -0
  106. package/lib/translation/multi-translate-http-loader-factory.d.ts +5 -0
  107. package/lib/translation/multi-translate-http-loader-factory.d.ts.map +1 -0
  108. package/lib/utils/global-notification.utils.d.ts +7 -0
  109. package/lib/utils/global-notification.utils.d.ts.map +1 -0
  110. package/lib/utils/index.d.ts +5 -0
  111. package/lib/utils/index.d.ts.map +1 -0
  112. package/lib/utils/route-params.utils.d.ts +8 -0
  113. package/lib/utils/route-params.utils.d.ts.map +1 -0
  114. package/lib/utils/router.utils.d.ts +6 -0
  115. package/lib/utils/router.utils.d.ts.map +1 -0
  116. package/lib/utils/url.utils.d.ts +7 -0
  117. package/lib/utils/url.utils.d.ts.map +1 -0
  118. package/lib/zgw/constants/index.d.ts +3 -0
  119. package/lib/zgw/constants/index.d.ts.map +1 -0
  120. package/lib/zgw/constants/zgw-documenten-api-documents-component-token.d.ts +4 -0
  121. package/lib/zgw/constants/zgw-documenten-api-documents-component-token.d.ts.map +1 -0
  122. package/lib/zgw/constants/zgw-object-type-component-token.d.ts +4 -0
  123. package/lib/zgw/constants/zgw-object-type-component-token.d.ts.map +1 -0
  124. package/lib/zgw/index.d.ts +2 -0
  125. package/lib/zgw/index.d.ts.map +1 -0
  126. package/package.json +26 -0
  127. package/public-api.d.ts +11 -0
  128. package/public-api.d.ts.map +1 -0
  129. package/valtimo-shared.d.ts.map +1 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"email-notification-settings.model.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/shared/src/lib/models/email-notification-settings.model.ts"],"names":[],"mappings":"AAgBA,MAAM,WAAW,yBAAyB;IACxC,kBAAkB,EAAE,OAAO,CAAC;IAC5B,iBAAiB,EAAE,OAAO,CAAC;IAC3B,yBAAyB,EAAE,OAAO,CAAC;IACnC,0BAA0B,EAAE,OAAO,CAAC;IACpC,4BAA4B,EAAE,OAAO,CAAC;IACtC,2BAA2B,EAAE,OAAO,CAAC;IACrC,yBAAyB,EAAE,OAAO,CAAC;IACnC,2BAA2B,EAAE,OAAO,CAAC;IACrC,yBAAyB,EAAE,OAAO,CAAC;CACpC"}
@@ -0,0 +1,33 @@
1
+ import { ComponentFactoryResolver, ComponentRef, ViewContainerRef } from '@angular/core';
2
+ export interface ExtensionPoint {
3
+ module: string;
4
+ page: string;
5
+ section: string;
6
+ component: any;
7
+ }
8
+ export declare class ExtensionLoader {
9
+ private readonly componentFactoryResolver;
10
+ private componentRef;
11
+ constructor(componentFactoryResolver: ComponentFactoryResolver);
12
+ loadExtensionPoint(viewContainerRef: ViewContainerRef, extensionPoint: ExtensionPoint): void;
13
+ loadAndClearExtensionPoint(viewContainerRef: ViewContainerRef, extensionPoint: ExtensionPoint): ComponentRef<unknown>;
14
+ }
15
+ export declare class Extension {
16
+ readonly _name: string;
17
+ readonly _extensionPoint: BasicExtensionPoint;
18
+ constructor(name: string, extensionPoint: BasicExtensionPoint);
19
+ get extensionPoint(): BasicExtensionPoint;
20
+ }
21
+ export declare class BasicExtensionPoint implements ExtensionPoint {
22
+ private readonly _module;
23
+ private readonly _page;
24
+ private readonly _section;
25
+ private readonly _component;
26
+ constructor(module: string, page: string, section: string, component: any);
27
+ supports(module: string, page: string, section: string): boolean;
28
+ get module(): string;
29
+ get page(): string;
30
+ get section(): string;
31
+ get component(): any;
32
+ }
33
+ //# sourceMappingURL=extension.model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"extension.model.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/shared/src/lib/models/extension.model.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,wBAAwB,EAAE,YAAY,EAAE,gBAAgB,EAAC,MAAM,eAAe,CAAC;AAEvF,MAAM,WAAW,cAAc;IAC7B,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,GAAG,CAAC;CAChB;AAED,qBAAa,eAAe;IAC1B,OAAO,CAAC,QAAQ,CAAC,wBAAwB,CAAkC;IAC3E,OAAO,CAAC,YAAY,CAA2B;gBAEnC,wBAAwB,EAAE,wBAAwB;IAI9D,kBAAkB,CAAC,gBAAgB,EAAE,gBAAgB,EAAE,cAAc,EAAE,cAAc;IAOrF,0BAA0B,CAAC,gBAAgB,EAAE,gBAAgB,EAAE,cAAc,EAAE,cAAc;CAO9F;AAED,qBAAa,SAAS;IACpB,SAAgB,KAAK,EAAE,MAAM,CAAC;IAC9B,SAAgB,eAAe,EAAE,mBAAmB,CAAC;gBAEzC,IAAI,EAAE,MAAM,EAAE,cAAc,EAAE,mBAAmB;IAK7D,IAAI,cAAc,IAAI,mBAAmB,CAExC;CACF;AAED,qBAAa,mBAAoB,YAAW,cAAc;IACxD,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAS;IACjC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAS;IAC/B,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAS;IAClC,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAM;gBAErB,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,GAAG;IAOzE,QAAQ,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO;IAIhE,IAAI,MAAM,IAAI,MAAM,CAEnB;IAED,IAAI,IAAI,IAAI,MAAM,CAEjB;IAED,IAAI,OAAO,IAAI,MAAM,CAEpB;IAED,IAAI,SAAS,IAAI,GAAG,CAEnB;CACF"}
@@ -0,0 +1,6 @@
1
+ import { Type } from '@angular/core';
2
+ interface FormViewModel {
3
+ component: Type<any>;
4
+ }
5
+ export { FormViewModel };
6
+ //# sourceMappingURL=form-view-model.model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form-view-model.model.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/shared/src/lib/models/form-view-model.model.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,IAAI,EAAC,MAAM,eAAe,CAAC;AAEnC,UAAU,aAAa;IACrB,SAAS,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC;CACtB;AAED,OAAO,EAAC,aAAa,EAAC,CAAC"}
@@ -0,0 +1,5 @@
1
+ interface GlobalConfiguration {
2
+ canUpdateGlobalConfiguration: boolean;
3
+ }
4
+ export { GlobalConfiguration };
5
+ //# sourceMappingURL=global-configuration.model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"global-configuration.model.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/shared/src/lib/models/global-configuration.model.ts"],"names":[],"mappings":"AAgBA,UAAU,mBAAmB;IAC3B,4BAA4B,EAAE,OAAO,CAAC;CACvC;AAED,OAAO,EAAC,mBAAmB,EAAC,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { TranslateHttpLoader } from '@ngx-translate/http-loader';
2
+ import { HttpClient } from '@angular/common/http';
3
+ export declare function HttpLoaderFactory(httpClient: HttpClient): TranslateHttpLoader;
4
+ //# sourceMappingURL=http-loader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"http-loader.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/shared/src/lib/models/http-loader.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,mBAAmB,EAAC,MAAM,4BAA4B,CAAC;AAC/D,OAAO,EAAC,UAAU,EAAC,MAAM,sBAAsB,CAAC;AAEhD,wBAAgB,iBAAiB,CAAC,UAAU,EAAE,UAAU,uBAEvD"}
@@ -0,0 +1,22 @@
1
+ export * from './config';
2
+ export * from './email-notification-settings.model';
3
+ export * from './menu-item.model';
4
+ export * from './menu.config';
5
+ export * from './security.config';
6
+ export * from './extension.model';
7
+ export * from './http-loader';
8
+ export * from './roles';
9
+ export * from './user-management.model';
10
+ export * from './page';
11
+ export * from './search.model';
12
+ export * from './versions.model';
13
+ export * from './user-settings.model';
14
+ export * from './translation.model';
15
+ export * from './localization.model';
16
+ export * from './form-view-model.model';
17
+ export * from './window.model';
18
+ export * from './management.model';
19
+ export * from './tag-color.model';
20
+ export * from './global-configuration.model';
21
+ export * from './case-management.model';
22
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/shared/src/lib/models/index.ts"],"names":[],"mappings":"AAgBA,cAAc,UAAU,CAAC;AACzB,cAAc,qCAAqC,CAAC;AACpD,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,yBAAyB,CAAC;AACxC,cAAc,QAAQ,CAAC;AACvB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,yBAAyB,CAAC;AACxC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yBAAyB,CAAC"}
@@ -0,0 +1,10 @@
1
+ type LocalizationContent = object;
2
+ interface Localization {
3
+ languageKey: string;
4
+ content: LocalizationContent;
5
+ }
6
+ interface MergedLocalizations {
7
+ [languageKey: string]: LocalizationContent;
8
+ }
9
+ export { Localization, LocalizationContent, MergedLocalizations };
10
+ //# sourceMappingURL=localization.model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"localization.model.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/shared/src/lib/models/localization.model.ts"],"names":[],"mappings":"AAgBA,KAAK,mBAAmB,GAAG,MAAM,CAAC;AAElC,UAAU,YAAY;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,mBAAmB,CAAC;CAC9B;AAED,UAAU,mBAAmB;IAC3B,CAAC,WAAW,EAAE,MAAM,GAAG,mBAAmB,CAAC;CAC5C;AAED,OAAO,EAAC,YAAY,EAAE,mBAAmB,EAAE,mBAAmB,EAAC,CAAC"}
@@ -0,0 +1,3 @@
1
+ type ManagementContext = 'case' | 'independent';
2
+ export { ManagementContext };
3
+ //# sourceMappingURL=management.model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"management.model.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/shared/src/lib/models/management.model.ts"],"names":[],"mappings":"AAgBA,KAAK,iBAAiB,GAAG,MAAM,GAAG,aAAa,CAAC;AAEhD,OAAO,EAAC,iBAAiB,EAAC,CAAC"}
@@ -0,0 +1,19 @@
1
+ import { Subject } from 'rxjs';
2
+ declare enum IncludeFunction {
3
+ ObjectManagementEnabled = 0
4
+ }
5
+ interface MenuItem {
6
+ title: string;
7
+ sequence: number;
8
+ id?: string;
9
+ link?: string[] | null;
10
+ textClass?: string;
11
+ iconClass?: string;
12
+ children?: MenuItem[];
13
+ roles?: string[];
14
+ show?: boolean;
15
+ count$?: Subject<number>;
16
+ includeFunction?: IncludeFunction;
17
+ }
18
+ export { MenuItem, IncludeFunction };
19
+ //# sourceMappingURL=menu-item.model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"menu-item.model.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/shared/src/lib/models/menu-item.model.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,OAAO,EAAC,MAAM,MAAM,CAAC;AAE7B,aAAK,eAAe;IAClB,uBAAuB,IAAA;CACxB;AAED,UAAU,QAAQ;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,QAAQ,EAAE,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IACjB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,MAAM,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,CAAC;IACzB,eAAe,CAAC,EAAE,eAAe,CAAC;CACnC;AAED,OAAO,EAAC,QAAQ,EAAE,eAAe,EAAC,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { MenuItem } from './menu-item.model';
2
+ export interface MenuConfig {
3
+ menuItems: MenuItem[];
4
+ }
5
+ //# sourceMappingURL=menu.config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"menu.config.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/shared/src/lib/models/menu.config.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,QAAQ,EAAC,MAAM,mBAAmB,CAAC;AAE3C,MAAM,WAAW,UAAU;IACzB,SAAS,EAAE,QAAQ,EAAE,CAAC;CACvB"}
@@ -0,0 +1,26 @@
1
+ interface SortResult {
2
+ sorted: boolean;
3
+ unsorted: boolean;
4
+ }
5
+ interface Pageable {
6
+ sort: SortResult;
7
+ pageSize: number;
8
+ pageNumber: number;
9
+ offset: number;
10
+ unpaged: boolean;
11
+ paged: boolean;
12
+ }
13
+ interface Page<T> {
14
+ content: Array<T>;
15
+ pageable: Pageable;
16
+ last: boolean;
17
+ totalPages: number;
18
+ totalElements: number;
19
+ first: boolean;
20
+ sort: SortResult;
21
+ numberOfElements: number;
22
+ size: number;
23
+ number: number;
24
+ }
25
+ export { SortResult, Pageable, Page };
26
+ //# sourceMappingURL=page.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"page.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/shared/src/lib/models/page.ts"],"names":[],"mappings":"AAgBA,UAAU,UAAU;IAClB,MAAM,EAAE,OAAO,CAAC;IAChB,QAAQ,EAAE,OAAO,CAAC;CACnB;AAED,UAAU,QAAQ;IAChB,IAAI,EAAE,UAAU,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,OAAO,CAAC;CAChB;AAED,UAAU,IAAI,CAAC,CAAC;IACd,OAAO,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC;IAClB,QAAQ,EAAE,QAAQ,CAAC;IACnB,IAAI,EAAE,OAAO,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;IACtB,KAAK,EAAE,OAAO,CAAC;IACf,IAAI,EAAE,UAAU,CAAC;IACjB,gBAAgB,EAAE,MAAM,CAAC;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,OAAO,EAAC,UAAU,EAAE,QAAQ,EAAE,IAAI,EAAC,CAAC"}
@@ -0,0 +1,4 @@
1
+ export declare const ROLE_ADMIN = "ROLE_ADMIN";
2
+ export declare const ROLE_USER = "ROLE_USER";
3
+ export declare const ROLE_DEVELOPER = "ROLE_DEVELOPER";
4
+ //# sourceMappingURL=roles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"roles.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/shared/src/lib/models/roles.ts"],"names":[],"mappings":"AAgBA,eAAO,MAAM,UAAU,eAAe,CAAC;AACvC,eAAO,MAAM,SAAS,cAAc,CAAC;AACrC,eAAO,MAAM,cAAc,mBAAmB,CAAC"}
@@ -0,0 +1,52 @@
1
+ type SearchFieldDataType = 'text' | 'number' | 'date' | 'datetime' | 'boolean';
2
+ type SearchFieldFieldType = 'single' | 'multiple' | 'range' | 'single-select-dropdown' | 'multi-select-dropdown';
3
+ type SearchFieldMatchType = 'exact' | 'like';
4
+ type SearchFieldBoolean = 'booleanPositive' | 'booleanNegative';
5
+ type BooleanValueSingle = boolean;
6
+ type TextValueSingle = string;
7
+ type ValueMultiple = Array<BooleanValueSingle | TextValueSingle | NumberValueSingle | NumberValueRange>;
8
+ type NumberValueSingle = number;
9
+ interface NumberValueRange {
10
+ start: NumberValueSingle;
11
+ end: NumberValueSingle;
12
+ }
13
+ type SearchFieldValue = BooleanValueSingle | TextValueSingle | ValueMultiple | NumberValueSingle | NumberValueRange;
14
+ interface SearchField {
15
+ ownerId?: string;
16
+ title?: string;
17
+ key: string;
18
+ path?: string;
19
+ order?: number;
20
+ dataType: SearchFieldDataType;
21
+ fieldType: SearchFieldFieldType;
22
+ matchType?: SearchFieldMatchType;
23
+ dropdownDataProvider?: string;
24
+ uuid?: string;
25
+ }
26
+ interface SearchFieldWithValue extends SearchField {
27
+ value: SearchFieldValue;
28
+ }
29
+ interface SearchFieldValues {
30
+ [searchFieldKey: string]: SearchFieldValue;
31
+ }
32
+ interface SearchFieldColumnView {
33
+ title: string;
34
+ key: string;
35
+ path: string;
36
+ dataType: string;
37
+ fieldType: string;
38
+ }
39
+ type SearchOperator = 'AND' | 'OR';
40
+ type AssigneeFilter = 'OPEN' | 'MINE' | 'ALL';
41
+ interface SearchFilter {
42
+ key: string;
43
+ values: Array<string>;
44
+ multiValue?: boolean;
45
+ }
46
+ interface SearchFilterRange {
47
+ key: string;
48
+ rangeFrom: string;
49
+ rangeTo: string;
50
+ }
51
+ export { SearchFieldDataType, SearchFieldFieldType, SearchFieldMatchType, SearchFieldBoolean, SearchField, SearchFieldValue, SearchFieldWithValue, SearchFieldValues, SearchFieldColumnView, SearchOperator, SearchFilter, SearchFilterRange, AssigneeFilter, };
52
+ //# sourceMappingURL=search.model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"search.model.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/shared/src/lib/models/search.model.ts"],"names":[],"mappings":"AAgBA,KAAK,mBAAmB,GAAG,MAAM,GAAG,QAAQ,GAAG,MAAM,GAAG,UAAU,GAAG,SAAS,CAAC;AAE/E,KAAK,oBAAoB,GACrB,QAAQ,GACR,UAAU,GACV,OAAO,GACP,wBAAwB,GACxB,uBAAuB,CAAC;AAE5B,KAAK,oBAAoB,GAAG,OAAO,GAAG,MAAM,CAAC;AAE7C,KAAK,kBAAkB,GAAG,iBAAiB,GAAG,iBAAiB,CAAC;AAEhE,KAAK,kBAAkB,GAAG,OAAO,CAAC;AAElC,KAAK,eAAe,GAAG,MAAM,CAAC;AAC9B,KAAK,aAAa,GAAG,KAAK,CACxB,kBAAkB,GAAG,eAAe,GAAG,iBAAiB,GAAG,gBAAgB,CAC5E,CAAC;AAEF,KAAK,iBAAiB,GAAG,MAAM,CAAC;AAEhC,UAAU,gBAAgB;IACxB,KAAK,EAAE,iBAAiB,CAAC;IACzB,GAAG,EAAE,iBAAiB,CAAC;CACxB;AAED,KAAK,gBAAgB,GACjB,kBAAkB,GAClB,eAAe,GACf,aAAa,GACb,iBAAiB,GACjB,gBAAgB,CAAC;AAErB,UAAU,WAAW;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,mBAAmB,CAAC;IAC9B,SAAS,EAAE,oBAAoB,CAAC;IAChC,SAAS,CAAC,EAAE,oBAAoB,CAAC;IACjC,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,UAAU,oBAAqB,SAAQ,WAAW;IAChD,KAAK,EAAE,gBAAgB,CAAC;CACzB;AAED,UAAU,iBAAiB;IACzB,CAAC,cAAc,EAAE,MAAM,GAAG,gBAAgB,CAAC;CAC5C;AAED,UAAU,qBAAqB;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,KAAK,cAAc,GAAG,KAAK,GAAG,IAAI,CAAC;AAEnC,KAAK,cAAc,GAAG,MAAM,GAAG,MAAM,GAAG,KAAK,CAAC;AAE9C,UAAU,YAAY;IACpB,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACtB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,UAAU,iBAAiB;IACzB,GAAG,EAAE,MAAM,CAAC;IACZ,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,OAAO,EACL,mBAAmB,EACnB,oBAAoB,EACpB,oBAAoB,EACpB,kBAAkB,EAClB,WAAW,EACX,gBAAgB,EAChB,oBAAoB,EACpB,iBAAiB,EACjB,qBAAqB,EACrB,cAAc,EACd,YAAY,EACZ,iBAAiB,EACjB,cAAc,GACf,CAAC"}
@@ -0,0 +1,47 @@
1
+ import { Observable, ReplaySubject } from 'rxjs';
2
+ import { EmailNotificationSettings } from './email-notification-settings.model';
3
+ import { Injector } from '@angular/core';
4
+ export interface UserIdentity {
5
+ email: string;
6
+ firstName: string;
7
+ lastName: string;
8
+ roles: Array<string>;
9
+ username?: string;
10
+ id?: string;
11
+ }
12
+ export declare class ValtimoUserIdentity implements UserIdentity {
13
+ private readonly _email;
14
+ private readonly _firstName;
15
+ private readonly _lastName;
16
+ private readonly _roles;
17
+ private readonly _username?;
18
+ private readonly _id?;
19
+ constructor(email: string, firstName: string, lastName: string, roles: Array<string>, username?: string, id?: string);
20
+ get email(): string;
21
+ get firstName(): string;
22
+ get lastName(): string;
23
+ get roles(): string[];
24
+ get username(): string | undefined;
25
+ get id(): string | undefined;
26
+ }
27
+ export interface UserService {
28
+ getUserSubject(): ReplaySubject<UserIdentity>;
29
+ logout(): void;
30
+ getToken(): Promise<string>;
31
+ updateToken?(minValidity: number): Promise<boolean>;
32
+ }
33
+ export interface EmailNotificationService {
34
+ getEmailNotificationSettings(): Observable<EmailNotificationSettings>;
35
+ updateEmailNotificationSettings(settings: EmailNotificationSettings): Observable<EmailNotificationSettings>;
36
+ }
37
+ export interface AuthProviders {
38
+ guardServiceProvider: any;
39
+ userServiceProvider: any;
40
+ }
41
+ export interface Auth {
42
+ module: any;
43
+ initializer: (injector: Injector) => Function;
44
+ authProviders: AuthProviders;
45
+ options: any;
46
+ }
47
+ //# sourceMappingURL=security.config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"security.config.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/shared/src/lib/models/security.config.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,UAAU,EAAE,aAAa,EAAC,MAAM,MAAM,CAAC;AAC/C,OAAO,EAAC,yBAAyB,EAAC,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAC,QAAQ,EAAC,MAAM,eAAe,CAAC;AAEvC,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAED,qBAAa,mBAAoB,YAAW,YAAY;IACtD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAS;IAChC,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAS;IACpC,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAS;IACnC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAW;IAClC,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAS;IACpC,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAS;gBAG5B,KAAK,EAAE,MAAM,EACb,SAAS,EAAE,MAAM,EACjB,QAAQ,EAAE,MAAM,EAChB,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,EACpB,QAAQ,CAAC,EAAE,MAAM,EACjB,EAAE,CAAC,EAAE,MAAM;IAUb,IAAI,KAAK,IAAI,MAAM,CAElB;IAED,IAAI,SAAS,IAAI,MAAM,CAEtB;IAED,IAAI,QAAQ,IAAI,MAAM,CAErB;IAED,IAAI,KAAK,IAAI,MAAM,EAAE,CAEpB;IAED,IAAI,QAAQ,IAAI,MAAM,GAAG,SAAS,CAEjC;IAED,IAAI,EAAE,IAAI,MAAM,GAAG,SAAS,CAE3B;CACF;AAED,MAAM,WAAW,WAAW;IAC1B,cAAc,IAAI,aAAa,CAAC,YAAY,CAAC,CAAC;IAE9C,MAAM,IAAI,IAAI,CAAC;IAEf,QAAQ,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC;IAE5B,WAAW,CAAC,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;CACrD;AAED,MAAM,WAAW,wBAAwB;IACvC,4BAA4B,IAAI,UAAU,CAAC,yBAAyB,CAAC,CAAC;IAEtE,+BAA+B,CAC7B,QAAQ,EAAE,yBAAyB,GAClC,UAAU,CAAC,yBAAyB,CAAC,CAAC;CAC1C;AAED,MAAM,WAAW,aAAa;IAC5B,oBAAoB,EAAE,GAAG,CAAC;IAC1B,mBAAmB,EAAE,GAAG,CAAC;CAC1B;AAED,MAAM,WAAW,IAAI;IACnB,MAAM,EAAE,GAAG,CAAC;IAEZ,WAAW,EAAE,CAAC,QAAQ,EAAE,QAAQ,KAAK,QAAQ,CAAC;IAC9C,aAAa,EAAE,aAAa,CAAC;IAC7B,OAAO,EAAE,GAAG,CAAC;CACd"}
@@ -0,0 +1,16 @@
1
+ export declare enum TagColor {
2
+ WarmGray = "WARMGRAY",
3
+ Red = "RED",
4
+ Magenta = "MAGENTA",
5
+ Purple = "PURPLE",
6
+ Blue = "BLUE",
7
+ Cyan = "CYAN",
8
+ Teal = "TEAL",
9
+ Green = "GREEN",
10
+ Gray = "GRAY",
11
+ CoolGray = "COOLGRAY",
12
+ HighContrast = "HIGHCONTRAST",
13
+ Outline = "OUTLINE",
14
+ Orange = "ORANGE"
15
+ }
16
+ //# sourceMappingURL=tag-color.model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tag-color.model.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/shared/src/lib/models/tag-color.model.ts"],"names":[],"mappings":"AAgBA,oBAAY,QAAQ;IAClB,QAAQ,aAAa;IACrB,GAAG,QAAQ;IACX,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,IAAI,SAAS;IACb,IAAI,SAAS;IACb,KAAK,UAAU;IACf,IAAI,SAAS;IACb,QAAQ,aAAa;IACrB,YAAY,iBAAiB;IAC7B,OAAO,YAAY;IACnB,MAAM,WAAW;CAClB"}
@@ -0,0 +1,7 @@
1
+ interface ITranslationResource {
2
+ prefix: string;
3
+ suffix?: string;
4
+ optional?: boolean;
5
+ }
6
+ export { ITranslationResource };
7
+ //# sourceMappingURL=translation.model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"translation.model.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/shared/src/lib/models/translation.model.ts"],"names":[],"mappings":"AAgBA,UAAU,oBAAoB;IAC5B,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,OAAO,EAAC,oBAAoB,EAAC,CAAC"}
@@ -0,0 +1,22 @@
1
+ export interface User {
2
+ id: string;
3
+ fullName: string;
4
+ firstName: string;
5
+ lastName: string;
6
+ email: string;
7
+ roles: Array<string>;
8
+ langKey: string;
9
+ activated: boolean;
10
+ emailVerified: boolean;
11
+ verified: string;
12
+ status: string;
13
+ }
14
+ export interface NamedUser {
15
+ id: string;
16
+ email: string;
17
+ firstName: string;
18
+ lastName: string;
19
+ label: string;
20
+ userName: string;
21
+ }
22
+ //# sourceMappingURL=user-management.model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"user-management.model.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/shared/src/lib/models/user-management.model.ts"],"names":[],"mappings":"AAgBA,MAAM,WAAW,IAAI;IACnB,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,OAAO,CAAC;IACnB,aAAa,EAAE,OAAO,CAAC;IACvB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,SAAS;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;CAClB"}
@@ -0,0 +1,9 @@
1
+ interface UserSettings {
2
+ collapsibleWidescreenMenu?: boolean;
3
+ languageCode?: string;
4
+ compactMode?: boolean;
5
+ showUserNameInTopBar?: boolean;
6
+ preferredTheme?: string;
7
+ }
8
+ export { UserSettings };
9
+ //# sourceMappingURL=user-settings.model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"user-settings.model.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/shared/src/lib/models/user-settings.model.ts"],"names":[],"mappings":"AAgBA,UAAU,YAAY;IACpB,yBAAyB,CAAC,EAAE,OAAO,CAAC;IACpC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,OAAO,EAAC,YAAY,EAAC,CAAC"}
@@ -0,0 +1,5 @@
1
+ interface Versions {
2
+ frontendLibraries: string;
3
+ }
4
+ export { Versions };
5
+ //# sourceMappingURL=versions.model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"versions.model.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/shared/src/lib/models/versions.model.ts"],"names":[],"mappings":"AAgBA,UAAU,QAAQ;IAChB,iBAAiB,EAAE,MAAM,CAAC;CAC3B;AAED,OAAO,EAAC,QAAQ,EAAC,CAAC"}
@@ -0,0 +1,12 @@
1
+ import { editor } from 'monaco-editor';
2
+ type MonacoEditor = typeof editor;
3
+ interface ValtimoWindow extends Window {
4
+ monaco?: {
5
+ editor?: MonacoEditor;
6
+ };
7
+ flags?: {
8
+ formioValueResolverSelectorComponentRegistered: boolean;
9
+ };
10
+ }
11
+ export { ValtimoWindow };
12
+ //# sourceMappingURL=window.model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"window.model.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/shared/src/lib/models/window.model.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,MAAM,EAAC,MAAM,eAAe,CAAC;AAErC,KAAK,YAAY,GAAG,OAAO,MAAM,CAAC;AAElC,UAAU,aAAc,SAAQ,MAAM;IACpC,MAAM,CAAC,EAAE;QACP,MAAM,CAAC,EAAE,YAAY,CAAC;KACvB,CAAC;IACF,KAAK,CAAC,EAAE;QACN,8CAA8C,EAAE,OAAO,CAAC;KACzD,CAAC;CACH;AAED,OAAO,EAAC,aAAa,EAAC,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { HttpClient } from '@angular/common/http';
2
+ import { ConfigService } from './config.service';
3
+ export declare abstract class BaseApiService {
4
+ protected readonly httpClient: HttpClient;
5
+ protected readonly configService: ConfigService;
6
+ private readonly _valtimoEndpointUri;
7
+ constructor(httpClient: HttpClient, configService: ConfigService);
8
+ getApiUrl(urlPart: string): string;
9
+ }
10
+ //# sourceMappingURL=base-api.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base-api.service.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/shared/src/lib/services/base-api.service.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,UAAU,EAAC,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAC,aAAa,EAAC,MAAM,kBAAkB,CAAC;AAG/C,8BAAsB,cAAc;IAIhC,SAAS,CAAC,QAAQ,CAAC,UAAU,EAAE,UAAU;IACzC,SAAS,CAAC,QAAQ,CAAC,aAAa,EAAE,aAAa;IAJjD,OAAO,CAAC,QAAQ,CAAC,mBAAmB,CAAU;gBAGzB,UAAU,EAAE,UAAU,EACtB,aAAa,EAAE,aAAa;IAK1C,SAAS,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM;CAK1C"}
@@ -0,0 +1,27 @@
1
+ import { ComponentFactoryResolver, ViewContainerRef } from '@angular/core';
2
+ import { Extension, ExtensionPoint, ValtimoConfig, ValtimoConfigFeatureToggles } from '../models';
3
+ import { Observable } from 'rxjs';
4
+ import * as i0 from "@angular/core";
5
+ export declare class ConfigService {
6
+ private valtimoConfig;
7
+ private componentFactoryResolver;
8
+ private readonly extensionLoader;
9
+ private readonly extensions;
10
+ private readonly DEFAULT_APPLICATION_TITLE;
11
+ constructor(valtimoConfig: ValtimoConfig, componentFactoryResolver: ComponentFactoryResolver);
12
+ get config(): ValtimoConfig;
13
+ get featureToggles(): ValtimoConfig['featureToggles'];
14
+ get config$(): Observable<ValtimoConfig>;
15
+ get featureToggles$(): Observable<ValtimoConfig['featureToggles']>;
16
+ get initializers(): ((injector: import("@angular/core").Injector) => () => void)[];
17
+ addExtension(extension: Extension): number;
18
+ getSupportedExtensionPoint(module: string, page: string, section: string): Extension;
19
+ getSupportedExtensionPoints(module: string, page: string, section: string): Extension[];
20
+ loadExtensionPoint(viewContainerRef: ViewContainerRef, extensionPoint: ExtensionPoint): void;
21
+ loadAndReturnExtensionPoint(viewContainerRef: ViewContainerRef, extensionPoint: ExtensionPoint): import("@angular/core").ComponentRef<unknown>;
22
+ getFeatureToggleObservable(featureToggle: keyof ValtimoConfigFeatureToggles): Observable<boolean>;
23
+ getFeatureToggle(featureToggle: keyof ValtimoConfigFeatureToggles): boolean;
24
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConfigService, never>;
25
+ static ɵprov: i0.ɵɵInjectableDeclaration<ConfigService>;
26
+ }
27
+ //# sourceMappingURL=config.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config.service.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/shared/src/lib/services/config.service.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,wBAAwB,EAAsB,gBAAgB,EAAC,MAAM,eAAe,CAAC;AAC7F,OAAO,EACL,SAAS,EAET,cAAc,EAEd,aAAa,EACb,2BAA2B,EAC5B,MAAM,WAAW,CAAC;AAEnB,OAAO,EAAM,UAAU,EAAK,MAAM,MAAM,CAAC;;AAEzC,qBAGa,aAAa;IAME,OAAO,CAAC,aAAa;IAC7C,OAAO,CAAC,wBAAwB;IANlC,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAkB;IAClD,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAwB;IACnD,OAAO,CAAC,QAAQ,CAAC,yBAAyB,CAAa;gBAGrB,aAAa,EAAE,aAAa,EACpD,wBAAwB,EAAE,wBAAwB;IAK5D,IAAW,MAAM,IAAI,aAAa,CA6BjC;IAED,IAAW,cAAc,IAAI,aAAa,CAAC,gBAAgB,CAAC,CAE3D;IAED,IAAW,OAAO,IAAI,UAAU,CAAC,aAAa,CAAC,CAE9C;IAED,IAAW,eAAe,IAAI,UAAU,CAAC,aAAa,CAAC,gBAAgB,CAAC,CAAC,CAExE;IAED,IAAW,YAAY,mEAEtB;IAEM,YAAY,CAAC,SAAS,EAAE,SAAS;IAIjC,0BAA0B,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM;IAMxE,2BAA2B,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM;IAMzE,kBAAkB,CAAC,gBAAgB,EAAE,gBAAgB,EAAE,cAAc,EAAE,cAAc;IAIrF,2BAA2B,CAChC,gBAAgB,EAAE,gBAAgB,EAClC,cAAc,EAAE,cAAc;IAKzB,0BAA0B,CAC/B,aAAa,EAAE,MAAM,2BAA2B,GAC/C,UAAU,CAAC,OAAO,CAAC;IAMf,gBAAgB,CAAC,aAAa,EAAE,MAAM,2BAA2B,GAAG,OAAO;yCA9FvE,aAAa;6CAAb,aAAa;CAiGzB"}
@@ -0,0 +1,14 @@
1
+ import { HttpClient } from '@angular/common/http';
2
+ import { Observable } from 'rxjs';
3
+ import { ConfigService } from './config.service';
4
+ import { BaseApiService } from './base-api.service';
5
+ import * as i0 from "@angular/core";
6
+ export declare class DraftVersionService extends BaseApiService {
7
+ protected readonly httpClient: HttpClient;
8
+ protected readonly configService: ConfigService;
9
+ constructor(httpClient: HttpClient, configService: ConfigService);
10
+ isDraftVersion(caseDefinitionKey: string, caseDefinitionVersionTag: string): Observable<boolean>;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<DraftVersionService, never>;
12
+ static ɵprov: i0.ɵɵInjectableDeclaration<DraftVersionService>;
13
+ }
14
+ //# sourceMappingURL=draft-version.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"draft-version.service.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/shared/src/lib/services/draft-version.service.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAC,UAAU,EAAc,MAAM,sBAAsB,CAAC;AAC7D,OAAO,EAAM,UAAU,EAAK,MAAM,MAAM,CAAC;AACzC,OAAO,EAAC,aAAa,EAAC,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAC,cAAc,EAAC,MAAM,oBAAoB,CAAC;;AAGlD,qBAGa,mBAAoB,SAAQ,cAAc;IAEnD,SAAS,CAAC,QAAQ,CAAC,UAAU,EAAE,UAAU;IACzC,SAAS,CAAC,QAAQ,CAAC,aAAa,EAAE,aAAa;gBAD5B,UAAU,EAAE,UAAU,EACtB,aAAa,EAAE,aAAa;IAK1C,cAAc,CACnB,iBAAiB,EAAE,MAAM,EACzB,wBAAwB,EAAE,MAAM,GAC/B,UAAU,CAAC,OAAO,CAAC;yCAXX,mBAAmB;6CAAnB,mBAAmB;CA2B/B"}
@@ -0,0 +1,19 @@
1
+ import { BaseApiService } from './base-api.service';
2
+ import { HttpClient } from '@angular/common/http';
3
+ import { ConfigService } from './config.service';
4
+ import { Observable } from 'rxjs';
5
+ import { EnvironmentService } from './environment.service';
6
+ import { DraftVersionService } from './draft-version.service';
7
+ import * as i0 from "@angular/core";
8
+ export declare class EditPermissionsService extends BaseApiService {
9
+ protected readonly httpClient: HttpClient;
10
+ protected readonly configService: ConfigService;
11
+ readonly environmentService: EnvironmentService;
12
+ readonly draftVersionService: DraftVersionService;
13
+ constructor(httpClient: HttpClient, configService: ConfigService, environmentService: EnvironmentService, draftVersionService: DraftVersionService);
14
+ hasEditPermissions(caseDefinitionKey: string, caseDefinitionVersionTag: string): Observable<boolean>;
15
+ hasPermissionsToEditBasedOnContext(caseDefinitionKey: string, caseDefinitionVersionTag: string, context: string): Observable<boolean>;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<EditPermissionsService, never>;
17
+ static ɵprov: i0.ɵɵInjectableDeclaration<EditPermissionsService>;
18
+ }
19
+ //# sourceMappingURL=edit-permissions.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"edit-permissions.service.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/shared/src/lib/services/edit-permissions.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,cAAc,EAAC,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAC,UAAU,EAAC,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAC,aAAa,EAAC,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAqB,UAAU,EAAK,MAAM,MAAM,CAAC;AACxD,OAAO,EAAC,kBAAkB,EAAC,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAC,mBAAmB,EAAC,MAAM,yBAAyB,CAAC;;AAG5D,qBAGa,sBAAuB,SAAQ,cAAc;IAEtD,SAAS,CAAC,QAAQ,CAAC,UAAU,EAAE,UAAU;IACzC,SAAS,CAAC,QAAQ,CAAC,aAAa,EAAE,aAAa;aAC/B,kBAAkB,EAAE,kBAAkB;aACtC,mBAAmB,EAAE,mBAAmB;gBAHrC,UAAU,EAAE,UAAU,EACtB,aAAa,EAAE,aAAa,EAC/B,kBAAkB,EAAE,kBAAkB,EACtC,mBAAmB,EAAE,mBAAmB;IAKnD,kBAAkB,CACvB,iBAAiB,EAAE,MAAM,EACzB,wBAAwB,EAAE,MAAM,GAC/B,UAAU,CAAC,OAAO,CAAC;IAOf,kCAAkC,CACvC,iBAAiB,EAAE,MAAM,EACzB,wBAAwB,EAAE,MAAM,EAChC,OAAO,EAAE,MAAM,GACd,UAAU,CAAC,OAAO,CAAC;yCAxBX,sBAAsB;6CAAtB,sBAAsB;CAgClC"}
@@ -0,0 +1,14 @@
1
+ import { HttpClient } from '@angular/common/http';
2
+ import { Observable } from 'rxjs';
3
+ import { ConfigService } from './config.service';
4
+ import { BaseApiService } from './base-api.service';
5
+ import * as i0 from "@angular/core";
6
+ export declare class EnvironmentService extends BaseApiService {
7
+ protected readonly httpClient: HttpClient;
8
+ protected readonly configService: ConfigService;
9
+ constructor(httpClient: HttpClient, configService: ConfigService);
10
+ canUpdateGlobalConfiguration(): Observable<boolean>;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<EnvironmentService, never>;
12
+ static ɵprov: i0.ɵɵInjectableDeclaration<EnvironmentService>;
13
+ }
14
+ //# sourceMappingURL=environment.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"environment.service.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/shared/src/lib/services/environment.service.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAC,UAAU,EAAc,MAAM,sBAAsB,CAAC;AAC7D,OAAO,EAAM,UAAU,EAAK,MAAM,MAAM,CAAC;AACzC,OAAO,EAAC,aAAa,EAAC,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAC,cAAc,EAAC,MAAM,oBAAoB,CAAC;;AAKlD,qBAGa,kBAAmB,SAAQ,cAAc;IAElD,SAAS,CAAC,QAAQ,CAAC,UAAU,EAAE,UAAU;IACzC,SAAS,CAAC,QAAQ,CAAC,aAAa,EAAE,aAAa;gBAD5B,UAAU,EAAE,UAAU,EACtB,aAAa,EAAE,aAAa;IAK1C,4BAA4B,IAAI,UAAU,CAAC,OAAO,CAAC;yCAR/C,kBAAkB;6CAAlB,kBAAkB;CAkB9B"}
@@ -0,0 +1,22 @@
1
+ import { ComponentRef, EventEmitter } from '@angular/core';
2
+ import { ActionableContent, ActionableNotification, Notification, NotificationContent, NotificationService, Toast, ToastContent } from 'carbon-components-angular';
3
+ import * as i0 from "@angular/core";
4
+ export declare class GlobalNotificationService {
5
+ private _notificationService;
6
+ private readonly _notificationQueue;
7
+ setNotificationService(service: NotificationService): void;
8
+ getNotificationService(): NotificationService | null;
9
+ showNotification(notificationObj: NotificationContent | ToastContent | ActionableContent, notificationComp?: typeof Notification): Notification | null;
10
+ showToast(notificationObj: NotificationContent | ToastContent, notificationComp?: typeof Toast): Notification | null;
11
+ showActionable(notificationObj: ActionableContent, notificationComp?: typeof ActionableNotification): Notification | null;
12
+ close(notificationRef: any): void;
13
+ getSmartTimeout(notificationObj: any): number | null;
14
+ getNotificationRefs(): ComponentRef<any>[] | null;
15
+ getOnCloseEmitter(): EventEmitter<any> | null;
16
+ ngOnDestroy(): void;
17
+ private handleNotificationRef;
18
+ private removeNotificationInQueue;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<GlobalNotificationService, never>;
20
+ static ɵprov: i0.ɵɵInjectableDeclaration<GlobalNotificationService>;
21
+ }
22
+ //# sourceMappingURL=global-notification.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"global-notification.service.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/shared/src/lib/services/global-notification.service.ts"],"names":[],"mappings":"AAeA,OAAO,EAAC,YAAY,EAAE,YAAY,EAAa,MAAM,eAAe,CAAC;AACrE,OAAO,EACL,iBAAiB,EACjB,sBAAsB,EACtB,YAAY,EACZ,mBAAmB,EACnB,mBAAmB,EACnB,KAAK,EACL,YAAY,EACb,MAAM,2BAA2B,CAAC;;AAInC,qBAGa,yBAAyB;IACpC,OAAO,CAAC,oBAAoB,CAAoC;IAChE,OAAO,CAAC,QAAQ,CAAC,kBAAkB,CAAuC;IAEnE,sBAAsB,CAAC,OAAO,EAAE,mBAAmB,GAAG,IAAI;IAI1D,sBAAsB,IAAI,mBAAmB,GAAG,IAAI;IAIpD,gBAAgB,CACrB,eAAe,EAAE,mBAAmB,GAAG,YAAY,GAAG,iBAAiB,EACvE,gBAAgB,GAAE,OAAO,YAA2B,GACnD,YAAY,GAAG,IAAI;IAWf,SAAS,CACd,eAAe,EAAE,mBAAmB,GAAG,YAAY,EACnD,gBAAgB,GAAE,OAAO,KAAa,GACrC,YAAY,GAAG,IAAI;IAQf,cAAc,CACnB,eAAe,EAAE,iBAAiB,EAClC,gBAAgB,GAAE,OAAO,sBAA+C,GACvE,YAAY,GAAG,IAAI;IAWf,KAAK,CAAC,eAAe,EAAE,GAAG,GAAG,IAAI;IAIjC,eAAe,CAAC,eAAe,EAAE,GAAG,GAAG,MAAM,GAAG,IAAI;IAKpD,mBAAmB,IAAI,YAAY,CAAC,GAAG,CAAC,EAAE,GAAG,IAAI;IAKjD,iBAAiB,IAAI,YAAY,CAAC,GAAG,CAAC,GAAG,IAAI;IAK7C,WAAW,IAAI,IAAI;IAK1B,OAAO,CAAC,qBAAqB;IAwB7B,OAAO,CAAC,yBAAyB;yCAnGtB,yBAAyB;6CAAzB,yBAAyB;CA2GrC"}
@@ -0,0 +1,10 @@
1
+ export * from './base-api.service';
2
+ export * from './config.service';
3
+ export * from './global-notification.service';
4
+ export * from './localization.service';
5
+ export * from './menu-include.service';
6
+ export * from './user-settings.service';
7
+ export * from './environment.service';
8
+ export * from './draft-version.service';
9
+ export * from './edit-permissions.service';
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/shared/src/lib/services/index.ts"],"names":[],"mappings":"AAgBA,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,4BAA4B,CAAC"}
@@ -0,0 +1,19 @@
1
+ import { Localization, LocalizationContent, MergedLocalizations } from '../models';
2
+ import { HttpClient } from '@angular/common/http';
3
+ import { ConfigService } from './config.service';
4
+ import { Observable } from 'rxjs';
5
+ import * as i0 from "@angular/core";
6
+ export declare class LocalizationService {
7
+ private readonly http;
8
+ private readonly configService;
9
+ private readonly valtimoApiUri;
10
+ constructor(http: HttpClient, configService: ConfigService);
11
+ getLocalization(languageKey: string): Observable<LocalizationContent>;
12
+ getLocalizations(): Observable<Localization[]>;
13
+ getMergedLocalizations(): Observable<MergedLocalizations>;
14
+ updateLocalization(languageKey: string, updatedLocalizationContent: LocalizationContent): Observable<LocalizationContent>;
15
+ updateLocalizations(updatedLocalizations: Localization[]): Observable<Localization[]>;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<LocalizationService, never>;
17
+ static ɵprov: i0.ɵɵInjectableDeclaration<LocalizationService>;
18
+ }
19
+ //# sourceMappingURL=localization.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"localization.service.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/shared/src/lib/services/localization.service.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAC,YAAY,EAAE,mBAAmB,EAAE,mBAAmB,EAAC,MAAM,WAAW,CAAC;AACjF,OAAO,EAAC,UAAU,EAAc,MAAM,sBAAsB,CAAC;AAC7D,OAAO,EAAC,aAAa,EAAC,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAM,UAAU,EAAK,MAAM,MAAM,CAAC;;AAGzC,qBAGa,mBAAmB;IAI5B,OAAO,CAAC,QAAQ,CAAC,IAAI;IACrB,OAAO,CAAC,QAAQ,CAAC,aAAa;IAJhC,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAU;gBAGrB,IAAI,EAAE,UAAU,EAChB,aAAa,EAAE,aAAa;IAKxC,eAAe,CAAC,WAAW,EAAE,MAAM,GAAG,UAAU,CAAC,mBAAmB,CAAC;IAQrE,gBAAgB,IAAI,UAAU,CAAC,YAAY,EAAE,CAAC;IAI9C,sBAAsB,IAAI,UAAU,CAAC,mBAAmB,CAAC;IAMzD,kBAAkB,CACvB,WAAW,EAAE,MAAM,EACnB,0BAA0B,EAAE,mBAAmB,GAC9C,UAAU,CAAC,mBAAmB,CAAC;IAO3B,mBAAmB,CAAC,oBAAoB,EAAE,YAAY,EAAE,GAAG,UAAU,CAAC,YAAY,EAAE,CAAC;yCAtCjF,mBAAmB;6CAAnB,mBAAmB;CA4C/B"}