@frollo/frollo-web-ui 5.0.5 → 6.0.1
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 +917 -303
- package/esm/defineProperty-b85f2e0f.js +42 -0
- package/esm/fw-animations.js +2 -2
- package/esm/{fw-button-99dba2bc.js → fw-button-b00853dd.js} +1 -1
- package/esm/fw-button.js +3 -3
- package/esm/fw-date-picker.js +17 -1814
- package/esm/fw-drawer.js +3 -3
- package/esm/{fw-dropdown-b476e015.js → fw-dropdown-1c89f793.js} +1 -1
- package/esm/fw-dropdown.js +2 -2
- package/esm/{fw-image-ae643123.js → fw-image-af8c5745.js} +1 -1
- package/esm/fw-image.js +2 -2
- package/esm/{fw-input-fdc8fe1b.js → fw-input-46dd3134.js} +1 -1
- package/esm/fw-input.js +2 -2
- package/esm/{fw-loading-spinner-cc1ca2fa.js → fw-loading-spinner-72d70258.js} +1 -1
- package/esm/fw-modal.js +4 -4
- package/esm/fw-navigation-menu.js +3 -3
- package/esm/fw-popover.js +630 -0
- package/esm/fw-provider-list.js +381 -22
- package/esm/fw-sidebar-menu.js +3 -3
- package/esm/{fw-table-row-e8520a1d.js → fw-table-row-1050a386.js} +1 -1
- package/esm/fw-table.js +2 -2
- package/esm/{fw-tag-a8a83c0a.js → fw-tag-fdcaf92c.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-0c5cae4f.js +1800 -0
- package/esm/{index-0a63f2c3.js → index-bced3b35.js} +123 -109
- package/esm/index.js +25 -20
- package/frollo-web-ui.esm.js +955 -324
- package/icons/ellipsis.svg +3 -0
- package/icons/index.ts +3 -1
- package/index.d.ts +173 -5
- package/package.json +1 -1
- package/types/components/fw-popover/fw-popover.vue.d.ts +157 -0
- package/types/components/fw-popover/index.d.ts +2 -0
- package/types/components/fw-popover/index.types.d.ts +11 -0
- package/types/components/index.d.ts +1 -0
- package/types/components/index.types.d.ts +1 -0
- package/types/icons/index.d.ts +2 -1
- package/web-components/index.js +959 -328
- package/esm/index-6423a6ab.js +0 -422
package/esm/fw-provider-list.js
CHANGED
|
@@ -1,37 +1,396 @@
|
|
|
1
|
-
|
|
1
|
+
import { _ as _defineProperty } from './defineProperty-b85f2e0f.js';
|
|
2
2
|
import './delete-property-or-throw-cd4c57d6.js';
|
|
3
|
-
import './is-forced-fc680e39.js';
|
|
4
|
-
import './export-8a363004.js';
|
|
5
|
-
import './
|
|
6
|
-
import './array-
|
|
7
|
-
import './array-species-create-b125f4a4.js';
|
|
8
|
-
import './classof-ee4b3b5b.js';
|
|
9
|
-
import './array-method-has-species-support-8a4b1310.js';
|
|
3
|
+
import { d as descriptors, h as fails$2, q as anObject$2, b as defineBuiltIn$2, n as functionCall, A as hasOwnProperty_1, B as objectIsPrototypeOf, C as functionName } from './is-forced-fc680e39.js';
|
|
4
|
+
import { _ as _export } from './export-8a363004.js';
|
|
5
|
+
import { a as arrayIteration } from './array-iteration-ec356eb3.js';
|
|
6
|
+
import { a as arrayMethodHasSpeciesSupport$1 } from './array-method-has-species-support-8a4b1310.js';
|
|
10
7
|
import './es.array.find-67b3b514.js';
|
|
11
|
-
import './add-to-unscopables-31609885.js';
|
|
12
|
-
import './object-create-bc771493.js';
|
|
13
8
|
import './es.array.includes-a06445a5.js';
|
|
14
9
|
import './es.string.includes-ade04f96.js';
|
|
15
|
-
import './
|
|
10
|
+
import { o as objectCreate } from './object-create-bc771493.js';
|
|
11
|
+
import { t as toString$1 } from './es.number.constructor-98bae04f.js';
|
|
16
12
|
import './es.date.to-string-1ffba857.js';
|
|
17
|
-
import './es.array.map-ae6c9437.js';
|
|
13
|
+
import { r as regexpFlags } from './es.array.map-ae6c9437.js';
|
|
18
14
|
import './es.function.name-6daefaeb.js';
|
|
19
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';
|
|
17
|
+
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-46dd3134.js';
|
|
19
|
+
import { _ as __default__$1 } from './fw-tag-fdcaf92c.js';
|
|
20
|
+
import { s as script$3 } from './fw-button-b00853dd.js';
|
|
21
|
+
import { s as script$2 } from './fw-dropdown-1c89f793.js';
|
|
22
|
+
import { f as render$1, g as render$2, i as render$3 } from './index-bced3b35.js';
|
|
23
|
+
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
24
|
+
import './object-keys-17f3b440.js';
|
|
25
|
+
import './array-species-create-b125f4a4.js';
|
|
26
|
+
import './classof-ee4b3b5b.js';
|
|
27
|
+
import './add-to-unscopables-31609885.js';
|
|
20
28
|
import './does-not-exceed-safe-integer-8e0042ec.js';
|
|
21
29
|
import './create-property-c70ecc08.js';
|
|
22
|
-
import './fw-table-row-e8520a1d.js';
|
|
23
30
|
import './array-method-is-strict-fc2e0d8d.js';
|
|
24
|
-
import './index-0a63f2c3.js';
|
|
25
|
-
import 'vue';
|
|
26
|
-
import './check-94a5917a.js';
|
|
27
31
|
import './get-root-colours-865a52ba.js';
|
|
28
32
|
import './fw-loading-bar-f5ca605c.js';
|
|
29
|
-
import './style-inject.es-1f59c1d0.js';
|
|
30
|
-
import './fw-input-fdc8fe1b.js';
|
|
31
33
|
import './vee-validate.esm-a17a23c3.js';
|
|
32
34
|
import './uniqueId-fe08534a.js';
|
|
33
|
-
import './fw-tag-a8a83c0a.js';
|
|
34
35
|
import './fw-button.js';
|
|
35
|
-
import './fw-
|
|
36
|
-
import './
|
|
37
|
-
|
|
36
|
+
import './fw-loading-spinner-72d70258.js';
|
|
37
|
+
import './check-94a5917a.js';
|
|
38
|
+
|
|
39
|
+
var es_array_filter = {};
|
|
40
|
+
|
|
41
|
+
'use strict';
|
|
42
|
+
var $ = _export;
|
|
43
|
+
var $filter = arrayIteration.filter;
|
|
44
|
+
var arrayMethodHasSpeciesSupport = arrayMethodHasSpeciesSupport$1;
|
|
45
|
+
|
|
46
|
+
var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('filter');
|
|
47
|
+
|
|
48
|
+
// `Array.prototype.filter` method
|
|
49
|
+
// https://tc39.es/ecma262/#sec-array.prototype.filter
|
|
50
|
+
// with adding support of @@species
|
|
51
|
+
$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {
|
|
52
|
+
filter: function filter(callbackfn /* , thisArg */) {
|
|
53
|
+
return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
|
|
54
|
+
}
|
|
55
|
+
});
|
|
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
|
+
var script = defineComponent({
|
|
150
|
+
name: 'FwProviderList',
|
|
151
|
+
components: {
|
|
152
|
+
FwTable: __default__,
|
|
153
|
+
FwInput: script$1,
|
|
154
|
+
FwDropdown: script$2,
|
|
155
|
+
FwButton: script$3,
|
|
156
|
+
FwTableHead: script$4,
|
|
157
|
+
FwTableRow: script$5,
|
|
158
|
+
FwTag: __default__$1,
|
|
159
|
+
SolidCheckSvg: render$1,
|
|
160
|
+
SolidXMarkSvg: render$2,
|
|
161
|
+
SearchSvg: render$3
|
|
162
|
+
},
|
|
163
|
+
props: {
|
|
164
|
+
/**
|
|
165
|
+
* The header heading of the list.
|
|
166
|
+
*/
|
|
167
|
+
heading: {
|
|
168
|
+
type: String
|
|
169
|
+
},
|
|
170
|
+
/**
|
|
171
|
+
* The list items of the table items.
|
|
172
|
+
*/
|
|
173
|
+
items: {
|
|
174
|
+
type: Array,
|
|
175
|
+
required: true
|
|
176
|
+
},
|
|
177
|
+
/**
|
|
178
|
+
* The placeholder text for the sarch input.
|
|
179
|
+
*/
|
|
180
|
+
searchPlaceholder: {
|
|
181
|
+
type: String,
|
|
182
|
+
"default": 'Search'
|
|
183
|
+
},
|
|
184
|
+
/**
|
|
185
|
+
* The table header title.
|
|
186
|
+
*/
|
|
187
|
+
tableHeaderName: {
|
|
188
|
+
type: String,
|
|
189
|
+
"default": 'Name'
|
|
190
|
+
}
|
|
191
|
+
},
|
|
192
|
+
setup: function setup(props) {
|
|
193
|
+
var _options;
|
|
194
|
+
var searchFilterModel = ref('');
|
|
195
|
+
var statusFilterModel = ref('all');
|
|
196
|
+
var parsedItems = computed(function () {
|
|
197
|
+
if (typeof props.items === 'string') {
|
|
198
|
+
return JSON.parse(props.items);
|
|
199
|
+
}
|
|
200
|
+
return props.items;
|
|
201
|
+
});
|
|
202
|
+
var filteredTableItems = computed(function () {
|
|
203
|
+
var tempFilteredItems = parsedItems.value;
|
|
204
|
+
if (searchFilterModel.value) {
|
|
205
|
+
tempFilteredItems = tempFilteredItems.filter(function (item) {
|
|
206
|
+
return item.name.toString().toLowerCase().includes(searchFilterModel.value.toLowerCase());
|
|
207
|
+
});
|
|
208
|
+
}
|
|
209
|
+
if (statusFilterModel.value && statusFilterModel.value !== 'all') {
|
|
210
|
+
tempFilteredItems = tempFilteredItems.filter(function (item) {
|
|
211
|
+
return item.status === statusFilterModel.value;
|
|
212
|
+
});
|
|
213
|
+
}
|
|
214
|
+
return tempFilteredItems;
|
|
215
|
+
});
|
|
216
|
+
var options = (_options = {}, _defineProperty(_options, 'status', {
|
|
217
|
+
disabled: true
|
|
218
|
+
}), _defineProperty(_options, props.tableHeaderName, {
|
|
219
|
+
isSortable: true,
|
|
220
|
+
initSortOrder: 'asc'
|
|
221
|
+
}), _options);
|
|
222
|
+
var tableItems = computed(function () {
|
|
223
|
+
var _filteredTableItems$v;
|
|
224
|
+
return (_filteredTableItems$v = filteredTableItems.value) === null || _filteredTableItems$v === void 0 ? void 0 : _filteredTableItems$v.map(function (item) {
|
|
225
|
+
var _ref;
|
|
226
|
+
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;
|
|
227
|
+
});
|
|
228
|
+
});
|
|
229
|
+
var sortedTableItems = computed(function () {
|
|
230
|
+
var tempItems = tableItems.value;
|
|
231
|
+
return tempItems.sort(function (item) {
|
|
232
|
+
if (item.status === 'outage') {
|
|
233
|
+
return -1;
|
|
234
|
+
}
|
|
235
|
+
return 1;
|
|
236
|
+
});
|
|
237
|
+
});
|
|
238
|
+
return {
|
|
239
|
+
options: options,
|
|
240
|
+
sortedTableItems: sortedTableItems,
|
|
241
|
+
searchFilterModel: searchFilterModel,
|
|
242
|
+
statusFilterModel: statusFilterModel
|
|
243
|
+
};
|
|
244
|
+
}
|
|
245
|
+
});
|
|
246
|
+
|
|
247
|
+
var _hoisted_1 = {
|
|
248
|
+
"class": "fw-provider-list flex flex-col w-full space-y-4"
|
|
249
|
+
};
|
|
250
|
+
var _hoisted_2 = {
|
|
251
|
+
"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"
|
|
252
|
+
};
|
|
253
|
+
var _hoisted_3 = {
|
|
254
|
+
"class": "mb-0 uppercase flex-1 col-span-1"
|
|
255
|
+
};
|
|
256
|
+
var _hoisted_4 = {
|
|
257
|
+
"class": "col-span-2 flex flex-col space-y-4 md:space-y-0 md:flex-row md:space-x-4"
|
|
258
|
+
};
|
|
259
|
+
var _hoisted_5 = {
|
|
260
|
+
key: 0,
|
|
261
|
+
"class": "fw-provider-list--table w-full shadow-card"
|
|
262
|
+
};
|
|
263
|
+
var _hoisted_6 = /*#__PURE__*/createTextVNode("Status");
|
|
264
|
+
var _hoisted_7 = /*#__PURE__*/createTextVNode("Outage ");
|
|
265
|
+
var _hoisted_8 = /*#__PURE__*/createTextVNode(" Available");
|
|
266
|
+
var _hoisted_9 = {
|
|
267
|
+
key: 1
|
|
268
|
+
};
|
|
269
|
+
var _hoisted_10 = /*#__PURE__*/createElementVNode("h4", {
|
|
270
|
+
"class": "w-full font-medium text-center my-6"
|
|
271
|
+
}, "Sorry, we could not find any results.", -1);
|
|
272
|
+
var _hoisted_11 = [_hoisted_10];
|
|
273
|
+
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
274
|
+
var _component_SearchSvg = resolveComponent("SearchSvg");
|
|
275
|
+
var _component_SolidXMarkSvg = resolveComponent("SolidXMarkSvg");
|
|
276
|
+
var _component_FwButton = resolveComponent("FwButton");
|
|
277
|
+
var _component_FwInput = resolveComponent("FwInput");
|
|
278
|
+
var _component_FwDropdown = resolveComponent("FwDropdown");
|
|
279
|
+
var _component_FwTableHead = resolveComponent("FwTableHead");
|
|
280
|
+
var _component_FwTag = resolveComponent("FwTag");
|
|
281
|
+
var _component_SolidCheckSvg = resolveComponent("SolidCheckSvg");
|
|
282
|
+
var _component_FwTableRow = resolveComponent("FwTableRow");
|
|
283
|
+
var _component_FwTable = resolveComponent("FwTable");
|
|
284
|
+
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, {
|
|
285
|
+
modelValue: _ctx.searchFilterModel,
|
|
286
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = function ($event) {
|
|
287
|
+
return _ctx.searchFilterModel = $event;
|
|
288
|
+
}),
|
|
289
|
+
tabindex: "0",
|
|
290
|
+
name: "fw-provider-list--search-input",
|
|
291
|
+
"class": "rounded-full w-full",
|
|
292
|
+
type: "text",
|
|
293
|
+
rounded: "",
|
|
294
|
+
"enable-errors": false,
|
|
295
|
+
placeholder: _ctx.searchPlaceholder
|
|
296
|
+
}, {
|
|
297
|
+
prefix: withCtx(function () {
|
|
298
|
+
return [createVNode(_component_SearchSvg, {
|
|
299
|
+
"class": "text-primary w-5 h-5"
|
|
300
|
+
})];
|
|
301
|
+
}),
|
|
302
|
+
suffix: withCtx(function () {
|
|
303
|
+
return [_ctx.searchFilterModel ? (openBlock(), createBlock(_component_FwButton, {
|
|
304
|
+
key: 0,
|
|
305
|
+
onClick: _cache[0] || (_cache[0] = function ($event) {
|
|
306
|
+
return _ctx.searchFilterModel = '';
|
|
307
|
+
}),
|
|
308
|
+
variant: "link",
|
|
309
|
+
size: "sm",
|
|
310
|
+
"class": "w-full !rounded-full",
|
|
311
|
+
rounded: ""
|
|
312
|
+
}, {
|
|
313
|
+
"default": withCtx(function () {
|
|
314
|
+
return [createVNode(_component_SolidXMarkSvg)];
|
|
315
|
+
}),
|
|
316
|
+
_: 1
|
|
317
|
+
})) : createCommentVNode("", true)];
|
|
318
|
+
}),
|
|
319
|
+
_: 1
|
|
320
|
+
}, 8, ["modelValue", "placeholder"]), createVNode(_component_FwDropdown, {
|
|
321
|
+
"class": "w-full",
|
|
322
|
+
name: "fw-provider-list--status-dropdown",
|
|
323
|
+
modelValue: _ctx.statusFilterModel,
|
|
324
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = function ($event) {
|
|
325
|
+
return _ctx.statusFilterModel = $event;
|
|
326
|
+
}),
|
|
327
|
+
"enable-errors": false,
|
|
328
|
+
options: [{
|
|
329
|
+
label: 'All statuses',
|
|
330
|
+
value: 'all'
|
|
331
|
+
}, {
|
|
332
|
+
label: 'Outage',
|
|
333
|
+
value: 'outage'
|
|
334
|
+
}, {
|
|
335
|
+
label: 'Available',
|
|
336
|
+
value: 'supported'
|
|
337
|
+
}]
|
|
338
|
+
}, null, 8, ["modelValue"])])]), _ctx.sortedTableItems && _ctx.sortedTableItems.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_5, [createVNode(_component_FwTable, {
|
|
339
|
+
"class": "w-full min-w-max bg-grey-20",
|
|
340
|
+
items: _ctx.sortedTableItems,
|
|
341
|
+
options: _ctx.options
|
|
342
|
+
}, {
|
|
343
|
+
preHead: withCtx(function () {
|
|
344
|
+
return [createVNode(_component_FwTableHead, {
|
|
345
|
+
"class": "w-[150px] md:w-[200px]"
|
|
346
|
+
}, {
|
|
347
|
+
"default": withCtx(function () {
|
|
348
|
+
return [_hoisted_6];
|
|
349
|
+
}),
|
|
350
|
+
_: 1
|
|
351
|
+
})];
|
|
352
|
+
}),
|
|
353
|
+
preRow: withCtx(function (_ref) {
|
|
354
|
+
var row = _ref.row;
|
|
355
|
+
return [createVNode(_component_FwTableRow, {
|
|
356
|
+
"class": "w-[150px] md:w-[200px] uppercase"
|
|
357
|
+
}, {
|
|
358
|
+
"default": withCtx(function () {
|
|
359
|
+
return [row.status === 'outage' ? (openBlock(), createBlock(_component_FwTag, {
|
|
360
|
+
key: 0,
|
|
361
|
+
variant: "error",
|
|
362
|
+
size: "md"
|
|
363
|
+
}, {
|
|
364
|
+
"default": withCtx(function () {
|
|
365
|
+
return [createVNode(_component_SolidXMarkSvg, {
|
|
366
|
+
"class": "w-4 h-4 mr-1"
|
|
367
|
+
}), _hoisted_7];
|
|
368
|
+
}),
|
|
369
|
+
_: 1
|
|
370
|
+
})) : (openBlock(), createBlock(_component_FwTag, {
|
|
371
|
+
key: 1,
|
|
372
|
+
variant: "success",
|
|
373
|
+
size: "md"
|
|
374
|
+
}, {
|
|
375
|
+
"default": withCtx(function () {
|
|
376
|
+
return [createVNode(_component_SolidCheckSvg, {
|
|
377
|
+
"class": "w-4 h-4 mr-1"
|
|
378
|
+
}), _hoisted_8];
|
|
379
|
+
}),
|
|
380
|
+
_: 1
|
|
381
|
+
}))];
|
|
382
|
+
}),
|
|
383
|
+
_: 2
|
|
384
|
+
}, 1024)];
|
|
385
|
+
}),
|
|
386
|
+
_: 1
|
|
387
|
+
}, 8, ["items", "options"])])) : (openBlock(), createElementBlock("div", _hoisted_9, _hoisted_11))]);
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
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}";
|
|
391
|
+
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}";
|
|
392
|
+
styleInject(css_248z);
|
|
393
|
+
|
|
394
|
+
script.render = render;
|
|
395
|
+
|
|
396
|
+
export { script as FwProviderList };
|
package/esm/fw-sidebar-menu.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
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-
|
|
3
|
-
import { h as render$1 } from './index-
|
|
2
|
+
import { s as script$1 } from './fw-button-b00853dd.js';
|
|
3
|
+
import { h as render$1 } from './index-bced3b35.js';
|
|
4
4
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
5
5
|
import './es.array.includes-a06445a5.js';
|
|
6
6
|
import './is-forced-fc680e39.js';
|
|
@@ -8,7 +8,7 @@ import './export-8a363004.js';
|
|
|
8
8
|
import './add-to-unscopables-31609885.js';
|
|
9
9
|
import './object-create-bc771493.js';
|
|
10
10
|
import './object-keys-17f3b440.js';
|
|
11
|
-
import './fw-loading-spinner-
|
|
11
|
+
import './fw-loading-spinner-72d70258.js';
|
|
12
12
|
import './check-94a5917a.js';
|
|
13
13
|
|
|
14
14
|
var script = defineComponent({
|
|
@@ -4,7 +4,7 @@ import { i as toAbsoluteIndex$1, l as lengthOfArrayLike$2, j as engineUserAgent,
|
|
|
4
4
|
import { _ as _export } from './export-8a363004.js';
|
|
5
5
|
import { c as createProperty$1 } from './create-property-c70ecc08.js';
|
|
6
6
|
import { a as arrayMethodIsStrict$1 } from './array-method-is-strict-fc2e0d8d.js';
|
|
7
|
-
import { d as render$3, e as render$4 } from './index-
|
|
7
|
+
import { d as render$3, e as render$4 } from './index-bced3b35.js';
|
|
8
8
|
import { defineComponent, computed, ref, onMounted, useCssVars, pushScopeId, popScopeId, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, renderSlot, createCommentVNode, Fragment, renderList, withKeys, toDisplayString, createBlock, createVNode } from 'vue';
|
|
9
9
|
import { u as useColours } from './get-root-colours-865a52ba.js';
|
|
10
10
|
import { s as script$2 } from './fw-loading-bar-f5ca605c.js';
|
package/esm/fw-table.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { _ as FwTable, s as FwTableHead, a as FwTableRow } from './fw-table-row-
|
|
1
|
+
export { _ as FwTable, s as FwTableHead, a as FwTableRow } from './fw-table-row-1050a386.js';
|
|
2
2
|
import './es.number.constructor-98bae04f.js';
|
|
3
3
|
import './is-forced-fc680e39.js';
|
|
4
4
|
import './classof-ee4b3b5b.js';
|
|
@@ -7,7 +7,7 @@ import './export-8a363004.js';
|
|
|
7
7
|
import './object-keys-17f3b440.js';
|
|
8
8
|
import './create-property-c70ecc08.js';
|
|
9
9
|
import './array-method-is-strict-fc2e0d8d.js';
|
|
10
|
-
import './index-
|
|
10
|
+
import './index-bced3b35.js';
|
|
11
11
|
import 'vue';
|
|
12
12
|
import './check-94a5917a.js';
|
|
13
13
|
import './get-root-colours-865a52ba.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import './es.array.includes-a06445a5.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
|
-
import { c as render$1 } from './index-
|
|
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-b00853dd.js';
|
|
7
7
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
8
8
|
|
|
9
9
|
var __default__ = defineComponent({
|
package/esm/fw-tag.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { _ as FwTag } from './fw-tag-
|
|
1
|
+
export { _ as FwTag } from './fw-tag-fdcaf92c.js';
|
|
2
2
|
import './es.array.includes-a06445a5.js';
|
|
3
3
|
import './is-forced-fc680e39.js';
|
|
4
4
|
import './export-8a363004.js';
|
|
@@ -7,9 +7,9 @@ import './object-create-bc771493.js';
|
|
|
7
7
|
import './object-keys-17f3b440.js';
|
|
8
8
|
import 'vue';
|
|
9
9
|
import './fw-button.js';
|
|
10
|
-
import './fw-button-
|
|
11
|
-
import './fw-loading-spinner-
|
|
12
|
-
import './index-
|
|
10
|
+
import './fw-button-b00853dd.js';
|
|
11
|
+
import './fw-loading-spinner-72d70258.js';
|
|
12
|
+
import './index-bced3b35.js';
|
|
13
13
|
import './check-94a5917a.js';
|
|
14
14
|
import './style-inject.es-1f59c1d0.js';
|
|
15
15
|
import './get-root-colours-865a52ba.js';
|
package/esm/fw-toast.js
CHANGED
|
@@ -5,7 +5,7 @@ import './es.array.concat-fe990345.js';
|
|
|
5
5
|
import './web.timers-c5316125.js';
|
|
6
6
|
import { defineComponent, ref, computed, onMounted, watchEffect, openBlock, createElementBlock, Fragment, createBlock, Teleport, createVNode, TransitionGroup, createCommentVNode, Transition, withCtx, normalizeClass, createElementVNode, resolveDynamicComponent, renderSlot } from 'vue';
|
|
7
7
|
import { u as uniqueId } from './uniqueId-fe08534a.js';
|
|
8
|
-
import { f as render$1, g as render$2, a as render$3 } from './index-
|
|
8
|
+
import { f as render$1, g as render$2, a as render$3 } from './index-bced3b35.js';
|
|
9
9
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
10
10
|
import './is-forced-fc680e39.js';
|
|
11
11
|
import './export-8a363004.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, createElementVNode, resolveComponent, openBlock, createBlock, withCtx, createCommentVNode, toDisplayString, createElementBlock } from 'vue';
|
|
2
2
|
import { s as script$1 } from './fw-card-1b6a67fe.js';
|
|
3
|
-
import { s as script$2 } from './fw-image-
|
|
3
|
+
import { s as script$2 } from './fw-image-af8c5745.js';
|
|
4
4
|
import './es.array.includes-a06445a5.js';
|
|
5
5
|
import './is-forced-fc680e39.js';
|
|
6
6
|
import './export-8a363004.js';
|
|
@@ -19,7 +19,7 @@ import './web.timers-c5316125.js';
|
|
|
19
19
|
import './function-apply-b908d7e6.js';
|
|
20
20
|
import './fw-loading-bar-f5ca605c.js';
|
|
21
21
|
import './style-inject.es-1f59c1d0.js';
|
|
22
|
-
import './index-
|
|
22
|
+
import './index-bced3b35.js';
|
|
23
23
|
import './check-94a5917a.js';
|
|
24
24
|
|
|
25
25
|
var script = defineComponent({
|