@aaravpos/appointment-booking-plugin 1.0.5 → 1.0.6
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 +7 -7
- package/dist/index.js +4 -3
- package/dist/styles.css +16 -12
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -8136,6 +8136,7 @@ function Bt() {
|
|
|
8136
8136
|
}) });
|
|
8137
8137
|
}
|
|
8138
8138
|
function Ut({ children: e, sidebar: t, renderButton: r, isConfirm: n = !1, handleSidebarOpen: i, isSidebarOpen: a = !1 }) {
|
|
8139
|
+
const { selectedServices: o } = te((s) => s.service);
|
|
8139
8140
|
return /* @__PURE__ */ $("div", {
|
|
8140
8141
|
className: "aaravpos-main-layout",
|
|
8141
8142
|
children: [/* @__PURE__ */ $("div", {
|
|
@@ -8150,8 +8151,8 @@ function Ut({ children: e, sidebar: t, renderButton: r, isConfirm: n = !1, handl
|
|
|
8150
8151
|
children: /* @__PURE__ */ h("span", { children: "View Order" })
|
|
8151
8152
|
}) : r
|
|
8152
8153
|
})]
|
|
8153
|
-
}), /* @__PURE__ */ h("aside", {
|
|
8154
|
-
className:
|
|
8154
|
+
}), o?.length > 0 && /* @__PURE__ */ h("aside", {
|
|
8155
|
+
className: `aaravpos-sidebar ${a ? "open" : ""}`,
|
|
8155
8156
|
children: t
|
|
8156
8157
|
})]
|
|
8157
8158
|
}), a && /* @__PURE__ */ h("div", {
|
|
@@ -9337,7 +9338,7 @@ function Is({ buttonText: e, onButtonClick: t, showTaxesOnlyIfTime: r = !1, show
|
|
|
9337
9338
|
]), Q = u || d || c || !I;
|
|
9338
9339
|
return pe(() => {
|
|
9339
9340
|
const k = () => {
|
|
9340
|
-
const oe = A.current?.offsetHeight || 0, Ce = D.current?.offsetHeight || 0, rt = (oe +
|
|
9341
|
+
const oe = A.current?.offsetHeight || 0, Ce = D.current?.offsetHeight || 0, rt = (oe + 115 || 0) + Ce;
|
|
9341
9342
|
K(window.innerHeight - rt);
|
|
9342
9343
|
};
|
|
9343
9344
|
k();
|
package/dist/styles.css
CHANGED
|
@@ -887,7 +887,6 @@
|
|
|
887
887
|
}
|
|
888
888
|
.aaravpos-layout-page {
|
|
889
889
|
height: 440px;
|
|
890
|
-
animation: aaravposFadeIn 0.3s ease;
|
|
891
890
|
}
|
|
892
891
|
.aaravpos-title {
|
|
893
892
|
font-size: 22px;
|
|
@@ -949,22 +948,21 @@
|
|
|
949
948
|
cursor: not-allowed;
|
|
950
949
|
}
|
|
951
950
|
.aaravpos-sidebar {
|
|
952
|
-
display: none;
|
|
953
951
|
flex-direction: column;
|
|
954
952
|
background: var(--surface-bg, #ffffff);
|
|
955
|
-
border
|
|
956
|
-
padding: 16px;
|
|
957
|
-
padding-bottom: 14px;
|
|
958
|
-
height: 440px;
|
|
953
|
+
border: 1px solid rgba(0, 0, 0, 0.1);
|
|
954
|
+
padding: 16px 16px 14px;
|
|
959
955
|
overflow: hidden;
|
|
960
956
|
position: fixed;
|
|
961
|
-
top:
|
|
962
|
-
right:
|
|
957
|
+
top: 10px;
|
|
958
|
+
right: 10px;
|
|
959
|
+
bottom: 10px;
|
|
963
960
|
width: 300px;
|
|
964
|
-
|
|
965
|
-
transition: right 0.3s ease;
|
|
961
|
+
transition: transform 0.3s ease;
|
|
966
962
|
background: #fff;
|
|
967
963
|
z-index: 1024;
|
|
964
|
+
border-radius: 8px;
|
|
965
|
+
display: flex;
|
|
968
966
|
}
|
|
969
967
|
.aaravpos-sidebar-mobile {
|
|
970
968
|
position: fixed;
|
|
@@ -1754,6 +1752,9 @@
|
|
|
1754
1752
|
justify-content: flex-end;
|
|
1755
1753
|
gap: 0px;
|
|
1756
1754
|
}
|
|
1755
|
+
.aaravpos-order-footer {
|
|
1756
|
+
padding-top: 5px;
|
|
1757
|
+
}
|
|
1757
1758
|
.aaravpos-order-subtotal {
|
|
1758
1759
|
display: flex;
|
|
1759
1760
|
justify-content: space-between;
|
|
@@ -3379,6 +3380,9 @@
|
|
|
3379
3380
|
line-clamp: 2;
|
|
3380
3381
|
-webkit-box-orient: vertical;
|
|
3381
3382
|
}
|
|
3383
|
+
.aaravpos-sidebar {
|
|
3384
|
+
display: none;
|
|
3385
|
+
}
|
|
3382
3386
|
}
|
|
3383
3387
|
@media (min-width: 768px) {
|
|
3384
3388
|
.arravpos-section-label {
|
|
@@ -3421,10 +3425,10 @@
|
|
|
3421
3425
|
padding-right: 24px;
|
|
3422
3426
|
}
|
|
3423
3427
|
.aaravpos-order-list {
|
|
3424
|
-
height: calc(100dvh -
|
|
3428
|
+
height: calc(100dvh - 215px);
|
|
3425
3429
|
}
|
|
3426
3430
|
.aaravpos-pro-order-list {
|
|
3427
|
-
height: calc(100dvh -
|
|
3431
|
+
height: calc(100dvh - 245px);
|
|
3428
3432
|
}
|
|
3429
3433
|
.aaravpos-staff-wrapper {
|
|
3430
3434
|
height: calc(100dvh - 200px);
|
package/package.json
CHANGED