@ones-editor/editor 2.2.13-beta.2 → 2.2.13-beta.4

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.
@@ -28,6 +28,7 @@ declare const _default: {
28
28
  };
29
29
  search: {
30
30
  emptyTips: string;
31
+ loading: string;
31
32
  };
32
33
  };
33
34
  export default _default;
@@ -28,6 +28,7 @@ declare const _default: {
28
28
  };
29
29
  search: {
30
30
  emptyTips: string;
31
+ loading: string;
31
32
  };
32
33
  };
33
34
  export default _default;
@@ -28,6 +28,7 @@ declare const _default: {
28
28
  };
29
29
  search: {
30
30
  emptyTips: string;
31
+ loading: string;
31
32
  };
32
33
  };
33
34
  export default _default;
package/dist/index.js CHANGED
@@ -39419,7 +39419,8 @@ ${codeText}
39419
39419
  }
39420
39420
  },
39421
39421
  search: {
39422
- emptyTips: "\u6682\u65E0\u641C\u7D22\u7ED3\u679C"
39422
+ emptyTips: "\u6682\u65E0\u641C\u7D22\u7ED3\u679C",
39423
+ loading: "\u52A0\u8F7D\u4E2D..."
39423
39424
  }
39424
39425
  };
39425
39426
  const enUS$w = {
@@ -39451,7 +39452,8 @@ ${codeText}
39451
39452
  }
39452
39453
  },
39453
39454
  search: {
39454
- emptyTips: "No results found"
39455
+ emptyTips: "No results found",
39456
+ loading: "Loading..."
39455
39457
  }
39456
39458
  };
39457
39459
  const jaJP$w = {
@@ -39483,7 +39485,8 @@ ${codeText}
39483
39485
  }
39484
39486
  },
39485
39487
  search: {
39486
- emptyTips: "\u691C\u7D22\u7D50\u679C\u304C\u3042\u308A\u307E\u305B\u3093"
39488
+ emptyTips: "\u691C\u7D22\u7D50\u679C\u304C\u3042\u308A\u307E\u305B\u3093",
39489
+ loading: "\u8AAD\u307F\u8FBC\u307F\u4E2D..."
39487
39490
  }
39488
39491
  };
39489
39492
  i18n$1.mergeLang({
@@ -41405,7 +41408,7 @@ ${codeText}
41405
41408
  } else {
41406
41409
  this.setItems([{
41407
41410
  id: "loading",
41408
- name: "loading",
41411
+ name: i18n$1.t("search.loading"),
41409
41412
  states: ["disabled"]
41410
41413
  }]);
41411
41414
  }
@@ -86478,6 +86481,7 @@ ${data2.flowchartText}
86478
86481
  childDoc.uploadResource = doc2.uploadResource.bind(doc2);
86479
86482
  childDoc.buildResourceUrl = doc2.buildResourceUrl.bind(doc2);
86480
86483
  const commentOptions = parentEditor.getComponentOptions("comment");
86484
+ const customOptions = parentEditor.getComponentOptions("custom");
86481
86485
  const options = {
86482
86486
  image: {
86483
86487
  defaultAlign: "left"
@@ -86487,7 +86491,8 @@ ${data2.flowchartText}
86487
86491
  hideCellMenu: true,
86488
86492
  hideToolbar: true
86489
86493
  },
86490
- ...commentOptions == null ? void 0 : commentOptions.componentsOptions
86494
+ ...commentOptions == null ? void 0 : commentOptions.componentsOptions,
86495
+ ...customOptions == null ? void 0 : customOptions.componentsOptions
86491
86496
  };
86492
86497
  const blocks = [];
86493
86498
  parentEditor.editorBlocks.forEach((block) => {
@@ -88339,7 +88344,7 @@ ${data2.flowchartText}
88339
88344
  }
88340
88345
  }
88341
88346
  });
88342
- editor.version = "2.2.13-beta.2";
88347
+ editor.version = "2.2.13-beta.4";
88343
88348
  return editor;
88344
88349
  }
88345
88350
  function isDoc(doc2) {
@@ -88434,7 +88439,7 @@ ${data2.flowchartText}
88434
88439
  });
88435
88440
  editor.addCustom(DOC_RE_AUTH_KEYS, (editor2) => new DocReAuthCallbacks(editor2));
88436
88441
  OnesEditorToolbar.register(editor);
88437
- editor.version = "2.2.13-beta.2";
88442
+ editor.version = "2.2.13-beta.4";
88438
88443
  return editor;
88439
88444
  }
88440
88445
  async function showDocVersions(editor, options, serverUrl) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ones-editor/editor",
3
- "version": "2.2.13-beta.2",
3
+ "version": "2.2.13-beta.4",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",