@aaravpos/appointment-booking-plugin 5.0.2 → 5.0.3
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 +2 -2
- package/dist/index.js +21 -19
- package/dist/styles.css +32 -12
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3924,18 +3924,18 @@ function I1() {
|
|
|
3924
3924
|
onWheel: (y) => {
|
|
3925
3925
|
r.current && (r.current.scrollLeft += y.deltaY);
|
|
3926
3926
|
},
|
|
3927
|
-
className: "aaravpos-supercategory-wrapper",
|
|
3927
|
+
className: "aaravpos-supercategory-wrapper aaravpos-tp-10",
|
|
3928
3928
|
children: [/* @__PURE__ */ v("button", {
|
|
3929
3929
|
onClick: () => f(null),
|
|
3930
|
-
className: `aaravpos-
|
|
3930
|
+
className: `aaravpos-subcategory-btn ${u ? "" : "active"}`,
|
|
3931
3931
|
children: [
|
|
3932
3932
|
"All Services (",
|
|
3933
3933
|
d?.categories?.reduce((y, E) => y + (E?.services?.length || 0), 0),
|
|
3934
3934
|
")"
|
|
3935
3935
|
]
|
|
3936
|
-
}), d?.categories?.map((y) => /* @__PURE__ */ v("button", {
|
|
3936
|
+
}), d?.categories?.filter((y) => y?.services?.length > 0)?.map((y) => /* @__PURE__ */ v("button", {
|
|
3937
3937
|
onClick: () => f(y),
|
|
3938
|
-
className: `aaravpos-
|
|
3938
|
+
className: `aaravpos-subcategory-btn ${u?.id === y.id ? "active" : ""}`,
|
|
3939
3939
|
children: [
|
|
3940
3940
|
y.name,
|
|
3941
3941
|
" (",
|
|
@@ -4120,25 +4120,27 @@ function T1() {
|
|
|
4120
4120
|
onWheel: (b) => {
|
|
4121
4121
|
t.current && (t.current.scrollLeft += b.deltaY);
|
|
4122
4122
|
},
|
|
4123
|
-
|
|
4124
|
-
|
|
4125
|
-
|
|
4126
|
-
|
|
4127
|
-
|
|
4128
|
-
|
|
4129
|
-
|
|
4130
|
-
|
|
4131
|
-
|
|
4132
|
-
|
|
4133
|
-
|
|
4123
|
+
children: i ? /* @__PURE__ */ l(bd, {}) : /* @__PURE__ */ v(Z, { children: [/* @__PURE__ */ l("div", {
|
|
4124
|
+
className: "aaravpos-supercategory-wrapper",
|
|
4125
|
+
children: n?.filter((b) => b?.categories?.some((S) => S?.services?.length > 0))?.map((b) => /* @__PURE__ */ l("button", {
|
|
4126
|
+
onClick: () => {
|
|
4127
|
+
c(b), f(null);
|
|
4128
|
+
},
|
|
4129
|
+
className: `aaravpos-supercategory-btn ${d?.id === b.id ? "active" : ""}`,
|
|
4130
|
+
children: /* @__PURE__ */ l("h3", {
|
|
4131
|
+
className: "aaravpos-supercategory-title",
|
|
4132
|
+
children: b?.isStandAloneCategory ? "Standalone" : b.name
|
|
4133
|
+
})
|
|
4134
|
+
}, b.id))
|
|
4135
|
+
}), /* @__PURE__ */ l(Z, { children: d?.categories?.some((b) => b?.services?.length > 0) && /* @__PURE__ */ v("div", {
|
|
4134
4136
|
ref: r,
|
|
4135
4137
|
onWheel: (b) => {
|
|
4136
4138
|
r.current && (r.current.scrollLeft += b.deltaY);
|
|
4137
4139
|
},
|
|
4138
|
-
className: "aaravpos-supercategory-wrapper",
|
|
4140
|
+
className: "aaravpos-supercategory-wrapper aaravpos-tp-10",
|
|
4139
4141
|
children: [/* @__PURE__ */ v("button", {
|
|
4140
4142
|
onClick: () => f(null),
|
|
4141
|
-
className: `aaravpos-
|
|
4143
|
+
className: `aaravpos-subcategory-btn ${u ? "" : "active"}`,
|
|
4142
4144
|
children: [
|
|
4143
4145
|
"All Services (",
|
|
4144
4146
|
d?.categories?.reduce((b, S) => b + (S?.services?.length || 0), 0),
|
|
@@ -4146,7 +4148,7 @@ function T1() {
|
|
|
4146
4148
|
]
|
|
4147
4149
|
}), d?.categories?.filter((b) => b?.services?.length > 0)?.map((b) => /* @__PURE__ */ v("button", {
|
|
4148
4150
|
onClick: () => f(b),
|
|
4149
|
-
className: `aaravpos-
|
|
4151
|
+
className: `aaravpos-subcategory-btn ${u?.id === b.id ? "active" : ""}`,
|
|
4150
4152
|
children: [
|
|
4151
4153
|
b.name,
|
|
4152
4154
|
" (",
|
|
@@ -19703,7 +19705,7 @@ function Ov() {
|
|
|
19703
19705
|
className: "arravpos-custom-input"
|
|
19704
19706
|
}),
|
|
19705
19707
|
We.lastName && /* @__PURE__ */ l("p", {
|
|
19706
|
-
className: "
|
|
19708
|
+
className: "arravpos-error-text",
|
|
19707
19709
|
children: We.lastName.message
|
|
19708
19710
|
})
|
|
19709
19711
|
]
|