@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 CHANGED
@@ -5071,7 +5071,7 @@ var _hoisted_8 = /*#__PURE__*/vue.createElementVNode("svg", {
5071
5071
 
5072
5072
  var _hoisted_9 = [_hoisted_8];
5073
5073
  var _hoisted_10 = {
5074
- "class": "text-error text-right text-sm font-medium mt-2 min-h-[21px]"
5074
+ "class": "text-error italic text-right text-sm font-medium mt-2 min-h-[21px]"
5075
5075
  };
5076
5076
  var _hoisted_11 = {
5077
5077
  key: 0
@@ -5089,6 +5089,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
5089
5089
  }, {
5090
5090
  "default": vue.withCtx(function (_ref) {
5091
5091
  var field = _ref.field,
5092
+ errors = _ref.errors,
5092
5093
  errorMessage = _ref.errorMessage,
5093
5094
  meta = _ref.meta;
5094
5095
  return [vue.createElementVNode("div", _hoisted_2, [_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", {
@@ -5105,14 +5106,14 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
5105
5106
  name: "errorFadeIn"
5106
5107
  }, {
5107
5108
  "default": vue.withCtx(function () {
5108
- return [errorMessage && meta.touched ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7, _hoisted_9)) : vue.createCommentVNode("", true)];
5109
+ return [(errorMessage || errors[0]) && meta.touched ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7, _hoisted_9)) : vue.createCommentVNode("", true)];
5109
5110
  }),
5110
5111
  _: 2
5111
5112
  }, 1024)]), vue.createElementVNode("div", _hoisted_10, [vue.createVNode(vue.Transition, {
5112
5113
  name: "errorFadeIn"
5113
5114
  }, {
5114
5115
  "default": vue.withCtx(function () {
5115
- return [errorMessage && meta.touched ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_11, vue.toDisplayString(errorMessage), 1)) : vue.createCommentVNode("", true)];
5116
+ return [(errorMessage || errors[0]) && meta.touched ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_11, vue.toDisplayString(errorMessage || errors[0]), 1)) : vue.createCommentVNode("", true)];
5116
5117
  }),
5117
5118
  _: 2
5118
5119
  }, 1024)])])];
@@ -5121,7 +5122,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
5121
5122
  }, 8, ["modelValue", "name", "rules"])]);
5122
5123
  }var css_248z = ".errorFadeIn-enter-active{-webkit-animation:errorFadeIn .35s;animation:errorFadeIn .35s;-webkit-transition:opacity .35s ease-in;-o-transition:opacity .35s ease-in;transition:opacity .35s ease-in}.errorFadeIn-leave-active{animation:errorFadeIn .35s reverse;-webkit-transition:opacity .35s ease-out;-o-transition:opacity .35s ease-out;transition:opacity .35s ease-out}@-webkit-keyframes errorFadeIn{0%{opacity:0}to{opacity:1}}@keyframes errorFadeIn{0%{opacity:0}to{opacity:1}}";
5123
5124
  var stylesheet = ".errorFadeIn-enter-active{-webkit-animation:errorFadeIn .35s;animation:errorFadeIn .35s;-webkit-transition:opacity .35s ease-in;-o-transition:opacity .35s ease-in;transition:opacity .35s ease-in}.errorFadeIn-leave-active{animation:errorFadeIn .35s reverse;-webkit-transition:opacity .35s ease-out;-o-transition:opacity .35s ease-out;transition:opacity .35s ease-out}@-webkit-keyframes errorFadeIn{0%{opacity:0}to{opacity:1}}@keyframes errorFadeIn{0%{opacity:0}to{opacity:1}}";
5124
- styleInject(css_248z);script.render = render;var components$1=/*#__PURE__*/Object.freeze({__proto__:null,FwCard:script$3,FwButton:script$2,FwNavigationMenu:script$1,FwInput:script});var install = function install(app) {
5125
+ styleInject(css_248z);script.render = render;var components$1=/*#__PURE__*/Object.freeze({__proto__:null,FwCard:script$3,FwButton:script$2,FwNavigationMenu:script$1,FwForm:Form,FwInput:script});var install = function install(app) {
5125
5126
  Object.entries(components$1).forEach(function (_ref) {
5126
5127
  var _ref2 = _slicedToArray(_ref, 2),
5127
5128
  componentName = _ref2[0],
@@ -5129,7 +5130,7 @@ styleInject(css_248z);script.render = render;var components$1=/*#__PURE__*/Objec
5129
5130
 
5130
5131
  app.component(componentName, component);
5131
5132
  });
5132
- };var components=/*#__PURE__*/Object.freeze({__proto__:null,'default':install,FwCard:script$3,FwButton:script$2,FwNavigationMenu:script$1,FwInput:script});Object.entries(components).forEach(function (_ref) {
5133
+ };var components=/*#__PURE__*/Object.freeze({__proto__:null,'default':install,FwCard:script$3,FwButton:script$2,FwNavigationMenu:script$1,FwForm:Form,FwInput:script});Object.entries(components).forEach(function (_ref) {
5133
5134
  var _ref2 = _slicedToArray(_ref, 2),
5134
5135
  componentName = _ref2[0],
5135
5136
  component = _ref2[1];
package/esm/fw-form.js ADDED
@@ -0,0 +1,2 @@
1
+ export { F as FwForm } from './vee-validate.esm-028c6424.js';
2
+ import 'vue';