@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,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 DataBarStyleEditor: (props: IStyleEditorProps) => import("react/jsx-runtime").JSX.Element;
@@ -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 FormulaStyleEditor: (props: IStyleEditorProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,18 @@
1
- import { INumberHighlightCell, ITextHighlightCell, ITimePeriodHighlightCell } from '@univerjs/sheets-conditional-formatting';
2
- 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 { INumberHighlightCell, ITextHighlightCell, ITimePeriodHighlightCell } from '@univerjs/sheets-conditional-formatting';
17
+ import type { IStyleEditorProps } from './type';
3
18
  export declare const HighlightCellStyleEditor: (props: IStyleEditorProps<any, ITextHighlightCell | INumberHighlightCell | ITimePeriodHighlightCell>) => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,18 @@
1
- import { IIconSet } from '@univerjs/sheets-conditional-formatting';
2
- 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 { IIconSet } from '@univerjs/sheets-conditional-formatting';
17
+ import type { IStyleEditorProps } from './type';
3
18
  export declare const IconSet: (props: IStyleEditorProps<unknown, IIconSet>) => import("react/jsx-runtime").JSX.Element;
@@ -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 RankStyleEditor: (props: IStyleEditorProps) => import("react/jsx-runtime").JSX.Element;
@@ -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 IRuleEditProps {
3
18
  rule?: IConditionFormattingRule;
4
19
  onCancel: () => void;
@@ -1,7 +1,22 @@
1
- import { InterceptorManager } from '@univerjs/core';
2
- import { IConditionalFormattingRuleConfig } from '@univerjs/sheets-conditional-formatting';
3
- export declare const beforeSubmit: import('@univerjs/core').IInterceptor<boolean, null>;
4
- export declare const submit: import('@univerjs/core').IInterceptor<any, null>;
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 { InterceptorManager } from '@univerjs/core';
17
+ import type { IConditionalFormattingRuleConfig } from '@univerjs/sheets-conditional-formatting';
18
+ export declare const beforeSubmit: import("@univerjs/core").IInterceptor<boolean, null>;
19
+ export declare const submit: import("@univerjs/core").IInterceptor<any, null>;
5
20
  export interface IStyleEditorProps<S = any, R = IConditionalFormattingRuleConfig> {
6
21
  onChange: (style: S) => void;
7
22
  rule?: R;
@@ -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 IRuleListProps {
3
18
  onClick: (rule: IConditionFormattingRule) => void;
4
19
  onCreate: () => void;
@@ -1,4 +1,19 @@
1
- import { IConditionalFormattingRuleConfig } 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 { IConditionalFormattingRuleConfig } from '@univerjs/sheets-conditional-formatting';
2
17
  export declare const Preview: (props: {
3
18
  rule?: IConditionalFormattingRuleConfig;
4
19
  }) => import("react/jsx-runtime").JSX.Element | null | undefined;
@@ -1,4 +1,19 @@
1
- import { ReactElement } 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 { ReactElement } from 'react';
2
17
  export declare const WrapperError: (props: {
3
18
  errorText: string;
4
19
  children: ReactElement;
@@ -1,4 +1,19 @@
1
- import { MenuConfig } from '@univerjs/ui';
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 { MenuConfig } from '@univerjs/ui';
2
17
  export declare const SHEETS_CONDITIONAL_FORMATTING_UI_PLUGIN_CONFIG_KEY = "sheets-conditional-formatting-ui.config";
3
18
  export declare const configSymbol: unique symbol;
4
19
  export interface IUniverSheetsConditionalFormattingUIConfig {
@@ -1,5 +1,21 @@
1
- import { IConditionFormattingRule, ConditionalFormattingRuleModel } 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
  import { Disposable, Injector } from '@univerjs/core';
18
+ import { ConditionalFormattingRuleModel } from '@univerjs/sheets-conditional-formatting';
3
19
  import { FormulaRefRangeService } from '@univerjs/sheets-formula';
4
20
  export declare class ConditionalFormattingFormulaRefRangeController extends Disposable {
5
21
  private _conditionalFormattingRuleModel;
@@ -1,3 +1,18 @@
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
+ */
1
16
  import { Disposable, Injector, IUniverInstanceService } from '@univerjs/core';
2
17
  import { IAutoFillService } from '@univerjs/sheets';
3
18
  import { ConditionalFormattingRuleModel, ConditionalFormattingViewModel } from '@univerjs/sheets-conditional-formatting';
@@ -1,6 +1,23 @@
1
- import { IMutationInfo, IRange, Disposable, Injector, IUniverInstanceService } from '@univerjs/core';
2
- import { IConditionalFormattingRuleConfig, IConditionFormattingRule, ConditionalFormattingRuleModel } 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 { IMutationInfo, IRange } from '@univerjs/core';
17
+ import type { IConditionalFormattingRuleConfig, IConditionFormattingRule } from '@univerjs/sheets-conditional-formatting';
18
+ import { Disposable, Injector, IUniverInstanceService } from '@univerjs/core';
3
19
  import { SheetInterceptorService, SheetsSelectionsService } from '@univerjs/sheets';
20
+ import { ConditionalFormattingRuleModel } from '@univerjs/sheets-conditional-formatting';
4
21
  export declare class ConditionalFormattingClearController extends Disposable {
5
22
  private _injector;
6
23
  private _univerInstanceService;
@@ -1,3 +1,18 @@
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
+ */
1
16
  import { Disposable, Injector, IUniverInstanceService } from '@univerjs/core';
2
17
  import { ConditionalFormattingRuleModel, ConditionalFormattingViewModel } from '@univerjs/sheets-conditional-formatting';
3
18
  import { ISheetClipboardService } from '@univerjs/sheets-ui';
@@ -1,3 +1,18 @@
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
+ */
1
16
  import { Disposable } from '@univerjs/core';
2
17
  import { SheetInterceptorService } from '@univerjs/sheets';
3
18
  import { ConditionalFormattingService } from '@univerjs/sheets-conditional-formatting';
@@ -1,4 +1,19 @@
1
- import { ReactNode } 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 { ReactNode } from 'react';
2
17
  import { Disposable, LocaleService } from '@univerjs/core';
3
18
  export declare class ConditionalFormattingI18nController extends Disposable {
4
19
  private _localeService;
@@ -1,3 +1,18 @@
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
+ */
1
16
  import { Disposable, Injector, IUniverInstanceService } from '@univerjs/core';
2
17
  import { SheetsSelectionsService } from '@univerjs/sheets';
3
18
  import { ConditionalFormattingRuleModel, ConditionalFormattingViewModel } from '@univerjs/sheets-conditional-formatting';
@@ -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
  import { Disposable, Injector, IUniverInstanceService, LocaleService } from '@univerjs/core';
3
18
  import { ComponentManager, ISidebarService } from '@univerjs/ui';
4
19
  export declare class ConditionalFormattingPanelController extends Disposable {
@@ -1,3 +1,18 @@
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
+ */
1
16
  import { Disposable, ICommandService, LocaleService } from '@univerjs/core';
2
17
  import { SheetPermissionCheckController } from '@univerjs/sheets';
3
18
  export declare class ConditionalFormattingPermissionController extends Disposable {
@@ -1,3 +1,18 @@
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
+ */
1
16
  import { Disposable, IUniverInstanceService } from '@univerjs/core';
2
17
  import { IRenderManagerService } from '@univerjs/engine-render';
3
18
  import { SheetInterceptorService } from '@univerjs/sheets';
@@ -1,3 +1,18 @@
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
+ */
1
16
  import { Disposable, IUniverInstanceService } from '@univerjs/core';
2
17
  import { IRenderManagerService } from '@univerjs/engine-render';
3
18
  import { ConditionalFormattingViewModel } from '@univerjs/sheets-conditional-formatting';
@@ -1,3 +1,18 @@
1
- import { default as enUS } from './en-US';
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 enUS from './en-US';
2
17
  declare const locale: typeof enUS;
3
18
  export default locale;
@@ -1,3 +1,18 @@
1
- import { default as enUS } from './en-US';
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 enUS from './en-US';
2
17
  declare const locale: typeof enUS;
3
18
  export default locale;
@@ -1,3 +1,18 @@
1
- import { default as enUS } from './en-US';
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 enUS from './en-US';
2
17
  declare const locale: typeof enUS;
3
18
  export default locale;
@@ -1,3 +1,18 @@
1
- import { default as enUS } from './en-US';
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 enUS from './en-US';
2
17
  declare const locale: typeof enUS;
3
18
  export default locale;
@@ -1,3 +1,18 @@
1
- import { default as enUS } from './en-US';
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 enUS from './en-US';
2
17
  declare const locale: typeof enUS;
3
18
  export default locale;
@@ -1,3 +1,18 @@
1
- import { default as enUS } from './en-US';
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 enUS from './en-US';
2
17
  declare const locale: typeof enUS;
3
18
  export default locale;
@@ -1,3 +1,18 @@
1
- import { default as enUS } from './en-US';
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 enUS from './en-US';
2
17
  declare const locale: typeof enUS;
3
18
  export default locale;
@@ -1,3 +1,18 @@
1
- import { default as enUS } from './en-US';
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 enUS from './en-US';
2
17
  declare const locale: typeof enUS;
3
18
  export default locale;