@weni/unnnic-system 1.16.47 → 1.16.50
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/unnnic.common.js +1233 -1
- package/dist/unnnic.common.js.map +1 -1
- package/dist/unnnic.css +1 -1
- package/dist/unnnic.umd.js +1233 -1
- package/dist/unnnic.umd.js.map +1 -1
- package/dist/unnnic.umd.min.js +19 -19
- package/dist/unnnic.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/ChatsUserAvatar/ChatsUserAvatar.vue +1 -1
- package/src/components/index.js +18 -0
package/dist/unnnic.common.js
CHANGED
|
@@ -197,6 +197,14 @@ module.exports = String(test) === '[object z]';
|
|
|
197
197
|
})));
|
|
198
198
|
|
|
199
199
|
|
|
200
|
+
/***/ }),
|
|
201
|
+
|
|
202
|
+
/***/ "01b9":
|
|
203
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
204
|
+
|
|
205
|
+
// extracted by mini-css-extract-plugin
|
|
206
|
+
module.exports = {"unnnicColorBackgroundSolo":"#E8F4F4"};
|
|
207
|
+
|
|
200
208
|
/***/ }),
|
|
201
209
|
|
|
202
210
|
/***/ "025c":
|
|
@@ -3339,6 +3347,17 @@ module.exports = "<svg viewBox=\"0 0 40 40\" fill=\"none\" xmlns=\"http://www.w3
|
|
|
3339
3347
|
|
|
3340
3348
|
// extracted by mini-css-extract-plugin
|
|
3341
3349
|
|
|
3350
|
+
/***/ }),
|
|
3351
|
+
|
|
3352
|
+
/***/ "21ce":
|
|
3353
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
3354
|
+
|
|
3355
|
+
"use strict";
|
|
3356
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ChatsContact_vue_vue_type_style_index_0_id_bb1d6452_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("58d5");
|
|
3357
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ChatsContact_vue_vue_type_style_index_0_id_bb1d6452_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ChatsContact_vue_vue_type_style_index_0_id_bb1d6452_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
3358
|
+
/* unused harmony reexport * */
|
|
3359
|
+
|
|
3360
|
+
|
|
3342
3361
|
/***/ }),
|
|
3343
3362
|
|
|
3344
3363
|
/***/ "2281":
|
|
@@ -4095,6 +4114,13 @@ module.exports = "<svg viewBox=\"0 0 40 40\" fill=\"none\" xmlns=\"http://www.w3
|
|
|
4095
4114
|
|
|
4096
4115
|
/***/ }),
|
|
4097
4116
|
|
|
4117
|
+
/***/ "2900":
|
|
4118
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4119
|
+
|
|
4120
|
+
// extracted by mini-css-extract-plugin
|
|
4121
|
+
|
|
4122
|
+
/***/ }),
|
|
4123
|
+
|
|
4098
4124
|
/***/ "2921":
|
|
4099
4125
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4100
4126
|
|
|
@@ -22138,6 +22164,14 @@ module.exports = "<svg viewBox=\"0 0 40 40\" fill=\"none\" xmlns=\"http://www.w3
|
|
|
22138
22164
|
|
|
22139
22165
|
/***/ }),
|
|
22140
22166
|
|
|
22167
|
+
/***/ "38e4":
|
|
22168
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
22169
|
+
|
|
22170
|
+
// extracted by mini-css-extract-plugin
|
|
22171
|
+
module.exports = {"unnnicColorBackgroundSolo":"#E8F4F4"};
|
|
22172
|
+
|
|
22173
|
+
/***/ }),
|
|
22174
|
+
|
|
22141
22175
|
/***/ "3978":
|
|
22142
22176
|
/***/ (function(module, exports, __webpack_require__) {
|
|
22143
22177
|
|
|
@@ -25734,6 +25768,17 @@ module.exports = function (input, pref) {
|
|
|
25734
25768
|
|
|
25735
25769
|
module.exports = "<svg viewBox=\"0 0 40 40\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M5.9375 21.2505C5.42 21.2505 5 20.6905 5 20.0005C5 19.3105 5.42 18.7505 5.9375 18.7505H34.0625C34.58 18.7505 35 19.3105 35 20.0005C35 20.6905 34.58 21.2505 34.0625 21.2505H5.9375Z\" fill=\"#3B414D\" class=\"primary\"></path></svg>"
|
|
25736
25770
|
|
|
25771
|
+
/***/ }),
|
|
25772
|
+
|
|
25773
|
+
/***/ "4a63":
|
|
25774
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
25775
|
+
|
|
25776
|
+
"use strict";
|
|
25777
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_TransitionRipple_vue_vue_type_style_index_0_id_0e721690_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("2900");
|
|
25778
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_TransitionRipple_vue_vue_type_style_index_0_id_0e721690_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_TransitionRipple_vue_vue_type_style_index_0_id_0e721690_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
25779
|
+
/* unused harmony reexport * */
|
|
25780
|
+
|
|
25781
|
+
|
|
25737
25782
|
/***/ }),
|
|
25738
25783
|
|
|
25739
25784
|
/***/ "4b7a":
|
|
@@ -27474,6 +27519,14 @@ module.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
|
27474
27519
|
})));
|
|
27475
27520
|
|
|
27476
27521
|
|
|
27522
|
+
/***/ }),
|
|
27523
|
+
|
|
27524
|
+
/***/ "5778":
|
|
27525
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
27526
|
+
|
|
27527
|
+
// extracted by mini-css-extract-plugin
|
|
27528
|
+
module.exports = {"unnnicColorBackgroundSolo":"#E8F4F4"};
|
|
27529
|
+
|
|
27477
27530
|
/***/ }),
|
|
27478
27531
|
|
|
27479
27532
|
/***/ "577e":
|
|
@@ -27507,6 +27560,13 @@ module.exports = "<svg viewBox=\"0 0 40 40\" fill=\"none\" xmlns=\"http://www.w3
|
|
|
27507
27560
|
|
|
27508
27561
|
/***/ }),
|
|
27509
27562
|
|
|
27563
|
+
/***/ "58d5":
|
|
27564
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
27565
|
+
|
|
27566
|
+
// extracted by mini-css-extract-plugin
|
|
27567
|
+
|
|
27568
|
+
/***/ }),
|
|
27569
|
+
|
|
27510
27570
|
/***/ "5926":
|
|
27511
27571
|
/***/ (function(module, exports, __webpack_require__) {
|
|
27512
27572
|
|
|
@@ -28998,6 +29058,17 @@ module.exports = "<svg viewBox=\"0 0 40 40\" fill=\"none\" xmlns=\"http://www.w3
|
|
|
28998
29058
|
})));
|
|
28999
29059
|
|
|
29000
29060
|
|
|
29061
|
+
/***/ }),
|
|
29062
|
+
|
|
29063
|
+
/***/ "6451":
|
|
29064
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
29065
|
+
|
|
29066
|
+
"use strict";
|
|
29067
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ChatsUserAvatar_vue_vue_type_style_index_0_id_79f2f3bc_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("c8e8");
|
|
29068
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ChatsUserAvatar_vue_vue_type_style_index_0_id_79f2f3bc_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ChatsUserAvatar_vue_vue_type_style_index_0_id_79f2f3bc_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
29069
|
+
/* unused harmony reexport * */
|
|
29070
|
+
|
|
29071
|
+
|
|
29001
29072
|
/***/ }),
|
|
29002
29073
|
|
|
29003
29074
|
/***/ "6547":
|
|
@@ -34846,6 +34917,17 @@ module.exports = {
|
|
|
34846
34917
|
|
|
34847
34918
|
module.exports = "<svg viewBox=\"0 0 40 40\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M32.6316 11.3163H17.6316C17.5257 11.3161 17.421 11.2946 17.3236 11.2531C17.2262 11.2116 17.1382 11.151 17.0647 11.0748L14.9474 8.88318C14.7257 8.65403 14.4603 8.47178 14.1668 8.34727C13.8733 8.22277 13.5578 8.15856 13.2389 8.15845H7.82C7.07262 8.15928 6.35607 8.45644 5.82744 8.98477C5.29881 9.5131 5.00125 10.2295 5 10.9769V29.0242C5.00125 29.7716 5.29881 30.488 5.82744 31.0163C6.35607 31.5447 7.07262 31.8418 7.82 31.8427H32.18C32.9274 31.8418 33.6439 31.5447 34.1726 31.0163C34.7012 30.488 34.9987 29.7716 35 29.0242V13.6848C35 13.0566 34.7505 12.4542 34.3063 12.01C33.8621 11.5659 33.2597 11.3163 32.6316 11.3163Z\" fill=\"#3B414D\" class=\"primary\"></path></svg>"
|
|
34848
34919
|
|
|
34920
|
+
/***/ }),
|
|
34921
|
+
|
|
34922
|
+
/***/ "a02d":
|
|
34923
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
34924
|
+
|
|
34925
|
+
"use strict";
|
|
34926
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ChatsNavbar_vue_vue_type_style_index_0_id_121e5a67_prod_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("01b9");
|
|
34927
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ChatsNavbar_vue_vue_type_style_index_0_id_121e5a67_prod_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ChatsNavbar_vue_vue_type_style_index_0_id_121e5a67_prod_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
34928
|
+
/* unused harmony reexport * */
|
|
34929
|
+
|
|
34930
|
+
|
|
34849
34931
|
/***/ }),
|
|
34850
34932
|
|
|
34851
34933
|
/***/ "a04b":
|
|
@@ -34864,6 +34946,17 @@ module.exports = function (argument) {
|
|
|
34864
34946
|
};
|
|
34865
34947
|
|
|
34866
34948
|
|
|
34949
|
+
/***/ }),
|
|
34950
|
+
|
|
34951
|
+
/***/ "a072":
|
|
34952
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
34953
|
+
|
|
34954
|
+
"use strict";
|
|
34955
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ChatsDashboardTagLive_vue_vue_type_style_index_0_id_e35c4378_prod_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("5778");
|
|
34956
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ChatsDashboardTagLive_vue_vue_type_style_index_0_id_e35c4378_prod_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ChatsDashboardTagLive_vue_vue_type_style_index_0_id_e35c4378_prod_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
34957
|
+
/* unused harmony reexport * */
|
|
34958
|
+
|
|
34959
|
+
|
|
34867
34960
|
/***/ }),
|
|
34868
34961
|
|
|
34869
34962
|
/***/ "a170":
|
|
@@ -34981,6 +35074,17 @@ $({ target: 'String', proto: true, forced: WORKS_WITH_NON_GLOBAL_REGEX }, {
|
|
|
34981
35074
|
IS_PURE || MATCH_ALL in RegExpPrototype || defineBuiltIn(RegExpPrototype, MATCH_ALL, $matchAll);
|
|
34982
35075
|
|
|
34983
35076
|
|
|
35077
|
+
/***/ }),
|
|
35078
|
+
|
|
35079
|
+
/***/ "a34c":
|
|
35080
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
35081
|
+
|
|
35082
|
+
"use strict";
|
|
35083
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ChatsHeader_vue_vue_type_style_index_0_id_3c6cc0fe_prod_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("38e4");
|
|
35084
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ChatsHeader_vue_vue_type_style_index_0_id_3c6cc0fe_prod_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ChatsHeader_vue_vue_type_style_index_0_id_3c6cc0fe_prod_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
35085
|
+
/* unused harmony reexport * */
|
|
35086
|
+
|
|
35087
|
+
|
|
34984
35088
|
/***/ }),
|
|
34985
35089
|
|
|
34986
35090
|
/***/ "a356":
|
|
@@ -36616,6 +36720,14 @@ module.exports = "<svg viewBox=\"0 0 40 40\" fill=\"none\" xmlns=\"http://www.w3
|
|
|
36616
36720
|
})));
|
|
36617
36721
|
|
|
36618
36722
|
|
|
36723
|
+
/***/ }),
|
|
36724
|
+
|
|
36725
|
+
/***/ "b808":
|
|
36726
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
36727
|
+
|
|
36728
|
+
// extracted by mini-css-extract-plugin
|
|
36729
|
+
module.exports = {"unnnicColorBackgroundSolo":"#E8F4F4"};
|
|
36730
|
+
|
|
36619
36731
|
/***/ }),
|
|
36620
36732
|
|
|
36621
36733
|
/***/ "b84c":
|
|
@@ -42824,6 +42936,17 @@ module.exports = __webpack_require__.p + "img/u1F645.1ff7ba1e.png";
|
|
|
42824
42936
|
//# sourceMappingURL=v-click-outside.umd.js.map
|
|
42825
42937
|
|
|
42826
42938
|
|
|
42939
|
+
/***/ }),
|
|
42940
|
+
|
|
42941
|
+
/***/ "c324":
|
|
42942
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
42943
|
+
|
|
42944
|
+
"use strict";
|
|
42945
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ChatsMessage_vue_vue_type_style_index_0_id_2e128b82_prod_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("e35e");
|
|
42946
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ChatsMessage_vue_vue_type_style_index_0_id_2e128b82_prod_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ChatsMessage_vue_vue_type_style_index_0_id_2e128b82_prod_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
42947
|
+
/* unused harmony reexport * */
|
|
42948
|
+
|
|
42949
|
+
|
|
42827
42950
|
/***/ }),
|
|
42828
42951
|
|
|
42829
42952
|
/***/ "c344":
|
|
@@ -43196,6 +43319,13 @@ try {
|
|
|
43196
43319
|
module.exports = g;
|
|
43197
43320
|
|
|
43198
43321
|
|
|
43322
|
+
/***/ }),
|
|
43323
|
+
|
|
43324
|
+
/***/ "c8e8":
|
|
43325
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
43326
|
+
|
|
43327
|
+
// extracted by mini-css-extract-plugin
|
|
43328
|
+
|
|
43199
43329
|
/***/ }),
|
|
43200
43330
|
|
|
43201
43331
|
/***/ "c8f3":
|
|
@@ -45622,6 +45752,17 @@ handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
|
|
|
45622
45752
|
// extracted by mini-css-extract-plugin
|
|
45623
45753
|
module.exports = {"unnnicColorBackgroundSolo":"#E8F4F4"};
|
|
45624
45754
|
|
|
45755
|
+
/***/ }),
|
|
45756
|
+
|
|
45757
|
+
/***/ "df19":
|
|
45758
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
45759
|
+
|
|
45760
|
+
"use strict";
|
|
45761
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ChatsMessageStatusBackdrop_vue_vue_type_style_index_0_id_db9a0aca_prod_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("b808");
|
|
45762
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ChatsMessageStatusBackdrop_vue_vue_type_style_index_0_id_db9a0aca_prod_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ChatsMessageStatusBackdrop_vue_vue_type_style_index_0_id_db9a0aca_prod_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
45763
|
+
/* unused harmony reexport * */
|
|
45764
|
+
|
|
45765
|
+
|
|
45625
45766
|
/***/ }),
|
|
45626
45767
|
|
|
45627
45768
|
/***/ "df75":
|
|
@@ -46326,6 +46467,14 @@ module.exports = "<svg viewBox=\"0 0 40 40\" fill=\"none\" xmlns=\"http://www.w3
|
|
|
46326
46467
|
/* unused harmony reexport * */
|
|
46327
46468
|
|
|
46328
46469
|
|
|
46470
|
+
/***/ }),
|
|
46471
|
+
|
|
46472
|
+
/***/ "e317":
|
|
46473
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
46474
|
+
|
|
46475
|
+
// extracted by mini-css-extract-plugin
|
|
46476
|
+
module.exports = {"unnnicColorBackgroundSolo":"#E8F4F4"};
|
|
46477
|
+
|
|
46329
46478
|
/***/ }),
|
|
46330
46479
|
|
|
46331
46480
|
/***/ "e330":
|
|
@@ -46355,6 +46504,14 @@ module.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) {
|
|
|
46355
46504
|
|
|
46356
46505
|
/***/ }),
|
|
46357
46506
|
|
|
46507
|
+
/***/ "e35e":
|
|
46508
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
46509
|
+
|
|
46510
|
+
// extracted by mini-css-extract-plugin
|
|
46511
|
+
module.exports = {"unnnicColorBackgroundSolo":"#E8F4F4"};
|
|
46512
|
+
|
|
46513
|
+
/***/ }),
|
|
46514
|
+
|
|
46358
46515
|
/***/ "e3a8":
|
|
46359
46516
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
46360
46517
|
|
|
@@ -46717,6 +46874,17 @@ $({ target: 'String', proto: true, forced: FORCED }, {
|
|
|
46717
46874
|
|
|
46718
46875
|
// extracted by mini-css-extract-plugin
|
|
46719
46876
|
|
|
46877
|
+
/***/ }),
|
|
46878
|
+
|
|
46879
|
+
/***/ "eb67":
|
|
46880
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
46881
|
+
|
|
46882
|
+
"use strict";
|
|
46883
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ButtonClose_vue_vue_type_style_index_0_id_2644eac4_prod_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("e317");
|
|
46884
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ButtonClose_vue_vue_type_style_index_0_id_2644eac4_prod_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ButtonClose_vue_vue_type_style_index_0_id_2644eac4_prod_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
46885
|
+
/* unused harmony reexport * */
|
|
46886
|
+
|
|
46887
|
+
|
|
46720
46888
|
/***/ }),
|
|
46721
46889
|
|
|
46722
46890
|
/***/ "ebe4":
|
|
@@ -47894,6 +48062,12 @@ __webpack_require__.d(__webpack_exports__, "unnnicStarRating", function() { retu
|
|
|
47894
48062
|
__webpack_require__.d(__webpack_exports__, "unnnicAudioRecorder", function() { return /* reexport */ unnnicAudioRecorder; });
|
|
47895
48063
|
__webpack_require__.d(__webpack_exports__, "unnnicCircleProgressBar", function() { return /* reexport */ unnnicCircleProgressBar; });
|
|
47896
48064
|
__webpack_require__.d(__webpack_exports__, "unnnicProgressBar", function() { return /* reexport */ unnnicProgressBar; });
|
|
48065
|
+
__webpack_require__.d(__webpack_exports__, "unnnicChatsContact", function() { return /* reexport */ unnnicChatsContact; });
|
|
48066
|
+
__webpack_require__.d(__webpack_exports__, "unnnicChatsDashboardTagLive", function() { return /* reexport */ unnnicChatsDashboardTagLive; });
|
|
48067
|
+
__webpack_require__.d(__webpack_exports__, "unnnicChatsHeader", function() { return /* reexport */ unnnicChatsHeader; });
|
|
48068
|
+
__webpack_require__.d(__webpack_exports__, "unnnicChatsMessage", function() { return /* reexport */ unnnicChatsMessage; });
|
|
48069
|
+
__webpack_require__.d(__webpack_exports__, "unnnicChatsNavbar", function() { return /* reexport */ unnnicChatsNavbar; });
|
|
48070
|
+
__webpack_require__.d(__webpack_exports__, "unnnicChatsUserAvatar", function() { return /* reexport */ unnnicChatsUserAvatar; });
|
|
47897
48071
|
|
|
47898
48072
|
// CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js
|
|
47899
48073
|
// This file is imported into lib/wc client bundles.
|
|
@@ -62760,6 +62934,1046 @@ var ProgressBar_component = normalizeComponent(
|
|
|
62760
62934
|
)
|
|
62761
62935
|
|
|
62762
62936
|
/* harmony default export */ var ProgressBar = (ProgressBar_component.exports);
|
|
62937
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"d7996b54-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/ChatsContact/ChatsContact.vue?vue&type=template&id=bb1d6452&scoped=true&
|
|
62938
|
+
var ChatsContactvue_type_template_id_bb1d6452_scoped_true_render = function render() {
|
|
62939
|
+
var _vm = this,
|
|
62940
|
+
_c = _vm._self._c;
|
|
62941
|
+
return _c('div', {
|
|
62942
|
+
ref: "transitionContainer",
|
|
62943
|
+
staticClass: "contact",
|
|
62944
|
+
class: {
|
|
62945
|
+
selected: _vm.selected,
|
|
62946
|
+
disabled: _vm.disabled,
|
|
62947
|
+
'unread-messages': _vm.unreadMessages,
|
|
62948
|
+
waiting: _vm.waitingTime
|
|
62949
|
+
},
|
|
62950
|
+
attrs: {
|
|
62951
|
+
"tabindex": 0
|
|
62952
|
+
},
|
|
62953
|
+
on: {
|
|
62954
|
+
"click": function ($event) {
|
|
62955
|
+
return _vm.$emit('click');
|
|
62956
|
+
},
|
|
62957
|
+
"keypress": function ($event) {
|
|
62958
|
+
if (!$event.type.indexOf('key') && _vm._k($event.keyCode, "enter", 13, $event.key, "Enter")) return null;
|
|
62959
|
+
return _vm.$emit('click');
|
|
62960
|
+
},
|
|
62961
|
+
"mouseenter": function ($event) {
|
|
62962
|
+
_vm.isHovered = true;
|
|
62963
|
+
},
|
|
62964
|
+
"mouseleave": function ($event) {
|
|
62965
|
+
_vm.isHovered = false;
|
|
62966
|
+
},
|
|
62967
|
+
"mousedown": event => {
|
|
62968
|
+
this.$refs.transitionRipple.addRipple(event);
|
|
62969
|
+
}
|
|
62970
|
+
}
|
|
62971
|
+
}, [_c('user-avatar', {
|
|
62972
|
+
attrs: {
|
|
62973
|
+
"username": _vm.username,
|
|
62974
|
+
"photo-url": _vm.userPhoto,
|
|
62975
|
+
"active": _vm.isHovered || _vm.selected
|
|
62976
|
+
}
|
|
62977
|
+
}), _c('div', {
|
|
62978
|
+
staticClass: "contact__infos"
|
|
62979
|
+
}, [_c('h1', {
|
|
62980
|
+
staticClass: "contact__infos__username ellipsis",
|
|
62981
|
+
class: {
|
|
62982
|
+
bold: _vm.unreadMessages
|
|
62983
|
+
},
|
|
62984
|
+
attrs: {
|
|
62985
|
+
"title": _vm.username
|
|
62986
|
+
}
|
|
62987
|
+
}, [_vm._v(" " + _vm._s(_vm.username) + " ")]), _c('div', {
|
|
62988
|
+
staticClass: "contact__infos__additional-information",
|
|
62989
|
+
class: {
|
|
62990
|
+
bold: _vm.unreadMessages
|
|
62991
|
+
}
|
|
62992
|
+
}, [_vm.waitingTime !== 0 ? _c('p', {
|
|
62993
|
+
staticClass: "ellipsis"
|
|
62994
|
+
}, [_vm._v(" " + _vm._s(_vm.i18n('waiting_for', _vm.waitingTime, {
|
|
62995
|
+
waitingTime: _vm.waitingTime
|
|
62996
|
+
})) + " ")]) : _vm.lastMessage ? _c('p', {
|
|
62997
|
+
staticClass: "ellipsis",
|
|
62998
|
+
attrs: {
|
|
62999
|
+
"title": _vm.lastMessage
|
|
63000
|
+
}
|
|
63001
|
+
}, [_vm._v(" " + _vm._s(_vm.lastMessage) + " ")]) : _vm._e()])]), !_vm.selected && _vm.unreadMessages ? _c('span', {
|
|
63002
|
+
staticClass: "contact__infos__unread-messages",
|
|
63003
|
+
attrs: {
|
|
63004
|
+
"title": _vm.i18n('unread_messages', _vm.unreadMessages, {
|
|
63005
|
+
unreadMessages: _vm.unreadMessages
|
|
63006
|
+
})
|
|
63007
|
+
}
|
|
63008
|
+
}, [_vm._v(" " + _vm._s(_vm.unreadMessages) + " ")]) : _vm._e(), _c('transition-ripple', {
|
|
63009
|
+
ref: "transitionRipple",
|
|
63010
|
+
attrs: {
|
|
63011
|
+
"color": "weni-500"
|
|
63012
|
+
}
|
|
63013
|
+
})], 1);
|
|
63014
|
+
};
|
|
63015
|
+
var ChatsContactvue_type_template_id_bb1d6452_scoped_true_staticRenderFns = [];
|
|
63016
|
+
|
|
63017
|
+
// CONCATENATED MODULE: ./src/components/ChatsContact/ChatsContact.vue?vue&type=template&id=bb1d6452&scoped=true&
|
|
63018
|
+
|
|
63019
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"d7996b54-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/ChatsUserAvatar/ChatsUserAvatar.vue?vue&type=template&id=79f2f3bc&scoped=true&
|
|
63020
|
+
var ChatsUserAvatarvue_type_template_id_79f2f3bc_scoped_true_render = function render() {
|
|
63021
|
+
var _vm = this,
|
|
63022
|
+
_c = _vm._self._c;
|
|
63023
|
+
return _c('span', {
|
|
63024
|
+
staticClass: "user-avatar",
|
|
63025
|
+
class: {
|
|
63026
|
+
active: _vm.active,
|
|
63027
|
+
clickable: _vm.clickable,
|
|
63028
|
+
disabled: _vm.disabled,
|
|
63029
|
+
[`user-avatar--${_vm.size}`]: true
|
|
63030
|
+
},
|
|
63031
|
+
on: {
|
|
63032
|
+
"click": function ($event) {
|
|
63033
|
+
return _vm.$emit('click');
|
|
63034
|
+
},
|
|
63035
|
+
"keypress": function ($event) {
|
|
63036
|
+
if (!$event.type.indexOf('key') && _vm._k($event.keyCode, "enter", 13, $event.key, "Enter")) return null;
|
|
63037
|
+
return _vm.$emit('click');
|
|
63038
|
+
}
|
|
63039
|
+
}
|
|
63040
|
+
}, [_vm.username === 'Agent' ? _c('unnnic-icon', {
|
|
63041
|
+
attrs: {
|
|
63042
|
+
"icon": "single-neutral-actions-1",
|
|
63043
|
+
"size": "sm",
|
|
63044
|
+
"scheme": _vm.disabled ? 'neutral-snow' : ''
|
|
63045
|
+
}
|
|
63046
|
+
}) : _vm.username === 'Bot' ? _c('unnnic-icon', {
|
|
63047
|
+
attrs: {
|
|
63048
|
+
"icon": "science-fiction-robot-2",
|
|
63049
|
+
"size": "sm",
|
|
63050
|
+
"scheme": _vm.disabled ? 'neutral-snow' : ''
|
|
63051
|
+
}
|
|
63052
|
+
}) : !!_vm.photoUrl ? _c('img', {
|
|
63053
|
+
attrs: {
|
|
63054
|
+
"src": _vm.photoUrl,
|
|
63055
|
+
"alt": ""
|
|
63056
|
+
}
|
|
63057
|
+
}) : _c('span', [_vm._v(" " + _vm._s(_vm.getUsernameFirstCharacter) + " ")])], 1);
|
|
63058
|
+
};
|
|
63059
|
+
var ChatsUserAvatarvue_type_template_id_79f2f3bc_scoped_true_staticRenderFns = [];
|
|
63060
|
+
|
|
63061
|
+
// CONCATENATED MODULE: ./src/components/ChatsUserAvatar/ChatsUserAvatar.vue?vue&type=template&id=79f2f3bc&scoped=true&
|
|
63062
|
+
|
|
63063
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/ChatsUserAvatar/ChatsUserAvatar.vue?vue&type=script&lang=js&
|
|
63064
|
+
|
|
63065
|
+
/* harmony default export */ var ChatsUserAvatarvue_type_script_lang_js_ = ({
|
|
63066
|
+
name: 'UserAvatar',
|
|
63067
|
+
components: {
|
|
63068
|
+
UnnnicIcon: Icon
|
|
63069
|
+
},
|
|
63070
|
+
props: {
|
|
63071
|
+
active: {
|
|
63072
|
+
type: Boolean,
|
|
63073
|
+
default: false
|
|
63074
|
+
},
|
|
63075
|
+
clickable: {
|
|
63076
|
+
type: Boolean,
|
|
63077
|
+
default: false
|
|
63078
|
+
},
|
|
63079
|
+
disabled: {
|
|
63080
|
+
type: Boolean,
|
|
63081
|
+
default: false
|
|
63082
|
+
},
|
|
63083
|
+
size: {
|
|
63084
|
+
type: String,
|
|
63085
|
+
default: 'xl',
|
|
63086
|
+
validator: value => ['xs', 'sm', 'ant', 'md', 'lg', 'xl', '2xl'].indexOf(value) !== -1
|
|
63087
|
+
},
|
|
63088
|
+
username: {
|
|
63089
|
+
type: String,
|
|
63090
|
+
required: true
|
|
63091
|
+
},
|
|
63092
|
+
photoUrl: {
|
|
63093
|
+
type: String,
|
|
63094
|
+
default: ''
|
|
63095
|
+
}
|
|
63096
|
+
},
|
|
63097
|
+
computed: {
|
|
63098
|
+
getUsernameFirstCharacter() {
|
|
63099
|
+
return this.username ? this.username.charAt(0).toUpperCase() : '';
|
|
63100
|
+
}
|
|
63101
|
+
}
|
|
63102
|
+
});
|
|
63103
|
+
// CONCATENATED MODULE: ./src/components/ChatsUserAvatar/ChatsUserAvatar.vue?vue&type=script&lang=js&
|
|
63104
|
+
/* harmony default export */ var ChatsUserAvatar_ChatsUserAvatarvue_type_script_lang_js_ = (ChatsUserAvatarvue_type_script_lang_js_);
|
|
63105
|
+
// EXTERNAL MODULE: ./src/components/ChatsUserAvatar/ChatsUserAvatar.vue?vue&type=style&index=0&id=79f2f3bc&prod&lang=scss&scoped=true&
|
|
63106
|
+
var ChatsUserAvatarvue_type_style_index_0_id_79f2f3bc_prod_lang_scss_scoped_true_ = __webpack_require__("6451");
|
|
63107
|
+
|
|
63108
|
+
// CONCATENATED MODULE: ./src/components/ChatsUserAvatar/ChatsUserAvatar.vue
|
|
63109
|
+
|
|
63110
|
+
|
|
63111
|
+
|
|
63112
|
+
|
|
63113
|
+
|
|
63114
|
+
|
|
63115
|
+
/* normalize component */
|
|
63116
|
+
|
|
63117
|
+
var ChatsUserAvatar_component = normalizeComponent(
|
|
63118
|
+
ChatsUserAvatar_ChatsUserAvatarvue_type_script_lang_js_,
|
|
63119
|
+
ChatsUserAvatarvue_type_template_id_79f2f3bc_scoped_true_render,
|
|
63120
|
+
ChatsUserAvatarvue_type_template_id_79f2f3bc_scoped_true_staticRenderFns,
|
|
63121
|
+
false,
|
|
63122
|
+
null,
|
|
63123
|
+
"79f2f3bc",
|
|
63124
|
+
null
|
|
63125
|
+
|
|
63126
|
+
)
|
|
63127
|
+
|
|
63128
|
+
/* harmony default export */ var ChatsUserAvatar = (ChatsUserAvatar_component.exports);
|
|
63129
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"d7996b54-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/TransitionRipple/TransitionRipple.vue?vue&type=template&id=0e721690&scoped=true&
|
|
63130
|
+
var TransitionRipplevue_type_template_id_0e721690_scoped_true_render = function render() {
|
|
63131
|
+
var _vm = this,
|
|
63132
|
+
_c = _vm._self._c;
|
|
63133
|
+
return _c('transition-group', {
|
|
63134
|
+
staticClass: "ripples",
|
|
63135
|
+
attrs: {
|
|
63136
|
+
"name": "grow",
|
|
63137
|
+
"tag": "div"
|
|
63138
|
+
}
|
|
63139
|
+
}, _vm._l(_vm.ripples, function (ripple) {
|
|
63140
|
+
return _c('div', {
|
|
63141
|
+
key: ripple.id,
|
|
63142
|
+
staticClass: "ripple",
|
|
63143
|
+
class: `ripples-color--${_vm.color}`,
|
|
63144
|
+
style: {
|
|
63145
|
+
top: ripple.top,
|
|
63146
|
+
left: ripple.left,
|
|
63147
|
+
width: ripple.width,
|
|
63148
|
+
height: ripple.height
|
|
63149
|
+
}
|
|
63150
|
+
});
|
|
63151
|
+
}), 0);
|
|
63152
|
+
};
|
|
63153
|
+
var TransitionRipplevue_type_template_id_0e721690_scoped_true_staticRenderFns = [];
|
|
63154
|
+
|
|
63155
|
+
// CONCATENATED MODULE: ./src/components/TransitionRipple/TransitionRipple.vue?vue&type=template&id=0e721690&scoped=true&
|
|
63156
|
+
|
|
63157
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/TransitionRipple/TransitionRipple.vue?vue&type=script&lang=js&
|
|
63158
|
+
|
|
63159
|
+
/* harmony default export */ var TransitionRipplevue_type_script_lang_js_ = ({
|
|
63160
|
+
props: {
|
|
63161
|
+
color: {
|
|
63162
|
+
type: String,
|
|
63163
|
+
default: 'neutral-white'
|
|
63164
|
+
}
|
|
63165
|
+
},
|
|
63166
|
+
data() {
|
|
63167
|
+
return {
|
|
63168
|
+
ripples: [],
|
|
63169
|
+
rippleWidth: 0,
|
|
63170
|
+
halfRippleWidth: 0
|
|
63171
|
+
};
|
|
63172
|
+
},
|
|
63173
|
+
mounted() {
|
|
63174
|
+
const {
|
|
63175
|
+
transitionContainer
|
|
63176
|
+
} = this.$parent.$refs;
|
|
63177
|
+
if (transitionContainer) {
|
|
63178
|
+
this.$parent.$refs.transitionContainer.style.position = 'relative';
|
|
63179
|
+
this.$parent.$refs.transitionContainer.style.overflow = 'hidden';
|
|
63180
|
+
}
|
|
63181
|
+
const width = transitionContainer.offsetWidth;
|
|
63182
|
+
const height = transitionContainer.offsetHeight;
|
|
63183
|
+
this.rippleWidth = width > height ? width : height;
|
|
63184
|
+
this.halfRippleWidth = this.rippleWidth / 2;
|
|
63185
|
+
window.addEventListener('mouseup', this.purgeRipples);
|
|
63186
|
+
},
|
|
63187
|
+
beforeDestroy() {
|
|
63188
|
+
window.removeEventListener('mouseup', this.purgeRipples);
|
|
63189
|
+
},
|
|
63190
|
+
methods: {
|
|
63191
|
+
addRipple(e) {
|
|
63192
|
+
const {
|
|
63193
|
+
left,
|
|
63194
|
+
top
|
|
63195
|
+
} = this.$parent.$refs.transitionContainer.getBoundingClientRect();
|
|
63196
|
+
const rippleId = Date.now();
|
|
63197
|
+
this.ripples.push({
|
|
63198
|
+
width: `${this.rippleWidth}px`,
|
|
63199
|
+
height: `${this.rippleWidth}px`,
|
|
63200
|
+
left: `${e.clientX - left - this.halfRippleWidth}px`,
|
|
63201
|
+
top: `${e.clientY - top - this.halfRippleWidth}px`,
|
|
63202
|
+
id: rippleId
|
|
63203
|
+
});
|
|
63204
|
+
},
|
|
63205
|
+
purgeRipples() {
|
|
63206
|
+
this.ripples = [];
|
|
63207
|
+
}
|
|
63208
|
+
}
|
|
63209
|
+
});
|
|
63210
|
+
// CONCATENATED MODULE: ./src/components/TransitionRipple/TransitionRipple.vue?vue&type=script&lang=js&
|
|
63211
|
+
/* harmony default export */ var TransitionRipple_TransitionRipplevue_type_script_lang_js_ = (TransitionRipplevue_type_script_lang_js_);
|
|
63212
|
+
// EXTERNAL MODULE: ./src/components/TransitionRipple/TransitionRipple.vue?vue&type=style&index=0&id=0e721690&prod&scoped=true&lang=scss&
|
|
63213
|
+
var TransitionRipplevue_type_style_index_0_id_0e721690_prod_scoped_true_lang_scss_ = __webpack_require__("4a63");
|
|
63214
|
+
|
|
63215
|
+
// CONCATENATED MODULE: ./src/components/TransitionRipple/TransitionRipple.vue
|
|
63216
|
+
|
|
63217
|
+
|
|
63218
|
+
|
|
63219
|
+
|
|
63220
|
+
|
|
63221
|
+
|
|
63222
|
+
/* normalize component */
|
|
63223
|
+
|
|
63224
|
+
var TransitionRipple_component = normalizeComponent(
|
|
63225
|
+
TransitionRipple_TransitionRipplevue_type_script_lang_js_,
|
|
63226
|
+
TransitionRipplevue_type_template_id_0e721690_scoped_true_render,
|
|
63227
|
+
TransitionRipplevue_type_template_id_0e721690_scoped_true_staticRenderFns,
|
|
63228
|
+
false,
|
|
63229
|
+
null,
|
|
63230
|
+
"0e721690",
|
|
63231
|
+
null
|
|
63232
|
+
|
|
63233
|
+
)
|
|
63234
|
+
|
|
63235
|
+
/* harmony default export */ var TransitionRipple = (TransitionRipple_component.exports);
|
|
63236
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/ChatsContact/ChatsContact.vue?vue&type=script&lang=js&
|
|
63237
|
+
|
|
63238
|
+
|
|
63239
|
+
|
|
63240
|
+
/* harmony default export */ var ChatsContactvue_type_script_lang_js_ = ({
|
|
63241
|
+
name: 'ChatsContact',
|
|
63242
|
+
mixins: [i18n],
|
|
63243
|
+
components: {
|
|
63244
|
+
UserAvatar: ChatsUserAvatar,
|
|
63245
|
+
TransitionRipple: TransitionRipple
|
|
63246
|
+
},
|
|
63247
|
+
props: {
|
|
63248
|
+
username: {
|
|
63249
|
+
type: String,
|
|
63250
|
+
default: '',
|
|
63251
|
+
required: true
|
|
63252
|
+
},
|
|
63253
|
+
lastMessage: {
|
|
63254
|
+
type: String,
|
|
63255
|
+
default: ''
|
|
63256
|
+
},
|
|
63257
|
+
userPhoto: {
|
|
63258
|
+
type: String,
|
|
63259
|
+
default: ''
|
|
63260
|
+
},
|
|
63261
|
+
waitingTime: {
|
|
63262
|
+
type: Number,
|
|
63263
|
+
default: 0
|
|
63264
|
+
},
|
|
63265
|
+
unreadMessages: {
|
|
63266
|
+
type: Number,
|
|
63267
|
+
default: 0
|
|
63268
|
+
},
|
|
63269
|
+
selected: {
|
|
63270
|
+
type: Boolean,
|
|
63271
|
+
default: false
|
|
63272
|
+
},
|
|
63273
|
+
disabled: {
|
|
63274
|
+
type: Boolean,
|
|
63275
|
+
default: false
|
|
63276
|
+
}
|
|
63277
|
+
},
|
|
63278
|
+
data() {
|
|
63279
|
+
return {
|
|
63280
|
+
isHovered: false,
|
|
63281
|
+
defaultTranslations: {
|
|
63282
|
+
waiting_for: {
|
|
63283
|
+
'pt-br': 'Aguardando há 1 minuto | Aguardando há {waitingTime} minutos',
|
|
63284
|
+
en: '1 minute waiting | {waitingTime} minutes waiting',
|
|
63285
|
+
es: 'Esperando por un minuto | Esperando por {waitingTime} minutos'
|
|
63286
|
+
},
|
|
63287
|
+
unread_messages: {
|
|
63288
|
+
'pt-br': '{unreadMessages} mensagens não lidas',
|
|
63289
|
+
en: '{unreadMessages} unread messages',
|
|
63290
|
+
es: '{unreadMessages} mensajes no leídos'
|
|
63291
|
+
}
|
|
63292
|
+
}
|
|
63293
|
+
};
|
|
63294
|
+
}
|
|
63295
|
+
});
|
|
63296
|
+
// CONCATENATED MODULE: ./src/components/ChatsContact/ChatsContact.vue?vue&type=script&lang=js&
|
|
63297
|
+
/* harmony default export */ var ChatsContact_ChatsContactvue_type_script_lang_js_ = (ChatsContactvue_type_script_lang_js_);
|
|
63298
|
+
// EXTERNAL MODULE: ./src/components/ChatsContact/ChatsContact.vue?vue&type=style&index=0&id=bb1d6452&prod&lang=scss&scoped=true&
|
|
63299
|
+
var ChatsContactvue_type_style_index_0_id_bb1d6452_prod_lang_scss_scoped_true_ = __webpack_require__("21ce");
|
|
63300
|
+
|
|
63301
|
+
// CONCATENATED MODULE: ./src/components/ChatsContact/ChatsContact.vue
|
|
63302
|
+
|
|
63303
|
+
|
|
63304
|
+
|
|
63305
|
+
|
|
63306
|
+
|
|
63307
|
+
|
|
63308
|
+
/* normalize component */
|
|
63309
|
+
|
|
63310
|
+
var ChatsContact_component = normalizeComponent(
|
|
63311
|
+
ChatsContact_ChatsContactvue_type_script_lang_js_,
|
|
63312
|
+
ChatsContactvue_type_template_id_bb1d6452_scoped_true_render,
|
|
63313
|
+
ChatsContactvue_type_template_id_bb1d6452_scoped_true_staticRenderFns,
|
|
63314
|
+
false,
|
|
63315
|
+
null,
|
|
63316
|
+
"bb1d6452",
|
|
63317
|
+
null
|
|
63318
|
+
|
|
63319
|
+
)
|
|
63320
|
+
|
|
63321
|
+
/* harmony default export */ var ChatsContact = (ChatsContact_component.exports);
|
|
63322
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"d7996b54-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/ChatsDashboardTagLive/ChatsDashboardTagLive.vue?vue&type=template&id=e35c4378&
|
|
63323
|
+
var ChatsDashboardTagLivevue_type_template_id_e35c4378_render = function render() {
|
|
63324
|
+
var _vm = this,
|
|
63325
|
+
_c = _vm._self._c;
|
|
63326
|
+
return _c('div', {
|
|
63327
|
+
staticClass: "unnnic-chats-dashboard-tag-live"
|
|
63328
|
+
}, [_c('unnnic-icon', {
|
|
63329
|
+
staticClass: "unnnic-chats-dashboard-tag-live__indicator",
|
|
63330
|
+
attrs: {
|
|
63331
|
+
"icon": "indicator",
|
|
63332
|
+
"scheme": "aux-green-300"
|
|
63333
|
+
}
|
|
63334
|
+
}), _c('p', {
|
|
63335
|
+
staticClass: "unnnic-chats-dashboard-tag-live__text"
|
|
63336
|
+
}, [_vm._v(_vm._s(_vm.i18n('live')))])], 1);
|
|
63337
|
+
};
|
|
63338
|
+
var ChatsDashboardTagLivevue_type_template_id_e35c4378_staticRenderFns = [];
|
|
63339
|
+
|
|
63340
|
+
// CONCATENATED MODULE: ./src/components/ChatsDashboardTagLive/ChatsDashboardTagLive.vue?vue&type=template&id=e35c4378&
|
|
63341
|
+
|
|
63342
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/ChatsDashboardTagLive/ChatsDashboardTagLive.vue?vue&type=script&lang=js&
|
|
63343
|
+
|
|
63344
|
+
|
|
63345
|
+
/* harmony default export */ var ChatsDashboardTagLivevue_type_script_lang_js_ = ({
|
|
63346
|
+
name: 'UnnnicChatsDashboardTagLive',
|
|
63347
|
+
mixins: [i18n],
|
|
63348
|
+
components: {
|
|
63349
|
+
UnnnicIcon: Icon
|
|
63350
|
+
},
|
|
63351
|
+
data() {
|
|
63352
|
+
return {
|
|
63353
|
+
defaultTranslations: {
|
|
63354
|
+
live: {
|
|
63355
|
+
'pt-br': 'Ao vivo',
|
|
63356
|
+
en: 'Live',
|
|
63357
|
+
es: 'En vivo'
|
|
63358
|
+
}
|
|
63359
|
+
}
|
|
63360
|
+
};
|
|
63361
|
+
}
|
|
63362
|
+
});
|
|
63363
|
+
// CONCATENATED MODULE: ./src/components/ChatsDashboardTagLive/ChatsDashboardTagLive.vue?vue&type=script&lang=js&
|
|
63364
|
+
/* harmony default export */ var ChatsDashboardTagLive_ChatsDashboardTagLivevue_type_script_lang_js_ = (ChatsDashboardTagLivevue_type_script_lang_js_);
|
|
63365
|
+
// EXTERNAL MODULE: ./src/components/ChatsDashboardTagLive/ChatsDashboardTagLive.vue?vue&type=style&index=0&id=e35c4378&prod&lang=scss&
|
|
63366
|
+
var ChatsDashboardTagLivevue_type_style_index_0_id_e35c4378_prod_lang_scss_ = __webpack_require__("a072");
|
|
63367
|
+
|
|
63368
|
+
// CONCATENATED MODULE: ./src/components/ChatsDashboardTagLive/ChatsDashboardTagLive.vue
|
|
63369
|
+
|
|
63370
|
+
|
|
63371
|
+
|
|
63372
|
+
|
|
63373
|
+
|
|
63374
|
+
|
|
63375
|
+
/* normalize component */
|
|
63376
|
+
|
|
63377
|
+
var ChatsDashboardTagLive_component = normalizeComponent(
|
|
63378
|
+
ChatsDashboardTagLive_ChatsDashboardTagLivevue_type_script_lang_js_,
|
|
63379
|
+
ChatsDashboardTagLivevue_type_template_id_e35c4378_render,
|
|
63380
|
+
ChatsDashboardTagLivevue_type_template_id_e35c4378_staticRenderFns,
|
|
63381
|
+
false,
|
|
63382
|
+
null,
|
|
63383
|
+
null,
|
|
63384
|
+
null
|
|
63385
|
+
|
|
63386
|
+
)
|
|
63387
|
+
|
|
63388
|
+
/* harmony default export */ var ChatsDashboardTagLive = (ChatsDashboardTagLive_component.exports);
|
|
63389
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"d7996b54-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/ChatsHeader/ChatsHeader.vue?vue&type=template&id=3c6cc0fe&
|
|
63390
|
+
var ChatsHeadervue_type_template_id_3c6cc0fe_render = function render() {
|
|
63391
|
+
var _vm = this,
|
|
63392
|
+
_c = _vm._self._c;
|
|
63393
|
+
return _c('header', {
|
|
63394
|
+
staticClass: "unnnic-chats-header",
|
|
63395
|
+
class: [_vm.size, {
|
|
63396
|
+
contact: !!_vm.avatarName
|
|
63397
|
+
}]
|
|
63398
|
+
}, [_vm.size === 'large' && !_vm.avatarName ? _c('div', {
|
|
63399
|
+
staticClass: "unnnic-chats-header__topbar"
|
|
63400
|
+
}, [_c('unnnic-breadcrumb', {
|
|
63401
|
+
attrs: {
|
|
63402
|
+
"crumbs": _vm.crumbs
|
|
63403
|
+
}
|
|
63404
|
+
}), _c('unnnic-button-close', {
|
|
63405
|
+
attrs: {
|
|
63406
|
+
"size": "ant"
|
|
63407
|
+
},
|
|
63408
|
+
on: {
|
|
63409
|
+
"close": _vm.close
|
|
63410
|
+
}
|
|
63411
|
+
})], 1) : _vm._e(), _c('main', {
|
|
63412
|
+
staticClass: "unnnic-chats-header__main"
|
|
63413
|
+
}, [_vm.back && _vm.size === 'small' ? _c('div', {
|
|
63414
|
+
on: {
|
|
63415
|
+
"click": _vm.back,
|
|
63416
|
+
"keypress": function ($event) {
|
|
63417
|
+
if (!$event.type.indexOf('key') && _vm._k($event.keyCode, "esc", 27, $event.key, ["Esc", "Escape"])) return null;
|
|
63418
|
+
return _vm.back.apply(null, arguments);
|
|
63419
|
+
}
|
|
63420
|
+
}
|
|
63421
|
+
}, [_c('unnnic-icon', {
|
|
63422
|
+
staticClass: "unnnic-chats-header__main__back",
|
|
63423
|
+
attrs: {
|
|
63424
|
+
"icon": "keyboard-arrow-left-1",
|
|
63425
|
+
"size": "md"
|
|
63426
|
+
}
|
|
63427
|
+
})], 1) : _vm._e(), _c('section', {
|
|
63428
|
+
staticClass: "unnnic-chats-header__infos"
|
|
63429
|
+
}, [_vm.avatarName ? _c('unnnic-chats-user-avatar', {
|
|
63430
|
+
attrs: {
|
|
63431
|
+
"username": _vm.avatarName
|
|
63432
|
+
}
|
|
63433
|
+
}) : _c('unnnic-avatar-icon', {
|
|
63434
|
+
attrs: {
|
|
63435
|
+
"scheme": "aux-purple",
|
|
63436
|
+
"icon": _vm.avatarIcon,
|
|
63437
|
+
"size": _vm.size === 'small' ? 'sm' : 'lg'
|
|
63438
|
+
}
|
|
63439
|
+
}), _c('hgroup', {
|
|
63440
|
+
staticClass: "unnnic-chats-header__infos__title"
|
|
63441
|
+
}, [_c('h1', [_vm._v(" " + _vm._s(_vm.title) + " ")]), _vm.subtitle ? _c('h2', [_vm._v(" " + _vm._s(_vm.subtitle) + " ")]) : _vm._e()])], 1), _vm.size === 'large' ? _vm._t("default") : _vm._e()], 2), _vm.avatarName || _vm.size === 'small' ? _c('unnnic-button-close', {
|
|
63442
|
+
attrs: {
|
|
63443
|
+
"size": "sm"
|
|
63444
|
+
},
|
|
63445
|
+
on: {
|
|
63446
|
+
"close": _vm.close
|
|
63447
|
+
}
|
|
63448
|
+
}) : _vm._e()], 1);
|
|
63449
|
+
};
|
|
63450
|
+
var ChatsHeadervue_type_template_id_3c6cc0fe_staticRenderFns = [];
|
|
63451
|
+
|
|
63452
|
+
// CONCATENATED MODULE: ./src/components/ChatsHeader/ChatsHeader.vue?vue&type=template&id=3c6cc0fe&
|
|
63453
|
+
|
|
63454
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"d7996b54-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/ButtonClose/ButtonClose.vue?vue&type=template&id=2644eac4&
|
|
63455
|
+
var ButtonClosevue_type_template_id_2644eac4_render = function render() {
|
|
63456
|
+
var _vm = this,
|
|
63457
|
+
_c = _vm._self._c;
|
|
63458
|
+
return _c('div', {
|
|
63459
|
+
staticClass: "unnnic-button-close",
|
|
63460
|
+
on: {
|
|
63461
|
+
"click": _vm.close,
|
|
63462
|
+
"keypress": function ($event) {
|
|
63463
|
+
if (!$event.type.indexOf('key') && _vm._k($event.keyCode, "enter", 13, $event.key, "Enter")) return null;
|
|
63464
|
+
return _vm.close.apply(null, arguments);
|
|
63465
|
+
}
|
|
63466
|
+
}
|
|
63467
|
+
}, [_c('unnnic-icon', {
|
|
63468
|
+
attrs: {
|
|
63469
|
+
"icon": "close-1",
|
|
63470
|
+
"size": _vm.size
|
|
63471
|
+
}
|
|
63472
|
+
})], 1);
|
|
63473
|
+
};
|
|
63474
|
+
var ButtonClosevue_type_template_id_2644eac4_staticRenderFns = [];
|
|
63475
|
+
|
|
63476
|
+
// CONCATENATED MODULE: ./src/components/ButtonClose/ButtonClose.vue?vue&type=template&id=2644eac4&
|
|
63477
|
+
|
|
63478
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/ButtonClose/ButtonClose.vue?vue&type=script&lang=js&
|
|
63479
|
+
|
|
63480
|
+
/* harmony default export */ var ButtonClosevue_type_script_lang_js_ = ({
|
|
63481
|
+
name: 'ButtonClose',
|
|
63482
|
+
components: {
|
|
63483
|
+
UnnnicIcon: Icon
|
|
63484
|
+
},
|
|
63485
|
+
props: {
|
|
63486
|
+
size: {
|
|
63487
|
+
type: String,
|
|
63488
|
+
default: 'md',
|
|
63489
|
+
validator(value) {
|
|
63490
|
+
return ['nano', 'xs', 'sm', 'ant', 'md', 'lg', 'xl', 'avatar-lg', 'avatar-md', 'avatar-sm', 'avatar-xs', 'avatar-nano'].indexOf(value) !== -1;
|
|
63491
|
+
}
|
|
63492
|
+
},
|
|
63493
|
+
close: {
|
|
63494
|
+
type: Function,
|
|
63495
|
+
default: () => {}
|
|
63496
|
+
}
|
|
63497
|
+
}
|
|
63498
|
+
});
|
|
63499
|
+
// CONCATENATED MODULE: ./src/components/ButtonClose/ButtonClose.vue?vue&type=script&lang=js&
|
|
63500
|
+
/* harmony default export */ var ButtonClose_ButtonClosevue_type_script_lang_js_ = (ButtonClosevue_type_script_lang_js_);
|
|
63501
|
+
// EXTERNAL MODULE: ./src/components/ButtonClose/ButtonClose.vue?vue&type=style&index=0&id=2644eac4&prod&lang=scss&
|
|
63502
|
+
var ButtonClosevue_type_style_index_0_id_2644eac4_prod_lang_scss_ = __webpack_require__("eb67");
|
|
63503
|
+
|
|
63504
|
+
// CONCATENATED MODULE: ./src/components/ButtonClose/ButtonClose.vue
|
|
63505
|
+
|
|
63506
|
+
|
|
63507
|
+
|
|
63508
|
+
|
|
63509
|
+
|
|
63510
|
+
|
|
63511
|
+
/* normalize component */
|
|
63512
|
+
|
|
63513
|
+
var ButtonClose_component = normalizeComponent(
|
|
63514
|
+
ButtonClose_ButtonClosevue_type_script_lang_js_,
|
|
63515
|
+
ButtonClosevue_type_template_id_2644eac4_render,
|
|
63516
|
+
ButtonClosevue_type_template_id_2644eac4_staticRenderFns,
|
|
63517
|
+
false,
|
|
63518
|
+
null,
|
|
63519
|
+
null,
|
|
63520
|
+
null
|
|
63521
|
+
|
|
63522
|
+
)
|
|
63523
|
+
|
|
63524
|
+
/* harmony default export */ var ButtonClose = (ButtonClose_component.exports);
|
|
63525
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/ChatsHeader/ChatsHeader.vue?vue&type=script&lang=js&
|
|
63526
|
+
|
|
63527
|
+
|
|
63528
|
+
|
|
63529
|
+
|
|
63530
|
+
|
|
63531
|
+
|
|
63532
|
+
/* harmony default export */ var ChatsHeadervue_type_script_lang_js_ = ({
|
|
63533
|
+
name: 'UnnnicChatsHeader',
|
|
63534
|
+
mixins: [i18n],
|
|
63535
|
+
components: {
|
|
63536
|
+
UnnnicButtonClose: ButtonClose,
|
|
63537
|
+
UnnnicAvatarIcon: AvatarIcon,
|
|
63538
|
+
UnnnicChatsUserAvatar: ChatsUserAvatar,
|
|
63539
|
+
UnnnicBreadcrumb: Breadcrumb,
|
|
63540
|
+
UnnnicIcon: Icon
|
|
63541
|
+
},
|
|
63542
|
+
props: {
|
|
63543
|
+
title: {
|
|
63544
|
+
type: String,
|
|
63545
|
+
required: true,
|
|
63546
|
+
default: ''
|
|
63547
|
+
},
|
|
63548
|
+
subtitle: {
|
|
63549
|
+
type: String,
|
|
63550
|
+
default: ''
|
|
63551
|
+
},
|
|
63552
|
+
avatarIcon: {
|
|
63553
|
+
type: String,
|
|
63554
|
+
default: ''
|
|
63555
|
+
},
|
|
63556
|
+
avatarName: {
|
|
63557
|
+
type: String,
|
|
63558
|
+
default: ''
|
|
63559
|
+
},
|
|
63560
|
+
back: {
|
|
63561
|
+
type: Function,
|
|
63562
|
+
default: null
|
|
63563
|
+
},
|
|
63564
|
+
close: {
|
|
63565
|
+
type: Function,
|
|
63566
|
+
default: () => {}
|
|
63567
|
+
},
|
|
63568
|
+
crumbs: {
|
|
63569
|
+
type: Array,
|
|
63570
|
+
default: () => []
|
|
63571
|
+
}
|
|
63572
|
+
},
|
|
63573
|
+
data: () => ({
|
|
63574
|
+
size: 'small'
|
|
63575
|
+
}),
|
|
63576
|
+
beforeMount() {
|
|
63577
|
+
this.updateSize();
|
|
63578
|
+
window.addEventListener('resize', this.updateSize);
|
|
63579
|
+
},
|
|
63580
|
+
beforeDestroy() {
|
|
63581
|
+
window.removeEventListener('resize', this.updateSize);
|
|
63582
|
+
},
|
|
63583
|
+
methods: {
|
|
63584
|
+
updateSize() {
|
|
63585
|
+
const PHONE_SIZE = 600;
|
|
63586
|
+
if (window.innerWidth < PHONE_SIZE) {
|
|
63587
|
+
this.size = 'small';
|
|
63588
|
+
} else {
|
|
63589
|
+
this.size = 'large';
|
|
63590
|
+
}
|
|
63591
|
+
}
|
|
63592
|
+
},
|
|
63593
|
+
watch: {
|
|
63594
|
+
size(newSize) {
|
|
63595
|
+
this.$emit('resize', newSize);
|
|
63596
|
+
}
|
|
63597
|
+
}
|
|
63598
|
+
});
|
|
63599
|
+
// CONCATENATED MODULE: ./src/components/ChatsHeader/ChatsHeader.vue?vue&type=script&lang=js&
|
|
63600
|
+
/* harmony default export */ var ChatsHeader_ChatsHeadervue_type_script_lang_js_ = (ChatsHeadervue_type_script_lang_js_);
|
|
63601
|
+
// EXTERNAL MODULE: ./src/components/ChatsHeader/ChatsHeader.vue?vue&type=style&index=0&id=3c6cc0fe&prod&lang=scss&
|
|
63602
|
+
var ChatsHeadervue_type_style_index_0_id_3c6cc0fe_prod_lang_scss_ = __webpack_require__("a34c");
|
|
63603
|
+
|
|
63604
|
+
// CONCATENATED MODULE: ./src/components/ChatsHeader/ChatsHeader.vue
|
|
63605
|
+
|
|
63606
|
+
|
|
63607
|
+
|
|
63608
|
+
|
|
63609
|
+
|
|
63610
|
+
|
|
63611
|
+
/* normalize component */
|
|
63612
|
+
|
|
63613
|
+
var ChatsHeader_component = normalizeComponent(
|
|
63614
|
+
ChatsHeader_ChatsHeadervue_type_script_lang_js_,
|
|
63615
|
+
ChatsHeadervue_type_template_id_3c6cc0fe_render,
|
|
63616
|
+
ChatsHeadervue_type_template_id_3c6cc0fe_staticRenderFns,
|
|
63617
|
+
false,
|
|
63618
|
+
null,
|
|
63619
|
+
null,
|
|
63620
|
+
null
|
|
63621
|
+
|
|
63622
|
+
)
|
|
63623
|
+
|
|
63624
|
+
/* harmony default export */ var ChatsHeader = (ChatsHeader_component.exports);
|
|
63625
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"d7996b54-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/ChatsMessage/ChatsMessage.vue?vue&type=template&id=2e128b82&
|
|
63626
|
+
var ChatsMessagevue_type_template_id_2e128b82_render = function render() {
|
|
63627
|
+
var _vm = this,
|
|
63628
|
+
_c = _vm._self._c;
|
|
63629
|
+
return _c('div', {
|
|
63630
|
+
staticClass: "unnnic-chats-message",
|
|
63631
|
+
class: {
|
|
63632
|
+
sent: _vm.type === 'sent',
|
|
63633
|
+
sending: _vm.status === 'sending',
|
|
63634
|
+
'is-document': _vm.isDocument,
|
|
63635
|
+
'is-media': _vm.isMedia,
|
|
63636
|
+
'is-image': _vm.isImage,
|
|
63637
|
+
'is-video': _vm.isVideo
|
|
63638
|
+
},
|
|
63639
|
+
on: {
|
|
63640
|
+
"click": function ($event) {
|
|
63641
|
+
return _vm.$emit('click');
|
|
63642
|
+
}
|
|
63643
|
+
}
|
|
63644
|
+
}, [_vm.isText ? _c('p', {
|
|
63645
|
+
staticClass: "unnnic-chats-message__text"
|
|
63646
|
+
}, [_vm._t("text", null, {
|
|
63647
|
+
"content": _vm.formattedText
|
|
63648
|
+
})], 2) : _vm._e(), _vm.isDocument ? _c('div', {
|
|
63649
|
+
staticClass: "unnnic-chats-message__document"
|
|
63650
|
+
}, [_vm.status === 'sending' || _vm.status === 'failed' ? _c('unnnic-icon', {
|
|
63651
|
+
attrs: {
|
|
63652
|
+
"icon": _vm.status === 'sending' ? 'loading-circle-1' : 'upload-bottom-1',
|
|
63653
|
+
"size": "lg"
|
|
63654
|
+
}
|
|
63655
|
+
}) : _c('unnnic-icon', {
|
|
63656
|
+
attrs: {
|
|
63657
|
+
"icon": "office-file-pdf-1-1",
|
|
63658
|
+
"scheme": "neutral-dark",
|
|
63659
|
+
"size": "lg"
|
|
63660
|
+
}
|
|
63661
|
+
}), _c('p', {
|
|
63662
|
+
staticClass: "unnnic-chats-message__document__text"
|
|
63663
|
+
}, [_vm._v(" " + _vm._s(_vm.documentName) + " ")])], 1) : _c('div', {
|
|
63664
|
+
staticClass: "unnnic-chats-message__media__container",
|
|
63665
|
+
class: {
|
|
63666
|
+
failed: _vm.failedToSendMedia
|
|
63667
|
+
},
|
|
63668
|
+
on: {
|
|
63669
|
+
"click": function ($event) {
|
|
63670
|
+
return _vm.$emit('click-image');
|
|
63671
|
+
}
|
|
63672
|
+
}
|
|
63673
|
+
}, [_vm._t("media"), (_vm.sendingMedia || _vm.failedToSendMedia) && (_vm.isImage || _vm.isVideo) ? _c('unnnic-chats-message-status-backdrop', {
|
|
63674
|
+
attrs: {
|
|
63675
|
+
"status": _vm.status
|
|
63676
|
+
}
|
|
63677
|
+
}) : _vm._e()], 2), _vm.sendingMedia ? _c('unnnic-icon', {
|
|
63678
|
+
attrs: {
|
|
63679
|
+
"icon": "loading-circle-1",
|
|
63680
|
+
"size": "avatar-nano"
|
|
63681
|
+
}
|
|
63682
|
+
}) : _c('p', {
|
|
63683
|
+
staticClass: "unnnic-chats-message__time"
|
|
63684
|
+
}, [_vm._v(_vm._s(_vm.formattedTime))])], 1);
|
|
63685
|
+
};
|
|
63686
|
+
var ChatsMessagevue_type_template_id_2e128b82_staticRenderFns = [];
|
|
63687
|
+
|
|
63688
|
+
// CONCATENATED MODULE: ./src/components/ChatsMessage/ChatsMessage.vue?vue&type=template&id=2e128b82&
|
|
63689
|
+
|
|
63690
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"d7996b54-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/ChatsMessage/ChatsMessageStatusBackdrop.vue?vue&type=template&id=db9a0aca&
|
|
63691
|
+
var ChatsMessageStatusBackdropvue_type_template_id_db9a0aca_render = function render() {
|
|
63692
|
+
var _vm = this,
|
|
63693
|
+
_c = _vm._self._c;
|
|
63694
|
+
return _c('div', {
|
|
63695
|
+
staticClass: "unnnic-chats-message-status-backdrop"
|
|
63696
|
+
}, [_c('unnnic-icon', {
|
|
63697
|
+
attrs: {
|
|
63698
|
+
"icon": _vm.status === 'sending' ? 'loading-circle-1' : 'upload-bottom-1',
|
|
63699
|
+
"scheme": "neutral-white",
|
|
63700
|
+
"size": "avatar-sm"
|
|
63701
|
+
}
|
|
63702
|
+
})], 1);
|
|
63703
|
+
};
|
|
63704
|
+
var ChatsMessageStatusBackdropvue_type_template_id_db9a0aca_staticRenderFns = [];
|
|
63705
|
+
|
|
63706
|
+
// CONCATENATED MODULE: ./src/components/ChatsMessage/ChatsMessageStatusBackdrop.vue?vue&type=template&id=db9a0aca&
|
|
63707
|
+
|
|
63708
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/ChatsMessage/ChatsMessageStatusBackdrop.vue?vue&type=script&lang=js&
|
|
63709
|
+
|
|
63710
|
+
|
|
63711
|
+
/* harmony default export */ var ChatsMessageStatusBackdropvue_type_script_lang_js_ = ({
|
|
63712
|
+
name: 'UnnnicChatsMessageStatusBackdrop',
|
|
63713
|
+
components: {
|
|
63714
|
+
UnnnicIcon: Icon
|
|
63715
|
+
},
|
|
63716
|
+
props: {
|
|
63717
|
+
status: {
|
|
63718
|
+
type: String,
|
|
63719
|
+
required: true,
|
|
63720
|
+
default: 'sending',
|
|
63721
|
+
validate(status) {
|
|
63722
|
+
return ['sending', 'failed'].includes(status);
|
|
63723
|
+
}
|
|
63724
|
+
}
|
|
63725
|
+
}
|
|
63726
|
+
});
|
|
63727
|
+
// CONCATENATED MODULE: ./src/components/ChatsMessage/ChatsMessageStatusBackdrop.vue?vue&type=script&lang=js&
|
|
63728
|
+
/* harmony default export */ var ChatsMessage_ChatsMessageStatusBackdropvue_type_script_lang_js_ = (ChatsMessageStatusBackdropvue_type_script_lang_js_);
|
|
63729
|
+
// EXTERNAL MODULE: ./src/components/ChatsMessage/ChatsMessageStatusBackdrop.vue?vue&type=style&index=0&id=db9a0aca&prod&lang=scss&
|
|
63730
|
+
var ChatsMessageStatusBackdropvue_type_style_index_0_id_db9a0aca_prod_lang_scss_ = __webpack_require__("df19");
|
|
63731
|
+
|
|
63732
|
+
// CONCATENATED MODULE: ./src/components/ChatsMessage/ChatsMessageStatusBackdrop.vue
|
|
63733
|
+
|
|
63734
|
+
|
|
63735
|
+
|
|
63736
|
+
|
|
63737
|
+
|
|
63738
|
+
|
|
63739
|
+
/* normalize component */
|
|
63740
|
+
|
|
63741
|
+
var ChatsMessageStatusBackdrop_component = normalizeComponent(
|
|
63742
|
+
ChatsMessage_ChatsMessageStatusBackdropvue_type_script_lang_js_,
|
|
63743
|
+
ChatsMessageStatusBackdropvue_type_template_id_db9a0aca_render,
|
|
63744
|
+
ChatsMessageStatusBackdropvue_type_template_id_db9a0aca_staticRenderFns,
|
|
63745
|
+
false,
|
|
63746
|
+
null,
|
|
63747
|
+
null,
|
|
63748
|
+
null
|
|
63749
|
+
|
|
63750
|
+
)
|
|
63751
|
+
|
|
63752
|
+
/* harmony default export */ var ChatsMessageStatusBackdrop = (ChatsMessageStatusBackdrop_component.exports);
|
|
63753
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/ChatsMessage/ChatsMessage.vue?vue&type=script&lang=js&
|
|
63754
|
+
|
|
63755
|
+
|
|
63756
|
+
|
|
63757
|
+
/* harmony default export */ var ChatsMessagevue_type_script_lang_js_ = ({
|
|
63758
|
+
name: 'UnnnicChatsMessage',
|
|
63759
|
+
components: {
|
|
63760
|
+
UnnnicChatsMessageStatusBackdrop: ChatsMessageStatusBackdrop,
|
|
63761
|
+
UnnnicIcon: Icon
|
|
63762
|
+
},
|
|
63763
|
+
props: {
|
|
63764
|
+
type: {
|
|
63765
|
+
type: String,
|
|
63766
|
+
default: 'received',
|
|
63767
|
+
validate(type) {
|
|
63768
|
+
return ['received', 'sent'].includes(type);
|
|
63769
|
+
}
|
|
63770
|
+
},
|
|
63771
|
+
time: {
|
|
63772
|
+
type: Date,
|
|
63773
|
+
default: null,
|
|
63774
|
+
required: true
|
|
63775
|
+
},
|
|
63776
|
+
documentName: {
|
|
63777
|
+
type: Boolean,
|
|
63778
|
+
default: false
|
|
63779
|
+
},
|
|
63780
|
+
status: {
|
|
63781
|
+
type: String,
|
|
63782
|
+
default: 'sent',
|
|
63783
|
+
validate(status) {
|
|
63784
|
+
return ['sending', 'sent', 'failed'].includes(status);
|
|
63785
|
+
}
|
|
63786
|
+
}
|
|
63787
|
+
},
|
|
63788
|
+
computed: {
|
|
63789
|
+
formattedText() {
|
|
63790
|
+
var _this$$slots$text;
|
|
63791
|
+
const slotContent = (_this$$slots$text = this.$slots.text) === null || _this$$slots$text === void 0 || (_this$$slots$text = _this$$slots$text[0]) === null || _this$$slots$text === void 0 ? void 0 : _this$$slots$text.text;
|
|
63792
|
+
return typeof slotContent === 'string' ? slotContent : '';
|
|
63793
|
+
},
|
|
63794
|
+
formattedTime() {
|
|
63795
|
+
const date = new Date(this.time);
|
|
63796
|
+
const hours = date.getHours();
|
|
63797
|
+
const minutes = date.getMinutes();
|
|
63798
|
+
const formattedTime = `${hours}:${minutes}`;
|
|
63799
|
+
return formattedTime;
|
|
63800
|
+
},
|
|
63801
|
+
isText() {
|
|
63802
|
+
return !!this.$slots.text;
|
|
63803
|
+
},
|
|
63804
|
+
isMedia() {
|
|
63805
|
+
return !!this.$slots.media;
|
|
63806
|
+
},
|
|
63807
|
+
isImage() {
|
|
63808
|
+
const slotContents = this.$slots.media;
|
|
63809
|
+
if (slotContents && slotContents[0]) {
|
|
63810
|
+
const isImgTag = slotContents[0].tag === 'img';
|
|
63811
|
+
return isImgTag;
|
|
63812
|
+
}
|
|
63813
|
+
return false;
|
|
63814
|
+
},
|
|
63815
|
+
isVideo() {
|
|
63816
|
+
const slotContents = this.$slots.media;
|
|
63817
|
+
if (slotContents && slotContents[0]) {
|
|
63818
|
+
const isVideoTag = slotContents[0].tag === 'video';
|
|
63819
|
+
return isVideoTag;
|
|
63820
|
+
}
|
|
63821
|
+
return false;
|
|
63822
|
+
},
|
|
63823
|
+
isDocument() {
|
|
63824
|
+
return !!this.documentName;
|
|
63825
|
+
},
|
|
63826
|
+
sendingMedia() {
|
|
63827
|
+
return this.isMedia && this.status === 'sending';
|
|
63828
|
+
},
|
|
63829
|
+
failedToSendMedia() {
|
|
63830
|
+
return (this.isImage || this.isVideo) && this.status === 'failed';
|
|
63831
|
+
}
|
|
63832
|
+
}
|
|
63833
|
+
});
|
|
63834
|
+
// CONCATENATED MODULE: ./src/components/ChatsMessage/ChatsMessage.vue?vue&type=script&lang=js&
|
|
63835
|
+
/* harmony default export */ var ChatsMessage_ChatsMessagevue_type_script_lang_js_ = (ChatsMessagevue_type_script_lang_js_);
|
|
63836
|
+
// EXTERNAL MODULE: ./src/components/ChatsMessage/ChatsMessage.vue?vue&type=style&index=0&id=2e128b82&prod&lang=scss&
|
|
63837
|
+
var ChatsMessagevue_type_style_index_0_id_2e128b82_prod_lang_scss_ = __webpack_require__("c324");
|
|
63838
|
+
|
|
63839
|
+
// CONCATENATED MODULE: ./src/components/ChatsMessage/ChatsMessage.vue
|
|
63840
|
+
|
|
63841
|
+
|
|
63842
|
+
|
|
63843
|
+
|
|
63844
|
+
|
|
63845
|
+
|
|
63846
|
+
/* normalize component */
|
|
63847
|
+
|
|
63848
|
+
var ChatsMessage_component = normalizeComponent(
|
|
63849
|
+
ChatsMessage_ChatsMessagevue_type_script_lang_js_,
|
|
63850
|
+
ChatsMessagevue_type_template_id_2e128b82_render,
|
|
63851
|
+
ChatsMessagevue_type_template_id_2e128b82_staticRenderFns,
|
|
63852
|
+
false,
|
|
63853
|
+
null,
|
|
63854
|
+
null,
|
|
63855
|
+
null
|
|
63856
|
+
|
|
63857
|
+
)
|
|
63858
|
+
|
|
63859
|
+
/* harmony default export */ var ChatsMessage = (ChatsMessage_component.exports);
|
|
63860
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"d7996b54-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/ChatsNavbar/ChatsNavbar.vue?vue&type=template&id=121e5a67&
|
|
63861
|
+
var ChatsNavbarvue_type_template_id_121e5a67_render = function render() {
|
|
63862
|
+
var _vm = this,
|
|
63863
|
+
_c = _vm._self._c;
|
|
63864
|
+
return _c('nav', {
|
|
63865
|
+
staticClass: "unnnic-chats-navbar"
|
|
63866
|
+
}, [_c('ol', {
|
|
63867
|
+
staticClass: "unnnic-chats-navbar__list"
|
|
63868
|
+
}, _vm._l(_vm.links, function (link, index) {
|
|
63869
|
+
return _c('li', {
|
|
63870
|
+
key: link.icon + index
|
|
63871
|
+
}, [_c('a', {
|
|
63872
|
+
class: ['unnnic-chats-navbar__link', 'unnnic--clickable', {
|
|
63873
|
+
selected: _vm.isSelected(link)
|
|
63874
|
+
}],
|
|
63875
|
+
on: {
|
|
63876
|
+
"click": () => {
|
|
63877
|
+
_vm.selectLink(link);
|
|
63878
|
+
link.action();
|
|
63879
|
+
}
|
|
63880
|
+
}
|
|
63881
|
+
}, [_c('unnnic-icon', {
|
|
63882
|
+
attrs: {
|
|
63883
|
+
"icon": _vm.isSelected(link) ? link.icon.selected : link.icon.default,
|
|
63884
|
+
"size": "lg",
|
|
63885
|
+
"scheme": "neutral-snow"
|
|
63886
|
+
}
|
|
63887
|
+
})], 1)]);
|
|
63888
|
+
}), 0)]);
|
|
63889
|
+
};
|
|
63890
|
+
var ChatsNavbarvue_type_template_id_121e5a67_staticRenderFns = [];
|
|
63891
|
+
|
|
63892
|
+
// CONCATENATED MODULE: ./src/components/ChatsNavbar/ChatsNavbar.vue?vue&type=template&id=121e5a67&
|
|
63893
|
+
|
|
63894
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/ChatsNavbar/ChatsNavbar.vue?vue&type=script&lang=js&
|
|
63895
|
+
|
|
63896
|
+
/* harmony default export */ var ChatsNavbarvue_type_script_lang_js_ = ({
|
|
63897
|
+
name: 'unnnic-chats-navbar',
|
|
63898
|
+
components: {
|
|
63899
|
+
UnnnicIcon: Icon
|
|
63900
|
+
},
|
|
63901
|
+
props: {
|
|
63902
|
+
links: {
|
|
63903
|
+
type: Array,
|
|
63904
|
+
required: true,
|
|
63905
|
+
default: () => [{
|
|
63906
|
+
name: '',
|
|
63907
|
+
icon: {
|
|
63908
|
+
default: '',
|
|
63909
|
+
selected: ''
|
|
63910
|
+
},
|
|
63911
|
+
action: () => {}
|
|
63912
|
+
}],
|
|
63913
|
+
validator(value) {
|
|
63914
|
+
if (value.length === 0) {
|
|
63915
|
+
return false;
|
|
63916
|
+
}
|
|
63917
|
+
function isValidLink(link) {
|
|
63918
|
+
const hasValidName = typeof link.name === 'string';
|
|
63919
|
+
const hasValidIcon = typeof link.icon.default === 'string';
|
|
63920
|
+
const hasValidAction = typeof link.action === 'function';
|
|
63921
|
+
return hasValidName && hasValidIcon && hasValidAction;
|
|
63922
|
+
}
|
|
63923
|
+
return value.every(isValidLink);
|
|
63924
|
+
}
|
|
63925
|
+
},
|
|
63926
|
+
initialLink: {
|
|
63927
|
+
type: String,
|
|
63928
|
+
required: false
|
|
63929
|
+
}
|
|
63930
|
+
},
|
|
63931
|
+
data() {
|
|
63932
|
+
return {
|
|
63933
|
+
selectedLink: null
|
|
63934
|
+
};
|
|
63935
|
+
},
|
|
63936
|
+
methods: {
|
|
63937
|
+
selectLink(link) {
|
|
63938
|
+
this.selectedLink = link;
|
|
63939
|
+
},
|
|
63940
|
+
isSelected(link) {
|
|
63941
|
+
return this.selectedLink === link;
|
|
63942
|
+
}
|
|
63943
|
+
},
|
|
63944
|
+
mounted() {
|
|
63945
|
+
if (this.initialLink) {
|
|
63946
|
+
const initialLinkToSelect = this.links.find(link => link.name === this.initialLink);
|
|
63947
|
+
this.selectLink(initialLinkToSelect);
|
|
63948
|
+
}
|
|
63949
|
+
}
|
|
63950
|
+
});
|
|
63951
|
+
// CONCATENATED MODULE: ./src/components/ChatsNavbar/ChatsNavbar.vue?vue&type=script&lang=js&
|
|
63952
|
+
/* harmony default export */ var ChatsNavbar_ChatsNavbarvue_type_script_lang_js_ = (ChatsNavbarvue_type_script_lang_js_);
|
|
63953
|
+
// EXTERNAL MODULE: ./src/components/ChatsNavbar/ChatsNavbar.vue?vue&type=style&index=0&id=121e5a67&prod&lang=scss&
|
|
63954
|
+
var ChatsNavbarvue_type_style_index_0_id_121e5a67_prod_lang_scss_ = __webpack_require__("a02d");
|
|
63955
|
+
|
|
63956
|
+
// CONCATENATED MODULE: ./src/components/ChatsNavbar/ChatsNavbar.vue
|
|
63957
|
+
|
|
63958
|
+
|
|
63959
|
+
|
|
63960
|
+
|
|
63961
|
+
|
|
63962
|
+
|
|
63963
|
+
/* normalize component */
|
|
63964
|
+
|
|
63965
|
+
var ChatsNavbar_component = normalizeComponent(
|
|
63966
|
+
ChatsNavbar_ChatsNavbarvue_type_script_lang_js_,
|
|
63967
|
+
ChatsNavbarvue_type_template_id_121e5a67_render,
|
|
63968
|
+
ChatsNavbarvue_type_template_id_121e5a67_staticRenderFns,
|
|
63969
|
+
false,
|
|
63970
|
+
null,
|
|
63971
|
+
null,
|
|
63972
|
+
null
|
|
63973
|
+
|
|
63974
|
+
)
|
|
63975
|
+
|
|
63976
|
+
/* harmony default export */ var ChatsNavbar = (ChatsNavbar_component.exports);
|
|
62763
63977
|
// CONCATENATED MODULE: ./src/components/index.js
|
|
62764
63978
|
|
|
62765
63979
|
|
|
@@ -62828,6 +64042,12 @@ var ProgressBar_component = normalizeComponent(
|
|
|
62828
64042
|
|
|
62829
64043
|
|
|
62830
64044
|
|
|
64045
|
+
|
|
64046
|
+
|
|
64047
|
+
|
|
64048
|
+
|
|
64049
|
+
|
|
64050
|
+
|
|
62831
64051
|
|
|
62832
64052
|
|
|
62833
64053
|
|
|
@@ -62907,7 +64127,13 @@ const components = {
|
|
|
62907
64127
|
unnnicStarRating: StarRating,
|
|
62908
64128
|
unnnicAudioRecorder: AudioRecorder,
|
|
62909
64129
|
unnnicCircleProgressBar: CircleProgressBar,
|
|
62910
|
-
unnnicProgressBar: ProgressBar
|
|
64130
|
+
unnnicProgressBar: ProgressBar,
|
|
64131
|
+
unnnicChatsContact: ChatsContact,
|
|
64132
|
+
unnnicChatsDashboardTagLive: ChatsDashboardTagLive,
|
|
64133
|
+
unnnicChatsHeader: ChatsHeader,
|
|
64134
|
+
unnnicChatsMessage: ChatsMessage,
|
|
64135
|
+
unnnicChatsNavbar: ChatsNavbar,
|
|
64136
|
+
unnnicChatsUserAvatar: ChatsUserAvatar
|
|
62911
64137
|
};
|
|
62912
64138
|
Object.keys(components).forEach(name => {
|
|
62913
64139
|
external_commonjs_vue_commonjs2_vue_root_Vue_default.a.component(name, components[name]);
|
|
@@ -62987,6 +64213,12 @@ const unnnicStarRating = StarRating;
|
|
|
62987
64213
|
const unnnicAudioRecorder = AudioRecorder;
|
|
62988
64214
|
const unnnicCircleProgressBar = CircleProgressBar;
|
|
62989
64215
|
const unnnicProgressBar = ProgressBar;
|
|
64216
|
+
const unnnicChatsContact = ChatsContact;
|
|
64217
|
+
const unnnicChatsDashboardTagLive = ChatsDashboardTagLive;
|
|
64218
|
+
const unnnicChatsHeader = ChatsHeader;
|
|
64219
|
+
const unnnicChatsMessage = ChatsMessage;
|
|
64220
|
+
const unnnicChatsNavbar = ChatsNavbar;
|
|
64221
|
+
const unnnicChatsUserAvatar = ChatsUserAvatar;
|
|
62990
64222
|
// CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/entry-lib-no-default.js
|
|
62991
64223
|
|
|
62992
64224
|
|