@buynomics-lib/bn-shared 1.17.91 → 1.17.92-feature-bb-454.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/enums/widget/index.d.ts +2 -0
- package/build/enums/widget/index.js +17 -0
- package/build/enums/widget/index.js.map +1 -0
- package/build/enums/widget/widget-chart.d.ts +42 -0
- package/build/enums/widget/widget-chart.js +55 -0
- package/build/enums/widget/widget-chart.js.map +1 -0
- package/build/enums/widget/widget-preset.js.map +1 -0
- package/build/index.d.ts +3 -3
- package/build/index.js +14 -6
- package/build/index.js.map +1 -1
- package/build/interfaces/websocket/promo-baseline-status-changed.d.ts +2 -2
- package/build/interfaces/widget/index.d.ts +1 -0
- package/build/interfaces/widget/index.js +3 -0
- package/build/interfaces/widget/index.js.map +1 -0
- package/build/interfaces/widget/widget-chart-config.interface.d.ts +74 -0
- package/build/interfaces/widget/widget-chart-config.interface.js +3 -0
- package/build/interfaces/widget/widget-chart-config.interface.js.map +1 -0
- package/package.json +2 -1
- package/build/enums/websocket/promo-baseline-status.d.ts +0 -5
- package/build/enums/websocket/promo-baseline-status.js +0 -10
- package/build/enums/websocket/promo-baseline-status.js.map +0 -1
- package/build/enums/widget-preset/index.d.ts +0 -1
- package/build/enums/widget-preset/index.js +0 -7
- package/build/enums/widget-preset/index.js.map +0 -1
- package/build/enums/widget-preset/widget-preset.js.map +0 -1
- /package/build/enums/{widget-preset → widget}/widget-preset.d.ts +0 -0
- /package/build/enums/{widget-preset → widget}/widget-preset.js +0 -0
|
@@ -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
|
@@ -47,7 +47,6 @@ import { CustomCostFormulaParams, getCustomFormulaParamsLabel } from './enums/sc
|
|
|
47
47
|
import { PromotionOffersCalendarGroupByOptions } from './enums/scenario/promotion-offers-calendar-group-by-options';
|
|
48
48
|
import { ScenarioStatus } from './enums/scenario/scenario-status';
|
|
49
49
|
import { ValueDriverType } from './enums/segment/value-driver/value-driver-type';
|
|
50
|
-
import { PromoBaselineStatus } from './enums/websocket/promo-baseline-status';
|
|
51
50
|
import { ScenarioEventSource } from './enums/websocket/websocket-event-source';
|
|
52
51
|
import { WebsocketEvents } from './enums/websocket/websocket-events';
|
|
53
52
|
import { IWebSocketPromoBaselineStatusChangedPayload } from './interfaces/websocket/promo-baseline-status-changed';
|
|
@@ -71,6 +70,7 @@ import { SystemScopedKpis, SystemScopedKpisReferenceIds } from './enums/kpis/sys
|
|
|
71
70
|
import { ISystemKpiBase, ISystemKpi, IKpiDisplaySettings, ISystemScopedKpi, IScopedKpiScope, ISystemVariable } from './interfaces/kpis/system-kpi.interface';
|
|
72
71
|
import { TimePeriod } from './interfaces/time/time-period';
|
|
73
72
|
import { ProductType } from './enums/product/product-type.enum';
|
|
74
|
-
import { WidgetType, WidgetPresetAvailability } from './enums/widget
|
|
73
|
+
import { WidgetType, WidgetPresetAvailability, WidgetChartCategory, WidgetChartSubtype, WidgetChartScenarioMode, WidgetChartAxisValueType, WidgetChartSeriesType, WidgetChartBarLayout, WidgetChartDisplayMode, WidgetChartRankingRule, WidgetChartSortDirection } from './enums/widget';
|
|
74
|
+
import { IWidgetChartConfig, IWidgetChartAxisConfig, IWidgetChartLimitationConfig, IWidgetChartLimitsConfig, IWidgetChartPriceLadderConfig, IWidgetChartProductPriceComparisonConfig, IWidgetChartPortfolioContributionConfig, IWidgetChartKpiTradeOffConfig, IWidgetChartPPAConfig } from './interfaces/widget';
|
|
75
75
|
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,
|
|
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, 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, 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.
|
|
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; } });
|
|
@@ -118,8 +119,6 @@ var scenario_status_1 = require("./enums/scenario/scenario-status");
|
|
|
118
119
|
Object.defineProperty(exports, "ScenarioStatus", { enumerable: true, get: function () { return scenario_status_1.ScenarioStatus; } });
|
|
119
120
|
var value_driver_type_1 = require("./enums/segment/value-driver/value-driver-type");
|
|
120
121
|
Object.defineProperty(exports, "ValueDriverType", { enumerable: true, get: function () { return value_driver_type_1.ValueDriverType; } });
|
|
121
|
-
var promo_baseline_status_1 = require("./enums/websocket/promo-baseline-status");
|
|
122
|
-
Object.defineProperty(exports, "PromoBaselineStatus", { enumerable: true, get: function () { return promo_baseline_status_1.PromoBaselineStatus; } });
|
|
123
122
|
var websocket_event_source_1 = require("./enums/websocket/websocket-event-source");
|
|
124
123
|
Object.defineProperty(exports, "ScenarioEventSource", { enumerable: true, get: function () { return websocket_event_source_1.ScenarioEventSource; } });
|
|
125
124
|
var websocket_events_1 = require("./enums/websocket/websocket-events");
|
|
@@ -159,9 +158,18 @@ Object.defineProperty(exports, "SystemScopedKpis", { enumerable: true, get: func
|
|
|
159
158
|
Object.defineProperty(exports, "SystemScopedKpisReferenceIds", { enumerable: true, get: function () { return system_scoped_kpis_1.SystemScopedKpisReferenceIds; } });
|
|
160
159
|
var product_type_enum_1 = require("./enums/product/product-type.enum");
|
|
161
160
|
Object.defineProperty(exports, "ProductType", { enumerable: true, get: function () { return product_type_enum_1.ProductType; } });
|
|
162
|
-
var
|
|
163
|
-
Object.defineProperty(exports, "WidgetType", { enumerable: true, get: function () { return
|
|
164
|
-
Object.defineProperty(exports, "WidgetPresetAvailability", { enumerable: true, get: function () { return
|
|
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; } });
|
|
165
173
|
var system_specific_kpis_1 = require("./enums/kpis/system-specific-kpis");
|
|
166
174
|
Object.defineProperty(exports, "SystemSpecificKpis", { enumerable: true, get: function () { return system_specific_kpis_1.SystemSpecificKpis; } });
|
|
167
175
|
Object.defineProperty(exports, "SystemSpecificKpisReferenceIds", { enumerable: true, get: function () { return system_specific_kpis_1.SystemSpecificKpisReferenceIds; } });
|
package/build/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;AAAA,iFAG6C;AAkT3C,mHApTA,6DAAkC,OAoTA;AAClC,+GApTA,yDAA8B,OAoTA;AAlThC,yDAA2E;AAmTzE,iHAnTO,+CAAgC,OAmTP;AAlTlC,+DAGoC;AAgTlC,mHAlTA,oDAAkC,OAkTA;AAClC,mHAlTA,oDAAkC,OAkTA;AAhTpC,6EAA0E;AA4LxE,gGA5LO,kCAAe,OA4LP;AAzLjB,4HAAuH;AAwLrH,8GAxLO,gEAA6B,OAwLP;AAvL/B,4GAAwG;AAsLtG,uGAtLO,iDAAsB,OAsLP;AArLxB,oFAAoF;AAuQlF,oGAvQO,uCAAmB,OAuQP;AArQrB,mGAA+F;AA8M7F,wGA9MO,mDAAuB,OA8MP;AA7MzB,6DAAiE;AAqL/D,uGArLO,yCAAsB,OAqLP;AApLxB,wEAAuE;AAuLrE,oGAvLO,wCAAmB,OAuLP;AAtLrB,wEAAoE;AA0KlE,iGA1KO,qCAAgB,OA0KP;AAzKlB,gFAG8C;AAuK5C,o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
|
+
import { ScenarioStatus } from '../../enums/scenario/scenario-status';
|
|
2
2
|
export interface IWebSocketPromoBaselineStatusChangedPayload {
|
|
3
3
|
scenarioId: string;
|
|
4
4
|
promotionOfferReferenceIds: string[];
|
|
5
|
-
status:
|
|
5
|
+
status: ScenarioStatus;
|
|
6
6
|
errorReason?: string;
|
|
7
7
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { IWidgetChartAxisConfig, IWidgetChartLimitationConfig, IWidgetChartLimitsConfig, IWidgetChartPriceLadderConfig, IWidgetChartProductPriceComparisonConfig, IWidgetChartPortfolioContributionConfig, IWidgetChartKpiTradeOffConfig, IWidgetChartPPAConfig, IWidgetChartConfig, } from './widget-chart-config.interface';
|
|
@@ -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 @@
|
|
|
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.
|
|
3
|
+
"version": "1.17.92-feature-bb-454.1",
|
|
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,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PromoBaselineStatus = void 0;
|
|
4
|
-
var PromoBaselineStatus;
|
|
5
|
-
(function (PromoBaselineStatus) {
|
|
6
|
-
PromoBaselineStatus["Calculating"] = "calculating";
|
|
7
|
-
PromoBaselineStatus["Ready"] = "ready";
|
|
8
|
-
PromoBaselineStatus["Failed"] = "failed";
|
|
9
|
-
})(PromoBaselineStatus = exports.PromoBaselineStatus || (exports.PromoBaselineStatus = {}));
|
|
10
|
-
//# sourceMappingURL=promo-baseline-status.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"promo-baseline-status.js","sourceRoot":"","sources":["../../../src/enums/websocket/promo-baseline-status.ts"],"names":[],"mappings":";;;AAAA,IAAY,mBAIX;AAJD,WAAY,mBAAmB;IAC7B,kDAA2B,CAAA;IAC3B,sCAAe,CAAA;IACf,wCAAiB,CAAA;AACnB,CAAC,EAJW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAI9B"}
|
|
@@ -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"}
|
|
File without changes
|
|
File without changes
|