@frollo/frollo-web-ui 9.0.3 → 9.0.5

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.
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, ref, watch, useCssVars, resolveComponent, createElementBlock, openBlock, normalizeClass, createElementVNode, createVNode, createCommentVNode, toDisplayString, renderSlot, Transition, withCtx, withDirectives, vShow } from 'vue';
2
2
  import { u as useColours } from './get-root-colours-DCCAnRF4.js';
3
- import { r as render$1 } from './index-DHyRsKsZ.js';
3
+ import { r as render$1 } from './index-BxwEcRoY.js';
4
4
  import { s as styleInject } from './style-inject.es-tgCJW-Cu.js';
5
5
 
6
6
  var __default__ = defineComponent({
package/esm/fw-alert.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, ref, computed, createBlock, openBlock, Transition, withCtx, withDirectives, createElementVNode, normalizeClass, createCommentVNode, renderSlot, resolveDynamicComponent, vShow } from 'vue';
2
- import { a as render$1, b as render$2 } from './index-DHyRsKsZ.js';
2
+ import { a as render$1, b as render$2 } from './index-BxwEcRoY.js';
3
3
 
4
4
  var script = defineComponent({
5
5
  name: 'FwAlert',
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, ref, computed, resolveComponent, createBlock, openBlock, resolveDynamicComponent, normalizeClass, withCtx, createElementBlock, createCommentVNode, createElementVNode, renderSlot, Fragment, createTextVNode, toDisplayString } from 'vue';
2
- import { g as render$1 } from './index-DHyRsKsZ.js';
2
+ import { g as render$1 } from './index-BxwEcRoY.js';
3
3
  import { s as styleInject } from './style-inject.es-tgCJW-Cu.js';
4
4
 
5
5
  var BASE_CLASS = "inline-block text-center whitespace-nowrap border\n transition-colors duration-100 ease-in-out\n focus:outline-0 focus-visible:outline-0 focus:ring-none ring-offset-1 focus-visible:ring";
package/esm/fw-button.js CHANGED
@@ -1,4 +1,4 @@
1
- export { s as FwButton } from './fw-button-DZTHZLjk.js';
1
+ export { s as FwButton } from './fw-button-Cj5UEwCt.js';
2
2
  import 'vue';
3
- import './index-DHyRsKsZ.js';
3
+ import './index-BxwEcRoY.js';
4
4
  import './style-inject.es-tgCJW-Cu.js';
@@ -4,7 +4,7 @@ import { c as createPopper } from './index-BVcOAKar.js';
4
4
  import { s as styleInject } from './style-inject.es-tgCJW-Cu.js';
5
5
  import { u as useColours } from './get-root-colours-DCCAnRF4.js';
6
6
  import { u as useField } from './vee-validate-0dtT5GSQ.js';
7
- import { c as render$1 } from './index-DHyRsKsZ.js';
7
+ import { c as render$1 } from './index-BxwEcRoY.js';
8
8
 
9
9
  var __defProp = Object.defineProperty;
10
10
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
package/esm/fw-drawer.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { defineComponent, ref, computed, onMounted, useCssVars, resolveComponent, createBlock, createCommentVNode, openBlock, Teleport, createVNode, Transition, withCtx, withDirectives, createElementVNode, normalizeClass, createElementBlock, renderSlot, createTextVNode, toDisplayString, vShow } from 'vue';
2
- import { s as script } from './fw-button-DZTHZLjk.js';
2
+ import { s as script } from './fw-button-Cj5UEwCt.js';
3
3
  import { u as uniqueId } from './uniqueId-DK6xzFd8.js';
4
4
  import { u as useColours } from './get-root-colours-DCCAnRF4.js';
5
- import { d as render$1 } from './index-DHyRsKsZ.js';
5
+ import { d as render$1 } from './index-BxwEcRoY.js';
6
6
  import { s as styleInject } from './style-inject.es-tgCJW-Cu.js';
7
7
 
8
8
  var __default__ = defineComponent({
@@ -1,8 +1,8 @@
1
1
  import { defineComponent, toRef, ref, computed, watch, onMounted, onBeforeUnmount, useCssVars, resolveComponent, createElementBlock, openBlock, createCommentVNode, createElementVNode, createVNode, normalizeClass, createTextVNode, toDisplayString, createBlock, renderSlot, Transition, withCtx, withDirectives, Fragment, renderList, vShow } from 'vue';
2
2
  import { u as useField } from './vee-validate-0dtT5GSQ.js';
3
- import { _ as __default__$1 } from './fw-image-A2lXYs0u.js';
3
+ import { _ as __default__$1 } from './fw-image-MQo9Gq8s.js';
4
4
  import { u as useColours } from './get-root-colours-DCCAnRF4.js';
5
- import { r as render$1 } from './index-DHyRsKsZ.js';
5
+ import { r as render$1 } from './index-BxwEcRoY.js';
6
6
  import { s as styleInject } from './style-inject.es-tgCJW-Cu.js';
7
7
 
8
8
  var __default__ = defineComponent({
@@ -1,9 +1,9 @@
1
- export { _ as FwDropdown } from './fw-dropdown-CSmYTm5O.js';
1
+ export { _ as FwDropdown } from './fw-dropdown-CnY-nWFa.js';
2
2
  import 'vue';
3
3
  import './vee-validate-0dtT5GSQ.js';
4
- import './fw-image-A2lXYs0u.js';
4
+ import './fw-image-MQo9Gq8s.js';
5
5
  import './_rollupPluginBabelHelpers-BKlDnZ7n.js';
6
6
  import './fw-loading-bar-3x4tkF1B.js';
7
7
  import './get-root-colours-DCCAnRF4.js';
8
8
  import './style-inject.es-tgCJW-Cu.js';
9
- import './index-DHyRsKsZ.js';
9
+ import './index-BxwEcRoY.js';
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, ref, computed, useCssVars, resolveComponent, resolveDirective, withDirectives, openBlock, createElementBlock, withKeys, normalizeClass, createElementVNode, createCommentVNode, renderSlot, createVNode, vShow } from 'vue';
2
2
  import { f as _createForOfIteratorHelper } from './_rollupPluginBabelHelpers-BKlDnZ7n.js';
3
3
  import { s as script } from './fw-loading-bar-3x4tkF1B.js';
4
- import { u as render$1 } from './index-DHyRsKsZ.js';
4
+ import { u as render$1 } from './index-BxwEcRoY.js';
5
5
  import { u as useColours } from './get-root-colours-DCCAnRF4.js';
6
6
  import { s as styleInject } from './style-inject.es-tgCJW-Cu.js';
7
7
 
package/esm/fw-image.js CHANGED
@@ -1,7 +1,7 @@
1
- export { _ as FwImage } from './fw-image-A2lXYs0u.js';
1
+ export { _ as FwImage } from './fw-image-MQo9Gq8s.js';
2
2
  import 'vue';
3
3
  import './_rollupPluginBabelHelpers-BKlDnZ7n.js';
4
4
  import './fw-loading-bar-3x4tkF1B.js';
5
5
  import './get-root-colours-DCCAnRF4.js';
6
6
  import './style-inject.es-tgCJW-Cu.js';
7
- import './index-DHyRsKsZ.js';
7
+ import './index-BxwEcRoY.js';
@@ -1,11 +1,11 @@
1
- export { s as FwMediaPicker } from './index-eP2GMSdQ.js';
1
+ export { s as FwMediaPicker } from './index-DnLeG0TM.js';
2
2
  import './_rollupPluginBabelHelpers-BKlDnZ7n.js';
3
3
  import 'vue';
4
- import './index-DHyRsKsZ.js';
4
+ import './index-BxwEcRoY.js';
5
5
  import './fw-modal.js';
6
- import './fw-button-DZTHZLjk.js';
6
+ import './fw-button-Cj5UEwCt.js';
7
7
  import './style-inject.es-tgCJW-Cu.js';
8
- import './fw-image-A2lXYs0u.js';
8
+ import './fw-image-MQo9Gq8s.js';
9
9
  import './fw-loading-bar-3x4tkF1B.js';
10
10
  import './get-root-colours-DCCAnRF4.js';
11
11
  import './fw-button.js';
package/esm/fw-modal.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { defineComponent, ref, computed, onMounted, useCssVars, resolveComponent, createBlock, createCommentVNode, openBlock, Teleport, createVNode, Transition, withCtx, withDirectives, createElementVNode, normalizeClass, createElementBlock, createTextVNode, renderSlot, toDisplayString, vShow } from 'vue';
2
- import { s as script } from './fw-button-DZTHZLjk.js';
3
- import { _ as __default__$1 } from './fw-image-A2lXYs0u.js';
2
+ import { s as script } from './fw-button-Cj5UEwCt.js';
3
+ import { _ as __default__$1 } from './fw-image-MQo9Gq8s.js';
4
4
  import { u as useColours } from './get-root-colours-DCCAnRF4.js';
5
- import { d as render$1 } from './index-DHyRsKsZ.js';
5
+ import { d as render$1 } from './index-BxwEcRoY.js';
6
6
  import { s as styleInject } from './style-inject.es-tgCJW-Cu.js';
7
7
  import './_rollupPluginBabelHelpers-BKlDnZ7n.js';
8
8
  import './fw-loading-bar-3x4tkF1B.js';
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, ref, watch, resolveComponent, createElementBlock, openBlock, normalizeClass, createElementVNode, createBlock, createCommentVNode, renderSlot, Fragment, renderList, withCtx, createTextVNode, toDisplayString, createVNode, Transition } from 'vue';
2
- import { s as script$1 } from './fw-button-DZTHZLjk.js';
2
+ import { s as script$1 } from './fw-button-Cj5UEwCt.js';
3
3
  import { _ as __default__ } from './fw-popover-BZ-zqUme.js';
4
- import { k as render$1 } from './index-DHyRsKsZ.js';
4
+ import { k as render$1 } from './index-BxwEcRoY.js';
5
5
  import { s as styleInject } from './style-inject.es-tgCJW-Cu.js';
6
6
  import './_rollupPluginBabelHelpers-BKlDnZ7n.js';
7
7
  import './index-BVcOAKar.js';
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, resolveComponent, createElementBlock, openBlock, createElementVNode, Fragment, renderList, normalizeClass, createCommentVNode, createBlock, toDisplayString, normalizeStyle } from 'vue';
2
- import { a as render$1 } from './index-DHyRsKsZ.js';
2
+ import { a as render$1 } from './index-BxwEcRoY.js';
3
3
 
4
4
  var script = defineComponent({
5
5
  name: 'FwProgressBar',
@@ -1,18 +1,18 @@
1
1
  import { f as _createForOfIteratorHelper, e as _defineProperty, b as _toConsumableArray } from './_rollupPluginBabelHelpers-BKlDnZ7n.js';
2
2
  import { ref, watch, defineComponent, shallowRef, computed, useCssVars, resolveComponent, createElementBlock, openBlock, createElementVNode, toDisplayString, createVNode, withCtx, createBlock, createCommentVNode, createTextVNode } from 'vue';
3
- import { a as script, s as script$1, _ as __default__$4 } from './fw-table-row-BU0xaybR.js';
3
+ import { a as script, s as script$1, _ as __default__$4 } from './fw-table-row-PzizodKH.js';
4
4
  import { _ as __default__$3 } from './fw-input-BiPWWfK3.js';
5
- import { _ as __default__$1 } from './fw-tag-BRxPc4zc.js';
6
- import { s as script$2 } from './fw-button-DZTHZLjk.js';
7
- import { _ as __default__$2 } from './fw-dropdown-CSmYTm5O.js';
8
- import { l as render$1, m as render$2, n as render$3 } from './index-DHyRsKsZ.js';
5
+ import { _ as __default__$1 } from './fw-tag-D07xz6yt.js';
6
+ import { s as script$2 } from './fw-button-Cj5UEwCt.js';
7
+ import { _ as __default__$2 } from './fw-dropdown-CnY-nWFa.js';
8
+ import { l as render$1, m as render$2, n as render$3 } from './index-BxwEcRoY.js';
9
9
  import { u as useColours } from './get-root-colours-DCCAnRF4.js';
10
10
  import { s as styleInject } from './style-inject.es-tgCJW-Cu.js';
11
11
  import './fw-button.js';
12
12
  import './fw-loading.js';
13
13
  import './fw-loading-bar-3x4tkF1B.js';
14
14
  import './vee-validate-0dtT5GSQ.js';
15
- import './fw-image-A2lXYs0u.js';
15
+ import './fw-image-MQo9Gq8s.js';
16
16
 
17
17
  // tiny debounce helper (no deps)
18
18
  var useDebouncedRef = function useDebouncedRef(initial) {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, computed, resolveComponent, withDirectives, openBlock, createElementBlock, normalizeClass, createVNode, createElementVNode, withCtx, createCommentVNode, renderSlot, Fragment, renderList, createBlock, createTextVNode, toDisplayString, vShow } from 'vue';
2
- import { s as script$1 } from './fw-button-DZTHZLjk.js';
3
- import { o as render$1 } from './index-DHyRsKsZ.js';
2
+ import { s as script$1 } from './fw-button-Cj5UEwCt.js';
3
+ import { o as render$1 } from './index-BxwEcRoY.js';
4
4
  import { s as styleInject } from './style-inject.es-tgCJW-Cu.js';
5
5
 
6
6
  var script = defineComponent({
@@ -1,9 +1,9 @@
1
1
  import { defineComponent, computed, ref, shallowRef, watch, onMounted, useCssVars, resolveComponent, createElementBlock, openBlock, createElementVNode, createCommentVNode, normalizeClass, createVNode, renderSlot, Fragment, renderList, withDirectives, withKeys, toDisplayString, createBlock, vShow, TransitionGroup, withCtx, resolveDynamicComponent, mergeProps, toHandlers } from 'vue';
2
2
  import { u as useColours } from './get-root-colours-DCCAnRF4.js';
3
3
  import './fw-button.js';
4
- import { o as render$3, p as render$4, q as render$5, s as render$6 } from './index-DHyRsKsZ.js';
4
+ import { o as render$3, p as render$4, q as render$5, s as render$6 } from './index-BxwEcRoY.js';
5
5
  import './fw-loading.js';
6
- import { s as script$2 } from './fw-button-DZTHZLjk.js';
6
+ import { s as script$2 } from './fw-button-Cj5UEwCt.js';
7
7
  import { s as script$3 } from './fw-loading-bar-3x4tkF1B.js';
8
8
  import { s as styleInject } from './style-inject.es-tgCJW-Cu.js';
9
9
 
package/esm/fw-table.js CHANGED
@@ -1,9 +1,9 @@
1
- export { _ as FwTable, s as FwTableHead, a as FwTableRow } from './fw-table-row-BU0xaybR.js';
1
+ export { _ as FwTable, s as FwTableHead, a as FwTableRow } from './fw-table-row-PzizodKH.js';
2
2
  import 'vue';
3
3
  import './get-root-colours-DCCAnRF4.js';
4
4
  import './fw-button.js';
5
- import './fw-button-DZTHZLjk.js';
6
- import './index-DHyRsKsZ.js';
5
+ import './fw-button-Cj5UEwCt.js';
6
+ import './index-BxwEcRoY.js';
7
7
  import './style-inject.es-tgCJW-Cu.js';
8
8
  import './fw-loading.js';
9
9
  import './fw-loading-bar-3x4tkF1B.js';
package/esm/fw-tabs.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, shallowReactive, shallowRef, computed, provide, resolveComponent, createElementBlock, openBlock, createCommentVNode, createElementVNode, Fragment, renderList, createVNode, normalizeClass, withCtx, createTextVNode, toDisplayString, renderSlot, inject, getCurrentInstance, ref, onMounted, onBeforeUnmount, createBlock, Transition, withDirectives, vShow } from 'vue';
2
- import { s as script$2 } from './fw-button-DZTHZLjk.js';
2
+ import { s as script$2 } from './fw-button-Cj5UEwCt.js';
3
3
  import { s as styleInject } from './style-inject.es-tgCJW-Cu.js';
4
- import './index-DHyRsKsZ.js';
4
+ import './index-BxwEcRoY.js';
5
5
 
6
6
  var script$1 = defineComponent({
7
7
  name: 'FwTabs',
@@ -1,8 +1,8 @@
1
1
  import { defineComponent, ref, computed, useCssVars, resolveComponent, createBlock, openBlock, Transition, withCtx, withDirectives, createElementVNode, normalizeClass, createElementBlock, renderSlot, createCommentVNode, toDisplayString, createVNode, vShow } from 'vue';
2
2
  import './fw-button.js';
3
- import { d as render$1 } from './index-DHyRsKsZ.js';
3
+ import { d as render$1 } from './index-BxwEcRoY.js';
4
4
  import { u as useColours } from './get-root-colours-DCCAnRF4.js';
5
- import { s as script } from './fw-button-DZTHZLjk.js';
5
+ import { s as script } from './fw-button-Cj5UEwCt.js';
6
6
  import { s as styleInject } from './style-inject.es-tgCJW-Cu.js';
7
7
 
8
8
  var TAG_CLASSES = {
package/esm/fw-tag.js CHANGED
@@ -1,7 +1,7 @@
1
- export { _ as FwTag } from './fw-tag-BRxPc4zc.js';
1
+ export { _ as FwTag } from './fw-tag-D07xz6yt.js';
2
2
  import 'vue';
3
3
  import './fw-button.js';
4
- import './fw-button-DZTHZLjk.js';
5
- import './index-DHyRsKsZ.js';
4
+ import './fw-button-Cj5UEwCt.js';
5
+ import './index-BxwEcRoY.js';
6
6
  import './style-inject.es-tgCJW-Cu.js';
7
7
  import './get-root-colours-DCCAnRF4.js';
package/esm/fw-toast.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, ref, computed, onMounted, watch, onBeforeUnmount, createBlock, createCommentVNode, openBlock, Teleport, createVNode, Transition, withCtx, createElementBlock, normalizeClass, createElementVNode, renderSlot, resolveDynamicComponent } from 'vue';
2
- import { t as render$1, l as render$2, m as render$3 } from './index-DHyRsKsZ.js';
2
+ import { t as render$1, l as render$2, m as render$3 } from './index-BxwEcRoY.js';
3
3
  import { s as styleInject } from './style-inject.es-tgCJW-Cu.js';
4
4
 
5
5
  var script = defineComponent({
@@ -77,7 +77,7 @@ var script = defineComponent({
77
77
  var uuid = (_globalThis$crypto$ra = (_globalThis$crypto = globalThis.crypto) === null || _globalThis$crypto === void 0 || (_globalThis$crypto$ra2 = _globalThis$crypto.randomUUID) === null || _globalThis$crypto$ra2 === void 0 ? void 0 : _globalThis$crypto$ra2.call(_globalThis$crypto)) !== null && _globalThis$crypto$ra !== void 0 ? _globalThis$crypto$ra : "toast-".concat(Math.random().toString(36).slice(2));
78
78
  var isOpen = computed({
79
79
  get: function get() {
80
- return !!props.modelValue;
80
+ return ref(props.modelValue);
81
81
  },
82
82
  set: function set(state) {
83
83
  return ctx.emit('update:modelValue', state);
@@ -107,13 +107,11 @@ var script = defineComponent({
107
107
  ensureContainer();
108
108
  isMounted.value = true;
109
109
  });
110
- watch(function () {
111
- return props.modelValue;
112
- }, function (open) {
110
+ watch(isOpen.value, function (open) {
113
111
  if (dismissTimer) window.clearTimeout(dismissTimer);
114
- if (open) {
112
+ if (open === true) {
115
113
  dismissTimer = window.setTimeout(function () {
116
- isOpen.value = false;
114
+ isOpen.value.value = false;
117
115
  ctx.emit('dismissed');
118
116
  }, props.timeout);
119
117
  }
@@ -150,7 +148,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
150
148
  appear: ""
151
149
  }, {
152
150
  "default": withCtx(function () {
153
- return [_ctx.isOpen ? (openBlock(), createElementBlock("output", {
151
+ return [_ctx.isOpen.value ? (openBlock(), createElementBlock("output", {
154
152
  id: "fw-toast-".concat(_ctx.uuid),
155
153
  key: _ctx.uuid,
156
154
  role: "status",
@@ -1,11 +1,11 @@
1
1
  import { defineComponent, resolveComponent, createBlock, openBlock, withCtx, createElementVNode, createCommentVNode, createElementBlock, toDisplayString } from 'vue';
2
2
  import { _ as __default__$1 } from './fw-card-XGtsK2bM.js';
3
- import { _ as __default__ } from './fw-image-A2lXYs0u.js';
3
+ import { _ as __default__ } from './fw-image-MQo9Gq8s.js';
4
4
  import './get-root-colours-DCCAnRF4.js';
5
5
  import './style-inject.es-tgCJW-Cu.js';
6
6
  import './_rollupPluginBabelHelpers-BKlDnZ7n.js';
7
7
  import './fw-loading-bar-3x4tkF1B.js';
8
- import './index-DHyRsKsZ.js';
8
+ import './index-BxwEcRoY.js';
9
9
 
10
10
  var script = defineComponent({
11
11
  name: 'FwTransactionsCard',