@univerjs/sheets-sort-ui 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 (63) hide show
  1. package/README.md +5 -5
  2. package/lib/cjs/index.js +37 -58
  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/index.js +37 -58
  23. package/lib/es/locale/ar-SA.js +1 -2
  24. package/lib/es/locale/ca-ES.js +1 -2
  25. package/lib/es/locale/de-DE.js +1 -2
  26. package/lib/es/locale/en-US.js +1 -2
  27. package/lib/es/locale/es-ES.js +1 -2
  28. package/lib/es/locale/fa-IR.js +1 -2
  29. package/lib/es/locale/fr-FR.js +1 -2
  30. package/lib/es/locale/id-ID.js +1 -2
  31. package/lib/es/locale/it-IT.js +1 -2
  32. package/lib/es/locale/ja-JP.js +1 -2
  33. package/lib/es/locale/ko-KR.js +1 -2
  34. package/lib/es/locale/pl-PL.js +1 -2
  35. package/lib/es/locale/pt-BR.js +1 -2
  36. package/lib/es/locale/ru-RU.js +1 -2
  37. package/lib/es/locale/sk-SK.js +1 -2
  38. package/lib/es/locale/vi-VN.js +1 -2
  39. package/lib/es/locale/zh-CN.js +1 -2
  40. package/lib/es/locale/zh-HK.js +1 -2
  41. package/lib/es/locale/zh-TW.js +1 -2
  42. package/lib/index.js +37 -58
  43. package/lib/locale/ar-SA.js +1 -2
  44. package/lib/locale/ca-ES.js +1 -2
  45. package/lib/locale/de-DE.js +1 -2
  46. package/lib/locale/en-US.js +1 -2
  47. package/lib/locale/es-ES.js +1 -2
  48. package/lib/locale/fa-IR.js +1 -2
  49. package/lib/locale/fr-FR.js +1 -2
  50. package/lib/locale/id-ID.js +1 -2
  51. package/lib/locale/it-IT.js +1 -2
  52. package/lib/locale/ja-JP.js +1 -2
  53. package/lib/locale/ko-KR.js +1 -2
  54. package/lib/locale/pl-PL.js +1 -2
  55. package/lib/locale/pt-BR.js +1 -2
  56. package/lib/locale/ru-RU.js +1 -2
  57. package/lib/locale/sk-SK.js +1 -2
  58. package/lib/locale/vi-VN.js +1 -2
  59. package/lib/locale/zh-CN.js +1 -2
  60. package/lib/locale/zh-HK.js +1 -2
  61. package/lib/locale/zh-TW.js +1 -2
  62. package/lib/umd/index.js +1 -1
  63. package/package.json +16 -16
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-sort-ui` | `UniverSheetsSortUi` | Yes | Yes | No |
11
+ | Package | UMD global | CSS | Locales | Facade entry | Worker entry |
12
+ | --- | --- | :---: | :---: | :---: | :---: |
13
+ | `@univerjs/sheets-sort-ui` | `UniverSheetsSortUi` | Yes | Yes | No | No |
14
14
 
15
15
  ## Installation
16
16
 
@@ -20,10 +20,10 @@ pnpm add @univerjs/sheets-sort-ui
20
20
  npm install @univerjs/sheets-sort-ui
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-sort-ui/lib/index.css';
29
29
  import EnUS from '@univerjs/sheets-sort-ui/locale/en-US';
package/lib/cjs/index.js CHANGED
@@ -11,7 +11,7 @@ let _univerjs_sheets_ui = require("@univerjs/sheets-ui");
11
11
  let _univerjs_icons = require("@univerjs/icons");
12
12
  let _univerjs_engine_formula = require("@univerjs/engine-formula");
13
13
 
14
- //#region src/views/ExtendConfirm.tsx
14
+ // src/views/ExtendConfirm.tsx
15
15
  const ExtendConfirm = (props) => {
16
16
  const [extend, setExtend] = (0, react.useState)("0");
17
17
  const localeService = (0, _univerjs_ui.useDependency)(_univerjs_core.LocaleService);
@@ -42,8 +42,7 @@ function createExtendConfirm(onChange) {
42
42
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ExtendConfirm, { onChange });
43
43
  }
44
44
 
45
- //#endregion
46
- //#region src/views/SortCheckError.tsx
45
+ // src/views/SortCheckError.tsx
47
46
  const SortCheckError = (props) => {
48
47
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", { children: props.message });
49
48
  };
@@ -51,8 +50,7 @@ function createSortCheckError(message) {
51
50
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(SortCheckError, { message });
52
51
  }
53
52
 
54
- //#endregion
55
- //#region \0@oxc-project+runtime@0.153.0/helpers/esm/typeof.js
53
+ // \0@oxc-project+runtime@0.157.0/helpers/esm/typeof.js
56
54
  function _typeof(o) {
57
55
  "@babel/helpers - typeof";
58
56
  return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
@@ -62,28 +60,25 @@ function _typeof(o) {
62
60
  }, _typeof(o);
63
61
  }
64
62
 
65
- //#endregion
66
- //#region \0@oxc-project+runtime@0.153.0/helpers/esm/toPrimitive.js
67
- function toPrimitive(t, r) {
63
+ // \0@oxc-project+runtime@0.157.0/helpers/esm/toPrimitive.js
64
+ function toPrimitive(t, e) {
68
65
  if ("object" != _typeof(t) || !t) return t;
69
- var e = t[Symbol.toPrimitive];
70
- if (void 0 !== e) {
71
- var i = e.call(t, r || "default");
66
+ var r;
67
+ if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) {
68
+ var i = r.call(t, e || "default");
72
69
  if ("object" != _typeof(i)) return i;
73
70
  throw new TypeError("@@toPrimitive must return a primitive value.");
74
71
  }
75
- return ("string" === r ? String : Number)(t);
72
+ return ("string" === e ? String : Number)(t);
76
73
  }
77
74
 
78
- //#endregion
79
- //#region \0@oxc-project+runtime@0.153.0/helpers/esm/toPropertyKey.js
75
+ // \0@oxc-project+runtime@0.157.0/helpers/esm/toPropertyKey.js
80
76
  function toPropertyKey(t) {
81
77
  var i = toPrimitive(t, "string");
82
78
  return "symbol" == _typeof(i) ? i : i + "";
83
79
  }
84
80
 
85
- //#endregion
86
- //#region \0@oxc-project+runtime@0.153.0/helpers/esm/defineProperty.js
81
+ // \0@oxc-project+runtime@0.157.0/helpers/esm/defineProperty.js
87
82
  function _defineProperty(e, r, t) {
88
83
  return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
89
84
  value: t,
@@ -93,16 +88,14 @@ function _defineProperty(e, r, t) {
93
88
  }) : e[r] = t, e;
94
89
  }
95
90
 
96
- //#endregion
97
- //#region \0@oxc-project+runtime@0.153.0/helpers/esm/decorateParam.js
91
+ // \0@oxc-project+runtime@0.157.0/helpers/esm/decorateParam.js
98
92
  function __decorateParam(paramIndex, decorator) {
99
93
  return function(target, key) {
100
94
  decorator(target, key, paramIndex);
101
95
  };
102
96
  }
103
97
 
104
- //#endregion
105
- //#region \0@oxc-project+runtime@0.153.0/helpers/esm/decorate.js
98
+ // \0@oxc-project+runtime@0.157.0/helpers/esm/decorate.js
106
99
  function __decorate(decorators, target, key, desc) {
107
100
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
108
101
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -110,8 +103,7 @@ function __decorate(decorators, target, key, desc) {
110
103
  return c > 3 && r && Object.defineProperty(target, key, r), r;
111
104
  }
112
105
 
113
- //#endregion
114
- //#region src/services/sheets-sort-ui.service.ts
106
+ // src/services/sheets-sort-ui.service.ts
115
107
  const SORT_ERROR_MESSAGE = {
116
108
  MERGE_ERROR: "sheets-sort-ui.error.merge-size",
117
109
  EMPTY_ERROR: "sheets-sort-ui.error.empty",
@@ -295,8 +287,7 @@ function colIndexTranslator(localeService) {
295
287
  };
296
288
  }
297
289
 
298
- //#endregion
299
- //#region src/commands/commands/sheets-sort.command.ts
290
+ // src/commands/commands/sheets-sort.command.ts
300
291
  const SortRangeAscCommand = {
301
292
  id: "sheet.command.sort-range-asc",
302
293
  type: _univerjs_core.CommandType.COMMAND,
@@ -368,8 +359,7 @@ const SortRangeCustomInCtxMenuCommand = {
368
359
  }
369
360
  };
370
361
 
371
- //#endregion
372
- //#region src/menu/sheets-sort.menu.ts
362
+ // src/menu/sheets-sort.menu.ts
373
363
  const SHEETS_SORT_MENU_ID = "sheet.menu.sheets-sort";
374
364
  const SHEETS_SORT_CTX_MENU_ID = "sheet.menu.sheets-sort-ctx";
375
365
  function sortRangeMenuFactory(accessor) {
@@ -507,8 +497,7 @@ function sortRangeCustomCtxMenuFactory(accessor) {
507
497
  };
508
498
  }
509
499
 
510
- //#endregion
511
- //#region src/menu/schema.ts
500
+ // src/menu/schema.ts
512
501
  const menuSchema = {
513
502
  [_univerjs_ui.RibbonDataGroup.ORGANIZATION]: { [SHEETS_SORT_MENU_ID]: {
514
503
  order: 3,
@@ -564,19 +553,16 @@ const menuSchema = {
564
553
  } } }
565
554
  };
566
555
 
567
- //#endregion
568
- //#region package.json
556
+ // package.json
569
557
  var name = "@univerjs/sheets-sort-ui";
570
- var version = "1.3.1";
558
+ var version = "1.5.0";
571
559
 
572
- //#endregion
573
- //#region src/config/config.ts
560
+ // src/config/config.ts
574
561
  const SHEETS_SORT_UI_PLUGIN_CONFIG_KEY = "sheets-sort-ui.config";
575
562
  const configSymbol = Symbol(SHEETS_SORT_UI_PLUGIN_CONFIG_KEY);
576
563
  const defaultPluginConfig = {};
577
564
 
578
- //#endregion
579
- //#region src/views/mobile/MobileCustomSortPanel.tsx
565
+ // src/views/mobile/MobileCustomSortPanel.tsx
580
566
  function MobileCustomSortPanel() {
581
567
  const sheetsSortUIService = (0, _univerjs_ui.useDependency)(SheetsSortUIService);
582
568
  const state = (0, _univerjs_ui.useObservable)(sheetsSortUIService.customSortState$);
@@ -638,6 +624,7 @@ function MobileCustomSortPanelContent({ location }) {
638
624
  variant: "text",
639
625
  disabled: !canAddCondition,
640
626
  onClick: addCondition,
627
+ size: "middle",
641
628
  children: localeService.t("sheets-sort-ui.dialog.add-condition")
642
629
  })]
643
630
  }),
@@ -656,7 +643,8 @@ function MobileCustomSortPanelContent({ location }) {
656
643
  label: title.label,
657
644
  value: `${title.index}`
658
645
  })),
659
- onChange: (value) => updateRule(index, { colIndex: Number(value) })
646
+ onChange: (value) => updateRule(index, { colIndex: Number(value) }),
647
+ size: "small"
660
648
  }), orderRules.length > 1 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_univerjs_design.Button, {
661
649
  size: "icon",
662
650
  variant: "text",
@@ -674,7 +662,8 @@ function MobileCustomSortPanelContent({ location }) {
674
662
  label: localeService.t("sheets-sort-ui.general.sort-desc"),
675
663
  value: _univerjs_sheets_sort.SortType.DESC
676
664
  }],
677
- onChange: (value) => updateRule(index, { type: value })
665
+ onChange: (value) => updateRule(index, { type: value }),
666
+ size: "small"
678
667
  })]
679
668
  }, rule.colIndex);
680
669
  })
@@ -682,11 +671,11 @@ function MobileCustomSortPanelContent({ location }) {
682
671
  /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
683
672
  className: "univer-sticky univer-bottom-0 univer-grid univer-grid-cols-2 univer-gap-3 univer-bg-gray-0 univer-py-3 dark:!univer-bg-gray-900",
684
673
  children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_univerjs_design.Button, {
685
- size: "large",
674
+ size: "middle",
686
675
  onClick: () => sheetsSortUIService.closeCustomSortPanel(),
687
676
  children: localeService.t("sheets-sort-ui.dialog.cancel")
688
677
  }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_univerjs_design.Button, {
689
- size: "large",
678
+ size: "middle",
690
679
  variant: "primary",
691
680
  onClick: apply,
692
681
  children: localeService.t("sheets-sort-ui.dialog.confirm")
@@ -696,8 +685,7 @@ function MobileCustomSortPanelContent({ location }) {
696
685
  });
697
686
  }
698
687
 
699
- //#endregion
700
- //#region src/controllers/mobile/components.controller.ts
688
+ // src/controllers/mobile/components.controller.ts
701
689
  /**
702
690
  * Copyright 2023-present DreamNum Co., Ltd.
703
691
  *
@@ -729,8 +717,7 @@ let MobileComponentsController = class MobileComponentsController extends _unive
729
717
  };
730
718
  MobileComponentsController = __decorate([__decorateParam(0, (0, _univerjs_core.Inject)(_univerjs_ui.ComponentManager)), __decorateParam(1, (0, _univerjs_core.Inject)(_univerjs_ui.IconManager))], MobileComponentsController);
731
719
 
732
- //#endregion
733
- //#region src/menu/mobile-schema.ts
720
+ // src/menu/mobile-schema.ts
734
721
  const mobileMenuSchema = {
735
722
  [_univerjs_ui.RibbonDataGroup.ORGANIZATION]: { [SHEETS_SORT_MENU_ID]: {
736
723
  order: 3,
@@ -782,8 +769,7 @@ const mobileMenuSchema = {
782
769
  } } }
783
770
  };
784
771
 
785
- //#endregion
786
- //#region src/controllers/mobile/ui.controller.ts
772
+ // src/controllers/mobile/ui.controller.ts
787
773
  const MOBILE_CUSTOM_SORT_DIALOG_ID = "mobile-custom-sort-dialog";
788
774
  let SheetsSortMobileUIController = class SheetsSortMobileUIController extends _univerjs_core.RxDisposable {
789
775
  constructor(_commandService, _menuManagerService, _dialogService, _sheetRenderService, _localeService, _sheetsSortUIService) {
@@ -838,8 +824,7 @@ SheetsSortMobileUIController = __decorate([
838
824
  __decorateParam(5, (0, _univerjs_core.Inject)(SheetsSortUIService))
839
825
  ], SheetsSortMobileUIController);
840
826
 
841
- //#endregion
842
- //#region src/mobile-plugin.ts
827
+ // src/mobile-plugin.ts
843
828
  let UniverSheetsSortMobileUIPlugin = class UniverSheetsSortMobileUIPlugin extends _univerjs_core.Plugin {
844
829
  constructor(_config = defaultPluginConfig, _injector, _configService) {
845
830
  super();
@@ -871,8 +856,7 @@ UniverSheetsSortMobileUIPlugin = __decorate([
871
856
  __decorateParam(2, _univerjs_core.IConfigService)
872
857
  ], UniverSheetsSortMobileUIPlugin);
873
858
 
874
- //#endregion
875
- //#region src/views/CustomSortPanel.tsx
859
+ // src/views/CustomSortPanel.tsx
876
860
  function CustomSortPanel() {
877
861
  const sheetsSortUIService = (0, _univerjs_ui.useDependency)(SheetsSortUIService);
878
862
  const state = (0, _univerjs_ui.useObservable)(sheetsSortUIService.customSortState$);
@@ -1094,8 +1078,7 @@ function findNextColIndex(range, list) {
1094
1078
  return null;
1095
1079
  }
1096
1080
 
1097
- //#endregion
1098
- //#region src/controllers/components.controller.ts
1081
+ // src/controllers/components.controller.ts
1099
1082
  /**
1100
1083
  * Copyright 2023-present DreamNum Co., Ltd.
1101
1084
  *
@@ -1136,8 +1119,7 @@ let ComponentsController = class ComponentsController extends _univerjs_core.Dis
1136
1119
  };
1137
1120
  ComponentsController = __decorate([__decorateParam(0, (0, _univerjs_core.Inject)(_univerjs_ui.ComponentManager)), __decorateParam(1, (0, _univerjs_core.Inject)(_univerjs_ui.IconManager))], ComponentsController);
1138
1121
 
1139
- //#endregion
1140
- //#region src/views/EmbedSortBtn.tsx
1122
+ // src/views/EmbedSortBtn.tsx
1141
1123
  function EmbedSortBtn(props) {
1142
1124
  const { range, colIndex, onClose } = props;
1143
1125
  const sheetsSortUIService = (0, _univerjs_ui.useDependency)(SheetsSortUIService);
@@ -1177,8 +1159,7 @@ function EmbedSortBtn(props) {
1177
1159
  });
1178
1160
  }
1179
1161
 
1180
- //#endregion
1181
- //#region src/controllers/ui.controller.ts
1162
+ // src/controllers/ui.controller.ts
1182
1163
  const CUSTOM_SORT_DIALOG_ID = "custom-sort-dialog";
1183
1164
  const CUSTOM_SORT_PANEL_WIDTH = 560;
1184
1165
  const CUSTOM_SORT_PANEL_TOP = 128;
@@ -1259,8 +1240,7 @@ function getCustomSortDialogDefaultPosition() {
1259
1240
  };
1260
1241
  }
1261
1242
 
1262
- //#endregion
1263
- //#region src/plugin.ts
1243
+ // src/plugin.ts
1264
1244
  let UniverSheetsSortUIPlugin = class UniverSheetsSortUIPlugin extends _univerjs_core.Plugin {
1265
1245
  constructor(_config = defaultPluginConfig, _injector, _configService) {
1266
1246
  super();
@@ -1289,7 +1269,6 @@ UniverSheetsSortUIPlugin = __decorate([
1289
1269
  __decorateParam(2, _univerjs_core.IConfigService)
1290
1270
  ], UniverSheetsSortUIPlugin);
1291
1271
 
1292
- //#endregion
1293
1272
  exports.SheetsSortUIMenuSchema = menuSchema;
1294
1273
  exports.SortRangeAscCommand = SortRangeAscCommand;
1295
1274
  exports.SortRangeAscExtCommand = SortRangeAscExtCommand;
@@ -1,4 +1,4 @@
1
- //#region src/locale/ar-SA.ts
1
+ // src/locale/ar-SA.ts
2
2
  const locale = { "sheets-sort-ui": {
3
3
  general: {
4
4
  sort: "فرز",
@@ -30,5 +30,4 @@ const locale = { "sheets-sort-ui": {
30
30
  info: { tooltip: "تلميح" }
31
31
  } };
32
32
 
33
- //#endregion
34
33
  module.exports = locale;
@@ -1,4 +1,4 @@
1
- //#region src/locale/ca-ES.ts
1
+ // src/locale/ca-ES.ts
2
2
  const locale = { "sheets-sort-ui": {
3
3
  general: {
4
4
  sort: "Ordena",
@@ -30,5 +30,4 @@ const locale = { "sheets-sort-ui": {
30
30
  info: { tooltip: "Informació sobre l'eina" }
31
31
  } };
32
32
 
33
- //#endregion
34
33
  module.exports = locale;
@@ -1,4 +1,4 @@
1
- //#region src/locale/de-DE.ts
1
+ // src/locale/de-DE.ts
2
2
  const locale = { "sheets-sort-ui": {
3
3
  general: {
4
4
  sort: "Sortieren",
@@ -30,5 +30,4 @@ const locale = { "sheets-sort-ui": {
30
30
  info: { tooltip: "Tooltip" }
31
31
  } };
32
32
 
33
- //#endregion
34
33
  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
  *
@@ -45,5 +45,4 @@ const locale = { "sheets-sort-ui": {
45
45
  info: { tooltip: "Tooltip" }
46
46
  } };
47
47
 
48
- //#endregion
49
48
  module.exports = locale;
@@ -1,4 +1,4 @@
1
- //#region src/locale/es-ES.ts
1
+ // src/locale/es-ES.ts
2
2
  const locale = { "sheets-sort-ui": {
3
3
  general: {
4
4
  sort: "Ordenar",
@@ -30,5 +30,4 @@ const locale = { "sheets-sort-ui": {
30
30
  info: { tooltip: "Información sobre la herramienta" }
31
31
  } };
32
32
 
33
- //#endregion
34
33
  module.exports = locale;
@@ -1,4 +1,4 @@
1
- //#region src/locale/fa-IR.ts
1
+ // src/locale/fa-IR.ts
2
2
  const locale = { "sheets-sort-ui": {
3
3
  general: {
4
4
  sort: "مرتب‌سازی",
@@ -30,5 +30,4 @@ const locale = { "sheets-sort-ui": {
30
30
  info: { tooltip: "راهنما" }
31
31
  } };
32
32
 
33
- //#endregion
34
33
  module.exports = locale;
@@ -1,4 +1,4 @@
1
- //#region src/locale/fr-FR.ts
1
+ // src/locale/fr-FR.ts
2
2
  const locale = { "sheets-sort-ui": {
3
3
  general: {
4
4
  sort: "Trier",
@@ -30,5 +30,4 @@ const locale = { "sheets-sort-ui": {
30
30
  info: { tooltip: "Info-bulle" }
31
31
  } };
32
32
 
33
- //#endregion
34
33
  module.exports = locale;
@@ -1,4 +1,4 @@
1
- //#region src/locale/id-ID.ts
1
+ // src/locale/id-ID.ts
2
2
  const locale = { "sheets-sort-ui": {
3
3
  general: {
4
4
  sort: "Urutkan",
@@ -30,5 +30,4 @@ const locale = { "sheets-sort-ui": {
30
30
  info: { tooltip: "Tooltip" }
31
31
  } };
32
32
 
33
- //#endregion
34
33
  module.exports = locale;
@@ -1,4 +1,4 @@
1
- //#region src/locale/it-IT.ts
1
+ // src/locale/it-IT.ts
2
2
  const locale = { "sheets-sort-ui": {
3
3
  general: {
4
4
  sort: "Ordinamento",
@@ -30,5 +30,4 @@ const locale = { "sheets-sort-ui": {
30
30
  info: { tooltip: "Suggerimento" }
31
31
  } };
32
32
 
33
- //#endregion
34
33
  module.exports = locale;
@@ -1,4 +1,4 @@
1
- //#region src/locale/ja-JP.ts
1
+ // src/locale/ja-JP.ts
2
2
  const locale = { "sheets-sort-ui": {
3
3
  general: {
4
4
  sort: "並べ替え",
@@ -30,5 +30,4 @@ const locale = { "sheets-sort-ui": {
30
30
  info: { tooltip: "ツールチップ" }
31
31
  } };
32
32
 
33
- //#endregion
34
33
  module.exports = locale;
@@ -1,4 +1,4 @@
1
- //#region src/locale/ko-KR.ts
1
+ // src/locale/ko-KR.ts
2
2
  const locale = { "sheets-sort-ui": {
3
3
  general: {
4
4
  sort: "정렬",
@@ -30,5 +30,4 @@ const locale = { "sheets-sort-ui": {
30
30
  info: { tooltip: "툴팁" }
31
31
  } };
32
32
 
33
- //#endregion
34
33
  module.exports = locale;
@@ -1,4 +1,4 @@
1
- //#region src/locale/pl-PL.ts
1
+ // src/locale/pl-PL.ts
2
2
  const locale = { "sheets-sort-ui": {
3
3
  general: {
4
4
  sort: "Sortuj",
@@ -30,5 +30,4 @@ const locale = { "sheets-sort-ui": {
30
30
  info: { tooltip: "Podpowiedź" }
31
31
  } };
32
32
 
33
- //#endregion
34
33
  module.exports = locale;
@@ -1,4 +1,4 @@
1
- //#region src/locale/pt-BR.ts
1
+ // src/locale/pt-BR.ts
2
2
  const locale = { "sheets-sort-ui": {
3
3
  general: {
4
4
  sort: "Ordenar",
@@ -30,5 +30,4 @@ const locale = { "sheets-sort-ui": {
30
30
  info: { tooltip: "Dica" }
31
31
  } };
32
32
 
33
- //#endregion
34
33
  module.exports = locale;
@@ -1,4 +1,4 @@
1
- //#region src/locale/ru-RU.ts
1
+ // src/locale/ru-RU.ts
2
2
  const locale = { "sheets-sort-ui": {
3
3
  general: {
4
4
  sort: "Сортировка",
@@ -30,5 +30,4 @@ const locale = { "sheets-sort-ui": {
30
30
  info: { tooltip: "Подсказка" }
31
31
  } };
32
32
 
33
- //#endregion
34
33
  module.exports = locale;
@@ -1,4 +1,4 @@
1
- //#region src/locale/sk-SK.ts
1
+ // src/locale/sk-SK.ts
2
2
  const locale = { "sheets-sort-ui": {
3
3
  general: {
4
4
  sort: "Triediť",
@@ -30,5 +30,4 @@ const locale = { "sheets-sort-ui": {
30
30
  info: { tooltip: "Bublinový tip" }
31
31
  } };
32
32
 
33
- //#endregion
34
33
  module.exports = locale;
@@ -1,4 +1,4 @@
1
- //#region src/locale/vi-VN.ts
1
+ // src/locale/vi-VN.ts
2
2
  const locale = { "sheets-sort-ui": {
3
3
  general: {
4
4
  sort: "Sắp xếp",
@@ -30,5 +30,4 @@ const locale = { "sheets-sort-ui": {
30
30
  info: { tooltip: "Tooltip" }
31
31
  } };
32
32
 
33
- //#endregion
34
33
  module.exports = locale;
@@ -1,4 +1,4 @@
1
- //#region src/locale/zh-CN.ts
1
+ // src/locale/zh-CN.ts
2
2
  const locale = { "sheets-sort-ui": {
3
3
  general: {
4
4
  sort: "排序",
@@ -30,5 +30,4 @@ const locale = { "sheets-sort-ui": {
30
30
  info: { tooltip: "提示" }
31
31
  } };
32
32
 
33
- //#endregion
34
33
  module.exports = locale;
@@ -1,4 +1,4 @@
1
- //#region src/locale/zh-HK.ts
1
+ // src/locale/zh-HK.ts
2
2
  const locale = { "sheets-sort-ui": {
3
3
  general: {
4
4
  sort: "排序",
@@ -30,5 +30,4 @@ const locale = { "sheets-sort-ui": {
30
30
  info: { tooltip: "提示" }
31
31
  } };
32
32
 
33
- //#endregion
34
33
  module.exports = locale;
@@ -1,4 +1,4 @@
1
- //#region src/locale/zh-TW.ts
1
+ // src/locale/zh-TW.ts
2
2
  const locale = { "sheets-sort-ui": {
3
3
  general: {
4
4
  sort: "排序",
@@ -30,5 +30,4 @@ const locale = { "sheets-sort-ui": {
30
30
  info: { tooltip: "提示" }
31
31
  } };
32
32
 
33
- //#endregion
34
33
  module.exports = locale;