chat-customer-47net 0.1.4 → 1.0.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.
@@ -92,7 +92,7 @@ var render$9 = function () {
92
92
  return _vm.handleTouchEnd(e, "requestTranscript");
93
93
  }
94
94
  }
95
- }, [_vm._v(" Request Transcript ")]), _c("div", {
95
+ }, [_vm._v(" Request Transcript ")]), _vm.activeItem.status !== "3" ? _c("div", {
96
96
  staticClass: "consult-47this-header-operate-item",
97
97
  on: {
98
98
  "click": _vm.closeChat,
@@ -103,7 +103,7 @@ var render$9 = function () {
103
103
  return _vm.handleTouchEnd(e, "closeChat");
104
104
  }
105
105
  }
106
- }, [_vm._v(" End Conversation ")])]) : _vm._e()]);
106
+ }, [_vm._v(" End Conversation ")]) : _vm._e()]) : _vm._e()]);
107
107
  };
108
108
  var staticRenderFns$8 = [];
109
109
  const ConsultHeader_vue_vue_type_style_index_0_scoped_true_lang = "";
@@ -215,21 +215,8 @@ const __vue2_script$8 = {
215
215
  e.preventDefault();
216
216
  },
217
217
  closeChat() {
218
- if (this.$sweetalert) {
219
- this.$sweetalert.insert({
220
- title: "Leave the conversation",
221
- text: 'Clicking "ok" will transfer you to a customer service representative. May I ask if you want to continue?',
222
- confirmButtonText: "OK"
223
- }).then(result => {
224
- if (result.isConfirmed) {
225
- this.$emit("closeChat", this.activeItem.roomId);
226
- this.showMoreOperate = false;
227
- }
228
- });
229
- } else {
230
- this.$emit("closeChat", this.activeItem.roomId);
231
- this.showMoreOperate = false;
232
- }
218
+ this.$emit("closeChat", this.activeItem.roomId);
219
+ this.showMoreOperate = false;
233
220
  },
234
221
  handleImgError() {
235
222
  this.activeItem.avatar = `${this.initData.socketUrl}/static/images/aiChat-${this.initData.siteName}.svg`;
@@ -244,7 +231,7 @@ const __vue2_script$8 = {
244
231
  }
245
232
  };
246
233
  const __cssModules$8 = {};
247
- var __component__$8 = /* @__PURE__ */normalizeComponent(__vue2_script$8, render$9, staticRenderFns$8, false, __vue2_injectStyles$8, "510468c2", null, null);
234
+ var __component__$8 = /* @__PURE__ */normalizeComponent(__vue2_script$8, render$9, staticRenderFns$8, false, __vue2_injectStyles$8, "302df9fa", null, null);
248
235
  function __vue2_injectStyles$8(context) {
249
236
  for (let o in __cssModules$8) {
250
237
  this[o] = __cssModules$8[o];
@@ -987,7 +974,7 @@ var render$8 = function () {
987
974
  return _vm.handleTouchEnd(e, "handleStartNewConversation");
988
975
  }
989
976
  }
990
- }, [_vm._v(" Start new conersation 💬 ")]) : _vm._e()], 2)]);
977
+ }, [_vm._v(" Start new conversation 💬 ")]) : _vm._e()], 2)]);
991
978
  };
992
979
  var staticRenderFns$7 = [function () {
993
980
  var _vm = this;
@@ -1086,7 +1073,7 @@ const __vue2_script$7 = {
1086
1073
  }
1087
1074
  };
1088
1075
  const __cssModules$7 = {};
1089
- var __component__$7 = /* @__PURE__ */normalizeComponent(__vue2_script$7, render$8, staticRenderFns$7, false, __vue2_injectStyles$7, "3465c920", null, null);
1076
+ var __component__$7 = /* @__PURE__ */normalizeComponent(__vue2_script$7, render$8, staticRenderFns$7, false, __vue2_injectStyles$7, "ae646dbc", null, null);
1090
1077
  function __vue2_injectStyles$7(context) {
1091
1078
  for (let o in __cssModules$7) {
1092
1079
  this[o] = __cssModules$7[o];
@@ -1273,7 +1260,7 @@ var render$6 = function () {
1273
1260
  return _vm.handleTouchEnd(e, "new");
1274
1261
  }
1275
1262
  }
1276
- }, [_vm._v(" Start new conersation 💬 ")])])]);
1263
+ }, [_vm._v(" Start new conversation 💬 ")])])]);
1277
1264
  };
1278
1265
  var staticRenderFns$5 = [];
1279
1266
  const ConsultConversations_vue_vue_type_style_index_0_scoped_true_lang = "";
@@ -1321,7 +1308,7 @@ const __vue2_script$5 = {
1321
1308
  }
1322
1309
  };
1323
1310
  const __cssModules$5 = {};
1324
- var __component__$5 = /* @__PURE__ */normalizeComponent(__vue2_script$5, render$6, staticRenderFns$5, false, __vue2_injectStyles$5, "087eaae4", null, null);
1311
+ var __component__$5 = /* @__PURE__ */normalizeComponent(__vue2_script$5, render$6, staticRenderFns$5, false, __vue2_injectStyles$5, "368dd12c", null, null);
1325
1312
  function __vue2_injectStyles$5(context) {
1326
1313
  for (let o in __cssModules$5) {
1327
1314
  this[o] = __cssModules$5[o];
@@ -6049,17 +6036,33 @@ function updateRoomByHumanAgent(data, baseURL) {
6049
6036
  baseURL
6050
6037
  });
6051
6038
  }
6052
- function updateRoomStatus(data, baseURL) {
6039
+ function sendCustomerChatHistory(data, baseURL) {
6053
6040
  return request({
6054
- url: `/api/rooms/updateRoomStatus`,
6041
+ url: `/api/chats/sendCustomerChatHistory`,
6055
6042
  method: "post",
6056
6043
  data,
6057
6044
  baseURL
6058
6045
  });
6059
6046
  }
6060
- function sendCustomerChatHistory(data, baseURL) {
6047
+ function sendLeaveMessageApi(data, baseURL) {
6061
6048
  return request({
6062
- url: `/api/chats/sendCustomerChatHistory`,
6049
+ url: `/api/users/sendLeaveMessage`,
6050
+ method: "post",
6051
+ data,
6052
+ baseURL
6053
+ });
6054
+ }
6055
+ function endRoomByClientApi(data, baseURL) {
6056
+ return request({
6057
+ url: `/api/rooms/endRoomByClient`,
6058
+ method: "post",
6059
+ data,
6060
+ baseURL
6061
+ });
6062
+ }
6063
+ function restartOpenApi(data, baseURL) {
6064
+ return request({
6065
+ url: `/api/rooms/restartOpen`,
6063
6066
  method: "post",
6064
6067
  data,
6065
6068
  baseURL
@@ -6069,7 +6072,7 @@ var render$5 = function () {
6069
6072
  var _vm = this;
6070
6073
  var _h = _vm.$createElement;
6071
6074
  var _c = _vm._self._c || _h;
6072
- return _c("div", [_vm.type === 1 ? _c("div", {
6075
+ return _c("div", [_vm.type === 1 || _vm.type === 8 ? _c("div", {
6073
6076
  staticClass: "consult-47this-chat-item",
6074
6077
  style: {
6075
6078
  "--theme-color": _vm.themeColors,
@@ -6131,13 +6134,94 @@ var render$5 = function () {
6131
6134
  on: {
6132
6135
  "click": _vm.submitEmail
6133
6136
  }
6134
- }, [_vm._v("Submit")])]) : _vm._e()]);
6137
+ }, [_vm._v("Submit")])]) : _vm._e(), _vm.type === 7 ? _c("div", {
6138
+ staticClass: "consult-47this-chat-email consult-47this-chat-leave"
6139
+ }, [_c("h2", [_vm._v("Please leave a message")]), _c("h4", [_vm._v(_vm._s(_vm.message))]), _vm._m(1), _c("input", {
6140
+ directives: [{
6141
+ name: "model",
6142
+ rawName: "v-model",
6143
+ value: _vm.clientEmail,
6144
+ expression: "clientEmail"
6145
+ }],
6146
+ attrs: {
6147
+ "type": "text",
6148
+ "placeholder": "Enter your email address"
6149
+ },
6150
+ domProps: {
6151
+ "value": _vm.clientEmail
6152
+ },
6153
+ on: {
6154
+ "input": function ($event) {
6155
+ if ($event.target.composing) return;
6156
+ _vm.clientEmail = $event.target.value;
6157
+ }
6158
+ }
6159
+ }), _vm._m(2), _c("input", {
6160
+ directives: [{
6161
+ name: "model",
6162
+ rawName: "v-model",
6163
+ value: _vm.clientName,
6164
+ expression: "clientName"
6165
+ }],
6166
+ attrs: {
6167
+ "type": "text",
6168
+ "placeholder": "Enter your name"
6169
+ },
6170
+ domProps: {
6171
+ "value": _vm.clientName
6172
+ },
6173
+ on: {
6174
+ "input": function ($event) {
6175
+ if ($event.target.composing) return;
6176
+ _vm.clientName = $event.target.value;
6177
+ }
6178
+ }
6179
+ }), _vm._m(3), _c("input", {
6180
+ directives: [{
6181
+ name: "model",
6182
+ rawName: "v-model",
6183
+ value: _vm.clientQuestion,
6184
+ expression: "clientQuestion"
6185
+ }],
6186
+ attrs: {
6187
+ "type": "text",
6188
+ "placeholder": "Enter your question"
6189
+ },
6190
+ domProps: {
6191
+ "value": _vm.clientQuestion
6192
+ },
6193
+ on: {
6194
+ "input": function ($event) {
6195
+ if ($event.target.composing) return;
6196
+ _vm.clientQuestion = $event.target.value;
6197
+ }
6198
+ }
6199
+ }), _c("button", {
6200
+ on: {
6201
+ "click": _vm.sendLeaveMessage
6202
+ }
6203
+ }, [_vm._v("send")])]) : _vm._e()]);
6135
6204
  };
6136
6205
  var staticRenderFns$4 = [function () {
6137
6206
  var _vm = this;
6138
6207
  var _h = _vm.$createElement;
6139
6208
  var _c = _vm._self._c || _h;
6140
6209
  return _c("h3", [_vm._v("Email"), _c("span", [_vm._v("*")])]);
6210
+ }, function () {
6211
+ var _vm = this;
6212
+ var _h = _vm.$createElement;
6213
+ var _c = _vm._self._c || _h;
6214
+ return _c("h3", [_vm._v("Email"), _c("span", [_vm._v("*")])]);
6215
+ }, function () {
6216
+ var _vm = this;
6217
+ var _h = _vm.$createElement;
6218
+ var _c = _vm._self._c || _h;
6219
+ return _c("h3", [_vm._v("Name"), _c("span", [_vm._v("*")])]);
6220
+ }, function () {
6221
+ var _vm = this;
6222
+ var _h = _vm.$createElement;
6223
+ var _c = _vm._self._c || _h;
6224
+ return _c("h3", [_vm._v("Message"), _c("span", [_vm._v("*")])]);
6141
6225
  }];
6142
6226
  const ConsultChatItem_vue_vue_type_style_index_0_scoped_true_lang = "";
6143
6227
  const ConsultChatItem_vue_vue_type_style_index_1_lang = "";
@@ -6158,6 +6242,10 @@ const __vue2_script$4 = {
6158
6242
  name: "ConsultChatItem",
6159
6243
  components: {},
6160
6244
  props: {
6245
+ item: {
6246
+ type: Object,
6247
+ default: () => ({})
6248
+ },
6161
6249
  initData: {
6162
6250
  type: Object,
6163
6251
  default: () => ({})
@@ -6216,8 +6304,12 @@ const __vue2_script$4 = {
6216
6304
  }
6217
6305
  },
6218
6306
  data() {
6307
+ var _a2;
6219
6308
  return {
6220
- email: ""
6309
+ email: "",
6310
+ clientEmail: ((_a2 = this.initData.user) == null ? void 0 : _a2.email) || "",
6311
+ clientName: this.initData.user.name || "",
6312
+ clientQuestion: ""
6221
6313
  };
6222
6314
  },
6223
6315
  computed: {
@@ -6277,11 +6369,71 @@ const __vue2_script$4 = {
6277
6369
  email: this.email,
6278
6370
  updateTime: this.updateTime
6279
6371
  });
6372
+ },
6373
+ sendLeaveMessage() {
6374
+ if (!this.clientEmail) {
6375
+ if (this.$sweetalert) {
6376
+ this.$sweetalert.insert({
6377
+ title: "Something went wrong",
6378
+ text: "Please enter your email address",
6379
+ type: "error",
6380
+ confirmButtonText: "OK"
6381
+ });
6382
+ } else {
6383
+ alert("Please enter your email address");
6384
+ }
6385
+ return;
6386
+ }
6387
+ if (this.clientEmail && !this.clientEmail.match(/^([a-zA-Z0-9_-])+@([a-zA-Z0-9_-])+((.[a-zA-Z0-9_-]{2,3}){1,2})$/)) {
6388
+ if (this.$sweetalert) {
6389
+ this.$sweetalert.insert({
6390
+ title: "Something went wrong",
6391
+ text: "Email format is incorrect",
6392
+ type: "error",
6393
+ confirmButtonText: "OK"
6394
+ });
6395
+ } else {
6396
+ alert("Email format is incorrect");
6397
+ }
6398
+ return;
6399
+ }
6400
+ if (!this.clientName) {
6401
+ if (this.$sweetalert) {
6402
+ this.$sweetalert.insert({
6403
+ title: "Something went wrong",
6404
+ text: "Please enter your name",
6405
+ type: "error",
6406
+ confirmButtonText: "OK"
6407
+ });
6408
+ } else {
6409
+ alert("Please enter your name");
6410
+ }
6411
+ return;
6412
+ }
6413
+ if (!this.clientQuestion) {
6414
+ if (this.$sweetalert) {
6415
+ this.$sweetalert.insert({
6416
+ title: "Something went wrong",
6417
+ text: "Please enter your question",
6418
+ type: "error",
6419
+ confirmButtonText: "OK"
6420
+ });
6421
+ } else {
6422
+ alert("Please enter your question");
6423
+ }
6424
+ return;
6425
+ }
6426
+ this.$emit("sendLeaveMessage", {
6427
+ email: this.clientEmail,
6428
+ name: this.clientName,
6429
+ question: this.clientQuestion,
6430
+ updateTime: this.updateTime
6431
+ });
6280
6432
  }
6281
6433
  }
6282
6434
  };
6283
6435
  const __cssModules$4 = {};
6284
- var __component__$4 = /* @__PURE__ */normalizeComponent(__vue2_script$4, render$5, staticRenderFns$4, false, __vue2_injectStyles$4, "6dd0e9d3", null, null);
6436
+ var __component__$4 = /* @__PURE__ */normalizeComponent(__vue2_script$4, render$5, staticRenderFns$4, false, __vue2_injectStyles$4, "940fec52", null, null);
6285
6437
  function __vue2_injectStyles$4(context) {
6286
6438
  for (let o in __cssModules$4) {
6287
6439
  this[o] = __cssModules$4[o];
@@ -6316,6 +6468,7 @@ var render$3 = function () {
6316
6468
  return _c("ConsultChatItem", {
6317
6469
  key: item.id,
6318
6470
  attrs: {
6471
+ "item": item,
6319
6472
  "userOrOther": item.userOrOther,
6320
6473
  "item-user-id": item.userId,
6321
6474
  "message": item.message,
@@ -6332,10 +6485,11 @@ var render$3 = function () {
6332
6485
  "update-time": item.updateTime
6333
6486
  },
6334
6487
  on: {
6335
- "submitEmail": _vm.submitEmail
6488
+ "submitEmail": _vm.submitEmail,
6489
+ "sendLeaveMessage": _vm.sendLeaveMessage
6336
6490
  }
6337
6491
  });
6338
- }), 1)], 1), _c("div", {
6492
+ }), 1)], 1), _vm.activeItem.status !== "3" && !_vm.pauseConversation ? _c("div", {
6339
6493
  staticClass: "consult-47this-dialog-input"
6340
6494
  }, [_c("textarea", {
6341
6495
  ref: "inputRef",
@@ -6365,7 +6519,23 @@ var render$3 = function () {
6365
6519
  on: {
6366
6520
  "click": _vm.sendMessage
6367
6521
  }
6368
- })])])]);
6522
+ })])]) : _vm._e(), _vm.activeItem.status === "3" ? _c("div", {
6523
+ staticClass: "consult-47this-dialog-input"
6524
+ }, [_c("span", {
6525
+ staticClass: "consult-47this-dialog-input-actions-restart",
6526
+ on: {
6527
+ "click": _vm.restart
6528
+ }
6529
+ }, [_vm._v("Restart the conversation")])]) : _vm._e(), _vm.activeItem.status === "1" && _vm.pauseConversation ? _c("div", {
6530
+ staticClass: "consult-47this-dialog-input"
6531
+ }, [_c("span", {
6532
+ staticClass: "consult-47this-dialog-input-actions-restart",
6533
+ on: {
6534
+ "click": function ($event) {
6535
+ return _vm.changePauseConversation(false);
6536
+ }
6537
+ }
6538
+ }, [_vm._v("Continue to communicate")])]) : _vm._e()]);
6369
6539
  };
6370
6540
  var staticRenderFns$3 = [];
6371
6541
  const ConsultDialog_vue_vue_type_style_index_0_scoped_true_lang = "";
@@ -6384,6 +6554,10 @@ const __vue2_script$3 = {
6384
6554
  default: () => {
6385
6555
  return [];
6386
6556
  }
6557
+ },
6558
+ activeItem: {
6559
+ type: Object,
6560
+ default: () => ({})
6387
6561
  }
6388
6562
  },
6389
6563
  data() {
@@ -6394,7 +6568,8 @@ const __vue2_script$3 = {
6394
6568
  message: "",
6395
6569
  throttledScroll: null,
6396
6570
  isInit: true,
6397
- isComposing: false
6571
+ isComposing: false,
6572
+ pauseConversation: false
6398
6573
  };
6399
6574
  },
6400
6575
  watch: {
@@ -6494,6 +6669,16 @@ const __vue2_script$3 = {
6494
6669
  },
6495
6670
  submitEmail(data) {
6496
6671
  this.$emit("submitEmail", data);
6672
+ },
6673
+ sendLeaveMessage(data) {
6674
+ this.$emit("sendLeaveMessage", data);
6675
+ },
6676
+ restart() {
6677
+ this.$emit("restart");
6678
+ },
6679
+ changePauseConversation(flag) {
6680
+ this.pauseConversation = flag;
6681
+ this.$emit("changePauseConversation");
6497
6682
  }
6498
6683
  },
6499
6684
  beforeDestroy() {
@@ -6501,7 +6686,7 @@ const __vue2_script$3 = {
6501
6686
  }
6502
6687
  };
6503
6688
  const __cssModules$3 = {};
6504
- var __component__$3 = /* @__PURE__ */normalizeComponent(__vue2_script$3, render$3, staticRenderFns$3, false, __vue2_injectStyles$3, "b94585c6", null, null);
6689
+ var __component__$3 = /* @__PURE__ */normalizeComponent(__vue2_script$3, render$3, staticRenderFns$3, false, __vue2_injectStyles$3, "739e9544", null, null);
6505
6690
  function __vue2_injectStyles$3(context) {
6506
6691
  for (let o in __cssModules$3) {
6507
6692
  this[o] = __cssModules$3[o];
@@ -6540,7 +6725,8 @@ var render$2 = function () {
6540
6725
  "init-data": _vm.initData,
6541
6726
  "themeColors": _vm.initData.themeColors,
6542
6727
  "conversations": _vm.conversations,
6543
- "messages": _vm.messages
6728
+ "messages": _vm.messages,
6729
+ "activeItem": _vm.activeItem
6544
6730
  },
6545
6731
  on: {
6546
6732
  "handleRoute": _vm.handleRoute,
@@ -6549,7 +6735,9 @@ var render$2 = function () {
6549
6735
  "handleToConversation": _vm.handleToConversation,
6550
6736
  "send": _vm.handleSend,
6551
6737
  "loadMore": _vm.loadMore,
6552
- "submitEmail": _vm.submitEmail
6738
+ "submitEmail": _vm.submitEmail,
6739
+ "sendLeaveMessage": _vm.sendLeaveMessage,
6740
+ "restart": _vm.restart
6553
6741
  }
6554
6742
  })], 1);
6555
6743
  };
@@ -6680,18 +6868,15 @@ const __vue2_script$2 = {
6680
6868
  if (message.roomId === this.onRoomId) {
6681
6869
  this.pushChat(message);
6682
6870
  this.scrollToBottom();
6871
+ if (message.type === 7 && this.$refs.dialogComponent) {
6872
+ this.$refs.dialogComponent.changePauseConversation(true);
6873
+ }
6683
6874
  }
6684
6875
  });
6685
6876
  },
6686
6877
  onListenEnd() {
6687
6878
  this.socket.on("endConversation", data => {
6688
- setTimeout(() => {
6689
- this.pushChat({
6690
- updateTime: getCurrentTime(),
6691
- type: 6
6692
- });
6693
- this.scrollToBottom();
6694
- }, 1e3);
6879
+ setTimeout(() => {}, 1e3);
6695
6880
  });
6696
6881
  },
6697
6882
  createUserInfo() {
@@ -6844,12 +7029,21 @@ const __vue2_script$2 = {
6844
7029
  });
6845
7030
  } catch {}
6846
7031
  },
6847
- closeChat(roomId) {
7032
+ showSendEmail() {
7033
+ this.pushChat({
7034
+ updateTime: getCurrentTime(),
7035
+ type: 6
7036
+ });
7037
+ this.scrollToBottom();
7038
+ },
7039
+ async closeChat(roomId) {
6848
7040
  try {
6849
- updateRoomStatus({
6850
- roomId,
6851
- status: "2"
7041
+ await endRoomByClientApi({
7042
+ roomId
6852
7043
  }, this.initData.socketUrl);
7044
+ setTimeout(() => {
7045
+ this.showSendEmail();
7046
+ }, 2e3);
6853
7047
  } catch {}
6854
7048
  },
6855
7049
  async submitEmail(data) {
@@ -6877,16 +7071,35 @@ const __vue2_script$2 = {
6877
7071
  if (this.messages.length > 0 && this.messages[this.messages.length - 1].type === 6) {
6878
7072
  return;
6879
7073
  }
6880
- this.pushChat({
6881
- updateTime: getCurrentTime(),
6882
- type: 6
6883
- });
6884
- this.scrollToBottom();
7074
+ this.showSendEmail();
7075
+ },
7076
+ async sendLeaveMessage(data) {
7077
+ try {
7078
+ await sendLeaveMessageApi({
7079
+ roomId: this.onRoomId,
7080
+ userId: this.userId,
7081
+ email: data.email,
7082
+ name: data.name,
7083
+ question: data.question,
7084
+ dateTime: data.updateTime,
7085
+ topic: this.initData.siteName,
7086
+ assignUserId: this.activeItem.assignUserId
7087
+ }, this.initData.socketUrl);
7088
+ const index = this.chats.chatList.findIndex(item => item.updateTime === data.updateTime);
7089
+ if (index !== -1) {
7090
+ this.chats.chatList.splice(index, 1);
7091
+ }
7092
+ } catch {}
7093
+ },
7094
+ restart() {
7095
+ restartOpenApi({
7096
+ roomId: this.onRoomId
7097
+ }, this.initData.socketUrl);
6885
7098
  }
6886
7099
  }
6887
7100
  };
6888
7101
  const __cssModules$2 = {};
6889
- var __component__$2 = /* @__PURE__ */normalizeComponent(__vue2_script$2, render$2, staticRenderFns$2, false, __vue2_injectStyles$2, "10d74f38", null, null);
7102
+ var __component__$2 = /* @__PURE__ */normalizeComponent(__vue2_script$2, render$2, staticRenderFns$2, false, __vue2_injectStyles$2, "f16a4344", null, null);
6890
7103
  function __vue2_injectStyles$2(context) {
6891
7104
  for (let o in __cssModules$2) {
6892
7105
  this[o] = __cssModules$2[o];
@@ -6945,7 +7158,7 @@ const __vue2_script$1 = {
6945
7158
  }
6946
7159
  };
6947
7160
  const __cssModules$1 = {};
6948
- var __component__$1 = /* @__PURE__ */normalizeComponent(__vue2_script$1, render$1, staticRenderFns$1, false, __vue2_injectStyles$1, "507ff138", null, null);
7161
+ var __component__$1 = /* @__PURE__ */normalizeComponent(__vue2_script$1, render$1, staticRenderFns$1, false, __vue2_injectStyles$1, "79220e51", null, null);
6949
7162
  function __vue2_injectStyles$1(context) {
6950
7163
  for (let o in __cssModules$1) {
6951
7164
  this[o] = __cssModules$1[o];