@buynomics-lib/bn-shared 1.17.89 → 1.17.90-feature-cf-222.3

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,40 @@
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
+ Scatter = "scatter",
10
+ Bubble = "bubble"
11
+ }
12
+ export declare enum WidgetChartScenarioMode {
13
+ Single = "single",
14
+ Multi = "multi"
15
+ }
16
+ export declare enum WidgetChartAxisValueType {
17
+ Absolute = "absolute",
18
+ DeltaVsReference = "delta_vs_reference"
19
+ }
20
+ export declare enum WidgetChartSeriesType {
21
+ KpiSeries = "kpi_series",
22
+ DimensionSeries = "dimension_series"
23
+ }
24
+ export declare enum WidgetChartBarLayout {
25
+ Grouped = "grouped",
26
+ Stacked = "stacked"
27
+ }
28
+ export declare enum WidgetChartDisplayMode {
29
+ Absolute = "absolute",
30
+ Percentage = "percentage"
31
+ }
32
+ export declare enum WidgetChartRankingRule {
33
+ ByName = "by_name",
34
+ ByKpiValue = "by_kpi_value",
35
+ ByKpiDelta = "by_kpi_delta"
36
+ }
37
+ export declare enum WidgetChartSortDirection {
38
+ Ascending = "ascending",
39
+ Descending = "descending"
40
+ }
@@ -0,0 +1,53 @@
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["Scatter"] = "scatter";
15
+ WidgetChartSubtype["Bubble"] = "bubble";
16
+ })(WidgetChartSubtype = exports.WidgetChartSubtype || (exports.WidgetChartSubtype = {}));
17
+ var WidgetChartScenarioMode;
18
+ (function (WidgetChartScenarioMode) {
19
+ WidgetChartScenarioMode["Single"] = "single";
20
+ WidgetChartScenarioMode["Multi"] = "multi";
21
+ })(WidgetChartScenarioMode = exports.WidgetChartScenarioMode || (exports.WidgetChartScenarioMode = {}));
22
+ var WidgetChartAxisValueType;
23
+ (function (WidgetChartAxisValueType) {
24
+ WidgetChartAxisValueType["Absolute"] = "absolute";
25
+ WidgetChartAxisValueType["DeltaVsReference"] = "delta_vs_reference";
26
+ })(WidgetChartAxisValueType = exports.WidgetChartAxisValueType || (exports.WidgetChartAxisValueType = {}));
27
+ var WidgetChartSeriesType;
28
+ (function (WidgetChartSeriesType) {
29
+ WidgetChartSeriesType["KpiSeries"] = "kpi_series";
30
+ WidgetChartSeriesType["DimensionSeries"] = "dimension_series";
31
+ })(WidgetChartSeriesType = exports.WidgetChartSeriesType || (exports.WidgetChartSeriesType = {}));
32
+ var WidgetChartBarLayout;
33
+ (function (WidgetChartBarLayout) {
34
+ WidgetChartBarLayout["Grouped"] = "grouped";
35
+ WidgetChartBarLayout["Stacked"] = "stacked";
36
+ })(WidgetChartBarLayout = exports.WidgetChartBarLayout || (exports.WidgetChartBarLayout = {}));
37
+ var WidgetChartDisplayMode;
38
+ (function (WidgetChartDisplayMode) {
39
+ WidgetChartDisplayMode["Absolute"] = "absolute";
40
+ WidgetChartDisplayMode["Percentage"] = "percentage";
41
+ })(WidgetChartDisplayMode = exports.WidgetChartDisplayMode || (exports.WidgetChartDisplayMode = {}));
42
+ var WidgetChartRankingRule;
43
+ (function (WidgetChartRankingRule) {
44
+ WidgetChartRankingRule["ByName"] = "by_name";
45
+ WidgetChartRankingRule["ByKpiValue"] = "by_kpi_value";
46
+ WidgetChartRankingRule["ByKpiDelta"] = "by_kpi_delta";
47
+ })(WidgetChartRankingRule = exports.WidgetChartRankingRule || (exports.WidgetChartRankingRule = {}));
48
+ var WidgetChartSortDirection;
49
+ (function (WidgetChartSortDirection) {
50
+ WidgetChartSortDirection["Ascending"] = "ascending";
51
+ WidgetChartSortDirection["Descending"] = "descending";
52
+ })(WidgetChartSortDirection = exports.WidgetChartSortDirection || (exports.WidgetChartSortDirection = {}));
53
+ //# sourceMappingURL=widget-chart.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"widget-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AAA;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
@@ -69,6 +69,7 @@ import { SystemScopedKpis, SystemScopedKpisReferenceIds } from './enums/kpis/sys
69
69
  import { ISystemKpiBase, ISystemKpi, IKpiDisplaySettings, ISystemScopedKpi, IScopedKpiScope, ISystemVariable } from './interfaces/kpis/system-kpi.interface';
70
70
  import { TimePeriod } from './interfaces/time/time-period';
71
71
  import { ProductType } from './enums/product/product-type.enum';
72
- import { WidgetType, WidgetPresetAvailability } from './enums/widget-preset';
72
+ import { WidgetType, WidgetPresetAvailability, WidgetChartCategory, WidgetChartSubtype, WidgetChartScenarioMode, WidgetChartAxisValueType, WidgetChartSeriesType, WidgetChartBarLayout, WidgetChartDisplayMode, WidgetChartRankingRule, WidgetChartSortDirection } from './enums/widget';
73
+ import { IWidgetChartConfig, IWidgetChartAxisConfig, IWidgetChartLimitationConfig, IWidgetChartLimitsConfig, IWidgetChartPriceLadderConfig, IWidgetChartProductPriceComparisonConfig, IWidgetChartPortfolioContributionConfig, IWidgetChartKpiTradeOffConfig, IWidgetChartPPAConfig } from './interfaces/widget';
73
74
  import { SystemSpecificKpis, SystemSpecificKpisReferenceIds } from './enums/kpis/system-specific-kpis';
74
- 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, 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, };
75
+ 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, 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.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.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.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 = 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; } });
@@ -157,9 +158,18 @@ Object.defineProperty(exports, "SystemScopedKpis", { enumerable: true, get: func
157
158
  Object.defineProperty(exports, "SystemScopedKpisReferenceIds", { enumerable: true, get: function () { return system_scoped_kpis_1.SystemScopedKpisReferenceIds; } });
158
159
  var product_type_enum_1 = require("./enums/product/product-type.enum");
159
160
  Object.defineProperty(exports, "ProductType", { enumerable: true, get: function () { return product_type_enum_1.ProductType; } });
160
- var widget_preset_1 = require("./enums/widget-preset");
161
- Object.defineProperty(exports, "WidgetType", { enumerable: true, get: function () { return widget_preset_1.WidgetType; } });
162
- Object.defineProperty(exports, "WidgetPresetAvailability", { enumerable: true, get: function () { return widget_preset_1.WidgetPresetAvailability; } });
161
+ var widget_1 = require("./enums/widget");
162
+ Object.defineProperty(exports, "WidgetType", { enumerable: true, get: function () { return widget_1.WidgetType; } });
163
+ Object.defineProperty(exports, "WidgetPresetAvailability", { enumerable: true, get: function () { return widget_1.WidgetPresetAvailability; } });
164
+ Object.defineProperty(exports, "WidgetChartCategory", { enumerable: true, get: function () { return widget_1.WidgetChartCategory; } });
165
+ Object.defineProperty(exports, "WidgetChartSubtype", { enumerable: true, get: function () { return widget_1.WidgetChartSubtype; } });
166
+ Object.defineProperty(exports, "WidgetChartScenarioMode", { enumerable: true, get: function () { return widget_1.WidgetChartScenarioMode; } });
167
+ Object.defineProperty(exports, "WidgetChartAxisValueType", { enumerable: true, get: function () { return widget_1.WidgetChartAxisValueType; } });
168
+ Object.defineProperty(exports, "WidgetChartSeriesType", { enumerable: true, get: function () { return widget_1.WidgetChartSeriesType; } });
169
+ Object.defineProperty(exports, "WidgetChartBarLayout", { enumerable: true, get: function () { return widget_1.WidgetChartBarLayout; } });
170
+ Object.defineProperty(exports, "WidgetChartDisplayMode", { enumerable: true, get: function () { return widget_1.WidgetChartDisplayMode; } });
171
+ Object.defineProperty(exports, "WidgetChartRankingRule", { enumerable: true, get: function () { return widget_1.WidgetChartRankingRule; } });
172
+ Object.defineProperty(exports, "WidgetChartSortDirection", { enumerable: true, get: function () { return widget_1.WidgetChartSortDirection; } });
163
173
  var system_specific_kpis_1 = require("./enums/kpis/system-specific-kpis");
164
174
  Object.defineProperty(exports, "SystemSpecificKpis", { enumerable: true, get: function () { return system_specific_kpis_1.SystemSpecificKpis; } });
165
175
  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;AAuQ3C,mHAzQA,6DAAkC,OAyQA;AAClC,+GAzQA,yDAA8B,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AA6F;AA8J3F,2CA9JK,+BAAgC,CA8JL;AA1JlC,kFAI8C;AAgK5C,+FAnKA,yCAAc,OAmKA;AADd,kGAjKA,4CAAiB,OAiKA;AAIjB,mGApKA,6CAAkB,OAoKA;AAlKpB,8EAAqE;AAgKnE,gGAhKO,wCAAe,OAgKP;AA/JjB,0EAAiE;AAgK/D,8FAhKO,oCAAa,OAgKP;AA/Jf,0EAG0C;AA8JxC,mGAhKA,yCAAkB,OAgKA;AASlB,4GAxKA,kDAA2B,OAwKA;AAtK7B,sEAGwC;AA6JtC,iGA/JA,qCAAgB,OA+JA;AAChB,6GA/JA,iDAA4B,OA+JA;AApJ9B,uEAA+D;AAqF7D,4FArFO,+BAAW,OAqFP;AApFb,yCAYuB;AAmFrB,2FA9FA,mBAAU,OA8FA;AACV,yGA9FA,iCAAwB,OA8FA;AACxB,oGA9FA,4BAAmB,OA8FA;AACnB,mGA9FA,2BAAkB,OA8FA;AAClB,wGA9FA,gCAAuB,OA8FA;AACvB,yGA9FA,iCAAwB,OA8FA;AACxB,sGA9FA,8BAAqB,OA8FA;AACrB,qGA9FA,6BAAoB,OA8FA;AACpB,uGA9FA,+BAAsB,OA8FA;AACtB,uGA9FA,+BAAsB,OA8FA;AACtB,yGA9FA,iCAAwB,OA8FA;AAjF1B,0EAG0C;AA4HxC,mGA9HA,yCAAkB,OA8HA;AADlB,+GA5HA,qDAA8B,OA4HA"}
@@ -0,0 +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,71 @@
1
+ import { WidgetChartAxisValueType, WidgetChartBarLayout, WidgetChartCategory, WidgetChartDisplayMode, WidgetChartRankingRule, WidgetChartScenarioMode, WidgetChartSeriesType, WidgetChartSortDirection, WidgetChartSubtype } from '../../enums/widget/widget-chart';
2
+ export interface IWidgetChartAxisConfig {
3
+ dimensionReferenceId: 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
+ rankByKpiReferenceId?: string;
13
+ sortDirection: WidgetChartSortDirection;
14
+ }
15
+ export interface IWidgetChartLimitsConfig {
16
+ xAxis?: IWidgetChartLimitationConfig;
17
+ series?: IWidgetChartLimitationConfig;
18
+ grouping?: IWidgetChartLimitationConfig;
19
+ }
20
+ interface IWidgetChartConfigBase {
21
+ xAxis: IWidgetChartAxisConfig;
22
+ yAxis: IWidgetChartAxisConfig;
23
+ limits?: IWidgetChartLimitsConfig;
24
+ }
25
+ export interface IWidgetChartPriceLadderConfig extends IWidgetChartConfigBase {
26
+ category: WidgetChartCategory.PriceLadder;
27
+ scenarioMode: WidgetChartScenarioMode;
28
+ series: {
29
+ seriesType: WidgetChartSeriesType;
30
+ seriesDimensionReferenceId?: string;
31
+ isEditableByEndUser?: boolean;
32
+ switchableDimensionReferenceIds?: string[];
33
+ };
34
+ }
35
+ export interface IWidgetChartProductPriceComparisonConfig extends IWidgetChartConfigBase {
36
+ category: WidgetChartCategory.ProductPriceComparison;
37
+ series: Record<string, never>;
38
+ }
39
+ export interface IWidgetChartPortfolioContributionConfig extends IWidgetChartConfigBase {
40
+ category: WidgetChartCategory.PortfolioContribution;
41
+ scenarioMode: WidgetChartScenarioMode;
42
+ series: {
43
+ barLayout?: WidgetChartBarLayout;
44
+ displayMode?: WidgetChartDisplayMode;
45
+ seriesDimensionReferenceId?: string;
46
+ isEditableByEndUser?: boolean;
47
+ switchableDimensionReferenceIds?: string[];
48
+ };
49
+ }
50
+ export interface IWidgetChartKpiTradeOffConfig extends IWidgetChartConfigBase {
51
+ category: WidgetChartCategory.KpiTradeOff;
52
+ scenarioMode: WidgetChartScenarioMode;
53
+ subtype?: WidgetChartSubtype;
54
+ series: {
55
+ bubbleSizeKpiReferenceId?: string;
56
+ colorGroupingDimensionReferenceId?: string;
57
+ };
58
+ }
59
+ export interface IWidgetChartPPAConfig extends IWidgetChartConfigBase {
60
+ category: WidgetChartCategory.PPAStructureWhiteSpace;
61
+ subtype?: WidgetChartSubtype;
62
+ series: {
63
+ seriesDimensionReferenceId?: string;
64
+ isEditableByEndUser?: boolean;
65
+ switchableDimensionReferenceIds?: string[];
66
+ bubbleSizeKpiReferenceId?: string;
67
+ colorGroupingDimensionReferenceId?: string;
68
+ };
69
+ }
70
+ export type IWidgetChartConfig = IWidgetChartPriceLadderConfig | IWidgetChartProductPriceComparisonConfig | IWidgetChartPortfolioContributionConfig | IWidgetChartKpiTradeOffConfig | IWidgetChartPPAConfig;
71
+ 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,6 +1,6 @@
1
1
  {
2
2
  "name": "@buynomics-lib/bn-shared",
3
- "version": "1.17.89",
3
+ "version": "1.17.90-feature-cf-222.3",
4
4
  "description": "Shared functionality between API and UI",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -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"}