@univerjs/sheets-data-validation-ui 0.5.5-nightly.202501220324 → 0.5.5

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 (40) hide show
  1. package/LICENSE +176 -0
  2. package/lib/cjs/index.js +9 -1
  3. package/lib/cjs/locale/en-US.js +1 -1
  4. package/lib/cjs/locale/fa-IR.js +1 -1
  5. package/lib/cjs/locale/fr-FR.js +1 -1
  6. package/lib/cjs/locale/ru-RU.js +1 -1
  7. package/lib/cjs/locale/vi-VN.js +1 -1
  8. package/lib/cjs/locale/zh-CN.js +1 -1
  9. package/lib/cjs/locale/zh-TW.js +1 -1
  10. package/lib/es/index.js +2165 -2186
  11. package/lib/es/locale/en-US.js +2 -2
  12. package/lib/es/locale/fa-IR.js +2 -2
  13. package/lib/es/locale/fr-FR.js +2 -2
  14. package/lib/es/locale/ru-RU.js +2 -2
  15. package/lib/es/locale/vi-VN.js +2 -2
  16. package/lib/es/locale/zh-CN.js +2 -2
  17. package/lib/es/locale/zh-TW.js +2 -2
  18. package/lib/types/views/components/date-dropdown/index.d.ts +2 -1
  19. package/lib/types/views/components/detail/index.d.ts +2 -16
  20. package/lib/types/views/components/drop-down/CellDropdown.d.ts +2 -16
  21. package/lib/types/views/components/formula-input/base-formula-input.d.ts +2 -1
  22. package/lib/types/views/components/formula-input/checkbox-formula-input.d.ts +2 -1
  23. package/lib/types/views/components/formula-input/custom-formula-input.d.ts +2 -1
  24. package/lib/types/views/components/formula-input/list-formula-input.d.ts +2 -1
  25. package/lib/types/views/components/item/index.d.ts +2 -1
  26. package/lib/types/views/components/list/index.d.ts +2 -16
  27. package/lib/types/views/components/list-dropdown/index.d.ts +2 -1
  28. package/lib/types/views/components/options/index.d.ts +2 -1
  29. package/lib/types/views/components/panel/index.d.ts +2 -16
  30. package/lib/types/views/components/render-mode/index.d.ts +2 -1
  31. package/lib/types/views/components/show-time/index.d.ts +2 -1
  32. package/lib/umd/index.js +9 -1
  33. package/lib/umd/locale/en-US.js +1 -1
  34. package/lib/umd/locale/fa-IR.js +1 -1
  35. package/lib/umd/locale/fr-FR.js +1 -1
  36. package/lib/umd/locale/ru-RU.js +1 -1
  37. package/lib/umd/locale/vi-VN.js +1 -1
  38. package/lib/umd/locale/zh-CN.js +1 -1
  39. package/lib/umd/locale/zh-TW.js +1 -1
  40. package/package.json +14 -14
@@ -1,4 +1,4 @@
1
- const locale = {
1
+ const e = {
2
2
  dataValidation: {
3
3
  title: "Data validation",
4
4
  validFail: {
@@ -172,5 +172,5 @@ const locale = {
172
172
  }
173
173
  };
174
174
  export {
175
- locale as default
175
+ e as default
176
176
  };
@@ -1,4 +1,4 @@
1
- const locale = {
1
+ const e = {
2
2
  dataValidation: {
3
3
  title: "اعتبارسنجی داده",
4
4
  validFail: {
@@ -172,5 +172,5 @@ const locale = {
172
172
  }
173
173
  };
174
174
  export {
175
- locale as default
175
+ e as default
176
176
  };
@@ -1,4 +1,4 @@
1
- const locale = {
1
+ const e = {
2
2
  dataValidation: {
3
3
  title: "Validation des données",
4
4
  validFail: {
@@ -172,5 +172,5 @@ const locale = {
172
172
  }
173
173
  };
174
174
  export {
175
- locale as default
175
+ e as default
176
176
  };
@@ -1,4 +1,4 @@
1
- const locale = {
1
+ const e = {
2
2
  dataValidation: {
3
3
  title: "Проверка данных",
4
4
  validFail: {
@@ -172,5 +172,5 @@ const locale = {
172
172
  }
173
173
  };
174
174
  export {
175
- locale as default
175
+ e as default
176
176
  };
@@ -1,4 +1,4 @@
1
- const locale = {
1
+ const n = {
2
2
  dataValidation: {
3
3
  title: "Xác thực dữ liệu",
4
4
  validFail: {
@@ -172,5 +172,5 @@ const locale = {
172
172
  }
173
173
  };
174
174
  export {
175
- locale as default
175
+ n as default
176
176
  };
@@ -1,4 +1,4 @@
1
- const locale = {
1
+ const e = {
2
2
  dataValidation: {
3
3
  title: "数据验证",
4
4
  validFail: {
@@ -174,5 +174,5 @@ const locale = {
174
174
  }
175
175
  };
176
176
  export {
177
- locale as default
177
+ e as default
178
178
  };
@@ -1,4 +1,4 @@
1
- const locale = {
1
+ const e = {
2
2
  dataValidation: {
3
3
  title: "資料驗證",
4
4
  validFail: {
@@ -174,5 +174,5 @@ const locale = {
174
174
  }
175
175
  };
176
176
  export {
177
- locale as default
177
+ e as default
178
178
  };
@@ -1,2 +1,3 @@
1
1
  import { IDropdownComponentProps } from '../../../services/dropdown-manager.service';
2
- export declare function DateDropdown(props: IDropdownComponentProps): import("react/jsx-runtime").JSX.Element | null | undefined;
2
+ import { default as React } from 'react';
3
+ export declare function DateDropdown(props: IDropdownComponentProps): React.JSX.Element | null | undefined;
@@ -1,16 +1,2 @@
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
+ import { default as React } from 'react';
2
+ export declare function DataValidationDetail(): React.JSX.Element | null;
@@ -1,16 +1,2 @@
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
+ import { default as React } from 'react';
2
+ export declare function CellDropdown(): React.JSX.Element | null;
@@ -1,2 +1,3 @@
1
1
  import { IFormulaInputProps } from '@univerjs/data-validation';
2
- export declare const BaseFormulaInput: (props: IFormulaInputProps) => import("react/jsx-runtime").JSX.Element;
2
+ import { default as React } from 'react';
3
+ export declare const BaseFormulaInput: (props: IFormulaInputProps) => React.JSX.Element;
@@ -1,2 +1,3 @@
1
1
  import { IFormulaInputProps } from '@univerjs/data-validation';
2
- export declare function CheckboxFormulaInput(props: IFormulaInputProps): import("react/jsx-runtime").JSX.Element;
2
+ import { default as React } from 'react';
3
+ export declare function CheckboxFormulaInput(props: IFormulaInputProps): React.JSX.Element;
@@ -1,2 +1,3 @@
1
1
  import { IFormulaInputProps } from '@univerjs/data-validation';
2
- export declare function CustomFormulaInput(props: IFormulaInputProps): import("react/jsx-runtime").JSX.Element;
2
+ import { default as React } from 'react';
3
+ export declare function CustomFormulaInput(props: IFormulaInputProps): React.JSX.Element;
@@ -1,2 +1,3 @@
1
1
  import { IFormulaInputProps } from '@univerjs/data-validation';
2
- export declare function ListFormulaInput(props: IFormulaInputProps): import("react/jsx-runtime").JSX.Element;
2
+ import { default as React } from 'react';
3
+ export declare function ListFormulaInput(props: IFormulaInputProps): React.JSX.Element;
@@ -1,4 +1,5 @@
1
1
  import { ISheetDataValidationRule } from '@univerjs/core';
2
+ import { default as React } from 'react';
2
3
  export interface IDataValidationDetailProps {
3
4
  rule: ISheetDataValidationRule;
4
5
  onClick: () => void;
@@ -6,4 +7,4 @@ export interface IDataValidationDetailProps {
6
7
  subUnitId: string;
7
8
  disable?: boolean;
8
9
  }
9
- export declare const DataValidationItem: (props: IDataValidationDetailProps) => import("react/jsx-runtime").JSX.Element;
10
+ export declare const DataValidationItem: (props: IDataValidationDetailProps) => React.JSX.Element;
@@ -1,16 +1,2 @@
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
+ import { default as React } from 'react';
2
+ export declare function DataValidationList(): React.JSX.Element | null;
@@ -1,2 +1,3 @@
1
1
  import { IDropdownComponentProps } from '../../../services/dropdown-manager.service';
2
- export declare function ListDropDown(props: IDropdownComponentProps): import("react/jsx-runtime").JSX.Element | null | undefined;
2
+ import { default as React } from 'react';
3
+ export declare function ListDropDown(props: IDropdownComponentProps): React.JSX.Element | null | undefined;
@@ -1,7 +1,8 @@
1
1
  import { IDataValidationRuleOptions } from '@univerjs/core';
2
+ import { default as React } from 'react';
2
3
  export interface IDataValidationOptionsParams {
3
4
  value: IDataValidationRuleOptions;
4
5
  onChange: (value: IDataValidationRuleOptions) => void;
5
6
  extraComponent?: string;
6
7
  }
7
- export declare function DataValidationOptions(props: IDataValidationOptionsParams): import("react/jsx-runtime").JSX.Element;
8
+ export declare function DataValidationOptions(props: IDataValidationOptionsParams): React.JSX.Element;
@@ -1,16 +1,2 @@
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
+ import { default as React } from 'react';
2
+ export declare const DataValidationPanel: () => React.JSX.Element;
@@ -1,9 +1,10 @@
1
1
  import { IDataValidationRuleOptions } from '@univerjs/core';
2
+ import { default as React } from 'react';
2
3
  export interface IListRenderModeInputProps {
3
4
  value: IDataValidationRuleOptions;
4
5
  onChange: (value: IDataValidationRuleOptions) => void;
5
6
  }
6
- export declare function ListRenderModeInput(props: IListRenderModeInputProps): import("react/jsx-runtime").JSX.Element;
7
+ export declare function ListRenderModeInput(props: IListRenderModeInputProps): React.JSX.Element;
7
8
  export declare namespace ListRenderModeInput {
8
9
  var componentKey: string;
9
10
  }
@@ -1,9 +1,10 @@
1
1
  import { IDataValidationRuleOptions } from '@univerjs/core';
2
+ import { default as React } from 'react';
2
3
  export interface IDateShowTimeOptionProps {
3
4
  value: IDataValidationRuleOptions;
4
5
  onChange: (value: IDataValidationRuleOptions) => void;
5
6
  }
6
- export declare function DateShowTimeOption(props: IDateShowTimeOptionProps): import("react/jsx-runtime").JSX.Element;
7
+ export declare function DateShowTimeOption(props: IDateShowTimeOptionProps): React.JSX.Element;
7
8
  export declare namespace DateShowTimeOption {
8
9
  var componentKey: string;
9
10
  }