@univerjs/find-replace 0.17.0 → 0.18.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 (77) hide show
  1. package/lib/cjs/index.js +4 -1
  2. package/lib/cjs/locale/ca-ES.js +1 -1
  3. package/lib/cjs/locale/en-US.js +1 -1
  4. package/lib/cjs/locale/es-ES.js +1 -1
  5. package/lib/cjs/locale/fa-IR.js +1 -1
  6. package/lib/cjs/locale/fr-FR.js +1 -1
  7. package/lib/cjs/locale/ja-JP.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/sk-SK.js +1 -1
  11. package/lib/cjs/locale/vi-VN.js +1 -1
  12. package/lib/cjs/locale/zh-CN.js +1 -1
  13. package/lib/cjs/locale/zh-TW.js +1 -1
  14. package/lib/es/index.js +4 -960
  15. package/lib/es/locale/ca-ES.js +1 -52
  16. package/lib/es/locale/en-US.js +1 -52
  17. package/lib/es/locale/es-ES.js +1 -52
  18. package/lib/es/locale/fa-IR.js +1 -52
  19. package/lib/es/locale/fr-FR.js +1 -52
  20. package/lib/es/locale/ja-JP.js +1 -52
  21. package/lib/es/locale/ko-KR.js +1 -52
  22. package/lib/es/locale/ru-RU.js +1 -52
  23. package/lib/es/locale/sk-SK.js +1 -52
  24. package/lib/es/locale/vi-VN.js +1 -52
  25. package/lib/es/locale/zh-CN.js +1 -52
  26. package/lib/es/locale/zh-TW.js +1 -52
  27. package/lib/index.css +54 -1
  28. package/lib/index.js +4 -960
  29. package/lib/locale/ca-ES.js +1 -52
  30. package/lib/locale/en-US.js +1 -52
  31. package/lib/locale/es-ES.js +1 -52
  32. package/lib/locale/fa-IR.js +1 -52
  33. package/lib/locale/fr-FR.js +1 -52
  34. package/lib/locale/ja-JP.js +1 -52
  35. package/lib/locale/ko-KR.js +1 -52
  36. package/lib/locale/ru-RU.js +1 -52
  37. package/lib/locale/sk-SK.js +1 -52
  38. package/lib/locale/vi-VN.js +1 -52
  39. package/lib/locale/zh-CN.js +1 -52
  40. package/lib/locale/zh-TW.js +1 -52
  41. package/lib/types/commands/commands/replace.command.d.ts +16 -1
  42. package/lib/types/commands/operations/find-replace.operation.d.ts +16 -1
  43. package/lib/types/config/config.d.ts +16 -1
  44. package/lib/types/controllers/find-replace.controller.d.ts +15 -0
  45. package/lib/types/controllers/find-replace.shortcut.d.ts +16 -1
  46. package/lib/types/locale/ca-ES.d.ts +16 -1
  47. package/lib/types/locale/es-ES.d.ts +16 -1
  48. package/lib/types/locale/fa-IR.d.ts +16 -1
  49. package/lib/types/locale/fr-FR.d.ts +16 -1
  50. package/lib/types/locale/ja-JP.d.ts +16 -1
  51. package/lib/types/locale/ko-KR.d.ts +16 -1
  52. package/lib/types/locale/ru-RU.d.ts +16 -1
  53. package/lib/types/locale/sk-SK.d.ts +16 -1
  54. package/lib/types/locale/vi-VN.d.ts +16 -1
  55. package/lib/types/locale/zh-CN.d.ts +16 -1
  56. package/lib/types/locale/zh-TW.d.ts +16 -1
  57. package/lib/types/menu/find-replace.menu.d.ts +17 -2
  58. package/lib/types/menu/schema.d.ts +16 -1
  59. package/lib/types/plugin.d.ts +16 -1
  60. package/lib/types/services/find-replace.service.d.ts +20 -3
  61. package/lib/types/views/dialog/FindReplaceDialog.d.ts +2 -2
  62. package/lib/types/views/dialog/FindReplaceDialog.stories.d.ts +16 -1
  63. package/lib/types/views/dialog/SearchInput.d.ts +18 -3
  64. package/lib/umd/index.js +4 -1
  65. package/lib/umd/locale/ca-ES.js +1 -1
  66. package/lib/umd/locale/en-US.js +1 -1
  67. package/lib/umd/locale/es-ES.js +1 -1
  68. package/lib/umd/locale/fa-IR.js +1 -1
  69. package/lib/umd/locale/fr-FR.js +1 -1
  70. package/lib/umd/locale/ja-JP.js +1 -1
  71. package/lib/umd/locale/ko-KR.js +1 -1
  72. package/lib/umd/locale/ru-RU.js +1 -1
  73. package/lib/umd/locale/sk-SK.js +1 -1
  74. package/lib/umd/locale/vi-VN.js +1 -1
  75. package/lib/umd/locale/zh-CN.js +1 -1
  76. package/lib/umd/locale/zh-TW.js +1 -1
  77. package/package.json +10 -9
@@ -1,52 +1 @@
1
- const e = {
2
- "find-replace": {
3
- toolbar: "尋找替換",
4
- shortcut: {
5
- "open-find-dialog": "開啟尋找對話框",
6
- "open-replace-dialog": "開啟替換對話框",
7
- "close-dialog": "關閉查找替換對話框",
8
- "go-to-next-match": "下一個匹配項",
9
- "go-to-previous-match": "下一個匹配項",
10
- "focus-selection": "聚焦選區"
11
- },
12
- dialog: {
13
- title: "找",
14
- find: "找",
15
- replace: "替換",
16
- "replace-all": "替換全部",
17
- "find-placeholder": "輸入查找內容",
18
- "advanced-finding": "取代 / 進階查找",
19
- "replace-placeholder": "輸入替換內容",
20
- "case-sensitive": "匹配大小寫",
21
- "match-the-whole-cell": "符合整個儲存格",
22
- "find-scope": {
23
- title: "找出範圍",
24
- "current-sheet": "目前子表",
25
- workbook: "整個工作簿"
26
- },
27
- "find-direction": {
28
- title: "找出順序",
29
- column: "按列查找",
30
- row: "按行查找"
31
- },
32
- "find-by": {
33
- title: "找出方式",
34
- formula: "找出公式",
35
- value: "查找值"
36
- },
37
- "no-match": "已完成搜索,但是未找到任何匹配項",
38
- "no-result": "無結果"
39
- },
40
- replace: {
41
- "all-success": "已全部替換 {0} 個匹配項",
42
- "all-failure": "替換失敗",
43
- confirm: {
44
- title: "確定要取代所有的符合項目嗎? "
45
- }
46
- }
47
- },
48
- "find-replace-shortcuts": "尋找替換"
49
- };
50
- export {
51
- e as default
52
- };
1
+ const e={"find-replace":{toolbar:`尋找替換`,shortcut:{"open-find-dialog":`開啟尋找對話框`,"open-replace-dialog":`開啟替換對話框`,"close-dialog":`關閉查找替換對話框`,"go-to-next-match":`下一個匹配項`,"go-to-previous-match":`下一個匹配項`,"focus-selection":`聚焦選區`},dialog:{title:`找`,find:`找`,replace:`替換`,"replace-all":`替換全部`,"find-placeholder":`輸入查找內容`,"advanced-finding":`取代 / 進階查找`,"replace-placeholder":`輸入替換內容`,"case-sensitive":`匹配大小寫`,"match-the-whole-cell":`符合整個儲存格`,"find-scope":{title:`找出範圍`,"current-sheet":`目前子表`,workbook:`整個工作簿`},"find-direction":{title:`找出順序`,column:`按列查找`,row:`按行查找`},"find-by":{title:`找出方式`,formula:`找出公式`,value:`查找值`},"no-match":`已完成搜索,但是未找到任何匹配項`,"no-result":`無結果`},replace:{"all-success":`已全部替換 {0} 個匹配項`,"all-failure":`替換失敗`,confirm:{title:`確定要取代所有的符合項目嗎? `}}},"find-replace-shortcuts":`尋找替換`};export{e as default};
package/lib/index.css CHANGED
@@ -1 +1,54 @@
1
- .univer-relative{position:relative}.univer-mt-4{margin-top:1rem}.univer-mt-6{margin-top:1.5rem}.univer-flex{display:flex}.univer-inline-flex{display:inline-flex}.univer-cursor-pointer{cursor:pointer}.univer-items-center{align-items:center}.univer-justify-between{justify-content:space-between}.univer-gap-2{gap:.5rem}.univer-text-center{text-align:center}.univer-text-sm{font-size:.875rem;line-height:1.25rem}.univer-text-primary-500{color:var(--univer-primary-500)}.univer-transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}
1
+ .univer-relative {
2
+ position: relative;
3
+ }
4
+
5
+ .univer-mt-4 {
6
+ margin-top: 1rem;
7
+ }
8
+
9
+ .univer-mt-6 {
10
+ margin-top: 1.5rem;
11
+ }
12
+
13
+ .univer-flex {
14
+ display: flex;
15
+ }
16
+
17
+ .univer-inline-flex {
18
+ display: inline-flex;
19
+ }
20
+
21
+ .univer-cursor-pointer {
22
+ cursor: pointer;
23
+ }
24
+
25
+ .univer-items-center {
26
+ align-items: center;
27
+ }
28
+
29
+ .univer-justify-between {
30
+ justify-content: space-between;
31
+ }
32
+
33
+ .univer-gap-2 {
34
+ gap: .5rem;
35
+ }
36
+
37
+ .univer-text-center {
38
+ text-align: center;
39
+ }
40
+
41
+ .univer-text-sm {
42
+ font-size: .875rem;
43
+ line-height: 1.25rem;
44
+ }
45
+
46
+ .univer-text-primary-500 {
47
+ color: var(--univer-primary-500);
48
+ }
49
+
50
+ .univer-transition-colors {
51
+ transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
52
+ transition-duration: .15s;
53
+ transition-timing-function: cubic-bezier(.4, 0, .2, 1);
54
+ }