@acorex/modules 20.3.0-next.7 → 20.3.0-next.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/common/index.d.ts +1 -0
- package/data-management/index.d.ts +22 -3
- package/fesm2022/acorex-modules-common.mjs +97 -6
- package/fesm2022/acorex-modules-common.mjs.map +1 -1
- package/fesm2022/{acorex-modules-contact-management-emergency-contact.entity-D75qsDor.mjs → acorex-modules-contact-management-emergency-contact.entity-3vnkpSvv.mjs} +10 -9
- package/fesm2022/acorex-modules-contact-management-emergency-contact.entity-3vnkpSvv.mjs.map +1 -0
- package/fesm2022/acorex-modules-contact-management.mjs +1 -1
- package/fesm2022/acorex-modules-content-management.mjs +6 -0
- package/fesm2022/acorex-modules-content-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-conversation.mjs +3 -3
- package/fesm2022/acorex-modules-conversation.mjs.map +1 -1
- package/fesm2022/acorex-modules-dashboard-management.mjs +11 -11
- package/fesm2022/acorex-modules-dashboard-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-data-management.mjs +924 -8
- package/fesm2022/acorex-modules-data-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-document-management-acorex-modules-document-management-DhEDQZru.mjs → acorex-modules-document-management-acorex-modules-document-management-DUkSbCDD.mjs} +91 -58
- package/fesm2022/{acorex-modules-document-management-acorex-modules-document-management-DhEDQZru.mjs.map → acorex-modules-document-management-acorex-modules-document-management-DUkSbCDD.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-attachment-widget.component-Bx2Ps7uX.mjs → acorex-modules-document-management-attachment-widget.component-Ded4rmGD.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-attachment-widget.component-Bx2Ps7uX.mjs.map → acorex-modules-document-management-attachment-widget.component-Ded4rmGD.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-create-folder-dialog.component-B26m8qWj.mjs → acorex-modules-document-management-create-folder-dialog.component-DdN8ilG4.mjs} +9 -9
- package/fesm2022/{acorex-modules-document-management-create-folder-dialog.component-B26m8qWj.mjs.map → acorex-modules-document-management-create-folder-dialog.component-DdN8ilG4.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-details-view.component-3DmulyK_.mjs → acorex-modules-document-management-details-view.component-DkeoYFvx.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-details-view.component-3DmulyK_.mjs.map → acorex-modules-document-management-details-view.component-DkeoYFvx.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-document-signature-popup.component-DmR6gFdD.mjs → acorex-modules-document-management-document-signature-popup.component-DuPMRUTY.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-document-signature-popup.component-DmR6gFdD.mjs.map → acorex-modules-document-management-document-signature-popup.component-DuPMRUTY.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-drive-choose.component-BNyPOrzl.mjs → acorex-modules-document-management-drive-choose.component-CKMMZHrc.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-drive-choose.component-BNyPOrzl.mjs.map → acorex-modules-document-management-drive-choose.component-CKMMZHrc.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-drive.component-D5X_bI5D.mjs → acorex-modules-document-management-drive.component-Dh2hcCpJ.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-drive.component-D5X_bI5D.mjs.map → acorex-modules-document-management-drive.component-Dh2hcCpJ.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-large-icons-view.component-AzDtXQqt.mjs → acorex-modules-document-management-large-icons-view.component-DGUbA3xa.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-large-icons-view.component-AzDtXQqt.mjs.map → acorex-modules-document-management-large-icons-view.component-DGUbA3xa.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-large-tiles-view.component-DCG_v9JT.mjs → acorex-modules-document-management-large-tiles-view.component-Bt6Py82M.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-large-tiles-view.component-DCG_v9JT.mjs.map → acorex-modules-document-management-large-tiles-view.component-Bt6Py82M.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-list-view.component-Cb2OVElN.mjs → acorex-modules-document-management-list-view.component-DQllDW_Q.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-list-view.component-Cb2OVElN.mjs.map → acorex-modules-document-management-list-view.component-DQllDW_Q.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-meta-choose-popup.component-DsSo9G8S.mjs → acorex-modules-document-management-meta-choose-popup.component-BSYX7W79.mjs} +4 -4
- package/fesm2022/acorex-modules-document-management-meta-choose-popup.component-BSYX7W79.mjs.map +1 -0
- package/fesm2022/{acorex-modules-document-management-small-icons-view.component-EN4ttbvx.mjs → acorex-modules-document-management-small-icons-view.component-Umh8Z9qn.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-small-icons-view.component-EN4ttbvx.mjs.map → acorex-modules-document-management-small-icons-view.component-Umh8Z9qn.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-small-tiles-view.component-C-HjbNwe.mjs → acorex-modules-document-management-small-tiles-view.component-CBgWWCdt.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-small-tiles-view.component-C-HjbNwe.mjs.map → acorex-modules-document-management-small-tiles-view.component-CBgWWCdt.mjs.map} +1 -1
- package/fesm2022/acorex-modules-document-management.mjs +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-acorex-modules-human-capital-management-BQ_KNd7M.mjs → acorex-modules-human-capital-management-acorex-modules-human-capital-management-CdAtMLlz.mjs} +93 -213
- package/fesm2022/acorex-modules-human-capital-management-acorex-modules-human-capital-management-CdAtMLlz.mjs.map +1 -0
- package/fesm2022/{acorex-modules-human-capital-management-employee-skill.entity-3wofaUXu.mjs → acorex-modules-human-capital-management-employee-skill.entity-BllN9Giu.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-employee-skill.entity-3wofaUXu.mjs.map → acorex-modules-human-capital-management-employee-skill.entity-BllN9Giu.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-employee.entity-1fVathnk.mjs → acorex-modules-human-capital-management-employee.entity-CKofleq7.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-employee.entity-1fVathnk.mjs.map → acorex-modules-human-capital-management-employee.entity-CKofleq7.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-employment-type.entity-BWrwli0P.mjs → acorex-modules-human-capital-management-employment-type.entity-DfrErkOs.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-employment-type.entity-BWrwli0P.mjs.map → acorex-modules-human-capital-management-employment-type.entity-DfrErkOs.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-leave-request.entity-4ddc6R_K.mjs → acorex-modules-human-capital-management-leave-request.entity-Bz_4gE7D.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-leave-request.entity-4ddc6R_K.mjs.map → acorex-modules-human-capital-management-leave-request.entity-Bz_4gE7D.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-leave-type.entity-DYYJVRju.mjs → acorex-modules-human-capital-management-leave-type.entity-CFqmKzkn.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-leave-type.entity-DYYJVRju.mjs.map → acorex-modules-human-capital-management-leave-type.entity-CFqmKzkn.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-position-assignment.entity-DIqdhqk4.mjs → acorex-modules-human-capital-management-position-assignment.entity-BYqhKD95.mjs} +36 -4
- package/fesm2022/acorex-modules-human-capital-management-position-assignment.entity-BYqhKD95.mjs.map +1 -0
- package/fesm2022/{acorex-modules-human-capital-management-skill-level.entity-BN67pBaa.mjs → acorex-modules-human-capital-management-skill-level.entity-D4WoE6MR.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-skill-level.entity-BN67pBaa.mjs.map → acorex-modules-human-capital-management-skill-level.entity-D4WoE6MR.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-skill.entity-D4CglCC7.mjs → acorex-modules-human-capital-management-skill.entity-DqUyAAgW.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-skill.entity-D4CglCC7.mjs.map → acorex-modules-human-capital-management-skill.entity-DqUyAAgW.mjs.map} +1 -1
- package/fesm2022/acorex-modules-human-capital-management.mjs +1 -1
- package/fesm2022/acorex-modules-notification-management.mjs +5 -5
- package/fesm2022/acorex-modules-notification-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-organization-management-org-chart.page-keZ4Gk7y.mjs → acorex-modules-organization-management-org-chart.page-Caboa2La.mjs} +75 -23
- package/fesm2022/acorex-modules-organization-management-org-chart.page-Caboa2La.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-management.mjs +5 -2
- package/fesm2022/acorex-modules-organization-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-project-management-email-jsa.command-DS9XIlQ0.mjs +91 -0
- package/fesm2022/acorex-modules-project-management-email-jsa.command-DS9XIlQ0.mjs.map +1 -0
- package/fesm2022/acorex-modules-project-management-reassign-jsa.command-DbxxI3e3.mjs +88 -0
- package/fesm2022/acorex-modules-project-management-reassign-jsa.command-DbxxI3e3.mjs.map +1 -0
- package/fesm2022/acorex-modules-project-management-sign-jsa.command-cRf0DeTE.mjs +75 -0
- package/fesm2022/acorex-modules-project-management-sign-jsa.command-cRf0DeTE.mjs.map +1 -0
- package/fesm2022/acorex-modules-project-management.mjs +6 -6
- package/fesm2022/acorex-modules-report-management.mjs +4 -2
- package/fesm2022/acorex-modules-report-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-security-management.mjs +347 -3
- package/fesm2022/acorex-modules-security-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-task-management.mjs +18 -11
- package/fesm2022/acorex-modules-task-management.mjs.map +1 -1
- package/human-capital-management/index.d.ts +1 -1
- package/package.json +1 -1
- package/security-management/index.d.ts +42 -3
- package/fesm2022/acorex-modules-contact-management-emergency-contact.entity-D75qsDor.mjs.map +0 -1
- package/fesm2022/acorex-modules-document-management-meta-choose-popup.component-DsSo9G8S.mjs.map +0 -1
- package/fesm2022/acorex-modules-document-management-rename-node-dialog.component-B7gcoDDb.mjs +0 -101
- package/fesm2022/acorex-modules-document-management-rename-node-dialog.component-B7gcoDDb.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-acorex-modules-human-capital-management-BQ_KNd7M.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-position-assignment.entity-DIqdhqk4.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-org-chart.page-keZ4Gk7y.mjs.map +0 -1
- package/fesm2022/acorex-modules-project-management-email-jsa.command-BuT5Vj4Y.mjs +0 -115
- package/fesm2022/acorex-modules-project-management-email-jsa.command-BuT5Vj4Y.mjs.map +0 -1
- package/fesm2022/acorex-modules-project-management-reassign-jsa.command-B3OsacOq.mjs +0 -113
- package/fesm2022/acorex-modules-project-management-reassign-jsa.command-B3OsacOq.mjs.map +0 -1
- package/fesm2022/acorex-modules-project-management-sign-jsa.command-CJWg6Ntg.mjs +0 -77
- package/fesm2022/acorex-modules-project-management-sign-jsa.command-CJWg6Ntg.mjs.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-modules-document-management-small-tiles-view.component-C-HjbNwe.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.8\", ngImport: i0, type: AXMDocumentExplorerSmallTilesViewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"17.0.0\", version: \"20.1.8\", 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.8\", 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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic21hbGwtdGlsZXMtdmlldy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL21vZHVsZXMvZG9jdW1lbnQtbWFuYWdlbWVudC9zcmMvbGliL2ZlYXR1cmVzL2RvY3VtZW50LWV4cGxvcmVyL3ZpZXdzL3NtYWxsLXRpbGVzL3NtYWxsLXRpbGVzLXZpZXcuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9tb2R1bGVzL2RvY3VtZW50LW1hbmFnZW1lbnQvc3JjL2xpYi9mZWF0dXJlcy9kb2N1bWVudC1leHBsb3Jlci92aWV3cy9zbWFsbC10aWxlcy9zbWFsbC10aWxlcy12aWV3LmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ2xELE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsdUJBQXVCLEVB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AAc,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-CBgWWCdt.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.8\", ngImport: i0, type: AXMDocumentExplorerSmallTilesViewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"17.0.0\", version: \"20.1.8\", 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.8\", 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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic21hbGwtdGlsZXMtdmlldy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL21vZHVsZXMvZG9jdW1lbnQtbWFuYWdlbWVudC9zcmMvbGliL2ZlYXR1cmVzL2RvY3VtZW50LWV4cGxvcmVyL3ZpZXdzL3NtYWxsLXRpbGVzL3NtYWxsLXRpbGVzLXZpZXcuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9tb2R1bGVzL2RvY3VtZW50LW1hbmFnZW1lbnQvc3JjL2xpYi9mZWF0dXJlcy9kb2N1bWVudC1leHBsb3Jlci92aWV3cy9zbWFsbC10aWxlcy9zbWFsbC10aWxlcy12aWV3LmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ2xELE9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E,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,2 +1,2 @@
|
|
|
1
|
-
export { O as AXMDistributionEntityModule, S as AXMDistributionInteractionEntityModule, c as AXMDistributionInteractionService, Q as AXMDistributionInteractionServiceImpl, M as AXMDistributionService, N as AXMDistributionServiceImpl, h as AXMDocumentManagementDocumentEntityModule, n as AXMDocumentManagementDocumentTypeEntityModule, q as AXMDocumentManagementDocumentTypeMetaDefinitionEntityModule, r as AXMDocumentManagementDocumentTypeMetaDefinitionEntityService, s as AXMDocumentManagementDocumentTypeMetaDefinitionEntityServiceImpl, u as AXMDocumentManagementDocumentTypeMetaValueEntityModule, v as AXMDocumentManagementDocumentTypeMetaValueEntityService, w as AXMDocumentManagementDocumentTypeMetaValueEntityServiceImpl, y as AXMDocumentManagementDocumentTypeStatusDefinitionEntityModule, z as AXMDocumentManagementDocumentTypeStatusDefinitionEntityService, B as AXMDocumentManagementDocumentTypeStatusDefinitionEntityServiceImpl, f as AXMDocumentManagementModule, T as AXMDocumentReletedEntityModule, i as AXMDocumentService, j as AXMDocumentServiceImpl, e as AXMDocumentTypeService, o as AXMDocumentTypeServiceImpl, U as AXMEntityProvider, G as AXMFolderEntityModule, E as AXMFolderService, F as AXMFolderServiceImpl, V as AXMMenuProvider, K as AXMReviewEntityModule, I as AXMReviewService, J as AXMReviewServiceImpl, W as AXMSearchCommandProvider, X as AXMSettingProvider, Y as AXPDocumentUploaderWidget, a1 as AXPDocumentUploaderWidgetColumnComponent, Z as AXPDocumentUploaderWidgetDesignerComponent, _ as AXPDocumentUploaderWidgetEditComponent, a0 as AXPDocumentUploaderWidgetFilterComponent, a2 as AXPDocumentUploaderWidgetPrintComponent, $ as AXPDocumentUploaderWidgetViewComponent, R as RootConfig, l as canTransition, L as distributionFactory, P as distributionInteractionFactory, g as documentFactory, C as documentRelatedFactory, m as documentTypeFactory, p as documentTypeMetaDefinitionfactory, t as documentTypeMetaValueFactory, x as documentTypeStatusDefinitionFactory, D as folderFactory, k as getNextStatus, H as reviewFactory } from './acorex-modules-document-management-acorex-modules-document-management-
|
|
1
|
+
export { O as AXMDistributionEntityModule, S as AXMDistributionInteractionEntityModule, c as AXMDistributionInteractionService, Q as AXMDistributionInteractionServiceImpl, M as AXMDistributionService, N as AXMDistributionServiceImpl, h as AXMDocumentManagementDocumentEntityModule, n as AXMDocumentManagementDocumentTypeEntityModule, q as AXMDocumentManagementDocumentTypeMetaDefinitionEntityModule, r as AXMDocumentManagementDocumentTypeMetaDefinitionEntityService, s as AXMDocumentManagementDocumentTypeMetaDefinitionEntityServiceImpl, u as AXMDocumentManagementDocumentTypeMetaValueEntityModule, v as AXMDocumentManagementDocumentTypeMetaValueEntityService, w as AXMDocumentManagementDocumentTypeMetaValueEntityServiceImpl, y as AXMDocumentManagementDocumentTypeStatusDefinitionEntityModule, z as AXMDocumentManagementDocumentTypeStatusDefinitionEntityService, B as AXMDocumentManagementDocumentTypeStatusDefinitionEntityServiceImpl, f as AXMDocumentManagementModule, T as AXMDocumentReletedEntityModule, i as AXMDocumentService, j as AXMDocumentServiceImpl, e as AXMDocumentTypeService, o as AXMDocumentTypeServiceImpl, U as AXMEntityProvider, G as AXMFolderEntityModule, E as AXMFolderService, F as AXMFolderServiceImpl, V as AXMMenuProvider, K as AXMReviewEntityModule, I as AXMReviewService, J as AXMReviewServiceImpl, W as AXMSearchCommandProvider, X as AXMSettingProvider, Y as AXPDocumentUploaderWidget, a1 as AXPDocumentUploaderWidgetColumnComponent, Z as AXPDocumentUploaderWidgetDesignerComponent, _ as AXPDocumentUploaderWidgetEditComponent, a0 as AXPDocumentUploaderWidgetFilterComponent, a2 as AXPDocumentUploaderWidgetPrintComponent, $ as AXPDocumentUploaderWidgetViewComponent, R as RootConfig, l as canTransition, L as distributionFactory, P as distributionInteractionFactory, g as documentFactory, C as documentRelatedFactory, m as documentTypeFactory, p as documentTypeMetaDefinitionfactory, t as documentTypeMetaValueFactory, x as documentTypeStatusDefinitionFactory, D as folderFactory, k as getNextStatus, H as reviewFactory } from './acorex-modules-document-management-acorex-modules-document-management-DUkSbCDD.mjs';
|
|
2
2
|
//# sourceMappingURL=acorex-modules-document-management.mjs.map
|
|
@@ -4,8 +4,7 @@ import { Injectable, inject, signal, NgModule, Injector } from '@angular/core';
|
|
|
4
4
|
import { AXPWorkflowTaskProvider, AXP_WORKFLOW_TASK_PROVIDER } from '@acorex/platform/workflow';
|
|
5
5
|
import { AXTranslationService } from '@acorex/core/translation';
|
|
6
6
|
import { AXPCommandExecutor, AXPRuntimeModule, provideCommandSetups } from '@acorex/platform/runtime';
|
|
7
|
-
import {
|
|
8
|
-
import { AXPWidgetsList } from '@acorex/modules/common';
|
|
7
|
+
import { AXPDynamicFormBuilderService, AXP_TASK_BADGE_PROVIDERS } from '@acorex/platform/layout/components';
|
|
9
8
|
import { AXP_IDENTIFIER_RULES } from '@acorex/modules/identifier-management';
|
|
10
9
|
import { AXP_MENU_PROVIDER, AXP_SETTING_DEFINITION_PROVIDER } from '@acorex/platform/common';
|
|
11
10
|
import { AXP_DATASOURCE_DEFINITION_PROVIDER } from '@acorex/platform/core';
|
|
@@ -314,220 +313,101 @@ var cancelLeave_command = /*#__PURE__*/Object.freeze({
|
|
|
314
313
|
|
|
315
314
|
class AXPLeaveRequestDialogService {
|
|
316
315
|
constructor() {
|
|
317
|
-
this.
|
|
316
|
+
this.dialogBuilder = inject(AXPDynamicFormBuilderService);
|
|
318
317
|
this.translationService = inject(AXTranslationService);
|
|
319
318
|
}
|
|
320
319
|
async showRejectionDialog() {
|
|
321
|
-
const
|
|
322
|
-
const
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
},
|
|
349
|
-
{
|
|
350
|
-
path: 'note',
|
|
351
|
-
title: noteLabel,
|
|
352
|
-
description: noteDescription,
|
|
353
|
-
widget: {
|
|
354
|
-
type: AXPWidgetsList.Editors.LargeTextBox,
|
|
355
|
-
options: {
|
|
356
|
-
placeholder: notePlaceholder,
|
|
357
|
-
maxLength: 1000
|
|
358
|
-
}
|
|
359
|
-
}
|
|
360
|
-
}
|
|
361
|
-
]
|
|
362
|
-
}
|
|
363
|
-
]
|
|
364
|
-
},
|
|
365
|
-
context: { reason: '', note: '' },
|
|
366
|
-
actions: {
|
|
367
|
-
footer: {
|
|
368
|
-
suffix: [
|
|
369
|
-
{
|
|
370
|
-
title: await this.translationService.translateAsync('@general:actions.cancel.title'),
|
|
371
|
-
icon: 'fa-times',
|
|
372
|
-
color: 'default',
|
|
373
|
-
command: {
|
|
374
|
-
name: 'cancel'
|
|
375
|
-
}
|
|
376
|
-
},
|
|
377
|
-
{
|
|
378
|
-
title: await this.translationService.translateAsync('@general:actions.reject.title'),
|
|
379
|
-
icon: 'fa-times',
|
|
380
|
-
color: 'danger',
|
|
381
|
-
command: {
|
|
382
|
-
name: 'reject-leave-request'
|
|
383
|
-
}
|
|
384
|
-
}
|
|
385
|
-
]
|
|
386
|
-
}
|
|
387
|
-
}
|
|
388
|
-
};
|
|
389
|
-
const result = await this.dialogService.showDialog(config);
|
|
320
|
+
const dialog = this.dialogBuilder.dialog();
|
|
321
|
+
const dialogRef = await dialog
|
|
322
|
+
.title('@general:actions.reject.title')
|
|
323
|
+
.message('@human-capital-management:leave-request.rejection-dialog.message')
|
|
324
|
+
.group('form', group => group
|
|
325
|
+
.field('reason', field => field
|
|
326
|
+
.title('@human-capital-management:leave-request.rejection-dialog.reason-label')
|
|
327
|
+
.description('@human-capital-management:leave-request.rejection-dialog.reason-description')
|
|
328
|
+
.largeTextBox({
|
|
329
|
+
placeholder: '@human-capital-management:leave-request.rejection-dialog.reason-placeholder',
|
|
330
|
+
maxLength: 500
|
|
331
|
+
}))
|
|
332
|
+
.field('note', field => field
|
|
333
|
+
.title('@human-capital-management:leave-request.rejection-dialog.note-label')
|
|
334
|
+
.description('@human-capital-management:leave-request.rejection-dialog.note-description')
|
|
335
|
+
.largeTextBox({
|
|
336
|
+
placeholder: '@human-capital-management:leave-request.rejection-dialog.note-placeholder',
|
|
337
|
+
maxLength: 1000
|
|
338
|
+
})))
|
|
339
|
+
.context({ reason: '', note: '' })
|
|
340
|
+
.actions(actions => actions
|
|
341
|
+
.cancel('@general:actions.cancel.title')
|
|
342
|
+
.submit('@general:actions.reject.title'))
|
|
343
|
+
.show();
|
|
344
|
+
const formData = dialogRef.context();
|
|
345
|
+
const action = dialogRef.action();
|
|
346
|
+
dialogRef.close();
|
|
390
347
|
return {
|
|
391
|
-
reason:
|
|
392
|
-
note:
|
|
393
|
-
cancelled:
|
|
348
|
+
reason: formData['reason'],
|
|
349
|
+
note: formData['note'],
|
|
350
|
+
cancelled: action === 'cancel'
|
|
394
351
|
};
|
|
395
352
|
}
|
|
396
353
|
async showCancellationDialog() {
|
|
397
|
-
const
|
|
398
|
-
const
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
},
|
|
425
|
-
{
|
|
426
|
-
path: 'note',
|
|
427
|
-
title: noteLabel,
|
|
428
|
-
description: noteDescription,
|
|
429
|
-
widget: {
|
|
430
|
-
type: AXPWidgetsList.Editors.LargeTextBox,
|
|
431
|
-
options: {
|
|
432
|
-
placeholder: notePlaceholder,
|
|
433
|
-
maxLength: 1000
|
|
434
|
-
}
|
|
435
|
-
}
|
|
436
|
-
}
|
|
437
|
-
]
|
|
438
|
-
}
|
|
439
|
-
]
|
|
440
|
-
},
|
|
441
|
-
context: { reason: '', note: '' },
|
|
442
|
-
actions: {
|
|
443
|
-
footer: {
|
|
444
|
-
suffix: [
|
|
445
|
-
{
|
|
446
|
-
title: await this.translationService.translateAsync('@human-capital-management:leave-request.cancellation-dialog.cancel-text'),
|
|
447
|
-
icon: 'fa-times',
|
|
448
|
-
color: 'default',
|
|
449
|
-
command: {
|
|
450
|
-
name: 'cancel'
|
|
451
|
-
}
|
|
452
|
-
},
|
|
453
|
-
{
|
|
454
|
-
title: await this.translationService.translateAsync('@human-capital-management:leave-request.cancellation-dialog.submit-text'),
|
|
455
|
-
icon: 'fa-check',
|
|
456
|
-
color: 'primary',
|
|
457
|
-
command: {
|
|
458
|
-
name: 'cancel-leave-request'
|
|
459
|
-
}
|
|
460
|
-
}
|
|
461
|
-
]
|
|
462
|
-
}
|
|
463
|
-
}
|
|
464
|
-
};
|
|
465
|
-
const result = await this.dialogService.showDialog(config);
|
|
354
|
+
const dialog = this.dialogBuilder.dialog();
|
|
355
|
+
const dialogRef = await dialog
|
|
356
|
+
.title('@general:actions.cancel.title')
|
|
357
|
+
.message('@human-capital-management:leave-request.cancellation-dialog.message')
|
|
358
|
+
.group('form', group => group
|
|
359
|
+
.field('reason', field => field
|
|
360
|
+
.title('@human-capital-management:leave-request.cancellation-dialog.reason-label')
|
|
361
|
+
.description('@human-capital-management:leave-request.cancellation-dialog.reason-description')
|
|
362
|
+
.largeTextBox({
|
|
363
|
+
placeholder: '@human-capital-management:leave-request.cancellation-dialog.reason-placeholder',
|
|
364
|
+
maxLength: 500
|
|
365
|
+
}))
|
|
366
|
+
.field('note', field => field
|
|
367
|
+
.title('@human-capital-management:leave-request.cancellation-dialog.note-label')
|
|
368
|
+
.description('@human-capital-management:leave-request.cancellation-dialog.note-description')
|
|
369
|
+
.largeTextBox({
|
|
370
|
+
placeholder: '@human-capital-management:leave-request.cancellation-dialog.note-placeholder',
|
|
371
|
+
maxLength: 1000
|
|
372
|
+
})))
|
|
373
|
+
.context({ reason: '', note: '' })
|
|
374
|
+
.actions(actions => actions
|
|
375
|
+
.cancel('@general:actions.close.title')
|
|
376
|
+
.submit('@general:actions.cancel.title'))
|
|
377
|
+
.show();
|
|
378
|
+
const formData = dialogRef.context();
|
|
379
|
+
const action = dialogRef.action();
|
|
380
|
+
dialogRef.close();
|
|
466
381
|
return {
|
|
467
|
-
reason:
|
|
468
|
-
note:
|
|
469
|
-
cancelled:
|
|
382
|
+
reason: formData['reason'],
|
|
383
|
+
note: formData['note'],
|
|
384
|
+
cancelled: action === 'cancel'
|
|
470
385
|
};
|
|
471
386
|
}
|
|
472
387
|
async showApprovalDialog() {
|
|
473
|
-
const
|
|
474
|
-
const
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
title
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
placeholder: notePlaceholder,
|
|
494
|
-
maxLength: 1000
|
|
495
|
-
}
|
|
496
|
-
}
|
|
497
|
-
}
|
|
498
|
-
]
|
|
499
|
-
}
|
|
500
|
-
]
|
|
501
|
-
},
|
|
502
|
-
context: { note: '' },
|
|
503
|
-
actions: {
|
|
504
|
-
footer: {
|
|
505
|
-
suffix: [
|
|
506
|
-
{
|
|
507
|
-
title: await this.translationService.translateAsync('@general:actions.cancel.title'),
|
|
508
|
-
icon: 'fa-times',
|
|
509
|
-
color: 'default',
|
|
510
|
-
command: {
|
|
511
|
-
name: 'cancel'
|
|
512
|
-
}
|
|
513
|
-
},
|
|
514
|
-
{
|
|
515
|
-
title: await this.translationService.translateAsync('@general:actions.approve.title'),
|
|
516
|
-
icon: 'fa-check',
|
|
517
|
-
color: 'success',
|
|
518
|
-
command: {
|
|
519
|
-
name: 'approve-leave-request'
|
|
520
|
-
}
|
|
521
|
-
}
|
|
522
|
-
]
|
|
523
|
-
}
|
|
524
|
-
}
|
|
525
|
-
};
|
|
526
|
-
const result = await this.dialogService.showDialog(config);
|
|
388
|
+
const dialog = this.dialogBuilder.dialog();
|
|
389
|
+
const dialogRef = await dialog
|
|
390
|
+
.title('@general:actions.approve.title')
|
|
391
|
+
.message('@human-capital-management:leave-request.approval-dialog.message')
|
|
392
|
+
.group('form', group => group
|
|
393
|
+
.field('note', field => field
|
|
394
|
+
.title('@human-capital-management:leave-request.approval-dialog.note-label')
|
|
395
|
+
.description('@human-capital-management:leave-request.approval-dialog.note-description')
|
|
396
|
+
.largeTextBox({
|
|
397
|
+
placeholder: '@human-capital-management:leave-request.approval-dialog.note-placeholder',
|
|
398
|
+
maxLength: 1000
|
|
399
|
+
})))
|
|
400
|
+
.context({ note: '' })
|
|
401
|
+
.actions(actions => actions
|
|
402
|
+
.cancel('@general:actions.cancel.title')
|
|
403
|
+
.submit('@general:actions.approve.title'))
|
|
404
|
+
.show();
|
|
405
|
+
const formData = dialogRef.context();
|
|
406
|
+
const action = dialogRef.action();
|
|
407
|
+
dialogRef.close();
|
|
527
408
|
return {
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
cancelled: result.action === 'cancel'
|
|
409
|
+
note: formData['note'],
|
|
410
|
+
cancelled: action === 'cancel'
|
|
531
411
|
};
|
|
532
412
|
}
|
|
533
413
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPLeaveRequestDialogService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
@@ -944,21 +824,21 @@ class AXMHumanCapitalModuleEntityProvider {
|
|
|
944
824
|
if (moduleName == RootConfig.module.name) {
|
|
945
825
|
switch (entityName) {
|
|
946
826
|
case RootConfig.entities.employee.name:
|
|
947
|
-
return (await import('./acorex-modules-human-capital-management-employee.entity-
|
|
827
|
+
return (await import('./acorex-modules-human-capital-management-employee.entity-CKofleq7.mjs')).factory(this.injector);
|
|
948
828
|
case RootConfig.entities.employmentType.name:
|
|
949
|
-
return (await import('./acorex-modules-human-capital-management-employment-type.entity-
|
|
829
|
+
return (await import('./acorex-modules-human-capital-management-employment-type.entity-DfrErkOs.mjs')).factory(this.injector);
|
|
950
830
|
case RootConfig.entities.skill.name:
|
|
951
|
-
return (await import('./acorex-modules-human-capital-management-skill.entity-
|
|
831
|
+
return (await import('./acorex-modules-human-capital-management-skill.entity-DqUyAAgW.mjs')).factory(this.injector);
|
|
952
832
|
case RootConfig.entities.skillLevel.name:
|
|
953
|
-
return (await import('./acorex-modules-human-capital-management-skill-level.entity-
|
|
833
|
+
return (await import('./acorex-modules-human-capital-management-skill-level.entity-D4WoE6MR.mjs')).factory(this.injector);
|
|
954
834
|
case RootConfig.entities.employeeSkill.name:
|
|
955
|
-
return (await import('./acorex-modules-human-capital-management-employee-skill.entity-
|
|
835
|
+
return (await import('./acorex-modules-human-capital-management-employee-skill.entity-BllN9Giu.mjs')).factory(this.injector);
|
|
956
836
|
case RootConfig.entities.positionAssignment?.name:
|
|
957
|
-
return (await import('./acorex-modules-human-capital-management-position-assignment.entity-
|
|
837
|
+
return (await import('./acorex-modules-human-capital-management-position-assignment.entity-BYqhKD95.mjs')).factory(this.injector);
|
|
958
838
|
case RootConfig.entities.leaveType.name:
|
|
959
|
-
return (await import('./acorex-modules-human-capital-management-leave-type.entity-
|
|
839
|
+
return (await import('./acorex-modules-human-capital-management-leave-type.entity-CFqmKzkn.mjs')).factory(this.injector);
|
|
960
840
|
case RootConfig.entities.leaveRequest.name:
|
|
961
|
-
return (await import('./acorex-modules-human-capital-management-leave-request.entity-
|
|
841
|
+
return (await import('./acorex-modules-human-capital-management-leave-request.entity-Bz_4gE7D.mjs')).factory(this.injector);
|
|
962
842
|
}
|
|
963
843
|
}
|
|
964
844
|
return null;
|
|
@@ -1527,4 +1407,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImpor
|
|
|
1527
1407
|
*/
|
|
1528
1408
|
|
|
1529
1409
|
export { AXMHumanCapitalManagementEmployeeEntityService as A, RootConfig as R, AXMHumanCapitalManagementEmploymentTypeEntityService as a, AXMHumanCapitalManagementSkillEntityService as b, AXMHumanCapitalManagementSkillLevelEntityService as c, AXMHumanCapitalManagementEmployeeSkillEntityService as d, AXMHumanCapitalManagementPositionAssignmentEntityService as e, AXMHumanCapitalManagementLeaveTypeEntityService as f, AXMHumanCapitalManagementLeaveRequestEntityService as g, AXPApproveLeaveCommand as h, AXPRejectLeaveCommand as i, AXPCancelLeaveCommand as j, AXMLeaveRequestTaskProvider as k, AXPLeaveRequestDialogService as l, AXMLeaveRequestBadgeProvider as m, AXMHumanCapitalManagementModule as n };
|
|
1530
|
-
//# sourceMappingURL=acorex-modules-human-capital-management-acorex-modules-human-capital-management-
|
|
1410
|
+
//# sourceMappingURL=acorex-modules-human-capital-management-acorex-modules-human-capital-management-CdAtMLlz.mjs.map
|