@alixpartners/ui-components 1.20.67 → 1.20.68

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.
Files changed (26) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/dist/esm/components/ApInput/ApInput.js +1 -1
  3. package/dist/esm/components/ApInput/ApInput.js.map +1 -1
  4. package/dist/esm/components/ApInput/ApInput.styles.js +1 -1
  5. package/dist/esm/components/ApInput/ApInput.styles.js.map +1 -1
  6. package/dist/esm/components/ApWidgets/ApCustomKPIWidget/ApCustomKPIWidget.js +59 -0
  7. package/dist/esm/components/ApWidgets/ApCustomKPIWidget/ApCustomKPIWidget.js.map +1 -0
  8. package/dist/esm/components/ApWidgets/ApCustomKPIWidget/index.js +14 -0
  9. package/dist/esm/components/ApWidgets/ApCustomKPIWidget/index.js.map +1 -0
  10. package/dist/esm/components/ApWidgets/ApCustomKPIWidget/styles.js +20 -0
  11. package/dist/esm/components/ApWidgets/ApCustomKPIWidget/styles.js.map +1 -0
  12. package/dist/esm/components/ApWidgets/ApWidgetBarChart/ApWidgetBarChart.js +113 -0
  13. package/dist/esm/components/ApWidgets/ApWidgetBarChart/ApWidgetBarChart.js.map +1 -0
  14. package/dist/esm/components/ApWidgets/ApWidgetBarChart/index.js +14 -0
  15. package/dist/esm/components/ApWidgets/ApWidgetBarChart/index.js.map +1 -0
  16. package/dist/esm/components/ApWidgets/ApWidgetBarChart/styles.js +11 -0
  17. package/dist/esm/components/ApWidgets/ApWidgetBarChart/styles.js.map +1 -0
  18. package/dist/types/components/ApWidgets/ApCustomKPIWidget/ApCustomKPIWidget.d.ts +19 -0
  19. package/dist/types/components/ApWidgets/ApCustomKPIWidget/index.d.ts +1 -0
  20. package/dist/types/components/ApWidgets/ApCustomKPIWidget/styles.d.ts +9 -0
  21. package/dist/types/components/ApWidgets/ApWidgetBarChart/ApWidgetBarChart.d.ts +10 -0
  22. package/dist/types/components/ApWidgets/ApWidgetBarChart/index.d.ts +1 -0
  23. package/dist/types/components/ApWidgets/ApWidgetBarChart/styles.d.ts +1 -0
  24. package/dist/umd/index.js +2 -2
  25. package/package.json +1 -1
  26. package/git +0 -0
package/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 1.20.68 (April 28, 2022)
2
+
3
+ - Updated `ApInput` component, fixed symbol styles, added `ap-input-field` class to input tag
4
+
1
5
  ## 1.20.67 (March 25, 2022)
2
6
 
3
7
  - Added `waves` icon to ApIcon
@@ -62,7 +62,7 @@ exports.ApInput = function (_a) {
62
62
  }, onKeyUp: function (event) {
63
63
  // @ts-ignore
64
64
  setValueLength(event.target.value.length);
65
- }, placeholder: placeholder, value: value }, props))),
65
+ }, placeholder: placeholder, value: value, className: "ap-input-field" }, props))),
66
66
  errorMessage ? (React.createElement(ApInput_styles_1.ErrorWrapper, null,
67
67
  React.createElement(ApIcon_1.ApIcon, { iconName: "outline_error", iconColor: theme_1.colors.red1, iconSize: 16 }),
68
68
  React.createElement(ApInput_styles_1.ErrorMessage, null, errorMessage))) : null));
@@ -1 +1 @@
1
- {"version":3,"file":"ApInput.js","sourceRoot":"","sources":["../../../../src/components/ApInput/ApInput.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6BAA8B;AAC9B,2CAA0C;AAG1C,oCAAkC;AAElC,mDAUyB;AAkBZ,QAAA,OAAO,GAA4B,UAAC,EAahD;IAZC,IAAA,SAAS,eAAA,EACT,QAAQ,cAAA,EACR,YAAY,kBAAA,EACZ,IAAI,UAAA,EACJ,KAAK,WAAA,EACL,IAAI,UAAA,EACJ,SAAS,eAAA,EACT,QAAQ,cAAA,EACR,WAAW,iBAAA,EACX,MAAM,YAAA,EACN,KAAK,WAAA,EACF,KAAK,cAZuC,6HAahD,CADS;IAEF,IAAA,KAAA,OAAgC,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAA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AAC,CAAC,CAAC,IAAI;YACP,MAAM,CAAC,CAAC,CAAC,oBAAC,4BAAW,QAAE,MAAM,CAAe,CAAC,CAAC,CAAC,IAAI;YAEpD,oBAAC,sBAAK,aACJ,QAAQ,EAAE,QAAQ,EAClB,SAAS,EAAE,SAAS,IAAI,QAAQ,EAChC,IAAI,EAAE,IAAI,EACV,QAAQ,EAAE,UAAC,CAAsC;oBAC/C,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC,CAAC,CAAA;gBAC7B,CAAC,EACD,OAAO,EAAE,UAAC,KAA0B;oBAClC,aAAa;oBACb,cAAc,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;gBAC3C,CAAC,EACD,WAAW,EAAE,WAAW,EACxB,KAAK,EAAE,KAAK,EACZ,SAAS,EAAC,gBAAgB,IACtB,KAAK,EACT,CACW;QACd,YAAY,CAAC,CAAC,CAAC,CACd,oBAAC,6BAAY;YACX,oBAAC,eAAM,IACL,QAAQ,EAAC,eAAe,EACxB,SAAS,EAAE,cAAM,CAAC,IAAI,EACtB,QAAQ,EAAE,EAAE,GACZ;YACF,oBAAC,6BAAY,QAAE,YAAY,CAAgB,CAC9B,CAChB,CAAC,CAAC,CAAC,IAAI,CACA,CACX,CAAA;AACH,CAAC,CAAA"}
@@ -7,7 +7,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
7
7
  exports.ErrorMessage = exports.ErrorWrapper = exports.Label = exports.LabelWrapper = exports.Counter = exports.Input = exports.InputWrapper = exports.Wrapper = exports.RightSymbol = void 0;
8
8
  var styled_components_1 = require("styled-components");
9
9
  var theme_1 = require("../../utils/theme");
10
- exports.RightSymbol = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n position: absolute;\n width: 36px;\n height: 40px;\n right: 0;\n display: flex;\n justify-content: center;\n align-items: center;\n"], ["\n position: absolute;\n width: 36px;\n height: 40px;\n right: 0;\n display: flex;\n justify-content: center;\n align-items: center;\n"])));
10
+ exports.RightSymbol = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n position: absolute;\n padding-right: 12px;\n height: 40px;\n right: 0;\n display: flex;\n justify-content: center;\n align-items: center;\n"], ["\n position: absolute;\n padding-right: 12px;\n height: 40px;\n right: 0;\n display: flex;\n justify-content: center;\n align-items: center;\n"])));
11
11
  exports.Wrapper = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n"], ["\n display: flex;\n flex-direction: column;\n"])));
12
12
  exports.InputWrapper = styled_components_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n position: relative;\n display: flex;\n"], ["\n position: relative;\n display: flex;\n"])));
13
13
  exports.Input = styled_components_1.default.input(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n height: 40px;\n box-sizing: border-box;\n width: 100%;\n min-width: 120px;\n padding-right: 32px;\n border: 1px solid ", ";\n border-radius: 1px;\n background-color: transparent;\n display: flex;\n justify-content: space-between;\n align-items: center;\n color: ", ";\n font-size: 16px;\n line-height: 24px;\n appearance: none;\n text-indent: 8px;\n overflow: hidden;\n text-overflow: ellipsis;\n z-index: 1;\n &:hover,\n &:focus {\n border-color: ", ";\n outline: none;\n }\n &:active {\n border-color: ", ";\n outline: none;\n }\n &:disabled {\n pointer-events: none;\n color: ", ";\n border-color: ", ";\n }\n"], ["\n height: 40px;\n box-sizing: border-box;\n width: 100%;\n min-width: 120px;\n padding-right: 32px;\n border: 1px solid ", ";\n border-radius: 1px;\n background-color: transparent;\n display: flex;\n justify-content: space-between;\n align-items: center;\n color: ", ";\n font-size: 16px;\n line-height: 24px;\n appearance: none;\n text-indent: 8px;\n overflow: hidden;\n text-overflow: ellipsis;\n z-index: 1;\n &:hover,\n &:focus {\n border-color: ", ";\n outline: none;\n }\n &:active {\n border-color: ", ";\n outline: none;\n }\n &:disabled {\n pointer-events: none;\n color: ", ";\n border-color: ", ";\n }\n"])), theme_1.colors.grey4, theme_1.colors.grey8, theme_1.colors.green2, theme_1.colors.green3, theme_1.colors.grey5, theme_1.colors.grey2);
@@ -1 +1 @@
1
- {"version":3,"file":"ApInput.styles.js","sourceRoot":"","sources":["../../../../src/components/ApInput/ApInput.styles.ts"],"names":[],"mappings":";;;;;;;AAAA,uDAAsC;AAEtC,2CAA0C;AAE7B,QAAA,WAAW,GAAG,2BAAM,CAAC,GAAG,kNAAA,+IAQpC,KAAA;AAEY,QAAA,OAAO,GAAG,2BAAM,CAAC,GAAG,oHAAA,iDAGhC,KAAA;AAEY,QAAA,YAAY,GAAG,2BAAM,CAAC,GAAG,gHAAA,6CAGrC,KAAA;AAEY,QAAA,KAAK,GAAG,2BAAM,CAAC,KAAK,2tBAAA,iIAMX,EAAY,oJAMvB,EAAY,oMAUH,EAAa,8DAIb,EAAa,oFAKpB,EAAY,uBACL,EAAY,UAE/B,KA5BqB,cAAM,CAAC,KAAK,EAMvB,cAAM,CAAC,KAAK,EAUH,cAAM,CAAC,MAAM,EAIb,cAAM,CAAC,MAAM,EAKpB,cAAM,CAAC,KAAK,EACL,cAAM,CAAC,KAAK,EAE/B;AAEY,QAAA,OAAO,GAAG,2BAAM,CAAC,GAAG,2GAAA,aACtB,EAAY,yBAEtB,KAFU,cAAM,CAAC,KAAK,EAEtB;AAEY,QAAA,YAAY,GAAG,2BAAM,CAAC,GAAG,mKAAA,gGAKrC,KAAA;AAEY,QAAA,KAAK,GAAG,2BAAM,CAAC,GAAG,2GAAA,aACpB,EAAY,yBAEtB,KAFU,cAAM,CAAC,KAAK,EAEtB;AAEY,QAAA,YAAY,GAAG,2BAAM,CAAC,GAAG,yKAAA,+FAK3B,EAAW,KACrB,KADU,cAAM,CAAC,IAAI,EACrB;AACY,QAAA,YAAY,GAAG,2BAAM,CAAC,GAAG,sKAAA,4FAK3B,EAAW,KACrB,KADU,cAAM,CAAC,IAAI,EACrB"}
1
+ {"version":3,"file":"ApInput.styles.js","sourceRoot":"","sources":["../../../../src/components/ApInput/ApInput.styles.ts"],"names":[],"mappings":";;;;;;;AAAA,uDAAsC;AAEtC,2CAA0C;AAE7B,QAAA,WAAW,GAAG,2BAAM,CAAC,GAAG,0NAAA,uJAQpC,KAAA;AAEY,QAAA,OAAO,GAAG,2BAAM,CAAC,GAAG,oHAAA,iDAGhC,KAAA;AAEY,QAAA,YAAY,GAAG,2BAAM,CAAC,GAAG,gHAAA,6CAGrC,KAAA;AAEY,QAAA,KAAK,GAAG,2BAAM,CAAC,KAAK,2tBAAA,iIAMX,EAAY,oJAMvB,EAAY,oMAUH,EAAa,8DAIb,EAAa,oFAKpB,EAAY,uBACL,EAAY,UAE/B,KA5BqB,cAAM,CAAC,KAAK,EAMvB,cAAM,CAAC,KAAK,EAUH,cAAM,CAAC,MAAM,EAIb,cAAM,CAAC,MAAM,EAKpB,cAAM,CAAC,KAAK,EACL,cAAM,CAAC,KAAK,EAE/B;AAEY,QAAA,OAAO,GAAG,2BAAM,CAAC,GAAG,2GAAA,aACtB,EAAY,yBAEtB,KAFU,cAAM,CAAC,KAAK,EAEtB;AAEY,QAAA,YAAY,GAAG,2BAAM,CAAC,GAAG,mKAAA,gGAKrC,KAAA;AAEY,QAAA,KAAK,GAAG,2BAAM,CAAC,GAAG,2GAAA,aACpB,EAAY,yBAEtB,KAFU,cAAM,CAAC,KAAK,EAEtB;AAEY,QAAA,YAAY,GAAG,2BAAM,CAAC,GAAG,yKAAA,+FAK3B,EAAW,KACrB,KADU,cAAM,CAAC,IAAI,EACrB;AACY,QAAA,YAAY,GAAG,2BAAM,CAAC,GAAG,sKAAA,4FAK3B,EAAW,KACrB,KADU,cAAM,CAAC,IAAI,EACrB"}
@@ -0,0 +1,59 @@
1
+ "use strict";
2
+ var __assign = (this && this.__assign) || function () {
3
+ __assign = Object.assign || function(t) {
4
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
5
+ s = arguments[i];
6
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
+ t[p] = s[p];
8
+ }
9
+ return t;
10
+ };
11
+ return __assign.apply(this, arguments);
12
+ };
13
+ var __rest = (this && this.__rest) || function (s, e) {
14
+ var t = {};
15
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
16
+ t[p] = s[p];
17
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
18
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
19
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
20
+ t[p[i]] = s[p[i]];
21
+ }
22
+ return t;
23
+ };
24
+ Object.defineProperty(exports, "__esModule", { value: true });
25
+ exports.ApCustomKPIWidget = void 0;
26
+ var React = require("react");
27
+ var ApLoaderDefault_1 = require("../../ApLoaderDefault");
28
+ var ApLoaderText_1 = require("../../ApLoaderText");
29
+ var ApWidgetBigValue_1 = require("../ApWidgetBigValue");
30
+ var ApWidgetBullet_1 = require("../ApWidgetBullet");
31
+ var ApWidgetChangeOverTime_1 = require("../ApWidgetChangeOverTime");
32
+ var ApWidgetName_1 = require("../ApWidgetName");
33
+ var ApWidgetValueType1_1 = require("../ApWidgetValueType1");
34
+ var styles_1 = require("./styles");
35
+ exports.ApCustomKPIWidget = function (_a) {
36
+ var _b = _a.config, config = _b === void 0 ? { name: '' } : _b, data = _a.data, props = __rest(_a, ["config", "data"]);
37
+ return (React.createElement(styles_1.Container, __assign({}, props),
38
+ config && React.createElement(ApWidgetName_1.ApWidgetName, { name: config.name, iconType: config.iconType }),
39
+ !data ? (React.createElement(styles_1.StyledWidgetBody, null,
40
+ React.createElement(ApLoaderDefault_1.ApLoaderDefault, { loaderText: function () { return React.createElement(ApLoaderText_1.ApLoaderText, null); } }))) : (React.createElement(styles_1.ColsWrapper, null,
41
+ React.createElement("div", null,
42
+ React.createElement(styles_1.VarianceContainer, null,
43
+ React.createElement(ApWidgetBigValue_1.ApWidgetBigValue, null, data.value)),
44
+ React.createElement(styles_1.AverageContainer, null,
45
+ React.createElement(ApWidgetChangeOverTime_1.ApWidgetChangeOverTime, { value: data.compareValue && data.compareValue + "%", trend: +data.compareValue }),
46
+ data.valuePairs.map(function (valuePair, index) { return (React.createElement(ApWidgetValueType1_1.ApWidgetValueType1, { key: valuePair.label + index, label: valuePair.label, value: valuePair.value })); })),
47
+ React.createElement(styles_1.AttributesListContainer, null, data.attributes.map(function (attribute, index) { return (React.createElement(ApWidgetBullet_1.ApWidgetBullet, { key: attribute + index, value: attribute })); }))),
48
+ config && config.widthRatio === 2 ? (React.createElement(styles_1.CenterAlign, null,
49
+ React.createElement("svg", { height: 64, viewBox: "0 0 24 24", width: 64 },
50
+ React.createElement("path", { d: "M0 0h24v24H0V0z", fill: "none" }),
51
+ React.createElement("path", { d: "M5 9.2h3V19H5V9.2zM10.6 5h2.8v14h-2.8V5zm5.6 8H19v6h-2.8v-6z" })))) : null))));
52
+ };
53
+ exports.ApCustomKPIWidget.defaultProps = {
54
+ config: {
55
+ name: '',
56
+ },
57
+ data: null,
58
+ };
59
+ //# sourceMappingURL=ApCustomKPIWidget.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ApCustomKPIWidget.js","sourceRoot":"","sources":["../../../../../src/components/ApWidgets/ApCustomKPIWidget/ApCustomKPIWidget.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6BAA8B;AAG9B,yDAAuD;AACvD,mDAAiD;AACjD,wDAAsD;AACtD,oDAAkD;AAClD,oEAAkE;AAClE,gDAA8C;AAC9C,4DAA0D;AAG1D,mCAQiB;AAkBJ,QAAA,iBAAiB,GAAsB,UAAC,EAI5C;IAHP,IAAA,cAAqB,EAArB,MAAM,mBAAG,EAAE,IAAI,EAAE,EAAE,EAAE,KAAA,EACrB,IAAI,UAAA,EACD,KAAK,cAH2C,kBAIpD,CADS;IAER,OAAO,CACL,oBAAC,kBAAS,eAAM,KAAa;QAC1B,MAAM,IAAI,oBAAC,2BAAY,IAAC,IAA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;oBACxC,8BAAM,CAAC,EAAC,8DAA8D,GAAG,CACrE,CACM,CACf,CAAC,CAAC,CAAC,IAAI,CACI,CACf,CACS,CACb,CAAA;AACH,CAAC,CAAA;AAED,yBAAiB,CAAC,YAAY,GAAG;IAC/B,MAAM,EAAE;QACN,IAAI,EAAE,EAAE;KACT;IACD,IAAI,EAAE,IAAI;CACX,CAAA"}
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
+ }) : (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ o[k2] = m[k];
8
+ }));
9
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
+ for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
11
+ };
12
+ Object.defineProperty(exports, "__esModule", { value: true });
13
+ __exportStar(require("./ApCustomKPIWidget"), exports);
14
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/ApWidgets/ApCustomKPIWidget/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,sDAAmC"}
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
3
+ if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
4
+ return cooked;
5
+ };
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ exports.CenterAlign = exports.ColsWrapper = exports.AverageContainer = exports.AttributesListContainer = exports.VarianceContainer = exports.Value = exports.Label = exports.Container = exports.StyledWidgetBody = void 0;
8
+ var styled_components_1 = require("styled-components");
9
+ var theme_1 = require("../../../utils/theme");
10
+ exports.StyledWidgetBody = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n justify-content: center;\n flex-direction: column;\n height: 100%;\n"], ["\n display: flex;\n justify-content: center;\n flex-direction: column;\n height: 100%;\n"])));
11
+ exports.Container = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n height: 100%;\n padding: 20px 12px 20px 24px;\n background: ", ";\n box-shadow: 0 3px 10px 0 rgba(0, 0, 0, 0.1);\n box-sizing: border-box;\n height: 100%;\n width: 100%;\n"], ["\n display: flex;\n flex-direction: column;\n height: 100%;\n padding: 20px 12px 20px 24px;\n background: ", ";\n box-shadow: 0 3px 10px 0 rgba(0, 0, 0, 0.1);\n box-sizing: border-box;\n height: 100%;\n width: 100%;\n"])), theme_1.colors.white);
12
+ exports.Label = styled_components_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n font-size: 11px;\n color: ", ";\n"], ["\n font-size: 11px;\n color: ", ";\n"])), theme_1.colors.grey5);
13
+ exports.Value = styled_components_1.default.div(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n font-size: 13px;\n font-weight: bold;\n color: ", ";\n margin-top: 8px;\n"], ["\n font-size: 13px;\n font-weight: bold;\n color: ", ";\n margin-top: 8px;\n"])), theme_1.colors.grey7);
14
+ exports.VarianceContainer = styled_components_1.default.div(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n"], ["\n display: flex;\n justify-content: space-between;\n align-items: center;\n"])));
15
+ exports.AttributesListContainer = styled_components_1.default.div(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n & > div {\n margin: 0 8px 4px 0;\n }\n"], ["\n & > div {\n margin: 0 8px 4px 0;\n }\n"])));
16
+ exports.AverageContainer = styled_components_1.default(exports.AttributesListContainer)(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n display: flex;\n justify-content: space-between;\n & > div {\n flex: 50%;\n }\n margin: 16px 0 12px;\n"], ["\n display: flex;\n justify-content: space-between;\n & > div {\n flex: 50%;\n }\n margin: 16px 0 12px;\n"])));
17
+ exports.ColsWrapper = styled_components_1.default.div(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n display: flex;\n\n & > div {\n flex: 1 1 0;\n width: 50%;\n }\n"], ["\n display: flex;\n\n & > div {\n flex: 1 1 0;\n width: 50%;\n }\n"])));
18
+ exports.CenterAlign = styled_components_1.default.div(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n display: flex;\n justify-content: center;\n align-items: center;\n\n & > svg {\n margin: 30px auto;\n fill: ", ";\n }\n"], ["\n display: flex;\n justify-content: center;\n align-items: center;\n\n & > svg {\n margin: 30px auto;\n fill: ", ";\n }\n"])), theme_1.colors.grey3);
19
+ var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9;
20
+ //# sourceMappingURL=styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../../src/components/ApWidgets/ApCustomKPIWidget/styles.tsx"],"names":[],"mappings":";;;;;;;AAAA,uDAAsC;AAEtC,8CAA6C;AAEhC,QAAA,gBAAgB,GAAG,2BAAM,CAAC,GAAG,iKAAA,8FAKzC,KAAA;AAEY,QAAA,SAAS,GAAG,2BAAM,CAAC,GAAG,uSAAA,iHAKnB,EAAY,iHAK3B,KALe,cAAM,CAAC,KAAK,EAK3B;AAEY,QAAA,KAAK,GAAG,2BAAM,CAAC,GAAG,2GAAA,iCAEpB,EAAY,KACtB,KADU,cAAM,CAAC,KAAK,EACtB;AAEY,QAAA,KAAK,GAAG,2BAAM,CAAC,GAAG,qJAAA,uDAGpB,EAAY,yBAEtB,KAFU,cAAM,CAAC,KAAK,EAEtB;AAEY,QAAA,iBAAiB,GAAG,2BAAM,CAAC,GAAG,oJAAA,iFAI1C,KAAA;AAEY,QAAA,uBAAuB,GAAG,2BAAM,CAAC,GAAG,mHAAA,gDAIhD,KAAA;AAEY,QAAA,gBAAgB,GAAG,2BAAM,CAAC,+BAA8B,CAAC,sLAAA,mHAOrE,KAAA;AAEY,QAAA,WAAW,GAAG,2BAAM,CAAC,GAAG,gJAAA,6EAOpC,KAAA;AAEY,QAAA,WAAW,GAAG,2BAAM,CAAC,GAAG,0MAAA,2HAOzB,EAAY,UAEvB,KAFW,cAAM,CAAC,KAAK,EAEvB"}
@@ -0,0 +1,113 @@
1
+ "use strict";
2
+ var __assign = (this && this.__assign) || function () {
3
+ __assign = Object.assign || function(t) {
4
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
5
+ s = arguments[i];
6
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
+ t[p] = s[p];
8
+ }
9
+ return t;
10
+ };
11
+ return __assign.apply(this, arguments);
12
+ };
13
+ var __spreadArrays = (this && this.__spreadArrays) || function () {
14
+ for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
15
+ for (var r = Array(s), k = 0, i = 0; i < il; i++)
16
+ for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
17
+ r[k] = a[j];
18
+ return r;
19
+ };
20
+ Object.defineProperty(exports, "__esModule", { value: true });
21
+ exports.ApWidgetBarChart = void 0;
22
+ var Highcharts = require("highcharts");
23
+ var highcharts_react_official_1 = require("highcharts-react-official");
24
+ var React = require("react");
25
+ var theme_1 = require("../../../utils/theme");
26
+ var styles_1 = require("./styles");
27
+ var defaultOptions = {
28
+ chart: {
29
+ height: 222,
30
+ type: 'column',
31
+ },
32
+ credits: {
33
+ enabled: false,
34
+ },
35
+ legend: {
36
+ align: 'center',
37
+ itemStyle: {
38
+ color: '#333333',
39
+ fontSize: '11px',
40
+ fontWeight: 'normal',
41
+ },
42
+ symbolRadius: 0,
43
+ verticalAlign: 'top',
44
+ x: 16,
45
+ },
46
+ plotOptions: {
47
+ column: {
48
+ borderWidth: 0,
49
+ groupPadding: 0.33,
50
+ pointPadding: 0,
51
+ pointWidth: 3,
52
+ },
53
+ },
54
+ series: [],
55
+ title: {
56
+ text: '',
57
+ },
58
+ tooltip: {
59
+ footerFormat: '</table>',
60
+ headerFormat: '<span style="font-size:10px">{point.key}</span><table>',
61
+ pointFormat: '<tr><td style="color:{series.color};padding:0">{series.name}: </td>' +
62
+ '<td style="padding:0"><b>{point.y:.1f} mm</b></td></tr>',
63
+ shared: true,
64
+ useHTML: true,
65
+ },
66
+ xAxis: {
67
+ labels: {
68
+ style: {
69
+ color: theme_1.colors.grey5,
70
+ fontSize: '11px',
71
+ },
72
+ },
73
+ },
74
+ yAxis: {
75
+ labels: {
76
+ formatter: function () {
77
+ return this.value + '%';
78
+ },
79
+ style: {
80
+ color: theme_1.colors.grey5,
81
+ fontSize: '11px',
82
+ },
83
+ },
84
+ max: 100,
85
+ min: 0,
86
+ tickAmount: 5,
87
+ title: {
88
+ text: '',
89
+ },
90
+ },
91
+ };
92
+ exports.ApWidgetBarChart = function (_a) {
93
+ var data = _a.data;
94
+ var currentPeriodData = data.map(function (item) { return item.values[0]; });
95
+ var prevPeriodData = data.map(function (item) { return item.values[1] || 0; });
96
+ var maxValue = Math.max.apply(Math, __spreadArrays(currentPeriodData, prevPeriodData));
97
+ var yAxisMax = Math.ceil(maxValue / 25) * 25;
98
+ var currentSeries = {
99
+ color: theme_1.colors.chartDarkBlue,
100
+ data: currentPeriodData,
101
+ name: 'Current period',
102
+ };
103
+ var prevSeries = {
104
+ color: theme_1.colors.chartLightBlue,
105
+ data: prevPeriodData,
106
+ name: 'Prior period',
107
+ };
108
+ var hasPrevSeries = prevPeriodData.filter(Boolean).length > 0;
109
+ var options = __assign(__assign({}, defaultOptions), { series: hasPrevSeries ? [currentSeries, prevSeries] : [currentSeries], xAxis: __assign(__assign({}, defaultOptions.xAxis), { categories: data.map(function (item) { return item.label; }) }), yAxis: __assign(__assign({}, defaultOptions.yAxis), { max: yAxisMax }) });
110
+ return (React.createElement(styles_1.Wrapper, null,
111
+ React.createElement(highcharts_react_official_1.default, { highcharts: Highcharts, options: options })));
112
+ };
113
+ //# sourceMappingURL=ApWidgetBarChart.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ApWidgetBarChart.js","sourceRoot":"","sources":["../../../../../src/components/ApWidgets/ApWidgetBarChart/ApWidgetBarChart.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,uCAAwC;AACxC,uEAAuD;AACvD,6BAA8B;AAE9B,8CAA6C;AAG7C,mCAAkC;AAWlC,IAAM,cAAc,GAAuB;IACzC,KAAK,EAAE;QACL,MAAM,EAAE,GAAG;QACX,IAAI,EAAE,QAAQ;KACf;IACD,OAAO,EAAE;QACP,OAAO,EAAE,KAAK;KACf;IACD,MAAM,EAAE;QACN,KAAK,EAAE,QAAQ;QACf,SAAS,EAAE;YACT,KAAK,EAAE,SAAS;YAChB,QAAQ,EAAE,MAAM;YAChB,UAAU,EAAE,QAAQ;SACrB;QACD,YAAY,EAAE,CAAC;QACf,aAAa,EAAE,KAAK;QACpB,CAAC,EAAE,EAAE;KACN;IACD,WAAW,EAAE;QACX,MAAM,EAAE;YACN,WAAW,EAAE,CAAC;YACd,YAAY,EAAE,IAAI;YAClB,YAAY,EAAE,CAAC;YACf,UAAU,EAAE,CAAC;SACd;KACF;IACD,MAAM,EAAE,EAAE;IACV,KAAK,EAAE;QACL,IAAI,EAAE,EAAE;KACT;IACD,OAAO,EAAE;QACP,YAAY,EAAE,UAAU;QACxB,YAAY,EAAE,wDAAwD;QACtE,WAAW,EACT,qEAAqE;YACrE,yDAAyD;QAC3D,MAAM,EAAE,IAAI;QACZ,OAAO,EAAE,IAAI;KACd;IACD,KAAK,EAAE;QACL,MAAM,EAAE;YACN,KAAK,EAAE;gBACL,KAAK,EAAE,cAAM,CAAC,KAAK;gBACnB,QAAQ,EAAE,MAAM;aACjB;SACF;KACF;IACD,KAAK,EAAE;QACL,MAAM,EAAE;YACN,SAAS;gBACP,OAAO,IAAI,CAAC,KAAK,GAAG,GAAG,CAAA;YACzB,CAAC;YACD,KAAK,EA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A,cAAc,CAAC,KAAK,KACvB,UAAU,EAAE,IAAI,CAAC,GAAG,CAAC,UAAA,IAAI,IAAI,OAAA,IAAI,CAAC,KAAK,EAAV,CAAU,CAAC,KAE1C,KAAK,wBACA,cAAc,CAAC,KAAK,KACvB,GAAG,EAAE,QAAQ,MAEhB,CAAA;IAED,OAAO,CACL,oBAAC,gBAAO;QACN,oBAAC,mCAAe,IAAC,UAAU,EAAE,UAAU,EAAE,OAAO,EAAE,OAAO,GAAI,CACrD,CACX,CAAA;AACH,CAAC,CAAA"}
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
+ }) : (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ o[k2] = m[k];
8
+ }));
9
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
+ for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
11
+ };
12
+ Object.defineProperty(exports, "__esModule", { value: true });
13
+ __exportStar(require("./ApWidgetBarChart"), exports);
14
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/ApWidgets/ApWidgetBarChart/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAkC"}
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
3
+ if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
4
+ return cooked;
5
+ };
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ exports.Wrapper = void 0;
8
+ var styled_components_1 = require("styled-components");
9
+ exports.Wrapper = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n .highcharts-axis-labels text {\n font-size: 7px;\n }\n"], ["\n .highcharts-axis-labels text {\n font-size: 7px;\n }\n"])));
10
+ var templateObject_1;
11
+ //# sourceMappingURL=styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../../src/components/ApWidgets/ApWidgetBarChart/styles.ts"],"names":[],"mappings":";;;;;;;AAAA,uDAAsC;AAEzB,QAAA,OAAO,GAAG,2BAAM,CAAC,GAAG,mIAAA,gEAIhC,KAAA"}
@@ -0,0 +1,19 @@
1
+ import * as React from 'react';
2
+ import { IDefaultProps } from '../../../utils/types';
3
+ import { IConfigKeys } from '../types';
4
+ interface IValuePair {
5
+ label: string;
6
+ value: string | number;
7
+ }
8
+ interface IDataProp {
9
+ value: number | string;
10
+ compareValue: number;
11
+ attributes: string[];
12
+ valuePairs: IValuePair[];
13
+ }
14
+ interface IProps extends IDefaultProps {
15
+ config?: IConfigKeys;
16
+ data?: IDataProp | null;
17
+ }
18
+ export declare const ApCustomKPIWidget: React.SFC<IProps>;
19
+ export {};
@@ -0,0 +1 @@
1
+ export * from './ApCustomKPIWidget';
@@ -0,0 +1,9 @@
1
+ export declare const StyledWidgetBody: import("styled-components").StyledComponent<"div", any, {}, never>;
2
+ export declare const Container: import("styled-components").StyledComponent<"div", any, {}, never>;
3
+ export declare const Label: import("styled-components").StyledComponent<"div", any, {}, never>;
4
+ export declare const Value: import("styled-components").StyledComponent<"div", any, {}, never>;
5
+ export declare const VarianceContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
6
+ export declare const AttributesListContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
7
+ export declare const AverageContainer: import("styled-components").StyledComponent<any, any, object, string | number | symbol>;
8
+ export declare const ColsWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
9
+ export declare const CenterAlign: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -0,0 +1,10 @@
1
+ import * as React from 'react';
2
+ import { IDefaultProps } from '../../../utils/types';
3
+ export interface IBarChartDataItem {
4
+ label: string;
5
+ values: number[];
6
+ }
7
+ export interface IApWidgetBarChartProps extends IDefaultProps {
8
+ data: IBarChartDataItem[];
9
+ }
10
+ export declare const ApWidgetBarChart: React.SFC<IApWidgetBarChartProps>;
@@ -0,0 +1 @@
1
+ export * from './ApWidgetBarChart';
@@ -0,0 +1 @@
1
+ export declare const Wrapper: import("styled-components").StyledComponent<"div", any, {}, never>;