@valtimo-plugins/freemarker 5.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.
- package/esm2022/lib/models/freemarker-template.mjs +17 -0
- package/esm2022/lib/models/index.mjs +17 -0
- package/esm2022/lib/plugins/mail-template/assets/index.mjs +17 -0
- package/esm2022/lib/plugins/mail-template/assets/mail-template-plugin-logo.mjs +18 -0
- package/esm2022/lib/plugins/mail-template/components/generate-mail-content/generate-mail-content.component.mjs +94 -0
- package/esm2022/lib/plugins/mail-template/components/generate-mail-file/generate-mail-file.component.mjs +94 -0
- package/esm2022/lib/plugins/mail-template/components/mail-template-add-edit-modal/mail-template-add-edit-modal.component.mjs +87 -0
- package/esm2022/lib/plugins/mail-template/components/mail-template-configuration/mail-template-configuration.component.mjs +77 -0
- package/esm2022/lib/plugins/mail-template/components/mail-template-delete-modal/mail-template-delete-modal.component.mjs +39 -0
- package/esm2022/lib/plugins/mail-template/components/mail-template-editor/mail-template-editor.component.mjs +168 -0
- package/esm2022/lib/plugins/mail-template/components/mail-template-list/mail-template-list.component.mjs +104 -0
- package/esm2022/lib/plugins/mail-template/mail-template-management-routing.module.mjs +48 -0
- package/esm2022/lib/plugins/mail-template/mail-template-plugin-module.mjs +158 -0
- package/esm2022/lib/plugins/mail-template/mail-template-plugin.specification.mjs +74 -0
- package/esm2022/lib/plugins/mail-template/models/config.mjs +17 -0
- package/esm2022/lib/plugins/mail-template/models/index.mjs +17 -0
- package/esm2022/lib/services/freemarker-template-management.service.mjs +68 -0
- package/esm2022/lib/services/index.mjs +17 -0
- package/esm2022/public_api.mjs +29 -0
- package/esm2022/valtimo-plugins-freemarker.mjs +5 -0
- package/fesm2022/valtimo-plugins-freemarker.mjs +1047 -0
- package/fesm2022/valtimo-plugins-freemarker.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/models/freemarker-template.d.ts +40 -0
- package/lib/models/index.d.ts +1 -0
- package/lib/plugins/mail-template/assets/index.d.ts +1 -0
- package/lib/plugins/mail-template/assets/mail-template-plugin-logo.d.ts +2 -0
- package/lib/plugins/mail-template/components/generate-mail-content/generate-mail-content.component.d.ts +33 -0
- package/lib/plugins/mail-template/components/generate-mail-file/generate-mail-file.component.d.ts +33 -0
- package/lib/plugins/mail-template/components/mail-template-add-edit-modal/mail-template-add-edit-modal.component.d.ts +29 -0
- package/lib/plugins/mail-template/components/mail-template-configuration/mail-template-configuration.component.d.ts +25 -0
- package/lib/plugins/mail-template/components/mail-template-delete-modal/mail-template-delete-modal.component.d.ts +11 -0
- package/lib/plugins/mail-template/components/mail-template-editor/mail-template-editor.component.d.ts +50 -0
- package/lib/plugins/mail-template/components/mail-template-list/mail-template-list.component.d.ts +32 -0
- package/lib/plugins/mail-template/mail-template-management-routing.module.d.ts +8 -0
- package/lib/plugins/mail-template/mail-template-plugin-module.d.ts +20 -0
- package/lib/plugins/mail-template/mail-template-plugin.specification.d.ts +3 -0
- package/lib/plugins/mail-template/models/config.d.ts +12 -0
- package/lib/plugins/mail-template/models/index.d.ts +1 -0
- package/lib/services/freemarker-template-management.service.d.ts +20 -0
- package/lib/services/index.d.ts +1 -0
- package/package.json +29 -0
- package/public_api.d.ts +10 -0
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { DeleteTemplatesRequest, Template, TemplateListItem, TemplateResponse, TemplateType, UpdateTemplateRequest } from '../models';
|
|
4
|
+
import { ConfigService, Page } from '@valtimo/config';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class FreemarkerTemplateManagementService {
|
|
7
|
+
private readonly configService;
|
|
8
|
+
private readonly http;
|
|
9
|
+
private readonly valtimoEndpointUri;
|
|
10
|
+
constructor(configService: ConfigService, http: HttpClient);
|
|
11
|
+
getAllMailTemplates(caseDefinitionName?: string): Observable<Page<TemplateListItem>>;
|
|
12
|
+
getTemplates(caseDefinitionName?: string, templateType?: TemplateType, templateKey?: string, page?: number, pageSize?: number): Observable<Page<TemplateListItem>>;
|
|
13
|
+
getMailTemplate(caseDefinitionName: string, key: string): Observable<TemplateResponse>;
|
|
14
|
+
getTemplate(caseDefinitionName: string, templateType: TemplateType, key: string): Observable<TemplateResponse>;
|
|
15
|
+
addTemplate(template: Template): Observable<TemplateResponse>;
|
|
16
|
+
deleteTemplates(request: DeleteTemplatesRequest): Observable<null>;
|
|
17
|
+
updateTemplate(template: UpdateTemplateRequest): Observable<TemplateResponse>;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FreemarkerTemplateManagementService, never>;
|
|
19
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FreemarkerTemplateManagementService>;
|
|
20
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './freemarker-template-management.service';
|
package/package.json
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@valtimo-plugins/freemarker",
|
|
3
|
+
"license": "EUPL-1.2",
|
|
4
|
+
"version": "5.0.0",
|
|
5
|
+
"peerDependencies": {
|
|
6
|
+
"@angular/common": "^17.2.2",
|
|
7
|
+
"@angular/core": "^17.2.2"
|
|
8
|
+
},
|
|
9
|
+
"dependencies": {
|
|
10
|
+
"@angular/forms": "^17.2.2",
|
|
11
|
+
"ngx-spinner": "17.0.0",
|
|
12
|
+
"ngx-toastr": "19.0.0",
|
|
13
|
+
"tslib": "2.6.3"
|
|
14
|
+
},
|
|
15
|
+
"module": "fesm2022/valtimo-plugins-freemarker.mjs",
|
|
16
|
+
"typings": "index.d.ts",
|
|
17
|
+
"exports": {
|
|
18
|
+
"./package.json": {
|
|
19
|
+
"default": "./package.json"
|
|
20
|
+
},
|
|
21
|
+
".": {
|
|
22
|
+
"types": "./index.d.ts",
|
|
23
|
+
"esm2022": "./esm2022/valtimo-plugins-freemarker.mjs",
|
|
24
|
+
"esm": "./esm2022/valtimo-plugins-freemarker.mjs",
|
|
25
|
+
"default": "./fesm2022/valtimo-plugins-freemarker.mjs"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"sideEffects": false
|
|
29
|
+
}
|
package/public_api.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * from './lib/plugins/mail-template/models';
|
|
2
|
+
export * from './lib/plugins/mail-template/mail-template-plugin-module';
|
|
3
|
+
export * from './lib/plugins/mail-template/mail-template-plugin.specification';
|
|
4
|
+
export * from './lib/plugins/mail-template/components/generate-mail-content/generate-mail-content.component';
|
|
5
|
+
export * from './lib/plugins/mail-template/components/generate-mail-file/generate-mail-file.component';
|
|
6
|
+
export * from './lib/plugins/mail-template/components/mail-template-add-edit-modal/mail-template-add-edit-modal.component';
|
|
7
|
+
export * from './lib/plugins/mail-template/components/mail-template-configuration/mail-template-configuration.component';
|
|
8
|
+
export * from './lib/plugins/mail-template/components/mail-template-delete-modal/mail-template-delete-modal.component';
|
|
9
|
+
export * from './lib/plugins/mail-template/components/mail-template-editor/mail-template-editor.component';
|
|
10
|
+
export * from './lib/plugins/mail-template/components/mail-template-list/mail-template-list.component';
|