@frollo/frollo-web-ui 6.0.1 → 6.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 +289 -257
- package/esm/{add-to-unscopables-31609885.js → add-to-unscopables-ee05b58f.js} +2 -2
- package/esm/{array-iteration-ec356eb3.js → array-iteration-8267bf22.js} +2 -2
- package/esm/{array-method-has-species-support-8a4b1310.js → array-method-has-species-support-6c675094.js} +1 -1
- package/esm/{array-method-is-strict-fc2e0d8d.js → array-method-is-strict-d313436f.js} +1 -1
- package/esm/{array-species-create-b125f4a4.js → array-species-create-1c67e297.js} +2 -2
- package/esm/{classof-ee4b3b5b.js → classof-d44bf093.js} +1 -1
- package/esm/{create-property-c70ecc08.js → create-property-eb329361.js} +1 -1
- package/esm/{does-not-exceed-safe-integer-8e0042ec.js → does-not-exceed-safe-integer-de37ce28.js} +1 -1
- package/esm/{es.array.concat-fe990345.js → es.array.concat-99b85557.js} +6 -6
- package/esm/es.array.find-1ded15d5.js +28 -0
- package/esm/{es.array.includes-a06445a5.js → es.array.includes-08e25019.js} +3 -3
- package/esm/es.array.map-c56ebffd.js +22 -0
- package/esm/{es.date.to-string-1ffba857.js → es.date.to-string-15eb9936.js} +1 -1
- package/esm/{es.function.name-6daefaeb.js → es.function.name-6cafd747.js} +1 -1
- package/esm/{es.number.constructor-98bae04f.js → es.number.constructor-fb16fe05.js} +2 -2
- package/esm/es.object.to-string-4b07c4d1.js +24 -0
- package/esm/{es.string.includes-ade04f96.js → es.string.includes-061e8272.js} +3 -3
- package/esm/{es.string.iterator-0992bb28.js → es.string.iterator-25db8cd2.js} +8 -8
- package/esm/{export-8a363004.js → export-10c4adbc.js} +1 -1
- package/esm/{function-apply-b908d7e6.js → function-apply-e17cf65b.js} +1 -1
- package/esm/fw-accordion.js +11 -7
- package/esm/fw-animations.js +3 -3
- package/esm/fw-bar-chart.js +16 -17
- package/esm/{fw-button-b00853dd.js → fw-button-c8502414.js} +1 -1
- package/esm/fw-button.js +6 -7
- package/esm/fw-checkbox.js +9 -9
- package/esm/fw-date-picker.js +10 -10
- package/esm/fw-drawer.js +6 -7
- package/esm/{fw-dropdown-1c89f793.js → fw-dropdown-6856e66e.js} +3 -2
- package/esm/fw-dropdown.js +11 -11
- package/esm/{fw-image-af8c5745.js → fw-image-aca2c61d.js} +10 -9
- package/esm/fw-image.js +17 -17
- package/esm/{fw-input-46dd3134.js → fw-input-259e2e18.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 +12 -11
- 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-23f78218.js} +117 -20
- package/esm/fw-table.js +11 -9
- package/esm/fw-tabs.js +9 -10
- package/esm/{fw-tag-fdcaf92c.js → fw-tag-ac28200a.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-6758f755.js} +13 -13
- package/esm/index.js +38 -38
- package/esm/{is-forced-fc680e39.js → is-forced-7cb3ee8f.js} +1 -1
- package/esm/{object-create-bc771493.js → object-create-51bf02dc.js} +13 -4
- package/esm/regexp-flags-c09864e5.js +50 -0
- package/esm/{web.timers-c5316125.js → web.timers-e406c8e6.js} +3 -3
- package/frollo-web-ui.esm.js +308 -276
- package/index.d.ts +49 -13
- package/package.json +1 -1
- package/types/components/fw-accordion/fw-accordion.vue.d.ts +4 -2
- package/types/components/fw-navigation-menu/index.types.d.ts +1 -0
- package/types/components/fw-provider-list/fw-provider-list.vue.d.ts +41 -9
- package/types/components/fw-table/fw-table.vue.d.ts +3 -2
- package/web-components/index.js +308 -276
- 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-input.js
CHANGED
|
@@ -1,21 +1,20 @@
|
|
|
1
|
-
export { s as FwInput } from './fw-input-
|
|
2
|
-
import './es.array.includes-
|
|
3
|
-
import './is-forced-
|
|
4
|
-
import './export-
|
|
5
|
-
import './add-to-unscopables-
|
|
6
|
-
import './object-create-
|
|
7
|
-
import './
|
|
8
|
-
import './
|
|
9
|
-
import './classof-ee4b3b5b.js';
|
|
1
|
+
export { s as FwInput } from './fw-input-259e2e18.js';
|
|
2
|
+
import './es.array.includes-08e25019.js';
|
|
3
|
+
import './is-forced-7cb3ee8f.js';
|
|
4
|
+
import './export-10c4adbc.js';
|
|
5
|
+
import './add-to-unscopables-ee05b58f.js';
|
|
6
|
+
import './object-create-51bf02dc.js';
|
|
7
|
+
import './es.number.constructor-fb16fe05.js';
|
|
8
|
+
import './classof-d44bf093.js';
|
|
10
9
|
import 'vue';
|
|
11
10
|
import './index-bced3b35.js';
|
|
12
11
|
import './check-94a5917a.js';
|
|
13
12
|
import './vee-validate.esm-a17a23c3.js';
|
|
14
13
|
import './uniqueId-fe08534a.js';
|
|
15
|
-
import './es.function.name-
|
|
16
|
-
import './es.array.concat-
|
|
17
|
-
import './array-species-create-
|
|
18
|
-
import './does-not-exceed-safe-integer-
|
|
19
|
-
import './create-property-
|
|
20
|
-
import './array-method-has-species-support-
|
|
14
|
+
import './es.function.name-6cafd747.js';
|
|
15
|
+
import './es.array.concat-99b85557.js';
|
|
16
|
+
import './array-species-create-1c67e297.js';
|
|
17
|
+
import './does-not-exceed-safe-integer-de37ce28.js';
|
|
18
|
+
import './create-property-eb329361.js';
|
|
19
|
+
import './array-method-has-species-support-6c675094.js';
|
|
21
20
|
import './style-inject.es-1f59c1d0.js';
|
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-fb16fe05.js';
|
|
5
5
|
import './style-inject.es-1f59c1d0.js';
|
|
6
|
-
import './is-forced-
|
|
7
|
-
import './classof-
|
|
6
|
+
import './is-forced-7cb3ee8f.js';
|
|
7
|
+
import './classof-d44bf093.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-08e25019.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-c8502414.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-7cb3ee8f.js';
|
|
7
|
+
import './export-10c4adbc.js';
|
|
8
|
+
import './add-to-unscopables-ee05b58f.js';
|
|
9
|
+
import './object-create-51bf02dc.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-c8502414.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-08e25019.js';
|
|
5
|
+
import './is-forced-7cb3ee8f.js';
|
|
6
|
+
import './export-10c4adbc.js';
|
|
7
|
+
import './add-to-unscopables-ee05b58f.js';
|
|
8
|
+
import './object-create-51bf02dc.js';
|
|
10
9
|
import './fw-loading-spinner-72d70258.js';
|
|
11
10
|
import './index-bced3b35.js';
|
|
12
11
|
import './check-94a5917a.js';
|
|
@@ -108,13 +107,14 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
108
107
|
to: item.to,
|
|
109
108
|
external: item.external,
|
|
110
109
|
size: "md",
|
|
111
|
-
"aria-current": "page"
|
|
110
|
+
"aria-current": "page",
|
|
111
|
+
onClick: item.onClick
|
|
112
112
|
}, {
|
|
113
113
|
"default": withCtx(function () {
|
|
114
114
|
return [createTextVNode(toDisplayString(item.label), 1)];
|
|
115
115
|
}),
|
|
116
116
|
_: 2
|
|
117
|
-
}, 1032, ["href", "to", "external"]);
|
|
117
|
+
}, 1032, ["href", "to", "external", "onClick"]);
|
|
118
118
|
}), 128))])])) : createCommentVNode("", true), _ctx.actionLabel ? (openBlock(), createElementBlock("div", _hoisted_5, [createVNode(_component_FwButton, {
|
|
119
119
|
onClick: _ctx.actionClicked,
|
|
120
120
|
size: "md",
|
|
@@ -154,13 +154,14 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
154
154
|
to: item.to,
|
|
155
155
|
external: item.external,
|
|
156
156
|
size: "md",
|
|
157
|
-
"aria-current": "page"
|
|
157
|
+
"aria-current": "page",
|
|
158
|
+
onClick: item.onClick
|
|
158
159
|
}, {
|
|
159
160
|
"default": withCtx(function () {
|
|
160
161
|
return [createTextVNode(toDisplayString(item.label), 1)];
|
|
161
162
|
}),
|
|
162
163
|
_: 2
|
|
163
|
-
}, 1032, ["href", "to", "external"]);
|
|
164
|
+
}, 1032, ["href", "to", "external", "onClick"]);
|
|
164
165
|
}), 128))]), _ctx.actionLabel ? (openBlock(), createBlock(_component_FwButton, {
|
|
165
166
|
key: 0,
|
|
166
167
|
"class": "w-full rounded-md",
|
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-08e25019.js';
|
|
3
|
+
import './web.timers-e406c8e6.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-7cb3ee8f.js';
|
|
9
|
+
import './export-10c4adbc.js';
|
|
10
|
+
import './add-to-unscopables-ee05b58f.js';
|
|
11
|
+
import './object-create-51bf02dc.js';
|
|
12
|
+
import './function-apply-e17cf65b.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-fb16fe05.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-7cb3ee8f.js';
|
|
5
|
+
import './classof-d44bf093.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-c09864e5.js';
|
|
3
|
+
import './is-forced-7cb3ee8f.js';
|
|
4
|
+
import { _ as _export } from './export-10c4adbc.js';
|
|
5
|
+
import { a as arrayIteration } from './array-iteration-8267bf22.js';
|
|
6
|
+
import { a as arrayMethodHasSpeciesSupport$1 } from './array-method-has-species-support-6c675094.js';
|
|
7
|
+
import './es.object.to-string-4b07c4d1.js';
|
|
8
|
+
import './es.array.includes-08e25019.js';
|
|
9
|
+
import './es.string.includes-061e8272.js';
|
|
10
|
+
import { _ as __default__, s as script$4, a as script$5 } from './fw-table-row-23f78218.js';
|
|
11
|
+
import './es.date.to-string-15eb9936.js';
|
|
12
|
+
import './es.function.name-6cafd747.js';
|
|
13
|
+
import './es.array.map-c56ebffd.js';
|
|
14
|
+
import './es.array.concat-99b85557.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-259e2e18.js';
|
|
17
|
+
import { _ as __default__$1 } from './fw-tag-ac28200a.js';
|
|
18
|
+
import { s as script$3 } from './fw-button-c8502414.js';
|
|
19
|
+
import { s as script$2 } from './fw-dropdown-6856e66e.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-51bf02dc.js';
|
|
23
|
+
import './array-species-create-1c67e297.js';
|
|
24
|
+
import './classof-d44bf093.js';
|
|
25
|
+
import './add-to-unscopables-ee05b58f.js';
|
|
26
|
+
import './es.number.constructor-fb16fe05.js';
|
|
27
|
+
import './create-property-eb329361.js';
|
|
28
|
+
import './array-method-is-strict-d313436f.js';
|
|
31
29
|
import './get-root-colours-865a52ba.js';
|
|
32
30
|
import './fw-loading-bar-f5ca605c.js';
|
|
31
|
+
import './does-not-exceed-safe-integer-de37ce28.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-1ded15d5.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-c8502414.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-08e25019.js';
|
|
6
|
+
import './is-forced-7cb3ee8f.js';
|
|
7
|
+
import './export-10c4adbc.js';
|
|
8
|
+
import './add-to-unscopables-ee05b58f.js';
|
|
9
|
+
import './object-create-51bf02dc.js';
|
|
11
10
|
import './fw-loading-spinner-72d70258.js';
|
|
12
11
|
import './check-94a5917a.js';
|
|
13
12
|
|