@anoki/fse-ui 1.0.464 → 1.0.465
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/dist/index.cjs214.js +1 -1
- package/dist/index.cjs232.js +1 -1
- package/dist/index.cjs237.js +1 -1
- package/dist/index.cjs244.js +1 -1
- package/dist/index.cjs252.js +1 -1
- package/dist/index.cjs328.js +1 -1
- package/dist/index.cjs331.js +1 -1
- package/dist/index.cjs336.js +1 -1
- package/dist/index.cjs338.js +1 -1
- package/dist/index.cjs338.js.map +1 -1
- package/dist/index.cjs339.js +1 -1
- package/dist/index.cjs339.js.map +1 -1
- package/dist/index.cjs340.js +1 -1
- package/dist/index.cjs340.js.map +1 -1
- package/dist/index.cjs341.js +1 -1
- package/dist/index.cjs341.js.map +1 -1
- package/dist/index.cjs342.js +1 -1
- package/dist/index.cjs342.js.map +1 -1
- package/dist/index.cjs343.js +1 -1
- package/dist/index.cjs343.js.map +1 -1
- package/dist/{index.cjs364.js → index.cjs344.js} +1 -1
- package/dist/{index.cjs364.js.map → index.cjs344.js.map} +1 -1
- package/dist/{index.cjs365.js → index.cjs345.js} +2 -2
- package/dist/{index.cjs365.js.map → index.cjs345.js.map} +1 -1
- package/dist/index.cjs346.js +2 -0
- package/dist/{index.cjs366.js.map → index.cjs346.js.map} +1 -1
- package/dist/index.cjs350.js +1 -1
- package/dist/index.cjs351.js +1 -1
- package/dist/index.cjs352.js +1 -1
- package/dist/index.cjs353.js +1 -1
- package/dist/index.cjs354.js +1 -1
- package/dist/index.cjs355.js +1 -1
- package/dist/index.cjs373.js +2 -0
- package/dist/index.cjs373.js.map +1 -0
- package/dist/index.cjs374.js +1 -1
- package/dist/index.cjs374.js.map +1 -1
- package/dist/index.cjs375.js +1 -1
- package/dist/index.cjs375.js.map +1 -1
- package/dist/index.cjs376.js +4 -1
- package/dist/index.cjs376.js.map +1 -1
- package/dist/index.cjs377.js +1 -1
- package/dist/index.cjs377.js.map +1 -1
- package/dist/index.cjs378.js +1 -1
- package/dist/index.cjs378.js.map +1 -1
- package/dist/index.cjs379.js +1 -1
- package/dist/index.cjs379.js.map +1 -1
- package/dist/index.cjs380.js +1 -1
- package/dist/index.cjs380.js.map +1 -1
- package/dist/index.cjs381.js +1 -1
- package/dist/index.cjs381.js.map +1 -1
- package/dist/index.cjs382.js +1 -1
- package/dist/index.cjs382.js.map +1 -1
- package/dist/index.cjs383.js +1 -4
- package/dist/index.cjs383.js.map +1 -1
- package/dist/index.cjs385.js +1 -38
- package/dist/index.cjs385.js.map +1 -1
- package/dist/index.cjs386.js +38 -1
- package/dist/index.cjs386.js.map +1 -1
- package/dist/index.cjs387.js +1 -1
- package/dist/index.cjs387.js.map +1 -1
- package/dist/index.cjs388.js +1 -1
- package/dist/index.cjs388.js.map +1 -1
- package/dist/index.cjs389.js +1 -1
- package/dist/index.cjs389.js.map +1 -1
- package/dist/index.cjs99.js +1 -1
- package/dist/index.cjs99.js.map +1 -1
- package/dist/index.es214.js +2 -2
- package/dist/index.es232.js +1 -1
- package/dist/index.es237.js +1 -1
- package/dist/index.es244.js +1 -1
- package/dist/index.es252.js +2 -2
- package/dist/index.es328.js +1 -1
- package/dist/index.es331.js +4 -4
- package/dist/index.es336.js +3 -3
- package/dist/index.es338.js +11 -5
- package/dist/index.es338.js.map +1 -1
- package/dist/index.es339.js +204 -24
- package/dist/index.es339.js.map +1 -1
- package/dist/index.es340.js +22 -12
- package/dist/index.es340.js.map +1 -1
- package/dist/index.es341.js +24 -204
- package/dist/index.es341.js.map +1 -1
- package/dist/index.es342.js +392 -21
- package/dist/index.es342.js.map +1 -1
- package/dist/index.es343.js +5 -392
- package/dist/index.es343.js.map +1 -1
- package/dist/{index.es364.js → index.es344.js} +1 -1
- package/dist/{index.es364.js.map → index.es344.js.map} +1 -1
- package/dist/{index.es365.js → index.es345.js} +5 -5
- package/dist/{index.es365.js.map → index.es345.js.map} +1 -1
- package/dist/index.es346.js +8 -0
- package/dist/{index.es366.js.map → index.es346.js.map} +1 -1
- package/dist/index.es350.js +1 -1
- package/dist/index.es351.js +1 -1
- package/dist/index.es352.js +2 -2
- package/dist/index.es353.js +1 -1
- package/dist/index.es354.js +1 -1
- package/dist/index.es355.js +1 -1
- package/dist/index.es373.js +8 -0
- package/dist/index.es373.js.map +1 -0
- package/dist/index.es374.js +3 -4
- package/dist/index.es374.js.map +1 -1
- package/dist/index.es375.js +23 -10
- package/dist/index.es375.js.map +1 -1
- package/dist/index.es376.js +108 -10
- package/dist/index.es376.js.map +1 -1
- package/dist/index.es377.js +14 -521
- package/dist/index.es377.js.map +1 -1
- package/dist/index.es378.js +509 -113
- package/dist/index.es378.js.map +1 -1
- package/dist/index.es379.js +121 -123
- package/dist/index.es379.js.map +1 -1
- package/dist/index.es380.js +129 -5
- package/dist/index.es380.js.map +1 -1
- package/dist/index.es381.js +4 -3
- package/dist/index.es381.js.map +1 -1
- package/dist/index.es382.js +10 -23
- package/dist/index.es382.js.map +1 -1
- package/dist/index.es383.js +10 -108
- package/dist/index.es383.js.map +1 -1
- package/dist/index.es385.js +65 -69
- package/dist/index.es385.js.map +1 -1
- package/dist/index.es386.js +68 -8
- package/dist/index.es386.js.map +1 -1
- package/dist/index.es387.js +9 -14
- package/dist/index.es387.js.map +1 -1
- package/dist/index.es388.js +14 -62
- package/dist/index.es388.js.map +1 -1
- package/dist/index.es389.js +61 -64
- package/dist/index.es389.js.map +1 -1
- package/dist/index.es99.js +25 -15
- package/dist/index.es99.js.map +1 -1
- package/package.json +1 -1
- package/dist/index.cjs366.js +0 -2
- package/dist/index.cjs384.js +0 -2
- package/dist/index.cjs384.js.map +0 -1
- package/dist/index.es366.js +0 -8
- package/dist/index.es384.js +0 -19
- package/dist/index.es384.js.map +0 -1
- /package/dist/components/ui/{ConsentModal/ConsentModalFooter/ConsentModalFooter.css → DoctorModal/DoctorModalFooter/DoctorModalFooter.css} +0 -0
package/dist/index.es388.js
CHANGED
@@ -1,65 +1,17 @@
|
|
1
|
-
var
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
}
|
13
|
-
|
14
|
-
}, H = function(e) {
|
15
|
-
return w(e, "overflowX");
|
16
|
-
}, R = function(e, r) {
|
17
|
-
var o = r.ownerDocument, t = r;
|
18
|
-
do {
|
19
|
-
typeof ShadowRoot < "u" && t instanceof ShadowRoot && (t = t.host);
|
20
|
-
var v = g(e, t);
|
21
|
-
if (v) {
|
22
|
-
var n = b(e, t), a = n[1], l = n[2];
|
23
|
-
if (a > l)
|
24
|
-
return !0;
|
25
|
-
}
|
26
|
-
t = t.parentNode;
|
27
|
-
} while (t && t !== o.body);
|
28
|
-
return !1;
|
29
|
-
}, B = function(e) {
|
30
|
-
var r = e.scrollTop, o = e.scrollHeight, t = e.clientHeight;
|
31
|
-
return [
|
32
|
-
r,
|
33
|
-
o,
|
34
|
-
t
|
35
|
-
];
|
36
|
-
}, V = function(e) {
|
37
|
-
var r = e.scrollLeft, o = e.scrollWidth, t = e.clientWidth;
|
38
|
-
return [
|
39
|
-
r,
|
40
|
-
o,
|
41
|
-
t
|
42
|
-
];
|
43
|
-
}, g = function(e, r) {
|
44
|
-
return e === "v" ? y(r) : H(r);
|
45
|
-
}, b = function(e, r) {
|
46
|
-
return e === "v" ? B(r) : V(r);
|
47
|
-
}, D = function(e, r) {
|
48
|
-
return e === "h" && r === "rtl" ? -1 : 1;
|
49
|
-
}, W = function(e, r, o, t, v) {
|
50
|
-
var n = D(e, window.getComputedStyle(r).direction), a = n * t, l = o.target, f = r.contains(l), i = !1, s = a > 0, d = 0, h = 0;
|
51
|
-
do {
|
52
|
-
var c = b(e, l), u = c[0], m = c[1], C = c[2], S = m - C - n * u;
|
53
|
-
(u || S) && g(e, l) && (d += S, h += u), l instanceof ShadowRoot ? l = l.host : l = l.parentNode;
|
54
|
-
} while (
|
55
|
-
// portaled content
|
56
|
-
!f && l !== document.body || // self content
|
57
|
-
f && (r.contains(l) || r === l)
|
58
|
-
);
|
59
|
-
return (s && Math.abs(d) < 1 || !s && Math.abs(h) < 1) && (i = !0), i;
|
60
|
-
};
|
1
|
+
var r = !1;
|
2
|
+
if (typeof window < "u")
|
3
|
+
try {
|
4
|
+
var e = Object.defineProperty({}, "passive", {
|
5
|
+
get: function() {
|
6
|
+
return r = !0, !0;
|
7
|
+
}
|
8
|
+
});
|
9
|
+
window.addEventListener("test", e, e), window.removeEventListener("test", e, e);
|
10
|
+
} catch {
|
11
|
+
r = !1;
|
12
|
+
}
|
13
|
+
var a = r ? { passive: !1 } : !1;
|
61
14
|
export {
|
62
|
-
|
63
|
-
R as locationCouldBeScrolled
|
15
|
+
a as nonPassive
|
64
16
|
};
|
65
17
|
//# sourceMappingURL=index.es388.js.map
|
package/dist/index.es388.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.es388.js","sources":["../node_modules/react-remove-scroll/dist/es2015/
|
1
|
+
{"version":3,"file":"index.es388.js","sources":["../node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js"],"sourcesContent":["var passiveSupported = false;\nif (typeof window !== 'undefined') {\n try {\n var options = Object.defineProperty({}, 'passive', {\n get: function () {\n passiveSupported = true;\n return true;\n },\n });\n // @ts-ignore\n window.addEventListener('test', options, options);\n // @ts-ignore\n window.removeEventListener('test', options, options);\n }\n catch (err) {\n passiveSupported = false;\n }\n}\nexport var nonPassive = passiveSupported ? { passive: false } : false;\n"],"names":["passiveSupported","options","nonPassive"],"mappings":"AAAA,IAAIA,IAAmB;AACvB,IAAI,OAAO,SAAW;AAClB,MAAI;AACA,QAAIC,IAAU,OAAO,eAAe,CAAA,GAAI,WAAW;AAAA,MAC/C,KAAK,WAAY;AACb,eAAAD,IAAmB,IACZ;AAAA,MACV;AAAA,IACb,CAAS;AAED,WAAO,iBAAiB,QAAQC,GAASA,CAAO,GAEhD,OAAO,oBAAoB,QAAQA,GAASA,CAAO;AAAA,EAC3D,QACgB;AACR,IAAAD,IAAmB;AAAA,EAC3B;AAEU,IAACE,IAAaF,IAAmB,EAAE,SAAS,GAAK,IAAK;","x_google_ignoreList":[0]}
|
package/dist/index.es389.js
CHANGED
@@ -1,68 +1,65 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
}
|
26
|
-
e = {
|
27
|
-
push: function(i) {
|
28
|
-
return u(i);
|
29
|
-
},
|
30
|
-
filter: function() {
|
31
|
-
return e;
|
32
|
-
}
|
33
|
-
};
|
34
|
-
},
|
35
|
-
assignMedium: function(u) {
|
36
|
-
o = !0;
|
37
|
-
var n = [];
|
38
|
-
if (e.length) {
|
39
|
-
var i = e;
|
40
|
-
e = [], i.forEach(u), n = e;
|
41
|
-
}
|
42
|
-
var s = function() {
|
43
|
-
var f = n;
|
44
|
-
n = [], f.forEach(u);
|
45
|
-
}, a = function() {
|
46
|
-
return Promise.resolve().then(s);
|
47
|
-
};
|
48
|
-
a(), e = {
|
49
|
-
push: function(f) {
|
50
|
-
n.push(f), a();
|
51
|
-
},
|
52
|
-
filter: function(f) {
|
53
|
-
return n = n.filter(f), e;
|
54
|
-
}
|
55
|
-
};
|
1
|
+
var p = function(e) {
|
2
|
+
return e.tagName === "TEXTAREA";
|
3
|
+
}, w = function(e, r) {
|
4
|
+
if (!(e instanceof Element))
|
5
|
+
return !1;
|
6
|
+
var o = window.getComputedStyle(e);
|
7
|
+
return (
|
8
|
+
// not-not-scrollable
|
9
|
+
o[r] !== "hidden" && // contains scroll inside self
|
10
|
+
!(o.overflowY === o.overflowX && !p(e) && o[r] === "visible")
|
11
|
+
);
|
12
|
+
}, y = function(e) {
|
13
|
+
return w(e, "overflowY");
|
14
|
+
}, H = function(e) {
|
15
|
+
return w(e, "overflowX");
|
16
|
+
}, R = function(e, r) {
|
17
|
+
var o = r.ownerDocument, t = r;
|
18
|
+
do {
|
19
|
+
typeof ShadowRoot < "u" && t instanceof ShadowRoot && (t = t.host);
|
20
|
+
var v = g(e, t);
|
21
|
+
if (v) {
|
22
|
+
var n = b(e, t), a = n[1], l = n[2];
|
23
|
+
if (a > l)
|
24
|
+
return !0;
|
56
25
|
}
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
function
|
61
|
-
r
|
62
|
-
|
63
|
-
|
64
|
-
|
26
|
+
t = t.parentNode;
|
27
|
+
} while (t && t !== o.body);
|
28
|
+
return !1;
|
29
|
+
}, B = function(e) {
|
30
|
+
var r = e.scrollTop, o = e.scrollHeight, t = e.clientHeight;
|
31
|
+
return [
|
32
|
+
r,
|
33
|
+
o,
|
34
|
+
t
|
35
|
+
];
|
36
|
+
}, V = function(e) {
|
37
|
+
var r = e.scrollLeft, o = e.scrollWidth, t = e.clientWidth;
|
38
|
+
return [
|
39
|
+
r,
|
40
|
+
o,
|
41
|
+
t
|
42
|
+
];
|
43
|
+
}, g = function(e, r) {
|
44
|
+
return e === "v" ? y(r) : H(r);
|
45
|
+
}, b = function(e, r) {
|
46
|
+
return e === "v" ? B(r) : V(r);
|
47
|
+
}, D = function(e, r) {
|
48
|
+
return e === "h" && r === "rtl" ? -1 : 1;
|
49
|
+
}, W = function(e, r, o, t, v) {
|
50
|
+
var n = D(e, window.getComputedStyle(r).direction), a = n * t, l = o.target, f = r.contains(l), i = !1, s = a > 0, d = 0, h = 0;
|
51
|
+
do {
|
52
|
+
var c = b(e, l), u = c[0], m = c[1], C = c[2], S = m - C - n * u;
|
53
|
+
(u || S) && g(e, l) && (d += S, h += u), l instanceof ShadowRoot ? l = l.host : l = l.parentNode;
|
54
|
+
} while (
|
55
|
+
// portaled content
|
56
|
+
!f && l !== document.body || // self content
|
57
|
+
f && (r.contains(l) || r === l)
|
58
|
+
);
|
59
|
+
return (s && Math.abs(d) < 1 || !s && Math.abs(h) < 1) && (i = !0), i;
|
60
|
+
};
|
65
61
|
export {
|
66
|
-
|
62
|
+
W as handleScroll,
|
63
|
+
R as locationCouldBeScrolled
|
67
64
|
};
|
68
65
|
//# sourceMappingURL=index.es389.js.map
|
package/dist/index.es389.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.es389.js","sources":["../node_modules/
|
1
|
+
{"version":3,"file":"index.es389.js","sources":["../node_modules/react-remove-scroll/dist/es2015/handleScroll.js"],"sourcesContent":["var alwaysContainsScroll = function (node) {\n // textarea will always _contain_ scroll inside self. It only can be hidden\n return node.tagName === 'TEXTAREA';\n};\nvar elementCanBeScrolled = function (node, overflow) {\n if (!(node instanceof Element)) {\n return false;\n }\n var styles = window.getComputedStyle(node);\n return (\n // not-not-scrollable\n styles[overflow] !== 'hidden' &&\n // contains scroll inside self\n !(styles.overflowY === styles.overflowX && !alwaysContainsScroll(node) && styles[overflow] === 'visible'));\n};\nvar elementCouldBeVScrolled = function (node) { return elementCanBeScrolled(node, 'overflowY'); };\nvar elementCouldBeHScrolled = function (node) { return elementCanBeScrolled(node, 'overflowX'); };\nexport var locationCouldBeScrolled = function (axis, node) {\n var ownerDocument = node.ownerDocument;\n var current = node;\n do {\n // Skip over shadow root\n if (typeof ShadowRoot !== 'undefined' && current instanceof ShadowRoot) {\n current = current.host;\n }\n var isScrollable = elementCouldBeScrolled(axis, current);\n if (isScrollable) {\n var _a = getScrollVariables(axis, current), scrollHeight = _a[1], clientHeight = _a[2];\n if (scrollHeight > clientHeight) {\n return true;\n }\n }\n current = current.parentNode;\n } while (current && current !== ownerDocument.body);\n return false;\n};\nvar getVScrollVariables = function (_a) {\n var scrollTop = _a.scrollTop, scrollHeight = _a.scrollHeight, clientHeight = _a.clientHeight;\n return [\n scrollTop,\n scrollHeight,\n clientHeight,\n ];\n};\nvar getHScrollVariables = function (_a) {\n var scrollLeft = _a.scrollLeft, scrollWidth = _a.scrollWidth, clientWidth = _a.clientWidth;\n return [\n scrollLeft,\n scrollWidth,\n clientWidth,\n ];\n};\nvar elementCouldBeScrolled = function (axis, node) {\n return axis === 'v' ? elementCouldBeVScrolled(node) : elementCouldBeHScrolled(node);\n};\nvar getScrollVariables = function (axis, node) {\n return axis === 'v' ? getVScrollVariables(node) : getHScrollVariables(node);\n};\nvar getDirectionFactor = function (axis, direction) {\n /**\n * If the element's direction is rtl (right-to-left), then scrollLeft is 0 when the scrollbar is at its rightmost position,\n * and then increasingly negative as you scroll towards the end of the content.\n * @see https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollLeft\n */\n return axis === 'h' && direction === 'rtl' ? -1 : 1;\n};\nexport var handleScroll = function (axis, endTarget, event, sourceDelta, noOverscroll) {\n var directionFactor = getDirectionFactor(axis, window.getComputedStyle(endTarget).direction);\n var delta = directionFactor * sourceDelta;\n // find scrollable target\n var target = event.target;\n var targetInLock = endTarget.contains(target);\n var shouldCancelScroll = false;\n var isDeltaPositive = delta > 0;\n var availableScroll = 0;\n var availableScrollTop = 0;\n do {\n var _a = getScrollVariables(axis, target), position = _a[0], scroll_1 = _a[1], capacity = _a[2];\n var elementScroll = scroll_1 - capacity - directionFactor * position;\n if (position || elementScroll) {\n if (elementCouldBeScrolled(axis, target)) {\n availableScroll += elementScroll;\n availableScrollTop += position;\n }\n }\n if (target instanceof ShadowRoot) {\n target = target.host;\n }\n else {\n target = target.parentNode;\n }\n } while (\n // portaled content\n (!targetInLock && target !== document.body) ||\n // self content\n (targetInLock && (endTarget.contains(target) || endTarget === target)));\n // handle epsilon around 0 (non standard zoom levels)\n if (isDeltaPositive &&\n ((noOverscroll && Math.abs(availableScroll) < 1) || (!noOverscroll && delta > availableScroll))) {\n shouldCancelScroll = true;\n }\n else if (!isDeltaPositive &&\n ((noOverscroll && Math.abs(availableScrollTop) < 1) || (!noOverscroll && -delta > availableScrollTop))) {\n shouldCancelScroll = true;\n }\n return shouldCancelScroll;\n};\n"],"names":["alwaysContainsScroll","node","elementCanBeScrolled","overflow","styles","elementCouldBeVScrolled","elementCouldBeHScrolled","locationCouldBeScrolled","axis","ownerDocument","current","isScrollable","elementCouldBeScrolled","_a","getScrollVariables","scrollHeight","clientHeight","getVScrollVariables","scrollTop","getHScrollVariables","scrollLeft","scrollWidth","clientWidth","getDirectionFactor","direction","handleScroll","endTarget","event","sourceDelta","noOverscroll","directionFactor","delta","target","targetInLock","shouldCancelScroll","isDeltaPositive","availableScroll","availableScrollTop","position","scroll_1","capacity","elementScroll"],"mappings":"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","x_google_ignoreList":[0]}
|
package/dist/index.es99.js
CHANGED
@@ -1,28 +1,38 @@
|
|
1
1
|
import { j as e } from "./index.es175.js";
|
2
2
|
import './components/ui/ChangeRelatedCard/ChangeRelatedCard.css';/* empty css */
|
3
|
-
import {
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
3
|
+
import { Divider as d } from "./index.es197.js";
|
4
|
+
import { LOGOS as n } from "./index.es24.js";
|
5
|
+
import { Col as h } from "./index.es10.js";
|
6
|
+
import { Row as i } from "./index.es9.js";
|
7
|
+
const u = ({
|
8
|
+
title: s,
|
9
|
+
isSelected: o = !1,
|
10
|
+
region: t
|
8
11
|
}) => {
|
9
|
-
const n = (r) => r.charAt(0).toUpperCase() + r.slice(1);
|
12
|
+
const a = n.nazionale, c = n[t], l = (r) => r.charAt(0).toUpperCase() + r.slice(1);
|
10
13
|
return /* @__PURE__ */ e.jsxs(
|
11
|
-
|
14
|
+
h,
|
12
15
|
{
|
13
|
-
className: `position-relative change-related-card-container ${
|
16
|
+
className: `position-relative change-related-card-container ${o ? "change-related-card-container-selected" : ""}`,
|
14
17
|
children: [
|
15
|
-
"
|
16
|
-
/* @__PURE__ */ e.
|
17
|
-
|
18
|
-
"
|
19
|
-
|
20
|
-
] })
|
18
|
+
/* @__PURE__ */ e.jsx(i, { mb: "x16", alignItems: "center", justifyContent: "center", children: /* @__PURE__ */ e.jsx("p", { children: /* @__PURE__ */ e.jsx("strong", { children: s }) }) }),
|
19
|
+
/* @__PURE__ */ e.jsxs(i, { gap: "x24", alignItems: "center", justifyContent: "center", children: [
|
20
|
+
/* @__PURE__ */ e.jsx(a, { width: 27, height: 44 }),
|
21
|
+
/* @__PURE__ */ e.jsx(d, { bg: "border-divider", direction: "vertical" }),
|
22
|
+
/* @__PURE__ */ e.jsx(c, { width: 44, height: 44 })
|
23
|
+
] }),
|
24
|
+
/* @__PURE__ */ e.jsxs("h3", { className: "fs-custom fw-normal text-slate-20 text-align-center", children: [
|
25
|
+
/* @__PURE__ */ e.jsx("span", { children: "Fascicolo Sanitario" }),
|
26
|
+
/* @__PURE__ */ e.jsx("p", { children: /* @__PURE__ */ e.jsxs("strong", { children: [
|
27
|
+
"Salute",
|
28
|
+
l(t)
|
29
|
+
] }) })
|
30
|
+
] })
|
21
31
|
]
|
22
32
|
}
|
23
33
|
);
|
24
34
|
};
|
25
35
|
export {
|
26
|
-
|
36
|
+
u as ChangeRelatedCard
|
27
37
|
};
|
28
38
|
//# sourceMappingURL=index.es99.js.map
|
package/dist/index.es99.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.es99.js","sources":["../src/components/ui/ChangeRelatedCard/index.tsx"],"sourcesContent":["import \"./ChangeRelatedCard.scss\";\nimport { Col, Region } from \"@/components\";\n\ntype ChangeRelatedCardProps = {\n title: string;\n region: Region;\n isSelected?: boolean;\n};\n\nexport const ChangeRelatedCard = ({\n title,\n isSelected = false,\n region,\n}: ChangeRelatedCardProps) => {\n
|
1
|
+
{"version":3,"file":"index.es99.js","sources":["../src/components/ui/ChangeRelatedCard/index.tsx"],"sourcesContent":["import \"./ChangeRelatedCard.scss\";\nimport { Col, LOGOS, Region, Row } from \"@/components\";\nimport { Divider } from \"@/components/ui/Divider\";\n\ntype ChangeRelatedCardProps = {\n title: string;\n region: Region;\n isSelected?: boolean;\n};\n\nexport const ChangeRelatedCard = ({\n title,\n isSelected = false,\n region,\n}: ChangeRelatedCardProps) => {\n const NationalIcon = LOGOS[\"nazionale\"];\n const RegionIcon = LOGOS[region];\n\n const firstLetterUppercase = (str: string) => {\n return str.charAt(0).toUpperCase() + str.slice(1);\n };\n return (\n <Col\n className={`position-relative change-related-card-container ${isSelected ? \"change-related-card-container-selected\" : \"\"}`}\n >\n <Row mb={\"x16\"} alignItems={\"center\"} justifyContent={\"center\"}>\n <p>\n <strong>{title}</strong>\n </p>\n </Row>\n <Row gap={\"x24\"} alignItems={\"center\"} justifyContent={\"center\"}>\n <NationalIcon width={27} height={44} />\n <Divider bg=\"border-divider\" direction=\"vertical\" />\n <RegionIcon width={44} height={44} />\n </Row>\n <h3 className=\"fs-custom fw-normal text-slate-20 text-align-center\">\n <span>Fascicolo Sanitario</span>\n <p>\n <strong>Salute{firstLetterUppercase(region)}</strong>\n </p>\n </h3>\n </Col>\n );\n};\n"],"names":["ChangeRelatedCard","title","isSelected","region","NationalIcon","LOGOS","RegionIcon","firstLetterUppercase","str","jsxs","Col","jsx","Row","Divider"],"mappings":";;;;;;AAUO,MAAMA,IAAoB,CAAC;AAAA,EAChC,OAAAC;AAAA,EACA,YAAAC,IAAa;AAAA,EACb,QAAAC;AACF,MAA8B;AACtB,QAAAC,IAAeC,EAAM,WACrBC,IAAaD,EAAMF,CAAM,GAEzBI,IAAuB,CAACC,MACrBA,EAAI,OAAO,CAAC,EAAE,gBAAgBA,EAAI,MAAM,CAAC;AAGhD,SAAAC,gBAAAA,EAAA;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,WAAW,mDAAmDR,IAAa,2CAA2C,EAAE;AAAA,MAExH,UAAA;AAAA,QAAAS,gBAAAA,MAACC,GAAI,EAAA,IAAI,OAAO,YAAY,UAAU,gBAAgB,UACpD,UAAAD,gBAAAA,EAAA,IAAC,KACC,EAAA,UAAAA,gBAAAA,EAAAA,IAAC,UAAQ,EAAA,UAAAV,EAAA,CAAM,EACjB,CAAA,GACF;AAAA,+BACCW,GAAI,EAAA,KAAK,OAAO,YAAY,UAAU,gBAAgB,UACrD,UAAA;AAAA,UAAAD,gBAAAA,EAAA,IAACP,GAAa,EAAA,OAAO,IAAI,QAAQ,IAAI;AAAA,UACpCO,gBAAAA,EAAA,IAAAE,GAAA,EAAQ,IAAG,kBAAiB,WAAU,YAAW;AAAA,UACjDF,gBAAAA,EAAA,IAAAL,GAAA,EAAW,OAAO,IAAI,QAAQ,GAAI,CAAA;AAAA,QAAA,GACrC;AAAA,QACAG,gBAAAA,EAAAA,KAAC,MAAG,EAAA,WAAU,uDACZ,UAAA;AAAA,UAAAE,gBAAAA,EAAAA,IAAC,UAAK,UAAmB,sBAAA,CAAA;AAAA,UACzBA,gBAAAA,EAAA,IAAC,KACC,EAAA,UAAAF,gBAAAA,EAAAA,KAAC,UAAO,EAAA,UAAA;AAAA,YAAA;AAAA,YAAOF,EAAqBJ,CAAM;AAAA,UAAA,EAAA,CAAE,EAC9C,CAAA;AAAA,QAAA,EACF,CAAA;AAAA,MAAA;AAAA,IAAA;AAAA,EACF;AAEJ;"}
|
package/package.json
CHANGED
package/dist/index.cjs366.js
DELETED
package/dist/index.cjs384.js
DELETED
@@ -1,2 +0,0 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index.cjs364.js"),n=require("react");function c(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const i=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,i.get?i:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const s=c(n);var a=function(e){var r=e.sideCar,t=o.__rest(e,["sideCar"]);if(!r)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var i=r.read();if(!i)throw new Error("Sidecar medium not found");return s.createElement(i,o.__assign({},t))};a.isSideCarExport=!0;function u(e,r){return e.useMedium(r),a}exports.exportSidecar=u;
|
2
|
-
//# sourceMappingURL=index.cjs384.js.map
|
package/dist/index.cjs384.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.cjs384.js","sources":["../node_modules/use-sidecar/dist/es2015/exports.js"],"sourcesContent":["import { __assign, __rest } from \"tslib\";\nimport * as React from 'react';\nvar SideCar = function (_a) {\n var sideCar = _a.sideCar, rest = __rest(_a, [\"sideCar\"]);\n if (!sideCar) {\n throw new Error('Sidecar: please provide `sideCar` property to import the right car');\n }\n var Target = sideCar.read();\n if (!Target) {\n throw new Error('Sidecar medium not found');\n }\n return React.createElement(Target, __assign({}, rest));\n};\nSideCar.isSideCarExport = true;\nexport function exportSidecar(medium, exported) {\n medium.useMedium(exported);\n return SideCar;\n}\n"],"names":["SideCar","_a","sideCar","rest","__rest","Target","React","__assign","exportSidecar","medium","exported"],"mappings":"kaAEA,IAAIA,EAAU,SAAUC,EAAI,CACxB,IAAIC,EAAUD,EAAG,QAASE,EAAOC,EAAAA,OAAOH,EAAI,CAAC,SAAS,CAAC,EACvD,GAAI,CAACC,EACD,MAAM,IAAI,MAAM,oEAAoE,EAExF,IAAIG,EAASH,EAAQ,KAAM,EAC3B,GAAI,CAACG,EACD,MAAM,IAAI,MAAM,0BAA0B,EAE9C,OAAOC,EAAM,cAAcD,EAAQE,EAAAA,SAAS,CAAA,EAAIJ,CAAI,CAAC,CACzD,EACAH,EAAQ,gBAAkB,GACnB,SAASQ,EAAcC,EAAQC,EAAU,CAC5C,OAAAD,EAAO,UAAUC,CAAQ,EAClBV,CACX","x_google_ignoreList":[0]}
|
package/dist/index.es366.js
DELETED
package/dist/index.es384.js
DELETED
@@ -1,19 +0,0 @@
|
|
1
|
-
import { __rest as o, __assign as d } from "./index.es364.js";
|
2
|
-
import * as n from "react";
|
3
|
-
var i = function(r) {
|
4
|
-
var e = r.sideCar, a = o(r, ["sideCar"]);
|
5
|
-
if (!e)
|
6
|
-
throw new Error("Sidecar: please provide `sideCar` property to import the right car");
|
7
|
-
var t = e.read();
|
8
|
-
if (!t)
|
9
|
-
throw new Error("Sidecar medium not found");
|
10
|
-
return n.createElement(t, d({}, a));
|
11
|
-
};
|
12
|
-
i.isSideCarExport = !0;
|
13
|
-
function p(r, e) {
|
14
|
-
return r.useMedium(e), i;
|
15
|
-
}
|
16
|
-
export {
|
17
|
-
p as exportSidecar
|
18
|
-
};
|
19
|
-
//# sourceMappingURL=index.es384.js.map
|
package/dist/index.es384.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.es384.js","sources":["../node_modules/use-sidecar/dist/es2015/exports.js"],"sourcesContent":["import { __assign, __rest } from \"tslib\";\nimport * as React from 'react';\nvar SideCar = function (_a) {\n var sideCar = _a.sideCar, rest = __rest(_a, [\"sideCar\"]);\n if (!sideCar) {\n throw new Error('Sidecar: please provide `sideCar` property to import the right car');\n }\n var Target = sideCar.read();\n if (!Target) {\n throw new Error('Sidecar medium not found');\n }\n return React.createElement(Target, __assign({}, rest));\n};\nSideCar.isSideCarExport = true;\nexport function exportSidecar(medium, exported) {\n medium.useMedium(exported);\n return SideCar;\n}\n"],"names":["SideCar","_a","sideCar","rest","__rest","Target","React","__assign","exportSidecar","medium","exported"],"mappings":";;AAEA,IAAIA,IAAU,SAAUC,GAAI;AACxB,MAAIC,IAAUD,EAAG,SAASE,IAAOC,EAAOH,GAAI,CAAC,SAAS,CAAC;AACvD,MAAI,CAACC;AACD,UAAM,IAAI,MAAM,oEAAoE;AAExF,MAAIG,IAASH,EAAQ,KAAM;AAC3B,MAAI,CAACG;AACD,UAAM,IAAI,MAAM,0BAA0B;AAE9C,SAAOC,EAAM,cAAcD,GAAQE,EAAS,CAAA,GAAIJ,CAAI,CAAC;AACzD;AACAH,EAAQ,kBAAkB;AACnB,SAASQ,EAAcC,GAAQC,GAAU;AAC5C,SAAAD,EAAO,UAAUC,CAAQ,GAClBV;AACX;","x_google_ignoreList":[0]}
|