@mozaic-ds/vue 0.35.1 → 0.36.1
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 +338 -127
- package/dist/mozaic-vue.common.js +338 -127
- package/dist/mozaic-vue.common.js.map +1 -1
- package/dist/mozaic-vue.css +1 -1
- package/dist/mozaic-vue.umd.js +338 -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 +82 -52
- package/src/components/kpi/MKpi.vue +465 -0
- package/src/components/kpi/index.js +7 -0
- package/src/index.js +1 -0
|
@@ -9989,9 +9989,8 @@ module.exports = /MSIE|Trident/.test(UA);
|
|
|
9989
9989
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
9990
9990
|
|
|
9991
9991
|
var userAgent = __webpack_require__(8113);
|
|
9992
|
-
var global = __webpack_require__(7854);
|
|
9993
9992
|
|
|
9994
|
-
module.exports = /ipad|iphone|ipod/i.test(userAgent) &&
|
|
9993
|
+
module.exports = /ipad|iphone|ipod/i.test(userAgent) && typeof Pebble != 'undefined';
|
|
9995
9994
|
|
|
9996
9995
|
|
|
9997
9996
|
/***/ }),
|
|
@@ -10010,9 +10009,8 @@ module.exports = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent);
|
|
|
10010
10009
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
10011
10010
|
|
|
10012
10011
|
var classof = __webpack_require__(4326);
|
|
10013
|
-
var global = __webpack_require__(7854);
|
|
10014
10012
|
|
|
10015
|
-
module.exports = classof(
|
|
10013
|
+
module.exports = typeof process != 'undefined' && classof(process) == 'process';
|
|
10016
10014
|
|
|
10017
10015
|
|
|
10018
10016
|
/***/ }),
|
|
@@ -10028,11 +10026,9 @@ module.exports = /web0s(?!.*chrome)/i.test(userAgent);
|
|
|
10028
10026
|
/***/ }),
|
|
10029
10027
|
|
|
10030
10028
|
/***/ 8113:
|
|
10031
|
-
/***/ (function(module
|
|
10032
|
-
|
|
10033
|
-
var getBuiltIn = __webpack_require__(5005);
|
|
10029
|
+
/***/ (function(module) {
|
|
10034
10030
|
|
|
10035
|
-
module.exports =
|
|
10031
|
+
module.exports = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
|
|
10036
10032
|
|
|
10037
10033
|
|
|
10038
10034
|
/***/ }),
|
|
@@ -10119,6 +10115,26 @@ module.exports = function (stack, dropEntries) {
|
|
|
10119
10115
|
};
|
|
10120
10116
|
|
|
10121
10117
|
|
|
10118
|
+
/***/ }),
|
|
10119
|
+
|
|
10120
|
+
/***/ 5392:
|
|
10121
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
10122
|
+
|
|
10123
|
+
var createNonEnumerableProperty = __webpack_require__(8880);
|
|
10124
|
+
var clearErrorStack = __webpack_require__(1060);
|
|
10125
|
+
var ERROR_STACK_INSTALLABLE = __webpack_require__(2914);
|
|
10126
|
+
|
|
10127
|
+
// non-standard V8
|
|
10128
|
+
var captureStackTrace = Error.captureStackTrace;
|
|
10129
|
+
|
|
10130
|
+
module.exports = function (error, C, stack, dropEntries) {
|
|
10131
|
+
if (ERROR_STACK_INSTALLABLE) {
|
|
10132
|
+
if (captureStackTrace) captureStackTrace(error, C);
|
|
10133
|
+
else createNonEnumerableProperty(error, 'stack', clearErrorStack(stack, dropEntries));
|
|
10134
|
+
}
|
|
10135
|
+
};
|
|
10136
|
+
|
|
10137
|
+
|
|
10122
10138
|
/***/ }),
|
|
10123
10139
|
|
|
10124
10140
|
/***/ 2914:
|
|
@@ -10591,15 +10607,13 @@ module.exports = {};
|
|
|
10591
10607
|
/***/ }),
|
|
10592
10608
|
|
|
10593
10609
|
/***/ 842:
|
|
10594
|
-
/***/ (function(module
|
|
10595
|
-
|
|
10596
|
-
var global = __webpack_require__(7854);
|
|
10610
|
+
/***/ (function(module) {
|
|
10597
10611
|
|
|
10598
10612
|
module.exports = function (a, b) {
|
|
10599
|
-
|
|
10600
|
-
|
|
10613
|
+
try {
|
|
10614
|
+
// eslint-disable-next-line no-console -- safe
|
|
10601
10615
|
arguments.length == 1 ? console.error(a) : console.error(a, b);
|
|
10602
|
-
}
|
|
10616
|
+
} catch (error) { /* empty */ }
|
|
10603
10617
|
};
|
|
10604
10618
|
|
|
10605
10619
|
|
|
@@ -11327,6 +11341,7 @@ module.exports = function (obj) {
|
|
|
11327
11341
|
/***/ 6339:
|
|
11328
11342
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
11329
11343
|
|
|
11344
|
+
var uncurryThis = __webpack_require__(1702);
|
|
11330
11345
|
var fails = __webpack_require__(7293);
|
|
11331
11346
|
var isCallable = __webpack_require__(614);
|
|
11332
11347
|
var hasOwn = __webpack_require__(2597);
|
|
@@ -11337,8 +11352,12 @@ var InternalStateModule = __webpack_require__(9909);
|
|
|
11337
11352
|
|
|
11338
11353
|
var enforceInternalState = InternalStateModule.enforce;
|
|
11339
11354
|
var getInternalState = InternalStateModule.get;
|
|
11355
|
+
var $String = String;
|
|
11340
11356
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
11341
11357
|
var defineProperty = Object.defineProperty;
|
|
11358
|
+
var stringSlice = uncurryThis(''.slice);
|
|
11359
|
+
var replace = uncurryThis(''.replace);
|
|
11360
|
+
var join = uncurryThis([].join);
|
|
11342
11361
|
|
|
11343
11362
|
var CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function () {
|
|
11344
11363
|
return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
|
@@ -11347,8 +11366,8 @@ var CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function () {
|
|
|
11347
11366
|
var TEMPLATE = String(String).split('String');
|
|
11348
11367
|
|
|
11349
11368
|
var makeBuiltIn = module.exports = function (value, name, options) {
|
|
11350
|
-
if (String(name)
|
|
11351
|
-
name = '[' + String(name)
|
|
11369
|
+
if (stringSlice($String(name), 0, 7) === 'Symbol(') {
|
|
11370
|
+
name = '[' + replace($String(name), /^Symbol\(([^)]*)\)/, '$1') + ']';
|
|
11352
11371
|
}
|
|
11353
11372
|
if (options && options.getter) name = 'get ' + name;
|
|
11354
11373
|
if (options && options.setter) name = 'set ' + name;
|
|
@@ -11367,7 +11386,7 @@ var makeBuiltIn = module.exports = function (value, name, options) {
|
|
|
11367
11386
|
} catch (error) { /* empty */ }
|
|
11368
11387
|
var state = enforceInternalState(value);
|
|
11369
11388
|
if (!hasOwn(state, 'source')) {
|
|
11370
|
-
state.source =
|
|
11389
|
+
state.source = join(TEMPLATE, typeof name == 'string' ? name : '');
|
|
11371
11390
|
} return value;
|
|
11372
11391
|
};
|
|
11373
11392
|
|
|
@@ -11404,6 +11423,7 @@ var global = __webpack_require__(7854);
|
|
|
11404
11423
|
var bind = __webpack_require__(9974);
|
|
11405
11424
|
var getOwnPropertyDescriptor = (__webpack_require__(1236).f);
|
|
11406
11425
|
var macrotask = (__webpack_require__(261).set);
|
|
11426
|
+
var Queue = __webpack_require__(8572);
|
|
11407
11427
|
var IS_IOS = __webpack_require__(6833);
|
|
11408
11428
|
var IS_IOS_PEBBLE = __webpack_require__(1528);
|
|
11409
11429
|
var IS_WEBOS_WEBKIT = __webpack_require__(1036);
|
|
@@ -11415,26 +11435,22 @@ var process = global.process;
|
|
|
11415
11435
|
var Promise = global.Promise;
|
|
11416
11436
|
// Node.js 11 shows ExperimentalWarning on getting `queueMicrotask`
|
|
11417
11437
|
var queueMicrotaskDescriptor = getOwnPropertyDescriptor(global, 'queueMicrotask');
|
|
11418
|
-
var
|
|
11419
|
-
|
|
11420
|
-
var flush, head, last, notify, toggle, node, promise, then;
|
|
11438
|
+
var microtask = queueMicrotaskDescriptor && queueMicrotaskDescriptor.value;
|
|
11439
|
+
var notify, toggle, node, promise, then;
|
|
11421
11440
|
|
|
11422
11441
|
// modern engines have queueMicrotask method
|
|
11423
|
-
if (!
|
|
11424
|
-
|
|
11442
|
+
if (!microtask) {
|
|
11443
|
+
var queue = new Queue();
|
|
11444
|
+
|
|
11445
|
+
var flush = function () {
|
|
11425
11446
|
var parent, fn;
|
|
11426
11447
|
if (IS_NODE && (parent = process.domain)) parent.exit();
|
|
11427
|
-
while (
|
|
11428
|
-
fn
|
|
11429
|
-
|
|
11430
|
-
|
|
11431
|
-
|
|
11432
|
-
|
|
11433
|
-
if (head) notify();
|
|
11434
|
-
else last = undefined;
|
|
11435
|
-
throw error;
|
|
11436
|
-
}
|
|
11437
|
-
} last = undefined;
|
|
11448
|
+
while (fn = queue.get()) try {
|
|
11449
|
+
fn();
|
|
11450
|
+
} catch (error) {
|
|
11451
|
+
if (queue.head) notify();
|
|
11452
|
+
throw error;
|
|
11453
|
+
}
|
|
11438
11454
|
if (parent) parent.enter();
|
|
11439
11455
|
};
|
|
11440
11456
|
|
|
@@ -11469,22 +11485,20 @@ if (!queueMicrotask) {
|
|
|
11469
11485
|
// - onreadystatechange
|
|
11470
11486
|
// - setTimeout
|
|
11471
11487
|
} else {
|
|
11472
|
-
//
|
|
11488
|
+
// `webpack` dev server bug on IE global methods - use bind(fn, global)
|
|
11473
11489
|
macrotask = bind(macrotask, global);
|
|
11474
11490
|
notify = function () {
|
|
11475
11491
|
macrotask(flush);
|
|
11476
11492
|
};
|
|
11477
11493
|
}
|
|
11494
|
+
|
|
11495
|
+
microtask = function (fn) {
|
|
11496
|
+
if (!queue.head) notify();
|
|
11497
|
+
queue.add(fn);
|
|
11498
|
+
};
|
|
11478
11499
|
}
|
|
11479
11500
|
|
|
11480
|
-
module.exports =
|
|
11481
|
-
var task = { fn: fn, next: undefined };
|
|
11482
|
-
if (last) last.next = task;
|
|
11483
|
-
if (!head) {
|
|
11484
|
-
head = task;
|
|
11485
|
-
notify();
|
|
11486
|
-
} last = task;
|
|
11487
|
-
};
|
|
11501
|
+
module.exports = microtask;
|
|
11488
11502
|
|
|
11489
11503
|
|
|
11490
11504
|
/***/ }),
|
|
@@ -12281,15 +12295,16 @@ var Queue = function () {
|
|
|
12281
12295
|
Queue.prototype = {
|
|
12282
12296
|
add: function (item) {
|
|
12283
12297
|
var entry = { item: item, next: null };
|
|
12284
|
-
|
|
12298
|
+
var tail = this.tail;
|
|
12299
|
+
if (tail) tail.next = entry;
|
|
12285
12300
|
else this.head = entry;
|
|
12286
12301
|
this.tail = entry;
|
|
12287
12302
|
},
|
|
12288
12303
|
get: function () {
|
|
12289
12304
|
var entry = this.head;
|
|
12290
12305
|
if (entry) {
|
|
12291
|
-
this.head = entry.next;
|
|
12292
|
-
if (
|
|
12306
|
+
var next = this.head = entry.next;
|
|
12307
|
+
if (next === null) this.tail = null;
|
|
12293
12308
|
return entry.item;
|
|
12294
12309
|
}
|
|
12295
12310
|
}
|
|
@@ -12670,10 +12685,10 @@ var store = __webpack_require__(5465);
|
|
|
12670
12685
|
(module.exports = function (key, value) {
|
|
12671
12686
|
return store[key] || (store[key] = value !== undefined ? value : {});
|
|
12672
12687
|
})('versions', []).push({
|
|
12673
|
-
version: '3.27.
|
|
12688
|
+
version: '3.27.2',
|
|
12674
12689
|
mode: IS_PURE ? 'pure' : 'global',
|
|
12675
|
-
copyright: '© 2014-
|
|
12676
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.27.
|
|
12690
|
+
copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',
|
|
12691
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.27.2/LICENSE',
|
|
12677
12692
|
source: 'https://github.com/zloirock/core-js'
|
|
12678
12693
|
});
|
|
12679
12694
|
|
|
@@ -12907,10 +12922,10 @@ var queue = {};
|
|
|
12907
12922
|
var ONREADYSTATECHANGE = 'onreadystatechange';
|
|
12908
12923
|
var $location, defer, channel, port;
|
|
12909
12924
|
|
|
12910
|
-
|
|
12925
|
+
fails(function () {
|
|
12911
12926
|
// Deno throws a ReferenceError on `location` access without `--location` flag
|
|
12912
12927
|
$location = global.location;
|
|
12913
|
-
}
|
|
12928
|
+
});
|
|
12914
12929
|
|
|
12915
12930
|
var run = function (id) {
|
|
12916
12931
|
if (hasOwn(queue, id)) {
|
|
@@ -12926,11 +12941,11 @@ var runner = function (id) {
|
|
|
12926
12941
|
};
|
|
12927
12942
|
};
|
|
12928
12943
|
|
|
12929
|
-
var
|
|
12944
|
+
var eventListener = function (event) {
|
|
12930
12945
|
run(event.data);
|
|
12931
12946
|
};
|
|
12932
12947
|
|
|
12933
|
-
var
|
|
12948
|
+
var globalPostMessageDefer = function (id) {
|
|
12934
12949
|
// old engines have not location.origin
|
|
12935
12950
|
global.postMessage(String(id), $location.protocol + '//' + $location.host);
|
|
12936
12951
|
};
|
|
@@ -12965,7 +12980,7 @@ if (!set || !clear) {
|
|
|
12965
12980
|
} else if (MessageChannel && !IS_IOS) {
|
|
12966
12981
|
channel = new MessageChannel();
|
|
12967
12982
|
port = channel.port2;
|
|
12968
|
-
channel.port1.onmessage =
|
|
12983
|
+
channel.port1.onmessage = eventListener;
|
|
12969
12984
|
defer = bind(port.postMessage, port);
|
|
12970
12985
|
// Browsers with postMessage, skip WebWorkers
|
|
12971
12986
|
// IE8 has postMessage, but it's sync & typeof its postMessage is 'object'
|
|
@@ -12974,10 +12989,10 @@ if (!set || !clear) {
|
|
|
12974
12989
|
isCallable(global.postMessage) &&
|
|
12975
12990
|
!global.importScripts &&
|
|
12976
12991
|
$location && $location.protocol !== 'file:' &&
|
|
12977
|
-
!fails(
|
|
12992
|
+
!fails(globalPostMessageDefer)
|
|
12978
12993
|
) {
|
|
12979
|
-
defer =
|
|
12980
|
-
global.addEventListener('message',
|
|
12994
|
+
defer = globalPostMessageDefer;
|
|
12995
|
+
global.addEventListener('message', eventListener, false);
|
|
12981
12996
|
// IE8-
|
|
12982
12997
|
} else if (ONREADYSTATECHANGE in createElement('script')) {
|
|
12983
12998
|
defer = function (id) {
|
|
@@ -13301,21 +13316,15 @@ var uid = __webpack_require__(9711);
|
|
|
13301
13316
|
var NATIVE_SYMBOL = __webpack_require__(6293);
|
|
13302
13317
|
var USE_SYMBOL_AS_UID = __webpack_require__(3307);
|
|
13303
13318
|
|
|
13304
|
-
var WellKnownSymbolsStore = shared('wks');
|
|
13305
13319
|
var Symbol = global.Symbol;
|
|
13306
|
-
var
|
|
13307
|
-
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol : Symbol && Symbol.withoutSetter || uid;
|
|
13320
|
+
var WellKnownSymbolsStore = shared('wks');
|
|
13321
|
+
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || Symbol : Symbol && Symbol.withoutSetter || uid;
|
|
13308
13322
|
|
|
13309
13323
|
module.exports = function (name) {
|
|
13310
|
-
if (!hasOwn(WellKnownSymbolsStore, name)
|
|
13311
|
-
|
|
13312
|
-
|
|
13313
|
-
|
|
13314
|
-
} else if (USE_SYMBOL_AS_UID && symbolFor) {
|
|
13315
|
-
WellKnownSymbolsStore[name] = symbolFor(description);
|
|
13316
|
-
} else {
|
|
13317
|
-
WellKnownSymbolsStore[name] = createWellKnownSymbol(description);
|
|
13318
|
-
}
|
|
13324
|
+
if (!hasOwn(WellKnownSymbolsStore, name)) {
|
|
13325
|
+
WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name)
|
|
13326
|
+
? Symbol[name]
|
|
13327
|
+
: createWellKnownSymbol('Symbol.' + name);
|
|
13319
13328
|
} return WellKnownSymbolsStore[name];
|
|
13320
13329
|
};
|
|
13321
13330
|
|
|
@@ -13347,8 +13356,7 @@ var proxyAccessor = __webpack_require__(2626);
|
|
|
13347
13356
|
var inheritIfRequired = __webpack_require__(9587);
|
|
13348
13357
|
var normalizeStringArgument = __webpack_require__(6277);
|
|
13349
13358
|
var installErrorCause = __webpack_require__(8340);
|
|
13350
|
-
var
|
|
13351
|
-
var ERROR_STACK_INSTALLABLE = __webpack_require__(2914);
|
|
13359
|
+
var installErrorStack = __webpack_require__(5392);
|
|
13352
13360
|
var DESCRIPTORS = __webpack_require__(9781);
|
|
13353
13361
|
var IS_PURE = __webpack_require__(1913);
|
|
13354
13362
|
|
|
@@ -13374,7 +13382,7 @@ module.exports = function (FULL_NAME, wrapper, FORCED, IS_AGGREGATE_ERROR) {
|
|
|
13374
13382
|
var message = normalizeStringArgument(IS_AGGREGATE_ERROR ? b : a, undefined);
|
|
13375
13383
|
var result = IS_AGGREGATE_ERROR ? new OriginalError(a) : new OriginalError();
|
|
13376
13384
|
if (message !== undefined) createNonEnumerableProperty(result, 'message', message);
|
|
13377
|
-
|
|
13385
|
+
installErrorStack(result, WrappedError, result.stack, 2);
|
|
13378
13386
|
if (this && isPrototypeOf(OriginalErrorPrototype, this)) inheritIfRequired(result, this, WrappedError);
|
|
13379
13387
|
if (arguments.length > OPTIONS_POSITION) installErrorCause(result, arguments[OPTIONS_POSITION]);
|
|
13380
13388
|
return result;
|
|
@@ -13435,15 +13443,13 @@ var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails(function () {
|
|
|
13435
13443
|
return array.concat()[0] !== array;
|
|
13436
13444
|
});
|
|
13437
13445
|
|
|
13438
|
-
var SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('concat');
|
|
13439
|
-
|
|
13440
13446
|
var isConcatSpreadable = function (O) {
|
|
13441
13447
|
if (!isObject(O)) return false;
|
|
13442
13448
|
var spreadable = O[IS_CONCAT_SPREADABLE];
|
|
13443
13449
|
return spreadable !== undefined ? !!spreadable : isArray(O);
|
|
13444
13450
|
};
|
|
13445
13451
|
|
|
13446
|
-
var FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !
|
|
13452
|
+
var FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !arrayMethodHasSpeciesSupport('concat');
|
|
13447
13453
|
|
|
13448
13454
|
// `Array.prototype.concat` method
|
|
13449
13455
|
// https://tc39.es/ecma262/#sec-array.prototype.concat
|
|
@@ -13619,11 +13625,11 @@ var arrayMethodIsStrict = __webpack_require__(9341);
|
|
|
13619
13625
|
var nativeIndexOf = uncurryThis([].indexOf);
|
|
13620
13626
|
|
|
13621
13627
|
var NEGATIVE_ZERO = !!nativeIndexOf && 1 / nativeIndexOf([1], 1, -0) < 0;
|
|
13622
|
-
var
|
|
13628
|
+
var FORCED = NEGATIVE_ZERO || !arrayMethodIsStrict('indexOf');
|
|
13623
13629
|
|
|
13624
13630
|
// `Array.prototype.indexOf` method
|
|
13625
13631
|
// https://tc39.es/ecma262/#sec-array.prototype.indexof
|
|
13626
|
-
$({ target: 'Array', proto: true, forced:
|
|
13632
|
+
$({ target: 'Array', proto: true, forced: FORCED }, {
|
|
13627
13633
|
indexOf: function indexOf(searchElement /* , fromIndex = 0 */) {
|
|
13628
13634
|
var fromIndex = arguments.length > 1 ? arguments[1] : undefined;
|
|
13629
13635
|
return NEGATIVE_ZERO
|
|
@@ -13720,11 +13726,11 @@ var arrayMethodIsStrict = __webpack_require__(9341);
|
|
|
13720
13726
|
var nativeJoin = uncurryThis([].join);
|
|
13721
13727
|
|
|
13722
13728
|
var ES3_STRINGS = IndexedObject != Object;
|
|
13723
|
-
var
|
|
13729
|
+
var FORCED = ES3_STRINGS || !arrayMethodIsStrict('join', ',');
|
|
13724
13730
|
|
|
13725
13731
|
// `Array.prototype.join` method
|
|
13726
13732
|
// https://tc39.es/ecma262/#sec-array.prototype.join
|
|
13727
|
-
$({ target: 'Array', proto: true, forced:
|
|
13733
|
+
$({ target: 'Array', proto: true, forced: FORCED }, {
|
|
13728
13734
|
join: function join(separator) {
|
|
13729
13735
|
return nativeJoin(toIndexedObject(this), separator === undefined ? ',' : separator);
|
|
13730
13736
|
}
|
|
@@ -13790,18 +13796,20 @@ var INCORRECT_TO_LENGTH = fails(function () {
|
|
|
13790
13796
|
|
|
13791
13797
|
// V8 and Safari <= 15.4, FF < 23 throws InternalError
|
|
13792
13798
|
// https://bugs.chromium.org/p/v8/issues/detail?id=12681
|
|
13793
|
-
var
|
|
13799
|
+
var properErrorOnNonWritableLength = function () {
|
|
13794
13800
|
try {
|
|
13795
13801
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
13796
13802
|
Object.defineProperty([], 'length', { writable: false }).push();
|
|
13797
13803
|
} catch (error) {
|
|
13798
13804
|
return error instanceof TypeError;
|
|
13799
13805
|
}
|
|
13800
|
-
}
|
|
13806
|
+
};
|
|
13807
|
+
|
|
13808
|
+
var FORCED = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength();
|
|
13801
13809
|
|
|
13802
13810
|
// `Array.prototype.push` method
|
|
13803
13811
|
// https://tc39.es/ecma262/#sec-array.prototype.push
|
|
13804
|
-
$({ target: 'Array', proto: true, arity: 1, forced:
|
|
13812
|
+
$({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {
|
|
13805
13813
|
// eslint-disable-next-line no-unused-vars -- required for `.length`
|
|
13806
13814
|
push: function push(item) {
|
|
13807
13815
|
var O = toObject(this);
|
|
@@ -13831,14 +13839,14 @@ var arrayMethodIsStrict = __webpack_require__(9341);
|
|
|
13831
13839
|
var CHROME_VERSION = __webpack_require__(7392);
|
|
13832
13840
|
var IS_NODE = __webpack_require__(5268);
|
|
13833
13841
|
|
|
13834
|
-
var STRICT_METHOD = arrayMethodIsStrict('reduceRight');
|
|
13835
13842
|
// Chrome 80-82 has a critical bug
|
|
13836
13843
|
// https://bugs.chromium.org/p/chromium/issues/detail?id=1049982
|
|
13837
13844
|
var CHROME_BUG = !IS_NODE && CHROME_VERSION > 79 && CHROME_VERSION < 83;
|
|
13845
|
+
var FORCED = CHROME_BUG || !arrayMethodIsStrict('reduceRight');
|
|
13838
13846
|
|
|
13839
13847
|
// `Array.prototype.reduceRight` method
|
|
13840
13848
|
// https://tc39.es/ecma262/#sec-array.prototype.reduceright
|
|
13841
|
-
$({ target: 'Array', proto: true, forced:
|
|
13849
|
+
$({ target: 'Array', proto: true, forced: FORCED }, {
|
|
13842
13850
|
reduceRight: function reduceRight(callbackfn /* , initialValue */) {
|
|
13843
13851
|
return $reduceRight(this, callbackfn, arguments.length, arguments.length > 1 ? arguments[1] : undefined);
|
|
13844
13852
|
}
|
|
@@ -13858,14 +13866,14 @@ var arrayMethodIsStrict = __webpack_require__(9341);
|
|
|
13858
13866
|
var CHROME_VERSION = __webpack_require__(7392);
|
|
13859
13867
|
var IS_NODE = __webpack_require__(5268);
|
|
13860
13868
|
|
|
13861
|
-
var STRICT_METHOD = arrayMethodIsStrict('reduce');
|
|
13862
13869
|
// Chrome 80-82 has a critical bug
|
|
13863
13870
|
// https://bugs.chromium.org/p/chromium/issues/detail?id=1049982
|
|
13864
13871
|
var CHROME_BUG = !IS_NODE && CHROME_VERSION > 79 && CHROME_VERSION < 83;
|
|
13872
|
+
var FORCED = CHROME_BUG || !arrayMethodIsStrict('reduce');
|
|
13865
13873
|
|
|
13866
13874
|
// `Array.prototype.reduce` method
|
|
13867
13875
|
// https://tc39.es/ecma262/#sec-array.prototype.reduce
|
|
13868
|
-
$({ target: 'Array', proto: true, forced:
|
|
13876
|
+
$({ target: 'Array', proto: true, forced: FORCED }, {
|
|
13869
13877
|
reduce: function reduce(callbackfn /* , initialValue */) {
|
|
13870
13878
|
var length = arguments.length;
|
|
13871
13879
|
return $reduce(this, callbackfn, length, length > 1 ? arguments[1] : undefined);
|
|
@@ -14169,6 +14177,7 @@ var exportWebAssemblyErrorCauseWrapper = function (ERROR_NAME, wrapper) {
|
|
|
14169
14177
|
}
|
|
14170
14178
|
};
|
|
14171
14179
|
|
|
14180
|
+
// https://tc39.es/ecma262/#sec-nativeerror
|
|
14172
14181
|
// https://github.com/tc39/proposal-error-cause
|
|
14173
14182
|
exportGlobalErrorCauseWrapper('Error', function (init) {
|
|
14174
14183
|
return function Error(message) { return apply(init, this, arguments); };
|
|
@@ -14511,8 +14520,7 @@ var toIndexedObject = __webpack_require__(5656);
|
|
|
14511
14520
|
var nativeGetOwnPropertyDescriptor = (__webpack_require__(1236).f);
|
|
14512
14521
|
var DESCRIPTORS = __webpack_require__(9781);
|
|
14513
14522
|
|
|
14514
|
-
var
|
|
14515
|
-
var FORCED = !DESCRIPTORS || FAILS_ON_PRIMITIVES;
|
|
14523
|
+
var FORCED = !DESCRIPTORS || fails(function () { nativeGetOwnPropertyDescriptor(1); });
|
|
14516
14524
|
|
|
14517
14525
|
// `Object.getOwnPropertyDescriptor` method
|
|
14518
14526
|
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
|
|
@@ -16224,6 +16232,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
16224
16232
|
"MHeading": function() { return /* reexport */ MHeading; },
|
|
16225
16233
|
"MHero": function() { return /* reexport */ MHero; },
|
|
16226
16234
|
"MIcon": function() { return /* reexport */ MIcon; },
|
|
16235
|
+
"MKpi": function() { return /* reexport */ MKpi; },
|
|
16227
16236
|
"MLayer": function() { return /* reexport */ MLayer; },
|
|
16228
16237
|
"MLink": function() { return /* reexport */ MLink; },
|
|
16229
16238
|
"MListBox": function() { return /* reexport */ MListBox; },
|
|
@@ -21272,28 +21281,28 @@ MField.install = function (Vue) {
|
|
|
21272
21281
|
Vue.component(MField.name, MField);
|
|
21273
21282
|
};
|
|
21274
21283
|
|
|
21275
|
-
;// 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=
|
|
21276
|
-
var
|
|
21284
|
+
;// 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=790c68f3&
|
|
21285
|
+
var MDropdownvue_type_template_id_790c68f3_render = function render() {
|
|
21277
21286
|
var _vm = this,
|
|
21278
21287
|
_c = _vm._self._c;
|
|
21279
21288
|
return _c('div', {
|
|
21280
21289
|
directives: [{
|
|
21281
21290
|
name: "click-outside",
|
|
21282
21291
|
rawName: "v-click-outside",
|
|
21283
|
-
value: _vm.
|
|
21284
|
-
expression: "
|
|
21292
|
+
value: _vm.closeListBox,
|
|
21293
|
+
expression: "closeListBox"
|
|
21285
21294
|
}],
|
|
21286
21295
|
ref: "dropdown",
|
|
21287
21296
|
staticClass: "mc-dropdown",
|
|
21288
|
-
class:
|
|
21289
|
-
'mc-dropdown--multi': _vm.multiple
|
|
21290
|
-
},
|
|
21297
|
+
class: _vm.classObject,
|
|
21291
21298
|
style: _vm.setStyles
|
|
21299
|
+
}, [_c('div', {
|
|
21300
|
+
staticClass: "mc-dropdown__main"
|
|
21292
21301
|
}, [_vm.multiple && _vm.listboxValue.length > 0 ? _c('MTag', {
|
|
21293
21302
|
ref: "tag",
|
|
21294
21303
|
staticClass: "mc-dropdown__tag",
|
|
21295
21304
|
attrs: {
|
|
21296
|
-
"id": _vm.tagId ? _vm.tagId : "
|
|
21305
|
+
"id": _vm.tagId ? _vm.tagId : "dropdownTag-".concat(_vm.uuid),
|
|
21297
21306
|
"label": _vm.setTagLabel,
|
|
21298
21307
|
"disabled": _vm.disabled,
|
|
21299
21308
|
"type": "removable",
|
|
@@ -21301,15 +21310,12 @@ var MDropdownvue_type_template_id_70af3a89_render = function render() {
|
|
|
21301
21310
|
},
|
|
21302
21311
|
on: {
|
|
21303
21312
|
"remove-tag": function removeTag($event) {
|
|
21304
|
-
return _vm.
|
|
21313
|
+
return _vm.clearListbox();
|
|
21305
21314
|
}
|
|
21306
21315
|
}
|
|
21307
21316
|
}) : _vm._e(), _c('button', {
|
|
21308
21317
|
staticClass: "mc-select mc-dropdown__trigger",
|
|
21309
|
-
class:
|
|
21310
|
-
'is-open': _vm.openState,
|
|
21311
|
-
'mc-select--s': _vm.size === 's'
|
|
21312
|
-
},
|
|
21318
|
+
class: _vm.classObjectTrigger,
|
|
21313
21319
|
attrs: {
|
|
21314
21320
|
"type": "button",
|
|
21315
21321
|
"disabled": _vm.disabled
|
|
@@ -21319,7 +21325,22 @@ var MDropdownvue_type_template_id_70af3a89_render = function render() {
|
|
|
21319
21325
|
_vm.openState = !_vm.openState;
|
|
21320
21326
|
}
|
|
21321
21327
|
}
|
|
21322
|
-
}, [_vm._v(" " + _vm._s(_vm.buttonValue) + " ")]), _c('
|
|
21328
|
+
}, [_vm._v(" " + _vm._s(_vm.buttonValue) + " ")]), _vm.isClearable ? _c('button', {
|
|
21329
|
+
staticClass: "mc-dropdown__clear",
|
|
21330
|
+
attrs: {
|
|
21331
|
+
"type": "button"
|
|
21332
|
+
},
|
|
21333
|
+
on: {
|
|
21334
|
+
"click": _vm.clearListbox
|
|
21335
|
+
}
|
|
21336
|
+
}, [_c('MIcon', {
|
|
21337
|
+
staticClass: "mc-dropdown__clear-icon",
|
|
21338
|
+
attrs: {
|
|
21339
|
+
"name": "ControlTagCross24"
|
|
21340
|
+
}
|
|
21341
|
+
}), _c('span', {
|
|
21342
|
+
staticClass: "mc-dropdown__clear-text"
|
|
21343
|
+
}, [_vm._v(_vm._s(_vm.labelClearButton))])], 1) : _vm._e()], 1), _c('MListBox', {
|
|
21323
21344
|
attrs: {
|
|
21324
21345
|
"open": _vm.openState,
|
|
21325
21346
|
"items": _vm.localItems,
|
|
@@ -21331,7 +21352,7 @@ var MDropdownvue_type_template_id_70af3a89_render = function render() {
|
|
|
21331
21352
|
"max-width": _vm.maxWidth
|
|
21332
21353
|
},
|
|
21333
21354
|
on: {
|
|
21334
|
-
"change": _vm.
|
|
21355
|
+
"change": _vm.onChangeListbox
|
|
21335
21356
|
},
|
|
21336
21357
|
scopedSlots: _vm._u([{
|
|
21337
21358
|
key: "item",
|
|
@@ -21351,7 +21372,7 @@ var MDropdownvue_type_template_id_70af3a89_render = function render() {
|
|
|
21351
21372
|
}
|
|
21352
21373
|
})], 1);
|
|
21353
21374
|
};
|
|
21354
|
-
var
|
|
21375
|
+
var MDropdownvue_type_template_id_790c68f3_staticRenderFns = [];
|
|
21355
21376
|
|
|
21356
21377
|
;// 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&
|
|
21357
21378
|
|
|
@@ -21365,9 +21386,11 @@ var MDropdownvue_type_template_id_70af3a89_staticRenderFns = [];
|
|
|
21365
21386
|
|
|
21366
21387
|
|
|
21367
21388
|
|
|
21389
|
+
|
|
21368
21390
|
/* harmony default export */ var MDropdownvue_type_script_lang_js_ = ({
|
|
21369
21391
|
name: 'MDropdown',
|
|
21370
21392
|
components: {
|
|
21393
|
+
MIcon: MIcon,
|
|
21371
21394
|
MTag: MTag,
|
|
21372
21395
|
MListBox: MListBox
|
|
21373
21396
|
},
|
|
@@ -21404,10 +21427,6 @@ var MDropdownvue_type_template_id_70af3a89_staticRenderFns = [];
|
|
|
21404
21427
|
type: String,
|
|
21405
21428
|
default: '-- Placeholder --'
|
|
21406
21429
|
},
|
|
21407
|
-
filter: {
|
|
21408
|
-
type: Function,
|
|
21409
|
-
default: null
|
|
21410
|
-
},
|
|
21411
21430
|
size: {
|
|
21412
21431
|
type: String,
|
|
21413
21432
|
default: 'm',
|
|
@@ -21456,6 +21475,15 @@ var MDropdownvue_type_template_id_70af3a89_staticRenderFns = [];
|
|
|
21456
21475
|
type: Boolean,
|
|
21457
21476
|
default: true
|
|
21458
21477
|
},
|
|
21478
|
+
// Clear Button
|
|
21479
|
+
clearable: {
|
|
21480
|
+
type: Boolean,
|
|
21481
|
+
default: true
|
|
21482
|
+
},
|
|
21483
|
+
labelClearButton: {
|
|
21484
|
+
type: String,
|
|
21485
|
+
default: 'Clear'
|
|
21486
|
+
},
|
|
21459
21487
|
// Global
|
|
21460
21488
|
maxWidth: {
|
|
21461
21489
|
type: String,
|
|
@@ -21475,17 +21503,42 @@ var MDropdownvue_type_template_id_70af3a89_staticRenderFns = [];
|
|
|
21475
21503
|
};
|
|
21476
21504
|
},
|
|
21477
21505
|
computed: {
|
|
21478
|
-
|
|
21479
|
-
return
|
|
21506
|
+
classObject: function classObject() {
|
|
21507
|
+
return {
|
|
21508
|
+
'mc-dropdown--multi': this.multiple,
|
|
21509
|
+
'mc-dropdown--clearable': this.isClearable
|
|
21510
|
+
};
|
|
21480
21511
|
},
|
|
21481
21512
|
setStyles: function setStyles() {
|
|
21482
21513
|
return {
|
|
21483
21514
|
'--dropdown-width': this.maxWidth,
|
|
21484
21515
|
'--dropdown-tag-width': this.tagWidth
|
|
21485
21516
|
};
|
|
21517
|
+
},
|
|
21518
|
+
setTagLabel: function setTagLabel() {
|
|
21519
|
+
return this.listboxValue.length.toString() + ' ' + this.tagLabel;
|
|
21520
|
+
},
|
|
21521
|
+
getListboxValue: function getListboxValue() {
|
|
21522
|
+
var val = this.multiple ? this.listboxValue.length : this.listboxValue;
|
|
21523
|
+
return !!val;
|
|
21524
|
+
},
|
|
21525
|
+
isClearable: function isClearable() {
|
|
21526
|
+
return this.clearable && this.getListboxValue && !this.disabled;
|
|
21527
|
+
},
|
|
21528
|
+
classObjectTrigger: function classObjectTrigger() {
|
|
21529
|
+
return {
|
|
21530
|
+
'is-open': this.openState,
|
|
21531
|
+
'mc-select--s': this.size === 's'
|
|
21532
|
+
};
|
|
21486
21533
|
}
|
|
21487
21534
|
},
|
|
21488
21535
|
watch: {
|
|
21536
|
+
items: {
|
|
21537
|
+
handler: function handler(val) {
|
|
21538
|
+
this.localItems = val;
|
|
21539
|
+
},
|
|
21540
|
+
immediate: true
|
|
21541
|
+
},
|
|
21489
21542
|
value: {
|
|
21490
21543
|
handler: function handler(val) {
|
|
21491
21544
|
if (!val && this.multiple) {
|
|
@@ -21496,21 +21549,13 @@ var MDropdownvue_type_template_id_70af3a89_staticRenderFns = [];
|
|
|
21496
21549
|
},
|
|
21497
21550
|
immediate: true
|
|
21498
21551
|
},
|
|
21499
|
-
items: {
|
|
21500
|
-
handler: function handler(val) {
|
|
21501
|
-
this.localItems = val;
|
|
21502
|
-
// this.clearAutocomplete();
|
|
21503
|
-
},
|
|
21504
|
-
|
|
21505
|
-
immediate: true
|
|
21506
|
-
},
|
|
21507
21552
|
listboxValue: function listboxValue(val) {
|
|
21508
21553
|
var _this = this;
|
|
21509
21554
|
var selectedItems = this.getSelectedItems(val);
|
|
21510
21555
|
var seletedLabels = selectedItems.map(function (item) {
|
|
21511
21556
|
return item[_this.dataTextExpr];
|
|
21512
21557
|
});
|
|
21513
|
-
this.buttonValue = val.length === 0
|
|
21558
|
+
this.buttonValue = (!val || val.length === 0) && this.placeholder || seletedLabels.join(', ');
|
|
21514
21559
|
if (this.multiple) {
|
|
21515
21560
|
this.tagValue = val;
|
|
21516
21561
|
}
|
|
@@ -21535,12 +21580,12 @@ var MDropdownvue_type_template_id_70af3a89_staticRenderFns = [];
|
|
|
21535
21580
|
}
|
|
21536
21581
|
});
|
|
21537
21582
|
},
|
|
21538
|
-
|
|
21583
|
+
clearListbox: function clearListbox() {
|
|
21539
21584
|
this.listboxValue = this.multiple ? [] : undefined;
|
|
21540
|
-
this.
|
|
21585
|
+
this.onChangeListbox();
|
|
21541
21586
|
this.$emit('clear');
|
|
21542
21587
|
},
|
|
21543
|
-
|
|
21588
|
+
closeListBox: function closeListBox() {
|
|
21544
21589
|
this.openState = false;
|
|
21545
21590
|
if (this.multiple && this.sort) {
|
|
21546
21591
|
this.sortItems();
|
|
@@ -21548,10 +21593,10 @@ var MDropdownvue_type_template_id_70af3a89_staticRenderFns = [];
|
|
|
21548
21593
|
this.localItems = this.items;
|
|
21549
21594
|
}
|
|
21550
21595
|
},
|
|
21551
|
-
|
|
21596
|
+
onChangeListbox: function onChangeListbox() {
|
|
21552
21597
|
this.$emit('change', this.listboxValue);
|
|
21553
21598
|
if (!this.multiple) {
|
|
21554
|
-
this.
|
|
21599
|
+
this.closeListBox();
|
|
21555
21600
|
}
|
|
21556
21601
|
},
|
|
21557
21602
|
getSelectedItems: function getSelectedItems(val) {
|
|
@@ -21577,15 +21622,16 @@ var MDropdownvue_type_template_id_70af3a89_staticRenderFns = [];
|
|
|
21577
21622
|
return -1;
|
|
21578
21623
|
}
|
|
21579
21624
|
});
|
|
21625
|
+
this.localItems = this.sortedListItems;
|
|
21580
21626
|
}
|
|
21581
21627
|
}
|
|
21582
21628
|
});
|
|
21583
21629
|
;// CONCATENATED MODULE: ./src/components/dropdown/MDropdown.vue?vue&type=script&lang=js&
|
|
21584
21630
|
/* harmony default export */ var dropdown_MDropdownvue_type_script_lang_js_ = (MDropdownvue_type_script_lang_js_);
|
|
21585
|
-
;// 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=
|
|
21631
|
+
;// 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=790c68f3&prod&lang=scss&
|
|
21586
21632
|
// extracted by mini-css-extract-plugin
|
|
21587
21633
|
|
|
21588
|
-
;// CONCATENATED MODULE: ./src/components/dropdown/MDropdown.vue?vue&type=style&index=0&id=
|
|
21634
|
+
;// CONCATENATED MODULE: ./src/components/dropdown/MDropdown.vue?vue&type=style&index=0&id=790c68f3&prod&lang=scss&
|
|
21589
21635
|
|
|
21590
21636
|
;// CONCATENATED MODULE: ./src/components/dropdown/MDropdown.vue
|
|
21591
21637
|
|
|
@@ -21598,8 +21644,8 @@ var MDropdownvue_type_template_id_70af3a89_staticRenderFns = [];
|
|
|
21598
21644
|
|
|
21599
21645
|
var MDropdown_component = normalizeComponent(
|
|
21600
21646
|
dropdown_MDropdownvue_type_script_lang_js_,
|
|
21601
|
-
|
|
21602
|
-
|
|
21647
|
+
MDropdownvue_type_template_id_790c68f3_render,
|
|
21648
|
+
MDropdownvue_type_template_id_790c68f3_staticRenderFns,
|
|
21603
21649
|
false,
|
|
21604
21650
|
null,
|
|
21605
21651
|
null,
|
|
@@ -31924,6 +31970,170 @@ MTooltip.install = function (Vue) {
|
|
|
31924
31970
|
|
|
31925
31971
|
|
|
31926
31972
|
|
|
31973
|
+
|
|
31974
|
+
;// 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&
|
|
31975
|
+
var MKpivue_type_template_id_f779b646_render = function render() {
|
|
31976
|
+
var _vm = this,
|
|
31977
|
+
_c = _vm._self._c;
|
|
31978
|
+
return _c('div', {
|
|
31979
|
+
staticClass: "mc-kpi"
|
|
31980
|
+
}, [_vm.size === 's' ? _c('div', {
|
|
31981
|
+
staticClass: "mc-kpi-small"
|
|
31982
|
+
}, [_c('div', {
|
|
31983
|
+
staticClass: "mc-kpi-small__value",
|
|
31984
|
+
class: 'mc-kpi-small__value-' + [_vm.classForTheme]
|
|
31985
|
+
}, [_vm._v(" " + _vm._s(_vm.value) + " ")]), _vm.showIcon && _vm.icon ? _c('div', {
|
|
31986
|
+
staticClass: "mc-kpi-small__icon"
|
|
31987
|
+
}, [_c('m-icon', {
|
|
31988
|
+
attrs: {
|
|
31989
|
+
"name": _vm.icon
|
|
31990
|
+
}
|
|
31991
|
+
})], 1) : _vm._e()]) : _vm.size === 'm' ? _c('div', {
|
|
31992
|
+
staticClass: "mc-kpi-medium"
|
|
31993
|
+
}, [_c('div', {
|
|
31994
|
+
staticClass: "mc-kpi-medium__data"
|
|
31995
|
+
}, [_c('div', {
|
|
31996
|
+
staticClass: "mc-kpi-medium__label"
|
|
31997
|
+
}, [_vm._v(" " + _vm._s(_vm.label) + " ")])]), _c('div', {
|
|
31998
|
+
staticClass: "mc-kpi-medium__container",
|
|
31999
|
+
class: 'mc-kpi-medium__container-' + _vm.classForTheme
|
|
32000
|
+
}, [_c('div', {
|
|
32001
|
+
staticClass: "mc-kpi-medium__value",
|
|
32002
|
+
class: ['mc-kpi-medium__value-' + _vm.classForTheme, _vm.classExpectedValueWithoutIcon]
|
|
32003
|
+
}, [_vm._v(" " + _vm._s(_vm.value) + " ")]), _vm.showIcon && _vm.icon ? _c('div', {
|
|
32004
|
+
staticClass: "mc-kpi-medium__icon"
|
|
32005
|
+
}, [_c('div', [_c('m-icon', {
|
|
32006
|
+
attrs: {
|
|
32007
|
+
"name": _vm.icon
|
|
32008
|
+
}
|
|
32009
|
+
})], 1)]) : _vm._e()])]) : _c('div', {
|
|
32010
|
+
staticClass: "mc-kpi-large",
|
|
32011
|
+
class: 'mc-kpi-large-' + _vm.classForTheme
|
|
32012
|
+
}, [_c('div', {
|
|
32013
|
+
staticClass: "mc-kpi-large__data",
|
|
32014
|
+
class: [_vm.classDetailsBarActive, 'mc-kpi-large__data-' + _vm.classForTheme]
|
|
32015
|
+
}, [_c('div', {
|
|
32016
|
+
staticClass: "mc-kpi-large__container"
|
|
32017
|
+
}, [_c('div', {
|
|
32018
|
+
staticClass: "mc-kpi-large__label",
|
|
32019
|
+
class: 'mc-kpi-large__label-' + _vm.classForTheme
|
|
32020
|
+
}, [_vm._v(" " + _vm._s(_vm.label) + " ")]), _c('div', {
|
|
32021
|
+
staticClass: "mc-kpi-large__value",
|
|
32022
|
+
class: 'mc-kpi-large__value-' + _vm.classForTheme
|
|
32023
|
+
}, [_vm._v(" " + _vm._s(_vm.value) + " ")])])]), _vm.showDetailsBar ? _c('div', {
|
|
32024
|
+
staticClass: "mc-kpi-large__details"
|
|
32025
|
+
}, [_vm.showExpectedValue ? _c('div', {
|
|
32026
|
+
staticClass: "mc-kpi-large__expected",
|
|
32027
|
+
class: _vm.classExpectedValueWithoutIcon
|
|
32028
|
+
}, [_vm._v(" " + _vm._s(_vm.expected) + " ")]) : _vm._e(), _vm.showIcon && _vm.icon ? _c('div', {
|
|
32029
|
+
staticClass: "mc-kpi-large__icon",
|
|
32030
|
+
class: _vm.classIconWithoutExpectedValue
|
|
32031
|
+
}, [_c('m-icon', {
|
|
32032
|
+
attrs: {
|
|
32033
|
+
"name": _vm.icon
|
|
32034
|
+
}
|
|
32035
|
+
})], 1) : _vm._e()]) : _vm._e()])]);
|
|
32036
|
+
};
|
|
32037
|
+
var MKpivue_type_template_id_f779b646_staticRenderFns = [];
|
|
32038
|
+
|
|
32039
|
+
;// 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&
|
|
32040
|
+
|
|
32041
|
+
|
|
32042
|
+
/* harmony default export */ var MKpivue_type_script_lang_js_ = ({
|
|
32043
|
+
name: 'MKpi',
|
|
32044
|
+
components: {
|
|
32045
|
+
MIcon: MIcon
|
|
32046
|
+
},
|
|
32047
|
+
props: {
|
|
32048
|
+
label: {
|
|
32049
|
+
type: String,
|
|
32050
|
+
default: 'Label'
|
|
32051
|
+
},
|
|
32052
|
+
value: {
|
|
32053
|
+
type: String,
|
|
32054
|
+
default: '99.99%'
|
|
32055
|
+
},
|
|
32056
|
+
theme: {
|
|
32057
|
+
type: String,
|
|
32058
|
+
default: 'info'
|
|
32059
|
+
},
|
|
32060
|
+
expected: {
|
|
32061
|
+
type: String,
|
|
32062
|
+
default: '> 10% expected'
|
|
32063
|
+
},
|
|
32064
|
+
size: {
|
|
32065
|
+
type: String,
|
|
32066
|
+
default: 'l',
|
|
32067
|
+
validator: function validator(value) {
|
|
32068
|
+
return responsiveModifierValidators(value, ['s', 'm', 'l']);
|
|
32069
|
+
}
|
|
32070
|
+
},
|
|
32071
|
+
icon: {
|
|
32072
|
+
type: String,
|
|
32073
|
+
default: 'ArrowArrowTopRight16'
|
|
32074
|
+
},
|
|
32075
|
+
showDetailsBar: {
|
|
32076
|
+
type: Boolean,
|
|
32077
|
+
default: true
|
|
32078
|
+
},
|
|
32079
|
+
showExpectedValue: {
|
|
32080
|
+
type: Boolean,
|
|
32081
|
+
default: true
|
|
32082
|
+
},
|
|
32083
|
+
showIcon: {
|
|
32084
|
+
type: Boolean,
|
|
32085
|
+
default: true
|
|
32086
|
+
}
|
|
32087
|
+
},
|
|
32088
|
+
computed: {
|
|
32089
|
+
classDetailsBarActive: function classDetailsBarActive() {
|
|
32090
|
+
return !this.showDetailsBar ? 'mc-kpi__without-details-bar' : '';
|
|
32091
|
+
},
|
|
32092
|
+
classExpectedValueWithoutIcon: function classExpectedValueWithoutIcon() {
|
|
32093
|
+
return !this.showIcon ? 'mc-kpi__without-icon' : '';
|
|
32094
|
+
},
|
|
32095
|
+
classIconWithoutExpectedValue: function classIconWithoutExpectedValue() {
|
|
32096
|
+
return !this.showExpectedValue ? 'mc-kpi__without-expected-value' : '';
|
|
32097
|
+
},
|
|
32098
|
+
classForTheme: function classForTheme() {
|
|
32099
|
+
return this.theme;
|
|
32100
|
+
}
|
|
32101
|
+
}
|
|
32102
|
+
});
|
|
32103
|
+
;// CONCATENATED MODULE: ./src/components/kpi/MKpi.vue?vue&type=script&lang=js&
|
|
32104
|
+
/* harmony default export */ var kpi_MKpivue_type_script_lang_js_ = (MKpivue_type_script_lang_js_);
|
|
32105
|
+
;// 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&
|
|
32106
|
+
// extracted by mini-css-extract-plugin
|
|
32107
|
+
|
|
32108
|
+
;// CONCATENATED MODULE: ./src/components/kpi/MKpi.vue?vue&type=style&index=0&id=f779b646&prod&lang=scss&
|
|
32109
|
+
|
|
32110
|
+
;// CONCATENATED MODULE: ./src/components/kpi/MKpi.vue
|
|
32111
|
+
|
|
32112
|
+
|
|
32113
|
+
|
|
32114
|
+
;
|
|
32115
|
+
|
|
32116
|
+
|
|
32117
|
+
/* normalize component */
|
|
32118
|
+
|
|
32119
|
+
var MKpi_component = normalizeComponent(
|
|
32120
|
+
kpi_MKpivue_type_script_lang_js_,
|
|
32121
|
+
MKpivue_type_template_id_f779b646_render,
|
|
32122
|
+
MKpivue_type_template_id_f779b646_staticRenderFns,
|
|
32123
|
+
false,
|
|
32124
|
+
null,
|
|
32125
|
+
null,
|
|
32126
|
+
null
|
|
32127
|
+
|
|
32128
|
+
)
|
|
32129
|
+
|
|
32130
|
+
/* harmony default export */ var MKpi = (MKpi_component.exports);
|
|
32131
|
+
;// CONCATENATED MODULE: ./src/components/kpi/index.js
|
|
32132
|
+
|
|
32133
|
+
|
|
32134
|
+
MKpi.install = function (Vue) {
|
|
32135
|
+
Vue.component(MKpi.name, MKpi);
|
|
32136
|
+
};
|
|
31927
32137
|
|
|
31928
32138
|
;// CONCATENATED MODULE: ./src/index.js
|
|
31929
32139
|
|
|
@@ -31988,6 +32198,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
31988
32198
|
|
|
31989
32199
|
|
|
31990
32200
|
|
|
32201
|
+
|
|
31991
32202
|
|
|
31992
32203
|
|
|
31993
32204
|
;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js
|