@frollo/frollo-web-ui 5.0.2 → 5.0.3
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 +1137 -778
- package/esm/{add-to-unscopables-2400f45b.js → add-to-unscopables-31609885.js} +2 -2
- package/esm/{array-iteration-107f927f.js → array-iteration-ec356eb3.js} +2 -2
- package/esm/{array-method-has-species-support-3d413468.js → array-method-has-species-support-8a4b1310.js} +1 -1
- package/esm/{array-method-is-strict-055b1830.js → array-method-is-strict-fc2e0d8d.js} +1 -1
- package/esm/{array-species-create-a5f5503b.js → array-species-create-b125f4a4.js} +2 -2
- package/esm/{classof-39c30bd5.js → classof-ee4b3b5b.js} +1 -1
- package/esm/{create-property-534611fd.js → create-property-c70ecc08.js} +1 -1
- package/esm/{delete-property-or-throw-8032646c.js → delete-property-or-throw-cd4c57d6.js} +3 -3
- package/esm/{does-not-exceed-safe-integer-31d08811.js → does-not-exceed-safe-integer-8e0042ec.js} +1 -1
- package/esm/{es.array.concat-987938be.js → es.array.concat-fe990345.js} +6 -6
- package/esm/{es.array.find-dfa1f42f.js → es.array.find-67b3b514.js} +5 -5
- package/esm/{es.array.includes-91be7771.js → es.array.includes-a06445a5.js} +3 -3
- package/esm/es.array.map-ae6c9437.js +43 -0
- package/esm/{es.function.name-557cb1f9.js → es.function.name-6daefaeb.js} +1 -1
- package/esm/{es.number.constructor-d6ff8874.js → es.number.constructor-98bae04f.js} +2 -2
- package/esm/es.string.includes-ade04f96.js +66 -0
- package/esm/{es.string.iterator-590198a8.js → es.string.iterator-0992bb28.js} +8 -8
- package/esm/{export-a37ba078.js → export-8a363004.js} +1 -1
- package/esm/{function-apply-ce251590.js → function-apply-b908d7e6.js} +1 -1
- package/esm/fw-animations.js +5 -5
- package/esm/fw-bar-chart.js +17 -16
- package/esm/{fw-button-8d131219.js → fw-button-b7a12ae1.js} +2 -2
- package/esm/fw-button.js +9 -9
- package/esm/fw-checkbox.js +9 -9
- package/esm/fw-drawer.js +9 -9
- package/esm/fw-dropdown-765dbbba.js +223 -0
- package/esm/fw-dropdown.js +15 -222
- package/esm/{fw-image-4787a8bd.js → fw-image-660d3e75.js} +10 -10
- package/esm/fw-image.js +18 -18
- package/esm/fw-input-7d25de48.js +235 -0
- package/esm/fw-input.js +20 -245
- package/esm/{fw-loading-spinner-c394fafc.js → fw-loading-spinner-3fda633e.js} +1 -1
- package/esm/fw-loading.js +3 -3
- package/esm/fw-modal.js +9 -9
- package/esm/fw-navigation-menu.js +9 -9
- package/esm/fw-progress-bar.js +3 -3
- package/esm/fw-provider-list.js +36 -0
- package/esm/fw-sidebar-menu.js +9 -9
- package/esm/fw-table-row-d390fe77.js +492 -0
- package/esm/fw-table.js +14 -494
- package/esm/fw-tabs.js +10 -10
- package/esm/fw-tag-9ef5331a.js +157 -0
- package/esm/fw-tag.js +13 -162
- package/esm/fw-toast.js +24 -85
- package/esm/fw-transactions-card.js +18 -18
- package/esm/{index-e4a2f8b0.js → index-04d3cb23.js} +1 -1
- package/esm/index-8c78a422.js +417 -0
- package/esm/{index-2766bfe4.js → index-c15f5641.js} +18 -55
- package/esm/index.js +48 -54
- package/esm/{is-forced-752b5893.js → is-forced-fc680e39.js} +1 -1
- package/esm/{object-create-f6f3a673.js → object-create-bc771493.js} +2 -2
- package/esm/{object-keys-4f5bf4e7.js → object-keys-17f3b440.js} +1 -1
- package/esm/{web.timers-0f117224.js → web.timers-c5316125.js} +3 -3
- package/frollo-web-ui.esm.js +1222 -832
- package/index.d.ts +118 -22
- package/package.json +1 -1
- package/types/components/fw-dropdown/fw-dropdown.vue.d.ts +17 -0
- package/types/components/fw-dropdown/index.types.d.ts +1 -0
- package/types/components/fw-provider-list/fw-provider-list.vue.d.ts +68 -0
- package/types/components/fw-provider-list/index.d.ts +2 -0
- package/types/components/fw-provider-list/index.types.d.ts +11 -0
- package/types/components/index.d.ts +1 -0
- package/types/components/index.types.d.ts +1 -0
- package/web-components/index.js +1267 -862
|
@@ -0,0 +1,417 @@
|
|
|
1
|
+
import './delete-property-or-throw-cd4c57d6.js';
|
|
2
|
+
import { d as descriptors, h as fails$2, q as anObject$2, b as defineBuiltIn$3, f as functionUncurryThis, n as functionCall, A as hasOwnProperty_1, B as objectIsPrototypeOf, C as functionName } from './is-forced-fc680e39.js';
|
|
3
|
+
import { _ as _export } from './export-8a363004.js';
|
|
4
|
+
import { a as arrayIteration } from './array-iteration-ec356eb3.js';
|
|
5
|
+
import { a as arrayMethodHasSpeciesSupport$1 } from './array-method-has-species-support-8a4b1310.js';
|
|
6
|
+
import './es.array.find-67b3b514.js';
|
|
7
|
+
import './es.array.includes-a06445a5.js';
|
|
8
|
+
import './es.string.includes-ade04f96.js';
|
|
9
|
+
import { o as objectCreate } from './object-create-bc771493.js';
|
|
10
|
+
import { t as toString$1 } from './es.number.constructor-98bae04f.js';
|
|
11
|
+
import { r as regexpFlags } from './es.array.map-ae6c9437.js';
|
|
12
|
+
import './es.function.name-6daefaeb.js';
|
|
13
|
+
import './es.array.concat-fe990345.js';
|
|
14
|
+
import { _ as __default__, s as script$4, a as script$5 } from './fw-table-row-d390fe77.js';
|
|
15
|
+
import { defineComponent, ref, computed, createTextVNode, createElementVNode, resolveComponent, openBlock, createElementBlock, toDisplayString, createVNode, withCtx, createBlock, createCommentVNode } from 'vue';
|
|
16
|
+
import { s as script$1 } from './fw-input-7d25de48.js';
|
|
17
|
+
import { _ as __default__$1 } from './fw-tag-9ef5331a.js';
|
|
18
|
+
import { s as script$3 } from './fw-button-b7a12ae1.js';
|
|
19
|
+
import { s as script$2 } from './fw-dropdown-765dbbba.js';
|
|
20
|
+
import { f as render$1, g as render$2, i as render$3 } from './index-04d3cb23.js';
|
|
21
|
+
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
22
|
+
|
|
23
|
+
function _defineProperty(obj, key, value) {
|
|
24
|
+
if (key in obj) {
|
|
25
|
+
Object.defineProperty(obj, key, {
|
|
26
|
+
value: value,
|
|
27
|
+
enumerable: true,
|
|
28
|
+
configurable: true,
|
|
29
|
+
writable: true
|
|
30
|
+
});
|
|
31
|
+
} else {
|
|
32
|
+
obj[key] = value;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
return obj;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
var es_array_filter = {};
|
|
39
|
+
|
|
40
|
+
'use strict';
|
|
41
|
+
var $ = _export;
|
|
42
|
+
var $filter = arrayIteration.filter;
|
|
43
|
+
var arrayMethodHasSpeciesSupport = arrayMethodHasSpeciesSupport$1;
|
|
44
|
+
|
|
45
|
+
var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('filter');
|
|
46
|
+
|
|
47
|
+
// `Array.prototype.filter` method
|
|
48
|
+
// https://tc39.es/ecma262/#sec-array.prototype.filter
|
|
49
|
+
// with adding support of @@species
|
|
50
|
+
$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {
|
|
51
|
+
filter: function filter(callbackfn /* , thisArg */) {
|
|
52
|
+
return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
|
|
53
|
+
}
|
|
54
|
+
});
|
|
55
|
+
|
|
56
|
+
var es_error_toString = {};
|
|
57
|
+
|
|
58
|
+
var toString = toString$1;
|
|
59
|
+
|
|
60
|
+
var normalizeStringArgument$1 = function (argument, $default) {
|
|
61
|
+
return argument === undefined ? arguments.length < 2 ? '' : $default : toString(argument);
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
'use strict';
|
|
65
|
+
var DESCRIPTORS = descriptors;
|
|
66
|
+
var fails$1 = fails$2;
|
|
67
|
+
var anObject$1 = anObject$2;
|
|
68
|
+
var create = objectCreate;
|
|
69
|
+
var normalizeStringArgument = normalizeStringArgument$1;
|
|
70
|
+
|
|
71
|
+
var nativeErrorToString = Error.prototype.toString;
|
|
72
|
+
|
|
73
|
+
var INCORRECT_TO_STRING = fails$1(function () {
|
|
74
|
+
if (DESCRIPTORS) {
|
|
75
|
+
// Chrome 32- incorrectly call accessor
|
|
76
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- safe
|
|
77
|
+
var object = create(Object.defineProperty({}, 'name', { get: function () {
|
|
78
|
+
return this === object;
|
|
79
|
+
} }));
|
|
80
|
+
if (nativeErrorToString.call(object) !== 'true') return true;
|
|
81
|
+
}
|
|
82
|
+
// FF10- does not properly handle non-strings
|
|
83
|
+
return nativeErrorToString.call({ message: 1, name: 2 }) !== '2: 1'
|
|
84
|
+
// IE8 does not properly handle defaults
|
|
85
|
+
|| nativeErrorToString.call({}) !== 'Error';
|
|
86
|
+
});
|
|
87
|
+
|
|
88
|
+
var errorToString$1 = INCORRECT_TO_STRING ? function toString() {
|
|
89
|
+
var O = anObject$1(this);
|
|
90
|
+
var name = normalizeStringArgument(O.name, 'Error');
|
|
91
|
+
var message = normalizeStringArgument(O.message);
|
|
92
|
+
return !name ? message : !message ? name : name + ': ' + message;
|
|
93
|
+
} : nativeErrorToString;
|
|
94
|
+
|
|
95
|
+
var defineBuiltIn$2 = defineBuiltIn$3;
|
|
96
|
+
var errorToString = errorToString$1;
|
|
97
|
+
|
|
98
|
+
var ErrorPrototype = Error.prototype;
|
|
99
|
+
|
|
100
|
+
// `Error.prototype.toString` method fix
|
|
101
|
+
// https://tc39.es/ecma262/#sec-error.prototype.tostring
|
|
102
|
+
if (ErrorPrototype.toString !== errorToString) {
|
|
103
|
+
defineBuiltIn$2(ErrorPrototype, 'toString', errorToString);
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
var es_date_toString = {};
|
|
107
|
+
|
|
108
|
+
// TODO: Remove from `core-js@4`
|
|
109
|
+
var uncurryThis = functionUncurryThis;
|
|
110
|
+
var defineBuiltIn$1 = defineBuiltIn$3;
|
|
111
|
+
|
|
112
|
+
var DatePrototype = Date.prototype;
|
|
113
|
+
var INVALID_DATE = 'Invalid Date';
|
|
114
|
+
var TO_STRING$1 = 'toString';
|
|
115
|
+
var un$DateToString = uncurryThis(DatePrototype[TO_STRING$1]);
|
|
116
|
+
var getTime = uncurryThis(DatePrototype.getTime);
|
|
117
|
+
|
|
118
|
+
// `Date.prototype.toString` method
|
|
119
|
+
// https://tc39.es/ecma262/#sec-date.prototype.tostring
|
|
120
|
+
if (String(new Date(NaN)) != INVALID_DATE) {
|
|
121
|
+
defineBuiltIn$1(DatePrototype, TO_STRING$1, function toString() {
|
|
122
|
+
var value = getTime(this);
|
|
123
|
+
// eslint-disable-next-line no-self-compare -- NaN check
|
|
124
|
+
return value === value ? un$DateToString(this) : INVALID_DATE;
|
|
125
|
+
});
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
var es_regexp_toString = {};
|
|
129
|
+
|
|
130
|
+
var call = functionCall;
|
|
131
|
+
var hasOwn = hasOwnProperty_1;
|
|
132
|
+
var isPrototypeOf = objectIsPrototypeOf;
|
|
133
|
+
var regExpFlags = regexpFlags;
|
|
134
|
+
|
|
135
|
+
var RegExpPrototype$1 = RegExp.prototype;
|
|
136
|
+
|
|
137
|
+
var regexpGetFlags = function (R) {
|
|
138
|
+
var flags = R.flags;
|
|
139
|
+
return flags === undefined && !('flags' in RegExpPrototype$1) && !hasOwn(R, 'flags') && isPrototypeOf(RegExpPrototype$1, R)
|
|
140
|
+
? call(regExpFlags, R) : flags;
|
|
141
|
+
};
|
|
142
|
+
|
|
143
|
+
'use strict';
|
|
144
|
+
var PROPER_FUNCTION_NAME = functionName.PROPER;
|
|
145
|
+
var defineBuiltIn = defineBuiltIn$3;
|
|
146
|
+
var anObject = anObject$2;
|
|
147
|
+
var $toString = toString$1;
|
|
148
|
+
var fails = fails$2;
|
|
149
|
+
var getRegExpFlags = regexpGetFlags;
|
|
150
|
+
|
|
151
|
+
var TO_STRING = 'toString';
|
|
152
|
+
var RegExpPrototype = RegExp.prototype;
|
|
153
|
+
var n$ToString = RegExpPrototype[TO_STRING];
|
|
154
|
+
|
|
155
|
+
var NOT_GENERIC = fails(function () { return n$ToString.call({ source: 'a', flags: 'b' }) != '/a/b'; });
|
|
156
|
+
// FF44- RegExp#toString has a wrong name
|
|
157
|
+
var INCORRECT_NAME = PROPER_FUNCTION_NAME && n$ToString.name != TO_STRING;
|
|
158
|
+
|
|
159
|
+
// `RegExp.prototype.toString` method
|
|
160
|
+
// https://tc39.es/ecma262/#sec-regexp.prototype.tostring
|
|
161
|
+
if (NOT_GENERIC || INCORRECT_NAME) {
|
|
162
|
+
defineBuiltIn(RegExp.prototype, TO_STRING, function toString() {
|
|
163
|
+
var R = anObject(this);
|
|
164
|
+
var pattern = $toString(R.source);
|
|
165
|
+
var flags = $toString(getRegExpFlags(R));
|
|
166
|
+
return '/' + pattern + '/' + flags;
|
|
167
|
+
}, { unsafe: true });
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
var script = defineComponent({
|
|
171
|
+
name: 'FwProviderList',
|
|
172
|
+
components: {
|
|
173
|
+
FwTable: __default__,
|
|
174
|
+
FwInput: script$1,
|
|
175
|
+
FwDropdown: script$2,
|
|
176
|
+
FwButton: script$3,
|
|
177
|
+
FwTableHead: script$4,
|
|
178
|
+
FwTableRow: script$5,
|
|
179
|
+
FwTag: __default__$1,
|
|
180
|
+
SolidCheckSvg: render$1,
|
|
181
|
+
SolidXMarkSvg: render$2,
|
|
182
|
+
SearchSvg: render$3
|
|
183
|
+
},
|
|
184
|
+
props: {
|
|
185
|
+
/**
|
|
186
|
+
* The header heading of the list.
|
|
187
|
+
*/
|
|
188
|
+
heading: {
|
|
189
|
+
type: String
|
|
190
|
+
},
|
|
191
|
+
/**
|
|
192
|
+
* The list items of the table items.
|
|
193
|
+
*/
|
|
194
|
+
items: {
|
|
195
|
+
type: Array,
|
|
196
|
+
required: true
|
|
197
|
+
},
|
|
198
|
+
/**
|
|
199
|
+
* The placeholder text for the sarch input.
|
|
200
|
+
*/
|
|
201
|
+
searchPlaceholder: {
|
|
202
|
+
type: String,
|
|
203
|
+
"default": 'Search'
|
|
204
|
+
},
|
|
205
|
+
/**
|
|
206
|
+
* The table header title.
|
|
207
|
+
*/
|
|
208
|
+
tableHeaderName: {
|
|
209
|
+
type: String,
|
|
210
|
+
"default": 'Name'
|
|
211
|
+
}
|
|
212
|
+
},
|
|
213
|
+
setup: function setup(props) {
|
|
214
|
+
var _options;
|
|
215
|
+
var searchFilterModel = ref('');
|
|
216
|
+
var statusFilterModel = ref('all');
|
|
217
|
+
var parsedItems = computed(function () {
|
|
218
|
+
if (typeof props.items === 'string') {
|
|
219
|
+
return JSON.parse(props.items);
|
|
220
|
+
}
|
|
221
|
+
return props.items;
|
|
222
|
+
});
|
|
223
|
+
var filteredTableItems = computed(function () {
|
|
224
|
+
var tempFilteredItems = parsedItems.value;
|
|
225
|
+
if (searchFilterModel.value) {
|
|
226
|
+
tempFilteredItems = tempFilteredItems.filter(function (item) {
|
|
227
|
+
return item.name.toString().toLowerCase().includes(searchFilterModel.value.toLowerCase());
|
|
228
|
+
});
|
|
229
|
+
}
|
|
230
|
+
if (statusFilterModel.value && statusFilterModel.value !== 'all') {
|
|
231
|
+
tempFilteredItems = tempFilteredItems.filter(function (item) {
|
|
232
|
+
return item.status === statusFilterModel.value;
|
|
233
|
+
});
|
|
234
|
+
}
|
|
235
|
+
return tempFilteredItems;
|
|
236
|
+
});
|
|
237
|
+
var options = (_options = {}, _defineProperty(_options, 'status', {
|
|
238
|
+
disabled: true
|
|
239
|
+
}), _defineProperty(_options, props.tableHeaderName, {
|
|
240
|
+
isSortable: true,
|
|
241
|
+
initSortOrder: 'asc'
|
|
242
|
+
}), _options);
|
|
243
|
+
var tableItems = computed(function () {
|
|
244
|
+
var _filteredTableItems$v;
|
|
245
|
+
return (_filteredTableItems$v = filteredTableItems.value) === null || _filteredTableItems$v === void 0 ? void 0 : _filteredTableItems$v.map(function (item) {
|
|
246
|
+
var _ref;
|
|
247
|
+
return _ref = {}, _defineProperty(_ref, 'status', item.status), _defineProperty(_ref, props.tableHeaderName, "\n <div class=\"flex flex-row-reverse justify-end items-center\">\n <p class=\"mb-0 font-medium\">".concat(item.name, "</p>\n <img class=\"mr-2 w-[48px]\" alt=\"").concat(item.name, " logo\" src=\"").concat(item.image_url, "\" />\n </div>\n ")), _ref;
|
|
248
|
+
});
|
|
249
|
+
});
|
|
250
|
+
var sortedTableItems = computed(function () {
|
|
251
|
+
var tempItems = tableItems.value;
|
|
252
|
+
return tempItems.sort(function (item) {
|
|
253
|
+
if (item.status === 'outage') {
|
|
254
|
+
return -1;
|
|
255
|
+
}
|
|
256
|
+
return 1;
|
|
257
|
+
});
|
|
258
|
+
});
|
|
259
|
+
return {
|
|
260
|
+
options: options,
|
|
261
|
+
sortedTableItems: sortedTableItems,
|
|
262
|
+
searchFilterModel: searchFilterModel,
|
|
263
|
+
statusFilterModel: statusFilterModel
|
|
264
|
+
};
|
|
265
|
+
}
|
|
266
|
+
});
|
|
267
|
+
|
|
268
|
+
var _hoisted_1 = {
|
|
269
|
+
"class": "fw-provider-list flex flex-col w-full space-y-4"
|
|
270
|
+
};
|
|
271
|
+
var _hoisted_2 = {
|
|
272
|
+
"class": "grid grid-cols-1 md:grid-cols-3 space-y-4 md:space-y-0 md:space-x-4 md:items-center md:justify-between"
|
|
273
|
+
};
|
|
274
|
+
var _hoisted_3 = {
|
|
275
|
+
"class": "mb-0 uppercase flex-1 col-span-1"
|
|
276
|
+
};
|
|
277
|
+
var _hoisted_4 = {
|
|
278
|
+
"class": "col-span-2 flex flex-col space-y-4 md:space-y-0 md:flex-row md:space-x-4"
|
|
279
|
+
};
|
|
280
|
+
var _hoisted_5 = {
|
|
281
|
+
key: 0,
|
|
282
|
+
"class": "fw-provider-list--table w-full shadow-card"
|
|
283
|
+
};
|
|
284
|
+
var _hoisted_6 = /*#__PURE__*/createTextVNode("Status");
|
|
285
|
+
var _hoisted_7 = /*#__PURE__*/createTextVNode("Outage ");
|
|
286
|
+
var _hoisted_8 = /*#__PURE__*/createTextVNode(" Available");
|
|
287
|
+
var _hoisted_9 = {
|
|
288
|
+
key: 1
|
|
289
|
+
};
|
|
290
|
+
var _hoisted_10 = /*#__PURE__*/createElementVNode("h4", {
|
|
291
|
+
"class": "w-full font-medium text-center my-6"
|
|
292
|
+
}, "Sorry, we could not find any results.", -1);
|
|
293
|
+
var _hoisted_11 = [_hoisted_10];
|
|
294
|
+
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
295
|
+
var _component_SearchSvg = resolveComponent("SearchSvg");
|
|
296
|
+
var _component_SolidXMarkSvg = resolveComponent("SolidXMarkSvg");
|
|
297
|
+
var _component_FwButton = resolveComponent("FwButton");
|
|
298
|
+
var _component_FwInput = resolveComponent("FwInput");
|
|
299
|
+
var _component_FwDropdown = resolveComponent("FwDropdown");
|
|
300
|
+
var _component_FwTableHead = resolveComponent("FwTableHead");
|
|
301
|
+
var _component_FwTag = resolveComponent("FwTag");
|
|
302
|
+
var _component_SolidCheckSvg = resolveComponent("SolidCheckSvg");
|
|
303
|
+
var _component_FwTableRow = resolveComponent("FwTableRow");
|
|
304
|
+
var _component_FwTable = resolveComponent("FwTable");
|
|
305
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [createElementVNode("div", _hoisted_2, [createElementVNode("h4", _hoisted_3, toDisplayString(_ctx.heading), 1), createElementVNode("div", _hoisted_4, [createVNode(_component_FwInput, {
|
|
306
|
+
modelValue: _ctx.searchFilterModel,
|
|
307
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = function ($event) {
|
|
308
|
+
return _ctx.searchFilterModel = $event;
|
|
309
|
+
}),
|
|
310
|
+
tabindex: "0",
|
|
311
|
+
name: "fw-provider-list--search-input",
|
|
312
|
+
"class": "rounded-full w-full",
|
|
313
|
+
type: "text",
|
|
314
|
+
rounded: "",
|
|
315
|
+
"enable-errors": false,
|
|
316
|
+
placeholder: _ctx.searchPlaceholder
|
|
317
|
+
}, {
|
|
318
|
+
prefix: withCtx(function () {
|
|
319
|
+
return [createVNode(_component_SearchSvg, {
|
|
320
|
+
"class": "text-primary w-5 h-5"
|
|
321
|
+
})];
|
|
322
|
+
}),
|
|
323
|
+
suffix: withCtx(function () {
|
|
324
|
+
return [_ctx.searchFilterModel ? (openBlock(), createBlock(_component_FwButton, {
|
|
325
|
+
key: 0,
|
|
326
|
+
onClick: _cache[0] || (_cache[0] = function ($event) {
|
|
327
|
+
return _ctx.searchFilterModel = '';
|
|
328
|
+
}),
|
|
329
|
+
variant: "link",
|
|
330
|
+
size: "sm",
|
|
331
|
+
"class": "w-full !rounded-full",
|
|
332
|
+
rounded: ""
|
|
333
|
+
}, {
|
|
334
|
+
"default": withCtx(function () {
|
|
335
|
+
return [createVNode(_component_SolidXMarkSvg)];
|
|
336
|
+
}),
|
|
337
|
+
_: 1
|
|
338
|
+
})) : createCommentVNode("", true)];
|
|
339
|
+
}),
|
|
340
|
+
_: 1
|
|
341
|
+
}, 8, ["modelValue", "placeholder"]), createVNode(_component_FwDropdown, {
|
|
342
|
+
"class": "w-full",
|
|
343
|
+
name: "fw-provider-list--status-dropdown",
|
|
344
|
+
modelValue: _ctx.statusFilterModel,
|
|
345
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = function ($event) {
|
|
346
|
+
return _ctx.statusFilterModel = $event;
|
|
347
|
+
}),
|
|
348
|
+
"enable-errors": false,
|
|
349
|
+
options: [{
|
|
350
|
+
label: 'All statuses',
|
|
351
|
+
value: 'all'
|
|
352
|
+
}, {
|
|
353
|
+
label: 'Outage',
|
|
354
|
+
value: 'outage'
|
|
355
|
+
}, {
|
|
356
|
+
label: 'Available',
|
|
357
|
+
value: 'supported'
|
|
358
|
+
}]
|
|
359
|
+
}, null, 8, ["modelValue"])])]), _ctx.sortedTableItems && _ctx.sortedTableItems.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_5, [createVNode(_component_FwTable, {
|
|
360
|
+
"class": "w-full min-w-max bg-grey-20",
|
|
361
|
+
items: _ctx.sortedTableItems,
|
|
362
|
+
options: _ctx.options
|
|
363
|
+
}, {
|
|
364
|
+
preHead: withCtx(function () {
|
|
365
|
+
return [createVNode(_component_FwTableHead, {
|
|
366
|
+
"class": "w-[150px] md:w-[200px]"
|
|
367
|
+
}, {
|
|
368
|
+
"default": withCtx(function () {
|
|
369
|
+
return [_hoisted_6];
|
|
370
|
+
}),
|
|
371
|
+
_: 1
|
|
372
|
+
})];
|
|
373
|
+
}),
|
|
374
|
+
preRow: withCtx(function (_ref) {
|
|
375
|
+
var row = _ref.row;
|
|
376
|
+
return [createVNode(_component_FwTableRow, {
|
|
377
|
+
"class": "w-[150px] md:w-[200px] uppercase"
|
|
378
|
+
}, {
|
|
379
|
+
"default": withCtx(function () {
|
|
380
|
+
return [row.status === 'outage' ? (openBlock(), createBlock(_component_FwTag, {
|
|
381
|
+
key: 0,
|
|
382
|
+
variant: "error",
|
|
383
|
+
size: "md"
|
|
384
|
+
}, {
|
|
385
|
+
"default": withCtx(function () {
|
|
386
|
+
return [createVNode(_component_SolidXMarkSvg, {
|
|
387
|
+
"class": "w-4 h-4 mr-1"
|
|
388
|
+
}), _hoisted_7];
|
|
389
|
+
}),
|
|
390
|
+
_: 1
|
|
391
|
+
})) : (openBlock(), createBlock(_component_FwTag, {
|
|
392
|
+
key: 1,
|
|
393
|
+
variant: "success",
|
|
394
|
+
size: "md"
|
|
395
|
+
}, {
|
|
396
|
+
"default": withCtx(function () {
|
|
397
|
+
return [createVNode(_component_SolidCheckSvg, {
|
|
398
|
+
"class": "w-4 h-4 mr-1"
|
|
399
|
+
}), _hoisted_8];
|
|
400
|
+
}),
|
|
401
|
+
_: 1
|
|
402
|
+
}))];
|
|
403
|
+
}),
|
|
404
|
+
_: 2
|
|
405
|
+
}, 1024)];
|
|
406
|
+
}),
|
|
407
|
+
_: 1
|
|
408
|
+
}, 8, ["items", "options"])])) : (openBlock(), createElementBlock("div", _hoisted_9, _hoisted_11))]);
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
var css_248z = ".fw-provider-list--table{overflow-x:auto}.fw-provider-list--table::-webkit-scrollbar{-webkit-appearance:none;height:8px}.fw-provider-list--table::-webkit-scrollbar-track{--tw-bg-opacity:1;background-color:rgb(228 228 228/var(--tw-bg-opacity));border-radius:12px}.fw-provider-list--table::-webkit-scrollbar-thumb{--tw-bg-opacity:1;background-color:rgb(75 75 75/var(--tw-bg-opacity));border-radius:12px;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.fw-provider-list--table::-webkit-scrollbar-thumb:hover{background-color:var(--colorBody);cursor:pointer}";
|
|
412
|
+
var stylesheet = ".fw-provider-list--table{overflow-x:auto}.fw-provider-list--table::-webkit-scrollbar{-webkit-appearance:none;height:8px}.fw-provider-list--table::-webkit-scrollbar-track{--tw-bg-opacity:1;background-color:rgb(228 228 228/var(--tw-bg-opacity));border-radius:12px}.fw-provider-list--table::-webkit-scrollbar-thumb{--tw-bg-opacity:1;background-color:rgb(75 75 75/var(--tw-bg-opacity));border-radius:12px;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.fw-provider-list--table::-webkit-scrollbar-thumb:hover{background-color:var(--colorBody);cursor:pointer}";
|
|
413
|
+
styleInject(css_248z);
|
|
414
|
+
|
|
415
|
+
script.render = render;
|
|
416
|
+
|
|
417
|
+
export { _defineProperty as _, script as s };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { t as toString$2 } from './es.number.constructor-
|
|
2
|
-
import {
|
|
3
|
-
import { _ as _export } from './export-
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import
|
|
10
|
-
import './
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
1
|
+
import { t as toString$2 } from './es.number.constructor-98bae04f.js';
|
|
2
|
+
import { h as fails$5, g as global$3, n as functionCall, f as functionUncurryThis, s as shared$1, p as internalState, b as defineBuiltIn$1, w as wellKnownSymbol$2, c as createNonEnumerableProperty$1, e as toObject$2, q as anObject$2, r as isCallable$2, u as classofRaw, v as toIntegerOrInfinity$2, x as toLength$1, y as requireObjectCoercible$1, z as getMethod$1, i as toAbsoluteIndex$1, l as lengthOfArrayLike$1 } from './is-forced-fc680e39.js';
|
|
3
|
+
import { _ as _export } from './export-8a363004.js';
|
|
4
|
+
import { r as regexpFlags$1 } from './es.array.map-ae6c9437.js';
|
|
5
|
+
import { o as objectCreate } from './object-create-bc771493.js';
|
|
6
|
+
import { f as functionApply } from './function-apply-b908d7e6.js';
|
|
7
|
+
import { s as stringMultibyte } from './es.string.iterator-0992bb28.js';
|
|
8
|
+
import { d as deletePropertyOrThrow$1 } from './delete-property-or-throw-cd4c57d6.js';
|
|
9
|
+
import './es.function.name-6daefaeb.js';
|
|
10
|
+
import { d as doesNotExceedSafeInteger$1 } from './does-not-exceed-safe-integer-8e0042ec.js';
|
|
11
|
+
import { a as arraySpeciesCreate$1 } from './array-species-create-b125f4a4.js';
|
|
12
|
+
import { c as createProperty$1 } from './create-property-c70ecc08.js';
|
|
13
|
+
import { a as arrayMethodHasSpeciesSupport$1 } from './array-method-has-species-support-8a4b1310.js';
|
|
14
14
|
import { version as version$1, isProxy, toRaw, defineComponent, ref, shallowRef, onMounted, onBeforeUnmount, watch, h, computed, resolveComponent, openBlock, createElementBlock, normalizeStyle, toDisplayString, createCommentVNode, createVNode } from 'vue';
|
|
15
15
|
import { u as useColours } from './get-root-colours-e2a1cb28.js';
|
|
16
16
|
import { u as uniqueId } from './uniqueId-fe08534a.js';
|
|
@@ -52,25 +52,6 @@ function _toConsumableArray(arr) {
|
|
|
52
52
|
|
|
53
53
|
var es_regexp_exec = {};
|
|
54
54
|
|
|
55
|
-
'use strict';
|
|
56
|
-
var anObject$2 = anObject$3;
|
|
57
|
-
|
|
58
|
-
// `RegExp.prototype.flags` getter implementation
|
|
59
|
-
// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags
|
|
60
|
-
var regexpFlags$1 = function () {
|
|
61
|
-
var that = anObject$2(this);
|
|
62
|
-
var result = '';
|
|
63
|
-
if (that.hasIndices) result += 'd';
|
|
64
|
-
if (that.global) result += 'g';
|
|
65
|
-
if (that.ignoreCase) result += 'i';
|
|
66
|
-
if (that.multiline) result += 'm';
|
|
67
|
-
if (that.dotAll) result += 's';
|
|
68
|
-
if (that.unicode) result += 'u';
|
|
69
|
-
if (that.unicodeSets) result += 'v';
|
|
70
|
-
if (that.sticky) result += 'y';
|
|
71
|
-
return result;
|
|
72
|
-
};
|
|
73
|
-
|
|
74
55
|
var fails$4 = fails$5;
|
|
75
56
|
var global$2 = global$3;
|
|
76
57
|
|
|
@@ -244,12 +225,12 @@ if (PATCH) {
|
|
|
244
225
|
var regexpExec$2 = patchedExec;
|
|
245
226
|
|
|
246
227
|
'use strict';
|
|
247
|
-
var $$
|
|
228
|
+
var $$1 = _export;
|
|
248
229
|
var exec = regexpExec$2;
|
|
249
230
|
|
|
250
231
|
// `RegExp.prototype.exec` method
|
|
251
232
|
// https://tc39.es/ecma262/#sec-regexp.prototype.exec
|
|
252
|
-
$$
|
|
233
|
+
$$1({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, {
|
|
253
234
|
exec: exec
|
|
254
235
|
});
|
|
255
236
|
|
|
@@ -385,7 +366,7 @@ var getSubstitution$1 = function (matched, str, position, captures, namedCapture
|
|
|
385
366
|
};
|
|
386
367
|
|
|
387
368
|
var call$1 = functionCall;
|
|
388
|
-
var anObject$1 = anObject$
|
|
369
|
+
var anObject$1 = anObject$2;
|
|
389
370
|
var isCallable$1 = isCallable$2;
|
|
390
371
|
var classof = classofRaw;
|
|
391
372
|
var regexpExec = regexpExec$2;
|
|
@@ -411,7 +392,7 @@ var call = functionCall;
|
|
|
411
392
|
var uncurryThis = functionUncurryThis;
|
|
412
393
|
var fixRegExpWellKnownSymbolLogic = fixRegexpWellKnownSymbolLogic;
|
|
413
394
|
var fails = fails$5;
|
|
414
|
-
var anObject = anObject$
|
|
395
|
+
var anObject = anObject$2;
|
|
415
396
|
var isCallable = isCallable$2;
|
|
416
397
|
var toIntegerOrInfinity$1 = toIntegerOrInfinity$2;
|
|
417
398
|
var toLength = toLength$1;
|
|
@@ -542,24 +523,6 @@ fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNa
|
|
|
542
523
|
];
|
|
543
524
|
}, !REPLACE_SUPPORTS_NAMED_GROUPS || !REPLACE_KEEPS_$0 || REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE);
|
|
544
525
|
|
|
545
|
-
var es_array_map = {};
|
|
546
|
-
|
|
547
|
-
'use strict';
|
|
548
|
-
var $$1 = _export;
|
|
549
|
-
var $map = arrayIteration.map;
|
|
550
|
-
var arrayMethodHasSpeciesSupport$1 = arrayMethodHasSpeciesSupport$2;
|
|
551
|
-
|
|
552
|
-
var HAS_SPECIES_SUPPORT$1 = arrayMethodHasSpeciesSupport$1('map');
|
|
553
|
-
|
|
554
|
-
// `Array.prototype.map` method
|
|
555
|
-
// https://tc39.es/ecma262/#sec-array.prototype.map
|
|
556
|
-
// with adding support of @@species
|
|
557
|
-
$$1({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$1 }, {
|
|
558
|
-
map: function map(callbackfn /* , thisArg */) {
|
|
559
|
-
return $map(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
|
|
560
|
-
}
|
|
561
|
-
});
|
|
562
|
-
|
|
563
526
|
var es_array_splice = {};
|
|
564
527
|
|
|
565
528
|
'use strict';
|
|
@@ -572,7 +535,7 @@ var doesNotExceedSafeInteger = doesNotExceedSafeInteger$1;
|
|
|
572
535
|
var arraySpeciesCreate = arraySpeciesCreate$1;
|
|
573
536
|
var createProperty = createProperty$1;
|
|
574
537
|
var deletePropertyOrThrow = deletePropertyOrThrow$1;
|
|
575
|
-
var arrayMethodHasSpeciesSupport = arrayMethodHasSpeciesSupport$
|
|
538
|
+
var arrayMethodHasSpeciesSupport = arrayMethodHasSpeciesSupport$1;
|
|
576
539
|
|
|
577
540
|
var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('splice');
|
|
578
541
|
|