@arcgis/lumina-compiler 4.33.0-next.6 → 4.33.0-next.60
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import ts from "typescript";
|
|
2
2
|
import { ApiExtractor } from "@arcgis/api-extractor";
|
|
3
|
-
import type { ApiAttribute, ApiClassMethod, ApiCustomElementDeclaration, ApiCustomElementField, ApiCustomElementMember, ApiDeclaration, ApiEvent, ApiExport, ApiJson, ApiModule } from "@arcgis/api-extractor";
|
|
3
|
+
import type { ApiAttribute, ApiClassMethod, ApiCustomElementDeclaration, ApiCustomElementField, ApiCustomElementMember, ApiDeclaration, ApiEvent, ApiExport, ApiJson, ApiModule, ApiReference } from "@arcgis/api-extractor";
|
|
4
4
|
import type { CompilerContext } from "../context";
|
|
5
5
|
export declare class LuminaApiExtractor extends ApiExtractor {
|
|
6
6
|
context: CompilerContext;
|
|
@@ -8,7 +8,7 @@ export declare class LuminaApiExtractor extends ApiExtractor {
|
|
|
8
8
|
constructor(context: CompilerContext, isPathOnly: boolean);
|
|
9
9
|
protected localCssImports?: Set<string>;
|
|
10
10
|
protected localDeclaredComponents: Map<string, string>;
|
|
11
|
-
protected
|
|
11
|
+
protected indexedComponents: Map<string, ApiCustomElementDeclaration>;
|
|
12
12
|
protected apiComponent: ApiCustomElementDeclaration;
|
|
13
13
|
protected pairedSetter: ts.SetAccessorDeclaration | undefined;
|
|
14
14
|
extract(files: readonly ts.SourceFile[]): ApiJson;
|
|
@@ -44,7 +44,7 @@ export declare class LuminaApiExtractor extends ApiExtractor {
|
|
|
44
44
|
* needs to be in a a file named like a component
|
|
45
45
|
* (src/components/name/name.tsx), even if it is not a standalone component.
|
|
46
46
|
*/
|
|
47
|
-
protected inheritMembers(component: ApiCustomElementDeclaration, modules: ApiModule[], existingMembers?: Set<string>, existingAttributes?: Set<string>, existingEvents?: Set<string>): void;
|
|
47
|
+
protected inheritMembers(component: ApiCustomElementDeclaration, modules: ApiModule[], superClass?: ApiReference, existingMembers?: Set<string>, existingAttributes?: Set<string>, existingEvents?: Set<string>): void;
|
|
48
48
|
private _resolvedInheritance;
|
|
49
49
|
/**
|
|
50
50
|
* Based on the superclass name, find the actual declaration in the modules.
|
|
@@ -9,4 +9,4 @@ export declare function buildApiJson(context: CompilerContext, isFirstGenerate:
|
|
|
9
9
|
* Update the api.json for a single file on hot reload
|
|
10
10
|
*/
|
|
11
11
|
export declare function patchApiJson(context: CompilerContext, fileName: string, code: string): ApiCustomElementDeclaration[] | undefined;
|
|
12
|
-
export declare function postProcessComponent(component: ApiCustomElementDeclaration, context: CompilerContext,
|
|
12
|
+
export declare function postProcessComponent(component: ApiCustomElementDeclaration, context: CompilerContext, indexedComponents: Map<string, ApiCustomElementDeclaration>): void;
|