rbro-tat-uds 2.2.22 → 2.2.24
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/CityPicker/cities-extended.cjs +0 -4
- package/build/cjs/components/ConfigurationSaveInfo/ConfigurationSaveInfo.cjs +1 -1
- package/build/cjs/components/PropunereUniqaProtect/PropunereUniqaProtect.cjs +389 -0
- package/build/cjs/components/PropunereUniqaProtect/index.cjs +12 -0
- package/build/cjs/components/index.cjs +2 -0
- package/build/cjs/index.cjs +403 -32
- package/build/esm/components/CityPicker/cities-extended.js +0 -4
- package/build/esm/components/ConfigurationSaveInfo/ConfigurationSaveInfo.js +1 -1
- package/build/esm/components/PropunereUniqaProtect/PropunereUniqaProtect.js +385 -0
- package/build/esm/components/PropunereUniqaProtect/index.js +8 -0
- package/build/esm/components/index.js +1 -0
- package/build/esm/index.js +403 -33
- package/build/types/components/PropunereUniqaProtect/PropunereUniqaProtect.d.ts +30 -0
- package/build/types/components/PropunereUniqaProtect/index.d.ts +6 -0
- package/build/types/index.d.ts +1 -0
- package/package.json +1 -1
package/build/esm/index.js
CHANGED
|
@@ -19036,10 +19036,6 @@ const cities_extended = [
|
|
|
19036
19036
|
{
|
|
19037
19037
|
title: "Bucuresti",
|
|
19038
19038
|
localitati: [
|
|
19039
|
-
{
|
|
19040
|
-
title: "Municipiul Bucuresti",
|
|
19041
|
-
clasificare: "3"
|
|
19042
|
-
},
|
|
19043
19039
|
{
|
|
19044
19040
|
title: "Sectorul 1",
|
|
19045
19041
|
clasificare: "3"
|
|
@@ -61172,7 +61168,7 @@ const ConfigurationSaveInfo = ({
|
|
|
61172
61168
|
),
|
|
61173
61169
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
61174
61170
|
/* @__PURE__ */ jsxs("span", { children: [
|
|
61175
|
-
isSimulator ? "
|
|
61171
|
+
isSimulator ? "Simulare" : "Configuratie",
|
|
61176
61172
|
" din data"
|
|
61177
61173
|
] }),
|
|
61178
61174
|
/* @__PURE__ */ jsx("span", { children: date.length ? date : "N/A" })
|
|
@@ -62193,7 +62189,7 @@ const Modal = ({
|
|
|
62193
62189
|
let _footerSlot = null;
|
|
62194
62190
|
Children.toArray(children).filter(Boolean).forEach((child) => {
|
|
62195
62191
|
const element = child;
|
|
62196
|
-
if (element.type === ContentSlot$
|
|
62192
|
+
if (element.type === ContentSlot$9) {
|
|
62197
62193
|
_contentSlot = child;
|
|
62198
62194
|
}
|
|
62199
62195
|
if (element.type === FooterSlot) {
|
|
@@ -62232,9 +62228,9 @@ const Modal = ({
|
|
|
62232
62228
|
}
|
|
62233
62229
|
);
|
|
62234
62230
|
};
|
|
62235
|
-
const ContentSlot$
|
|
62231
|
+
const ContentSlot$9 = ({ children }) => children;
|
|
62236
62232
|
const FooterSlot = ({ children }) => children;
|
|
62237
|
-
Modal.ContentSlot = ContentSlot$
|
|
62233
|
+
Modal.ContentSlot = ContentSlot$9;
|
|
62238
62234
|
Modal.FooterSlot = FooterSlot;
|
|
62239
62235
|
|
|
62240
62236
|
const DashboardCategoryStyled$1 = styled.div`
|
|
@@ -76410,7 +76406,7 @@ const ProductTeaser = ({
|
|
|
76410
76406
|
if (element.type === StepsSlot) {
|
|
76411
76407
|
_stepsSlot = child;
|
|
76412
76408
|
}
|
|
76413
|
-
if (element.type === ContentSlot$
|
|
76409
|
+
if (element.type === ContentSlot$8) {
|
|
76414
76410
|
_contentSlot = child;
|
|
76415
76411
|
}
|
|
76416
76412
|
});
|
|
@@ -76434,9 +76430,9 @@ const ProductTeaser = ({
|
|
|
76434
76430
|
] });
|
|
76435
76431
|
};
|
|
76436
76432
|
const StepsSlot = ({ children }) => children;
|
|
76437
|
-
const ContentSlot$
|
|
76433
|
+
const ContentSlot$8 = ({ children }) => children;
|
|
76438
76434
|
ProductTeaser.StepsSlot = StepsSlot;
|
|
76439
|
-
ProductTeaser.ContentSlot = ContentSlot$
|
|
76435
|
+
ProductTeaser.ContentSlot = ContentSlot$8;
|
|
76440
76436
|
|
|
76441
76437
|
const ProductTeaserParametersStyled = styled.div`
|
|
76442
76438
|
display: flex;
|
|
@@ -76920,7 +76916,7 @@ const ProposalPensii = ({
|
|
|
76920
76916
|
let _contentSlot = null;
|
|
76921
76917
|
Children.toArray(children).filter(Boolean).forEach((child) => {
|
|
76922
76918
|
const element = child;
|
|
76923
|
-
if (element.type === ContentSlot$
|
|
76919
|
+
if (element.type === ContentSlot$7) {
|
|
76924
76920
|
_contentSlot = child;
|
|
76925
76921
|
}
|
|
76926
76922
|
});
|
|
@@ -77022,8 +77018,8 @@ const ProposalPensii = ({
|
|
|
77022
77018
|
}
|
|
77023
77019
|
);
|
|
77024
77020
|
};
|
|
77025
|
-
const ContentSlot$
|
|
77026
|
-
ProposalPensii.ContentSlot = ContentSlot$
|
|
77021
|
+
const ContentSlot$7 = ({ children }) => children;
|
|
77022
|
+
ProposalPensii.ContentSlot = ContentSlot$7;
|
|
77027
77023
|
|
|
77028
77024
|
const ProposalUnitlinkedStyled = styled.div`
|
|
77029
77025
|
border-radius: 8px;
|
|
@@ -77215,7 +77211,7 @@ const ProposalUnitlinked = ({
|
|
|
77215
77211
|
let _contentSlot = null;
|
|
77216
77212
|
Children.toArray(children).filter(Boolean).forEach((child) => {
|
|
77217
77213
|
const element = child;
|
|
77218
|
-
if (element.type === ContentSlot$
|
|
77214
|
+
if (element.type === ContentSlot$6) {
|
|
77219
77215
|
_contentSlot = child;
|
|
77220
77216
|
}
|
|
77221
77217
|
});
|
|
@@ -77315,8 +77311,8 @@ const ProposalUnitlinked = ({
|
|
|
77315
77311
|
}
|
|
77316
77312
|
);
|
|
77317
77313
|
};
|
|
77318
|
-
const ContentSlot$
|
|
77319
|
-
ProposalUnitlinked.ContentSlot = ContentSlot$
|
|
77314
|
+
const ContentSlot$6 = ({ children }) => children;
|
|
77315
|
+
ProposalUnitlinked.ContentSlot = ContentSlot$6;
|
|
77320
77316
|
|
|
77321
77317
|
const PropunereAsigurariCalatorieStyled = styled.div`
|
|
77322
77318
|
border-radius: 8px;
|
|
@@ -77510,7 +77506,7 @@ const PropunereAsigurariCalatorie = ({
|
|
|
77510
77506
|
let _contentSlot = null;
|
|
77511
77507
|
Children.toArray(children).filter(Boolean).forEach((child) => {
|
|
77512
77508
|
const element = child;
|
|
77513
|
-
if (element.type === ContentSlot$
|
|
77509
|
+
if (element.type === ContentSlot$5) {
|
|
77514
77510
|
_contentSlot = child;
|
|
77515
77511
|
}
|
|
77516
77512
|
});
|
|
@@ -77612,8 +77608,8 @@ const PropunereAsigurariCalatorie = ({
|
|
|
77612
77608
|
}
|
|
77613
77609
|
);
|
|
77614
77610
|
};
|
|
77615
|
-
const ContentSlot$
|
|
77616
|
-
PropunereAsigurariCalatorie.ContentSlot = ContentSlot$
|
|
77611
|
+
const ContentSlot$5 = ({ children }) => children;
|
|
77612
|
+
PropunereAsigurariCalatorie.ContentSlot = ContentSlot$5;
|
|
77617
77613
|
|
|
77618
77614
|
const PropunereFlexicreditStyled = styled.div`
|
|
77619
77615
|
border-radius: 8px;
|
|
@@ -77851,7 +77847,7 @@ const PropunereFlexicredit = ({
|
|
|
77851
77847
|
let _contentSlot = null;
|
|
77852
77848
|
Children.toArray(children).filter(Boolean).forEach((child) => {
|
|
77853
77849
|
const element = child;
|
|
77854
|
-
if (element.type === ContentSlot$
|
|
77850
|
+
if (element.type === ContentSlot$4) {
|
|
77855
77851
|
_contentSlot = child;
|
|
77856
77852
|
}
|
|
77857
77853
|
});
|
|
@@ -77967,8 +77963,8 @@ const PropunereFlexicredit = ({
|
|
|
77967
77963
|
}
|
|
77968
77964
|
);
|
|
77969
77965
|
};
|
|
77970
|
-
const ContentSlot$
|
|
77971
|
-
PropunereFlexicredit.ContentSlot = ContentSlot$
|
|
77966
|
+
const ContentSlot$4 = ({ children }) => children;
|
|
77967
|
+
PropunereFlexicredit.ContentSlot = ContentSlot$4;
|
|
77972
77968
|
|
|
77973
77969
|
const PropunereFondInvestitiiStyled = styled.div`
|
|
77974
77970
|
border-radius: 8px;
|
|
@@ -78173,7 +78169,7 @@ const PropunereFondInvestitii = ({
|
|
|
78173
78169
|
let _contentSlot = null;
|
|
78174
78170
|
Children.toArray(children).filter(Boolean).forEach((child) => {
|
|
78175
78171
|
const element = child;
|
|
78176
|
-
if (element.type === ContentSlot$
|
|
78172
|
+
if (element.type === ContentSlot$3) {
|
|
78177
78173
|
_contentSlot = child;
|
|
78178
78174
|
}
|
|
78179
78175
|
});
|
|
@@ -78249,8 +78245,8 @@ const PropunereFondInvestitii = ({
|
|
|
78249
78245
|
}
|
|
78250
78246
|
);
|
|
78251
78247
|
};
|
|
78252
|
-
const ContentSlot$
|
|
78253
|
-
PropunereFondInvestitii.ContentSlot = ContentSlot$
|
|
78248
|
+
const ContentSlot$3 = ({ children }) => children;
|
|
78249
|
+
PropunereFondInvestitii.ContentSlot = ContentSlot$3;
|
|
78254
78250
|
|
|
78255
78251
|
const PropunuerePlanInvestitiiStyled = styled.div`
|
|
78256
78252
|
border-radius: 8px;
|
|
@@ -78455,7 +78451,7 @@ const PropunuerePlanInvestitii = ({
|
|
|
78455
78451
|
let _contentSlot = null;
|
|
78456
78452
|
Children.toArray(children).filter(Boolean).forEach((child) => {
|
|
78457
78453
|
const element = child;
|
|
78458
|
-
if (element.type === ContentSlot$
|
|
78454
|
+
if (element.type === ContentSlot$2) {
|
|
78459
78455
|
_contentSlot = child;
|
|
78460
78456
|
}
|
|
78461
78457
|
});
|
|
@@ -78531,8 +78527,8 @@ const PropunuerePlanInvestitii = ({
|
|
|
78531
78527
|
}
|
|
78532
78528
|
);
|
|
78533
78529
|
};
|
|
78534
|
-
const ContentSlot$
|
|
78535
|
-
PropunuerePlanInvestitii.ContentSlot = ContentSlot$
|
|
78530
|
+
const ContentSlot$2 = ({ children }) => children;
|
|
78531
|
+
PropunuerePlanInvestitii.ContentSlot = ContentSlot$2;
|
|
78536
78532
|
|
|
78537
78533
|
const styledSizesWrapper = {
|
|
78538
78534
|
small: css`
|
|
@@ -82221,7 +82217,7 @@ const PropunereAsigurareLocuinta = ({
|
|
|
82221
82217
|
let _contentSlot = null;
|
|
82222
82218
|
Children.toArray(children).filter(Boolean).forEach((child) => {
|
|
82223
82219
|
const element = child;
|
|
82224
|
-
if (element.type === ContentSlot) {
|
|
82220
|
+
if (element.type === ContentSlot$1) {
|
|
82225
82221
|
_contentSlot = child;
|
|
82226
82222
|
}
|
|
82227
82223
|
});
|
|
@@ -82362,8 +82358,8 @@ const PropunereAsigurareLocuinta = ({
|
|
|
82362
82358
|
}
|
|
82363
82359
|
);
|
|
82364
82360
|
};
|
|
82365
|
-
const ContentSlot = ({ children }) => children;
|
|
82366
|
-
PropunereAsigurareLocuinta.ContentSlot = ContentSlot;
|
|
82361
|
+
const ContentSlot$1 = ({ children }) => children;
|
|
82362
|
+
PropunereAsigurareLocuinta.ContentSlot = ContentSlot$1;
|
|
82367
82363
|
|
|
82368
82364
|
const TextareaStyled = styled.textarea`
|
|
82369
82365
|
box-sizing: border-box;
|
|
@@ -82537,4 +82533,378 @@ const ConfigurationStickyBar = ({
|
|
|
82537
82533
|
return /* @__PURE__ */ jsx(ConfigurationStickyBarStyled, { $visible: isVisible, ...rest, children: /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx("div", { children }) }) });
|
|
82538
82534
|
};
|
|
82539
82535
|
|
|
82540
|
-
|
|
82536
|
+
const PropunereUniqaProtectStyled = styled.div`
|
|
82537
|
+
border-radius: 8px;
|
|
82538
|
+
border: 1px solid
|
|
82539
|
+
${({ $featured, $selected }) => $selected ? colors.purple_500 : $featured ? colors.accent_600 : colors.gray_200};
|
|
82540
|
+
overflow: hidden;
|
|
82541
|
+
min-height: ${({ $hideButton }) => $hideButton ? "294px" : "334px"};
|
|
82542
|
+
box-sizing: border-box;
|
|
82543
|
+
height: 100%;
|
|
82544
|
+
width: 100%;
|
|
82545
|
+
|
|
82546
|
+
${(props) => !props.$empty ? css`
|
|
82547
|
+
outline: ${props.$featured ? `3px solid ${colors.accent_300}` : "none"};
|
|
82548
|
+
|
|
82549
|
+
& > div:first-of-type {
|
|
82550
|
+
& > div:first-child {
|
|
82551
|
+
padding: 6px 6px 0px 16px;
|
|
82552
|
+
display: flex;
|
|
82553
|
+
align-items: center;
|
|
82554
|
+
justify-content: space-between;
|
|
82555
|
+
gap: 8px;
|
|
82556
|
+
background-color: ${props.$refused ? colors.gray_30 : props.$selected ? colors.purple_50 : props.$featured ? colors.accent_100 : "transparent"};
|
|
82557
|
+
|
|
82558
|
+
& > span {
|
|
82559
|
+
font-size: 18px;
|
|
82560
|
+
font-weight: 700;
|
|
82561
|
+
line-height: 120%;
|
|
82562
|
+
color: ${({ $refused }) => $refused ? colors.gray_300 : colors.purple_600};
|
|
82563
|
+
}
|
|
82564
|
+
}
|
|
82565
|
+
|
|
82566
|
+
& > div:nth-child(2) {
|
|
82567
|
+
box-sizing: border-box;
|
|
82568
|
+
display: flex;
|
|
82569
|
+
align-items: stretch;
|
|
82570
|
+
height: 80px;
|
|
82571
|
+
|
|
82572
|
+
& > div:first-of-type {
|
|
82573
|
+
padding: 8px 4px 12px 16px;
|
|
82574
|
+
flex: 1;
|
|
82575
|
+
box-sizing: border-box;
|
|
82576
|
+
display: flex;
|
|
82577
|
+
flex-direction: column;
|
|
82578
|
+
gap: 2px;
|
|
82579
|
+
background-color: ${props.$refused ? colors.gray_30 : props.$selected ? colors.purple_50 : props.$featured ? colors.accent_100 : "transparent"};
|
|
82580
|
+
|
|
82581
|
+
& > div {
|
|
82582
|
+
display: flex;
|
|
82583
|
+
align-items: flex-start;
|
|
82584
|
+
gap: 8px;
|
|
82585
|
+
|
|
82586
|
+
& > svg {
|
|
82587
|
+
cursor: pointer;
|
|
82588
|
+
}
|
|
82589
|
+
|
|
82590
|
+
& > span:first-of-type {
|
|
82591
|
+
flex: 1;
|
|
82592
|
+
font-size: 14px;
|
|
82593
|
+
font-weight: ${({ $includePad }) => $includePad ? 700 : 400};
|
|
82594
|
+
color: ${({ $refused }) => $refused ? colors.gray_200 : colors.gray_700};
|
|
82595
|
+
}
|
|
82596
|
+
}
|
|
82597
|
+
|
|
82598
|
+
& > span {
|
|
82599
|
+
font-size: 20px;
|
|
82600
|
+
font-weight: 700;
|
|
82601
|
+
color: ${({ $refused }) => $refused ? colors.gray_300 : colors.gray_950};
|
|
82602
|
+
}
|
|
82603
|
+
}
|
|
82604
|
+
|
|
82605
|
+
& > div:nth-of-type(2) {
|
|
82606
|
+
padding: 8px 16px 12px 4px;
|
|
82607
|
+
flex: 1;
|
|
82608
|
+
box-sizing: border-box;
|
|
82609
|
+
display: flex;
|
|
82610
|
+
flex-direction: column;
|
|
82611
|
+
gap: 2px;
|
|
82612
|
+
background-color: ${props.$refused ? colors.gray_30 : props.$selected ? colors.purple_50 : props.$featured ? colors.accent_100 : "transparent"};
|
|
82613
|
+
|
|
82614
|
+
& > span:first-of-type {
|
|
82615
|
+
font-size: 14px;
|
|
82616
|
+
font-weight: ${({ $includePad }) => $includePad ? 700 : 400};
|
|
82617
|
+
color: ${({ $refused }) => $refused ? colors.gray_200 : colors.gray_700};
|
|
82618
|
+
}
|
|
82619
|
+
|
|
82620
|
+
& > span:nth-of-type(2) {
|
|
82621
|
+
font-size: 20px;
|
|
82622
|
+
font-weight: 500;
|
|
82623
|
+
color: ${({ $refused }) => $refused ? colors.gray_300 : colors.gray_950};
|
|
82624
|
+
}
|
|
82625
|
+
}
|
|
82626
|
+
}
|
|
82627
|
+
|
|
82628
|
+
& > div:last-child {
|
|
82629
|
+
display: flex;
|
|
82630
|
+
border-top: 1px solid ${colors.gray_200};
|
|
82631
|
+
border-bottom: 1px solid ${colors.gray_200};
|
|
82632
|
+
display: flex;
|
|
82633
|
+
align-items: stretch;
|
|
82634
|
+
box-sizing: border-box;
|
|
82635
|
+
|
|
82636
|
+
& > div:first-of-type {
|
|
82637
|
+
box-sizing: border-box;
|
|
82638
|
+
flex: 1;
|
|
82639
|
+
height: 58px;
|
|
82640
|
+
display: flex;
|
|
82641
|
+
align-items: flex-start;
|
|
82642
|
+
padding: 12px 16px;
|
|
82643
|
+
gap: 8px;
|
|
82644
|
+
border-right: 0.5px solid ${colors.gray_200};
|
|
82645
|
+
background-color: ${props.$refused ? colors.gray_60 : props.$featured ? colors.white : colors.gray_30};
|
|
82646
|
+
|
|
82647
|
+
& > div {
|
|
82648
|
+
display: flex;
|
|
82649
|
+
flex-direction: column;
|
|
82650
|
+
gap: 2px;
|
|
82651
|
+
|
|
82652
|
+
& > div:first-of-type {
|
|
82653
|
+
display: flex;
|
|
82654
|
+
align-items: center;
|
|
82655
|
+
gap: 4px;
|
|
82656
|
+
|
|
82657
|
+
& > span:first-of-type {
|
|
82658
|
+
font-size: 12px;
|
|
82659
|
+
font-weight: 400;
|
|
82660
|
+
line-height: 120%;
|
|
82661
|
+
color: ${({ $refused }) => $refused ? colors.gray_300 : colors.gray_700};
|
|
82662
|
+
}
|
|
82663
|
+
}
|
|
82664
|
+
|
|
82665
|
+
& > span {
|
|
82666
|
+
font-size: 14px;
|
|
82667
|
+
font-weight: 500;
|
|
82668
|
+
line-height: 120%;
|
|
82669
|
+
color: ${({ $refused }) => $refused ? colors.gray_300 : colors.gray_950};
|
|
82670
|
+
}
|
|
82671
|
+
}
|
|
82672
|
+
}
|
|
82673
|
+
|
|
82674
|
+
& > div:last-of-type {
|
|
82675
|
+
box-sizing: border-box;
|
|
82676
|
+
flex: 1;
|
|
82677
|
+
height: 58px;
|
|
82678
|
+
display: flex;
|
|
82679
|
+
align-items: flex-start;
|
|
82680
|
+
padding: 12px 16px;
|
|
82681
|
+
gap: 8px;
|
|
82682
|
+
border-left: 0.5px solid ${colors.gray_200};
|
|
82683
|
+
background-color: ${(props2) => props2.$refused ? colors.gray_60 : colors.gray_30};
|
|
82684
|
+
|
|
82685
|
+
& > div {
|
|
82686
|
+
display: flex;
|
|
82687
|
+
flex-direction: column;
|
|
82688
|
+
gap: 2px;
|
|
82689
|
+
|
|
82690
|
+
& > span:first-of-type {
|
|
82691
|
+
font-size: 12px;
|
|
82692
|
+
font-weight: 400;
|
|
82693
|
+
line-height: 120%;
|
|
82694
|
+
color: ${({ $refused }) => $refused ? colors.gray_300 : colors.gray_700};
|
|
82695
|
+
}
|
|
82696
|
+
|
|
82697
|
+
& > span:nth-of-type(2) {
|
|
82698
|
+
font-size: 14px;
|
|
82699
|
+
font-weight: 500;
|
|
82700
|
+
line-height: 120%;
|
|
82701
|
+
color: ${({ $refused }) => $refused ? colors.gray_300 : colors.gray_950};
|
|
82702
|
+
}
|
|
82703
|
+
}
|
|
82704
|
+
}
|
|
82705
|
+
}
|
|
82706
|
+
}
|
|
82707
|
+
|
|
82708
|
+
& > div:last-of-type {
|
|
82709
|
+
height: 106px;
|
|
82710
|
+
box-sizing: border-box;
|
|
82711
|
+
}
|
|
82712
|
+
|
|
82713
|
+
& > button {
|
|
82714
|
+
appearance: none;
|
|
82715
|
+
border: none;
|
|
82716
|
+
outline: none;
|
|
82717
|
+
background-color: ${({ $selected, $disabled }) => $selected ? $disabled ? colors.gray_100 : colors.purple_600 : "transparent"};
|
|
82718
|
+
padding: 0px;
|
|
82719
|
+
width: 100%;
|
|
82720
|
+
height: 40px;
|
|
82721
|
+
display: flex;
|
|
82722
|
+
align-items: center;
|
|
82723
|
+
justify-content: center;
|
|
82724
|
+
gap: 8px;
|
|
82725
|
+
border-top: 1px solid ${colors.gray_200};
|
|
82726
|
+
cursor: pointer;
|
|
82727
|
+
|
|
82728
|
+
& > span {
|
|
82729
|
+
font-size: 14px;
|
|
82730
|
+
font-weight: 500;
|
|
82731
|
+
line-height: 120%;
|
|
82732
|
+
color: ${({ $selected, $disabled }) => $selected ? $disabled ? colors.gray_600 : colors.white : $disabled ? colors.gray_300 : colors.purple_600};
|
|
82733
|
+
}
|
|
82734
|
+
}
|
|
82735
|
+
` : css`
|
|
82736
|
+
background-color: ${colors.gray_30};
|
|
82737
|
+
display: flex;
|
|
82738
|
+
justify-content: center;
|
|
82739
|
+
align-items: center;
|
|
82740
|
+
padding: 16px;
|
|
82741
|
+
|
|
82742
|
+
& > div {
|
|
82743
|
+
display: flex;
|
|
82744
|
+
flex-direction: column;
|
|
82745
|
+
gap: 16px;
|
|
82746
|
+
justify-content: center;
|
|
82747
|
+
align-items: center;
|
|
82748
|
+
|
|
82749
|
+
& > span {
|
|
82750
|
+
font-size: 14px;
|
|
82751
|
+
font-weight: 400;
|
|
82752
|
+
line-height: 120%;
|
|
82753
|
+
color: ${colors.gray_500};
|
|
82754
|
+
text-align: center;
|
|
82755
|
+
}
|
|
82756
|
+
}
|
|
82757
|
+
`}
|
|
82758
|
+
`;
|
|
82759
|
+
const PropunereUniqaProtect = ({
|
|
82760
|
+
title = "Fix ce ai cerut!",
|
|
82761
|
+
contributiaLunara = "",
|
|
82762
|
+
durata = "",
|
|
82763
|
+
taxaDePolita = "",
|
|
82764
|
+
numarPolite = "",
|
|
82765
|
+
featured = false,
|
|
82766
|
+
selected = false,
|
|
82767
|
+
disabled = false,
|
|
82768
|
+
refused = false,
|
|
82769
|
+
hideButton = false,
|
|
82770
|
+
empty = false,
|
|
82771
|
+
emptyText = "Indisponibil",
|
|
82772
|
+
iconButtonOnClick,
|
|
82773
|
+
buttonOnClick,
|
|
82774
|
+
contributiaLunaraHintOnClick,
|
|
82775
|
+
taxaDePolitaHintOnClick,
|
|
82776
|
+
children,
|
|
82777
|
+
...rest
|
|
82778
|
+
}) => {
|
|
82779
|
+
let _contentSlot = null;
|
|
82780
|
+
Children.toArray(children).filter(Boolean).forEach((child) => {
|
|
82781
|
+
const element = child;
|
|
82782
|
+
if (element.type === ContentSlot) {
|
|
82783
|
+
_contentSlot = child;
|
|
82784
|
+
}
|
|
82785
|
+
});
|
|
82786
|
+
return /* @__PURE__ */ jsx(
|
|
82787
|
+
PropunereUniqaProtectStyled,
|
|
82788
|
+
{
|
|
82789
|
+
$empty: empty,
|
|
82790
|
+
$featured: featured,
|
|
82791
|
+
$selected: selected,
|
|
82792
|
+
$disabled: disabled,
|
|
82793
|
+
$refused: refused,
|
|
82794
|
+
$hideButton: hideButton,
|
|
82795
|
+
...rest,
|
|
82796
|
+
children: !empty ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
82797
|
+
/* @__PURE__ */ jsxs("div", { children: [
|
|
82798
|
+
/* @__PURE__ */ jsxs("div", { children: [
|
|
82799
|
+
/* @__PURE__ */ jsx("span", { children: title }),
|
|
82800
|
+
/* @__PURE__ */ jsx(
|
|
82801
|
+
IconButton,
|
|
82802
|
+
{
|
|
82803
|
+
onClick: iconButtonOnClick,
|
|
82804
|
+
icon: "new_tab",
|
|
82805
|
+
intent: "accent",
|
|
82806
|
+
variant: "tertiary",
|
|
82807
|
+
shape: "rounded",
|
|
82808
|
+
color: colors.info_800,
|
|
82809
|
+
size: "medium"
|
|
82810
|
+
}
|
|
82811
|
+
)
|
|
82812
|
+
] }),
|
|
82813
|
+
/* @__PURE__ */ jsxs("div", { children: [
|
|
82814
|
+
/* @__PURE__ */ jsxs("div", { children: [
|
|
82815
|
+
/* @__PURE__ */ jsxs("div", { children: [
|
|
82816
|
+
/* @__PURE__ */ jsx("span", { children: "Contributia lunara" }),
|
|
82817
|
+
/* @__PURE__ */ jsx(
|
|
82818
|
+
Icon$1,
|
|
82819
|
+
{
|
|
82820
|
+
onClick: contributiaLunaraHintOnClick,
|
|
82821
|
+
icon: "hint_filled",
|
|
82822
|
+
size: 16,
|
|
82823
|
+
color: refused ? colors.gray_200 : colors.info_700
|
|
82824
|
+
}
|
|
82825
|
+
)
|
|
82826
|
+
] }),
|
|
82827
|
+
/* @__PURE__ */ jsx("span", { children: contributiaLunara || "-" })
|
|
82828
|
+
] }),
|
|
82829
|
+
/* @__PURE__ */ jsxs("div", { children: [
|
|
82830
|
+
/* @__PURE__ */ jsx("span", { children: "Durata" }),
|
|
82831
|
+
/* @__PURE__ */ jsx("span", { children: durata || "-" })
|
|
82832
|
+
] })
|
|
82833
|
+
] }),
|
|
82834
|
+
/* @__PURE__ */ jsxs("div", { children: [
|
|
82835
|
+
/* @__PURE__ */ jsxs("div", { children: [
|
|
82836
|
+
/* @__PURE__ */ jsx(
|
|
82837
|
+
Icon$1,
|
|
82838
|
+
{
|
|
82839
|
+
icon: "invoice_seal",
|
|
82840
|
+
size: 16,
|
|
82841
|
+
color: refused ? colors.gray_200 : colors.gray_500
|
|
82842
|
+
}
|
|
82843
|
+
),
|
|
82844
|
+
/* @__PURE__ */ jsxs("div", { children: [
|
|
82845
|
+
/* @__PURE__ */ jsxs("div", { children: [
|
|
82846
|
+
/* @__PURE__ */ jsx("span", { children: "Taxa de polita" }),
|
|
82847
|
+
/* @__PURE__ */ jsx(
|
|
82848
|
+
Icon$1,
|
|
82849
|
+
{
|
|
82850
|
+
onClick: taxaDePolitaHintOnClick,
|
|
82851
|
+
icon: "hint_filled",
|
|
82852
|
+
size: 16,
|
|
82853
|
+
color: refused ? colors.gray_200 : colors.info_700
|
|
82854
|
+
}
|
|
82855
|
+
)
|
|
82856
|
+
] }),
|
|
82857
|
+
/* @__PURE__ */ jsx("span", { children: taxaDePolita || "-" })
|
|
82858
|
+
] })
|
|
82859
|
+
] }),
|
|
82860
|
+
/* @__PURE__ */ jsxs("div", { children: [
|
|
82861
|
+
/* @__PURE__ */ jsx(
|
|
82862
|
+
Icon$1,
|
|
82863
|
+
{
|
|
82864
|
+
icon: "docs",
|
|
82865
|
+
size: 16,
|
|
82866
|
+
color: refused ? colors.gray_200 : colors.gray_500
|
|
82867
|
+
}
|
|
82868
|
+
),
|
|
82869
|
+
/* @__PURE__ */ jsxs("div", { children: [
|
|
82870
|
+
/* @__PURE__ */ jsx("span", { children: "Numar polite" }),
|
|
82871
|
+
/* @__PURE__ */ jsx("span", { children: numarPolite || "-" })
|
|
82872
|
+
] })
|
|
82873
|
+
] })
|
|
82874
|
+
] })
|
|
82875
|
+
] }),
|
|
82876
|
+
/* @__PURE__ */ jsx("div", { children: _contentSlot }),
|
|
82877
|
+
!hideButton && /* @__PURE__ */ jsxs(
|
|
82878
|
+
"button",
|
|
82879
|
+
{
|
|
82880
|
+
disabled,
|
|
82881
|
+
type: "button",
|
|
82882
|
+
onClick: !disabled ? buttonOnClick : () => {
|
|
82883
|
+
},
|
|
82884
|
+
children: [
|
|
82885
|
+
/* @__PURE__ */ jsx(
|
|
82886
|
+
Icon$1,
|
|
82887
|
+
{
|
|
82888
|
+
icon: selected ? "checkmark_filled" : "checkmark-part",
|
|
82889
|
+
size: 16,
|
|
82890
|
+
color: selected ? disabled ? colors.gray_600 : colors.white : colors.purple_600,
|
|
82891
|
+
style: {
|
|
82892
|
+
opacity: disabled && !selected ? "0.25" : "1"
|
|
82893
|
+
}
|
|
82894
|
+
}
|
|
82895
|
+
),
|
|
82896
|
+
/* @__PURE__ */ jsx("span", { children: selected ? "Varianta selectata" : "Vreau aceasta varianta!" })
|
|
82897
|
+
]
|
|
82898
|
+
}
|
|
82899
|
+
)
|
|
82900
|
+
] }) : /* @__PURE__ */ jsxs("div", { children: [
|
|
82901
|
+
/* @__PURE__ */ jsx(Icon$1, { size: 20, icon: "rejected", color: colors.gray_500 }),
|
|
82902
|
+
/* @__PURE__ */ jsx("span", { children: emptyText })
|
|
82903
|
+
] })
|
|
82904
|
+
}
|
|
82905
|
+
);
|
|
82906
|
+
};
|
|
82907
|
+
const ContentSlot = ({ children }) => children;
|
|
82908
|
+
PropunereUniqaProtect.ContentSlot = ContentSlot;
|
|
82909
|
+
|
|
82910
|
+
export { Accordion, Alert, AppBranding, AutosaveStatus, Bar, BreadcrumbItem, Breadcrumbs, Button, ButtonLink, Card, Checkbox, CityPicker, 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, 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,30 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
3
|
+
interface PropunereUniqaProtectProps {
|
|
4
|
+
title?: string;
|
|
5
|
+
contributiaLunara?: string;
|
|
6
|
+
durata?: string;
|
|
7
|
+
taxaDePolita?: string;
|
|
8
|
+
numarPolite?: string;
|
|
9
|
+
featured?: boolean;
|
|
10
|
+
selected?: boolean;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
refused?: boolean;
|
|
13
|
+
hideButton?: boolean;
|
|
14
|
+
empty?: boolean;
|
|
15
|
+
emptyText?: string;
|
|
16
|
+
iconButtonOnClick?: () => void;
|
|
17
|
+
buttonOnClick?: () => void;
|
|
18
|
+
contributiaLunaraHintOnClick?: () => void;
|
|
19
|
+
taxaDePolitaHintOnClick?: () => void;
|
|
20
|
+
children?: React.ReactNode;
|
|
21
|
+
}
|
|
22
|
+
type ContentSlotProps = {
|
|
23
|
+
children: React.ReactNode;
|
|
24
|
+
};
|
|
25
|
+
declare const PropunereUniqaProtect: React.FC<PropunereUniqaProtectProps> & {
|
|
26
|
+
ContentSlot: React.FC<ContentSlotProps>;
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
export { PropunereUniqaProtect as default };
|
|
30
|
+
export type { PropunereUniqaProtectProps };
|
package/build/types/index.d.ts
CHANGED
|
@@ -92,3 +92,4 @@ export { default as PropunereAsigurareLocuinta, PropunereAsigurareLocuintaProps
|
|
|
92
92
|
export { default as Textarea, TextareaProps } from './components/Textarea/Textarea.js';
|
|
93
93
|
export { default as FeedbackCard, FeedbackCardProps } from './components/FeedbackCard/FeedbackCard.js';
|
|
94
94
|
export { default as ConfigurationStickyBar, ConfigurationStickyBarProps } from './components/ConfigurationStickyBar/ConfigurationStickyBar.js';
|
|
95
|
+
export { default as PropunereUniqaProtect, PropunereUniqaProtectProps } from './components/PropunereUniqaProtect/PropunereUniqaProtect.js';
|