@frollo/frollo-web-ui 8.5.0 → 8.5.2
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 +248 -249
- package/esm/fw-accordion.js +1 -1
- package/esm/fw-animations.js +2 -2
- package/esm/{fw-button-BhZXMN8a.js → fw-button-ROl6WHys.js} +1 -1
- package/esm/fw-button.js +3 -3
- package/esm/fw-date-picker.js +1 -1
- package/esm/fw-drawer.js +3 -3
- package/esm/{fw-dropdown-ClttctHK.js → fw-dropdown-CszRMdF9.js} +2 -2
- package/esm/fw-dropdown.js +3 -3
- package/esm/{fw-image-6o3ZOSCW.js → fw-image-DAJmf7z4.js} +1 -1
- package/esm/fw-image.js +2 -2
- package/esm/{fw-loading-spinner-CFFbujSq.js → fw-loading-spinner-D6LtqOl7.js} +1 -1
- package/esm/fw-media-picker.js +3 -3
- package/esm/fw-modal.js +3 -3
- package/esm/fw-navigation-menu.js +3 -3
- package/esm/fw-period-selector.js +3 -3
- package/esm/fw-provider-list.js +7 -7
- package/esm/fw-sidebar-menu.js +3 -3
- package/esm/fw-slider.js +59 -83
- package/esm/{fw-table-row-BlpxQ10C.js → fw-table-row-xGa-LxFg.js} +18 -11
- package/esm/fw-table.js +4 -4
- package/esm/{fw-tag-DgsnsY7O.js → fw-tag-BmPSSwWP.js} +2 -2
- package/esm/fw-tag.js +4 -4
- package/esm/fw-toast.js +1 -1
- package/esm/fw-transactions-card.js +2 -2
- package/esm/{index-BjXtr7CR.js → index-Bohaw8xf.js} +133 -115
- package/esm/index.js +7 -7
- package/frollo-web-ui.esm.js +251 -250
- package/icons/copy-chain.svg +3 -0
- package/icons/index.ts +3 -1
- package/index.d.ts +6 -6
- package/package.json +1 -1
- package/types/components/fw-slider/fw-slider.vue.d.ts +2 -4
- package/types/components/fw-table/fw-table.vue.d.ts +1 -1
- package/types/components/fw-table/index.types.d.ts +2 -0
- package/types/icons/index.d.ts +2 -1
- package/web-components/index.js +256 -255
package/esm/fw-accordion.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, watch, useCssVars, pushScopeId, popScopeId, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, createBlock, createCommentVNode, toDisplayString, renderSlot, createVNode, Transition, withCtx, withDirectives, vShow } from 'vue';
|
|
2
2
|
import { u as useColours } from './get-root-colours-DYEoJPEb.js';
|
|
3
|
-
import { r as render$1 } from './index-
|
|
3
|
+
import { r as render$1 } from './index-Bohaw8xf.js';
|
|
4
4
|
import { s as styleInject } from './style-inject.es-tgCJW-Cu.js';
|
|
5
5
|
import './check--YD4Ts6g.js';
|
|
6
6
|
|
package/esm/fw-animations.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, useCssVars, pushScopeId, popScopeId, createElementVNode, openBlock, createElementBlock, createStaticVNode } from 'vue';
|
|
2
2
|
import { s as styleInject } from './style-inject.es-tgCJW-Cu.js';
|
|
3
|
-
export { s as FwLoadingSpinner } from './fw-loading-spinner-
|
|
4
|
-
import './index-
|
|
3
|
+
export { s as FwLoadingSpinner } from './fw-loading-spinner-D6LtqOl7.js';
|
|
4
|
+
import './index-Bohaw8xf.js';
|
|
5
5
|
import './check--YD4Ts6g.js';
|
|
6
6
|
|
|
7
7
|
var __default__$1 = defineComponent({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, resolveComponent, openBlock, createBlock, resolveDynamicComponent, normalizeClass, withCtx, createElementBlock, createElementVNode, Fragment, createTextVNode, toDisplayString, renderSlot, createCommentVNode, createVNode } from 'vue';
|
|
2
|
-
import { s as script$1 } from './fw-loading-spinner-
|
|
2
|
+
import { s as script$1 } from './fw-loading-spinner-D6LtqOl7.js';
|
|
3
3
|
import { s as styleInject } from './style-inject.es-tgCJW-Cu.js';
|
|
4
4
|
|
|
5
5
|
var script = defineComponent({
|
package/esm/fw-button.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { s as FwButton } from './fw-button-
|
|
1
|
+
export { s as FwButton } from './fw-button-ROl6WHys.js';
|
|
2
2
|
import 'vue';
|
|
3
|
-
import './fw-loading-spinner-
|
|
4
|
-
import './index-
|
|
3
|
+
import './fw-loading-spinner-D6LtqOl7.js';
|
|
4
|
+
import './index-Bohaw8xf.js';
|
|
5
5
|
import './check--YD4Ts6g.js';
|
|
6
6
|
import './style-inject.es-tgCJW-Cu.js';
|
package/esm/fw-date-picker.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { reactive, computed, ref, watch, onUnmounted, provide, inject, onMounted, watchEffect, defineComponent, nextTick, toRefs, openBlock, createElementBlock, normalizeClass, createVNode, Transition, withCtx, mergeProps, renderSlot, createTextVNode, toDisplayString, createElementVNode, createCommentVNode, unref, createBlock, resolveDynamicComponent, normalizeProps, Fragment, renderList, normalizeStyle, withKeys, withDirectives, toRef, resolveComponent, resolveDirective, toHandlers, withModifiers, isRef, guardReactiveProps, useCssVars } from 'vue';
|
|
2
|
-
import { a as render$1 } from './index-
|
|
2
|
+
import { a as render$1 } from './index-Bohaw8xf.js';
|
|
3
3
|
import { u as uniqueId } from './uniqueId-DK6xzFd8.js';
|
|
4
4
|
import { c as createPopper } from './index-BVcOAKar.js';
|
|
5
5
|
import { s as styleInject } from './style-inject.es-tgCJW-Cu.js';
|
package/esm/fw-drawer.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, onMounted, resolveComponent, openBlock, createBlock, Transition, withCtx, withDirectives, createElementVNode, normalizeClass, createElementBlock, renderSlot, createCommentVNode, createVNode, createTextVNode, toDisplayString, vShow } from 'vue';
|
|
2
|
-
import { s as script$1 } from './fw-button-
|
|
2
|
+
import { s as script$1 } from './fw-button-ROl6WHys.js';
|
|
3
3
|
import { u as uniqueId } from './uniqueId-DK6xzFd8.js';
|
|
4
|
-
import { b as render$1 } from './index-
|
|
4
|
+
import { b as render$1 } from './index-Bohaw8xf.js';
|
|
5
5
|
import { s as styleInject } from './style-inject.es-tgCJW-Cu.js';
|
|
6
|
-
import './fw-loading-spinner-
|
|
6
|
+
import './fw-loading-spinner-D6LtqOl7.js';
|
|
7
7
|
import './check--YD4Ts6g.js';
|
|
8
8
|
|
|
9
9
|
var script = defineComponent({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, toRef, ref, computed, watch, onMounted, onBeforeUnmount, pushScopeId, popScopeId, resolveComponent, openBlock, createElementBlock, createTextVNode, toDisplayString, createCommentVNode, createElementVNode, normalizeClass, createBlock, renderSlot, createVNode, Transition, withCtx, withDirectives, Fragment, renderList, vShow } from 'vue';
|
|
2
2
|
import { u as useField } from './vee-validate.esm-3ptvCDR1.js';
|
|
3
|
-
import { r as render$1 } from './index-
|
|
4
|
-
import { s as script$1 } from './fw-image-
|
|
3
|
+
import { r as render$1 } from './index-Bohaw8xf.js';
|
|
4
|
+
import { s as script$1 } from './fw-image-DAJmf7z4.js';
|
|
5
5
|
import { s as styleInject } from './style-inject.es-tgCJW-Cu.js';
|
|
6
6
|
|
|
7
7
|
var script = defineComponent({
|
package/esm/fw-dropdown.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { s as FwDropdown } from './fw-dropdown-
|
|
1
|
+
export { s as FwDropdown } from './fw-dropdown-CszRMdF9.js';
|
|
2
2
|
import 'vue';
|
|
3
3
|
import './vee-validate.esm-3ptvCDR1.js';
|
|
4
|
-
import './index-
|
|
4
|
+
import './index-Bohaw8xf.js';
|
|
5
5
|
import './check--YD4Ts6g.js';
|
|
6
|
-
import './fw-image-
|
|
6
|
+
import './fw-image-DAJmf7z4.js';
|
|
7
7
|
import './fw-loading-bar-DThRjdw1.js';
|
|
8
8
|
import './style-inject.es-tgCJW-Cu.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, ref, resolveComponent, resolveDirective, withDirectives, openBlock, createElementBlock, normalizeClass, withKeys, createElementVNode, createVNode, createBlock, createCommentVNode, renderSlot } from 'vue';
|
|
2
2
|
import { s as script$1 } from './fw-loading-bar-DThRjdw1.js';
|
|
3
|
-
import { q as render$1 } from './index-
|
|
3
|
+
import { q as render$1 } from './index-Bohaw8xf.js';
|
|
4
4
|
import { s as styleInject } from './style-inject.es-tgCJW-Cu.js';
|
|
5
5
|
|
|
6
6
|
var handleIntersect = function handleIntersect(entries, observer) {
|
package/esm/fw-image.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { s as FwImage } from './fw-image-
|
|
1
|
+
export { s as FwImage } from './fw-image-DAJmf7z4.js';
|
|
2
2
|
import 'vue';
|
|
3
3
|
import './fw-loading-bar-DThRjdw1.js';
|
|
4
4
|
import './style-inject.es-tgCJW-Cu.js';
|
|
5
|
-
import './index-
|
|
5
|
+
import './index-Bohaw8xf.js';
|
|
6
6
|
import './check--YD4Ts6g.js';
|
package/esm/fw-media-picker.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { c as _asyncToGenerator, d as _regeneratorRuntime, a as _slicedToArray } from './_rollupPluginBabelHelpers-DpC_oIQV.js';
|
|
2
2
|
import { defineComponent, ref, computed, watch, createElementVNode, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, toDisplayString, withCtx, normalizeClass, withModifiers, createTextVNode, createCommentVNode } from 'vue';
|
|
3
|
-
import { c as render$1, d as render$2, e as render$3, f as render$4, g as render$5, h as render$6 } from './index-
|
|
3
|
+
import { c as render$1, d as render$2, e as render$3, f as render$4, g as render$5, h as render$6 } from './index-Bohaw8xf.js';
|
|
4
4
|
import { FwModal as script$1 } from './fw-modal.js';
|
|
5
5
|
import './fw-button.js';
|
|
6
|
-
import { s as script$2 } from './fw-button-
|
|
6
|
+
import { s as script$2 } from './fw-button-ROl6WHys.js';
|
|
7
7
|
import './check--YD4Ts6g.js';
|
|
8
8
|
import './uniqueId-DK6xzFd8.js';
|
|
9
9
|
import './style-inject.es-tgCJW-Cu.js';
|
|
10
|
-
import './fw-loading-spinner-
|
|
10
|
+
import './fw-loading-spinner-D6LtqOl7.js';
|
|
11
11
|
|
|
12
12
|
var script = defineComponent({
|
|
13
13
|
name: 'MediaPicker',
|
package/esm/fw-modal.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, onMounted, resolveComponent, openBlock, createBlock, Teleport, createVNode, Transition, withCtx, withDirectives, createElementVNode, normalizeClass, createCommentVNode, createElementBlock, renderSlot, createTextVNode, toDisplayString, vShow } from 'vue';
|
|
2
|
-
import { s as script$1 } from './fw-button-
|
|
2
|
+
import { s as script$1 } from './fw-button-ROl6WHys.js';
|
|
3
3
|
import { u as uniqueId } from './uniqueId-DK6xzFd8.js';
|
|
4
|
-
import { b as render$1 } from './index-
|
|
4
|
+
import { b as render$1 } from './index-Bohaw8xf.js';
|
|
5
5
|
import { s as styleInject } from './style-inject.es-tgCJW-Cu.js';
|
|
6
|
-
import './fw-loading-spinner-
|
|
6
|
+
import './fw-loading-spinner-D6LtqOl7.js';
|
|
7
7
|
import './check--YD4Ts6g.js';
|
|
8
8
|
|
|
9
9
|
var script = defineComponent({
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent, ref, createElementVNode, resolveComponent, openBlock, createElementBlock, normalizeClass, renderSlot, createCommentVNode, Fragment, renderList, createBlock, withCtx, createTextVNode, toDisplayString, createVNode, Transition } from 'vue';
|
|
2
|
-
import { s as script$1 } from './fw-button-
|
|
2
|
+
import { s as script$1 } from './fw-button-ROl6WHys.js';
|
|
3
3
|
import { s as styleInject } from './style-inject.es-tgCJW-Cu.js';
|
|
4
|
-
import './fw-loading-spinner-
|
|
5
|
-
import './index-
|
|
4
|
+
import './fw-loading-spinner-D6LtqOl7.js';
|
|
5
|
+
import './index-Bohaw8xf.js';
|
|
6
6
|
import './check--YD4Ts6g.js';
|
|
7
7
|
|
|
8
8
|
var script = defineComponent({
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, normalizeClass, Fragment, renderList, createBlock, withCtx, createTextVNode, toDisplayString } from 'vue';
|
|
2
2
|
import './fw-button.js';
|
|
3
|
-
import { s as script$1 } from './fw-button-
|
|
3
|
+
import { s as script$1 } from './fw-button-ROl6WHys.js';
|
|
4
4
|
import { s as styleInject } from './style-inject.es-tgCJW-Cu.js';
|
|
5
|
-
import './fw-loading-spinner-
|
|
6
|
-
import './index-
|
|
5
|
+
import './fw-loading-spinner-D6LtqOl7.js';
|
|
6
|
+
import './index-Bohaw8xf.js';
|
|
7
7
|
import './check--YD4Ts6g.js';
|
|
8
8
|
|
|
9
9
|
var script = defineComponent({
|
package/esm/fw-provider-list.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
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-
|
|
3
|
+
import { _ as __default__, s as script$4, a as script$5 } from './fw-table-row-xGa-LxFg.js';
|
|
4
4
|
import { s as script$1 } from './fw-input-XeI-IKly.js';
|
|
5
|
-
import { _ as __default__$1 } from './fw-tag-
|
|
6
|
-
import { s as script$3 } from './fw-button-
|
|
7
|
-
import { s as script$2 } from './fw-dropdown-
|
|
8
|
-
import { i as render$1, j as render$2, k as render$3 } from './index-
|
|
5
|
+
import { _ as __default__$1 } from './fw-tag-BmPSSwWP.js';
|
|
6
|
+
import { s as script$3 } from './fw-button-ROl6WHys.js';
|
|
7
|
+
import { s as script$2 } from './fw-dropdown-CszRMdF9.js';
|
|
8
|
+
import { i as render$1, j as render$2, k as render$3 } from './index-Bohaw8xf.js';
|
|
9
9
|
import { s as styleInject } from './style-inject.es-tgCJW-Cu.js';
|
|
10
10
|
import './get-root-colours-DYEoJPEb.js';
|
|
11
11
|
import './fw-loading-bar-DThRjdw1.js';
|
|
12
12
|
import './vee-validate.esm-3ptvCDR1.js';
|
|
13
13
|
import './uniqueId-DK6xzFd8.js';
|
|
14
14
|
import './fw-button.js';
|
|
15
|
-
import './fw-loading-spinner-
|
|
16
|
-
import './fw-image-
|
|
15
|
+
import './fw-loading-spinner-D6LtqOl7.js';
|
|
16
|
+
import './fw-image-DAJmf7z4.js';
|
|
17
17
|
import './check--YD4Ts6g.js';
|
|
18
18
|
|
|
19
19
|
var script = defineComponent({
|
package/esm/fw-sidebar-menu.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, normalizeClass, createVNode, withCtx, Transition, withDirectives, createElementVNode, renderSlot, createCommentVNode, Fragment, renderList, createBlock, createTextVNode, toDisplayString, vShow } from 'vue';
|
|
2
|
-
import { s as script$1 } from './fw-button-
|
|
3
|
-
import { l as render$1 } from './index-
|
|
2
|
+
import { s as script$1 } from './fw-button-ROl6WHys.js';
|
|
3
|
+
import { l as render$1 } from './index-Bohaw8xf.js';
|
|
4
4
|
import { s as styleInject } from './style-inject.es-tgCJW-Cu.js';
|
|
5
|
-
import './fw-loading-spinner-
|
|
5
|
+
import './fw-loading-spinner-D6LtqOl7.js';
|
|
6
6
|
import './check--YD4Ts6g.js';
|
|
7
7
|
|
|
8
8
|
var script = defineComponent({
|
package/esm/fw-slider.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as _slicedToArray } from './_rollupPluginBabelHelpers-DpC_oIQV.js';
|
|
2
|
-
import { defineComponent, computed,
|
|
2
|
+
import { defineComponent, computed, watch, openBlock, createElementBlock, createElementVNode, normalizeStyle, toDisplayString, withDirectives, vModelText } from 'vue';
|
|
3
3
|
import { s as styleInject } from './style-inject.es-tgCJW-Cu.js';
|
|
4
4
|
|
|
5
5
|
var script = defineComponent({
|
|
@@ -28,52 +28,46 @@ var script = defineComponent({
|
|
|
28
28
|
}
|
|
29
29
|
},
|
|
30
30
|
setup: function setup(props, ctx) {
|
|
31
|
-
var
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
var minimumValue = ref((_props$minValue = props.minValue) !== null && _props$minValue !== void 0 ? _props$minValue : props.min);
|
|
39
|
-
var maximumValue = ref((_props$maxValue = props.maxValue) !== null && _props$maxValue !== void 0 ? _props$maxValue : props.max);
|
|
40
|
-
watch(function () {
|
|
41
|
-
return [props.minValue, props.maxValue];
|
|
42
|
-
}, function (_ref) {
|
|
43
|
-
var _ref2 = _slicedToArray(_ref, 2),
|
|
44
|
-
newMin = _ref2[0],
|
|
45
|
-
newMax = _ref2[1];
|
|
46
|
-
if (newMin != null) {
|
|
47
|
-
minimumValue.value = Math.min(Math.max(Number(newMin), props.min), maximumValue.value);
|
|
31
|
+
var minimumValue = computed({
|
|
32
|
+
get: function get() {
|
|
33
|
+
var _props$minValue;
|
|
34
|
+
return (_props$minValue = props.minValue) !== null && _props$minValue !== void 0 ? _props$minValue : props.min;
|
|
35
|
+
},
|
|
36
|
+
set: function set(state) {
|
|
37
|
+
return ctx.emit('update:minValue', state);
|
|
48
38
|
}
|
|
49
|
-
|
|
50
|
-
|
|
39
|
+
});
|
|
40
|
+
var maximumValue = computed({
|
|
41
|
+
get: function get() {
|
|
42
|
+
var _props$maxValue;
|
|
43
|
+
return (_props$maxValue = props.maxValue) !== null && _props$maxValue !== void 0 ? _props$maxValue : props.max;
|
|
44
|
+
},
|
|
45
|
+
set: function set(state) {
|
|
46
|
+
return ctx.emit('update:maxValue', state);
|
|
51
47
|
}
|
|
52
|
-
}, {
|
|
53
|
-
immediate: true
|
|
54
48
|
});
|
|
55
|
-
|
|
56
|
-
|
|
49
|
+
// stop the thumbs from pushing each other around
|
|
50
|
+
watch([function () {
|
|
51
|
+
return props.minValue;
|
|
57
52
|
}, function () {
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
minimumValue.value = low;
|
|
72
|
-
ctx.emit('update:minValue', low);
|
|
53
|
+
return props.maxValue;
|
|
54
|
+
}], function (_ref, _ref2) {
|
|
55
|
+
var _ref3 = _slicedToArray(_ref, 2),
|
|
56
|
+
newMin = _ref3[0],
|
|
57
|
+
newMax = _ref3[1];
|
|
58
|
+
var _ref4 = _slicedToArray(_ref2, 2),
|
|
59
|
+
oldMin = _ref4[0],
|
|
60
|
+
oldMax = _ref4[1];
|
|
61
|
+
if (newMin !== oldMin) {
|
|
62
|
+
if (newMin != null) {
|
|
63
|
+
minimumValue.value = Math.min(Math.max(Number(newMin), props.min), maximumValue.value);
|
|
64
|
+
}
|
|
65
|
+
return;
|
|
73
66
|
}
|
|
74
|
-
if (
|
|
75
|
-
|
|
76
|
-
|
|
67
|
+
if (newMax !== oldMax) {
|
|
68
|
+
if (newMax != null) {
|
|
69
|
+
maximumValue.value = Math.max(Math.min(Number(newMax), props.max), minimumValue.value);
|
|
70
|
+
}
|
|
77
71
|
}
|
|
78
72
|
}, {
|
|
79
73
|
immediate: true
|
|
@@ -87,32 +81,12 @@ var script = defineComponent({
|
|
|
87
81
|
var clippingPoint = computed(function () {
|
|
88
82
|
return maxPercentage.value - minPercentage.value >= 3;
|
|
89
83
|
});
|
|
90
|
-
var onChangeMinInput = function onChangeMinInput(event) {
|
|
91
|
-
var minInput = event.target;
|
|
92
|
-
var value = minInput.valueAsNumber;
|
|
93
|
-
var maxInput = maximumValue.value;
|
|
94
|
-
var clamped = Math.min(Math.max(value, props.min), maxInput);
|
|
95
|
-
minimumValue.value = clamped;
|
|
96
|
-
minInput.value = String(clamped);
|
|
97
|
-
ctx.emit('update:minValue', clamped);
|
|
98
|
-
};
|
|
99
|
-
var onChangeMaxInput = function onChangeMaxInput(event) {
|
|
100
|
-
var maxInput = event.target;
|
|
101
|
-
var value = maxInput.valueAsNumber;
|
|
102
|
-
var minInput = minimumValue.value;
|
|
103
|
-
var clamped = Math.max(Math.min(value, props.max), minInput);
|
|
104
|
-
maximumValue.value = clamped;
|
|
105
|
-
maxInput.value = String(clamped);
|
|
106
|
-
ctx.emit('update:maxValue', clamped);
|
|
107
|
-
};
|
|
108
84
|
return {
|
|
109
85
|
minimumValue: minimumValue,
|
|
110
86
|
maximumValue: maximumValue,
|
|
111
87
|
minPercentage: minPercentage,
|
|
112
88
|
maxPercentage: maxPercentage,
|
|
113
|
-
clippingPoint: clippingPoint
|
|
114
|
-
onChangeMinInput: onChangeMinInput,
|
|
115
|
-
onChangeMaxInput: onChangeMaxInput
|
|
89
|
+
clippingPoint: clippingPoint
|
|
116
90
|
};
|
|
117
91
|
}
|
|
118
92
|
});
|
|
@@ -121,59 +95,61 @@ var _hoisted_1 = {
|
|
|
121
95
|
ref: "slider",
|
|
122
96
|
"class": "relative py-3"
|
|
123
97
|
};
|
|
124
|
-
var _hoisted_2 = ["min", "max", "
|
|
125
|
-
var _hoisted_3 = ["min", "max", "
|
|
98
|
+
var _hoisted_2 = ["min", "max", "step"];
|
|
99
|
+
var _hoisted_3 = ["min", "max", "step"];
|
|
126
100
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
127
101
|
return openBlock(), createElementBlock("div", _hoisted_1, [createElementVNode("p", {
|
|
128
|
-
"class": "absolute -top-6 -translate-x-1/2 text-base text-
|
|
102
|
+
"class": "absolute -top-6 -translate-x-1/2 text-base text-[var(--colorButtonPrimary)] font-semibold",
|
|
129
103
|
style: normalizeStyle({
|
|
130
104
|
left: "".concat(_ctx.minPercentage, "%")
|
|
131
105
|
})
|
|
132
106
|
}, toDisplayString(_ctx.minimumValue) + "% ", 5), createElementVNode("p", {
|
|
133
|
-
"class":
|
|
107
|
+
"class": "absolute -top-6 -translate-x-1/2 text-base text-[var(--colorButtonPrimary)] font-semibold",
|
|
134
108
|
style: normalizeStyle({
|
|
135
109
|
left: "".concat(_ctx.maxPercentage, "%")
|
|
136
110
|
})
|
|
137
|
-
}, toDisplayString(_ctx.maximumValue) + "% ",
|
|
138
|
-
"class": "h-1.5 rounded-full bg-grey-base-light",
|
|
111
|
+
}, toDisplayString(_ctx.maximumValue) + "% ", 5), createElementVNode("div", {
|
|
112
|
+
"class": "h-1.5 rounded-full bg-grey-base-light [--fill:var(--colorButtonPrimary)]",
|
|
139
113
|
style: normalizeStyle({
|
|
140
|
-
background: "linear-gradient(to right,\n var(--track, #e5e7eb) 0%,\n var(--track, #e5e7eb) ".concat(_ctx.minPercentage, "%,\n var(--fill
|
|
114
|
+
background: "linear-gradient(to right,\n var(--track, #e5e7eb) 0%,\n var(--track, #e5e7eb) ".concat(_ctx.minPercentage, "%,\n var(--fill) ").concat(_ctx.minPercentage, "%,\n var(--fill) ").concat(_ctx.maxPercentage, "%,\n var(--track, #e5e7eb) ").concat(_ctx.maxPercentage, "%,\n var(--track, #e5e7eb) 100%)")
|
|
141
115
|
})
|
|
142
|
-
}, null, 4), createElementVNode("input", {
|
|
116
|
+
}, null, 4), withDirectives(createElementVNode("input", {
|
|
143
117
|
"class": "fw-slider absolute inset-0 w-full appearance-none bg-transparent pointer-events-none focus:outline-none",
|
|
144
118
|
type: "range",
|
|
145
119
|
name: "min",
|
|
146
120
|
id: "min",
|
|
121
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = function ($event) {
|
|
122
|
+
return _ctx.minimumValue = $event;
|
|
123
|
+
}),
|
|
147
124
|
min: _ctx.min,
|
|
148
125
|
max: _ctx.max,
|
|
149
|
-
value: _ctx.minimumValue,
|
|
150
126
|
step: _ctx.step,
|
|
151
|
-
onInput: _cache[0] || (_cache[0] = function ($event) {
|
|
152
|
-
return _ctx.onChangeMinInput($event);
|
|
153
|
-
}),
|
|
154
127
|
style: normalizeStyle({
|
|
155
128
|
zIndex: _ctx.clippingPoint ? 20 : 30
|
|
156
129
|
})
|
|
157
|
-
}, null,
|
|
130
|
+
}, null, 12, _hoisted_2), [[vModelText, _ctx.minimumValue, void 0, {
|
|
131
|
+
number: true
|
|
132
|
+
}]]), withDirectives(createElementVNode("input", {
|
|
158
133
|
"class": "fw-slider absolute inset-0 w-full appearance-none bg-transparent pointer-events-none focus:outline-none",
|
|
159
134
|
type: "range",
|
|
160
135
|
name: "max",
|
|
161
136
|
id: "max",
|
|
162
137
|
min: _ctx.min,
|
|
163
138
|
max: _ctx.max,
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
onInput: _cache[1] || (_cache[1] = function ($event) {
|
|
167
|
-
return _ctx.onChangeMaxInput($event);
|
|
139
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = function ($event) {
|
|
140
|
+
return _ctx.maximumValue = $event;
|
|
168
141
|
}),
|
|
142
|
+
step: _ctx.step,
|
|
169
143
|
style: normalizeStyle({
|
|
170
144
|
zIndex: _ctx.clippingPoint ? 30 : 20
|
|
171
145
|
})
|
|
172
|
-
}, null,
|
|
146
|
+
}, null, 12, _hoisted_3), [[vModelText, _ctx.maximumValue, void 0, {
|
|
147
|
+
number: true
|
|
148
|
+
}]])], 512);
|
|
173
149
|
}
|
|
174
150
|
|
|
175
|
-
var css_248z = ".fw-slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;background
|
|
176
|
-
var stylesheet = ".fw-slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;background
|
|
151
|
+
var css_248z = ".fw-slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;background:var(--colorButtonPrimary);border:2px solid var(--colorButtonPrimary);border-radius:9999px;-webkit-box-shadow:var(--tw-shadow);box-shadow:var(--tw-shadow);cursor:pointer;height:1.5rem;pointer-events:auto;width:1.5rem}.fw-slider::-moz-range-thumb{background:var(--colorButtonPrimary);border:2px solid var(--colorButtonPrimary);border-radius:9999px;box-shadow:var(--tw-shadow);cursor:pointer;height:1.5rem;pointer-events:auto;width:1.5rem}";
|
|
152
|
+
var stylesheet = ".fw-slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;background:var(--colorButtonPrimary);border:2px solid var(--colorButtonPrimary);border-radius:9999px;-webkit-box-shadow:var(--tw-shadow);box-shadow:var(--tw-shadow);cursor:pointer;height:1.5rem;pointer-events:auto;width:1.5rem}.fw-slider::-moz-range-thumb{background:var(--colorButtonPrimary);border:2px solid var(--colorButtonPrimary);border-radius:9999px;box-shadow:var(--tw-shadow);cursor:pointer;height:1.5rem;pointer-events:auto;width:1.5rem}";
|
|
177
153
|
styleInject(css_248z);
|
|
178
154
|
|
|
179
155
|
script.render = render;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { m as render$3, n as render$4, o as render$5, l as render$6 } from './index-
|
|
1
|
+
import { m as render$3, n as render$4, o as render$5, l as render$6 } from './index-Bohaw8xf.js';
|
|
2
2
|
import { defineComponent, computed, ref, onMounted, useCssVars, pushScopeId, popScopeId, resolveComponent, openBlock, createElementBlock, createElementVNode, mergeProps, renderSlot, createCommentVNode, Fragment, renderList, normalizeClass, withKeys, toDisplayString, createBlock, createVNode, withCtx } from 'vue';
|
|
3
3
|
import { u as useColours } from './get-root-colours-DYEoJPEb.js';
|
|
4
4
|
import { s as script$2 } from './fw-loading-bar-DThRjdw1.js';
|
|
5
|
-
import { s as script$3 } from './fw-button-
|
|
5
|
+
import { s as script$3 } from './fw-button-ROl6WHys.js';
|
|
6
6
|
import { s as styleInject } from './style-inject.es-tgCJW-Cu.js';
|
|
7
7
|
|
|
8
8
|
var __default__ = defineComponent({
|
|
@@ -94,10 +94,17 @@ var __default__ = defineComponent({
|
|
|
94
94
|
return props.items;
|
|
95
95
|
}
|
|
96
96
|
var data = props.items;
|
|
97
|
-
|
|
98
|
-
var
|
|
99
|
-
|
|
100
|
-
|
|
97
|
+
if (props.options) {
|
|
98
|
+
var customSort = props.options[sortBy.value].sort;
|
|
99
|
+
if (customSort) {
|
|
100
|
+
return customSort(data, sortBy.value, sortDirection.value);
|
|
101
|
+
}
|
|
102
|
+
} else {
|
|
103
|
+
data.sort(function (a, b) {
|
|
104
|
+
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;
|
|
105
|
+
return sortDirection.value === 'asc' ? sortVal : -sortVal;
|
|
106
|
+
});
|
|
107
|
+
}
|
|
101
108
|
return data;
|
|
102
109
|
});
|
|
103
110
|
var formattedText = function formattedText(row, column) {
|
|
@@ -176,7 +183,7 @@ var __default__ = defineComponent({
|
|
|
176
183
|
var __injectCSSVars__ = function __injectCSSVars__() {
|
|
177
184
|
useCssVars(function (_ctx) {
|
|
178
185
|
return {
|
|
179
|
-
"
|
|
186
|
+
"7a48f11c": _ctx.bgHoverColor
|
|
180
187
|
};
|
|
181
188
|
});
|
|
182
189
|
};
|
|
@@ -187,7 +194,7 @@ __default__.setup = __setup__ ? function (props, ctx) {
|
|
|
187
194
|
} : __injectCSSVars__;
|
|
188
195
|
|
|
189
196
|
var _withScopeId = function _withScopeId(n) {
|
|
190
|
-
return pushScopeId("data-v-
|
|
197
|
+
return pushScopeId("data-v-1a900878"), n = n(), popScopeId(), n;
|
|
191
198
|
};
|
|
192
199
|
var _hoisted_1$2 = {
|
|
193
200
|
"class": "flex flex-col"
|
|
@@ -337,12 +344,12 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
337
344
|
}, 8, ["disabled"])])) : createCommentVNode("", true)]);
|
|
338
345
|
}
|
|
339
346
|
|
|
340
|
-
var css_248z = ".fw-table-head--sortable[data-v-
|
|
341
|
-
var stylesheet = ".fw-table-head--sortable[data-v-
|
|
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)}";
|
|
342
349
|
styleInject(css_248z);
|
|
343
350
|
|
|
344
351
|
__default__.render = render$2;
|
|
345
|
-
__default__.__scopeId = "data-v-
|
|
352
|
+
__default__.__scopeId = "data-v-1a900878";
|
|
346
353
|
|
|
347
354
|
var script$1 = defineComponent({
|
|
348
355
|
name: 'FwTableHead'
|
package/esm/fw-table.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { _ as FwTable, s as FwTableHead, a as FwTableRow } from './fw-table-row-
|
|
2
|
-
import './index-
|
|
1
|
+
export { _ as FwTable, s as FwTableHead, a as FwTableRow } from './fw-table-row-xGa-LxFg.js';
|
|
2
|
+
import './index-Bohaw8xf.js';
|
|
3
3
|
import 'vue';
|
|
4
4
|
import './check--YD4Ts6g.js';
|
|
5
5
|
import './get-root-colours-DYEoJPEb.js';
|
|
6
6
|
import './fw-loading-bar-DThRjdw1.js';
|
|
7
7
|
import './style-inject.es-tgCJW-Cu.js';
|
|
8
|
-
import './fw-button-
|
|
9
|
-
import './fw-loading-spinner-
|
|
8
|
+
import './fw-button-ROl6WHys.js';
|
|
9
|
+
import './fw-loading-spinner-D6LtqOl7.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, useCssVars, resolveComponent, openBlock, createElementBlock, normalizeClass, Fragment, createTextVNode, toDisplayString, renderSlot, createCommentVNode, createBlock, withCtx, createVNode } from 'vue';
|
|
2
2
|
import './fw-button.js';
|
|
3
|
-
import { b as render$1 } from './index-
|
|
3
|
+
import { b as render$1 } from './index-Bohaw8xf.js';
|
|
4
4
|
import { u as useColours } from './get-root-colours-DYEoJPEb.js';
|
|
5
|
-
import { s as script } from './fw-button-
|
|
5
|
+
import { s as script } from './fw-button-ROl6WHys.js';
|
|
6
6
|
import { s as styleInject } from './style-inject.es-tgCJW-Cu.js';
|
|
7
7
|
|
|
8
8
|
var __default__ = defineComponent({
|
package/esm/fw-tag.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { _ as FwTag } from './fw-tag-
|
|
1
|
+
export { _ as FwTag } from './fw-tag-BmPSSwWP.js';
|
|
2
2
|
import 'vue';
|
|
3
3
|
import './fw-button.js';
|
|
4
|
-
import './fw-button-
|
|
5
|
-
import './fw-loading-spinner-
|
|
6
|
-
import './index-
|
|
4
|
+
import './fw-button-ROl6WHys.js';
|
|
5
|
+
import './fw-loading-spinner-D6LtqOl7.js';
|
|
6
|
+
import './index-Bohaw8xf.js';
|
|
7
7
|
import './check--YD4Ts6g.js';
|
|
8
8
|
import './style-inject.es-tgCJW-Cu.js';
|
|
9
9
|
import './get-root-colours-DYEoJPEb.js';
|
package/esm/fw-toast.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, onMounted, watchEffect, openBlock, createElementBlock, Fragment, createBlock, Teleport, createVNode, TransitionGroup, createCommentVNode, Transition, withCtx, normalizeClass, createElementVNode, resolveDynamicComponent, renderSlot } from 'vue';
|
|
2
2
|
import { u as uniqueId } from './uniqueId-DK6xzFd8.js';
|
|
3
|
-
import { i as render$1, j as render$2, p as render$3 } from './index-
|
|
3
|
+
import { i as render$1, j as render$2, p as render$3 } from './index-Bohaw8xf.js';
|
|
4
4
|
import { s as styleInject } from './style-inject.es-tgCJW-Cu.js';
|
|
5
5
|
import './check--YD4Ts6g.js';
|
|
6
6
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent, createElementVNode, resolveComponent, openBlock, createBlock, withCtx, createCommentVNode, toDisplayString, createElementBlock } from 'vue';
|
|
2
2
|
import { s as script$1 } from './fw-card-bsYbpPmW.js';
|
|
3
|
-
import { s as script$2 } from './fw-image-
|
|
3
|
+
import { s as script$2 } from './fw-image-DAJmf7z4.js';
|
|
4
4
|
import './fw-loading-bar-DThRjdw1.js';
|
|
5
5
|
import './style-inject.es-tgCJW-Cu.js';
|
|
6
|
-
import './index-
|
|
6
|
+
import './index-Bohaw8xf.js';
|
|
7
7
|
import './check--YD4Ts6g.js';
|
|
8
8
|
|
|
9
9
|
var script = defineComponent({
|