rbro-tat-uds 2.2.21 → 2.2.23

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.
@@ -61172,7 +61172,7 @@ const ConfigurationSaveInfo = ({
61172
61172
  ),
61173
61173
  /* @__PURE__ */ jsxs("div", { children: [
61174
61174
  /* @__PURE__ */ jsxs("span", { children: [
61175
- isSimulator ? "Simluare" : "Configuratie",
61175
+ isSimulator ? "Simulare" : "Configuratie",
61176
61176
  " din data"
61177
61177
  ] }),
61178
61178
  /* @__PURE__ */ jsx("span", { children: date.length ? date : "N/A" })
@@ -62193,7 +62193,7 @@ const Modal = ({
62193
62193
  let _footerSlot = null;
62194
62194
  Children.toArray(children).filter(Boolean).forEach((child) => {
62195
62195
  const element = child;
62196
- if (element.type === ContentSlot$8) {
62196
+ if (element.type === ContentSlot$9) {
62197
62197
  _contentSlot = child;
62198
62198
  }
62199
62199
  if (element.type === FooterSlot) {
@@ -62232,9 +62232,9 @@ const Modal = ({
62232
62232
  }
62233
62233
  );
62234
62234
  };
62235
- const ContentSlot$8 = ({ children }) => children;
62235
+ const ContentSlot$9 = ({ children }) => children;
62236
62236
  const FooterSlot = ({ children }) => children;
62237
- Modal.ContentSlot = ContentSlot$8;
62237
+ Modal.ContentSlot = ContentSlot$9;
62238
62238
  Modal.FooterSlot = FooterSlot;
62239
62239
 
62240
62240
  const DashboardCategoryStyled$1 = styled.div`
@@ -76410,7 +76410,7 @@ const ProductTeaser = ({
76410
76410
  if (element.type === StepsSlot) {
76411
76411
  _stepsSlot = child;
76412
76412
  }
76413
- if (element.type === ContentSlot$7) {
76413
+ if (element.type === ContentSlot$8) {
76414
76414
  _contentSlot = child;
76415
76415
  }
76416
76416
  });
@@ -76434,9 +76434,9 @@ const ProductTeaser = ({
76434
76434
  ] });
76435
76435
  };
76436
76436
  const StepsSlot = ({ children }) => children;
76437
- const ContentSlot$7 = ({ children }) => children;
76437
+ const ContentSlot$8 = ({ children }) => children;
76438
76438
  ProductTeaser.StepsSlot = StepsSlot;
76439
- ProductTeaser.ContentSlot = ContentSlot$7;
76439
+ ProductTeaser.ContentSlot = ContentSlot$8;
76440
76440
 
76441
76441
  const ProductTeaserParametersStyled = styled.div`
76442
76442
  display: flex;
@@ -76920,7 +76920,7 @@ const ProposalPensii = ({
76920
76920
  let _contentSlot = null;
76921
76921
  Children.toArray(children).filter(Boolean).forEach((child) => {
76922
76922
  const element = child;
76923
- if (element.type === ContentSlot$6) {
76923
+ if (element.type === ContentSlot$7) {
76924
76924
  _contentSlot = child;
76925
76925
  }
76926
76926
  });
@@ -77022,8 +77022,8 @@ const ProposalPensii = ({
77022
77022
  }
77023
77023
  );
77024
77024
  };
77025
- const ContentSlot$6 = ({ children }) => children;
77026
- ProposalPensii.ContentSlot = ContentSlot$6;
77025
+ const ContentSlot$7 = ({ children }) => children;
77026
+ ProposalPensii.ContentSlot = ContentSlot$7;
77027
77027
 
77028
77028
  const ProposalUnitlinkedStyled = styled.div`
77029
77029
  border-radius: 8px;
@@ -77215,7 +77215,7 @@ const ProposalUnitlinked = ({
77215
77215
  let _contentSlot = null;
77216
77216
  Children.toArray(children).filter(Boolean).forEach((child) => {
77217
77217
  const element = child;
77218
- if (element.type === ContentSlot$5) {
77218
+ if (element.type === ContentSlot$6) {
77219
77219
  _contentSlot = child;
77220
77220
  }
77221
77221
  });
@@ -77315,8 +77315,8 @@ const ProposalUnitlinked = ({
77315
77315
  }
77316
77316
  );
77317
77317
  };
77318
- const ContentSlot$5 = ({ children }) => children;
77319
- ProposalUnitlinked.ContentSlot = ContentSlot$5;
77318
+ const ContentSlot$6 = ({ children }) => children;
77319
+ ProposalUnitlinked.ContentSlot = ContentSlot$6;
77320
77320
 
77321
77321
  const PropunereAsigurariCalatorieStyled = styled.div`
77322
77322
  border-radius: 8px;
@@ -77510,7 +77510,7 @@ const PropunereAsigurariCalatorie = ({
77510
77510
  let _contentSlot = null;
77511
77511
  Children.toArray(children).filter(Boolean).forEach((child) => {
77512
77512
  const element = child;
77513
- if (element.type === ContentSlot$4) {
77513
+ if (element.type === ContentSlot$5) {
77514
77514
  _contentSlot = child;
77515
77515
  }
77516
77516
  });
@@ -77612,8 +77612,8 @@ const PropunereAsigurariCalatorie = ({
77612
77612
  }
77613
77613
  );
77614
77614
  };
77615
- const ContentSlot$4 = ({ children }) => children;
77616
- PropunereAsigurariCalatorie.ContentSlot = ContentSlot$4;
77615
+ const ContentSlot$5 = ({ children }) => children;
77616
+ PropunereAsigurariCalatorie.ContentSlot = ContentSlot$5;
77617
77617
 
77618
77618
  const PropunereFlexicreditStyled = styled.div`
77619
77619
  border-radius: 8px;
@@ -77851,7 +77851,7 @@ const PropunereFlexicredit = ({
77851
77851
  let _contentSlot = null;
77852
77852
  Children.toArray(children).filter(Boolean).forEach((child) => {
77853
77853
  const element = child;
77854
- if (element.type === ContentSlot$3) {
77854
+ if (element.type === ContentSlot$4) {
77855
77855
  _contentSlot = child;
77856
77856
  }
77857
77857
  });
@@ -77967,8 +77967,8 @@ const PropunereFlexicredit = ({
77967
77967
  }
77968
77968
  );
77969
77969
  };
77970
- const ContentSlot$3 = ({ children }) => children;
77971
- PropunereFlexicredit.ContentSlot = ContentSlot$3;
77970
+ const ContentSlot$4 = ({ children }) => children;
77971
+ PropunereFlexicredit.ContentSlot = ContentSlot$4;
77972
77972
 
77973
77973
  const PropunereFondInvestitiiStyled = styled.div`
77974
77974
  border-radius: 8px;
@@ -78173,7 +78173,7 @@ const PropunereFondInvestitii = ({
78173
78173
  let _contentSlot = null;
78174
78174
  Children.toArray(children).filter(Boolean).forEach((child) => {
78175
78175
  const element = child;
78176
- if (element.type === ContentSlot$2) {
78176
+ if (element.type === ContentSlot$3) {
78177
78177
  _contentSlot = child;
78178
78178
  }
78179
78179
  });
@@ -78249,8 +78249,8 @@ const PropunereFondInvestitii = ({
78249
78249
  }
78250
78250
  );
78251
78251
  };
78252
- const ContentSlot$2 = ({ children }) => children;
78253
- PropunereFondInvestitii.ContentSlot = ContentSlot$2;
78252
+ const ContentSlot$3 = ({ children }) => children;
78253
+ PropunereFondInvestitii.ContentSlot = ContentSlot$3;
78254
78254
 
78255
78255
  const PropunuerePlanInvestitiiStyled = styled.div`
78256
78256
  border-radius: 8px;
@@ -78455,7 +78455,7 @@ const PropunuerePlanInvestitii = ({
78455
78455
  let _contentSlot = null;
78456
78456
  Children.toArray(children).filter(Boolean).forEach((child) => {
78457
78457
  const element = child;
78458
- if (element.type === ContentSlot$1) {
78458
+ if (element.type === ContentSlot$2) {
78459
78459
  _contentSlot = child;
78460
78460
  }
78461
78461
  });
@@ -78531,8 +78531,8 @@ const PropunuerePlanInvestitii = ({
78531
78531
  }
78532
78532
  );
78533
78533
  };
78534
- const ContentSlot$1 = ({ children }) => children;
78535
- PropunuerePlanInvestitii.ContentSlot = ContentSlot$1;
78534
+ const ContentSlot$2 = ({ children }) => children;
78535
+ PropunuerePlanInvestitii.ContentSlot = ContentSlot$2;
78536
78536
 
78537
78537
  const styledSizesWrapper = {
78538
78538
  small: css`
@@ -80780,7 +80780,6 @@ const UnitLinkGraphStyled = styled.svg`
80780
80780
  .text-contribution {
80781
80781
  font-size: 12px;
80782
80782
  font-weight: 500;
80783
- fill: ${colors.blue_600};
80784
80783
  }
80785
80784
  .text-action {
80786
80785
  font-size: 12px;
@@ -80809,6 +80808,7 @@ const UnitLinkGraph = ({
80809
80808
  header: "Placeholder",
80810
80809
  color_primary: colors.purple_600,
80811
80810
  color_secondary: colors.purple_50,
80811
+ outline_color: colors.white,
80812
80812
  percentage: 50,
80813
80813
  place_at_ani: 7,
80814
80814
  actions: [
@@ -80831,6 +80831,11 @@ const UnitLinkGraph = ({
80831
80831
  timeline_texts = {
80832
80832
  left: "Placeholder"
80833
80833
  },
80834
+ timeline_text_color = {
80835
+ left: colors.blue_600,
80836
+ right: colors.blue_600
80837
+ },
80838
+ lineGraphAreaColor,
80834
80839
  ...rest
80835
80840
  }) => {
80836
80841
  const sliderActive = useMemo(() => {
@@ -80966,7 +80971,9 @@ const UnitLinkGraph = ({
80966
80971
  wrappedLabel,
80967
80972
  sublabel: item.sublabel,
80968
80973
  sublabel_x,
80969
- sublabel_y
80974
+ sublabel_y,
80975
+ bgColor: item.bgColor || void 0,
80976
+ textColor: item.textColor || void 0
80970
80977
  };
80971
80978
  }
80972
80979
  return {
@@ -80998,7 +81005,8 @@ const UnitLinkGraph = ({
80998
81005
  const dynamic_pos_secondary_x = get_position_at_indicator - APPROXIMATE_BAR_STROKE_WIDTH - configurations.bars.width - configurations.area.indicators.margin;
80999
81006
  const dynamic_pos_main_x = get_position_at_indicator + APPROXIMATE_BAR_STROKE_WIDTH + configurations.area.indicators.strokeWidth + configurations.area.indicators.margin;
81000
81007
  const h = mainHeightGraph - configurations.bars.actionsGap - START_Y;
81001
- const calculate_filled_bar = floorToHalf(config.percentage / 100 * h);
81008
+ const mainPercentage = (config?.secondary_percentage || 0) > 0 ? config.percentage - (config?.secondary_percentage || 0) : config.percentage;
81009
+ const calculate_filled_bar = floorToHalf(mainPercentage / 100 * h);
81002
81010
  const x = floorToHalf(main ? dynamic_pos_main_x : dynamic_pos_secondary_x);
81003
81011
  const w = floorToHalf(configurations.bars.width);
81004
81012
  const outlined_y = START_Y + APPROXIMATE_BAR_STROKE_WIDTH + configurations.bars.actionsGap;
@@ -81023,7 +81031,9 @@ const UnitLinkGraph = ({
81023
81031
  filled_h: Math.max(filled_h, 0),
81024
81032
  colorPrimary: config.color_primary,
81025
81033
  colorSecondary: config.color_secondary,
81034
+ outlineColor: config.outline_color || colors.white,
81026
81035
  strokeWidth: configurations.bars.strokeWidth,
81036
+ percentage: config.percentage,
81027
81037
  barActions: {
81028
81038
  header: {
81029
81039
  title: config.header,
@@ -81054,7 +81064,7 @@ const UnitLinkGraph = ({
81054
81064
  x1: floorToHalf(mainStart + configurations.area.outersPartsWidth),
81055
81065
  x2: floorToHalf(barMain.x - configurations.area.outersPartsWidth),
81056
81066
  y1: mainHeightGraph - configurations.area.strokeWidth,
81057
- y2: barMain.filled_y + 1 - configurations.area.additionalSpaceVisualize,
81067
+ y2: (barMain.percentage === 100 ? barMain.outlined_y : barMain.filled_y) + 1 - configurations.area.additionalSpaceVisualize,
81058
81068
  strokeWidth: barMainConfiguration.percentage === 0 ? 0 : configurations.area.graphLineStrokeWidth
81059
81069
  };
81060
81070
  const part_3 = {
@@ -81062,8 +81072,8 @@ const UnitLinkGraph = ({
81062
81072
  barMain.x - configurations.area.outersPartsWidth - configurations.area.additionalSpaceVisualize
81063
81073
  ),
81064
81074
  x2: floorToHalf(barMain.x),
81065
- y1: barMain.filled_y + 1 - configurations.area.additionalSpaceVisualize,
81066
- y2: barMain.filled_y + 1 - configurations.area.additionalSpaceVisualize,
81075
+ y1: (barMain.percentage === 100 ? barMain.outlined_y : barMain.filled_y) + 1 - configurations.area.additionalSpaceVisualize,
81076
+ y2: (barMain.percentage === 100 ? barMain.outlined_y : barMain.filled_y) + 1 - configurations.area.additionalSpaceVisualize,
81067
81077
  strokeWidth: barMainConfiguration.percentage === 0 ? 0 : configurations.area.graphLineStrokeWidth
81068
81078
  };
81069
81079
  return {
@@ -81269,7 +81279,7 @@ const UnitLinkGraph = ({
81269
81279
  y1: graph.main.area.part_1.y1,
81270
81280
  y2: graph.main.area.part_1.y2,
81271
81281
  strokeWidth: graph.main.area.part_1.strokeWidth,
81272
- stroke: graph.main.bars.main.colorPrimary
81282
+ stroke: lineGraphAreaColor || graph.main.bars.main.colorPrimary
81273
81283
  }
81274
81284
  ),
81275
81285
  /* @__PURE__ */ jsx(
@@ -81280,7 +81290,7 @@ const UnitLinkGraph = ({
81280
81290
  y1: graph.main.area.part_2.y1,
81281
81291
  y2: graph.main.area.part_2.y2,
81282
81292
  strokeWidth: graph.main.area.part_2.strokeWidth,
81283
- stroke: graph.main.bars.main.colorPrimary
81293
+ stroke: lineGraphAreaColor || graph.main.bars.main.colorPrimary
81284
81294
  }
81285
81295
  ),
81286
81296
  /* @__PURE__ */ jsx(
@@ -81291,15 +81301,15 @@ const UnitLinkGraph = ({
81291
81301
  y1: graph.main.area.part_3.y1,
81292
81302
  y2: graph.main.area.part_3.y2,
81293
81303
  strokeWidth: graph.main.area.part_3.strokeWidth,
81294
- stroke: graph.main.bars.main.colorPrimary
81304
+ stroke: lineGraphAreaColor || graph.main.bars.main.colorPrimary
81295
81305
  }
81296
81306
  ),
81297
81307
  /* @__PURE__ */ jsx(
81298
81308
  "polygon",
81299
81309
  {
81300
81310
  points: `
81301
- ${graph.main.area.part_2.x2},${graph.main.bars.main.filled_y + 1.5}
81302
- ${graph.main.area.part_3.x2},${graph.main.bars.main.filled_y + 1.5}
81311
+ ${graph.main.area.part_2.x2},${(graph.main.bars.main.percentage === 100 ? graph.main.bars.main.outlined_y : graph.main.bars.main.filled_y) + 1.5}
81312
+ ${graph.main.area.part_3.x2},${(graph.main.bars.main.percentage === 100 ? graph.main.bars.main.outlined_y : graph.main.bars.main.filled_y) + 1.5}
81303
81313
  ${graph.main.area.part_3.x2},${graph.mainHeightGraph}
81304
81314
  ${graph.main.area.part_2.x1},${graph.mainHeightGraph}`,
81305
81315
  fill: graph.main.bars.main.colorSecondary
@@ -81359,6 +81369,7 @@ const UnitLinkGraph = ({
81359
81369
  className: "text-contribution",
81360
81370
  y: graph.timeline.text.left.y,
81361
81371
  x: graph.timeline.text.left.x,
81372
+ fill: timeline_text_color.left,
81362
81373
  textAnchor: "end",
81363
81374
  children: timeline_texts.left
81364
81375
  }
@@ -81369,6 +81380,7 @@ const UnitLinkGraph = ({
81369
81380
  className: "text-contribution",
81370
81381
  y: graph.timeline.text.right.y,
81371
81382
  x: graph.timeline.text.right.x,
81383
+ fill: timeline_text_color.right,
81372
81384
  textAnchor: "start",
81373
81385
  children: timeline_texts.right
81374
81386
  }
@@ -81453,7 +81465,7 @@ const RenderBar = ({
81453
81465
  y: bar.outlined_y,
81454
81466
  width: bar.w,
81455
81467
  height: bar.outlined_h,
81456
- fill: colors.white,
81468
+ fill: bar.outlineColor,
81457
81469
  stroke: bar.colorPrimary,
81458
81470
  strokeWidth: bar.strokeWidth
81459
81471
  }
@@ -81481,6 +81493,8 @@ const RenderBar = ({
81481
81493
  ),
81482
81494
  bar.barActions.actions.map((action, index) => {
81483
81495
  const isActive = activeAction === index;
81496
+ const rectColor = isActive ? bar.colorPrimary : action.bgColor ? action.bgColor : bar.colorSecondary;
81497
+ const textColor = isActive ? colors.white : action.textColor ? action.textColor : bar.colorPrimary;
81484
81498
  return /* @__PURE__ */ jsxs(
81485
81499
  "g",
81486
81500
  {
@@ -81490,7 +81504,7 @@ const RenderBar = ({
81490
81504
  /* @__PURE__ */ jsx(
81491
81505
  "rect",
81492
81506
  {
81493
- fill: isActive ? bar.colorPrimary : bar.colorSecondary,
81507
+ fill: rectColor,
81494
81508
  rx: 4,
81495
81509
  ry: 4,
81496
81510
  height: action.actions_h,
@@ -81505,7 +81519,7 @@ const RenderBar = ({
81505
81519
  className: "text-bar-actions-label",
81506
81520
  x: action.label_x,
81507
81521
  y: action.label_y,
81508
- fill: isActive ? colors.white : bar.colorPrimary,
81522
+ fill: textColor,
81509
81523
  children: action.wrappedLabel?.map((line, lineIndex) => /* @__PURE__ */ jsx(
81510
81524
  "tspan",
81511
81525
  {
@@ -81520,7 +81534,7 @@ const RenderBar = ({
81520
81534
  action.sublabel && /* @__PURE__ */ jsx(
81521
81535
  "text",
81522
81536
  {
81523
- fill: isActive ? colors.white : bar.colorPrimary,
81537
+ fill: textColor,
81524
81538
  className: "text-bar-actions-sublabel",
81525
81539
  x: action.sublabel_x,
81526
81540
  y: action.sublabel_y,
@@ -82207,7 +82221,7 @@ const PropunereAsigurareLocuinta = ({
82207
82221
  let _contentSlot = null;
82208
82222
  Children.toArray(children).filter(Boolean).forEach((child) => {
82209
82223
  const element = child;
82210
- if (element.type === ContentSlot) {
82224
+ if (element.type === ContentSlot$1) {
82211
82225
  _contentSlot = child;
82212
82226
  }
82213
82227
  });
@@ -82348,8 +82362,8 @@ const PropunereAsigurareLocuinta = ({
82348
82362
  }
82349
82363
  );
82350
82364
  };
82351
- const ContentSlot = ({ children }) => children;
82352
- PropunereAsigurareLocuinta.ContentSlot = ContentSlot;
82365
+ const ContentSlot$1 = ({ children }) => children;
82366
+ PropunereAsigurareLocuinta.ContentSlot = ContentSlot$1;
82353
82367
 
82354
82368
  const TextareaStyled = styled.textarea`
82355
82369
  box-sizing: border-box;
@@ -82523,4 +82537,378 @@ const ConfigurationStickyBar = ({
82523
82537
  return /* @__PURE__ */ jsx(ConfigurationStickyBarStyled, { $visible: isVisible, ...rest, children: /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx("div", { children }) }) });
82524
82538
  };
82525
82539
 
82526
- 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, 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 };
82540
+ const PropunereUniqaProtectStyled = styled.div`
82541
+ border-radius: 8px;
82542
+ border: 1px solid
82543
+ ${({ $featured, $selected }) => $selected ? colors.purple_500 : $featured ? colors.accent_600 : colors.gray_200};
82544
+ overflow: hidden;
82545
+ min-height: ${({ $hideButton }) => $hideButton ? "294px" : "334px"};
82546
+ box-sizing: border-box;
82547
+ height: 100%;
82548
+ width: 100%;
82549
+
82550
+ ${(props) => !props.$empty ? css`
82551
+ outline: ${props.$featured ? `3px solid ${colors.accent_300}` : "none"};
82552
+
82553
+ & > div:first-of-type {
82554
+ & > div:first-child {
82555
+ padding: 6px 6px 0px 16px;
82556
+ display: flex;
82557
+ align-items: center;
82558
+ justify-content: space-between;
82559
+ gap: 8px;
82560
+ background-color: ${props.$refused ? colors.gray_30 : props.$selected ? colors.purple_50 : props.$featured ? colors.accent_100 : "transparent"};
82561
+
82562
+ & > span {
82563
+ font-size: 18px;
82564
+ font-weight: 700;
82565
+ line-height: 120%;
82566
+ color: ${({ $refused }) => $refused ? colors.gray_300 : colors.purple_600};
82567
+ }
82568
+ }
82569
+
82570
+ & > div:nth-child(2) {
82571
+ box-sizing: border-box;
82572
+ display: flex;
82573
+ align-items: stretch;
82574
+ height: 80px;
82575
+
82576
+ & > div:first-of-type {
82577
+ padding: 8px 4px 12px 16px;
82578
+ flex: 1;
82579
+ box-sizing: border-box;
82580
+ display: flex;
82581
+ flex-direction: column;
82582
+ gap: 2px;
82583
+ background-color: ${props.$refused ? colors.gray_30 : props.$selected ? colors.purple_50 : props.$featured ? colors.accent_100 : "transparent"};
82584
+
82585
+ & > div {
82586
+ display: flex;
82587
+ align-items: flex-start;
82588
+ gap: 8px;
82589
+
82590
+ & > svg {
82591
+ cursor: pointer;
82592
+ }
82593
+
82594
+ & > span:first-of-type {
82595
+ flex: 1;
82596
+ font-size: 14px;
82597
+ font-weight: ${({ $includePad }) => $includePad ? 700 : 400};
82598
+ color: ${({ $refused }) => $refused ? colors.gray_200 : colors.gray_700};
82599
+ }
82600
+ }
82601
+
82602
+ & > span {
82603
+ font-size: 20px;
82604
+ font-weight: 700;
82605
+ color: ${({ $refused }) => $refused ? colors.gray_300 : colors.gray_950};
82606
+ }
82607
+ }
82608
+
82609
+ & > div:nth-of-type(2) {
82610
+ padding: 8px 16px 12px 4px;
82611
+ flex: 1;
82612
+ box-sizing: border-box;
82613
+ display: flex;
82614
+ flex-direction: column;
82615
+ gap: 2px;
82616
+ background-color: ${props.$refused ? colors.gray_30 : props.$selected ? colors.purple_50 : props.$featured ? colors.accent_100 : "transparent"};
82617
+
82618
+ & > span:first-of-type {
82619
+ font-size: 14px;
82620
+ font-weight: ${({ $includePad }) => $includePad ? 700 : 400};
82621
+ color: ${({ $refused }) => $refused ? colors.gray_200 : colors.gray_700};
82622
+ }
82623
+
82624
+ & > span:nth-of-type(2) {
82625
+ font-size: 20px;
82626
+ font-weight: 500;
82627
+ color: ${({ $refused }) => $refused ? colors.gray_300 : colors.gray_950};
82628
+ }
82629
+ }
82630
+ }
82631
+
82632
+ & > div:last-child {
82633
+ display: flex;
82634
+ border-top: 1px solid ${colors.gray_200};
82635
+ border-bottom: 1px solid ${colors.gray_200};
82636
+ display: flex;
82637
+ align-items: stretch;
82638
+ box-sizing: border-box;
82639
+
82640
+ & > div:first-of-type {
82641
+ box-sizing: border-box;
82642
+ flex: 1;
82643
+ height: 58px;
82644
+ display: flex;
82645
+ align-items: flex-start;
82646
+ padding: 12px 16px;
82647
+ gap: 8px;
82648
+ border-right: 0.5px solid ${colors.gray_200};
82649
+ background-color: ${props.$refused ? colors.gray_60 : props.$featured ? colors.white : colors.gray_30};
82650
+
82651
+ & > div {
82652
+ display: flex;
82653
+ flex-direction: column;
82654
+ gap: 2px;
82655
+
82656
+ & > div:first-of-type {
82657
+ display: flex;
82658
+ align-items: center;
82659
+ gap: 4px;
82660
+
82661
+ & > span:first-of-type {
82662
+ font-size: 12px;
82663
+ font-weight: 400;
82664
+ line-height: 120%;
82665
+ color: ${({ $refused }) => $refused ? colors.gray_300 : colors.gray_700};
82666
+ }
82667
+ }
82668
+
82669
+ & > span {
82670
+ font-size: 14px;
82671
+ font-weight: 500;
82672
+ line-height: 120%;
82673
+ color: ${({ $refused }) => $refused ? colors.gray_300 : colors.gray_950};
82674
+ }
82675
+ }
82676
+ }
82677
+
82678
+ & > div:last-of-type {
82679
+ box-sizing: border-box;
82680
+ flex: 1;
82681
+ height: 58px;
82682
+ display: flex;
82683
+ align-items: flex-start;
82684
+ padding: 12px 16px;
82685
+ gap: 8px;
82686
+ border-left: 0.5px solid ${colors.gray_200};
82687
+ background-color: ${(props2) => props2.$refused ? colors.gray_60 : colors.gray_30};
82688
+
82689
+ & > div {
82690
+ display: flex;
82691
+ flex-direction: column;
82692
+ gap: 2px;
82693
+
82694
+ & > span:first-of-type {
82695
+ font-size: 12px;
82696
+ font-weight: 400;
82697
+ line-height: 120%;
82698
+ color: ${({ $refused }) => $refused ? colors.gray_300 : colors.gray_700};
82699
+ }
82700
+
82701
+ & > span:nth-of-type(2) {
82702
+ font-size: 14px;
82703
+ font-weight: 500;
82704
+ line-height: 120%;
82705
+ color: ${({ $refused }) => $refused ? colors.gray_300 : colors.gray_950};
82706
+ }
82707
+ }
82708
+ }
82709
+ }
82710
+ }
82711
+
82712
+ & > div:last-of-type {
82713
+ height: 106px;
82714
+ box-sizing: border-box;
82715
+ }
82716
+
82717
+ & > button {
82718
+ appearance: none;
82719
+ border: none;
82720
+ outline: none;
82721
+ background-color: ${({ $selected, $disabled }) => $selected ? $disabled ? colors.gray_100 : colors.purple_600 : "transparent"};
82722
+ padding: 0px;
82723
+ width: 100%;
82724
+ height: 40px;
82725
+ display: flex;
82726
+ align-items: center;
82727
+ justify-content: center;
82728
+ gap: 8px;
82729
+ border-top: 1px solid ${colors.gray_200};
82730
+ cursor: pointer;
82731
+
82732
+ & > span {
82733
+ font-size: 14px;
82734
+ font-weight: 500;
82735
+ line-height: 120%;
82736
+ color: ${({ $selected, $disabled }) => $selected ? $disabled ? colors.gray_600 : colors.white : $disabled ? colors.gray_300 : colors.purple_600};
82737
+ }
82738
+ }
82739
+ ` : css`
82740
+ background-color: ${colors.gray_30};
82741
+ display: flex;
82742
+ justify-content: center;
82743
+ align-items: center;
82744
+ padding: 16px;
82745
+
82746
+ & > div {
82747
+ display: flex;
82748
+ flex-direction: column;
82749
+ gap: 16px;
82750
+ justify-content: center;
82751
+ align-items: center;
82752
+
82753
+ & > span {
82754
+ font-size: 14px;
82755
+ font-weight: 400;
82756
+ line-height: 120%;
82757
+ color: ${colors.gray_500};
82758
+ text-align: center;
82759
+ }
82760
+ }
82761
+ `}
82762
+ `;
82763
+ const PropunereUniqaProtect = ({
82764
+ title = "Fix ce ai cerut!",
82765
+ contributiaLunara = "",
82766
+ durata = "",
82767
+ taxaDePolita = "",
82768
+ numarPolite = "",
82769
+ featured = false,
82770
+ selected = false,
82771
+ disabled = false,
82772
+ refused = false,
82773
+ hideButton = false,
82774
+ empty = false,
82775
+ emptyText = "Indisponibil",
82776
+ iconButtonOnClick,
82777
+ buttonOnClick,
82778
+ contributiaLunaraHintOnClick,
82779
+ taxaDePolitaHintOnClick,
82780
+ children,
82781
+ ...rest
82782
+ }) => {
82783
+ let _contentSlot = null;
82784
+ Children.toArray(children).filter(Boolean).forEach((child) => {
82785
+ const element = child;
82786
+ if (element.type === ContentSlot) {
82787
+ _contentSlot = child;
82788
+ }
82789
+ });
82790
+ return /* @__PURE__ */ jsx(
82791
+ PropunereUniqaProtectStyled,
82792
+ {
82793
+ $empty: empty,
82794
+ $featured: featured,
82795
+ $selected: selected,
82796
+ $disabled: disabled,
82797
+ $refused: refused,
82798
+ $hideButton: hideButton,
82799
+ ...rest,
82800
+ children: !empty ? /* @__PURE__ */ jsxs(Fragment, { children: [
82801
+ /* @__PURE__ */ jsxs("div", { children: [
82802
+ /* @__PURE__ */ jsxs("div", { children: [
82803
+ /* @__PURE__ */ jsx("span", { children: title }),
82804
+ /* @__PURE__ */ jsx(
82805
+ IconButton,
82806
+ {
82807
+ onClick: iconButtonOnClick,
82808
+ icon: "new_tab",
82809
+ intent: "accent",
82810
+ variant: "tertiary",
82811
+ shape: "rounded",
82812
+ color: colors.info_800,
82813
+ size: "medium"
82814
+ }
82815
+ )
82816
+ ] }),
82817
+ /* @__PURE__ */ jsxs("div", { children: [
82818
+ /* @__PURE__ */ jsxs("div", { children: [
82819
+ /* @__PURE__ */ jsxs("div", { children: [
82820
+ /* @__PURE__ */ jsx("span", { children: "Contributia lunara" }),
82821
+ /* @__PURE__ */ jsx(
82822
+ Icon$1,
82823
+ {
82824
+ onClick: contributiaLunaraHintOnClick,
82825
+ icon: "hint_filled",
82826
+ size: 16,
82827
+ color: refused ? colors.gray_200 : colors.info_700
82828
+ }
82829
+ )
82830
+ ] }),
82831
+ /* @__PURE__ */ jsx("span", { children: contributiaLunara || "-" })
82832
+ ] }),
82833
+ /* @__PURE__ */ jsxs("div", { children: [
82834
+ /* @__PURE__ */ jsx("span", { children: "Durata" }),
82835
+ /* @__PURE__ */ jsx("span", { children: durata || "-" })
82836
+ ] })
82837
+ ] }),
82838
+ /* @__PURE__ */ jsxs("div", { children: [
82839
+ /* @__PURE__ */ jsxs("div", { children: [
82840
+ /* @__PURE__ */ jsx(
82841
+ Icon$1,
82842
+ {
82843
+ icon: "invoice_seal",
82844
+ size: 16,
82845
+ color: refused ? colors.gray_200 : colors.gray_500
82846
+ }
82847
+ ),
82848
+ /* @__PURE__ */ jsxs("div", { children: [
82849
+ /* @__PURE__ */ jsxs("div", { children: [
82850
+ /* @__PURE__ */ jsx("span", { children: "Taxa de polita" }),
82851
+ /* @__PURE__ */ jsx(
82852
+ Icon$1,
82853
+ {
82854
+ onClick: taxaDePolitaHintOnClick,
82855
+ icon: "hint_filled",
82856
+ size: 16,
82857
+ color: refused ? colors.gray_200 : colors.info_700
82858
+ }
82859
+ )
82860
+ ] }),
82861
+ /* @__PURE__ */ jsx("span", { children: taxaDePolita || "-" })
82862
+ ] })
82863
+ ] }),
82864
+ /* @__PURE__ */ jsxs("div", { children: [
82865
+ /* @__PURE__ */ jsx(
82866
+ Icon$1,
82867
+ {
82868
+ icon: "docs",
82869
+ size: 16,
82870
+ color: refused ? colors.gray_200 : colors.gray_500
82871
+ }
82872
+ ),
82873
+ /* @__PURE__ */ jsxs("div", { children: [
82874
+ /* @__PURE__ */ jsx("span", { children: "Numar polite" }),
82875
+ /* @__PURE__ */ jsx("span", { children: numarPolite || "-" })
82876
+ ] })
82877
+ ] })
82878
+ ] })
82879
+ ] }),
82880
+ /* @__PURE__ */ jsx("div", { children: _contentSlot }),
82881
+ !hideButton && /* @__PURE__ */ jsxs(
82882
+ "button",
82883
+ {
82884
+ disabled,
82885
+ type: "button",
82886
+ onClick: !disabled ? buttonOnClick : () => {
82887
+ },
82888
+ children: [
82889
+ /* @__PURE__ */ jsx(
82890
+ Icon$1,
82891
+ {
82892
+ icon: selected ? "checkmark_filled" : "checkmark-part",
82893
+ size: 16,
82894
+ color: selected ? disabled ? colors.gray_600 : colors.white : colors.purple_600,
82895
+ style: {
82896
+ opacity: disabled && !selected ? "0.25" : "1"
82897
+ }
82898
+ }
82899
+ ),
82900
+ /* @__PURE__ */ jsx("span", { children: selected ? "Varianta selectata" : "Vreau aceasta varianta!" })
82901
+ ]
82902
+ }
82903
+ )
82904
+ ] }) : /* @__PURE__ */ jsxs("div", { children: [
82905
+ /* @__PURE__ */ jsx(Icon$1, { size: 20, icon: "rejected", color: colors.gray_500 }),
82906
+ /* @__PURE__ */ jsx("span", { children: emptyText })
82907
+ ] })
82908
+ }
82909
+ );
82910
+ };
82911
+ const ContentSlot = ({ children }) => children;
82912
+ PropunereUniqaProtect.ContentSlot = ContentSlot;
82913
+
82914
+ 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 };