@acorex-platform/module-help-desk-client 0.0.54 → 0.0.57

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.
Files changed (16) hide show
  1. package/fesm2022/{acorex-platform-module-help-desk-client-acorex-platform-module-help-desk-client-D7Xp9E-H.mjs → acorex-platform-module-help-desk-client-acorex-platform-module-help-desk-client-B2V-hrLC.mjs} +7 -7
  2. package/fesm2022/{acorex-platform-module-help-desk-client-acorex-platform-module-help-desk-client-D7Xp9E-H.mjs.map → acorex-platform-module-help-desk-client-acorex-platform-module-help-desk-client-B2V-hrLC.mjs.map} +1 -1
  3. package/fesm2022/{acorex-platform-module-help-desk-client-capture-screen.component-0i7GZgF-.mjs → acorex-platform-module-help-desk-client-capture-screen.component-D0U4x3Sr.mjs} +2 -2
  4. package/fesm2022/{acorex-platform-module-help-desk-client-capture-screen.component-0i7GZgF-.mjs.map → acorex-platform-module-help-desk-client-capture-screen.component-D0U4x3Sr.mjs.map} +1 -1
  5. package/fesm2022/{acorex-platform-module-help-desk-client-download-log-file.command-B55_ocKV.mjs → acorex-platform-module-help-desk-client-download-log-file.command-BKJTD_SO.mjs} +2 -2
  6. package/fesm2022/{acorex-platform-module-help-desk-client-download-log-file.command-B55_ocKV.mjs.map → acorex-platform-module-help-desk-client-download-log-file.command-BKJTD_SO.mjs.map} +1 -1
  7. package/fesm2022/{acorex-platform-module-help-desk-client-report-new-issue.component-D9hOZBs2.mjs → acorex-platform-module-help-desk-client-report-new-issue.component-BipXzfKc.mjs} +28 -31
  8. package/fesm2022/acorex-platform-module-help-desk-client-report-new-issue.component-BipXzfKc.mjs.map +1 -0
  9. package/fesm2022/{acorex-platform-module-help-desk-client-show-report-issue.command-CLu9ppK4.mjs → acorex-platform-module-help-desk-client-show-report-issue.command-DbpYb5sE.mjs} +2 -2
  10. package/fesm2022/{acorex-platform-module-help-desk-client-show-report-issue.command-CLu9ppK4.mjs.map → acorex-platform-module-help-desk-client-show-report-issue.command-DbpYb5sE.mjs.map} +1 -1
  11. package/fesm2022/acorex-platform-module-help-desk-client.mjs +1 -1
  12. package/i18n/en-AU/help-desk.json +226 -0
  13. package/i18n/en-US/help-desk.json +226 -0
  14. package/i18n/fa-IR/help-desk.json +226 -0
  15. package/package.json +1 -1
  16. package/fesm2022/acorex-platform-module-help-desk-client-report-new-issue.component-D9hOZBs2.mjs.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-help-desk-client-report-new-issue.component-BipXzfKc.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,CAAC,oBAAoB,CAAC;AAOxD,QAAA,IAAA,CAAA,EAAE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,CAAA,2BAAA,EAAA,QAAA,EAAA,uBAAA,EAAA,MAAA,EAAA,CAAA,SAAA,EAAA,WAAA,CAAA,EAAA,OAAA,EAAA,CAAA,kBAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,0BAAA,EAAA,QAAA,EAAA,uBAAA,EAAA,MAAA,EAAA,CAAA,YAAA,EAAA,OAAA,EAAA,MAAA,EAAA,MAAA,CAAA,EAAA,OAAA,EAAA,CAAA,kBAAA,EAAA,gBAAA,EAAA,QAAA,CAAA,EAAA,QAAA,EAAA,CAAA,gBAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,MAAA,EAAA,IAAA,EAAAC,IAAA,CAAA,SAAA,EAAA,IAAA,EAAA,OAAA,EAAA,EAAA,EAAA,IAAA,EAAA,MAAA,EAAA,IAAA,EAAA,GAAA,CAAA,gBAAA,EAAA,IAAA,EAAA,WAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,KAAA,EAAA,CAAA,CAAA;;2FAGV,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBApBtC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,sBAAsB,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,6 +1,6 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { inject, Injectable } from '@angular/core';
3
- import { A as AXMReportNewIssueViewModel } from './acorex-platform-module-help-desk-client-acorex-platform-module-help-desk-client-D7Xp9E-H.mjs';
3
+ import { A as AXMReportNewIssueViewModel } from './acorex-platform-module-help-desk-client-acorex-platform-module-help-desk-client-B2V-hrLC.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-CLu9ppK4.mjs.map
23
+ //# sourceMappingURL=acorex-platform-module-help-desk-client-show-report-issue.command-DbpYb5sE.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-platform-module-help-desk-client-show-report-issue.command-CLu9ppK4.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
+ {"version":3,"file":"acorex-platform-module-help-desk-client-show-report-issue.command-DbpYb5sE.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-D7Xp9E-H.mjs';
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-B2V-hrLC.mjs';
2
2
  //# sourceMappingURL=acorex-platform-module-help-desk-client.mjs.map
@@ -0,0 +1,226 @@
1
+ {
2
+ "module": {
3
+ "title": "Help Desk",
4
+ "description": "Manage help desk issues, issue types, and provide support resources",
5
+ "menus": {
6
+ "root": {
7
+ "title": "Help Desk",
8
+ "description": "Access all help desk features"
9
+ }
10
+ }
11
+ },
12
+ "reported-issues": {
13
+ "terms": {
14
+ "reported-issue": "Reported Issue",
15
+ "reported-issues": "Reported Issues"
16
+ },
17
+ "states": {
18
+ "new": "New",
19
+ "in-progress": "In Progress",
20
+ "pending": "Pending",
21
+ "resolved": "Resolved",
22
+ "closed": "Closed"
23
+ },
24
+ "entities": {
25
+ "reported-issue": {
26
+ "title": "Reported Issue",
27
+ "plural": "Reported Issues"
28
+ }
29
+ },
30
+ "components": {
31
+ "reported-issues-list": {
32
+ "title": "Reported Issues",
33
+ "groups": {
34
+ "main": "Main",
35
+ "details": "Details",
36
+ "system": "System",
37
+ "comments": "Comments"
38
+ },
39
+ "fields": {
40
+ "user": "User",
41
+ "issue-type": "Issue Type",
42
+ "priority": "Priority",
43
+ "title": "Title",
44
+ "description": "Description",
45
+ "attachments": "Attachments",
46
+ "status": "Status",
47
+ "system-info": "System Info",
48
+ "error-logs": "Error Logs",
49
+ "created-at": "Created At"
50
+ }
51
+ }
52
+ },
53
+ "actions": {
54
+ "download-log": {
55
+ "title": "Download Log"
56
+ }
57
+ },
58
+ "menus": {
59
+ "reported-issues": {
60
+ "title": "Reported Issues",
61
+ "description": "Manage all reported issues"
62
+ }
63
+ },
64
+ "permissions": {
65
+ "reported-issues": {
66
+ "title": "Reported Issues",
67
+ "actions": {
68
+ "manage": {
69
+ "title": "Manage Reported Issues",
70
+ "description": "Full reported issues management access"
71
+ },
72
+ "view": {
73
+ "title": "View Reported Issues",
74
+ "description": "View reported issue information"
75
+ },
76
+ "create": {
77
+ "title": "Create Reported Issue",
78
+ "description": "Create new reported issues"
79
+ },
80
+ "edit": {
81
+ "title": "Edit Reported Issue",
82
+ "description": "Edit reported issue information"
83
+ },
84
+ "delete": {
85
+ "title": "Delete Reported Issues",
86
+ "description": "Delete reported issues"
87
+ }
88
+ }
89
+ }
90
+ }
91
+ },
92
+ "issue-types": {
93
+ "terms": {
94
+ "issue-type": "Issue Type",
95
+ "issue-types": "Issue Types"
96
+ },
97
+ "entities": {
98
+ "issue-type": {
99
+ "title": "Issue Type",
100
+ "plural": "Issue Types",
101
+ "fields": {
102
+ "title": "Title",
103
+ "description": "Description"
104
+ },
105
+ "groups": {
106
+ "main": "Main"
107
+ }
108
+ }
109
+ },
110
+ "menus": {
111
+ "issue-types": {
112
+ "title": "Issue Types",
113
+ "description": "Manage issue types"
114
+ }
115
+ }
116
+ },
117
+ "my-reported-issues": {
118
+ "terms": {
119
+ "my-reported-issue": "My Reported Issue",
120
+ "my-reported-issues": "My Reported Issues"
121
+ },
122
+ "entities": {
123
+ "my-reported-issue": {
124
+ "title": "My Reported Issue",
125
+ "plural": "My Reported Issues"
126
+ }
127
+ },
128
+ "menus": {
129
+ "my-reported-issues": {
130
+ "title": "Requests & Issues",
131
+ "description": "View your reported issues"
132
+ }
133
+ },
134
+ "permissions": {
135
+ "my-reported-issues": {
136
+ "title": "My Reported Issues",
137
+ "actions": {
138
+ "manage": {
139
+ "title": "Manage My Reported Issues",
140
+ "description": "Full my reported issues management access"
141
+ },
142
+ "view": {
143
+ "title": "View My Reported Issues",
144
+ "description": "View my reported issue information"
145
+ },
146
+ "create": {
147
+ "title": "Create My Reported Issue",
148
+ "description": "Create new my reported issues"
149
+ },
150
+ "edit": {
151
+ "title": "Edit My Reported Issue",
152
+ "description": "Edit my reported issue information"
153
+ },
154
+ "delete": {
155
+ "title": "Delete My Reported Issues",
156
+ "description": "Delete my reported issues"
157
+ }
158
+ }
159
+ }
160
+ }
161
+ },
162
+ "report-new-issue": {
163
+ "terms": {
164
+ "report-new-issue": "Report an Issue",
165
+ "report-new-issues": "Report an Issues"
166
+ },
167
+ "entities": {
168
+ "report-new-issue": {
169
+ "title": "Report an Issue",
170
+ "plural": "Report an Issues"
171
+ }
172
+ },
173
+ "components": {
174
+ "report-new-issue-form": {
175
+ "title": "Report an Issue",
176
+ "fields": {
177
+ "issue-type": "Issue Type",
178
+ "priority": "Priority",
179
+ "title": "Title",
180
+ "description": "Description",
181
+ "attachments": "Attachments"
182
+ },
183
+ "attach-box-description": "You can upload your screen",
184
+ "capture-screen": "Capture Screen",
185
+ "capture-screen-error": "Error starting screen recording. Please check your permissions and try again.",
186
+ "get-microphone-error": "Could not get microphone access, recording without microphone audio.",
187
+ "recording-time-limit": "Recording time limit reached (5 minute)",
188
+ "priorities": {
189
+ "low": "Low",
190
+ "medium": "Medium",
191
+ "high": "High",
192
+ "critical": "Critical"
193
+ }
194
+ }
195
+ },
196
+ "actions": {
197
+ "report-issue": {
198
+ "title": "Report an Issue"
199
+ }
200
+ }
201
+ },
202
+ "profile-page": {
203
+ "sections": {
204
+ "my-tickets": {
205
+ "title": "My Tickets",
206
+ "description": "Track support tickets you have submitted.",
207
+ "actions": {
208
+ "manage": "View My Tickets"
209
+ }
210
+ }
211
+ },
212
+ "commands": {
213
+ "view-my-tickets": {
214
+ "coming-soon": "My tickets will be available soon."
215
+ }
216
+ }
217
+ },
218
+ "commands": {
219
+ "show-report-issue": {
220
+ "title": "Show Report Issue Popup"
221
+ },
222
+ "download-log-file": {
223
+ "title": "Download Log File"
224
+ }
225
+ }
226
+ }
@@ -0,0 +1,226 @@
1
+ {
2
+ "module": {
3
+ "title": "Help Desk",
4
+ "description": "Manage help desk issues, issue types, and provide support resources",
5
+ "menus": {
6
+ "root": {
7
+ "title": "Help Desk",
8
+ "description": "Access all help desk features"
9
+ }
10
+ }
11
+ },
12
+ "reported-issues": {
13
+ "terms": {
14
+ "reported-issue": "Reported Issue",
15
+ "reported-issues": "Reported Issues"
16
+ },
17
+ "states": {
18
+ "new": "New",
19
+ "in-progress": "In Progress",
20
+ "pending": "Pending",
21
+ "resolved": "Resolved",
22
+ "closed": "Closed"
23
+ },
24
+ "entities": {
25
+ "reported-issue": {
26
+ "title": "Reported Issue",
27
+ "plural": "Reported Issues"
28
+ }
29
+ },
30
+ "components": {
31
+ "reported-issues-list": {
32
+ "title": "Reported Issues",
33
+ "groups": {
34
+ "main": "Main",
35
+ "details": "Details",
36
+ "system": "System",
37
+ "comments": "Comments"
38
+ },
39
+ "fields": {
40
+ "user": "User",
41
+ "issue-type": "Issue Type",
42
+ "priority": "Priority",
43
+ "title": "Title",
44
+ "description": "Description",
45
+ "attachments": "Attachments",
46
+ "status": "Status",
47
+ "system-info": "System Info",
48
+ "error-logs": "Error Logs",
49
+ "created-at": "Created At"
50
+ }
51
+ }
52
+ },
53
+ "actions": {
54
+ "download-log": {
55
+ "title": "Download Log"
56
+ }
57
+ },
58
+ "menus": {
59
+ "reported-issues": {
60
+ "title": "Reported Issues",
61
+ "description": "Manage all reported issues"
62
+ }
63
+ },
64
+ "permissions": {
65
+ "reported-issues": {
66
+ "title": "Reported Issues",
67
+ "actions": {
68
+ "manage": {
69
+ "title": "Manage Reported Issues",
70
+ "description": "Full reported issues management access"
71
+ },
72
+ "view": {
73
+ "title": "View Reported Issues",
74
+ "description": "View reported issue information"
75
+ },
76
+ "create": {
77
+ "title": "Create Reported Issue",
78
+ "description": "Create new reported issues"
79
+ },
80
+ "edit": {
81
+ "title": "Edit Reported Issue",
82
+ "description": "Edit reported issue information"
83
+ },
84
+ "delete": {
85
+ "title": "Delete Reported Issues",
86
+ "description": "Delete reported issues"
87
+ }
88
+ }
89
+ }
90
+ }
91
+ },
92
+ "issue-types": {
93
+ "terms": {
94
+ "issue-type": "Issue Type",
95
+ "issue-types": "Issue Types"
96
+ },
97
+ "entities": {
98
+ "issue-type": {
99
+ "title": "Issue Type",
100
+ "plural": "Issue Types",
101
+ "fields": {
102
+ "title": "Title",
103
+ "description": "Description"
104
+ },
105
+ "groups": {
106
+ "main": "Main"
107
+ }
108
+ }
109
+ },
110
+ "menus": {
111
+ "issue-types": {
112
+ "title": "Issue Types",
113
+ "description": "Manage issue types"
114
+ }
115
+ }
116
+ },
117
+ "my-reported-issues": {
118
+ "terms": {
119
+ "my-reported-issue": "My Reported Issue",
120
+ "my-reported-issues": "My Reported Issues"
121
+ },
122
+ "entities": {
123
+ "my-reported-issue": {
124
+ "title": "My Reported Issue",
125
+ "plural": "My Reported Issues"
126
+ }
127
+ },
128
+ "menus": {
129
+ "my-reported-issues": {
130
+ "title": "Requests & Issues",
131
+ "description": "View your reported issues"
132
+ }
133
+ },
134
+ "permissions": {
135
+ "my-reported-issues": {
136
+ "title": "My Reported Issues",
137
+ "actions": {
138
+ "manage": {
139
+ "title": "Manage My Reported Issues",
140
+ "description": "Full my reported issues management access"
141
+ },
142
+ "view": {
143
+ "title": "View My Reported Issues",
144
+ "description": "View my reported issue information"
145
+ },
146
+ "create": {
147
+ "title": "Create My Reported Issue",
148
+ "description": "Create new my reported issues"
149
+ },
150
+ "edit": {
151
+ "title": "Edit My Reported Issue",
152
+ "description": "Edit my reported issue information"
153
+ },
154
+ "delete": {
155
+ "title": "Delete My Reported Issues",
156
+ "description": "Delete my reported issues"
157
+ }
158
+ }
159
+ }
160
+ }
161
+ },
162
+ "report-new-issue": {
163
+ "terms": {
164
+ "report-new-issue": "Report an Issue",
165
+ "report-new-issues": "Report an Issues"
166
+ },
167
+ "entities": {
168
+ "report-new-issue": {
169
+ "title": "Report an Issue",
170
+ "plural": "Report an Issues"
171
+ }
172
+ },
173
+ "components": {
174
+ "report-new-issue-form": {
175
+ "title": "Report an Issue",
176
+ "fields": {
177
+ "issue-type": "Issue Type",
178
+ "priority": "Priority",
179
+ "title": "Title",
180
+ "description": "Description",
181
+ "attachments": "Attachments"
182
+ },
183
+ "attach-box-description": "You can upload your screen",
184
+ "capture-screen": "Capture Screen",
185
+ "capture-screen-error": "Error starting screen recording. Please check your permissions and try again.",
186
+ "get-microphone-error": "Could not get microphone access, recording without microphone audio.",
187
+ "recording-time-limit": "Recording time limit reached (5 minute)",
188
+ "priorities": {
189
+ "low": "Low",
190
+ "medium": "Medium",
191
+ "high": "High",
192
+ "critical": "Critical"
193
+ }
194
+ }
195
+ },
196
+ "actions": {
197
+ "report-issue": {
198
+ "title": "Report an Issue"
199
+ }
200
+ }
201
+ },
202
+ "profile-page": {
203
+ "sections": {
204
+ "my-tickets": {
205
+ "title": "My Tickets",
206
+ "description": "Track support tickets you have submitted.",
207
+ "actions": {
208
+ "manage": "View My Tickets"
209
+ }
210
+ }
211
+ },
212
+ "commands": {
213
+ "view-my-tickets": {
214
+ "coming-soon": "My tickets will be available soon."
215
+ }
216
+ }
217
+ },
218
+ "commands": {
219
+ "show-report-issue": {
220
+ "title": "Show Report Issue Popup"
221
+ },
222
+ "download-log-file": {
223
+ "title": "Download Log File"
224
+ }
225
+ }
226
+ }