rbro-tat-uds 2.2.28 → 2.2.30
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/cjs/components/ConfigurationProcessInfo/ConfigurationProcessInfo.cjs +3 -1
- package/build/cjs/components/ProductTeaserOwned/ProductTeaserOwned.cjs +95 -0
- package/build/cjs/components/ProductTeaserOwned/index.cjs +12 -0
- package/build/cjs/components/index.cjs +2 -0
- package/build/cjs/index.cjs +83 -1
- package/build/esm/components/ConfigurationProcessInfo/ConfigurationProcessInfo.js +3 -1
- package/build/esm/components/ProductTeaserOwned/ProductTeaserOwned.js +91 -0
- package/build/esm/components/ProductTeaserOwned/index.js +8 -0
- package/build/esm/components/index.js +1 -0
- package/build/esm/index.js +83 -2
- package/build/types/components/ConfigurationProcessInfo/ConfigurationProcessInfo.d.ts +1 -0
- package/build/types/components/ProductTeaserOwned/ProductTeaserOwned.d.ts +19 -0
- package/build/types/components/ProductTeaserOwned/index.d.ts +6 -0
- package/build/types/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -45,6 +45,7 @@ const ConfigurationProcessInfo = ({
|
|
|
45
45
|
date = "N/A",
|
|
46
46
|
branchName = "",
|
|
47
47
|
buttonOnClick,
|
|
48
|
+
disabled = false,
|
|
48
49
|
...rest
|
|
49
50
|
}) => {
|
|
50
51
|
return /* @__PURE__ */ jsxRuntime.jsxs(ConfigurationProcessInfoStyled, { ...rest, children: [
|
|
@@ -56,7 +57,8 @@ const ConfigurationProcessInfo = ({
|
|
|
56
57
|
variant: "secondaryOutlined",
|
|
57
58
|
size: "small",
|
|
58
59
|
onClick: buttonOnClick,
|
|
59
|
-
label: "Anuleaza procesul"
|
|
60
|
+
label: "Anuleaza procesul",
|
|
61
|
+
disabled
|
|
60
62
|
}
|
|
61
63
|
),
|
|
62
64
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
"use client";
|
|
3
|
+
|
|
4
|
+
'use strict';
|
|
5
|
+
|
|
6
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
|
+
|
|
8
|
+
var jsxRuntime = require('react/jsx-runtime');
|
|
9
|
+
require('react');
|
|
10
|
+
var styled = require('styled-components');
|
|
11
|
+
var utils = require('../../utils');
|
|
12
|
+
var Pill = require('../Pill/Pill.cjs');
|
|
13
|
+
var LabeledText = require('../LabeledText/LabeledText.cjs');
|
|
14
|
+
var Icon = require('../Icon/Icon.cjs');
|
|
15
|
+
|
|
16
|
+
const ProductTeaserOwnedStyled = styled.div`
|
|
17
|
+
border: 1px solid ${utils.colors.gray_1000_10};
|
|
18
|
+
border-radius: 8px;
|
|
19
|
+
display: flex;
|
|
20
|
+
align-items: stretch;
|
|
21
|
+
overflow: hidden;
|
|
22
|
+
|
|
23
|
+
& > div:first-of-type {
|
|
24
|
+
display: flex;
|
|
25
|
+
align-items: center;
|
|
26
|
+
gap: 16px;
|
|
27
|
+
padding: 12px 16px;
|
|
28
|
+
flex: 1;
|
|
29
|
+
|
|
30
|
+
& > div {
|
|
31
|
+
flex: 1;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
& > div:nth-of-type(2) {
|
|
36
|
+
background-color: ${utils.colors.info_100};
|
|
37
|
+
width: 60px;
|
|
38
|
+
display: flex;
|
|
39
|
+
align-items: center;
|
|
40
|
+
justify-content: center;
|
|
41
|
+
cursor: pointer;
|
|
42
|
+
}
|
|
43
|
+
`;
|
|
44
|
+
const ProductTeaserOwned = ({
|
|
45
|
+
labeledTexts = [],
|
|
46
|
+
status = "activ",
|
|
47
|
+
buttonOnClick = () => {
|
|
48
|
+
},
|
|
49
|
+
...rest
|
|
50
|
+
}) => {
|
|
51
|
+
const statusText = {
|
|
52
|
+
activ: {
|
|
53
|
+
text: "ACTIV",
|
|
54
|
+
bgColor: "success_100",
|
|
55
|
+
textColor: "success_600"
|
|
56
|
+
},
|
|
57
|
+
restant: {
|
|
58
|
+
text: "RESTANT",
|
|
59
|
+
bgColor: "danger_500",
|
|
60
|
+
textColor: "white"
|
|
61
|
+
}
|
|
62
|
+
};
|
|
63
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(ProductTeaserOwnedStyled, { ...rest, children: [
|
|
64
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
65
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
66
|
+
Pill.default,
|
|
67
|
+
{
|
|
68
|
+
radius: "4px",
|
|
69
|
+
text: statusText[status].text,
|
|
70
|
+
bgColor: statusText[status].bgColor,
|
|
71
|
+
textColor: statusText[status].textColor
|
|
72
|
+
}
|
|
73
|
+
) }),
|
|
74
|
+
labeledTexts.map((labeledText, index) => /* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
75
|
+
LabeledText.default,
|
|
76
|
+
{
|
|
77
|
+
style: {
|
|
78
|
+
flex: 1
|
|
79
|
+
},
|
|
80
|
+
label: labeledText.label,
|
|
81
|
+
text: labeledText.text || "-",
|
|
82
|
+
labelColor: labeledText.labelColor || "gray_700",
|
|
83
|
+
textColor: labeledText.textColor || "gray_950",
|
|
84
|
+
labelFontSize: 12,
|
|
85
|
+
textFontSize: 14,
|
|
86
|
+
textFontWeight: labeledText.textFontWeight || 500
|
|
87
|
+
},
|
|
88
|
+
index
|
|
89
|
+
) }, index))
|
|
90
|
+
] }),
|
|
91
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { onClick: buttonOnClick, children: /* @__PURE__ */ jsxRuntime.jsx(Icon.default, { icon: "new_tab", color: utils.colors.info_800, size: 20 }) })
|
|
92
|
+
] });
|
|
93
|
+
};
|
|
94
|
+
|
|
95
|
+
exports.default = ProductTeaserOwned;
|
|
@@ -98,6 +98,7 @@ var FeedbackCard = require('./FeedbackCard/FeedbackCard.cjs');
|
|
|
98
98
|
var ConfigurationStickyBar = require('./ConfigurationStickyBar/ConfigurationStickyBar.cjs');
|
|
99
99
|
var PropunereUniqaProtect = require('./PropunereUniqaProtect/PropunereUniqaProtect.cjs');
|
|
100
100
|
var ConfigurationProcessInfo = require('./ConfigurationProcessInfo/ConfigurationProcessInfo.cjs');
|
|
101
|
+
var ProductTeaserOwned = require('./ProductTeaserOwned/ProductTeaserOwned.cjs');
|
|
101
102
|
|
|
102
103
|
|
|
103
104
|
|
|
@@ -196,3 +197,4 @@ exports.FeedbackCard = FeedbackCard.default;
|
|
|
196
197
|
exports.ConfigurationStickyBar = ConfigurationStickyBar.default;
|
|
197
198
|
exports.PropunereUniqaProtect = PropunereUniqaProtect.default;
|
|
198
199
|
exports.ConfigurationProcessInfo = ConfigurationProcessInfo.default;
|
|
200
|
+
exports.ProductTeaserOwned = ProductTeaserOwned.default;
|
package/build/cjs/index.cjs
CHANGED
|
@@ -82994,6 +82994,7 @@ const ConfigurationProcessInfo = ({
|
|
|
82994
82994
|
date = "N/A",
|
|
82995
82995
|
branchName = "",
|
|
82996
82996
|
buttonOnClick,
|
|
82997
|
+
disabled = false,
|
|
82997
82998
|
...rest
|
|
82998
82999
|
}) => {
|
|
82999
83000
|
return /* @__PURE__ */ jsxRuntime.jsxs(ConfigurationProcessInfoStyled, { ...rest, children: [
|
|
@@ -83005,7 +83006,8 @@ const ConfigurationProcessInfo = ({
|
|
|
83005
83006
|
variant: "secondaryOutlined",
|
|
83006
83007
|
size: "small",
|
|
83007
83008
|
onClick: buttonOnClick,
|
|
83008
|
-
label: "Anuleaza procesul"
|
|
83009
|
+
label: "Anuleaza procesul",
|
|
83010
|
+
disabled
|
|
83009
83011
|
}
|
|
83010
83012
|
),
|
|
83011
83013
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
@@ -83019,6 +83021,85 @@ const ConfigurationProcessInfo = ({
|
|
|
83019
83021
|
] });
|
|
83020
83022
|
};
|
|
83021
83023
|
|
|
83024
|
+
const ProductTeaserOwnedStyled = styled__default.default.div`
|
|
83025
|
+
border: 1px solid ${utils.colors.gray_1000_10};
|
|
83026
|
+
border-radius: 8px;
|
|
83027
|
+
display: flex;
|
|
83028
|
+
align-items: stretch;
|
|
83029
|
+
overflow: hidden;
|
|
83030
|
+
|
|
83031
|
+
& > div:first-of-type {
|
|
83032
|
+
display: flex;
|
|
83033
|
+
align-items: center;
|
|
83034
|
+
gap: 16px;
|
|
83035
|
+
padding: 12px 16px;
|
|
83036
|
+
flex: 1;
|
|
83037
|
+
|
|
83038
|
+
& > div {
|
|
83039
|
+
flex: 1;
|
|
83040
|
+
}
|
|
83041
|
+
}
|
|
83042
|
+
|
|
83043
|
+
& > div:nth-of-type(2) {
|
|
83044
|
+
background-color: ${utils.colors.info_100};
|
|
83045
|
+
width: 60px;
|
|
83046
|
+
display: flex;
|
|
83047
|
+
align-items: center;
|
|
83048
|
+
justify-content: center;
|
|
83049
|
+
cursor: pointer;
|
|
83050
|
+
}
|
|
83051
|
+
`;
|
|
83052
|
+
const ProductTeaserOwned = ({
|
|
83053
|
+
labeledTexts = [],
|
|
83054
|
+
status = "activ",
|
|
83055
|
+
buttonOnClick = () => {
|
|
83056
|
+
},
|
|
83057
|
+
...rest
|
|
83058
|
+
}) => {
|
|
83059
|
+
const statusText = {
|
|
83060
|
+
activ: {
|
|
83061
|
+
text: "ACTIV",
|
|
83062
|
+
bgColor: "success_100",
|
|
83063
|
+
textColor: "success_600"
|
|
83064
|
+
},
|
|
83065
|
+
restant: {
|
|
83066
|
+
text: "RESTANT",
|
|
83067
|
+
bgColor: "danger_500",
|
|
83068
|
+
textColor: "white"
|
|
83069
|
+
}
|
|
83070
|
+
};
|
|
83071
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(ProductTeaserOwnedStyled, { ...rest, children: [
|
|
83072
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
83073
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
83074
|
+
Pill,
|
|
83075
|
+
{
|
|
83076
|
+
radius: "4px",
|
|
83077
|
+
text: statusText[status].text,
|
|
83078
|
+
bgColor: statusText[status].bgColor,
|
|
83079
|
+
textColor: statusText[status].textColor
|
|
83080
|
+
}
|
|
83081
|
+
) }),
|
|
83082
|
+
labeledTexts.map((labeledText, index) => /* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
83083
|
+
LabeledText,
|
|
83084
|
+
{
|
|
83085
|
+
style: {
|
|
83086
|
+
flex: 1
|
|
83087
|
+
},
|
|
83088
|
+
label: labeledText.label,
|
|
83089
|
+
text: labeledText.text || "-",
|
|
83090
|
+
labelColor: labeledText.labelColor || "gray_700",
|
|
83091
|
+
textColor: labeledText.textColor || "gray_950",
|
|
83092
|
+
labelFontSize: 12,
|
|
83093
|
+
textFontSize: 14,
|
|
83094
|
+
textFontWeight: labeledText.textFontWeight || 500
|
|
83095
|
+
},
|
|
83096
|
+
index
|
|
83097
|
+
) }, index))
|
|
83098
|
+
] }),
|
|
83099
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { onClick: buttonOnClick, children: /* @__PURE__ */ jsxRuntime.jsx(Icon$1, { icon: "new_tab", color: utils.colors.info_800, size: 20 }) })
|
|
83100
|
+
] });
|
|
83101
|
+
};
|
|
83102
|
+
|
|
83022
83103
|
exports.Accordion = Accordion;
|
|
83023
83104
|
exports.Alert = Alert;
|
|
83024
83105
|
exports.AppBranding = AppBranding;
|
|
@@ -83080,6 +83161,7 @@ exports.PlanFinanciarAUMGraph = PlanFinanciarAUMGraph;
|
|
|
83080
83161
|
exports.PlanulFinanciarTeaser = PlanulFinanciarTeaser;
|
|
83081
83162
|
exports.ProductTeaser = ProductTeaser;
|
|
83082
83163
|
exports.ProductTeaserButton = ProductTeaserButton;
|
|
83164
|
+
exports.ProductTeaserOwned = ProductTeaserOwned;
|
|
83083
83165
|
exports.ProductTeaserParameters = ProductTeaserParameters;
|
|
83084
83166
|
exports.ProductTeaserStep = ProductTeaserStep;
|
|
83085
83167
|
exports.ProposalPensii = ProposalPensii;
|
|
@@ -41,6 +41,7 @@ const ConfigurationProcessInfo = ({
|
|
|
41
41
|
date = "N/A",
|
|
42
42
|
branchName = "",
|
|
43
43
|
buttonOnClick,
|
|
44
|
+
disabled = false,
|
|
44
45
|
...rest
|
|
45
46
|
}) => {
|
|
46
47
|
return /* @__PURE__ */ jsxs(ConfigurationProcessInfoStyled, { ...rest, children: [
|
|
@@ -52,7 +53,8 @@ const ConfigurationProcessInfo = ({
|
|
|
52
53
|
variant: "secondaryOutlined",
|
|
53
54
|
size: "small",
|
|
54
55
|
onClick: buttonOnClick,
|
|
55
|
-
label: "Anuleaza procesul"
|
|
56
|
+
label: "Anuleaza procesul",
|
|
57
|
+
disabled
|
|
56
58
|
}
|
|
57
59
|
),
|
|
58
60
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
"use client";
|
|
3
|
+
|
|
4
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
5
|
+
import 'react';
|
|
6
|
+
import styled from 'styled-components';
|
|
7
|
+
import { colors } from '../../utils';
|
|
8
|
+
import Pill from '../Pill/Pill.js';
|
|
9
|
+
import LabeledText from '../LabeledText/LabeledText.js';
|
|
10
|
+
import Icon from '../Icon/Icon.js';
|
|
11
|
+
|
|
12
|
+
const ProductTeaserOwnedStyled = styled.div`
|
|
13
|
+
border: 1px solid ${colors.gray_1000_10};
|
|
14
|
+
border-radius: 8px;
|
|
15
|
+
display: flex;
|
|
16
|
+
align-items: stretch;
|
|
17
|
+
overflow: hidden;
|
|
18
|
+
|
|
19
|
+
& > div:first-of-type {
|
|
20
|
+
display: flex;
|
|
21
|
+
align-items: center;
|
|
22
|
+
gap: 16px;
|
|
23
|
+
padding: 12px 16px;
|
|
24
|
+
flex: 1;
|
|
25
|
+
|
|
26
|
+
& > div {
|
|
27
|
+
flex: 1;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
& > div:nth-of-type(2) {
|
|
32
|
+
background-color: ${colors.info_100};
|
|
33
|
+
width: 60px;
|
|
34
|
+
display: flex;
|
|
35
|
+
align-items: center;
|
|
36
|
+
justify-content: center;
|
|
37
|
+
cursor: pointer;
|
|
38
|
+
}
|
|
39
|
+
`;
|
|
40
|
+
const ProductTeaserOwned = ({
|
|
41
|
+
labeledTexts = [],
|
|
42
|
+
status = "activ",
|
|
43
|
+
buttonOnClick = () => {
|
|
44
|
+
},
|
|
45
|
+
...rest
|
|
46
|
+
}) => {
|
|
47
|
+
const statusText = {
|
|
48
|
+
activ: {
|
|
49
|
+
text: "ACTIV",
|
|
50
|
+
bgColor: "success_100",
|
|
51
|
+
textColor: "success_600"
|
|
52
|
+
},
|
|
53
|
+
restant: {
|
|
54
|
+
text: "RESTANT",
|
|
55
|
+
bgColor: "danger_500",
|
|
56
|
+
textColor: "white"
|
|
57
|
+
}
|
|
58
|
+
};
|
|
59
|
+
return /* @__PURE__ */ jsxs(ProductTeaserOwnedStyled, { ...rest, children: [
|
|
60
|
+
/* @__PURE__ */ jsxs("div", { children: [
|
|
61
|
+
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
62
|
+
Pill,
|
|
63
|
+
{
|
|
64
|
+
radius: "4px",
|
|
65
|
+
text: statusText[status].text,
|
|
66
|
+
bgColor: statusText[status].bgColor,
|
|
67
|
+
textColor: statusText[status].textColor
|
|
68
|
+
}
|
|
69
|
+
) }),
|
|
70
|
+
labeledTexts.map((labeledText, index) => /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
71
|
+
LabeledText,
|
|
72
|
+
{
|
|
73
|
+
style: {
|
|
74
|
+
flex: 1
|
|
75
|
+
},
|
|
76
|
+
label: labeledText.label,
|
|
77
|
+
text: labeledText.text || "-",
|
|
78
|
+
labelColor: labeledText.labelColor || "gray_700",
|
|
79
|
+
textColor: labeledText.textColor || "gray_950",
|
|
80
|
+
labelFontSize: 12,
|
|
81
|
+
textFontSize: 14,
|
|
82
|
+
textFontWeight: labeledText.textFontWeight || 500
|
|
83
|
+
},
|
|
84
|
+
index
|
|
85
|
+
) }, index))
|
|
86
|
+
] }),
|
|
87
|
+
/* @__PURE__ */ jsx("div", { onClick: buttonOnClick, children: /* @__PURE__ */ jsx(Icon, { icon: "new_tab", color: colors.info_800, size: 20 }) })
|
|
88
|
+
] });
|
|
89
|
+
};
|
|
90
|
+
|
|
91
|
+
export { ProductTeaserOwned as default };
|
|
@@ -96,3 +96,4 @@ export { default as FeedbackCard } from './FeedbackCard/FeedbackCard.js';
|
|
|
96
96
|
export { default as ConfigurationStickyBar } from './ConfigurationStickyBar/ConfigurationStickyBar.js';
|
|
97
97
|
export { default as PropunereUniqaProtect } from './PropunereUniqaProtect/PropunereUniqaProtect.js';
|
|
98
98
|
export { default as ConfigurationProcessInfo } from './ConfigurationProcessInfo/ConfigurationProcessInfo.js';
|
|
99
|
+
export { default as ProductTeaserOwned } from './ProductTeaserOwned/ProductTeaserOwned.js';
|
package/build/esm/index.js
CHANGED
|
@@ -82971,6 +82971,7 @@ const ConfigurationProcessInfo = ({
|
|
|
82971
82971
|
date = "N/A",
|
|
82972
82972
|
branchName = "",
|
|
82973
82973
|
buttonOnClick,
|
|
82974
|
+
disabled = false,
|
|
82974
82975
|
...rest
|
|
82975
82976
|
}) => {
|
|
82976
82977
|
return /* @__PURE__ */ jsxs(ConfigurationProcessInfoStyled, { ...rest, children: [
|
|
@@ -82982,7 +82983,8 @@ const ConfigurationProcessInfo = ({
|
|
|
82982
82983
|
variant: "secondaryOutlined",
|
|
82983
82984
|
size: "small",
|
|
82984
82985
|
onClick: buttonOnClick,
|
|
82985
|
-
label: "Anuleaza procesul"
|
|
82986
|
+
label: "Anuleaza procesul",
|
|
82987
|
+
disabled
|
|
82986
82988
|
}
|
|
82987
82989
|
),
|
|
82988
82990
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
@@ -82996,4 +82998,83 @@ const ConfigurationProcessInfo = ({
|
|
|
82996
82998
|
] });
|
|
82997
82999
|
};
|
|
82998
83000
|
|
|
82999
|
-
|
|
83001
|
+
const ProductTeaserOwnedStyled = styled.div`
|
|
83002
|
+
border: 1px solid ${colors.gray_1000_10};
|
|
83003
|
+
border-radius: 8px;
|
|
83004
|
+
display: flex;
|
|
83005
|
+
align-items: stretch;
|
|
83006
|
+
overflow: hidden;
|
|
83007
|
+
|
|
83008
|
+
& > div:first-of-type {
|
|
83009
|
+
display: flex;
|
|
83010
|
+
align-items: center;
|
|
83011
|
+
gap: 16px;
|
|
83012
|
+
padding: 12px 16px;
|
|
83013
|
+
flex: 1;
|
|
83014
|
+
|
|
83015
|
+
& > div {
|
|
83016
|
+
flex: 1;
|
|
83017
|
+
}
|
|
83018
|
+
}
|
|
83019
|
+
|
|
83020
|
+
& > div:nth-of-type(2) {
|
|
83021
|
+
background-color: ${colors.info_100};
|
|
83022
|
+
width: 60px;
|
|
83023
|
+
display: flex;
|
|
83024
|
+
align-items: center;
|
|
83025
|
+
justify-content: center;
|
|
83026
|
+
cursor: pointer;
|
|
83027
|
+
}
|
|
83028
|
+
`;
|
|
83029
|
+
const ProductTeaserOwned = ({
|
|
83030
|
+
labeledTexts = [],
|
|
83031
|
+
status = "activ",
|
|
83032
|
+
buttonOnClick = () => {
|
|
83033
|
+
},
|
|
83034
|
+
...rest
|
|
83035
|
+
}) => {
|
|
83036
|
+
const statusText = {
|
|
83037
|
+
activ: {
|
|
83038
|
+
text: "ACTIV",
|
|
83039
|
+
bgColor: "success_100",
|
|
83040
|
+
textColor: "success_600"
|
|
83041
|
+
},
|
|
83042
|
+
restant: {
|
|
83043
|
+
text: "RESTANT",
|
|
83044
|
+
bgColor: "danger_500",
|
|
83045
|
+
textColor: "white"
|
|
83046
|
+
}
|
|
83047
|
+
};
|
|
83048
|
+
return /* @__PURE__ */ jsxs(ProductTeaserOwnedStyled, { ...rest, children: [
|
|
83049
|
+
/* @__PURE__ */ jsxs("div", { children: [
|
|
83050
|
+
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
83051
|
+
Pill,
|
|
83052
|
+
{
|
|
83053
|
+
radius: "4px",
|
|
83054
|
+
text: statusText[status].text,
|
|
83055
|
+
bgColor: statusText[status].bgColor,
|
|
83056
|
+
textColor: statusText[status].textColor
|
|
83057
|
+
}
|
|
83058
|
+
) }),
|
|
83059
|
+
labeledTexts.map((labeledText, index) => /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
83060
|
+
LabeledText,
|
|
83061
|
+
{
|
|
83062
|
+
style: {
|
|
83063
|
+
flex: 1
|
|
83064
|
+
},
|
|
83065
|
+
label: labeledText.label,
|
|
83066
|
+
text: labeledText.text || "-",
|
|
83067
|
+
labelColor: labeledText.labelColor || "gray_700",
|
|
83068
|
+
textColor: labeledText.textColor || "gray_950",
|
|
83069
|
+
labelFontSize: 12,
|
|
83070
|
+
textFontSize: 14,
|
|
83071
|
+
textFontWeight: labeledText.textFontWeight || 500
|
|
83072
|
+
},
|
|
83073
|
+
index
|
|
83074
|
+
) }, index))
|
|
83075
|
+
] }),
|
|
83076
|
+
/* @__PURE__ */ jsx("div", { onClick: buttonOnClick, children: /* @__PURE__ */ jsx(Icon$1, { icon: "new_tab", color: colors.info_800, size: 20 }) })
|
|
83077
|
+
] });
|
|
83078
|
+
};
|
|
83079
|
+
|
|
83080
|
+
export { Accordion, Alert, AppBranding, AutosaveStatus, Bar, BreadcrumbItem, Breadcrumbs, Button, ButtonLink, Card, Checkbox, CityPicker, ConfigurationProcessInfo, ConfigurationSaveInfo, ConfigurationStickyBar, Container, Content, ContentDropdown, CreditCard, DashboardCard, DashboardCategory, DashboardSmallShortcut, Datepicker, Divider, DonutGraph, Dropdown, FeedbackCard, Flex, FormField, GraficConfiguratiePensii, GraficContributieUnitlinked, GraficFondInvestitii, GraficFondInvestitiiInflatie, GraficPensii, GraficPlanInvestitii, GraficPropunerePensii, Icon$1 as Icon, IconButton, IconCard, Illustration, ImageCard, InPageTab, InvestmentFundItem, LabeledText, LabeledTextInLine, Layout, Logo, Modal, ObjectiveCard, ObjectiveCardSmall, OfferCard, OperationsDashboardCard, OperationsDashboardCategory, PageMessage, PageTitle, Pill, PlanFinanciarAUMBar, PlanFinanciarAUMGraph, PlanulFinanciarTeaser, ProductTeaser, ProductTeaserButton, ProductTeaserOwned, ProductTeaserParameters, ProductTeaserStep, ProposalPensii, ProposalUnitlinked, PropunereAsigurareLocuinta, PropunereAsigurariCalatorie, PropunereFlexicredit, PropunereFondInvestitii, PropunuerePlanInvestitii as PropunerePlanInvestitii, PropunereUniqaProtect, Radio, RatesCalculator, Section, SegmentedTabs, SelectionAppCard, SelectionButton, SelectionPill, ShortcutCard, Sidebar, SidebarItem, Slider, Spinner, StepTab, StepsBar, Switch, Tab, TextInput, Textarea, TimedButton, TimelineSteps, TimelineStepsItem, Timer, UnitLinkGraph as UnitlinkGraph, VerticalHeat };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React, { HTMLAttributes } from 'react';
|
|
2
|
+
import { colors } from '../../utils/colors.js';
|
|
3
|
+
|
|
4
|
+
interface ProductTeaserOwnedProps extends HTMLAttributes<HTMLDivElement> {
|
|
5
|
+
labeledTexts?: {
|
|
6
|
+
label: string;
|
|
7
|
+
text?: string;
|
|
8
|
+
width?: string;
|
|
9
|
+
labelColor?: keyof typeof colors;
|
|
10
|
+
textColor?: keyof typeof colors;
|
|
11
|
+
textFontWeight?: 200 | 300 | 400 | 500 | 700 | 800;
|
|
12
|
+
}[];
|
|
13
|
+
status: "activ" | "restant";
|
|
14
|
+
buttonOnClick?: () => void;
|
|
15
|
+
}
|
|
16
|
+
declare const ProductTeaserOwned: React.FC<ProductTeaserOwnedProps>;
|
|
17
|
+
|
|
18
|
+
export { ProductTeaserOwned as default };
|
|
19
|
+
export type { ProductTeaserOwnedProps };
|
package/build/types/index.d.ts
CHANGED
|
@@ -94,3 +94,4 @@ export { default as FeedbackCard, FeedbackCardProps } from './components/Feedbac
|
|
|
94
94
|
export { default as ConfigurationStickyBar, ConfigurationStickyBarProps } from './components/ConfigurationStickyBar/ConfigurationStickyBar.js';
|
|
95
95
|
export { default as PropunereUniqaProtect, PropunereUniqaProtectProps } from './components/PropunereUniqaProtect/PropunereUniqaProtect.js';
|
|
96
96
|
export { default as ConfigurationProcessInfo, ConfigurationProcessInfoProps } from './components/ConfigurationProcessInfo/ConfigurationProcessInfo.js';
|
|
97
|
+
export { default as ProductTeaserOwned, ProductTeaserOwnedProps } from './components/ProductTeaserOwned/ProductTeaserOwned.js';
|