@frollo/frollo-web-ui 6.0.0 → 6.0.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 +282 -257
- package/esm/{add-to-unscopables-31609885.js → add-to-unscopables-cfb87985.js} +2 -2
- package/esm/{array-iteration-ec356eb3.js → array-iteration-2181d2bd.js} +2 -2
- package/esm/{array-method-has-species-support-8a4b1310.js → array-method-has-species-support-dfbd0c7f.js} +1 -1
- package/esm/{array-method-is-strict-fc2e0d8d.js → array-method-is-strict-7dac83d7.js} +1 -1
- package/esm/{array-species-create-b125f4a4.js → array-species-create-ff1f78e1.js} +2 -2
- package/esm/{classof-ee4b3b5b.js → classof-7ba4c6c3.js} +1 -1
- package/esm/{create-property-c70ecc08.js → create-property-1bf185fa.js} +1 -1
- package/esm/{does-not-exceed-safe-integer-8e0042ec.js → does-not-exceed-safe-integer-b66f7ee2.js} +1 -1
- package/esm/{es.array.concat-fe990345.js → es.array.concat-d9281ad1.js} +6 -6
- package/esm/es.array.find-ee91a966.js +28 -0
- package/esm/{es.array.includes-a06445a5.js → es.array.includes-d57031df.js} +3 -3
- package/esm/es.array.map-582a2b69.js +22 -0
- package/esm/{es.date.to-string-1ffba857.js → es.date.to-string-dc67483a.js} +1 -1
- package/esm/{es.function.name-6daefaeb.js → es.function.name-14d69869.js} +1 -1
- package/esm/{es.number.constructor-98bae04f.js → es.number.constructor-bed13ae4.js} +2 -2
- package/esm/es.object.to-string-31ad45ad.js +24 -0
- package/esm/{es.string.includes-ade04f96.js → es.string.includes-01e4d90f.js} +3 -3
- package/esm/{es.string.iterator-0992bb28.js → es.string.iterator-27b735a3.js} +8 -8
- package/esm/{export-8a363004.js → export-44690f0d.js} +1 -1
- package/esm/{function-apply-b908d7e6.js → function-apply-5580128b.js} +1 -1
- package/esm/fw-animations.js +3 -3
- package/esm/fw-bar-chart.js +16 -17
- package/esm/{fw-button-b00853dd.js → fw-button-cbaedd16.js} +1 -1
- package/esm/fw-button.js +6 -7
- package/esm/fw-checkbox.js +9 -9
- package/esm/fw-date-picker.js +22 -21
- package/esm/fw-drawer.js +6 -7
- package/esm/{fw-dropdown-1c89f793.js → fw-dropdown-3f1ae8ee.js} +3 -2
- package/esm/fw-dropdown.js +11 -11
- package/esm/{fw-image-af8c5745.js → fw-image-9c1032f2.js} +10 -9
- package/esm/fw-image.js +17 -17
- package/esm/{fw-input-46dd3134.js → fw-input-8fa201f7.js} +4 -4
- package/esm/fw-input.js +14 -15
- package/esm/fw-loading.js +3 -3
- package/esm/fw-modal.js +6 -7
- package/esm/fw-navigation-menu.js +6 -7
- package/esm/fw-popover.js +7 -8
- package/esm/fw-progress-bar.js +3 -3
- package/esm/fw-provider-list.js +60 -128
- package/esm/fw-sidebar-menu.js +6 -7
- package/esm/{fw-table-row-1050a386.js → fw-table-row-cfbd796c.js} +113 -18
- package/esm/fw-table.js +11 -9
- package/esm/fw-tabs.js +9 -10
- package/esm/{fw-tag-fdcaf92c.js → fw-tag-749b4fc6.js} +2 -2
- package/esm/fw-tag.js +7 -8
- package/esm/fw-toast.js +15 -16
- package/esm/fw-transactions-card.js +17 -17
- package/esm/{index-be5b4afa.js → index-95659c75.js} +13 -13
- package/esm/index.js +38 -38
- package/esm/{is-forced-fc680e39.js → is-forced-b8806e4b.js} +1 -1
- package/esm/{object-create-bc771493.js → object-create-200e3764.js} +13 -4
- package/esm/regexp-flags-8d5e20e1.js +50 -0
- package/esm/{web.timers-c5316125.js → web.timers-991ce9a8.js} +3 -3
- package/frollo-web-ui.esm.js +300 -275
- package/index.d.ts +41 -9
- package/package.json +1 -1
- package/types/components/fw-provider-list/fw-provider-list.vue.d.ts +41 -9
- package/web-components/index.js +300 -275
- package/esm/delete-property-or-throw-cd4c57d6.js +0 -31
- package/esm/es.array.find-67b3b514.js +0 -51
- package/esm/es.array.map-ae6c9437.js +0 -43
- package/esm/object-keys-17f3b440.js +0 -13
package/esm/fw-loading.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { s as script$2 } from './fw-loading-bar-f5ca605c.js';
|
|
2
2
|
export { s as FwLoadingBar } from './fw-loading-bar-f5ca605c.js';
|
|
3
3
|
import { defineComponent, resolveComponent, openBlock, createElementBlock, createElementVNode, createVNode, normalizeClass, normalizeStyle, Fragment, renderList } from 'vue';
|
|
4
|
-
import './es.number.constructor-
|
|
4
|
+
import './es.number.constructor-bed13ae4.js';
|
|
5
5
|
import './style-inject.es-1f59c1d0.js';
|
|
6
|
-
import './is-forced-
|
|
7
|
-
import './classof-
|
|
6
|
+
import './is-forced-b8806e4b.js';
|
|
7
|
+
import './classof-7ba4c6c3.js';
|
|
8
8
|
|
|
9
9
|
var script$1 = defineComponent({
|
|
10
10
|
name: 'FwLoadingCard',
|
package/esm/fw-modal.js
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import './es.array.includes-
|
|
1
|
+
import './es.array.includes-d57031df.js';
|
|
2
2
|
import { defineComponent, ref, computed, onMounted, resolveComponent, openBlock, createBlock, Teleport, createVNode, Transition, withCtx, createElementBlock, createElementVNode, renderSlot, createCommentVNode, createTextVNode, toDisplayString } from 'vue';
|
|
3
|
-
import { s as script$1 } from './fw-button-
|
|
3
|
+
import { s as script$1 } from './fw-button-cbaedd16.js';
|
|
4
4
|
import { u as uniqueId } from './uniqueId-fe08534a.js';
|
|
5
5
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
6
|
-
import './is-forced-
|
|
7
|
-
import './export-
|
|
8
|
-
import './add-to-unscopables-
|
|
9
|
-
import './object-create-
|
|
10
|
-
import './object-keys-17f3b440.js';
|
|
6
|
+
import './is-forced-b8806e4b.js';
|
|
7
|
+
import './export-44690f0d.js';
|
|
8
|
+
import './add-to-unscopables-cfb87985.js';
|
|
9
|
+
import './object-create-200e3764.js';
|
|
11
10
|
import './fw-loading-spinner-72d70258.js';
|
|
12
11
|
import './index-bced3b35.js';
|
|
13
12
|
import './check-94a5917a.js';
|
|
@@ -1,12 +1,11 @@
|
|
|
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-cbaedd16.js';
|
|
3
3
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
4
|
-
import './es.array.includes-
|
|
5
|
-
import './is-forced-
|
|
6
|
-
import './export-
|
|
7
|
-
import './add-to-unscopables-
|
|
8
|
-
import './object-create-
|
|
9
|
-
import './object-keys-17f3b440.js';
|
|
4
|
+
import './es.array.includes-d57031df.js';
|
|
5
|
+
import './is-forced-b8806e4b.js';
|
|
6
|
+
import './export-44690f0d.js';
|
|
7
|
+
import './add-to-unscopables-cfb87985.js';
|
|
8
|
+
import './object-create-200e3764.js';
|
|
10
9
|
import './fw-loading-spinner-72d70258.js';
|
|
11
10
|
import './index-bced3b35.js';
|
|
12
11
|
import './check-94a5917a.js';
|
package/esm/fw-popover.js
CHANGED
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
import { a as _typeof, _ as _defineProperty } from './defineProperty-b85f2e0f.js';
|
|
2
|
-
import './es.array.includes-
|
|
3
|
-
import './web.timers-
|
|
2
|
+
import './es.array.includes-d57031df.js';
|
|
3
|
+
import './web.timers-991ce9a8.js';
|
|
4
4
|
import { defineComponent, ref, computed, watchEffect, onBeforeUnmount, onMounted, onUpdated, useCssVars, pushScopeId, popScopeId, openBlock, createElementBlock, normalizeClass, createElementVNode, renderSlot, createTextVNode, toDisplayString, createCommentVNode } from 'vue';
|
|
5
5
|
import { c as createPopper } from './index-0c5cae4f.js';
|
|
6
6
|
import { u as uniqueId } from './uniqueId-fe08534a.js';
|
|
7
7
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
8
|
-
import './is-forced-
|
|
9
|
-
import './export-
|
|
10
|
-
import './add-to-unscopables-
|
|
11
|
-
import './object-create-
|
|
12
|
-
import './
|
|
13
|
-
import './function-apply-b908d7e6.js';
|
|
8
|
+
import './is-forced-b8806e4b.js';
|
|
9
|
+
import './export-44690f0d.js';
|
|
10
|
+
import './add-to-unscopables-cfb87985.js';
|
|
11
|
+
import './object-create-200e3764.js';
|
|
12
|
+
import './function-apply-5580128b.js';
|
|
14
13
|
|
|
15
14
|
function _regeneratorRuntime() {
|
|
16
15
|
"use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
package/esm/fw-progress-bar.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import './es.number.constructor-
|
|
1
|
+
import './es.number.constructor-bed13ae4.js';
|
|
2
2
|
import { defineComponent, resolveComponent, openBlock, createElementBlock, createElementVNode, Fragment, renderList, normalizeClass, createBlock, toDisplayString, normalizeStyle, createCommentVNode } from 'vue';
|
|
3
3
|
import { r as render$1 } from './check-94a5917a.js';
|
|
4
|
-
import './is-forced-
|
|
5
|
-
import './classof-
|
|
4
|
+
import './is-forced-b8806e4b.js';
|
|
5
|
+
import './classof-7ba4c6c3.js';
|
|
6
6
|
|
|
7
7
|
var script = defineComponent({
|
|
8
8
|
name: 'FwProgressBar',
|
package/esm/fw-provider-list.js
CHANGED
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import { _ as _defineProperty } from './defineProperty-b85f2e0f.js';
|
|
2
|
-
import './
|
|
3
|
-
import
|
|
4
|
-
import { _ as _export } from './export-
|
|
5
|
-
import { a as arrayIteration } from './array-iteration-
|
|
6
|
-
import { a as arrayMethodHasSpeciesSupport$1 } from './array-method-has-species-support-
|
|
7
|
-
import './es.
|
|
8
|
-
import './es.array.includes-
|
|
9
|
-
import './es.string.includes-
|
|
10
|
-
import {
|
|
11
|
-
import
|
|
12
|
-
import './es.
|
|
13
|
-
import
|
|
14
|
-
import './es.
|
|
15
|
-
import './es.array.concat-fe990345.js';
|
|
16
|
-
import { _ as __default__, s as script$4, a as script$5 } from './fw-table-row-1050a386.js';
|
|
2
|
+
import './regexp-flags-8d5e20e1.js';
|
|
3
|
+
import './is-forced-b8806e4b.js';
|
|
4
|
+
import { _ as _export } from './export-44690f0d.js';
|
|
5
|
+
import { a as arrayIteration } from './array-iteration-2181d2bd.js';
|
|
6
|
+
import { a as arrayMethodHasSpeciesSupport$1 } from './array-method-has-species-support-dfbd0c7f.js';
|
|
7
|
+
import './es.object.to-string-31ad45ad.js';
|
|
8
|
+
import './es.array.includes-d57031df.js';
|
|
9
|
+
import './es.string.includes-01e4d90f.js';
|
|
10
|
+
import { _ as __default__, s as script$4, a as script$5 } from './fw-table-row-cfbd796c.js';
|
|
11
|
+
import './es.date.to-string-dc67483a.js';
|
|
12
|
+
import './es.function.name-14d69869.js';
|
|
13
|
+
import './es.array.map-582a2b69.js';
|
|
14
|
+
import './es.array.concat-d9281ad1.js';
|
|
17
15
|
import { defineComponent, ref, computed, createTextVNode, createElementVNode, resolveComponent, openBlock, createElementBlock, toDisplayString, createVNode, withCtx, createBlock, createCommentVNode } from 'vue';
|
|
18
|
-
import { s as script$1 } from './fw-input-
|
|
19
|
-
import { _ as __default__$1 } from './fw-tag-
|
|
20
|
-
import { s as script$3 } from './fw-button-
|
|
21
|
-
import { s as script$2 } from './fw-dropdown-
|
|
16
|
+
import { s as script$1 } from './fw-input-8fa201f7.js';
|
|
17
|
+
import { _ as __default__$1 } from './fw-tag-749b4fc6.js';
|
|
18
|
+
import { s as script$3 } from './fw-button-cbaedd16.js';
|
|
19
|
+
import { s as script$2 } from './fw-dropdown-3f1ae8ee.js';
|
|
22
20
|
import { f as render$1, g as render$2, i as render$3 } from './index-bced3b35.js';
|
|
23
21
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
24
|
-
import './object-
|
|
25
|
-
import './array-species-create-
|
|
26
|
-
import './classof-
|
|
27
|
-
import './add-to-unscopables-
|
|
28
|
-
import './
|
|
29
|
-
import './create-property-
|
|
30
|
-
import './array-method-is-strict-
|
|
22
|
+
import './object-create-200e3764.js';
|
|
23
|
+
import './array-species-create-ff1f78e1.js';
|
|
24
|
+
import './classof-7ba4c6c3.js';
|
|
25
|
+
import './add-to-unscopables-cfb87985.js';
|
|
26
|
+
import './es.number.constructor-bed13ae4.js';
|
|
27
|
+
import './create-property-1bf185fa.js';
|
|
28
|
+
import './array-method-is-strict-7dac83d7.js';
|
|
31
29
|
import './get-root-colours-865a52ba.js';
|
|
32
30
|
import './fw-loading-bar-f5ca605c.js';
|
|
31
|
+
import './does-not-exceed-safe-integer-b66f7ee2.js';
|
|
33
32
|
import './vee-validate.esm-a17a23c3.js';
|
|
34
33
|
import './uniqueId-fe08534a.js';
|
|
35
34
|
import './fw-button.js';
|
|
36
35
|
import './fw-loading-spinner-72d70258.js';
|
|
36
|
+
import './es.array.find-ee91a966.js';
|
|
37
37
|
import './check-94a5917a.js';
|
|
38
38
|
|
|
39
39
|
var es_array_filter = {};
|
|
@@ -54,100 +54,13 @@ $({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {
|
|
|
54
54
|
}
|
|
55
55
|
});
|
|
56
56
|
|
|
57
|
-
var es_error_toString = {};
|
|
58
|
-
|
|
59
|
-
var toString = toString$1;
|
|
60
|
-
|
|
61
|
-
var normalizeStringArgument$1 = function (argument, $default) {
|
|
62
|
-
return argument === undefined ? arguments.length < 2 ? '' : $default : toString(argument);
|
|
63
|
-
};
|
|
64
|
-
|
|
65
|
-
'use strict';
|
|
66
|
-
var DESCRIPTORS = descriptors;
|
|
67
|
-
var fails$1 = fails$2;
|
|
68
|
-
var anObject$1 = anObject$2;
|
|
69
|
-
var create = objectCreate;
|
|
70
|
-
var normalizeStringArgument = normalizeStringArgument$1;
|
|
71
|
-
|
|
72
|
-
var nativeErrorToString = Error.prototype.toString;
|
|
73
|
-
|
|
74
|
-
var INCORRECT_TO_STRING = fails$1(function () {
|
|
75
|
-
if (DESCRIPTORS) {
|
|
76
|
-
// Chrome 32- incorrectly call accessor
|
|
77
|
-
// eslint-disable-next-line es-x/no-object-defineproperty -- safe
|
|
78
|
-
var object = create(Object.defineProperty({}, 'name', { get: function () {
|
|
79
|
-
return this === object;
|
|
80
|
-
} }));
|
|
81
|
-
if (nativeErrorToString.call(object) !== 'true') return true;
|
|
82
|
-
}
|
|
83
|
-
// FF10- does not properly handle non-strings
|
|
84
|
-
return nativeErrorToString.call({ message: 1, name: 2 }) !== '2: 1'
|
|
85
|
-
// IE8 does not properly handle defaults
|
|
86
|
-
|| nativeErrorToString.call({}) !== 'Error';
|
|
87
|
-
});
|
|
88
|
-
|
|
89
|
-
var errorToString$1 = INCORRECT_TO_STRING ? function toString() {
|
|
90
|
-
var O = anObject$1(this);
|
|
91
|
-
var name = normalizeStringArgument(O.name, 'Error');
|
|
92
|
-
var message = normalizeStringArgument(O.message);
|
|
93
|
-
return !name ? message : !message ? name : name + ': ' + message;
|
|
94
|
-
} : nativeErrorToString;
|
|
95
|
-
|
|
96
|
-
var defineBuiltIn$1 = defineBuiltIn$2;
|
|
97
|
-
var errorToString = errorToString$1;
|
|
98
|
-
|
|
99
|
-
var ErrorPrototype = Error.prototype;
|
|
100
|
-
|
|
101
|
-
// `Error.prototype.toString` method fix
|
|
102
|
-
// https://tc39.es/ecma262/#sec-error.prototype.tostring
|
|
103
|
-
if (ErrorPrototype.toString !== errorToString) {
|
|
104
|
-
defineBuiltIn$1(ErrorPrototype, 'toString', errorToString);
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
var es_regexp_toString = {};
|
|
108
|
-
|
|
109
|
-
var call = functionCall;
|
|
110
|
-
var hasOwn = hasOwnProperty_1;
|
|
111
|
-
var isPrototypeOf = objectIsPrototypeOf;
|
|
112
|
-
var regExpFlags = regexpFlags;
|
|
113
|
-
|
|
114
|
-
var RegExpPrototype$1 = RegExp.prototype;
|
|
115
|
-
|
|
116
|
-
var regexpGetFlags = function (R) {
|
|
117
|
-
var flags = R.flags;
|
|
118
|
-
return flags === undefined && !('flags' in RegExpPrototype$1) && !hasOwn(R, 'flags') && isPrototypeOf(RegExpPrototype$1, R)
|
|
119
|
-
? call(regExpFlags, R) : flags;
|
|
120
|
-
};
|
|
121
|
-
|
|
122
|
-
'use strict';
|
|
123
|
-
var PROPER_FUNCTION_NAME = functionName.PROPER;
|
|
124
|
-
var defineBuiltIn = defineBuiltIn$2;
|
|
125
|
-
var anObject = anObject$2;
|
|
126
|
-
var $toString = toString$1;
|
|
127
|
-
var fails = fails$2;
|
|
128
|
-
var getRegExpFlags = regexpGetFlags;
|
|
129
|
-
|
|
130
|
-
var TO_STRING = 'toString';
|
|
131
|
-
var RegExpPrototype = RegExp.prototype;
|
|
132
|
-
var n$ToString = RegExpPrototype[TO_STRING];
|
|
133
|
-
|
|
134
|
-
var NOT_GENERIC = fails(function () { return n$ToString.call({ source: 'a', flags: 'b' }) != '/a/b'; });
|
|
135
|
-
// FF44- RegExp#toString has a wrong name
|
|
136
|
-
var INCORRECT_NAME = PROPER_FUNCTION_NAME && n$ToString.name != TO_STRING;
|
|
137
|
-
|
|
138
|
-
// `RegExp.prototype.toString` method
|
|
139
|
-
// https://tc39.es/ecma262/#sec-regexp.prototype.tostring
|
|
140
|
-
if (NOT_GENERIC || INCORRECT_NAME) {
|
|
141
|
-
defineBuiltIn(RegExp.prototype, TO_STRING, function toString() {
|
|
142
|
-
var R = anObject(this);
|
|
143
|
-
var pattern = $toString(R.source);
|
|
144
|
-
var flags = $toString(getRegExpFlags(R));
|
|
145
|
-
return '/' + pattern + '/' + flags;
|
|
146
|
-
}, { unsafe: true });
|
|
147
|
-
}
|
|
148
|
-
|
|
149
57
|
var script = defineComponent({
|
|
150
58
|
name: 'FwProviderList',
|
|
59
|
+
emits: [
|
|
60
|
+
/**
|
|
61
|
+
* Emits the number of filtered items the user sees.
|
|
62
|
+
*/
|
|
63
|
+
'changed'],
|
|
151
64
|
components: {
|
|
152
65
|
FwTable: __default__,
|
|
153
66
|
FwInput: script$1,
|
|
@@ -175,21 +88,35 @@ var script = defineComponent({
|
|
|
175
88
|
required: true
|
|
176
89
|
},
|
|
177
90
|
/**
|
|
178
|
-
* The
|
|
91
|
+
* The table header title.
|
|
92
|
+
*/
|
|
93
|
+
tableHeaderName: {
|
|
94
|
+
type: String,
|
|
95
|
+
"default": 'Name'
|
|
96
|
+
},
|
|
97
|
+
/**
|
|
98
|
+
* The placeholder text for the search input.
|
|
179
99
|
*/
|
|
180
100
|
searchPlaceholder: {
|
|
181
101
|
type: String,
|
|
182
102
|
"default": 'Search'
|
|
183
103
|
},
|
|
184
104
|
/**
|
|
185
|
-
* The
|
|
105
|
+
* The label text for the search input.
|
|
186
106
|
*/
|
|
187
|
-
|
|
107
|
+
searchLabel: {
|
|
188
108
|
type: String,
|
|
189
|
-
"default": '
|
|
109
|
+
"default": 'Search by provider name'
|
|
110
|
+
},
|
|
111
|
+
/**
|
|
112
|
+
* The label text for the status filter dropdown.
|
|
113
|
+
*/
|
|
114
|
+
statusFilterLabel: {
|
|
115
|
+
type: String,
|
|
116
|
+
"default": 'Filter by status'
|
|
190
117
|
}
|
|
191
118
|
},
|
|
192
|
-
setup: function setup(props) {
|
|
119
|
+
setup: function setup(props, ctx) {
|
|
193
120
|
var _options;
|
|
194
121
|
var searchFilterModel = ref('');
|
|
195
122
|
var statusFilterModel = ref('all');
|
|
@@ -228,12 +155,15 @@ var script = defineComponent({
|
|
|
228
155
|
});
|
|
229
156
|
var sortedTableItems = computed(function () {
|
|
230
157
|
var tempItems = tableItems.value;
|
|
231
|
-
|
|
232
|
-
|
|
158
|
+
var sortedItems = tempItems.sort(function (item1, item2) {
|
|
159
|
+
var _item1$name, _item2$name;
|
|
160
|
+
if (item1.status === 'outage') {
|
|
233
161
|
return -1;
|
|
234
162
|
}
|
|
235
|
-
return
|
|
163
|
+
return (_item1$name = item1.name) === null || _item1$name === void 0 ? void 0 : _item1$name.toString().toLowerCase().localeCompare((_item2$name = item2.name) === null || _item2$name === void 0 ? void 0 : _item2$name.toString().toLowerCase());
|
|
236
164
|
});
|
|
165
|
+
ctx.emit('changed', sortedItems.length);
|
|
166
|
+
return sortedItems;
|
|
237
167
|
});
|
|
238
168
|
return {
|
|
239
169
|
options: options,
|
|
@@ -291,6 +221,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
291
221
|
"class": "rounded-full w-full",
|
|
292
222
|
type: "text",
|
|
293
223
|
rounded: "",
|
|
224
|
+
label: _ctx.searchLabel,
|
|
294
225
|
"enable-errors": false,
|
|
295
226
|
placeholder: _ctx.searchPlaceholder
|
|
296
227
|
}, {
|
|
@@ -317,7 +248,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
317
248
|
})) : createCommentVNode("", true)];
|
|
318
249
|
}),
|
|
319
250
|
_: 1
|
|
320
|
-
}, 8, ["modelValue", "placeholder"]), createVNode(_component_FwDropdown, {
|
|
251
|
+
}, 8, ["modelValue", "label", "placeholder"]), createVNode(_component_FwDropdown, {
|
|
321
252
|
"class": "w-full",
|
|
322
253
|
name: "fw-provider-list--status-dropdown",
|
|
323
254
|
modelValue: _ctx.statusFilterModel,
|
|
@@ -325,6 +256,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
325
256
|
return _ctx.statusFilterModel = $event;
|
|
326
257
|
}),
|
|
327
258
|
"enable-errors": false,
|
|
259
|
+
label: _ctx.statusFilterLabel,
|
|
328
260
|
options: [{
|
|
329
261
|
label: 'All statuses',
|
|
330
262
|
value: 'all'
|
|
@@ -335,7 +267,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
335
267
|
label: 'Available',
|
|
336
268
|
value: 'supported'
|
|
337
269
|
}]
|
|
338
|
-
}, null, 8, ["modelValue"])])]), _ctx.sortedTableItems && _ctx.sortedTableItems.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_5, [createVNode(_component_FwTable, {
|
|
270
|
+
}, null, 8, ["modelValue", "label"])])]), _ctx.sortedTableItems && _ctx.sortedTableItems.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_5, [createVNode(_component_FwTable, {
|
|
339
271
|
"class": "w-full min-w-max bg-grey-20",
|
|
340
272
|
items: _ctx.sortedTableItems,
|
|
341
273
|
options: _ctx.options
|
package/esm/fw-sidebar-menu.js
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { defineComponent, ref, resolveComponent, openBlock, createElementBlock, normalizeClass, createVNode, withCtx, Transition, renderSlot, createCommentVNode, createElementVNode, Fragment, renderList, createBlock, createTextVNode, toDisplayString } from 'vue';
|
|
2
|
-
import { s as script$1 } from './fw-button-
|
|
2
|
+
import { s as script$1 } from './fw-button-cbaedd16.js';
|
|
3
3
|
import { h as render$1 } from './index-bced3b35.js';
|
|
4
4
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
5
|
-
import './es.array.includes-
|
|
6
|
-
import './is-forced-
|
|
7
|
-
import './export-
|
|
8
|
-
import './add-to-unscopables-
|
|
9
|
-
import './object-create-
|
|
10
|
-
import './object-keys-17f3b440.js';
|
|
5
|
+
import './es.array.includes-d57031df.js';
|
|
6
|
+
import './is-forced-b8806e4b.js';
|
|
7
|
+
import './export-44690f0d.js';
|
|
8
|
+
import './add-to-unscopables-cfb87985.js';
|
|
9
|
+
import './object-create-200e3764.js';
|
|
11
10
|
import './fw-loading-spinner-72d70258.js';
|
|
12
11
|
import './check-94a5917a.js';
|
|
13
12
|
|
|
@@ -1,9 +1,12 @@
|
|
|
1
|
-
import { t as toString$
|
|
2
|
-
import { d as deletePropertyOrThrow$1 } from './
|
|
3
|
-
import { i as toAbsoluteIndex$1, l as lengthOfArrayLike$2, j as engineUserAgent, f as functionUncurryThis, k as aCallable$1, e as toObject$1, h as fails$
|
|
4
|
-
import { _ as _export } from './export-
|
|
5
|
-
import { c as createProperty$1 } from './create-property-
|
|
6
|
-
import { a as arrayMethodIsStrict$1 } from './array-method-is-strict-
|
|
1
|
+
import { t as toString$2 } from './es.number.constructor-bed13ae4.js';
|
|
2
|
+
import { d as deletePropertyOrThrow$1, r as regexpFlags } from './regexp-flags-8d5e20e1.js';
|
|
3
|
+
import { i as toAbsoluteIndex$1, l as lengthOfArrayLike$2, j as engineUserAgent, f as functionUncurryThis, k as aCallable$1, e as toObject$1, h as fails$3, m as engineV8Version, d as descriptors, n as anObject$2, b as defineBuiltIn$2, p as functionCall, q as hasOwnProperty_1, r as objectIsPrototypeOf, s as functionName } from './is-forced-b8806e4b.js';
|
|
4
|
+
import { _ as _export } from './export-44690f0d.js';
|
|
5
|
+
import { c as createProperty$1 } from './create-property-1bf185fa.js';
|
|
6
|
+
import { a as arrayMethodIsStrict$1 } from './array-method-is-strict-7dac83d7.js';
|
|
7
|
+
import { a as objectCreate } from './object-create-200e3764.js';
|
|
8
|
+
import './es.date.to-string-dc67483a.js';
|
|
9
|
+
import './es.object.to-string-31ad45ad.js';
|
|
7
10
|
import { d as render$3, e as render$4 } from './index-bced3b35.js';
|
|
8
11
|
import { defineComponent, computed, ref, onMounted, useCssVars, pushScopeId, popScopeId, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, renderSlot, createCommentVNode, Fragment, renderList, withKeys, toDisplayString, createBlock, createVNode } from 'vue';
|
|
9
12
|
import { u as useColours } from './get-root-colours-865a52ba.js';
|
|
@@ -97,8 +100,8 @@ var aCallable = aCallable$1;
|
|
|
97
100
|
var toObject = toObject$1;
|
|
98
101
|
var lengthOfArrayLike = lengthOfArrayLike$2;
|
|
99
102
|
var deletePropertyOrThrow = deletePropertyOrThrow$1;
|
|
100
|
-
var toString = toString$
|
|
101
|
-
var fails = fails$
|
|
103
|
+
var toString$1 = toString$2;
|
|
104
|
+
var fails$2 = fails$3;
|
|
102
105
|
var internalSort = arraySort;
|
|
103
106
|
var arrayMethodIsStrict = arrayMethodIsStrict$1;
|
|
104
107
|
var FF = engineFfVersion;
|
|
@@ -111,17 +114,17 @@ var un$Sort = uncurryThis(test.sort);
|
|
|
111
114
|
var push = uncurryThis(test.push);
|
|
112
115
|
|
|
113
116
|
// IE8-
|
|
114
|
-
var FAILS_ON_UNDEFINED = fails(function () {
|
|
117
|
+
var FAILS_ON_UNDEFINED = fails$2(function () {
|
|
115
118
|
test.sort(undefined);
|
|
116
119
|
});
|
|
117
120
|
// V8 bug
|
|
118
|
-
var FAILS_ON_NULL = fails(function () {
|
|
121
|
+
var FAILS_ON_NULL = fails$2(function () {
|
|
119
122
|
test.sort(null);
|
|
120
123
|
});
|
|
121
124
|
// Old WebKit
|
|
122
125
|
var STRICT_METHOD = arrayMethodIsStrict('sort');
|
|
123
126
|
|
|
124
|
-
var STABLE_SORT = !fails(function () {
|
|
127
|
+
var STABLE_SORT = !fails$2(function () {
|
|
125
128
|
// feature detection can be too slow, so check engines versions
|
|
126
129
|
if (V8) return V8 < 70;
|
|
127
130
|
if (FF && FF > 3) return;
|
|
@@ -163,7 +166,7 @@ var getSortCompare = function (comparefn) {
|
|
|
163
166
|
if (y === undefined) return -1;
|
|
164
167
|
if (x === undefined) return 1;
|
|
165
168
|
if (comparefn !== undefined) return +comparefn(x, y) || 0;
|
|
166
|
-
return toString(x) > toString(y) ? 1 : -1;
|
|
169
|
+
return toString$1(x) > toString$1(y) ? 1 : -1;
|
|
167
170
|
};
|
|
168
171
|
};
|
|
169
172
|
|
|
@@ -197,6 +200,98 @@ $({ target: 'Array', proto: true, forced: FORCED }, {
|
|
|
197
200
|
}
|
|
198
201
|
});
|
|
199
202
|
|
|
203
|
+
var es_error_toString = {};
|
|
204
|
+
|
|
205
|
+
var toString = toString$2;
|
|
206
|
+
|
|
207
|
+
var normalizeStringArgument$1 = function (argument, $default) {
|
|
208
|
+
return argument === undefined ? arguments.length < 2 ? '' : $default : toString(argument);
|
|
209
|
+
};
|
|
210
|
+
|
|
211
|
+
'use strict';
|
|
212
|
+
var DESCRIPTORS = descriptors;
|
|
213
|
+
var fails$1 = fails$3;
|
|
214
|
+
var anObject$1 = anObject$2;
|
|
215
|
+
var create = objectCreate;
|
|
216
|
+
var normalizeStringArgument = normalizeStringArgument$1;
|
|
217
|
+
|
|
218
|
+
var nativeErrorToString = Error.prototype.toString;
|
|
219
|
+
|
|
220
|
+
var INCORRECT_TO_STRING = fails$1(function () {
|
|
221
|
+
if (DESCRIPTORS) {
|
|
222
|
+
// Chrome 32- incorrectly call accessor
|
|
223
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- safe
|
|
224
|
+
var object = create(Object.defineProperty({}, 'name', { get: function () {
|
|
225
|
+
return this === object;
|
|
226
|
+
} }));
|
|
227
|
+
if (nativeErrorToString.call(object) !== 'true') return true;
|
|
228
|
+
}
|
|
229
|
+
// FF10- does not properly handle non-strings
|
|
230
|
+
return nativeErrorToString.call({ message: 1, name: 2 }) !== '2: 1'
|
|
231
|
+
// IE8 does not properly handle defaults
|
|
232
|
+
|| nativeErrorToString.call({}) !== 'Error';
|
|
233
|
+
});
|
|
234
|
+
|
|
235
|
+
var errorToString$1 = INCORRECT_TO_STRING ? function toString() {
|
|
236
|
+
var O = anObject$1(this);
|
|
237
|
+
var name = normalizeStringArgument(O.name, 'Error');
|
|
238
|
+
var message = normalizeStringArgument(O.message);
|
|
239
|
+
return !name ? message : !message ? name : name + ': ' + message;
|
|
240
|
+
} : nativeErrorToString;
|
|
241
|
+
|
|
242
|
+
var defineBuiltIn$1 = defineBuiltIn$2;
|
|
243
|
+
var errorToString = errorToString$1;
|
|
244
|
+
|
|
245
|
+
var ErrorPrototype = Error.prototype;
|
|
246
|
+
|
|
247
|
+
// `Error.prototype.toString` method fix
|
|
248
|
+
// https://tc39.es/ecma262/#sec-error.prototype.tostring
|
|
249
|
+
if (ErrorPrototype.toString !== errorToString) {
|
|
250
|
+
defineBuiltIn$1(ErrorPrototype, 'toString', errorToString);
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
var es_regexp_toString = {};
|
|
254
|
+
|
|
255
|
+
var call = functionCall;
|
|
256
|
+
var hasOwn = hasOwnProperty_1;
|
|
257
|
+
var isPrototypeOf = objectIsPrototypeOf;
|
|
258
|
+
var regExpFlags = regexpFlags;
|
|
259
|
+
|
|
260
|
+
var RegExpPrototype$1 = RegExp.prototype;
|
|
261
|
+
|
|
262
|
+
var regexpGetFlags = function (R) {
|
|
263
|
+
var flags = R.flags;
|
|
264
|
+
return flags === undefined && !('flags' in RegExpPrototype$1) && !hasOwn(R, 'flags') && isPrototypeOf(RegExpPrototype$1, R)
|
|
265
|
+
? call(regExpFlags, R) : flags;
|
|
266
|
+
};
|
|
267
|
+
|
|
268
|
+
'use strict';
|
|
269
|
+
var PROPER_FUNCTION_NAME = functionName.PROPER;
|
|
270
|
+
var defineBuiltIn = defineBuiltIn$2;
|
|
271
|
+
var anObject = anObject$2;
|
|
272
|
+
var $toString = toString$2;
|
|
273
|
+
var fails = fails$3;
|
|
274
|
+
var getRegExpFlags = regexpGetFlags;
|
|
275
|
+
|
|
276
|
+
var TO_STRING = 'toString';
|
|
277
|
+
var RegExpPrototype = RegExp.prototype;
|
|
278
|
+
var n$ToString = RegExpPrototype[TO_STRING];
|
|
279
|
+
|
|
280
|
+
var NOT_GENERIC = fails(function () { return n$ToString.call({ source: 'a', flags: 'b' }) != '/a/b'; });
|
|
281
|
+
// FF44- RegExp#toString has a wrong name
|
|
282
|
+
var INCORRECT_NAME = PROPER_FUNCTION_NAME && n$ToString.name != TO_STRING;
|
|
283
|
+
|
|
284
|
+
// `RegExp.prototype.toString` method
|
|
285
|
+
// https://tc39.es/ecma262/#sec-regexp.prototype.tostring
|
|
286
|
+
if (NOT_GENERIC || INCORRECT_NAME) {
|
|
287
|
+
defineBuiltIn(RegExp.prototype, TO_STRING, function toString() {
|
|
288
|
+
var R = anObject(this);
|
|
289
|
+
var pattern = $toString(R.source);
|
|
290
|
+
var flags = $toString(getRegExpFlags(R));
|
|
291
|
+
return '/' + pattern + '/' + flags;
|
|
292
|
+
}, { unsafe: true });
|
|
293
|
+
}
|
|
294
|
+
|
|
200
295
|
var __default__ = defineComponent({
|
|
201
296
|
name: 'FwTable',
|
|
202
297
|
components: {
|
|
@@ -260,7 +355,7 @@ var __default__ = defineComponent({
|
|
|
260
355
|
}
|
|
261
356
|
var data = props.items;
|
|
262
357
|
data.sort(function (a, b) {
|
|
263
|
-
var sortVal = a[sortBy.value] > b[sortBy.value] ? 1 : -1;
|
|
358
|
+
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;
|
|
264
359
|
return sortDirection.value === 'asc' ? sortVal : -sortVal;
|
|
265
360
|
});
|
|
266
361
|
return data;
|
|
@@ -327,7 +422,7 @@ var __default__ = defineComponent({
|
|
|
327
422
|
var __injectCSSVars__ = function __injectCSSVars__() {
|
|
328
423
|
useCssVars(function (_ctx) {
|
|
329
424
|
return {
|
|
330
|
-
"
|
|
425
|
+
"783a25a4": _ctx.bgHoverColor
|
|
331
426
|
};
|
|
332
427
|
});
|
|
333
428
|
};
|
|
@@ -338,7 +433,7 @@ __default__.setup = __setup__ ? function (props, ctx) {
|
|
|
338
433
|
} : __injectCSSVars__;
|
|
339
434
|
|
|
340
435
|
var _withScopeId = function _withScopeId(n) {
|
|
341
|
-
return pushScopeId("data-v-
|
|
436
|
+
return pushScopeId("data-v-70e44800"), n = n(), popScopeId(), n;
|
|
342
437
|
};
|
|
343
438
|
var _hoisted_1$2 = ["aria-busy"];
|
|
344
439
|
var _hoisted_2$1 = {
|
|
@@ -447,12 +542,12 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
447
542
|
}), 128))])], 10, _hoisted_1$2);
|
|
448
543
|
}
|
|
449
544
|
|
|
450
|
-
var css_248z = ".fw-table-head--sortable[data-v-
|
|
451
|
-
var stylesheet = ".fw-table-head--sortable[data-v-
|
|
545
|
+
var css_248z = ".fw-table-head--sortable[data-v-70e44800]:hover{background-color:var(--783a25a4)}.fw-table-row[data-v-70e44800]:hover{background-color:var(--783a25a4)}";
|
|
546
|
+
var stylesheet = ".fw-table-head--sortable[data-v-70e44800]:hover{background-color:var(--783a25a4)}.fw-table-row[data-v-70e44800]:hover{background-color:var(--783a25a4)}";
|
|
452
547
|
styleInject(css_248z);
|
|
453
548
|
|
|
454
549
|
__default__.render = render$2;
|
|
455
|
-
__default__.__scopeId = "data-v-
|
|
550
|
+
__default__.__scopeId = "data-v-70e44800";
|
|
456
551
|
|
|
457
552
|
var script$1 = defineComponent({
|
|
458
553
|
name: 'FwTableHead'
|
package/esm/fw-table.js
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
export { _ as FwTable, s as FwTableHead, a as FwTableRow } from './fw-table-row-
|
|
2
|
-
import './es.number.constructor-
|
|
3
|
-
import './is-forced-
|
|
4
|
-
import './classof-
|
|
5
|
-
import './
|
|
6
|
-
import './export-
|
|
7
|
-
import './object-
|
|
8
|
-
import './create-property-
|
|
9
|
-
import './array-method-is-strict-
|
|
1
|
+
export { _ as FwTable, s as FwTableHead, a as FwTableRow } from './fw-table-row-cfbd796c.js';
|
|
2
|
+
import './es.number.constructor-bed13ae4.js';
|
|
3
|
+
import './is-forced-b8806e4b.js';
|
|
4
|
+
import './classof-7ba4c6c3.js';
|
|
5
|
+
import './regexp-flags-8d5e20e1.js';
|
|
6
|
+
import './export-44690f0d.js';
|
|
7
|
+
import './object-create-200e3764.js';
|
|
8
|
+
import './create-property-1bf185fa.js';
|
|
9
|
+
import './array-method-is-strict-7dac83d7.js';
|
|
10
|
+
import './es.date.to-string-dc67483a.js';
|
|
11
|
+
import './es.object.to-string-31ad45ad.js';
|
|
10
12
|
import './index-bced3b35.js';
|
|
11
13
|
import 'vue';
|
|
12
14
|
import './check-94a5917a.js';
|
package/esm/fw-tabs.js
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
import './es.number.constructor-
|
|
1
|
+
import './es.number.constructor-bed13ae4.js';
|
|
2
2
|
import { defineComponent, computed, ref, provide, openBlock, createElementBlock, Fragment, renderList, createElementVNode, normalizeClass, toDisplayString, createCommentVNode, renderSlot, getCurrentInstance, inject, watchEffect } from 'vue';
|
|
3
|
-
import { e as toObject$1, l as lengthOfArrayLike$1, h as fails$1 } from './is-forced-
|
|
4
|
-
import { _ as _export } from './export-
|
|
5
|
-
import { a as arrayIteration } from './array-iteration-
|
|
6
|
-
import { a as addToUnscopables$1 } from './add-to-unscopables-
|
|
7
|
-
import { d as doesNotExceedSafeInteger$1 } from './does-not-exceed-safe-integer-
|
|
8
|
-
import './classof-
|
|
9
|
-
import './array-species-create-
|
|
10
|
-
import './object-create-
|
|
11
|
-
import './object-keys-17f3b440.js';
|
|
3
|
+
import { e as toObject$1, l as lengthOfArrayLike$1, h as fails$1 } from './is-forced-b8806e4b.js';
|
|
4
|
+
import { _ as _export } from './export-44690f0d.js';
|
|
5
|
+
import { a as arrayIteration } from './array-iteration-2181d2bd.js';
|
|
6
|
+
import { a as addToUnscopables$1 } from './add-to-unscopables-cfb87985.js';
|
|
7
|
+
import { d as doesNotExceedSafeInteger$1 } from './does-not-exceed-safe-integer-b66f7ee2.js';
|
|
8
|
+
import './classof-7ba4c6c3.js';
|
|
9
|
+
import './array-species-create-ff1f78e1.js';
|
|
10
|
+
import './object-create-200e3764.js';
|
|
12
11
|
|
|
13
12
|
var script$1 = defineComponent({
|
|
14
13
|
name: 'FwTabs',
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import './es.array.includes-
|
|
1
|
+
import './es.array.includes-d57031df.js';
|
|
2
2
|
import { defineComponent, ref, computed, useCssVars, resolveComponent, openBlock, createElementBlock, normalizeClass, renderSlot, createBlock, withCtx, createVNode, createCommentVNode } from 'vue';
|
|
3
3
|
import './fw-button.js';
|
|
4
4
|
import { c as render$1 } from './index-bced3b35.js';
|
|
5
5
|
import { u as useColours } from './get-root-colours-865a52ba.js';
|
|
6
|
-
import { s as script } from './fw-button-
|
|
6
|
+
import { s as script } from './fw-button-cbaedd16.js';
|
|
7
7
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
8
8
|
|
|
9
9
|
var __default__ = defineComponent({
|