@stlhorizon/vue-ui 2.4.8 → 2.5.0
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.esm.js
CHANGED
@@ -4263,7 +4263,7 @@ const ae = {
|
|
4263
4263
|
type: {
|
4264
4264
|
type: String,
|
4265
4265
|
default: "text",
|
4266
|
-
validator: (e) => ["text", "email", "password", "number", "tel", "url", "search", "date"].includes(e)
|
4266
|
+
validator: (e) => ["text", "email", "password", "number", "tel", "url", "search", "date", "color"].includes(e)
|
4267
4267
|
},
|
4268
4268
|
placeholder: {
|
4269
4269
|
type: String,
|
@@ -7687,7 +7687,7 @@ const cd = {
|
|
7687
7687
|
}, Fd = { class: "w-full" }, Ld = ["min", "max", "step", "value"], Nd = { class: "flex justify-between text-xs text-slate-500 mt-1" }, sr = {
|
7688
7688
|
__name: "Slider",
|
7689
7689
|
props: {
|
7690
|
-
modelValue: { type: Number, default: 0 },
|
7690
|
+
modelValue: { type: [Number, String], default: 0 },
|
7691
7691
|
min: { type: Number, default: 0 },
|
7692
7692
|
max: { type: Number, default: 100 },
|
7693
7693
|
step: { type: Number, default: 1 }
|
@@ -10864,7 +10864,7 @@ const cd = {
|
|
10864
10864
|
type: Array,
|
10865
10865
|
required: !0,
|
10866
10866
|
validator: (e) => e.every(
|
10867
|
-
(a) => a.name && a.label && a.type && ["text", "number", "password", "textarea", "select", "checkbox", "slider", "date"].includes(a.type)
|
10867
|
+
(a) => a.name && a.label && a.type && ["text", "number", "password", "textarea", "select", "checkbox", "slider", "date", "color"].includes(a.type)
|
10868
10868
|
)
|
10869
10869
|
},
|
10870
10870
|
initialData: {
|
@@ -11004,7 +11004,7 @@ const cd = {
|
|
11004
11004
|
id: `form-${e.entityName}-${f.name}-${Math.random().toString(36).slice(2, 5)}`
|
11005
11005
|
}, {
|
11006
11006
|
default: N(({ fieldId: p, hasError: M, ariaDescribedBy: j }) => [
|
11007
|
-
f.type === "text" || f.type === "number" || f.type === "password" ? (o(), R(qt, {
|
11007
|
+
f.type === "text" || f.type === "number" || f.type === "password" || f.type === "color" ? (o(), R(qt, {
|
11008
11008
|
key: 0,
|
11009
11009
|
id: p,
|
11010
11010
|
modelValue: s.value[f.name],
|