@buynomics-lib/bn-shared 1.17.93 → 1.17.94-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-preset/index.d.ts +1 -0
- package/build/enums/widget-preset/index.js +7 -0
- package/build/enums/widget-preset/index.js.map +1 -0
- package/build/enums/widget-preset/widget-preset.js.map +1 -0
- package/build/index.d.ts +2 -4
- package/build/index.js +4 -16
- package/build/index.js.map +1 -1
- package/build/interfaces/kpis/system-kpi.interface.d.ts +0 -4
- package/build/interfaces/websocket/promo-baseline-status-changed.d.ts +2 -2
- package/package.json +1 -2
- 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/index.d.ts +0 -2
- package/build/enums/widget/index.js +0 -17
- package/build/enums/widget/index.js.map +0 -1
- package/build/enums/widget/widget-chart.d.ts +0 -42
- package/build/enums/widget/widget-chart.js +0 -55
- package/build/enums/widget/widget-chart.js.map +0 -1
- package/build/enums/widget/widget-preset.js.map +0 -1
- package/build/interfaces/widget/index.d.ts +0 -1
- package/build/interfaces/widget/index.js +0 -3
- package/build/interfaces/widget/index.js.map +0 -1
- package/build/interfaces/widget/widget-chart-config.interface.d.ts +0 -74
- package/build/interfaces/widget/widget-chart-config.interface.js +0 -3
- package/build/interfaces/widget/widget-chart-config.interface.js.map +0 -1
- /package/build/enums/{widget → widget-preset}/widget-preset.d.ts +0 -0
- /package/build/enums/{widget → widget-preset}/widget-preset.js +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { WidgetType, WidgetPresetAvailability } from './widget-preset';
|
|
@@ -0,0 +1,7 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
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,7 +70,6 @@ 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
|
|
75
|
-
import { IWidgetChartConfig, IWidgetChartAxisConfig, IWidgetChartLimitationConfig, IWidgetChartLimitsConfig, IWidgetChartPriceLadderConfig, IWidgetChartProductPriceComparisonConfig, IWidgetChartPortfolioContributionConfig, IWidgetChartKpiTradeOffConfig, IWidgetChartPPAConfig } from './interfaces/widget';
|
|
73
|
+
import { WidgetType, WidgetPresetAvailability } from './enums/widget-preset';
|
|
76
74
|
import { SystemSpecificKpis, SystemSpecificKpisReferenceIds } from './enums/kpis/system-specific-kpis';
|
|
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,
|
|
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, 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,8 +4,7 @@ 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.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.
|
|
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;
|
|
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;
|
|
9
8
|
var activeOptimizationsLimit_1 = require("./constants/activeOptimizationsLimit");
|
|
10
9
|
Object.defineProperty(exports, "DEFAULT_ACTIVE_OPTIMIZATIONS_LIMIT", { enumerable: true, get: function () { return activeOptimizationsLimit_1.DEFAULT_ACTIVE_OPTIMIZATIONS_LIMIT; } });
|
|
11
10
|
Object.defineProperty(exports, "MAX_ACTIVE_OPTIMIZATIONS_LIMIT", { enumerable: true, get: function () { return activeOptimizationsLimit_1.MAX_ACTIVE_OPTIMIZATIONS_LIMIT; } });
|
|
@@ -119,8 +118,6 @@ var scenario_status_1 = require("./enums/scenario/scenario-status");
|
|
|
119
118
|
Object.defineProperty(exports, "ScenarioStatus", { enumerable: true, get: function () { return scenario_status_1.ScenarioStatus; } });
|
|
120
119
|
var value_driver_type_1 = require("./enums/segment/value-driver/value-driver-type");
|
|
121
120
|
Object.defineProperty(exports, "ValueDriverType", { enumerable: true, get: function () { return value_driver_type_1.ValueDriverType; } });
|
|
122
|
-
var promo_baseline_status_1 = require("./enums/websocket/promo-baseline-status");
|
|
123
|
-
Object.defineProperty(exports, "PromoBaselineStatus", { enumerable: true, get: function () { return promo_baseline_status_1.PromoBaselineStatus; } });
|
|
124
121
|
var websocket_event_source_1 = require("./enums/websocket/websocket-event-source");
|
|
125
122
|
Object.defineProperty(exports, "ScenarioEventSource", { enumerable: true, get: function () { return websocket_event_source_1.ScenarioEventSource; } });
|
|
126
123
|
var websocket_events_1 = require("./enums/websocket/websocket-events");
|
|
@@ -160,18 +157,9 @@ Object.defineProperty(exports, "SystemScopedKpis", { enumerable: true, get: func
|
|
|
160
157
|
Object.defineProperty(exports, "SystemScopedKpisReferenceIds", { enumerable: true, get: function () { return system_scoped_kpis_1.SystemScopedKpisReferenceIds; } });
|
|
161
158
|
var product_type_enum_1 = require("./enums/product/product-type.enum");
|
|
162
159
|
Object.defineProperty(exports, "ProductType", { enumerable: true, get: function () { return product_type_enum_1.ProductType; } });
|
|
163
|
-
var
|
|
164
|
-
Object.defineProperty(exports, "WidgetType", { enumerable: true, get: function () { return
|
|
165
|
-
Object.defineProperty(exports, "WidgetPresetAvailability", { enumerable: true, get: function () { return
|
|
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; } });
|
|
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; } });
|
|
175
163
|
var system_specific_kpis_1 = require("./enums/kpis/system-specific-kpis");
|
|
176
164
|
Object.defineProperty(exports, "SystemSpecificKpis", { enumerable: true, get: function () { return system_specific_kpis_1.SystemSpecificKpis; } });
|
|
177
165
|
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;AAyQ3C,mHA3QA,6DAAkC,OA2QA;AAClC,+GA3QA,yDAA8B,OA2QA;AAzQhC,yDAA2E;AA0QzE,iHA1QO,+CAAgC,OA0QP;AAzQlC,+DAGoC;AAuQlC,mHAzQA,oDAAkC,OAyQA;AAClC,mHAzQA,oDAAkC,OAyQA;AAvQpC,6EAA0E;AAqKxE,gGArKO,kCAAe,OAq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mGA7GA,yCAAkB,OA6GA;AADlB,+GA3GA,qDAA8B,OA2GA"}
|
|
@@ -6,12 +6,8 @@ import { ProductType } from '../../enums/product/product-type.enum';
|
|
|
6
6
|
export interface IScopedKpiScope {
|
|
7
7
|
productTypes?: ProductType[];
|
|
8
8
|
segmentReferenceIds?: string[];
|
|
9
|
-
subsegmentReferenceIds?: string[];
|
|
10
9
|
salesChannelReferenceIds?: string[];
|
|
11
10
|
timePeriods?: TimePeriod[];
|
|
12
|
-
aggregationGroups?: {
|
|
13
|
-
[aggregationGroupReferenceId: string]: string[];
|
|
14
|
-
};
|
|
15
11
|
}
|
|
16
12
|
export interface IKpiDisplaySettings {
|
|
17
13
|
minDecimalPlaces: number;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
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
|
}
|
package/package.json
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@buynomics-lib/bn-shared",
|
|
3
|
-
"version": "1.17.
|
|
3
|
+
"version": "1.17.94-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",
|
|
10
9
|
"lint": "tslint -p tsconfig.json",
|
|
11
10
|
"test": "jest --config jestconfig.json",
|
|
12
11
|
"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,2 +0,0 @@
|
|
|
1
|
-
export { WidgetType, WidgetPresetAvailability } from './widget-preset';
|
|
2
|
-
export { WidgetChartCategory, WidgetChartSubtype, WidgetChartScenarioMode, WidgetChartAxisValueType, WidgetChartSeriesType, WidgetChartBarLayout, WidgetChartDisplayMode, WidgetChartRankingRule, WidgetChartSortDirection, } from './widget-chart';
|
|
@@ -1,17 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,42 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,55 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { IWidgetChartAxisConfig, IWidgetChartLimitationConfig, IWidgetChartLimitsConfig, IWidgetChartPriceLadderConfig, IWidgetChartProductPriceComparisonConfig, IWidgetChartPortfolioContributionConfig, IWidgetChartKpiTradeOffConfig, IWidgetChartPPAConfig, IWidgetChartConfig, } from './widget-chart-config.interface';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/interfaces/widget/index.ts"],"names":[],"mappings":""}
|
|
@@ -1,74 +0,0 @@
|
|
|
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 {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"widget-chart-config.interface.js","sourceRoot":"","sources":["../../../src/interfaces/widget/widget-chart-config.interface.ts"],"names":[],"mappings":""}
|
|
File without changes
|
|
File without changes
|