@acorex/modules 19.4.13 → 19.4.15
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/assets/images/weather/cloudy-day-1.svg +175 -0
- package/assets/images/weather/cloudy-day-2.svg +176 -0
- package/assets/images/weather/cloudy-day-3.svg +175 -0
- package/assets/images/weather/cloudy-night-1.svg +198 -0
- package/assets/images/weather/cloudy-night-2.svg +198 -0
- package/assets/images/weather/cloudy-night-3.svg +198 -0
- package/assets/images/weather/cloudy.svg +500 -0
- package/assets/images/weather/day.svg +521 -0
- package/assets/images/weather/night.svg +503 -0
- package/assets/images/weather/rainy-1.svg +157 -0
- package/assets/images/weather/rainy-2.svg +133 -0
- package/assets/images/weather/rainy-3.svg +157 -0
- package/assets/images/weather/rainy-4.svg +66 -0
- package/assets/images/weather/rainy-5.svg +90 -0
- package/assets/images/weather/rainy-6.svg +91 -0
- package/assets/images/weather/rainy-7.svg +91 -0
- package/assets/images/weather/snowy-1.svg +230 -0
- package/assets/images/weather/snowy-2.svg +237 -0
- package/assets/images/weather/snowy-3.svg +268 -0
- package/assets/images/weather/snowy-4.svg +94 -0
- package/assets/images/weather/snowy-5.svg +166 -0
- package/assets/images/weather/snowy-6.svg +225 -0
- package/assets/images/weather/thunder.svg +268 -0
- package/assets/images/weather/weather-sprite.svg +1245 -0
- package/assets/images/weather/weather.svg +1245 -0
- package/assets/images/weather/weather_sagittarius.svg +9 -0
- package/assets/images/weather/weather_sunset.svg +14 -0
- package/content-management/index.d.ts +2 -0
- package/content-management/lib/entities/index.d.ts +1 -0
- package/content-management/lib/entities/promotion/index.d.ts +5 -0
- package/content-management/lib/features/index.d.ts +1 -0
- package/content-management/lib/features/promotion/components/index.d.ts +1 -0
- package/content-management/lib/features/promotion/index.d.ts +1 -0
- package/conversation/lib/features/chat/components/chat-preview/chat-preview.component.d.ts +0 -1
- package/conversation/lib/features/index.d.ts +1 -0
- package/conversation/lib/features/widget/share/comment/comment-widget-view.component.d.ts +66 -0
- package/conversation/lib/features/widget/share/comment/comment-widget.config.d.ts +2 -0
- package/conversation/lib/features/widget/share/comment/index.d.ts +2 -0
- package/dashboard-management/lib/features/home-dashboard/dashboard-popups/index.d.ts +3 -0
- package/dashboard-management/lib/features/home-dashboard/index.d.ts +3 -0
- package/dashboard-management/lib/features/home-dashboard/setrting.keys.d.ts +3 -0
- package/dashboard-management/lib/features/home-dashboard/widget-wrapper/index.d.ts +1 -0
- package/dashboard-management/lib/features/shared/widgets/analog-clock/analog-clock-widget-view.component.d.ts +9 -0
- package/dashboard-management/lib/features/shared/widgets/analog-clock/analog-clock-widget.config.d.ts +7 -0
- package/dashboard-management/lib/features/shared/widgets/analog-clock/analog-clock.component.d.ts +28 -0
- package/dashboard-management/lib/features/shared/widgets/analog-clock/index.d.ts +3 -0
- package/dashboard-management/lib/features/shared/widgets/index.d.ts +1 -0
- package/dashboard-management/lib/features/shared/widgets/weather/advanced-weather/advanced-weather.component.d.ts +32 -0
- package/dashboard-management/lib/features/shared/widgets/weather/advanced-weather/advanced-weather.config.d.ts +14 -0
- package/dashboard-management/lib/features/shared/widgets/weather/advanced-weather/index.d.ts +2 -0
- package/dashboard-management/lib/features/shared/widgets/weather/index.d.ts +2 -0
- package/dashboard-management/lib/features/shared/widgets/weather/minimal-weather/index.d.ts +2 -0
- package/dashboard-management/lib/features/shared/widgets/weather/minimal-weather/minimal-weather.component.d.ts +22 -0
- package/dashboard-management/lib/features/shared/widgets/weather/minimal-weather/minimal-weather.config.d.ts +14 -0
- package/dashboard-management/lib/features/shared/widgets/weather/weather-services/weather-api.abstract.d.ts +19 -0
- package/dashboard-management/lib/features/shared/widgets/weather/weather-widget.component.d.ts +5 -5
- package/fesm2022/{acorex-modules-application-management-module-designer.component-BJp8imYd.mjs → acorex-modules-application-management-module-designer.component-ZKzHxJ0D.mjs} +2 -2
- package/fesm2022/{acorex-modules-application-management-module-designer.component-BJp8imYd.mjs.map → acorex-modules-application-management-module-designer.component-ZKzHxJ0D.mjs.map} +1 -1
- package/fesm2022/acorex-modules-application-management.mjs +1 -1
- package/fesm2022/acorex-modules-content-management.mjs +1288 -1
- package/fesm2022/acorex-modules-content-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-conversation.mjs +476 -15
- package/fesm2022/acorex-modules-conversation.mjs.map +1 -1
- package/fesm2022/acorex-modules-dashboard-management.mjs +1224 -30
- package/fesm2022/acorex-modules-dashboard-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-notification-management.mjs +7 -7
- package/fesm2022/acorex-modules-notification-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-platform-management-acorex-modules-platform-management-B8aACrqL.mjs → acorex-modules-platform-management-acorex-modules-platform-management-CGGoHpYi.mjs} +132 -54
- package/fesm2022/acorex-modules-platform-management-acorex-modules-platform-management-CGGoHpYi.mjs.map +1 -0
- package/fesm2022/{acorex-modules-platform-management-list-version.component-DhSicYd3.mjs → acorex-modules-platform-management-list-version.component-CGxYFnd9.mjs} +2 -2
- package/fesm2022/{acorex-modules-platform-management-list-version.component-DhSicYd3.mjs.map → acorex-modules-platform-management-list-version.component-CGxYFnd9.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-platform-management-settings.provider-CnGAUpof.mjs → acorex-modules-platform-management-settings.provider-CHAI3QHV.mjs} +2 -2
- package/fesm2022/{acorex-modules-platform-management-settings.provider-CnGAUpof.mjs.map → acorex-modules-platform-management-settings.provider-CHAI3QHV.mjs.map} +1 -1
- package/fesm2022/acorex-modules-platform-management.mjs +1 -1
- package/fesm2022/acorex-modules-project-management.mjs +95 -21
- package/fesm2022/acorex-modules-project-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-security-management-permissions-editor.component-Ccx0_9L_.mjs → acorex-modules-security-management-permissions-editor.component-B2OIvMs7.mjs} +2 -2
- package/fesm2022/{acorex-modules-security-management-permissions-editor.component-Ccx0_9L_.mjs.map → acorex-modules-security-management-permissions-editor.component-B2OIvMs7.mjs.map} +1 -1
- package/fesm2022/acorex-modules-security-management.mjs +1 -1
- package/package.json +1 -1
- package/platform-management/lib/entities/data-source/datasource-provider.dynamic.d.ts +2 -0
- package/platform-management/lib/features/common/regional/data-source.provider.d.ts +1 -0
- package/fesm2022/acorex-modules-content-management-acorex-modules-content-management-C23PlUCn.mjs +0 -392
- package/fesm2022/acorex-modules-content-management-acorex-modules-content-management-C23PlUCn.mjs.map +0 -1
- package/fesm2022/acorex-modules-content-management-promotion.entity-D3qRwZhQ.mjs +0 -892
- package/fesm2022/acorex-modules-content-management-promotion.entity-D3qRwZhQ.mjs.map +0 -1
- package/fesm2022/acorex-modules-platform-management-acorex-modules-platform-management-B8aACrqL.mjs.map +0 -1
@@ -1,7 +1,7 @@
|
|
1
1
|
import { createAllQueryView, AXPEntityCommandScope, AXPEntityQueryType, AXPSettingService, AXP_APP_VERSION_PROVIDER, createQueryView, AXPRegionalService, AXP_SETTING_DEFINITION_PROVIDER, AXP_MENU_PROVIDER } from '@acorex/platform/common';
|
2
2
|
import * as i2$2 from '@acorex/platform/layout/components';
|
3
3
|
import { AXPThemeLayoutBlockComponent, AXPComponentSlotModule } from '@acorex/platform/layout/components';
|
4
|
-
import { AXMEntityCrudServiceImpl,
|
4
|
+
import { AXMEntityCrudServiceImpl, AXPEntityResolver, AXPEntityService, AXP_ENTITY_CONFIG_TOKEN, AXP_ENTITY_DEFINITION_LOADER } from '@acorex/platform/layout/entity';
|
5
5
|
import * as i3$2 from '@acorex/platform/workflow';
|
6
6
|
import { AXPWorkflowAction, AXPWorkflowService, AXPWorkflowTaskProvider, AXPWorkflowModule, AXP_WORKFLOW_TASK_PROVIDER } from '@acorex/platform/workflow';
|
7
7
|
import * as i0 from '@angular/core';
|
@@ -592,7 +592,7 @@ class AXMListTermsComponent extends AXPPageLayoutBaseComponent {
|
|
592
592
|
provide: AXPPageLayoutBase,
|
593
593
|
useExisting: AXMListTermsComponent,
|
594
594
|
},
|
595
|
-
], usesInheritance: true, ngImport: i0, template: "<axp-page-layout *translate=\"let t\">\n @if(loaded()){\n <axp-page-content id=\"contentDiv\" axOutlineContainer target=\"h2\" [scrollableElementId]=\"'axp-page-layout'\"\n [activationOffset]=\"120\" class=\"ax-flex ax-flex-row\">\n <div class=\"ax-flex ax-flex-col\">\n @for (term of terms; track term.id) {\n <div class=\"ax-flex ax-flex-col\">\n <h2 class=\"ax-px-4 ax-font-semibold ax-text-xl\">{{ term.title }}</h2>\n <p class=\"ax-px-4 ax-text-sm ax-leading-5 ax-opacity-65\">\n {{ term.effectiveDate | format : 'datetime' | async }}\n </p>\n <div class=\"ax-pt-3 ax-pb-6 ax-px-4 ax-text-base/6\" [innerHTML]=\"term.content | safe:'html'\"></div>\n </div>\n }\n </div>\n @if(showScrollSide()){\n <div class=\"ax-hidden lg:ax-block ax-min-w-60\">\n <ax-side-menu axOutlineSideMenu look=\"with-line\" class=\"ax-w-full ax-sticky ax-top-24\"></ax-side-menu>\n </div>\n }\n </axp-page-content>\n }\n</axp-page-layout>", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "ngmodule", type: AXFormatModule }, { kind: "pipe", type: i2.AXFormatPipe, name: "format" }, { kind: "component", type: AXPThemeLayoutBlockComponent, selector: " axp-page-content, axp-page-footer-container, axp-page-footer, axp-page-header, axp-page-header-container, axp-page-toolbar, axp-layout-content, axp-layout-page-content, axp-layout-sections, axp-layout-body, axp-layout-page-body, axp-layout-prefix, axp-layout-suffix, axp-layout-title-bar, axp-layout-title, axp-layout-title-actions, axp-layout-nav-button, axp-layout-description, axp-layout-breadcrumbs, axp-layout-list-action, " }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "directive", type: i6.AXTranslatorDirective, selector: "[translate]" }, { kind: "ngmodule", type: AXSideMenuModule }, { kind: "component", type: i4.AXSideMenuComponent, selector: "ax-side-menu", inputs: ["items", "look", "location"], outputs: ["itemsChange"] }, { kind: "directive", type: i4.AXOutlineSideMenuDirective, selector: "[axOutlineSideMenu]", exportAs: ["axOutlineSideMenu"] }, { kind: "ngmodule", type: AXOutlineModule }, { kind: "directive", type: i5.AXOutlineContainerDirective, selector: "[axOutlineContainer]", inputs: ["target", "smoothScroll", "activationOffset", "activateLastAtBottom", "scrollableElementId"], exportAs: ["axOutlineContainer"] }, { kind: "component", type: AXPPageLayoutComponent, selector: "axp-page-layout" }, { kind: "pipe", type: AXSafePipe, name: "safe" }] }); }
|
595
|
+
], usesInheritance: true, ngImport: i0, template: "<axp-page-layout *translate=\"let t\">\n @if(loaded()){\n <axp-page-content id=\"contentDiv\" axOutlineContainer target=\"h2\" [scrollableElementId]=\"'axp-page-layout'\"\n [activationOffset]=\"120\" class=\"ax-flex ax-flex-row\">\n <div class=\"ax-flex ax-flex-col\">\n @for (term of terms; track term.id) {\n <div class=\"ax-flex ax-flex-col\">\n <h2 class=\"ax-px-4 ax-font-semibold ax-text-xl\">{{ term.title }}</h2>\n <p class=\"ax-px-4 ax-text-sm ax-leading-5 ax-opacity-65\">\n {{ term.effectiveDate | format : 'datetime' | async }}\n </p>\n <div class=\"ax-pt-3 ax-pb-6 ax-px-4 ax-text-base/6\" [innerHTML]=\"term.content | safe:'html'\"></div>\n </div>\n }\n </div>\n @if(showScrollSide()){\n <div class=\"ax-hidden lg:ax-block ax-min-w-60\">\n <ax-side-menu axOutlineSideMenu look=\"with-line\" class=\"ax-w-full ax-sticky ax-top-24\"></ax-side-menu>\n </div>\n }\n </axp-page-content>\n }\n</axp-page-layout>", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "ngmodule", type: AXFormatModule }, { kind: "pipe", type: i2.AXFormatPipe, name: "format" }, { kind: "component", type: AXPThemeLayoutBlockComponent, selector: " axp-page-content, axp-page-footer-container, axp-page-footer, axp-page-header, axp-page-header-container, axp-page-toolbar, axp-layout-content, axp-layout-page-content, axp-layout-sections, axp-layout-body, axp-layout-page-body, axp-layout-prefix, axp-layout-suffix, axp-layout-title-bar, axp-layout-title, axp-layout-title-actions, axp-layout-nav-button, axp-layout-description, axp-layout-breadcrumbs, axp-layout-list-action, " }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "directive", type: i6.AXTranslatorDirective, selector: "[translate]" }, { kind: "ngmodule", type: AXSideMenuModule }, { kind: "component", type: i4.AXSideMenuComponent, selector: "ax-side-menu", inputs: ["items", "look", "location"], outputs: ["itemsChange"] }, { kind: "directive", type: i4.AXOutlineSideMenuDirective, selector: "[axOutlineSideMenu]", exportAs: ["axOutlineSideMenu"] }, { kind: "ngmodule", type: AXOutlineModule }, { kind: "directive", type: i5.AXOutlineContainerDirective, selector: "[axOutlineContainer]", inputs: ["target", "smoothScroll", "showHashItem", "activationOffset", "copyUrlOnClick", "activateLastAtBottom", "scrollableElementId"], exportAs: ["axOutlineContainer"] }, { kind: "component", type: AXPPageLayoutComponent, selector: "axp-page-layout" }, { kind: "pipe", type: AXSafePipe, name: "safe" }] }); }
|
596
596
|
}
|
597
597
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXMListTermsComponent, decorators: [{
|
598
598
|
type: Component,
|
@@ -1431,7 +1431,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
|
|
1431
1431
|
async function dataSourceEntityFactory(injector) {
|
1432
1432
|
const dataService = injector.get(AXMDataSourceService);
|
1433
1433
|
const i18n = RootConfig.config.i18n;
|
1434
|
-
const entitiesService = injector.get(AXPEntityDefinitionRegistryService);
|
1435
1434
|
const translationService = injector.get(AXTranslationService);
|
1436
1435
|
const dataSourceDefinitionService = injector.get(AXPDataSourceDefinitionProviderService);
|
1437
1436
|
const entityDef = {
|
@@ -1572,7 +1571,7 @@ async function dataSourceEntityFactory(injector) {
|
|
1572
1571
|
title: 'External Api',
|
1573
1572
|
},
|
1574
1573
|
{
|
1575
|
-
name: '
|
1574
|
+
name: 'query',
|
1576
1575
|
title: 'Query',
|
1577
1576
|
},
|
1578
1577
|
{
|
@@ -1638,7 +1637,7 @@ async function dataSourceEntityFactory(injector) {
|
|
1638
1637
|
type: AXPWidgetsCatalog.select,
|
1639
1638
|
options: {
|
1640
1639
|
//TODO problem selectBox!
|
1641
|
-
visibility: '{{context.eval("sourceType")?.name == "
|
1640
|
+
visibility: '{{context.eval("sourceType")?.name == "query" }}',
|
1642
1641
|
valueField: 'name',
|
1643
1642
|
textField: 'title',
|
1644
1643
|
dataSource: new AXDataSource({
|
@@ -1727,7 +1726,7 @@ async function dataSourceEntityFactory(injector) {
|
|
1727
1726
|
commands: {
|
1728
1727
|
create: {
|
1729
1728
|
execute: async (data) => {
|
1730
|
-
if (data.sourceType.name == '
|
1729
|
+
if (data.sourceType.name == 'query') {
|
1731
1730
|
data.sourceEntity = data.sourceEntity?.name;
|
1732
1731
|
}
|
1733
1732
|
const res = await dataService.insertOne(data);
|
@@ -2102,14 +2101,14 @@ async function dataSourceEntityFactory(injector) {
|
|
2102
2101
|
{
|
2103
2102
|
title: 't("detail", { scope: "common" })',
|
2104
2103
|
command: 'open-entity',
|
2105
|
-
priority: '
|
2104
|
+
priority: 'secondary',
|
2106
2105
|
type: 'view',
|
2107
2106
|
scope: AXPEntityCommandScope.Individual,
|
2108
2107
|
},
|
2109
2108
|
{
|
2110
2109
|
title: 't("delete", { scope: "common" })',
|
2111
2110
|
command: 'delete-entity',
|
2112
|
-
priority: '
|
2111
|
+
priority: 'secondary',
|
2113
2112
|
type: 'delete',
|
2114
2113
|
scope: AXPEntityCommandScope.Individual,
|
2115
2114
|
},
|
@@ -2134,14 +2133,14 @@ async function dataSourceEntityFactory(injector) {
|
|
2134
2133
|
},
|
2135
2134
|
],
|
2136
2135
|
}),
|
2137
|
-
createQueryView('
|
2136
|
+
createQueryView('query', `t("query", { scope: "${i18n}" })`, true, {
|
2138
2137
|
conditions: [
|
2139
2138
|
{
|
2140
2139
|
name: 'sourceType.name',
|
2141
2140
|
operator: {
|
2142
2141
|
type: 'equal',
|
2143
2142
|
},
|
2144
|
-
value: '
|
2143
|
+
value: 'query',
|
2145
2144
|
},
|
2146
2145
|
],
|
2147
2146
|
}),
|
@@ -3870,10 +3869,46 @@ class AXPRegionalWidgetDataSourceProvider {
|
|
3870
3869
|
{ code: 'ES', title: 'Spanish', nativeName: 'Español' },
|
3871
3870
|
],
|
3872
3871
|
};
|
3872
|
+
//#endregion
|
3873
|
+
//#region Timezones
|
3874
|
+
this.timezones = {
|
3875
|
+
name: 'timezones',
|
3876
|
+
title: 'Timezones',
|
3877
|
+
textField: 'title',
|
3878
|
+
valueField: 'iana',
|
3879
|
+
columns: [
|
3880
|
+
{
|
3881
|
+
name: 'code',
|
3882
|
+
title: 'Code',
|
3883
|
+
},
|
3884
|
+
{
|
3885
|
+
name: 'title',
|
3886
|
+
title: 'Title',
|
3887
|
+
},
|
3888
|
+
],
|
3889
|
+
source: async () => {
|
3890
|
+
const list = await this.regionalService.getTimeZones();
|
3891
|
+
return new AXDataSource({
|
3892
|
+
pageSize: 20,
|
3893
|
+
key: 'code',
|
3894
|
+
load: (e) => {
|
3895
|
+
return applyQueryArray(list, e);
|
3896
|
+
},
|
3897
|
+
byKey: async (key) => {
|
3898
|
+
return list.find((t) => t.code == key);
|
3899
|
+
},
|
3900
|
+
});
|
3901
|
+
},
|
3902
|
+
samples: [
|
3903
|
+
{ code: 'GMT-5', title: 'Eastern Time (US & Canada)' },
|
3904
|
+
{ code: 'GMT+0', title: 'Greenwich Mean Time' },
|
3905
|
+
{ code: 'GMT+1', title: 'Central European Time' },
|
3906
|
+
],
|
3907
|
+
};
|
3873
3908
|
}
|
3874
3909
|
//#endregion
|
3875
3910
|
async items() {
|
3876
|
-
return [this.country, this.cities, this.provinces, this.currencies, this.languages];
|
3911
|
+
return [this.country, this.cities, this.provinces, this.currencies, this.languages, this.timezones];
|
3877
3912
|
}
|
3878
3913
|
}
|
3879
3914
|
|
@@ -3896,7 +3931,7 @@ class AXMPlatformManagementCommonModule {
|
|
3896
3931
|
provide: AXP_SETTING_DEFINITION_PROVIDER,
|
3897
3932
|
useFactory: async () => {
|
3898
3933
|
const injector = inject(Injector);
|
3899
|
-
const provider = (await import('./acorex-modules-platform-management-settings.provider-
|
3934
|
+
const provider = (await import('./acorex-modules-platform-management-settings.provider-CHAI3QHV.mjs')).AXMRegionalSettingProvider;
|
3900
3935
|
return new provider(injector);
|
3901
3936
|
},
|
3902
3937
|
multi: true
|
@@ -3935,7 +3970,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
|
|
3935
3970
|
provide: AXP_SETTING_DEFINITION_PROVIDER,
|
3936
3971
|
useFactory: async () => {
|
3937
3972
|
const injector = inject(Injector);
|
3938
|
-
const provider = (await import('./acorex-modules-platform-management-settings.provider-
|
3973
|
+
const provider = (await import('./acorex-modules-platform-management-settings.provider-CHAI3QHV.mjs')).AXMRegionalSettingProvider;
|
3939
3974
|
return new provider(injector);
|
3940
3975
|
},
|
3941
3976
|
multi: true
|
@@ -3953,6 +3988,7 @@ class AXMDynamicDataSourceProvider {
|
|
3953
3988
|
constructor() {
|
3954
3989
|
this.dataSourceService = inject(AXMDataSourceService);
|
3955
3990
|
this.entityResolverService = inject(AXPEntityResolver);
|
3991
|
+
this.dataSourceDefinitionProviderService = inject(AXPDataSourceDefinitionProviderService);
|
3956
3992
|
}
|
3957
3993
|
async items() {
|
3958
3994
|
const dataSources = await this.dataSourceService.query({
|
@@ -3969,24 +4005,10 @@ class AXMDynamicDataSourceProvider {
|
|
3969
4005
|
return convertArrayToDataSource(item.sourceStatic);
|
3970
4006
|
}
|
3971
4007
|
// Entity
|
3972
|
-
else if (item.sourceType.name == '
|
3973
|
-
const
|
3974
|
-
|
3975
|
-
|
3976
|
-
if (exFn && typeof exFn == 'function') {
|
3977
|
-
return new AXDataSource({
|
3978
|
-
key: 'id',
|
3979
|
-
pageSize: 10,
|
3980
|
-
load: async (e) => {
|
3981
|
-
try {
|
3982
|
-
const result = await exFn(e);
|
3983
|
-
return result;
|
3984
|
-
}
|
3985
|
-
catch (error) {
|
3986
|
-
throw error;
|
3987
|
-
}
|
3988
|
-
},
|
3989
|
-
});
|
4008
|
+
else if (item.sourceType.name == 'query') {
|
4009
|
+
const definition = await this.dataSourceDefinitionProviderService.get(item.sourceEntity);
|
4010
|
+
if (definition) {
|
4011
|
+
return definition.source();
|
3990
4012
|
}
|
3991
4013
|
}
|
3992
4014
|
//
|
@@ -4119,7 +4141,7 @@ class AXMShowReleaseNotesPopupAction extends AXPWorkflowAction {
|
|
4119
4141
|
}
|
4120
4142
|
async execute(context) {
|
4121
4143
|
const scope = RootConfig.config.i18n;
|
4122
|
-
const comp = await (await import('./acorex-modules-platform-management-list-version.component-
|
4144
|
+
const comp = await (await import('./acorex-modules-platform-management-list-version.component-CGxYFnd9.mjs')).AXMListVersionComponent;
|
4123
4145
|
this.popupService.open(comp, {
|
4124
4146
|
title: `t('release-notes',{scope: "${scope}"})`,
|
4125
4147
|
});
|
@@ -4416,12 +4438,11 @@ class AXPTaskBoardTaskProvider extends AXPWorkflowTaskProvider {
|
|
4416
4438
|
this.list = [
|
4417
4439
|
{
|
4418
4440
|
id: 3,
|
4419
|
-
title: '
|
4420
|
-
|
4421
|
-
|
4422
|
-
description: '
|
4423
|
-
|
4424
|
-
backgroundColor: 'rgba(var(--ax-sys-color-warning-surface))',
|
4441
|
+
title: 'Deploy new security patch',
|
4442
|
+
startDate: this.calendarService.create(new Date()).add('day', 2).date,
|
4443
|
+
endDate: this.calendarService.create(new Date()).add('day', 3).date,
|
4444
|
+
description: 'Apply critical security patch to all production servers.',
|
4445
|
+
priority: 'highest',
|
4425
4446
|
allDay: true,
|
4426
4447
|
data: {
|
4427
4448
|
actions: [
|
@@ -4429,33 +4450,90 @@ class AXPTaskBoardTaskProvider extends AXPWorkflowTaskProvider {
|
|
4429
4450
|
name: 'edit',
|
4430
4451
|
title: 'Edit',
|
4431
4452
|
icon: 'fa-light fa-pencil',
|
4432
|
-
command: {
|
4433
|
-
name: 'edit',
|
4434
|
-
options: {
|
4435
|
-
taskId: 3,
|
4436
|
-
},
|
4437
|
-
},
|
4453
|
+
command: { name: 'edit', options: { taskId: 3 } },
|
4438
4454
|
},
|
4439
4455
|
],
|
4440
4456
|
},
|
4441
4457
|
},
|
4442
4458
|
{
|
4443
4459
|
id: 4,
|
4444
|
-
|
4445
|
-
startDate: new Date(),
|
4446
|
-
|
4460
|
+
title: 'Monitor server performance',
|
4461
|
+
startDate: this.calendarService.create(new Date()).set('hour', 9).date,
|
4462
|
+
endDate: this.calendarService.create(new Date()).set('hour', 10).add('minute', -30).date,
|
4463
|
+
description: 'Live monitoring of server load during peak hours.',
|
4464
|
+
priority: 'high',
|
4465
|
+
allDay: false,
|
4447
4466
|
data: {
|
4448
4467
|
actions: [
|
4449
4468
|
{
|
4450
4469
|
name: 'edit',
|
4451
4470
|
title: 'Edit',
|
4452
4471
|
icon: 'fa-light fa-pencil',
|
4453
|
-
command: {
|
4454
|
-
|
4455
|
-
|
4456
|
-
|
4457
|
-
|
4458
|
-
|
4472
|
+
command: { name: 'edit', options: { taskId: 4 } },
|
4473
|
+
},
|
4474
|
+
{
|
4475
|
+
name: 'view-logs',
|
4476
|
+
title: 'View Logs',
|
4477
|
+
icon: 'fa-light fa-file-waveform',
|
4478
|
+
command: { name: 'viewLogs', options: { taskId: 4 } },
|
4479
|
+
},
|
4480
|
+
],
|
4481
|
+
},
|
4482
|
+
},
|
4483
|
+
{
|
4484
|
+
id: 5,
|
4485
|
+
title: 'Weekly database backup',
|
4486
|
+
startDate: this.calendarService.create(new Date()).set('hour', 2).date,
|
4487
|
+
endDate: this.calendarService.create(new Date()).set('hour', 4).date,
|
4488
|
+
description: 'Perform full backup of the main database. System will be in maintenance mode.',
|
4489
|
+
priority: 'medium',
|
4490
|
+
allDay: false,
|
4491
|
+
readonly: true,
|
4492
|
+
data: {
|
4493
|
+
actions: [
|
4494
|
+
{
|
4495
|
+
name: 'view-status',
|
4496
|
+
title: 'View Status',
|
4497
|
+
icon: 'fa-light fa-circle-info',
|
4498
|
+
command: { name: 'viewStatus', options: { taskId: 5 } },
|
4499
|
+
},
|
4500
|
+
],
|
4501
|
+
},
|
4502
|
+
},
|
4503
|
+
{
|
4504
|
+
id: 6,
|
4505
|
+
title: 'Review user feedback logs',
|
4506
|
+
startDate: this.calendarService.create(new Date()).add('day', 1).date,
|
4507
|
+
endDate: this.calendarService.create(new Date()).add('day', 3).date,
|
4508
|
+
description: 'Analyze logs from the past month to identify common issues.',
|
4509
|
+
priority: 'low',
|
4510
|
+
allDay: true,
|
4511
|
+
data: {
|
4512
|
+
actions: [
|
4513
|
+
{
|
4514
|
+
name: 'edit',
|
4515
|
+
title: 'Edit',
|
4516
|
+
icon: 'fa-light fa-pencil',
|
4517
|
+
command: { name: 'edit', options: { taskId: 6 } },
|
4518
|
+
},
|
4519
|
+
],
|
4520
|
+
},
|
4521
|
+
},
|
4522
|
+
{
|
4523
|
+
id: 7,
|
4524
|
+
title: 'Renew SSL Certificates',
|
4525
|
+
startDate: this.calendarService.create(new Date()).add('day', 10).date,
|
4526
|
+
endDate: this.calendarService.create(new Date()).add('day', 11).date,
|
4527
|
+
description: 'Renew expiring SSL certificates for *.acorex.com.',
|
4528
|
+
priority: 'high',
|
4529
|
+
allDay: true,
|
4530
|
+
data: {
|
4531
|
+
actions: [
|
4532
|
+
{
|
4533
|
+
name: 'edit',
|
4534
|
+
title: 'Edit',
|
4535
|
+
icon: 'fa-light fa-pencil',
|
4536
|
+
command: { name: 'edit', options: { taskId: 7 } },
|
4459
4537
|
},
|
4460
4538
|
],
|
4461
4539
|
},
|
@@ -4751,4 +4829,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
|
|
4751
4829
|
*/
|
4752
4830
|
|
4753
4831
|
export { AXPRegionalSetting as A, AXMGlossaryServiceImpl as B, metaDataDefinitionFactory as C, AXMMetaDataDefinitionService as D, AXMPMetaDataDefinitionServiceImpl as E, metaDataDefinitionCategoryEntityFactory as F, AXMMetaDataDefinitionCategoryService as G, AXMMetaDataDefinitionCategoryServiceImpl as H, AXPRegionalStoreService as I, AXMUpdaterModule as J, AXPUpdaterService as K, RootConfig as R, AXMAppVersionService as a, AXMPlatformManagementModule as b, appTermEntityEntityFactory as c, AXMAppTermService as d, AXMAppTermServiceImpl as e, AXMListTermsComponent as f, AXMNotifyNewTermPopupAction as g, AXMTermUpdateSettingAction as h, AXMNewTermWorkflow as i, appVersionEntityEntityFactory as j, AXMAppVersionServiceImpl as k, AXMNotifyAppComponent as l, AXMAppVersionSlotComponent as m, AXMChangeLogPopupAction as n, AXMChangeLogUpdateSettingAction as o, AXMWhatsNewWorkflow as p, AXMCheckNewVersionAction as q, AXMCheckNewVersionWorkflow as r, dataSourceEntityFactory as s, AXMDataSourceService as t, AXMDataSourceServiceImpl as u, globalVariableEntityFactory as v, AXMGlobalVariablesService as w, AXMGlobalVariablesServiceImpl as x, glossaryEntityFactory as y, AXMGlossaryService as z };
|
4754
|
-
//# sourceMappingURL=acorex-modules-platform-management-acorex-modules-platform-management-
|
4832
|
+
//# sourceMappingURL=acorex-modules-platform-management-acorex-modules-platform-management-CGGoHpYi.mjs.map
|