@mtngtools/frame-vue 0.0.0-experimental.0
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/README.md +36 -0
- package/dist/components/SampleGreeting.vue.d.ts +6 -0
- package/dist/components/SampleGreeting.vue.d.ts.map +1 -0
- package/dist/components/live/LiveFrame/LiveFrame.vue.d.ts +76 -0
- package/dist/components/live/LiveFrame/LiveFrame.vue.d.ts.map +1 -0
- package/dist/components/live/LiveFrame/helpers.test.d.ts +865 -0
- package/dist/components/live/LiveFrame/helpers.test.d.ts.map +1 -0
- package/dist/components/live/LiveFrame/index.browser.test.d.ts +2 -0
- package/dist/components/live/LiveFrame/index.browser.test.d.ts.map +1 -0
- package/dist/components/live/LiveFrame/index.d.ts +2 -0
- package/dist/components/live/LiveFrame/index.d.ts.map +1 -0
- package/dist/components/live/LiveFrame/index.test.d.ts +2 -0
- package/dist/components/live/LiveFrame/index.test.d.ts.map +1 -0
- package/dist/components/live/SidePanelButtonGroup/SidePanelButtonGroup.vue.d.ts +45 -0
- package/dist/components/live/SidePanelButtonGroup/SidePanelButtonGroup.vue.d.ts.map +1 -0
- package/dist/components/live/SidePanelButtonGroup/index.d.ts +2 -0
- package/dist/components/live/SidePanelButtonGroup/index.d.ts.map +1 -0
- package/dist/components/live/SidePanelControlButton/SidePanelControlButton.vue.d.ts +38 -0
- package/dist/components/live/SidePanelControlButton/SidePanelControlButton.vue.d.ts.map +1 -0
- package/dist/components/live/SidePanelControlButton/index.d.ts +2 -0
- package/dist/components/live/SidePanelControlButton/index.d.ts.map +1 -0
- package/dist/components/live/SidePanelFrame/SidePanelFrame.vue.d.ts +52 -0
- package/dist/components/live/SidePanelFrame/SidePanelFrame.vue.d.ts.map +1 -0
- package/dist/components/live/SidePanelFrame/index.d.ts +2 -0
- package/dist/components/live/SidePanelFrame/index.d.ts.map +1 -0
- package/dist/components/live/SidePanelHeader/SidePanelHeader.vue.d.ts +41 -0
- package/dist/components/live/SidePanelHeader/SidePanelHeader.vue.d.ts.map +1 -0
- package/dist/components/live/SidePanelHeader/index.d.ts +2 -0
- package/dist/components/live/SidePanelHeader/index.d.ts.map +1 -0
- package/dist/components/live/SidePanelOverlay/SidePanelOverlay.vue.d.ts +17 -0
- package/dist/components/live/SidePanelOverlay/SidePanelOverlay.vue.d.ts.map +1 -0
- package/dist/components/live/SidePanelOverlay/index.d.ts +2 -0
- package/dist/components/live/SidePanelOverlay/index.d.ts.map +1 -0
- package/dist/components/live/index.d.ts +8 -0
- package/dist/components/live/index.d.ts.map +1 -0
- package/dist/components/live/spec/test-utils/liveScenarioRunner.d.ts +37 -0
- package/dist/components/live/spec/test-utils/liveScenarioRunner.d.ts.map +1 -0
- package/dist/components/live/types.d.ts +15 -0
- package/dist/components/live/types.d.ts.map +1 -0
- package/dist/composables/useCounter.d.ts +10 -0
- package/dist/composables/useCounter.d.ts.map +1 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +848 -0
- package/package.json +65 -0
|
@@ -0,0 +1,865 @@
|
|
|
1
|
+
import { nextTick } from 'vue';
|
|
2
|
+
import { VueWrapper } from '@vue/test-utils';
|
|
3
|
+
import { LiveBrowserSize, LiveScenarioExpectation, MountAndRunScenariosConfig } from '../spec/test-utils/liveScenarioRunner';
|
|
4
|
+
export declare class ResizeObserverMock {
|
|
5
|
+
observe(): void;
|
|
6
|
+
disconnect(): void;
|
|
7
|
+
unobserve(): void;
|
|
8
|
+
}
|
|
9
|
+
type BorderSide = 'top' | 'right' | 'bottom' | 'left';
|
|
10
|
+
type DiffComparison = 'lt' | 'lte' | 'eq' | 'gte' | 'gt';
|
|
11
|
+
type ExpectedAutoResolvedMode = 'bottom' | 'right' | 'full' | 'minimized';
|
|
12
|
+
type BreakPointScenarioBucket = 'taller-than-auto-bottom' | 'wider-than-auto-right' | 'between-ratios-narrower-than-controls-overlay-only' | 'between-ratios-wider-than-side-panel-breakpoint' | 'between-ratios-between-controls-and-side-panel-breakpoints';
|
|
13
|
+
interface BorderFixtureContext {
|
|
14
|
+
wrapper: VueWrapper;
|
|
15
|
+
mainElement: HTMLElement;
|
|
16
|
+
defaultContent: HTMLElement;
|
|
17
|
+
/** Present in non-minimized states; null when minimized (slot content not rendered). */
|
|
18
|
+
sidePanelContent: HTMLElement | null;
|
|
19
|
+
sidePanelFrame: HTMLElement;
|
|
20
|
+
sidePanelHeader: HTMLElement;
|
|
21
|
+
}
|
|
22
|
+
export interface SidePanelAvailabilityPayload {
|
|
23
|
+
availableStates: string[];
|
|
24
|
+
sidePanelMode: string;
|
|
25
|
+
sidePanelModeResolved: string;
|
|
26
|
+
overlayOnly: boolean;
|
|
27
|
+
}
|
|
28
|
+
export interface BreakPointScenarioSize {
|
|
29
|
+
describeLabel: string;
|
|
30
|
+
bucket: BreakPointScenarioBucket;
|
|
31
|
+
size: LiveBrowserSize;
|
|
32
|
+
expectOverlayOnly: boolean;
|
|
33
|
+
expectedAutoResolvedMode: ExpectedAutoResolvedMode;
|
|
34
|
+
}
|
|
35
|
+
export interface BorderFixtureAssertion {
|
|
36
|
+
label: string;
|
|
37
|
+
run: (ctx: BorderFixtureContext) => void;
|
|
38
|
+
}
|
|
39
|
+
export declare function expectedLocOfContentBorderVSidePanelBorderDiff(contentEdge: BorderSide, sidePanelEdge: BorderSide, comparison: DiffComparison, expected: number, options?: {
|
|
40
|
+
tolerancePx?: number;
|
|
41
|
+
label?: string;
|
|
42
|
+
}): BorderFixtureAssertion;
|
|
43
|
+
export declare function expectedLocOfContentBorderVSidePanelFrameDiff(contentEdge: BorderSide, sidePanelEdge: BorderSide, comparison: DiffComparison, expected: number, options?: {
|
|
44
|
+
tolerancePx?: number;
|
|
45
|
+
label?: string;
|
|
46
|
+
}): BorderFixtureAssertion;
|
|
47
|
+
export declare function expectBorderFixturesWithAssertions(wrapper: VueWrapper, assertions: BorderFixtureAssertion[], options?: {
|
|
48
|
+
requireSidePanelContent?: boolean;
|
|
49
|
+
}): void;
|
|
50
|
+
export declare function getLatestAvailabilityPayload(wrapper: VueWrapper): SidePanelAvailabilityPayload;
|
|
51
|
+
/** Wait for component to emit minimized state so layout assertions run after DOM/state have updated (avoids fake-timer race where we read stale payload and no-op). */
|
|
52
|
+
export declare function waitForMinimizedState(wrapper: VueWrapper, maxTicks?: number): Promise<void>;
|
|
53
|
+
/** Assertion for runOncePerResolutionCheck step 3: when minimized, the header expand button (requests 'auto') is visible. */
|
|
54
|
+
export declare function expectHeaderExpandButtonVisibleWhenMinimized(): LiveScenarioExpectation<VueWrapper>;
|
|
55
|
+
export declare function buildBorderVisibilityAndLocationAssertions(): BorderFixtureAssertion[];
|
|
56
|
+
export declare function buildScenarioExpectsFromBorderAssertions(assertions: BorderFixtureAssertion[], options?: {
|
|
57
|
+
requireSidePanelContent?: boolean;
|
|
58
|
+
}): Array<LiveScenarioExpectation<VueWrapper>>;
|
|
59
|
+
export declare function getControlButton(wrapper: VueWrapper, label: string): import('@vue/test-utils').DOMWrapper<HTMLButtonElement> | undefined;
|
|
60
|
+
export declare function expectButtonsToBeVisible(wrapper: VueWrapper, labels: string[]): void;
|
|
61
|
+
export declare function mountLiveFrame(): VueWrapper<{
|
|
62
|
+
readonly sidePanelPosition?: import('..').SidePanelModeSelectable | undefined;
|
|
63
|
+
readonly mainContentAspectRatio?: string | number | undefined;
|
|
64
|
+
readonly autoBottomAspectRatioBreakpoint?: number | undefined;
|
|
65
|
+
readonly autoRightAspectRatioBreakpoint?: number | undefined;
|
|
66
|
+
readonly sidePanelBreakpoint?: string | undefined;
|
|
67
|
+
readonly controlsOverlayOnly?: string | undefined;
|
|
68
|
+
readonly autoHideTimeout?: number | undefined;
|
|
69
|
+
readonly layoutDebounceMs?: number | undefined;
|
|
70
|
+
readonly sidePanelMinRight?: string | undefined;
|
|
71
|
+
readonly sidePanelMaxRight?: string | undefined;
|
|
72
|
+
readonly sidePanelMaxRightWide?: string | undefined;
|
|
73
|
+
readonly sidePanelMinBottom?: string | undefined;
|
|
74
|
+
readonly sidePanelMaxBottom?: string | undefined;
|
|
75
|
+
readonly sidePanelMaxBottomTall?: string | undefined;
|
|
76
|
+
readonly "onUpdate:sidePanelPosition"?: ((mode: import('..').SidePanelModeSelectable) => any) | undefined;
|
|
77
|
+
readonly onSidePanelTransition?: ((payload: import('..').SidePanelTransitionPayload) => any) | undefined;
|
|
78
|
+
readonly onSidePanelAvailableStates?: ((payload: import('..').SidePanelAvailableStatesPayload) => any) | undefined;
|
|
79
|
+
readonly onDefaultSlotResize?: ((payload: {
|
|
80
|
+
width: number;
|
|
81
|
+
height: number;
|
|
82
|
+
}) => any) | undefined;
|
|
83
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
|
|
84
|
+
$: import('vue').ComponentInternalInstance;
|
|
85
|
+
$data: {};
|
|
86
|
+
$props: {
|
|
87
|
+
readonly sidePanelPosition?: import('..').SidePanelModeSelectable | undefined;
|
|
88
|
+
readonly mainContentAspectRatio?: string | number | undefined;
|
|
89
|
+
readonly autoBottomAspectRatioBreakpoint?: number | undefined;
|
|
90
|
+
readonly autoRightAspectRatioBreakpoint?: number | undefined;
|
|
91
|
+
readonly sidePanelBreakpoint?: string | undefined;
|
|
92
|
+
readonly controlsOverlayOnly?: string | undefined;
|
|
93
|
+
readonly autoHideTimeout?: number | undefined;
|
|
94
|
+
readonly layoutDebounceMs?: number | undefined;
|
|
95
|
+
readonly sidePanelMinRight?: string | undefined;
|
|
96
|
+
readonly sidePanelMaxRight?: string | undefined;
|
|
97
|
+
readonly sidePanelMaxRightWide?: string | undefined;
|
|
98
|
+
readonly sidePanelMinBottom?: string | undefined;
|
|
99
|
+
readonly sidePanelMaxBottom?: string | undefined;
|
|
100
|
+
readonly sidePanelMaxBottomTall?: string | undefined;
|
|
101
|
+
readonly "onUpdate:sidePanelPosition"?: ((mode: import('..').SidePanelModeSelectable) => any) | undefined;
|
|
102
|
+
readonly onSidePanelTransition?: ((payload: import('..').SidePanelTransitionPayload) => any) | undefined;
|
|
103
|
+
readonly onSidePanelAvailableStates?: ((payload: import('..').SidePanelAvailableStatesPayload) => any) | undefined;
|
|
104
|
+
readonly onDefaultSlotResize?: ((payload: {
|
|
105
|
+
width: number;
|
|
106
|
+
height: number;
|
|
107
|
+
}) => any) | undefined;
|
|
108
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
109
|
+
$attrs: {
|
|
110
|
+
[x: string]: unknown;
|
|
111
|
+
};
|
|
112
|
+
$refs: {
|
|
113
|
+
[x: string]: unknown;
|
|
114
|
+
} & {
|
|
115
|
+
rootRef: HTMLElement;
|
|
116
|
+
headerRef: HTMLElement;
|
|
117
|
+
defaultRef: HTMLElement;
|
|
118
|
+
};
|
|
119
|
+
$slots: Readonly<{
|
|
120
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
121
|
+
}>;
|
|
122
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
123
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
124
|
+
$host: Element | null;
|
|
125
|
+
$emit: ((event: "update:sidePanelPosition", mode: import('..').SidePanelModeSelectable) => void) & ((event: "sidePanelTransition", payload: import('..').SidePanelTransitionPayload) => void) & ((event: "sidePanelAvailableStates", payload: import('..').SidePanelAvailableStatesPayload) => void) & ((event: "defaultSlotResize", payload: {
|
|
126
|
+
width: number;
|
|
127
|
+
height: number;
|
|
128
|
+
}) => void);
|
|
129
|
+
$el: HTMLElement;
|
|
130
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
131
|
+
sidePanelPosition?: import('..').SidePanelModeSelectable;
|
|
132
|
+
mainContentAspectRatio?: string | number;
|
|
133
|
+
autoBottomAspectRatioBreakpoint?: number;
|
|
134
|
+
autoRightAspectRatioBreakpoint?: number;
|
|
135
|
+
sidePanelBreakpoint?: string;
|
|
136
|
+
controlsOverlayOnly?: string;
|
|
137
|
+
autoHideTimeout?: number;
|
|
138
|
+
layoutDebounceMs?: number;
|
|
139
|
+
sidePanelMinRight?: string;
|
|
140
|
+
sidePanelMaxRight?: string;
|
|
141
|
+
sidePanelMaxRightWide?: string;
|
|
142
|
+
sidePanelMinBottom?: string;
|
|
143
|
+
sidePanelMaxBottom?: string;
|
|
144
|
+
sidePanelMaxBottomTall?: string;
|
|
145
|
+
}> & Readonly<{
|
|
146
|
+
"onUpdate:sidePanelPosition"?: ((mode: import('..').SidePanelModeSelectable) => any) | undefined;
|
|
147
|
+
onSidePanelTransition?: ((payload: import('..').SidePanelTransitionPayload) => any) | undefined;
|
|
148
|
+
onSidePanelAvailableStates?: ((payload: import('..').SidePanelAvailableStatesPayload) => any) | undefined;
|
|
149
|
+
onDefaultSlotResize?: ((payload: {
|
|
150
|
+
width: number;
|
|
151
|
+
height: number;
|
|
152
|
+
}) => any) | undefined;
|
|
153
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
154
|
+
"update:sidePanelPosition": (mode: import('..').SidePanelModeSelectable) => any;
|
|
155
|
+
sidePanelTransition: (payload: import('..').SidePanelTransitionPayload) => any;
|
|
156
|
+
sidePanelAvailableStates: (payload: import('..').SidePanelAvailableStatesPayload) => any;
|
|
157
|
+
defaultSlotResize: (payload: {
|
|
158
|
+
width: number;
|
|
159
|
+
height: number;
|
|
160
|
+
}) => any;
|
|
161
|
+
}, string, {
|
|
162
|
+
sidePanelPosition: import('..').SidePanelModeSelectable;
|
|
163
|
+
mainContentAspectRatio: string | number;
|
|
164
|
+
autoBottomAspectRatioBreakpoint: number;
|
|
165
|
+
autoRightAspectRatioBreakpoint: number;
|
|
166
|
+
sidePanelBreakpoint: string;
|
|
167
|
+
controlsOverlayOnly: string;
|
|
168
|
+
autoHideTimeout: number;
|
|
169
|
+
layoutDebounceMs: number;
|
|
170
|
+
sidePanelMinRight: string;
|
|
171
|
+
sidePanelMaxRight: string;
|
|
172
|
+
sidePanelMaxRightWide: string;
|
|
173
|
+
sidePanelMinBottom: string;
|
|
174
|
+
sidePanelMaxBottom: string;
|
|
175
|
+
sidePanelMaxBottomTall: string;
|
|
176
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
177
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
178
|
+
created?: (() => void) | (() => void)[];
|
|
179
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
180
|
+
mounted?: (() => void) | (() => void)[];
|
|
181
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
182
|
+
updated?: (() => void) | (() => void)[];
|
|
183
|
+
activated?: (() => void) | (() => void)[];
|
|
184
|
+
deactivated?: (() => void) | (() => void)[];
|
|
185
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
186
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
187
|
+
destroyed?: (() => void) | (() => void)[];
|
|
188
|
+
unmounted?: (() => void) | (() => void)[];
|
|
189
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
190
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
191
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
192
|
+
};
|
|
193
|
+
$forceUpdate: () => void;
|
|
194
|
+
$nextTick: typeof nextTick;
|
|
195
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
196
|
+
} & Readonly<{
|
|
197
|
+
sidePanelPosition: import('..').SidePanelModeSelectable;
|
|
198
|
+
mainContentAspectRatio: string | number;
|
|
199
|
+
autoBottomAspectRatioBreakpoint: number;
|
|
200
|
+
autoRightAspectRatioBreakpoint: number;
|
|
201
|
+
sidePanelBreakpoint: string;
|
|
202
|
+
controlsOverlayOnly: string;
|
|
203
|
+
autoHideTimeout: number;
|
|
204
|
+
layoutDebounceMs: number;
|
|
205
|
+
sidePanelMinRight: string;
|
|
206
|
+
sidePanelMaxRight: string;
|
|
207
|
+
sidePanelMaxRightWide: string;
|
|
208
|
+
sidePanelMinBottom: string;
|
|
209
|
+
sidePanelMaxBottom: string;
|
|
210
|
+
sidePanelMaxBottomTall: string;
|
|
211
|
+
}> & Omit<Readonly<{
|
|
212
|
+
sidePanelPosition?: import('..').SidePanelModeSelectable;
|
|
213
|
+
mainContentAspectRatio?: string | number;
|
|
214
|
+
autoBottomAspectRatioBreakpoint?: number;
|
|
215
|
+
autoRightAspectRatioBreakpoint?: number;
|
|
216
|
+
sidePanelBreakpoint?: string;
|
|
217
|
+
controlsOverlayOnly?: string;
|
|
218
|
+
autoHideTimeout?: number;
|
|
219
|
+
layoutDebounceMs?: number;
|
|
220
|
+
sidePanelMinRight?: string;
|
|
221
|
+
sidePanelMaxRight?: string;
|
|
222
|
+
sidePanelMaxRightWide?: string;
|
|
223
|
+
sidePanelMinBottom?: string;
|
|
224
|
+
sidePanelMaxBottom?: string;
|
|
225
|
+
sidePanelMaxBottomTall?: string;
|
|
226
|
+
}> & Readonly<{
|
|
227
|
+
"onUpdate:sidePanelPosition"?: ((mode: import('..').SidePanelModeSelectable) => any) | undefined;
|
|
228
|
+
onSidePanelTransition?: ((payload: import('..').SidePanelTransitionPayload) => any) | undefined;
|
|
229
|
+
onSidePanelAvailableStates?: ((payload: import('..').SidePanelAvailableStatesPayload) => any) | undefined;
|
|
230
|
+
onDefaultSlotResize?: ((payload: {
|
|
231
|
+
width: number;
|
|
232
|
+
height: number;
|
|
233
|
+
}) => any) | undefined;
|
|
234
|
+
}>, "sidePanelPosition" | "mainContentAspectRatio" | "autoBottomAspectRatioBreakpoint" | "autoRightAspectRatioBreakpoint" | "sidePanelBreakpoint" | "controlsOverlayOnly" | "autoHideTimeout" | "layoutDebounceMs" | "sidePanelMinRight" | "sidePanelMaxRight" | "sidePanelMaxRightWide" | "sidePanelMinBottom" | "sidePanelMaxBottom" | "sidePanelMaxBottomTall"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
235
|
+
$slots: {
|
|
236
|
+
header?(_: {}): any;
|
|
237
|
+
default?(_: {}): any;
|
|
238
|
+
sidePanelContent?(_: {}): any;
|
|
239
|
+
};
|
|
240
|
+
}, import('vue').ComponentPublicInstance<NonNullable<{
|
|
241
|
+
readonly sidePanelPosition?: import('..').SidePanelModeSelectable | undefined;
|
|
242
|
+
readonly mainContentAspectRatio?: string | number | undefined;
|
|
243
|
+
readonly autoBottomAspectRatioBreakpoint?: number | undefined;
|
|
244
|
+
readonly autoRightAspectRatioBreakpoint?: number | undefined;
|
|
245
|
+
readonly sidePanelBreakpoint?: string | undefined;
|
|
246
|
+
readonly controlsOverlayOnly?: string | undefined;
|
|
247
|
+
readonly autoHideTimeout?: number | undefined;
|
|
248
|
+
readonly layoutDebounceMs?: number | undefined;
|
|
249
|
+
readonly sidePanelMinRight?: string | undefined;
|
|
250
|
+
readonly sidePanelMaxRight?: string | undefined;
|
|
251
|
+
readonly sidePanelMaxRightWide?: string | undefined;
|
|
252
|
+
readonly sidePanelMinBottom?: string | undefined;
|
|
253
|
+
readonly sidePanelMaxBottom?: string | undefined;
|
|
254
|
+
readonly sidePanelMaxBottomTall?: string | undefined;
|
|
255
|
+
readonly "onUpdate:sidePanelPosition"?: ((mode: import('..').SidePanelModeSelectable) => any) | undefined;
|
|
256
|
+
readonly onSidePanelTransition?: ((payload: import('..').SidePanelTransitionPayload) => any) | undefined;
|
|
257
|
+
readonly onSidePanelAvailableStates?: ((payload: import('..').SidePanelAvailableStatesPayload) => any) | undefined;
|
|
258
|
+
readonly onDefaultSlotResize?: ((payload: {
|
|
259
|
+
width: number;
|
|
260
|
+
height: number;
|
|
261
|
+
}) => any) | undefined;
|
|
262
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps>, {
|
|
263
|
+
$: import('vue').ComponentInternalInstance;
|
|
264
|
+
$data: {};
|
|
265
|
+
$props: {
|
|
266
|
+
readonly sidePanelPosition?: import('..').SidePanelModeSelectable | undefined;
|
|
267
|
+
readonly mainContentAspectRatio?: string | number | undefined;
|
|
268
|
+
readonly autoBottomAspectRatioBreakpoint?: number | undefined;
|
|
269
|
+
readonly autoRightAspectRatioBreakpoint?: number | undefined;
|
|
270
|
+
readonly sidePanelBreakpoint?: string | undefined;
|
|
271
|
+
readonly controlsOverlayOnly?: string | undefined;
|
|
272
|
+
readonly autoHideTimeout?: number | undefined;
|
|
273
|
+
readonly layoutDebounceMs?: number | undefined;
|
|
274
|
+
readonly sidePanelMinRight?: string | undefined;
|
|
275
|
+
readonly sidePanelMaxRight?: string | undefined;
|
|
276
|
+
readonly sidePanelMaxRightWide?: string | undefined;
|
|
277
|
+
readonly sidePanelMinBottom?: string | undefined;
|
|
278
|
+
readonly sidePanelMaxBottom?: string | undefined;
|
|
279
|
+
readonly sidePanelMaxBottomTall?: string | undefined;
|
|
280
|
+
readonly "onUpdate:sidePanelPosition"?: ((mode: import('..').SidePanelModeSelectable) => any) | undefined;
|
|
281
|
+
readonly onSidePanelTransition?: ((payload: import('..').SidePanelTransitionPayload) => any) | undefined;
|
|
282
|
+
readonly onSidePanelAvailableStates?: ((payload: import('..').SidePanelAvailableStatesPayload) => any) | undefined;
|
|
283
|
+
readonly onDefaultSlotResize?: ((payload: {
|
|
284
|
+
width: number;
|
|
285
|
+
height: number;
|
|
286
|
+
}) => any) | undefined;
|
|
287
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
288
|
+
$attrs: {
|
|
289
|
+
[x: string]: unknown;
|
|
290
|
+
};
|
|
291
|
+
$refs: {
|
|
292
|
+
[x: string]: unknown;
|
|
293
|
+
} & {
|
|
294
|
+
rootRef: HTMLElement;
|
|
295
|
+
headerRef: HTMLElement;
|
|
296
|
+
defaultRef: HTMLElement;
|
|
297
|
+
};
|
|
298
|
+
$slots: Readonly<{
|
|
299
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
300
|
+
}>;
|
|
301
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
302
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
303
|
+
$host: Element | null;
|
|
304
|
+
$emit: ((event: "update:sidePanelPosition", mode: import('..').SidePanelModeSelectable) => void) & ((event: "sidePanelTransition", payload: import('..').SidePanelTransitionPayload) => void) & ((event: "sidePanelAvailableStates", payload: import('..').SidePanelAvailableStatesPayload) => void) & ((event: "defaultSlotResize", payload: {
|
|
305
|
+
width: number;
|
|
306
|
+
height: number;
|
|
307
|
+
}) => void);
|
|
308
|
+
$el: HTMLElement;
|
|
309
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
310
|
+
sidePanelPosition?: import('..').SidePanelModeSelectable;
|
|
311
|
+
mainContentAspectRatio?: string | number;
|
|
312
|
+
autoBottomAspectRatioBreakpoint?: number;
|
|
313
|
+
autoRightAspectRatioBreakpoint?: number;
|
|
314
|
+
sidePanelBreakpoint?: string;
|
|
315
|
+
controlsOverlayOnly?: string;
|
|
316
|
+
autoHideTimeout?: number;
|
|
317
|
+
layoutDebounceMs?: number;
|
|
318
|
+
sidePanelMinRight?: string;
|
|
319
|
+
sidePanelMaxRight?: string;
|
|
320
|
+
sidePanelMaxRightWide?: string;
|
|
321
|
+
sidePanelMinBottom?: string;
|
|
322
|
+
sidePanelMaxBottom?: string;
|
|
323
|
+
sidePanelMaxBottomTall?: string;
|
|
324
|
+
}> & Readonly<{
|
|
325
|
+
"onUpdate:sidePanelPosition"?: ((mode: import('..').SidePanelModeSelectable) => any) | undefined;
|
|
326
|
+
onSidePanelTransition?: ((payload: import('..').SidePanelTransitionPayload) => any) | undefined;
|
|
327
|
+
onSidePanelAvailableStates?: ((payload: import('..').SidePanelAvailableStatesPayload) => any) | undefined;
|
|
328
|
+
onDefaultSlotResize?: ((payload: {
|
|
329
|
+
width: number;
|
|
330
|
+
height: number;
|
|
331
|
+
}) => any) | undefined;
|
|
332
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
333
|
+
"update:sidePanelPosition": (mode: import('..').SidePanelModeSelectable) => any;
|
|
334
|
+
sidePanelTransition: (payload: import('..').SidePanelTransitionPayload) => any;
|
|
335
|
+
sidePanelAvailableStates: (payload: import('..').SidePanelAvailableStatesPayload) => any;
|
|
336
|
+
defaultSlotResize: (payload: {
|
|
337
|
+
width: number;
|
|
338
|
+
height: number;
|
|
339
|
+
}) => any;
|
|
340
|
+
}, string, {
|
|
341
|
+
sidePanelPosition: import('..').SidePanelModeSelectable;
|
|
342
|
+
mainContentAspectRatio: string | number;
|
|
343
|
+
autoBottomAspectRatioBreakpoint: number;
|
|
344
|
+
autoRightAspectRatioBreakpoint: number;
|
|
345
|
+
sidePanelBreakpoint: string;
|
|
346
|
+
controlsOverlayOnly: string;
|
|
347
|
+
autoHideTimeout: number;
|
|
348
|
+
layoutDebounceMs: number;
|
|
349
|
+
sidePanelMinRight: string;
|
|
350
|
+
sidePanelMaxRight: string;
|
|
351
|
+
sidePanelMaxRightWide: string;
|
|
352
|
+
sidePanelMinBottom: string;
|
|
353
|
+
sidePanelMaxBottom: string;
|
|
354
|
+
sidePanelMaxBottomTall: string;
|
|
355
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
356
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
357
|
+
created?: (() => void) | (() => void)[];
|
|
358
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
359
|
+
mounted?: (() => void) | (() => void)[];
|
|
360
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
361
|
+
updated?: (() => void) | (() => void)[];
|
|
362
|
+
activated?: (() => void) | (() => void)[];
|
|
363
|
+
deactivated?: (() => void) | (() => void)[];
|
|
364
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
365
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
366
|
+
destroyed?: (() => void) | (() => void)[];
|
|
367
|
+
unmounted?: (() => void) | (() => void)[];
|
|
368
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
369
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
370
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
371
|
+
};
|
|
372
|
+
$forceUpdate: () => void;
|
|
373
|
+
$nextTick: typeof nextTick;
|
|
374
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
375
|
+
} & Readonly<{
|
|
376
|
+
sidePanelPosition: import('..').SidePanelModeSelectable;
|
|
377
|
+
mainContentAspectRatio: string | number;
|
|
378
|
+
autoBottomAspectRatioBreakpoint: number;
|
|
379
|
+
autoRightAspectRatioBreakpoint: number;
|
|
380
|
+
sidePanelBreakpoint: string;
|
|
381
|
+
controlsOverlayOnly: string;
|
|
382
|
+
autoHideTimeout: number;
|
|
383
|
+
layoutDebounceMs: number;
|
|
384
|
+
sidePanelMinRight: string;
|
|
385
|
+
sidePanelMaxRight: string;
|
|
386
|
+
sidePanelMaxRightWide: string;
|
|
387
|
+
sidePanelMinBottom: string;
|
|
388
|
+
sidePanelMaxBottom: string;
|
|
389
|
+
sidePanelMaxBottomTall: string;
|
|
390
|
+
}> & Omit<Readonly<{
|
|
391
|
+
sidePanelPosition?: import('..').SidePanelModeSelectable;
|
|
392
|
+
mainContentAspectRatio?: string | number;
|
|
393
|
+
autoBottomAspectRatioBreakpoint?: number;
|
|
394
|
+
autoRightAspectRatioBreakpoint?: number;
|
|
395
|
+
sidePanelBreakpoint?: string;
|
|
396
|
+
controlsOverlayOnly?: string;
|
|
397
|
+
autoHideTimeout?: number;
|
|
398
|
+
layoutDebounceMs?: number;
|
|
399
|
+
sidePanelMinRight?: string;
|
|
400
|
+
sidePanelMaxRight?: string;
|
|
401
|
+
sidePanelMaxRightWide?: string;
|
|
402
|
+
sidePanelMinBottom?: string;
|
|
403
|
+
sidePanelMaxBottom?: string;
|
|
404
|
+
sidePanelMaxBottomTall?: string;
|
|
405
|
+
}> & Readonly<{
|
|
406
|
+
"onUpdate:sidePanelPosition"?: ((mode: import('..').SidePanelModeSelectable) => any) | undefined;
|
|
407
|
+
onSidePanelTransition?: ((payload: import('..').SidePanelTransitionPayload) => any) | undefined;
|
|
408
|
+
onSidePanelAvailableStates?: ((payload: import('..').SidePanelAvailableStatesPayload) => any) | undefined;
|
|
409
|
+
onDefaultSlotResize?: ((payload: {
|
|
410
|
+
width: number;
|
|
411
|
+
height: number;
|
|
412
|
+
}) => any) | undefined;
|
|
413
|
+
}>, "sidePanelPosition" | "mainContentAspectRatio" | "autoBottomAspectRatioBreakpoint" | "autoRightAspectRatioBreakpoint" | "sidePanelBreakpoint" | "controlsOverlayOnly" | "autoHideTimeout" | "layoutDebounceMs" | "sidePanelMinRight" | "sidePanelMaxRight" | "sidePanelMaxRightWide" | "sidePanelMinBottom" | "sidePanelMaxBottom" | "sidePanelMaxBottomTall"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
414
|
+
$slots: {
|
|
415
|
+
header?(_: {}): any;
|
|
416
|
+
default?(_: {}): any;
|
|
417
|
+
sidePanelContent?(_: {}): any;
|
|
418
|
+
};
|
|
419
|
+
} & Omit<NonNullable<{
|
|
420
|
+
readonly sidePanelPosition?: import('..').SidePanelModeSelectable | undefined;
|
|
421
|
+
readonly mainContentAspectRatio?: string | number | undefined;
|
|
422
|
+
readonly autoBottomAspectRatioBreakpoint?: number | undefined;
|
|
423
|
+
readonly autoRightAspectRatioBreakpoint?: number | undefined;
|
|
424
|
+
readonly sidePanelBreakpoint?: string | undefined;
|
|
425
|
+
readonly controlsOverlayOnly?: string | undefined;
|
|
426
|
+
readonly autoHideTimeout?: number | undefined;
|
|
427
|
+
readonly layoutDebounceMs?: number | undefined;
|
|
428
|
+
readonly sidePanelMinRight?: string | undefined;
|
|
429
|
+
readonly sidePanelMaxRight?: string | undefined;
|
|
430
|
+
readonly sidePanelMaxRightWide?: string | undefined;
|
|
431
|
+
readonly sidePanelMinBottom?: string | undefined;
|
|
432
|
+
readonly sidePanelMaxBottom?: string | undefined;
|
|
433
|
+
readonly sidePanelMaxBottomTall?: string | undefined;
|
|
434
|
+
readonly "onUpdate:sidePanelPosition"?: ((mode: import('..').SidePanelModeSelectable) => any) | undefined;
|
|
435
|
+
readonly onSidePanelTransition?: ((payload: import('..').SidePanelTransitionPayload) => any) | undefined;
|
|
436
|
+
readonly onSidePanelAvailableStates?: ((payload: import('..').SidePanelAvailableStatesPayload) => any) | undefined;
|
|
437
|
+
readonly onDefaultSlotResize?: ((payload: {
|
|
438
|
+
width: number;
|
|
439
|
+
height: number;
|
|
440
|
+
}) => any) | undefined;
|
|
441
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps>, keyof import('vue').VNodeProps | keyof import('vue').AllowedComponentProps | keyof {
|
|
442
|
+
sidePanelPosition?: import('..').SidePanelModeSelectable;
|
|
443
|
+
mainContentAspectRatio?: string | number;
|
|
444
|
+
autoBottomAspectRatioBreakpoint?: number;
|
|
445
|
+
autoRightAspectRatioBreakpoint?: number;
|
|
446
|
+
sidePanelBreakpoint?: string;
|
|
447
|
+
controlsOverlayOnly?: string;
|
|
448
|
+
autoHideTimeout?: number;
|
|
449
|
+
layoutDebounceMs?: number;
|
|
450
|
+
sidePanelMinRight?: string;
|
|
451
|
+
sidePanelMaxRight?: string;
|
|
452
|
+
sidePanelMaxRightWide?: string;
|
|
453
|
+
sidePanelMinBottom?: string;
|
|
454
|
+
sidePanelMaxBottom?: string;
|
|
455
|
+
sidePanelMaxBottomTall?: string;
|
|
456
|
+
} | "onUpdate:sidePanelPosition" | "onSidePanelTransition" | "onSidePanelAvailableStates" | "onDefaultSlotResize">>>;
|
|
457
|
+
export declare function mountLiveFrameUsingBreakpoints(): VueWrapper<{
|
|
458
|
+
readonly sidePanelPosition?: import('..').SidePanelModeSelectable | undefined;
|
|
459
|
+
readonly mainContentAspectRatio?: string | number | undefined;
|
|
460
|
+
readonly autoBottomAspectRatioBreakpoint?: number | undefined;
|
|
461
|
+
readonly autoRightAspectRatioBreakpoint?: number | undefined;
|
|
462
|
+
readonly sidePanelBreakpoint?: string | undefined;
|
|
463
|
+
readonly controlsOverlayOnly?: string | undefined;
|
|
464
|
+
readonly autoHideTimeout?: number | undefined;
|
|
465
|
+
readonly layoutDebounceMs?: number | undefined;
|
|
466
|
+
readonly sidePanelMinRight?: string | undefined;
|
|
467
|
+
readonly sidePanelMaxRight?: string | undefined;
|
|
468
|
+
readonly sidePanelMaxRightWide?: string | undefined;
|
|
469
|
+
readonly sidePanelMinBottom?: string | undefined;
|
|
470
|
+
readonly sidePanelMaxBottom?: string | undefined;
|
|
471
|
+
readonly sidePanelMaxBottomTall?: string | undefined;
|
|
472
|
+
readonly "onUpdate:sidePanelPosition"?: ((mode: import('..').SidePanelModeSelectable) => any) | undefined;
|
|
473
|
+
readonly onSidePanelTransition?: ((payload: import('..').SidePanelTransitionPayload) => any) | undefined;
|
|
474
|
+
readonly onSidePanelAvailableStates?: ((payload: import('..').SidePanelAvailableStatesPayload) => any) | undefined;
|
|
475
|
+
readonly onDefaultSlotResize?: ((payload: {
|
|
476
|
+
width: number;
|
|
477
|
+
height: number;
|
|
478
|
+
}) => any) | undefined;
|
|
479
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
|
|
480
|
+
$: import('vue').ComponentInternalInstance;
|
|
481
|
+
$data: {};
|
|
482
|
+
$props: {
|
|
483
|
+
readonly sidePanelPosition?: import('..').SidePanelModeSelectable | undefined;
|
|
484
|
+
readonly mainContentAspectRatio?: string | number | undefined;
|
|
485
|
+
readonly autoBottomAspectRatioBreakpoint?: number | undefined;
|
|
486
|
+
readonly autoRightAspectRatioBreakpoint?: number | undefined;
|
|
487
|
+
readonly sidePanelBreakpoint?: string | undefined;
|
|
488
|
+
readonly controlsOverlayOnly?: string | undefined;
|
|
489
|
+
readonly autoHideTimeout?: number | undefined;
|
|
490
|
+
readonly layoutDebounceMs?: number | undefined;
|
|
491
|
+
readonly sidePanelMinRight?: string | undefined;
|
|
492
|
+
readonly sidePanelMaxRight?: string | undefined;
|
|
493
|
+
readonly sidePanelMaxRightWide?: string | undefined;
|
|
494
|
+
readonly sidePanelMinBottom?: string | undefined;
|
|
495
|
+
readonly sidePanelMaxBottom?: string | undefined;
|
|
496
|
+
readonly sidePanelMaxBottomTall?: string | undefined;
|
|
497
|
+
readonly "onUpdate:sidePanelPosition"?: ((mode: import('..').SidePanelModeSelectable) => any) | undefined;
|
|
498
|
+
readonly onSidePanelTransition?: ((payload: import('..').SidePanelTransitionPayload) => any) | undefined;
|
|
499
|
+
readonly onSidePanelAvailableStates?: ((payload: import('..').SidePanelAvailableStatesPayload) => any) | undefined;
|
|
500
|
+
readonly onDefaultSlotResize?: ((payload: {
|
|
501
|
+
width: number;
|
|
502
|
+
height: number;
|
|
503
|
+
}) => any) | undefined;
|
|
504
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
505
|
+
$attrs: {
|
|
506
|
+
[x: string]: unknown;
|
|
507
|
+
};
|
|
508
|
+
$refs: {
|
|
509
|
+
[x: string]: unknown;
|
|
510
|
+
} & {
|
|
511
|
+
rootRef: HTMLElement;
|
|
512
|
+
headerRef: HTMLElement;
|
|
513
|
+
defaultRef: HTMLElement;
|
|
514
|
+
};
|
|
515
|
+
$slots: Readonly<{
|
|
516
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
517
|
+
}>;
|
|
518
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
519
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
520
|
+
$host: Element | null;
|
|
521
|
+
$emit: ((event: "update:sidePanelPosition", mode: import('..').SidePanelModeSelectable) => void) & ((event: "sidePanelTransition", payload: import('..').SidePanelTransitionPayload) => void) & ((event: "sidePanelAvailableStates", payload: import('..').SidePanelAvailableStatesPayload) => void) & ((event: "defaultSlotResize", payload: {
|
|
522
|
+
width: number;
|
|
523
|
+
height: number;
|
|
524
|
+
}) => void);
|
|
525
|
+
$el: HTMLElement;
|
|
526
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
527
|
+
sidePanelPosition?: import('..').SidePanelModeSelectable;
|
|
528
|
+
mainContentAspectRatio?: string | number;
|
|
529
|
+
autoBottomAspectRatioBreakpoint?: number;
|
|
530
|
+
autoRightAspectRatioBreakpoint?: number;
|
|
531
|
+
sidePanelBreakpoint?: string;
|
|
532
|
+
controlsOverlayOnly?: string;
|
|
533
|
+
autoHideTimeout?: number;
|
|
534
|
+
layoutDebounceMs?: number;
|
|
535
|
+
sidePanelMinRight?: string;
|
|
536
|
+
sidePanelMaxRight?: string;
|
|
537
|
+
sidePanelMaxRightWide?: string;
|
|
538
|
+
sidePanelMinBottom?: string;
|
|
539
|
+
sidePanelMaxBottom?: string;
|
|
540
|
+
sidePanelMaxBottomTall?: string;
|
|
541
|
+
}> & Readonly<{
|
|
542
|
+
"onUpdate:sidePanelPosition"?: ((mode: import('..').SidePanelModeSelectable) => any) | undefined;
|
|
543
|
+
onSidePanelTransition?: ((payload: import('..').SidePanelTransitionPayload) => any) | undefined;
|
|
544
|
+
onSidePanelAvailableStates?: ((payload: import('..').SidePanelAvailableStatesPayload) => any) | undefined;
|
|
545
|
+
onDefaultSlotResize?: ((payload: {
|
|
546
|
+
width: number;
|
|
547
|
+
height: number;
|
|
548
|
+
}) => any) | undefined;
|
|
549
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
550
|
+
"update:sidePanelPosition": (mode: import('..').SidePanelModeSelectable) => any;
|
|
551
|
+
sidePanelTransition: (payload: import('..').SidePanelTransitionPayload) => any;
|
|
552
|
+
sidePanelAvailableStates: (payload: import('..').SidePanelAvailableStatesPayload) => any;
|
|
553
|
+
defaultSlotResize: (payload: {
|
|
554
|
+
width: number;
|
|
555
|
+
height: number;
|
|
556
|
+
}) => any;
|
|
557
|
+
}, string, {
|
|
558
|
+
sidePanelPosition: import('..').SidePanelModeSelectable;
|
|
559
|
+
mainContentAspectRatio: string | number;
|
|
560
|
+
autoBottomAspectRatioBreakpoint: number;
|
|
561
|
+
autoRightAspectRatioBreakpoint: number;
|
|
562
|
+
sidePanelBreakpoint: string;
|
|
563
|
+
controlsOverlayOnly: string;
|
|
564
|
+
autoHideTimeout: number;
|
|
565
|
+
layoutDebounceMs: number;
|
|
566
|
+
sidePanelMinRight: string;
|
|
567
|
+
sidePanelMaxRight: string;
|
|
568
|
+
sidePanelMaxRightWide: string;
|
|
569
|
+
sidePanelMinBottom: string;
|
|
570
|
+
sidePanelMaxBottom: string;
|
|
571
|
+
sidePanelMaxBottomTall: string;
|
|
572
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
573
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
574
|
+
created?: (() => void) | (() => void)[];
|
|
575
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
576
|
+
mounted?: (() => void) | (() => void)[];
|
|
577
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
578
|
+
updated?: (() => void) | (() => void)[];
|
|
579
|
+
activated?: (() => void) | (() => void)[];
|
|
580
|
+
deactivated?: (() => void) | (() => void)[];
|
|
581
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
582
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
583
|
+
destroyed?: (() => void) | (() => void)[];
|
|
584
|
+
unmounted?: (() => void) | (() => void)[];
|
|
585
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
586
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
587
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
588
|
+
};
|
|
589
|
+
$forceUpdate: () => void;
|
|
590
|
+
$nextTick: typeof nextTick;
|
|
591
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
592
|
+
} & Readonly<{
|
|
593
|
+
sidePanelPosition: import('..').SidePanelModeSelectable;
|
|
594
|
+
mainContentAspectRatio: string | number;
|
|
595
|
+
autoBottomAspectRatioBreakpoint: number;
|
|
596
|
+
autoRightAspectRatioBreakpoint: number;
|
|
597
|
+
sidePanelBreakpoint: string;
|
|
598
|
+
controlsOverlayOnly: string;
|
|
599
|
+
autoHideTimeout: number;
|
|
600
|
+
layoutDebounceMs: number;
|
|
601
|
+
sidePanelMinRight: string;
|
|
602
|
+
sidePanelMaxRight: string;
|
|
603
|
+
sidePanelMaxRightWide: string;
|
|
604
|
+
sidePanelMinBottom: string;
|
|
605
|
+
sidePanelMaxBottom: string;
|
|
606
|
+
sidePanelMaxBottomTall: string;
|
|
607
|
+
}> & Omit<Readonly<{
|
|
608
|
+
sidePanelPosition?: import('..').SidePanelModeSelectable;
|
|
609
|
+
mainContentAspectRatio?: string | number;
|
|
610
|
+
autoBottomAspectRatioBreakpoint?: number;
|
|
611
|
+
autoRightAspectRatioBreakpoint?: number;
|
|
612
|
+
sidePanelBreakpoint?: string;
|
|
613
|
+
controlsOverlayOnly?: string;
|
|
614
|
+
autoHideTimeout?: number;
|
|
615
|
+
layoutDebounceMs?: number;
|
|
616
|
+
sidePanelMinRight?: string;
|
|
617
|
+
sidePanelMaxRight?: string;
|
|
618
|
+
sidePanelMaxRightWide?: string;
|
|
619
|
+
sidePanelMinBottom?: string;
|
|
620
|
+
sidePanelMaxBottom?: string;
|
|
621
|
+
sidePanelMaxBottomTall?: string;
|
|
622
|
+
}> & Readonly<{
|
|
623
|
+
"onUpdate:sidePanelPosition"?: ((mode: import('..').SidePanelModeSelectable) => any) | undefined;
|
|
624
|
+
onSidePanelTransition?: ((payload: import('..').SidePanelTransitionPayload) => any) | undefined;
|
|
625
|
+
onSidePanelAvailableStates?: ((payload: import('..').SidePanelAvailableStatesPayload) => any) | undefined;
|
|
626
|
+
onDefaultSlotResize?: ((payload: {
|
|
627
|
+
width: number;
|
|
628
|
+
height: number;
|
|
629
|
+
}) => any) | undefined;
|
|
630
|
+
}>, "sidePanelPosition" | "mainContentAspectRatio" | "autoBottomAspectRatioBreakpoint" | "autoRightAspectRatioBreakpoint" | "sidePanelBreakpoint" | "controlsOverlayOnly" | "autoHideTimeout" | "layoutDebounceMs" | "sidePanelMinRight" | "sidePanelMaxRight" | "sidePanelMaxRightWide" | "sidePanelMinBottom" | "sidePanelMaxBottom" | "sidePanelMaxBottomTall"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
631
|
+
$slots: {
|
|
632
|
+
header?(_: {}): any;
|
|
633
|
+
default?(_: {}): any;
|
|
634
|
+
sidePanelContent?(_: {}): any;
|
|
635
|
+
};
|
|
636
|
+
}, import('vue').ComponentPublicInstance<NonNullable<{
|
|
637
|
+
readonly sidePanelPosition?: import('..').SidePanelModeSelectable | undefined;
|
|
638
|
+
readonly mainContentAspectRatio?: string | number | undefined;
|
|
639
|
+
readonly autoBottomAspectRatioBreakpoint?: number | undefined;
|
|
640
|
+
readonly autoRightAspectRatioBreakpoint?: number | undefined;
|
|
641
|
+
readonly sidePanelBreakpoint?: string | undefined;
|
|
642
|
+
readonly controlsOverlayOnly?: string | undefined;
|
|
643
|
+
readonly autoHideTimeout?: number | undefined;
|
|
644
|
+
readonly layoutDebounceMs?: number | undefined;
|
|
645
|
+
readonly sidePanelMinRight?: string | undefined;
|
|
646
|
+
readonly sidePanelMaxRight?: string | undefined;
|
|
647
|
+
readonly sidePanelMaxRightWide?: string | undefined;
|
|
648
|
+
readonly sidePanelMinBottom?: string | undefined;
|
|
649
|
+
readonly sidePanelMaxBottom?: string | undefined;
|
|
650
|
+
readonly sidePanelMaxBottomTall?: string | undefined;
|
|
651
|
+
readonly "onUpdate:sidePanelPosition"?: ((mode: import('..').SidePanelModeSelectable) => any) | undefined;
|
|
652
|
+
readonly onSidePanelTransition?: ((payload: import('..').SidePanelTransitionPayload) => any) | undefined;
|
|
653
|
+
readonly onSidePanelAvailableStates?: ((payload: import('..').SidePanelAvailableStatesPayload) => any) | undefined;
|
|
654
|
+
readonly onDefaultSlotResize?: ((payload: {
|
|
655
|
+
width: number;
|
|
656
|
+
height: number;
|
|
657
|
+
}) => any) | undefined;
|
|
658
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps>, {
|
|
659
|
+
$: import('vue').ComponentInternalInstance;
|
|
660
|
+
$data: {};
|
|
661
|
+
$props: {
|
|
662
|
+
readonly sidePanelPosition?: import('..').SidePanelModeSelectable | undefined;
|
|
663
|
+
readonly mainContentAspectRatio?: string | number | undefined;
|
|
664
|
+
readonly autoBottomAspectRatioBreakpoint?: number | undefined;
|
|
665
|
+
readonly autoRightAspectRatioBreakpoint?: number | undefined;
|
|
666
|
+
readonly sidePanelBreakpoint?: string | undefined;
|
|
667
|
+
readonly controlsOverlayOnly?: string | undefined;
|
|
668
|
+
readonly autoHideTimeout?: number | undefined;
|
|
669
|
+
readonly layoutDebounceMs?: number | undefined;
|
|
670
|
+
readonly sidePanelMinRight?: string | undefined;
|
|
671
|
+
readonly sidePanelMaxRight?: string | undefined;
|
|
672
|
+
readonly sidePanelMaxRightWide?: string | undefined;
|
|
673
|
+
readonly sidePanelMinBottom?: string | undefined;
|
|
674
|
+
readonly sidePanelMaxBottom?: string | undefined;
|
|
675
|
+
readonly sidePanelMaxBottomTall?: string | undefined;
|
|
676
|
+
readonly "onUpdate:sidePanelPosition"?: ((mode: import('..').SidePanelModeSelectable) => any) | undefined;
|
|
677
|
+
readonly onSidePanelTransition?: ((payload: import('..').SidePanelTransitionPayload) => any) | undefined;
|
|
678
|
+
readonly onSidePanelAvailableStates?: ((payload: import('..').SidePanelAvailableStatesPayload) => any) | undefined;
|
|
679
|
+
readonly onDefaultSlotResize?: ((payload: {
|
|
680
|
+
width: number;
|
|
681
|
+
height: number;
|
|
682
|
+
}) => any) | undefined;
|
|
683
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
684
|
+
$attrs: {
|
|
685
|
+
[x: string]: unknown;
|
|
686
|
+
};
|
|
687
|
+
$refs: {
|
|
688
|
+
[x: string]: unknown;
|
|
689
|
+
} & {
|
|
690
|
+
rootRef: HTMLElement;
|
|
691
|
+
headerRef: HTMLElement;
|
|
692
|
+
defaultRef: HTMLElement;
|
|
693
|
+
};
|
|
694
|
+
$slots: Readonly<{
|
|
695
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
696
|
+
}>;
|
|
697
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
698
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
699
|
+
$host: Element | null;
|
|
700
|
+
$emit: ((event: "update:sidePanelPosition", mode: import('..').SidePanelModeSelectable) => void) & ((event: "sidePanelTransition", payload: import('..').SidePanelTransitionPayload) => void) & ((event: "sidePanelAvailableStates", payload: import('..').SidePanelAvailableStatesPayload) => void) & ((event: "defaultSlotResize", payload: {
|
|
701
|
+
width: number;
|
|
702
|
+
height: number;
|
|
703
|
+
}) => void);
|
|
704
|
+
$el: HTMLElement;
|
|
705
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
706
|
+
sidePanelPosition?: import('..').SidePanelModeSelectable;
|
|
707
|
+
mainContentAspectRatio?: string | number;
|
|
708
|
+
autoBottomAspectRatioBreakpoint?: number;
|
|
709
|
+
autoRightAspectRatioBreakpoint?: number;
|
|
710
|
+
sidePanelBreakpoint?: string;
|
|
711
|
+
controlsOverlayOnly?: string;
|
|
712
|
+
autoHideTimeout?: number;
|
|
713
|
+
layoutDebounceMs?: number;
|
|
714
|
+
sidePanelMinRight?: string;
|
|
715
|
+
sidePanelMaxRight?: string;
|
|
716
|
+
sidePanelMaxRightWide?: string;
|
|
717
|
+
sidePanelMinBottom?: string;
|
|
718
|
+
sidePanelMaxBottom?: string;
|
|
719
|
+
sidePanelMaxBottomTall?: string;
|
|
720
|
+
}> & Readonly<{
|
|
721
|
+
"onUpdate:sidePanelPosition"?: ((mode: import('..').SidePanelModeSelectable) => any) | undefined;
|
|
722
|
+
onSidePanelTransition?: ((payload: import('..').SidePanelTransitionPayload) => any) | undefined;
|
|
723
|
+
onSidePanelAvailableStates?: ((payload: import('..').SidePanelAvailableStatesPayload) => any) | undefined;
|
|
724
|
+
onDefaultSlotResize?: ((payload: {
|
|
725
|
+
width: number;
|
|
726
|
+
height: number;
|
|
727
|
+
}) => any) | undefined;
|
|
728
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
729
|
+
"update:sidePanelPosition": (mode: import('..').SidePanelModeSelectable) => any;
|
|
730
|
+
sidePanelTransition: (payload: import('..').SidePanelTransitionPayload) => any;
|
|
731
|
+
sidePanelAvailableStates: (payload: import('..').SidePanelAvailableStatesPayload) => any;
|
|
732
|
+
defaultSlotResize: (payload: {
|
|
733
|
+
width: number;
|
|
734
|
+
height: number;
|
|
735
|
+
}) => any;
|
|
736
|
+
}, string, {
|
|
737
|
+
sidePanelPosition: import('..').SidePanelModeSelectable;
|
|
738
|
+
mainContentAspectRatio: string | number;
|
|
739
|
+
autoBottomAspectRatioBreakpoint: number;
|
|
740
|
+
autoRightAspectRatioBreakpoint: number;
|
|
741
|
+
sidePanelBreakpoint: string;
|
|
742
|
+
controlsOverlayOnly: string;
|
|
743
|
+
autoHideTimeout: number;
|
|
744
|
+
layoutDebounceMs: number;
|
|
745
|
+
sidePanelMinRight: string;
|
|
746
|
+
sidePanelMaxRight: string;
|
|
747
|
+
sidePanelMaxRightWide: string;
|
|
748
|
+
sidePanelMinBottom: string;
|
|
749
|
+
sidePanelMaxBottom: string;
|
|
750
|
+
sidePanelMaxBottomTall: string;
|
|
751
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
752
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
753
|
+
created?: (() => void) | (() => void)[];
|
|
754
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
755
|
+
mounted?: (() => void) | (() => void)[];
|
|
756
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
757
|
+
updated?: (() => void) | (() => void)[];
|
|
758
|
+
activated?: (() => void) | (() => void)[];
|
|
759
|
+
deactivated?: (() => void) | (() => void)[];
|
|
760
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
761
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
762
|
+
destroyed?: (() => void) | (() => void)[];
|
|
763
|
+
unmounted?: (() => void) | (() => void)[];
|
|
764
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
765
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
766
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
767
|
+
};
|
|
768
|
+
$forceUpdate: () => void;
|
|
769
|
+
$nextTick: typeof nextTick;
|
|
770
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
771
|
+
} & Readonly<{
|
|
772
|
+
sidePanelPosition: import('..').SidePanelModeSelectable;
|
|
773
|
+
mainContentAspectRatio: string | number;
|
|
774
|
+
autoBottomAspectRatioBreakpoint: number;
|
|
775
|
+
autoRightAspectRatioBreakpoint: number;
|
|
776
|
+
sidePanelBreakpoint: string;
|
|
777
|
+
controlsOverlayOnly: string;
|
|
778
|
+
autoHideTimeout: number;
|
|
779
|
+
layoutDebounceMs: number;
|
|
780
|
+
sidePanelMinRight: string;
|
|
781
|
+
sidePanelMaxRight: string;
|
|
782
|
+
sidePanelMaxRightWide: string;
|
|
783
|
+
sidePanelMinBottom: string;
|
|
784
|
+
sidePanelMaxBottom: string;
|
|
785
|
+
sidePanelMaxBottomTall: string;
|
|
786
|
+
}> & Omit<Readonly<{
|
|
787
|
+
sidePanelPosition?: import('..').SidePanelModeSelectable;
|
|
788
|
+
mainContentAspectRatio?: string | number;
|
|
789
|
+
autoBottomAspectRatioBreakpoint?: number;
|
|
790
|
+
autoRightAspectRatioBreakpoint?: number;
|
|
791
|
+
sidePanelBreakpoint?: string;
|
|
792
|
+
controlsOverlayOnly?: string;
|
|
793
|
+
autoHideTimeout?: number;
|
|
794
|
+
layoutDebounceMs?: number;
|
|
795
|
+
sidePanelMinRight?: string;
|
|
796
|
+
sidePanelMaxRight?: string;
|
|
797
|
+
sidePanelMaxRightWide?: string;
|
|
798
|
+
sidePanelMinBottom?: string;
|
|
799
|
+
sidePanelMaxBottom?: string;
|
|
800
|
+
sidePanelMaxBottomTall?: string;
|
|
801
|
+
}> & Readonly<{
|
|
802
|
+
"onUpdate:sidePanelPosition"?: ((mode: import('..').SidePanelModeSelectable) => any) | undefined;
|
|
803
|
+
onSidePanelTransition?: ((payload: import('..').SidePanelTransitionPayload) => any) | undefined;
|
|
804
|
+
onSidePanelAvailableStates?: ((payload: import('..').SidePanelAvailableStatesPayload) => any) | undefined;
|
|
805
|
+
onDefaultSlotResize?: ((payload: {
|
|
806
|
+
width: number;
|
|
807
|
+
height: number;
|
|
808
|
+
}) => any) | undefined;
|
|
809
|
+
}>, "sidePanelPosition" | "mainContentAspectRatio" | "autoBottomAspectRatioBreakpoint" | "autoRightAspectRatioBreakpoint" | "sidePanelBreakpoint" | "controlsOverlayOnly" | "autoHideTimeout" | "layoutDebounceMs" | "sidePanelMinRight" | "sidePanelMaxRight" | "sidePanelMaxRightWide" | "sidePanelMinBottom" | "sidePanelMaxBottom" | "sidePanelMaxBottomTall"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
810
|
+
$slots: {
|
|
811
|
+
header?(_: {}): any;
|
|
812
|
+
default?(_: {}): any;
|
|
813
|
+
sidePanelContent?(_: {}): any;
|
|
814
|
+
};
|
|
815
|
+
} & Omit<NonNullable<{
|
|
816
|
+
readonly sidePanelPosition?: import('..').SidePanelModeSelectable | undefined;
|
|
817
|
+
readonly mainContentAspectRatio?: string | number | undefined;
|
|
818
|
+
readonly autoBottomAspectRatioBreakpoint?: number | undefined;
|
|
819
|
+
readonly autoRightAspectRatioBreakpoint?: number | undefined;
|
|
820
|
+
readonly sidePanelBreakpoint?: string | undefined;
|
|
821
|
+
readonly controlsOverlayOnly?: string | undefined;
|
|
822
|
+
readonly autoHideTimeout?: number | undefined;
|
|
823
|
+
readonly layoutDebounceMs?: number | undefined;
|
|
824
|
+
readonly sidePanelMinRight?: string | undefined;
|
|
825
|
+
readonly sidePanelMaxRight?: string | undefined;
|
|
826
|
+
readonly sidePanelMaxRightWide?: string | undefined;
|
|
827
|
+
readonly sidePanelMinBottom?: string | undefined;
|
|
828
|
+
readonly sidePanelMaxBottom?: string | undefined;
|
|
829
|
+
readonly sidePanelMaxBottomTall?: string | undefined;
|
|
830
|
+
readonly "onUpdate:sidePanelPosition"?: ((mode: import('..').SidePanelModeSelectable) => any) | undefined;
|
|
831
|
+
readonly onSidePanelTransition?: ((payload: import('..').SidePanelTransitionPayload) => any) | undefined;
|
|
832
|
+
readonly onSidePanelAvailableStates?: ((payload: import('..').SidePanelAvailableStatesPayload) => any) | undefined;
|
|
833
|
+
readonly onDefaultSlotResize?: ((payload: {
|
|
834
|
+
width: number;
|
|
835
|
+
height: number;
|
|
836
|
+
}) => any) | undefined;
|
|
837
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps>, keyof import('vue').VNodeProps | keyof import('vue').AllowedComponentProps | keyof {
|
|
838
|
+
sidePanelPosition?: import('..').SidePanelModeSelectable;
|
|
839
|
+
mainContentAspectRatio?: string | number;
|
|
840
|
+
autoBottomAspectRatioBreakpoint?: number;
|
|
841
|
+
autoRightAspectRatioBreakpoint?: number;
|
|
842
|
+
sidePanelBreakpoint?: string;
|
|
843
|
+
controlsOverlayOnly?: string;
|
|
844
|
+
autoHideTimeout?: number;
|
|
845
|
+
layoutDebounceMs?: number;
|
|
846
|
+
sidePanelMinRight?: string;
|
|
847
|
+
sidePanelMaxRight?: string;
|
|
848
|
+
sidePanelMaxRightWide?: string;
|
|
849
|
+
sidePanelMinBottom?: string;
|
|
850
|
+
sidePanelMaxBottom?: string;
|
|
851
|
+
sidePanelMaxBottomTall?: string;
|
|
852
|
+
} | "onUpdate:sidePanelPosition" | "onSidePanelTransition" | "onSidePanelAvailableStates" | "onDefaultSlotResize">>>;
|
|
853
|
+
export declare function setSizeClickButtonExpectToSeeButtons(describeLabel: string, size: LiveBrowserSize, controlButtonType: string, expectedButtons: string[]): MountAndRunScenariosConfig<VueWrapper>;
|
|
854
|
+
/** Label of the frame header expand (auto) button when minimized (SidePanelHeader default title). */
|
|
855
|
+
export declare const SIDE_PANEL_HEADER_EXPAND_BUTTON_LABEL = "Submit Questions";
|
|
856
|
+
/**
|
|
857
|
+
* Builds a single per-resolution config that runs the full sequence (spec steps 1–7):
|
|
858
|
+
* 1 Load at size, 2 additional assertions, 3 header expand visible when minimized (in Close step),
|
|
859
|
+
* 4 initial border (all border tests), 5 initialExpectedButtons visible (frame header auto only), 6–7 for each button click then border.
|
|
860
|
+
* First scenario has no optionButtonClick (mount behavior).
|
|
861
|
+
*/
|
|
862
|
+
export declare function runOncePerResolutionCheck(sizeCase: BreakPointScenarioSize, additionalAssertions: Array<LiveScenarioExpectation<VueWrapper>>, borderExpects: Array<LiveScenarioExpectation<VueWrapper>>, initialExpectedButtons: string[], expectedButtons: string[]): MountAndRunScenariosConfig<VueWrapper>;
|
|
863
|
+
export declare function runBreakPointScenarioSequences(buildConfigsForSize: (sizeCase: BreakPointScenarioSize) => Array<MountAndRunScenariosConfig<VueWrapper>>): void;
|
|
864
|
+
export {};
|
|
865
|
+
//# sourceMappingURL=helpers.test.d.ts.map
|