@xibosignage/xibo-layout-renderer 1.0.17 → 1.0.18
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/dist/src/Lib/translations.d.ts +12 -0
- package/dist/src/Modules/ActionController/ActionController.d.ts +5 -0
- package/dist/src/Types/Layout/Layout.types.d.ts +2 -0
- package/dist/src/Types/XLR/XLR.types.d.ts +2 -0
- package/dist/xibo-layout-renderer.cjs.js +228 -60
- package/dist/xibo-layout-renderer.cjs.js.map +1 -1
- package/dist/xibo-layout-renderer.d.ts +9 -0
- package/dist/xibo-layout-renderer.esm.js +228 -60
- package/dist/xibo-layout-renderer.esm.js.map +1 -1
- package/dist/xibo-layout-renderer.js +228 -60
- package/dist/xibo-layout-renderer.min.js +9 -9
- package/dist/xibo-layout-renderer.min.js.map +1 -1
- package/package.json +1 -1
|
@@ -24,6 +24,8 @@ interface IXlr {
|
|
|
24
24
|
prepareLayouts(): Promise<IXlr>;
|
|
25
25
|
updateLayouts(inputLayouts: InputLayoutType[]): void;
|
|
26
26
|
updateLoop(inputLayouts: InputLayoutType[]): void;
|
|
27
|
+
gotoPrevLayout(): void;
|
|
28
|
+
gotoNextLayout(): void;
|
|
27
29
|
}
|
|
28
30
|
declare const initialXlr: IXlr;
|
|
29
31
|
|
|
@@ -150,12 +152,17 @@ declare class ActionController {
|
|
|
150
152
|
readonly parent: ILayout;
|
|
151
153
|
readonly actions: Action[];
|
|
152
154
|
readonly options: InactOptions;
|
|
155
|
+
readonly $container: HTMLElement | null;
|
|
153
156
|
readonly $actionController: ActionsWrapper;
|
|
154
157
|
readonly $actionListContainer: Element | null;
|
|
158
|
+
$actionControllerTitle: HTMLElement | null;
|
|
159
|
+
$actionsContainer: HTMLElement | null;
|
|
155
160
|
translations: any;
|
|
156
161
|
constructor(parent: ILayout, actions: Action[], options: InactOptions);
|
|
157
162
|
init(): void;
|
|
158
163
|
openLayoutInNewTab(layoutCode: string, options: InactOptions): void;
|
|
164
|
+
openLayoutInPlayer(layoutCode: string, options: InactOptions): void;
|
|
165
|
+
prevOrNextLayout(targetId: string, actionType: string): void;
|
|
159
166
|
/** Change media in region (next/previous) */
|
|
160
167
|
nextMediaInRegion(regionId: string, actionType: string): void;
|
|
161
168
|
loadMediaInRegion(regionId: string, widgetId: string): void;
|
|
@@ -234,6 +241,8 @@ interface ILayout {
|
|
|
234
241
|
index: number;
|
|
235
242
|
actionController: ActionController | undefined;
|
|
236
243
|
enableStat: boolean;
|
|
244
|
+
xlr: IXlr;
|
|
245
|
+
finishAllRegions(): Promise<void[]>;
|
|
237
246
|
}
|
|
238
247
|
declare const initialLayout: ILayout;
|
|
239
248
|
type GetLayoutParamType = {
|