@acorex-platform/module-help-desk-client 2.0.0-next.7 → 2.0.0-next.9
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/fesm2022/{acorex-platform-module-help-desk-client-acorex-platform-module-help-desk-client-CmtJl7n_.mjs → acorex-platform-module-help-desk-client-acorex-platform-module-help-desk-client-DqUDQ2EZ.mjs} +7 -7
- package/fesm2022/{acorex-platform-module-help-desk-client-acorex-platform-module-help-desk-client-CmtJl7n_.mjs.map → acorex-platform-module-help-desk-client-acorex-platform-module-help-desk-client-DqUDQ2EZ.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-help-desk-client-capture-screen.component-Bdlm1vQc.mjs → acorex-platform-module-help-desk-client-capture-screen.component-B34neMIs.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-help-desk-client-capture-screen.component-Bdlm1vQc.mjs.map → acorex-platform-module-help-desk-client-capture-screen.component-B34neMIs.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-help-desk-client-download-log-file.command-C9N7vqD7.mjs → acorex-platform-module-help-desk-client-download-log-file.command-ZUZQY5le.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-help-desk-client-download-log-file.command-C9N7vqD7.mjs.map → acorex-platform-module-help-desk-client-download-log-file.command-ZUZQY5le.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-help-desk-client-report-new-issue.component-c_v6CbOy.mjs → acorex-platform-module-help-desk-client-report-new-issue.component-tJF-fzdM.mjs} +3 -3
- package/fesm2022/{acorex-platform-module-help-desk-client-report-new-issue.component-c_v6CbOy.mjs.map → acorex-platform-module-help-desk-client-report-new-issue.component-tJF-fzdM.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-help-desk-client-show-report-issue.command-vInS0ITH.mjs → acorex-platform-module-help-desk-client-show-report-issue.command-C1zXNDZ7.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-help-desk-client-show-report-issue.command-vInS0ITH.mjs.map → acorex-platform-module-help-desk-client-show-report-issue.command-C1zXNDZ7.mjs.map} +1 -1
- package/fesm2022/acorex-platform-module-help-desk-client.mjs +1 -1
- package/package.json +1 -1
|
@@ -359,7 +359,7 @@ const AXMCaptureScreenService = signalStore({ providedIn: 'root' }, withState(()
|
|
|
359
359
|
return {
|
|
360
360
|
init: async (onFinish) => {
|
|
361
361
|
try {
|
|
362
|
-
const { AXMCaptureScreenComponent } = await import('./acorex-platform-module-help-desk-client-capture-screen.component-
|
|
362
|
+
const { AXMCaptureScreenComponent } = await import('./acorex-platform-module-help-desk-client-capture-screen.component-B34neMIs.mjs');
|
|
363
363
|
const viewContainerRef = application.components[0].injector.get(ViewContainerRef);
|
|
364
364
|
componentRef = viewContainerRef.createComponent(AXMCaptureScreenComponent);
|
|
365
365
|
document.body.appendChild(componentRef.location.nativeElement);
|
|
@@ -527,7 +527,7 @@ const AXMReportNewIssueViewModel = signalStore({ providedIn: 'root' }, withState
|
|
|
527
527
|
try {
|
|
528
528
|
let title = '';
|
|
529
529
|
const result = await dialogOpener.openPopup({
|
|
530
|
-
load: () => import('./acorex-platform-module-help-desk-client-report-new-issue.component-
|
|
530
|
+
load: () => import('./acorex-platform-module-help-desk-client-report-new-issue.component-tJF-fzdM.mjs').then((module) => module.AXMReportNewIssueComponent),
|
|
531
531
|
data: { report: 'new-issue' },
|
|
532
532
|
prepare: async () => {
|
|
533
533
|
title = await translateService.translateAsync('@help-desk:report-new-issue.entities.report-new-issue.title');
|
|
@@ -672,11 +672,11 @@ class AXMHelpDeskModule {
|
|
|
672
672
|
provideCommandSetups([
|
|
673
673
|
{
|
|
674
674
|
key: 'show-report-issue',
|
|
675
|
-
command: () => import('./acorex-platform-module-help-desk-client-show-report-issue.command-
|
|
675
|
+
command: () => import('./acorex-platform-module-help-desk-client-show-report-issue.command-C1zXNDZ7.mjs').then((c) => c.AXMShowReportIssueCommand),
|
|
676
676
|
},
|
|
677
677
|
{
|
|
678
678
|
key: 'download-log-file',
|
|
679
|
-
command: () => import('./acorex-platform-module-help-desk-client-download-log-file.command-
|
|
679
|
+
command: () => import('./acorex-platform-module-help-desk-client-download-log-file.command-ZUZQY5le.mjs').then((c) => c.AXMDownloadLogFileCommand),
|
|
680
680
|
},
|
|
681
681
|
]),
|
|
682
682
|
], imports: [AXPComponentSlotModule.forChild({
|
|
@@ -739,11 +739,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
739
739
|
provideCommandSetups([
|
|
740
740
|
{
|
|
741
741
|
key: 'show-report-issue',
|
|
742
|
-
command: () => import('./acorex-platform-module-help-desk-client-show-report-issue.command-
|
|
742
|
+
command: () => import('./acorex-platform-module-help-desk-client-show-report-issue.command-C1zXNDZ7.mjs').then((c) => c.AXMShowReportIssueCommand),
|
|
743
743
|
},
|
|
744
744
|
{
|
|
745
745
|
key: 'download-log-file',
|
|
746
|
-
command: () => import('./acorex-platform-module-help-desk-client-download-log-file.command-
|
|
746
|
+
command: () => import('./acorex-platform-module-help-desk-client-download-log-file.command-ZUZQY5le.mjs').then((c) => c.AXMDownloadLogFileCommand),
|
|
747
747
|
},
|
|
748
748
|
]),
|
|
749
749
|
],
|
|
@@ -755,4 +755,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
755
755
|
*/
|
|
756
756
|
|
|
757
757
|
export { AXMReportNewIssueViewModel as A, AXMLogCaptureService as a, AXMCaptureScreenService as b, AXMHelpDeskModule as c, AXMMenuProvider as d, AXMPermissionDefinitionProvider as e, AXMReportedIssuesStatusProvider as f, AXMSettingProvider as g };
|
|
758
|
-
//# sourceMappingURL=acorex-platform-module-help-desk-client-acorex-platform-module-help-desk-client-
|
|
758
|
+
//# sourceMappingURL=acorex-platform-module-help-desk-client-acorex-platform-module-help-desk-client-DqUDQ2EZ.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-module-help-desk-client-acorex-platform-module-help-desk-client-CmtJl7n_.mjs","sources":["../../../../libs/modules/help-desk/client/src/lib/features/console-monitor/service/log-capture.service.ts","../../../../libs/modules/help-desk/client/src/lib/features/report-issue/reported-issues-status.provider.ts","../../../../libs/modules/help-desk/client/src/lib/permission-definition.provider.ts","../../../../libs/modules/help-desk/client/src/lib/menu.provider.ts","../../../../libs/modules/help-desk/client/src/lib/setting.provider.ts","../../../../libs/modules/help-desk/client/src/lib/components/capture-screen/services/capture-screen.service.ts","../../../../libs/modules/help-desk/client/src/lib/features/report-issue/services/report-new-issue.viewmodel.ts","../../../../libs/modules/help-desk/client/src/lib/features/report-issue/components/report-new-issue/slots/file-uploader-widget-extension/capture-screen.hook.ts","../../../../libs/modules/help-desk/client/src/lib/features/profile-page/help-desk-profile-sections.hook.ts","../../../../libs/modules/help-desk/client/src/lib/help-desk.module.ts","../../../../libs/modules/help-desk/client/src/acorex-platform-module-help-desk-client.ts"],"sourcesContent":["import { computed } from '@angular/core';\nimport { patchState, signalStore, withComputed, withMethods, withState } from '@ngrx/signals';\nimport { AXMLogCaptureState } from '../console-monitor.type';\n\nexport const AXMLogCaptureService = signalStore(\n { providedIn: 'root' },\n withState(() => {\n const state: AXMLogCaptureState = {\n logs: [],\n canCapture: false,\n };\n return state;\n }),\n withComputed((store) => ({\n canCaptureLog: computed(() => store.canCapture()),\n consoleLogs: computed(() => store.logs()),\n })),\n withMethods((store) => {\n const startCapturingLog = () => {\n patchState(store, { canCapture: true });\n };\n const finishCapturingLog = () => {\n patchState(store, { canCapture: false });\n };\n const addConsoleLog = (message: string) => {\n patchState(store, {\n logs: [...store.logs(), { type: 'log', message, timeStamp: new Date().toISOString() }],\n });\n };\n const addConsoleError = (message: string) => {\n patchState(store, {\n logs: [...store.logs(), { type: 'error', message, timeStamp: new Date().toISOString() }],\n });\n };\n const addConsoleWarning = (message: string) => {\n patchState(store, {\n logs: [...store.logs(), { type: 'warning', message, timeStamp: new Date().toISOString() }],\n });\n };\n return {\n startCapturingLog,\n finishCapturingLog,\n addConsoleLog,\n addConsoleError,\n addConsoleWarning,\n };\n }),\n);\n","//#region ---- Imports ----\n\nimport { AXPStatusDefinition, AXPStatusProvider, AXPStatusTransition } from '@acorex-platform/framework-shared/core';\nimport { RootConfig } from '@acorex-platform/module-help-desk-client/contracts';\n\n//#endregion\n\n//#region ---- Reported Issues Status Provider ----\n\nconst status = (name: string, title: string, color: string, options: Partial<AXPStatusDefinition> = {}): AXPStatusDefinition => ({\n name,\n title,\n color,\n ...options,\n});\n\nconst workflowCommand = (action: string): string =>\n `${RootConfig.module.name}.${RootConfig.entities.reportedIssues.name}:${action}`;\n\n/**\n * Provides lifecycle status definitions for reported issues.\n */\nexport class AXMReportedIssuesStatusProvider extends AXPStatusProvider {\n readonly key = 'help-desk.status.reported-issues';\n\n readonly statuses: AXPStatusDefinition[] = [\n status('new', '@help-desk:reported-issues.states.new', 'info', { isInitial: true, order: 1, generateView: true }),\n status('in-progress', '@help-desk:reported-issues.states.in-progress', 'primary', { order: 2, generateView: true }),\n status('pending', '@help-desk:reported-issues.states.pending', 'warning', { order: 3, generateView: true }),\n status('resolved', '@help-desk:reported-issues.states.resolved', 'success', { order: 4, generateView: true }),\n status('closed', '@help-desk:reported-issues.states.closed', 'neutral', { isFinal: true, order: 5, generateView: true }),\n ];\n\n readonly transitions: AXPStatusTransition[] = [\n { from: 'new', to: 'in-progress' },\n { from: 'in-progress', to: 'pending' },\n { from: 'in-progress', to: 'resolved' },\n { from: 'pending', to: 'in-progress' },\n { from: 'pending', to: 'resolved' },\n { from: 'resolved', to: 'closed' },\n ];\n\n readonly defaultStatus = 'new';\n}\n\n//#endregion\n\n","//#region ----- Imports -----\r\n\r\nimport {\r\n AXPPermissionDefinitionProvider,\r\n AXPPermissionDefinitionProviderContext,\r\n} from '@acorex-platform/framework-client/auth';\r\nimport {\n AXPCommonPermissionGroupKeys\n} from '@acorex-platform/module-common-client/contracts';\nimport {\n AXPCollaborationPermissionKeys\n} from '@acorex-platform/module-help-desk-client/contracts';\n\r\nimport { Injectable } from '@angular/core';\r\n\r\n//#endregion\r\n\r\n//#region ----- Permission Provider -----\r\n\r\n/**\r\n * Registers help desk capabilities into the shared Collaboration group.\r\n */\r\n@Injectable()\r\nexport class AXMPermissionDefinitionProvider implements AXPPermissionDefinitionProvider {\r\n async define(context: AXPPermissionDefinitionProviderContext): Promise<void> {\r\n const keys = AXPCollaborationPermissionKeys;\r\n const groups = AXPCommonPermissionGroupKeys;\r\n const P = '@common:collaboration.permissions';\r\n const G = '@common:permission-groups';\r\n\r\n context.addGroup(groups.Collaboration.Root, `${G}.collaboration.title`, `${G}.collaboration.description`, { order: 80 });\n\n context\n .addGroup(\n groups.Collaboration.HelpDesk,\n `${G}.collaboration-help-desk.title`,\n `${G}.collaboration-help-desk.description`,\n { parent: groups.Collaboration.Root, order: 40 },\n )\n .addPermission(keys.MaintainHelpDesk, `${P}.maintain-help-desk.title`, `${P}.maintain-help-desk.description`)\r\n .endPermission()\r\r\n .endGroup();\r\n }\r\n}\r\n\r\n//#endregion\r\n","import {\n AXPCommonMenuKeys\n} from '@acorex-platform/module-common-client/contracts';\nimport { AXPMenuProvider, AXPMenuProviderContext } from '@acorex-platform/framework-client/common';\nimport { AXPEntityService } from '@acorex-platform/framework-client/layout/entity';\nimport { inject } from '@angular/core';\nimport {\n RootConfig,\n AXPCollaborationPermissionKeys\n} from '@acorex-platform/module-help-desk-client/contracts';\nimport { AXPHelpDeskMenuKeys } from '@acorex-platform/module-help-desk-client/contracts';\n\nexport class AXMMenuProvider implements AXPMenuProvider {\n private entityService = inject(AXPEntityService);\n\n async provide(context: AXPMenuProviderContext): Promise<void> {\n const module = RootConfig.module;\n const keys = AXPCollaborationPermissionKeys;\n\n //#region ---- Configuration > Help Desk (Issue Types) ----\n\n const helpDeskConfigMenu = context.find(AXPCommonMenuKeys.HelpDeskConfig);\n if (!helpDeskConfigMenu.exists) {\n context.find(AXPCommonMenuKeys.Configuration).addItems([\n {\n name: AXPCommonMenuKeys.HelpDeskConfig,\n priority: 8940,\n text: '@general:menus.help-desk.title',\n icon: module.icon,\n type: 'menu',\n children: [],\n policy: {\n features: [module.name],\n permissions: [keys.MaintainHelpDesk],\n },\n },\n ]);\n }\n\n context.find(AXPCommonMenuKeys.HelpDeskConfig).addItems([\n {\n name: AXPHelpDeskMenuKeys.IssueTypes,\n text: '@help-desk:issue-types.menus.issue-types.title',\n path: this.entityService.createPath(module.name, RootConfig.entities.issueType.name),\n icon: RootConfig.entities.issueType.icon,\n priority: 1,\n policy: {\n features: [module.name],\n permissions: [keys.MaintainHelpDesk],\n },\n },\n ]);\n\n //#endregion\n\n //#region ---- Administration > Reported Issues ----\n\n context.find(AXPCommonMenuKeys.Administration).addItems([\n {\n name: `${AXPHelpDeskMenuKeys.ReportedIssues}:divider`,\n text: '',\n type: 'break',\n priority: 996,\n },\n {\n name: AXPHelpDeskMenuKeys.ReportedIssues,\n text: '@help-desk:reported-issues.menus.reported-issues.title',\n path: this.entityService.createPath(module.name, RootConfig.entities.reportedIssues.name),\n icon: RootConfig.entities.reportedIssues.icon,\n priority: 997,\n policy: {\n features: [module.name],\n permissions: [keys.MaintainHelpDesk],\n },\n },\n ]);\n\n //#endregion\n\n //#region ---- Help Menu Extensions (Requests & Issues, Report Issue) ----\n\n context.find(AXPCommonMenuKeys.Help).addItems([\n {\n name: AXPHelpDeskMenuKeys.Divider1,\n text: '',\n type: 'break',\n priority: 900004,\n },\n {\n name: AXPHelpDeskMenuKeys.MyReportedIssues,\n text: '@help-desk:my-reported-issues.menus.my-reported-issues.title',\n icon: RootConfig.entities.reportedIssues.icon,\n path: this.entityService.createPath(module.name, RootConfig.entities.reportedIssues.name),\n priority: 900005,\n policy: {\n features: [module.name],\n permissions: [keys.MaintainHelpDesk],\n },\n },\n ]);\n\n //#endregion\n }\n}\n","import { AXPSettingDefinitionProvider, AXPSettingDefinitionProviderContext } from '@acorex-platform/framework-client/common';\n\nexport class AXMSettingProvider implements AXPSettingDefinitionProvider {\n async provide(context: AXPSettingDefinitionProviderContext): Promise<void> {\n // context\n // // Add Form Template Group\n // .addGroup('form-template', 'Form Template', 'Settings related to form templates.', RootConfig.module.icon)\n // // Start Interface Section\n // .addSection('interface', 'UI Interface', 'Customize the user interface for forms.')\n // .addSetting({\n // key: 'history-panel',\n // title: 'Show History Panel',\n // scope: 'U',\n // isInherited: true,\n // defaultValue: false,\n // widget: {\n // type: AXPWidgetsCatalog.toggle,\n // },\n // description: 'Enable or disable the history panel for forms.',\n // validationRules: [\n // {\n // rule: 'required',\n // },\n // ],\n // })\n // .endSection()\n // .endGroup();\n }\n}\n","import { AXToastService } from '@acorex/components/toast';\nimport { AXTranslationService } from '@acorex/core/translation';\nimport { ApplicationRef, ComponentRef, inject, ViewContainerRef } from '@angular/core';\nimport { patchState, signalStore, withMethods, withState } from '@ngrx/signals';\nimport html2canvas from 'html2canvas';\nimport { Subject, take } from 'rxjs';\nimport { AXMLogCaptureService } from '../../../features';\nimport { CaptureResult, CaptureScreenState } from '../capture-screen.types';\n\nexport const AXMCaptureScreenService = signalStore(\n { providedIn: 'root' },\n withState(() => {\n const state: CaptureScreenState = {\n loading: false,\n captureMode: 'screenshot',\n screenshotBlob: '',\n videoBlob: '',\n muted: false,\n isRecording: false,\n timer: {\n second: 0,\n minute: 0,\n },\n onFinish: undefined,\n };\n return state;\n }),\n withMethods((store) => {\n let interval: number;\n let videoStream: MediaStream;\n let audioStream: MediaStream | null;\n let mediaRecorder: MediaRecorder;\n let recordedChunks: Blob[] = [];\n let componentRef: ComponentRef<any>;\n const toastService = inject(AXToastService);\n const translationService = inject(AXTranslationService);\n const application = inject(ApplicationRef);\n const logCaptureService = inject(AXMLogCaptureService);\n const stopRecorderSubject = new Subject<void>();\n\n const recordStream = async () => {\n logCaptureService.startCapturingLog();\n mediaRecorder = await new MediaRecorder(videoStream, {\n mimeType: 'video/mp4;codecs=avc1,mp4a.40.2',\n });\n patchState(store, { isRecording: true });\n mediaRecorder.start();\n startTimer();\n mediaRecorder.ondataavailable = (e: any) => {\n recordedChunks.push(e.data);\n };\n mediaRecorder.onstop = () => {\n stopRecorder();\n };\n videoStream.getVideoTracks()[0].onended = () => {\n stopRecorder();\n };\n };\n\n const finishRecording = async (result: CaptureResult | null) => {\n // if (store.onFinish() && result) {\n // store.onFinish()?.(result);\n // }\n logCaptureService.finishCapturingLog();\n store.onFinish()?.(result ?? false);\n resetState();\n componentRef.destroy();\n };\n\n const stopRecorder = async () => {\n await stopRecorderSubject.pipe(take(1)).subscribe(async () => {\n try {\n if (mediaRecorder && videoStream?.active) {\n await mediaRecorder.stop();\n if (audioStream) {\n audioStream.getTracks().forEach((track) => track.stop());\n }\n videoStream.getVideoTracks().forEach((track) => track.stop());\n clearInterval(interval);\n patchState(store, { isRecording: false, timer: { second: 0, minute: 0 } });\n setTimeout(() => {\n createVideoBlob();\n });\n }\n } catch (error) {\n console.error('Error stopping recorder:', error);\n finishRecording(null);\n }\n });\n stopRecorderSubject.next();\n };\n\n const createVideoBlob = () => {\n try {\n if (recordedChunks.length > 0) {\n const blob = new Blob(recordedChunks, {\n type: recordedChunks[0].type,\n });\n finishRecording({ blob, type: 'video' });\n }\n } catch (error) {\n console.error('Error creating video blob:', error);\n finishRecording(null);\n }\n };\n\n const startTimer = () => {\n interval = setInterval(() => {\n if (store.timer().minute === 5) {\n stopRecorder();\n setTimeout(async () => {\n toastService.show({\n color: 'warning',\n content: await translationService.translateAsync('@help-desk:report-new-issue.components.report-new-issue-form.recording-time-limit'),\n timeOut: 5000,\n });\n }, 100);\n } else if (store.timer().second === 59) {\n patchState(store, { timer: { minute: ++store.timer().minute, second: 0 } });\n } else {\n patchState(store, { timer: { minute: store.timer().minute, second: ++store.timer().second } });\n }\n }, 1000);\n };\n\n const resetState = () => {\n patchState(store, {\n loading: false,\n captureMode: 'screenshot',\n screenshotBlob: '',\n videoBlob: '',\n muted: false,\n isRecording: false,\n timer: {\n second: 0,\n minute: 0,\n },\n onFinish: undefined,\n });\n };\n\n return {\n init: async (onFinish: (data: CaptureResult | boolean) => any) => {\n try {\n const { AXMCaptureScreenComponent } = await import(\n '../components/capture-screen-component/capture-screen.component'\n );\n const viewContainerRef = application.components[0].injector.get(ViewContainerRef);\n componentRef = viewContainerRef.createComponent(AXMCaptureScreenComponent);\n document.body.appendChild(componentRef.location.nativeElement);\n patchState(store, { onFinish });\n } catch (error) {\n console.error('Error initializing capture screen:', error);\n onFinish?.({ blob: new Blob(), type: 'image' });\n }\n },\n cancelClick() {\n if (store.isRecording()) {\n stopRecorder();\n return;\n }\n this.changeCaptureMode();\n finishRecording(null);\n },\n changeCaptureMode() {\n patchState(store, {\n captureMode: store.captureMode() === 'screenshot' ? 'video' : 'screenshot',\n });\n },\n async mutedClick() {\n const enabled = store.muted();\n if (audioStream) {\n audioStream.getTracks().forEach((track) => (track.enabled = enabled));\n }\n patchState(store, { muted: !enabled });\n },\n async screenshotClick() {\n await patchState(store, { loading: true });\n const captureElement = document.getElementsByTagName('body')[0];\n setTimeout(() => {\n html2canvas(captureElement)\n .then(async (canvas: HTMLCanvasElement) => {\n try {\n const blob = await new Promise<Blob>((resolve, reject) => {\n canvas.toBlob(\n (nextBlob: Blob | null) =>\n nextBlob ? resolve(nextBlob) : reject(new Error('Failed to create blob')),\n 'image/png',\n );\n });\n finishRecording({ blob, type: 'image' });\n } catch (error: unknown) {\n console.error('Error creating screenshot:', error);\n finishRecording(null);\n }\n })\n .catch((error: unknown) => {\n console.error('Error capturing screenshot:', error);\n finishRecording(null);\n })\n .finally(() => {\n patchState(store, { loading: false });\n });\n });\n },\n async recordScreenClick() {\n if (!store.isRecording() && !videoStream?.active) {\n try {\n videoStream = await navigator.mediaDevices.getDisplayMedia({\n video: { displaySurface: 'monitor' },\n audio: true,\n });\n await this.getMicrophonePermission();\n await recordStream();\n } catch (error) {\n console.error('Error starting screen recording:', error);\n toastService.show({\n color: 'warning',\n content: await translationService.translateAsync('@help-desk:report-new-issue.components.report-new-issue-form.capture-screen-error'),\n timeOut: 5000,\n });\n finishRecording(null);\n }\n } else if (mediaRecorder) {\n stopRecorder();\n }\n },\n async getMicrophonePermission() {\n try {\n audioStream = await navigator.mediaDevices.getUserMedia({\n audio: {\n echoCancellation: true,\n noiseSuppression: true,\n sampleRate: 44100,\n autoGainControl: true,\n },\n });\n if (audioStream && videoStream) {\n videoStream.addTrack(audioStream.getTracks()[0]);\n audioStream.getTracks()[0].enabled = !store.muted();\n }\n } catch (error) {\n console.error('Error getting microphone permission:', error);\n toastService.show({\n color: 'warning',\n content: await translationService.translateAsync('@help-desk:report-new-issue.components.report-new-issue-form.get-microphone-error'),\n timeOut: 5000,\n });\n audioStream = null;\n }\n },\n };\n }),\n);\n","import { AXPopupService } from '@acorex/components/popup';\nimport { AXTranslationService } from '@acorex/core/translation';\nimport { AXPDialogOpener, AXPEntityBroadcastService, AXPDataGenerator } from '@acorex-platform/framework-client/core';\nimport type { AXPFileListItem } from '@acorex-platform/framework-shared/core';\nimport { computed, inject } from '@angular/core';\nimport { patchState, signalStore, withComputed, withMethods, withState } from '@ngrx/signals';\nimport { AXMCaptureScreenService } from '../../../components/capture-screen';\nimport { RootConfig } from '@acorex-platform/module-help-desk-client/contracts';\nimport { AXMLogCaptureService } from '../../console-monitor';\nimport { ReportIssueState } from '../report-issue.types';\n\nexport const AXMReportNewIssueViewModel = signalStore(\n { providedIn: 'root' },\n withState(() => {\n const state: ReportIssueState = {\n id: AXPDataGenerator.uuid(),\n data: {\n title: '',\n description: '',\n issueType: {} as { title: string; id: string },\n priority: {} as { title: string; id: string },\n },\n status: 'new',\n media: [],\n };\n return state;\n }),\n withComputed(({ status }) => ({\n isRecording: computed(() => status() === 'recording'),\n })),\n withMethods(\n (\n store,\n popupService = inject(AXPopupService),\n dialogOpener = inject(AXPDialogOpener),\n captureScreenService = inject(AXMCaptureScreenService),\n logCaptureService = inject(AXMLogCaptureService),\n entityEvents = inject(AXPEntityBroadcastService),\n translateService = inject(AXTranslationService),\n ) => {\n const createMediaItem = (name: string, mediaUrl: string): AXPFileListItem => ({\n id: AXPDataGenerator.uuid(),\n name,\n status: 'attached',\n source: {\n kind: 'url',\n value: mediaUrl,\n },\n });\n return {\n async startCapturing() {\n patchState(store, { status: 'recording' });\n captureScreenService.init(async (data: boolean | { blob: Blob; type: string }) => {\n try {\n if (typeof data === 'object' && 'blob' in data) {\n const newMedia: AXPFileListItem[] = [];\n const mediaUrl = await URL.createObjectURL(data.blob);\n const fileName = `${new Date().toISOString()}.${data.type === 'image' ? 'png' : 'mp4'}`;\n newMedia.push(createMediaItem(fileName, mediaUrl));\n if (data.type === 'video') {\n const data = JSON.stringify(await logCaptureService.logs());\n const logFileName = `logs-${new Date().toLocaleDateString(translateService.getActiveLang())}.txt`;\n const blobLogFile = await new Blob([data], { type: 'text/txt;charset=utf-8' });\n const logFileMediaUrl = await URL.createObjectURL(blobLogFile);\n newMedia.push(createMediaItem(logFileName, logFileMediaUrl));\n }\n patchState(store, {\n media: [...store.media(), ...newMedia],\n status: 'recorded',\n });\n }\n this.showPopup();\n } catch (error) {\n console.error('Error capturing media:', error);\n return undefined;\n }\n });\n },\n async showPopup() {\n try {\n let title = '';\n const result = await dialogOpener.openPopup({\n load: () =>\n import('../components/report-new-issue/report-new-issue.component').then(\n (module) => module.AXMReportNewIssueComponent,\n ),\n data: { report: 'new-issue' },\n prepare: async () => {\n title = await translateService.translateAsync(\n '@help-desk:report-new-issue.entities.report-new-issue.title',\n );\n },\n show: (component) => popupService.open(component, { title }),\n });\n if (result?.data?.insertResult) {\n entityEvents.publishLayoutRefresh('reported-issues');\n patchState(store, { status: 'new' });\n }\n } catch (error) {\n console.error('Error showing popup:', error);\n patchState(store, { status: 'new' });\n }\n },\n deleteCapturedItem(index: number) {\n patchState(store, { media: store.media().filter((_, i) => i !== index) });\n },\n resetState() {\n patchState(store, {\n id: AXPDataGenerator.uuid(),\n data: {\n title: '',\n description: '',\n issueType: {} as { title: string; id: string },\n priority: {} as { title: string; id: string },\n },\n status: 'new',\n media: [],\n });\n },\n };\n },\n ),\n);\n","import { inject } from '@angular/core';\r\nimport { AXPHookProvider } from '@acorex-platform/framework-client/core';\r\nimport { AXMReportNewIssueViewModel } from '../../../../services/report-new-issue.viewmodel';\r\n\r\nexport const CaptureScreenHookProvider: AXPHookProvider<any, any> = {\r\n key: 'file-uploader.actions',\r\n priority: 0,\r\n execute: (payload: { host: any; plugins: { name: string; options?: unknown }[]; excludePlugins: string[]; actions: any[] }) => {\r\n const vm = inject(AXMReportNewIssueViewModel);\r\n\r\n const isExcluded = Array.isArray(payload.excludePlugins) && payload.excludePlugins.includes('capture-screen');\r\n // show if plugin is explicitly enabled or it's global and not excluded\r\n const isEnabled = Array.isArray(payload.plugins) && payload.plugins.some(p => p.name === 'capture-screen');\r\n if (!isEnabled && isExcluded) {\r\n return payload;\r\n }\r\n\r\n payload.actions = [\r\n ...payload.actions,\r\n {\r\n plugin: 'capture-screen',\r\n global: false,\r\n textKey: '@help-desk:report-new-issue.components.report-new-issue-form.capture-screen',\r\n icon: 'fa-light fa-video',\r\n run: async () => {\r\n vm.startCapturing();\r\n },\r\n },\r\n ];\r\n\r\n return payload;\r\n },\r\n};\r\n\r\n\r\n","import { AXPExecuteCommand } from '@acorex-platform/framework-shared/core';\r\nimport { AXPHookProvider } from '@acorex-platform/framework-client/core';\r\n\r\n//#region ---- Types ----\r\n\r\ntype ProfileSectionsPayload = {\r\n sections: Record<string, unknown>[];\r\n groupId?: string;\r\n};\r\n\r\n//#endregion\r\n\r\n//#region ---- Helpers ----\r\n\r\nconst comingSoon = (messageKey: string): AXPExecuteCommand => ({\r\n name: 'auth:profile-coming-soon',\r\n options: { messageKey },\r\n});\r\n\r\n//#endregion\r\n\r\n//#region ---- Help desk profile sections ----\r\n\r\n/** Contributes help desk sections to the user profile hub. */\r\nexport const HelpDeskProfileSectionsHookProvider: AXPHookProvider<\r\n ProfileSectionsPayload,\r\n ProfileSectionsPayload\r\n> = {\r\n key: 'profile-page.sections',\r\n priority: 10,\r\n execute: (payload) => {\r\n if (payload.groupId && payload.groupId !== 'requests') {\r\n return payload;\r\n }\r\n\r\n return {\r\n ...payload,\r\n sections: [\r\n ...payload.sections,\r\n {\r\n id: 'my-tickets',\r\n groupId: 'requests',\r\n title: '@help-desk:profile-page.sections.my-tickets.title',\r\n description: '@help-desk:profile-page.sections.my-tickets.description',\r\n icon: 'far fa-ticket',\r\n priority: 10,\r\n layout: { colSpan: 6 },\r\n actions: [\r\n {\r\n name: 'view-my-tickets',\r\n title: '@help-desk:profile-page.sections.my-tickets.actions.manage',\r\n icon: 'far fa-arrow-right',\r\n command: comingSoon('@help-desk:profile-page.commands.view-my-tickets.coming-soon'),\r\n },\r\n ],\r\n },\r\n ],\r\n };\r\n },\r\n};\r\n\r\n//#endregion\r\n","import { AXPComponentSlotModule } from '@acorex-platform/framework-client/core';\nimport { provideCommandSetups } from '@acorex-platform/framework-client/runtime';\nimport { NgModule } from '@angular/core';\nimport { AXP_HOOK_PROVIDER } from '@acorex-platform/framework-client/core';\nimport { AXP_STATUS_PROVIDERS, AXP_MENU_PROVIDER, AXP_SETTING_DEFINITION_PROVIDER } from '@acorex-platform/framework-client/common';\nimport { AXP_PERMISSION_DEFINITION_PROVIDER } from '@acorex-platform/framework-client/auth';\nimport { AXMPermissionDefinitionProvider } from './permission-definition.provider';\nimport { AXMMenuProvider } from './menu.provider';\n\r\nimport { AXMSettingProvider } from './setting.provider';\n\r\nimport { CaptureScreenHookProvider } from './features/report-issue/components/report-new-issue/slots/file-uploader-widget-extension';\nimport { HelpDeskProfileSectionsHookProvider } from './features/profile-page/help-desk-profile-sections.hook';\nimport { AXMReportedIssuesStatusProvider } from './features/report-issue/reported-issues-status.provider';\n\r\n@NgModule({\r\n imports: [\r\n AXPComponentSlotModule.forChild({\r\n // 'file-uploader-widget-actions': [\r\n // {\r\n // name: 'capture-screen-actions',\r\n // component: AXPCaptureScreenWidgetExtensionComponent,\r\n // },\r\n // ],\r\n }),\r\n ],\r\n exports: [],\r\n declarations: [],\r\n providers: [\r\n // Module-specific providers (not part of manifest system)\r\n {\r\n provide: AXP_STATUS_PROVIDERS,\r\n useClass: AXMReportedIssuesStatusProvider,\r\n multi: true,\r\n },\r\n {\r\n provide: AXP_HOOK_PROVIDER,\r\n useValue: CaptureScreenHookProvider,\r\n multi: true,\r\n },\r\n {\r\n provide: AXP_HOOK_PROVIDER,\r\n useValue: HelpDeskProfileSectionsHookProvider,\r\n multi: true,\r\n },\r\n // Provider references (now using tokens)\r\n {\r\n provide: AXP_PERMISSION_DEFINITION_PROVIDER,\r\n useClass: AXMPermissionDefinitionProvider,\r\n multi: true,\r\n },\r\n {\r\n provide: AXP_MENU_PROVIDER,\r\n useClass: AXMMenuProvider,\r\n multi: true,\r\n },\r\n \r\n {\r\n provide: AXP_SETTING_DEFINITION_PROVIDER,\r\n useClass: AXMSettingProvider,\r\n multi: true,\r\n },\r\n provideCommandSetups([\r\n {\r\n key: 'show-report-issue',\r\n command: () =>\r\n import('./features/report-issue/commands/show-report-issue.command').then((c) => c.AXMShowReportIssueCommand),\r\n },\r\n {\r\n key: 'download-log-file',\r\n command: () =>\r\n import('./features/report-issue/commands/download-log-file.command').then((c) => c.AXMDownloadLogFileCommand),\r\n },\r\n ]),\r\n ],\r\n})\r\nexport class AXMHelpDeskModule { }\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAIO,MAAM,oBAAoB,GAAG,WAAW,CAC7C,EAAE,UAAU,EAAE,MAAM,EAAE,EACtB,SAAS,CAAC,MAAK;AACb,IAAA,MAAM,KAAK,GAAuB;AAChC,QAAA,IAAI,EAAE,EAAE;AACR,QAAA,UAAU,EAAE,KAAK;KAClB;AACD,IAAA,OAAO,KAAK;AACd,CAAC,CAAC,EACF,YAAY,CAAC,CAAC,KAAK,MAAM;IACvB,aAAa,EAAE,QAAQ,CAAC,MAAM,KAAK,CAAC,UAAU,EAAE,CAAC;IACjD,WAAW,EAAE,QAAQ,CAAC,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AAC;AACH,qBAAA;AACF,iBAAA;;;AC3ED;;AAEG;;"}
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-help-desk-client-acorex-platform-module-help-desk-client-DqUDQ2EZ.mjs","sources":["../../../../libs/modules/help-desk/client/src/lib/features/console-monitor/service/log-capture.service.ts","../../../../libs/modules/help-desk/client/src/lib/features/report-issue/reported-issues-status.provider.ts","../../../../libs/modules/help-desk/client/src/lib/permission-definition.provider.ts","../../../../libs/modules/help-desk/client/src/lib/menu.provider.ts","../../../../libs/modules/help-desk/client/src/lib/setting.provider.ts","../../../../libs/modules/help-desk/client/src/lib/components/capture-screen/services/capture-screen.service.ts","../../../../libs/modules/help-desk/client/src/lib/features/report-issue/services/report-new-issue.viewmodel.ts","../../../../libs/modules/help-desk/client/src/lib/features/report-issue/components/report-new-issue/slots/file-uploader-widget-extension/capture-screen.hook.ts","../../../../libs/modules/help-desk/client/src/lib/features/profile-page/help-desk-profile-sections.hook.ts","../../../../libs/modules/help-desk/client/src/lib/help-desk.module.ts","../../../../libs/modules/help-desk/client/src/acorex-platform-module-help-desk-client.ts"],"sourcesContent":["import { computed } from '@angular/core';\nimport { patchState, signalStore, withComputed, withMethods, withState } from '@ngrx/signals';\nimport { AXMLogCaptureState } from '../console-monitor.type';\n\nexport const AXMLogCaptureService = signalStore(\n { providedIn: 'root' },\n withState(() => {\n const state: AXMLogCaptureState = {\n logs: [],\n canCapture: false,\n };\n return state;\n }),\n withComputed((store) => ({\n canCaptureLog: computed(() => store.canCapture()),\n consoleLogs: computed(() => store.logs()),\n })),\n withMethods((store) => {\n const startCapturingLog = () => {\n patchState(store, { canCapture: true });\n };\n const finishCapturingLog = () => {\n patchState(store, { canCapture: false });\n };\n const addConsoleLog = (message: string) => {\n patchState(store, {\n logs: [...store.logs(), { type: 'log', message, timeStamp: new Date().toISOString() }],\n });\n };\n const addConsoleError = (message: string) => {\n patchState(store, {\n logs: [...store.logs(), { type: 'error', message, timeStamp: new Date().toISOString() }],\n });\n };\n const addConsoleWarning = (message: string) => {\n patchState(store, {\n logs: [...store.logs(), { type: 'warning', message, timeStamp: new Date().toISOString() }],\n });\n };\n return {\n startCapturingLog,\n finishCapturingLog,\n addConsoleLog,\n addConsoleError,\n addConsoleWarning,\n };\n }),\n);\n","//#region ---- Imports ----\n\nimport { AXPStatusDefinition, AXPStatusProvider, AXPStatusTransition } from '@acorex-platform/framework-shared/core';\nimport { RootConfig } from '@acorex-platform/module-help-desk-client/contracts';\n\n//#endregion\n\n//#region ---- Reported Issues Status Provider ----\n\nconst status = (name: string, title: string, color: string, options: Partial<AXPStatusDefinition> = {}): AXPStatusDefinition => ({\n name,\n title,\n color,\n ...options,\n});\n\nconst workflowCommand = (action: string): string =>\n `${RootConfig.module.name}.${RootConfig.entities.reportedIssues.name}:${action}`;\n\n/**\n * Provides lifecycle status definitions for reported issues.\n */\nexport class AXMReportedIssuesStatusProvider extends AXPStatusProvider {\n readonly key = 'help-desk.status.reported-issues';\n\n readonly statuses: AXPStatusDefinition[] = [\n status('new', '@help-desk:reported-issues.states.new', 'info', { isInitial: true, order: 1, generateView: true }),\n status('in-progress', '@help-desk:reported-issues.states.in-progress', 'primary', { order: 2, generateView: true }),\n status('pending', '@help-desk:reported-issues.states.pending', 'warning', { order: 3, generateView: true }),\n status('resolved', '@help-desk:reported-issues.states.resolved', 'success', { order: 4, generateView: true }),\n status('closed', '@help-desk:reported-issues.states.closed', 'neutral', { isFinal: true, order: 5, generateView: true }),\n ];\n\n readonly transitions: AXPStatusTransition[] = [\n { from: 'new', to: 'in-progress' },\n { from: 'in-progress', to: 'pending' },\n { from: 'in-progress', to: 'resolved' },\n { from: 'pending', to: 'in-progress' },\n { from: 'pending', to: 'resolved' },\n { from: 'resolved', to: 'closed' },\n ];\n\n readonly defaultStatus = 'new';\n}\n\n//#endregion\n\n","//#region ----- Imports -----\r\n\r\nimport {\r\n AXPPermissionDefinitionProvider,\r\n AXPPermissionDefinitionProviderContext,\r\n} from '@acorex-platform/framework-client/auth';\r\nimport {\n AXPCommonPermissionGroupKeys\n} from '@acorex-platform/module-common-client/contracts';\nimport {\n AXPCollaborationPermissionKeys\n} from '@acorex-platform/module-help-desk-client/contracts';\n\r\nimport { Injectable } from '@angular/core';\r\n\r\n//#endregion\r\n\r\n//#region ----- Permission Provider -----\r\n\r\n/**\r\n * Registers help desk capabilities into the shared Collaboration group.\r\n */\r\n@Injectable()\r\nexport class AXMPermissionDefinitionProvider implements AXPPermissionDefinitionProvider {\r\n async define(context: AXPPermissionDefinitionProviderContext): Promise<void> {\r\n const keys = AXPCollaborationPermissionKeys;\r\n const groups = AXPCommonPermissionGroupKeys;\r\n const P = '@common:collaboration.permissions';\r\n const G = '@common:permission-groups';\r\n\r\n context.addGroup(groups.Collaboration.Root, `${G}.collaboration.title`, `${G}.collaboration.description`, { order: 80 });\n\n context\n .addGroup(\n groups.Collaboration.HelpDesk,\n `${G}.collaboration-help-desk.title`,\n `${G}.collaboration-help-desk.description`,\n { parent: groups.Collaboration.Root, order: 40 },\n )\n .addPermission(keys.MaintainHelpDesk, `${P}.maintain-help-desk.title`, `${P}.maintain-help-desk.description`)\r\n .endPermission()\r\r\n .endGroup();\r\n }\r\n}\r\n\r\n//#endregion\r\n","import {\n AXPCommonMenuKeys\n} from '@acorex-platform/module-common-client/contracts';\nimport { AXPMenuProvider, AXPMenuProviderContext } from '@acorex-platform/framework-client/common';\nimport { AXPEntityService } from '@acorex-platform/framework-client/layout/entity';\nimport { inject } from '@angular/core';\nimport {\n RootConfig,\n AXPCollaborationPermissionKeys\n} from '@acorex-platform/module-help-desk-client/contracts';\nimport { AXPHelpDeskMenuKeys } from '@acorex-platform/module-help-desk-client/contracts';\n\nexport class AXMMenuProvider implements AXPMenuProvider {\n private entityService = inject(AXPEntityService);\n\n async provide(context: AXPMenuProviderContext): Promise<void> {\n const module = RootConfig.module;\n const keys = AXPCollaborationPermissionKeys;\n\n //#region ---- Configuration > Help Desk (Issue Types) ----\n\n const helpDeskConfigMenu = context.find(AXPCommonMenuKeys.HelpDeskConfig);\n if (!helpDeskConfigMenu.exists) {\n context.find(AXPCommonMenuKeys.Configuration).addItems([\n {\n name: AXPCommonMenuKeys.HelpDeskConfig,\n priority: 8940,\n text: '@general:menus.help-desk.title',\n icon: module.icon,\n type: 'menu',\n children: [],\n policy: {\n features: [module.name],\n permissions: [keys.MaintainHelpDesk],\n },\n },\n ]);\n }\n\n context.find(AXPCommonMenuKeys.HelpDeskConfig).addItems([\n {\n name: AXPHelpDeskMenuKeys.IssueTypes,\n text: '@help-desk:issue-types.menus.issue-types.title',\n path: this.entityService.createPath(module.name, RootConfig.entities.issueType.name),\n icon: RootConfig.entities.issueType.icon,\n priority: 1,\n policy: {\n features: [module.name],\n permissions: [keys.MaintainHelpDesk],\n },\n },\n ]);\n\n //#endregion\n\n //#region ---- Administration > Reported Issues ----\n\n context.find(AXPCommonMenuKeys.Administration).addItems([\n {\n name: `${AXPHelpDeskMenuKeys.ReportedIssues}:divider`,\n text: '',\n type: 'break',\n priority: 996,\n },\n {\n name: AXPHelpDeskMenuKeys.ReportedIssues,\n text: '@help-desk:reported-issues.menus.reported-issues.title',\n path: this.entityService.createPath(module.name, RootConfig.entities.reportedIssues.name),\n icon: RootConfig.entities.reportedIssues.icon,\n priority: 997,\n policy: {\n features: [module.name],\n permissions: [keys.MaintainHelpDesk],\n },\n },\n ]);\n\n //#endregion\n\n //#region ---- Help Menu Extensions (Requests & Issues, Report Issue) ----\n\n context.find(AXPCommonMenuKeys.Help).addItems([\n {\n name: AXPHelpDeskMenuKeys.Divider1,\n text: '',\n type: 'break',\n priority: 900004,\n },\n {\n name: AXPHelpDeskMenuKeys.MyReportedIssues,\n text: '@help-desk:my-reported-issues.menus.my-reported-issues.title',\n icon: RootConfig.entities.reportedIssues.icon,\n path: this.entityService.createPath(module.name, RootConfig.entities.reportedIssues.name),\n priority: 900005,\n policy: {\n features: [module.name],\n permissions: [keys.MaintainHelpDesk],\n },\n },\n ]);\n\n //#endregion\n }\n}\n","import { AXPSettingDefinitionProvider, AXPSettingDefinitionProviderContext } from '@acorex-platform/framework-client/common';\n\nexport class AXMSettingProvider implements AXPSettingDefinitionProvider {\n async provide(context: AXPSettingDefinitionProviderContext): Promise<void> {\n // context\n // // Add Form Template Group\n // .addGroup('form-template', 'Form Template', 'Settings related to form templates.', RootConfig.module.icon)\n // // Start Interface Section\n // .addSection('interface', 'UI Interface', 'Customize the user interface for forms.')\n // .addSetting({\n // key: 'history-panel',\n // title: 'Show History Panel',\n // scope: 'U',\n // isInherited: true,\n // defaultValue: false,\n // widget: {\n // type: AXPWidgetsCatalog.toggle,\n // },\n // description: 'Enable or disable the history panel for forms.',\n // validationRules: [\n // {\n // rule: 'required',\n // },\n // ],\n // })\n // .endSection()\n // .endGroup();\n }\n}\n","import { AXToastService } from '@acorex/components/toast';\nimport { AXTranslationService } from '@acorex/core/translation';\nimport { ApplicationRef, ComponentRef, inject, ViewContainerRef } from '@angular/core';\nimport { patchState, signalStore, withMethods, withState } from '@ngrx/signals';\nimport html2canvas from 'html2canvas';\nimport { Subject, take } from 'rxjs';\nimport { AXMLogCaptureService } from '../../../features';\nimport { CaptureResult, CaptureScreenState } from '../capture-screen.types';\n\nexport const AXMCaptureScreenService = signalStore(\n { providedIn: 'root' },\n withState(() => {\n const state: CaptureScreenState = {\n loading: false,\n captureMode: 'screenshot',\n screenshotBlob: '',\n videoBlob: '',\n muted: false,\n isRecording: false,\n timer: {\n second: 0,\n minute: 0,\n },\n onFinish: undefined,\n };\n return state;\n }),\n withMethods((store) => {\n let interval: number;\n let videoStream: MediaStream;\n let audioStream: MediaStream | null;\n let mediaRecorder: MediaRecorder;\n let recordedChunks: Blob[] = [];\n let componentRef: ComponentRef<any>;\n const toastService = inject(AXToastService);\n const translationService = inject(AXTranslationService);\n const application = inject(ApplicationRef);\n const logCaptureService = inject(AXMLogCaptureService);\n const stopRecorderSubject = new Subject<void>();\n\n const recordStream = async () => {\n logCaptureService.startCapturingLog();\n mediaRecorder = await new MediaRecorder(videoStream, {\n mimeType: 'video/mp4;codecs=avc1,mp4a.40.2',\n });\n patchState(store, { isRecording: true });\n mediaRecorder.start();\n startTimer();\n mediaRecorder.ondataavailable = (e: any) => {\n recordedChunks.push(e.data);\n };\n mediaRecorder.onstop = () => {\n stopRecorder();\n };\n videoStream.getVideoTracks()[0].onended = () => {\n stopRecorder();\n };\n };\n\n const finishRecording = async (result: CaptureResult | null) => {\n // if (store.onFinish() && result) {\n // store.onFinish()?.(result);\n // }\n logCaptureService.finishCapturingLog();\n store.onFinish()?.(result ?? false);\n resetState();\n componentRef.destroy();\n };\n\n const stopRecorder = async () => {\n await stopRecorderSubject.pipe(take(1)).subscribe(async () => {\n try {\n if (mediaRecorder && videoStream?.active) {\n await mediaRecorder.stop();\n if (audioStream) {\n audioStream.getTracks().forEach((track) => track.stop());\n }\n videoStream.getVideoTracks().forEach((track) => track.stop());\n clearInterval(interval);\n patchState(store, { isRecording: false, timer: { second: 0, minute: 0 } });\n setTimeout(() => {\n createVideoBlob();\n });\n }\n } catch (error) {\n console.error('Error stopping recorder:', error);\n finishRecording(null);\n }\n });\n stopRecorderSubject.next();\n };\n\n const createVideoBlob = () => {\n try {\n if (recordedChunks.length > 0) {\n const blob = new Blob(recordedChunks, {\n type: recordedChunks[0].type,\n });\n finishRecording({ blob, type: 'video' });\n }\n } catch (error) {\n console.error('Error creating video blob:', error);\n finishRecording(null);\n }\n };\n\n const startTimer = () => {\n interval = setInterval(() => {\n if (store.timer().minute === 5) {\n stopRecorder();\n setTimeout(async () => {\n toastService.show({\n color: 'warning',\n content: await translationService.translateAsync('@help-desk:report-new-issue.components.report-new-issue-form.recording-time-limit'),\n timeOut: 5000,\n });\n }, 100);\n } else if (store.timer().second === 59) {\n patchState(store, { timer: { minute: ++store.timer().minute, second: 0 } });\n } else {\n patchState(store, { timer: { minute: store.timer().minute, second: ++store.timer().second } });\n }\n }, 1000);\n };\n\n const resetState = () => {\n patchState(store, {\n loading: false,\n captureMode: 'screenshot',\n screenshotBlob: '',\n videoBlob: '',\n muted: false,\n isRecording: false,\n timer: {\n second: 0,\n minute: 0,\n },\n onFinish: undefined,\n });\n };\n\n return {\n init: async (onFinish: (data: CaptureResult | boolean) => any) => {\n try {\n const { AXMCaptureScreenComponent } = await import(\n '../components/capture-screen-component/capture-screen.component'\n );\n const viewContainerRef = application.components[0].injector.get(ViewContainerRef);\n componentRef = viewContainerRef.createComponent(AXMCaptureScreenComponent);\n document.body.appendChild(componentRef.location.nativeElement);\n patchState(store, { onFinish });\n } catch (error) {\n console.error('Error initializing capture screen:', error);\n onFinish?.({ blob: new Blob(), type: 'image' });\n }\n },\n cancelClick() {\n if (store.isRecording()) {\n stopRecorder();\n return;\n }\n this.changeCaptureMode();\n finishRecording(null);\n },\n changeCaptureMode() {\n patchState(store, {\n captureMode: store.captureMode() === 'screenshot' ? 'video' : 'screenshot',\n });\n },\n async mutedClick() {\n const enabled = store.muted();\n if (audioStream) {\n audioStream.getTracks().forEach((track) => (track.enabled = enabled));\n }\n patchState(store, { muted: !enabled });\n },\n async screenshotClick() {\n await patchState(store, { loading: true });\n const captureElement = document.getElementsByTagName('body')[0];\n setTimeout(() => {\n html2canvas(captureElement)\n .then(async (canvas: HTMLCanvasElement) => {\n try {\n const blob = await new Promise<Blob>((resolve, reject) => {\n canvas.toBlob(\n (nextBlob: Blob | null) =>\n nextBlob ? resolve(nextBlob) : reject(new Error('Failed to create blob')),\n 'image/png',\n );\n });\n finishRecording({ blob, type: 'image' });\n } catch (error: unknown) {\n console.error('Error creating screenshot:', error);\n finishRecording(null);\n }\n })\n .catch((error: unknown) => {\n console.error('Error capturing screenshot:', error);\n finishRecording(null);\n })\n .finally(() => {\n patchState(store, { loading: false });\n });\n });\n },\n async recordScreenClick() {\n if (!store.isRecording() && !videoStream?.active) {\n try {\n videoStream = await navigator.mediaDevices.getDisplayMedia({\n video: { displaySurface: 'monitor' },\n audio: true,\n });\n await this.getMicrophonePermission();\n await recordStream();\n } catch (error) {\n console.error('Error starting screen recording:', error);\n toastService.show({\n color: 'warning',\n content: await translationService.translateAsync('@help-desk:report-new-issue.components.report-new-issue-form.capture-screen-error'),\n timeOut: 5000,\n });\n finishRecording(null);\n }\n } else if (mediaRecorder) {\n stopRecorder();\n }\n },\n async getMicrophonePermission() {\n try {\n audioStream = await navigator.mediaDevices.getUserMedia({\n audio: {\n echoCancellation: true,\n noiseSuppression: true,\n sampleRate: 44100,\n autoGainControl: true,\n },\n });\n if (audioStream && videoStream) {\n videoStream.addTrack(audioStream.getTracks()[0]);\n audioStream.getTracks()[0].enabled = !store.muted();\n }\n } catch (error) {\n console.error('Error getting microphone permission:', error);\n toastService.show({\n color: 'warning',\n content: await translationService.translateAsync('@help-desk:report-new-issue.components.report-new-issue-form.get-microphone-error'),\n timeOut: 5000,\n });\n audioStream = null;\n }\n },\n };\n }),\n);\n","import { AXPopupService } from '@acorex/components/popup';\nimport { AXTranslationService } from '@acorex/core/translation';\nimport { AXPDialogOpener, AXPEntityBroadcastService, AXPDataGenerator } from '@acorex-platform/framework-client/core';\nimport type { AXPFileListItem } from '@acorex-platform/framework-shared/core';\nimport { computed, inject } from '@angular/core';\nimport { patchState, signalStore, withComputed, withMethods, withState } from '@ngrx/signals';\nimport { AXMCaptureScreenService } from '../../../components/capture-screen';\nimport { RootConfig } from '@acorex-platform/module-help-desk-client/contracts';\nimport { AXMLogCaptureService } from '../../console-monitor';\nimport { ReportIssueState } from '../report-issue.types';\n\nexport const AXMReportNewIssueViewModel = signalStore(\n { providedIn: 'root' },\n withState(() => {\n const state: ReportIssueState = {\n id: AXPDataGenerator.uuid(),\n data: {\n title: '',\n description: '',\n issueType: {} as { title: string; id: string },\n priority: {} as { title: string; id: string },\n },\n status: 'new',\n media: [],\n };\n return state;\n }),\n withComputed(({ status }) => ({\n isRecording: computed(() => status() === 'recording'),\n })),\n withMethods(\n (\n store,\n popupService = inject(AXPopupService),\n dialogOpener = inject(AXPDialogOpener),\n captureScreenService = inject(AXMCaptureScreenService),\n logCaptureService = inject(AXMLogCaptureService),\n entityEvents = inject(AXPEntityBroadcastService),\n translateService = inject(AXTranslationService),\n ) => {\n const createMediaItem = (name: string, mediaUrl: string): AXPFileListItem => ({\n id: AXPDataGenerator.uuid(),\n name,\n status: 'attached',\n source: {\n kind: 'url',\n value: mediaUrl,\n },\n });\n return {\n async startCapturing() {\n patchState(store, { status: 'recording' });\n captureScreenService.init(async (data: boolean | { blob: Blob; type: string }) => {\n try {\n if (typeof data === 'object' && 'blob' in data) {\n const newMedia: AXPFileListItem[] = [];\n const mediaUrl = await URL.createObjectURL(data.blob);\n const fileName = `${new Date().toISOString()}.${data.type === 'image' ? 'png' : 'mp4'}`;\n newMedia.push(createMediaItem(fileName, mediaUrl));\n if (data.type === 'video') {\n const data = JSON.stringify(await logCaptureService.logs());\n const logFileName = `logs-${new Date().toLocaleDateString(translateService.getActiveLang())}.txt`;\n const blobLogFile = await new Blob([data], { type: 'text/txt;charset=utf-8' });\n const logFileMediaUrl = await URL.createObjectURL(blobLogFile);\n newMedia.push(createMediaItem(logFileName, logFileMediaUrl));\n }\n patchState(store, {\n media: [...store.media(), ...newMedia],\n status: 'recorded',\n });\n }\n this.showPopup();\n } catch (error) {\n console.error('Error capturing media:', error);\n return undefined;\n }\n });\n },\n async showPopup() {\n try {\n let title = '';\n const result = await dialogOpener.openPopup({\n load: () =>\n import('../components/report-new-issue/report-new-issue.component').then(\n (module) => module.AXMReportNewIssueComponent,\n ),\n data: { report: 'new-issue' },\n prepare: async () => {\n title = await translateService.translateAsync(\n '@help-desk:report-new-issue.entities.report-new-issue.title',\n );\n },\n show: (component) => popupService.open(component, { title }),\n });\n if (result?.data?.insertResult) {\n entityEvents.publishLayoutRefresh('reported-issues');\n patchState(store, { status: 'new' });\n }\n } catch (error) {\n console.error('Error showing popup:', error);\n patchState(store, { status: 'new' });\n }\n },\n deleteCapturedItem(index: number) {\n patchState(store, { media: store.media().filter((_, i) => i !== index) });\n },\n resetState() {\n patchState(store, {\n id: AXPDataGenerator.uuid(),\n data: {\n title: '',\n description: '',\n issueType: {} as { title: string; id: string },\n priority: {} as { title: string; id: string },\n },\n status: 'new',\n media: [],\n });\n },\n };\n },\n ),\n);\n","import { inject } from '@angular/core';\r\nimport { AXPHookProvider } from '@acorex-platform/framework-client/core';\r\nimport { AXMReportNewIssueViewModel } from '../../../../services/report-new-issue.viewmodel';\r\n\r\nexport const CaptureScreenHookProvider: AXPHookProvider<any, any> = {\r\n key: 'file-uploader.actions',\r\n priority: 0,\r\n execute: (payload: { host: any; plugins: { name: string; options?: unknown }[]; excludePlugins: string[]; actions: any[] }) => {\r\n const vm = inject(AXMReportNewIssueViewModel);\r\n\r\n const isExcluded = Array.isArray(payload.excludePlugins) && payload.excludePlugins.includes('capture-screen');\r\n // show if plugin is explicitly enabled or it's global and not excluded\r\n const isEnabled = Array.isArray(payload.plugins) && payload.plugins.some(p => p.name === 'capture-screen');\r\n if (!isEnabled && isExcluded) {\r\n return payload;\r\n }\r\n\r\n payload.actions = [\r\n ...payload.actions,\r\n {\r\n plugin: 'capture-screen',\r\n global: false,\r\n textKey: '@help-desk:report-new-issue.components.report-new-issue-form.capture-screen',\r\n icon: 'fa-light fa-video',\r\n run: async () => {\r\n vm.startCapturing();\r\n },\r\n },\r\n ];\r\n\r\n return payload;\r\n },\r\n};\r\n\r\n\r\n","import { AXPExecuteCommand } from '@acorex-platform/framework-shared/core';\r\nimport { AXPHookProvider } from '@acorex-platform/framework-client/core';\r\n\r\n//#region ---- Types ----\r\n\r\ntype ProfileSectionsPayload = {\r\n sections: Record<string, unknown>[];\r\n groupId?: string;\r\n};\r\n\r\n//#endregion\r\n\r\n//#region ---- Helpers ----\r\n\r\nconst comingSoon = (messageKey: string): AXPExecuteCommand => ({\r\n name: 'auth:profile-coming-soon',\r\n options: { messageKey },\r\n});\r\n\r\n//#endregion\r\n\r\n//#region ---- Help desk profile sections ----\r\n\r\n/** Contributes help desk sections to the user profile hub. */\r\nexport const HelpDeskProfileSectionsHookProvider: AXPHookProvider<\r\n ProfileSectionsPayload,\r\n ProfileSectionsPayload\r\n> = {\r\n key: 'profile-page.sections',\r\n priority: 10,\r\n execute: (payload) => {\r\n if (payload.groupId && payload.groupId !== 'requests') {\r\n return payload;\r\n }\r\n\r\n return {\r\n ...payload,\r\n sections: [\r\n ...payload.sections,\r\n {\r\n id: 'my-tickets',\r\n groupId: 'requests',\r\n title: '@help-desk:profile-page.sections.my-tickets.title',\r\n description: '@help-desk:profile-page.sections.my-tickets.description',\r\n icon: 'far fa-ticket',\r\n priority: 10,\r\n layout: { colSpan: 6 },\r\n actions: [\r\n {\r\n name: 'view-my-tickets',\r\n title: '@help-desk:profile-page.sections.my-tickets.actions.manage',\r\n icon: 'far fa-arrow-right',\r\n command: comingSoon('@help-desk:profile-page.commands.view-my-tickets.coming-soon'),\r\n },\r\n ],\r\n },\r\n ],\r\n };\r\n },\r\n};\r\n\r\n//#endregion\r\n","import { AXPComponentSlotModule } from '@acorex-platform/framework-client/core';\nimport { provideCommandSetups } from '@acorex-platform/framework-client/runtime';\nimport { NgModule } from '@angular/core';\nimport { AXP_HOOK_PROVIDER } from '@acorex-platform/framework-client/core';\nimport { AXP_STATUS_PROVIDERS, AXP_MENU_PROVIDER, AXP_SETTING_DEFINITION_PROVIDER } from '@acorex-platform/framework-client/common';\nimport { AXP_PERMISSION_DEFINITION_PROVIDER } from '@acorex-platform/framework-client/auth';\nimport { AXMPermissionDefinitionProvider } from './permission-definition.provider';\nimport { AXMMenuProvider } from './menu.provider';\n\r\nimport { AXMSettingProvider } from './setting.provider';\n\r\nimport { CaptureScreenHookProvider } from './features/report-issue/components/report-new-issue/slots/file-uploader-widget-extension';\nimport { HelpDeskProfileSectionsHookProvider } from './features/profile-page/help-desk-profile-sections.hook';\nimport { AXMReportedIssuesStatusProvider } from './features/report-issue/reported-issues-status.provider';\n\r\n@NgModule({\r\n imports: [\r\n AXPComponentSlotModule.forChild({\r\n // 'file-uploader-widget-actions': [\r\n // {\r\n // name: 'capture-screen-actions',\r\n // component: AXPCaptureScreenWidgetExtensionComponent,\r\n // },\r\n // ],\r\n }),\r\n ],\r\n exports: [],\r\n declarations: [],\r\n providers: [\r\n // Module-specific providers (not part of manifest system)\r\n {\r\n provide: AXP_STATUS_PROVIDERS,\r\n useClass: AXMReportedIssuesStatusProvider,\r\n multi: true,\r\n },\r\n {\r\n provide: AXP_HOOK_PROVIDER,\r\n useValue: CaptureScreenHookProvider,\r\n multi: true,\r\n },\r\n {\r\n provide: AXP_HOOK_PROVIDER,\r\n useValue: HelpDeskProfileSectionsHookProvider,\r\n multi: true,\r\n },\r\n // Provider references (now using tokens)\r\n {\r\n provide: AXP_PERMISSION_DEFINITION_PROVIDER,\r\n useClass: AXMPermissionDefinitionProvider,\r\n multi: true,\r\n },\r\n {\r\n provide: AXP_MENU_PROVIDER,\r\n useClass: AXMMenuProvider,\r\n multi: true,\r\n },\r\n \r\n {\r\n provide: AXP_SETTING_DEFINITION_PROVIDER,\r\n useClass: AXMSettingProvider,\r\n multi: true,\r\n },\r\n provideCommandSetups([\r\n {\r\n key: 'show-report-issue',\r\n command: () =>\r\n import('./features/report-issue/commands/show-report-issue.command').then((c) => c.AXMShowReportIssueCommand),\r\n },\r\n {\r\n key: 'download-log-file',\r\n command: () =>\r\n import('./features/report-issue/commands/download-log-file.command').then((c) => c.AXMDownloadLogFileCommand),\r\n },\r\n ]),\r\n ],\r\n})\r\nexport class AXMHelpDeskModule { }\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAIO,MAAM,oBAAoB,GAAG,WAAW,CAC7C,EAAE,UAAU,EAAE,MAAM,EAAE,EACtB,SAAS,CAAC,MAAK;AACb,IAAA,MAAM,KAAK,GAAuB;AAChC,QAAA,IAAI,EAAE,EAAE;AACR,QAAA,UAAU,EAAE,KAAK;KAClB;AACD,IAAA,OAAO,KAAK;AACd,CAAC,CAAC,EACF,YAAY,CAAC,CAAC,KAAK,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,OAAO,kFAA4D,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,yBAAyB,CAAC;AAChH,6BAAA;yBACF,CAAC;AACH,qBAAA;AACF,iBAAA;;;AC3ED;;AAEG;;"}
|
|
@@ -8,7 +8,7 @@ import * as i1 from '@angular/common';
|
|
|
8
8
|
import { CommonModule } from '@angular/common';
|
|
9
9
|
import * as i0 from '@angular/core';
|
|
10
10
|
import { inject, ChangeDetectionStrategy, ViewEncapsulation, Component } from '@angular/core';
|
|
11
|
-
import { b as AXMCaptureScreenService } from './acorex-platform-module-help-desk-client-acorex-platform-module-help-desk-client-
|
|
11
|
+
import { b as AXMCaptureScreenService } from './acorex-platform-module-help-desk-client-acorex-platform-module-help-desk-client-DqUDQ2EZ.mjs';
|
|
12
12
|
import * as i5 from '@acorex/core/format';
|
|
13
13
|
import { AXFormatModule } from '@acorex/core/format';
|
|
14
14
|
|
|
@@ -25,4 +25,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
25
25
|
}] });
|
|
26
26
|
|
|
27
27
|
export { AXMCaptureScreenComponent };
|
|
28
|
-
//# sourceMappingURL=acorex-platform-module-help-desk-client-capture-screen.component-
|
|
28
|
+
//# sourceMappingURL=acorex-platform-module-help-desk-client-capture-screen.component-B34neMIs.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-module-help-desk-client-capture-screen.component-
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-help-desk-client-capture-screen.component-B34neMIs.mjs","sources":["../../../../libs/modules/help-desk/client/src/lib/components/capture-screen/components/capture-screen-component/capture-screen.component.ts","../../../../libs/modules/help-desk/client/src/lib/components/capture-screen/components/capture-screen-component/capture-screen.component.html"],"sourcesContent":["import { AXButtonModule } from '@acorex/components/button';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXLoadingModule } from '@acorex/components/loading';\nimport { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, inject, ViewEncapsulation } from '@angular/core';\nimport { AXMCaptureScreenService } from '../../services/capture-screen.service';\nimport { AXFormatModule } from '@acorex/core/format';\n\n\n@Component({\n selector: 'axm-capture-screen',\n templateUrl: './capture-screen.component.html',\n styleUrls: ['./capture-screen.component.css'],\n imports: [CommonModule, AXButtonModule, AXDecoratorModule, AXLoadingModule, AXFormatModule],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class AXMCaptureScreenComponent {\n protected vm = inject(AXMCaptureScreenService);\n}\n","<div\n class=\"transition-all flex items-center gap-4 w-fit bg-surface border border-border-lighter shadow-md rounded-full fixed bottom-4 right-4 z-10\"\n>\n <section\n class=\"flex items-center justify-center gap-4\"\n [ngClass]=\"{ 'screenshot-hidden': vm.captureMode() === 'video' }\"\n >\n <ax-button look=\"outline\" color=\"primary\" class=\"ax-lg rounded-full\" (onClick)=\"vm.screenshotClick()\">\n @if (vm.loading()) {\n <ax-loading></ax-loading>\n } @else {\n <ax-prefix>\n <ax-icon class=\"fa-regular fa-camera\"></ax-icon>\n </ax-prefix>\n }\n </ax-button>\n <ax-button\n look=\"blank\"\n class=\"ax-lg rounded-full\"\n [ngClass]=\"{ 'recordVideo-move': vm.captureMode() === 'video' }\"\n (onClick)=\"vm.changeCaptureMode()\"\n >\n <ax-prefix>\n <ax-icon class=\"fa-regular fa-video\"></ax-icon>\n </ax-prefix>\n </ax-button>\n </section>\n <section\n class=\"hidden items-center justify-center gap-8\"\n [ngClass]=\"{ 'flex! recordContainer-show': vm.captureMode() === 'video' }\"\n >\n <div class=\"flex items-center justify-center gap-2\">\n <ax-button look=\"outline\" color=\"danger\" class=\"ax-lg rounded-full\" (onClick)=\"vm.recordScreenClick()\">\n <ax-prefix class=\"relative\">\n @if (vm.isRecording()) {\n <ax-icon\n class=\"fa-solid fa-circle absolute animate-twPing animate-infinite animate-duration-[1500ms] text-danger-400 opacity-75\"\n ></ax-icon>\n }\n <ax-icon class=\"fa-solid fa-circle\"></ax-icon>\n </ax-prefix>\n </ax-button>\n <ax-button look=\"blank\" class=\"ax-sm\" (onClick)=\"vm.mutedClick()\">\n <ax-prefix\n ><ax-icon class=\"fa-solid {{ vm.muted() ? 'fa-microphone' : 'fa-microphone-slash' }}\"></ax-icon\n ></ax-prefix>\n </ax-button>\n </div>\n <div class=\"flex items-center gap-2\">\n <p>\n {{ vm.timer().minute | format: 'number' : { zeroPadLength: 2 } | async }} :\n {{ vm.timer().second | format: 'number' : { zeroPadLength: 2 } | async }}\n </p>\n </div>\n </section>\n <ax-button look=\"blank\" class=\"rounded-full\" (onClick)=\"vm.cancelClick()\">\n <ax-prefix><ax-icon class=\"fa-solid fa-xmark\"></ax-icon></ax-prefix>\n </ax-button>\n</div>\n"],"names":[],"mappings":";;;;;;;;;;;;;;MAiBa,yBAAyB,CAAA;AARtC,IAAA,WAAA,GAAA;AASY,QAAA,IAAA,CAAA,EAAE,GAAG,MAAM,CAAC,uBAAuB,CAAC;AAC/C,IAAA;8GAFY,yBAAyB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAAzB,yBAAyB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,oBAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECjBtC,60EA2DA,EAAA,MAAA,EAAA,CAAA,gpBAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,ED9CY,YAAY,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,OAAA,EAAA,QAAA,EAAA,WAAA,EAAA,MAAA,EAAA,CAAA,OAAA,EAAA,SAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAE,cAAc,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EA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,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA;;2FAI/E,yBAAyB,EAAA,UAAA,EAAA,CAAA;kBARrC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,oBAAoB,WAGrB,CAAC,YAAY,EAAE,cAAc,EAAE,iBAAiB,EAAE,eAAe,EAAE,cAAc,CAAC,iBAC5E,iBAAiB,CAAC,IAAI,EAAA,eAAA,EACpB,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,60EAAA,EAAA,MAAA,EAAA,CAAA,gpBAAA,CAAA,EAAA;;;"}
|
|
@@ -2,7 +2,7 @@ import { AXTranslationService } from '@acorex/core/translation';
|
|
|
2
2
|
import { AXPExportService } from '@acorex-platform/framework-client/common';
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
4
|
import { inject, Injectable } from '@angular/core';
|
|
5
|
-
import { a as AXMLogCaptureService } from './acorex-platform-module-help-desk-client-acorex-platform-module-help-desk-client-
|
|
5
|
+
import { a as AXMLogCaptureService } from './acorex-platform-module-help-desk-client-acorex-platform-module-help-desk-client-DqUDQ2EZ.mjs';
|
|
6
6
|
|
|
7
7
|
//#region ----- Download log file command -----
|
|
8
8
|
class AXMDownloadLogFileCommand {
|
|
@@ -27,4 +27,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
27
27
|
}] });
|
|
28
28
|
|
|
29
29
|
export { AXMDownloadLogFileCommand };
|
|
30
|
-
//# sourceMappingURL=acorex-platform-module-help-desk-client-download-log-file.command-
|
|
30
|
+
//# sourceMappingURL=acorex-platform-module-help-desk-client-download-log-file.command-ZUZQY5le.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-module-help-desk-client-download-log-file.command-
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-help-desk-client-download-log-file.command-ZUZQY5le.mjs","sources":["../../../../libs/modules/help-desk/client/src/lib/features/report-issue/commands/download-log-file.command.ts"],"sourcesContent":["import { AXTranslationService } from '@acorex/core/translation';\nimport { AXPExportService } from '@acorex-platform/framework-client/common';\nimport { AXPCommand, type AXPCommandExecuteResultPromise } from '@acorex-platform/framework-shared/runtime';\nimport { inject, Injectable } from '@angular/core';\n\nimport { AXMLogCaptureService } from '../../console-monitor';\n\n//#region ----- Download log file command -----\n\n@Injectable({ providedIn: 'root' })\nexport class AXMDownloadLogFileCommand implements AXPCommand<Record<string, never>, unknown> {\n private readonly logCaptureService = inject(AXMLogCaptureService);\n private readonly exportService = inject(AXPExportService);\n private readonly translateService = inject(AXTranslationService);\n\n async execute(_input: Record<string, never>): AXPCommandExecuteResultPromise<unknown> {\n const data = JSON.stringify(await this.logCaptureService.logs());\n const fileName = `logs-${new Date().toLocaleDateString(this.translateService.getActiveLang())}.txt`;\n const blobFile = new Blob([data], { type: 'text/txt;charset=utf-8' });\n this.exportService.download(blobFile, fileName);\n return { success: true, kind: 'object', data: undefined };\n }\n}\n\n//#endregion\n"],"names":[],"mappings":";;;;;;AAOA;MAGa,yBAAyB,CAAA;AADtC,IAAA,WAAA,GAAA;AAEmB,QAAA,IAAA,CAAA,iBAAiB,GAAG,MAAM,CAAC,oBAAoB,CAAC;AAChD,QAAA,IAAA,CAAA,aAAa,GAAG,MAAM,CAAC,gBAAgB,CAAC;AACxC,QAAA,IAAA,CAAA,gBAAgB,GAAG,MAAM,CAAC,oBAAoB,CAAC;AASjE,IAAA;IAPC,MAAM,OAAO,CAAC,MAA6B,EAAA;AACzC,QAAA,MAAM,IAAI,GAAG,IAAI,CAAC,SAAS,CAAC,MAAM,IAAI,CAAC,iBAAiB,CAAC,IAAI,EAAE,CAAC;AAChE,QAAA,MAAM,QAAQ,GAAG,CAAA,KAAA,EAAQ,IAAI,IAAI,EAAE,CAAC,kBAAkB,CAAC,IAAI,CAAC,gBAAgB,CAAC,aAAa,EAAE,CAAC,MAAM;AACnG,QAAA,MAAM,QAAQ,GAAG,IAAI,IAAI,CAAC,CAAC,IAAI,CAAC,EAAE,EAAE,IAAI,EAAE,wBAAwB,EAAE,CAAC;QACrE,IAAI,CAAC,aAAa,CAAC,QAAQ,CAAC,QAAQ,EAAE,QAAQ,CAAC;AAC/C,QAAA,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,SAAS,EAAE;IAC3D;8GAXW,yBAAyB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;AAAzB,IAAA,SAAA,IAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,yBAAyB,cADZ,MAAM,EAAA,CAAA,CAAA;;2FACnB,yBAAyB,EAAA,UAAA,EAAA,CAAA;kBADrC,UAAU;mBAAC,EAAE,UAAU,EAAE,MAAM,EAAE;;;"}
|
|
@@ -29,7 +29,7 @@ import { inject, signal, ViewChild, ChangeDetectionStrategy, Component } from '@
|
|
|
29
29
|
import * as i1 from '@angular/forms';
|
|
30
30
|
import { FormsModule } from '@angular/forms';
|
|
31
31
|
import { RootConfig } from '@acorex-platform/module-help-desk-client/contracts';
|
|
32
|
-
import { A as AXMReportNewIssueViewModel, a as AXMLogCaptureService } from './acorex-platform-module-help-desk-client-acorex-platform-module-help-desk-client-
|
|
32
|
+
import { A as AXMReportNewIssueViewModel, a as AXMLogCaptureService } from './acorex-platform-module-help-desk-client-acorex-platform-module-help-desk-client-DqUDQ2EZ.mjs';
|
|
33
33
|
|
|
34
34
|
const REPORT_ISSUE_PRIORITIES = [
|
|
35
35
|
{ id: '1', title: 'Low', textKey: 'low' },
|
|
@@ -227,7 +227,7 @@ class AXMReportNewIssueComponent extends AXBasePageComponent {
|
|
|
227
227
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXMReportNewIssueComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
228
228
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: AXMReportNewIssueComponent, isStandalone: true, selector: "axm-report-new-issue", viewQueries: [{ propertyName: "form", first: true, predicate: AXFormComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"p-6\">\n <ax-form #form>\n <div class=\"grid gap-2\">\n <ax-form-field>\n <ax-label>{{ '@help-desk:report-new-issue.components.report-new-issue-form.fields.title' | translate | async }}</ax-label>\n <ax-text-box [(ngModel)]=\"vm.data().title\">\n <ax-validation-rule rule=\"required\"></ax-validation-rule>\n </ax-text-box>\n </ax-form-field>\n <ax-form-field>\n <ax-label>{{ '@help-desk:report-new-issue.components.report-new-issue-form.fields.issue-type' | translate | async }}</ax-label>\n <ax-lookup\n mode=\"drop-down-list\"\n valueField=\"id\"\n textField=\"title\"\n [dataSource]=\"issueTypeDataSource\"\n [value]=\"vm.data().issueType?.id\"\n [searchable]=\"false\"\n (onValueChanged)=\"handleIssueTypeChange($event)\"\n (onSelectionChanged)=\"handleIssueTypeSelectionChanged($event)\"\n ></ax-lookup>\n </ax-form-field>\n <ax-form-field>\n <ax-label>{{ '@help-desk:report-new-issue.components.report-new-issue-form.fields.priority' | translate | async }}</ax-label>\n <ax-combo-box\n [items]=\"priorityComboItems()\"\n [value]=\"vm.data().priority?.id\"\n [searchable]=\"false\"\n (onValueChanged)=\"handlePriorityChange($event)\"\n ></ax-combo-box>\n </ax-form-field>\n <ax-form-field>\n <ax-label>{{ '@help-desk:report-new-issue.components.report-new-issue-form.fields.description' | translate | async }}</ax-label>\n <ax-text-area [(ngModel)]=\"vm.data().description\">\n <ax-validation-rule rule=\"required\"></ax-validation-rule>\n </ax-text-area>\n </ax-form-field>\n <ax-form-field>\n <ax-label>{{ '@help-desk:report-new-issue.components.report-new-issue-form.fields.attachments' | translate | async }}</ax-label>\n <axp-widgets-container class=\"flex flex-col gap-2 p-4\" [context]=\"context\">\n <ng-container axp-widget-renderer [node]=\"attachNode\" [mode]=\"'edit'\"> </ng-container>\n </axp-widgets-container>\n </ax-form-field>\n </div>\n </ax-form>\n</div>\n<ax-footer>\n <ax-suffix>\n <ax-button\n look=\"solid\"\n color=\"default\"\n [text]=\"'@general:actions.cancel.title' | translate | async\"\n (onClick)=\"onCancelClick()\"\n ></ax-button>\n <ax-button\n look=\"solid\"\n color=\"primary\"\n [text]=\"'@general:actions.save.title' | translate | async\"\n (onClick)=\"handleSubmitClick()\"\n ></ax-button>\n </ax-suffix>\n</ax-footer>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type:
|
|
229
229
|
//
|
|
230
|
-
AXTranslationModule }, { kind: "ngmodule", type: AXFormModule }, { kind: "component", type: i2.AXFormFieldComponent, selector: "ax-form-field", inputs: ["labelMode"] }, { kind: "component", type: i2.AXFormComponent, selector: "ax-form", inputs: ["disabled", "readonly", "labelMode", "look", "messageStyle", "updateOn", "inUserInteractionActive"], outputs: ["onValidate", "updateOnChange"] }, { kind: "directive", type: i2.AXValidationRuleDirective, selector: "ax-validation-rule", inputs: ["rule", "options", "message", "disabled"] }, { kind: "ngmodule", type: AXLabelModule }, { kind: "component", type: i3.AXLabelComponent, selector: "ax-label", inputs: ["required", "for"], outputs: ["requiredChange"] }, { kind: "ngmodule", type: AXTextBoxModule }, { kind: "component", type: i4.AXTextBoxComponent, selector: "ax-text-box", inputs: ["disabled", "tabIndex", "readonly", "value", "state", "name", "id", "placeholder", "maxLength", "allowNull", "type", "autoComplete", "look", "maskPattern", "customTokens", "class"], outputs: ["onBlur", "onFocus", "valueChange", "stateChange", "onValueChanged", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress", "onMaskChanged"] }, { kind: "component", type: AXLookupComponent, selector: "ax-lookup", inputs: ["name", "mode", "dataSource", "treeDataSource", "valueField", "textField", "disabledField", "columns", "treeParentField", "hasChildrenField", "searchable", "adaptivityEnabled", "caption", "alternate", "searchPlaceholder", "placeholder", "disabled", "readonly", "look", "itemHeight", "maxVisibleItems", "treeSelectionBehavior", "highlightSearch", "itemTemplate", "selectedTemplate", "emptyTemplate", "loadingTemplate", "value", "valueItems"], outputs: ["lookChange", "valueChange", "onValueChanged", "onSelectionChanged", "onFocus", "onBlur", "onItemClick", "onItemSelected", "onOpened", "onClosed"] }, { kind: "component", type: AXComboBoxComponent, selector: "ax-combo-box", inputs: ["name", "items", "searchable", "multiple", "adaptivityEnabled", "caption", "alternate", "placeholder", "searchPlaceholder", "highlightSearch", "emptyTemplate", "itemTemplate", "selectedTemplate", "disabled", "readonly", "look", "value"], outputs: ["lookChange", "valueChange", "onValueChanged", "onFocus", "onBlur", "onItemClick", "onItemSelected", "onOpened", "onClosed"] }, { kind: "ngmodule", type: AXTextAreaModule }, { kind: "component", type: i5.AXTextAreaComponent, selector: "ax-text-area", inputs: ["disabled", "tabIndex", "readonly", "value", "state", "name", "placeholder", "maxLength", "look", "rows", "allowResize", "showCounter", "class"], outputs: ["onBlur", "onFocus", "valueChange", "stateChange", "onValueChanged", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3$1.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i2$1.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXPWidgetCoreModule }, { kind: "component", type: i8.AXPWidgetContainerComponent, selector: "axp-widgets-container", inputs: ["context", "functions"], outputs: ["onContextChanged"] }, { kind: "directive", type: i8.AXPWidgetRendererDirective, selector: "[axp-widget-renderer]", inputs: ["parentNode", "index", "mode", "node"], outputs: ["onOptionsChanged", "onValueChanged", "onLoad"], exportAs: ["widgetRenderer"] }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }, { kind: "pipe", type: i10.AXTranslatorPipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.Eager }); }
|
|
230
|
+
AXTranslationModule }, { kind: "ngmodule", type: AXFormModule }, { kind: "component", type: i2.AXFormFieldComponent, selector: "ax-form-field", inputs: ["labelMode"] }, { kind: "component", type: i2.AXFormComponent, selector: "ax-form", inputs: ["disabled", "readonly", "labelMode", "look", "messageStyle", "updateOn", "inUserInteractionActive"], outputs: ["onValidate", "updateOnChange"] }, { kind: "directive", type: i2.AXValidationRuleDirective, selector: "ax-validation-rule", inputs: ["rule", "options", "message", "disabled"] }, { kind: "ngmodule", type: AXLabelModule }, { kind: "component", type: i3.AXLabelComponent, selector: "ax-label", inputs: ["required", "for"], outputs: ["requiredChange"] }, { kind: "ngmodule", type: AXTextBoxModule }, { kind: "component", type: i4.AXTextBoxComponent, selector: "ax-text-box", inputs: ["disabled", "tabIndex", "readonly", "value", "state", "name", "id", "placeholder", "maxLength", "allowNull", "type", "autoComplete", "look", "maskPattern", "customTokens", "class"], outputs: ["onBlur", "onFocus", "valueChange", "stateChange", "onValueChanged", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress", "onMaskChanged"] }, { kind: "component", type: AXLookupComponent, selector: "ax-lookup", inputs: ["name", "mode", "dataSource", "treeDataSource", "valueField", "textField", "disabledField", "columns", "treeParentField", "hasChildrenField", "searchable", "adaptivityEnabled", "caption", "alternate", "searchPlaceholder", "placeholder", "disabled", "readonly", "look", "itemHeight", "maxVisibleItems", "treeSelectionBehavior", "highlightSearch", "allowSelectAll", "itemTemplate", "selectedTemplate", "emptyTemplate", "loadingTemplate", "value", "valueItems"], outputs: ["lookChange", "valueChange", "onValueChanged", "onSelectionChanged", "onFocus", "onBlur", "onItemClick", "onItemSelected", "onOpened", "onClosed"] }, { kind: "component", type: AXComboBoxComponent, selector: "ax-combo-box", inputs: ["name", "items", "searchable", "multiple", "adaptivityEnabled", "caption", "alternate", "placeholder", "searchPlaceholder", "highlightSearch", "emptyTemplate", "itemTemplate", "selectedTemplate", "disabled", "readonly", "look", "value"], outputs: ["lookChange", "valueChange", "onValueChanged", "onFocus", "onBlur", "onItemClick", "onItemSelected", "onOpened", "onClosed"] }, { kind: "ngmodule", type: AXTextAreaModule }, { kind: "component", type: i5.AXTextAreaComponent, selector: "ax-text-area", inputs: ["disabled", "tabIndex", "readonly", "value", "state", "name", "placeholder", "maxLength", "look", "rows", "allowResize", "showCounter", "class"], outputs: ["onBlur", "onFocus", "valueChange", "stateChange", "onValueChanged", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3$1.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i2$1.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXPWidgetCoreModule }, { kind: "component", type: i8.AXPWidgetContainerComponent, selector: "axp-widgets-container", inputs: ["context", "functions"], outputs: ["onContextChanged"] }, { kind: "directive", type: i8.AXPWidgetRendererDirective, selector: "[axp-widget-renderer]", inputs: ["parentNode", "index", "mode", "node"], outputs: ["onOptionsChanged", "onValueChanged", "onLoad"], exportAs: ["widgetRenderer"] }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }, { kind: "pipe", type: i10.AXTranslatorPipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.Eager }); }
|
|
231
231
|
}
|
|
232
232
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXMReportNewIssueComponent, decorators: [{
|
|
233
233
|
type: Component,
|
|
@@ -252,4 +252,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
252
252
|
}] } });
|
|
253
253
|
|
|
254
254
|
export { AXMReportNewIssueComponent };
|
|
255
|
-
//# sourceMappingURL=acorex-platform-module-help-desk-client-report-new-issue.component-
|
|
255
|
+
//# sourceMappingURL=acorex-platform-module-help-desk-client-report-new-issue.component-tJF-fzdM.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-module-help-desk-client-report-new-issue.component-c_v6CbOy.mjs","sources":["../../../../libs/modules/help-desk/client/src/lib/features/report-issue/components/report-new-issue/report-new-issue.component.ts","../../../../libs/modules/help-desk/client/src/lib/features/report-issue/components/report-new-issue/report-new-issue.component.html"],"sourcesContent":["import { AXPFileListItem, type AXPFileStorageInfo, type AXPWidgetNode, AXPWidgetsCatalog } from '@acorex-platform/framework-shared/core';\nimport { AXPEntityService } from '@acorex-platform/framework-client/layout/entity';\nimport { AXDataSource } from '@acorex/cdk/common';\nimport { AXButtonModule } from '@acorex/components/button';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXFormComponent, AXFormModule } from '@acorex/components/form';\nimport { AXLabelModule } from '@acorex/components/label';\nimport { AXBasePageComponent } from '@acorex/components/page';\nimport { AXComboBoxComponent, type AXComboBoxItem } from '@acorex/components/combo-box';\nimport { AXLookupComponent, type AXLookupSelectionChangedEvent } from '@acorex/components/lookup';\nimport { AXTextAreaModule } from '@acorex/components/text-area';\nimport { AXTextBoxModule } from '@acorex/components/text-box';\nimport { AXTranslationModule, AXTranslationService } from '@acorex/core/translation';\n// import { RootConfig } from '@acorex-platform/module-issue-management-client/contracts';\nimport { AXPSessionService } from '@acorex-platform/framework-client/auth';\n\nimport { AXPFileStorageService } from '@acorex-platform/framework-client/common';\n\nimport { AXPWidgetCoreModule } from '@acorex-platform/framework-client/layout/widget-core';\nimport { CommonModule } from '@angular/common';\nimport { Component, inject, ViewChild, ChangeDetectionStrategy, OnInit, signal } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { RootConfig } from '@acorex-platform/module-help-desk-client/contracts';\nimport { AXMHelpDeskReportedIssuesEntityModel } from '@acorex-platform/module-help-desk-client/contracts';\nimport { AXMLogCaptureService } from '../../../console-monitor';\nimport { AXMReportNewIssueViewModel } from '../../services/report-new-issue.viewmodel';\n\ninterface AXMReportIssuePriority {\n id: string;\n title: string;\n textKey: 'low' | 'medium' | 'high' | 'critical';\n}\n\nconst REPORT_ISSUE_PRIORITIES: readonly AXMReportIssuePriority[] = [\n { id: '1', title: 'Low', textKey: 'low' },\n { id: '2', title: 'Medium', textKey: 'medium' },\n { id: '3', title: 'High', textKey: 'high' },\n { id: '4', title: 'Critical', textKey: 'critical' },\n];\n\n@Component({\n selector: 'axm-report-new-issue',\n templateUrl: './report-new-issue.component.html',\n changeDetection: ChangeDetectionStrategy.Eager,\n imports: [\n CommonModule,\n FormsModule,\n //\n AXTranslationModule,\n AXFormModule,\n AXLabelModule,\n AXTextBoxModule,\n AXLookupComponent,\n AXComboBoxComponent,\n AXTextAreaModule,\n AXDecoratorModule,\n AXButtonModule,\n AXPWidgetCoreModule,\n ],\n})\nexport class AXMReportNewIssueComponent extends AXBasePageComponent implements OnInit {\n private readonly entityService = inject(AXPEntityService);\n private readonly translationService = inject(AXTranslationService);\n constructor() {\n super();\n }\n\n @ViewChild(AXFormComponent)\n private form!: AXFormComponent;\n protected vm = inject(AXMReportNewIssueViewModel);\n protected logCaptureService = inject(AXMLogCaptureService);\n protected sessionService = inject(AXPSessionService);\n protected issueTypeService = this.entityService.withEntity(RootConfig.module.name, RootConfig.entities.issueType.name).data<any, any>();\n protected reportedIssuesService = this.entityService.withEntity(RootConfig.module.name, RootConfig.entities.reportedIssues.name).data<any, any>();\n protected fileStorageService = inject(AXPFileStorageService);\n protected issueTypeDataSource = new AXDataSource({\n load: async (_) => {\n const issueTypeList = await this.issueTypeService.query();\n return issueTypeList;\n },\n pageSize: 20,\n });\n protected readonly priorityComboItems = signal<AXComboBoxItem[]>([]);\n\n override async ngOnInit(): Promise<void> {\n super.ngOnInit();\n const base = '@help-desk:report-new-issue.components.report-new-issue-form.priorities';\n const items = await Promise.all(\n REPORT_ISSUE_PRIORITIES.map(async (priority) => ({\n id: priority.id,\n value: priority.id,\n text: (await this.translationService.translateAsync(`${base}.${priority.textKey}`)) ?? priority.title,\n })),\n );\n this.priorityComboItems.set(items);\n }\n attachNode: AXPWidgetNode = {\n type: AXPWidgetsCatalog.attachments,\n name: 'attach',\n path: 'attach',\n defaultValue: this.vm.media(),\n options: {\n multiple: true,\n entity: `${RootConfig.module.name}.${RootConfig.entities.reportedIssues.name}`,\n record: this.vm.id(),\n },\n };\n context = {};\n\n protected async handleSubmitClick() {\n const formResult = await this.form.validate();\n if (formResult.result) {\n const params: AXMHelpDeskReportedIssuesEntityModel = {\n id: this.vm.id(),\n createdAt: new Date(),\n description: this.vm.data().description,\n errorLogs: this.logCaptureService.logs(),\n issueType: this.vm.data().issueType,\n priority: this.vm.data().priority,\n status: 'new',\n systemInfo: navigator.userAgent,\n title: this.vm.data().title,\n user: this.sessionService.user,\n };\n const reportedIssue = await this.reportedIssuesService.create(params);\n if (reportedIssue && reportedIssue.length) {\n const attachments: AXPFileListItem[] = [];\n for (const res of this.vm.media()) {\n const file = await this.fileStorageSaver(reportedIssue, res);\n console.log(file);\n attachments.push(file);\n\n // const fileStorageInfo: AXPFileStorageInfo = await this.fileStorageService.save({\n // file: await this.convertURLToFile(res.url, res.name as string),\n // refId: reportedIssue,\n // refType: `${RootConfig.module.name}.${RootConfig.entities.reportedIssues.name}`,\n // category: '',\n // name: res.name,\n // });\n // await this.fileStorageService.commit(fileStorageInfo.fileId);\n // attachments.push({\n // name: res.name ?? '',\n // status: 'uploaded',\n // id: fileStorageInfo.fileId,\n // size: parseInt(res.size ?? '0'),\n // source: {\n // kind: 'fileId',\n // value: fileStorageInfo.fileId,\n // },\n // });\n }\n await this.reportedIssuesService.update(reportedIssue, { attachments });\n this.vm.resetState();\n this.close({ insertResult: true });\n }\n }\n }\n\n private async fileStorageSaver(reportedIssueId: string, file: AXPFileListItem): Promise<AXPFileListItem> {\n const sourceValue = file.source?.value;\n const resolvedUrl =\n typeof sourceValue === 'string'\n ? sourceValue\n : sourceValue instanceof Blob\n ? URL.createObjectURL(sourceValue)\n : '';\n const fileStorageInfo: AXPFileStorageInfo = await this.fileStorageService.save({\n file: await this.convertURLToFile(resolvedUrl, file.name as string),\n refId: reportedIssueId,\n refType: `${RootConfig.module.name}.${RootConfig.entities.reportedIssues.name}`,\n category: '',\n name: file.name,\n });\n await this.fileStorageService.commit(fileStorageInfo.fileId);\n return {\n name: file.name ?? '',\n status: 'uploaded',\n id: fileStorageInfo.fileId,\n size: typeof file.size === 'number' ? file.size : 0,\n source: {\n kind: 'fileId',\n value: fileStorageInfo.fileId,\n },\n };\n // attachments.push({\n // name: res.name ?? '',\n // status: 'uploaded',\n // id: fileStorageInfo.fileId,\n // size: parseInt(res.size ?? '0'),\n // source: {\n // kind: 'fileId',\n // value: fileStorageInfo.fileId,\n // },\n // });\n // await this.reportedIssuesService.updateOne(reportedIssueId, {\n // attachments: [\n // ...(this.vm.media() ?? []),\n // {\n // name: file.name ?? '',\n // status: 'uploaded',\n // id: fileStorageInfo.fileId,\n // size: parseInt(file.size ?? '0'),\n // source: {\n // kind: 'fileId',\n // value: fileStorageInfo.fileId,\n // },\n // },\n // ],\n // });\n }\n\n private async convertURLToFile(url: string, fileName: string): Promise<File> {\n const response = await fetch(url);\n const blob = await response.blob();\n const file = new File([blob], fileName);\n return file;\n }\n\n protected async handleStartRecordingClick() {\n await this.vm.startCapturing();\n this.close();\n }\n\n protected async onDeleteMediaClick(index: number) {\n this.vm.deleteCapturedItem(index);\n }\n\n protected async onCancelClick() {\n this.vm.resetState();\n this.close();\n }\n\n handleIssueTypeSelectionChanged(event: AXLookupSelectionChangedEvent) {\n const selected = (event.items ?? [])[0] as { title: string; id: string } | undefined;\n if (selected) {\n this.vm.data().issueType = selected;\n }\n }\n\n handleIssueTypeChange(event: { value?: unknown; isUserInteraction?: boolean }) {\n if (!event.isUserInteraction) {\n return;\n }\n if (!event.value) {\n this.vm.data().issueType = {} as { title: string; id: string };\n }\n }\n\n handlePriorityChange(event: { value?: unknown; isUserInteraction?: boolean }): void {\n if (!event.isUserInteraction) {\n return;\n }\n const value = event.value == null ? '' : String(event.value);\n const selected = REPORT_ISSUE_PRIORITIES.find((item) => item.id === value);\n if (selected) {\n this.vm.data().priority = { id: selected.id, title: selected.title };\n }\n }\n\n override ngOnDestroy(): void {\n if (this.vm.status() !== 'recording') {\n this.vm.resetState();\n }\n }\n}\n","<div class=\"p-6\">\n <ax-form #form>\n <div class=\"grid gap-2\">\n <ax-form-field>\n <ax-label>{{ '@help-desk:report-new-issue.components.report-new-issue-form.fields.title' | translate | async }}</ax-label>\n <ax-text-box [(ngModel)]=\"vm.data().title\">\n <ax-validation-rule rule=\"required\"></ax-validation-rule>\n </ax-text-box>\n </ax-form-field>\n <ax-form-field>\n <ax-label>{{ '@help-desk:report-new-issue.components.report-new-issue-form.fields.issue-type' | translate | async }}</ax-label>\n <ax-lookup\n mode=\"drop-down-list\"\n valueField=\"id\"\n textField=\"title\"\n [dataSource]=\"issueTypeDataSource\"\n [value]=\"vm.data().issueType?.id\"\n [searchable]=\"false\"\n (onValueChanged)=\"handleIssueTypeChange($event)\"\n (onSelectionChanged)=\"handleIssueTypeSelectionChanged($event)\"\n ></ax-lookup>\n </ax-form-field>\n <ax-form-field>\n <ax-label>{{ '@help-desk:report-new-issue.components.report-new-issue-form.fields.priority' | translate | async }}</ax-label>\n <ax-combo-box\n [items]=\"priorityComboItems()\"\n [value]=\"vm.data().priority?.id\"\n [searchable]=\"false\"\n (onValueChanged)=\"handlePriorityChange($event)\"\n ></ax-combo-box>\n </ax-form-field>\n <ax-form-field>\n <ax-label>{{ '@help-desk:report-new-issue.components.report-new-issue-form.fields.description' | translate | async }}</ax-label>\n <ax-text-area [(ngModel)]=\"vm.data().description\">\n <ax-validation-rule rule=\"required\"></ax-validation-rule>\n </ax-text-area>\n </ax-form-field>\n <ax-form-field>\n <ax-label>{{ '@help-desk:report-new-issue.components.report-new-issue-form.fields.attachments' | translate | async }}</ax-label>\n <axp-widgets-container class=\"flex flex-col gap-2 p-4\" [context]=\"context\">\n <ng-container axp-widget-renderer [node]=\"attachNode\" [mode]=\"'edit'\"> </ng-container>\n </axp-widgets-container>\n </ax-form-field>\n </div>\n </ax-form>\n</div>\n<ax-footer>\n <ax-suffix>\n <ax-button\n look=\"solid\"\n color=\"default\"\n [text]=\"'@general:actions.cancel.title' | translate | async\"\n (onClick)=\"onCancelClick()\"\n ></ax-button>\n <ax-button\n look=\"solid\"\n color=\"primary\"\n [text]=\"'@general:actions.save.title' | translate | async\"\n (onClick)=\"handleSubmitClick()\"\n ></ax-button>\n </ax-suffix>\n</ax-footer>\n"],"names":["i6","i9"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiCA,MAAM,uBAAuB,GAAsC;IACjE,EAAE,EAAE,EAAE,GAAG,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE;IACzC,EAAE,EAAE,EAAE,GAAG,EAAE,KAAK,EAAE,QAAQ,E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AAsB,EAAA,eAAA,EAEf,uBAAuB,CAAC,KAAK,EAAA,OAAA,EACrC;wBACP,YAAY;wBACZ,WAAW;;wBAEX,mBAAmB;wBACnB,YAAY;wBACZ,aAAa;wBACb,eAAe;wBACf,iBAAiB;wBACjB,mBAAmB;wBACnB,gBAAgB;wBAChB,iBAAiB;wBACjB,cAAc;wBACd,mBAAmB;AACpB,qBAAA,EAAA,QAAA,EAAA,ykFAAA,EAAA;;sBASA,SAAS;uBAAC,eAAe;;;"}
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-help-desk-client-report-new-issue.component-tJF-fzdM.mjs","sources":["../../../../libs/modules/help-desk/client/src/lib/features/report-issue/components/report-new-issue/report-new-issue.component.ts","../../../../libs/modules/help-desk/client/src/lib/features/report-issue/components/report-new-issue/report-new-issue.component.html"],"sourcesContent":["import { AXPFileListItem, type AXPFileStorageInfo, type AXPWidgetNode, AXPWidgetsCatalog } from '@acorex-platform/framework-shared/core';\nimport { AXPEntityService } from '@acorex-platform/framework-client/layout/entity';\nimport { AXDataSource } from '@acorex/cdk/common';\nimport { AXButtonModule } from '@acorex/components/button';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXFormComponent, AXFormModule } from '@acorex/components/form';\nimport { AXLabelModule } from '@acorex/components/label';\nimport { AXBasePageComponent } from '@acorex/components/page';\nimport { AXComboBoxComponent, type AXComboBoxItem } from '@acorex/components/combo-box';\nimport { AXLookupComponent, type AXLookupSelectionChangedEvent } from '@acorex/components/lookup';\nimport { AXTextAreaModule } from '@acorex/components/text-area';\nimport { AXTextBoxModule } from '@acorex/components/text-box';\nimport { AXTranslationModule, AXTranslationService } from '@acorex/core/translation';\n// import { RootConfig } from '@acorex-platform/module-issue-management-client/contracts';\nimport { AXPSessionService } from '@acorex-platform/framework-client/auth';\n\nimport { AXPFileStorageService } from '@acorex-platform/framework-client/common';\n\nimport { AXPWidgetCoreModule } from '@acorex-platform/framework-client/layout/widget-core';\nimport { CommonModule } from '@angular/common';\nimport { Component, inject, ViewChild, ChangeDetectionStrategy, OnInit, signal } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { RootConfig } from '@acorex-platform/module-help-desk-client/contracts';\nimport { AXMHelpDeskReportedIssuesEntityModel } from '@acorex-platform/module-help-desk-client/contracts';\nimport { AXMLogCaptureService } from '../../../console-monitor';\nimport { AXMReportNewIssueViewModel } from '../../services/report-new-issue.viewmodel';\n\ninterface AXMReportIssuePriority {\n id: string;\n title: string;\n textKey: 'low' | 'medium' | 'high' | 'critical';\n}\n\nconst REPORT_ISSUE_PRIORITIES: readonly AXMReportIssuePriority[] = [\n { id: '1', title: 'Low', textKey: 'low' },\n { id: '2', title: 'Medium', textKey: 'medium' },\n { id: '3', title: 'High', textKey: 'high' },\n { id: '4', title: 'Critical', textKey: 'critical' },\n];\n\n@Component({\n selector: 'axm-report-new-issue',\n templateUrl: './report-new-issue.component.html',\n changeDetection: ChangeDetectionStrategy.Eager,\n imports: [\n CommonModule,\n FormsModule,\n //\n AXTranslationModule,\n AXFormModule,\n AXLabelModule,\n AXTextBoxModule,\n AXLookupComponent,\n AXComboBoxComponent,\n AXTextAreaModule,\n AXDecoratorModule,\n AXButtonModule,\n AXPWidgetCoreModule,\n ],\n})\nexport class AXMReportNewIssueComponent extends AXBasePageComponent implements OnInit {\n private readonly entityService = inject(AXPEntityService);\n private readonly translationService = inject(AXTranslationService);\n constructor() {\n super();\n }\n\n @ViewChild(AXFormComponent)\n private form!: AXFormComponent;\n protected vm = inject(AXMReportNewIssueViewModel);\n protected logCaptureService = inject(AXMLogCaptureService);\n protected sessionService = inject(AXPSessionService);\n protected issueTypeService = this.entityService.withEntity(RootConfig.module.name, RootConfig.entities.issueType.name).data<any, any>();\n protected reportedIssuesService = this.entityService.withEntity(RootConfig.module.name, RootConfig.entities.reportedIssues.name).data<any, any>();\n protected fileStorageService = inject(AXPFileStorageService);\n protected issueTypeDataSource = new AXDataSource({\n load: async (_) => {\n const issueTypeList = await this.issueTypeService.query();\n return issueTypeList;\n },\n pageSize: 20,\n });\n protected readonly priorityComboItems = signal<AXComboBoxItem[]>([]);\n\n override async ngOnInit(): Promise<void> {\n super.ngOnInit();\n const base = '@help-desk:report-new-issue.components.report-new-issue-form.priorities';\n const items = await Promise.all(\n REPORT_ISSUE_PRIORITIES.map(async (priority) => ({\n id: priority.id,\n value: priority.id,\n text: (await this.translationService.translateAsync(`${base}.${priority.textKey}`)) ?? priority.title,\n })),\n );\n this.priorityComboItems.set(items);\n }\n attachNode: AXPWidgetNode = {\n type: AXPWidgetsCatalog.attachments,\n name: 'attach',\n path: 'attach',\n defaultValue: this.vm.media(),\n options: {\n multiple: true,\n entity: `${RootConfig.module.name}.${RootConfig.entities.reportedIssues.name}`,\n record: this.vm.id(),\n },\n };\n context = {};\n\n protected async handleSubmitClick() {\n const formResult = await this.form.validate();\n if (formResult.result) {\n const params: AXMHelpDeskReportedIssuesEntityModel = {\n id: this.vm.id(),\n createdAt: new Date(),\n description: this.vm.data().description,\n errorLogs: this.logCaptureService.logs(),\n issueType: this.vm.data().issueType,\n priority: this.vm.data().priority,\n status: 'new',\n systemInfo: navigator.userAgent,\n title: this.vm.data().title,\n user: this.sessionService.user,\n };\n const reportedIssue = await this.reportedIssuesService.create(params);\n if (reportedIssue && reportedIssue.length) {\n const attachments: AXPFileListItem[] = [];\n for (const res of this.vm.media()) {\n const file = await this.fileStorageSaver(reportedIssue, res);\n console.log(file);\n attachments.push(file);\n\n // const fileStorageInfo: AXPFileStorageInfo = await this.fileStorageService.save({\n // file: await this.convertURLToFile(res.url, res.name as string),\n // refId: reportedIssue,\n // refType: `${RootConfig.module.name}.${RootConfig.entities.reportedIssues.name}`,\n // category: '',\n // name: res.name,\n // });\n // await this.fileStorageService.commit(fileStorageInfo.fileId);\n // attachments.push({\n // name: res.name ?? '',\n // status: 'uploaded',\n // id: fileStorageInfo.fileId,\n // size: parseInt(res.size ?? '0'),\n // source: {\n // kind: 'fileId',\n // value: fileStorageInfo.fileId,\n // },\n // });\n }\n await this.reportedIssuesService.update(reportedIssue, { attachments });\n this.vm.resetState();\n this.close({ insertResult: true });\n }\n }\n }\n\n private async fileStorageSaver(reportedIssueId: string, file: AXPFileListItem): Promise<AXPFileListItem> {\n const sourceValue = file.source?.value;\n const resolvedUrl =\n typeof sourceValue === 'string'\n ? sourceValue\n : sourceValue instanceof Blob\n ? URL.createObjectURL(sourceValue)\n : '';\n const fileStorageInfo: AXPFileStorageInfo = await this.fileStorageService.save({\n file: await this.convertURLToFile(resolvedUrl, file.name as string),\n refId: reportedIssueId,\n refType: `${RootConfig.module.name}.${RootConfig.entities.reportedIssues.name}`,\n category: '',\n name: file.name,\n });\n await this.fileStorageService.commit(fileStorageInfo.fileId);\n return {\n name: file.name ?? '',\n status: 'uploaded',\n id: fileStorageInfo.fileId,\n size: typeof file.size === 'number' ? file.size : 0,\n source: {\n kind: 'fileId',\n value: fileStorageInfo.fileId,\n },\n };\n // attachments.push({\n // name: res.name ?? '',\n // status: 'uploaded',\n // id: fileStorageInfo.fileId,\n // size: parseInt(res.size ?? '0'),\n // source: {\n // kind: 'fileId',\n // value: fileStorageInfo.fileId,\n // },\n // });\n // await this.reportedIssuesService.updateOne(reportedIssueId, {\n // attachments: [\n // ...(this.vm.media() ?? []),\n // {\n // name: file.name ?? '',\n // status: 'uploaded',\n // id: fileStorageInfo.fileId,\n // size: parseInt(file.size ?? '0'),\n // source: {\n // kind: 'fileId',\n // value: fileStorageInfo.fileId,\n // },\n // },\n // ],\n // });\n }\n\n private async convertURLToFile(url: string, fileName: string): Promise<File> {\n const response = await fetch(url);\n const blob = await response.blob();\n const file = new File([blob], fileName);\n return file;\n }\n\n protected async handleStartRecordingClick() {\n await this.vm.startCapturing();\n this.close();\n }\n\n protected async onDeleteMediaClick(index: number) {\n this.vm.deleteCapturedItem(index);\n }\n\n protected async onCancelClick() {\n this.vm.resetState();\n this.close();\n }\n\n handleIssueTypeSelectionChanged(event: AXLookupSelectionChangedEvent) {\n const selected = (event.items ?? [])[0] as { title: string; id: string } | undefined;\n if (selected) {\n this.vm.data().issueType = selected;\n }\n }\n\n handleIssueTypeChange(event: { value?: unknown; isUserInteraction?: boolean }) {\n if (!event.isUserInteraction) {\n return;\n }\n if (!event.value) {\n this.vm.data().issueType = {} as { title: string; id: string };\n }\n }\n\n handlePriorityChange(event: { value?: unknown; isUserInteraction?: boolean }): void {\n if (!event.isUserInteraction) {\n return;\n }\n const value = event.value == null ? '' : String(event.value);\n const selected = REPORT_ISSUE_PRIORITIES.find((item) => item.id === value);\n if (selected) {\n this.vm.data().priority = { id: selected.id, title: selected.title };\n }\n }\n\n override ngOnDestroy(): void {\n if (this.vm.status() !== 'recording') {\n this.vm.resetState();\n }\n }\n}\n","<div class=\"p-6\">\n <ax-form #form>\n <div class=\"grid gap-2\">\n <ax-form-field>\n <ax-label>{{ '@help-desk:report-new-issue.components.report-new-issue-form.fields.title' | translate | async }}</ax-label>\n <ax-text-box [(ngModel)]=\"vm.data().title\">\n <ax-validation-rule rule=\"required\"></ax-validation-rule>\n </ax-text-box>\n </ax-form-field>\n <ax-form-field>\n <ax-label>{{ '@help-desk:report-new-issue.components.report-new-issue-form.fields.issue-type' | translate | async }}</ax-label>\n <ax-lookup\n mode=\"drop-down-list\"\n valueField=\"id\"\n textField=\"title\"\n [dataSource]=\"issueTypeDataSource\"\n [value]=\"vm.data().issueType?.id\"\n [searchable]=\"false\"\n (onValueChanged)=\"handleIssueTypeChange($event)\"\n (onSelectionChanged)=\"handleIssueTypeSelectionChanged($event)\"\n ></ax-lookup>\n </ax-form-field>\n <ax-form-field>\n <ax-label>{{ '@help-desk:report-new-issue.components.report-new-issue-form.fields.priority' | translate | async }}</ax-label>\n <ax-combo-box\n [items]=\"priorityComboItems()\"\n [value]=\"vm.data().priority?.id\"\n [searchable]=\"false\"\n (onValueChanged)=\"handlePriorityChange($event)\"\n ></ax-combo-box>\n </ax-form-field>\n <ax-form-field>\n <ax-label>{{ '@help-desk:report-new-issue.components.report-new-issue-form.fields.description' | translate | async }}</ax-label>\n <ax-text-area [(ngModel)]=\"vm.data().description\">\n <ax-validation-rule rule=\"required\"></ax-validation-rule>\n </ax-text-area>\n </ax-form-field>\n <ax-form-field>\n <ax-label>{{ '@help-desk:report-new-issue.components.report-new-issue-form.fields.attachments' | translate | async }}</ax-label>\n <axp-widgets-container class=\"flex flex-col gap-2 p-4\" [context]=\"context\">\n <ng-container axp-widget-renderer [node]=\"attachNode\" [mode]=\"'edit'\"> </ng-container>\n </axp-widgets-container>\n </ax-form-field>\n </div>\n </ax-form>\n</div>\n<ax-footer>\n <ax-suffix>\n <ax-button\n look=\"solid\"\n color=\"default\"\n [text]=\"'@general:actions.cancel.title' | translate | async\"\n (onClick)=\"onCancelClick()\"\n ></ax-button>\n <ax-button\n look=\"solid\"\n color=\"primary\"\n [text]=\"'@general:actions.save.title' | translate | async\"\n (onClick)=\"handleSubmitClick()\"\n ></ax-button>\n </ax-suffix>\n</ax-footer>\n"],"names":["i6","i9"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiCA,MAAM,uBAAuB,GAAsC;IACjE,EAAE,EAAE,EAAE,GAAG,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE;IACzC,EAAE,EAAE,EAAE,GAAG,EAAE,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE;IAC/C,EAAE,EAAE,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE;IAC3C,EAAE,EAAE,EAAE,GAAG,EAAE,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE,UAAU,EAAE;CACpD;AAsBK,MAAO,0BAA2B,SAAQ,mBAAmB,CAAA;AAGjE,IAAA,WAAA,GAAA;AACE,QAAA,KAAK,EAAE;AAHQ,QAAA,IAAA,CAAA,aAAa,GAAG,MAAM,CAAC,gBAAgB,CAAC;AACxC,QAAA,IAAA,CAAA,kBAAkB,GAAG,MAAM,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@angular/core';
|
|
3
|
-
import { A as AXMReportNewIssueViewModel } from './acorex-platform-module-help-desk-client-acorex-platform-module-help-desk-client-
|
|
3
|
+
import { A as AXMReportNewIssueViewModel } from './acorex-platform-module-help-desk-client-acorex-platform-module-help-desk-client-DqUDQ2EZ.mjs';
|
|
4
4
|
|
|
5
5
|
//#region ----- Show report issue command -----
|
|
6
6
|
class AXMShowReportIssueCommand {
|
|
@@ -20,4 +20,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
20
20
|
}] });
|
|
21
21
|
|
|
22
22
|
export { AXMShowReportIssueCommand };
|
|
23
|
-
//# sourceMappingURL=acorex-platform-module-help-desk-client-show-report-issue.command-
|
|
23
|
+
//# sourceMappingURL=acorex-platform-module-help-desk-client-show-report-issue.command-C1zXNDZ7.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-module-help-desk-client-show-report-issue.command-
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-help-desk-client-show-report-issue.command-C1zXNDZ7.mjs","sources":["../../../../libs/modules/help-desk/client/src/lib/features/report-issue/commands/show-report-issue.command.ts"],"sourcesContent":["import { AXPCommand, type AXPCommandExecuteResultPromise } from '@acorex-platform/framework-shared/runtime';\nimport { Injectable, inject } from '@angular/core';\n\nimport { AXMReportNewIssueViewModel } from '../services/report-new-issue.viewmodel';\n\n//#region ----- Show report issue command -----\n\n@Injectable({ providedIn: 'root' })\nexport class AXMShowReportIssueCommand implements AXPCommand<Record<string, never>, unknown> {\n private readonly vm = inject(AXMReportNewIssueViewModel);\n\n async execute(_input: Record<string, never>): AXPCommandExecuteResultPromise<unknown> {\n await this.vm.showPopup();\n return { success: true, kind: 'object', data: undefined };\n }\n}\n\n//#endregion\n"],"names":[],"mappings":";;;;AAKA;MAGa,yBAAyB,CAAA;AADtC,IAAA,WAAA,GAAA;AAEmB,QAAA,IAAA,CAAA,EAAE,GAAG,MAAM,CAAC,0BAA0B,CAAC;AAMzD,IAAA;IAJC,MAAM,OAAO,CAAC,MAA6B,EAAA;AACzC,QAAA,MAAM,IAAI,CAAC,EAAE,CAAC,SAAS,EAAE;AACzB,QAAA,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,SAAS,EAAE;IAC3D;8GANW,yBAAyB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;AAAzB,IAAA,SAAA,IAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,yBAAyB,cADZ,MAAM,EAAA,CAAA,CAAA;;2FACnB,yBAAyB,EAAA,UAAA,EAAA,CAAA;kBADrC,UAAU;mBAAC,EAAE,UAAU,EAAE,MAAM,EAAE;;;"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { c as AXMHelpDeskModule, a as AXMLogCaptureService, d as AXMMenuProvider, e as AXMPermissionDefinitionProvider, f as AXMReportedIssuesStatusProvider, g as AXMSettingProvider } from './acorex-platform-module-help-desk-client-acorex-platform-module-help-desk-client-
|
|
1
|
+
export { c as AXMHelpDeskModule, a as AXMLogCaptureService, d as AXMMenuProvider, e as AXMPermissionDefinitionProvider, f as AXMReportedIssuesStatusProvider, g as AXMSettingProvider } from './acorex-platform-module-help-desk-client-acorex-platform-module-help-desk-client-DqUDQ2EZ.mjs';
|
|
2
2
|
//# sourceMappingURL=acorex-platform-module-help-desk-client.mjs.map
|