@buynomics-lib/bn-shared 1.17.91 → 1.17.93-feature-cf-222.0

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.
@@ -0,0 +1,2 @@
1
+ export { WidgetType, WidgetPresetAvailability } from './widget-preset';
2
+ export { WidgetChartCategory, WidgetChartSubtype, WidgetChartScenarioMode, WidgetChartAxisValueType, WidgetChartSeriesType, WidgetChartBarLayout, WidgetChartDisplayMode, WidgetChartRankingRule, WidgetChartSortDirection, } from './widget-chart';
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.WidgetChartSortDirection = exports.WidgetChartRankingRule = exports.WidgetChartDisplayMode = exports.WidgetChartBarLayout = exports.WidgetChartSeriesType = exports.WidgetChartAxisValueType = exports.WidgetChartScenarioMode = exports.WidgetChartSubtype = exports.WidgetChartCategory = exports.WidgetPresetAvailability = exports.WidgetType = void 0;
4
+ var widget_preset_1 = require("./widget-preset");
5
+ Object.defineProperty(exports, "WidgetType", { enumerable: true, get: function () { return widget_preset_1.WidgetType; } });
6
+ Object.defineProperty(exports, "WidgetPresetAvailability", { enumerable: true, get: function () { return widget_preset_1.WidgetPresetAvailability; } });
7
+ var widget_chart_1 = require("./widget-chart");
8
+ Object.defineProperty(exports, "WidgetChartCategory", { enumerable: true, get: function () { return widget_chart_1.WidgetChartCategory; } });
9
+ Object.defineProperty(exports, "WidgetChartSubtype", { enumerable: true, get: function () { return widget_chart_1.WidgetChartSubtype; } });
10
+ Object.defineProperty(exports, "WidgetChartScenarioMode", { enumerable: true, get: function () { return widget_chart_1.WidgetChartScenarioMode; } });
11
+ Object.defineProperty(exports, "WidgetChartAxisValueType", { enumerable: true, get: function () { return widget_chart_1.WidgetChartAxisValueType; } });
12
+ Object.defineProperty(exports, "WidgetChartSeriesType", { enumerable: true, get: function () { return widget_chart_1.WidgetChartSeriesType; } });
13
+ Object.defineProperty(exports, "WidgetChartBarLayout", { enumerable: true, get: function () { return widget_chart_1.WidgetChartBarLayout; } });
14
+ Object.defineProperty(exports, "WidgetChartDisplayMode", { enumerable: true, get: function () { return widget_chart_1.WidgetChartDisplayMode; } });
15
+ Object.defineProperty(exports, "WidgetChartRankingRule", { enumerable: true, get: function () { return widget_chart_1.WidgetChartRankingRule; } });
16
+ Object.defineProperty(exports, "WidgetChartSortDirection", { enumerable: true, get: function () { return widget_chart_1.WidgetChartSortDirection; } });
17
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/enums/widget/index.ts"],"names":[],"mappings":";;;AAAA,iDAAsE;AAA7D,2GAAA,UAAU,OAAA;AAAE,yHAAA,wBAAwB,OAAA;AAC7C,+CAUuB;AATrB,mHAAA,mBAAmB,OAAA;AACnB,kHAAA,kBAAkB,OAAA;AAClB,uHAAA,uBAAuB,OAAA;AACvB,wHAAA,wBAAwB,OAAA;AACxB,qHAAA,qBAAqB,OAAA;AACrB,oHAAA,oBAAoB,OAAA;AACpB,sHAAA,sBAAsB,OAAA;AACtB,sHAAA,sBAAsB,OAAA;AACtB,wHAAA,wBAAwB,OAAA"}
@@ -0,0 +1,42 @@
1
+ export declare enum WidgetChartCategory {
2
+ PriceLadder = "price_ladder",
3
+ ProductPriceComparison = "product_price_comparison",
4
+ PortfolioContribution = "portfolio_contribution",
5
+ KpiTradeOff = "kpi_trade_off",
6
+ PPAStructureWhiteSpace = "ppa_structure_white_space"
7
+ }
8
+ export declare enum WidgetChartSubtype {
9
+ Bar = "bar",
10
+ Line = "line",
11
+ Scatter = "scatter",
12
+ Bubble = "bubble"
13
+ }
14
+ export declare enum WidgetChartScenarioMode {
15
+ Single = "single",
16
+ Multi = "multi"
17
+ }
18
+ export declare enum WidgetChartAxisValueType {
19
+ Absolute = "absolute",
20
+ DeltaVsReference = "delta_vs_reference"
21
+ }
22
+ export declare enum WidgetChartSeriesType {
23
+ KpiSeries = "kpi_series",
24
+ DimensionSeries = "dimension_series"
25
+ }
26
+ export declare enum WidgetChartBarLayout {
27
+ Grouped = "grouped",
28
+ Stacked = "stacked"
29
+ }
30
+ export declare enum WidgetChartDisplayMode {
31
+ Absolute = "absolute",
32
+ Percentage = "percentage"
33
+ }
34
+ export declare enum WidgetChartRankingRule {
35
+ ByName = "by_name",
36
+ ByKpiValue = "by_kpi_value",
37
+ ByKpiDelta = "by_kpi_delta"
38
+ }
39
+ export declare enum WidgetChartSortDirection {
40
+ Ascending = "ascending",
41
+ Descending = "descending"
42
+ }
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.WidgetChartSortDirection = exports.WidgetChartRankingRule = exports.WidgetChartDisplayMode = exports.WidgetChartBarLayout = exports.WidgetChartSeriesType = exports.WidgetChartAxisValueType = exports.WidgetChartScenarioMode = exports.WidgetChartSubtype = exports.WidgetChartCategory = void 0;
4
+ var WidgetChartCategory;
5
+ (function (WidgetChartCategory) {
6
+ WidgetChartCategory["PriceLadder"] = "price_ladder";
7
+ WidgetChartCategory["ProductPriceComparison"] = "product_price_comparison";
8
+ WidgetChartCategory["PortfolioContribution"] = "portfolio_contribution";
9
+ WidgetChartCategory["KpiTradeOff"] = "kpi_trade_off";
10
+ WidgetChartCategory["PPAStructureWhiteSpace"] = "ppa_structure_white_space";
11
+ })(WidgetChartCategory = exports.WidgetChartCategory || (exports.WidgetChartCategory = {}));
12
+ var WidgetChartSubtype;
13
+ (function (WidgetChartSubtype) {
14
+ WidgetChartSubtype["Bar"] = "bar";
15
+ WidgetChartSubtype["Line"] = "line";
16
+ WidgetChartSubtype["Scatter"] = "scatter";
17
+ WidgetChartSubtype["Bubble"] = "bubble";
18
+ })(WidgetChartSubtype = exports.WidgetChartSubtype || (exports.WidgetChartSubtype = {}));
19
+ var WidgetChartScenarioMode;
20
+ (function (WidgetChartScenarioMode) {
21
+ WidgetChartScenarioMode["Single"] = "single";
22
+ WidgetChartScenarioMode["Multi"] = "multi";
23
+ })(WidgetChartScenarioMode = exports.WidgetChartScenarioMode || (exports.WidgetChartScenarioMode = {}));
24
+ var WidgetChartAxisValueType;
25
+ (function (WidgetChartAxisValueType) {
26
+ WidgetChartAxisValueType["Absolute"] = "absolute";
27
+ WidgetChartAxisValueType["DeltaVsReference"] = "delta_vs_reference";
28
+ })(WidgetChartAxisValueType = exports.WidgetChartAxisValueType || (exports.WidgetChartAxisValueType = {}));
29
+ var WidgetChartSeriesType;
30
+ (function (WidgetChartSeriesType) {
31
+ WidgetChartSeriesType["KpiSeries"] = "kpi_series";
32
+ WidgetChartSeriesType["DimensionSeries"] = "dimension_series";
33
+ })(WidgetChartSeriesType = exports.WidgetChartSeriesType || (exports.WidgetChartSeriesType = {}));
34
+ var WidgetChartBarLayout;
35
+ (function (WidgetChartBarLayout) {
36
+ WidgetChartBarLayout["Grouped"] = "grouped";
37
+ WidgetChartBarLayout["Stacked"] = "stacked";
38
+ })(WidgetChartBarLayout = exports.WidgetChartBarLayout || (exports.WidgetChartBarLayout = {}));
39
+ var WidgetChartDisplayMode;
40
+ (function (WidgetChartDisplayMode) {
41
+ WidgetChartDisplayMode["Absolute"] = "absolute";
42
+ WidgetChartDisplayMode["Percentage"] = "percentage";
43
+ })(WidgetChartDisplayMode = exports.WidgetChartDisplayMode || (exports.WidgetChartDisplayMode = {}));
44
+ var WidgetChartRankingRule;
45
+ (function (WidgetChartRankingRule) {
46
+ WidgetChartRankingRule["ByName"] = "by_name";
47
+ WidgetChartRankingRule["ByKpiValue"] = "by_kpi_value";
48
+ WidgetChartRankingRule["ByKpiDelta"] = "by_kpi_delta";
49
+ })(WidgetChartRankingRule = exports.WidgetChartRankingRule || (exports.WidgetChartRankingRule = {}));
50
+ var WidgetChartSortDirection;
51
+ (function (WidgetChartSortDirection) {
52
+ WidgetChartSortDirection["Ascending"] = "ascending";
53
+ WidgetChartSortDirection["Descending"] = "descending";
54
+ })(WidgetChartSortDirection = exports.WidgetChartSortDirection || (exports.WidgetChartSortDirection = {}));
55
+ //# sourceMappingURL=widget-chart.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"widget-chart.js","sourceRoot":"","sources":["../../../src/enums/widget/widget-chart.ts"],"names":[],"mappings":";;;AAAA,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,mDAA4B,CAAA;IAC5B,0EAAmD,CAAA;IACnD,uEAAgD,CAAA;IAChD,oDAA6B,CAAA;IAC7B,2EAAoD,CAAA;AACtD,CAAC,EANW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAM9B;AAED,IAAY,kBAKX;AALD,WAAY,kBAAkB;IAC5B,iCAAW,CAAA;IACX,mCAAa,CAAA;IACb,yCAAmB,CAAA;IACnB,uCAAiB,CAAA;AACnB,CAAC,EALW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAK7B;AAED,IAAY,uBAGX;AAHD,WAAY,uBAAuB;IACjC,4CAAiB,CAAA;IACjB,0CAAe,CAAA;AACjB,CAAC,EAHW,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAGlC;AAED,IAAY,wBAGX;AAHD,WAAY,wBAAwB;IAClC,iDAAqB,CAAA;IACrB,mEAAuC,CAAA;AACzC,CAAC,EAHW,wBAAwB,GAAxB,gCAAwB,KAAxB,gCAAwB,QAGnC;AAED,IAAY,qBAGX;AAHD,WAAY,qBAAqB;IAC/B,iDAAwB,CAAA;IACxB,6DAAoC,CAAA;AACtC,CAAC,EAHW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAGhC;AAED,IAAY,oBAGX;AAHD,WAAY,oBAAoB;IAC9B,2CAAmB,CAAA;IACnB,2CAAmB,CAAA;AACrB,CAAC,EAHW,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAG/B;AAED,IAAY,sBAGX;AAHD,WAAY,sBAAsB;IAChC,+CAAqB,CAAA;IACrB,mDAAyB,CAAA;AAC3B,CAAC,EAHW,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QAGjC;AAED,IAAY,sBAIX;AAJD,WAAY,sBAAsB;IAChC,4CAAkB,CAAA;IAClB,qDAA2B,CAAA;IAC3B,qDAA2B,CAAA;AAC7B,CAAC,EAJW,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QAIjC;AAED,IAAY,wBAGX;AAHD,WAAY,wBAAwB;IAClC,mDAAuB,CAAA;IACvB,qDAAyB,CAAA;AAC3B,CAAC,EAHW,wBAAwB,GAAxB,gCAAwB,KAAxB,gCAAwB,QAGnC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"widget-preset.js","sourceRoot":"","sources":["../../../src/enums/widget/widget-preset.ts"],"names":[],"mappings":";;;AAAA,IAAY,UAKX;AALD,WAAY,UAAU;IACpB,6BAAe,CAAA;IACf,6BAAe,CAAA;IACf,+BAAiB,CAAA;IACjB,qCAAuB,CAAA;AACzB,CAAC,EALW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAKrB;AAED,IAAY,wBAIX;AAJD,WAAY,wBAAwB;IAClC,iDAAqB,CAAA;IACrB,6CAAiB,CAAA;IACjB,yCAAa,CAAA;AACf,CAAC,EAJW,wBAAwB,GAAxB,gCAAwB,KAAxB,gCAAwB,QAInC"}
package/build/index.d.ts CHANGED
@@ -71,6 +71,7 @@ import { SystemScopedKpis, SystemScopedKpisReferenceIds } from './enums/kpis/sys
71
71
  import { ISystemKpiBase, ISystemKpi, IKpiDisplaySettings, ISystemScopedKpi, IScopedKpiScope, ISystemVariable } from './interfaces/kpis/system-kpi.interface';
72
72
  import { TimePeriod } from './interfaces/time/time-period';
73
73
  import { ProductType } from './enums/product/product-type.enum';
74
- import { WidgetType, WidgetPresetAvailability } from './enums/widget-preset';
74
+ import { WidgetType, WidgetPresetAvailability, WidgetChartCategory, WidgetChartSubtype, WidgetChartScenarioMode, WidgetChartAxisValueType, WidgetChartSeriesType, WidgetChartBarLayout, WidgetChartDisplayMode, WidgetChartRankingRule, WidgetChartSortDirection } from './enums/widget';
75
+ import { IWidgetChartConfig, IWidgetChartAxisConfig, IWidgetChartLimitationConfig, IWidgetChartLimitsConfig, IWidgetChartPriceLadderConfig, IWidgetChartProductPriceComparisonConfig, IWidgetChartPortfolioContributionConfig, IWidgetChartKpiTradeOffConfig, IWidgetChartPPAConfig } from './interfaces/widget';
75
76
  import { SystemSpecificKpis, SystemSpecificKpisReferenceIds } from './enums/kpis/system-specific-kpis';
76
- export { BnPermissions, ConfigurableProductFields, SortableProductFields, PriceLevelTypes, StaticLevelReferenceIds, DeeperionVersions, DeeperionAppSwitchValues, DeeperionRequestTypes, DeeperionModelTypes, CustomCostFormulaParams, ClientTerms, DefaultClientTermLabels, ClientCLVPeriods, ClientCLVPriceTypes, DefaultClientCLVPriceTypeLabels, ClientDecimalSettings, DefaultClientDecimalSettings, ClientTypes, IntermediaryGroupTypes, IntermediaryGroupRangeFormats, FittingStatuses, CentralSteeringVersion, Dimension, DimensionValue, BuynomicsAppVersion, ClientDuplicationParts, ClientNumberFormattingSettingsGlobalFormat, ClientNumberFormattingSettingsStyle, ClientNumberFormattingSettingsNotation, ClientNumberFormattingSettingsMetric, ClientNumberFormattingSettingsCurrency, ClientNumberFormattingSettings, NumberFormat, NumberFormatSettings, ClientProductPortfolioVersion, PriceChangeTypes, ChangePriceBases, ChangeProductPriceBases, ClientFeature, ClientFeatureState, ClientFeatures, ClientFeatureScope, ClientFeaturesSettings, ChangeCostBases, CostChangeTypes, AvailabilityChangeTypes, ClientStatus, ClientIndustry, ValueDriverType, KpiConstraintType, KpiConstraintMode, MechanicParamTypes, MechanicParamReferenceIds, MechanicTypeRelations, ProductType, PromotionOfferStatus, PromotionOffersCalendarGroupByOptions, OptimizationStatus, OptimizationKpis, OptimizationSolutionBucket, ScenarioStatus, DateGranularity, DateWeekStart, ClientDateSettings, DefaultClientDateSettings, WidgetType, WidgetPresetAvailability, ISimulationInputChangeEvents, IFitting, IFittingLog, IFileUpload, IPromotionPeriod, calculateRange, getLatestDeeperionVersionValue, getCustomFormulaParamsLabel, formatNumberToIndianCompactInCrores, isCompactIndianFormatInDecimals, EnumHelper, getPropertyName, PriceDecisionNullificationHelper, getPromotionPeriods, ClientViewSettingsPages, IClientViewSettings, DefaultClientFeaturesSettings, DefaultClientFeatures, DefaultClientNumberFormattingSettings, WebsocketEvents, ScenarioEventSource, PromoBaselineStatus, IWebSocketPromoBaselineStatusChangedPayload, KpiVariableFormat, KpiAggregation, KpiDisplayStyle, KpiConfigType, SystemVariableType, KpiSystemVariables, SystemKpis, SystemBaseKpisReferenceIds, SystemScopedKpis, SystemScopedKpisReferenceIds, SystemDerivedKpis, SystemDerivedKpisReferenceIds, SystemSpecificKpisReferenceIds, SystemSpecificKpis, SystemVariablesReferenceIds, ISystemKpiBase, ISystemKpi, ISystemScopedKpi, ISystemVariable, IKpiDisplaySettings, IScopedKpiScope, TimePeriod, DEFAULT_ACTIVE_OPTIMIZATIONS_LIMIT, MAX_ACTIVE_OPTIMIZATIONS_LIMIT, SCENARIO_KPIS_GROUP_BY_MAX_LEVEL, FORMULA_PREFIX_FOR_MEASURING_UNITS, FORMULA_PREFIX_FOR_INPUT_VARIABLES, };
77
+ export { BnPermissions, ConfigurableProductFields, SortableProductFields, PriceLevelTypes, StaticLevelReferenceIds, DeeperionVersions, DeeperionAppSwitchValues, DeeperionRequestTypes, DeeperionModelTypes, CustomCostFormulaParams, ClientTerms, DefaultClientTermLabels, ClientCLVPeriods, ClientCLVPriceTypes, DefaultClientCLVPriceTypeLabels, ClientDecimalSettings, DefaultClientDecimalSettings, ClientTypes, IntermediaryGroupTypes, IntermediaryGroupRangeFormats, FittingStatuses, CentralSteeringVersion, Dimension, DimensionValue, BuynomicsAppVersion, ClientDuplicationParts, ClientNumberFormattingSettingsGlobalFormat, ClientNumberFormattingSettingsStyle, ClientNumberFormattingSettingsNotation, ClientNumberFormattingSettingsMetric, ClientNumberFormattingSettingsCurrency, ClientNumberFormattingSettings, NumberFormat, NumberFormatSettings, ClientProductPortfolioVersion, PriceChangeTypes, ChangePriceBases, ChangeProductPriceBases, ClientFeature, ClientFeatureState, ClientFeatures, ClientFeatureScope, ClientFeaturesSettings, ChangeCostBases, CostChangeTypes, AvailabilityChangeTypes, ClientStatus, ClientIndustry, ValueDriverType, KpiConstraintType, KpiConstraintMode, MechanicParamTypes, MechanicParamReferenceIds, MechanicTypeRelations, ProductType, PromotionOfferStatus, PromotionOffersCalendarGroupByOptions, OptimizationStatus, OptimizationKpis, OptimizationSolutionBucket, ScenarioStatus, DateGranularity, DateWeekStart, ClientDateSettings, DefaultClientDateSettings, WidgetType, WidgetPresetAvailability, WidgetChartCategory, WidgetChartSubtype, WidgetChartScenarioMode, WidgetChartAxisValueType, WidgetChartSeriesType, WidgetChartBarLayout, WidgetChartDisplayMode, WidgetChartRankingRule, WidgetChartSortDirection, IWidgetChartConfig, IWidgetChartAxisConfig, IWidgetChartLimitationConfig, IWidgetChartLimitsConfig, IWidgetChartPriceLadderConfig, IWidgetChartProductPriceComparisonConfig, IWidgetChartPortfolioContributionConfig, IWidgetChartKpiTradeOffConfig, IWidgetChartPPAConfig, ISimulationInputChangeEvents, IFitting, IFittingLog, IFileUpload, IPromotionPeriod, calculateRange, getLatestDeeperionVersionValue, getCustomFormulaParamsLabel, formatNumberToIndianCompactInCrores, isCompactIndianFormatInDecimals, EnumHelper, getPropertyName, PriceDecisionNullificationHelper, getPromotionPeriods, ClientViewSettingsPages, IClientViewSettings, DefaultClientFeaturesSettings, DefaultClientFeatures, DefaultClientNumberFormattingSettings, WebsocketEvents, ScenarioEventSource, PromoBaselineStatus, IWebSocketPromoBaselineStatusChangedPayload, KpiVariableFormat, KpiAggregation, KpiDisplayStyle, KpiConfigType, SystemVariableType, KpiSystemVariables, SystemKpis, SystemBaseKpisReferenceIds, SystemScopedKpis, SystemScopedKpisReferenceIds, SystemDerivedKpis, SystemDerivedKpisReferenceIds, SystemSpecificKpisReferenceIds, SystemSpecificKpis, SystemVariablesReferenceIds, ISystemKpiBase, ISystemKpi, ISystemScopedKpi, ISystemVariable, IKpiDisplaySettings, IScopedKpiScope, TimePeriod, DEFAULT_ACTIVE_OPTIMIZATIONS_LIMIT, MAX_ACTIVE_OPTIMIZATIONS_LIMIT, SCENARIO_KPIS_GROUP_BY_MAX_LEVEL, FORMULA_PREFIX_FOR_MEASURING_UNITS, FORMULA_PREFIX_FOR_INPUT_VARIABLES, };
package/build/index.js CHANGED
@@ -4,7 +4,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.PromotionOffersCalendarGroupByOptions = exports.PromotionOfferStatus = exports.ProductType = exports.MechanicTypeRelations = exports.MechanicParamReferenceIds = exports.MechanicParamTypes = exports.KpiConstraintMode = exports.KpiConstraintType = exports.ValueDriverType = exports.ClientIndustry = exports.ClientStatus = exports.AvailabilityChangeTypes = exports.CostChangeTypes = exports.ChangeCostBases = exports.ClientFeatureScope = exports.ClientFeatureState = exports.ClientFeature = exports.ChangeProductPriceBases = exports.ChangePriceBases = exports.PriceChangeTypes = exports.ClientProductPortfolioVersion = exports.ClientNumberFormattingSettingsCurrency = exports.ClientNumberFormattingSettingsMetric = exports.ClientNumberFormattingSettingsNotation = exports.ClientNumberFormattingSettingsStyle = exports.ClientNumberFormattingSettingsGlobalFormat = exports.ClientDuplicationParts = exports.BuynomicsAppVersion = exports.CentralSteeringVersion = exports.FittingStatuses = exports.IntermediaryGroupRangeFormats = exports.IntermediaryGroupTypes = exports.ClientTypes = exports.DefaultClientDecimalSettings = exports.ClientDecimalSettings = exports.DefaultClientCLVPriceTypeLabels = exports.ClientCLVPriceTypes = exports.ClientCLVPeriods = exports.DefaultClientTermLabels = exports.ClientTerms = exports.CustomCostFormulaParams = exports.DeeperionModelTypes = exports.DeeperionRequestTypes = exports.DeeperionAppSwitchValues = exports.DeeperionVersions = exports.StaticLevelReferenceIds = exports.PriceLevelTypes = exports.SortableProductFields = exports.ConfigurableProductFields = exports.BnPermissions = void 0;
7
- exports.FORMULA_PREFIX_FOR_INPUT_VARIABLES = exports.FORMULA_PREFIX_FOR_MEASURING_UNITS = exports.SCENARIO_KPIS_GROUP_BY_MAX_LEVEL = exports.MAX_ACTIVE_OPTIMIZATIONS_LIMIT = exports.DEFAULT_ACTIVE_OPTIMIZATIONS_LIMIT = exports.SystemVariablesReferenceIds = exports.SystemSpecificKpis = exports.SystemSpecificKpisReferenceIds = exports.SystemDerivedKpisReferenceIds = exports.SystemDerivedKpis = exports.SystemScopedKpisReferenceIds = exports.SystemScopedKpis = exports.SystemBaseKpisReferenceIds = exports.SystemKpis = exports.KpiSystemVariables = exports.SystemVariableType = exports.KpiConfigType = exports.KpiDisplayStyle = exports.KpiAggregation = exports.KpiVariableFormat = exports.PromoBaselineStatus = exports.ScenarioEventSource = exports.WebsocketEvents = exports.DefaultClientNumberFormattingSettings = exports.DefaultClientFeatures = exports.DefaultClientFeaturesSettings = exports.ClientViewSettingsPages = exports.getPromotionPeriods = exports.PriceDecisionNullificationHelper = exports.getPropertyName = exports.EnumHelper = exports.isCompactIndianFormatInDecimals = exports.formatNumberToIndianCompactInCrores = exports.getCustomFormulaParamsLabel = exports.getLatestDeeperionVersionValue = exports.calculateRange = exports.WidgetPresetAvailability = exports.WidgetType = exports.DefaultClientDateSettings = exports.DateWeekStart = exports.DateGranularity = exports.ScenarioStatus = exports.OptimizationSolutionBucket = exports.OptimizationKpis = exports.OptimizationStatus = void 0;
7
+ exports.DEFAULT_ACTIVE_OPTIMIZATIONS_LIMIT = exports.SystemVariablesReferenceIds = exports.SystemSpecificKpis = exports.SystemSpecificKpisReferenceIds = exports.SystemDerivedKpisReferenceIds = exports.SystemDerivedKpis = exports.SystemScopedKpisReferenceIds = exports.SystemScopedKpis = exports.SystemBaseKpisReferenceIds = exports.SystemKpis = exports.KpiSystemVariables = exports.SystemVariableType = exports.KpiConfigType = exports.KpiDisplayStyle = exports.KpiAggregation = exports.KpiVariableFormat = exports.PromoBaselineStatus = exports.ScenarioEventSource = exports.WebsocketEvents = exports.DefaultClientNumberFormattingSettings = exports.DefaultClientFeatures = exports.DefaultClientFeaturesSettings = exports.ClientViewSettingsPages = exports.getPromotionPeriods = exports.PriceDecisionNullificationHelper = exports.getPropertyName = exports.EnumHelper = exports.isCompactIndianFormatInDecimals = exports.formatNumberToIndianCompactInCrores = exports.getCustomFormulaParamsLabel = exports.getLatestDeeperionVersionValue = exports.calculateRange = exports.WidgetChartSortDirection = exports.WidgetChartRankingRule = exports.WidgetChartDisplayMode = exports.WidgetChartBarLayout = exports.WidgetChartSeriesType = exports.WidgetChartAxisValueType = exports.WidgetChartScenarioMode = exports.WidgetChartSubtype = exports.WidgetChartCategory = exports.WidgetPresetAvailability = exports.WidgetType = exports.DefaultClientDateSettings = exports.DateWeekStart = exports.DateGranularity = exports.ScenarioStatus = exports.OptimizationSolutionBucket = exports.OptimizationKpis = exports.OptimizationStatus = void 0;
8
+ exports.FORMULA_PREFIX_FOR_INPUT_VARIABLES = exports.FORMULA_PREFIX_FOR_MEASURING_UNITS = exports.SCENARIO_KPIS_GROUP_BY_MAX_LEVEL = exports.MAX_ACTIVE_OPTIMIZATIONS_LIMIT = void 0;
8
9
  var activeOptimizationsLimit_1 = require("./constants/activeOptimizationsLimit");
9
10
  Object.defineProperty(exports, "DEFAULT_ACTIVE_OPTIMIZATIONS_LIMIT", { enumerable: true, get: function () { return activeOptimizationsLimit_1.DEFAULT_ACTIVE_OPTIMIZATIONS_LIMIT; } });
10
11
  Object.defineProperty(exports, "MAX_ACTIVE_OPTIMIZATIONS_LIMIT", { enumerable: true, get: function () { return activeOptimizationsLimit_1.MAX_ACTIVE_OPTIMIZATIONS_LIMIT; } });
@@ -159,9 +160,18 @@ Object.defineProperty(exports, "SystemScopedKpis", { enumerable: true, get: func
159
160
  Object.defineProperty(exports, "SystemScopedKpisReferenceIds", { enumerable: true, get: function () { return system_scoped_kpis_1.SystemScopedKpisReferenceIds; } });
160
161
  var product_type_enum_1 = require("./enums/product/product-type.enum");
161
162
  Object.defineProperty(exports, "ProductType", { enumerable: true, get: function () { return product_type_enum_1.ProductType; } });
162
- var widget_preset_1 = require("./enums/widget-preset");
163
- Object.defineProperty(exports, "WidgetType", { enumerable: true, get: function () { return widget_preset_1.WidgetType; } });
164
- Object.defineProperty(exports, "WidgetPresetAvailability", { enumerable: true, get: function () { return widget_preset_1.WidgetPresetAvailability; } });
163
+ var widget_1 = require("./enums/widget");
164
+ Object.defineProperty(exports, "WidgetType", { enumerable: true, get: function () { return widget_1.WidgetType; } });
165
+ Object.defineProperty(exports, "WidgetPresetAvailability", { enumerable: true, get: function () { return widget_1.WidgetPresetAvailability; } });
166
+ Object.defineProperty(exports, "WidgetChartCategory", { enumerable: true, get: function () { return widget_1.WidgetChartCategory; } });
167
+ Object.defineProperty(exports, "WidgetChartSubtype", { enumerable: true, get: function () { return widget_1.WidgetChartSubtype; } });
168
+ Object.defineProperty(exports, "WidgetChartScenarioMode", { enumerable: true, get: function () { return widget_1.WidgetChartScenarioMode; } });
169
+ Object.defineProperty(exports, "WidgetChartAxisValueType", { enumerable: true, get: function () { return widget_1.WidgetChartAxisValueType; } });
170
+ Object.defineProperty(exports, "WidgetChartSeriesType", { enumerable: true, get: function () { return widget_1.WidgetChartSeriesType; } });
171
+ Object.defineProperty(exports, "WidgetChartBarLayout", { enumerable: true, get: function () { return widget_1.WidgetChartBarLayout; } });
172
+ Object.defineProperty(exports, "WidgetChartDisplayMode", { enumerable: true, get: function () { return widget_1.WidgetChartDisplayMode; } });
173
+ Object.defineProperty(exports, "WidgetChartRankingRule", { enumerable: true, get: function () { return widget_1.WidgetChartRankingRule; } });
174
+ Object.defineProperty(exports, "WidgetChartSortDirection", { enumerable: true, get: function () { return widget_1.WidgetChartSortDirection; } });
165
175
  var system_specific_kpis_1 = require("./enums/kpis/system-specific-kpis");
166
176
  Object.defineProperty(exports, "SystemSpecificKpis", { enumerable: true, get: function () { return system_specific_kpis_1.SystemSpecificKpis; } });
167
177
  Object.defineProperty(exports, "SystemSpecificKpisReferenceIds", { enumerable: true, get: function () { return system_specific_kpis_1.SystemSpecificKpisReferenceIds; } });
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;AAAA,iFAG6C;AA2Q3C,mHA7QA,6DAAkC,OA6QA;AAClC,+GA7QA,yDAA8B,OA6QA;AA3QhC,yDAA2E;AA4QzE,iHA5QO,+CAAgC,OA4QP;AA3QlC,+DAGoC;AAyQlC,mHA3QA,oDAAkC,OA2QA;AAClC,mHA3QA,oDAAkC,OA2QA;AAzQpC,6EAA0E;AAsKxE,gGAtKO,kCAAe,OAsKP;AAnKjB,4HAAuH;AAkKrH,8GAlKO,gEAA6B,OAkKP;AAjK/B,4GAAwG;AAgKtG,uGAhKO,iDAAsB,OAgKP;AA/JxB,oFAAoF;AA+NlF,oGA/NO,uCAAmB,OA+NP;AA7NrB,mGAA+F;AAwL7F,wGAxLO,mDAAuB,OAwLP;AAvLzB,6DAAiE;AA+J/D,uGA/JO,yCAAsB,OA+JP;AA9JxB,wEAAuE;AAiKrE,oGAjKO,wCAAmB,OAiKP;AAhKrB,wEAAoE;AAoJlE,iGApJO,qCAAgB,OAoJP;AAnJlB,gFAG8C;AAiJ5C,oGAnJA,4CAAmB,OAmJA;AACnB,gHAnJA,wDAA+B,OAmJA;AAjJjC,0DAKmC;AA2LjC,gGA9LA,6BAAe,OA8LA;AACf,8FA9LA,2BAAa,OA8LA;AAEb,0GA/LA,uCAAyB,OA+LA;AA7L3B,kFAG+C;AAyI7C,sGA3IA,+CAAqB,OA2IA;AACrB,6GA3IA,sDAA4B,OA2IA;AAxI9B,oFAAgF;AAiJ9E,uGAjJO,iDAAsB,OAiJP;AAhJxB,kEAMuC;AAuJrC,8FA5JA,+BAAa,OA4JA;AACb,mGA5JA,oCAAkB,OA4JA;AAElB,mGA5JA,oCAAkB,OA4JA;AAzJpB,kEAA+D;AA+J7D,+FA/JO,gCAAc,O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 +1 @@
1
+ export { IWidgetChartAxisConfig, IWidgetChartLimitationConfig, IWidgetChartLimitsConfig, IWidgetChartPriceLadderConfig, IWidgetChartProductPriceComparisonConfig, IWidgetChartPortfolioContributionConfig, IWidgetChartKpiTradeOffConfig, IWidgetChartPPAConfig, IWidgetChartConfig, } from './widget-chart-config.interface';
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/interfaces/widget/index.ts"],"names":[],"mappings":""}
@@ -0,0 +1,74 @@
1
+ import { WidgetChartAxisValueType, WidgetChartBarLayout, WidgetChartCategory, WidgetChartDisplayMode, WidgetChartRankingRule, WidgetChartScenarioMode, WidgetChartSeriesType, WidgetChartSortDirection, WidgetChartSubtype } from '../../enums/widget/widget-chart';
2
+ export interface IWidgetChartAxisConfig {
3
+ dimensionReferenceIds: string[];
4
+ valueType?: WidgetChartAxisValueType;
5
+ isEditableByEndUser: boolean;
6
+ switchableDimensionReferenceIds?: string[];
7
+ }
8
+ export interface IWidgetChartLimitationConfig {
9
+ isEnabled: boolean;
10
+ maxItems: number;
11
+ rankingRule: WidgetChartRankingRule;
12
+ kpiReferenceIdForRanking?: string;
13
+ sortDirection: WidgetChartSortDirection;
14
+ }
15
+ export interface IWidgetChartLimitsConfig {
16
+ xAxis?: IWidgetChartLimitationConfig;
17
+ yAxis?: IWidgetChartLimitationConfig;
18
+ series?: IWidgetChartLimitationConfig;
19
+ grouping?: IWidgetChartLimitationConfig;
20
+ }
21
+ interface IWidgetChartConfigBase {
22
+ xAxis: IWidgetChartAxisConfig;
23
+ yAxis: IWidgetChartAxisConfig;
24
+ limits?: IWidgetChartLimitsConfig;
25
+ }
26
+ export interface IWidgetChartPriceLadderConfig extends IWidgetChartConfigBase {
27
+ category: WidgetChartCategory.PriceLadder;
28
+ subtype: WidgetChartSubtype.Line;
29
+ scenarioMode: WidgetChartScenarioMode;
30
+ series: {
31
+ seriesType: WidgetChartSeriesType;
32
+ seriesDimensionReferenceId?: string;
33
+ isEditableByEndUser?: boolean;
34
+ switchableDimensionReferenceIds?: string[];
35
+ };
36
+ }
37
+ export interface IWidgetChartProductPriceComparisonConfig extends IWidgetChartConfigBase {
38
+ category: WidgetChartCategory.ProductPriceComparison;
39
+ subtype: WidgetChartSubtype;
40
+ }
41
+ export interface IWidgetChartPortfolioContributionConfig extends IWidgetChartConfigBase {
42
+ category: WidgetChartCategory.PortfolioContribution;
43
+ subtype: WidgetChartSubtype;
44
+ scenarioMode: WidgetChartScenarioMode;
45
+ series: {
46
+ barLayout?: WidgetChartBarLayout;
47
+ displayMode?: WidgetChartDisplayMode;
48
+ seriesDimensionReferenceId?: string;
49
+ isEditableByEndUser?: boolean;
50
+ switchableDimensionReferenceIds?: string[];
51
+ };
52
+ }
53
+ export interface IWidgetChartKpiTradeOffConfig extends IWidgetChartConfigBase {
54
+ category: WidgetChartCategory.KpiTradeOff;
55
+ scenarioMode: WidgetChartScenarioMode;
56
+ subtype: WidgetChartSubtype;
57
+ series: {
58
+ kpiReferenceIdForBubbleSize?: string;
59
+ colorGroupingDimensionReferenceId?: string;
60
+ };
61
+ }
62
+ export interface IWidgetChartPPAConfig extends IWidgetChartConfigBase {
63
+ category: WidgetChartCategory.PPAStructureWhiteSpace;
64
+ subtype: WidgetChartSubtype;
65
+ series: {
66
+ seriesDimensionReferenceId?: string;
67
+ isEditableByEndUser?: boolean;
68
+ switchableDimensionReferenceIds?: string[];
69
+ kpiReferenceIdForBubbleSize?: string;
70
+ colorGroupingDimensionReferenceId?: string;
71
+ };
72
+ }
73
+ export type IWidgetChartConfig = IWidgetChartPriceLadderConfig | IWidgetChartProductPriceComparisonConfig | IWidgetChartPortfolioContributionConfig | IWidgetChartKpiTradeOffConfig | IWidgetChartPPAConfig;
74
+ export {};
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=widget-chart-config.interface.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"widget-chart-config.interface.js","sourceRoot":"","sources":["../../../src/interfaces/widget/widget-chart-config.interface.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,11 +1,12 @@
1
1
  {
2
2
  "name": "@buynomics-lib/bn-shared",
3
- "version": "1.17.91",
3
+ "version": "1.17.93-feature-cf-222.0",
4
4
  "description": "Shared functionality between API and UI",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
7
7
  "scripts": {
8
8
  "build": "tsc",
9
+ "check-typescript": "tsc --noEmit",
9
10
  "lint": "tslint -p tsconfig.json",
10
11
  "test": "jest --config jestconfig.json",
11
12
  "prepare": "npm run build"
@@ -1 +0,0 @@
1
- export { WidgetType, WidgetPresetAvailability } from './widget-preset';
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.WidgetPresetAvailability = exports.WidgetType = void 0;
4
- var widget_preset_1 = require("./widget-preset");
5
- Object.defineProperty(exports, "WidgetType", { enumerable: true, get: function () { return widget_preset_1.WidgetType; } });
6
- Object.defineProperty(exports, "WidgetPresetAvailability", { enumerable: true, get: function () { return widget_preset_1.WidgetPresetAvailability; } });
7
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/enums/widget-preset/index.ts"],"names":[],"mappings":";;;AAAA,iDAAsE;AAA7D,2GAAA,UAAU,OAAA;AAAE,yHAAA,wBAAwB,OAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"widget-preset.js","sourceRoot":"","sources":["../../../src/enums/widget-preset/widget-preset.ts"],"names":[],"mappings":";;;AAAA,IAAY,UAKX;AALD,WAAY,UAAU;IACpB,6BAAe,CAAA;IACf,6BAAe,CAAA;IACf,+BAAiB,CAAA;IACjB,qCAAuB,CAAA;AACzB,CAAC,EALW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAKrB;AAED,IAAY,wBAIX;AAJD,WAAY,wBAAwB;IAClC,iDAAqB,CAAA;IACrB,6CAAiB,CAAA;IACjB,yCAAa,CAAA;AACf,CAAC,EAJW,wBAAwB,GAAxB,gCAAwB,KAAxB,gCAAwB,QAInC"}