@memberjunction/ng-conversations 6.3.0-edge.0 → 6.3.0-edge.2
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/README.md +60 -22
- package/dist/assets/edge-ai.worker.js +35168 -0
- package/dist/lib/components/agent/agent-instance-editor-modal.component.d.ts +186 -0
- package/dist/lib/components/agent/agent-instance-editor-modal.component.d.ts.map +1 -0
- package/dist/lib/components/agent/agent-instance-editor-modal.component.js +2202 -0
- package/dist/lib/components/agent/agent-instance-editor-modal.component.js.map +1 -0
- package/dist/lib/components/artifact/artifact-share-modal.component.d.ts +39 -6
- package/dist/lib/components/artifact/artifact-share-modal.component.d.ts.map +1 -1
- package/dist/lib/components/artifact/artifact-share-modal.component.js +773 -204
- package/dist/lib/components/artifact/artifact-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 +19 -18
- package/dist/lib/components/collection/collection-tree.component.js.map +1 -1
- package/dist/lib/components/collection/collection-view.component.d.ts +6 -4
- package/dist/lib/components/collection/collection-view.component.d.ts.map +1 -1
- package/dist/lib/components/collection/collection-view.component.js +35 -17
- package/dist/lib/components/collection/collection-view.component.js.map +1 -1
- package/dist/lib/components/collection/collections-full-view.component.d.ts +1 -0
- package/dist/lib/components/collection/collections-full-view.component.d.ts.map +1 -1
- package/dist/lib/components/collection/collections-full-view.component.js +108 -106
- package/dist/lib/components/collection/collections-full-view.component.js.map +1 -1
- package/dist/lib/components/composer/ai-composer.component.d.ts +15 -1
- package/dist/lib/components/composer/ai-composer.component.d.ts.map +1 -1
- package/dist/lib/components/composer/ai-composer.component.js +43 -4
- package/dist/lib/components/composer/ai-composer.component.js.map +1 -1
- package/dist/lib/components/conversation/conversation-agent-picker.component.d.ts +20 -2
- package/dist/lib/components/conversation/conversation-agent-picker.component.d.ts.map +1 -1
- package/dist/lib/components/conversation/conversation-agent-picker.component.js +378 -62
- package/dist/lib/components/conversation/conversation-agent-picker.component.js.map +1 -1
- package/dist/lib/components/conversation/conversation-chat-area.component.d.ts +94 -18
- package/dist/lib/components/conversation/conversation-chat-area.component.d.ts.map +1 -1
- package/dist/lib/components/conversation/conversation-chat-area.component.js +732 -439
- package/dist/lib/components/conversation/conversation-chat-area.component.js.map +1 -1
- package/dist/lib/components/conversation/conversation-list.component.d.ts +19 -1
- package/dist/lib/components/conversation/conversation-list.component.d.ts.map +1 -1
- package/dist/lib/components/conversation/conversation-list.component.js +184 -89
- package/dist/lib/components/conversation/conversation-list.component.js.map +1 -1
- package/dist/lib/components/export/export-modal.component.d.ts +7 -2
- package/dist/lib/components/export/export-modal.component.d.ts.map +1 -1
- package/dist/lib/components/export/export-modal.component.js +13 -2
- package/dist/lib/components/export/export-modal.component.js.map +1 -1
- package/dist/lib/components/library/library-create-dialog.component.d.ts +136 -0
- package/dist/lib/components/library/library-create-dialog.component.d.ts.map +1 -0
- package/dist/lib/components/library/library-create-dialog.component.js +1620 -0
- package/dist/lib/components/library/library-create-dialog.component.js.map +1 -0
- package/dist/lib/components/library/library-full-view.component.d.ts +10 -4
- package/dist/lib/components/library/library-full-view.component.d.ts.map +1 -1
- package/dist/lib/components/library/library-full-view.component.js +216 -40
- package/dist/lib/components/library/library-full-view.component.js.map +1 -1
- package/dist/lib/components/library/library-remote-drive-pane.component.d.ts +97 -0
- package/dist/lib/components/library/library-remote-drive-pane.component.d.ts.map +1 -0
- package/dist/lib/components/library/library-remote-drive-pane.component.js +1229 -0
- package/dist/lib/components/library/library-remote-drive-pane.component.js.map +1 -0
- package/dist/lib/components/library/library-workspace.component.d.ts +293 -0
- package/dist/lib/components/library/library-workspace.component.d.ts.map +1 -0
- package/dist/lib/components/library/library-workspace.component.js +5121 -0
- package/dist/lib/components/library/library-workspace.component.js.map +1 -0
- package/dist/lib/components/library/library.models.d.ts +192 -0
- package/dist/lib/components/library/library.models.d.ts.map +1 -0
- package/dist/lib/components/library/library.models.js +2 -0
- package/dist/lib/components/library/library.models.js.map +1 -0
- package/dist/lib/components/message/agent-handoff-card.component.js +1 -1
- package/dist/lib/components/message/agent-handoff-card.component.js.map +1 -1
- package/dist/lib/components/message/conversation-message-rating.component.d.ts +5 -0
- package/dist/lib/components/message/conversation-message-rating.component.d.ts.map +1 -1
- package/dist/lib/components/message/conversation-message-rating.component.js +72 -16
- package/dist/lib/components/message/conversation-message-rating.component.js.map +1 -1
- package/dist/lib/components/message/message-input.component.d.ts +33 -14
- package/dist/lib/components/message/message-input.component.d.ts.map +1 -1
- package/dist/lib/components/message/message-input.component.js +142 -75
- package/dist/lib/components/message/message-input.component.js.map +1 -1
- package/dist/lib/components/message/message-item.component.d.ts +51 -4
- package/dist/lib/components/message/message-item.component.d.ts.map +1 -1
- package/dist/lib/components/message/message-item.component.js +640 -399
- package/dist/lib/components/message/message-item.component.js.map +1 -1
- package/dist/lib/components/message/message-list.component.d.ts +15 -1
- package/dist/lib/components/message/message-list.component.d.ts.map +1 -1
- package/dist/lib/components/message/message-list.component.js +75 -3
- package/dist/lib/components/message/message-list.component.js.map +1 -1
- package/dist/lib/components/navigation/conversation-navigation.component.js +9 -9
- package/dist/lib/components/navigation/conversation-navigation.component.js.map +1 -1
- package/dist/lib/components/overlay/chat-overlay.component.d.ts +94 -6
- package/dist/lib/components/overlay/chat-overlay.component.d.ts.map +1 -1
- package/dist/lib/components/overlay/chat-overlay.component.js +249 -59
- package/dist/lib/components/overlay/chat-overlay.component.js.map +1 -1
- package/dist/lib/components/project/project-form-modal.component.d.ts +6 -0
- package/dist/lib/components/project/project-form-modal.component.d.ts.map +1 -1
- package/dist/lib/components/project/project-form-modal.component.js +81 -61
- package/dist/lib/components/project/project-form-modal.component.js.map +1 -1
- package/dist/lib/components/project/project-selector.component.d.ts +5 -0
- package/dist/lib/components/project/project-selector.component.d.ts.map +1 -1
- package/dist/lib/components/project/project-selector.component.js +11 -4
- package/dist/lib/components/project/project-selector.component.js.map +1 -1
- package/dist/lib/components/realtime/artifact-workspace/artifact-workspace-channel.d.ts +55 -0
- package/dist/lib/components/realtime/artifact-workspace/artifact-workspace-channel.d.ts.map +1 -0
- package/dist/lib/components/realtime/artifact-workspace/artifact-workspace-channel.js +974 -0
- package/dist/lib/components/realtime/artifact-workspace/artifact-workspace-channel.js.map +1 -0
- package/dist/lib/components/realtime/artifact-workspace/artifact-workspace-engine.d.ts +66 -0
- package/dist/lib/components/realtime/artifact-workspace/artifact-workspace-engine.d.ts.map +1 -0
- package/dist/lib/components/realtime/artifact-workspace/artifact-workspace-engine.js +253 -0
- package/dist/lib/components/realtime/artifact-workspace/artifact-workspace-engine.js.map +1 -0
- package/dist/lib/components/realtime/artifact-workspace/artifact-workspace-types.d.ts +80 -0
- package/dist/lib/components/realtime/artifact-workspace/artifact-workspace-types.d.ts.map +1 -0
- package/dist/lib/components/realtime/artifact-workspace/artifact-workspace-types.js +49 -0
- package/dist/lib/components/realtime/artifact-workspace/artifact-workspace-types.js.map +1 -0
- package/dist/lib/components/realtime/artifact-workspace/realtime-artifact-workspace-surface.component.d.ts +54 -0
- package/dist/lib/components/realtime/artifact-workspace/realtime-artifact-workspace-surface.component.d.ts.map +1 -0
- package/dist/lib/components/realtime/artifact-workspace/realtime-artifact-workspace-surface.component.js +386 -0
- package/dist/lib/components/realtime/artifact-workspace/realtime-artifact-workspace-surface.component.js.map +1 -0
- package/dist/lib/components/realtime/capture/realtime-capture-channel.d.ts +28 -1
- package/dist/lib/components/realtime/capture/realtime-capture-channel.d.ts.map +1 -1
- package/dist/lib/components/realtime/capture/realtime-capture-channel.js +53 -1
- package/dist/lib/components/realtime/capture/realtime-capture-channel.js.map +1 -1
- package/dist/lib/components/realtime/channels/client-context-channel.d.ts.map +1 -1
- package/dist/lib/components/realtime/channels/client-context-channel.js +23 -7
- package/dist/lib/components/realtime/channels/client-context-channel.js.map +1 -1
- package/dist/lib/components/realtime/interactive-component/interactive-component-channel.d.ts +1 -0
- package/dist/lib/components/realtime/interactive-component/interactive-component-channel.d.ts.map +1 -1
- package/dist/lib/components/realtime/interactive-component/interactive-component-channel.js +15 -2
- package/dist/lib/components/realtime/interactive-component/interactive-component-channel.js.map +1 -1
- package/dist/lib/components/realtime/media/media-channel.d.ts +32 -11
- package/dist/lib/components/realtime/media/media-channel.d.ts.map +1 -1
- package/dist/lib/components/realtime/media/media-channel.js +186 -23
- package/dist/lib/components/realtime/media/media-channel.js.map +1 -1
- package/dist/lib/components/realtime/media/realtime-media-surface.component.d.ts +9 -1
- package/dist/lib/components/realtime/media/realtime-media-surface.component.d.ts.map +1 -1
- package/dist/lib/components/realtime/media/realtime-media-surface.component.js +33 -10
- package/dist/lib/components/realtime/media/realtime-media-surface.component.js.map +1 -1
- package/dist/lib/components/realtime/realtime-agent-banner.component.js +3 -3
- package/dist/lib/components/realtime/realtime-agent-banner.component.js.map +1 -1
- package/dist/lib/components/realtime/realtime-agent-picker.component.d.ts.map +1 -1
- package/dist/lib/components/realtime/realtime-agent-picker.component.js +3 -3
- package/dist/lib/components/realtime/realtime-agent-picker.component.js.map +1 -1
- package/dist/lib/components/realtime/realtime-composer.component.js +6 -4
- package/dist/lib/components/realtime/realtime-composer.component.js.map +1 -1
- package/dist/lib/components/realtime/realtime-session-overlay.component.d.ts +82 -33
- package/dist/lib/components/realtime/realtime-session-overlay.component.d.ts.map +1 -1
- package/dist/lib/components/realtime/realtime-session-overlay.component.js +521 -191
- package/dist/lib/components/realtime/realtime-session-overlay.component.js.map +1 -1
- package/dist/lib/components/realtime/realtime-session-state.d.ts.map +1 -1
- package/dist/lib/components/realtime/realtime-session-state.js +1 -1
- package/dist/lib/components/realtime/realtime-session-state.js.map +1 -1
- package/dist/lib/components/realtime/realtime-session-thread.component.d.ts.map +1 -1
- package/dist/lib/components/realtime/realtime-session-thread.component.js +90 -5
- package/dist/lib/components/realtime/realtime-session-thread.component.js.map +1 -1
- package/dist/lib/components/realtime/realtime-surface-stage.model.d.ts.map +1 -1
- package/dist/lib/components/realtime/realtime-surface-stage.model.js +2 -1
- package/dist/lib/components/realtime/realtime-surface-stage.model.js.map +1 -1
- package/dist/lib/components/realtime/realtime-surface-tab-style.d.ts +11 -4
- package/dist/lib/components/realtime/realtime-surface-tab-style.d.ts.map +1 -1
- package/dist/lib/components/realtime/realtime-surface-tab-style.js +24 -5
- package/dist/lib/components/realtime/realtime-surface-tab-style.js.map +1 -1
- package/dist/lib/components/realtime/realtime-surface-tabs.model.d.ts +7 -9
- package/dist/lib/components/realtime/realtime-surface-tabs.model.d.ts.map +1 -1
- package/dist/lib/components/realtime/realtime-surface-tabs.model.js +25 -15
- package/dist/lib/components/realtime/realtime-surface-tabs.model.js.map +1 -1
- package/dist/lib/components/realtime/remote-browser/remote-browser-channel.d.ts +30 -1
- package/dist/lib/components/realtime/remote-browser/remote-browser-channel.d.ts.map +1 -1
- package/dist/lib/components/realtime/remote-browser/remote-browser-channel.js +150 -2
- package/dist/lib/components/realtime/remote-browser/remote-browser-channel.js.map +1 -1
- package/dist/lib/components/realtime/remote-browser/remote-browser-surface.component.d.ts +101 -3
- package/dist/lib/components/realtime/remote-browser/remote-browser-surface.component.d.ts.map +1 -1
- package/dist/lib/components/realtime/remote-browser/remote-browser-surface.component.js +503 -55
- package/dist/lib/components/realtime/remote-browser/remote-browser-surface.component.js.map +1 -1
- package/dist/lib/components/realtime/whiteboard/whiteboard-artifact-viewer.component.d.ts +48 -5
- package/dist/lib/components/realtime/whiteboard/whiteboard-artifact-viewer.component.d.ts.map +1 -1
- package/dist/lib/components/realtime/whiteboard/whiteboard-artifact-viewer.component.js +249 -53
- package/dist/lib/components/realtime/whiteboard/whiteboard-artifact-viewer.component.js.map +1 -1
- package/dist/lib/components/realtime/whiteboard/whiteboard-channel.d.ts.map +1 -1
- package/dist/lib/components/realtime/whiteboard/whiteboard-channel.js +1 -1
- package/dist/lib/components/realtime/whiteboard/whiteboard-channel.js.map +1 -1
- package/dist/lib/components/search/search-panel.component.d.ts +10 -0
- package/dist/lib/components/search/search-panel.component.d.ts.map +1 -1
- package/dist/lib/components/search/search-panel.component.js +25 -3
- 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 +181 -127
- package/dist/lib/components/share/share-modal.component.js.map +1 -1
- package/dist/lib/components/sidebar/conversation-sidebar.component.d.ts +14 -1
- package/dist/lib/components/sidebar/conversation-sidebar.component.d.ts.map +1 -1
- package/dist/lib/components/sidebar/conversation-sidebar.component.js +50 -11
- package/dist/lib/components/sidebar/conversation-sidebar.component.js.map +1 -1
- package/dist/lib/components/sidebar/my-agents-section.component.d.ts +78 -0
- package/dist/lib/components/sidebar/my-agents-section.component.d.ts.map +1 -0
- package/dist/lib/components/sidebar/my-agents-section.component.js +450 -0
- package/dist/lib/components/sidebar/my-agents-section.component.js.map +1 -0
- package/dist/lib/components/task/tasks-full-view.component.d.ts +31 -8
- package/dist/lib/components/task/tasks-full-view.component.d.ts.map +1 -1
- package/dist/lib/components/task/tasks-full-view.component.js +701 -497
- package/dist/lib/components/task/tasks-full-view.component.js.map +1 -1
- package/dist/lib/components/workspace/conversation-workspace.component.d.ts.map +1 -1
- package/dist/lib/components/workspace/conversation-workspace.component.js +15 -2
- package/dist/lib/components/workspace/conversation-workspace.component.js.map +1 -1
- package/dist/lib/composer-plugins/base-conversation-mention.provider.d.ts +1 -0
- package/dist/lib/composer-plugins/base-conversation-mention.provider.d.ts.map +1 -1
- package/dist/lib/composer-plugins/base-conversation-mention.provider.js +13 -1
- package/dist/lib/composer-plugins/base-conversation-mention.provider.js.map +1 -1
- package/dist/lib/conversations.module.d.ts +78 -71
- package/dist/lib/conversations.module.d.ts.map +1 -1
- package/dist/lib/conversations.module.js +68 -1
- package/dist/lib/conversations.module.js.map +1 -1
- package/dist/lib/models/agent-turn.model.d.ts +7 -1
- package/dist/lib/models/agent-turn.model.d.ts.map +1 -1
- package/dist/lib/models/agent-turn.model.js.map +1 -1
- package/dist/lib/services/agent-state.service.d.ts.map +1 -1
- package/dist/lib/services/agent-state.service.js +14 -3
- package/dist/lib/services/agent-state.service.js.map +1 -1
- package/dist/lib/services/artifact-permission.service.d.ts.map +1 -1
- package/dist/lib/services/artifact-permission.service.js +14 -3
- package/dist/lib/services/artifact-permission.service.js.map +1 -1
- package/dist/lib/services/artifact-state.service.d.ts.map +1 -1
- package/dist/lib/services/artifact-state.service.js +43 -11
- package/dist/lib/services/artifact-state.service.js.map +1 -1
- package/dist/lib/services/conversation-agent.service.d.ts +31 -21
- package/dist/lib/services/conversation-agent.service.d.ts.map +1 -1
- package/dist/lib/services/conversation-agent.service.js +84 -35
- package/dist/lib/services/conversation-agent.service.js.map +1 -1
- package/dist/lib/services/conversation-tasks-filter.d.ts +59 -2
- package/dist/lib/services/conversation-tasks-filter.d.ts.map +1 -1
- package/dist/lib/services/conversation-tasks-filter.js +222 -18
- package/dist/lib/services/conversation-tasks-filter.js.map +1 -1
- package/dist/lib/services/edge-ai/edge-agent-pre-discovery.service.d.ts +85 -0
- package/dist/lib/services/edge-ai/edge-agent-pre-discovery.service.d.ts.map +1 -0
- package/dist/lib/services/edge-ai/edge-agent-pre-discovery.service.js +257 -0
- package/dist/lib/services/edge-ai/edge-agent-pre-discovery.service.js.map +1 -0
- package/dist/lib/services/edge-ai/edge-ai-protocol.d.ts +85 -0
- package/dist/lib/services/edge-ai/edge-ai-protocol.d.ts.map +1 -0
- package/dist/lib/services/edge-ai/edge-ai-protocol.js +10 -0
- package/dist/lib/services/edge-ai/edge-ai-protocol.js.map +1 -0
- package/dist/lib/services/edge-ai/edge-ai-worker-host.d.ts +90 -0
- package/dist/lib/services/edge-ai/edge-ai-worker-host.d.ts.map +1 -0
- package/dist/lib/services/edge-ai/edge-ai-worker-host.js +386 -0
- package/dist/lib/services/edge-ai/edge-ai-worker-host.js.map +1 -0
- package/dist/lib/services/edge-ai/edge-ai.worker.d.ts +13 -0
- package/dist/lib/services/edge-ai/edge-ai.worker.d.ts.map +1 -0
- package/dist/lib/services/edge-ai/edge-ai.worker.js +201 -0
- package/dist/lib/services/edge-ai/edge-ai.worker.js.map +1 -0
- package/dist/lib/services/export.service.d.ts +64 -0
- package/dist/lib/services/export.service.d.ts.map +1 -1
- package/dist/lib/services/export.service.js +185 -6
- package/dist/lib/services/export.service.js.map +1 -1
- package/dist/lib/services/library-creation.service.d.ts +304 -0
- package/dist/lib/services/library-creation.service.d.ts.map +1 -0
- package/dist/lib/services/library-creation.service.js +1244 -0
- package/dist/lib/services/library-creation.service.js.map +1 -0
- package/dist/lib/services/realtime-pairing.d.ts +3 -3
- package/dist/lib/services/realtime-pairing.js +4 -4
- package/dist/lib/services/realtime-pairing.js.map +1 -1
- package/dist/lib/services/realtime-session-review.service.d.ts +14 -0
- package/dist/lib/services/realtime-session-review.service.d.ts.map +1 -1
- package/dist/lib/services/realtime-session-review.service.js +46 -4
- package/dist/lib/services/realtime-session-review.service.js.map +1 -1
- package/dist/lib/services/realtime-session.service.d.ts.map +1 -1
- package/dist/lib/services/realtime-session.service.js +2 -1
- package/dist/lib/services/realtime-session.service.js.map +1 -1
- package/dist/lib/services/search.service.d.ts +19 -2
- package/dist/lib/services/search.service.d.ts.map +1 -1
- package/dist/lib/services/search.service.js +99 -36
- package/dist/lib/services/search.service.js.map +1 -1
- package/dist/lib/utils/agent-handoff-map.js +1 -1
- package/dist/lib/utils/agent-handoff-map.js.map +1 -1
- package/dist/lib/utils/agent-turn-routing.js +1 -1
- package/dist/lib/utils/agent-turn-routing.js.map +1 -1
- package/dist/lib/utils/decision-routing.d.ts +5 -2
- package/dist/lib/utils/decision-routing.d.ts.map +1 -1
- package/dist/lib/utils/decision-routing.js +9 -4
- package/dist/lib/utils/decision-routing.js.map +1 -1
- package/dist/public-api.d.ts +15 -0
- package/dist/public-api.d.ts.map +1 -1
- package/dist/public-api.js +17 -1
- package/dist/public-api.js.map +1 -1
- package/package.json +42 -37
|
@@ -15,14 +15,14 @@ function ShareModalComponent_Conditional_0_Conditional_2_Template(rf, ctx) { if
|
|
|
15
15
|
i0.ɵɵelementStart(0, "div", 3)(1, "h4");
|
|
16
16
|
i0.ɵɵtext(2, "Folder Access");
|
|
17
17
|
i0.ɵɵelementEnd();
|
|
18
|
-
i0.ɵɵelementStart(3, "label",
|
|
18
|
+
i0.ɵɵelementStart(3, "label", 12)(4, "input", 13);
|
|
19
19
|
i0.ɵɵtwoWayListener("ngModelChange", function ShareModalComponent_Conditional_0_Conditional_2_Template_input_ngModelChange_4_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(2); i0.ɵɵtwoWayBindingSet(ctx_r1.InheritFolderAccess, $event) || (ctx_r1.InheritFolderAccess = $event); return i0.ɵɵresetView($event); });
|
|
20
20
|
i0.ɵɵlistener("ngModelChange", function ShareModalComponent_Conditional_0_Conditional_2_Template_input_ngModelChange_4_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnToggleInheritFolderAccess($event)); });
|
|
21
21
|
i0.ɵɵelementEnd();
|
|
22
22
|
i0.ɵɵelementStart(5, "span");
|
|
23
23
|
i0.ɵɵtext(6, "Inherit access from folder");
|
|
24
24
|
i0.ɵɵelementEnd()();
|
|
25
|
-
i0.ɵɵelementStart(7, "p",
|
|
25
|
+
i0.ɵɵelementStart(7, "p", 14);
|
|
26
26
|
i0.ɵɵtext(8);
|
|
27
27
|
i0.ɵɵelementEnd()();
|
|
28
28
|
} if (rf & 2) {
|
|
@@ -32,22 +32,72 @@ function ShareModalComponent_Conditional_0_Conditional_2_Template(rf, ctx) { if
|
|
|
32
32
|
i0.ɵɵadvance(4);
|
|
33
33
|
i0.ɵɵtextInterpolate1(" ", ctx_r1.InheritFolderAccess ? "People with access to this folder see this conversation in their list." : "People with access to this folder do not see this conversation in their list. People added below do.", " ");
|
|
34
34
|
} }
|
|
35
|
-
function
|
|
36
|
-
i0.ɵɵ
|
|
35
|
+
function ShareModalComponent_Conditional_0_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
36
|
+
const _r4 = i0.ɵɵgetCurrentView();
|
|
37
|
+
i0.ɵɵelementStart(0, "div", 4)(1, "h4");
|
|
38
|
+
i0.ɵɵtext(2, "Add People");
|
|
39
|
+
i0.ɵɵelementEnd();
|
|
40
|
+
i0.ɵɵelementStart(3, "div", 15)(4, "input", 16);
|
|
41
|
+
i0.ɵɵtwoWayListener("ngModelChange", function ShareModalComponent_Conditional_0_Conditional_3_Template_input_ngModelChange_4_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(2); i0.ɵɵtwoWayBindingSet(ctx_r1.newUserEmail, $event) || (ctx_r1.newUserEmail = $event); return i0.ɵɵresetView($event); });
|
|
42
|
+
i0.ɵɵelementEnd();
|
|
43
|
+
i0.ɵɵelementStart(5, "button", 17);
|
|
44
|
+
i0.ɵɵlistener("click", function ShareModalComponent_Conditional_0_Conditional_3_Template_button_click_5_listener() { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onAddUser()); });
|
|
45
|
+
i0.ɵɵtext(6, " Add ");
|
|
46
|
+
i0.ɵɵelementEnd()()();
|
|
47
|
+
} if (rf & 2) {
|
|
48
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
49
|
+
i0.ɵɵadvance(4);
|
|
50
|
+
i0.ɵɵtwoWayProperty("ngModel", ctx_r1.newUserEmail);
|
|
51
|
+
} }
|
|
52
|
+
function ShareModalComponent_Conditional_0_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
53
|
+
i0.ɵɵelementStart(0, "div", 5);
|
|
54
|
+
i0.ɵɵelement(1, "i", 18);
|
|
55
|
+
i0.ɵɵelementStart(2, "span");
|
|
56
|
+
i0.ɵɵtext(3, "Only the conversation owner can share or revoke access for this conversation.");
|
|
57
|
+
i0.ɵɵelementEnd()();
|
|
37
58
|
} }
|
|
38
|
-
function
|
|
39
|
-
i0.ɵɵ
|
|
59
|
+
function ShareModalComponent_Conditional_0_Conditional_9_Template(rf, ctx) { if (rf & 1) {
|
|
60
|
+
i0.ɵɵelement(0, "mj-empty-state", 8);
|
|
61
|
+
} }
|
|
62
|
+
function ShareModalComponent_Conditional_0_For_11_Conditional_8_For_3_Template(rf, ctx) { if (rf & 1) {
|
|
63
|
+
i0.ɵɵelementStart(0, "option", 27);
|
|
40
64
|
i0.ɵɵtext(1);
|
|
41
65
|
i0.ɵɵelementEnd();
|
|
42
66
|
} if (rf & 2) {
|
|
43
|
-
const
|
|
44
|
-
i0.ɵɵproperty("value",
|
|
67
|
+
const level_r7 = ctx.$implicit;
|
|
68
|
+
i0.ɵɵproperty("value", level_r7.value);
|
|
45
69
|
i0.ɵɵadvance();
|
|
46
|
-
i0.ɵɵtextInterpolate(
|
|
70
|
+
i0.ɵɵtextInterpolate(level_r7.label);
|
|
47
71
|
} }
|
|
48
|
-
function
|
|
49
|
-
const
|
|
50
|
-
i0.ɵɵelementStart(0, "div",
|
|
72
|
+
function ShareModalComponent_Conditional_0_For_11_Conditional_8_Template(rf, ctx) { if (rf & 1) {
|
|
73
|
+
const _r5 = i0.ɵɵgetCurrentView();
|
|
74
|
+
i0.ɵɵelementStart(0, "div", 24)(1, "select", 26);
|
|
75
|
+
i0.ɵɵlistener("ngModelChange", function ShareModalComponent_Conditional_0_For_11_Conditional_8_Template_select_ngModelChange_1_listener($event) { i0.ɵɵrestoreView(_r5); const permission_r6 = i0.ɵɵnextContext().$implicit; const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onAccessLevelChange(permission_r6, $event)); });
|
|
76
|
+
i0.ɵɵrepeaterCreate(2, ShareModalComponent_Conditional_0_For_11_Conditional_8_For_3_Template, 2, 2, "option", 27, _forTrack0);
|
|
77
|
+
i0.ɵɵelementEnd();
|
|
78
|
+
i0.ɵɵelementStart(4, "button", 28);
|
|
79
|
+
i0.ɵɵlistener("click", function ShareModalComponent_Conditional_0_For_11_Conditional_8_Template_button_click_4_listener() { i0.ɵɵrestoreView(_r5); const permission_r6 = i0.ɵɵnextContext().$implicit; const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onRemoveUser(permission_r6)); });
|
|
80
|
+
i0.ɵɵelement(5, "i", 29);
|
|
81
|
+
i0.ɵɵelementEnd()();
|
|
82
|
+
} if (rf & 2) {
|
|
83
|
+
const permission_r6 = i0.ɵɵnextContext().$implicit;
|
|
84
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
85
|
+
i0.ɵɵadvance();
|
|
86
|
+
i0.ɵɵproperty("ngModel", permission_r6.permissionLevel);
|
|
87
|
+
i0.ɵɵadvance();
|
|
88
|
+
i0.ɵɵrepeater(ctx_r1.accessLevels);
|
|
89
|
+
} }
|
|
90
|
+
function ShareModalComponent_Conditional_0_For_11_Conditional_9_Template(rf, ctx) { if (rf & 1) {
|
|
91
|
+
i0.ɵɵelementStart(0, "span", 25);
|
|
92
|
+
i0.ɵɵtext(1);
|
|
93
|
+
i0.ɵɵelementEnd();
|
|
94
|
+
} if (rf & 2) {
|
|
95
|
+
const permission_r6 = i0.ɵɵnextContext().$implicit;
|
|
96
|
+
i0.ɵɵadvance();
|
|
97
|
+
i0.ɵɵtextInterpolate(permission_r6.permissionLevel);
|
|
98
|
+
} }
|
|
99
|
+
function ShareModalComponent_Conditional_0_For_11_Template(rf, ctx) { if (rf & 1) {
|
|
100
|
+
i0.ɵɵelementStart(0, "div", 9)(1, "div", 19);
|
|
51
101
|
i0.ɵɵelement(2, "i", 20);
|
|
52
102
|
i0.ɵɵelementStart(3, "div", 21)(4, "div", 22);
|
|
53
103
|
i0.ɵɵtext(5);
|
|
@@ -55,94 +105,86 @@ function ShareModalComponent_Conditional_0_For_16_Template(rf, ctx) { if (rf & 1
|
|
|
55
105
|
i0.ɵɵelementStart(6, "div", 23);
|
|
56
106
|
i0.ɵɵtext(7);
|
|
57
107
|
i0.ɵɵelementEnd()()();
|
|
58
|
-
i0.ɵɵ
|
|
59
|
-
i0.ɵɵlistener("ngModelChange", function ShareModalComponent_Conditional_0_For_16_Template_select_ngModelChange_9_listener($event) { const permission_r5 = i0.ɵɵrestoreView(_r4).$implicit; const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onAccessLevelChange(permission_r5, $event)); });
|
|
60
|
-
i0.ɵɵrepeaterCreate(10, ShareModalComponent_Conditional_0_For_16_For_11_Template, 2, 2, "option", 26, _forTrack0);
|
|
108
|
+
i0.ɵɵconditionalCreate(8, ShareModalComponent_Conditional_0_For_11_Conditional_8_Template, 6, 1, "div", 24)(9, ShareModalComponent_Conditional_0_For_11_Conditional_9_Template, 2, 1, "span", 25);
|
|
61
109
|
i0.ɵɵelementEnd();
|
|
62
|
-
i0.ɵɵelementStart(12, "button", 27);
|
|
63
|
-
i0.ɵɵlistener("click", function ShareModalComponent_Conditional_0_For_16_Template_button_click_12_listener() { const permission_r5 = i0.ɵɵrestoreView(_r4).$implicit; const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onRemoveUser(permission_r5)); });
|
|
64
|
-
i0.ɵɵelement(13, "i", 28);
|
|
65
|
-
i0.ɵɵelementEnd()()();
|
|
66
110
|
} if (rf & 2) {
|
|
67
|
-
const
|
|
111
|
+
const permission_r6 = ctx.$implicit;
|
|
68
112
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
69
113
|
i0.ɵɵadvance(5);
|
|
70
|
-
i0.ɵɵtextInterpolate(
|
|
71
|
-
i0.ɵɵadvance(2);
|
|
72
|
-
i0.ɵɵtextInterpolate(permission_r5.userEmail);
|
|
114
|
+
i0.ɵɵtextInterpolate(permission_r6.userName);
|
|
73
115
|
i0.ɵɵadvance(2);
|
|
74
|
-
i0.ɵɵ
|
|
116
|
+
i0.ɵɵtextInterpolate(permission_r6.userEmail);
|
|
75
117
|
i0.ɵɵadvance();
|
|
76
|
-
i0.ɵɵ
|
|
118
|
+
i0.ɵɵconditional(ctx_r1.IsConversationOwner ? 8 : 9);
|
|
77
119
|
} }
|
|
78
|
-
function
|
|
79
|
-
const
|
|
80
|
-
i0.ɵɵelementStart(0, "div",
|
|
81
|
-
i0.ɵɵelement(1, "input",
|
|
82
|
-
i0.ɵɵelementStart(2, "button",
|
|
83
|
-
i0.ɵɵlistener("click", function
|
|
84
|
-
i0.ɵɵelement(3, "i",
|
|
120
|
+
function ShareModalComponent_Conditional_0_Conditional_12_Conditional_7_Template(rf, ctx) { if (rf & 1) {
|
|
121
|
+
const _r9 = i0.ɵɵgetCurrentView();
|
|
122
|
+
i0.ɵɵelementStart(0, "div", 31);
|
|
123
|
+
i0.ɵɵelement(1, "input", 32);
|
|
124
|
+
i0.ɵɵelementStart(2, "button", 33);
|
|
125
|
+
i0.ɵɵlistener("click", function ShareModalComponent_Conditional_0_Conditional_12_Conditional_7_Template_button_click_2_listener() { i0.ɵɵrestoreView(_r9); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.onCopyLink()); });
|
|
126
|
+
i0.ɵɵelement(3, "i", 34);
|
|
85
127
|
i0.ɵɵtext(4, " Copy ");
|
|
86
128
|
i0.ɵɵelementEnd()();
|
|
87
129
|
} if (rf & 2) {
|
|
88
|
-
const ctx_r1 = i0.ɵɵnextContext(
|
|
130
|
+
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
89
131
|
i0.ɵɵadvance();
|
|
90
132
|
i0.ɵɵproperty("value", ctx_r1.shareLink);
|
|
91
133
|
} }
|
|
134
|
+
function ShareModalComponent_Conditional_0_Conditional_12_Template(rf, ctx) { if (rf & 1) {
|
|
135
|
+
const _r8 = i0.ɵɵgetCurrentView();
|
|
136
|
+
i0.ɵɵelementStart(0, "div", 10)(1, "h4");
|
|
137
|
+
i0.ɵɵtext(2, "Share Link");
|
|
138
|
+
i0.ɵɵelementEnd();
|
|
139
|
+
i0.ɵɵelementStart(3, "div", 30)(4, "input", 13);
|
|
140
|
+
i0.ɵɵtwoWayListener("ngModelChange", function ShareModalComponent_Conditional_0_Conditional_12_Template_input_ngModelChange_4_listener($event) { i0.ɵɵrestoreView(_r8); const ctx_r1 = i0.ɵɵnextContext(2); i0.ɵɵtwoWayBindingSet(ctx_r1.isPublicLink, $event) || (ctx_r1.isPublicLink = $event); return i0.ɵɵresetView($event); });
|
|
141
|
+
i0.ɵɵlistener("ngModelChange", function ShareModalComponent_Conditional_0_Conditional_12_Template_input_ngModelChange_4_listener() { i0.ɵɵrestoreView(_r8); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onTogglePublicLink()); });
|
|
142
|
+
i0.ɵɵelementEnd();
|
|
143
|
+
i0.ɵɵelementStart(5, "label");
|
|
144
|
+
i0.ɵɵtext(6, "Anyone with the link can view");
|
|
145
|
+
i0.ɵɵelementEnd()();
|
|
146
|
+
i0.ɵɵconditionalCreate(7, ShareModalComponent_Conditional_0_Conditional_12_Conditional_7_Template, 5, 1, "div", 31);
|
|
147
|
+
i0.ɵɵelementEnd();
|
|
148
|
+
} if (rf & 2) {
|
|
149
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
150
|
+
i0.ɵɵadvance(4);
|
|
151
|
+
i0.ɵɵtwoWayProperty("ngModel", ctx_r1.isPublicLink);
|
|
152
|
+
i0.ɵɵadvance(3);
|
|
153
|
+
i0.ɵɵconditional(ctx_r1.isPublicLink ? 7 : -1);
|
|
154
|
+
} }
|
|
92
155
|
function ShareModalComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
93
156
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
94
157
|
i0.ɵɵelementStart(0, "mj-dialog", 1);
|
|
95
158
|
i0.ɵɵlistener("Close", function ShareModalComponent_Conditional_0_Template_mj_dialog_Close_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onClose()); });
|
|
96
159
|
i0.ɵɵelementStart(1, "div", 2);
|
|
97
160
|
i0.ɵɵconditionalCreate(2, ShareModalComponent_Conditional_0_Conditional_2_Template, 9, 2, "div", 3);
|
|
98
|
-
i0.ɵɵ
|
|
99
|
-
i0.ɵɵ
|
|
161
|
+
i0.ɵɵconditionalCreate(3, ShareModalComponent_Conditional_0_Conditional_3_Template, 7, 1, "div", 4)(4, ShareModalComponent_Conditional_0_Conditional_4_Template, 4, 0, "div", 5);
|
|
162
|
+
i0.ɵɵelementStart(5, "div", 6)(6, "h4");
|
|
163
|
+
i0.ɵɵtext(7, "People with Access");
|
|
100
164
|
i0.ɵɵelementEnd();
|
|
101
|
-
i0.ɵɵelementStart(
|
|
102
|
-
i0.ɵɵ
|
|
103
|
-
i0.ɵɵ
|
|
104
|
-
i0.ɵɵelementStart(8, "button", 7);
|
|
105
|
-
i0.ɵɵlistener("click", function ShareModalComponent_Conditional_0_Template_button_click_8_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onAddUser()); });
|
|
106
|
-
i0.ɵɵtext(9, " Add ");
|
|
107
|
-
i0.ɵɵelementEnd()()();
|
|
108
|
-
i0.ɵɵelementStart(10, "div", 8)(11, "h4");
|
|
109
|
-
i0.ɵɵtext(12, "People with Access");
|
|
110
|
-
i0.ɵɵelementEnd();
|
|
111
|
-
i0.ɵɵelementStart(13, "div", 9);
|
|
112
|
-
i0.ɵɵconditionalCreate(14, ShareModalComponent_Conditional_0_Conditional_14_Template, 1, 0, "mj-empty-state", 10);
|
|
113
|
-
i0.ɵɵrepeaterCreate(15, ShareModalComponent_Conditional_0_For_16_Template, 14, 3, "div", 11, i0.ɵɵrepeaterTrackByIdentity);
|
|
165
|
+
i0.ɵɵelementStart(8, "div", 7);
|
|
166
|
+
i0.ɵɵconditionalCreate(9, ShareModalComponent_Conditional_0_Conditional_9_Template, 1, 0, "mj-empty-state", 8);
|
|
167
|
+
i0.ɵɵrepeaterCreate(10, ShareModalComponent_Conditional_0_For_11_Template, 10, 3, "div", 9, i0.ɵɵrepeaterTrackByIdentity);
|
|
114
168
|
i0.ɵɵelementEnd()();
|
|
115
|
-
i0.ɵɵ
|
|
116
|
-
i0.ɵɵtext(19, "Share Link");
|
|
169
|
+
i0.ɵɵconditionalCreate(12, ShareModalComponent_Conditional_0_Conditional_12_Template, 8, 2, "div", 10);
|
|
117
170
|
i0.ɵɵelementEnd();
|
|
118
|
-
i0.ɵɵelementStart(
|
|
119
|
-
i0.ɵɵ
|
|
120
|
-
i0.ɵɵ
|
|
121
|
-
i0.ɵɵelementEnd();
|
|
122
|
-
i0.ɵɵelementStart(22, "label");
|
|
123
|
-
i0.ɵɵtext(23, "Anyone with the link can view");
|
|
124
|
-
i0.ɵɵelementEnd()();
|
|
125
|
-
i0.ɵɵconditionalCreate(24, ShareModalComponent_Conditional_0_Conditional_24_Template, 5, 1, "div", 15);
|
|
126
|
-
i0.ɵɵelementEnd()();
|
|
127
|
-
i0.ɵɵelementStart(25, "mj-dialog-actions")(26, "button", 16);
|
|
128
|
-
i0.ɵɵlistener("click", function ShareModalComponent_Conditional_0_Template_button_click_26_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onClose()); });
|
|
129
|
-
i0.ɵɵtext(27, "Close");
|
|
171
|
+
i0.ɵɵelementStart(13, "mj-dialog-actions")(14, "button", 11);
|
|
172
|
+
i0.ɵɵlistener("click", function ShareModalComponent_Conditional_0_Template_button_click_14_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onClose()); });
|
|
173
|
+
i0.ɵɵtext(15, "Close");
|
|
130
174
|
i0.ɵɵelementEnd()()();
|
|
131
175
|
} if (rf & 2) {
|
|
132
176
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
133
177
|
i0.ɵɵproperty("Title", "Share: " + (ctx_r1.conversation.Name || ""))("Width", 500)("Height", 600)("Visible", true);
|
|
134
178
|
i0.ɵɵadvance(2);
|
|
135
179
|
i0.ɵɵconditional((ctx_r1.conversation == null ? null : ctx_r1.conversation.ProjectID) && ctx_r1.IsConversationOwner ? 2 : -1);
|
|
136
|
-
i0.ɵɵadvance(5);
|
|
137
|
-
i0.ɵɵtwoWayProperty("ngModel", ctx_r1.newUserEmail);
|
|
138
|
-
i0.ɵɵadvance(7);
|
|
139
|
-
i0.ɵɵconditional(ctx_r1.permissions.length === 0 ? 14 : -1);
|
|
140
180
|
i0.ɵɵadvance();
|
|
141
|
-
i0.ɵɵ
|
|
181
|
+
i0.ɵɵconditional(ctx_r1.IsConversationOwner ? 3 : 4);
|
|
142
182
|
i0.ɵɵadvance(6);
|
|
143
|
-
i0.ɵɵ
|
|
144
|
-
i0.ɵɵadvance(
|
|
145
|
-
i0.ɵɵ
|
|
183
|
+
i0.ɵɵconditional(ctx_r1.permissions.length === 0 ? 9 : -1);
|
|
184
|
+
i0.ɵɵadvance();
|
|
185
|
+
i0.ɵɵrepeater(ctx_r1.permissions);
|
|
186
|
+
i0.ɵɵadvance(2);
|
|
187
|
+
i0.ɵɵconditional(ctx_r1.IsConversationOwner ? 12 : -1);
|
|
146
188
|
} }
|
|
147
189
|
export class ShareModalComponent extends BaseAngularComponent {
|
|
148
190
|
dialogService;
|
|
@@ -223,8 +265,7 @@ export class ShareModalComponent extends BaseAngularComponent {
|
|
|
223
265
|
InheritFolderAccess = false;
|
|
224
266
|
AccessLevels = [
|
|
225
267
|
{ label: 'Can View', value: 'View' },
|
|
226
|
-
{ label: 'Can Edit', value: 'Edit' }
|
|
227
|
-
{ label: 'Owner', value: 'Owner' }
|
|
268
|
+
{ label: 'Can Edit', value: 'Edit' }
|
|
228
269
|
];
|
|
229
270
|
/** @deprecated Use {@link AccessLevels}. */
|
|
230
271
|
get accessLevels() {
|
|
@@ -508,11 +549,11 @@ export class ShareModalComponent extends BaseAngularComponent {
|
|
|
508
549
|
return this.OnClose();
|
|
509
550
|
}
|
|
510
551
|
static ɵfac = function ShareModalComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ShareModalComponent)(i0.ɵɵdirectiveInject(i1.DialogService), i0.ɵɵdirectiveInject(i2.ToastService), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
|
|
511
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ShareModalComponent, selectors: [["mj-share-modal"]], inputs: { Conversation: "Conversation", conversation: "conversation", CurrentUser: "CurrentUser", currentUser: "currentUser", IsOpen: "IsOpen", isOpen: "isOpen" }, outputs: { Closed: "Closed", closed: "closed" }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [[3, "Title", "Width", "Height", "Visible"], [3, "Close", "Title", "Width", "Height", "Visible"], [1, "share-content"], [1, "folder-inheritance-section"], [1, "add-user-section"], [
|
|
512
|
-
i0.ɵɵconditionalCreate(0, ShareModalComponent_Conditional_0_Template,
|
|
552
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ShareModalComponent, selectors: [["mj-share-modal"]], inputs: { Conversation: "Conversation", conversation: "conversation", CurrentUser: "CurrentUser", currentUser: "currentUser", IsOpen: "IsOpen", isOpen: "isOpen" }, outputs: { Closed: "Closed", closed: "closed" }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [[3, "Title", "Width", "Height", "Visible"], [3, "Close", "Title", "Width", "Height", "Visible"], [1, "share-content"], [1, "folder-inheritance-section"], [1, "add-user-section"], ["data-testid", "share-modal-owner-only-notice", 1, "owner-only-notice"], [1, "permissions-section"], [1, "permission-list"], ["Icon", "fa-solid fa-user-group", "Title", "No one has been given access yet", "Size", "compact"], [1, "permission-item"], [1, "link-section"], ["mjButton", "", 3, "click"], [1, "folder-inheritance-toggle"], ["type", "checkbox", 3, "ngModelChange", "ngModel"], [1, "folder-inheritance-hint"], [1, "add-user-form"], ["type", "text", "placeholder", "Enter email address", 1, "mj-textbox", 2, "flex", "1", 3, "ngModelChange", "ngModel"], ["mjButton", "", "variant", "primary", 3, "click"], [1, "fas", "fa-lock"], [1, "user-info"], [1, "fas", "fa-user-circle"], [1, "user-details"], [1, "user-name"], [1, "user-email"], [1, "permission-controls"], [1, "permission-readonly-badge"], [1, "mj-select", 2, "width", "120px", 3, "ngModelChange", "ngModel"], [3, "value"], ["title", "Remove access", 1, "btn-remove", 3, "click"], [1, "fas", "fa-times"], [1, "link-controls"], [1, "link-display"], ["type", "text", "readonly", "", 1, "mj-textbox", 2, "flex", "1", 3, "value"], ["mjButton", "", "variant", "flat", 3, "click"], [1, "fas", "fa-copy"]], template: function ShareModalComponent_Template(rf, ctx) { if (rf & 1) {
|
|
553
|
+
i0.ɵɵconditionalCreate(0, ShareModalComponent_Conditional_0_Template, 16, 8, "mj-dialog", 0);
|
|
513
554
|
} if (rf & 2) {
|
|
514
555
|
i0.ɵɵconditional(ctx.isOpen ? 0 : -1);
|
|
515
|
-
} }, dependencies: [i3.NgSelectOption, i3.ɵNgSelectMultipleOption, i3.DefaultValueAccessor, i3.CheckboxControlValueAccessor, i3.SelectControlValueAccessor, i3.NgControlStatus, i3.NgModel, i4.MJButtonDirective, i4.MJDialogComponent, i4.MJDialogActionsComponent, i4.MJEmptyStateComponent], styles: [".share-content[_ngcontent-%COMP%] { display: flex; flex-direction: column; gap: 24px; }\n\n .folder-inheritance-section[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], \n .add-user-section[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], \n .permissions-section[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], \n .link-section[_ngcontent-%COMP%] h4[_ngcontent-%COMP%] { margin: 0 0 12px 0; font-size: 14px; font-weight: 600; }\n\n .folder-inheritance-toggle[_ngcontent-%COMP%] { display: flex; align-items: center; gap: 8px; font-size: 13px; cursor: pointer; }\n .folder-inheritance-hint[_ngcontent-%COMP%] { margin: 6px 0 0 0; font-size: 12px; color:
|
|
556
|
+
} }, dependencies: [i3.NgSelectOption, i3.ɵNgSelectMultipleOption, i3.DefaultValueAccessor, i3.CheckboxControlValueAccessor, i3.SelectControlValueAccessor, i3.NgControlStatus, i3.NgModel, i4.MJButtonDirective, i4.MJDialogComponent, i4.MJDialogActionsComponent, i4.MJEmptyStateComponent], styles: [".share-content[_ngcontent-%COMP%] { display: flex; flex-direction: column; gap: 24px; }\n\n .folder-inheritance-section[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], \n .add-user-section[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], \n .permissions-section[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], \n .link-section[_ngcontent-%COMP%] h4[_ngcontent-%COMP%] { margin: 0 0 12px 0; font-size: 14px; font-weight: 600; color: var(--mj-text-primary); }\n\n .folder-inheritance-toggle[_ngcontent-%COMP%] { display: flex; align-items: center; gap: 8px; font-size: 13px; cursor: pointer; }\n .folder-inheritance-hint[_ngcontent-%COMP%] { margin: 6px 0 0 0; font-size: 12px; color: var(--mj-text-secondary); line-height: 1.4; }\n .owner-only-notice[_ngcontent-%COMP%] { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 6px; background: var(--mj-bg-surface-sunken); border: 1px solid var(--mj-border-default); color: var(--mj-text-secondary); font-size: 13px; }\n .permission-readonly-badge[_ngcontent-%COMP%] { font-size: 12px; font-weight: 500; padding: 4px 10px; border-radius: 999px; background: var(--mj-bg-surface-sunken); color: var(--mj-text-secondary); }\n\n .add-user-form[_ngcontent-%COMP%] { display: flex; gap: 8px; }\n\n .permission-list[_ngcontent-%COMP%] { border: 1px solid var(--mj-border-default); border-radius: 4px; max-height: 300px; overflow-y: auto; }\n .permission-item[_ngcontent-%COMP%] { padding: 12px; border-bottom: 1px solid var(--mj-border-subtle); display: flex; justify-content: space-between; align-items: center; }\n .permission-item[_ngcontent-%COMP%]:last-child { border-bottom: none; }\n\n .user-info[_ngcontent-%COMP%] { display: flex; align-items: center; gap: 12px; flex: 1; }\n .user-info[_ngcontent-%COMP%] i[_ngcontent-%COMP%] { font-size: 32px; color: var(--mj-text-muted); }\n .user-details[_ngcontent-%COMP%] { display: flex; flex-direction: column; }\n .user-name[_ngcontent-%COMP%] { font-size: 14px; font-weight: 500; color: var(--mj-text-primary); }\n .user-email[_ngcontent-%COMP%] { font-size: 12px; color: var(--mj-text-secondary); }\n\n .permission-controls[_ngcontent-%COMP%] { display: flex; align-items: center; gap: 8px; }\n .btn-remove[_ngcontent-%COMP%] { padding: 6px 8px; background: transparent; border: none; cursor: pointer; border-radius: 3px; color: var(--mj-text-muted); }\n .btn-remove[_ngcontent-%COMP%]:hover { background: color-mix(in srgb, var(--mj-status-error) 12%, transparent); color: var(--mj-status-error); }\n\n .link-controls[_ngcontent-%COMP%] { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }\n .link-controls[_ngcontent-%COMP%] label[_ngcontent-%COMP%] { font-size: 13px; }\n\n .link-display[_ngcontent-%COMP%] { display: flex; gap: 8px; }"] });
|
|
516
557
|
}
|
|
517
558
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ShareModalComponent, [{
|
|
518
559
|
type: Component,
|
|
@@ -542,20 +583,27 @@ export class ShareModalComponent extends BaseAngularComponent {
|
|
|
542
583
|
</p>
|
|
543
584
|
</div>
|
|
544
585
|
}
|
|
545
|
-
|
|
546
|
-
<
|
|
547
|
-
|
|
548
|
-
<
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
586
|
+
@if (IsConversationOwner) {
|
|
587
|
+
<div class="add-user-section">
|
|
588
|
+
<h4>Add People</h4>
|
|
589
|
+
<div class="add-user-form">
|
|
590
|
+
<input
|
|
591
|
+
type="text"
|
|
592
|
+
[(ngModel)]="newUserEmail"
|
|
593
|
+
placeholder="Enter email address"
|
|
594
|
+
class="mj-textbox"
|
|
595
|
+
style="flex: 1;">
|
|
596
|
+
<button mjButton variant="primary" (click)="onAddUser()">
|
|
597
|
+
Add
|
|
598
|
+
</button>
|
|
599
|
+
</div>
|
|
557
600
|
</div>
|
|
558
|
-
|
|
601
|
+
} @else {
|
|
602
|
+
<div class="owner-only-notice" data-testid="share-modal-owner-only-notice">
|
|
603
|
+
<i class="fas fa-lock"></i>
|
|
604
|
+
<span>Only the conversation owner can share or revoke access for this conversation.</span>
|
|
605
|
+
</div>
|
|
606
|
+
}
|
|
559
607
|
<div class="permissions-section">
|
|
560
608
|
<h4>People with Access</h4>
|
|
561
609
|
<div class="permission-list">
|
|
@@ -574,56 +622,62 @@ export class ShareModalComponent extends BaseAngularComponent {
|
|
|
574
622
|
<div class="user-email">{{ permission.userEmail }}</div>
|
|
575
623
|
</div>
|
|
576
624
|
</div>
|
|
577
|
-
|
|
578
|
-
<
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
625
|
+
@if (IsConversationOwner) {
|
|
626
|
+
<div class="permission-controls">
|
|
627
|
+
<select
|
|
628
|
+
[ngModel]="permission.permissionLevel"
|
|
629
|
+
(ngModelChange)="onAccessLevelChange(permission, $event)"
|
|
630
|
+
style="width: 120px;" class="mj-select">
|
|
631
|
+
@for (level of accessLevels; track level.value) {
|
|
632
|
+
<option [value]="level.value">{{ level.label }}</option>
|
|
633
|
+
}
|
|
634
|
+
</select>
|
|
635
|
+
<button
|
|
636
|
+
class="btn-remove"
|
|
637
|
+
(click)="onRemoveUser(permission)"
|
|
638
|
+
title="Remove access">
|
|
639
|
+
<i class="fas fa-times"></i>
|
|
640
|
+
</button>
|
|
641
|
+
</div>
|
|
642
|
+
} @else {
|
|
643
|
+
<span class="permission-readonly-badge">{{ permission.permissionLevel }}</span>
|
|
644
|
+
}
|
|
593
645
|
</div>
|
|
594
646
|
}
|
|
595
647
|
</div>
|
|
596
648
|
</div>
|
|
597
|
-
|
|
598
|
-
<
|
|
599
|
-
|
|
600
|
-
<
|
|
601
|
-
type="checkbox"
|
|
602
|
-
[(ngModel)]="isPublicLink"
|
|
603
|
-
(ngModelChange)="onTogglePublicLink()">
|
|
604
|
-
<label>Anyone with the link can view</label>
|
|
605
|
-
</div>
|
|
606
|
-
@if (isPublicLink) {
|
|
607
|
-
<div class="link-display">
|
|
649
|
+
@if (IsConversationOwner) {
|
|
650
|
+
<div class="link-section">
|
|
651
|
+
<h4>Share Link</h4>
|
|
652
|
+
<div class="link-controls">
|
|
608
653
|
<input
|
|
609
|
-
type="
|
|
610
|
-
[
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
style="flex: 1;">
|
|
614
|
-
<button mjButton variant="flat" (click)="onCopyLink()">
|
|
615
|
-
<i class="fas fa-copy"></i> Copy
|
|
616
|
-
</button>
|
|
654
|
+
type="checkbox"
|
|
655
|
+
[(ngModel)]="isPublicLink"
|
|
656
|
+
(ngModelChange)="onTogglePublicLink()">
|
|
657
|
+
<label>Anyone with the link can view</label>
|
|
617
658
|
</div>
|
|
618
|
-
|
|
619
|
-
|
|
659
|
+
@if (isPublicLink) {
|
|
660
|
+
<div class="link-display">
|
|
661
|
+
<input
|
|
662
|
+
type="text"
|
|
663
|
+
[value]="shareLink"
|
|
664
|
+
readonly
|
|
665
|
+
class="mj-textbox"
|
|
666
|
+
style="flex: 1;">
|
|
667
|
+
<button mjButton variant="flat" (click)="onCopyLink()">
|
|
668
|
+
<i class="fas fa-copy"></i> Copy
|
|
669
|
+
</button>
|
|
670
|
+
</div>
|
|
671
|
+
}
|
|
672
|
+
</div>
|
|
673
|
+
}
|
|
620
674
|
</div>
|
|
621
675
|
<mj-dialog-actions>
|
|
622
676
|
<button mjButton (click)="onClose()">Close</button>
|
|
623
677
|
</mj-dialog-actions>
|
|
624
678
|
</mj-dialog>
|
|
625
679
|
}
|
|
626
|
-
`, styles: ["\n .share-content { display: flex; flex-direction: column; gap: 24px; }\n\n .folder-inheritance-section h4,\n .add-user-section h4,\n .permissions-section h4,\n .link-section h4 { margin: 0 0 12px 0; font-size: 14px; font-weight: 600; }\n\n .folder-inheritance-toggle { display: flex; align-items: center; gap: 8px; font-size: 13px; cursor: pointer; }\n .folder-inheritance-hint { margin: 6px 0 0 0; font-size: 12px; color:
|
|
680
|
+
`, styles: ["\n .share-content { display: flex; flex-direction: column; gap: 24px; }\n\n .folder-inheritance-section h4,\n .add-user-section h4,\n .permissions-section h4,\n .link-section h4 { margin: 0 0 12px 0; font-size: 14px; font-weight: 600; color: var(--mj-text-primary); }\n\n .folder-inheritance-toggle { display: flex; align-items: center; gap: 8px; font-size: 13px; cursor: pointer; }\n .folder-inheritance-hint { margin: 6px 0 0 0; font-size: 12px; color: var(--mj-text-secondary); line-height: 1.4; }\n .owner-only-notice { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 6px; background: var(--mj-bg-surface-sunken); border: 1px solid var(--mj-border-default); color: var(--mj-text-secondary); font-size: 13px; }\n .permission-readonly-badge { font-size: 12px; font-weight: 500; padding: 4px 10px; border-radius: 999px; background: var(--mj-bg-surface-sunken); color: var(--mj-text-secondary); }\n\n .add-user-form { display: flex; gap: 8px; }\n\n .permission-list { border: 1px solid var(--mj-border-default); border-radius: 4px; max-height: 300px; overflow-y: auto; }\n .permission-item { padding: 12px; border-bottom: 1px solid var(--mj-border-subtle); display: flex; justify-content: space-between; align-items: center; }\n .permission-item:last-child { border-bottom: none; }\n\n .user-info { display: flex; align-items: center; gap: 12px; flex: 1; }\n .user-info i { font-size: 32px; color: var(--mj-text-muted); }\n .user-details { display: flex; flex-direction: column; }\n .user-name { font-size: 14px; font-weight: 500; color: var(--mj-text-primary); }\n .user-email { font-size: 12px; color: var(--mj-text-secondary); }\n\n .permission-controls { display: flex; align-items: center; gap: 8px; }\n .btn-remove { padding: 6px 8px; background: transparent; border: none; cursor: pointer; border-radius: 3px; color: var(--mj-text-muted); }\n .btn-remove:hover { background: color-mix(in srgb, var(--mj-status-error) 12%, transparent); color: var(--mj-status-error); }\n\n .link-controls { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }\n .link-controls label { font-size: 13px; }\n\n .link-display { display: flex; gap: 8px; }\n "] }]
|
|
627
681
|
}], () => [{ type: i1.DialogService }, { type: i2.ToastService }, { type: i0.ChangeDetectorRef }], { Conversation: [{
|
|
628
682
|
type: Input
|
|
629
683
|
}], conversation: [{
|
|
@@ -641,5 +695,5 @@ export class ShareModalComponent extends BaseAngularComponent {
|
|
|
641
695
|
}], closed: [{
|
|
642
696
|
type: Output
|
|
643
697
|
}] }); })();
|
|
644
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ShareModalComponent, { className: "ShareModalComponent", filePath: "src/lib/components/share/share-modal.component.ts", lineNumber:
|
|
698
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ShareModalComponent, { className: "ShareModalComponent", filePath: "src/lib/components/share/share-modal.component.ts", lineNumber: 184 }); })();
|
|
645
699
|
//# sourceMappingURL=share-modal.component.js.map
|