@frollo/frollo-web-ui 0.0.22 → 0.1.2
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 +635 -421
- package/esm/{add-to-unscopables-c6a09beb.js → add-to-unscopables-81c17489.js} +139 -99
- package/esm/{es.array.includes-1b7043c3.js → es.array.includes-debcb50f.js} +9 -3
- package/esm/{es.function.name-f416c9da.js → es.function.name-e746680f.js} +1 -1
- package/esm/{function-name-982253be.js → function-name-f0c1223e.js} +52 -61
- package/esm/{fw-button-0826e6fc.js → fw-button-ab906734.js} +12 -4
- package/esm/fw-button.js +4 -4
- package/esm/fw-card.js +6 -3
- package/esm/fw-checkbox.js +13 -8
- package/esm/fw-form.js +1 -1
- package/esm/fw-input.js +21 -11
- package/esm/fw-modal.js +7 -475
- package/esm/fw-navigation-menu.js +80 -24
- package/esm/fw-tabs.js +4 -3
- package/esm/{index-9de6159f.js → index-5ee56f7d.js} +24 -75
- package/esm/index-963039a3.js +475 -0
- package/esm/index.js +128 -40
- package/esm/to-string-139f1ee8.js +52 -0
- package/esm/{vee-validate.esm-028c6424.js → vee-validate.esm-b64acab1.js} +62 -9
- package/frollo-web-ui.esm.js +669 -421
- package/index.d.ts +28 -11
- package/package.json +20 -17
- package/tailwind.config.js +8 -8
- package/types/components/fw-button/fw-button.vue.d.ts +1 -0
- package/types/components/fw-card/fw-card.vue.d.ts +1 -0
- package/types/components/fw-checkbox/fw-checkbox.vue.d.ts +5 -4
- package/types/components/fw-checkbox/index.types.d.ts +1 -1
- package/types/components/fw-input/fw-input.vue.d.ts +17 -4
- package/types/components/fw-input/index.types.d.ts +1 -1
- package/types/components/fw-navigation-menu/fw-navigation-menu.vue.d.ts +3 -0
- package/types/index.esm.d.ts +1 -1
- package/types/services/modal.d.ts +1 -1
|
@@ -36,8 +36,8 @@ var check = function (it) {
|
|
|
36
36
|
};
|
|
37
37
|
|
|
38
38
|
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
39
|
-
var global$
|
|
40
|
-
// eslint-disable-next-line es/no-global-this -- safe
|
|
39
|
+
var global$7 =
|
|
40
|
+
// eslint-disable-next-line es-x/no-global-this -- safe
|
|
41
41
|
check(typeof globalThis == 'object' && globalThis) ||
|
|
42
42
|
check(typeof window == 'object' && window) ||
|
|
43
43
|
// eslint-disable-next-line no-restricted-globals -- safe
|
|
@@ -58,13 +58,14 @@ var fails$4 = fails$5;
|
|
|
58
58
|
|
|
59
59
|
// Detect IE8's incomplete defineProperty implementation
|
|
60
60
|
var descriptors = !fails$4(function () {
|
|
61
|
-
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
61
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
|
|
62
62
|
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
|
|
63
63
|
});
|
|
64
64
|
|
|
65
65
|
var fails$3 = fails$5;
|
|
66
66
|
|
|
67
67
|
var functionBindNative = !fails$3(function () {
|
|
68
|
+
// eslint-disable-next-line es-x/no-function-prototype-bind -- safe
|
|
68
69
|
var test = (function () { /* empty */ }).bind();
|
|
69
70
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
70
71
|
return typeof test != 'function' || test.hasOwnProperty('prototype');
|
|
@@ -93,14 +94,12 @@ var functionUncurryThis = NATIVE_BIND ? function (fn) {
|
|
|
93
94
|
};
|
|
94
95
|
};
|
|
95
96
|
|
|
96
|
-
var
|
|
97
|
-
|
|
98
|
-
var TypeError$5 = global$f.TypeError;
|
|
97
|
+
var $TypeError$5 = TypeError;
|
|
99
98
|
|
|
100
99
|
// `RequireObjectCoercible` abstract operation
|
|
101
100
|
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
102
101
|
var requireObjectCoercible$1 = function (it) {
|
|
103
|
-
if (it == undefined) throw TypeError$5("Can't call method on " + it);
|
|
102
|
+
if (it == undefined) throw $TypeError$5("Can't call method on " + it);
|
|
104
103
|
return it;
|
|
105
104
|
};
|
|
106
105
|
|
|
@@ -116,7 +115,7 @@ var isObject$4 = function (it) {
|
|
|
116
115
|
return typeof it == 'object' ? it !== null : isCallable$4(it);
|
|
117
116
|
};
|
|
118
117
|
|
|
119
|
-
var global$
|
|
118
|
+
var global$6 = global$7;
|
|
120
119
|
var isCallable$3 = isCallable$5;
|
|
121
120
|
|
|
122
121
|
var aFunction = function (argument) {
|
|
@@ -124,7 +123,7 @@ var aFunction = function (argument) {
|
|
|
124
123
|
};
|
|
125
124
|
|
|
126
125
|
var getBuiltIn$2 = function (namespace, method) {
|
|
127
|
-
return arguments.length < 2 ? aFunction(global$
|
|
126
|
+
return arguments.length < 2 ? aFunction(global$6[namespace]) : global$6[namespace] && global$6[namespace][method];
|
|
128
127
|
};
|
|
129
128
|
|
|
130
129
|
var uncurryThis$2 = functionUncurryThis;
|
|
@@ -135,11 +134,11 @@ var getBuiltIn$1 = getBuiltIn$2;
|
|
|
135
134
|
|
|
136
135
|
var engineUserAgent = getBuiltIn$1('navigator', 'userAgent') || '';
|
|
137
136
|
|
|
138
|
-
var global$
|
|
137
|
+
var global$5 = global$7;
|
|
139
138
|
var userAgent = engineUserAgent;
|
|
140
139
|
|
|
141
|
-
var process = global$
|
|
142
|
-
var Deno = global$
|
|
140
|
+
var process = global$5.process;
|
|
141
|
+
var Deno = global$5.Deno;
|
|
143
142
|
var versions = process && process.versions || Deno && Deno.version;
|
|
144
143
|
var v8 = versions && versions.v8;
|
|
145
144
|
var match, version;
|
|
@@ -163,12 +162,12 @@ if (!version && userAgent) {
|
|
|
163
162
|
|
|
164
163
|
var engineV8Version = version;
|
|
165
164
|
|
|
166
|
-
/* eslint-disable es/no-symbol -- required for testing */
|
|
165
|
+
/* eslint-disable es-x/no-symbol -- required for testing */
|
|
167
166
|
|
|
168
167
|
var V8_VERSION = engineV8Version;
|
|
169
168
|
var fails$2 = fails$5;
|
|
170
169
|
|
|
171
|
-
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
|
170
|
+
// eslint-disable-next-line es-x/no-object-getownpropertysymbols -- required for testing
|
|
172
171
|
var nativeSymbol = !!Object.getOwnPropertySymbols && !fails$2(function () {
|
|
173
172
|
var symbol = Symbol();
|
|
174
173
|
// Chrome 38 Symbol has incorrect toString conversion
|
|
@@ -178,7 +177,7 @@ var nativeSymbol = !!Object.getOwnPropertySymbols && !fails$2(function () {
|
|
|
178
177
|
!Symbol.sham && V8_VERSION && V8_VERSION < 41;
|
|
179
178
|
});
|
|
180
179
|
|
|
181
|
-
/* eslint-disable es/no-symbol -- required for testing */
|
|
180
|
+
/* eslint-disable es-x/no-symbol -- required for testing */
|
|
182
181
|
|
|
183
182
|
var NATIVE_SYMBOL$1 = nativeSymbol;
|
|
184
183
|
|
|
@@ -186,43 +185,39 @@ var useSymbolAsUid = NATIVE_SYMBOL$1
|
|
|
186
185
|
&& !Symbol.sham
|
|
187
186
|
&& typeof Symbol.iterator == 'symbol';
|
|
188
187
|
|
|
189
|
-
var global$c = global$g;
|
|
190
188
|
var getBuiltIn = getBuiltIn$2;
|
|
191
189
|
var isCallable$2 = isCallable$5;
|
|
192
190
|
var isPrototypeOf = objectIsPrototypeOf;
|
|
193
191
|
var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
|
|
194
192
|
|
|
195
|
-
var Object$
|
|
193
|
+
var $Object$1 = Object;
|
|
196
194
|
|
|
197
195
|
var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) {
|
|
198
196
|
return typeof it == 'symbol';
|
|
199
197
|
} : function (it) {
|
|
200
198
|
var $Symbol = getBuiltIn('Symbol');
|
|
201
|
-
return isCallable$2($Symbol) && isPrototypeOf($Symbol.prototype, Object$
|
|
199
|
+
return isCallable$2($Symbol) && isPrototypeOf($Symbol.prototype, $Object$1(it));
|
|
202
200
|
};
|
|
203
201
|
|
|
204
|
-
var
|
|
205
|
-
|
|
206
|
-
var String$2 = global$b.String;
|
|
202
|
+
var $String$1 = String;
|
|
207
203
|
|
|
208
204
|
var tryToString$1 = function (argument) {
|
|
209
205
|
try {
|
|
210
|
-
return String$
|
|
206
|
+
return $String$1(argument);
|
|
211
207
|
} catch (error) {
|
|
212
208
|
return 'Object';
|
|
213
209
|
}
|
|
214
210
|
};
|
|
215
211
|
|
|
216
|
-
var global$a = global$g;
|
|
217
212
|
var isCallable$1 = isCallable$5;
|
|
218
213
|
var tryToString = tryToString$1;
|
|
219
214
|
|
|
220
|
-
var TypeError$4 =
|
|
215
|
+
var $TypeError$4 = TypeError;
|
|
221
216
|
|
|
222
217
|
// `Assert: IsCallable(argument) is true`
|
|
223
218
|
var aCallable$1 = function (argument) {
|
|
224
219
|
if (isCallable$1(argument)) return argument;
|
|
225
|
-
throw TypeError$4(tryToString(argument) + ' is not a function');
|
|
220
|
+
throw $TypeError$4(tryToString(argument) + ' is not a function');
|
|
226
221
|
};
|
|
227
222
|
|
|
228
223
|
var aCallable = aCallable$1;
|
|
@@ -234,12 +229,11 @@ var getMethod$1 = function (V, P) {
|
|
|
234
229
|
return func == null ? undefined : aCallable(func);
|
|
235
230
|
};
|
|
236
231
|
|
|
237
|
-
var global$9 = global$g;
|
|
238
232
|
var call$1 = functionCall;
|
|
239
233
|
var isCallable = isCallable$5;
|
|
240
234
|
var isObject$3 = isObject$4;
|
|
241
235
|
|
|
242
|
-
var TypeError$3 =
|
|
236
|
+
var $TypeError$3 = TypeError;
|
|
243
237
|
|
|
244
238
|
// `OrdinaryToPrimitive` abstract operation
|
|
245
239
|
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
|
@@ -248,31 +242,31 @@ var ordinaryToPrimitive$1 = function (input, pref) {
|
|
|
248
242
|
if (pref === 'string' && isCallable(fn = input.toString) && !isObject$3(val = call$1(fn, input))) return val;
|
|
249
243
|
if (isCallable(fn = input.valueOf) && !isObject$3(val = call$1(fn, input))) return val;
|
|
250
244
|
if (pref !== 'string' && isCallable(fn = input.toString) && !isObject$3(val = call$1(fn, input))) return val;
|
|
251
|
-
throw TypeError$3("Can't convert object to primitive value");
|
|
245
|
+
throw $TypeError$3("Can't convert object to primitive value");
|
|
252
246
|
};
|
|
253
247
|
|
|
254
248
|
var shared$2 = {exports: {}};
|
|
255
249
|
|
|
256
250
|
var isPure = false;
|
|
257
251
|
|
|
258
|
-
var global$
|
|
252
|
+
var global$4 = global$7;
|
|
259
253
|
|
|
260
|
-
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
254
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- safe
|
|
261
255
|
var defineProperty = Object.defineProperty;
|
|
262
256
|
|
|
263
|
-
var
|
|
257
|
+
var defineGlobalProperty$1 = function (key, value) {
|
|
264
258
|
try {
|
|
265
|
-
defineProperty(global$
|
|
259
|
+
defineProperty(global$4, key, { value: value, configurable: true, writable: true });
|
|
266
260
|
} catch (error) {
|
|
267
|
-
global$
|
|
261
|
+
global$4[key] = value;
|
|
268
262
|
} return value;
|
|
269
263
|
};
|
|
270
264
|
|
|
271
|
-
var global$
|
|
272
|
-
var
|
|
265
|
+
var global$3 = global$7;
|
|
266
|
+
var defineGlobalProperty = defineGlobalProperty$1;
|
|
273
267
|
|
|
274
268
|
var SHARED = '__core-js_shared__';
|
|
275
|
-
var store$1 = global$
|
|
269
|
+
var store$1 = global$3[SHARED] || defineGlobalProperty(SHARED, {});
|
|
276
270
|
|
|
277
271
|
var sharedStore = store$1;
|
|
278
272
|
|
|
@@ -282,24 +276,23 @@ var store = sharedStore;
|
|
|
282
276
|
(shared$2.exports = function (key, value) {
|
|
283
277
|
return store[key] || (store[key] = value !== undefined ? value : {});
|
|
284
278
|
})('versions', []).push({
|
|
285
|
-
version: '3.
|
|
279
|
+
version: '3.23.3',
|
|
286
280
|
mode: IS_PURE ? 'pure' : 'global',
|
|
287
281
|
copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
|
|
288
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.
|
|
282
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.23.3/LICENSE',
|
|
289
283
|
source: 'https://github.com/zloirock/core-js'
|
|
290
284
|
});
|
|
291
285
|
|
|
292
286
|
var shared$1 = shared$2.exports;
|
|
293
287
|
|
|
294
|
-
var global$6 = global$g;
|
|
295
288
|
var requireObjectCoercible = requireObjectCoercible$1;
|
|
296
289
|
|
|
297
|
-
var Object
|
|
290
|
+
var $Object = Object;
|
|
298
291
|
|
|
299
292
|
// `ToObject` abstract operation
|
|
300
293
|
// https://tc39.es/ecma262/#sec-toobject
|
|
301
294
|
var toObject$1 = function (argument) {
|
|
302
|
-
return Object
|
|
295
|
+
return $Object(requireObjectCoercible(argument));
|
|
303
296
|
};
|
|
304
297
|
|
|
305
298
|
var uncurryThis$1 = functionUncurryThis;
|
|
@@ -309,6 +302,7 @@ var hasOwnProperty = uncurryThis$1({}.hasOwnProperty);
|
|
|
309
302
|
|
|
310
303
|
// `HasOwnProperty` abstract operation
|
|
311
304
|
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
305
|
+
// eslint-disable-next-line es-x/no-object-hasown -- safe
|
|
312
306
|
var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
|
313
307
|
return hasOwnProperty(toObject(it), key);
|
|
314
308
|
};
|
|
@@ -323,7 +317,7 @@ var uid$1 = function (key) {
|
|
|
323
317
|
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
|
|
324
318
|
};
|
|
325
319
|
|
|
326
|
-
var global$
|
|
320
|
+
var global$2 = global$7;
|
|
327
321
|
var shared = shared$2.exports;
|
|
328
322
|
var hasOwn$1 = hasOwnProperty_1;
|
|
329
323
|
var uid = uid$1;
|
|
@@ -331,7 +325,7 @@ var NATIVE_SYMBOL = nativeSymbol;
|
|
|
331
325
|
var USE_SYMBOL_AS_UID = useSymbolAsUid;
|
|
332
326
|
|
|
333
327
|
var WellKnownSymbolsStore = shared('wks');
|
|
334
|
-
var Symbol$1 = global$
|
|
328
|
+
var Symbol$1 = global$2.Symbol;
|
|
335
329
|
var symbolFor = Symbol$1 && Symbol$1['for'];
|
|
336
330
|
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid;
|
|
337
331
|
|
|
@@ -348,7 +342,6 @@ var wellKnownSymbol$1 = function (name) {
|
|
|
348
342
|
} return WellKnownSymbolsStore[name];
|
|
349
343
|
};
|
|
350
344
|
|
|
351
|
-
var global$4 = global$g;
|
|
352
345
|
var call = functionCall;
|
|
353
346
|
var isObject$2 = isObject$4;
|
|
354
347
|
var isSymbol$1 = isSymbol$2;
|
|
@@ -356,7 +349,7 @@ var getMethod = getMethod$1;
|
|
|
356
349
|
var ordinaryToPrimitive = ordinaryToPrimitive$1;
|
|
357
350
|
var wellKnownSymbol = wellKnownSymbol$1;
|
|
358
351
|
|
|
359
|
-
var TypeError$2 =
|
|
352
|
+
var $TypeError$2 = TypeError;
|
|
360
353
|
var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
|
|
361
354
|
|
|
362
355
|
// `ToPrimitive` abstract operation
|
|
@@ -369,7 +362,7 @@ var toPrimitive$1 = function (input, pref) {
|
|
|
369
362
|
if (pref === undefined) pref = 'default';
|
|
370
363
|
result = call(exoticToPrim, input, pref);
|
|
371
364
|
if (!isObject$2(result) || isSymbol$1(result)) return result;
|
|
372
|
-
throw TypeError$2("Can't convert object to primitive value");
|
|
365
|
+
throw $TypeError$2("Can't convert object to primitive value");
|
|
373
366
|
}
|
|
374
367
|
if (pref === undefined) pref = 'number';
|
|
375
368
|
return ordinaryToPrimitive(input, pref);
|
|
@@ -385,10 +378,10 @@ var toPropertyKey$1 = function (argument) {
|
|
|
385
378
|
return isSymbol(key) ? key : key + '';
|
|
386
379
|
};
|
|
387
380
|
|
|
388
|
-
var global$
|
|
381
|
+
var global$1 = global$7;
|
|
389
382
|
var isObject$1 = isObject$4;
|
|
390
383
|
|
|
391
|
-
var document = global$
|
|
384
|
+
var document = global$1.document;
|
|
392
385
|
// typeof document.createElement is 'object' in old IE
|
|
393
386
|
var EXISTS$1 = isObject$1(document) && isObject$1(document.createElement);
|
|
394
387
|
|
|
@@ -402,7 +395,7 @@ var createElement = documentCreateElement;
|
|
|
402
395
|
|
|
403
396
|
// Thanks to IE8 for its funny defineProperty
|
|
404
397
|
var ie8DomDefine = !DESCRIPTORS$3 && !fails$1(function () {
|
|
405
|
-
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
398
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
|
|
406
399
|
return Object.defineProperty(createElement('div'), 'a', {
|
|
407
400
|
get: function () { return 7; }
|
|
408
401
|
}).a != 7;
|
|
@@ -416,36 +409,34 @@ var fails = fails$5;
|
|
|
416
409
|
// V8 ~ Chrome 36-
|
|
417
410
|
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
|
418
411
|
var v8PrototypeDefineBug = DESCRIPTORS$2 && fails(function () {
|
|
419
|
-
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
412
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
|
|
420
413
|
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
421
414
|
value: 42,
|
|
422
415
|
writable: false
|
|
423
416
|
}).prototype != 42;
|
|
424
417
|
});
|
|
425
418
|
|
|
426
|
-
var global$2 = global$g;
|
|
427
419
|
var isObject = isObject$4;
|
|
428
420
|
|
|
429
|
-
var String
|
|
430
|
-
var TypeError$1 =
|
|
421
|
+
var $String = String;
|
|
422
|
+
var $TypeError$1 = TypeError;
|
|
431
423
|
|
|
432
424
|
// `Assert: Type(argument) is Object`
|
|
433
425
|
var anObject$1 = function (argument) {
|
|
434
426
|
if (isObject(argument)) return argument;
|
|
435
|
-
throw TypeError$1(String
|
|
427
|
+
throw $TypeError$1($String(argument) + ' is not an object');
|
|
436
428
|
};
|
|
437
429
|
|
|
438
|
-
var global$1 = global$g;
|
|
439
430
|
var DESCRIPTORS$1 = descriptors;
|
|
440
431
|
var IE8_DOM_DEFINE = ie8DomDefine;
|
|
441
432
|
var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
|
|
442
433
|
var anObject = anObject$1;
|
|
443
434
|
var toPropertyKey = toPropertyKey$1;
|
|
444
435
|
|
|
445
|
-
var TypeError =
|
|
446
|
-
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
436
|
+
var $TypeError = TypeError;
|
|
437
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- safe
|
|
447
438
|
var $defineProperty = Object.defineProperty;
|
|
448
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
439
|
+
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
|
449
440
|
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
450
441
|
var ENUMERABLE = 'enumerable';
|
|
451
442
|
var CONFIGURABLE$1 = 'configurable';
|
|
@@ -475,7 +466,7 @@ var f = objectDefineProperty.f = DESCRIPTORS$1 ? V8_PROTOTYPE_DEFINE_BUG ? funct
|
|
|
475
466
|
if (IE8_DOM_DEFINE) try {
|
|
476
467
|
return $defineProperty(O, P, Attributes);
|
|
477
468
|
} catch (error) { /* empty */ }
|
|
478
|
-
if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported');
|
|
469
|
+
if ('get' in Attributes || 'set' in Attributes) throw $TypeError('Accessors not supported');
|
|
479
470
|
if ('value' in Attributes) O[P] = Attributes.value;
|
|
480
471
|
return O;
|
|
481
472
|
};
|
|
@@ -484,7 +475,7 @@ var DESCRIPTORS = descriptors;
|
|
|
484
475
|
var hasOwn = hasOwnProperty_1;
|
|
485
476
|
|
|
486
477
|
var FunctionPrototype = Function.prototype;
|
|
487
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
478
|
+
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
|
488
479
|
var getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;
|
|
489
480
|
|
|
490
481
|
var EXISTS = hasOwn(FunctionPrototype, 'name');
|
|
@@ -498,4 +489,4 @@ var functionName = {
|
|
|
498
489
|
CONFIGURABLE: CONFIGURABLE
|
|
499
490
|
};
|
|
500
491
|
|
|
501
|
-
export {
|
|
492
|
+
export { functionName as A, defineGlobalProperty$1 as B, v8PrototypeDefineBug as C, descriptors as a, functionUncurryThis as b, functionBindNative as c, documentCreateElement as d, engineUserAgent as e, fails$5 as f, global$7 as g, aCallable$1 as h, isCallable$5 as i, getBuiltIn$2 as j, isObject$4 as k, anObject$1 as l, hasOwnProperty_1 as m, isSymbol$2 as n, objectIsPrototypeOf as o, toPrimitive$1 as p, objectDefineProperty as q, requireObjectCoercible$1 as r, functionCall as s, toObject$1 as t, toPropertyKey$1 as u, ie8DomDefine as v, wellKnownSymbol$1 as w, sharedStore as x, shared$2 as y, uid$1 as z };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import './es.array.includes-
|
|
1
|
+
import './es.array.includes-debcb50f.js';
|
|
2
2
|
import { defineComponent, ref, computed, openBlock, createBlock, resolveDynamicComponent, normalizeClass, withCtx, renderSlot } from 'vue';
|
|
3
3
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
4
4
|
|
|
@@ -53,6 +53,8 @@ var script = defineComponent({
|
|
|
53
53
|
}
|
|
54
54
|
},
|
|
55
55
|
setup: function setup(props, ctx) {
|
|
56
|
+
var baseClass = ref( // eslint-disable-next-line max-len
|
|
57
|
+
"inline-block text-center cursor-pointer whitespace-nowrap border-2 focus:outline-0 focus-visible:outline-0 focus:ring-none ring-offset-2 focus-visible:ring");
|
|
56
58
|
var buttonClasses = ref({
|
|
57
59
|
primary: {
|
|
58
60
|
text: 'text-tertiary hover:text-primary active:text-primary',
|
|
@@ -85,7 +87,7 @@ var script = defineComponent({
|
|
|
85
87
|
border: 'border-none focus-visible:ring-primary'
|
|
86
88
|
},
|
|
87
89
|
text: {
|
|
88
|
-
text: 'text-body hover:text-white active:text-white',
|
|
90
|
+
text: 'text-body font-medium hover:text-white active:text-white',
|
|
89
91
|
background: 'bg-white hover:bg-body active:bg-body',
|
|
90
92
|
border: 'border-transparent focus-visible:ring-body'
|
|
91
93
|
}
|
|
@@ -112,6 +114,7 @@ var script = defineComponent({
|
|
|
112
114
|
/**
|
|
113
115
|
* @event Click - Native click
|
|
114
116
|
*/
|
|
117
|
+
// eslint-disable-next-line no-undef
|
|
115
118
|
|
|
116
119
|
var onClick = function onClick(e) {
|
|
117
120
|
return ctx.emit('click', e);
|
|
@@ -119,6 +122,7 @@ var script = defineComponent({
|
|
|
119
122
|
/**
|
|
120
123
|
* @event mouseover - Native hover
|
|
121
124
|
*/
|
|
125
|
+
// eslint-disable-next-line no-undef
|
|
122
126
|
|
|
123
127
|
|
|
124
128
|
var onMouseover = function onMouseover(e) {
|
|
@@ -127,6 +131,7 @@ var script = defineComponent({
|
|
|
127
131
|
/**
|
|
128
132
|
* @event mouseout - Native hover out
|
|
129
133
|
*/
|
|
134
|
+
// eslint-disable-next-line no-undef
|
|
130
135
|
|
|
131
136
|
|
|
132
137
|
var onMouseout = function onMouseout(e) {
|
|
@@ -135,6 +140,7 @@ var script = defineComponent({
|
|
|
135
140
|
/**
|
|
136
141
|
* @event focusin - Native focusin
|
|
137
142
|
*/
|
|
143
|
+
// eslint-disable-next-line no-undef
|
|
138
144
|
|
|
139
145
|
|
|
140
146
|
var onFocusin = function onFocusin(e) {
|
|
@@ -143,6 +149,7 @@ var script = defineComponent({
|
|
|
143
149
|
/**
|
|
144
150
|
* @event focusout - Native focusout
|
|
145
151
|
*/
|
|
152
|
+
// eslint-disable-next-line no-undef
|
|
146
153
|
|
|
147
154
|
|
|
148
155
|
var onFocusout = function onFocusout(e) {
|
|
@@ -155,6 +162,7 @@ var script = defineComponent({
|
|
|
155
162
|
return 'button';
|
|
156
163
|
});
|
|
157
164
|
return {
|
|
165
|
+
baseClass: baseClass,
|
|
158
166
|
textColorClass: textColorClass,
|
|
159
167
|
bgColorClass: bgColorClass,
|
|
160
168
|
sizeClass: sizeClass,
|
|
@@ -171,7 +179,7 @@ var script = defineComponent({
|
|
|
171
179
|
|
|
172
180
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
173
181
|
return openBlock(), createBlock(resolveDynamicComponent(_ctx.tagName), {
|
|
174
|
-
"class": normalizeClass(["fw-button
|
|
182
|
+
"class": normalizeClass(["fw-button", [_ctx.baseClass, _ctx.textColorClass, _ctx.bgColorClass, _ctx.sizeClass, _ctx.borderClass, _ctx.variant === 'link' ? 'pl-0 pr-0 pt-0 pb-0 rounded-none font-normal' : 'font-bold rounded-full']]),
|
|
175
183
|
type: _ctx.tagName === 'button' ? _ctx.buttonType : null,
|
|
176
184
|
to: _ctx.to ? _ctx.to : null,
|
|
177
185
|
href: _ctx.href ? _ctx.href : null,
|
|
@@ -186,7 +194,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
186
194
|
return [renderSlot(_ctx.$slots, "default")];
|
|
187
195
|
}),
|
|
188
196
|
_: 3
|
|
189
|
-
},
|
|
197
|
+
}, 40, ["class", "type", "to", "href", "tabindex", "onClick", "onFocusin", "onFocusout", "onMouseover", "onMouseout"]);
|
|
190
198
|
}
|
|
191
199
|
|
|
192
200
|
var css_248z = ".fw-button{line-height:normal;-webkit-transition:all .25s ease-in-out;-o-transition:all .25s ease-in-out;transition:all .25s ease-in-out}";
|
package/esm/fw-button.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { s as FwButton } from './fw-button-
|
|
2
|
-
import './es.array.includes-
|
|
3
|
-
import './function-name-
|
|
4
|
-
import './add-to-unscopables-
|
|
1
|
+
export { s as FwButton } from './fw-button-ab906734.js';
|
|
2
|
+
import './es.array.includes-debcb50f.js';
|
|
3
|
+
import './function-name-f0c1223e.js';
|
|
4
|
+
import './add-to-unscopables-81c17489.js';
|
|
5
5
|
import 'vue';
|
|
6
6
|
import './style-inject.es-1f59c1d0.js';
|
package/esm/fw-card.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, computed, openBlock, createBlock, resolveDynamicComponent, normalizeClass, withCtx, createElementBlock, toDisplayString, createCommentVNode, renderSlot } from 'vue';
|
|
1
|
+
import { defineComponent, ref, computed, openBlock, createBlock, resolveDynamicComponent, normalizeClass, withCtx, createElementBlock, toDisplayString, createCommentVNode, renderSlot } from 'vue';
|
|
2
2
|
|
|
3
3
|
var script = defineComponent({
|
|
4
4
|
name: 'FwCard',
|
|
@@ -30,13 +30,16 @@ var script = defineComponent({
|
|
|
30
30
|
href: String
|
|
31
31
|
},
|
|
32
32
|
setup: function setup(props) {
|
|
33
|
+
var linkClass = ref( // eslint-disable-next-line max-len
|
|
34
|
+
"block cursor-pointer focus:outline-none ring-offset-3 focus:ring focus:ring-primary transform-none transition-transform hover:-translate-y-1");
|
|
33
35
|
var componentName = computed(function () {
|
|
34
36
|
if (props.to) return 'router-link';
|
|
35
37
|
if (props.href) return 'a';
|
|
36
38
|
return 'div';
|
|
37
39
|
});
|
|
38
40
|
return {
|
|
39
|
-
componentName: componentName
|
|
41
|
+
componentName: componentName,
|
|
42
|
+
linkClass: linkClass
|
|
40
43
|
};
|
|
41
44
|
}
|
|
42
45
|
});
|
|
@@ -61,7 +64,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
61
64
|
to: _ctx.to ? _ctx.to : null,
|
|
62
65
|
href: _ctx.href ? _ctx.href : null,
|
|
63
66
|
tabindex: _ctx.to ? 0 : null,
|
|
64
|
-
"class": normalizeClass(["fw-card shadow-card rounded-lg", _ctx.to || _ctx.href ?
|
|
67
|
+
"class": normalizeClass(["fw-card shadow-card rounded-lg", _ctx.to || _ctx.href ? _ctx.linkClass : ''])
|
|
65
68
|
}, {
|
|
66
69
|
"default": withCtx(function () {
|
|
67
70
|
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("span", _hoisted_3, toDisplayString(_ctx.title), 1)) : createCommentVNode("", true)])) : createCommentVNode("", true), _ctx.$slots["default"] ? (openBlock(), createElementBlock("div", _hoisted_4, [renderSlot(_ctx.$slots, "default")])) : createCommentVNode("", true)];
|
package/esm/fw-checkbox.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent, resolveComponent, openBlock, createElementBlock, createVNode, withCtx, createElementVNode, mergeProps, createCommentVNode, Transition, toDisplayString } from 'vue';
|
|
2
|
-
import { a as Field } from './vee-validate.esm-
|
|
3
|
-
import './es.function.name-
|
|
1
|
+
import { defineComponent, pushScopeId, popScopeId, resolveComponent, openBlock, createElementBlock, createVNode, withCtx, createElementVNode, mergeProps, createCommentVNode, Transition, toDisplayString } from 'vue';
|
|
2
|
+
import { a as Field } from './vee-validate.esm-b64acab1.js';
|
|
3
|
+
import './es.function.name-e746680f.js';
|
|
4
4
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
5
|
-
import './function-name-
|
|
5
|
+
import './function-name-f0c1223e.js';
|
|
6
6
|
|
|
7
7
|
var script = defineComponent({
|
|
8
8
|
name: 'FwCheckbox',
|
|
@@ -26,10 +26,10 @@ var script = defineComponent({
|
|
|
26
26
|
},
|
|
27
27
|
|
|
28
28
|
/**
|
|
29
|
-
* Validation rules. Accepts
|
|
29
|
+
* Validation rules. Accepts an object, stringm schema or validation function.
|
|
30
30
|
*/
|
|
31
31
|
rules: {
|
|
32
|
-
type: [
|
|
32
|
+
type: [Object, String, Function]
|
|
33
33
|
},
|
|
34
34
|
|
|
35
35
|
/**
|
|
@@ -41,6 +41,10 @@ var script = defineComponent({
|
|
|
41
41
|
}
|
|
42
42
|
});
|
|
43
43
|
|
|
44
|
+
var _withScopeId = function _withScopeId(n) {
|
|
45
|
+
return pushScopeId("data-v-7423717e"), n = n(), popScopeId(), n;
|
|
46
|
+
};
|
|
47
|
+
|
|
44
48
|
var _hoisted_1 = {
|
|
45
49
|
"class": "fw-checkbox w-full"
|
|
46
50
|
};
|
|
@@ -100,10 +104,11 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
100
104
|
}, 8, ["name", "value", "rules"])]);
|
|
101
105
|
}
|
|
102
106
|
|
|
103
|
-
var css_248z = ".fwFadeIn-enter-active{-webkit-animation:fwFadeIn .35s;animation:fwFadeIn .35s;-webkit-transition:opacity .35s ease-in;-o-transition:opacity .35s ease-in;transition:opacity .35s ease-in}.fwFadeIn-leave-active{animation:fwFadeIn .35s reverse;-webkit-transition:opacity .35s ease-out;-o-transition:opacity .35s ease-out;transition:opacity .35s ease-out}@-webkit-keyframes fwFadeIn{0%{opacity:0}to{opacity:1}}@keyframes fwFadeIn{0%{opacity:0}to{opacity:1}}.fw-checkbox input
|
|
104
|
-
var stylesheet = ".fwFadeIn-enter-active{-webkit-animation:fwFadeIn .35s;animation:fwFadeIn .35s;-webkit-transition:opacity .35s ease-in;-o-transition:opacity .35s ease-in;transition:opacity .35s ease-in}.fwFadeIn-leave-active{animation:fwFadeIn .35s reverse;-webkit-transition:opacity .35s ease-out;-o-transition:opacity .35s ease-out;transition:opacity .35s ease-out}@-webkit-keyframes fwFadeIn{0%{opacity:0}to{opacity:1}}@keyframes fwFadeIn{0%{opacity:0}to{opacity:1}}.fw-checkbox input
|
|
107
|
+
var css_248z = ".fwFadeIn-enter-active[data-v-7423717e]{-webkit-animation:fwFadeIn-7423717e .35s;animation:fwFadeIn-7423717e .35s;-webkit-transition:opacity .35s ease-in;-o-transition:opacity .35s ease-in;transition:opacity .35s ease-in}.fwFadeIn-leave-active[data-v-7423717e]{animation:fwFadeIn-7423717e .35s reverse;-webkit-transition:opacity .35s ease-out;-o-transition:opacity .35s ease-out;transition:opacity .35s ease-out}@-webkit-keyframes fwFadeIn-7423717e{0%{opacity:0}to{opacity:1}}@keyframes fwFadeIn-7423717e{0%{opacity:0}to{opacity:1}}.fw-checkbox input[data-v-7423717e]{-ms-flex-negative:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-origin:border-box;display:inline-block;flex-shrink:0;-webkit-transition:background .2s ease-in;-o-transition:background .2s ease-in;transition:background .2s ease-in;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:middle}.fw-checkbox input[data-v-7423717e]:checked{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='3 3 10 10' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.707 7.293a1 1 0 0 0-1.414 1.414l2 2a1 1 0 0 0 1.414 0l4-4a1 1 0 0 0-1.414-1.414L7 8.586 5.707 7.293z'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}";
|
|
108
|
+
var stylesheet = ".fwFadeIn-enter-active[data-v-7423717e]{-webkit-animation:fwFadeIn-7423717e .35s;animation:fwFadeIn-7423717e .35s;-webkit-transition:opacity .35s ease-in;-o-transition:opacity .35s ease-in;transition:opacity .35s ease-in}.fwFadeIn-leave-active[data-v-7423717e]{animation:fwFadeIn-7423717e .35s reverse;-webkit-transition:opacity .35s ease-out;-o-transition:opacity .35s ease-out;transition:opacity .35s ease-out}@-webkit-keyframes fwFadeIn-7423717e{0%{opacity:0}to{opacity:1}}@keyframes fwFadeIn-7423717e{0%{opacity:0}to{opacity:1}}.fw-checkbox input[data-v-7423717e]{-ms-flex-negative:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-origin:border-box;display:inline-block;flex-shrink:0;-webkit-transition:background .2s ease-in;-o-transition:background .2s ease-in;transition:background .2s ease-in;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:middle}.fw-checkbox input[data-v-7423717e]:checked{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='3 3 10 10' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.707 7.293a1 1 0 0 0-1.414 1.414l2 2a1 1 0 0 0 1.414 0l4-4a1 1 0 0 0-1.414-1.414L7 8.586 5.707 7.293z'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}";
|
|
105
109
|
styleInject(css_248z);
|
|
106
110
|
|
|
107
111
|
script.render = render;
|
|
112
|
+
script.__scopeId = "data-v-7423717e";
|
|
108
113
|
|
|
109
114
|
export { script as FwCheckbox };
|
package/esm/fw-form.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { F as FwForm } from './vee-validate.esm-
|
|
1
|
+
export { F as FwForm } from './vee-validate.esm-b64acab1.js';
|
|
2
2
|
import 'vue';
|
package/esm/fw-input.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import './es.array.includes-
|
|
2
|
-
import { defineComponent, computed, createElementVNode, resolveComponent, openBlock, createElementBlock, createVNode, withCtx, toDisplayString, createCommentVNode, renderSlot, mergeProps, Transition, normalizeClass } from 'vue';
|
|
3
|
-
import { a as Field } from './vee-validate.esm-
|
|
4
|
-
import './es.function.name-
|
|
1
|
+
import './es.array.includes-debcb50f.js';
|
|
2
|
+
import { defineComponent, ref, computed, createElementVNode, resolveComponent, openBlock, createElementBlock, createVNode, withCtx, toDisplayString, createCommentVNode, renderSlot, mergeProps, Transition, normalizeClass } from 'vue';
|
|
3
|
+
import { a as Field } from './vee-validate.esm-b64acab1.js';
|
|
4
|
+
import './es.function.name-e746680f.js';
|
|
5
5
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
6
|
-
import './function-name-
|
|
7
|
-
import './add-to-unscopables-
|
|
6
|
+
import './function-name-f0c1223e.js';
|
|
7
|
+
import './add-to-unscopables-81c17489.js';
|
|
8
8
|
|
|
9
9
|
var script = defineComponent({
|
|
10
10
|
name: 'FwInput',
|
|
@@ -56,10 +56,10 @@ var script = defineComponent({
|
|
|
56
56
|
},
|
|
57
57
|
|
|
58
58
|
/**
|
|
59
|
-
* Validation rules. Accepts
|
|
59
|
+
* Validation rules. Accepts an object, string schema or validation function.
|
|
60
60
|
*/
|
|
61
61
|
rules: {
|
|
62
|
-
type: [
|
|
62
|
+
type: [Object, String, Function]
|
|
63
63
|
},
|
|
64
64
|
|
|
65
65
|
/**
|
|
@@ -75,9 +75,17 @@ var script = defineComponent({
|
|
|
75
75
|
*/
|
|
76
76
|
hint: {
|
|
77
77
|
type: String
|
|
78
|
+
},
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* The autocomplete input attribute
|
|
82
|
+
*/
|
|
83
|
+
autocomplete: {
|
|
84
|
+
type: String
|
|
78
85
|
}
|
|
79
86
|
},
|
|
80
87
|
setup: function setup(props, ctx) {
|
|
88
|
+
var inputBaseClass = ref("border-2 border-grey-lightest rounded-lg focus:outline-none focus:ring-2 focus:ring-primary block w-full p-2.5");
|
|
81
89
|
var inputValue = computed({
|
|
82
90
|
get: function get() {
|
|
83
91
|
return props.modelValue;
|
|
@@ -87,6 +95,7 @@ var script = defineComponent({
|
|
|
87
95
|
}
|
|
88
96
|
});
|
|
89
97
|
return {
|
|
98
|
+
inputBaseClass: inputBaseClass,
|
|
90
99
|
inputValue: inputValue
|
|
91
100
|
};
|
|
92
101
|
}
|
|
@@ -112,7 +121,7 @@ var _hoisted_7 = {
|
|
|
112
121
|
key: 0,
|
|
113
122
|
"class": "flex text-black absolute w-9 h-full inset-y-0 left-0 items-center pl-3 pointer-events-none"
|
|
114
123
|
};
|
|
115
|
-
var _hoisted_8 = ["placeholder", "type", "readonly", "disabled"];
|
|
124
|
+
var _hoisted_8 = ["placeholder", "type", "readonly", "disabled", "autocomplete"];
|
|
116
125
|
|
|
117
126
|
var _hoisted_9 = /*#__PURE__*/createElementVNode("svg", {
|
|
118
127
|
fill: "currentColor",
|
|
@@ -165,10 +174,11 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
165
174
|
type: _ctx.type,
|
|
166
175
|
readonly: _ctx.readonly,
|
|
167
176
|
disabled: _ctx.readonly,
|
|
168
|
-
|
|
177
|
+
autocomplete: _ctx.autocomplete,
|
|
178
|
+
"class": [{
|
|
169
179
|
'pl-10': !!_ctx.$slots.prefix,
|
|
170
180
|
'pr-20': !!_ctx.$slots.suffix
|
|
171
|
-
}]
|
|
181
|
+
}, _ctx.inputBaseClass]
|
|
172
182
|
}), null, 16, _hoisted_8), createVNode(Transition, {
|
|
173
183
|
name: "fwFadeIn"
|
|
174
184
|
}, {
|