@anker-in/ui 0.1.15 → 0.1.17
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.css +3 -3
- package/dist/index.css.map +1 -1
- package/dist/index.js +66 -40
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +64 -40
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -2
package/dist/index.css
CHANGED
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
display: none !important;
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
/* node_modules/swiper/swiper.css */
|
|
37
|
+
/* ../../node_modules/swiper/swiper.css */
|
|
38
38
|
:root {
|
|
39
39
|
--swiper-theme-color: #007aff;
|
|
40
40
|
}
|
|
@@ -264,7 +264,7 @@
|
|
|
264
264
|
}
|
|
265
265
|
}
|
|
266
266
|
|
|
267
|
-
/* node_modules/swiper/modules/navigation.css */
|
|
267
|
+
/* ../../node_modules/swiper/modules/navigation.css */
|
|
268
268
|
:root {
|
|
269
269
|
--swiper-navigation-size: 44px;
|
|
270
270
|
}
|
|
@@ -387,7 +387,7 @@
|
|
|
387
387
|
}
|
|
388
388
|
}
|
|
389
389
|
|
|
390
|
-
/* node_modules/swiper/modules/pagination.css */
|
|
390
|
+
/* ../../node_modules/swiper/modules/pagination.css */
|
|
391
391
|
:root {
|
|
392
392
|
}
|
|
393
393
|
.swiper-pagination {
|
package/dist/index.css.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/DemoRoom/components/RoomsList.module.css","../node_modules/swiper/swiper.css","../node_modules/swiper/modules/navigation.css","../node_modules/swiper/modules/pagination.css"],"sourcesContent":["/* antd-mobile 样式隔离 - 使用更强的隔离策略 */\n.antdMobileScope {\n /* 重置所有继承样式,但保持布局相关属性 */\n all: unset;\n\n /* 恢复必要的属性 */\n display: block;\n position: absolute;\n box-sizing: border-box;\n\n /* 阻止继承字体样式 */\n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;\n font-size: 14px;\n line-height: 1.5;\n color: #333;\n\n /* 重置 CSS 变量影响 */\n --adm-color-primary: #1677ff;\n --adm-color-text: #333333;\n --adm-font-size-main: 14px;\n}\n\n/* 确保 antd-mobile 组件内部样式正常工作 */\n.antdMobileScope *,\n.antdMobileScope *::before,\n.antdMobileScope *::after {\n box-sizing: border-box;\n}\n\n/* 阻止全局样式继承 */\n.antd-mobile-isolated-container .antdMobileScope :not([class*=\"adm-\"]) {\n all: unset;\n}\n\n/* 保持 antd-mobile 组件样式 */\n.antd-mobile-isolated-container .antdMobileScope [class*=\"adm-\"] {\n all: revert;\n}\n\n/* 隐藏 List.Item 的右侧箭头 */\n.antd-mobile-isolated-container .antdMobileScope .adm-list-item-content-arrow {\n display: none !important;\n}\n","/**\n * Swiper 12.0.3\n * Most modern mobile touch slider and framework with hardware accelerated transitions\n * https://swiperjs.com\n *\n * Copyright 2014-2025 Vladimir Kharlampidi\n *\n * Released under the MIT License\n *\n * Released on: October 21, 2025\n */\n\n:root {\n --swiper-theme-color: #007aff;\n /*\n --swiper-preloader-color: var(--swiper-theme-color);\n --swiper-wrapper-transition-timing-function: initial;\n */\n}\n:host {\n position: relative;\n display: block;\n margin-left: auto;\n margin-right: auto;\n z-index: 1;\n}\n.swiper {\n margin-left: auto;\n margin-right: auto;\n position: relative;\n overflow: hidden;\n list-style: none;\n padding: 0;\n /* Fix of Webkit flickering */\n z-index: 1;\n display: block;\n}\n.swiper-vertical > .swiper-wrapper {\n flex-direction: column;\n}\n.swiper-wrapper {\n position: relative;\n width: 100%;\n height: 100%;\n z-index: 1;\n display: flex;\n transition-property: transform;\n transition-timing-function: var(--swiper-wrapper-transition-timing-function, initial);\n box-sizing: content-box;\n}\n.swiper-android .swiper-slide,\n.swiper-ios .swiper-slide,\n.swiper-wrapper {\n transform: translate3d(0px, 0, 0);\n}\n.swiper-horizontal {\n touch-action: pan-y;\n}\n.swiper-vertical {\n touch-action: pan-x;\n}\n.swiper-slide {\n flex-shrink: 0;\n width: 100%;\n height: 100%;\n position: relative;\n transition-property: transform;\n display: block;\n}\n.swiper-slide-invisible-blank {\n visibility: hidden;\n}\n/* Auto Height */\n.swiper-autoheight,\n.swiper-autoheight .swiper-slide {\n height: auto;\n}\n.swiper-autoheight .swiper-wrapper {\n align-items: flex-start;\n transition-property: transform, height;\n}\n.swiper-backface-hidden .swiper-slide {\n transform: translateZ(0);\n backface-visibility: hidden;\n}\n/* 3D Effects */\n.swiper-3d.swiper-css-mode .swiper-wrapper {\n perspective: 1200px;\n}\n.swiper-3d .swiper-wrapper {\n transform-style: preserve-3d;\n}\n.swiper-3d {\n perspective: 1200px;\n .swiper-slide,\n .swiper-cube-shadow {\n transform-style: preserve-3d;\n }\n}\n\n/* CSS Mode */\n.swiper-css-mode {\n > .swiper-wrapper {\n overflow: auto;\n scrollbar-width: none; /* For Firefox */\n -ms-overflow-style: none; /* For Internet Explorer and Edge */\n &::-webkit-scrollbar {\n display: none;\n }\n }\n > .swiper-wrapper > .swiper-slide {\n scroll-snap-align: start start;\n }\n &.swiper-horizontal {\n > .swiper-wrapper {\n scroll-snap-type: x mandatory;\n }\n }\n &.swiper-vertical {\n > .swiper-wrapper {\n scroll-snap-type: y mandatory;\n }\n }\n &.swiper-free-mode {\n > .swiper-wrapper {\n scroll-snap-type: none;\n }\n > .swiper-wrapper > .swiper-slide {\n scroll-snap-align: none;\n }\n }\n &.swiper-centered {\n > .swiper-wrapper::before {\n content: '';\n flex-shrink: 0;\n order: 9999;\n }\n > .swiper-wrapper > .swiper-slide {\n scroll-snap-align: center center;\n scroll-snap-stop: always;\n }\n }\n &.swiper-centered.swiper-horizontal {\n > .swiper-wrapper > .swiper-slide:first-child {\n margin-inline-start: var(--swiper-centered-offset-before);\n }\n > .swiper-wrapper::before {\n height: 100%;\n min-height: 1px;\n width: var(--swiper-centered-offset-after);\n }\n }\n &.swiper-centered.swiper-vertical {\n > .swiper-wrapper > .swiper-slide:first-child {\n margin-block-start: var(--swiper-centered-offset-before);\n }\n > .swiper-wrapper::before {\n width: 100%;\n min-width: 1px;\n height: var(--swiper-centered-offset-after);\n }\n }\n}\n\n/* Slide styles start */\n/* 3D Shadows */\n.swiper-3d {\n .swiper-slide-shadow,\n .swiper-slide-shadow-left,\n .swiper-slide-shadow-right,\n .swiper-slide-shadow-top,\n .swiper-slide-shadow-bottom,\n .swiper-slide-shadow,\n .swiper-slide-shadow-left,\n .swiper-slide-shadow-right,\n .swiper-slide-shadow-top,\n .swiper-slide-shadow-bottom {\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n pointer-events: none;\n z-index: 10;\n }\n .swiper-slide-shadow {\n background: rgba(0, 0, 0, 0.15);\n }\n .swiper-slide-shadow-left {\n background-image: linear-gradient(to left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));\n }\n .swiper-slide-shadow-right {\n background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));\n }\n .swiper-slide-shadow-top {\n background-image: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));\n }\n .swiper-slide-shadow-bottom {\n background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));\n }\n}\n.swiper-lazy-preloader {\n width: 42px;\n height: 42px;\n position: absolute;\n left: 50%;\n top: 50%;\n margin-left: -21px;\n margin-top: -21px;\n z-index: 10;\n transform-origin: 50%;\n box-sizing: border-box;\n border: 4px solid var(--swiper-preloader-color, var(--swiper-theme-color));\n border-radius: 50%;\n border-top-color: transparent;\n}\n.swiper:not(.swiper-watch-progress),\n.swiper-watch-progress .swiper-slide-visible {\n .swiper-lazy-preloader {\n animation: swiper-preloader-spin 1s infinite linear;\n }\n}\n.swiper-lazy-preloader-white {\n --swiper-preloader-color: #fff;\n}\n.swiper-lazy-preloader-black {\n --swiper-preloader-color: #000;\n}\n@keyframes swiper-preloader-spin {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n/* Slide styles end */\n",":root {\n --swiper-navigation-size: 44px;\n /*\n --swiper-navigation-top-offset: 50%;\n --swiper-navigation-sides-offset: 4px;\n --swiper-navigation-color: var(--swiper-theme-color);\n */\n}\n.swiper-button-prev,\n.swiper-button-next {\n position: absolute;\n\n width: var(--swiper-navigation-size);\n height: var(--swiper-navigation-size);\n\n z-index: 10;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n color: var(--swiper-navigation-color, var(--swiper-theme-color));\n &.swiper-button-disabled {\n opacity: 0.35;\n cursor: auto;\n pointer-events: none;\n }\n &.swiper-button-hidden {\n opacity: 0;\n cursor: auto;\n pointer-events: none;\n }\n .swiper-navigation-disabled & {\n display: none !important;\n }\n svg {\n width: 100%;\n height: 100%;\n -o-object-fit: contain;\n object-fit: contain;\n transform-origin: center;\n fill: currentColor;\n pointer-events: none;\n }\n}\n\n.swiper-button-lock {\n display: none;\n}\n\n.swiper-button-prev,\n.swiper-button-next {\n top: var(--swiper-navigation-top-offset, 50%);\n margin-top: calc(0px - (var(--swiper-navigation-size) / 2));\n}\n.swiper-button-prev {\n left: var(--swiper-navigation-sides-offset, 4px);\n right: auto;\n .swiper-navigation-icon {\n transform: rotate(180deg);\n }\n}\n.swiper-button-next {\n right: var(--swiper-navigation-sides-offset, 4px);\n left: auto;\n}\n.swiper-horizontal {\n .swiper-button-prev,\n .swiper-button-next,\n ~ .swiper-button-prev,\n ~ .swiper-button-next {\n top: var(--swiper-navigation-top-offset, 50%);\n margin-top: calc(0px - (var(--swiper-navigation-size) / 2));\n margin-left: 0;\n }\n .swiper-button-prev,\n & ~ .swiper-button-prev,\n &.swiper-rtl .swiper-button-next,\n &.swiper-rtl ~ .swiper-button-next {\n left: var(--swiper-navigation-sides-offset, 4px);\n right: auto;\n }\n .swiper-button-next,\n & ~ .swiper-button-next,\n &.swiper-rtl .swiper-button-prev,\n &.swiper-rtl ~ .swiper-button-prev {\n right: var(--swiper-navigation-sides-offset, 4px);\n left: auto;\n }\n .swiper-button-prev,\n & ~ .swiper-button-prev,\n &.swiper-rtl .swiper-button-next,\n &.swiper-rtl ~ .swiper-button-next {\n .swiper-navigation-icon {\n transform: rotate(180deg);\n }\n }\n &.swiper-rtl .swiper-button-prev,\n &.swiper-rtl ~ .swiper-button-prev {\n .swiper-navigation-icon {\n transform: rotate(0deg);\n }\n }\n}\n.swiper-vertical {\n .swiper-button-prev,\n .swiper-button-next,\n ~ .swiper-button-prev,\n ~ .swiper-button-next {\n left: var(--swiper-navigation-top-offset, 50%);\n right: auto;\n margin-left: calc(0px - (var(--swiper-navigation-size) / 2));\n margin-top: 0;\n }\n .swiper-button-prev,\n ~ .swiper-button-prev {\n top: var(--swiper-navigation-sides-offset, 4px);\n bottom: auto;\n .swiper-navigation-icon {\n transform: rotate(-90deg);\n }\n }\n .swiper-button-next,\n ~ .swiper-button-next {\n bottom: var(--swiper-navigation-sides-offset, 4px);\n top: auto;\n .swiper-navigation-icon {\n transform: rotate(90deg);\n }\n }\n}\n",":root {\n /*\n --swiper-pagination-color: var(--swiper-theme-color);\n --swiper-pagination-left: auto;\n --swiper-pagination-right: 8px;\n --swiper-pagination-bottom: 8px;\n --swiper-pagination-top: auto;\n --swiper-pagination-fraction-color: inherit;\n --swiper-pagination-progressbar-bg-color: rgba(0,0,0,0.25);\n --swiper-pagination-progressbar-size: 4px;\n --swiper-pagination-bullet-size: 8px;\n --swiper-pagination-bullet-width: 8px;\n --swiper-pagination-bullet-height: 8px;\n --swiper-pagination-bullet-border-radius: 50%;\n --swiper-pagination-bullet-inactive-color: #000;\n --swiper-pagination-bullet-inactive-opacity: 0.2;\n --swiper-pagination-bullet-opacity: 1;\n --swiper-pagination-bullet-horizontal-gap: 4px;\n --swiper-pagination-bullet-vertical-gap: 6px;\n */\n}\n.swiper-pagination {\n position: absolute;\n text-align: center;\n transition: 300ms opacity;\n transform: translate3d(0, 0, 0);\n z-index: 10;\n &.swiper-pagination-hidden {\n opacity: 0;\n }\n .swiper-pagination-disabled > &,\n &.swiper-pagination-disabled {\n display: none !important;\n }\n}\n/* Common Styles */\n.swiper-pagination-fraction,\n.swiper-pagination-custom,\n.swiper-horizontal > .swiper-pagination-bullets,\n.swiper-pagination-bullets.swiper-pagination-horizontal {\n bottom: var(--swiper-pagination-bottom, 8px);\n top: var(--swiper-pagination-top, auto);\n left: 0;\n width: 100%;\n}\n/* Bullets */\n.swiper-pagination-bullets-dynamic {\n overflow: hidden;\n font-size: 0;\n .swiper-pagination-bullet {\n transform: scale(0.33);\n position: relative;\n }\n .swiper-pagination-bullet-active {\n transform: scale(1);\n }\n .swiper-pagination-bullet-active-main {\n transform: scale(1);\n }\n .swiper-pagination-bullet-active-prev {\n transform: scale(0.66);\n }\n .swiper-pagination-bullet-active-prev-prev {\n transform: scale(0.33);\n }\n .swiper-pagination-bullet-active-next {\n transform: scale(0.66);\n }\n .swiper-pagination-bullet-active-next-next {\n transform: scale(0.33);\n }\n}\n.swiper-pagination-bullet {\n width: var(--swiper-pagination-bullet-width, var(--swiper-pagination-bullet-size, 8px));\n height: var(--swiper-pagination-bullet-height, var(--swiper-pagination-bullet-size, 8px));\n display: inline-block;\n border-radius: var(--swiper-pagination-bullet-border-radius, 50%);\n background: var(--swiper-pagination-bullet-inactive-color, #000);\n opacity: var(--swiper-pagination-bullet-inactive-opacity, 0.2);\n button& {\n border: none;\n margin: 0;\n padding: 0;\n box-shadow: none;\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n }\n .swiper-pagination-clickable & {\n cursor: pointer;\n }\n\n &:only-child {\n display: none !important;\n }\n}\n.swiper-pagination-bullet-active {\n opacity: var(--swiper-pagination-bullet-opacity, 1);\n background: var(--swiper-pagination-color, var(--swiper-theme-color));\n}\n\n.swiper-vertical > .swiper-pagination-bullets,\n.swiper-pagination-vertical.swiper-pagination-bullets {\n right: var(--swiper-pagination-right, 8px);\n left: var(--swiper-pagination-left, auto);\n top: 50%;\n transform: translate3d(0px, -50%, 0);\n .swiper-pagination-bullet {\n margin: var(--swiper-pagination-bullet-vertical-gap, 6px) 0;\n display: block;\n }\n &.swiper-pagination-bullets-dynamic {\n top: 50%;\n transform: translateY(-50%);\n width: 8px;\n .swiper-pagination-bullet {\n display: inline-block;\n transition:\n 200ms transform,\n 200ms top;\n }\n }\n}\n.swiper-horizontal > .swiper-pagination-bullets,\n.swiper-pagination-horizontal.swiper-pagination-bullets {\n .swiper-pagination-bullet {\n margin: 0 var(--swiper-pagination-bullet-horizontal-gap, 4px);\n }\n &.swiper-pagination-bullets-dynamic {\n left: 50%;\n transform: translateX(-50%);\n white-space: nowrap;\n .swiper-pagination-bullet {\n transition:\n 200ms transform,\n 200ms left;\n }\n }\n}\n.swiper-horizontal.swiper-rtl > .swiper-pagination-bullets-dynamic .swiper-pagination-bullet {\n transition:\n 200ms transform,\n 200ms right;\n}\n/* Fraction */\n.swiper-pagination-fraction {\n color: var(--swiper-pagination-fraction-color, inherit);\n}\n/* Progress */\n.swiper-pagination-progressbar {\n background: var(--swiper-pagination-progressbar-bg-color, rgba(0, 0, 0, 0.25));\n position: absolute;\n .swiper-pagination-progressbar-fill {\n background: var(--swiper-pagination-color, var(--swiper-theme-color));\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n transform: scale(0);\n transform-origin: left top;\n }\n .swiper-rtl & .swiper-pagination-progressbar-fill {\n transform-origin: right top;\n }\n .swiper-horizontal > &,\n &.swiper-pagination-horizontal,\n .swiper-vertical > &.swiper-pagination-progressbar-opposite,\n &.swiper-pagination-vertical.swiper-pagination-progressbar-opposite {\n width: 100%;\n height: var(--swiper-pagination-progressbar-size, 4px);\n left: 0;\n top: 0;\n }\n .swiper-vertical > &,\n &.swiper-pagination-vertical,\n .swiper-horizontal > &.swiper-pagination-progressbar-opposite,\n &.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite {\n width: var(--swiper-pagination-progressbar-size, 4px);\n height: 100%;\n left: 0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AA,EACrB,CAAC,CA/HwB;AAAA,EAgIzB,CAlED,gBAkEkB,EAAE,CAAC,CAAC;AAAA,EACrB,CAAC,CAlEF,0BAkE6B,CADP;AAEnB,WAAO;AACP,YAAQ,IAAI,oCAAoC,EAAE;AAClD,UAAM;AACN,SAAK;AACP;AACA,GAzED,gBAyEkB,EAAE;AAAA,EACnB,CAAC,CAzEF;AAAA,EA0EC,CA1ID,kBA0IoB,EAAE,CAAC,CATD;AAAA,EAUrB,CAAC,CA1IwB,4BA0IK,CAVT;AAWnB,WAAO,IAAI,oCAAoC,EAAE;AACjD,YAAQ;AACR,UAAM;AACN,SAAK;AACP;AACF;AACA,CAAC;AACC,WAAS;AACX;","names":[]}
|
|
1
|
+
{"version":3,"sources":["../src/components/DemoRoom/components/RoomsList.module.css","../../../node_modules/swiper/swiper.css","../../../node_modules/swiper/modules/navigation.css","../../../node_modules/swiper/modules/pagination.css"],"sourcesContent":["/* antd-mobile 样式隔离 - 使用更强的隔离策略 */\n.antdMobileScope {\n /* 重置所有继承样式,但保持布局相关属性 */\n all: unset;\n\n /* 恢复必要的属性 */\n display: block;\n position: absolute;\n box-sizing: border-box;\n\n /* 阻止继承字体样式 */\n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;\n font-size: 14px;\n line-height: 1.5;\n color: #333;\n\n /* 重置 CSS 变量影响 */\n --adm-color-primary: #1677ff;\n --adm-color-text: #333333;\n --adm-font-size-main: 14px;\n}\n\n/* 确保 antd-mobile 组件内部样式正常工作 */\n.antdMobileScope *,\n.antdMobileScope *::before,\n.antdMobileScope *::after {\n box-sizing: border-box;\n}\n\n/* 阻止全局样式继承 */\n.antd-mobile-isolated-container .antdMobileScope :not([class*=\"adm-\"]) {\n all: unset;\n}\n\n/* 保持 antd-mobile 组件样式 */\n.antd-mobile-isolated-container .antdMobileScope [class*=\"adm-\"] {\n all: revert;\n}\n\n/* 隐藏 List.Item 的右侧箭头 */\n.antd-mobile-isolated-container .antdMobileScope .adm-list-item-content-arrow {\n display: none !important;\n}\n","/**\n * Swiper 12.0.3\n * Most modern mobile touch slider and framework with hardware accelerated transitions\n * https://swiperjs.com\n *\n * Copyright 2014-2025 Vladimir Kharlampidi\n *\n * Released under the MIT License\n *\n * Released on: October 21, 2025\n */\n\n:root {\n --swiper-theme-color: #007aff;\n /*\n --swiper-preloader-color: var(--swiper-theme-color);\n --swiper-wrapper-transition-timing-function: initial;\n */\n}\n:host {\n position: relative;\n display: block;\n margin-left: auto;\n margin-right: auto;\n z-index: 1;\n}\n.swiper {\n margin-left: auto;\n margin-right: auto;\n position: relative;\n overflow: hidden;\n list-style: none;\n padding: 0;\n /* Fix of Webkit flickering */\n z-index: 1;\n display: block;\n}\n.swiper-vertical > .swiper-wrapper {\n flex-direction: column;\n}\n.swiper-wrapper {\n position: relative;\n width: 100%;\n height: 100%;\n z-index: 1;\n display: flex;\n transition-property: transform;\n transition-timing-function: var(--swiper-wrapper-transition-timing-function, initial);\n box-sizing: content-box;\n}\n.swiper-android .swiper-slide,\n.swiper-ios .swiper-slide,\n.swiper-wrapper {\n transform: translate3d(0px, 0, 0);\n}\n.swiper-horizontal {\n touch-action: pan-y;\n}\n.swiper-vertical {\n touch-action: pan-x;\n}\n.swiper-slide {\n flex-shrink: 0;\n width: 100%;\n height: 100%;\n position: relative;\n transition-property: transform;\n display: block;\n}\n.swiper-slide-invisible-blank {\n visibility: hidden;\n}\n/* Auto Height */\n.swiper-autoheight,\n.swiper-autoheight .swiper-slide {\n height: auto;\n}\n.swiper-autoheight .swiper-wrapper {\n align-items: flex-start;\n transition-property: transform, height;\n}\n.swiper-backface-hidden .swiper-slide {\n transform: translateZ(0);\n backface-visibility: hidden;\n}\n/* 3D Effects */\n.swiper-3d.swiper-css-mode .swiper-wrapper {\n perspective: 1200px;\n}\n.swiper-3d .swiper-wrapper {\n transform-style: preserve-3d;\n}\n.swiper-3d {\n perspective: 1200px;\n .swiper-slide,\n .swiper-cube-shadow {\n transform-style: preserve-3d;\n }\n}\n\n/* CSS Mode */\n.swiper-css-mode {\n > .swiper-wrapper {\n overflow: auto;\n scrollbar-width: none; /* For Firefox */\n -ms-overflow-style: none; /* For Internet Explorer and Edge */\n &::-webkit-scrollbar {\n display: none;\n }\n }\n > .swiper-wrapper > .swiper-slide {\n scroll-snap-align: start start;\n }\n &.swiper-horizontal {\n > .swiper-wrapper {\n scroll-snap-type: x mandatory;\n }\n }\n &.swiper-vertical {\n > .swiper-wrapper {\n scroll-snap-type: y mandatory;\n }\n }\n &.swiper-free-mode {\n > .swiper-wrapper {\n scroll-snap-type: none;\n }\n > .swiper-wrapper > .swiper-slide {\n scroll-snap-align: none;\n }\n }\n &.swiper-centered {\n > .swiper-wrapper::before {\n content: '';\n flex-shrink: 0;\n order: 9999;\n }\n > .swiper-wrapper > .swiper-slide {\n scroll-snap-align: center center;\n scroll-snap-stop: always;\n }\n }\n &.swiper-centered.swiper-horizontal {\n > .swiper-wrapper > .swiper-slide:first-child {\n margin-inline-start: var(--swiper-centered-offset-before);\n }\n > .swiper-wrapper::before {\n height: 100%;\n min-height: 1px;\n width: var(--swiper-centered-offset-after);\n }\n }\n &.swiper-centered.swiper-vertical {\n > .swiper-wrapper > .swiper-slide:first-child {\n margin-block-start: var(--swiper-centered-offset-before);\n }\n > .swiper-wrapper::before {\n width: 100%;\n min-width: 1px;\n height: var(--swiper-centered-offset-after);\n }\n }\n}\n\n/* Slide styles start */\n/* 3D Shadows */\n.swiper-3d {\n .swiper-slide-shadow,\n .swiper-slide-shadow-left,\n .swiper-slide-shadow-right,\n .swiper-slide-shadow-top,\n .swiper-slide-shadow-bottom,\n .swiper-slide-shadow,\n .swiper-slide-shadow-left,\n .swiper-slide-shadow-right,\n .swiper-slide-shadow-top,\n .swiper-slide-shadow-bottom {\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n pointer-events: none;\n z-index: 10;\n }\n .swiper-slide-shadow {\n background: rgba(0, 0, 0, 0.15);\n }\n .swiper-slide-shadow-left {\n background-image: linear-gradient(to left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));\n }\n .swiper-slide-shadow-right {\n background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));\n }\n .swiper-slide-shadow-top {\n background-image: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));\n }\n .swiper-slide-shadow-bottom {\n background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));\n }\n}\n.swiper-lazy-preloader {\n width: 42px;\n height: 42px;\n position: absolute;\n left: 50%;\n top: 50%;\n margin-left: -21px;\n margin-top: -21px;\n z-index: 10;\n transform-origin: 50%;\n box-sizing: border-box;\n border: 4px solid var(--swiper-preloader-color, var(--swiper-theme-color));\n border-radius: 50%;\n border-top-color: transparent;\n}\n.swiper:not(.swiper-watch-progress),\n.swiper-watch-progress .swiper-slide-visible {\n .swiper-lazy-preloader {\n animation: swiper-preloader-spin 1s infinite linear;\n }\n}\n.swiper-lazy-preloader-white {\n --swiper-preloader-color: #fff;\n}\n.swiper-lazy-preloader-black {\n --swiper-preloader-color: #000;\n}\n@keyframes swiper-preloader-spin {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n/* Slide styles end */\n",":root {\n --swiper-navigation-size: 44px;\n /*\n --swiper-navigation-top-offset: 50%;\n --swiper-navigation-sides-offset: 4px;\n --swiper-navigation-color: var(--swiper-theme-color);\n */\n}\n.swiper-button-prev,\n.swiper-button-next {\n position: absolute;\n\n width: var(--swiper-navigation-size);\n height: var(--swiper-navigation-size);\n\n z-index: 10;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n color: var(--swiper-navigation-color, var(--swiper-theme-color));\n &.swiper-button-disabled {\n opacity: 0.35;\n cursor: auto;\n pointer-events: none;\n }\n &.swiper-button-hidden {\n opacity: 0;\n cursor: auto;\n pointer-events: none;\n }\n .swiper-navigation-disabled & {\n display: none !important;\n }\n svg {\n width: 100%;\n height: 100%;\n -o-object-fit: contain;\n object-fit: contain;\n transform-origin: center;\n fill: currentColor;\n pointer-events: none;\n }\n}\n\n.swiper-button-lock {\n display: none;\n}\n\n.swiper-button-prev,\n.swiper-button-next {\n top: var(--swiper-navigation-top-offset, 50%);\n margin-top: calc(0px - (var(--swiper-navigation-size) / 2));\n}\n.swiper-button-prev {\n left: var(--swiper-navigation-sides-offset, 4px);\n right: auto;\n .swiper-navigation-icon {\n transform: rotate(180deg);\n }\n}\n.swiper-button-next {\n right: var(--swiper-navigation-sides-offset, 4px);\n left: auto;\n}\n.swiper-horizontal {\n .swiper-button-prev,\n .swiper-button-next,\n ~ .swiper-button-prev,\n ~ .swiper-button-next {\n top: var(--swiper-navigation-top-offset, 50%);\n margin-top: calc(0px - (var(--swiper-navigation-size) / 2));\n margin-left: 0;\n }\n .swiper-button-prev,\n & ~ .swiper-button-prev,\n &.swiper-rtl .swiper-button-next,\n &.swiper-rtl ~ .swiper-button-next {\n left: var(--swiper-navigation-sides-offset, 4px);\n right: auto;\n }\n .swiper-button-next,\n & ~ .swiper-button-next,\n &.swiper-rtl .swiper-button-prev,\n &.swiper-rtl ~ .swiper-button-prev {\n right: var(--swiper-navigation-sides-offset, 4px);\n left: auto;\n }\n .swiper-button-prev,\n & ~ .swiper-button-prev,\n &.swiper-rtl .swiper-button-next,\n &.swiper-rtl ~ .swiper-button-next {\n .swiper-navigation-icon {\n transform: rotate(180deg);\n }\n }\n &.swiper-rtl .swiper-button-prev,\n &.swiper-rtl ~ .swiper-button-prev {\n .swiper-navigation-icon {\n transform: rotate(0deg);\n }\n }\n}\n.swiper-vertical {\n .swiper-button-prev,\n .swiper-button-next,\n ~ .swiper-button-prev,\n ~ .swiper-button-next {\n left: var(--swiper-navigation-top-offset, 50%);\n right: auto;\n margin-left: calc(0px - (var(--swiper-navigation-size) / 2));\n margin-top: 0;\n }\n .swiper-button-prev,\n ~ .swiper-button-prev {\n top: var(--swiper-navigation-sides-offset, 4px);\n bottom: auto;\n .swiper-navigation-icon {\n transform: rotate(-90deg);\n }\n }\n .swiper-button-next,\n ~ .swiper-button-next {\n bottom: var(--swiper-navigation-sides-offset, 4px);\n top: auto;\n .swiper-navigation-icon {\n transform: rotate(90deg);\n }\n }\n}\n",":root {\n /*\n --swiper-pagination-color: var(--swiper-theme-color);\n --swiper-pagination-left: auto;\n --swiper-pagination-right: 8px;\n --swiper-pagination-bottom: 8px;\n --swiper-pagination-top: auto;\n --swiper-pagination-fraction-color: inherit;\n --swiper-pagination-progressbar-bg-color: rgba(0,0,0,0.25);\n --swiper-pagination-progressbar-size: 4px;\n --swiper-pagination-bullet-size: 8px;\n --swiper-pagination-bullet-width: 8px;\n --swiper-pagination-bullet-height: 8px;\n --swiper-pagination-bullet-border-radius: 50%;\n --swiper-pagination-bullet-inactive-color: #000;\n --swiper-pagination-bullet-inactive-opacity: 0.2;\n --swiper-pagination-bullet-opacity: 1;\n --swiper-pagination-bullet-horizontal-gap: 4px;\n --swiper-pagination-bullet-vertical-gap: 6px;\n */\n}\n.swiper-pagination {\n position: absolute;\n text-align: center;\n transition: 300ms opacity;\n transform: translate3d(0, 0, 0);\n z-index: 10;\n &.swiper-pagination-hidden {\n opacity: 0;\n }\n .swiper-pagination-disabled > &,\n &.swiper-pagination-disabled {\n display: none !important;\n }\n}\n/* Common Styles */\n.swiper-pagination-fraction,\n.swiper-pagination-custom,\n.swiper-horizontal > .swiper-pagination-bullets,\n.swiper-pagination-bullets.swiper-pagination-horizontal {\n bottom: var(--swiper-pagination-bottom, 8px);\n top: var(--swiper-pagination-top, auto);\n left: 0;\n width: 100%;\n}\n/* Bullets */\n.swiper-pagination-bullets-dynamic {\n overflow: hidden;\n font-size: 0;\n .swiper-pagination-bullet {\n transform: scale(0.33);\n position: relative;\n }\n .swiper-pagination-bullet-active {\n transform: scale(1);\n }\n .swiper-pagination-bullet-active-main {\n transform: scale(1);\n }\n .swiper-pagination-bullet-active-prev {\n transform: scale(0.66);\n }\n .swiper-pagination-bullet-active-prev-prev {\n transform: scale(0.33);\n }\n .swiper-pagination-bullet-active-next {\n transform: scale(0.66);\n }\n .swiper-pagination-bullet-active-next-next {\n transform: scale(0.33);\n }\n}\n.swiper-pagination-bullet {\n width: var(--swiper-pagination-bullet-width, var(--swiper-pagination-bullet-size, 8px));\n height: var(--swiper-pagination-bullet-height, var(--swiper-pagination-bullet-size, 8px));\n display: inline-block;\n border-radius: var(--swiper-pagination-bullet-border-radius, 50%);\n background: var(--swiper-pagination-bullet-inactive-color, #000);\n opacity: var(--swiper-pagination-bullet-inactive-opacity, 0.2);\n button& {\n border: none;\n margin: 0;\n padding: 0;\n box-shadow: none;\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n }\n .swiper-pagination-clickable & {\n cursor: pointer;\n }\n\n &:only-child {\n display: none !important;\n }\n}\n.swiper-pagination-bullet-active {\n opacity: var(--swiper-pagination-bullet-opacity, 1);\n background: var(--swiper-pagination-color, var(--swiper-theme-color));\n}\n\n.swiper-vertical > .swiper-pagination-bullets,\n.swiper-pagination-vertical.swiper-pagination-bullets {\n right: var(--swiper-pagination-right, 8px);\n left: var(--swiper-pagination-left, auto);\n top: 50%;\n transform: translate3d(0px, -50%, 0);\n .swiper-pagination-bullet {\n margin: var(--swiper-pagination-bullet-vertical-gap, 6px) 0;\n display: block;\n }\n &.swiper-pagination-bullets-dynamic {\n top: 50%;\n transform: translateY(-50%);\n width: 8px;\n .swiper-pagination-bullet {\n display: inline-block;\n transition:\n 200ms transform,\n 200ms top;\n }\n }\n}\n.swiper-horizontal > .swiper-pagination-bullets,\n.swiper-pagination-horizontal.swiper-pagination-bullets {\n .swiper-pagination-bullet {\n margin: 0 var(--swiper-pagination-bullet-horizontal-gap, 4px);\n }\n &.swiper-pagination-bullets-dynamic {\n left: 50%;\n transform: translateX(-50%);\n white-space: nowrap;\n .swiper-pagination-bullet {\n transition:\n 200ms transform,\n 200ms left;\n }\n }\n}\n.swiper-horizontal.swiper-rtl > .swiper-pagination-bullets-dynamic .swiper-pagination-bullet {\n transition:\n 200ms transform,\n 200ms right;\n}\n/* Fraction */\n.swiper-pagination-fraction {\n color: var(--swiper-pagination-fraction-color, inherit);\n}\n/* Progress */\n.swiper-pagination-progressbar {\n background: var(--swiper-pagination-progressbar-bg-color, rgba(0, 0, 0, 0.25));\n position: absolute;\n .swiper-pagination-progressbar-fill {\n background: var(--swiper-pagination-color, var(--swiper-theme-color));\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n transform: scale(0);\n transform-origin: left top;\n }\n .swiper-rtl & .swiper-pagination-progressbar-fill {\n transform-origin: right top;\n }\n .swiper-horizontal > &,\n &.swiper-pagination-horizontal,\n .swiper-vertical > &.swiper-pagination-progressbar-opposite,\n &.swiper-pagination-vertical.swiper-pagination-progressbar-opposite {\n width: 100%;\n height: var(--swiper-pagination-progressbar-size, 4px);\n left: 0;\n top: 0;\n }\n .swiper-vertical > &,\n &.swiper-pagination-vertical,\n .swiper-horizontal > &.swiper-pagination-progressbar-opposite,\n &.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite {\n width: var(--swiper-pagination-progressbar-size, 4px);\n height: 100%;\n left: 0;\n top: 0;\n }\n}\n.swiper-pagination-lock {\n display: none;\n}\n"],"mappings":";AACA,CAAC;AAEC,OAAK;AAGL,WAAS;AACT,YAAU;AACV,cAAY;AAGZ;AAAA,IAAa,aAAa;AAAA,IAAE,kBAAkB;AAAA,IAAE,UAAU;AAAA,IAAE,MAAM;AAAA,IAAE,gBAAgB;AAAA,IAAE,KAAK;AAAA,IAAE;AAC7F,aAAW;AACX,eAAa;AACb,SAAO;AAGP,uBAAqB;AACrB,oBAAkB;AAClB,wBAAsB;AACxB;AAGA,CAtBC,gBAsBgB;AACjB,CAvBC,gBAuBgB,CAAC;AAClB,CAxBC,gBAwBgB,CAAC;AAChB,cAAY;AACd;AAGA,CAAC,+BAA+B,CA7B/B,gBA6BgD,KAAK,C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14,8 @@ var antd = require('antd');
|
|
|
14
14
|
var dayLocaleData = require('dayjs/plugin/localeData');
|
|
15
15
|
var weekday = require('dayjs/plugin/weekday');
|
|
16
16
|
var weekOfYear = require('dayjs/plugin/weekOfYear');
|
|
17
|
+
var timezone = require('dayjs/plugin/timezone');
|
|
18
|
+
var utc = require('dayjs/plugin/utc');
|
|
17
19
|
|
|
18
20
|
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
19
21
|
|
|
@@ -24,6 +26,8 @@ var dayjs__default = /*#__PURE__*/_interopDefault(dayjs);
|
|
|
24
26
|
var dayLocaleData__default = /*#__PURE__*/_interopDefault(dayLocaleData);
|
|
25
27
|
var weekday__default = /*#__PURE__*/_interopDefault(weekday);
|
|
26
28
|
var weekOfYear__default = /*#__PURE__*/_interopDefault(weekOfYear);
|
|
29
|
+
var timezone__default = /*#__PURE__*/_interopDefault(timezone);
|
|
30
|
+
var utc__default = /*#__PURE__*/_interopDefault(utc);
|
|
27
31
|
|
|
28
32
|
function cn(...inputs) {
|
|
29
33
|
return tailwindMerge.twMerge(clsx.clsx(inputs));
|
|
@@ -1671,7 +1675,8 @@ var QuestionnaireForm = ({
|
|
|
1671
1675
|
pageData,
|
|
1672
1676
|
selectedTimeslotId,
|
|
1673
1677
|
loading = false,
|
|
1674
|
-
className
|
|
1678
|
+
className,
|
|
1679
|
+
error
|
|
1675
1680
|
}) => {
|
|
1676
1681
|
const [responses, setResponses] = React9.useState({});
|
|
1677
1682
|
const [errors, setErrors] = React9.useState({});
|
|
@@ -2117,17 +2122,20 @@ var QuestionnaireForm = ({
|
|
|
2117
2122
|
),
|
|
2118
2123
|
children: loading ? pageData?.submitting || "Submitting..." : pageData?.submit || "Submit Booking"
|
|
2119
2124
|
}
|
|
2120
|
-
)
|
|
2125
|
+
),
|
|
2126
|
+
error && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-center w-full p-4", children: /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-[#FF4D4D] font-bold", children: error.message }) })
|
|
2121
2127
|
] })
|
|
2122
2128
|
] });
|
|
2123
2129
|
};
|
|
2124
2130
|
dayjs__default.default.extend(dayLocaleData__default.default);
|
|
2125
2131
|
dayjs__default.default.extend(weekday__default.default);
|
|
2126
2132
|
dayjs__default.default.extend(weekOfYear__default.default);
|
|
2133
|
+
dayjs__default.default.extend(utc__default.default);
|
|
2134
|
+
dayjs__default.default.extend(timezone__default.default);
|
|
2127
2135
|
var DateTimePicker = ({
|
|
2128
2136
|
apiClient,
|
|
2129
2137
|
demoRoomCode,
|
|
2130
|
-
timezone,
|
|
2138
|
+
timezone: timezone2,
|
|
2131
2139
|
pageData = {
|
|
2132
2140
|
scheduleYourVisit: "Schedule Your Visit",
|
|
2133
2141
|
timeSlot: "Time Slot",
|
|
@@ -2181,41 +2189,47 @@ var DateTimePicker = ({
|
|
|
2181
2189
|
{
|
|
2182
2190
|
start_date: startDate,
|
|
2183
2191
|
end_date: endDate,
|
|
2184
|
-
timezone
|
|
2192
|
+
timezone: timezone2
|
|
2185
2193
|
},
|
|
2186
2194
|
{ enabled: !!demoRoomCode }
|
|
2187
2195
|
);
|
|
2188
2196
|
const dayTimeslots = React9.useMemo(() => {
|
|
2189
2197
|
if (!timeslotsData?.timeslots || !selectedDate) return [];
|
|
2198
|
+
const tz = demoRoom?.timezone || timezone2;
|
|
2190
2199
|
const selectedDateStr = selectedDate.format("YYYY-MM-DD");
|
|
2191
2200
|
return timeslotsData.timeslots.filter((slot) => {
|
|
2192
|
-
const slotDate = dayjs__default.default(slot.start_time).format("YYYY-MM-DD");
|
|
2201
|
+
const slotDate = tz ? dayjs__default.default(slot.start_time).tz(tz).format("YYYY-MM-DD") : dayjs__default.default(slot.start_time).format("YYYY-MM-DD");
|
|
2193
2202
|
return slotDate === selectedDateStr;
|
|
2194
2203
|
});
|
|
2195
|
-
}, [timeslotsData, selectedDate]);
|
|
2204
|
+
}, [timeslotsData, selectedDate, demoRoom?.timezone, timezone2]);
|
|
2196
2205
|
const availableDates = React9.useMemo(() => {
|
|
2197
2206
|
if (!timeslotsData?.timeslots) return /* @__PURE__ */ new Set();
|
|
2207
|
+
const tz = demoRoom?.timezone || timezone2;
|
|
2198
2208
|
const dates = /* @__PURE__ */ new Set();
|
|
2199
2209
|
timeslotsData.timeslots.forEach((slot) => {
|
|
2200
2210
|
if (slot.status === "available") {
|
|
2201
|
-
const dateStr = dayjs__default.default(slot.start_time).format("YYYY-MM-DD");
|
|
2211
|
+
const dateStr = tz ? dayjs__default.default(slot.start_time).tz(tz).format("YYYY-MM-DD") : dayjs__default.default(slot.start_time).format("YYYY-MM-DD");
|
|
2202
2212
|
dates.add(dateStr);
|
|
2203
2213
|
}
|
|
2204
2214
|
});
|
|
2205
2215
|
return dates;
|
|
2206
|
-
}, [timeslotsData]);
|
|
2216
|
+
}, [timeslotsData, demoRoom?.timezone, timezone2]);
|
|
2207
2217
|
React9.useEffect(() => {
|
|
2208
2218
|
if (!timeslotsData?.timeslots || isInitialized) return;
|
|
2209
|
-
const
|
|
2210
|
-
const
|
|
2211
|
-
|
|
2212
|
-
|
|
2219
|
+
const tz = demoRoom?.timezone || timezone2;
|
|
2220
|
+
const now2 = tz ? dayjs__default.default().tz(tz) : dayjs__default.default();
|
|
2221
|
+
const availableTimeslots = timeslotsData.timeslots.filter((slot) => {
|
|
2222
|
+
const slotTime = tz ? dayjs__default.default(slot.start_time).tz(tz) : dayjs__default.default(slot.start_time);
|
|
2223
|
+
return slot.status === "available" && slotTime.isAfter(now2);
|
|
2224
|
+
});
|
|
2213
2225
|
if (availableTimeslots.length > 0) {
|
|
2214
|
-
const sortedSlots = [...availableTimeslots].sort(
|
|
2215
|
-
|
|
2216
|
-
|
|
2226
|
+
const sortedSlots = [...availableTimeslots].sort((a, b) => {
|
|
2227
|
+
const timeA = tz ? dayjs__default.default(a.start_time).tz(tz) : dayjs__default.default(a.start_time);
|
|
2228
|
+
const timeB = tz ? dayjs__default.default(b.start_time).tz(tz) : dayjs__default.default(b.start_time);
|
|
2229
|
+
return timeA.unix() - timeB.unix();
|
|
2230
|
+
});
|
|
2217
2231
|
const nearestSlot = sortedSlots[0];
|
|
2218
|
-
const nearestDate = dayjs__default.default(nearestSlot.start_time);
|
|
2232
|
+
const nearestDate = tz ? dayjs__default.default(nearestSlot.start_time).tz(tz) : dayjs__default.default(nearestSlot.start_time);
|
|
2219
2233
|
setSelectedDate(nearestDate);
|
|
2220
2234
|
setCalendarValue(nearestDate);
|
|
2221
2235
|
setSelectedTimeslotId(nearestSlot.id);
|
|
@@ -2225,32 +2239,43 @@ var DateTimePicker = ({
|
|
|
2225
2239
|
setCalendarValue(now2);
|
|
2226
2240
|
setIsInitialized(true);
|
|
2227
2241
|
}
|
|
2228
|
-
}, [timeslotsData, isInitialized, selectedDate]);
|
|
2242
|
+
}, [timeslotsData, isInitialized, selectedDate, demoRoom?.timezone, timezone2]);
|
|
2229
2243
|
React9.useEffect(() => {
|
|
2230
2244
|
if (!timeslotsData?.timeslots || !isInitialized) return;
|
|
2231
2245
|
if (selectedDate && selectedDate.isSame(calendarValue, "month")) {
|
|
2232
2246
|
return;
|
|
2233
2247
|
}
|
|
2248
|
+
const tz = demoRoom?.timezone || timezone2;
|
|
2234
2249
|
const currentMonthStart = calendarValue.startOf("month");
|
|
2235
2250
|
const currentMonthEnd = calendarValue.endOf("month");
|
|
2236
|
-
const now2 = dayjs__default.default();
|
|
2251
|
+
const now2 = tz ? dayjs__default.default().tz(tz) : dayjs__default.default();
|
|
2237
2252
|
const availableTimeslots = timeslotsData.timeslots.filter((slot) => {
|
|
2238
|
-
const slotDate = dayjs__default.default(slot.start_time);
|
|
2253
|
+
const slotDate = tz ? dayjs__default.default(slot.start_time).tz(tz) : dayjs__default.default(slot.start_time);
|
|
2239
2254
|
return slot.status === "available" && slotDate.isAfter(now2) && (slotDate.isAfter(currentMonthStart) || slotDate.isSame(currentMonthStart, "day")) && (slotDate.isBefore(currentMonthEnd) || slotDate.isSame(currentMonthEnd, "day"));
|
|
2240
2255
|
});
|
|
2241
2256
|
if (availableTimeslots.length > 0) {
|
|
2242
|
-
const sortedSlots = [...availableTimeslots].sort(
|
|
2243
|
-
|
|
2244
|
-
|
|
2257
|
+
const sortedSlots = [...availableTimeslots].sort((a, b) => {
|
|
2258
|
+
const timeA = tz ? dayjs__default.default(a.start_time).tz(tz) : dayjs__default.default(a.start_time);
|
|
2259
|
+
const timeB = tz ? dayjs__default.default(b.start_time).tz(tz) : dayjs__default.default(b.start_time);
|
|
2260
|
+
return timeA.unix() - timeB.unix();
|
|
2261
|
+
});
|
|
2245
2262
|
const firstSlot = sortedSlots[0];
|
|
2246
|
-
const firstDate = dayjs__default.default(firstSlot.start_time);
|
|
2263
|
+
const firstDate = tz ? dayjs__default.default(firstSlot.start_time).tz(tz) : dayjs__default.default(firstSlot.start_time);
|
|
2247
2264
|
setSelectedDate(firstDate);
|
|
2248
2265
|
setSelectedTimeslotId(firstSlot.id);
|
|
2249
2266
|
}
|
|
2250
|
-
}, [
|
|
2267
|
+
}, [
|
|
2268
|
+
calendarValue,
|
|
2269
|
+
timeslotsData,
|
|
2270
|
+
isInitialized,
|
|
2271
|
+
selectedDate,
|
|
2272
|
+
demoRoom?.timezone,
|
|
2273
|
+
timezone2
|
|
2274
|
+
]);
|
|
2251
2275
|
const formatTimeslot = (slot) => {
|
|
2252
|
-
const
|
|
2253
|
-
const
|
|
2276
|
+
const tz = demoRoom?.timezone || timezone2;
|
|
2277
|
+
const start = tz ? dayjs__default.default(slot.start_time).tz(tz).format("h:mm A") : dayjs__default.default(slot.start_time).format("h:mm A");
|
|
2278
|
+
const end = tz ? dayjs__default.default(slot.end_time).tz(tz).format("h:mm A") : dayjs__default.default(slot.end_time).format("h:mm A");
|
|
2254
2279
|
return `${start} - ${end}`;
|
|
2255
2280
|
};
|
|
2256
2281
|
const wrapperStyle = {
|
|
@@ -2665,7 +2690,7 @@ var DateTimePicker = ({
|
|
|
2665
2690
|
}) }),
|
|
2666
2691
|
!timeslotsLoading && dayTimeslots?.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "pt-[24px] text-[#6d6d6F] text-center", children: pageData?.timezone?.replace(
|
|
2667
2692
|
"{{timezone}}",
|
|
2668
|
-
demoRoom?.timezone ||
|
|
2693
|
+
demoRoom?.timezone || timezone2 || ""
|
|
2669
2694
|
) })
|
|
2670
2695
|
] })
|
|
2671
2696
|
] }),
|
|
@@ -2678,6 +2703,7 @@ var DateTimePicker = ({
|
|
|
2678
2703
|
loading: bookingLoading,
|
|
2679
2704
|
pageData,
|
|
2680
2705
|
selectedTimeslotId,
|
|
2706
|
+
error: bookingError,
|
|
2681
2707
|
onSubmit: async (responses) => {
|
|
2682
2708
|
if (onQuestionnaireSubmit) {
|
|
2683
2709
|
await onQuestionnaireSubmit(responses);
|
|
@@ -2713,7 +2739,7 @@ var DateTimePicker = ({
|
|
|
2713
2739
|
};
|
|
2714
2740
|
var DateTimePicker_default = DateTimePicker;
|
|
2715
2741
|
|
|
2716
|
-
// node_modules/swiper/shared/ssr-window.esm.mjs
|
|
2742
|
+
// ../../node_modules/swiper/shared/ssr-window.esm.mjs
|
|
2717
2743
|
function isObject(obj) {
|
|
2718
2744
|
return obj !== null && typeof obj === "object" && "constructor" in obj && obj.constructor === Object;
|
|
2719
2745
|
}
|
|
@@ -2857,7 +2883,7 @@ function getWindow() {
|
|
|
2857
2883
|
return win;
|
|
2858
2884
|
}
|
|
2859
2885
|
|
|
2860
|
-
// node_modules/swiper/shared/utils.mjs
|
|
2886
|
+
// ../../node_modules/swiper/shared/utils.mjs
|
|
2861
2887
|
function classesToTokens(classes2 = "") {
|
|
2862
2888
|
return classes2.trim().split(" ").filter((c) => !!c.trim());
|
|
2863
2889
|
}
|
|
@@ -3128,7 +3154,7 @@ function setInnerHTML(el, html = "") {
|
|
|
3128
3154
|
}
|
|
3129
3155
|
}
|
|
3130
3156
|
|
|
3131
|
-
// node_modules/swiper/shared/swiper-core.mjs
|
|
3157
|
+
// ../../node_modules/swiper/shared/swiper-core.mjs
|
|
3132
3158
|
var support;
|
|
3133
3159
|
function calcSupport() {
|
|
3134
3160
|
const window2 = getWindow();
|
|
@@ -6762,7 +6788,7 @@ Object.keys(prototypes).forEach((prototypeGroup) => {
|
|
|
6762
6788
|
});
|
|
6763
6789
|
Swiper.use([Resize, Observer]);
|
|
6764
6790
|
|
|
6765
|
-
// node_modules/swiper/shared/update-swiper.mjs
|
|
6791
|
+
// ../../node_modules/swiper/shared/update-swiper.mjs
|
|
6766
6792
|
var paramsList = [
|
|
6767
6793
|
"eventsPrefix",
|
|
6768
6794
|
"injectStyles",
|
|
@@ -7091,7 +7117,7 @@ function updateSwiper({
|
|
|
7091
7117
|
swiper.update();
|
|
7092
7118
|
}
|
|
7093
7119
|
|
|
7094
|
-
// node_modules/swiper/shared/update-on-virtual-data.mjs
|
|
7120
|
+
// ../../node_modules/swiper/shared/update-on-virtual-data.mjs
|
|
7095
7121
|
function getParams(obj = {}, splitEvents = true) {
|
|
7096
7122
|
const params = {
|
|
7097
7123
|
on: {}
|
|
@@ -7209,7 +7235,7 @@ var updateOnVirtualData = (swiper) => {
|
|
|
7209
7235
|
}
|
|
7210
7236
|
};
|
|
7211
7237
|
|
|
7212
|
-
// node_modules/swiper/swiper-react.mjs
|
|
7238
|
+
// ../../node_modules/swiper/swiper-react.mjs
|
|
7213
7239
|
function _extends() {
|
|
7214
7240
|
_extends = Object.assign ? Object.assign.bind() : function(target) {
|
|
7215
7241
|
for (var i = 1; i < arguments.length; i++) {
|
|
@@ -7555,7 +7581,7 @@ var SwiperSlide = /* @__PURE__ */ React9.forwardRef(({
|
|
|
7555
7581
|
});
|
|
7556
7582
|
SwiperSlide.displayName = "SwiperSlide";
|
|
7557
7583
|
|
|
7558
|
-
// node_modules/swiper/shared/create-element-if-not-defined.mjs
|
|
7584
|
+
// ../../node_modules/swiper/shared/create-element-if-not-defined.mjs
|
|
7559
7585
|
function createElementIfNotDefined(swiper, originalParams, params, checkProps) {
|
|
7560
7586
|
if (swiper.params.createElements) {
|
|
7561
7587
|
Object.keys(checkProps).forEach((key) => {
|
|
@@ -7574,7 +7600,7 @@ function createElementIfNotDefined(swiper, originalParams, params, checkProps) {
|
|
|
7574
7600
|
return params;
|
|
7575
7601
|
}
|
|
7576
7602
|
|
|
7577
|
-
// node_modules/swiper/modules/navigation.mjs
|
|
7603
|
+
// ../../node_modules/swiper/modules/navigation.mjs
|
|
7578
7604
|
var arrowSvg = `<svg class="swiper-navigation-icon" width="11" height="20" viewBox="0 0 11 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.38296 20.0762C0.111788 19.805 0.111788 19.3654 0.38296 19.0942L9.19758 10.2796L0.38296 1.46497C0.111788 1.19379 0.111788 0.754138 0.38296 0.482966C0.654131 0.211794 1.09379 0.211794 1.36496 0.482966L10.4341 9.55214C10.8359 9.9539 10.8359 10.6053 10.4341 11.007L1.36496 20.0762C1.09379 20.3474 0.654131 20.3474 0.38296 20.0762Z" fill="currentColor"/></svg>`;
|
|
7579
7605
|
function Navigation({
|
|
7580
7606
|
swiper,
|
|
@@ -7776,12 +7802,12 @@ function Navigation({
|
|
|
7776
7802
|
});
|
|
7777
7803
|
}
|
|
7778
7804
|
|
|
7779
|
-
// node_modules/swiper/shared/classes-to-selector.mjs
|
|
7805
|
+
// ../../node_modules/swiper/shared/classes-to-selector.mjs
|
|
7780
7806
|
function classesToSelector(classes2 = "") {
|
|
7781
7807
|
return `.${classes2.trim().replace(/([\.:!+\/()[\]])/g, "\\$1").replace(/ /g, ".")}`;
|
|
7782
7808
|
}
|
|
7783
7809
|
|
|
7784
|
-
// node_modules/swiper/modules/pagination.mjs
|
|
7810
|
+
// ../../node_modules/swiper/modules/pagination.mjs
|
|
7785
7811
|
function Pagination({
|
|
7786
7812
|
swiper,
|
|
7787
7813
|
extendParams,
|
|
@@ -8229,7 +8255,7 @@ function Pagination({
|
|
|
8229
8255
|
});
|
|
8230
8256
|
}
|
|
8231
8257
|
|
|
8232
|
-
// node_modules/swiper/modules/autoplay.mjs
|
|
8258
|
+
// ../../node_modules/swiper/modules/autoplay.mjs
|
|
8233
8259
|
function Autoplay({
|
|
8234
8260
|
swiper,
|
|
8235
8261
|
extendParams,
|
|
@@ -8766,7 +8792,7 @@ var BookingForm = ({
|
|
|
8766
8792
|
apiConfig,
|
|
8767
8793
|
demoRoomCode,
|
|
8768
8794
|
pageData,
|
|
8769
|
-
timezone,
|
|
8795
|
+
timezone: timezone2,
|
|
8770
8796
|
handleBookingSuccess,
|
|
8771
8797
|
onQuestionnaireSubmit,
|
|
8772
8798
|
...props
|
|
@@ -8798,7 +8824,7 @@ var BookingForm = ({
|
|
|
8798
8824
|
{
|
|
8799
8825
|
apiClient,
|
|
8800
8826
|
demoRoomCode,
|
|
8801
|
-
timezone,
|
|
8827
|
+
timezone: timezone2,
|
|
8802
8828
|
locale: apiConfig.locale,
|
|
8803
8829
|
onBookingSuccess: handleBookingSuccess,
|
|
8804
8830
|
onQuestionnaireSubmit,
|