@univerjs/sheets-crosshair-highlight 1.3.1 → 1.4.0

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 (65) hide show
  1. package/lib/cjs/facade.js +2 -5
  2. package/lib/cjs/index.js +26 -51
  3. package/lib/cjs/locale/ar-SA.js +1 -2
  4. package/lib/cjs/locale/ca-ES.js +1 -2
  5. package/lib/cjs/locale/de-DE.js +1 -2
  6. package/lib/cjs/locale/en-US.js +1 -2
  7. package/lib/cjs/locale/es-ES.js +1 -2
  8. package/lib/cjs/locale/fa-IR.js +1 -2
  9. package/lib/cjs/locale/fr-FR.js +1 -2
  10. package/lib/cjs/locale/id-ID.js +1 -2
  11. package/lib/cjs/locale/it-IT.js +1 -2
  12. package/lib/cjs/locale/ja-JP.js +1 -2
  13. package/lib/cjs/locale/ko-KR.js +1 -2
  14. package/lib/cjs/locale/pl-PL.js +1 -2
  15. package/lib/cjs/locale/pt-BR.js +1 -2
  16. package/lib/cjs/locale/ru-RU.js +1 -2
  17. package/lib/cjs/locale/sk-SK.js +1 -2
  18. package/lib/cjs/locale/vi-VN.js +1 -2
  19. package/lib/cjs/locale/zh-CN.js +1 -2
  20. package/lib/cjs/locale/zh-HK.js +1 -2
  21. package/lib/cjs/locale/zh-TW.js +1 -2
  22. package/lib/es/facade.js +2 -4
  23. package/lib/es/index.js +26 -51
  24. package/lib/es/locale/ar-SA.js +1 -2
  25. package/lib/es/locale/ca-ES.js +1 -2
  26. package/lib/es/locale/de-DE.js +1 -2
  27. package/lib/es/locale/en-US.js +1 -2
  28. package/lib/es/locale/es-ES.js +1 -2
  29. package/lib/es/locale/fa-IR.js +1 -2
  30. package/lib/es/locale/fr-FR.js +1 -2
  31. package/lib/es/locale/id-ID.js +1 -2
  32. package/lib/es/locale/it-IT.js +1 -2
  33. package/lib/es/locale/ja-JP.js +1 -2
  34. package/lib/es/locale/ko-KR.js +1 -2
  35. package/lib/es/locale/pl-PL.js +1 -2
  36. package/lib/es/locale/pt-BR.js +1 -2
  37. package/lib/es/locale/ru-RU.js +1 -2
  38. package/lib/es/locale/sk-SK.js +1 -2
  39. package/lib/es/locale/vi-VN.js +1 -2
  40. package/lib/es/locale/zh-CN.js +1 -2
  41. package/lib/es/locale/zh-HK.js +1 -2
  42. package/lib/es/locale/zh-TW.js +1 -2
  43. package/lib/facade.js +2 -4
  44. package/lib/index.js +26 -51
  45. package/lib/locale/ar-SA.js +1 -2
  46. package/lib/locale/ca-ES.js +1 -2
  47. package/lib/locale/de-DE.js +1 -2
  48. package/lib/locale/en-US.js +1 -2
  49. package/lib/locale/es-ES.js +1 -2
  50. package/lib/locale/fa-IR.js +1 -2
  51. package/lib/locale/fr-FR.js +1 -2
  52. package/lib/locale/id-ID.js +1 -2
  53. package/lib/locale/it-IT.js +1 -2
  54. package/lib/locale/ja-JP.js +1 -2
  55. package/lib/locale/ko-KR.js +1 -2
  56. package/lib/locale/pl-PL.js +1 -2
  57. package/lib/locale/pt-BR.js +1 -2
  58. package/lib/locale/ru-RU.js +1 -2
  59. package/lib/locale/sk-SK.js +1 -2
  60. package/lib/locale/vi-VN.js +1 -2
  61. package/lib/locale/zh-CN.js +1 -2
  62. package/lib/locale/zh-HK.js +1 -2
  63. package/lib/locale/zh-TW.js +1 -2
  64. package/lib/umd/index.js +1 -1
  65. package/package.json +14 -14
package/lib/cjs/facade.js CHANGED
@@ -2,7 +2,7 @@ let _univerjs_core = require("@univerjs/core");
2
2
  let _univerjs_core_facade = require("@univerjs/core/facade");
3
3
  let _univerjs_sheets_crosshair_highlight = require("@univerjs/sheets-crosshair-highlight");
4
4
 
5
- //#region src/facade/f-univer.ts
5
+ // src/facade/f-univer.ts
6
6
  /**
7
7
  * @ignore
8
8
  */
@@ -35,8 +35,7 @@ var FUniverSheetsCrosshairHighlightMixin = class extends _univerjs_core_facade.F
35
35
  };
36
36
  _univerjs_core_facade.FUniver.extend(FUniverSheetsCrosshairHighlightMixin);
37
37
 
38
- //#endregion
39
- //#region src/facade/f-event.ts
38
+ // src/facade/f-event.ts
40
39
  /**
41
40
  * @ignore
42
41
  */
@@ -46,5 +45,3 @@ var FSheetsCrosshairHighlightEventNameMixin = class extends _univerjs_core_facad
46
45
  }
47
46
  };
48
47
  _univerjs_core_facade.FEventName.extend(FSheetsCrosshairHighlightEventNameMixin);
49
-
50
- //#endregion
package/lib/cjs/index.js CHANGED
@@ -10,7 +10,7 @@ let _univerjs_design = require("@univerjs/design");
10
10
  let react = require("react");
11
11
  let react_jsx_runtime = require("react/jsx-runtime");
12
12
 
13
- //#region \0@oxc-project+runtime@0.153.0/helpers/esm/typeof.js
13
+ // \0@oxc-project+runtime@0.156.0/helpers/esm/typeof.js
14
14
  function _typeof(o) {
15
15
  "@babel/helpers - typeof";
16
16
  return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
@@ -20,8 +20,7 @@ function _typeof(o) {
20
20
  }, _typeof(o);
21
21
  }
22
22
 
23
- //#endregion
24
- //#region \0@oxc-project+runtime@0.153.0/helpers/esm/toPrimitive.js
23
+ // \0@oxc-project+runtime@0.156.0/helpers/esm/toPrimitive.js
25
24
  function toPrimitive(t, r) {
26
25
  if ("object" != _typeof(t) || !t) return t;
27
26
  var e = t[Symbol.toPrimitive];
@@ -33,15 +32,13 @@ function toPrimitive(t, r) {
33
32
  return ("string" === r ? String : Number)(t);
34
33
  }
35
34
 
36
- //#endregion
37
- //#region \0@oxc-project+runtime@0.153.0/helpers/esm/toPropertyKey.js
35
+ // \0@oxc-project+runtime@0.156.0/helpers/esm/toPropertyKey.js
38
36
  function toPropertyKey(t) {
39
37
  var i = toPrimitive(t, "string");
40
38
  return "symbol" == _typeof(i) ? i : i + "";
41
39
  }
42
40
 
43
- //#endregion
44
- //#region \0@oxc-project+runtime@0.153.0/helpers/esm/defineProperty.js
41
+ // \0@oxc-project+runtime@0.156.0/helpers/esm/defineProperty.js
45
42
  function _defineProperty(e, r, t) {
46
43
  return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
47
44
  value: t,
@@ -51,16 +48,14 @@ function _defineProperty(e, r, t) {
51
48
  }) : e[r] = t, e;
52
49
  }
53
50
 
54
- //#endregion
55
- //#region \0@oxc-project+runtime@0.153.0/helpers/esm/decorateParam.js
51
+ // \0@oxc-project+runtime@0.156.0/helpers/esm/decorateParam.js
56
52
  function __decorateParam(paramIndex, decorator) {
57
53
  return function(target, key) {
58
54
  decorator(target, key, paramIndex);
59
55
  };
60
56
  }
61
57
 
62
- //#endregion
63
- //#region \0@oxc-project+runtime@0.153.0/helpers/esm/decorate.js
58
+ // \0@oxc-project+runtime@0.156.0/helpers/esm/decorate.js
64
59
  function __decorate(decorators, target, key, desc) {
65
60
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
66
61
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -68,8 +63,7 @@ function __decorate(decorators, target, key, desc) {
68
63
  return c > 3 && r && Object.defineProperty(target, key, r), r;
69
64
  }
70
65
 
71
- //#endregion
72
- //#region src/services/crosshair.service.ts
66
+ // src/services/crosshair.service.ts
73
67
  const CROSSHAIR_HIGHLIGHT_COLOR_THEME_PATHS = Array.from({ length: 16 }, (_, index) => `highlight.background.${index + 1}`);
74
68
  const DEFAULT_CROSSHAIR_HIGHLIGHT_COLOR_THEME_PATH = CROSSHAIR_HIGHLIGHT_COLOR_THEME_PATHS[0];
75
69
  function resolveCrosshairHighlightColor(themeService, tokenPath) {
@@ -110,8 +104,7 @@ let SheetsCrosshairHighlightService = class SheetsCrosshairHighlightService exte
110
104
  };
111
105
  SheetsCrosshairHighlightService = __decorate([__decorateParam(0, (0, _univerjs_core.Inject)(_univerjs_core.ThemeService))], SheetsCrosshairHighlightService);
112
106
 
113
- //#endregion
114
- //#region src/commands/operations/operation.ts
107
+ // src/commands/operations/operation.ts
115
108
  /**
116
109
  * A {@link CommandType.OPERATION} to toggle the crosshair highlight.
117
110
  */
@@ -166,8 +159,7 @@ const DisableCrosshairHighlightOperation = {
166
159
  }
167
160
  };
168
161
 
169
- //#endregion
170
- //#region src/menu/crosshair.menu.ts
162
+ // src/menu/crosshair.menu.ts
171
163
  const CROSSHAIR_HIGHLIGHT_OVERLAY_COMPONENT = "CROSSHAIR_HIGHLIGHT_OVERLAY_COMPONENT";
172
164
  function CrosshairHighlightMenuItemFactory(accessor) {
173
165
  const crosshairHighlightService = accessor.get(SheetsCrosshairHighlightService);
@@ -188,8 +180,7 @@ function CrosshairHighlightMenuItemFactory(accessor) {
188
180
  };
189
181
  }
190
182
 
191
- //#endregion
192
- //#region src/menu/schema.ts
183
+ // src/menu/schema.ts
193
184
  const menuSchema = {
194
185
  [_univerjs_ui.RibbonViewGroup.DISPLAY]: { [ToggleCrosshairHighlightOperation.id]: {
195
186
  order: 2,
@@ -205,23 +196,19 @@ const menuSchema = {
205
196
  } } }
206
197
  };
207
198
 
208
- //#endregion
209
- //#region package.json
199
+ // package.json
210
200
  var name = "@univerjs/sheets-crosshair-highlight";
211
- var version = "1.3.1";
201
+ var version = "1.4.0";
212
202
 
213
- //#endregion
214
- //#region src/config/config.ts
203
+ // src/config/config.ts
215
204
  const SHEETS_CROSSHAIR_HIGHLIGHT_PLUGIN_CONFIG_KEY = "sheets-crosshair-highlight.config";
216
205
  const configSymbol = Symbol(SHEETS_CROSSHAIR_HIGHLIGHT_PLUGIN_CONFIG_KEY);
217
206
  const defaultPluginConfig = {};
218
207
 
219
- //#endregion
220
- //#region src/const.ts
208
+ // src/const.ts
221
209
  const SHEETS_CROSSHAIR_HIGHLIGHT_PLUGIN_NAME = "SHEET_CROSSHAIR_HIGHLIGHT_PLUGIN";
222
210
 
223
- //#endregion
224
- //#region src/menu/mobile-crosshair.menu.ts
211
+ // src/menu/mobile-crosshair.menu.ts
225
212
  const MOBILE_CROSSHAIR_HIGHLIGHT_MENU_ID = "sheet.menu.mobile.crosshair-highlight";
226
213
  const MOBILE_CROSSHAIR_HIGHLIGHT_PANEL = "MOBILE_CROSSHAIR_HIGHLIGHT_PANEL";
227
214
  function MobileCrosshairHighlightMenuItemFactory(accessor) {
@@ -240,8 +227,7 @@ function MobileCrosshairHighlightMenuItemFactory(accessor) {
240
227
  };
241
228
  }
242
229
 
243
- //#endregion
244
- //#region src/views/components/CrosshairHighlight.tsx
230
+ // src/views/components/CrosshairHighlight.tsx
245
231
  /**
246
232
  * Copyright 2023-present DreamNum Co., Ltd.
247
233
  *
@@ -278,8 +264,7 @@ function CrosshairOverlay(props) {
278
264
  });
279
265
  }
280
266
 
281
- //#endregion
282
- //#region src/views/mobile/MobileCrosshairHighlightPanel.tsx
267
+ // src/views/mobile/MobileCrosshairHighlightPanel.tsx
283
268
  function MobileCrosshairHighlightPanel() {
284
269
  const commandService = (0, _univerjs_ui.useDependency)(_univerjs_core.ICommandService);
285
270
  const crosshairHighlightService = (0, _univerjs_ui.useDependency)(SheetsCrosshairHighlightService);
@@ -323,8 +308,7 @@ function MobileCrosshairHighlightPanel() {
323
308
  });
324
309
  }
325
310
 
326
- //#endregion
327
- //#region src/controllers/components.controller.ts
311
+ // src/controllers/components.controller.ts
328
312
  /**
329
313
  * Copyright 2023-present DreamNum Co., Ltd.
330
314
  *
@@ -358,15 +342,13 @@ let ComponentsController = class ComponentsController extends _univerjs_core.Dis
358
342
  };
359
343
  ComponentsController = __decorate([__decorateParam(0, (0, _univerjs_core.Inject)(_univerjs_ui.ComponentManager)), __decorateParam(1, (0, _univerjs_core.Inject)(_univerjs_ui.IconManager))], ComponentsController);
360
344
 
361
- //#endregion
362
- //#region src/menu/mobile-schema.ts
345
+ // src/menu/mobile-schema.ts
363
346
  const mobileMenuSchema = { [_univerjs_ui.RibbonDataGroup.ORGANIZATION]: { [MOBILE_CROSSHAIR_HIGHLIGHT_MENU_ID]: {
364
347
  order: 21,
365
348
  menuItemFactory: MobileCrosshairHighlightMenuItemFactory
366
349
  } } };
367
350
 
368
- //#endregion
369
- //#region src/controllers/mobile/crosshair.controller.ts
351
+ // src/controllers/mobile/crosshair.controller.ts
370
352
  /**
371
353
  * Copyright 2023-present DreamNum Co., Ltd.
372
354
  *
@@ -396,8 +378,7 @@ let SheetsCrosshairHighlightMobileController = class SheetsCrosshairHighlightMob
396
378
  };
397
379
  SheetsCrosshairHighlightMobileController = __decorate([__decorateParam(0, _univerjs_core.ICommandService), __decorateParam(1, _univerjs_ui.IMenuManagerService)], SheetsCrosshairHighlightMobileController);
398
380
 
399
- //#endregion
400
- //#region src/util.ts
381
+ // src/util.ts
401
382
  var CrossHairRangeCollection = class {
402
383
  constructor() {
403
384
  _defineProperty(this, "_selectedRanges", []);
@@ -441,8 +422,7 @@ var CrossHairRangeCollection = class {
441
422
  }
442
423
  };
443
424
 
444
- //#endregion
445
- //#region src/views/widgets/crosshair-highlight-shape.ts
425
+ // src/views/widgets/crosshair-highlight-shape.ts
446
426
  var SheetCrossHairHighlightShape = class extends _univerjs_engine_render.Shape {
447
427
  constructor(key, props) {
448
428
  super(key, props);
@@ -470,8 +450,7 @@ var SheetCrossHairHighlightShape = class extends _univerjs_engine_render.Shape {
470
450
  }
471
451
  };
472
452
 
473
- //#endregion
474
- //#region src/views/widgets/crosshair-highlight.render-controller.ts
453
+ // src/views/widgets/crosshair-highlight.render-controller.ts
475
454
  let SheetCrosshairHighlightRenderController = class SheetCrosshairHighlightRenderController extends _univerjs_core.Disposable {
476
455
  constructor(_context, _sheetSkeletonManagerService, _sheetsSelectionsService, _sheetsCrosshairHighlightService, _contextService, _refSelectionsService) {
477
456
  super();
@@ -603,8 +582,7 @@ SheetCrosshairHighlightRenderController = __decorate([
603
582
  __decorateParam(5, _univerjs_sheets.IRefSelectionsService)
604
583
  ], SheetCrosshairHighlightRenderController);
605
584
 
606
- //#endregion
607
- //#region src/mobile-plugin.ts
585
+ // src/mobile-plugin.ts
608
586
  let UniverSheetsCrosshairHighlightMobileUIPlugin = class UniverSheetsCrosshairHighlightMobileUIPlugin extends _univerjs_core.Plugin {
609
587
  constructor(_config = defaultPluginConfig, _injector, _renderManagerService, _configService) {
610
588
  super();
@@ -639,8 +617,7 @@ UniverSheetsCrosshairHighlightMobileUIPlugin = __decorate([
639
617
  __decorateParam(3, _univerjs_core.IConfigService)
640
618
  ], UniverSheetsCrosshairHighlightMobileUIPlugin);
641
619
 
642
- //#endregion
643
- //#region src/controllers/crosshair.controller.ts
620
+ // src/controllers/crosshair.controller.ts
644
621
  /**
645
622
  * Copyright 2023-present DreamNum Co., Ltd.
646
623
  *
@@ -678,8 +655,7 @@ let SheetsCrosshairHighlightController = class SheetsCrosshairHighlightControlle
678
655
  };
679
656
  SheetsCrosshairHighlightController = __decorate([__decorateParam(0, _univerjs_ui.IMenuManagerService), __decorateParam(1, _univerjs_core.ICommandService)], SheetsCrosshairHighlightController);
680
657
 
681
- //#endregion
682
- //#region src/plugin.ts
658
+ // src/plugin.ts
683
659
  let UniverSheetsCrosshairHighlightPlugin = class UniverSheetsCrosshairHighlightPlugin extends _univerjs_core.Plugin {
684
660
  constructor(_config = defaultPluginConfig, _injector, _renderManagerService, _configService) {
685
661
  super();
@@ -715,7 +691,6 @@ UniverSheetsCrosshairHighlightPlugin = __decorate([
715
691
  __decorateParam(3, _univerjs_core.IConfigService)
716
692
  ], UniverSheetsCrosshairHighlightPlugin);
717
693
 
718
- //#endregion
719
694
  exports.DisableCrosshairHighlightOperation = DisableCrosshairHighlightOperation;
720
695
  exports.EnableCrosshairHighlightOperation = EnableCrosshairHighlightOperation;
721
696
  exports.SetCrosshairHighlightColorOperation = SetCrosshairHighlightColorOperation;
@@ -1,5 +1,4 @@
1
- //#region src/locale/ar-SA.ts
1
+ // src/locale/ar-SA.ts
2
2
  const locale = { "sheets-crosshair-highlight": { button: { tooltip: "تسليط الضوء على التقاطع" } } };
3
3
 
4
- //#endregion
5
4
  module.exports = locale;
@@ -1,5 +1,4 @@
1
- //#region src/locale/ca-ES.ts
1
+ // src/locale/ca-ES.ts
2
2
  const locale = { "sheets-crosshair-highlight": { button: { tooltip: "Ressaltat de creu" } } };
3
3
 
4
- //#endregion
5
4
  module.exports = locale;
@@ -1,5 +1,4 @@
1
- //#region src/locale/de-DE.ts
1
+ // src/locale/de-DE.ts
2
2
  const locale = { "sheets-crosshair-highlight": { button: { tooltip: "Fadenkreuz-Hervorhebung" } } };
3
3
 
4
- //#endregion
5
4
  module.exports = locale;
@@ -1,4 +1,4 @@
1
- //#region src/locale/en-US.ts
1
+ // src/locale/en-US.ts
2
2
  /**
3
3
  * Copyright 2023-present DreamNum Co., Ltd.
4
4
  *
@@ -16,5 +16,4 @@
16
16
  */
17
17
  const locale = { "sheets-crosshair-highlight": { button: { tooltip: "Crosshair Highlight" } } };
18
18
 
19
- //#endregion
20
19
  module.exports = locale;
@@ -1,5 +1,4 @@
1
- //#region src/locale/es-ES.ts
1
+ // src/locale/es-ES.ts
2
2
  const locale = { "sheets-crosshair-highlight": { button: { tooltip: "Resaltado de cruz" } } };
3
3
 
4
- //#endregion
5
4
  module.exports = locale;
@@ -1,5 +1,4 @@
1
- //#region src/locale/fa-IR.ts
1
+ // src/locale/fa-IR.ts
2
2
  const locale = { "sheets-crosshair-highlight": { button: { tooltip: "برجسته کردن خط نشانه" } } };
3
3
 
4
- //#endregion
5
4
  module.exports = locale;
@@ -1,5 +1,4 @@
1
- //#region src/locale/fr-FR.ts
1
+ // src/locale/fr-FR.ts
2
2
  const locale = { "sheets-crosshair-highlight": { button: { tooltip: "Surlignage du réticule" } } };
3
3
 
4
- //#endregion
5
4
  module.exports = locale;
@@ -1,5 +1,4 @@
1
- //#region src/locale/id-ID.ts
1
+ // src/locale/id-ID.ts
2
2
  const locale = { "sheets-crosshair-highlight": { button: { tooltip: "Sorot Penyilang" } } };
3
3
 
4
- //#endregion
5
4
  module.exports = locale;
@@ -1,5 +1,4 @@
1
- //#region src/locale/it-IT.ts
1
+ // src/locale/it-IT.ts
2
2
  const locale = { "sheets-crosshair-highlight": { button: { tooltip: "Evidenziazione mirino" } } };
3
3
 
4
- //#endregion
5
4
  module.exports = locale;
@@ -1,5 +1,4 @@
1
- //#region src/locale/ja-JP.ts
1
+ // src/locale/ja-JP.ts
2
2
  const locale = { "sheets-crosshair-highlight": { button: { tooltip: "十字線を強調表示" } } };
3
3
 
4
- //#endregion
5
4
  module.exports = locale;
@@ -1,5 +1,4 @@
1
- //#region src/locale/ko-KR.ts
1
+ // src/locale/ko-KR.ts
2
2
  const locale = { "sheets-crosshair-highlight": { button: { tooltip: "십자선 강조" } } };
3
3
 
4
- //#endregion
5
4
  module.exports = locale;
@@ -1,5 +1,4 @@
1
- //#region src/locale/pl-PL.ts
1
+ // src/locale/pl-PL.ts
2
2
  const locale = { "sheets-crosshair-highlight": { button: { tooltip: "Podświetlenie krzyżowe" } } };
3
3
 
4
- //#endregion
5
4
  module.exports = locale;
@@ -1,5 +1,4 @@
1
- //#region src/locale/pt-BR.ts
1
+ // src/locale/pt-BR.ts
2
2
  const locale = { "sheets-crosshair-highlight": { button: { tooltip: "Destaque de Mira Cruzada" } } };
3
3
 
4
- //#endregion
5
4
  module.exports = locale;
@@ -1,5 +1,4 @@
1
- //#region src/locale/ru-RU.ts
1
+ // src/locale/ru-RU.ts
2
2
  const locale = { "sheets-crosshair-highlight": { button: { tooltip: "Перекрестный выделение" } } };
3
3
 
4
- //#endregion
5
4
  module.exports = locale;
@@ -1,5 +1,4 @@
1
- //#region src/locale/sk-SK.ts
1
+ // src/locale/sk-SK.ts
2
2
  const locale = { "sheets-crosshair-highlight": { button: { tooltip: "Zvýraznenie krížika" } } };
3
3
 
4
- //#endregion
5
4
  module.exports = locale;
@@ -1,5 +1,4 @@
1
- //#region src/locale/vi-VN.ts
1
+ // src/locale/vi-VN.ts
2
2
  const locale = { "sheets-crosshair-highlight": { button: { tooltip: "Đánh dấu chéo" } } };
3
3
 
4
- //#endregion
5
4
  module.exports = locale;
@@ -1,5 +1,4 @@
1
- //#region src/locale/zh-CN.ts
1
+ // src/locale/zh-CN.ts
2
2
  const locale = { "sheets-crosshair-highlight": { button: { tooltip: "十字高亮" } } };
3
3
 
4
- //#endregion
5
4
  module.exports = locale;
@@ -1,5 +1,4 @@
1
- //#region src/locale/zh-HK.ts
1
+ // src/locale/zh-HK.ts
2
2
  const locale = { "sheets-crosshair-highlight": { button: { tooltip: "十字高亮" } } };
3
3
 
4
- //#endregion
5
4
  module.exports = locale;
@@ -1,5 +1,4 @@
1
- //#region src/locale/zh-TW.ts
1
+ // src/locale/zh-TW.ts
2
2
  const locale = { "sheets-crosshair-highlight": { button: { tooltip: "十字高亮" } } };
3
3
 
4
- //#endregion
5
4
  module.exports = locale;
package/lib/es/facade.js CHANGED
@@ -2,7 +2,7 @@ import { ICommandService } from "@univerjs/core";
2
2
  import { FEventName, FUniver } from "@univerjs/core/facade";
3
3
  import { DisableCrosshairHighlightOperation, EnableCrosshairHighlightOperation, SheetsCrosshairHighlightService, ToggleCrosshairHighlightOperation } from "@univerjs/sheets-crosshair-highlight";
4
4
 
5
- //#region src/facade/f-univer.ts
5
+ // src/facade/f-univer.ts
6
6
  /**
7
7
  * @ignore
8
8
  */
@@ -35,8 +35,7 @@ var FUniverSheetsCrosshairHighlightMixin = class extends FUniver {
35
35
  };
36
36
  FUniver.extend(FUniverSheetsCrosshairHighlightMixin);
37
37
 
38
- //#endregion
39
- //#region src/facade/f-event.ts
38
+ // src/facade/f-event.ts
40
39
  /**
41
40
  * @ignore
42
41
  */
@@ -47,5 +46,4 @@ var FSheetsCrosshairHighlightEventNameMixin = class extends FEventName {
47
46
  };
48
47
  FEventName.extend(FSheetsCrosshairHighlightEventNameMixin);
49
48
 
50
- //#endregion
51
49
  export { };