@frollo/frollo-web-ui 8.5.3 → 8.5.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 CHANGED
@@ -9524,11 +9524,9 @@ styleInject(css_248z$d);__default__$7.render = render$j;var __default__$6 = vue.
9524
9524
  return props.items;
9525
9525
  }
9526
9526
  var data = props.items;
9527
- if (props.options) {
9528
- var customSort = props.options[sortBy.value].sort;
9529
- if (customSort) {
9530
- return customSort(data, sortBy.value, sortDirection.value);
9531
- }
9527
+ var customSort = props.options ? props.options[sortBy.value].sort : undefined;
9528
+ if (customSort) {
9529
+ return customSort(data, sortBy.value, sortDirection.value);
9532
9530
  } else {
9533
9531
  data.sort(function (a, b) {
9534
9532
  var sortVal = typeof a[sortBy.value] === 'string' ? a[sortBy.value].toString().toLowerCase() > b[sortBy.value].toString().toLowerCase() ? 1 : -1 : a[sortBy.value] > b[sortBy.value] ? 1 : -1;
@@ -9613,7 +9611,7 @@ styleInject(css_248z$d);__default__$7.render = render$j;var __default__$6 = vue.
9613
9611
  var __injectCSSVars__$5 = function __injectCSSVars__() {
9614
9612
  vue.useCssVars(function (_ctx) {
9615
9613
  return {
9616
- "7a48f11c": _ctx.bgHoverColor
9614
+ "121d9c09": _ctx.bgHoverColor
9617
9615
  };
9618
9616
  });
9619
9617
  };
@@ -9622,7 +9620,7 @@ __default__$6.setup = __setup__$5 ? function (props, ctx) {
9622
9620
  __injectCSSVars__$5();
9623
9621
  return __setup__$5(props, ctx);
9624
9622
  } : __injectCSSVars__$5;var _withScopeId$4 = function _withScopeId(n) {
9625
- return vue.pushScopeId("data-v-1a900878"), n = n(), vue.popScopeId(), n;
9623
+ return vue.pushScopeId("data-v-5b704401"), n = n(), vue.popScopeId(), n;
9626
9624
  };
9627
9625
  var _hoisted_1$p = {
9628
9626
  "class": "flex flex-col"
@@ -9770,10 +9768,10 @@ function render$i(_ctx, _cache, $props, $setup, $data, $options) {
9770
9768
  }),
9771
9769
  _: 1
9772
9770
  }, 8, ["disabled"])])) : vue.createCommentVNode("", true)]);
9773
- }var css_248z$c = ".fw-table-head--sortable[data-v-1a900878]:hover{background-color:var(--7a48f11c)}.fw-table-row[data-v-1a900878]:hover{background-color:var(--7a48f11c)}";
9774
- var stylesheet$c = ".fw-table-head--sortable[data-v-1a900878]:hover{background-color:var(--7a48f11c)}.fw-table-row[data-v-1a900878]:hover{background-color:var(--7a48f11c)}";
9771
+ }var css_248z$c = ".fw-table-head--sortable[data-v-5b704401]:hover{background-color:var(--121d9c09)}.fw-table-row[data-v-5b704401]:hover{background-color:var(--121d9c09)}";
9772
+ var stylesheet$c = ".fw-table-head--sortable[data-v-5b704401]:hover{background-color:var(--121d9c09)}.fw-table-row[data-v-5b704401]:hover{background-color:var(--121d9c09)}";
9775
9773
  styleInject(css_248z$c);__default__$6.render = render$i;
9776
- __default__$6.__scopeId = "data-v-1a900878";var script$c = vue.defineComponent({
9774
+ __default__$6.__scopeId = "data-v-5b704401";var script$c = vue.defineComponent({
9777
9775
  name: 'FwTableHead'
9778
9776
  });var _hoisted_1$o = {
9779
9777
  "class": "py-6 px-5 text-left font-medium"
@@ -1,6 +1,6 @@
1
1
  import { e as _defineProperty } from './_rollupPluginBabelHelpers-DpC_oIQV.js';
2
2
  import { defineComponent, ref, computed, createElementVNode, resolveComponent, openBlock, createElementBlock, toDisplayString, createVNode, withCtx, createBlock, createCommentVNode, createTextVNode } from 'vue';
3
- import { _ as __default__, s as script$4, a as script$5 } from './fw-table-row-BetVCzHJ.js';
3
+ import { _ as __default__, s as script$4, a as script$5 } from './fw-table-row-Db7951fr.js';
4
4
  import { s as script$1 } from './fw-input-XeI-IKly.js';
5
5
  import { _ as __default__$1 } from './fw-tag-V0jMl-It.js';
6
6
  import { s as script$3 } from './fw-button-DNozvo7B.js';
@@ -94,11 +94,9 @@ var __default__ = defineComponent({
94
94
  return props.items;
95
95
  }
96
96
  var data = props.items;
97
- if (props.options) {
98
- var customSort = props.options[sortBy.value].sort;
99
- if (customSort) {
100
- return customSort(data, sortBy.value, sortDirection.value);
101
- }
97
+ var customSort = props.options ? props.options[sortBy.value].sort : undefined;
98
+ if (customSort) {
99
+ return customSort(data, sortBy.value, sortDirection.value);
102
100
  } else {
103
101
  data.sort(function (a, b) {
104
102
  var sortVal = typeof a[sortBy.value] === 'string' ? a[sortBy.value].toString().toLowerCase() > b[sortBy.value].toString().toLowerCase() ? 1 : -1 : a[sortBy.value] > b[sortBy.value] ? 1 : -1;
@@ -183,7 +181,7 @@ var __default__ = defineComponent({
183
181
  var __injectCSSVars__ = function __injectCSSVars__() {
184
182
  useCssVars(function (_ctx) {
185
183
  return {
186
- "7a48f11c": _ctx.bgHoverColor
184
+ "121d9c09": _ctx.bgHoverColor
187
185
  };
188
186
  });
189
187
  };
@@ -194,7 +192,7 @@ __default__.setup = __setup__ ? function (props, ctx) {
194
192
  } : __injectCSSVars__;
195
193
 
196
194
  var _withScopeId = function _withScopeId(n) {
197
- return pushScopeId("data-v-1a900878"), n = n(), popScopeId(), n;
195
+ return pushScopeId("data-v-5b704401"), n = n(), popScopeId(), n;
198
196
  };
199
197
  var _hoisted_1$2 = {
200
198
  "class": "flex flex-col"
@@ -344,12 +342,12 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
344
342
  }, 8, ["disabled"])])) : createCommentVNode("", true)]);
345
343
  }
346
344
 
347
- var css_248z = ".fw-table-head--sortable[data-v-1a900878]:hover{background-color:var(--7a48f11c)}.fw-table-row[data-v-1a900878]:hover{background-color:var(--7a48f11c)}";
348
- var stylesheet = ".fw-table-head--sortable[data-v-1a900878]:hover{background-color:var(--7a48f11c)}.fw-table-row[data-v-1a900878]:hover{background-color:var(--7a48f11c)}";
345
+ var css_248z = ".fw-table-head--sortable[data-v-5b704401]:hover{background-color:var(--121d9c09)}.fw-table-row[data-v-5b704401]:hover{background-color:var(--121d9c09)}";
346
+ var stylesheet = ".fw-table-head--sortable[data-v-5b704401]:hover{background-color:var(--121d9c09)}.fw-table-row[data-v-5b704401]:hover{background-color:var(--121d9c09)}";
349
347
  styleInject(css_248z);
350
348
 
351
349
  __default__.render = render$2;
352
- __default__.__scopeId = "data-v-1a900878";
350
+ __default__.__scopeId = "data-v-5b704401";
353
351
 
354
352
  var script$1 = defineComponent({
355
353
  name: 'FwTableHead'
package/esm/fw-table.js CHANGED
@@ -1,4 +1,4 @@
1
- export { _ as FwTable, s as FwTableHead, a as FwTableRow } from './fw-table-row-BetVCzHJ.js';
1
+ export { _ as FwTable, s as FwTableHead, a as FwTableRow } from './fw-table-row-Db7951fr.js';
2
2
  import './index-CzZMBMV_.js';
3
3
  import 'vue';
4
4
  import './check--YD4Ts6g.js';
package/esm/index.js CHANGED
@@ -32,7 +32,7 @@ import { s as script$5 } from './fw-dropdown-CbgOvgOt.js';
32
32
  import { s as script$2 } from './fw-card-bsYbpPmW.js';
33
33
  import { s as script$1 } from './fw-button-DNozvo7B.js';
34
34
  import { _ as __default__$6 } from './fw-tag-V0jMl-It.js';
35
- import { _ as __default__$5, s as script$l, a as script$m } from './fw-table-row-BetVCzHJ.js';
35
+ import { _ as __default__$5, s as script$l, a as script$m } from './fw-table-row-Db7951fr.js';
36
36
  import { s as script$6 } from './fw-image-Dl96Dc27.js';
37
37
  import { s as script$8 } from './fw-loading-bar-DThRjdw1.js';
38
38
  import { s as script$a } from './fw-loading-spinner-BFpFFRJm.js';
@@ -9770,11 +9770,9 @@ var __default__$6 = defineComponent({
9770
9770
  return props.items;
9771
9771
  }
9772
9772
  var data = props.items;
9773
- if (props.options) {
9774
- var customSort = props.options[sortBy.value].sort;
9775
- if (customSort) {
9776
- return customSort(data, sortBy.value, sortDirection.value);
9777
- }
9773
+ var customSort = props.options ? props.options[sortBy.value].sort : undefined;
9774
+ if (customSort) {
9775
+ return customSort(data, sortBy.value, sortDirection.value);
9778
9776
  } else {
9779
9777
  data.sort(function (a, b) {
9780
9778
  var sortVal = typeof a[sortBy.value] === 'string' ? a[sortBy.value].toString().toLowerCase() > b[sortBy.value].toString().toLowerCase() ? 1 : -1 : a[sortBy.value] > b[sortBy.value] ? 1 : -1;
@@ -9859,7 +9857,7 @@ var __default__$6 = defineComponent({
9859
9857
  var __injectCSSVars__$5 = function __injectCSSVars__() {
9860
9858
  useCssVars(function (_ctx) {
9861
9859
  return {
9862
- "7a48f11c": _ctx.bgHoverColor
9860
+ "121d9c09": _ctx.bgHoverColor
9863
9861
  };
9864
9862
  });
9865
9863
  };
@@ -9870,7 +9868,7 @@ __default__$6.setup = __setup__$5 ? function (props, ctx) {
9870
9868
  } : __injectCSSVars__$5;
9871
9869
 
9872
9870
  var _withScopeId$4 = function _withScopeId(n) {
9873
- return pushScopeId("data-v-1a900878"), n = n(), popScopeId(), n;
9871
+ return pushScopeId("data-v-5b704401"), n = n(), popScopeId(), n;
9874
9872
  };
9875
9873
  var _hoisted_1$p = {
9876
9874
  "class": "flex flex-col"
@@ -10020,12 +10018,12 @@ function render$i(_ctx, _cache, $props, $setup, $data, $options) {
10020
10018
  }, 8, ["disabled"])])) : createCommentVNode("", true)]);
10021
10019
  }
10022
10020
 
10023
- var css_248z$c = ".fw-table-head--sortable[data-v-1a900878]:hover{background-color:var(--7a48f11c)}.fw-table-row[data-v-1a900878]:hover{background-color:var(--7a48f11c)}";
10024
- var stylesheet$c = ".fw-table-head--sortable[data-v-1a900878]:hover{background-color:var(--7a48f11c)}.fw-table-row[data-v-1a900878]:hover{background-color:var(--7a48f11c)}";
10021
+ var css_248z$c = ".fw-table-head--sortable[data-v-5b704401]:hover{background-color:var(--121d9c09)}.fw-table-row[data-v-5b704401]:hover{background-color:var(--121d9c09)}";
10022
+ var stylesheet$c = ".fw-table-head--sortable[data-v-5b704401]:hover{background-color:var(--121d9c09)}.fw-table-row[data-v-5b704401]:hover{background-color:var(--121d9c09)}";
10025
10023
  styleInject(css_248z$c);
10026
10024
 
10027
10025
  __default__$6.render = render$i;
10028
- __default__$6.__scopeId = "data-v-1a900878";
10026
+ __default__$6.__scopeId = "data-v-5b704401";
10029
10027
 
10030
10028
  var script$c = defineComponent({
10031
10029
  name: 'FwTableHead'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frollo/frollo-web-ui",
3
- "version": "8.5.3",
3
+ "version": "8.5.4",
4
4
  "description": "Frollo's UI library for components, utilities and configs",
5
5
  "exports": {
6
6
  "./icons": "./icons/index.ts",
@@ -21333,11 +21333,9 @@ Expected function or array of functions, received type ${typeof value}.`
21333
21333
  return props.items;
21334
21334
  }
21335
21335
  var data = props.items;
21336
- if (props.options) {
21337
- var customSort = props.options[sortBy.value].sort;
21338
- if (customSort) {
21339
- return customSort(data, sortBy.value, sortDirection.value);
21340
- }
21336
+ var customSort = props.options ? props.options[sortBy.value].sort : undefined;
21337
+ if (customSort) {
21338
+ return customSort(data, sortBy.value, sortDirection.value);
21341
21339
  } else {
21342
21340
  data.sort(function (a, b) {
21343
21341
  var sortVal = typeof a[sortBy.value] === 'string' ? a[sortBy.value].toString().toLowerCase() > b[sortBy.value].toString().toLowerCase() ? 1 : -1 : a[sortBy.value] > b[sortBy.value] ? 1 : -1;
@@ -21422,7 +21420,7 @@ Expected function or array of functions, received type ${typeof value}.`
21422
21420
  var __injectCSSVars__$5 = function __injectCSSVars__() {
21423
21421
  useCssVars(function (_ctx) {
21424
21422
  return {
21425
- "7a48f11c": _ctx.bgHoverColor
21423
+ "121d9c09": _ctx.bgHoverColor
21426
21424
  };
21427
21425
  });
21428
21426
  };
@@ -21433,7 +21431,7 @@ Expected function or array of functions, received type ${typeof value}.`
21433
21431
  } : __injectCSSVars__$5;
21434
21432
 
21435
21433
  var _withScopeId$4 = function _withScopeId(n) {
21436
- return pushScopeId("data-v-1a900878"), n = n(), popScopeId(), n;
21434
+ return pushScopeId("data-v-5b704401"), n = n(), popScopeId(), n;
21437
21435
  };
21438
21436
  var _hoisted_1$p = {
21439
21437
  "class": "flex flex-col"
@@ -21583,12 +21581,12 @@ Expected function or array of functions, received type ${typeof value}.`
21583
21581
  }, 8, ["disabled"])])) : createCommentVNode("", true)]);
21584
21582
  }
21585
21583
 
21586
- var css_248z$c = ".fw-table-head--sortable[data-v-1a900878]:hover{background-color:var(--7a48f11c)}.fw-table-row[data-v-1a900878]:hover{background-color:var(--7a48f11c)}";
21587
- var stylesheet$c = ".fw-table-head--sortable[data-v-1a900878]:hover{background-color:var(--7a48f11c)}.fw-table-row[data-v-1a900878]:hover{background-color:var(--7a48f11c)}";
21584
+ var css_248z$c = ".fw-table-head--sortable[data-v-5b704401]:hover{background-color:var(--121d9c09)}.fw-table-row[data-v-5b704401]:hover{background-color:var(--121d9c09)}";
21585
+ var stylesheet$c = ".fw-table-head--sortable[data-v-5b704401]:hover{background-color:var(--121d9c09)}.fw-table-row[data-v-5b704401]:hover{background-color:var(--121d9c09)}";
21588
21586
  styleInject(css_248z$c);
21589
21587
 
21590
21588
  __default__$6.render = render$i;
21591
- __default__$6.__scopeId = "data-v-1a900878";
21589
+ __default__$6.__scopeId = "data-v-5b704401";
21592
21590
 
21593
21591
  var script$c = defineComponent({
21594
21592
  name: 'FwTableHead'