@frollo/frollo-web-ui 0.0.9 → 0.0.10
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/cjs/index.js +6 -5
- package/esm/fw-form.js +2 -0
- package/esm/fw-input.js +6 -3140
- package/esm/index.js +4 -0
- package/esm/vee-validate.esm-028c6424.js +3139 -0
- package/frollo-web-ui.esm.js +6 -4
- package/index.d.ts +1 -0
- package/package.json +1 -1
- package/types/components/fw-form/index.d.ts +2 -0
- package/types/components/index.d.ts +1 -0
package/frollo-web-ui.esm.js
CHANGED
|
@@ -5325,7 +5325,7 @@ var _hoisted_8 = /*#__PURE__*/createElementVNode("svg", {
|
|
|
5325
5325
|
|
|
5326
5326
|
var _hoisted_9 = [_hoisted_8];
|
|
5327
5327
|
var _hoisted_10 = {
|
|
5328
|
-
"class": "text-error text-right text-sm font-medium mt-2 min-h-[21px]"
|
|
5328
|
+
"class": "text-error italic text-right text-sm font-medium mt-2 min-h-[21px]"
|
|
5329
5329
|
};
|
|
5330
5330
|
var _hoisted_11 = {
|
|
5331
5331
|
key: 0
|
|
@@ -5343,6 +5343,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5343
5343
|
}, {
|
|
5344
5344
|
"default": withCtx(function (_ref) {
|
|
5345
5345
|
var field = _ref.field,
|
|
5346
|
+
errors = _ref.errors,
|
|
5346
5347
|
errorMessage = _ref.errorMessage,
|
|
5347
5348
|
meta = _ref.meta;
|
|
5348
5349
|
return [createElementVNode("div", _hoisted_2, [_ctx.label ? (openBlock(), createElementBlock("label", {
|
|
@@ -5359,14 +5360,14 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5359
5360
|
name: "errorFadeIn"
|
|
5360
5361
|
}, {
|
|
5361
5362
|
"default": withCtx(function () {
|
|
5362
|
-
return [errorMessage && meta.touched ? (openBlock(), createElementBlock("div", _hoisted_7, _hoisted_9)) : createCommentVNode("", true)];
|
|
5363
|
+
return [(errorMessage || errors[0]) && meta.touched ? (openBlock(), createElementBlock("div", _hoisted_7, _hoisted_9)) : createCommentVNode("", true)];
|
|
5363
5364
|
}),
|
|
5364
5365
|
_: 2
|
|
5365
5366
|
}, 1024)]), createElementVNode("div", _hoisted_10, [createVNode(Transition, {
|
|
5366
5367
|
name: "errorFadeIn"
|
|
5367
5368
|
}, {
|
|
5368
5369
|
"default": withCtx(function () {
|
|
5369
|
-
return [errorMessage && meta.touched ? (openBlock(), createElementBlock("span", _hoisted_11, toDisplayString(errorMessage), 1)) : createCommentVNode("", true)];
|
|
5370
|
+
return [(errorMessage || errors[0]) && meta.touched ? (openBlock(), createElementBlock("span", _hoisted_11, toDisplayString(errorMessage || errors[0]), 1)) : createCommentVNode("", true)];
|
|
5370
5371
|
}),
|
|
5371
5372
|
_: 2
|
|
5372
5373
|
}, 1024)])])];
|
|
@@ -5386,6 +5387,7 @@ var components = /*#__PURE__*/Object.freeze({
|
|
|
5386
5387
|
FwCard: script$3,
|
|
5387
5388
|
FwButton: script$2,
|
|
5388
5389
|
FwNavigationMenu: script$1,
|
|
5390
|
+
FwForm: Form,
|
|
5389
5391
|
FwInput: script
|
|
5390
5392
|
});
|
|
5391
5393
|
|
|
@@ -5399,4 +5401,4 @@ var install = function install(app) {
|
|
|
5399
5401
|
});
|
|
5400
5402
|
};
|
|
5401
5403
|
|
|
5402
|
-
export { script$2 as FwButton, script$3 as FwCard, script as FwInput, script$1 as FwNavigationMenu, install as default };
|
|
5404
|
+
export { script$2 as FwButton, script$3 as FwCard, Form as FwForm, script as FwInput, script$1 as FwNavigationMenu, install as default };
|
package/index.d.ts
CHANGED
package/package.json
CHANGED