rbro-tat-uds 2.2.9 → 2.2.10

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 (36) hide show
  1. package/build/cjs/assets/icons/bulb.svg.cjs +41 -0
  2. package/build/cjs/assets/icons/house-wap.svg.cjs +41 -0
  3. package/build/cjs/components/Accordion/Accordion.cjs +89 -0
  4. package/build/cjs/components/Accordion/index.cjs +12 -0
  5. package/build/cjs/components/Button/Button.cjs +2 -0
  6. package/build/cjs/components/CityPicker/CityPicker.cjs +0 -1
  7. package/build/cjs/components/Icon/IconsList.cjs +5 -1
  8. package/build/cjs/components/IconButton/IconButton.cjs +2 -0
  9. package/build/cjs/components/PageMessage/PageMessage.cjs +2 -0
  10. package/build/cjs/components/PropunereAsigurareLocuinta/PropunereAsigurareLocuinta.cjs +433 -0
  11. package/build/cjs/components/PropunereAsigurareLocuinta/index.cjs +12 -0
  12. package/build/cjs/components/TextInput/TextInput.cjs +2 -0
  13. package/build/cjs/components/index.cjs +4 -0
  14. package/build/cjs/index.cjs +1212 -682
  15. package/build/esm/assets/icons/bulb.svg.js +20 -0
  16. package/build/esm/assets/icons/house-wap.svg.js +20 -0
  17. package/build/esm/components/Accordion/Accordion.js +85 -0
  18. package/build/esm/components/Accordion/index.js +8 -0
  19. package/build/esm/components/Button/Button.js +2 -0
  20. package/build/esm/components/CityPicker/CityPicker.js +0 -1
  21. package/build/esm/components/Icon/IconsList.js +5 -1
  22. package/build/esm/components/IconButton/IconButton.js +2 -0
  23. package/build/esm/components/PageMessage/PageMessage.js +2 -0
  24. package/build/esm/components/PropunereAsigurareLocuinta/PropunereAsigurareLocuinta.js +429 -0
  25. package/build/esm/components/PropunereAsigurareLocuinta/index.js +8 -0
  26. package/build/esm/components/TextInput/TextInput.js +2 -0
  27. package/build/esm/components/index.js +2 -0
  28. package/build/esm/index.js +1211 -683
  29. package/build/types/components/Accordion/Accordion.d.ts +19 -0
  30. package/build/types/components/Accordion/index.d.ts +6 -0
  31. package/build/types/components/Icon/Icon.types.d.ts +1 -1
  32. package/build/types/components/Icon/IconsList.d.ts +2 -0
  33. package/build/types/components/PropunereAsigurareLocuinta/PropunereAsigurareLocuinta.d.ts +34 -0
  34. package/build/types/components/PropunereAsigurareLocuinta/index.d.ts +6 -0
  35. package/build/types/index.d.ts +2 -0
  36. package/package.json +1 -1
@@ -0,0 +1,20 @@
1
+ import * as React from 'react';
2
+
3
+ var _path, _path2, _path3;
4
+ 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); }
5
+ var SvgBulb = function SvgBulb(props) {
6
+ return /*#__PURE__*/React.createElement("svg", _extends({
7
+ xmlns: "http://www.w3.org/2000/svg",
8
+ viewBox: "0 0 24 24"
9
+ }, props), _path || (_path = /*#__PURE__*/React.createElement("path", {
10
+ d: "M10.068 10.518a2 2 0 0 1 2.45-2.45l.517-1.932a4 4 0 0 0-4.899 4.9z"
11
+ })), _path2 || (_path2 = /*#__PURE__*/React.createElement("path", {
12
+ fillRule: "evenodd",
13
+ d: "M7.13 3.653A8 8 0 0 1 17 16.245V17a2 2 0 0 1-2 2H9a2 2 0 0 1-2-2v-.755a8 8 0 0 1 .13-12.592M12 4a6 6 0 0 0-3.429 10.924l.429.298V17h6v-1.778l.429-.298A6 6 0 0 0 12 4",
14
+ clipRule: "evenodd"
15
+ })), _path3 || (_path3 = /*#__PURE__*/React.createElement("path", {
16
+ d: "M15 23H9v-2h6z"
17
+ })));
18
+ };
19
+
20
+ export { SvgBulb as default };
@@ -0,0 +1,20 @@
1
+ import * as React from 'react';
2
+
3
+ var _path, _path2, _path3;
4
+ 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); }
5
+ var SvgHouseWap = function SvgHouseWap(props) {
6
+ return /*#__PURE__*/React.createElement("svg", _extends({
7
+ xmlns: "http://www.w3.org/2000/svg",
8
+ viewBox: "0 0 24 24"
9
+ }, props), _path || (_path = /*#__PURE__*/React.createElement("path", {
10
+ d: "M15.375 2.22a1 1 0 0 1 1.25 0l5 4A1 1 0 0 1 22 7v1h-1v5a1 1 0 0 1-1 1h-4v-2h3V8h1v-.52l-4-3.2-4 3.2V8h-2V7a1 1 0 0 1 .375-.78z"
11
+ })), _path2 || (_path2 = /*#__PURE__*/React.createElement("path", {
12
+ fillRule: "evenodd",
13
+ d: "M3 15H2v-1a1 1 0 0 1 .375-.78l5-4a1 1 0 0 1 1.25 0l5 4A1 1 0 0 1 14 14v1h-1v5a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1zm2 0v4h6v-4h1v-.52l-4-3.2-4 3.2V15z",
14
+ clipRule: "evenodd"
15
+ })), _path3 || (_path3 = /*#__PURE__*/React.createElement("path", {
16
+ d: "M9.93 4.273a8 8 0 0 0-5.657 5.656L2.34 9.412A10 10 0 0 1 9.41 2.34zM19.22 15.444a8 8 0 0 1-4.55 4.097l.668 1.885a10 10 0 0 0 5.688-5.12z"
17
+ })));
18
+ };
19
+
20
+ export { SvgHouseWap as default };
@@ -0,0 +1,85 @@
1
+ "use strict";
2
+ "use client";
3
+
4
+ import { jsxs, jsx } from 'react/jsx-runtime';
5
+ import { Children } from 'react';
6
+ import styled from 'styled-components';
7
+ import { colors } from '../../utils';
8
+ import Icon from '../Icon/Icon.js';
9
+
10
+ const AccordionStyled = styled.div`
11
+ width: 100%;
12
+
13
+ & > button {
14
+ padding: 16px;
15
+ background-color: ${colors.warm_gray_30};
16
+ display: flex;
17
+ align-items: center;
18
+ gap: 24px;
19
+ border: none;
20
+ width: 100%;
21
+ cursor: pointer;
22
+
23
+ & > div:first-of-type {
24
+ flex: 1;
25
+ cursor: pointer;
26
+ display: flex;
27
+ justify-content: flex-start;
28
+ font-size: 14px;
29
+ font-weight: 500;
30
+ color: ${colors.gray_950};
31
+ }
32
+ }
33
+
34
+ & > div {
35
+ padding: 0px 16px;
36
+ overflow: hidden;
37
+ transition: all 0.2s ease-in-out;
38
+ transform-origin: top;
39
+
40
+ &[data-open="true"] {
41
+ transform: scaleY(1);
42
+ padding: 16px;
43
+ opacity: 1;
44
+ }
45
+
46
+ &[data-open="false"] {
47
+ transform: scaleY(0);
48
+ opacity: 0;
49
+ padding: 0px 16px;
50
+ }
51
+ }
52
+ `;
53
+ const Accordion = ({ open = false, children, ...rest }) => {
54
+ let _controlSlot = null;
55
+ let _panelSlot = null;
56
+ Children.toArray(children).filter(Boolean).forEach((child) => {
57
+ const element = child;
58
+ if (element.type === Control) {
59
+ _controlSlot = child;
60
+ }
61
+ if (element.type === Panel) {
62
+ _panelSlot = child;
63
+ }
64
+ });
65
+ return /* @__PURE__ */ jsxs(AccordionStyled, { children: [
66
+ /* @__PURE__ */ jsxs("button", { ...rest, children: [
67
+ /* @__PURE__ */ jsx("div", { children: _controlSlot }),
68
+ /* @__PURE__ */ jsx(
69
+ Icon,
70
+ {
71
+ icon: open ? "select-hide" : "select-open-down",
72
+ size: 18,
73
+ color: colors.info_800
74
+ }
75
+ )
76
+ ] }),
77
+ /* @__PURE__ */ jsx("div", { "data-open": open, children: _panelSlot })
78
+ ] });
79
+ };
80
+ const Control = ({ children }) => children;
81
+ const Panel = ({ children }) => children;
82
+ Accordion.Control = Control;
83
+ Accordion.Panel = Panel;
84
+
85
+ export { Accordion as default };
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ "use client";
3
+
4
+ import Accordion from './Accordion.js';
5
+
6
+
7
+
8
+ export { Accordion as default };
@@ -147,6 +147,8 @@ import '../../assets/icons/face-happy.svg.js';
147
147
  import '../../assets/icons/person-level.svg.js';
148
148
  import '../../assets/icons/star-reward.svg.js';
149
149
  import '../../assets/icons/brand-logo.svg.js';
150
+ import '../../assets/icons/house-wap.svg.js';
151
+ import '../../assets/icons/bulb.svg.js';
150
152
  import Icon from '../Icon/Icon.js';
151
153
  import Spinner from '../Spinner/Spinner.js';
152
154
  import { colors } from '../../utils';
@@ -300,7 +300,6 @@ const CityPicker = ({
300
300
  }
301
301
  }, [wrapper_reference, isOpen]);
302
302
  useEffect(() => {
303
- if (isDirty.current) return;
304
303
  let labeledValue = "";
305
304
  if (value?.judet) {
306
305
  setJudet(value?.judet);
@@ -144,6 +144,8 @@ import FaceHappyIcon from '../../assets/icons/face-happy.svg.js';
144
144
  import PersonLevelIcon from '../../assets/icons/person-level.svg.js';
145
145
  import StarRewardIcon from '../../assets/icons/star-reward.svg.js';
146
146
  import BrandLogoIcon from '../../assets/icons/brand-logo.svg.js';
147
+ import HouseWapIcon from '../../assets/icons/house-wap.svg.js';
148
+ import BulbIcon from '../../assets/icons/bulb.svg.js';
147
149
 
148
150
  const IconsList = {
149
151
  asterix: AsterixIcon,
@@ -288,7 +290,9 @@ const IconsList = {
288
290
  "face-happy": FaceHappyIcon,
289
291
  "person-level": PersonLevelIcon,
290
292
  "star-reward": StarRewardIcon,
291
- "brand-logo": BrandLogoIcon
293
+ "brand-logo": BrandLogoIcon,
294
+ "house-wap": HouseWapIcon,
295
+ bulb: BulbIcon
292
296
  };
293
297
 
294
298
  export { IconsList as default };
@@ -146,6 +146,8 @@ import '../../assets/icons/face-happy.svg.js';
146
146
  import '../../assets/icons/person-level.svg.js';
147
147
  import '../../assets/icons/star-reward.svg.js';
148
148
  import '../../assets/icons/brand-logo.svg.js';
149
+ import '../../assets/icons/house-wap.svg.js';
150
+ import '../../assets/icons/bulb.svg.js';
149
151
  import styled, { css } from 'styled-components';
150
152
  import Icon from '../Icon/Icon.js';
151
153
  import Spinner from '../Spinner/Spinner.js';
@@ -146,6 +146,8 @@ import '../../assets/icons/face-happy.svg.js';
146
146
  import '../../assets/icons/person-level.svg.js';
147
147
  import '../../assets/icons/star-reward.svg.js';
148
148
  import '../../assets/icons/brand-logo.svg.js';
149
+ import '../../assets/icons/house-wap.svg.js';
150
+ import '../../assets/icons/bulb.svg.js';
149
151
  import styled from 'styled-components';
150
152
  import Icon from '../Icon/Icon.js';
151
153
  import { colors } from '../../utils';
@@ -0,0 +1,429 @@
1
+ "use strict";
2
+ "use client";
3
+
4
+ import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
5
+ import { colors } from '../../utils';
6
+ import { Children } from 'react';
7
+ import styled, { css } from 'styled-components';
8
+ import IconButton from '../IconButton/IconButton.js';
9
+ import Icon from '../Icon/Icon.js';
10
+
11
+ const PropunereAsigurareLocuintaStyled = styled.div`
12
+ border-radius: 8px;
13
+ border: 1px solid
14
+ ${({ $featured, $selected }) => $selected ? colors.purple_500 : $featured ? colors.accent_600 : colors.gray_200};
15
+ overflow: hidden;
16
+ min-height: ${({ $hideButton }) => $hideButton ? "387px" : "427px"};
17
+ box-sizing: border-box;
18
+ height: 100%;
19
+ width: 100%;
20
+
21
+ ${(props) => !props.$empty ? css`
22
+ outline: ${props.$featured ? `3px solid ${colors.accent_300}` : "none"};
23
+
24
+ & > div:first-of-type {
25
+ & > div:first-child {
26
+ padding: 6px 6px 0px 16px;
27
+ display: flex;
28
+ align-items: center;
29
+ justify-content: space-between;
30
+ gap: 8px;
31
+ background-color: ${props.$refused ? colors.gray_30 : props.$selected ? colors.purple_50 : props.$featured ? colors.accent_100 : "transparent"};
32
+
33
+ & > span {
34
+ font-size: 18px;
35
+ font-weight: 700;
36
+ line-height: 120%;
37
+ color: ${({ $refused }) => $refused ? colors.gray_300 : colors.purple_600};
38
+ }
39
+ }
40
+
41
+ & > div:nth-child(2) {
42
+ display: flex;
43
+ flex-direction: column;
44
+
45
+ & > div:first-of-type,
46
+ & > div:nth-of-type(2) {
47
+ box-sizing: border-box;
48
+ display: flex;
49
+ align-items: stretch;
50
+ gap: 8px;
51
+ padding: 8px 16px 12px 16px;
52
+ height: 60px;
53
+ background-color: ${props.$refused ? colors.gray_30 : props.$selected ? colors.purple_50 : props.$featured ? colors.accent_100 : "transparent"};
54
+
55
+ & > div {
56
+ display: flex;
57
+ flex-direction: column;
58
+ gap: 2px;
59
+ flex: 1;
60
+
61
+ & > span:first-of-type {
62
+ font-size: 14px;
63
+ font-weight: 400;
64
+ color: ${({ $refused }) => $refused ? colors.gray_200 : colors.gray_700};
65
+ }
66
+
67
+ & > span:last-of-type {
68
+ font-size: 16px;
69
+ font-weight: 500;
70
+ color: ${({ $refused }) => $refused ? colors.gray_300 : colors.gray_950};
71
+ }
72
+ }
73
+ }
74
+
75
+ & > div:last-of-type {
76
+ box-sizing: border-box;
77
+ display: flex;
78
+ flex-direction: column;
79
+ gap: 2px;
80
+ padding: 8px 16px 12px 16px;
81
+ min-height: 82px;
82
+ height: 100%;
83
+ background-color: ${props.$refused ? colors.gray_30 : props.$selected ? colors.purple_50 : props.$featured ? colors.accent_100 : "transparent"};
84
+
85
+ & > span:first-of-type {
86
+ font-size: 14px;
87
+ font-weight: 400;
88
+ color: ${({ $refused }) => $refused ? colors.gray_200 : colors.gray_700};
89
+ }
90
+
91
+ & > span:last-of-type {
92
+ font-size: 20px;
93
+ font-weight: 700;
94
+ color: ${({ $refused }) => $refused ? colors.gray_300 : colors.gray_950};
95
+ }
96
+
97
+ & > div {
98
+ display: flex;
99
+ align-items: center;
100
+ gap: 4px;
101
+
102
+ & > span {
103
+ font-size: 12px;
104
+ font-weight: 400;
105
+ color: ${({ $refused }) => $refused ? colors.gray_300 : colors.gray_700};
106
+ }
107
+ }
108
+ }
109
+ }
110
+
111
+ & > div:last-child {
112
+ box-sizing: border-box;
113
+ border-top: 1px solid ${colors.gray_200};
114
+ border-bottom: 1px solid ${colors.gray_200};
115
+ display: flex;
116
+ align-items: stretch;
117
+ height: 95px;
118
+
119
+ & > div {
120
+ flex: 1;
121
+ display: flex;
122
+ align-items: flex-start;
123
+ padding: 12px 16px;
124
+
125
+ & > div {
126
+ display: flex;
127
+ align-items: flex-start;
128
+ gap: 8px;
129
+
130
+ & > div {
131
+ display: flex;
132
+ flex-direction: column;
133
+ gap: 2px;
134
+
135
+ & > span:first-of-type {
136
+ font-size: 12px;
137
+ font-weight: 400;
138
+ line-height: 120%;
139
+ }
140
+
141
+ & > span:nth-of-type(2) {
142
+ font-size: 14px;
143
+ font-weight: 500;
144
+ line-height: 120%;
145
+ }
146
+
147
+ & > span:nth-of-type(3) {
148
+ font-size: 14px;
149
+ font-weight: 400;
150
+ line-height: 120%;
151
+ }
152
+
153
+ & > span:nth-of-type(4) {
154
+ font-size: 14px;
155
+ font-weight: 400;
156
+ line-height: 120%;
157
+ }
158
+ }
159
+ }
160
+ }
161
+
162
+ & > div:first-of-type {
163
+ border-right: 0.5px solid ${colors.gray_200};
164
+ background-color: ${props.$refused ? colors.gray_60 : props.$featured ? colors.white : colors.gray_30};
165
+
166
+ & > div {
167
+ & > div {
168
+ & > span:first-of-type {
169
+ color: ${({ $refused }) => $refused ? colors.gray_300 : colors.gray_700};
170
+ }
171
+
172
+ & > span:nth-of-type(2) {
173
+ color: ${({ $refused }) => $refused ? colors.gray_300 : colors.gray_950};
174
+ }
175
+
176
+ & > span:nth-of-type(3) {
177
+ color: ${({ $refused }) => $refused ? colors.gray_300 : colors.info_800};
178
+ }
179
+
180
+ & > span:nth-of-type(4) {
181
+ color: ${({ $refused }) => $refused ? colors.gray_300 : colors.info_800};
182
+ }
183
+ }
184
+ }
185
+ }
186
+
187
+ & > div:last-of-type {
188
+ border-left: 0.5px solid ${colors.gray_200};
189
+ background-color: ${(props2) => props2.$refused ? colors.gray_60 : colors.gray_30};
190
+
191
+ & > div {
192
+ & > div {
193
+ & > span:first-of-type {
194
+ color: ${({ $refused }) => $refused ? colors.gray_300 : colors.gray_700};
195
+ }
196
+
197
+ & > span:nth-of-type(2) {
198
+ color: ${({ $refused }) => $refused ? colors.gray_300 : colors.gray_950};
199
+ }
200
+
201
+ & > span:nth-of-type(3) {
202
+ color: ${({ $refused }) => $refused ? colors.gray_300 : colors.info_800};
203
+ }
204
+
205
+ & > span:nth-of-type(4) {
206
+ color: ${({ $refused }) => $refused ? colors.gray_300 : colors.info_800};
207
+ }
208
+ }
209
+ }
210
+ }
211
+ }
212
+ }
213
+
214
+ & > div:last-of-type {
215
+ height: 42px;
216
+ box-sizing: border-box;
217
+ }
218
+
219
+ & > button {
220
+ appearance: none;
221
+ border: none;
222
+ outline: none;
223
+ background-color: ${({ $selected, $disabled }) => $selected ? $disabled ? colors.gray_100 : colors.purple_600 : "transparent"};
224
+ padding: 0px;
225
+ width: 100%;
226
+ height: 40px;
227
+ display: flex;
228
+ align-items: center;
229
+ justify-content: center;
230
+ gap: 8px;
231
+ border-top: 1px solid ${colors.gray_200};
232
+ cursor: pointer;
233
+
234
+ & > span {
235
+ font-size: 14px;
236
+ font-weight: 500;
237
+ line-height: 120%;
238
+ color: ${({ $selected, $disabled }) => $selected ? $disabled ? colors.gray_600 : colors.white : $disabled ? colors.gray_300 : colors.purple_600};
239
+ }
240
+ }
241
+ ` : css`
242
+ background-color: ${colors.gray_30};
243
+ display: flex;
244
+ justify-content: center;
245
+ align-items: center;
246
+ padding: 16px;
247
+
248
+ & > div {
249
+ display: flex;
250
+ flex-direction: column;
251
+ gap: 16px;
252
+ justify-content: center;
253
+ align-items: center;
254
+
255
+ & > span {
256
+ font-size: 14px;
257
+ font-weight: 400;
258
+ line-height: 120%;
259
+ color: ${colors.gray_500};
260
+ text-align: center;
261
+ }
262
+ }
263
+ `}
264
+ `;
265
+ const PropunereAsigurareLocuinta = ({
266
+ title = "Fix ce ai cerut!",
267
+ valoareAsigurataImobil = "",
268
+ primaAsigurareImobilPeAn = "",
269
+ valoareAsigurataBunuri = "",
270
+ primaAsigurareBunuriPeAn = "",
271
+ totalDePlataAnual = "",
272
+ primaAsigurareAnexeImobil = "",
273
+ valoareAsigurataAnexeImobil = "",
274
+ primaAsigurareEchipamente = "",
275
+ valoareAsigurataEchipamente = "",
276
+ includePad = false,
277
+ featured = false,
278
+ selected = false,
279
+ disabled = false,
280
+ refused = false,
281
+ hideButton = false,
282
+ empty = false,
283
+ emptyText = "Indisponibil",
284
+ iconButtonOnClick,
285
+ buttonOnClick,
286
+ children,
287
+ ...rest
288
+ }) => {
289
+ let _contentSlot = null;
290
+ Children.toArray(children).filter(Boolean).forEach((child) => {
291
+ const element = child;
292
+ if (element.type === ContentSlot) {
293
+ _contentSlot = child;
294
+ }
295
+ });
296
+ return /* @__PURE__ */ jsx(
297
+ PropunereAsigurareLocuintaStyled,
298
+ {
299
+ $empty: empty,
300
+ $featured: featured,
301
+ $selected: selected,
302
+ $disabled: disabled,
303
+ $refused: refused,
304
+ $hideButton: hideButton,
305
+ ...rest,
306
+ children: !empty ? /* @__PURE__ */ jsxs(Fragment, { children: [
307
+ /* @__PURE__ */ jsxs("div", { children: [
308
+ /* @__PURE__ */ jsxs("div", { children: [
309
+ /* @__PURE__ */ jsx("span", { children: title }),
310
+ /* @__PURE__ */ jsx(
311
+ IconButton,
312
+ {
313
+ onClick: buttonOnClick,
314
+ icon: "new_tab",
315
+ intent: "accent",
316
+ variant: "tertiary",
317
+ shape: "rounded",
318
+ color: colors.info_800,
319
+ size: "medium"
320
+ }
321
+ )
322
+ ] }),
323
+ /* @__PURE__ */ jsxs("div", { children: [
324
+ /* @__PURE__ */ jsxs("div", { children: [
325
+ /* @__PURE__ */ jsxs("div", { children: [
326
+ /* @__PURE__ */ jsx("span", { children: "Valoare asigurata imobil" }),
327
+ /* @__PURE__ */ jsx("span", { children: valoareAsigurataImobil || "-" })
328
+ ] }),
329
+ /* @__PURE__ */ jsxs("div", { children: [
330
+ /* @__PURE__ */ jsx("span", { children: "Prima asigurare imobil pe an" }),
331
+ /* @__PURE__ */ jsx("span", { children: primaAsigurareImobilPeAn || "-" })
332
+ ] })
333
+ ] }),
334
+ /* @__PURE__ */ jsxs("div", { children: [
335
+ /* @__PURE__ */ jsxs("div", { children: [
336
+ /* @__PURE__ */ jsx("span", { children: "Valoare asigurata bunuri" }),
337
+ /* @__PURE__ */ jsx("span", { children: valoareAsigurataBunuri || "-" })
338
+ ] }),
339
+ /* @__PURE__ */ jsxs("div", { children: [
340
+ /* @__PURE__ */ jsx("span", { children: "Prima asigurare bunuri pe an" }),
341
+ /* @__PURE__ */ jsx("span", { children: primaAsigurareBunuriPeAn || "-" })
342
+ ] })
343
+ ] }),
344
+ /* @__PURE__ */ jsxs("div", { children: [
345
+ /* @__PURE__ */ jsx("span", { children: "Total de plata anual" }),
346
+ /* @__PURE__ */ jsx("span", { children: totalDePlataAnual || "-" }),
347
+ includePad && /* @__PURE__ */ jsxs("div", { children: [
348
+ /* @__PURE__ */ jsx(
349
+ Icon,
350
+ {
351
+ icon: "info_filled",
352
+ size: 14,
353
+ color: refused ? colors.gray_200 : colors.gray_500
354
+ }
355
+ ),
356
+ /* @__PURE__ */ jsx("span", { children: "Include PAD" })
357
+ ] })
358
+ ] })
359
+ ] }),
360
+ /* @__PURE__ */ jsxs("div", { children: [
361
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsxs("div", { children: [
362
+ /* @__PURE__ */ jsx(
363
+ Icon,
364
+ {
365
+ icon: "house-wap",
366
+ size: 16,
367
+ color: refused ? colors.gray_200 : colors.gray_500
368
+ }
369
+ ),
370
+ /* @__PURE__ */ jsxs("div", { children: [
371
+ /* @__PURE__ */ jsx("span", { children: "Prima asigurare anexe imobil" }),
372
+ /* @__PURE__ */ jsx("span", { children: primaAsigurareAnexeImobil || "-" }),
373
+ /* @__PURE__ */ jsx("span", { children: "Valoare asigurata" }),
374
+ /* @__PURE__ */ jsx("span", { children: valoareAsigurataAnexeImobil || "-" })
375
+ ] })
376
+ ] }) }),
377
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsxs("div", { children: [
378
+ /* @__PURE__ */ jsx(
379
+ Icon,
380
+ {
381
+ icon: "bulb",
382
+ size: 16,
383
+ color: refused ? colors.gray_200 : colors.gray_500
384
+ }
385
+ ),
386
+ /* @__PURE__ */ jsxs("div", { children: [
387
+ /* @__PURE__ */ jsx("span", { children: "Prima asigurare echipamente" }),
388
+ /* @__PURE__ */ jsx("span", { children: primaAsigurareEchipamente || "-" }),
389
+ /* @__PURE__ */ jsx("span", { children: "Valoare asigurata" }),
390
+ /* @__PURE__ */ jsx("span", { children: valoareAsigurataEchipamente || "-" })
391
+ ] })
392
+ ] }) })
393
+ ] })
394
+ ] }),
395
+ /* @__PURE__ */ jsx("div", { children: _contentSlot }),
396
+ !hideButton && /* @__PURE__ */ jsxs(
397
+ "button",
398
+ {
399
+ disabled,
400
+ type: "button",
401
+ onClick: !disabled ? buttonOnClick : () => {
402
+ },
403
+ children: [
404
+ /* @__PURE__ */ jsx(
405
+ Icon,
406
+ {
407
+ icon: selected ? "checkmark_filled" : "checkmark-part",
408
+ size: 16,
409
+ color: selected ? disabled ? colors.gray_600 : colors.white : colors.purple_600,
410
+ style: {
411
+ opacity: disabled && !selected ? "0.25" : "1"
412
+ }
413
+ }
414
+ ),
415
+ /* @__PURE__ */ jsx("span", { children: selected ? "Varianta selectata" : "Vreau aceasta varianta!" })
416
+ ]
417
+ }
418
+ )
419
+ ] }) : /* @__PURE__ */ jsxs("div", { children: [
420
+ /* @__PURE__ */ jsx(Icon, { size: 20, icon: "rejected", color: colors.gray_500 }),
421
+ /* @__PURE__ */ jsx("span", { children: emptyText })
422
+ ] })
423
+ }
424
+ );
425
+ };
426
+ const ContentSlot = ({ children }) => children;
427
+ PropunereAsigurareLocuinta.ContentSlot = ContentSlot;
428
+
429
+ export { PropunereAsigurareLocuinta as default };
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ "use client";
3
+
4
+ import PropunereAsigurareLocuinta from './PropunereAsigurareLocuinta.js';
5
+
6
+
7
+
8
+ export { PropunereAsigurareLocuinta as default };
@@ -147,6 +147,8 @@ import '../../assets/icons/face-happy.svg.js';
147
147
  import '../../assets/icons/person-level.svg.js';
148
148
  import '../../assets/icons/star-reward.svg.js';
149
149
  import '../../assets/icons/brand-logo.svg.js';
150
+ import '../../assets/icons/house-wap.svg.js';
151
+ import '../../assets/icons/bulb.svg.js';
150
152
  import { createPortal } from 'react-dom';
151
153
  import Icon from '../Icon/Icon.js';
152
154
  import Numpad from '../Numpad/Numpad.js';
@@ -89,3 +89,5 @@ export { default as Icon } from './Icon/Icon.js';
89
89
  export { default as Spinner } from './Spinner/Spinner.js';
90
90
  export { default as GraficContributieUnitlinked } from './GraficContributieUnitlinked/GraficContributieUnitlinked.js';
91
91
  export { default as SelectionAppCard } from './SelectionAppCard/SelectionAppCard.js';
92
+ export { default as Accordion } from './Accordion/Accordion.js';
93
+ export { default as PropunereAsigurareLocuinta } from './PropunereAsigurareLocuinta/PropunereAsigurareLocuinta.js';