@anoki/fse-ui 1.0.458 → 1.0.459
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.cjs102.js +1 -1
- package/dist/index.cjs16.js +1 -1
- package/dist/index.cjs18.js +1 -1
- package/dist/index.cjs199.js +1 -1
- package/dist/index.cjs199.js.map +1 -1
- package/dist/index.cjs204.js +1 -1
- package/dist/index.cjs210.js +1 -1
- package/dist/index.cjs221.js +1 -1
- package/dist/index.cjs24.js +1 -1
- package/dist/index.cjs248.js +1 -1
- package/dist/index.cjs25.js +1 -1
- package/dist/index.cjs250.js +2 -2
- package/dist/index.cjs250.js.map +1 -1
- package/dist/index.cjs26.js +1 -1
- package/dist/index.cjs27.js +1 -1
- package/dist/index.cjs287.js +1 -1
- package/dist/index.cjs30.js +1 -1
- package/dist/index.cjs301.js +2 -2
- package/dist/index.cjs302.js +10 -10
- package/dist/index.cjs309.js +1 -1
- package/dist/index.cjs310.js +1 -1
- package/dist/index.cjs311.js +1 -1
- package/dist/index.cjs311.js.map +1 -1
- package/dist/index.cjs312.js +1 -1
- package/dist/index.cjs312.js.map +1 -1
- package/dist/index.cjs313.js +1 -1
- package/dist/index.cjs313.js.map +1 -1
- package/dist/index.cjs318.js +1 -1
- package/dist/index.cjs319.js +1 -1
- package/dist/index.cjs32.js +1 -1
- package/dist/index.cjs320.js +1 -1
- package/dist/index.cjs320.js.map +1 -1
- package/dist/{index.cjs323.js → index.cjs321.js} +1 -1
- package/dist/index.cjs321.js.map +1 -0
- package/dist/index.cjs333.js +1 -1
- package/dist/index.cjs333.js.map +1 -1
- package/dist/index.cjs334.js +1 -1
- package/dist/index.cjs334.js.map +1 -1
- package/dist/index.cjs335.js +1 -1
- package/dist/index.cjs335.js.map +1 -1
- package/dist/index.cjs336.js +1 -1
- package/dist/index.cjs336.js.map +1 -1
- package/dist/index.cjs337.js +1 -1
- package/dist/index.cjs337.js.map +1 -1
- package/dist/index.cjs338.js +1 -1
- package/dist/index.cjs338.js.map +1 -1
- package/dist/{index.cjs331.js → index.cjs339.js} +2 -2
- package/dist/{index.cjs331.js.map → index.cjs339.js.map} +1 -1
- package/dist/{index.cjs332.js → index.cjs340.js} +2 -2
- package/dist/{index.cjs332.js.map → index.cjs340.js.map} +1 -1
- package/dist/index.cjs341.js +2 -0
- package/dist/index.cjs341.js.map +1 -0
- package/dist/index.cjs342.js +2 -0
- package/dist/index.cjs342.js.map +1 -0
- package/dist/index.cjs343.js +2 -0
- package/dist/index.cjs343.js.map +1 -0
- package/dist/index.cjs344.js +2 -0
- package/dist/index.cjs344.js.map +1 -0
- package/dist/index.cjs345.js +2 -0
- package/dist/index.cjs345.js.map +1 -0
- package/dist/index.cjs346.js +2 -0
- package/dist/index.cjs346.js.map +1 -0
- package/dist/index.cjs35.js +1 -1
- package/dist/index.cjs350.js +1 -1
- package/dist/index.cjs350.js.map +1 -1
- package/dist/index.cjs351.js +1 -1
- package/dist/index.cjs351.js.map +1 -1
- package/dist/index.cjs352.js +1 -1
- package/dist/index.cjs352.js.map +1 -1
- package/dist/index.cjs353.js +1 -1
- package/dist/index.cjs353.js.map +1 -1
- package/dist/index.cjs354.js +1 -1
- package/dist/index.cjs354.js.map +1 -1
- package/dist/index.cjs355.js +1 -1
- package/dist/index.cjs355.js.map +1 -1
- package/dist/index.cjs356.js +1 -1
- package/dist/index.cjs356.js.map +1 -1
- package/dist/index.cjs357.js +1 -1
- package/dist/index.cjs357.js.map +1 -1
- package/dist/index.cjs358.js +1 -1
- package/dist/index.cjs358.js.map +1 -1
- package/dist/index.cjs359.js +2 -0
- package/dist/index.cjs359.js.map +1 -0
- package/dist/index.cjs360.js +2 -0
- package/dist/index.cjs360.js.map +1 -0
- package/dist/index.cjs362.js +1 -1
- package/dist/index.cjs362.js.map +1 -1
- package/dist/{index.cjs348.js → index.cjs363.js} +1 -1
- package/dist/index.cjs363.js.map +1 -0
- package/dist/index.cjs364.js +1 -1
- package/dist/index.cjs364.js.map +1 -1
- package/dist/index.cjs365.js +1 -1
- package/dist/index.cjs365.js.map +1 -1
- package/dist/index.cjs366.js +1 -1
- package/dist/index.cjs366.js.map +1 -1
- package/dist/index.cjs367.js +1 -1
- package/dist/index.cjs367.js.map +1 -1
- package/dist/index.cjs368.js +1 -1
- package/dist/index.cjs368.js.map +1 -1
- package/dist/index.cjs369.js +1 -1
- package/dist/index.cjs369.js.map +1 -1
- package/dist/index.cjs37.js +1 -1
- package/dist/index.cjs370.js +1 -1
- package/dist/index.cjs370.js.map +1 -1
- package/dist/index.cjs371.js +1 -1
- package/dist/index.cjs371.js.map +1 -1
- package/dist/index.cjs372.js +1 -1
- package/dist/index.cjs372.js.map +1 -1
- package/dist/index.cjs373.js +1 -1
- package/dist/index.cjs373.js.map +1 -1
- package/dist/index.cjs374.js +1 -1
- package/dist/index.cjs374.js.map +1 -1
- package/dist/index.cjs375.js +4 -1
- package/dist/index.cjs375.js.map +1 -1
- package/dist/index.cjs376.js +1 -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 -4
- package/dist/index.cjs379.js.map +1 -1
- package/dist/index.cjs380.js +38 -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 -1
- package/dist/index.cjs383.js.map +1 -1
- package/dist/index.cjs384.js +1 -1
- package/dist/index.cjs385.js +1 -38
- package/dist/index.cjs385.js.map +1 -1
- package/dist/index.cjs386.js +1 -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.cjs390.js +1 -1
- package/dist/index.cjs390.js.map +1 -1
- package/dist/index.cjs393.js +1 -1
- package/dist/index.cjs393.js.map +1 -1
- package/dist/index.cjs394.js +1 -1
- package/dist/index.cjs394.js.map +1 -1
- package/dist/index.cjs395.js +1 -1
- package/dist/index.cjs395.js.map +1 -1
- package/dist/index.cjs396.js +1 -1
- package/dist/index.cjs396.js.map +1 -1
- package/dist/index.cjs397.js +1 -1
- package/dist/index.cjs397.js.map +1 -1
- package/dist/index.cjs399.js +1 -1
- package/dist/index.cjs399.js.map +1 -1
- package/dist/index.cjs47.js +1 -1
- package/dist/index.cjs68.js +1 -1
- package/dist/index.cjs69.js +1 -1
- package/dist/index.cjs94.js +1 -1
- package/dist/index.cjs94.js.map +1 -1
- package/dist/index.cjs98.js +1 -1
- package/dist/index.cjs98.js.map +1 -1
- package/dist/index.cjs99.js +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.es102.js +17 -17
- package/dist/index.es154.js +1 -1
- package/dist/index.es156.js +2 -2
- package/dist/index.es157.js +24 -24
- package/dist/index.es16.js +21 -21
- package/dist/index.es164.js +1 -1
- package/dist/index.es18.js +22 -22
- package/dist/index.es199.js +16 -16
- package/dist/index.es199.js.map +1 -1
- package/dist/index.es203.js +24 -24
- package/dist/index.es204.js +10 -10
- package/dist/index.es210.js +1 -1
- package/dist/index.es221.js +14 -14
- package/dist/index.es24.js +4 -4
- package/dist/index.es248.js +26 -26
- package/dist/index.es25.js +38 -38
- package/dist/index.es250.js +22 -22
- package/dist/index.es250.js.map +1 -1
- package/dist/index.es26.js +21 -21
- package/dist/index.es27.js +2 -2
- package/dist/index.es287.js +13 -13
- package/dist/index.es301.js +20 -20
- package/dist/index.es302.js +92 -92
- package/dist/index.es308.js +14 -14
- package/dist/index.es309.js +12 -12
- package/dist/index.es310.js +11 -11
- package/dist/index.es311.js +1 -1
- package/dist/index.es311.js.map +1 -1
- package/dist/index.es312.js +84 -84
- package/dist/index.es312.js.map +1 -1
- package/dist/index.es313.js +9 -9
- package/dist/index.es313.js.map +1 -1
- package/dist/index.es318.js +9 -9
- package/dist/index.es319.js +1 -1
- package/dist/index.es32.js +4 -4
- package/dist/index.es320.js +2 -29
- package/dist/index.es320.js.map +1 -1
- package/dist/{index.es324.js → index.es321.js} +1 -1
- package/dist/index.es321.js.map +1 -0
- package/dist/index.es333.js +5 -67
- package/dist/index.es333.js.map +1 -1
- package/dist/index.es334.js +26 -32
- package/dist/index.es334.js.map +1 -1
- package/dist/index.es335.js +65 -12
- package/dist/index.es335.js.map +1 -1
- package/dist/index.es336.js +11 -9
- package/dist/index.es336.js.map +1 -1
- package/dist/index.es337.js +30 -50
- package/dist/index.es337.js.map +1 -1
- package/dist/index.es338.js +120 -42
- package/dist/index.es338.js.map +1 -1
- package/dist/{index.es331.js → index.es339.js} +4 -4
- package/dist/{index.es331.js.map → index.es339.js.map} +1 -1
- package/dist/{index.es332.js → index.es340.js} +3 -3
- package/dist/{index.es332.js.map → index.es340.js.map} +1 -1
- package/dist/index.es341.js +72 -0
- package/dist/index.es341.js.map +1 -0
- package/dist/index.es342.js +36 -0
- package/dist/index.es342.js.map +1 -0
- package/dist/index.es343.js +18 -0
- package/dist/index.es343.js.map +1 -0
- package/dist/index.es344.js +12 -0
- package/dist/index.es344.js.map +1 -0
- package/dist/index.es345.js +53 -0
- package/dist/index.es345.js.map +1 -0
- package/dist/index.es346.js +50 -0
- package/dist/index.es346.js.map +1 -0
- package/dist/index.es35.js +14 -14
- package/dist/index.es350.js +10 -45
- package/dist/index.es350.js.map +1 -1
- package/dist/index.es351.js +41 -7
- package/dist/index.es351.js.map +1 -1
- package/dist/index.es352.js +44 -123
- package/dist/index.es352.js.map +1 -1
- package/dist/index.es353.js +7 -14
- package/dist/index.es353.js.map +1 -1
- package/dist/index.es354.js +116 -126
- package/dist/index.es354.js.map +1 -1
- package/dist/index.es355.js +13 -216
- package/dist/index.es355.js.map +1 -1
- package/dist/index.es356.js +134 -13
- package/dist/index.es356.js.map +1 -1
- package/dist/index.es357.js +203 -163
- package/dist/index.es357.js.map +1 -1
- package/dist/index.es358.js +14 -4
- package/dist/index.es358.js.map +1 -1
- package/dist/index.es359.js +181 -0
- package/dist/index.es359.js.map +1 -0
- package/dist/index.es360.js +7 -0
- package/dist/index.es360.js.map +1 -0
- package/dist/index.es362.js +4 -42
- package/dist/index.es362.js.map +1 -1
- package/dist/{index.es348.js → index.es363.js} +1 -1
- package/dist/index.es363.js.map +1 -0
- package/dist/index.es364.js +12 -29
- package/dist/index.es364.js.map +1 -1
- package/dist/index.es365.js +12 -4
- package/dist/index.es365.js.map +1 -1
- package/dist/index.es366.js +204 -10
- package/dist/index.es366.js.map +1 -1
- package/dist/index.es367.js +22 -12
- package/dist/index.es367.js.map +1 -1
- package/dist/index.es368.js +391 -10
- package/dist/index.es368.js.map +1 -1
- package/dist/index.es369.js +22 -202
- package/dist/index.es369.js.map +1 -1
- package/dist/index.es37.js +6 -6
- package/dist/index.es370.js +27 -20
- package/dist/index.es370.js.map +1 -1
- package/dist/index.es371.js +5 -393
- package/dist/index.es371.js.map +1 -1
- package/dist/index.es372.js +5 -42
- package/dist/index.es372.js.map +1 -1
- package/dist/index.es373.js +3 -25
- package/dist/index.es373.js.map +1 -1
- package/dist/index.es374.js +24 -29
- package/dist/index.es374.js.map +1 -1
- package/dist/index.es375.js +110 -5
- package/dist/index.es375.js.map +1 -1
- package/dist/index.es376.js +16 -5
- package/dist/index.es376.js.map +1 -1
- package/dist/index.es377.js +523 -3
- package/dist/index.es377.js.map +1 -1
- package/dist/index.es378.js +126 -23
- package/dist/index.es378.js.map +1 -1
- package/dist/index.es379.js +124 -105
- package/dist/index.es379.js.map +1 -1
- package/dist/index.es380.js +68 -15
- package/dist/index.es380.js.map +1 -1
- package/dist/index.es381.js +7 -521
- package/dist/index.es381.js.map +1 -1
- package/dist/index.es382.js +13 -126
- package/dist/index.es382.js.map +1 -1
- package/dist/index.es383.js +60 -127
- package/dist/index.es383.js.map +1 -1
- package/dist/index.es384.js +1 -1
- package/dist/index.es385.js +4 -69
- package/dist/index.es385.js.map +1 -1
- package/dist/index.es386.js +23 -9
- package/dist/index.es386.js.map +1 -1
- package/dist/index.es387.js +23 -14
- package/dist/index.es387.js.map +1 -1
- package/dist/index.es388.js +12 -61
- package/dist/index.es388.js.map +1 -1
- package/dist/index.es389.js +27 -3
- package/dist/index.es389.js.map +1 -1
- package/dist/index.es390.js +5 -23
- package/dist/index.es390.js.map +1 -1
- package/dist/index.es393.js +53 -5
- package/dist/index.es393.js.map +1 -1
- package/dist/index.es394.js +26 -22
- package/dist/index.es394.js.map +1 -1
- package/dist/index.es395.js +5 -51
- package/dist/index.es395.js.map +1 -1
- package/dist/index.es396.js +8 -26
- package/dist/index.es396.js.map +1 -1
- package/dist/index.es397.js +34 -7
- package/dist/index.es397.js.map +1 -1
- package/dist/index.es399.js +8 -33
- package/dist/index.es399.js.map +1 -1
- package/dist/index.es47.js +2 -2
- package/dist/index.es5.js +4 -4
- package/dist/index.es65.js +44 -44
- package/dist/index.es68.js +25 -25
- package/dist/index.es69.js +23 -23
- package/dist/index.es94.js +19 -17
- package/dist/index.es94.js.map +1 -1
- package/dist/index.es98.js +21 -21
- package/dist/index.es98.js.map +1 -1
- package/dist/index.es99.js +2 -2
- package/package.json +1 -1
- package/dist/index.cjs323.js.map +0 -1
- package/dist/index.cjs324.js +0 -2
- package/dist/index.cjs324.js.map +0 -1
- package/dist/index.cjs325.js +0 -2
- package/dist/index.cjs325.js.map +0 -1
- package/dist/index.cjs326.js +0 -2
- package/dist/index.cjs326.js.map +0 -1
- package/dist/index.cjs327.js +0 -2
- package/dist/index.cjs327.js.map +0 -1
- package/dist/index.cjs328.js +0 -2
- package/dist/index.cjs328.js.map +0 -1
- package/dist/index.cjs329.js +0 -2
- package/dist/index.cjs329.js.map +0 -1
- package/dist/index.cjs330.js +0 -2
- package/dist/index.cjs330.js.map +0 -1
- package/dist/index.cjs348.js.map +0 -1
- package/dist/index.cjs349.js +0 -2
- package/dist/index.cjs349.js.map +0 -1
- package/dist/index.cjs391.js +0 -2
- package/dist/index.cjs391.js.map +0 -1
- package/dist/index.cjs392.js +0 -2
- package/dist/index.cjs392.js.map +0 -1
- package/dist/index.cjs398.js +0 -2
- package/dist/index.cjs398.js.map +0 -1
- package/dist/index.cjs401.js +0 -2
- package/dist/index.cjs401.js.map +0 -1
- package/dist/index.es323.js +0 -5
- package/dist/index.es323.js.map +0 -1
- package/dist/index.es324.js.map +0 -1
- package/dist/index.es325.js +0 -10
- package/dist/index.es325.js.map +0 -1
- package/dist/index.es326.js +0 -30
- package/dist/index.es326.js.map +0 -1
- package/dist/index.es327.js +0 -71
- package/dist/index.es327.js.map +0 -1
- package/dist/index.es328.js +0 -14
- package/dist/index.es328.js.map +0 -1
- package/dist/index.es329.js +0 -33
- package/dist/index.es329.js.map +0 -1
- package/dist/index.es330.js +0 -128
- package/dist/index.es330.js.map +0 -1
- package/dist/index.es348.js.map +0 -1
- package/dist/index.es349.js +0 -49
- package/dist/index.es349.js.map +0 -1
- package/dist/index.es391.js +0 -16
- package/dist/index.es391.js.map +0 -1
- package/dist/index.es392.js +0 -31
- package/dist/index.es392.js.map +0 -1
- package/dist/index.es398.js +0 -12
- package/dist/index.es398.js.map +0 -1
- package/dist/index.es401.js +0 -12
- package/dist/index.es401.js.map +0 -1
package/dist/index.cjs102.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./sections/WhatDoYouNeed/WhatDoYouNeed.css');const e=require("./index.cjs173.js");;/* empty css */const
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./sections/WhatDoYouNeed/WhatDoYouNeed.css');const e=require("./index.cjs173.js");;/* empty css */const r=require("./index.cjs46.js"),c=require("./index.cjs10.js"),d=require("./index.cjs25.js"),l=({title:o,description:s,links:t,asLink:u="a"})=>e.jsxRuntimeExports.jsxs(r.Section,{className:"base-col ui-what-do-you-need-section",children:[e.jsxRuntimeExports.jsxs(c.Col,{className:"ui-what-do-you-need-content",children:[e.jsxRuntimeExports.jsx(r.Section.Title,{fs:"2",children:o}),s&&e.jsxRuntimeExports.jsx(r.Section.Description,{children:s})]}),e.jsxRuntimeExports.jsx("ul",{role:"list","aria-label":`Lista di ${o}`,className:"list-style-none ui-what-do-you-need-links",children:t==null?void 0:t.map(({link:i,title:a,isNewTab:n},x)=>e.jsxRuntimeExports.jsx("li",{children:e.jsxRuntimeExports.jsx(d.Button,{asLink:u,href:i,size:"2",variant:x>0?"secondary":"primary",target:n?"_blank":void 0,rel:n?"noopener noreferrer":void 0,children:a})},i))})]});exports.WhatDoYouNeed=l;
|
2
2
|
//# sourceMappingURL=index.cjs102.js.map
|
package/dist/index.cjs16.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/navigations/Footer/Footer.css');const e=require("./index.cjs173.js"),
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/navigations/Footer/Footer.css');const e=require("./index.cjs173.js"),h=require("./index.cjs6.js"),p=require("./index.cjs193.js");;/* empty css */const E=require("./index.cjs175.js"),f=require("./index.cjs117.js"),R=require("./index.cjs115.js"),N=require("./index.cjs114.js"),b=require("./index.cjs118.js"),c=n=>{if(!n)return!1;try{const s=new URL(n),x=new URL(window.location.href);return s.hostname!==x.hostname}catch(s){return console.log(s),!0}},q=({footerLinks:n,version:s,asLink:x="a",className:m,additionalLogo:o,settingsFooterLinks:r={FseMS:"",FseMEF:"",FseDGT:"",FseUE:"",externalLink:""}})=>{const t=x,j=[f.FseMS,R.FseMEF,N.FseDGT,b.FseUE];return e.jsxRuntimeExports.jsx("footer",{className:E.clsx("bg-slate-20","ui-footer",m),children:e.jsxRuntimeExports.jsxs(h.Container,{children:[e.jsxRuntimeExports.jsxs("section",{className:"ui-footer-institution-logos",children:[j.map((l,a)=>{const d=["FseMS","FseMEF","FseDGT","FseUE"][a],i=(r==null?void 0:r[d])||"#",u=c(i);return e.jsxRuntimeExports.jsx(t,{href:i,target:u?"_blank":"_self",rel:u?"noopener noreferrer":void 0,children:e.jsxRuntimeExports.jsx(l,{className:"ui-footer-logo"})},a)}),o&&e.jsxRuntimeExports.jsx(t,{href:r==null?void 0:r.externalLink,target:c((r==null?void 0:r.externalLink)||"")?"_blank":"_self",rel:c((r==null?void 0:r.externalLink)||"")?"noopener noreferrer":void 0,children:e.jsxRuntimeExports.jsx("img",{src:o,alt:"Additional Logo",className:"ui-footer-logo"})})]}),e.jsxRuntimeExports.jsx(p.Divider,{}),e.jsxRuntimeExports.jsxs("section",{className:"ui-footer-links-container",children:[e.jsxRuntimeExports.jsx("h3",{className:"visually-hidden",children:"Sezione Link Utili"}),e.jsxRuntimeExports.jsx("ul",{className:"ui-footer-links-list",role:"list",children:n==null?void 0:n.map((l,a)=>e.jsxRuntimeExports.jsx("li",{children:e.jsxRuntimeExports.jsx(t,{href:l.href,target:l.target??"_self",className:"text-white fs-6 fw-semibold text-decoration-underline","aria-label":`Vai alla pagina: ${l.label}`,rel:l.target==="_blank"?"noopener noreferrer":void 0,children:l.label})},a))}),e.jsxRuntimeExports.jsx("span",{className:"text-white fw-normal ui-footer-version",children:s})]})]})})};exports.Footer=q;
|
2
2
|
//# sourceMappingURL=index.cjs16.js.map
|
package/dist/index.cjs18.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/navigations/HeaderPostLogin/HeaderPostLogin.css');const e=require("./index.cjs173.js"),r=require("./index.cjs24.js"),n=require("./index.cjs175.js"),
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/navigations/HeaderPostLogin/HeaderPostLogin.css');const e=require("./index.cjs173.js"),r=require("./index.cjs24.js"),n=require("./index.cjs175.js"),o=require("./index.cjs193.js");;/* empty css */const a=require("./index.cjs10.js"),g=require("./index.cjs9.js"),v=({shortTitle:l,region:x,asLink:c="a",navigationItems:t,generalClassName:u,navItemsClassName:d})=>{const p=c,j=r.LOGOS.nazionale,m=r.LOGOS[x];return e.jsxRuntimeExports.jsxs("nav",{"aria-label":"Menu di navigazione",className:n.clsx("ui-hpl-menu",u),style:{"--navbar-elements":t.length??0},children:[e.jsxRuntimeExports.jsxs(a.Col,{pt:"x80",px:"x40",gap:"x16",justifyContent:"center",className:"position-relative",children:[e.jsxRuntimeExports.jsxs(g.Row,{gap:"x24",alignItems:"center",justifyContent:"center",children:[e.jsxRuntimeExports.jsx(j,{width:27,height:44}),e.jsxRuntimeExports.jsx(o.Divider,{bg:"border-divider",direction:"vertical"}),e.jsxRuntimeExports.jsx(m,{width:44,height:44})]}),e.jsxRuntimeExports.jsx("h3",{className:"fs-custom fw-normal text-slate-20 text-align-center",children:l})]}),e.jsxRuntimeExports.jsx("div",{className:"p-x40",children:e.jsxRuntimeExports.jsx(o.Divider,{bg:"border-divider"})}),e.jsxRuntimeExports.jsx(a.Col,{as:"ul",gap:"x12",className:n.clsx("list-style-none ui-hpl-list",d),role:"list",children:t.map((s,h)=>{const i=s==null?void 0:s.icon;return e.jsxRuntimeExports.jsx("li",{className:n.clsx("ui-hpl-list-item",s.active&&"active"),children:e.jsxRuntimeExports.jsxs(p,{href:s.href,"aria-label":`Vai alla pagina ${s.label}`,className:n.clsx("text-decoration-none text-primary fs-custom base-row gap-x16 align-items-center pr-x8",s.active?"fw-bold":"fw-normal"),target:s.isNewTab?"_blank":void 0,rel:s.isNewTab?"noopener noreferrer":void 0,children:[i&&e.jsxRuntimeExports.jsx(i,{color:"primary",filled:s.active}),e.jsxRuntimeExports.jsx("span",{className:"ui-hpl-text",children:s.label}),s.active&&e.jsxRuntimeExports.jsx("span",{className:"visually-hidden",children:"Attivo"})]})},h)})})]})};exports.HeaderPostLogin=v;
|
2
2
|
//# sourceMappingURL=index.cjs18.js.map
|
package/dist/index.cjs199.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const q=require("react"),x=require("./index.cjs307.js"),L=require("./index.cjs308.js"),$=require("./index.cjs309.js"),H=require("./index.cjs310.js"),K=require("./index.cjs311.js"),p=require("./index.cjs312.js"),b=require("./index.cjs313.js"),a=require("./index.cjs173.js");function U(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const o in e)if(o!=="default"){const r=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(n,o,r.get?r:{enumerable:!0,get:()=>e[o]})}}return n.default=e,Object.freeze(n)}const d=U(q);var
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const q=require("react"),x=require("./index.cjs307.js"),L=require("./index.cjs308.js"),$=require("./index.cjs309.js"),H=require("./index.cjs310.js"),K=require("./index.cjs311.js"),p=require("./index.cjs312.js"),b=require("./index.cjs313.js"),a=require("./index.cjs173.js");function U(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const o in e)if(o!=="default"){const r=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(n,o,r.get?r:{enumerable:!0,get:()=>e[o]})}}return n.default=e,Object.freeze(n)}const d=U(q);var D="DropdownMenu",[B,F]=$.createContextScope(D,[p.createMenuScope]),s=p.createMenuScope(),[W,h]=B(D),f=e=>{const{__scopeDropdownMenu:n,children:o,dir:r,open:t,defaultOpen:i,onOpenChange:w,modal:u=!0}=e,c=s(n),M=d.useRef(null),[l=!1,m]=H.useControllableState({prop:t,defaultProp:i,onChange:w});return a.jsxRuntimeExports.jsx(W,{scope:n,triggerId:b.useId(),triggerRef:M,contentId:b.useId(),open:l,onOpenChange:m,onOpenToggle:d.useCallback(()=>m(k=>!k),[m]),modal:u,children:a.jsxRuntimeExports.jsx(p.Root,{...c,open:l,onOpenChange:m,dir:r,modal:u,children:o})})};f.displayName=D;var I="DropdownMenuTrigger",g=d.forwardRef((e,n)=>{const{__scopeDropdownMenu:o,disabled:r=!1,...t}=e,i=h(I,o),w=s(o);return a.jsxRuntimeExports.jsx(p.Anchor,{asChild:!0,...w,children:a.jsxRuntimeExports.jsx(K.Primitive.button,{type:"button",id:i.triggerId,"aria-haspopup":"menu","aria-expanded":i.open,"aria-controls":i.open?i.contentId:void 0,"data-state":i.open?"open":"closed","data-disabled":r?"":void 0,disabled:r,...t,ref:L.composeRefs(n,i.triggerRef),onPointerDown:x.composeEventHandlers(e.onPointerDown,u=>{!r&&u.button===0&&u.ctrlKey===!1&&(i.onOpenToggle(),i.open||u.preventDefault())}),onKeyDown:x.composeEventHandlers(e.onKeyDown,u=>{r||(["Enter"," "].includes(u.key)&&i.onOpenToggle(),u.key==="ArrowDown"&&i.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(u.key)&&u.preventDefault())})})})});g.displayName=I;var z="DropdownMenuPortal",v=e=>{const{__scopeDropdownMenu:n,...o}=e,r=s(n);return a.jsxRuntimeExports.jsx(p.Portal,{...r,...o})};v.displayName=z;var S="DropdownMenuContent",R=d.forwardRef((e,n)=>{const{__scopeDropdownMenu:o,...r}=e,t=h(S,o),i=s(o),w=d.useRef(!1);return a.jsxRuntimeExports.jsx(p.Content,{id:t.contentId,"aria-labelledby":t.triggerId,...i,...r,ref:n,onCloseAutoFocus:x.composeEventHandlers(e.onCloseAutoFocus,u=>{var c;w.current||(c=t.triggerRef.current)==null||c.focus(),w.current=!1,u.preventDefault()}),onInteractOutside:x.composeEventHandlers(e.onInteractOutside,u=>{const c=u.detail.originalEvent,M=c.button===0&&c.ctrlKey===!0,l=c.button===2||M;(!t.modal||l)&&(w.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});R.displayName=S;var X="DropdownMenuGroup",_=d.forwardRef((e,n)=>{const{__scopeDropdownMenu:o,...r}=e,t=s(o);return a.jsxRuntimeExports.jsx(p.Group,{...t,...r,ref:n})});_.displayName=X;var J="DropdownMenuLabel",j=d.forwardRef((e,n)=>{const{__scopeDropdownMenu:o,...r}=e,t=s(o);return a.jsxRuntimeExports.jsx(p.Label,{...t,...r,ref:n})});j.displayName=J;var Q="DropdownMenuItem",E=d.forwardRef((e,n)=>{const{__scopeDropdownMenu:o,...r}=e,t=s(o);return a.jsxRuntimeExports.jsx(p.Item,{...t,...r,ref:n})});E.displayName=Q;var V="DropdownMenuCheckboxItem",N=d.forwardRef((e,n)=>{const{__scopeDropdownMenu:o,...r}=e,t=s(o);return a.jsxRuntimeExports.jsx(p.CheckboxItem,{...t,...r,ref:n})});N.displayName=V;var Y="DropdownMenuRadioGroup",C=d.forwardRef((e,n)=>{const{__scopeDropdownMenu:o,...r}=e,t=s(o);return a.jsxRuntimeExports.jsx(p.RadioGroup,{...t,...r,ref:n})});C.displayName=Y;var Z="DropdownMenuRadioItem",P=d.forwardRef((e,n)=>{const{__scopeDropdownMenu:o,...r}=e,t=s(o);return a.jsxRuntimeExports.jsx(p.RadioItem,{...t,...r,ref:n})});P.displayName=Z;var ee="DropdownMenuItemIndicator",y=d.forwardRef((e,n)=>{const{__scopeDropdownMenu:o,...r}=e,t=s(o);return a.jsxRuntimeExports.jsx(p.ItemIndicator,{...t,...r,ref:n})});y.displayName=ee;var oe="DropdownMenuSeparator",A=d.forwardRef((e,n)=>{const{__scopeDropdownMenu:o,...r}=e,t=s(o);return a.jsxRuntimeExports.jsx(p.Separator,{...t,...r,ref:n})});A.displayName=oe;var re="DropdownMenuArrow",O=d.forwardRef((e,n)=>{const{__scopeDropdownMenu:o,...r}=e,t=s(o);return a.jsxRuntimeExports.jsx(p.Arrow,{...t,...r,ref:n})});O.displayName=re;var ne="DropdownMenuSubTrigger",T=d.forwardRef((e,n)=>{const{__scopeDropdownMenu:o,...r}=e,t=s(o);return a.jsxRuntimeExports.jsx(p.SubTrigger,{...t,...r,ref:n})});T.displayName=ne;var te="DropdownMenuSubContent",G=d.forwardRef((e,n)=>{const{__scopeDropdownMenu:o,...r}=e,t=s(o);return a.jsxRuntimeExports.jsx(p.SubContent,{...t,...r,ref:n,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});G.displayName=te;var ae=f,pe=g,de=v,ue=R,se=_,ie=E;exports.Content=ue;exports.DropdownMenu=f;exports.DropdownMenuArrow=O;exports.DropdownMenuCheckboxItem=N;exports.DropdownMenuContent=R;exports.DropdownMenuGroup=_;exports.DropdownMenuItem=E;exports.DropdownMenuItemIndicator=y;exports.DropdownMenuLabel=j;exports.DropdownMenuPortal=v;exports.DropdownMenuRadioGroup=C;exports.DropdownMenuRadioItem=P;exports.DropdownMenuSeparator=A;exports.DropdownMenuSubContent=G;exports.DropdownMenuSubTrigger=T;exports.DropdownMenuTrigger=g;exports.Group=se;exports.Item=ie;exports.Portal=de;exports.Root=ae;exports.Trigger=pe;exports.createDropdownMenuScope=F;
|
2
2
|
//# sourceMappingURL=index.cjs199.js.map
|
package/dist/index.cjs199.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.cjs199.js","sources":["../node_modules/@radix-ui/react-dropdown-menu/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// packages/react/dropdown-menu/src/DropdownMenu.tsx\nimport * as React from \"react\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { composeRefs } from \"@radix-ui/react-compose-refs\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { useControllableState } from \"@radix-ui/react-use-controllable-state\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport * as MenuPrimitive from \"@radix-ui/react-menu\";\nimport { createMenuScope } from \"@radix-ui/react-menu\";\nimport { useId } from \"@radix-ui/react-id\";\nimport { jsx } from \"react/jsx-runtime\";\nvar DROPDOWN_MENU_NAME = \"DropdownMenu\";\nvar [createDropdownMenuContext, createDropdownMenuScope] = createContextScope(\n DROPDOWN_MENU_NAME,\n [createMenuScope]\n);\nvar useMenuScope = createMenuScope();\nvar [DropdownMenuProvider, useDropdownMenuContext] = createDropdownMenuContext(DROPDOWN_MENU_NAME);\nvar DropdownMenu = (props) => {\n const {\n __scopeDropdownMenu,\n children,\n dir,\n open: openProp,\n defaultOpen,\n onOpenChange,\n modal = true\n } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n const triggerRef = React.useRef(null);\n const [open = false, setOpen] = useControllableState({\n prop: openProp,\n defaultProp: defaultOpen,\n onChange: onOpenChange\n });\n return /* @__PURE__ */ jsx(\n DropdownMenuProvider,\n {\n scope: __scopeDropdownMenu,\n triggerId: useId(),\n triggerRef,\n contentId: useId(),\n open,\n onOpenChange: setOpen,\n onOpenToggle: React.useCallback(() => setOpen((prevOpen) => !prevOpen), [setOpen]),\n modal,\n children: /* @__PURE__ */ jsx(MenuPrimitive.Root, { ...menuScope, open, onOpenChange: setOpen, dir, modal, children })\n }\n );\n};\nDropdownMenu.displayName = DROPDOWN_MENU_NAME;\nvar TRIGGER_NAME = \"DropdownMenuTrigger\";\nvar DropdownMenuTrigger = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDropdownMenu, disabled = false, ...triggerProps } = props;\n const context = useDropdownMenuContext(TRIGGER_NAME, __scopeDropdownMenu);\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.Anchor, { asChild: true, ...menuScope, children: /* @__PURE__ */ jsx(\n Primitive.button,\n {\n type: \"button\",\n id: context.triggerId,\n \"aria-haspopup\": \"menu\",\n \"aria-expanded\": context.open,\n \"aria-controls\": context.open ? context.contentId : void 0,\n \"data-state\": context.open ? \"open\" : \"closed\",\n \"data-disabled\": disabled ? \"\" : void 0,\n disabled,\n ...triggerProps,\n ref: composeRefs(forwardedRef, context.triggerRef),\n onPointerDown: composeEventHandlers(props.onPointerDown, (event) => {\n if (!disabled && event.button === 0 && event.ctrlKey === false) {\n context.onOpenToggle();\n if (!context.open) event.preventDefault();\n }\n }),\n onKeyDown: composeEventHandlers(props.onKeyDown, (event) => {\n if (disabled) return;\n if ([\"Enter\", \" \"].includes(event.key)) context.onOpenToggle();\n if (event.key === \"ArrowDown\") context.onOpenChange(true);\n if ([\"Enter\", \" \", \"ArrowDown\"].includes(event.key)) event.preventDefault();\n })\n }\n ) });\n }\n);\nDropdownMenuTrigger.displayName = TRIGGER_NAME;\nvar PORTAL_NAME = \"DropdownMenuPortal\";\nvar DropdownMenuPortal = (props) => {\n const { __scopeDropdownMenu, ...portalProps } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.Portal, { ...menuScope, ...portalProps });\n};\nDropdownMenuPortal.displayName = PORTAL_NAME;\nvar CONTENT_NAME = \"DropdownMenuContent\";\nvar DropdownMenuContent = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDropdownMenu, ...contentProps } = props;\n const context = useDropdownMenuContext(CONTENT_NAME, __scopeDropdownMenu);\n const menuScope = useMenuScope(__scopeDropdownMenu);\n const hasInteractedOutsideRef = React.useRef(false);\n return /* @__PURE__ */ jsx(\n MenuPrimitive.Content,\n {\n id: context.contentId,\n \"aria-labelledby\": context.triggerId,\n ...menuScope,\n ...contentProps,\n ref: forwardedRef,\n onCloseAutoFocus: composeEventHandlers(props.onCloseAutoFocus, (event) => {\n if (!hasInteractedOutsideRef.current) context.triggerRef.current?.focus();\n hasInteractedOutsideRef.current = false;\n event.preventDefault();\n }),\n onInteractOutside: composeEventHandlers(props.onInteractOutside, (event) => {\n const originalEvent = event.detail.originalEvent;\n const ctrlLeftClick = originalEvent.button === 0 && originalEvent.ctrlKey === true;\n const isRightClick = originalEvent.button === 2 || ctrlLeftClick;\n if (!context.modal || isRightClick) hasInteractedOutsideRef.current = true;\n }),\n style: {\n ...props.style,\n // re-namespace exposed content custom properties\n ...{\n \"--radix-dropdown-menu-content-transform-origin\": \"var(--radix-popper-transform-origin)\",\n \"--radix-dropdown-menu-content-available-width\": \"var(--radix-popper-available-width)\",\n \"--radix-dropdown-menu-content-available-height\": \"var(--radix-popper-available-height)\",\n \"--radix-dropdown-menu-trigger-width\": \"var(--radix-popper-anchor-width)\",\n \"--radix-dropdown-menu-trigger-height\": \"var(--radix-popper-anchor-height)\"\n }\n }\n }\n );\n }\n);\nDropdownMenuContent.displayName = CONTENT_NAME;\nvar GROUP_NAME = \"DropdownMenuGroup\";\nvar DropdownMenuGroup = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDropdownMenu, ...groupProps } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.Group, { ...menuScope, ...groupProps, ref: forwardedRef });\n }\n);\nDropdownMenuGroup.displayName = GROUP_NAME;\nvar LABEL_NAME = \"DropdownMenuLabel\";\nvar DropdownMenuLabel = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDropdownMenu, ...labelProps } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.Label, { ...menuScope, ...labelProps, ref: forwardedRef });\n }\n);\nDropdownMenuLabel.displayName = LABEL_NAME;\nvar ITEM_NAME = \"DropdownMenuItem\";\nvar DropdownMenuItem = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDropdownMenu, ...itemProps } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.Item, { ...menuScope, ...itemProps, ref: forwardedRef });\n }\n);\nDropdownMenuItem.displayName = ITEM_NAME;\nvar CHECKBOX_ITEM_NAME = \"DropdownMenuCheckboxItem\";\nvar DropdownMenuCheckboxItem = React.forwardRef((props, forwardedRef) => {\n const { __scopeDropdownMenu, ...checkboxItemProps } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.CheckboxItem, { ...menuScope, ...checkboxItemProps, ref: forwardedRef });\n});\nDropdownMenuCheckboxItem.displayName = CHECKBOX_ITEM_NAME;\nvar RADIO_GROUP_NAME = \"DropdownMenuRadioGroup\";\nvar DropdownMenuRadioGroup = React.forwardRef((props, forwardedRef) => {\n const { __scopeDropdownMenu, ...radioGroupProps } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.RadioGroup, { ...menuScope, ...radioGroupProps, ref: forwardedRef });\n});\nDropdownMenuRadioGroup.displayName = RADIO_GROUP_NAME;\nvar RADIO_ITEM_NAME = \"DropdownMenuRadioItem\";\nvar DropdownMenuRadioItem = React.forwardRef((props, forwardedRef) => {\n const { __scopeDropdownMenu, ...radioItemProps } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.RadioItem, { ...menuScope, ...radioItemProps, ref: forwardedRef });\n});\nDropdownMenuRadioItem.displayName = RADIO_ITEM_NAME;\nvar INDICATOR_NAME = \"DropdownMenuItemIndicator\";\nvar DropdownMenuItemIndicator = React.forwardRef((props, forwardedRef) => {\n const { __scopeDropdownMenu, ...itemIndicatorProps } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.ItemIndicator, { ...menuScope, ...itemIndicatorProps, ref: forwardedRef });\n});\nDropdownMenuItemIndicator.displayName = INDICATOR_NAME;\nvar SEPARATOR_NAME = \"DropdownMenuSeparator\";\nvar DropdownMenuSeparator = React.forwardRef((props, forwardedRef) => {\n const { __scopeDropdownMenu, ...separatorProps } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.Separator, { ...menuScope, ...separatorProps, ref: forwardedRef });\n});\nDropdownMenuSeparator.displayName = SEPARATOR_NAME;\nvar ARROW_NAME = \"DropdownMenuArrow\";\nvar DropdownMenuArrow = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDropdownMenu, ...arrowProps } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.Arrow, { ...menuScope, ...arrowProps, ref: forwardedRef });\n }\n);\nDropdownMenuArrow.displayName = ARROW_NAME;\nvar DropdownMenuSub = (props) => {\n const { __scopeDropdownMenu, children, open: openProp, onOpenChange, defaultOpen } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n const [open = false, setOpen] = useControllableState({\n prop: openProp,\n defaultProp: defaultOpen,\n onChange: onOpenChange\n });\n return /* @__PURE__ */ jsx(MenuPrimitive.Sub, { ...menuScope, open, onOpenChange: setOpen, children });\n};\nvar SUB_TRIGGER_NAME = \"DropdownMenuSubTrigger\";\nvar DropdownMenuSubTrigger = React.forwardRef((props, forwardedRef) => {\n const { __scopeDropdownMenu, ...subTriggerProps } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.SubTrigger, { ...menuScope, ...subTriggerProps, ref: forwardedRef });\n});\nDropdownMenuSubTrigger.displayName = SUB_TRIGGER_NAME;\nvar SUB_CONTENT_NAME = \"DropdownMenuSubContent\";\nvar DropdownMenuSubContent = React.forwardRef((props, forwardedRef) => {\n const { __scopeDropdownMenu, ...subContentProps } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(\n MenuPrimitive.SubContent,\n {\n ...menuScope,\n ...subContentProps,\n ref: forwardedRef,\n style: {\n ...props.style,\n // re-namespace exposed content custom properties\n ...{\n \"--radix-dropdown-menu-content-transform-origin\": \"var(--radix-popper-transform-origin)\",\n \"--radix-dropdown-menu-content-available-width\": \"var(--radix-popper-available-width)\",\n \"--radix-dropdown-menu-content-available-height\": \"var(--radix-popper-available-height)\",\n \"--radix-dropdown-menu-trigger-width\": \"var(--radix-popper-anchor-width)\",\n \"--radix-dropdown-menu-trigger-height\": \"var(--radix-popper-anchor-height)\"\n }\n }\n }\n );\n});\nDropdownMenuSubContent.displayName = SUB_CONTENT_NAME;\nvar Root2 = DropdownMenu;\nvar Trigger = DropdownMenuTrigger;\nvar Portal2 = DropdownMenuPortal;\nvar Content2 = DropdownMenuContent;\nvar Group2 = DropdownMenuGroup;\nvar Label2 = DropdownMenuLabel;\nvar Item2 = DropdownMenuItem;\nvar CheckboxItem2 = DropdownMenuCheckboxItem;\nvar RadioGroup2 = DropdownMenuRadioGroup;\nvar RadioItem2 = DropdownMenuRadioItem;\nvar ItemIndicator2 = DropdownMenuItemIndicator;\nvar Separator2 = DropdownMenuSeparator;\nvar Arrow2 = DropdownMenuArrow;\nvar Sub2 = DropdownMenuSub;\nvar SubTrigger2 = DropdownMenuSubTrigger;\nvar SubContent2 = DropdownMenuSubContent;\nexport {\n Arrow2 as Arrow,\n CheckboxItem2 as CheckboxItem,\n Content2 as Content,\n DropdownMenu,\n DropdownMenuArrow,\n DropdownMenuCheckboxItem,\n DropdownMenuContent,\n DropdownMenuGroup,\n DropdownMenuItem,\n DropdownMenuItemIndicator,\n DropdownMenuLabel,\n DropdownMenuPortal,\n DropdownMenuRadioGroup,\n DropdownMenuRadioItem,\n DropdownMenuSeparator,\n DropdownMenuSub,\n DropdownMenuSubContent,\n DropdownMenuSubTrigger,\n DropdownMenuTrigger,\n Group2 as Group,\n Item2 as Item,\n ItemIndicator2 as ItemIndicator,\n Label2 as Label,\n Portal2 as Portal,\n RadioGroup2 as RadioGroup,\n RadioItem2 as RadioItem,\n Root2 as Root,\n Separator2 as Separator,\n Sub2 as Sub,\n SubContent2 as SubContent,\n SubTrigger2 as SubTrigger,\n Trigger,\n createDropdownMenuScope\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["DROPDOWN_MENU_NAME","createDropdownMenuContext","createDropdownMenuScope","createContextScope","createMenuScope","useMenuScope","DropdownMenuProvider","useDropdownMenuContext","DropdownMenu","props","__scopeDropdownMenu","children","dir","openProp","defaultOpen","onOpenChange","modal","menuScope","triggerRef","React","open","setOpen","useControllableState","jsx","useId","prevOpen","MenuPrimitive.Root","TRIGGER_NAME","DropdownMenuTrigger","forwardedRef","disabled","triggerProps","context","MenuPrimitive.Anchor","Primitive","composeRefs","composeEventHandlers","event","PORTAL_NAME","DropdownMenuPortal","portalProps","MenuPrimitive.Portal","CONTENT_NAME","DropdownMenuContent","contentProps","hasInteractedOutsideRef","MenuPrimitive.Content","_a","originalEvent","ctrlLeftClick","isRightClick","GROUP_NAME","DropdownMenuGroup","groupProps","MenuPrimitive.Group","LABEL_NAME","DropdownMenuLabel","labelProps","MenuPrimitive.Label","ITEM_NAME","DropdownMenuItem","itemProps","MenuPrimitive.Item","CHECKBOX_ITEM_NAME","DropdownMenuCheckboxItem","checkboxItemProps","MenuPrimitive.CheckboxItem","RADIO_GROUP_NAME","DropdownMenuRadioGroup","radioGroupProps","MenuPrimitive.RadioGroup","RADIO_ITEM_NAME","DropdownMenuRadioItem","radioItemProps","MenuPrimitive.RadioItem","INDICATOR_NAME","DropdownMenuItemIndicator","itemIndicatorProps","MenuPrimitive.ItemIndicator","SEPARATOR_NAME","DropdownMenuSeparator","separatorProps","MenuPrimitive.Separator","ARROW_NAME","DropdownMenuArrow","arrowProps","MenuPrimitive.Arrow","SUB_TRIGGER_NAME","DropdownMenuSubTrigger","subTriggerProps","MenuPrimitive.SubTrigger","SUB_CONTENT_NAME","DropdownMenuSubContent","subContentProps","MenuPrimitive.SubContent","Root2","Trigger","Portal2","Content2","Group2","Item2"],"mappings":"2nBAaA,IAAIA,EAAqB,eACrB,CAACC,EAA2BC,CAAuB,EAAIC,EAAkB,mBAC3EH,EACA,CAACI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B,EAClD,OAAuBa,EAAG,kBAAA,IACxBuE,EAAwB,WACxB,CACE,GAAG7E,EACH,GAAG4E,EACH,IAAKhE,EACL,MAAO,CACL,GAAGpB,EAAM,MAGP,iDAAkD,uCAClD,gDAAiD,sCACjD,iDAAkD,uCAClD,sCAAuC,mCACvC,uCAAwC,mCAElD,CACA,CACG,CACH,CAAC,EACDmF,EAAuB,YAAcD,GAClC,IAACI,GAAQvF,EACRwF,GAAUpE,EACVqE,GAAU1D,EACV2D,GAAWvD,EACXwD,GAAS/C,EAETgD,GAAQxC","x_google_ignoreList":[0]}
|
1
|
+
{"version":3,"file":"index.cjs199.js","sources":["../node_modules/@radix-ui/react-dropdown-menu/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// packages/react/dropdown-menu/src/dropdown-menu.tsx\nimport * as React from \"react\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { composeRefs } from \"@radix-ui/react-compose-refs\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { useControllableState } from \"@radix-ui/react-use-controllable-state\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport * as MenuPrimitive from \"@radix-ui/react-menu\";\nimport { createMenuScope } from \"@radix-ui/react-menu\";\nimport { useId } from \"@radix-ui/react-id\";\nimport { jsx } from \"react/jsx-runtime\";\nvar DROPDOWN_MENU_NAME = \"DropdownMenu\";\nvar [createDropdownMenuContext, createDropdownMenuScope] = createContextScope(\n DROPDOWN_MENU_NAME,\n [createMenuScope]\n);\nvar useMenuScope = createMenuScope();\nvar [DropdownMenuProvider, useDropdownMenuContext] = createDropdownMenuContext(DROPDOWN_MENU_NAME);\nvar DropdownMenu = (props) => {\n const {\n __scopeDropdownMenu,\n children,\n dir,\n open: openProp,\n defaultOpen,\n onOpenChange,\n modal = true\n } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n const triggerRef = React.useRef(null);\n const [open = false, setOpen] = useControllableState({\n prop: openProp,\n defaultProp: defaultOpen,\n onChange: onOpenChange\n });\n return /* @__PURE__ */ jsx(\n DropdownMenuProvider,\n {\n scope: __scopeDropdownMenu,\n triggerId: useId(),\n triggerRef,\n contentId: useId(),\n open,\n onOpenChange: setOpen,\n onOpenToggle: React.useCallback(() => setOpen((prevOpen) => !prevOpen), [setOpen]),\n modal,\n children: /* @__PURE__ */ jsx(MenuPrimitive.Root, { ...menuScope, open, onOpenChange: setOpen, dir, modal, children })\n }\n );\n};\nDropdownMenu.displayName = DROPDOWN_MENU_NAME;\nvar TRIGGER_NAME = \"DropdownMenuTrigger\";\nvar DropdownMenuTrigger = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDropdownMenu, disabled = false, ...triggerProps } = props;\n const context = useDropdownMenuContext(TRIGGER_NAME, __scopeDropdownMenu);\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.Anchor, { asChild: true, ...menuScope, children: /* @__PURE__ */ jsx(\n Primitive.button,\n {\n type: \"button\",\n id: context.triggerId,\n \"aria-haspopup\": \"menu\",\n \"aria-expanded\": context.open,\n \"aria-controls\": context.open ? context.contentId : void 0,\n \"data-state\": context.open ? \"open\" : \"closed\",\n \"data-disabled\": disabled ? \"\" : void 0,\n disabled,\n ...triggerProps,\n ref: composeRefs(forwardedRef, context.triggerRef),\n onPointerDown: composeEventHandlers(props.onPointerDown, (event) => {\n if (!disabled && event.button === 0 && event.ctrlKey === false) {\n context.onOpenToggle();\n if (!context.open) event.preventDefault();\n }\n }),\n onKeyDown: composeEventHandlers(props.onKeyDown, (event) => {\n if (disabled) return;\n if ([\"Enter\", \" \"].includes(event.key)) context.onOpenToggle();\n if (event.key === \"ArrowDown\") context.onOpenChange(true);\n if ([\"Enter\", \" \", \"ArrowDown\"].includes(event.key)) event.preventDefault();\n })\n }\n ) });\n }\n);\nDropdownMenuTrigger.displayName = TRIGGER_NAME;\nvar PORTAL_NAME = \"DropdownMenuPortal\";\nvar DropdownMenuPortal = (props) => {\n const { __scopeDropdownMenu, ...portalProps } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.Portal, { ...menuScope, ...portalProps });\n};\nDropdownMenuPortal.displayName = PORTAL_NAME;\nvar CONTENT_NAME = \"DropdownMenuContent\";\nvar DropdownMenuContent = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDropdownMenu, ...contentProps } = props;\n const context = useDropdownMenuContext(CONTENT_NAME, __scopeDropdownMenu);\n const menuScope = useMenuScope(__scopeDropdownMenu);\n const hasInteractedOutsideRef = React.useRef(false);\n return /* @__PURE__ */ jsx(\n MenuPrimitive.Content,\n {\n id: context.contentId,\n \"aria-labelledby\": context.triggerId,\n ...menuScope,\n ...contentProps,\n ref: forwardedRef,\n onCloseAutoFocus: composeEventHandlers(props.onCloseAutoFocus, (event) => {\n if (!hasInteractedOutsideRef.current) context.triggerRef.current?.focus();\n hasInteractedOutsideRef.current = false;\n event.preventDefault();\n }),\n onInteractOutside: composeEventHandlers(props.onInteractOutside, (event) => {\n const originalEvent = event.detail.originalEvent;\n const ctrlLeftClick = originalEvent.button === 0 && originalEvent.ctrlKey === true;\n const isRightClick = originalEvent.button === 2 || ctrlLeftClick;\n if (!context.modal || isRightClick) hasInteractedOutsideRef.current = true;\n }),\n style: {\n ...props.style,\n // re-namespace exposed content custom properties\n ...{\n \"--radix-dropdown-menu-content-transform-origin\": \"var(--radix-popper-transform-origin)\",\n \"--radix-dropdown-menu-content-available-width\": \"var(--radix-popper-available-width)\",\n \"--radix-dropdown-menu-content-available-height\": \"var(--radix-popper-available-height)\",\n \"--radix-dropdown-menu-trigger-width\": \"var(--radix-popper-anchor-width)\",\n \"--radix-dropdown-menu-trigger-height\": \"var(--radix-popper-anchor-height)\"\n }\n }\n }\n );\n }\n);\nDropdownMenuContent.displayName = CONTENT_NAME;\nvar GROUP_NAME = \"DropdownMenuGroup\";\nvar DropdownMenuGroup = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDropdownMenu, ...groupProps } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.Group, { ...menuScope, ...groupProps, ref: forwardedRef });\n }\n);\nDropdownMenuGroup.displayName = GROUP_NAME;\nvar LABEL_NAME = \"DropdownMenuLabel\";\nvar DropdownMenuLabel = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDropdownMenu, ...labelProps } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.Label, { ...menuScope, ...labelProps, ref: forwardedRef });\n }\n);\nDropdownMenuLabel.displayName = LABEL_NAME;\nvar ITEM_NAME = \"DropdownMenuItem\";\nvar DropdownMenuItem = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDropdownMenu, ...itemProps } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.Item, { ...menuScope, ...itemProps, ref: forwardedRef });\n }\n);\nDropdownMenuItem.displayName = ITEM_NAME;\nvar CHECKBOX_ITEM_NAME = \"DropdownMenuCheckboxItem\";\nvar DropdownMenuCheckboxItem = React.forwardRef((props, forwardedRef) => {\n const { __scopeDropdownMenu, ...checkboxItemProps } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.CheckboxItem, { ...menuScope, ...checkboxItemProps, ref: forwardedRef });\n});\nDropdownMenuCheckboxItem.displayName = CHECKBOX_ITEM_NAME;\nvar RADIO_GROUP_NAME = \"DropdownMenuRadioGroup\";\nvar DropdownMenuRadioGroup = React.forwardRef((props, forwardedRef) => {\n const { __scopeDropdownMenu, ...radioGroupProps } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.RadioGroup, { ...menuScope, ...radioGroupProps, ref: forwardedRef });\n});\nDropdownMenuRadioGroup.displayName = RADIO_GROUP_NAME;\nvar RADIO_ITEM_NAME = \"DropdownMenuRadioItem\";\nvar DropdownMenuRadioItem = React.forwardRef((props, forwardedRef) => {\n const { __scopeDropdownMenu, ...radioItemProps } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.RadioItem, { ...menuScope, ...radioItemProps, ref: forwardedRef });\n});\nDropdownMenuRadioItem.displayName = RADIO_ITEM_NAME;\nvar INDICATOR_NAME = \"DropdownMenuItemIndicator\";\nvar DropdownMenuItemIndicator = React.forwardRef((props, forwardedRef) => {\n const { __scopeDropdownMenu, ...itemIndicatorProps } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.ItemIndicator, { ...menuScope, ...itemIndicatorProps, ref: forwardedRef });\n});\nDropdownMenuItemIndicator.displayName = INDICATOR_NAME;\nvar SEPARATOR_NAME = \"DropdownMenuSeparator\";\nvar DropdownMenuSeparator = React.forwardRef((props, forwardedRef) => {\n const { __scopeDropdownMenu, ...separatorProps } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.Separator, { ...menuScope, ...separatorProps, ref: forwardedRef });\n});\nDropdownMenuSeparator.displayName = SEPARATOR_NAME;\nvar ARROW_NAME = \"DropdownMenuArrow\";\nvar DropdownMenuArrow = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDropdownMenu, ...arrowProps } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.Arrow, { ...menuScope, ...arrowProps, ref: forwardedRef });\n }\n);\nDropdownMenuArrow.displayName = ARROW_NAME;\nvar DropdownMenuSub = (props) => {\n const { __scopeDropdownMenu, children, open: openProp, onOpenChange, defaultOpen } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n const [open = false, setOpen] = useControllableState({\n prop: openProp,\n defaultProp: defaultOpen,\n onChange: onOpenChange\n });\n return /* @__PURE__ */ jsx(MenuPrimitive.Sub, { ...menuScope, open, onOpenChange: setOpen, children });\n};\nvar SUB_TRIGGER_NAME = \"DropdownMenuSubTrigger\";\nvar DropdownMenuSubTrigger = React.forwardRef((props, forwardedRef) => {\n const { __scopeDropdownMenu, ...subTriggerProps } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.SubTrigger, { ...menuScope, ...subTriggerProps, ref: forwardedRef });\n});\nDropdownMenuSubTrigger.displayName = SUB_TRIGGER_NAME;\nvar SUB_CONTENT_NAME = \"DropdownMenuSubContent\";\nvar DropdownMenuSubContent = React.forwardRef((props, forwardedRef) => {\n const { __scopeDropdownMenu, ...subContentProps } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(\n MenuPrimitive.SubContent,\n {\n ...menuScope,\n ...subContentProps,\n ref: forwardedRef,\n style: {\n ...props.style,\n // re-namespace exposed content custom properties\n ...{\n \"--radix-dropdown-menu-content-transform-origin\": \"var(--radix-popper-transform-origin)\",\n \"--radix-dropdown-menu-content-available-width\": \"var(--radix-popper-available-width)\",\n \"--radix-dropdown-menu-content-available-height\": \"var(--radix-popper-available-height)\",\n \"--radix-dropdown-menu-trigger-width\": \"var(--radix-popper-anchor-width)\",\n \"--radix-dropdown-menu-trigger-height\": \"var(--radix-popper-anchor-height)\"\n }\n }\n }\n );\n});\nDropdownMenuSubContent.displayName = SUB_CONTENT_NAME;\nvar Root2 = DropdownMenu;\nvar Trigger = DropdownMenuTrigger;\nvar Portal2 = DropdownMenuPortal;\nvar Content2 = DropdownMenuContent;\nvar Group2 = DropdownMenuGroup;\nvar Label2 = DropdownMenuLabel;\nvar Item2 = DropdownMenuItem;\nvar CheckboxItem2 = DropdownMenuCheckboxItem;\nvar RadioGroup2 = DropdownMenuRadioGroup;\nvar RadioItem2 = DropdownMenuRadioItem;\nvar ItemIndicator2 = DropdownMenuItemIndicator;\nvar Separator2 = DropdownMenuSeparator;\nvar Arrow2 = DropdownMenuArrow;\nvar Sub2 = DropdownMenuSub;\nvar SubTrigger2 = DropdownMenuSubTrigger;\nvar SubContent2 = DropdownMenuSubContent;\nexport {\n Arrow2 as Arrow,\n CheckboxItem2 as CheckboxItem,\n Content2 as Content,\n DropdownMenu,\n DropdownMenuArrow,\n DropdownMenuCheckboxItem,\n DropdownMenuContent,\n DropdownMenuGroup,\n DropdownMenuItem,\n DropdownMenuItemIndicator,\n DropdownMenuLabel,\n DropdownMenuPortal,\n DropdownMenuRadioGroup,\n DropdownMenuRadioItem,\n DropdownMenuSeparator,\n DropdownMenuSub,\n DropdownMenuSubContent,\n DropdownMenuSubTrigger,\n DropdownMenuTrigger,\n Group2 as Group,\n Item2 as Item,\n ItemIndicator2 as ItemIndicator,\n Label2 as Label,\n Portal2 as Portal,\n RadioGroup2 as RadioGroup,\n RadioItem2 as RadioItem,\n Root2 as Root,\n Separator2 as Separator,\n Sub2 as Sub,\n SubContent2 as SubContent,\n SubTrigger2 as SubTrigger,\n Trigger,\n createDropdownMenuScope\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["DROPDOWN_MENU_NAME","createDropdownMenuContext","createDropdownMenuScope","createContextScope","createMenuScope","useMenuScope","DropdownMenuProvider","useDropdownMenuContext","DropdownMenu","props","__scopeDropdownMenu","children","dir","openProp","defaultOpen","onOpenChange","modal","menuScope","triggerRef","React","open","setOpen","useControllableState","jsx","useId","prevOpen","MenuPrimitive.Root","TRIGGER_NAME","DropdownMenuTrigger","forwardedRef","disabled","triggerProps","context","MenuPrimitive.Anchor","Primitive","composeRefs","composeEventHandlers","event","PORTAL_NAME","DropdownMenuPortal","portalProps","MenuPrimitive.Portal","CONTENT_NAME","DropdownMenuContent","contentProps","hasInteractedOutsideRef","MenuPrimitive.Content","_a","originalEvent","ctrlLeftClick","isRightClick","GROUP_NAME","DropdownMenuGroup","groupProps","MenuPrimitive.Group","LABEL_NAME","DropdownMenuLabel","labelProps","MenuPrimitive.Label","ITEM_NAME","DropdownMenuItem","itemProps","MenuPrimitive.Item","CHECKBOX_ITEM_NAME","DropdownMenuCheckboxItem","checkboxItemProps","MenuPrimitive.CheckboxItem","RADIO_GROUP_NAME","DropdownMenuRadioGroup","radioGroupProps","MenuPrimitive.RadioGroup","RADIO_ITEM_NAME","DropdownMenuRadioItem","radioItemProps","MenuPrimitive.RadioItem","INDICATOR_NAME","DropdownMenuItemIndicator","itemIndicatorProps","MenuPrimitive.ItemIndicator","SEPARATOR_NAME","DropdownMenuSeparator","separatorProps","MenuPrimitive.Separator","ARROW_NAME","DropdownMenuArrow","arrowProps","MenuPrimitive.Arrow","SUB_TRIGGER_NAME","DropdownMenuSubTrigger","subTriggerProps","MenuPrimitive.SubTrigger","SUB_CONTENT_NAME","DropdownMenuSubContent","subContentProps","MenuPrimitive.SubContent","Root2","Trigger","Portal2","Content2","Group2","Item2"],"mappings":"2nBAaA,IAAIA,EAAqB,eACrB,CAACC,EAA2BC,CAAuB,EAAIC,EAAkB,mBAC3EH,EACA,CAACI,EAAe,eAAA,CAClB,EACIC,EAAeD,EAAAA,gBAAiB,EAChC,CAACE,EAAsBC,CAAsB,EAAIN,EAA0BD,CAAkB,EAC7FQ,EAAgBC,GAAU,CAC5B,KAAM,CACJ,oBAAAC,EACA,SAAAC,EACA,IAAAC,EACA,KAAMC,EACN,YAAAC,EACA,aAAAC,EACA,MAAAC,EAAQ,EACZ,EAAMP,EACEQ,EAAYZ,EAAaK,CAAmB,EAC5CQ,EAAaC,EAAM,OAAO,IAAI,EAC9B,CAACC,EAAO,GAAOC,CAAO,EAAIC,EAAAA,qBAAqB,CACnD,KAAMT,EACN,YAAaC,EACb,SAAUC,CACd,CAAG,EACD,OAAuBQ,EAAG,kBAAA,IACxBjB,EACA,CACE,MAAOI,EACP,UAAWc,EAAAA,MAAO,EAClB,WAAAN,EACA,UAAWM,EAAAA,MAAO,EAClB,KAAAJ,EACA,aAAcC,EACd,aAAcF,EAAM,YAAY,IAAME,EAASI,GAAa,CAACA,CAAQ,EAAG,CAACJ,CAAO,CAAC,EACjF,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AmB,EAClD,OAAuBa,EAAG,kBAAA,IAAC+D,EAAmB,MAAE,CAAE,GAAGrE,EAAW,GAAGoE,EAAY,IAAKxD,EAAc,CACtG,CACA,EACAuD,EAAkB,YAAcD,GAWhC,IAAII,GAAmB,yBACnBC,EAAyBrE,EAAM,WAAW,CAACV,EAAOoB,IAAiB,CACrE,KAAM,CAAE,oBAAAnB,EAAqB,GAAG+E,CAAe,EAAKhF,EAC9CQ,EAAYZ,EAAaK,CAAmB,EAClD,OAAuBa,EAAG,kBAAA,IAACmE,EAAwB,WAAE,CAAE,GAAGzE,EAAW,GAAGwE,EAAiB,IAAK5D,EAAc,CAC9G,CAAC,EACD2D,EAAuB,YAAcD,GACrC,IAAII,GAAmB,yBACnBC,EAAyBzE,EAAM,WAAW,CAACV,EAAOoB,IAAiB,CACrE,KAAM,CAAE,oBAAAnB,EAAqB,GAAGmF,CAAe,EAAKpF,EAC9CQ,EAAYZ,EAAaK,CAAmB,EAClD,OAAuBa,EAAG,kBAAA,IACxBuE,EAAwB,WACxB,CACE,GAAG7E,EACH,GAAG4E,EACH,IAAKhE,EACL,MAAO,CACL,GAAGpB,EAAM,MAGP,iDAAkD,uCAClD,gDAAiD,sCACjD,iDAAkD,uCAClD,sCAAuC,mCACvC,uCAAwC,mCAElD,CACA,CACG,CACH,CAAC,EACDmF,EAAuB,YAAcD,GAClC,IAACI,GAAQvF,EACRwF,GAAUpE,EACVqE,GAAU1D,EACV2D,GAAWvD,EACXwD,GAAS/C,EAETgD,GAAQxC","x_google_ignoreList":[0]}
|
package/dist/index.cjs204.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/navigations/HeaderDesktop/HeaderDesktop.css');const e=require("./index.cjs173.js"),
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/navigations/HeaderDesktop/HeaderDesktop.css');const e=require("./index.cjs173.js"),E=require("./index.cjs193.js"),c=require("./index.cjs24.js"),g=require("./index.cjs17.js"),i=require("./index.cjs175.js"),f=require("./index.cjs250.js"),w=require("./index.cjs25.js"),y=require("./index.cjs6.js");;/* empty css */const a=require("./index.cjs9.js"),N=({title:r,region:x,asLink:d="a",labels:m,navigatonItems:u,supportLink:t,loginLink:j="/",shortTitle:l,headerTitleClassname:h,children:p,headerLogoUrl2:o})=>{const n=d,R=c.LOGOS.nazionale,b=c.LOGOS[x];return e.jsxRuntimeExports.jsxs("div",{className:"sticky-header bg-white",children:[e.jsxRuntimeExports.jsxs(g.HeaderSlim,{pt:"x16",pb:"x16",display:"flex",justifyContent:"space-between",alignItems:"center",children:[e.jsxRuntimeExports.jsxs(n,{href:"/",className:"text-white fw-semibold text-decoration-none fs-7 hover-underline base-row align-items-center justify-content-center gap-x8",children:[o&&e.jsxRuntimeExports.jsx("div",{style:{backgroundImage:`url(${o})`},className:"ui-header-item-image"}),l||r,e.jsxRuntimeExports.jsx("span",{className:"visually-hidden",children:"Vai alla homepage"})]}),p]}),e.jsxRuntimeExports.jsxs("header",{className:"bg-white",children:[e.jsxRuntimeExports.jsxs(a.Row,{py:"x20",gap:"x16",alignItems:"center",justifyContent:"space-between",className:"max-h-x116 ui-container",children:[e.jsxRuntimeExports.jsxs(a.Row,{gap:"x16",alignItems:"center",children:[e.jsxRuntimeExports.jsxs(a.Row,{gap:"x16",alignItems:"center",justifyContent:"center",children:[e.jsxRuntimeExports.jsx(R,{height:58}),x!=="nazionale"&&e.jsxRuntimeExports.jsxs(e.jsxRuntimeExports.Fragment,{children:[e.jsxRuntimeExports.jsx(E.Divider,{bg:"border-divider",direction:"vertical"}),e.jsxRuntimeExports.jsx(b,{width:58,height:58})]})]}),e.jsxRuntimeExports.jsx("h1",{className:i.clsx(h),children:e.jsxRuntimeExports.jsx(f.Balancer,{children:e.jsxRuntimeExports.jsxs(n,{href:"/",className:"fs-2 fw-bold text-slate-20 text-decoration-none hover-underline",children:[r,e.jsxRuntimeExports.jsx("span",{className:"visually-hidden",children:"Vai alla homepage"})]})})})]}),e.jsxRuntimeExports.jsxs(w.Button,{size:"2",href:j,asLink:"a",children:[m.login,e.jsxRuntimeExports.jsx("span",{className:"visually-hidden",children:" Accedi con Cohesion"})]})]}),e.jsxRuntimeExports.jsx("nav",{"aria-label":"Menu di navigazione",className:"shadow-bottom",children:e.jsxRuntimeExports.jsxs(y.Container,{className:"base-row align-items-center justify-content-between max-h-x52",children:[e.jsxRuntimeExports.jsx(a.Row,{as:"ul",className:"list-style-none",role:"list",children:u.map((s,v)=>e.jsxRuntimeExports.jsx("li",{className:i.clsx("py-x12 px-x16 ui-header-desktop-nav-item max-h-x52",s.active&&"active"),children:e.jsxRuntimeExports.jsxs(n,{href:s.href,"aria-label":`Vai alla pagina ${s.label}`,className:i.clsx("text-decoration-none fs-custom",s.active?"fw-bold text-blue-30":"fw-semibold text-primary"),target:s.isNewTab?"_blank":void 0,rel:s.isNewTab?"noopener noreferrer":void 0,children:[s.label,s.active&&e.jsxRuntimeExports.jsx("span",{className:"visually-hidden",children:"Attivo"})]})},v))}),t&&e.jsxRuntimeExports.jsxs(n,{href:t.href,"aria-label":`Vai alla pagina ${t.label}`,className:i.clsx("text-decoration-none fs-custom py-x12 px-x24",t.active?"fw-bold text-blue-30":"fw-semibold text-primary","ui-header-desktop-support-link",t.active&&"active"),children:[t.label,t.active&&e.jsxRuntimeExports.jsx("span",{className:"visually-hidden",children:"Attivo"})]})]})})]})]})};exports.HeaderDesktop=N;
|
2
2
|
//# sourceMappingURL=index.cjs204.js.map
|
package/dist/index.cjs210.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const _=require("react"),D=require("./index.cjs308.js"),$=require("./index.cjs309.js"),S=require("./index.cjs307.js"),M=require("./index.cjs310.js"),N=require("./index.cjs317.js"),H=require("./index.cjs318.js"),T=require("./index.cjs319.js"),q=require("./index.
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const _=require("react"),D=require("./index.cjs308.js"),$=require("./index.cjs309.js"),S=require("./index.cjs307.js"),M=require("./index.cjs310.js"),N=require("./index.cjs317.js"),H=require("./index.cjs318.js"),T=require("./index.cjs319.js"),q=require("./index.cjs311.js"),f=require("./index.cjs173.js");function z(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const c=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,c.get?c:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const s=z(_);var y="Checkbox",[A,B]=$.createContextScope(y),[K,L]=A(y),j=s.forwardRef((e,r)=>{const{__scopeCheckbox:t,name:c,checked:p,defaultChecked:n,required:x,disabled:u,value:h="on",onCheckedChange:m,form:d,...C}=e,[i,k]=s.useState(null),v=D.useComposedRefs(r,o=>k(o)),R=s.useRef(!1),g=i?d||!!i.closest("form"):!0,[l=!1,E]=M.useControllableState({prop:p,defaultProp:n,onChange:m}),w=s.useRef(l);return s.useEffect(()=>{const o=i==null?void 0:i.form;if(o){const b=()=>E(w.current);return o.addEventListener("reset",b),()=>o.removeEventListener("reset",b)}},[i,E]),f.jsxRuntimeExports.jsxs(K,{scope:t,state:l,disabled:u,children:[f.jsxRuntimeExports.jsx(q.Primitive.button,{type:"button",role:"checkbox","aria-checked":a(l)?"mixed":l,"aria-required":x,"data-state":O(l),"data-disabled":u?"":void 0,disabled:u,value:h,...C,ref:v,onKeyDown:S.composeEventHandlers(e.onKeyDown,o=>{o.key==="Enter"&&o.preventDefault()}),onClick:S.composeEventHandlers(e.onClick,o=>{E(b=>a(b)?!0:!b),g&&(R.current=o.isPropagationStopped(),R.current||o.stopPropagation())})}),g&&f.jsxRuntimeExports.jsx(X,{control:i,bubbles:!R.current,name:c,value:h,checked:l,required:x,disabled:u,form:d,style:{transform:"translateX(-100%)"},defaultChecked:a(n)?!1:n})]})});j.displayName=y;var I="CheckboxIndicator",P=s.forwardRef((e,r)=>{const{__scopeCheckbox:t,forceMount:c,...p}=e,n=L(I,t);return f.jsxRuntimeExports.jsx(T.Presence,{present:c||a(n.state)||n.state===!0,children:f.jsxRuntimeExports.jsx(q.Primitive.span,{"data-state":O(n.state),"data-disabled":n.disabled?"":void 0,...p,ref:r,style:{pointerEvents:"none",...e.style}})})});P.displayName=I;var X=e=>{const{control:r,checked:t,bubbles:c=!0,defaultChecked:p,...n}=e,x=s.useRef(null),u=N.usePrevious(t),h=H.useSize(r);s.useEffect(()=>{const d=x.current,C=window.HTMLInputElement.prototype,k=Object.getOwnPropertyDescriptor(C,"checked").set;if(u!==t&&k){const v=new Event("click",{bubbles:c});d.indeterminate=a(t),k.call(d,a(t)?!1:t),d.dispatchEvent(v)}},[u,t,c]);const m=s.useRef(a(t)?!1:t);return f.jsxRuntimeExports.jsx("input",{type:"checkbox","aria-hidden":!0,defaultChecked:p??m.current,...n,tabIndex:-1,ref:x,style:{...e.style,...h,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})};function a(e){return e==="indeterminate"}function O(e){return a(e)?"indeterminate":e?"checked":"unchecked"}var F=j,G=P;exports.Checkbox=j;exports.CheckboxIndicator=P;exports.Indicator=G;exports.Root=F;exports.createCheckboxScope=B;
|
2
2
|
//# sourceMappingURL=index.cjs210.js.map
|
package/dist/index.cjs221.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const H=require("react"),p=require("./index.
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const H=require("react"),p=require("./index.cjs333.js"),v=require("./index.cjs334.js"),M=require("./index.cjs335.js"),R=require("./index.cjs336.js"),B=require("./index.cjs337.js"),V=require("./index.cjs338.js"),z=require("./index.cjs339.js"),K=require("./index.cjs340.js"),E=require("./index.cjs341.js"),x=require("./index.cjs342.js"),U=require("./index.cjs343.js"),Y=require("./index.cjs344.js"),Z=require("./index.cjs345.js"),J=require("./index.cjs346.js"),s=require("./index.cjs173.js");function Q(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const a=Q(H);var j="Dialog",[S,X]=M.createContextScope(j),[ee,u]=S(j),C=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:i,onOpenChange:o,modal:c=!0}=e,l=a.useRef(null),d=a.useRef(null),[f=!1,D]=B.useControllableState({prop:r,defaultProp:i,onChange:o});return s.jsxRuntimeExports.jsx(ee,{scope:t,triggerRef:l,contentRef:d,contentId:R.useId(),titleId:R.useId(),descriptionId:R.useId(),open:f,onOpenChange:D,onOpenToggle:a.useCallback(()=>D(L=>!L),[D]),modal:c,children:n})};C.displayName=j;var w="DialogTrigger",P=a.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=u(w,n),o=v.useComposedRefs(t,i.triggerRef);return s.jsxRuntimeExports.jsx(x.Primitive.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":A(i.open),...r,ref:o,onClick:p.composeEventHandlers(e.onClick,i.onOpenToggle)})});P.displayName=w;var _="DialogPortal",[te,F]=S(_,{forceMount:void 0}),y=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:i}=e,o=u(_,t);return s.jsxRuntimeExports.jsx(te,{scope:t,forceMount:n,children:a.Children.map(r,c=>s.jsxRuntimeExports.jsx(E.Presence,{present:n||o.open,children:s.jsxRuntimeExports.jsx(K.Portal,{asChild:!0,container:i,children:c})}))})};y.displayName=_;var m="DialogOverlay",O=a.forwardRef((e,t)=>{const n=F(m,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,o=u(m,e.__scopeDialog);return o.modal?s.jsxRuntimeExports.jsx(E.Presence,{present:r||o.open,children:s.jsxRuntimeExports.jsx(ne,{...i,ref:t})}):null});O.displayName=m;var oe=J.createSlot("DialogOverlay.RemoveScroll"),ne=a.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=u(m,n);return s.jsxRuntimeExports.jsx(Y,{as:oe,allowPinchZoom:!0,shards:[i.contentRef],children:s.jsxRuntimeExports.jsx(x.Primitive.div,{"data-state":A(i.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),g="DialogContent",h=a.forwardRef((e,t)=>{const n=F(g,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,o=u(g,e.__scopeDialog);return s.jsxRuntimeExports.jsx(E.Presence,{present:r||o.open,children:o.modal?s.jsxRuntimeExports.jsx(re,{...i,ref:t}):s.jsxRuntimeExports.jsx(ie,{...i,ref:t})})});h.displayName=g;var re=a.forwardRef((e,t)=>{const n=u(g,e.__scopeDialog),r=a.useRef(null),i=v.useComposedRefs(t,n.contentRef,r);return a.useEffect(()=>{const o=r.current;if(o)return Z.hideOthers(o)},[]),s.jsxRuntimeExports.jsx(q,{...e,ref:i,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:p.composeEventHandlers(e.onCloseAutoFocus,o=>{var c;o.preventDefault(),(c=n.triggerRef.current)==null||c.focus()}),onPointerDownOutside:p.composeEventHandlers(e.onPointerDownOutside,o=>{const c=o.detail.originalEvent,l=c.button===0&&c.ctrlKey===!0;(c.button===2||l)&&o.preventDefault()}),onFocusOutside:p.composeEventHandlers(e.onFocusOutside,o=>o.preventDefault())})}),ie=a.forwardRef((e,t)=>{const n=u(g,e.__scopeDialog),r=a.useRef(!1),i=a.useRef(!1);return s.jsxRuntimeExports.jsx(q,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:o=>{var c,l;(c=e.onCloseAutoFocus)==null||c.call(e,o),o.defaultPrevented||(r.current||(l=n.triggerRef.current)==null||l.focus(),o.preventDefault()),r.current=!1,i.current=!1},onInteractOutside:o=>{var d,f;(d=e.onInteractOutside)==null||d.call(e,o),o.defaultPrevented||(r.current=!0,o.detail.originalEvent.type==="pointerdown"&&(i.current=!0));const c=o.target;((f=n.triggerRef.current)==null?void 0:f.contains(c))&&o.preventDefault(),o.detail.originalEvent.type==="focusin"&&i.current&&o.preventDefault()}})}),q=a.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:o,...c}=e,l=u(g,n),d=a.useRef(null),f=v.useComposedRefs(t,d);return U.useFocusGuards(),s.jsxRuntimeExports.jsxs(s.jsxRuntimeExports.Fragment,{children:[s.jsxRuntimeExports.jsx(z.FocusScope,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:o,children:s.jsxRuntimeExports.jsx(V.DismissableLayer,{role:"dialog",id:l.contentId,"aria-describedby":l.descriptionId,"aria-labelledby":l.titleId,"data-state":A(l.open),...c,ref:f,onDismiss:()=>l.onOpenChange(!1)})}),s.jsxRuntimeExports.jsxs(s.jsxRuntimeExports.Fragment,{children:[s.jsxRuntimeExports.jsx(ae,{titleId:l.titleId}),s.jsxRuntimeExports.jsx(le,{contentRef:d,descriptionId:l.descriptionId})]})]})}),N="DialogTitle",b=a.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=u(N,n);return s.jsxRuntimeExports.jsx(x.Primitive.h2,{id:i.titleId,...r,ref:t})});b.displayName=N;var $="DialogDescription",I=a.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=u($,n);return s.jsxRuntimeExports.jsx(x.Primitive.p,{id:i.descriptionId,...r,ref:t})});I.displayName=$;var W="DialogClose",T=a.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=u(W,n);return s.jsxRuntimeExports.jsx(x.Primitive.button,{type:"button",...r,ref:t,onClick:p.composeEventHandlers(e.onClick,()=>i.onOpenChange(!1))})});T.displayName=W;function A(e){return e?"open":"closed"}var k="DialogTitleWarning",[se,G]=M.createContext(k,{contentName:g,titleName:N,docsSlug:"dialog"}),ae=({titleId:e})=>{const t=G(k),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
|
2
2
|
|
3
3
|
If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
|
4
4
|
|
package/dist/index.cjs24.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/navigations/Header/Header.css');const e=require("./index.cjs173.js"),j=require("./index.cjs203.js"),m=require("./index.cjs204.js");;/* empty css */const l=require("./index.
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/navigations/Header/Header.css');const e=require("./index.cjs173.js"),j=require("./index.cjs203.js"),m=require("./index.cjs204.js");;/* empty css */const l=require("./index.cjs119.js"),q=require("./index.cjs120.js"),R=require("./index.cjs116.js"),E={nazionale:R.Fse,marche:q.Marche,lazio:l.Lazio},H=({title:o,region:t,shortTitle:i,asLink:x="a",navigatonItems:r,labels:n,supportLink:s,loginLink:d,headerTitleClassname:c,headerLogoUrl2:a,children:u})=>e.jsxRuntimeExports.jsxs(e.jsxRuntimeExports.Fragment,{children:[e.jsxRuntimeExports.jsx("div",{className:"desktopHeader",children:e.jsxRuntimeExports.jsx(m.HeaderDesktop,{title:o,region:t,asLink:x,labels:n,navigatonItems:r,supportLink:s,loginLink:d,shortTitle:i,headerTitleClassname:c,headerLogoUrl2:a,children:u})}),e.jsxRuntimeExports.jsx("div",{className:"mobileHeader",children:e.jsxRuntimeExports.jsx(j.HeaderMobile,{shortTitle:i,region:t,asLink:x,navigatonItems:s?[...r,s]:r,labels:n,loginLink:d})})]});exports.Header=H;exports.LOGOS=E;
|
2
2
|
//# sourceMappingURL=index.cjs24.js.map
|
package/dist/index.cjs248.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const q=require("react"),T=require("./index.cjs307.js"),_=require("./index.cjs308.js"),O=require("./index.cjs309.js"),M=require("./index.cjs310.js"),$=require("./index.cjs317.js"),N=require("./index.cjs318.js"),C=require("./index.
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const q=require("react"),T=require("./index.cjs307.js"),_=require("./index.cjs308.js"),O=require("./index.cjs309.js"),M=require("./index.cjs310.js"),$=require("./index.cjs317.js"),N=require("./index.cjs318.js"),C=require("./index.cjs311.js"),d=require("./index.cjs173.js");function H(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(o,t,r.get?r:{enumerable:!0,get:()=>e[t]})}}return o.default=e,Object.freeze(o)}const s=H(q);var S="Switch",[I,z]=O.createContextScope(S),[B,D]=I(S),v=s.forwardRef((e,o)=>{const{__scopeSwitch:t,name:r,checked:n,defaultChecked:p,required:i,disabled:c,value:a="on",onCheckedChange:b,form:m,...l}=e,[u,R]=s.useState(null),g=_.useComposedRefs(o,f=>R(f)),x=s.useRef(!1),k=u?m||!!u.closest("form"):!0,[h=!1,y]=M.useControllableState({prop:n,defaultProp:p,onChange:b});return d.jsxRuntimeExports.jsxs(B,{scope:t,checked:h,disabled:c,children:[d.jsxRuntimeExports.jsx(C.Primitive.button,{type:"button",role:"switch","aria-checked":h,"aria-required":i,"data-state":P(h),"data-disabled":c?"":void 0,disabled:c,value:a,...l,ref:g,onClick:T.composeEventHandlers(e.onClick,f=>{y(E=>!E),k&&(x.current=f.isPropagationStopped(),x.current||f.stopPropagation())})}),k&&d.jsxRuntimeExports.jsx(A,{control:u,bubbles:!x.current,name:r,value:a,checked:h,required:i,disabled:c,form:m,style:{transform:"translateX(-100%)"}})]})});v.displayName=S;var j="SwitchThumb",w=s.forwardRef((e,o)=>{const{__scopeSwitch:t,...r}=e,n=D(j,t);return d.jsxRuntimeExports.jsx(C.Primitive.span,{"data-state":P(n.checked),"data-disabled":n.disabled?"":void 0,...r,ref:o})});w.displayName=j;var A=e=>{const{control:o,checked:t,bubbles:r=!0,...n}=e,p=s.useRef(null),i=$.usePrevious(t),c=N.useSize(o);return s.useEffect(()=>{const a=p.current,b=window.HTMLInputElement.prototype,l=Object.getOwnPropertyDescriptor(b,"checked").set;if(i!==t&&l){const u=new Event("click",{bubbles:r});l.call(a,t),a.dispatchEvent(u)}},[i,t,r]),d.jsxRuntimeExports.jsx("input",{type:"checkbox","aria-hidden":!0,defaultChecked:t,...n,tabIndex:-1,ref:p,style:{...e.style,...c,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})};function P(e){return e?"checked":"unchecked"}var F=v,L=w;exports.Root=F;exports.Switch=v;exports.SwitchThumb=w;exports.Thumb=L;exports.createSwitchScope=z;
|
2
2
|
//# sourceMappingURL=index.cjs248.js.map
|
package/dist/index.cjs25.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/Button/Button.css');const
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/Button/Button.css');const e=require("./index.cjs173.js"),E=require("./index.cjs184.js"),R=require("./index.cjs175.js");;/* empty css */const w=require("./index.cjs143.js"),B=({children:o,variant:t,bg:i="primary",textColor:c="white",border:l="white",size:b="3",className:p,disabled:u,loading:s,onClick:m,type:j="button",form:d="",asLink:n,href:f,target:y=void 0,rel:q=void 0,...r})=>{const C=t?"":E.createColorClasses({bg:i,text:c,border:l}),S={2:"fs-6 py-x12 px-x24",3:"fs-7 py-x12 px-x24",4:"fs-6 py-x4 px-x8"},x=R.clsx("ui-button",S[b],t&&`ui-button-${t}`,!t&&C,{"ui-button-disabled":u||s},{"ui-button-loading":s},p,"fw-bold");if(n){const a=n;return e.jsxRuntimeExports.jsx(a,{target:y,rel:q,href:f,className:x,...r,children:o})}return e.jsxRuntimeExports.jsxs("button",{type:j,form:d,className:x,onClick:m,disabled:u||s,...r,children:[o,s?e.jsxRuntimeExports.jsx(w.Spinner,{}):null]})};exports.Button=B;
|
2
2
|
//# sourceMappingURL=index.cjs25.js.map
|
package/dist/index.cjs250.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("react");var m=typeof window>"u",y=m?n.useEffect:n.useLayoutEffect,S=0,
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("react");var m=typeof window>"u",y=m?n.useEffect:n.useLayoutEffect,S=0,h=()=>++S,b=!1;function E(){let[t,s]=n.useState(b?h:void 0);return y(()=>{t===void 0&&s(h()),b=!0},[]),t===void 0?t:`rwb-${t.toString(32)}`}function x(){return n.useMemo(()=>"useId"in n?n.useId:E,[])()}var p="__wrap_b",f="__wrap_n",_="__wrap_o",w=(t,s,e)=>{e=e||document.querySelector(`[data-br="${t}"]`);let r=e==null?void 0:e.parentElement;if(!r)return;let l=c=>e.style.maxWidth=c+"px";e.style.maxWidth="";let i=r.clientWidth,d=r.clientHeight,o=i/2-.25,a=i+.5,u;if(i){for(l(o),o=Math.max(e.scrollWidth,o);o+1<a;)u=Math.round((o+a)/2),l(u),r.clientHeight===d?a=u:o=u;l(a*s+i*(1-s))}e.__wrap_o||(typeof ResizeObserver<"u"?(e.__wrap_o=new ResizeObserver(()=>{self.__wrap_b(0,+e.dataset.brr,e)})).observe(r):process.env.NODE_ENV==="development"&&console.warn("The browser you are using does not support the ResizeObserver API. Please consider add polyfill for this API to avoid potential layout shifts or upgrade your browser. Read more: https://github.com/shuding/react-wrap-balancer#browser-support-information"))},N=w.toString(),A='(self.CSS&&CSS.supports("text-wrap","balance")?1:2)',O=(t,s,e="")=>(e&&(e=`self.${f}!=1&&${e}`),n.createElement("script",{suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:(t?"":`self.${f}=self.${f}||${A};self.${p}=${N};`)+e},nonce:s})),I=n.createContext({preferNative:!0,hasProvider:!1}),g=n.forwardRef(({ratio:t=1,preferNative:s,nonce:e,children:r,as:l,...i},d)=>{let o=x(),a=n.useRef(),u=n.useContext(I),c=s??u.preferNative,$=l||"span";return n.useImperativeHandle(d,()=>a.current,[]),y(()=>{c&&self[f]===1||a.current&&(self[p]=w)(0,t,a.current)},[r,c,t]),y(()=>{if(!(c&&self[f]===1))return()=>{if(!a.current)return;let v=a.current[_];v&&(v.disconnect(),delete a.current[_])}},[c]),process.env.NODE_ENV==="development"&&r&&!Array.isArray(r)&&typeof r=="object"&&"type"in r&&typeof r.type=="string"&&r.type!=="span"&&console.warn(`<Balancer> should not wrap <${r.type}> inside. Instead, it should directly wrap text or inline nodes.
|
2
2
|
|
3
3
|
Try changing this:
|
4
4
|
<Balancer><${r.type}>content</${r.type}></Balancer>
|
5
5
|
To:
|
6
|
-
<${r.type}><Balancer>content</Balancer></${r.type}>`),n.createElement(n.Fragment,null,n.createElement($,{...i,"data-br":
|
6
|
+
<${r.type}><Balancer>content</Balancer></${r.type}>`),n.createElement(n.Fragment,null,n.createElement($,{...i,"data-br":o,"data-brr":t,ref:a,style:{display:"inline-block",verticalAlign:"top",textDecoration:"inherit",textWrap:c?"balance":"initial"},suppressHydrationWarning:!0},r),O(u.hasProvider,e,`self.${p}("${o}",${t})`))});if(!m&&process.env.NODE_ENV!=="production"){let t=document.querySelector("[data-next-hide-fouc]");if(t){let s=r=>{for(let l of r)for(let i of Array.from(l.removedNodes)){if(i!==t)continue;e.disconnect();let d=document.querySelectorAll("[data-br]");for(let o of Array.from(d))self[p](0,+o.dataset.brr,o)}},e=new MutationObserver(s);e.observe(document.head,{childList:!0})}}var R=g;exports.Balancer=g;exports.default=R;
|
7
7
|
//# sourceMappingURL=index.cjs250.js.map
|
package/dist/index.cjs250.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.cjs250.js","sources":["../node_modules/react-wrap-balancer/dist/index.mjs"],"sourcesContent":["\"use client\"\nimport a from\"react\";import p from\"react\";var E=typeof window==\"undefined\",m=E?p.useEffect:p.useLayoutEffect,B=0,_=()=>++B,v=!1;function O(){let[n,r]=p.useState(v?_:void 0);return m(()=>{n===void 0&&r(_()),v=!0},[]),n===void 0?n:`rwb-${n.toString(32)}`}function R(){return p.useMemo(()=>\"useId\"in p?p.useId:O,[])()}var y=\"__wrap_b\",f=\"__wrap_n\",S=\"__wrap_o\",T=(n,r,e)=>{e=e||document.querySelector(`[data-br=\"${n}\"]`);let t=e==null?void 0:e.parentElement;if(!t)return;let l=u=>e.style.maxWidth=u+\"px\";e.style.maxWidth=\"\";let i=t.clientWidth,d=t.clientHeight,o=i/2-.25,s=i+.5,c;if(i){for(l(o),o=Math.max(e.scrollWidth,o);o+1<s;)c=Math.round((o+s)/2),l(c),t.clientHeight===d?s=c:o=c;l(s*r+i*(1-r))}e.__wrap_o||(typeof ResizeObserver!=\"undefined\"?(e.__wrap_o=new ResizeObserver(()=>{self.__wrap_b(0,+e.dataset.brr,e)})).observe(t):process.env.NODE_ENV===\"development\"&&console.warn(\"The browser you are using does not support the ResizeObserver API. Please consider add polyfill for this API to avoid potential layout shifts or upgrade your browser. Read more: https://github.com/shuding/react-wrap-balancer#browser-support-information\"))},I=T.toString(),w='(self.CSS&&CSS.supports(\"text-wrap\",\"balance\")?1:2)',g=(n,r,e=\"\")=>(e&&(e=`self.${f}!=1&&${e}`),a.createElement(\"script\",{suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:(n?\"\":`self.${f}=self.${f}||${w};self.${y}=${I};`)+e},nonce:r})),h=a.createContext({preferNative:!0,hasProvider:!1}),Y=({preferNative:n=!0,nonce:r,children:e})=>{let t=a.useMemo(()=>({preferNative:n,hasProvider:!0}),[n]);return a.createElement(h.Provider,{value:t},g(!1,r),e)},P=a.forwardRef(({ratio:n=1,preferNative:r,nonce:e,children:t,as:l,...i},d)=>{let o=R(),s=a.useRef(),c=a.useContext(h),u=r!=null?r:c.preferNative,x=l||\"span\";return a.useImperativeHandle(d,()=>s.current,[]),m(()=>{u&&self[f]===1||s.current&&(self[y]=T)(0,n,s.current)},[t,u,n]),m(()=>{if(!(u&&self[f]===1))return()=>{if(!s.current)return;let b=s.current[S];b&&(b.disconnect(),delete s.current[S])}},[u]),process.env.NODE_ENV===\"development\"&&t&&!Array.isArray(t)&&typeof t==\"object\"&&\"type\"in t&&typeof t.type==\"string\"&&t.type!==\"span\"&&console.warn(`<Balancer> should not wrap <${t.type}> inside. Instead, it should directly wrap text or inline nodes.\n\nTry changing this:\n <Balancer><${t.type}>content</${t.type}></Balancer>\nTo:\n <${t.type}><Balancer>content</Balancer></${t.type}>`),a.createElement(a.Fragment,null,a.createElement(x,{...i,\"data-br\":o,\"data-brr\":n,ref:s,style:{display:\"inline-block\",verticalAlign:\"top\",textDecoration:\"inherit\",textWrap:u?\"balance\":\"initial\"},suppressHydrationWarning:!0},t),g(c.hasProvider,e,`self.${y}(\"${o}\",${n})`))});if(!E&&process.env.NODE_ENV!==\"production\"){let n=document.querySelector(\"[data-next-hide-fouc]\");if(n){let r=t=>{for(let l of t)for(let i of Array.from(l.removedNodes)){if(i!==n)continue;e.disconnect();let d=document.querySelectorAll(\"[data-br]\");for(let o of Array.from(d))self[y](0,+o.dataset.brr,o)}},e=new MutationObserver(r);e.observe(document.head,{childList:!0})}}var A=P;export{P as Balancer,Y as Provider,A as default};\n//# sourceMappingURL=index.mjs.map"],"names":["E","m","p","B","_","O","n","r","R","y","S","T","t","u","
|
1
|
+
{"version":3,"file":"index.cjs250.js","sources":["../node_modules/react-wrap-balancer/dist/index.mjs"],"sourcesContent":["\"use client\"\nimport a from\"react\";import p from\"react\";var E=typeof window==\"undefined\",m=E?p.useEffect:p.useLayoutEffect,B=0,_=()=>++B,v=!1;function O(){let[n,r]=p.useState(v?_:void 0);return m(()=>{n===void 0&&r(_()),v=!0},[]),n===void 0?n:`rwb-${n.toString(32)}`}function R(){return p.useMemo(()=>\"useId\"in p?p.useId:O,[])()}var y=\"__wrap_b\",f=\"__wrap_n\",S=\"__wrap_o\",T=(n,r,e)=>{e=e||document.querySelector(`[data-br=\"${n}\"]`);let t=e==null?void 0:e.parentElement;if(!t)return;let l=u=>e.style.maxWidth=u+\"px\";e.style.maxWidth=\"\";let i=t.clientWidth,d=t.clientHeight,o=i/2-.25,s=i+.5,c;if(i){for(l(o),o=Math.max(e.scrollWidth,o);o+1<s;)c=Math.round((o+s)/2),l(c),t.clientHeight===d?s=c:o=c;l(s*r+i*(1-r))}e.__wrap_o||(typeof ResizeObserver!=\"undefined\"?(e.__wrap_o=new ResizeObserver(()=>{self.__wrap_b(0,+e.dataset.brr,e)})).observe(t):process.env.NODE_ENV===\"development\"&&console.warn(\"The browser you are using does not support the ResizeObserver API. Please consider add polyfill for this API to avoid potential layout shifts or upgrade your browser. Read more: https://github.com/shuding/react-wrap-balancer#browser-support-information\"))},I=T.toString(),w='(self.CSS&&CSS.supports(\"text-wrap\",\"balance\")?1:2)',g=(n,r,e=\"\")=>(e&&(e=`self.${f}!=1&&${e}`),a.createElement(\"script\",{suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:(n?\"\":`self.${f}=self.${f}||${w};self.${y}=${I};`)+e},nonce:r})),h=a.createContext({preferNative:!0,hasProvider:!1}),Y=({preferNative:n=!0,nonce:r,children:e})=>{let t=a.useMemo(()=>({preferNative:n,hasProvider:!0}),[n]);return a.createElement(h.Provider,{value:t},g(!1,r),e)},P=a.forwardRef(({ratio:n=1,preferNative:r,nonce:e,children:t,as:l,...i},d)=>{let o=R(),s=a.useRef(),c=a.useContext(h),u=r!=null?r:c.preferNative,x=l||\"span\";return a.useImperativeHandle(d,()=>s.current,[]),m(()=>{u&&self[f]===1||s.current&&(self[y]=T)(0,n,s.current)},[t,u,n]),m(()=>{if(!(u&&self[f]===1))return()=>{if(!s.current)return;let b=s.current[S];b&&(b.disconnect(),delete s.current[S])}},[u]),process.env.NODE_ENV===\"development\"&&t&&!Array.isArray(t)&&typeof t==\"object\"&&\"type\"in t&&typeof t.type==\"string\"&&t.type!==\"span\"&&console.warn(`<Balancer> should not wrap <${t.type}> inside. Instead, it should directly wrap text or inline nodes.\n\nTry changing this:\n <Balancer><${t.type}>content</${t.type}></Balancer>\nTo:\n <${t.type}><Balancer>content</Balancer></${t.type}>`),a.createElement(a.Fragment,null,a.createElement(x,{...i,\"data-br\":o,\"data-brr\":n,ref:s,style:{display:\"inline-block\",verticalAlign:\"top\",textDecoration:\"inherit\",textWrap:u?\"balance\":\"initial\"},suppressHydrationWarning:!0},t),g(c.hasProvider,e,`self.${y}(\"${o}\",${n})`))});if(!E&&process.env.NODE_ENV!==\"production\"){let n=document.querySelector(\"[data-next-hide-fouc]\");if(n){let r=t=>{for(let l of t)for(let i of Array.from(l.removedNodes)){if(i!==n)continue;e.disconnect();let d=document.querySelectorAll(\"[data-br]\");for(let o of Array.from(d))self[y](0,+o.dataset.brr,o)}},e=new MutationObserver(r);e.observe(document.head,{childList:!0})}}var A=P;export{P as Balancer,Y as Provider,A as default};\n//# sourceMappingURL=index.mjs.map"],"names":["E","m","p","B","_","v","O","n","r","R","y","S","T","t","u","s","c","I","w","g","a","h","P","x","b","A"],"mappings":"qIAC0C,IAAIA,EAAE,OAAO,OAAQ,IAAYC,EAAED,EAAEE,EAAE,UAAUA,EAAE,gBAAgBC,EAAE,EAAEC,EAAE,IAAI,EAAED,EAAEE,EAAE,GAAG,SAASC,GAAG,CAAC,GAAG,CAACC,EAAEC,CAAC,EAAEN,EAAE,SAASG,EAAED,EAAE,MAAM,EAAE,OAAOH,EAAE,IAAI,CAACM,IAAI,QAAQC,EAAEJ,GAAG,EAAEC,EAAE,EAAE,EAAE,CAAA,CAAE,EAAEE,IAAI,OAAOA,EAAE,OAAOA,EAAE,SAAS,EAAE,CAAC,EAAE,CAAC,SAASE,GAAG,CAAC,OAAOP,EAAE,QAAQ,IAAI,UAAUA,EAAEA,EAAE,MAAMI,EAAE,CAAE,CAAA,GAAG,CAAI,IAACI,EAAE,WAAW,EAAE,W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,YAAY,EAAE,QAAQN,CAAC,KAAK,CAAC,KAAKH,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,GAAG,CAACP,GAAG,QAAQ,IAAI,WAAW,aAAa,CAAC,IAAIO,EAAE,SAAS,cAAc,uBAAuB,EAAE,GAAGA,EAAE,CAAC,IAAIC,EAAEK,GAAG,CAAC,QAAQ,KAAKA,EAAE,QAAQ,KAAK,MAAM,KAAK,EAAE,YAAY,EAAE,CAAC,GAAG,IAAIN,EAAE,SAAS,EAAE,WAAY,EAAC,IAAI,EAAE,SAAS,iBAAiB,WAAW,EAAE,QAAQ,KAAK,MAAM,KAAK,CAAC,EAAE,KAAKG,CAAC,EAAE,EAAE,CAAC,EAAE,QAAQ,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,IAAI,iBAAiBF,CAAC,EAAE,EAAE,QAAQ,SAAS,KAAK,CAAC,UAAU,EAAE,CAAC,CAAC,CAAC,CAAI,IAACiB,EAAEH","x_google_ignoreList":[0]}
|
package/dist/index.cjs26.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/CardCategory/CardCategory.css');const
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/CardCategory/CardCategory.css');const r=require("./index.cjs173.js"),n=require("./index.cjs175.js"),y=require("./index.cjs35.js");;/* empty css */const E=require("./index.cjs108.js"),w=require("./index.cjs10.js"),v=require("./index.cjs9.js"),C=({image:s,title:i,titleTag:u="h3",href:c,description:l,description2:d,isExternal:t=!1,showIcon:a=!1,goToLabel:e,asLink:p="a",asImage:j="img",className:h,classNameTitle:x,classNameDescription:f,handleOnClick:o})=>{const m=j,R=p;return r.jsxRuntimeExports.jsxs(R,{className:n.clsx("ui-card-category shadow br-x4 bg-white",h,o&&"cursor-pointer"),href:c,target:t?"_blank":void 0,rel:t?"noreferrer noopener":void 0,onClick:o??void 0,children:[(s==null?void 0:s.src)&&r.jsxRuntimeExports.jsx("header",{className:"ui-card-category-header",children:r.jsxRuntimeExports.jsx(m,{src:s==null?void 0:s.src,alt:s==null?void 0:s.alt,title:s==null?void 0:s.title})}),r.jsxRuntimeExports.jsxs(w.Col,{className:n.clsx(s!=null&&s.src?"ui-card-category-content-with-image ui-mt-negative":"ui-card-category-content","gap-x8 br-x4 bg-white"),children:[r.jsxRuntimeExports.jsxs(v.Row,{alignItems:"center",justifyContent:"space-between",gap:"x4",children:[r.jsxRuntimeExports.jsxs(u,{className:n.clsx("flex-1 cursor-pointer hover-underline",x||"text-primary fs-5 md-fs-custom-2"),children:[i,t&&r.jsxRuntimeExports.jsx("span",{className:"visually-hidden",children:"(si apre in una nuova finestra)"})]}),a&&r.jsxRuntimeExports.jsx("span",{children:r.jsxRuntimeExports.jsx(E.ExternalLink,{width:24,height:24,color:"primary",className:"ui-external-link"})})]}),r.jsxRuntimeExports.jsxs("div",{className:n.clsx(f),children:[r.jsxRuntimeExports.jsx("p",{className:"fs-6 md-fs-custom fw-regular text-slate-28",children:l}),r.jsxRuntimeExports.jsx("p",{className:"fs-6 md-fs-custom fw-regular text-slate-28",children:d})]})]}),e&&c&&r.jsxRuntimeExports.jsx("footer",{className:"ui-card-category-footer bg-white",children:r.jsxRuntimeExports.jsx(y.ArrowLink,{href:c??"#",isExternal:t,children:e==null?void 0:e.toUpperCase()})})]})};exports.CardCategory=C;
|
2
2
|
//# sourceMappingURL=index.cjs26.js.map
|
package/dist/index.cjs27.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/CardMapStructure/CardMap.css');const e=require("./index.cjs173.js");;/* empty css */const
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/CardMapStructure/CardMap.css');const e=require("./index.cjs173.js");;/* empty css */const o=require("react"),i=require("./index.cjs10.js"),R=({id:l,title:u,titleTag:x="h3",href:d,description:m,isExternal:a=!1,asLink:f="a",className:p,address:s,setSelectedCard:j=()=>{}})=>{const h=f,[t,c]=o.useState(!1),r=o.useRef(null);return o.useEffect(()=>{const n=v=>{r.current&&!r.current.contains(v.target)&&c(!1)};return t?document.addEventListener("mousedown",n):document.removeEventListener("mousedown",n),()=>{document.removeEventListener("mousedown",n)}},[t]),e.jsxRuntimeExports.jsxs(i.Col,{as:"div",justifyContent:"center",ref:r,br:"x4",p:"x24",bg:"white",className:`${p} ${t?"ui-is-active":"ui-card-search"} shadow cursor-pointer text-slate-28`,onClick:()=>{c(!0),j(l)},children:[e.jsxRuntimeExports.jsxs(i.Col,{pb:"x24",children:[e.jsxRuntimeExports.jsx(x,{className:"flex-1",children:e.jsxRuntimeExports.jsx(h,{className:"text-decoration-none fs-4 text-primary fw-semibold",href:d,target:a?"_blank":void 0,rel:a?"noreferrer noopener":void 0,children:u})}),e.jsxRuntimeExports.jsx("p",{className:"fs-6 fw-regular",children:m})]}),s&&s.streetName&&e.jsxRuntimeExports.jsxs(i.Col,{as:"footer",gap:"x8",bg:"white",children:[e.jsxRuntimeExports.jsx("h5",{className:"fw-semibold fs-6",children:"Indirizzo"}),e.jsxRuntimeExports.jsx("p",{className:"fw-regular",children:s.plainAddress})]})]})};exports.CardMap=R;
|
2
2
|
//# sourceMappingURL=index.cjs27.js.map
|
package/dist/index.cjs287.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("react"),T=require("./index.
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("react"),T=require("./index.cjs393.js"),E=require("./index.cjs394.js"),n=require("./index.cjs221.js"),h=require("./index.cjs395.js"),w=require("./index.cjs396.js"),i=require("./index.cjs173.js");function M(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(o,t,r.get?r:{enumerable:!0,get:()=>e[t]})}}return o.default=e,Object.freeze(o)}const l=M(b);var j="AlertDialog",[q,I]=T.createContextScope(j,[n.createDialogScope]),s=n.createDialogScope(),d=e=>{const{__scopeAlertDialog:o,...t}=e,r=s(o);return i.jsxRuntimeExports.jsx(n.Root,{...r,...t,modal:!0})};d.displayName=j;var $="AlertDialogTrigger",_=l.forwardRef((e,o)=>{const{__scopeAlertDialog:t,...r}=e,a=s(t);return i.jsxRuntimeExports.jsx(n.Trigger,{...a,...r,ref:o})});_.displayName=$;var L="AlertDialogPortal",A=e=>{const{__scopeAlertDialog:o,...t}=e,r=s(o);return i.jsxRuntimeExports.jsx(n.Portal,{...r,...t})};A.displayName=L;var F="AlertDialogOverlay",D=l.forwardRef((e,o)=>{const{__scopeAlertDialog:t,...r}=e,a=s(t);return i.jsxRuntimeExports.jsx(n.Overlay,{...a,...r,ref:o})});D.displayName=F;var c="AlertDialogContent",[G,W]=q(c),Y=w.createSlottable("AlertDialogContent"),v=l.forwardRef((e,o)=>{const{__scopeAlertDialog:t,children:r,...a}=e,u=s(t),g=l.useRef(null),P=E.useComposedRefs(o,g),R=l.useRef(null);return i.jsxRuntimeExports.jsx(n.WarningProvider,{contentName:c,titleName:C,docsSlug:"alert-dialog",children:i.jsxRuntimeExports.jsx(G,{scope:t,cancelRef:R,children:i.jsxRuntimeExports.jsxs(n.Content,{role:"alertdialog",...u,...a,ref:P,onOpenAutoFocus:h.composeEventHandlers(a.onOpenAutoFocus,p=>{var y;p.preventDefault(),(y=R.current)==null||y.focus({preventScroll:!0})}),onPointerDownOutside:p=>p.preventDefault(),onInteractOutside:p=>p.preventDefault(),children:[i.jsxRuntimeExports.jsx(Y,{children:r}),i.jsxRuntimeExports.jsx(z,{contentRef:g})]})})})});v.displayName=c;var C="AlertDialogTitle",f=l.forwardRef((e,o)=>{const{__scopeAlertDialog:t,...r}=e,a=s(t);return i.jsxRuntimeExports.jsx(n.Title,{...a,...r,ref:o})});f.displayName=C;var N="AlertDialogDescription",x=l.forwardRef((e,o)=>{const{__scopeAlertDialog:t,...r}=e,a=s(t);return i.jsxRuntimeExports.jsx(n.Description,{...a,...r,ref:o})});x.displayName=N;var k="AlertDialogAction",S=l.forwardRef((e,o)=>{const{__scopeAlertDialog:t,...r}=e,a=s(t);return i.jsxRuntimeExports.jsx(n.Close,{...a,...r,ref:o})});S.displayName=k;var O="AlertDialogCancel",m=l.forwardRef((e,o)=>{const{__scopeAlertDialog:t,...r}=e,{cancelRef:a}=W(O,t),u=s(t),g=E.useComposedRefs(o,a);return i.jsxRuntimeExports.jsx(n.Close,{...u,...r,ref:g})});m.displayName=O;var z=({contentRef:e})=>{const o=`\`${c}\` requires a description for the component to be accessible for screen reader users.
|
2
2
|
|
3
3
|
You can add a description to the \`${c}\` by passing a \`${N}\` component as a child, which also benefits sighted users by adding visible context to the dialog.
|
4
4
|
|
package/dist/index.cjs30.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/CardDocument/CardDocument.css');const e=require("./index.cjs173.js"),d=require("./index.cjs175.js");;/* empty css */const b=require("./index.cjs193.js"),y=require("./index.cjs214.js"),q=require("./index.cjs64.js"),s=require("./index.cjs9.js"),l=require("./index.cjs10.js"),u=require("./index.cjs25.js"),
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/CardDocument/CardDocument.css');const e=require("./index.cjs173.js"),d=require("./index.cjs175.js");;/* empty css */const b=require("./index.cjs193.js"),y=require("./index.cjs214.js"),q=require("./index.cjs64.js"),s=require("./index.cjs9.js"),l=require("./index.cjs10.js"),u=require("./index.cjs25.js"),v=({eventNumber:r,date:m="--/--/--",documentType:j,documentTitle:p,label:n,subtitle:i,action:x,CTA:o,handleDownloadDocument:R,hrefDocument:c="#",isLoading:t=!1,openDocumentLabel:h="Apri documento",releaseDateLabel:E="Emesso il",eventLabel:f="Evento n."})=>{const w=y.useIsDesktop(),a=()=>x?e.jsxRuntimeExports.jsxs(s.Row,{alignItems:"center",className:d.clsx(!t&&"cursor-pointer","text-decoration-none text-primary"),onClick:t?void 0:R,children:[e.jsxRuntimeExports.jsx("p",{children:x}),e.jsxRuntimeExports.jsx(q.Loader,{loading:t,className:"ml-x8"})]}):null;return e.jsxRuntimeExports.jsxs("div",{className:d.clsx("ui-card-document shadow br-x4 fw-semibold text-slate-28 fs-7"),children:[e.jsxRuntimeExports.jsxs(s.Row,{as:"header",justifyContent:"space-between",alignItems:"center",py:"x8",px:"x24",className:"ui-document-header",children:[e.jsxRuntimeExports.jsx(s.Row,{children:r?`${f} ${r}`:""}),e.jsxRuntimeExports.jsxs(s.Row,{children:[E," ",m]})]}),e.jsxRuntimeExports.jsxs("main",{className:"p-x16",children:[e.jsxRuntimeExports.jsxs(l.Col,{pb:"x32",justifyContent:"space-between",children:[e.jsxRuntimeExports.jsxs("div",{children:[e.jsxRuntimeExports.jsx(s.Row,{pb:"x8",children:j}),e.jsxRuntimeExports.jsx("h4",{className:"fs-5 text-slate-20",children:p}),e.jsxRuntimeExports.jsx(s.Row,{pt:"x8",children:n&&e.jsxRuntimeExports.jsx("div",{className:"bg-secondary text-white rounded py-x4 px-x16",style:{width:"max-content"},children:n})})]}),i&&e.jsxRuntimeExports.jsx("p",{className:"fw-regular fs-6 pt-x8",children:i})]}),w?e.jsxRuntimeExports.jsxs(s.Row,{as:"footer",justifyContent:"space-between",alignItems:"center",children:[a(),o&&e.jsxRuntimeExports.jsx(u.Button,{className:"filter-button fs-7 text-primary fw-semibold",variant:"secondary",size:"3",asLink:"a",href:c,children:o})]}):e.jsxRuntimeExports.jsxs(l.Col,{as:"footer",gap:"x16",children:[a(),e.jsxRuntimeExports.jsx(b.Divider,{bg:"border-divider"}),e.jsxRuntimeExports.jsx(u.Button,{className:"filter-button fs-7 fw-semibold w-full",variant:"secondary",size:"3",asLink:"a",href:c,disabled:!0,children:h})]})]})]})};exports.CardDocument=v;
|
2
2
|
//# sourceMappingURL=index.cjs30.js.map
|
package/dist/index.cjs301.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs320.js");/**
|
2
2
|
* @license React
|
3
3
|
* react-jsx-runtime.production.js
|
4
4
|
*
|
@@ -6,5 +6,5 @@
|
|
6
6
|
*
|
7
7
|
* This source code is licensed under the MIT license found in the
|
8
8
|
* LICENSE file in the root directory of this source tree.
|
9
|
-
*/var _;function
|
9
|
+
*/var _;function x(){if(_)return e.__exports;_=1;var n=Symbol.for("react.transitional.element"),i=Symbol.for("react.fragment");function s(l,r,t){var o=null;if(t!==void 0&&(o=""+t),r.key!==void 0&&(o=""+r.key),"key"in r){t={};for(var u in r)u!=="key"&&(t[u]=r[u])}else t=r;return r=t.ref,{$$typeof:n,type:l,key:o,ref:r!==void 0?r:null,props:t}}return e.__exports.Fragment=i,e.__exports.jsx=s,e.__exports.jsxs=s,e.__exports}exports.__require=x;
|
10
10
|
//# sourceMappingURL=index.cjs301.js.map
|
package/dist/index.cjs302.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const _=require("./index.
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const _=require("./index.cjs321.js"),Te=require("react");/**
|
2
2
|
* @license React
|
3
3
|
* react-jsx-runtime.development.js
|
4
4
|
*
|
@@ -6,19 +6,19 @@
|
|
6
6
|
*
|
7
7
|
* This source code is licensed under the MIT license found in the
|
8
8
|
* LICENSE file in the root directory of this source tree.
|
9
|
-
*/var ue;function we(){return ue||(ue=1,process.env.NODE_ENV!=="production"&&function(){function s(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===me?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case h:return"Fragment";case
|
10
|
-
at`)?" (<anonymous>)":-1<
|
11
|
-
`+N+e+re}function U(e,r){if(!e||P)return"";var
|
12
|
-
`),b=
|
13
|
-
`);for(
|
14
|
-
`+l[a].replace(" at new "," at ");return e.displayName&&m.includes("<anonymous>")&&(m=m.replace("<anonymous>",e.displayName)),typeof e=="function"&&Y.set(e,m),m}while(1<=a&&0<=
|
9
|
+
*/var ue;function we(){return ue||(ue=1,process.env.NODE_ENV!=="production"&&function(){function s(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===me?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case h:return"Fragment";case de:return"Portal";case H:return"Profiler";case G:return"StrictMode";case p:return"Suspense";case x:return"SuspenseList"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case X:return(e.displayName||"Context")+".Provider";case K:return(e._context.displayName||"Context")+".Consumer";case j:var r=e.render;return e=e.displayName,e||(e=r.displayName||r.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case A:return r=e.displayName||null,r!==null?r:s(e.type)||"Memo";case R:r=e._payload,e=e._init;try{return s(e(r))}catch{}}return null}function M(e){return""+e}function W(e){try{M(e);var r=!1}catch{r=!0}if(r){r=console;var o=r.error,n=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return o.call(r,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",n),M(e)}}function $(){}function le(){if(g===0){Z=console.log,F=console.info,I=console.warn,L=console.error,Q=console.group,D=console.groupCollapsed,ee=console.groupEnd;var e={configurable:!0,enumerable:!0,value:$,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}g++}function fe(){if(g--,g===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:v({},e,{value:Z}),info:v({},e,{value:F}),warn:v({},e,{value:I}),error:v({},e,{value:L}),group:v({},e,{value:Q}),groupCollapsed:v({},e,{value:D}),groupEnd:v({},e,{value:ee})})}0>g&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function y(e){if(N===void 0)try{throw Error()}catch(o){var r=o.stack.trim().match(/\n( *(at )?)/);N=r&&r[1]||"",re=-1<o.stack.indexOf(`
|
10
|
+
at`)?" (<anonymous>)":-1<o.stack.indexOf("@")?"@unknown:0:0":""}return`
|
11
|
+
`+N+e+re}function U(e,r){if(!e||P)return"";var o=Y.get(e);if(o!==void 0)return o;P=!0,o=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var n=null;n=E.H,E.H=null,le();try{var u={DetermineComponentFrameRoot:function(){try{if(r){var i=function(){throw Error()};if(Object.defineProperty(i.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(i,[])}catch(c){var T=c}Reflect.construct(e,[],i)}else{try{i.call()}catch(c){T=c}e.call(i.prototype)}}else{try{throw Error()}catch(c){T=c}(i=e())&&typeof i.catch=="function"&&i.catch(function(){})}}catch(c){if(c&&T&&typeof c.stack=="string")return[c.stack,T.stack]}return[null,null]}};u.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var a=Object.getOwnPropertyDescriptor(u.DetermineComponentFrameRoot,"name");a&&a.configurable&&Object.defineProperty(u.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var t=u.DetermineComponentFrameRoot(),f=t[0],d=t[1];if(f&&d){var l=f.split(`
|
12
|
+
`),b=d.split(`
|
13
|
+
`);for(t=a=0;a<l.length&&!l[a].includes("DetermineComponentFrameRoot");)a++;for(;t<b.length&&!b[t].includes("DetermineComponentFrameRoot");)t++;if(a===l.length||t===b.length)for(a=l.length-1,t=b.length-1;1<=a&&0<=t&&l[a]!==b[t];)t--;for(;1<=a&&0<=t;a--,t--)if(l[a]!==b[t]){if(a!==1||t!==1)do if(a--,t--,0>t||l[a]!==b[t]){var m=`
|
14
|
+
`+l[a].replace(" at new "," at ");return e.displayName&&m.includes("<anonymous>")&&(m=m.replace("<anonymous>",e.displayName)),typeof e=="function"&&Y.set(e,m),m}while(1<=a&&0<=t);break}}}finally{P=!1,E.H=n,fe(),Error.prepareStackTrace=o}return l=(l=e?e.displayName||e.name:"")?y(l):"",typeof e=="function"&&Y.set(e,l),l}function w(e){if(e==null)return"";if(typeof e=="function"){var r=e.prototype;return U(e,!(!r||!r.isReactComponent))}if(typeof e=="string")return y(e);switch(e){case p:return y("Suspense");case x:return y("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case j:return e=U(e.render,!1),e;case A:return w(e.type);case R:r=e._payload,e=e._init;try{return w(e(r))}catch{}}return""}function C(){var e=E.A;return e===null?null:e.getOwner()}function ce(e){if(J.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function se(e,r){function o(){oe||(oe=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",r))}o.isReactWarning=!0,Object.defineProperty(e,"key",{get:o,configurable:!0})}function ie(){var e=s(this.type);return te[e]||(te[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),e=this.props.ref,e!==void 0?e:null}function Ee(e,r,o,n,u,a){return o=a.ref,e={$$typeof:S,type:e,key:r,props:a,_owner:u},(o!==void 0?o:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:ie}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function z(e,r,o,n,u,a){if(typeof e=="string"||typeof e=="function"||e===h||e===H||e===G||e===p||e===x||e===ge||typeof e=="object"&&e!==null&&(e.$$typeof===R||e.$$typeof===A||e.$$typeof===X||e.$$typeof===K||e.$$typeof===j||e.$$typeof===_e||e.getModuleId!==void 0)){var t=r.children;if(t!==void 0)if(n)if(k(t)){for(n=0;n<t.length;n++)q(t[n],e);Object.freeze&&Object.freeze(t)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else q(t,e)}else t="",(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(t+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),e===null?n="null":k(e)?n="array":e!==void 0&&e.$$typeof===S?(n="<"+(s(e.type)||"Unknown")+" />",t=" Did you accidentally export a JSX literal instead of a component?"):n=typeof e,console.error("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",n,t);if(J.call(r,"key")){t=s(e);var f=Object.keys(r).filter(function(l){return l!=="key"});n=0<f.length?"{key: someKey, "+f.join(": ..., ")+": ...}":"{key: someKey}",ne[t+n]||(f=0<f.length?"{"+f.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
15
15
|
let props = %s;
|
16
16
|
<%s {...props} />
|
17
17
|
React keys must be passed directly to JSX without using spread:
|
18
18
|
let props = %s;
|
19
|
-
<%s key={someKey} {...props} />`,n,
|
19
|
+
<%s key={someKey} {...props} />`,n,t,f,t),ne[t+n]=!0)}if(t=null,o!==void 0&&(W(o),t=""+o),ce(r)&&(W(r.key),t=""+r.key),"key"in r){o={};for(var d in r)d!=="key"&&(o[d]=r[d])}else o=r;return t&&se(o,typeof e=="function"?e.displayName||e.name||"Unknown":e),Ee(e,t,a,u,C(),o)}function q(e,r){if(typeof e=="object"&&e&&e.$$typeof!==ye){if(k(e))for(var o=0;o<e.length;o++){var n=e[o];O(n)&&V(n,r)}else if(O(e))e._store&&(e._store.validated=1);else if(e===null||typeof e!="object"?o=null:(o=B&&e[B]||e["@@iterator"],o=typeof o=="function"?o:null),typeof o=="function"&&o!==e.entries&&(o=o.call(e),o!==e))for(;!(e=o.next()).done;)O(e.value)&&V(e.value,r)}}function O(e){return typeof e=="object"&&e!==null&&e.$$typeof===S}function V(e,r){if(e._store&&!e._store.validated&&e.key==null&&(e._store.validated=1,r=ve(r),!ae[r])){ae[r]=!0;var o="";e&&e._owner!=null&&e._owner!==C()&&(o=null,typeof e._owner.tag=="number"?o=s(e._owner.type):typeof e._owner.name=="string"&&(o=e._owner.name),o=" It was passed a child from "+o+".");var n=E.getCurrentStack;E.getCurrentStack=function(){var u=w(e.type);return n&&(u+=n()||""),u},console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',r,o),E.getCurrentStack=n}}function ve(e){var r="",o=C();return o&&(o=s(o.type))&&(r=`
|
20
20
|
|
21
|
-
Check the render method of \``+
|
21
|
+
Check the render method of \``+o+"`."),r||(e=s(e))&&(r=`
|
22
22
|
|
23
|
-
Check the top-level render call using <`+e+">."),r}var be=Te,S=Symbol.for("react.transitional.element"),
|
23
|
+
Check the top-level render call using <`+e+">."),r}var be=Te,S=Symbol.for("react.transitional.element"),de=Symbol.for("react.portal"),h=Symbol.for("react.fragment"),G=Symbol.for("react.strict_mode"),H=Symbol.for("react.profiler"),K=Symbol.for("react.consumer"),X=Symbol.for("react.context"),j=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),x=Symbol.for("react.suspense_list"),A=Symbol.for("react.memo"),R=Symbol.for("react.lazy"),ge=Symbol.for("react.offscreen"),B=Symbol.iterator,me=Symbol.for("react.client.reference"),E=be.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,J=Object.prototype.hasOwnProperty,v=Object.assign,_e=Symbol.for("react.client.reference"),k=Array.isArray,g=0,Z,F,I,L,Q,D,ee;$.__reactDisabledLog=!0;var N,re,P=!1,Y=new(typeof WeakMap=="function"?WeakMap:Map),ye=Symbol.for("react.client.reference"),oe,te={},ne={},ae={};_.__exports.Fragment=h,_.__exports.jsx=function(e,r,o,n,u){return z(e,r,o,!1,n,u)},_.__exports.jsxs=function(e,r,o,n,u){return z(e,r,o,!0,n,u)}}()),_.__exports}exports.__require=we;
|
24
24
|
//# sourceMappingURL=index.cjs302.js.map
|
package/dist/index.cjs309.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const g=require("react"),j=require("./index.cjs173.js");function _(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const u=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,u.get?u:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const p=_(g);function
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const g=require("react"),j=require("./index.cjs173.js");function _(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const u=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,u.get?u:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const p=_(g);function v(e,r=[]){let t=[];function u(a,n){const o=p.createContext(n),c=t.length;t=[...t,n];const l=x=>{var b;const{scope:s,children:m,...f}=x,d=((b=s==null?void 0:s[e])==null?void 0:b[c])||o,C=p.useMemo(()=>f,Object.values(f));return j.jsxRuntimeExports.jsx(d.Provider,{value:C,children:m})};l.displayName=a+"Provider";function S(x,s){var d;const m=((d=s==null?void 0:s[e])==null?void 0:d[c])||o,f=p.useContext(m);if(f)return f;if(n!==void 0)return n;throw new Error(`\`${x}\` must be used within \`${a}\``)}return[l,S]}const i=()=>{const a=t.map(n=>p.createContext(n));return function(o){const c=(o==null?void 0:o[e])||a;return p.useMemo(()=>({[`__scope${e}`]:{...o,[e]:c}}),[o,c])}};return i.scopeName=e,[u,P(i,...r)]}function P(...e){const r=e[0];if(e.length===1)return r;const t=()=>{const u=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(a){const n=u.reduce((o,{useScope:c,scopeName:l})=>{const x=c(a)[`__scope${l}`];return{...o,...x}},{});return p.useMemo(()=>({[`__scope${r.scopeName}`]:n}),[n])}};return t.scopeName=r.scopeName,t}exports.createContextScope=v;
|
2
2
|
//# sourceMappingURL=index.cjs309.js.map
|