@acorex/modules 20.7.9 → 20.7.11
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/assessment-management/index.d.ts +266 -1
- package/common/index.d.ts +1 -1
- package/fesm2022/{acorex-modules-assessment-management-acorex-modules-assessment-management-5peOXPDz.mjs → acorex-modules-assessment-management-acorex-modules-assessment-management-ClgGS32i.mjs} +846 -24
- package/fesm2022/acorex-modules-assessment-management-acorex-modules-assessment-management-ClgGS32i.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-answers-viewer-widget-column.component-D6KO7up6.mjs → acorex-modules-assessment-management-answers-viewer-widget-column.component-UmXUT6Xn.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-answers-viewer-widget-column.component-D6KO7up6.mjs.map → acorex-modules-assessment-management-answers-viewer-widget-column.component-UmXUT6Xn.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-answers-viewer-widget-edit.component-C4NilFjL.mjs → acorex-modules-assessment-management-answers-viewer-widget-edit.component-vVfXtden.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-answers-viewer-widget-edit.component-C4NilFjL.mjs.map → acorex-modules-assessment-management-answers-viewer-widget-edit.component-vVfXtden.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-answers-viewer-widget-view.component-DtHvmJQD.mjs → acorex-modules-assessment-management-answers-viewer-widget-view.component-C75zxKgV.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-answers-viewer-widget-view.component-DtHvmJQD.mjs.map → acorex-modules-assessment-management-answers-viewer-widget-view.component-C75zxKgV.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-assessment-case.entity-BDRkvtin.mjs → acorex-modules-assessment-management-assessment-case.entity-CjhC5YAF.mjs} +3 -2
- package/fesm2022/acorex-modules-assessment-management-assessment-case.entity-CjhC5YAF.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-assessment-session.entity-MLP74IAt.mjs → acorex-modules-assessment-management-assessment-session.entity-B_IDiEzp.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-assessment-session.entity-MLP74IAt.mjs.map → acorex-modules-assessment-management-assessment-session.entity-B_IDiEzp.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-fill-assessment-session.command-wtCw3l5I.mjs → acorex-modules-assessment-management-fill-assessment-session.command-zT5u3h_s.mjs} +40 -6
- package/fesm2022/acorex-modules-assessment-management-fill-assessment-session.command-zT5u3h_s.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-preview-questionnaire.command-Cm7cniSG.mjs → acorex-modules-assessment-management-preview-questionnaire.command-BIXy9eut.mjs} +4 -4
- package/fesm2022/{acorex-modules-assessment-management-preview-questionnaire.command-Cm7cniSG.mjs.map → acorex-modules-assessment-management-preview-questionnaire.command-BIXy9eut.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-question-bank-item.entity-BIGQMXEc.mjs → acorex-modules-assessment-management-question-bank-item.entity-BWYLXvCp.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-question-bank-item.entity-BIGQMXEc.mjs.map → acorex-modules-assessment-management-question-bank-item.entity-BWYLXvCp.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-questionnaire-builder-edit.component-BxN8kxpu.mjs → acorex-modules-assessment-management-questionnaire-builder-edit.component-3wVcKQGE.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-questionnaire-builder-edit.component-BxN8kxpu.mjs.map → acorex-modules-assessment-management-questionnaire-builder-edit.component-3wVcKQGE.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-questionnaire-builder-view.component-CHA00XC0.mjs → acorex-modules-assessment-management-questionnaire-builder-view.component-meuUo7Vx.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-questionnaire-builder-view.component-CHA00XC0.mjs.map → acorex-modules-assessment-management-questionnaire-builder-view.component-meuUo7Vx.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-questionnaire-builder.component-C-AX1MiC.mjs → acorex-modules-assessment-management-questionnaire-builder.component-CGgUUkOY.mjs} +3 -3
- package/fesm2022/{acorex-modules-assessment-management-questionnaire-builder.component-C-AX1MiC.mjs.map → acorex-modules-assessment-management-questionnaire-builder.component-CGgUUkOY.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-questionnaire-viewer-popup.component-BY8YfBf1.mjs → acorex-modules-assessment-management-questionnaire-viewer-popup.component-kVnWtedV.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-questionnaire-viewer-popup.component-BY8YfBf1.mjs.map → acorex-modules-assessment-management-questionnaire-viewer-popup.component-kVnWtedV.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-questionnaire-viewer.service-ktXkCzVb.mjs → acorex-modules-assessment-management-questionnaire-viewer.service-D3k3J93r.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-questionnaire-viewer.service-ktXkCzVb.mjs.map → acorex-modules-assessment-management-questionnaire-viewer.service-D3k3J93r.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-questionnaire.entity-C2soGbpn.mjs → acorex-modules-assessment-management-questionnaire.entity-C8sX0d_p.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-questionnaire.entity-C2soGbpn.mjs.map → acorex-modules-assessment-management-questionnaire.entity-C8sX0d_p.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-view-session-answers.command-RvdyXryB.mjs → acorex-modules-assessment-management-view-session-answers.command-Czq7cj9R.mjs} +3 -3
- package/fesm2022/{acorex-modules-assessment-management-view-session-answers.command-RvdyXryB.mjs.map → acorex-modules-assessment-management-view-session-answers.command-Czq7cj9R.mjs.map} +1 -1
- package/fesm2022/acorex-modules-assessment-management.mjs +1 -1
- package/fesm2022/{acorex-modules-auth-acorex-modules-auth-Dg9sg98-.mjs → acorex-modules-auth-acorex-modules-auth-IIyirCLb.mjs} +14 -14
- package/fesm2022/acorex-modules-auth-acorex-modules-auth-IIyirCLb.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-app-chooser.component-Dr8EZ7ZX.mjs → acorex-modules-auth-app-chooser.component-BGLW8Qtn.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-app-chooser.component-Dr8EZ7ZX.mjs.map → acorex-modules-auth-app-chooser.component-BGLW8Qtn.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-login.module-C7Rt6tLk.mjs → acorex-modules-auth-login.module-uUQkWCgY.mjs} +4 -4
- package/fesm2022/{acorex-modules-auth-login.module-C7Rt6tLk.mjs.map → acorex-modules-auth-login.module-uUQkWCgY.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-master.layout-CgD5kk65.mjs → acorex-modules-auth-master.layout-XkwT3Slv.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-master.layout-CgD5kk65.mjs.map → acorex-modules-auth-master.layout-XkwT3Slv.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-oauth-callback.component-CuGIGBVO.mjs → acorex-modules-auth-oauth-callback.component-C0p17V1b.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-oauth-callback.component-CuGIGBVO.mjs.map → acorex-modules-auth-oauth-callback.component-C0p17V1b.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-password.component-DmohsIxt.mjs → acorex-modules-auth-password.component-CaH-OaIv.mjs} +4 -4
- package/fesm2022/acorex-modules-auth-password.component-CaH-OaIv.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-password.component-C6TCAUm4.mjs → acorex-modules-auth-password.component-DDFOsrkt.mjs} +3 -3
- package/fesm2022/acorex-modules-auth-password.component-DDFOsrkt.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-routes-C3162bwa.mjs → acorex-modules-auth-routes-Cik9Y3RJ.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-routes-C3162bwa.mjs.map → acorex-modules-auth-routes-Cik9Y3RJ.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-tenant-chooser.component-Ce-n3WC9.mjs → acorex-modules-auth-tenant-chooser.component-B9VJd12P.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-tenant-chooser.component-Ce-n3WC9.mjs.map → acorex-modules-auth-tenant-chooser.component-B9VJd12P.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-two-factor.module-B2nPzX-3.mjs → acorex-modules-auth-two-factor.module-D1TKyIXZ.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-two-factor.module-B2nPzX-3.mjs.map → acorex-modules-auth-two-factor.module-D1TKyIXZ.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-user-sessions.component-wVKJ2KIm.mjs → acorex-modules-auth-user-sessions.component-MZJramlf.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-user-sessions.component-wVKJ2KIm.mjs.map → acorex-modules-auth-user-sessions.component-MZJramlf.mjs.map} +1 -1
- package/fesm2022/acorex-modules-auth.mjs +1 -1
- package/fesm2022/acorex-modules-business-core.mjs +1 -1
- package/fesm2022/acorex-modules-business-core.mjs.map +1 -1
- package/fesm2022/acorex-modules-calendar-management-datasource.provider-C_iazC89.mjs +95 -0
- package/fesm2022/acorex-modules-calendar-management-datasource.provider-C_iazC89.mjs.map +1 -0
- package/fesm2022/acorex-modules-calendar-management.mjs +68 -33
- package/fesm2022/acorex-modules-calendar-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-common.mjs +25 -17
- package/fesm2022/acorex-modules-common.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 +387 -12
- package/fesm2022/acorex-modules-data-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-document-management-link-dialog.component-Civ7UZb8.mjs → acorex-modules-document-management-link-dialog.component-F1DkJ4Ns.mjs} +2 -2
- package/fesm2022/acorex-modules-document-management-link-dialog.component-F1DkJ4Ns.mjs.map +1 -0
- package/fesm2022/{acorex-modules-document-management-share-dialog.component-BwUZShJg.mjs → acorex-modules-document-management-share-dialog.component-BV2JJmED.mjs} +2 -2
- package/fesm2022/acorex-modules-document-management-share-dialog.component-BV2JJmED.mjs.map +1 -0
- package/fesm2022/{acorex-modules-document-management-share-email-dialog.component-BMiCmb1k.mjs → acorex-modules-document-management-share-email-dialog.component-Dn-j0ETn.mjs} +2 -2
- package/fesm2022/acorex-modules-document-management-share-email-dialog.component-Dn-j0ETn.mjs.map +1 -0
- package/fesm2022/acorex-modules-document-management.mjs +3 -3
- package/fesm2022/acorex-modules-financial-core-data-source.provider-Do4rvgy4.mjs +73 -0
- package/fesm2022/acorex-modules-financial-core-data-source.provider-Do4rvgy4.mjs.map +1 -0
- package/fesm2022/acorex-modules-financial-core.mjs +4 -2
- package/fesm2022/acorex-modules-financial-core.mjs.map +1 -1
- package/fesm2022/acorex-modules-form-template-management.mjs +37 -405
- package/fesm2022/acorex-modules-form-template-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-help-desk-acorex-modules-help-desk-CydmGF5Q.mjs → acorex-modules-help-desk-acorex-modules-help-desk-Clea9Hhv.mjs} +3 -3
- package/fesm2022/{acorex-modules-help-desk-acorex-modules-help-desk-CydmGF5Q.mjs.map → acorex-modules-help-desk-acorex-modules-help-desk-Clea9Hhv.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-help-desk-capture-screen.component-Bsq1FJId.mjs → acorex-modules-help-desk-capture-screen.component-CiQv__MW.mjs} +2 -2
- package/fesm2022/{acorex-modules-help-desk-capture-screen.component-Bsq1FJId.mjs.map → acorex-modules-help-desk-capture-screen.component-CiQv__MW.mjs.map} +1 -1
- package/fesm2022/acorex-modules-help-desk.mjs +1 -1
- package/fesm2022/acorex-modules-locale-management.mjs +13 -355
- package/fesm2022/acorex-modules-locale-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-location-management.mjs +140 -6
- package/fesm2022/acorex-modules-location-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-measurement-core.mjs +1 -1
- package/fesm2022/acorex-modules-measurement-core.mjs.map +1 -1
- package/fesm2022/acorex-modules-notification-management.mjs +1 -1
- package/fesm2022/acorex-modules-notification-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-platform-management-acorex-modules-platform-management-DVkP3JKC.mjs → acorex-modules-platform-management-acorex-modules-platform-management-BAIx0BJe.mjs} +3 -3
- package/fesm2022/{acorex-modules-platform-management-acorex-modules-platform-management-DVkP3JKC.mjs.map → acorex-modules-platform-management-acorex-modules-platform-management-BAIx0BJe.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-platform-management-menu-list.component-C_mdsuRc.mjs → acorex-modules-platform-management-menu-list.component-BxGLun0f.mjs} +2 -2
- package/fesm2022/{acorex-modules-platform-management-menu-list.component-C_mdsuRc.mjs.map → acorex-modules-platform-management-menu-list.component-BxGLun0f.mjs.map} +1 -1
- package/fesm2022/acorex-modules-platform-management.mjs +1 -1
- package/fesm2022/{acorex-modules-product-catalog-product.entity-CuTXUcc1.mjs → acorex-modules-product-catalog-product.entity-BXDh4Wlu.mjs} +10 -2
- package/fesm2022/acorex-modules-product-catalog-product.entity-BXDh4Wlu.mjs.map +1 -0
- package/fesm2022/acorex-modules-product-catalog.mjs +1 -1
- package/fesm2022/{acorex-modules-task-management-task-board.page-BUp5SQ7b.mjs → acorex-modules-task-management-task-board.page-Cgxdk78j.mjs} +3 -3
- package/fesm2022/acorex-modules-task-management-task-board.page-Cgxdk78j.mjs.map +1 -0
- package/fesm2022/acorex-modules-task-management.mjs +1 -1
- package/form-template-management/index.d.ts +2 -12
- package/locale-management/index.d.ts +3 -23
- package/package.json +2 -2
- package/fesm2022/acorex-modules-assessment-management-acorex-modules-assessment-management-5peOXPDz.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-assessment-case.entity-BDRkvtin.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-fill-assessment-session.command-wtCw3l5I.mjs.map +0 -1
- package/fesm2022/acorex-modules-auth-acorex-modules-auth-Dg9sg98-.mjs.map +0 -1
- package/fesm2022/acorex-modules-auth-password.component-C6TCAUm4.mjs.map +0 -1
- package/fesm2022/acorex-modules-auth-password.component-DmohsIxt.mjs.map +0 -1
- package/fesm2022/acorex-modules-document-management-link-dialog.component-Civ7UZb8.mjs.map +0 -1
- package/fesm2022/acorex-modules-document-management-share-dialog.component-BwUZShJg.mjs.map +0 -1
- package/fesm2022/acorex-modules-document-management-share-email-dialog.component-BMiCmb1k.mjs.map +0 -1
- package/fesm2022/acorex-modules-product-catalog-product.entity-CuTXUcc1.mjs.map +0 -1
- package/fesm2022/acorex-modules-task-management-task-board.page-BUp5SQ7b.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-help-desk-acorex-modules-help-desk-
|
|
11
|
+
import { A as AXMCaptureScreenService } from './acorex-modules-help-desk-acorex-modules-help-desk-Clea9Hhv.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.3.16", ngImpo
|
|
|
25
25
|
}] });
|
|
26
26
|
|
|
27
27
|
export { AXMCaptureScreenComponent };
|
|
28
|
-
//# sourceMappingURL=acorex-modules-help-desk-capture-screen.component-
|
|
28
|
+
//# sourceMappingURL=acorex-modules-help-desk-capture-screen.component-CiQv__MW.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-modules-help-desk-capture-screen.component-Bsq1FJId.mjs","sources":["../tmp-esm2022/help-desk/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.3.16\", ngImport: i0, type: AXMCaptureScreenComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"17.0.0\", version: \"20.3.16\", type: AXMCaptureScreenComponent, isStandalone: true, selector: \"axm-capture-screen\", ngImport: i0, template: \"<div\\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\\\"\\n>\\n <section\\n class=\\\"ax-flex ax-items-center ax-justify-center ax-gap-4\\\"\\n [ngClass]=\\\"{ 'screenshot-hidden': vm.captureMode() === 'video' }\\\"\\n >\\n <ax-button look=\\\"outline\\\" color=\\\"primary\\\" class=\\\"ax-lg ax-rounded-full\\\" (onClick)=\\\"vm.screenshotClick()\\\">\\n @if (vm.loading()) {\\n <ax-loading></ax-loading>\\n } @else {\\n <ax-prefix>\\n <ax-icon class=\\\"fa-regular fa-camera\\\"></ax-icon>\\n </ax-prefix>\\n }\\n </ax-button>\\n <ax-button\\n look=\\\"blank\\\"\\n class=\\\"ax-lg ax-rounded-full\\\"\\n [ngClass]=\\\"{ 'recordVideo-move': vm.captureMode() === 'video' }\\\"\\n (onClick)=\\\"vm.changeCaptureMode()\\\"\\n >\\n <ax-prefix>\\n <ax-icon class=\\\"fa-regular fa-video\\\"></ax-icon>\\n </ax-prefix>\\n </ax-button>\\n </section>\\n <section\\n class=\\\"ax-hidden ax-items-center ax-justify-center ax-gap-8\\\"\\n [ngClass]=\\\"{ '!ax-flex recordContainer-show': vm.captureMode() === 'video' }\\\"\\n >\\n <div class=\\\"ax-flex ax-items-center ax-justify-center ax-gap-2\\\">\\n <ax-button look=\\\"outline\\\" color=\\\"danger\\\" class=\\\"ax-lg ax-rounded-full\\\" (onClick)=\\\"vm.recordScreenClick()\\\">\\n <ax-prefix class=\\\"ax-relative\\\">\\n @if (vm.isRecording()) {\\n <ax-icon\\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\\\"\\n ></ax-icon>\\n }\\n <ax-icon class=\\\"fa-solid fa-circle\\\"></ax-icon>\\n </ax-prefix>\\n </ax-button>\\n <ax-button look=\\\"blank\\\" class=\\\"ax-sm\\\" (onClick)=\\\"vm.mutedClick()\\\">\\n <ax-prefix\\n ><ax-icon class=\\\"fa-solid {{ vm.muted() ? 'fa-microphone' : 'fa-microphone-slash' }}\\\"></ax-icon\\n ></ax-prefix>\\n </ax-button>\\n </div>\\n <div class=\\\"ax-flex ax-items-center ax-gap-2\\\">\\n <p>\\n {{ vm.timer().minute | format: 'number' : { zeroPadLength: 2 } | async }} :\\n {{ vm.timer().second | format: 'number' : { zeroPadLength: 2 } | async }}\\n </p>\\n </div>\\n </section>\\n <ax-button look=\\\"blank\\\" class=\\\"ax-rounded-full\\\" (onClick)=\\\"vm.cancelClick()\\\">\\n <ax-prefix><ax-icon class=\\\"fa-solid fa-xmark\\\"></ax-icon></ax-prefix>\\n </ax-button>\\n</div>\\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.3.16\", 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\\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\\\"\\n>\\n <section\\n class=\\\"ax-flex ax-items-center ax-justify-center ax-gap-4\\\"\\n [ngClass]=\\\"{ 'screenshot-hidden': vm.captureMode() === 'video' }\\\"\\n >\\n <ax-button look=\\\"outline\\\" color=\\\"primary\\\" class=\\\"ax-lg ax-rounded-full\\\" (onClick)=\\\"vm.screenshotClick()\\\">\\n @if (vm.loading()) {\\n <ax-loading></ax-loading>\\n } @else {\\n <ax-prefix>\\n <ax-icon class=\\\"fa-regular fa-camera\\\"></ax-icon>\\n </ax-prefix>\\n }\\n </ax-button>\\n <ax-button\\n look=\\\"blank\\\"\\n class=\\\"ax-lg ax-rounded-full\\\"\\n [ngClass]=\\\"{ 'recordVideo-move': vm.captureMode() === 'video' }\\\"\\n (onClick)=\\\"vm.changeCaptureMode()\\\"\\n >\\n <ax-prefix>\\n <ax-icon class=\\\"fa-regular fa-video\\\"></ax-icon>\\n </ax-prefix>\\n </ax-button>\\n </section>\\n <section\\n class=\\\"ax-hidden ax-items-center ax-justify-center ax-gap-8\\\"\\n [ngClass]=\\\"{ '!ax-flex recordContainer-show': vm.captureMode() === 'video' }\\\"\\n >\\n <div class=\\\"ax-flex ax-items-center ax-justify-center ax-gap-2\\\">\\n <ax-button look=\\\"outline\\\" color=\\\"danger\\\" class=\\\"ax-lg ax-rounded-full\\\" (onClick)=\\\"vm.recordScreenClick()\\\">\\n <ax-prefix class=\\\"ax-relative\\\">\\n @if (vm.isRecording()) {\\n <ax-icon\\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\\\"\\n ></ax-icon>\\n }\\n <ax-icon class=\\\"fa-solid fa-circle\\\"></ax-icon>\\n </ax-prefix>\\n </ax-button>\\n <ax-button look=\\\"blank\\\" class=\\\"ax-sm\\\" (onClick)=\\\"vm.mutedClick()\\\">\\n <ax-prefix\\n ><ax-icon class=\\\"fa-solid {{ vm.muted() ? 'fa-microphone' : 'fa-microphone-slash' }}\\\"></ax-icon\\n ></ax-prefix>\\n </ax-button>\\n </div>\\n <div class=\\\"ax-flex ax-items-center ax-gap-2\\\">\\n <p>\\n {{ vm.timer().minute | format: 'number' : { zeroPadLength: 2 } | async }} :\\n {{ vm.timer().second | format: 'number' : { zeroPadLength: 2 } | async }}\\n </p>\\n </div>\\n </section>\\n <ax-button look=\\\"blank\\\" class=\\\"ax-rounded-full\\\" (onClick)=\\\"vm.cancelClick()\\\">\\n <ax-prefix><ax-icon class=\\\"fa-solid fa-xmark\\\"></ax-icon></ax-prefix>\\n </ax-button>\\n</div>\\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FwdHVyZS1zY3JlZW4uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi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SAAS,CAAC,EAAE,OAAO,EAAE,CAAC,eAAe,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,cAAc,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,eAAe,EAAE,EAAE,CAAC,uBAAuB,CAAC,MAAM,EAAE,aAAa,EAAE,EAAE,CAAC,iBAAiB,CAAC,IAAI,EAAE,CAAC,CAAC;AAC9+I;AACA,EAAE,CAAC,wBAAwB,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,yBAAyB,EAAE,UAAU,EAAE,CAAC;AACpI,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,i8EAAi8E,EAAE,MAAM,EAAE,CAAC,ohBAAohB,CAAC,EAAE;AACvtG,SAAS,CAAC,EAAE,CAAC;;;;"}
|
|
1
|
+
{"version":3,"file":"acorex-modules-help-desk-capture-screen.component-CiQv__MW.mjs","sources":["../tmp-esm2022/help-desk/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.3.16\", ngImport: i0, type: AXMCaptureScreenComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"17.0.0\", version: \"20.3.16\", type: AXMCaptureScreenComponent, isStandalone: true, selector: \"axm-capture-screen\", ngImport: i0, template: \"<div\\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\\\"\\n>\\n <section\\n class=\\\"ax-flex ax-items-center ax-justify-center ax-gap-4\\\"\\n [ngClass]=\\\"{ 'screenshot-hidden': vm.captureMode() === 'video' }\\\"\\n >\\n <ax-button look=\\\"outline\\\" color=\\\"primary\\\" class=\\\"ax-lg ax-rounded-full\\\" (onClick)=\\\"vm.screenshotClick()\\\">\\n @if (vm.loading()) {\\n <ax-loading></ax-loading>\\n } @else {\\n <ax-prefix>\\n <ax-icon class=\\\"fa-regular fa-camera\\\"></ax-icon>\\n </ax-prefix>\\n }\\n </ax-button>\\n <ax-button\\n look=\\\"blank\\\"\\n class=\\\"ax-lg ax-rounded-full\\\"\\n [ngClass]=\\\"{ 'recordVideo-move': vm.captureMode() === 'video' }\\\"\\n (onClick)=\\\"vm.changeCaptureMode()\\\"\\n >\\n <ax-prefix>\\n <ax-icon class=\\\"fa-regular fa-video\\\"></ax-icon>\\n </ax-prefix>\\n </ax-button>\\n </section>\\n <section\\n class=\\\"ax-hidden ax-items-center ax-justify-center ax-gap-8\\\"\\n [ngClass]=\\\"{ '!ax-flex recordContainer-show': vm.captureMode() === 'video' }\\\"\\n >\\n <div class=\\\"ax-flex ax-items-center ax-justify-center ax-gap-2\\\">\\n <ax-button look=\\\"outline\\\" color=\\\"danger\\\" class=\\\"ax-lg ax-rounded-full\\\" (onClick)=\\\"vm.recordScreenClick()\\\">\\n <ax-prefix class=\\\"ax-relative\\\">\\n @if (vm.isRecording()) {\\n <ax-icon\\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\\\"\\n ></ax-icon>\\n }\\n <ax-icon class=\\\"fa-solid fa-circle\\\"></ax-icon>\\n </ax-prefix>\\n </ax-button>\\n <ax-button look=\\\"blank\\\" class=\\\"ax-sm\\\" (onClick)=\\\"vm.mutedClick()\\\">\\n <ax-prefix\\n ><ax-icon class=\\\"fa-solid {{ vm.muted() ? 'fa-microphone' : 'fa-microphone-slash' }}\\\"></ax-icon\\n ></ax-prefix>\\n </ax-button>\\n </div>\\n <div class=\\\"ax-flex ax-items-center ax-gap-2\\\">\\n <p>\\n {{ vm.timer().minute | format: 'number' : { zeroPadLength: 2 } | async }} :\\n {{ vm.timer().second | format: 'number' : { zeroPadLength: 2 } | async }}\\n </p>\\n </div>\\n </section>\\n <ax-button look=\\\"blank\\\" class=\\\"ax-rounded-full\\\" (onClick)=\\\"vm.cancelClick()\\\">\\n <ax-prefix><ax-icon class=\\\"fa-solid fa-xmark\\\"></ax-icon></ax-prefix>\\n </ax-button>\\n</div>\\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.3.16\", 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\\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\\\"\\n>\\n <section\\n class=\\\"ax-flex ax-items-center ax-justify-center ax-gap-4\\\"\\n [ngClass]=\\\"{ 'screenshot-hidden': vm.captureMode() === 'video' }\\\"\\n >\\n <ax-button look=\\\"outline\\\" color=\\\"primary\\\" class=\\\"ax-lg ax-rounded-full\\\" (onClick)=\\\"vm.screenshotClick()\\\">\\n @if (vm.loading()) {\\n <ax-loading></ax-loading>\\n } @else {\\n <ax-prefix>\\n <ax-icon class=\\\"fa-regular fa-camera\\\"></ax-icon>\\n </ax-prefix>\\n }\\n </ax-button>\\n <ax-button\\n look=\\\"blank\\\"\\n class=\\\"ax-lg ax-rounded-full\\\"\\n [ngClass]=\\\"{ 'recordVideo-move': vm.captureMode() === 'video' }\\\"\\n (onClick)=\\\"vm.changeCaptureMode()\\\"\\n >\\n <ax-prefix>\\n <ax-icon class=\\\"fa-regular fa-video\\\"></ax-icon>\\n </ax-prefix>\\n </ax-button>\\n </section>\\n <section\\n class=\\\"ax-hidden ax-items-center ax-justify-center ax-gap-8\\\"\\n [ngClass]=\\\"{ '!ax-flex recordContainer-show': vm.captureMode() === 'video' }\\\"\\n >\\n <div class=\\\"ax-flex ax-items-center ax-justify-center ax-gap-2\\\">\\n <ax-button look=\\\"outline\\\" color=\\\"danger\\\" class=\\\"ax-lg ax-rounded-full\\\" (onClick)=\\\"vm.recordScreenClick()\\\">\\n <ax-prefix class=\\\"ax-relative\\\">\\n @if (vm.isRecording()) {\\n <ax-icon\\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\\\"\\n ></ax-icon>\\n }\\n <ax-icon class=\\\"fa-solid fa-circle\\\"></ax-icon>\\n </ax-prefix>\\n </ax-button>\\n <ax-button look=\\\"blank\\\" class=\\\"ax-sm\\\" (onClick)=\\\"vm.mutedClick()\\\">\\n <ax-prefix\\n ><ax-icon class=\\\"fa-solid {{ vm.muted() ? 'fa-microphone' : 'fa-microphone-slash' }}\\\"></ax-icon\\n ></ax-prefix>\\n </ax-button>\\n </div>\\n <div class=\\\"ax-flex ax-items-center ax-gap-2\\\">\\n <p>\\n {{ vm.timer().minute | format: 'number' : { zeroPadLength: 2 } | async }} :\\n {{ vm.timer().second | format: 'number' : { zeroPadLength: 2 } | async }}\\n </p>\\n </div>\\n </section>\\n <ax-button look=\\\"blank\\\" class=\\\"ax-rounded-full\\\" (onClick)=\\\"vm.cancelClick()\\\">\\n <ax-prefix><ax-icon class=\\\"fa-solid fa-xmark\\\"></ax-icon></ax-prefix>\\n </ax-button>\\n</div>\\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FwdHVyZS1zY3JlZW4uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9tb2R1bGVzL2hlbHAtZGVzay9zcmMvbGliL2NvbXBvbmVudHMvY2FwdHVyZS1zY3JlZW4vY29tcG9uZW50cy9jYXB0dXJlLXNjcmVlbi1jb21wb25lbnQvY2FwdHVyZS1zY3JlZW4uY29tcG9uZW50L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OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,CAAC,YAAY,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,EAAE,eAAe,EAAE,EAAE,CAAC,uBAAuB,CAAC,MAAM,EAAE,aAAa,EAAE,EAAE,CAAC,iBAAiB,CAAC,IAAI,EAAE,CAAC,CAAC;AAC9+I;AACA,EAAE,CAAC,wBAAwB,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,yBAAyB,EAAE,UAAU,EAAE,CAAC;AACpI,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,i8EAAi8E,EAAE,MAAM,EAAE,CAAC,ohBAAohB,CAAC,EAAE;AACvtG,SAAS,CAAC,EAAE,CAAC;;;;"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { k as AXMEntityProvider, o as AXMHelpDeskModule, g as AXMIssueTypeEntityModule, a as AXMIssueTypeService, b as AXMIssueTypeServiceImpl, l as AXMLogCaptureService, p as AXMMenuProvider, j as AXMMyReportedIssuesEntityModule, e as AXMMyReportedIssuesService, f as AXMMyReportedIssuesServiceImpl, q as AXMPermissionDefinitionProvider, s as AXMPermissionsKeys, h as AXMReportedIssuesEntityModule, c as AXMReportedIssuesService, d as AXMReportedIssuesServiceImpl, n as AXMReportedIssuesStatusProvider, t as AXMSettingProvider, R as RootConfig, i as issueTypeEntityFactory, m as myReportedIssuesEntityFactory, r as reportedIssuesEntityFactory } from './acorex-modules-help-desk-acorex-modules-help-desk-
|
|
1
|
+
export { k as AXMEntityProvider, o as AXMHelpDeskModule, g as AXMIssueTypeEntityModule, a as AXMIssueTypeService, b as AXMIssueTypeServiceImpl, l as AXMLogCaptureService, p as AXMMenuProvider, j as AXMMyReportedIssuesEntityModule, e as AXMMyReportedIssuesService, f as AXMMyReportedIssuesServiceImpl, q as AXMPermissionDefinitionProvider, s as AXMPermissionsKeys, h as AXMReportedIssuesEntityModule, c as AXMReportedIssuesService, d as AXMReportedIssuesServiceImpl, n as AXMReportedIssuesStatusProvider, t as AXMSettingProvider, R as RootConfig, i as issueTypeEntityFactory, m as myReportedIssuesEntityFactory, r as reportedIssuesEntityFactory } from './acorex-modules-help-desk-acorex-modules-help-desk-Clea9Hhv.mjs';
|
|
2
2
|
//# sourceMappingURL=acorex-modules-help-desk.mjs.map
|
|
@@ -20,9 +20,9 @@ import { AXCalendarService } from '@acorex/core/date-time';
|
|
|
20
20
|
import { AXLocaleService, AX_LOCALE_PROFILE_PROVIDERS } from '@acorex/core/locale';
|
|
21
21
|
import { AXTranslationService } from '@acorex/core/translation';
|
|
22
22
|
import { AXP_PERMISSION_DEFINITION_PROVIDER } from '@acorex/platform/auth';
|
|
23
|
+
import { AXPCommonMenuKeys, AXPWidgetsList } from '@acorex/modules/common';
|
|
23
24
|
import { AXFormatService } from '@acorex/core/format';
|
|
24
|
-
import {
|
|
25
|
-
import { AXDataSource, convertArrayToDataSource } from '@acorex/cdk/common';
|
|
25
|
+
import { AXDataSource } from '@acorex/cdk/common';
|
|
26
26
|
import { AXPWidgetsCatalog } from '@acorex/platform/layout/widget-core';
|
|
27
27
|
|
|
28
28
|
const config = {
|
|
@@ -54,12 +54,6 @@ const RootConfig = {
|
|
|
54
54
|
titlePlural: '@locale-management:timezones.entities.timezone.plural',
|
|
55
55
|
icon: 'fa-light fa-clock',
|
|
56
56
|
},
|
|
57
|
-
currencies: {
|
|
58
|
-
name: 'Currencies',
|
|
59
|
-
title: '@locale-management:currencies.entities.currency.title',
|
|
60
|
-
titlePlural: '@locale-management:currencies.entities.currency.plural',
|
|
61
|
-
icon: 'fa-light fa-coins',
|
|
62
|
-
},
|
|
63
57
|
},
|
|
64
58
|
};
|
|
65
59
|
|
|
@@ -158,9 +152,6 @@ withMethods((store, settingsService = inject(AXPSettingsService), localeService
|
|
|
158
152
|
class AXMLocaleManagementService {
|
|
159
153
|
constructor() {
|
|
160
154
|
this.entityService = inject(AXPEntityService);
|
|
161
|
-
this.currenciesDataAccessor = this.entityService
|
|
162
|
-
.withEntity(RootConfig.module.name, RootConfig.entities.currencies.name)
|
|
163
|
-
.data();
|
|
164
155
|
this.languagesDataAccessor = this.entityService
|
|
165
156
|
.withEntity(RootConfig.module.name, RootConfig.entities.languages.name)
|
|
166
157
|
.data();
|
|
@@ -181,27 +172,18 @@ class AXMLocaleManagementService {
|
|
|
181
172
|
operator: {
|
|
182
173
|
type: 'equal',
|
|
183
174
|
},
|
|
184
|
-
value: true
|
|
185
|
-
}
|
|
186
|
-
]
|
|
175
|
+
value: true,
|
|
176
|
+
},
|
|
177
|
+
],
|
|
187
178
|
},
|
|
188
179
|
sort: [
|
|
189
180
|
{
|
|
190
181
|
field: 'title',
|
|
191
182
|
dir: 'asc',
|
|
192
|
-
}
|
|
193
|
-
]
|
|
183
|
+
},
|
|
184
|
+
],
|
|
194
185
|
};
|
|
195
186
|
}
|
|
196
|
-
async getCurrencies() {
|
|
197
|
-
const result = await this.currenciesDataAccessor.query(this.activeQuery);
|
|
198
|
-
return result.items.map((c) => ({
|
|
199
|
-
code: c.code,
|
|
200
|
-
title: c.title,
|
|
201
|
-
symbol: c.symbol,
|
|
202
|
-
format: c.symbol,
|
|
203
|
-
}));
|
|
204
|
-
}
|
|
205
187
|
async getLocaleProfiles() {
|
|
206
188
|
const { profiles } = await import('./acorex-modules-locale-management-profiles-BmCQxHK5.mjs');
|
|
207
189
|
return profiles;
|
|
@@ -398,13 +380,6 @@ const AXMPermissionsKeys = {
|
|
|
398
380
|
Delete: 'LocaleManagement:Permission:Timezone.Delete',
|
|
399
381
|
Create: 'LocaleManagement:Permission:Timezone.Create',
|
|
400
382
|
},
|
|
401
|
-
Currency: {
|
|
402
|
-
Management: 'LocaleManagement:Permission:Currency.Management',
|
|
403
|
-
View: 'LocaleManagement:Permission:Currency.View',
|
|
404
|
-
Edit: 'LocaleManagement:Permission:Currency.Edit',
|
|
405
|
-
Delete: 'LocaleManagement:Permission:Currency.Delete',
|
|
406
|
-
Create: 'LocaleManagement:Permission:Currency.Create',
|
|
407
|
-
},
|
|
408
383
|
},
|
|
409
384
|
};
|
|
410
385
|
|
|
@@ -433,13 +408,6 @@ class AXMLocaleManagementPermissionDefinitionProvider {
|
|
|
433
408
|
.addChild(keys.Timezone.Delete, await this.translateService.translateAsync('@locale-management:timezones.permissions.timezones.actions.delete.title'), await this.translateService.translateAsync('@locale-management:timezones.permissions.timezones.actions.delete.description'))
|
|
434
409
|
.endPermission()
|
|
435
410
|
//
|
|
436
|
-
.addPermission(keys.Currency.Management, await this.translateService.translateAsync('@locale-management:currencies.permissions.currencies.title'), await this.translateService.translateAsync('@locale-management:currencies.permissions.currencies.description'))
|
|
437
|
-
.addChild(keys.Currency.View, await this.translateService.translateAsync('@locale-management:currencies.permissions.currencies.actions.view.title'), await this.translateService.translateAsync('@locale-management:currencies.permissions.currencies.actions.view.description'))
|
|
438
|
-
.addChild(keys.Currency.Create, await this.translateService.translateAsync('@locale-management:currencies.permissions.currencies.actions.create.title'), await this.translateService.translateAsync('@locale-management:currencies.permissions.currencies.actions.create.description'))
|
|
439
|
-
.addChild(keys.Currency.Edit, await this.translateService.translateAsync('@locale-management:currencies.permissions.currencies.actions.edit.title'), await this.translateService.translateAsync('@locale-management:currencies.permissions.currencies.actions.edit.description'))
|
|
440
|
-
.addChild(keys.Currency.Delete, await this.translateService.translateAsync('@locale-management:currencies.permissions.currencies.actions.delete.title'), await this.translateService.translateAsync('@locale-management:currencies.permissions.currencies.actions.delete.description'))
|
|
441
|
-
.endPermission()
|
|
442
|
-
//
|
|
443
411
|
.endGroup();
|
|
444
412
|
}
|
|
445
413
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXMLocaleManagementPermissionDefinitionProvider, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
@@ -454,7 +422,6 @@ const AXPLocaleManagementMenuKeys = {
|
|
|
454
422
|
Languages: 'locale-management:menu:languages',
|
|
455
423
|
Divider1: 'locale-management:menu:divider-1',
|
|
456
424
|
Timezones: 'locale-management:menu:timezones',
|
|
457
|
-
Currencies: 'locale-management:menu:currencies',
|
|
458
425
|
};
|
|
459
426
|
|
|
460
427
|
class AXMLocaleManagementMenuProvider {
|
|
@@ -463,15 +430,15 @@ class AXMLocaleManagementMenuProvider {
|
|
|
463
430
|
}
|
|
464
431
|
async provide(context) {
|
|
465
432
|
const module = RootConfig.module;
|
|
466
|
-
context.addItems([
|
|
433
|
+
context.find(AXPCommonMenuKeys.Configuration).addItems([
|
|
467
434
|
{
|
|
468
435
|
name: AXPLocaleManagementMenuKeys.Root,
|
|
469
|
-
priority:
|
|
470
|
-
text: '@locale-management:module.menus.
|
|
436
|
+
priority: 8910,
|
|
437
|
+
text: '@locale-management:module.menus.foundation-group.title',
|
|
471
438
|
icon: module.icon,
|
|
472
439
|
policy: {
|
|
473
440
|
features: [module.name],
|
|
474
|
-
permissions: [AXMPermissionsKeys.LocaleManagement.Management]
|
|
441
|
+
permissions: [AXMPermissionsKeys.LocaleManagement.Management],
|
|
475
442
|
},
|
|
476
443
|
children: [
|
|
477
444
|
{
|
|
@@ -494,13 +461,6 @@ class AXMLocaleManagementMenuProvider {
|
|
|
494
461
|
icon: RootConfig.entities.timezones.icon,
|
|
495
462
|
priority: 3,
|
|
496
463
|
},
|
|
497
|
-
{
|
|
498
|
-
name: AXPLocaleManagementMenuKeys.Currencies,
|
|
499
|
-
text: '@locale-management:currencies.menus.currencies.title',
|
|
500
|
-
path: this.entityService.createPath(module.name, RootConfig.entities.currencies.name),
|
|
501
|
-
icon: RootConfig.entities.currencies.icon,
|
|
502
|
-
priority: 4,
|
|
503
|
-
},
|
|
504
464
|
],
|
|
505
465
|
},
|
|
506
466
|
]);
|
|
@@ -520,8 +480,6 @@ class AXMLocaleManagementEntityProvider {
|
|
|
520
480
|
return (await Promise.resolve().then(function () { return locales_entity; })).localesFactory(this.injector);
|
|
521
481
|
case RootConfig.entities.timezones.name:
|
|
522
482
|
return (await Promise.resolve().then(function () { return timezones_entity; })).timezonesFactory(this.injector);
|
|
523
|
-
case RootConfig.entities.currencies.name:
|
|
524
|
-
return (await Promise.resolve().then(function () { return currencies_entity; })).currenciesFactory(this.injector);
|
|
525
483
|
}
|
|
526
484
|
}
|
|
527
485
|
return null;
|
|
@@ -1043,18 +1001,6 @@ class AXMLocaleManagementSearchCommandProvider extends AXPSearchCommandProvider
|
|
|
1043
1001
|
},
|
|
1044
1002
|
},
|
|
1045
1003
|
},
|
|
1046
|
-
{
|
|
1047
|
-
group: 'entity',
|
|
1048
|
-
title: 'New Currency',
|
|
1049
|
-
icon: RootConfig.entities.currencies.icon,
|
|
1050
|
-
description: 'Create a new currency definition.',
|
|
1051
|
-
command: {
|
|
1052
|
-
name: 'create-entity',
|
|
1053
|
-
options: {
|
|
1054
|
-
entity: `${RootConfig.module.name}.${RootConfig.entities.currencies.name}`,
|
|
1055
|
-
},
|
|
1056
|
-
},
|
|
1057
|
-
},
|
|
1058
1004
|
];
|
|
1059
1005
|
}
|
|
1060
1006
|
}
|
|
@@ -1107,81 +1053,6 @@ class AXMLocaleManagementDataSourceDefinition {
|
|
|
1107
1053
|
},
|
|
1108
1054
|
};
|
|
1109
1055
|
//#endregion
|
|
1110
|
-
//#region Currencies
|
|
1111
|
-
this.currencies = {
|
|
1112
|
-
name: 'currencies',
|
|
1113
|
-
title: 'Currencies',
|
|
1114
|
-
columns: [
|
|
1115
|
-
{
|
|
1116
|
-
name: 'code',
|
|
1117
|
-
title: 'Code',
|
|
1118
|
-
type: 'string',
|
|
1119
|
-
datatype: 'string',
|
|
1120
|
-
},
|
|
1121
|
-
{
|
|
1122
|
-
name: 'title',
|
|
1123
|
-
title: 'Title',
|
|
1124
|
-
type: 'string',
|
|
1125
|
-
datatype: 'string',
|
|
1126
|
-
},
|
|
1127
|
-
],
|
|
1128
|
-
filters: [],
|
|
1129
|
-
textField: { name: 'title', title: 'Title' },
|
|
1130
|
-
valueField: { name: 'code', title: 'Code' },
|
|
1131
|
-
samples: [
|
|
1132
|
-
{ code: 'USD', title: 'United States Dollar' },
|
|
1133
|
-
{ code: 'CAD', title: 'Canadian Dollar' },
|
|
1134
|
-
{ code: 'GBP', title: 'British Pound' },
|
|
1135
|
-
],
|
|
1136
|
-
source: () => {
|
|
1137
|
-
return new AXDataSource({
|
|
1138
|
-
load: async (e) => {
|
|
1139
|
-
const items = await this.localeManagementService.getCurrencies();
|
|
1140
|
-
return {
|
|
1141
|
-
items: items,
|
|
1142
|
-
total: items.length,
|
|
1143
|
-
};
|
|
1144
|
-
},
|
|
1145
|
-
pageSize: 50,
|
|
1146
|
-
key: 'code',
|
|
1147
|
-
byKey: async (key) => {
|
|
1148
|
-
const items = await this.localeManagementService.getCurrencies();
|
|
1149
|
-
return items.find((c) => c.code == key);
|
|
1150
|
-
},
|
|
1151
|
-
});
|
|
1152
|
-
},
|
|
1153
|
-
};
|
|
1154
|
-
this.booleans = {
|
|
1155
|
-
name: 'booleans',
|
|
1156
|
-
title: 'Booleans',
|
|
1157
|
-
columns: [
|
|
1158
|
-
{
|
|
1159
|
-
name: 'value',
|
|
1160
|
-
title: 'Value',
|
|
1161
|
-
type: 'string',
|
|
1162
|
-
datatype: 'string',
|
|
1163
|
-
},
|
|
1164
|
-
{
|
|
1165
|
-
name: 'title',
|
|
1166
|
-
title: 'Title',
|
|
1167
|
-
type: 'string',
|
|
1168
|
-
datatype: 'string',
|
|
1169
|
-
},
|
|
1170
|
-
],
|
|
1171
|
-
filters: [],
|
|
1172
|
-
textField: { name: 'title', title: 'Title' },
|
|
1173
|
-
valueField: { name: 'value', title: 'Value' },
|
|
1174
|
-
samples: [
|
|
1175
|
-
{ value: 'true', title: 'Yes' },
|
|
1176
|
-
{ value: 'false', title: 'No' },
|
|
1177
|
-
],
|
|
1178
|
-
source: () => {
|
|
1179
|
-
return convertArrayToDataSource([
|
|
1180
|
-
{ value: 'true', title: 'Yes' },
|
|
1181
|
-
{ value: 'false', title: 'No' },
|
|
1182
|
-
]);
|
|
1183
|
-
},
|
|
1184
|
-
};
|
|
1185
1056
|
//#region Languages
|
|
1186
1057
|
this.languages = {
|
|
1187
1058
|
name: 'languages',
|
|
@@ -1273,7 +1144,7 @@ class AXMLocaleManagementDataSourceDefinition {
|
|
|
1273
1144
|
}
|
|
1274
1145
|
//#endregion
|
|
1275
1146
|
async items() {
|
|
1276
|
-
return [this.timezones, this.
|
|
1147
|
+
return [this.timezones, this.languages, this.locales];
|
|
1277
1148
|
}
|
|
1278
1149
|
}
|
|
1279
1150
|
|
|
@@ -2090,219 +1961,6 @@ var timezones_entity = /*#__PURE__*/Object.freeze({
|
|
|
2090
1961
|
timezonesFactory: timezonesFactory
|
|
2091
1962
|
});
|
|
2092
1963
|
|
|
2093
|
-
async function currenciesFactory(injector) {
|
|
2094
|
-
const entityDef = {
|
|
2095
|
-
module: RootConfig.module.name,
|
|
2096
|
-
name: RootConfig.entities.currencies.name,
|
|
2097
|
-
title: RootConfig.entities.currencies.title,
|
|
2098
|
-
icon: RootConfig.entities.currencies.icon,
|
|
2099
|
-
formats: {
|
|
2100
|
-
individual: RootConfig.entities.currencies.title,
|
|
2101
|
-
plural: RootConfig.entities.currencies.titlePlural,
|
|
2102
|
-
searchResult: {
|
|
2103
|
-
title: '{{ title }}',
|
|
2104
|
-
description: '{{ code }} ({{ symbol }})',
|
|
2105
|
-
},
|
|
2106
|
-
},
|
|
2107
|
-
plugins: [
|
|
2108
|
-
{ name: 'archive' },
|
|
2109
|
-
],
|
|
2110
|
-
groups: [
|
|
2111
|
-
{
|
|
2112
|
-
id: 'basic-info',
|
|
2113
|
-
title: '@general:terms.interface.basic-info',
|
|
2114
|
-
},
|
|
2115
|
-
{
|
|
2116
|
-
id: 'settings',
|
|
2117
|
-
title: '@general:terms.interface.settings',
|
|
2118
|
-
},
|
|
2119
|
-
],
|
|
2120
|
-
properties: [
|
|
2121
|
-
{
|
|
2122
|
-
name: 'code',
|
|
2123
|
-
title: '@general:terms.common.code',
|
|
2124
|
-
groupId: 'basic-info',
|
|
2125
|
-
options: {
|
|
2126
|
-
sort: {
|
|
2127
|
-
enabled: true,
|
|
2128
|
-
},
|
|
2129
|
-
filter: {
|
|
2130
|
-
advance: {
|
|
2131
|
-
enabled: true,
|
|
2132
|
-
},
|
|
2133
|
-
inline: {
|
|
2134
|
-
enabled: true,
|
|
2135
|
-
},
|
|
2136
|
-
},
|
|
2137
|
-
},
|
|
2138
|
-
schema: {
|
|
2139
|
-
dataType: 'string',
|
|
2140
|
-
interface: {
|
|
2141
|
-
type: AXPWidgetsCatalog.text,
|
|
2142
|
-
options: {
|
|
2143
|
-
placeholder: 'e.g., USD, EUR, IRR',
|
|
2144
|
-
},
|
|
2145
|
-
},
|
|
2146
|
-
},
|
|
2147
|
-
validations: [
|
|
2148
|
-
{
|
|
2149
|
-
rule: 'required',
|
|
2150
|
-
},
|
|
2151
|
-
],
|
|
2152
|
-
},
|
|
2153
|
-
{
|
|
2154
|
-
name: 'title',
|
|
2155
|
-
title: '@general:terms.common.title',
|
|
2156
|
-
groupId: 'basic-info',
|
|
2157
|
-
options: {
|
|
2158
|
-
sort: {
|
|
2159
|
-
enabled: true,
|
|
2160
|
-
},
|
|
2161
|
-
filter: {
|
|
2162
|
-
advance: {
|
|
2163
|
-
enabled: true,
|
|
2164
|
-
},
|
|
2165
|
-
inline: {
|
|
2166
|
-
enabled: true,
|
|
2167
|
-
},
|
|
2168
|
-
},
|
|
2169
|
-
},
|
|
2170
|
-
schema: {
|
|
2171
|
-
dataType: 'string',
|
|
2172
|
-
interface: {
|
|
2173
|
-
type: AXPWidgetsCatalog.text,
|
|
2174
|
-
options: {
|
|
2175
|
-
placeholder: 'e.g., US Dollar, Euro',
|
|
2176
|
-
},
|
|
2177
|
-
},
|
|
2178
|
-
},
|
|
2179
|
-
validations: [
|
|
2180
|
-
{
|
|
2181
|
-
rule: 'required',
|
|
2182
|
-
},
|
|
2183
|
-
],
|
|
2184
|
-
},
|
|
2185
|
-
{
|
|
2186
|
-
name: 'symbol',
|
|
2187
|
-
title: '@locale-management:currencies.entities.currency.fields.symbol',
|
|
2188
|
-
groupId: 'basic-info',
|
|
2189
|
-
options: {
|
|
2190
|
-
sort: {
|
|
2191
|
-
enabled: true,
|
|
2192
|
-
},
|
|
2193
|
-
filter: {
|
|
2194
|
-
advance: {
|
|
2195
|
-
enabled: true,
|
|
2196
|
-
},
|
|
2197
|
-
},
|
|
2198
|
-
},
|
|
2199
|
-
schema: {
|
|
2200
|
-
dataType: 'string',
|
|
2201
|
-
interface: {
|
|
2202
|
-
type: AXPWidgetsCatalog.text,
|
|
2203
|
-
options: {
|
|
2204
|
-
placeholder: 'e.g., $, €, ﷼',
|
|
2205
|
-
},
|
|
2206
|
-
},
|
|
2207
|
-
},
|
|
2208
|
-
validations: [
|
|
2209
|
-
{
|
|
2210
|
-
rule: 'required',
|
|
2211
|
-
},
|
|
2212
|
-
],
|
|
2213
|
-
},
|
|
2214
|
-
{
|
|
2215
|
-
name: 'decimalPlaces',
|
|
2216
|
-
title: '@locale-management:currencies.entities.currency.fields.decimal-places',
|
|
2217
|
-
groupId: 'basic-info',
|
|
2218
|
-
options: {
|
|
2219
|
-
sort: {
|
|
2220
|
-
enabled: true,
|
|
2221
|
-
},
|
|
2222
|
-
filter: {
|
|
2223
|
-
advance: {
|
|
2224
|
-
enabled: true,
|
|
2225
|
-
},
|
|
2226
|
-
},
|
|
2227
|
-
},
|
|
2228
|
-
schema: {
|
|
2229
|
-
dataType: 'number',
|
|
2230
|
-
interface: {
|
|
2231
|
-
type: AXPWidgetsCatalog.number,
|
|
2232
|
-
options: {
|
|
2233
|
-
minValue: 0,
|
|
2234
|
-
maxValue: 4,
|
|
2235
|
-
placeholder: 'Usually 2',
|
|
2236
|
-
},
|
|
2237
|
-
},
|
|
2238
|
-
},
|
|
2239
|
-
validations: [
|
|
2240
|
-
{
|
|
2241
|
-
rule: 'required',
|
|
2242
|
-
},
|
|
2243
|
-
],
|
|
2244
|
-
},
|
|
2245
|
-
],
|
|
2246
|
-
columns: [
|
|
2247
|
-
{ name: 'code', options: { width: '100px', order: 1 } },
|
|
2248
|
-
{ name: 'title', options: { width: '250px', order: 2 } },
|
|
2249
|
-
{ name: 'symbol', options: { width: '80px', order: 3 } },
|
|
2250
|
-
{ name: 'decimalPlaces', options: { width: '120px', order: 4 } },
|
|
2251
|
-
],
|
|
2252
|
-
interfaces: {
|
|
2253
|
-
master: {
|
|
2254
|
-
create: {
|
|
2255
|
-
sections: [{ id: 'basic-info' }, { id: 'settings' }],
|
|
2256
|
-
properties: [
|
|
2257
|
-
{ name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
|
|
2258
|
-
{ name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
|
|
2259
|
-
{ name: 'symbol', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },
|
|
2260
|
-
{ name: 'decimalPlaces', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },
|
|
2261
|
-
],
|
|
2262
|
-
},
|
|
2263
|
-
update: {
|
|
2264
|
-
sections: [{ id: 'basic-info' }, { id: 'settings' }],
|
|
2265
|
-
properties: [
|
|
2266
|
-
{ name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
|
|
2267
|
-
{ name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
|
|
2268
|
-
{ name: 'symbol', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },
|
|
2269
|
-
{ name: 'decimalPlaces', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },
|
|
2270
|
-
],
|
|
2271
|
-
},
|
|
2272
|
-
single: {
|
|
2273
|
-
title: RootConfig.entities.currencies.title,
|
|
2274
|
-
sections: [{ id: 'basic-info' }, { id: 'settings' }],
|
|
2275
|
-
properties: [
|
|
2276
|
-
{ name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
|
|
2277
|
-
{ name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
|
|
2278
|
-
{ name: 'symbol', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },
|
|
2279
|
-
{ name: 'decimalPlaces', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },
|
|
2280
|
-
],
|
|
2281
|
-
actions: [
|
|
2282
|
-
...entityMasterRecordActions(),
|
|
2283
|
-
],
|
|
2284
|
-
},
|
|
2285
|
-
list: {
|
|
2286
|
-
actions: [
|
|
2287
|
-
...entityMasterCrudActions(),
|
|
2288
|
-
],
|
|
2289
|
-
views: [
|
|
2290
|
-
createAllQueryView({
|
|
2291
|
-
sorts: [{ name: 'title', dir: 'asc' }],
|
|
2292
|
-
}),
|
|
2293
|
-
],
|
|
2294
|
-
},
|
|
2295
|
-
},
|
|
2296
|
-
},
|
|
2297
|
-
};
|
|
2298
|
-
return entityDef;
|
|
2299
|
-
}
|
|
2300
|
-
|
|
2301
|
-
var currencies_entity = /*#__PURE__*/Object.freeze({
|
|
2302
|
-
__proto__: null,
|
|
2303
|
-
currenciesFactory: currenciesFactory
|
|
2304
|
-
});
|
|
2305
|
-
|
|
2306
1964
|
// Entity Types
|
|
2307
1965
|
|
|
2308
1966
|
/**
|
|
@@ -2318,5 +1976,5 @@ var currencies_entity = /*#__PURE__*/Object.freeze({
|
|
|
2318
1976
|
* Generated bundle index. Do not edit.
|
|
2319
1977
|
*/
|
|
2320
1978
|
|
|
2321
|
-
export { AXMLocaleManagementEntityProvider, AXMLocaleManagementMenuProvider, AXMLocaleManagementModule, AXMLocaleManagementPermissionDefinitionProvider, AXMLocaleManagementSearchCommandProvider, AXMLocaleManagementService, AXMLocaleProfileProviderService, RootConfig,
|
|
1979
|
+
export { AXMLocaleManagementEntityProvider, AXMLocaleManagementMenuProvider, AXMLocaleManagementModule, AXMLocaleManagementPermissionDefinitionProvider, AXMLocaleManagementSearchCommandProvider, AXMLocaleManagementService, AXMLocaleProfileProviderService, RootConfig, languagesFactory, localesFactory, timezonesFactory };
|
|
2322
1980
|
//# sourceMappingURL=acorex-modules-locale-management.mjs.map
|