@artel/artc 0.6.26035 → 0.6.26037
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/build/Cli.js +3 -3
- package/build/api/Api.js +2 -2
- package/build/api/ApiNodeJS.js +3 -3
- package/build/api/ApiServices.js +1 -1
- package/build/{chunk-QWKU3V6M.js → chunk-7S5FE6VM.js} +1 -1
- package/build/{chunk-2BUTUO3Q.js → chunk-BON2WALN.js} +2 -2
- package/build/{chunk-VUFJUNTU.js → chunk-YWRRJZ4Z.js} +436 -190
- package/build/types/analysis/Analyzer.d.ts +1 -0
- package/build/types/analysis/DialectSpecificBoundTypeMemberLookup.d.ts +2 -1
- package/build/types/analysis/TypeMemberLookup.d.ts +4 -2
- package/build/types/analysis/a/OwnAndBaseConstructorCallsChecker.d.ts +17 -4
- package/build/types/analysis/a/SourceFileAnalyzer.d.ts +5 -0
- package/build/types/analysis/a/TypeMemberLookup.d.ts +5 -2
- package/build/types/analysis/m/TypeMemberLookup.d.ts +5 -2
- package/build/types/common/Query.d.ts +3 -0
- package/build/types/diagnostic/DiagnosticCode.d.ts +4 -0
- package/build/types/emitter/EmitterContext.d.ts +7 -7
- package/build/types/entities/TypeMemberKindFlags.d.ts +2 -1
- package/build/types/project/configuration/types/PackageConfigurationRu.d.ts +23 -23
- package/package.json +1 -1
|
@@ -315,6 +315,7 @@ declare class TypeUtils {
|
|
|
315
315
|
removeDerivedTypesInPlace(types: types.Type[]): void;
|
|
316
316
|
getBaseOrAliasedTypes(type: types.Type): readonly types.Type[];
|
|
317
317
|
getPossiblyAliasedBaseObjectType(type: types.Type): types.Type | undefined;
|
|
318
|
+
getPossiblyAliasedBaseObjectTypeOfEntity(type: e.TypeEntity): types.Type | undefined;
|
|
318
319
|
getPossiblyAliasedBaseAspectTypes(type: types.Type): readonly types.Type[] | undefined;
|
|
319
320
|
getBaseObjectTypeOrAliasedType(type: types.Type): types.Type | undefined;
|
|
320
321
|
getBaseAndAliasedTypesRecursively(type: types.Type): readonly types.Type[];
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { Name, PackageDialect } from '../common/index.js';
|
|
2
|
-
import { TypeEntity, TypeExtensionEntity } from '../entities/index.js';
|
|
2
|
+
import { NamedTypeMemberEntity, TypeEntity, TypeExtensionEntity } from '../entities/index.js';
|
|
3
3
|
import * as types from '../types/index.js';
|
|
4
4
|
import { Analyzer } from './Analyzer.js';
|
|
5
5
|
import { TypeMemberLookupContext, TypeMemberLookupOptions } from './TypeMemberLookup.js';
|
|
6
6
|
export interface DialectSpecificBoundTypeMemberLookup {
|
|
7
7
|
getNamedMembers(): readonly types.NamedTypeMember[];
|
|
8
8
|
getNamedMembersByName(name: Name): readonly types.NamedTypeMember[];
|
|
9
|
+
getMatchingNamedMembersByName(name: Name, memberToMatch: NamedTypeMemberEntity): readonly types.NamedTypeMember[];
|
|
9
10
|
getConstructors(): readonly types.Method[];
|
|
10
11
|
getDestructors(): readonly types.Method[];
|
|
11
12
|
getIndexers(): readonly types.Indexer[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Name, PackageLocale } from '../common/index.js';
|
|
2
|
-
import { PackageEntity, TypeEntity, TypeExtensionEntity, TypeOrExtensionEntity } from '../entities/index.js';
|
|
2
|
+
import { NamedTypeMemberEntity, PackageEntity, TypeEntity, TypeExtensionEntity, TypeOrExtensionEntity } from '../entities/index.js';
|
|
3
3
|
import { TypeMemberKindFlags } from '../entities/TypeMemberKindFlags.js';
|
|
4
4
|
import { SourceFile } from '../project/SourceFile.js';
|
|
5
5
|
import * as types from '../types/index.js';
|
|
@@ -14,6 +14,7 @@ export declare class TypeMemberLookup {
|
|
|
14
14
|
static ofTypeOrExtension(analyzer: Analyzer, typeOrExtension: TypeOrExtension): TypeMemberLookup;
|
|
15
15
|
getNamedMembers(context: TypeMemberLookupContext | undefined, kinds: TypeMemberKindFlags, options?: TypeMemberLookupOptions): readonly types.NamedTypeMember[];
|
|
16
16
|
getNamedMembersByName(name: Name, context: TypeMemberLookupContext | undefined, kinds: TypeMemberKindFlags, options?: TypeMemberLookupOptions): readonly types.NamedTypeMember[];
|
|
17
|
+
getMatchingNamedMembersByName(name: Name, memberToMatch: NamedTypeMemberEntity, context: TypeMemberLookupContext | undefined, options?: TypeMemberLookupOptions): readonly types.NamedTypeMember[];
|
|
17
18
|
getConstructors(context: TypeMemberLookupContext | undefined, options?: TypeMemberLookupOptions): readonly types.Method[];
|
|
18
19
|
getDestructors(context: TypeMemberLookupContext | undefined, options?: TypeMemberLookupOptions): readonly types.Method[];
|
|
19
20
|
getIndexers(context: TypeMemberLookupContext | undefined, options?: TypeMemberLookupOptions): readonly types.Indexer[];
|
|
@@ -30,6 +31,7 @@ export declare class BoundTypeMemberLookup {
|
|
|
30
31
|
static ofTypeExtension(analyzer: Analyzer, typeExtension: TypeExtensionEntity, context: TypeMemberLookupContext | undefined, kinds: TypeMemberKindFlags, options: TypeMemberLookupOptions): BoundTypeMemberLookup;
|
|
31
32
|
getNamedMembers(): readonly types.NamedTypeMember[];
|
|
32
33
|
getNamedMembersByName(name: Name): readonly types.NamedTypeMember[];
|
|
34
|
+
getMatchingNamedMembersByName(name: Name, memberToMatch: NamedTypeMemberEntity): readonly types.NamedTypeMember[];
|
|
33
35
|
getConstructors(): readonly types.Method[];
|
|
34
36
|
getDestructors(): readonly types.Method[];
|
|
35
37
|
getIndexers(): readonly types.Indexer[];
|
|
@@ -58,7 +60,7 @@ export declare enum TypeMemberLookupOptions {
|
|
|
58
60
|
CheckAccessibilityIgnoringReceiverType = 8,
|
|
59
61
|
NoBaseTypeMembers = 16,
|
|
60
62
|
OnlyInstanceOrOnlyStaticMembers = 3,
|
|
61
|
-
|
|
63
|
+
NoBaseTypeAndExtensionMembers = 20
|
|
62
64
|
}
|
|
63
65
|
type TypeOrExtension = TypeOrExtension_type | TypeOrExtension_extension;
|
|
64
66
|
declare class TypeOrExtension_type implements ITypeOrExtension {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Diagnostic } from '../../diagnostic/Diagnostic.js';
|
|
2
|
-
import {
|
|
2
|
+
import { TypeEntityWithMembers } from '../../entities/index.js';
|
|
3
3
|
import * as tree from '../../tree/a/index.js';
|
|
4
4
|
import * as types from '../../types/index.js';
|
|
5
5
|
import { Analyzer } from './Analyzer.js';
|
|
@@ -16,8 +16,21 @@ export declare class OwnAndBaseConstructorCallsChecker {
|
|
|
16
16
|
private findAccessibleConstructorWithoutParameters;
|
|
17
17
|
}
|
|
18
18
|
export declare class OwnAndBaseConstructorCallsCheckResult {
|
|
19
|
-
readonly
|
|
20
|
-
readonly
|
|
19
|
+
readonly typeRequiresExplicitOwnOrBaseConstructorCalls: boolean;
|
|
20
|
+
readonly ownOrBaseConstructorCallInfos: ReadonlyMap<tree.ConstructorDeclaration, OwnOrBaseConstructorCallInfo>;
|
|
21
21
|
readonly diagnostics: readonly Diagnostic[];
|
|
22
|
-
constructor(
|
|
22
|
+
constructor(typeRequiresExplicitOwnOrBaseConstructorCalls: boolean, ownOrBaseConstructorCallInfos: ReadonlyMap<tree.ConstructorDeclaration, OwnOrBaseConstructorCallInfo>, diagnostics: readonly Diagnostic[]);
|
|
23
|
+
}
|
|
24
|
+
export declare class OwnOrBaseConstructorCallInfo {
|
|
25
|
+
readonly isOwnConstructorCall: boolean;
|
|
26
|
+
readonly constructor_: types.Method;
|
|
27
|
+
/**
|
|
28
|
+
* Отсутствие узла означает, что базовый конструктор без параметров не был вызван явно.
|
|
29
|
+
*/
|
|
30
|
+
readonly node: tree.CallExpression | tree.OwnConstructorCallExpression | undefined;
|
|
31
|
+
constructor(isOwnConstructorCall: boolean, constructor_: types.Method,
|
|
32
|
+
/**
|
|
33
|
+
* Отсутствие узла означает, что базовый конструктор без параметров не был вызван явно.
|
|
34
|
+
*/
|
|
35
|
+
node: tree.CallExpression | tree.OwnConstructorCallExpression | undefined);
|
|
23
36
|
}
|
|
@@ -38,6 +38,7 @@ export declare class SourceFileAnalyzer {
|
|
|
38
38
|
private checkStructureIsReferencedByFieldTypeRecursively;
|
|
39
39
|
private checkStructureIsReferencedByFieldsOfStructure;
|
|
40
40
|
private isReferencedAutomaticallyGeneratedBackingVariable;
|
|
41
|
+
private checkBaseObjectTypeHasAccessibleConstructors;
|
|
41
42
|
private checkAspectsHaveNotBeenExtendedWithDifferentTypeArguments;
|
|
42
43
|
private checkPackageVariableDeclaration;
|
|
43
44
|
private checkPackageFunctionDeclaration;
|
|
@@ -105,6 +106,10 @@ export declare class SourceFileAnalyzer {
|
|
|
105
106
|
private checkReturnStatement;
|
|
106
107
|
private checkYieldStatement;
|
|
107
108
|
private checkIdentifierExpression;
|
|
109
|
+
private checkFieldAccessWithImplicitReceiver;
|
|
110
|
+
private checkMethodAccessWithImplicitReceiver;
|
|
111
|
+
private checkOwnFieldAccessedInConstructorIsUsedBeforeBeingAssigned;
|
|
112
|
+
private isStoredFieldConsideredInitializedAtDeclaration;
|
|
108
113
|
private checkLocalVariableUsedBeforeDeclaration;
|
|
109
114
|
private checkLocalVariableIsUsedBeforeBeingAssigned;
|
|
110
115
|
private isLocalVariableConsideredInitializedAtDeclaration;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Name } from '../../common/index.js';
|
|
2
|
-
import { TypeEntity, TypeExtensionEntity } from '../../entities/index.js';
|
|
2
|
+
import { NamedTypeMemberEntity, TypeEntity, TypeExtensionEntity } from '../../entities/index.js';
|
|
3
3
|
import * as types from '../../types/index.js';
|
|
4
4
|
import { Analyzer } from '../Analyzer.js';
|
|
5
|
+
import { DialectSpecificBoundTypeMemberLookup } from '../DialectSpecificBoundTypeMemberLookup.js';
|
|
5
6
|
import { TypeMemberLookupContext, TypeMemberLookupOptions } from '../TypeMemberLookup.js';
|
|
6
7
|
export declare class TypeMemberLookupA {
|
|
7
8
|
private readonly typeMemberLookup;
|
|
@@ -11,12 +12,13 @@ export declare class TypeMemberLookupA {
|
|
|
11
12
|
static ofTypeExtension(analyzer: Analyzer, typeExtension: TypeExtensionEntity): TypeMemberLookupA;
|
|
12
13
|
getNamedMembers(context: TypeMemberLookupContext | undefined, options?: TypeMemberLookupOptions): readonly types.NamedTypeMember[];
|
|
13
14
|
getNamedMembersByName(name: Name, context: TypeMemberLookupContext | undefined, options?: TypeMemberLookupOptions): readonly types.NamedTypeMember[];
|
|
15
|
+
getMatchingNamedMembersByName(name: Name, memberToMatch: NamedTypeMemberEntity, context: TypeMemberLookupContext | undefined, options?: TypeMemberLookupOptions): readonly types.NamedTypeMember[];
|
|
14
16
|
getConstructors(context: TypeMemberLookupContext | undefined, options?: TypeMemberLookupOptions): readonly types.Method[];
|
|
15
17
|
getDestructors(context: TypeMemberLookupContext | undefined, options?: TypeMemberLookupOptions): readonly types.Method[];
|
|
16
18
|
getIndexers(context: TypeMemberLookupContext | undefined, options?: TypeMemberLookupOptions): readonly types.Indexer[];
|
|
17
19
|
getDereferenceOperators(context: TypeMemberLookupContext | undefined, options?: TypeMemberLookupOptions): readonly types.DereferenceOperator[];
|
|
18
20
|
}
|
|
19
|
-
export declare class BoundTypeMemberLookupA {
|
|
21
|
+
export declare class BoundTypeMemberLookupA implements DialectSpecificBoundTypeMemberLookup {
|
|
20
22
|
private readonly typeMemberLookup;
|
|
21
23
|
private constructor();
|
|
22
24
|
static ofType(analyzer: Analyzer, type: types.Type, context: TypeMemberLookupContext | undefined, options: TypeMemberLookupOptions): BoundTypeMemberLookupA;
|
|
@@ -24,6 +26,7 @@ export declare class BoundTypeMemberLookupA {
|
|
|
24
26
|
static ofTypeExtension(analyzer: Analyzer, typeExtension: TypeExtensionEntity, context: TypeMemberLookupContext | undefined, options: TypeMemberLookupOptions): BoundTypeMemberLookupA;
|
|
25
27
|
getNamedMembers(): readonly types.NamedTypeMember[];
|
|
26
28
|
getNamedMembersByName(name: Name): readonly types.NamedTypeMember[];
|
|
29
|
+
getMatchingNamedMembersByName(name: Name, memberToMatch: NamedTypeMemberEntity): readonly types.NamedTypeMember[];
|
|
27
30
|
getConstructors(): readonly types.Method[];
|
|
28
31
|
getDestructors(): readonly types.Method[];
|
|
29
32
|
getIndexers(): readonly types.Indexer[];
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Name } from '../../common/index.js';
|
|
2
|
-
import { TypeEntity, TypeExtensionEntity } from '../../entities/index.js';
|
|
2
|
+
import { NamedTypeMemberEntity, TypeEntity, TypeExtensionEntity } from '../../entities/index.js';
|
|
3
3
|
import * as types from '../../types/index.js';
|
|
4
4
|
import { Analyzer } from '../Analyzer.js';
|
|
5
|
+
import { DialectSpecificBoundTypeMemberLookup } from '../DialectSpecificBoundTypeMemberLookup.js';
|
|
5
6
|
import { TypeMemberLookupContext, TypeMemberLookupOptions } from '../TypeMemberLookup.js';
|
|
6
7
|
export declare class TypeMemberLookupM {
|
|
7
8
|
private readonly typeMemberLookup;
|
|
@@ -11,12 +12,13 @@ export declare class TypeMemberLookupM {
|
|
|
11
12
|
static ofTypeExtension(analyzer: Analyzer, typeExtension: TypeExtensionEntity): TypeMemberLookupM;
|
|
12
13
|
getNamedMembers(context: TypeMemberLookupContext | undefined, options?: TypeMemberLookupOptions): readonly types.NamedTypeMember[];
|
|
13
14
|
getNamedMembersByName(name: Name, context: TypeMemberLookupContext | undefined, options?: TypeMemberLookupOptions): readonly types.NamedTypeMember[];
|
|
15
|
+
getMatchingNamedMembersByName(name: Name, memberToMatch: NamedTypeMemberEntity, context: TypeMemberLookupContext | undefined, options?: TypeMemberLookupOptions): readonly types.NamedTypeMember[];
|
|
14
16
|
getConstructors(context: TypeMemberLookupContext | undefined, options?: TypeMemberLookupOptions): readonly types.Method[];
|
|
15
17
|
getDestructors(context: TypeMemberLookupContext | undefined, options?: TypeMemberLookupOptions): readonly types.Method[];
|
|
16
18
|
getIndexers(context: TypeMemberLookupContext | undefined, options?: TypeMemberLookupOptions): readonly types.Indexer[];
|
|
17
19
|
getDereferenceOperators(context: TypeMemberLookupContext | undefined, options?: TypeMemberLookupOptions): readonly types.DereferenceOperator[];
|
|
18
20
|
}
|
|
19
|
-
export declare class BoundTypeMemberLookupM {
|
|
21
|
+
export declare class BoundTypeMemberLookupM implements DialectSpecificBoundTypeMemberLookup {
|
|
20
22
|
private readonly typeMemberLookup;
|
|
21
23
|
private constructor();
|
|
22
24
|
static ofType(analyzer: Analyzer, type: types.Type, context: TypeMemberLookupContext | undefined, options: TypeMemberLookupOptions): BoundTypeMemberLookupM;
|
|
@@ -24,6 +26,7 @@ export declare class BoundTypeMemberLookupM {
|
|
|
24
26
|
static ofTypeExtension(analyzer: Analyzer, typeExtension: TypeExtensionEntity, context: TypeMemberLookupContext | undefined, options: TypeMemberLookupOptions): BoundTypeMemberLookupM;
|
|
25
27
|
getNamedMembers(): readonly types.NamedTypeMember[];
|
|
26
28
|
getNamedMembersByName(name: Name): readonly types.NamedTypeMember[];
|
|
29
|
+
getMatchingNamedMembersByName(name: Name, memberToMatch: NamedTypeMemberEntity): readonly types.NamedTypeMember[];
|
|
27
30
|
getConstructors(): readonly types.Method[];
|
|
28
31
|
getDestructors(): readonly types.Method[];
|
|
29
32
|
getIndexers(): readonly types.Indexer[];
|
|
@@ -22,6 +22,9 @@ export declare abstract class Query<T> implements Iterable<T> {
|
|
|
22
22
|
static groupByToMap<T, K, V>(source: Iterable<T>, keySelector: (t: T) => K, mapFn: (t: T) => V): Map<K, V[]>;
|
|
23
23
|
static maxByValue<T>(source: Iterable<T>, valueSelector: (t: T) => number): T | undefined;
|
|
24
24
|
static minByValue<T>(source: Iterable<T>, valueSelector: (t: T) => number): T | undefined;
|
|
25
|
+
static single<T>(source: Iterable<T>): T | undefined;
|
|
26
|
+
static single<T, K extends T>(source: Iterable<T>, fn: (t: T) => t is K): K | undefined;
|
|
27
|
+
static single<T>(source: Iterable<T>, fn: (t: T) => boolean): T | undefined;
|
|
25
28
|
abstract [Symbol.iterator](): Iterator<T, void, undefined>;
|
|
26
29
|
map<K>(fn: (t: T, i: number) => K): Query<K>;
|
|
27
30
|
forEach(fn: (t: T) => void): void;
|
|
@@ -279,6 +279,10 @@ export declare enum DiagnosticCode {
|
|
|
279
279
|
CannotAssignValueBecauseWriteFunctionIsHidden = 2244,
|
|
280
280
|
ReadFunctionMustHaveTheSameTypeAsWriteFunction = 2245,
|
|
281
281
|
AspectHasAlreadyBeenExtendedWithDifferentTypeArguments0 = 2246,
|
|
282
|
+
ObjectCannotBeAccessedBeforeOwnOrBaseConstructorCall = 2247,
|
|
283
|
+
BaseCannotBeAccessedBeforeOwnOrBaseConstructorCall = 2248,
|
|
284
|
+
InstanceMemberCannotBeAccessedBeforeOwnOrBaseConstructorCall = 2249,
|
|
285
|
+
Type0CannotBeExtendedBecauseItDoesNotHaveAccessibleConstructors = 2250,
|
|
282
286
|
CannotFindTsLibDirectoryBaseSearchPaths0 = 3000,
|
|
283
287
|
SourceFile0IsNotPartOfThePackageAndWontBeLoaded = 3001,
|
|
284
288
|
ProgramWithoutMainPackageCannotBeCompiled = 3002,
|
|
@@ -30,21 +30,21 @@ export declare class WellKnownDeclarationKeys {
|
|
|
30
30
|
static readonly fieldProxyReadMethod = "\u0410\u0440\u0442\u0435\u043B\u044C.\u041F\u043E\u0441\u0440\u0435\u0434\u043D\u0438\u043A\u041F\u0435\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0439\u041E\u0431\u044A\u0435\u043A\u0442\u0430.\u043F\u0440\u043E\u0447\u0438\u0442\u0430\u0442\u044C";
|
|
31
31
|
static readonly fieldProxyWriteMethod = "\u0410\u0440\u0442\u0435\u043B\u044C.\u041F\u043E\u0441\u0440\u0435\u0434\u043D\u0438\u043A\u041F\u0435\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0439\u041E\u0431\u044A\u0435\u043A\u0442\u0430.\u0437\u0430\u043F\u0438\u0441\u0430\u0442\u044C";
|
|
32
32
|
static readonly referenceConstructor = "\u0410\u0440\u0442\u0435\u043B\u044C.\u0420\u0435\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u044F.\u0414\u0436\u0430\u0432\u0430\u0421\u043A\u0440\u0438\u043F\u0442.\u0421\u0441\u044B\u043B\u043A\u0430";
|
|
33
|
-
static readonly textTemplateConstructor = "\u0410\u0440\u0442\u0435\u043B\u044C.\u0428\u0430\u0431\u043B\u043E\u043D\u0422\u0435\u043A\u0441\u0442\u0430";
|
|
34
|
-
static readonly textTemplateToTextMethod = "\u0410\u0440\u0442\u0435\u043B\u044C.\u0428\u0430\u0431\u043B\u043E\u043D\u0422\u0435\u043A\u0441\u0442\u0430.\u0432-\u0442\u0435\u043A\u0441\u0442";
|
|
35
|
-
static readonly localizableTextTemplateConstructor = "\u0410\u0440\u0442\u0435\u043B\u044C.\u0428\u0430\u0431\u043B\u043E\u043D\u0422\u0435\u043A\u0441\u0442\u0430\u041F\u0435\u0440\u0435\u0432\u043E\u0434\u0438\u043C\u044B\u0439";
|
|
36
|
-
static readonly localizableTextTemplateTranslateMethod = "\u0410\u0440\u0442\u0435\u043B\u044C.\u0428\u0430\u0431\u043B\u043E\u043D\u0422\u0435\u043A\u0441\u0442\u0430\u041F\u0435\u0440\u0435\u0432\u043E\u0434\u0438\u043C\u044B\u0439.\u043F\u0435\u0440\u0435\u0432\u0435\u0441\u0442\u0438";
|
|
33
|
+
static readonly textTemplateConstructor = "\u0410\u0440\u0442\u0435\u043B\u044C.\u0428\u0430\u0431\u043B\u043E\u043D\u0422\u0435\u043A\u0441\u0442\u0430(\u0444\u0440\u0430\u0433\u043C\u0435\u043D\u0442\u044B,\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F)";
|
|
34
|
+
static readonly textTemplateToTextMethod = "\u0410\u0440\u0442\u0435\u043B\u044C.\u0428\u0430\u0431\u043B\u043E\u043D\u0422\u0435\u043A\u0441\u0442\u0430.\u0432-\u0442\u0435\u043A\u0441\u0442()";
|
|
35
|
+
static readonly localizableTextTemplateConstructor = "\u0410\u0440\u0442\u0435\u043B\u044C.\u0428\u0430\u0431\u043B\u043E\u043D\u0422\u0435\u043A\u0441\u0442\u0430\u041F\u0435\u0440\u0435\u0432\u043E\u0434\u0438\u043C\u044B\u0439(\u0444\u0440\u0430\u0433\u043C\u0435\u043D\u0442\u044B,\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F,\u043A\u043B\u044E\u0447,\u043F\u0430\u043A\u0435\u0442)";
|
|
36
|
+
static readonly localizableTextTemplateTranslateMethod = "\u0410\u0440\u0442\u0435\u043B\u044C.\u0428\u0430\u0431\u043B\u043E\u043D\u0422\u0435\u043A\u0441\u0442\u0430\u041F\u0435\u0440\u0435\u0432\u043E\u0434\u0438\u043C\u044B\u0439.\u043F\u0435\u0440\u0435\u0432\u0435\u0441\u0442\u0438()";
|
|
37
37
|
static readonly symbolIteratorField = "\u0432\u0441\u0435\u043E\u0431\u0449\u0435\u0435 Platform.JavaScript.Symbol.iterator";
|
|
38
38
|
static readonly inlineJsFunction = "\u0410\u0440\u0442\u0435\u043B\u044C.\u0412\u0437\u0430\u0438\u043C\u043E\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435.\u043F\u043E\u0434\u0441\u0442\u0430\u0432\u0438\u0442\u044C-\u0440\u043E\u0434\u043D\u043E\u0439-\u043A\u043E\u0434";
|
|
39
39
|
static readonly numberIsIntegerFunction = "\u0410\u0440\u0442\u0435\u043B\u044C.\u0420\u0435\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u044F.\u0414\u0436\u0430\u0432\u0430\u0421\u043A\u0440\u0438\u043F\u0442.\u0447\u0438\u0441\u043B\u043E-\u044F\u0432\u043B\u044F\u0435\u0442\u0441\u044F-\u0446\u0435\u043B\u044B\u043C";
|
|
40
40
|
static readonly dictionaryType = "\u0410\u0440\u0442\u0435\u043B\u044C.\u0421\u043B\u043E\u0432\u0430\u0440\u044C";
|
|
41
|
-
static readonly dictionaryConstructor = "\u0410\u0440\u0442\u0435\u043B\u044C.\u0421\u043B\u043E\u0432\u0430\u0440\u044C";
|
|
41
|
+
static readonly dictionaryConstructor = "\u0410\u0440\u0442\u0435\u043B\u044C.\u0421\u043B\u043E\u0432\u0430\u0440\u044C()";
|
|
42
42
|
static readonly dictionaryAddMethod = "\u0410\u0440\u0442\u0435\u043B\u044C.\u0421\u043B\u043E\u0432\u0430\u0440\u044C.\u0434\u043E\u0431\u0430\u0432\u0438\u0442\u044C";
|
|
43
43
|
static readonly packageType = "\u0410\u0440\u0442\u0435\u043B\u044C.\u041F\u0430\u043A\u0435\u0442";
|
|
44
|
-
static readonly packageConstructor = "\u0410\u0440\u0442\u0435\u043B\u044C.\u041F\u0430\u043A\u0435\u0442";
|
|
44
|
+
static readonly packageConstructor = "\u0410\u0440\u0442\u0435\u043B\u044C.\u041F\u0430\u043A\u0435\u0442(\u0438\u043C\u044F)";
|
|
45
45
|
static readonly packageThisPackageField = "\u0432\u0441\u0435\u043E\u0431\u0449\u0435\u0435 \u0410\u0440\u0442\u0435\u043B\u044C.\u041F\u0430\u043A\u0435\u0442.\u0441\u0432\u043E\u0439-\u043F\u0430\u043A\u0435\u0442";
|
|
46
46
|
static readonly packageMainPackageField = "\u0432\u0441\u0435\u043E\u0431\u0449\u0435\u0435 \u0410\u0440\u0442\u0435\u043B\u044C.\u041F\u0430\u043A\u0435\u0442.\u0433\u043B\u0430\u0432\u043D\u044B\u0439-\u043F\u0430\u043A\u0435\u0442";
|
|
47
|
-
static readonly errorConstructor = "\u0410\u0440\u0442\u0435\u043B\u044C.\u041E\u0448\u0438\u0431\u043A\u0430";
|
|
47
|
+
static readonly errorConstructor = "\u0410\u0440\u0442\u0435\u043B\u044C.\u041E\u0448\u0438\u0431\u043A\u0430(\u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435)";
|
|
48
48
|
static readonly translatorAddTranslationToLocaleMethod = "\u0432\u0441\u0435\u043E\u0431\u0449\u0435\u0435 \u0410\u0440\u0442\u0435\u043B\u044C.\u041F\u0435\u0440\u0435\u0432\u043E\u0434\u0447\u0438\u043A.\u0434\u043E\u0431\u0430\u0432\u0438\u0442\u044C-\u043F\u0435\u0440\u0435\u0432\u043E\u0434-\u043D\u0430-\u044F\u0437\u044B\u043A";
|
|
49
49
|
static readonly translatorLanguageField = "\u0432\u0441\u0435\u043E\u0431\u0449\u0435\u0435 \u0410\u0440\u0442\u0435\u043B\u044C.\u041F\u0435\u0440\u0435\u0432\u043E\u0434\u0447\u0438\u043A.\u044F\u0437\u044B\u043A";
|
|
50
50
|
}
|
|
@@ -42,43 +42,43 @@ export declare enum Диалект {
|
|
|
42
42
|
АртельА = "\u0410\u0440\u0442\u0435\u043B\u044C-\u0410",
|
|
43
43
|
АртельМ = "\u0410\u0440\u0442\u0435\u043B\u044C-\u041C"
|
|
44
44
|
}
|
|
45
|
-
export type ЦелеваяПлатформа =
|
|
46
|
-
export interface
|
|
47
|
-
тип: '
|
|
48
|
-
реализацияИнтерфейсногоПакета?:
|
|
49
|
-
|
|
50
|
-
}
|
|
51
|
-
export type
|
|
52
|
-
|
|
45
|
+
export type ЦелеваяПлатформа = ПлатформаДжаваСкрипт | ПлатформаДотНет | ПлатформаЛюбая;
|
|
46
|
+
export interface ПлатформаДжаваСкрипт {
|
|
47
|
+
тип: 'ПлатформаДжаваСкрипт';
|
|
48
|
+
реализацияИнтерфейсногоПакета?: РеализацияИнтерфейсногоПакетаНаДжаваСкрипт;
|
|
49
|
+
пакетыЗагружаемыеИзФайловDts?: ПакетИзФайловDts[];
|
|
50
|
+
}
|
|
51
|
+
export type РеализацияИнтерфейсногоПакетаНаДжаваСкрипт = РеализацияНаДжаваСкрипт & {
|
|
52
|
+
загрузитьИзФайловDts?: ДаНет;
|
|
53
53
|
};
|
|
54
|
-
export type
|
|
55
|
-
export interface
|
|
56
|
-
тип: '
|
|
54
|
+
export type РеализацияНаДжаваСкрипт = МодульДжаваСкрипт | ГлобальныеОбъявленияДжаваСкрипт | ОбластьИмёнИлиВложенныйМодульДжаваСкрипт;
|
|
55
|
+
export interface МодульДжаваСкрипт {
|
|
56
|
+
тип: 'МодульДжаваСкрипт';
|
|
57
57
|
имяМодуля: string;
|
|
58
58
|
имяПакетаNpm: string;
|
|
59
|
-
форматМодуля:
|
|
59
|
+
форматМодуля: ФорматМодуляДжаваСкрипт;
|
|
60
60
|
}
|
|
61
|
-
export declare enum
|
|
61
|
+
export declare enum ФорматМодуляДжаваСкрипт {
|
|
62
62
|
Esm = "esm",
|
|
63
63
|
Cjs = "cjs"
|
|
64
64
|
}
|
|
65
|
-
export interface
|
|
66
|
-
тип: '
|
|
65
|
+
export interface ГлобальныеОбъявленияДжаваСкрипт {
|
|
66
|
+
тип: 'ГлобальныеОбъявленияДжаваСкрипт';
|
|
67
67
|
имяПакетаNpm: string;
|
|
68
68
|
файлыСтандартнойБиблиотеки?: string[];
|
|
69
69
|
}
|
|
70
|
-
export interface
|
|
71
|
-
тип: '
|
|
70
|
+
export interface ОбластьИмёнИлиВложенныйМодульДжаваСкрипт {
|
|
71
|
+
тип: 'ОбластьИмёнИлиВложенныйМодульДжаваСкрипт';
|
|
72
72
|
областьИмёнИлиВложенныйМодуль: string;
|
|
73
|
-
реализацияВладельца:
|
|
73
|
+
реализацияВладельца: ВладелецОбластиИмёнИлиВложенногоМодуляДжаваСкрипт;
|
|
74
74
|
}
|
|
75
|
-
export type
|
|
76
|
-
export interface
|
|
75
|
+
export type ВладелецОбластиИмёнИлиВложенногоМодуляДжаваСкрипт = МодульДжаваСкрипт | ГлобальныеОбъявленияДжаваСкрипт;
|
|
76
|
+
export interface ПакетИзФайловDts {
|
|
77
77
|
имяПакетаАртель: string;
|
|
78
|
-
реализация:
|
|
78
|
+
реализация: РеализацияНаДжаваСкрипт;
|
|
79
79
|
}
|
|
80
|
-
export interface
|
|
81
|
-
тип: '
|
|
80
|
+
export interface ПлатформаДотНет {
|
|
81
|
+
тип: 'ПлатформаДотНет';
|
|
82
82
|
}
|
|
83
83
|
export interface ПлатформаЛюбая {
|
|
84
84
|
тип: 'ПлатформаЛюбая';
|