@univerjs/sheets-formula 0.1.4 → 0.1.6
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/README.md +1 -1
- package/lib/cjs/index.js +8 -8
- package/lib/es/index.js +1940 -1758
- package/lib/index.css +1 -1
- package/lib/types/commands/commands/formula-clipboard.command.d.ts +2 -16
- package/lib/types/commands/commands/insert-function.command.d.ts +2 -16
- package/lib/types/commands/operations/__tests__/create-command-test-bed.d.ts +10 -25
- package/lib/types/commands/operations/editor-formula.operation.d.ts +5 -19
- package/lib/types/commands/operations/help-function.operation.d.ts +2 -16
- package/lib/types/commands/operations/insert-function.operation.d.ts +2 -16
- package/lib/types/commands/operations/more-functions.operation.d.ts +2 -16
- package/lib/types/commands/operations/reference-absolute.operation.d.ts +2 -16
- package/lib/types/commands/operations/search-function.operation.d.ts +2 -16
- package/lib/types/common/selection.d.ts +3 -17
- package/lib/types/controllers/__tests__/create-command-test-bed.d.ts +3 -19
- package/lib/types/controllers/active-dirty.controller.d.ts +5 -18
- package/lib/types/controllers/array-formula-display.controller.d.ts +3 -17
- package/lib/types/controllers/defined-name.controller.d.ts +27 -0
- package/lib/types/controllers/formula-auto-fill.controller.d.ts +3 -17
- package/lib/types/controllers/formula-clipboard.controller.d.ts +5 -21
- package/lib/types/controllers/formula-editor-show.controller.d.ts +5 -19
- package/lib/types/controllers/formula-ui.controller.d.ts +3 -18
- package/lib/types/controllers/menu.d.ts +3 -17
- package/lib/types/controllers/numfmt-formula-display.controller.d.ts +3 -17
- package/lib/types/controllers/prompt.controller.d.ts +20 -25
- package/lib/types/controllers/shortcuts/prompt.shortcut.d.ts +2 -17
- package/lib/types/controllers/trigger-calculation.controller.d.ts +4 -19
- package/lib/types/controllers/update-formula.controller.d.ts +4 -18
- package/lib/types/controllers/utils/offset-formula-data.d.ts +4 -19
- package/lib/types/controllers/utils/redo-undo-formula-data.d.ts +4 -18
- package/lib/types/controllers/utils/ref-range-formula.d.ts +3 -17
- package/lib/types/controllers/utils/utils.d.ts +2 -16
- package/lib/types/formula-ui-plugin.d.ts +3 -18
- package/lib/types/index.d.ts +2 -0
- package/lib/types/services/description.service.d.ts +22 -19
- package/lib/types/services/formula-custom-function.service.d.ts +3 -17
- package/lib/types/services/formula-ref-range.service.d.ts +17 -0
- package/lib/types/services/function-list/array.d.ts +2 -16
- package/lib/types/services/function-list/compatibility.d.ts +2 -16
- package/lib/types/services/function-list/cube.d.ts +2 -16
- package/lib/types/services/function-list/database.d.ts +2 -16
- package/lib/types/services/function-list/date.d.ts +2 -16
- package/lib/types/services/function-list/engineering.d.ts +2 -16
- package/lib/types/services/function-list/financial.d.ts +2 -16
- package/lib/types/services/function-list/function-list.d.ts +2 -16
- package/lib/types/services/function-list/information.d.ts +2 -16
- package/lib/types/services/function-list/logical.d.ts +2 -16
- package/lib/types/services/function-list/lookup.d.ts +2 -16
- package/lib/types/services/function-list/math.d.ts +2 -16
- package/lib/types/services/function-list/statistical.d.ts +2 -16
- package/lib/types/services/function-list/text.d.ts +2 -16
- package/lib/types/services/function-list/univer.d.ts +2 -16
- package/lib/types/services/function-list/web.d.ts +2 -16
- package/lib/types/services/prompt.service.d.ts +7 -21
- package/lib/types/services/register-function.service.d.ts +5 -22
- package/lib/types/services/utils.d.ts +3 -17
- package/lib/types/views/FormulaPromptContainer.d.ts +2 -16
- package/lib/types/views/more-functions/MoreFunctions.d.ts +2 -16
- package/lib/types/views/more-functions/function-help/FunctionHelp.d.ts +3 -17
- package/lib/types/views/more-functions/function-params/FunctionParams.d.ts +2 -16
- package/lib/types/views/more-functions/input-params/InputParams.d.ts +3 -17
- package/lib/types/views/more-functions/select-function/SelectFunction.d.ts +3 -17
- package/lib/types/views/prompt/help-function/HelpFunction.d.ts +2 -16
- package/lib/types/views/prompt/search-function/SearchFunction.d.ts +3 -17
- package/lib/umd/index.js +6 -6
- package/package.json +24 -24
- package/lib/types/services/active-dirty-manager.service.d.ts +0 -48
package/lib/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.univer-formula-help-function{user-select:none;box-sizing:border-box;width:250px;margin:0;line-height:20px;list-style:none;background-color:rgb(var(--bg-color-secondary));border:1px solid rgb(var(--border-color));border-radius:var(--border-radius-lg);outline:none;box-shadow:var(--box-shadow-base)}.univer-formula-help-function-title{display:flex;align-items:center;justify-content:space-between;box-sizing:border-box;padding:var(--padding-base) var(--padding-lg);font-size:var(--font-size-xxs);font-weight:500;color:rgb(var(--text-color));overflow-wrap:anywhere;border-bottom:1px solid rgb(var(--border-color))}.univer-formula-help-function-title-icons{display:flex}.univer-formula-help-function-title-icon{cursor:pointer;display:flex;align-items:center;justify-content:center;width:24px;height:24px;margin-left:var(--margin-xs);padding:0;font-size:var(--font-size-xs);color:rgb(var(--text-color-secondary));background-color:transparent;border:none;border-radius:var(--border-radius-base);outline:none;transition:background-color .2s}.univer-formula-help-function-title-icon:hover{background-color:rgb(var(--bg-color-hover))}.univer-formula-help-function-content{overflow-y:auto;box-sizing:border-box;max-height:350px;padding:0 var(--padding-lg) var(--padding-base) var(--padding-lg)}.univer-formula-help-function-content-inner{margin-top:var(--margin-sm)}.univer-formula-help-function-content-params{margin:var(--margin-xs) 0}.univer-formula-help-function-content-params-title{margin-bottom:var(--margin-xs);font-size:var(--font-size-xs);font-weight:500;color:rgb(var(--text-color))}.univer-formula-help-function-content-params-detail{font-size:var(--font-size-xxs);font-weight:400;white-space:pre-wrap;color:rgb(var(--text-color-secondary))}.univer-formula-help-function-active{color:rgb(var(--primary-color))}.univer-formula-help-decorator{cursor:pointer;position:fixed;z-index:10;display:flex;align-items:center;justify-content:center;padding:var(--padding-xs)}.univer-formula-help-param,.univer-formula-help-param-prefix,.univer-formula-help-param-item,.univer-formula-help-param-active{z-index:1}.univer-formula-search-function{
|
|
1
|
+
.univer-formula-help-function{user-select:none;box-sizing:border-box;width:250px;margin:0;line-height:20px;list-style:none;background-color:rgb(var(--bg-color-secondary));border:1px solid rgb(var(--border-color));border-radius:var(--border-radius-lg);outline:none;box-shadow:var(--box-shadow-base)}.univer-formula-help-function-title{display:flex;align-items:center;justify-content:space-between;box-sizing:border-box;padding:var(--padding-base) var(--padding-lg);font-size:var(--font-size-xxs);font-weight:500;color:rgb(var(--text-color));overflow-wrap:anywhere;border-bottom:1px solid rgb(var(--border-color))}.univer-formula-help-function-title-icons{display:flex}.univer-formula-help-function-title-icon{cursor:pointer;display:flex;align-items:center;justify-content:center;width:24px;height:24px;margin-left:var(--margin-xs);padding:0;font-size:var(--font-size-xs);color:rgb(var(--text-color-secondary));background-color:transparent;border:none;border-radius:var(--border-radius-base);outline:none;transition:background-color .2s}.univer-formula-help-function-title-icon:hover{background-color:rgb(var(--bg-color-hover))}.univer-formula-help-function-content{overflow-y:auto;box-sizing:border-box;max-height:350px;padding:0 var(--padding-lg) var(--padding-base) var(--padding-lg)}.univer-formula-help-function-content-inner{margin-top:var(--margin-sm)}.univer-formula-help-function-content-params{margin:var(--margin-xs) 0}.univer-formula-help-function-content-params-title{margin-bottom:var(--margin-xs);font-size:var(--font-size-xs);font-weight:500;color:rgb(var(--text-color))}.univer-formula-help-function-content-params-detail{font-size:var(--font-size-xxs);font-weight:400;white-space:pre-wrap;color:rgb(var(--text-color-secondary))}.univer-formula-help-function-active{color:rgb(var(--primary-color))}.univer-formula-help-decorator{cursor:pointer;position:fixed;z-index:10;display:flex;align-items:center;justify-content:center;padding:var(--padding-xs)}.univer-formula-help-param,.univer-formula-help-param-prefix,.univer-formula-help-param-item,.univer-formula-help-param-active{z-index:1}.univer-formula-search-function{box-sizing:border-box;width:250px;max-height:400px;margin:0;padding:var(--padding-sm);line-height:20px;list-style:none;background-color:rgb(var(--bg-color-secondary));border:1px solid rgb(var(--border-color));border-radius:var(--border-radius-lg);outline:none;box-shadow:var(--box-shadow-base);overflow:hidden;overflow-y:auto}.univer-formula-search-function-item{cursor:pointer;box-sizing:border-box;padding:var(--padding-xs) var(--padding-sm);color:rgb(var(--text-color));border-radius:var(--border-radius-base);transition:background .2s}.univer-formula-search-function-item-name{font-size:var(--font-size-xxs)}.univer-formula-search-function-item-name-light{color:rgb(var(--error-color))}.univer-formula-search-function-item-desc{display:block;font-size:var(--font-size-xxs);color:rgb(var(--grey-500))}.univer-formula-search-function-item-active{background-color:rgb(var(--bg-color-hover))}.univer-formula-more-functions{display:flex;flex-direction:column;justify-content:space-between;height:100%;line-height:20px}.univer-formula-more-functions-operation{display:flex;justify-content:flex-end}.univer-formula-more-functions-operation>button{margin:0 0 var(--margin-lg) var(--margin-base)}.univer-formula-function-params{margin-bottom:var(--margin-xs);font-size:var(--font-size-xxs)}.univer-formula-function-params-title{font-weight:500;color:rgb(var(--text-color-secondary))}.univer-formula-function-params-detail{font-weight:400;color:rgb(var(--text-color))}.univer-formula-input-params-list{overflow-y:auto;height:364px}.univer-formula-input-params-list-item-name{font-size:var(--font-size-sm)}.univer-formula-input-params-list-item-selector{margin:var(--margin-xxs) 0 var(--margin-xs) 0}.univer-formula-select-function-select{display:flex;gap:10%;align-items:center;justify-content:space-between}.univer-formula-select-function-result{user-select:none;overflow-y:auto;box-sizing:border-box;width:100%;height:364px;margin:0;margin-top:var(--margin-xs);padding:var(--padding-base);list-style:none;border:1px solid rgb(var(--border-color));border-radius:var(--border-radius-base);outline:none}.univer-formula-select-function-result-item{cursor:pointer;position:relative;box-sizing:border-box;padding:var(--padding-xs) 28px;font-size:var(--font-size-xs);color:rgb(var(--text-color));border-radius:var(--border-radius-base);transition:background .2s}.univer-formula-select-function-result-item>span{display:block}.univer-formula-select-function-result-item-name-light{color:rgb(var(--error-color))}.univer-formula-select-function-result-item-selected{position:absolute;top:50%;left:6px;transform:translateY(-50%);display:inline-flex;font-size:var(--font-size-lg);color:rgb(var(--success-color))}.univer-formula-select-function-result-item-active{background-color:rgb(var(--bg-color-hover))}.univer-formula-select-function-content{overflow-y:auto;max-height:307px;margin:var(--margin-xs) 0}
|
|
@@ -1,18 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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 { ICommand } from '@univerjs/core';
|
|
1
|
+
import { ICommand } from '@univerjs/core';
|
|
2
|
+
|
|
17
3
|
export declare const SPECIAL_PASTE_FORMULA = "special-paste-formula";
|
|
18
4
|
export declare const SheetOnlyPasteFormulaCommand: ICommand;
|
|
@@ -1,19 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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 { ICommand, IRange } from '@univerjs/core';
|
|
1
|
+
import { ICommand, IRange } from '@univerjs/core';
|
|
2
|
+
|
|
17
3
|
export interface IInsertFunction {
|
|
18
4
|
/**
|
|
19
5
|
* The range into which the function is to be inserted
|
|
@@ -1,30 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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 { IWorkbookData } from '@univerjs/core';
|
|
17
|
-
import { Univer } from '@univerjs/core';
|
|
18
|
-
import type { Dependency } from '@wendellhu/redi';
|
|
1
|
+
import { Dependency } from '@wendellhu/redi';
|
|
2
|
+
import { IWorkbookData, Univer } from '@univerjs/core';
|
|
3
|
+
|
|
19
4
|
export declare function createCommandTestBed(workbookConfig?: IWorkbookData, dependencies?: Dependency[]): {
|
|
20
5
|
univer: Univer;
|
|
21
6
|
get: {
|
|
22
|
-
<T>(id: import(
|
|
23
|
-
<T_1>(id: import(
|
|
24
|
-
<T_2>(id: import(
|
|
25
|
-
<T_3>(id: import(
|
|
26
|
-
<T_4>(id: import(
|
|
27
|
-
<T_5>(id: import(
|
|
7
|
+
<T>(id: import('@wendellhu/redi').DependencyIdentifier<T>, lookUp?: import('@wendellhu/redi').LookUp | undefined): T;
|
|
8
|
+
<T_1>(id: import('@wendellhu/redi').DependencyIdentifier<T_1>, quantity: import("@wendellhu/redi").Quantity.MANY, lookUp?: import('@wendellhu/redi').LookUp | undefined): T_1[];
|
|
9
|
+
<T_2>(id: import('@wendellhu/redi').DependencyIdentifier<T_2>, quantity: import("@wendellhu/redi").Quantity.OPTIONAL, lookUp?: import('@wendellhu/redi').LookUp | undefined): T_2 | null;
|
|
10
|
+
<T_3>(id: import('@wendellhu/redi').DependencyIdentifier<T_3>, quantity: import("@wendellhu/redi").Quantity.REQUIRED, lookUp?: import('@wendellhu/redi').LookUp | undefined): T_3;
|
|
11
|
+
<T_4>(id: import('@wendellhu/redi').DependencyIdentifier<T_4>, quantity?: import('@wendellhu/redi').Quantity | undefined, lookUp?: import('@wendellhu/redi').LookUp | undefined): T_4 | T_4[] | null;
|
|
12
|
+
<T_5>(id: import('@wendellhu/redi').DependencyIdentifier<T_5>, quantityOrLookup?: import('@wendellhu/redi').Quantity | import('@wendellhu/redi').LookUp | undefined, lookUp?: import('@wendellhu/redi').LookUp | undefined): T_5 | T_5[] | null;
|
|
28
13
|
};
|
|
29
|
-
sheet: import(
|
|
14
|
+
sheet: import('@univerjs/core').Workbook;
|
|
30
15
|
};
|
|
@@ -1,22 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
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 { IOperation } from '@univerjs/core';
|
|
17
|
-
import type { DeviceInputEventType } from '@univerjs/engine-render';
|
|
18
|
-
import type { KeyCode, MetaKeys } from '@univerjs/ui';
|
|
19
|
-
import type { META_KEY_CTRL_AND_SHIFT } from '../../common/prompt';
|
|
1
|
+
import { META_KEY_CTRL_AND_SHIFT } from '../../common/prompt';
|
|
2
|
+
import { KeyCode, MetaKeys } from '@univerjs/ui';
|
|
3
|
+
import { DeviceInputEventType } from '@univerjs/engine-render';
|
|
4
|
+
import { IOperation } from '@univerjs/core';
|
|
5
|
+
|
|
20
6
|
export interface ISelectEditorFormulaOperationParam {
|
|
21
7
|
eventType: DeviceInputEventType;
|
|
22
8
|
keycode?: KeyCode;
|
|
@@ -1,17 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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 { ICommand } from '@univerjs/core';
|
|
1
|
+
import { ICommand } from '@univerjs/core';
|
|
2
|
+
|
|
17
3
|
export declare const HelpFunctionOperation: ICommand;
|
|
@@ -1,19 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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 { ICellData, ICommand, IRange, Nullable } from '@univerjs/core';
|
|
1
|
+
import { ICellData, ICommand, IRange, Nullable } from '@univerjs/core';
|
|
2
|
+
|
|
17
3
|
export interface IInsertFunctionOperationParams {
|
|
18
4
|
/**
|
|
19
5
|
* function name
|
|
@@ -1,17 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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 { ICommand } from '@univerjs/core';
|
|
1
|
+
import { ICommand } from '@univerjs/core';
|
|
2
|
+
|
|
17
3
|
export declare const MoreFunctionsOperation: ICommand;
|
|
@@ -1,17 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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 { ICommand } from '@univerjs/core';
|
|
1
|
+
import { ICommand } from '@univerjs/core';
|
|
2
|
+
|
|
17
3
|
export declare const ReferenceAbsoluteOperation: ICommand;
|
|
@@ -1,17 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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 { ICommand } from '@univerjs/core';
|
|
1
|
+
import { ICommand } from '@univerjs/core';
|
|
2
|
+
|
|
17
3
|
export declare const SearchFunctionOperation: ICommand;
|
|
@@ -1,19 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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 ThemeService } from '@univerjs/core';
|
|
17
|
-
import type { ISelectionStyle } from '@univerjs/sheets';
|
|
1
|
+
import { ISelectionStyle } from '@univerjs/sheets';
|
|
2
|
+
import { ThemeService } from '@univerjs/core';
|
|
3
|
+
|
|
18
4
|
export declare const FORMULA_REF_SELECTION_PLUGIN_NAME = "formula_reference_selection_plugin_name";
|
|
19
5
|
export declare function getFormulaRefSelectionStyle(themeService: ThemeService, refColor: string, id: string): ISelectionStyle;
|
|
@@ -1,22 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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 { IWorkbookData, Workbook } from '@univerjs/core';
|
|
17
|
-
import { Univer } from '@univerjs/core';
|
|
18
|
-
import type { Dependency } from '@wendellhu/redi';
|
|
19
|
-
import { Injector } from '@wendellhu/redi';
|
|
1
|
+
import { Dependency, Injector } from '@wendellhu/redi';
|
|
2
|
+
import { IWorkbookData, Workbook, Univer } from '@univerjs/core';
|
|
3
|
+
|
|
20
4
|
export interface ITestBed {
|
|
21
5
|
univer: Univer;
|
|
22
6
|
get: Injector['get'];
|
|
@@ -1,28 +1,15 @@
|
|
|
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
|
-
*/
|
|
1
|
+
import { FormulaDataModel, IActiveDirtyManagerService, IDefinedNamesService } from '@univerjs/engine-formula';
|
|
16
2
|
import { Disposable, IUniverInstanceService } from '@univerjs/core';
|
|
17
|
-
|
|
18
|
-
import { IActiveDirtyManagerService } from '../services/active-dirty-manager.service';
|
|
3
|
+
|
|
19
4
|
export declare class ActiveDirtyController extends Disposable {
|
|
20
5
|
private readonly _activeDirtyManagerService;
|
|
21
6
|
private readonly _currentUniverService;
|
|
22
7
|
private readonly _formulaDataModel;
|
|
23
|
-
|
|
8
|
+
private readonly _definedNamesService;
|
|
9
|
+
constructor(_activeDirtyManagerService: IActiveDirtyManagerService, _currentUniverService: IUniverInstanceService, _formulaDataModel: FormulaDataModel, _definedNamesService: IDefinedNamesService);
|
|
24
10
|
private _initialize;
|
|
25
11
|
private _initialConversion;
|
|
12
|
+
private _getDefinedNameMutation;
|
|
26
13
|
private _getSetRangeValuesMutationDirtyRange;
|
|
27
14
|
private _getMoveRangeMutationDirtyRange;
|
|
28
15
|
private _getMoveRowsMutationDirtyRange;
|
|
@@ -1,21 +1,7 @@
|
|
|
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
|
-
import { Disposable, ICommandService, ThemeService } from '@univerjs/core';
|
|
17
|
-
import { FormulaDataModel } from '@univerjs/engine-formula';
|
|
18
1
|
import { SheetInterceptorService } from '@univerjs/sheets';
|
|
2
|
+
import { FormulaDataModel } from '@univerjs/engine-formula';
|
|
3
|
+
import { Disposable, ICommandService, ThemeService } from '@univerjs/core';
|
|
4
|
+
|
|
19
5
|
export declare class ArrayFormulaDisplayController extends Disposable {
|
|
20
6
|
private readonly _commandService;
|
|
21
7
|
private _sheetInterceptorService;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { IDescriptionService } from '../services/description.service';
|
|
2
|
+
import { IDefinedNamesService } from '@univerjs/engine-formula';
|
|
3
|
+
import { Disposable, ICommandService, IUniverInstanceService } from '@univerjs/core';
|
|
4
|
+
|
|
5
|
+
export declare const SCOPE_WORKBOOK_VALUE = "AllDefaultWorkbook";
|
|
6
|
+
/**
|
|
7
|
+
* header highlight
|
|
8
|
+
* column menu: show, hover and mousedown event
|
|
9
|
+
*/
|
|
10
|
+
export declare class DefinedNameController extends Disposable {
|
|
11
|
+
private readonly _descriptionService;
|
|
12
|
+
private readonly _definedNamesService;
|
|
13
|
+
private readonly _univerInstanceService;
|
|
14
|
+
private readonly _commandService;
|
|
15
|
+
private _preUnitId;
|
|
16
|
+
constructor(_descriptionService: IDescriptionService, _definedNamesService: IDefinedNamesService, _univerInstanceService: IUniverInstanceService, _commandService: ICommandService);
|
|
17
|
+
private _initialize;
|
|
18
|
+
private _descriptionListener;
|
|
19
|
+
private _changeUnitListener;
|
|
20
|
+
private _changeSheetListener;
|
|
21
|
+
private _registerDescription;
|
|
22
|
+
private _unregisterDescription;
|
|
23
|
+
private _unRegisterDescriptions;
|
|
24
|
+
private _getUnitIdAndSheetId;
|
|
25
|
+
private _registerDescriptions;
|
|
26
|
+
private _unregisterDescriptionsForNotInSheetId;
|
|
27
|
+
}
|
|
@@ -1,21 +1,7 @@
|
|
|
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
|
-
import { Disposable } from '@univerjs/core';
|
|
1
|
+
import { AutoFillService } from '@univerjs/sheets-ui';
|
|
17
2
|
import { LexerTreeBuilder } from '@univerjs/engine-formula';
|
|
18
|
-
import
|
|
3
|
+
import { Disposable } from '@univerjs/core';
|
|
4
|
+
|
|
19
5
|
export declare class FormulaAutoFillController extends Disposable {
|
|
20
6
|
private readonly _autoFillService;
|
|
21
7
|
private readonly _lexerTreeBuilder;
|
|
@@ -1,25 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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 { Disposable, IUniverInstanceService, ObjectMatrix } from '@univerjs/core';
|
|
1
|
+
import { IAccessor, Injector } from '@wendellhu/redi';
|
|
2
|
+
import { ICellDataWithSpanInfo, COPY_TYPE, ISheetClipboardService } from '@univerjs/sheets-ui';
|
|
18
3
|
import { LexerTreeBuilder } from '@univerjs/engine-formula';
|
|
19
|
-
import
|
|
20
|
-
|
|
21
|
-
import type { IAccessor } from '@wendellhu/redi';
|
|
22
|
-
import { Injector } from '@wendellhu/redi';
|
|
4
|
+
import { IMutationInfo, IRange, Disposable, IUniverInstanceService, ObjectMatrix } from '@univerjs/core';
|
|
5
|
+
|
|
23
6
|
export declare const DEFAULT_PASTE_FORMULA = "default-paste-formula";
|
|
24
7
|
export declare class FormulaClipboardController extends Disposable {
|
|
25
8
|
private readonly _currentUniverSheet;
|
|
@@ -31,6 +14,7 @@ export declare class FormulaClipboardController extends Disposable {
|
|
|
31
14
|
private _registerClipboardHook;
|
|
32
15
|
private _pasteFormulaHook;
|
|
33
16
|
private _pasteWithFormulaHook;
|
|
17
|
+
private _onPasteCells;
|
|
34
18
|
}
|
|
35
19
|
export declare function getSetCellFormulaMutations(unitId: string, subUnitId: string, range: IRange, matrix: ObjectMatrix<ICellDataWithSpanInfo>, accessor: IAccessor, copyInfo: {
|
|
36
20
|
copyType: COPY_TYPE;
|
|
@@ -1,23 +1,9 @@
|
|
|
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
|
-
import { Disposable, ICommandService, ThemeService } from '@univerjs/core';
|
|
17
|
-
import { FormulaDataModel, LexerTreeBuilder } from '@univerjs/engine-formula';
|
|
18
|
-
import { IRenderManagerService } from '@univerjs/engine-render';
|
|
19
|
-
import { SheetInterceptorService } from '@univerjs/sheets';
|
|
20
1
|
import { IEditorBridgeService, ISelectionRenderService, SheetSkeletonManagerService } from '@univerjs/sheets-ui';
|
|
2
|
+
import { SheetInterceptorService } from '@univerjs/sheets';
|
|
3
|
+
import { IRenderManagerService } from '@univerjs/engine-render';
|
|
4
|
+
import { FormulaDataModel, LexerTreeBuilder } from '@univerjs/engine-formula';
|
|
5
|
+
import { Disposable, ICommandService, ThemeService } from '@univerjs/core';
|
|
6
|
+
|
|
21
7
|
export declare class FormulaEditorShowController extends Disposable {
|
|
22
8
|
private _editorBridgeService;
|
|
23
9
|
private readonly _formulaDataModel;
|
|
@@ -1,22 +1,7 @@
|
|
|
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
|
-
import { Disposable, ICommandService } from '@univerjs/core';
|
|
17
|
-
import type { IDesktopUIController } from '@univerjs/ui';
|
|
18
|
-
import { ComponentManager, IMenuService, IShortcutService } from '@univerjs/ui';
|
|
19
1
|
import { Injector } from '@wendellhu/redi';
|
|
2
|
+
import { IDesktopUIController, ComponentManager, IMenuService, IShortcutService } from '@univerjs/ui';
|
|
3
|
+
import { Disposable, ICommandService } from '@univerjs/core';
|
|
4
|
+
|
|
20
5
|
export declare class FormulaUIController extends Disposable {
|
|
21
6
|
private readonly _injector;
|
|
22
7
|
private readonly _menuService;
|
|
@@ -1,20 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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 { IMenuItem } from '@univerjs/ui';
|
|
17
|
-
import type { IAccessor } from '@wendellhu/redi';
|
|
1
|
+
import { IAccessor } from '@wendellhu/redi';
|
|
2
|
+
import { IMenuItem } from '@univerjs/ui';
|
|
3
|
+
|
|
18
4
|
export declare function InsertFunctionMenuItemFactory(accessor: IAccessor): IMenuItem;
|
|
19
5
|
export declare function MoreFunctionsMenuItemFactory(): IMenuItem;
|
|
20
6
|
export declare function PasteFormulaMenuItemFactory(accessor: IAccessor): IMenuItem;
|
|
@@ -1,21 +1,7 @@
|
|
|
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
|
-
import { Disposable, ICommandService, ThemeService } from '@univerjs/core';
|
|
17
|
-
import { FormulaDataModel } from '@univerjs/engine-formula';
|
|
18
1
|
import { SheetInterceptorService } from '@univerjs/sheets';
|
|
2
|
+
import { FormulaDataModel } from '@univerjs/engine-formula';
|
|
3
|
+
import { Disposable, ICommandService, ThemeService } from '@univerjs/core';
|
|
4
|
+
|
|
19
5
|
export declare class NumfmtFormulaDisplayController extends Disposable {
|
|
20
6
|
private readonly _commandService;
|
|
21
7
|
private _sheetInterceptorService;
|
|
@@ -1,28 +1,13 @@
|
|
|
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
|
-
import { Disposable, ICommandService, IContextService, IUniverInstanceService, ThemeService } from '@univerjs/core';
|
|
17
|
-
import { DocViewModelManagerService, TextSelectionManagerService } from '@univerjs/docs';
|
|
18
|
-
import { LexerTreeBuilder } from '@univerjs/engine-formula';
|
|
19
|
-
import { IRenderManagerService, ITextSelectionRenderManager } from '@univerjs/engine-render';
|
|
20
|
-
import { SelectionManagerService } from '@univerjs/sheets';
|
|
21
|
-
import type { EditorBridgeService } from '@univerjs/sheets-ui';
|
|
22
|
-
import { ISelectionRenderService, SheetSkeletonManagerService } from '@univerjs/sheets-ui';
|
|
23
|
-
import { IContextMenuService, IEditorService } from '@univerjs/ui';
|
|
24
|
-
import { IDescriptionService } from '../services/description.service';
|
|
25
1
|
import { IFormulaPromptService } from '../services/prompt.service';
|
|
2
|
+
import { IDescriptionService } from '../services/description.service';
|
|
3
|
+
import { IContextMenuService, IEditorService } from '@univerjs/ui';
|
|
4
|
+
import { EditorBridgeService, ISelectionRenderService, SheetSkeletonManagerService } from '@univerjs/sheets-ui';
|
|
5
|
+
import { SelectionManagerService } from '@univerjs/sheets';
|
|
6
|
+
import { IRenderManagerService, ITextSelectionRenderManager } from '@univerjs/engine-render';
|
|
7
|
+
import { LexerTreeBuilder } from '@univerjs/engine-formula';
|
|
8
|
+
import { DocViewModelManagerService, TextSelectionManagerService } from '@univerjs/docs';
|
|
9
|
+
import { Disposable, ICommandService, IContextService, IUniverInstanceService, ThemeService } from '@univerjs/core';
|
|
10
|
+
|
|
26
11
|
export declare class PromptController extends Disposable {
|
|
27
12
|
private readonly _commandService;
|
|
28
13
|
private readonly _contextService;
|
|
@@ -54,7 +39,7 @@ export declare class PromptController extends Disposable {
|
|
|
54
39
|
private _inputPanelState;
|
|
55
40
|
private _userCursorMove;
|
|
56
41
|
private _previousEditorUnitId;
|
|
57
|
-
private
|
|
42
|
+
private _existsSequenceNode;
|
|
58
43
|
constructor(_commandService: ICommandService, _contextService: IContextService, _textSelectionRenderManager: ITextSelectionRenderManager, _editorBridgeService: EditorBridgeService, _formulaPromptService: IFormulaPromptService, _lexerTreeBuilder: LexerTreeBuilder, _renderManagerService: IRenderManagerService, _themeService: ThemeService, _selectionManagerService: SelectionManagerService, _sheetSkeletonManagerService: SheetSkeletonManagerService, _currentUniverService: IUniverInstanceService, _selectionRenderService: ISelectionRenderService, _descriptionService: IDescriptionService, _textSelectionManagerService: TextSelectionManagerService, _docViewModelManagerService: DocViewModelManagerService, _contextMenuService: IContextMenuService, _editorService: IEditorService);
|
|
59
44
|
dispose(): void;
|
|
60
45
|
private _resetTemp;
|
|
@@ -142,6 +127,16 @@ export declare class PromptController extends Disposable {
|
|
|
142
127
|
*/
|
|
143
128
|
private _updateEditorModel;
|
|
144
129
|
private _inertControlSelectionReplace;
|
|
130
|
+
/**
|
|
131
|
+
* pro/issues/450
|
|
132
|
+
* In range selection mode, certain measures are implemented to ensure that the selection behavior is processed correctly.
|
|
133
|
+
*/
|
|
134
|
+
private _focusIsOnlyRange;
|
|
135
|
+
/**
|
|
136
|
+
* pro/issues/450
|
|
137
|
+
* In range selection mode, certain measures are implemented to ensure that the selection behavior is processed correctly.
|
|
138
|
+
*/
|
|
139
|
+
private _resetSequenceNodes;
|
|
145
140
|
private _inertControlSelection;
|
|
146
141
|
private _updateRefSelectionStyle;
|
|
147
142
|
private _changeControlSelection;
|