@univerjs/sheets-crosshair-highlight 1.3.1 → 1.5.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 (66) hide show
  1. package/README.md +9 -5
  2. package/lib/cjs/facade.js +2 -5
  3. package/lib/cjs/index.js +47 -56
  4. package/lib/cjs/locale/ar-SA.js +1 -2
  5. package/lib/cjs/locale/ca-ES.js +1 -2
  6. package/lib/cjs/locale/de-DE.js +1 -2
  7. package/lib/cjs/locale/en-US.js +1 -2
  8. package/lib/cjs/locale/es-ES.js +1 -2
  9. package/lib/cjs/locale/fa-IR.js +1 -2
  10. package/lib/cjs/locale/fr-FR.js +1 -2
  11. package/lib/cjs/locale/id-ID.js +1 -2
  12. package/lib/cjs/locale/it-IT.js +1 -2
  13. package/lib/cjs/locale/ja-JP.js +1 -2
  14. package/lib/cjs/locale/ko-KR.js +1 -2
  15. package/lib/cjs/locale/pl-PL.js +1 -2
  16. package/lib/cjs/locale/pt-BR.js +1 -2
  17. package/lib/cjs/locale/ru-RU.js +1 -2
  18. package/lib/cjs/locale/sk-SK.js +1 -2
  19. package/lib/cjs/locale/vi-VN.js +1 -2
  20. package/lib/cjs/locale/zh-CN.js +1 -2
  21. package/lib/cjs/locale/zh-HK.js +1 -2
  22. package/lib/cjs/locale/zh-TW.js +1 -2
  23. package/lib/es/facade.js +2 -4
  24. package/lib/es/index.js +47 -56
  25. package/lib/es/locale/ar-SA.js +1 -2
  26. package/lib/es/locale/ca-ES.js +1 -2
  27. package/lib/es/locale/de-DE.js +1 -2
  28. package/lib/es/locale/en-US.js +1 -2
  29. package/lib/es/locale/es-ES.js +1 -2
  30. package/lib/es/locale/fa-IR.js +1 -2
  31. package/lib/es/locale/fr-FR.js +1 -2
  32. package/lib/es/locale/id-ID.js +1 -2
  33. package/lib/es/locale/it-IT.js +1 -2
  34. package/lib/es/locale/ja-JP.js +1 -2
  35. package/lib/es/locale/ko-KR.js +1 -2
  36. package/lib/es/locale/pl-PL.js +1 -2
  37. package/lib/es/locale/pt-BR.js +1 -2
  38. package/lib/es/locale/ru-RU.js +1 -2
  39. package/lib/es/locale/sk-SK.js +1 -2
  40. package/lib/es/locale/vi-VN.js +1 -2
  41. package/lib/es/locale/zh-CN.js +1 -2
  42. package/lib/es/locale/zh-HK.js +1 -2
  43. package/lib/es/locale/zh-TW.js +1 -2
  44. package/lib/facade.js +2 -4
  45. package/lib/index.js +47 -56
  46. package/lib/locale/ar-SA.js +1 -2
  47. package/lib/locale/ca-ES.js +1 -2
  48. package/lib/locale/de-DE.js +1 -2
  49. package/lib/locale/en-US.js +1 -2
  50. package/lib/locale/es-ES.js +1 -2
  51. package/lib/locale/fa-IR.js +1 -2
  52. package/lib/locale/fr-FR.js +1 -2
  53. package/lib/locale/id-ID.js +1 -2
  54. package/lib/locale/it-IT.js +1 -2
  55. package/lib/locale/ja-JP.js +1 -2
  56. package/lib/locale/ko-KR.js +1 -2
  57. package/lib/locale/pl-PL.js +1 -2
  58. package/lib/locale/pt-BR.js +1 -2
  59. package/lib/locale/ru-RU.js +1 -2
  60. package/lib/locale/sk-SK.js +1 -2
  61. package/lib/locale/vi-VN.js +1 -2
  62. package/lib/locale/zh-CN.js +1 -2
  63. package/lib/locale/zh-HK.js +1 -2
  64. package/lib/locale/zh-TW.js +1 -2
  65. package/lib/umd/index.js +1 -1
  66. package/package.json +14 -14
package/README.md CHANGED
@@ -8,9 +8,9 @@
8
8
 
9
9
  ## Package Overview
10
10
 
11
- | Package | UMD global | CSS | Locales | Facade entry |
12
- | --- | --- | :---: | :---: | :---: |
13
- | `@univerjs/sheets-crosshair-highlight` | `UniverSheetsCrosshairHighlight` | Yes | Yes | Yes |
11
+ | Package | UMD global | CSS | Locales | Facade entry | Worker entry |
12
+ | --- | --- | :---: | :---: | :---: | :---: |
13
+ | `@univerjs/sheets-crosshair-highlight` | `UniverSheetsCrosshairHighlight` | Yes | Yes | Yes | No |
14
14
 
15
15
  ## Installation
16
16
 
@@ -20,10 +20,10 @@ pnpm add @univerjs/sheets-crosshair-highlight
20
20
  npm install @univerjs/sheets-crosshair-highlight
21
21
  ```
22
22
 
23
- Keep all `@univerjs/*` packages on the same version.
24
-
25
23
  ## Usage
26
24
 
25
+ Start with the [integration setup](https://docs.univer.ai/) for your document type, including its required plugins, styles, and locale resources. The snippet below assumes that setup is complete.
26
+
27
27
  ```ts
28
28
  import '@univerjs/sheets-crosshair-highlight/lib/index.css';
29
29
  import EnUS from '@univerjs/sheets-crosshair-highlight/locale/en-US';
@@ -34,6 +34,10 @@ univer.registerPlugin(UniverSheetsCrosshairHighlightPlugin);
34
34
  // Merge EnUS into your Univer locale map when this package contributes UI text.
35
35
  ```
36
36
 
37
+ ## Integration Notes
38
+
39
+ - Import `@univerjs/sheets-crosshair-highlight/facade` when using this package through Univer Facade APIs.
40
+
37
41
  ## Resources
38
42
 
39
43
  - [Documentation](https://docs.univer.ai)
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.157.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,28 +20,25 @@ 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
25
- function toPrimitive(t, r) {
23
+ // \0@oxc-project+runtime@0.157.0/helpers/esm/toPrimitive.js
24
+ function toPrimitive(t, e) {
26
25
  if ("object" != _typeof(t) || !t) return t;
27
- var e = t[Symbol.toPrimitive];
28
- if (void 0 !== e) {
29
- var i = e.call(t, r || "default");
26
+ var r;
27
+ if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) {
28
+ var i = r.call(t, e || "default");
30
29
  if ("object" != _typeof(i)) return i;
31
30
  throw new TypeError("@@toPrimitive must return a primitive value.");
32
31
  }
33
- return ("string" === r ? String : Number)(t);
32
+ return ("string" === e ? 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.157.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.157.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.157.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.157.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.5.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,22 @@ function CrosshairOverlay(props) {
278
264
  });
279
265
  }
280
266
 
281
- //#endregion
282
- //#region src/views/mobile/MobileCrosshairHighlightPanel.tsx
267
+ // src/views/mobile/MobileCrosshairHighlightPanel.tsx
268
+ /**
269
+ * Copyright 2023-present DreamNum Co., Ltd.
270
+ *
271
+ * Licensed under the Apache License, Version 2.0 (the "License");
272
+ * you may not use this file except in compliance with the License.
273
+ * You may obtain a copy of the License at
274
+ *
275
+ * http://www.apache.org/licenses/LICENSE-2.0
276
+ *
277
+ * Unless required by applicable law or agreed to in writing, software
278
+ * distributed under the License is distributed on an "AS IS" BASIS,
279
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
280
+ * See the License for the specific language governing permissions and
281
+ * limitations under the License.
282
+ */
283
283
  function MobileCrosshairHighlightPanel() {
284
284
  const commandService = (0, _univerjs_ui.useDependency)(_univerjs_core.ICommandService);
285
285
  const crosshairHighlightService = (0, _univerjs_ui.useDependency)(SheetsCrosshairHighlightService);
@@ -296,6 +296,7 @@ function MobileCrosshairHighlightPanel() {
296
296
  className: "univer-min-w-0 univer-flex-1 univer-text-base univer-font-medium univer-text-gray-900 dark:!univer-text-gray-100",
297
297
  children: localeService.t("sheets-crosshair-highlight.button.tooltip")
298
298
  }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_univerjs_design.Switch, {
299
+ "aria-label": localeService.t("sheets-crosshair-highlight.button.tooltip"),
299
300
  defaultChecked: enabled,
300
301
  onChange: (checked) => {
301
302
  const operation = checked ? EnableCrosshairHighlightOperation : DisableCrosshairHighlightOperation;
@@ -323,8 +324,7 @@ function MobileCrosshairHighlightPanel() {
323
324
  });
324
325
  }
325
326
 
326
- //#endregion
327
- //#region src/controllers/components.controller.ts
327
+ // src/controllers/components.controller.ts
328
328
  /**
329
329
  * Copyright 2023-present DreamNum Co., Ltd.
330
330
  *
@@ -358,15 +358,13 @@ let ComponentsController = class ComponentsController extends _univerjs_core.Dis
358
358
  };
359
359
  ComponentsController = __decorate([__decorateParam(0, (0, _univerjs_core.Inject)(_univerjs_ui.ComponentManager)), __decorateParam(1, (0, _univerjs_core.Inject)(_univerjs_ui.IconManager))], ComponentsController);
360
360
 
361
- //#endregion
362
- //#region src/menu/mobile-schema.ts
361
+ // src/menu/mobile-schema.ts
363
362
  const mobileMenuSchema = { [_univerjs_ui.RibbonDataGroup.ORGANIZATION]: { [MOBILE_CROSSHAIR_HIGHLIGHT_MENU_ID]: {
364
363
  order: 21,
365
364
  menuItemFactory: MobileCrosshairHighlightMenuItemFactory
366
365
  } } };
367
366
 
368
- //#endregion
369
- //#region src/controllers/mobile/crosshair.controller.ts
367
+ // src/controllers/mobile/crosshair.controller.ts
370
368
  /**
371
369
  * Copyright 2023-present DreamNum Co., Ltd.
372
370
  *
@@ -396,8 +394,7 @@ let SheetsCrosshairHighlightMobileController = class SheetsCrosshairHighlightMob
396
394
  };
397
395
  SheetsCrosshairHighlightMobileController = __decorate([__decorateParam(0, _univerjs_core.ICommandService), __decorateParam(1, _univerjs_ui.IMenuManagerService)], SheetsCrosshairHighlightMobileController);
398
396
 
399
- //#endregion
400
- //#region src/util.ts
397
+ // src/util.ts
401
398
  var CrossHairRangeCollection = class {
402
399
  constructor() {
403
400
  _defineProperty(this, "_selectedRanges", []);
@@ -441,8 +438,7 @@ var CrossHairRangeCollection = class {
441
438
  }
442
439
  };
443
440
 
444
- //#endregion
445
- //#region src/views/widgets/crosshair-highlight-shape.ts
441
+ // src/views/widgets/crosshair-highlight-shape.ts
446
442
  var SheetCrossHairHighlightShape = class extends _univerjs_engine_render.Shape {
447
443
  constructor(key, props) {
448
444
  super(key, props);
@@ -470,8 +466,7 @@ var SheetCrossHairHighlightShape = class extends _univerjs_engine_render.Shape {
470
466
  }
471
467
  };
472
468
 
473
- //#endregion
474
- //#region src/views/widgets/crosshair-highlight.render-controller.ts
469
+ // src/views/widgets/crosshair-highlight.render-controller.ts
475
470
  let SheetCrosshairHighlightRenderController = class SheetCrosshairHighlightRenderController extends _univerjs_core.Disposable {
476
471
  constructor(_context, _sheetSkeletonManagerService, _sheetsSelectionsService, _sheetsCrosshairHighlightService, _contextService, _refSelectionsService) {
477
472
  super();
@@ -603,8 +598,7 @@ SheetCrosshairHighlightRenderController = __decorate([
603
598
  __decorateParam(5, _univerjs_sheets.IRefSelectionsService)
604
599
  ], SheetCrosshairHighlightRenderController);
605
600
 
606
- //#endregion
607
- //#region src/mobile-plugin.ts
601
+ // src/mobile-plugin.ts
608
602
  let UniverSheetsCrosshairHighlightMobileUIPlugin = class UniverSheetsCrosshairHighlightMobileUIPlugin extends _univerjs_core.Plugin {
609
603
  constructor(_config = defaultPluginConfig, _injector, _renderManagerService, _configService) {
610
604
  super();
@@ -639,8 +633,7 @@ UniverSheetsCrosshairHighlightMobileUIPlugin = __decorate([
639
633
  __decorateParam(3, _univerjs_core.IConfigService)
640
634
  ], UniverSheetsCrosshairHighlightMobileUIPlugin);
641
635
 
642
- //#endregion
643
- //#region src/controllers/crosshair.controller.ts
636
+ // src/controllers/crosshair.controller.ts
644
637
  /**
645
638
  * Copyright 2023-present DreamNum Co., Ltd.
646
639
  *
@@ -678,8 +671,7 @@ let SheetsCrosshairHighlightController = class SheetsCrosshairHighlightControlle
678
671
  };
679
672
  SheetsCrosshairHighlightController = __decorate([__decorateParam(0, _univerjs_ui.IMenuManagerService), __decorateParam(1, _univerjs_core.ICommandService)], SheetsCrosshairHighlightController);
680
673
 
681
- //#endregion
682
- //#region src/plugin.ts
674
+ // src/plugin.ts
683
675
  let UniverSheetsCrosshairHighlightPlugin = class UniverSheetsCrosshairHighlightPlugin extends _univerjs_core.Plugin {
684
676
  constructor(_config = defaultPluginConfig, _injector, _renderManagerService, _configService) {
685
677
  super();
@@ -715,7 +707,6 @@ UniverSheetsCrosshairHighlightPlugin = __decorate([
715
707
  __decorateParam(3, _univerjs_core.IConfigService)
716
708
  ], UniverSheetsCrosshairHighlightPlugin);
717
709
 
718
- //#endregion
719
710
  exports.DisableCrosshairHighlightOperation = DisableCrosshairHighlightOperation;
720
711
  exports.EnableCrosshairHighlightOperation = EnableCrosshairHighlightOperation;
721
712
  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 { };