@univerjs/sheets-conditional-formatting-ui 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 (106) hide show
  1. package/lib/cjs/index.js +127 -2
  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 +127 -4135
  15. package/lib/es/locale/ca-ES.js +1 -162
  16. package/lib/es/locale/en-US.js +1 -162
  17. package/lib/es/locale/es-ES.js +1 -162
  18. package/lib/es/locale/fa-IR.js +1 -162
  19. package/lib/es/locale/fr-FR.js +1 -162
  20. package/lib/es/locale/ja-JP.js +1 -162
  21. package/lib/es/locale/ko-KR.js +1 -162
  22. package/lib/es/locale/ru-RU.js +1 -162
  23. package/lib/es/locale/sk-SK.js +1 -162
  24. package/lib/es/locale/vi-VN.js +1 -162
  25. package/lib/es/locale/zh-CN.js +1 -162
  26. package/lib/es/locale/zh-TW.js +1 -162
  27. package/lib/index.css +424 -1
  28. package/lib/index.js +127 -4135
  29. package/lib/locale/ca-ES.js +1 -162
  30. package/lib/locale/en-US.js +1 -162
  31. package/lib/locale/es-ES.js +1 -162
  32. package/lib/locale/fa-IR.js +1 -162
  33. package/lib/locale/fr-FR.js +1 -162
  34. package/lib/locale/ja-JP.js +1 -162
  35. package/lib/locale/ko-KR.js +1 -162
  36. package/lib/locale/ru-RU.js +1 -162
  37. package/lib/locale/sk-SK.js +1 -162
  38. package/lib/locale/vi-VN.js +1 -162
  39. package/lib/locale/zh-CN.js +1 -162
  40. package/lib/locale/zh-TW.js +1 -162
  41. package/lib/types/commands/commands/add-average-cf.command.d.ts +17 -2
  42. package/lib/types/commands/commands/add-color-scale-cf.command.d.ts +17 -2
  43. package/lib/types/commands/commands/add-data-bar-cf.command.d.ts +17 -2
  44. package/lib/types/commands/commands/add-duplicate-values-cf.command.d.ts +17 -2
  45. package/lib/types/commands/commands/add-number-cf.command.d.ts +17 -2
  46. package/lib/types/commands/commands/add-rank-cf.command.d.ts +17 -2
  47. package/lib/types/commands/commands/add-text-cf.command.d.ts +17 -2
  48. package/lib/types/commands/commands/add-time-period-cf.command.d.ts +17 -2
  49. package/lib/types/commands/commands/add-unique-values-cf.command.d.ts +17 -2
  50. package/lib/types/commands/operations/open-conditional-formatting-panel.d.ts +16 -1
  51. package/lib/types/components/color-picker/index.d.ts +16 -1
  52. package/lib/types/components/conditional-style-editor/index.d.ts +16 -1
  53. package/lib/types/components/panel/index.d.ts +16 -1
  54. package/lib/types/components/panel/rule-edit/ColorScale.d.ts +16 -1
  55. package/lib/types/components/panel/rule-edit/DataBar.d.ts +16 -1
  56. package/lib/types/components/panel/rule-edit/Formula.d.ts +16 -1
  57. package/lib/types/components/panel/rule-edit/HighlightCell.d.ts +17 -2
  58. package/lib/types/components/panel/rule-edit/IconSet.d.ts +17 -2
  59. package/lib/types/components/panel/rule-edit/Rank.d.ts +16 -1
  60. package/lib/types/components/panel/rule-edit/index.d.ts +16 -1
  61. package/lib/types/components/panel/rule-edit/type.d.ts +19 -4
  62. package/lib/types/components/panel/rule-list/index.d.ts +16 -1
  63. package/lib/types/components/preview/index.d.ts +16 -1
  64. package/lib/types/components/wrapper-error/WrapperError.d.ts +16 -1
  65. package/lib/types/config/config.d.ts +16 -1
  66. package/lib/types/controllers/cf-formula-ref-range.controller.d.ts +17 -1
  67. package/lib/types/controllers/cf.auto-fill.controller.d.ts +15 -0
  68. package/lib/types/controllers/cf.clear.controller.d.ts +19 -2
  69. package/lib/types/controllers/cf.copy-paste.controller.d.ts +15 -0
  70. package/lib/types/controllers/cf.editor.controller.d.ts +15 -0
  71. package/lib/types/controllers/cf.i18n.controller.d.ts +16 -1
  72. package/lib/types/controllers/cf.painter.controller.d.ts +15 -0
  73. package/lib/types/controllers/cf.panel.controller.d.ts +16 -1
  74. package/lib/types/controllers/cf.permission.controller.d.ts +15 -0
  75. package/lib/types/controllers/cf.render.controller.d.ts +15 -0
  76. package/lib/types/controllers/cf.viewport.controller.d.ts +15 -0
  77. package/lib/types/locale/ca-ES.d.ts +16 -1
  78. package/lib/types/locale/es-ES.d.ts +16 -1
  79. package/lib/types/locale/fa-IR.d.ts +16 -1
  80. package/lib/types/locale/fr-FR.d.ts +16 -1
  81. package/lib/types/locale/ja-JP.d.ts +16 -1
  82. package/lib/types/locale/ko-KR.d.ts +16 -1
  83. package/lib/types/locale/ru-RU.d.ts +16 -1
  84. package/lib/types/locale/sk-SK.d.ts +16 -1
  85. package/lib/types/locale/vi-VN.d.ts +16 -1
  86. package/lib/types/locale/zh-CN.d.ts +16 -1
  87. package/lib/types/locale/zh-TW.d.ts +16 -1
  88. package/lib/types/menu/cf.menu.controller.d.ts +15 -0
  89. package/lib/types/menu/manage-rule.d.ts +17 -2
  90. package/lib/types/menu/schema.d.ts +16 -1
  91. package/lib/types/mobile-plugin.d.ts +16 -1
  92. package/lib/types/plugin.d.ts +16 -1
  93. package/lib/umd/index.js +127 -2
  94. package/lib/umd/locale/ca-ES.js +1 -1
  95. package/lib/umd/locale/en-US.js +1 -1
  96. package/lib/umd/locale/es-ES.js +1 -1
  97. package/lib/umd/locale/fa-IR.js +1 -1
  98. package/lib/umd/locale/fr-FR.js +1 -1
  99. package/lib/umd/locale/ja-JP.js +1 -1
  100. package/lib/umd/locale/ko-KR.js +1 -1
  101. package/lib/umd/locale/ru-RU.js +1 -1
  102. package/lib/umd/locale/sk-SK.js +1 -1
  103. package/lib/umd/locale/vi-VN.js +1 -1
  104. package/lib/umd/locale/zh-CN.js +1 -1
  105. package/lib/umd/locale/zh-TW.js +1 -1
  106. package/package.json +16 -15
@@ -1,162 +1 @@
1
- const e = {
2
- sheet: {
3
- cf: {
4
- title: "条件格式",
5
- menu: {
6
- manageConditionalFormatting: "管理条件格式",
7
- createConditionalFormatting: "新建条件格式",
8
- clearRangeRules: "清除所选区域的规则",
9
- clearWorkSheetRules: "清除整个工作表的规则"
10
- },
11
- form: {
12
- lessThan: "该值必须小于 {0}",
13
- lessThanOrEqual: "该值必须小于等于 {0}",
14
- greaterThan: "该值必大于 {0}",
15
- greaterThanOrEqual: "该值必大于等于 {0}",
16
- rangeSelector: "选择范围或者输入值"
17
- },
18
- iconSet: {
19
- direction: "方向",
20
- shape: "形状",
21
- mark: "标记",
22
- rank: "等级",
23
- rule: "规则",
24
- icon: "图标",
25
- type: "类型",
26
- value: "值",
27
- reverseIconOrder: "反转图标次序",
28
- and: "且",
29
- when: "当值",
30
- onlyShowIcon: "仅显示图标"
31
- },
32
- symbol: {
33
- greaterThan: ">",
34
- greaterThanOrEqual: ">=",
35
- lessThan: "<",
36
- lessThanOrEqual: "<="
37
- },
38
- panel: {
39
- createRule: "新增规则",
40
- clear: "清空所有规则",
41
- range: "应用范围",
42
- styleType: "样式类型",
43
- submit: "确认",
44
- cancel: "取消",
45
- rankAndAverage: "最前/最后/平均值",
46
- styleRule: "样式规则",
47
- isNotBottom: "最前",
48
- isBottom: "最后",
49
- greaterThanAverage: "大于平均值",
50
- lessThanAverage: "小于平均值",
51
- medianValue: "中间值",
52
- fillType: "填充方式",
53
- pureColor: "纯色",
54
- gradient: "渐变",
55
- colorSet: "颜色设置",
56
- positive: "正值",
57
- native: "负值",
58
- workSheet: "整张工作表",
59
- selectedRange: "所选单元格",
60
- managerRuleSelect: "管理 {0} 的规则",
61
- onlyShowDataBar: "仅显示数据条"
62
- },
63
- preview: {
64
- describe: {
65
- beginsWith: "开头为{0}",
66
- endsWith: "结尾为{0}",
67
- containsText: "文本包含{0}",
68
- notContainsText: "文本不包含{0}",
69
- equal: "等于{0}",
70
- notEqual: "不等于{0}",
71
- containsBlanks: "为空",
72
- notContainsBlanks: "不为空",
73
- containsErrors: "错误",
74
- notContainsErrors: "非错误",
75
- greaterThan: "大于{0}",
76
- greaterThanOrEqual: "大于等于{0}",
77
- lessThan: "小于{0}",
78
- lessThanOrEqual: "小于等于{0}",
79
- notBetween: "不介于{0}和{1}之间",
80
- between: "介于{0}和{1}之间",
81
- yesterday: "昨日",
82
- tomorrow: "明日",
83
- last7Days: "最近7天",
84
- thisMonth: "本月",
85
- lastMonth: "上个月",
86
- nextMonth: "下个月",
87
- thisWeek: "本周",
88
- lastWeek: "上周",
89
- nextWeek: "下周",
90
- today: "今日",
91
- topN: "前{0}项",
92
- bottomN: "后{0}项",
93
- topNPercent: "前{0}%",
94
- bottomNPercent: "后{0}%"
95
- }
96
- },
97
- operator: {
98
- beginsWith: "开头为",
99
- endsWith: "结尾为",
100
- containsText: "文本包含",
101
- notContainsText: "文本不包含",
102
- equal: "等于",
103
- notEqual: "不等于",
104
- containsBlanks: "为空",
105
- notContainsBlanks: "不为空",
106
- containsErrors: "错误",
107
- notContainsErrors: "非错误",
108
- greaterThan: "大于",
109
- greaterThanOrEqual: "大于等于",
110
- lessThan: "小于",
111
- lessThanOrEqual: "小于等于",
112
- notBetween: "不介于",
113
- between: "介于",
114
- yesterday: "昨日",
115
- tomorrow: "明日",
116
- last7Days: "最近 7 天",
117
- thisMonth: "本月",
118
- lastMonth: "上个月",
119
- nextMonth: "下个月",
120
- thisWeek: "本周",
121
- lastWeek: "上周",
122
- nextWeek: "下周",
123
- today: "今日"
124
- },
125
- ruleType: {
126
- highlightCell: "突出显示单元格",
127
- dataBar: "数据条",
128
- colorScale: "色阶",
129
- formula: "自定义公式",
130
- iconSet: "图标集",
131
- duplicateValues: "重复值",
132
- uniqueValues: "唯一值"
133
- },
134
- subRuleType: {
135
- uniqueValues: "唯一值",
136
- duplicateValues: "重复值",
137
- rank: "最前最后",
138
- text: "文本",
139
- timePeriod: "时间日期",
140
- number: "数值",
141
- average: "平均值"
142
- },
143
- valueType: {
144
- num: "数值",
145
- min: "最小值",
146
- max: "最大值",
147
- percent: "百分比",
148
- percentile: "百分点",
149
- formula: "公式",
150
- none: "无"
151
- },
152
- errorMessage: {
153
- notBlank: "条件不能为空",
154
- rangeError: "选区错误",
155
- formulaError: "公式错误"
156
- }
157
- }
158
- }
159
- };
160
- export {
161
- e as default
162
- };
1
+ const e={sheet:{cf:{title:`条件格式`,menu:{manageConditionalFormatting:`管理条件格式`,createConditionalFormatting:`新建条件格式`,clearRangeRules:`清除所选区域的规则`,clearWorkSheetRules:`清除整个工作表的规则`},form:{lessThan:`该值必须小于 {0}`,lessThanOrEqual:`该值必须小于等于 {0}`,greaterThan:`该值必大于 {0}`,greaterThanOrEqual:`该值必大于等于 {0}`,rangeSelector:`选择范围或者输入值`},iconSet:{direction:`方向`,shape:`形状`,mark:`标记`,rank:`等级`,rule:`规则`,icon:`图标`,type:`类型`,value:`值`,reverseIconOrder:`反转图标次序`,and:`且`,when:`当值`,onlyShowIcon:`仅显示图标`},symbol:{greaterThan:`>`,greaterThanOrEqual:`>=`,lessThan:`<`,lessThanOrEqual:`<=`},panel:{createRule:`新增规则`,clear:`清空所有规则`,range:`应用范围`,styleType:`样式类型`,submit:`确认`,cancel:`取消`,rankAndAverage:`最前/最后/平均值`,styleRule:`样式规则`,isNotBottom:`最前`,isBottom:`最后`,greaterThanAverage:`大于平均值`,lessThanAverage:`小于平均值`,medianValue:`中间值`,fillType:`填充方式`,pureColor:`纯色`,gradient:`渐变`,colorSet:`颜色设置`,positive:`正值`,native:`负值`,workSheet:`整张工作表`,selectedRange:`所选单元格`,managerRuleSelect:`管理 {0} 的规则`,onlyShowDataBar:`仅显示数据条`},preview:{describe:{beginsWith:`开头为{0}`,endsWith:`结尾为{0}`,containsText:`文本包含{0}`,notContainsText:`文本不包含{0}`,equal:`等于{0}`,notEqual:`不等于{0}`,containsBlanks:`为空`,notContainsBlanks:`不为空`,containsErrors:`错误`,notContainsErrors:`非错误`,greaterThan:`大于{0}`,greaterThanOrEqual:`大于等于{0}`,lessThan:`小于{0}`,lessThanOrEqual:`小于等于{0}`,notBetween:`不介于{0}和{1}之间`,between:`介于{0}和{1}之间`,yesterday:`昨日`,tomorrow:`明日`,last7Days:`最近7天`,thisMonth:`本月`,lastMonth:`上个月`,nextMonth:`下个月`,thisWeek:`本周`,lastWeek:`上周`,nextWeek:`下周`,today:`今日`,topN:`前{0}项`,bottomN:`后{0}项`,topNPercent:`前{0}%`,bottomNPercent:`后{0}%`}},operator:{beginsWith:`开头为`,endsWith:`结尾为`,containsText:`文本包含`,notContainsText:`文本不包含`,equal:`等于`,notEqual:`不等于`,containsBlanks:`为空`,notContainsBlanks:`不为空`,containsErrors:`错误`,notContainsErrors:`非错误`,greaterThan:`大于`,greaterThanOrEqual:`大于等于`,lessThan:`小于`,lessThanOrEqual:`小于等于`,notBetween:`不介于`,between:`介于`,yesterday:`昨日`,tomorrow:`明日`,last7Days:`最近 7 天`,thisMonth:`本月`,lastMonth:`上个月`,nextMonth:`下个月`,thisWeek:`本周`,lastWeek:`上周`,nextWeek:`下周`,today:`今日`},ruleType:{highlightCell:`突出显示单元格`,dataBar:`数据条`,colorScale:`色阶`,formula:`自定义公式`,iconSet:`图标集`,duplicateValues:`重复值`,uniqueValues:`唯一值`},subRuleType:{uniqueValues:`唯一值`,duplicateValues:`重复值`,rank:`最前最后`,text:`文本`,timePeriod:`时间日期`,number:`数值`,average:`平均值`},valueType:{num:`数值`,min:`最小值`,max:`最大值`,percent:`百分比`,percentile:`百分点`,formula:`公式`,none:`无`},errorMessage:{notBlank:`条件不能为空`,rangeError:`选区错误`,formulaError:`公式错误`}}}};export{e as default};
@@ -1,162 +1 @@
1
- const e = {
2
- sheet: {
3
- cf: {
4
- title: "條件格式",
5
- menu: {
6
- manageConditionalFormatting: "管理條件格式",
7
- createConditionalFormatting: "新建條件格式",
8
- clearRangeRules: "清除所選區域的規則",
9
- clearWorkSheetRules: "清除整個工作表的規則"
10
- },
11
- form: {
12
- lessThan: "該值必須小於 {0}",
13
- lessThanOrEqual: "該值必須小於等於 {0}",
14
- greaterThan: "該值必大於 {0}",
15
- greaterThanOrEqual: "該值必大於等於 {0}",
16
- rangeSelector: "選擇範圍或輸入值"
17
- },
18
- iconSet: {
19
- direction: "方向",
20
- shape: "形狀",
21
- mark: "標記",
22
- rank: "等級",
23
- rule: "規則",
24
- icon: "圖示",
25
- type: "類型",
26
- value: "值",
27
- reverseIconOrder: "反轉圖示次序",
28
- and: "且",
29
- when: "當值",
30
- onlyShowIcon: "僅顯示圖示"
31
- },
32
- symbol: {
33
- greaterThan: ">",
34
- greaterThanOrEqual: ">=",
35
- lessThan: "<",
36
- lessThanOrEqual: "<="
37
- },
38
- panel: {
39
- createRule: "新增規則",
40
- clear: "清空所有規則",
41
- range: "應用範圍",
42
- styleType: "樣式類型",
43
- submit: "確認",
44
- cancel: "取消",
45
- rankAndAverage: "最前/最後/平均",
46
- styleRule: "樣式規則",
47
- isNotBottom: "最前面",
48
- isBottom: "最後",
49
- greaterThanAverage: "大於平均值",
50
- lessThanAverage: "小於平均值",
51
- medianValue: "中間值",
52
- fillType: "填滿方式",
53
- pureColor: "純色",
54
- gradient: "漸層",
55
- colorSet: "顏色設定",
56
- positive: "正值",
57
- native: "負值",
58
- workSheet: "整張工作表",
59
- selectedRange: "所選儲存格",
60
- managerRuleSelect: "管理 {0} 的規則",
61
- onlyShowDataBar: "僅顯示資料條"
62
- },
63
- preview: {
64
- describe: {
65
- beginsWith: "開頭為{0}",
66
- endsWith: "結尾為{0}",
67
- containsText: "文字包含{0}",
68
- notContainsText: "文字不包含{0}",
69
- equal: "等於{0}",
70
- notEqual: "不等於{0}",
71
- containsBlanks: "為空",
72
- notContainsBlanks: "不為空",
73
- containsErrors: "錯誤",
74
- notContainsErrors: "非錯誤",
75
- greaterThan: "大於{0}",
76
- greaterThanOrEqual: "大於等於{0}",
77
- lessThan: "小於{0}",
78
- lessThanOrEqual: "小於等於{0}",
79
- notBetween: "不介於{0}和{1}之間",
80
- between: "介於{0}和{1}之間",
81
- yesterday: "昨日",
82
- tomorrow: "明日",
83
- last7Days: "最近7天",
84
- thisMonth: "本月",
85
- lastMonth: "上個月",
86
- nextMonth: "下個月",
87
- thisWeek: "本週",
88
- lastWeek: "上週",
89
- nextWeek: "下週",
90
- today: "今日",
91
- topN: "前{0}項",
92
- bottomN: "後{0}項",
93
- topNPercent: "前{0}%",
94
- bottomNPercent: "後{0}%"
95
- }
96
- },
97
- operator: {
98
- beginsWith: "開頭為",
99
- endsWith: "結尾為",
100
- containsText: "文字包含",
101
- notContainsText: "文字不包含",
102
- equal: "等於",
103
- notEqual: "不等於",
104
- containsBlanks: "為空",
105
- notContainsBlanks: "不為空",
106
- containsErrors: "錯誤",
107
- notContainsErrors: "非錯誤",
108
- greaterThan: "大於",
109
- greaterThanOrEqual: "大於等於",
110
- lessThan: "小於",
111
- lessThanOrEqual: "小於等於",
112
- notBetween: "不介於",
113
- between: "介於",
114
- yesterday: "昨日",
115
- tomorrow: "明日",
116
- last7Days: "最近 7 天",
117
- thisMonth: "本月",
118
- lastMonth: "上個月",
119
- nextMonth: "下個月",
120
- thisWeek: "本週",
121
- lastWeek: "上週",
122
- nextWeek: "下週",
123
- today: "今日"
124
- },
125
- ruleType: {
126
- highlightCell: "突出顯示儲存格",
127
- dataBar: "資料條",
128
- colorScale: "色階",
129
- formula: "自訂公式",
130
- iconSet: "圖示集",
131
- duplicateValues: "重複值",
132
- uniqueValues: "唯一值"
133
- },
134
- subRuleType: {
135
- uniqueValues: "唯一值",
136
- duplicateValues: "重複值",
137
- rank: "最前最後",
138
- text: "文字",
139
- timePeriod: "時間日期",
140
- number: "數值",
141
- average: "平均值"
142
- },
143
- valueType: {
144
- num: "數值",
145
- min: "最小值",
146
- max: "最大值",
147
- percent: "百分比",
148
- percentile: "百分點",
149
- formula: "公式",
150
- none: "無"
151
- },
152
- errorMessage: {
153
- notBlank: "條件不能為空",
154
- rangeError: "選區錯誤",
155
- formulaError: "公式錯誤"
156
- }
157
- }
158
- }
159
- };
160
- export {
161
- e as default
162
- };
1
+ const e={sheet:{cf:{title:`條件格式`,menu:{manageConditionalFormatting:`管理條件格式`,createConditionalFormatting:`新建條件格式`,clearRangeRules:`清除所選區域的規則`,clearWorkSheetRules:`清除整個工作表的規則`},form:{lessThan:`該值必須小於 {0}`,lessThanOrEqual:`該值必須小於等於 {0}`,greaterThan:`該值必大於 {0}`,greaterThanOrEqual:`該值必大於等於 {0}`,rangeSelector:`選擇範圍或輸入值`},iconSet:{direction:`方向`,shape:`形狀`,mark:`標記`,rank:`等級`,rule:`規則`,icon:`圖示`,type:`類型`,value:`值`,reverseIconOrder:`反轉圖示次序`,and:`且`,when:`當值`,onlyShowIcon:`僅顯示圖示`},symbol:{greaterThan:`>`,greaterThanOrEqual:`>=`,lessThan:`<`,lessThanOrEqual:`<=`},panel:{createRule:`新增規則`,clear:`清空所有規則`,range:`應用範圍`,styleType:`樣式類型`,submit:`確認`,cancel:`取消`,rankAndAverage:`最前/最後/平均`,styleRule:`樣式規則`,isNotBottom:`最前面`,isBottom:`最後`,greaterThanAverage:`大於平均值`,lessThanAverage:`小於平均值`,medianValue:`中間值`,fillType:`填滿方式`,pureColor:`純色`,gradient:`漸層`,colorSet:`顏色設定`,positive:`正值`,native:`負值`,workSheet:`整張工作表`,selectedRange:`所選儲存格`,managerRuleSelect:`管理 {0} 的規則`,onlyShowDataBar:`僅顯示資料條`},preview:{describe:{beginsWith:`開頭為{0}`,endsWith:`結尾為{0}`,containsText:`文字包含{0}`,notContainsText:`文字不包含{0}`,equal:`等於{0}`,notEqual:`不等於{0}`,containsBlanks:`為空`,notContainsBlanks:`不為空`,containsErrors:`錯誤`,notContainsErrors:`非錯誤`,greaterThan:`大於{0}`,greaterThanOrEqual:`大於等於{0}`,lessThan:`小於{0}`,lessThanOrEqual:`小於等於{0}`,notBetween:`不介於{0}和{1}之間`,between:`介於{0}和{1}之間`,yesterday:`昨日`,tomorrow:`明日`,last7Days:`最近7天`,thisMonth:`本月`,lastMonth:`上個月`,nextMonth:`下個月`,thisWeek:`本週`,lastWeek:`上週`,nextWeek:`下週`,today:`今日`,topN:`前{0}項`,bottomN:`後{0}項`,topNPercent:`前{0}%`,bottomNPercent:`後{0}%`}},operator:{beginsWith:`開頭為`,endsWith:`結尾為`,containsText:`文字包含`,notContainsText:`文字不包含`,equal:`等於`,notEqual:`不等於`,containsBlanks:`為空`,notContainsBlanks:`不為空`,containsErrors:`錯誤`,notContainsErrors:`非錯誤`,greaterThan:`大於`,greaterThanOrEqual:`大於等於`,lessThan:`小於`,lessThanOrEqual:`小於等於`,notBetween:`不介於`,between:`介於`,yesterday:`昨日`,tomorrow:`明日`,last7Days:`最近 7 天`,thisMonth:`本月`,lastMonth:`上個月`,nextMonth:`下個月`,thisWeek:`本週`,lastWeek:`上週`,nextWeek:`下週`,today:`今日`},ruleType:{highlightCell:`突出顯示儲存格`,dataBar:`資料條`,colorScale:`色階`,formula:`自訂公式`,iconSet:`圖示集`,duplicateValues:`重複值`,uniqueValues:`唯一值`},subRuleType:{uniqueValues:`唯一值`,duplicateValues:`重複值`,rank:`最前最後`,text:`文字`,timePeriod:`時間日期`,number:`數值`,average:`平均值`},valueType:{num:`數值`,min:`最小值`,max:`最大值`,percent:`百分比`,percentile:`百分點`,formula:`公式`,none:`無`},errorMessage:{notBlank:`條件不能為空`,rangeError:`選區錯誤`,formulaError:`公式錯誤`}}}};export{e as default};
@@ -1,5 +1,20 @@
1
- import { ICommand, IRange } from '@univerjs/core';
2
- import { IAverageHighlightCell } from '@univerjs/sheets-conditional-formatting';
1
+ /**
2
+ * Copyright 2023-present DreamNum Co., Ltd.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import type { ICommand, IRange } from '@univerjs/core';
17
+ import type { IAverageHighlightCell } from '@univerjs/sheets-conditional-formatting';
3
18
  interface IAddAverageCfParams {
4
19
  ranges: IRange[];
5
20
  stopIfTrue?: boolean;
@@ -1,5 +1,20 @@
1
- import { ICommand, IRange } from '@univerjs/core';
2
- import { IColorScale } from '@univerjs/sheets-conditional-formatting';
1
+ /**
2
+ * Copyright 2023-present DreamNum Co., Ltd.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import type { ICommand, IRange } from '@univerjs/core';
17
+ import type { IColorScale } from '@univerjs/sheets-conditional-formatting';
3
18
  interface IAddColorScaleConditionalRuleParams {
4
19
  ranges: IRange[];
5
20
  stopIfTrue?: boolean;
@@ -1,5 +1,20 @@
1
- import { ICommand, IRange } from '@univerjs/core';
2
- import { IDataBar } from '@univerjs/sheets-conditional-formatting';
1
+ /**
2
+ * Copyright 2023-present DreamNum Co., Ltd.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import type { ICommand, IRange } from '@univerjs/core';
17
+ import type { IDataBar } from '@univerjs/sheets-conditional-formatting';
3
18
  interface IAddUniqueValuesConditionalRuleParams {
4
19
  ranges: IRange[];
5
20
  stopIfTrue?: boolean;
@@ -1,5 +1,20 @@
1
- import { ICommand, IRange } from '@univerjs/core';
2
- import { IHighlightCell } from '@univerjs/sheets-conditional-formatting';
1
+ /**
2
+ * Copyright 2023-present DreamNum Co., Ltd.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import type { ICommand, IRange } from '@univerjs/core';
17
+ import type { IHighlightCell } from '@univerjs/sheets-conditional-formatting';
3
18
  interface IAddDuplicateValuesConditionalRuleParams {
4
19
  ranges: IRange[];
5
20
  stopIfTrue?: boolean;
@@ -1,5 +1,20 @@
1
- import { ICommand, IRange } from '@univerjs/core';
2
- import { INumberHighlightCell } from '@univerjs/sheets-conditional-formatting';
1
+ /**
2
+ * Copyright 2023-present DreamNum Co., Ltd.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import type { ICommand, IRange } from '@univerjs/core';
17
+ import type { INumberHighlightCell } from '@univerjs/sheets-conditional-formatting';
3
18
  interface IAddNumberCfParams {
4
19
  ranges: IRange[];
5
20
  stopIfTrue?: boolean;
@@ -1,5 +1,20 @@
1
- import { ICommand, IRange } from '@univerjs/core';
2
- import { IRankHighlightCell } from '@univerjs/sheets-conditional-formatting';
1
+ /**
2
+ * Copyright 2023-present DreamNum Co., Ltd.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import type { ICommand, IRange } from '@univerjs/core';
17
+ import type { IRankHighlightCell } from '@univerjs/sheets-conditional-formatting';
3
18
  interface IAddRankCfParams {
4
19
  ranges: IRange[];
5
20
  stopIfTrue?: boolean;
@@ -1,5 +1,20 @@
1
- import { ICommand, IRange } from '@univerjs/core';
2
- import { ITextHighlightCell } from '@univerjs/sheets-conditional-formatting';
1
+ /**
2
+ * Copyright 2023-present DreamNum Co., Ltd.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import type { ICommand, IRange } from '@univerjs/core';
17
+ import type { ITextHighlightCell } from '@univerjs/sheets-conditional-formatting';
3
18
  interface IAddAverageCfParams {
4
19
  ranges: IRange[];
5
20
  stopIfTrue?: boolean;
@@ -1,5 +1,20 @@
1
- import { ICommand, IRange } from '@univerjs/core';
2
- import { ITimePeriodHighlightCell } from '@univerjs/sheets-conditional-formatting';
1
+ /**
2
+ * Copyright 2023-present DreamNum Co., Ltd.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import type { ICommand, IRange } from '@univerjs/core';
17
+ import type { ITimePeriodHighlightCell } from '@univerjs/sheets-conditional-formatting';
3
18
  interface IAddTimePeriodCf {
4
19
  ranges: IRange[];
5
20
  stopIfTrue?: boolean;
@@ -1,5 +1,20 @@
1
- import { ICommand, IRange } from '@univerjs/core';
2
- import { IHighlightCell } from '@univerjs/sheets-conditional-formatting';
1
+ /**
2
+ * Copyright 2023-present DreamNum Co., Ltd.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import type { ICommand, IRange } from '@univerjs/core';
17
+ import type { IHighlightCell } from '@univerjs/sheets-conditional-formatting';
3
18
  interface IAddUniqueValuesConditionalRuleParams {
4
19
  ranges: IRange[];
5
20
  stopIfTrue?: boolean;
@@ -1,4 +1,19 @@
1
- import { ICommand } from '@univerjs/core';
1
+ /**
2
+ * Copyright 2023-present DreamNum Co., Ltd.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import type { ICommand } from '@univerjs/core';
2
17
  export declare enum CF_MENU_OPERATION {
3
18
  createRule = 1,
4
19
  viewRule = 2,
@@ -1,4 +1,19 @@
1
- import { FC } from 'react';
1
+ /**
2
+ * Copyright 2023-present DreamNum Co., Ltd.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import type { FC } from 'react';
2
17
  interface IColorPickerProps {
3
18
  color: string;
4
19
  onChange: (color: string) => void;
@@ -1,4 +1,19 @@
1
- import { IHighlightCell } from '@univerjs/sheets-conditional-formatting';
1
+ /**
2
+ * Copyright 2023-present DreamNum Co., Ltd.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import type { IHighlightCell } from '@univerjs/sheets-conditional-formatting';
2
17
  interface IConditionalStyleEditorProps {
3
18
  className?: string;
4
19
  style?: IHighlightCell['style'];
@@ -1,4 +1,19 @@
1
- import { IConditionFormattingRule } from '@univerjs/sheets-conditional-formatting';
1
+ /**
2
+ * Copyright 2023-present DreamNum Co., Ltd.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import type { IConditionFormattingRule } from '@univerjs/sheets-conditional-formatting';
2
17
  interface IConditionFormattingPanelProps {
3
18
  rule?: IConditionFormattingRule;
4
19
  }
@@ -1,2 +1,17 @@
1
- import { IStyleEditorProps } from './type';
1
+ /**
2
+ * Copyright 2023-present DreamNum Co., Ltd.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import type { IStyleEditorProps } from './type';
2
17
  export declare const ColorScaleStyleEditor: (props: IStyleEditorProps) => import("react/jsx-runtime").JSX.Element;