isdata-customer-sdk 0.2.1 → 0.2.3

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.
@@ -32686,6 +32686,7 @@ class ChatClientMgr {
32686
32686
  return this.handler.onAIAgentEvent(data, event);
32687
32687
  });
32688
32688
  this.handler.addChatListener(this.makeKey(`sdata_alllife_event_regist`), async (data, event) => {
32689
+ console.log("recive chat regist event data:", data);
32689
32690
  this.appSKID = data.appid;
32690
32691
  this.imType = data.im_type;
32691
32692
  await this.initChatAIs();
@@ -32694,9 +32695,9 @@ class ChatClientMgr {
32694
32695
  singleChatID: this.singleChatID,
32695
32696
  customParams: this.customParams
32696
32697
  };
32697
- // console.log("charParams", charParams);
32698
32698
  this.handler.fireEventToChatWindow(event, this.chartOrigin, this.makeKey("sdata_alllife_initChat"), charParams, result => {
32699
32699
  if (result) {
32700
+ console.log("chat init finished:", result);
32700
32701
  this.handler.onChatInitFinished();
32701
32702
  }
32702
32703
  });
@@ -33119,6 +33120,19 @@ const check = element => {
33119
33120
  return checkResult;
33120
33121
  }
33121
33122
  }
33123
+ // 检查分页组件 导出按钮
33124
+ if (classes.contains("export_menu")) {
33125
+ let innerHTML = element.innerHTML;
33126
+ if (innerHTML.includes("导出进度") || innerHTML.includes("Export progress")) {
33127
+ console.log("检查smardaten平台表格 导出按钮 元素:", innerHTML);
33128
+ let tempHTMLMatch = {
33129
+ oldValue: '$L{PLATFORM_EXPORT_ALL}'
33130
+ };
33131
+ checkResult.result = true;
33132
+ checkResult.innerHTMLMatch = tempHTMLMatch;
33133
+ return checkResult;
33134
+ }
33135
+ }
33122
33136
  // 检查分页组件
33123
33137
  if (classes.contains("total_pag_num")) {
33124
33138
  let innerHTML = element.innerHTML;