@buynomics-lib/bn-shared 1.17.111 → 1.17.112-feature-cf-374.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/scenario-kpis.d.ts +11 -0
- package/build/enums/scenario-kpis.js +16 -0
- package/build/enums/scenario-kpis.js.map +1 -0
- package/build/enums/widget/index.d.ts +1 -0
- package/build/enums/widget/index.js +5 -1
- package/build/enums/widget/index.js.map +1 -1
- package/build/enums/widget/table-appearance.d.ts +12 -0
- package/build/enums/widget/table-appearance.js +19 -0
- package/build/enums/widget/table-appearance.js.map +1 -0
- package/build/index.d.ts +5 -3
- package/build/index.js +7 -2
- package/build/index.js.map +1 -1
- package/build/interfaces/scenario-kpis.d.ts +5 -0
- package/build/interfaces/scenario-kpis.js +3 -0
- package/build/interfaces/scenario-kpis.js.map +1 -0
- package/build/interfaces/widget/index.d.ts +1 -0
- package/build/interfaces/widget/table-widget-preset-config.interface.d.ts +42 -0
- package/build/interfaces/widget/table-widget-preset-config.interface.js +3 -0
- package/build/interfaces/widget/table-widget-preset-config.interface.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare enum ScenarioKpisGroupByOptions {
|
|
2
|
+
Product = "product",
|
|
3
|
+
Segment = "segment",
|
|
4
|
+
Subsegment = "subsegment",
|
|
5
|
+
SalesChannel = "sales_channel",
|
|
6
|
+
AggregationGroup = "aggregation_group",
|
|
7
|
+
Week = "week",
|
|
8
|
+
ProductType = "product_type",
|
|
9
|
+
PromoOffer = "promo_offer",
|
|
10
|
+
HasPromoOffer = "has_promo_offer"
|
|
11
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ScenarioKpisGroupByOptions = void 0;
|
|
4
|
+
var ScenarioKpisGroupByOptions;
|
|
5
|
+
(function (ScenarioKpisGroupByOptions) {
|
|
6
|
+
ScenarioKpisGroupByOptions["Product"] = "product";
|
|
7
|
+
ScenarioKpisGroupByOptions["Segment"] = "segment";
|
|
8
|
+
ScenarioKpisGroupByOptions["Subsegment"] = "subsegment";
|
|
9
|
+
ScenarioKpisGroupByOptions["SalesChannel"] = "sales_channel";
|
|
10
|
+
ScenarioKpisGroupByOptions["AggregationGroup"] = "aggregation_group";
|
|
11
|
+
ScenarioKpisGroupByOptions["Week"] = "week";
|
|
12
|
+
ScenarioKpisGroupByOptions["ProductType"] = "product_type";
|
|
13
|
+
ScenarioKpisGroupByOptions["PromoOffer"] = "promo_offer";
|
|
14
|
+
ScenarioKpisGroupByOptions["HasPromoOffer"] = "has_promo_offer";
|
|
15
|
+
})(ScenarioKpisGroupByOptions = exports.ScenarioKpisGroupByOptions || (exports.ScenarioKpisGroupByOptions = {}));
|
|
16
|
+
//# sourceMappingURL=scenario-kpis.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scenario-kpis.js","sourceRoot":"","sources":["../../src/enums/scenario-kpis.ts"],"names":[],"mappings":";;;AAAA,IAAY,0BAUX;AAVD,WAAY,0BAA0B;IACpC,iDAAmB,CAAA;IACnB,iDAAmB,CAAA;IACnB,uDAAyB,CAAA;IACzB,4DAA8B,CAAA;IAC9B,oEAAsC,CAAA;IACtC,2CAAa,CAAA;IACb,0DAA4B,CAAA;IAC5B,wDAA0B,CAAA;IAC1B,+DAAiC,CAAA;AACnC,CAAC,EAVW,0BAA0B,GAA1B,kCAA0B,KAA1B,kCAA0B,QAUrC"}
|
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
export { WidgetType, WidgetPresetAvailability } from './widget-preset';
|
|
2
2
|
export { WidgetChartCategory, WidgetChartSubtype, WidgetChartScenarioMode, WidgetChartAxisValueType, WidgetChartSeriesType, WidgetChartBarLayout, WidgetChartDisplayMode, WidgetChartRankingRule, WidgetChartSortDirection, } from './widget-chart';
|
|
3
|
+
export { RowDensity, DisplayGroupingFormat, GrandTotalPosition, } from './table-appearance';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
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;
|
|
3
|
+
exports.GrandTotalPosition = exports.DisplayGroupingFormat = exports.RowDensity = 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
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; } });
|
|
@@ -14,4 +14,8 @@ Object.defineProperty(exports, "WidgetChartBarLayout", { enumerable: true, get:
|
|
|
14
14
|
Object.defineProperty(exports, "WidgetChartDisplayMode", { enumerable: true, get: function () { return widget_chart_1.WidgetChartDisplayMode; } });
|
|
15
15
|
Object.defineProperty(exports, "WidgetChartRankingRule", { enumerable: true, get: function () { return widget_chart_1.WidgetChartRankingRule; } });
|
|
16
16
|
Object.defineProperty(exports, "WidgetChartSortDirection", { enumerable: true, get: function () { return widget_chart_1.WidgetChartSortDirection; } });
|
|
17
|
+
var table_appearance_1 = require("./table-appearance");
|
|
18
|
+
Object.defineProperty(exports, "RowDensity", { enumerable: true, get: function () { return table_appearance_1.RowDensity; } });
|
|
19
|
+
Object.defineProperty(exports, "DisplayGroupingFormat", { enumerable: true, get: function () { return table_appearance_1.DisplayGroupingFormat; } });
|
|
20
|
+
Object.defineProperty(exports, "GrandTotalPosition", { enumerable: true, get: function () { return table_appearance_1.GrandTotalPosition; } });
|
|
17
21
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +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"}
|
|
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;AAE1B,uDAI2B;AAHzB,8GAAA,UAAU,OAAA;AACV,yHAAA,qBAAqB,OAAA;AACrB,sHAAA,kBAAkB,OAAA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare enum RowDensity {
|
|
2
|
+
Compact = "compact",
|
|
3
|
+
Standard = "standard"
|
|
4
|
+
}
|
|
5
|
+
export declare enum DisplayGroupingFormat {
|
|
6
|
+
Compact = "compact",
|
|
7
|
+
Tabular = "tabular"
|
|
8
|
+
}
|
|
9
|
+
export declare enum GrandTotalPosition {
|
|
10
|
+
Top = "top",
|
|
11
|
+
Bottom = "bottom"
|
|
12
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GrandTotalPosition = exports.DisplayGroupingFormat = exports.RowDensity = void 0;
|
|
4
|
+
var RowDensity;
|
|
5
|
+
(function (RowDensity) {
|
|
6
|
+
RowDensity["Compact"] = "compact";
|
|
7
|
+
RowDensity["Standard"] = "standard";
|
|
8
|
+
})(RowDensity = exports.RowDensity || (exports.RowDensity = {}));
|
|
9
|
+
var DisplayGroupingFormat;
|
|
10
|
+
(function (DisplayGroupingFormat) {
|
|
11
|
+
DisplayGroupingFormat["Compact"] = "compact";
|
|
12
|
+
DisplayGroupingFormat["Tabular"] = "tabular";
|
|
13
|
+
})(DisplayGroupingFormat = exports.DisplayGroupingFormat || (exports.DisplayGroupingFormat = {}));
|
|
14
|
+
var GrandTotalPosition;
|
|
15
|
+
(function (GrandTotalPosition) {
|
|
16
|
+
GrandTotalPosition["Top"] = "top";
|
|
17
|
+
GrandTotalPosition["Bottom"] = "bottom";
|
|
18
|
+
})(GrandTotalPosition = exports.GrandTotalPosition || (exports.GrandTotalPosition = {}));
|
|
19
|
+
//# sourceMappingURL=table-appearance.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"table-appearance.js","sourceRoot":"","sources":["../../../src/enums/widget/table-appearance.ts"],"names":[],"mappings":";;;AAAA,IAAY,UAGX;AAHD,WAAY,UAAU;IACpB,iCAAmB,CAAA;IACnB,mCAAqB,CAAA;AACvB,CAAC,EAHW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAGrB;AAED,IAAY,qBAGX;AAHD,WAAY,qBAAqB;IAC/B,4CAAmB,CAAA;IACnB,4CAAmB,CAAA;AACrB,CAAC,EAHW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAGhC;AAED,IAAY,kBAGX;AAHD,WAAY,kBAAkB;IAC5B,iCAAW,CAAA;IACX,uCAAiB,CAAA;AACnB,CAAC,EAHW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAG7B"}
|
package/build/index.d.ts
CHANGED
|
@@ -72,7 +72,9 @@ import { ISystemKpiBase, ISystemKpi, IKpiDisplaySettings, ISystemScopedKpi, ISco
|
|
|
72
72
|
import { TimePeriod } from './interfaces/time/time-period';
|
|
73
73
|
import { ProductType } from './enums/product/product-type.enum';
|
|
74
74
|
import { ProductNamingDelimiter } from './enums/product/product-naming-delimiter.enum';
|
|
75
|
-
import { WidgetType, WidgetPresetAvailability, WidgetChartCategory, WidgetChartSubtype, WidgetChartScenarioMode, WidgetChartAxisValueType, WidgetChartSeriesType, WidgetChartBarLayout, WidgetChartDisplayMode, WidgetChartRankingRule, WidgetChartSortDirection } from './enums/widget';
|
|
76
|
-
import { IWidgetChartConfig, IWidgetChartAxisConfig, IWidgetChartLimitationConfig, IWidgetChartLimitsConfig } from './interfaces/widget';
|
|
75
|
+
import { WidgetType, WidgetPresetAvailability, WidgetChartCategory, WidgetChartSubtype, WidgetChartScenarioMode, WidgetChartAxisValueType, WidgetChartSeriesType, WidgetChartBarLayout, WidgetChartDisplayMode, WidgetChartRankingRule, WidgetChartSortDirection, RowDensity, DisplayGroupingFormat, GrandTotalPosition } from './enums/widget';
|
|
76
|
+
import { IWidgetChartConfig, IWidgetChartAxisConfig, IWidgetChartLimitationConfig, IWidgetChartLimitsConfig, ITableAppearance, ITableWidgetPresetGridSortItem, ITableWidgetPresetGridState, ITableWidgetPresetDataConfig, ITableWidgetPresetSettings, ITableWidgetPresetConfig } from './interfaces/widget';
|
|
77
|
+
import { ScenarioKpisGroupByOptions } from './enums/scenario-kpis';
|
|
78
|
+
import { IScenarioKpisGroupBy } from './interfaces/scenario-kpis';
|
|
77
79
|
import { SystemSpecificKpis, SystemSpecificKpisReferenceIds } from './enums/kpis/system-specific-kpis';
|
|
78
|
-
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, ProductNamingDelimiter, 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, 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, INPUT_VARIABLE_NAME_MAX_LENGTH, INPUT_VARIABLE_DESCRIPTION_MAX_LENGTH, INPUT_VARIABLE_REFERENCE_ID_MAX_LENGTH, INPUT_VARIABLE_CUSTOM_ACTION_NAME_MAX_LENGTH, INPUT_VARIABLE_REFERENCE_KPI_REFERENCE_ID_MAX_LENGTH, };
|
|
80
|
+
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, ProductNamingDelimiter, PromotionOfferStatus, PromotionOffersCalendarGroupByOptions, OptimizationStatus, OptimizationKpis, OptimizationSolutionBucket, ScenarioStatus, DateGranularity, DateWeekStart, ClientDateSettings, DefaultClientDateSettings, WidgetType, WidgetPresetAvailability, WidgetChartCategory, WidgetChartSubtype, WidgetChartScenarioMode, WidgetChartAxisValueType, WidgetChartSeriesType, WidgetChartBarLayout, WidgetChartDisplayMode, WidgetChartRankingRule, WidgetChartSortDirection, RowDensity, DisplayGroupingFormat, GrandTotalPosition, ScenarioKpisGroupByOptions, IWidgetChartConfig, IWidgetChartAxisConfig, IWidgetChartLimitationConfig, IWidgetChartLimitsConfig, ITableAppearance, ITableWidgetPresetGridSortItem, ITableWidgetPresetGridState, ITableWidgetPresetDataConfig, ITableWidgetPresetSettings, ITableWidgetPresetConfig, IScenarioKpisGroupBy, 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, INPUT_VARIABLE_NAME_MAX_LENGTH, INPUT_VARIABLE_DESCRIPTION_MAX_LENGTH, INPUT_VARIABLE_REFERENCE_ID_MAX_LENGTH, INPUT_VARIABLE_CUSTOM_ACTION_NAME_MAX_LENGTH, INPUT_VARIABLE_REFERENCE_KPI_REFERENCE_ID_MAX_LENGTH, };
|
package/build/index.js
CHANGED
|
@@ -4,8 +4,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.PromotionOfferStatus = exports.ProductNamingDelimiter = 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.
|
|
8
|
-
exports.INPUT_VARIABLE_REFERENCE_KPI_REFERENCE_ID_MAX_LENGTH = exports.INPUT_VARIABLE_CUSTOM_ACTION_NAME_MAX_LENGTH = exports.INPUT_VARIABLE_REFERENCE_ID_MAX_LENGTH = exports.INPUT_VARIABLE_DESCRIPTION_MAX_LENGTH = exports.INPUT_VARIABLE_NAME_MAX_LENGTH = 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.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.ScenarioKpisGroupByOptions = exports.GrandTotalPosition = exports.DisplayGroupingFormat = exports.RowDensity = 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 = exports.PromotionOffersCalendarGroupByOptions = void 0;
|
|
8
|
+
exports.INPUT_VARIABLE_REFERENCE_KPI_REFERENCE_ID_MAX_LENGTH = exports.INPUT_VARIABLE_CUSTOM_ACTION_NAME_MAX_LENGTH = exports.INPUT_VARIABLE_REFERENCE_ID_MAX_LENGTH = exports.INPUT_VARIABLE_DESCRIPTION_MAX_LENGTH = exports.INPUT_VARIABLE_NAME_MAX_LENGTH = 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 = void 0;
|
|
9
9
|
var activeOptimizationsLimit_1 = require("./constants/activeOptimizationsLimit");
|
|
10
10
|
Object.defineProperty(exports, "DEFAULT_ACTIVE_OPTIMIZATIONS_LIMIT", { enumerable: true, get: function () { return activeOptimizationsLimit_1.DEFAULT_ACTIVE_OPTIMIZATIONS_LIMIT; } });
|
|
11
11
|
Object.defineProperty(exports, "MAX_ACTIVE_OPTIMIZATIONS_LIMIT", { enumerable: true, get: function () { return activeOptimizationsLimit_1.MAX_ACTIVE_OPTIMIZATIONS_LIMIT; } });
|
|
@@ -178,6 +178,11 @@ Object.defineProperty(exports, "WidgetChartBarLayout", { enumerable: true, get:
|
|
|
178
178
|
Object.defineProperty(exports, "WidgetChartDisplayMode", { enumerable: true, get: function () { return widget_1.WidgetChartDisplayMode; } });
|
|
179
179
|
Object.defineProperty(exports, "WidgetChartRankingRule", { enumerable: true, get: function () { return widget_1.WidgetChartRankingRule; } });
|
|
180
180
|
Object.defineProperty(exports, "WidgetChartSortDirection", { enumerable: true, get: function () { return widget_1.WidgetChartSortDirection; } });
|
|
181
|
+
Object.defineProperty(exports, "RowDensity", { enumerable: true, get: function () { return widget_1.RowDensity; } });
|
|
182
|
+
Object.defineProperty(exports, "DisplayGroupingFormat", { enumerable: true, get: function () { return widget_1.DisplayGroupingFormat; } });
|
|
183
|
+
Object.defineProperty(exports, "GrandTotalPosition", { enumerable: true, get: function () { return widget_1.GrandTotalPosition; } });
|
|
184
|
+
var scenario_kpis_1 = require("./enums/scenario-kpis");
|
|
185
|
+
Object.defineProperty(exports, "ScenarioKpisGroupByOptions", { enumerable: true, get: function () { return scenario_kpis_1.ScenarioKpisGroupByOptions; } });
|
|
181
186
|
var system_specific_kpis_1 = require("./enums/kpis/system-specific-kpis");
|
|
182
187
|
Object.defineProperty(exports, "SystemSpecificKpis", { enumerable: true, get: function () { return system_specific_kpis_1.SystemSpecificKpis; } });
|
|
183
188
|
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":"","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B,yGAA6F;AA4K3F,2CA5KK,+BAAgC,CA4KL;AAxKlC,kFAI8C;AA+K5C,+FAlLA,yCAAc,OAkLA;AADd,kGAhLA,4CAAiB,OAgLA;AAIjB,mGAnLA,6CAAkB,OAmLA;AAjLpB,8EAAqE;AA+KnE,gGA/KO,wCAAe,OA+KP;AA9KjB,0EAAiE;AA+K/D,8FA/KO,oCAAa,OA+KP;AA9Kf,0EAG0C;AA6KxC,mGA/KA,yCAAkB,OA+KA;AASlB,4GAvLA,kDAA2B,OAuLA;AArL7B,sEAGwC;AA4KtC,iGA9KA,qCAAgB,OA8KA;AAChB,6GA9KA,iDAA4B,OA8KA;AAnK9B,uEAA+D;AA4F7D,4FA5FO,+BAAW,OA4FP;AA3Fb,+FAAsF;AA4FpF,uGA5FO,sDAAsB,OA4FP;AA3FxB,yCAeuB;AAuFrB,2FArGA,mBAAU,OAqGA;AACV,yGArGA,iCAAwB,OAqGA;AACxB,oGArGA,4BAAmB,OAqGA;AACnB,mGArGA,2BAAkB,OAqGA;AAClB,wGArGA,gCAAuB,OAqGA;AACvB,yGArGA,iCAAwB,OAqGA;AACxB,sGArGA,8BAAqB,OAqGA;AACrB,qGArGA,6BAAoB,OAqGA;AACpB,uGArGA,+BAAsB,OAqGA;AACtB,uGArGA,+BAAsB,OAqGA;AACtB,yGArGA,iCAAwB,OAqGA;AACxB,2FArGA,mBAAU,OAqGA;AACV,sGArGA,8BAAqB,OAqGA;AACrB,mGArGA,2BAAkB,OAqGA;AAvFpB,uDAAkE;AAwFhE,2GAxFO,0CAA0B,OAwFP;AAtF5B,0EAG0C;AAoIxC,mGAtIA,yCAAkB,OAsIA;AADlB,+GApIA,qDAA8B,OAoIA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scenario-kpis.js","sourceRoot":"","sources":["../../src/interfaces/scenario-kpis.ts"],"names":[],"mappings":""}
|
|
@@ -1 +1,2 @@
|
|
|
1
1
|
export { IWidgetChartAxisConfig, IWidgetChartLimitationConfig, IWidgetChartLimitsConfig, IWidgetChartConfig, } from './widget-chart-config.interface';
|
|
2
|
+
export { ITableAppearance, ITableWidgetPresetGridSortItem, ITableWidgetPresetGridState, ITableWidgetPresetDataConfig, ITableWidgetPresetSettings, ITableWidgetPresetConfig, } from './table-widget-preset-config.interface';
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { DisplayGroupingFormat, GrandTotalPosition, RowDensity } from '../../enums/widget/table-appearance';
|
|
2
|
+
import { IScenarioKpisGroupBy } from '../scenario-kpis';
|
|
3
|
+
export interface ITableAppearance {
|
|
4
|
+
showPercentageDeltas?: boolean;
|
|
5
|
+
showAbsoluteDeltas?: boolean;
|
|
6
|
+
showTemplateScenarioValues?: boolean;
|
|
7
|
+
showGroupingControlBar?: boolean;
|
|
8
|
+
showRowNumbers?: boolean;
|
|
9
|
+
rowDensity?: RowDensity;
|
|
10
|
+
displayGroupingFormat?: DisplayGroupingFormat;
|
|
11
|
+
repeatItemLabels?: boolean;
|
|
12
|
+
grandTotalPosition?: GrandTotalPosition;
|
|
13
|
+
pinGrandTotal?: boolean;
|
|
14
|
+
}
|
|
15
|
+
export interface ITableWidgetPresetGridSortItem {
|
|
16
|
+
colId: string;
|
|
17
|
+
sort: 'asc' | 'desc';
|
|
18
|
+
sortIndex?: number;
|
|
19
|
+
}
|
|
20
|
+
export interface ITableWidgetPresetGridState {
|
|
21
|
+
rowGroup?: {
|
|
22
|
+
groupColIds: string[];
|
|
23
|
+
};
|
|
24
|
+
sort?: {
|
|
25
|
+
sortModel: ITableWidgetPresetGridSortItem[];
|
|
26
|
+
};
|
|
27
|
+
columnOrder?: {
|
|
28
|
+
orderedColIds: string[];
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
export interface ITableWidgetPresetDataConfig {
|
|
32
|
+
kpis: string[];
|
|
33
|
+
groupBy?: IScenarioKpisGroupBy[];
|
|
34
|
+
}
|
|
35
|
+
export interface ITableWidgetPresetSettings {
|
|
36
|
+
appearance: ITableAppearance;
|
|
37
|
+
initialState?: ITableWidgetPresetGridState;
|
|
38
|
+
}
|
|
39
|
+
export interface ITableWidgetPresetConfig {
|
|
40
|
+
dataConfig: ITableWidgetPresetDataConfig;
|
|
41
|
+
settings: ITableWidgetPresetSettings;
|
|
42
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"table-widget-preset-config.interface.js","sourceRoot":"","sources":["../../../src/interfaces/widget/table-widget-preset-config.interface.ts"],"names":[],"mappings":""}
|