@frollo/frollo-web-ui 1.2.9 → 3.0.0
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 +1116 -618
- package/esm/{add-to-unscopables-a5032b1d.js → add-to-unscopables-3f461c07.js} +3 -3
- package/esm/array-iteration-98e2cf9a.js +93 -0
- package/esm/array-method-is-strict-544b103f.js +14 -0
- package/esm/array-species-create-5fc23c89.js +98 -0
- package/esm/{classof-088c9833.js → classof-a45668b6.js} +2 -2
- package/esm/create-property-558a3c24.js +15 -0
- package/esm/{es.array.find-54b8f84b.js → es.array.find-36d8f2f0.js} +6 -6
- package/esm/{es.array.includes-9a6e4066.js → es.array.includes-df8e6e35.js} +4 -4
- package/esm/{es.function.name-2fa3a718.js → es.function.name-b642b74f.js} +1 -1
- package/esm/{es.number.constructor-b7faae1f.js → es.number.constructor-f279ce82.js} +3 -3
- package/esm/{function-name-c49146fc.js → function-name-e2f6ea36.js} +1 -1
- package/esm/fw-animations.js +7 -7
- package/esm/{fw-button-6aa9b68f.js → fw-button-df5c923f.js} +2 -2
- package/esm/fw-button.js +8 -8
- package/esm/fw-card-8d3f4ab5.js +95 -0
- package/esm/fw-card.js +2 -95
- package/esm/fw-checkbox.js +2 -2
- package/esm/fw-dropdown.js +10 -9
- package/esm/fw-image-ec7b02c5.js +770 -0
- package/esm/fw-image.js +19 -847
- package/esm/fw-input.js +6 -6
- package/esm/{fw-loading-spinner-649aa589.js → fw-loading-spinner-9b7c6855.js} +1 -1
- package/esm/fw-loading.js +5 -5
- package/esm/fw-modal.js +228 -11
- package/esm/fw-navigation-menu.js +8 -8
- package/esm/fw-progress-bar.js +5 -5
- package/esm/fw-table.js +8 -7
- package/esm/fw-tabs.js +9 -8
- package/esm/fw-tag.js +5 -5
- package/esm/fw-toast.js +372 -0
- package/esm/fw-transactions-card.js +118 -0
- package/esm/{index-403af654.js → index-4605e00e.js} +130 -88
- package/esm/index.js +82 -47
- package/esm/{is-forced-fd46b5f2.js → is-forced-ddf227e6.js} +2 -2
- package/esm/{object-keys-3c73c404.js → object-keys-6a890c6f.js} +2 -2
- package/esm/{to-string-c2bd1f4d.js → to-string-685748aa.js} +2 -2
- package/esm/uniqueId-fe08534a.js +279 -0
- package/esm/web.timers-4a6aaab8.js +82 -0
- package/frollo-web-ui.esm.js +1208 -668
- package/icons/bullseye.svg +3 -0
- package/icons/icons.stories.ts +3 -3
- package/icons/index.ts +7 -1
- package/icons/solid-check.svg +3 -0
- package/icons/solid-xmark.svg +3 -0
- package/index.d.ts +261 -22
- package/package.json +2 -1
- package/styles/web-components.scss +8 -0
- package/types/components/fw-modal/fw-modal.vue.d.ts +30 -0
- package/types/components/fw-modal/index.types.d.ts +2 -0
- package/types/components/fw-toast/fw-toast.vue.d.ts +121 -0
- package/types/components/fw-toast/index.d.ts +2 -0
- package/types/components/fw-toast/index.types.d.ts +13 -0
- package/types/components/fw-transactions-card/fw-transactions-card.vue.d.ts +58 -0
- package/types/components/fw-transactions-card/index.d.ts +2 -0
- package/types/components/fw-transactions-card/index.types.d.ts +6 -0
- package/types/components/index.d.ts +2 -0
- package/types/components/index.types.d.ts +2 -0
- package/types/icons/index.d.ts +4 -1
- package/types/index.browser-umd.d.ts +1 -0
- package/types/services/index.d.ts +1 -0
- package/types/services/modal.d.ts +2 -2
- package/types/services/toast.d.ts +9 -0
- package/web-components/index.js +21435 -0
- package/esm/array-iteration-4f83e223.js +0 -186
- package/esm/create-property-da6d232b.js +0 -26
- package/esm/index-61020c18.js +0 -475
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { d as descriptors, G as v8PrototypeDefineBug, o as objectDefineProperty, c as anObject$2, u as getBuiltIn$1, a as documentCreateElement$1, w as wellKnownSymbol$1 } from './function-name-
|
|
2
|
-
import { t as toIndexedObject$1,
|
|
3
|
-
import { o as objectKeys$1 } from './object-keys-
|
|
1
|
+
import { d as descriptors, G as v8PrototypeDefineBug, o as objectDefineProperty, c as anObject$2, u as getBuiltIn$1, a as documentCreateElement$1, w as wellKnownSymbol$1 } from './function-name-e2f6ea36.js';
|
|
2
|
+
import { t as toIndexedObject$1, m as enumBugKeys$1, q as hiddenKeys$1, s as sharedKey$1 } from './is-forced-ddf227e6.js';
|
|
3
|
+
import { o as objectKeys$1 } from './object-keys-6a890c6f.js';
|
|
4
4
|
|
|
5
5
|
var objectDefineProperties = {};
|
|
6
6
|
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { f as functionUncurryThis, h as aCallable$1, F as functionBindNative, i as toObject$1 } from './function-name-e2f6ea36.js';
|
|
2
|
+
import { p as indexedObject, l as lengthOfArrayLike$1 } from './is-forced-ddf227e6.js';
|
|
3
|
+
import { b as arraySpeciesCreate$1 } from './array-species-create-5fc23c89.js';
|
|
4
|
+
|
|
5
|
+
var uncurryThis$1 = functionUncurryThis;
|
|
6
|
+
var aCallable = aCallable$1;
|
|
7
|
+
var NATIVE_BIND = functionBindNative;
|
|
8
|
+
|
|
9
|
+
var bind$1 = uncurryThis$1(uncurryThis$1.bind);
|
|
10
|
+
|
|
11
|
+
// optional / simple context binding
|
|
12
|
+
var functionBindContext = function (fn, that) {
|
|
13
|
+
aCallable(fn);
|
|
14
|
+
return that === undefined ? fn : NATIVE_BIND ? bind$1(fn, that) : function (/* ...args */) {
|
|
15
|
+
return fn.apply(that, arguments);
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
var bind = functionBindContext;
|
|
20
|
+
var uncurryThis = functionUncurryThis;
|
|
21
|
+
var IndexedObject = indexedObject;
|
|
22
|
+
var toObject = toObject$1;
|
|
23
|
+
var lengthOfArrayLike = lengthOfArrayLike$1;
|
|
24
|
+
var arraySpeciesCreate = arraySpeciesCreate$1;
|
|
25
|
+
|
|
26
|
+
var push = uncurryThis([].push);
|
|
27
|
+
|
|
28
|
+
// `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation
|
|
29
|
+
var createMethod = function (TYPE) {
|
|
30
|
+
var IS_MAP = TYPE == 1;
|
|
31
|
+
var IS_FILTER = TYPE == 2;
|
|
32
|
+
var IS_SOME = TYPE == 3;
|
|
33
|
+
var IS_EVERY = TYPE == 4;
|
|
34
|
+
var IS_FIND_INDEX = TYPE == 6;
|
|
35
|
+
var IS_FILTER_REJECT = TYPE == 7;
|
|
36
|
+
var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;
|
|
37
|
+
return function ($this, callbackfn, that, specificCreate) {
|
|
38
|
+
var O = toObject($this);
|
|
39
|
+
var self = IndexedObject(O);
|
|
40
|
+
var boundFunction = bind(callbackfn, that);
|
|
41
|
+
var length = lengthOfArrayLike(self);
|
|
42
|
+
var index = 0;
|
|
43
|
+
var create = specificCreate || arraySpeciesCreate;
|
|
44
|
+
var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined;
|
|
45
|
+
var value, result;
|
|
46
|
+
for (;length > index; index++) if (NO_HOLES || index in self) {
|
|
47
|
+
value = self[index];
|
|
48
|
+
result = boundFunction(value, index, O);
|
|
49
|
+
if (TYPE) {
|
|
50
|
+
if (IS_MAP) target[index] = result; // map
|
|
51
|
+
else if (result) switch (TYPE) {
|
|
52
|
+
case 3: return true; // some
|
|
53
|
+
case 5: return value; // find
|
|
54
|
+
case 6: return index; // findIndex
|
|
55
|
+
case 2: push(target, value); // filter
|
|
56
|
+
} else switch (TYPE) {
|
|
57
|
+
case 4: return false; // every
|
|
58
|
+
case 7: push(target, value); // filterReject
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
|
|
66
|
+
var arrayIteration = {
|
|
67
|
+
// `Array.prototype.forEach` method
|
|
68
|
+
// https://tc39.es/ecma262/#sec-array.prototype.foreach
|
|
69
|
+
forEach: createMethod(0),
|
|
70
|
+
// `Array.prototype.map` method
|
|
71
|
+
// https://tc39.es/ecma262/#sec-array.prototype.map
|
|
72
|
+
map: createMethod(1),
|
|
73
|
+
// `Array.prototype.filter` method
|
|
74
|
+
// https://tc39.es/ecma262/#sec-array.prototype.filter
|
|
75
|
+
filter: createMethod(2),
|
|
76
|
+
// `Array.prototype.some` method
|
|
77
|
+
// https://tc39.es/ecma262/#sec-array.prototype.some
|
|
78
|
+
some: createMethod(3),
|
|
79
|
+
// `Array.prototype.every` method
|
|
80
|
+
// https://tc39.es/ecma262/#sec-array.prototype.every
|
|
81
|
+
every: createMethod(4),
|
|
82
|
+
// `Array.prototype.find` method
|
|
83
|
+
// https://tc39.es/ecma262/#sec-array.prototype.find
|
|
84
|
+
find: createMethod(5),
|
|
85
|
+
// `Array.prototype.findIndex` method
|
|
86
|
+
// https://tc39.es/ecma262/#sec-array.prototype.findIndex
|
|
87
|
+
findIndex: createMethod(6),
|
|
88
|
+
// `Array.prototype.filterReject` method
|
|
89
|
+
// https://github.com/tc39/proposal-array-filtering
|
|
90
|
+
filterReject: createMethod(7)
|
|
91
|
+
};
|
|
92
|
+
|
|
93
|
+
export { arrayIteration as a, functionBindContext as f };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { j as fails$1 } from './function-name-e2f6ea36.js';
|
|
2
|
+
|
|
3
|
+
'use strict';
|
|
4
|
+
var fails = fails$1;
|
|
5
|
+
|
|
6
|
+
var arrayMethodIsStrict = function (METHOD_NAME, argument) {
|
|
7
|
+
var method = [][METHOD_NAME];
|
|
8
|
+
return !!method && fails(function () {
|
|
9
|
+
// eslint-disable-next-line no-useless-call -- required for testing
|
|
10
|
+
method.call(null, argument || function () { return 1; }, 1);
|
|
11
|
+
});
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
export { arrayMethodIsStrict as a };
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { f as functionUncurryThis, j as fails$1, l as isCallable$1, u as getBuiltIn$1, s as isObject$1, w as wellKnownSymbol$1 } from './function-name-e2f6ea36.js';
|
|
2
|
+
import { f as classofRaw, r as inspectSource$1 } from './is-forced-ddf227e6.js';
|
|
3
|
+
import { c as classof$2 } from './classof-a45668b6.js';
|
|
4
|
+
|
|
5
|
+
var classof$1 = classofRaw;
|
|
6
|
+
|
|
7
|
+
// `IsArray` abstract operation
|
|
8
|
+
// https://tc39.es/ecma262/#sec-isarray
|
|
9
|
+
// eslint-disable-next-line es-x/no-array-isarray -- safe
|
|
10
|
+
var isArray$1 = Array.isArray || function isArray(argument) {
|
|
11
|
+
return classof$1(argument) == 'Array';
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
var uncurryThis = functionUncurryThis;
|
|
15
|
+
var fails = fails$1;
|
|
16
|
+
var isCallable = isCallable$1;
|
|
17
|
+
var classof = classof$2;
|
|
18
|
+
var getBuiltIn = getBuiltIn$1;
|
|
19
|
+
var inspectSource = inspectSource$1;
|
|
20
|
+
|
|
21
|
+
var noop = function () { /* empty */ };
|
|
22
|
+
var empty = [];
|
|
23
|
+
var construct = getBuiltIn('Reflect', 'construct');
|
|
24
|
+
var constructorRegExp = /^\s*(?:class|function)\b/;
|
|
25
|
+
var exec = uncurryThis(constructorRegExp.exec);
|
|
26
|
+
var INCORRECT_TO_STRING = !constructorRegExp.exec(noop);
|
|
27
|
+
|
|
28
|
+
var isConstructorModern = function isConstructor(argument) {
|
|
29
|
+
if (!isCallable(argument)) return false;
|
|
30
|
+
try {
|
|
31
|
+
construct(noop, empty, argument);
|
|
32
|
+
return true;
|
|
33
|
+
} catch (error) {
|
|
34
|
+
return false;
|
|
35
|
+
}
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
var isConstructorLegacy = function isConstructor(argument) {
|
|
39
|
+
if (!isCallable(argument)) return false;
|
|
40
|
+
switch (classof(argument)) {
|
|
41
|
+
case 'AsyncFunction':
|
|
42
|
+
case 'GeneratorFunction':
|
|
43
|
+
case 'AsyncGeneratorFunction': return false;
|
|
44
|
+
}
|
|
45
|
+
try {
|
|
46
|
+
// we can't check .prototype since constructors produced by .bind haven't it
|
|
47
|
+
// `Function#toString` throws on some built-it function in some legacy engines
|
|
48
|
+
// (for example, `DOMQuad` and similar in FF41-)
|
|
49
|
+
return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument));
|
|
50
|
+
} catch (error) {
|
|
51
|
+
return true;
|
|
52
|
+
}
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
isConstructorLegacy.sham = true;
|
|
56
|
+
|
|
57
|
+
// `IsConstructor` abstract operation
|
|
58
|
+
// https://tc39.es/ecma262/#sec-isconstructor
|
|
59
|
+
var isConstructor$1 = !construct || fails(function () {
|
|
60
|
+
var called;
|
|
61
|
+
return isConstructorModern(isConstructorModern.call)
|
|
62
|
+
|| !isConstructorModern(Object)
|
|
63
|
+
|| !isConstructorModern(function () { called = true; })
|
|
64
|
+
|| called;
|
|
65
|
+
}) ? isConstructorLegacy : isConstructorModern;
|
|
66
|
+
|
|
67
|
+
var isArray = isArray$1;
|
|
68
|
+
var isConstructor = isConstructor$1;
|
|
69
|
+
var isObject = isObject$1;
|
|
70
|
+
var wellKnownSymbol = wellKnownSymbol$1;
|
|
71
|
+
|
|
72
|
+
var SPECIES = wellKnownSymbol('species');
|
|
73
|
+
var $Array = Array;
|
|
74
|
+
|
|
75
|
+
// a part of `ArraySpeciesCreate` abstract operation
|
|
76
|
+
// https://tc39.es/ecma262/#sec-arrayspeciescreate
|
|
77
|
+
var arraySpeciesConstructor$1 = function (originalArray) {
|
|
78
|
+
var C;
|
|
79
|
+
if (isArray(originalArray)) {
|
|
80
|
+
C = originalArray.constructor;
|
|
81
|
+
// cross-realm fallback
|
|
82
|
+
if (isConstructor(C) && (C === $Array || isArray(C.prototype))) C = undefined;
|
|
83
|
+
else if (isObject(C)) {
|
|
84
|
+
C = C[SPECIES];
|
|
85
|
+
if (C === null) C = undefined;
|
|
86
|
+
}
|
|
87
|
+
} return C === undefined ? $Array : C;
|
|
88
|
+
};
|
|
89
|
+
|
|
90
|
+
var arraySpeciesConstructor = arraySpeciesConstructor$1;
|
|
91
|
+
|
|
92
|
+
// `ArraySpeciesCreate` abstract operation
|
|
93
|
+
// https://tc39.es/ecma262/#sec-arrayspeciescreate
|
|
94
|
+
var arraySpeciesCreate = function (originalArray, length) {
|
|
95
|
+
return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);
|
|
96
|
+
};
|
|
97
|
+
|
|
98
|
+
export { isArray$1 as a, arraySpeciesCreate as b, isConstructor$1 as i };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { w as wellKnownSymbol$2, l as isCallable$1 } from './function-name-
|
|
2
|
-
import {
|
|
1
|
+
import { w as wellKnownSymbol$2, l as isCallable$1 } from './function-name-e2f6ea36.js';
|
|
2
|
+
import { f as classofRaw$1 } from './is-forced-ddf227e6.js';
|
|
3
3
|
|
|
4
4
|
var wellKnownSymbol$1 = wellKnownSymbol$2;
|
|
5
5
|
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { x as toPropertyKey$1, o as objectDefineProperty } from './function-name-e2f6ea36.js';
|
|
2
|
+
import { b as createPropertyDescriptor$1 } from './is-forced-ddf227e6.js';
|
|
3
|
+
|
|
4
|
+
'use strict';
|
|
5
|
+
var toPropertyKey = toPropertyKey$1;
|
|
6
|
+
var definePropertyModule = objectDefineProperty;
|
|
7
|
+
var createPropertyDescriptor = createPropertyDescriptor$1;
|
|
8
|
+
|
|
9
|
+
var createProperty = function (object, key, value) {
|
|
10
|
+
var propertyKey = toPropertyKey(key);
|
|
11
|
+
if (propertyKey in object) definePropertyModule.f(object, propertyKey, createPropertyDescriptor(0, value));
|
|
12
|
+
else object[propertyKey] = value;
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
export { createProperty as c };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import './function-name-
|
|
2
|
-
import { t as toStringTagSupport, c as classof$1 } from './classof-
|
|
3
|
-
import { d as defineBuiltIn$1 } from './is-forced-
|
|
4
|
-
import { _ as _export } from './object-keys-
|
|
5
|
-
import { a as arrayIteration } from './array-iteration-
|
|
6
|
-
import { a as addToUnscopables$1 } from './add-to-unscopables-
|
|
1
|
+
import './function-name-e2f6ea36.js';
|
|
2
|
+
import { t as toStringTagSupport, c as classof$1 } from './classof-a45668b6.js';
|
|
3
|
+
import { d as defineBuiltIn$1 } from './is-forced-ddf227e6.js';
|
|
4
|
+
import { _ as _export } from './object-keys-6a890c6f.js';
|
|
5
|
+
import { a as arrayIteration } from './array-iteration-98e2cf9a.js';
|
|
6
|
+
import { a as addToUnscopables$1 } from './add-to-unscopables-3f461c07.js';
|
|
7
7
|
|
|
8
8
|
var es_object_toString = {};
|
|
9
9
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { j as fails$1 } from './function-name-
|
|
2
|
-
import { _ as _export } from './object-keys-
|
|
3
|
-
import { n as arrayIncludes } from './is-forced-
|
|
4
|
-
import { a as addToUnscopables$1 } from './add-to-unscopables-
|
|
1
|
+
import { j as fails$1 } from './function-name-e2f6ea36.js';
|
|
2
|
+
import { _ as _export } from './object-keys-6a890c6f.js';
|
|
3
|
+
import { n as arrayIncludes } from './is-forced-ddf227e6.js';
|
|
4
|
+
import { a as addToUnscopables$1 } from './add-to-unscopables-3f461c07.js';
|
|
5
5
|
|
|
6
6
|
var es_array_includes = {};
|
|
7
7
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as descriptors, n as functionName, f as functionUncurryThis, o as objectDefineProperty } from './function-name-
|
|
1
|
+
import { d as descriptors, n as functionName, f as functionUncurryThis, o as objectDefineProperty } from './function-name-e2f6ea36.js';
|
|
2
2
|
|
|
3
3
|
var es_function_name = {};
|
|
4
4
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { l as isCallable$2, f as functionUncurryThis, c as anObject$1,
|
|
2
|
-
import {
|
|
3
|
-
import { t as toString$1 } from './to-string-
|
|
1
|
+
import { l as isCallable$2, f as functionUncurryThis, c as anObject$1, s as isObject$1, r as requireObjectCoercible$1, d as descriptors, g as global$1, k as hasOwnProperty_1, C as objectIsPrototypeOf, D as isSymbol$1, E as toPrimitive$1, j as fails$1, o as objectDefineProperty } from './function-name-e2f6ea36.js';
|
|
2
|
+
import { j as isForced_1, d as defineBuiltIn$1, g as objectGetOwnPropertyNames, h as objectGetOwnPropertyDescriptor } from './is-forced-ddf227e6.js';
|
|
3
|
+
import { t as toString$1 } from './to-string-685748aa.js';
|
|
4
4
|
|
|
5
5
|
var es_number_constructor = {};
|
|
6
6
|
|
|
@@ -489,4 +489,4 @@ var functionName = {
|
|
|
489
489
|
CONFIGURABLE: CONFIGURABLE
|
|
490
490
|
};
|
|
491
491
|
|
|
492
|
-
export { shared$2 as A, uid$1 as B,
|
|
492
|
+
export { shared$2 as A, uid$1 as B, objectIsPrototypeOf as C, isSymbol$2 as D, toPrimitive$1 as E, functionBindNative as F, v8PrototypeDefineBug as G, documentCreateElement as a, functionCall as b, anObject$1 as c, descriptors as d, getMethod$1 as e, functionUncurryThis as f, global$7 as g, aCallable$1 as h, toObject$1 as i, fails$5 as j, hasOwnProperty_1 as k, isCallable$5 as l, isPure as m, functionName as n, objectDefineProperty as o, engineUserAgent as p, engineV8Version as q, requireObjectCoercible$1 as r, isObject$4 as s, tryToString$1 as t, getBuiltIn$2 as u, defineGlobalProperty$1 as v, wellKnownSymbol$1 as w, toPropertyKey$1 as x, ie8DomDefine as y, sharedStore as z };
|
package/esm/fw-animations.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import './es.number.constructor-
|
|
1
|
+
import './es.number.constructor-f279ce82.js';
|
|
2
2
|
import { defineComponent, useCssVars, pushScopeId, popScopeId, createElementVNode, openBlock, createElementBlock, createStaticVNode } from 'vue';
|
|
3
3
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
4
|
-
export { s as FwLoadingSpinner } from './fw-loading-spinner-
|
|
5
|
-
import './function-name-
|
|
6
|
-
import './is-forced-
|
|
7
|
-
import './to-string-
|
|
8
|
-
import './classof-
|
|
9
|
-
import './index-
|
|
4
|
+
export { s as FwLoadingSpinner } from './fw-loading-spinner-9b7c6855.js';
|
|
5
|
+
import './function-name-e2f6ea36.js';
|
|
6
|
+
import './is-forced-ddf227e6.js';
|
|
7
|
+
import './to-string-685748aa.js';
|
|
8
|
+
import './classof-a45668b6.js';
|
|
9
|
+
import './index-4605e00e.js';
|
|
10
10
|
import './check-94a5917a.js';
|
|
11
11
|
|
|
12
12
|
var __default__$1 = defineComponent({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import './es.array.includes-
|
|
1
|
+
import './es.array.includes-df8e6e35.js';
|
|
2
2
|
import { defineComponent, ref, computed, resolveComponent, openBlock, createBlock, resolveDynamicComponent, normalizeClass, withCtx, createElementBlock, createElementVNode, renderSlot, createVNode, createCommentVNode } from 'vue';
|
|
3
|
-
import { s as script$1 } from './fw-loading-spinner-
|
|
3
|
+
import { s as script$1 } from './fw-loading-spinner-9b7c6855.js';
|
|
4
4
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
5
5
|
|
|
6
6
|
var script = defineComponent({
|
package/esm/fw-button.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { s as FwButton } from './fw-button-
|
|
2
|
-
import './es.array.includes-
|
|
3
|
-
import './function-name-
|
|
4
|
-
import './object-keys-
|
|
5
|
-
import './is-forced-
|
|
6
|
-
import './add-to-unscopables-
|
|
1
|
+
export { s as FwButton } from './fw-button-df5c923f.js';
|
|
2
|
+
import './es.array.includes-df8e6e35.js';
|
|
3
|
+
import './function-name-e2f6ea36.js';
|
|
4
|
+
import './object-keys-6a890c6f.js';
|
|
5
|
+
import './is-forced-ddf227e6.js';
|
|
6
|
+
import './add-to-unscopables-3f461c07.js';
|
|
7
7
|
import 'vue';
|
|
8
|
-
import './fw-loading-spinner-
|
|
9
|
-
import './index-
|
|
8
|
+
import './fw-loading-spinner-9b7c6855.js';
|
|
9
|
+
import './index-4605e00e.js';
|
|
10
10
|
import './check-94a5917a.js';
|
|
11
11
|
import './style-inject.es-1f59c1d0.js';
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { defineComponent, ref, computed, openBlock, createBlock, resolveDynamicComponent, normalizeClass, withCtx, createElementBlock, toDisplayString, createCommentVNode, renderSlot } from 'vue';
|
|
2
|
+
|
|
3
|
+
var script = defineComponent({
|
|
4
|
+
name: 'FwCard',
|
|
5
|
+
props: {
|
|
6
|
+
/**
|
|
7
|
+
* The header title of the card
|
|
8
|
+
*/
|
|
9
|
+
title: {
|
|
10
|
+
type: String
|
|
11
|
+
},
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Title prefix with primary color
|
|
15
|
+
*/
|
|
16
|
+
prefixTitle: {
|
|
17
|
+
type: String
|
|
18
|
+
},
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* A `router-link` path or object
|
|
22
|
+
*/
|
|
23
|
+
to: {
|
|
24
|
+
type: [String, Object]
|
|
25
|
+
},
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* A URL to link to using a native anchor element
|
|
29
|
+
*/
|
|
30
|
+
href: String,
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Whether padding should be applied around the default slot
|
|
34
|
+
*/
|
|
35
|
+
slotPadding: {
|
|
36
|
+
type: Boolean,
|
|
37
|
+
"default": true
|
|
38
|
+
},
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Whether the card has a border or shadow by default
|
|
42
|
+
*/
|
|
43
|
+
isBordered: {
|
|
44
|
+
type: Boolean,
|
|
45
|
+
"default": false
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
setup: function setup(props) {
|
|
49
|
+
var linkClass = ref( // eslint-disable-next-line max-len
|
|
50
|
+
"block cursor-pointer focus:outline-none ring-offset-3 focus:ring focus:ring-primary transform-none transition-transform hover:-translate-y-1");
|
|
51
|
+
var componentName = computed(function () {
|
|
52
|
+
if (props.to) return 'router-link';
|
|
53
|
+
if (props.href) return 'a';
|
|
54
|
+
return 'div';
|
|
55
|
+
});
|
|
56
|
+
return {
|
|
57
|
+
componentName: componentName,
|
|
58
|
+
linkClass: linkClass
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
});
|
|
62
|
+
|
|
63
|
+
var _hoisted_1 = {
|
|
64
|
+
key: 0,
|
|
65
|
+
"class": "fw-card--header px-8 py-4 bg-grey-lightest rounded-t border-opacity-0"
|
|
66
|
+
};
|
|
67
|
+
var _hoisted_2 = {
|
|
68
|
+
key: 0,
|
|
69
|
+
"class": "fw-card--prefix-title text-primary"
|
|
70
|
+
};
|
|
71
|
+
var _hoisted_3 = ["innerHTML"];
|
|
72
|
+
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
73
|
+
return openBlock(), createBlock(resolveDynamicComponent(_ctx.componentName), {
|
|
74
|
+
to: _ctx.to ? _ctx.to : null,
|
|
75
|
+
href: _ctx.href ? _ctx.href : null,
|
|
76
|
+
tabindex: _ctx.to ? 0 : null,
|
|
77
|
+
"class": normalizeClass(["fw-card rounded", [_ctx.to || _ctx.href || !!_ctx.$attrs.onClick ? _ctx.linkClass : '', _ctx.isBordered ? 'border border-grey-40' : 'shadow-card']])
|
|
78
|
+
}, {
|
|
79
|
+
"default": withCtx(function () {
|
|
80
|
+
return [_ctx.title || _ctx.prefixTitle ? (openBlock(), createElementBlock("h4", _hoisted_1, [_ctx.prefixTitle ? (openBlock(), createElementBlock("span", _hoisted_2, toDisplayString(_ctx.prefixTitle), 1)) : createCommentVNode("", true), _ctx.title ? (openBlock(), createElementBlock("div", {
|
|
81
|
+
key: 1,
|
|
82
|
+
"class": "inline",
|
|
83
|
+
innerHTML: _ctx.title
|
|
84
|
+
}, null, 8, _hoisted_3)) : createCommentVNode("", true)])) : createCommentVNode("", true), _ctx.$slots["default"] ? (openBlock(), createElementBlock("div", {
|
|
85
|
+
key: 1,
|
|
86
|
+
"class": normalizeClass(_ctx.slotPadding ? 'p-8' : '')
|
|
87
|
+
}, [renderSlot(_ctx.$slots, "default")], 2)) : createCommentVNode("", true)];
|
|
88
|
+
}),
|
|
89
|
+
_: 3
|
|
90
|
+
}, 8, ["to", "href", "tabindex", "class"]);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
script.render = render;
|
|
94
|
+
|
|
95
|
+
export { script as s };
|
package/esm/fw-card.js
CHANGED
|
@@ -1,95 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
var script = defineComponent({
|
|
4
|
-
name: 'FwCard',
|
|
5
|
-
props: {
|
|
6
|
-
/**
|
|
7
|
-
* The header title of the card
|
|
8
|
-
*/
|
|
9
|
-
title: {
|
|
10
|
-
type: String
|
|
11
|
-
},
|
|
12
|
-
|
|
13
|
-
/**
|
|
14
|
-
* Title prefix with primary color
|
|
15
|
-
*/
|
|
16
|
-
prefixTitle: {
|
|
17
|
-
type: String
|
|
18
|
-
},
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
* A `router-link` path or object
|
|
22
|
-
*/
|
|
23
|
-
to: {
|
|
24
|
-
type: [String, Object]
|
|
25
|
-
},
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* A URL to link to using a native anchor element
|
|
29
|
-
*/
|
|
30
|
-
href: String,
|
|
31
|
-
|
|
32
|
-
/**
|
|
33
|
-
* Whether padding should be applied around the default slot
|
|
34
|
-
*/
|
|
35
|
-
slotPadding: {
|
|
36
|
-
type: Boolean,
|
|
37
|
-
"default": true
|
|
38
|
-
},
|
|
39
|
-
|
|
40
|
-
/**
|
|
41
|
-
* Whether the card has a border or shadow by default
|
|
42
|
-
*/
|
|
43
|
-
isBordered: {
|
|
44
|
-
type: Boolean,
|
|
45
|
-
"default": false
|
|
46
|
-
}
|
|
47
|
-
},
|
|
48
|
-
setup: function setup(props) {
|
|
49
|
-
var linkClass = ref( // eslint-disable-next-line max-len
|
|
50
|
-
"block cursor-pointer focus:outline-none ring-offset-3 focus:ring focus:ring-primary transform-none transition-transform hover:-translate-y-1");
|
|
51
|
-
var componentName = computed(function () {
|
|
52
|
-
if (props.to) return 'router-link';
|
|
53
|
-
if (props.href) return 'a';
|
|
54
|
-
return 'div';
|
|
55
|
-
});
|
|
56
|
-
return {
|
|
57
|
-
componentName: componentName,
|
|
58
|
-
linkClass: linkClass
|
|
59
|
-
};
|
|
60
|
-
}
|
|
61
|
-
});
|
|
62
|
-
|
|
63
|
-
var _hoisted_1 = {
|
|
64
|
-
key: 0,
|
|
65
|
-
"class": "fw-card--header px-8 py-4 bg-grey-lightest rounded-t border-opacity-0"
|
|
66
|
-
};
|
|
67
|
-
var _hoisted_2 = {
|
|
68
|
-
key: 0,
|
|
69
|
-
"class": "fw-card--prefix-title text-primary"
|
|
70
|
-
};
|
|
71
|
-
var _hoisted_3 = ["innerHTML"];
|
|
72
|
-
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
73
|
-
return openBlock(), createBlock(resolveDynamicComponent(_ctx.componentName), {
|
|
74
|
-
to: _ctx.to ? _ctx.to : null,
|
|
75
|
-
href: _ctx.href ? _ctx.href : null,
|
|
76
|
-
tabindex: _ctx.to ? 0 : null,
|
|
77
|
-
"class": normalizeClass(["fw-card rounded", [_ctx.to || _ctx.href || !!_ctx.$attrs.onClick ? _ctx.linkClass : '', _ctx.isBordered ? 'border border-grey-40' : 'shadow-card']])
|
|
78
|
-
}, {
|
|
79
|
-
"default": withCtx(function () {
|
|
80
|
-
return [_ctx.title || _ctx.prefixTitle ? (openBlock(), createElementBlock("h4", _hoisted_1, [_ctx.prefixTitle ? (openBlock(), createElementBlock("span", _hoisted_2, toDisplayString(_ctx.prefixTitle), 1)) : createCommentVNode("", true), _ctx.title ? (openBlock(), createElementBlock("div", {
|
|
81
|
-
key: 1,
|
|
82
|
-
"class": "inline",
|
|
83
|
-
innerHTML: _ctx.title
|
|
84
|
-
}, null, 8, _hoisted_3)) : createCommentVNode("", true)])) : createCommentVNode("", true), _ctx.$slots["default"] ? (openBlock(), createElementBlock("div", {
|
|
85
|
-
key: 1,
|
|
86
|
-
"class": normalizeClass(_ctx.slotPadding ? 'p-8' : '')
|
|
87
|
-
}, [renderSlot(_ctx.$slots, "default")], 2)) : createCommentVNode("", true)];
|
|
88
|
-
}),
|
|
89
|
-
_: 3
|
|
90
|
-
}, 8, ["to", "href", "tabindex", "class"]);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
script.render = render;
|
|
94
|
-
|
|
95
|
-
export { script as FwCard };
|
|
1
|
+
export { s as FwCard } from './fw-card-8d3f4ab5.js';
|
|
2
|
+
import 'vue';
|
package/esm/fw-checkbox.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent, pushScopeId, popScopeId, resolveComponent, openBlock, createElementBlock, createVNode, withCtx, createElementVNode, mergeProps, createCommentVNode, Transition, toDisplayString } from 'vue';
|
|
2
2
|
import { a as Field } from './vee-validate.esm-a17a23c3.js';
|
|
3
|
-
import './es.function.name-
|
|
3
|
+
import './es.function.name-b642b74f.js';
|
|
4
4
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
5
|
-
import './function-name-
|
|
5
|
+
import './function-name-e2f6ea36.js';
|
|
6
6
|
|
|
7
7
|
var script = defineComponent({
|
|
8
8
|
name: 'FwCheckbox',
|
package/esm/fw-dropdown.js
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
import './es.array.find-
|
|
1
|
+
import './es.array.find-36d8f2f0.js';
|
|
2
2
|
import { defineComponent, toRef, ref, computed, onMounted, onBeforeUnmount, pushScopeId, popScopeId, resolveComponent, openBlock, createElementBlock, toDisplayString, createCommentVNode, createElementVNode, normalizeClass, createVNode, Transition, withCtx, Fragment, renderList } from 'vue';
|
|
3
3
|
import { u as useField } from './vee-validate.esm-a17a23c3.js';
|
|
4
|
-
import { a as render$1 } from './index-
|
|
5
|
-
import './es.function.name-
|
|
4
|
+
import { a as render$1 } from './index-4605e00e.js';
|
|
5
|
+
import './es.function.name-b642b74f.js';
|
|
6
6
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
7
|
-
import './function-name-
|
|
8
|
-
import './classof-
|
|
9
|
-
import './is-forced-
|
|
10
|
-
import './object-keys-
|
|
11
|
-
import './array-iteration-
|
|
12
|
-
import './
|
|
7
|
+
import './function-name-e2f6ea36.js';
|
|
8
|
+
import './classof-a45668b6.js';
|
|
9
|
+
import './is-forced-ddf227e6.js';
|
|
10
|
+
import './object-keys-6a890c6f.js';
|
|
11
|
+
import './array-iteration-98e2cf9a.js';
|
|
12
|
+
import './array-species-create-5fc23c89.js';
|
|
13
|
+
import './add-to-unscopables-3f461c07.js';
|
|
13
14
|
import './check-94a5917a.js';
|
|
14
15
|
|
|
15
16
|
var script = defineComponent({
|