@univerjs/sheets-data-validation-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 (107) hide show
  1. package/lib/cjs/index.js +48 -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 +48 -3241
  15. package/lib/es/locale/ca-ES.js +1 -182
  16. package/lib/es/locale/en-US.js +1 -182
  17. package/lib/es/locale/es-ES.js +1 -182
  18. package/lib/es/locale/fa-IR.js +1 -182
  19. package/lib/es/locale/fr-FR.js +1 -182
  20. package/lib/es/locale/ja-JP.js +1 -182
  21. package/lib/es/locale/ko-KR.js +1 -182
  22. package/lib/es/locale/ru-RU.js +1 -182
  23. package/lib/es/locale/sk-SK.js +1 -182
  24. package/lib/es/locale/vi-VN.js +1 -182
  25. package/lib/es/locale/zh-CN.js +1 -184
  26. package/lib/es/locale/zh-TW.js +1 -182
  27. package/lib/index.css +317 -1
  28. package/lib/index.js +48 -3241
  29. package/lib/locale/ca-ES.js +1 -182
  30. package/lib/locale/en-US.js +1 -182
  31. package/lib/locale/es-ES.js +1 -182
  32. package/lib/locale/fa-IR.js +1 -182
  33. package/lib/locale/fr-FR.js +1 -182
  34. package/lib/locale/ja-JP.js +1 -182
  35. package/lib/locale/ko-KR.js +1 -182
  36. package/lib/locale/ru-RU.js +1 -182
  37. package/lib/locale/sk-SK.js +1 -182
  38. package/lib/locale/vi-VN.js +1 -182
  39. package/lib/locale/zh-CN.js +1 -184
  40. package/lib/locale/zh-TW.js +1 -182
  41. package/lib/types/commands/commands/data-validation-ui.command.d.ts +16 -1
  42. package/lib/types/commands/operations/data-validation.operation.d.ts +16 -1
  43. package/lib/types/config/config.d.ts +16 -1
  44. package/lib/types/controllers/dv-alert.controller.d.ts +15 -0
  45. package/lib/types/controllers/dv-auto-fill.controller.d.ts +15 -0
  46. package/lib/types/controllers/dv-copy-paste.controller.d.ts +15 -0
  47. package/lib/types/controllers/dv-permission.controller.d.ts +15 -0
  48. package/lib/types/controllers/dv-reject-input.controller.d.ts +15 -0
  49. package/lib/types/controllers/dv-render.controller.d.ts +15 -0
  50. package/lib/types/controllers/dv-rerender.controller.d.ts +18 -2
  51. package/lib/types/controllers/dv-ui.controller.d.ts +15 -0
  52. package/lib/types/locale/ca-ES.d.ts +16 -1
  53. package/lib/types/locale/es-ES.d.ts +16 -1
  54. package/lib/types/locale/fa-IR.d.ts +16 -1
  55. package/lib/types/locale/fr-FR.d.ts +16 -1
  56. package/lib/types/locale/ja-JP.d.ts +16 -1
  57. package/lib/types/locale/ko-KR.d.ts +16 -1
  58. package/lib/types/locale/ru-RU.d.ts +16 -1
  59. package/lib/types/locale/sk-SK.d.ts +16 -1
  60. package/lib/types/locale/vi-VN.d.ts +16 -1
  61. package/lib/types/locale/zh-CN.d.ts +16 -1
  62. package/lib/types/locale/zh-TW.d.ts +16 -1
  63. package/lib/types/menu/dv.menu.d.ts +17 -2
  64. package/lib/types/menu/schema.d.ts +16 -1
  65. package/lib/types/mobile-plugin.d.ts +16 -1
  66. package/lib/types/plugin.d.ts +16 -1
  67. package/lib/types/services/data-validation-panel.service.d.ts +19 -3
  68. package/lib/types/services/dropdown-manager.service.d.ts +20 -3
  69. package/lib/types/views/components/formula-input/BaseFormulaInput.d.ts +16 -1
  70. package/lib/types/views/components/formula-input/CheckboxFormulaInput.d.ts +16 -1
  71. package/lib/types/views/components/formula-input/CustomFormulaInput.d.ts +16 -1
  72. package/lib/types/views/components/formula-input/ListFormulaInput.d.ts +16 -1
  73. package/lib/types/views/components/formula-input/formula-input.d.ts +16 -1
  74. package/lib/types/views/components/formula-input/index.d.ts +16 -1
  75. package/lib/types/views/components/item/index.d.ts +16 -1
  76. package/lib/types/views/components/list/index.d.ts +16 -1
  77. package/lib/types/views/components/options/index.d.ts +16 -1
  78. package/lib/types/views/components/render-mode/index.d.ts +16 -1
  79. package/lib/types/views/components/show-time/index.d.ts +16 -1
  80. package/lib/types/views/validator-views/checkbox-validator-view.d.ts +15 -0
  81. package/lib/types/views/validator-views/custom-validator-view.d.ts +15 -0
  82. package/lib/types/views/validator-views/date-validator-view.d.ts +15 -0
  83. package/lib/types/views/validator-views/decimal-validator-view.d.ts +15 -0
  84. package/lib/types/views/validator-views/list-multiple-view.d.ts +15 -0
  85. package/lib/types/views/validator-views/list-validator-view.d.ts +19 -2
  86. package/lib/types/views/validator-views/sheet-validator-view.d.ts +18 -2
  87. package/lib/types/views/validator-views/text-length-validator.view.d.ts +15 -0
  88. package/lib/types/views/validator-views/whole-validator-view.d.ts +15 -0
  89. package/lib/types/views/widgets/checkbox-widget.d.ts +20 -3
  90. package/lib/types/views/widgets/dropdown-multiple-widget.d.ts +20 -3
  91. package/lib/types/views/widgets/dropdown-widget.d.ts +20 -3
  92. package/lib/types/views/widgets/shape/dropdown.d.ts +18 -2
  93. package/lib/types/views/widgets/shape/layout.d.ts +18 -3
  94. package/lib/umd/index.js +48 -2
  95. package/lib/umd/locale/ca-ES.js +1 -1
  96. package/lib/umd/locale/en-US.js +1 -1
  97. package/lib/umd/locale/es-ES.js +1 -1
  98. package/lib/umd/locale/fa-IR.js +1 -1
  99. package/lib/umd/locale/fr-FR.js +1 -1
  100. package/lib/umd/locale/ja-JP.js +1 -1
  101. package/lib/umd/locale/ko-KR.js +1 -1
  102. package/lib/umd/locale/ru-RU.js +1 -1
  103. package/lib/umd/locale/sk-SK.js +1 -1
  104. package/lib/umd/locale/vi-VN.js +1 -1
  105. package/lib/umd/locale/zh-CN.js +1 -1
  106. package/lib/umd/locale/zh-TW.js +1 -1
  107. package/package.json +17 -16
@@ -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 } from '@univerjs/core';
2
17
  import { IAutoFillService } from '@univerjs/sheets';
3
18
  import { SheetDataValidationModel } from '@univerjs/sheets-data-validation';
@@ -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 } from '@univerjs/core';
2
17
  import { SheetDataValidationModel } from '@univerjs/sheets-data-validation';
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, ICommandService, LocaleService } from '@univerjs/core';
2
17
  import { SheetPermissionCheckController } from '@univerjs/sheets';
3
18
  export declare class DataValidationPermissionController 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, LocaleService } from '@univerjs/core';
2
17
  import { DataValidatorRegistryService } from '@univerjs/data-validation';
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 { ICommandService, IUniverInstanceService, RxDisposable } from '@univerjs/core';
2
17
  import { DataValidatorRegistryService } from '@univerjs/data-validation';
3
18
  import { IRenderManagerService } from '@univerjs/engine-render';
@@ -1,5 +1,21 @@
1
- import { Workbook, Disposable } from '@univerjs/core';
2
- import { IRenderContext, IRenderModule } from '@univerjs/engine-render';
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 { Workbook } from '@univerjs/core';
17
+ import type { IRenderContext, IRenderModule } from '@univerjs/engine-render';
18
+ import { Disposable } from '@univerjs/core';
3
19
  import { SheetDataValidationModel } from '@univerjs/sheets-data-validation';
4
20
  import { SheetSkeletonManagerService } from '@univerjs/sheets-ui';
5
21
  export declare class SheetsDataValidationReRenderController extends Disposable implements IRenderModule {
@@ -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 { Injector, RxDisposable } from '@univerjs/core';
2
17
  import { DataValidatorRegistryService } from '@univerjs/data-validation';
3
18
  import { ComponentManager } from '@univerjs/ui';
@@ -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;
@@ -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,5 +1,20 @@
1
- import { IAccessor } from '@univerjs/core';
2
- import { IMenuItem } 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 { IAccessor } from '@univerjs/core';
17
+ import type { IMenuItem } from '@univerjs/ui';
3
18
  export declare const DATA_VALIDATION_MENU_ID = "sheet.menu.data-validation";
4
19
  export declare function dataValidationMenuFactory(accessor: IAccessor): IMenuItem;
5
20
  export declare function openDataValidationMenuFactory(_accessor: IAccessor): IMenuItem;
@@ -1,2 +1,17 @@
1
- import { MenuSchemaType } 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 { MenuSchemaType } from '@univerjs/ui';
2
17
  export declare const menuSchema: MenuSchemaType;
@@ -1,4 +1,19 @@
1
- import { IUniverSheetsDataValidationUIConfig } from './config/config';
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 { IUniverSheetsDataValidationUIConfig } from './config/config';
2
17
  import { ICommandService, IConfigService, Injector, Plugin, UniverInstanceType } from '@univerjs/core';
3
18
  export declare class UniverSheetsDataValidationMobileUIPlugin extends Plugin {
4
19
  private readonly _config;
@@ -1,4 +1,19 @@
1
- import { IUniverSheetsDataValidationUIConfig } from './config/config';
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 { IUniverSheetsDataValidationUIConfig } from './config/config';
2
17
  import { ICommandService, IConfigService, Injector, Plugin, UniverInstanceType } from '@univerjs/core';
3
18
  export declare class UniverSheetsDataValidationUIPlugin extends Plugin {
4
19
  private readonly _config;
@@ -1,13 +1,29 @@
1
- import { IDataValidationRule, IDisposable, Nullable, Disposable, IUniverInstanceService } 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 { IDataValidationRule, IDisposable, Nullable } from '@univerjs/core';
17
+ import { Disposable, IUniverInstanceService } from '@univerjs/core';
2
18
  import { ISidebarService } from '@univerjs/ui';
3
19
  export declare class DataValidationPanelService extends Disposable {
4
20
  private readonly _univerInstanceService;
5
21
  private readonly _sidebarService;
6
22
  private _open$;
7
- readonly open$: import('rxjs').Observable<boolean>;
23
+ readonly open$: import("rxjs").Observable<boolean>;
8
24
  private _activeRule;
9
25
  private _activeRule$;
10
- readonly activeRule$: import('rxjs').Observable<Nullable<{
26
+ readonly activeRule$: import("rxjs").Observable<Nullable<{
11
27
  unitId: string;
12
28
  subUnitId: string;
13
29
  rule: IDataValidationRule;
@@ -1,6 +1,23 @@
1
- import { Nullable, Disposable, ICommandService, IConfigService, Injector, IUniverInstanceService } from '@univerjs/core';
2
- import { ISheetLocation, SheetsSelectionsService } from '@univerjs/sheets';
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 { Nullable } from '@univerjs/core';
17
+ import type { ISheetLocation } from '@univerjs/sheets';
18
+ import { Disposable, ICommandService, IConfigService, Injector, IUniverInstanceService } from '@univerjs/core';
3
19
  import { DataValidatorRegistryService } from '@univerjs/data-validation';
20
+ import { SheetsSelectionsService } from '@univerjs/sheets';
4
21
  import { SheetDataValidationModel } from '@univerjs/sheets-data-validation';
5
22
  import { IEditorBridgeService, ISheetCellDropdownManagerService } from '@univerjs/sheets-ui';
6
23
  import { IZenZoneService } from '@univerjs/ui';
@@ -30,7 +47,7 @@ export declare class DataValidationDropdownManagerService extends Disposable {
30
47
  private _activeDropdown;
31
48
  private _activeDropdown$;
32
49
  private _currentPopup;
33
- activeDropdown$: import('rxjs').Observable<Nullable<IDataValidationDropdownParam>>;
50
+ activeDropdown$: import("rxjs").Observable<Nullable<IDataValidationDropdownParam>>;
34
51
  private _zenVisible;
35
52
  get activeDropdown(): Nullable<IDataValidationDropdownParam>;
36
53
  constructor(_univerInstanceService: IUniverInstanceService, _dataValidatorRegistryService: DataValidatorRegistryService, _zenZoneService: IZenZoneService, _dataValidationModel: SheetDataValidationModel, _sheetsSelectionsService: SheetsSelectionsService, _cellDropdownManagerService: ISheetCellDropdownManagerService, _sheetDataValidationModel: SheetDataValidationModel, _commandService: ICommandService, _editorBridgeService: IEditorBridgeService, _injector: Injector, _configService: IConfigService);
@@ -1,2 +1,17 @@
1
- import { IFormulaInputProps } from '@univerjs/data-validation';
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 { IFormulaInputProps } from '@univerjs/data-validation';
2
17
  export declare const BaseFormulaInput: (props: IFormulaInputProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,17 @@
1
- import { IFormulaInputProps } from '@univerjs/data-validation';
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 { IFormulaInputProps } from '@univerjs/data-validation';
2
17
  export declare function CheckboxFormulaInput(props: IFormulaInputProps): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,17 @@
1
- import { IFormulaInputProps } from '@univerjs/data-validation';
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 { IFormulaInputProps } from '@univerjs/data-validation';
2
17
  export declare function CustomFormulaInput(props: IFormulaInputProps): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,17 @@
1
- import { IFormulaInputProps } from '@univerjs/data-validation';
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 { IFormulaInputProps } from '@univerjs/data-validation';
2
17
  export declare function ListFormulaInput(props: IFormulaInputProps): import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,19 @@
1
- import { FormulaInputType } from '@univerjs/data-validation';
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 { FormulaInputType } from '@univerjs/data-validation';
2
17
  export declare const BASE_FORMULA_INPUT_NAME = "data-validation.formula-input";
3
18
  export declare const LIST_FORMULA_INPUT_NAME = "data-validation.list-formula-input";
4
19
  export declare const FORMULA_INPUTS: [string, FormulaInputType][];