@univerjs/sheets-conditional-formatting-ui 0.5.4 → 0.5.5-experimental.20250123-34738ff
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.
- package/lib/cjs/index.js +174 -183
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +5509 -5314
- package/lib/es/locale/en-US.js +2 -2
- package/lib/es/locale/fa-IR.js +2 -2
- package/lib/es/locale/fr-FR.js +2 -2
- package/lib/es/locale/ru-RU.js +2 -2
- package/lib/es/locale/vi-VN.js +2 -2
- package/lib/es/locale/zh-CN.js +2 -2
- package/lib/es/locale/zh-TW.js +2 -2
- package/lib/types/components/color-picker/index.d.ts +16 -2
- package/lib/types/components/conditional-style-editor/index.d.ts +1 -2
- package/lib/types/components/panel/index.d.ts +1 -2
- package/lib/types/components/panel/rule-edit/{colorScale.d.ts → ColorScale.d.ts} +1 -2
- package/lib/types/components/panel/rule-edit/{dataBar.d.ts → DataBar.d.ts} +1 -2
- package/lib/types/components/panel/rule-edit/{formula.d.ts → Formula.d.ts} +1 -2
- package/lib/types/components/panel/rule-edit/{highlightCell.d.ts → HighlightCell.d.ts} +1 -2
- package/lib/types/components/panel/rule-edit/{iconSet.d.ts → IconSet.d.ts} +1 -2
- package/lib/types/components/panel/rule-edit/{rank.d.ts → Rank.d.ts} +1 -2
- package/lib/types/components/panel/rule-edit/index.d.ts +1 -2
- package/lib/types/components/panel/rule-list/index.d.ts +1 -2
- package/lib/types/components/preview/index.d.ts +1 -2
- package/lib/types/components/wrapper-error/WrapperError.d.ts +1 -1
- package/lib/umd/index.js +174 -183
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
- package/LICENSE +0 -176
package/lib/es/locale/en-US.js
CHANGED
package/lib/es/locale/fa-IR.js
CHANGED
package/lib/es/locale/fr-FR.js
CHANGED
package/lib/es/locale/ru-RU.js
CHANGED
package/lib/es/locale/vi-VN.js
CHANGED
package/lib/es/locale/zh-CN.js
CHANGED
package/lib/es/locale/zh-TW.js
CHANGED
|
@@ -1,4 +1,18 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Inc.
|
|
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
|
+
*/
|
|
2
16
|
interface IColorPickerProps {
|
|
3
17
|
color: string;
|
|
4
18
|
onChange: (color: string) => void;
|
|
@@ -7,5 +21,5 @@ interface IColorPickerProps {
|
|
|
7
21
|
className?: string;
|
|
8
22
|
isNeedDropdownIcon?: boolean;
|
|
9
23
|
}
|
|
10
|
-
export declare const ColorPicker: (props: IColorPickerProps) =>
|
|
24
|
+
export declare const ColorPicker: (props: IColorPickerProps) => import("react/jsx-runtime").JSX.Element | undefined;
|
|
11
25
|
export {};
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { IHighlightCell } from '@univerjs/sheets-conditional-formatting';
|
|
2
|
-
import { default as React } from 'react';
|
|
3
2
|
interface IConditionalStyleEditorProps {
|
|
4
3
|
className?: string;
|
|
5
4
|
style?: IHighlightCell['style'];
|
|
6
5
|
onChange: (style: IHighlightCell['style']) => void;
|
|
7
6
|
}
|
|
8
|
-
export declare const ConditionalStyleEditor: (props: IConditionalStyleEditorProps) =>
|
|
7
|
+
export declare const ConditionalStyleEditor: (props: IConditionalStyleEditorProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
8
|
export {};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
1
|
import { IConditionFormattingRule } from '@univerjs/sheets-conditional-formatting';
|
|
3
2
|
interface IConditionFormattingPanelProps {
|
|
4
3
|
rule?: IConditionFormattingRule;
|
|
5
4
|
}
|
|
6
|
-
export declare const ConditionFormattingPanel: (props: IConditionFormattingPanelProps) =>
|
|
5
|
+
export declare const ConditionFormattingPanel: (props: IConditionFormattingPanelProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
6
|
export {};
|
|
@@ -1,3 +1,2 @@
|
|
|
1
1
|
import { IStyleEditorProps } from './type';
|
|
2
|
-
|
|
3
|
-
export declare const ColorScaleStyleEditor: (props: IStyleEditorProps) => React.JSX.Element;
|
|
2
|
+
export declare const ColorScaleStyleEditor: (props: IStyleEditorProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
1
|
import { IStyleEditorProps } from './type';
|
|
2
|
-
|
|
3
|
-
export declare const DataBarStyleEditor: (props: IStyleEditorProps) => React.JSX.Element;
|
|
2
|
+
export declare const DataBarStyleEditor: (props: IStyleEditorProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
1
|
import { IStyleEditorProps } from './type';
|
|
2
|
-
|
|
3
|
-
export declare const FormulaStyleEditor: (props: IStyleEditorProps) => React.JSX.Element;
|
|
2
|
+
export declare const FormulaStyleEditor: (props: IStyleEditorProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import { INumberHighlightCell, ITextHighlightCell, ITimePeriodHighlightCell } from '@univerjs/sheets-conditional-formatting';
|
|
2
2
|
import { IStyleEditorProps } from './type';
|
|
3
|
-
|
|
4
|
-
export declare const HighlightCellStyleEditor: (props: IStyleEditorProps<any, ITextHighlightCell | INumberHighlightCell | ITimePeriodHighlightCell>) => React.JSX.Element;
|
|
3
|
+
export declare const HighlightCellStyleEditor: (props: IStyleEditorProps<any, ITextHighlightCell | INumberHighlightCell | ITimePeriodHighlightCell>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import { IIconSet } from '@univerjs/sheets-conditional-formatting';
|
|
2
2
|
import { IStyleEditorProps } from './type';
|
|
3
|
-
|
|
4
|
-
export declare const IconSet: (props: IStyleEditorProps<unknown, IIconSet>) => React.JSX.Element;
|
|
3
|
+
export declare const IconSet: (props: IStyleEditorProps<unknown, IIconSet>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
1
|
import { IStyleEditorProps } from './type';
|
|
2
|
-
|
|
3
|
-
export declare const RankStyleEditor: (props: IStyleEditorProps) => React.JSX.Element;
|
|
2
|
+
export declare const RankStyleEditor: (props: IStyleEditorProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { IConditionFormattingRule } from '@univerjs/sheets-conditional-formatting';
|
|
2
|
-
import { default as React } from 'react';
|
|
3
2
|
interface IRuleEditProps {
|
|
4
3
|
rule?: IConditionFormattingRule;
|
|
5
4
|
onCancel: () => void;
|
|
6
5
|
}
|
|
7
|
-
export declare const RuleEdit: (props: IRuleEditProps) =>
|
|
6
|
+
export declare const RuleEdit: (props: IRuleEditProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
7
|
export {};
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { IConditionFormattingRule } from '@univerjs/sheets-conditional-formatting';
|
|
2
|
-
import { default as React } from 'react';
|
|
3
2
|
import 'react-grid-layout/css/styles.css';
|
|
4
3
|
import 'react-resizable/css/styles.css';
|
|
5
4
|
interface IRuleListProps {
|
|
6
5
|
onClick: (rule: IConditionFormattingRule) => void;
|
|
7
6
|
onCreate: () => void;
|
|
8
7
|
}
|
|
9
|
-
export declare const RuleList: (props: IRuleListProps) =>
|
|
8
|
+
export declare const RuleList: (props: IRuleListProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
9
|
export {};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
1
|
import { IConditionalFormattingRuleConfig } from '@univerjs/sheets-conditional-formatting';
|
|
3
2
|
export declare const Preview: (props: {
|
|
4
3
|
rule?: IConditionalFormattingRuleConfig;
|
|
5
|
-
}) =>
|
|
4
|
+
}) => import("react/jsx-runtime").JSX.Element | null | undefined;
|