@aaravpos/appointment-booking-plugin 2.0.0 → 2.0.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.cjs +3 -3
- package/dist/index.js +5 -5
- package/dist/styles.css +8 -8
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2577,7 +2577,7 @@ var El = (0, Pu.combineReducers)({
|
|
|
2577
2577
|
service: void 0,
|
|
2578
2578
|
slots: void 0,
|
|
2579
2579
|
appointment: void 0,
|
|
2580
|
-
outletList:
|
|
2580
|
+
outletList: void 0
|
|
2581
2581
|
}, t) : El(e, t), av = () => ({
|
|
2582
2582
|
getItem() {
|
|
2583
2583
|
return Promise.resolve(null);
|
|
@@ -9350,7 +9350,7 @@ function Is({ buttonText: e, onButtonClick: t, showTaxesOnlyIfTime: r = !1, show
|
|
|
9350
9350
|
]), ee = u || d || c || !I;
|
|
9351
9351
|
return me(() => {
|
|
9352
9352
|
const L = () => {
|
|
9353
|
-
const oe = D.current?.offsetHeight || 0, Ce = w.current?.offsetHeight || 0, rt = (oe +
|
|
9353
|
+
const oe = D.current?.offsetHeight || 0, Ce = w.current?.offsetHeight || 0, rt = (oe + 125 || 0) + Ce;
|
|
9354
9354
|
G(window.innerHeight - rt);
|
|
9355
9355
|
};
|
|
9356
9356
|
L();
|
|
@@ -25013,7 +25013,7 @@ var b7 = ({ bookingCode: e }) => {
|
|
|
25013
25013
|
} catch (c) {
|
|
25014
25014
|
console.error(c), i(c?.message || "Something went wrong");
|
|
25015
25015
|
}
|
|
25016
|
-
}, [e]), s = async (c, d) => {
|
|
25016
|
+
}, [e, t]), s = async (c, d) => {
|
|
25017
25017
|
try {
|
|
25018
25018
|
const u = await bl(e, c, d);
|
|
25019
25019
|
u?.success || i(u?.message || "Failed to fetch outlet data"), t(L1(u?.data?.token)), t(M1(u?.data?.data?.outlets[0]?.isService)), t(j1({
|
|
@@ -25034,8 +25034,8 @@ var b7 = ({ bookingCode: e }) => {
|
|
|
25034
25034
|
})), t(Va(c?.isService ? "services" : "professionals")));
|
|
25035
25035
|
};
|
|
25036
25036
|
return me(() => {
|
|
25037
|
-
o();
|
|
25038
|
-
}, [o]), n ? /* @__PURE__ */ h("div", {
|
|
25037
|
+
Array.isArray(r) && r.length === 0 && o();
|
|
25038
|
+
}, [r?.length, o]), n ? /* @__PURE__ */ h("div", {
|
|
25039
25039
|
className: "arravpos-error-box",
|
|
25040
25040
|
children: n
|
|
25041
25041
|
}) : /* @__PURE__ */ h("div", { children: r.length > 1 && !a ? /* @__PURE__ */ h(ib, {
|
package/dist/styles.css
CHANGED
|
@@ -919,7 +919,7 @@
|
|
|
919
919
|
}
|
|
920
920
|
.aaravpos-mobile-button {
|
|
921
921
|
position: absolute;
|
|
922
|
-
bottom:
|
|
922
|
+
bottom: 10px;
|
|
923
923
|
left: 0;
|
|
924
924
|
right: 0;
|
|
925
925
|
z-index: 50;
|
|
@@ -3010,7 +3010,7 @@
|
|
|
3010
3010
|
margin-bottom: 10px;
|
|
3011
3011
|
padding: 12px;
|
|
3012
3012
|
background-color: var(--surface);
|
|
3013
|
-
border: 1px solid
|
|
3013
|
+
border: 1px solid rgb(0 0 0 / 10%);
|
|
3014
3014
|
border-radius: 2px;
|
|
3015
3015
|
flex-wrap: wrap;
|
|
3016
3016
|
}
|
|
@@ -3078,7 +3078,7 @@
|
|
|
3078
3078
|
}
|
|
3079
3079
|
.arravpos-slot-section {
|
|
3080
3080
|
margin-bottom: 16px;
|
|
3081
|
-
border: 1px solid
|
|
3081
|
+
border: 1px solid rgb(0 0 0 / 10%);
|
|
3082
3082
|
border-radius: 2px;
|
|
3083
3083
|
overflow: hidden;
|
|
3084
3084
|
}
|
|
@@ -3112,7 +3112,7 @@
|
|
|
3112
3112
|
}
|
|
3113
3113
|
.arravpos-slot-section-content {
|
|
3114
3114
|
padding: 12px;
|
|
3115
|
-
border-top: 1px solid
|
|
3115
|
+
border-top: 1px solid rgb(0 0 0 / 10%);
|
|
3116
3116
|
background-color: #ffffff;
|
|
3117
3117
|
}
|
|
3118
3118
|
.arravpos-slot-grid {
|
|
@@ -3127,7 +3127,7 @@
|
|
|
3127
3127
|
justify-content: center;
|
|
3128
3128
|
padding: 12px;
|
|
3129
3129
|
gap: 4px;
|
|
3130
|
-
border: 1px solid
|
|
3130
|
+
border: 1px solid rgb(0 0 0 / 10%);
|
|
3131
3131
|
border-radius: 2px;
|
|
3132
3132
|
transition: all 0.2s ease;
|
|
3133
3133
|
}
|
|
@@ -3142,7 +3142,7 @@
|
|
|
3142
3142
|
.arravpos-slot-card-selected {
|
|
3143
3143
|
background-color: #fff8f8;
|
|
3144
3144
|
color: var(--btn-bg);
|
|
3145
|
-
border-color:
|
|
3145
|
+
border-color: rgb(0 0 0 / 10%);
|
|
3146
3146
|
cursor: pointer;
|
|
3147
3147
|
}
|
|
3148
3148
|
.arravpos-slot-card-disabled {
|
|
@@ -3434,10 +3434,10 @@
|
|
|
3434
3434
|
padding-right: 24px;
|
|
3435
3435
|
}
|
|
3436
3436
|
.aaravpos-order-list {
|
|
3437
|
-
height: calc(100dvh -
|
|
3437
|
+
height: calc(100dvh - 235px);
|
|
3438
3438
|
}
|
|
3439
3439
|
.aaravpos-pro-order-list {
|
|
3440
|
-
height: calc(100dvh -
|
|
3440
|
+
height: calc(100dvh - 265px);
|
|
3441
3441
|
}
|
|
3442
3442
|
.aaravpos-sidebar-close-btn {
|
|
3443
3443
|
display: none;
|
package/package.json
CHANGED