@acorex-platform/module-document-management-client 0.0.61 → 0.0.62

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 (54) hide show
  1. package/fesm2022/{acorex-platform-module-document-management-client-acorex-platform-module-document-management-client-DHVvb5hG.mjs → acorex-platform-module-document-management-client-acorex-platform-module-document-management-client-BiosmCuZ.mjs} +134 -50
  2. package/fesm2022/acorex-platform-module-document-management-client-acorex-platform-module-document-management-client-BiosmCuZ.mjs.map +1 -0
  3. package/fesm2022/{acorex-platform-module-document-management-client-attachment-view-skeleton.component-DD0Lceid.mjs → acorex-platform-module-document-management-client-attachment-view-skeleton.component-D-38wiyG.mjs} +2 -2
  4. package/fesm2022/{acorex-platform-module-document-management-client-attachment-view-skeleton.component-DD0Lceid.mjs.map → acorex-platform-module-document-management-client-attachment-view-skeleton.component-D-38wiyG.mjs.map} +1 -1
  5. package/fesm2022/{acorex-platform-module-document-management-client-attachment-widget.component-YAoJdiMV.mjs → acorex-platform-module-document-management-client-attachment-widget.component-Bd48EHwE.mjs} +2 -2
  6. package/fesm2022/{acorex-platform-module-document-management-client-attachment-widget.component-YAoJdiMV.mjs.map → acorex-platform-module-document-management-client-attachment-widget.component-Bd48EHwE.mjs.map} +1 -1
  7. package/fesm2022/acorex-platform-module-document-management-client-contracts.mjs +172 -4
  8. package/fesm2022/acorex-platform-module-document-management-client-contracts.mjs.map +1 -1
  9. package/fesm2022/{acorex-platform-module-document-management-client-details-view.component-DVrr-Jcx.mjs → acorex-platform-module-document-management-client-details-view.component-DRCj5sJZ.mjs} +2 -2
  10. package/fesm2022/{acorex-platform-module-document-management-client-details-view.component-DVrr-Jcx.mjs.map → acorex-platform-module-document-management-client-details-view.component-DRCj5sJZ.mjs.map} +1 -1
  11. package/fesm2022/{acorex-platform-module-document-management-client-distribute-document.command-dTEExoVn.mjs → acorex-platform-module-document-management-client-distribute-document.command-DgUgY_A1.mjs} +233 -83
  12. package/fesm2022/acorex-platform-module-document-management-client-distribute-document.command-DgUgY_A1.mjs.map +1 -0
  13. package/fesm2022/{acorex-platform-module-document-management-client-distribute-document.command.util-Bnw0rh94.mjs → acorex-platform-module-document-management-client-distribute-document.command.util-HCkpx2Hk.mjs} +2 -2
  14. package/fesm2022/{acorex-platform-module-document-management-client-distribute-document.command.util-Bnw0rh94.mjs.map → acorex-platform-module-document-management-client-distribute-document.command.util-HCkpx2Hk.mjs.map} +1 -1
  15. package/fesm2022/{acorex-platform-module-document-management-client-drive-choose.component-B-CVJk4t.mjs → acorex-platform-module-document-management-client-drive-choose.component-DxEWAigd.mjs} +2 -2
  16. package/fesm2022/{acorex-platform-module-document-management-client-drive-choose.component-B-CVJk4t.mjs.map → acorex-platform-module-document-management-client-drive-choose.component-DxEWAigd.mjs.map} +1 -1
  17. package/fesm2022/{acorex-platform-module-document-management-client-large-icons-view-skeleton.component-DLW69Mgy.mjs → acorex-platform-module-document-management-client-large-icons-view-skeleton.component-B8-WYaZN.mjs} +2 -2
  18. package/fesm2022/{acorex-platform-module-document-management-client-large-icons-view-skeleton.component-DLW69Mgy.mjs.map → acorex-platform-module-document-management-client-large-icons-view-skeleton.component-B8-WYaZN.mjs.map} +1 -1
  19. package/fesm2022/{acorex-platform-module-document-management-client-large-icons-view.component-CSgo6Q03.mjs → acorex-platform-module-document-management-client-large-icons-view.component-dfZyrfST.mjs} +2 -2
  20. package/fesm2022/{acorex-platform-module-document-management-client-large-icons-view.component-CSgo6Q03.mjs.map → acorex-platform-module-document-management-client-large-icons-view.component-dfZyrfST.mjs.map} +1 -1
  21. package/fesm2022/{acorex-platform-module-document-management-client-large-tiles-view.component-CzlMERYd.mjs → acorex-platform-module-document-management-client-large-tiles-view.component-BxZdISS0.mjs} +2 -2
  22. package/fesm2022/{acorex-platform-module-document-management-client-large-tiles-view.component-CzlMERYd.mjs.map → acorex-platform-module-document-management-client-large-tiles-view.component-BxZdISS0.mjs.map} +1 -1
  23. package/fesm2022/{acorex-platform-module-document-management-client-list-view-skeleton.component-DgFCBi89.mjs → acorex-platform-module-document-management-client-list-view-skeleton.component-hOXMuPjS.mjs} +2 -2
  24. package/fesm2022/{acorex-platform-module-document-management-client-list-view-skeleton.component-DgFCBi89.mjs.map → acorex-platform-module-document-management-client-list-view-skeleton.component-hOXMuPjS.mjs.map} +1 -1
  25. package/fesm2022/{acorex-platform-module-document-management-client-list-view.component-bgDPFpLU.mjs → acorex-platform-module-document-management-client-list-view.component-iH0kvdWp.mjs} +2 -2
  26. package/fesm2022/{acorex-platform-module-document-management-client-list-view.component-bgDPFpLU.mjs.map → acorex-platform-module-document-management-client-list-view.component-iH0kvdWp.mjs.map} +1 -1
  27. package/fesm2022/{acorex-platform-module-document-management-client-open-document.command-CObrpooD.mjs → acorex-platform-module-document-management-client-open-document.command-IN2QSWDo.mjs} +45 -4
  28. package/fesm2022/acorex-platform-module-document-management-client-open-document.command-IN2QSWDo.mjs.map +1 -0
  29. package/fesm2022/{acorex-platform-module-document-management-client-request-document-review.command-DNq2mYIx.mjs → acorex-platform-module-document-management-client-request-document-review.command-CK5mJYR4.mjs} +3 -3
  30. package/fesm2022/{acorex-platform-module-document-management-client-request-document-review.command-DNq2mYIx.mjs.map → acorex-platform-module-document-management-client-request-document-review.command-CK5mJYR4.mjs.map} +1 -1
  31. package/fesm2022/{acorex-platform-module-document-management-client-sign-distributed-document.command-DpQ-Un7q.mjs → acorex-platform-module-document-management-client-sign-distributed-document.command-BqLS0leG.mjs} +2 -2
  32. package/fesm2022/{acorex-platform-module-document-management-client-sign-distributed-document.command-DpQ-Un7q.mjs.map → acorex-platform-module-document-management-client-sign-distributed-document.command-BqLS0leG.mjs.map} +1 -1
  33. package/fesm2022/{acorex-platform-module-document-management-client-sign-document-review.command-B08sgrRi.mjs → acorex-platform-module-document-management-client-sign-document-review.command-Ccl9iY7j.mjs} +2 -2
  34. package/fesm2022/{acorex-platform-module-document-management-client-sign-document-review.command-B08sgrRi.mjs.map → acorex-platform-module-document-management-client-sign-document-review.command-Ccl9iY7j.mjs.map} +1 -1
  35. package/fesm2022/{acorex-platform-module-document-management-client-small-icons-view-skeleton.component-CiYITmkk.mjs → acorex-platform-module-document-management-client-small-icons-view-skeleton.component-BABsshsn.mjs} +2 -2
  36. package/fesm2022/{acorex-platform-module-document-management-client-small-icons-view-skeleton.component-CiYITmkk.mjs.map → acorex-platform-module-document-management-client-small-icons-view-skeleton.component-BABsshsn.mjs.map} +1 -1
  37. package/fesm2022/{acorex-platform-module-document-management-client-small-icons-view.component-ILdKPBoz.mjs → acorex-platform-module-document-management-client-small-icons-view.component-BBo1iXfu.mjs} +2 -2
  38. package/fesm2022/{acorex-platform-module-document-management-client-small-icons-view.component-ILdKPBoz.mjs.map → acorex-platform-module-document-management-client-small-icons-view.component-BBo1iXfu.mjs.map} +1 -1
  39. package/fesm2022/{acorex-platform-module-document-management-client-small-tiles-view-skeleton.component-DKOxhUoZ.mjs → acorex-platform-module-document-management-client-small-tiles-view-skeleton.component-BsP4uJdA.mjs} +2 -2
  40. package/fesm2022/{acorex-platform-module-document-management-client-small-tiles-view-skeleton.component-DKOxhUoZ.mjs.map → acorex-platform-module-document-management-client-small-tiles-view-skeleton.component-BsP4uJdA.mjs.map} +1 -1
  41. package/fesm2022/{acorex-platform-module-document-management-client-small-tiles-view.component-yv_uqUPM.mjs → acorex-platform-module-document-management-client-small-tiles-view.component-DrDYpNsF.mjs} +2 -2
  42. package/fesm2022/{acorex-platform-module-document-management-client-small-tiles-view.component-yv_uqUPM.mjs.map → acorex-platform-module-document-management-client-small-tiles-view.component-DrDYpNsF.mjs.map} +1 -1
  43. package/fesm2022/{acorex-platform-module-document-management-client-upload-document.command-CrtRTjke.mjs → acorex-platform-module-document-management-client-upload-document.command-Dycu8sci.mjs} +2 -2
  44. package/fesm2022/{acorex-platform-module-document-management-client-upload-document.command-CrtRTjke.mjs.map → acorex-platform-module-document-management-client-upload-document.command-Dycu8sci.mjs.map} +1 -1
  45. package/fesm2022/acorex-platform-module-document-management-client.mjs +1 -1
  46. package/i18n/en-AU/document-management.json +9 -4
  47. package/i18n/en-US/document-management.json +9 -4
  48. package/i18n/fa-IR/document-management.json +9 -4
  49. package/package.json +2 -2
  50. package/types/acorex-platform-module-document-management-client-contracts.d.ts +23 -1
  51. package/types/acorex-platform-module-document-management-client.d.ts +2 -2
  52. package/fesm2022/acorex-platform-module-document-management-client-acorex-platform-module-document-management-client-DHVvb5hG.mjs.map +0 -1
  53. package/fesm2022/acorex-platform-module-document-management-client-distribute-document.command-dTEExoVn.mjs.map +0 -1
  54. package/fesm2022/acorex-platform-module-document-management-client-open-document.command-CObrpooD.mjs.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-platform-module-document-management-client-upload-document.command-CrtRTjke.mjs","sources":["../../../../libs/modules/document-management/client/src/lib/features/commands/upload-document.command.ts"],"sourcesContent":["//#region ---- Imports ----\n\nimport { AXPFileChooserService } from '@acorex-platform/framework-client/layout/components';\nimport { AXPEntityService } from '@acorex-platform/framework-client/layout/entity';\nimport { AXPCommand, type AXPCommandExecuteResultPromise } from '@acorex-platform/framework-shared/runtime';\nimport { AXPRuntimeCommandResult, AXPPlatformScope } from '@acorex-platform/framework-shared/core';\nimport { AXFileService } from '@acorex/core/file';\nimport { AXMDocumentDocDto } from '@acorex-platform/module-document-management-client/contracts';\nimport { RootConfig } from '@acorex-platform/module-document-management-client/contracts';\nimport { inject, Injectable } from '@angular/core';\n\nimport { buildFileChooserOptionsFromDocumentType } from '../shared/document-type-accept.util';\nimport { AXMDocumentDialogService } from '../shared/services/document-dialog.service';\n\n//#endregion\n\n//#region ---- Types ----\n\nexport interface AXMUploadDocumentCommandInput {\n documentType?: AXMDocumentDocDto;\n documentTypeId?: string;\n data?: {\n documentType?: AXMDocumentDocDto;\n documentTypeId?: string;\n };\n options?: {\n documentType?: AXMDocumentDocDto;\n documentTypeId?: string;\n };\n}\n\n//#endregion\n\n//#region ---- Helpers ----\n\nfunction resolveUploadDocumentInput(input: AXMUploadDocumentCommandInput = {}) {\n const data = input.data ?? {};\n const options = input.options ?? {};\n\n return {\n documentType: input.documentType ?? data.documentType ?? options.documentType,\n documentTypeId: input.documentTypeId ?? data.documentTypeId ?? options.documentTypeId,\n };\n}\n\n//#endregion\n\n//#region ---- Upload document command ----\n\n/**\n * Resolves document type (optional picker), then opens the file chooser for drive upload.\n * Replaces the former upload-document workflow (check type → choose type → choose file).\n * Registered as DocumentManagement.Document:Upload.\n */\n@Injectable({ providedIn: 'root' })\nexport class AXMUploadDocumentCommand implements AXPCommand<AXMUploadDocumentCommandInput> {\n private readonly documentDialog = inject(AXMDocumentDialogService);\n private readonly entityService = inject(AXPEntityService);\n private readonly chooserService = inject(AXPFileChooserService);\n private readonly fileService = inject(AXFileService);\n\n private readonly documentTypeService = this.entityService\n .withEntity(RootConfig.module.name, RootConfig.entities.documentType.name)\n .data<string, AXMDocumentDocDto>();\n\n async execute(input: AXMUploadDocumentCommandInput = {}): AXPCommandExecuteResultPromise {\n let { documentType, documentTypeId } = resolveUploadDocumentInput(input);\n\n if (!documentType) {\n const chooseTypeResult = await this.documentDialog.chooseDocumentType();\n if (chooseTypeResult.cancelled) {\n return { success: true, kind: 'object', data: { cancelled: true } };\n }\n documentTypeId = chooseTypeResult.documentTypeId;\n }\n\n let resolvedDocumentType = documentType;\n if (!resolvedDocumentType && documentTypeId) {\n resolvedDocumentType = (await this.documentTypeService.byKey(documentTypeId)) ?? undefined;\n }\n\n if (!resolvedDocumentType) {\n return {\n success: false,\n message: { text: '@document-management:validation.upload.document-type-required' },\n };\n }\n\n const { accept, fileType } = await buildFileChooserOptionsFromDocumentType(\n resolvedDocumentType,\n this.fileService,\n );\n const chosen = await this.chooserService.promptChoose({\n options: {\n multiple: false,\n accept: accept || undefined,\n fileType: fileType.length ? fileType : undefined,\n scope: AXPPlatformScope.Tenant,\n browseMode: 'file',\n destination: 'drive',\n },\n items: [],\n });\n\n if (!chosen?.length) {\n return { success: true, kind: 'object', data: { cancelled: true } };\n }\n\n return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QACrE;AAEA,QAAA,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ;AACpC,YAAA,IAAI,EAAE;AACJ,gBAAA,YAAY,EAAE,oBAAoB;AAClC,gBAAA,WAAW,EAAE,MAAM;AACpB,aAAA;SACF;IACH;8GA3DW,wBAAwB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;AAAxB,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,wBAAwB,cADX,MAAM,EAAA,CAAA,CAAA;;2FACnB,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBADpC,UAAU;mBAAC,EAAE,UAAU,EAAE,MAAM,EAAE;;;"}
1
+ {"version":3,"file":"acorex-platform-module-document-management-client-upload-document.command-Dycu8sci.mjs","sources":["../../../../libs/modules/document-management/client/src/lib/features/commands/upload-document.command.ts"],"sourcesContent":["//#region ---- Imports ----\n\nimport { AXPFileChooserService } from '@acorex-platform/framework-client/layout/components';\nimport { AXPEntityService } from '@acorex-platform/framework-client/layout/entity';\nimport { AXPCommand, type AXPCommandExecuteResultPromise } from '@acorex-platform/framework-shared/runtime';\nimport { AXPRuntimeCommandResult, AXPPlatformScope } from '@acorex-platform/framework-shared/core';\nimport { AXFileService } from '@acorex/core/file';\nimport { AXMDocumentDocDto } from '@acorex-platform/module-document-management-client/contracts';\nimport { RootConfig } from '@acorex-platform/module-document-management-client/contracts';\nimport { inject, Injectable } from '@angular/core';\n\nimport { buildFileChooserOptionsFromDocumentType } from '../shared/document-type-accept.util';\nimport { AXMDocumentDialogService } from '../shared/services/document-dialog.service';\n\n//#endregion\n\n//#region ---- Types ----\n\nexport interface AXMUploadDocumentCommandInput {\n documentType?: AXMDocumentDocDto;\n documentTypeId?: string;\n data?: {\n documentType?: AXMDocumentDocDto;\n documentTypeId?: string;\n };\n options?: {\n documentType?: AXMDocumentDocDto;\n documentTypeId?: string;\n };\n}\n\n//#endregion\n\n//#region ---- Helpers ----\n\nfunction resolveUploadDocumentInput(input: AXMUploadDocumentCommandInput = {}) {\n const data = input.data ?? {};\n const options = input.options ?? {};\n\n return {\n documentType: input.documentType ?? data.documentType ?? options.documentType,\n documentTypeId: input.documentTypeId ?? data.documentTypeId ?? options.documentTypeId,\n };\n}\n\n//#endregion\n\n//#region ---- Upload document command ----\n\n/**\n * Resolves document type (optional picker), then opens the file chooser for drive upload.\n * Replaces the former upload-document workflow (check type → choose type → choose file).\n * Registered as DocumentManagement.Document:Upload.\n */\n@Injectable({ providedIn: 'root' })\nexport class AXMUploadDocumentCommand implements AXPCommand<AXMUploadDocumentCommandInput> {\n private readonly documentDialog = inject(AXMDocumentDialogService);\n private readonly entityService = inject(AXPEntityService);\n private readonly chooserService = inject(AXPFileChooserService);\n private readonly fileService = inject(AXFileService);\n\n private readonly documentTypeService = this.entityService\n .withEntity(RootConfig.module.name, RootConfig.entities.documentType.name)\n .data<string, AXMDocumentDocDto>();\n\n async execute(input: AXMUploadDocumentCommandInput = {}): AXPCommandExecuteResultPromise {\n let { documentType, documentTypeId } = resolveUploadDocumentInput(input);\n\n if (!documentType) {\n const chooseTypeResult = await this.documentDialog.chooseDocumentType();\n if (chooseTypeResult.cancelled) {\n return { success: true, kind: 'object', data: { cancelled: true } };\n }\n documentTypeId = chooseTypeResult.documentTypeId;\n }\n\n let resolvedDocumentType = documentType;\n if (!resolvedDocumentType && documentTypeId) {\n resolvedDocumentType = (await this.documentTypeService.byKey(documentTypeId)) ?? undefined;\n }\n\n if (!resolvedDocumentType) {\n return {\n success: false,\n message: { text: '@document-management:validation.upload.document-type-required' },\n };\n }\n\n const { accept, fileType } = await buildFileChooserOptionsFromDocumentType(\n resolvedDocumentType,\n this.fileService,\n );\n const chosen = await this.chooserService.promptChoose({\n options: {\n multiple: false,\n accept: accept || undefined,\n fileType: fileType.length ? fileType : undefined,\n scope: AXPPlatformScope.Tenant,\n browseMode: 'file',\n destination: 'drive',\n },\n items: [],\n });\n\n if (!chosen?.length) {\n return { success: true, kind: 'object', data: { cancelled: true } };\n }\n\n return { success: true, kind: 'object',\n data: {\n documentType: resolvedDocumentType,\n chosenFiles: chosen,\n },\n };\n }\n}\n\n//#endregion\n"],"names":[],"mappings":";;;;;;;;;AAAA;AA+BA;AAEA;AAEA,SAAS,0BAA0B,CAAC,KAAA,GAAuC,EAAE,EAAA;AAC3E,IAAA,MAAM,IAAI,GAAG,KAAK,CAAC,IAAI,IAAI,EAAE;AAC7B,IAAA,MAAM,OAAO,GAAG,KAAK,CAAC,OAAO,IAAI,EAAE;IAEnC,OAAO;QACL,YAAY,EAAE,KAAK,CAAC,YAAY,IAAI,IAAI,CAAC,YAAY,IAAI,OAAO,CAAC,YAAY;QAC7E,cAAc,EAAE,KAAK,CAAC,cAAc,IAAI,IAAI,CAAC,cAAc,IAAI,OAAO,CAAC,cAAc;KACtF;AACH;AAEA;AAEA;AAEA;;;;AAIG;MAEU,wBAAwB,CAAA;AADrC,IAAA,WAAA,GAAA;AAEmB,QAAA,IAAA,CAAA,cAAc,GAAG,MAAM,CAAC,wBAAwB,CAAC;AACjD,QAAA,IAAA,CAAA,aAAa,GAAG,MAAM,CAAC,gBAAgB,CAAC;AACxC,QAAA,IAAA,CAAA,cAAc,GAAG,MAAM,CAAC,qBAAqB,CAAC;AAC9C,QAAA,IAAA,CAAA,WAAW,GAAG,MAAM,CAAC,aAAa,CAAC;QAEnC,IAAA,CAAA,mBAAmB,GAAG,IAAI,CAAC;AACzC,aAAA,UAAU,CAAC,UAAU,CAAC,MAAM,CAAC,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,YAAY,CAAC,IAAI;AACxE,aAAA,IAAI,EAA6B;AAoDrC,IAAA;AAlDC,IAAA,MAAM,OAAO,CAAC,KAAA,GAAuC,EAAE,E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AAC;AAEF,QAAA,IAAI,CAAC,MAAM,EAAE,MAAM,EAAE;AACnB,YAAA,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,EAAE;QACrE;AAEA,QAAA,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ;AACpC,YAAA,IAAI,EAAE;AACJ,gBAAA,YAAY,EAAE,oBAAoB;AAClC,gBAAA,WAAW,EAAE,MAAM;AACpB,aAAA;SACF;IACH;8GA3DW,wBAAwB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;AAAxB,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,wBAAwB,cADX,MAAM,EAAA,CAAA,CAAA;;2FACnB,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBADpC,UAAU;mBAAC,EAAE,UAAU,EAAE,MAAM,EAAE;;;"}
@@ -1,3 +1,3 @@
1
- export { p as AXMDocumentDriveComponent, q as AXMDocumentDrivePageComponent, t as AXMDocumentDrivePageComponentProvider, a as AXMDocumentExpirationBadgeComponent, u as AXMDocumentExpirationStatusProvider, n as AXMDocumentExplorerComponent, v as AXMDocumentManagementApiService, w as AXMDocumentManagementFileTypeProvider, x as AXMDocumentManagementModule, j as AXMDocumentManagerService, y as AXMDocumentManagerServiceImpl, b as AXMDocumentVersionBadgeComponent, z as AXMFileTypeExtensionWidgetColumnComponent, B as AXMFileTypeExtensionWidgetDesignerComponent, C as AXMFileTypeExtensionWidgetEditComponent, D as AXMFileTypeExtensionWidgetViewComponent, E as AXMFileTypeModule, c as AXMFolderExpirationBadgesComponent, o as AXMFolderPathBreadcrumbsComponent, F as AXMMenuProvider, G as AXMSearchCommandProvider, H as AXM_DOCUMENT_ATTACHMENT_DIALOG_ON_ACTION_HOOK_KEY, I as AXM_DOCUMENT_DIALOG_SURFACE_ATTACHMENT, J as AXM_DOCUMENT_DIALOG_SURFACE_ATTACHMENT_NO_SAVE, K as AXM_DOCUMENT_EXPIRATION_STATUS, L as AXM_DOCUMENT_EXPIRATION_STATUS_DEFINITION_KEY, A as AXPDocumentExplorerViewModel, m as AXPDocumentManagementService, M as AXPDocumentManagementSettingProvider, N as AXmFileTypeExtensionWidget, O as DM_AUDIO_EXTENSION_ICONS, P as DM_DOCUMENT_EXTENSION_ICONS, Q as DM_FILE_EXTENSION_ICONS, R as DM_FILE_TYPE_ICONS, S as DM_VIDEO_EXTENSION_ICONS, T as DOCUMENT_DRIVE_PAGE_COMPONENT_KEY, U as ScopedDriveService, V as buildDocumentManagementFileTypeCatalog, W as documentPlugin, X as resolveDocumentExpirationBadge, Y as resolveDocumentVersionNumber, Z as resolveFolderExpirationCountBadges } from './acorex-platform-module-document-management-client-acorex-platform-module-document-management-client-DHVvb5hG.mjs';
1
+ export { t as AXMDocumentDriveComponent, u as AXMDocumentDrivePageComponent, v as AXMDocumentDrivePageComponentProvider, a as AXMDocumentExpirationBadgeComponent, w as AXMDocumentExpirationStatusProvider, p as AXMDocumentExplorerComponent, x as AXMDocumentManagementApiService, y as AXMDocumentManagementFileTypeProvider, z as AXMDocumentManagementModule, j as AXMDocumentManagerService, B as AXMDocumentManagerServiceImpl, b as AXMDocumentVersionBadgeComponent, C as AXMFileTypeExtensionWidgetColumnComponent, D as AXMFileTypeExtensionWidgetDesignerComponent, E as AXMFileTypeExtensionWidgetEditComponent, F as AXMFileTypeExtensionWidgetViewComponent, G as AXMFileTypeModule, c as AXMFolderExpirationBadgesComponent, q as AXMFolderPathBreadcrumbsComponent, H as AXMMenuProvider, I as AXMSearchCommandProvider, J as AXM_DOCUMENT_ATTACHMENT_DIALOG_ON_ACTION_HOOK_KEY, K as AXM_DOCUMENT_DIALOG_SURFACE_ATTACHMENT, L as AXM_DOCUMENT_DIALOG_SURFACE_ATTACHMENT_NO_SAVE, M as AXM_DOCUMENT_EXPIRATION_STATUS, N as AXM_DOCUMENT_EXPIRATION_STATUS_DEFINITION_KEY, A as AXPDocumentExplorerViewModel, m as AXPDocumentManagementService, O as AXPDocumentManagementSettingProvider, P as AXmFileTypeExtensionWidget, Q as DM_AUDIO_EXTENSION_ICONS, R as DM_DOCUMENT_EXTENSION_ICONS, S as DM_FILE_EXTENSION_ICONS, T as DM_FILE_TYPE_ICONS, U as DM_VIDEO_EXTENSION_ICONS, V as DOCUMENT_DRIVE_PAGE_COMPONENT_KEY, W as ScopedDriveService, X as buildDocumentManagementFileTypeCatalog, Y as documentPlugin, Z as resolveDocumentExpirationBadge, _ as resolveDocumentVersionNumber, $ as resolveFolderExpirationCountBadges } from './acorex-platform-module-document-management-client-acorex-platform-module-document-management-client-BiosmCuZ.mjs';
2
2
  export { AXM_DOCUMENT_EXPIRATION_NEAR_DAYS, toDocumentExpirationDate } from '@acorex-platform/module-document-management-client/contracts';
3
3
  //# sourceMappingURL=acorex-platform-module-document-management-client.mjs.map
@@ -599,17 +599,19 @@
599
599
  },
600
600
  "success": {
601
601
  "title": "Document Distributed",
602
- "description": "Review and sign tasks were created for the selected users."
602
+ "description": "A parent Document Distribution task and a sub-task for each assignee were created."
603
603
  },
604
604
  "loading": {
605
605
  "title": "Distributing Document",
606
- "description": "Creating review and sign tasks for {{count}} assignees. This can take a few seconds.",
606
+ "description": "Creating the parent task and sub-tasks for {{count}} assignees. This can take a few seconds.",
607
607
  "progress": "Creating Task {{current}} of {{total}}"
608
608
  },
609
609
  "errors": {
610
610
  "title": "Distribute Failed",
611
611
  "forbidden": "You do not have permission to distribute documents.",
612
612
  "document-required": "Select a document to distribute.",
613
+ "subject-required": "Select a document or folder to distribute.",
614
+ "review-required": "The reviewer must approve this item before it can be distributed.",
613
615
  "not-enabled": "Distribution is not enabled for this document type.",
614
616
  "version-required": "Publish a document version before distributing.",
615
617
  "task-type-missing": "The Document Distribution task type is not available.",
@@ -627,8 +629,8 @@
627
629
  },
628
630
  "workflow": {
629
631
  "task-title": "Review and Sign Document",
630
- "task-description": "Open the document, review it, then sign. The task stays until you complete sign-off.",
631
- "view-document": "View Document",
632
+ "task-description": "Open the document or folder in File Viewer, then sign. The parent task completes when every assignee has signed.",
633
+ "view-document": "View",
632
634
  "sign-off-action": "Sign Off",
633
635
  "sign-off": "Sign the distributed document.",
634
636
  "completed": "The document was signed."
@@ -693,6 +695,8 @@
693
695
  "document-id": { "title": "Document Id" },
694
696
  "folder-id": { "title": "Folder Id" },
695
697
  "task-id": { "title": "Task Id" },
698
+ "parent-task-id": { "title": "Parent Task Id" },
699
+ "completed-status-id": { "title": "Completed Status Id" },
696
700
  "signer-user-id": { "title": "Signer User Id" },
697
701
  "data": { "title": "Data" },
698
702
  "options": { "title": "Options" },
@@ -720,6 +724,7 @@
720
724
  "request-document-review": { "title": "Create Document Review Task" },
721
725
  "sign-document-review": { "title": "Sign Document Review" },
722
726
  "stamp-document-review": { "title": "Stamp Document Review" },
727
+ "stamp-document-distribution-signed": { "title": "Stamp Document Distribution Signed At" },
723
728
  "document-expiration-notify-run": { "title": "Notify Document Expiration Transitions" }
724
729
  }
725
730
  }
@@ -599,17 +599,19 @@
599
599
  },
600
600
  "success": {
601
601
  "title": "Document Distributed",
602
- "description": "Review and sign tasks were created for the selected users."
602
+ "description": "A parent Document Distribution task and a sub-task for each assignee were created."
603
603
  },
604
604
  "loading": {
605
605
  "title": "Distributing Document",
606
- "description": "Creating review and sign tasks for {{count}} assignees. This can take a few seconds.",
606
+ "description": "Creating the parent task and sub-tasks for {{count}} assignees. This can take a few seconds.",
607
607
  "progress": "Creating Task {{current}} of {{total}}"
608
608
  },
609
609
  "errors": {
610
610
  "title": "Distribute Failed",
611
611
  "forbidden": "You do not have permission to distribute documents.",
612
612
  "document-required": "Select a document to distribute.",
613
+ "subject-required": "Select a document or folder to distribute.",
614
+ "review-required": "The reviewer must approve this item before it can be distributed.",
613
615
  "not-enabled": "Distribution is not enabled for this document type.",
614
616
  "version-required": "Publish a document version before distributing.",
615
617
  "task-type-missing": "The Document Distribution task type is not available.",
@@ -627,8 +629,8 @@
627
629
  },
628
630
  "workflow": {
629
631
  "task-title": "Review and Sign Document",
630
- "task-description": "Open the document, review it, then sign. The task stays until you complete sign-off.",
631
- "view-document": "View Document",
632
+ "task-description": "Open the document or folder in File Viewer, then sign. The parent task completes when every assignee has signed.",
633
+ "view-document": "View",
632
634
  "sign-off-action": "Sign Off",
633
635
  "sign-off": "Sign the distributed document.",
634
636
  "completed": "The document was signed."
@@ -693,6 +695,8 @@
693
695
  "document-id": { "title": "Document Id" },
694
696
  "folder-id": { "title": "Folder Id" },
695
697
  "task-id": { "title": "Task Id" },
698
+ "parent-task-id": { "title": "Parent Task Id" },
699
+ "completed-status-id": { "title": "Completed Status Id" },
696
700
  "signer-user-id": { "title": "Signer User Id" },
697
701
  "data": { "title": "Data" },
698
702
  "options": { "title": "Options" },
@@ -720,6 +724,7 @@
720
724
  "request-document-review": { "title": "Create Document Review Task" },
721
725
  "sign-document-review": { "title": "Sign Document Review" },
722
726
  "stamp-document-review": { "title": "Stamp Document Review" },
727
+ "stamp-document-distribution-signed": { "title": "Stamp Document Distribution Signed At" },
723
728
  "document-expiration-notify-run": { "title": "Notify Document Expiration Transitions" }
724
729
  }
725
730
  }
@@ -599,17 +599,19 @@
599
599
  },
600
600
  "success": {
601
601
  "title": "سند توزیع شد",
602
- "description": "وظایف بازبینی و امضا برای کاربران انتخاب‌شده ایجاد شد."
602
+ "description": "یک وظیفه والد توزیع سند و یک زیر وظیفه برای هر مسئول ایجاد شد."
603
603
  },
604
604
  "loading": {
605
605
  "title": "در حال توزیع سند",
606
- "description": "در حال ایجاد وظایف بازبینی و امضا برای {{count}} مسئول. این کار ممکن است چند ثانیه طول بکشد.",
606
+ "description": "در حال ایجاد وظیفه والد و زیر وظایف برای {{count}} مسئول. این کار ممکن است چند ثانیه طول بکشد.",
607
607
  "progress": "در حال ایجاد وظیفه {{current}} از {{total}}"
608
608
  },
609
609
  "errors": {
610
610
  "title": "توزیع ناموفق بود",
611
611
  "forbidden": "اجازه توزیع اسناد را ندارید.",
612
612
  "document-required": "سندی برای توزیع انتخاب کنید.",
613
+ "subject-required": "سند یا پوشه‌ای برای توزیع انتخاب کنید.",
614
+ "review-required": "بازبین باید این مورد را تأیید کند تا توزیع انجام شود.",
613
615
  "not-enabled": "توزیع برای این نوع سند فعال نیست.",
614
616
  "version-required": "پیش از توزیع، یک نسخه از سند را منتشر کنید.",
615
617
  "task-type-missing": "نوع وظیفه توزیع سند در دسترس نیست.",
@@ -627,8 +629,8 @@
627
629
  },
628
630
  "workflow": {
629
631
  "task-title": "بازبینی و امضای سند",
630
- "task-description": "سند را باز کنید، بازبینی کنید و سپس امضا کنید. تا وقتی امضا کامل نشود وظیفه روی بورد می‌ماند.",
631
- "view-document": "مشاهده سند",
632
+ "task-description": "سند یا پوشه را در نمایشگر فایل باز کنید و سپس امضا کنید. وقتی همه مسئولان امضا کنند، وظیفه والد تکمیل می‌شود.",
633
+ "view-document": "مشاهده",
632
634
  "sign-off-action": "امضا",
633
635
  "sign-off": "سند توزیع‌شده را امضا کنید.",
634
636
  "completed": "سند امضا شد."
@@ -693,6 +695,8 @@
693
695
  "document-id": { "title": "شناسه سند" },
694
696
  "folder-id": { "title": "شناسه پوشه" },
695
697
  "task-id": { "title": "شناسه وظیفه" },
698
+ "parent-task-id": { "title": "شناسه وظیفه والد" },
699
+ "completed-status-id": { "title": "شناسه وضعیت تکمیل" },
696
700
  "signer-user-id": { "title": "شناسه کاربر امضاکننده" },
697
701
  "data": { "title": "داده" },
698
702
  "options": { "title": "گزینه‌ها" },
@@ -720,6 +724,7 @@
720
724
  "request-document-review": { "title": "ایجاد وظیفه بازبینی سند" },
721
725
  "sign-document-review": { "title": "امضای بازبینی سند" },
722
726
  "stamp-document-review": { "title": "ثبت بازبینی سند" },
727
+ "stamp-document-distribution-signed": { "title": "ثبت زمان امضای توزیع سند" },
723
728
  "document-expiration-notify-run": { "title": "اعلان گذار انقضای سند" }
724
729
  }
725
730
  }
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@acorex-platform/module-document-management-client",
3
- "version": "0.0.61",
3
+ "version": "0.0.62",
4
4
  "sideEffects": false,
5
5
  "peerDependencies": {
6
- "@acorex-platform/module-data-management-client": "0.0.61",
6
+ "@acorex-platform/module-data-management-client": "0.0.62",
7
7
  "@angular/common": "^21.0.0 || ^22.0.0",
8
8
  "@angular/core": "^21.0.0 || ^22.0.0"
9
9
  },
@@ -67,6 +67,7 @@ declare const AXMDocumentManagementCommandKeys: {
67
67
  readonly DocumentOpen: "DocumentManagement.Document:Open";
68
68
  readonly DocumentDistribute: "DocumentManagement.Document:Distribute";
69
69
  readonly DocumentDistributionSignOff: "DocumentManagement.DocumentDistribution:SignOff";
70
+ readonly DocumentDistributionStampSignedAt: "DocumentManagement.DocumentDistribution:StampSignedAt";
70
71
  readonly ResolveCurrentSigner: "DocumentManagement.DocumentDistribution:ResolveCurrentSigner";
71
72
  readonly AdvanceSignerIndex: "DocumentManagement.DocumentDistribution:AdvanceSignerIndex";
72
73
  readonly DocumentReviewRequest: "DocumentManagement.Document:RequestReview";
@@ -97,6 +98,27 @@ declare function applyDocumentReviewMetadataIfRequired<T extends {
97
98
  declare function ensureDocumentReviewMetadata(list: AXMMetaDataBuilderValue | null | undefined, typeName?: string): AXMMetaDataBuilderValue;
98
99
  declare function restoreDocumentReviewFormValues(incoming: Record<string, unknown> | null | undefined, previous: Record<string, unknown> | null | undefined): Record<string, unknown>;
99
100
  declare function stampDocumentReviewFormValues(existing: Record<string, unknown> | null | undefined, reviewedByUserId: string, reviewedAt: string): Record<string, unknown>;
101
+ declare function hasDocumentReviewMetadataValue(value: unknown): boolean;
102
+ declare function isDocumentReviewMetadataComplete(form: Record<string, unknown> | null | undefined): boolean;
103
+
104
+ declare const AXM_DOCUMENT_DISTRIBUTION_VERSION_FIELD_NAME = "version";
105
+ declare const AXM_DOCUMENT_DISTRIBUTION_VIEWED_AT_FIELD_NAME = "viewed-at";
106
+ declare const AXM_DOCUMENT_DISTRIBUTION_SIGNED_AT_FIELD_NAME = "signed-at";
107
+ declare const AXM_DOCUMENT_DISTRIBUTION_FIELD_NAMES: readonly ["version", "viewed-at", "signed-at"];
108
+ declare const DOCUMENT_DISTRIBUTION_WORKFLOW_NAME = "document-distribution";
109
+ declare function isDocumentDistributionEnabled(value: unknown): boolean;
110
+ declare function documentTypeAllowsDistributionForAppliesTo(type: {
111
+ enableDistributionCapability?: unknown;
112
+ metaDataList?: AXMMetaDataBuilderValue | null;
113
+ } | null | undefined, appliesTo: AXMMetaDataFieldAppliesTo): boolean;
114
+ declare function isDocumentDistributionMetadataFieldName(name: unknown): boolean;
115
+ declare function documentTypeHasDistributionMetadata(list: AXMMetaDataBuilderValue | null | undefined): boolean;
116
+ declare function ensureDocumentDistributionTaskTypeMetadata(list: AXMMetaDataBuilderValue | null | undefined): AXMMetaDataBuilderValue;
117
+ declare function hasDocumentDistributionMetadataValue(value: unknown): boolean;
118
+ declare function stampDocumentDistributionFormValues(existing: Record<string, unknown> | null | undefined, patch: Partial<Record<(typeof AXM_DOCUMENT_DISTRIBUTION_FIELD_NAMES)[number], unknown>>): Record<string, unknown>;
119
+ declare function highestDocumentVersionNumber(documents: Array<{
120
+ version?: unknown;
121
+ } | null | undefined>): number;
100
122
 
101
123
  declare const RootConfig: {
102
124
  readonly config: {
@@ -541,5 +563,5 @@ interface AXMDocumentManagementFolderGetDto extends AXMDocumentManagementFolderE
541
563
  shortcuts?: AXMDocumentShortcutEntityModel[];
542
564
  }
543
565
 
544
- export { AXMDocumentManagementCommandKeys, AXMDocumentManagementDocumentStatusValues, AXMDocumentManagementQueryKeys, AXMDocumentVersioningStatusValues, AXMPermissionsKeys, AXM_DOCUMENT_EXPIRATION_NEAR_DAYS, AXM_DOCUMENT_EXPIRATION_NOTIFY_RUN_COMMAND_KEY, AXM_DOCUMENT_REVIEWED_BY_FIELD_NAME, AXM_DOCUMENT_REVIEW_DATE_FIELD_NAME, AXM_DOCUMENT_REVIEW_FIELD_NAMES, AXPContentDocumentsPermissionKeys, AXPDocumentManagementFeatureKeys, AXPDocumentManagementMenuKeys, AXPDocumentManagementSettings, DocumentManagementManifest, RootConfig, addDaysToDocumentExpirationDateKey, applyDocumentReviewMetadataIfRequired, classifyDocumentExpirationStatus, documentReviewReadonlyFieldNames, documentTypeHasFolderScopedMetadata, documentTypeHasReviewMetadata, documentTypeHasReviewMetadataForAppliesTo, ensureDocumentReviewMetadata, extractDocumentTypeFileKindNames, getDocumentExpirationDateKey, getDocumentExpirationQueryBoundValues, getDocumentExpirationQueryBounds, getDocumentExpirationRemainingDays, getUtcDayBoundsForDateKey, isDocumentReviewMetadataFieldName, isDocumentReviewRequired, normalizeDocumentTypeFileKinds, resolveDocumentReviewAppliesTo, restoreDocumentReviewFormValues, stampDocumentReviewFormValues, toDocumentExpirationDate, toDocumentExpirationStorageValue };
566
+ export { AXMDocumentManagementCommandKeys, AXMDocumentManagementDocumentStatusValues, AXMDocumentManagementQueryKeys, AXMDocumentVersioningStatusValues, AXMPermissionsKeys, AXM_DOCUMENT_DISTRIBUTION_FIELD_NAMES, AXM_DOCUMENT_DISTRIBUTION_SIGNED_AT_FIELD_NAME, AXM_DOCUMENT_DISTRIBUTION_VERSION_FIELD_NAME, AXM_DOCUMENT_DISTRIBUTION_VIEWED_AT_FIELD_NAME, AXM_DOCUMENT_EXPIRATION_NEAR_DAYS, AXM_DOCUMENT_EXPIRATION_NOTIFY_RUN_COMMAND_KEY, AXM_DOCUMENT_REVIEWED_BY_FIELD_NAME, AXM_DOCUMENT_REVIEW_DATE_FIELD_NAME, AXM_DOCUMENT_REVIEW_FIELD_NAMES, AXPContentDocumentsPermissionKeys, AXPDocumentManagementFeatureKeys, AXPDocumentManagementMenuKeys, AXPDocumentManagementSettings, DOCUMENT_DISTRIBUTION_WORKFLOW_NAME, DocumentManagementManifest, RootConfig, addDaysToDocumentExpirationDateKey, applyDocumentReviewMetadataIfRequired, classifyDocumentExpirationStatus, documentReviewReadonlyFieldNames, documentTypeAllowsDistributionForAppliesTo, documentTypeHasDistributionMetadata, documentTypeHasFolderScopedMetadata, documentTypeHasReviewMetadata, documentTypeHasReviewMetadataForAppliesTo, ensureDocumentDistributionTaskTypeMetadata, ensureDocumentReviewMetadata, extractDocumentTypeFileKindNames, getDocumentExpirationDateKey, getDocumentExpirationQueryBoundValues, getDocumentExpirationQueryBounds, getDocumentExpirationRemainingDays, getUtcDayBoundsForDateKey, hasDocumentDistributionMetadataValue, hasDocumentReviewMetadataValue, highestDocumentVersionNumber, isDocumentDistributionEnabled, isDocumentDistributionMetadataFieldName, isDocumentReviewMetadataComplete, isDocumentReviewMetadataFieldName, isDocumentReviewRequired, normalizeDocumentTypeFileKinds, resolveDocumentReviewAppliesTo, restoreDocumentReviewFormValues, stampDocumentDistributionFormValues, stampDocumentReviewFormValues, toDocumentExpirationDate, toDocumentExpirationStorageValue };
545
567
  export type { AXMDocumentAuditInfo, AXMDocumentDocDto, AXMDocumentDto, AXMDocumentExpirationStatus, AXMDocumentInheritanceType, AXMDocumentManagementDocumentStatus, AXMDocumentManagementDocumentTypeEntityModel, AXMDocumentManagementFolderCreateDto, AXMDocumentManagementFolderEntityModel, AXMDocumentManagementFolderGetDto, AXMDocumentShortcutEntityModel, AXMDocumentVersionDto, AXMDocumentVersioningStatus, AXPDriveBootstrapCatalog, AXPDriveBootstrapDocumentType, AXPDriveBootstrapFolderNode, DocumentTypeAllowedFileKinds, DocumentTypeFileKindName, DocumentTypeFileKindOption, DocumentTypeFileOutput };
@@ -188,8 +188,8 @@ declare abstract class AXPDocumentManagementService {
188
188
  }): Promise<AXMDocumentDto[]>;
189
189
  abstract findManyDocuments(ids: string[]): Promise<AXMDocumentDto[]>;
190
190
  /**
191
- * Lists files in a folder tree for Document Review View.
192
- * Authorized for the assigned reviewer (or ManageDocumentReview) without Drive access.
191
+ * Lists files in a folder tree for Document Review or Document Distribution View.
192
+ * Authorized for the assigned task user, ManageDocumentReview, or DistributeDocuments.
193
193
  */
194
194
  abstract listFolderReviewDocuments(folderId: string, taskId?: string): Promise<AXMDocumentDto[]>;
195
195
  /**