@acorex/modules 20.2.4-next.5 → 20.2.4-next.7

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 (82) hide show
  1. package/fesm2022/acorex-modules-common.mjs.map +1 -1
  2. package/fesm2022/{acorex-modules-document-management-acorex-modules-document-management-BraIQGrY.mjs → acorex-modules-document-management-acorex-modules-document-management-CiVbcZ81.mjs} +19 -19
  3. package/fesm2022/{acorex-modules-document-management-acorex-modules-document-management-BraIQGrY.mjs.map → acorex-modules-document-management-acorex-modules-document-management-CiVbcZ81.mjs.map} +1 -1
  4. package/fesm2022/{acorex-modules-document-management-attachment-widget.component-Dp1ioMjR.mjs → acorex-modules-document-management-attachment-widget.component-iRZU056o.mjs} +2 -2
  5. package/fesm2022/{acorex-modules-document-management-attachment-widget.component-Dp1ioMjR.mjs.map → acorex-modules-document-management-attachment-widget.component-iRZU056o.mjs.map} +1 -1
  6. package/fesm2022/{acorex-modules-document-management-create-folder-dialog.component-C1Lvxwwf.mjs → acorex-modules-document-management-create-folder-dialog.component-DCoD73F7.mjs} +3 -3
  7. package/fesm2022/acorex-modules-document-management-create-folder-dialog.component-DCoD73F7.mjs.map +1 -0
  8. package/fesm2022/{acorex-modules-document-management-details-view.component-C7x2n-uL.mjs → acorex-modules-document-management-details-view.component-D0JuVG8v.mjs} +2 -2
  9. package/fesm2022/{acorex-modules-document-management-details-view.component-C7x2n-uL.mjs.map → acorex-modules-document-management-details-view.component-D0JuVG8v.mjs.map} +1 -1
  10. package/fesm2022/{acorex-modules-document-management-document-signature-popup.component-DJMLGeBo.mjs → acorex-modules-document-management-document-signature-popup.component-B-VnHqr3.mjs} +2 -2
  11. package/fesm2022/{acorex-modules-document-management-document-signature-popup.component-DJMLGeBo.mjs.map → acorex-modules-document-management-document-signature-popup.component-B-VnHqr3.mjs.map} +1 -1
  12. package/fesm2022/{acorex-modules-document-management-drive-choose.component-BiApSZ5Z.mjs → acorex-modules-document-management-drive-choose.component-BdIU8PXg.mjs} +2 -2
  13. package/fesm2022/{acorex-modules-document-management-drive-choose.component-BiApSZ5Z.mjs.map → acorex-modules-document-management-drive-choose.component-BdIU8PXg.mjs.map} +1 -1
  14. package/fesm2022/{acorex-modules-document-management-drive.component-C3LZf1EE.mjs → acorex-modules-document-management-drive.component-DGQD1adR.mjs} +2 -2
  15. package/fesm2022/{acorex-modules-document-management-drive.component-C3LZf1EE.mjs.map → acorex-modules-document-management-drive.component-DGQD1adR.mjs.map} +1 -1
  16. package/fesm2022/{acorex-modules-document-management-large-icons-view.component-CUox2dHw.mjs → acorex-modules-document-management-large-icons-view.component-Ch9CAOwx.mjs} +2 -2
  17. package/fesm2022/{acorex-modules-document-management-large-icons-view.component-CUox2dHw.mjs.map → acorex-modules-document-management-large-icons-view.component-Ch9CAOwx.mjs.map} +1 -1
  18. package/fesm2022/{acorex-modules-document-management-large-tiles-view.component-CPaqX_Gj.mjs → acorex-modules-document-management-large-tiles-view.component-DgGef-W5.mjs} +2 -2
  19. package/fesm2022/{acorex-modules-document-management-large-tiles-view.component-CPaqX_Gj.mjs.map → acorex-modules-document-management-large-tiles-view.component-DgGef-W5.mjs.map} +1 -1
  20. package/fesm2022/{acorex-modules-document-management-list-view.component-DHR1nZii.mjs → acorex-modules-document-management-list-view.component-DK6IZdC0.mjs} +2 -2
  21. package/fesm2022/{acorex-modules-document-management-list-view.component-DHR1nZii.mjs.map → acorex-modules-document-management-list-view.component-DK6IZdC0.mjs.map} +1 -1
  22. package/fesm2022/{acorex-modules-document-management-permission-definition.provider-SLETM1r-.mjs → acorex-modules-document-management-permission-definition.provider-BV7PYxuz.mjs} +2 -2
  23. package/fesm2022/{acorex-modules-document-management-permission-definition.provider-SLETM1r-.mjs.map → acorex-modules-document-management-permission-definition.provider-BV7PYxuz.mjs.map} +1 -1
  24. package/fesm2022/{acorex-modules-document-management-rename-node-dialog.component-CLkMT7A9.mjs → acorex-modules-document-management-rename-node-dialog.component-C37tOs99.mjs} +2 -2
  25. package/fesm2022/{acorex-modules-document-management-rename-node-dialog.component-CLkMT7A9.mjs.map → acorex-modules-document-management-rename-node-dialog.component-C37tOs99.mjs.map} +1 -1
  26. package/fesm2022/{acorex-modules-document-management-small-icons-view.component-DFxM61cD.mjs → acorex-modules-document-management-small-icons-view.component-D0NHNq4W.mjs} +2 -2
  27. package/fesm2022/{acorex-modules-document-management-small-icons-view.component-DFxM61cD.mjs.map → acorex-modules-document-management-small-icons-view.component-D0NHNq4W.mjs.map} +1 -1
  28. package/fesm2022/{acorex-modules-document-management-small-tiles-view.component-DhzxwNEY.mjs → acorex-modules-document-management-small-tiles-view.component-DLNbw_y5.mjs} +2 -2
  29. package/fesm2022/{acorex-modules-document-management-small-tiles-view.component-DhzxwNEY.mjs.map → acorex-modules-document-management-small-tiles-view.component-DLNbw_y5.mjs.map} +1 -1
  30. package/fesm2022/acorex-modules-document-management.mjs +1 -1
  31. package/fesm2022/{acorex-modules-human-capital-management-acorex-modules-human-capital-management-1PmjMC7i.mjs → acorex-modules-human-capital-management-acorex-modules-human-capital-management-D4A3ZYFq.mjs} +328 -49
  32. package/fesm2022/acorex-modules-human-capital-management-acorex-modules-human-capital-management-D4A3ZYFq.mjs.map +1 -0
  33. package/fesm2022/{acorex-modules-human-capital-management-employee-skill.entity-DyOHJWW_.mjs → acorex-modules-human-capital-management-employee-skill.entity-DfVvf8Fg.mjs} +2 -2
  34. package/fesm2022/{acorex-modules-human-capital-management-employee-skill.entity-DyOHJWW_.mjs.map → acorex-modules-human-capital-management-employee-skill.entity-DfVvf8Fg.mjs.map} +1 -1
  35. package/fesm2022/{acorex-modules-human-capital-management-employee.entity-5J-FoLiT.mjs → acorex-modules-human-capital-management-employee.entity-ByBqfKiF.mjs} +2 -2
  36. package/fesm2022/{acorex-modules-human-capital-management-employee.entity-5J-FoLiT.mjs.map → acorex-modules-human-capital-management-employee.entity-ByBqfKiF.mjs.map} +1 -1
  37. package/fesm2022/{acorex-modules-human-capital-management-employment-type.entity-DFpRtSOh.mjs → acorex-modules-human-capital-management-employment-type.entity-DZ8ubvD6.mjs} +2 -2
  38. package/fesm2022/{acorex-modules-human-capital-management-employment-type.entity-DFpRtSOh.mjs.map → acorex-modules-human-capital-management-employment-type.entity-DZ8ubvD6.mjs.map} +1 -1
  39. package/fesm2022/{acorex-modules-human-capital-management-position-assignment.entity-DuNvJq-k.mjs → acorex-modules-human-capital-management-position-assignment.entity-BtIVnv-C.mjs} +2 -2
  40. package/fesm2022/{acorex-modules-human-capital-management-position-assignment.entity-DuNvJq-k.mjs.map → acorex-modules-human-capital-management-position-assignment.entity-BtIVnv-C.mjs.map} +1 -1
  41. package/fesm2022/{acorex-modules-human-capital-management-skill-level.entity-0ZzRent7.mjs → acorex-modules-human-capital-management-skill-level.entity-DFCE3zcH.mjs} +2 -2
  42. package/fesm2022/{acorex-modules-human-capital-management-skill-level.entity-0ZzRent7.mjs.map → acorex-modules-human-capital-management-skill-level.entity-DFCE3zcH.mjs.map} +1 -1
  43. package/fesm2022/{acorex-modules-human-capital-management-skill.entity-Dd7p11vj.mjs → acorex-modules-human-capital-management-skill.entity-DPeTwYH4.mjs} +2 -2
  44. package/fesm2022/{acorex-modules-human-capital-management-skill.entity-Dd7p11vj.mjs.map → acorex-modules-human-capital-management-skill.entity-DPeTwYH4.mjs.map} +1 -1
  45. package/fesm2022/acorex-modules-human-capital-management.mjs +1 -1
  46. package/fesm2022/acorex-modules-location-management.mjs +2 -2
  47. package/fesm2022/acorex-modules-location-management.mjs.map +1 -1
  48. package/fesm2022/{acorex-modules-organization-management-branch.entity-bajoE99c.mjs → acorex-modules-organization-management-branch.entity-C4Le6Kv6.mjs} +2 -71
  49. package/fesm2022/acorex-modules-organization-management-branch.entity-C4Le6Kv6.mjs.map +1 -0
  50. package/fesm2022/{acorex-modules-organization-management-team.entity-CNYXXHM7.mjs → acorex-modules-organization-management-team.entity-7eVokp-J.mjs} +127 -69
  51. package/fesm2022/acorex-modules-organization-management-team.entity-7eVokp-J.mjs.map +1 -0
  52. package/fesm2022/acorex-modules-organization-management.mjs +370 -2
  53. package/fesm2022/acorex-modules-organization-management.mjs.map +1 -1
  54. package/fesm2022/{acorex-modules-party-management-acorex-modules-party-management-DJNXviBH.mjs → acorex-modules-party-management-acorex-modules-party-management-BshJoI7_.mjs} +7 -7
  55. package/fesm2022/{acorex-modules-party-management-acorex-modules-party-management-DJNXviBH.mjs.map → acorex-modules-party-management-acorex-modules-party-management-BshJoI7_.mjs.map} +1 -1
  56. package/fesm2022/{acorex-modules-party-management-industry.entity-D01GclFe.mjs → acorex-modules-party-management-industry.entity-CoMI4imz.mjs} +2 -2
  57. package/fesm2022/{acorex-modules-party-management-industry.entity-D01GclFe.mjs.map → acorex-modules-party-management-industry.entity-CoMI4imz.mjs.map} +1 -1
  58. package/fesm2022/{acorex-modules-party-management-party-identifier-type.entity-DoXx0nyF.mjs → acorex-modules-party-management-party-identifier-type.entity-D-VpvXeU.mjs} +2 -2
  59. package/fesm2022/{acorex-modules-party-management-party-identifier-type.entity-DoXx0nyF.mjs.map → acorex-modules-party-management-party-identifier-type.entity-D-VpvXeU.mjs.map} +1 -1
  60. package/fesm2022/{acorex-modules-party-management-party-identifier.entity-_tLoTcUC.mjs → acorex-modules-party-management-party-identifier.entity-BcXi9BM0.mjs} +2 -2
  61. package/fesm2022/{acorex-modules-party-management-party-identifier.entity-_tLoTcUC.mjs.map → acorex-modules-party-management-party-identifier.entity-BcXi9BM0.mjs.map} +1 -1
  62. package/fesm2022/{acorex-modules-party-management-party-relationship.entity-B-hI_r6b.mjs → acorex-modules-party-management-party-relationship.entity-B-gMK84C.mjs} +2 -2
  63. package/fesm2022/{acorex-modules-party-management-party-relationship.entity-B-hI_r6b.mjs.map → acorex-modules-party-management-party-relationship.entity-B-gMK84C.mjs.map} +1 -1
  64. package/fesm2022/{acorex-modules-party-management-party-role.entity-Dxs6yXKd.mjs → acorex-modules-party-management-party-role.entity-OV4XUnfD.mjs} +2 -2
  65. package/fesm2022/{acorex-modules-party-management-party-role.entity-Dxs6yXKd.mjs.map → acorex-modules-party-management-party-role.entity-OV4XUnfD.mjs.map} +1 -1
  66. package/fesm2022/{acorex-modules-party-management-party.entity-BFEy4rXT.mjs → acorex-modules-party-management-party.entity-Cwd9EqB4.mjs} +43 -59
  67. package/fesm2022/acorex-modules-party-management-party.entity-Cwd9EqB4.mjs.map +1 -0
  68. package/fesm2022/acorex-modules-party-management.mjs +1 -1
  69. package/fesm2022/acorex-modules-security-management.mjs +8 -2
  70. package/fesm2022/acorex-modules-security-management.mjs.map +1 -1
  71. package/fesm2022/{acorex-modules-task-management-task-board.page-zbl3g-sI.mjs → acorex-modules-task-management-task-board.page-Je2Y8X62.mjs} +11 -6
  72. package/fesm2022/{acorex-modules-task-management-task-board.page-zbl3g-sI.mjs.map → acorex-modules-task-management-task-board.page-Je2Y8X62.mjs.map} +1 -1
  73. package/fesm2022/acorex-modules-task-management.mjs +1 -1
  74. package/human-capital-management/index.d.ts +37 -1
  75. package/organization-management/index.d.ts +0 -1
  76. package/package.json +5 -5
  77. package/security-management/index.d.ts +4 -0
  78. package/fesm2022/acorex-modules-document-management-create-folder-dialog.component-C1Lvxwwf.mjs.map +0 -1
  79. package/fesm2022/acorex-modules-human-capital-management-acorex-modules-human-capital-management-1PmjMC7i.mjs.map +0 -1
  80. package/fesm2022/acorex-modules-organization-management-branch.entity-bajoE99c.mjs.map +0 -1
  81. package/fesm2022/acorex-modules-organization-management-team.entity-CNYXXHM7.mjs.map +0 -1
  82. package/fesm2022/acorex-modules-party-management-party.entity-BFEy4rXT.mjs.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-modules-document-management-small-tiles-view.component-DhzxwNEY.mjs","sources":["../tmp-esm2022/document-management/lib/features/document-explorer/views/small-tiles/small-tiles-view.component.js"],"sourcesContent":["import { Component, inject } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { AXPElementDataDirective, AXPDblClickDirective } from '@acorex/platform/core';\nimport { AXPDocumentExplorerViewModel } from '../../document-explorer.viewmodel';\nimport { AXFormatModule } from '@acorex/core/format';\nimport { AXDateTimeModule } from '@acorex/core/date-time';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/common\";\nimport * as i2 from \"@acorex/core/format\";\nexport class AXMDocumentExplorerSmallTilesViewComponent {\n constructor() {\n this.vm = inject(AXPDocumentExplorerViewModel);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.1.6\", ngImport: i0, type: AXMDocumentExplorerSmallTilesViewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"17.0.0\", version: \"20.1.6\", type: AXMDocumentExplorerSmallTilesViewComponent, isStandalone: true, selector: \"axm-document-explorer-small-tiles-view\", ngImport: i0, template: \"<!-- Folders Section -->\\n@if (vm.folders().length > 0) {\\n<div class=\\\"__section\\\">\\n <div class=\\\"__header\\\">\\n <h3 class=\\\"__title\\\">Folders</h3>\\n </div>\\n <div class=\\\"__content\\\">\\n @for (folder of vm.folders(); track folder.id) {\\n <div\\n class=\\\"__explorer-item\\\"\\n [class.--selected]=\\\"vm.isItemSelected(folder)\\\"\\n [axp-data]=\\\"folder\\\"\\n (click)=\\\"vm.toggleSelect(folder)\\\"\\n (onDblClick)=\\\"vm.navigateToFolder(folder.id)\\\"\\n >\\n <div class=\\\"__icon ax-text-yellow-400 fa-2x\\\">\\n @if (vm.isLoadingFolder(folder.id)) {\\n <i class=\\\"fa-light fa-spinner fa-spin-pulse\\\"></i>\\n } @else {\\n <i class=\\\"fas fa-folder-closed\\\"></i>\\n }\\n </div>\\n <div class=\\\"__details\\\">\\n <div class=\\\"__name\\\">{{ folder.name }}</div>\\n <div class=\\\"__info\\\">\\n <span>{{ folder.childrenCount }} items</span>\\n <span>{{ folder.modifiedAt | format : 'datetime' : { format: 'datetime' } | async }}</span>\\n </div>\\n </div>\\n </div>\\n }\\n </div>\\n</div>\\n}\\n\\n<!-- Files Section -->\\n@if (vm.files().length > 0) {\\n<div class=\\\"__section\\\">\\n <div class=\\\"__header\\\">\\n <h3 class=\\\"__title\\\">Files</h3>\\n </div>\\n <div class=\\\"__content\\\">\\n @for (file of vm.files(); track file.id) { @let fileInfo = vm.getFileInfo(file.name);\\n <div\\n class=\\\"__explorer-item\\\"\\n [class.--selected]=\\\"vm.isItemSelected(file)\\\"\\n [axp-data]=\\\"file\\\"\\n (click)=\\\"vm.toggleSelect(file)\\\"\\n (onDblClick)=\\\"vm.openFile(file)\\\"\\n >\\n <div class=\\\"__icon fa-2x\\\">\\n <i class=\\\"fa-fw {{ fileInfo.icon }} fa-solid\\\"></i>\\n </div>\\n <div class=\\\"__details\\\">\\n <div class=\\\"__name\\\">{{ file.name }}</div>\\n <div class=\\\"__info\\\">\\n <span>{{ file.size | format : 'filesize' | async }}</span>\\n <span>{{ file.modifiedAt | format : 'datetime' : { format: 'datetime' } | async }}</span>\\n </div>\\n </div>\\n </div>\\n }\\n </div>\\n</div>\\n}\\n\", styles: [\":host .__section{margin-bottom:2rem}:host .__section:last-child{margin-bottom:0}:host .__section .__header .__title{margin-bottom:1rem;font-size:1.125rem;line-height:1.75rem;font-weight:500}:host .__section .__content{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:.5rem}:host .__section .__content .__explorer-item{display:flex;cursor:pointer;align-items:center;gap:.75rem;border-radius:.5rem;border-width:1px;padding:.5rem;background-color:rgb(var(--ax-sys-color-lighter-surface));color:rgb(var(--ax-sys-color-on-lighter-surface));border-color:rgb(var(--ax-sys-color-border-lighter-surface))}:host .__section .__content .__explorer-item:hover{background-color:rgb(var(--ax-sys-color-light-surface));color:rgb(var(--ax-sys-color-on-light-surface));border-color:rgb(var(--ax-sys-color-border-light-surface))}:host .__section .__content .__explorer-item .__icon{flex-shrink:0}:host .__section .__content .__explorer-item .__details{min-width:0px;flex:1 1 0%}:host .__section .__content .__explorer-item .__details .__name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:start;font-size:.875rem;line-height:1.25rem;font-weight:600}:host .__section .__content .__explorer-item .__details .__info{display:flex;width:100%;justify-content:space-between;font-weight:600;opacity:.65}:host .__section .__content .__explorer-item .__details .__info span{font-size:.75rem;line-height:1rem}:host .__section .__content .__explorer-item.--selected{background-color:rgb(var(--ax-sys-color-darker-surface));color:rgb(var(--ax-sys-color-on-darker-surface));border-color:rgb(var(--ax-sys-color-border-darker-surface))}\\n\"], dependencies: [{ kind: \"ngmodule\", type: CommonModule }, { kind: \"directive\", type: AXPElementDataDirective, selector: \"[axp-data]\", inputs: [\"axp-data\", \"axp-data-path\"] }, { kind: \"directive\", type: AXPDblClickDirective, selector: \"[onDblClick]\", outputs: [\"onDblClick\"] }, { kind: \"ngmodule\", type: AXFormatModule }, { kind: \"ngmodule\", type: AXDateTimeModule }, { kind: \"pipe\", type: i1.AsyncPipe, name: \"async\" }, { kind: \"pipe\", type: i2.AXFormatPipe, name: \"format\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.1.6\", ngImport: i0, type: AXMDocumentExplorerSmallTilesViewComponent, decorators: [{\n type: Component,\n args: [{ selector: 'axm-document-explorer-small-tiles-view', standalone: true, imports: [CommonModule, AXPElementDataDirective, AXPDblClickDirective, AXFormatModule, AXDateTimeModule], template: \"<!-- Folders Section -->\\n@if (vm.folders().length > 0) {\\n<div class=\\\"__section\\\">\\n <div class=\\\"__header\\\">\\n <h3 class=\\\"__title\\\">Folders</h3>\\n </div>\\n <div class=\\\"__content\\\">\\n @for (folder of vm.folders(); track folder.id) {\\n <div\\n class=\\\"__explorer-item\\\"\\n [class.--selected]=\\\"vm.isItemSelected(folder)\\\"\\n [axp-data]=\\\"folder\\\"\\n (click)=\\\"vm.toggleSelect(folder)\\\"\\n (onDblClick)=\\\"vm.navigateToFolder(folder.id)\\\"\\n >\\n <div class=\\\"__icon ax-text-yellow-400 fa-2x\\\">\\n @if (vm.isLoadingFolder(folder.id)) {\\n <i class=\\\"fa-light fa-spinner fa-spin-pulse\\\"></i>\\n } @else {\\n <i class=\\\"fas fa-folder-closed\\\"></i>\\n }\\n </div>\\n <div class=\\\"__details\\\">\\n <div class=\\\"__name\\\">{{ folder.name }}</div>\\n <div class=\\\"__info\\\">\\n <span>{{ folder.childrenCount }} items</span>\\n <span>{{ folder.modifiedAt | format : 'datetime' : { format: 'datetime' } | async }}</span>\\n </div>\\n </div>\\n </div>\\n }\\n </div>\\n</div>\\n}\\n\\n<!-- Files Section -->\\n@if (vm.files().length > 0) {\\n<div class=\\\"__section\\\">\\n <div class=\\\"__header\\\">\\n <h3 class=\\\"__title\\\">Files</h3>\\n </div>\\n <div class=\\\"__content\\\">\\n @for (file of vm.files(); track file.id) { @let fileInfo = vm.getFileInfo(file.name);\\n <div\\n class=\\\"__explorer-item\\\"\\n [class.--selected]=\\\"vm.isItemSelected(file)\\\"\\n [axp-data]=\\\"file\\\"\\n (click)=\\\"vm.toggleSelect(file)\\\"\\n (onDblClick)=\\\"vm.openFile(file)\\\"\\n >\\n <div class=\\\"__icon fa-2x\\\">\\n <i class=\\\"fa-fw {{ fileInfo.icon }} fa-solid\\\"></i>\\n </div>\\n <div class=\\\"__details\\\">\\n <div class=\\\"__name\\\">{{ file.name }}</div>\\n <div class=\\\"__info\\\">\\n <span>{{ file.size | format : 'filesize' | async }}</span>\\n <span>{{ file.modifiedAt | format : 'datetime' : { format: 'datetime' } | async }}</span>\\n </div>\\n </div>\\n </div>\\n }\\n </div>\\n</div>\\n}\\n\", styles: [\":host .__section{margin-bottom:2rem}:host .__section:last-child{margin-bottom:0}:host .__section .__header .__title{margin-bottom:1rem;font-size:1.125rem;line-height:1.75rem;font-weight:500}:host .__section .__content{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:.5rem}:host .__section .__content .__explorer-item{display:flex;cursor:pointer;align-items:center;gap:.75rem;border-radius:.5rem;border-width:1px;padding:.5rem;background-color:rgb(var(--ax-sys-color-lighter-surface));color:rgb(var(--ax-sys-color-on-lighter-surface));border-color:rgb(var(--ax-sys-color-border-lighter-surface))}:host .__section .__content .__explorer-item:hover{background-color:rgb(var(--ax-sys-color-light-surface));color:rgb(var(--ax-sys-color-on-light-surface));border-color:rgb(var(--ax-sys-color-border-light-surface))}:host .__section .__content .__explorer-item .__icon{flex-shrink:0}:host .__section .__content .__explorer-item .__details{min-width:0px;flex:1 1 0%}:host .__section .__content .__explorer-item .__details .__name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:start;font-size:.875rem;line-height:1.25rem;font-weight:600}:host .__section .__content .__explorer-item .__details .__info{display:flex;width:100%;justify-content:space-between;font-weight:600;opacity:.65}:host .__section .__content .__explorer-item .__details .__info span{font-size:.75rem;line-height:1rem}:host .__section .__content .__explorer-item.--selected{background-color:rgb(var(--ax-sys-color-darker-surface));color:rgb(var(--ax-sys-color-on-darker-surface));border-color:rgb(var(--ax-sys-color-border-darker-surface))}\\n\"] }]\n }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic21hbGwtdGlsZXMtdmlldy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL21vZHVsZXMvZG9jdW1lbnQtbWFuYWdlbWVudC9zcmMvbGliL2ZlYXR1cmVzL2RvY3VtZW50LWV4cGxvcmVyL3ZpZXdzL3NtYWxsLXRpbGVzL3NtYWxsLXRpbGVzLXZpZXcuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9tb2R1bGVzL2RvY3VtZW50LW1hbmFnZW1lbnQvc3JjL2xpYi9mZWF0dXJlcy9kb2N1bWVudC1leHBsb3Jlci92aWV3cy9zbWFsbC10aWxlcy9zbWFsbC10aWxlcy12aWV3LmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjp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AE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,uBAAuB,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,EAAE,CAAC,UAAU,EAAE,eAAe,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,oBAAoB,EAAE,QAAQ,EAAE,cAAc,EAAE,OAAO,EAAE,CAAC,YAAY,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,cAAc,EAAE,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,gBAAgB,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,CAAC,SAAS,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,CAAC,YAAY,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,EAAE,CAAC,CAAC;AACp1I;AACA,EAAE,CAAC,wBAAwB,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,0CAA0C,EAAE,UAAU,EAAE,CAAC;AACpJ,YAAY,IAAI,EAAE,SAAS;AAC3B,YAAY,IAAI,EAAE,CAAC,EAAE,QAAQ,EAAE,wCAAwC,EAAE,UAAU,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,YAAY,EAAE,uBAAuB,EAAE,oBAAoB,EAAE,cAAc,EAAE,gBAAgB,CAAC,EAAE,QAAQ,EAAE,ogEAAogE,EAAE,MAAM,EAAE,CAAC,qnDAAqnD,CAAC,EAAE;AACt1H,SAAS,CAAC,EAAE,CAAC;;;;"}
1
+ {"version":3,"file":"acorex-modules-document-management-small-tiles-view.component-DLNbw_y5.mjs","sources":["../tmp-esm2022/document-management/lib/features/document-explorer/views/small-tiles/small-tiles-view.component.js"],"sourcesContent":["import { Component, inject } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { AXPElementDataDirective, AXPDblClickDirective } from '@acorex/platform/core';\nimport { AXPDocumentExplorerViewModel } from '../../document-explorer.viewmodel';\nimport { AXFormatModule } from '@acorex/core/format';\nimport { AXDateTimeModule } from '@acorex/core/date-time';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/common\";\nimport * as i2 from \"@acorex/core/format\";\nexport class AXMDocumentExplorerSmallTilesViewComponent {\n constructor() {\n this.vm = inject(AXPDocumentExplorerViewModel);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.1.6\", ngImport: i0, type: AXMDocumentExplorerSmallTilesViewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"17.0.0\", version: \"20.1.6\", type: AXMDocumentExplorerSmallTilesViewComponent, isStandalone: true, selector: \"axm-document-explorer-small-tiles-view\", ngImport: i0, template: \"<!-- Folders Section -->\\n@if (vm.folders().length > 0) {\\n<div class=\\\"__section\\\">\\n <div class=\\\"__header\\\">\\n <h3 class=\\\"__title\\\">Folders</h3>\\n </div>\\n <div class=\\\"__content\\\">\\n @for (folder of vm.folders(); track folder.id) {\\n <div\\n class=\\\"__explorer-item\\\"\\n [class.--selected]=\\\"vm.isItemSelected(folder)\\\"\\n [axp-data]=\\\"folder\\\"\\n (click)=\\\"vm.toggleSelect(folder)\\\"\\n (onDblClick)=\\\"vm.navigateToFolder(folder.id)\\\"\\n >\\n <div class=\\\"__icon ax-text-yellow-400 fa-2x\\\">\\n @if (vm.isLoadingFolder(folder.id)) {\\n <i class=\\\"fa-light fa-spinner fa-spin-pulse\\\"></i>\\n } @else {\\n <i class=\\\"fas fa-folder-closed\\\"></i>\\n }\\n </div>\\n <div class=\\\"__details\\\">\\n <div class=\\\"__name\\\">{{ folder.name }}</div>\\n <div class=\\\"__info\\\">\\n <span>{{ folder.childrenCount }} items</span>\\n <span>{{ folder.modifiedAt | format : 'datetime' : { format: 'datetime' } | async }}</span>\\n </div>\\n </div>\\n </div>\\n }\\n </div>\\n</div>\\n}\\n\\n<!-- Files Section -->\\n@if (vm.files().length > 0) {\\n<div class=\\\"__section\\\">\\n <div class=\\\"__header\\\">\\n <h3 class=\\\"__title\\\">Files</h3>\\n </div>\\n <div class=\\\"__content\\\">\\n @for (file of vm.files(); track file.id) { @let fileInfo = vm.getFileInfo(file.name);\\n <div\\n class=\\\"__explorer-item\\\"\\n [class.--selected]=\\\"vm.isItemSelected(file)\\\"\\n [axp-data]=\\\"file\\\"\\n (click)=\\\"vm.toggleSelect(file)\\\"\\n (onDblClick)=\\\"vm.openFile(file)\\\"\\n >\\n <div class=\\\"__icon fa-2x\\\">\\n <i class=\\\"fa-fw {{ fileInfo.icon }} fa-solid\\\"></i>\\n </div>\\n <div class=\\\"__details\\\">\\n <div class=\\\"__name\\\">{{ file.name }}</div>\\n <div class=\\\"__info\\\">\\n <span>{{ file.size | format : 'filesize' | async }}</span>\\n <span>{{ file.modifiedAt | format : 'datetime' : { format: 'datetime' } | async }}</span>\\n </div>\\n </div>\\n </div>\\n }\\n </div>\\n</div>\\n}\\n\", styles: [\":host .__section{margin-bottom:2rem}:host .__section:last-child{margin-bottom:0}:host .__section .__header .__title{margin-bottom:1rem;font-size:1.125rem;line-height:1.75rem;font-weight:500}:host .__section .__content{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:.5rem}:host .__section .__content .__explorer-item{display:flex;cursor:pointer;align-items:center;gap:.75rem;border-radius:.5rem;border-width:1px;padding:.5rem;background-color:rgb(var(--ax-sys-color-lighter-surface));color:rgb(var(--ax-sys-color-on-lighter-surface));border-color:rgb(var(--ax-sys-color-border-lighter-surface))}:host .__section .__content .__explorer-item:hover{background-color:rgb(var(--ax-sys-color-light-surface));color:rgb(var(--ax-sys-color-on-light-surface));border-color:rgb(var(--ax-sys-color-border-light-surface))}:host .__section .__content .__explorer-item .__icon{flex-shrink:0}:host .__section .__content .__explorer-item .__details{min-width:0px;flex:1 1 0%}:host .__section .__content .__explorer-item .__details .__name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:start;font-size:.875rem;line-height:1.25rem;font-weight:600}:host .__section .__content .__explorer-item .__details .__info{display:flex;width:100%;justify-content:space-between;font-weight:600;opacity:.65}:host .__section .__content .__explorer-item .__details .__info span{font-size:.75rem;line-height:1rem}:host .__section .__content .__explorer-item.--selected{background-color:rgb(var(--ax-sys-color-darker-surface));color:rgb(var(--ax-sys-color-on-darker-surface));border-color:rgb(var(--ax-sys-color-border-darker-surface))}\\n\"], dependencies: [{ kind: \"ngmodule\", type: CommonModule }, { kind: \"directive\", type: AXPElementDataDirective, selector: \"[axp-data]\", inputs: [\"axp-data\", \"axp-data-path\"] }, { kind: \"directive\", type: AXPDblClickDirective, selector: \"[onDblClick]\", outputs: [\"onDblClick\"] }, { kind: \"ngmodule\", type: AXFormatModule }, { kind: \"ngmodule\", type: AXDateTimeModule }, { kind: \"pipe\", type: i1.AsyncPipe, name: \"async\" }, { kind: \"pipe\", type: i2.AXFormatPipe, name: \"format\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.1.6\", ngImport: i0, type: AXMDocumentExplorerSmallTilesViewComponent, decorators: [{\n type: Component,\n args: [{ selector: 'axm-document-explorer-small-tiles-view', standalone: true, imports: [CommonModule, AXPElementDataDirective, AXPDblClickDirective, AXFormatModule, AXDateTimeModule], template: \"<!-- Folders Section -->\\n@if (vm.folders().length > 0) {\\n<div class=\\\"__section\\\">\\n <div class=\\\"__header\\\">\\n <h3 class=\\\"__title\\\">Folders</h3>\\n </div>\\n <div class=\\\"__content\\\">\\n @for (folder of vm.folders(); track folder.id) {\\n <div\\n class=\\\"__explorer-item\\\"\\n [class.--selected]=\\\"vm.isItemSelected(folder)\\\"\\n [axp-data]=\\\"folder\\\"\\n (click)=\\\"vm.toggleSelect(folder)\\\"\\n (onDblClick)=\\\"vm.navigateToFolder(folder.id)\\\"\\n >\\n <div class=\\\"__icon ax-text-yellow-400 fa-2x\\\">\\n @if (vm.isLoadingFolder(folder.id)) {\\n <i class=\\\"fa-light fa-spinner fa-spin-pulse\\\"></i>\\n } @else {\\n <i class=\\\"fas fa-folder-closed\\\"></i>\\n }\\n </div>\\n <div class=\\\"__details\\\">\\n <div class=\\\"__name\\\">{{ folder.name }}</div>\\n <div class=\\\"__info\\\">\\n <span>{{ folder.childrenCount }} items</span>\\n <span>{{ folder.modifiedAt | format : 'datetime' : { format: 'datetime' } | async }}</span>\\n </div>\\n </div>\\n </div>\\n }\\n </div>\\n</div>\\n}\\n\\n<!-- Files Section -->\\n@if (vm.files().length > 0) {\\n<div class=\\\"__section\\\">\\n <div class=\\\"__header\\\">\\n <h3 class=\\\"__title\\\">Files</h3>\\n </div>\\n <div class=\\\"__content\\\">\\n @for (file of vm.files(); track file.id) { @let fileInfo = vm.getFileInfo(file.name);\\n <div\\n class=\\\"__explorer-item\\\"\\n [class.--selected]=\\\"vm.isItemSelected(file)\\\"\\n [axp-data]=\\\"file\\\"\\n (click)=\\\"vm.toggleSelect(file)\\\"\\n (onDblClick)=\\\"vm.openFile(file)\\\"\\n >\\n <div class=\\\"__icon fa-2x\\\">\\n <i class=\\\"fa-fw {{ fileInfo.icon }} fa-solid\\\"></i>\\n </div>\\n <div class=\\\"__details\\\">\\n <div class=\\\"__name\\\">{{ file.name }}</div>\\n <div class=\\\"__info\\\">\\n <span>{{ file.size | format : 'filesize' | async }}</span>\\n <span>{{ file.modifiedAt | format : 'datetime' : { format: 'datetime' } | async }}</span>\\n </div>\\n </div>\\n </div>\\n }\\n </div>\\n</div>\\n}\\n\", styles: [\":host .__section{margin-bottom:2rem}:host .__section:last-child{margin-bottom:0}:host .__section .__header .__title{margin-bottom:1rem;font-size:1.125rem;line-height:1.75rem;font-weight:500}:host .__section .__content{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:.5rem}:host .__section .__content .__explorer-item{display:flex;cursor:pointer;align-items:center;gap:.75rem;border-radius:.5rem;border-width:1px;padding:.5rem;background-color:rgb(var(--ax-sys-color-lighter-surface));color:rgb(var(--ax-sys-color-on-lighter-surface));border-color:rgb(var(--ax-sys-color-border-lighter-surface))}:host .__section .__content .__explorer-item:hover{background-color:rgb(var(--ax-sys-color-light-surface));color:rgb(var(--ax-sys-color-on-light-surface));border-color:rgb(var(--ax-sys-color-border-light-surface))}:host .__section .__content .__explorer-item .__icon{flex-shrink:0}:host .__section .__content .__explorer-item .__details{min-width:0px;flex:1 1 0%}:host .__section .__content .__explorer-item .__details .__name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:start;font-size:.875rem;line-height:1.25rem;font-weight:600}:host .__section .__content .__explorer-item .__details .__info{display:flex;width:100%;justify-content:space-between;font-weight:600;opacity:.65}:host .__section .__content .__explorer-item .__details .__info span{font-size:.75rem;line-height:1rem}:host .__section .__content .__explorer-item.--selected{background-color:rgb(var(--ax-sys-color-darker-surface));color:rgb(var(--ax-sys-color-on-darker-surface));border-color:rgb(var(--ax-sys-color-border-darker-surface))}\\n\"] }]\n }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic21hbGwtdGlsZXMtdmlldy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL21vZHVsZXMvZG9jdW1lbnQtbWFuYWdlbWVudC9zcmMvbGliL2ZlYXR1cmVzL2RvY3VtZW50LWV4cGxvcmVyL3ZpZXdzL3NtYWxsLXRpbGVzL3NtYWxsLXRpbGVzLXZpZXcuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9tb2R1bGVzL2RvY3VtZW50LW1hbmFnZW1lbnQvc3JjL2xpYi9mZWF0dXJlcy9kb2N1bWVudC1leHBsb3Jlci92aWV3c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MDistributionService, L as AXMDistributionServiceImpl, i as AXMDocumentManagementDocumentEntityModule, o as AXMDocumentManagementDocumentTypeEntityModule, r as AXMDocumentManagementDocumentTypeMetaDefinitionEntityModule, s as AXMDocumentManagementDocumentTypeMetaDefinitionEntityService, t as AXMDocumentManagementDocumentTypeMetaDefinitionEntityServiceImpl, v as AXMDocumentManagementDocumentTypeMetaValueEntityModule, w as AXMDocumentManagementDocumentTypeMetaValueEntityService, x as AXMDocumentManagementDocumentTypeMetaValueEntityServiceImpl, z as AXMDocumentManagementDocumentTypeStatusDefinitionEntityModule, B as AXMDocumentManagementDocumentTypeStatusDefinitionEntityService, C as AXMDocumentManagementDocumentTypeStatusDefinitionEntityServiceImpl, g as AXMDocumentManagementModule, j as AXMDocumentService, k as AXMDocumentServiceImpl, f as AXMDocumentTypeService, p as AXMDocumentTypeServiceImpl, P as AXMEntityProvider, E as AXMFolderService, F as AXMFolderServiceImpl, Q as AXMMenuProvider, H as AXMReviewService, I as AXMReviewServiceImpl, S as AXMSearchCommandProvider, T as AXMSettingProvider, U as AXPDocumentUploaderWidget, Z as AXPDocumentUploaderWidgetColumnComponent, V as AXPDocumentUploaderWidgetDesignerComponent, W as AXPDocumentUploaderWidgetEditComponent, Y as AXPDocumentUploaderWidgetFilterComponent, _ as AXPDocumentUploaderWidgetPrintComponent, X as AXPDocumentUploaderWidgetViewComponent, R as RootConfig, m as canTransition, J as distributionFactory, M as distributionInteractionFactory, h as documentFactory, O as documentRelatedFactory, n as documentTypeFactory, q as documentTypeMetaDefinitionfactory, u as documentTypeMetaValueFactory, y as documentTypeStatusDefinitionFactory, D as folderFactory, l as getNextStatus, G as reviewFactory } from './acorex-modules-document-management-acorex-modules-document-management-BraIQGrY.mjs';
1
+ export { d as AXMDistributionInteractionService, N as AXMDistributionInteractionServiceImpl, K as AXMDistributionService, L as AXMDistributionServiceImpl, i as AXMDocumentManagementDocumentEntityModule, o as AXMDocumentManagementDocumentTypeEntityModule, r as AXMDocumentManagementDocumentTypeMetaDefinitionEntityModule, s as AXMDocumentManagementDocumentTypeMetaDefinitionEntityService, t as AXMDocumentManagementDocumentTypeMetaDefinitionEntityServiceImpl, v as AXMDocumentManagementDocumentTypeMetaValueEntityModule, w as AXMDocumentManagementDocumentTypeMetaValueEntityService, x as AXMDocumentManagementDocumentTypeMetaValueEntityServiceImpl, z as AXMDocumentManagementDocumentTypeStatusDefinitionEntityModule, B as AXMDocumentManagementDocumentTypeStatusDefinitionEntityService, C as AXMDocumentManagementDocumentTypeStatusDefinitionEntityServiceImpl, g as AXMDocumentManagementModule, j as AXMDocumentService, k as AXMDocumentServiceImpl, f as AXMDocumentTypeService, p as AXMDocumentTypeServiceImpl, P as AXMEntityProvider, E as AXMFolderService, F as AXMFolderServiceImpl, Q as AXMMenuProvider, H as AXMReviewService, I as AXMReviewServiceImpl, S as AXMSearchCommandProvider, T as AXMSettingProvider, U as AXPDocumentUploaderWidget, Z as AXPDocumentUploaderWidgetColumnComponent, V as AXPDocumentUploaderWidgetDesignerComponent, W as AXPDocumentUploaderWidgetEditComponent, Y as AXPDocumentUploaderWidgetFilterComponent, _ as AXPDocumentUploaderWidgetPrintComponent, X as AXPDocumentUploaderWidgetViewComponent, R as RootConfig, m as canTransition, J as distributionFactory, M as distributionInteractionFactory, h as documentFactory, O as documentRelatedFactory, n as documentTypeFactory, q as documentTypeMetaDefinitionfactory, u as documentTypeMetaValueFactory, y as documentTypeStatusDefinitionFactory, D as folderFactory, l as getNextStatus, G as reviewFactory } from './acorex-modules-document-management-acorex-modules-document-management-CiVbcZ81.mjs';
2
2
  //# sourceMappingURL=acorex-modules-document-management.mjs.map
@@ -1,11 +1,14 @@
1
+ import { AXMEntityCrudServiceImpl, AXPEntityService, AXP_ENTITY_DEFINITION_LOADER } from '@acorex/platform/layout/entity';
2
+ import * as i0 from '@angular/core';
3
+ import { Injectable, inject, Injector, NgModule } from '@angular/core';
1
4
  import { AXP_MENU_PROVIDER, AXP_SETTING_DEFINITION_PROVIDER } from '@acorex/platform/common';
2
- import { AXPEntityService, AXMEntityCrudServiceImpl, AXP_ENTITY_DEFINITION_LOADER } from '@acorex/platform/layout/entity';
5
+ import { AXP_DATASOURCE_DEFINITION_PROVIDER } from '@acorex/platform/core';
3
6
  import { CommonModule } from '@angular/common';
4
- import * as i0 from '@angular/core';
5
- import { inject, Injector, Injectable, NgModule } from '@angular/core';
6
7
  import { AXPSessionService } from '@acorex/platform/auth';
7
8
  import { firstValueFrom } from 'rxjs';
8
9
  import { AXP_IDENTIFIER_RULES } from '@acorex/modules/identifier-management';
10
+ import { AXDataSource } from '@acorex/cdk/common';
11
+ import { AXPWidgetsCatalog } from '@acorex/platform/layout/builder';
9
12
 
10
13
  const config = {
11
14
  i18n: 'human-capital-management',
@@ -59,6 +62,45 @@ const RootConfig = {
59
62
  },
60
63
  };
61
64
 
65
+ class AXMHumanCapitalManagementEmployeeEntityService extends AXMEntityCrudServiceImpl {
66
+ }
67
+ class AXMHumanCapitalManagementEmployeeEntityServiceImpl extends AXMHumanCapitalManagementEmployeeEntityService {
68
+ constructor() {
69
+ super(`${RootConfig.module.name}.${RootConfig.entities.employee.name}`);
70
+ }
71
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalManagementEmployeeEntityServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
72
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalManagementEmployeeEntityServiceImpl }); }
73
+ }
74
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalManagementEmployeeEntityServiceImpl, decorators: [{
75
+ type: Injectable
76
+ }], ctorParameters: () => [] });
77
+
78
+ class AXMHumanCapitalManagementSkillEntityService extends AXMEntityCrudServiceImpl {
79
+ }
80
+ class AXMHumanCapitalManagementSkillEntityServiceImpl extends AXMHumanCapitalManagementSkillEntityService {
81
+ constructor() {
82
+ super(`${RootConfig.module.name}.${RootConfig.entities.skill.name}`);
83
+ }
84
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalManagementSkillEntityServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
85
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalManagementSkillEntityServiceImpl }); }
86
+ }
87
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalManagementSkillEntityServiceImpl, decorators: [{
88
+ type: Injectable
89
+ }], ctorParameters: () => [] });
90
+
91
+ class AXMHumanCapitalManagementEmploymentTypeEntityService extends AXMEntityCrudServiceImpl {
92
+ }
93
+ class AXMHumanCapitalManagementEmploymentTypeEntityServiceImpl extends AXMHumanCapitalManagementEmploymentTypeEntityService {
94
+ constructor() {
95
+ super(`${RootConfig.module.name}.${RootConfig.entities.employmentType.name}`);
96
+ }
97
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalManagementEmploymentTypeEntityServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
98
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalManagementEmploymentTypeEntityServiceImpl }); }
99
+ }
100
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalManagementEmploymentTypeEntityServiceImpl, decorators: [{
101
+ type: Injectable
102
+ }], ctorParameters: () => [] });
103
+
62
104
  class AXMHumanCapitalModuleEntityProvider {
63
105
  constructor() {
64
106
  this.injector = inject(Injector);
@@ -74,17 +116,17 @@ class AXMHumanCapitalModuleEntityProvider {
74
116
  if (moduleName == RootConfig.module.name) {
75
117
  switch (entityName) {
76
118
  case RootConfig.entities.employee.name:
77
- return (await import('./acorex-modules-human-capital-management-employee.entity-5J-FoLiT.mjs')).factory(this.injector);
119
+ return (await import('./acorex-modules-human-capital-management-employee.entity-ByBqfKiF.mjs')).factory(this.injector);
78
120
  case RootConfig.entities.employmentType.name:
79
- return (await import('./acorex-modules-human-capital-management-employment-type.entity-DFpRtSOh.mjs')).factory(this.injector);
121
+ return (await import('./acorex-modules-human-capital-management-employment-type.entity-DZ8ubvD6.mjs')).factory(this.injector);
80
122
  case RootConfig.entities.skill.name:
81
- return (await import('./acorex-modules-human-capital-management-skill.entity-Dd7p11vj.mjs')).factory(this.injector);
123
+ return (await import('./acorex-modules-human-capital-management-skill.entity-DPeTwYH4.mjs')).factory(this.injector);
82
124
  case RootConfig.entities.skillLevel.name:
83
- return (await import('./acorex-modules-human-capital-management-skill-level.entity-0ZzRent7.mjs')).factory(this.injector);
125
+ return (await import('./acorex-modules-human-capital-management-skill-level.entity-DFCE3zcH.mjs')).factory(this.injector);
84
126
  case RootConfig.entities.employeeSkill.name:
85
- return (await import('./acorex-modules-human-capital-management-employee-skill.entity-DyOHJWW_.mjs')).factory(this.injector);
127
+ return (await import('./acorex-modules-human-capital-management-employee-skill.entity-DfVvf8Fg.mjs')).factory(this.injector);
86
128
  case RootConfig.entities.positionAssignment?.name:
87
- return (await import('./acorex-modules-human-capital-management-position-assignment.entity-DuNvJq-k.mjs')).factory(this.injector);
129
+ return (await import('./acorex-modules-human-capital-management-position-assignment.entity-BtIVnv-C.mjs')).factory(this.injector);
88
130
  }
89
131
  }
90
132
  return null;
@@ -145,19 +187,6 @@ class AXMMenuProvider {
145
187
  }
146
188
  }
147
189
 
148
- class AXMHumanCapitalManagementEmploymentTypeEntityService extends AXMEntityCrudServiceImpl {
149
- }
150
- class AXMHumanCapitalManagementEmploymentTypeEntityServiceImpl extends AXMHumanCapitalManagementEmploymentTypeEntityService {
151
- constructor() {
152
- super(`${RootConfig.module.name}.${RootConfig.entities.employmentType.name}`);
153
- }
154
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalManagementEmploymentTypeEntityServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
155
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalManagementEmploymentTypeEntityServiceImpl }); }
156
- }
157
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalManagementEmploymentTypeEntityServiceImpl, decorators: [{
158
- type: Injectable
159
- }], ctorParameters: () => [] });
160
-
161
190
  class AXMHumanCapitalManagementEmploymentTypeEntityModule {
162
191
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalManagementEmploymentTypeEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
163
192
  static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalManagementEmploymentTypeEntityModule }); }
@@ -183,19 +212,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
183
212
  }]
184
213
  }] });
185
214
 
186
- class AXMHumanCapitalManagementSkillEntityService extends AXMEntityCrudServiceImpl {
187
- }
188
- class AXMHumanCapitalManagementSkillEntityServiceImpl extends AXMHumanCapitalManagementSkillEntityService {
189
- constructor() {
190
- super(`${RootConfig.module.name}.${RootConfig.entities.skill.name}`);
191
- }
192
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalManagementSkillEntityServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
193
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalManagementSkillEntityServiceImpl }); }
194
- }
195
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalManagementSkillEntityServiceImpl, decorators: [{
196
- type: Injectable
197
- }], ctorParameters: () => [] });
198
-
199
215
  class AXMHumanCapitalManagementSkillEntityModule {
200
216
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalManagementSkillEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
201
217
  static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalManagementSkillEntityModule }); }
@@ -311,19 +327,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
311
327
  }]
312
328
  }] });
313
329
 
314
- class AXMHumanCapitalManagementEmployeeEntityService extends AXMEntityCrudServiceImpl {
315
- }
316
- class AXMHumanCapitalManagementEmployeeEntityServiceImpl extends AXMHumanCapitalManagementEmployeeEntityService {
317
- constructor() {
318
- super(`${RootConfig.module.name}.${RootConfig.entities.employee.name}`);
319
- }
320
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalManagementEmployeeEntityServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
321
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalManagementEmployeeEntityServiceImpl }); }
322
- }
323
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalManagementEmployeeEntityServiceImpl, decorators: [{
324
- type: Injectable
325
- }], ctorParameters: () => [] });
326
-
327
330
  class AXMHumanCapitalManagementEmployeeEntityModule {
328
331
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalManagementEmployeeEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
329
332
  static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalManagementEmployeeEntityModule }); }
@@ -353,6 +356,252 @@ const AXM_EMPLOYEE_CODE_IDENTIFIER_RULE = {
353
356
  scopeConfig: { byTenant: false, period: 'yearly', minValue: 100, blockSize: 0 },
354
357
  };
355
358
 
359
+ class AXMEmployeeDataSourceDefinition {
360
+ constructor() {
361
+ this.employeeService = inject(AXMHumanCapitalManagementEmployeeEntityService);
362
+ }
363
+ items() {
364
+ return Promise.resolve([
365
+ {
366
+ name: 'employees',
367
+ title: 'Employees',
368
+ source: () => {
369
+ return new AXDataSource({
370
+ key: 'id',
371
+ load: async (_) => {
372
+ try {
373
+ const res = await this.employeeService.query();
374
+ return {
375
+ items: res.items.map((item) => ({
376
+ ...item,
377
+ })),
378
+ total: res.total,
379
+ };
380
+ }
381
+ catch (e) {
382
+ console.log(e);
383
+ throw e;
384
+ }
385
+ },
386
+ byKey: async (key) => {
387
+ return await this.employeeService.getOne(key);
388
+ },
389
+ pageSize: 100,
390
+ });
391
+ },
392
+ columns: [
393
+ {
394
+ name: 'id',
395
+ title: 'ID',
396
+ datatype: 'uuid',
397
+ type: AXPWidgetsCatalog.text,
398
+ },
399
+ {
400
+ name: 'employeeCode',
401
+ title: 'Employee Code',
402
+ datatype: 'string',
403
+ type: AXPWidgetsCatalog.text,
404
+ },
405
+ {
406
+ name: 'party.displayName',
407
+ title: 'Display Name',
408
+ datatype: 'string',
409
+ type: AXPWidgetsCatalog.text,
410
+ },
411
+ ],
412
+ filters: [
413
+ {
414
+ field: 'employeeCode',
415
+ title: 'Employee Code',
416
+ operator: {
417
+ type: 'equal',
418
+ },
419
+ widget: {
420
+ type: AXPWidgetsCatalog.text,
421
+ },
422
+ filterType: {
423
+ advance: true,
424
+ inline: true,
425
+ },
426
+ },
427
+ ],
428
+ textField: {
429
+ name: 'party.displayName',
430
+ title: 'Display Name',
431
+ },
432
+ valueField: {
433
+ name: 'id',
434
+ title: 'ID',
435
+ },
436
+ },
437
+ ]);
438
+ }
439
+ }
440
+
441
+ class AXMSkillDataSourceDefinition {
442
+ constructor() {
443
+ this.skillService = inject(AXMHumanCapitalManagementSkillEntityService);
444
+ }
445
+ items() {
446
+ return Promise.resolve([
447
+ {
448
+ name: 'skills',
449
+ title: 'Skills',
450
+ source: () => {
451
+ return new AXDataSource({
452
+ key: 'id',
453
+ load: async (_) => {
454
+ try {
455
+ const res = await this.skillService.query();
456
+ return {
457
+ items: res.items.map((item) => ({
458
+ ...item,
459
+ })),
460
+ total: res.total,
461
+ };
462
+ }
463
+ catch (e) {
464
+ console.log(e);
465
+ throw e;
466
+ }
467
+ },
468
+ byKey: async (key) => {
469
+ return await this.skillService.getOne(key);
470
+ },
471
+ pageSize: 100,
472
+ });
473
+ },
474
+ columns: [
475
+ {
476
+ name: 'id',
477
+ title: 'ID',
478
+ datatype: 'uuid',
479
+ type: AXPWidgetsCatalog.text,
480
+ },
481
+ {
482
+ name: 'title',
483
+ title: 'Title',
484
+ datatype: 'string',
485
+ type: AXPWidgetsCatalog.text,
486
+ },
487
+ {
488
+ name: 'description',
489
+ title: 'Description',
490
+ datatype: 'string',
491
+ type: AXPWidgetsCatalog.text,
492
+ },
493
+ ],
494
+ filters: [
495
+ {
496
+ field: 'title',
497
+ title: 'Title',
498
+ operator: {
499
+ type: 'equal',
500
+ },
501
+ widget: {
502
+ type: AXPWidgetsCatalog.text,
503
+ },
504
+ filterType: {
505
+ advance: true,
506
+ inline: true,
507
+ },
508
+ },
509
+ ],
510
+ textField: {
511
+ name: 'title',
512
+ title: 'Title',
513
+ },
514
+ valueField: {
515
+ name: 'id',
516
+ title: 'ID',
517
+ },
518
+ },
519
+ ]);
520
+ }
521
+ }
522
+
523
+ class AXMEmploymentTypeDataSourceDefinition {
524
+ constructor() {
525
+ this.employmentTypeService = inject(AXMHumanCapitalManagementEmploymentTypeEntityService);
526
+ }
527
+ items() {
528
+ return Promise.resolve([
529
+ {
530
+ name: 'employmentTypes',
531
+ title: 'Employment Types',
532
+ source: () => {
533
+ return new AXDataSource({
534
+ key: 'id',
535
+ load: async (_) => {
536
+ try {
537
+ const res = await this.employmentTypeService.query();
538
+ return {
539
+ items: res.items.map((item) => ({
540
+ ...item,
541
+ })),
542
+ total: res.total,
543
+ };
544
+ }
545
+ catch (e) {
546
+ console.log(e);
547
+ throw e;
548
+ }
549
+ },
550
+ byKey: async (key) => {
551
+ return await this.employmentTypeService.getOne(key);
552
+ },
553
+ pageSize: 100,
554
+ });
555
+ },
556
+ columns: [
557
+ {
558
+ name: 'id',
559
+ title: 'ID',
560
+ datatype: 'uuid',
561
+ type: AXPWidgetsCatalog.text,
562
+ },
563
+ {
564
+ name: 'title',
565
+ title: 'Title',
566
+ datatype: 'string',
567
+ type: AXPWidgetsCatalog.text,
568
+ },
569
+ {
570
+ name: 'description',
571
+ title: 'Description',
572
+ datatype: 'string',
573
+ type: AXPWidgetsCatalog.text,
574
+ },
575
+ ],
576
+ filters: [
577
+ {
578
+ field: 'title',
579
+ title: 'Title',
580
+ operator: {
581
+ type: 'equal',
582
+ },
583
+ widget: {
584
+ type: AXPWidgetsCatalog.text,
585
+ },
586
+ filterType: {
587
+ advance: true,
588
+ inline: true,
589
+ },
590
+ },
591
+ ],
592
+ textField: {
593
+ name: 'title',
594
+ title: 'Title',
595
+ },
596
+ valueField: {
597
+ name: 'id',
598
+ title: 'ID',
599
+ },
600
+ },
601
+ ]);
602
+ }
603
+ }
604
+
356
605
  class AXMHumanCapitalManagementModule {
357
606
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalManagementModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
358
607
  static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalManagementModule, imports: [CommonModule,
@@ -387,6 +636,21 @@ class AXMHumanCapitalManagementModule {
387
636
  },
388
637
  multi: true,
389
638
  },
639
+ {
640
+ provide: AXP_DATASOURCE_DEFINITION_PROVIDER,
641
+ useClass: AXMEmployeeDataSourceDefinition,
642
+ multi: true,
643
+ },
644
+ {
645
+ provide: AXP_DATASOURCE_DEFINITION_PROVIDER,
646
+ useClass: AXMSkillDataSourceDefinition,
647
+ multi: true,
648
+ },
649
+ {
650
+ provide: AXP_DATASOURCE_DEFINITION_PROVIDER,
651
+ useClass: AXMEmploymentTypeDataSourceDefinition,
652
+ multi: true,
653
+ },
390
654
  ], imports: [CommonModule,
391
655
  AXMHumanCapitalManagementEmploymentTypeEntityModule,
392
656
  AXMHumanCapitalManagementSkillEntityModule,
@@ -432,6 +696,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
432
696
  },
433
697
  multi: true,
434
698
  },
699
+ {
700
+ provide: AXP_DATASOURCE_DEFINITION_PROVIDER,
701
+ useClass: AXMEmployeeDataSourceDefinition,
702
+ multi: true,
703
+ },
704
+ {
705
+ provide: AXP_DATASOURCE_DEFINITION_PROVIDER,
706
+ useClass: AXMSkillDataSourceDefinition,
707
+ multi: true,
708
+ },
709
+ {
710
+ provide: AXP_DATASOURCE_DEFINITION_PROVIDER,
711
+ useClass: AXMEmploymentTypeDataSourceDefinition,
712
+ multi: true,
713
+ },
435
714
  ],
436
715
  }]
437
716
  }] });
@@ -441,4 +720,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
441
720
  */
442
721
 
443
722
  export { AXMHumanCapitalManagementEmployeeEntityService as A, RootConfig as R, AXMHumanCapitalManagementEmploymentTypeEntityService as a, AXMHumanCapitalManagementSkillEntityService as b, AXMHumanCapitalManagementSkillLevelEntityService as c, AXMHumanCapitalManagementEmployeeSkillEntityService as d, AXMHumanCapitalManagementPositionAssignmentEntityService as e, AXMHumanCapitalManagementModule as f };
444
- //# sourceMappingURL=acorex-modules-human-capital-management-acorex-modules-human-capital-management-1PmjMC7i.mjs.map
723
+ //# sourceMappingURL=acorex-modules-human-capital-management-acorex-modules-human-capital-management-D4A3ZYFq.mjs.map