@hitsoft/kadooglu-keops 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -0
- package/config/enums/index.d.ts +1 -0
- package/config/enums/route-names.d.ts +23 -0
- package/config/index.d.ts +5 -0
- package/config/kadooglu-keops-config.module.d.ts +8 -0
- package/config/providers/index.d.ts +1 -0
- package/config/providers/route.provider.d.ts +8 -0
- package/config/public-api.d.ts +3 -0
- package/esm2020/config/enums/index.mjs +2 -0
- package/esm2020/config/enums/route-names.mjs +2 -0
- package/esm2020/config/hitsoft-kadooglu-keops-config.mjs +5 -0
- package/esm2020/config/kadooglu-keops-config.module.mjs +18 -0
- package/esm2020/config/providers/index.mjs +2 -0
- package/esm2020/config/providers/route.provider.mjs +212 -0
- package/esm2020/config/public-api.mjs +4 -0
- package/esm2020/hitsoft-kadooglu-keops.mjs +5 -0
- package/esm2020/lib/features/container-definitions/components/container-definition-form.component.mjs +81 -0
- package/esm2020/lib/features/container-definitions/components/container-definitions.component.mjs +69 -0
- package/esm2020/lib/features/container-definitions/hit-container-definitions-routing.module.mjs +29 -0
- package/esm2020/lib/features/container-definitions/hit-container-definitions.module.mjs +58 -0
- package/esm2020/lib/features/container-loading-counts/components/container-loading-counts.component.mjs +104 -0
- package/esm2020/lib/features/container-loading-counts/hit-container-loading-counts-routing.module.mjs +29 -0
- package/esm2020/lib/features/container-loading-counts/hit-container-loading-counts.module.mjs +49 -0
- package/esm2020/lib/features/container-loading-scenarios/components/container-loading-scenarios.component.mjs +106 -0
- package/esm2020/lib/features/container-loading-scenarios/container-loading-scenario-l10n-helper.mjs +10 -0
- package/esm2020/lib/features/container-loading-scenarios/hit-container-loading-scenarios-routing.module.mjs +29 -0
- package/esm2020/lib/features/container-loading-scenarios/hit-container-loading-scenarios.module.mjs +49 -0
- package/esm2020/lib/features/container-mix-types/components/container-mix-type-form.component.mjs +78 -0
- package/esm2020/lib/features/container-mix-types/components/container-mix-types.component.mjs +69 -0
- package/esm2020/lib/features/container-mix-types/hit-container-mix-types-routing.module.mjs +29 -0
- package/esm2020/lib/features/container-mix-types/hit-container-mix-types.module.mjs +58 -0
- package/esm2020/lib/features/container-pallet-capacities/components/container-pallet-capacities.component.mjs +95 -0
- package/esm2020/lib/features/container-pallet-capacities/components/container-pallet-capacity-form.component.mjs +91 -0
- package/esm2020/lib/features/container-pallet-capacities/hit-container-pallet-capacities-routing.module.mjs +29 -0
- package/esm2020/lib/features/container-pallet-capacities/hit-container-pallet-capacities.module.mjs +58 -0
- package/esm2020/lib/features/cost-calculation/components/cost-calculation-inputs.component.mjs +103 -0
- package/esm2020/lib/features/cost-calculation/components/cost-calculation-result-sum.component.mjs +36 -0
- package/esm2020/lib/features/cost-calculation/components/cost-calculation-results.component.mjs +32 -0
- package/esm2020/lib/features/cost-calculation/components/cost-calculation.component.mjs +167 -0
- package/esm2020/lib/features/cost-calculation/cost-calculation.models.mjs +2 -0
- package/esm2020/lib/features/cost-calculation/engine/currency.utils.mjs +21 -0
- package/esm2020/lib/features/cost-calculation/engine/formulas.mjs +55 -0
- package/esm2020/lib/features/cost-calculation/engine/index.mjs +4 -0
- package/esm2020/lib/features/cost-calculation/engine/item-resolver.mjs +38 -0
- package/esm2020/lib/features/cost-calculation/engine/models.mjs +20 -0
- package/esm2020/lib/features/cost-calculation/engine/stage-builder.mjs +56 -0
- package/esm2020/lib/features/cost-calculation/hit-cost-calculation-routing.module.mjs +29 -0
- package/esm2020/lib/features/cost-calculation/hit-cost-calculation.module.mjs +64 -0
- package/esm2020/lib/features/cost-groups/components/cost-group-form.component.mjs +121 -0
- package/esm2020/lib/features/cost-groups/components/cost-groups.component.mjs +92 -0
- package/esm2020/lib/features/cost-groups/cost-group-role-l10n-helper.mjs +20 -0
- package/esm2020/lib/features/cost-groups/hit-cost-groups-routing.module.mjs +29 -0
- package/esm2020/lib/features/cost-groups/hit-cost-groups.module.mjs +58 -0
- package/esm2020/lib/features/cost-items/components/cost-item-form.component.mjs +88 -0
- package/esm2020/lib/features/cost-items/components/cost-items.component.mjs +73 -0
- package/esm2020/lib/features/cost-items/cost-item-l10n-helper.mjs +7 -0
- package/esm2020/lib/features/cost-items/hit-cost-items-routing.module.mjs +29 -0
- package/esm2020/lib/features/cost-items/hit-cost-items.module.mjs +58 -0
- package/esm2020/lib/features/cost-parameter-categories/components/cost-parameter-categories.component.mjs +73 -0
- package/esm2020/lib/features/cost-parameter-categories/components/cost-parameter-category-form.component.mjs +93 -0
- package/esm2020/lib/features/cost-parameter-categories/cost-parameter-category-l10n-helper.mjs +9 -0
- package/esm2020/lib/features/cost-parameter-categories/hit-cost-parameter-categories-routing.module.mjs +29 -0
- package/esm2020/lib/features/cost-parameter-categories/hit-cost-parameter-categories.module.mjs +58 -0
- package/esm2020/lib/features/cost-parameters/components/cost-parameter-form.component.mjs +131 -0
- package/esm2020/lib/features/cost-parameters/components/cost-parameters.component.mjs +93 -0
- package/esm2020/lib/features/cost-parameters/cost-parameter-l10n-helper.mjs +7 -0
- package/esm2020/lib/features/cost-parameters/hit-cost-parameters-routing.module.mjs +29 -0
- package/esm2020/lib/features/cost-parameters/hit-cost-parameters.module.mjs +61 -0
- package/esm2020/lib/features/exchange-rates/components/central-bank-rates.component.mjs +17 -0
- package/esm2020/lib/features/exchange-rates/components/exchange-rates.component.mjs +30 -0
- package/esm2020/lib/features/exchange-rates/components/fixed-rates-form.component.mjs +84 -0
- package/esm2020/lib/features/exchange-rates/hit-exchange-rates-routing.module.mjs +29 -0
- package/esm2020/lib/features/exchange-rates/hit-exchange-rates.module.mjs +65 -0
- package/esm2020/lib/features/index.mjs +15 -0
- package/esm2020/lib/features/packaging-materials/components/packaging-material-form.component.mjs +87 -0
- package/esm2020/lib/features/packaging-materials/components/packaging-materials.component.mjs +69 -0
- package/esm2020/lib/features/packaging-materials/hit-packaging-materials-routing.module.mjs +29 -0
- package/esm2020/lib/features/packaging-materials/hit-packaging-materials.module.mjs +58 -0
- package/esm2020/lib/features/packaging-prices/components/packaging-price-form.component.mjs +154 -0
- package/esm2020/lib/features/packaging-prices/components/packaging-price-lines.component.mjs +89 -0
- package/esm2020/lib/features/packaging-prices/components/packaging-prices.component.mjs +86 -0
- package/esm2020/lib/features/packaging-prices/hit-packaging-prices-routing.module.mjs +29 -0
- package/esm2020/lib/features/packaging-prices/hit-packaging-prices.module.mjs +71 -0
- package/esm2020/lib/features/packaging-prices/packaging-price-calculator.mjs +36 -0
- package/esm2020/lib/features/packaging-prices/packaging-price-excel.service.mjs +32 -0
- package/esm2020/lib/features/packaging-prices/packaging-price-form.factory.mjs +31 -0
- package/esm2020/lib/features/packaging-prices/packaging-price-lines.builder.mjs +49 -0
- package/esm2020/lib/features/packaging-types/components/packaging-type-form.component.mjs +78 -0
- package/esm2020/lib/features/packaging-types/components/packaging-types.component.mjs +69 -0
- package/esm2020/lib/features/packaging-types/hit-packaging-types-routing.module.mjs +29 -0
- package/esm2020/lib/features/packaging-types/hit-packaging-types.module.mjs +58 -0
- package/esm2020/lib/features/pallet-definitions/components/pallet-definition-form.component.mjs +80 -0
- package/esm2020/lib/features/pallet-definitions/components/pallet-definitions.component.mjs +69 -0
- package/esm2020/lib/features/pallet-definitions/hit-pallet-definitions-routing.module.mjs +29 -0
- package/esm2020/lib/features/pallet-definitions/hit-pallet-definitions.module.mjs +58 -0
- package/esm2020/lib/features/price-parameter-types/components/price-parameter-type-form.component.mjs +79 -0
- package/esm2020/lib/features/price-parameter-types/components/price-parameter-types.component.mjs +69 -0
- package/esm2020/lib/features/price-parameter-types/hit-price-parameter-types-routing.module.mjs +29 -0
- package/esm2020/lib/features/price-parameter-types/hit-price-parameter-types.module.mjs +58 -0
- package/esm2020/lib/features/sap-sales-persons/components/sap-sales-person-form.component.mjs +69 -0
- package/esm2020/lib/features/sap-sales-persons/components/sap-sales-persons.component.mjs +53 -0
- package/esm2020/lib/features/sap-sales-persons/hit-sap-sales-persons-routing.module.mjs +29 -0
- package/esm2020/lib/features/sap-sales-persons/hit-sap-sales-persons.module.mjs +61 -0
- package/esm2020/lib/features/settings/components/cost-settings.component.mjs +48 -0
- package/esm2020/lib/kadooglu-keops-routing.module.mjs +53 -0
- package/esm2020/lib/kadooglu-keops.module.mjs +53 -0
- package/esm2020/lib/proxy/container-definitions/dtos/index.mjs +2 -0
- package/esm2020/lib/proxy/container-definitions/dtos/models.mjs +2 -0
- package/esm2020/lib/proxy/container-definitions/index.mjs +3 -0
- package/esm2020/lib/proxy/container-loading-counts/dtos/index.mjs +2 -0
- package/esm2020/lib/proxy/container-loading-counts/dtos/models.mjs +2 -0
- package/esm2020/lib/proxy/container-loading-counts/index.mjs +4 -0
- package/esm2020/lib/proxy/container-loading-counts/loading-target-kind.enum.mjs +8 -0
- package/esm2020/lib/proxy/container-loading-scenarios/dtos/index.mjs +2 -0
- package/esm2020/lib/proxy/container-loading-scenarios/dtos/models.mjs +2 -0
- package/esm2020/lib/proxy/container-loading-scenarios/index.mjs +4 -0
- package/esm2020/lib/proxy/container-loading-scenarios/pallet-status.enum.mjs +8 -0
- package/esm2020/lib/proxy/container-mix-types/dtos/index.mjs +2 -0
- package/esm2020/lib/proxy/container-mix-types/dtos/models.mjs +2 -0
- package/esm2020/lib/proxy/container-mix-types/index.mjs +3 -0
- package/esm2020/lib/proxy/container-pallet-capacities/dtos/index.mjs +2 -0
- package/esm2020/lib/proxy/container-pallet-capacities/dtos/models.mjs +2 -0
- package/esm2020/lib/proxy/container-pallet-capacities/index.mjs +3 -0
- package/esm2020/lib/proxy/controllers/container-definition.service.mjs +40 -0
- package/esm2020/lib/proxy/controllers/container-loading-count.service.mjs +31 -0
- package/esm2020/lib/proxy/controllers/container-loading-scenario.service.mjs +27 -0
- package/esm2020/lib/proxy/controllers/container-mix-type.service.mjs +40 -0
- package/esm2020/lib/proxy/controllers/container-pallet-capacity.service.mjs +40 -0
- package/esm2020/lib/proxy/controllers/cost-group.service.mjs +40 -0
- package/esm2020/lib/proxy/controllers/cost-item.service.mjs +40 -0
- package/esm2020/lib/proxy/controllers/cost-parameter-category.service.mjs +40 -0
- package/esm2020/lib/proxy/controllers/cost-parameter.service.mjs +40 -0
- package/esm2020/lib/proxy/controllers/cost-settings.service.mjs +27 -0
- package/esm2020/lib/proxy/controllers/exchange-rate.service.mjs +27 -0
- package/esm2020/lib/proxy/controllers/index.mjs +19 -0
- package/esm2020/lib/proxy/controllers/item.service.mjs +23 -0
- package/esm2020/lib/proxy/controllers/packaging-material.service.mjs +40 -0
- package/esm2020/lib/proxy/controllers/packaging-price.service.mjs +55 -0
- package/esm2020/lib/proxy/controllers/packaging-type.service.mjs +40 -0
- package/esm2020/lib/proxy/controllers/pallet-definition.service.mjs +40 -0
- package/esm2020/lib/proxy/controllers/price-parameter-type.service.mjs +40 -0
- package/esm2020/lib/proxy/controllers/sap-sales-person.service.mjs +27 -0
- package/esm2020/lib/proxy/cost-groups/cost-group-role.enum.mjs +10 -0
- package/esm2020/lib/proxy/cost-groups/dtos/index.mjs +2 -0
- package/esm2020/lib/proxy/cost-groups/dtos/models.mjs +2 -0
- package/esm2020/lib/proxy/cost-groups/index.mjs +4 -0
- package/esm2020/lib/proxy/cost-items/cost-item-calculation-type.enum.mjs +9 -0
- package/esm2020/lib/proxy/cost-items/cost-item-system-code.enum.mjs +20 -0
- package/esm2020/lib/proxy/cost-items/dtos/index.mjs +2 -0
- package/esm2020/lib/proxy/cost-items/dtos/models.mjs +2 -0
- package/esm2020/lib/proxy/cost-items/index.mjs +5 -0
- package/esm2020/lib/proxy/cost-parameter-categories/cost-parameter-category-parent-code.enum.mjs +11 -0
- package/esm2020/lib/proxy/cost-parameter-categories/dtos/index.mjs +2 -0
- package/esm2020/lib/proxy/cost-parameter-categories/dtos/models.mjs +2 -0
- package/esm2020/lib/proxy/cost-parameter-categories/index.mjs +4 -0
- package/esm2020/lib/proxy/cost-parameters/cost-parameter-status.enum.mjs +9 -0
- package/esm2020/lib/proxy/cost-parameters/dtos/index.mjs +2 -0
- package/esm2020/lib/proxy/cost-parameters/dtos/models.mjs +2 -0
- package/esm2020/lib/proxy/cost-parameters/index.mjs +4 -0
- package/esm2020/lib/proxy/currencies/currency.enum.mjs +9 -0
- package/esm2020/lib/proxy/currencies/index.mjs +2 -0
- package/esm2020/lib/proxy/exchange-rates/dtos/index.mjs +2 -0
- package/esm2020/lib/proxy/exchange-rates/dtos/models.mjs +2 -0
- package/esm2020/lib/proxy/exchange-rates/exchange-rate-source.enum.mjs +8 -0
- package/esm2020/lib/proxy/exchange-rates/index.mjs +4 -0
- package/esm2020/lib/proxy/index.mjs +22 -0
- package/esm2020/lib/proxy/items/dtos/index.mjs +2 -0
- package/esm2020/lib/proxy/items/dtos/models.mjs +2 -0
- package/esm2020/lib/proxy/items/index.mjs +3 -0
- package/esm2020/lib/proxy/packaging-materials/dtos/index.mjs +2 -0
- package/esm2020/lib/proxy/packaging-materials/dtos/models.mjs +2 -0
- package/esm2020/lib/proxy/packaging-materials/index.mjs +3 -0
- package/esm2020/lib/proxy/packaging-prices/dtos/index.mjs +2 -0
- package/esm2020/lib/proxy/packaging-prices/dtos/models.mjs +2 -0
- package/esm2020/lib/proxy/packaging-prices/index.mjs +3 -0
- package/esm2020/lib/proxy/packaging-types/dtos/index.mjs +2 -0
- package/esm2020/lib/proxy/packaging-types/dtos/models.mjs +2 -0
- package/esm2020/lib/proxy/packaging-types/index.mjs +3 -0
- package/esm2020/lib/proxy/pallet-definitions/dtos/index.mjs +2 -0
- package/esm2020/lib/proxy/pallet-definitions/dtos/models.mjs +2 -0
- package/esm2020/lib/proxy/pallet-definitions/index.mjs +3 -0
- package/esm2020/lib/proxy/price-parameter-types/dtos/index.mjs +2 -0
- package/esm2020/lib/proxy/price-parameter-types/dtos/models.mjs +2 -0
- package/esm2020/lib/proxy/price-parameter-types/index.mjs +3 -0
- package/esm2020/lib/proxy/sales-persons/dtos/index.mjs +2 -0
- package/esm2020/lib/proxy/sales-persons/dtos/models.mjs +2 -0
- package/esm2020/lib/proxy/sales-persons/index.mjs +3 -0
- package/esm2020/lib/proxy/settings/index.mjs +2 -0
- package/esm2020/lib/proxy/settings/models.mjs +2 -0
- package/esm2020/lib/utils/currency.utils.mjs +8 -0
- package/esm2020/lib/utils/date.utils.mjs +12 -0
- package/esm2020/lib/utils/number.utils.mjs +9 -0
- package/esm2020/public-api.mjs +7 -0
- package/fesm2015/hitsoft-kadooglu-keops-config.mjs +235 -0
- package/fesm2015/hitsoft-kadooglu-keops-config.mjs.map +1 -0
- package/fesm2015/hitsoft-kadooglu-keops.mjs +5243 -0
- package/fesm2015/hitsoft-kadooglu-keops.mjs.map +1 -0
- package/fesm2020/hitsoft-kadooglu-keops-config.mjs +235 -0
- package/fesm2020/hitsoft-kadooglu-keops-config.mjs.map +1 -0
- package/fesm2020/hitsoft-kadooglu-keops.mjs +5196 -0
- package/fesm2020/hitsoft-kadooglu-keops.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/features/container-definitions/components/container-definition-form.component.d.ts +25 -0
- package/lib/features/container-definitions/components/container-definitions.component.d.ts +23 -0
- package/lib/features/container-definitions/hit-container-definitions-routing.module.d.ts +7 -0
- package/lib/features/container-definitions/hit-container-definitions.module.d.ts +18 -0
- package/lib/features/container-loading-counts/components/container-loading-counts.component.d.ts +29 -0
- package/lib/features/container-loading-counts/hit-container-loading-counts-routing.module.d.ts +7 -0
- package/lib/features/container-loading-counts/hit-container-loading-counts.module.d.ts +15 -0
- package/lib/features/container-loading-scenarios/components/container-loading-scenarios.component.d.ts +40 -0
- package/lib/features/container-loading-scenarios/container-loading-scenario-l10n-helper.d.ts +3 -0
- package/lib/features/container-loading-scenarios/hit-container-loading-scenarios-routing.module.d.ts +7 -0
- package/lib/features/container-loading-scenarios/hit-container-loading-scenarios.module.d.ts +15 -0
- package/lib/features/container-mix-types/components/container-mix-type-form.component.d.ts +25 -0
- package/lib/features/container-mix-types/components/container-mix-types.component.d.ts +23 -0
- package/lib/features/container-mix-types/hit-container-mix-types-routing.module.d.ts +7 -0
- package/lib/features/container-mix-types/hit-container-mix-types.module.d.ts +18 -0
- package/lib/features/container-pallet-capacities/components/container-pallet-capacities.component.d.ts +33 -0
- package/lib/features/container-pallet-capacities/components/container-pallet-capacity-form.component.d.ts +29 -0
- package/lib/features/container-pallet-capacities/hit-container-pallet-capacities-routing.module.d.ts +7 -0
- package/lib/features/container-pallet-capacities/hit-container-pallet-capacities.module.d.ts +18 -0
- package/lib/features/cost-calculation/components/cost-calculation-inputs.component.d.ts +43 -0
- package/lib/features/cost-calculation/components/cost-calculation-result-sum.component.d.ts +16 -0
- package/lib/features/cost-calculation/components/cost-calculation-results.component.d.ts +12 -0
- package/lib/features/cost-calculation/components/cost-calculation.component.d.ts +51 -0
- package/lib/features/cost-calculation/cost-calculation.models.d.ts +18 -0
- package/lib/features/cost-calculation/engine/currency.utils.d.ts +4 -0
- package/lib/features/cost-calculation/engine/formulas.d.ts +7 -0
- package/lib/features/cost-calculation/engine/index.d.ts +3 -0
- package/lib/features/cost-calculation/engine/item-resolver.d.ts +4 -0
- package/lib/features/cost-calculation/engine/models.d.ts +64 -0
- package/lib/features/cost-calculation/engine/stage-builder.d.ts +4 -0
- package/lib/features/cost-calculation/hit-cost-calculation-routing.module.d.ts +7 -0
- package/lib/features/cost-calculation/hit-cost-calculation.module.d.ts +19 -0
- package/lib/features/cost-groups/components/cost-group-form.component.d.ts +33 -0
- package/lib/features/cost-groups/components/cost-groups.component.d.ts +31 -0
- package/lib/features/cost-groups/cost-group-role-l10n-helper.d.ts +7 -0
- package/lib/features/cost-groups/hit-cost-groups-routing.module.d.ts +7 -0
- package/lib/features/cost-groups/hit-cost-groups.module.d.ts +18 -0
- package/lib/features/cost-items/components/cost-item-form.component.d.ts +30 -0
- package/lib/features/cost-items/components/cost-items.component.d.ts +24 -0
- package/lib/features/cost-items/cost-item-l10n-helper.d.ts +2 -0
- package/lib/features/cost-items/hit-cost-items-routing.module.d.ts +7 -0
- package/lib/features/cost-items/hit-cost-items.module.d.ts +18 -0
- package/lib/features/cost-parameter-categories/components/cost-parameter-categories.component.d.ts +24 -0
- package/lib/features/cost-parameter-categories/components/cost-parameter-category-form.component.d.ts +29 -0
- package/lib/features/cost-parameter-categories/cost-parameter-category-l10n-helper.d.ts +2 -0
- package/lib/features/cost-parameter-categories/hit-cost-parameter-categories-routing.module.d.ts +7 -0
- package/lib/features/cost-parameter-categories/hit-cost-parameter-categories.module.d.ts +18 -0
- package/lib/features/cost-parameters/components/cost-parameter-form.component.d.ts +39 -0
- package/lib/features/cost-parameters/components/cost-parameters.component.d.ts +30 -0
- package/lib/features/cost-parameters/cost-parameter-l10n-helper.d.ts +2 -0
- package/lib/features/cost-parameters/hit-cost-parameters-routing.module.d.ts +7 -0
- package/lib/features/cost-parameters/hit-cost-parameters.module.d.ts +18 -0
- package/lib/features/exchange-rates/components/central-bank-rates.component.d.ts +7 -0
- package/lib/features/exchange-rates/components/exchange-rates.component.d.ts +13 -0
- package/lib/features/exchange-rates/components/fixed-rates-form.component.d.ts +26 -0
- package/lib/features/exchange-rates/hit-exchange-rates-routing.module.d.ts +7 -0
- package/lib/features/exchange-rates/hit-exchange-rates.module.d.ts +19 -0
- package/lib/features/index.d.ts +10 -0
- package/lib/features/packaging-materials/components/packaging-material-form.component.d.ts +29 -0
- package/lib/features/packaging-materials/components/packaging-materials.component.d.ts +23 -0
- package/lib/features/packaging-materials/hit-packaging-materials-routing.module.d.ts +7 -0
- package/lib/features/packaging-materials/hit-packaging-materials.module.d.ts +18 -0
- package/lib/features/packaging-prices/components/packaging-price-form.component.d.ts +44 -0
- package/lib/features/packaging-prices/components/packaging-price-lines.component.d.ts +26 -0
- package/lib/features/packaging-prices/components/packaging-prices.component.d.ts +27 -0
- package/lib/features/packaging-prices/hit-packaging-prices-routing.module.d.ts +7 -0
- package/lib/features/packaging-prices/hit-packaging-prices.module.d.ts +19 -0
- package/lib/features/packaging-prices/packaging-price-calculator.d.ts +8 -0
- package/lib/features/packaging-prices/packaging-price-excel.service.d.ts +15 -0
- package/lib/features/packaging-prices/packaging-price-form.factory.d.ts +5 -0
- package/lib/features/packaging-prices/packaging-price-lines.builder.d.ts +21 -0
- package/lib/features/packaging-types/components/packaging-type-form.component.d.ts +25 -0
- package/lib/features/packaging-types/components/packaging-types.component.d.ts +23 -0
- package/lib/features/packaging-types/hit-packaging-types-routing.module.d.ts +7 -0
- package/lib/features/packaging-types/hit-packaging-types.module.d.ts +18 -0
- package/lib/features/pallet-definitions/components/pallet-definition-form.component.d.ts +25 -0
- package/lib/features/pallet-definitions/components/pallet-definitions.component.d.ts +23 -0
- package/lib/features/pallet-definitions/hit-pallet-definitions-routing.module.d.ts +7 -0
- package/lib/features/pallet-definitions/hit-pallet-definitions.module.d.ts +18 -0
- package/lib/features/price-parameter-types/components/price-parameter-type-form.component.d.ts +25 -0
- package/lib/features/price-parameter-types/components/price-parameter-types.component.d.ts +23 -0
- package/lib/features/price-parameter-types/hit-price-parameter-types-routing.module.d.ts +7 -0
- package/lib/features/price-parameter-types/hit-price-parameter-types.module.d.ts +18 -0
- package/lib/features/sap-sales-persons/components/sap-sales-person-form.component.d.ts +26 -0
- package/lib/features/sap-sales-persons/components/sap-sales-persons.component.d.ts +24 -0
- package/lib/features/sap-sales-persons/hit-sap-sales-persons-routing.module.d.ts +7 -0
- package/lib/features/sap-sales-persons/hit-sap-sales-persons.module.d.ts +18 -0
- package/lib/features/settings/components/cost-settings.component.d.ts +17 -0
- package/lib/kadooglu-keops-routing.module.d.ts +7 -0
- package/lib/kadooglu-keops.module.d.ts +18 -0
- package/lib/proxy/container-definitions/dtos/index.d.ts +1 -0
- package/lib/proxy/container-definitions/dtos/models.d.ts +22 -0
- package/lib/proxy/container-definitions/index.d.ts +2 -0
- package/lib/proxy/container-loading-counts/dtos/index.d.ts +1 -0
- package/lib/proxy/container-loading-counts/dtos/models.d.ts +23 -0
- package/lib/proxy/container-loading-counts/index.d.ts +3 -0
- package/lib/proxy/container-loading-counts/loading-target-kind.enum.d.ts +5 -0
- package/lib/proxy/container-loading-scenarios/dtos/index.d.ts +1 -0
- package/lib/proxy/container-loading-scenarios/dtos/models.d.ts +22 -0
- package/lib/proxy/container-loading-scenarios/index.d.ts +3 -0
- package/lib/proxy/container-loading-scenarios/pallet-status.enum.d.ts +5 -0
- package/lib/proxy/container-mix-types/dtos/index.d.ts +1 -0
- package/lib/proxy/container-mix-types/dtos/models.d.ts +13 -0
- package/lib/proxy/container-mix-types/index.d.ts +2 -0
- package/lib/proxy/container-pallet-capacities/dtos/index.d.ts +1 -0
- package/lib/proxy/container-pallet-capacities/dtos/models.d.ts +22 -0
- package/lib/proxy/container-pallet-capacities/index.d.ts +2 -0
- package/lib/proxy/controllers/container-definition.service.d.ts +15 -0
- package/lib/proxy/controllers/container-loading-count.service.d.ts +13 -0
- package/lib/proxy/controllers/container-loading-scenario.service.d.ts +12 -0
- package/lib/proxy/controllers/container-mix-type.service.d.ts +15 -0
- package/lib/proxy/controllers/container-pallet-capacity.service.d.ts +15 -0
- package/lib/proxy/controllers/cost-group.service.d.ts +15 -0
- package/lib/proxy/controllers/cost-item.service.d.ts +15 -0
- package/lib/proxy/controllers/cost-parameter-category.service.d.ts +15 -0
- package/lib/proxy/controllers/cost-parameter.service.d.ts +15 -0
- package/lib/proxy/controllers/cost-settings.service.d.ts +12 -0
- package/lib/proxy/controllers/exchange-rate.service.d.ts +12 -0
- package/lib/proxy/controllers/index.d.ts +18 -0
- package/lib/proxy/controllers/item.service.d.ts +11 -0
- package/lib/proxy/controllers/packaging-material.service.d.ts +15 -0
- package/lib/proxy/controllers/packaging-price.service.d.ts +18 -0
- package/lib/proxy/controllers/packaging-type.service.d.ts +15 -0
- package/lib/proxy/controllers/pallet-definition.service.d.ts +15 -0
- package/lib/proxy/controllers/price-parameter-type.service.d.ts +15 -0
- package/lib/proxy/controllers/sap-sales-person.service.d.ts +12 -0
- package/lib/proxy/cost-groups/cost-group-role.enum.d.ts +7 -0
- package/lib/proxy/cost-groups/dtos/index.d.ts +1 -0
- package/lib/proxy/cost-groups/dtos/models.d.ts +21 -0
- package/lib/proxy/cost-groups/index.d.ts +3 -0
- package/lib/proxy/cost-items/cost-item-calculation-type.enum.d.ts +6 -0
- package/lib/proxy/cost-items/cost-item-system-code.enum.d.ts +17 -0
- package/lib/proxy/cost-items/dtos/index.d.ts +1 -0
- package/lib/proxy/cost-items/dtos/models.d.ts +20 -0
- package/lib/proxy/cost-items/index.d.ts +4 -0
- package/lib/proxy/cost-parameter-categories/cost-parameter-category-parent-code.enum.d.ts +8 -0
- package/lib/proxy/cost-parameter-categories/dtos/index.d.ts +1 -0
- package/lib/proxy/cost-parameter-categories/dtos/models.d.ts +14 -0
- package/lib/proxy/cost-parameter-categories/index.d.ts +3 -0
- package/lib/proxy/cost-parameters/cost-parameter-status.enum.d.ts +6 -0
- package/lib/proxy/cost-parameters/dtos/index.d.ts +1 -0
- package/lib/proxy/cost-parameters/dtos/models.d.ts +44 -0
- package/lib/proxy/cost-parameters/index.d.ts +3 -0
- package/lib/proxy/currencies/currency.enum.d.ts +6 -0
- package/lib/proxy/currencies/index.d.ts +1 -0
- package/lib/proxy/exchange-rates/dtos/index.d.ts +1 -0
- package/lib/proxy/exchange-rates/dtos/models.d.ts +17 -0
- package/lib/proxy/exchange-rates/exchange-rate-source.enum.d.ts +5 -0
- package/lib/proxy/exchange-rates/index.d.ts +3 -0
- package/lib/proxy/index.d.ts +21 -0
- package/lib/proxy/items/dtos/index.d.ts +1 -0
- package/lib/proxy/items/dtos/models.d.ts +4 -0
- package/lib/proxy/items/index.d.ts +2 -0
- package/lib/proxy/packaging-materials/dtos/index.d.ts +1 -0
- package/lib/proxy/packaging-materials/dtos/models.d.ts +14 -0
- package/lib/proxy/packaging-materials/index.d.ts +2 -0
- package/lib/proxy/packaging-prices/dtos/index.d.ts +1 -0
- package/lib/proxy/packaging-prices/dtos/models.d.ts +54 -0
- package/lib/proxy/packaging-prices/index.d.ts +2 -0
- package/lib/proxy/packaging-types/dtos/index.d.ts +1 -0
- package/lib/proxy/packaging-types/dtos/models.d.ts +13 -0
- package/lib/proxy/packaging-types/index.d.ts +2 -0
- package/lib/proxy/pallet-definitions/dtos/index.d.ts +1 -0
- package/lib/proxy/pallet-definitions/dtos/models.d.ts +19 -0
- package/lib/proxy/pallet-definitions/index.d.ts +2 -0
- package/lib/proxy/price-parameter-types/dtos/index.d.ts +1 -0
- package/lib/proxy/price-parameter-types/dtos/models.d.ts +19 -0
- package/lib/proxy/price-parameter-types/index.d.ts +2 -0
- package/lib/proxy/sales-persons/dtos/index.d.ts +1 -0
- package/lib/proxy/sales-persons/dtos/models.d.ts +10 -0
- package/lib/proxy/sales-persons/index.d.ts +2 -0
- package/lib/proxy/settings/index.d.ts +1 -0
- package/lib/proxy/settings/models.d.ts +3 -0
- package/lib/utils/currency.utils.d.ts +6 -0
- package/lib/utils/date.utils.d.ts +9 -0
- package/lib/utils/number.utils.d.ts +1 -0
- package/package.json +41 -0
- package/public-api.d.ts +3 -0
- package/src/lib/proxy/README.md +17 -0
package/index.d.ts
ADDED
package/lib/features/container-definitions/components/container-definition-form.component.d.ts
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
|
+
import { ContainerDefinitionService } from '@proxy/controllers';
|
|
4
|
+
import { ContainerDefinitionDto } from '@proxy/container-definitions/dtos';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class ContainerDefinitionFormComponent implements OnInit, OnChanges {
|
|
7
|
+
private readonly fb;
|
|
8
|
+
private readonly service;
|
|
9
|
+
visible: boolean;
|
|
10
|
+
mode: 'create' | 'edit';
|
|
11
|
+
current: ContainerDefinitionDto | null;
|
|
12
|
+
visibleChange: EventEmitter<boolean>;
|
|
13
|
+
saved: EventEmitter<void>;
|
|
14
|
+
form: FormGroup;
|
|
15
|
+
saving: boolean;
|
|
16
|
+
constructor(fb: FormBuilder, service: ContainerDefinitionService);
|
|
17
|
+
ngOnInit(): void;
|
|
18
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
19
|
+
private buildForm;
|
|
20
|
+
get title(): string;
|
|
21
|
+
onVisibleChange(value: boolean): void;
|
|
22
|
+
save(): void;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ContainerDefinitionFormComponent, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ContainerDefinitionFormComponent, "lib-container-definition-form", never, { "visible": "visible"; "mode": "mode"; "current": "current"; }, { "visibleChange": "visibleChange"; "saved": "saved"; }, never, never, false>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { ConfirmationService, ToasterService } from '@abp/ng.theme.shared';
|
|
3
|
+
import { ContainerDefinitionService } from '@proxy/controllers';
|
|
4
|
+
import { ContainerDefinitionDto } from '@proxy/container-definitions/dtos';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class ContainerDefinitionsComponent implements OnInit {
|
|
7
|
+
private readonly service;
|
|
8
|
+
private readonly toaster;
|
|
9
|
+
private readonly confirmation;
|
|
10
|
+
items: ContainerDefinitionDto[];
|
|
11
|
+
selected: ContainerDefinitionDto | null;
|
|
12
|
+
formVisible: boolean;
|
|
13
|
+
formMode: 'create' | 'edit';
|
|
14
|
+
constructor(service: ContainerDefinitionService, toaster: ToasterService, confirmation: ConfirmationService);
|
|
15
|
+
ngOnInit(): void;
|
|
16
|
+
loadList(): void;
|
|
17
|
+
openCreate(): void;
|
|
18
|
+
openEdit(row: ContainerDefinitionDto): void;
|
|
19
|
+
onSaved(): void;
|
|
20
|
+
remove(row: ContainerDefinitionDto): void;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ContainerDefinitionsComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ContainerDefinitionsComponent, "lib-container-definitions", never, {}, {}, never, never, false>;
|
|
23
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@angular/router";
|
|
3
|
+
export declare class HitContainerDefinitionsRoutingModule {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HitContainerDefinitionsRoutingModule, never>;
|
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<HitContainerDefinitionsRoutingModule, never, [typeof i1.RouterModule], [typeof i1.RouterModule]>;
|
|
6
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<HitContainerDefinitionsRoutingModule>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./components/container-definitions.component";
|
|
3
|
+
import * as i2 from "./components/container-definition-form.component";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
import * as i4 from "@angular/forms";
|
|
6
|
+
import * as i5 from "@abp/ng.core";
|
|
7
|
+
import * as i6 from "@abp/ng.theme.shared";
|
|
8
|
+
import * as i7 from "@abp/ng.components/page";
|
|
9
|
+
import * as i8 from "@volo/abp.commercial.ng.ui";
|
|
10
|
+
import * as i9 from "@ng-bootstrap/ng-bootstrap";
|
|
11
|
+
import * as i10 from "./hit-container-definitions-routing.module";
|
|
12
|
+
import * as i11 from "devextreme-angular";
|
|
13
|
+
export declare class HitContainerDefinitionsModule {
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HitContainerDefinitionsModule, never>;
|
|
15
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<HitContainerDefinitionsModule, [typeof i1.ContainerDefinitionsComponent, typeof i2.ContainerDefinitionFormComponent], [typeof i3.CommonModule, typeof i4.FormsModule, typeof i4.ReactiveFormsModule, typeof i5.CoreModule, typeof i6.ThemeSharedModule, typeof i7.PageModule, typeof i8.CommercialUiModule, typeof i9.NgbDropdownModule, typeof i10.HitContainerDefinitionsRoutingModule, typeof i11.DxDataGridModule], never>;
|
|
16
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<HitContainerDefinitionsModule>;
|
|
17
|
+
}
|
|
18
|
+
export declare function loadHitContainerDefinitionsModuleAsChild(): Promise<typeof HitContainerDefinitionsModule>;
|
package/lib/features/container-loading-counts/components/container-loading-counts.component.d.ts
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { FormControl } from '@angular/forms';
|
|
3
|
+
import { ToasterService } from '@abp/ng.theme.shared';
|
|
4
|
+
import { ContainerDefinitionService, ContainerLoadingCountService, PalletDefinitionService } from '@proxy/controllers';
|
|
5
|
+
import { ContainerDefinitionDto } from '@proxy/container-definitions/dtos';
|
|
6
|
+
import { PalletDefinitionDto } from '@proxy/pallet-definitions/dtos';
|
|
7
|
+
import { ProductTypeLookupDto } from '@proxy/container-loading-counts/dtos';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class ContainerLoadingCountsComponent implements OnInit {
|
|
10
|
+
private readonly service;
|
|
11
|
+
private readonly containerDefinitionService;
|
|
12
|
+
private readonly palletDefinitionService;
|
|
13
|
+
private readonly toaster;
|
|
14
|
+
loading: boolean;
|
|
15
|
+
saving: boolean;
|
|
16
|
+
productTypes: ProductTypeLookupDto[];
|
|
17
|
+
containers: ContainerDefinitionDto[];
|
|
18
|
+
pallets: PalletDefinitionDto[];
|
|
19
|
+
private readonly controls;
|
|
20
|
+
constructor(service: ContainerLoadingCountService, containerDefinitionService: ContainerDefinitionService, palletDefinitionService: PalletDefinitionService, toaster: ToasterService);
|
|
21
|
+
ngOnInit(): void;
|
|
22
|
+
get hasColumns(): boolean;
|
|
23
|
+
cell(productTypeCode: string | undefined, prefix: 'c' | 'p', targetCode: string | undefined): FormControl;
|
|
24
|
+
load(): void;
|
|
25
|
+
save(): void;
|
|
26
|
+
private key;
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ContainerLoadingCountsComponent, never>;
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ContainerLoadingCountsComponent, "lib-container-loading-counts", never, {}, {}, never, never, false>;
|
|
29
|
+
}
|
package/lib/features/container-loading-counts/hit-container-loading-counts-routing.module.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@angular/router";
|
|
3
|
+
export declare class HitContainerLoadingCountsRoutingModule {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HitContainerLoadingCountsRoutingModule, never>;
|
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<HitContainerLoadingCountsRoutingModule, never, [typeof i1.RouterModule], [typeof i1.RouterModule]>;
|
|
6
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<HitContainerLoadingCountsRoutingModule>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./components/container-loading-counts.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/forms";
|
|
5
|
+
import * as i4 from "@abp/ng.core";
|
|
6
|
+
import * as i5 from "@abp/ng.theme.shared";
|
|
7
|
+
import * as i6 from "@abp/ng.components/page";
|
|
8
|
+
import * as i7 from "@volo/abp.commercial.ng.ui";
|
|
9
|
+
import * as i8 from "./hit-container-loading-counts-routing.module";
|
|
10
|
+
export declare class HitContainerLoadingCountsModule {
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HitContainerLoadingCountsModule, never>;
|
|
12
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<HitContainerLoadingCountsModule, [typeof i1.ContainerLoadingCountsComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.CoreModule, typeof i5.ThemeSharedModule, typeof i6.PageModule, typeof i7.CommercialUiModule, typeof i8.HitContainerLoadingCountsRoutingModule], never>;
|
|
13
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<HitContainerLoadingCountsModule>;
|
|
14
|
+
}
|
|
15
|
+
export declare function loadHitContainerLoadingCountsModuleAsChild(): Promise<typeof HitContainerLoadingCountsModule>;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
|
+
import { ToasterService } from '@abp/ng.theme.shared';
|
|
4
|
+
import { ContainerDefinitionService, ContainerLoadingScenarioService, ContainerMixTypeService, PalletDefinitionService } from '@proxy/controllers';
|
|
5
|
+
import { ContainerDefinitionDto } from '@proxy/container-definitions/dtos';
|
|
6
|
+
import { PalletDefinitionDto } from '@proxy/pallet-definitions/dtos';
|
|
7
|
+
import { ContainerMixTypeDto } from '@proxy/container-mix-types/dtos';
|
|
8
|
+
import { PalletStatus } from '@proxy/container-loading-scenarios/pallet-status.enum';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
interface ScenarioRow {
|
|
11
|
+
palletStatus: PalletStatus;
|
|
12
|
+
mixedType: ContainerMixTypeDto;
|
|
13
|
+
container: ContainerDefinitionDto;
|
|
14
|
+
pallet: PalletDefinitionDto;
|
|
15
|
+
group: FormGroup;
|
|
16
|
+
}
|
|
17
|
+
export declare class ContainerLoadingScenariosComponent implements OnInit {
|
|
18
|
+
private readonly fb;
|
|
19
|
+
private readonly service;
|
|
20
|
+
private readonly containerDefinitionService;
|
|
21
|
+
private readonly palletDefinitionService;
|
|
22
|
+
private readonly containerMixTypeService;
|
|
23
|
+
private readonly toaster;
|
|
24
|
+
loading: boolean;
|
|
25
|
+
saving: boolean;
|
|
26
|
+
containers: ContainerDefinitionDto[];
|
|
27
|
+
pallets: PalletDefinitionDto[];
|
|
28
|
+
mixedTypes: ContainerMixTypeDto[];
|
|
29
|
+
rows: ScenarioRow[];
|
|
30
|
+
constructor(fb: FormBuilder, service: ContainerLoadingScenarioService, containerDefinitionService: ContainerDefinitionService, palletDefinitionService: PalletDefinitionService, containerMixTypeService: ContainerMixTypeService, toaster: ToasterService);
|
|
31
|
+
ngOnInit(): void;
|
|
32
|
+
get hasRows(): boolean;
|
|
33
|
+
palletStatusLabel(value: PalletStatus): string;
|
|
34
|
+
load(): void;
|
|
35
|
+
save(): void;
|
|
36
|
+
private key;
|
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ContainerLoadingScenariosComponent, never>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ContainerLoadingScenariosComponent, "lib-container-loading-scenarios", never, {}, {}, never, never, false>;
|
|
39
|
+
}
|
|
40
|
+
export {};
|
package/lib/features/container-loading-scenarios/hit-container-loading-scenarios-routing.module.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@angular/router";
|
|
3
|
+
export declare class HitContainerLoadingScenariosRoutingModule {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HitContainerLoadingScenariosRoutingModule, never>;
|
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<HitContainerLoadingScenariosRoutingModule, never, [typeof i1.RouterModule], [typeof i1.RouterModule]>;
|
|
6
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<HitContainerLoadingScenariosRoutingModule>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./components/container-loading-scenarios.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/forms";
|
|
5
|
+
import * as i4 from "@abp/ng.core";
|
|
6
|
+
import * as i5 from "@abp/ng.theme.shared";
|
|
7
|
+
import * as i6 from "@abp/ng.components/page";
|
|
8
|
+
import * as i7 from "@volo/abp.commercial.ng.ui";
|
|
9
|
+
import * as i8 from "./hit-container-loading-scenarios-routing.module";
|
|
10
|
+
export declare class HitContainerLoadingScenariosModule {
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HitContainerLoadingScenariosModule, never>;
|
|
12
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<HitContainerLoadingScenariosModule, [typeof i1.ContainerLoadingScenariosComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.CoreModule, typeof i5.ThemeSharedModule, typeof i6.PageModule, typeof i7.CommercialUiModule, typeof i8.HitContainerLoadingScenariosRoutingModule], never>;
|
|
13
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<HitContainerLoadingScenariosModule>;
|
|
14
|
+
}
|
|
15
|
+
export declare function loadHitContainerLoadingScenariosModuleAsChild(): Promise<typeof HitContainerLoadingScenariosModule>;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
|
+
import { ContainerMixTypeService } from '@proxy/controllers';
|
|
4
|
+
import { ContainerMixTypeDto } from '@proxy/container-mix-types/dtos';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class ContainerMixTypeFormComponent implements OnInit, OnChanges {
|
|
7
|
+
private readonly fb;
|
|
8
|
+
private readonly service;
|
|
9
|
+
visible: boolean;
|
|
10
|
+
mode: 'create' | 'edit';
|
|
11
|
+
current: ContainerMixTypeDto | null;
|
|
12
|
+
visibleChange: EventEmitter<boolean>;
|
|
13
|
+
saved: EventEmitter<void>;
|
|
14
|
+
form: FormGroup;
|
|
15
|
+
saving: boolean;
|
|
16
|
+
constructor(fb: FormBuilder, service: ContainerMixTypeService);
|
|
17
|
+
ngOnInit(): void;
|
|
18
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
19
|
+
private buildForm;
|
|
20
|
+
get title(): string;
|
|
21
|
+
onVisibleChange(value: boolean): void;
|
|
22
|
+
save(): void;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ContainerMixTypeFormComponent, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ContainerMixTypeFormComponent, "lib-container-mix-type-form", never, { "visible": "visible"; "mode": "mode"; "current": "current"; }, { "visibleChange": "visibleChange"; "saved": "saved"; }, never, never, false>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { ConfirmationService, ToasterService } from '@abp/ng.theme.shared';
|
|
3
|
+
import { ContainerMixTypeService } from '@proxy/controllers';
|
|
4
|
+
import { ContainerMixTypeDto } from '@proxy/container-mix-types/dtos';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class ContainerMixTypesComponent implements OnInit {
|
|
7
|
+
private readonly service;
|
|
8
|
+
private readonly toaster;
|
|
9
|
+
private readonly confirmation;
|
|
10
|
+
items: ContainerMixTypeDto[];
|
|
11
|
+
selected: ContainerMixTypeDto | null;
|
|
12
|
+
formVisible: boolean;
|
|
13
|
+
formMode: 'create' | 'edit';
|
|
14
|
+
constructor(service: ContainerMixTypeService, toaster: ToasterService, confirmation: ConfirmationService);
|
|
15
|
+
ngOnInit(): void;
|
|
16
|
+
loadList(): void;
|
|
17
|
+
openCreate(): void;
|
|
18
|
+
openEdit(row: ContainerMixTypeDto): void;
|
|
19
|
+
onSaved(): void;
|
|
20
|
+
remove(row: ContainerMixTypeDto): void;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ContainerMixTypesComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ContainerMixTypesComponent, "lib-container-mix-types", never, {}, {}, never, never, false>;
|
|
23
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@angular/router";
|
|
3
|
+
export declare class HitContainerMixTypesRoutingModule {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HitContainerMixTypesRoutingModule, never>;
|
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<HitContainerMixTypesRoutingModule, never, [typeof i1.RouterModule], [typeof i1.RouterModule]>;
|
|
6
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<HitContainerMixTypesRoutingModule>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./components/container-mix-types.component";
|
|
3
|
+
import * as i2 from "./components/container-mix-type-form.component";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
import * as i4 from "@angular/forms";
|
|
6
|
+
import * as i5 from "@abp/ng.core";
|
|
7
|
+
import * as i6 from "@abp/ng.theme.shared";
|
|
8
|
+
import * as i7 from "@abp/ng.components/page";
|
|
9
|
+
import * as i8 from "@volo/abp.commercial.ng.ui";
|
|
10
|
+
import * as i9 from "@ng-bootstrap/ng-bootstrap";
|
|
11
|
+
import * as i10 from "./hit-container-mix-types-routing.module";
|
|
12
|
+
import * as i11 from "devextreme-angular";
|
|
13
|
+
export declare class HitContainerMixTypesModule {
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HitContainerMixTypesModule, never>;
|
|
15
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<HitContainerMixTypesModule, [typeof i1.ContainerMixTypesComponent, typeof i2.ContainerMixTypeFormComponent], [typeof i3.CommonModule, typeof i4.FormsModule, typeof i4.ReactiveFormsModule, typeof i5.CoreModule, typeof i6.ThemeSharedModule, typeof i7.PageModule, typeof i8.CommercialUiModule, typeof i9.NgbDropdownModule, typeof i10.HitContainerMixTypesRoutingModule, typeof i11.DxDataGridModule], never>;
|
|
16
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<HitContainerMixTypesModule>;
|
|
17
|
+
}
|
|
18
|
+
export declare function loadHitContainerMixTypesModuleAsChild(): Promise<typeof HitContainerMixTypesModule>;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { ConfirmationService, ToasterService } from '@abp/ng.theme.shared';
|
|
3
|
+
import { ContainerDefinitionService, ContainerPalletCapacityService, PalletDefinitionService } from '@proxy/controllers';
|
|
4
|
+
import { ContainerPalletCapacityDto } from '@proxy/container-pallet-capacities/dtos';
|
|
5
|
+
import { ContainerDefinitionDto } from '@proxy/container-definitions/dtos';
|
|
6
|
+
import { PalletDefinitionDto } from '@proxy/pallet-definitions/dtos';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class ContainerPalletCapacitiesComponent implements OnInit {
|
|
9
|
+
private readonly service;
|
|
10
|
+
private readonly containerDefinitionService;
|
|
11
|
+
private readonly palletDefinitionService;
|
|
12
|
+
private readonly toaster;
|
|
13
|
+
private readonly confirmation;
|
|
14
|
+
items: ContainerPalletCapacityDto[];
|
|
15
|
+
containerOptions: ContainerDefinitionDto[];
|
|
16
|
+
palletOptions: PalletDefinitionDto[];
|
|
17
|
+
selected: ContainerPalletCapacityDto | null;
|
|
18
|
+
formVisible: boolean;
|
|
19
|
+
formMode: 'create' | 'edit';
|
|
20
|
+
constructor(service: ContainerPalletCapacityService, containerDefinitionService: ContainerDefinitionService, palletDefinitionService: PalletDefinitionService, toaster: ToasterService, confirmation: ConfirmationService);
|
|
21
|
+
ngOnInit(): void;
|
|
22
|
+
loadLookups(): void;
|
|
23
|
+
loadList(): void;
|
|
24
|
+
getContainerName(code: string | undefined | null): string;
|
|
25
|
+
getPalletName(code: string | undefined | null): string;
|
|
26
|
+
private resolveName;
|
|
27
|
+
openCreate(): void;
|
|
28
|
+
openEdit(row: ContainerPalletCapacityDto): void;
|
|
29
|
+
onSaved(): void;
|
|
30
|
+
remove(row: ContainerPalletCapacityDto): void;
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ContainerPalletCapacitiesComponent, never>;
|
|
32
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ContainerPalletCapacitiesComponent, "lib-container-pallet-capacities", never, {}, {}, never, never, false>;
|
|
33
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
|
+
import { ContainerPalletCapacityService } from '@proxy/controllers';
|
|
4
|
+
import { ContainerPalletCapacityDto } from '@proxy/container-pallet-capacities/dtos';
|
|
5
|
+
import { ContainerDefinitionDto } from '@proxy/container-definitions/dtos';
|
|
6
|
+
import { PalletDefinitionDto } from '@proxy/pallet-definitions/dtos';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class ContainerPalletCapacityFormComponent implements OnInit, OnChanges {
|
|
9
|
+
private readonly fb;
|
|
10
|
+
private readonly service;
|
|
11
|
+
visible: boolean;
|
|
12
|
+
mode: 'create' | 'edit';
|
|
13
|
+
current: ContainerPalletCapacityDto | null;
|
|
14
|
+
containerOptions: ContainerDefinitionDto[];
|
|
15
|
+
palletOptions: PalletDefinitionDto[];
|
|
16
|
+
visibleChange: EventEmitter<boolean>;
|
|
17
|
+
saved: EventEmitter<void>;
|
|
18
|
+
form: FormGroup;
|
|
19
|
+
saving: boolean;
|
|
20
|
+
constructor(fb: FormBuilder, service: ContainerPalletCapacityService);
|
|
21
|
+
ngOnInit(): void;
|
|
22
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
23
|
+
private buildForm;
|
|
24
|
+
get title(): string;
|
|
25
|
+
onVisibleChange(value: boolean): void;
|
|
26
|
+
save(): void;
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ContainerPalletCapacityFormComponent, never>;
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ContainerPalletCapacityFormComponent, "lib-container-pallet-capacity-form", never, { "visible": "visible"; "mode": "mode"; "current": "current"; "containerOptions": "containerOptions"; "palletOptions": "palletOptions"; }, { "visibleChange": "visibleChange"; "saved": "saved"; }, never, never, false>;
|
|
29
|
+
}
|
package/lib/features/container-pallet-capacities/hit-container-pallet-capacities-routing.module.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@angular/router";
|
|
3
|
+
export declare class HitContainerPalletCapacitiesRoutingModule {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HitContainerPalletCapacitiesRoutingModule, never>;
|
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<HitContainerPalletCapacitiesRoutingModule, never, [typeof i1.RouterModule], [typeof i1.RouterModule]>;
|
|
6
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<HitContainerPalletCapacitiesRoutingModule>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./components/container-pallet-capacities.component";
|
|
3
|
+
import * as i2 from "./components/container-pallet-capacity-form.component";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
import * as i4 from "@angular/forms";
|
|
6
|
+
import * as i5 from "@abp/ng.core";
|
|
7
|
+
import * as i6 from "@abp/ng.theme.shared";
|
|
8
|
+
import * as i7 from "@abp/ng.components/page";
|
|
9
|
+
import * as i8 from "@volo/abp.commercial.ng.ui";
|
|
10
|
+
import * as i9 from "@ng-bootstrap/ng-bootstrap";
|
|
11
|
+
import * as i10 from "./hit-container-pallet-capacities-routing.module";
|
|
12
|
+
import * as i11 from "devextreme-angular";
|
|
13
|
+
export declare class HitContainerPalletCapacitiesModule {
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HitContainerPalletCapacitiesModule, never>;
|
|
15
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<HitContainerPalletCapacitiesModule, [typeof i1.ContainerPalletCapacitiesComponent, typeof i2.ContainerPalletCapacityFormComponent], [typeof i3.CommonModule, typeof i4.FormsModule, typeof i4.ReactiveFormsModule, typeof i5.CoreModule, typeof i6.ThemeSharedModule, typeof i7.PageModule, typeof i8.CommercialUiModule, typeof i9.NgbDropdownModule, typeof i10.HitContainerPalletCapacitiesRoutingModule, typeof i11.DxDataGridModule], never>;
|
|
16
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<HitContainerPalletCapacitiesModule>;
|
|
17
|
+
}
|
|
18
|
+
export declare function loadHitContainerPalletCapacitiesModuleAsChild(): Promise<typeof HitContainerPalletCapacitiesModule>;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import DataSource from 'devextreme/data/data_source';
|
|
3
|
+
import { CostParameterDto } from '@proxy/cost-parameters/dtos';
|
|
4
|
+
import { ItemDto } from '@proxy/items/dtos';
|
|
5
|
+
import { CostItemCalculationType } from '@proxy/cost-items/cost-item-calculation-type.enum';
|
|
6
|
+
import { Currency } from '@proxy/currencies/currency.enum';
|
|
7
|
+
import { CostCalculationStage } from '../cost-calculation.models';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class CostCalculationInputsComponent {
|
|
10
|
+
readonly RateType = CostItemCalculationType.Rate;
|
|
11
|
+
readonly currencyOptions: import("../../../utils/currency.utils").CurrencyOption[];
|
|
12
|
+
itemsDataSource: DataSource | null;
|
|
13
|
+
itemDisplayExpr: (item: ItemDto) => string;
|
|
14
|
+
parameters: CostParameterDto[];
|
|
15
|
+
parameterDisplayExpr: (p: CostParameterDto) => string;
|
|
16
|
+
stages: CostCalculationStage[];
|
|
17
|
+
selectedItemCode: string | null;
|
|
18
|
+
selectedItemCodeChange: EventEmitter<string>;
|
|
19
|
+
selectedParameterCode: string | null;
|
|
20
|
+
selectedParameterCodeChange: EventEmitter<string>;
|
|
21
|
+
rawOilPrice: number;
|
|
22
|
+
rawOilPriceChange: EventEmitter<number>;
|
|
23
|
+
rawOilCurrency: Currency;
|
|
24
|
+
rawOilCurrencyChange: EventEmitter<Currency>;
|
|
25
|
+
systemRateUsd: number;
|
|
26
|
+
systemRateEur: number;
|
|
27
|
+
rateUsd: number;
|
|
28
|
+
rateUsdChange: EventEmitter<number>;
|
|
29
|
+
rateEur: number;
|
|
30
|
+
rateEurChange: EventEmitter<number>;
|
|
31
|
+
itemChange: EventEmitter<void>;
|
|
32
|
+
parameterChange: EventEmitter<void>;
|
|
33
|
+
recalc: EventEmitter<void>;
|
|
34
|
+
onItemSelected(): void;
|
|
35
|
+
onParameterSelected(): void;
|
|
36
|
+
onRawOilPriceChange(): void;
|
|
37
|
+
onRawOilCurrencyChange(): void;
|
|
38
|
+
onRateUsdChange(): void;
|
|
39
|
+
onRateEurChange(): void;
|
|
40
|
+
private emitAndRecalc;
|
|
41
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CostCalculationInputsComponent, never>;
|
|
42
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CostCalculationInputsComponent, "lib-cost-calculation-inputs", never, { "itemsDataSource": "itemsDataSource"; "itemDisplayExpr": "itemDisplayExpr"; "parameters": "parameters"; "parameterDisplayExpr": "parameterDisplayExpr"; "stages": "stages"; "selectedItemCode": "selectedItemCode"; "selectedParameterCode": "selectedParameterCode"; "rawOilPrice": "rawOilPrice"; "rawOilCurrency": "rawOilCurrency"; "systemRateUsd": "systemRateUsd"; "systemRateEur": "systemRateEur"; "rateUsd": "rateUsd"; "rateEur": "rateEur"; }, { "selectedItemCodeChange": "selectedItemCodeChange"; "selectedParameterCodeChange": "selectedParameterCodeChange"; "rawOilPriceChange": "rawOilPriceChange"; "rawOilCurrencyChange": "rawOilCurrencyChange"; "rateUsdChange": "rateUsdChange"; "rateEurChange": "rateEurChange"; "itemChange": "itemChange"; "parameterChange": "parameterChange"; "recalc": "recalc"; }, never, never, false>;
|
|
43
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { RoleGroup } from '../engine';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class CostCalculationResultSumComponent {
|
|
4
|
+
roleGroups: RoleGroup[];
|
|
5
|
+
get summaryCards(): ({
|
|
6
|
+
label: string;
|
|
7
|
+
amount: import("../engine").CostAmount;
|
|
8
|
+
highlight?: undefined;
|
|
9
|
+
} | {
|
|
10
|
+
label: string;
|
|
11
|
+
amount: import("../engine").CostAmount;
|
|
12
|
+
highlight: boolean;
|
|
13
|
+
})[];
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CostCalculationResultSumComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CostCalculationResultSumComponent, "lib-cost-calculation-result-sum", never, { "roleGroups": "roleGroups"; }, {}, never, never, false>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { CostResult, RoleGroup } from '../engine';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class CostCalculationResultsComponent {
|
|
4
|
+
result: CostResult | null;
|
|
5
|
+
roleGroups: RoleGroup[];
|
|
6
|
+
itemName: string | null;
|
|
7
|
+
rateUsd: number;
|
|
8
|
+
rateEur: number;
|
|
9
|
+
readonly costGroupRoleTotalLabels: Record<import("../../../proxy/cost-groups").CostGroupRole, string>;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CostCalculationResultsComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CostCalculationResultsComponent, "lib-cost-calculation-results", never, { "result": "result"; "roleGroups": "roleGroups"; "itemName": "itemName"; "rateUsd": "rateUsd"; "rateEur": "rateEur"; }, {}, never, never, false>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import DataSource from 'devextreme/data/data_source';
|
|
3
|
+
import { CostGroupService, CostItemService, CostParameterService, ExchangeRateService, ItemService } from '@proxy/controllers';
|
|
4
|
+
import { ItemDto } from '@proxy/items/dtos';
|
|
5
|
+
import { CostParameterDto } from '@proxy/cost-parameters/dtos';
|
|
6
|
+
import { Currency } from '@proxy/currencies/currency.enum';
|
|
7
|
+
import { CostResult, RoleGroup } from '../engine';
|
|
8
|
+
import { CostCalculationStage } from '../cost-calculation.models';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare class CostCalculationComponent implements OnInit {
|
|
11
|
+
private readonly parameterService;
|
|
12
|
+
private readonly costItemService;
|
|
13
|
+
private readonly costGroupService;
|
|
14
|
+
private readonly exchangeRateService;
|
|
15
|
+
private readonly itemService;
|
|
16
|
+
readonly itemCodePrefix = "05";
|
|
17
|
+
productItems: ItemDto[];
|
|
18
|
+
itemsDataSource: DataSource | null;
|
|
19
|
+
selectedItemCode: string | null;
|
|
20
|
+
selectedItemName: string | null;
|
|
21
|
+
parameters: CostParameterDto[];
|
|
22
|
+
selectedParameterCode: string | null;
|
|
23
|
+
rawOilPrice: number;
|
|
24
|
+
rawOilCurrency: Currency;
|
|
25
|
+
systemRateUsd: number;
|
|
26
|
+
systemRateEur: number;
|
|
27
|
+
rateUsd: number;
|
|
28
|
+
rateEur: number;
|
|
29
|
+
stages: CostCalculationStage[];
|
|
30
|
+
result: CostResult | null;
|
|
31
|
+
roleGroups: RoleGroup[];
|
|
32
|
+
private costItemsByCode;
|
|
33
|
+
private groups;
|
|
34
|
+
private productGroupNames;
|
|
35
|
+
private regionNames;
|
|
36
|
+
constructor(parameterService: CostParameterService, costItemService: CostItemService, costGroupService: CostGroupService, exchangeRateService: ExchangeRateService, itemService: ItemService);
|
|
37
|
+
ngOnInit(): void;
|
|
38
|
+
parameterLabel(p: CostParameterDto): string;
|
|
39
|
+
onItemChange(): void;
|
|
40
|
+
readonly itemDisplayExpr: (item: ItemDto) => string;
|
|
41
|
+
readonly parameterDisplayExpr: (p: CostParameterDto) => string;
|
|
42
|
+
private toNameMap;
|
|
43
|
+
onParameterChange(): void;
|
|
44
|
+
private buildValuesByCode;
|
|
45
|
+
private buildStages;
|
|
46
|
+
calculate(): void;
|
|
47
|
+
print(): void;
|
|
48
|
+
private resolveRates;
|
|
49
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CostCalculationComponent, never>;
|
|
50
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CostCalculationComponent, "lib-cost-calculation", never, {}, {}, never, never, false>;
|
|
51
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { CostItemCalculationType } from '@proxy/cost-items/cost-item-calculation-type.enum';
|
|
2
|
+
import { Currency } from '@proxy/currencies/currency.enum';
|
|
3
|
+
import { CostGroupRole } from '@proxy/cost-groups/cost-group-role.enum';
|
|
4
|
+
export interface CostCalculationItem {
|
|
5
|
+
costItemCode: string;
|
|
6
|
+
costItemName: string;
|
|
7
|
+
calculationType: CostItemCalculationType;
|
|
8
|
+
systemCode?: number;
|
|
9
|
+
currency?: Currency;
|
|
10
|
+
value: number;
|
|
11
|
+
}
|
|
12
|
+
export interface CostCalculationStage {
|
|
13
|
+
groupCode: string;
|
|
14
|
+
groupName: string;
|
|
15
|
+
displayOrder: number;
|
|
16
|
+
groupRole: CostGroupRole;
|
|
17
|
+
items: CostCalculationItem[];
|
|
18
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { Currency } from '@proxy/currencies/currency.enum';
|
|
2
|
+
import { CostAmount } from './models';
|
|
3
|
+
export declare function toAmount(baseUsd: number, rateUsd: number, rateEur: number): CostAmount;
|
|
4
|
+
export declare function toBaseUsd(value: number, currency: Currency | undefined, rateUsd: number, rateEur: number): number;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { CostResult, EngineRequest, ResolvedItems } from './models';
|
|
2
|
+
export declare function calculateLoss(rawOilUsd: number, resolvedItems: ResolvedItems): number;
|
|
3
|
+
export declare function calculateProductionCost(rawOilUsd: number, resolvedItems: ResolvedItems, loss: number): number;
|
|
4
|
+
export declare function calculateTotalCost(productionCost: number, resolvedItems: ResolvedItems): number;
|
|
5
|
+
export declare function calculateProfit(totalCost: number, profitRate: number): number;
|
|
6
|
+
export declare function calculateTotalSalePrice(totalCost: number, profit: number): number;
|
|
7
|
+
export declare function calculateCost(request: EngineRequest): CostResult;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { CostCalculationItem, CostCalculationStage } from '../cost-calculation.models';
|
|
2
|
+
import { ResolvedItems } from './models';
|
|
3
|
+
export declare function indexItemsBySystemCode(stages: CostCalculationStage[]): Map<number, CostCalculationItem>;
|
|
4
|
+
export declare function resolveItems(itemsByCode: Map<number, CostCalculationItem>, rateUsd: number, rateEur: number): ResolvedItems;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { CostItemCalculationType } from '@proxy/cost-items/cost-item-calculation-type.enum';
|
|
2
|
+
import { Currency } from '@proxy/currencies/currency.enum';
|
|
3
|
+
import { CostGroupRole } from '@proxy/cost-groups/cost-group-role.enum';
|
|
4
|
+
import { CostCalculationStage } from '../cost-calculation.models';
|
|
5
|
+
export interface CostAmount {
|
|
6
|
+
try: number;
|
|
7
|
+
usd: number;
|
|
8
|
+
eur: number;
|
|
9
|
+
}
|
|
10
|
+
export interface EngineRequest {
|
|
11
|
+
rawOilPrice: number;
|
|
12
|
+
rawOilCurrency: Currency;
|
|
13
|
+
rateUsd: number;
|
|
14
|
+
rateEur: number;
|
|
15
|
+
stages: CostCalculationStage[];
|
|
16
|
+
}
|
|
17
|
+
export interface CostLine {
|
|
18
|
+
costItemCode: string;
|
|
19
|
+
costItemName: string;
|
|
20
|
+
calculationType: CostItemCalculationType;
|
|
21
|
+
systemCode?: number;
|
|
22
|
+
currency?: Currency;
|
|
23
|
+
ratePercent?: number;
|
|
24
|
+
amount: CostAmount;
|
|
25
|
+
}
|
|
26
|
+
export interface CostStage {
|
|
27
|
+
groupCode?: string;
|
|
28
|
+
groupName?: string;
|
|
29
|
+
displayOrder: number;
|
|
30
|
+
groupRole: CostGroupRole;
|
|
31
|
+
lines: CostLine[];
|
|
32
|
+
subtotal: CostAmount;
|
|
33
|
+
}
|
|
34
|
+
export interface CostResult {
|
|
35
|
+
rawOil: CostAmount;
|
|
36
|
+
stages: CostStage[];
|
|
37
|
+
productionCost: CostAmount;
|
|
38
|
+
totalCost: CostAmount;
|
|
39
|
+
profit: CostAmount;
|
|
40
|
+
totalSalePrice: CostAmount;
|
|
41
|
+
}
|
|
42
|
+
export interface RoleGroup {
|
|
43
|
+
role: CostGroupRole;
|
|
44
|
+
stages: CostStage[];
|
|
45
|
+
roleTotal: CostAmount;
|
|
46
|
+
}
|
|
47
|
+
export declare function addAmounts(...amounts: CostAmount[]): CostAmount;
|
|
48
|
+
export declare function buildRoleGroups(rawOil: CostAmount, stages: CostStage[]): RoleGroup[];
|
|
49
|
+
export interface ResolvedItems {
|
|
50
|
+
port: number;
|
|
51
|
+
inspectionCustoms: number;
|
|
52
|
+
freight: number;
|
|
53
|
+
lossRate: number;
|
|
54
|
+
refineryOverhead: number;
|
|
55
|
+
refineryAuxMaterials: number;
|
|
56
|
+
fillingPackagingOverhead: number;
|
|
57
|
+
packaging: number;
|
|
58
|
+
salesMarketing: number;
|
|
59
|
+
generalAdmin: number;
|
|
60
|
+
finance: number;
|
|
61
|
+
contingency: number;
|
|
62
|
+
variableDepreciation: number;
|
|
63
|
+
profitRate: number;
|
|
64
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { CostCalculationItem, CostCalculationStage } from '../cost-calculation.models';
|
|
2
|
+
import { CostStage, ResolvedItems } from './models';
|
|
3
|
+
export declare function buildComputedBaseByCode(resolvedItems: ResolvedItems, loss: number, profit: number): Map<number, number>;
|
|
4
|
+
export declare function buildCostStages(stages: CostCalculationStage[], computedBaseByCode: Map<number, number>, itemsByCode: Map<number, CostCalculationItem>, rateUsd: number, rateEur: number): CostStage[];
|