@acorex-platform/module-location-management-client 0.0.30 → 0.0.33

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 (38) hide show
  1. package/fesm2022/acorex-platform-module-location-management-client-contracts-entities-geographic-region.mjs +782 -0
  2. package/fesm2022/acorex-platform-module-location-management-client-contracts-entities-geographic-region.mjs.map +1 -0
  3. package/fesm2022/acorex-platform-module-location-management-client-contracts-entities-location-assignment.mjs +400 -0
  4. package/fesm2022/acorex-platform-module-location-management-client-contracts-entities-location-assignment.mjs.map +1 -0
  5. package/fesm2022/acorex-platform-module-location-management-client-contracts-entities-location-role.mjs +156 -0
  6. package/fesm2022/acorex-platform-module-location-management-client-contracts-entities-location-role.mjs.map +1 -0
  7. package/fesm2022/acorex-platform-module-location-management-client-contracts-entities-location-type.mjs +288 -0
  8. package/fesm2022/acorex-platform-module-location-management-client-contracts-entities-location-type.mjs.map +1 -0
  9. package/fesm2022/acorex-platform-module-location-management-client-contracts-entities-location.mjs +1356 -0
  10. package/fesm2022/acorex-platform-module-location-management-client-contracts-entities-location.mjs.map +1 -0
  11. package/fesm2022/acorex-platform-module-location-management-client-contracts-entity-catalog-acorex-platform-module-location-management-client-contracts-entity-catalog-B1rJccHr.mjs +70 -0
  12. package/fesm2022/acorex-platform-module-location-management-client-contracts-entity-catalog-acorex-platform-module-location-management-client-contracts-entity-catalog-B1rJccHr.mjs.map +1 -0
  13. package/fesm2022/acorex-platform-module-location-management-client-contracts-entity-catalog-geographic-region.entity-CUhM4K8a.mjs +735 -0
  14. package/fesm2022/acorex-platform-module-location-management-client-contracts-entity-catalog-geographic-region.entity-CUhM4K8a.mjs.map +1 -0
  15. package/fesm2022/acorex-platform-module-location-management-client-contracts-entity-catalog-location-assignment.entity-Cw46YCj9.mjs +198 -0
  16. package/fesm2022/acorex-platform-module-location-management-client-contracts-entity-catalog-location-assignment.entity-Cw46YCj9.mjs.map +1 -0
  17. package/fesm2022/acorex-platform-module-location-management-client-contracts-entity-catalog-location-assignment.utils-CfwbSQiM.mjs +160 -0
  18. package/fesm2022/acorex-platform-module-location-management-client-contracts-entity-catalog-location-assignment.utils-CfwbSQiM.mjs.map +1 -0
  19. package/fesm2022/acorex-platform-module-location-management-client-contracts-entity-catalog-location-role.entity-CEtJEhCf.mjs +109 -0
  20. package/fesm2022/acorex-platform-module-location-management-client-contracts-entity-catalog-location-role.entity-CEtJEhCf.mjs.map +1 -0
  21. package/fesm2022/acorex-platform-module-location-management-client-contracts-entity-catalog-location-type.entity-BXuQ_A7h.mjs +241 -0
  22. package/fesm2022/acorex-platform-module-location-management-client-contracts-entity-catalog-location-type.entity-BXuQ_A7h.mjs.map +1 -0
  23. package/fesm2022/acorex-platform-module-location-management-client-contracts-entity-catalog-location.entity-CmnVKTG-.mjs +1154 -0
  24. package/fesm2022/acorex-platform-module-location-management-client-contracts-entity-catalog-location.entity-CmnVKTG-.mjs.map +1 -0
  25. package/fesm2022/acorex-platform-module-location-management-client-contracts-entity-catalog.mjs +2 -0
  26. package/fesm2022/acorex-platform-module-location-management-client-contracts-entity-catalog.mjs.map +1 -0
  27. package/fesm2022/acorex-platform-module-location-management-client-local-entities.mjs +33 -0
  28. package/fesm2022/acorex-platform-module-location-management-client-local-entities.mjs.map +1 -0
  29. package/fesm2022/acorex-platform-module-location-management-client.mjs +1 -1
  30. package/fesm2022/acorex-platform-module-location-management-client.mjs.map +1 -1
  31. package/package.json +29 -1
  32. package/types/acorex-platform-module-location-management-client-contracts-entities-geographic-region.d.ts +5 -0
  33. package/types/acorex-platform-module-location-management-client-contracts-entities-location-assignment.d.ts +5 -0
  34. package/types/acorex-platform-module-location-management-client-contracts-entities-location-role.d.ts +5 -0
  35. package/types/acorex-platform-module-location-management-client-contracts-entities-location-type.d.ts +5 -0
  36. package/types/acorex-platform-module-location-management-client-contracts-entities-location.d.ts +5 -0
  37. package/types/acorex-platform-module-location-management-client-contracts-entity-catalog.d.ts +10 -0
  38. package/types/acorex-platform-module-location-management-client-local-entities.d.ts +12 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-location-management-client-contracts-entity-catalog-geographic-region.entity-CUhM4K8a.mjs","sources":["../../../../libs/modules/location-management/contracts/src/entities/geographic-region/geographic-region.entity.ts"],"sourcesContent":["import { AXPRegionalSetting, AXPWidgetsCatalog } from '@acorex-platform/framework-shared/core';\nimport { AXPEntity, createAllQueryView, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';\nimport { RootConfig } from '../../root-config';\n\nexport async function geographicRegionFactory(): Promise<AXPEntity | null> {\n\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.geographicRegion.name,\n parentKey: 'parentId',\n title: RootConfig.entities.geographicRegion.title,\n icon: RootConfig.entities.geographicRegion.icon,\n formats: {\n individual: RootConfig.entities.geographicRegion.title,\n plural: RootConfig.entities.geographicRegion.titlePlural,\n searchResult: {\n title: '{{ title }}',\n description: '{{ context.eval(\"type\") + (context.eval(\"parentId\") ? \" (Child)\" : \"\") }}',\n },\n },\n plugins: [{ name: 'archive' }],\n groups: [\n {\n id: 'basic-info',\n title: '@general:terms.interface.basic-info',\n },\n {\n id: 'geographic-data',\n title: '@general:terms.interface.geographic-details',\n },\n {\n id: 'additional-info',\n title: '@general:terms.interface.additional-info',\n },\n {\n id: 'settings',\n title: '@general:terms.interface.settings',\n },\n ],\n properties: [\n {\n name: 'title',\n title: '@general:terms.common.title',\n groupId: 'basic-info',\n options: {\n sort: {\n enabled: true,\n },\n filter: {\n advance: {\n enabled: true,\n },\n inline: {\n enabled: true,\n },\n },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.text,\n options: {\n multiLanguage: true,\n placeholder: 'Enter region title',\n },\n },\n },\n validations: [\n {\n rule: 'required',\n },\n ],\n },\n {\n name: 'code',\n title: '@general:terms.common.code',\n groupId: 'basic-info',\n options: {\n sort: {\n enabled: true,\n },\n filter: {\n advance: {\n enabled: true,\n },\n inline: {\n enabled: true,\n },\n },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.text,\n options: {\n placeholder: 'Region code (e.g., CA, US)',\n },\n },\n },\n },\n {\n name: 'type',\n title: '@location-management:geographic-regions.entities.geographic-region.fields.type',\n groupId: 'basic-info',\n options: {\n sort: {\n enabled: true,\n },\n filter: {\n advance: {\n enabled: true,\n },\n inline: {\n enabled: true,\n },\n },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.select,\n options: {\n valueField: 'code',\n textField: 'title',\n dataSource: [\n { code: 'country', title: 'Country' },\n { code: 'state', title: 'State/Province' },\n { code: 'city', title: 'City' },\n { code: 'district', title: 'District' },\n { code: 'subdistrict', title: 'Subdistrict' },\n { code: 'territory', title: 'Territory' },\n ],\n },\n },\n },\n validations: [\n {\n rule: 'required',\n },\n ],\n },\n {\n name: 'parentId',\n title: '@location-management:geographic-regions.entities.geographic-region.fields.parent-region',\n groupId: 'basic-info',\n options: {\n filter: {\n advance: {\n enabled: true,\n },\n inline: {\n enabled: true,\n },\n },\n },\n schema: {\n dataType: 'object',\n interface: {\n type: AXPWidgetsCatalog.lookup,\n options: {\n entity: `${RootConfig.module.name}.${RootConfig.entities.geographicRegion.name}`,\n expose: [\n { source: 'id', target: 'parentRegion.id' },\n { source: 'name', target: 'parentRegion.name' },\n { source: 'type', target: 'parentRegion.type' },\n ],\n },\n },\n },\n },\n {\n name: 'coordinates',\n title: '@location-management:geographic-regions.entities.geographic-region.fields.coordinates',\n groupId: 'geographic-data',\n options: {\n filter: {\n advance: {\n enabled: false,\n },\n },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.map,\n options: {\n hasDraw: true,\n maxPolygon: 0,\n fitToDraw: true,\n },\n },\n },\n },\n {\n name: 'timezone',\n title: '@location-management:geographic-regions.entities.geographic-region.fields.timezone',\n groupId: 'geographic-data',\n options: {\n filter: {\n advance: {\n enabled: true,\n },\n },\n },\n schema: {\n dataType: 'string',\n defaultValue: `{{ settings.get('${AXPRegionalSetting.TimeZone}') }}`,\n interface: {\n type: AXPWidgetsCatalog.lookup,\n options: {\n entity: 'LocaleManagement.Timezones',\n look: 'select',\n allowSearch: true,\n valueField: 'code',\n textField: 'title',\n placeholder: 'e.g., America/New_York',\n filter: {\n logic: 'and',\n filters: [{ field: 'isActive', operator: { type: 'equal' }, value: true }],\n },\n },\n },\n },\n },\n {\n name: 'population',\n title: '@location-management:geographic-regions.entities.geographic-region.fields.population',\n groupId: 'additional-info',\n options: {\n filter: {\n advance: {\n enabled: true,\n },\n },\n },\n schema: {\n dataType: 'number',\n interface: {\n type: AXPWidgetsCatalog.number,\n options: {\n minValue: 0,\n },\n },\n },\n },\n {\n name: 'area',\n title: '@location-management:geographic-regions.entities.geographic-region.fields.area',\n groupId: 'additional-info',\n options: {\n filter: {\n advance: {\n enabled: true,\n },\n },\n },\n schema: {\n dataType: 'number',\n interface: {\n type: AXPWidgetsCatalog.number,\n options: {\n minValue: 0,\n placeholder: 'Area in square kilometers',\n },\n },\n },\n },\n {\n name: 'currencyId',\n title: '@location-management:geographic-regions.entities.geographic-region.fields.currency',\n groupId: 'additional-info',\n options: {\n sort: { enabled: false },\n filter: {\n advance: {\n enabled: true,\n },\n inline: { enabled: false },\n },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.lookup,\n options: {\n entity: `${\"FinancialCore\"}.${\"Currency\"}`,\n multiple: false,\n look: 'select',\n textField: 'code',\n valueField: 'id',\n expose: [\n { source: 'id', target: 'currency.id' },\n { source: 'code', target: 'currency.code' },\n { source: 'title', target: 'currency.title' },\n { source: 'symbol', target: 'currency.symbol' },\n ],\n },\n },\n },\n },\n ],\n columns: [\n { name: 'title', options: { width: '400px', order: 1 } },\n { name: 'code', options: { width: '150px', order: 2 } },\n { name: 'type', options: { width: '150px', dataPath: 'type.title', order: 3 } },\n { name: 'currencyId', options: { width: '150px', dataPath: 'currency.code', order: 4 } },\n ],\n interfaces: {\n master: {\n create: {\n sections: [\n {\n id: 'basic-info',\n },\n {\n id: 'geographic-data',\n },\n {\n id: 'additional-info',\n },\n {\n id: 'settings',\n },\n ],\n properties: [\n {\n name: 'title',\n layout: {\n positions: {\n sm: {\n colSpan: 12,\n },\n md: {\n colSpan: 6,\n },\n },\n },\n },\n {\n name: 'code',\n layout: {\n positions: {\n sm: {\n colSpan: 12,\n },\n md: {\n colSpan: 6,\n },\n },\n },\n },\n {\n name: 'type',\n layout: {\n positions: {\n sm: {\n colSpan: 12,\n },\n md: {\n colSpan: 6,\n },\n },\n },\n },\n {\n name: 'parentId',\n layout: {\n positions: {\n sm: {\n colSpan: 12,\n },\n md: {\n colSpan: 6,\n },\n },\n },\n },\n {\n name: 'coordinates',\n layout: {\n positions: {\n sm: {\n colSpan: 12,\n },\n },\n },\n },\n {\n name: 'timezone',\n layout: {\n positions: {\n sm: {\n colSpan: 12,\n },\n md: {\n colSpan: 4,\n },\n },\n },\n },\n {\n name: 'population',\n layout: {\n positions: {\n sm: {\n colSpan: 12,\n },\n md: {\n colSpan: 4,\n },\n },\n },\n },\n {\n name: 'area',\n layout: {\n positions: {\n sm: {\n colSpan: 12,\n },\n md: {\n colSpan: 4,\n },\n },\n },\n },\n {\n name: 'currencyId',\n layout: {\n positions: {\n sm: {\n colSpan: 12,\n },\n md: {\n colSpan: 4,\n },\n },\n },\n },\n\n ],\n },\n update: {\n sections: [\n {\n id: 'basic-info',\n },\n {\n id: 'geographic-data',\n },\n {\n id: 'additional-info',\n },\n {\n id: 'settings',\n },\n ],\n properties: [\n {\n name: 'title',\n layout: {\n positions: {\n sm: {\n colSpan: 12,\n },\n md: {\n colSpan: 6,\n },\n },\n },\n },\n {\n name: 'code',\n layout: {\n positions: {\n sm: {\n colSpan: 12,\n },\n md: {\n colSpan: 6,\n },\n },\n },\n },\n {\n name: 'type',\n layout: {\n positions: {\n sm: {\n colSpan: 12,\n },\n md: {\n colSpan: 6,\n },\n },\n },\n },\n {\n name: 'parentId',\n layout: {\n positions: {\n sm: {\n colSpan: 12,\n },\n md: {\n colSpan: 6,\n },\n },\n },\n },\n {\n name: 'coordinates',\n layout: {\n positions: {\n sm: {\n colSpan: 12,\n },\n },\n },\n },\n {\n name: 'timezone',\n layout: {\n positions: {\n sm: {\n colSpan: 12,\n },\n md: {\n colSpan: 4,\n },\n },\n },\n },\n {\n name: 'population',\n layout: {\n positions: {\n sm: {\n colSpan: 12,\n },\n md: {\n colSpan: 4,\n },\n },\n },\n },\n {\n name: 'area',\n layout: {\n positions: {\n sm: {\n colSpan: 12,\n },\n md: {\n colSpan: 4,\n },\n },\n },\n },\n {\n name: 'currencyId',\n layout: {\n positions: {\n sm: {\n colSpan: 12,\n },\n md: {\n colSpan: 4,\n },\n },\n },\n },\n\n ],\n },\n single: {\n title: '{{title}}',\n sections: [\n {\n id: 'basic-info',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n {\n id: 'geographic-data',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n {\n id: 'additional-info',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n {\n id: 'settings',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n ],\n properties: [\n {\n name: 'title',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n order: 1,\n },\n },\n },\n },\n {\n name: 'code',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n order: 2,\n },\n },\n },\n },\n {\n name: 'type',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n order: 3,\n },\n },\n },\n },\n {\n name: 'parentId',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n order: 4,\n },\n },\n },\n },\n {\n name: 'coordinates',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n order: 5,\n },\n },\n },\n },\n {\n name: 'timezone',\n layout: {\n positions: {\n lg: {\n colSpan: 4,\n order: 6,\n },\n },\n },\n },\n {\n name: 'population',\n layout: {\n positions: {\n lg: {\n colSpan: 4,\n order: 7,\n },\n },\n },\n },\n {\n name: 'area',\n layout: {\n positions: {\n lg: {\n colSpan: 4,\n order: 8,\n },\n },\n },\n },\n {\n name: 'currencyId',\n layout: {\n positions: {\n lg: {\n colSpan: 4,\n order: 9,\n },\n },\n },\n },\n\n ],\n actions: [...entityMasterRecordActions()],\n },\n list: {\n actions: [...entityMasterCrudActions()],\n views: [\n createAllQueryView({\n sorts: [{ name: 'title', dir: 'asc' }],\n }),\n ],\n },\n },\n },\n };\n\n return entityDef;\n}\n"],"names":[],"mappings":";;;;AAIO,eAAe,uBAAuB,GAAA;AAE3C,IAAA,MAAM,SAAS,GAAc;AAC3B,QAAA,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC9B,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,gBAAgB,CAAC,IAAI;AAC/C,QAAA,SAAS,EAAE,UAAU;AACrB,QAAA,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC,gBAAgB,CAAC,KAAK;AACjD,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,gBAAgB,CAAC,IAAI;AAC/C,QAAA,OAAO,EAAE;AACP,YAAA,UAAU,EAAE,UAAU,CAAC,QAAQ,CAAC,gBAAgB,CAAC,KAAK;AACtD,YAAA,MAAM,EAAE,UAAU,CAAC,QAAQ,CAAC,gBAAgB,CAAC,WAAW;AACxD,YAAA,YAAY,EAAE;AACZ,gBAAA,KAAK,EAAE,aAAa;AACpB,gBAAA,WAAW,EAAE,2EAA2E;AACzF,aAAA;AACF,SAAA;AACD,QAAA,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;AAC9B,QAAA,MAAM,EAAE;AACN,YAAA;AACE,gBAAA,EAAE,EAAE,YAAY;AAChB,gBAAA,KAAK,EAAE,qCAAqC;AAC7C,aAAA;AACD,YAAA;AACE,gBAAA,EAAE,EAAE,iBAA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iBAAA;AACD,gBAAA,IAAI,EAAE;AACJ,oBAAA,OAAO,EAAE,CAAC,GAAG,uBAAuB,EAAE,CAAC;AACvC,oBAAA,KAAK,EAAE;AACL,wBAAA,kBAAkB,CAAC;4BACjB,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC;yBACvC,CAAC;AACH,qBAAA;AACF,iBAAA;AACF,aAAA;AACF,SAAA;KACF;AAED,IAAA,OAAO,SAAS;AAClB;;;;"}
@@ -0,0 +1,198 @@
1
+ import { AXPWidgetsList, AXPWidgetsCatalog } from '@acorex-platform/framework-shared/core';
2
+ import { createAllQueryView, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';
3
+ import { c as createLocationAssignmentOwnerRefTypeProperty, a as createLocationAssignmentOwnerRefLookupProperty } from './acorex-platform-module-location-management-client-contracts-entity-catalog-location-assignment.utils-CfwbSQiM.mjs';
4
+ import { R as RootConfig } from './acorex-platform-module-location-management-client-contracts-entity-catalog-acorex-platform-module-location-management-client-contracts-entity-catalog-B1rJccHr.mjs';
5
+
6
+ //#endregion
7
+ //#region ---- Entity Factory ----
8
+ async function locationAssignmentFactory() {
9
+ const entityDef = {
10
+ module: RootConfig.module.name,
11
+ name: RootConfig.entities.locationAssignment.name,
12
+ title: RootConfig.entities.locationAssignment.title,
13
+ icon: RootConfig.entities.locationAssignment.icon,
14
+ formats: {
15
+ individual: RootConfig.entities.locationAssignment.title,
16
+ plural: RootConfig.entities.locationAssignment.titlePlural,
17
+ searchResult: {
18
+ title: '{{ location.title }}',
19
+ description: '@location-management:location-assignments.entities.location-assignment.search-result-description',
20
+ },
21
+ },
22
+ plugins: [{ name: 'notes' }],
23
+ groups: [{ id: 'basic-info', title: '@general:terms.interface.basic-info' }],
24
+ properties: [
25
+ {
26
+ name: 'locationId',
27
+ title: '@location-management:location-assignments.entities.location-assignment.fields.location.title',
28
+ groupId: 'basic-info',
29
+ options: {
30
+ sort: { enabled: true },
31
+ filter: { advance: { enabled: true }, inline: { enabled: true } },
32
+ },
33
+ schema: {
34
+ dataType: 'string',
35
+ interface: {
36
+ type: AXPWidgetsList.Editors.LookupBox,
37
+ options: {
38
+ entity: `${RootConfig.module.name}.${RootConfig.entities.location.name}`,
39
+ multiple: false,
40
+ textField: 'title',
41
+ columns: ['title', 'code', 'fullAddress', 'locationTypeId'],
42
+ allowCreate: 'quick',
43
+ expose: [
44
+ { source: 'id', target: 'location.id' },
45
+ { source: 'title', target: 'location.title' },
46
+ { source: 'fullAddress', target: 'location.fullAddress' },
47
+ { source: 'street1', target: 'location.street1' },
48
+ { source: 'street2', target: 'location.street2' },
49
+ { source: 'postalCode', target: 'location.postalCode' },
50
+ { source: 'city.title', target: 'location.city.title' },
51
+ { source: 'state.title', target: 'location.state.title' },
52
+ { source: 'country.title', target: 'location.country.title' },
53
+ ],
54
+ },
55
+ },
56
+ },
57
+ validations: [{ rule: 'required' }],
58
+ },
59
+ createLocationAssignmentOwnerRefTypeProperty('basic-info'),
60
+ createLocationAssignmentOwnerRefLookupProperty('basic-info'),
61
+ {
62
+ name: 'roleId',
63
+ title: '@location-management:location-assignments.entities.location-assignment.fields.role.title',
64
+ groupId: 'basic-info',
65
+ options: {
66
+ sort: { enabled: true },
67
+ filter: { advance: { enabled: true }, inline: { enabled: true } },
68
+ },
69
+ schema: {
70
+ dataType: 'string',
71
+ interface: {
72
+ type: AXPWidgetsCatalog.lookup,
73
+ options: {
74
+ look: 'select',
75
+ entity: `${RootConfig.module.name}.${RootConfig.entities.locationRole.name}`,
76
+ multiple: false,
77
+ expose: [
78
+ { source: 'id', target: 'role.id' },
79
+ { source: 'title', target: 'role.title' },
80
+ ],
81
+ },
82
+ },
83
+ },
84
+ validations: [{ rule: 'required' }],
85
+ },
86
+ {
87
+ name: 'personId',
88
+ title: '@location-management:location-assignments.entities.location-assignment.fields.contact.title',
89
+ groupId: 'basic-info',
90
+ options: {
91
+ sort: { enabled: true },
92
+ filter: { advance: { enabled: true }, inline: { enabled: true } },
93
+ },
94
+ schema: {
95
+ dataType: 'string',
96
+ interface: {
97
+ type: AXPWidgetsCatalog.lookup,
98
+ options: {
99
+ entity: 'PersonCore.Person',
100
+ multiple: false,
101
+ textField: 'fullName',
102
+ columns: ['fullName', 'phones', 'emails'],
103
+ allowCreate: 'quick',
104
+ expose: [
105
+ { source: 'id', target: 'person.id' },
106
+ { source: 'fullName', target: 'person.fullName' },
107
+ { source: 'phones', target: 'person.phones' },
108
+ { source: 'emails', target: 'person.emails' },
109
+ ],
110
+ },
111
+ },
112
+ },
113
+ },
114
+ ],
115
+ columns: [
116
+ {
117
+ name: 'locationId',
118
+ title: '@general:terms.common.title',
119
+ options: { dataPath: 'location.title' },
120
+ },
121
+ {
122
+ name: 'roleId',
123
+ title: '@location-management:location-assignments.entities.location-assignment.fields.role.title',
124
+ options: { dataPath: 'role.title' },
125
+ },
126
+ {
127
+ name: 'location.fullAddress',
128
+ title: '@general:terms.geography.address',
129
+ options: { width: '280px' },
130
+ },
131
+ {
132
+ name: 'personId',
133
+ title: '@general:terms.people.contact',
134
+ options: { dataPath: 'person.fullName' },
135
+ },
136
+ {
137
+ name: 'person.phones',
138
+ title: '@general:terms.communication.phones',
139
+ options: { width: '180px' },
140
+ },
141
+ {
142
+ name: 'ownerRef.id',
143
+ title: '@location-management:location-assignments.entities.location-assignment.fields.assignee.title',
144
+ options: { dataPath: 'ownerRef.title' },
145
+ },
146
+ {
147
+ name: 'notes',
148
+ title: '@general:terms.common.notes',
149
+ },
150
+ ],
151
+ interfaces: {
152
+ master: {
153
+ create: {
154
+ sections: [{ id: 'basic-info' }],
155
+ properties: [
156
+ { name: 'locationId', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },
157
+ { name: 'ownerRef.id', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
158
+ { name: 'roleId', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },
159
+ { name: 'personId', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },
160
+ ],
161
+ },
162
+ update: {
163
+ sections: [{ id: 'basic-info' }],
164
+ properties: [
165
+ { name: 'locationId', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },
166
+ { name: 'ownerRef.id', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
167
+ { name: 'roleId', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },
168
+ { name: 'personId', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },
169
+ ],
170
+ },
171
+ single: {
172
+ title: '{{ location.title }}',
173
+ sections: [{ id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } }],
174
+ properties: [
175
+ { name: 'locationId', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },
176
+ { name: 'ownerRef.id', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
177
+ { name: 'roleId', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },
178
+ { name: 'personId', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },
179
+ ],
180
+ actions: [...entityMasterRecordActions()],
181
+ },
182
+ list: {
183
+ actions: [...entityMasterCrudActions()],
184
+ views: [
185
+ createAllQueryView({
186
+ sorts: [{ name: 'locationId', dir: 'asc' }],
187
+ }),
188
+ ],
189
+ },
190
+ },
191
+ },
192
+ };
193
+ return entityDef;
194
+ }
195
+ //#endregion
196
+
197
+ export { locationAssignmentFactory };
198
+ //# sourceMappingURL=acorex-platform-module-location-management-client-contracts-entity-catalog-location-assignment.entity-Cw46YCj9.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-location-management-client-contracts-entity-catalog-location-assignment.entity-Cw46YCj9.mjs","sources":["../../../../libs/modules/location-management/contracts/src/entities/location-assignment/location-assignment.entity.ts"],"sourcesContent":["import { AXPWidgetsCatalog, AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport {\n AXPEntity,\n createAllQueryView,\n entityMasterCrudActions,\n entityMasterRecordActions,\n} from '@acorex-platform/framework-shared/entity';\n\n//#region ---- Imports ----\n\nimport { createLocationAssignmentOwnerRefLookupProperty, createLocationAssignmentOwnerRefTypeProperty } from '../../location-assignment.utils';\nimport { RootConfig } from '../../root-config';\n\n//#endregion\n\n//#region ---- Entity Factory ----\n\nexport async function locationAssignmentFactory(): Promise<AXPEntity> {\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.locationAssignment.name,\n title: RootConfig.entities.locationAssignment.title,\n icon: RootConfig.entities.locationAssignment.icon,\n formats: {\n individual: RootConfig.entities.locationAssignment.title,\n plural: RootConfig.entities.locationAssignment.titlePlural,\n searchResult: {\n title: '{{ location.title }}',\n description: '@location-management:location-assignments.entities.location-assignment.search-result-description',\n },\n },\n plugins: [{ name: 'notes' }],\n groups: [{ id: 'basic-info', title: '@general:terms.interface.basic-info' }],\n properties: [\n {\n name: 'locationId',\n title: '@location-management:location-assignments.entities.location-assignment.fields.location.title',\n groupId: 'basic-info',\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: `${RootConfig.module.name}.${RootConfig.entities.location.name}`,\n multiple: false,\n textField: 'title',\n columns: ['title', 'code', 'fullAddress', 'locationTypeId'],\n allowCreate: 'quick',\n expose: [\n { source: 'id', target: 'location.id' },\n { source: 'title', target: 'location.title' },\n { source: 'fullAddress', target: 'location.fullAddress' },\n { source: 'street1', target: 'location.street1' },\n { source: 'street2', target: 'location.street2' },\n { source: 'postalCode', target: 'location.postalCode' },\n { source: 'city.title', target: 'location.city.title' },\n { source: 'state.title', target: 'location.state.title' },\n { source: 'country.title', target: 'location.country.title' },\n ],\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n createLocationAssignmentOwnerRefTypeProperty('basic-info'),\n createLocationAssignmentOwnerRefLookupProperty('basic-info'),\n {\n name: 'roleId',\n title: '@location-management:location-assignments.entities.location-assignment.fields.role.title',\n groupId: 'basic-info',\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.lookup,\n options: {\n look: 'select',\n entity: `${RootConfig.module.name}.${RootConfig.entities.locationRole.name}`,\n multiple: false,\n expose: [\n { source: 'id', target: 'role.id' },\n { source: 'title', target: 'role.title' },\n ],\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'personId',\n title: '@location-management:location-assignments.entities.location-assignment.fields.contact.title',\n groupId: 'basic-info',\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.lookup,\n options: {\n entity: 'PersonCore.Person',\n multiple: false,\n textField: 'fullName',\n columns: ['fullName', 'phones', 'emails'],\n allowCreate: 'quick',\n expose: [\n { source: 'id', target: 'person.id' },\n { source: 'fullName', target: 'person.fullName' },\n { source: 'phones', target: 'person.phones' },\n { source: 'emails', target: 'person.emails' },\n ],\n },\n },\n },\n },\n ],\n columns: [\n {\n name: 'locationId',\n title: '@general:terms.common.title',\n options: { dataPath: 'location.title' },\n },\n {\n name: 'roleId',\n title: '@location-management:location-assignments.entities.location-assignment.fields.role.title',\n options: { dataPath: 'role.title' },\n },\n {\n name: 'location.fullAddress',\n title: '@general:terms.geography.address',\n options: { width: '280px' },\n },\n {\n name: 'personId',\n title: '@general:terms.people.contact',\n options: { dataPath: 'person.fullName' },\n },\n {\n name: 'person.phones',\n title: '@general:terms.communication.phones',\n options: { width: '180px' },\n },\n {\n name: 'ownerRef.id',\n title: '@location-management:location-assignments.entities.location-assignment.fields.assignee.title',\n options: { dataPath: 'ownerRef.title' },\n },\n {\n name: 'notes',\n title: '@general:terms.common.notes',\n },\n ],\n interfaces: {\n master: {\n create: {\n sections: [{ id: 'basic-info' }],\n properties: [\n { name: 'locationId', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },\n { name: 'ownerRef.id', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'roleId', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },\n { name: 'personId', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },\n ],\n },\n update: {\n sections: [{ id: 'basic-info' }],\n properties: [\n { name: 'locationId', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },\n { name: 'ownerRef.id', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'roleId', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },\n { name: 'personId', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },\n ],\n },\n single: {\n title: '{{ location.title }}',\n sections: [{ id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } }],\n properties: [\n { name: 'locationId', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },\n { name: 'ownerRef.id', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'roleId', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },\n { name: 'personId', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },\n ],\n actions: [...entityMasterRecordActions()],\n },\n list: {\n actions: [...entityMasterCrudActions()],\n views: [\n createAllQueryView({\n sorts: [{ name: 'locationId', dir: 'asc' }],\n }),\n ],\n },\n },\n },\n };\n\n return entityDef;\n}\n\n//#endregion\n"],"names":[],"mappings":";;;;;AAaA;AAEA;AAEO,eAAe,yBAAyB,GAAA;AAC7C,IAAA,MAAM,SAAS,GAAc;AAC3B,QAAA,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC9B,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,kBAAkB,CAAC,IAAI;AACjD,QAAA,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC,kBAAkB,CAAC,KAAK;AACnD,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,kBAAkB,CAAC,IAAI;AACjD,QAAA,OAAO,EAAE;AACP,YAAA,UAAU,EAAE,UAAU,C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,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE;AAC9E,qBAAA;AACD,oBAAA,OAAO,EAAE,CAAC,GAAG,yBAAyB,EAAE,CAAC;AAC1C,iBAAA;AACD,gBAAA,IAAI,EAAE;AACJ,oBAAA,OAAO,EAAE,CAAC,GAAG,uBAAuB,EAAE,CAAC;AACvC,oBAAA,KAAK,EAAE;AACL,wBAAA,kBAAkB,CAAC;4BACjB,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,YAAY,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC;yBAC5C,CAAC;AACH,qBAAA;AACF,iBAAA;AACF,aAAA;AACF,SAAA;KACF;AAED,IAAA,OAAO,SAAS;AAClB;AAEA;;;;"}
@@ -0,0 +1,160 @@
1
+ import { resolveMultiLanguageString, formatAddressData, AXPWidgetsList } from '@acorex-platform/framework-shared/core';
2
+
3
+ //#region ---- Imports ----
4
+ //#endregion
5
+ //#region ---- Constants ----
6
+ /** Canonical assignee type for party-scoped location assignment links. */
7
+ const LOCATION_ASSIGNMENT_PARTY_TYPE = 'BusinessCore.Party';
8
+ //#endregion
9
+ //#region ---- Display helpers ----
10
+ /** Resolves assignee display title from host/process data (plain string or multi-language object). */
11
+ function resolveLocationAssignmentDisplayTitle(locale, ...candidates) {
12
+ for (const candidate of candidates) {
13
+ if (candidate == null || candidate === '') {
14
+ continue;
15
+ }
16
+ const resolved = resolveMultiLanguageString(candidate, locale).trim();
17
+ if (resolved) {
18
+ return resolved;
19
+ }
20
+ }
21
+ return '';
22
+ }
23
+ /** Builds a location snapshot for nested LocationAssignment display fields. */
24
+ function buildLocationAssignmentLocationSnapshot(locationRow, locationId) {
25
+ const fullAddress = locationRow['fullAddress']?.trim() || formatAddressData(locationRow)?.trim() || undefined;
26
+ const toRegionRef = (value) => {
27
+ if (value == null) {
28
+ return undefined;
29
+ }
30
+ if (typeof value === 'object') {
31
+ const record = value;
32
+ const title = record['title'];
33
+ if (title == null) {
34
+ return undefined;
35
+ }
36
+ if (typeof title === 'string') {
37
+ return { title };
38
+ }
39
+ if (typeof title === 'object') {
40
+ return {
41
+ title: resolveMultiLanguageString(title, 'en-US'),
42
+ };
43
+ }
44
+ return undefined;
45
+ }
46
+ return { title: String(value) };
47
+ };
48
+ return {
49
+ id: locationId,
50
+ title: locationRow['title'],
51
+ fullAddress,
52
+ street1: locationRow['street1'],
53
+ street2: locationRow['street2'],
54
+ postalCode: locationRow['postalCode'],
55
+ city: toRegionRef(locationRow['city']),
56
+ state: toRegionRef(locationRow['state']),
57
+ country: toRegionRef(locationRow['country']),
58
+ };
59
+ }
60
+ /** Builds a person snapshot for nested LocationAssignment site-contact fields. */
61
+ function buildLocationAssignmentPersonSnapshot(personRow, personId) {
62
+ const fullName = personRow['fullName'] ??
63
+ [personRow['firstName'], personRow['lastName']].filter(Boolean).join(' ').trim();
64
+ return {
65
+ id: personId,
66
+ fullName: fullName || undefined,
67
+ phones: personRow['phones'],
68
+ emails: personRow['emails'],
69
+ };
70
+ }
71
+ //#endregion
72
+ //#region ---- Filter helpers ----
73
+ /** Filters LocationAssignment rows for a location detail context. */
74
+ function locationAssignmentLocationConditions(locationIdContextPath = 'id') {
75
+ return [
76
+ {
77
+ name: 'locationId',
78
+ operator: { type: 'equal' },
79
+ value: `{{context.eval("${locationIdContextPath}")}}`,
80
+ },
81
+ ];
82
+ }
83
+ /** Filters LocationAssignment rows for the current details-view host entity. */
84
+ function locationAssignmentPartyConditions(hostIdContextPath = 'id') {
85
+ return [
86
+ {
87
+ name: 'ownerRef.type',
88
+ operator: { type: 'equal' },
89
+ value: '{{ host.entity() }}',
90
+ },
91
+ {
92
+ name: 'ownerRef.id',
93
+ operator: { type: 'equal' },
94
+ value: `{{ host.eval("${hostIdContextPath}") }}`,
95
+ },
96
+ ];
97
+ }
98
+ //#endregion
99
+ //#region ---- Form layout helpers ----
100
+ /** Assignee lookup omitted when injected from party/customer/supplier context. */
101
+ const LOCATION_ASSIGNMENT_REF_PROPERTY_NAMES = ['ownerRef.id', 'ownerRef.type'];
102
+ /** Location lookup omitted when injected from location detail context. */
103
+ const LOCATION_ASSIGNMENT_LOCATION_PROPERTY_NAMES = ['locationId'];
104
+ function omitLocationAssignmentRefFromEditLayouts(layouts) {
105
+ return layouts.filter((layout) => !LOCATION_ASSIGNMENT_REF_PROPERTY_NAMES.includes(layout.name));
106
+ }
107
+ function omitLocationAssignmentLocationFromEditLayouts(layouts) {
108
+ return layouts.filter((layout) => !LOCATION_ASSIGNMENT_LOCATION_PROPERTY_NAMES.includes(layout.name));
109
+ }
110
+ //#endregion
111
+ //#region ---- Property factories ----
112
+ /** Polymorphic assignee lookup (AssessmentCase subjectRef pattern). */
113
+ function createLocationAssignmentOwnerRefLookupProperty(groupId, options = {}) {
114
+ const readonly = options.readonly ?? false;
115
+ return {
116
+ name: 'ownerRef.id',
117
+ title: '@location-management:location-assignments.entities.location-assignment.fields.assignee.title',
118
+ groupId,
119
+ options: readonly
120
+ ? { sort: { enabled: false }, filter: { advance: { enabled: false }, inline: { enabled: false } } }
121
+ : { sort: { enabled: true }, filter: { advance: { enabled: true }, inline: { enabled: true } } },
122
+ schema: {
123
+ dataType: 'string',
124
+ readonly,
125
+ interface: {
126
+ type: AXPWidgetsList.Editors.LookupBox,
127
+ options: {
128
+ readonly,
129
+ entity: "{{ context.eval('ownerRef.type') }}",
130
+ textField: 'title',
131
+ valueField: 'id',
132
+ expose: [
133
+ { source: 'id', target: 'ownerRef.id' },
134
+ { source: 'title', target: 'ownerRef.title' },
135
+ ],
136
+ triggers: [{ event: "{{ events.context('ownerRef.type') }}", action: '{{ widget.refresh() }}' }],
137
+ },
138
+ },
139
+ },
140
+ validations: [{ rule: 'required' }],
141
+ };
142
+ }
143
+ /** Hidden assignee type field; defaults to BusinessCore.Party. */
144
+ function createLocationAssignmentOwnerRefTypeProperty(groupId) {
145
+ return {
146
+ name: 'ownerRef.type',
147
+ title: '@location-management:location-assignments.entities.location-assignment.fields.assignee-type.title',
148
+ groupId,
149
+ schema: {
150
+ dataType: 'string',
151
+ visible: false,
152
+ defaultValue: LOCATION_ASSIGNMENT_PARTY_TYPE,
153
+ interface: { type: AXPWidgetsList.Editors.TextBox },
154
+ },
155
+ };
156
+ }
157
+ //#endregion
158
+
159
+ export { createLocationAssignmentOwnerRefLookupProperty as a, createLocationAssignmentOwnerRefTypeProperty as c, locationAssignmentLocationConditions as l };
160
+ //# sourceMappingURL=acorex-platform-module-location-management-client-contracts-entity-catalog-location-assignment.utils-CfwbSQiM.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-location-management-client-contracts-entity-catalog-location-assignment.utils-CfwbSQiM.mjs","sources":["../../../../libs/modules/location-management/contracts/src/location-assignment.utils.ts"],"sourcesContent":["//#region ---- Imports ----\n\nimport {\n AXPWidgetsList,\n formatAddressData,\n resolveMultiLanguageString,\n type AXPMultiLanguageString,\n} from '@acorex-platform/framework-shared/core';\nimport type { AXPEntityProperty, AXPQueryFilter } from '@acorex-platform/framework-shared/entity';\n\n//#endregion\n\n//#region ---- Types ----\n\ntype LocationAssignmentLocationSnapshot = {\n id: string;\n title: string;\n fullAddress?: string;\n street1?: string;\n street2?: string;\n postalCode?: string;\n city?: { title: string };\n state?: { title: string };\n country?: { title: string };\n};\n\ntype LocationAssignmentPersonSnapshot = {\n id: string;\n fullName?: string;\n phones?: unknown[];\n emails?: unknown[];\n};\n\n//#endregion\n\n//#region ---- Constants ----\n\n/** Canonical assignee type for party-scoped location assignment links. */\nexport const LOCATION_ASSIGNMENT_PARTY_TYPE = 'BusinessCore.Party';\n\n//#endregion\n\n//#region ---- Display helpers ----\n\n/** Resolves assignee display title from host/process data (plain string or multi-language object). */\nexport function resolveLocationAssignmentDisplayTitle(locale: string, ...candidates: unknown[]): string {\n for (const candidate of candidates) {\n if (candidate == null || candidate === '') {\n continue;\n }\n\n const resolved = resolveMultiLanguageString(\n candidate as string | AXPMultiLanguageString | null | undefined,\n locale,\n ).trim();\n if (resolved) {\n return resolved;\n }\n }\n\n return '';\n}\n\n/** Builds a location snapshot for nested LocationAssignment display fields. */\nexport function buildLocationAssignmentLocationSnapshot(\n locationRow: Record<string, unknown>,\n locationId: string,\n): LocationAssignmentLocationSnapshot {\n const fullAddress =\n (locationRow['fullAddress'] as string | undefined)?.trim() || formatAddressData(locationRow)?.trim() || undefined;\n\n const toRegionRef = (value: unknown) => {\n if (value == null) {\n return undefined;\n }\n if (typeof value === 'object') {\n const record = value as Record<string, unknown>;\n const title = record['title'];\n if (title == null) {\n return undefined;\n }\n if (typeof title === 'string') {\n return { title };\n }\n if (typeof title === 'object') {\n return {\n title: resolveMultiLanguageString(title as AXPMultiLanguageString, 'en-US'),\n };\n }\n return undefined;\n }\n return { title: String(value) };\n };\n\n return {\n id: locationId,\n title: locationRow['title'] as string,\n fullAddress,\n street1: locationRow['street1'] as string | undefined,\n street2: locationRow['street2'] as string | undefined,\n postalCode: locationRow['postalCode'] as string | undefined,\n city: toRegionRef(locationRow['city']),\n state: toRegionRef(locationRow['state']),\n country: toRegionRef(locationRow['country']),\n };\n}\n\n/** Builds a person snapshot for nested LocationAssignment site-contact fields. */\nexport function buildLocationAssignmentPersonSnapshot(\n personRow: Record<string, unknown>,\n personId: string,\n): LocationAssignmentPersonSnapshot {\n const fullName =\n (personRow['fullName'] as string | undefined) ??\n [personRow['firstName'], personRow['lastName']].filter(Boolean).join(' ').trim();\n\n return {\n id: personId,\n fullName: fullName || undefined,\n phones: personRow['phones'] as unknown[] | undefined,\n emails: personRow['emails'] as unknown[] | undefined,\n };\n}\n\n//#endregion\n\n//#region ---- Filter helpers ----\n\n/** Filters LocationAssignment rows for a location detail context. */\nexport function locationAssignmentLocationConditions(locationIdContextPath = 'id'): AXPQueryFilter[] {\n return [\n {\n name: 'locationId',\n operator: { type: 'equal' },\n value: `{{context.eval(\"${locationIdContextPath}\")}}`,\n },\n ];\n}\n\n/** Filters LocationAssignment rows for the current details-view host entity. */\nexport function locationAssignmentPartyConditions(hostIdContextPath = 'id'): AXPQueryFilter[] {\n return [\n {\n name: 'ownerRef.type',\n operator: { type: 'equal' },\n value: '{{ host.entity() }}',\n },\n {\n name: 'ownerRef.id',\n operator: { type: 'equal' },\n value: `{{ host.eval(\"${hostIdContextPath}\") }}`,\n },\n ];\n}\n\n//#endregion\n\n//#region ---- Form layout helpers ----\n\n/** Assignee lookup omitted when injected from party/customer/supplier context. */\nexport const LOCATION_ASSIGNMENT_REF_PROPERTY_NAMES = ['ownerRef.id', 'ownerRef.type'] as const;\n\n/** Location lookup omitted when injected from location detail context. */\nexport const LOCATION_ASSIGNMENT_LOCATION_PROPERTY_NAMES = ['locationId'] as const;\n\ntype PropertyLayoutRef = { name: string; layout?: Record<string, unknown> };\n\nexport function omitLocationAssignmentRefFromEditLayouts<T extends PropertyLayoutRef>(layouts: T[]): T[] {\n return layouts.filter(\n (layout) =>\n !LOCATION_ASSIGNMENT_REF_PROPERTY_NAMES.includes(\n layout.name as (typeof LOCATION_ASSIGNMENT_REF_PROPERTY_NAMES)[number],\n ),\n );\n}\n\nexport function omitLocationAssignmentLocationFromEditLayouts<T extends PropertyLayoutRef>(layouts: T[]): T[] {\n return layouts.filter(\n (layout) =>\n !LOCATION_ASSIGNMENT_LOCATION_PROPERTY_NAMES.includes(\n layout.name as (typeof LOCATION_ASSIGNMENT_LOCATION_PROPERTY_NAMES)[number],\n ),\n );\n}\n\n//#endregion\n\n//#region ---- Property factories ----\n\n/** Polymorphic assignee lookup (AssessmentCase subjectRef pattern). */\nexport function createLocationAssignmentOwnerRefLookupProperty(\n groupId: string,\n options: { readonly?: boolean } = {},\n): AXPEntityProperty {\n const readonly = options.readonly ?? false;\n\n return {\n name: 'ownerRef.id',\n title: '@location-management:location-assignments.entities.location-assignment.fields.assignee.title',\n groupId,\n options: readonly\n ? { sort: { enabled: false }, filter: { advance: { enabled: false }, inline: { enabled: false } } }\n : { sort: { enabled: true }, filter: { advance: { enabled: true }, inline: { enabled: true } } },\n schema: {\n dataType: 'string',\n readonly,\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n readonly,\n entity: \"{{ context.eval('ownerRef.type') }}\",\n textField: 'title',\n valueField: 'id',\n expose: [\n { source: 'id', target: 'ownerRef.id' },\n { source: 'title', target: 'ownerRef.title' },\n ],\n triggers: [{ event: \"{{ events.context('ownerRef.type') }}\", action: '{{ widget.refresh() }}' }],\n },\n },\n },\n validations: [{ rule: 'required' }],\n };\n}\n\n/** Hidden assignee type field; defaults to BusinessCore.Party. */\nexport function createLocationAssignmentOwnerRefTypeProperty(groupId: string): AXPEntityProperty {\n return {\n name: 'ownerRef.type',\n title: '@location-management:location-assignments.entities.location-assignment.fields.assignee-type.title',\n groupId,\n schema: {\n dataType: 'string',\n visible: false,\n defaultValue: LOCATION_ASSIGNMENT_PARTY_TYPE,\n interface: { type: AXPWidgetsList.Editors.TextBox },\n },\n };\n}\n\n//#endregion\n"],"names":[],"mappings":";;AAAA;AAiCA;AAEA;AAEA;AACO,MAAM,8BAA8B,GAAG,oBAAoB;AAElE;AAEA;AAEA;SACgB,qCAAqC,CAAC,MAAc,EAAE,GAAG,UAAqB,EAAA;AAC5F,IAAA,KAAK,MAAM,SAAS,IAAI,UAAU,EAAE;QAClC,IAAI,SAAS,IAAI,IAAI,IAAI,SAAS,KAAK,EAAE,EAAE;YACzC;QACF;QAEA,MAAM,QAAQ,GAAG,0BAA0B,CACzC,SAA+D,EAC/D,MAAM,CACP,CAAC,IAAI,EAAE;QACR,IAAI,QAAQ,EAAE;AACZ,YAAA,OAAO,QAAQ;QACjB;IACF;AAEA,IAAA,OAAO,EAAE;AACX;AAEA;AACM,SAAU,uCAAuC,CACrD,WAAoC,EACpC,UAAkB,EAAA;AAElB,IAAA,MAAM,WAAW,GACd,WAAW,CAAC,aAAa,CAAwB,EAAE,IAAI,EAAE,IAAI,iBAAiB,CAAC,WAAW,CAAC,EAAE,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,aAAa,EAAE;AACvC,wBAAA,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,gBAAgB,EAAE;AAC9C,qBAAA;oBACD,QAAQ,EAAE,CAAC,EAAE,KAAK,EAAE,uCAAuC,EAAE,MAAM,EAAE,wBAAwB,EAAE,CAAC;AACjG,iBAAA;AACF,aAAA;AACF,SAAA;AACD,QAAA,WAAW,EAAE,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC;KACpC;AACH;AAEA;AACM,SAAU,4CAA4C,CAAC,OAAe,EAAA;IAC1E,OAAO;AACL,QAAA,IAAI,EAAE,eAAe;AACrB,QAAA,KAAK,EAAE,mGAAmG;QAC1G,OAAO;AACP,QAAA,MAAM,EAAE;AACN,YAAA,QAAQ,EAAE,QAAQ;AAClB,YAAA,OAAO,EAAE,KAAK;AACd,YAAA,YAAY,EAAE,8BAA8B;YAC5C,SAAS,EAAE,EAAE,IAAI,EAAE,cAAc,CAAC,OAAO,CAAC,OAAO,EAAE;AACpD,SAAA;KACF;AACH;AAEA;;;;"}
@@ -0,0 +1,109 @@
1
+ import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';
2
+ import { createAllQueryView, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';
3
+ import { R as RootConfig } from './acorex-platform-module-location-management-client-contracts-entity-catalog-acorex-platform-module-location-management-client-contracts-entity-catalog-B1rJccHr.mjs';
4
+
5
+ //#endregion
6
+ //#region ---- Entity Factory ----
7
+ async function locationRoleFactory() {
8
+ const sections = [{ id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } }];
9
+ const propertyLayouts = [
10
+ { name: 'title', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },
11
+ { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },
12
+ ];
13
+ const entityDef = {
14
+ module: RootConfig.module.name,
15
+ name: RootConfig.entities.locationRole.name,
16
+ title: RootConfig.entities.locationRole.title,
17
+ icon: RootConfig.entities.locationRole.icon,
18
+ formats: {
19
+ individual: RootConfig.entities.locationRole.title,
20
+ plural: RootConfig.entities.locationRole.titlePlural,
21
+ searchResult: {
22
+ title: '{{ title }}',
23
+ description: '@location-management:location-roles.entities.location-role.search-result-description',
24
+ },
25
+ },
26
+ plugins: [{ name: 'history' }, { name: 'compare' }, { name: 'clone' }],
27
+ groups: [{ id: 'basic-info', title: '@general:terms.interface.basic-info' }],
28
+ properties: [
29
+ {
30
+ name: 'id',
31
+ title: '@general:terms.common.id',
32
+ groupId: 'basic-info',
33
+ schema: {
34
+ dataType: 'uuid',
35
+ visible: false,
36
+ readonly: true,
37
+ unique: { enabled: true },
38
+ },
39
+ },
40
+ {
41
+ name: 'title',
42
+ title: '@general:terms.common.title',
43
+ groupId: 'basic-info',
44
+ options: {
45
+ sort: { enabled: true },
46
+ filter: { advance: { enabled: true }, inline: { enabled: true } },
47
+ },
48
+ schema: {
49
+ dataType: 'string',
50
+ interface: {
51
+ type: AXPWidgetsList.Editors.TextBox,
52
+ options: {
53
+ placeholder: '@location-management:location-roles.entities.location-role.fields.title.placeholder',
54
+ },
55
+ },
56
+ },
57
+ validations: [{ rule: 'required' }],
58
+ },
59
+ {
60
+ name: 'description',
61
+ title: '@general:terms.common.description',
62
+ groupId: 'basic-info',
63
+ options: {
64
+ sort: { enabled: false },
65
+ filter: { advance: { enabled: true }, inline: { enabled: false } },
66
+ },
67
+ schema: {
68
+ dataType: 'string',
69
+ interface: {
70
+ type: AXPWidgetsList.Editors.LargeTextBox,
71
+ options: {
72
+ rows: 3,
73
+ placeholder: '@location-management:location-roles.entities.location-role.fields.description.placeholder',
74
+ },
75
+ },
76
+ },
77
+ },
78
+ ],
79
+ columns: [
80
+ { name: 'title', options: { width: '220px', order: 1 } },
81
+ { name: 'description', options: { width: '320px', order: 2 } },
82
+ ],
83
+ interfaces: {
84
+ master: {
85
+ create: { sections, properties: propertyLayouts },
86
+ update: { sections, properties: propertyLayouts },
87
+ single: {
88
+ title: '{{ title }}',
89
+ sections,
90
+ properties: propertyLayouts,
91
+ actions: [...entityMasterRecordActions()],
92
+ },
93
+ list: {
94
+ actions: [...entityMasterCrudActions()],
95
+ views: [
96
+ createAllQueryView({
97
+ sorts: [{ name: 'title', dir: 'asc' }],
98
+ }),
99
+ ],
100
+ },
101
+ },
102
+ },
103
+ };
104
+ return entityDef;
105
+ }
106
+ //#endregion
107
+
108
+ export { locationRoleFactory };
109
+ //# sourceMappingURL=acorex-platform-module-location-management-client-contracts-entity-catalog-location-role.entity-CEtJEhCf.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-location-management-client-contracts-entity-catalog-location-role.entity-CEtJEhCf.mjs","sources":["../../../../libs/modules/location-management/contracts/src/entities/location-role/location-role.entity.ts"],"sourcesContent":["import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport { AXPEntity, createAllQueryView, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';\n\n//#region ---- Imports ----\n\nimport { RootConfig } from '../../root-config';\n\n//#endregion\n\n//#region ---- Entity Factory ----\n\nexport async function locationRoleFactory(): Promise<AXPEntity> {\n const sections = [{ id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } }];\n const propertyLayouts = [\n { name: 'title', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },\n ];\n\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.locationRole.name,\n title: RootConfig.entities.locationRole.title,\n icon: RootConfig.entities.locationRole.icon,\n formats: {\n individual: RootConfig.entities.locationRole.title,\n plural: RootConfig.entities.locationRole.titlePlural,\n searchResult: {\n title: '{{ title }}',\n description: '@location-management:location-roles.entities.location-role.search-result-description',\n },\n },\n plugins: [{ name: 'history' }, { name: 'compare' }, { name: 'clone' }],\n groups: [{ id: 'basic-info', title: '@general:terms.interface.basic-info' }],\n properties: [\n {\n name: 'id',\n title: '@general:terms.common.id',\n groupId: 'basic-info',\n schema: {\n dataType: 'uuid',\n visible: false,\n readonly: true,\n unique: { enabled: true },\n },\n },\n {\n name: 'title',\n title: '@general:terms.common.title',\n groupId: 'basic-info',\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.TextBox,\n options: {\n placeholder: '@location-management:location-roles.entities.location-role.fields.title.placeholder',\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'description',\n title: '@general:terms.common.description',\n groupId: 'basic-info',\n options: {\n sort: { enabled: false },\n filter: { advance: { enabled: true }, inline: { enabled: false } },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.LargeTextBox,\n options: {\n rows: 3,\n placeholder: '@location-management:location-roles.entities.location-role.fields.description.placeholder',\n },\n },\n },\n },\n ],\n columns: [\n { name: 'title', options: { width: '220px', order: 1 } },\n { name: 'description', options: { width: '320px', order: 2 } },\n ],\n interfaces: {\n master: {\n create: { sections, properties: propertyLayouts },\n update: { sections, properties: propertyLayouts },\n single: {\n title: '{{ title }}',\n sections,\n properties: propertyLayouts,\n actions: [...entityMasterRecordActions()],\n },\n list: {\n actions: [...entityMasterCrudActions()],\n views: [\n createAllQueryView({\n sorts: [{ name: 'title', dir: 'asc' }],\n }),\n ],\n },\n },\n },\n };\n\n return entityDef;\n}\n\n//#endregion\n"],"names":[],"mappings":";;;;AAOA;AAEA;AAEO,eAAe,mBAAmB,GAAA;IACvC,MAAM,QAAQ,GAAG,CAAC,EAAE,EAAE,EAAE,YAAY,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC;AACvF,IAAA,MAAM,eAAe,GAAG;QACtB,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EA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