@univerjs/sheets-data-validation-ui 0.5.5 → 0.6.0-alpha.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.
@@ -1,3 +1,2 @@
1
1
  import { IDropdownComponentProps } from '../../../services/dropdown-manager.service';
2
- import { default as React } from 'react';
3
- export declare function DateDropdown(props: IDropdownComponentProps): React.JSX.Element | null | undefined;
2
+ export declare function DateDropdown(props: IDropdownComponentProps): import("react/jsx-runtime").JSX.Element | null | undefined;
@@ -1,2 +1,16 @@
1
- import { default as React } from 'react';
2
- export declare function DataValidationDetail(): React.JSX.Element | null;
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
+ */
16
+ export declare function DataValidationDetail(): import("react/jsx-runtime").JSX.Element | null;
@@ -1,2 +1,16 @@
1
- import { default as React } from 'react';
2
- export declare function CellDropdown(): React.JSX.Element | null;
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
+ */
16
+ export declare function CellDropdown(): import("react/jsx-runtime").JSX.Element | null;
@@ -1,3 +1,2 @@
1
1
  import { IFormulaInputProps } from '@univerjs/data-validation';
2
- import { default as React } from 'react';
3
- export declare const BaseFormulaInput: (props: IFormulaInputProps) => React.JSX.Element;
2
+ export declare const BaseFormulaInput: (props: IFormulaInputProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,2 @@
1
1
  import { IFormulaInputProps } from '@univerjs/data-validation';
2
- import { default as React } from 'react';
3
- export declare function CheckboxFormulaInput(props: IFormulaInputProps): React.JSX.Element;
2
+ export declare function CheckboxFormulaInput(props: IFormulaInputProps): import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,2 @@
1
1
  import { IFormulaInputProps } from '@univerjs/data-validation';
2
- import { default as React } from 'react';
3
- export declare function CustomFormulaInput(props: IFormulaInputProps): React.JSX.Element;
2
+ export declare function CustomFormulaInput(props: IFormulaInputProps): import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,2 @@
1
1
  import { IFormulaInputProps } from '@univerjs/data-validation';
2
- import { default as React } from 'react';
3
- export declare function ListFormulaInput(props: IFormulaInputProps): React.JSX.Element;
2
+ export declare function ListFormulaInput(props: IFormulaInputProps): import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,4 @@
1
1
  import { ISheetDataValidationRule } from '@univerjs/core';
2
- import { default as React } from 'react';
3
2
  export interface IDataValidationDetailProps {
4
3
  rule: ISheetDataValidationRule;
5
4
  onClick: () => void;
@@ -7,4 +6,4 @@ export interface IDataValidationDetailProps {
7
6
  subUnitId: string;
8
7
  disable?: boolean;
9
8
  }
10
- export declare const DataValidationItem: (props: IDataValidationDetailProps) => React.JSX.Element;
9
+ export declare const DataValidationItem: (props: IDataValidationDetailProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,16 @@
1
- import { default as React } from 'react';
2
- export declare function DataValidationList(): React.JSX.Element | null;
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
+ */
16
+ export declare function DataValidationList(): import("react/jsx-runtime").JSX.Element | null;
@@ -1,3 +1,2 @@
1
1
  import { IDropdownComponentProps } from '../../../services/dropdown-manager.service';
2
- import { default as React } from 'react';
3
- export declare function ListDropDown(props: IDropdownComponentProps): React.JSX.Element | null | undefined;
2
+ export declare function ListDropDown(props: IDropdownComponentProps): import("react/jsx-runtime").JSX.Element | null | undefined;
@@ -1,8 +1,7 @@
1
1
  import { IDataValidationRuleOptions } from '@univerjs/core';
2
- import { default as React } from 'react';
3
2
  export interface IDataValidationOptionsParams {
4
3
  value: IDataValidationRuleOptions;
5
4
  onChange: (value: IDataValidationRuleOptions) => void;
6
5
  extraComponent?: string;
7
6
  }
8
- export declare function DataValidationOptions(props: IDataValidationOptionsParams): React.JSX.Element;
7
+ export declare function DataValidationOptions(props: IDataValidationOptionsParams): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,16 @@
1
- import { default as React } from 'react';
2
- export declare const DataValidationPanel: () => React.JSX.Element;
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
+ */
16
+ export declare const DataValidationPanel: () => import("react/jsx-runtime").JSX.Element;
@@ -1,10 +1,9 @@
1
1
  import { IDataValidationRuleOptions } from '@univerjs/core';
2
- import { default as React } from 'react';
3
2
  export interface IListRenderModeInputProps {
4
3
  value: IDataValidationRuleOptions;
5
4
  onChange: (value: IDataValidationRuleOptions) => void;
6
5
  }
7
- export declare function ListRenderModeInput(props: IListRenderModeInputProps): React.JSX.Element;
6
+ export declare function ListRenderModeInput(props: IListRenderModeInputProps): import("react/jsx-runtime").JSX.Element;
8
7
  export declare namespace ListRenderModeInput {
9
8
  var componentKey: string;
10
9
  }
@@ -1,10 +1,9 @@
1
1
  import { IDataValidationRuleOptions } from '@univerjs/core';
2
- import { default as React } from 'react';
3
2
  export interface IDateShowTimeOptionProps {
4
3
  value: IDataValidationRuleOptions;
5
4
  onChange: (value: IDataValidationRuleOptions) => void;
6
5
  }
7
- export declare function DateShowTimeOption(props: IDateShowTimeOptionProps): React.JSX.Element;
6
+ export declare function DateShowTimeOption(props: IDateShowTimeOptionProps): import("react/jsx-runtime").JSX.Element;
8
7
  export declare namespace DateShowTimeOption {
9
8
  var componentKey: string;
10
9
  }