@acorex/modules 20.1.0 → 20.2.0-next.1
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/auth/index.d.ts +4 -57
- package/calendar-management/index.d.ts +47 -26
- package/conversation/index.d.ts +69 -9
- package/dashboard-management/index.d.ts +2 -0
- package/fesm2022/{acorex-modules-auth-acorex-modules-auth-5TIjp5UG.mjs → acorex-modules-auth-acorex-modules-auth-y6rICHrT.mjs} +84 -201
- package/fesm2022/acorex-modules-auth-acorex-modules-auth-y6rICHrT.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-app-chooser.component-B0w1Xzx7.mjs → acorex-modules-auth-app-chooser.component-Cpy0VN6n.mjs} +4 -4
- package/fesm2022/{acorex-modules-auth-app-chooser.component-B0w1Xzx7.mjs.map → acorex-modules-auth-app-chooser.component-Cpy0VN6n.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-login.module-B8sVVZHV.mjs → acorex-modules-auth-login.module-ZEX4NMuJ.mjs} +4 -4
- package/fesm2022/{acorex-modules-auth-login.module-B8sVVZHV.mjs.map → acorex-modules-auth-login.module-ZEX4NMuJ.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-master.layout-CMKxj1Qo.mjs → acorex-modules-auth-master.layout-D-lIn4Pl.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-master.layout-CMKxj1Qo.mjs.map → acorex-modules-auth-master.layout-D-lIn4Pl.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-password.component-DH0qKunk.mjs → acorex-modules-auth-password.component-CafZfqKe.mjs} +7 -7
- package/fesm2022/{acorex-modules-auth-password.component-DH0qKunk.mjs.map → acorex-modules-auth-password.component-CafZfqKe.mjs.map} +1 -1
- package/fesm2022/acorex-modules-auth-password.component-DLCb0_6e.mjs +134 -0
- package/fesm2022/acorex-modules-auth-password.component-DLCb0_6e.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-routes-Q9zaIiBS.mjs → acorex-modules-auth-routes-D9-qfC3V.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-routes-Q9zaIiBS.mjs.map → acorex-modules-auth-routes-D9-qfC3V.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-tenant-chooser.component-wp7OOLsH.mjs → acorex-modules-auth-tenant-chooser.component-B1aE-TOD.mjs} +10 -13
- package/fesm2022/acorex-modules-auth-tenant-chooser.component-B1aE-TOD.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-two-factor-code.component-DSWd06bn.mjs → acorex-modules-auth-two-factor-code.component-BglerlU-.mjs} +6 -6
- package/fesm2022/{acorex-modules-auth-two-factor-code.component-DSWd06bn.mjs.map → acorex-modules-auth-two-factor-code.component-BglerlU-.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-two-factor.module-oRixkeAn.mjs → acorex-modules-auth-two-factor.module-D3N2XyOH.mjs} +3 -3
- package/fesm2022/{acorex-modules-auth-two-factor.module-oRixkeAn.mjs.map → acorex-modules-auth-two-factor.module-D3N2XyOH.mjs.map} +1 -1
- package/fesm2022/acorex-modules-auth.mjs +1 -1
- package/fesm2022/acorex-modules-calendar-management.mjs +353 -315
- package/fesm2022/acorex-modules-calendar-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-common-acorex-modules-common-DQESb8jf.mjs → acorex-modules-common-acorex-modules-common-D06CT4CO.mjs} +6 -16
- package/fesm2022/acorex-modules-common-acorex-modules-common-D06CT4CO.mjs.map +1 -0
- package/fesm2022/{acorex-modules-common-search-popup.component-CpFvcrxw.mjs → acorex-modules-common-search-popup.component-DbTj01Wz.mjs} +2 -2
- package/fesm2022/{acorex-modules-common-search-popup.component-CpFvcrxw.mjs.map → acorex-modules-common-search-popup.component-DbTj01Wz.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-common-settings.provider-ha75F6g5.mjs → acorex-modules-common-settings.provider-DPVsF4c9.mjs} +2 -2
- package/fesm2022/{acorex-modules-common-settings.provider-ha75F6g5.mjs.map → acorex-modules-common-settings.provider-DPVsF4c9.mjs.map} +1 -1
- package/fesm2022/acorex-modules-common.mjs +1 -1
- package/fesm2022/acorex-modules-conversation.mjs +487 -57
- package/fesm2022/acorex-modules-conversation.mjs.map +1 -1
- package/fesm2022/acorex-modules-dashboard-management.mjs +1 -1
- package/fesm2022/acorex-modules-dashboard-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-data-management.mjs +3 -3
- package/fesm2022/acorex-modules-data-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-document-management-acorex-modules-document-management-B4Jd-KGV.mjs → acorex-modules-document-management-acorex-modules-document-management-C7ot6PfT.mjs} +411 -51
- package/fesm2022/acorex-modules-document-management-acorex-modules-document-management-C7ot6PfT.mjs.map +1 -0
- package/fesm2022/{acorex-modules-document-management-attachment-widget.component-Bp4kKjC4.mjs → acorex-modules-document-management-attachment-widget.component-C6pop0RM.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-attachment-widget.component-Bp4kKjC4.mjs.map → acorex-modules-document-management-attachment-widget.component-C6pop0RM.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-create-folder-dialog.component-12aUAucS.mjs → acorex-modules-document-management-create-folder-dialog.component-ga7fuY4H.mjs} +4 -4
- package/fesm2022/acorex-modules-document-management-create-folder-dialog.component-ga7fuY4H.mjs.map +1 -0
- package/fesm2022/{acorex-modules-document-management-details-view.component-bzA7fJZW.mjs → acorex-modules-document-management-details-view.component-CzTg3hha.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-details-view.component-bzA7fJZW.mjs.map → acorex-modules-document-management-details-view.component-CzTg3hha.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-drive-choose.component-DLJdJzp1.mjs → acorex-modules-document-management-drive-choose.component-BB5d32EI.mjs} +5 -5
- package/fesm2022/{acorex-modules-document-management-drive-choose.component-DLJdJzp1.mjs.map → acorex-modules-document-management-drive-choose.component-BB5d32EI.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-drive.component-DrkSd6Rv.mjs → acorex-modules-document-management-drive.component-TzRLr7rb.mjs} +7 -7
- package/fesm2022/{acorex-modules-document-management-drive.component-DrkSd6Rv.mjs.map → acorex-modules-document-management-drive.component-TzRLr7rb.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-large-icons-view.component-DV8oWdDh.mjs → acorex-modules-document-management-large-icons-view.component-BeKFvgYU.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-large-icons-view.component-DV8oWdDh.mjs.map → acorex-modules-document-management-large-icons-view.component-BeKFvgYU.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-large-tiles-view.component-Bgr9s_zf.mjs → acorex-modules-document-management-large-tiles-view.component-CQyiGE99.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-large-tiles-view.component-Bgr9s_zf.mjs.map → acorex-modules-document-management-large-tiles-view.component-CQyiGE99.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-link-dialog.component-CSEIhT4P.mjs → acorex-modules-document-management-link-dialog.component-CPuOuvu-.mjs} +2 -2
- package/fesm2022/acorex-modules-document-management-link-dialog.component-CPuOuvu-.mjs.map +1 -0
- package/fesm2022/{acorex-modules-document-management-list-view.component-Dz6ymqrq.mjs → acorex-modules-document-management-list-view.component-CWGGArxw.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-list-view.component-Dz6ymqrq.mjs.map → acorex-modules-document-management-list-view.component-CWGGArxw.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-meta-choose-popup.component-DYJN-4Pe.mjs → acorex-modules-document-management-meta-choose-popup.component-C7ounW6N.mjs} +8 -9
- package/fesm2022/acorex-modules-document-management-meta-choose-popup.component-C7ounW6N.mjs.map +1 -0
- package/fesm2022/{acorex-modules-document-management-permission-definition.provider-CN7HVQLu.mjs → acorex-modules-document-management-permission-definition.provider-s0P0M8p2.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-permission-definition.provider-CN7HVQLu.mjs.map → acorex-modules-document-management-permission-definition.provider-s0P0M8p2.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-rename-node-dialog.component-C_dsLLMb.mjs → acorex-modules-document-management-rename-node-dialog.component-MPkYZl2p.mjs} +4 -4
- package/fesm2022/{acorex-modules-document-management-rename-node-dialog.component-C_dsLLMb.mjs.map → acorex-modules-document-management-rename-node-dialog.component-MPkYZl2p.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-share-dialog.component-CBrf7hjZ.mjs → acorex-modules-document-management-share-dialog.component-CLF6b1Io.mjs} +2 -2
- package/fesm2022/acorex-modules-document-management-share-dialog.component-CLF6b1Io.mjs.map +1 -0
- package/fesm2022/{acorex-modules-document-management-share-email-dialog.component-D3WcHAOf.mjs → acorex-modules-document-management-share-email-dialog.component-B8zNvOUv.mjs} +2 -2
- package/fesm2022/acorex-modules-document-management-share-email-dialog.component-B8zNvOUv.mjs.map +1 -0
- package/fesm2022/{acorex-modules-document-management-small-icons-view.component-wvFkjOqg.mjs → acorex-modules-document-management-small-icons-view.component-DRVLlW1e.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-small-icons-view.component-wvFkjOqg.mjs.map → acorex-modules-document-management-small-icons-view.component-DRVLlW1e.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-small-tiles-view.component-C4ARGOZR.mjs → acorex-modules-document-management-small-tiles-view.component-C1E8RKYM.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-small-tiles-view.component-C4ARGOZR.mjs.map → acorex-modules-document-management-small-tiles-view.component-C1E8RKYM.mjs.map} +1 -1
- package/fesm2022/acorex-modules-document-management.mjs +1 -1
- package/fesm2022/{acorex-modules-issue-management-acorex-modules-issue-management-B8ZVc-0b.mjs → acorex-modules-issue-management-acorex-modules-issue-management-ITP4K-tZ.mjs} +3 -3
- package/fesm2022/{acorex-modules-issue-management-acorex-modules-issue-management-B8ZVc-0b.mjs.map → acorex-modules-issue-management-acorex-modules-issue-management-ITP4K-tZ.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-issue-management-capture-screen.component-D1vapaJC.mjs → acorex-modules-issue-management-capture-screen.component-C1USFJeP.mjs} +2 -2
- package/fesm2022/{acorex-modules-issue-management-capture-screen.component-D1vapaJC.mjs.map → acorex-modules-issue-management-capture-screen.component-C1USFJeP.mjs.map} +1 -1
- package/fesm2022/acorex-modules-issue-management.mjs +1 -1
- package/fesm2022/acorex-modules-notification-management.mjs +109 -3
- package/fesm2022/acorex-modules-notification-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-organization-management-add-item.component-DsDk5cyO.mjs → acorex-modules-organization-management-add-item.component-Dr-bwC4K.mjs} +2 -2
- package/fesm2022/acorex-modules-organization-management-add-item.component-Dr-bwC4K.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-org-chart.page-DWQ-5NF_.mjs → acorex-modules-organization-management-org-chart.page-CXhtYrCS.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-org-chart.page-DWQ-5NF_.mjs.map → acorex-modules-organization-management-org-chart.page-CXhtYrCS.mjs.map} +1 -1
- package/fesm2022/acorex-modules-organization-management.mjs +2 -2
- package/fesm2022/acorex-modules-platform-management.mjs +43 -19
- package/fesm2022/acorex-modules-platform-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-project-management.mjs +48 -38
- package/fesm2022/acorex-modules-project-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-report-management-report-create-root.component-DgouOz2M.mjs → acorex-modules-report-management-report-create-root.component-Cv88TDx7.mjs} +2 -2
- package/fesm2022/acorex-modules-report-management-report-create-root.component-Cv88TDx7.mjs.map +1 -0
- package/fesm2022/acorex-modules-report-management.mjs +1 -1
- package/fesm2022/acorex-modules-security-management.mjs +301 -837
- package/fesm2022/acorex-modules-security-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-workflow-management-acorex-modules-workflow-management-enYapFRb.mjs +213 -0
- package/fesm2022/acorex-modules-workflow-management-acorex-modules-workflow-management-enYapFRb.mjs.map +1 -0
- package/fesm2022/{acorex-modules-workflow-management-task-board.page-BoG_tFGn.mjs → acorex-modules-workflow-management-task-board.page-CPL7HwN4.mjs} +21 -20
- package/fesm2022/acorex-modules-workflow-management-task-board.page-CPL7HwN4.mjs.map +1 -0
- package/fesm2022/acorex-modules-workflow-management.mjs +1 -143
- package/fesm2022/acorex-modules-workflow-management.mjs.map +1 -1
- package/notification-management/index.d.ts +125 -29
- package/package.json +9 -9
- package/report-management/index.d.ts +2 -0
- package/security-management/index.d.ts +4 -13
- package/workflow-management/index.d.ts +11 -2
- package/fesm2022/acorex-modules-auth-acorex-modules-auth-5TIjp5UG.mjs.map +0 -1
- package/fesm2022/acorex-modules-auth-oauth-callback.component-C95YLpI_.mjs +0 -101
- package/fesm2022/acorex-modules-auth-oauth-callback.component-C95YLpI_.mjs.map +0 -1
- package/fesm2022/acorex-modules-auth-password.component-Du0EBIiw.mjs +0 -239
- package/fesm2022/acorex-modules-auth-password.component-Du0EBIiw.mjs.map +0 -1
- package/fesm2022/acorex-modules-auth-tenant-chooser.component-wp7OOLsH.mjs.map +0 -1
- package/fesm2022/acorex-modules-auth-user-sessions.component-8wwWI0cQ.mjs +0 -135
- package/fesm2022/acorex-modules-auth-user-sessions.component-8wwWI0cQ.mjs.map +0 -1
- package/fesm2022/acorex-modules-common-acorex-modules-common-DQESb8jf.mjs.map +0 -1
- package/fesm2022/acorex-modules-document-management-acorex-modules-document-management-B4Jd-KGV.mjs.map +0 -1
- package/fesm2022/acorex-modules-document-management-create-folder-dialog.component-12aUAucS.mjs.map +0 -1
- package/fesm2022/acorex-modules-document-management-link-dialog.component-CSEIhT4P.mjs.map +0 -1
- package/fesm2022/acorex-modules-document-management-meta-choose-popup.component-DYJN-4Pe.mjs.map +0 -1
- package/fesm2022/acorex-modules-document-management-share-dialog.component-CBrf7hjZ.mjs.map +0 -1
- package/fesm2022/acorex-modules-document-management-share-email-dialog.component-D3WcHAOf.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-add-item.component-DsDk5cyO.mjs.map +0 -1
- package/fesm2022/acorex-modules-report-management-report-create-root.component-DgouOz2M.mjs.map +0 -1
- package/fesm2022/acorex-modules-workflow-management-task-board.page-BoG_tFGn.mjs.map +0 -1
@@ -8,7 +8,7 @@ import * as i1 from '@angular/common';
|
|
8
8
|
import { CommonModule } from '@angular/common';
|
9
9
|
import * as i0 from '@angular/core';
|
10
10
|
import { inject, ChangeDetectionStrategy, ViewEncapsulation, Component } from '@angular/core';
|
11
|
-
import { A as AXMCaptureScreenService } from './acorex-modules-issue-management-acorex-modules-issue-management-
|
11
|
+
import { A as AXMCaptureScreenService } from './acorex-modules-issue-management-acorex-modules-issue-management-ITP4K-tZ.mjs';
|
12
12
|
import * as i5 from '@acorex/core/format';
|
13
13
|
import { AXFormatModule } from '@acorex/core/format';
|
14
14
|
|
@@ -25,4 +25,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImpor
|
|
25
25
|
}] });
|
26
26
|
|
27
27
|
export { AXMCaptureScreenComponent };
|
28
|
-
//# sourceMappingURL=acorex-modules-issue-management-capture-screen.component-
|
28
|
+
//# sourceMappingURL=acorex-modules-issue-management-capture-screen.component-C1USFJeP.mjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"acorex-modules-issue-management-capture-screen.component-D1vapaJC.mjs","sources":["../tmp-esm2022/issue-management/lib/components/capture-screen/components/capture-screen-component/capture-screen.component.js"],"sourcesContent":["import { AXButtonModule } from '@acorex/components/button';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXLoadingModule } from '@acorex/components/loading';\nimport { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, inject, ViewEncapsulation } from '@angular/core';\nimport { AXMCaptureScreenService } from '../../services/capture-screen.service';\nimport { AXFormatModule } from '@acorex/core/format';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/common\";\nimport * as i2 from \"@acorex/components/button\";\nimport * as i3 from \"@acorex/components/decorators\";\nimport * as i4 from \"@acorex/components/loading\";\nimport * as i5 from \"@acorex/core/format\";\nexport class AXMCaptureScreenComponent {\n constructor() {\n this.vm = inject(AXMCaptureScreenService);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.1.3\", ngImport: i0, type: AXMCaptureScreenComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"17.0.0\", version: \"20.1.3\", type: AXMCaptureScreenComponent, isStandalone: true, selector: \"axm-capture-screen\", ngImport: i0, template: \"<div\\r\\n class=\\\"ax-transition-all ax-flex ax-items-center ax-gap-4 ax-w-fit ax-bg-surface ax-border ax-border-lighter ax-shadow-md ax-rounded-full ax-fixed ax-bottom-4 ax-right-4 ax-z-10\\\"\\r\\n>\\r\\n <section\\r\\n class=\\\"ax-flex ax-items-center ax-justify-center ax-gap-4\\\"\\r\\n [ngClass]=\\\"{ 'screenshot-hidden': vm.captureMode() === 'video' }\\\"\\r\\n >\\r\\n <ax-button look=\\\"outline\\\" color=\\\"primary\\\" class=\\\"ax-lg ax-rounded-full\\\" (onClick)=\\\"vm.screenshotClick()\\\">\\r\\n @if (vm.loading()) {\\r\\n <ax-loading></ax-loading>\\r\\n } @else {\\r\\n <ax-prefix>\\r\\n <ax-icon class=\\\"fa-regular fa-camera\\\"></ax-icon>\\r\\n </ax-prefix>\\r\\n }\\r\\n </ax-button>\\r\\n <ax-button\\r\\n look=\\\"blank\\\"\\r\\n class=\\\"ax-lg ax-rounded-full\\\"\\r\\n [ngClass]=\\\"{ 'recordVideo-move': vm.captureMode() === 'video' }\\\"\\r\\n (onClick)=\\\"vm.changeCaptureMode()\\\"\\r\\n >\\r\\n <ax-prefix>\\r\\n <ax-icon class=\\\"fa-regular fa-video\\\"></ax-icon>\\r\\n </ax-prefix>\\r\\n </ax-button>\\r\\n </section>\\r\\n <section\\r\\n class=\\\"ax-hidden ax-items-center ax-justify-center ax-gap-8\\\"\\r\\n [ngClass]=\\\"{ '!ax-flex recordContainer-show': vm.captureMode() === 'video' }\\\"\\r\\n >\\r\\n <div class=\\\"ax-flex ax-items-center ax-justify-center ax-gap-2\\\">\\r\\n <ax-button look=\\\"outline\\\" color=\\\"danger\\\" class=\\\"ax-lg ax-rounded-full\\\" (onClick)=\\\"vm.recordScreenClick()\\\">\\r\\n <ax-prefix class=\\\"ax-relative\\\">\\r\\n @if (vm.isRecording()) {\\r\\n <ax-icon\\r\\n class=\\\"fa-solid fa-circle ax-absolute ax-animate-twPing ax-animate-infinite ax-animate-duration-[1500ms] ax-text-danger-400 ax-opacity-75\\\"\\r\\n ></ax-icon>\\r\\n }\\r\\n <ax-icon class=\\\"fa-solid fa-circle\\\"></ax-icon>\\r\\n </ax-prefix>\\r\\n </ax-button>\\r\\n <ax-button look=\\\"blank\\\" class=\\\"ax-sm\\\" (onClick)=\\\"vm.mutedClick()\\\">\\r\\n <ax-prefix\\r\\n ><ax-icon class=\\\"fa-solid {{ vm.muted() ? 'fa-microphone' : 'fa-microphone-slash' }}\\\"></ax-icon\\r\\n ></ax-prefix>\\r\\n </ax-button>\\r\\n </div>\\r\\n <div class=\\\"ax-flex ax-items-center ax-gap-2\\\">\\r\\n <p>\\r\\n {{ vm.timer().minute | format: 'number' : { zeroPadLength: 2 } | async }} :\\r\\n {{ vm.timer().second | format: 'number' : { zeroPadLength: 2 } | async }}\\r\\n </p>\\r\\n </div>\\r\\n </section>\\r\\n <ax-button look=\\\"blank\\\" class=\\\"ax-rounded-full\\\" (onClick)=\\\"vm.cancelClick()\\\">\\r\\n <ax-prefix><ax-icon class=\\\"fa-solid fa-xmark\\\"></ax-icon></ax-prefix>\\r\\n </ax-button>\\r\\n</div>\\r\\n\", styles: [\"@keyframes hideScreenshotContainer{0%{opacity:1;position:absolute}to{opacity:0;position:absolute;display:none}}@keyframes moveRecordButton{0%{transform:translate(0) rotate(0);opacity:1}to{transform:translate(-100px) rotate(360deg);opacity:0}}@keyframes showRecordContainer{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}.screenshot-hidden{animation:hideScreenshotContainer .2s forwards}.recordVideo-move{animation:moveRecordButton .5s forwards}.recordContainer-show{animation:showRecordContainer .5s forwards}\\n\"], dependencies: [{ kind: \"ngmodule\", type: CommonModule }, { kind: \"directive\", type: i1.NgClass, selector: \"[ngClass]\", inputs: [\"class\", \"ngClass\"] }, { kind: \"ngmodule\", type: AXButtonModule }, { kind: \"component\", type: i2.AXButtonComponent, selector: \"ax-button\", inputs: [\"disabled\", \"size\", \"tabIndex\", \"color\", \"look\", \"text\", \"toggleable\", \"selected\", \"iconOnly\", \"type\", \"loadingText\"], outputs: [\"onBlur\", \"onFocus\", \"onClick\", \"selectedChange\", \"toggleableChange\", \"lookChange\", \"colorChange\", \"disabledChange\", \"loadingTextChange\"] }, { kind: \"ngmodule\", type: AXDecoratorModule }, { kind: \"component\", type: i3.AXDecoratorIconComponent, selector: \"ax-icon\", inputs: [\"icon\"] }, { kind: \"component\", type: i3.AXDecoratorGenericComponent, selector: \"ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay\" }, { kind: \"ngmodule\", type: AXLoadingModule }, { kind: \"component\", type: i4.AXLoadingComponent, selector: \"ax-loading\", inputs: [\"visible\", \"type\", \"context\"], outputs: [\"visibleChange\"] }, { kind: \"ngmodule\", type: AXFormatModule }, { kind: \"pipe\", type: i1.AsyncPipe, name: \"async\" }, { kind: \"pipe\", type: i5.AXFormatPipe, name: \"format\" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.1.3\", ngImport: i0, type: AXMCaptureScreenComponent, decorators: [{\n type: Component,\n args: [{ selector: 'axm-capture-screen', imports: [CommonModule, AXButtonModule, AXDecoratorModule, AXLoadingModule, AXFormatModule], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: \"<div\\r\\n class=\\\"ax-transition-all ax-flex ax-items-center ax-gap-4 ax-w-fit ax-bg-surface ax-border ax-border-lighter ax-shadow-md ax-rounded-full ax-fixed ax-bottom-4 ax-right-4 ax-z-10\\\"\\r\\n>\\r\\n <section\\r\\n class=\\\"ax-flex ax-items-center ax-justify-center ax-gap-4\\\"\\r\\n [ngClass]=\\\"{ 'screenshot-hidden': vm.captureMode() === 'video' }\\\"\\r\\n >\\r\\n <ax-button look=\\\"outline\\\" color=\\\"primary\\\" class=\\\"ax-lg ax-rounded-full\\\" (onClick)=\\\"vm.screenshotClick()\\\">\\r\\n @if (vm.loading()) {\\r\\n <ax-loading></ax-loading>\\r\\n } @else {\\r\\n <ax-prefix>\\r\\n <ax-icon class=\\\"fa-regular fa-camera\\\"></ax-icon>\\r\\n </ax-prefix>\\r\\n }\\r\\n </ax-button>\\r\\n <ax-button\\r\\n look=\\\"blank\\\"\\r\\n class=\\\"ax-lg ax-rounded-full\\\"\\r\\n [ngClass]=\\\"{ 'recordVideo-move': vm.captureMode() === 'video' }\\\"\\r\\n (onClick)=\\\"vm.changeCaptureMode()\\\"\\r\\n >\\r\\n <ax-prefix>\\r\\n <ax-icon class=\\\"fa-regular fa-video\\\"></ax-icon>\\r\\n </ax-prefix>\\r\\n </ax-button>\\r\\n </section>\\r\\n <section\\r\\n class=\\\"ax-hidden ax-items-center ax-justify-center ax-gap-8\\\"\\r\\n [ngClass]=\\\"{ '!ax-flex recordContainer-show': vm.captureMode() === 'video' }\\\"\\r\\n >\\r\\n <div class=\\\"ax-flex ax-items-center ax-justify-center ax-gap-2\\\">\\r\\n <ax-button look=\\\"outline\\\" color=\\\"danger\\\" class=\\\"ax-lg ax-rounded-full\\\" (onClick)=\\\"vm.recordScreenClick()\\\">\\r\\n <ax-prefix class=\\\"ax-relative\\\">\\r\\n @if (vm.isRecording()) {\\r\\n <ax-icon\\r\\n class=\\\"fa-solid fa-circle ax-absolute ax-animate-twPing ax-animate-infinite ax-animate-duration-[1500ms] ax-text-danger-400 ax-opacity-75\\\"\\r\\n ></ax-icon>\\r\\n }\\r\\n <ax-icon class=\\\"fa-solid fa-circle\\\"></ax-icon>\\r\\n </ax-prefix>\\r\\n </ax-button>\\r\\n <ax-button look=\\\"blank\\\" class=\\\"ax-sm\\\" (onClick)=\\\"vm.mutedClick()\\\">\\r\\n <ax-prefix\\r\\n ><ax-icon class=\\\"fa-solid {{ vm.muted() ? 'fa-microphone' : 'fa-microphone-slash' }}\\\"></ax-icon\\r\\n ></ax-prefix>\\r\\n </ax-button>\\r\\n </div>\\r\\n <div class=\\\"ax-flex ax-items-center ax-gap-2\\\">\\r\\n <p>\\r\\n {{ vm.timer().minute | format: 'number' : { zeroPadLength: 2 } | async }} :\\r\\n {{ vm.timer().second | format: 'number' : { zeroPadLength: 2 } | async }}\\r\\n </p>\\r\\n </div>\\r\\n </section>\\r\\n <ax-button look=\\\"blank\\\" class=\\\"ax-rounded-full\\\" (onClick)=\\\"vm.cancelClick()\\\">\\r\\n <ax-prefix><ax-icon class=\\\"fa-solid fa-xmark\\\"></ax-icon></ax-prefix>\\r\\n </ax-button>\\r\\n</div>\\r\\n\", styles: [\"@keyframes hideScreenshotContainer{0%{opacity:1;position:absolute}to{opacity:0;position:absolute;display:none}}@keyframes moveRecordButton{0%{transform:translate(0) rotate(0);opacity:1}to{transform:translate(-100px) rotate(360deg);opacity:0}}@keyframes showRecordContainer{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}.screenshot-hidden{animation:hideScreenshotContainer .2s forwards}.recordVideo-move{animation:moveRecordButton .5s forwards}.recordContainer-show{animation:showRecordContainer .5s forwards}\\n\"] }]\n }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FwdHVyZS1zY3JlZW4uY29tcG9uZW50LmpzIiwic291cmNlUm9v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+
{"version":3,"file":"acorex-modules-issue-management-capture-screen.component-C1USFJeP.mjs","sources":["../tmp-esm2022/issue-management/lib/components/capture-screen/components/capture-screen-component/capture-screen.component.js"],"sourcesContent":["import { AXButtonModule } from '@acorex/components/button';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXLoadingModule } from '@acorex/components/loading';\nimport { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, inject, ViewEncapsulation } from '@angular/core';\nimport { AXMCaptureScreenService } from '../../services/capture-screen.service';\nimport { AXFormatModule } from '@acorex/core/format';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/common\";\nimport * as i2 from \"@acorex/components/button\";\nimport * as i3 from \"@acorex/components/decorators\";\nimport * as i4 from \"@acorex/components/loading\";\nimport * as i5 from \"@acorex/core/format\";\nexport class AXMCaptureScreenComponent {\n constructor() {\n this.vm = inject(AXMCaptureScreenService);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.1.3\", ngImport: i0, type: AXMCaptureScreenComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"17.0.0\", version: \"20.1.3\", type: AXMCaptureScreenComponent, isStandalone: true, selector: \"axm-capture-screen\", ngImport: i0, template: \"<div\\r\\n class=\\\"ax-transition-all ax-flex ax-items-center ax-gap-4 ax-w-fit ax-bg-surface ax-border ax-border-lighter ax-shadow-md ax-rounded-full ax-fixed ax-bottom-4 ax-right-4 ax-z-10\\\"\\r\\n>\\r\\n <section\\r\\n class=\\\"ax-flex ax-items-center ax-justify-center ax-gap-4\\\"\\r\\n [ngClass]=\\\"{ 'screenshot-hidden': vm.captureMode() === 'video' }\\\"\\r\\n >\\r\\n <ax-button look=\\\"outline\\\" color=\\\"primary\\\" class=\\\"ax-lg ax-rounded-full\\\" (onClick)=\\\"vm.screenshotClick()\\\">\\r\\n @if (vm.loading()) {\\r\\n <ax-loading></ax-loading>\\r\\n } @else {\\r\\n <ax-prefix>\\r\\n <ax-icon class=\\\"fa-regular fa-camera\\\"></ax-icon>\\r\\n </ax-prefix>\\r\\n }\\r\\n </ax-button>\\r\\n <ax-button\\r\\n look=\\\"blank\\\"\\r\\n class=\\\"ax-lg ax-rounded-full\\\"\\r\\n [ngClass]=\\\"{ 'recordVideo-move': vm.captureMode() === 'video' }\\\"\\r\\n (onClick)=\\\"vm.changeCaptureMode()\\\"\\r\\n >\\r\\n <ax-prefix>\\r\\n <ax-icon class=\\\"fa-regular fa-video\\\"></ax-icon>\\r\\n </ax-prefix>\\r\\n </ax-button>\\r\\n </section>\\r\\n <section\\r\\n class=\\\"ax-hidden ax-items-center ax-justify-center ax-gap-8\\\"\\r\\n [ngClass]=\\\"{ '!ax-flex recordContainer-show': vm.captureMode() === 'video' }\\\"\\r\\n >\\r\\n <div class=\\\"ax-flex ax-items-center ax-justify-center ax-gap-2\\\">\\r\\n <ax-button look=\\\"outline\\\" color=\\\"danger\\\" class=\\\"ax-lg ax-rounded-full\\\" (onClick)=\\\"vm.recordScreenClick()\\\">\\r\\n <ax-prefix class=\\\"ax-relative\\\">\\r\\n @if (vm.isRecording()) {\\r\\n <ax-icon\\r\\n class=\\\"fa-solid fa-circle ax-absolute ax-animate-twPing ax-animate-infinite ax-animate-duration-[1500ms] ax-text-danger-400 ax-opacity-75\\\"\\r\\n ></ax-icon>\\r\\n }\\r\\n <ax-icon class=\\\"fa-solid fa-circle\\\"></ax-icon>\\r\\n </ax-prefix>\\r\\n </ax-button>\\r\\n <ax-button look=\\\"blank\\\" class=\\\"ax-sm\\\" (onClick)=\\\"vm.mutedClick()\\\">\\r\\n <ax-prefix\\r\\n ><ax-icon class=\\\"fa-solid {{ vm.muted() ? 'fa-microphone' : 'fa-microphone-slash' }}\\\"></ax-icon\\r\\n ></ax-prefix>\\r\\n </ax-button>\\r\\n </div>\\r\\n <div class=\\\"ax-flex ax-items-center ax-gap-2\\\">\\r\\n <p>\\r\\n {{ vm.timer().minute | format: 'number' : { zeroPadLength: 2 } | async }} :\\r\\n {{ vm.timer().second | format: 'number' : { zeroPadLength: 2 } | async }}\\r\\n </p>\\r\\n </div>\\r\\n </section>\\r\\n <ax-button look=\\\"blank\\\" class=\\\"ax-rounded-full\\\" (onClick)=\\\"vm.cancelClick()\\\">\\r\\n <ax-prefix><ax-icon class=\\\"fa-solid fa-xmark\\\"></ax-icon></ax-prefix>\\r\\n </ax-button>\\r\\n</div>\\r\\n\", styles: [\"@keyframes hideScreenshotContainer{0%{opacity:1;position:absolute}to{opacity:0;position:absolute;display:none}}@keyframes moveRecordButton{0%{transform:translate(0) rotate(0);opacity:1}to{transform:translate(-100px) rotate(360deg);opacity:0}}@keyframes showRecordContainer{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}.screenshot-hidden{animation:hideScreenshotContainer .2s forwards}.recordVideo-move{animation:moveRecordButton .5s forwards}.recordContainer-show{animation:showRecordContainer .5s forwards}\\n\"], dependencies: [{ kind: \"ngmodule\", type: CommonModule }, { kind: \"directive\", type: i1.NgClass, selector: \"[ngClass]\", inputs: [\"class\", \"ngClass\"] }, { kind: \"ngmodule\", type: AXButtonModule }, { kind: \"component\", type: i2.AXButtonComponent, selector: \"ax-button\", inputs: [\"disabled\", \"size\", \"tabIndex\", \"color\", \"look\", \"text\", \"toggleable\", \"selected\", \"iconOnly\", \"type\", \"loadingText\"], outputs: [\"onBlur\", \"onFocus\", \"onClick\", \"selectedChange\", \"toggleableChange\", \"lookChange\", \"colorChange\", \"disabledChange\", \"loadingTextChange\"] }, { kind: \"ngmodule\", type: AXDecoratorModule }, { kind: \"component\", type: i3.AXDecoratorIconComponent, selector: \"ax-icon\", inputs: [\"icon\"] }, { kind: \"component\", type: i3.AXDecoratorGenericComponent, selector: \"ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay\" }, { kind: \"ngmodule\", type: AXLoadingModule }, { kind: \"component\", type: i4.AXLoadingComponent, selector: \"ax-loading\", inputs: [\"visible\", \"type\", \"context\"], outputs: [\"visibleChange\"] }, { kind: \"ngmodule\", type: AXFormatModule }, { kind: \"pipe\", type: i1.AsyncPipe, name: \"async\" }, { kind: \"pipe\", type: i5.AXFormatPipe, name: \"format\" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.1.3\", ngImport: i0, type: AXMCaptureScreenComponent, decorators: [{\n type: Component,\n args: [{ selector: 'axm-capture-screen', imports: [CommonModule, AXButtonModule, AXDecoratorModule, AXLoadingModule, AXFormatModule], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: \"<div\\r\\n class=\\\"ax-transition-all ax-flex ax-items-center ax-gap-4 ax-w-fit ax-bg-surface ax-border ax-border-lighter ax-shadow-md ax-rounded-full ax-fixed ax-bottom-4 ax-right-4 ax-z-10\\\"\\r\\n>\\r\\n <section\\r\\n class=\\\"ax-flex ax-items-center ax-justify-center ax-gap-4\\\"\\r\\n [ngClass]=\\\"{ 'screenshot-hidden': vm.captureMode() === 'video' }\\\"\\r\\n >\\r\\n <ax-button look=\\\"outline\\\" color=\\\"primary\\\" class=\\\"ax-lg ax-rounded-full\\\" (onClick)=\\\"vm.screenshotClick()\\\">\\r\\n @if (vm.loading()) {\\r\\n <ax-loading></ax-loading>\\r\\n } @else {\\r\\n <ax-prefix>\\r\\n <ax-icon class=\\\"fa-regular fa-camera\\\"></ax-icon>\\r\\n </ax-prefix>\\r\\n }\\r\\n </ax-button>\\r\\n <ax-button\\r\\n look=\\\"blank\\\"\\r\\n class=\\\"ax-lg ax-rounded-full\\\"\\r\\n [ngClass]=\\\"{ 'recordVideo-move': vm.captureMode() === 'video' }\\\"\\r\\n (onClick)=\\\"vm.changeCaptureMode()\\\"\\r\\n >\\r\\n <ax-prefix>\\r\\n <ax-icon class=\\\"fa-regular fa-video\\\"></ax-icon>\\r\\n </ax-prefix>\\r\\n </ax-button>\\r\\n </section>\\r\\n <section\\r\\n class=\\\"ax-hidden ax-items-center ax-justify-center ax-gap-8\\\"\\r\\n [ngClass]=\\\"{ '!ax-flex recordContainer-show': vm.captureMode() === 'video' }\\\"\\r\\n >\\r\\n <div class=\\\"ax-flex ax-items-center ax-justify-center ax-gap-2\\\">\\r\\n <ax-button look=\\\"outline\\\" color=\\\"danger\\\" class=\\\"ax-lg ax-rounded-full\\\" (onClick)=\\\"vm.recordScreenClick()\\\">\\r\\n <ax-prefix class=\\\"ax-relative\\\">\\r\\n @if (vm.isRecording()) {\\r\\n <ax-icon\\r\\n class=\\\"fa-solid fa-circle ax-absolute ax-animate-twPing ax-animate-infinite ax-animate-duration-[1500ms] ax-text-danger-400 ax-opacity-75\\\"\\r\\n ></ax-icon>\\r\\n }\\r\\n <ax-icon class=\\\"fa-solid fa-circle\\\"></ax-icon>\\r\\n </ax-prefix>\\r\\n </ax-button>\\r\\n <ax-button look=\\\"blank\\\" class=\\\"ax-sm\\\" (onClick)=\\\"vm.mutedClick()\\\">\\r\\n <ax-prefix\\r\\n ><ax-icon class=\\\"fa-solid {{ vm.muted() ? 'fa-microphone' : 'fa-microphone-slash' }}\\\"></ax-icon\\r\\n ></ax-prefix>\\r\\n </ax-button>\\r\\n </div>\\r\\n <div class=\\\"ax-flex ax-items-center ax-gap-2\\\">\\r\\n <p>\\r\\n {{ vm.timer().minute | format: 'number' : { zeroPadLength: 2 } | async }} :\\r\\n {{ vm.timer().second | format: 'number' : { zeroPadLength: 2 } | async }}\\r\\n </p>\\r\\n </div>\\r\\n </section>\\r\\n <ax-button look=\\\"blank\\\" class=\\\"ax-rounded-full\\\" (onClick)=\\\"vm.cancelClick()\\\">\\r\\n <ax-prefix><ax-icon class=\\\"fa-solid fa-xmark\\\"></ax-icon></ax-prefix>\\r\\n </ax-button>\\r\\n</div>\\r\\n\", styles: [\"@keyframes hideScreenshotContainer{0%{opacity:1;position:absolute}to{opacity:0;position:absolute;display:none}}@keyframes moveRecordButton{0%{transform:translate(0) rotate(0);opacity:1}to{transform:translate(-100px) rotate(360deg);opacity:0}}@keyframes showRecordContainer{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}.screenshot-hidden{animation:hideScreenshotContainer .2s forwards}.recordVideo-move{animation:moveRecordButton .5s forwards}.recordContainer-show{animation:showRecordContainer .5s forwards}\\n\"] }]\n }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FwdHVyZS1zY3JlZW4uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9tb2R1bGVzL2lzc3VlLW1hbmFnZW1lbnQvc3JjL2xpYi9jb21wb25lbnRzL2NhcHR1cmUtc2NyZWVuL2NvbXBvbmVudHMvY2FwdHVyZS1zY3JlZW4tY29tcG9uZW50L2NhcHR1cmUtc2NyZWVuLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvbW9kdWxlcy9pc3N1ZS1tYW5hZ2VtZW50L3NyYy9saWIvY29tcG9uZW50cy9jYXB0dXJlLXNjcmVlbi9jb21wb25lbnRzL2NhcHR1cmUtc2NyZWVuLWNvbXBvbmVudC9jYXB0dXJlLXNjcmVlbi5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sMkJBQTJCLENBQUM7QUFDM0QsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sK0JBQStCLENBQUM7QUFDbEUsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLDRCQUE0QixDQUFDO0FBQzdELE9BQU8sRUFBRSxZQUFZLEVBQ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,EAAE,EAAE,IAAI,EAAE,yBAAyB,EAAE,UAAU,EAAE,CAAC;AACnI,YAAY,IAAI,EAAE,SAAS;AAC3B,YAAY,IAAI,EAAE,CAAC,EAAE,QAAQ,EAAE,oBAAoB,EAAE,OAAO,EAAE,CAAC,YAAY,EAAE,cAAc,EAAE,iBAAiB,EAAE,eAAe,EAAE,cAAc,CAAC,EAAE,aAAa,EAAE,iBAAiB,CAAC,IAAI,EAAE,eAAe,EAAE,uBAAuB,CAAC,MAAM,EAAE,QAAQ,EAAE,ujFAAujF,EAAE,MAAM,EAAE,CAAC,ohBAAohB,CAAC,EAAE;AAC70G,SAAS,CAAC,EAAE,CAAC;;;;"}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
export { g as AXMEntityProvider, j as AXMIssueManagementModule, a as AXMIssueTypeService, b as AXMIssueTypeServiceImpl, h as AXMLogCaptureService, k as AXMMenuProvider, c as AXMMyReportedIssuesService, d as AXMMyReportedIssuesServiceImpl, l as AXMPermissionsKeys, e as AXMReportedIssuesService, f as AXMReportedIssuesServiceImpl, n as AXMSettingProvider, R as RootConfig, i as issueTypeEntityFactory, m as myReportedIssuesEntityFactory, r as reportedIssuesEntityFactory } from './acorex-modules-issue-management-acorex-modules-issue-management-
|
1
|
+
export { g as AXMEntityProvider, j as AXMIssueManagementModule, a as AXMIssueTypeService, b as AXMIssueTypeServiceImpl, h as AXMLogCaptureService, k as AXMMenuProvider, c as AXMMyReportedIssuesService, d as AXMMyReportedIssuesServiceImpl, l as AXMPermissionsKeys, e as AXMReportedIssuesService, f as AXMReportedIssuesServiceImpl, n as AXMSettingProvider, R as RootConfig, i as issueTypeEntityFactory, m as myReportedIssuesEntityFactory, r as reportedIssuesEntityFactory } from './acorex-modules-issue-management-acorex-modules-issue-management-ITP4K-tZ.mjs';
|
2
2
|
//# sourceMappingURL=acorex-modules-issue-management.mjs.map
|
@@ -821,6 +821,9 @@ class AXMNotificationEntityServiceImpl extends AXMNotificationEntityService {
|
|
821
821
|
markAsRead(payload) {
|
822
822
|
throw new Error('Method not implemented.');
|
823
823
|
}
|
824
|
+
markAllAsRead() {
|
825
|
+
throw new Error('Method not implemented.');
|
826
|
+
}
|
824
827
|
create(payload) {
|
825
828
|
throw new Error('Method not implemented.');
|
826
829
|
}
|
@@ -1445,6 +1448,85 @@ class AXMNotificationManagmentModuleMenuProvider {
|
|
1445
1448
|
}
|
1446
1449
|
}
|
1447
1450
|
|
1451
|
+
//#region ---- Core Imports ----
|
1452
|
+
/**
|
1453
|
+
* Service to display OS-level notifications using the browser's Notification API.
|
1454
|
+
*/
|
1455
|
+
class AXMOsNotificationService {
|
1456
|
+
constructor() {
|
1457
|
+
this.isSupported = signal(false, ...(ngDevMode ? [{ debugName: "isSupported" }] : []));
|
1458
|
+
this.permission = signal(false, ...(ngDevMode ? [{ debugName: "permission" }] : []));
|
1459
|
+
this.isSupported.set('Notification' in window);
|
1460
|
+
}
|
1461
|
+
/**
|
1462
|
+
* Requests permission from the user to display desktop notifications.
|
1463
|
+
* @returns A promise that resolves to true if permission is granted, false otherwise.
|
1464
|
+
*/
|
1465
|
+
async requestPermission() {
|
1466
|
+
if (!this.isSupported()) {
|
1467
|
+
console.warn('This browser does not support desktop notifications.');
|
1468
|
+
return false;
|
1469
|
+
}
|
1470
|
+
switch (Notification.permission) {
|
1471
|
+
case 'granted':
|
1472
|
+
this.permission.set(true);
|
1473
|
+
return true;
|
1474
|
+
case 'default':
|
1475
|
+
const permission = await Notification.requestPermission();
|
1476
|
+
this.permission.set(permission === 'granted');
|
1477
|
+
return this.permission();
|
1478
|
+
default:
|
1479
|
+
this.permission.set(false);
|
1480
|
+
return false;
|
1481
|
+
}
|
1482
|
+
}
|
1483
|
+
/**
|
1484
|
+
* Shows a desktop notification.
|
1485
|
+
* This method should be called after ensuring permission has been granted via requestPermission().
|
1486
|
+
*
|
1487
|
+
* @param title The title of the notification.
|
1488
|
+
* @param options Optional notification options including an onClick handler and window focusing.
|
1489
|
+
* @returns The Notification object if displayed, otherwise null.
|
1490
|
+
*/
|
1491
|
+
show(title, options) {
|
1492
|
+
if (!this.isSupported()) {
|
1493
|
+
console.warn('This browser does not support desktop notifications.');
|
1494
|
+
return null;
|
1495
|
+
}
|
1496
|
+
if (!this.permission()) {
|
1497
|
+
console.warn(`Notification permission is ${Notification.permission}. Call requestPermission() first.`);
|
1498
|
+
return null;
|
1499
|
+
}
|
1500
|
+
const notification = new Notification(title, options);
|
1501
|
+
if (options?.onClick) {
|
1502
|
+
notification.onclick = () => {
|
1503
|
+
if (options.activeWindow) {
|
1504
|
+
window.focus();
|
1505
|
+
}
|
1506
|
+
options.onClick();
|
1507
|
+
};
|
1508
|
+
}
|
1509
|
+
return notification;
|
1510
|
+
}
|
1511
|
+
/**
|
1512
|
+
* Dismisses all active notifications or a specific one.
|
1513
|
+
* @param notification Optional. Pass a specific notification to close it; otherwise closes all.
|
1514
|
+
*/
|
1515
|
+
dismiss(notification) {
|
1516
|
+
if (notification) {
|
1517
|
+
notification.close();
|
1518
|
+
}
|
1519
|
+
}
|
1520
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMOsNotificationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
1521
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMOsNotificationService, providedIn: 'root' }); }
|
1522
|
+
}
|
1523
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMOsNotificationService, decorators: [{
|
1524
|
+
type: Injectable,
|
1525
|
+
args: [{
|
1526
|
+
providedIn: 'root',
|
1527
|
+
}]
|
1528
|
+
}], ctorParameters: () => [] });
|
1529
|
+
|
1448
1530
|
/**
|
1449
1531
|
* Signal store that provides a reactive interface for notification-related operations
|
1450
1532
|
* Acts as a layer between notification components and the entity service
|
@@ -1453,6 +1535,7 @@ class AXMNotificationConnectorService {
|
|
1453
1535
|
// Effects
|
1454
1536
|
constructor() {
|
1455
1537
|
this.notificationService = inject(AXMNotificationEntityService);
|
1538
|
+
this.osNotificationService = inject(AXMOsNotificationService);
|
1456
1539
|
// State signals
|
1457
1540
|
this.isLoading = signal(false, ...(ngDevMode ? [{ debugName: "isLoading" }] : []));
|
1458
1541
|
this.error = signal(null, ...(ngDevMode ? [{ debugName: "error" }] : []));
|
@@ -1526,13 +1609,36 @@ class AXMNotificationConnectorService {
|
|
1526
1609
|
this.isLoading.set(false);
|
1527
1610
|
}
|
1528
1611
|
}
|
1612
|
+
async markAllAsRead() {
|
1613
|
+
try {
|
1614
|
+
this.isLoading.set(true);
|
1615
|
+
this.error.set(null);
|
1616
|
+
await this.notificationService.markAllAsRead();
|
1617
|
+
this.notifications.update((notifications) => notifications.map((notification) => ({ ...notification, readAt: new Date() })));
|
1618
|
+
}
|
1619
|
+
catch (err) {
|
1620
|
+
this.error.set(err instanceof Error ? err.message : 'Failed to mark all notifications as read');
|
1621
|
+
}
|
1622
|
+
finally {
|
1623
|
+
this.isLoading.set(false);
|
1624
|
+
}
|
1625
|
+
}
|
1529
1626
|
/**
|
1530
1627
|
* Create a new notification
|
1531
1628
|
*/
|
1532
|
-
async create(payload) {
|
1629
|
+
async create(payload, options) {
|
1533
1630
|
try {
|
1534
1631
|
this.isLoading.set(true);
|
1535
1632
|
this.error.set(null);
|
1633
|
+
//send os notification
|
1634
|
+
const isPermissionGranted = await this.osNotificationService.requestPermission();
|
1635
|
+
if (payload && isPermissionGranted) {
|
1636
|
+
this.osNotificationService.show(payload.title || 'Notification', {
|
1637
|
+
body: payload.body || 'No body',
|
1638
|
+
icon: payload.user.image || '',
|
1639
|
+
...options,
|
1640
|
+
});
|
1641
|
+
}
|
1536
1642
|
await this.notificationService.create(payload);
|
1537
1643
|
// Refresh list after creating a notification
|
1538
1644
|
await this.getList();
|
@@ -1777,7 +1883,7 @@ class AXMAdminNotificationPanelComponent {
|
|
1777
1883
|
*/
|
1778
1884
|
async markAllAsRead() {
|
1779
1885
|
try {
|
1780
|
-
await this.notificationConnector.
|
1886
|
+
await this.notificationConnector.markAllAsRead();
|
1781
1887
|
}
|
1782
1888
|
catch (error) {
|
1783
1889
|
console.error('Failed to mark all notifications as read:', error);
|
@@ -2965,5 +3071,5 @@ async function notificationLogEntityFactory(injector) {
|
|
2965
3071
|
* Generated bundle index. Do not edit.
|
2966
3072
|
*/
|
2967
3073
|
|
2968
|
-
export { AXMNotificationEntityService, AXMNotificationEntityServiceImpl, AXMNotificationManagementChannelEntityService, AXMNotificationManagementChannelEntityServiceImpl, AXMNotificationManagementModule, AXMNotificationManagementTemplateEntityModule, AXMNotificationManagementTemplateEntityService, AXMNotificationManagementTemplateEntityServiceImpl, AXMNotificationManagmentModuleMenuProvider, AXMSettingProvider, AXPMyNotificationDashboardWidget, AXPNotificationWidgetViewComponent, RootConfig, myNotificationEntityFactory, notificationChannelEntityFactory, notificationEntityFactory, notificationLogEntityFactory, notificationTemplateEntityFactory };
|
3074
|
+
export { AXMNotificationConnectorService, AXMNotificationEntityService, AXMNotificationEntityServiceImpl, AXMNotificationManagementChannelEntityService, AXMNotificationManagementChannelEntityServiceImpl, AXMNotificationManagementModule, AXMNotificationManagementTemplateEntityModule, AXMNotificationManagementTemplateEntityService, AXMNotificationManagementTemplateEntityServiceImpl, AXMNotificationManagmentModuleMenuProvider, AXMOsNotificationService, AXMSettingProvider, AXPMyNotificationDashboardWidget, AXPNotificationWidgetViewComponent, RootConfig, myNotificationEntityFactory, notificationChannelEntityFactory, notificationEntityFactory, notificationLogEntityFactory, notificationTemplateEntityFactory };
|
2969
3075
|
//# sourceMappingURL=acorex-modules-notification-management.mjs.map
|