@memberjunction/ng-conversations 3.4.0 → 4.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/dist/lib/components/active-tasks/active-tasks-panel.component.d.ts.map +1 -1
- package/dist/lib/components/active-tasks/active-tasks-panel.component.js +46 -41
- package/dist/lib/components/active-tasks/active-tasks-panel.component.js.map +1 -1
- package/dist/lib/components/agent/active-agent-indicator.component.d.ts.map +1 -1
- package/dist/lib/components/agent/active-agent-indicator.component.js +70 -68
- package/dist/lib/components/agent/active-agent-indicator.component.js.map +1 -1
- package/dist/lib/components/agent/agent-process-panel.component.d.ts.map +1 -1
- package/dist/lib/components/agent/agent-process-panel.component.js +13 -12
- package/dist/lib/components/agent/agent-process-panel.component.js.map +1 -1
- package/dist/lib/components/artifact/artifact-share-modal.component.js +17 -15
- package/dist/lib/components/artifact/artifact-share-modal.component.js.map +1 -1
- package/dist/lib/components/artifact/artifact-viewer-panel.component.d.ts +48 -0
- package/dist/lib/components/artifact/artifact-viewer-panel.component.d.ts.map +1 -0
- package/dist/lib/components/artifact/artifact-viewer-panel.component.js +457 -0
- package/dist/lib/components/artifact/artifact-viewer-panel.component.js.map +1 -0
- package/dist/lib/components/attachment/image-viewer.component.d.ts.map +1 -1
- package/dist/lib/components/attachment/image-viewer.component.js +20 -21
- package/dist/lib/components/attachment/image-viewer.component.js.map +1 -1
- package/dist/lib/components/collection/artifact-collection-picker-modal.component.d.ts.map +1 -1
- package/dist/lib/components/collection/artifact-collection-picker-modal.component.js +230 -233
- package/dist/lib/components/collection/artifact-collection-picker-modal.component.js.map +1 -1
- package/dist/lib/components/collection/artifact-create-modal.component.d.ts.map +1 -1
- package/dist/lib/components/collection/artifact-create-modal.component.js +100 -103
- package/dist/lib/components/collection/artifact-create-modal.component.js.map +1 -1
- package/dist/lib/components/collection/collection-artifact-card.component.d.ts.map +1 -1
- package/dist/lib/components/collection/collection-artifact-card.component.js +41 -33
- package/dist/lib/components/collection/collection-artifact-card.component.js.map +1 -1
- package/dist/lib/components/collection/collection-form-modal.component.d.ts.map +1 -1
- package/dist/lib/components/collection/collection-form-modal.component.js +85 -84
- package/dist/lib/components/collection/collection-form-modal.component.js.map +1 -1
- package/dist/lib/components/collection/collection-share-modal.component.js +20 -15
- package/dist/lib/components/collection/collection-share-modal.component.js.map +1 -1
- package/dist/lib/components/collection/collection-tree.component.d.ts.map +1 -1
- package/dist/lib/components/collection/collection-tree.component.js +13 -11
- package/dist/lib/components/collection/collection-tree.component.js.map +1 -1
- package/dist/lib/components/collection/collection-view.component.d.ts.map +1 -1
- package/dist/lib/components/collection/collection-view.component.js +67 -60
- package/dist/lib/components/collection/collection-view.component.js.map +1 -1
- package/dist/lib/components/collection/collections-full-view.component.d.ts +4 -3
- package/dist/lib/components/collection/collections-full-view.component.d.ts.map +1 -1
- package/dist/lib/components/collection/collections-full-view.component.js +619 -549
- package/dist/lib/components/collection/collections-full-view.component.js.map +1 -1
- package/dist/lib/components/conversation/conversation-chat-area.component.d.ts +3 -3
- package/dist/lib/components/conversation/conversation-chat-area.component.d.ts.map +1 -1
- package/dist/lib/components/conversation/conversation-chat-area.component.js +145 -143
- package/dist/lib/components/conversation/conversation-chat-area.component.js.map +1 -1
- package/dist/lib/components/conversation/conversation-empty-state.component.d.ts.map +1 -1
- package/dist/lib/components/conversation/conversation-empty-state.component.js +44 -44
- package/dist/lib/components/conversation/conversation-empty-state.component.js.map +1 -1
- package/dist/lib/components/conversation/conversation-list.component.d.ts.map +1 -1
- package/dist/lib/components/conversation/conversation-list.component.js +18 -18
- package/dist/lib/components/conversation/conversation-list.component.js.map +1 -1
- package/dist/lib/components/delete-confirm/delete-confirm-modal.component.d.ts +52 -0
- package/dist/lib/components/delete-confirm/delete-confirm-modal.component.d.ts.map +1 -0
- package/dist/lib/components/delete-confirm/delete-confirm-modal.component.js +276 -0
- package/dist/lib/components/delete-confirm/delete-confirm-modal.component.js.map +1 -0
- package/dist/lib/components/dialogs/input-dialog.component.d.ts.map +1 -1
- package/dist/lib/components/dialogs/input-dialog.component.js +65 -57
- package/dist/lib/components/dialogs/input-dialog.component.js.map +1 -1
- package/dist/lib/components/export/export-modal.component.d.ts.map +1 -1
- package/dist/lib/components/export/export-modal.component.js +126 -134
- package/dist/lib/components/export/export-modal.component.js.map +1 -1
- package/dist/lib/components/global-tasks/global-tasks-panel.component.d.ts.map +1 -1
- package/dist/lib/components/global-tasks/global-tasks-panel.component.js +86 -79
- package/dist/lib/components/global-tasks/global-tasks-panel.component.js.map +1 -1
- package/dist/lib/components/library/library-full-view.component.d.ts.map +1 -1
- package/dist/lib/components/library/library-full-view.component.js +99 -87
- package/dist/lib/components/library/library-full-view.component.js.map +1 -1
- package/dist/lib/components/members/members-modal.component.d.ts.map +1 -1
- package/dist/lib/components/members/members-modal.component.js +124 -119
- package/dist/lib/components/members/members-modal.component.js.map +1 -1
- package/dist/lib/components/mention/mention-dropdown.component.d.ts.map +1 -1
- package/dist/lib/components/mention/mention-dropdown.component.js +50 -46
- package/dist/lib/components/mention/mention-dropdown.component.js.map +1 -1
- package/dist/lib/components/mention/mention-editor.component.d.ts.map +1 -1
- package/dist/lib/components/mention/mention-editor.component.js +39 -38
- package/dist/lib/components/mention/mention-editor.component.js.map +1 -1
- package/dist/lib/components/message/actionable-commands.component.d.ts.map +1 -1
- package/dist/lib/components/message/actionable-commands.component.js +20 -21
- package/dist/lib/components/message/actionable-commands.component.js.map +1 -1
- package/dist/lib/components/message/agent-response-form.component.d.ts.map +1 -1
- package/dist/lib/components/message/agent-response-form.component.js +79 -77
- package/dist/lib/components/message/agent-response-form.component.js.map +1 -1
- package/dist/lib/components/message/conversation-message-rating.component.d.ts.map +1 -1
- package/dist/lib/components/message/conversation-message-rating.component.js +40 -39
- package/dist/lib/components/message/conversation-message-rating.component.js.map +1 -1
- package/dist/lib/components/message/form-question.component.d.ts.map +1 -1
- package/dist/lib/components/message/form-question.component.js +142 -125
- package/dist/lib/components/message/form-question.component.js.map +1 -1
- package/dist/lib/components/message/message-input-box.component.d.ts.map +1 -1
- package/dist/lib/components/message/message-input-box.component.js +10 -11
- package/dist/lib/components/message/message-input-box.component.js.map +1 -1
- package/dist/lib/components/message/message-input.component.d.ts +2 -2
- package/dist/lib/components/message/message-input.component.d.ts.map +1 -1
- package/dist/lib/components/message/message-input.component.js +10 -11
- package/dist/lib/components/message/message-input.component.js.map +1 -1
- package/dist/lib/components/message/message-item.component.d.ts +2 -2
- package/dist/lib/components/message/message-item.component.d.ts.map +1 -1
- package/dist/lib/components/message/message-item.component.js +121 -107
- package/dist/lib/components/message/message-item.component.js.map +1 -1
- package/dist/lib/components/message/message-list.component.d.ts +2 -2
- package/dist/lib/components/message/message-list.component.d.ts.map +1 -1
- package/dist/lib/components/message/message-list.component.js +25 -27
- package/dist/lib/components/message/message-list.component.js.map +1 -1
- package/dist/lib/components/message/suggested-responses.component.d.ts +1 -1
- package/dist/lib/components/message/suggested-responses.component.d.ts.map +1 -1
- package/dist/lib/components/message/suggested-responses.component.js +34 -34
- package/dist/lib/components/message/suggested-responses.component.js.map +1 -1
- package/dist/lib/components/navigation/conversation-navigation.component.d.ts.map +1 -1
- package/dist/lib/components/navigation/conversation-navigation.component.js +3 -3
- package/dist/lib/components/navigation/conversation-navigation.component.js.map +1 -1
- package/dist/lib/components/notification/activity-indicator.component.d.ts.map +1 -1
- package/dist/lib/components/notification/activity-indicator.component.js +5 -5
- package/dist/lib/components/notification/activity-indicator.component.js.map +1 -1
- package/dist/lib/components/notification/notification-badge.component.d.ts.map +1 -1
- package/dist/lib/components/notification/notification-badge.component.js +9 -6
- package/dist/lib/components/notification/notification-badge.component.js.map +1 -1
- package/dist/lib/components/project/project-form-modal.component.d.ts.map +1 -1
- package/dist/lib/components/project/project-form-modal.component.js +7 -7
- package/dist/lib/components/project/project-form-modal.component.js.map +1 -1
- package/dist/lib/components/project/project-selector.component.d.ts.map +1 -1
- package/dist/lib/components/project/project-selector.component.js +8 -8
- package/dist/lib/components/project/project-selector.component.js.map +1 -1
- package/dist/lib/components/search/search-panel.component.d.ts.map +1 -1
- package/dist/lib/components/search/search-panel.component.js +32 -27
- package/dist/lib/components/search/search-panel.component.js.map +1 -1
- package/dist/lib/components/share/share-modal.component.d.ts.map +1 -1
- package/dist/lib/components/share/share-modal.component.js +129 -131
- package/dist/lib/components/share/share-modal.component.js.map +1 -1
- package/dist/lib/components/shared/user-picker.component.js +6 -6
- package/dist/lib/components/shared/user-picker.component.js.map +1 -1
- package/dist/lib/components/sidebar/conversation-sidebar.component.d.ts.map +1 -1
- package/dist/lib/components/sidebar/conversation-sidebar.component.js +41 -37
- package/dist/lib/components/sidebar/conversation-sidebar.component.js.map +1 -1
- package/dist/lib/components/task/tasks-full-view.component.js +4 -5
- package/dist/lib/components/task/tasks-full-view.component.js.map +1 -1
- package/dist/lib/components/tasks/task-widget.component.d.ts.map +1 -1
- package/dist/lib/components/tasks/task-widget.component.js +144 -118
- package/dist/lib/components/tasks/task-widget.component.js.map +1 -1
- package/dist/lib/components/tasks/tasks-dropdown.component.d.ts.map +1 -1
- package/dist/lib/components/tasks/tasks-dropdown.component.js +176 -149
- package/dist/lib/components/tasks/tasks-dropdown.component.js.map +1 -1
- package/dist/lib/components/thread/thread-panel.component.d.ts.map +1 -1
- package/dist/lib/components/thread/thread-panel.component.js +7 -5
- package/dist/lib/components/thread/thread-panel.component.js.map +1 -1
- package/dist/lib/components/toast/toast.component.d.ts.map +1 -1
- package/dist/lib/components/toast/toast.component.js +10 -11
- package/dist/lib/components/toast/toast.component.js.map +1 -1
- package/dist/lib/components/workspace/conversation-workspace.component.d.ts +5 -5
- package/dist/lib/components/workspace/conversation-workspace.component.d.ts.map +1 -1
- package/dist/lib/components/workspace/conversation-workspace.component.js +54 -49
- package/dist/lib/components/workspace/conversation-workspace.component.js.map +1 -1
- package/dist/lib/directives/search-shortcut.directive.d.ts.map +1 -1
- package/dist/lib/directives/search-shortcut.directive.js +3 -2
- package/dist/lib/directives/search-shortcut.directive.js.map +1 -1
- package/dist/lib/services/conversation-state.service.d.ts +160 -0
- package/dist/lib/services/conversation-state.service.d.ts.map +1 -0
- package/dist/lib/services/conversation-state.service.js +334 -0
- package/dist/lib/services/conversation-state.service.js.map +1 -0
- package/dist/lib/services/mention-autocomplete.service.d.ts +6 -0
- package/dist/lib/services/mention-autocomplete.service.d.ts.map +1 -1
- package/dist/lib/services/mention-autocomplete.service.js +25 -2
- package/dist/lib/services/mention-autocomplete.service.js.map +1 -1
- package/package.json +38 -38
|
@@ -3,19 +3,18 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
import * as i1 from "../../services/export.service";
|
|
4
4
|
import * as i2 from "../../services/dialog.service";
|
|
5
5
|
import * as i3 from "../../services/toast.service";
|
|
6
|
-
import * as i4 from "@angular/
|
|
7
|
-
import * as i5 from "@angular
|
|
8
|
-
import * as i6 from "@progress/kendo-angular-
|
|
9
|
-
import * as i7 from "@
|
|
10
|
-
import * as i8 from "@memberjunction/ng-shared-generic";
|
|
6
|
+
import * as i4 from "@angular/forms";
|
|
7
|
+
import * as i5 from "@progress/kendo-angular-dialog";
|
|
8
|
+
import * as i6 from "@progress/kendo-angular-buttons";
|
|
9
|
+
import * as i7 from "@memberjunction/ng-shared-generic";
|
|
11
10
|
const _forTrack0 = ($index, $item) => $item.value;
|
|
12
|
-
function
|
|
11
|
+
function ExportModalComponent_Conditional_0_For_10_Conditional_7_Template(rf, ctx) { if (rf & 1) {
|
|
13
12
|
i0.ɵɵelement(0, "i", 25);
|
|
14
13
|
} }
|
|
15
|
-
function
|
|
14
|
+
function ExportModalComponent_Conditional_0_For_10_Template(rf, ctx) { if (rf & 1) {
|
|
16
15
|
const _r3 = i0.ɵɵgetCurrentView();
|
|
17
16
|
i0.ɵɵelementStart(0, "div", 21);
|
|
18
|
-
i0.ɵɵlistener("click", function
|
|
17
|
+
i0.ɵɵlistener("click", function ExportModalComponent_Conditional_0_For_10_Template_div_click_0_listener() { const format_r4 = i0.ɵɵrestoreView(_r3).$implicit; const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.selectFormat(format_r4.value)); });
|
|
19
18
|
i0.ɵɵelement(1, "i");
|
|
20
19
|
i0.ɵɵelementStart(2, "div", 22)(3, "div", 23);
|
|
21
20
|
i0.ɵɵtext(4);
|
|
@@ -23,7 +22,7 @@ function ExportModalComponent_kendo_dialog_0_For_10_Template(rf, ctx) { if (rf &
|
|
|
23
22
|
i0.ɵɵelementStart(5, "div", 24);
|
|
24
23
|
i0.ɵɵtext(6);
|
|
25
24
|
i0.ɵɵelementEnd()();
|
|
26
|
-
i0.ɵɵ
|
|
25
|
+
i0.ɵɵconditionalCreate(7, ExportModalComponent_Conditional_0_For_10_Conditional_7_Template, 1, 0, "i", 25);
|
|
27
26
|
i0.ɵɵelementEnd();
|
|
28
27
|
} if (rf & 2) {
|
|
29
28
|
const format_r4 = ctx.$implicit;
|
|
@@ -38,13 +37,13 @@ function ExportModalComponent_kendo_dialog_0_For_10_Template(rf, ctx) { if (rf &
|
|
|
38
37
|
i0.ɵɵadvance();
|
|
39
38
|
i0.ɵɵconditional(ctx_r1.selectedFormat === format_r4.value ? 7 : -1);
|
|
40
39
|
} }
|
|
41
|
-
function
|
|
40
|
+
function ExportModalComponent_Conditional_0_Conditional_28_Template(rf, ctx) { if (rf & 1) {
|
|
42
41
|
const _r5 = i0.ɵɵgetCurrentView();
|
|
43
42
|
i0.ɵɵelementStart(0, "div", 14)(1, "h4", 26);
|
|
44
43
|
i0.ɵɵtext(2, "JSON Options");
|
|
45
44
|
i0.ɵɵelementEnd();
|
|
46
45
|
i0.ɵɵelementStart(3, "label", 12)(4, "input", 13);
|
|
47
|
-
i0.ɵɵtwoWayListener("ngModelChange", function
|
|
46
|
+
i0.ɵɵtwoWayListener("ngModelChange", function ExportModalComponent_Conditional_0_Conditional_28_Template_input_ngModelChange_4_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(2); i0.ɵɵtwoWayBindingSet(ctx_r1.exportOptions.prettyPrint, $event) || (ctx_r1.exportOptions.prettyPrint = $event); return i0.ɵɵresetView($event); });
|
|
48
47
|
i0.ɵɵelementEnd();
|
|
49
48
|
i0.ɵɵelementStart(5, "span");
|
|
50
49
|
i0.ɵɵtext(6, "Pretty print");
|
|
@@ -58,13 +57,13 @@ function ExportModalComponent_kendo_dialog_0_Conditional_28_Template(rf, ctx) {
|
|
|
58
57
|
i0.ɵɵtwoWayProperty("ngModel", ctx_r1.exportOptions.prettyPrint);
|
|
59
58
|
i0.ɵɵproperty("disabled", ctx_r1.isExporting);
|
|
60
59
|
} }
|
|
61
|
-
function
|
|
60
|
+
function ExportModalComponent_Conditional_0_Conditional_29_Template(rf, ctx) { if (rf & 1) {
|
|
62
61
|
const _r6 = i0.ɵɵgetCurrentView();
|
|
63
62
|
i0.ɵɵelementStart(0, "div", 14)(1, "h4", 26);
|
|
64
63
|
i0.ɵɵtext(2, "HTML Options");
|
|
65
64
|
i0.ɵɵelementEnd();
|
|
66
65
|
i0.ɵɵelementStart(3, "label", 12)(4, "input", 13);
|
|
67
|
-
i0.ɵɵtwoWayListener("ngModelChange", function
|
|
66
|
+
i0.ɵɵtwoWayListener("ngModelChange", function ExportModalComponent_Conditional_0_Conditional_29_Template_input_ngModelChange_4_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(2); i0.ɵɵtwoWayBindingSet(ctx_r1.exportOptions.includeCSS, $event) || (ctx_r1.exportOptions.includeCSS = $event); return i0.ɵɵresetView($event); });
|
|
68
67
|
i0.ɵɵelementEnd();
|
|
69
68
|
i0.ɵɵelementStart(5, "span");
|
|
70
69
|
i0.ɵɵtext(6, "Include CSS styling");
|
|
@@ -78,7 +77,7 @@ function ExportModalComponent_kendo_dialog_0_Conditional_29_Template(rf, ctx) {
|
|
|
78
77
|
i0.ɵɵtwoWayProperty("ngModel", ctx_r1.exportOptions.includeCSS);
|
|
79
78
|
i0.ɵɵproperty("disabled", ctx_r1.isExporting);
|
|
80
79
|
} }
|
|
81
|
-
function
|
|
80
|
+
function ExportModalComponent_Conditional_0_Conditional_30_Template(rf, ctx) { if (rf & 1) {
|
|
82
81
|
i0.ɵɵelementStart(0, "div", 15);
|
|
83
82
|
i0.ɵɵelement(1, "i", 27);
|
|
84
83
|
i0.ɵɵtext(2);
|
|
@@ -88,15 +87,15 @@ function ExportModalComponent_kendo_dialog_0_Conditional_30_Template(rf, ctx) {
|
|
|
88
87
|
i0.ɵɵadvance(2);
|
|
89
88
|
i0.ɵɵtextInterpolate1(" ", ctx_r1.errorMessage, " ");
|
|
90
89
|
} }
|
|
91
|
-
function
|
|
90
|
+
function ExportModalComponent_Conditional_0_Conditional_31_Template(rf, ctx) { if (rf & 1) {
|
|
92
91
|
i0.ɵɵelementStart(0, "div", 16);
|
|
93
92
|
i0.ɵɵelement(1, "mj-loading", 28);
|
|
94
93
|
i0.ɵɵelementEnd();
|
|
95
94
|
} }
|
|
96
|
-
function
|
|
95
|
+
function ExportModalComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
97
96
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
98
97
|
i0.ɵɵelementStart(0, "kendo-dialog", 1);
|
|
99
|
-
i0.ɵɵlistener("close", function
|
|
98
|
+
i0.ɵɵlistener("close", function ExportModalComponent_Conditional_0_Template_kendo_dialog_close_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onCancel()); });
|
|
100
99
|
i0.ɵɵelementStart(1, "div", 2)(2, "section", 3)(3, "h3", 4);
|
|
101
100
|
i0.ɵɵelement(4, "i", 5);
|
|
102
101
|
i0.ɵɵtext(5, " Export Format ");
|
|
@@ -105,14 +104,14 @@ function ExportModalComponent_kendo_dialog_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
105
104
|
i0.ɵɵtext(7, " Choose a format to export this conversation: ");
|
|
106
105
|
i0.ɵɵelementEnd();
|
|
107
106
|
i0.ɵɵelementStart(8, "div", 7);
|
|
108
|
-
i0.ɵɵrepeaterCreate(9,
|
|
107
|
+
i0.ɵɵrepeaterCreate(9, ExportModalComponent_Conditional_0_For_10_Template, 8, 7, "div", 8, _forTrack0);
|
|
109
108
|
i0.ɵɵelementEnd()();
|
|
110
109
|
i0.ɵɵelementStart(11, "section", 9)(12, "h3", 4);
|
|
111
110
|
i0.ɵɵelement(13, "i", 10);
|
|
112
111
|
i0.ɵɵtext(14, " Export Options ");
|
|
113
112
|
i0.ɵɵelementEnd();
|
|
114
113
|
i0.ɵɵelementStart(15, "div", 11)(16, "label", 12)(17, "input", 13);
|
|
115
|
-
i0.ɵɵtwoWayListener("ngModelChange", function
|
|
114
|
+
i0.ɵɵtwoWayListener("ngModelChange", function ExportModalComponent_Conditional_0_Template_input_ngModelChange_17_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); i0.ɵɵtwoWayBindingSet(ctx_r1.exportOptions.includeMessages, $event) || (ctx_r1.exportOptions.includeMessages = $event); return i0.ɵɵresetView($event); });
|
|
116
115
|
i0.ɵɵelementEnd();
|
|
117
116
|
i0.ɵɵelementStart(18, "span");
|
|
118
117
|
i0.ɵɵtext(19, "Include messages");
|
|
@@ -121,7 +120,7 @@ function ExportModalComponent_kendo_dialog_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
121
120
|
i0.ɵɵtext(21, "Export all conversation messages");
|
|
122
121
|
i0.ɵɵelementEnd()();
|
|
123
122
|
i0.ɵɵelementStart(22, "label", 12)(23, "input", 13);
|
|
124
|
-
i0.ɵɵtwoWayListener("ngModelChange", function
|
|
123
|
+
i0.ɵɵtwoWayListener("ngModelChange", function ExportModalComponent_Conditional_0_Template_input_ngModelChange_23_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); i0.ɵɵtwoWayBindingSet(ctx_r1.exportOptions.includeMetadata, $event) || (ctx_r1.exportOptions.includeMetadata = $event); return i0.ɵɵresetView($event); });
|
|
125
124
|
i0.ɵɵelementEnd();
|
|
126
125
|
i0.ɵɵelementStart(24, "span");
|
|
127
126
|
i0.ɵɵtext(25, "Include metadata");
|
|
@@ -129,17 +128,19 @@ function ExportModalComponent_kendo_dialog_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
129
128
|
i0.ɵɵelementStart(26, "small");
|
|
130
129
|
i0.ɵɵtext(27, "Add creation date, IDs, and other metadata");
|
|
131
130
|
i0.ɵɵelementEnd()()();
|
|
132
|
-
i0.ɵɵ
|
|
131
|
+
i0.ɵɵconditionalCreate(28, ExportModalComponent_Conditional_0_Conditional_28_Template, 9, 2, "div", 14);
|
|
132
|
+
i0.ɵɵconditionalCreate(29, ExportModalComponent_Conditional_0_Conditional_29_Template, 9, 2, "div", 14);
|
|
133
133
|
i0.ɵɵelementEnd();
|
|
134
|
-
i0.ɵɵ
|
|
134
|
+
i0.ɵɵconditionalCreate(30, ExportModalComponent_Conditional_0_Conditional_30_Template, 3, 1, "div", 15);
|
|
135
|
+
i0.ɵɵconditionalCreate(31, ExportModalComponent_Conditional_0_Conditional_31_Template, 2, 0, "div", 16);
|
|
135
136
|
i0.ɵɵelementEnd();
|
|
136
137
|
i0.ɵɵelementStart(32, "kendo-dialog-actions")(33, "button", 17);
|
|
137
|
-
i0.ɵɵlistener("click", function
|
|
138
|
+
i0.ɵɵlistener("click", function ExportModalComponent_Conditional_0_Template_button_click_33_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onCancel()); });
|
|
138
139
|
i0.ɵɵelement(34, "i", 18);
|
|
139
140
|
i0.ɵɵtext(35, " Cancel ");
|
|
140
141
|
i0.ɵɵelementEnd();
|
|
141
142
|
i0.ɵɵelementStart(36, "button", 19);
|
|
142
|
-
i0.ɵɵlistener("click", function
|
|
143
|
+
i0.ɵɵlistener("click", function ExportModalComponent_Conditional_0_Template_button_click_36_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onExport()); });
|
|
143
144
|
i0.ɵɵelement(37, "i", 20);
|
|
144
145
|
i0.ɵɵtext(38, " Export ");
|
|
145
146
|
i0.ɵɵelementEnd()()();
|
|
@@ -270,132 +271,123 @@ export class ExportModalComponent {
|
|
|
270
271
|
this.isVisible = false;
|
|
271
272
|
}
|
|
272
273
|
static ɵfac = function ExportModalComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ExportModalComponent)(i0.ɵɵdirectiveInject(i1.ExportService), i0.ɵɵdirectiveInject(i2.DialogService), i0.ɵɵdirectiveInject(i3.ToastService)); };
|
|
273
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ExportModalComponent, selectors: [["mj-export-modal"]], inputs: { isVisible: "isVisible", conversation: "conversation", currentUser: "currentUser" }, outputs: { cancelled: "cancelled", exported: "exported" }, decls: 1, vars: 1, consts: [[3, "title", "width", "height"
|
|
274
|
-
i0.ɵɵ
|
|
274
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ExportModalComponent, selectors: [["mj-export-modal"]], inputs: { isVisible: "isVisible", conversation: "conversation", currentUser: "currentUser" }, outputs: { cancelled: "cancelled", exported: "exported" }, standalone: false, decls: 1, vars: 1, consts: [[3, "title", "width", "height"], [3, "close", "title", "width", "height"], [1, "export-modal-content"], [1, "format-section"], [1, "section-title"], [1, "fa-solid", "fa-file-export"], [1, "section-description"], [1, "format-options"], [1, "format-option", 3, "selected"], [1, "options-section"], [1, "fa-solid", "fa-sliders"], [1, "option-checkboxes"], [1, "checkbox-label"], ["type", "checkbox", 3, "ngModelChange", "ngModel", "disabled"], [1, "format-specific-options"], [1, "error-message"], [1, "loading-indicator"], ["kendoButton", "", 3, "click", "disabled"], [1, "fa-solid", "fa-times"], ["kendoButton", "", 3, "click", "primary", "disabled"], [1, "fa-solid", "fa-download"], [1, "format-option", 3, "click"], [1, "format-details"], [1, "format-name"], [1, "format-description"], [1, "fa-solid", "fa-check-circle", "check-icon"], [1, "subsection-title"], [1, "fa-solid", "fa-exclamation-triangle"], ["text", "Exporting conversation...", "size", "small"]], template: function ExportModalComponent_Template(rf, ctx) { if (rf & 1) {
|
|
275
|
+
i0.ɵɵconditionalCreate(0, ExportModalComponent_Conditional_0_Template, 39, 14, "kendo-dialog", 0);
|
|
275
276
|
} if (rf & 2) {
|
|
276
|
-
i0.ɵɵ
|
|
277
|
-
} }, dependencies: [i4.
|
|
277
|
+
i0.ɵɵconditional(ctx.isVisible ? 0 : -1);
|
|
278
|
+
} }, dependencies: [i4.CheckboxControlValueAccessor, i4.NgControlStatus, i4.NgModel, i5.DialogComponent, i5.DialogActionsComponent, i6.ButtonComponent, i7.LoadingComponent], styles: [".export-modal-content[_ngcontent-%COMP%] {\n padding: 20px;\n max-height: calc(600px - 120px);\n overflow-y: auto;\n }\n\n section[_ngcontent-%COMP%] {\n margin-bottom: 24px;\n }\n\n .section-title[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 8px;\n margin: 0 0 8px 0;\n font-size: 16px;\n font-weight: 600;\n color: #333;\n }\n\n .section-title[_ngcontent-%COMP%] i[_ngcontent-%COMP%] {\n color: #007bff;\n }\n\n .section-description[_ngcontent-%COMP%] {\n margin: 0 0 16px 0;\n color: #666;\n font-size: 14px;\n }\n\n .format-options[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 10px;\n }\n\n .format-option[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 12px;\n padding: 12px;\n border: 2px solid #e0e0e0;\n border-radius: 6px;\n cursor: pointer;\n transition: all 0.2s;\n }\n\n .format-option[_ngcontent-%COMP%]:hover {\n border-color: #007bff;\n background: #f8f9fa;\n }\n\n .format-option.selected[_ngcontent-%COMP%] {\n border-color: #007bff;\n background: #e3f2fd;\n }\n\n .format-option[_ngcontent-%COMP%] > i.fa-solid[_ngcontent-%COMP%], \n .format-option[_ngcontent-%COMP%] > i.fas[_ngcontent-%COMP%] {\n font-size: 24px;\n color: #666;\n width: 32px;\n text-align: center;\n }\n\n .format-option.selected[_ngcontent-%COMP%] > i.fa-solid[_ngcontent-%COMP%], \n .format-option.selected[_ngcontent-%COMP%] > i.fas[_ngcontent-%COMP%] {\n color: #007bff;\n }\n\n .format-details[_ngcontent-%COMP%] {\n flex: 1;\n }\n\n .format-name[_ngcontent-%COMP%] {\n font-weight: 500;\n font-size: 14px;\n margin-bottom: 2px;\n }\n\n .format-description[_ngcontent-%COMP%] {\n font-size: 12px;\n color: #666;\n }\n\n .check-icon[_ngcontent-%COMP%] {\n font-size: 20px;\n color: #28a745;\n }\n\n .option-checkboxes[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 12px;\n }\n\n .checkbox-label[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 4px;\n cursor: pointer;\n padding: 8px;\n border-radius: 4px;\n transition: background 0.2s;\n }\n\n .checkbox-label[_ngcontent-%COMP%]:hover {\n background: #f8f9fa;\n }\n\n .checkbox-label[_ngcontent-%COMP%] input[type=\"checkbox\"][_ngcontent-%COMP%] {\n margin-right: 8px;\n cursor: pointer;\n }\n\n .checkbox-label[_ngcontent-%COMP%] > span[_ngcontent-%COMP%] {\n display: inline-flex;\n align-items: center;\n font-size: 14px;\n font-weight: 500;\n }\n\n .checkbox-label[_ngcontent-%COMP%] input[type=\"checkbox\"][_ngcontent-%COMP%]:disabled {\n cursor: not-allowed;\n }\n\n .checkbox-label[_ngcontent-%COMP%] small[_ngcontent-%COMP%] {\n margin-left: 28px;\n font-size: 12px;\n color: #666;\n }\n\n .format-specific-options[_ngcontent-%COMP%] {\n margin-top: 16px;\n padding-top: 16px;\n border-top: 1px solid #e0e0e0;\n }\n\n .subsection-title[_ngcontent-%COMP%] {\n margin: 0 0 12px 0;\n font-size: 14px;\n font-weight: 600;\n color: #555;\n }\n\n .error-message[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 8px;\n color: #d32f2f;\n font-size: 13px;\n margin-top: 15px;\n padding: 10px 12px;\n background: #ffebee;\n border-left: 3px solid #d32f2f;\n border-radius: 4px;\n }\n\n .loading-indicator[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 10px;\n margin-top: 15px;\n padding: 12px;\n background: #f8f9fa;\n border-radius: 4px;\n color: #666;\n }\n\n kendo-dialog-actions[_ngcontent-%COMP%] {\n display: flex;\n justify-content: flex-end;\n gap: 10px;\n padding: 15px 20px;\n border-top: 1px solid #e0e0e0;\n }\n\n kendo-dialog-actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%] i[_ngcontent-%COMP%] {\n margin-right: 6px;\n }"] });
|
|
278
279
|
}
|
|
279
280
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ExportModalComponent, [{
|
|
280
281
|
type: Component,
|
|
281
|
-
args: [{ selector: 'mj-export-modal', template: `
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
282
|
+
args: [{ standalone: false, selector: 'mj-export-modal', template: `
|
|
283
|
+
@if (isVisible) {
|
|
284
|
+
<kendo-dialog
|
|
285
|
+
[title]="exportTitle"
|
|
286
|
+
[width]="600"
|
|
287
|
+
[height]="600"
|
|
288
|
+
(close)="onCancel()">
|
|
289
|
+
<div class="export-modal-content">
|
|
290
|
+
<section class="format-section">
|
|
291
|
+
<h3 class="section-title">
|
|
292
|
+
<i class="fa-solid fa-file-export"></i>
|
|
293
|
+
Export Format
|
|
294
|
+
</h3>
|
|
295
|
+
<p class="section-description">
|
|
296
|
+
Choose a format to export this conversation:
|
|
297
|
+
</p>
|
|
298
|
+
<div class="format-options">
|
|
299
|
+
@for (format of formats; track format.value) {
|
|
300
|
+
<div
|
|
301
|
+
class="format-option"
|
|
302
|
+
[class.selected]="selectedFormat === format.value"
|
|
303
|
+
(click)="selectFormat(format.value)">
|
|
304
|
+
<i [class]="format.icon"></i>
|
|
305
|
+
<div class="format-details">
|
|
306
|
+
<div class="format-name">{{ format.name }}</div>
|
|
307
|
+
<div class="format-description">{{ format.description }}</div>
|
|
308
|
+
</div>
|
|
309
|
+
@if (selectedFormat === format.value) {
|
|
310
|
+
<i class="fa-solid fa-check-circle check-icon"></i>
|
|
311
|
+
}
|
|
309
312
|
</div>
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
<h3 class="section-title">
|
|
320
|
-
<i class="fa-solid fa-sliders"></i>
|
|
321
|
-
Export Options
|
|
322
|
-
</h3>
|
|
323
|
-
|
|
324
|
-
<div class="option-checkboxes">
|
|
325
|
-
<label class="checkbox-label">
|
|
326
|
-
<input
|
|
327
|
-
type="checkbox"
|
|
328
|
-
[(ngModel)]="exportOptions.includeMessages"
|
|
329
|
-
[disabled]="isExporting">
|
|
330
|
-
<span>Include messages</span>
|
|
331
|
-
<small>Export all conversation messages</small>
|
|
332
|
-
</label>
|
|
333
|
-
|
|
334
|
-
<label class="checkbox-label">
|
|
335
|
-
<input
|
|
336
|
-
type="checkbox"
|
|
337
|
-
[(ngModel)]="exportOptions.includeMetadata"
|
|
338
|
-
[disabled]="isExporting">
|
|
339
|
-
<span>Include metadata</span>
|
|
340
|
-
<small>Add creation date, IDs, and other metadata</small>
|
|
341
|
-
</label>
|
|
342
|
-
</div>
|
|
343
|
-
|
|
344
|
-
@if (selectedFormat === 'json') {
|
|
345
|
-
<div class="format-specific-options">
|
|
346
|
-
<h4 class="subsection-title">JSON Options</h4>
|
|
313
|
+
}
|
|
314
|
+
</div>
|
|
315
|
+
</section>
|
|
316
|
+
<section class="options-section">
|
|
317
|
+
<h3 class="section-title">
|
|
318
|
+
<i class="fa-solid fa-sliders"></i>
|
|
319
|
+
Export Options
|
|
320
|
+
</h3>
|
|
321
|
+
<div class="option-checkboxes">
|
|
347
322
|
<label class="checkbox-label">
|
|
348
323
|
<input
|
|
349
324
|
type="checkbox"
|
|
350
|
-
[(ngModel)]="exportOptions.
|
|
325
|
+
[(ngModel)]="exportOptions.includeMessages"
|
|
351
326
|
[disabled]="isExporting">
|
|
352
|
-
<span>
|
|
353
|
-
<small>
|
|
327
|
+
<span>Include messages</span>
|
|
328
|
+
<small>Export all conversation messages</small>
|
|
354
329
|
</label>
|
|
355
|
-
</div>
|
|
356
|
-
}
|
|
357
|
-
|
|
358
|
-
@if (selectedFormat === 'html') {
|
|
359
|
-
<div class="format-specific-options">
|
|
360
|
-
<h4 class="subsection-title">HTML Options</h4>
|
|
361
330
|
<label class="checkbox-label">
|
|
362
331
|
<input
|
|
363
332
|
type="checkbox"
|
|
364
|
-
[(ngModel)]="exportOptions.
|
|
333
|
+
[(ngModel)]="exportOptions.includeMetadata"
|
|
365
334
|
[disabled]="isExporting">
|
|
366
|
-
<span>Include
|
|
367
|
-
<small>
|
|
335
|
+
<span>Include metadata</span>
|
|
336
|
+
<small>Add creation date, IDs, and other metadata</small>
|
|
368
337
|
</label>
|
|
369
338
|
</div>
|
|
339
|
+
@if (selectedFormat === 'json') {
|
|
340
|
+
<div class="format-specific-options">
|
|
341
|
+
<h4 class="subsection-title">JSON Options</h4>
|
|
342
|
+
<label class="checkbox-label">
|
|
343
|
+
<input
|
|
344
|
+
type="checkbox"
|
|
345
|
+
[(ngModel)]="exportOptions.prettyPrint"
|
|
346
|
+
[disabled]="isExporting">
|
|
347
|
+
<span>Pretty print</span>
|
|
348
|
+
<small>Format JSON with indentation</small>
|
|
349
|
+
</label>
|
|
350
|
+
</div>
|
|
351
|
+
}
|
|
352
|
+
@if (selectedFormat === 'html') {
|
|
353
|
+
<div class="format-specific-options">
|
|
354
|
+
<h4 class="subsection-title">HTML Options</h4>
|
|
355
|
+
<label class="checkbox-label">
|
|
356
|
+
<input
|
|
357
|
+
type="checkbox"
|
|
358
|
+
[(ngModel)]="exportOptions.includeCSS"
|
|
359
|
+
[disabled]="isExporting">
|
|
360
|
+
<span>Include CSS styling</span>
|
|
361
|
+
<small>Embed styles for better presentation</small>
|
|
362
|
+
</label>
|
|
363
|
+
</div>
|
|
364
|
+
}
|
|
365
|
+
</section>
|
|
366
|
+
@if (errorMessage) {
|
|
367
|
+
<div class="error-message">
|
|
368
|
+
<i class="fa-solid fa-exclamation-triangle"></i>
|
|
369
|
+
{{ errorMessage }}
|
|
370
|
+
</div>
|
|
370
371
|
}
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
Cancel
|
|
391
|
-
</button>
|
|
392
|
-
<button kendoButton [primary]="true" [disabled]="!canExport" (click)="onExport()">
|
|
393
|
-
<i class="fa-solid fa-download"></i>
|
|
394
|
-
Export
|
|
395
|
-
</button>
|
|
396
|
-
</kendo-dialog-actions>
|
|
397
|
-
</kendo-dialog>
|
|
398
|
-
`, styles: ["\n .export-modal-content {\n padding: 20px;\n max-height: calc(600px - 120px);\n overflow-y: auto;\n }\n\n section {\n margin-bottom: 24px;\n }\n\n .section-title {\n display: flex;\n align-items: center;\n gap: 8px;\n margin: 0 0 8px 0;\n font-size: 16px;\n font-weight: 600;\n color: #333;\n }\n\n .section-title i {\n color: #007bff;\n }\n\n .section-description {\n margin: 0 0 16px 0;\n color: #666;\n font-size: 14px;\n }\n\n .format-options {\n display: flex;\n flex-direction: column;\n gap: 10px;\n }\n\n .format-option {\n display: flex;\n align-items: center;\n gap: 12px;\n padding: 12px;\n border: 2px solid #e0e0e0;\n border-radius: 6px;\n cursor: pointer;\n transition: all 0.2s;\n }\n\n .format-option:hover {\n border-color: #007bff;\n background: #f8f9fa;\n }\n\n .format-option.selected {\n border-color: #007bff;\n background: #e3f2fd;\n }\n\n .format-option > i.fa-solid,\n .format-option > i.fas {\n font-size: 24px;\n color: #666;\n width: 32px;\n text-align: center;\n }\n\n .format-option.selected > i.fa-solid,\n .format-option.selected > i.fas {\n color: #007bff;\n }\n\n .format-details {\n flex: 1;\n }\n\n .format-name {\n font-weight: 500;\n font-size: 14px;\n margin-bottom: 2px;\n }\n\n .format-description {\n font-size: 12px;\n color: #666;\n }\n\n .check-icon {\n font-size: 20px;\n color: #28a745;\n }\n\n .option-checkboxes {\n display: flex;\n flex-direction: column;\n gap: 12px;\n }\n\n .checkbox-label {\n display: flex;\n flex-direction: column;\n gap: 4px;\n cursor: pointer;\n padding: 8px;\n border-radius: 4px;\n transition: background 0.2s;\n }\n\n .checkbox-label:hover {\n background: #f8f9fa;\n }\n\n .checkbox-label input[type=\"checkbox\"] {\n margin-right: 8px;\n cursor: pointer;\n }\n\n .checkbox-label > span {\n display: inline-flex;\n align-items: center;\n font-size: 14px;\n font-weight: 500;\n }\n\n .checkbox-label input[type=\"checkbox\"]:disabled {\n cursor: not-allowed;\n }\n\n .checkbox-label small {\n margin-left: 28px;\n font-size: 12px;\n color: #666;\n }\n\n .format-specific-options {\n margin-top: 16px;\n padding-top: 16px;\n border-top: 1px solid #e0e0e0;\n }\n\n .subsection-title {\n margin: 0 0 12px 0;\n font-size: 14px;\n font-weight: 600;\n color: #555;\n }\n\n .error-message {\n display: flex;\n align-items: center;\n gap: 8px;\n color: #d32f2f;\n font-size: 13px;\n margin-top: 15px;\n padding: 10px 12px;\n background: #ffebee;\n border-left: 3px solid #d32f2f;\n border-radius: 4px;\n }\n\n .loading-indicator {\n display: flex;\n align-items: center;\n gap: 10px;\n margin-top: 15px;\n padding: 12px;\n background: #f8f9fa;\n border-radius: 4px;\n color: #666;\n }\n\n kendo-dialog-actions {\n display: flex;\n justify-content: flex-end;\n gap: 10px;\n padding: 15px 20px;\n border-top: 1px solid #e0e0e0;\n }\n\n kendo-dialog-actions button i {\n margin-right: 6px;\n }\n "] }]
|
|
372
|
+
@if (isExporting) {
|
|
373
|
+
<div class="loading-indicator">
|
|
374
|
+
<mj-loading text="Exporting conversation..." size="small"></mj-loading>
|
|
375
|
+
</div>
|
|
376
|
+
}
|
|
377
|
+
</div>
|
|
378
|
+
<kendo-dialog-actions>
|
|
379
|
+
<button kendoButton [disabled]="isExporting" (click)="onCancel()">
|
|
380
|
+
<i class="fa-solid fa-times"></i>
|
|
381
|
+
Cancel
|
|
382
|
+
</button>
|
|
383
|
+
<button kendoButton [primary]="true" [disabled]="!canExport" (click)="onExport()">
|
|
384
|
+
<i class="fa-solid fa-download"></i>
|
|
385
|
+
Export
|
|
386
|
+
</button>
|
|
387
|
+
</kendo-dialog-actions>
|
|
388
|
+
</kendo-dialog>
|
|
389
|
+
}
|
|
390
|
+
`, styles: ["\n .export-modal-content {\n padding: 20px;\n max-height: calc(600px - 120px);\n overflow-y: auto;\n }\n\n section {\n margin-bottom: 24px;\n }\n\n .section-title {\n display: flex;\n align-items: center;\n gap: 8px;\n margin: 0 0 8px 0;\n font-size: 16px;\n font-weight: 600;\n color: #333;\n }\n\n .section-title i {\n color: #007bff;\n }\n\n .section-description {\n margin: 0 0 16px 0;\n color: #666;\n font-size: 14px;\n }\n\n .format-options {\n display: flex;\n flex-direction: column;\n gap: 10px;\n }\n\n .format-option {\n display: flex;\n align-items: center;\n gap: 12px;\n padding: 12px;\n border: 2px solid #e0e0e0;\n border-radius: 6px;\n cursor: pointer;\n transition: all 0.2s;\n }\n\n .format-option:hover {\n border-color: #007bff;\n background: #f8f9fa;\n }\n\n .format-option.selected {\n border-color: #007bff;\n background: #e3f2fd;\n }\n\n .format-option > i.fa-solid,\n .format-option > i.fas {\n font-size: 24px;\n color: #666;\n width: 32px;\n text-align: center;\n }\n\n .format-option.selected > i.fa-solid,\n .format-option.selected > i.fas {\n color: #007bff;\n }\n\n .format-details {\n flex: 1;\n }\n\n .format-name {\n font-weight: 500;\n font-size: 14px;\n margin-bottom: 2px;\n }\n\n .format-description {\n font-size: 12px;\n color: #666;\n }\n\n .check-icon {\n font-size: 20px;\n color: #28a745;\n }\n\n .option-checkboxes {\n display: flex;\n flex-direction: column;\n gap: 12px;\n }\n\n .checkbox-label {\n display: flex;\n flex-direction: column;\n gap: 4px;\n cursor: pointer;\n padding: 8px;\n border-radius: 4px;\n transition: background 0.2s;\n }\n\n .checkbox-label:hover {\n background: #f8f9fa;\n }\n\n .checkbox-label input[type=\"checkbox\"] {\n margin-right: 8px;\n cursor: pointer;\n }\n\n .checkbox-label > span {\n display: inline-flex;\n align-items: center;\n font-size: 14px;\n font-weight: 500;\n }\n\n .checkbox-label input[type=\"checkbox\"]:disabled {\n cursor: not-allowed;\n }\n\n .checkbox-label small {\n margin-left: 28px;\n font-size: 12px;\n color: #666;\n }\n\n .format-specific-options {\n margin-top: 16px;\n padding-top: 16px;\n border-top: 1px solid #e0e0e0;\n }\n\n .subsection-title {\n margin: 0 0 12px 0;\n font-size: 14px;\n font-weight: 600;\n color: #555;\n }\n\n .error-message {\n display: flex;\n align-items: center;\n gap: 8px;\n color: #d32f2f;\n font-size: 13px;\n margin-top: 15px;\n padding: 10px 12px;\n background: #ffebee;\n border-left: 3px solid #d32f2f;\n border-radius: 4px;\n }\n\n .loading-indicator {\n display: flex;\n align-items: center;\n gap: 10px;\n margin-top: 15px;\n padding: 12px;\n background: #f8f9fa;\n border-radius: 4px;\n color: #666;\n }\n\n kendo-dialog-actions {\n display: flex;\n justify-content: flex-end;\n gap: 10px;\n padding: 15px 20px;\n border-top: 1px solid #e0e0e0;\n }\n\n kendo-dialog-actions button i {\n margin-right: 6px;\n }\n "] }]
|
|
399
391
|
}], () => [{ type: i1.ExportService }, { type: i2.DialogService }, { type: i3.ToastService }], { isVisible: [{
|
|
400
392
|
type: Input
|
|
401
393
|
}], conversation: [{
|
|
@@ -407,5 +399,5 @@ export class ExportModalComponent {
|
|
|
407
399
|
}], exported: [{
|
|
408
400
|
type: Output
|
|
409
401
|
}] }); })();
|
|
410
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ExportModalComponent, { className: "ExportModalComponent", filePath: "src/lib/components/export/export-modal.component.ts", lineNumber:
|
|
402
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ExportModalComponent, { className: "ExportModalComponent", filePath: "src/lib/components/export/export-modal.component.ts", lineNumber: 303 }); })();
|
|
411
403
|
//# sourceMappingURL=export-modal.component.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"export-modal.component.js","sourceRoot":"","sources":["../../../../src/lib/components/export/export-modal.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC
|
|
1
|
+
{"version":3,"file":"export-modal.component.js","sourceRoot":"","sources":["../../../../src/lib/components/export/export-modal.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;;;;;;;;;;;IAsCnD,wBAAmD;;;;IAVvD,+BAGuC;IAArC,yNAAS,oCAA0B,KAAC;IACpC,oBAA6B;IAE3B,AADF,+BAA4B,cACD;IAAA,YAAiB;IAAA,iBAAM;IAChD,+BAAgC;IAAA,YAAwB;IAC1D,AAD0D,iBAAM,EAC1D;IACN,0GAAuC;IAGzC,iBAAM;;;;IAVJ,qEAAkD;IAE/C,cAAqB;IAArB,6BAAqB;IAEG,eAAi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;;;iFAyLQ,oBAAoB;cAvShC,SAAS;6BACI,KAAK,YACP,iBAAiB,YACjB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KA4GP;;kBAyLF,KAAK;;kBACL,KAAK;;kBACL,KAAK;;kBACL,MAAM;;kBACN,MAAM;;kFALI,oBAAoB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"global-tasks-panel.component.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/global-tasks/global-tasks-panel.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,MAAM,EAAE,SAAS,EAAU,YAAY,EAAE,MAAM,eAAe,CAAC;AACnF,OAAO,EAAE,kBAAkB,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAC;;AAIrF;;;GAGG;AACH,
|
|
1
|
+
{"version":3,"file":"global-tasks-panel.component.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/global-tasks/global-tasks-panel.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,MAAM,EAAE,SAAS,EAAU,YAAY,EAAE,MAAM,eAAe,CAAC;AACnF,OAAO,EAAE,kBAAkB,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAC;;AAIrF;;;GAGG;AACH,qBAkSa,yBAA0B,YAAW,MAAM,EAAE,SAAS;IAQrD,OAAO,CAAC,kBAAkB;IAP/B,KAAK,EAAE,UAAU,EAAE,CAAM;IACzB,WAAW,EAAE,OAAO,CAAS;IAEpC,OAAO,CAAC,QAAQ,CAAuB;IAE7B,WAAW,2BAAkC;gBAEnC,kBAAkB,EAAE,kBAAkB;IAE1D,QAAQ;IAcR,WAAW;IAKX,MAAM;IAIN,QAAQ;IAIR,WAAW,CAAC,IAAI,EAAE,UAAU;IAI5B,gBAAgB,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM;IAMxC,cAAc,CAAC,IAAI,EAAE,UAAU,GAAG,MAAM;yCA/C7B,yBAAyB;2CAAzB,yBAAyB;CA6DrC"}
|