@univerjs-pro/sheets-chart-ui 0.24.0 → 0.25.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 (92) hide show
  1. package/lib/cjs/index.js +1 -1
  2. package/lib/cjs/locale/ar-SA.js +1 -0
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/de-DE.js +1 -0
  5. package/lib/cjs/locale/en-US.js +1 -1
  6. package/lib/cjs/locale/es-ES.js +1 -1
  7. package/lib/cjs/locale/fa-IR.js +1 -1
  8. package/lib/cjs/locale/fr-FR.js +1 -1
  9. package/lib/cjs/locale/id-ID.js +1 -0
  10. package/lib/cjs/locale/it-IT.js +1 -0
  11. package/lib/cjs/locale/ja-JP.js +1 -1
  12. package/lib/cjs/locale/ko-KR.js +1 -1
  13. package/lib/cjs/locale/pl-PL.js +1 -0
  14. package/lib/cjs/locale/pt-BR.js +1 -0
  15. package/lib/cjs/locale/ru-RU.js +1 -1
  16. package/lib/cjs/locale/sk-SK.js +1 -1
  17. package/lib/cjs/locale/vi-VN.js +1 -1
  18. package/lib/cjs/locale/zh-CN.js +1 -1
  19. package/lib/cjs/locale/zh-HK.js +1 -0
  20. package/lib/cjs/locale/zh-TW.js +1 -1
  21. package/lib/es/index.js +1 -1
  22. package/lib/es/locale/ar-SA.js +1 -0
  23. package/lib/es/locale/ca-ES.js +1 -1
  24. package/lib/es/locale/de-DE.js +1 -0
  25. package/lib/es/locale/en-US.js +1 -1
  26. package/lib/es/locale/es-ES.js +1 -1
  27. package/lib/es/locale/fa-IR.js +1 -1
  28. package/lib/es/locale/fr-FR.js +1 -1
  29. package/lib/es/locale/id-ID.js +1 -0
  30. package/lib/es/locale/it-IT.js +1 -0
  31. package/lib/es/locale/ja-JP.js +1 -1
  32. package/lib/es/locale/ko-KR.js +1 -1
  33. package/lib/es/locale/pl-PL.js +1 -0
  34. package/lib/es/locale/pt-BR.js +1 -0
  35. package/lib/es/locale/ru-RU.js +1 -1
  36. package/lib/es/locale/sk-SK.js +1 -1
  37. package/lib/es/locale/vi-VN.js +1 -1
  38. package/lib/es/locale/zh-CN.js +1 -1
  39. package/lib/es/locale/zh-HK.js +1 -0
  40. package/lib/es/locale/zh-TW.js +1 -1
  41. package/lib/index.js +1 -1
  42. package/lib/locale/ar-SA.js +1 -0
  43. package/lib/locale/ca-ES.js +1 -1
  44. package/lib/locale/de-DE.js +1 -0
  45. package/lib/locale/en-US.js +1 -1
  46. package/lib/locale/es-ES.js +1 -1
  47. package/lib/locale/fa-IR.js +1 -1
  48. package/lib/locale/fr-FR.js +1 -1
  49. package/lib/locale/id-ID.js +1 -0
  50. package/lib/locale/it-IT.js +1 -0
  51. package/lib/locale/ja-JP.js +1 -1
  52. package/lib/locale/ko-KR.js +1 -1
  53. package/lib/locale/pl-PL.js +1 -0
  54. package/lib/locale/pt-BR.js +1 -0
  55. package/lib/locale/ru-RU.js +1 -1
  56. package/lib/locale/sk-SK.js +1 -1
  57. package/lib/locale/vi-VN.js +1 -1
  58. package/lib/locale/zh-CN.js +1 -1
  59. package/lib/locale/zh-HK.js +1 -0
  60. package/lib/locale/zh-TW.js +1 -1
  61. package/lib/types/locale/ar-SA.d.ts +3 -0
  62. package/lib/types/locale/ca-ES.d.ts +1 -1
  63. package/lib/types/locale/de-DE.d.ts +3 -0
  64. package/lib/types/locale/en-US.d.ts +51 -48
  65. package/lib/types/locale/es-ES.d.ts +1 -1
  66. package/lib/types/locale/id-ID.d.ts +3 -0
  67. package/lib/types/locale/it-IT.d.ts +3 -0
  68. package/lib/types/locale/pl-PL.d.ts +3 -0
  69. package/lib/types/locale/pt-BR.d.ts +3 -0
  70. package/lib/types/locale/zh-HK.d.ts +3 -0
  71. package/lib/types/views/chart-edit-panel/Options.d.ts +7 -8
  72. package/lib/umd/index.js +1 -1
  73. package/lib/umd/locale/ar-SA.js +1 -0
  74. package/lib/umd/locale/ca-ES.js +1 -1
  75. package/lib/umd/locale/de-DE.js +1 -0
  76. package/lib/umd/locale/en-US.js +1 -1
  77. package/lib/umd/locale/es-ES.js +1 -1
  78. package/lib/umd/locale/fa-IR.js +1 -1
  79. package/lib/umd/locale/fr-FR.js +1 -1
  80. package/lib/umd/locale/id-ID.js +1 -0
  81. package/lib/umd/locale/it-IT.js +1 -0
  82. package/lib/umd/locale/ja-JP.js +1 -1
  83. package/lib/umd/locale/ko-KR.js +1 -1
  84. package/lib/umd/locale/pl-PL.js +1 -0
  85. package/lib/umd/locale/pt-BR.js +1 -0
  86. package/lib/umd/locale/ru-RU.js +1 -1
  87. package/lib/umd/locale/sk-SK.js +1 -1
  88. package/lib/umd/locale/vi-VN.js +1 -1
  89. package/lib/umd/locale/zh-CN.js +1 -1
  90. package/lib/umd/locale/zh-HK.js +1 -0
  91. package/lib/umd/locale/zh-TW.js +1 -1
  92. package/package.json +15 -15
@@ -1,5 +1,8 @@
1
1
  declare const locale: {
2
- chart: {
2
+ 'sheets-chart-ui': {
3
+ permission: {
4
+ editErr: string;
5
+ };
3
6
  insertChart: string;
4
7
  editChart: string;
5
8
  openChartPanel: string;
@@ -280,54 +283,54 @@ declare const locale: {
280
283
  q3: string;
281
284
  max: string;
282
285
  };
283
- };
284
- chartTypes: {
285
- line: string;
286
- area: string;
287
- areaStacked: string;
288
- areaPercentStacked: string;
289
- column: string;
290
- bar: string;
291
- barStacked: string;
292
- barPercentStacked: string;
293
- pie: string;
294
- donut: string;
295
- scatter: string;
296
- radar: string;
297
- bubble: string;
298
- stock: string;
299
- combination: string;
300
- wordCloud: string;
301
- funnel: string;
302
- relation: string;
303
- waterfall: string;
304
- pareto: string;
305
- sankey: string;
306
- heatmap: string;
307
- boxplot: string;
308
- };
309
- dialog: {
310
- numfmt: {
311
- general: string;
312
- accounting: string;
313
- currency: string;
314
- date: string;
315
- thousandthPercentile: string;
316
- fieldSetting: string;
317
- formatTypes: string;
318
- confirm: string;
319
- cancel: string;
320
- generalDesc: string;
321
- accountingDesc: string;
322
- currencyDesc: string;
323
- dateDesc: string;
324
- thousandthPercentileDesc: string;
325
- decimalPlaces: string;
326
- currencyTypes: string;
327
- negativeNumberTypes: string;
328
- dateTypes: string;
286
+ chartTypes: {
287
+ line: string;
288
+ area: string;
289
+ areaStacked: string;
290
+ areaPercentStacked: string;
291
+ column: string;
292
+ bar: string;
293
+ barStacked: string;
294
+ barPercentStacked: string;
295
+ pie: string;
296
+ donut: string;
297
+ scatter: string;
298
+ radar: string;
299
+ bubble: string;
300
+ stock: string;
301
+ combination: string;
302
+ wordCloud: string;
303
+ funnel: string;
304
+ relation: string;
305
+ waterfall: string;
306
+ pareto: string;
307
+ sankey: string;
308
+ heatmap: string;
309
+ boxplot: string;
310
+ };
311
+ dialog: {
312
+ numfmt: {
313
+ general: string;
314
+ accounting: string;
315
+ currency: string;
316
+ date: string;
317
+ thousandthPercentile: string;
318
+ fieldSetting: string;
319
+ formatTypes: string;
320
+ confirm: string;
321
+ cancel: string;
322
+ generalDesc: string;
323
+ accountingDesc: string;
324
+ currencyDesc: string;
325
+ dateDesc: string;
326
+ thousandthPercentileDesc: string;
327
+ decimalPlaces: string;
328
+ currencyTypes: string;
329
+ negativeNumberTypes: string;
330
+ dateTypes: string;
331
+ };
332
+ setFormat: string;
329
333
  };
330
- setFormat: string;
331
334
  };
332
335
  };
333
336
  export default locale;
@@ -1,3 +1,3 @@
1
- import enUS from './en-US';
1
+ import type enUS from './en-US';
2
2
  declare const locale: typeof enUS;
3
3
  export default locale;
@@ -0,0 +1,3 @@
1
+ import type enUS from './en-US';
2
+ declare const locale: typeof enUS;
3
+ export default locale;
@@ -0,0 +1,3 @@
1
+ import type enUS from './en-US';
2
+ declare const locale: typeof enUS;
3
+ export default locale;
@@ -0,0 +1,3 @@
1
+ import type enUS from './en-US';
2
+ declare const locale: typeof enUS;
3
+ export default locale;
@@ -0,0 +1,3 @@
1
+ import type enUS from './en-US';
2
+ declare const locale: typeof enUS;
3
+ export default locale;
@@ -0,0 +1,3 @@
1
+ import type enUS from './en-US';
2
+ declare const locale: typeof enUS;
3
+ export default locale;
@@ -12,16 +12,16 @@ export declare const seriesChartTypeOptions: {
12
12
  value: string;
13
13
  }[];
14
14
  export declare const titleOptions: readonly [{
15
- readonly label: "chart.titles.mainTitle";
15
+ readonly label: "sheets-chart-ui.titles.mainTitle";
16
16
  readonly value: "title";
17
17
  }, {
18
- readonly label: "chart.titles.xAxisTitle";
18
+ readonly label: "sheets-chart-ui.titles.xAxisTitle";
19
19
  readonly value: "xAxisTitle";
20
20
  }, {
21
- readonly label: "chart.titles.yAxisTitle";
21
+ readonly label: "sheets-chart-ui.titles.yAxisTitle";
22
22
  readonly value: "yAxisTitle";
23
23
  }, {
24
- readonly label: "chart.titles.rightYAxisTitle";
24
+ readonly label: "sheets-chart-ui.titles.rightYAxisTitle";
25
25
  readonly value: "rightYAxisTitle";
26
26
  }];
27
27
  export type TitleOptionValue = typeof titleOptions[number]['value'] | 'subtitle';
@@ -54,13 +54,13 @@ export declare const fontSizeOptions: readonly [{
54
54
  readonly value: "36";
55
55
  }];
56
56
  export declare const textAlignOptions: readonly [{
57
- readonly label: "chart.align.left";
57
+ readonly label: "sheets-chart-ui.align.left";
58
58
  readonly value: "left";
59
59
  }, {
60
- readonly label: "chart.align.center";
60
+ readonly label: "sheets-chart-ui.align.center";
61
61
  readonly value: "center";
62
62
  }, {
63
- readonly label: "chart.align.right";
63
+ readonly label: "sheets-chart-ui.align.right";
64
64
  readonly value: "right";
65
65
  }];
66
66
  export type TextAlignOptionValue = typeof textAlignOptions[number]['value'];
@@ -215,7 +215,6 @@ export declare const CurrencyFormatList: ({
215
215
  suffix: (suffix: string) => string;
216
216
  color: string;
217
217
  })[];
218
- export declare const currencySymbols: string[];
219
218
  export declare const UNIVER_SHEET_CHART_FORMAT_DIALOG_ID = "univer-sheet-chart-format-dialog-id";
220
219
  export declare const UNIVER_SHEET_CHART_FORMAT_DIALOG = "univer-sheet-chart-format-dialog";
221
220
  export declare const waterfallStackTypeOptions: {