@buynomics-lib/bn-shared 1.17.88 → 1.17.89-feature-cf-222.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/enums/widget-preset/chart-preset.d.ts +40 -0
- package/build/enums/widget-preset/chart-preset.js +53 -0
- package/build/enums/widget-preset/chart-preset.js.map +1 -0
- package/build/enums/widget-preset/index.d.ts +1 -0
- package/build/enums/widget-preset/index.js +11 -1
- package/build/enums/widget-preset/index.js.map +1 -1
- package/build/index.d.ts +3 -2
- package/build/index.js +11 -1
- package/build/index.js.map +1 -1
- package/build/interfaces/widget-preset/chart-preset-config.interface.d.ts +38 -0
- package/build/interfaces/widget-preset/chart-preset-config.interface.js +3 -0
- package/build/interfaces/widget-preset/chart-preset-config.interface.js.map +1 -0
- package/build/interfaces/widget-preset/index.d.ts +1 -0
- package/build/interfaces/widget-preset/index.js +3 -0
- package/build/interfaces/widget-preset/index.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
export declare enum ChartCategory {
|
|
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 ChartSubtype {
|
|
9
|
+
Scatter = "scatter",
|
|
10
|
+
Bubble = "bubble"
|
|
11
|
+
}
|
|
12
|
+
export declare enum ChartScenarioMode {
|
|
13
|
+
Single = "single",
|
|
14
|
+
Multi = "multi"
|
|
15
|
+
}
|
|
16
|
+
export declare enum ChartAxisValueType {
|
|
17
|
+
Absolute = "absolute",
|
|
18
|
+
DeltaVsReference = "delta_vs_reference"
|
|
19
|
+
}
|
|
20
|
+
export declare enum ChartSeriesType {
|
|
21
|
+
KpiSeries = "kpi_series",
|
|
22
|
+
DimensionSeries = "dimension_series"
|
|
23
|
+
}
|
|
24
|
+
export declare enum ChartBarLayout {
|
|
25
|
+
Grouped = "grouped",
|
|
26
|
+
Stacked = "stacked"
|
|
27
|
+
}
|
|
28
|
+
export declare enum ChartDisplayMode {
|
|
29
|
+
Absolute = "absolute",
|
|
30
|
+
Percentage = "percentage"
|
|
31
|
+
}
|
|
32
|
+
export declare enum ChartRankingRule {
|
|
33
|
+
ByName = "by_name",
|
|
34
|
+
ByKpiValue = "by_kpi_value",
|
|
35
|
+
ByKpiDelta = "by_kpi_delta"
|
|
36
|
+
}
|
|
37
|
+
export declare enum ChartSortDirection {
|
|
38
|
+
Ascending = "ascending",
|
|
39
|
+
Descending = "descending"
|
|
40
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ChartSortDirection = exports.ChartRankingRule = exports.ChartDisplayMode = exports.ChartBarLayout = exports.ChartSeriesType = exports.ChartAxisValueType = exports.ChartScenarioMode = exports.ChartSubtype = exports.ChartCategory = void 0;
|
|
4
|
+
var ChartCategory;
|
|
5
|
+
(function (ChartCategory) {
|
|
6
|
+
ChartCategory["PriceLadder"] = "price_ladder";
|
|
7
|
+
ChartCategory["ProductPriceComparison"] = "product_price_comparison";
|
|
8
|
+
ChartCategory["PortfolioContribution"] = "portfolio_contribution";
|
|
9
|
+
ChartCategory["KpiTradeOff"] = "kpi_trade_off";
|
|
10
|
+
ChartCategory["PPAStructureWhiteSpace"] = "ppa_structure_white_space";
|
|
11
|
+
})(ChartCategory = exports.ChartCategory || (exports.ChartCategory = {}));
|
|
12
|
+
var ChartSubtype;
|
|
13
|
+
(function (ChartSubtype) {
|
|
14
|
+
ChartSubtype["Scatter"] = "scatter";
|
|
15
|
+
ChartSubtype["Bubble"] = "bubble";
|
|
16
|
+
})(ChartSubtype = exports.ChartSubtype || (exports.ChartSubtype = {}));
|
|
17
|
+
var ChartScenarioMode;
|
|
18
|
+
(function (ChartScenarioMode) {
|
|
19
|
+
ChartScenarioMode["Single"] = "single";
|
|
20
|
+
ChartScenarioMode["Multi"] = "multi";
|
|
21
|
+
})(ChartScenarioMode = exports.ChartScenarioMode || (exports.ChartScenarioMode = {}));
|
|
22
|
+
var ChartAxisValueType;
|
|
23
|
+
(function (ChartAxisValueType) {
|
|
24
|
+
ChartAxisValueType["Absolute"] = "absolute";
|
|
25
|
+
ChartAxisValueType["DeltaVsReference"] = "delta_vs_reference";
|
|
26
|
+
})(ChartAxisValueType = exports.ChartAxisValueType || (exports.ChartAxisValueType = {}));
|
|
27
|
+
var ChartSeriesType;
|
|
28
|
+
(function (ChartSeriesType) {
|
|
29
|
+
ChartSeriesType["KpiSeries"] = "kpi_series";
|
|
30
|
+
ChartSeriesType["DimensionSeries"] = "dimension_series";
|
|
31
|
+
})(ChartSeriesType = exports.ChartSeriesType || (exports.ChartSeriesType = {}));
|
|
32
|
+
var ChartBarLayout;
|
|
33
|
+
(function (ChartBarLayout) {
|
|
34
|
+
ChartBarLayout["Grouped"] = "grouped";
|
|
35
|
+
ChartBarLayout["Stacked"] = "stacked";
|
|
36
|
+
})(ChartBarLayout = exports.ChartBarLayout || (exports.ChartBarLayout = {}));
|
|
37
|
+
var ChartDisplayMode;
|
|
38
|
+
(function (ChartDisplayMode) {
|
|
39
|
+
ChartDisplayMode["Absolute"] = "absolute";
|
|
40
|
+
ChartDisplayMode["Percentage"] = "percentage";
|
|
41
|
+
})(ChartDisplayMode = exports.ChartDisplayMode || (exports.ChartDisplayMode = {}));
|
|
42
|
+
var ChartRankingRule;
|
|
43
|
+
(function (ChartRankingRule) {
|
|
44
|
+
ChartRankingRule["ByName"] = "by_name";
|
|
45
|
+
ChartRankingRule["ByKpiValue"] = "by_kpi_value";
|
|
46
|
+
ChartRankingRule["ByKpiDelta"] = "by_kpi_delta";
|
|
47
|
+
})(ChartRankingRule = exports.ChartRankingRule || (exports.ChartRankingRule = {}));
|
|
48
|
+
var ChartSortDirection;
|
|
49
|
+
(function (ChartSortDirection) {
|
|
50
|
+
ChartSortDirection["Ascending"] = "ascending";
|
|
51
|
+
ChartSortDirection["Descending"] = "descending";
|
|
52
|
+
})(ChartSortDirection = exports.ChartSortDirection || (exports.ChartSortDirection = {}));
|
|
53
|
+
//# sourceMappingURL=chart-preset.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chart-preset.js","sourceRoot":"","sources":["../../../src/enums/widget-preset/chart-preset.ts"],"names":[],"mappings":";;;AAAA,IAAY,aAMX;AAND,WAAY,aAAa;IACvB,6CAA4B,CAAA;IAC5B,oEAAmD,CAAA;IACnD,iEAAgD,CAAA;IAChD,8CAA6B,CAAA;IAC7B,qEAAoD,CAAA;AACtD,CAAC,EANW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAMxB;AAED,IAAY,YAGX;AAHD,WAAY,YAAY;IACtB,mCAAmB,CAAA;IACnB,iCAAiB,CAAA;AACnB,CAAC,EAHW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAGvB;AAED,IAAY,iBAGX;AAHD,WAAY,iBAAiB;IAC3B,sCAAiB,CAAA;IACjB,oCAAe,CAAA;AACjB,CAAC,EAHW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAG5B;AAED,IAAY,kBAGX;AAHD,WAAY,kBAAkB;IAC5B,2CAAqB,CAAA;IACrB,6DAAuC,CAAA;AACzC,CAAC,EAHW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAG7B;AAED,IAAY,eAGX;AAHD,WAAY,eAAe;IACzB,2CAAwB,CAAA;IACxB,uDAAoC,CAAA;AACtC,CAAC,EAHW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAG1B;AAED,IAAY,cAGX;AAHD,WAAY,cAAc;IACxB,qCAAmB,CAAA;IACnB,qCAAmB,CAAA;AACrB,CAAC,EAHW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAGzB;AAED,IAAY,gBAGX;AAHD,WAAY,gBAAgB;IAC1B,yCAAqB,CAAA;IACrB,6CAAyB,CAAA;AAC3B,CAAC,EAHW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAG3B;AAED,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC1B,sCAAkB,CAAA;IAClB,+CAA2B,CAAA;IAC3B,+CAA2B,CAAA;AAC7B,CAAC,EAJW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAI3B;AAED,IAAY,kBAGX;AAHD,WAAY,kBAAkB;IAC5B,6CAAuB,CAAA;IACvB,+CAAyB,CAAA;AAC3B,CAAC,EAHW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAG7B"}
|
|
@@ -1,7 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.WidgetPresetAvailability = exports.WidgetType = void 0;
|
|
3
|
+
exports.ChartSortDirection = exports.ChartRankingRule = exports.ChartDisplayMode = exports.ChartBarLayout = exports.ChartSeriesType = exports.ChartAxisValueType = exports.ChartScenarioMode = exports.ChartSubtype = exports.ChartCategory = exports.WidgetPresetAvailability = exports.WidgetType = void 0;
|
|
4
4
|
var widget_preset_1 = require("./widget-preset");
|
|
5
5
|
Object.defineProperty(exports, "WidgetType", { enumerable: true, get: function () { return widget_preset_1.WidgetType; } });
|
|
6
6
|
Object.defineProperty(exports, "WidgetPresetAvailability", { enumerable: true, get: function () { return widget_preset_1.WidgetPresetAvailability; } });
|
|
7
|
+
var chart_preset_1 = require("./chart-preset");
|
|
8
|
+
Object.defineProperty(exports, "ChartCategory", { enumerable: true, get: function () { return chart_preset_1.ChartCategory; } });
|
|
9
|
+
Object.defineProperty(exports, "ChartSubtype", { enumerable: true, get: function () { return chart_preset_1.ChartSubtype; } });
|
|
10
|
+
Object.defineProperty(exports, "ChartScenarioMode", { enumerable: true, get: function () { return chart_preset_1.ChartScenarioMode; } });
|
|
11
|
+
Object.defineProperty(exports, "ChartAxisValueType", { enumerable: true, get: function () { return chart_preset_1.ChartAxisValueType; } });
|
|
12
|
+
Object.defineProperty(exports, "ChartSeriesType", { enumerable: true, get: function () { return chart_preset_1.ChartSeriesType; } });
|
|
13
|
+
Object.defineProperty(exports, "ChartBarLayout", { enumerable: true, get: function () { return chart_preset_1.ChartBarLayout; } });
|
|
14
|
+
Object.defineProperty(exports, "ChartDisplayMode", { enumerable: true, get: function () { return chart_preset_1.ChartDisplayMode; } });
|
|
15
|
+
Object.defineProperty(exports, "ChartRankingRule", { enumerable: true, get: function () { return chart_preset_1.ChartRankingRule; } });
|
|
16
|
+
Object.defineProperty(exports, "ChartSortDirection", { enumerable: true, get: function () { return chart_preset_1.ChartSortDirection; } });
|
|
7
17
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +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"}
|
|
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;AAC7C,+CAUuB;AATrB,6GAAA,aAAa,OAAA;AACb,4GAAA,YAAY,OAAA;AACZ,iHAAA,iBAAiB,OAAA;AACjB,kHAAA,kBAAkB,OAAA;AAClB,+GAAA,eAAe,OAAA;AACf,8GAAA,cAAc,OAAA;AACd,gHAAA,gBAAgB,OAAA;AAChB,gHAAA,gBAAgB,OAAA;AAChB,kHAAA,kBAAkB,OAAA"}
|
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, ChartCategory, ChartSubtype, ChartScenarioMode, ChartAxisValueType, ChartSeriesType, ChartBarLayout, ChartDisplayMode, ChartRankingRule, ChartSortDirection } from './enums/widget-preset';
|
|
73
|
+
import { IChartPresetConfig, IChartPresetAxisConfig, IChartPresetSeriesConfig, IChartPresetLimitationConfig, IChartPresetLimitsConfig } from './interfaces/widget-preset';
|
|
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, ChartCategory, ChartSubtype, ChartScenarioMode, ChartAxisValueType, ChartSeriesType, ChartBarLayout, ChartDisplayMode, ChartRankingRule, ChartSortDirection, IChartPresetConfig, IChartPresetAxisConfig, IChartPresetSeriesConfig, IChartPresetLimitationConfig, IChartPresetLimitsConfig, 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.
|
|
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.ChartSortDirection = exports.ChartRankingRule = exports.ChartDisplayMode = exports.ChartBarLayout = exports.ChartSeriesType = exports.ChartAxisValueType = exports.ChartScenarioMode = exports.ChartSubtype = exports.ChartCategory = 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; } });
|
|
@@ -160,6 +161,15 @@ Object.defineProperty(exports, "ProductType", { enumerable: true, get: function
|
|
|
160
161
|
var widget_preset_1 = require("./enums/widget-preset");
|
|
161
162
|
Object.defineProperty(exports, "WidgetType", { enumerable: true, get: function () { return widget_preset_1.WidgetType; } });
|
|
162
163
|
Object.defineProperty(exports, "WidgetPresetAvailability", { enumerable: true, get: function () { return widget_preset_1.WidgetPresetAvailability; } });
|
|
164
|
+
Object.defineProperty(exports, "ChartCategory", { enumerable: true, get: function () { return widget_preset_1.ChartCategory; } });
|
|
165
|
+
Object.defineProperty(exports, "ChartSubtype", { enumerable: true, get: function () { return widget_preset_1.ChartSubtype; } });
|
|
166
|
+
Object.defineProperty(exports, "ChartScenarioMode", { enumerable: true, get: function () { return widget_preset_1.ChartScenarioMode; } });
|
|
167
|
+
Object.defineProperty(exports, "ChartAxisValueType", { enumerable: true, get: function () { return widget_preset_1.ChartAxisValueType; } });
|
|
168
|
+
Object.defineProperty(exports, "ChartSeriesType", { enumerable: true, get: function () { return widget_preset_1.ChartSeriesType; } });
|
|
169
|
+
Object.defineProperty(exports, "ChartBarLayout", { enumerable: true, get: function () { return widget_preset_1.ChartBarLayout; } });
|
|
170
|
+
Object.defineProperty(exports, "ChartDisplayMode", { enumerable: true, get: function () { return widget_preset_1.ChartDisplayMode; } });
|
|
171
|
+
Object.defineProperty(exports, "ChartRankingRule", { enumerable: true, get: function () { return widget_preset_1.ChartRankingRule; } });
|
|
172
|
+
Object.defineProperty(exports, "ChartSortDirection", { enumerable: true, get: function () { return widget_preset_1.ChartSortDirection; } });
|
|
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; } });
|
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;AAwS3C,mHA1SA,6DAAkC,OA0SA;AAClC,+GA1SA,yDAA8B,OA0SA;AAxShC,yDAA2E;AAySzE,iHAzSO,+CAAgC,OAySP;AAxSlC,+DAGoC;AAsSlC,mHAxSA,oDAAkC,OAwSA;AAClC,mHAxSA,oDAAkC,OAwSA;AAtSpC,6EAA0E;AAuLxE,gGAvLO,kCAAe,OAuLP;AApLjB,4HAAuH;AAmLrH,8GAnLO,gEAA6B,OAmLP;AAlL/B,4GAAwG;AAiLtG,uGAjLO,iDAAsB,OAiLP;AAhLxB,oFAAoF;AA8PlF,oGA9PO,uCAAmB,OA8PP;AA5PrB,mGAA+F;AAyM7F,wGAzMO,mDAAuB,OAyMP;AAxMzB,6DAAiE;AAgL/D,uGAhLO,yCAAsB,OAgLP;AA/KxB,wEAAuE;AAkLrE,oGAlLO,wCAAmB,OAkLP;AAjLrB,wEAAoE;AAqKlE,iGArKO,qCAAgB,OAqKP;AApKlB,gFAG8C;AAkK5C,oGApKA,4CAAmB,OAoKA;AACnB,gHApKA,wDAA+B,OAoKA;AAlKjC,0DAKmC;AA4MjC,gGA/MA,6BAAe,OA+MA;AACf,8FA/MA,2BAAa,OA+MA;AAEb,0GAhNA,uCAAyB,OAgNA;AA9M3B,kFAG+C;AA0J7C,sGA5JA,+CA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G4D;AAoJ1D,oHAtJA,+EAAmC,OAsJA;AACnC,gHAtJA,2EAA+B,OAsJA;AApJjC,iEAA6D;AAsJ3D,gGAtJO,mCAAe,OAsJP;AArJjB,yGAA6F;AAsJ3F,2CAtJK,+BAAgC,CAsJL;AAlJlC,kFAI8C;AAwJ5C,+FA3JA,yCAAc,OA2JA;AADd,kGAzJA,4CAAiB,OAyJA;AAIjB,mGA5JA,6CAAkB,OA4JA;AA1JpB,8EAAqE;AAwJnE,gGAxJO,wCAAe,OAwJP;AAvJjB,0EAAiE;AAwJ/D,8FAxJO,oCAAa,OAwJP;AAvJf,0EAG0C;AAsJxC,mGAxJA,yCAAkB,OAwJA;AASlB,4GAhKA,kDAA2B,OAgKA;AA9J7B,sEAGwC;AAqJtC,iGAvJA,qCAAgB,OAuJA;AAChB,6GAvJA,iDAA4B,OAuJA;AA5I9B,uEAA+D;AAiF7D,4FAjFO,+BAAW,OAiFP;AAhFb,uDAY8B;AA+E5B,2FA1FA,0BAAU,OA0FA;AACV,yGA1FA,wCAAwB,OA0FA;AACxB,8FA1FA,6BAAa,OA0FA;AACb,6FA1FA,4BAAY,OA0FA;AACZ,kGA1FA,iCAAiB,OA0FA;AACjB,mGA1FA,kCAAkB,OA0FA;AAClB,gGA1FA,+BAAe,OA0FA;AACf,+FA1FA,8BAAc,OA0FA;AACd,iGA1FA,gCAAgB,OA0FA;AAChB,iGA1FA,gCAAgB,OA0FA;AAChB,mGA1FA,kCAAkB,OA0FA;AAjFpB,0EAG0C;AAwHxC,mGA1HA,yCAAkB,OA0HA;AADlB,+GAxHA,qDAA8B,OAwHA"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { ChartAxisValueType, ChartBarLayout, ChartCategory, ChartDisplayMode, ChartRankingRule, ChartScenarioMode, ChartSeriesType, ChartSortDirection, ChartSubtype } from '../../enums/widget-preset/chart-preset';
|
|
2
|
+
export interface IChartPresetAxisConfig {
|
|
3
|
+
dimensionKey: string;
|
|
4
|
+
valueType?: ChartAxisValueType;
|
|
5
|
+
allowEndUserChanges: boolean;
|
|
6
|
+
switchableDimensions?: string[];
|
|
7
|
+
}
|
|
8
|
+
export interface IChartPresetSeriesConfig {
|
|
9
|
+
seriesType?: ChartSeriesType;
|
|
10
|
+
barLayout?: ChartBarLayout;
|
|
11
|
+
displayMode?: ChartDisplayMode;
|
|
12
|
+
seriesDimensionKey?: string;
|
|
13
|
+
allowEndUserChanges?: boolean;
|
|
14
|
+
switchableDimensions?: string[];
|
|
15
|
+
sizeKpiReferenceId?: string;
|
|
16
|
+
colourGroupingDimensionKey?: string;
|
|
17
|
+
}
|
|
18
|
+
export interface IChartPresetLimitationConfig {
|
|
19
|
+
enabled: boolean;
|
|
20
|
+
maxItems: number;
|
|
21
|
+
rankingRule: ChartRankingRule;
|
|
22
|
+
rankByKpiReferenceId?: string;
|
|
23
|
+
sortDirection: ChartSortDirection;
|
|
24
|
+
}
|
|
25
|
+
export interface IChartPresetLimitsConfig {
|
|
26
|
+
xAxis?: IChartPresetLimitationConfig;
|
|
27
|
+
series?: IChartPresetLimitationConfig;
|
|
28
|
+
grouping?: IChartPresetLimitationConfig;
|
|
29
|
+
}
|
|
30
|
+
export interface IChartPresetConfig {
|
|
31
|
+
category: ChartCategory;
|
|
32
|
+
subtype?: ChartSubtype;
|
|
33
|
+
scenarioMode?: ChartScenarioMode;
|
|
34
|
+
xAxis: IChartPresetAxisConfig;
|
|
35
|
+
yAxis: IChartPresetAxisConfig;
|
|
36
|
+
series: IChartPresetSeriesConfig;
|
|
37
|
+
limits?: IChartPresetLimitsConfig;
|
|
38
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chart-preset-config.interface.js","sourceRoot":"","sources":["../../../src/interfaces/widget-preset/chart-preset-config.interface.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { IChartPresetConfig, IChartPresetAxisConfig, IChartPresetSeriesConfig, IChartPresetLimitationConfig, IChartPresetLimitsConfig, } from './chart-preset-config.interface';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/interfaces/widget-preset/index.ts"],"names":[],"mappings":""}
|