@acorex-platform/module-financial-core-client 0.0.33 → 0.0.38
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/fesm2022/acorex-platform-module-financial-core-client-contracts-entities-currency.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entities-exchange-rate.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entities-financial-dimension.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entities-fiscal-calendar.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entities-payment-method.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entities-payment-term.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entities-tax-class.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entities-tax-region.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entities-tax-rule.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entity-catalog-acorex-platform-module-financial-core-client-contracts-entity-catalog-DpAVTjcD.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entity-catalog-currency.entity-C6VWyRY-.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entity-catalog-exchange-rate.entity-D9ZfPYOX.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entity-catalog-financial-dimension.entity-P6IpxIPP.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entity-catalog-fiscal-calendar.entity-CHFARbBF.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entity-catalog-payment-method.entity-CWj-4rZX.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entity-catalog-payment-term.entity-Bpl7usEL.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entity-catalog-tax-class.entity-l6AYvaaV.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entity-catalog-tax-region.entity-DVBfpcCF.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entity-catalog-tax-rule.entity-0_Q8paGB.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-financial-core-client-contracts.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-financial-core-client-feature-definition.provider-C-GQzLcX.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-financial-core-client-local-entities.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-financial-core-client.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-module-financial-core-client-contracts-entity-catalog-tax-rule.entity-0_Q8paGB.mjs","sources":["../../../../libs/modules/financial-core/contracts/src/entities/tax-rule/tax-rule.entity.ts"],"sourcesContent":["import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport { AXPEntity, createAllQueryView, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';\n//#region ---- Imports ----\nimport { RootConfig } from '../../root-config';\n\n//#endregion\n\n//#region ---- Entity Factory ----\n\nexport async function taxRuleFactory(): Promise<AXPEntity> {\n\n const sections = [\n { id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'calculation', layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'effectivity', layout: { positions: { lg: { colSpan: 12 } } } },\n ];\n\n const propertyLayouts = [\n { name: 'code', layout: { positions: { lg: { colSpan: 4, order: 1 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 8, order: 2 } } } },\n { name: 'taxRegionId', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },\n { name: 'taxClassId', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },\n { name: 'priority', layout: { positions: { lg: { colSpan: 4, order: 5 } } } },\n { name: 'calculationMethod', layout: { positions: { lg: { colSpan: 4, order: 6 } } } },\n { name: 'rate', layout: { positions: { lg: { colSpan: 4, order: 7 } } } },\n { name: 'thresholdAmount', layout: { positions: { lg: { colSpan: 4, order: 8 } } } },\n { name: 'conditionSummary', layout: { positions: { lg: { colSpan: 12, order: 9 } } } },\n { name: 'effectiveFrom', layout: { positions: { lg: { colSpan: 6, order: 10 } } } },\n { name: 'effectiveTo', layout: { positions: { lg: { colSpan: 6, order: 11 } } } },\n ];\n\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.taxRule.name,\n title: RootConfig.entities.taxRule.title,\n icon: RootConfig.entities.taxRule.icon,\n formats: {\n individual: RootConfig.entities.taxRule.title,\n plural: RootConfig.entities.taxRule.titlePlural,\n searchResult: {\n title: '{{ title }}',\n description:\n '{{ context.eval(\"taxRegion.title\", { pipes: [\"translate\"] }) + \" · \" + context.eval(\"taxClass.title\", { pipes: [\"translate\"] }) }}',\n },\n },\n plugins: [{ name: 'history' }, { name: 'compare' }, { name: 'clone' }, { name: 'disable' }],\n groups: [\n { id: 'basic-info', title: '@financial-core:taxation.entities.tax-rule.groups.basic-info' },\n { id: 'calculation', title: '@financial-core:taxation.entities.tax-rule.groups.calculation' },\n { id: 'effectivity', title: '@financial-core:taxation.entities.tax-rule.groups.effectivity' },\n ],\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: 'code',\n title: '@general:terms.common.code',\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: '@financial-core:taxation.entities.tax-rule.fields.code.placeholder',\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'title',\n title: '@general:terms.common.title',\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.TextBox,\n options: {\n placeholder: '@financial-core:taxation.entities.tax-rule.fields.title.placeholder',\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'taxRegionId',\n title: '@financial-core:taxation.entities.tax-rule.fields.tax-region.title',\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: `${RootConfig.module.name}.${RootConfig.entities.taxRegion.name}`,\n look: 'select',\n expose: [\n { source: 'id', target: 'taxRegion.id' },\n { source: 'title', target: 'taxRegion.title' },\n ],\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'taxClassId',\n title: '@financial-core:taxation.entities.tax-rule.fields.tax-class.title',\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: `${RootConfig.module.name}.${RootConfig.entities.taxClass.name}`,\n look: 'select',\n expose: [\n { source: 'id', target: 'taxClass.id' },\n { source: 'title', target: 'taxClass.title' },\n ],\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'priority',\n title: '@financial-core:taxation.entities.tax-rule.fields.priority.title',\n groupId: 'calculation',\n schema: {\n dataType: 'number',\n interface: {\n type: AXPWidgetsList.Editors.NumberBox,\n options: {\n minValue: 1,\n step: 1,\n },\n },\n },\n },\n {\n name: 'calculationMethod',\n title: '@financial-core:taxation.entities.tax-rule.fields.calculation-method.title',\n groupId: 'calculation',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.SelectBox,\n options: {\n valueField: 'value',\n textField: 'text',\n dataSource: [\n {\n value: 'percentage',\n text: '@financial-core:taxation.entities.tax-rule.fields.calculation-method.options.percentage',\n },\n {\n value: 'fixed',\n text: '@financial-core:taxation.entities.tax-rule.fields.calculation-method.options.fixed',\n },\n {\n value: 'tiered',\n text: '@financial-core:taxation.entities.tax-rule.fields.calculation-method.options.tiered',\n },\n ],\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'rate',\n title: '@financial-core:taxation.entities.tax-rule.fields.rate.title',\n groupId: 'calculation',\n schema: {\n dataType: 'number',\n interface: {\n type: AXPWidgetsList.Editors.NumberBox,\n options: {\n minValue: 0,\n maxValue: 100,\n step: 0.1,\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'thresholdAmount',\n title: '@financial-core:taxation.entities.tax-rule.fields.threshold-amount.title',\n groupId: 'calculation',\n schema: {\n dataType: 'number',\n interface: {\n type: AXPWidgetsList.Editors.NumberBox,\n options: {\n minValue: 0,\n step: 1,\n },\n },\n },\n },\n {\n name: 'conditionSummary',\n title: '@financial-core:taxation.entities.tax-rule.fields.condition-summary.title',\n groupId: 'calculation',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.LargeTextBox,\n options: {\n rows: 4,\n placeholder: '@financial-core:taxation.entities.tax-rule.fields.condition-summary.placeholder',\n },\n },\n },\n },\n {\n name: 'effectiveFrom',\n title: '@financial-core:taxation.entities.tax-rule.fields.effective-from.title',\n groupId: 'effectivity',\n schema: {\n dataType: 'date',\n interface: {\n type: AXPWidgetsList.Editors.DateTimeBox,\n options: {\n showTime: true,\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'effectiveTo',\n title: '@financial-core:taxation.entities.tax-rule.fields.effective-to.title',\n groupId: 'effectivity',\n schema: {\n dataType: 'date',\n interface: {\n type: AXPWidgetsList.Editors.DateTimeBox,\n options: {\n showTime: true,\n },\n },\n },\n },\n ],\n columns: [\n { name: 'code', options: { width: '120px', order: 1 } },\n { name: 'title', options: { width: '220px', order: 2 } },\n { name: 'taxRegionId', options: { dataPath: 'taxRegion.title', width: '220px', order: 3 } },\n { name: 'taxClassId', options: { dataPath: 'taxClass.title', width: '220px', order: 4 } },\n { name: 'rate', options: { width: '120px', order: 5 } },\n ],\n interfaces: {\n master: {\n create: {\n sections,\n properties: propertyLayouts,\n },\n update: {\n sections,\n properties: propertyLayouts,\n },\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: 'code', dir: 'asc' }],\n }),\n ],\n },\n },\n },\n };\n\n return entityDef;\n}\n\n//#endregion\n"],"names":[],"mappings":";;;;AAKA;AAEA;AAEO,eAAe,cAAc,GAAA;AAElC,IAAA,MAAM,QAAQ,GAAG;AACf,QAAA,EAAE,EAAE,EAAE,YAAY,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE;AACpE,QAAA,EAAE,EAAE,EAAE,aAAa,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE;AACrE,QAAA,EAAE,EAAE,EAAE,aAAa,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE;KACtE;AAED,IAAA,MAAM,eAAe,GAAG;QACtB,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE;QACzE,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE;QAC1E,EAAE,IAAI,EAAE,aAAa,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,KAAK,EAAE,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AAE,EAAE;AAC3F,YAAA,EAAE,IAAI,EAAE,YAAY,EAAE,OAAO,EAAE,EAAE,QAAQ,EAAE,gBAAgB,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;AACzF,YAAA,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;AACxD,SAAA;AACD,QAAA,UAAU,EAAE;AACV,YAAA,MAAM,EAAE;AACN,gBAAA,MAAM,EAAE;oBACN,QAAQ;AACR,oBAAA,UAAU,EAAE,eAAe;AAC5B,iBAAA;AACD,gBAAA,MAAM,EAAE;oBACN,QAAQ;AACR,oBAAA,UAAU,EAAE,eAAe;AAC5B,iBAAA;AACD,gBAAA,MAAM,EAAE;AACN,oBAAA,KAAK,EAAE,aAAa;oBACpB,QAAQ;AACR,oBAAA,UAAU,EAAE,eAAe;AAC3B,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,MAAM,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC;yBACtC,CAAC;AACH,qBAAA;AACF,iBAAA;AACF,aAAA;AACF,SAAA;KACF;AAED,IAAA,OAAO,SAAS;AAClB;AAEA;;;;"}
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-financial-core-client-contracts-entity-catalog-tax-rule.entity-0_Q8paGB.mjs","sources":["../../../../libs/modules/financial-core/contracts/src/entities/tax-rule/tax-rule.entity.ts"],"sourcesContent":["import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport { AXPEntity, createAllQueryView, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';\n//#region ---- Imports ----\nimport { RootConfig } from '../../root-config';\n\n//#endregion\n\n//#region ---- Entity Factory ----\n\nexport async function taxRuleFactory(): Promise<AXPEntity> {\n\n const sections = [\n { id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'calculation', layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'effectivity', layout: { positions: { lg: { colSpan: 12 } } } },\n ];\n\n const propertyLayouts = [\n { name: 'code', layout: { positions: { lg: { colSpan: 4, order: 1 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 8, order: 2 } } } },\n { name: 'taxRegionId', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },\n { name: 'taxClassId', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },\n { name: 'priority', layout: { positions: { lg: { colSpan: 4, order: 5 } } } },\n { name: 'calculationMethod', layout: { positions: { lg: { colSpan: 4, order: 6 } } } },\n { name: 'rate', layout: { positions: { lg: { colSpan: 4, order: 7 } } } },\n { name: 'thresholdAmount', layout: { positions: { lg: { colSpan: 4, order: 8 } } } },\n { name: 'conditionSummary', layout: { positions: { lg: { colSpan: 12, order: 9 } } } },\n { name: 'effectiveFrom', layout: { positions: { lg: { colSpan: 6, order: 10 } } } },\n { name: 'effectiveTo', layout: { positions: { lg: { colSpan: 6, order: 11 } } } },\n ];\n\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.taxRule.name,\n title: RootConfig.entities.taxRule.title,\n icon: RootConfig.entities.taxRule.icon,\n formats: {\n individual: RootConfig.entities.taxRule.title,\n plural: RootConfig.entities.taxRule.titlePlural,\n searchResult: {\n title: '{{ title }}',\n description:\n '{{ context.eval(\"taxRegion.title\", { pipes: [\"translate\"] }) + \" · \" + context.eval(\"taxClass.title\", { pipes: [\"translate\"] }) }}',\n },\n },\n plugins: [{ name: 'history' }, { name: 'compare' }, { name: 'clone' }, { name: 'disable' }],\n groups: [\n { id: 'basic-info', title: '@financial-core:taxation.entities.tax-rule.groups.basic-info' },\n { id: 'calculation', title: '@financial-core:taxation.entities.tax-rule.groups.calculation' },\n { id: 'effectivity', title: '@financial-core:taxation.entities.tax-rule.groups.effectivity' },\n ],\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: 'code',\n title: '@general:terms.common.code',\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: '@financial-core:taxation.entities.tax-rule.fields.code.placeholder',\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'title',\n title: '@general:terms.common.title',\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.TextBox,\n options: {\n placeholder: '@financial-core:taxation.entities.tax-rule.fields.title.placeholder',\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'taxRegionId',\n title: '@financial-core:taxation.entities.tax-rule.fields.tax-region.title',\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: `${RootConfig.module.name}.${RootConfig.entities.taxRegion.name}`,\n look: 'select',\n expose: [\n { source: 'id', target: 'taxRegion.id' },\n { source: 'title', target: 'taxRegion.title' },\n ],\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'taxClassId',\n title: '@financial-core:taxation.entities.tax-rule.fields.tax-class.title',\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: `${RootConfig.module.name}.${RootConfig.entities.taxClass.name}`,\n look: 'select',\n expose: [\n { source: 'id', target: 'taxClass.id' },\n { source: 'title', target: 'taxClass.title' },\n ],\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'priority',\n title: '@financial-core:taxation.entities.tax-rule.fields.priority.title',\n groupId: 'calculation',\n schema: {\n dataType: 'number',\n interface: {\n type: AXPWidgetsList.Editors.NumberBox,\n options: {\n minValue: 1,\n step: 1,\n },\n },\n },\n },\n {\n name: 'calculationMethod',\n title: '@financial-core:taxation.entities.tax-rule.fields.calculation-method.title',\n groupId: 'calculation',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.SelectBox,\n options: {\n valueField: 'value',\n textField: 'text',\n dataSource: [\n {\n value: 'percentage',\n text: '@financial-core:taxation.entities.tax-rule.fields.calculation-method.options.percentage',\n },\n {\n value: 'fixed',\n text: '@financial-core:taxation.entities.tax-rule.fields.calculation-method.options.fixed',\n },\n {\n value: 'tiered',\n text: '@financial-core:taxation.entities.tax-rule.fields.calculation-method.options.tiered',\n },\n ],\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'rate',\n title: '@financial-core:taxation.entities.tax-rule.fields.rate.title',\n groupId: 'calculation',\n schema: {\n dataType: 'number',\n interface: {\n type: AXPWidgetsList.Editors.NumberBox,\n options: {\n minValue: 0,\n maxValue: 100,\n step: 0.1,\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'thresholdAmount',\n title: '@financial-core:taxation.entities.tax-rule.fields.threshold-amount.title',\n groupId: 'calculation',\n schema: {\n dataType: 'number',\n interface: {\n type: AXPWidgetsList.Editors.NumberBox,\n options: {\n minValue: 0,\n step: 1,\n },\n },\n },\n },\n {\n name: 'conditionSummary',\n title: '@financial-core:taxation.entities.tax-rule.fields.condition-summary.title',\n groupId: 'calculation',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.LargeTextBox,\n options: {\n rows: 4,\n placeholder: '@financial-core:taxation.entities.tax-rule.fields.condition-summary.placeholder',\n },\n },\n },\n },\n {\n name: 'effectiveFrom',\n title: '@financial-core:taxation.entities.tax-rule.fields.effective-from.title',\n groupId: 'effectivity',\n schema: {\n dataType: 'date',\n interface: {\n type: AXPWidgetsList.Editors.DateTimeBox,\n options: {\n showTime: true,\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'effectiveTo',\n title: '@financial-core:taxation.entities.tax-rule.fields.effective-to.title',\n groupId: 'effectivity',\n schema: {\n dataType: 'date',\n interface: {\n type: AXPWidgetsList.Editors.DateTimeBox,\n options: {\n showTime: true,\n },\n },\n },\n },\n ],\n columns: [\n { name: 'code', options: { width: '120px', order: 1 } },\n { name: 'title', options: { width: '220px', order: 2 } },\n { name: 'taxRegionId', options: { dataPath: 'taxRegion.title', width: '220px', order: 3 } },\n { name: 'taxClassId', options: { dataPath: 'taxClass.title', width: '220px', order: 4 } },\n { name: 'rate', options: { width: '120px', order: 5 } },\n ],\n interfaces: {\n master: {\n create: {\n sections,\n properties: propertyLayouts,\n },\n update: {\n sections,\n properties: propertyLayouts,\n },\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: 'code', dir: 'asc' }],\n }),\n ],\n },\n },\n },\n };\n\n return entityDef;\n}\n\n//#endregion\n"],"names":[],"mappings":";;;;AAKA;AAEA;AAEO,eAAe,cAAc,GAAA;AAElC,IAAA,MAAM,QAAQ,GAAG;AACf,QAAA,EAAE,EAAE,EAAE,YAAY,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE;AACpE,QAAA,EAAE,EAAE,EAAE,aAAa,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE;AACrE,QAAA,EAAE,EAAE,EAAE,aAAa,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,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O,EAAE,CAAC,GAAG,uBAAuB,EAAE,CAAC;AACvC,oBAAA,KAAK,EAAE;AACL,wBAAA,kBAAkB,CAAC;4BACjB,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC;yBACtC,CAAC;AACH,qBAAA;AACF,iBAAA;AACF,aAAA;AACF,SAAA;KACF;AAED,IAAA,OAAO,SAAS;AAClB;AAEA;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-module-financial-core-client-contracts.mjs","sources":["../../../../libs/modules/financial-core/contracts/src/features.keys.ts","../../../../libs/modules/financial-core/contracts/src/menu.keys.ts","../../../../libs/modules/financial-core/contracts/src/permission.keys.ts","../../../../libs/modules/financial-core/contracts/src/root-config.ts","../../../../libs/modules/financial-core/contracts/src/entities/currency/currency.types.ts","../../../../libs/modules/financial-core/contracts/src/entities/exchange-rate/exchange-rate.types.ts","../../../../libs/modules/financial-core/contracts/src/entities/financial-dimension/financial-dimension.types.ts","../../../../libs/modules/financial-core/contracts/src/entities/fiscal-calendar/fiscal-calendar.types.ts","../../../../libs/modules/financial-core/contracts/src/entities/payment-method/payment-method.types.ts","../../../../libs/modules/financial-core/contracts/src/entities/payment-term/payment-term.types.ts","../../../../libs/modules/financial-core/contracts/src/entities/tax-class/tax-class.types.ts","../../../../libs/modules/financial-core/contracts/src/entities/tax-region/tax-region.types.ts","../../../../libs/modules/financial-core/contracts/src/entities/tax-rule/tax-rule.types.ts","../../../../libs/modules/financial-core/contracts/src/index.ts","../../../../libs/modules/financial-core/contracts/src/acorex-platform-module-financial-core-client-contracts.ts"],"sourcesContent":["export const AXMFinancialCoreFeatureKeys = {\n Currencies: 'FinancialCore:Feature:Currencies',\n ExchangeRates: 'FinancialCore:Feature:ExchangeRates',\n Taxation: 'FinancialCore:Feature:Taxation',\n Payments: 'FinancialCore:Feature:Payments',\n FiscalCalendars: 'FinancialCore:Feature:FiscalCalendars',\n FinancialDimensions: 'FinancialCore:Feature:FinancialDimensions',\n} as const;\n\n","export const AXMFinancialCoreMenuKeys = {\n Root: 'financial-core',\n Currencies: 'financial-core.currencies',\n ExchangeRates: 'financial-core.exchange-rates',\n Divider1: 'financial-core.divider-1',\n TaxClasses: 'financial-core.tax-classes',\n TaxRegions: 'financial-core.tax-regions',\n TaxRules: 'financial-core.tax-rules',\n Divider2: 'financial-core.divider-2',\n PaymentTerms: 'financial-core.payment-terms',\n PaymentMethods: 'financial-core.payment-methods',\n Divider3: 'financial-core.divider-3',\n FiscalCalendars: 'financial-core.fiscal-calendars',\n Divider4: 'financial-core.divider-4',\n FinancialDimensions: 'financial-core.financial-dimensions',\n} as const;\n","/**\n * Finance capabilities used by this module.\n * Domain capability keys for this module. Root groups live in `AXPCommonPermissionGroupKeys` (common contracts).\n */\nexport const AXPFinancePermissionKeys = {\n Access: 'Finance:Permission:Access',\n MaintainFinance: 'Finance:Permission:MaintainFinance',\n Setup: 'Finance:Permission:Setup',\n} as const;\n\n/**\n * @deprecated Prefer {@link AXPFinancePermissionKeys}.\n * Legacy nested shape kept so existing imports compile during migration.\n */\nexport const AXMFinancialCorePermissionKeys = {\n FinancialCore: {\n Currency: {\n Management: AXPFinancePermissionKeys.MaintainFinance,\n },\n ExchangeRate: {\n Management: AXPFinancePermissionKeys.MaintainFinance,\n },\n TaxClass: {\n Management: AXPFinancePermissionKeys.MaintainFinance,\n },\n TaxRegion: {\n Management: AXPFinancePermissionKeys.MaintainFinance,\n },\n TaxRule: {\n Management: AXPFinancePermissionKeys.MaintainFinance,\n },\n PaymentTerm: {\n Management: AXPFinancePermissionKeys.MaintainFinance,\n },\n PaymentMethod: {\n Management: AXPFinancePermissionKeys.MaintainFinance,\n },\n FiscalCalendar: {\n Management: AXPFinancePermissionKeys.Setup,\n View: AXPFinancePermissionKeys.Setup,\n Create: AXPFinancePermissionKeys.Setup,\n Update: AXPFinancePermissionKeys.Setup,\n Delete: AXPFinancePermissionKeys.Setup,\n },\n FinancialDimension: {\n Management: AXPFinancePermissionKeys.MaintainFinance,\n },\n },\n} as const;\n","const config = {\n i18n: 'financial-core',\n module: 'FinancialCore',\n};\n\nexport const RootConfig = {\n config,\n module: {\n name: config.module,\n title: `@${config.i18n}:module.title`,\n icon: 'fa-light fa-sack-dollar',\n },\n entities: {\n currency: {\n name: 'Currency',\n title: `@${config.i18n}:currencies.entities.currency.title`,\n titlePlural: `@${config.i18n}:currencies.entities.currency.plural`,\n icon: 'fa-light fa-coins',\n },\n exchangeRate: {\n name: 'ExchangeRate',\n title: `@${config.i18n}:exchange-rates.entities.exchange-rate.title`,\n titlePlural: `@${config.i18n}:exchange-rates.entities.exchange-rate.plural`,\n icon: 'fa-light fa-arrows-rotate',\n },\n taxClass: {\n name: 'TaxClass',\n title: `@${config.i18n}:taxation.entities.tax-class.title`,\n titlePlural: `@${config.i18n}:taxation.entities.tax-class.plural`,\n icon: 'fa-light fa-scale-balanced',\n },\n taxRegion: {\n name: 'TaxRegion',\n title: `@${config.i18n}:taxation.entities.tax-region.title`,\n titlePlural: `@${config.i18n}:taxation.entities.tax-region.plural`,\n icon: 'fa-light fa-map-location-dot',\n },\n taxRule: {\n name: 'TaxRule',\n title: `@${config.i18n}:taxation.entities.tax-rule.title`,\n titlePlural: `@${config.i18n}:taxation.entities.tax-rule.plural`,\n icon: 'fa-light fa-scroll',\n },\n paymentTerm: {\n name: 'PaymentTerm',\n title: `@${config.i18n}:payments.entities.payment-term.title`,\n titlePlural: `@${config.i18n}:payments.entities.payment-term.plural`,\n icon: 'fa-light fa-calendar-check',\n },\n paymentMethod: {\n name: 'PaymentMethod',\n title: `@${config.i18n}:payments.entities.payment-method.title`,\n titlePlural: `@${config.i18n}:payments.entities.payment-method.plural`,\n icon: 'fa-light fa-credit-card',\n },\n fiscalCalendar: {\n name: 'FiscalCalendar',\n title: `@${config.i18n}:calendars.entities.fiscal-calendar.title`,\n titlePlural: `@${config.i18n}:calendars.entities.fiscal-calendar.plural`,\n icon: 'fa-light fa-calendar-days',\n },\n financialDimension: {\n name: 'FinancialDimension',\n title: `@${config.i18n}:dimensions.entities.financial-dimension.title`,\n titlePlural: `@${config.i18n}:dimensions.entities.financial-dimension.plural`,\n icon: 'fa-light fa-layer-group',\n },\n },\n} as const;\n","import { AXPMultiLanguageString } from '@acorex-platform/framework-shared/core';\nimport { AXPEntityModel } from '@acorex-platform/framework-shared/entity';\n//#region ---- Currency Model ----\n\nexport interface AXMFinancialCoreCurrencyEntityModel extends AXPEntityModel<string> {\n code: string;\n title: AXPMultiLanguageString;\n symbol: string;\n isoNumber?: string | null;\n decimalPlaces: number;\n thousandSeparator?: string | null;\n decimalSeparator?: string | null;\n formatPattern?: string | null;\n isDefault?: boolean;\n isDisabled?: boolean;\n}\n\n//#endregion\n","import { AXPMultiLanguageString } from '@acorex-platform/framework-shared/core';\nimport { AXPEntityModel } from '@acorex-platform/framework-shared/entity';\n//#region ---- Exchange Rate Model ----\n\nexport interface AXMFinancialCoreExchangeRateEntityModel extends AXPEntityModel<string> {\n pairCode: string;\n title: AXPMultiLanguageString;\n baseCurrencyId: string;\n quoteCurrencyId: string;\n rate: number;\n inverseRate?: number;\n method?: string;\n source?: string;\n status?: string;\n effectiveFrom?: Date;\n effectiveTo?: Date | null;\n baseCurrency?: { id: string; title: AXPMultiLanguageString; symbol: string };\n quoteCurrency?: { id: string; title: AXPMultiLanguageString; symbol: string };\n}\n\n//#endregion\n","import { AXPMultiLanguageString } from '@acorex-platform/framework-shared/core';\nimport { AXPEntityModel } from '@acorex-platform/framework-shared/entity';\n//#region ---- Financial Dimension Model ----\n\nexport interface AXMFinancialCoreFinancialDimensionEntityModel extends AXPEntityModel<string> {\n code: string;\n title: AXPMultiLanguageString;\n description?: AXPMultiLanguageString | null;\n dimensionType: string;\n parentId?: string | null;\n parent?: { id: string; title: AXPMultiLanguageString };\n hierarchyPath?: string;\n displayOrder?: number;\n isLeaf?: boolean;\n isArchived?: boolean;\n}\n\n//#endregion\n\n","import { AXPMultiLanguageString } from '@acorex-platform/framework-shared/core';\nimport { AXPEntityModel } from '@acorex-platform/framework-shared/entity';\n//#region ---- Fiscal Calendar Model ----\n\nexport interface AXMFinancialCoreFiscalCalendarEntityModel extends AXPEntityModel<string> {\n code: string;\n title: AXPMultiLanguageString;\n description?: AXPMultiLanguageString | null;\n fiscalYear: number;\n startDate: Date;\n endDate: Date;\n templateCalendarId?: string | null;\n closingPeriods?: number;\n status?: string;\n isLocked?: boolean;\n isDefault?: boolean;\n}\n\n//#endregion\n\n","import { AXPMultiLanguageString } from '@acorex-platform/framework-shared/core';\nimport { AXPEntityModel } from '@acorex-platform/framework-shared/entity';\n//#region ---- Payment Method Model ----\n\nexport interface AXMFinancialCorePaymentMethodEntityModel extends AXPEntityModel<string> {\n code: string;\n title: AXPMultiLanguageString;\n description?: AXPMultiLanguageString | null;\n type: string;\n provider?: string | null;\n integrationType?: string | null;\n feePercent?: number;\n settlementTimeDays?: number;\n supportsRefunds?: boolean;\n supportsRecurring?: boolean;\n instructions?: string | null;\n isDisabled?: boolean;\n}\n\n//#endregion\n\n","import { AXPMultiLanguageString } from '@acorex-platform/framework-shared/core';\nimport { AXPEntityModel } from '@acorex-platform/framework-shared/entity';\n//#region ---- Payment Term Model ----\n\nexport interface AXMFinancialCorePaymentTermEntityModel extends AXPEntityModel<string> {\n code: string;\n title: AXPMultiLanguageString;\n description?: AXPMultiLanguageString | null;\n netDueDays: number;\n discountPercent?: number;\n discountDays?: number;\n gracePeriodDays?: number;\n autoRenew?: boolean;\n isDisabled?: boolean;\n}\n\n//#endregion\n","import { AXPMultiLanguageString } from '@acorex-platform/framework-shared/core';\nimport { AXPEntityModel } from '@acorex-platform/framework-shared/entity';\n//#region ---- Tax Class Model ----\n\nexport interface AXMFinancialCoreTaxClassEntityModel extends AXPEntityModel<string> {\n code: string;\n title: AXPMultiLanguageString;\n description?: AXPMultiLanguageString | null;\n type: string;\n defaultRate: number;\n isCompound?: boolean;\n priority?: number;\n isDisabled?: boolean;\n}\n\n//#endregion\n","import { AXPMultiLanguageString } from '@acorex-platform/framework-shared/core';\nimport { AXPEntityModel } from '@acorex-platform/framework-shared/entity';\n//#region ---- Tax Region Model ----\n\nexport interface AXMFinancialCoreTaxRegionEntityModel extends AXPEntityModel<string> {\n code: string;\n title: AXPMultiLanguageString;\n countryCode: string;\n regionCode?: string | null;\n defaultCurrencyId?: string | null;\n currency?: { id: string; title: AXPMultiLanguageString };\n taxAuthorityName?: string | null;\n isDefault?: boolean;\n isDisabled?: boolean;\n}\n\n//#endregion\n","import { AXPMultiLanguageString } from '@acorex-platform/framework-shared/core';\nimport { AXPEntityModel } from '@acorex-platform/framework-shared/entity';\n//#region ---- Tax Rule Model ----\n\nexport interface AXMFinancialCoreTaxRuleEntityModel extends AXPEntityModel<string> {\n code: string;\n title: AXPMultiLanguageString;\n taxRegionId: string;\n taxClassId: string;\n taxRegion?: { id: string; title: AXPMultiLanguageString };\n taxClass?: { id: string; title: AXPMultiLanguageString };\n priority?: number;\n calculationMethod: string;\n rate: number;\n thresholdAmount?: number;\n conditionSummary?: string | null;\n effectiveFrom?: Date;\n effectiveTo?: Date | null;\n isDisabled?: boolean;\n}\n\n//#endregion\n","//#region ---- Contracts barrel ----\n\nexport * from './features.keys';\nexport * from './menu.keys';\nexport * from './permission.keys';\n\nexport * from './root-config';\n\n//#endregion\n\nexport * from './entities';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"AAAO,MAAM,2BAA2B,GAAG;AACvC,IAAA,UAAU,EAAE,kCAAkC;AAC9C,IAAA,aAAa,EAAE,qCAAqC;AACpD,IAAA,QAAQ,EAAE,gCAAgC;AAC1C,IAAA,QAAQ,EAAE,gCAAgC;AAC1C,IAAA,eAAe,EAAE,uCAAuC;AACxD,IAAA,mBAAmB,EAAE,2CAA2C;;;ACN7D,MAAM,wBAAwB,GAAG;AACpC,IAAA,IAAI,EAAE,gBAAgB;AACtB,IAAA,UAAU,EAAE,2BAA2B;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I,CAAA,yCAAA,CAA2C;AACjE,YAAA,WAAW,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,0CAAA,CAA4C;AACxE,YAAA,IAAI,EAAE,2BAA2B;AACpC,SAAA;AACD,QAAA,kBAAkB,EAAE;AAChB,YAAA,IAAI,EAAE,oBAAoB;AAC1B,YAAA,KAAK,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,8CAAA,CAAgD;AACtE,YAAA,WAAW,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,+CAAA,CAAiD;AAC7E,YAAA,IAAI,EAAE,yBAAyB;AAClC,SAAA;AACJ,KAAA;;;AClDL;;ACGA;;ACHA;;ACCA;;ACCA;;ACHA;;ACDA;;ACCA;;ACKA;;ACrBA;;ACAA;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-financial-core-client-contracts.mjs","sources":["../../../../libs/modules/financial-core/contracts/src/features.keys.ts","../../../../libs/modules/financial-core/contracts/src/menu.keys.ts","../../../../libs/modules/financial-core/contracts/src/permission.keys.ts","../../../../libs/modules/financial-core/contracts/src/root-config.ts","../../../../libs/modules/financial-core/contracts/src/entities/currency/currency.types.ts","../../../../libs/modules/financial-core/contracts/src/entities/exchange-rate/exchange-rate.types.ts","../../../../libs/modules/financial-core/contracts/src/entities/financial-dimension/financial-dimension.types.ts","../../../../libs/modules/financial-core/contracts/src/entities/fiscal-calendar/fiscal-calendar.types.ts","../../../../libs/modules/financial-core/contracts/src/entities/payment-method/payment-method.types.ts","../../../../libs/modules/financial-core/contracts/src/entities/payment-term/payment-term.types.ts","../../../../libs/modules/financial-core/contracts/src/entities/tax-class/tax-class.types.ts","../../../../libs/modules/financial-core/contracts/src/entities/tax-region/tax-region.types.ts","../../../../libs/modules/financial-core/contracts/src/entities/tax-rule/tax-rule.types.ts","../../../../libs/modules/financial-core/contracts/src/index.ts","../../../../libs/modules/financial-core/contracts/src/acorex-platform-module-financial-core-client-contracts.ts"],"sourcesContent":["export const AXMFinancialCoreFeatureKeys = {\n Currencies: 'FinancialCore:Feature:Currencies',\n ExchangeRates: 'FinancialCore:Feature:ExchangeRates',\n Taxation: 'FinancialCore:Feature:Taxation',\n Payments: 'FinancialCore:Feature:Payments',\n FiscalCalendars: 'FinancialCore:Feature:FiscalCalendars',\n FinancialDimensions: 'FinancialCore:Feature:FinancialDimensions',\n} as const;\n\n","export const AXMFinancialCoreMenuKeys = {\n Root: 'financial-core',\n Currencies: 'financial-core.currencies',\n ExchangeRates: 'financial-core.exchange-rates',\n Divider1: 'financial-core.divider-1',\n TaxClasses: 'financial-core.tax-classes',\n TaxRegions: 'financial-core.tax-regions',\n TaxRules: 'financial-core.tax-rules',\n Divider2: 'financial-core.divider-2',\n PaymentTerms: 'financial-core.payment-terms',\n PaymentMethods: 'financial-core.payment-methods',\n Divider3: 'financial-core.divider-3',\n FiscalCalendars: 'financial-core.fiscal-calendars',\n Divider4: 'financial-core.divider-4',\n FinancialDimensions: 'financial-core.financial-dimensions',\n} as const;\n","/**\n * Finance capabilities used by this module.\n * Domain capability keys for this module. Root groups live in `AXPCommonPermissionGroupKeys` (common contracts).\n */\nexport const AXPFinancePermissionKeys = {\n Access: 'Finance:Permission:Access',\n MaintainFinance: 'Finance:Permission:MaintainFinance',\n Setup: 'Finance:Permission:Setup',\n} as const;\n\n/**\n * @deprecated Prefer {@link AXPFinancePermissionKeys}.\n * Legacy nested shape kept so existing imports compile during migration.\n */\nexport const AXMFinancialCorePermissionKeys = {\n FinancialCore: {\n Currency: {\n Management: AXPFinancePermissionKeys.MaintainFinance,\n },\n ExchangeRate: {\n Management: AXPFinancePermissionKeys.MaintainFinance,\n },\n TaxClass: {\n Management: AXPFinancePermissionKeys.MaintainFinance,\n },\n TaxRegion: {\n Management: AXPFinancePermissionKeys.MaintainFinance,\n },\n TaxRule: {\n Management: AXPFinancePermissionKeys.MaintainFinance,\n },\n PaymentTerm: {\n Management: AXPFinancePermissionKeys.MaintainFinance,\n },\n PaymentMethod: {\n Management: AXPFinancePermissionKeys.MaintainFinance,\n },\n FiscalCalendar: {\n Management: AXPFinancePermissionKeys.Setup,\n View: AXPFinancePermissionKeys.Setup,\n Create: AXPFinancePermissionKeys.Setup,\n Update: AXPFinancePermissionKeys.Setup,\n Delete: AXPFinancePermissionKeys.Setup,\n },\n FinancialDimension: {\n Management: AXPFinancePermissionKeys.MaintainFinance,\n },\n },\n} as const;\n","const config = {\n i18n: 'financial-core',\n module: 'FinancialCore',\n};\n\nexport const RootConfig = {\n config,\n module: {\n name: config.module,\n title: `@${config.i18n}:module.title`,\n icon: 'fa-light fa-sack-dollar',\n },\n entities: {\n currency: {\n name: 'Currency',\n title: `@${config.i18n}:currencies.entities.currency.title`,\n titlePlural: `@${config.i18n}:currencies.entities.currency.plural`,\n icon: 'fa-light fa-coins',\n },\n exchangeRate: {\n name: 'ExchangeRate',\n title: `@${config.i18n}:exchange-rates.entities.exchange-rate.title`,\n titlePlural: `@${config.i18n}:exchange-rates.entities.exchange-rate.plural`,\n icon: 'fa-light fa-arrows-rotate',\n },\n taxClass: {\n name: 'TaxClass',\n title: `@${config.i18n}:taxation.entities.tax-class.title`,\n titlePlural: `@${config.i18n}:taxation.entities.tax-class.plural`,\n icon: 'fa-light fa-scale-balanced',\n },\n taxRegion: {\n name: 'TaxRegion',\n title: `@${config.i18n}:taxation.entities.tax-region.title`,\n titlePlural: `@${config.i18n}:taxation.entities.tax-region.plural`,\n icon: 'fa-light fa-map-location-dot',\n },\n taxRule: {\n name: 'TaxRule',\n title: `@${config.i18n}:taxation.entities.tax-rule.title`,\n titlePlural: `@${config.i18n}:taxation.entities.tax-rule.plural`,\n icon: 'fa-light fa-scroll',\n },\n paymentTerm: {\n name: 'PaymentTerm',\n title: `@${config.i18n}:payments.entities.payment-term.title`,\n titlePlural: `@${config.i18n}:payments.entities.payment-term.plural`,\n icon: 'fa-light fa-calendar-check',\n },\n paymentMethod: {\n name: 'PaymentMethod',\n title: `@${config.i18n}:payments.entities.payment-method.title`,\n titlePlural: `@${config.i18n}:payments.entities.payment-method.plural`,\n icon: 'fa-light fa-credit-card',\n },\n fiscalCalendar: {\n name: 'FiscalCalendar',\n title: `@${config.i18n}:calendars.entities.fiscal-calendar.title`,\n titlePlural: `@${config.i18n}:calendars.entities.fiscal-calendar.plural`,\n icon: 'fa-light fa-calendar-days',\n },\n financialDimension: {\n name: 'FinancialDimension',\n title: `@${config.i18n}:dimensions.entities.financial-dimension.title`,\n titlePlural: `@${config.i18n}:dimensions.entities.financial-dimension.plural`,\n icon: 'fa-light fa-layer-group',\n },\n },\n} as const;\n","import { AXPMultiLanguageString } from '@acorex-platform/framework-shared/core';\nimport { AXPEntityModel } from '@acorex-platform/framework-shared/entity';\n//#region ---- Currency Model ----\n\nexport interface AXMFinancialCoreCurrencyEntityModel extends AXPEntityModel<string> {\n code: string;\n title: AXPMultiLanguageString;\n symbol: string;\n isoNumber?: string | null;\n decimalPlaces: number;\n thousandSeparator?: string | null;\n decimalSeparator?: string | null;\n formatPattern?: string | null;\n isDefault?: boolean;\n isDisabled?: boolean;\n}\n\n//#endregion\n","import { AXPMultiLanguageString } from '@acorex-platform/framework-shared/core';\nimport { AXPEntityModel } from '@acorex-platform/framework-shared/entity';\n//#region ---- Exchange Rate Model ----\n\nexport interface AXMFinancialCoreExchangeRateEntityModel extends AXPEntityModel<string> {\n pairCode: string;\n title: AXPMultiLanguageString;\n baseCurrencyId: string;\n quoteCurrencyId: string;\n rate: number;\n inverseRate?: number;\n method?: string;\n source?: string;\n status?: string;\n effectiveFrom?: Date;\n effectiveTo?: Date | null;\n baseCurrency?: { id: string; title: AXPMultiLanguageString; symbol: string };\n quoteCurrency?: { id: string; title: AXPMultiLanguageString; symbol: string };\n}\n\n//#endregion\n","import { AXPMultiLanguageString } from '@acorex-platform/framework-shared/core';\nimport { AXPEntityModel } from '@acorex-platform/framework-shared/entity';\n//#region ---- Financial Dimension Model ----\n\nexport interface AXMFinancialCoreFinancialDimensionEntityModel extends AXPEntityModel<string> {\n code: string;\n title: AXPMultiLanguageString;\n description?: AXPMultiLanguageString | null;\n dimensionType: string;\n parentId?: string | null;\n parent?: { id: string; title: AXPMultiLanguageString };\n hierarchyPath?: string;\n displayOrder?: number;\n isLeaf?: boolean;\n isArchived?: boolean;\n}\n\n//#endregion\n\n","import { AXPMultiLanguageString } from '@acorex-platform/framework-shared/core';\nimport { AXPEntityModel } from '@acorex-platform/framework-shared/entity';\n//#region ---- Fiscal Calendar Model ----\n\nexport interface AXMFinancialCoreFiscalCalendarEntityModel extends AXPEntityModel<string> {\n code: string;\n title: AXPMultiLanguageString;\n description?: AXPMultiLanguageString | null;\n fiscalYear: number;\n startDate: Date;\n endDate: Date;\n templateCalendarId?: string | null;\n closingPeriods?: number;\n status?: string;\n isLocked?: boolean;\n isDefault?: boolean;\n}\n\n//#endregion\n\n","import { AXPMultiLanguageString } from '@acorex-platform/framework-shared/core';\nimport { AXPEntityModel } from '@acorex-platform/framework-shared/entity';\n//#region ---- Payment Method Model ----\n\nexport interface AXMFinancialCorePaymentMethodEntityModel extends AXPEntityModel<string> {\n code: string;\n title: AXPMultiLanguageString;\n description?: AXPMultiLanguageString | null;\n type: string;\n provider?: string | null;\n integrationType?: string | null;\n feePercent?: number;\n settlementTimeDays?: number;\n supportsRefunds?: boolean;\n supportsRecurring?: boolean;\n instructions?: string | null;\n isDisabled?: boolean;\n}\n\n//#endregion\n\n","import { AXPMultiLanguageString } from '@acorex-platform/framework-shared/core';\nimport { AXPEntityModel } from '@acorex-platform/framework-shared/entity';\n//#region ---- Payment Term Model ----\n\nexport interface AXMFinancialCorePaymentTermEntityModel extends AXPEntityModel<string> {\n code: string;\n title: AXPMultiLanguageString;\n description?: AXPMultiLanguageString | null;\n netDueDays: number;\n discountPercent?: number;\n discountDays?: number;\n gracePeriodDays?: number;\n autoRenew?: boolean;\n isDisabled?: boolean;\n}\n\n//#endregion\n","import { AXPMultiLanguageString } from '@acorex-platform/framework-shared/core';\nimport { AXPEntityModel } from '@acorex-platform/framework-shared/entity';\n//#region ---- Tax Class Model ----\n\nexport interface AXMFinancialCoreTaxClassEntityModel extends AXPEntityModel<string> {\n code: string;\n title: AXPMultiLanguageString;\n description?: AXPMultiLanguageString | null;\n type: string;\n defaultRate: number;\n isCompound?: boolean;\n priority?: number;\n isDisabled?: boolean;\n}\n\n//#endregion\n","import { AXPMultiLanguageString } from '@acorex-platform/framework-shared/core';\nimport { AXPEntityModel } from '@acorex-platform/framework-shared/entity';\n//#region ---- Tax Region Model ----\n\nexport interface AXMFinancialCoreTaxRegionEntityModel extends AXPEntityModel<string> {\n code: string;\n title: AXPMultiLanguageString;\n countryCode: string;\n regionCode?: string | null;\n defaultCurrencyId?: string | null;\n currency?: { id: string; title: AXPMultiLanguageString };\n taxAuthorityName?: string | null;\n isDefault?: boolean;\n isDisabled?: boolean;\n}\n\n//#endregion\n","import { AXPMultiLanguageString } from '@acorex-platform/framework-shared/core';\nimport { AXPEntityModel } from '@acorex-platform/framework-shared/entity';\n//#region ---- Tax Rule Model ----\n\nexport interface AXMFinancialCoreTaxRuleEntityModel extends AXPEntityModel<string> {\n code: string;\n title: AXPMultiLanguageString;\n taxRegionId: string;\n taxClassId: string;\n taxRegion?: { id: string; title: AXPMultiLanguageString };\n taxClass?: { id: string; title: AXPMultiLanguageString };\n priority?: number;\n calculationMethod: string;\n rate: number;\n thresholdAmount?: number;\n conditionSummary?: string | null;\n effectiveFrom?: Date;\n effectiveTo?: Date | null;\n isDisabled?: boolean;\n}\n\n//#endregion\n","//#region ---- Contracts barrel ----\n\nexport * from './features.keys';\nexport * from './menu.keys';\nexport * from './permission.keys';\n\nexport * from './root-config';\n\n//#endregion\n\nexport * from './entities';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"AAAO,MAAM,2BAA2B,GAAG;AACvC,IAAA,UAAU,EAAE,kCAAkC;AAC9C,IAAA,aAAa,EAAE,qCAAqC;AACpD,IAAA,Q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AAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,wCAAA,CAA0C;AACtE,YAAA,IAAI,EAAE,yBAAyB;AAClC,SAAA;AACD,QAAA,cAAc,EAAE;AACZ,YAAA,IAAI,EAAE,gBAAgB;AACtB,YAAA,KAAK,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,yCAAA,CAA2C;AACjE,YAAA,WAAW,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,0CAAA,CAA4C;AACxE,YAAA,IAAI,EAAE,2BAA2B;AACpC,SAAA;AACD,QAAA,kBAAkB,EAAE;AAChB,YAAA,IAAI,EAAE,oBAAoB;AAC1B,YAAA,KAAK,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,8CAAA,CAAgD;AACtE,YAAA,WAAW,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,+CAAA,CAAiD;AAC7E,YAAA,IAAI,EAAE,yBAAyB;AAClC,SAAA;AACJ,KAAA;;;AClDL;;ACGA;;ACHA;;ACCA;;ACCA;;ACHA;;ACDA;;ACCA;;ACKA;;ACrBA;;ACAA;;AAEG;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-module-financial-core-client-feature-definition.provider-C-GQzLcX.mjs","sources":["../../../../libs/modules/financial-core/client/src/lib/feature-definition.provider.ts"],"sourcesContent":["//#region ---- Imports ----\n\nimport {\n AXPFeatureDefinitionProvider,\n AXPFeatureDefinitionProviderContext,\n} from '@acorex-platform/framework-client/core';\nimport { AXMFinancialCoreFeatureKeys } from '@acorex-platform/module-financial-core-client/contracts';\n\n//#endregion\n\n//#region ---- Feature Definition Provider ----\n\n/**\n * Financial Core Feature Definition Provider.\n * Provides feature definitions for the Financial Core module.\n */\nexport class AXMFinancialCoreFeatureDefinitionProvider implements AXPFeatureDefinitionProvider {\n async provide(context: AXPFeatureDefinitionProviderContext): Promise<void> {\n // Currencies feature\n context.addFeature(AXMFinancialCoreFeatureKeys.Currencies, {\n title: '@financial-core:features.currencies.title',\n description: '@financial-core:features.currencies.description',\n defaultValue: true,\n type: 'boolean',\n });\n\n // Exchange Rates feature\n context.addFeature(AXMFinancialCoreFeatureKeys.ExchangeRates, {\n title: '@financial-core:features.exchange-rates.title',\n description: '@financial-core:features.exchange-rates.description',\n defaultValue: true,\n type: 'boolean',\n });\n\n // Taxation feature\n context.addFeature(AXMFinancialCoreFeatureKeys.Taxation, {\n title: '@financial-core:features.taxation.title',\n description: '@financial-core:features.taxation.description',\n defaultValue: true,\n type: 'boolean',\n });\n\n // Payments feature\n context.addFeature(AXMFinancialCoreFeatureKeys.Payments, {\n title: '@financial-core:features.payments.title',\n description: '@financial-core:features.payments.description',\n defaultValue: true,\n type: 'boolean',\n });\n\n // Fiscal Calendars feature\n context.addFeature(AXMFinancialCoreFeatureKeys.FiscalCalendars, {\n title: '@financial-core:features.fiscal-calendars.title',\n description: '@financial-core:features.fiscal-calendars.description',\n defaultValue: true,\n type: 'boolean',\n });\n\n // Financial Dimensions feature\n context.addFeature(AXMFinancialCoreFeatureKeys.FinancialDimensions, {\n title: '@financial-core:features.financial-dimensions.title',\n description: '@financial-core:features.financial-dimensions.description',\n defaultValue: true,\n type: 'boolean',\n });\n }\n}\n\n//#endregion\n\n"],"names":[],"mappings":";;AAAA;AAQA;AAEA;AAEA;;;AAGG;MACU,yCAAyC,CAAA;IAClD,MAAM,OAAO,CAAC,OAA4C,EAAA;;AAEtD,QAAA,OAAO,CAAC,UAAU,CAAC,2BAA2B,CAAC,UAAU,EAAE;AACvD,YAAA,KAAK,EAAE,2CAA2C;AAClD,YAAA,WAAW,EAAE,iDAAiD;AAC9D,YAAA,YAAY,EAAE,IAAI;AAClB,YAAA,IAAI,EAAE,SAAS;AAClB,SAAA,CAAC;;AAGF,QAAA,OAAO,CAAC,UAAU,CAAC,2BAA2B,CAAC,aAAa,EAAE;AAC1D,YAAA,KAAK,EAAE,+CAA+C;AACtD,YAAA,WAAW,EAAE,qDAAqD;AAClE,YAAA,YAAY,EAAE,IAAI;AAClB,YAAA,IAAI,EAAE,SAAS;AAClB,SAAA,CAAC;;AAGF,QAAA,OAAO,CAAC,UAAU,CAAC,2BAA2B,CAAC,QAAQ,EAAE;AACrD,YAAA,KAAK,EAAE,yCAAyC;AAChD,YAAA,WAAW,EAAE,+CAA+C;AAC5D,YAAA,YAAY,EAAE,IAAI;AAClB,YAAA,IAAI,EAAE,SAAS;AAClB,SAAA,CAAC;;AAGF,QAAA,OAAO,CAAC,UAAU,CAAC,2BAA2B,CAAC,QAAQ,EAAE;AACrD,YAAA,KAAK,EAAE,yCAAyC;AAChD,YAAA,WAAW,EAAE,+CAA+C;AAC5D,YAAA,YAAY,EAAE,IAAI;AAClB,YAAA,IAAI,EAAE,SAAS;AAClB,SAAA,CAAC;;AAGF,QAAA,OAAO,CAAC,UAAU,CAAC,2BAA2B,CAAC,eAAe,EAAE;AAC5D,YAAA,KAAK,EAAE,iDAAiD;AACxD,YAAA,WAAW,EAAE,uDAAuD;AACpE,YAAA,YAAY,EAAE,IAAI;AAClB,YAAA,IAAI,EAAE,SAAS;AAClB,SAAA,CAAC;;AAGF,QAAA,OAAO,CAAC,UAAU,CAAC,2BAA2B,CAAC,mBAAmB,EAAE;AAChE,YAAA,KAAK,EAAE,qDAAqD;AAC5D,YAAA,WAAW,EAAE,2DAA2D;AACxE,YAAA,YAAY,EAAE,IAAI;AAClB,YAAA,IAAI,EAAE,SAAS;AAClB,SAAA,CAAC;IACN;AACH;AAED
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-financial-core-client-feature-definition.provider-C-GQzLcX.mjs","sources":["../../../../libs/modules/financial-core/client/src/lib/feature-definition.provider.ts"],"sourcesContent":["//#region ---- Imports ----\n\nimport {\n AXPFeatureDefinitionProvider,\n AXPFeatureDefinitionProviderContext,\n} from '@acorex-platform/framework-client/core';\nimport { AXMFinancialCoreFeatureKeys } from '@acorex-platform/module-financial-core-client/contracts';\n\n//#endregion\n\n//#region ---- Feature Definition Provider ----\n\n/**\n * Financial Core Feature Definition Provider.\n * Provides feature definitions for the Financial Core module.\n */\nexport class AXMFinancialCoreFeatureDefinitionProvider implements AXPFeatureDefinitionProvider {\n async provide(context: AXPFeatureDefinitionProviderContext): Promise<void> {\n // Currencies feature\n context.addFeature(AXMFinancialCoreFeatureKeys.Currencies, {\n title: '@financial-core:features.currencies.title',\n description: '@financial-core:features.currencies.description',\n defaultValue: true,\n type: 'boolean',\n });\n\n // Exchange Rates feature\n context.addFeature(AXMFinancialCoreFeatureKeys.ExchangeRates, {\n title: '@financial-core:features.exchange-rates.title',\n description: '@financial-core:features.exchange-rates.description',\n defaultValue: true,\n type: 'boolean',\n });\n\n // Taxation feature\n context.addFeature(AXMFinancialCoreFeatureKeys.Taxation, {\n title: '@financial-core:features.taxation.title',\n description: '@financial-core:features.taxation.description',\n defaultValue: true,\n type: 'boolean',\n });\n\n // Payments feature\n context.addFeature(AXMFinancialCoreFeatureKeys.Payments, {\n title: '@financial-core:features.payments.title',\n description: '@financial-core:features.payments.description',\n defaultValue: true,\n type: 'boolean',\n });\n\n // Fiscal Calendars feature\n context.addFeature(AXMFinancialCoreFeatureKeys.FiscalCalendars, {\n title: '@financial-core:features.fiscal-calendars.title',\n description: '@financial-core:features.fiscal-calendars.description',\n defaultValue: true,\n type: 'boolean',\n });\n\n // Financial Dimensions feature\n context.addFeature(AXMFinancialCoreFeatureKeys.FinancialDimensions, {\n title: '@financial-core:features.financial-dimensions.title',\n description: '@financial-core:features.financial-dimensions.description',\n defaultValue: true,\n type: 'boolean',\n });\n }\n}\n\n//#endregion\n\n"],"names":[],"mappings":";;AAAA;AAQA;AAEA;AAEA;;;AAGG;MACU,yCAAyC,CAAA;IAClD,MAAM,OAAO,CAAC,OAA4C,EAAA;;AAEtD,QAAA,OAAO,CAAC,UAAU,CAAC,2BAA2B,CAAC,UAAU,EAAE;AACvD,YAAA,KAAK,EAAE,2CAA2C;AAClD,Y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client-local-entities.mjs","sources":["../../../../libs/modules/financial-core/client/src/lib/provide-local-entities.ts","../../../../libs/modules/financial-core/client/src/lib/acorex-platform-module-financial-core-client-local-entities.ts"],"sourcesContent":["//#region ----- Imports -----\n\nimport { provideLocalEntityCatalog } from '@acorex-platform/framework-client/layout/entity';\nimport { RootConfig } from '@acorex-platform/module-financial-core-client/contracts';\n\n//#endregion\n\n//#region ----- Provide local entities -----\n\n/**\n * Registers financial-core layouts on the client from packaged factories.\n * Each `import()` targets a secondary entry so unused entities stay out of the\n * bundle. Do not add this to the demo app; demo continues to load layouts via\n * `Domain:GetEntityLayout`.\n */\nexport function provideFinancialCoreLocalEntities() {\n return provideLocalEntityCatalog({\n moduleName: RootConfig.module.name,\n loaders: {\n [RootConfig.entities.currency.name]: () =>\n import('@acorex-platform/module-financial-core-client/contracts/entities/currency').then((m) => m.currencyFactory()),\n [RootConfig.entities.exchangeRate.name]: () =>\n import('@acorex-platform/module-financial-core-client/contracts/entities/exchange-rate').then((m) => m.exchangeRateFactory()),\n [RootConfig.entities.financialDimension.name]: () =>\n import('@acorex-platform/module-financial-core-client/contracts/entities/financial-dimension').then((m) => m.financialDimensionFactory()),\n [RootConfig.entities.fiscalCalendar.name]: () =>\n import('@acorex-platform/module-financial-core-client/contracts/entities/fiscal-calendar').then((m) => m.fiscalCalendarFactory()),\n [RootConfig.entities.paymentMethod.name]: () =>\n import('@acorex-platform/module-financial-core-client/contracts/entities/payment-method').then((m) => m.paymentMethodFactory()),\n [RootConfig.entities.paymentTerm.name]: () =>\n import('@acorex-platform/module-financial-core-client/contracts/entities/payment-term').then((m) => m.paymentTermFactory()),\n [RootConfig.entities.taxClass.name]: () =>\n import('@acorex-platform/module-financial-core-client/contracts/entities/tax-class').then((m) => m.taxClassFactory()),\n [RootConfig.entities.taxRegion.name]: () =>\n import('@acorex-platform/module-financial-core-client/contracts/entities/tax-region').then((m) => m.taxRegionFactory()),\n [RootConfig.entities.taxRule.name]: () =>\n import('@acorex-platform/module-financial-core-client/contracts/entities/tax-rule').then((m) => m.taxRuleFactory()),\n },\n });\n}\n\nexport { financialCoreLocalEntityCatalog } from '@acorex-platform/module-financial-core-client/contracts/entity-catalog';\n\n//#endregion\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './provide-local-entities';\n"],"names":[],"mappings":";;;;AAAA;AAKA;AAEA;AAEA;;;;;AAKG;SACa,iCAAiC,GAAA;AAC/C,IAAA,OAAO,yBAAyB,CAAC;AAC/B,QAAA,UAAU,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAClC,QAAA,OAAO,EAAE;AACP,YAAA,CAAC,UAAU,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI,GAAG,MACnC,OAAO,2EAA2E,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,eAAe,EAAE,CAAC;AACtH,YAAA,CAAC,UAAU,CAAC,QAAQ,CAAC,YAAY,CAAC,IAAI,GAAG,MACvC,OAAO,gFAAgF,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,mBAAmB,EAAE,CAAC;AAC/H,YAAA,CAAC,UAAU,CAAC,QAAQ,CAAC,kBAAkB,CAAC,IAAI,GAAG,MAC7C,OAAO,sFAAsF,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,yBAAyB,EAAE,CAAC;AAC3I,YAAA,CAAC,UAAU,CAAC,QAAQ,CAAC,cAAc,CAAC,IAAI,GAAG,MACzC,OAAO,kFAAkF,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,qBAAqB,EAAE,CAAC;AACnI,YAAA,CAAC,UAAU,CAAC,QAAQ,CAAC,aAAa,CAAC,IAAI,GAAG,MACxC,OAAO,iFAAiF,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,oBAAoB,EAAE,CAAC;AACjI,YAAA,CAAC,UAAU,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,GAAG,MACtC,OAAO,+EAA+E,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,kBAAkB,EAAE,CAAC;AAC7H,YAAA,CAAC,UAAU,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI,GAAG,MACnC,OAAO,4EAA4E,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,eAAe,EAAE,CAAC;AACvH,YAAA,CAAC,UAAU,CAAC,QAAQ,CAAC,SAAS,CAAC,IAAI,GAAG,MACpC,OAAO,6EAA6E,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,gBAAgB,EAAE,CAAC;AACzH,YAAA,CAAC,UAAU,CAAC,QAAQ,CAAC,OAAO,CAAC,IAAI,GAAG,MAClC,OAAO,2EAA2E,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,cAAc,EAAE,CAAC;AACtH,SAAA;AACF,KAAA,CAAC;AACJ;AAIA;;AC3CA;;AAEG
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-financial-core-client-local-entities.mjs","sources":["../../../../libs/modules/financial-core/client/src/lib/provide-local-entities.ts","../../../../libs/modules/financial-core/client/src/lib/acorex-platform-module-financial-core-client-local-entities.ts"],"sourcesContent":["//#region ----- Imports -----\n\nimport { provideLocalEntityCatalog } from '@acorex-platform/framework-client/layout/entity';\nimport { RootConfig } from '@acorex-platform/module-financial-core-client/contracts';\n\n//#endregion\n\n//#region ----- Provide local entities -----\n\n/**\n * Registers financial-core layouts on the client from packaged factories.\n * Each `import()` targets a secondary entry so unused entities stay out of the\n * bundle. Do not add this to the demo app; demo continues to load layouts via\n * `Domain:GetEntityLayout`.\n */\nexport function provideFinancialCoreLocalEntities() {\n return provideLocalEntityCatalog({\n moduleName: RootConfig.module.name,\n loaders: {\n [RootConfig.entities.currency.name]: () =>\n import('@acorex-platform/module-financial-core-client/contracts/entities/currency').then((m) => m.currencyFactory()),\n [RootConfig.entities.exchangeRate.name]: () =>\n import('@acorex-platform/module-financial-core-client/contracts/entities/exchange-rate').then((m) => m.exchangeRateFactory()),\n [RootConfig.entities.financialDimension.name]: () =>\n import('@acorex-platform/module-financial-core-client/contracts/entities/financial-dimension').then((m) => m.financialDimensionFactory()),\n [RootConfig.entities.fiscalCalendar.name]: () =>\n import('@acorex-platform/module-financial-core-client/contracts/entities/fiscal-calendar').then((m) => m.fiscalCalendarFactory()),\n [RootConfig.entities.paymentMethod.name]: () =>\n import('@acorex-platform/module-financial-core-client/contracts/entities/payment-method').then((m) => m.paymentMethodFactory()),\n [RootConfig.entities.paymentTerm.name]: () =>\n import('@acorex-platform/module-financial-core-client/contracts/entities/payment-term').then((m) => m.paymentTermFactory()),\n [RootConfig.entities.taxClass.name]: () =>\n import('@acorex-platform/module-financial-core-client/contracts/entities/tax-class').then((m) => m.taxClassFactory()),\n [RootConfig.entities.taxRegion.name]: () =>\n import('@acorex-platform/module-financial-core-client/contracts/entities/tax-region').then((m) => m.taxRegionFactory()),\n [RootConfig.entities.taxRule.name]: () =>\n import('@acorex-platform/module-financial-core-client/contracts/entities/tax-rule').then((m) => m.taxRuleFactory()),\n },\n });\n}\n\nexport { financialCoreLocalEntityCatalog } from '@acorex-platform/module-financial-core-client/contracts/entity-catalog';\n\n//#endregion\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './provide-local-entities';\n"],"names":[],"mappings":";;;;AAAA;AAKA;AAEA;AAEA;;;;;AAKG;SACa,iCAAiC,GAAA;AAC/C,IAAA,OAAO,yBAAyB,CAAC;AAC/B,QAAA,UAAU,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAClC,QAAA,OAAO,EAAE;AACP,YAAA,CAAC,UAAU,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI,GAAG,MACnC,OAAO,2EAA2E,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,eAAe,EAAE,CAAC;AACtH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CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,cAAc,EAAE,CAAC;AACtH,SAAA;AACF,KAAA,CAAC;AACJ;AAIA;;AC3CA;;AAEG;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-module-financial-core-client.mjs","sources":["../../../../libs/modules/financial-core/client/src/lib/manifest.ts","../../../../libs/modules/financial-core/client/src/lib/financial-core.module.ts","../../../../libs/modules/financial-core/client/src/lib/menu.provider.ts","../../../../libs/modules/financial-core/client/src/lib/permission-definition.provider.ts","../../../../libs/modules/financial-core/client/src/lib/search-command.provider.ts","../../../../libs/modules/financial-core/client/src/acorex-platform-module-financial-core-client.ts"],"sourcesContent":["//#region ---- Imports ----\n\nimport { AXPModuleManifest } from '@acorex-platform/framework-client/core';\nimport { RootConfig } from '@acorex-platform/module-financial-core-client/contracts';\n\n//#endregion\n\n//#region ---- Manifest Definition ----\n\n/**\n * Financial Core Module Manifest.\n * Defines module metadata and dependencies.\n */\nexport const FinancialCoreManifest: AXPModuleManifest = {\n name: RootConfig.module.name,\n version: '1.0.0',\n title: RootConfig.module.title,\n icon: RootConfig.module.icon,\n i18n: RootConfig.config.i18n,\n\n type: 'domain',\n domain: 'finance-commerce',\n // Module dependencies (optional)\n};\n\n//#endregion\n\n","//#region ---- Imports ----\n\nimport { NgModule } from '@angular/core';\nimport {\n AXP_MODULE_MANIFEST_PROVIDER,\n AXP_FEATURE_DEFINITION_PROVIDER,\n provideLazyProvider,\n} from '@acorex-platform/framework-client/core';\nimport { FinancialCoreManifest } from './manifest';\nimport { AXP_MENU_PROVIDER, AXP_SEARCH_PROVIDER } from '@acorex-platform/framework-client/common';\nimport { AXP_PERMISSION_DEFINITION_PROVIDER } from '@acorex-platform/framework-client/auth';\n\n//#endregion\n\n//#region ---- Module ----\n\n@NgModule({\n imports: [],\n providers: [\n // Module Manifest Provider\n {\n provide: AXP_MODULE_MANIFEST_PROVIDER,\n useValue: FinancialCoreManifest,\n multi: true,\n },\n // Provider references (now using tokens)\n provideLazyProvider(\n AXP_FEATURE_DEFINITION_PROVIDER,\n () => import('./feature-definition.provider').then(m => m.AXMFinancialCoreFeatureDefinitionProvider)\n ),\n provideLazyProvider(\n AXP_PERMISSION_DEFINITION_PROVIDER,\n () => import('./permission-definition.provider').then(m => m.AXMFinancialCorePermissionDefinitionProvider)\n ),\n provideLazyProvider(\n AXP_MENU_PROVIDER,\n () => import('./menu.provider').then(m => m.AXMFinancialCoreMenuProvider)\n ),\n \n provideLazyProvider(\n AXP_SEARCH_PROVIDER,\n () => import('./search-command.provider').then(m => m.AXMFinancialCoreSearchCommandProvider)\n ),\n ],\n})\nexport class AXMFinancialCoreModule { }\n\n//#endregion\n","//#region ---- Imports ----\n\nimport { AXPMenuProvider, AXPMenuProviderContext } from '@acorex-platform/framework-client/common';\nimport { AXPEntityService } from '@acorex-platform/framework-client/layout/entity';\nimport { inject } from '@angular/core';\nimport {\n RootConfig,\n AXPFinancePermissionKeys\n} from '@acorex-platform/module-financial-core-client/contracts';\nimport { AXMFinancialCoreMenuKeys } from '@acorex-platform/module-financial-core-client/contracts';\nimport {\n AXPCommonMenuKeys\n} from '@acorex-platform/module-common-client/contracts';\n\n//#endregion\n\n//#region ---- Menu Provider ----\n\nexport class AXMFinancialCoreMenuProvider implements AXPMenuProvider {\n private readonly entityService = inject(AXPEntityService);\n\n async provide(context: AXPMenuProviderContext): Promise<void> {\n const module = RootConfig.module;\n const keys = AXPFinancePermissionKeys;\n\n context.find(AXPCommonMenuKeys.Configuration).addItems([\n {\n name: AXMFinancialCoreMenuKeys.Root,\n priority: 8900,\n text: \"@financial-core:module.menus.root.title\",\n icon: module.icon,\n policy: {\n features: [RootConfig.module.name],\n },\n children: [\n {\n name: AXMFinancialCoreMenuKeys.Currencies,\n text: RootConfig.entities.currency.titlePlural,\n icon: RootConfig.entities.currency.icon,\n priority: 1,\n path: this.entityService.withEntity(module.name, RootConfig.entities.currency.name).createPath(),\n policy: {\n permissions: [keys.MaintainFinance],\n },\n },\n {\n name: AXMFinancialCoreMenuKeys.ExchangeRates,\n text: RootConfig.entities.exchangeRate.titlePlural,\n icon: RootConfig.entities.exchangeRate.icon,\n priority: 2,\n path: this.entityService.withEntity(module.name, RootConfig.entities.exchangeRate.name).createPath(),\n policy: {\n permissions: [keys.MaintainFinance],\n },\n },\n {\n name: AXMFinancialCoreMenuKeys.Divider1,\n text: '',\n type: 'break',\n priority: 3,\n },\n {\n name: AXMFinancialCoreMenuKeys.TaxClasses,\n text: RootConfig.entities.taxClass.titlePlural,\n icon: RootConfig.entities.taxClass.icon,\n priority: 4,\n path: this.entityService.withEntity(module.name, RootConfig.entities.taxClass.name).createPath(),\n policy: {\n permissions: [keys.MaintainFinance],\n },\n },\n {\n name: AXMFinancialCoreMenuKeys.TaxRegions,\n text: RootConfig.entities.taxRegion.titlePlural,\n icon: RootConfig.entities.taxRegion.icon,\n priority: 5,\n path: this.entityService.withEntity(module.name, RootConfig.entities.taxRegion.name).createPath(),\n policy: {\n permissions: [keys.MaintainFinance],\n },\n },\n {\n name: AXMFinancialCoreMenuKeys.TaxRules,\n text: RootConfig.entities.taxRule.titlePlural,\n icon: RootConfig.entities.taxRule.icon,\n priority: 6,\n path: this.entityService.withEntity(module.name, RootConfig.entities.taxRule.name).createPath(),\n policy: {\n permissions: [keys.MaintainFinance],\n },\n },\n {\n name: AXMFinancialCoreMenuKeys.Divider2,\n text: '',\n type: 'break',\n priority: 7,\n },\n {\n name: AXMFinancialCoreMenuKeys.PaymentTerms,\n text: RootConfig.entities.paymentTerm.titlePlural,\n icon: RootConfig.entities.paymentTerm.icon,\n priority: 8,\n path: this.entityService.withEntity(module.name, RootConfig.entities.paymentTerm.name).createPath(),\n policy: {\n permissions: [keys.MaintainFinance],\n },\n },\n {\n name: AXMFinancialCoreMenuKeys.PaymentMethods,\n text: RootConfig.entities.paymentMethod.titlePlural,\n icon: RootConfig.entities.paymentMethod.icon,\n priority: 9,\n path: this.entityService.withEntity(module.name, RootConfig.entities.paymentMethod.name).createPath(),\n policy: {\n permissions: [keys.MaintainFinance],\n },\n },\n {\n name: AXMFinancialCoreMenuKeys.Divider3,\n text: '',\n type: 'break',\n priority: 10,\n },\n {\n name: AXMFinancialCoreMenuKeys.FiscalCalendars,\n text: RootConfig.entities.fiscalCalendar.titlePlural,\n icon: RootConfig.entities.fiscalCalendar.icon,\n priority: 11,\n path: this.entityService.withEntity(module.name, RootConfig.entities.fiscalCalendar.name).createPath(),\n policy: {\n permissions: [keys.Setup],\n },\n },\n {\n name: AXMFinancialCoreMenuKeys.Divider4,\n text: '',\n type: 'break',\n priority: 12,\n },\n {\n name: AXMFinancialCoreMenuKeys.FinancialDimensions,\n text: RootConfig.entities.financialDimension.titlePlural,\n icon: RootConfig.entities.financialDimension.icon,\n priority: 13,\n path: this.entityService.withEntity(module.name, RootConfig.entities.financialDimension.name).createPath(),\n policy: {\n permissions: [keys.MaintainFinance],\n },\n },\n ],\n },\n ]);\n }\n}\n\n//#endregion\n","//#region ---- Imports ----\n\nimport {\n AXPPermissionDefinitionProvider,\n AXPPermissionDefinitionProviderContext,\n} from '@acorex-platform/framework-client/auth';\nimport {\n AXPCommonPermissionGroupKeys\n} from '@acorex-platform/module-common-client/contracts';\nimport {\n AXPFinancePermissionKeys\n} from '@acorex-platform/module-financial-core-client/contracts';\n\nimport { Injectable } from '@angular/core';\n\n//#endregion\n\n//#region ---- Permission Definition Provider ----\n\n/**\n * Registers financial-core capabilities into the shared Finance group.\n */\n@Injectable()\nexport class AXMFinancialCorePermissionDefinitionProvider implements AXPPermissionDefinitionProvider {\n async define(context: AXPPermissionDefinitionProviderContext): Promise<void> {\n const keys = AXPFinancePermissionKeys;\n const groups = AXPCommonPermissionGroupKeys;\n const P = '@common:finance.permissions';\n const G = '@common:permission-groups';\n\n context\n .addGroup(groups.Finance.Root, `${G}.finance.title`, `${G}.finance.description`, { order: 40 })\n .addPermission(keys.Access, `${P}.access.title`, `${P}.access.description`)\n .endPermission()\n .addPermission(\n keys.MaintainFinance,\n `${P}.maintain-finance.title`,\n `${P}.maintain-finance.description`,\n )\n .endPermission()\n .addPermission(keys.Setup, `${P}.setup.title`, `${P}.setup.description`)\n .endPermission()\n .endGroup();\n }\n}\n\n//#endregion\n","//#region ---- Imports ----\n\nimport { AXPSearchCommandProvider, AXPSearchResult, createEntityCommandOptions } from '@acorex-platform/framework-client/common';\nimport { RootConfig } from '@acorex-platform/module-financial-core-client/contracts';\n\n//#endregion\n\n//#region ---- Search Command Provider ----\n\nexport class AXMFinancialCoreSearchCommandProvider extends AXPSearchCommandProvider {\n commands: AXPSearchResult[] = [\n {\n id: 'create-currency',\n group: 'command',\n title: '@financial-core:currencies.search.create-currency.title',\n icon: RootConfig.entities.currency.icon,\n description: '@financial-core:currencies.search.create-currency.description',\n command: {\n name: 'Entity:Create',\n options: createEntityCommandOptions(\n `${RootConfig.module.name}.${RootConfig.entities.currency.name}`,\n { name: RootConfig.entities.currency.name, module: RootConfig.module.name, title: RootConfig.entities.currency.title }\n ),\n },\n },\n {\n id: 'create-exchange-rate',\n group: 'command',\n title: '@financial-core:exchange-rates.search.capture-exchange-rate.title',\n icon: RootConfig.entities.exchangeRate.icon,\n description: '@financial-core:exchange-rates.search.capture-exchange-rate.description',\n command: {\n name: 'Entity:Create',\n options: createEntityCommandOptions(\n `${RootConfig.module.name}.${RootConfig.entities.exchangeRate.name}`,\n { name: RootConfig.entities.exchangeRate.name, module: RootConfig.module.name, title: RootConfig.entities.exchangeRate.title }\n ),\n },\n },\n {\n id: 'create-tax-class',\n group: 'command',\n title: '@financial-core:taxation.search.create-tax-class.title',\n icon: RootConfig.entities.taxClass.icon,\n description: '@financial-core:taxation.search.create-tax-class.description',\n command: {\n name: 'Entity:Create',\n options: createEntityCommandOptions(\n `${RootConfig.module.name}.${RootConfig.entities.taxClass.name}`,\n { name: RootConfig.entities.taxClass.name, module: RootConfig.module.name, title: RootConfig.entities.taxClass.title }\n ),\n },\n },\n {\n id: 'create-tax-region',\n group: 'command',\n title: '@financial-core:taxation.search.create-tax-region.title',\n icon: RootConfig.entities.taxRegion.icon,\n description: '@financial-core:taxation.search.create-tax-region.description',\n command: {\n name: 'Entity:Create',\n options: createEntityCommandOptions(\n `${RootConfig.module.name}.${RootConfig.entities.taxRegion.name}`,\n { name: RootConfig.entities.taxRegion.name, module: RootConfig.module.name, title: RootConfig.entities.taxRegion.title }\n ),\n },\n },\n {\n id: 'create-tax-rule',\n group: 'command',\n title: '@financial-core:taxation.search.define-tax-rule.title',\n icon: RootConfig.entities.taxRule.icon,\n description: '@financial-core:taxation.search.define-tax-rule.description',\n command: {\n name: 'Entity:Create',\n options: createEntityCommandOptions(\n `${RootConfig.module.name}.${RootConfig.entities.taxRule.name}`,\n { name: RootConfig.entities.taxRule.name, module: RootConfig.module.name, title: RootConfig.entities.taxRule.title }\n ),\n },\n },\n {\n id: 'create-payment-term',\n group: 'command',\n title: '@financial-core:payments.search.create-payment-term.title',\n icon: RootConfig.entities.paymentTerm.icon,\n description: '@financial-core:payments.search.create-payment-term.description',\n command: {\n name: 'Entity:Create',\n options: createEntityCommandOptions(\n `${RootConfig.module.name}.${RootConfig.entities.paymentTerm.name}`,\n { name: RootConfig.entities.paymentTerm.name, module: RootConfig.module.name, title: RootConfig.entities.paymentTerm.title }\n ),\n },\n },\n {\n id: 'create-payment-method',\n group: 'command',\n title: '@financial-core:payments.search.add-payment-method.title',\n icon: RootConfig.entities.paymentMethod.icon,\n description: '@financial-core:payments.search.add-payment-method.description',\n command: {\n name: 'Entity:Create',\n options: createEntityCommandOptions(\n `${RootConfig.module.name}.${RootConfig.entities.paymentMethod.name}`,\n { name: RootConfig.entities.paymentMethod.name, module: RootConfig.module.name, title: RootConfig.entities.paymentMethod.title }\n ),\n },\n },\n {\n id: 'create-fiscal-calendar',\n group: 'command',\n title: '@financial-core:calendars.search.publish-fiscal-calendar.title',\n icon: RootConfig.entities.fiscalCalendar.icon,\n description: '@financial-core:calendars.search.publish-fiscal-calendar.description',\n command: {\n name: 'Entity:Create',\n options: createEntityCommandOptions(\n `${RootConfig.module.name}.${RootConfig.entities.fiscalCalendar.name}`,\n { name: RootConfig.entities.fiscalCalendar.name, module: RootConfig.module.name, title: RootConfig.entities.fiscalCalendar.title }\n ),\n },\n },\n {\n id: 'create-financial-dimension',\n group: 'command',\n title: '@financial-core:dimensions.search.create-financial-dimension.title',\n icon: RootConfig.entities.financialDimension.icon,\n description: '@financial-core:dimensions.search.create-financial-dimension.description',\n command: {\n name: 'Entity:Create',\n options: createEntityCommandOptions(\n `${RootConfig.module.name}.${RootConfig.entities.financialDimension.name}`,\n { name: RootConfig.entities.financialDimension.name, module: RootConfig.module.name, title: RootConfig.entities.financialDimension.title }\n ),\n },\n },\n ];\n}\n\n//#endregion\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;AAAA;AAKA;AAEA;AAEA;;;AAGG;AACI,MAAM,qBAAqB,GAAsB;AACtD,IAAA,IAAI,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC5B,IAAA,OAAO,EAAE,OAAO;AAChB,IAAA,KAAK,EAAE,UAAU,CAAC,MAAM,CAAC,KAAK;AAC9B,IAAA,IAAI,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC5B,IAAA,IAAI,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAE5B,IAAA,IAAI,EAAE,QAAQ;AACd,IAAA,MAAM,EAAE,kBAAkB;;CAE3B;AAED;;ACzBA;AAYA;AAEA;MA+Ba,sBAAsB,CAAA;8GAAtB,sBAAsB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;+GAAtB,sBAAsB,EAAA,CAAA,CAAA;AAAtB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QA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AAC,IAAI,CAAA,CAAA,EAAI,UAAU,CAAC,QAAQ,CAAC,kBAAkB,CAAC,IAAI,EAAE,EAC1E,EAAE,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,kBAAkB,CAAC,IAAI,EAAE,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC,kBAAkB,CAAC,KAAK,EAAE,CAC3I;AACF,iBAAA;AACF,aAAA;SACF;IACH;AAAC;AAED;;;;;;;AC5IA;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-financial-core-client.mjs","sources":["../../../../libs/modules/financial-core/client/src/lib/manifest.ts","../../../../libs/modules/financial-core/client/src/lib/financial-core.module.ts","../../../../libs/modules/financial-core/client/src/lib/menu.provider.ts","../../../../libs/modules/financial-core/client/src/lib/permission-definition.provider.ts","../../../../libs/modules/financial-core/client/src/lib/search-command.provider.ts","../../../../libs/modules/financial-core/client/src/acorex-platform-module-financial-core-client.ts"],"sourcesContent":["//#region ---- Imports ----\n\nimport { AXPModuleManifest } from '@acorex-platform/framework-client/core';\nimport { RootConfig } from '@acorex-platform/module-financial-core-client/contracts';\n\n//#endregion\n\n//#region ---- Manifest Definition ----\n\n/**\n * Financial Core Module Manifest.\n * Defines module metadata and dependencies.\n */\nexport const FinancialCoreManifest: AXPModuleManifest = {\n name: RootConfig.module.name,\n version: '1.0.0',\n title: RootConfig.module.title,\n icon: RootConfig.module.icon,\n i18n: RootConfig.config.i18n,\n\n type: 'domain',\n domain: 'finance-commerce',\n // Module dependencies (optional)\n};\n\n//#endregion\n\n","//#region ---- Imports ----\n\nimport { NgModule } from '@angular/core';\nimport {\n AXP_MODULE_MANIFEST_PROVIDER,\n AXP_FEATURE_DEFINITION_PROVIDER,\n provideLazyProvider,\n} from '@acorex-platform/framework-client/core';\nimport { FinancialCoreManifest } from './manifest';\nimport { AXP_MENU_PROVIDER, AXP_SEARCH_PROVIDER } from '@acorex-platform/framework-client/common';\nimport { AXP_PERMISSION_DEFINITION_PROVIDER } from '@acorex-platform/framework-client/auth';\n\n//#endregion\n\n//#region ---- Module ----\n\n@NgModule({\n imports: [],\n providers: [\n // Module Manifest Provider\n {\n provide: AXP_MODULE_MANIFEST_PROVIDER,\n useValue: FinancialCoreManifest,\n multi: true,\n },\n // Provider references (now using tokens)\n provideLazyProvider(\n AXP_FEATURE_DEFINITION_PROVIDER,\n () => import('./feature-definition.provider').then(m => m.AXMFinancialCoreFeatureDefinitionProvider)\n ),\n provideLazyProvider(\n AXP_PERMISSION_DEFINITION_PROVIDER,\n () => import('./permission-definition.provider').then(m => m.AXMFinancialCorePermissionDefinitionProvider)\n ),\n provideLazyProvider(\n AXP_MENU_PROVIDER,\n () => import('./menu.provider').then(m => m.AXMFinancialCoreMenuProvider)\n ),\n \n provideLazyProvider(\n AXP_SEARCH_PROVIDER,\n () => import('./search-command.provider').then(m => m.AXMFinancialCoreSearchCommandProvider)\n ),\n ],\n})\nexport class AXMFinancialCoreModule { }\n\n//#endregion\n","//#region ---- Imports ----\n\nimport { AXPMenuProvider, AXPMenuProviderContext } from '@acorex-platform/framework-client/common';\nimport { AXPEntityService } from '@acorex-platform/framework-client/layout/entity';\nimport { inject } from '@angular/core';\nimport {\n RootConfig,\n AXPFinancePermissionKeys\n} from '@acorex-platform/module-financial-core-client/contracts';\nimport { AXMFinancialCoreMenuKeys } from '@acorex-platform/module-financial-core-client/contracts';\nimport {\n AXPCommonMenuKeys\n} from '@acorex-platform/module-common-client/contracts';\n\n//#endregion\n\n//#region ---- Menu Provider ----\n\nexport class AXMFinancialCoreMenuProvider implements AXPMenuProvider {\n private readonly entityService = inject(AXPEntityService);\n\n async provide(context: AXPMenuProviderContext): Promise<void> {\n const module = RootConfig.module;\n const keys = AXPFinancePermissionKeys;\n\n context.find(AXPCommonMenuKeys.Configuration).addItems([\n {\n name: AXMFinancialCoreMenuKeys.Root,\n priority: 8900,\n text: \"@financial-core:module.menus.root.title\",\n icon: module.icon,\n policy: {\n features: [RootConfig.module.name],\n },\n children: [\n {\n name: AXMFinancialCoreMenuKeys.Currencies,\n text: RootConfig.entities.currency.titlePlural,\n icon: RootConfig.entities.currency.icon,\n priority: 1,\n path: this.entityService.withEntity(module.name, RootConfig.entities.currency.name).createPath(),\n policy: {\n permissions: [keys.MaintainFinance],\n },\n },\n {\n name: AXMFinancialCoreMenuKeys.ExchangeRates,\n text: RootConfig.entities.exchangeRate.titlePlural,\n icon: RootConfig.entities.exchangeRate.icon,\n priority: 2,\n path: this.entityService.withEntity(module.name, RootConfig.entities.exchangeRate.name).createPath(),\n policy: {\n permissions: [keys.MaintainFinance],\n },\n },\n {\n name: AXMFinancialCoreMenuKeys.Divider1,\n text: '',\n type: 'break',\n priority: 3,\n },\n {\n name: AXMFinancialCoreMenuKeys.TaxClasses,\n text: RootConfig.entities.taxClass.titlePlural,\n icon: RootConfig.entities.taxClass.icon,\n priority: 4,\n path: this.entityService.withEntity(module.name, RootConfig.entities.taxClass.name).createPath(),\n policy: {\n permissions: [keys.MaintainFinance],\n },\n },\n {\n name: AXMFinancialCoreMenuKeys.TaxRegions,\n text: RootConfig.entities.taxRegion.titlePlural,\n icon: RootConfig.entities.taxRegion.icon,\n priority: 5,\n path: this.entityService.withEntity(module.name, RootConfig.entities.taxRegion.name).createPath(),\n policy: {\n permissions: [keys.MaintainFinance],\n },\n },\n {\n name: AXMFinancialCoreMenuKeys.TaxRules,\n text: RootConfig.entities.taxRule.titlePlural,\n icon: RootConfig.entities.taxRule.icon,\n priority: 6,\n path: this.entityService.withEntity(module.name, RootConfig.entities.taxRule.name).createPath(),\n policy: {\n permissions: [keys.MaintainFinance],\n },\n },\n {\n name: AXMFinancialCoreMenuKeys.Divider2,\n text: '',\n type: 'break',\n priority: 7,\n },\n {\n name: AXMFinancialCoreMenuKeys.PaymentTerms,\n text: RootConfig.entities.paymentTerm.titlePlural,\n icon: RootConfig.entities.paymentTerm.icon,\n priority: 8,\n path: this.entityService.withEntity(module.name, RootConfig.entities.paymentTerm.name).createPath(),\n policy: {\n permissions: [keys.MaintainFinance],\n },\n },\n {\n name: AXMFinancialCoreMenuKeys.PaymentMethods,\n text: RootConfig.entities.paymentMethod.titlePlural,\n icon: RootConfig.entities.paymentMethod.icon,\n priority: 9,\n path: this.entityService.withEntity(module.name, RootConfig.entities.paymentMethod.name).createPath(),\n policy: {\n permissions: [keys.MaintainFinance],\n },\n },\n {\n name: AXMFinancialCoreMenuKeys.Divider3,\n text: '',\n type: 'break',\n priority: 10,\n },\n {\n name: AXMFinancialCoreMenuKeys.FiscalCalendars,\n text: RootConfig.entities.fiscalCalendar.titlePlural,\n icon: RootConfig.entities.fiscalCalendar.icon,\n priority: 11,\n path: this.entityService.withEntity(module.name, RootConfig.entities.fiscalCalendar.name).createPath(),\n policy: {\n permissions: [keys.Setup],\n },\n },\n {\n name: AXMFinancialCoreMenuKeys.Divider4,\n text: '',\n type: 'break',\n priority: 12,\n },\n {\n name: AXMFinancialCoreMenuKeys.FinancialDimensions,\n text: RootConfig.entities.financialDimension.titlePlural,\n icon: RootConfig.entities.financialDimension.icon,\n priority: 13,\n path: this.entityService.withEntity(module.name, RootConfig.entities.financialDimension.name).createPath(),\n policy: {\n permissions: [keys.MaintainFinance],\n },\n },\n ],\n },\n ]);\n }\n}\n\n//#endregion\n","//#region ---- Imports ----\n\nimport {\n AXPPermissionDefinitionProvider,\n AXPPermissionDefinitionProviderContext,\n} from '@acorex-platform/framework-client/auth';\nimport {\n AXPCommonPermissionGroupKeys\n} from '@acorex-platform/module-common-client/contracts';\nimport {\n AXPFinancePermissionKeys\n} from '@acorex-platform/module-financial-core-client/contracts';\n\nimport { Injectable } from '@angular/core';\n\n//#endregion\n\n//#region ---- Permission Definition Provider ----\n\n/**\n * Registers financial-core capabilities into the shared Finance group.\n */\n@Injectable()\nexport class AXMFinancialCorePermissionDefinitionProvider implements AXPPermissionDefinitionProvider {\n async define(context: AXPPermissionDefinitionProviderContext): Promise<void> {\n const keys = AXPFinancePermissionKeys;\n const groups = AXPCommonPermissionGroupKeys;\n const P = '@common:finance.permissions';\n const G = '@common:permission-groups';\n\n context\n .addGroup(groups.Finance.Root, `${G}.finance.title`, `${G}.finance.description`, { order: 40 })\n .addPermission(keys.Access, `${P}.access.title`, `${P}.access.description`)\n .endPermission()\n .addPermission(\n keys.MaintainFinance,\n `${P}.maintain-finance.title`,\n `${P}.maintain-finance.description`,\n )\n .endPermission()\n .addPermission(keys.Setup, `${P}.setup.title`, `${P}.setup.description`)\n .endPermission()\n .endGroup();\n }\n}\n\n//#endregion\n","//#region ---- Imports ----\n\nimport { AXPSearchCommandProvider, AXPSearchResult, createEntityCommandOptions } from '@acorex-platform/framework-client/common';\nimport { RootConfig } from '@acorex-platform/module-financial-core-client/contracts';\n\n//#endregion\n\n//#region ---- Search Command Provider ----\n\nexport class AXMFinancialCoreSearchCommandProvider extends AXPSearchCommandProvider {\n commands: AXPSearchResult[] = [\n {\n id: 'create-currency',\n group: 'command',\n title: '@financial-core:currencies.search.create-currency.title',\n icon: RootConfig.entities.currency.icon,\n description: '@financial-core:currencies.search.create-currency.description',\n command: {\n name: 'Entity:Create',\n options: createEntityCommandOptions(\n `${RootConfig.module.name}.${RootConfig.entities.currency.name}`,\n { name: RootConfig.entities.currency.name, module: RootConfig.module.name, title: RootConfig.entities.currency.title }\n ),\n },\n },\n {\n id: 'create-exchange-rate',\n group: 'command',\n title: '@financial-core:exchange-rates.search.capture-exchange-rate.title',\n icon: RootConfig.entities.exchangeRate.icon,\n description: '@financial-core:exchange-rates.search.capture-exchange-rate.description',\n command: {\n name: 'Entity:Create',\n options: createEntityCommandOptions(\n `${RootConfig.module.name}.${RootConfig.entities.exchangeRate.name}`,\n { name: RootConfig.entities.exchangeRate.name, module: RootConfig.module.name, title: RootConfig.entities.exchangeRate.title }\n ),\n },\n },\n {\n id: 'create-tax-class',\n group: 'command',\n title: '@financial-core:taxation.search.create-tax-class.title',\n icon: RootConfig.entities.taxClass.icon,\n description: '@financial-core:taxation.search.create-tax-class.description',\n command: {\n name: 'Entity:Create',\n options: createEntityCommandOptions(\n `${RootConfig.module.name}.${RootConfig.entities.taxClass.name}`,\n { name: RootConfig.entities.taxClass.name, module: RootConfig.module.name, title: RootConfig.entities.taxClass.title }\n ),\n },\n },\n {\n id: 'create-tax-region',\n group: 'command',\n title: '@financial-core:taxation.search.create-tax-region.title',\n icon: RootConfig.entities.taxRegion.icon,\n description: '@financial-core:taxation.search.create-tax-region.description',\n command: {\n name: 'Entity:Create',\n options: createEntityCommandOptions(\n `${RootConfig.module.name}.${RootConfig.entities.taxRegion.name}`,\n { name: RootConfig.entities.taxRegion.name, module: RootConfig.module.name, title: RootConfig.entities.taxRegion.title }\n ),\n },\n },\n {\n id: 'create-tax-rule',\n group: 'command',\n title: '@financial-core:taxation.search.define-tax-rule.title',\n icon: RootConfig.entities.taxRule.icon,\n description: '@financial-core:taxation.search.define-tax-rule.description',\n command: {\n name: 'Entity:Create',\n options: createEntityCommandOptions(\n `${RootConfig.module.name}.${RootConfig.entities.taxRule.name}`,\n { name: RootConfig.entities.taxRule.name, module: RootConfig.module.name, title: RootConfig.entities.taxRule.title }\n ),\n },\n },\n {\n id: 'create-payment-term',\n group: 'command',\n title: '@financial-core:payments.search.create-payment-term.title',\n icon: RootConfig.entities.paymentTerm.icon,\n description: '@financial-core:payments.search.create-payment-term.description',\n command: {\n name: 'Entity:Create',\n options: createEntityCommandOptions(\n `${RootConfig.module.name}.${RootConfig.entities.paymentTerm.name}`,\n { name: RootConfig.entities.paymentTerm.name, module: RootConfig.module.name, title: RootConfig.entities.paymentTerm.title }\n ),\n },\n },\n {\n id: 'create-payment-method',\n group: 'command',\n title: '@financial-core:payments.search.add-payment-method.title',\n icon: RootConfig.entities.paymentMethod.icon,\n description: '@financial-core:payments.search.add-payment-method.description',\n command: {\n name: 'Entity:Create',\n options: createEntityCommandOptions(\n `${RootConfig.module.name}.${RootConfig.entities.paymentMethod.name}`,\n { name: RootConfig.entities.paymentMethod.name, module: RootConfig.module.name, title: RootConfig.entities.paymentMethod.title }\n ),\n },\n },\n {\n id: 'create-fiscal-calendar',\n group: 'command',\n title: '@financial-core:calendars.search.publish-fiscal-calendar.title',\n icon: RootConfig.entities.fiscalCalendar.icon,\n description: '@financial-core:calendars.search.publish-fiscal-calendar.description',\n command: {\n name: 'Entity:Create',\n options: createEntityCommandOptions(\n `${RootConfig.module.name}.${RootConfig.entities.fiscalCalendar.name}`,\n { name: RootConfig.entities.fiscalCalendar.name, module: RootConfig.module.name, title: RootConfig.entities.fiscalCalendar.title }\n ),\n },\n },\n {\n id: 'create-financial-dimension',\n group: 'command',\n title: '@financial-core:dimensions.search.create-financial-dimension.title',\n icon: RootConfig.entities.financialDimension.icon,\n description: '@financial-core:dimensions.search.create-financial-dimension.description',\n command: {\n name: 'Entity:Create',\n options: createEntityCommandOptions(\n `${RootConfig.module.name}.${RootConfig.entities.financialDimension.name}`,\n { name: RootConfig.entities.financialDimension.name, module: RootConfig.module.name, title: RootConfig.entities.financialDimension.title }\n ),\n },\n },\n ];\n}\n\n//#endregion\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;AAAA;AAKA;AAEA;AAEA;;;AAGG;AACI,MAAM,qBAAqB,GAAsB;AACtD,IAAA,IAAI,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC5B,IAAA,OAAO,EAAE,OAAO;AAChB,IAAA,KAAK,EAAE,UAAU,CAAC,MAAM,CAAC,KAAK;AAC9B,IAAA,IAAI,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC5B,IAAA,IAAI,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAE5B,IAAA,IAAI,EAAE,QAAQ;AACd,IAAA,MAAM,EAAE,kBAAkB;;CAE3B;AAED;;ACzBA;AAYA;AAEA;MA+Ba,sBAAsB,CAAA;8GAAtB,sBAAsB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EA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