@hitsoft/kadooglu-keops 0.0.2 → 0.0.4
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/config/enums/route-names.d.ts +16 -1
- package/esm2020/config/enums/route-names.mjs +1 -1
- package/esm2020/config/providers/route.provider.mjs +141 -4
- package/esm2020/lib/features/bl-tracking/components/bl-tracking-form.component.mjs +82 -0
- package/esm2020/lib/features/bl-tracking/components/bl-tracking.component.mjs +65 -0
- package/esm2020/lib/features/bl-tracking/hit-bl-tracking-routing.module.mjs +29 -0
- package/esm2020/lib/features/bl-tracking/hit-bl-tracking.module.mjs +58 -0
- package/esm2020/lib/features/carriers/components/carrier-form.component.mjs +78 -0
- package/esm2020/lib/features/carriers/components/carriers.component.mjs +66 -0
- package/esm2020/lib/features/carriers/hit-carriers-routing.module.mjs +29 -0
- package/esm2020/lib/features/carriers/hit-carriers.module.mjs +58 -0
- package/esm2020/lib/features/container-loading-counts/components/container-loading-counts.component.mjs +2 -2
- package/esm2020/lib/features/container-pallet-capacities/components/container-pallet-capacities.component.mjs +6 -5
- package/esm2020/lib/features/cost-calculation/components/cost-calculation-inputs.component.mjs +16 -12
- package/esm2020/lib/features/cost-calculation/components/cost-calculation-results.component.mjs +3 -3
- package/esm2020/lib/features/cost-calculation/components/cost-calculation.component.mjs +90 -39
- package/esm2020/lib/features/cost-calculation/engine/currency.utils.mjs +10 -10
- package/esm2020/lib/features/cost-calculation/engine/formulas.mjs +10 -10
- package/esm2020/lib/features/cost-calculation/engine/item-resolver.mjs +16 -16
- package/esm2020/lib/features/cost-calculation/engine/stage-builder.mjs +11 -10
- package/esm2020/lib/features/cost-calculation/hit-cost-calculation.module.mjs +7 -3
- package/esm2020/lib/features/cost-parameter-categories/components/cost-parameter-categories.component.mjs +3 -7
- package/esm2020/lib/features/cost-parameter-categories/components/cost-parameter-category-form.component.mjs +4 -14
- package/esm2020/lib/features/cost-parameters/components/cost-parameter-form.component.mjs +22 -39
- package/esm2020/lib/features/cost-parameters/components/cost-parameters.component.mjs +19 -15
- package/esm2020/lib/features/destination-ports/components/destination-port-form.component.mjs +86 -0
- package/esm2020/lib/features/destination-ports/components/destination-ports.component.mjs +74 -0
- package/esm2020/lib/features/destination-ports/hit-destination-ports-routing.module.mjs +29 -0
- package/esm2020/lib/features/destination-ports/hit-destination-ports.module.mjs +58 -0
- package/esm2020/lib/features/fob-inland-definitions/components/fob-inland-definition-form.component.mjs +80 -0
- package/esm2020/lib/features/fob-inland-definitions/components/fob-inland-definitions.component.mjs +65 -0
- package/esm2020/lib/features/fob-inland-definitions/hit-fob-inland-definitions-routing.module.mjs +29 -0
- package/esm2020/lib/features/fob-inland-definitions/hit-fob-inland-definitions.module.mjs +58 -0
- package/esm2020/lib/features/freight-offers/components/freight-offer-copy.component.mjs +67 -0
- package/esm2020/lib/features/freight-offers/components/freight-offer-form.component.mjs +181 -0
- package/esm2020/lib/features/freight-offers/components/freight-offers.component.mjs +159 -0
- package/esm2020/lib/features/freight-offers/hit-freight-offers-routing.module.mjs +29 -0
- package/esm2020/lib/features/freight-offers/hit-freight-offers.module.mjs +62 -0
- package/esm2020/lib/features/incoterms/components/incoterm-form.component.mjs +81 -0
- package/esm2020/lib/features/incoterms/components/incoterms.component.mjs +65 -0
- package/esm2020/lib/features/incoterms/hit-incoterms-routing.module.mjs +29 -0
- package/esm2020/lib/features/incoterms/hit-incoterms.module.mjs +58 -0
- package/esm2020/lib/features/index.mjs +29 -1
- package/esm2020/lib/features/item-classifications/components/item-classifications.component.mjs +199 -0
- package/esm2020/lib/features/item-classifications/hit-item-classifications-routing.module.mjs +29 -0
- package/esm2020/lib/features/item-classifications/hit-item-classifications.module.mjs +60 -0
- package/esm2020/lib/features/item-package-groups/components/item-package-group-form.component.mjs +78 -0
- package/esm2020/lib/features/item-package-groups/components/item-package-groups.component.mjs +69 -0
- package/esm2020/lib/features/item-package-groups/hit-item-package-groups-routing.module.mjs +29 -0
- package/esm2020/lib/features/item-package-groups/hit-item-package-groups.module.mjs +58 -0
- package/esm2020/lib/features/item-package-types/components/item-package-type-form.component.mjs +78 -0
- package/esm2020/lib/features/item-package-types/components/item-package-types.component.mjs +69 -0
- package/esm2020/lib/features/item-package-types/hit-item-package-types-routing.module.mjs +29 -0
- package/esm2020/lib/features/item-package-types/hit-item-package-types.module.mjs +58 -0
- package/esm2020/lib/features/item-product-types/components/item-product-type-form.component.mjs +78 -0
- package/esm2020/lib/features/item-product-types/components/item-product-types.component.mjs +69 -0
- package/esm2020/lib/features/item-product-types/hit-item-product-types-routing.module.mjs +29 -0
- package/esm2020/lib/features/item-product-types/hit-item-product-types.module.mjs +58 -0
- package/esm2020/lib/features/lines/components/line-form.component.mjs +78 -0
- package/esm2020/lib/features/lines/components/lines.component.mjs +66 -0
- package/esm2020/lib/features/lines/hit-lines-routing.module.mjs +29 -0
- package/esm2020/lib/features/lines/hit-lines.module.mjs +58 -0
- package/esm2020/lib/features/packaging-prices/components/packaging-price-form.component.mjs +4 -9
- package/esm2020/lib/features/packaging-prices/packaging-price-calculator.mjs +1 -1
- package/esm2020/lib/features/pos/components/pos-form.component.mjs +77 -0
- package/esm2020/lib/features/pos/components/pos.component.mjs +65 -0
- package/esm2020/lib/features/pos/hit-pos-routing.module.mjs +29 -0
- package/esm2020/lib/features/pos/hit-pos.module.mjs +58 -0
- package/esm2020/lib/features/price-parameter-types/components/price-parameter-types.component.mjs +3 -3
- package/esm2020/lib/features/price-parameters/components/price-parameter-form-cost-items.component.mjs +32 -0
- package/esm2020/lib/features/price-parameters/components/price-parameter-form-discount-rates-modal.component.mjs +52 -0
- package/esm2020/lib/features/price-parameters/components/price-parameter-form-discount-rates.component.mjs +84 -0
- package/esm2020/lib/features/price-parameters/components/price-parameter-form-items.component.mjs +43 -0
- package/esm2020/lib/features/price-parameters/components/price-parameter-form-price-lists.component.mjs +42 -0
- package/esm2020/lib/features/price-parameters/components/price-parameter-form.component.mjs +320 -0
- package/esm2020/lib/features/price-parameters/components/price-parameter-price-update-preview-modal.component.mjs +26 -0
- package/esm2020/lib/features/price-parameters/components/price-parameters.component.mjs +85 -0
- package/esm2020/lib/features/price-parameters/hit-price-parameters-routing.module.mjs +46 -0
- package/esm2020/lib/features/price-parameters/hit-price-parameters.module.mjs +96 -0
- package/esm2020/lib/features/price-parameters/price-parameter-cost-match.service.mjs +21 -0
- package/esm2020/lib/features/price-parameters/price-parameter-form-data.service.mjs +49 -0
- package/esm2020/lib/features/price-parameters/price-parameter-l10n-helper.mjs +7 -0
- package/esm2020/lib/features/price-parameters/price-parameter-lookups.service.mjs +27 -0
- package/esm2020/lib/features/price-parameters/price-parameter-price-update.service.mjs +119 -0
- package/esm2020/lib/features/settings/components/cost-settings.component.mjs +8 -4
- package/esm2020/lib/kadooglu-keops-routing.module.mjs +27 -1
- package/esm2020/lib/shared/amount-currency-input/amount-currency-input.component.mjs +68 -0
- package/esm2020/lib/shared/cost-item-classification.utils.mjs +15 -0
- package/esm2020/lib/shared/cost-item-rows.builder.mjs +40 -0
- package/esm2020/lib/shared/pipes/resolve-code-name.pipe.mjs +16 -0
- package/esm2020/lib/shared/shared-ui.module.mjs +20 -0
- package/esm2020/lib/utils/business-region.utils.mjs +12 -0
- package/esm2020/lib/utils/currency.utils.mjs +5 -1
- package/esm2020/lib/utils/exchange-rate.utils.mjs +12 -0
- package/esm2020/proxy/bl-tracking/dtos/index.mjs +2 -0
- package/esm2020/proxy/bl-tracking/dtos/models.mjs +2 -0
- package/esm2020/proxy/business-partners/dtos/index.mjs +2 -0
- package/esm2020/proxy/business-partners/dtos/models.mjs +2 -0
- package/esm2020/proxy/business-region.enum.mjs +9 -0
- package/esm2020/proxy/carriers/dtos/index.mjs +2 -0
- package/esm2020/proxy/carriers/dtos/models.mjs +2 -0
- package/esm2020/proxy/container-loading-counts/dtos/models.mjs +1 -1
- package/esm2020/proxy/controllers/bl-tracking.service.mjs +36 -0
- package/esm2020/proxy/controllers/business-partner.service.mjs +22 -0
- package/esm2020/proxy/controllers/carrier.service.mjs +36 -0
- package/esm2020/proxy/controllers/container-loading-count.service.mjs +5 -5
- package/esm2020/proxy/controllers/cost-parameter.service.mjs +1 -5
- package/esm2020/proxy/controllers/destination-port.service.mjs +44 -0
- package/esm2020/proxy/controllers/fob-inland-definition.service.mjs +36 -0
- package/esm2020/proxy/controllers/freight-offer.service.mjs +57 -0
- package/esm2020/proxy/controllers/incoterm.service.mjs +36 -0
- package/esm2020/proxy/controllers/index.mjs +16 -1
- package/esm2020/proxy/controllers/item-classification.service.mjs +42 -0
- package/esm2020/proxy/controllers/item-package-group.service.mjs +40 -0
- package/esm2020/proxy/controllers/item-package-type.service.mjs +40 -0
- package/esm2020/proxy/controllers/item-product-type.service.mjs +40 -0
- package/esm2020/proxy/controllers/item.service.mjs +7 -3
- package/esm2020/proxy/controllers/line.service.mjs +36 -0
- package/esm2020/proxy/controllers/pos.service.mjs +36 -0
- package/esm2020/proxy/controllers/price-list.service.mjs +28 -0
- package/esm2020/proxy/controllers/price-parameter.service.mjs +45 -0
- package/esm2020/proxy/cost-parameter-categories/dtos/models.mjs +1 -1
- package/esm2020/proxy/cost-parameters/dtos/models.mjs +1 -1
- package/esm2020/proxy/destination-ports/dtos/index.mjs +2 -0
- package/esm2020/proxy/destination-ports/dtos/models.mjs +2 -0
- package/esm2020/proxy/fob-inland-definitions/dtos/index.mjs +2 -0
- package/esm2020/proxy/fob-inland-definitions/dtos/models.mjs +2 -0
- package/esm2020/proxy/freight-offers/dtos/index.mjs +2 -0
- package/esm2020/proxy/freight-offers/dtos/models.mjs +2 -0
- package/esm2020/proxy/incoterms/dtos/index.mjs +2 -0
- package/esm2020/proxy/incoterms/dtos/models.mjs +2 -0
- package/esm2020/proxy/item-classifications/dtos/index.mjs +2 -0
- package/esm2020/proxy/item-classifications/dtos/models.mjs +2 -0
- package/esm2020/proxy/item-package-groups/dtos/index.mjs +2 -0
- package/esm2020/proxy/item-package-groups/dtos/models.mjs +2 -0
- package/esm2020/proxy/item-package-types/dtos/index.mjs +2 -0
- package/esm2020/proxy/item-package-types/dtos/models.mjs +2 -0
- package/esm2020/proxy/item-product-types/dtos/index.mjs +2 -0
- package/esm2020/proxy/item-product-types/dtos/models.mjs +2 -0
- package/esm2020/proxy/lines/dtos/index.mjs +2 -0
- package/esm2020/proxy/lines/dtos/models.mjs +2 -0
- package/esm2020/proxy/pos/dtos/index.mjs +2 -0
- package/esm2020/proxy/pos/dtos/models.mjs +2 -0
- package/esm2020/proxy/price-lists/dtos/index.mjs +2 -0
- package/esm2020/proxy/price-lists/dtos/models.mjs +2 -0
- package/esm2020/proxy/price-parameters/dtos/index.mjs +2 -0
- package/esm2020/proxy/price-parameters/dtos/models.mjs +2 -0
- package/esm2020/proxy/price-parameters/price-parameter-status.enum.mjs +9 -0
- package/esm2020/proxy/public-api.mjs +18 -2
- package/esm2020/proxy/settings/models.mjs +1 -1
- package/fesm2015/hitsoft-kadooglu-keops-config.mjs +140 -3
- package/fesm2015/hitsoft-kadooglu-keops-config.mjs.map +1 -1
- package/fesm2015/hitsoft-kadooglu-keops-proxy.mjs +556 -21
- package/fesm2015/hitsoft-kadooglu-keops-proxy.mjs.map +1 -1
- package/fesm2015/hitsoft-kadooglu-keops.mjs +4510 -763
- package/fesm2015/hitsoft-kadooglu-keops.mjs.map +1 -1
- package/fesm2020/hitsoft-kadooglu-keops-config.mjs +140 -3
- package/fesm2020/hitsoft-kadooglu-keops-config.mjs.map +1 -1
- package/fesm2020/hitsoft-kadooglu-keops-proxy.mjs +556 -21
- package/fesm2020/hitsoft-kadooglu-keops-proxy.mjs.map +1 -1
- package/fesm2020/hitsoft-kadooglu-keops.mjs +4462 -732
- package/fesm2020/hitsoft-kadooglu-keops.mjs.map +1 -1
- package/lib/features/bl-tracking/components/bl-tracking-form.component.d.ts +24 -0
- package/lib/features/bl-tracking/components/bl-tracking.component.d.ts +22 -0
- package/lib/features/bl-tracking/hit-bl-tracking-routing.module.d.ts +7 -0
- package/lib/features/bl-tracking/hit-bl-tracking.module.d.ts +18 -0
- package/lib/features/carriers/components/carrier-form.component.d.ts +24 -0
- package/lib/features/carriers/components/carriers.component.d.ts +22 -0
- package/lib/features/carriers/hit-carriers-routing.module.d.ts +7 -0
- package/lib/features/carriers/hit-carriers.module.d.ts +18 -0
- package/lib/features/container-loading-counts/components/container-loading-counts.component.d.ts +2 -2
- package/lib/features/container-pallet-capacities/components/container-pallet-capacities.component.d.ts +1 -1
- package/lib/features/cost-calculation/components/cost-calculation-inputs.component.d.ts +10 -7
- package/lib/features/cost-calculation/components/cost-calculation.component.d.ts +16 -8
- package/lib/features/cost-calculation/engine/currency.utils.d.ts +2 -2
- package/lib/features/cost-calculation/engine/formulas.d.ts +2 -2
- package/lib/features/cost-calculation/hit-cost-calculation.module.d.ts +2 -1
- package/lib/features/cost-parameter-categories/components/cost-parameter-categories.component.d.ts +0 -1
- package/lib/features/cost-parameter-categories/components/cost-parameter-category-form.component.d.ts +1 -5
- package/lib/features/cost-parameters/components/cost-parameter-form.component.d.ts +10 -7
- package/lib/features/cost-parameters/components/cost-parameters.component.d.ts +6 -6
- package/lib/features/destination-ports/components/destination-port-form.component.d.ts +25 -0
- package/lib/features/destination-ports/components/destination-ports.component.d.ts +24 -0
- package/lib/features/destination-ports/hit-destination-ports-routing.module.d.ts +7 -0
- package/lib/features/destination-ports/hit-destination-ports.module.d.ts +18 -0
- package/lib/features/fob-inland-definitions/components/fob-inland-definition-form.component.d.ts +24 -0
- package/lib/features/fob-inland-definitions/components/fob-inland-definitions.component.d.ts +22 -0
- package/lib/features/fob-inland-definitions/hit-fob-inland-definitions-routing.module.d.ts +7 -0
- package/lib/features/fob-inland-definitions/hit-fob-inland-definitions.module.d.ts +18 -0
- package/lib/features/freight-offers/components/freight-offer-copy.component.d.ts +22 -0
- package/lib/features/freight-offers/components/freight-offer-form.component.d.ts +49 -0
- package/lib/features/freight-offers/components/freight-offers.component.d.ts +47 -0
- package/lib/features/freight-offers/hit-freight-offers-routing.module.d.ts +7 -0
- package/lib/features/freight-offers/hit-freight-offers.module.d.ts +19 -0
- package/lib/features/incoterms/components/incoterm-form.component.d.ts +24 -0
- package/lib/features/incoterms/components/incoterms.component.d.ts +22 -0
- package/lib/features/incoterms/hit-incoterms-routing.module.d.ts +7 -0
- package/lib/features/incoterms/hit-incoterms.module.d.ts +18 -0
- package/lib/features/index.d.ts +21 -0
- package/lib/features/item-classifications/components/item-classifications.component.d.ts +66 -0
- package/lib/features/item-classifications/hit-item-classifications-routing.module.d.ts +7 -0
- package/lib/features/item-classifications/hit-item-classifications.module.d.ts +17 -0
- package/lib/features/item-package-groups/components/item-package-group-form.component.d.ts +24 -0
- package/lib/features/item-package-groups/components/item-package-groups.component.d.ts +22 -0
- package/lib/features/item-package-groups/hit-item-package-groups-routing.module.d.ts +7 -0
- package/lib/features/item-package-groups/hit-item-package-groups.module.d.ts +18 -0
- package/lib/features/item-package-types/components/item-package-type-form.component.d.ts +24 -0
- package/lib/features/item-package-types/components/item-package-types.component.d.ts +22 -0
- package/lib/features/item-package-types/hit-item-package-types-routing.module.d.ts +7 -0
- package/lib/features/item-package-types/hit-item-package-types.module.d.ts +18 -0
- package/lib/features/item-product-types/components/item-product-type-form.component.d.ts +24 -0
- package/lib/features/item-product-types/components/item-product-types.component.d.ts +22 -0
- package/lib/features/item-product-types/hit-item-product-types-routing.module.d.ts +7 -0
- package/lib/features/item-product-types/hit-item-product-types.module.d.ts +18 -0
- package/lib/features/lines/components/line-form.component.d.ts +24 -0
- package/lib/features/lines/components/lines.component.d.ts +22 -0
- package/lib/features/lines/hit-lines-routing.module.d.ts +7 -0
- package/lib/features/lines/hit-lines.module.d.ts +18 -0
- package/lib/features/pos/components/pos-form.component.d.ts +24 -0
- package/lib/features/pos/components/pos.component.d.ts +22 -0
- package/lib/features/pos/hit-pos-routing.module.d.ts +7 -0
- package/lib/features/pos/hit-pos.module.d.ts +18 -0
- package/lib/features/price-parameters/components/price-parameter-form-cost-items.component.d.ts +15 -0
- package/lib/features/price-parameters/components/price-parameter-form-discount-rates-modal.component.d.ts +24 -0
- package/lib/features/price-parameters/components/price-parameter-form-discount-rates.component.d.ts +22 -0
- package/lib/features/price-parameters/components/price-parameter-form-items.component.d.ts +15 -0
- package/lib/features/price-parameters/components/price-parameter-form-price-lists.component.d.ts +15 -0
- package/lib/features/price-parameters/components/price-parameter-form.component.d.ts +77 -0
- package/lib/features/price-parameters/components/price-parameter-price-update-preview-modal.component.d.ts +11 -0
- package/lib/features/price-parameters/components/price-parameters.component.d.ts +30 -0
- package/lib/features/price-parameters/hit-price-parameters-routing.module.d.ts +7 -0
- package/lib/features/price-parameters/hit-price-parameters.module.d.ts +25 -0
- package/lib/features/price-parameters/price-parameter-cost-match.service.d.ts +10 -0
- package/lib/features/price-parameters/price-parameter-form-data.service.d.ts +25 -0
- package/lib/features/price-parameters/price-parameter-l10n-helper.d.ts +2 -0
- package/lib/features/price-parameters/price-parameter-lookups.service.d.ts +15 -0
- package/lib/features/price-parameters/price-parameter-price-update.service.d.ts +30 -0
- package/lib/shared/amount-currency-input/amount-currency-input.component.d.ts +23 -0
- package/lib/shared/cost-item-classification.utils.d.ts +11 -0
- package/lib/shared/cost-item-rows.builder.d.ts +11 -0
- package/lib/shared/pipes/resolve-code-name.pipe.d.ts +11 -0
- package/lib/shared/shared-ui.module.d.ts +10 -0
- package/lib/utils/business-region.utils.d.ts +7 -0
- package/lib/utils/currency.utils.d.ts +2 -0
- package/lib/utils/exchange-rate.utils.d.ts +2 -0
- package/package.json +1 -1
- package/proxy/bl-tracking/dtos/index.d.ts +1 -0
- package/proxy/bl-tracking/dtos/models.d.ts +25 -0
- package/proxy/business-partners/dtos/index.d.ts +1 -0
- package/proxy/business-partners/dtos/models.d.ts +4 -0
- package/proxy/business-region.enum.d.ts +6 -0
- package/proxy/carriers/dtos/index.d.ts +1 -0
- package/proxy/carriers/dtos/models.d.ts +10 -0
- package/proxy/container-loading-counts/dtos/models.d.ts +1 -1
- package/proxy/controllers/bl-tracking.service.d.ts +14 -0
- package/proxy/controllers/business-partner.service.d.ts +11 -0
- package/proxy/controllers/carrier.service.d.ts +14 -0
- package/proxy/controllers/container-loading-count.service.d.ts +2 -2
- package/proxy/controllers/cost-parameter.service.d.ts +1 -2
- package/proxy/controllers/destination-port.service.d.ts +17 -0
- package/proxy/controllers/fob-inland-definition.service.d.ts +14 -0
- package/proxy/controllers/freight-offer.service.d.ts +19 -0
- package/proxy/controllers/incoterm.service.d.ts +14 -0
- package/proxy/controllers/index.d.ts +15 -0
- package/proxy/controllers/item-classification.service.d.ts +17 -0
- package/proxy/controllers/item-package-group.service.d.ts +15 -0
- package/proxy/controllers/item-package-type.service.d.ts +15 -0
- package/proxy/controllers/item-product-type.service.d.ts +15 -0
- package/proxy/controllers/item.service.d.ts +3 -1
- package/proxy/controllers/line.service.d.ts +14 -0
- package/proxy/controllers/pos.service.d.ts +14 -0
- package/proxy/controllers/price-list.service.d.ts +13 -0
- package/proxy/controllers/price-parameter.service.d.ts +16 -0
- package/proxy/cost-parameter-categories/dtos/models.d.ts +0 -4
- package/proxy/cost-parameters/dtos/models.d.ts +4 -11
- package/proxy/destination-ports/dtos/index.d.ts +1 -0
- package/proxy/destination-ports/dtos/models.d.ts +19 -0
- package/proxy/fob-inland-definitions/dtos/index.d.ts +1 -0
- package/proxy/fob-inland-definitions/dtos/models.d.ts +19 -0
- package/proxy/freight-offers/dtos/index.d.ts +1 -0
- package/proxy/freight-offers/dtos/models.d.ts +66 -0
- package/proxy/incoterms/dtos/index.d.ts +1 -0
- package/proxy/incoterms/dtos/models.d.ts +22 -0
- package/proxy/item-classifications/dtos/index.d.ts +1 -0
- package/proxy/item-classifications/dtos/models.d.ts +34 -0
- package/proxy/item-package-groups/dtos/index.d.ts +1 -0
- package/proxy/item-package-groups/dtos/models.d.ts +13 -0
- package/proxy/item-package-types/dtos/index.d.ts +1 -0
- package/proxy/item-package-types/dtos/models.d.ts +13 -0
- package/proxy/item-product-types/dtos/index.d.ts +1 -0
- package/proxy/item-product-types/dtos/models.d.ts +13 -0
- package/proxy/lines/dtos/index.d.ts +1 -0
- package/proxy/lines/dtos/models.d.ts +10 -0
- package/proxy/pos/dtos/index.d.ts +1 -0
- package/proxy/pos/dtos/models.d.ts +10 -0
- package/proxy/price-lists/dtos/index.d.ts +1 -0
- package/proxy/price-lists/dtos/models.d.ts +10 -0
- package/proxy/price-parameters/dtos/index.d.ts +1 -0
- package/proxy/price-parameters/dtos/models.d.ts +104 -0
- package/proxy/price-parameters/price-parameter-status.enum.d.ts +6 -0
- package/proxy/public-api.d.ts +17 -1
- package/proxy/settings/models.d.ts +1 -0
- package/esm2020/lib/features/cost-parameter-categories/cost-parameter-category-l10n-helper.mjs +0 -9
- package/esm2020/proxy/cost-parameter-categories/cost-parameter-category-parent-code.enum.mjs +0 -11
- package/lib/features/cost-parameter-categories/cost-parameter-category-l10n-helper.d.ts +0 -2
- package/proxy/cost-parameter-categories/cost-parameter-category-parent-code.enum.d.ts +0 -8
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./components/lines.component";
|
|
3
|
+
import * as i2 from "./components/line-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-lines-routing.module";
|
|
12
|
+
import * as i11 from "devextreme-angular";
|
|
13
|
+
export declare class HitLinesModule {
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HitLinesModule, never>;
|
|
15
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<HitLinesModule, [typeof i1.LinesComponent, typeof i2.LineFormComponent], [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.HitLinesRoutingModule, typeof i11.DxDataGridModule], never>;
|
|
16
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<HitLinesModule>;
|
|
17
|
+
}
|
|
18
|
+
export declare function loadHitLinesModuleAsChild(): Promise<typeof HitLinesModule>;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
|
+
import { PosService, PosDto } from '@hitsoft/kadooglu-keops/proxy';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class PosFormComponent implements OnInit, OnChanges {
|
|
6
|
+
private readonly fb;
|
|
7
|
+
private readonly service;
|
|
8
|
+
visible: boolean;
|
|
9
|
+
mode: 'create' | 'edit';
|
|
10
|
+
current: PosDto | null;
|
|
11
|
+
visibleChange: EventEmitter<boolean>;
|
|
12
|
+
saved: EventEmitter<void>;
|
|
13
|
+
form: FormGroup;
|
|
14
|
+
saving: boolean;
|
|
15
|
+
constructor(fb: FormBuilder, service: PosService);
|
|
16
|
+
ngOnInit(): void;
|
|
17
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
18
|
+
private buildForm;
|
|
19
|
+
get title(): string;
|
|
20
|
+
onVisibleChange(value: boolean): void;
|
|
21
|
+
save(): void;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PosFormComponent, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PosFormComponent, "lib-pos-form", never, { "visible": "visible"; "mode": "mode"; "current": "current"; }, { "visibleChange": "visibleChange"; "saved": "saved"; }, never, never, false>;
|
|
24
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { ConfirmationService, ToasterService } from '@abp/ng.theme.shared';
|
|
3
|
+
import { PosService, PosDto } from '@hitsoft/kadooglu-keops/proxy';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class PosComponent implements OnInit {
|
|
6
|
+
private readonly service;
|
|
7
|
+
private readonly toaster;
|
|
8
|
+
private readonly confirmation;
|
|
9
|
+
items: PosDto[];
|
|
10
|
+
selected: PosDto | null;
|
|
11
|
+
formVisible: boolean;
|
|
12
|
+
formMode: 'create' | 'edit';
|
|
13
|
+
constructor(service: PosService, toaster: ToasterService, confirmation: ConfirmationService);
|
|
14
|
+
ngOnInit(): void;
|
|
15
|
+
loadList(): void;
|
|
16
|
+
openCreate(): void;
|
|
17
|
+
openEdit(row: PosDto): void;
|
|
18
|
+
onSaved(): void;
|
|
19
|
+
remove(row: PosDto): void;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PosComponent, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PosComponent, "lib-pos", never, {}, {}, never, never, false>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@angular/router";
|
|
3
|
+
export declare class HitPosRoutingModule {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HitPosRoutingModule, never>;
|
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<HitPosRoutingModule, never, [typeof i1.RouterModule], [typeof i1.RouterModule]>;
|
|
6
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<HitPosRoutingModule>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./components/pos.component";
|
|
3
|
+
import * as i2 from "./components/pos-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-pos-routing.module";
|
|
12
|
+
import * as i11 from "devextreme-angular";
|
|
13
|
+
export declare class HitPosModule {
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HitPosModule, never>;
|
|
15
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<HitPosModule, [typeof i1.PosComponent, typeof i2.PosFormComponent], [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.HitPosRoutingModule, typeof i11.DxDataGridModule], never>;
|
|
16
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<HitPosModule>;
|
|
17
|
+
}
|
|
18
|
+
export declare function loadHitPosModuleAsChild(): Promise<typeof HitPosModule>;
|
package/lib/features/price-parameters/components/price-parameter-form-cost-items.component.d.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { FormArray, FormGroup } from '@angular/forms';
|
|
2
|
+
import { CostItemDto } from '@hitsoft/kadooglu-keops/proxy';
|
|
3
|
+
import { isRateCostItem, isCustomCostItem } from '../../../shared/cost-item-classification.utils';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class PriceParameterCostItemsTabComponent {
|
|
6
|
+
costItems: CostItemDto[];
|
|
7
|
+
itemsArray: FormArray;
|
|
8
|
+
readonly currencyOptions: import("../../../utils/currency.utils").CurrencyOption[];
|
|
9
|
+
readonly isRate: typeof isRateCostItem;
|
|
10
|
+
readonly isCustom: typeof isCustomCostItem;
|
|
11
|
+
readonly customLabel: string;
|
|
12
|
+
rowGroup(index: number): FormGroup;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PriceParameterCostItemsTabComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PriceParameterCostItemsTabComponent, "lib-price-parameter-cost-items-tab", never, { "costItems": "costItems"; "itemsArray": "itemsArray"; }, {}, never, never, false>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
|
|
3
|
+
import { SapSalesPersonDto } from '@hitsoft/kadooglu-keops/proxy';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export interface DiscountModalResult {
|
|
6
|
+
salesEmployeeCode: number | null;
|
|
7
|
+
salesEmployeeName: string | null;
|
|
8
|
+
rate: number | null;
|
|
9
|
+
}
|
|
10
|
+
export declare class PriceParameterDiscountRatesModalComponent implements OnInit {
|
|
11
|
+
readonly activeModal: NgbActiveModal;
|
|
12
|
+
isEdit: boolean;
|
|
13
|
+
salesPersons: SapSalesPersonDto[];
|
|
14
|
+
usedCodes: Set<number>;
|
|
15
|
+
salesEmployeeCode: number | null;
|
|
16
|
+
rate: number | null;
|
|
17
|
+
availableSalesPersons: SapSalesPersonDto[];
|
|
18
|
+
constructor(activeModal: NgbActiveModal);
|
|
19
|
+
ngOnInit(): void;
|
|
20
|
+
save(): void;
|
|
21
|
+
private clampRate;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PriceParameterDiscountRatesModalComponent, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PriceParameterDiscountRatesModalComponent, "lib-price-parameter-discount-rates-modal", never, { "isEdit": "isEdit"; "salesPersons": "salesPersons"; "usedCodes": "usedCodes"; "salesEmployeeCode": "salesEmployeeCode"; "rate": "rate"; }, {}, never, never, false>;
|
|
24
|
+
}
|
package/lib/features/price-parameters/components/price-parameter-form-discount-rates.component.d.ts
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { FormArray, FormBuilder, FormGroup } from '@angular/forms';
|
|
3
|
+
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
4
|
+
import { SapSalesPersonDto, SapSalesPersonService } from '@hitsoft/kadooglu-keops/proxy';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class PriceParameterDiscountRatesTabComponent implements OnInit {
|
|
7
|
+
private readonly fb;
|
|
8
|
+
private readonly salesPersonService;
|
|
9
|
+
private readonly modalService;
|
|
10
|
+
discountsArray: FormArray;
|
|
11
|
+
salesPersons: SapSalesPersonDto[];
|
|
12
|
+
constructor(fb: FormBuilder, salesPersonService: SapSalesPersonService, modalService: NgbModal);
|
|
13
|
+
ngOnInit(): void;
|
|
14
|
+
get rows(): FormGroup[];
|
|
15
|
+
add(): void;
|
|
16
|
+
edit(index: number): void;
|
|
17
|
+
remove(index: number): void;
|
|
18
|
+
private usedCodes;
|
|
19
|
+
private openModal;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PriceParameterDiscountRatesTabComponent, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PriceParameterDiscountRatesTabComponent, "lib-price-parameter-discount-rates-tab", never, { "discountsArray": "discountsArray"; }, {}, never, never, false>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { OnChanges } from '@angular/core';
|
|
2
|
+
import { BusinessRegion, PriceListItemDto, PriceListService } from '@hitsoft/kadooglu-keops/proxy';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class PriceParameterItemsTabComponent implements OnChanges {
|
|
5
|
+
private readonly priceListService;
|
|
6
|
+
businessRegion: BusinessRegion | null;
|
|
7
|
+
cpGroupCode: string | null;
|
|
8
|
+
items: PriceListItemDto[];
|
|
9
|
+
loading: boolean;
|
|
10
|
+
constructor(priceListService: PriceListService);
|
|
11
|
+
ngOnChanges(): void;
|
|
12
|
+
private load;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PriceParameterItemsTabComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PriceParameterItemsTabComponent, "lib-price-parameter-items-tab", never, { "businessRegion": "businessRegion"; "cpGroupCode": "cpGroupCode"; }, {}, never, never, false>;
|
|
15
|
+
}
|
package/lib/features/price-parameters/components/price-parameter-form-price-lists.component.d.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { OnChanges } from '@angular/core';
|
|
2
|
+
import { BusinessRegion, PriceListDto, PriceListService } from '@hitsoft/kadooglu-keops/proxy';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class PriceParameterPriceListsTabComponent implements OnChanges {
|
|
5
|
+
private readonly priceListService;
|
|
6
|
+
businessRegion: BusinessRegion | null;
|
|
7
|
+
ppTypeCode: string | null;
|
|
8
|
+
priceLists: PriceListDto[];
|
|
9
|
+
loading: boolean;
|
|
10
|
+
constructor(priceListService: PriceListService);
|
|
11
|
+
ngOnChanges(): void;
|
|
12
|
+
private load;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PriceParameterPriceListsTabComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PriceParameterPriceListsTabComponent, "lib-price-parameter-price-lists-tab", never, { "businessRegion": "businessRegion"; "ppTypeCode": "ppTypeCode"; }, {}, never, never, false>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
3
|
+
import { FormArray, FormBuilder, FormGroup } from '@angular/forms';
|
|
4
|
+
import { ToasterService } from '@abp/ng.theme.shared';
|
|
5
|
+
import DataSource from 'devextreme/data/data_source';
|
|
6
|
+
import { PriceParameterService, BusinessPartnerDto, BusinessRegion, CostItemDto, Currency, CostParameterCategoryDto, PriceParameterTypeLookupDto, PriceParameterDto, PriceParameterStatus } from '@hitsoft/kadooglu-keops/proxy';
|
|
7
|
+
import { PriceParameterFormDataService } from '../price-parameter-form-data.service';
|
|
8
|
+
import { PriceParameterCostMatchService } from '../price-parameter-cost-match.service';
|
|
9
|
+
import { PriceParameterPriceUpdateService } from '../price-parameter-price-update.service';
|
|
10
|
+
import { isRateCostItem, isCustomCostItem } from '../../../shared/cost-item-classification.utils';
|
|
11
|
+
import { CostItemRowsBuilder } from '../../../shared/cost-item-rows.builder';
|
|
12
|
+
import * as i0 from "@angular/core";
|
|
13
|
+
export declare class PriceParameterFormComponent implements OnInit {
|
|
14
|
+
private readonly fb;
|
|
15
|
+
private readonly route;
|
|
16
|
+
private readonly router;
|
|
17
|
+
private readonly toaster;
|
|
18
|
+
private readonly service;
|
|
19
|
+
private readonly formDataService;
|
|
20
|
+
private readonly costMatchService;
|
|
21
|
+
private readonly rowsBuilder;
|
|
22
|
+
private readonly priceUpdateService;
|
|
23
|
+
form: FormGroup;
|
|
24
|
+
saving: boolean;
|
|
25
|
+
editMode: boolean;
|
|
26
|
+
docEntry: number | null;
|
|
27
|
+
current: PriceParameterDto | null;
|
|
28
|
+
costItems: CostItemDto[];
|
|
29
|
+
private allCostItems;
|
|
30
|
+
typeOptions: PriceParameterTypeLookupDto[];
|
|
31
|
+
groupOptions: CostParameterCategoryDto[];
|
|
32
|
+
readonly regionOptions: import("../../../utils/business-region.utils").BusinessRegionOption[];
|
|
33
|
+
private autoApplyEnabled;
|
|
34
|
+
updatingPrices: boolean;
|
|
35
|
+
salesPriceExcludingPackagingTry: number;
|
|
36
|
+
salesPriceExcludingPackagingUsd: number;
|
|
37
|
+
private effectiveRateUsd;
|
|
38
|
+
private effectiveRateEur;
|
|
39
|
+
systemRateUsd: number;
|
|
40
|
+
systemRateEur: number;
|
|
41
|
+
businessPartnersDataSource: DataSource | null;
|
|
42
|
+
selectedCustomerCode: string | null;
|
|
43
|
+
gekapCurrency: Currency;
|
|
44
|
+
rawOilCurrency: Currency;
|
|
45
|
+
readonly statusOptions: {
|
|
46
|
+
value: PriceParameterStatus;
|
|
47
|
+
label: string;
|
|
48
|
+
}[];
|
|
49
|
+
readonly currencyOptions: import("../../../utils/currency.utils").CurrencyOption[];
|
|
50
|
+
readonly tryUsdCurrencyOptions: import("../../../utils/currency.utils").CurrencyOption[];
|
|
51
|
+
readonly customerDisplayExpr: (c: BusinessPartnerDto | null) => string;
|
|
52
|
+
constructor(fb: FormBuilder, route: ActivatedRoute, router: Router, toaster: ToasterService, service: PriceParameterService, formDataService: PriceParameterFormDataService, costMatchService: PriceParameterCostMatchService, rowsBuilder: CostItemRowsBuilder, priceUpdateService: PriceParameterPriceUpdateService);
|
|
53
|
+
ngOnInit(): void;
|
|
54
|
+
get itemsArray(): FormArray;
|
|
55
|
+
get discountsArray(): FormArray;
|
|
56
|
+
get title(): string;
|
|
57
|
+
get selectedRegion(): BusinessRegion | null;
|
|
58
|
+
get selectedTypeCode(): string | null;
|
|
59
|
+
get selectedGroupCode(): string | null;
|
|
60
|
+
readonly isRate: typeof isRateCostItem;
|
|
61
|
+
readonly isCustom: typeof isCustomCostItem;
|
|
62
|
+
goBack(): void;
|
|
63
|
+
save(andUpdatePriceList?: boolean): void;
|
|
64
|
+
saveAndUpdatePriceList(): void;
|
|
65
|
+
private load;
|
|
66
|
+
private patchFromCurrent;
|
|
67
|
+
private applyDiscounts;
|
|
68
|
+
private createDiscountRow;
|
|
69
|
+
private applyItems;
|
|
70
|
+
private clearItems;
|
|
71
|
+
protected recalcSalesPriceExcludingPackaging(): void;
|
|
72
|
+
updatePriceList(): void;
|
|
73
|
+
private onCombinationChange;
|
|
74
|
+
private toDateInput;
|
|
75
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PriceParameterFormComponent, never>;
|
|
76
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PriceParameterFormComponent, "lib-price-parameter-form", never, {}, {}, never, never, false>;
|
|
77
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
|
|
2
|
+
import { PriceUpdatePreviewItemDto } from '@hitsoft/kadooglu-keops/proxy';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class PriceParameterPriceUpdatePreviewModalComponent {
|
|
5
|
+
readonly activeModal: NgbActiveModal;
|
|
6
|
+
items: PriceUpdatePreviewItemDto[];
|
|
7
|
+
priceListNo: number | null;
|
|
8
|
+
constructor(activeModal: NgbActiveModal);
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PriceParameterPriceUpdatePreviewModalComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PriceParameterPriceUpdatePreviewModalComponent, "lib-price-parameter-price-update-preview-modal", never, { "items": "items"; "priceListNo": "priceListNo"; }, {}, never, never, false>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { Router } from '@angular/router';
|
|
3
|
+
import { ConfirmationService, ToasterService } from '@abp/ng.theme.shared';
|
|
4
|
+
import { PriceParameterService, PriceParameterDto, PriceParameterStatus, CostParameterCategoryDto, PriceParameterTypeLookupDto } from '@hitsoft/kadooglu-keops/proxy';
|
|
5
|
+
import { PriceParameterLookupsService } from '../price-parameter-lookups.service';
|
|
6
|
+
import { PriceParameterPriceUpdateService } from '../price-parameter-price-update.service';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class PriceParametersComponent implements OnInit {
|
|
9
|
+
private readonly service;
|
|
10
|
+
private readonly lookupsService;
|
|
11
|
+
private readonly priceUpdateService;
|
|
12
|
+
private readonly router;
|
|
13
|
+
private readonly toaster;
|
|
14
|
+
private readonly confirmation;
|
|
15
|
+
items: PriceParameterDto[];
|
|
16
|
+
typeOptions: PriceParameterTypeLookupDto[];
|
|
17
|
+
groupOptions: CostParameterCategoryDto[];
|
|
18
|
+
constructor(service: PriceParameterService, lookupsService: PriceParameterLookupsService, priceUpdateService: PriceParameterPriceUpdateService, router: Router, toaster: ToasterService, confirmation: ConfirmationService);
|
|
19
|
+
ngOnInit(): void;
|
|
20
|
+
getStatusLabel(value: PriceParameterStatus): string;
|
|
21
|
+
getRegionLabel(value: any): string;
|
|
22
|
+
load(): void;
|
|
23
|
+
loadList(): void;
|
|
24
|
+
openCreate(): void;
|
|
25
|
+
openEdit(row: PriceParameterDto): void;
|
|
26
|
+
updatePriceList(row: PriceParameterDto): void;
|
|
27
|
+
remove(row: PriceParameterDto): void;
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PriceParametersComponent, never>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PriceParametersComponent, "lib-price-parameters", never, {}, {}, never, never, false>;
|
|
30
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@angular/router";
|
|
3
|
+
export declare class HitPriceParametersRoutingModule {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HitPriceParametersRoutingModule, never>;
|
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<HitPriceParametersRoutingModule, never, [typeof i1.RouterModule], [typeof i1.RouterModule]>;
|
|
6
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<HitPriceParametersRoutingModule>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./components/price-parameters.component";
|
|
3
|
+
import * as i2 from "./components/price-parameter-form.component";
|
|
4
|
+
import * as i3 from "./components/price-parameter-form-cost-items.component";
|
|
5
|
+
import * as i4 from "./components/price-parameter-form-price-lists.component";
|
|
6
|
+
import * as i5 from "./components/price-parameter-form-items.component";
|
|
7
|
+
import * as i6 from "./components/price-parameter-form-discount-rates.component";
|
|
8
|
+
import * as i7 from "./components/price-parameter-form-discount-rates-modal.component";
|
|
9
|
+
import * as i8 from "./components/price-parameter-price-update-preview-modal.component";
|
|
10
|
+
import * as i9 from "@angular/common";
|
|
11
|
+
import * as i10 from "@angular/forms";
|
|
12
|
+
import * as i11 from "@abp/ng.core";
|
|
13
|
+
import * as i12 from "@abp/ng.theme.shared";
|
|
14
|
+
import * as i13 from "@abp/ng.components/page";
|
|
15
|
+
import * as i14 from "@volo/abp.commercial.ng.ui";
|
|
16
|
+
import * as i15 from "@ng-bootstrap/ng-bootstrap";
|
|
17
|
+
import * as i16 from "./hit-price-parameters-routing.module";
|
|
18
|
+
import * as i17 from "devextreme-angular";
|
|
19
|
+
import * as i18 from "../../shared/shared-ui.module";
|
|
20
|
+
export declare class HitPriceParametersModule {
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HitPriceParametersModule, never>;
|
|
22
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<HitPriceParametersModule, [typeof i1.PriceParametersComponent, typeof i2.PriceParameterFormComponent, typeof i3.PriceParameterCostItemsTabComponent, typeof i4.PriceParameterPriceListsTabComponent, typeof i5.PriceParameterItemsTabComponent, typeof i6.PriceParameterDiscountRatesTabComponent, typeof i7.PriceParameterDiscountRatesModalComponent, typeof i8.PriceParameterPriceUpdatePreviewModalComponent], [typeof i9.CommonModule, typeof i10.FormsModule, typeof i10.ReactiveFormsModule, typeof i11.CoreModule, typeof i12.ThemeSharedModule, typeof i13.PageModule, typeof i14.CommercialUiModule, typeof i15.NgbDropdownModule, typeof i15.NgbNavModule, typeof i15.NgbModalModule, typeof i16.HitPriceParametersRoutingModule, typeof i17.DxDataGridModule, typeof i17.DxDateBoxModule, typeof i17.DxSelectBoxModule, typeof i18.SharedUiModule], never>;
|
|
23
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<HitPriceParametersModule>;
|
|
24
|
+
}
|
|
25
|
+
export declare function loadHitPriceParametersModuleAsChild(): Promise<typeof HitPriceParametersModule>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { BusinessRegion, CostParameterDto, CostParameterService } from '@hitsoft/kadooglu-keops/proxy';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class PriceParameterCostMatchService {
|
|
5
|
+
private readonly costParameterService;
|
|
6
|
+
constructor(costParameterService: CostParameterService);
|
|
7
|
+
findMatch(region: BusinessRegion, groupCode: string): Observable<CostParameterDto | undefined>;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PriceParameterCostMatchService, never>;
|
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PriceParameterCostMatchService>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import DataSource from 'devextreme/data/data_source';
|
|
3
|
+
import { BusinessPartnerService, CostItemDto, CostItemService, CostParameterCategoryDto, ExchangeRateService, PriceParameterDto, PriceParameterService, PriceParameterTypeLookupDto } from '@hitsoft/kadooglu-keops/proxy';
|
|
4
|
+
import { PriceParameterLookupsService } from './price-parameter-lookups.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export interface PriceParameterFormData {
|
|
7
|
+
typeOptions: PriceParameterTypeLookupDto[];
|
|
8
|
+
groupOptions: CostParameterCategoryDto[];
|
|
9
|
+
businessPartnersDataSource: DataSource;
|
|
10
|
+
costItems: CostItemDto[];
|
|
11
|
+
systemRateUsd: number;
|
|
12
|
+
systemRateEur: number;
|
|
13
|
+
current: PriceParameterDto | null;
|
|
14
|
+
}
|
|
15
|
+
export declare class PriceParameterFormDataService {
|
|
16
|
+
private readonly lookupsService;
|
|
17
|
+
private readonly businessPartnerService;
|
|
18
|
+
private readonly costItemService;
|
|
19
|
+
private readonly exchangeRateService;
|
|
20
|
+
private readonly priceParameterService;
|
|
21
|
+
constructor(lookupsService: PriceParameterLookupsService, businessPartnerService: BusinessPartnerService, costItemService: CostItemService, exchangeRateService: ExchangeRateService, priceParameterService: PriceParameterService);
|
|
22
|
+
load(docEntry: number | null): Observable<PriceParameterFormData>;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PriceParameterFormDataService, never>;
|
|
24
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PriceParameterFormDataService>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { CostParameterCategoryDto, CostParameterCategoryService, PriceParameterTypeLookupDto, PriceParameterTypeService } from '@hitsoft/kadooglu-keops/proxy';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export interface PriceParameterTypeAndCategoryLookups {
|
|
5
|
+
typeOptions: PriceParameterTypeLookupDto[];
|
|
6
|
+
groupOptions: CostParameterCategoryDto[];
|
|
7
|
+
}
|
|
8
|
+
export declare class PriceParameterLookupsService {
|
|
9
|
+
private readonly priceParameterTypeService;
|
|
10
|
+
private readonly costParameterCategoryService;
|
|
11
|
+
constructor(priceParameterTypeService: PriceParameterTypeService, costParameterCategoryService: CostParameterCategoryService);
|
|
12
|
+
loadTypeAndCategoryLookups(): Observable<PriceParameterTypeAndCategoryLookups>;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PriceParameterLookupsService, never>;
|
|
14
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PriceParameterLookupsService>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
3
|
+
import { ConfirmationService, ToasterService } from '@abp/ng.theme.shared';
|
|
4
|
+
import { BusinessRegion, CostItemService, PriceListService, PriceParameterService } from '@hitsoft/kadooglu-keops/proxy';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export interface PriceUpdateSourceValues {
|
|
7
|
+
region: BusinessRegion;
|
|
8
|
+
groupCode: string;
|
|
9
|
+
typeCode: string;
|
|
10
|
+
salesPriceExcludingPackagingTry: number;
|
|
11
|
+
rateUsd: number;
|
|
12
|
+
rateEur: number;
|
|
13
|
+
}
|
|
14
|
+
export declare class PriceParameterPriceUpdateService {
|
|
15
|
+
private readonly service;
|
|
16
|
+
private readonly priceListService;
|
|
17
|
+
private readonly costItemService;
|
|
18
|
+
private readonly modalService;
|
|
19
|
+
private readonly toaster;
|
|
20
|
+
private readonly confirmation;
|
|
21
|
+
constructor(service: PriceParameterService, priceListService: PriceListService, costItemService: CostItemService, modalService: NgbModal, toaster: ToasterService, confirmation: ConfirmationService);
|
|
22
|
+
updateForDocEntry(docEntry: number): Observable<void>;
|
|
23
|
+
updateFromValues(source: PriceUpdateSourceValues): Observable<void>;
|
|
24
|
+
private confirmAndRun;
|
|
25
|
+
private performUpdateForDocEntry;
|
|
26
|
+
private performUpdateFromValues;
|
|
27
|
+
private computeSalesPrice;
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PriceParameterPriceUpdateService, never>;
|
|
29
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PriceParameterPriceUpdateService>;
|
|
30
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
+
import { Currency } from '@hitsoft/kadooglu-keops/proxy';
|
|
4
|
+
import { CurrencyOption } from '../../utils/currency.utils';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class AmountCurrencyInputComponent implements ControlValueAccessor {
|
|
7
|
+
currencyOptions: CurrencyOption[];
|
|
8
|
+
currency: Currency;
|
|
9
|
+
currencyChange: EventEmitter<Currency>;
|
|
10
|
+
disabled: boolean;
|
|
11
|
+
value: number | null;
|
|
12
|
+
private onChange;
|
|
13
|
+
private onTouched;
|
|
14
|
+
writeValue(value: number | null): void;
|
|
15
|
+
registerOnChange(fn: (value: number | null) => void): void;
|
|
16
|
+
registerOnTouched(fn: () => void): void;
|
|
17
|
+
setDisabledState(isDisabled: boolean): void;
|
|
18
|
+
onValueChange(value: number | null): void;
|
|
19
|
+
onCurrencyChange(value: Currency): void;
|
|
20
|
+
onBlur(): void;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AmountCurrencyInputComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AmountCurrencyInputComponent, "lib-amount-currency-input", never, { "currencyOptions": "currencyOptions"; "currency": "currency"; "disabled": "disabled"; }, { "currencyChange": "currencyChange"; }, never, never, false>;
|
|
23
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { CostItemCalculationType, CostItemSystemCode } from '@hitsoft/kadooglu-keops/proxy';
|
|
2
|
+
export interface CostItemLike {
|
|
3
|
+
calculationType: CostItemCalculationType;
|
|
4
|
+
}
|
|
5
|
+
export interface SystemCodedCostItemLike {
|
|
6
|
+
systemCode?: CostItemSystemCode;
|
|
7
|
+
}
|
|
8
|
+
export declare function isRateCostItem(item: CostItemLike): boolean;
|
|
9
|
+
export declare function isCustomCostItem(item: CostItemLike): boolean;
|
|
10
|
+
export declare function currencyApplies(calculationType: CostItemCalculationType): boolean;
|
|
11
|
+
export declare function isPackagingCostItem(item: SystemCodedCostItemLike): boolean;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { FormArray, FormBuilder } from '@angular/forms';
|
|
2
|
+
import { CostItemDto, CostParameterItemDto, CostParameterItemInputDto } from '@hitsoft/kadooglu-keops/proxy';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class CostItemRowsBuilder {
|
|
5
|
+
private readonly fb;
|
|
6
|
+
constructor(fb: FormBuilder);
|
|
7
|
+
build(target: FormArray, costItems: CostItemDto[], savedValues: ReadonlyArray<CostParameterItemDto> | null | undefined): void;
|
|
8
|
+
toInput(target: FormArray): CostParameterItemInputDto[];
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CostItemRowsBuilder, never>;
|
|
10
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CostItemRowsBuilder>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export interface CodeNamePair {
|
|
4
|
+
code?: string;
|
|
5
|
+
name?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare class ResolveCodeNamePipe implements PipeTransform {
|
|
8
|
+
transform(code: string | undefined | null, options: ReadonlyArray<CodeNamePair> | undefined | null): string;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ResolveCodeNamePipe, never>;
|
|
10
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<ResolveCodeNamePipe, "resolveCodeName", false>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./amount-currency-input/amount-currency-input.component";
|
|
3
|
+
import * as i2 from "./pipes/resolve-code-name.pipe";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
import * as i4 from "@angular/forms";
|
|
6
|
+
export declare class SharedUiModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SharedUiModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedUiModule, [typeof i1.AmountCurrencyInputComponent, typeof i2.ResolveCodeNamePipe], [typeof i3.CommonModule, typeof i4.FormsModule], [typeof i1.AmountCurrencyInputComponent, typeof i2.ResolveCodeNamePipe]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SharedUiModule>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { BusinessRegion } from '@hitsoft/kadooglu-keops/proxy';
|
|
2
|
+
export declare const businessRegionLabels: Record<BusinessRegion, string>;
|
|
3
|
+
export interface BusinessRegionOption {
|
|
4
|
+
value: BusinessRegion;
|
|
5
|
+
label: string;
|
|
6
|
+
}
|
|
7
|
+
export declare const BUSINESS_REGION_OPTIONS: BusinessRegionOption[];
|
package/package.json
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './models';
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export interface BlTrackingCreateDto {
|
|
2
|
+
blNo1: string;
|
|
3
|
+
blNo2?: string;
|
|
4
|
+
blNo3?: string;
|
|
5
|
+
blNo4?: string;
|
|
6
|
+
isActive: boolean;
|
|
7
|
+
note?: string;
|
|
8
|
+
}
|
|
9
|
+
export interface BlTrackingDto {
|
|
10
|
+
code?: string;
|
|
11
|
+
blNo1?: string;
|
|
12
|
+
blNo2?: string;
|
|
13
|
+
blNo3?: string;
|
|
14
|
+
blNo4?: string;
|
|
15
|
+
isActive: boolean;
|
|
16
|
+
note?: string;
|
|
17
|
+
}
|
|
18
|
+
export interface BlTrackingUpdateDto {
|
|
19
|
+
blNo1: string;
|
|
20
|
+
blNo2?: string;
|
|
21
|
+
blNo3?: string;
|
|
22
|
+
blNo4?: string;
|
|
23
|
+
isActive: boolean;
|
|
24
|
+
note?: string;
|
|
25
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './models';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './models';
|