@frollo/frollo-web-ui 1.2.3 → 1.2.5
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 +1451 -719
- package/esm/{add-to-unscopables-44076600.js → add-to-unscopables-a5032b1d.js} +4 -4
- package/esm/{array-iteration-10670eca.js → array-iteration-4f83e223.js} +4 -4
- package/esm/{classof-b2d09c70.js → classof-088c9833.js} +2 -2
- package/esm/create-property-da6d232b.js +26 -0
- package/esm/es.array.find-54b8f84b.js +52 -0
- package/esm/{es.array.includes-b402df81.js → es.array.includes-9a6e4066.js} +4 -4
- package/esm/{es.function.name-383fcdbc.js → es.function.name-2fa3a718.js} +1 -1
- package/esm/{es.number.constructor-6def8fd9.js → es.number.constructor-b7faae1f.js} +5 -3
- package/esm/{function-name-0d296891.js → function-name-c49146fc.js} +1 -1
- package/esm/fw-animations.js +5 -5
- package/esm/{fw-button-fb8e3fe2.js → fw-button-d5d2cf19.js} +1 -1
- package/esm/fw-button.js +6 -6
- package/esm/fw-checkbox.js +2 -2
- package/esm/fw-dropdown.js +9 -54
- package/esm/fw-image.js +848 -0
- package/esm/fw-input.js +6 -6
- package/esm/fw-loading-bar-da7d53fb.js +22 -0
- package/esm/fw-loading.js +96 -0
- package/esm/fw-modal.js +7 -7
- package/esm/fw-navigation-menu.js +6 -6
- package/esm/fw-progress-bar.js +5 -5
- package/esm/fw-table.js +466 -8
- package/esm/fw-tabs.js +8 -8
- package/esm/fw-tag.js +5 -5
- package/esm/{index-26d82b11.js → index-7d8c95be.js} +2 -2
- package/esm/{index-ed9adbea.js → index-b3aa1664.js} +94 -80
- package/esm/index.js +36 -199
- package/esm/{is-forced-2369382d.js → is-forced-fd46b5f2.js} +2 -2
- package/esm/{object-keys-f9d76c12.js → object-keys-3c73c404.js} +2 -2
- package/esm/{to-string-2588bbbe.js → to-string-c2bd1f4d.js} +2 -2
- package/frollo-web-ui.esm.js +1635 -829
- package/icons/index.ts +3 -1
- package/icons/user.svg +3 -0
- package/index.d.ts +149 -17
- package/package.json +1 -1
- package/types/components/fw-image/fw-image.vue.d.ts +84 -0
- package/types/components/fw-image/index.d.ts +2 -0
- package/types/components/fw-image/index.types.d.ts +8 -0
- package/types/components/fw-loading/fw-loading-bar.vue.d.ts +2 -0
- package/types/components/fw-loading/fw-loading-card.vue.d.ts +2 -0
- package/types/components/fw-loading/fw-loading-table.vue.d.ts +25 -0
- package/types/components/fw-loading/index.d.ts +4 -0
- package/types/components/fw-table/fw-table.vue.d.ts +11 -1
- package/types/components/fw-table/index.types.d.ts +1 -0
- package/types/components/index.d.ts +2 -0
- package/types/components/index.types.d.ts +1 -0
- package/types/directives/index.d.ts +2 -0
- package/types/directives/lazy-loader.d.ts +3 -0
- package/types/icons/index.d.ts +2 -1
- package/esm/index-2ee67707.js +0 -454
package/esm/index.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
import {
|
|
7
|
-
export { FwDropdown } from './fw-dropdown.js';
|
|
8
|
-
import { c as createNonEnumerableProperty$1, t as toIndexedObject$1, o as objectPropertyIsEnumerable } from './is-forced-2369382d.js';
|
|
1
|
+
import { FwImage as script$f } from './fw-image.js';
|
|
2
|
+
export { FwImage } from './fw-image.js';
|
|
3
|
+
import './es.array.find-54b8f84b.js';
|
|
4
|
+
import { d as descriptors, f as functionUncurryThis } from './function-name-c49146fc.js';
|
|
5
|
+
import { o as objectKeys$1, _ as _export } from './object-keys-3c73c404.js';
|
|
6
|
+
import { t as toIndexedObject$1, o as objectPropertyIsEnumerable } from './is-forced-fd46b5f2.js';
|
|
9
7
|
import './fw-form.js';
|
|
10
8
|
import { FwInput as script } from './fw-input.js';
|
|
11
9
|
export { FwInput } from './fw-input.js';
|
|
12
10
|
import { FwCheckbox as script$1 } from './fw-checkbox.js';
|
|
13
11
|
export { FwCheckbox } from './fw-checkbox.js';
|
|
12
|
+
import { FwDropdown as script$2 } from './fw-dropdown.js';
|
|
13
|
+
export { FwDropdown } from './fw-dropdown.js';
|
|
14
14
|
import { FwCard as script$3 } from './fw-card.js';
|
|
15
15
|
export { FwCard } from './fw-card.js';
|
|
16
16
|
import './fw-button.js';
|
|
@@ -18,30 +18,38 @@ import { FwNavigationMenu as script$5 } from './fw-navigation-menu.js';
|
|
|
18
18
|
export { FwNavigationMenu } from './fw-navigation-menu.js';
|
|
19
19
|
import { FwTabs as script$6, FwTab as script$7 } from './fw-tabs.js';
|
|
20
20
|
export { FwTab, FwTabs } from './fw-tabs.js';
|
|
21
|
-
import { s as script$8, u as uniqueId } from './index-
|
|
22
|
-
export { s as FwModal } from './index-
|
|
21
|
+
import { s as script$8, u as uniqueId } from './index-7d8c95be.js';
|
|
22
|
+
export { s as FwModal } from './index-7d8c95be.js';
|
|
23
23
|
import { FwProgressBar as script$9 } from './fw-progress-bar.js';
|
|
24
24
|
export { FwProgressBar } from './fw-progress-bar.js';
|
|
25
25
|
import { FwTag as script$a } from './fw-tag.js';
|
|
26
26
|
export { FwTag } from './fw-tag.js';
|
|
27
|
+
import { FwTable as script$b, FwTableHead as script$c, FwTableRow as script$d } from './fw-table.js';
|
|
28
|
+
export { FwTable, FwTableHead, FwTableRow } from './fw-table.js';
|
|
27
29
|
import { FwAccordion as script$e } from './fw-accordion.js';
|
|
28
30
|
export { FwAccordion } from './fw-accordion.js';
|
|
31
|
+
import { FwLoadingCard as script$h, FwLoadingTable as script$i } from './fw-loading.js';
|
|
32
|
+
export { FwLoadingCard, FwLoadingTable } from './fw-loading.js';
|
|
29
33
|
import { FwEmailPulse as __default__, FwSuccessPulse as __default__$1 } from './fw-animations.js';
|
|
30
34
|
export { FwEmailPulse, FwSuccessPulse } from './fw-animations.js';
|
|
31
35
|
import { F as Form } from './vee-validate.esm-a17a23c3.js';
|
|
32
36
|
export { F as FwForm } from './vee-validate.esm-a17a23c3.js';
|
|
33
|
-
import { s as script$4 } from './fw-button-
|
|
34
|
-
export { s as FwButton } from './fw-button-
|
|
37
|
+
import { s as script$4 } from './fw-button-d5d2cf19.js';
|
|
38
|
+
export { s as FwButton } from './fw-button-d5d2cf19.js';
|
|
39
|
+
import { s as script$g } from './fw-loading-bar-da7d53fb.js';
|
|
40
|
+
export { s as FwLoadingBar } from './fw-loading-bar-da7d53fb.js';
|
|
35
41
|
import { createApp } from 'vue';
|
|
36
|
-
import './
|
|
37
|
-
import './to-
|
|
38
|
-
import './
|
|
42
|
+
import './es.array.includes-9a6e4066.js';
|
|
43
|
+
import './add-to-unscopables-a5032b1d.js';
|
|
44
|
+
import './es.number.constructor-b7faae1f.js';
|
|
45
|
+
import './to-string-c2bd1f4d.js';
|
|
46
|
+
import './classof-088c9833.js';
|
|
47
|
+
import './array-iteration-4f83e223.js';
|
|
48
|
+
import './create-property-da6d232b.js';
|
|
49
|
+
import './index-b3aa1664.js';
|
|
39
50
|
import './check-94a5917a.js';
|
|
40
|
-
import './add-to-unscopables-44076600.js';
|
|
41
|
-
import './es.function.name-383fcdbc.js';
|
|
42
51
|
import './style-inject.es-1f59c1d0.js';
|
|
43
|
-
import './es.
|
|
44
|
-
import './es.number.constructor-6def8fd9.js';
|
|
52
|
+
import './es.function.name-2fa3a718.js';
|
|
45
53
|
|
|
46
54
|
function _arrayWithHoles(arr) {
|
|
47
55
|
if (Array.isArray(arr)) return arr;
|
|
@@ -104,111 +112,16 @@ function _slicedToArray(arr, i) {
|
|
|
104
112
|
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
|
|
105
113
|
}
|
|
106
114
|
|
|
107
|
-
var es_array_forEach = {};
|
|
108
|
-
|
|
109
|
-
'use strict';
|
|
110
|
-
var $forEach = arrayIteration.forEach;
|
|
111
|
-
var arrayMethodIsStrict = arrayMethodIsStrict$1;
|
|
112
|
-
|
|
113
|
-
var STRICT_METHOD = arrayMethodIsStrict('forEach');
|
|
114
|
-
|
|
115
|
-
// `Array.prototype.forEach` method implementation
|
|
116
|
-
// https://tc39.es/ecma262/#sec-array.prototype.foreach
|
|
117
|
-
var arrayForEach = !STRICT_METHOD ? function forEach(callbackfn /* , thisArg */) {
|
|
118
|
-
return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
|
|
119
|
-
// eslint-disable-next-line es-x/no-array-prototype-foreach -- safe
|
|
120
|
-
} : [].forEach;
|
|
121
|
-
|
|
122
|
-
'use strict';
|
|
123
|
-
var $$3 = _export;
|
|
124
|
-
var forEach$1 = arrayForEach;
|
|
125
|
-
|
|
126
|
-
// `Array.prototype.forEach` method
|
|
127
|
-
// https://tc39.es/ecma262/#sec-array.prototype.foreach
|
|
128
|
-
// eslint-disable-next-line es-x/no-array-prototype-foreach -- safe
|
|
129
|
-
$$3({ target: 'Array', proto: true, forced: [].forEach != forEach$1 }, {
|
|
130
|
-
forEach: forEach$1
|
|
131
|
-
});
|
|
132
|
-
|
|
133
|
-
var web_domCollections_forEach = {};
|
|
134
|
-
|
|
135
|
-
// iterable DOM collections
|
|
136
|
-
// flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods
|
|
137
|
-
var domIterables = {
|
|
138
|
-
CSSRuleList: 0,
|
|
139
|
-
CSSStyleDeclaration: 0,
|
|
140
|
-
CSSValueList: 0,
|
|
141
|
-
ClientRectList: 0,
|
|
142
|
-
DOMRectList: 0,
|
|
143
|
-
DOMStringList: 0,
|
|
144
|
-
DOMTokenList: 1,
|
|
145
|
-
DataTransferItemList: 0,
|
|
146
|
-
FileList: 0,
|
|
147
|
-
HTMLAllCollection: 0,
|
|
148
|
-
HTMLCollection: 0,
|
|
149
|
-
HTMLFormElement: 0,
|
|
150
|
-
HTMLSelectElement: 0,
|
|
151
|
-
MediaList: 0,
|
|
152
|
-
MimeTypeArray: 0,
|
|
153
|
-
NamedNodeMap: 0,
|
|
154
|
-
NodeList: 1,
|
|
155
|
-
PaintRequestList: 0,
|
|
156
|
-
Plugin: 0,
|
|
157
|
-
PluginArray: 0,
|
|
158
|
-
SVGLengthList: 0,
|
|
159
|
-
SVGNumberList: 0,
|
|
160
|
-
SVGPathSegList: 0,
|
|
161
|
-
SVGPointList: 0,
|
|
162
|
-
SVGStringList: 0,
|
|
163
|
-
SVGTransformList: 0,
|
|
164
|
-
SourceBufferList: 0,
|
|
165
|
-
StyleSheetList: 0,
|
|
166
|
-
TextTrackCueList: 0,
|
|
167
|
-
TextTrackList: 0,
|
|
168
|
-
TouchList: 0
|
|
169
|
-
};
|
|
170
|
-
|
|
171
|
-
// in old WebKit versions, `element.classList` is not an instance of global `DOMTokenList`
|
|
172
|
-
var documentCreateElement = documentCreateElement$1;
|
|
173
|
-
|
|
174
|
-
var classList = documentCreateElement('span').classList;
|
|
175
|
-
var DOMTokenListPrototype$1 = classList && classList.constructor && classList.constructor.prototype;
|
|
176
|
-
|
|
177
|
-
var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
|
|
178
|
-
|
|
179
|
-
var global$3 = global$4;
|
|
180
|
-
var DOMIterables = domIterables;
|
|
181
|
-
var DOMTokenListPrototype = domTokenListPrototype;
|
|
182
|
-
var forEach = arrayForEach;
|
|
183
|
-
var createNonEnumerableProperty = createNonEnumerableProperty$1;
|
|
184
|
-
|
|
185
|
-
var handlePrototype = function (CollectionPrototype) {
|
|
186
|
-
// some Chrome versions have non-configurable methods on DOMTokenList
|
|
187
|
-
if (CollectionPrototype && CollectionPrototype.forEach !== forEach) try {
|
|
188
|
-
createNonEnumerableProperty(CollectionPrototype, 'forEach', forEach);
|
|
189
|
-
} catch (error) {
|
|
190
|
-
CollectionPrototype.forEach = forEach;
|
|
191
|
-
}
|
|
192
|
-
};
|
|
193
|
-
|
|
194
|
-
for (var COLLECTION_NAME in DOMIterables) {
|
|
195
|
-
if (DOMIterables[COLLECTION_NAME]) {
|
|
196
|
-
handlePrototype(global$3[COLLECTION_NAME] && global$3[COLLECTION_NAME].prototype);
|
|
197
|
-
}
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
handlePrototype(DOMTokenListPrototype);
|
|
201
|
-
|
|
202
115
|
var es_object_entries = {};
|
|
203
116
|
|
|
204
117
|
var DESCRIPTORS = descriptors;
|
|
205
|
-
var uncurryThis
|
|
118
|
+
var uncurryThis = functionUncurryThis;
|
|
206
119
|
var objectKeys = objectKeys$1;
|
|
207
120
|
var toIndexedObject = toIndexedObject$1;
|
|
208
121
|
var $propertyIsEnumerable = objectPropertyIsEnumerable.f;
|
|
209
122
|
|
|
210
|
-
var propertyIsEnumerable = uncurryThis
|
|
211
|
-
var push = uncurryThis
|
|
123
|
+
var propertyIsEnumerable = uncurryThis($propertyIsEnumerable);
|
|
124
|
+
var push = uncurryThis([].push);
|
|
212
125
|
|
|
213
126
|
// `Object.{ entries, values }` methods implementation
|
|
214
127
|
var createMethod = function (TO_ENTRIES) {
|
|
@@ -238,12 +151,12 @@ var objectToArray = {
|
|
|
238
151
|
values: createMethod(false)
|
|
239
152
|
};
|
|
240
153
|
|
|
241
|
-
var
|
|
154
|
+
var $ = _export;
|
|
242
155
|
var $entries = objectToArray.entries;
|
|
243
156
|
|
|
244
157
|
// `Object.entries` method
|
|
245
158
|
// https://tc39.es/ecma262/#sec-object.entries
|
|
246
|
-
|
|
159
|
+
$({ target: 'Object', stat: true }, {
|
|
247
160
|
entries: function entries(O) {
|
|
248
161
|
return $entries(O);
|
|
249
162
|
}
|
|
@@ -269,6 +182,10 @@ var components = /*#__PURE__*/Object.freeze({
|
|
|
269
182
|
FwTableHead: script$c,
|
|
270
183
|
FwTableRow: script$d,
|
|
271
184
|
FwAccordion: script$e,
|
|
185
|
+
FwImage: script$f,
|
|
186
|
+
FwLoadingBar: script$g,
|
|
187
|
+
FwLoadingCard: script$h,
|
|
188
|
+
FwLoadingTable: script$i,
|
|
272
189
|
FwEmailPulse: __default__,
|
|
273
190
|
FwSuccessPulse: __default__$1
|
|
274
191
|
});
|
|
@@ -314,86 +231,6 @@ function _objectSpread2(target) {
|
|
|
314
231
|
return target;
|
|
315
232
|
}
|
|
316
233
|
|
|
317
|
-
var web_timers = {};
|
|
318
|
-
|
|
319
|
-
var web_setInterval = {};
|
|
320
|
-
|
|
321
|
-
var NATIVE_BIND = functionBindNative;
|
|
322
|
-
|
|
323
|
-
var FunctionPrototype = Function.prototype;
|
|
324
|
-
var apply$1 = FunctionPrototype.apply;
|
|
325
|
-
var call = FunctionPrototype.call;
|
|
326
|
-
|
|
327
|
-
// eslint-disable-next-line es-x/no-reflect -- safe
|
|
328
|
-
var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call.bind(apply$1) : function () {
|
|
329
|
-
return call.apply(apply$1, arguments);
|
|
330
|
-
});
|
|
331
|
-
|
|
332
|
-
var uncurryThis = functionUncurryThis;
|
|
333
|
-
|
|
334
|
-
var arraySlice$1 = uncurryThis([].slice);
|
|
335
|
-
|
|
336
|
-
var $TypeError = TypeError;
|
|
337
|
-
|
|
338
|
-
var validateArgumentsLength$1 = function (passed, required) {
|
|
339
|
-
if (passed < required) throw $TypeError('Not enough arguments');
|
|
340
|
-
return passed;
|
|
341
|
-
};
|
|
342
|
-
|
|
343
|
-
var global$2 = global$4;
|
|
344
|
-
var apply = functionApply;
|
|
345
|
-
var isCallable = isCallable$1;
|
|
346
|
-
var userAgent = engineUserAgent;
|
|
347
|
-
var arraySlice = arraySlice$1;
|
|
348
|
-
var validateArgumentsLength = validateArgumentsLength$1;
|
|
349
|
-
|
|
350
|
-
var MSIE = /MSIE .\./.test(userAgent); // <- dirty ie9- check
|
|
351
|
-
var Function$1 = global$2.Function;
|
|
352
|
-
|
|
353
|
-
var wrap = function (scheduler) {
|
|
354
|
-
return MSIE ? function (handler, timeout /* , ...arguments */) {
|
|
355
|
-
var boundArgs = validateArgumentsLength(arguments.length, 1) > 2;
|
|
356
|
-
var fn = isCallable(handler) ? handler : Function$1(handler);
|
|
357
|
-
var args = boundArgs ? arraySlice(arguments, 2) : undefined;
|
|
358
|
-
return scheduler(boundArgs ? function () {
|
|
359
|
-
apply(fn, this, args);
|
|
360
|
-
} : fn, timeout);
|
|
361
|
-
} : scheduler;
|
|
362
|
-
};
|
|
363
|
-
|
|
364
|
-
// ie9- setTimeout & setInterval additional parameters fix
|
|
365
|
-
// https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#timers
|
|
366
|
-
var schedulersFix = {
|
|
367
|
-
// `setTimeout` method
|
|
368
|
-
// https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-settimeout
|
|
369
|
-
setTimeout: wrap(global$2.setTimeout),
|
|
370
|
-
// `setInterval` method
|
|
371
|
-
// https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-setinterval
|
|
372
|
-
setInterval: wrap(global$2.setInterval)
|
|
373
|
-
};
|
|
374
|
-
|
|
375
|
-
var $$1 = _export;
|
|
376
|
-
var global$1 = global$4;
|
|
377
|
-
var setInterval = schedulersFix.setInterval;
|
|
378
|
-
|
|
379
|
-
// ie9- setInterval additional parameters fix
|
|
380
|
-
// https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-setinterval
|
|
381
|
-
$$1({ global: true, bind: true, forced: global$1.setInterval !== setInterval }, {
|
|
382
|
-
setInterval: setInterval
|
|
383
|
-
});
|
|
384
|
-
|
|
385
|
-
var web_setTimeout = {};
|
|
386
|
-
|
|
387
|
-
var $ = _export;
|
|
388
|
-
var global = global$4;
|
|
389
|
-
var setTimeout$1 = schedulersFix.setTimeout;
|
|
390
|
-
|
|
391
|
-
// ie9- setTimeout additional parameters fix
|
|
392
|
-
// https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-settimeout
|
|
393
|
-
$({ global: true, bind: true, forced: global.setTimeout !== setTimeout$1 }, {
|
|
394
|
-
setTimeout: setTimeout$1
|
|
395
|
-
});
|
|
396
|
-
|
|
397
234
|
var modalService = function modalService(options, element) {
|
|
398
235
|
var elementToMount = document.createElement('div');
|
|
399
236
|
elementToMount.id = uniqueId('fw-modal-app-');
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as functionUncurryThis,
|
|
1
|
+
import { f as functionUncurryThis, j as fails$3, r as requireObjectCoercible$1, d as descriptors, b as functionCall, x as toPropertyKey$1, k as hasOwnProperty_1, y as ie8DomDefine, o as objectDefineProperty, l as isCallable$5, z as sharedStore, g as global$2, A as shared$2, B as uid$1, C as isObject$1, n as functionName, v as defineGlobalProperty$1 } from './function-name-c49146fc.js';
|
|
2
2
|
|
|
3
3
|
var objectGetOwnPropertyDescriptor = {};
|
|
4
4
|
|
|
@@ -435,4 +435,4 @@ var POLYFILL = isForced.POLYFILL = 'P';
|
|
|
435
435
|
|
|
436
436
|
var isForced_1 = isForced;
|
|
437
437
|
|
|
438
|
-
export {
|
|
438
|
+
export { toIntegerOrInfinity$2 as a, createPropertyDescriptor$2 as b, createNonEnumerableProperty$1 as c, defineBuiltIn as d, toAbsoluteIndex$1 as e, objectGetOwnPropertyNames as f, objectGetOwnPropertyDescriptor as g, isForced_1 as h, internalState as i, objectKeysInternal as j, enumBugKeys$1 as k, lengthOfArrayLike$1 as l, classofRaw as m, arrayIncludes as n, objectPropertyIsEnumerable as o, inspectSource$2 as p, indexedObject as q, hiddenKeys$3 as r, sharedKey$1 as s, toIndexedObject$3 as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { u as getBuiltIn$1, f as functionUncurryThis, c as anObject$1, k as hasOwnProperty_1, o as objectDefineProperty, g as global$1, v as defineGlobalProperty$1 } from './function-name-c49146fc.js';
|
|
2
|
+
import { f as objectGetOwnPropertyNames, g as objectGetOwnPropertyDescriptor, c as createNonEnumerableProperty$1, d as defineBuiltIn$1, h as isForced_1, j as objectKeysInternal, k as enumBugKeys$1 } from './is-forced-fd46b5f2.js';
|
|
3
3
|
|
|
4
4
|
var objectGetOwnPropertySymbols = {};
|
|
5
5
|
|