@frollo/frollo-web-ui 0.0.16 → 0.0.17
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 +2161 -1856
- package/esm/{es.array.includes-a402ff0b.js → add-to-unscopables-874257d1.js} +3 -21
- package/esm/es.array.includes-ef2f18f4.js +20 -0
- package/esm/{es.function.name-caf4301b.js → es.function.name-43e1ffbd.js} +1 -1
- package/esm/{style-inject.es-4735be61.js → function-name-a620492a.js} +4 -31
- package/esm/{fw-button-5d24de4c.js → fw-button-fee2541f.js} +2 -2
- package/esm/fw-button.js +5 -3
- package/esm/fw-checkbox.js +3 -2
- package/esm/fw-input.js +5 -3
- package/esm/fw-navigation-menu.js +5 -3
- package/esm/fw-tabs.js +4 -0
- package/esm/index-5430e7a3.js +565 -0
- package/esm/index.js +28 -242
- package/esm/style-inject.es-1f59c1d0.js +28 -0
- package/frollo-web-ui.esm.js +4341 -3999
- package/index.d.ts +208 -163
- package/package.json +1 -1
- package/types/components/fw-tabs/fw-tab.vue.d.ts +21 -0
- package/types/components/fw-tabs/fw-tabs.vue.d.ts +24 -0
- package/types/components/fw-tabs/index.d.ts +3 -0
- package/types/components/index.d.ts +4 -3
- package/types/index-types.esm.d.ts +2 -0
package/esm/index.js
CHANGED
|
@@ -1,21 +1,25 @@
|
|
|
1
|
-
import { f as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
export {
|
|
5
|
-
import './fw-button.js';
|
|
6
|
-
import { FwNavigationMenu as script$2 } from './fw-navigation-menu.js';
|
|
7
|
-
export { FwNavigationMenu } from './fw-navigation-menu.js';
|
|
1
|
+
import { f as fails$1, d as documentCreateElement$1, g as global$1, a as descriptors, b as functionUncurryThis } from './function-name-a620492a.js';
|
|
2
|
+
import { _ as _export, r as redefine$1, c as createNonEnumerableProperty$1, o as objectKeys$1, t as toIndexedObject$1, a as objectPropertyIsEnumerable } from './add-to-unscopables-874257d1.js';
|
|
3
|
+
import { a as arrayIteration, t as toStringTagSupport, c as classof$1, s as script$5, b as script$6 } from './index-5430e7a3.js';
|
|
4
|
+
export { b as FwTab, s as FwTabs } from './index-5430e7a3.js';
|
|
8
5
|
import './fw-form.js';
|
|
9
|
-
import { FwInput as script
|
|
6
|
+
import { FwInput as script } from './fw-input.js';
|
|
10
7
|
export { FwInput } from './fw-input.js';
|
|
11
|
-
import { FwCheckbox as script$
|
|
8
|
+
import { FwCheckbox as script$1 } from './fw-checkbox.js';
|
|
12
9
|
export { FwCheckbox } from './fw-checkbox.js';
|
|
13
|
-
import {
|
|
14
|
-
export {
|
|
10
|
+
import { FwCard as script$2 } from './fw-card.js';
|
|
11
|
+
export { FwCard } from './fw-card.js';
|
|
12
|
+
import './fw-button.js';
|
|
13
|
+
import { FwNavigationMenu as script$4 } from './fw-navigation-menu.js';
|
|
14
|
+
export { FwNavigationMenu } from './fw-navigation-menu.js';
|
|
15
15
|
import { F as Form } from './vee-validate.esm-028c6424.js';
|
|
16
16
|
export { F as FwForm } from './vee-validate.esm-028c6424.js';
|
|
17
|
+
import { s as script$3 } from './fw-button-fee2541f.js';
|
|
18
|
+
export { s as FwButton } from './fw-button-fee2541f.js';
|
|
17
19
|
import 'vue';
|
|
18
|
-
import './es.
|
|
20
|
+
import './es.array.includes-ef2f18f4.js';
|
|
21
|
+
import './es.function.name-43e1ffbd.js';
|
|
22
|
+
import './style-inject.es-1f59c1d0.js';
|
|
19
23
|
|
|
20
24
|
function _arrayWithHoles(arr) {
|
|
21
25
|
if (Array.isArray(arr)) return arr;
|
|
@@ -80,230 +84,8 @@ function _slicedToArray(arr, i) {
|
|
|
80
84
|
|
|
81
85
|
var es_array_forEach = {};
|
|
82
86
|
|
|
83
|
-
var uncurryThis$3 = functionUncurryThis;
|
|
84
|
-
var aCallable = aCallable$1;
|
|
85
|
-
var NATIVE_BIND = functionBindNative;
|
|
86
|
-
|
|
87
|
-
var bind$1 = uncurryThis$3(uncurryThis$3.bind);
|
|
88
|
-
|
|
89
|
-
// optional / simple context binding
|
|
90
|
-
var functionBindContext = function (fn, that) {
|
|
91
|
-
aCallable(fn);
|
|
92
|
-
return that === undefined ? fn : NATIVE_BIND ? bind$1(fn, that) : function (/* ...args */) {
|
|
93
|
-
return fn.apply(that, arguments);
|
|
94
|
-
};
|
|
95
|
-
};
|
|
96
|
-
|
|
97
|
-
var classof$3 = classofRaw$1;
|
|
98
|
-
|
|
99
|
-
// `IsArray` abstract operation
|
|
100
|
-
// https://tc39.es/ecma262/#sec-isarray
|
|
101
|
-
// eslint-disable-next-line es/no-array-isarray -- safe
|
|
102
|
-
var isArray$1 = Array.isArray || function isArray(argument) {
|
|
103
|
-
return classof$3(argument) == 'Array';
|
|
104
|
-
};
|
|
105
|
-
|
|
106
|
-
var wellKnownSymbol$2 = wellKnownSymbol$3;
|
|
107
|
-
|
|
108
|
-
var TO_STRING_TAG$1 = wellKnownSymbol$2('toStringTag');
|
|
109
|
-
var test = {};
|
|
110
|
-
|
|
111
|
-
test[TO_STRING_TAG$1] = 'z';
|
|
112
|
-
|
|
113
|
-
var toStringTagSupport = String(test) === '[object z]';
|
|
114
|
-
|
|
115
|
-
var global$2 = global$3;
|
|
116
|
-
var TO_STRING_TAG_SUPPORT$2 = toStringTagSupport;
|
|
117
|
-
var isCallable$1 = isCallable$2;
|
|
118
|
-
var classofRaw = classofRaw$1;
|
|
119
|
-
var wellKnownSymbol$1 = wellKnownSymbol$3;
|
|
120
|
-
|
|
121
|
-
var TO_STRING_TAG = wellKnownSymbol$1('toStringTag');
|
|
122
|
-
var Object$1 = global$2.Object;
|
|
123
|
-
|
|
124
|
-
// ES3 wrong here
|
|
125
|
-
var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
|
|
126
|
-
|
|
127
|
-
// fallback for IE11 Script Access Denied error
|
|
128
|
-
var tryGet = function (it, key) {
|
|
129
|
-
try {
|
|
130
|
-
return it[key];
|
|
131
|
-
} catch (error) { /* empty */ }
|
|
132
|
-
};
|
|
133
|
-
|
|
134
|
-
// getting tag from ES6+ `Object.prototype.toString`
|
|
135
|
-
var classof$2 = TO_STRING_TAG_SUPPORT$2 ? classofRaw : function (it) {
|
|
136
|
-
var O, tag, result;
|
|
137
|
-
return it === undefined ? 'Undefined' : it === null ? 'Null'
|
|
138
|
-
// @@toStringTag case
|
|
139
|
-
: typeof (tag = tryGet(O = Object$1(it), TO_STRING_TAG)) == 'string' ? tag
|
|
140
|
-
// builtinTag case
|
|
141
|
-
: CORRECT_ARGUMENTS ? classofRaw(O)
|
|
142
|
-
// ES3 arguments fallback
|
|
143
|
-
: (result = classofRaw(O)) == 'Object' && isCallable$1(O.callee) ? 'Arguments' : result;
|
|
144
|
-
};
|
|
145
|
-
|
|
146
|
-
var uncurryThis$2 = functionUncurryThis;
|
|
147
|
-
var fails$1 = fails$2;
|
|
148
|
-
var isCallable = isCallable$2;
|
|
149
|
-
var classof$1 = classof$2;
|
|
150
|
-
var getBuiltIn = getBuiltIn$1;
|
|
151
|
-
var inspectSource = inspectSource$1;
|
|
152
|
-
|
|
153
|
-
var noop = function () { /* empty */ };
|
|
154
|
-
var empty = [];
|
|
155
|
-
var construct = getBuiltIn('Reflect', 'construct');
|
|
156
|
-
var constructorRegExp = /^\s*(?:class|function)\b/;
|
|
157
|
-
var exec = uncurryThis$2(constructorRegExp.exec);
|
|
158
|
-
var INCORRECT_TO_STRING = !constructorRegExp.exec(noop);
|
|
159
|
-
|
|
160
|
-
var isConstructorModern = function isConstructor(argument) {
|
|
161
|
-
if (!isCallable(argument)) return false;
|
|
162
|
-
try {
|
|
163
|
-
construct(noop, empty, argument);
|
|
164
|
-
return true;
|
|
165
|
-
} catch (error) {
|
|
166
|
-
return false;
|
|
167
|
-
}
|
|
168
|
-
};
|
|
169
|
-
|
|
170
|
-
var isConstructorLegacy = function isConstructor(argument) {
|
|
171
|
-
if (!isCallable(argument)) return false;
|
|
172
|
-
switch (classof$1(argument)) {
|
|
173
|
-
case 'AsyncFunction':
|
|
174
|
-
case 'GeneratorFunction':
|
|
175
|
-
case 'AsyncGeneratorFunction': return false;
|
|
176
|
-
}
|
|
177
|
-
try {
|
|
178
|
-
// we can't check .prototype since constructors produced by .bind haven't it
|
|
179
|
-
// `Function#toString` throws on some built-it function in some legacy engines
|
|
180
|
-
// (for example, `DOMQuad` and similar in FF41-)
|
|
181
|
-
return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument));
|
|
182
|
-
} catch (error) {
|
|
183
|
-
return true;
|
|
184
|
-
}
|
|
185
|
-
};
|
|
186
|
-
|
|
187
|
-
isConstructorLegacy.sham = true;
|
|
188
|
-
|
|
189
|
-
// `IsConstructor` abstract operation
|
|
190
|
-
// https://tc39.es/ecma262/#sec-isconstructor
|
|
191
|
-
var isConstructor$1 = !construct || fails$1(function () {
|
|
192
|
-
var called;
|
|
193
|
-
return isConstructorModern(isConstructorModern.call)
|
|
194
|
-
|| !isConstructorModern(Object)
|
|
195
|
-
|| !isConstructorModern(function () { called = true; })
|
|
196
|
-
|| called;
|
|
197
|
-
}) ? isConstructorLegacy : isConstructorModern;
|
|
198
|
-
|
|
199
|
-
var global$1 = global$3;
|
|
200
|
-
var isArray = isArray$1;
|
|
201
|
-
var isConstructor = isConstructor$1;
|
|
202
|
-
var isObject = isObject$1;
|
|
203
|
-
var wellKnownSymbol = wellKnownSymbol$3;
|
|
204
|
-
|
|
205
|
-
var SPECIES = wellKnownSymbol('species');
|
|
206
|
-
var Array$1 = global$1.Array;
|
|
207
|
-
|
|
208
|
-
// a part of `ArraySpeciesCreate` abstract operation
|
|
209
|
-
// https://tc39.es/ecma262/#sec-arrayspeciescreate
|
|
210
|
-
var arraySpeciesConstructor$1 = function (originalArray) {
|
|
211
|
-
var C;
|
|
212
|
-
if (isArray(originalArray)) {
|
|
213
|
-
C = originalArray.constructor;
|
|
214
|
-
// cross-realm fallback
|
|
215
|
-
if (isConstructor(C) && (C === Array$1 || isArray(C.prototype))) C = undefined;
|
|
216
|
-
else if (isObject(C)) {
|
|
217
|
-
C = C[SPECIES];
|
|
218
|
-
if (C === null) C = undefined;
|
|
219
|
-
}
|
|
220
|
-
} return C === undefined ? Array$1 : C;
|
|
221
|
-
};
|
|
222
|
-
|
|
223
|
-
var arraySpeciesConstructor = arraySpeciesConstructor$1;
|
|
224
|
-
|
|
225
|
-
// `ArraySpeciesCreate` abstract operation
|
|
226
|
-
// https://tc39.es/ecma262/#sec-arrayspeciescreate
|
|
227
|
-
var arraySpeciesCreate$1 = function (originalArray, length) {
|
|
228
|
-
return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);
|
|
229
|
-
};
|
|
230
|
-
|
|
231
|
-
var bind = functionBindContext;
|
|
232
|
-
var uncurryThis$1 = functionUncurryThis;
|
|
233
|
-
var IndexedObject = indexedObject;
|
|
234
|
-
var toObject = toObject$1;
|
|
235
|
-
var lengthOfArrayLike = lengthOfArrayLike$1;
|
|
236
|
-
var arraySpeciesCreate = arraySpeciesCreate$1;
|
|
237
|
-
|
|
238
|
-
var push$1 = uncurryThis$1([].push);
|
|
239
|
-
|
|
240
|
-
// `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation
|
|
241
|
-
var createMethod$1 = function (TYPE) {
|
|
242
|
-
var IS_MAP = TYPE == 1;
|
|
243
|
-
var IS_FILTER = TYPE == 2;
|
|
244
|
-
var IS_SOME = TYPE == 3;
|
|
245
|
-
var IS_EVERY = TYPE == 4;
|
|
246
|
-
var IS_FIND_INDEX = TYPE == 6;
|
|
247
|
-
var IS_FILTER_REJECT = TYPE == 7;
|
|
248
|
-
var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;
|
|
249
|
-
return function ($this, callbackfn, that, specificCreate) {
|
|
250
|
-
var O = toObject($this);
|
|
251
|
-
var self = IndexedObject(O);
|
|
252
|
-
var boundFunction = bind(callbackfn, that);
|
|
253
|
-
var length = lengthOfArrayLike(self);
|
|
254
|
-
var index = 0;
|
|
255
|
-
var create = specificCreate || arraySpeciesCreate;
|
|
256
|
-
var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined;
|
|
257
|
-
var value, result;
|
|
258
|
-
for (;length > index; index++) if (NO_HOLES || index in self) {
|
|
259
|
-
value = self[index];
|
|
260
|
-
result = boundFunction(value, index, O);
|
|
261
|
-
if (TYPE) {
|
|
262
|
-
if (IS_MAP) target[index] = result; // map
|
|
263
|
-
else if (result) switch (TYPE) {
|
|
264
|
-
case 3: return true; // some
|
|
265
|
-
case 5: return value; // find
|
|
266
|
-
case 6: return index; // findIndex
|
|
267
|
-
case 2: push$1(target, value); // filter
|
|
268
|
-
} else switch (TYPE) {
|
|
269
|
-
case 4: return false; // every
|
|
270
|
-
case 7: push$1(target, value); // filterReject
|
|
271
|
-
}
|
|
272
|
-
}
|
|
273
|
-
}
|
|
274
|
-
return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;
|
|
275
|
-
};
|
|
276
|
-
};
|
|
277
|
-
|
|
278
|
-
var arrayIteration = {
|
|
279
|
-
// `Array.prototype.forEach` method
|
|
280
|
-
// https://tc39.es/ecma262/#sec-array.prototype.foreach
|
|
281
|
-
forEach: createMethod$1(0),
|
|
282
|
-
// `Array.prototype.map` method
|
|
283
|
-
// https://tc39.es/ecma262/#sec-array.prototype.map
|
|
284
|
-
map: createMethod$1(1),
|
|
285
|
-
// `Array.prototype.filter` method
|
|
286
|
-
// https://tc39.es/ecma262/#sec-array.prototype.filter
|
|
287
|
-
filter: createMethod$1(2),
|
|
288
|
-
// `Array.prototype.some` method
|
|
289
|
-
// https://tc39.es/ecma262/#sec-array.prototype.some
|
|
290
|
-
some: createMethod$1(3),
|
|
291
|
-
// `Array.prototype.every` method
|
|
292
|
-
// https://tc39.es/ecma262/#sec-array.prototype.every
|
|
293
|
-
every: createMethod$1(4),
|
|
294
|
-
// `Array.prototype.find` method
|
|
295
|
-
// https://tc39.es/ecma262/#sec-array.prototype.find
|
|
296
|
-
find: createMethod$1(5),
|
|
297
|
-
// `Array.prototype.findIndex` method
|
|
298
|
-
// https://tc39.es/ecma262/#sec-array.prototype.findIndex
|
|
299
|
-
findIndex: createMethod$1(6),
|
|
300
|
-
// `Array.prototype.filterReject` method
|
|
301
|
-
// https://github.com/tc39/proposal-array-filtering
|
|
302
|
-
filterReject: createMethod$1(7)
|
|
303
|
-
};
|
|
304
|
-
|
|
305
87
|
'use strict';
|
|
306
|
-
var fails = fails$
|
|
88
|
+
var fails = fails$1;
|
|
307
89
|
|
|
308
90
|
var arrayMethodIsStrict$1 = function (METHOD_NAME, argument) {
|
|
309
91
|
var method = [][METHOD_NAME];
|
|
@@ -341,7 +123,7 @@ var es_object_toString = {};
|
|
|
341
123
|
|
|
342
124
|
'use strict';
|
|
343
125
|
var TO_STRING_TAG_SUPPORT$1 = toStringTagSupport;
|
|
344
|
-
var classof = classof$
|
|
126
|
+
var classof = classof$1;
|
|
345
127
|
|
|
346
128
|
// `Object.prototype.toString` method implementation
|
|
347
129
|
// https://tc39.es/ecma262/#sec-object.prototype.tostring
|
|
@@ -405,7 +187,7 @@ var DOMTokenListPrototype$1 = classList && classList.constructor && classList.co
|
|
|
405
187
|
|
|
406
188
|
var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
|
|
407
189
|
|
|
408
|
-
var global = global$
|
|
190
|
+
var global = global$1;
|
|
409
191
|
var DOMIterables = domIterables;
|
|
410
192
|
var DOMTokenListPrototype = domTokenListPrototype;
|
|
411
193
|
var forEach = arrayForEach;
|
|
@@ -478,14 +260,18 @@ $({ target: 'Object', stat: true }, {
|
|
|
478
260
|
}
|
|
479
261
|
});
|
|
480
262
|
|
|
263
|
+
// Form components
|
|
264
|
+
|
|
481
265
|
var components = /*#__PURE__*/Object.freeze({
|
|
482
266
|
__proto__: null,
|
|
483
|
-
FwCard: script,
|
|
484
|
-
FwButton: script$1,
|
|
485
|
-
FwNavigationMenu: script$2,
|
|
486
267
|
FwForm: Form,
|
|
487
|
-
FwInput: script
|
|
488
|
-
FwCheckbox: script$
|
|
268
|
+
FwInput: script,
|
|
269
|
+
FwCheckbox: script$1,
|
|
270
|
+
FwCard: script$2,
|
|
271
|
+
FwButton: script$3,
|
|
272
|
+
FwNavigationMenu: script$4,
|
|
273
|
+
FwTabs: script$5,
|
|
274
|
+
FwTab: script$6
|
|
489
275
|
});
|
|
490
276
|
|
|
491
277
|
var install = function install(app) {
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
function styleInject(css, ref) {
|
|
2
|
+
if ( ref === void 0 ) ref = {};
|
|
3
|
+
var insertAt = ref.insertAt;
|
|
4
|
+
|
|
5
|
+
if (!css || typeof document === 'undefined') { return; }
|
|
6
|
+
|
|
7
|
+
var head = document.head || document.getElementsByTagName('head')[0];
|
|
8
|
+
var style = document.createElement('style');
|
|
9
|
+
style.type = 'text/css';
|
|
10
|
+
|
|
11
|
+
if (insertAt === 'top') {
|
|
12
|
+
if (head.firstChild) {
|
|
13
|
+
head.insertBefore(style, head.firstChild);
|
|
14
|
+
} else {
|
|
15
|
+
head.appendChild(style);
|
|
16
|
+
}
|
|
17
|
+
} else {
|
|
18
|
+
head.appendChild(style);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
if (style.styleSheet) {
|
|
22
|
+
style.styleSheet.cssText = css;
|
|
23
|
+
} else {
|
|
24
|
+
style.appendChild(document.createTextNode(css));
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export { styleInject as s };
|