@memberjunction/ng-conversations 6.2.0-edge.0 → 6.2.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 +43 -2
- package/dist/lib/components/active-tasks/active-tasks-panel.component.d.ts +19 -3
- 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 +39 -7
- 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 +74 -6
- package/dist/lib/components/agent/active-agent-indicator.component.d.ts.map +1 -1
- package/dist/lib/components/agent/active-agent-indicator.component.js +111 -21
- package/dist/lib/components/agent/active-agent-indicator.component.js.map +1 -1
- package/dist/lib/components/agent/agent-process-panel.component.d.ts +31 -5
- package/dist/lib/components/agent/agent-process-panel.component.d.ts.map +1 -1
- package/dist/lib/components/agent/agent-process-panel.component.js +71 -15
- package/dist/lib/components/agent/agent-process-panel.component.js.map +1 -1
- package/dist/lib/components/artifact/artifact-share-modal.component.d.ts +65 -9
- package/dist/lib/components/artifact/artifact-share-modal.component.d.ts.map +1 -1
- package/dist/lib/components/artifact/artifact-share-modal.component.js +169 -57
- package/dist/lib/components/artifact/artifact-share-modal.component.js.map +1 -1
- package/dist/lib/components/attachment/image-viewer.component.d.ts +77 -11
- package/dist/lib/components/attachment/image-viewer.component.d.ts.map +1 -1
- package/dist/lib/components/attachment/image-viewer.component.js +181 -47
- package/dist/lib/components/attachment/image-viewer.component.js.map +1 -1
- package/dist/lib/components/collection/artifact-collection-picker-modal.component.d.ts +129 -19
- 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 +350 -116
- 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 +60 -8
- package/dist/lib/components/collection/artifact-create-modal.component.d.ts.map +1 -1
- package/dist/lib/components/collection/artifact-create-modal.component.js +130 -46
- package/dist/lib/components/collection/artifact-create-modal.component.js.map +1 -1
- package/dist/lib/components/collection/collection-artifact-card.component.d.ts +63 -3
- package/dist/lib/components/collection/collection-artifact-card.component.d.ts.map +1 -1
- package/dist/lib/components/collection/collection-artifact-card.component.js +113 -19
- package/dist/lib/components/collection/collection-artifact-card.component.js.map +1 -1
- package/dist/lib/components/collection/collection-form-modal.component.d.ts +54 -8
- package/dist/lib/components/collection/collection-form-modal.component.d.ts.map +1 -1
- package/dist/lib/components/collection/collection-form-modal.component.js +130 -46
- package/dist/lib/components/collection/collection-form-modal.component.js.map +1 -1
- package/dist/lib/components/collection/collection-share-modal.component.d.ts +70 -10
- package/dist/lib/components/collection/collection-share-modal.component.d.ts.map +1 -1
- package/dist/lib/components/collection/collection-share-modal.component.js +175 -53
- package/dist/lib/components/collection/collection-share-modal.component.js.map +1 -1
- package/dist/lib/components/collection/collection-tree.component.d.ts +89 -9
- package/dist/lib/components/collection/collection-tree.component.d.ts.map +1 -1
- package/dist/lib/components/collection/collection-tree.component.js +220 -70
- package/dist/lib/components/collection/collection-tree.component.js.map +1 -1
- package/dist/lib/components/collection/collection-view.component.d.ts +89 -11
- package/dist/lib/components/collection/collection-view.component.d.ts.map +1 -1
- package/dist/lib/components/collection/collection-view.component.js +154 -40
- package/dist/lib/components/collection/collection-view.component.js.map +1 -1
- package/dist/lib/components/collection/collections-full-view.component.d.ts +390 -38
- package/dist/lib/components/collection/collections-full-view.component.d.ts.map +1 -1
- package/dist/lib/components/collection/collections-full-view.component.js +951 -367
- package/dist/lib/components/collection/collections-full-view.component.js.map +1 -1
- package/dist/lib/components/composer/ai-composer.component.d.ts +213 -18
- package/dist/lib/components/composer/ai-composer.component.d.ts.map +1 -1
- package/dist/lib/components/composer/ai-composer.component.js +388 -44
- package/dist/lib/components/composer/ai-composer.component.js.map +1 -1
- package/dist/lib/components/conversation/conversation-agent-picker.component.d.ts +12 -1
- package/dist/lib/components/conversation/conversation-agent-picker.component.d.ts.map +1 -1
- package/dist/lib/components/conversation/conversation-agent-picker.component.js +26 -4
- package/dist/lib/components/conversation/conversation-agent-picker.component.js.map +1 -1
- package/dist/lib/components/conversation/conversation-chat-area.component.d.ts +1191 -124
- package/dist/lib/components/conversation/conversation-chat-area.component.d.ts.map +1 -1
- package/dist/lib/components/conversation/conversation-chat-area.component.js +2816 -785
- package/dist/lib/components/conversation/conversation-chat-area.component.js.map +1 -1
- package/dist/lib/components/conversation/conversation-empty-state.component.d.ts +139 -19
- package/dist/lib/components/conversation/conversation-empty-state.component.d.ts.map +1 -1
- package/dist/lib/components/conversation/conversation-empty-state.component.js +296 -59
- package/dist/lib/components/conversation/conversation-empty-state.component.js.map +1 -1
- package/dist/lib/components/conversation/conversation-list.component.d.ts +579 -78
- package/dist/lib/components/conversation/conversation-list.component.d.ts.map +1 -1
- package/dist/lib/components/conversation/conversation-list.component.js +2322 -823
- package/dist/lib/components/conversation/conversation-list.component.js.map +1 -1
- package/dist/lib/components/conversation/pinned-messages-panel.component.d.ts +42 -4
- package/dist/lib/components/conversation/pinned-messages-panel.component.d.ts.map +1 -1
- package/dist/lib/components/conversation/pinned-messages-panel.component.js +93 -21
- package/dist/lib/components/conversation/pinned-messages-panel.component.js.map +1 -1
- package/dist/lib/components/dialogs/input-dialog.component.d.ts +57 -11
- package/dist/lib/components/dialogs/input-dialog.component.d.ts.map +1 -1
- package/dist/lib/components/dialogs/input-dialog.component.js +128 -16
- package/dist/lib/components/dialogs/input-dialog.component.js.map +1 -1
- package/dist/lib/components/dialogs/rating-dialog.component.d.ts +68 -10
- package/dist/lib/components/dialogs/rating-dialog.component.d.ts.map +1 -1
- package/dist/lib/components/dialogs/rating-dialog.component.js +151 -27
- package/dist/lib/components/dialogs/rating-dialog.component.js.map +1 -1
- package/dist/lib/components/export/export-modal.component.d.ts +84 -10
- package/dist/lib/components/export/export-modal.component.d.ts.map +1 -1
- package/dist/lib/components/export/export-modal.component.js +173 -49
- package/dist/lib/components/export/export-modal.component.js.map +1 -1
- package/dist/lib/components/global-tasks/global-tasks-panel.component.d.ts +29 -3
- 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 +58 -12
- 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 +57 -8
- package/dist/lib/components/library/library-full-view.component.d.ts.map +1 -1
- package/dist/lib/components/library/library-full-view.component.js +119 -35
- package/dist/lib/components/library/library-full-view.component.js.map +1 -1
- package/dist/lib/components/members/members-modal.component.d.ts +76 -10
- package/dist/lib/components/members/members-modal.component.d.ts.map +1 -1
- package/dist/lib/components/members/members-modal.component.js +164 -50
- package/dist/lib/components/members/members-modal.component.js.map +1 -1
- package/dist/lib/components/message/actionable-commands.component.d.ts +49 -5
- package/dist/lib/components/message/actionable-commands.component.d.ts.map +1 -1
- package/dist/lib/components/message/actionable-commands.component.js +140 -26
- package/dist/lib/components/message/actionable-commands.component.js.map +1 -1
- package/dist/lib/components/message/conversation-message-rating.component.d.ts +46 -10
- package/dist/lib/components/message/conversation-message-rating.component.d.ts.map +1 -1
- package/dist/lib/components/message/conversation-message-rating.component.js +120 -36
- package/dist/lib/components/message/conversation-message-rating.component.js.map +1 -1
- package/dist/lib/components/message/message-input.component.d.ts +613 -74
- package/dist/lib/components/message/message-input.component.d.ts.map +1 -1
- package/dist/lib/components/message/message-input.component.js +1390 -422
- package/dist/lib/components/message/message-input.component.js.map +1 -1
- package/dist/lib/components/message/message-item.component.d.ts +490 -29
- package/dist/lib/components/message/message-item.component.d.ts.map +1 -1
- package/dist/lib/components/message/message-item.component.js +1088 -244
- package/dist/lib/components/message/message-item.component.js.map +1 -1
- package/dist/lib/components/message/message-list.component.d.ts +297 -29
- package/dist/lib/components/message/message-list.component.d.ts.map +1 -1
- package/dist/lib/components/message/message-list.component.js +598 -123
- package/dist/lib/components/message/message-list.component.js.map +1 -1
- package/dist/lib/components/navigation/conversation-navigation.component.d.ts +64 -5
- package/dist/lib/components/navigation/conversation-navigation.component.d.ts.map +1 -1
- package/dist/lib/components/navigation/conversation-navigation.component.js +101 -11
- package/dist/lib/components/navigation/conversation-navigation.component.js.map +1 -1
- package/dist/lib/components/notification/activity-indicator.component.d.ts +6 -2
- package/dist/lib/components/notification/activity-indicator.component.d.ts.map +1 -1
- package/dist/lib/components/notification/activity-indicator.component.js +13 -3
- package/dist/lib/components/notification/activity-indicator.component.js.map +1 -1
- package/dist/lib/components/notification/notification-badge.component.d.ts +15 -3
- package/dist/lib/components/notification/notification-badge.component.d.ts.map +1 -1
- package/dist/lib/components/notification/notification-badge.component.js +36 -8
- package/dist/lib/components/notification/notification-badge.component.js.map +1 -1
- package/dist/lib/components/overlay/chat-overlay.component.d.ts +1 -1
- package/dist/lib/components/overlay/chat-overlay.component.js +4 -4
- package/dist/lib/components/overlay/chat-overlay.component.js.map +1 -1
- package/dist/lib/components/project/project-form-modal.component.d.ts +93 -11
- package/dist/lib/components/project/project-form-modal.component.d.ts.map +1 -1
- package/dist/lib/components/project/project-form-modal.component.js +348 -87
- package/dist/lib/components/project/project-form-modal.component.js.map +1 -1
- package/dist/lib/components/project/project-selector.component.d.ts +78 -8
- package/dist/lib/components/project/project-selector.component.d.ts.map +1 -1
- package/dist/lib/components/project/project-selector.component.js +177 -46
- package/dist/lib/components/project/project-selector.component.js.map +1 -1
- package/dist/lib/components/realtime/realtime-activity-rail.component.d.ts +1 -1
- package/dist/lib/components/realtime/realtime-activity-rail.component.js +2 -2
- package/dist/lib/components/realtime/realtime-activity-rail.component.js.map +1 -1
- package/dist/lib/components/realtime/realtime-delegation-card.component.d.ts +1 -1
- package/dist/lib/components/realtime/realtime-delegation-card.component.js +2 -2
- package/dist/lib/components/realtime/realtime-delegation-card.component.js.map +1 -1
- package/dist/lib/components/realtime/realtime-session-overlay.component.d.ts +2 -2
- package/dist/lib/components/realtime/realtime-session-overlay.component.js +18 -18
- package/dist/lib/components/realtime/realtime-session-overlay.component.js.map +1 -1
- package/dist/lib/components/realtime/realtime-session-timeline-card.component.d.ts +47 -23
- package/dist/lib/components/realtime/realtime-session-timeline-card.component.d.ts.map +1 -1
- package/dist/lib/components/realtime/realtime-session-timeline-card.component.js +136 -92
- package/dist/lib/components/realtime/realtime-session-timeline-card.component.js.map +1 -1
- package/dist/lib/components/realtime/realtime-surface-tabs.component.d.ts +2 -2
- package/dist/lib/components/realtime/realtime-surface-tabs.component.js +4 -4
- package/dist/lib/components/realtime/realtime-surface-tabs.component.js.map +1 -1
- package/dist/lib/components/realtime/realtime-surface-tabs.model.d.ts +1 -1
- package/dist/lib/components/realtime/realtime-surface-tabs.model.js +3 -3
- package/dist/lib/components/realtime/realtime-surface-tabs.model.js.map +1 -1
- package/dist/lib/components/realtime/realtime-ui-config.d.ts +13 -11
- package/dist/lib/components/realtime/realtime-ui-config.d.ts.map +1 -1
- package/dist/lib/components/realtime/realtime-ui-config.js +29 -25
- package/dist/lib/components/realtime/realtime-ui-config.js.map +1 -1
- package/dist/lib/components/realtime/whiteboard/whiteboard-channel.d.ts +3 -1
- package/dist/lib/components/realtime/whiteboard/whiteboard-channel.d.ts.map +1 -1
- package/dist/lib/components/realtime/whiteboard/whiteboard-channel.js +6 -2
- package/dist/lib/components/realtime/whiteboard/whiteboard-channel.js.map +1 -1
- package/dist/lib/components/search/search-panel.component.d.ts +133 -22
- package/dist/lib/components/search/search-panel.component.d.ts.map +1 -1
- package/dist/lib/components/search/search-panel.component.js +312 -83
- package/dist/lib/components/search/search-panel.component.js.map +1 -1
- package/dist/lib/components/share/share-modal.component.d.ts +69 -9
- package/dist/lib/components/share/share-modal.component.d.ts.map +1 -1
- package/dist/lib/components/share/share-modal.component.js +139 -31
- package/dist/lib/components/share/share-modal.component.js.map +1 -1
- package/dist/lib/components/shared/user-picker.component.d.ts +48 -8
- package/dist/lib/components/shared/user-picker.component.d.ts.map +1 -1
- package/dist/lib/components/shared/user-picker.component.js +110 -30
- package/dist/lib/components/shared/user-picker.component.js.map +1 -1
- package/dist/lib/components/sidebar/conversation-sidebar.component.d.ts +114 -11
- package/dist/lib/components/sidebar/conversation-sidebar.component.d.ts.map +1 -1
- package/dist/lib/components/sidebar/conversation-sidebar.component.js +199 -21
- package/dist/lib/components/sidebar/conversation-sidebar.component.js.map +1 -1
- package/dist/lib/components/sidebar/routines-section.component.d.ts +20 -1
- package/dist/lib/components/sidebar/routines-section.component.d.ts.map +1 -1
- package/dist/lib/components/sidebar/routines-section.component.js +25 -5
- package/dist/lib/components/sidebar/routines-section.component.js.map +1 -1
- package/dist/lib/components/slots/slot-interfaces.d.ts +19 -0
- package/dist/lib/components/slots/slot-interfaces.d.ts.map +1 -1
- package/dist/lib/components/slots/slot-interfaces.js.map +1 -1
- package/dist/lib/components/task/tasks-full-view.component.d.ts +95 -13
- package/dist/lib/components/task/tasks-full-view.component.d.ts.map +1 -1
- package/dist/lib/components/task/tasks-full-view.component.js +223 -75
- package/dist/lib/components/task/tasks-full-view.component.js.map +1 -1
- package/dist/lib/components/tasks/task-widget.component.d.ts +46 -6
- package/dist/lib/components/tasks/task-widget.component.d.ts.map +1 -1
- package/dist/lib/components/tasks/task-widget.component.js +100 -16
- package/dist/lib/components/tasks/task-widget.component.js.map +1 -1
- package/dist/lib/components/tasks/tasks-dropdown.component.d.ts +64 -7
- package/dist/lib/components/tasks/tasks-dropdown.component.d.ts.map +1 -1
- package/dist/lib/components/tasks/tasks-dropdown.component.js +127 -27
- package/dist/lib/components/tasks/tasks-dropdown.component.js.map +1 -1
- package/dist/lib/components/thread/thread-panel.component.d.ts +66 -8
- package/dist/lib/components/thread/thread-panel.component.d.ts.map +1 -1
- package/dist/lib/components/thread/thread-panel.component.js +146 -36
- package/dist/lib/components/thread/thread-panel.component.js.map +1 -1
- package/dist/lib/components/toast/toast.component.d.ts +11 -1
- package/dist/lib/components/toast/toast.component.d.ts.map +1 -1
- package/dist/lib/components/toast/toast.component.js +25 -5
- package/dist/lib/components/toast/toast.component.js.map +1 -1
- package/dist/lib/components/workspace/conversation-workspace.component.d.ts +385 -42
- package/dist/lib/components/workspace/conversation-workspace.component.d.ts.map +1 -1
- package/dist/lib/components/workspace/conversation-workspace.component.js +891 -292
- package/dist/lib/components/workspace/conversation-workspace.component.js.map +1 -1
- package/dist/lib/composer-plugins/base-conversation-mention.provider.d.ts +8 -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 +8 -1
- package/dist/lib/composer-plugins/base-conversation-mention.provider.js.map +1 -1
- package/dist/lib/directives/chat-slot.directive.d.ts +5 -1
- package/dist/lib/directives/chat-slot.directive.d.ts.map +1 -1
- package/dist/lib/directives/chat-slot.directive.js.map +1 -1
- package/dist/lib/directives/search-shortcut.directive.d.ts +9 -1
- package/dist/lib/directives/search-shortcut.directive.d.ts.map +1 -1
- package/dist/lib/directives/search-shortcut.directive.js +14 -4
- package/dist/lib/directives/search-shortcut.directive.js.map +1 -1
- package/dist/lib/events/chat-events.d.ts +34 -7
- package/dist/lib/events/chat-events.d.ts.map +1 -1
- package/dist/lib/events/chat-events.js +37 -7
- package/dist/lib/events/chat-events.js.map +1 -1
- package/dist/lib/models/agent-turn.model.d.ts +113 -0
- package/dist/lib/models/agent-turn.model.d.ts.map +1 -0
- package/dist/lib/models/agent-turn.model.js +12 -0
- package/dist/lib/models/agent-turn.model.js.map +1 -0
- package/dist/lib/models/collection-view.model.js.map +1 -1
- package/dist/lib/models/conversation-state.model.d.ts +8 -0
- package/dist/lib/models/conversation-state.model.d.ts.map +1 -1
- package/dist/lib/models/conversation-state.model.js.map +1 -1
- package/dist/lib/models/lazy-artifact-info.d.ts +44 -12
- package/dist/lib/models/lazy-artifact-info.d.ts.map +1 -1
- package/dist/lib/models/lazy-artifact-info.js +98 -34
- package/dist/lib/models/lazy-artifact-info.js.map +1 -1
- package/dist/lib/services/active-tasks.service.d.ts +30 -4
- package/dist/lib/services/active-tasks.service.d.ts.map +1 -1
- package/dist/lib/services/active-tasks.service.js +71 -19
- package/dist/lib/services/active-tasks.service.js.map +1 -1
- package/dist/lib/services/agent-state.service.d.ts +17 -1
- package/dist/lib/services/agent-state.service.d.ts.map +1 -1
- package/dist/lib/services/agent-state.service.js +48 -16
- package/dist/lib/services/agent-state.service.js.map +1 -1
- package/dist/lib/services/artifact-permission.service.d.ts +39 -0
- package/dist/lib/services/artifact-permission.service.d.ts.map +1 -1
- package/dist/lib/services/artifact-permission.service.js +152 -17
- package/dist/lib/services/artifact-permission.service.js.map +1 -1
- package/dist/lib/services/artifact-state.service.d.ts +58 -5
- package/dist/lib/services/artifact-state.service.d.ts.map +1 -1
- package/dist/lib/services/artifact-state.service.js +135 -35
- package/dist/lib/services/artifact-state.service.js.map +1 -1
- package/dist/lib/services/collection-permission.service.d.ts +28 -0
- package/dist/lib/services/collection-permission.service.d.ts.map +1 -1
- package/dist/lib/services/collection-permission.service.js +88 -32
- package/dist/lib/services/collection-permission.service.js.map +1 -1
- package/dist/lib/services/collection-state.service.d.ts +11 -1
- package/dist/lib/services/collection-state.service.d.ts.map +1 -1
- package/dist/lib/services/collection-state.service.js +25 -5
- package/dist/lib/services/collection-state.service.js.map +1 -1
- package/dist/lib/services/conversation-agent.service.d.ts +47 -4
- package/dist/lib/services/conversation-agent.service.d.ts.map +1 -1
- package/dist/lib/services/conversation-agent.service.js +85 -20
- package/dist/lib/services/conversation-agent.service.js.map +1 -1
- package/dist/lib/services/conversation-attachment.service.d.ts +17 -0
- package/dist/lib/services/conversation-attachment.service.d.ts.map +1 -1
- package/dist/lib/services/conversation-attachment.service.js +38 -10
- package/dist/lib/services/conversation-attachment.service.js.map +1 -1
- package/dist/lib/services/conversation-liveness-dom.service.d.ts +42 -0
- package/dist/lib/services/conversation-liveness-dom.service.d.ts.map +1 -0
- package/dist/lib/services/conversation-liveness-dom.service.js +74 -0
- package/dist/lib/services/conversation-liveness-dom.service.js.map +1 -0
- package/dist/lib/services/conversation-streaming.service.d.ts +22 -0
- package/dist/lib/services/conversation-streaming.service.d.ts.map +1 -1
- package/dist/lib/services/conversation-streaming.service.js +50 -10
- package/dist/lib/services/conversation-streaming.service.js.map +1 -1
- package/dist/lib/services/data-cache.service.d.ts +31 -0
- package/dist/lib/services/data-cache.service.d.ts.map +1 -1
- package/dist/lib/services/data-cache.service.js +71 -15
- package/dist/lib/services/data-cache.service.js.map +1 -1
- package/dist/lib/services/dialog.service.d.ts +13 -0
- package/dist/lib/services/dialog.service.d.ts.map +1 -1
- package/dist/lib/services/dialog.service.js +25 -5
- package/dist/lib/services/dialog.service.js.map +1 -1
- package/dist/lib/services/export.service.d.ts +2 -0
- package/dist/lib/services/export.service.d.ts.map +1 -1
- package/dist/lib/services/export.service.js +5 -1
- package/dist/lib/services/export.service.js.map +1 -1
- package/dist/lib/services/mention-parser.service.d.ts +10 -0
- package/dist/lib/services/mention-parser.service.d.ts.map +1 -1
- package/dist/lib/services/mention-parser.service.js +25 -5
- package/dist/lib/services/mention-parser.service.js.map +1 -1
- package/dist/lib/services/notification.service.d.ts +54 -6
- package/dist/lib/services/notification.service.d.ts.map +1 -1
- package/dist/lib/services/notification.service.js +123 -27
- package/dist/lib/services/notification.service.js.map +1 -1
- package/dist/lib/services/realtime-audio-recorder.d.ts +4 -4
- package/dist/lib/services/realtime-audio-recorder.js +12 -12
- package/dist/lib/services/realtime-audio-recorder.js.map +1 -1
- package/dist/lib/services/realtime-pcm-wav.d.ts +4 -0
- package/dist/lib/services/realtime-pcm-wav.d.ts.map +1 -1
- package/dist/lib/services/realtime-pcm-wav.js +10 -2
- package/dist/lib/services/realtime-pcm-wav.js.map +1 -1
- package/dist/lib/services/search.service.d.ts +42 -9
- package/dist/lib/services/search.service.d.ts.map +1 -1
- package/dist/lib/services/search.service.js +103 -23
- package/dist/lib/services/search.service.js.map +1 -1
- package/dist/lib/services/toast.service.d.ts +19 -1
- package/dist/lib/services/toast.service.d.ts.map +1 -1
- package/dist/lib/services/toast.service.js +45 -9
- package/dist/lib/services/toast.service.js.map +1 -1
- package/dist/lib/services/ui-command-handler.service.d.ts +56 -5
- package/dist/lib/services/ui-command-handler.service.d.ts.map +1 -1
- package/dist/lib/services/ui-command-handler.service.js +113 -16
- package/dist/lib/services/ui-command-handler.service.js.map +1 -1
- package/dist/lib/utils/agent-artifact-summary.d.ts +2 -2
- package/dist/lib/utils/agent-artifact-summary.js +3 -3
- package/dist/lib/utils/agent-artifact-summary.js.map +1 -1
- package/dist/lib/utils/agent-turn-routing.d.ts +70 -0
- package/dist/lib/utils/agent-turn-routing.d.ts.map +1 -0
- package/dist/lib/utils/agent-turn-routing.js +84 -0
- package/dist/lib/utils/agent-turn-routing.js.map +1 -0
- package/dist/lib/utils/artifact-panel-action.d.ts +15 -4
- package/dist/lib/utils/artifact-panel-action.d.ts.map +1 -1
- package/dist/lib/utils/artifact-panel-action.js +10 -2
- package/dist/lib/utils/artifact-panel-action.js.map +1 -1
- package/dist/lib/utils/decision-routing.d.ts +68 -0
- package/dist/lib/utils/decision-routing.d.ts.map +1 -0
- package/dist/lib/utils/decision-routing.js +101 -0
- package/dist/lib/utils/decision-routing.js.map +1 -0
- package/dist/lib/utils/distinct-artifacts.d.ts +2 -0
- package/dist/lib/utils/distinct-artifacts.d.ts.map +1 -1
- package/dist/lib/utils/distinct-artifacts.js +5 -1
- package/dist/lib/utils/distinct-artifacts.js.map +1 -1
- package/dist/lib/utils/plan-mode-preference.d.ts +2 -2
- package/dist/lib/utils/plan-mode-preference.js +6 -6
- package/dist/lib/utils/plan-mode-preference.js.map +1 -1
- package/dist/public-api.d.ts +5 -0
- package/dist/public-api.d.ts.map +1 -1
- package/dist/public-api.js +8 -0
- package/dist/public-api.js.map +1 -1
- package/package.json +32 -32
|
@@ -54,19 +54,99 @@ function InputDialogComponent_Conditional_9_Template(rf, ctx) { if (rf & 1) {
|
|
|
54
54
|
i0.ɵɵproperty("placeholder", ctx_r1.secondInputPlaceholder);
|
|
55
55
|
} }
|
|
56
56
|
export class InputDialogComponent {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
57
|
+
Message = '';
|
|
58
|
+
/** @deprecated Use {@link Message}. */
|
|
59
|
+
set message(value) {
|
|
60
|
+
this.Message = value;
|
|
61
|
+
}
|
|
62
|
+
/** @deprecated Use {@link Message}. */
|
|
63
|
+
get message() {
|
|
64
|
+
return this.Message;
|
|
65
|
+
}
|
|
66
|
+
InputLabel = '';
|
|
67
|
+
/** @deprecated Use {@link InputLabel}. */
|
|
68
|
+
set inputLabel(value) {
|
|
69
|
+
this.InputLabel = value;
|
|
70
|
+
}
|
|
71
|
+
/** @deprecated Use {@link InputLabel}. */
|
|
72
|
+
get inputLabel() {
|
|
73
|
+
return this.InputLabel;
|
|
74
|
+
}
|
|
75
|
+
InputType = 'text';
|
|
76
|
+
/** @deprecated Use {@link InputType}. */
|
|
77
|
+
set inputType(value) {
|
|
78
|
+
this.InputType = value;
|
|
79
|
+
}
|
|
80
|
+
/** @deprecated Use {@link InputType}. */
|
|
81
|
+
get inputType() {
|
|
82
|
+
return this.InputType;
|
|
83
|
+
}
|
|
84
|
+
Placeholder = '';
|
|
85
|
+
/** @deprecated Use {@link Placeholder}. */
|
|
86
|
+
set placeholder(value) {
|
|
87
|
+
this.Placeholder = value;
|
|
88
|
+
}
|
|
89
|
+
/** @deprecated Use {@link Placeholder}. */
|
|
90
|
+
get placeholder() {
|
|
91
|
+
return this.Placeholder;
|
|
92
|
+
}
|
|
93
|
+
Required = false;
|
|
94
|
+
/** @deprecated Use {@link Required}. */
|
|
95
|
+
set required(value) {
|
|
96
|
+
this.Required = value;
|
|
97
|
+
}
|
|
98
|
+
/** @deprecated Use {@link Required}. */
|
|
99
|
+
get required() {
|
|
100
|
+
return this.Required;
|
|
101
|
+
}
|
|
102
|
+
Value = '';
|
|
103
|
+
/** @deprecated Use {@link Value}. */
|
|
104
|
+
set value(value) {
|
|
105
|
+
this.Value = value;
|
|
106
|
+
}
|
|
107
|
+
/** @deprecated Use {@link Value}. */
|
|
108
|
+
get value() {
|
|
109
|
+
return this.Value;
|
|
110
|
+
}
|
|
111
|
+
SecondInputLabel = '';
|
|
112
|
+
/** @deprecated Use {@link SecondInputLabel}. */
|
|
113
|
+
set secondInputLabel(value) {
|
|
114
|
+
this.SecondInputLabel = value;
|
|
115
|
+
}
|
|
116
|
+
/** @deprecated Use {@link SecondInputLabel}. */
|
|
117
|
+
get secondInputLabel() {
|
|
118
|
+
return this.SecondInputLabel;
|
|
119
|
+
}
|
|
120
|
+
SecondInputPlaceholder = '';
|
|
121
|
+
/** @deprecated Use {@link SecondInputPlaceholder}. */
|
|
122
|
+
set secondInputPlaceholder(value) {
|
|
123
|
+
this.SecondInputPlaceholder = value;
|
|
124
|
+
}
|
|
125
|
+
/** @deprecated Use {@link SecondInputPlaceholder}. */
|
|
126
|
+
get secondInputPlaceholder() {
|
|
127
|
+
return this.SecondInputPlaceholder;
|
|
128
|
+
}
|
|
129
|
+
SecondInputRequired = false;
|
|
130
|
+
/** @deprecated Use {@link SecondInputRequired}. */
|
|
131
|
+
set secondInputRequired(value) {
|
|
132
|
+
this.SecondInputRequired = value;
|
|
133
|
+
}
|
|
134
|
+
/** @deprecated Use {@link SecondInputRequired}. */
|
|
135
|
+
get secondInputRequired() {
|
|
136
|
+
return this.SecondInputRequired;
|
|
137
|
+
}
|
|
138
|
+
SecondValue = '';
|
|
139
|
+
/** @deprecated Use {@link SecondValue}. */
|
|
140
|
+
set secondValue(value) {
|
|
141
|
+
this.SecondValue = value;
|
|
142
|
+
}
|
|
143
|
+
/** @deprecated Use {@link SecondValue}. */
|
|
144
|
+
get secondValue() {
|
|
145
|
+
return this.SecondValue;
|
|
146
|
+
}
|
|
147
|
+
OnEnterKey(event) {
|
|
68
148
|
const keyEvent = event;
|
|
69
|
-
if (this.
|
|
149
|
+
if (this.InputType !== 'textarea') {
|
|
70
150
|
keyEvent.preventDefault();
|
|
71
151
|
// Trigger OK/primary button click in the MJ dialog
|
|
72
152
|
const okButton = document.querySelector('.mj-dialog-actions .mj-btn--primary');
|
|
@@ -75,14 +155,26 @@ export class InputDialogComponent {
|
|
|
75
155
|
}
|
|
76
156
|
}
|
|
77
157
|
}
|
|
158
|
+
/** @deprecated Use {@link OnEnterKey}. */
|
|
159
|
+
onEnterKey(event) {
|
|
160
|
+
return this.OnEnterKey(event);
|
|
161
|
+
}
|
|
162
|
+
GetValue() {
|
|
163
|
+
return this.Value.trim();
|
|
164
|
+
}
|
|
165
|
+
/** @deprecated Use {@link GetValue}. */
|
|
78
166
|
getValue() {
|
|
79
|
-
return this.
|
|
167
|
+
return this.GetValue();
|
|
168
|
+
}
|
|
169
|
+
GetSecondValue() {
|
|
170
|
+
return this.SecondValue.trim();
|
|
80
171
|
}
|
|
172
|
+
/** @deprecated Use {@link GetSecondValue}. */
|
|
81
173
|
getSecondValue() {
|
|
82
|
-
return this.
|
|
174
|
+
return this.GetSecondValue();
|
|
83
175
|
}
|
|
84
176
|
static ɵfac = function InputDialogComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || InputDialogComponent)(); };
|
|
85
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: InputDialogComponent, selectors: [["mj-input-dialog"]], inputs: { message: "message", inputLabel: "inputLabel", inputType: "inputType", placeholder: "placeholder", required: "required", value: "value", secondInputLabel: "secondInputLabel", secondInputPlaceholder: "secondInputPlaceholder", secondInputRequired: "secondInputRequired", secondValue: "secondValue" }, standalone: false, decls: 10, vars: 6, consts: [[1, "input-dialog-content"], [1, "dialog-message"], [1, "input-field"], [1, "input-label"], [1, "required-mark"], [1, "mj-textarea", 3, "ngModel", "placeholder"], [1, "mj-input", 3, "ngModel", "type", "placeholder"], [1, "mj-textarea", 3, "ngModelChange", "ngModel", "placeholder"], [1, "mj-input", 3, "ngModelChange", "keydown.enter", "ngModel", "type", "placeholder"]], template: function InputDialogComponent_Template(rf, ctx) { if (rf & 1) {
|
|
177
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: InputDialogComponent, selectors: [["mj-input-dialog"]], inputs: { Message: "Message", message: "message", InputLabel: "InputLabel", inputLabel: "inputLabel", InputType: "InputType", inputType: "inputType", Placeholder: "Placeholder", placeholder: "placeholder", Required: "Required", required: "required", Value: "Value", value: "value", SecondInputLabel: "SecondInputLabel", secondInputLabel: "secondInputLabel", SecondInputPlaceholder: "SecondInputPlaceholder", secondInputPlaceholder: "secondInputPlaceholder", SecondInputRequired: "SecondInputRequired", secondInputRequired: "secondInputRequired", SecondValue: "SecondValue", secondValue: "secondValue" }, standalone: false, decls: 10, vars: 6, consts: [[1, "input-dialog-content"], [1, "dialog-message"], [1, "input-field"], [1, "input-label"], [1, "required-mark"], [1, "mj-textarea", 3, "ngModel", "placeholder"], [1, "mj-input", 3, "ngModel", "type", "placeholder"], [1, "mj-textarea", 3, "ngModelChange", "ngModel", "placeholder"], [1, "mj-input", 3, "ngModelChange", "keydown.enter", "ngModel", "type", "placeholder"]], template: function InputDialogComponent_Template(rf, ctx) { if (rf & 1) {
|
|
86
178
|
i0.ɵɵelementStart(0, "div", 0)(1, "p", 1);
|
|
87
179
|
i0.ɵɵtext(2);
|
|
88
180
|
i0.ɵɵelementEnd();
|
|
@@ -155,24 +247,44 @@ export class InputDialogComponent {
|
|
|
155
247
|
}
|
|
156
248
|
</div>
|
|
157
249
|
`, styles: ["\n .input-dialog-content {\n /* MJDialogContainerComponent pads only string content (.mj-dialog-body > p); a component\n body arrives with no horizontal padding at all, so the message, labels and inputs sat flush\n against the dialog edges while the header and footer were padded. Same inset as the sibling\n rating dialog, which already compensates for this. */\n padding: 4px 20px 8px;\n /* Parity with the rating dialog: the Explorer shell's global reset makes this redundant, but a host\n without that reset would let the 100%-wide inputs (padding + border, no local box-sizing) overflow. */\n box-sizing: border-box;\n }\n .input-dialog-content * {\n box-sizing: border-box;\n }\n .dialog-message {\n margin: 0 0 16px 0;\n color: var(--mj-text-primary);\n font-size: 14px;\n }\n .input-field {\n display: flex;\n flex-direction: column;\n gap: 8px;\n }\n .input-label {\n font-weight: 500;\n font-size: 13px;\n color: var(--mj-text-secondary);\n }\n .required-mark {\n color: var(--mj-status-error);\n margin-left: 2px;\n }\n .mj-input,\n .mj-textarea {\n width: 100%;\n padding: 8px 12px;\n border: 1px solid var(--mj-border-default);\n border-radius: 4px;\n font-size: 14px;\n font-family: inherit;\n background: var(--mj-bg-surface);\n color: var(--mj-text-primary);\n }\n .mj-input:focus,\n .mj-textarea:focus {\n outline: none;\n border-color: var(--mj-brand-primary);\n box-shadow: 0 0 0 3px color-mix(in srgb, var(--mj-brand-primary) 15%, transparent);\n }\n .mj-textarea {\n min-height: 80px;\n resize: vertical;\n }\n "] }]
|
|
158
|
-
}], null, {
|
|
250
|
+
}], null, { Message: [{
|
|
251
|
+
type: Input
|
|
252
|
+
}], message: [{
|
|
253
|
+
type: Input
|
|
254
|
+
}], InputLabel: [{
|
|
159
255
|
type: Input
|
|
160
256
|
}], inputLabel: [{
|
|
161
257
|
type: Input
|
|
258
|
+
}], InputType: [{
|
|
259
|
+
type: Input
|
|
162
260
|
}], inputType: [{
|
|
163
261
|
type: Input
|
|
262
|
+
}], Placeholder: [{
|
|
263
|
+
type: Input
|
|
164
264
|
}], placeholder: [{
|
|
165
265
|
type: Input
|
|
266
|
+
}], Required: [{
|
|
267
|
+
type: Input
|
|
166
268
|
}], required: [{
|
|
167
269
|
type: Input
|
|
270
|
+
}], Value: [{
|
|
271
|
+
type: Input
|
|
168
272
|
}], value: [{
|
|
169
273
|
type: Input
|
|
274
|
+
}], SecondInputLabel: [{
|
|
275
|
+
type: Input
|
|
170
276
|
}], secondInputLabel: [{
|
|
171
277
|
type: Input
|
|
278
|
+
}], SecondInputPlaceholder: [{
|
|
279
|
+
type: Input
|
|
172
280
|
}], secondInputPlaceholder: [{
|
|
173
281
|
type: Input
|
|
282
|
+
}], SecondInputRequired: [{
|
|
283
|
+
type: Input
|
|
174
284
|
}], secondInputRequired: [{
|
|
175
285
|
type: Input
|
|
286
|
+
}], SecondValue: [{
|
|
287
|
+
type: Input
|
|
176
288
|
}], secondValue: [{
|
|
177
289
|
type: Input
|
|
178
290
|
}] }); })();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input-dialog.component.js","sourceRoot":"","sources":["../../../../src/lib/components/dialogs/input-dialog.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;;;;IAYrC,+BAA4B;IAAA,iBAAC;IAAA,iBAAO;;;;IAItC,mCAGsB;IAFpB,ySAAmB;IAGrB,0BAAA;IAAA,iBAAW;;;IAHT,4CAAmB;IACnB,gDAA2B;;;;IAK7B,gCAKuC;IAJrC,sSAAmB;IAInB,6MAAiB,yBAAkB,KAAC;IALtC,iBAKuC;;;IAJrC,4CAAmB;IAEnB,AADA,iDAA4B,mCACD;;;IAUzB,+BAA4B;IAAA,iBAAC;IAAA,iBAAO;;;;IAHxC,AADF,8BAAyB,eACI;IACzB,YACA;IAAA,qGAA2B;IAG7B,iBAAQ;IACR,mCAGsB;IAFpB,qTAAyB;IAG3B,0BAAA;IACF,AADE,iBAAW,EACP;;;IAVF,eACA;IADA,wDACA;IAAA,cAEC;IAFD,qDAEC;IAGD,cAAyB;IAAzB,kDAAyB;IACzB,2DAAsC;;AA+DlD,MAAM,OAAO,oBAAoB;IACtB,OAAO,GAAW,EAAE,CAAC;IACrB,UAAU,GAAW,EAAE,CAAC;IACxB,SAAS,GAA6C,MAAM,CAAC;IAC7D,WAAW,GAAW,EAAE,CAAC;IACzB,QAAQ,GAAY,KAAK,CAAC;IAC1B,KAAK,GAAW,EAAE,CAAC;IACnB,gBAAgB,GAAW,EAAE,CAAC;IAC9B,sBAAsB,GAAW,EAAE,CAAC;IACpC,mBAAmB,G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standalone: false,\n selector: 'mj-input-dialog',\n template: `\n <div class=\"input-dialog-content\">\n <p class=\"dialog-message\">{{ message }}</p>\n <div class=\"input-field\">\n <label class=\"input-label\">\n {{ inputLabel }}\n @if (required) {\n <span class=\"required-mark\">*</span>\n }\n </label>\n @if (inputType === 'textarea') {\n <textarea\n [(ngModel)]=\"value\"\n [placeholder]=\"placeholder\"\n class=\"mj-textarea\">\n </textarea>\n }\n @if (inputType !== 'textarea') {\n <input\n [(ngModel)]=\"value\"\n [type]=\"inputType || 'text'\"\n [placeholder]=\"placeholder\"\n class=\"mj-input\"\n (keydown.enter)=\"onEnterKey($event)\">\n }\n </div>\n @if (secondInputLabel) {\n <div class=\"input-field\">\n <label class=\"input-label\">\n {{ secondInputLabel }}\n @if (secondInputRequired) {\n <span class=\"required-mark\">*</span>\n }\n </label>\n <textarea\n [(ngModel)]=\"secondValue\"\n [placeholder]=\"secondInputPlaceholder\"\n class=\"mj-textarea\">\n </textarea>\n </div>\n }\n </div>\n `,\n styles: [`\n .input-dialog-content {\n /* MJDialogContainerComponent pads only string content (.mj-dialog-body > p); a component\n body arrives with no horizontal padding at all, so the message, labels and inputs sat flush\n against the dialog edges while the header and footer were padded. Same inset as the sibling\n rating dialog, which already compensates for this. */\n padding: 4px 20px 8px;\n /* Parity with the rating dialog: the Explorer shell's global reset makes this redundant, but a host\n without that reset would let the 100%-wide inputs (padding + border, no local box-sizing) overflow. */\n box-sizing: border-box;\n }\n .input-dialog-content * {\n box-sizing: border-box;\n }\n .dialog-message {\n margin: 0 0 16px 0;\n color: var(--mj-text-primary);\n font-size: 14px;\n }\n .input-field {\n display: flex;\n flex-direction: column;\n gap: 8px;\n }\n .input-label {\n font-weight: 500;\n font-size: 13px;\n color: var(--mj-text-secondary);\n }\n .required-mark {\n color: var(--mj-status-error);\n margin-left: 2px;\n }\n .mj-input,\n .mj-textarea {\n width: 100%;\n padding: 8px 12px;\n border: 1px solid var(--mj-border-default);\n border-radius: 4px;\n font-size: 14px;\n font-family: inherit;\n background: var(--mj-bg-surface);\n color: var(--mj-text-primary);\n }\n .mj-input:focus,\n .mj-textarea:focus {\n outline: none;\n border-color: var(--mj-brand-primary);\n box-shadow: 0 0 0 3px color-mix(in srgb, var(--mj-brand-primary) 15%, transparent);\n }\n .mj-textarea {\n min-height: 80px;\n resize: vertical;\n }\n `]\n})\nexport class InputDialogComponent {\n @Input() message: string = '';\n @Input() inputLabel: string = '';\n @Input() inputType: 'text' | 'textarea' | 'number' | 'email' = 'text';\n @Input() placeholder: string = '';\n @Input() required: boolean = false;\n @Input() value: string = '';\n @Input() secondInputLabel: string = '';\n @Input() secondInputPlaceholder: string = '';\n @Input() secondInputRequired: boolean = false;\n @Input() secondValue: string = '';\n\n onEnterKey(event: Event): void {\n const keyEvent = event as KeyboardEvent;\n if (this.inputType !== 'textarea') {\n keyEvent.preventDefault();\n // Trigger OK/primary button click in the MJ dialog\n const okButton = document.querySelector('.mj-dialog-actions .mj-btn--primary') as HTMLButtonElement;\n if (okButton) {\n okButton.click();\n }\n }\n }\n\n getValue(): string {\n return this.value.trim();\n }\n\n getSecondValue(): string {\n return this.secondValue.trim();\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"input-dialog.component.js","sourceRoot":"","sources":["../../../../src/lib/components/dialogs/input-dialog.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;;;;IAYrC,+BAA4B;IAAA,iBAAC;IAAA,iBAAO;;;;IAItC,mCAGsB;IAFpB,ySAAmB;IAGrB,0BAAA;IAAA,iBAAW;;;IAHT,4CAAmB;IACnB,gDAA2B;;;;IAK7B,gCAKuC;IAJrC,sSAAmB;IAInB,6MAAiB,yBAAkB,KAAC;IALtC,iBAKuC;;;IAJrC,4CAAmB;IAEnB,AADA,iDAA4B,mCACD;;;IAUzB,+BAA4B;IAAA,iBAAC;IAAA,iBAAO;;;;IAHxC,AADF,8BAAyB,eACI;IACzB,YACA;IAAA,q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,KAAK;;kBAOL,KAAK;;kBAGL,KAAK;;kBAOL,KAAK;;kBAGL,KAAK;;kBAOL,KAAK;;kBAGL,KAAK;;kBAOL,KAAK;;kBAGL,KAAK;;kBAOL,KAAK;;kBAGL,KAAK;;kBAOL,KAAK;;kBAGL,KAAK;;kBAOL,KAAK;;kBAGL,KAAK;;kFA9FK,oBAAoB","sourcesContent":["import { Component, Input } from '@angular/core';\n\n@Component({\n standalone: false,\n selector: 'mj-input-dialog',\n template: `\n <div class=\"input-dialog-content\">\n <p class=\"dialog-message\">{{ message }}</p>\n <div class=\"input-field\">\n <label class=\"input-label\">\n {{ inputLabel }}\n @if (required) {\n <span class=\"required-mark\">*</span>\n }\n </label>\n @if (inputType === 'textarea') {\n <textarea\n [(ngModel)]=\"value\"\n [placeholder]=\"placeholder\"\n class=\"mj-textarea\">\n </textarea>\n }\n @if (inputType !== 'textarea') {\n <input\n [(ngModel)]=\"value\"\n [type]=\"inputType || 'text'\"\n [placeholder]=\"placeholder\"\n class=\"mj-input\"\n (keydown.enter)=\"onEnterKey($event)\">\n }\n </div>\n @if (secondInputLabel) {\n <div class=\"input-field\">\n <label class=\"input-label\">\n {{ secondInputLabel }}\n @if (secondInputRequired) {\n <span class=\"required-mark\">*</span>\n }\n </label>\n <textarea\n [(ngModel)]=\"secondValue\"\n [placeholder]=\"secondInputPlaceholder\"\n class=\"mj-textarea\">\n </textarea>\n </div>\n }\n </div>\n `,\n styles: [`\n .input-dialog-content {\n /* MJDialogContainerComponent pads only string content (.mj-dialog-body > p); a component\n body arrives with no horizontal padding at all, so the message, labels and inputs sat flush\n against the dialog edges while the header and footer were padded. Same inset as the sibling\n rating dialog, which already compensates for this. */\n padding: 4px 20px 8px;\n /* Parity with the rating dialog: the Explorer shell's global reset makes this redundant, but a host\n without that reset would let the 100%-wide inputs (padding + border, no local box-sizing) overflow. */\n box-sizing: border-box;\n }\n .input-dialog-content * {\n box-sizing: border-box;\n }\n .dialog-message {\n margin: 0 0 16px 0;\n color: var(--mj-text-primary);\n font-size: 14px;\n }\n .input-field {\n display: flex;\n flex-direction: column;\n gap: 8px;\n }\n .input-label {\n font-weight: 500;\n font-size: 13px;\n color: var(--mj-text-secondary);\n }\n .required-mark {\n color: var(--mj-status-error);\n margin-left: 2px;\n }\n .mj-input,\n .mj-textarea {\n width: 100%;\n padding: 8px 12px;\n border: 1px solid var(--mj-border-default);\n border-radius: 4px;\n font-size: 14px;\n font-family: inherit;\n background: var(--mj-bg-surface);\n color: var(--mj-text-primary);\n }\n .mj-input:focus,\n .mj-textarea:focus {\n outline: none;\n border-color: var(--mj-brand-primary);\n box-shadow: 0 0 0 3px color-mix(in srgb, var(--mj-brand-primary) 15%, transparent);\n }\n .mj-textarea {\n min-height: 80px;\n resize: vertical;\n }\n `]\n})\nexport class InputDialogComponent {\n @Input() Message: string = '';\n\n /** @deprecated Use {@link Message}. */\n @Input() set message(value: string) {\n this.Message = value;\n }\n /** @deprecated Use {@link Message}. */\n get message(): string {\n return this.Message;\n }\n @Input() InputLabel: string = '';\n\n /** @deprecated Use {@link InputLabel}. */\n @Input() set inputLabel(value: string) {\n this.InputLabel = value;\n }\n /** @deprecated Use {@link InputLabel}. */\n get inputLabel(): string {\n return this.InputLabel;\n }\n @Input() InputType: 'text' | 'textarea' | 'number' | 'email' = 'text';\n\n /** @deprecated Use {@link InputType}. */\n @Input() set inputType(value: 'text' | 'textarea' | 'number' | 'email') {\n this.InputType = value;\n }\n /** @deprecated Use {@link InputType}. */\n get inputType(): 'text' | 'textarea' | 'number' | 'email' {\n return this.InputType;\n }\n @Input() Placeholder: string = '';\n\n /** @deprecated Use {@link Placeholder}. */\n @Input() set placeholder(value: string) {\n this.Placeholder = value;\n }\n /** @deprecated Use {@link Placeholder}. */\n get placeholder(): string {\n return this.Placeholder;\n }\n @Input() Required: boolean = false;\n\n /** @deprecated Use {@link Required}. */\n @Input() set required(value: boolean) {\n this.Required = value;\n }\n /** @deprecated Use {@link Required}. */\n get required(): boolean {\n return this.Required;\n }\n @Input() Value: string = '';\n\n /** @deprecated Use {@link Value}. */\n @Input() set value(value: string) {\n this.Value = value;\n }\n /** @deprecated Use {@link Value}. */\n get value(): string {\n return this.Value;\n }\n @Input() SecondInputLabel: string = '';\n\n /** @deprecated Use {@link SecondInputLabel}. */\n @Input() set secondInputLabel(value: string) {\n this.SecondInputLabel = value;\n }\n /** @deprecated Use {@link SecondInputLabel}. */\n get secondInputLabel(): string {\n return this.SecondInputLabel;\n }\n @Input() SecondInputPlaceholder: string = '';\n\n /** @deprecated Use {@link SecondInputPlaceholder}. */\n @Input() set secondInputPlaceholder(value: string) {\n this.SecondInputPlaceholder = value;\n }\n /** @deprecated Use {@link SecondInputPlaceholder}. */\n get secondInputPlaceholder(): string {\n return this.SecondInputPlaceholder;\n }\n @Input() SecondInputRequired: boolean = false;\n\n /** @deprecated Use {@link SecondInputRequired}. */\n @Input() set secondInputRequired(value: boolean) {\n this.SecondInputRequired = value;\n }\n /** @deprecated Use {@link SecondInputRequired}. */\n get secondInputRequired(): boolean {\n return this.SecondInputRequired;\n }\n @Input() SecondValue: string = '';\n\n /** @deprecated Use {@link SecondValue}. */\n @Input() set secondValue(value: string) {\n this.SecondValue = value;\n }\n /** @deprecated Use {@link SecondValue}. */\n get secondValue(): string {\n return this.SecondValue;\n }\n\n OnEnterKey(event: Event): void {\n const keyEvent = event as KeyboardEvent;\n if (this.InputType !== 'textarea') {\n keyEvent.preventDefault();\n // Trigger OK/primary button click in the MJ dialog\n const okButton = document.querySelector('.mj-dialog-actions .mj-btn--primary') as HTMLButtonElement;\n if (okButton) {\n okButton.click();\n }\n }\n }\n\n /** @deprecated Use {@link OnEnterKey}. */\n onEnterKey(event: Event): void {\n return this.OnEnterKey(event);\n }\n\n GetValue(): string {\n return this.Value.trim();\n }\n\n /** @deprecated Use {@link GetValue}. */\n getValue(): string {\n return this.GetValue();\n }\n\n GetSecondValue(): string {\n return this.SecondValue.trim();\n }\n\n /** @deprecated Use {@link GetSecondValue}. */\n getSecondValue(): string {\n return this.GetSecondValue();\n }\n}\n"]}
|
|
@@ -1,31 +1,89 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class RatingDialogComponent {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
Message: string;
|
|
4
|
+
/** @deprecated Use {@link Message}. */
|
|
5
|
+
set message(value: string);
|
|
6
|
+
/** @deprecated Use {@link Message}. */
|
|
7
|
+
get message(): string;
|
|
8
|
+
InitialRating: number | null;
|
|
9
|
+
/** @deprecated Use {@link InitialRating}. */
|
|
10
|
+
set initialRating(value: number | null);
|
|
11
|
+
/** @deprecated Use {@link InitialRating}. */
|
|
12
|
+
get initialRating(): number | null;
|
|
13
|
+
InitialComments: string;
|
|
14
|
+
/** @deprecated Use {@link InitialComments}. */
|
|
15
|
+
set initialComments(value: string);
|
|
16
|
+
/** @deprecated Use {@link InitialComments}. */
|
|
17
|
+
get initialComments(): string;
|
|
6
18
|
/** When true, the user must check the consent box before submitting. */
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
19
|
+
RequireConsent: boolean;
|
|
20
|
+
/** @deprecated Use {@link RequireConsent}. */
|
|
21
|
+
set requireConsent(value: boolean);
|
|
22
|
+
/** @deprecated Use {@link RequireConsent}. */
|
|
23
|
+
get requireConsent(): boolean;
|
|
24
|
+
readonly Scale: number[];
|
|
25
|
+
/** @deprecated Use {@link Scale}. */
|
|
26
|
+
get scale(): number[];
|
|
27
|
+
SelectedRating: number | null;
|
|
28
|
+
/** @deprecated Use {@link SelectedRating}. */
|
|
29
|
+
get selectedRating(): number | null;
|
|
30
|
+
/** @deprecated Use {@link SelectedRating}. */
|
|
31
|
+
set selectedRating(value: number | null);
|
|
32
|
+
HoveredRating: number | null;
|
|
33
|
+
/** @deprecated Use {@link HoveredRating}. */
|
|
34
|
+
get hoveredRating(): number | null;
|
|
35
|
+
/** @deprecated Use {@link HoveredRating}. */
|
|
36
|
+
set hoveredRating(value: number | null);
|
|
37
|
+
Comments: string;
|
|
38
|
+
/** @deprecated Use {@link Comments}. */
|
|
39
|
+
get comments(): string;
|
|
40
|
+
/** @deprecated Use {@link Comments}. */
|
|
41
|
+
set comments(value: string);
|
|
42
|
+
ConsentChecked: boolean;
|
|
43
|
+
/** @deprecated Use {@link ConsentChecked}. */
|
|
44
|
+
get consentChecked(): boolean;
|
|
45
|
+
/** @deprecated Use {@link ConsentChecked}. */
|
|
46
|
+
set consentChecked(value: boolean);
|
|
13
47
|
ngOnInit(): void;
|
|
48
|
+
get EffectiveRating(): number | null;
|
|
49
|
+
/** @deprecated Use {@link EffectiveRating}. */
|
|
14
50
|
get effectiveRating(): number | null;
|
|
51
|
+
get EffectiveBand(): string | null;
|
|
52
|
+
/** @deprecated Use {@link EffectiveBand}. */
|
|
15
53
|
get effectiveBand(): string | null;
|
|
54
|
+
BandFor(n: number): 'low' | 'mid' | 'high';
|
|
55
|
+
/** @deprecated Use {@link BandFor}. */
|
|
16
56
|
bandFor(n: number): 'low' | 'mid' | 'high';
|
|
57
|
+
IsFilled(n: number): boolean;
|
|
58
|
+
/** @deprecated Use {@link IsFilled}. */
|
|
17
59
|
isFilled(n: number): boolean;
|
|
60
|
+
SelectRating(n: number): void;
|
|
61
|
+
/** @deprecated Use {@link SelectRating}. */
|
|
18
62
|
selectRating(n: number): void;
|
|
63
|
+
OnScaleMouseLeave(): void;
|
|
64
|
+
/** @deprecated Use {@link OnScaleMouseLeave}. */
|
|
19
65
|
onScaleMouseLeave(): void;
|
|
66
|
+
OnPipBlur(): void;
|
|
67
|
+
/** @deprecated Use {@link OnPipBlur}. */
|
|
20
68
|
onPipBlur(): void;
|
|
69
|
+
GetDescriptor(n: number): string;
|
|
70
|
+
/** @deprecated Use {@link GetDescriptor}. */
|
|
21
71
|
getDescriptor(n: number): string;
|
|
72
|
+
GetRating(): number | null;
|
|
73
|
+
/** @deprecated Use {@link GetRating}. */
|
|
22
74
|
getRating(): number | null;
|
|
75
|
+
GetComments(): string;
|
|
76
|
+
/** @deprecated Use {@link GetComments}. */
|
|
23
77
|
getComments(): string;
|
|
24
78
|
/** True if the consent requirement is met (not required, or required and checked). */
|
|
79
|
+
IsConsentValid(): boolean;
|
|
80
|
+
/** @deprecated Use {@link IsConsentValid}. */
|
|
25
81
|
isConsentValid(): boolean;
|
|
26
82
|
/** True only when the user *just* acknowledged consent in this dialog session. */
|
|
83
|
+
WasConsentNewlyAcknowledged(): boolean;
|
|
84
|
+
/** @deprecated Use {@link WasConsentNewlyAcknowledged}. */
|
|
27
85
|
wasConsentNewlyAcknowledged(): boolean;
|
|
28
86
|
static ɵfac: i0.ɵɵFactoryDeclaration<RatingDialogComponent, never>;
|
|
29
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RatingDialogComponent, "mj-rating-dialog", never, { "message": { "alias": "message"; "required": false; }; "initialRating": { "alias": "initialRating"; "required": false; }; "initialComments": { "alias": "initialComments"; "required": false; }; "requireConsent": { "alias": "requireConsent"; "required": false; }; }, {}, never, never, false, never>;
|
|
87
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RatingDialogComponent, "mj-rating-dialog", never, { "Message": { "alias": "Message"; "required": false; }; "message": { "alias": "message"; "required": false; }; "InitialRating": { "alias": "InitialRating"; "required": false; }; "initialRating": { "alias": "initialRating"; "required": false; }; "InitialComments": { "alias": "InitialComments"; "required": false; }; "initialComments": { "alias": "initialComments"; "required": false; }; "RequireConsent": { "alias": "RequireConsent"; "required": false; }; "requireConsent": { "alias": "requireConsent"; "required": false; }; }, {}, never, never, false, never>;
|
|
30
88
|
}
|
|
31
89
|
//# sourceMappingURL=rating-dialog.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rating-dialog.component.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/dialogs/rating-dialog.component.ts"],"names":[],"mappings":";AAEA,qBA8Ra,qBAAqB;IACvB,OAAO,EAAE,MAAM,CAAM;
|
|
1
|
+
{"version":3,"file":"rating-dialog.component.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/dialogs/rating-dialog.component.ts"],"names":[],"mappings":";AAEA,qBA8Ra,qBAAqB;IACvB,OAAO,EAAE,MAAM,CAAM;IAE9B,uCAAuC;IACvC,IAAa,OAAO,CAAC,KAAK,EAAE,MAAM,EAEjC;IACD,uCAAuC;IACvC,IAAI,OAAO,IAAI,MAAM,CAEpB;IACQ,aAAa,EAAE,MAAM,GAAG,IAAI,CAAQ;IAE7C,6CAA6C;IAC7C,IAAa,aAAa,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,EAE9C;IACD,6CAA6C;IAC7C,IAAI,aAAa,IAAI,MAAM,GAAG,IAAI,CAEjC;IACQ,eAAe,EAAE,MAAM,CAAM;IAEtC,+CAA+C;IAC/C,IAAa,eAAe,CAAC,KAAK,EAAE,MAAM,EAEzC;IACD,+CAA+C;IAC/C,IAAI,eAAe,IAAI,MAAM,CAE5B;IAED,wEAAwE;IAC/D,cAAc,EAAE,OAAO,CAAS;IAEzC,8CAA8C;IAC9C,IAAa,cAAc,CAAC,KAAK,EAAE,OAAO,EAEzC;IACD,8CAA8C;IAC9C,IAAI,cAAc,IAAI,OAAO,CAE5B;IAED,QAAQ,CAAC,KAAK,EAAE,MAAM,EAAE,CAAmC;IAE3D,qCAAqC;IACrC,IAAI,KAAK,IAAI,MAAM,EAAE,CAEpB;IACD,cAAc,EAAE,MAAM,GAAG,IAAI,CAAQ;IAErC,8CAA8C;IAC9C,IAAI,cAAc,IAAI,MAAM,GAAG,IAAI,CAElC;IACD,8CAA8C;IAC9C,IAAI,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,EAEtC;IACD,aAAa,EAAE,MAAM,GAAG,IAAI,CAAQ;IAEpC,6CAA6C;IAC7C,IAAI,aAAa,IAAI,MAAM,GAAG,IAAI,CAEjC;IACD,6CAA6C;IAC7C,IAAI,aAAa,CAAC,KAAK,EAAE,MAAM,GAAG,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AI1B,yCAAyC;IACzC,SAAS,IAAI,MAAM,GAAG,IAAI;IAI1B,WAAW,IAAI,MAAM;IAIrB,2CAA2C;IAC3C,WAAW,IAAI,MAAM;IAIrB,sFAAsF;IACtF,cAAc,IAAI,OAAO;IAIzB,8CAA8C;IAC9C,cAAc,IAAI,OAAO;IAIzB,kFAAkF;IAClF,2BAA2B,IAAI,OAAO;IAItC,2DAA2D;IAC3D,2BAA2B,IAAI,OAAO;yCAlN3B,qBAAqB;2CAArB,qBAAqB;CAqNjC"}
|
|
@@ -68,48 +68,144 @@ function RatingDialogComponent_Conditional_32_Template(rf, ctx) { if (rf & 1) {
|
|
|
68
68
|
i0.ɵɵconditional(!ctx_r0.consentChecked ? 4 : -1);
|
|
69
69
|
} }
|
|
70
70
|
export class RatingDialogComponent {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
71
|
+
Message = '';
|
|
72
|
+
/** @deprecated Use {@link Message}. */
|
|
73
|
+
set message(value) {
|
|
74
|
+
this.Message = value;
|
|
75
|
+
}
|
|
76
|
+
/** @deprecated Use {@link Message}. */
|
|
77
|
+
get message() {
|
|
78
|
+
return this.Message;
|
|
79
|
+
}
|
|
80
|
+
InitialRating = null;
|
|
81
|
+
/** @deprecated Use {@link InitialRating}. */
|
|
82
|
+
set initialRating(value) {
|
|
83
|
+
this.InitialRating = value;
|
|
84
|
+
}
|
|
85
|
+
/** @deprecated Use {@link InitialRating}. */
|
|
86
|
+
get initialRating() {
|
|
87
|
+
return this.InitialRating;
|
|
88
|
+
}
|
|
89
|
+
InitialComments = '';
|
|
90
|
+
/** @deprecated Use {@link InitialComments}. */
|
|
91
|
+
set initialComments(value) {
|
|
92
|
+
this.InitialComments = value;
|
|
93
|
+
}
|
|
94
|
+
/** @deprecated Use {@link InitialComments}. */
|
|
95
|
+
get initialComments() {
|
|
96
|
+
return this.InitialComments;
|
|
97
|
+
}
|
|
74
98
|
/** When true, the user must check the consent box before submitting. */
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
99
|
+
RequireConsent = false;
|
|
100
|
+
/** @deprecated Use {@link RequireConsent}. */
|
|
101
|
+
set requireConsent(value) {
|
|
102
|
+
this.RequireConsent = value;
|
|
103
|
+
}
|
|
104
|
+
/** @deprecated Use {@link RequireConsent}. */
|
|
105
|
+
get requireConsent() {
|
|
106
|
+
return this.RequireConsent;
|
|
107
|
+
}
|
|
108
|
+
Scale = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
|
|
109
|
+
/** @deprecated Use {@link Scale}. */
|
|
110
|
+
get scale() {
|
|
111
|
+
return this.Scale;
|
|
112
|
+
}
|
|
113
|
+
SelectedRating = null;
|
|
114
|
+
/** @deprecated Use {@link SelectedRating}. */
|
|
115
|
+
get selectedRating() {
|
|
116
|
+
return this.SelectedRating;
|
|
117
|
+
}
|
|
118
|
+
/** @deprecated Use {@link SelectedRating}. */
|
|
119
|
+
set selectedRating(value) {
|
|
120
|
+
this.SelectedRating = value;
|
|
121
|
+
}
|
|
122
|
+
HoveredRating = null;
|
|
123
|
+
/** @deprecated Use {@link HoveredRating}. */
|
|
124
|
+
get hoveredRating() {
|
|
125
|
+
return this.HoveredRating;
|
|
126
|
+
}
|
|
127
|
+
/** @deprecated Use {@link HoveredRating}. */
|
|
128
|
+
set hoveredRating(value) {
|
|
129
|
+
this.HoveredRating = value;
|
|
130
|
+
}
|
|
131
|
+
Comments = '';
|
|
132
|
+
/** @deprecated Use {@link Comments}. */
|
|
133
|
+
get comments() {
|
|
134
|
+
return this.Comments;
|
|
135
|
+
}
|
|
136
|
+
/** @deprecated Use {@link Comments}. */
|
|
137
|
+
set comments(value) {
|
|
138
|
+
this.Comments = value;
|
|
139
|
+
}
|
|
140
|
+
ConsentChecked = false;
|
|
141
|
+
/** @deprecated Use {@link ConsentChecked}. */
|
|
142
|
+
get consentChecked() {
|
|
143
|
+
return this.ConsentChecked;
|
|
144
|
+
}
|
|
145
|
+
/** @deprecated Use {@link ConsentChecked}. */
|
|
146
|
+
set consentChecked(value) {
|
|
147
|
+
this.ConsentChecked = value;
|
|
148
|
+
}
|
|
81
149
|
ngOnInit() {
|
|
82
|
-
this.
|
|
83
|
-
this.
|
|
150
|
+
this.SelectedRating = this.InitialRating;
|
|
151
|
+
this.Comments = this.InitialComments ?? '';
|
|
152
|
+
}
|
|
153
|
+
get EffectiveRating() {
|
|
154
|
+
return this.HoveredRating ?? this.SelectedRating;
|
|
84
155
|
}
|
|
156
|
+
/** @deprecated Use {@link EffectiveRating}. */
|
|
85
157
|
get effectiveRating() {
|
|
86
|
-
return this.
|
|
158
|
+
return this.EffectiveRating;
|
|
87
159
|
}
|
|
160
|
+
get EffectiveBand() {
|
|
161
|
+
const r = this.EffectiveRating;
|
|
162
|
+
return r === null ? null : this.BandFor(r);
|
|
163
|
+
}
|
|
164
|
+
/** @deprecated Use {@link EffectiveBand}. */
|
|
88
165
|
get effectiveBand() {
|
|
89
|
-
|
|
90
|
-
return r === null ? null : this.bandFor(r);
|
|
166
|
+
return this.EffectiveBand;
|
|
91
167
|
}
|
|
92
|
-
|
|
168
|
+
BandFor(n) {
|
|
93
169
|
if (n <= 3)
|
|
94
170
|
return 'low';
|
|
95
171
|
if (n <= 7)
|
|
96
172
|
return 'mid';
|
|
97
173
|
return 'high';
|
|
98
174
|
}
|
|
99
|
-
|
|
100
|
-
|
|
175
|
+
/** @deprecated Use {@link BandFor}. */
|
|
176
|
+
bandFor(n) {
|
|
177
|
+
return this.BandFor(n);
|
|
178
|
+
}
|
|
179
|
+
IsFilled(n) {
|
|
180
|
+
const r = this.EffectiveRating;
|
|
101
181
|
return r !== null && r >= n;
|
|
102
182
|
}
|
|
183
|
+
/** @deprecated Use {@link IsFilled}. */
|
|
184
|
+
isFilled(n) {
|
|
185
|
+
return this.IsFilled(n);
|
|
186
|
+
}
|
|
187
|
+
SelectRating(n) {
|
|
188
|
+
this.SelectedRating = n;
|
|
189
|
+
}
|
|
190
|
+
/** @deprecated Use {@link SelectRating}. */
|
|
103
191
|
selectRating(n) {
|
|
104
|
-
this.
|
|
192
|
+
return this.SelectRating(n);
|
|
193
|
+
}
|
|
194
|
+
OnScaleMouseLeave() {
|
|
195
|
+
this.HoveredRating = null;
|
|
105
196
|
}
|
|
197
|
+
/** @deprecated Use {@link OnScaleMouseLeave}. */
|
|
106
198
|
onScaleMouseLeave() {
|
|
107
|
-
this.
|
|
199
|
+
return this.OnScaleMouseLeave();
|
|
200
|
+
}
|
|
201
|
+
OnPipBlur() {
|
|
202
|
+
this.HoveredRating = null;
|
|
108
203
|
}
|
|
204
|
+
/** @deprecated Use {@link OnPipBlur}. */
|
|
109
205
|
onPipBlur() {
|
|
110
|
-
this.
|
|
206
|
+
return this.OnPipBlur();
|
|
111
207
|
}
|
|
112
|
-
|
|
208
|
+
GetDescriptor(n) {
|
|
113
209
|
if (n <= 2)
|
|
114
210
|
return 'Very Poor';
|
|
115
211
|
if (n <= 4)
|
|
@@ -120,22 +216,42 @@ export class RatingDialogComponent {
|
|
|
120
216
|
return 'Good';
|
|
121
217
|
return 'Excellent';
|
|
122
218
|
}
|
|
219
|
+
/** @deprecated Use {@link GetDescriptor}. */
|
|
220
|
+
getDescriptor(n) {
|
|
221
|
+
return this.GetDescriptor(n);
|
|
222
|
+
}
|
|
223
|
+
GetRating() {
|
|
224
|
+
return this.SelectedRating;
|
|
225
|
+
}
|
|
226
|
+
/** @deprecated Use {@link GetRating}. */
|
|
123
227
|
getRating() {
|
|
124
|
-
return this.
|
|
228
|
+
return this.GetRating();
|
|
229
|
+
}
|
|
230
|
+
GetComments() {
|
|
231
|
+
return (this.Comments ?? '').trim();
|
|
125
232
|
}
|
|
233
|
+
/** @deprecated Use {@link GetComments}. */
|
|
126
234
|
getComments() {
|
|
127
|
-
return
|
|
235
|
+
return this.GetComments();
|
|
128
236
|
}
|
|
129
237
|
/** True if the consent requirement is met (not required, or required and checked). */
|
|
238
|
+
IsConsentValid() {
|
|
239
|
+
return !this.RequireConsent || this.ConsentChecked;
|
|
240
|
+
}
|
|
241
|
+
/** @deprecated Use {@link IsConsentValid}. */
|
|
130
242
|
isConsentValid() {
|
|
131
|
-
return
|
|
243
|
+
return this.IsConsentValid();
|
|
132
244
|
}
|
|
133
245
|
/** True only when the user *just* acknowledged consent in this dialog session. */
|
|
246
|
+
WasConsentNewlyAcknowledged() {
|
|
247
|
+
return this.RequireConsent && this.ConsentChecked;
|
|
248
|
+
}
|
|
249
|
+
/** @deprecated Use {@link WasConsentNewlyAcknowledged}. */
|
|
134
250
|
wasConsentNewlyAcknowledged() {
|
|
135
|
-
return this.
|
|
251
|
+
return this.WasConsentNewlyAcknowledged();
|
|
136
252
|
}
|
|
137
253
|
static ɵfac = function RatingDialogComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || RatingDialogComponent)(); };
|
|
138
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: RatingDialogComponent, selectors: [["mj-rating-dialog"]], inputs: { message: "message", initialRating: "initialRating", initialComments: "initialComments", requireConsent: "requireConsent" }, standalone: false, decls: 33, vars: 7, consts: [[1, "rating-dialog"], [1, "dialog-message"], ["role", "radiogroup", "aria-label", "Rating from 1 to 10", 1, "rating-scale", 3, "mouseleave"], ["type", "button", "role", "radio", 1, "rating-pip", 3, "filled", "selected"], [1, "rating-meta"], [1, "legend-edge"], [1, "selected-caption"], [1, "muted"], [1, "legend-edge", "legend-right"], [1, "field"], [1, "field-header"], ["for", "rating-comments", 1, "field-label"], [1, "field-hint"], ["id", "rating-comments", "placeholder", "What was good or bad about this response?", "rows", "4", "maxlength", "2000", 1, "comment-textarea", 3, "ngModelChange", "ngModel"], [1, "consent-note"], [1, "fa-solid", "fa-shield-halved"], [1, "consent-body"], [1, "consent-text"], ["type", "button", "role", "radio", 1, "rating-pip", 3, "click", "mouseenter", "focus", "blur"], [1, "dot"], [1, "consent-checkbox"], ["type", "checkbox", "aria-label", "I understand and accept the access authorization above", 3, "ngModelChange", "ngModel"], [1, "consent-warning"]], template: function RatingDialogComponent_Template(rf, ctx) { if (rf & 1) {
|
|
254
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: RatingDialogComponent, selectors: [["mj-rating-dialog"]], inputs: { Message: "Message", message: "message", InitialRating: "InitialRating", initialRating: "initialRating", InitialComments: "InitialComments", initialComments: "initialComments", RequireConsent: "RequireConsent", requireConsent: "requireConsent" }, standalone: false, decls: 33, vars: 7, consts: [[1, "rating-dialog"], [1, "dialog-message"], ["role", "radiogroup", "aria-label", "Rating from 1 to 10", 1, "rating-scale", 3, "mouseleave"], ["type", "button", "role", "radio", 1, "rating-pip", 3, "filled", "selected"], [1, "rating-meta"], [1, "legend-edge"], [1, "selected-caption"], [1, "muted"], [1, "legend-edge", "legend-right"], [1, "field"], [1, "field-header"], ["for", "rating-comments", 1, "field-label"], [1, "field-hint"], ["id", "rating-comments", "placeholder", "What was good or bad about this response?", "rows", "4", "maxlength", "2000", 1, "comment-textarea", 3, "ngModelChange", "ngModel"], [1, "consent-note"], [1, "fa-solid", "fa-shield-halved"], [1, "consent-body"], [1, "consent-text"], ["type", "button", "role", "radio", 1, "rating-pip", 3, "click", "mouseenter", "focus", "blur"], [1, "dot"], [1, "consent-checkbox"], ["type", "checkbox", "aria-label", "I understand and accept the access authorization above", 3, "ngModelChange", "ngModel"], [1, "consent-warning"]], template: function RatingDialogComponent_Template(rf, ctx) { if (rf & 1) {
|
|
139
255
|
i0.ɵɵelementStart(0, "div", 0);
|
|
140
256
|
i0.ɵɵconditionalCreate(1, RatingDialogComponent_Conditional_1_Template, 2, 1, "p", 1);
|
|
141
257
|
i0.ɵɵelementStart(2, "div", 2);
|
|
@@ -277,12 +393,20 @@ export class RatingDialogComponent {
|
|
|
277
393
|
</div>
|
|
278
394
|
</div>
|
|
279
395
|
`, styles: ["\n :host {\n display: block;\n --rd-text-primary: var(--mj-text-primary, #18181b);\n --rd-text-secondary: var(--mj-text-secondary, #52525b);\n --rd-text-muted: var(--mj-text-muted, #71717a);\n --rd-text-disabled: var(--mj-text-disabled, #a1a1aa);\n --rd-surface: var(--mj-bg-surface, #ffffff);\n --rd-border: var(--mj-border-default, #e4e4e7);\n --rd-border-strong: var(--mj-border-strong, #d4d4d8);\n --rd-brand: var(--mj-brand-primary, #6366f1);\n --rd-on-brand: var(--mj-text-on-brand, #ffffff);\n\n --rd-low: var(--mj-status-error, #ef4444);\n --rd-mid: var(--mj-status-warning, #f59e0b);\n --rd-high: var(--mj-status-success, #10b981);\n }\n\n .rating-dialog {\n box-sizing: border-box;\n width: 100%;\n display: flex;\n flex-direction: column;\n gap: 18px;\n padding: 4px 20px 8px;\n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;\n }\n .rating-dialog * { box-sizing: border-box; }\n\n .dialog-message {\n margin: 0;\n color: var(--rd-text-secondary);\n font-size: 14px;\n line-height: 1.5;\n }\n\n /* \u2500\u2500\u2500 Pill row \u2500\u2500\u2500 */\n .rating-scale {\n display: grid;\n grid-template-columns: repeat(10, minmax(0, 1fr));\n gap: 6px;\n width: 100%;\n }\n .rating-pip {\n appearance: none;\n -webkit-appearance: none;\n width: 100%;\n min-width: 0;\n height: 40px;\n padding: 0;\n background: var(--rd-surface);\n border: 1px solid var(--rd-border);\n border-radius: 8px;\n font-family: inherit;\n font-size: 13px;\n font-weight: 600;\n color: var(--rd-text-secondary);\n cursor: pointer;\n transition: transform 100ms ease, background 140ms ease, border-color 140ms ease, color 140ms ease, box-shadow 140ms ease;\n font-variant-numeric: tabular-nums;\n }\n .rating-pip:hover {\n border-color: var(--rd-border-strong);\n color: var(--rd-text-primary);\n }\n .rating-pip:focus-visible {\n outline: none;\n box-shadow: 0 0 0 2px color-mix(in srgb, var(--rd-brand) 25%, transparent);\n }\n .rating-pip.filled[data-band=\"low\"] { background: var(--rd-low); border-color: var(--rd-low); color: var(--rd-on-brand); }\n .rating-pip.filled[data-band=\"mid\"] { background: var(--rd-mid); border-color: var(--rd-mid); color: var(--rd-on-brand); }\n .rating-pip.filled[data-band=\"high\"] { background: var(--rd-high); border-color: var(--rd-high); color: var(--rd-on-brand); }\n .rating-pip.selected { transform: translateY(-1px); }\n\n /* \u2500\u2500\u2500 Meta row: edge legend + center caption \u2500\u2500\u2500 */\n .rating-meta {\n display: grid;\n grid-template-columns: 1fr auto 1fr;\n align-items: center;\n gap: 8px;\n padding: 0 2px;\n margin-top: -2px;\n font-size: 11px;\n color: var(--rd-text-disabled);\n text-transform: uppercase;\n letter-spacing: 0.4px;\n }\n .legend-edge { font-weight: 500; }\n .legend-right { text-align: right; }\n\n .selected-caption {\n display: inline-flex;\n align-items: baseline;\n gap: 6px;\n font-size: 12px;\n font-weight: 600;\n text-transform: none;\n letter-spacing: 0;\n color: var(--rd-text-secondary);\n font-variant-numeric: tabular-nums;\n }\n .selected-caption strong { font-weight: 700; font-size: 13px; }\n .selected-caption .dot { color: var(--rd-text-disabled); }\n .selected-caption .muted { color: var(--rd-text-disabled); font-weight: 500; }\n .selected-caption[data-band=\"low\"] { color: var(--rd-low); }\n .selected-caption[data-band=\"mid\"] { color: var(--rd-mid); }\n .selected-caption[data-band=\"high\"] { color: var(--rd-high); }\n\n /* \u2500\u2500\u2500 Comment field \u2500\u2500\u2500 */\n .field {\n display: flex;\n flex-direction: column;\n gap: 6px;\n }\n .field-header {\n display: flex;\n align-items: baseline;\n justify-content: space-between;\n }\n .field-label {\n font-weight: 600;\n font-size: 13px;\n color: var(--rd-text-primary);\n }\n .field-hint {\n font-size: 11px;\n color: var(--rd-text-disabled);\n text-transform: uppercase;\n letter-spacing: 0.4px;\n }\n .comment-textarea {\n width: 100%;\n min-height: 88px;\n padding: 10px 12px;\n border: 1px solid var(--rd-border);\n border-radius: 8px;\n background: var(--rd-surface);\n color: var(--rd-text-primary);\n font-family: inherit;\n font-size: 13.5px;\n line-height: 1.5;\n resize: vertical;\n transition: border-color 140ms ease, box-shadow 140ms ease;\n }\n .comment-textarea::placeholder { color: var(--rd-text-disabled); }\n .comment-textarea:hover { border-color: var(--rd-border-strong); }\n .comment-textarea:focus {\n outline: none;\n border-color: var(--rd-brand);\n box-shadow: 0 0 0 2px color-mix(in srgb, var(--rd-brand) 18%, transparent);\n }\n\n /* \u2500\u2500\u2500 Consent note \u2500\u2500\u2500 */\n .consent-note {\n display: flex;\n gap: 10px;\n align-items: flex-start;\n padding: 12px 14px;\n background: color-mix(in srgb, var(--rd-brand) 6%, var(--rd-surface));\n border: 1px solid color-mix(in srgb, var(--rd-brand) 22%, var(--rd-border));\n border-radius: 8px;\n }\n .consent-note > i {\n color: var(--rd-brand);\n font-size: 14px;\n margin-top: 2px;\n flex-shrink: 0;\n }\n .consent-body { flex: 1; min-width: 0; }\n .consent-text {\n margin: 0;\n font-size: 12.5px;\n line-height: 1.5;\n color: var(--rd-text-secondary);\n }\n .consent-text strong { color: var(--rd-text-primary); font-weight: 600; }\n .consent-checkbox {\n display: flex;\n align-items: center;\n gap: 8px;\n margin-top: 10px;\n font-size: 12.5px;\n color: var(--rd-text-primary);\n font-weight: 500;\n cursor: pointer;\n user-select: none;\n }\n .consent-checkbox input {\n width: 15px;\n height: 15px;\n cursor: pointer;\n accent-color: var(--rd-brand);\n }\n .consent-warning {\n margin: 6px 0 0 23px;\n font-size: 11px;\n color: var(--rd-low);\n font-weight: 500;\n }\n "] }]
|
|
280
|
-
}], null, {
|
|
396
|
+
}], null, { Message: [{
|
|
397
|
+
type: Input
|
|
398
|
+
}], message: [{
|
|
399
|
+
type: Input
|
|
400
|
+
}], InitialRating: [{
|
|
281
401
|
type: Input
|
|
282
402
|
}], initialRating: [{
|
|
283
403
|
type: Input
|
|
404
|
+
}], InitialComments: [{
|
|
405
|
+
type: Input
|
|
284
406
|
}], initialComments: [{
|
|
285
407
|
type: Input
|
|
408
|
+
}], RequireConsent: [{
|
|
409
|
+
type: Input
|
|
286
410
|
}], requireConsent: [{
|
|
287
411
|
type: Input
|
|
288
412
|
}] }); })();
|