@frollo/frollo-web-ui 6.0.2 → 6.0.4
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 +28 -19
- package/esm/{add-to-unscopables-cfb87985.js → add-to-unscopables-ee05b58f.js} +2 -2
- package/esm/{array-iteration-2181d2bd.js → array-iteration-8267bf22.js} +2 -2
- package/esm/{array-method-has-species-support-dfbd0c7f.js → array-method-has-species-support-6c675094.js} +1 -1
- package/esm/{array-method-is-strict-7dac83d7.js → array-method-is-strict-d313436f.js} +1 -1
- package/esm/{array-species-create-ff1f78e1.js → array-species-create-1c67e297.js} +2 -2
- package/esm/{classof-7ba4c6c3.js → classof-d44bf093.js} +1 -1
- package/esm/{create-property-1bf185fa.js → create-property-eb329361.js} +1 -1
- package/esm/{does-not-exceed-safe-integer-b66f7ee2.js → does-not-exceed-safe-integer-de37ce28.js} +1 -1
- package/esm/{es.array.concat-d9281ad1.js → es.array.concat-99b85557.js} +6 -6
- package/esm/{es.array.find-ee91a966.js → es.array.find-1ded15d5.js} +4 -4
- package/esm/{es.array.includes-d57031df.js → es.array.includes-08e25019.js} +3 -3
- package/esm/{es.array.map-582a2b69.js → es.array.map-c56ebffd.js} +4 -4
- package/esm/{es.date.to-string-dc67483a.js → es.date.to-string-15eb9936.js} +1 -1
- package/esm/{es.function.name-14d69869.js → es.function.name-6cafd747.js} +1 -1
- package/esm/{es.number.constructor-bed13ae4.js → es.number.constructor-fb16fe05.js} +2 -2
- package/esm/{es.object.to-string-31ad45ad.js → es.object.to-string-4b07c4d1.js} +2 -2
- package/esm/{es.string.includes-01e4d90f.js → es.string.includes-061e8272.js} +3 -3
- package/esm/{es.string.iterator-27b735a3.js → es.string.iterator-25db8cd2.js} +8 -8
- package/esm/{export-44690f0d.js → export-10c4adbc.js} +1 -1
- package/esm/{function-apply-5580128b.js → function-apply-e17cf65b.js} +1 -1
- package/esm/fw-accordion.js +11 -7
- package/esm/fw-animations.js +3 -3
- package/esm/fw-bar-chart.js +16 -16
- package/esm/{fw-button-cbaedd16.js → fw-button-c8502414.js} +1 -1
- package/esm/fw-button.js +6 -6
- package/esm/fw-checkbox.js +9 -9
- package/esm/fw-date-picker.js +10 -10
- package/esm/fw-drawer.js +6 -6
- package/esm/{fw-dropdown-3f1ae8ee.js → fw-dropdown-6856e66e.js} +3 -3
- package/esm/fw-dropdown.js +11 -11
- package/esm/{fw-image-9c1032f2.js → fw-image-aca2c61d.js} +10 -10
- package/esm/fw-image.js +17 -17
- package/esm/{fw-input-8fa201f7.js → fw-input-259e2e18.js} +4 -4
- package/esm/fw-input.js +14 -14
- package/esm/fw-loading.js +3 -3
- package/esm/fw-modal.js +6 -6
- package/esm/fw-navigation-menu.js +12 -10
- package/esm/fw-popover.js +7 -7
- package/esm/fw-progress-bar.js +3 -3
- package/esm/fw-provider-list.js +26 -26
- package/esm/fw-sidebar-menu.js +9 -8
- package/esm/{fw-table-row-cfbd796c.js → fw-table-row-23f78218.js} +18 -16
- package/esm/fw-table.js +11 -11
- package/esm/fw-tabs.js +9 -9
- package/esm/{fw-tag-749b4fc6.js → fw-tag-ac28200a.js} +2 -2
- package/esm/fw-tag.js +7 -7
- package/esm/fw-toast.js +15 -15
- package/esm/fw-transactions-card.js +17 -17
- package/esm/{index-95659c75.js → index-6758f755.js} +13 -13
- package/esm/index.js +38 -38
- package/esm/{object-create-200e3764.js → object-create-51bf02dc.js} +1 -1
- package/esm/{regexp-flags-8d5e20e1.js → regexp-flags-c09864e5.js} +3 -3
- package/esm/{web.timers-991ce9a8.js → web.timers-e406c8e6.js} +3 -3
- package/frollo-web-ui.esm.js +28 -19
- package/index.d.ts +9 -4
- package/package.json +1 -1
- package/types/components/fw-accordion/fw-accordion.vue.d.ts +4 -2
- package/types/components/fw-navigation-menu/index.types.d.ts +1 -0
- package/types/components/fw-sidebar-menu/index.types.d.ts +1 -0
- package/types/components/fw-table/fw-table.vue.d.ts +3 -2
- package/web-components/index.js +28 -19
- /package/esm/{is-forced-b8806e4b.js → is-forced-7cb3ee8f.js} +0 -0
package/web-components/index.js
CHANGED
|
@@ -18551,13 +18551,14 @@
|
|
|
18551
18551
|
to: item.to,
|
|
18552
18552
|
external: item.external,
|
|
18553
18553
|
size: "md",
|
|
18554
|
-
"aria-current": "page"
|
|
18554
|
+
"aria-current": "page",
|
|
18555
|
+
onClick: item.onClick
|
|
18555
18556
|
}, {
|
|
18556
18557
|
"default": withCtx(function () {
|
|
18557
18558
|
return [createTextVNode(toDisplayString(item.label), 1)];
|
|
18558
18559
|
}),
|
|
18559
18560
|
_: 2
|
|
18560
|
-
}, 1032, ["href", "to", "external"]);
|
|
18561
|
+
}, 1032, ["href", "to", "external", "onClick"]);
|
|
18561
18562
|
}), 128))])])) : createCommentVNode("", true), _ctx.actionLabel ? (openBlock(), createElementBlock("div", _hoisted_5$a, [createVNode(_component_FwButton, {
|
|
18562
18563
|
onClick: _ctx.actionClicked,
|
|
18563
18564
|
size: "md",
|
|
@@ -18597,13 +18598,14 @@
|
|
|
18597
18598
|
to: item.to,
|
|
18598
18599
|
external: item.external,
|
|
18599
18600
|
size: "md",
|
|
18600
|
-
"aria-current": "page"
|
|
18601
|
+
"aria-current": "page",
|
|
18602
|
+
onClick: item.onClick
|
|
18601
18603
|
}, {
|
|
18602
18604
|
"default": withCtx(function () {
|
|
18603
18605
|
return [createTextVNode(toDisplayString(item.label), 1)];
|
|
18604
18606
|
}),
|
|
18605
18607
|
_: 2
|
|
18606
|
-
}, 1032, ["href", "to", "external"]);
|
|
18608
|
+
}, 1032, ["href", "to", "external", "onClick"]);
|
|
18607
18609
|
}), 128))]), _ctx.actionLabel ? (openBlock(), createBlock(_component_FwButton, {
|
|
18608
18610
|
key: 0,
|
|
18609
18611
|
"class": "w-full rounded-md",
|
|
@@ -19648,7 +19650,7 @@
|
|
|
19648
19650
|
ArrowDownSvg: render$A,
|
|
19649
19651
|
FwLoadingBar: script$b
|
|
19650
19652
|
},
|
|
19651
|
-
emits: ['rowClicked'],
|
|
19653
|
+
emits: ['rowClicked', 'columnSorted'],
|
|
19652
19654
|
props: {
|
|
19653
19655
|
items: {
|
|
19654
19656
|
type: Array,
|
|
@@ -19683,12 +19685,13 @@
|
|
|
19683
19685
|
var currentSortedColumn = ref('');
|
|
19684
19686
|
onMounted(function () {
|
|
19685
19687
|
if (Number(props.autoSortColumn) >= 0) {
|
|
19686
|
-
sortColumn(columns.value[Number(props.autoSortColumn)]);
|
|
19688
|
+
sortColumn(columns.value[Number(props.autoSortColumn)], false);
|
|
19687
19689
|
}
|
|
19688
19690
|
});
|
|
19689
19691
|
var _useColours = useColours(),
|
|
19690
19692
|
bgHoverColor = _useColours.primaryFade5;
|
|
19691
19693
|
var sortColumn = function sortColumn(column) {
|
|
19694
|
+
var isAction = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
|
|
19692
19695
|
if (!isColumnSortable(column)) return;
|
|
19693
19696
|
currentSortedColumn.value = column;
|
|
19694
19697
|
if (sortBy.value === column) {
|
|
@@ -19697,6 +19700,7 @@
|
|
|
19697
19700
|
sortBy.value = column;
|
|
19698
19701
|
sortDirection.value = columnInitSort(column);
|
|
19699
19702
|
}
|
|
19703
|
+
if (isAction) ctx.emit('columnSorted', column, sortDirection.value);
|
|
19700
19704
|
};
|
|
19701
19705
|
var sortedData = computed(function () {
|
|
19702
19706
|
if (!sortBy.value) {
|
|
@@ -19771,7 +19775,7 @@
|
|
|
19771
19775
|
var __injectCSSVars__$5 = function __injectCSSVars__() {
|
|
19772
19776
|
useCssVars(function (_ctx) {
|
|
19773
19777
|
return {
|
|
19774
|
-
"
|
|
19778
|
+
"1f1e2224": _ctx.bgHoverColor
|
|
19775
19779
|
};
|
|
19776
19780
|
});
|
|
19777
19781
|
};
|
|
@@ -19782,7 +19786,7 @@
|
|
|
19782
19786
|
} : __injectCSSVars__$5;
|
|
19783
19787
|
|
|
19784
19788
|
var _withScopeId$4 = function _withScopeId(n) {
|
|
19785
|
-
return pushScopeId("data-v-
|
|
19789
|
+
return pushScopeId("data-v-2b5e0ff2"), n = n(), popScopeId(), n;
|
|
19786
19790
|
};
|
|
19787
19791
|
var _hoisted_1$q = ["aria-busy"];
|
|
19788
19792
|
var _hoisted_2$o = {
|
|
@@ -19891,12 +19895,12 @@
|
|
|
19891
19895
|
}), 128))])], 10, _hoisted_1$q);
|
|
19892
19896
|
}
|
|
19893
19897
|
|
|
19894
|
-
var css_248z$b = ".fw-table-head--sortable[data-v-
|
|
19895
|
-
var stylesheet$b = ".fw-table-head--sortable[data-v-
|
|
19898
|
+
var css_248z$b = ".fw-table-head--sortable[data-v-2b5e0ff2]:hover{background-color:var(--1f1e2224)}.fw-table-row[data-v-2b5e0ff2]:hover{background-color:var(--1f1e2224)}";
|
|
19899
|
+
var stylesheet$b = ".fw-table-head--sortable[data-v-2b5e0ff2]:hover{background-color:var(--1f1e2224)}.fw-table-row[data-v-2b5e0ff2]:hover{background-color:var(--1f1e2224)}";
|
|
19896
19900
|
styleInject(css_248z$b);
|
|
19897
19901
|
|
|
19898
19902
|
__default__$6.render = render$g;
|
|
19899
|
-
__default__$6.__scopeId = "data-v-
|
|
19903
|
+
__default__$6.__scopeId = "data-v-2b5e0ff2";
|
|
19900
19904
|
|
|
19901
19905
|
var script$a = defineComponent({
|
|
19902
19906
|
name: 'FwTableHead'
|
|
@@ -19935,6 +19939,7 @@
|
|
|
19935
19939
|
|
|
19936
19940
|
var __default__$5 = defineComponent({
|
|
19937
19941
|
name: 'FwAccordion',
|
|
19942
|
+
emits: ['toggled'],
|
|
19938
19943
|
props: {
|
|
19939
19944
|
/**
|
|
19940
19945
|
* The header title of the accordion
|
|
@@ -19963,8 +19968,11 @@
|
|
|
19963
19968
|
"default": true
|
|
19964
19969
|
}
|
|
19965
19970
|
},
|
|
19966
|
-
setup: function setup(props) {
|
|
19971
|
+
setup: function setup(props, ctx) {
|
|
19967
19972
|
var isOpen = ref(props.isOpened);
|
|
19973
|
+
watch(isOpen, function (newValue) {
|
|
19974
|
+
ctx.emit('toggled', newValue);
|
|
19975
|
+
});
|
|
19968
19976
|
var _useColours = useColours(),
|
|
19969
19977
|
bgHoverColor = _useColours.primaryFade5;
|
|
19970
19978
|
var beforeEnter = function beforeEnter(el) {
|
|
@@ -19992,7 +20000,7 @@
|
|
|
19992
20000
|
var __injectCSSVars__$4 = function __injectCSSVars__() {
|
|
19993
20001
|
useCssVars(function (_ctx) {
|
|
19994
20002
|
return {
|
|
19995
|
-
"
|
|
20003
|
+
"5f2b9a00": _ctx.bgHoverColor
|
|
19996
20004
|
};
|
|
19997
20005
|
});
|
|
19998
20006
|
};
|
|
@@ -20003,7 +20011,7 @@
|
|
|
20003
20011
|
} : __injectCSSVars__$4;
|
|
20004
20012
|
|
|
20005
20013
|
var _withScopeId$3 = function _withScopeId(n) {
|
|
20006
|
-
return pushScopeId("data-v-
|
|
20014
|
+
return pushScopeId("data-v-a62b48c8"), n = n(), popScopeId(), n;
|
|
20007
20015
|
};
|
|
20008
20016
|
var _hoisted_1$n = {
|
|
20009
20017
|
"class": "fw-accordion rounded-sm border border-grey-40"
|
|
@@ -20048,12 +20056,12 @@
|
|
|
20048
20056
|
}, 8, ["onBeforeEnter", "onEnter", "onBeforeLeave", "onLeave"])]);
|
|
20049
20057
|
}
|
|
20050
20058
|
|
|
20051
|
-
var css_248z$a = ".fw-accordion--header-open[data-v-
|
|
20052
|
-
var stylesheet$a = ".fw-accordion--header-open[data-v-
|
|
20059
|
+
var css_248z$a = ".fw-accordion--header-open[data-v-a62b48c8],.fw-accordion--header[data-v-a62b48c8]:focus-visible,.fw-accordion--header[data-v-a62b48c8]:hover{background-color:var(--5f2b9a00)}.fw-accordion--icon[data-v-a62b48c8]{position:relative}.fw-accordion--icon[data-v-a62b48c8]:after,.fw-accordion--icon[data-v-a62b48c8]:before{background:var(--colorBody);border-radius:3px;content:\"\";height:.2rem;left:50%;position:absolute;top:50%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%);-webkit-transition:.3s ease-in-out;transition:.3s ease-in-out;width:1rem}.fw-accordion--icon[data-v-a62b48c8]:after{-webkit-transform:translate(-50%,-50%) rotate(90deg);-ms-transform:translate(-50%,-50%) rotate(90deg);transform:translate(-50%,-50%) rotate(90deg)}.fw-accordion--icon-open[data-v-a62b48c8]:after{width:0}";
|
|
20060
|
+
var stylesheet$a = ".fw-accordion--header-open[data-v-a62b48c8],.fw-accordion--header[data-v-a62b48c8]:focus-visible,.fw-accordion--header[data-v-a62b48c8]:hover{background-color:var(--5f2b9a00)}.fw-accordion--icon[data-v-a62b48c8]{position:relative}.fw-accordion--icon[data-v-a62b48c8]:after,.fw-accordion--icon[data-v-a62b48c8]:before{background:var(--colorBody);border-radius:3px;content:\"\";height:.2rem;left:50%;position:absolute;top:50%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%);-webkit-transition:.3s ease-in-out;transition:.3s ease-in-out;width:1rem}.fw-accordion--icon[data-v-a62b48c8]:after{-webkit-transform:translate(-50%,-50%) rotate(90deg);-ms-transform:translate(-50%,-50%) rotate(90deg);transform:translate(-50%,-50%) rotate(90deg)}.fw-accordion--icon-open[data-v-a62b48c8]:after{width:0}";
|
|
20053
20061
|
styleInject(css_248z$a);
|
|
20054
20062
|
|
|
20055
20063
|
__default__$5.render = render$d;
|
|
20056
|
-
__default__$5.__scopeId = "data-v-
|
|
20064
|
+
__default__$5.__scopeId = "data-v-a62b48c8";
|
|
20057
20065
|
|
|
20058
20066
|
var es_array_from = {};
|
|
20059
20067
|
|
|
@@ -37072,13 +37080,14 @@
|
|
|
37072
37080
|
to: item.to,
|
|
37073
37081
|
external: item.external,
|
|
37074
37082
|
size: "lg",
|
|
37075
|
-
"aria-current": "page"
|
|
37083
|
+
"aria-current": "page",
|
|
37084
|
+
onClick: item.onClick
|
|
37076
37085
|
}, {
|
|
37077
37086
|
"default": withCtx(function () {
|
|
37078
37087
|
return [createTextVNode(toDisplayString(item.label), 1)];
|
|
37079
37088
|
}),
|
|
37080
37089
|
_: 2
|
|
37081
|
-
}, 1032, ["href", "to", "external"])) : createCommentVNode("", true)], 64);
|
|
37090
|
+
}, 1032, ["href", "to", "external", "onClick"])) : createCommentVNode("", true)], 64);
|
|
37082
37091
|
}), 128))])])) : createCommentVNode("", true)];
|
|
37083
37092
|
}),
|
|
37084
37093
|
_: 3
|
|
File without changes
|