@acorex-platform/module-financial-core-client 0.0.32 → 0.0.37
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 +324 -0
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entities-currency.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entities-exchange-rate.mjs +380 -0
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entities-exchange-rate.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entities-financial-dimension.mjs +295 -0
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entities-financial-dimension.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entities-fiscal-calendar.mjs +343 -0
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entities-fiscal-calendar.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entities-payment-method.mjs +351 -0
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entities-payment-method.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entities-payment-term.mjs +288 -0
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entities-payment-term.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entities-tax-class.mjs +282 -0
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entities-tax-class.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entities-tax-region.mjs +272 -0
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entities-tax-region.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entities-tax-rule.mjs +364 -0
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entities-tax-rule.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entity-catalog-acorex-platform-module-financial-core-client-contracts-entity-catalog-DpAVTjcD.mjs +99 -0
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entity-catalog-acorex-platform-module-financial-core-client-contracts-entity-catalog-DpAVTjcD.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entity-catalog-currency.entity-C6VWyRY-.mjs +252 -0
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entity-catalog-currency.entity-C6VWyRY-.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entity-catalog-exchange-rate.entity-D9ZfPYOX.mjs +308 -0
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entity-catalog-exchange-rate.entity-D9ZfPYOX.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entity-catalog-financial-dimension.entity-P6IpxIPP.mjs +223 -0
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entity-catalog-financial-dimension.entity-P6IpxIPP.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entity-catalog-fiscal-calendar.entity-CHFARbBF.mjs +271 -0
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entity-catalog-fiscal-calendar.entity-CHFARbBF.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entity-catalog-payment-method.entity-CWj-4rZX.mjs +279 -0
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entity-catalog-payment-method.entity-CWj-4rZX.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entity-catalog-payment-term.entity-Bpl7usEL.mjs +216 -0
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entity-catalog-payment-term.entity-Bpl7usEL.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entity-catalog-tax-class.entity-l6AYvaaV.mjs +210 -0
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entity-catalog-tax-class.entity-l6AYvaaV.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entity-catalog-tax-region.entity-DVBfpcCF.mjs +200 -0
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entity-catalog-tax-region.entity-DVBfpcCF.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entity-catalog-tax-rule.entity-0_Q8paGB.mjs +292 -0
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entity-catalog-tax-rule.entity-0_Q8paGB.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entity-catalog.mjs +2 -0
- package/fesm2022/acorex-platform-module-financial-core-client-contracts-entity-catalog.mjs.map +1 -0
- 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 +37 -0
- package/fesm2022/acorex-platform-module-financial-core-client-local-entities.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-financial-core-client.mjs.map +1 -1
- package/package.json +45 -1
- package/types/acorex-platform-module-financial-core-client-contracts-entities-currency.d.ts +5 -0
- package/types/acorex-platform-module-financial-core-client-contracts-entities-exchange-rate.d.ts +5 -0
- package/types/acorex-platform-module-financial-core-client-contracts-entities-financial-dimension.d.ts +5 -0
- package/types/acorex-platform-module-financial-core-client-contracts-entities-fiscal-calendar.d.ts +5 -0
- package/types/acorex-platform-module-financial-core-client-contracts-entities-payment-method.d.ts +5 -0
- package/types/acorex-platform-module-financial-core-client-contracts-entities-payment-term.d.ts +5 -0
- package/types/acorex-platform-module-financial-core-client-contracts-entities-tax-class.d.ts +5 -0
- package/types/acorex-platform-module-financial-core-client-contracts-entities-tax-region.d.ts +5 -0
- package/types/acorex-platform-module-financial-core-client-contracts-entities-tax-rule.d.ts +5 -0
- package/types/acorex-platform-module-financial-core-client-contracts-entity-catalog.d.ts +10 -0
- package/types/acorex-platform-module-financial-core-client-local-entities.d.ts +12 -0
|
@@ -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;AACvC,IAAA,aAAa,EAAE,+BAA+B;AAC9C,IAAA,QAAQ,EAAE,0BAA0B;AACpC,IAAA,UAAU,EAAE,4BAA4B;AACxC,IAAA,UAAU,EAAE,4BAA4B;AACxC,IAAA,QAAQ,EAAE,0BAA0B;AACpC,IAAA,QAAQ,EAAE,0BAA0B;AACpC,IAAA,YAAY,EAAE,8BAA8B;AAC5C,IAAA,cAAc,EAAE,gCAAgC;AAChD,IAAA,QAAQ,EAAE,0BAA0B;A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AAW,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,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;AACvC,IAAA,aAAa,EAAE,+BAA+B;AAC9C,IAAA,QAAQ,EAAE,0BAA0B;AACpC,IAAA,UA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,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,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;;"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { provideLocalEntityCatalog } from '@acorex-platform/framework-client/layout/entity';
|
|
2
|
+
import { RootConfig } from '@acorex-platform/module-financial-core-client/contracts';
|
|
3
|
+
export { financialCoreLocalEntityCatalog } from '@acorex-platform/module-financial-core-client/contracts/entity-catalog';
|
|
4
|
+
|
|
5
|
+
//#region ----- Imports -----
|
|
6
|
+
//#endregion
|
|
7
|
+
//#region ----- Provide local entities -----
|
|
8
|
+
/**
|
|
9
|
+
* Registers financial-core layouts on the client from packaged factories.
|
|
10
|
+
* Each `import()` targets a secondary entry so unused entities stay out of the
|
|
11
|
+
* bundle. Do not add this to the demo app; demo continues to load layouts via
|
|
12
|
+
* `Domain:GetEntityLayout`.
|
|
13
|
+
*/
|
|
14
|
+
function provideFinancialCoreLocalEntities() {
|
|
15
|
+
return provideLocalEntityCatalog({
|
|
16
|
+
moduleName: RootConfig.module.name,
|
|
17
|
+
loaders: {
|
|
18
|
+
[RootConfig.entities.currency.name]: () => import('@acorex-platform/module-financial-core-client/contracts/entities/currency').then((m) => m.currencyFactory()),
|
|
19
|
+
[RootConfig.entities.exchangeRate.name]: () => import('@acorex-platform/module-financial-core-client/contracts/entities/exchange-rate').then((m) => m.exchangeRateFactory()),
|
|
20
|
+
[RootConfig.entities.financialDimension.name]: () => import('@acorex-platform/module-financial-core-client/contracts/entities/financial-dimension').then((m) => m.financialDimensionFactory()),
|
|
21
|
+
[RootConfig.entities.fiscalCalendar.name]: () => import('@acorex-platform/module-financial-core-client/contracts/entities/fiscal-calendar').then((m) => m.fiscalCalendarFactory()),
|
|
22
|
+
[RootConfig.entities.paymentMethod.name]: () => import('@acorex-platform/module-financial-core-client/contracts/entities/payment-method').then((m) => m.paymentMethodFactory()),
|
|
23
|
+
[RootConfig.entities.paymentTerm.name]: () => import('@acorex-platform/module-financial-core-client/contracts/entities/payment-term').then((m) => m.paymentTermFactory()),
|
|
24
|
+
[RootConfig.entities.taxClass.name]: () => import('@acorex-platform/module-financial-core-client/contracts/entities/tax-class').then((m) => m.taxClassFactory()),
|
|
25
|
+
[RootConfig.entities.taxRegion.name]: () => import('@acorex-platform/module-financial-core-client/contracts/entities/tax-region').then((m) => m.taxRegionFactory()),
|
|
26
|
+
[RootConfig.entities.taxRule.name]: () => import('@acorex-platform/module-financial-core-client/contracts/entities/tax-rule').then((m) => m.taxRuleFactory()),
|
|
27
|
+
},
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
//#endregion
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Generated bundle index. Do not edit.
|
|
34
|
+
*/
|
|
35
|
+
|
|
36
|
+
export { provideFinancialCoreLocalEntities };
|
|
37
|
+
//# sourceMappingURL=acorex-platform-module-financial-core-client-local-entities.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
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,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 +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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AE;AACP,oBAAA,IAAI,EAAE,eAAe;oBACrB,OAAO,EAAE,0BAA0B,CACjC,CAAA,EAAG,UAAU,CAAC,MAAM,CAAC,IAAI,CAAA,CAAA,EAAI,UAAU,CAAC,QAAQ,CAAC,cAAc,CAAC,IAAI,EAAE,EACtE,EAAE,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,cAAc,CAAC,IAAI,EAAE,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC,cAAc,CAAC,KAAK,EAAE,CACnI;AACF,iBAAA;AACF,aAAA;AACD,YAAA;AACE,gBAAA,EAAE,EAAE,4BAA4B;AAChC,gBAAA,KAAK,EAAE,SAAS;AAChB,gBAAA,KAAK,EAAE,oEAAoE;AAC3E,gBAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,kBAAkB,CAAC,IAAI;AACjD,gBAAA,WAAW,EAAE,0EAA0E;AACvF,gBAAA,OAAO,EAAE;AACP,oBAAA,IAAI,EAAE,eAAe;oBACrB,OAAO,EAAE,0BAA0B,CACjC,CAAA,EAAG,UAAU,CAAC,MAAM,CAAC,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,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,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,sBAAsB,EAAA,SAAA,EA3BpB;;AAEP,YAAA;AACI,gBAAA,OAAO,EAAE,4BAA4B;AACrC,gBAAA,QAAQ,EAAE,qBAAqB;AAC/B,gBAAA,KAAK,EAAE,IAAI;AACd,aAAA;;YAED,mBAAmB,CACf,+BAA+B,EAC/B,MAAM,OAAO,yFAA+B,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,CAAC,yCAAyC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AAAC;AAED;;;;;;;AC5IA;;AAEG;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@acorex-platform/module-financial-core-client",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.37",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/common": "^21.0.0 || ^22.0.0",
|
|
@@ -22,6 +22,50 @@
|
|
|
22
22
|
"./contracts": {
|
|
23
23
|
"types": "./types/acorex-platform-module-financial-core-client-contracts.d.ts",
|
|
24
24
|
"default": "./fesm2022/acorex-platform-module-financial-core-client-contracts.mjs"
|
|
25
|
+
},
|
|
26
|
+
"./contracts/entities/currency": {
|
|
27
|
+
"types": "./types/acorex-platform-module-financial-core-client-contracts-entities-currency.d.ts",
|
|
28
|
+
"default": "./fesm2022/acorex-platform-module-financial-core-client-contracts-entities-currency.mjs"
|
|
29
|
+
},
|
|
30
|
+
"./contracts/entities/exchange-rate": {
|
|
31
|
+
"types": "./types/acorex-platform-module-financial-core-client-contracts-entities-exchange-rate.d.ts",
|
|
32
|
+
"default": "./fesm2022/acorex-platform-module-financial-core-client-contracts-entities-exchange-rate.mjs"
|
|
33
|
+
},
|
|
34
|
+
"./contracts/entities/financial-dimension": {
|
|
35
|
+
"types": "./types/acorex-platform-module-financial-core-client-contracts-entities-financial-dimension.d.ts",
|
|
36
|
+
"default": "./fesm2022/acorex-platform-module-financial-core-client-contracts-entities-financial-dimension.mjs"
|
|
37
|
+
},
|
|
38
|
+
"./contracts/entities/fiscal-calendar": {
|
|
39
|
+
"types": "./types/acorex-platform-module-financial-core-client-contracts-entities-fiscal-calendar.d.ts",
|
|
40
|
+
"default": "./fesm2022/acorex-platform-module-financial-core-client-contracts-entities-fiscal-calendar.mjs"
|
|
41
|
+
},
|
|
42
|
+
"./contracts/entities/payment-method": {
|
|
43
|
+
"types": "./types/acorex-platform-module-financial-core-client-contracts-entities-payment-method.d.ts",
|
|
44
|
+
"default": "./fesm2022/acorex-platform-module-financial-core-client-contracts-entities-payment-method.mjs"
|
|
45
|
+
},
|
|
46
|
+
"./contracts/entities/payment-term": {
|
|
47
|
+
"types": "./types/acorex-platform-module-financial-core-client-contracts-entities-payment-term.d.ts",
|
|
48
|
+
"default": "./fesm2022/acorex-platform-module-financial-core-client-contracts-entities-payment-term.mjs"
|
|
49
|
+
},
|
|
50
|
+
"./contracts/entities/tax-class": {
|
|
51
|
+
"types": "./types/acorex-platform-module-financial-core-client-contracts-entities-tax-class.d.ts",
|
|
52
|
+
"default": "./fesm2022/acorex-platform-module-financial-core-client-contracts-entities-tax-class.mjs"
|
|
53
|
+
},
|
|
54
|
+
"./contracts/entities/tax-region": {
|
|
55
|
+
"types": "./types/acorex-platform-module-financial-core-client-contracts-entities-tax-region.d.ts",
|
|
56
|
+
"default": "./fesm2022/acorex-platform-module-financial-core-client-contracts-entities-tax-region.mjs"
|
|
57
|
+
},
|
|
58
|
+
"./contracts/entities/tax-rule": {
|
|
59
|
+
"types": "./types/acorex-platform-module-financial-core-client-contracts-entities-tax-rule.d.ts",
|
|
60
|
+
"default": "./fesm2022/acorex-platform-module-financial-core-client-contracts-entities-tax-rule.mjs"
|
|
61
|
+
},
|
|
62
|
+
"./contracts/entity-catalog": {
|
|
63
|
+
"types": "./types/acorex-platform-module-financial-core-client-contracts-entity-catalog.d.ts",
|
|
64
|
+
"default": "./fesm2022/acorex-platform-module-financial-core-client-contracts-entity-catalog.mjs"
|
|
65
|
+
},
|
|
66
|
+
"./local-entities": {
|
|
67
|
+
"types": "./types/acorex-platform-module-financial-core-client-local-entities.d.ts",
|
|
68
|
+
"default": "./fesm2022/acorex-platform-module-financial-core-client-local-entities.mjs"
|
|
25
69
|
}
|
|
26
70
|
},
|
|
27
71
|
"type": "module"
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { AXPLocalEntityCatalog } from '@acorex-platform/framework-shared/entity';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Lazy per-entity layout factories. Do not re-export from the contracts barrel
|
|
5
|
+
* so RootConfig imports stay light. Server seed and client `local-entities`
|
|
6
|
+
* consume this catalog explicitly.
|
|
7
|
+
*/
|
|
8
|
+
declare const financialCoreLocalEntityCatalog: AXPLocalEntityCatalog;
|
|
9
|
+
|
|
10
|
+
export { financialCoreLocalEntityCatalog };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
export { financialCoreLocalEntityCatalog } from '@acorex-platform/module-financial-core-client/contracts/entity-catalog';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Registers financial-core layouts on the client from packaged factories.
|
|
6
|
+
* Each `import()` targets a secondary entry so unused entities stay out of the
|
|
7
|
+
* bundle. Do not add this to the demo app; demo continues to load layouts via
|
|
8
|
+
* `Domain:GetEntityLayout`.
|
|
9
|
+
*/
|
|
10
|
+
declare function provideFinancialCoreLocalEntities(): _angular_core.EnvironmentProviders;
|
|
11
|
+
|
|
12
|
+
export { provideFinancialCoreLocalEntities };
|