-
Notifications
You must be signed in to change notification settings - Fork 174
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
998 additions
and
2,045 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2,058 changes: 439 additions & 1,619 deletions
2,058
client-frameworks-support/testing-utilities/test/package-lock.json
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
export interface IframeHandle { | ||
data?: string; | ||
iframe: HTMLIFrameElement; | ||
} | ||
|
||
export interface ContainerElement extends HTMLElement { | ||
iframeHandle?: IframeHandle; | ||
[key: string]: any; // eslint-disable-line @typescript-eslint/no-explicit-any | ||
} | ||
|
||
export interface LayoutConfig { | ||
column?: string; | ||
row?: string; | ||
slot?: string; | ||
} | ||
|
||
export interface RendererLayout { | ||
columns?: string; | ||
gap?: number; | ||
maxWidth?: number; | ||
minHeight?: number; | ||
minWidth?: number; | ||
rows?: string; | ||
} | ||
|
||
export interface RendererConfig extends RendererLayout { | ||
layouts?: RendererLayout[]; | ||
} | ||
|
||
export interface RendererUseProps { | ||
attachCompoundItem?: (compoundCnt, compoundItemCnt, renderer) => void; | ||
createCompoundContainer?: (config, renderer) => HTMLDivElement; | ||
createCompoundItemContainer?: (layoutConfig, config?, renderer?) => HTMLDivElement; | ||
extends?: string; | ||
} | ||
|
||
export interface RendererObject { | ||
config?: RendererConfig; | ||
use?: RendererUseProps | string; | ||
} | ||
|
||
export interface WebComponentNode { | ||
compound?: { | ||
renderer?: RendererObject; | ||
[key: string]: any; // eslint-disable-line @typescript-eslint/no-explicit-any | ||
}; | ||
webcomponent?: { | ||
selfRegistered?: boolean; | ||
tagName?: string; | ||
[key: string]: any; // eslint-disable-line @typescript-eslint/no-explicit-any | ||
}; | ||
viewUrl?: string; | ||
} | ||
|
||
export interface WebComponentRenderer { | ||
createCompoundContainer?: () => HTMLDivElement; | ||
viewUrl?: string; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.