@acorex-platform/module-common-client 2.0.0-next.5 → 2.0.0-next.50

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. package/README.md +34 -0
  2. package/fesm2022/{acorex-platform-module-common-client-acorex-platform-module-common-client-D2iWgdxu.mjs → acorex-platform-module-common-client-acorex-platform-module-common-client-Ddy8CyRr.mjs} +158 -17
  3. package/fesm2022/acorex-platform-module-common-client-acorex-platform-module-common-client-Ddy8CyRr.mjs.map +1 -0
  4. package/fesm2022/{acorex-platform-module-common-client-archive-entity.command-Bi-36t8z.mjs → acorex-platform-module-common-client-archive-entity.command-DNRamPY_.mjs} +2 -2
  5. package/fesm2022/{acorex-platform-module-common-client-archive-entity.command-Bi-36t8z.mjs.map → acorex-platform-module-common-client-archive-entity.command-DNRamPY_.mjs.map} +1 -1
  6. package/fesm2022/{acorex-platform-module-common-client-archive-entity.command.util-PWLnCnEK.mjs → acorex-platform-module-common-client-archive-entity.command.util-tybx_HAo.mjs} +2 -2
  7. package/fesm2022/{acorex-platform-module-common-client-archive-entity.command.util-PWLnCnEK.mjs.map → acorex-platform-module-common-client-archive-entity.command.util-tybx_HAo.mjs.map} +1 -1
  8. package/fesm2022/{acorex-platform-module-common-client-audit-info-column.component-DhYUlBgr.mjs → acorex-platform-module-common-client-audit-info-column.component-DCsjsIdo.mjs} +2 -2
  9. package/fesm2022/{acorex-platform-module-common-client-audit-info-column.component-DhYUlBgr.mjs.map → acorex-platform-module-common-client-audit-info-column.component-DCsjsIdo.mjs.map} +1 -1
  10. package/fesm2022/{acorex-platform-module-common-client-bulk-archive-entity.command-D7trLk58.mjs → acorex-platform-module-common-client-bulk-archive-entity.command-ocN9hgEM.mjs} +2 -2
  11. package/fesm2022/{acorex-platform-module-common-client-bulk-archive-entity.command-D7trLk58.mjs.map → acorex-platform-module-common-client-bulk-archive-entity.command-ocN9hgEM.mjs.map} +1 -1
  12. package/fesm2022/{acorex-platform-module-common-client-bulk-restore-archive-entity.command-BnSzZsI2.mjs → acorex-platform-module-common-client-bulk-restore-archive-entity.command-BkXn5-Ma.mjs} +2 -2
  13. package/fesm2022/{acorex-platform-module-common-client-bulk-restore-archive-entity.command-BnSzZsI2.mjs.map → acorex-platform-module-common-client-bulk-restore-archive-entity.command-BkXn5-Ma.mjs.map} +1 -1
  14. package/fesm2022/{acorex-platform-module-common-client-clone-entity.command-DeCYclgZ.mjs → acorex-platform-module-common-client-clone-entity.command-B2LxTOY2.mjs} +2 -2
  15. package/fesm2022/{acorex-platform-module-common-client-clone-entity.command-DeCYclgZ.mjs.map → acorex-platform-module-common-client-clone-entity.command-B2LxTOY2.mjs.map} +1 -1
  16. package/fesm2022/acorex-platform-module-common-client-contracts.mjs +7 -6
  17. package/fesm2022/acorex-platform-module-common-client-contracts.mjs.map +1 -1
  18. package/fesm2022/{acorex-platform-module-common-client-restore-archive-entity.command-C_vgLiV2.mjs → acorex-platform-module-common-client-restore-archive-entity.command-DKosoP7I.mjs} +2 -2
  19. package/fesm2022/{acorex-platform-module-common-client-restore-archive-entity.command-C_vgLiV2.mjs.map → acorex-platform-module-common-client-restore-archive-entity.command-DKosoP7I.mjs.map} +1 -1
  20. package/fesm2022/{acorex-platform-module-common-client-search-popup.component-C-Ug9qoD.mjs → acorex-platform-module-common-client-search-popup.component-CbTSFMR7.mjs} +2 -2
  21. package/fesm2022/{acorex-platform-module-common-client-search-popup.component-C-Ug9qoD.mjs.map → acorex-platform-module-common-client-search-popup.component-CbTSFMR7.mjs.map} +1 -1
  22. package/fesm2022/{acorex-platform-module-common-client-timeline-version-history-popup.component-DIipjaFX.mjs → acorex-platform-module-common-client-timeline-version-history-popup.component-DGc0B1YA.mjs} +2 -2
  23. package/fesm2022/{acorex-platform-module-common-client-timeline-version-history-popup.component-DIipjaFX.mjs.map → acorex-platform-module-common-client-timeline-version-history-popup.component-DGc0B1YA.mjs.map} +1 -1
  24. package/fesm2022/acorex-platform-module-common-client.mjs +1 -1
  25. package/i18n/en-AU/common.json +9 -5
  26. package/i18n/en-US/common.json +9 -5
  27. package/i18n/fa-IR/common.json +5 -1
  28. package/package.json +1 -1
  29. package/types/acorex-platform-module-common-client-contracts.d.ts +5 -5
  30. package/types/acorex-platform-module-common-client.d.ts +41 -3
  31. package/fesm2022/acorex-platform-module-common-client-acorex-platform-module-common-client-D2iWgdxu.mjs.map +0 -1
@@ -76,8 +76,8 @@ declare const AXPCommonMenuKeys: {
76
76
  readonly DocumentManagementConfig: "Common:Menu:Configuration:DocumentManagement";
77
77
  /** Configuration > Forms & Assessments (Question Bank, Questionnaires, Form Templates) */
78
78
  readonly FormsAndAssessments: "Common:Menu:Configuration:FormsAndAssessments";
79
- /** Configuration > Reservation (Types, Statuses, Classes) */
80
- readonly ReservationConfig: "Common:Menu:Configuration:Reservation";
79
+ /** Configuration > Booking (types, statuses, booking policies, actions, resource settings) */
80
+ readonly ResourceBookingConfig: "Common:Menu:Configuration:ResourceBooking";
81
81
  /** Configuration > Date and Time (Timezones, Calendars, Calendar Event Types) */
82
82
  readonly DateAndTime: "Common:Menu:Configuration:DateAndTime";
83
83
  /** Configuration > Region and Locale (Location Types, Geographic Regions, Languages) */
@@ -88,7 +88,7 @@ declare const AXPCommonMenuKeys: {
88
88
  readonly Health: "Common:Menu:Configuration:Health";
89
89
  /** Configuration > Projects (Project + Task reference data) */
90
90
  readonly Projects: "Common:Menu:Configuration:Projects";
91
- /** Configuration > Scheduling and Events (Meeting + Reservation types) */
91
+ /** Configuration > Scheduling and Events (Meeting + Booking types) */
92
92
  readonly SchedulingAndEvents: "Common:Menu:Configuration:SchedulingAndEvents";
93
93
  /** Configuration > Data and Content (Documents + Data Definitions) */
94
94
  readonly DataAndContent: "Common:Menu:Configuration:DataAndContent";
@@ -238,11 +238,11 @@ declare const AXPPermissionDomainModules: {
238
238
  readonly SafetyRisk: readonly ["WorkplaceSafetyManagement", "RiskManagement", "HealthCore", "AssessmentManagement"];
239
239
  readonly ProjectsWork: readonly ["ProjectManagement", "TaskManagement", "TimesheetManagement"];
240
240
  readonly AssetsMaintenance: readonly ["AssetManagement", "MaintenanceManagement", "MeasurementCore"];
241
- readonly Collaboration: readonly ["Conversation", "CalendarManagement", "MeetingManagement", "CommunicationManagement", "BulletinManagement", "ReservationManagement", "HelpDesk", "ContactCore"];
241
+ readonly Collaboration: readonly ["Conversation", "CalendarManagement", "MeetingManagement", "CommunicationManagement", "BulletinManagement", "ResourceBookingManagement", "HelpDesk", "ContactCore"];
242
242
  readonly ContentDocuments: readonly ["DocumentManagement", "ContentManagement", "AssessmentManagement"];
243
243
  readonly InsightsReporting: readonly ["ReportManagement", "DataManagement", "ActivityInsight", "TestManagement"];
244
244
  readonly SalesCustomers: readonly ["CustomerManagement", "ProductCatalog", "OrderManagement", "SubscriptionManagement", "BusinessCore"];
245
- readonly Procurement: readonly ["SupplierManagement", "ProcurementManagement"];
245
+ readonly Procurement: readonly ["SupplierManagement", "ContractorManagement", "ProcurementManagement"];
246
246
  readonly Learning: readonly ["LearningManagement"];
247
247
  readonly Finance: readonly ["FinancialCore"];
248
248
  };
@@ -5,6 +5,7 @@ import { AXPCompareViewInputs, AXPCompareViewMode, AXPActivityLogCompareRequest
5
5
  import * as i1 from '@acorex/core/validation';
6
6
  import { AXValidationRuleOptions, AXValidationRule, AXValidationRuleResult } from '@acorex/core/validation';
7
7
  import * as i24 from '@acorex-platform/framework-client/layout/widgets';
8
+ import { AXPMultiLanguageString, AXPExpressionEvaluatorScopeProvider, AXPExpressionEvaluatorScopeProviderContext, AXPSystemActionType, AXPContextData, AXPStatusProvider, AXPStatusDefinition, AXPStatusTransition, AXPSystemStatusType, AXPBreadcrumbItem } from '@acorex-platform/framework-shared/core';
8
9
  import { AXPMenuProvider, AXPMenuProviderContext, AXPSettingDefinitionProvider, AXPSettingDefinitionProviderContext, AXPSearchDisplayGroupResult, AXPSearchDisplayResult, AXPVersionEntry, AXVChangeType } from '@acorex-platform/framework-client/common';
9
10
  import * as i1$1 from '@acorex-platform/framework-client/core';
10
11
  import { AXPFeatureDefinitionProvider, AXPFeatureDefinitionProviderContext, AXPActivityLog } from '@acorex-platform/framework-client/core';
@@ -15,7 +16,6 @@ import { AXPWidgetConfig } from '@acorex-platform/framework-shared/widget-core';
15
16
  import { AXPCommand, AXPCommandExecuteResultPromise } from '@acorex-platform/framework-shared/runtime';
16
17
  import * as dist_libs_framework_client_types_acorex_platform_framework_client_core from 'dist/libs/framework/client/types/acorex-platform-framework-client-core';
17
18
  import { AXPPageLayoutBaseComponent } from '@acorex-platform/framework-client/layout/views';
18
- import { AXPSystemActionType, AXPMultiLanguageString, AXPContextData, AXPStatusProvider, AXPStatusDefinition, AXPStatusTransition, AXPSystemStatusType, AXPBreadcrumbItem } from '@acorex-platform/framework-shared/core';
19
19
 
20
20
  declare class AXPCategoryModule {
21
21
  static ɵfac: i0.ɵɵFactoryDeclaration<AXPCategoryModule, never>;
@@ -197,6 +197,44 @@ declare class AXMCommonModule {
197
197
  static ɵinj: i0.ɵɵInjectorDeclaration<AXMCommonModule>;
198
198
  }
199
199
 
200
+ type AXPEntityExpressionResult = {
201
+ status: 'saved';
202
+ id?: string;
203
+ data: unknown;
204
+ } | {
205
+ status: 'cancelled';
206
+ } | {
207
+ status: 'failed';
208
+ message: AXPMultiLanguageString;
209
+ };
210
+ /** Shared entity access for expressions. Dialogs keep the calling form open. */
211
+ declare class AXPEntityExpressionService {
212
+ private readonly commands;
213
+ private readonly entities;
214
+ get(type: string, id: string): Promise<unknown>;
215
+ create(type: string, data?: Record<string, unknown>): Promise<AXPEntityExpressionResult>;
216
+ edit(type: string, id: string): Promise<AXPEntityExpressionResult>;
217
+ private validate;
218
+ private validateId;
219
+ private open;
220
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXPEntityExpressionService, never>;
221
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXPEntityExpressionService>;
222
+ }
223
+
224
+ declare class AXPEntityEvaluatorScopeProvider implements AXPExpressionEvaluatorScopeProvider {
225
+ private readonly entities;
226
+ provide(context: AXPExpressionEvaluatorScopeProviderContext): Promise<void>;
227
+ }
228
+
229
+ /**
230
+ * Any host can expose its relationship as `context.eval('subjectRef')`.
231
+ * Each evaluation binds to that host; no current-subject state is shared.
232
+ */
233
+ declare class AXPSubjectEvaluatorScopeProvider implements AXPExpressionEvaluatorScopeProvider {
234
+ private readonly entities;
235
+ provide(context: AXPExpressionEvaluatorScopeProviderContext): Promise<void>;
236
+ }
237
+
200
238
  declare class AXMMenuProvider implements AXPMenuProvider {
201
239
  private sessionService;
202
240
  private homePageService;
@@ -777,5 +815,5 @@ declare class AXPResourceAppointmentPageComponent extends AXPPageLayoutBaseCompo
777
815
  static ɵcmp: i0.ɵɵComponentDeclaration<AXPResourceAppointmentPageComponent, "axp-resource-appointment-page", never, {}, {}, never, never, true, never>;
778
816
  }
779
817
 
780
- export { AXMCommonModule, AXMMenuProvider, AXMSettingProvider, AXMVersionHistoryPageComponent, AXPArchivePluginModule, AXPCommonFeatureDefinitionProvider, AXPDerivedNamePluginModule, AXPDisablePluginModule, AXPGlobalSearchModule, AXPGlobalSearchViewModel, AXPHistoryAuditInfoWidget, AXPHistoryModule, AXPLockEntityCommand, AXPResourceAppointmentPageComponent, AXPStatusPluginModule, AXPUniqueFieldsPluginModule, AXPUnlockEntityCommand, AXPValidationRulesModule, AXPVersioningPluginModule, AXP_ENTITY_ARCHIVE_OVERRIDES, AXP_GLOBAL_SEARCH_CONFIG_TOKEN, AXP_RESOURCE_APPOINTMENT_PAGE_CONFIG, ApprovalStatusProvider, AtLeastOneOfValidationRule, HISTORY_PAGE_COMPONENT_KEY, ShowVersionHistoryPopupCommand, StateStatusProvider, TaskStatusProvider, UniqueValidationRule, VARIABLE_NAME_VALIDATION_PATTERN, VariableNameValidationRule, aggregateVersionHistoryBarChartItems, archivePlugin, buildEntityFieldHistoryLineChartSeries, buildProductBasePriceHistoryLineChartSeries, derivedNamePlugin, disablePlugin, formatVersionHistoryReplaceSummary, getActiveStatuses, getFinalStatuses, getInitialStatuses, getStatusByName, getTransitionsFromStatus, getTransitionsToStatus, historyPlugin, humanizeChange, isRtlHistoryLocale, isValidTransition, isValidVariableName, mapChangeType, mapOpToAction, resolvePathKey, statusPlugin, toVariableName, uniqueFieldsPlugin, versionEntriesToActivityLogs, versioningPlugin };
781
- export type { AXAtLeastOneOfValidationRuleOptions, AXPArchivePluginOptions, AXPDerivedNameExtension, AXPDerivedNamePluginOptions, AXPDisablePluginOptions, AXPEntityArchiveOverride, AXPEntityHistoryBarChartItem, AXPEntityHistoryLineChartPoint, AXPEntityHistoryLineChartSeries, AXPGlobalSearchConfigs, AXPHistoryPluginOptions, AXPLockEntityCommandOutput, AXPResourceAppointmentPageConfig, AXPStatusPluginGenerateOptions, AXPStatusPluginGenerateViewsOptions, AXPStatusPluginOptions, AXPUnlockEntityCommandOutput, AXVariableNameValidationRuleOptions, GetHistoryLayoutResolver, HistoryDisplayMode, ShowVersionHistoryPopupInput, UniqueFieldsPluginOptions };
818
+ export { AXMCommonModule, AXMMenuProvider, AXMSettingProvider, AXMVersionHistoryPageComponent, AXPArchivePluginModule, AXPCommonFeatureDefinitionProvider, AXPDerivedNamePluginModule, AXPDisablePluginModule, AXPEntityEvaluatorScopeProvider, AXPEntityExpressionService, AXPGlobalSearchModule, AXPGlobalSearchViewModel, AXPHistoryAuditInfoWidget, AXPHistoryModule, AXPLockEntityCommand, AXPResourceAppointmentPageComponent, AXPStatusPluginModule, AXPSubjectEvaluatorScopeProvider, AXPUniqueFieldsPluginModule, AXPUnlockEntityCommand, AXPValidationRulesModule, AXPVersioningPluginModule, AXP_ENTITY_ARCHIVE_OVERRIDES, AXP_GLOBAL_SEARCH_CONFIG_TOKEN, AXP_RESOURCE_APPOINTMENT_PAGE_CONFIG, ApprovalStatusProvider, AtLeastOneOfValidationRule, HISTORY_PAGE_COMPONENT_KEY, ShowVersionHistoryPopupCommand, StateStatusProvider, TaskStatusProvider, UniqueValidationRule, VARIABLE_NAME_VALIDATION_PATTERN, VariableNameValidationRule, aggregateVersionHistoryBarChartItems, archivePlugin, buildEntityFieldHistoryLineChartSeries, buildProductBasePriceHistoryLineChartSeries, derivedNamePlugin, disablePlugin, formatVersionHistoryReplaceSummary, getActiveStatuses, getFinalStatuses, getInitialStatuses, getStatusByName, getTransitionsFromStatus, getTransitionsToStatus, historyPlugin, humanizeChange, isRtlHistoryLocale, isValidTransition, isValidVariableName, mapChangeType, mapOpToAction, resolvePathKey, statusPlugin, toVariableName, uniqueFieldsPlugin, versionEntriesToActivityLogs, versioningPlugin };
819
+ export type { AXAtLeastOneOfValidationRuleOptions, AXPArchivePluginOptions, AXPDerivedNameExtension, AXPDerivedNamePluginOptions, AXPDisablePluginOptions, AXPEntityArchiveOverride, AXPEntityExpressionResult, AXPEntityHistoryBarChartItem, AXPEntityHistoryLineChartPoint, AXPEntityHistoryLineChartSeries, AXPGlobalSearchConfigs, AXPHistoryPluginOptions, AXPLockEntityCommandOutput, AXPResourceAppointmentPageConfig, AXPStatusPluginGenerateOptions, AXPStatusPluginGenerateViewsOptions, AXPStatusPluginOptions, AXPUnlockEntityCommandOutput, AXVariableNameValidationRuleOptions, GetHistoryLayoutResolver, HistoryDisplayMode, ShowVersionHistoryPopupInput, UniqueFieldsPluginOptions };