@acorex-platform/module-help-desk-client 0.0.32 → 0.0.33
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-OtDtf3iY.mjs → acorex-platform-module-help-desk-client-acorex-platform-module-help-desk-client-8uBzGpHC.mjs} +7 -7
- package/fesm2022/{acorex-platform-module-help-desk-client-acorex-platform-module-help-desk-client-OtDtf3iY.mjs.map → acorex-platform-module-help-desk-client-acorex-platform-module-help-desk-client-8uBzGpHC.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-help-desk-client-capture-screen.component-AyM-9U5W.mjs → acorex-platform-module-help-desk-client-capture-screen.component-D8azYPyS.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-help-desk-client-capture-screen.component-AyM-9U5W.mjs.map → acorex-platform-module-help-desk-client-capture-screen.component-D8azYPyS.mjs.map} +1 -1
- package/fesm2022/acorex-platform-module-help-desk-client-contracts-entities-issue-type.mjs +258 -0
- package/fesm2022/acorex-platform-module-help-desk-client-contracts-entities-issue-type.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-help-desk-client-contracts-entities-my-reported-issues.mjs +577 -0
- package/fesm2022/acorex-platform-module-help-desk-client-contracts-entities-my-reported-issues.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-help-desk-client-contracts-entities-reported-issues.mjs +588 -0
- package/fesm2022/acorex-platform-module-help-desk-client-contracts-entities-reported-issues.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-help-desk-client-contracts-entity-catalog-acorex-platform-module-help-desk-client-contracts-entity-catalog-otgMMFlK.mjs +63 -0
- package/fesm2022/acorex-platform-module-help-desk-client-contracts-entity-catalog-acorex-platform-module-help-desk-client-contracts-entity-catalog-otgMMFlK.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-help-desk-client-contracts-entity-catalog-issue-type.entity-CAuZWL3c.mjs +216 -0
- package/fesm2022/acorex-platform-module-help-desk-client-contracts-entity-catalog-issue-type.entity-CAuZWL3c.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-help-desk-client-contracts-entity-catalog-my-reported-issues.entity-Dpg2-NaY.mjs +535 -0
- package/fesm2022/acorex-platform-module-help-desk-client-contracts-entity-catalog-my-reported-issues.entity-Dpg2-NaY.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-help-desk-client-contracts-entity-catalog-reported-issues.entity-Bb_nYMZe.mjs +546 -0
- package/fesm2022/acorex-platform-module-help-desk-client-contracts-entity-catalog-reported-issues.entity-Bb_nYMZe.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-help-desk-client-contracts-entity-catalog.mjs +2 -0
- package/fesm2022/acorex-platform-module-help-desk-client-contracts-entity-catalog.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-help-desk-client-contracts.mjs +1 -1283
- package/fesm2022/acorex-platform-module-help-desk-client-contracts.mjs.map +1 -1
- package/fesm2022/{acorex-platform-module-help-desk-client-download-log-file.command-eMaHHzLd.mjs → acorex-platform-module-help-desk-client-download-log-file.command-6OhUT3KQ.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-help-desk-client-download-log-file.command-eMaHHzLd.mjs.map → acorex-platform-module-help-desk-client-download-log-file.command-6OhUT3KQ.mjs.map} +1 -1
- package/fesm2022/acorex-platform-module-help-desk-client-local-entities.mjs +31 -0
- package/fesm2022/acorex-platform-module-help-desk-client-local-entities.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-help-desk-client-report-new-issue.component-C-vY_x_C.mjs → acorex-platform-module-help-desk-client-report-new-issue.component-DYlXM6Zs.mjs} +40 -17
- package/fesm2022/acorex-platform-module-help-desk-client-report-new-issue.component-DYlXM6Zs.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-help-desk-client-show-report-issue.command-q2fqdnAS.mjs → acorex-platform-module-help-desk-client-show-report-issue.command-D5riRQv7.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-help-desk-client-show-report-issue.command-q2fqdnAS.mjs.map → acorex-platform-module-help-desk-client-show-report-issue.command-D5riRQv7.mjs.map} +1 -1
- package/fesm2022/acorex-platform-module-help-desk-client.mjs +1 -1
- package/package.json +21 -1
- package/types/acorex-platform-module-help-desk-client-contracts-entities-issue-type.d.ts +5 -0
- package/types/acorex-platform-module-help-desk-client-contracts-entities-my-reported-issues.d.ts +5 -0
- package/types/acorex-platform-module-help-desk-client-contracts-entities-reported-issues.d.ts +5 -0
- package/types/acorex-platform-module-help-desk-client-contracts-entity-catalog.d.ts +10 -0
- package/types/acorex-platform-module-help-desk-client-contracts.d.ts +2 -8
- package/types/acorex-platform-module-help-desk-client-local-entities.d.ts +12 -0
- package/fesm2022/acorex-platform-module-help-desk-client-report-new-issue.component-C-vY_x_C.mjs.map +0 -1
|
@@ -378,7 +378,7 @@ const AXMCaptureScreenService = signalStore({ providedIn: 'root' }, withState(()
|
|
|
378
378
|
return {
|
|
379
379
|
init: async (onFinish) => {
|
|
380
380
|
try {
|
|
381
|
-
const { AXMCaptureScreenComponent } = await import('./acorex-platform-module-help-desk-client-capture-screen.component-
|
|
381
|
+
const { AXMCaptureScreenComponent } = await import('./acorex-platform-module-help-desk-client-capture-screen.component-D8azYPyS.mjs');
|
|
382
382
|
const viewContainerRef = application.components[0].injector.get(ViewContainerRef);
|
|
383
383
|
componentRef = viewContainerRef.createComponent(AXMCaptureScreenComponent);
|
|
384
384
|
document.body.appendChild(componentRef.location.nativeElement);
|
|
@@ -542,7 +542,7 @@ const AXMReportNewIssueViewModel = signalStore({ providedIn: 'root' }, withState
|
|
|
542
542
|
},
|
|
543
543
|
async showPopup() {
|
|
544
544
|
try {
|
|
545
|
-
const { AXMReportNewIssueComponent } = await import('./acorex-platform-module-help-desk-client-report-new-issue.component-
|
|
545
|
+
const { AXMReportNewIssueComponent } = await import('./acorex-platform-module-help-desk-client-report-new-issue.component-DYlXM6Zs.mjs');
|
|
546
546
|
const config = {
|
|
547
547
|
title: await translateService.translateAsync('@help-desk:report-new-issue.entities.report-new-issue.title'),
|
|
548
548
|
};
|
|
@@ -691,11 +691,11 @@ class AXMHelpDeskModule {
|
|
|
691
691
|
provideCommandSetups([
|
|
692
692
|
{
|
|
693
693
|
key: 'show-report-issue',
|
|
694
|
-
command: () => import('./acorex-platform-module-help-desk-client-show-report-issue.command-
|
|
694
|
+
command: () => import('./acorex-platform-module-help-desk-client-show-report-issue.command-D5riRQv7.mjs').then((c) => c.AXMShowReportIssueCommand),
|
|
695
695
|
},
|
|
696
696
|
{
|
|
697
697
|
key: 'download-log-file',
|
|
698
|
-
command: () => import('./acorex-platform-module-help-desk-client-download-log-file.command-
|
|
698
|
+
command: () => import('./acorex-platform-module-help-desk-client-download-log-file.command-6OhUT3KQ.mjs').then((c) => c.AXMDownloadLogFileCommand),
|
|
699
699
|
},
|
|
700
700
|
]),
|
|
701
701
|
], imports: [AXPComponentSlotModule.forChild({
|
|
@@ -764,11 +764,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
764
764
|
provideCommandSetups([
|
|
765
765
|
{
|
|
766
766
|
key: 'show-report-issue',
|
|
767
|
-
command: () => import('./acorex-platform-module-help-desk-client-show-report-issue.command-
|
|
767
|
+
command: () => import('./acorex-platform-module-help-desk-client-show-report-issue.command-D5riRQv7.mjs').then((c) => c.AXMShowReportIssueCommand),
|
|
768
768
|
},
|
|
769
769
|
{
|
|
770
770
|
key: 'download-log-file',
|
|
771
|
-
command: () => import('./acorex-platform-module-help-desk-client-download-log-file.command-
|
|
771
|
+
command: () => import('./acorex-platform-module-help-desk-client-download-log-file.command-6OhUT3KQ.mjs').then((c) => c.AXMDownloadLogFileCommand),
|
|
772
772
|
},
|
|
773
773
|
]),
|
|
774
774
|
],
|
|
@@ -780,4 +780,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
780
780
|
*/
|
|
781
781
|
|
|
782
782
|
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 };
|
|
783
|
-
//# sourceMappingURL=acorex-platform-module-help-desk-client-acorex-platform-module-help-desk-client-
|
|
783
|
+
//# sourceMappingURL=acorex-platform-module-help-desk-client-acorex-platform-module-help-desk-client-8uBzGpHC.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-module-help-desk-client-acorex-platform-module-help-desk-client-OtDtf3iY.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/manifest.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 ----\n\nimport { AXPModuleManifest } from '@acorex-platform/framework-client/core';\nimport { RootConfig } from '@acorex-platform/module-help-desk-client/contracts';\n\n//#endregion\n\n//#region ---- Manifest Definition ----\n\n/**\n * Help Desk Module Manifest.\n * Defines module metadata, features, and provider references.\n */\nexport const HelpDeskManifest: AXPModuleManifest = {\n name: RootConfig.module.name,\n version: '1.0.0',\n title: RootConfig.module.title,\n icon: RootConfig.module.icon,\n i18n: RootConfig.config.i18n,\n\n type: 'domain',\n domain: 'operations',\n // Module dependencies (optional)\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 { AXMediaViewerData } from '@acorex/components/media-viewer';\nimport { AXPopupConfig, AXPopupService } from '@acorex/components/popup';\nimport { AXTranslationService } from '@acorex/core/translation';\nimport { AXPEntityBroadcastService, AXPDataGenerator} from '@acorex-platform/framework-client/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 captureScreenService = inject(AXMCaptureScreenService),\n logCaptureService = inject(AXMLogCaptureService),\n entityEvents = inject(AXPEntityBroadcastService),\n translateService = inject(AXTranslationService),\n ) => {\n const createMediaItem = (\n name: string,\n mediaUrl: string,\n type: 'image' | 'video' | 'text',\n ): AXMediaViewerData => ({\n id: (store.media().length + 1).toString(),\n name: name,\n type: type as any,\n thumbnailUrl: mediaUrl,\n url: mediaUrl,\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: AXMediaViewerData[] = [];\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, data.type as 'image' | 'video'));\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, 'text'));\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 const { AXMReportNewIssueComponent } = await import(\n '../components/report-new-issue/report-new-issue.component'\n );\n const config: AXPopupConfig = {\n title: await translateService.translateAsync('@help-desk:report-new-issue.entities.report-new-issue.title'),\n };\n const result = await popupService.open(AXMReportNewIssueComponent, config);\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';\nimport { AXPDistributedEventListenerProvider } from '@acorex-platform/framework-client/core';\nimport { AXMReportNewIssueViewModel } from '../../../../services/report-new-issue.viewmodel';\n\nexport const CaptureScreenHookProvider: AXPDistributedEventListenerProvider<any, any> = {\n key: 'file-uploader.actions',\n priority: 0,\n execute: (payload: { host: any; plugins: { name: string; options?: unknown }[]; excludePlugins: string[]; actions: any[] }) => {\n const vm = inject(AXMReportNewIssueViewModel);\n\n const isExcluded = Array.isArray(payload.excludePlugins) && payload.excludePlugins.includes('capture-screen');\n // show if plugin is explicitly enabled or it's global and not excluded\n const isEnabled = Array.isArray(payload.plugins) && payload.plugins.some(p => p.name === 'capture-screen');\n if (!isEnabled && isExcluded) {\n return payload;\n }\n\n payload.actions = [\n ...payload.actions,\n {\n plugin: 'capture-screen',\n global: false,\n textKey: '@help-desk:report-new-issue.components.report-new-issue-form.capture-screen',\n icon: 'fa-light fa-video',\n run: async () => {\n vm.startCapturing();\n },\n },\n ];\n\n return payload;\n },\n};\n\n\n","import { AXPExecuteCommand } from '@acorex-platform/framework-shared/core';\nimport { AXPDistributedEventListenerProvider } from '@acorex-platform/framework-client/core';\n\n//#region ---- Types ----\n\ntype ProfileSectionsPayload = {\n sections: Record<string, unknown>[];\n groupId?: string;\n};\n\n//#endregion\n\n//#region ---- Helpers ----\n\nconst comingSoon = (messageKey: string): AXPExecuteCommand => ({\n name: 'auth:profile-coming-soon',\n options: { messageKey },\n});\n\n//#endregion\n\n//#region ---- Help desk profile sections ----\n\n/** Contributes help desk sections to the user profile hub. */\nexport const HelpDeskProfileSectionsHookProvider: AXPDistributedEventListenerProvider<\n ProfileSectionsPayload,\n ProfileSectionsPayload\n> = {\n key: 'profile-page.sections',\n priority: 10,\n execute: (payload) => {\n if (payload.groupId && payload.groupId !== 'requests') {\n return payload;\n }\n\n return {\n ...payload,\n sections: [\n ...payload.sections,\n {\n id: 'my-tickets',\n groupId: 'requests',\n title: '@help-desk:profile-page.sections.my-tickets.title',\n description: '@help-desk:profile-page.sections.my-tickets.description',\n icon: 'far fa-ticket',\n priority: 10,\n layout: { colSpan: 6 },\n actions: [\n {\n name: 'view-my-tickets',\n title: '@help-desk:profile-page.sections.my-tickets.actions.manage',\n icon: 'far fa-arrow-right',\n command: comingSoon('@help-desk:profile-page.commands.view-my-tickets.coming-soon'),\n },\n ],\n },\n ],\n };\n },\n};\n\n//#endregion\n","import { AXPComponentSlotModule } from '@acorex-platform/framework-client/core';\nimport { provideCommandSetups } from '@acorex-platform/framework-client/runtime';\nimport { NgModule } from '@angular/core';\nimport { AXP_MODULE_MANIFEST_PROVIDER, AXP_DISTRIBUTED_EVENT_LISTENER_PROVIDER } from '@acorex-platform/framework-client/core';\nimport { HelpDeskManifest } from './manifest';\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\nimport { AXMSettingProvider } from './setting.provider';\n\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\n@NgModule({\n imports: [\n AXPComponentSlotModule.forChild({\n // 'file-uploader-widget-actions': [\n // {\n // name: 'capture-screen-actions',\n // component: AXPCaptureScreenWidgetExtensionComponent,\n // },\n // ],\n }),\n ],\n exports: [],\n declarations: [],\n providers: [\n // Module-specific providers (not part of manifest system)\n {\n provide: AXP_STATUS_PROVIDERS,\n useClass: AXMReportedIssuesStatusProvider,\n multi: true,\n },\n {\n provide: AXP_DISTRIBUTED_EVENT_LISTENER_PROVIDER,\n useValue: CaptureScreenHookProvider,\n multi: true,\n },\n {\n provide: AXP_DISTRIBUTED_EVENT_LISTENER_PROVIDER,\n useValue: HelpDeskProfileSectionsHookProvider,\n multi: true,\n },\n // Module Manifest Provider\n {\n provide: AXP_MODULE_MANIFEST_PROVIDER,\n useValue: HelpDeskManifest,\n multi: true,\n },\n // Provider references (now using tokens)\n {\n provide: AXP_PERMISSION_DEFINITION_PROVIDER,\n useClass: AXMPermissionDefinitionProvider,\n multi: true,\n },\n {\n provide: AXP_MENU_PROVIDER,\n useClass: AXMMenuProvider,\n multi: true,\n },\n \n {\n provide: AXP_SETTING_DEFINITION_PROVIDER,\n useClass: AXMSettingProvider,\n multi: true,\n },\n provideCommandSetups([\n {\n key: 'show-report-issue',\n command: () =>\n import('./features/report-issue/commands/show-report-issue.command').then((c) => c.AXMShowReportIssueCommand),\n },\n {\n key: 'download-log-file',\n command: () =>\n import('./features/report-issue/commands/download-log-file.command').then((c) => c.AXMDownloadLogFileCommand),\n },\n ]),\n ],\n})\nexport class AXMHelpDeskModule { }\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,MAAM,KAAK,CAAC,IAAI,EAAE,CAAC;AAC1C,CAAA,CAAC,CAAC,EACH,WAAW,CAAC,CAAC,KAAK,KAAI;IACpB,MAAM,iBAAiB,GAAG,MAAK;QAC7B,UAAU,CAAC,KAAK,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC;AACzC,IAAA,CAAC;IACD,MAAM,kBAAkB,GAAG,MAAK;QAC9B,UAAU,CAAC,KAAK,EAAE,EAAE,UAAU,EAAE,KAAK,EAAE,CAAC;AAC1C,IAAA,CAAC;AACD,IAAA,MAAM,aAAa,GAAG,CAAC,OAAe,KAAI;QACxC,UAAU,CAAC,KAAK,EAAE;YAChB,IAAI,EAAE,CAAC,GAAG,KAAK,CAAC,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,SAAS,EAAE,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE,EAAE,CAAC;AACvF,SAAA,CAAC;AACJ,IAAA,CAAC;AACD,IAAA,MAAM,eAAe,GAAG,CAAC,OAAe,KAAI;QAC1C,UAAU,CAAC,KA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,yBAAA;AACD,wBAAA;AACE,4BAAA,OAAO,EAAE,uCAAuC;AAChD,4BAAA,QAAQ,EAAE,mCAAmC;AAC7C,4BAAA,KAAK,EAAE,IAAI;AACZ,yBAAA;;AAED,wBAAA;AACE,4BAAA,OAAO,EAAE,4BAA4B;AACrC,4BAAA,QAAQ,EAAE,gBAAgB;AAC1B,4BAAA,KAAK,EAAE,IAAI;AACZ,yBAAA;;AAED,wBAAA;AACE,4BAAA,OAAO,EAAE,kCAAkC;AAC3C,4BAAA,QAAQ,EAAE,+BAA+B;AACzC,4BAAA,KAAK,EAAE,IAAI;AACZ,yBAAA;AACD,wBAAA;AACE,4BAAA,OAAO,EAAE,iBAAiB;AAC1B,4BAAA,QAAQ,EAAE,eAAe;AACzB,4BAAA,KAAK,EAAE,IAAI;AACZ,yBAAA;AAED,wBAAA;AACE,4BAAA,OAAO,EAAE,+BAA+B;AACxC,4BAAA,QAAQ,EAAE,kBAAkB;AAC5B,4BAAA,KAAK,EAAE,IAAI;AACZ,yBAAA;AACD,wBAAA,oBAAoB,CAAC;AACnB,4BAAA;AACE,gCAAA,GAAG,EAAE,mBAAmB;AACxB,gCAAA,OAAO,EAAE,MACP,OAAO,kFAA4D,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,yBAAyB,CAAC;AAChH,6BAAA;AACD,4BAAA;AACE,gCAAA,GAAG,EAAE,mBAAmB;AACxB,gCAAA,OAAO,EAAE,MACP,OAAO,kFAA4D,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,yBAAyB,CAAC;AAChH,6BAAA;yBACF,CAAC;AACH,qBAAA;AACF,iBAAA;;;AClFD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-help-desk-client-acorex-platform-module-help-desk-client-8uBzGpHC.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/manifest.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 ----\n\nimport { AXPModuleManifest } from '@acorex-platform/framework-client/core';\nimport { RootConfig } from '@acorex-platform/module-help-desk-client/contracts';\n\n//#endregion\n\n//#region ---- Manifest Definition ----\n\n/**\n * Help Desk Module Manifest.\n * Defines module metadata, features, and provider references.\n */\nexport const HelpDeskManifest: AXPModuleManifest = {\n name: RootConfig.module.name,\n version: '1.0.0',\n title: RootConfig.module.title,\n icon: RootConfig.module.icon,\n i18n: RootConfig.config.i18n,\n\n type: 'domain',\n domain: 'operations',\n // Module dependencies (optional)\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 { AXMediaViewerData } from '@acorex/components/media-viewer';\nimport { AXPopupConfig, AXPopupService } from '@acorex/components/popup';\nimport { AXTranslationService } from '@acorex/core/translation';\nimport { AXPEntityBroadcastService, AXPDataGenerator} from '@acorex-platform/framework-client/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 captureScreenService = inject(AXMCaptureScreenService),\n logCaptureService = inject(AXMLogCaptureService),\n entityEvents = inject(AXPEntityBroadcastService),\n translateService = inject(AXTranslationService),\n ) => {\n const createMediaItem = (\n name: string,\n mediaUrl: string,\n type: 'image' | 'video' | 'text',\n ): AXMediaViewerData => ({\n id: (store.media().length + 1).toString(),\n name: name,\n type: type as any,\n thumbnailUrl: mediaUrl,\n url: mediaUrl,\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: AXMediaViewerData[] = [];\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, data.type as 'image' | 'video'));\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, 'text'));\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 const { AXMReportNewIssueComponent } = await import(\n '../components/report-new-issue/report-new-issue.component'\n );\n const config: AXPopupConfig = {\n title: await translateService.translateAsync('@help-desk:report-new-issue.entities.report-new-issue.title'),\n };\n const result = await popupService.open(AXMReportNewIssueComponent, config);\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';\nimport { AXPDistributedEventListenerProvider } from '@acorex-platform/framework-client/core';\nimport { AXMReportNewIssueViewModel } from '../../../../services/report-new-issue.viewmodel';\n\nexport const CaptureScreenHookProvider: AXPDistributedEventListenerProvider<any, any> = {\n key: 'file-uploader.actions',\n priority: 0,\n execute: (payload: { host: any; plugins: { name: string; options?: unknown }[]; excludePlugins: string[]; actions: any[] }) => {\n const vm = inject(AXMReportNewIssueViewModel);\n\n const isExcluded = Array.isArray(payload.excludePlugins) && payload.excludePlugins.includes('capture-screen');\n // show if plugin is explicitly enabled or it's global and not excluded\n const isEnabled = Array.isArray(payload.plugins) && payload.plugins.some(p => p.name === 'capture-screen');\n if (!isEnabled && isExcluded) {\n return payload;\n }\n\n payload.actions = [\n ...payload.actions,\n {\n plugin: 'capture-screen',\n global: false,\n textKey: '@help-desk:report-new-issue.components.report-new-issue-form.capture-screen',\n icon: 'fa-light fa-video',\n run: async () => {\n vm.startCapturing();\n },\n },\n ];\n\n return payload;\n },\n};\n\n\n","import { AXPExecuteCommand } from '@acorex-platform/framework-shared/core';\nimport { AXPDistributedEventListenerProvider } from '@acorex-platform/framework-client/core';\n\n//#region ---- Types ----\n\ntype ProfileSectionsPayload = {\n sections: Record<string, unknown>[];\n groupId?: string;\n};\n\n//#endregion\n\n//#region ---- Helpers ----\n\nconst comingSoon = (messageKey: string): AXPExecuteCommand => ({\n name: 'auth:profile-coming-soon',\n options: { messageKey },\n});\n\n//#endregion\n\n//#region ---- Help desk profile sections ----\n\n/** Contributes help desk sections to the user profile hub. */\nexport const HelpDeskProfileSectionsHookProvider: AXPDistributedEventListenerProvider<\n ProfileSectionsPayload,\n ProfileSectionsPayload\n> = {\n key: 'profile-page.sections',\n priority: 10,\n execute: (payload) => {\n if (payload.groupId && payload.groupId !== 'requests') {\n return payload;\n }\n\n return {\n ...payload,\n sections: [\n ...payload.sections,\n {\n id: 'my-tickets',\n groupId: 'requests',\n title: '@help-desk:profile-page.sections.my-tickets.title',\n description: '@help-desk:profile-page.sections.my-tickets.description',\n icon: 'far fa-ticket',\n priority: 10,\n layout: { colSpan: 6 },\n actions: [\n {\n name: 'view-my-tickets',\n title: '@help-desk:profile-page.sections.my-tickets.actions.manage',\n icon: 'far fa-arrow-right',\n command: comingSoon('@help-desk:profile-page.commands.view-my-tickets.coming-soon'),\n },\n ],\n },\n ],\n };\n },\n};\n\n//#endregion\n","import { AXPComponentSlotModule } from '@acorex-platform/framework-client/core';\nimport { provideCommandSetups } from '@acorex-platform/framework-client/runtime';\nimport { NgModule } from '@angular/core';\nimport { AXP_MODULE_MANIFEST_PROVIDER, AXP_DISTRIBUTED_EVENT_LISTENER_PROVIDER } from '@acorex-platform/framework-client/core';\nimport { HelpDeskManifest } from './manifest';\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\nimport { AXMSettingProvider } from './setting.provider';\n\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\n@NgModule({\n imports: [\n AXPComponentSlotModule.forChild({\n // 'file-uploader-widget-actions': [\n // {\n // name: 'capture-screen-actions',\n // component: AXPCaptureScreenWidgetExtensionComponent,\n // },\n // ],\n }),\n ],\n exports: [],\n declarations: [],\n providers: [\n // Module-specific providers (not part of manifest system)\n {\n provide: AXP_STATUS_PROVIDERS,\n useClass: AXMReportedIssuesStatusProvider,\n multi: true,\n },\n {\n provide: AXP_DISTRIBUTED_EVENT_LISTENER_PROVIDER,\n useValue: CaptureScreenHookProvider,\n multi: true,\n },\n {\n provide: AXP_DISTRIBUTED_EVENT_LISTENER_PROVIDER,\n useValue: HelpDeskProfileSectionsHookProvider,\n multi: true,\n },\n // Module Manifest Provider\n {\n provide: AXP_MODULE_MANIFEST_PROVIDER,\n useValue: HelpDeskManifest,\n multi: true,\n },\n // Provider references (now using tokens)\n {\n provide: AXP_PERMISSION_DEFINITION_PROVIDER,\n useClass: AXMPermissionDefinitionProvider,\n multi: true,\n },\n {\n provide: AXP_MENU_PROVIDER,\n useClass: AXMMenuProvider,\n multi: true,\n },\n \n {\n provide: AXP_SETTING_DEFINITION_PROVIDER,\n useClass: AXMSettingProvider,\n multi: true,\n },\n provideCommandSetups([\n {\n key: 'show-report-issue',\n command: () =>\n import('./features/report-issue/commands/show-report-issue.command').then((c) => c.AXMShowReportIssueCommand),\n },\n {\n key: 'download-log-file',\n command: () =>\n import('./features/report-issue/commands/download-log-file.command').then((c) => c.AXMDownloadLogFileCommand),\n },\n ]),\n ],\n})\nexport class AXMHelpDeskModule { }\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,E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,4BAAA,KAAK,EAAE,IAAI;AACZ,yBAAA;AAED,wBAAA;AACE,4BAAA,OAAO,EAAE,+BAA+B;AACxC,4BAAA,QAAQ,EAAE,kBAAkB;AAC5B,4BAAA,KAAK,EAAE,IAAI;AACZ,yBAAA;AACD,wBAAA,oBAAoB,CAAC;AACnB,4BAAA;AACE,gCAAA,GAAG,EAAE,mBAAmB;AACxB,gCAAA,OAAO,EAAE,MACP,OAAO,kFAA4D,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,yBAAyB,CAAC;AAChH,6BAAA;AACD,4BAAA;AACE,gCAAA,GAAG,EAAE,mBAAmB;AACxB,gCAAA,OAAO,EAAE,MACP,OAAO,kFAA4D,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,yBAAyB,CAAC;AAChH,6BAAA;yBACF,CAAC;AACH,qBAAA;AACF,iBAAA;;;AClFD;;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-8uBzGpHC.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-D8azYPyS.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-D8azYPyS.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,I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AAA,YAAA,EAAA,MAAA,EAAA,CAAA,SAAA,EAAA,MAAA,EAAA,SAAA,CAAA,EAAA,OAAA,EAAA,CAAA,eAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAE,cAAc,EAAA,EAAA,EAAA,IAAA,EAAA,MAAA,EAAA,IAAA,EAAA,EAAA,CAAA,SAAA,EAAA,IAAA,EAAA,OAAA,EAAA,EAAA,EAAA,IAAA,EAAA,MAAA,EAAA,IAAA,EAAA,EAAA,CAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,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;;;;;"}
|
|
@@ -0,0 +1,258 @@
|
|
|
1
|
+
import { AXPWidgetsCatalog } from '@acorex-platform/framework-shared/core';
|
|
2
|
+
import { createAllQueryView, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';
|
|
3
|
+
|
|
4
|
+
const config = {
|
|
5
|
+
i18n: 'help-desk',
|
|
6
|
+
};
|
|
7
|
+
const RootConfig = {
|
|
8
|
+
config,
|
|
9
|
+
module: {
|
|
10
|
+
route: 'help-desk',
|
|
11
|
+
name: 'HelpDesk',
|
|
12
|
+
title: '@help-desk:module.title',
|
|
13
|
+
icon: 'fa-light fa-file-invoice',
|
|
14
|
+
},
|
|
15
|
+
entities: {
|
|
16
|
+
issueType: {
|
|
17
|
+
name: 'IssueType',
|
|
18
|
+
title: '@help-desk:issue-types.entities.issue-type.title',
|
|
19
|
+
titlePlural: '@help-desk:issue-types.entities.issue-type.plural',
|
|
20
|
+
icon: 'fa-light fa-list',
|
|
21
|
+
},
|
|
22
|
+
reportedIssues: {
|
|
23
|
+
name: 'ReportedIssues',
|
|
24
|
+
title: '@help-desk:reported-issues.entities.reported-issue.title',
|
|
25
|
+
titlePlural: '@help-desk:reported-issues.entities.reported-issue.plural',
|
|
26
|
+
icon: 'fa-light fa-bug',
|
|
27
|
+
},
|
|
28
|
+
myReportedIssues: {
|
|
29
|
+
name: 'MyReportedIssues',
|
|
30
|
+
title: '@help-desk:my-reported-issues.entities.my-reported-issue.title',
|
|
31
|
+
titlePlural: '@help-desk:my-reported-issues.entities.my-reported-issue.plural',
|
|
32
|
+
icon: 'fa-light fa-message-exclamation',
|
|
33
|
+
},
|
|
34
|
+
reportNewIssue: {
|
|
35
|
+
name: 'ReportNewIssue',
|
|
36
|
+
title: '@help-desk:report-new-issue.entities.report-new-issue.title',
|
|
37
|
+
titlePlural: '@help-desk:report-new-issue.entities.report-new-issue.plural',
|
|
38
|
+
icon: 'fa-light fa-clipboard-list-check',
|
|
39
|
+
},
|
|
40
|
+
},
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
async function issueTypeEntityFactory() {
|
|
44
|
+
const entityDef = {
|
|
45
|
+
module: RootConfig.module.name,
|
|
46
|
+
name: RootConfig.entities.issueType.name,
|
|
47
|
+
title: RootConfig.entities.issueType.title,
|
|
48
|
+
icon: RootConfig.entities.issueType.icon,
|
|
49
|
+
formats: {
|
|
50
|
+
individual: RootConfig.entities.issueType.title,
|
|
51
|
+
plural: RootConfig.entities.issueType.titlePlural,
|
|
52
|
+
searchResult: {
|
|
53
|
+
title: '{{ title }}',
|
|
54
|
+
description: '{{ description }}',
|
|
55
|
+
},
|
|
56
|
+
},
|
|
57
|
+
relatedEntities: [],
|
|
58
|
+
groups: [
|
|
59
|
+
{
|
|
60
|
+
id: 'main',
|
|
61
|
+
title: '@help-desk:issue-types.entities.issue-type.groups.main',
|
|
62
|
+
},
|
|
63
|
+
],
|
|
64
|
+
properties: [
|
|
65
|
+
{
|
|
66
|
+
name: 'id',
|
|
67
|
+
title: 'ID',
|
|
68
|
+
groupId: 'main',
|
|
69
|
+
schema: {
|
|
70
|
+
dataType: 'string',
|
|
71
|
+
visible: false,
|
|
72
|
+
nullable: false,
|
|
73
|
+
readonly: true,
|
|
74
|
+
unique: {
|
|
75
|
+
enabled: true,
|
|
76
|
+
},
|
|
77
|
+
},
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
name: 'title',
|
|
81
|
+
title: '@help-desk:issue-types.entities.issue-type.fields.title',
|
|
82
|
+
groupId: 'main',
|
|
83
|
+
options: {
|
|
84
|
+
sort: {
|
|
85
|
+
enabled: true,
|
|
86
|
+
},
|
|
87
|
+
filter: {
|
|
88
|
+
advance: {
|
|
89
|
+
enabled: true,
|
|
90
|
+
},
|
|
91
|
+
inline: {
|
|
92
|
+
enabled: true,
|
|
93
|
+
},
|
|
94
|
+
},
|
|
95
|
+
},
|
|
96
|
+
schema: {
|
|
97
|
+
dataType: 'string',
|
|
98
|
+
interface: {
|
|
99
|
+
type: AXPWidgetsCatalog.text,
|
|
100
|
+
},
|
|
101
|
+
},
|
|
102
|
+
validations: [
|
|
103
|
+
{
|
|
104
|
+
rule: 'required',
|
|
105
|
+
},
|
|
106
|
+
],
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
name: 'description',
|
|
110
|
+
title: '@help-desk:issue-types.entities.issue-type.fields.description',
|
|
111
|
+
groupId: 'main',
|
|
112
|
+
options: {
|
|
113
|
+
sort: {
|
|
114
|
+
enabled: false,
|
|
115
|
+
},
|
|
116
|
+
filter: {
|
|
117
|
+
advance: {
|
|
118
|
+
enabled: true,
|
|
119
|
+
},
|
|
120
|
+
inline: {
|
|
121
|
+
enabled: false,
|
|
122
|
+
},
|
|
123
|
+
},
|
|
124
|
+
},
|
|
125
|
+
schema: {
|
|
126
|
+
dataType: 'string',
|
|
127
|
+
interface: {
|
|
128
|
+
type: AXPWidgetsCatalog.largeText,
|
|
129
|
+
options: {
|
|
130
|
+
rows: 3,
|
|
131
|
+
},
|
|
132
|
+
},
|
|
133
|
+
},
|
|
134
|
+
validations: [
|
|
135
|
+
{
|
|
136
|
+
rule: 'required',
|
|
137
|
+
},
|
|
138
|
+
],
|
|
139
|
+
},
|
|
140
|
+
],
|
|
141
|
+
columns: [{ name: 'title' }, { name: 'description' }],
|
|
142
|
+
interfaces: {
|
|
143
|
+
master: {
|
|
144
|
+
create: {
|
|
145
|
+
sections: [
|
|
146
|
+
{
|
|
147
|
+
id: 'main',
|
|
148
|
+
},
|
|
149
|
+
],
|
|
150
|
+
properties: [
|
|
151
|
+
{
|
|
152
|
+
name: 'title',
|
|
153
|
+
layout: {
|
|
154
|
+
positions: {
|
|
155
|
+
lg: {
|
|
156
|
+
colSpan: 12,
|
|
157
|
+
order: 1,
|
|
158
|
+
},
|
|
159
|
+
},
|
|
160
|
+
},
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
name: 'description',
|
|
164
|
+
layout: {
|
|
165
|
+
positions: {
|
|
166
|
+
lg: {
|
|
167
|
+
colSpan: 12,
|
|
168
|
+
order: 2,
|
|
169
|
+
},
|
|
170
|
+
},
|
|
171
|
+
},
|
|
172
|
+
},
|
|
173
|
+
],
|
|
174
|
+
},
|
|
175
|
+
update: {
|
|
176
|
+
sections: [
|
|
177
|
+
{
|
|
178
|
+
id: 'main',
|
|
179
|
+
},
|
|
180
|
+
],
|
|
181
|
+
properties: [
|
|
182
|
+
{
|
|
183
|
+
name: 'title',
|
|
184
|
+
layout: {
|
|
185
|
+
positions: {
|
|
186
|
+
lg: {
|
|
187
|
+
colSpan: 12,
|
|
188
|
+
order: 1,
|
|
189
|
+
},
|
|
190
|
+
},
|
|
191
|
+
},
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
name: 'description',
|
|
195
|
+
layout: {
|
|
196
|
+
positions: {
|
|
197
|
+
lg: {
|
|
198
|
+
colSpan: 12,
|
|
199
|
+
order: 2,
|
|
200
|
+
},
|
|
201
|
+
},
|
|
202
|
+
},
|
|
203
|
+
},
|
|
204
|
+
],
|
|
205
|
+
},
|
|
206
|
+
single: {
|
|
207
|
+
title: '{{title}}',
|
|
208
|
+
sections: [
|
|
209
|
+
{
|
|
210
|
+
id: 'main',
|
|
211
|
+
},
|
|
212
|
+
],
|
|
213
|
+
properties: [
|
|
214
|
+
{
|
|
215
|
+
name: 'title',
|
|
216
|
+
layout: {
|
|
217
|
+
positions: {
|
|
218
|
+
lg: {
|
|
219
|
+
colSpan: 12,
|
|
220
|
+
order: 1,
|
|
221
|
+
},
|
|
222
|
+
},
|
|
223
|
+
},
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
name: 'description',
|
|
227
|
+
layout: {
|
|
228
|
+
positions: {
|
|
229
|
+
lg: {
|
|
230
|
+
colSpan: 12,
|
|
231
|
+
order: 2,
|
|
232
|
+
},
|
|
233
|
+
},
|
|
234
|
+
},
|
|
235
|
+
},
|
|
236
|
+
],
|
|
237
|
+
actions: [...entityMasterRecordActions()],
|
|
238
|
+
},
|
|
239
|
+
list: {
|
|
240
|
+
actions: [...entityMasterCrudActions()],
|
|
241
|
+
views: [
|
|
242
|
+
createAllQueryView({
|
|
243
|
+
sorts: [{ name: 'title', dir: 'asc' }],
|
|
244
|
+
}),
|
|
245
|
+
],
|
|
246
|
+
},
|
|
247
|
+
},
|
|
248
|
+
},
|
|
249
|
+
};
|
|
250
|
+
return entityDef;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
/**
|
|
254
|
+
* Generated bundle index. Do not edit.
|
|
255
|
+
*/
|
|
256
|
+
|
|
257
|
+
export { issueTypeEntityFactory };
|
|
258
|
+
//# sourceMappingURL=acorex-platform-module-help-desk-client-contracts-entities-issue-type.mjs.map
|