@firestitch/app-message 12.5.4 → 12.6.1
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/app/helpers/index-name-value.d.ts +1 -1
- package/app/helpers/index.d.ts +1 -1
- package/app/modules/app-message/app-message.module.d.ts +8 -8
- package/app/modules/app-message/injectors/app-message-config.injector.d.ts +3 -3
- package/app/modules/app-message/injectors/index.d.ts +1 -1
- package/app/modules/app-message/interfaces/app-message-config.d.ts +30 -25
- package/app/modules/app-message/interfaces/index.d.ts +1 -1
- package/app/modules/app-message/types/index.d.ts +1 -1
- package/app/modules/app-message/types/types.type.d.ts +49 -40
- package/app/modules/message-preview/components/index.d.ts +1 -1
- package/app/modules/message-preview/components/preview/index.d.ts +1 -1
- package/app/modules/message-preview/components/preview/preview.component.d.ts +11 -11
- package/app/modules/message-preview/message-preview.module.d.ts +11 -11
- package/app/modules/message-queues/components/queue/queue.component.d.ts +44 -43
- package/app/modules/message-queues/components/queues/queues.component.d.ts +22 -24
- package/app/modules/message-queues/components/recipient/recipient.component.d.ts +10 -10
- package/app/modules/message-queues/consts/index.d.ts +1 -1
- package/app/modules/message-queues/consts/message-queue-event-type.const.d.ts +5 -5
- package/app/modules/message-queues/consts/message-queue-states.const.d.ts +5 -5
- package/app/modules/message-queues/enums/email-message-queue-format.enum.d.ts +5 -5
- package/app/modules/message-queues/enums/index.d.ts +3 -3
- package/app/modules/message-queues/enums/message-queue-event-type.enum.d.ts +4 -4
- package/app/modules/message-queues/enums/message-queue-state.enum.d.ts +9 -9
- package/app/modules/message-queues/enums/message-queue-type.enum.d.ts +4 -4
- package/app/modules/message-queues/message-queues.module.d.ts +29 -29
- package/app/modules/message-queues/pipes/linkify.pipe.d.ts +7 -7
- package/app/modules/message-queues/pipes/truncate.pipe.d.ts +7 -7
- package/app/modules/message-queues/services/message-queue.service.d.ts +12 -12
- package/app/modules/message-templates/components/index.d.ts +2 -2
- package/app/modules/message-templates/components/template/index.d.ts +1 -1
- package/app/modules/message-templates/components/template/template.component.d.ts +23 -23
- package/app/modules/message-templates/components/templates/index.d.ts +1 -1
- package/app/modules/message-templates/components/templates/templates.component.d.ts +19 -19
- package/app/modules/message-templates/message-templates.module.d.ts +25 -25
- package/app/modules/messages/components/attachments/attachments.component.d.ts +18 -0
- package/app/modules/messages/components/attachments/index.d.ts +1 -0
- package/app/modules/messages/components/index.d.ts +3 -2
- package/app/modules/messages/components/message/index.d.ts +1 -1
- package/app/modules/messages/components/message/message.component.d.ts +30 -32
- package/app/modules/messages/components/messages/index.d.ts +1 -1
- package/app/modules/messages/components/messages/messages.component.d.ts +19 -19
- package/app/modules/messages/consts/email-message-formats.const.d.ts +5 -5
- package/app/modules/messages/consts/index.d.ts +1 -1
- package/app/modules/messages/enums/email-message-format.enum.d.ts +5 -5
- package/app/modules/messages/enums/index.d.ts +1 -1
- package/app/modules/messages/messages.module.d.ts +32 -29
- package/app/modules/webhooks/components/webhooks/webhooks.component.d.ts +15 -15
- package/app/modules/webhooks/webhooks.module.d.ts +9 -9
- package/bundles/firestitch-app-message.umd.js +1609 -1521
- package/bundles/firestitch-app-message.umd.js.map +1 -1
- package/esm2015/app/helpers/index-name-value.js +7 -7
- package/esm2015/app/helpers/index.js +1 -1
- package/esm2015/app/modules/app-message/app-message.module.js +16 -16
- package/esm2015/app/modules/app-message/injectors/app-message-config.injector.js +3 -3
- package/esm2015/app/modules/app-message/injectors/index.js +1 -1
- package/esm2015/app/modules/app-message/interfaces/app-message-config.js +2 -2
- package/esm2015/app/modules/app-message/interfaces/index.js +1 -1
- package/esm2015/app/modules/app-message/types/index.js +1 -1
- package/esm2015/app/modules/app-message/types/types.type.js +2 -2
- package/esm2015/app/modules/message-preview/components/index.js +1 -1
- package/esm2015/app/modules/message-preview/components/preview/index.js +1 -1
- package/esm2015/app/modules/message-preview/components/preview/preview.component.js +28 -28
- package/esm2015/app/modules/message-preview/message-preview.module.js +37 -37
- package/esm2015/app/modules/message-queues/components/queue/queue.component.js +214 -209
- package/esm2015/app/modules/message-queues/components/queues/queues.component.js +146 -147
- package/esm2015/app/modules/message-queues/components/recipient/recipient.component.js +31 -30
- package/esm2015/app/modules/message-queues/consts/index.js +1 -1
- package/esm2015/app/modules/message-queues/consts/message-queue-event-type.const.js +5 -5
- package/esm2015/app/modules/message-queues/consts/message-queue-states.const.js +10 -10
- package/esm2015/app/modules/message-queues/enums/email-message-queue-format.enum.js +6 -6
- package/esm2015/app/modules/message-queues/enums/index.js +3 -3
- package/esm2015/app/modules/message-queues/enums/message-queue-event-type.enum.js +5 -5
- package/esm2015/app/modules/message-queues/enums/message-queue-state.enum.js +10 -10
- package/esm2015/app/modules/message-queues/enums/message-queue-type.enum.js +5 -5
- package/esm2015/app/modules/message-queues/message-queues.module.js +119 -119
- package/esm2015/app/modules/message-queues/pipes/linkify.pipe.js +21 -21
- package/esm2015/app/modules/message-queues/pipes/truncate.pipe.js +21 -21
- package/esm2015/app/modules/message-queues/services/message-queue.service.js +28 -28
- package/esm2015/app/modules/message-templates/components/index.js +2 -2
- package/esm2015/app/modules/message-templates/components/template/index.js +1 -1
- package/esm2015/app/modules/message-templates/components/template/template.component.js +83 -83
- package/esm2015/app/modules/message-templates/components/templates/index.js +1 -1
- package/esm2015/app/modules/message-templates/components/templates/templates.component.js +83 -83
- package/esm2015/app/modules/message-templates/message-templates.module.js +97 -97
- package/esm2015/app/modules/messages/components/attachments/attachments.component.js +87 -0
- package/esm2015/app/modules/messages/components/attachments/index.js +2 -0
- package/esm2015/app/modules/messages/components/index.js +4 -3
- package/esm2015/app/modules/messages/components/message/index.js +1 -1
- package/esm2015/app/modules/messages/components/message/message.component.js +128 -137
- package/esm2015/app/modules/messages/components/messages/index.js +1 -1
- package/esm2015/app/modules/messages/components/messages/messages.component.js +74 -74
- package/esm2015/app/modules/messages/consts/email-message-formats.const.js +6 -6
- package/esm2015/app/modules/messages/consts/index.js +1 -1
- package/esm2015/app/modules/messages/enums/email-message-format.enum.js +6 -6
- package/esm2015/app/modules/messages/enums/index.js +1 -1
- package/esm2015/app/modules/messages/messages.module.js +125 -114
- package/esm2015/app/modules/webhooks/components/webhooks/webhooks.component.js +65 -64
- package/esm2015/app/modules/webhooks/webhooks.module.js +29 -29
- package/esm2015/firestitch-app-message.js +4 -4
- package/esm2015/public_api.js +17 -17
- package/fesm2015/firestitch-app-message.js +1221 -1135
- package/fesm2015/firestitch-app-message.js.map +1 -1
- package/firestitch-app-message.d.ts +5 -5
- package/package.json +1 -1
- package/public_api.d.ts +15 -15
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { Component, ViewChild, Inject, ChangeDetectionStrategy, Input } from '@angular/core';
|
|
2
|
+
import { FsListComponent } from '@firestitch/list';
|
|
3
|
+
import { ActionMode } from '@firestitch/filter';
|
|
4
|
+
import { Subject } from 'rxjs';
|
|
5
|
+
import { FS_APP_MESSAGE_CONFIG } from '../../../app-message/injectors';
|
|
6
|
+
import { FsMessage } from '@firestitch/message';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
import * as i1 from "@firestitch/message";
|
|
9
|
+
import * as i2 from "@firestitch/list";
|
|
10
|
+
import * as i3 from "@firestitch/common";
|
|
11
|
+
export class AttachmentsComponent {
|
|
12
|
+
constructor(_config, _message) {
|
|
13
|
+
this._config = _config;
|
|
14
|
+
this._message = _message;
|
|
15
|
+
this.list = null;
|
|
16
|
+
this.config = null;
|
|
17
|
+
this._destroy$ = new Subject();
|
|
18
|
+
}
|
|
19
|
+
ngOnInit() {
|
|
20
|
+
this.config = {
|
|
21
|
+
rowActions: [],
|
|
22
|
+
actions: [
|
|
23
|
+
{
|
|
24
|
+
label: 'Upload',
|
|
25
|
+
mode: ActionMode.File,
|
|
26
|
+
select: (fsFile) => {
|
|
27
|
+
this._config.uploadMessageAttachment(this.message, fsFile)
|
|
28
|
+
.subscribe(() => {
|
|
29
|
+
this._message.success('Saved attachment');
|
|
30
|
+
this.list.reload();
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
fetch: query => {
|
|
36
|
+
return this._config.loadMessageAttachments(this.message, query);
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
if (this._config.downloadMessageAttachment) {
|
|
40
|
+
this.config.rowActions = [
|
|
41
|
+
{
|
|
42
|
+
click: data => {
|
|
43
|
+
return this._config.downloadMessageAttachment(data);
|
|
44
|
+
},
|
|
45
|
+
label: 'Download',
|
|
46
|
+
},
|
|
47
|
+
];
|
|
48
|
+
}
|
|
49
|
+
if (this._config.deleteMessageAttachment) {
|
|
50
|
+
this.config.rowActions = [
|
|
51
|
+
{
|
|
52
|
+
click: data => {
|
|
53
|
+
return this._config.deleteMessageAttachment(data);
|
|
54
|
+
},
|
|
55
|
+
remove: {
|
|
56
|
+
title: 'Confirm',
|
|
57
|
+
template: 'Are you sure you would like to delete this template?',
|
|
58
|
+
},
|
|
59
|
+
label: 'Delete',
|
|
60
|
+
},
|
|
61
|
+
];
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
ngOnDestroy() {
|
|
65
|
+
this._destroy$.next();
|
|
66
|
+
this._destroy$.complete();
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
AttachmentsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: AttachmentsComponent, deps: [{ token: FS_APP_MESSAGE_CONFIG }, { token: i1.FsMessage }], target: i0.ɵɵFactoryTarget.Component });
|
|
70
|
+
AttachmentsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: AttachmentsComponent, selector: "fs-app-message-attachments", inputs: { message: "message" }, viewQueries: [{ propertyName: "list", first: true, predicate: FsListComponent, descendants: true, static: true }], ngImport: i0, template: "<fs-list [config]=\"config\">\n <fs-list-column title=\"File Name\">\n <ng-template fs-list-cell let-row=\"row\">\n {{row.filename}}\n </ng-template>\n </fs-list-column>\n <fs-list-column title=\"File Size\">\n <ng-template fs-list-cell let-row=\"row\">\n {{row.size | fsFormatBytes}}\n </ng-template>\n </fs-list-column>\n</fs-list>", components: [{ type: i2.FsListComponent, selector: "fs-list", inputs: ["config", "loaderLines"], outputs: ["filtersReady"] }], directives: [{ type: i2.FsListColumnDirective, selector: "fs-list-column", inputs: ["show", "title", "name", "customize", "sortable", "sortableDefault", "direction", "align", "width", "class"] }, { type: i2.FsListCellDirective, selector: "[fs-list-cell]", inputs: ["colspan", "align", "class"] }], pipes: { "fsFormatBytes": i3.FsFormatBytesPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
71
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: AttachmentsComponent, decorators: [{
|
|
72
|
+
type: Component,
|
|
73
|
+
args: [{
|
|
74
|
+
selector: 'fs-app-message-attachments',
|
|
75
|
+
templateUrl: './attachments.component.html',
|
|
76
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
77
|
+
}]
|
|
78
|
+
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
79
|
+
type: Inject,
|
|
80
|
+
args: [FS_APP_MESSAGE_CONFIG]
|
|
81
|
+
}] }, { type: i1.FsMessage }]; }, propDecorators: { list: [{
|
|
82
|
+
type: ViewChild,
|
|
83
|
+
args: [FsListComponent, { static: true }]
|
|
84
|
+
}], message: [{
|
|
85
|
+
type: Input
|
|
86
|
+
}] } });
|
|
87
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXR0YWNobWVudHMuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2FwcC9tb2R1bGVzL21lc3NhZ2VzL2NvbXBvbmVudHMvYXR0YWNobWVudHMvYXR0YWNobWVudHMuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2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ICkgeyB9XG5cbiAgcHVibGljIG5nT25Jbml0KCk6IHZvaWQge1xuICAgIHRoaXMuY29uZmlnID0ge1xuICAgICAgcm93QWN0aW9uczogW10sXG4gICAgICBhY3Rpb25zOiBbXG4gICAgICAgIHtcbiAgICAgICAgICBsYWJlbDogJ1VwbG9hZCcsXG4gICAgICAgICAgbW9kZTogQWN0aW9uTW9kZS5GaWxlLFxuICAgICAgICAgIHNlbGVjdDogKGZzRmlsZTogRnNGaWxlKSA9PiB7XG4gICAgICAgICAgICB0aGlzLl9jb25maWcudXBsb2FkTWVzc2FnZUF0dGFjaG1lbnQodGhpcy5tZXNzYWdlLCBmc0ZpbGUpXG4gICAgICAgICAgICAuc3Vic2NyaWJlKCgpID0+IHtcbiAgICAgICAgICAgICAgdGhpcy5fbWVzc2FnZS5zdWNjZXNzKCdTYXZlZCBhdHRhY2htZW50Jyk7XG4gICAgICAgICAgICAgIHRoaXMubGlzdC5yZWxvYWQoKTtcbiAgICAgICAgICAgIH0pO1xuICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgXSxcbiAgICAgIGZldGNoOiBxdWVyeSA9PiB7XG4gICAgICAgIHJldHVybiB0aGlzLl9jb25maWcubG9hZE1lc3NhZ2VBdHRhY2htZW50cyh0aGlzLm1lc3NhZ2UsIHF1ZXJ5KTtcbiAgICAgIH1cbiAgICB9XG5cbiAgICBpZiAodGhpcy5fY29uZmlnLmRvd25sb2FkTWVzc2FnZUF0dGFjaG1lbnQpIHtcbiAgICAgIHRoaXMuY29uZmlnLnJvd0FjdGlvbnMgPSBbXG4gICAgICAgIHtcbiAgICAgICAgICBjbGljazogZGF0YSA9PiB7XG4gICAgICAgICAgICByZXR1cm4gdGhpcy5fY29uZmlnLmRvd25sb2FkTWVzc2FnZUF0dGFjaG1lbnQoZGF0YSk7XG4gICAgICAgICAgfSxcbiAgICAgICAgICBsYWJlbDogJ0Rvd25sb2FkJyxcbiAgICAgICAgfSxcbiAgICAgIF07XG4gICAgfVxuXG4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y10ZW1wbGF0ZT5cbiAgPC9mcy1saXN0LWNvbHVtbj5cbjwvZnMtbGlzdD4iXX0=
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export * from './attachments.component';
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvYXBwL21vZHVsZXMvbWVzc2FnZXMvY29tcG9uZW50cy9hdHRhY2htZW50cy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLHlCQUF5QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9hdHRhY2htZW50cy5jb21wb25lbnQnO1xuIl19
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
export * from './message';
|
|
2
|
-
export * from './messages';
|
|
3
|
-
|
|
1
|
+
export * from './message';
|
|
2
|
+
export * from './messages';
|
|
3
|
+
export * from './attachments';
|
|
4
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvYXBwL21vZHVsZXMvbWVzc2FnZXMvY29tcG9uZW50cy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLFdBQVcsQ0FBQztBQUMxQixjQUFjLFlBQVksQ0FBQztBQUMzQixjQUFjLGVBQWUsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vbWVzc2FnZSc7XG5leHBvcnQgKiBmcm9tICcuL21lc3NhZ2VzJztcbmV4cG9ydCAqIGZyb20gJy4vYXR0YWNobWVudHMnO1xuIl19
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './message.component';
|
|
1
|
+
export * from './message.component';
|
|
2
2
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvYXBwL21vZHVsZXMvbWVzc2FnZXMvY29tcG9uZW50cy9tZXNzYWdlL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMscUJBQXFCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL21lc3NhZ2UuY29tcG9uZW50JztcbiJdfQ==
|