@anoki/fse-ui 1.0.0-beta1.46.1 → 1.0.0-beta1.47.1
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.cjs259.js +1 -1
- package/dist/index.cjs260.js +1 -1
- package/dist/index.cjs261.js +1 -1
- package/dist/index.cjs290.js +1 -1
- package/dist/index.cjs295.js +1 -1
- package/dist/index.cjs303.js +1 -1
- package/dist/index.cjs314.js +1 -1
- package/dist/index.cjs32.js +1 -1
- package/dist/index.cjs321.js +1 -1
- package/dist/index.cjs328.js +1 -1
- package/dist/index.cjs329.js +1 -1
- package/dist/index.cjs33.js +1 -1
- package/dist/index.cjs333.js +1 -1
- package/dist/index.cjs342.js +1 -1
- package/dist/index.cjs344.js +1 -1
- package/dist/index.cjs352.js +1 -1
- package/dist/index.cjs393.js +1 -1
- package/dist/index.cjs399.js +1 -1
- package/dist/index.cjs433.js +1 -1
- package/dist/index.cjs458.js +1 -1
- package/dist/index.cjs463.js +1 -1
- package/dist/index.cjs463.js.map +1 -1
- package/dist/index.cjs464.js +1 -1
- package/dist/index.cjs465.js +1 -1
- package/dist/index.cjs465.js.map +1 -1
- package/dist/index.cjs466.js +1 -1
- package/dist/index.cjs466.js.map +1 -1
- package/dist/index.cjs468.js +1 -1
- package/dist/index.cjs468.js.map +1 -1
- package/dist/index.cjs469.js +1 -1
- package/dist/index.cjs469.js.map +1 -1
- package/dist/index.cjs470.js +1 -1
- package/dist/index.cjs470.js.map +1 -1
- package/dist/index.cjs471.js +1 -1
- package/dist/index.cjs472.js +1 -1
- package/dist/index.cjs472.js.map +1 -1
- package/dist/index.cjs473.js +1 -1
- package/dist/index.cjs473.js.map +1 -1
- package/dist/index.cjs474.js +1 -1
- package/dist/index.cjs474.js.map +1 -1
- package/dist/index.cjs475.js +1 -1
- package/dist/index.cjs475.js.map +1 -1
- package/dist/index.cjs476.js +1 -1
- package/dist/index.cjs476.js.map +1 -1
- package/dist/index.cjs477.js +1 -1
- package/dist/index.cjs477.js.map +1 -1
- package/dist/index.cjs478.js +1 -1
- package/dist/index.cjs478.js.map +1 -1
- package/dist/index.cjs479.js +2 -0
- package/dist/index.cjs479.js.map +1 -0
- package/dist/index.cjs480.js +2 -0
- package/dist/index.cjs480.js.map +1 -0
- package/dist/index.cjs481.js +1 -1
- package/dist/index.cjs481.js.map +1 -1
- package/dist/index.cjs482.js +1 -1
- package/dist/index.cjs482.js.map +1 -1
- package/dist/index.cjs483.js +1 -1
- package/dist/index.cjs483.js.map +1 -1
- package/dist/index.cjs484.js +1 -1
- package/dist/index.cjs484.js.map +1 -1
- package/dist/index.cjs485.js +1 -1
- package/dist/index.cjs485.js.map +1 -1
- package/dist/index.cjs486.js +1 -1
- package/dist/index.cjs486.js.map +1 -1
- package/dist/index.cjs487.js +1 -1
- package/dist/index.cjs487.js.map +1 -1
- package/dist/index.cjs488.js +1 -1
- package/dist/index.cjs488.js.map +1 -1
- package/dist/index.cjs489.js +1 -1
- package/dist/index.cjs489.js.map +1 -1
- package/dist/index.cjs490.js +1 -1
- package/dist/index.cjs490.js.map +1 -1
- package/dist/index.cjs491.js +1 -1
- package/dist/index.cjs491.js.map +1 -1
- package/dist/index.cjs492.js +1 -1
- package/dist/index.cjs492.js.map +1 -1
- package/dist/index.cjs493.js +1 -1
- package/dist/index.cjs493.js.map +1 -1
- package/dist/index.cjs494.js +1 -1
- package/dist/index.cjs494.js.map +1 -1
- package/dist/index.cjs495.js +1 -1
- package/dist/index.cjs495.js.map +1 -1
- package/dist/index.cjs496.js +1 -1
- package/dist/index.cjs496.js.map +1 -1
- package/dist/index.cjs497.js +1 -1
- package/dist/index.cjs497.js.map +1 -1
- package/dist/index.cjs498.js +1 -1
- package/dist/index.cjs498.js.map +1 -1
- package/dist/index.cjs499.js +2 -0
- package/dist/{index.cjs521.js.map → index.cjs499.js.map} +1 -1
- package/dist/{index.cjs522.js → index.cjs500.js} +2 -2
- package/dist/{index.cjs522.js.map → index.cjs500.js.map} +1 -1
- package/dist/{index.cjs523.js → index.cjs501.js} +2 -2
- package/dist/{index.cjs523.js.map → index.cjs501.js.map} +1 -1
- package/dist/index.cjs502.js +2 -0
- package/dist/index.cjs502.js.map +1 -0
- package/dist/index.cjs503.js +2 -0
- package/dist/index.cjs503.js.map +1 -0
- package/dist/index.cjs504.js +2 -0
- package/dist/index.cjs504.js.map +1 -0
- package/dist/{index.cjs527.js → index.cjs505.js} +1 -1
- package/dist/{index.cjs527.js.map → index.cjs505.js.map} +1 -1
- package/dist/index.cjs506.js +2 -0
- package/dist/index.cjs506.js.map +1 -0
- package/dist/{index.cjs529.js → index.cjs507.js} +2 -2
- package/dist/{index.cjs529.js.map → index.cjs507.js.map} +1 -1
- package/dist/{index.cjs530.js → index.cjs508.js} +2 -2
- package/dist/{index.cjs530.js.map → index.cjs508.js.map} +1 -1
- package/dist/{index.cjs531.js → index.cjs509.js} +1 -1
- package/dist/{index.cjs531.js.map → index.cjs509.js.map} +1 -1
- package/dist/{index.cjs532.js → index.cjs510.js} +1 -1
- package/dist/{index.cjs532.js.map → index.cjs510.js.map} +1 -1
- package/dist/index.cjs511.js +2 -0
- package/dist/index.cjs511.js.map +1 -0
- package/dist/{index.cjs533.js → index.cjs514.js} +1 -1
- package/dist/{index.cjs533.js.map → index.cjs514.js.map} +1 -1
- package/dist/index.cjs515.js +1 -1
- package/dist/index.cjs515.js.map +1 -1
- package/dist/index.cjs516.js +1 -1
- package/dist/index.cjs516.js.map +1 -1
- package/dist/index.cjs524.js +1 -1
- package/dist/index.cjs524.js.map +1 -1
- package/dist/index.cjs525.js +1 -1
- package/dist/index.cjs525.js.map +1 -1
- package/dist/index.cjs526.js +1 -1
- package/dist/index.cjs526.js.map +1 -1
- package/dist/index.cjs528.js +1 -1
- package/dist/index.cjs528.js.map +1 -1
- package/dist/index.cjs540.js +1 -1
- package/dist/index.cjs545.js +1 -1
- package/dist/index.cjs546.js +1 -1
- package/dist/index.cjs548.js +1 -1
- package/dist/index.cjs549.js +1 -1
- package/dist/index.cjs550.js +1 -1
- package/dist/index.cjs551.js +1 -1
- package/dist/index.cjs554.js +1 -1
- package/dist/index.cjs557.js +1 -1
- package/dist/index.cjs562.js +1 -1
- package/dist/index.cjs564.js +1 -1
- package/dist/index.cjs567.js +1 -1
- package/dist/index.cjs571.js +1 -1
- package/dist/index.cjs571.js.map +1 -1
- package/dist/index.cjs572.js +1 -1
- package/dist/index.cjs572.js.map +1 -1
- package/dist/{index.cjs580.js → index.cjs573.js} +1 -1
- package/dist/{index.cjs580.js.map → index.cjs573.js.map} +1 -1
- package/dist/{index.cjs581.js → index.cjs574.js} +1 -1
- package/dist/{index.cjs581.js.map → index.cjs574.js.map} +1 -1
- package/dist/{index.cjs582.js → index.cjs575.js} +1 -1
- package/dist/{index.cjs582.js.map → index.cjs575.js.map} +1 -1
- package/dist/index.cjs576.js +2 -0
- package/dist/index.cjs576.js.map +1 -0
- package/dist/index.cjs577.js +1 -1
- package/dist/index.cjs577.js.map +1 -1
- package/dist/index.cjs583.js +1 -1
- package/dist/index.cjs583.js.map +1 -1
- package/dist/index.cjs584.js +1 -1
- package/dist/index.cjs584.js.map +1 -1
- package/dist/index.cjs67.js +1 -1
- package/dist/index.cjs67.js.map +1 -1
- package/dist/index.es259.js +1 -1
- package/dist/index.es260.js +2 -2
- package/dist/index.es261.js +2 -2
- package/dist/index.es290.js +6 -6
- package/dist/index.es295.js +1 -1
- package/dist/index.es303.js +7 -7
- package/dist/index.es314.js +1 -1
- package/dist/index.es32.js +1 -1
- package/dist/index.es321.js +13 -13
- package/dist/index.es328.js +1 -1
- package/dist/index.es329.js +1 -1
- package/dist/index.es33.js +1 -1
- package/dist/index.es333.js +1 -1
- package/dist/index.es342.js +1 -1
- package/dist/index.es344.js +1 -1
- package/dist/index.es352.js +6 -6
- package/dist/index.es393.js +4 -4
- package/dist/index.es399.js +1 -1
- package/dist/index.es433.js +1 -1
- package/dist/index.es458.js +1 -1
- package/dist/index.es463.js +8 -131
- package/dist/index.es463.js.map +1 -1
- package/dist/index.es464.js +1 -1
- package/dist/index.es465.js +3 -9
- package/dist/index.es465.js.map +1 -1
- package/dist/index.es466.js +131 -2
- package/dist/index.es466.js.map +1 -1
- package/dist/index.es468.js +5 -25
- package/dist/index.es468.js.map +1 -1
- package/dist/index.es469.js +23 -64
- package/dist/index.es469.js.map +1 -1
- package/dist/index.es470.js +66 -5
- package/dist/index.es470.js.map +1 -1
- package/dist/index.es471.js +1 -1
- package/dist/index.es472.js +33 -5
- package/dist/index.es472.js.map +1 -1
- package/dist/index.es473.js +621 -24
- package/dist/index.es473.js.map +1 -1
- package/dist/index.es474.js +10 -68
- package/dist/index.es474.js.map +1 -1
- package/dist/index.es475.js +5 -33
- package/dist/index.es475.js.map +1 -1
- package/dist/index.es476.js +25 -4
- package/dist/index.es476.js.map +1 -1
- package/dist/index.es477.js +63 -51
- package/dist/index.es477.js.map +1 -1
- package/dist/index.es478.js +3 -14
- package/dist/index.es478.js.map +1 -1
- package/dist/index.es479.js +60 -0
- package/dist/index.es479.js.map +1 -0
- package/dist/index.es480.js +49 -0
- package/dist/index.es480.js.map +1 -0
- package/dist/index.es481.js +12 -620
- package/dist/index.es481.js.map +1 -1
- package/dist/index.es482.js +124 -10
- package/dist/index.es482.js.map +1 -1
- package/dist/index.es483.js +14 -45
- package/dist/index.es483.js.map +1 -1
- package/dist/index.es484.js +134 -13
- package/dist/index.es484.js.map +1 -1
- package/dist/index.es485.js +206 -113
- package/dist/index.es485.js.map +1 -1
- package/dist/index.es486.js +13 -14
- package/dist/index.es486.js.map +1 -1
- package/dist/index.es487.js +173 -127
- package/dist/index.es487.js.map +1 -1
- package/dist/index.es488.js +10 -217
- package/dist/index.es488.js.map +1 -1
- package/dist/index.es489.js +50 -14
- package/dist/index.es489.js.map +1 -1
- package/dist/index.es490.js +9 -181
- package/dist/index.es490.js.map +1 -1
- package/dist/index.es491.js +10 -9
- package/dist/index.es491.js.map +1 -1
- package/dist/index.es492.js +203 -48
- package/dist/index.es492.js.map +1 -1
- package/dist/index.es493.js +21 -8
- package/dist/index.es493.js.map +1 -1
- package/dist/index.es494.js +394 -12
- package/dist/index.es494.js.map +1 -1
- package/dist/index.es495.js +24 -11
- package/dist/index.es495.js.map +1 -1
- package/dist/index.es496.js +28 -204
- package/dist/index.es496.js.map +1 -1
- package/dist/index.es497.js +5 -22
- package/dist/index.es497.js.map +1 -1
- package/dist/index.es498.js +5 -397
- package/dist/index.es498.js.map +1 -1
- package/dist/index.es499.js +6 -0
- package/dist/{index.es521.js.map → index.es499.js.map} +1 -1
- package/dist/{index.es522.js → index.es500.js} +3 -3
- package/dist/{index.es522.js.map → index.es500.js.map} +1 -1
- package/dist/{index.es523.js → index.es501.js} +6 -6
- package/dist/{index.es523.js.map → index.es501.js.map} +1 -1
- package/dist/index.es502.js +19 -0
- package/dist/index.es502.js.map +1 -0
- package/dist/index.es503.js +530 -0
- package/dist/index.es503.js.map +1 -0
- package/dist/index.es504.js +130 -0
- package/dist/index.es504.js.map +1 -0
- package/dist/{index.es527.js → index.es505.js} +1 -1
- package/dist/{index.es527.js.map → index.es505.js.map} +1 -1
- package/dist/index.es506.js +18 -0
- package/dist/index.es506.js.map +1 -0
- package/dist/{index.es529.js → index.es507.js} +4 -4
- package/dist/{index.es529.js.map → index.es507.js.map} +1 -1
- package/dist/{index.es530.js → index.es508.js} +2 -2
- package/dist/{index.es530.js.map → index.es508.js.map} +1 -1
- package/dist/{index.es531.js → index.es509.js} +1 -1
- package/dist/{index.es531.js.map → index.es509.js.map} +1 -1
- package/dist/{index.es532.js → index.es510.js} +1 -1
- package/dist/{index.es532.js.map → index.es510.js.map} +1 -1
- package/dist/index.es511.js +68 -0
- package/dist/index.es511.js.map +1 -0
- package/dist/{index.es533.js → index.es514.js} +1 -1
- package/dist/{index.es533.js.map → index.es514.js.map} +1 -1
- package/dist/index.es515.js +22 -24
- package/dist/index.es515.js.map +1 -1
- package/dist/index.es516.js +14 -28
- package/dist/index.es516.js.map +1 -1
- package/dist/index.es524.js +12 -15
- package/dist/index.es524.js.map +1 -1
- package/dist/index.es525.js +22 -521
- package/dist/index.es525.js.map +1 -1
- package/dist/index.es526.js +4 -126
- package/dist/index.es526.js.map +1 -1
- package/dist/index.es528.js +22 -64
- package/dist/index.es528.js.map +1 -1
- package/dist/index.es540.js +3 -3
- package/dist/index.es545.js +1 -1
- package/dist/index.es546.js +2 -2
- package/dist/index.es548.js +1 -1
- package/dist/index.es549.js +2 -2
- package/dist/index.es550.js +14 -14
- package/dist/index.es551.js +2 -2
- package/dist/index.es554.js +2 -2
- package/dist/index.es557.js +8 -8
- package/dist/index.es562.js +8 -8
- package/dist/index.es564.js +1 -1
- package/dist/index.es567.js +1 -1
- package/dist/index.es571.js +16 -6
- package/dist/index.es571.js.map +1 -1
- package/dist/index.es572.js +6 -16
- package/dist/index.es572.js.map +1 -1
- package/dist/{index.es580.js → index.es573.js} +1 -1
- package/dist/{index.es580.js.map → index.es573.js.map} +1 -1
- package/dist/{index.es581.js → index.es574.js} +1 -1
- package/dist/{index.es581.js.map → index.es574.js.map} +1 -1
- package/dist/{index.es582.js → index.es575.js} +1 -1
- package/dist/{index.es582.js.map → index.es575.js.map} +1 -1
- package/dist/index.es576.js +5 -0
- package/dist/index.es576.js.map +1 -0
- package/dist/index.es577.js +3 -73
- package/dist/index.es577.js.map +1 -1
- package/dist/index.es583.js +74 -2
- package/dist/index.es583.js.map +1 -1
- package/dist/index.es584.js +2 -4
- package/dist/index.es584.js.map +1 -1
- package/dist/index.es67.js +48 -39
- package/dist/index.es67.js.map +1 -1
- package/package.json +1 -1
- package/dist/index.cjs517.js +0 -2
- package/dist/index.cjs517.js.map +0 -1
- package/dist/index.cjs520.js +0 -2
- package/dist/index.cjs520.js.map +0 -1
- package/dist/index.cjs521.js +0 -2
- package/dist/index.cjs534.js +0 -2
- package/dist/index.cjs534.js.map +0 -1
- package/dist/index.cjs535.js +0 -2
- package/dist/index.cjs535.js.map +0 -1
- package/dist/index.cjs536.js +0 -2
- package/dist/index.cjs536.js.map +0 -1
- package/dist/index.cjs537.js +0 -2
- package/dist/index.cjs537.js.map +0 -1
- package/dist/index.cjs538.js +0 -2
- package/dist/index.cjs538.js.map +0 -1
- package/dist/index.cjs578.js +0 -2
- package/dist/index.cjs578.js.map +0 -1
- package/dist/index.es517.js +0 -8
- package/dist/index.es517.js.map +0 -1
- package/dist/index.es520.js +0 -8
- package/dist/index.es520.js.map +0 -1
- package/dist/index.es521.js +0 -6
- package/dist/index.es534.js +0 -26
- package/dist/index.es534.js.map +0 -1
- package/dist/index.es535.js +0 -16
- package/dist/index.es535.js.map +0 -1
- package/dist/index.es536.js +0 -31
- package/dist/index.es536.js.map +0 -1
- package/dist/index.es537.js +0 -8
- package/dist/index.es537.js.map +0 -1
- package/dist/index.es538.js +0 -26
- package/dist/index.es538.js.map +0 -1
- package/dist/index.es578.js +0 -5
- package/dist/index.es578.js.map +0 -1
- /package/dist/components/ui/{CardMapDoctorV2/CardMapDoctorV2.css → CardMapDoctor/CardMapDoctor.css} +0 -0
- /package/dist/components/ui/{ConsentModal/ConsentModalContent/ConsentModalContent.css → DoctorConfirmModal/DoctorConfirmModalContent/DoctorConfirmModalContent.css} +0 -0
- /package/dist/components/ui/{ConsentModal/ConsentModalFooter/ConsentModalFooter.css → DoctorModal/DoctorModalFooter/DoctorModalFooter.css} +0 -0
package/dist/index.cjs259.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";const w=require("./index.
|
1
|
+
"use strict";const w=require("./index.cjs463.js"),l=require("./index.cjs464.js");function L(x){let{swiper:a,extendParams:C,on:c,emit:g}=x;C({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),a.navigation={nextEl:null,prevEl:null};function u(i){let n;return i&&typeof i=="string"&&a.isElement&&(n=a.el.querySelector(i)||a.hostEl.querySelector(i),n)?n:(i&&(typeof i=="string"&&(n=[...document.querySelectorAll(i)]),a.params.uniqueNavElements&&typeof i=="string"&&n&&n.length>1&&a.el.querySelectorAll(i).length===1?n=a.el.querySelector(i):n&&n.length===1&&(n=n[0])),i&&!n?i:n)}function v(i,n){const t=a.params.navigation;i=l.m(i),i.forEach(e=>{e&&(e.classList[n?"add":"remove"](...t.disabledClass.split(" ")),e.tagName==="BUTTON"&&(e.disabled=n),a.params.watchOverflow&&a.enabled&&e.classList[a.isLocked?"add":"remove"](t.lockClass))})}function d(){const{nextEl:i,prevEl:n}=a.navigation;if(a.params.loop){v(n,!1),v(i,!1);return}v(n,a.isBeginning&&!a.params.rewind),v(i,a.isEnd&&!a.params.rewind)}function E(i){i.preventDefault(),!(a.isBeginning&&!a.params.loop&&!a.params.rewind)&&(a.slidePrev(),g("navigationPrev"))}function h(i){i.preventDefault(),!(a.isEnd&&!a.params.loop&&!a.params.rewind)&&(a.slideNext(),g("navigationNext"))}function f(){const i=a.params.navigation;if(a.params.navigation=w.c(a,a.originalParams.navigation,a.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!(i.nextEl||i.prevEl))return;let n=u(i.nextEl),t=u(i.prevEl);Object.assign(a.navigation,{nextEl:n,prevEl:t}),n=l.m(n),t=l.m(t);const e=(s,p)=>{s&&s.addEventListener("click",p==="next"?h:E),!a.enabled&&s&&s.classList.add(...i.lockClass.split(" "))};n.forEach(s=>e(s,"next")),t.forEach(s=>e(s,"prev"))}function m(){let{nextEl:i,prevEl:n}=a.navigation;i=l.m(i),n=l.m(n);const t=(e,s)=>{e.removeEventListener("click",s==="next"?h:E),e.classList.remove(...a.params.navigation.disabledClass.split(" "))};i.forEach(e=>t(e,"next")),n.forEach(e=>t(e,"prev"))}c("init",()=>{a.params.navigation.enabled===!1?b():(f(),d())}),c("toEdge fromEdge lock unlock",()=>{d()}),c("destroy",()=>{m()}),c("enable disable",()=>{let{nextEl:i,prevEl:n}=a.navigation;if(i=l.m(i),n=l.m(n),a.enabled){d();return}[...i,...n].filter(t=>!!t).forEach(t=>t.classList.add(a.params.navigation.lockClass))}),c("click",(i,n)=>{let{nextEl:t,prevEl:e}=a.navigation;t=l.m(t),e=l.m(e);const s=n.target;let p=e.includes(s)||t.includes(s);if(a.isElement&&!p){const r=n.path||n.composedPath&&n.composedPath();r&&(p=r.find(o=>t.includes(o)||e.includes(o)))}if(a.params.navigation.hideOnClick&&!p){if(a.pagination&&a.params.pagination&&a.params.pagination.clickable&&(a.pagination.el===s||a.pagination.el.contains(s)))return;let r;t.length?r=t[0].classList.contains(a.params.navigation.hiddenClass):e.length&&(r=e[0].classList.contains(a.params.navigation.hiddenClass)),g(r===!0?"navigationShow":"navigationHide"),[...t,...e].filter(o=>!!o).forEach(o=>o.classList.toggle(a.params.navigation.hiddenClass))}});const k=()=>{a.el.classList.remove(...a.params.navigation.navigationDisabledClass.split(" ")),f(),d()},b=()=>{a.el.classList.add(...a.params.navigation.navigationDisabledClass.split(" ")),m()};Object.assign(a.navigation,{enable:k,disable:b,update:d,init:f,destroy:m})}module.exports=L;
|
2
2
|
//# sourceMappingURL=index.cjs259.js.map
|
package/dist/index.cjs260.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";const $=require("./index.
|
1
|
+
"use strict";const $=require("./index.cjs465.js"),q=require("./index.cjs463.js"),f=require("./index.cjs464.js");function w(S){let{swiper:e,extendParams:H,on:u,emit:v}=S;const d="swiper-pagination";H({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:a=>a,formatFractionTotal:a=>a,bulletClass:`${d}-bullet`,bulletActiveClass:`${d}-bullet-active`,modifierClass:`${d}-`,currentClass:`${d}-current`,totalClass:`${d}-total`,hiddenClass:`${d}-hidden`,progressbarFillClass:`${d}-progressbar-fill`,progressbarOppositeClass:`${d}-progressbar-opposite`,clickableClass:`${d}-clickable`,lockClass:`${d}-lock`,horizontalClass:`${d}-horizontal`,verticalClass:`${d}-vertical`,paginationDisabledClass:`${d}-disabled`}}),e.pagination={el:null,bullets:[]};let b,m=0;function k(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&e.pagination.el.length===0}function x(a,s){const{bulletActiveClass:i}=e.params.pagination;a&&(a=a[`${s==="prev"?"previous":"next"}ElementSibling`],a&&(a.classList.add(`${i}-${s}`),a=a[`${s==="prev"?"previous":"next"}ElementSibling`],a&&a.classList.add(`${i}-${s}-${s}`)))}function I(a,s,i){if(a=a%i,s=s%i,s===a+1)return"next";if(s===a-1)return"previous"}function D(a){const s=a.target.closest($.c(e.params.pagination.bulletClass));if(!s)return;a.preventDefault();const i=f.h(s)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===i)return;const t=I(e.realIndex,i,e.slides.length);t==="next"?e.slideNext():t==="previous"?e.slidePrev():e.slideToLoop(i)}else e.slideTo(i)}function h(){const a=e.rtl,s=e.params.pagination;if(k())return;let i=e.pagination.el;i=f.m(i);let t,c;const C=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,z=e.params.loop?Math.ceil(C/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(c=e.previousRealIndex||0,t=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):typeof e.snapIndex<"u"?(t=e.snapIndex,c=e.previousSnapIndex):(c=e.previousIndex||0,t=e.activeIndex||0),s.type==="bullets"&&e.pagination.bullets&&e.pagination.bullets.length>0){const l=e.pagination.bullets;let g,p,L;if(s.dynamicBullets&&(b=f.f(l[0],e.isHorizontal()?"width":"height"),i.forEach(n=>{n.style[e.isHorizontal()?"width":"height"]=`${b*(s.dynamicMainBullets+4)}px`}),s.dynamicMainBullets>1&&c!==void 0&&(m+=t-(c||0),m>s.dynamicMainBullets-1?m=s.dynamicMainBullets-1:m<0&&(m=0)),g=Math.max(t-m,0),p=g+(Math.min(l.length,s.dynamicMainBullets)-1),L=(p+g)/2),l.forEach(n=>{const r=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(o=>`${s.bulletActiveClass}${o}`)].map(o=>typeof o=="string"&&o.includes(" ")?o.split(" "):o).flat();n.classList.remove(...r)}),i.length>1)l.forEach(n=>{const r=f.h(n);r===t?n.classList.add(...s.bulletActiveClass.split(" ")):e.isElement&&n.setAttribute("part","bullet"),s.dynamicBullets&&(r>=g&&r<=p&&n.classList.add(...`${s.bulletActiveClass}-main`.split(" ")),r===g&&x(n,"prev"),r===p&&x(n,"next"))});else{const n=l[t];if(n&&n.classList.add(...s.bulletActiveClass.split(" ")),e.isElement&&l.forEach((r,o)=>{r.setAttribute("part",o===t?"bullet-active":"bullet")}),s.dynamicBullets){const r=l[g],o=l[p];for(let y=g;y<=p;y+=1)l[y]&&l[y].classList.add(...`${s.bulletActiveClass}-main`.split(" "));x(r,"prev"),x(o,"next")}}if(s.dynamicBullets){const n=Math.min(l.length,s.dynamicMainBullets+4),r=(b*n-b)/2-L*b,o=a?"right":"left";l.forEach(y=>{y.style[e.isHorizontal()?o:"top"]=`${r}px`})}}i.forEach((l,g)=>{if(s.type==="fraction"&&(l.querySelectorAll($.c(s.currentClass)).forEach(p=>{p.textContent=s.formatFractionCurrent(t+1)}),l.querySelectorAll($.c(s.totalClass)).forEach(p=>{p.textContent=s.formatFractionTotal(z)})),s.type==="progressbar"){let p;s.progressbarOpposite?p=e.isHorizontal()?"vertical":"horizontal":p=e.isHorizontal()?"horizontal":"vertical";const L=(t+1)/z;let n=1,r=1;p==="horizontal"?n=L:r=L,l.querySelectorAll($.c(s.progressbarFillClass)).forEach(o=>{o.style.transform=`translate3d(0,0,0) scaleX(${n}) scaleY(${r})`,o.style.transitionDuration=`${e.params.speed}ms`})}s.type==="custom"&&s.renderCustom?(l.innerHTML=s.renderCustom(e,t+1,z),g===0&&v("paginationRender",l)):(g===0&&v("paginationRender",l),v("paginationUpdate",l)),e.params.watchOverflow&&e.enabled&&l.classList[e.isLocked?"add":"remove"](s.lockClass)})}function B(){const a=e.params.pagination;if(k())return;const s=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.grid&&e.params.grid.rows>1?e.slides.length/Math.ceil(e.params.grid.rows):e.slides.length;let i=e.pagination.el;i=f.m(i);let t="";if(a.type==="bullets"){let c=e.params.loop?Math.ceil(s/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&c>s&&(c=s);for(let C=0;C<c;C+=1)a.renderBullet?t+=a.renderBullet.call(e,C,a.bulletClass):t+=`<${a.bulletElement} ${e.isElement?'part="bullet"':""} class="${a.bulletClass}"></${a.bulletElement}>`}a.type==="fraction"&&(a.renderFraction?t=a.renderFraction.call(e,a.currentClass,a.totalClass):t=`<span class="${a.currentClass}"></span> / <span class="${a.totalClass}"></span>`),a.type==="progressbar"&&(a.renderProgressbar?t=a.renderProgressbar.call(e,a.progressbarFillClass):t=`<span class="${a.progressbarFillClass}"></span>`),e.pagination.bullets=[],i.forEach(c=>{a.type!=="custom"&&(c.innerHTML=t||""),a.type==="bullets"&&e.pagination.bullets.push(...c.querySelectorAll($.c(a.bulletClass)))}),a.type!=="custom"&&v("paginationRender",i[0])}function A(){e.params.pagination=q.c(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const a=e.params.pagination;if(!a.el)return;let s;typeof a.el=="string"&&e.isElement&&(s=e.el.querySelector(a.el)),!s&&typeof a.el=="string"&&(s=[...document.querySelectorAll(a.el)]),s||(s=a.el),!(!s||s.length===0)&&(e.params.uniqueNavElements&&typeof a.el=="string"&&Array.isArray(s)&&s.length>1&&(s=[...e.el.querySelectorAll(a.el)],s.length>1&&(s=s.find(i=>f.a(i,".swiper")[0]===e.el))),Array.isArray(s)&&s.length===1&&(s=s[0]),Object.assign(e.pagination,{el:s}),s=f.m(s),s.forEach(i=>{a.type==="bullets"&&a.clickable&&i.classList.add(...(a.clickableClass||"").split(" ")),i.classList.add(a.modifierClass+a.type),i.classList.add(e.isHorizontal()?a.horizontalClass:a.verticalClass),a.type==="bullets"&&a.dynamicBullets&&(i.classList.add(`${a.modifierClass}${a.type}-dynamic`),m=0,a.dynamicMainBullets<1&&(a.dynamicMainBullets=1)),a.type==="progressbar"&&a.progressbarOpposite&&i.classList.add(a.progressbarOppositeClass),a.clickable&&i.addEventListener("click",D),e.enabled||i.classList.add(a.lockClass)}))}function M(){const a=e.params.pagination;if(k())return;let s=e.pagination.el;s&&(s=f.m(s),s.forEach(i=>{i.classList.remove(a.hiddenClass),i.classList.remove(a.modifierClass+a.type),i.classList.remove(e.isHorizontal()?a.horizontalClass:a.verticalClass),a.clickable&&(i.classList.remove(...(a.clickableClass||"").split(" ")),i.removeEventListener("click",D))})),e.pagination.bullets&&e.pagination.bullets.forEach(i=>i.classList.remove(...a.bulletActiveClass.split(" ")))}u("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;const a=e.params.pagination;let{el:s}=e.pagination;s=f.m(s),s.forEach(i=>{i.classList.remove(a.horizontalClass,a.verticalClass),i.classList.add(e.isHorizontal()?a.horizontalClass:a.verticalClass)})}),u("init",()=>{e.params.pagination.enabled===!1?P():(A(),B(),h())}),u("activeIndexChange",()=>{typeof e.snapIndex>"u"&&h()}),u("snapIndexChange",()=>{h()}),u("snapGridLengthChange",()=>{B(),h()}),u("destroy",()=>{M()}),u("enable disable",()=>{let{el:a}=e.pagination;a&&(a=f.m(a),a.forEach(s=>s.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass)))}),u("lock unlock",()=>{h()}),u("click",(a,s)=>{const i=s.target,t=f.m(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&t&&t.length>0&&!i.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&i===e.navigation.nextEl||e.navigation.prevEl&&i===e.navigation.prevEl))return;const c=t[0].classList.contains(e.params.pagination.hiddenClass);v(c===!0?"paginationShow":"paginationHide"),t.forEach(C=>C.classList.toggle(e.params.pagination.hiddenClass))}});const O=()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:a}=e.pagination;a&&(a=f.m(a),a.forEach(s=>s.classList.remove(e.params.pagination.paginationDisabledClass))),A(),B(),h()},P=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:a}=e.pagination;a&&(a=f.m(a),a.forEach(s=>s.classList.add(e.params.pagination.paginationDisabledClass))),M()};Object.assign(e.pagination,{enable:O,disable:P,render:B,update:h,init:A,destroy:M})}module.exports=w;
|
2
2
|
//# sourceMappingURL=index.cjs260.js.map
|
package/dist/index.cjs261.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";const F=require("./index.
|
1
|
+
"use strict";const F=require("./index.cjs466.js"),y=require("./index.cjs465.js"),a=require("./index.cjs464.js");function K(P){let{swiper:i,extendParams:N,on:o}=P;N({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,containerRole:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null,scrollOnFocus:!0}}),i.a11y={clicked:!1};let r=null,p,u,L=new Date().getTime();function f(e){const t=r;t.length!==0&&(t.innerHTML="",t.innerHTML=e)}function B(e){const t=()=>Math.round(16*Math.random()).toString(16);return"x".repeat(e).replace(/x/g,t)}function g(e){e=a.m(e),e.forEach(t=>{t.setAttribute("tabIndex","0")})}function M(e){e=a.m(e),e.forEach(t=>{t.setAttribute("tabIndex","-1")})}function m(e,t){e=a.m(e),e.forEach(n=>{n.setAttribute("role",t)})}function x(e,t){e=a.m(e),e.forEach(n=>{n.setAttribute("aria-roledescription",t)})}function q(e,t){e=a.m(e),e.forEach(n=>{n.setAttribute("aria-controls",t)})}function E(e,t){e=a.m(e),e.forEach(n=>{n.setAttribute("aria-label",t)})}function O(e,t){e=a.m(e),e.forEach(n=>{n.setAttribute("id",t)})}function H(e,t){e=a.m(e),e.forEach(n=>{n.setAttribute("aria-live",t)})}function w(e){e=a.m(e),e.forEach(t=>{t.setAttribute("aria-disabled",!0)})}function A(e){e=a.m(e),e.forEach(t=>{t.setAttribute("aria-disabled",!1)})}function d(e){if(e.keyCode!==13&&e.keyCode!==32)return;const t=i.params.a11y,n=e.target;if(!(i.pagination&&i.pagination.el&&(n===i.pagination.el||i.pagination.el.contains(e.target))&&!e.target.matches(y.c(i.params.pagination.bulletClass)))){if(i.navigation&&i.navigation.prevEl&&i.navigation.nextEl){const s=a.m(i.navigation.prevEl);a.m(i.navigation.nextEl).includes(n)&&(i.isEnd&&!i.params.loop||i.slideNext(),i.isEnd?f(t.lastSlideMessage):f(t.nextSlideMessage)),s.includes(n)&&(i.isBeginning&&!i.params.loop||i.slidePrev(),i.isBeginning?f(t.firstSlideMessage):f(t.prevSlideMessage))}i.pagination&&n.matches(y.c(i.params.pagination.bulletClass))&&n.click()}}function G(){if(i.params.loop||i.params.rewind||!i.navigation)return;const{nextEl:e,prevEl:t}=i.navigation;t&&(i.isBeginning?(w(t),M(t)):(A(t),g(t))),e&&(i.isEnd?(w(e),M(e)):(A(e),g(e)))}function k(){return i.pagination&&i.pagination.bullets&&i.pagination.bullets.length}function C(){return k()&&i.params.pagination.clickable}function U(){const e=i.params.a11y;k()&&i.pagination.bullets.forEach(t=>{i.params.pagination.clickable&&(g(t),i.params.pagination.renderBullet||(m(t,"button"),E(t,e.paginationBulletMessage.replace(/\{\{index\}\}/,a.h(t)+1)))),t.matches(y.c(i.params.pagination.bulletActiveClass))?t.setAttribute("aria-current","true"):t.removeAttribute("aria-current")})}const S=(e,t,n)=>{g(e),e.tagName!=="BUTTON"&&(m(e,"button"),e.addEventListener("keydown",d)),E(e,n),q(e,t)},R=e=>{u&&u!==e.target&&!u.contains(e.target)&&(p=!0),i.a11y.clicked=!0},T=()=>{p=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>{i.destroyed||(i.a11y.clicked=!1)})})},D=e=>{L=new Date().getTime()},h=e=>{if(i.a11y.clicked||!i.params.a11y.scrollOnFocus||new Date().getTime()-L<100)return;const t=e.target.closest(`.${i.params.slideClass}, swiper-slide`);if(!t||!i.slides.includes(t))return;u=t;const n=i.slides.indexOf(t)===i.activeIndex,s=i.params.watchSlidesProgress&&i.visibleSlides&&i.visibleSlides.includes(t);n||s||e.sourceCapabilities&&e.sourceCapabilities.firesTouchEvents||(i.isHorizontal()?i.el.scrollLeft=0:i.el.scrollTop=0,requestAnimationFrame(()=>{p||(i.params.loop?i.slideToLoop(parseInt(t.getAttribute("data-swiper-slide-index")),0):i.slideTo(i.slides.indexOf(t),0),p=!1)}))},I=()=>{const e=i.params.a11y;e.itemRoleDescriptionMessage&&x(i.slides,e.itemRoleDescriptionMessage),e.slideRole&&m(i.slides,e.slideRole);const t=i.slides.length;e.slideLabelMessage&&i.slides.forEach((n,s)=>{const l=i.params.loop?parseInt(n.getAttribute("data-swiper-slide-index"),10):s,c=e.slideLabelMessage.replace(/\{\{index\}\}/,l+1).replace(/\{\{slidesLength\}\}/,t);E(n,c)})},V=()=>{const e=i.params.a11y;i.el.append(r);const t=i.el;e.containerRoleDescriptionMessage&&x(t,e.containerRoleDescriptionMessage),e.containerMessage&&E(t,e.containerMessage),e.containerRole&&m(t,e.containerRole);const n=i.wrapperEl,s=e.id||n.getAttribute("id")||`swiper-wrapper-${B(16)}`,l=i.params.autoplay&&i.params.autoplay.enabled?"off":"polite";O(n,s),H(n,l),I();let{nextEl:c,prevEl:v}=i.navigation?i.navigation:{};c=a.m(c),v=a.m(v),c&&c.forEach(b=>S(b,s,e.nextSlideMessage)),v&&v.forEach(b=>S(b,s,e.prevSlideMessage)),C()&&a.m(i.pagination.el).forEach(z=>{z.addEventListener("keydown",d)}),F.g().addEventListener("visibilitychange",D),i.el.addEventListener("focus",h,!0),i.el.addEventListener("focus",h,!0),i.el.addEventListener("pointerdown",R,!0),i.el.addEventListener("pointerup",T,!0)};function $(){r&&r.remove();let{nextEl:e,prevEl:t}=i.navigation?i.navigation:{};e=a.m(e),t=a.m(t),e&&e.forEach(s=>s.removeEventListener("keydown",d)),t&&t.forEach(s=>s.removeEventListener("keydown",d)),C()&&a.m(i.pagination.el).forEach(l=>{l.removeEventListener("keydown",d)}),F.g().removeEventListener("visibilitychange",D),i.el&&typeof i.el!="string"&&(i.el.removeEventListener("focus",h,!0),i.el.removeEventListener("pointerdown",R,!0),i.el.removeEventListener("pointerup",T,!0))}o("beforeInit",()=>{r=a.c("span",i.params.a11y.notificationClass),r.setAttribute("aria-live","assertive"),r.setAttribute("aria-atomic","true")}),o("afterInit",()=>{i.params.a11y.enabled&&V()}),o("slidesLengthChange snapGridLengthChange slidesGridLengthChange",()=>{i.params.a11y.enabled&&I()}),o("fromEdge toEdge afterInit lock unlock",()=>{i.params.a11y.enabled&&G()}),o("paginationUpdate",()=>{i.params.a11y.enabled&&U()}),o("destroy",()=>{i.params.a11y.enabled&&$()})}module.exports=K;
|
2
2
|
//# sourceMappingURL=index.cjs261.js.map
|
package/dist/index.cjs290.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const q=require("react"),x=require("./index.
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const q=require("react"),x=require("./index.cjs468.js"),L=require("./index.cjs469.js"),$=require("./index.cjs470.js"),H=require("./index.cjs471.js"),K=require("./index.cjs472.js"),p=require("./index.cjs473.js"),b=require("./index.cjs474.js"),a=require("./index.cjs241.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 M="DropdownMenu",[B,F]=$.createContextScope(M,[p.createMenuScope]),s=p.createMenuScope(),[W,h]=B(M),f=e=>{const{__scopeDropdownMenu:n,children:o,dir:r,open:t,defaultOpen:i,onOpenChange:l,modal:u=!0}=e,c=s(n),D=d.useRef(null),[w,m]=H.useControllableState({prop:t,defaultProp:i??!1,onChange:l,caller:M});return a.jsxRuntimeExports.jsx(W,{scope:n,triggerId:b.useId(),triggerRef:D,contentId:b.useId(),open:w,onOpenChange:m,onOpenToggle:d.useCallback(()=>m(k=>!k),[m]),modal:u,children:a.jsxRuntimeExports.jsx(p.Root,{...c,open:w,onOpenChange:m,dir:r,modal:u,children:o})})};f.displayName=M;var I="DropdownMenuTrigger",g=d.forwardRef((e,n)=>{const{__scopeDropdownMenu:o,disabled:r=!1,...t}=e,i=h(I,o),l=s(o);return a.jsxRuntimeExports.jsx(p.Anchor,{asChild:!0,...l,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),l=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;l.current||(c=t.triggerRef.current)==null||c.focus(),l.current=!1,u.preventDefault()}),onInteractOutside:x.composeEventHandlers(e.onInteractOutside,u=>{const c=u.detail.originalEvent,D=c.button===0&&c.ctrlKey===!0,w=c.button===2||D;(!t.modal||w)&&(l.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.cjs290.js.map
|
package/dist/index.cjs295.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/navigations/HeaderMobile/HeaderMobile.css');const e=require("./index.cjs241.js"),x=require("./index.cjs28.js"),E=require("./index.cjs21.js"),i=require("react"),o=require("./index.cjs243.js"),g=require("./index.
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/navigations/HeaderMobile/HeaderMobile.css');const e=require("./index.cjs241.js"),x=require("./index.cjs28.js"),E=require("./index.cjs21.js"),i=require("react"),o=require("./index.cjs243.js"),g=require("./index.cjs516.js"),y=require("./index.cjs6.js");;/* empty css */const R=require("./index.cjs10.js"),w=require("./index.cjs159.js"),C=require("./index.cjs9.js"),N=require("./index.cjs160.js"),k=({shortTitle:m,menuTitle:p="Menù",region:h,asLink:l="a",navigatonItems:j,labels:c,loginLink:b="/"})=>{const v=l,[n,d]=i.useState(!1),r="main-navigation",u=i.useRef(null);g.useFocusTrap(u,n);const t=i.useCallback(()=>{d(!n)},[n]);i.useEffect(()=>(n?document.body.classList.add("ui-body-overflow-hidden"):document.body.classList.remove("ui-body-overflow-hidden"),()=>{document.body.classList.remove("ui-body-overflow-hidden")}),[n]),i.useEffect(()=>{const s=a=>{a.key==="Escape"&&n&&t()};return document.addEventListener("keydown",s),()=>document.removeEventListener("keydown",s)},[n,t]);const f=()=>{d(!1)};return e.jsxRuntimeExports.jsxs("div",{className:"sticky-header shadow",children:[e.jsxRuntimeExports.jsx(E.HeaderTopBanner,{asLink:l,shortTitle:m,region:h}),e.jsxRuntimeExports.jsxs(y.Container,{className:"bg-slate-20 min-h-x64 base-row align-items-center justify-content-end",as:"header",py:"x8",children:[e.jsxRuntimeExports.jsxs(C.Row,{gap:"x24",alignItems:"center",justifyContent:"end",children:[e.jsxRuntimeExports.jsxs(x.Button,{size:"3",bg:"white",textColor:"primary",href:b,asLink:"a",className:"ui-login-button-header-mobile",children:[c.login,e.jsxRuntimeExports.jsx("span",{className:"visually-hidden",children:" Accedi con Cohesion"})]}),e.jsxRuntimeExports.jsx("button",{"aria-expanded":n,"aria-label":"Apri menu di navigazione",onClick:t,className:"ui-mobile-menu-toggle","aria-controls":r,children:e.jsxRuntimeExports.jsx(w.Hamburguer,{width:40,height:40,color:"white"})})]}),e.jsxRuntimeExports.jsxs("nav",{id:r,"aria-label":"Menu di navigazione",className:o.clsx(n?"ui-mobile-nav-panel":"visually-hidden"),ref:u,children:[e.jsxRuntimeExports.jsxs(R.Col,{className:"ui-mobile-nav-header",children:[e.jsxRuntimeExports.jsxs(x.Button,{size:"4",textColor:"primary",bg:"transparent",onClick:t,"aria-label":"Chiudi menu di navigazione","aria-controls":r,children:[c.closeMenu,e.jsxRuntimeExports.jsx(N.Close,{})]}),e.jsxRuntimeExports.jsx("h2",{className:"fs-3 text-slate-20",children:p})]}),e.jsxRuntimeExports.jsx("ul",{className:"list-style-none p-x16",role:"list",children:j.map((s,a)=>e.jsxRuntimeExports.jsx("li",{className:o.clsx("ui-mobile-nav-item",s.active&&"active"),children:e.jsxRuntimeExports.jsxs(v,{href:s.href,"aria-label":`Vai alla pagina ${s.label}`,className:o.clsx("text-decoration-none text-primary fs-5",s.active?"fw-bold":"fw-normal"),onClick:f,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"})]})},a))})]})]})]})};exports.HeaderMobile=k;
|
2
2
|
//# sourceMappingURL=index.cjs295.js.map
|
package/dist/index.cjs303.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const H=require("react"),O=require("./index.
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const H=require("react"),O=require("./index.cjs469.js"),L=require("./index.cjs470.js"),B=require("./index.cjs468.js"),z=require("./index.cjs471.js"),G=require("./index.cjs475.js"),K=require("./index.cjs476.js"),U=require("./index.cjs477.js"),y=require("./index.cjs472.js"),l=require("./index.cjs241.js");function X(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const s=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,s.get?s:{enumerable:!0,get:()=>e[r]})}}return n.default=e,Object.freeze(n)}const a=X(H);var E="Checkbox",[J,Q]=L.createContextScope(E),[V,I]=J(E);function S(e){const{__scopeCheckbox:n,checked:r,children:s,defaultChecked:c,disabled:t,form:b,name:f,onCheckedChange:u,required:h,value:m="on",internal_do_not_use_render:d}=e,[p,v]=z.useControllableState({prop:r,defaultProp:c??!1,onChange:u,caller:E}),[C,k]=a.useState(null),[R,o]=a.useState(null),i=a.useRef(!1),j=C?!!b||!!C.closest("form"):!0,P={checked:p,disabled:t,setChecked:v,control:C,setControl:k,name:f,form:b,value:m,hasConsumerStoppedPropagationRef:i,required:h,defaultChecked:x(c)?!1:c,isFormControl:j,bubbleInput:R,setBubbleInput:o};return l.jsxRuntimeExports.jsx(V,{scope:n,...P,children:W(d)?d(P):s})}var T="CheckboxTrigger",_=a.forwardRef(({__scopeCheckbox:e,onKeyDown:n,onClick:r,...s},c)=>{const{control:t,value:b,disabled:f,checked:u,required:h,setControl:m,setChecked:d,hasConsumerStoppedPropagationRef:p,isFormControl:v,bubbleInput:C}=I(T,e),k=O.useComposedRefs(c,m),R=a.useRef(u);return a.useEffect(()=>{const o=t==null?void 0:t.form;if(o){const i=()=>d(R.current);return o.addEventListener("reset",i),()=>o.removeEventListener("reset",i)}},[t,d]),l.jsxRuntimeExports.jsx(y.Primitive.button,{type:"button",role:"checkbox","aria-checked":x(u)?"mixed":u,"aria-required":h,"data-state":D(u),"data-disabled":f?"":void 0,disabled:f,value:b,...s,ref:k,onKeyDown:B.composeEventHandlers(n,o=>{o.key==="Enter"&&o.preventDefault()}),onClick:B.composeEventHandlers(r,o=>{d(i=>x(i)?!0:!i),C&&v&&(p.current=o.isPropagationStopped(),p.current||o.stopPropagation())})})});_.displayName=T;var q=a.forwardRef((e,n)=>{const{__scopeCheckbox:r,name:s,checked:c,defaultChecked:t,required:b,disabled:f,value:u,onCheckedChange:h,form:m,...d}=e;return l.jsxRuntimeExports.jsx(S,{__scopeCheckbox:r,checked:c,defaultChecked:t,disabled:f,required:b,onCheckedChange:h,name:s,form:m,value:u,internal_do_not_use_render:({isFormControl:p})=>l.jsxRuntimeExports.jsxs(l.jsxRuntimeExports.Fragment,{children:[l.jsxRuntimeExports.jsx(_,{...d,ref:n,__scopeCheckbox:r}),p&&l.jsxRuntimeExports.jsx(g,{__scopeCheckbox:r})]})})});q.displayName=E;var M="CheckboxIndicator",N=a.forwardRef((e,n)=>{const{__scopeCheckbox:r,forceMount:s,...c}=e,t=I(M,r);return l.jsxRuntimeExports.jsx(U.Presence,{present:s||x(t.checked)||t.checked===!0,children:l.jsxRuntimeExports.jsx(y.Primitive.span,{"data-state":D(t.checked),"data-disabled":t.disabled?"":void 0,...c,ref:n,style:{pointerEvents:"none",...e.style}})})});N.displayName=M;var $="CheckboxBubbleInput",g=a.forwardRef(({__scopeCheckbox:e,...n},r)=>{const{control:s,hasConsumerStoppedPropagationRef:c,checked:t,defaultChecked:b,required:f,disabled:u,name:h,value:m,form:d,bubbleInput:p,setBubbleInput:v}=I($,e),C=O.useComposedRefs(r,v),k=G.usePrevious(t),R=K.useSize(s);a.useEffect(()=>{const i=p;if(!i)return;const j=window.HTMLInputElement.prototype,w=Object.getOwnPropertyDescriptor(j,"checked").set,A=!c.current;if(k!==t&&w){const F=new Event("click",{bubbles:A});i.indeterminate=x(t),w.call(i,x(t)?!1:t),i.dispatchEvent(F)}},[p,k,t,c]);const o=a.useRef(x(t)?!1:t);return l.jsxRuntimeExports.jsx(y.Primitive.input,{type:"checkbox","aria-hidden":!0,defaultChecked:b??o.current,required:f,disabled:u,name:h,value:m,form:d,...n,tabIndex:-1,ref:C,style:{...n.style,...R,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});g.displayName=$;function W(e){return typeof e=="function"}function x(e){return e==="indeterminate"}function D(e){return x(e)?"indeterminate":e?"checked":"unchecked"}exports.Checkbox=q;exports.CheckboxIndicator=N;exports.Indicator=N;exports.Root=q;exports.createCheckboxScope=Q;exports.unstable_BubbleInput=g;exports.unstable_CheckboxBubbleInput=g;exports.unstable_CheckboxProvider=S;exports.unstable_CheckboxTrigger=_;exports.unstable_Provider=S;exports.unstable_Trigger=_;
|
2
2
|
//# sourceMappingURL=index.cjs303.js.map
|
package/dist/index.cjs314.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index.
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index.cjs506.js"),s=require("react"),p=()=>{const[o,t]=c.useCopyToClipboard(),[r,e]=s.useState(!1);return{isCopied:r,copiedText:o,copyToClipboard:()=>{if(typeof window>"u")return;const i=window.location.href;t(i).then(()=>{e(()=>!0),setTimeout(()=>{e(!1)},1500)}).catch(n=>{console.debug("Failed to copy!",n)})}}};exports.useCopyToClipboardCurrentPage=p;
|
2
2
|
//# sourceMappingURL=index.cjs314.js.map
|
package/dist/index.cjs32.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/CardMapDoctor/CardMapDoctor.css');const e=require("./index.cjs241.js");;/* empty css */const c=require("react"),p=require("./index.cjs303.js"),b=require("./index.cjs304.js"),C=require("./index.cjs42.js"),j=require("./index.cjs9.js"),o=require("./index.cjs10.js"),E=({titleTag:m="h3",availableLabel:h="Disponibile",specialization:n,addressLabel:d,className:f,doctor:s,setSelectedCard:r=()=>{},keepSelectionOnNavigation:w=!1,ctaTitle:x,ctaAction:a})=>{const[t,l]=c.useState(!1),u=c.useRef(null),i=s==null?void 0:s.offices[0];b.useClickOutside(u,t,()=>l(!1),()=>r(""),w);const R=()=>e.jsxRuntimeExports.jsx("svg",{width:"14",height:"14",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:e.jsxRuntimeExports.jsx("path",{d:"M10 3L4.5 8.5L2 6",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})});return e.jsxRuntimeExports.jsxs(j.Row,{br:"x4",p:"x24",gap:"x16",bg:"white",text:"slate-20",ref:u,className:`${f} ${t?"ui-is-active ui-card-search":"ui-card-search"} shadow cursor-pointer`,onClick:()=>{l(!0),r(s==null?void 0:s.code)},children:[e.jsxRuntimeExports.jsx(p.Checkbox,{id:s==null?void 0:s.code,checked:t,className:"ui-checkbox-filter",children:e.jsxRuntimeExports.jsx(p.CheckboxIndicator,{children:e.jsxRuntimeExports.jsx(R,{})})}),e.jsxRuntimeExports.jsxs(o.Col,{justifyContent:"center",className:"w-full",children:[e.jsxRuntimeExports.jsxs(o.Col,{pb:"x16",children:[e.jsxRuntimeExports.jsxs(m,{className:"flex-1 text-decoration-none fs-4 fw-semibold",children:["Dott. ",s==null?void 0:s.firstName," ",s==null?void 0:s.lastName]}),!!n&&e.jsxRuntimeExports.jsx("p",{className:"fs-6 fw-regular text-slate-28",children:n}),e.jsxRuntimeExports.jsx("div",{className:"ui-available-label mt-x4 px-x16 py-x4 bg-status-success text-white rounded fw-semibold fs-7",children:h.toUpperCase()})]}),e.jsxRuntimeExports.jsxs(j.Row,{justifyContent:"space-between",alignItems:"end",children:[e.jsxRuntimeExports.jsxs("div",{className:"text-slate-28 fs-6",children:[e.jsxRuntimeExports.jsx("div",{className:"fw-bold",children:d}),e.jsxRuntimeExports.jsx("div",{className:"w-full",children:e.jsxRuntimeExports.jsxs("p",{className:"fw-regular",children:[i!=null&&i.address?i.address.charAt(0).toUpperCase()+i.address.slice(1).toLowerCase():"",","," ",i!=null&&i.city?i.city.charAt(0).toUpperCase()+i.city.slice(1).toLowerCase():""]})})]}),x&&a&&e.jsxRuntimeExports.jsx(C.ArrowLink,{asButton:!0,onClick:a,arrowVisible:!1,className:"cursor-pointer",children:x})]})]})]})};exports.CardMapDoctor=E;
|
2
2
|
//# sourceMappingURL=index.cjs32.js.map
|
package/dist/index.cjs321.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.cjs468.js"),E=require("./index.cjs469.js"),M=require("./index.cjs470.js"),v=require("./index.cjs474.js"),B=require("./index.cjs471.js"),V=require("./index.cjs482.js"),z=require("./index.cjs484.js"),K=require("./index.cjs486.js"),j=require("./index.cjs477.js"),x=require("./index.cjs472.js"),U=require("./index.cjs483.js"),Y=require("./index.cjs490.js"),Z=require("./index.cjs489.js"),J=require("./index.cjs479.js"),s=require("./index.cjs241.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 D="Dialog",[S,X]=M.createContextScope(D),[ee,u]=S(D),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,R]=B.useControllableState({prop:r,defaultProp:i??!1,onChange:o,caller:D});return s.jsxRuntimeExports.jsx(ee,{scope:t,triggerRef:l,contentRef:d,contentId:v.useId(),titleId:v.useId(),descriptionId:v.useId(),open:f,onOpenChange:R,onOpenToggle:a.useCallback(()=>R(L=>!L),[R]),modal:c,children:n})};C.displayName=D;var w="DialogTrigger",P=a.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=u(w,n),o=E.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(j.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(j.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(j.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=E.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=E.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.cjs328.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/DoctorModal/DoctorModalFooter/DoctorModalFooter.css');const o=require("./index.cjs241.js");;/* empty css */const t=({children:e})=>o.jsxRuntimeExports.jsx("footer",{className:"ui-consent-modal-footer bg-white shadow",children:e});exports.ConsentModalFooter=t;
|
2
2
|
//# sourceMappingURL=index.cjs328.js.map
|
package/dist/index.cjs329.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/DoctorConfirmModal/DoctorConfirmModalContent/DoctorConfirmModalContent.css');const n=require("./index.cjs241.js"),o=require("./index.cjs243.js");;/* empty css */const s=({overrideClassNames:e,children:t})=>n.jsxRuntimeExports.jsx("div",{className:o.clsx("ui-consent-modal-body",e),children:t});exports.ContentModalContent=s;
|
2
2
|
//# sourceMappingURL=index.cjs329.js.map
|
package/dist/index.cjs33.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/CardMapDoctor/CardMapDoctor.css');const e=require("./index.cjs241.js");;/* empty css */const f=require("react"),l=require("./index.cjs303.js"),E=require("./index.cjs304.js"),u=require("./index.cjs9.js"),c=require("./index.cjs10.js"),b=require("./index.cjs42.js"),k=({titleTag:a="h3",title:d,specialization:r,tag:j,officeAddressLabel:m,officeAddress:h,className:p,doctorCode:i,setSelectedDoctorCode:s,keepSelectionOnNavigation:w=!1,ctaTitle:n,ctaAction:x,isActive:t})=>{const o=f.useRef(null);E.useClickOutside(o,t,()=>s(void 0),()=>s(void 0),w);const R=()=>e.jsxRuntimeExports.jsx("svg",{width:"14",height:"14",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:e.jsxRuntimeExports.jsx("path",{d:"M10 3L4.5 8.5L2 6",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})});return e.jsxRuntimeExports.jsxs(u.Row,{br:"x4",p:"x24",gap:"x16",bg:"white",text:"slate-20",ref:o,className:`${p} ${t?"ui-is-active ui-card-search":"ui-card-search"} shadow cursor-pointer`,onClick:()=>{s(i)},children:[e.jsxRuntimeExports.jsx(l.Checkbox,{id:i,checked:t,className:"ui-checkbox-filter",children:e.jsxRuntimeExports.jsx(l.CheckboxIndicator,{children:e.jsxRuntimeExports.jsx(R,{})})}),e.jsxRuntimeExports.jsxs(c.Col,{justifyContent:"center",className:"w-full",children:[e.jsxRuntimeExports.jsxs(c.Col,{pb:"x16",children:[e.jsxRuntimeExports.jsx(a,{className:"flex-1 text-decoration-none fs-4 fw-semibold",children:d}),!!r&&e.jsxRuntimeExports.jsx("p",{className:"fs-6 fw-regular text-slate-28",children:r}),e.jsxRuntimeExports.jsx("div",{className:"ui-available-label mt-x4 px-x16 py-x4 bg-status-success text-white rounded fw-semibold fs-7",children:j})]}),e.jsxRuntimeExports.jsxs(u.Row,{justifyContent:"space-between",alignItems:"end",children:[e.jsxRuntimeExports.jsxs("div",{className:"text-slate-28 fs-6",children:[e.jsxRuntimeExports.jsx("div",{className:"fw-bold",children:m}),e.jsxRuntimeExports.jsx("div",{className:"w-full",children:e.jsxRuntimeExports.jsx("p",{className:"fw-regular",children:h})})]}),n&&x&&e.jsxRuntimeExports.jsx(b.ArrowLink,{asButton:!0,onClick:x,arrowVisible:!1,className:"cursor-pointer",children:n})]})]})]})};exports.CardMapDoctorV2=k;
|
2
2
|
//# sourceMappingURL=index.cjs33.js.map
|
package/dist/index.cjs333.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/DoctorModal/DoctorModalFooter/DoctorModalFooter.css');const e=require("./index.cjs241.js");;/* empty css */const t=({children:o})=>e.jsxRuntimeExports.jsx("footer",{className:"ui-consent-modal-footer bg-white shadow",children:o});exports.DoctorModalFooter=t;
|
2
2
|
//# sourceMappingURL=index.cjs333.js.map
|
package/dist/index.cjs342.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/DoctorConfirmModal/DoctorConfirmModalContent/DoctorConfirmModalContent.css');const t=require("./index.cjs241.js"),r=require("./index.cjs243.js");;/* empty css */const n=({overrideClassNames:o,children:e})=>t.jsxRuntimeExports.jsx("div",{className:r.clsx("ui-consent-modal-body",o),children:e});exports.DoctorConfirmModalContent=n;
|
2
2
|
//# sourceMappingURL=index.cjs342.js.map
|
package/dist/index.cjs344.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/DoctorModal/DoctorModalFooter/DoctorModalFooter.css');const e=require("./index.cjs241.js");;/* empty css */const t=({children:o})=>e.jsxRuntimeExports.jsx("footer",{className:"ui-consent-modal-footer bg-white shadow",children:o});exports.DoctorConfirmModalFooter=t;
|
2
2
|
//# sourceMappingURL=index.cjs344.js.map
|
package/dist/index.cjs352.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const T=require("react"),N=require("./index.
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const T=require("react"),N=require("./index.cjs468.js"),P=require("./index.cjs469.js"),O=require("./index.cjs470.js"),B=require("./index.cjs471.js"),M=require("./index.cjs475.js"),I=require("./index.cjs476.js"),y=require("./index.cjs472.js"),d=require("./index.cjs241.js");function $(t){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const e in t)if(e!=="default"){const r=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(o,e,r.get?r:{enumerable:!0,get:()=>t[e]})}}return o.default=t,Object.freeze(o)}const c=$(T);var m="Switch",[H,z]=O.createContextScope(m),[A,D]=H(m),R=c.forwardRef((t,o)=>{const{__scopeSwitch:e,name:r,checked:n,defaultChecked:S,required:a,disabled:s,value:u="on",onCheckedChange:b,form:i,...x}=t,[p,l]=c.useState(null),w=P.useComposedRefs(o,h=>l(h)),v=c.useRef(!1),j=p?i||!!p.closest("form"):!0,[f,_]=B.useControllableState({prop:n,defaultProp:S??!1,onChange:b,caller:m});return d.jsxRuntimeExports.jsxs(A,{scope:e,checked:f,disabled:s,children:[d.jsxRuntimeExports.jsx(y.Primitive.button,{type:"button",role:"switch","aria-checked":f,"aria-required":a,"data-state":E(f),"data-disabled":s?"":void 0,disabled:s,value:u,...x,ref:w,onClick:N.composeEventHandlers(t.onClick,h=>{_(q=>!q),j&&(v.current=h.isPropagationStopped(),v.current||h.stopPropagation())})}),j&&d.jsxRuntimeExports.jsx(k,{control:p,bubbles:!v.current,name:r,value:u,checked:f,required:a,disabled:s,form:i,style:{transform:"translateX(-100%)"}})]})});R.displayName=m;var g="SwitchThumb",C=c.forwardRef((t,o)=>{const{__scopeSwitch:e,...r}=t,n=D(g,e);return d.jsxRuntimeExports.jsx(y.Primitive.span,{"data-state":E(n.checked),"data-disabled":n.disabled?"":void 0,...r,ref:o})});C.displayName=g;var U="SwitchBubbleInput",k=c.forwardRef(({__scopeSwitch:t,control:o,checked:e,bubbles:r=!0,...n},S)=>{const a=c.useRef(null),s=P.useComposedRefs(a,S),u=M.usePrevious(e),b=I.useSize(o);return c.useEffect(()=>{const i=a.current;if(!i)return;const x=window.HTMLInputElement.prototype,l=Object.getOwnPropertyDescriptor(x,"checked").set;if(u!==e&&l){const w=new Event("click",{bubbles:r});l.call(i,e),i.dispatchEvent(w)}},[u,e,r]),d.jsxRuntimeExports.jsx("input",{type:"checkbox","aria-hidden":!0,defaultChecked:e,...n,tabIndex:-1,ref:s,style:{...n.style,...b,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});k.displayName=U;function E(t){return t?"checked":"unchecked"}var L=R,F=C;exports.Root=L;exports.Switch=R;exports.SwitchThumb=C;exports.Thumb=F;exports.createSwitchScope=z;
|
2
2
|
//# sourceMappingURL=index.cjs352.js.map
|
package/dist/index.cjs393.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.cjs470.js"),E=require("./index.cjs469.js"),n=require("./index.cjs321.js"),h=require("./index.cjs468.js"),w=require("./index.cjs479.js"),i=require("./index.cjs241.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.cjs399.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs583.js");var r=e.__require();exports.FileSaver_minExports=r;
|
2
2
|
//# sourceMappingURL=index.cjs399.js.map
|
package/dist/index.cjs433.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/DoctorModal/DoctorModalFooter/DoctorModalFooter.css');const o=require("./index.cjs241.js");;/* empty css */const t=({children:e})=>o.jsxRuntimeExports.jsx("footer",{className:"ui-consent-modal-footer bg-white shadow",children:e});exports.CreateReservationModalFooter=t;
|
2
2
|
//# sourceMappingURL=index.cjs433.js.map
|