mirror of
https://github.com/dream-num/univer.git
synced 2026-09-21 05:44:04 +08:00
ci: add no barrel import lint (#1857)
* ci: add no barrel import lint * fix: fix type error * chore: fix lint --------- Co-authored-by: 白熱 <sonne@asaki.me>
This commit is contained in:
@@ -25,7 +25,7 @@ jobs:
|
||||
uses: ./.github/actions/setup-node
|
||||
|
||||
- name: 🌡️ Run ESLint
|
||||
run: pnpm run lint
|
||||
run: pnpm lint --quiet
|
||||
|
||||
typecheck:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import antfu from '@antfu/eslint-config';
|
||||
import header from 'eslint-plugin-header';
|
||||
import barrel from 'eslint-plugin-no-barrel-import';
|
||||
import { baseRules, typescriptPreset } from '@univerjs/shared/eslint';
|
||||
|
||||
export default antfu({
|
||||
@@ -25,8 +26,10 @@ export default antfu({
|
||||
ignores: ['**/*.d.ts', '**/vite.config.ts', 'playwright.config.ts'],
|
||||
plugins: {
|
||||
header,
|
||||
barrel,
|
||||
},
|
||||
rules: {
|
||||
'barrel/no-barrel-import': 2,
|
||||
'header/header': [
|
||||
2,
|
||||
'block',
|
||||
|
||||
@@ -56,6 +56,7 @@
|
||||
"eslint": "^8.57.0",
|
||||
"eslint-plugin-format": "^0.1.0",
|
||||
"eslint-plugin-header": "^3.1.1",
|
||||
"eslint-plugin-no-barrel-import": "^0.0.2",
|
||||
"eslint-plugin-react": "^7.34.1",
|
||||
"eslint-plugin-react-hooks": "^4.6.0",
|
||||
"eslint-plugin-react-refresh": "^0.4.6",
|
||||
|
||||
+1
-1
@@ -18,7 +18,7 @@ import { describe, expect, it } from 'vitest';
|
||||
|
||||
import { ArrayValueObject, transformToValueObject } from '../array-value-object';
|
||||
import { NumberValueObject } from '../primitive-object';
|
||||
import { ErrorType } from '../../..';
|
||||
import { ErrorType } from '../../../basics/error-type';
|
||||
|
||||
describe('ArrayValueObject divided method test', () => {
|
||||
describe('Divided', () => {
|
||||
|
||||
@@ -18,7 +18,7 @@ import { describe, expect, it } from 'vitest';
|
||||
|
||||
import { ArrayValueObject, transformToValueObject } from '../array-value-object';
|
||||
import { NumberValueObject } from '../primitive-object';
|
||||
import { ErrorType } from '../../..';
|
||||
import { ErrorType } from '../../../basics/error-type';
|
||||
|
||||
describe('ArrayValueObject minus method test', () => {
|
||||
describe('Minus', () => {
|
||||
|
||||
+1
-1
@@ -18,7 +18,7 @@ import { describe, expect, it } from 'vitest';
|
||||
|
||||
import { ArrayValueObject, transformToValueObject } from '../array-value-object';
|
||||
import { NumberValueObject } from '../primitive-object';
|
||||
import { ErrorType } from '../../..';
|
||||
import { ErrorType } from '../../../basics/error-type';
|
||||
|
||||
describe('ArrayValueObject multiply method test', () => {
|
||||
describe('Multiply', () => {
|
||||
|
||||
@@ -18,7 +18,7 @@ import { describe, expect, it } from 'vitest';
|
||||
|
||||
import { ArrayValueObject, transformToValueObject } from '../array-value-object';
|
||||
import { NumberValueObject } from '../primitive-object';
|
||||
import { ErrorType } from '../../..';
|
||||
import { ErrorType } from '../../../basics/error-type';
|
||||
|
||||
describe('ArrayValueObject plus method test', () => {
|
||||
describe('Plus', () => {
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
import { describe, expect, it } from 'vitest';
|
||||
|
||||
import { FUNCTION_NAMES_DATE } from '../../function-names';
|
||||
import { DateFunction } from '..';
|
||||
import { DateFunction } from '../index';
|
||||
import { NumberValueObject } from '../../../../engine/value-object/primitive-object';
|
||||
import { ArrayValueObject, transformToValue, transformToValueObject } from '../../../../engine/value-object/array-value-object';
|
||||
import { ErrorType } from '../../../../basics/error-type';
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
import { describe, expect, it } from 'vitest';
|
||||
|
||||
import { FUNCTION_NAMES_DATE } from '../../function-names';
|
||||
import { Day } from '..';
|
||||
import { Day } from '../index';
|
||||
import { NumberValueObject, StringValueObject } from '../../../../engine/value-object/primitive-object';
|
||||
import { ArrayValueObject, transformToValue, transformToValueObject } from '../../../../engine/value-object/array-value-object';
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
import { describe, expect, it } from 'vitest';
|
||||
|
||||
import { FUNCTION_NAMES_DATE } from '../../function-names';
|
||||
import { Edate } from '..';
|
||||
import { Edate } from '../index';
|
||||
import { NumberValueObject } from '../../../../engine/value-object/primitive-object';
|
||||
import { ArrayValueObject, transformToValue, transformToValueObject } from '../../../../engine/value-object/array-value-object';
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
import { describe, expect, it } from 'vitest';
|
||||
|
||||
import { FUNCTION_NAMES_DATE } from '../../function-names';
|
||||
import { Month } from '..';
|
||||
import { Month } from '../index';
|
||||
import { NumberValueObject, StringValueObject } from '../../../../engine/value-object/primitive-object';
|
||||
import { ArrayValueObject, transformToValue, transformToValueObject } from '../../../../engine/value-object/array-value-object';
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
import { describe, expect, it, vi } from 'vitest';
|
||||
|
||||
import { FUNCTION_NAMES_DATE } from '../../function-names';
|
||||
import { Today } from '..';
|
||||
import { Today } from '../index';
|
||||
import { NumberValueObject } from '../../../../engine/value-object/primitive-object';
|
||||
import { ErrorType } from '../../../../basics/error-type';
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
import { describe, expect, it } from 'vitest';
|
||||
|
||||
import { FUNCTION_NAMES_DATE } from '../../function-names';
|
||||
import { Year } from '..';
|
||||
import { Year } from '../index';
|
||||
import { NumberValueObject, StringValueObject } from '../../../../engine/value-object/primitive-object';
|
||||
import { ArrayValueObject, transformToValue, transformToValueObject } from '../../../../engine/value-object/array-value-object';
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ import { BooleanValueObject, NullValueObject, NumberValueObject, StringValueObje
|
||||
import { ArrayValueObject, transformToValue, transformToValueObject } from '../../../../engine/value-object/array-value-object';
|
||||
import { ErrorValueObject } from '../../../../engine/value-object/base-value-object';
|
||||
import { ErrorType } from '../../../../basics/error-type';
|
||||
import { Isblank } from '..';
|
||||
import { Isblank } from '../index';
|
||||
|
||||
describe('Test isblank function', () => {
|
||||
const textFunction = new Isblank(FUNCTION_NAMES_INFORMATION.ISBLANK);
|
||||
|
||||
@@ -20,7 +20,7 @@ import { FUNCTION_NAMES_INFORMATION } from '../../function-names';
|
||||
import { ArrayValueObject, transformToValue, transformToValueObject } from '../../../../engine/value-object/array-value-object';
|
||||
import { ErrorValueObject } from '../../../../engine/value-object/base-value-object';
|
||||
import { ErrorType } from '../../../../basics/error-type';
|
||||
import { Iserr } from '..';
|
||||
import { Iserr } from '../index';
|
||||
|
||||
describe('Test iserr function', () => {
|
||||
const textFunction = new Iserr(FUNCTION_NAMES_INFORMATION.ISERR);
|
||||
|
||||
@@ -20,7 +20,7 @@ import { FUNCTION_NAMES_INFORMATION } from '../../function-names';
|
||||
import { ArrayValueObject, transformToValue, transformToValueObject } from '../../../../engine/value-object/array-value-object';
|
||||
import { ErrorValueObject } from '../../../../engine/value-object/base-value-object';
|
||||
import { ErrorType } from '../../../../basics/error-type';
|
||||
import { Iserror } from '..';
|
||||
import { Iserror } from '../index';
|
||||
|
||||
describe('Test iserror function', () => {
|
||||
const textFunction = new Iserror(FUNCTION_NAMES_INFORMATION.ISERROR);
|
||||
|
||||
@@ -19,7 +19,7 @@ import { describe, expect, it } from 'vitest';
|
||||
import { FUNCTION_NAMES_INFORMATION } from '../../function-names';
|
||||
import { ArrayValueObject, transformToValue, transformToValueObject } from '../../../../engine/value-object/array-value-object';
|
||||
import { ErrorType } from '../../../../basics/error-type';
|
||||
import { Islogical } from '..';
|
||||
import { Islogical } from '../index';
|
||||
import { BooleanValueObject } from '../../../../engine/value-object/primitive-object';
|
||||
|
||||
describe('Test islogical function', () => {
|
||||
|
||||
@@ -20,7 +20,7 @@ import { FUNCTION_NAMES_INFORMATION } from '../../function-names';
|
||||
import { ArrayValueObject, transformToValue, transformToValueObject } from '../../../../engine/value-object/array-value-object';
|
||||
import { ErrorValueObject } from '../../../../engine/value-object/base-value-object';
|
||||
import { ErrorType } from '../../../../basics/error-type';
|
||||
import { Isna } from '..';
|
||||
import { Isna } from '../index';
|
||||
|
||||
describe('Test isna function', () => {
|
||||
const textFunction = new Isna(FUNCTION_NAMES_INFORMATION.ISNA);
|
||||
|
||||
@@ -19,7 +19,7 @@ import { describe, expect, it } from 'vitest';
|
||||
import { FUNCTION_NAMES_INFORMATION } from '../../function-names';
|
||||
import { ArrayValueObject, transformToValue, transformToValueObject } from '../../../../engine/value-object/array-value-object';
|
||||
import { ErrorType } from '../../../../basics/error-type';
|
||||
import { Isnontext } from '..';
|
||||
import { Isnontext } from '../index';
|
||||
import { StringValueObject } from '../../../../engine/value-object/primitive-object';
|
||||
|
||||
describe('Test isnontext function', () => {
|
||||
|
||||
@@ -19,7 +19,7 @@ import { describe, expect, it } from 'vitest';
|
||||
import { FUNCTION_NAMES_INFORMATION } from '../../function-names';
|
||||
import { ArrayValueObject, transformToValue, transformToValueObject } from '../../../../engine/value-object/array-value-object';
|
||||
import { ErrorType } from '../../../../basics/error-type';
|
||||
import { Isnumber } from '..';
|
||||
import { Isnumber } from '../index';
|
||||
import { NumberValueObject } from '../../../../engine/value-object/primitive-object';
|
||||
|
||||
describe('Test isnumber function', () => {
|
||||
|
||||
@@ -31,7 +31,7 @@ import { createFunctionTestBed } from '../../../__tests__/create-function-test-b
|
||||
import { FUNCTION_NAMES_INFORMATION } from '../../function-names';
|
||||
import type { BaseValueObject, ErrorValueObject } from '../../../../engine/value-object/base-value-object';
|
||||
import type { ArrayValueObject } from '../../../../engine/value-object/array-value-object';
|
||||
import { Isref } from '..';
|
||||
import { Isref } from '../index';
|
||||
|
||||
const getTestWorkbookData = (): IWorkbookData => {
|
||||
return {
|
||||
|
||||
@@ -14,9 +14,9 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { BooleanValueObject } from '../../..';
|
||||
import { ErrorType } from '../../../basics/error-type';
|
||||
import { type BaseValueObject, ErrorValueObject } from '../../../engine/value-object/base-value-object';
|
||||
import { BooleanValueObject } from '../../../engine/value-object/primitive-object';
|
||||
import { BaseFunction } from '../../base-function';
|
||||
|
||||
export class Isref extends BaseFunction {
|
||||
|
||||
@@ -19,7 +19,7 @@ import { describe, expect, it } from 'vitest';
|
||||
import { FUNCTION_NAMES_INFORMATION } from '../../function-names';
|
||||
import { ArrayValueObject, transformToValue, transformToValueObject } from '../../../../engine/value-object/array-value-object';
|
||||
import { ErrorType } from '../../../../basics/error-type';
|
||||
import { Istext } from '..';
|
||||
import { Istext } from '../index';
|
||||
import { StringValueObject } from '../../../../engine/value-object/primitive-object';
|
||||
|
||||
describe('Test istext function', () => {
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
import { describe, expect, it } from 'vitest';
|
||||
|
||||
import { FUNCTION_NAMES_LOGICAL } from '../../function-names';
|
||||
import { And } from '..';
|
||||
import { And } from '../index';
|
||||
import { ArrayValueObject, transformToValueObject } from '../../../../engine/value-object/array-value-object';
|
||||
import { BooleanValueObject, NullValueObject, NumberValueObject, StringValueObject } from '../../../../engine/value-object/primitive-object';
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
import { describe, expect, it } from 'vitest';
|
||||
|
||||
import { FUNCTION_NAMES_LOGICAL } from '../../function-names';
|
||||
import { If } from '..';
|
||||
import { If } from '../index';
|
||||
import { ArrayValueObject, transformToValue, transformToValueObject } from '../../../../engine/value-object/array-value-object';
|
||||
import { BooleanValueObject, NumberValueObject, StringValueObject } from '../../../../engine/value-object/primitive-object';
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
import { describe, expect, it } from 'vitest';
|
||||
|
||||
import { FUNCTION_NAMES_LOGICAL } from '../../function-names';
|
||||
import { Iferror } from '..';
|
||||
import { Iferror } from '../index';
|
||||
import { ArrayValueObject, transformToValue, transformToValueObject } from '../../../../engine/value-object/array-value-object';
|
||||
import { NumberValueObject, StringValueObject } from '../../../../engine/value-object/primitive-object';
|
||||
import { ErrorValueObject } from '../../../../engine/value-object/base-value-object';
|
||||
|
||||
@@ -29,7 +29,7 @@ import { FUNCTION_NAMES_META } from '../../../meta/function-names';
|
||||
import { Multiply } from '../../../meta/multiply';
|
||||
import { FUNCTION_NAMES_LOGICAL } from '../../function-names';
|
||||
import { Lambda } from '../../lambda';
|
||||
import { Makearray } from '..';
|
||||
import { Makearray } from '../index';
|
||||
import type { BaseValueObject } from '../../../../engine/value-object/base-value-object';
|
||||
|
||||
describe('Test makearray', () => {
|
||||
|
||||
@@ -17,10 +17,10 @@
|
||||
import { describe, expect, it } from 'vitest';
|
||||
|
||||
import { FUNCTION_NAMES_LOGICAL } from '../../function-names';
|
||||
import { Or } from '..';
|
||||
import { ArrayValueObject, transformToValueObject } from '../../../../engine/value-object/array-value-object';
|
||||
import { BooleanValueObject, NullValueObject, NumberValueObject, StringValueObject } from '../../../../engine/value-object/primitive-object';
|
||||
import { ErrorType } from '../../../..';
|
||||
import { ErrorType } from '../../../../basics/error-type';
|
||||
import { Or } from '../index';
|
||||
|
||||
describe('Test or function', () => {
|
||||
const textFunction = new Or(FUNCTION_NAMES_LOGICAL.OR);
|
||||
|
||||
@@ -24,7 +24,7 @@ import {
|
||||
StringValueObject,
|
||||
} from '../../../../engine/value-object/primitive-object';
|
||||
import { FUNCTION_NAMES_LOOKUP } from '../../function-names';
|
||||
import { Address } from '..';
|
||||
import { Address } from '../index';
|
||||
|
||||
describe('Test address', () => {
|
||||
const textFunction = new Address(FUNCTION_NAMES_LOOKUP.ADDRESS);
|
||||
|
||||
@@ -27,7 +27,7 @@ import { IFunctionService } from '../../../../services/function.service';
|
||||
import { IFormulaRuntimeService } from '../../../../services/runtime.service';
|
||||
import { createFunctionTestBed } from '../../../__tests__/create-function-test-bed';
|
||||
import { FUNCTION_NAMES_LOOKUP } from '../../function-names';
|
||||
import { Column } from '..';
|
||||
import { Column } from '../index';
|
||||
import type { BaseValueObject, ErrorValueObject } from '../../../../engine/value-object/base-value-object';
|
||||
import { ErrorType } from '../../../../basics/error-type';
|
||||
import type { ArrayValueObject } from '../../../../engine/value-object/array-value-object';
|
||||
|
||||
@@ -27,7 +27,7 @@ import { IFunctionService } from '../../../../services/function.service';
|
||||
import { IFormulaRuntimeService } from '../../../../services/runtime.service';
|
||||
import { createFunctionTestBed } from '../../../__tests__/create-function-test-bed';
|
||||
import { FUNCTION_NAMES_LOOKUP } from '../../function-names';
|
||||
import { Columns } from '..';
|
||||
import { Columns } from '../index';
|
||||
import type { BaseValueObject, ErrorValueObject } from '../../../../engine/value-object/base-value-object';
|
||||
import { ErrorType } from '../../../../basics/error-type';
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ import { ArrayValueObject } from '../../../../engine/value-object/array-value-ob
|
||||
import type { BaseValueObject } from '../../../../engine/value-object/base-value-object';
|
||||
import { NumberValueObject } from '../../../../engine/value-object/primitive-object';
|
||||
import { FUNCTION_NAMES_LOOKUP } from '../../function-names';
|
||||
import { Hlookup } from '..';
|
||||
import { Hlookup } from '../index';
|
||||
|
||||
const arrayValueObject1 = ArrayValueObject.create(/*ts*/ `{
|
||||
1,2,3,4,5,6,7,8;
|
||||
|
||||
@@ -29,7 +29,7 @@ import { IFunctionService } from '../../../../services/function.service';
|
||||
import { IFormulaRuntimeService } from '../../../../services/runtime.service';
|
||||
import { createFunctionTestBed, getObjectValue } from '../../../__tests__/create-function-test-bed';
|
||||
import { FUNCTION_NAMES_LOOKUP } from '../../function-names';
|
||||
import { Index } from '..';
|
||||
import { Index } from '../index';
|
||||
import { ErrorType } from '../../../../basics/error-type';
|
||||
|
||||
const getTestWorkbookData = (): IWorkbookData => {
|
||||
|
||||
@@ -32,7 +32,7 @@ import { createFunctionTestBed } from '../../../__tests__/create-function-test-b
|
||||
import { FUNCTION_NAMES_META } from '../../../meta/function-names';
|
||||
import { Multiply } from '../../../meta/multiply';
|
||||
import { FUNCTION_NAMES_LOOKUP } from '../../function-names';
|
||||
import { Indirect } from '..';
|
||||
import { Indirect } from '../index';
|
||||
|
||||
describe('Test indirect', () => {
|
||||
// const textFunction = new Makearray(FUNCTION_NAMES_LOGICAL.MAKEARRAY);
|
||||
|
||||
@@ -21,7 +21,7 @@ import { ArrayValueObject } from '../../../../engine/value-object/array-value-ob
|
||||
import type { BaseValueObject } from '../../../../engine/value-object/base-value-object';
|
||||
import { NumberValueObject, StringValueObject } from '../../../../engine/value-object/primitive-object';
|
||||
import { FUNCTION_NAMES_LOOKUP } from '../../function-names';
|
||||
import { Lookup } from '..';
|
||||
import { Lookup } from '../index';
|
||||
|
||||
const arrayValueObject1 = ArrayValueObject.create(/*ts*/ `{
|
||||
1, "First";
|
||||
|
||||
@@ -21,7 +21,7 @@ import {
|
||||
NumberValueObject,
|
||||
} from '../../../../engine/value-object/primitive-object';
|
||||
import { FUNCTION_NAMES_LOOKUP } from '../../function-names';
|
||||
import { Match } from '..';
|
||||
import { Match } from '../index';
|
||||
import { ErrorType } from '../../../../basics/error-type';
|
||||
|
||||
describe('Test match', () => {
|
||||
|
||||
@@ -29,7 +29,7 @@ import { IFunctionService } from '../../../../services/function.service';
|
||||
import { IFormulaRuntimeService } from '../../../../services/runtime.service';
|
||||
import { createFunctionTestBed, getObjectValue } from '../../../__tests__/create-function-test-bed';
|
||||
import { FUNCTION_NAMES_LOOKUP } from '../../function-names';
|
||||
import { Offset } from '..';
|
||||
import { Offset } from '../index';
|
||||
import { ErrorType } from '../../../../basics/error-type';
|
||||
|
||||
const getTestWorkbookData = (): IWorkbookData => {
|
||||
|
||||
@@ -27,7 +27,7 @@ import { IFunctionService } from '../../../../services/function.service';
|
||||
import { IFormulaRuntimeService } from '../../../../services/runtime.service';
|
||||
import { createFunctionTestBed } from '../../../__tests__/create-function-test-bed';
|
||||
import { FUNCTION_NAMES_LOOKUP } from '../../function-names';
|
||||
import { Row } from '..';
|
||||
import { Row } from '../index';
|
||||
import type { BaseValueObject, ErrorValueObject } from '../../../../engine/value-object/base-value-object';
|
||||
import type { ArrayValueObject } from '../../../../engine/value-object/array-value-object';
|
||||
import { ErrorType } from '../../../../basics/error-type';
|
||||
|
||||
@@ -27,7 +27,7 @@ import { IFunctionService } from '../../../../services/function.service';
|
||||
import { IFormulaRuntimeService } from '../../../../services/runtime.service';
|
||||
import { createFunctionTestBed } from '../../../__tests__/create-function-test-bed';
|
||||
import { FUNCTION_NAMES_LOOKUP } from '../../function-names';
|
||||
import { Rows } from '..';
|
||||
import { Rows } from '../index';
|
||||
import type { BaseValueObject, ErrorValueObject } from '../../../../engine/value-object/base-value-object';
|
||||
import { ErrorType } from '../../../../basics/error-type';
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ import { ArrayValueObject } from '../../../../engine/value-object/array-value-ob
|
||||
import type { BaseValueObject } from '../../../../engine/value-object/base-value-object';
|
||||
import { NumberValueObject, StringValueObject } from '../../../../engine/value-object/primitive-object';
|
||||
import { FUNCTION_NAMES_LOOKUP } from '../../function-names';
|
||||
import { Vlookup } from '..';
|
||||
import { Vlookup } from '../index';
|
||||
import { getObjectValue } from '../../../__tests__/create-function-test-bed';
|
||||
|
||||
const arrayValueObject1 = ArrayValueObject.create(/*ts*/ `{
|
||||
|
||||
@@ -24,7 +24,7 @@ import {
|
||||
StringValueObject,
|
||||
} from '../../../../engine/value-object/primitive-object';
|
||||
import { FUNCTION_NAMES_LOOKUP } from '../../function-names';
|
||||
import { Xlookup } from '..';
|
||||
import { Xlookup } from '../index';
|
||||
|
||||
const arrayValueObject1 = ArrayValueObject.create(/*ts*/ `{
|
||||
1, "First", 100, 89;
|
||||
|
||||
@@ -19,7 +19,7 @@ import { describe, expect, it } from 'vitest';
|
||||
import { ArrayValueObject } from '../../../../engine/value-object/array-value-object';
|
||||
|
||||
import { FUNCTION_NAMES_LOOKUP } from '../../function-names';
|
||||
import { Xmatch } from '..';
|
||||
import { Xmatch } from '../index';
|
||||
import { NumberValueObject, StringValueObject } from '../../../../engine/value-object/primitive-object';
|
||||
|
||||
const arrayValueObject1 = ArrayValueObject.create(/*ts*/ `{
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
import { describe, expect, it } from 'vitest';
|
||||
|
||||
import { FUNCTION_NAMES_MATH } from '../../function-names';
|
||||
import { Abs } from '..';
|
||||
import { Abs } from '../index';
|
||||
import { NumberValueObject, StringValueObject } from '../../../../engine/value-object/primitive-object';
|
||||
import { ArrayValueObject, transformToValue, transformToValueObject } from '../../../../engine/value-object/array-value-object';
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
import { describe, expect, it } from 'vitest';
|
||||
|
||||
import { FUNCTION_NAMES_MATH } from '../../function-names';
|
||||
import { Acos } from '..';
|
||||
import { Acos } from '../index';
|
||||
import { NumberValueObject, StringValueObject } from '../../../../engine/value-object/primitive-object';
|
||||
import { ArrayValueObject, transformToValue, transformToValueObject } from '../../../../engine/value-object/array-value-object';
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
import { describe, expect, it } from 'vitest';
|
||||
|
||||
import { FUNCTION_NAMES_MATH } from '../../function-names';
|
||||
import { Acosh } from '..';
|
||||
import { Acosh } from '../index';
|
||||
import { NumberValueObject, StringValueObject } from '../../../../engine/value-object/primitive-object';
|
||||
import { ArrayValueObject, transformToValue, transformToValueObject } from '../../../../engine/value-object/array-value-object';
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
import { describe, expect, it } from 'vitest';
|
||||
|
||||
import { FUNCTION_NAMES_MATH } from '../../function-names';
|
||||
import { Acot } from '..';
|
||||
import { Acot } from '../index';
|
||||
import { NumberValueObject, StringValueObject } from '../../../../engine/value-object/primitive-object';
|
||||
import { ArrayValueObject, transformToValue, transformToValueObject } from '../../../../engine/value-object/array-value-object';
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
import { describe, expect, it } from 'vitest';
|
||||
|
||||
import { FUNCTION_NAMES_MATH } from '../../function-names';
|
||||
import { Mod } from '..';
|
||||
import { Mod } from '../index';
|
||||
import { NumberValueObject, StringValueObject } from '../../../../engine/value-object/primitive-object';
|
||||
import { ArrayValueObject, transformToValue, transformToValueObject } from '../../../../engine/value-object/array-value-object';
|
||||
import { ErrorType } from '../../../../basics/error-type';
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
import { describe, expect, it } from 'vitest';
|
||||
|
||||
import { FUNCTION_NAMES_MATH } from '../../function-names';
|
||||
import { Power } from '..';
|
||||
import { Power } from '../index';
|
||||
import { NumberValueObject, StringValueObject } from '../../../../engine/value-object/primitive-object';
|
||||
import { ArrayValueObject, transformToValue, transformToValueObject } from '../../../../engine/value-object/array-value-object';
|
||||
import { ErrorType } from '../../../../basics/error-type';
|
||||
|
||||
@@ -17,11 +17,11 @@
|
||||
import { describe, expect, it } from 'vitest';
|
||||
|
||||
import { FUNCTION_NAMES_MATH } from '../../function-names';
|
||||
import { Product } from '..';
|
||||
import { BooleanValueObject, NullValueObject, NumberValueObject, StringValueObject } from '../../../../engine/value-object/primitive-object';
|
||||
import { ArrayValueObject, transformToValueObject } from '../../../../engine/value-object/array-value-object';
|
||||
import { ErrorType } from '../../../../basics/error-type';
|
||||
import { ErrorValueObject } from '../../../..';
|
||||
import { Product } from '../index';
|
||||
import { ErrorValueObject } from '../../../../engine/value-object/base-value-object';
|
||||
|
||||
describe('Test product function', () => {
|
||||
const textFunction = new Product(FUNCTION_NAMES_MATH.PRODUCT);
|
||||
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import type { ArrayValueObject } from '../../..';
|
||||
import { ErrorType } from '../../../basics/error-type';
|
||||
import type { ArrayValueObject } from '../../../engine/value-object/array-value-object';
|
||||
import { type BaseValueObject, ErrorValueObject } from '../../../engine/value-object/base-value-object';
|
||||
import { NumberValueObject } from '../../../engine/value-object/primitive-object';
|
||||
import { BaseFunction } from '../../base-function';
|
||||
|
||||
@@ -29,7 +29,7 @@ import { IFunctionService } from '../../../../services/function.service';
|
||||
import { IFormulaRuntimeService } from '../../../../services/runtime.service';
|
||||
import { createFunctionTestBed } from '../../../__tests__/create-function-test-bed';
|
||||
import { FUNCTION_NAMES_MATH } from '../../function-names';
|
||||
import { Subtotal } from '..';
|
||||
import { Subtotal } from '../index';
|
||||
import type { BaseValueObject, ErrorValueObject } from '../../../../engine/value-object/base-value-object';
|
||||
import { ErrorType } from '../../../../basics/error-type';
|
||||
import type { ArrayValueObject } from '../../../../engine/value-object/array-value-object';
|
||||
|
||||
@@ -22,7 +22,7 @@ import { type BaseValueObject, ErrorValueObject } from '../../../engine/value-ob
|
||||
import { BaseFunction } from '../../base-function';
|
||||
import { createNewArray } from '../../../engine/utils/array-object';
|
||||
import { NumberValueObject } from '../../../engine/value-object/primitive-object';
|
||||
import type { ArrayValueObject } from '../../..';
|
||||
import type { ArrayValueObject } from '../../../engine/value-object/array-value-object';
|
||||
|
||||
enum FunctionNum {
|
||||
AVERAGE = 1,
|
||||
|
||||
@@ -17,11 +17,11 @@
|
||||
import { describe, expect, it } from 'vitest';
|
||||
|
||||
import { FUNCTION_NAMES_MATH } from '../../function-names';
|
||||
import { Sum } from '..';
|
||||
import { Sum } from '../index';
|
||||
import { BooleanValueObject, NullValueObject, NumberValueObject, StringValueObject } from '../../../../engine/value-object/primitive-object';
|
||||
import { ArrayValueObject, transformToValueObject } from '../../../../engine/value-object/array-value-object';
|
||||
import { ErrorType } from '../../../../basics/error-type';
|
||||
import { ErrorValueObject } from '../../../..';
|
||||
import { ErrorValueObject } from '../../../../engine/value-object/base-value-object';
|
||||
|
||||
describe('Test sum function', () => {
|
||||
const textFunction = new Sum(FUNCTION_NAMES_MATH.SUM);
|
||||
|
||||
@@ -18,7 +18,7 @@ import { describe, expect, it } from 'vitest';
|
||||
|
||||
import { ArrayValueObject, transformToValue } from '../../../../engine/value-object/array-value-object';
|
||||
import { FUNCTION_NAMES_MATH } from '../../function-names';
|
||||
import { Sumif } from '..';
|
||||
import { Sumif } from '../index';
|
||||
import { StringValueObject } from '../../../../engine/value-object/primitive-object';
|
||||
|
||||
describe('Test sumif function', () => {
|
||||
|
||||
@@ -18,7 +18,7 @@ import { describe, expect, it } from 'vitest';
|
||||
|
||||
import { ArrayValueObject, transformToValue } from '../../../../engine/value-object/array-value-object';
|
||||
import { FUNCTION_NAMES_MATH } from '../../function-names';
|
||||
import { Sumifs } from '..';
|
||||
import { Sumifs } from '../index';
|
||||
import { NumberValueObject, StringValueObject } from '../../../../engine/value-object/primitive-object';
|
||||
|
||||
describe('Test sumifs function', () => {
|
||||
|
||||
@@ -17,11 +17,11 @@
|
||||
import { describe, expect, it } from 'vitest';
|
||||
|
||||
import { FUNCTION_NAMES_STATISTICAL } from '../../function-names';
|
||||
import { Average } from '..';
|
||||
import { Average } from '../index';
|
||||
import { BooleanValueObject, NullValueObject, NumberValueObject, StringValueObject } from '../../../../engine/value-object/primitive-object';
|
||||
import { ArrayValueObject, transformToValueObject } from '../../../../engine/value-object/array-value-object';
|
||||
import { ErrorType } from '../../../../basics/error-type';
|
||||
import { ErrorValueObject } from '../../../..';
|
||||
import { ErrorValueObject } from '../../../../engine/value-object/base-value-object';
|
||||
|
||||
describe('Test average function', () => {
|
||||
const textFunction = new Average(FUNCTION_NAMES_STATISTICAL.AVERAGE);
|
||||
|
||||
@@ -17,11 +17,11 @@
|
||||
import { describe, expect, it } from 'vitest';
|
||||
|
||||
import { FUNCTION_NAMES_STATISTICAL } from '../../function-names';
|
||||
import { Count } from '..';
|
||||
import { Count } from '../index';
|
||||
import { BooleanValueObject, NullValueObject, NumberValueObject, StringValueObject } from '../../../../engine/value-object/primitive-object';
|
||||
import { ArrayValueObject, transformToValueObject } from '../../../../engine/value-object/array-value-object';
|
||||
import { ErrorType } from '../../../../basics/error-type';
|
||||
import { ErrorValueObject } from '../../../..';
|
||||
import { ErrorValueObject } from '../../../../engine/value-object/base-value-object';
|
||||
|
||||
describe('Test count function', () => {
|
||||
const textFunction = new Count(FUNCTION_NAMES_STATISTICAL.COUNT);
|
||||
|
||||
@@ -17,11 +17,11 @@
|
||||
import { describe, expect, it } from 'vitest';
|
||||
|
||||
import { FUNCTION_NAMES_STATISTICAL } from '../../function-names';
|
||||
import { Counta } from '..';
|
||||
import { Counta } from '../index';
|
||||
import { BooleanValueObject, NullValueObject, NumberValueObject, StringValueObject } from '../../../../engine/value-object/primitive-object';
|
||||
import { ArrayValueObject, transformToValueObject } from '../../../../engine/value-object/array-value-object';
|
||||
import { ErrorType } from '../../../../basics/error-type';
|
||||
import { ErrorValueObject } from '../../../..';
|
||||
import { ErrorValueObject } from '../../../../engine/value-object/base-value-object';
|
||||
|
||||
describe('Test counta function', () => {
|
||||
const textFunction = new Counta(FUNCTION_NAMES_STATISTICAL.COUNTA);
|
||||
|
||||
@@ -17,11 +17,11 @@
|
||||
import { describe, expect, it } from 'vitest';
|
||||
|
||||
import { FUNCTION_NAMES_STATISTICAL } from '../../function-names';
|
||||
import { Max } from '..';
|
||||
import { Max } from '../index';
|
||||
import { BooleanValueObject, NullValueObject, NumberValueObject, StringValueObject } from '../../../../engine/value-object/primitive-object';
|
||||
import { ArrayValueObject, transformToValueObject } from '../../../../engine/value-object/array-value-object';
|
||||
import { ErrorType } from '../../../../basics/error-type';
|
||||
import { ErrorValueObject } from '../../../..';
|
||||
import { ErrorValueObject } from '../../../../engine/value-object/base-value-object';
|
||||
|
||||
describe('Test max function', () => {
|
||||
const textFunction = new Max(FUNCTION_NAMES_STATISTICAL.MAX);
|
||||
|
||||
@@ -17,11 +17,11 @@
|
||||
import { describe, expect, it } from 'vitest';
|
||||
|
||||
import { FUNCTION_NAMES_STATISTICAL } from '../../function-names';
|
||||
import { Min } from '..';
|
||||
import { Min } from '../index';
|
||||
import { BooleanValueObject, NullValueObject, NumberValueObject, StringValueObject } from '../../../../engine/value-object/primitive-object';
|
||||
import { ArrayValueObject, transformToValueObject } from '../../../../engine/value-object/array-value-object';
|
||||
import { ErrorType } from '../../../../basics/error-type';
|
||||
import { ErrorValueObject } from '../../../..';
|
||||
import { ErrorValueObject } from '../../../../engine/value-object/base-value-object';
|
||||
|
||||
describe('Test min function', () => {
|
||||
const textFunction = new Min(FUNCTION_NAMES_STATISTICAL.MIN);
|
||||
|
||||
@@ -17,11 +17,11 @@
|
||||
import { describe, expect, it } from 'vitest';
|
||||
|
||||
import { FUNCTION_NAMES_STATISTICAL } from '../../function-names';
|
||||
import { StdevP } from '..';
|
||||
import { StdevP } from '../index';
|
||||
import { BooleanValueObject, NullValueObject, NumberValueObject, StringValueObject } from '../../../../engine/value-object/primitive-object';
|
||||
import { ArrayValueObject, transformToValueObject } from '../../../../engine/value-object/array-value-object';
|
||||
import { ErrorType } from '../../../../basics/error-type';
|
||||
import { ErrorValueObject } from '../../../..';
|
||||
import { ErrorValueObject } from '../../../../engine/value-object/base-value-object';
|
||||
|
||||
describe('Test stdev.p function', () => {
|
||||
const textFunction = new StdevP(FUNCTION_NAMES_STATISTICAL.STDEV_P);
|
||||
|
||||
@@ -17,11 +17,11 @@
|
||||
import { describe, expect, it } from 'vitest';
|
||||
|
||||
import { FUNCTION_NAMES_STATISTICAL } from '../../function-names';
|
||||
import { StdevS } from '..';
|
||||
import { StdevS } from '../index';
|
||||
import { BooleanValueObject, NullValueObject, NumberValueObject, StringValueObject } from '../../../../engine/value-object/primitive-object';
|
||||
import { ArrayValueObject, transformToValueObject } from '../../../../engine/value-object/array-value-object';
|
||||
import { ErrorType } from '../../../../basics/error-type';
|
||||
import { ErrorValueObject } from '../../../..';
|
||||
import { ErrorValueObject } from '../../../../engine/value-object/base-value-object';
|
||||
|
||||
describe('Test stdev.s function', () => {
|
||||
const textFunction = new StdevS(FUNCTION_NAMES_STATISTICAL.STDEV_S);
|
||||
|
||||
@@ -17,11 +17,11 @@
|
||||
import { describe, expect, it } from 'vitest';
|
||||
|
||||
import { FUNCTION_NAMES_STATISTICAL } from '../../function-names';
|
||||
import { Stdeva } from '..';
|
||||
import { Stdeva } from '../index';
|
||||
import { BooleanValueObject, NullValueObject, NumberValueObject, StringValueObject } from '../../../../engine/value-object/primitive-object';
|
||||
import { ArrayValueObject, transformToValueObject } from '../../../../engine/value-object/array-value-object';
|
||||
import { ErrorType } from '../../../../basics/error-type';
|
||||
import { ErrorValueObject } from '../../../..';
|
||||
import { ErrorValueObject } from '../../../../engine/value-object/base-value-object';
|
||||
|
||||
describe('Test stdeva function', () => {
|
||||
const textFunction = new Stdeva(FUNCTION_NAMES_STATISTICAL.STDEVA);
|
||||
|
||||
@@ -17,11 +17,11 @@
|
||||
import { describe, expect, it } from 'vitest';
|
||||
|
||||
import { FUNCTION_NAMES_STATISTICAL } from '../../function-names';
|
||||
import { Stdevpa } from '..';
|
||||
import { Stdevpa } from '../index';
|
||||
import { BooleanValueObject, NullValueObject, NumberValueObject, StringValueObject } from '../../../../engine/value-object/primitive-object';
|
||||
import { ArrayValueObject, transformToValueObject } from '../../../../engine/value-object/array-value-object';
|
||||
import { ErrorType } from '../../../../basics/error-type';
|
||||
import { ErrorValueObject } from '../../../..';
|
||||
import { ErrorValueObject } from '../../../../engine/value-object/base-value-object';
|
||||
|
||||
describe('Test stdevpa function', () => {
|
||||
const textFunction = new Stdevpa(FUNCTION_NAMES_STATISTICAL.STDEVPA);
|
||||
|
||||
@@ -17,11 +17,11 @@
|
||||
import { describe, expect, it } from 'vitest';
|
||||
|
||||
import { FUNCTION_NAMES_STATISTICAL } from '../../function-names';
|
||||
import { VarP } from '..';
|
||||
import { VarP } from '../index';
|
||||
import { BooleanValueObject, NullValueObject, NumberValueObject, StringValueObject } from '../../../../engine/value-object/primitive-object';
|
||||
import { ArrayValueObject, transformToValueObject } from '../../../../engine/value-object/array-value-object';
|
||||
import { ErrorType } from '../../../../basics/error-type';
|
||||
import { ErrorValueObject } from '../../../..';
|
||||
import { ErrorValueObject } from '../../../../engine/value-object/base-value-object';
|
||||
|
||||
describe('Test var.p function', () => {
|
||||
const textFunction = new VarP(FUNCTION_NAMES_STATISTICAL.VAR_P);
|
||||
|
||||
@@ -17,11 +17,11 @@
|
||||
import { describe, expect, it } from 'vitest';
|
||||
|
||||
import { FUNCTION_NAMES_STATISTICAL } from '../../function-names';
|
||||
import { VarS } from '..';
|
||||
import { VarS } from '../index';
|
||||
import { BooleanValueObject, NullValueObject, NumberValueObject, StringValueObject } from '../../../../engine/value-object/primitive-object';
|
||||
import { ArrayValueObject, transformToValueObject } from '../../../../engine/value-object/array-value-object';
|
||||
import { ErrorType } from '../../../../basics/error-type';
|
||||
import { ErrorValueObject } from '../../../..';
|
||||
import { ErrorValueObject } from '../../../../engine/value-object/base-value-object';
|
||||
|
||||
describe('Test var.s function', () => {
|
||||
const textFunction = new VarS(FUNCTION_NAMES_STATISTICAL.VAR_S);
|
||||
|
||||
@@ -17,11 +17,11 @@
|
||||
import { describe, expect, it } from 'vitest';
|
||||
|
||||
import { FUNCTION_NAMES_STATISTICAL } from '../../function-names';
|
||||
import { Vara } from '..';
|
||||
import { Vara } from '../index';
|
||||
import { BooleanValueObject, NullValueObject, NumberValueObject, StringValueObject } from '../../../../engine/value-object/primitive-object';
|
||||
import { ArrayValueObject, transformToValueObject } from '../../../../engine/value-object/array-value-object';
|
||||
import { ErrorType } from '../../../../basics/error-type';
|
||||
import { ErrorValueObject } from '../../../..';
|
||||
import { ErrorValueObject } from '../../../../engine/value-object/base-value-object';
|
||||
|
||||
describe('Test vara function', () => {
|
||||
const textFunction = new Vara(FUNCTION_NAMES_STATISTICAL.VARA);
|
||||
|
||||
@@ -17,11 +17,11 @@
|
||||
import { describe, expect, it } from 'vitest';
|
||||
|
||||
import { FUNCTION_NAMES_STATISTICAL } from '../../function-names';
|
||||
import { Varpa } from '..';
|
||||
import { Varpa } from '../index';
|
||||
import { BooleanValueObject, NullValueObject, NumberValueObject, StringValueObject } from '../../../../engine/value-object/primitive-object';
|
||||
import { ArrayValueObject, transformToValueObject } from '../../../../engine/value-object/array-value-object';
|
||||
import { ErrorType } from '../../../../basics/error-type';
|
||||
import { ErrorValueObject } from '../../../..';
|
||||
import { ErrorValueObject } from '../../../../engine/value-object/base-value-object';
|
||||
|
||||
describe('Test varpa function', () => {
|
||||
const textFunction = new Varpa(FUNCTION_NAMES_STATISTICAL.VARPA);
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
import { describe, expect, it } from 'vitest';
|
||||
|
||||
import { FUNCTION_NAMES_TEXT } from '../../function-names';
|
||||
import { Concatenate } from '..';
|
||||
import { Concatenate } from '../index';
|
||||
import { StringValueObject } from '../../../../engine/value-object/primitive-object';
|
||||
import { ArrayValueObject, transformToValue, transformToValueObject } from '../../../../engine/value-object/array-value-object';
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
import { describe, expect, it } from 'vitest';
|
||||
|
||||
import { FUNCTION_NAMES_TEXT } from '../../function-names';
|
||||
import { Len } from '..';
|
||||
import { Len } from '../index';
|
||||
import { StringValueObject } from '../../../../engine/value-object/primitive-object';
|
||||
import { ArrayValueObject, transformToValue, transformToValueObject } from '../../../../engine/value-object/array-value-object';
|
||||
import { ErrorType } from '../../../../basics/error-type';
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
import { describe, expect, it } from 'vitest';
|
||||
|
||||
import { FUNCTION_NAMES_TEXT } from '../../function-names';
|
||||
import { Lenb } from '..';
|
||||
import { Lenb } from '../index';
|
||||
import { StringValueObject } from '../../../../engine/value-object/primitive-object';
|
||||
import { ArrayValueObject, transformToValue, transformToValueObject } from '../../../../engine/value-object/array-value-object';
|
||||
import { ErrorType } from '../../../../basics/error-type';
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
import { describe, expect, it } from 'vitest';
|
||||
|
||||
import { FUNCTION_NAMES_TEXT } from '../../function-names';
|
||||
import { Text } from '..';
|
||||
import { Text } from '../index';
|
||||
import { NumberValueObject, StringValueObject } from '../../../../engine/value-object/primitive-object';
|
||||
import { transformToValue } from '../../../../engine/value-object/array-value-object';
|
||||
|
||||
|
||||
@@ -85,9 +85,8 @@ export class DataValidationDropdownManagerService extends Disposable {
|
||||
|
||||
this._activeDropdown = param;
|
||||
this._activeDropdown$.next(this._activeDropdown);
|
||||
const disposableCollection = new DisposableCollection();
|
||||
const currentRender = this._renderManagerService.getRenderById(DOCS_FORMULA_BAR_EDITOR_UNIT_ID_KEY);
|
||||
const attachDispose = this._canvasPopupManagerService.attachPopupToCell(
|
||||
const popupDisposable = this._canvasPopupManagerService.attachPopupToCell(
|
||||
row,
|
||||
col,
|
||||
{
|
||||
@@ -99,8 +98,13 @@ export class DataValidationDropdownManagerService extends Disposable {
|
||||
excludeOutside: [currentRender?.engine.getCanvasElement()].filter(Boolean) as HTMLElement[],
|
||||
}
|
||||
);
|
||||
attachDispose && disposableCollection.add(attachDispose);
|
||||
|
||||
if (!popupDisposable) {
|
||||
throw new Error('[DataValidationDropdownManagerService]: cannot show dropdown!');
|
||||
}
|
||||
|
||||
const disposableCollection = new DisposableCollection();
|
||||
disposableCollection.add(popupDisposable);
|
||||
disposableCollection.add({
|
||||
dispose: () => {
|
||||
this._activeDropdown?.onHide?.();
|
||||
|
||||
@@ -20,10 +20,10 @@ import type { ISheetLocation } from '@univerjs/sheets';
|
||||
import { Inject } from '@wendellhu/redi';
|
||||
import { distinctUntilChanged, Subject } from 'rxjs';
|
||||
import { IRenderManagerService, Vector2 } from '@univerjs/engine-render';
|
||||
import { ISelectionRenderService } from '..';
|
||||
import { getCellIndexByOffsetWithMerge } from '../common/utils';
|
||||
import { ScrollManagerService } from './scroll-manager.service';
|
||||
import { SheetSkeletonManagerService } from './sheet-skeleton-manager.service';
|
||||
import { ISelectionRenderService } from './selection/selection-render.service';
|
||||
|
||||
export interface IHoverCellPosition {
|
||||
position: IPosition;
|
||||
|
||||
@@ -18,8 +18,9 @@ import type { IAccessor } from '@wendellhu/redi';
|
||||
import type { IRange } from '@univerjs/core';
|
||||
import { Dimension } from '@univerjs/core';
|
||||
import type { IAddMergeCommandParams } from '../commands/add-worksheet-merge.command';
|
||||
import type { ISetSelectionsOperationParams } from '../..';
|
||||
import { NORMAL_SELECTION_PLUGIN_NAME, SelectionManagerService, SetSelectionsOperation } from '../..';
|
||||
import { NORMAL_SELECTION_PLUGIN_NAME, SelectionManagerService } from '../../services/selection-manager.service';
|
||||
import type { ISetSelectionsOperationParams } from '../operations/selection.operation';
|
||||
import { SetSelectionsOperation } from '../operations/selection.operation';
|
||||
|
||||
export const AddMergeRedoSelectionsOperationFactory = (accessor: IAccessor, params: IAddMergeCommandParams, ranges: IRange[]) => {
|
||||
const selectionManagerService = accessor.get(SelectionManagerService);
|
||||
|
||||
Generated
+133
-152
@@ -53,6 +53,9 @@ importers:
|
||||
eslint-plugin-header:
|
||||
specifier: ^3.1.1
|
||||
version: 3.1.1(eslint@8.57.0)
|
||||
eslint-plugin-no-barrel-import:
|
||||
specifier: ^0.0.2
|
||||
version: 0.0.2(eslint@8.57.0)
|
||||
eslint-plugin-react:
|
||||
specifier: ^7.34.1
|
||||
version: 7.34.1(eslint@8.57.0)
|
||||
@@ -2805,7 +2808,7 @@ packages:
|
||||
'@babel/core': 7.24.3
|
||||
clone-deep: 4.0.1
|
||||
find-cache-dir: 2.1.0
|
||||
make-dir: r2.cnpmjs.org/make-dir@2.1.0
|
||||
make-dir: 2.1.0
|
||||
pirates: 4.0.6
|
||||
source-map-support: 0.5.21
|
||||
dev: false
|
||||
@@ -3348,7 +3351,7 @@ packages:
|
||||
engines: {node: '>=6'}
|
||||
hasBin: true
|
||||
dependencies:
|
||||
lodash.camelcase: r2.cnpmjs.org/lodash.camelcase@4.3.0
|
||||
lodash.camelcase: 4.3.0
|
||||
long: 5.2.3
|
||||
protobufjs: 7.2.6
|
||||
yargs: 17.7.2
|
||||
@@ -3585,11 +3588,11 @@ packages:
|
||||
engines: {node: '>=12'}
|
||||
dependencies:
|
||||
string-width: 5.1.2
|
||||
string-width-cjs: r2.cnpmjs.org/string-width@4.2.3
|
||||
string-width-cjs: /string-width@4.2.3
|
||||
strip-ansi: 7.1.0
|
||||
strip-ansi-cjs: r2.cnpmjs.org/strip-ansi@6.0.1
|
||||
strip-ansi-cjs: /strip-ansi@6.0.1
|
||||
wrap-ansi: 8.1.0
|
||||
wrap-ansi-cjs: r2.cnpmjs.org/wrap-ansi@7.0.0
|
||||
wrap-ansi-cjs: /wrap-ansi@7.0.0
|
||||
|
||||
/@istanbuljs/schema@0.1.3:
|
||||
resolution: {integrity: sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==}
|
||||
@@ -3869,6 +3872,49 @@ packages:
|
||||
config-chain: 1.1.13
|
||||
dev: true
|
||||
|
||||
/@protobufjs/aspromise@1.1.2:
|
||||
resolution: {integrity: sha512-j+gKExEuLmKwvz3OgROXtrJ2UG2x8Ch2YZUxahh+s1F2HZ+wAceUNLkvy6zKCPVRkU++ZWQrdxsUeQXmcg4uoQ==}
|
||||
dev: false
|
||||
|
||||
/@protobufjs/base64@1.1.2:
|
||||
resolution: {integrity: sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg==}
|
||||
dev: false
|
||||
|
||||
/@protobufjs/codegen@2.0.4:
|
||||
resolution: {integrity: sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg==}
|
||||
dev: false
|
||||
|
||||
/@protobufjs/eventemitter@1.1.0:
|
||||
resolution: {integrity: sha512-j9ednRT81vYJ9OfVuXG6ERSTdEL1xVsNgqpkxMsbIabzSo3goCjDIveeGv5d03om39ML71RdmrGNjG5SReBP/Q==}
|
||||
dev: false
|
||||
|
||||
/@protobufjs/fetch@1.1.0:
|
||||
resolution: {integrity: sha512-lljVXpqXebpsijW71PZaCYeIcE5on1w5DlQy5WH6GLbFryLUrBD4932W/E2BSpfRJWseIL4v/KPgBFxDOIdKpQ==}
|
||||
dependencies:
|
||||
'@protobufjs/aspromise': 1.1.2
|
||||
'@protobufjs/inquire': 1.1.0
|
||||
dev: false
|
||||
|
||||
/@protobufjs/float@1.0.2:
|
||||
resolution: {integrity: sha512-Ddb+kVXlXst9d+R9PfTIxh1EdNkgoRe5tOX6t01f1lYWOvJnSPDBlG241QLzcyPdoNTsblLUdujGSE4RzrTZGQ==}
|
||||
dev: false
|
||||
|
||||
/@protobufjs/inquire@1.1.0:
|
||||
resolution: {integrity: sha512-kdSefcPdruJiFMVSbn801t4vFK7KB/5gd2fYvrxhuJYg8ILrmn9SKSX2tZdV6V+ksulWqS7aXjBcRXl3wHoD9Q==}
|
||||
dev: false
|
||||
|
||||
/@protobufjs/path@1.1.2:
|
||||
resolution: {integrity: sha512-6JOcJ5Tm08dOHAbdR3GrvP+yUUfkjG5ePsHYczMFLq3ZmMkAD98cDgcT2iA1lJ9NVwFd4tH/iSSoe44YWkltEA==}
|
||||
dev: false
|
||||
|
||||
/@protobufjs/pool@1.1.0:
|
||||
resolution: {integrity: sha512-0kELaGSIDBKvcgS4zkjz1PeddatrjYcmMWOlAuAPwAeccUrPHdUqo/J6LiymHHEiJT5NrF1UVwxY14f+fy4WQw==}
|
||||
dev: false
|
||||
|
||||
/@protobufjs/utf8@1.1.0:
|
||||
resolution: {integrity: sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw==}
|
||||
dev: false
|
||||
|
||||
/@radix-ui/react-compose-refs@1.0.1(@types/react@18.2.73)(react@18.2.0):
|
||||
resolution: {integrity: sha512-fDSBgd44FKHa1FRMU59qBMPFcl2PZE+2nmqunj+BWFyYYjnhIDWL2ItDs3rrbJDQOtzt5nIebLCQc4QRfz6LJw==}
|
||||
peerDependencies:
|
||||
@@ -6979,7 +7025,7 @@ packages:
|
||||
resolution: {integrity: sha512-D5J+kHaVb/wKSFcyyV75uCn8fiY4sV38XJoe4CUyGQ+mOU/fMVYUdH1hJC+CJQ5uY3EnW27SbJYS4X8BiLrAFg==}
|
||||
engines: {node: '>= 10.0'}
|
||||
dependencies:
|
||||
source-map: r2.cnpmjs.org/source-map@0.6.1
|
||||
source-map: 0.6.1
|
||||
dev: false
|
||||
|
||||
/clean-regexp@1.0.0:
|
||||
@@ -7971,6 +8017,14 @@ packages:
|
||||
hasBin: true
|
||||
dev: false
|
||||
|
||||
/errno@0.1.8:
|
||||
resolution: {integrity: sha512-dJ6oBr5SQ1VSd9qkk7ByRgb/1SH4JZjCHSW/mr63/QcXO9zLVxvJ6Oy13nio03rxpSnVDDjFor75SjVeZWPW/A==}
|
||||
hasBin: true
|
||||
requiresBuild: true
|
||||
dependencies:
|
||||
prr: r2.cnpmjs.org/prr@1.0.1
|
||||
optional: true
|
||||
|
||||
/error-ex@1.3.2:
|
||||
resolution: {integrity: sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==}
|
||||
dependencies:
|
||||
@@ -8449,7 +8503,7 @@ packages:
|
||||
estraverse: 5.3.0
|
||||
esutils: 2.0.3
|
||||
optionalDependencies:
|
||||
source-map: r2.cnpmjs.org/source-map@0.6.1
|
||||
source-map: 0.6.1
|
||||
|
||||
/eslint-compat-utils@0.5.0(eslint@8.57.0):
|
||||
resolution: {integrity: sha512-dc6Y8tzEcSYZMHa+CMPLi/hyo1FzNeonbhJL7Ol0ccuKQkwopJcJBA9YL/xmMTLU1eKigXo9vj9nALElWYSowg==}
|
||||
@@ -8648,6 +8702,16 @@ packages:
|
||||
semver: 7.6.0
|
||||
dev: true
|
||||
|
||||
/eslint-plugin-no-barrel-import@0.0.2(eslint@8.57.0):
|
||||
resolution: {integrity: sha512-J/Jlph1Ps5iOJb745TiScsVd3FHO9acmcqQZ/4P0m4yHtWDpeOXX3kiVcumUigXQuenkYmdRiLR0OmCSyrv6OQ==}
|
||||
engines: {node: ^14.17.0 || ^16.0.0 || >= 18.0.0}
|
||||
peerDependencies:
|
||||
eslint: '>=7'
|
||||
dependencies:
|
||||
eslint: 8.57.0
|
||||
requireindex: 1.2.0
|
||||
dev: true
|
||||
|
||||
/eslint-plugin-no-only-tests@3.1.0:
|
||||
resolution: {integrity: sha512-Lf4YW/bL6Un1R6A76pRZyE1dl1vr31G/ev8UzIc/geCgFWyrKil8hVjYqWVKGB/UIGmb6Slzs9T0wNezdSVegw==}
|
||||
engines: {node: '>=5.0.0'}
|
||||
@@ -9156,7 +9220,7 @@ packages:
|
||||
engines: {node: '>=6'}
|
||||
dependencies:
|
||||
commondir: 1.0.1
|
||||
make-dir: r2.cnpmjs.org/make-dir@2.1.0
|
||||
make-dir: 2.1.0
|
||||
pkg-dir: 3.0.0
|
||||
dev: false
|
||||
|
||||
@@ -9330,6 +9394,14 @@ packages:
|
||||
/fs.realpath@1.0.0:
|
||||
resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==}
|
||||
|
||||
/fsevents@2.3.2:
|
||||
resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==}
|
||||
engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0}
|
||||
os: [darwin]
|
||||
requiresBuild: true
|
||||
dev: true
|
||||
optional: true
|
||||
|
||||
/fsevents@2.3.3:
|
||||
resolution: {integrity: sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==}
|
||||
engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0}
|
||||
@@ -9876,6 +9948,13 @@ packages:
|
||||
resolution: {integrity: sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw==}
|
||||
engines: {node: '>= 4'}
|
||||
|
||||
/image-size@0.5.5:
|
||||
resolution: {integrity: sha512-6TDAlDPZxUFCv+fuOkIoXT/V/f3Qbq8e37p+YOiYrUv3v9cc3/6x78VdfPgFVaB9dZYeLUfKgHRebpkm/oP2VQ==}
|
||||
engines: {node: '>=0.10.0'}
|
||||
hasBin: true
|
||||
requiresBuild: true
|
||||
optional: true
|
||||
|
||||
/immediate@3.0.6:
|
||||
resolution: {integrity: sha512-XXOFtyqDjNDAQxVfYxuF7g9Il/IbWmmlQg2MYKOH8ExIT1qg6xc4zyS3HaEEATgs1btfzxq15ciUiY7gjSXRGQ==}
|
||||
dev: false
|
||||
@@ -10709,13 +10788,13 @@ packages:
|
||||
parse-node-version: r2.cnpmjs.org/parse-node-version@1.0.1
|
||||
tslib: 2.6.2
|
||||
optionalDependencies:
|
||||
errno: r2.cnpmjs.org/errno@0.1.8
|
||||
errno: 0.1.8
|
||||
graceful-fs: 4.2.11
|
||||
image-size: r2.cnpmjs.org/image-size@0.5.5
|
||||
make-dir: r2.cnpmjs.org/make-dir@2.1.0
|
||||
mime: r2.cnpmjs.org/mime@1.6.0
|
||||
image-size: 0.5.5
|
||||
make-dir: 2.1.0
|
||||
mime: 1.6.0
|
||||
needle: 3.3.1
|
||||
source-map: r2.cnpmjs.org/source-map@0.6.1
|
||||
source-map: 0.6.1
|
||||
|
||||
/leven@3.1.0:
|
||||
resolution: {integrity: sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==}
|
||||
@@ -10838,7 +10917,6 @@ packages:
|
||||
|
||||
/lodash.camelcase@4.3.0:
|
||||
resolution: {integrity: sha512-TwuEnCnxbc3rAvhf/LbG7tJUDzhqXyFnv3dtzLOPgCG/hODL7WFnsbwktkD7yUV0RrreP/l1PALq/YSg6VvjlA==}
|
||||
dev: true
|
||||
|
||||
/lodash.capitalize@4.2.1:
|
||||
resolution: {integrity: sha512-kZzYOKspf8XVX5AvmQF94gQW0lejFVgb80G85bU4ZWzoJ6C03PQg3coYAUpSTpQWelrZELd3XWgHzw4Ck5kaIw==}
|
||||
@@ -10994,6 +11072,14 @@ packages:
|
||||
source-map-js: 1.2.0
|
||||
dev: false
|
||||
|
||||
/make-dir@2.1.0:
|
||||
resolution: {integrity: sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==}
|
||||
engines: {node: '>=6'}
|
||||
requiresBuild: true
|
||||
dependencies:
|
||||
pify: r2.cnpmjs.org/pify@4.0.1
|
||||
semver: 5.7.2
|
||||
|
||||
/make-dir@4.0.0:
|
||||
resolution: {integrity: sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw==}
|
||||
engines: {node: '>=10'}
|
||||
@@ -11101,6 +11187,13 @@ packages:
|
||||
dependencies:
|
||||
mime-db: 1.52.0
|
||||
|
||||
/mime@1.6.0:
|
||||
resolution: {integrity: sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==}
|
||||
engines: {node: '>=4'}
|
||||
hasBin: true
|
||||
requiresBuild: true
|
||||
optional: true
|
||||
|
||||
/mime@4.0.1:
|
||||
resolution: {integrity: sha512-5lZ5tyrIfliMXzFtkYyekWbtRXObT9OWa8IwQ5uxTBDHucNNwniRqo0yInflj+iYi5CBa6qxadGzGarDfuEOxA==}
|
||||
engines: {node: '>=16'}
|
||||
@@ -11895,7 +11988,7 @@ packages:
|
||||
dependencies:
|
||||
playwright-core: 1.42.1
|
||||
optionalDependencies:
|
||||
fsevents: r2.cnpmjs.org/fsevents@2.3.2
|
||||
fsevents: 2.3.2
|
||||
dev: true
|
||||
|
||||
/pluralize@8.0.0:
|
||||
@@ -12073,16 +12166,16 @@ packages:
|
||||
engines: {node: '>=12.0.0'}
|
||||
requiresBuild: true
|
||||
dependencies:
|
||||
'@protobufjs/aspromise': r2.cnpmjs.org/@protobufjs/aspromise@1.1.2
|
||||
'@protobufjs/base64': r2.cnpmjs.org/@protobufjs/base64@1.1.2
|
||||
'@protobufjs/codegen': r2.cnpmjs.org/@protobufjs/codegen@2.0.4
|
||||
'@protobufjs/eventemitter': r2.cnpmjs.org/@protobufjs/eventemitter@1.1.0
|
||||
'@protobufjs/fetch': r2.cnpmjs.org/@protobufjs/fetch@1.1.0
|
||||
'@protobufjs/float': r2.cnpmjs.org/@protobufjs/float@1.0.2
|
||||
'@protobufjs/inquire': r2.cnpmjs.org/@protobufjs/inquire@1.1.0
|
||||
'@protobufjs/path': r2.cnpmjs.org/@protobufjs/path@1.1.2
|
||||
'@protobufjs/pool': r2.cnpmjs.org/@protobufjs/pool@1.1.0
|
||||
'@protobufjs/utf8': r2.cnpmjs.org/@protobufjs/utf8@1.1.0
|
||||
'@protobufjs/aspromise': 1.1.2
|
||||
'@protobufjs/base64': 1.1.2
|
||||
'@protobufjs/codegen': 2.0.4
|
||||
'@protobufjs/eventemitter': 1.1.0
|
||||
'@protobufjs/fetch': 1.1.0
|
||||
'@protobufjs/float': 1.0.2
|
||||
'@protobufjs/inquire': 1.1.0
|
||||
'@protobufjs/path': 1.1.2
|
||||
'@protobufjs/pool': 1.1.0
|
||||
'@protobufjs/utf8': 1.1.0
|
||||
'@types/node': 20.12.2
|
||||
long: 5.2.3
|
||||
dev: false
|
||||
@@ -12985,6 +13078,11 @@ packages:
|
||||
resolution: {integrity: sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==}
|
||||
engines: {node: '>=0.10.0'}
|
||||
|
||||
/requireindex@1.2.0:
|
||||
resolution: {integrity: sha512-L9jEkOi3ASd9PYit2cwRfyppc9NoABujTP8/5gFcbERmo5jUoAKovIC3fsF17pkTnGsrByysqX+Kxd2OTNI1ww==}
|
||||
engines: {node: '>=0.10.5'}
|
||||
dev: true
|
||||
|
||||
/requires-port@1.0.0:
|
||||
resolution: {integrity: sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ==}
|
||||
dev: true
|
||||
@@ -13440,12 +13538,13 @@ packages:
|
||||
resolution: {integrity: sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==}
|
||||
dependencies:
|
||||
buffer-from: 1.1.2
|
||||
source-map: r2.cnpmjs.org/source-map@0.6.1
|
||||
source-map: 0.6.1
|
||||
dev: false
|
||||
|
||||
/source-map@0.6.1:
|
||||
resolution: {integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==}
|
||||
engines: {node: '>=0.10.0'}
|
||||
requiresBuild: true
|
||||
|
||||
/space-separated-tokens@2.0.2:
|
||||
resolution: {integrity: sha512-PEGlAwrG8yXGXRjW32fGbg66JAlOAwbObuqVoJpv/mRgoWDQfgH1wDPvtzWyUSNAXBGSk8h755YDbbcEy3SH2Q==}
|
||||
@@ -15149,69 +15248,6 @@ packages:
|
||||
commander: 9.5.0
|
||||
dev: false
|
||||
|
||||
r2.cnpmjs.org/@protobufjs/aspromise@1.1.2:
|
||||
resolution: {integrity: sha512-j+gKExEuLmKwvz3OgROXtrJ2UG2x8Ch2YZUxahh+s1F2HZ+wAceUNLkvy6zKCPVRkU++ZWQrdxsUeQXmcg4uoQ==, tarball: https://r2.cnpmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz}
|
||||
name: '@protobufjs/aspromise'
|
||||
version: 1.1.2
|
||||
dev: false
|
||||
|
||||
r2.cnpmjs.org/@protobufjs/base64@1.1.2:
|
||||
resolution: {integrity: sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg==, tarball: https://r2.cnpmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz}
|
||||
name: '@protobufjs/base64'
|
||||
version: 1.1.2
|
||||
dev: false
|
||||
|
||||
r2.cnpmjs.org/@protobufjs/codegen@2.0.4:
|
||||
resolution: {integrity: sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg==, tarball: https://r2.cnpmjs.org/@protobufjs/codegen/-/codegen-2.0.4.tgz}
|
||||
name: '@protobufjs/codegen'
|
||||
version: 2.0.4
|
||||
dev: false
|
||||
|
||||
r2.cnpmjs.org/@protobufjs/eventemitter@1.1.0:
|
||||
resolution: {integrity: sha512-j9ednRT81vYJ9OfVuXG6ERSTdEL1xVsNgqpkxMsbIabzSo3goCjDIveeGv5d03om39ML71RdmrGNjG5SReBP/Q==, tarball: https://r2.cnpmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz}
|
||||
name: '@protobufjs/eventemitter'
|
||||
version: 1.1.0
|
||||
dev: false
|
||||
|
||||
r2.cnpmjs.org/@protobufjs/fetch@1.1.0:
|
||||
resolution: {integrity: sha512-lljVXpqXebpsijW71PZaCYeIcE5on1w5DlQy5WH6GLbFryLUrBD4932W/E2BSpfRJWseIL4v/KPgBFxDOIdKpQ==, tarball: https://r2.cnpmjs.org/@protobufjs/fetch/-/fetch-1.1.0.tgz}
|
||||
name: '@protobufjs/fetch'
|
||||
version: 1.1.0
|
||||
dependencies:
|
||||
'@protobufjs/aspromise': r2.cnpmjs.org/@protobufjs/aspromise@1.1.2
|
||||
'@protobufjs/inquire': r2.cnpmjs.org/@protobufjs/inquire@1.1.0
|
||||
dev: false
|
||||
|
||||
r2.cnpmjs.org/@protobufjs/float@1.0.2:
|
||||
resolution: {integrity: sha512-Ddb+kVXlXst9d+R9PfTIxh1EdNkgoRe5tOX6t01f1lYWOvJnSPDBlG241QLzcyPdoNTsblLUdujGSE4RzrTZGQ==, tarball: https://r2.cnpmjs.org/@protobufjs/float/-/float-1.0.2.tgz}
|
||||
name: '@protobufjs/float'
|
||||
version: 1.0.2
|
||||
dev: false
|
||||
|
||||
r2.cnpmjs.org/@protobufjs/inquire@1.1.0:
|
||||
resolution: {integrity: sha512-kdSefcPdruJiFMVSbn801t4vFK7KB/5gd2fYvrxhuJYg8ILrmn9SKSX2tZdV6V+ksulWqS7aXjBcRXl3wHoD9Q==, tarball: https://r2.cnpmjs.org/@protobufjs/inquire/-/inquire-1.1.0.tgz}
|
||||
name: '@protobufjs/inquire'
|
||||
version: 1.1.0
|
||||
dev: false
|
||||
|
||||
r2.cnpmjs.org/@protobufjs/path@1.1.2:
|
||||
resolution: {integrity: sha512-6JOcJ5Tm08dOHAbdR3GrvP+yUUfkjG5ePsHYczMFLq3ZmMkAD98cDgcT2iA1lJ9NVwFd4tH/iSSoe44YWkltEA==, tarball: https://r2.cnpmjs.org/@protobufjs/path/-/path-1.1.2.tgz}
|
||||
name: '@protobufjs/path'
|
||||
version: 1.1.2
|
||||
dev: false
|
||||
|
||||
r2.cnpmjs.org/@protobufjs/pool@1.1.0:
|
||||
resolution: {integrity: sha512-0kELaGSIDBKvcgS4zkjz1PeddatrjYcmMWOlAuAPwAeccUrPHdUqo/J6LiymHHEiJT5NrF1UVwxY14f+fy4WQw==, tarball: https://r2.cnpmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz}
|
||||
name: '@protobufjs/pool'
|
||||
version: 1.1.0
|
||||
dev: false
|
||||
|
||||
r2.cnpmjs.org/@protobufjs/utf8@1.1.0:
|
||||
resolution: {integrity: sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw==, tarball: https://r2.cnpmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz}
|
||||
name: '@protobufjs/utf8'
|
||||
version: 1.1.0
|
||||
dev: false
|
||||
|
||||
r2.cnpmjs.org/@types/argparse@1.0.38:
|
||||
resolution: {integrity: sha512-ebDJ9b0e702Yr7pWgB0jzm+CX4Srzz8RcXtLJDJB+BSccqMa36uyH/zUsSYao5+BD1ytv3k3rPYCq4mAE1hsXA==, registry: http://registry.npmjs.org/, tarball: https://r2.cnpmjs.org/@types/argparse/-/argparse-1.0.38.tgz}
|
||||
name: '@types/argparse'
|
||||
@@ -15234,14 +15270,7 @@ packages:
|
||||
name: ansi-regex
|
||||
version: 5.0.1
|
||||
engines: {node: '>=8'}
|
||||
|
||||
r2.cnpmjs.org/ansi-styles@4.3.0:
|
||||
resolution: {integrity: sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==, tarball: https://r2.cnpmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz}
|
||||
name: ansi-styles
|
||||
version: 4.3.0
|
||||
engines: {node: '>=8'}
|
||||
dependencies:
|
||||
color-convert: r2.cnpmjs.org/color-convert@2.0.1
|
||||
dev: false
|
||||
|
||||
r2.cnpmjs.org/argparse@1.0.10:
|
||||
resolution: {integrity: sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==, registry: http://registry.npmjs.org/, tarball: https://r2.cnpmjs.org/argparse/-/argparse-1.0.10.tgz}
|
||||
@@ -15273,11 +15302,13 @@ packages:
|
||||
engines: {node: '>=7.0.0'}
|
||||
dependencies:
|
||||
color-name: r2.cnpmjs.org/color-name@1.1.4
|
||||
dev: true
|
||||
|
||||
r2.cnpmjs.org/color-name@1.1.4:
|
||||
resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==, registry: http://registry.npmjs.org/, tarball: https://r2.cnpmjs.org/color-name/-/color-name-1.1.4.tgz}
|
||||
name: color-name
|
||||
version: 1.1.4
|
||||
dev: true
|
||||
|
||||
r2.cnpmjs.org/concat-map@0.0.1:
|
||||
resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==, registry: http://registry.npmjs.org/, tarball: https://r2.cnpmjs.org/concat-map/-/concat-map-0.0.1.tgz}
|
||||
@@ -15315,16 +15346,7 @@ packages:
|
||||
resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==, registry: http://registry.npmjs.org/, tarball: https://r2.cnpmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz}
|
||||
name: emoji-regex
|
||||
version: 8.0.0
|
||||
|
||||
r2.cnpmjs.org/errno@0.1.8:
|
||||
resolution: {integrity: sha512-dJ6oBr5SQ1VSd9qkk7ByRgb/1SH4JZjCHSW/mr63/QcXO9zLVxvJ6Oy13nio03rxpSnVDDjFor75SjVeZWPW/A==, tarball: https://r2.cnpmjs.org/errno/-/errno-0.1.8.tgz}
|
||||
name: errno
|
||||
version: 0.1.8
|
||||
hasBin: true
|
||||
requiresBuild: true
|
||||
dependencies:
|
||||
prr: r2.cnpmjs.org/prr@1.0.1
|
||||
optional: true
|
||||
dev: false
|
||||
|
||||
r2.cnpmjs.org/execa@5.1.1:
|
||||
resolution: {integrity: sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==, registry: http://registry.npmjs.org/, tarball: https://r2.cnpmjs.org/execa/-/execa-5.1.1.tgz}
|
||||
@@ -15365,16 +15387,6 @@ packages:
|
||||
universalify: r2.cnpmjs.org/universalify@0.1.2
|
||||
dev: false
|
||||
|
||||
r2.cnpmjs.org/fsevents@2.3.2:
|
||||
resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==, tarball: https://r2.cnpmjs.org/fsevents/-/fsevents-2.3.2.tgz}
|
||||
name: fsevents
|
||||
version: 2.3.2
|
||||
engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0}
|
||||
os: [darwin]
|
||||
requiresBuild: true
|
||||
dev: true
|
||||
optional: true
|
||||
|
||||
r2.cnpmjs.org/iconv-lite@0.4.24:
|
||||
resolution: {integrity: sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==, registry: http://registry.npmjs.org/, tarball: https://r2.cnpmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz}
|
||||
name: iconv-lite
|
||||
@@ -15394,15 +15406,6 @@ packages:
|
||||
safer-buffer: r2.cnpmjs.org/safer-buffer@2.1.2
|
||||
optional: true
|
||||
|
||||
r2.cnpmjs.org/image-size@0.5.5:
|
||||
resolution: {integrity: sha512-6TDAlDPZxUFCv+fuOkIoXT/V/f3Qbq8e37p+YOiYrUv3v9cc3/6x78VdfPgFVaB9dZYeLUfKgHRebpkm/oP2VQ==, tarball: https://r2.cnpmjs.org/image-size/-/image-size-0.5.5.tgz}
|
||||
name: image-size
|
||||
version: 0.5.5
|
||||
engines: {node: '>=0.10.0'}
|
||||
hasBin: true
|
||||
requiresBuild: true
|
||||
optional: true
|
||||
|
||||
r2.cnpmjs.org/import-lazy@4.0.0:
|
||||
resolution: {integrity: sha512-rKtvo6a868b5Hu3heneU+L4yEQ4jYKLtjpnPeUdK7h0yzXGmyBTypknlkCvHFBqfX9YlorEiMM6Dnq/5atfHkw==, registry: http://registry.npmjs.org/, tarball: https://r2.cnpmjs.org/import-lazy/-/import-lazy-4.0.0.tgz}
|
||||
name: import-lazy
|
||||
@@ -15415,6 +15418,7 @@ packages:
|
||||
name: is-fullwidth-code-point
|
||||
version: 3.0.0
|
||||
engines: {node: '>=8'}
|
||||
dev: false
|
||||
|
||||
r2.cnpmjs.org/is-what@3.14.1:
|
||||
resolution: {integrity: sha512-sNxgpk9793nzSs7bA6JQJGeIuRBQhAaNGG77kzYQgMkrID+lS6SlK07K5LaptscDlSaIgH+GPFzf+d75FVxozA==, registry: http://registry.npmjs.org/, tarball: https://r2.cnpmjs.org/is-what/-/is-what-3.14.1.tgz}
|
||||
@@ -15446,12 +15450,6 @@ packages:
|
||||
graceful-fs: 4.2.11
|
||||
dev: false
|
||||
|
||||
r2.cnpmjs.org/lodash.camelcase@4.3.0:
|
||||
resolution: {integrity: sha512-TwuEnCnxbc3rAvhf/LbG7tJUDzhqXyFnv3dtzLOPgCG/hODL7WFnsbwktkD7yUV0RrreP/l1PALq/YSg6VvjlA==, tarball: https://r2.cnpmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz}
|
||||
name: lodash.camelcase
|
||||
version: 4.3.0
|
||||
dev: false
|
||||
|
||||
r2.cnpmjs.org/lodash.get@4.4.2:
|
||||
resolution: {integrity: sha512-z+Uw/vLuy6gQe8cfaFWD7p0wVv8fJl3mbzXh33RS+0oW2wvUqiRXiQ69gLWSLpgB5/6sU+r6BlQR0MBILadqTQ==, registry: http://registry.npmjs.org/, tarball: https://r2.cnpmjs.org/lodash.get/-/lodash.get-4.4.2.tgz}
|
||||
name: lodash.get
|
||||
@@ -15485,16 +15483,6 @@ packages:
|
||||
dependencies:
|
||||
yallist: r2.cnpmjs.org/yallist@4.0.0
|
||||
|
||||
r2.cnpmjs.org/make-dir@2.1.0:
|
||||
resolution: {integrity: sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==, tarball: https://r2.cnpmjs.org/make-dir/-/make-dir-2.1.0.tgz}
|
||||
name: make-dir
|
||||
version: 2.1.0
|
||||
engines: {node: '>=6'}
|
||||
requiresBuild: true
|
||||
dependencies:
|
||||
pify: r2.cnpmjs.org/pify@4.0.1
|
||||
semver: 5.7.2
|
||||
|
||||
r2.cnpmjs.org/make-dir@3.1.0:
|
||||
resolution: {integrity: sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==, registry: http://registry.npmjs.org/, tarball: https://r2.cnpmjs.org/make-dir/-/make-dir-3.1.0.tgz}
|
||||
name: make-dir
|
||||
@@ -15510,6 +15498,7 @@ packages:
|
||||
engines: {node: '>=4'}
|
||||
hasBin: true
|
||||
requiresBuild: true
|
||||
dev: false
|
||||
|
||||
r2.cnpmjs.org/ms@2.1.3:
|
||||
resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==, registry: http://registry.npmjs.org/, tarball: https://r2.cnpmjs.org/ms/-/ms-2.1.3.tgz}
|
||||
@@ -15593,6 +15582,7 @@ packages:
|
||||
emoji-regex: r2.cnpmjs.org/emoji-regex@8.0.0
|
||||
is-fullwidth-code-point: r2.cnpmjs.org/is-fullwidth-code-point@3.0.0
|
||||
strip-ansi: r2.cnpmjs.org/strip-ansi@6.0.1
|
||||
dev: false
|
||||
|
||||
r2.cnpmjs.org/strip-ansi@6.0.1:
|
||||
resolution: {integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==, registry: http://registry.npmjs.org/, tarball: https://r2.cnpmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz}
|
||||
@@ -15601,6 +15591,7 @@ packages:
|
||||
engines: {node: '>=8'}
|
||||
dependencies:
|
||||
ansi-regex: r2.cnpmjs.org/ansi-regex@5.0.1
|
||||
dev: false
|
||||
|
||||
r2.cnpmjs.org/strip-json-comments@3.1.1:
|
||||
resolution: {integrity: sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==, registry: http://registry.npmjs.org/, tarball: https://r2.cnpmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz}
|
||||
@@ -15624,16 +15615,6 @@ packages:
|
||||
punycode: 2.3.1
|
||||
dev: false
|
||||
|
||||
r2.cnpmjs.org/wrap-ansi@7.0.0:
|
||||
resolution: {integrity: sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==, tarball: https://r2.cnpmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz}
|
||||
name: wrap-ansi
|
||||
version: 7.0.0
|
||||
engines: {node: '>=10'}
|
||||
dependencies:
|
||||
ansi-styles: r2.cnpmjs.org/ansi-styles@4.3.0
|
||||
string-width: r2.cnpmjs.org/string-width@4.2.3
|
||||
strip-ansi: r2.cnpmjs.org/strip-ansi@6.0.1
|
||||
|
||||
r2.cnpmjs.org/yallist@4.0.0:
|
||||
resolution: {integrity: sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==, registry: http://registry.npmjs.org/, tarball: https://r2.cnpmjs.org/yallist/-/yallist-4.0.0.tgz}
|
||||
name: yallist
|
||||
|
||||
Reference in New Issue
Block a user