rbro-tat-uds 2.2.3 → 2.2.5

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.
@@ -0,0 +1,39 @@
1
+ 'use strict';
2
+
3
+ var React = require('react');
4
+
5
+ function _interopNamespaceDefault(e) {
6
+ var n = Object.create(null);
7
+ if (e) {
8
+ Object.keys(e).forEach(function (k) {
9
+ if (k !== 'default') {
10
+ var d = Object.getOwnPropertyDescriptor(e, k);
11
+ Object.defineProperty(n, k, d.get ? d : {
12
+ enumerable: true,
13
+ get: function () { return e[k]; }
14
+ });
15
+ }
16
+ });
17
+ }
18
+ n.default = e;
19
+ return Object.freeze(n);
20
+ }
21
+
22
+ var React__namespace = /*#__PURE__*/_interopNamespaceDefault(React);
23
+
24
+ var _path, _path2;
25
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
26
+ var SvgFaceHappy = function SvgFaceHappy(props) {
27
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends({
28
+ xmlns: "http://www.w3.org/2000/svg",
29
+ viewBox: "0 0 24 24"
30
+ }, props), _path || (_path = /*#__PURE__*/React__namespace.createElement("path", {
31
+ d: "M10 10.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0M15.5 12a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3M12 16a3.99 3.99 0 0 1-2.961-1.31l-1.48 1.344A5.99 5.99 0 0 0 11.999 18c1.761 0 3.346-.76 4.442-1.966l-1.48-1.345A3.99 3.99 0 0 1 12 16"
32
+ })), _path2 || (_path2 = /*#__PURE__*/React__namespace.createElement("path", {
33
+ fillRule: "evenodd",
34
+ d: "M2 12C2 6.477 6.477 2 12 2s10 4.477 10 10-4.477 10-10 10S2 17.523 2 12m10-8a8 8 0 1 0 0 16 8 8 0 0 0 0-16",
35
+ clipRule: "evenodd"
36
+ })));
37
+ };
38
+
39
+ module.exports = SvgFaceHappy;
@@ -0,0 +1,43 @@
1
+ 'use strict';
2
+
3
+ var React = require('react');
4
+
5
+ function _interopNamespaceDefault(e) {
6
+ var n = Object.create(null);
7
+ if (e) {
8
+ Object.keys(e).forEach(function (k) {
9
+ if (k !== 'default') {
10
+ var d = Object.getOwnPropertyDescriptor(e, k);
11
+ Object.defineProperty(n, k, d.get ? d : {
12
+ enumerable: true,
13
+ get: function () { return e[k]; }
14
+ });
15
+ }
16
+ });
17
+ }
18
+ n.default = e;
19
+ return Object.freeze(n);
20
+ }
21
+
22
+ var React__namespace = /*#__PURE__*/_interopNamespaceDefault(React);
23
+
24
+ var _path, _path2, _path3;
25
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
26
+ var SvgPersonLevel = function SvgPersonLevel(props) {
27
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends({
28
+ xmlns: "http://www.w3.org/2000/svg",
29
+ viewBox: "0 0 24 24"
30
+ }, props), _path || (_path = /*#__PURE__*/React__namespace.createElement("path", {
31
+ fillRule: "evenodd",
32
+ d: "M4 7a5 5 0 1 1 10 0A5 5 0 0 1 4 7m5-3a3 3 0 1 0 0 6 3 3 0 0 0 0-6",
33
+ clipRule: "evenodd"
34
+ })), _path2 || (_path2 = /*#__PURE__*/React__namespace.createElement("path", {
35
+ d: "M1 22c0-4.402 3.09-9 8.5-9 1.12 0 2.157.201 3.094.57l-.73 1.86A6.4 6.4 0 0 0 9.5 15C5.473 15 3 18.402 3 22z"
36
+ })), _path3 || (_path3 = /*#__PURE__*/React__namespace.createElement("path", {
37
+ fillRule: "evenodd",
38
+ d: "M15 15a1 1 0 0 0-.832.445l-1 1.5a1 1 0 0 0 .125 1.262l4 4a1 1 0 0 0 1.414 0l4-4a1 1 0 0 0 .125-1.262l-1-1.5A1 1 0 0 0 21 15zm.287 2.373.248-.373h4.93l.248.373L18 20.086z",
39
+ clipRule: "evenodd"
40
+ })));
41
+ };
42
+
43
+ module.exports = SvgPersonLevel;
@@ -0,0 +1,37 @@
1
+ 'use strict';
2
+
3
+ var React = require('react');
4
+
5
+ function _interopNamespaceDefault(e) {
6
+ var n = Object.create(null);
7
+ if (e) {
8
+ Object.keys(e).forEach(function (k) {
9
+ if (k !== 'default') {
10
+ var d = Object.getOwnPropertyDescriptor(e, k);
11
+ Object.defineProperty(n, k, d.get ? d : {
12
+ enumerable: true,
13
+ get: function () { return e[k]; }
14
+ });
15
+ }
16
+ });
17
+ }
18
+ n.default = e;
19
+ return Object.freeze(n);
20
+ }
21
+
22
+ var React__namespace = /*#__PURE__*/_interopNamespaceDefault(React);
23
+
24
+ var _path;
25
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
26
+ var SvgStarReward = function SvgStarReward(props) {
27
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends({
28
+ xmlns: "http://www.w3.org/2000/svg",
29
+ viewBox: "0 0 24 24"
30
+ }, props), _path || (_path = /*#__PURE__*/React__namespace.createElement("path", {
31
+ fillRule: "evenodd",
32
+ d: "M11.75 2.095c-.046.054-.12.278-.164.497-.27 1.352-.57 2.306-1.062 3.369-1.366 2.951-3.616 4.807-6.758 5.572-.465.114-.628.177-.688.266-.201.303-.01.543.531.666 4.078.927 6.868 3.892 7.847 8.338l.173.791c.07.314.235.453.467.392.18-.048.258-.235.399-.964.242-1.258.863-2.912 1.498-3.989 1.383-2.347 3.611-3.943 6.381-4.57.48-.108.626-.214.626-.453 0-.231-.15-.335-.658-.454-.726-.17-1.19-.32-1.845-.597-3.124-1.322-5.18-4.059-6.01-8.002-.089-.423-.198-.812-.242-.864-.104-.125-.386-.124-.495.002",
33
+ clipRule: "evenodd"
34
+ })));
35
+ };
36
+
37
+ module.exports = SvgStarReward;
@@ -147,6 +147,9 @@ require('../../assets/icons/warning-exclamation.svg.cjs');
147
147
  require('../../assets/icons/warning-outlined.svg.cjs');
148
148
  require('../../assets/icons/info-outlined.svg.cjs');
149
149
  require('../../assets/icons/hint-outlined.svg.cjs');
150
+ require('../../assets/icons/face-happy.svg.cjs');
151
+ require('../../assets/icons/person-level.svg.cjs');
152
+ require('../../assets/icons/star-reward.svg.cjs');
150
153
  var Icon = require('../Icon/Icon.cjs');
151
154
  var Spinner = require('../Spinner/Spinner.cjs');
152
155
  var utils = require('../../utils');
@@ -138,6 +138,19 @@ const DashboardCardStyled = styled.div`
138
138
  height: 100%;
139
139
  object-fit: cover;
140
140
  }
141
+
142
+ & > .j348adk20fka94 {
143
+ position: absolute;
144
+ left: 12px;
145
+ bottom: 12px;
146
+ width: 16px;
147
+ height: 16px;
148
+ border-radius: 999px;
149
+ display: flex;
150
+ justify-content: center;
151
+ align-items: center;
152
+ background-color: ${utils.colors.gray_600};
153
+ }
141
154
  }
142
155
 
143
156
  & > div:nth-of-type(2) {
@@ -268,6 +281,7 @@ const DashboardCard = ({
268
281
  disabled = false,
269
282
  loading = false,
270
283
  statusConfiguratii = 0,
284
+ retention = false,
271
285
  ...rest
272
286
  }) => {
273
287
  return /* @__PURE__ */ jsxRuntime.jsxs(
@@ -288,7 +302,10 @@ const DashboardCard = ({
288
302
  /* @__PURE__ */ jsxRuntime.jsx(Icon.default, { icon: "grocery-2", size: 14, color: utils.colors.white })
289
303
  ] }),
290
304
  !loading ? variant === "default" ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "j8k2m5n9p4q7r3", children: [
291
- /* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx("img", { src: imgSrc, alt: title }) }),
305
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
306
+ /* @__PURE__ */ jsxRuntime.jsx("img", { src: imgSrc, alt: title }),
307
+ retention && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "j348adk20fka94", children: /* @__PURE__ */ jsxRuntime.jsx(Icon.default, { icon: "star-reward", size: 12, color: utils.colors.white }) })
308
+ ] }),
292
309
  /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
293
310
  /* @__PURE__ */ jsxRuntime.jsx("span", { children: title }),
294
311
  (callToAction !== "null" || tagType !== void 0 || tagText !== "") && /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
@@ -144,6 +144,9 @@ var WarningExclamationIcon = require('../../assets/icons/warning-exclamation.svg
144
144
  var WarningOutlinedIcon = require('../../assets/icons/warning-outlined.svg.cjs');
145
145
  var InfoOutlinedIcon = require('../../assets/icons/info-outlined.svg.cjs');
146
146
  var HintOutlinedIcon = require('../../assets/icons/hint-outlined.svg.cjs');
147
+ var FaceHappyIcon = require('../../assets/icons/face-happy.svg.cjs');
148
+ var PersonLevelIcon = require('../../assets/icons/person-level.svg.cjs');
149
+ var StarRewardIcon = require('../../assets/icons/star-reward.svg.cjs');
147
150
 
148
151
  const IconsList = {
149
152
  asterix: AsterixIcon,
@@ -284,7 +287,10 @@ const IconsList = {
284
287
  "warning-exclamation": WarningExclamationIcon,
285
288
  "warning-outlined": WarningOutlinedIcon,
286
289
  "info-outlined": InfoOutlinedIcon,
287
- "hint-outlined": HintOutlinedIcon
290
+ "hint-outlined": HintOutlinedIcon,
291
+ "face-happy": FaceHappyIcon,
292
+ "person-level": PersonLevelIcon,
293
+ "star-reward": StarRewardIcon
288
294
  };
289
295
 
290
296
  exports.default = IconsList;
@@ -146,6 +146,9 @@ require('../../assets/icons/warning-exclamation.svg.cjs');
146
146
  require('../../assets/icons/warning-outlined.svg.cjs');
147
147
  require('../../assets/icons/info-outlined.svg.cjs');
148
148
  require('../../assets/icons/hint-outlined.svg.cjs');
149
+ require('../../assets/icons/face-happy.svg.cjs');
150
+ require('../../assets/icons/person-level.svg.cjs');
151
+ require('../../assets/icons/star-reward.svg.cjs');
149
152
  var styled = require('styled-components');
150
153
  var Icon = require('../Icon/Icon.cjs');
151
154
  var Spinner = require('../Spinner/Spinner.cjs');
@@ -146,6 +146,9 @@ require('../../assets/icons/warning-exclamation.svg.cjs');
146
146
  require('../../assets/icons/warning-outlined.svg.cjs');
147
147
  require('../../assets/icons/info-outlined.svg.cjs');
148
148
  require('../../assets/icons/hint-outlined.svg.cjs');
149
+ require('../../assets/icons/face-happy.svg.cjs');
150
+ require('../../assets/icons/person-level.svg.cjs');
151
+ require('../../assets/icons/star-reward.svg.cjs');
149
152
  var styled = require('styled-components');
150
153
  var Icon = require('../Icon/Icon.cjs');
151
154
  var utils = require('../../utils');
@@ -147,6 +147,9 @@ require('../../assets/icons/warning-exclamation.svg.cjs');
147
147
  require('../../assets/icons/warning-outlined.svg.cjs');
148
148
  require('../../assets/icons/info-outlined.svg.cjs');
149
149
  require('../../assets/icons/hint-outlined.svg.cjs');
150
+ require('../../assets/icons/face-happy.svg.cjs');
151
+ require('../../assets/icons/person-level.svg.cjs');
152
+ require('../../assets/icons/star-reward.svg.cjs');
150
153
  var reactDom = require('react-dom');
151
154
  var Icon = require('../Icon/Icon.cjs');
152
155
  var Numpad = require('../Numpad/Numpad.cjs');