@ones-editor/editor 2.8.28-beta.1 → 2.8.28-beta.12

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.
Files changed (48) hide show
  1. package/@ones-editor/block-locker/src/i18n/zh-hant-hk.d.ts +8 -0
  2. package/@ones-editor/block-menu/src/locale/zh-hant-hk.d.ts +25 -0
  3. package/@ones-editor/callout-block/src/locale/zh-hant-hk.d.ts +15 -0
  4. package/@ones-editor/code-block/src/locale/zh-hant-hk.d.ts +13 -0
  5. package/@ones-editor/comments/src/comment-item/comment-item.d.ts +1 -0
  6. package/@ones-editor/comments/src/comments/comments.d.ts +1 -1
  7. package/@ones-editor/comments/src/comments-list/comments-list.d.ts +5 -3
  8. package/@ones-editor/comments/src/comments-list/group-list.d.ts +1 -0
  9. package/@ones-editor/comments/src/locale/en-us.d.ts +2 -0
  10. package/@ones-editor/comments/src/locale/ja-jp.d.ts +2 -0
  11. package/@ones-editor/comments/src/locale/zh-cn.d.ts +2 -0
  12. package/@ones-editor/comments/src/locale/zh-hant-hk.d.ts +24 -0
  13. package/@ones-editor/comments/src/types.d.ts +1 -0
  14. package/@ones-editor/context-menu/src/locale/zh-hant-hk.d.ts +14 -0
  15. package/@ones-editor/core/src/i18n/i18n.d.ts +21 -1
  16. package/@ones-editor/core/src/i18n/zh-hant-hk.d.ts +21 -0
  17. package/@ones-editor/dividing-line-embed/src/i18n/zh-hant-hk.d.ts +7 -0
  18. package/@ones-editor/drawio-embed/src/lang/zh-hant-hk.d.ts +19 -0
  19. package/@ones-editor/drawio-embed/types/index.d.ts +1 -1
  20. package/@ones-editor/embed-block-helper/src/locale/zh-hant-hk.d.ts +7 -0
  21. package/@ones-editor/exclusive-block/src/locale/zh-hant-hk.d.ts +7 -0
  22. package/@ones-editor/file/src/locale/zh-hant-hk.d.ts +15 -0
  23. package/@ones-editor/find-dialog/src/locale/zh-hant-hk.d.ts +13 -0
  24. package/@ones-editor/graph-embed/src/lang/zh-hant-hk.d.ts +18 -0
  25. package/@ones-editor/heading-collapse/src/locale/zh-hant-hk.d.ts +7 -0
  26. package/@ones-editor/image-embed/src/locale/zh-hant-hk.d.ts +17 -0
  27. package/@ones-editor/input-handlers/src/i18n/zh-hant-hk.d.ts +13 -0
  28. package/@ones-editor/layout-block/src/locale/zh-hant-hk.d.ts +10 -0
  29. package/@ones-editor/list-block/src/lang/zh-hant-hk.d.ts +21 -0
  30. package/@ones-editor/main-toolbar/src/locale/zh-hant-hk.d.ts +15 -0
  31. package/@ones-editor/mathjax/src/locale/zh-hant-hk.d.ts +7 -0
  32. package/@ones-editor/media-embed/src/locale/zh-hant-hk.d.ts +20 -0
  33. package/@ones-editor/mention/src/locale/zh-hant-hk.d.ts +9 -0
  34. package/@ones-editor/misc/src/re-auth/locale/zh-hant-hk.d.ts +7 -0
  35. package/@ones-editor/mobile-helper/src/locale/zh-hant-hk.d.ts +9 -0
  36. package/@ones-editor/paste-special/src/locale/zh-hant-hk.d.ts +8 -0
  37. package/@ones-editor/status/src/locale/zh-hant-hk.d.ts +25 -0
  38. package/@ones-editor/table-block/src/locale/zh-hant-hk.d.ts +33 -0
  39. package/@ones-editor/templates/src/locale/zh-hant-hk.d.ts +9 -0
  40. package/@ones-editor/toc/src/locale/zh-hant-hk.d.ts +8 -0
  41. package/@ones-editor/tsconfig.tsbuildinfo +1 -1
  42. package/@ones-editor/ui/src/locale/zh-hant-hk.d.ts +60 -0
  43. package/@ones-editor/ui-base/src/locale/zh-hant-hk.d.ts +39 -0
  44. package/@ones-editor/versions/src/locale/zh-hant-hk.d.ts +45 -0
  45. package/@ones-editor/webpage-embed/src/locale/zh-hant-hk.d.ts +27 -0
  46. package/dist/index.js +789 -57
  47. package/dist/lang/zh-hant-hk.d.ts +31 -0
  48. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -4326,14 +4326,7 @@ div.editor-root.readonly div.editor-content div[data-type=editor-container] div[
4326
4326
  .editor-web-comment-root.disable-resolve .comment-groups-container .comment-actions button.comment-reopen {
4327
4327
  display: none;
4328
4328
  }
4329
- .editor-web-comment-root[list-type=resolved] .comment-groups-container {
4330
- display: flex;
4331
- flex-direction: column;
4332
- gap: 20px;
4333
- padding-left: 8px;
4334
- padding-top: 60px;
4335
- }
4336
- .editor-web-comment-root[list-type=resolved] .comment-groups-container .comment-no-resolved-tip {
4329
+ .editor-web-comment-root .comment-groups-container .no-comment-tip {
4337
4330
  font-size: 12px;
4338
4331
  width: 100%;
4339
4332
  color: #BEBFC2;
@@ -4342,7 +4335,14 @@ div.editor-root.readonly div.editor-content div[data-type=editor-container] div[
4342
4335
  align-items: center;
4343
4336
  margin-top: 100px;
4344
4337
  }
4338
+ .editor-web-comment-root[list-type=resolved] .comment-groups-container {
4339
+ display: flex;
4340
+ flex-direction: column;
4341
+ padding-left: 8px;
4342
+ padding-top: 60px;
4343
+ }
4345
4344
  .editor-web-comment-root[list-type=resolved] .comment-groups-container .comment-group-item-root {
4345
+ margin-bottom: 20px;
4346
4346
  position: inherit;
4347
4347
  transform: none;
4348
4348
  }
@@ -4451,6 +4451,15 @@ div.editor-root.readonly div.editor-content div[data-type=editor-container] div[
4451
4451
  color: #87888A;
4452
4452
  margin-top: 10px;
4453
4453
  }
4454
+ .editor-web-comment-root .comment-groups-container .comment-group-item-root .comment-item-footer .comment-resolved {
4455
+ font-size: 12px;
4456
+ color: #87888a;
4457
+ flex-grow: 1;
4458
+ display: block;
4459
+ white-space: nowrap;
4460
+ overflow: hidden;
4461
+ text-overflow: ellipsis;
4462
+ }
4454
4463
  .editor-web-comment-root .comment-groups-container .comment-group-item-root .comment-item-footer .comment-actions {
4455
4464
  display: flex;
4456
4465
  align-items: center;
@@ -4597,6 +4606,23 @@ div.editor-root.readonly div.editor-content div[data-type=editor-container] div[
4597
4606
  }
4598
4607
  :is(.editor-web-comment-root, .editor-mobile-comments-root, .editor-mini-comment-root).hidden {
4599
4608
  display: none;
4609
+ }
4610
+ .editor-root .editor-content [data-type=editor-container][comment-list-type=resolved] div[data-type=editor-block].text-block.comment > div[data-type=block-content] > span {
4611
+ border-bottom-color: transparent;
4612
+ }
4613
+ .editor-root .editor-content [data-type=editor-container][comment-list-type=resolved] div[data-type=editor-block] span.text.comment,
4614
+ .editor-root .editor-content [data-type=editor-container][comment-list-type=resolved] div[data-type=editor-block] span[data-type=editor-box].comment {
4615
+ border-bottom-color: transparent;
4616
+ }
4617
+ .editor-root .editor-content [data-type=editor-container][comment-list-type=resolved] div[data-type=editor-block] span.text.comment.active,
4618
+ .editor-root .editor-content [data-type=editor-container][comment-list-type=resolved] div[data-type=editor-block] span[data-type=editor-box].comment.active {
4619
+ background-color: transparent;
4620
+ }
4621
+ .editor-root .editor-content [data-type=editor-container][comment-list-type=resolved] div[data-type=editor-block].comment::after {
4622
+ background-color: transparent;
4623
+ }
4624
+ .editor-root .editor-content [data-type=editor-container][comment-list-type=resolved] div[data-type=editor-block].comment.active {
4625
+ outline: none;
4600
4626
  }.resolved-comment-list .resolved-comment-group-item-root {
4601
4627
  padding: 10px 20px;
4602
4628
  border-bottom: 1px solid #f0f0f0;
@@ -4673,6 +4699,15 @@ div.editor-root.readonly div.editor-content div[data-type=editor-container] div[
4673
4699
  }
4674
4700
  .resolved-comment-list .resolved-comment-group-item-root .comment-children-container .resolved-comment-item-root:last-child::before {
4675
4701
  display: none;
4702
+ }
4703
+ .resolved-comment-list .resolved-comment-group-item-root .comment-item-footer .comment-resolved {
4704
+ margin-left: 10px;
4705
+ font-size: 12px;
4706
+ color: #87888a;
4707
+ flex-grow: 1;
4708
+ white-space: nowrap;
4709
+ overflow: hidden;
4710
+ text-overflow: ellipsis;
4676
4711
  }div[data-type=editor-block].table-block {
4677
4712
  --table-bar-width: 6px;
4678
4713
  --table-bar-left: -6px;
@@ -5513,7 +5548,7 @@ div[data-command-bar-id=table-cell-menu] .tippy-box .tippy-content .editor-comma
5513
5548
  }
5514
5549
  .editor-find-dialog-status {
5515
5550
  display: flex;
5516
- }body > div.editor-context-menu[data-tippy-root].zh-CN {
5551
+ }body > div.editor-context-menu[data-tippy-root].zh-CN, body > div.editor-context-menu[data-tippy-root].zh-HK {
5517
5552
  min-width: 200px;
5518
5553
  }
5519
5554
  body > div.editor-context-menu[data-tippy-root].en-US, body > div.editor-context-menu[data-tippy-root].ja-JP {
@@ -9061,6 +9096,26 @@ var __publicField = (obj, key, value) => {
9061
9096
  imageExportFailed: "\u56FE\u7247\u52A0\u8F7D\u5931\u8D25"
9062
9097
  }
9063
9098
  };
9099
+ const zhHK$x = {
9100
+ name: "Ones Editor",
9101
+ date: {
9102
+ dateFromFuture: "\u4F86\u81EA\u672A\u4F86",
9103
+ dateJustNow: "\u525B\u525B",
9104
+ dateYesterday: "\u6628\u5929",
9105
+ dateMinutesAgo: "{num}\u5206\u9418\u524D",
9106
+ date1HourAgo: "1\u5C0F\u6642\u524D",
9107
+ dateHoursAgo: "{num}\u5C0F\u6642\u524D",
9108
+ dateDaysAgo: "{num}\u5929\u524D",
9109
+ dateWeeksAgo: "{num}\u5468\u524D"
9110
+ },
9111
+ common: {
9112
+ cancel: "\u53D6\u6D88",
9113
+ downloadAsImage: "\u4E0B\u8F09\u70BA\u5716\u7247"
9114
+ },
9115
+ docx: {
9116
+ imageExportFailed: "\u5716\u7247\u52A0\u8F09\u5931\u6557"
9117
+ }
9118
+ };
9064
9119
  const jaJP$x = {
9065
9120
  name: "ONES \u30A8\u30C7\u30A3\u30BF\u30FC",
9066
9121
  date: {
@@ -9085,6 +9140,7 @@ var __publicField = (obj, key, value) => {
9085
9140
  const langs$3 = {
9086
9141
  "en-US": enUS$x,
9087
9142
  "zh-CN": zhCN$x,
9143
+ "zh-HK": zhHK$x,
9088
9144
  "ja-JP": jaJP$x
9089
9145
  };
9090
9146
  const i18n = KiwiIntl__default.default.init("en-US", langs$3);
@@ -40625,6 +40681,44 @@ ${codeText}
40625
40681
  loading: "\u52A0\u8F7D\u4E2D..."
40626
40682
  }
40627
40683
  };
40684
+ const zhHK$w = {
40685
+ button: {
40686
+ ok: "\u78BA\u5B9A",
40687
+ cancel: "\u53D6\u6D88",
40688
+ confirm: "\u78BA\u5B9A"
40689
+ },
40690
+ colorPalette: {
40691
+ colorDesc: "\u5B57\u9AD4\u984F\u8272",
40692
+ name: "\u5B57\u9AD4\u984F\u8272",
40693
+ backgroundDesc: "\u80CC\u666F\u984F\u8272",
40694
+ reset: "\u6062\u5FA9\u9ED8\u8A8D",
40695
+ more: "\u66F4\u591A\u984F\u8272"
40696
+ },
40697
+ emojiPalette: {
40698
+ name: "\u66F4\u63DB\u5716\u6A19",
40699
+ search: {
40700
+ placeholder: "\u641C\u7D22"
40701
+ },
40702
+ content: {
40703
+ loading: "\u52A0\u8F09\u4E2D",
40704
+ empty: "\u66AB\u7121\u5339\u914D\u7D50\u679C"
40705
+ },
40706
+ category: {
40707
+ frequentlyUsed: "\u6700\u5E38\u4F7F\u7528",
40708
+ smileysAndPeople: "\u8868\u60C5\u7B26\u865F\u8207\u4EBA\u7269",
40709
+ animalsAndNature: "\u52D5\u7269\u8207\u81EA\u7136",
40710
+ foodAndDrink: "\u98DF\u7269\u8207\u98F2\u6599",
40711
+ activity: "\u6D3B\u52D5",
40712
+ travelAndPlaces: "\u65C5\u884C\u8207\u5730\u9EDE",
40713
+ objects: "\u7269\u9AD4",
40714
+ symbols: "\u7B26\u865F"
40715
+ }
40716
+ },
40717
+ search: {
40718
+ emptyTips: "\u66AB\u7121\u641C\u7D22\u7D50\u679C",
40719
+ loading: "\u52A0\u8F09\u4E2D..."
40720
+ }
40721
+ };
40628
40722
  const enUS$w = {
40629
40723
  button: {
40630
40724
  ok: "OK",
@@ -40703,6 +40797,7 @@ ${codeText}
40703
40797
  };
40704
40798
  i18n$1.mergeLang({
40705
40799
  "zh-CN": zhCN$w,
40800
+ "zh-HK": zhHK$w,
40706
40801
  "en-US": enUS$w,
40707
40802
  "ja-JP": jaJP$w
40708
40803
  });
@@ -48840,6 +48935,12 @@ ${codeText}
48840
48935
  addComment: "\u6DFB\u52A0\u6279\u6CE8"
48841
48936
  }
48842
48937
  };
48938
+ const zhHK$v = {
48939
+ embedProperties: {
48940
+ edit: "\u7DE8\u8F2F",
48941
+ addComment: "\u6DFB\u52A0\u6279\u8A3B"
48942
+ }
48943
+ };
48843
48944
  const enUS$v = {
48844
48945
  embedProperties: {
48845
48946
  edit: "Edit",
@@ -48854,6 +48955,7 @@ ${codeText}
48854
48955
  };
48855
48956
  i18n$1.mergeLang({
48856
48957
  "zh-CN": zhCN$v,
48958
+ "zh-HK": zhHK$v,
48857
48959
  "en-US": enUS$v,
48858
48960
  "ja-JP": jaJP$v
48859
48961
  });
@@ -49433,6 +49535,12 @@ ${codeText}
49433
49535
  fallbackAbstract: "\u8BE5 Block"
49434
49536
  }
49435
49537
  };
49538
+ const zhHK$u = {
49539
+ exclusive: {
49540
+ tips: "\u300C{editor}\u300D\u6B63\u5728\u7DE8\u8F2F\uFF0C\u300C{embedType}\u300D\u4E0D\u652F\u6301\u591A\u4EBA\u7DE8\u8F2F",
49541
+ fallbackAbstract: "\u8A72 Block"
49542
+ }
49543
+ };
49436
49544
  const enUS$u = {
49437
49545
  exclusive: {
49438
49546
  tips: "\u300C{editor}\u300Dis editing\uFF0C\u300C{embedType}\u300Ddoes not support multi-person editing",
@@ -49447,6 +49555,7 @@ ${codeText}
49447
49555
  };
49448
49556
  i18n$1.mergeLang({
49449
49557
  "zh-CN": zhCN$u,
49558
+ "zh-HK": zhHK$u,
49450
49559
  "en-US": enUS$u,
49451
49560
  "ja-JP": jaJP$u
49452
49561
  });
@@ -49632,6 +49741,13 @@ ${codeText}
49632
49741
  lockedBy: "\u88AB {name} \u9501\u5B9A"
49633
49742
  }
49634
49743
  };
49744
+ const zhHK$t = {
49745
+ locker: {
49746
+ lock: "\u9396\u5B9A",
49747
+ unlock: "\u89E3\u9664\u9396\u5B9A",
49748
+ lockedBy: "\u88AB {name} \u9396\u5B9A"
49749
+ }
49750
+ };
49635
49751
  const enUS$t = {
49636
49752
  locker: {
49637
49753
  lock: "Lock",
@@ -49648,6 +49764,7 @@ ${codeText}
49648
49764
  };
49649
49765
  i18n$1.mergeLang({
49650
49766
  "zh-CN": zhCN$t,
49767
+ "zh-HK": zhHK$t,
49651
49768
  "en-US": enUS$t,
49652
49769
  "ja-JP": jaJP$t
49653
49770
  });
@@ -52632,6 +52749,26 @@ ${codeText}
52632
52749
  exitFullscreen: "\u9000\u51FA\u5168\u5C4F"
52633
52750
  }
52634
52751
  };
52752
+ const zhHK$s = {
52753
+ list: {
52754
+ confirm: "\u78BA\u5B9A",
52755
+ setStart: "\u8A2D\u7F6E\u7DE8\u865F",
52756
+ continueList: "\u7E7C\u7E8C\u7DE8\u865F",
52757
+ restartList: "\u958B\u59CB\u65B0\u5217\u8868",
52758
+ changeNumber: "\u4FEE\u6539\u7DE8\u865F\u503C",
52759
+ numberLabel: "\u7DE8\u865F\u9806\u5E8F",
52760
+ mention: {
52761
+ tooltip: "\u63D0\u53CA\u4EBA\u54E1\u4E26\u901A\u77E5"
52762
+ }
52763
+ },
52764
+ mindmap: {
52765
+ viewAsMindMap: "\u986F\u793A\u70BA\u8166\u5716",
52766
+ autoFit: "\u81EA\u52D5\u7E2E\u653E",
52767
+ fullScreen: "\u5168\u5C4F\u67E5\u770B",
52768
+ close: "\u95DC\u9589",
52769
+ exitFullscreen: "\u9000\u51FA\u5168\u5C4F"
52770
+ }
52771
+ };
52635
52772
  const enUS$s = {
52636
52773
  list: {
52637
52774
  confirm: "Confirm",
@@ -52674,6 +52811,7 @@ ${codeText}
52674
52811
  };
52675
52812
  i18n$1.mergeLang({
52676
52813
  "zh-CN": zhCN$s,
52814
+ "zh-HK": zhHK$s,
52677
52815
  "en-US": enUS$s,
52678
52816
  "ja-JP": jaJP$s
52679
52817
  });
@@ -55162,6 +55300,12 @@ $$${mathData.mathjaxText}$$
55162
55300
  abstract: "\u516C\u5F0F"
55163
55301
  }
55164
55302
  };
55303
+ const zhHK$r = {
55304
+ mathjax: {
55305
+ emptyText: "\u7A7A\u7684\u516C\u5F0F",
55306
+ abstract: "\u516C\u5F0F"
55307
+ }
55308
+ };
55165
55309
  const enUS$r = {
55166
55310
  mathjax: {
55167
55311
  emptyText: "Empty formula",
@@ -55176,6 +55320,7 @@ $$${mathData.mathjaxText}$$
55176
55320
  };
55177
55321
  i18n$1.mergeLang({
55178
55322
  "zh-CN": zhCN$r,
55323
+ "zh-HK": zhHK$r,
55179
55324
  "en-US": enUS$r,
55180
55325
  "ja-JP": jaJP$r
55181
55326
  });
@@ -60959,6 +61104,30 @@ $$${mathData.mathjaxText}$$
60959
61104
  }
60960
61105
  }
60961
61106
  };
61107
+ const zhHK$q = {
61108
+ status: {
61109
+ empty: "\u8A2D\u7F6E\u72C0\u614B",
61110
+ command: {
61111
+ name: "\u72C0\u614B"
61112
+ },
61113
+ color: {
61114
+ red: "\u7D05\u8272",
61115
+ yellow: "\u9EC3\u8272",
61116
+ green: "\u7DA0\u8272",
61117
+ blue: "\u85CD\u8272",
61118
+ purple: "\u7D2B\u8272",
61119
+ grey: "\u7070\u8272"
61120
+ },
61121
+ colorDefaultTitle: {
61122
+ red: "\u5DF2\u5EF6\u671F",
61123
+ yellow: "\u9032\u884C\u4E2D",
61124
+ green: "\u5DF2\u5B8C\u6210",
61125
+ blue: "\u672A\u958B\u59CB",
61126
+ purple: "\u5F85\u78BA\u8A8D",
61127
+ grey: "\u5DF2\u66AB\u505C"
61128
+ }
61129
+ }
61130
+ };
60962
61131
  const jaJP$q = {
60963
61132
  status: {
60964
61133
  empty: "\u30B9\u30C6\u30FC\u30BF\u30B9\u3092\u8A2D\u5B9A",
@@ -60986,6 +61155,7 @@ $$${mathData.mathjaxText}$$
60986
61155
  const langs$2 = {
60987
61156
  "en-US": enUS$q,
60988
61157
  "zh-CN": zhCN$q,
61158
+ "zh-HK": zhHK$q,
60989
61159
  "ja-JP": jaJP$q
60990
61160
  };
60991
61161
  i18n$1.mergeLang(langs$2);
@@ -62096,6 +62266,65 @@ $$${mathData.mathjaxText}$$
62096
62266
  selectBlock: "\u9009\u62E9\u533A\u5757"
62097
62267
  }
62098
62268
  };
62269
+ const zhHK$p = {
62270
+ quickMenu: {
62271
+ basic: {
62272
+ heading: {
62273
+ title: "\u6A19\u984C {heading}",
62274
+ space: "{markdown}\u7A7A\u683C"
62275
+ },
62276
+ unordered: "\u7121\u5E8F\u5217\u8868",
62277
+ ordered: "\u6709\u5E8F\u5217\u8868",
62278
+ checkbox: "\u5F85\u8FA6\u5217\u8868",
62279
+ quote: "\u5F15\u7528"
62280
+ },
62281
+ inlineBox: {
62282
+ math: "\u516C\u5F0F",
62283
+ link: "\u9023\u7D50",
62284
+ emoji: "\u8868\u60C5"
62285
+ }
62286
+ },
62287
+ link: {
62288
+ textLabel: "\u6587\u672C",
62289
+ urlLabel: "\u9023\u7D50\u5730\u5740",
62290
+ textPlaceholder: "\u8ACB\u8F38\u5165\u6587\u672C",
62291
+ urlPlaceholder: "\u8ACB\u8F38\u5165\u9023\u7D50\u5730\u5740",
62292
+ mobileTextPlaceholder: "\u8ACB\u8F38\u5165\u6587\u672C",
62293
+ mobileUrlPlaceholder: "\u8ACB\u8F38\u5165\u9023\u7D50\u5730\u5740",
62294
+ submitText: "\u78BA\u5B9A",
62295
+ cancelText: "\u53D6\u6D88",
62296
+ edit: "\u7DE8\u8F2F",
62297
+ remove: "\u53D6\u6D88\u9023\u7D50",
62298
+ title: "\u63D2\u5165\u9023\u7D50",
62299
+ openLink: "\u6253\u958B\u9023\u7D50"
62300
+ },
62301
+ commands: {
62302
+ unordered: "\u7121\u5E8F\u5217\u8868",
62303
+ ordered: "\u6709\u5E8F\u5217\u8868",
62304
+ check: "\u5F85\u8FA6\u5217\u8868",
62305
+ link: "\u9023\u7D50",
62306
+ quote: "\u5F15\u7528",
62307
+ alignLeft: "\u5DE6\u5C0D\u9F4A",
62308
+ alignRight: "\u53F3\u5C0D\u9F4A",
62309
+ alignCenter: "\u5C45\u4E2D\u5C0D\u9F4A",
62310
+ alignGroup: "\u5C0D\u9F4A\u65B9\u5F0F",
62311
+ heading: "\u6A19\u984C {name}",
62312
+ headingGroup: "\u6A19\u984C\u6A23\u5F0F",
62313
+ text: "\u6B63\u6587",
62314
+ paste: "\u7C98\u8CBC",
62315
+ tab: "Tab",
62316
+ shiftTab: "Shift+Tab",
62317
+ bold: "\u7C97\u9AD4",
62318
+ italic: "\u659C\u9AD4",
62319
+ underline: "\u4E0B\u5283\u7DDA",
62320
+ strikethrough: "\u522A\u9664\u7DDA",
62321
+ code: "\u884C\u5167\u4EE3\u78BC",
62322
+ subscript: "\u4E0B\u6A19",
62323
+ superscript: "\u4E0A\u6A19",
62324
+ more: "\u66F4\u591A",
62325
+ selectBlock: "\u9078\u64C7\u5340\u584A"
62326
+ }
62327
+ };
62099
62328
  const enUS$p = {
62100
62329
  quickMenu: {
62101
62330
  basic: {
@@ -62216,6 +62445,7 @@ $$${mathData.mathjaxText}$$
62216
62445
  };
62217
62446
  i18n$1.mergeLang({
62218
62447
  "zh-CN": zhCN$p,
62448
+ "zh-HK": zhHK$p,
62219
62449
  "en-US": enUS$p,
62220
62450
  "ja-JP": jaJP$p
62221
62451
  });
@@ -63424,7 +63654,7 @@ $$${mathData.mathjaxText}$$
63424
63654
  return date2 - date1;
63425
63655
  });
63426
63656
  result.forEach((group) => {
63427
- if (!commentsMap.has(group.id)) {
63657
+ if (!commentsMap.has(group.groupId)) {
63428
63658
  group.removedFromDoc = true;
63429
63659
  }
63430
63660
  });
@@ -63439,9 +63669,12 @@ $$${mathData.mathjaxText}$$
63439
63669
  return comments;
63440
63670
  }
63441
63671
  function getCommentsCountInDoc(editor, commentsProvider) {
63442
- const commentGroups = getCommentsGroupFromDoc(editor, commentsProvider);
63443
- const count = commentGroups.length;
63444
- return count;
63672
+ const unresolved = getUnresolvedCommentsGroupFromDoc(editor, commentsProvider).length;
63673
+ const commentsGroup = getCommentsGroup(commentsProvider.getComments());
63674
+ const resolved = commentsGroup.filter((group) => group.resolver).length;
63675
+ const total = unresolved + resolved;
63676
+ logger$1G.debug(`total comments: ${total}, unresolved: ${unresolved}, resolved: ${resolved}`);
63677
+ return total;
63445
63678
  }
63446
63679
  function getCommentsFromPos(editor, pos) {
63447
63680
  const commentIds = [];
@@ -63489,12 +63722,18 @@ $$${mathData.mathjaxText}$$
63489
63722
  function removeUnresolvedComments(commentProvider, commentIds) {
63490
63723
  return commentIds.filter((commentId) => {
63491
63724
  const comment = commentProvider.getComment(commentId);
63725
+ if (!comment) {
63726
+ return false;
63727
+ }
63492
63728
  return !!comment.resolver;
63493
63729
  });
63494
63730
  }
63495
63731
  function removeResolvedComments(commentProvider, commentIds) {
63496
63732
  return commentIds.filter((commentId) => {
63497
63733
  const comment = commentProvider.getComment(commentId);
63734
+ if (!comment) {
63735
+ return false;
63736
+ }
63498
63737
  return !(comment == null ? void 0 : comment.resolver);
63499
63738
  });
63500
63739
  }
@@ -65915,6 +66154,18 @@ ${codeText}
65915
66154
  plainText: "Plain Text"
65916
66155
  }
65917
66156
  };
66157
+ const zhHK$o = {
66158
+ code: {
66159
+ title: "\u4EE3\u78BC",
66160
+ abstract: "\u4EE3\u78BC",
66161
+ wrap: "\u63DB\u884C",
66162
+ copy: "\u8907\u88FD",
66163
+ caption: "\u8AAC\u660E",
66164
+ search: "\u8F38\u5165\u95DC\u9375\u8A5E\u641C\u7D22",
66165
+ copySuccess: "\u8907\u88FD\u6210\u529F",
66166
+ plainText: "Plain Text"
66167
+ }
66168
+ };
65918
66169
  const enUS$o = {
65919
66170
  code: {
65920
66171
  title: "Code",
@@ -65941,6 +66192,7 @@ ${codeText}
65941
66192
  };
65942
66193
  i18n$1.mergeLang({
65943
66194
  "zh-CN": zhCN$o,
66195
+ "zh-HK": zhHK$o,
65944
66196
  "en-US": enUS$o,
65945
66197
  "ja-JP": jaJP$o
65946
66198
  });
@@ -66360,6 +66612,18 @@ ${codeText}
66360
66612
  mobileDefault: "\u8F93\u5165\u4EE5\u6DFB\u52A0\u5185\u5BB9"
66361
66613
  }
66362
66614
  };
66615
+ const zhHK$n = {
66616
+ placeholder: {
66617
+ default: "\u8F38\u5165\u300C/\u300D\u5FEB\u901F\u63D2\u5165",
66618
+ heading: "\u6A19\u984C{heading}",
66619
+ list: "\u5217\u8868",
66620
+ mention: "\u5FEB\u901F\u5206\u914D\u4EFB\u52D9\uFF0C@\u63D0\u53CA\u81EA\u5DF1\u6216\u4ED6\u4EBA",
66621
+ mobileMention: "\u5FEB\u901F\u5206\u914D\u4EFB\u52D9\uFF0C@\u63D0\u53CA\u81EA\u5DF1\u6216\u4ED6\u4EBA",
66622
+ quote: "\u5F15\u7528",
66623
+ title: "\u8ACB\u8F38\u5165\u6587\u6A94\u6A19\u984C",
66624
+ mobileDefault: "\u8F38\u5165\u4EE5\u6DFB\u52A0\u5167\u5BB9"
66625
+ }
66626
+ };
66363
66627
  const jaJP$n = {
66364
66628
  placeholder: {
66365
66629
  default: "\u300C/\u300D\u3092\u5165\u529B\u3057\u3066\u7D20\u65E9\u304F\u633F\u5165\u3059\u308B",
@@ -66375,6 +66639,7 @@ ${codeText}
66375
66639
  const langs$1 = {
66376
66640
  "en-US": enUS$n,
66377
66641
  "zh-CN": zhCN$n,
66642
+ "zh-HK": zhHK$n,
66378
66643
  "ja-JP": jaJP$n
66379
66644
  };
66380
66645
  i18n$1.mergeLang(langs$1);
@@ -67131,6 +67396,30 @@ ${codeText}
67131
67396
  }
67132
67397
  }
67133
67398
  };
67399
+ const zhHK$m = {
67400
+ blockMenu: {
67401
+ section: {
67402
+ basics: "\u57FA\u790E",
67403
+ system: "\u7CFB\u7D71",
67404
+ styles: "\u6A23\u5F0F",
67405
+ common: "\u901A\u7528",
67406
+ actions: "\u64CD\u4F5C",
67407
+ thirdParty: "\u7B2C\u4E09\u65B9\u5167\u5BB9"
67408
+ },
67409
+ command: {
67410
+ insertAbove: "\u5728\u4E0A\u65B9\u63D2\u5165",
67411
+ insertAfter: "\u5728\u4E0B\u65B9\u63D2\u5165",
67412
+ copy: "\u8907\u88FD",
67413
+ cut: "\u526A\u5207",
67414
+ delete: "\u522A\u9664"
67415
+ },
67416
+ button: {
67417
+ searchPlaceholder: "\u8F38\u5165\u95DC\u9375\u8A5E\u641C\u7D22",
67418
+ tips: "\u9577\u6309\u62D6\u62FD \n \u9EDE\u64CA\u6253\u958B\u83DC\u55AE",
67419
+ insertTips: "\u9EDE\u64CA\u6DFB\u52A0\u5340\u584A"
67420
+ }
67421
+ }
67422
+ };
67134
67423
  const enUS$m = {
67135
67424
  blockMenu: {
67136
67425
  section: {
@@ -67181,6 +67470,7 @@ ${codeText}
67181
67470
  };
67182
67471
  i18n$1.mergeLang({
67183
67472
  "zh-CN": zhCN$m,
67473
+ "zh-HK": zhHK$m,
67184
67474
  "en-US": enUS$m,
67185
67475
  "ja-JP": jaJP$m
67186
67476
  });
@@ -68166,6 +68456,22 @@ ${codeText}
68166
68456
  abstract: "\u56FE\u7247"
68167
68457
  }
68168
68458
  };
68459
+ const zhHK$l = {
68460
+ image: {
68461
+ title: "\u5716\u7247",
68462
+ upload: {
68463
+ failed: '<div class="line-1">\u5716\u7247\u4E0A\u50B3\u5931\u6557</div><div class="line-2">\u7DB2\u7D61\u670D\u52D9\u7570\u5E38\uFF0C\u4F60\u53EF\u4EE5 <a href="" class="retry-upload">\u91CD\u8A66</a></div>'
68464
+ },
68465
+ load: {
68466
+ failed: '<div class="line-1">\u5716\u7247\u52A0\u8F09\u5931\u6557</div><div class="line-2">\u7DB2\u7D61\u670D\u52D9\u7570\u5E38\uFF0C\u4F60\u53EF\u4EE5 <a href="" class="retry-upload">\u91CD\u8A66</a></div>',
68467
+ remote: {
68468
+ failed: '<div class="line-1">\u5716\u7247\u52A0\u8F09\u5931\u6557</div><div class="line-2">\u8A72\u5716\u7247\u4F86\u81EA\u5916\u90E8\u9023\u7D50\uFF0C\u5916\u90E8\u9023\u7D50\u5DF2\u5931\u6548</div><div class="line-3">\u8ACB\u5C07\u539F\u5716\u4FDD\u5B58\u5230\u672C\u5730\u5F8C\u4E0A\u50B3\uFF0C <a href="" class="retry-upload">\u6253\u958B\u5716\u7247\u9023\u7D50</a></div>',
68469
+ tooltip: "\u8A72\u5716\u7247\u4F86\u81EA\u5916\u90E8\u9023\u7D50\uFF0C\u5982\u679C\u9023\u7D50\u5931\u6548\u5716\u7247\u5C07\u7121\u6CD5\u67E5\u770B\uFF0C\u5EFA\u8B70\u4FDD\u5B58\u5230\u672C\u5730\u5F8C\u6DFB\u52A0\u5230\u9801\u9762\u4E2D"
68470
+ }
68471
+ },
68472
+ abstract: "\u5716\u7247"
68473
+ }
68474
+ };
68169
68475
  const enUS$l = {
68170
68476
  image: {
68171
68477
  title: "Image",
@@ -68200,6 +68506,7 @@ ${codeText}
68200
68506
  };
68201
68507
  i18n$1.mergeLang({
68202
68508
  "zh-CN": zhCN$l,
68509
+ "zh-HK": zhHK$l,
68203
68510
  "en-US": enUS$l,
68204
68511
  "ja-JP": jaJP$l
68205
68512
  });
@@ -69089,6 +69396,9 @@ ${codeText}
69089
69396
  okButton.disabled = false;
69090
69397
  }
69091
69398
  });
69399
+ __publicField(this, "handleClickLink", (editor, event, link2) => {
69400
+ this.options.mainEditor.emit("clickLink", editor, event, link2);
69401
+ });
69092
69402
  __publicField(this, "getCommentEditor", () => this.components.commentEditor);
69093
69403
  __publicField(this, "handleReadonlyChanged", (editor) => {
69094
69404
  if (editor.readonly) {
@@ -69159,6 +69469,7 @@ ${codeText}
69159
69469
  const commentEditor = new CommentEditor(editor, commentsProvider, this.doc);
69160
69470
  commentEditor.editor.addListener("readonlyChanged", this.handleEditorReadonlyChange);
69161
69471
  commentEditor.editor.addListener("docChanged", this.handleDocChanged);
69472
+ commentEditor.editor.addListener("clickLink", this.handleClickLink);
69162
69473
  commentEditor.editor.addListener("focus", this.handleFocus);
69163
69474
  commentEditor.editor.input.addHandler(new CommentEditorInputHandler(commentsProvider, groupItem, this));
69164
69475
  commentEditorContainer.append(commentEditor.root);
@@ -69563,12 +69874,12 @@ ${codeText}
69563
69874
  return null;
69564
69875
  }
69565
69876
  const footer = createElement("div", ["comment-item-footer"], this.root);
69566
- const modified = createElement("span", ["comment-modified"], footer);
69877
+ const resolved = createElement("span", ["comment-resolved"], footer);
69567
69878
  const date = new Date(this.comment.modified);
69568
69879
  const resolver = this.comment.resolver;
69569
69880
  assert(logger$1h, resolver, "resolver should not be null");
69570
69881
  const text2 = i18n$1.t("comment.resolvedBy", { name: resolver.displayName, date: fromNowString(date) });
69571
- modified.innerText = text2;
69882
+ resolved.innerText = text2;
69572
69883
  const actions2 = createElement("div", ["comment-actions"], footer);
69573
69884
  createElement("span", ["comment-date"], actions2, fromNowString(new Date(resolver.date)));
69574
69885
  if (this.comment.removedFromDoc) {
@@ -69576,6 +69887,19 @@ ${codeText}
69576
69887
  } else {
69577
69888
  const reopen = createElement("button", ["comment-reopen"], actions2, i18n$1.t("comment.reopen"));
69578
69889
  reopen.onclick = () => {
69890
+ const editor = this.editor;
69891
+ const doc2 = editor.doc.toJSON();
69892
+ const commentsMap = getCommentsFromDoc(doc2);
69893
+ if (!commentsMap.has(this.comment.groupId)) {
69894
+ showToast(i18n$1.t("comment.commentHasAlreadyRemoved"), {
69895
+ position: {
69896
+ y: 30,
69897
+ x: window.innerWidth / 2
69898
+ },
69899
+ theme: "warn"
69900
+ });
69901
+ return;
69902
+ }
69579
69903
  this.commentsProvider.localUpdateCommentResolver(this.comment.id, void 0);
69580
69904
  };
69581
69905
  }
@@ -69584,6 +69908,10 @@ ${codeText}
69584
69908
  createQuickReply() {
69585
69909
  const { editor, commentsProvider, comment } = this;
69586
69910
  const commentQuickReply = new CommentQuickReply(editor, commentsProvider, comment, this);
69911
+ const commentOptions = this.editor.getComponentOptions("comment");
69912
+ if (commentOptions == null ? void 0 : commentOptions.disableReply) {
69913
+ commentQuickReply.root.classList.add("hidden");
69914
+ }
69587
69915
  this.root.append(commentQuickReply.root);
69588
69916
  return commentQuickReply;
69589
69917
  }
@@ -69850,8 +70178,12 @@ ${codeText}
69850
70178
  quickReply.show();
69851
70179
  });
69852
70180
  __publicField(this, "handleResolve", (groupItem) => {
70181
+ var _a;
69853
70182
  const { commentsProvider } = this;
69854
- const comment = commentsProvider.getComment(groupItem.comment.id);
70183
+ let comment = commentsProvider.getComment(groupItem.comment.id);
70184
+ if (!comment) {
70185
+ comment = (_a = groupItem.childrenList.items[0]) == null ? void 0 : _a.comment;
70186
+ }
69855
70187
  const user = this.groupList.editor.doc.getUser();
69856
70188
  commentsProvider.localUpdateCommentResolver(comment.id, {
69857
70189
  userId: user.userId,
@@ -70261,6 +70593,12 @@ ${codeText}
70261
70593
  this.deleteItem(item.comment.id);
70262
70594
  }
70263
70595
  }
70596
+ removeGroupItem(comment) {
70597
+ const item = this.findItem(comment.id) || this.findItem(comment.groupId);
70598
+ if (item) {
70599
+ this.deleteItem(item.comment.id);
70600
+ }
70601
+ }
70264
70602
  handleUpdateComment(comment) {
70265
70603
  const group = this.findItemAsGroupId(comment.groupId);
70266
70604
  if (group && group.comment.id !== comment.id) {
@@ -70353,16 +70691,13 @@ ${codeText}
70353
70691
  __publicField(this, "updateUnknownCommentsDelayed", debounce__default.default((editor) => {
70354
70692
  const comments = this.getComments(editor);
70355
70693
  const invisibleComments = Object.values(comments).filter((comment) => {
70356
- if (comment.id !== comment.groupId) {
70357
- return false;
70358
- }
70359
70694
  const ret = this.type === "current" ? !!comment.resolver : !comment.resolver;
70360
70695
  return ret;
70361
70696
  });
70362
70697
  const root2 = editor.rootContainer;
70363
70698
  const effectedElements = /* @__PURE__ */ new Set();
70364
70699
  invisibleComments.forEach((comment) => {
70365
- const key = `comment-${comment.id.toLocaleLowerCase()}`;
70700
+ const key = `comment-${comment.groupId.toLocaleLowerCase()}`;
70366
70701
  const elements = root2.querySelectorAll(`[${key}]`);
70367
70702
  elements.forEach((elem) => {
70368
70703
  elem.removeAttribute(key);
@@ -70425,11 +70760,18 @@ ${codeText}
70425
70760
  if (!comments || comments.length === 0) {
70426
70761
  return;
70427
70762
  }
70763
+ if (this.type === "resolved") {
70764
+ return;
70765
+ }
70428
70766
  addClass(blockElement, "comment");
70429
70767
  const classList = [];
70768
+ const attributes = {};
70430
70769
  comments.forEach((commentId) => {
70431
70770
  const key = `comment-${commentId.toLocaleLowerCase()}`;
70432
- this.renderCommentElement(editor, key, commentId, classList, {});
70771
+ this.renderCommentElement(editor, key, commentId, classList, attributes);
70772
+ });
70773
+ Object.entries(attributes).forEach(([key, value]) => {
70774
+ blockElement.setAttribute(key, value);
70433
70775
  });
70434
70776
  if (classList.length > 0) {
70435
70777
  addClass(blockElement, ...classList);
@@ -70457,9 +70799,7 @@ ${codeText}
70457
70799
  return;
70458
70800
  }
70459
70801
  } else {
70460
- if (status === "unresolved") {
70461
- return;
70462
- }
70802
+ return;
70463
70803
  }
70464
70804
  classes.push("comment");
70465
70805
  textAttributes[key] = commentId;
@@ -70487,14 +70827,9 @@ ${codeText}
70487
70827
  });
70488
70828
  });
70489
70829
  const comments = this.getComments(editor);
70490
- const visibleComments = Object.values(comments).filter((comment) => {
70491
- if (comment.id !== comment.groupId) {
70492
- return false;
70493
- }
70494
- const ret = this.type === "current" ? !comment.resolver : !!comment.resolver;
70495
- return ret;
70496
- });
70497
- const visibleCommentsId = new Set(visibleComments.map((c) => c.id));
70830
+ const resolvedCommentsId = new Set(Object.values(comments).filter((comment) => !!comment.resolver).map((comment) => comment.groupId));
70831
+ const unresolvedCommentsId = new Set(Object.values(comments).filter((comment) => !resolvedCommentsId.has(comment.groupId)).map((comment) => comment.groupId));
70832
+ const visibleCommentsId = type === "current" ? unresolvedCommentsId : resolvedCommentsId;
70498
70833
  const commentsFromDoc = getBlockCommentsFromDoc(editor.doc.toJSON());
70499
70834
  commentsFromDoc.forEach((commentIds, blockId) => {
70500
70835
  if (Array.from(commentIds).some((c) => visibleCommentsId.has(c))) {
@@ -70531,13 +70866,15 @@ ${codeText}
70531
70866
  }]
70532
70867
  });
70533
70868
  __publicField(this, "switcherBar");
70534
- __publicField(this, "noResolvedCommentTip", null);
70869
+ __publicField(this, "noCommentTip", null);
70535
70870
  __publicField(this, "handleSwitchType", (bar2, item) => {
70871
+ var _a, _b;
70536
70872
  if (item.id === "current-comment") {
70537
70873
  this.listType = "current";
70538
70874
  } else {
70539
70875
  this.listType = "resolved";
70540
70876
  }
70877
+ this.editor.rootContainer.setAttribute("comment-list-type", this.listType);
70541
70878
  this.root.setAttribute("list-type", this.listType);
70542
70879
  this.switcherItem.name = this.listType === "current" ? i18n$1.t("comment.currentComment") : i18n$1.t("comment.resolvedComment");
70543
70880
  const children = this.switcherItem.children;
@@ -70549,7 +70886,8 @@ ${codeText}
70549
70886
  if (renderer) {
70550
70887
  renderer.changeType(this.editor, this.listType);
70551
70888
  }
70552
- this.updateNoResolvedCommentTip();
70889
+ this.updateCommentCountTip();
70890
+ (_b = (_a = this.commentOptions) == null ? void 0 : _a.onCommentListTypeChange) == null ? void 0 : _b.call(_a, this.editor, this.listType);
70553
70891
  });
70554
70892
  __publicField(this, "handleSelectionOnComment", () => {
70555
70893
  this.emit("onSelectComment");
@@ -70558,7 +70896,7 @@ ${codeText}
70558
70896
  var _a, _b;
70559
70897
  const count = getCommentsCountInDoc(this.editor, this.commentsProvider);
70560
70898
  (_b = (_a = this.commentOptions) == null ? void 0 : _a.onCommentCountChange) == null ? void 0 : _b.call(_a, count);
70561
- this.updateNoResolvedCommentTip();
70899
+ this.updateCommentCountTip();
70562
70900
  });
70563
70901
  __publicField(this, "handleActiveItemChanged", (index2, direction) => {
70564
70902
  if (this.listType === "resolved") {
@@ -70592,6 +70930,7 @@ ${codeText}
70592
70930
  if (!this.editor.options.enableResolveComments) {
70593
70931
  this.root.classList.add("disable-resolve");
70594
70932
  }
70933
+ this.editor.rootContainer.setAttribute("comment-list-type", this.listType);
70595
70934
  this.updateCommentCount();
70596
70935
  }
70597
70936
  get commentOptions() {
@@ -70605,7 +70944,7 @@ ${codeText}
70605
70944
  this.list.destroy();
70606
70945
  this.root.remove();
70607
70946
  this.switcherBar.destroy();
70608
- (_a = this.noResolvedCommentTip) == null ? void 0 : _a.remove();
70947
+ (_a = this.noCommentTip) == null ? void 0 : _a.remove();
70609
70948
  }
70610
70949
  onCreateComment(commentId, local) {
70611
70950
  const comment = this.commentsProvider.getComment(commentId);
@@ -70637,7 +70976,7 @@ ${codeText}
70637
70976
  }
70638
70977
  const blocks = /* @__PURE__ */ new Set();
70639
70978
  if (type === "remove") {
70640
- getElementsByCommentId(this.editor, commentId).forEach((element) => {
70979
+ getElementsByCommentId(this.editor, comment.groupId).forEach((element) => {
70641
70980
  if (isBlock$1(element)) {
70642
70981
  blocks.add(element);
70643
70982
  } else {
@@ -70648,7 +70987,7 @@ ${codeText}
70648
70987
  }
70649
70988
  });
70650
70989
  } else {
70651
- const blockIds = getBlocksByCommentId(this.editor.doc.toJSON(), commentId);
70990
+ const blockIds = getBlocksByCommentId(this.editor.doc.toJSON(), comment.groupId);
70652
70991
  blockIds.forEach((blockId) => {
70653
70992
  const block = this.editor.findBlockById(blockId);
70654
70993
  if (block) {
@@ -70668,7 +71007,7 @@ ${codeText}
70668
71007
  if (type === "add") {
70669
71008
  this.list.handleCreateComment(commentWithChildren, local);
70670
71009
  } else {
70671
- this.list.handleResolveComment(commentId);
71010
+ this.list.removeGroupItem(comment);
70672
71011
  }
70673
71012
  this.updateCommentCount();
70674
71013
  }, 300);
@@ -70694,17 +71033,36 @@ ${codeText}
70694
71033
  setFirstEditingCommentActive() {
70695
71034
  this.list.setFirstEditingCommentActive();
70696
71035
  }
70697
- updateNoResolvedCommentTip() {
71036
+ getListType() {
71037
+ return this.listType;
71038
+ }
71039
+ setListType(type) {
71040
+ var _a, _b;
71041
+ if (type === "resolved") {
71042
+ const item = (_a = this.switcherItem.children) == null ? void 0 : _a[1];
71043
+ this.handleSwitchType(this.switcherBar, item);
71044
+ } else {
71045
+ const item = (_b = this.switcherItem.children) == null ? void 0 : _b[0];
71046
+ this.handleSwitchType(this.switcherBar, item);
71047
+ }
71048
+ }
71049
+ updateCommentCountTip() {
70698
71050
  var _a;
71051
+ (_a = this.noCommentTip) == null ? void 0 : _a.remove();
71052
+ this.noCommentTip = null;
70699
71053
  if (this.listType === "resolved" && this.list.items.length === 0) {
70700
- if (!this.noResolvedCommentTip) {
70701
- this.noResolvedCommentTip = createElement("div", ["comment-no-resolved-tip"], this.groupsContainer);
70702
- this.noResolvedCommentTip.innerText = i18n$1.t("comment.noResolvedComment");
71054
+ if (!this.noCommentTip) {
71055
+ this.noCommentTip = createElement("div", ["no-comment-tip"], this.groupsContainer);
71056
+ this.noCommentTip.innerText = i18n$1.t("comment.noResolvedComment");
70703
71057
  }
70704
71058
  return;
70705
71059
  }
70706
- (_a = this.noResolvedCommentTip) == null ? void 0 : _a.remove();
70707
- this.noResolvedCommentTip = null;
71060
+ if (this.listType === "current" && this.list.items.length === 0) {
71061
+ if (!this.noCommentTip) {
71062
+ this.noCommentTip = createElement("div", ["no-comment-tip"], this.groupsContainer);
71063
+ this.noCommentTip.innerText = i18n$1.t("comment.noCurrentComment");
71064
+ }
71065
+ }
70708
71066
  }
70709
71067
  show(groupId) {
70710
71068
  var _a, _b;
@@ -71468,12 +71826,18 @@ ${codeText}
71468
71826
  (_b = this.commentList) == null ? void 0 : _b.show(groupId);
71469
71827
  }
71470
71828
  });
71471
- __publicField(this, "showCommentList", (groupId) => {
71829
+ __publicField(this, "showCommentList", (groupId, type) => {
71830
+ var _a, _b;
71472
71831
  if (this.isMobile) {
71473
71832
  this.showComment("mobile", groupId);
71474
71833
  } else {
71475
71834
  this.showComment("web", groupId);
71476
71835
  }
71836
+ if (type) {
71837
+ (_a = this.getCommentList()) == null ? void 0 : _a.setListType(type);
71838
+ } else if (type === void 0) {
71839
+ (_b = this.getCommentList()) == null ? void 0 : _b.setListType("current");
71840
+ }
71477
71841
  });
71478
71842
  __publicField(this, "handleCommentListClose", () => {
71479
71843
  this.showComment("mini");
@@ -71569,13 +71933,38 @@ ${codeText}
71569
71933
  comment: "\u6DFB\u52A0\u6279\u6CE8",
71570
71934
  command: "\u6DFB\u52A0\u6279\u6CE8",
71571
71935
  quickMenuCommand: "\u6DFB\u52A0\u6279\u6CE8",
71572
- resolvedBy: "\u5DF2\u7531 {name} \u6210\u5458\u89E3\u51B3",
71936
+ resolvedBy: "\u5DF2\u7531 {name} \u89E3\u51B3",
71573
71937
  reopen: "\u91CD\u65B0\u6253\u5F00",
71574
71938
  currentComment: "\u5F53\u524D\u6279\u6CE8",
71575
71939
  resolvedComment: "\u5DF2\u89E3\u51B3\u6279\u6CE8",
71576
71940
  removedFromDoc: "\u5F15\u7528\u5185\u5BB9\u5DF2\u5220\u9664",
71941
+ noCurrentComment: "\u6682\u65E0\u6279\u6CE8",
71577
71942
  noResolvedComment: "\u65E0\u5DF2\u89E3\u51B3\u6279\u6CE8",
71578
- resolveComment: "\u6807\u8BB0\u4E3A\u5DF2\u89E3\u51B3"
71943
+ resolveComment: "\u6807\u8BB0\u4E3A\u5DF2\u89E3\u51B3",
71944
+ commentHasAlreadyRemoved: "\u5F15\u7528\u5185\u5BB9\u5DF2\u88AB\u5220\u9664\uFF0C\u4E0D\u53EF\u91CD\u65B0\u6253\u5F00\u6279\u6CE8"
71945
+ }
71946
+ };
71947
+ const zhHK$k = {
71948
+ comment: {
71949
+ count: "\u6279\u8A3B ({num})",
71950
+ hide: "\u96B1\u85CF\u6279\u8A3B",
71951
+ show: "\u986F\u793A\u6279\u8A3B",
71952
+ reply: "\u56DE\u8986",
71953
+ quicklyReply: "\u56DE\u8986...",
71954
+ send: "\u78BA\u5B9A",
71955
+ placeholder: "\u6DFB\u52A0\u6279\u8A3B...",
71956
+ replyPlaceholder: "\u6DFB\u52A0\u6279\u8A3B\u6216@\u4ED6\u4EBA",
71957
+ edit: "\u7DE8\u8F2F",
71958
+ delete: "\u522A\u9664",
71959
+ image: "\u5716\u7247",
71960
+ sendTitle: "\u6309Enter\u767C\u9001\u6279\u8A3B",
71961
+ replyTitle: "\u6309Enter\u56DE\u8986\u6279\u8A3B",
71962
+ isFirst: "\u5DF2\u7D93\u662F\u7B2C\u4E00\u689D\u6279\u8A3B",
71963
+ isLast: "\u5DF2\u7D93\u662F\u6700\u5F8C\u4E00\u689D\u6279\u8A3B",
71964
+ more: "\u66F4\u591A",
71965
+ comment: "\u6DFB\u52A0\u6279\u8A3B",
71966
+ command: "\u6DFB\u52A0\u6279\u8A3B",
71967
+ quickMenuCommand: "\u6DFB\u52A0\u6279\u8A3B"
71579
71968
  }
71580
71969
  };
71581
71970
  const enUS$k = {
@@ -71604,8 +71993,10 @@ ${codeText}
71604
71993
  currentComment: "Unresolved annotations",
71605
71994
  resolvedComment: "Resolved annotations",
71606
71995
  removedFromDoc: "Quoted content deleted.",
71996
+ noCurrentComment: "No annotation.",
71607
71997
  noResolvedComment: "No resolved annotations.",
71608
- resolveComment: "Mark as resolved"
71998
+ resolveComment: "Mark as resolved",
71999
+ commentHasAlreadyRemoved: "Referenced content deleted. Comment can't be reopened."
71609
72000
  }
71610
72001
  };
71611
72002
  const jaJP$k = {
@@ -71634,12 +72025,15 @@ ${codeText}
71634
72025
  currentComment: "\u672A\u89E3\u6C7A\u30B3\u30E1\u30F3\u30C8",
71635
72026
  resolvedComment: "\u89E3\u6C7A\u6E08\u307F\u30B3\u30E1\u30F3\u30C8",
71636
72027
  removedFromDoc: "\u5F15\u7528\u3055\u308C\u305F\u5185\u5BB9\u306F\u524A\u9664\u3055\u308C\u307E\u3057\u305F\u3002",
72028
+ noCurrentComment: "\u6CE8\u91C8\u306A\u3057",
71637
72029
  noResolvedComment: "\u89E3\u6C7A\u6E08\u307F\u30B3\u30E1\u30F3\u30C8\u304C\u3042\u308A\u307E\u305B\u3093\u3002",
71638
- resolveComment: "\u89E3\u6C7A\u3055\u308C\u307E\u3057\u305F"
72030
+ resolveComment: "\u89E3\u6C7A\u3055\u308C\u307E\u3057\u305F",
72031
+ commentHasAlreadyRemoved: "\u5F15\u7528\u5143\u304C\u524A\u9664\u3055\u308C\u305F\u305F\u3081\u3001\u30B3\u30E1\u30F3\u30C8\u518D\u958B\u3067\u304D\u307E\u305B\u3093\u3002"
71639
72032
  }
71640
72033
  };
71641
72034
  i18n$1.mergeLang({
71642
72035
  "zh-CN": zhCN$k,
72036
+ "zh-HK": zhHK$k,
71643
72037
  "en-US": enUS$k,
71644
72038
  "ja-JP": jaJP$k
71645
72039
  });
@@ -71919,6 +72313,7 @@ ${codeText}
71919
72313
  order: 60
71920
72314
  }],
71921
72315
  executeCommand: (editor2, block, item, child2) => {
72316
+ var _a2;
71922
72317
  if (!child2) {
71923
72318
  return;
71924
72319
  }
@@ -71929,6 +72324,7 @@ ${codeText}
71929
72324
  }
71930
72325
  this.hideToolbar(editor2);
71931
72326
  comments.showCommentList();
72327
+ (_a2 = comments.getCommentList()) == null ? void 0 : _a2.setListType("current");
71932
72328
  const offset = getChildOffset(block, child2);
71933
72329
  const range = createBlockSimpleRange(this.editor, block, offset.start, offset.end);
71934
72330
  const comment = addCommentToTextBlocks(editor2, range, comments.commentProvider);
@@ -71953,15 +72349,16 @@ ${codeText}
71953
72349
  order: 60
71954
72350
  }],
71955
72351
  executeCommand: (editor2, block, item) => {
72352
+ var _a2;
71956
72353
  if (item.id === "add-comment-to-old-doc") {
71957
72354
  const comments = editor2.getCustom("editor-comments");
71958
72355
  if (!comments) {
71959
72356
  return;
71960
72357
  }
71961
72358
  editor2.selection.selectBlock(block, 0, getBlockTextLength$6(editor2, block), { noScroll: true });
71962
- const editorComments = editor2.getCustom("editor-comments");
71963
- editorComments.showCommentList();
71964
- addCommentToBlock(editor2, block, editorComments.commentProvider);
72359
+ comments.showCommentList();
72360
+ (_a2 = comments.getCommentList()) == null ? void 0 : _a2.setListType("current");
72361
+ addCommentToBlock(editor2, block, comments.commentProvider);
71965
72362
  }
71966
72363
  }
71967
72364
  };
@@ -71986,12 +72383,14 @@ ${codeText}
71986
72383
  }];
71987
72384
  }
71988
72385
  executeCommand(editor, command, options) {
72386
+ var _a;
71989
72387
  if (command.id === "add-comment-to-old-doc/text") {
71990
72388
  const comments = editor.getCustom("editor-comments");
71991
72389
  if (!comments) {
71992
72390
  return;
71993
72391
  }
71994
72392
  comments.showCommentList();
72393
+ (_a = comments.getCommentList()) == null ? void 0 : _a.setListType("current");
71995
72394
  const range = editor.selection.range;
71996
72395
  if (!range.isSimple()) {
71997
72396
  if (isFullSelectedOneComplexBlock(editor, range)) {
@@ -74246,6 +74645,38 @@ ${codeText}
74246
74645
  }
74247
74646
  }
74248
74647
  };
74648
+ const zhHK$j = {
74649
+ table: {
74650
+ cellBackground: "\u55AE\u5143\u683C\u80CC\u666F\u8272",
74651
+ deleteSelectRow: "\u522A\u9664\u6240\u9078\u884C",
74652
+ deleteSelectCol: "\u522A\u9664\u6240\u9078\u5217",
74653
+ mergeCell: "\u5408\u4F75\u55AE\u5143\u683C",
74654
+ splitCell: "\u62C6\u5206\u55AE\u5143\u683C",
74655
+ tableConfigKey: "\u8868\u683C\u8A2D\u7F6E",
74656
+ deleteTable: "\u522A\u9664\u8868\u683C",
74657
+ adjustColumnWidthsEvenly: "\u5E73\u5747\u5206\u914D\u5217\u5BEC",
74658
+ insertCol: "\u63D2\u5165\u5217",
74659
+ insertRow: "\u63D2\u5165\u884C",
74660
+ deleteCol: "\u522A\u9664\u5217",
74661
+ deleteRow: "\u522A\u9664\u884C",
74662
+ tableConfig: {
74663
+ rowTitle: "\u884C\u6A19\u984C",
74664
+ colTitle: "\u5217\u6A19\u984C",
74665
+ stripeStyle: "\u689D\u7D0B\u6A23\u5F0F",
74666
+ hideBorder: "\u96B1\u85CF\u8868\u683C\u7DDA",
74667
+ showBorder: "\u986F\u793A\u9336\u683C\u7DDA",
74668
+ showChart: "\u986F\u793A\u5716\u8868",
74669
+ hideChart: "\u96B1\u85CF\u5716\u8868"
74670
+ },
74671
+ title: "\u8868\u683C",
74672
+ abstract: "\u8868\u683C",
74673
+ commands: {
74674
+ setting: "\u8868\u683C\u8A2D\u7F6E",
74675
+ insertRightCol: "\u5411\u53F3\u63D2\u5165\u5217",
74676
+ insertBottomRow: "\u5411\u4E0B\u63D2\u5165\u884C"
74677
+ }
74678
+ }
74679
+ };
74249
74680
  const enUS$j = {
74250
74681
  table: {
74251
74682
  cellBackground: "Cell background color",
@@ -74312,6 +74743,7 @@ ${codeText}
74312
74743
  };
74313
74744
  i18n$1.mergeLang({
74314
74745
  "zh-CN": zhCN$j,
74746
+ "zh-HK": zhHK$j,
74315
74747
  "en-US": enUS$j,
74316
74748
  "ja-JP": jaJP$j
74317
74749
  });
@@ -74742,6 +75174,13 @@ ${codeText}
74742
75174
  markdown: "\u7C98\u8D34\u4E3A Markdown"
74743
75175
  }
74744
75176
  };
75177
+ const zhHK$i = {
75178
+ pasteSpecial: {
75179
+ originFormats: "\u4FDD\u6301\u539F\u6A23\u5F0F",
75180
+ plainText: "\u7C98\u8CBC\u7D14\u6587\u672C",
75181
+ markdown: "\u7C98\u8CBC\u70BA Markdown"
75182
+ }
75183
+ };
74745
75184
  const enUS$i = {
74746
75185
  pasteSpecial: {
74747
75186
  originFormats: "Keep source formatting",
@@ -74758,6 +75197,7 @@ ${codeText}
74758
75197
  };
74759
75198
  i18n$1.mergeLang({
74760
75199
  "zh-CN": zhCN$i,
75200
+ "zh-HK": zhHK$i,
74761
75201
  "en-US": enUS$i,
74762
75202
  "ja-JP": jaJP$i
74763
75203
  });
@@ -78762,6 +79202,18 @@ ${docStr}
78762
79202
  replacePlaceholder: "\u66FF\u6362\u4E3A"
78763
79203
  }
78764
79204
  };
79205
+ const zhHK$h = {
79206
+ find: {
79207
+ findLabel: "\u67E5\u627E:",
79208
+ replaceLabel: "\u66FF\u63DB:",
79209
+ findButton: "\u67E5\u627E",
79210
+ replaceButton: "\u66FF\u63DB",
79211
+ replaceAllButton: "\u5168\u90E8\u66FF\u63DB",
79212
+ moreButton: "",
79213
+ findPlaceholder: "\u5728\u6587\u6A94\u5167\u67E5\u627E",
79214
+ replacePlaceholder: "\u66FF\u63DB\u70BA"
79215
+ }
79216
+ };
78765
79217
  const enUS$h = {
78766
79218
  find: {
78767
79219
  findLabel: "Search:",
@@ -78788,6 +79240,7 @@ ${docStr}
78788
79240
  };
78789
79241
  i18n$1.mergeLang({
78790
79242
  "zh-CN": zhCN$h,
79243
+ "zh-HK": zhHK$h,
78791
79244
  "en-US": enUS$h,
78792
79245
  "ja-JP": jaJP$h
78793
79246
  });
@@ -79546,6 +79999,19 @@ ${docStr}
79546
79999
  uneditableBlockSelected: "\u9009\u4E2D\u533A\u57DF\u5305\u542B\u9501\u5B9A\u533A\u5757\uFF0C\u6682\u4E0D\u652F\u6301\u526A\u5207"
79547
80000
  }
79548
80001
  };
80002
+ const zhHK$g = {
80003
+ contextMenu: {
80004
+ copyMarkdown: "\u8907\u88FD\u70BA Markdown",
80005
+ paste: "\u7C98\u8CBC",
80006
+ copyImage: "\u8907\u88FD\u5716\u7247",
80007
+ copyImageUrl: "\u8907\u88FD\u5716\u7247\u5730\u5740",
80008
+ imageSaveAs: "\u5716\u7247\u53E6\u5B58\u70BA",
80009
+ newTabOpenImage: "\u65B0\u6A19\u7C64\u9801\u6253\u958B\u5716\u7247",
80010
+ selectBlock: "\u9078\u4E2D\u5340\u584A",
80011
+ selectAll: "\u9078\u4E2D\u5168\u6587",
80012
+ uneditableBlockSelected: "\u9078\u4E2D\u5340\u57DF\u5305\u542B\u9396\u5B9A\u5340\u584A\uFF0C\u66AB\u4E0D\u652F\u6301\u526A\u5207"
80013
+ }
80014
+ };
79549
80015
  const enUS$g = {
79550
80016
  contextMenu: {
79551
80017
  copyMarkdown: "Copy as Markdown",
@@ -79574,6 +80040,7 @@ ${docStr}
79574
80040
  };
79575
80041
  i18n$1.mergeLang({
79576
80042
  "zh-CN": zhCN$g,
80043
+ "zh-HK": zhHK$g,
79577
80044
  "en-US": enUS$g,
79578
80045
  "ja-JP": jaJP$g
79579
80046
  });
@@ -80137,6 +80604,20 @@ ${docStr}
80137
80604
  askAi: "\u8BE2\u95EE Copilot"
80138
80605
  }
80139
80606
  };
80607
+ const zhHK$f = {
80608
+ file: {
80609
+ abstract: "\u9644\u4EF6",
80610
+ commands: {
80611
+ download: "\u4E0B\u8F09",
80612
+ toLink: "\u8F49\u70BA\u6A19\u984C",
80613
+ toCard: "\u8F49\u70BA\u5361\u7247",
80614
+ comment: "\u6DFB\u52A0\u6279\u8A3B",
80615
+ preview: "\u9810\u89BD"
80616
+ },
80617
+ uploadedTime: "\u4E0A\u50B3\u65BC { time }",
80618
+ askAi: "\u8A62\u554F Copilot"
80619
+ }
80620
+ };
80140
80621
  const enUS$f = {
80141
80622
  file: {
80142
80623
  abstract: "Attachment",
@@ -80167,6 +80648,7 @@ ${docStr}
80167
80648
  };
80168
80649
  i18n$1.mergeLang({
80169
80650
  "zh-CN": zhCN$f,
80651
+ "zh-HK": zhHK$f,
80170
80652
  "en-US": enUS$f,
80171
80653
  "ja-JP": jaJP$f
80172
80654
  });
@@ -80252,6 +80734,50 @@ ${docStr}
80252
80734
  filterMemoed: "\u7B5B\u9009\u5DF2\u5907\u6CE8\u7684\u7248\u672C"
80253
80735
  }
80254
80736
  };
80737
+ const zhHK$e = {
80738
+ version: {
80739
+ latest: "\u6700\u65B0\u7248\u672C",
80740
+ update: "{name}\u4FEE\u6539",
80741
+ insert: "{name} \u6DFB\u52A0",
80742
+ delete: "{name} \u522A\u9664",
80743
+ goBack: "\u8FD4\u56DE",
80744
+ revertVersion: "\u9084\u539F\u5167\u5BB9",
80745
+ play: "\u64AD\u653E\u6B77\u53F2\u64CD\u4F5C",
80746
+ versionList: "\u6B77\u53F2\u7248\u672C ({count})",
80747
+ versionListHeader: "\u6B77\u53F2\u7248\u672C",
80748
+ unknown: "\u672A\u77E5\u7248\u672C",
80749
+ restoreFrom: "\u56DE\u6EFE\u81EA\u7248\u672C\u300C{from}\u300D",
80750
+ restoreInfo: "\u56DE\u6EFE\u7684\u7248\u672C\u66AB\u4E0D\u652F\u6301\u8207\u4E0A\u4E00\u7248\u672C\u5C0D\u6BD4",
80751
+ versionInfoLeft: '<span class="text-1">\u7576\u524D\u7248\u672C: </span><span class="name">{versionName}</span><span class="text-2"> \u8207</span>',
80752
+ versionInfoRight: '<span class="text-3">\u5C0D\u6BD4</span>',
80753
+ noSelectedVersion: "\u672A\u9078\u64C7\u7248\u672C",
80754
+ noMemoedVersion: "\u66AB\u7121\u5DF2\u5099\u8A3B\u7684\u6B77\u53F2\u7248\u672C",
80755
+ noFilterVersion: "\u66AB\u7121\u5339\u914D\u7D50\u679C",
80756
+ memo: "\u5099\u8A3B",
80757
+ revert: "\u56DE\u6EFE",
80758
+ filter: {
80759
+ all: "\u5168\u90E8",
80760
+ memoed: "\u5DF2\u5099\u8A3B",
80761
+ allVersions: "\u5168\u90E8\u6B77\u53F2\u7248\u672C",
80762
+ memoVersions: "\u5DF2\u5099\u8A3B\u7684\u6B77\u53F2\u7248\u672C"
80763
+ },
80764
+ textarea: {
80765
+ placeholder: "\u8ACB\u8F38\u5165\u7248\u672C\u5099\u8A3B"
80766
+ },
80767
+ tooltip: {
80768
+ help: "1. \u56DE\u6EFE\u7248\u672C\u4E0D\u652F\u6301\u8207\u56DE\u6EFE\u524D\u7248\u672C\u9032\u884C\u5C0D\u6BD4\uFF1B\n2. \u82E5\u5169\u500B\u7248\u672C\u4E4B\u9593\u5B58\u5728\u56DE\u6EFE\u7248\u672C\uFF0C\u5247\u4E0D\u652F\u6301\u5C0D\u6BD4\u3002",
80769
+ user: "\u7248\u672C\u7DE8\u8F2F\u8005\uFF1A{name}",
80770
+ auth: "\u66AB\u7121\u9801\u9762\u7DE8\u8F2F\u6B0A\u9650\uFF0C\u8ACB\u806F\u7E6B\u7BA1\u7406\u54E1"
80771
+ },
80772
+ dropdownHeader: "\u50C5\u5C55\u793A\u53EF\u8207\u7576\u524D\u7248\u672C\u9032\u884C\u5C0D\u6BD4\u7684\u6B77\u53F2\u7248\u672C",
80773
+ dropdown: {
80774
+ header: "\u6240\u6709\u53EF\u5C0D\u6BD4\u7684\u7248\u672C"
80775
+ },
80776
+ noVersions: "\u66AB\u7121\u53EF\u5C0D\u6BD4\u7684\u7248\u672C",
80777
+ lastVersion: "\u4E0A\u4E00\u7248\u672C",
80778
+ filterMemoed: "\u7BE9\u9078\u5DF2\u5099\u8A3B\u7684\u7248\u672C"
80779
+ }
80780
+ };
80255
80781
  const enUS$e = {
80256
80782
  version: {
80257
80783
  latest: "Latest",
@@ -80342,6 +80868,7 @@ ${docStr}
80342
80868
  };
80343
80869
  i18n$1.mergeLang({
80344
80870
  "zh-CN": zhCN$e,
80871
+ "zh-HK": zhHK$e,
80345
80872
  "en-US": enUS$e,
80346
80873
  "ja-JP": jaJP$e
80347
80874
  });
@@ -82234,6 +82761,12 @@ ${docStr}
82234
82761
  collapse: "\u6536\u8D77"
82235
82762
  }
82236
82763
  };
82764
+ const zhHK$d = {
82765
+ expandCollapseButton: {
82766
+ expand: "\u5C55\u958B",
82767
+ collapse: "\u6536\u8D77"
82768
+ }
82769
+ };
82237
82770
  const enUS$d = {
82238
82771
  expandCollapseButton: {
82239
82772
  expand: "Expand",
@@ -82248,6 +82781,7 @@ ${docStr}
82248
82781
  };
82249
82782
  i18n$1.mergeLang({
82250
82783
  "zh-CN": zhCN$d,
82784
+ "zh-HK": zhHK$d,
82251
82785
  "en-US": enUS$d,
82252
82786
  "ja-JP": jaJP$d
82253
82787
  });
@@ -83084,6 +83618,13 @@ ${docStr}
83084
83618
  abstract: "\u6807\u9898\u76EE\u5F55"
83085
83619
  }
83086
83620
  };
83621
+ const zhHK$c = {
83622
+ toc: {
83623
+ name: "\u6A19\u984C\u76EE\u9304",
83624
+ empty: "\u7576\u524D\u9801\u9762\u66AB\u7121\u6A19\u984C\u6A23\u5F0F\u6587\u672C",
83625
+ abstract: "\u6A19\u984C\u76EE\u9304"
83626
+ }
83627
+ };
83087
83628
  const enUS$c = {
83088
83629
  toc: {
83089
83630
  name: "Toc",
@@ -83100,6 +83641,7 @@ ${docStr}
83100
83641
  };
83101
83642
  i18n$1.mergeLang({
83102
83643
  "zh-CN": zhCN$c,
83644
+ "zh-HK": zhHK$c,
83103
83645
  "en-US": enUS$c,
83104
83646
  "ja-JP": jaJP$c
83105
83647
  });
@@ -83586,6 +84128,14 @@ ${docStr}
83586
84128
  header: "\u63D0\u53CA\u6210\u5458"
83587
84129
  }
83588
84130
  };
84131
+ const zhHK$b = {
84132
+ mention: {
84133
+ abstract: "\u6210\u54E1",
84134
+ placeholder: "\u641C\u7D22\u6210\u54E1",
84135
+ noResult: "\u66AB\u7121\u5339\u914D\u7D50\u679C",
84136
+ header: "\u63D0\u53CA\u6210\u54E1"
84137
+ }
84138
+ };
83589
84139
  const enUS$b = {
83590
84140
  mention: {
83591
84141
  abstract: "Member",
@@ -83604,6 +84154,7 @@ ${docStr}
83604
84154
  };
83605
84155
  i18n$1.mergeLang({
83606
84156
  "zh-CN": zhCN$b,
84157
+ "zh-HK": zhHK$b,
83607
84158
  "en-US": enUS$b,
83608
84159
  "ja-JP": jaJP$b
83609
84160
  });
@@ -83615,6 +84166,14 @@ ${docStr}
83615
84166
  customizedMark: "\u81EA\u5B9A\u4E49"
83616
84167
  }
83617
84168
  };
84169
+ const zhHK$a = {
84170
+ templates: {
84171
+ title: "\u9078\u64C7\u6A21\u677F\uFF0C\u5FEB\u901F\u5275\u5EFA",
84172
+ create: "\u65B0\u5EFA\u6A21\u677F",
84173
+ choose: "\u5168\u90E8\u6A21\u677F",
84174
+ customizedMark: "\u81EA\u5B9A\u7FA9"
84175
+ }
84176
+ };
83618
84177
  const enUS$a = {
83619
84178
  templates: {
83620
84179
  title: "Choose a template",
@@ -83633,6 +84192,7 @@ ${docStr}
83633
84192
  };
83634
84193
  i18n$1.mergeLang({
83635
84194
  "zh-CN": zhCN$a,
84195
+ "zh-HK": zhHK$a,
83636
84196
  "en-US": enUS$a,
83637
84197
  "ja-JP": jaJP$a
83638
84198
  });
@@ -83831,6 +84391,20 @@ ${docStr}
83831
84391
  }
83832
84392
  }
83833
84393
  };
84394
+ const zhHK$9 = {
84395
+ callout: {
84396
+ name: "\u9AD8\u4EAE\u584A",
84397
+ command: {
84398
+ presetInfo: "\u5E38\u898F\u6A23\u5F0F",
84399
+ presetAlert: "\u8B66\u793A\u6A23\u5F0F",
84400
+ clearEmoji: "\u522A\u9664\u5716\u6A19",
84401
+ background: "\u80CC\u666F\u984F\u8272"
84402
+ },
84403
+ icon: {
84404
+ toggleIcon: "\u9EDE\u64CA\u66F4\u63DB\u5716\u6A19"
84405
+ }
84406
+ }
84407
+ };
83834
84408
  const enUS$9 = {
83835
84409
  callout: {
83836
84410
  name: "Callout",
@@ -83861,6 +84435,7 @@ ${docStr}
83861
84435
  };
83862
84436
  i18n$1.mergeLang({
83863
84437
  "zh-CN": zhCN$9,
84438
+ "zh-HK": zhHK$9,
83864
84439
  "en-US": enUS$9,
83865
84440
  "ja-JP": jaJP$9
83866
84441
  });
@@ -85396,6 +85971,23 @@ ${docStr}
85396
85971
  }
85397
85972
  }
85398
85973
  };
85974
+ const zhHK$8 = {
85975
+ graph: {
85976
+ empty: "\u8F38\u5165\u4EE3\u78BC\u5C55\u793A\u7E6A\u5716",
85977
+ readonlyEmpty: "\u66AB\u7121\u7E6A\u5716",
85978
+ errorTips: "\u5167\u5BB9\u7121\u6548\uFF0C\u7121\u6CD5\u751F\u6210\u7E6A\u5716",
85979
+ help: "\u5E6B\u52A9",
85980
+ plantuml: "PlantUML",
85981
+ mermaid: "Mermaid",
85982
+ flowchart: "Flowchart",
85983
+ command: {
85984
+ name: "\u6587\u672C\u7E6A\u5716",
85985
+ bothShow: "\u5C55\u793A\u4EE3\u78BC\u8207\u7E6A\u5716",
85986
+ codeShow: "\u50C5\u5C55\u793A\u4EE3\u78BC",
85987
+ drawShow: "\u50C5\u5C55\u793A\u7E6A\u5716"
85988
+ }
85989
+ }
85990
+ };
85399
85991
  const enUS$8 = {
85400
85992
  graph: {
85401
85993
  empty: "Input code to generate diagram",
@@ -85432,6 +86024,7 @@ ${docStr}
85432
86024
  };
85433
86025
  i18n$1.mergeLang({
85434
86026
  "zh-CN": zhCN$8,
86027
+ "zh-HK": zhHK$8,
85435
86028
  "en-US": enUS$8,
85436
86029
  "ja-JP": jaJP$8
85437
86030
  });
@@ -85765,7 +86358,7 @@ ${data2.flowchartText}
85765
86358
  }
85766
86359
  const DrawioLang = {
85767
86360
  "zh-CN": "zh",
85768
- "zh-TW": "zh-tw",
86361
+ "zh-HK": "zh-tw",
85769
86362
  "ja-JP": "ja",
85770
86363
  "en-US": "en"
85771
86364
  };
@@ -86442,6 +87035,24 @@ ${data2.flowchartText}
86442
87035
  }
86443
87036
  }
86444
87037
  };
87038
+ const zhHK$7 = {
87039
+ drawio: {
87040
+ title: "\u6D41\u7A0B\u5716/UML",
87041
+ empty: "\u7A7A\u5716\u8868",
87042
+ loading: "\u52A0\u8F09\u4E2D",
87043
+ abstract: "\u6D41\u7A0B\u5716/UML",
87044
+ errorTips: "\u6D41\u7A0B\u5716/UML\u52A0\u8F09\u5931\u6557",
87045
+ errorSubTips: "\u7DB2\u7D61\u670D\u52D9\u7570\u5E38\uFF0C\u4F60\u53EF\u4EE5",
87046
+ warnTips: "\u6D41\u7A0B\u5716/UML \u8CC7\u6E90\u7372\u53D6\u5931\u6557\uFF0C\u7121\u6CD5\u9032\u884C\u7DE8\u8F2F\u3002",
87047
+ retry: "\u91CD\u8A66",
87048
+ save: "\u4FDD\u5B58\u4E2D",
87049
+ exit: "\u9000\u51FA",
87050
+ error: {
87051
+ exitConfirm: "\u9000\u51FA\u7DE8\u8F2F",
87052
+ exitMessage: "\u9000\u51FA\u7DE8\u8F2F\u5F8C\uFF0C\u6240\u6709\u66F4\u6539\u7121\u6CD5\u4FDD\u5B58\u3002\u662F\u5426\u78BA\u5B9A\u9000\u51FA\uFF1F"
87053
+ }
87054
+ }
87055
+ };
86445
87056
  const jaJP$7 = {
86446
87057
  drawio: {
86447
87058
  title: "\u30D5\u30ED\u30FC\u30C1\u30E3\u30FC\u30C8/UML",
@@ -86463,6 +87074,7 @@ ${data2.flowchartText}
86463
87074
  const langs = {
86464
87075
  "en-US": enUS$7,
86465
87076
  "zh-CN": zhCN$7,
87077
+ "zh-HK": zhHK$7,
86466
87078
  "ja-JP": jaJP$7
86467
87079
  };
86468
87080
  i18n$1.mergeLang(langs);
@@ -87538,6 +88150,14 @@ ${data2.plantumlText}
87538
88150
  }
87539
88151
  }
87540
88152
  };
88153
+ const zhHK$6 = {
88154
+ mobile: {
88155
+ insert: "\u63D2\u5165",
88156
+ commands: {
88157
+ select: "\u9078\u64C7"
88158
+ }
88159
+ }
88160
+ };
87541
88161
  const enUS$6 = {
87542
88162
  mobile: {
87543
88163
  insert: "Insert",
@@ -87556,6 +88176,7 @@ ${data2.plantumlText}
87556
88176
  };
87557
88177
  i18n$1.mergeLang({
87558
88178
  "zh-CN": zhCN$6,
88179
+ "zh-HK": zhHK$6,
87559
88180
  "en-US": enUS$6,
87560
88181
  "ja-JP": jaJP$6
87561
88182
  });
@@ -87686,6 +88307,15 @@ ${data2.plantumlText}
87686
88307
  currentCols: "{currentColumns} \u680F"
87687
88308
  }
87688
88309
  };
88310
+ const zhHK$5 = {
88311
+ layout: {
88312
+ title: "\u5206\u6B04",
88313
+ columnDrag: "\u9577\u6309\u62D6\u62FD\n\u9EDE\u64CA\u53EF\u64CD\u4F5C\u522A\u9664",
88314
+ insertColumn: "\u63D2\u5165\u5206\u6B04",
88315
+ selectColumn: "\u9078\u64C7\u5206\u6B04",
88316
+ currentCols: "{currentColumns} \u6B04"
88317
+ }
88318
+ };
87689
88319
  const enUS$5 = {
87690
88320
  layout: {
87691
88321
  title: "Column",
@@ -87706,6 +88336,7 @@ ${data2.plantumlText}
87706
88336
  };
87707
88337
  i18n$1.mergeLang({
87708
88338
  "zh-CN": zhCN$5,
88339
+ "zh-HK": zhHK$5,
87709
88340
  "en-US": enUS$5,
87710
88341
  "ja-JP": jaJP$5
87711
88342
  });
@@ -89801,6 +90432,32 @@ ${data2.plantumlText}
89801
90432
  }
89802
90433
  }
89803
90434
  };
90435
+ const zhHK$4 = {
90436
+ webpage: {
90437
+ title: "\u7DB2\u9801",
90438
+ youku: "\u512A\u9177\u8996\u983B",
90439
+ modao: "\u58A8\u5200",
90440
+ tencent: "\u9A30\u8A0A\u8996\u983B",
90441
+ bilibili: "Bilibili",
90442
+ figma: "Figma",
90443
+ dialog: {
90444
+ helpContent: "\u56E0\u76EE\u6A19\u7DB2\u9801\u7684\u9650\u5236\uFF0C\u90E8\u5206\u7DB2\u9801\u53EF\u80FD\u7121\u6CD5\u6210\u529F\u9810\u89BD\u3002",
90445
+ helpLink: "\u5982\u4F55\u7372\u53D6\u9023\u7D50",
90446
+ label: "\u7DB2\u9801\u5730\u5740",
90447
+ placeholder: "\u8ACB\u8F38\u5165",
90448
+ title: "\u63D2\u5165{name}",
90449
+ errorEnterUrl: "\u8ACB\u8F38\u5165\u7DB2\u9801\u5730\u5740",
90450
+ unsupportedUrl: "\u66AB\u4E0D\u652F\u6301\u63D2\u5165\u8A72\u9023\u7D50\u5167\u5BB9",
90451
+ okText: "\u78BA\u5B9A",
90452
+ cancelText: "\u53D6\u6D88"
90453
+ },
90454
+ abstract: "\u7DB2\u9801",
90455
+ command: {
90456
+ refresh: "\u5237\u65B0\u9801\u9762",
90457
+ openPage: "\u6253\u958B\u539F\u59CB\u9801\u9762"
90458
+ }
90459
+ }
90460
+ };
89804
90461
  const enUS$4 = {
89805
90462
  webpage: {
89806
90463
  title: "Webpage",
@@ -89855,6 +90512,7 @@ ${data2.plantumlText}
89855
90512
  };
89856
90513
  i18n$1.mergeLang({
89857
90514
  "zh-CN": zhCN$4,
90515
+ "zh-HK": zhHK$4,
89858
90516
  "en-US": enUS$4,
89859
90517
  "ja-JP": jaJP$4
89860
90518
  });
@@ -89866,6 +90524,12 @@ ${data2.plantumlText}
89866
90524
  abstract: "\u5206\u5272\u7EBF"
89867
90525
  }
89868
90526
  };
90527
+ const zhHK$3 = {
90528
+ dividingLine: {
90529
+ type: "\u5206\u5272\u7DDA",
90530
+ abstract: "\u5206\u5272\u7DDA"
90531
+ }
90532
+ };
89869
90533
  const enUS$3 = {
89870
90534
  dividingLine: {
89871
90535
  type: "Dividing-Line",
@@ -89880,6 +90544,7 @@ ${data2.plantumlText}
89880
90544
  };
89881
90545
  i18n$1.mergeLang({
89882
90546
  "zh-CN": zhCN$3,
90547
+ "zh-HK": zhHK$3,
89883
90548
  "en-US": enUS$3,
89884
90549
  "ja-JP": jaJP$3
89885
90550
  });
@@ -89959,6 +90624,25 @@ ${data2.plantumlText}
89959
90624
  }
89960
90625
  }
89961
90626
  };
90627
+ const zhHK$2 = {
90628
+ media: {
90629
+ upload: {
90630
+ failed: '<div class="line-1">{name}\u4E0A\u50B3\u5931\u6557</div><div class="line-2">\u7DB2\u7D61\u670D\u52D9\u7570\u5E38\uFF0C\u4F60\u53EF\u4EE5 <span class="retry-upload">\u91CD\u8A66</span></div>',
90631
+ maxSizeFailed: '<div class="line-1">{name}\u4E0A\u50B3\u5931\u6557</div><div class="line-2">\u6587\u4EF6\u5927\u5C0F\u8D85\u904E\u9650\u5236\uFF0C\u8ACB\u91CD\u65B0\u9078\u64C7\u6587\u4EF6</div>'
90632
+ },
90633
+ load: {
90634
+ failed: '<div class="line-1">{name}\u52A0\u8F09\u5931\u6557</div><div class="line-2">\u7DB2\u7D61\u670D\u52D9\u7570\u5E38\uFF0C\u4F60\u53EF\u4EE5 <span class="retry-upload">\u91CD\u8A66</span></div>'
90635
+ },
90636
+ audio: {
90637
+ menuItem: "\u97F3\u983B",
90638
+ abstract: "\u97F3\u983B"
90639
+ },
90640
+ video: {
90641
+ menuItem: "\u8996\u983B",
90642
+ abstract: "\u8996\u983B"
90643
+ }
90644
+ }
90645
+ };
89962
90646
  const enUS$2 = {
89963
90647
  media: {
89964
90648
  upload: {
@@ -89999,6 +90683,7 @@ ${data2.plantumlText}
89999
90683
  };
90000
90684
  i18n$1.mergeLang({
90001
90685
  "zh-CN": zhCN$2,
90686
+ "zh-HK": zhHK$2,
90002
90687
  "en-US": enUS$2,
90003
90688
  "ja-JP": jaJP$2
90004
90689
  });
@@ -91154,6 +91839,36 @@ ${data2.plantumlText}
91154
91839
  uploadResourceNoPopup: "\u6587\u4EF6\u8D44\u6E90\u4E0A\u4F20\u5F02\u5E38\uFF0C\u4E3A\u907F\u514D\u6570\u636E\u4E22\u5931\uFF0C\u5DF2\u6682\u65F6\u7981\u7528\u7F16\u8F91\u3002\u8BF7\u590D\u5236\u8FD8\u672A\u4FDD\u5B58\u7684\u4FEE\u6539\uFF0C\u5237\u65B0\u9875\u9762\u540E\u91CD\u8BD5\u3002"
91155
91840
  }
91156
91841
  };
91842
+ const zhHK$1 = {
91843
+ placeholder: {
91844
+ common: {
91845
+ title: "\u8ACB\u8F38\u5165\u6A19\u984C",
91846
+ mobileTitle: "\u8ACB\u8F38\u5165\u6A19\u984C",
91847
+ readonlyTitle: "\u8ACB\u8F38\u5165\u6A19\u984C",
91848
+ content: "\u9EDE\u64CA + \uFF0C\u6216\u8F38\u5165 / \u5FEB\u6377\u63D2\u5165\u7D44\u4EF6",
91849
+ contentInContainer: "\u8F38\u5165 / \u5FEB\u6377\u63D2\u5165\u7D44\u4EF6",
91850
+ contentInCallout: "\u8ACB\u8F38\u5165"
91851
+ },
91852
+ local: {
91853
+ readonlyTitle: "\u672A\u547D\u540D"
91854
+ }
91855
+ },
91856
+ copyCutProperty: {
91857
+ copy: "\u8907\u88FD",
91858
+ cut: "\u526A\u5207",
91859
+ unsafeEnvTips: "\u7531\u65BC\u7576\u524D http \u8A2A\u554F\u74B0\u5883\u4E0B\u7684\u9650\u5236\uFF0C\u8ACB\u4F7F\u7528\u5FEB\u6377\u9375({shortCut}) {operation}",
91860
+ limitedEnvTips: "\u7531\u65BC\u700F\u89BD\u5668\u9650\u5236\uFF0C\u8ACB\u4F7F\u7528 {shortCut} \u7C98\u8CBC"
91861
+ },
91862
+ error: {
91863
+ retry: "\u91CD\u8A66",
91864
+ network: "\u670D\u52D9\u9023\u63A5\u7570\u5E38\uFF0C\u6B63\u5728\u5617\u8A66\u91CD\u9023\u3002\u70BA\u907F\u514D\u5167\u5BB9\u7121\u6CD5\u540C\u6B65\uFF0C\u5DF2\u66AB\u6642\u7981\u7528\u7DE8\u8F2F\u3002\u8ACB\u5728\u670D\u52D9\u9023\u63A5\u5F8C\u7E7C\u7E8C\u3002",
91865
+ networkPopup: "\u670D\u52D9\u9023\u63A5\u7570\u5E38\uFF0C\u6B63\u5728\u5617\u8A66\u91CD\u9023...",
91866
+ uploadResourceError: "\u6578\u64DA\u4FDD\u5B58\u7570\u5E38",
91867
+ uploadResourceErrorMessage: "\u8CC7\u6E90\u4FDD\u5B58\u5931\u6557\uFF0C\u8ACB\u7A0D\u5F8C\u91CD\u8A66\u3002",
91868
+ uploadResourcePopup: "\u8CC7\u6E90\u4E0A\u50B3\u7570\u5E38\uFF0C\u7121\u6CD5\u4FDD\u5B58\u6578\u64DA\u3002\u8ACB\u8907\u88FD\u9084\u672A\u4FDD\u5B58\u7684\u4FEE\u6539\uFF0C\u5237\u65B0\u9801\u9762\u5F8C\u91CD\u8A66\u3002",
91869
+ uploadResourceNoPopup: "\u6587\u4EF6\u8CC7\u6E90\u4E0A\u50B3\u7570\u5E38\uFF0C\u70BA\u907F\u514D\u6578\u64DA\u4E1F\u5931\uFF0C\u5DF2\u66AB\u6642\u7981\u7528\u7DE8\u8F2F\u3002\u8ACB\u8907\u88FD\u9084\u672A\u4FDD\u5B58\u7684\u4FEE\u6539\uFF0C\u5237\u65B0\u9801\u9762\u5F8C\u91CD\u8A66\u3002"
91870
+ }
91871
+ };
91157
91872
  const enUS$1 = {
91158
91873
  placeholder: {
91159
91874
  common: {
@@ -91216,6 +91931,7 @@ ${data2.plantumlText}
91216
91931
  };
91217
91932
  i18n$1.mergeLang({
91218
91933
  "zh-CN": zhCN$1,
91934
+ "zh-HK": zhHK$1,
91219
91935
  "en-US": enUS$1,
91220
91936
  "ja-JP": jaJP$1
91221
91937
  });
@@ -91450,7 +92166,8 @@ ${data2.plantumlText}
91450
92166
  this._editor = editor;
91451
92167
  }
91452
92168
  handleError(error2, customMessage) {
91453
- console.error("wiz-editor error:", error2);
92169
+ console.error(`[${new Date().toLocaleString()}] wiz-editor error: ${error2}
92170
+ ${JSON.stringify(error2, null, 2)}`);
91454
92171
  if (this._editor) {
91455
92172
  this._editor.readonly = true;
91456
92173
  }
@@ -93522,6 +94239,20 @@ ${data2.plantumlText}
93522
94239
  unorderedList: "\u65E0\u5E8F\u5217\u8868"
93523
94240
  }
93524
94241
  };
94242
+ const zhHK = {
94243
+ toolbar: {
94244
+ undo: "\u64A4\u92B7",
94245
+ redo: "\u91CD\u505A",
94246
+ insert: "\u63D2\u5165",
94247
+ findReplace: "\u67E5\u627E\u548C\u66FF\u63DB",
94248
+ image: "\u63D2\u5165\u5716\u7247",
94249
+ link: "\u63D2\u5165\u9023\u7D50",
94250
+ quote: "\u5F15\u7528",
94251
+ checkList: "\u4EFB\u52D9\u5217\u8868",
94252
+ orderedList: "\u6709\u5E8F\u5217\u8868",
94253
+ unorderedList: "\u7121\u5E8F\u5217\u8868"
94254
+ }
94255
+ };
93525
94256
  const enUS = {
93526
94257
  toolbar: {
93527
94258
  undo: "Undo",
@@ -93552,6 +94283,7 @@ ${data2.plantumlText}
93552
94283
  };
93553
94284
  i18n$1.mergeLang({
93554
94285
  "zh-CN": zhCN,
94286
+ "zh-HK": zhHK,
93555
94287
  "en-US": enUS,
93556
94288
  "ja-JP": jaJP
93557
94289
  });
@@ -93902,7 +94634,7 @@ ${data2.plantumlText}
93902
94634
  }
93903
94635
  }
93904
94636
  });
93905
- editor.version = "2.8.28-beta.1";
94637
+ editor.version = "2.8.28-beta.12";
93906
94638
  return editor;
93907
94639
  }
93908
94640
  function isDoc(doc2) {
@@ -94016,7 +94748,7 @@ ${data2.plantumlText}
94016
94748
  }
94017
94749
  });
94018
94750
  OnesEditorToolbar.register(editor);
94019
- editor.version = "2.8.28-beta.1";
94751
+ editor.version = "2.8.28-beta.12";
94020
94752
  return editor;
94021
94753
  }
94022
94754
  async function showDocVersions(editor, options, serverUrl) {