@mozaic-ds/vue 0.35.1-beta.1 → 0.36.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/dist/mozaic-vue.adeo.css +1 -0
- package/dist/mozaic-vue.adeo.umd.js +337 -127
- package/dist/mozaic-vue.common.js +337 -127
- package/dist/mozaic-vue.common.js.map +1 -1
- package/dist/mozaic-vue.css +1 -1
- package/dist/mozaic-vue.umd.js +337 -127
- package/dist/mozaic-vue.umd.js.map +1 -1
- package/dist/mozaic-vue.umd.min.js +2 -2
- package/dist/mozaic-vue.umd.min.js.map +1 -1
- package/package.json +7 -7
- package/src/components/dropdown/MDropdown.vue +83 -52
- package/src/components/kpi/MKpi.vue +465 -0
- package/src/components/kpi/index.js +7 -0
- package/src/index.js +1 -0
|
@@ -9999,9 +9999,8 @@ module.exports = /MSIE|Trident/.test(UA);
|
|
|
9999
9999
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
10000
10000
|
|
|
10001
10001
|
var userAgent = __webpack_require__(8113);
|
|
10002
|
-
var global = __webpack_require__(7854);
|
|
10003
10002
|
|
|
10004
|
-
module.exports = /ipad|iphone|ipod/i.test(userAgent) &&
|
|
10003
|
+
module.exports = /ipad|iphone|ipod/i.test(userAgent) && typeof Pebble != 'undefined';
|
|
10005
10004
|
|
|
10006
10005
|
|
|
10007
10006
|
/***/ }),
|
|
@@ -10020,9 +10019,8 @@ module.exports = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent);
|
|
|
10020
10019
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
10021
10020
|
|
|
10022
10021
|
var classof = __webpack_require__(4326);
|
|
10023
|
-
var global = __webpack_require__(7854);
|
|
10024
10022
|
|
|
10025
|
-
module.exports = classof(
|
|
10023
|
+
module.exports = typeof process != 'undefined' && classof(process) == 'process';
|
|
10026
10024
|
|
|
10027
10025
|
|
|
10028
10026
|
/***/ }),
|
|
@@ -10038,11 +10036,9 @@ module.exports = /web0s(?!.*chrome)/i.test(userAgent);
|
|
|
10038
10036
|
/***/ }),
|
|
10039
10037
|
|
|
10040
10038
|
/***/ 8113:
|
|
10041
|
-
/***/ (function(module
|
|
10042
|
-
|
|
10043
|
-
var getBuiltIn = __webpack_require__(5005);
|
|
10039
|
+
/***/ (function(module) {
|
|
10044
10040
|
|
|
10045
|
-
module.exports =
|
|
10041
|
+
module.exports = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
|
|
10046
10042
|
|
|
10047
10043
|
|
|
10048
10044
|
/***/ }),
|
|
@@ -10129,6 +10125,26 @@ module.exports = function (stack, dropEntries) {
|
|
|
10129
10125
|
};
|
|
10130
10126
|
|
|
10131
10127
|
|
|
10128
|
+
/***/ }),
|
|
10129
|
+
|
|
10130
|
+
/***/ 5392:
|
|
10131
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
10132
|
+
|
|
10133
|
+
var createNonEnumerableProperty = __webpack_require__(8880);
|
|
10134
|
+
var clearErrorStack = __webpack_require__(1060);
|
|
10135
|
+
var ERROR_STACK_INSTALLABLE = __webpack_require__(2914);
|
|
10136
|
+
|
|
10137
|
+
// non-standard V8
|
|
10138
|
+
var captureStackTrace = Error.captureStackTrace;
|
|
10139
|
+
|
|
10140
|
+
module.exports = function (error, C, stack, dropEntries) {
|
|
10141
|
+
if (ERROR_STACK_INSTALLABLE) {
|
|
10142
|
+
if (captureStackTrace) captureStackTrace(error, C);
|
|
10143
|
+
else createNonEnumerableProperty(error, 'stack', clearErrorStack(stack, dropEntries));
|
|
10144
|
+
}
|
|
10145
|
+
};
|
|
10146
|
+
|
|
10147
|
+
|
|
10132
10148
|
/***/ }),
|
|
10133
10149
|
|
|
10134
10150
|
/***/ 2914:
|
|
@@ -10601,15 +10617,13 @@ module.exports = {};
|
|
|
10601
10617
|
/***/ }),
|
|
10602
10618
|
|
|
10603
10619
|
/***/ 842:
|
|
10604
|
-
/***/ (function(module
|
|
10605
|
-
|
|
10606
|
-
var global = __webpack_require__(7854);
|
|
10620
|
+
/***/ (function(module) {
|
|
10607
10621
|
|
|
10608
10622
|
module.exports = function (a, b) {
|
|
10609
|
-
|
|
10610
|
-
|
|
10623
|
+
try {
|
|
10624
|
+
// eslint-disable-next-line no-console -- safe
|
|
10611
10625
|
arguments.length == 1 ? console.error(a) : console.error(a, b);
|
|
10612
|
-
}
|
|
10626
|
+
} catch (error) { /* empty */ }
|
|
10613
10627
|
};
|
|
10614
10628
|
|
|
10615
10629
|
|
|
@@ -11337,6 +11351,7 @@ module.exports = function (obj) {
|
|
|
11337
11351
|
/***/ 6339:
|
|
11338
11352
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
11339
11353
|
|
|
11354
|
+
var uncurryThis = __webpack_require__(1702);
|
|
11340
11355
|
var fails = __webpack_require__(7293);
|
|
11341
11356
|
var isCallable = __webpack_require__(614);
|
|
11342
11357
|
var hasOwn = __webpack_require__(2597);
|
|
@@ -11347,8 +11362,12 @@ var InternalStateModule = __webpack_require__(9909);
|
|
|
11347
11362
|
|
|
11348
11363
|
var enforceInternalState = InternalStateModule.enforce;
|
|
11349
11364
|
var getInternalState = InternalStateModule.get;
|
|
11365
|
+
var $String = String;
|
|
11350
11366
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
11351
11367
|
var defineProperty = Object.defineProperty;
|
|
11368
|
+
var stringSlice = uncurryThis(''.slice);
|
|
11369
|
+
var replace = uncurryThis(''.replace);
|
|
11370
|
+
var join = uncurryThis([].join);
|
|
11352
11371
|
|
|
11353
11372
|
var CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function () {
|
|
11354
11373
|
return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
|
@@ -11357,8 +11376,8 @@ var CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function () {
|
|
|
11357
11376
|
var TEMPLATE = String(String).split('String');
|
|
11358
11377
|
|
|
11359
11378
|
var makeBuiltIn = module.exports = function (value, name, options) {
|
|
11360
|
-
if (String(name)
|
|
11361
|
-
name = '[' + String(name)
|
|
11379
|
+
if (stringSlice($String(name), 0, 7) === 'Symbol(') {
|
|
11380
|
+
name = '[' + replace($String(name), /^Symbol\(([^)]*)\)/, '$1') + ']';
|
|
11362
11381
|
}
|
|
11363
11382
|
if (options && options.getter) name = 'get ' + name;
|
|
11364
11383
|
if (options && options.setter) name = 'set ' + name;
|
|
@@ -11377,7 +11396,7 @@ var makeBuiltIn = module.exports = function (value, name, options) {
|
|
|
11377
11396
|
} catch (error) { /* empty */ }
|
|
11378
11397
|
var state = enforceInternalState(value);
|
|
11379
11398
|
if (!hasOwn(state, 'source')) {
|
|
11380
|
-
state.source =
|
|
11399
|
+
state.source = join(TEMPLATE, typeof name == 'string' ? name : '');
|
|
11381
11400
|
} return value;
|
|
11382
11401
|
};
|
|
11383
11402
|
|
|
@@ -11414,6 +11433,7 @@ var global = __webpack_require__(7854);
|
|
|
11414
11433
|
var bind = __webpack_require__(9974);
|
|
11415
11434
|
var getOwnPropertyDescriptor = (__webpack_require__(1236).f);
|
|
11416
11435
|
var macrotask = (__webpack_require__(261).set);
|
|
11436
|
+
var Queue = __webpack_require__(8572);
|
|
11417
11437
|
var IS_IOS = __webpack_require__(6833);
|
|
11418
11438
|
var IS_IOS_PEBBLE = __webpack_require__(1528);
|
|
11419
11439
|
var IS_WEBOS_WEBKIT = __webpack_require__(1036);
|
|
@@ -11425,26 +11445,22 @@ var process = global.process;
|
|
|
11425
11445
|
var Promise = global.Promise;
|
|
11426
11446
|
// Node.js 11 shows ExperimentalWarning on getting `queueMicrotask`
|
|
11427
11447
|
var queueMicrotaskDescriptor = getOwnPropertyDescriptor(global, 'queueMicrotask');
|
|
11428
|
-
var
|
|
11429
|
-
|
|
11430
|
-
var flush, head, last, notify, toggle, node, promise, then;
|
|
11448
|
+
var microtask = queueMicrotaskDescriptor && queueMicrotaskDescriptor.value;
|
|
11449
|
+
var notify, toggle, node, promise, then;
|
|
11431
11450
|
|
|
11432
11451
|
// modern engines have queueMicrotask method
|
|
11433
|
-
if (!
|
|
11434
|
-
|
|
11452
|
+
if (!microtask) {
|
|
11453
|
+
var queue = new Queue();
|
|
11454
|
+
|
|
11455
|
+
var flush = function () {
|
|
11435
11456
|
var parent, fn;
|
|
11436
11457
|
if (IS_NODE && (parent = process.domain)) parent.exit();
|
|
11437
|
-
while (
|
|
11438
|
-
fn
|
|
11439
|
-
|
|
11440
|
-
|
|
11441
|
-
|
|
11442
|
-
|
|
11443
|
-
if (head) notify();
|
|
11444
|
-
else last = undefined;
|
|
11445
|
-
throw error;
|
|
11446
|
-
}
|
|
11447
|
-
} last = undefined;
|
|
11458
|
+
while (fn = queue.get()) try {
|
|
11459
|
+
fn();
|
|
11460
|
+
} catch (error) {
|
|
11461
|
+
if (queue.head) notify();
|
|
11462
|
+
throw error;
|
|
11463
|
+
}
|
|
11448
11464
|
if (parent) parent.enter();
|
|
11449
11465
|
};
|
|
11450
11466
|
|
|
@@ -11479,22 +11495,20 @@ if (!queueMicrotask) {
|
|
|
11479
11495
|
// - onreadystatechange
|
|
11480
11496
|
// - setTimeout
|
|
11481
11497
|
} else {
|
|
11482
|
-
//
|
|
11498
|
+
// `webpack` dev server bug on IE global methods - use bind(fn, global)
|
|
11483
11499
|
macrotask = bind(macrotask, global);
|
|
11484
11500
|
notify = function () {
|
|
11485
11501
|
macrotask(flush);
|
|
11486
11502
|
};
|
|
11487
11503
|
}
|
|
11504
|
+
|
|
11505
|
+
microtask = function (fn) {
|
|
11506
|
+
if (!queue.head) notify();
|
|
11507
|
+
queue.add(fn);
|
|
11508
|
+
};
|
|
11488
11509
|
}
|
|
11489
11510
|
|
|
11490
|
-
module.exports =
|
|
11491
|
-
var task = { fn: fn, next: undefined };
|
|
11492
|
-
if (last) last.next = task;
|
|
11493
|
-
if (!head) {
|
|
11494
|
-
head = task;
|
|
11495
|
-
notify();
|
|
11496
|
-
} last = task;
|
|
11497
|
-
};
|
|
11511
|
+
module.exports = microtask;
|
|
11498
11512
|
|
|
11499
11513
|
|
|
11500
11514
|
/***/ }),
|
|
@@ -12291,15 +12305,16 @@ var Queue = function () {
|
|
|
12291
12305
|
Queue.prototype = {
|
|
12292
12306
|
add: function (item) {
|
|
12293
12307
|
var entry = { item: item, next: null };
|
|
12294
|
-
|
|
12308
|
+
var tail = this.tail;
|
|
12309
|
+
if (tail) tail.next = entry;
|
|
12295
12310
|
else this.head = entry;
|
|
12296
12311
|
this.tail = entry;
|
|
12297
12312
|
},
|
|
12298
12313
|
get: function () {
|
|
12299
12314
|
var entry = this.head;
|
|
12300
12315
|
if (entry) {
|
|
12301
|
-
this.head = entry.next;
|
|
12302
|
-
if (
|
|
12316
|
+
var next = this.head = entry.next;
|
|
12317
|
+
if (next === null) this.tail = null;
|
|
12303
12318
|
return entry.item;
|
|
12304
12319
|
}
|
|
12305
12320
|
}
|
|
@@ -12680,10 +12695,10 @@ var store = __webpack_require__(5465);
|
|
|
12680
12695
|
(module.exports = function (key, value) {
|
|
12681
12696
|
return store[key] || (store[key] = value !== undefined ? value : {});
|
|
12682
12697
|
})('versions', []).push({
|
|
12683
|
-
version: '3.27.
|
|
12698
|
+
version: '3.27.2',
|
|
12684
12699
|
mode: IS_PURE ? 'pure' : 'global',
|
|
12685
|
-
copyright: '© 2014-
|
|
12686
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.27.
|
|
12700
|
+
copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',
|
|
12701
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.27.2/LICENSE',
|
|
12687
12702
|
source: 'https://github.com/zloirock/core-js'
|
|
12688
12703
|
});
|
|
12689
12704
|
|
|
@@ -12917,10 +12932,10 @@ var queue = {};
|
|
|
12917
12932
|
var ONREADYSTATECHANGE = 'onreadystatechange';
|
|
12918
12933
|
var $location, defer, channel, port;
|
|
12919
12934
|
|
|
12920
|
-
|
|
12935
|
+
fails(function () {
|
|
12921
12936
|
// Deno throws a ReferenceError on `location` access without `--location` flag
|
|
12922
12937
|
$location = global.location;
|
|
12923
|
-
}
|
|
12938
|
+
});
|
|
12924
12939
|
|
|
12925
12940
|
var run = function (id) {
|
|
12926
12941
|
if (hasOwn(queue, id)) {
|
|
@@ -12936,11 +12951,11 @@ var runner = function (id) {
|
|
|
12936
12951
|
};
|
|
12937
12952
|
};
|
|
12938
12953
|
|
|
12939
|
-
var
|
|
12954
|
+
var eventListener = function (event) {
|
|
12940
12955
|
run(event.data);
|
|
12941
12956
|
};
|
|
12942
12957
|
|
|
12943
|
-
var
|
|
12958
|
+
var globalPostMessageDefer = function (id) {
|
|
12944
12959
|
// old engines have not location.origin
|
|
12945
12960
|
global.postMessage(String(id), $location.protocol + '//' + $location.host);
|
|
12946
12961
|
};
|
|
@@ -12975,7 +12990,7 @@ if (!set || !clear) {
|
|
|
12975
12990
|
} else if (MessageChannel && !IS_IOS) {
|
|
12976
12991
|
channel = new MessageChannel();
|
|
12977
12992
|
port = channel.port2;
|
|
12978
|
-
channel.port1.onmessage =
|
|
12993
|
+
channel.port1.onmessage = eventListener;
|
|
12979
12994
|
defer = bind(port.postMessage, port);
|
|
12980
12995
|
// Browsers with postMessage, skip WebWorkers
|
|
12981
12996
|
// IE8 has postMessage, but it's sync & typeof its postMessage is 'object'
|
|
@@ -12984,10 +12999,10 @@ if (!set || !clear) {
|
|
|
12984
12999
|
isCallable(global.postMessage) &&
|
|
12985
13000
|
!global.importScripts &&
|
|
12986
13001
|
$location && $location.protocol !== 'file:' &&
|
|
12987
|
-
!fails(
|
|
13002
|
+
!fails(globalPostMessageDefer)
|
|
12988
13003
|
) {
|
|
12989
|
-
defer =
|
|
12990
|
-
global.addEventListener('message',
|
|
13004
|
+
defer = globalPostMessageDefer;
|
|
13005
|
+
global.addEventListener('message', eventListener, false);
|
|
12991
13006
|
// IE8-
|
|
12992
13007
|
} else if (ONREADYSTATECHANGE in createElement('script')) {
|
|
12993
13008
|
defer = function (id) {
|
|
@@ -13311,21 +13326,15 @@ var uid = __webpack_require__(9711);
|
|
|
13311
13326
|
var NATIVE_SYMBOL = __webpack_require__(6293);
|
|
13312
13327
|
var USE_SYMBOL_AS_UID = __webpack_require__(3307);
|
|
13313
13328
|
|
|
13314
|
-
var WellKnownSymbolsStore = shared('wks');
|
|
13315
13329
|
var Symbol = global.Symbol;
|
|
13316
|
-
var
|
|
13317
|
-
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol : Symbol && Symbol.withoutSetter || uid;
|
|
13330
|
+
var WellKnownSymbolsStore = shared('wks');
|
|
13331
|
+
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || Symbol : Symbol && Symbol.withoutSetter || uid;
|
|
13318
13332
|
|
|
13319
13333
|
module.exports = function (name) {
|
|
13320
|
-
if (!hasOwn(WellKnownSymbolsStore, name)
|
|
13321
|
-
|
|
13322
|
-
|
|
13323
|
-
|
|
13324
|
-
} else if (USE_SYMBOL_AS_UID && symbolFor) {
|
|
13325
|
-
WellKnownSymbolsStore[name] = symbolFor(description);
|
|
13326
|
-
} else {
|
|
13327
|
-
WellKnownSymbolsStore[name] = createWellKnownSymbol(description);
|
|
13328
|
-
}
|
|
13334
|
+
if (!hasOwn(WellKnownSymbolsStore, name)) {
|
|
13335
|
+
WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name)
|
|
13336
|
+
? Symbol[name]
|
|
13337
|
+
: createWellKnownSymbol('Symbol.' + name);
|
|
13329
13338
|
} return WellKnownSymbolsStore[name];
|
|
13330
13339
|
};
|
|
13331
13340
|
|
|
@@ -13357,8 +13366,7 @@ var proxyAccessor = __webpack_require__(2626);
|
|
|
13357
13366
|
var inheritIfRequired = __webpack_require__(9587);
|
|
13358
13367
|
var normalizeStringArgument = __webpack_require__(6277);
|
|
13359
13368
|
var installErrorCause = __webpack_require__(8340);
|
|
13360
|
-
var
|
|
13361
|
-
var ERROR_STACK_INSTALLABLE = __webpack_require__(2914);
|
|
13369
|
+
var installErrorStack = __webpack_require__(5392);
|
|
13362
13370
|
var DESCRIPTORS = __webpack_require__(9781);
|
|
13363
13371
|
var IS_PURE = __webpack_require__(1913);
|
|
13364
13372
|
|
|
@@ -13384,7 +13392,7 @@ module.exports = function (FULL_NAME, wrapper, FORCED, IS_AGGREGATE_ERROR) {
|
|
|
13384
13392
|
var message = normalizeStringArgument(IS_AGGREGATE_ERROR ? b : a, undefined);
|
|
13385
13393
|
var result = IS_AGGREGATE_ERROR ? new OriginalError(a) : new OriginalError();
|
|
13386
13394
|
if (message !== undefined) createNonEnumerableProperty(result, 'message', message);
|
|
13387
|
-
|
|
13395
|
+
installErrorStack(result, WrappedError, result.stack, 2);
|
|
13388
13396
|
if (this && isPrototypeOf(OriginalErrorPrototype, this)) inheritIfRequired(result, this, WrappedError);
|
|
13389
13397
|
if (arguments.length > OPTIONS_POSITION) installErrorCause(result, arguments[OPTIONS_POSITION]);
|
|
13390
13398
|
return result;
|
|
@@ -13445,15 +13453,13 @@ var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails(function () {
|
|
|
13445
13453
|
return array.concat()[0] !== array;
|
|
13446
13454
|
});
|
|
13447
13455
|
|
|
13448
|
-
var SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('concat');
|
|
13449
|
-
|
|
13450
13456
|
var isConcatSpreadable = function (O) {
|
|
13451
13457
|
if (!isObject(O)) return false;
|
|
13452
13458
|
var spreadable = O[IS_CONCAT_SPREADABLE];
|
|
13453
13459
|
return spreadable !== undefined ? !!spreadable : isArray(O);
|
|
13454
13460
|
};
|
|
13455
13461
|
|
|
13456
|
-
var FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !
|
|
13462
|
+
var FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !arrayMethodHasSpeciesSupport('concat');
|
|
13457
13463
|
|
|
13458
13464
|
// `Array.prototype.concat` method
|
|
13459
13465
|
// https://tc39.es/ecma262/#sec-array.prototype.concat
|
|
@@ -13629,11 +13635,11 @@ var arrayMethodIsStrict = __webpack_require__(9341);
|
|
|
13629
13635
|
var nativeIndexOf = uncurryThis([].indexOf);
|
|
13630
13636
|
|
|
13631
13637
|
var NEGATIVE_ZERO = !!nativeIndexOf && 1 / nativeIndexOf([1], 1, -0) < 0;
|
|
13632
|
-
var
|
|
13638
|
+
var FORCED = NEGATIVE_ZERO || !arrayMethodIsStrict('indexOf');
|
|
13633
13639
|
|
|
13634
13640
|
// `Array.prototype.indexOf` method
|
|
13635
13641
|
// https://tc39.es/ecma262/#sec-array.prototype.indexof
|
|
13636
|
-
$({ target: 'Array', proto: true, forced:
|
|
13642
|
+
$({ target: 'Array', proto: true, forced: FORCED }, {
|
|
13637
13643
|
indexOf: function indexOf(searchElement /* , fromIndex = 0 */) {
|
|
13638
13644
|
var fromIndex = arguments.length > 1 ? arguments[1] : undefined;
|
|
13639
13645
|
return NEGATIVE_ZERO
|
|
@@ -13730,11 +13736,11 @@ var arrayMethodIsStrict = __webpack_require__(9341);
|
|
|
13730
13736
|
var nativeJoin = uncurryThis([].join);
|
|
13731
13737
|
|
|
13732
13738
|
var ES3_STRINGS = IndexedObject != Object;
|
|
13733
|
-
var
|
|
13739
|
+
var FORCED = ES3_STRINGS || !arrayMethodIsStrict('join', ',');
|
|
13734
13740
|
|
|
13735
13741
|
// `Array.prototype.join` method
|
|
13736
13742
|
// https://tc39.es/ecma262/#sec-array.prototype.join
|
|
13737
|
-
$({ target: 'Array', proto: true, forced:
|
|
13743
|
+
$({ target: 'Array', proto: true, forced: FORCED }, {
|
|
13738
13744
|
join: function join(separator) {
|
|
13739
13745
|
return nativeJoin(toIndexedObject(this), separator === undefined ? ',' : separator);
|
|
13740
13746
|
}
|
|
@@ -13800,18 +13806,20 @@ var INCORRECT_TO_LENGTH = fails(function () {
|
|
|
13800
13806
|
|
|
13801
13807
|
// V8 and Safari <= 15.4, FF < 23 throws InternalError
|
|
13802
13808
|
// https://bugs.chromium.org/p/v8/issues/detail?id=12681
|
|
13803
|
-
var
|
|
13809
|
+
var properErrorOnNonWritableLength = function () {
|
|
13804
13810
|
try {
|
|
13805
13811
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
13806
13812
|
Object.defineProperty([], 'length', { writable: false }).push();
|
|
13807
13813
|
} catch (error) {
|
|
13808
13814
|
return error instanceof TypeError;
|
|
13809
13815
|
}
|
|
13810
|
-
}
|
|
13816
|
+
};
|
|
13817
|
+
|
|
13818
|
+
var FORCED = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength();
|
|
13811
13819
|
|
|
13812
13820
|
// `Array.prototype.push` method
|
|
13813
13821
|
// https://tc39.es/ecma262/#sec-array.prototype.push
|
|
13814
|
-
$({ target: 'Array', proto: true, arity: 1, forced:
|
|
13822
|
+
$({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {
|
|
13815
13823
|
// eslint-disable-next-line no-unused-vars -- required for `.length`
|
|
13816
13824
|
push: function push(item) {
|
|
13817
13825
|
var O = toObject(this);
|
|
@@ -13841,14 +13849,14 @@ var arrayMethodIsStrict = __webpack_require__(9341);
|
|
|
13841
13849
|
var CHROME_VERSION = __webpack_require__(7392);
|
|
13842
13850
|
var IS_NODE = __webpack_require__(5268);
|
|
13843
13851
|
|
|
13844
|
-
var STRICT_METHOD = arrayMethodIsStrict('reduceRight');
|
|
13845
13852
|
// Chrome 80-82 has a critical bug
|
|
13846
13853
|
// https://bugs.chromium.org/p/chromium/issues/detail?id=1049982
|
|
13847
13854
|
var CHROME_BUG = !IS_NODE && CHROME_VERSION > 79 && CHROME_VERSION < 83;
|
|
13855
|
+
var FORCED = CHROME_BUG || !arrayMethodIsStrict('reduceRight');
|
|
13848
13856
|
|
|
13849
13857
|
// `Array.prototype.reduceRight` method
|
|
13850
13858
|
// https://tc39.es/ecma262/#sec-array.prototype.reduceright
|
|
13851
|
-
$({ target: 'Array', proto: true, forced:
|
|
13859
|
+
$({ target: 'Array', proto: true, forced: FORCED }, {
|
|
13852
13860
|
reduceRight: function reduceRight(callbackfn /* , initialValue */) {
|
|
13853
13861
|
return $reduceRight(this, callbackfn, arguments.length, arguments.length > 1 ? arguments[1] : undefined);
|
|
13854
13862
|
}
|
|
@@ -13868,14 +13876,14 @@ var arrayMethodIsStrict = __webpack_require__(9341);
|
|
|
13868
13876
|
var CHROME_VERSION = __webpack_require__(7392);
|
|
13869
13877
|
var IS_NODE = __webpack_require__(5268);
|
|
13870
13878
|
|
|
13871
|
-
var STRICT_METHOD = arrayMethodIsStrict('reduce');
|
|
13872
13879
|
// Chrome 80-82 has a critical bug
|
|
13873
13880
|
// https://bugs.chromium.org/p/chromium/issues/detail?id=1049982
|
|
13874
13881
|
var CHROME_BUG = !IS_NODE && CHROME_VERSION > 79 && CHROME_VERSION < 83;
|
|
13882
|
+
var FORCED = CHROME_BUG || !arrayMethodIsStrict('reduce');
|
|
13875
13883
|
|
|
13876
13884
|
// `Array.prototype.reduce` method
|
|
13877
13885
|
// https://tc39.es/ecma262/#sec-array.prototype.reduce
|
|
13878
|
-
$({ target: 'Array', proto: true, forced:
|
|
13886
|
+
$({ target: 'Array', proto: true, forced: FORCED }, {
|
|
13879
13887
|
reduce: function reduce(callbackfn /* , initialValue */) {
|
|
13880
13888
|
var length = arguments.length;
|
|
13881
13889
|
return $reduce(this, callbackfn, length, length > 1 ? arguments[1] : undefined);
|
|
@@ -14179,6 +14187,7 @@ var exportWebAssemblyErrorCauseWrapper = function (ERROR_NAME, wrapper) {
|
|
|
14179
14187
|
}
|
|
14180
14188
|
};
|
|
14181
14189
|
|
|
14190
|
+
// https://tc39.es/ecma262/#sec-nativeerror
|
|
14182
14191
|
// https://github.com/tc39/proposal-error-cause
|
|
14183
14192
|
exportGlobalErrorCauseWrapper('Error', function (init) {
|
|
14184
14193
|
return function Error(message) { return apply(init, this, arguments); };
|
|
@@ -14521,8 +14530,7 @@ var toIndexedObject = __webpack_require__(5656);
|
|
|
14521
14530
|
var nativeGetOwnPropertyDescriptor = (__webpack_require__(1236).f);
|
|
14522
14531
|
var DESCRIPTORS = __webpack_require__(9781);
|
|
14523
14532
|
|
|
14524
|
-
var
|
|
14525
|
-
var FORCED = !DESCRIPTORS || FAILS_ON_PRIMITIVES;
|
|
14533
|
+
var FORCED = !DESCRIPTORS || fails(function () { nativeGetOwnPropertyDescriptor(1); });
|
|
14526
14534
|
|
|
14527
14535
|
// `Object.getOwnPropertyDescriptor` method
|
|
14528
14536
|
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
|
|
@@ -16242,6 +16250,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
16242
16250
|
"MHeading": function() { return /* reexport */ MHeading; },
|
|
16243
16251
|
"MHero": function() { return /* reexport */ MHero; },
|
|
16244
16252
|
"MIcon": function() { return /* reexport */ MIcon; },
|
|
16253
|
+
"MKpi": function() { return /* reexport */ MKpi; },
|
|
16245
16254
|
"MLayer": function() { return /* reexport */ MLayer; },
|
|
16246
16255
|
"MLink": function() { return /* reexport */ MLink; },
|
|
16247
16256
|
"MListBox": function() { return /* reexport */ MListBox; },
|
|
@@ -21290,28 +21299,28 @@ MField.install = function (Vue) {
|
|
|
21290
21299
|
Vue.component(MField.name, MField);
|
|
21291
21300
|
};
|
|
21292
21301
|
|
|
21293
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/dropdown/MDropdown.vue?vue&type=template&id=
|
|
21294
|
-
var
|
|
21302
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/dropdown/MDropdown.vue?vue&type=template&id=24b48417&
|
|
21303
|
+
var MDropdownvue_type_template_id_24b48417_render = function render() {
|
|
21295
21304
|
var _vm = this,
|
|
21296
21305
|
_c = _vm._self._c;
|
|
21297
21306
|
return _c('div', {
|
|
21298
21307
|
directives: [{
|
|
21299
21308
|
name: "click-outside",
|
|
21300
21309
|
rawName: "v-click-outside",
|
|
21301
|
-
value: _vm.
|
|
21302
|
-
expression: "
|
|
21310
|
+
value: _vm.closeListBox,
|
|
21311
|
+
expression: "closeListBox"
|
|
21303
21312
|
}],
|
|
21304
21313
|
ref: "dropdown",
|
|
21305
21314
|
staticClass: "mc-dropdown",
|
|
21306
|
-
class:
|
|
21307
|
-
'mc-dropdown--multi': _vm.multiple
|
|
21308
|
-
},
|
|
21315
|
+
class: _vm.classObject,
|
|
21309
21316
|
style: _vm.setStyles
|
|
21317
|
+
}, [_c('div', {
|
|
21318
|
+
staticClass: "mc-dropdown__main"
|
|
21310
21319
|
}, [_vm.multiple && _vm.listboxValue.length > 0 ? _c('MTag', {
|
|
21311
21320
|
ref: "tag",
|
|
21312
21321
|
staticClass: "mc-dropdown__tag",
|
|
21313
21322
|
attrs: {
|
|
21314
|
-
"id": _vm.tagId ? _vm.tagId : "
|
|
21323
|
+
"id": _vm.tagId ? _vm.tagId : "dropdownTag-".concat(_vm.uuid),
|
|
21315
21324
|
"label": _vm.setTagLabel,
|
|
21316
21325
|
"disabled": _vm.disabled,
|
|
21317
21326
|
"type": "removable",
|
|
@@ -21319,15 +21328,12 @@ var MDropdownvue_type_template_id_70af3a89_render = function render() {
|
|
|
21319
21328
|
},
|
|
21320
21329
|
on: {
|
|
21321
21330
|
"remove-tag": function removeTag($event) {
|
|
21322
|
-
return _vm.
|
|
21331
|
+
return _vm.clearListbox();
|
|
21323
21332
|
}
|
|
21324
21333
|
}
|
|
21325
21334
|
}) : _vm._e(), _c('button', {
|
|
21326
21335
|
staticClass: "mc-select mc-dropdown__trigger",
|
|
21327
|
-
class:
|
|
21328
|
-
'is-open': _vm.openState,
|
|
21329
|
-
'mc-select--s': _vm.size === 's'
|
|
21330
|
-
},
|
|
21336
|
+
class: _vm.classObjectTrigger,
|
|
21331
21337
|
attrs: {
|
|
21332
21338
|
"type": "button",
|
|
21333
21339
|
"disabled": _vm.disabled
|
|
@@ -21337,7 +21343,22 @@ var MDropdownvue_type_template_id_70af3a89_render = function render() {
|
|
|
21337
21343
|
_vm.openState = !_vm.openState;
|
|
21338
21344
|
}
|
|
21339
21345
|
}
|
|
21340
|
-
}, [_vm._v(" " + _vm._s(_vm.buttonValue) + " ")]), _c('
|
|
21346
|
+
}, [_vm._v(" " + _vm._s(_vm.buttonValue) + " ")]), _vm.isClearable ? _c('button', {
|
|
21347
|
+
staticClass: "mc-dropdown__clear",
|
|
21348
|
+
attrs: {
|
|
21349
|
+
"type": "button"
|
|
21350
|
+
},
|
|
21351
|
+
on: {
|
|
21352
|
+
"click": _vm.clearListbox
|
|
21353
|
+
}
|
|
21354
|
+
}, [_c('MIcon', {
|
|
21355
|
+
staticClass: "mc-dropdown__clear-icon",
|
|
21356
|
+
attrs: {
|
|
21357
|
+
"name": "ControlTagCross24"
|
|
21358
|
+
}
|
|
21359
|
+
}), _c('span', {
|
|
21360
|
+
staticClass: "mc-dropdown__clear-text"
|
|
21361
|
+
}, [_vm._v(_vm._s(_vm.labelClearButton))])], 1) : _vm._e()], 1), _c('MListBox', {
|
|
21341
21362
|
attrs: {
|
|
21342
21363
|
"open": _vm.openState,
|
|
21343
21364
|
"items": _vm.localItems,
|
|
@@ -21349,7 +21370,7 @@ var MDropdownvue_type_template_id_70af3a89_render = function render() {
|
|
|
21349
21370
|
"max-width": _vm.maxWidth
|
|
21350
21371
|
},
|
|
21351
21372
|
on: {
|
|
21352
|
-
"change": _vm.
|
|
21373
|
+
"change": _vm.onChangeListbox
|
|
21353
21374
|
},
|
|
21354
21375
|
scopedSlots: _vm._u([{
|
|
21355
21376
|
key: "item",
|
|
@@ -21369,7 +21390,7 @@ var MDropdownvue_type_template_id_70af3a89_render = function render() {
|
|
|
21369
21390
|
}
|
|
21370
21391
|
})], 1);
|
|
21371
21392
|
};
|
|
21372
|
-
var
|
|
21393
|
+
var MDropdownvue_type_template_id_24b48417_staticRenderFns = [];
|
|
21373
21394
|
|
|
21374
21395
|
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/dropdown/MDropdown.vue?vue&type=script&lang=js&
|
|
21375
21396
|
|
|
@@ -21383,9 +21404,11 @@ var MDropdownvue_type_template_id_70af3a89_staticRenderFns = [];
|
|
|
21383
21404
|
|
|
21384
21405
|
|
|
21385
21406
|
|
|
21407
|
+
|
|
21386
21408
|
/* harmony default export */ var MDropdownvue_type_script_lang_js_ = ({
|
|
21387
21409
|
name: 'MDropdown',
|
|
21388
21410
|
components: {
|
|
21411
|
+
MIcon: MIcon,
|
|
21389
21412
|
MTag: MTag,
|
|
21390
21413
|
MListBox: MListBox
|
|
21391
21414
|
},
|
|
@@ -21422,10 +21445,6 @@ var MDropdownvue_type_template_id_70af3a89_staticRenderFns = [];
|
|
|
21422
21445
|
type: String,
|
|
21423
21446
|
default: '-- Placeholder --'
|
|
21424
21447
|
},
|
|
21425
|
-
filter: {
|
|
21426
|
-
type: Function,
|
|
21427
|
-
default: null
|
|
21428
|
-
},
|
|
21429
21448
|
size: {
|
|
21430
21449
|
type: String,
|
|
21431
21450
|
default: 'm',
|
|
@@ -21474,6 +21493,15 @@ var MDropdownvue_type_template_id_70af3a89_staticRenderFns = [];
|
|
|
21474
21493
|
type: Boolean,
|
|
21475
21494
|
default: true
|
|
21476
21495
|
},
|
|
21496
|
+
// Clear Button
|
|
21497
|
+
clearable: {
|
|
21498
|
+
type: Boolean,
|
|
21499
|
+
default: true
|
|
21500
|
+
},
|
|
21501
|
+
labelClearButton: {
|
|
21502
|
+
type: String,
|
|
21503
|
+
default: 'Clear'
|
|
21504
|
+
},
|
|
21477
21505
|
// Global
|
|
21478
21506
|
maxWidth: {
|
|
21479
21507
|
type: String,
|
|
@@ -21493,17 +21521,41 @@ var MDropdownvue_type_template_id_70af3a89_staticRenderFns = [];
|
|
|
21493
21521
|
};
|
|
21494
21522
|
},
|
|
21495
21523
|
computed: {
|
|
21496
|
-
|
|
21497
|
-
return
|
|
21524
|
+
classObject: function classObject() {
|
|
21525
|
+
return {
|
|
21526
|
+
'mc-dropdown--multi': this.multiple,
|
|
21527
|
+
'mc-dropdown--clearable': this.isClearable
|
|
21528
|
+
};
|
|
21498
21529
|
},
|
|
21499
21530
|
setStyles: function setStyles() {
|
|
21500
21531
|
return {
|
|
21501
21532
|
'--dropdown-width': this.maxWidth,
|
|
21502
21533
|
'--dropdown-tag-width': this.tagWidth
|
|
21503
21534
|
};
|
|
21535
|
+
},
|
|
21536
|
+
setTagLabel: function setTagLabel() {
|
|
21537
|
+
return this.listboxValue.length.toString() + ' ' + this.tagLabel;
|
|
21538
|
+
},
|
|
21539
|
+
getListboxValue: function getListboxValue() {
|
|
21540
|
+
return this.multiple ? this.listboxValue.length : this.listboxValue !== undefined;
|
|
21541
|
+
},
|
|
21542
|
+
isClearable: function isClearable() {
|
|
21543
|
+
return this.clearable && this.getListboxValue && !this.disabled;
|
|
21544
|
+
},
|
|
21545
|
+
classObjectTrigger: function classObjectTrigger() {
|
|
21546
|
+
return {
|
|
21547
|
+
'is-open': this.openState,
|
|
21548
|
+
'mc-select--s': this.size === 's'
|
|
21549
|
+
};
|
|
21504
21550
|
}
|
|
21505
21551
|
},
|
|
21506
21552
|
watch: {
|
|
21553
|
+
items: {
|
|
21554
|
+
handler: function handler(val) {
|
|
21555
|
+
this.localItems = val;
|
|
21556
|
+
},
|
|
21557
|
+
immediate: true
|
|
21558
|
+
},
|
|
21507
21559
|
value: {
|
|
21508
21560
|
handler: function handler(val) {
|
|
21509
21561
|
if (!val && this.multiple) {
|
|
@@ -21514,21 +21566,13 @@ var MDropdownvue_type_template_id_70af3a89_staticRenderFns = [];
|
|
|
21514
21566
|
},
|
|
21515
21567
|
immediate: true
|
|
21516
21568
|
},
|
|
21517
|
-
items: {
|
|
21518
|
-
handler: function handler(val) {
|
|
21519
|
-
this.localItems = val;
|
|
21520
|
-
// this.clearAutocomplete();
|
|
21521
|
-
},
|
|
21522
|
-
|
|
21523
|
-
immediate: true
|
|
21524
|
-
},
|
|
21525
21569
|
listboxValue: function listboxValue(val) {
|
|
21526
21570
|
var _this = this;
|
|
21527
21571
|
var selectedItems = this.getSelectedItems(val);
|
|
21528
21572
|
var seletedLabels = selectedItems.map(function (item) {
|
|
21529
21573
|
return item[_this.dataTextExpr];
|
|
21530
21574
|
});
|
|
21531
|
-
this.buttonValue = val.length === 0
|
|
21575
|
+
this.buttonValue = (!val || val.length === 0) && this.placeholder || seletedLabels.join(', ');
|
|
21532
21576
|
if (this.multiple) {
|
|
21533
21577
|
this.tagValue = val;
|
|
21534
21578
|
}
|
|
@@ -21553,12 +21597,12 @@ var MDropdownvue_type_template_id_70af3a89_staticRenderFns = [];
|
|
|
21553
21597
|
}
|
|
21554
21598
|
});
|
|
21555
21599
|
},
|
|
21556
|
-
|
|
21600
|
+
clearListbox: function clearListbox() {
|
|
21557
21601
|
this.listboxValue = this.multiple ? [] : undefined;
|
|
21558
|
-
this.
|
|
21602
|
+
this.onChangeListbox();
|
|
21559
21603
|
this.$emit('clear');
|
|
21560
21604
|
},
|
|
21561
|
-
|
|
21605
|
+
closeListBox: function closeListBox() {
|
|
21562
21606
|
this.openState = false;
|
|
21563
21607
|
if (this.multiple && this.sort) {
|
|
21564
21608
|
this.sortItems();
|
|
@@ -21566,10 +21610,10 @@ var MDropdownvue_type_template_id_70af3a89_staticRenderFns = [];
|
|
|
21566
21610
|
this.localItems = this.items;
|
|
21567
21611
|
}
|
|
21568
21612
|
},
|
|
21569
|
-
|
|
21613
|
+
onChangeListbox: function onChangeListbox() {
|
|
21570
21614
|
this.$emit('change', this.listboxValue);
|
|
21571
21615
|
if (!this.multiple) {
|
|
21572
|
-
this.
|
|
21616
|
+
this.closeListBox();
|
|
21573
21617
|
}
|
|
21574
21618
|
},
|
|
21575
21619
|
getSelectedItems: function getSelectedItems(val) {
|
|
@@ -21595,15 +21639,16 @@ var MDropdownvue_type_template_id_70af3a89_staticRenderFns = [];
|
|
|
21595
21639
|
return -1;
|
|
21596
21640
|
}
|
|
21597
21641
|
});
|
|
21642
|
+
this.localItems = this.sortedListItems;
|
|
21598
21643
|
}
|
|
21599
21644
|
}
|
|
21600
21645
|
});
|
|
21601
21646
|
;// CONCATENATED MODULE: ./src/components/dropdown/MDropdown.vue?vue&type=script&lang=js&
|
|
21602
21647
|
/* harmony default export */ var dropdown_MDropdownvue_type_script_lang_js_ = (MDropdownvue_type_script_lang_js_);
|
|
21603
|
-
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/@vue/cli-service/node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-41.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/dropdown/MDropdown.vue?vue&type=style&index=0&id=
|
|
21648
|
+
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/@vue/cli-service/node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-41.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/dropdown/MDropdown.vue?vue&type=style&index=0&id=24b48417&prod&lang=scss&
|
|
21604
21649
|
// extracted by mini-css-extract-plugin
|
|
21605
21650
|
|
|
21606
|
-
;// CONCATENATED MODULE: ./src/components/dropdown/MDropdown.vue?vue&type=style&index=0&id=
|
|
21651
|
+
;// CONCATENATED MODULE: ./src/components/dropdown/MDropdown.vue?vue&type=style&index=0&id=24b48417&prod&lang=scss&
|
|
21607
21652
|
|
|
21608
21653
|
;// CONCATENATED MODULE: ./src/components/dropdown/MDropdown.vue
|
|
21609
21654
|
|
|
@@ -21616,8 +21661,8 @@ var MDropdownvue_type_template_id_70af3a89_staticRenderFns = [];
|
|
|
21616
21661
|
|
|
21617
21662
|
var MDropdown_component = normalizeComponent(
|
|
21618
21663
|
dropdown_MDropdownvue_type_script_lang_js_,
|
|
21619
|
-
|
|
21620
|
-
|
|
21664
|
+
MDropdownvue_type_template_id_24b48417_render,
|
|
21665
|
+
MDropdownvue_type_template_id_24b48417_staticRenderFns,
|
|
21621
21666
|
false,
|
|
21622
21667
|
null,
|
|
21623
21668
|
null,
|
|
@@ -31942,6 +31987,170 @@ MTooltip.install = function (Vue) {
|
|
|
31942
31987
|
|
|
31943
31988
|
|
|
31944
31989
|
|
|
31990
|
+
|
|
31991
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/kpi/MKpi.vue?vue&type=template&id=f779b646&
|
|
31992
|
+
var MKpivue_type_template_id_f779b646_render = function render() {
|
|
31993
|
+
var _vm = this,
|
|
31994
|
+
_c = _vm._self._c;
|
|
31995
|
+
return _c('div', {
|
|
31996
|
+
staticClass: "mc-kpi"
|
|
31997
|
+
}, [_vm.size === 's' ? _c('div', {
|
|
31998
|
+
staticClass: "mc-kpi-small"
|
|
31999
|
+
}, [_c('div', {
|
|
32000
|
+
staticClass: "mc-kpi-small__value",
|
|
32001
|
+
class: 'mc-kpi-small__value-' + [_vm.classForTheme]
|
|
32002
|
+
}, [_vm._v(" " + _vm._s(_vm.value) + " ")]), _vm.showIcon && _vm.icon ? _c('div', {
|
|
32003
|
+
staticClass: "mc-kpi-small__icon"
|
|
32004
|
+
}, [_c('m-icon', {
|
|
32005
|
+
attrs: {
|
|
32006
|
+
"name": _vm.icon
|
|
32007
|
+
}
|
|
32008
|
+
})], 1) : _vm._e()]) : _vm.size === 'm' ? _c('div', {
|
|
32009
|
+
staticClass: "mc-kpi-medium"
|
|
32010
|
+
}, [_c('div', {
|
|
32011
|
+
staticClass: "mc-kpi-medium__data"
|
|
32012
|
+
}, [_c('div', {
|
|
32013
|
+
staticClass: "mc-kpi-medium__label"
|
|
32014
|
+
}, [_vm._v(" " + _vm._s(_vm.label) + " ")])]), _c('div', {
|
|
32015
|
+
staticClass: "mc-kpi-medium__container",
|
|
32016
|
+
class: 'mc-kpi-medium__container-' + _vm.classForTheme
|
|
32017
|
+
}, [_c('div', {
|
|
32018
|
+
staticClass: "mc-kpi-medium__value",
|
|
32019
|
+
class: ['mc-kpi-medium__value-' + _vm.classForTheme, _vm.classExpectedValueWithoutIcon]
|
|
32020
|
+
}, [_vm._v(" " + _vm._s(_vm.value) + " ")]), _vm.showIcon && _vm.icon ? _c('div', {
|
|
32021
|
+
staticClass: "mc-kpi-medium__icon"
|
|
32022
|
+
}, [_c('div', [_c('m-icon', {
|
|
32023
|
+
attrs: {
|
|
32024
|
+
"name": _vm.icon
|
|
32025
|
+
}
|
|
32026
|
+
})], 1)]) : _vm._e()])]) : _c('div', {
|
|
32027
|
+
staticClass: "mc-kpi-large",
|
|
32028
|
+
class: 'mc-kpi-large-' + _vm.classForTheme
|
|
32029
|
+
}, [_c('div', {
|
|
32030
|
+
staticClass: "mc-kpi-large__data",
|
|
32031
|
+
class: [_vm.classDetailsBarActive, 'mc-kpi-large__data-' + _vm.classForTheme]
|
|
32032
|
+
}, [_c('div', {
|
|
32033
|
+
staticClass: "mc-kpi-large__container"
|
|
32034
|
+
}, [_c('div', {
|
|
32035
|
+
staticClass: "mc-kpi-large__label",
|
|
32036
|
+
class: 'mc-kpi-large__label-' + _vm.classForTheme
|
|
32037
|
+
}, [_vm._v(" " + _vm._s(_vm.label) + " ")]), _c('div', {
|
|
32038
|
+
staticClass: "mc-kpi-large__value",
|
|
32039
|
+
class: 'mc-kpi-large__value-' + _vm.classForTheme
|
|
32040
|
+
}, [_vm._v(" " + _vm._s(_vm.value) + " ")])])]), _vm.showDetailsBar ? _c('div', {
|
|
32041
|
+
staticClass: "mc-kpi-large__details"
|
|
32042
|
+
}, [_vm.showExpectedValue ? _c('div', {
|
|
32043
|
+
staticClass: "mc-kpi-large__expected",
|
|
32044
|
+
class: _vm.classExpectedValueWithoutIcon
|
|
32045
|
+
}, [_vm._v(" " + _vm._s(_vm.expected) + " ")]) : _vm._e(), _vm.showIcon && _vm.icon ? _c('div', {
|
|
32046
|
+
staticClass: "mc-kpi-large__icon",
|
|
32047
|
+
class: _vm.classIconWithoutExpectedValue
|
|
32048
|
+
}, [_c('m-icon', {
|
|
32049
|
+
attrs: {
|
|
32050
|
+
"name": _vm.icon
|
|
32051
|
+
}
|
|
32052
|
+
})], 1) : _vm._e()]) : _vm._e()])]);
|
|
32053
|
+
};
|
|
32054
|
+
var MKpivue_type_template_id_f779b646_staticRenderFns = [];
|
|
32055
|
+
|
|
32056
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/kpi/MKpi.vue?vue&type=script&lang=js&
|
|
32057
|
+
|
|
32058
|
+
|
|
32059
|
+
/* harmony default export */ var MKpivue_type_script_lang_js_ = ({
|
|
32060
|
+
name: 'MKpi',
|
|
32061
|
+
components: {
|
|
32062
|
+
MIcon: MIcon
|
|
32063
|
+
},
|
|
32064
|
+
props: {
|
|
32065
|
+
label: {
|
|
32066
|
+
type: String,
|
|
32067
|
+
default: 'Label'
|
|
32068
|
+
},
|
|
32069
|
+
value: {
|
|
32070
|
+
type: String,
|
|
32071
|
+
default: '99.99%'
|
|
32072
|
+
},
|
|
32073
|
+
theme: {
|
|
32074
|
+
type: String,
|
|
32075
|
+
default: 'info'
|
|
32076
|
+
},
|
|
32077
|
+
expected: {
|
|
32078
|
+
type: String,
|
|
32079
|
+
default: '> 10% expected'
|
|
32080
|
+
},
|
|
32081
|
+
size: {
|
|
32082
|
+
type: String,
|
|
32083
|
+
default: 'l',
|
|
32084
|
+
validator: function validator(value) {
|
|
32085
|
+
return responsiveModifierValidators(value, ['s', 'm', 'l']);
|
|
32086
|
+
}
|
|
32087
|
+
},
|
|
32088
|
+
icon: {
|
|
32089
|
+
type: String,
|
|
32090
|
+
default: 'ArrowArrowTopRight16'
|
|
32091
|
+
},
|
|
32092
|
+
showDetailsBar: {
|
|
32093
|
+
type: Boolean,
|
|
32094
|
+
default: true
|
|
32095
|
+
},
|
|
32096
|
+
showExpectedValue: {
|
|
32097
|
+
type: Boolean,
|
|
32098
|
+
default: true
|
|
32099
|
+
},
|
|
32100
|
+
showIcon: {
|
|
32101
|
+
type: Boolean,
|
|
32102
|
+
default: true
|
|
32103
|
+
}
|
|
32104
|
+
},
|
|
32105
|
+
computed: {
|
|
32106
|
+
classDetailsBarActive: function classDetailsBarActive() {
|
|
32107
|
+
return !this.showDetailsBar ? 'mc-kpi__without-details-bar' : '';
|
|
32108
|
+
},
|
|
32109
|
+
classExpectedValueWithoutIcon: function classExpectedValueWithoutIcon() {
|
|
32110
|
+
return !this.showIcon ? 'mc-kpi__without-icon' : '';
|
|
32111
|
+
},
|
|
32112
|
+
classIconWithoutExpectedValue: function classIconWithoutExpectedValue() {
|
|
32113
|
+
return !this.showExpectedValue ? 'mc-kpi__without-expected-value' : '';
|
|
32114
|
+
},
|
|
32115
|
+
classForTheme: function classForTheme() {
|
|
32116
|
+
return this.theme;
|
|
32117
|
+
}
|
|
32118
|
+
}
|
|
32119
|
+
});
|
|
32120
|
+
;// CONCATENATED MODULE: ./src/components/kpi/MKpi.vue?vue&type=script&lang=js&
|
|
32121
|
+
/* harmony default export */ var kpi_MKpivue_type_script_lang_js_ = (MKpivue_type_script_lang_js_);
|
|
32122
|
+
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/@vue/cli-service/node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-41.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/kpi/MKpi.vue?vue&type=style&index=0&id=f779b646&prod&lang=scss&
|
|
32123
|
+
// extracted by mini-css-extract-plugin
|
|
32124
|
+
|
|
32125
|
+
;// CONCATENATED MODULE: ./src/components/kpi/MKpi.vue?vue&type=style&index=0&id=f779b646&prod&lang=scss&
|
|
32126
|
+
|
|
32127
|
+
;// CONCATENATED MODULE: ./src/components/kpi/MKpi.vue
|
|
32128
|
+
|
|
32129
|
+
|
|
32130
|
+
|
|
32131
|
+
;
|
|
32132
|
+
|
|
32133
|
+
|
|
32134
|
+
/* normalize component */
|
|
32135
|
+
|
|
32136
|
+
var MKpi_component = normalizeComponent(
|
|
32137
|
+
kpi_MKpivue_type_script_lang_js_,
|
|
32138
|
+
MKpivue_type_template_id_f779b646_render,
|
|
32139
|
+
MKpivue_type_template_id_f779b646_staticRenderFns,
|
|
32140
|
+
false,
|
|
32141
|
+
null,
|
|
32142
|
+
null,
|
|
32143
|
+
null
|
|
32144
|
+
|
|
32145
|
+
)
|
|
32146
|
+
|
|
32147
|
+
/* harmony default export */ var MKpi = (MKpi_component.exports);
|
|
32148
|
+
;// CONCATENATED MODULE: ./src/components/kpi/index.js
|
|
32149
|
+
|
|
32150
|
+
|
|
32151
|
+
MKpi.install = function (Vue) {
|
|
32152
|
+
Vue.component(MKpi.name, MKpi);
|
|
32153
|
+
};
|
|
31945
32154
|
|
|
31946
32155
|
;// CONCATENATED MODULE: ./src/index.js
|
|
31947
32156
|
|
|
@@ -32006,6 +32215,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
32006
32215
|
|
|
32007
32216
|
|
|
32008
32217
|
|
|
32218
|
+
|
|
32009
32219
|
|
|
32010
32220
|
|
|
32011
32221
|
;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js
|