@mieweb/ui 0.3.0-dev.93 → 0.3.0-dev.95
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 +22 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +22 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -16562,7 +16562,7 @@ function EmployerServiceModal({
|
|
|
16562
16562
|
{
|
|
16563
16563
|
className: "border-destructive/30 bg-destructive/10 rounded-lg border p-3",
|
|
16564
16564
|
"data-slot": "employer-service-error",
|
|
16565
|
-
children: /* @__PURE__ */ jsx("p", { className: "text-destructive text-sm", children: errorMessage })
|
|
16565
|
+
children: /* @__PURE__ */ jsx("p", { className: "text-destructive-700 dark:text-destructive-300 text-sm", children: errorMessage })
|
|
16566
16566
|
}
|
|
16567
16567
|
),
|
|
16568
16568
|
service && /* @__PURE__ */ jsxs(
|
|
@@ -16615,6 +16615,7 @@ function EmployerServiceModal({
|
|
|
16615
16615
|
/* @__PURE__ */ jsx(
|
|
16616
16616
|
Switch,
|
|
16617
16617
|
{
|
|
16618
|
+
"aria-label": "Use Base Price",
|
|
16618
16619
|
checked: config.useBasePrice,
|
|
16619
16620
|
onCheckedChange: (checked) => setConfig((prev) => ({
|
|
16620
16621
|
...prev,
|
|
@@ -16703,6 +16704,7 @@ function EmployerServiceModal({
|
|
|
16703
16704
|
/* @__PURE__ */ jsx(
|
|
16704
16705
|
Switch,
|
|
16705
16706
|
{
|
|
16707
|
+
"aria-label": "Auto-Accept Orders",
|
|
16706
16708
|
checked: config.autoAccept,
|
|
16707
16709
|
onCheckedChange: (checked) => setConfig((prev) => ({ ...prev, autoAccept: checked }))
|
|
16708
16710
|
}
|
|
@@ -16723,6 +16725,7 @@ function EmployerServiceModal({
|
|
|
16723
16725
|
/* @__PURE__ */ jsx(
|
|
16724
16726
|
Switch,
|
|
16725
16727
|
{
|
|
16728
|
+
"aria-label": "Requires Approval",
|
|
16726
16729
|
checked: config.requiresApproval,
|
|
16727
16730
|
onCheckedChange: (checked) => setConfig((prev) => ({ ...prev, requiresApproval: checked }))
|
|
16728
16731
|
}
|
|
@@ -16753,6 +16756,7 @@ function EmployerServiceModal({
|
|
|
16753
16756
|
/* @__PURE__ */ jsx(
|
|
16754
16757
|
Switch,
|
|
16755
16758
|
{
|
|
16759
|
+
"aria-label": "Notify on New Orders",
|
|
16756
16760
|
checked: config.notifyOnOrder,
|
|
16757
16761
|
onCheckedChange: (checked) => setConfig((prev) => ({ ...prev, notifyOnOrder: checked }))
|
|
16758
16762
|
}
|
|
@@ -33002,7 +33006,7 @@ function ServiceGeneralSettings({
|
|
|
33002
33006
|
{
|
|
33003
33007
|
className: "rounded-lg border border-red-200 bg-red-50 p-3 dark:border-red-800 dark:bg-red-900/20",
|
|
33004
33008
|
"data-slot": "service-settings-error",
|
|
33005
|
-
children: /* @__PURE__ */ jsx("p", { className: "text-sm text-red-
|
|
33009
|
+
children: /* @__PURE__ */ jsx("p", { className: "text-sm text-red-700 dark:text-red-400", children: errorMessage })
|
|
33006
33010
|
}
|
|
33007
33011
|
),
|
|
33008
33012
|
/* @__PURE__ */ jsxs(
|
|
@@ -33012,14 +33016,28 @@ function ServiceGeneralSettings({
|
|
|
33012
33016
|
"data-slot": "service-settings-toggles",
|
|
33013
33017
|
children: [
|
|
33014
33018
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3", children: [
|
|
33015
|
-
/* @__PURE__ */ jsx(
|
|
33019
|
+
/* @__PURE__ */ jsx(
|
|
33020
|
+
Switch,
|
|
33021
|
+
{
|
|
33022
|
+
"aria-label": "Active",
|
|
33023
|
+
checked: isActive,
|
|
33024
|
+
onCheckedChange: onIsActiveChange
|
|
33025
|
+
}
|
|
33026
|
+
),
|
|
33016
33027
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
33017
33028
|
/* @__PURE__ */ jsx("p", { className: "text-sm font-medium text-gray-900 dark:text-white", children: "Active" }),
|
|
33018
33029
|
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-xs", children: "Service is available for orders" })
|
|
33019
33030
|
] })
|
|
33020
33031
|
] }),
|
|
33021
33032
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3", children: [
|
|
33022
|
-
/* @__PURE__ */ jsx(
|
|
33033
|
+
/* @__PURE__ */ jsx(
|
|
33034
|
+
Switch,
|
|
33035
|
+
{
|
|
33036
|
+
"aria-label": "Featured",
|
|
33037
|
+
checked: isFeatured,
|
|
33038
|
+
onCheckedChange: onIsFeaturedChange
|
|
33039
|
+
}
|
|
33040
|
+
),
|
|
33023
33041
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
33024
33042
|
/* @__PURE__ */ jsx("p", { className: "text-sm font-medium text-gray-900 dark:text-white", children: "Featured" }),
|
|
33025
33043
|
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-xs", children: "Show prominently in listings" })
|