@ones-editor/editor 2.8.17-beta.1 → 2.8.18

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/index.js CHANGED
@@ -92069,7 +92069,7 @@ ${data2.plantumlText}
92069
92069
  class InsertImageItem {
92070
92070
  constructor() {
92071
92071
  __publicField(this, "id", "insert-image");
92072
- __publicField(this, "name", "Insert Image");
92072
+ __publicField(this, "name", i18n$1.t("toolbar.image"));
92073
92073
  __publicField(this, "icon", ImageIcon);
92074
92074
  }
92075
92075
  onClick(editor, item) {
@@ -92085,7 +92085,7 @@ ${data2.plantumlText}
92085
92085
  class InsertLinkItem {
92086
92086
  constructor() {
92087
92087
  __publicField(this, "id", "insert-link");
92088
- __publicField(this, "name", "Insert Link");
92088
+ __publicField(this, "name", i18n$1.t("toolbar.link"));
92089
92089
  __publicField(this, "icon", LinkIcon);
92090
92090
  __publicField(this, "states", []);
92091
92091
  }
@@ -92112,7 +92112,7 @@ ${data2.plantumlText}
92112
92112
  class OrderedListItem {
92113
92113
  constructor() {
92114
92114
  __publicField(this, "id", "ordered-list");
92115
- __publicField(this, "name", "Ordered List");
92115
+ __publicField(this, "name", i18n$1.t("toolbar.orderedList"));
92116
92116
  __publicField(this, "icon", OrderedListIcon);
92117
92117
  __publicField(this, "states", []);
92118
92118
  }
@@ -92141,7 +92141,7 @@ ${data2.plantumlText}
92141
92141
  class UnorderedListItem {
92142
92142
  constructor() {
92143
92143
  __publicField(this, "id", "unordered-list");
92144
- __publicField(this, "name", "Unordered List");
92144
+ __publicField(this, "name", i18n$1.t("toolbar.unorderedList"));
92145
92145
  __publicField(this, "icon", UnorderedListIcon);
92146
92146
  __publicField(this, "states", []);
92147
92147
  }
@@ -92170,7 +92170,7 @@ ${data2.plantumlText}
92170
92170
  class CheckListItem {
92171
92171
  constructor() {
92172
92172
  __publicField(this, "id", "check-list");
92173
- __publicField(this, "name", "Check List");
92173
+ __publicField(this, "name", i18n$1.t("toolbar.checkList"));
92174
92174
  __publicField(this, "icon", CheckListIcon);
92175
92175
  __publicField(this, "states", []);
92176
92176
  }
@@ -92272,7 +92272,7 @@ ${data2.plantumlText}
92272
92272
  class QuoteItem {
92273
92273
  constructor() {
92274
92274
  __publicField(this, "id", "quoted");
92275
- __publicField(this, "name", "Quote");
92275
+ __publicField(this, "name", i18n$1.t("toolbar.quote"));
92276
92276
  __publicField(this, "icon", QuoteIcon);
92277
92277
  __publicField(this, "states", []);
92278
92278
  }
@@ -92335,17 +92335,17 @@ ${data2.plantumlText}
92335
92335
  }
92336
92336
  class AlignLeftItem extends AlignBaseItem {
92337
92337
  constructor() {
92338
- super("align-left", "Align left", AlignLeftIcon);
92338
+ super("align-left", i18n$1.t("commands.alignLeft"), AlignLeftIcon);
92339
92339
  }
92340
92340
  }
92341
92341
  class AlignCenterItem extends AlignBaseItem {
92342
92342
  constructor() {
92343
- super("align-center", "Align center", AlignCenterIcon);
92343
+ super("align-center", i18n$1.t("commands.alignCenter"), AlignCenterIcon);
92344
92344
  }
92345
92345
  }
92346
92346
  class AlignRightItem extends AlignBaseItem {
92347
92347
  constructor() {
92348
- super("align-right", "Align right", AlignRightIcon);
92348
+ super("align-right", i18n$1.t("commands.alignRight"), AlignRightIcon);
92349
92349
  }
92350
92350
  }
92351
92351
  const UndoIcon = '<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M6 2L2.5 5.49999L6 9" stroke="currentColor" stroke-linejoin="round"></path>\n<path d="M3 5.5H9.5C11.7091 5.5 13.5 7.29086 13.5 9.5V9.5C13.5 11.7091 11.7091 13.5 9.5 13.5H8" stroke="currentColor"></path>\n</svg>';
@@ -92635,7 +92635,13 @@ ${data2.plantumlText}
92635
92635
  undo: "\u64A4\u9500",
92636
92636
  redo: "\u91CD\u505A",
92637
92637
  insert: "\u63D2\u5165",
92638
- findReplace: "\u67E5\u627E\u548C\u66FF\u6362"
92638
+ findReplace: "\u67E5\u627E\u548C\u66FF\u6362",
92639
+ image: "\u63D2\u5165\u56FE\u7247",
92640
+ link: "\u63D2\u5165\u94FE\u63A5",
92641
+ quote: "\u5F15\u7528",
92642
+ checkList: "\u4EFB\u52A1\u5217\u8868",
92643
+ orderedList: "\u6709\u5E8F\u5217\u8868",
92644
+ unorderedList: "\u65E0\u5E8F\u5217\u8868"
92639
92645
  }
92640
92646
  };
92641
92647
  const enUS = {
@@ -92643,7 +92649,13 @@ ${data2.plantumlText}
92643
92649
  undo: "Undo",
92644
92650
  redo: "Redo",
92645
92651
  insert: "Insert",
92646
- findReplace: "Find & Replace"
92652
+ findReplace: "Find & Replace",
92653
+ image: "Insert Image",
92654
+ link: "Insert Link",
92655
+ quote: "Quote",
92656
+ checkList: "Check List",
92657
+ orderedList: "Ordered List",
92658
+ unorderedList: "Unordered List"
92647
92659
  }
92648
92660
  };
92649
92661
  const jaJP = {
@@ -92651,7 +92663,13 @@ ${data2.plantumlText}
92651
92663
  undo: "\u5143\u306B\u623B\u3059",
92652
92664
  redo: "\u3084\u308A\u76F4\u3059",
92653
92665
  insert: "\u633F\u5165",
92654
- findReplace: "\u691C\u7D22\u3068\u7F6E\u63DB"
92666
+ findReplace: "\u691C\u7D22\u3068\u7F6E\u63DB",
92667
+ image: "\u753B\u50CF\u3092\u633F\u5165",
92668
+ link: "\u30EA\u30F3\u30AF\u3092\u633F\u5165",
92669
+ quote: "\u5F15\u7528",
92670
+ checkList: "\u30C1\u30A7\u30C3\u30AF\u30EA\u30B9\u30C8",
92671
+ orderedList: "\u756A\u53F7\u4ED8\u304D\u30EA\u30B9\u30C8",
92672
+ unorderedList: "\u7B87\u6761\u66F8\u304D\u30EA\u30B9\u30C8"
92655
92673
  }
92656
92674
  };
92657
92675
  i18n$1.mergeLang({
@@ -92984,7 +93002,7 @@ ${data2.plantumlText}
92984
93002
  }
92985
93003
  }
92986
93004
  });
92987
- editor.version = "2.8.17-beta.1";
93005
+ editor.version = "2.8.18";
92988
93006
  return editor;
92989
93007
  }
92990
93008
  function isDoc(doc2) {
@@ -93097,7 +93115,7 @@ ${data2.plantumlText}
93097
93115
  }
93098
93116
  });
93099
93117
  OnesEditorToolbar.register(editor);
93100
- editor.version = "2.8.17-beta.1";
93118
+ editor.version = "2.8.18";
93101
93119
  return editor;
93102
93120
  }
93103
93121
  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.8.17-beta.1",
3
+ "version": "2.8.18",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "dependencies": {