@acorex-platform/module-common-client 2.0.0-next.6 → 2.0.0-next.62
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/README.md +34 -0
- package/fesm2022/{acorex-platform-module-common-client-acorex-platform-module-common-client-D2iWgdxu.mjs → acorex-platform-module-common-client-acorex-platform-module-common-client-BIljzAkC.mjs} +180 -39
- package/fesm2022/acorex-platform-module-common-client-acorex-platform-module-common-client-BIljzAkC.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-common-client-archive-entity.command-Bi-36t8z.mjs → acorex-platform-module-common-client-archive-entity.command-EMUA8UIq.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-common-client-archive-entity.command-Bi-36t8z.mjs.map → acorex-platform-module-common-client-archive-entity.command-EMUA8UIq.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-common-client-archive-entity.command.util-PWLnCnEK.mjs → acorex-platform-module-common-client-archive-entity.command.util-BUzBgd5X.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-common-client-archive-entity.command.util-PWLnCnEK.mjs.map → acorex-platform-module-common-client-archive-entity.command.util-BUzBgd5X.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-common-client-audit-info-column.component-DhYUlBgr.mjs → acorex-platform-module-common-client-audit-info-column.component-Lta_QYvp.mjs} +3 -3
- package/fesm2022/{acorex-platform-module-common-client-audit-info-column.component-DhYUlBgr.mjs.map → acorex-platform-module-common-client-audit-info-column.component-Lta_QYvp.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-common-client-audit-info-edit.component-aCgPXlef.mjs → acorex-platform-module-common-client-audit-info-edit.component-CQxZaIsN.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-common-client-audit-info-edit.component-aCgPXlef.mjs.map → acorex-platform-module-common-client-audit-info-edit.component-CQxZaIsN.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-common-client-audit-info-view.component-lgzqcHCv.mjs → acorex-platform-module-common-client-audit-info-view.component-BAHOvZvl.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-common-client-audit-info-view.component-lgzqcHCv.mjs.map → acorex-platform-module-common-client-audit-info-view.component-BAHOvZvl.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-common-client-audit-info.util-CUlUTX8l.mjs → acorex-platform-module-common-client-audit-info.util-DG-xYAal.mjs} +1 -1
- package/fesm2022/{acorex-platform-module-common-client-audit-info.util-CUlUTX8l.mjs.map → acorex-platform-module-common-client-audit-info.util-DG-xYAal.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-common-client-bulk-archive-entity.command-D7trLk58.mjs → acorex-platform-module-common-client-bulk-archive-entity.command-BKQXL7-E.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-common-client-bulk-archive-entity.command-D7trLk58.mjs.map → acorex-platform-module-common-client-bulk-archive-entity.command-BKQXL7-E.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-common-client-bulk-disable-entity.command-DgoZVXQA.mjs → acorex-platform-module-common-client-bulk-disable-entity.command-Xj5FraWi.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-common-client-bulk-disable-entity.command-DgoZVXQA.mjs.map → acorex-platform-module-common-client-bulk-disable-entity.command-Xj5FraWi.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-common-client-bulk-enable-entity.command-C6fba__g.mjs → acorex-platform-module-common-client-bulk-enable-entity.command-DpUep054.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-common-client-bulk-enable-entity.command-C6fba__g.mjs.map → acorex-platform-module-common-client-bulk-enable-entity.command-DpUep054.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-common-client-bulk-restore-archive-entity.command-BnSzZsI2.mjs → acorex-platform-module-common-client-bulk-restore-archive-entity.command-DIgbB2BI.mjs} +2 -2
- 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-DIgbB2BI.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-common-client-clone-entity.command-DeCYclgZ.mjs → acorex-platform-module-common-client-clone-entity.command-DVbwgznQ.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-common-client-clone-entity.command-DeCYclgZ.mjs.map → acorex-platform-module-common-client-clone-entity.command-DVbwgznQ.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-common-client-contracts-entity-catalog-acorex-platform-module-common-client-contracts-entity-catalog-8_tVyorm.mjs → acorex-platform-module-common-client-contracts-entity-catalog-acorex-platform-module-common-client-contracts-entity-catalog-HqES1qZ5.mjs} +4 -4
- package/fesm2022/{acorex-platform-module-common-client-contracts-entity-catalog-acorex-platform-module-common-client-contracts-entity-catalog-8_tVyorm.mjs.map → acorex-platform-module-common-client-contracts-entity-catalog-acorex-platform-module-common-client-contracts-entity-catalog-HqES1qZ5.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-common-client-contracts-entity-catalog-record-lock.entity-DLA5qjPs.mjs → acorex-platform-module-common-client-contracts-entity-catalog-record-lock.entity-DFP5BHl_.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-common-client-contracts-entity-catalog-record-lock.entity-DLA5qjPs.mjs.map → acorex-platform-module-common-client-contracts-entity-catalog-record-lock.entity-DFP5BHl_.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-common-client-contracts-entity-catalog-version-entry.entity-C07SlyK0.mjs → acorex-platform-module-common-client-contracts-entity-catalog-version-entry.entity-rkU24w_C.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-common-client-contracts-entity-catalog-version-entry.entity-C07SlyK0.mjs.map → acorex-platform-module-common-client-contracts-entity-catalog-version-entry.entity-rkU24w_C.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-common-client-contracts-entity-catalog-version-stream.entity-C7LJK2Gt.mjs → acorex-platform-module-common-client-contracts-entity-catalog-version-stream.entity-CRU82HQg.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-common-client-contracts-entity-catalog-version-stream.entity-C7LJK2Gt.mjs.map → acorex-platform-module-common-client-contracts-entity-catalog-version-stream.entity-CRU82HQg.mjs.map} +1 -1
- package/fesm2022/acorex-platform-module-common-client-contracts-entity-catalog.mjs +1 -1
- package/fesm2022/acorex-platform-module-common-client-contracts.mjs +14 -7
- package/fesm2022/acorex-platform-module-common-client-contracts.mjs.map +1 -1
- package/fesm2022/{acorex-platform-module-common-client-create-entity-version-draft.command-CbLI7jvZ.mjs → acorex-platform-module-common-client-create-entity-version-draft.command-BSEut8OA.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-common-client-create-entity-version-draft.command-CbLI7jvZ.mjs.map → acorex-platform-module-common-client-create-entity-version-draft.command-BSEut8OA.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-common-client-delete-entity-version-draft.command-CLWHs4DO.mjs → acorex-platform-module-common-client-delete-entity-version-draft.command-dqyL50pr.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-common-client-delete-entity-version-draft.command-CLWHs4DO.mjs.map → acorex-platform-module-common-client-delete-entity-version-draft.command-dqyL50pr.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-common-client-disable-entity.command-Bc1uH38V.mjs → acorex-platform-module-common-client-disable-entity.command-D2eXO4Wu.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-common-client-disable-entity.command-Bc1uH38V.mjs.map → acorex-platform-module-common-client-disable-entity.command-D2eXO4Wu.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-common-client-disable-entity.command.util-DQl6u2nj.mjs → acorex-platform-module-common-client-disable-entity.command.util-U_3X2JPQ.mjs} +1 -1
- package/fesm2022/{acorex-platform-module-common-client-disable-entity.command.util-DQl6u2nj.mjs.map → acorex-platform-module-common-client-disable-entity.command.util-U_3X2JPQ.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-common-client-enable-entity.command-DeTumWIj.mjs → acorex-platform-module-common-client-enable-entity.command-CWKbvUOb.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-common-client-enable-entity.command-DeTumWIj.mjs.map → acorex-platform-module-common-client-enable-entity.command-CWKbvUOb.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-common-client-get-current-time.command-Ck_SC5Bu.mjs → acorex-platform-module-common-client-get-current-time.command-BIa1Tift.mjs} +1 -1
- package/fesm2022/{acorex-platform-module-common-client-get-current-time.command-Ck_SC5Bu.mjs.map → acorex-platform-module-common-client-get-current-time.command-BIa1Tift.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-common-client-publish-entity-version.command-JNy0K1ZR.mjs → acorex-platform-module-common-client-publish-entity-version.command-BCsalr4s.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-common-client-publish-entity-version.command-JNy0K1ZR.mjs.map → acorex-platform-module-common-client-publish-entity-version.command-BCsalr4s.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-common-client-restore-archive-entity.command-C_vgLiV2.mjs → acorex-platform-module-common-client-restore-archive-entity.command-CzsePlQS.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-common-client-restore-archive-entity.command-C_vgLiV2.mjs.map → acorex-platform-module-common-client-restore-archive-entity.command-CzsePlQS.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-common-client-search-popup.component-C-Ug9qoD.mjs → acorex-platform-module-common-client-search-popup.component-CCiE5BGq.mjs} +4 -4
- package/fesm2022/{acorex-platform-module-common-client-search-popup.component-C-Ug9qoD.mjs.map → acorex-platform-module-common-client-search-popup.component-CCiE5BGq.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-common-client-show-entity-version-history.command-CoFbuUYP.mjs → acorex-platform-module-common-client-show-entity-version-history.command-DzXsd2UV.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-common-client-show-entity-version-history.command-CoFbuUYP.mjs.map → acorex-platform-module-common-client-show-entity-version-history.command-DzXsd2UV.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-common-client-timeline-version-history-popup.component-DIipjaFX.mjs → acorex-platform-module-common-client-timeline-version-history-popup.component-DOvtCsMr.mjs} +2 -2
- 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-DOvtCsMr.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-common-client-versioning-entity.command.util-Bibv8EgV.mjs → acorex-platform-module-common-client-versioning-entity.command.util-CIpyMuIs.mjs} +1 -1
- package/fesm2022/{acorex-platform-module-common-client-versioning-entity.command.util-Bibv8EgV.mjs.map → acorex-platform-module-common-client-versioning-entity.command.util-CIpyMuIs.mjs.map} +1 -1
- package/fesm2022/acorex-platform-module-common-client.mjs +1 -1
- package/i18n/en-AU/common.json +25 -5
- package/i18n/en-US/common.json +25 -5
- package/i18n/fa-IR/common.json +21 -1
- package/package.json +1 -1
- package/types/acorex-platform-module-common-client-contracts.d.ts +8 -6
- package/types/acorex-platform-module-common-client.d.ts +41 -3
- package/fesm2022/acorex-platform-module-common-client-acorex-platform-module-common-client-D2iWgdxu.mjs.map +0 -1
package/README.md
CHANGED
|
@@ -1,3 +1,37 @@
|
|
|
1
1
|
# @acorex-platform/module-common-client
|
|
2
2
|
|
|
3
3
|
Secondary entry point of `@acorex/modules`. It can be used by importing from `@acorex-platform/module-common-client`.
|
|
4
|
+
|
|
5
|
+
## Entity and subject expression scopes
|
|
6
|
+
|
|
7
|
+
The common client module registers these namespaces for all client expressions:
|
|
8
|
+
|
|
9
|
+
- `entity.get(type, id)`: read a record through its registered entity data source.
|
|
10
|
+
- `entity.create(type, initialData?)`: open the native create dialog without leaving the host.
|
|
11
|
+
- `entity.edit(type, id)`: open the native edit dialog.
|
|
12
|
+
- `subject.ref()`: read the host's current `{ type, id, title? }` reference, or `null`.
|
|
13
|
+
- `subject.get()`: load that record, or return `null` when the host has no subject.
|
|
14
|
+
|
|
15
|
+
Create/edit resolve after the dialog closes with `{ status: 'saved', id?, data }`,
|
|
16
|
+
`{ status: 'cancelled' }`, or `{ status: 'failed', message }`.
|
|
17
|
+
Entity access uses the signed-in user's existing permissions and commands.
|
|
18
|
+
|
|
19
|
+
Any host can supply its subject using the standard root `subjectRef` relationship
|
|
20
|
+
accessible through `context.eval('subjectRef')`. Hosts exposing `context.data` or
|
|
21
|
+
an explicit expression scope `subjectRef` are supported too. Bindings are created
|
|
22
|
+
for each evaluation and read the current host data; they share no current-subject
|
|
23
|
+
state across forms. Questionnaire viewers accept a `subjectRef` input; assessment
|
|
24
|
+
fill flows populate it from the assessment case.
|
|
25
|
+
|
|
26
|
+
```js
|
|
27
|
+
const ref = subject.ref();
|
|
28
|
+
if (ref) {
|
|
29
|
+
const result = await entity.edit(ref.type, ref.id);
|
|
30
|
+
if (result.status === 'saved') {
|
|
31
|
+
context.set('answers.relatedEntityId', result.id);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
These are client scopes: create/edit require an interactive UI. Importing the
|
|
37
|
+
common contracts or server module alone does not register these UI operations.
|
|
@@ -2,7 +2,7 @@ import { AXP_PERMISSION_DEFINITION_PROVIDER, AXPSessionService, AXP_PERMISSION_M
|
|
|
2
2
|
import { AXPVersioningService, AXVChangeType, AXPSettingsService, AXPCommonSettings, AXPLockService, AXPStatusDefinitionProviderService, platformErrorI18nKey, AXPHomePageService, ALL_DEFAULT_OPERATORS, AXP_MENU_PROVIDER, AXP_SETTING_DEFINITION_PROVIDER, AXP_STATUS_PROVIDERS, AXPTabNavigationService, AXPSearchService } from '@acorex-platform/framework-client/common';
|
|
3
3
|
import * as i1$3 from '@acorex-platform/framework-client/core';
|
|
4
4
|
import { AXPDialogOpener, AXPCatalogScopeDefinitionProviderService, AXPExpressionEvaluatorService, AXPContextEvalFactory, AXPEntityBroadcastService, AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER, AXP_FEATURE_DEFINITION_PROVIDER, AXP_CATALOG_SCOPE_DEFINITION_PROVIDER, AXPKeyboardShortcutRegistry, chordToKbdItemKeys, AXPComponentSlotModule } from '@acorex-platform/framework-client/core';
|
|
5
|
-
import { provideCommandSetups, AXPQueryService, provideCommandMiddleware, AXPCommandExecutor } from '@acorex-platform/framework-client/runtime';
|
|
5
|
+
import { provideCommandSetups, AXPQueryService, AXPCommandService, provideCommandMiddleware, AXPCommandExecutor } from '@acorex-platform/framework-client/runtime';
|
|
6
6
|
import { AXPCommonCommandKeys, AXPVersioningField, maintainVersioningPermissionKey, AXP_VERSIONING_MAINTAIN_PERMISSION_LEGACY, AXPVersioningStatus, AXP_VERSIONING_PLUGIN_NAME, AXP_VERSIONING_SEEDED_HOST_ENTITIES, AXPCommonPermissionGroupKeys, AXP_VERSIONING_LIST_HOST_ENTITIES_QUERY, RootConfig, AXPCommonMenuKeys, AXPCommonFeatureKeys, COMMON_CATALOG_SCOPE_GENERAL, resolvePermissionModules } from '@acorex-platform/module-common-client/contracts';
|
|
7
7
|
import { AXPWidgetsModule } from '@acorex-platform/framework-client/layout/widgets';
|
|
8
8
|
import * as i0 from '@angular/core';
|
|
@@ -246,19 +246,19 @@ class AXPArchivePluginModule {
|
|
|
246
246
|
provideCommandSetups([
|
|
247
247
|
{
|
|
248
248
|
key: AXPCommonCommandKeys.Archive.Archive,
|
|
249
|
-
command: () => import('./acorex-platform-module-common-client-archive-entity.command-
|
|
249
|
+
command: () => import('./acorex-platform-module-common-client-archive-entity.command-EMUA8UIq.mjs').then((m) => m.AXPArchiveEntityCommand),
|
|
250
250
|
},
|
|
251
251
|
{
|
|
252
252
|
key: AXPCommonCommandKeys.Archive.Restore,
|
|
253
|
-
command: () => import('./acorex-platform-module-common-client-restore-archive-entity.command-
|
|
253
|
+
command: () => import('./acorex-platform-module-common-client-restore-archive-entity.command-CzsePlQS.mjs').then((m) => m.AXPRestoreArchiveEntityCommand),
|
|
254
254
|
},
|
|
255
255
|
{
|
|
256
256
|
key: AXPCommonCommandKeys.Archive.BulkArchive,
|
|
257
|
-
command: () => import('./acorex-platform-module-common-client-bulk-archive-entity.command-
|
|
257
|
+
command: () => import('./acorex-platform-module-common-client-bulk-archive-entity.command-BKQXL7-E.mjs').then((m) => m.AXPBulkArchiveEntityCommand),
|
|
258
258
|
},
|
|
259
259
|
{
|
|
260
260
|
key: AXPCommonCommandKeys.Archive.BulkRestore,
|
|
261
|
-
command: () => import('./acorex-platform-module-common-client-bulk-restore-archive-entity.command-
|
|
261
|
+
command: () => import('./acorex-platform-module-common-client-bulk-restore-archive-entity.command-DIgbB2BI.mjs').then((m) => m.AXPBulkRestoreArchiveEntityCommand),
|
|
262
262
|
},
|
|
263
263
|
]),
|
|
264
264
|
] }); }
|
|
@@ -271,19 +271,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
271
271
|
provideCommandSetups([
|
|
272
272
|
{
|
|
273
273
|
key: AXPCommonCommandKeys.Archive.Archive,
|
|
274
|
-
command: () => import('./acorex-platform-module-common-client-archive-entity.command-
|
|
274
|
+
command: () => import('./acorex-platform-module-common-client-archive-entity.command-EMUA8UIq.mjs').then((m) => m.AXPArchiveEntityCommand),
|
|
275
275
|
},
|
|
276
276
|
{
|
|
277
277
|
key: AXPCommonCommandKeys.Archive.Restore,
|
|
278
|
-
command: () => import('./acorex-platform-module-common-client-restore-archive-entity.command-
|
|
278
|
+
command: () => import('./acorex-platform-module-common-client-restore-archive-entity.command-CzsePlQS.mjs').then((m) => m.AXPRestoreArchiveEntityCommand),
|
|
279
279
|
},
|
|
280
280
|
{
|
|
281
281
|
key: AXPCommonCommandKeys.Archive.BulkArchive,
|
|
282
|
-
command: () => import('./acorex-platform-module-common-client-bulk-archive-entity.command-
|
|
282
|
+
command: () => import('./acorex-platform-module-common-client-bulk-archive-entity.command-BKQXL7-E.mjs').then((m) => m.AXPBulkArchiveEntityCommand),
|
|
283
283
|
},
|
|
284
284
|
{
|
|
285
285
|
key: AXPCommonCommandKeys.Archive.BulkRestore,
|
|
286
|
-
command: () => import('./acorex-platform-module-common-client-bulk-restore-archive-entity.command-
|
|
286
|
+
command: () => import('./acorex-platform-module-common-client-bulk-restore-archive-entity.command-DIgbB2BI.mjs').then((m) => m.AXPBulkRestoreArchiveEntityCommand),
|
|
287
287
|
},
|
|
288
288
|
]),
|
|
289
289
|
],
|
|
@@ -636,19 +636,19 @@ class AXPVersioningPluginModule {
|
|
|
636
636
|
provideCommandSetups([
|
|
637
637
|
{
|
|
638
638
|
key: AXPCommonCommandKeys.Versioning.CreateDraft,
|
|
639
|
-
command: () => import('./acorex-platform-module-common-client-create-entity-version-draft.command-
|
|
639
|
+
command: () => import('./acorex-platform-module-common-client-create-entity-version-draft.command-BSEut8OA.mjs').then((m) => m.AXPCreateEntityVersionDraftCommand),
|
|
640
640
|
},
|
|
641
641
|
{
|
|
642
642
|
key: AXPCommonCommandKeys.Versioning.Publish,
|
|
643
|
-
command: () => import('./acorex-platform-module-common-client-publish-entity-version.command-
|
|
643
|
+
command: () => import('./acorex-platform-module-common-client-publish-entity-version.command-BCsalr4s.mjs').then((m) => m.AXPPublishEntityVersionCommand),
|
|
644
644
|
},
|
|
645
645
|
{
|
|
646
646
|
key: AXPCommonCommandKeys.Versioning.DeleteDraft,
|
|
647
|
-
command: () => import('./acorex-platform-module-common-client-delete-entity-version-draft.command-
|
|
647
|
+
command: () => import('./acorex-platform-module-common-client-delete-entity-version-draft.command-dqyL50pr.mjs').then((m) => m.AXPDeleteEntityVersionDraftCommand),
|
|
648
648
|
},
|
|
649
649
|
{
|
|
650
650
|
key: AXPCommonCommandKeys.Versioning.ShowHistory,
|
|
651
|
-
command: () => import('./acorex-platform-module-common-client-show-entity-version-history.command-
|
|
651
|
+
command: () => import('./acorex-platform-module-common-client-show-entity-version-history.command-DzXsd2UV.mjs').then((m) => m.AXPShowEntityVersionHistoryCommand),
|
|
652
652
|
},
|
|
653
653
|
]),
|
|
654
654
|
] }); }
|
|
@@ -666,19 +666,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
666
666
|
provideCommandSetups([
|
|
667
667
|
{
|
|
668
668
|
key: AXPCommonCommandKeys.Versioning.CreateDraft,
|
|
669
|
-
command: () => import('./acorex-platform-module-common-client-create-entity-version-draft.command-
|
|
669
|
+
command: () => import('./acorex-platform-module-common-client-create-entity-version-draft.command-BSEut8OA.mjs').then((m) => m.AXPCreateEntityVersionDraftCommand),
|
|
670
670
|
},
|
|
671
671
|
{
|
|
672
672
|
key: AXPCommonCommandKeys.Versioning.Publish,
|
|
673
|
-
command: () => import('./acorex-platform-module-common-client-publish-entity-version.command-
|
|
673
|
+
command: () => import('./acorex-platform-module-common-client-publish-entity-version.command-BCsalr4s.mjs').then((m) => m.AXPPublishEntityVersionCommand),
|
|
674
674
|
},
|
|
675
675
|
{
|
|
676
676
|
key: AXPCommonCommandKeys.Versioning.DeleteDraft,
|
|
677
|
-
command: () => import('./acorex-platform-module-common-client-delete-entity-version-draft.command-
|
|
677
|
+
command: () => import('./acorex-platform-module-common-client-delete-entity-version-draft.command-dqyL50pr.mjs').then((m) => m.AXPDeleteEntityVersionDraftCommand),
|
|
678
678
|
},
|
|
679
679
|
{
|
|
680
680
|
key: AXPCommonCommandKeys.Versioning.ShowHistory,
|
|
681
|
-
command: () => import('./acorex-platform-module-common-client-show-entity-version-history.command-
|
|
681
|
+
command: () => import('./acorex-platform-module-common-client-show-entity-version-history.command-DzXsd2UV.mjs').then((m) => m.AXPShowEntityVersionHistoryCommand),
|
|
682
682
|
},
|
|
683
683
|
]),
|
|
684
684
|
],
|
|
@@ -895,7 +895,7 @@ class ShowVersionHistoryPopupCommand {
|
|
|
895
895
|
}
|
|
896
896
|
let title = '';
|
|
897
897
|
await this.dialogOpener.openPopup({
|
|
898
|
-
load: () => import('./acorex-platform-module-common-client-timeline-version-history-popup.component-
|
|
898
|
+
load: () => import('./acorex-platform-module-common-client-timeline-version-history-popup.component-DOvtCsMr.mjs').then((module) => module.AXMTimelineVersionHistoryPopupComponent),
|
|
899
899
|
data: { refId: opts.refId, refType: opts.refType },
|
|
900
900
|
prepare: async () => {
|
|
901
901
|
title = await this.translate.translateAsync('@activity-log:actions.view-history.title');
|
|
@@ -966,13 +966,13 @@ const AXPHistoryAuditInfoWidget = {
|
|
|
966
966
|
properties: [],
|
|
967
967
|
components: {
|
|
968
968
|
view: {
|
|
969
|
-
component: () => import('./acorex-platform-module-common-client-audit-info-view.component-
|
|
969
|
+
component: () => import('./acorex-platform-module-common-client-audit-info-view.component-BAHOvZvl.mjs').then((c) => c.AXPAuditInfoViewComponent),
|
|
970
970
|
},
|
|
971
971
|
edit: {
|
|
972
|
-
component: () => import('./acorex-platform-module-common-client-audit-info-edit.component-
|
|
972
|
+
component: () => import('./acorex-platform-module-common-client-audit-info-edit.component-CQxZaIsN.mjs').then((c) => c.AXPAuditInfoEditComponent),
|
|
973
973
|
},
|
|
974
974
|
column: {
|
|
975
|
-
component: () => import('./acorex-platform-module-common-client-audit-info-column.component-
|
|
975
|
+
component: () => import('./acorex-platform-module-common-client-audit-info-column.component-Lta_QYvp.mjs').then((c) => c.AXPAuditInfoColumnComponent),
|
|
976
976
|
},
|
|
977
977
|
},
|
|
978
978
|
};
|
|
@@ -2911,7 +2911,7 @@ class AXPClonePluginModule {
|
|
|
2911
2911
|
provideCommandSetups([
|
|
2912
2912
|
{
|
|
2913
2913
|
key: AXPCommonCommandKeys.Clone.Clone,
|
|
2914
|
-
command: () => import('./acorex-platform-module-common-client-clone-entity.command-
|
|
2914
|
+
command: () => import('./acorex-platform-module-common-client-clone-entity.command-DVbwgznQ.mjs').then((m) => m.AXPCloneEntityCommand),
|
|
2915
2915
|
},
|
|
2916
2916
|
]),
|
|
2917
2917
|
] }); }
|
|
@@ -2924,7 +2924,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
2924
2924
|
provideCommandSetups([
|
|
2925
2925
|
{
|
|
2926
2926
|
key: AXPCommonCommandKeys.Clone.Clone,
|
|
2927
|
-
command: () => import('./acorex-platform-module-common-client-clone-entity.command-
|
|
2927
|
+
command: () => import('./acorex-platform-module-common-client-clone-entity.command-DVbwgznQ.mjs').then((m) => m.AXPCloneEntityCommand),
|
|
2928
2928
|
},
|
|
2929
2929
|
]),
|
|
2930
2930
|
],
|
|
@@ -3888,19 +3888,19 @@ class AXPDisablePluginModule {
|
|
|
3888
3888
|
provideCommandSetups([
|
|
3889
3889
|
{
|
|
3890
3890
|
key: AXPCommonCommandKeys.Disable.Disable,
|
|
3891
|
-
command: () => import('./acorex-platform-module-common-client-disable-entity.command-
|
|
3891
|
+
command: () => import('./acorex-platform-module-common-client-disable-entity.command-D2eXO4Wu.mjs').then((m) => m.AXPDisableEntityCommand),
|
|
3892
3892
|
},
|
|
3893
3893
|
{
|
|
3894
3894
|
key: AXPCommonCommandKeys.Disable.Enable,
|
|
3895
|
-
command: () => import('./acorex-platform-module-common-client-enable-entity.command-
|
|
3895
|
+
command: () => import('./acorex-platform-module-common-client-enable-entity.command-CWKbvUOb.mjs').then((m) => m.AXPEnableEntityCommand),
|
|
3896
3896
|
},
|
|
3897
3897
|
{
|
|
3898
3898
|
key: AXPCommonCommandKeys.Disable.BulkDisable,
|
|
3899
|
-
command: () => import('./acorex-platform-module-common-client-bulk-disable-entity.command-
|
|
3899
|
+
command: () => import('./acorex-platform-module-common-client-bulk-disable-entity.command-Xj5FraWi.mjs').then((m) => m.AXPBulkDisableEntityCommand),
|
|
3900
3900
|
},
|
|
3901
3901
|
{
|
|
3902
3902
|
key: AXPCommonCommandKeys.Disable.BulkEnable,
|
|
3903
|
-
command: () => import('./acorex-platform-module-common-client-bulk-enable-entity.command-
|
|
3903
|
+
command: () => import('./acorex-platform-module-common-client-bulk-enable-entity.command-DpUep054.mjs').then((m) => m.AXPBulkEnableEntityCommand),
|
|
3904
3904
|
},
|
|
3905
3905
|
]),
|
|
3906
3906
|
] }); }
|
|
@@ -3913,19 +3913,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
3913
3913
|
provideCommandSetups([
|
|
3914
3914
|
{
|
|
3915
3915
|
key: AXPCommonCommandKeys.Disable.Disable,
|
|
3916
|
-
command: () => import('./acorex-platform-module-common-client-disable-entity.command-
|
|
3916
|
+
command: () => import('./acorex-platform-module-common-client-disable-entity.command-D2eXO4Wu.mjs').then((m) => m.AXPDisableEntityCommand),
|
|
3917
3917
|
},
|
|
3918
3918
|
{
|
|
3919
3919
|
key: AXPCommonCommandKeys.Disable.Enable,
|
|
3920
|
-
command: () => import('./acorex-platform-module-common-client-enable-entity.command-
|
|
3920
|
+
command: () => import('./acorex-platform-module-common-client-enable-entity.command-CWKbvUOb.mjs').then((m) => m.AXPEnableEntityCommand),
|
|
3921
3921
|
},
|
|
3922
3922
|
{
|
|
3923
3923
|
key: AXPCommonCommandKeys.Disable.BulkDisable,
|
|
3924
|
-
command: () => import('./acorex-platform-module-common-client-bulk-disable-entity.command-
|
|
3924
|
+
command: () => import('./acorex-platform-module-common-client-bulk-disable-entity.command-Xj5FraWi.mjs').then((m) => m.AXPBulkDisableEntityCommand),
|
|
3925
3925
|
},
|
|
3926
3926
|
{
|
|
3927
3927
|
key: AXPCommonCommandKeys.Disable.BulkEnable,
|
|
3928
|
-
command: () => import('./acorex-platform-module-common-client-bulk-enable-entity.command-
|
|
3928
|
+
command: () => import('./acorex-platform-module-common-client-bulk-enable-entity.command-DpUep054.mjs').then((m) => m.AXPBulkEnableEntityCommand),
|
|
3929
3929
|
},
|
|
3930
3930
|
]),
|
|
3931
3931
|
],
|
|
@@ -5757,6 +5757,113 @@ class AXPUtilsEvaluatorScopeProvider {
|
|
|
5757
5757
|
}
|
|
5758
5758
|
//#endregion
|
|
5759
5759
|
|
|
5760
|
+
/** Shared entity access for expressions. Dialogs keep the calling form open. */
|
|
5761
|
+
class AXPEntityExpressionService {
|
|
5762
|
+
constructor() {
|
|
5763
|
+
this.commands = inject(AXPCommandService);
|
|
5764
|
+
this.entities = inject(AXPEntityService);
|
|
5765
|
+
}
|
|
5766
|
+
async get(type, id) {
|
|
5767
|
+
this.validate(type);
|
|
5768
|
+
this.validateId(id);
|
|
5769
|
+
return this.entities.withEntity(type).data().byKey(id);
|
|
5770
|
+
}
|
|
5771
|
+
async create(type, data = {}) {
|
|
5772
|
+
return this.open('Entity:Create', type, data);
|
|
5773
|
+
}
|
|
5774
|
+
async edit(type, id) {
|
|
5775
|
+
return this.open('Entity:Edit', type, id);
|
|
5776
|
+
}
|
|
5777
|
+
validate(type) {
|
|
5778
|
+
if (typeof type !== 'string' || !/^[^.\s]+\.[^.\s]+$/.test(type)) {
|
|
5779
|
+
throw new Error('An entity type in Module.Entity format is required.');
|
|
5780
|
+
}
|
|
5781
|
+
}
|
|
5782
|
+
validateId(id) {
|
|
5783
|
+
if (typeof id !== 'string' || !id.trim()) {
|
|
5784
|
+
throw new Error('An entity ID is required.');
|
|
5785
|
+
}
|
|
5786
|
+
}
|
|
5787
|
+
async open(command, type, data) {
|
|
5788
|
+
try {
|
|
5789
|
+
this.validate(type);
|
|
5790
|
+
if (command === 'Entity:Edit')
|
|
5791
|
+
this.validateId(data);
|
|
5792
|
+
// Prevent the native create command from navigating away after saving.
|
|
5793
|
+
const result = await this.commands.execute(command, {
|
|
5794
|
+
entity: type,
|
|
5795
|
+
data,
|
|
5796
|
+
options: { process: { redirect: false } },
|
|
5797
|
+
});
|
|
5798
|
+
if (!result)
|
|
5799
|
+
return { status: 'cancelled' };
|
|
5800
|
+
if (!result.success) {
|
|
5801
|
+
return result.message
|
|
5802
|
+
? { status: 'failed', message: result.message.text || 'The entity operation failed.' }
|
|
5803
|
+
: { status: 'cancelled' };
|
|
5804
|
+
}
|
|
5805
|
+
const payload = result.data;
|
|
5806
|
+
const record = payload && typeof payload === 'object' && 'item' in payload ? payload.item : payload;
|
|
5807
|
+
const id = record && typeof record === 'object'
|
|
5808
|
+
? record['id'] ?? record['_id']
|
|
5809
|
+
: typeof record === 'string' || typeof record === 'number' ? record : undefined;
|
|
5810
|
+
return { status: 'saved', ...(id != null ? { id: String(id) } : {}), data: record };
|
|
5811
|
+
}
|
|
5812
|
+
catch (error) {
|
|
5813
|
+
return { status: 'failed', message: error instanceof Error ? error.message : String(error) };
|
|
5814
|
+
}
|
|
5815
|
+
}
|
|
5816
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXPEntityExpressionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5817
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXPEntityExpressionService, providedIn: 'root' }); }
|
|
5818
|
+
}
|
|
5819
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXPEntityExpressionService, decorators: [{
|
|
5820
|
+
type: Injectable,
|
|
5821
|
+
args: [{ providedIn: 'root' }]
|
|
5822
|
+
}] });
|
|
5823
|
+
|
|
5824
|
+
class AXPEntityEvaluatorScopeProvider {
|
|
5825
|
+
constructor() {
|
|
5826
|
+
this.entities = inject(AXPEntityExpressionService);
|
|
5827
|
+
}
|
|
5828
|
+
async provide(context) {
|
|
5829
|
+
context.addScope('entity', {
|
|
5830
|
+
get: (type, id) => this.entities.get(type, id),
|
|
5831
|
+
create: (type, data) => this.entities.create(type, data),
|
|
5832
|
+
edit: (type, id) => this.entities.edit(type, id),
|
|
5833
|
+
});
|
|
5834
|
+
}
|
|
5835
|
+
}
|
|
5836
|
+
|
|
5837
|
+
/**
|
|
5838
|
+
* Any host can expose its relationship as `context.eval('subjectRef')`.
|
|
5839
|
+
* Each evaluation binds to that host; no current-subject state is shared.
|
|
5840
|
+
*/
|
|
5841
|
+
class AXPSubjectEvaluatorScopeProvider {
|
|
5842
|
+
constructor() {
|
|
5843
|
+
this.entities = inject(AXPEntityExpressionService);
|
|
5844
|
+
}
|
|
5845
|
+
async provide(context) {
|
|
5846
|
+
context.addScopeFactory('subject', (scope) => {
|
|
5847
|
+
const ref = () => {
|
|
5848
|
+
const host = scope['context'];
|
|
5849
|
+
const data = typeof host?.data === 'function' ? host.data() : host?.data;
|
|
5850
|
+
const value = (typeof host?.eval === 'function' ? host.eval('subjectRef') : data?.['subjectRef'] ?? scope['subjectRef']);
|
|
5851
|
+
if (!value || typeof value.type !== 'string' || !value.type.trim() || typeof value.id !== 'string' || !value.id.trim()) {
|
|
5852
|
+
return null;
|
|
5853
|
+
}
|
|
5854
|
+
return { ...value, type: value.type, id: value.id };
|
|
5855
|
+
};
|
|
5856
|
+
return {
|
|
5857
|
+
ref,
|
|
5858
|
+
get: async () => {
|
|
5859
|
+
const current = ref();
|
|
5860
|
+
return current ? this.entities.get(current.type, current.id) : null;
|
|
5861
|
+
},
|
|
5862
|
+
};
|
|
5863
|
+
});
|
|
5864
|
+
}
|
|
5865
|
+
}
|
|
5866
|
+
|
|
5760
5867
|
//#region ---- Constants ----
|
|
5761
5868
|
/** Low-level CRUD keys — feature commands (archive/delete/…) own their UX. */
|
|
5762
5869
|
const SILENT_TOAST_COMMAND_KEYS = new Set([
|
|
@@ -6007,6 +6114,20 @@ class AXMMenuProvider {
|
|
|
6007
6114
|
},
|
|
6008
6115
|
]);
|
|
6009
6116
|
}
|
|
6117
|
+
// Ensure Booking menu exists under Configuration (child items from resource-booking-management)
|
|
6118
|
+
const bookingConfigMenu = context.find(AXPCommonMenuKeys.ResourceBookingConfig);
|
|
6119
|
+
if (!bookingConfigMenu.exists) {
|
|
6120
|
+
context.find(AXPCommonMenuKeys.Configuration).addItems([
|
|
6121
|
+
{
|
|
6122
|
+
name: AXPCommonMenuKeys.ResourceBookingConfig,
|
|
6123
|
+
priority: 8935,
|
|
6124
|
+
text: '@resource-booking-management:module.menus.root.title',
|
|
6125
|
+
icon: 'fa-light fa-calendar-check',
|
|
6126
|
+
type: 'menu',
|
|
6127
|
+
children: [],
|
|
6128
|
+
},
|
|
6129
|
+
]);
|
|
6130
|
+
}
|
|
6010
6131
|
// Ensure Data and Content menu exists under Configuration
|
|
6011
6132
|
const dataAndContentMenu = context.find(AXPCommonMenuKeys.DataAndContent);
|
|
6012
6133
|
if (!dataAndContentMenu.exists) {
|
|
@@ -6546,6 +6667,16 @@ class AXMCommonModule {
|
|
|
6546
6667
|
useClass: AXPUtilsEvaluatorScopeProvider,
|
|
6547
6668
|
multi: true,
|
|
6548
6669
|
},
|
|
6670
|
+
{
|
|
6671
|
+
provide: AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER,
|
|
6672
|
+
useClass: AXPEntityEvaluatorScopeProvider,
|
|
6673
|
+
multi: true,
|
|
6674
|
+
},
|
|
6675
|
+
{
|
|
6676
|
+
provide: AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER,
|
|
6677
|
+
useClass: AXPSubjectEvaluatorScopeProvider,
|
|
6678
|
+
multi: true,
|
|
6679
|
+
},
|
|
6549
6680
|
{
|
|
6550
6681
|
provide: AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER,
|
|
6551
6682
|
useClass: AXMFilterOperatorEvaluatorScopeProvider,
|
|
@@ -6594,7 +6725,7 @@ class AXMCommonModule {
|
|
|
6594
6725
|
provideCommandSetups([
|
|
6595
6726
|
{
|
|
6596
6727
|
key: 'common.get_current_time',
|
|
6597
|
-
command: () => import('./acorex-platform-module-common-client-get-current-time.command-
|
|
6728
|
+
command: () => import('./acorex-platform-module-common-client-get-current-time.command-BIa1Tift.mjs').then((m) => m.CommonGetCurrentTimeCommand),
|
|
6598
6729
|
},
|
|
6599
6730
|
]),
|
|
6600
6731
|
//#endregion
|
|
@@ -6724,6 +6855,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
6724
6855
|
useClass: AXPUtilsEvaluatorScopeProvider,
|
|
6725
6856
|
multi: true,
|
|
6726
6857
|
},
|
|
6858
|
+
{
|
|
6859
|
+
provide: AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER,
|
|
6860
|
+
useClass: AXPEntityEvaluatorScopeProvider,
|
|
6861
|
+
multi: true,
|
|
6862
|
+
},
|
|
6863
|
+
{
|
|
6864
|
+
provide: AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER,
|
|
6865
|
+
useClass: AXPSubjectEvaluatorScopeProvider,
|
|
6866
|
+
multi: true,
|
|
6867
|
+
},
|
|
6727
6868
|
{
|
|
6728
6869
|
provide: AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER,
|
|
6729
6870
|
useClass: AXMFilterOperatorEvaluatorScopeProvider,
|
|
@@ -6772,7 +6913,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
6772
6913
|
provideCommandSetups([
|
|
6773
6914
|
{
|
|
6774
6915
|
key: 'common.get_current_time',
|
|
6775
|
-
command: () => import('./acorex-platform-module-common-client-get-current-time.command-
|
|
6916
|
+
command: () => import('./acorex-platform-module-common-client-get-current-time.command-BIa1Tift.mjs').then((m) => m.CommonGetCurrentTimeCommand),
|
|
6776
6917
|
},
|
|
6777
6918
|
]),
|
|
6778
6919
|
//#endregion
|
|
@@ -6996,7 +7137,7 @@ class AXPGlobalSearchModule {
|
|
|
6996
7137
|
{
|
|
6997
7138
|
provide: AXP_GLOBAL_SEARCH_CONFIG_TOKEN,
|
|
6998
7139
|
useValue: {
|
|
6999
|
-
window: () => import('./acorex-platform-module-common-client-search-popup.component-
|
|
7140
|
+
window: () => import('./acorex-platform-module-common-client-search-popup.component-CCiE5BGq.mjs').then((c) => c.AXPGlobalSearchPopupComponent),
|
|
7000
7141
|
},
|
|
7001
7142
|
},
|
|
7002
7143
|
AXPGlobalSearchCommand,
|
|
@@ -7038,7 +7179,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
7038
7179
|
{
|
|
7039
7180
|
provide: AXP_GLOBAL_SEARCH_CONFIG_TOKEN,
|
|
7040
7181
|
useValue: {
|
|
7041
|
-
window: () => import('./acorex-platform-module-common-client-search-popup.component-
|
|
7182
|
+
window: () => import('./acorex-platform-module-common-client-search-popup.component-CCiE5BGq.mjs').then((c) => c.AXPGlobalSearchPopupComponent),
|
|
7042
7183
|
},
|
|
7043
7184
|
},
|
|
7044
7185
|
AXPGlobalSearchCommand,
|
|
@@ -7240,7 +7381,7 @@ class AXPResourceAppointmentPageComponent extends AXPPageLayoutBaseComponent {
|
|
|
7240
7381
|
provide: AXPPageLayoutBase,
|
|
7241
7382
|
useExisting: AXPResourceAppointmentPageComponent,
|
|
7242
7383
|
},
|
|
7243
|
-
], usesInheritance: true, ngImport: i0, template: "<axp-page-layout>\n <!-- <axp-layout-start-side class=\"border-e lightest-surface h-full min-w-0\">\n <axp-layout-header class=\"flex flex-row! items-center justify-center gap-2 border-b\">\n <span class=\"text-sm font-medium\">\n {{ title() || ('@general:terms.resource-appointment' | translate | async) || 'Resource appointment' }}\n </span>\n </axp-layout-header>\n </axp-layout-start-side> -->\n\n <axp-page-content class=\"flex flex-col min-h-0\">\n <axp-resource-appointment\n [showResourceHeaders]=\"showResourceHeaders\"\n [showUnassignedAppointments]=\"showUnassignedAppointments\"\n [providerName]=\"providerName()\"\n class=\"axp-resource-appointment-page__board flex-1 min-h-0\"\n />\n </axp-page-content>\n</axp-page-layout>\n", styles: [":host{display:block;height:100%}.axp-resource-appointment-page .axp-resource-appointment-page__board{display:block}\n/*! tailwindcss v4.3.
|
|
7384
|
+
], usesInheritance: true, ngImport: i0, template: "<axp-page-layout>\n <!-- <axp-layout-start-side class=\"border-e lightest-surface h-full min-w-0\">\n <axp-layout-header class=\"flex flex-row! items-center justify-center gap-2 border-b\">\n <span class=\"text-sm font-medium\">\n {{ title() || ('@general:terms.resource-appointment' | translate | async) || 'Resource appointment' }}\n </span>\n </axp-layout-header>\n </axp-layout-start-side> -->\n\n <axp-page-content class=\"flex flex-col min-h-0\">\n <axp-resource-appointment\n [showResourceHeaders]=\"showResourceHeaders\"\n [showUnassignedAppointments]=\"showUnassignedAppointments\"\n [providerName]=\"providerName()\"\n class=\"axp-resource-appointment-page__board flex-1 min-h-0\"\n />\n </axp-page-content>\n</axp-page-layout>\n", styles: [":host{display:block;height:100%}.axp-resource-appointment-page .axp-resource-appointment-page__board{display:block}\n/*! tailwindcss v4.3.5 | MIT License | https://tailwindcss.com */\n"], dependencies: [{ kind: "ngmodule", type: AXTranslationModule }, { kind: "component", type: AXPPageLayoutComponent, selector: "axp-page-layout" }, { 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: "component", type: AXPResourceAppointmentComponent, selector: "axp-resource-appointment", inputs: ["showResourceHeaders", "showUnassignedAppointments", "providerName"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
7244
7385
|
}
|
|
7245
7386
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXPResourceAppointmentPageComponent, decorators: [{
|
|
7246
7387
|
type: Component,
|
|
@@ -7254,12 +7395,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
7254
7395
|
provide: AXPPageLayoutBase,
|
|
7255
7396
|
useExisting: AXPResourceAppointmentPageComponent,
|
|
7256
7397
|
},
|
|
7257
|
-
], template: "<axp-page-layout>\n <!-- <axp-layout-start-side class=\"border-e lightest-surface h-full min-w-0\">\n <axp-layout-header class=\"flex flex-row! items-center justify-center gap-2 border-b\">\n <span class=\"text-sm font-medium\">\n {{ title() || ('@general:terms.resource-appointment' | translate | async) || 'Resource appointment' }}\n </span>\n </axp-layout-header>\n </axp-layout-start-side> -->\n\n <axp-page-content class=\"flex flex-col min-h-0\">\n <axp-resource-appointment\n [showResourceHeaders]=\"showResourceHeaders\"\n [showUnassignedAppointments]=\"showUnassignedAppointments\"\n [providerName]=\"providerName()\"\n class=\"axp-resource-appointment-page__board flex-1 min-h-0\"\n />\n </axp-page-content>\n</axp-page-layout>\n", styles: [":host{display:block;height:100%}.axp-resource-appointment-page .axp-resource-appointment-page__board{display:block}\n/*! tailwindcss v4.3.
|
|
7398
|
+
], template: "<axp-page-layout>\n <!-- <axp-layout-start-side class=\"border-e lightest-surface h-full min-w-0\">\n <axp-layout-header class=\"flex flex-row! items-center justify-center gap-2 border-b\">\n <span class=\"text-sm font-medium\">\n {{ title() || ('@general:terms.resource-appointment' | translate | async) || 'Resource appointment' }}\n </span>\n </axp-layout-header>\n </axp-layout-start-side> -->\n\n <axp-page-content class=\"flex flex-col min-h-0\">\n <axp-resource-appointment\n [showResourceHeaders]=\"showResourceHeaders\"\n [showUnassignedAppointments]=\"showUnassignedAppointments\"\n [providerName]=\"providerName()\"\n class=\"axp-resource-appointment-page__board flex-1 min-h-0\"\n />\n </axp-page-content>\n</axp-page-layout>\n", styles: [":host{display:block;height:100%}.axp-resource-appointment-page .axp-resource-appointment-page__board{display:block}\n/*! tailwindcss v4.3.5 | MIT License | https://tailwindcss.com */\n"] }]
|
|
7258
7399
|
}] });
|
|
7259
7400
|
|
|
7260
7401
|
/**
|
|
7261
7402
|
* Generated bundle index. Do not edit.
|
|
7262
7403
|
*/
|
|
7263
7404
|
|
|
7264
|
-
export {
|
|
7265
|
-
//# sourceMappingURL=acorex-platform-module-common-client-acorex-platform-module-common-client-
|
|
7405
|
+
export { isRtlHistoryLocale as $, AXP_ENTITY_ARCHIVE_OVERRIDES as A, AXP_GLOBAL_SEARCH_CONFIG_TOKEN as B, AXP_RESOURCE_APPOINTMENT_PAGE_CONFIG as C, ApprovalStatusProvider as D, AtLeastOneOfValidationRule as E, StateStatusProvider as F, VariableNameValidationRule as G, HISTORY_PAGE_COMPONENT_KEY as H, aggregateVersionHistoryBarChartItems as I, archivePlugin as J, buildEntityFieldHistoryLineChartSeries as K, buildProductBasePriceHistoryLineChartSeries as L, derivedNamePlugin as M, disablePlugin as N, formatVersionHistoryReplaceSummary as O, getActiveStatuses as P, getFinalStatuses as Q, getInitialStatuses as R, ShowVersionHistoryPopupCommand as S, TaskStatusProvider as T, UniqueValidationRule as U, VARIABLE_NAME_VALIDATION_PATTERN as V, getStatusByName as W, getTransitionsFromStatus as X, getTransitionsToStatus as Y, historyPlugin as Z, humanizeChange as _, AXPGlobalSearchViewModel as a, isValidTransition as a0, mapChangeType as a1, mapOpToAction as a2, resolvePathKey as a3, statusPlugin as a4, uniqueFieldsPlugin as a5, versioningPlugin as a6, AXMCommonModule as b, AXMMenuProvider as c, AXMSettingProvider as d, AXMVersionHistoryPageComponent as e, AXPArchivePluginModule as f, AXPCommonFeatureDefinitionProvider as g, AXPDerivedNamePluginModule as h, isValidVariableName as i, AXPDisablePluginModule as j, AXPEntityEvaluatorScopeProvider as k, AXPEntityExpressionService as l, AXPGlobalSearchModule as m, AXPHistoryAuditInfoWidget as n, openActivityLogVersionCompare as o, AXPHistoryModule as p, AXPLockEntityCommand as q, AXPResourceAppointmentPageComponent as r, AXPStatusPluginModule as s, toVariableName as t, AXPSubjectEvaluatorScopeProvider as u, versionEntriesToActivityLogs as v, AXPUniqueFieldsPluginModule as w, AXPUnlockEntityCommand as x, AXPValidationRulesModule as y, AXPVersioningPluginModule as z };
|
|
7406
|
+
//# sourceMappingURL=acorex-platform-module-common-client-acorex-platform-module-common-client-BIljzAkC.mjs.map
|