@weni/unnnic-system 1.11.0 → 1.11.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.
@@ -399,6 +399,34 @@ module.exports = function (fn, that, length) {
399
399
 
400
400
  module.exports = "<svg viewBox=\"0 0 40 40\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M5 12.5005C5 11.1198 6.11929 10.0005 7.5 10.0005H32.5C33.8807 10.0005 35 11.1198 35 12.5005V27.5005C35 28.8812 33.8807 30.0005 32.5 30.0005H7.5C6.11929 30.0005 5 28.8812 5 27.5005V12.5005Z\" fill=\"#CCEAFF\"></path><path d=\"M30 24.5936C30 26.3115 28.6076 27.7045 26.8892 27.7045H10V15.4078C10 13.6894 11.3924 12.2964 13.1111 12.2964H29.9999L29.9998 24.5935L30 24.5936Z\" fill=\"white\"></path><path d=\"M24.4941 20.2703C24.9765 20.2808 25.4616 20.249 25.9421 20.2868C26.4287 20.3776 26.546 21.1142 26.1137 21.3555C25.8187 21.5144 25.4683 21.4146 25.1486 21.4427H24.4941V20.2703V20.2703ZM26.221 18.9433C26.3282 19.3216 25.9635 19.6613 25.5992 19.6092H24.4941C24.5019 19.2524 24.4789 18.8652 24.5053 18.5273C24.948 18.5397 25.3948 18.5018 25.8349 18.5471C26.024 18.5946 26.1823 18.7501 26.221 18.9433V18.9433ZM28.8805 13.3333C28.9011 14.0557 28.8835 14.8164 28.8894 15.5535C28.888 18.5503 28.8923 21.547 28.8871 24.544C28.8677 25.6671 27.8723 26.6431 26.7569 26.6655C25.6405 26.67 24.5239 26.6662 23.4073 26.6674V22.1369C24.6239 22.1306 25.8411 22.1496 27.0572 22.1274C27.6213 22.0919 28.2392 21.7197 28.2655 21.0989C28.3319 20.4754 27.7441 20.0441 27.186 19.976C26.9714 19.9704 26.9777 19.9135 27.186 19.8886C27.7183 19.7736 28.1363 19.2226 27.9797 18.6709C27.8462 18.0906 27.2048 17.8659 26.6713 17.8671C25.5835 17.8597 24.4954 17.866 23.4076 17.8639C23.4146 17.0181 23.3929 16.1714 23.4192 15.3262C23.5054 14.2233 24.5258 13.3138 25.6255 13.3336C26.7107 13.3334 27.7956 13.3334 28.8805 13.3334V13.3333Z\" fill=\"url(#paint0_linear)\"></path><path d=\"M11.1141 15.4404C11.1419 14.319 12.1415 13.3511 13.2555 13.3347C14.3678 13.3313 15.4802 13.3342 16.5926 13.3332C16.5895 17.085 16.5986 20.8373 16.588 24.5889C16.5451 25.6966 15.5564 26.646 14.4546 26.6657C13.3402 26.6697 12.2257 26.6662 11.1112 26.6673V21.984C12.1937 22.2398 13.3289 22.3486 14.4332 22.179C15.0934 22.0728 15.8156 21.7486 16.0391 21.0638C16.2036 20.478 16.111 19.8614 16.1355 19.2602V17.8638H14.2243C14.2157 18.7873 14.2419 19.7124 14.2104 20.6348C14.1589 21.2018 13.5975 21.562 13.0628 21.5427C12.3996 21.5498 11.0855 21.0622 11.0855 21.0622C11.0822 19.3319 11.1048 17.165 11.1141 15.4405V15.4404Z\" fill=\"url(#paint1_linear)\"></path><path d=\"M17.3051 18.427C17.2045 18.4484 17.2848 18.0843 17.2591 17.9463C17.266 17.0732 17.2448 16.1991 17.2708 15.3267C17.3568 14.2191 18.385 13.3074 19.4891 13.3333H22.7407C22.7377 17.0851 22.7467 20.8373 22.7361 24.5889C22.6932 25.6966 21.7045 26.6461 20.6026 26.6657C19.4882 26.6699 18.3736 26.6664 17.2591 26.6674V21.5362C18.0203 22.1608 19.0548 22.258 20.0031 22.2597C20.718 22.2594 21.4287 22.1492 22.123 21.9843V21.0443C21.3406 21.4342 20.4208 21.6819 19.5535 21.4579C18.9485 21.3073 18.5093 20.7226 18.5191 20.0982C18.449 19.4489 18.8296 18.7634 19.4677 18.5704C20.2599 18.3224 21.1233 18.5121 21.8659 18.8345C22.025 18.9178 22.1865 19.0211 22.1229 18.7552V18.0163C20.8809 17.7208 19.5592 17.6121 18.3115 17.9335C17.9503 18.0354 17.5984 18.1899 17.3051 18.4271V18.427Z\" fill=\"url(#paint2_linear)\"></path><defs><linearGradient id=\"paint0_linear\" x1=\"23.3699\" y1=\"19.7153\" x2=\"28.8548\" y2=\"19.7153\" gradientUnits=\"userSpaceOnUse\"><stop stop-color=\"#007B40\"></stop><stop offset=\"1\" stop-color=\"#55B330\"></stop></linearGradient><linearGradient id=\"paint1_linear\" x1=\"10.9946\" y1=\"20.128\" x2=\"16.5027\" y2=\"20.128\" gradientUnits=\"userSpaceOnUse\"><stop stop-color=\"#1D2970\"></stop><stop offset=\"1\" stop-color=\"#006DBA\"></stop></linearGradient><linearGradient id=\"paint2_linear\" x1=\"17.251\" y1=\"19.8444\" x2=\"22.7397\" y2=\"19.8444\" gradientUnits=\"userSpaceOnUse\"><stop stop-color=\"#6E2B2F\"></stop><stop offset=\"1\" stop-color=\"#E30138\"></stop></linearGradient></defs></svg>"
401
401
 
402
+ /***/ }),
403
+
404
+ /***/ "0481":
405
+ /***/ (function(module, exports, __webpack_require__) {
406
+
407
+ "use strict";
408
+
409
+ var $ = __webpack_require__("23e7");
410
+ var flattenIntoArray = __webpack_require__("a2bf");
411
+ var toObject = __webpack_require__("7b0b");
412
+ var toLength = __webpack_require__("50c4");
413
+ var toInteger = __webpack_require__("a691");
414
+ var arraySpeciesCreate = __webpack_require__("65f0");
415
+
416
+ // `Array.prototype.flat` method
417
+ // https://github.com/tc39/proposal-flatMap
418
+ $({ target: 'Array', proto: true }, {
419
+ flat: function flat(/* depthArg = 1 */) {
420
+ var depthArg = arguments.length ? arguments[0] : undefined;
421
+ var O = toObject(this);
422
+ var sourceLen = toLength(O.length);
423
+ var A = arraySpeciesCreate(O, 0);
424
+ A.length = flattenIntoArray(A, O, O, sourceLen, 0, depthArg === undefined ? 1 : toInteger(depthArg));
425
+ return A;
426
+ }
427
+ });
428
+
429
+
402
430
  /***/ }),
403
431
 
404
432
  /***/ "04b6":
@@ -910,6 +938,23 @@ module.exports = {"unnnicColorBackgroundSolo":"#E8F4F4"};
910
938
  })));
911
939
 
912
940
 
941
+ /***/ }),
942
+
943
+ /***/ "07ac":
944
+ /***/ (function(module, exports, __webpack_require__) {
945
+
946
+ var $ = __webpack_require__("23e7");
947
+ var $values = __webpack_require__("6f53").values;
948
+
949
+ // `Object.values` method
950
+ // https://tc39.github.io/ecma262/#sec-object.values
951
+ $({ target: 'Object', stat: true }, {
952
+ values: function values(O) {
953
+ return $values(O);
954
+ }
955
+ });
956
+
957
+
913
958
  /***/ }),
914
959
 
915
960
  /***/ "08a0":
@@ -7490,6 +7535,18 @@ module.exports = {};
7490
7535
  /* unused harmony reexport * */
7491
7536
 
7492
7537
 
7538
+ /***/ }),
7539
+
7540
+ /***/ "4069":
7541
+ /***/ (function(module, exports, __webpack_require__) {
7542
+
7543
+ // this method was added to unscopables after implementation
7544
+ // in popular engines, so it's moved to a separate module
7545
+ var addToUnscopables = __webpack_require__("44d2");
7546
+
7547
+ addToUnscopables('flat');
7548
+
7549
+
7493
7550
  /***/ }),
7494
7551
 
7495
7552
  /***/ "408a":
@@ -7531,6 +7588,13 @@ $({ target: 'Array', proto: true, forced: [].forEach != forEach }, {
7531
7588
  });
7532
7589
 
7533
7590
 
7591
+ /***/ }),
7592
+
7593
+ /***/ "41a3":
7594
+ /***/ (function(module, exports, __webpack_require__) {
7595
+
7596
+ // extracted by mini-css-extract-plugin
7597
+
7534
7598
  /***/ }),
7535
7599
 
7536
7600
  /***/ "41b2":
@@ -18966,6 +19030,46 @@ $({ target: 'String', proto: true, forced: WORKS_WITH_NON_GLOBAL_REGEX }, {
18966
19030
  IS_PURE || MATCH_ALL in RegExpPrototype || createNonEnumerableProperty(RegExpPrototype, MATCH_ALL, $matchAll);
18967
19031
 
18968
19032
 
19033
+ /***/ }),
19034
+
19035
+ /***/ "a2bf":
19036
+ /***/ (function(module, exports, __webpack_require__) {
19037
+
19038
+ "use strict";
19039
+
19040
+ var isArray = __webpack_require__("e8b5");
19041
+ var toLength = __webpack_require__("50c4");
19042
+ var bind = __webpack_require__("0366");
19043
+
19044
+ // `FlattenIntoArray` abstract operation
19045
+ // https://tc39.github.io/proposal-flatMap/#sec-FlattenIntoArray
19046
+ var flattenIntoArray = function (target, original, source, sourceLen, start, depth, mapper, thisArg) {
19047
+ var targetIndex = start;
19048
+ var sourceIndex = 0;
19049
+ var mapFn = mapper ? bind(mapper, thisArg, 3) : false;
19050
+ var element;
19051
+
19052
+ while (sourceIndex < sourceLen) {
19053
+ if (sourceIndex in source) {
19054
+ element = mapFn ? mapFn(source[sourceIndex], sourceIndex, original) : source[sourceIndex];
19055
+
19056
+ if (depth > 0 && isArray(element)) {
19057
+ targetIndex = flattenIntoArray(target, original, element, toLength(element.length), targetIndex, depth - 1) - 1;
19058
+ } else {
19059
+ if (targetIndex >= 0x1FFFFFFFFFFFFF) throw TypeError('Exceed the acceptable array length');
19060
+ target[targetIndex] = element;
19061
+ }
19062
+
19063
+ targetIndex++;
19064
+ }
19065
+ sourceIndex++;
19066
+ }
19067
+ return targetIndex;
19068
+ };
19069
+
19070
+ module.exports = flattenIntoArray;
19071
+
19072
+
18969
19073
  /***/ }),
18970
19074
 
18971
19075
  /***/ "a356":
@@ -21751,6 +21855,17 @@ module.exports = {
21751
21855
  })));
21752
21856
 
21753
21857
 
21858
+ /***/ }),
21859
+
21860
+ /***/ "baba":
21861
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
21862
+
21863
+ "use strict";
21864
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ChartLine_vue_vue_type_style_index_0_id_2a92f484_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("41a3");
21865
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ChartLine_vue_vue_type_style_index_0_id_2a92f484_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ChartLine_vue_vue_type_style_index_0_id_2a92f484_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
21866
+ /* unused harmony reexport * */
21867
+
21868
+
21754
21869
  /***/ }),
21755
21870
 
21756
21871
  /***/ "bb2f":
@@ -27760,6 +27875,17 @@ module.exports = "<svg viewBox=\"0 0 40 40\" fill=\"none\" xmlns=\"http://www.w3
27760
27875
  module.exports = false;
27761
27876
 
27762
27877
 
27878
+ /***/ }),
27879
+
27880
+ /***/ "c4a0":
27881
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
27882
+
27883
+ "use strict";
27884
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ChartBar_vue_vue_type_style_index_0_id_337fc6dc_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("eb08");
27885
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ChartBar_vue_vue_type_style_index_0_id_337fc6dc_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ChartBar_vue_vue_type_style_index_0_id_337fc6dc_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
27886
+ /* unused harmony reexport * */
27887
+
27888
+
27763
27889
  /***/ }),
27764
27890
 
27765
27891
  /***/ "c4eb":
@@ -31404,6 +31530,13 @@ module.exports = "<svg viewBox=\"0 0 40 40\" fill=\"none\" xmlns=\"http://www.w3
31404
31530
 
31405
31531
  /***/ }),
31406
31532
 
31533
+ /***/ "eb08":
31534
+ /***/ (function(module, exports, __webpack_require__) {
31535
+
31536
+ // extracted by mini-css-extract-plugin
31537
+
31538
+ /***/ }),
31539
+
31407
31540
  /***/ "ebe4":
31408
31541
  /***/ (function(module, exports, __webpack_require__) {
31409
31542
 
@@ -32580,6 +32713,8 @@ __webpack_require__.d(__webpack_exports__, "unnnicChatText", function() { return
32580
32713
  __webpack_require__.d(__webpack_exports__, "unnnicTextArea", function() { return /* reexport */ unnnicTextArea; });
32581
32714
  __webpack_require__.d(__webpack_exports__, "unnnicCardNumber", function() { return /* reexport */ unnnicCardNumber; });
32582
32715
  __webpack_require__.d(__webpack_exports__, "unnnicChartRainbow", function() { return /* reexport */ unnnicChartRainbow; });
32716
+ __webpack_require__.d(__webpack_exports__, "unnnicChartBar", function() { return /* reexport */ unnnicChartBar; });
32717
+ __webpack_require__.d(__webpack_exports__, "unnnicChartLine", function() { return /* reexport */ unnnicChartLine; });
32583
32718
  __webpack_require__.d(__webpack_exports__, "unnnicTextEditor", function() { return /* reexport */ unnnicTextEditor; });
32584
32719
  __webpack_require__.d(__webpack_exports__, "unnnicMoodRating", function() { return /* reexport */ unnnicMoodRating; });
32585
32720
  __webpack_require__.d(__webpack_exports__, "unnnicStarRating", function() { return /* reexport */ unnnicStarRating; });
@@ -43463,6 +43598,403 @@ var ChartRainbow_component = normalizeComponent(
43463
43598
  )
43464
43599
 
43465
43600
  /* harmony default export */ var ChartRainbow = (ChartRainbow_component.exports);
43601
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1cea8ebe-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/ChartBar/ChartBar.vue?vue&type=template&id=337fc6dc&scoped=true&
43602
+ var ChartBarvue_type_template_id_337fc6dc_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:['unnnic-chart-bar', { condensed: _vm.condensed }]},[(_vm.title || _vm.description || _vm.$listeners.update || _vm.$listeners.previous || _vm.$listeners.next)?_c('div',{staticClass:"header"},[(_vm.title || _vm.description)?_c('div',{staticClass:"content"},[(_vm.title)?_c('div',{staticClass:"title unnnic-font bold title-sm color-neutral-darkest",on:{"click":function($event){return _vm.$emit('update')}}},[_vm._v(" "+_vm._s(_vm.title)+" ")]):_vm._e(),(_vm.description)?_c('div',{staticClass:"description unnnic-font secondary body-gt color-neutral-cloudy"},[_vm._v(" "+_vm._s(_vm.description)+" ")]):_vm._e()]):_vm._e(),(_vm.$listeners.update || _vm.$listeners.previous || _vm.$listeners.next)?_c('div',{staticClass:"actions"},[(_vm.$listeners.update)?_c('div',{staticClass:"update-button",on:{"click":function($event){return _vm.$emit('update')}}},[_c('unnnic-icon',{attrs:{"icon":"button-refresh-arrow-1","size":"sm","scheme":"neutral-darkest"}}),(_vm.updateText)?_c('span',{staticClass:"unnnic-font secondary body-md color-neutral-dark"},[_vm._v(" "+_vm._s(_vm.updateText)+" ")]):_vm._e()],1):_vm._e(),(_vm.$listeners.previous || _vm.$listeners.next)?_c('div',{staticClass:"navigation-container"},[(_vm.$listeners.previous)?_c('unnnic-button',{attrs:{"size":"small","type":"terciary","icon-center":"arrow-left-1-1","disabled":_vm.previousDisabled},on:{"click":function($event){return _vm.$emit('previous')}}}):_vm._e(),(_vm.$listeners.next)?_c('unnnic-button',{attrs:{"size":"small","type":"terciary","icon-center":"arrow-right-1-1","disabled":_vm.nextDisabled},on:{"click":function($event){return _vm.$emit('next')}}}):_vm._e()],1):_vm._e()]):_vm._e()]):_vm._e(),_c('div',{staticClass:"main"},[_c('div',{staticClass:"reference"},[_c('div',{staticClass:"values"},_vm._l(([_vm.value(_vm.maxValue), _vm.value(_vm.maxValue / 2), _vm.value(0)]),function(value,index){return _c('div',{key:index,staticClass:"value unnnic-font secondary body-md color-neutral-cleanest"},[_vm._v(" "+_vm._s(value)+" ")])}),0),_c('div',{staticClass:"unnnic-font secondary body-md color-neutral-cleanest"})]),_c('div',{staticClass:"groups"},_vm._l((_vm.groups),function(group,index){return _c('div',{key:index,staticClass:"group"},[_c('div',{staticClass:"bars"},_vm._l((_vm.legends
43603
+ .map(function (legend, index) { return ({ legend: legend, index: index }); })
43604
+ .filter(function (ref) {
43605
+ var legend = ref.legend;
43606
+
43607
+ return group.values[legend];
43608
+ })),function(ref){
43609
+ var legend = ref.legend;
43610
+ var index = ref.index;
43611
+ return _c('unnnic-tool-tip',{key:index,style:({ height: (((group.values[legend] / _vm.maxValue) * 100) + "%") }),attrs:{"enabled":"","text":((group.title) + ": " + (group.values[legend]) + "\n" + legend),"side":"top"}},[_c('div',{class:['bar', ("color-" + index)]})])}),1),_c('div',{staticClass:"title unnnic-font secondary body-md color-neutral-cleanest"},[_vm._v(" "+_vm._s(group.title)+" ")])])}),0)]),(_vm.showFooterLegend)?_c('div',{staticClass:"footer"},_vm._l((_vm.legends),function(legend,index){return _c('div',{key:index,staticClass:"legend"},[_c('unnnic-icon',{attrs:{"icon":"indicator","scheme":_vm.colors[index]}}),_c('div',{staticClass:"unnnic-font secondary body-gt color-neutral-cloudy"},[_vm._v(_vm._s(legend))])],1)}),0):_vm._e()])}
43612
+ var ChartBarvue_type_template_id_337fc6dc_scoped_true_staticRenderFns = []
43613
+
43614
+
43615
+ // CONCATENATED MODULE: ./src/components/ChartBar/ChartBar.vue?vue&type=template&id=337fc6dc&scoped=true&
43616
+
43617
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.flat.js
43618
+ var es_array_flat = __webpack_require__("0481");
43619
+
43620
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.unscopables.flat.js
43621
+ var es_array_unscopables_flat = __webpack_require__("4069");
43622
+
43623
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.values.js
43624
+ var es_object_values = __webpack_require__("07ac");
43625
+
43626
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/ChartBar/ChartBar.vue?vue&type=script&lang=js&
43627
+
43628
+
43629
+
43630
+
43631
+
43632
+
43633
+
43634
+
43635
+
43636
+
43637
+
43638
+
43639
+
43640
+ //
43641
+ //
43642
+ //
43643
+ //
43644
+ //
43645
+ //
43646
+ //
43647
+ //
43648
+ //
43649
+ //
43650
+ //
43651
+ //
43652
+ //
43653
+ //
43654
+ //
43655
+ //
43656
+ //
43657
+ //
43658
+ //
43659
+ //
43660
+ //
43661
+ //
43662
+ //
43663
+ //
43664
+ //
43665
+ //
43666
+ //
43667
+ //
43668
+ //
43669
+ //
43670
+ //
43671
+ //
43672
+ //
43673
+ //
43674
+ //
43675
+ //
43676
+ //
43677
+ //
43678
+ //
43679
+ //
43680
+ //
43681
+ //
43682
+ //
43683
+ //
43684
+ //
43685
+ //
43686
+ //
43687
+ //
43688
+ //
43689
+ //
43690
+ //
43691
+ //
43692
+ //
43693
+ //
43694
+ //
43695
+ //
43696
+ //
43697
+ //
43698
+ //
43699
+ //
43700
+ //
43701
+ //
43702
+ //
43703
+ //
43704
+ //
43705
+ //
43706
+ //
43707
+ //
43708
+ //
43709
+ //
43710
+ //
43711
+ //
43712
+ //
43713
+ //
43714
+ //
43715
+ //
43716
+ //
43717
+ //
43718
+ //
43719
+ //
43720
+ //
43721
+ //
43722
+ //
43723
+ //
43724
+ //
43725
+ //
43726
+ //
43727
+ //
43728
+ //
43729
+ //
43730
+ //
43731
+ //
43732
+ //
43733
+ //
43734
+ //
43735
+ //
43736
+ //
43737
+ //
43738
+ //
43739
+ //
43740
+ //
43741
+ //
43742
+ //
43743
+ //
43744
+ //
43745
+ //
43746
+ //
43747
+ //
43748
+
43749
+
43750
+
43751
+ /* harmony default export */ var ChartBarvue_type_script_lang_js_ = ({
43752
+ components: {
43753
+ UnnnicIcon: Icon,
43754
+ UnnnicButton: Button,
43755
+ UnnnicToolTip: ToolTip
43756
+ },
43757
+ props: {
43758
+ condensed: Boolean,
43759
+ groups: Array,
43760
+ fixedMaxValue: Number,
43761
+ title: String,
43762
+ description: String,
43763
+ updateText: String,
43764
+ previousDisabled: Boolean,
43765
+ nextDisabled: Boolean,
43766
+ showFooterLegend: Boolean
43767
+ },
43768
+ data: function data() {
43769
+ return {
43770
+ colors: ['aux-blue', 'aux-purple', 'aux-orange', 'aux-lemon', 'aux-pink', 'aux-baby-blue', 'aux-baby-yellow', 'aux-baby-red', 'aux-baby-green', 'aux-baby-pink']
43771
+ };
43772
+ },
43773
+ computed: {
43774
+ legends: function legends() {
43775
+ return this.groups.map(function (_ref) {
43776
+ var values = _ref.values;
43777
+ return Object.keys(values);
43778
+ }).flat().filter(function (value, index, self) {
43779
+ return self.indexOf(value) === index;
43780
+ });
43781
+ },
43782
+ maxValue: function maxValue() {
43783
+ return this.fixedMaxValue || Math.max.apply(Math, _toConsumableArray(this.groups.map(function (_ref2) {
43784
+ var values = _ref2.values;
43785
+ return Object.values(values);
43786
+ }).flat()));
43787
+ }
43788
+ },
43789
+ methods: {
43790
+ value: function value(_value) {
43791
+ if (this.maxValue <= 1) {
43792
+ return _value.toFixed(1);
43793
+ }
43794
+
43795
+ return String(Math.ceil(_value));
43796
+ }
43797
+ }
43798
+ });
43799
+ // CONCATENATED MODULE: ./src/components/ChartBar/ChartBar.vue?vue&type=script&lang=js&
43800
+ /* harmony default export */ var ChartBar_ChartBarvue_type_script_lang_js_ = (ChartBarvue_type_script_lang_js_);
43801
+ // EXTERNAL MODULE: ./src/components/ChartBar/ChartBar.vue?vue&type=style&index=0&id=337fc6dc&lang=scss&scoped=true&
43802
+ var ChartBarvue_type_style_index_0_id_337fc6dc_lang_scss_scoped_true_ = __webpack_require__("c4a0");
43803
+
43804
+ // CONCATENATED MODULE: ./src/components/ChartBar/ChartBar.vue
43805
+
43806
+
43807
+
43808
+
43809
+
43810
+
43811
+ /* normalize component */
43812
+
43813
+ var ChartBar_component = normalizeComponent(
43814
+ ChartBar_ChartBarvue_type_script_lang_js_,
43815
+ ChartBarvue_type_template_id_337fc6dc_scoped_true_render,
43816
+ ChartBarvue_type_template_id_337fc6dc_scoped_true_staticRenderFns,
43817
+ false,
43818
+ null,
43819
+ "337fc6dc",
43820
+ null
43821
+
43822
+ )
43823
+
43824
+ /* harmony default export */ var ChartBar = (ChartBar_component.exports);
43825
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1cea8ebe-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/ChartLine/ChartLine.vue?vue&type=template&id=2a92f484&scoped=true&
43826
+ var ChartLinevue_type_template_id_2a92f484_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:['unnnic-chart-line', { condensed: _vm.condensed }]},[(_vm.title)?_c('div',{staticClass:"header"},[_c('div',{staticClass:"title unnnic-font secondary body-lg color-neutral-dark"},[_vm._v(_vm._s(_vm.title))])]):_vm._e(),_c('div',{staticClass:"main"},[_c('div',{staticClass:"reference"},[_c('div',{staticClass:"values"},_vm._l(([_vm.value(_vm.maxValue), _vm.value(_vm.maxValue / 2), _vm.value(0)]),function(value,index){return _c('div',{key:index,staticClass:"value unnnic-font secondary body-md color-neutral-cleanest"},[_vm._v(" "+_vm._s(value)+" ")])}),0),_c('div',{staticClass:"unnnic-font secondary body-md color-neutral-cleanest"})]),_c('div',{staticClass:"groups"},[_c('div',{ref:"chart",staticClass:"chart",style:({ backgroundImage: _vm.svgChart })},_vm._l((_vm.data),function(ref,index){
43827
+ var value = ref.value;
43828
+ return _c('div',{key:index,staticClass:"group"},[_c('unnnic-tool-tip',{style:({ height: (((value / _vm.maxValue) * 100) + "%"), width: '100%' }),attrs:{"enabled":"","text":String(value),"side":"top"}},[_c('div',{staticClass:"bar"})])],1)}),0),_c('div',{staticClass:"titles"},_vm._l((_vm.data),function(ref,index){
43829
+ var title = ref.title;
43830
+ return _c('div',{key:index,staticClass:"title unnnic-font secondary body-md color-neutral-cleanest"},[_vm._v(" "+_vm._s(title)+" ")])}),0)])])])}
43831
+ var ChartLinevue_type_template_id_2a92f484_scoped_true_staticRenderFns = []
43832
+
43833
+
43834
+ // CONCATENATED MODULE: ./src/components/ChartLine/ChartLine.vue?vue&type=template&id=2a92f484&scoped=true&
43835
+
43836
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/ChartLine/ChartLine.vue?vue&type=script&lang=js&
43837
+
43838
+
43839
+
43840
+
43841
+
43842
+
43843
+
43844
+ //
43845
+ //
43846
+ //
43847
+ //
43848
+ //
43849
+ //
43850
+ //
43851
+ //
43852
+ //
43853
+ //
43854
+ //
43855
+ //
43856
+ //
43857
+ //
43858
+ //
43859
+ //
43860
+ //
43861
+ //
43862
+ //
43863
+ //
43864
+ //
43865
+ //
43866
+ //
43867
+ //
43868
+ //
43869
+ //
43870
+ //
43871
+ //
43872
+ //
43873
+ //
43874
+ //
43875
+ //
43876
+ //
43877
+ //
43878
+ //
43879
+ //
43880
+ //
43881
+ //
43882
+ //
43883
+ //
43884
+ //
43885
+ //
43886
+ //
43887
+ //
43888
+ //
43889
+ //
43890
+ //
43891
+ //
43892
+ //
43893
+
43894
+ /* harmony default export */ var ChartLinevue_type_script_lang_js_ = ({
43895
+ components: {
43896
+ UnnnicToolTip: ToolTip
43897
+ },
43898
+ props: {
43899
+ condensed: Boolean,
43900
+ fixedMaxValue: Number,
43901
+ data: Array,
43902
+ title: String
43903
+ },
43904
+ data: function data() {
43905
+ return {
43906
+ chartContainerWidthInterval: null,
43907
+ chartContainerWidth: 0
43908
+ };
43909
+ },
43910
+ mounted: function mounted() {
43911
+ var _this = this;
43912
+
43913
+ this.chartContainerWidth = this.$refs.chart.offsetWidth;
43914
+ this.chartContainerWidthInterval = setInterval(function () {
43915
+ _this.chartContainerWidth = _this.$refs.chart.offsetWidth;
43916
+ }, 100);
43917
+ },
43918
+ beforeDestroy: function beforeDestroy() {
43919
+ if (this.chartContainerWidthInterval) {
43920
+ clearInterval(this.chartContainerWidthInterval);
43921
+ }
43922
+ },
43923
+ computed: {
43924
+ maxValue: function maxValue() {
43925
+ return this.fixedMaxValue || Math.max.apply(Math, _toConsumableArray(this.data.map(function (_ref) {
43926
+ var value = _ref.value;
43927
+ return value;
43928
+ }).flat()));
43929
+ },
43930
+ svgChart: function svgChart() {
43931
+ var _this2 = this;
43932
+
43933
+ var bars = this.data.map(function (_ref2) {
43934
+ var value = _ref2.value;
43935
+ return 50 - 122 / 200 - (value / _this2.maxValue * (50 - 122 / 100) + Math.random() * 0.01);
43936
+ });
43937
+ var barWidth = 100 / bars.length;
43938
+ var halfBar = barWidth / 2;
43939
+ var path = '';
43940
+ path += "L ".concat(barWidth / 2, " ").concat(bars[0]);
43941
+ var x = 0;
43942
+
43943
+ for (var i = 1; i < bars.length; i += 1) {
43944
+ if (i === 1) {
43945
+ x = barWidth * 1.5;
43946
+ } else {
43947
+ x += barWidth;
43948
+ }
43949
+
43950
+ path += "C ".concat(x - halfBar, " ").concat(bars[i - 1], " ").concat(x - halfBar, " ").concat(bars[i], " ").concat(x, " ").concat(bars[i]);
43951
+ }
43952
+
43953
+ if (bars.length <= 1) {
43954
+ x += barWidth / 2;
43955
+ }
43956
+
43957
+ path += "L ".concat(x + halfBar, " ").concat(bars[bars.length - 1]);
43958
+ var svg = "\n <svg xmlns='http://www.w3.org/2000/svg' viewBox=\"0 0 100 50\" width=\"100%\" height=\"100%\">\n <defs>\n <linearGradient id=\"linear\" x1=\"0%\" y1=\"0%\" x2=\"100%\" y2=\"0%\">\n <stop offset=\"0%\" stop-color=\"#DE16BA\" stop-opacity=\"1\" />\n <stop offset=\"50%\" stop-color=\"#DE16BA\" stop-opacity=\"0.4\" />\n <stop offset=\"100%\" stop-color=\"#2856FC\" stop-opacity=\"1.0\" />\n </linearGradient>\n\n <linearGradient id=\"linear1\" x1=\"0%\" y1=\"0%\" x2=\"100%\" y2=\"0%\">\n <stop offset=\"0%\" stop-color=\"#DE16BA\" stop-opacity=\"0.16\" />\n <stop offset=\"50%\" stop-color=\"#2856FC\" stop-opacity=\"0.16\" />\n </linearGradient>\n </defs>\n\n <g style=\"transform: scaleX(".concat(this.chartContainerWidth / (122 / 50 * 100), "); transform-origin: center;\">\n <path fill=\"url(#linear1)\" d=\"M0 50 L0 ").concat(String(bars[0]) + path, " L100 50Z\" />\n <path fill=\"none\" stroke-width=\"2\" stroke-linecap=\"round\" vector-effect=\"non-scaling-stroke\" stroke=\"url(#linear)\" d=\"M0 ").concat(String(bars[0]) + path, "\" />\n </g>\n </svg>\n ");
43959
+ return "url(\"data:image/svg+xml,".concat(encodeURIComponent(svg), "\")");
43960
+ }
43961
+ },
43962
+ methods: {
43963
+ value: function value(_value) {
43964
+ if (this.maxValue <= 1) {
43965
+ return _value.toFixed(1);
43966
+ }
43967
+
43968
+ return String(Math.ceil(_value));
43969
+ }
43970
+ }
43971
+ });
43972
+ // CONCATENATED MODULE: ./src/components/ChartLine/ChartLine.vue?vue&type=script&lang=js&
43973
+ /* harmony default export */ var ChartLine_ChartLinevue_type_script_lang_js_ = (ChartLinevue_type_script_lang_js_);
43974
+ // EXTERNAL MODULE: ./src/components/ChartLine/ChartLine.vue?vue&type=style&index=0&id=2a92f484&lang=scss&scoped=true&
43975
+ var ChartLinevue_type_style_index_0_id_2a92f484_lang_scss_scoped_true_ = __webpack_require__("baba");
43976
+
43977
+ // CONCATENATED MODULE: ./src/components/ChartLine/ChartLine.vue
43978
+
43979
+
43980
+
43981
+
43982
+
43983
+
43984
+ /* normalize component */
43985
+
43986
+ var ChartLine_component = normalizeComponent(
43987
+ ChartLine_ChartLinevue_type_script_lang_js_,
43988
+ ChartLinevue_type_template_id_2a92f484_scoped_true_render,
43989
+ ChartLinevue_type_template_id_2a92f484_scoped_true_staticRenderFns,
43990
+ false,
43991
+ null,
43992
+ "2a92f484",
43993
+ null
43994
+
43995
+ )
43996
+
43997
+ /* harmony default export */ var ChartLine = (ChartLine_component.exports);
43466
43998
  // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1cea8ebe-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/TextEditor/TextEditor.vue?vue&type=template&id=6900edcc&scoped=true&
43467
43999
  var TextEditorvue_type_template_id_6900edcc_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:['unnnic-text-editor', _vm.loadingValue !== undefined && 'status-loading']},[(_vm.loadingValue !== undefined)?_c('div',{staticClass:"loading"},[_c('div',{staticClass:"indicator",style:({ width: ((_vm.loadingValue * 100) + "%") })})]):_vm._e(),_c('div',{staticClass:"text-editor",on:{"click":function($event){return _vm.$refs.oDoc.focus()}}},[_c('textarea',{ref:"oDoc",staticClass:"inside",domProps:{"value":_vm.value},on:{"input":function($event){return _vm.$emit('input', $event.srcElement.value)},"keydown":function($event){return _vm.$emit('keydown', $event)},"focus":function($event){_vm.isFocused = true},"blur":function($event){_vm.isFocused = false}}}),(_vm.$slots['footer-input'])?_c('div',{staticClass:"footer-input",on:{"click":function($event){$event.stopPropagation();}}},[_vm._t("footer-input")],2):_vm._e()]),_c('div',{staticClass:"actions"},[_c('unnnic-tool-tip',{attrs:{"side":"left","text":_vm.text('action'),"enabled":""}},[_c('unnnic-button-icon',{attrs:{"type":"secondary","size":"small","icon":"flash-1-4"},on:{"click":function($event){return _vm.$emit('action')}}})],1),_c('unnnic-button-icon',{attrs:{"type":"secondary","size":"small","icon":"send-email-3-1"},on:{"click":function($event){return _vm.$emit('send')}}})],1),_c('div',{staticClass:"format"},[_c('unnnic-tool-tip',{attrs:{"side":"top","text":_vm.text('Undo'),"enabled":""}},[_c('unnnic-icon',{attrs:{"icon":"arrow-undo","size":"ant","clickable":"","scheme":"neutral-cloudy"},on:{"click":function($event){return _vm.formatDoc('undo')}}})],1),_c('unnnic-tool-tip',{attrs:{"side":"top","text":_vm.text('Redo'),"enabled":""}},[_c('unnnic-icon',{attrs:{"icon":"arrow-redo","size":"ant","clickable":"","scheme":"neutral-cloudy"},on:{"click":function($event){return _vm.formatDoc('redo')}}})],1),_c('unnnic-tool-tip',{attrs:{"side":"top","text":_vm.text('RecordAudio'),"enabled":""}},[_c('unnnic-icon',{attrs:{"icon":"microphone","size":"ant","clickable":"","scheme":"neutral-cloudy"},on:{"mousedown":function($event){return _vm.$emit('record-audio-down')},"mouseup":function($event){return _vm.$emit('record-audio-up')},"click":function($event){return _vm.$emit('record-audio')}}})],1),_c('unnnic-tool-tip',{attrs:{"side":"top","text":_vm.text('Attach'),"enabled":!_vm.attachmentOptionsOpen}},[_c('unnnic-dropdown',{staticClass:"attachment-options-dropdown",attrs:{"open":_vm.attachmentOptionsOpen,"position":"none"},on:{"update:open":function($event){_vm.attachmentOptionsOpen=$event}}},[_c('unnnic-icon',{attrs:{"slot":"trigger","icon":"attachment","size":"ant","clickable":"","scheme":"neutral-cloudy"},slot:"trigger"}),_c('div',{staticClass:"attachment-options-container"},[_vm._t("attachment-options")],2)],1)],1)],1)])}
43468
44000
  var TextEditorvue_type_template_id_6900edcc_scoped_true_staticRenderFns = []
@@ -45453,6 +45985,8 @@ var ProgressBar_component = normalizeComponent(
45453
45985
 
45454
45986
 
45455
45987
 
45988
+
45989
+
45456
45990
 
45457
45991
 
45458
45992
 
@@ -45511,6 +46045,8 @@ var components = {
45511
46045
  unnnicTextArea: TextArea,
45512
46046
  unnnicCardNumber: CardNumber,
45513
46047
  unnnicChartRainbow: ChartRainbow,
46048
+ unnnicChartBar: ChartBar,
46049
+ unnnicChartLine: ChartLine,
45514
46050
  unnnicTextEditor: TextEditor,
45515
46051
  unnnicMoodRating: MoodRating,
45516
46052
  unnnicStarRating: StarRating,
@@ -45577,6 +46113,8 @@ var unnnicChatText = ChatText;
45577
46113
  var unnnicTextArea = TextArea;
45578
46114
  var unnnicCardNumber = CardNumber;
45579
46115
  var unnnicChartRainbow = ChartRainbow;
46116
+ var unnnicChartBar = ChartBar;
46117
+ var unnnicChartLine = ChartLine;
45580
46118
  var unnnicTextEditor = TextEditor;
45581
46119
  var unnnicMoodRating = MoodRating;
45582
46120
  var unnnicStarRating = StarRating;