ynotsoft-dynamic-form 1.0.59 → 1.0.60
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/dynamic-form.js +40 -28
- package/package.json +1 -1
package/dist/dynamic-form.js
CHANGED
|
@@ -9414,40 +9414,52 @@ function pm({ field: e, formValues: t, handleChange: n, handleBlur: o, error: r
|
|
|
9414
9414
|
] }) });
|
|
9415
9415
|
}
|
|
9416
9416
|
function mm({ message: e }) {
|
|
9417
|
-
return
|
|
9418
|
-
|
|
9419
|
-
/* @__PURE__ */ c("
|
|
9420
|
-
|
|
9417
|
+
return (
|
|
9418
|
+
// Error Alert
|
|
9419
|
+
/* @__PURE__ */ c("div", { className: "rounded-lg bg-red-50 border border-red-100 p-4 shadow-sm", children: /* @__PURE__ */ _("div", { className: "flex items-center gap-3", children: [
|
|
9420
|
+
/* @__PURE__ */ c(qa, { "aria-hidden": "true", className: "size-5 text-red-500 shrink-0" }),
|
|
9421
|
+
/* @__PURE__ */ c("span", { className: "text-sm font-medium text-red-900", children: e })
|
|
9422
|
+
] }) })
|
|
9423
|
+
);
|
|
9421
9424
|
}
|
|
9422
9425
|
function hm({ message: e }) {
|
|
9423
|
-
return
|
|
9424
|
-
|
|
9425
|
-
|
|
9426
|
-
|
|
9427
|
-
|
|
9428
|
-
|
|
9429
|
-
|
|
9430
|
-
|
|
9431
|
-
|
|
9432
|
-
|
|
9426
|
+
return (
|
|
9427
|
+
// Warning Alert
|
|
9428
|
+
/* @__PURE__ */ c("div", { className: "rounded-lg bg-amber-50 border border-amber-100 p-4 shadow-sm", children: /* @__PURE__ */ _("div", { className: "flex items-center gap-3", children: [
|
|
9429
|
+
/* @__PURE__ */ c(
|
|
9430
|
+
Ga,
|
|
9431
|
+
{
|
|
9432
|
+
"aria-hidden": "true",
|
|
9433
|
+
className: "size-5 text-amber-600 shrink-0"
|
|
9434
|
+
}
|
|
9435
|
+
),
|
|
9436
|
+
/* @__PURE__ */ c("span", { className: "text-sm font-medium text-amber-900", children: e })
|
|
9437
|
+
] }) })
|
|
9438
|
+
);
|
|
9433
9439
|
}
|
|
9434
9440
|
function gm({ message: e }) {
|
|
9435
|
-
return
|
|
9436
|
-
|
|
9437
|
-
|
|
9438
|
-
|
|
9439
|
-
|
|
9440
|
-
|
|
9441
|
-
|
|
9442
|
-
|
|
9443
|
-
|
|
9444
|
-
|
|
9441
|
+
return (
|
|
9442
|
+
// Success Alert
|
|
9443
|
+
/* @__PURE__ */ c("div", { className: "rounded-lg bg-green-50 border border-green-100 p-4 shadow-sm", children: /* @__PURE__ */ _("div", { className: "flex items-center gap-3", children: [
|
|
9444
|
+
/* @__PURE__ */ c(
|
|
9445
|
+
Ka,
|
|
9446
|
+
{
|
|
9447
|
+
"aria-hidden": "true",
|
|
9448
|
+
className: "size-5 text-green-600 shrink-0"
|
|
9449
|
+
}
|
|
9450
|
+
),
|
|
9451
|
+
/* @__PURE__ */ c("span", { className: "text-sm font-medium text-green-900", children: e })
|
|
9452
|
+
] }) })
|
|
9453
|
+
);
|
|
9445
9454
|
}
|
|
9446
9455
|
function bm({ message: e }) {
|
|
9447
|
-
return
|
|
9448
|
-
|
|
9449
|
-
/* @__PURE__ */ c("
|
|
9450
|
-
|
|
9456
|
+
return (
|
|
9457
|
+
// Info Alert
|
|
9458
|
+
/* @__PURE__ */ c("div", { className: "rounded-lg bg-blue-50 border border-blue-100 p-4 shadow-sm", children: /* @__PURE__ */ _("div", { className: "flex items-center gap-3", children: [
|
|
9459
|
+
/* @__PURE__ */ c(nl, { "aria-hidden": "true", className: "size-5 text-blue-600 shrink-0" }),
|
|
9460
|
+
/* @__PURE__ */ c("span", { className: "text-sm font-medium text-blue-900", children: e })
|
|
9461
|
+
] }) })
|
|
9462
|
+
);
|
|
9451
9463
|
}
|
|
9452
9464
|
function vm({ field: e }) {
|
|
9453
9465
|
const { variant: t = "info", message: n, content: o } = e, r = n || o || "";
|