@hunter-industries/hunter-components 0.0.81 → 0.0.82
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/hunter-components.js +12 -6
- package/dist/hunter-components.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/dist/types/components/Form/index.vue.d.ts +10 -2
- package/dist/types/components/Form/index.vue.d.ts.map +1 -1
- package/dist/types/components/Icon/Icon.vue.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -2206,7 +2206,6 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
2206
2206
|
obj.stroke = props.stroke;
|
|
2207
2207
|
if (props.strokeWidth)
|
|
2208
2208
|
obj.strokeWidth = props.strokeWidth;
|
|
2209
|
-
console.log("OBJ", obj);
|
|
2210
2209
|
return obj;
|
|
2211
2210
|
});
|
|
2212
2211
|
const hunterIcon = ref();
|
|
@@ -2238,7 +2237,7 @@ const _export_sfc = (sfc, props) => {
|
|
|
2238
2237
|
}
|
|
2239
2238
|
return target;
|
|
2240
2239
|
};
|
|
2241
|
-
const Icon = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-
|
|
2240
|
+
const Icon = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-b1857077"]]);
|
|
2242
2241
|
const unitRegex = /(ch|em|rem|ex|px|cm|mm|in|pt|pc|vh|vw|vmin|vmax|svh|lvh|dvh|svw|lvw|dvw|%)$/i;
|
|
2243
2242
|
const keywordOrFuncRegex = /^(auto|min-content|max-content|fit-content\(.+\)|calc\(.+\)|clamp\(.+\)|min\(.+\)|max\(.+\)|var\(--[^)]+\))$/i;
|
|
2244
2243
|
const convertValueToCssSizeProperty = (value) => {
|
|
@@ -3383,8 +3382,8 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
3383
3382
|
};
|
|
3384
3383
|
}
|
|
3385
3384
|
});
|
|
3386
|
-
const FormInput = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-
|
|
3387
|
-
const _withScopeId = (n) => (pushScopeId("data-v-
|
|
3385
|
+
const FormInput = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-7719e3d0"]]);
|
|
3386
|
+
const _withScopeId = (n) => (pushScopeId("data-v-478ffe71"), n = n(), popScopeId(), n);
|
|
3388
3387
|
const _hoisted_1$3 = { class: "unit-selection-container" };
|
|
3389
3388
|
const _hoisted_2$2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { class: "font-medium" }, "Units", -1));
|
|
3390
3389
|
const _hoisted_3$1 = { class: "unit-selection" };
|
|
@@ -3461,8 +3460,15 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
3461
3460
|
},
|
|
3462
3461
|
...formInputs.value
|
|
3463
3462
|
];
|
|
3464
|
-
|
|
3463
|
+
console.log("STAT", status.value, isValid);
|
|
3464
|
+
emit("submitForm", { inputs: data, status: status.value, isValid });
|
|
3465
3465
|
if (!isValid) {
|
|
3466
|
+
formInputs.value.forEach((input) => {
|
|
3467
|
+
if (input.status !== "error") {
|
|
3468
|
+
input.status = "idle";
|
|
3469
|
+
}
|
|
3470
|
+
return input;
|
|
3471
|
+
});
|
|
3466
3472
|
setTimeout(() => {
|
|
3467
3473
|
status.value = "idle";
|
|
3468
3474
|
}, 2500);
|
|
@@ -3602,7 +3608,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
3602
3608
|
};
|
|
3603
3609
|
}
|
|
3604
3610
|
});
|
|
3605
|
-
const index = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-
|
|
3611
|
+
const index = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-478ffe71"]]);
|
|
3606
3612
|
const _hoisted_1$2 = ["href"];
|
|
3607
3613
|
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
3608
3614
|
__name: "Link",
|