@quicktvui/quicktvui3 1.2.0-beta.4 → 1.2.0-beta.40

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.
Files changed (184) hide show
  1. package/dist/index.css +17 -29
  2. package/dist/index.js +8 -9
  3. package/dist/src/animation/QTAnimation.d.ts +1 -1
  4. package/dist/src/animation/QTIAnimation.d.ts +19 -9
  5. package/dist/src/animation/QtAnimationAPI.d.ts +16 -34
  6. package/dist/src/animation/types.d.ts +40 -0
  7. package/dist/src/app/QTAppIcon.d.ts +1 -1
  8. package/dist/src/app/QtAppIconAPI.d.ts +5 -5
  9. package/dist/src/base/QTIBaseView.d.ts +10 -10
  10. package/dist/src/base/QtBaseNativeViewAPI.d.ts +2 -0
  11. package/dist/src/base/QtBaseViewAPI.d.ts +45 -0
  12. package/dist/src/base/useBaseView.d.ts +11 -11
  13. package/dist/src/button/QTIButton.d.ts +1 -1
  14. package/dist/src/button/QtButtonAPI.d.ts +3 -3
  15. package/dist/src/button/index.vue.d.ts +21 -21
  16. package/dist/src/canvas/CanvasGradient.d.ts +36 -0
  17. package/dist/src/canvas/QTCanvasView.d.ts +3 -0
  18. package/dist/src/canvas/QTICanvasView.d.ts +50 -0
  19. package/dist/src/canvas/QtCanvasViewAPI.d.ts +54 -0
  20. package/dist/src/classified-list-view/QtClassifiedListViewAPI.d.ts +6 -6
  21. package/dist/src/classified-list-view/core/QTClassifiedListViewItem.d.ts +2 -2
  22. package/dist/src/classified-list-view/core/QTIClassifiedListView.d.ts +2 -2
  23. package/dist/src/classified-list-view/index.vue.d.ts +21 -21
  24. package/dist/src/collapse/QtCollapseAPI.d.ts +7 -7
  25. package/dist/src/collapse/core/QTCollapse.d.ts +1 -1
  26. package/dist/src/collapse/core/QTICollapse.d.ts +3 -3
  27. package/dist/src/collapse/core/QTICollapseItem.d.ts +2 -2
  28. package/dist/src/collapse/index.vue.d.ts +18 -18
  29. package/dist/src/column/QTIColumn.d.ts +1 -1
  30. package/dist/src/column/QtColumnAPI.d.ts +3 -3
  31. package/dist/src/core/QTFlexStyleGradientBackground.d.ts +1 -1
  32. package/dist/src/core/QTLocation.d.ts +2 -2
  33. package/dist/src/dialog/QTDialog.d.ts +1 -1
  34. package/dist/src/dialog/QTIDialog.d.ts +1 -1
  35. package/dist/src/gradient/QTGradient.d.ts +3 -3
  36. package/dist/src/grid-view/QtGridViewAPI.d.ts +7 -7
  37. package/dist/src/grid-view/core/QTGridViewItem.d.ts +1 -1
  38. package/dist/src/grid-view/core/QTIGridView.d.ts +2 -2
  39. package/dist/src/grid-view/index.vue.d.ts +32 -32
  40. package/dist/src/image/QTIImage.d.ts +2 -2
  41. package/dist/src/image/QtImageAPI.d.ts +6 -6
  42. package/dist/src/image/index.vue.d.ts +12 -12
  43. package/dist/src/index.d.ts +11 -6
  44. package/dist/src/list/QTIBaseListView.d.ts +5 -5
  45. package/dist/src/list/QtBaseListViewAPI.d.ts +6 -6
  46. package/dist/src/list/useBaseListView.d.ts +6 -6
  47. package/dist/src/list/useListView.d.ts +49 -0
  48. package/dist/src/list-indicator/QTIndicatorListViewComponent.d.ts +1 -1
  49. package/dist/src/list-indicator/QtIndicatorViewAPI.d.ts +7 -7
  50. package/dist/src/list-indicator/core/QTIIndicatorView.d.ts +2 -2
  51. package/dist/src/list-item/ESListItemComponent.d.ts +1 -1
  52. package/dist/src/list-item/QtListItemAPI.d.ts +5 -5
  53. package/dist/src/list-view/QTListViewComponent.d.ts +1 -1
  54. package/dist/src/list-view/QtListViewAPI.d.ts +7 -7
  55. package/dist/src/list-view/core/QTIListView.d.ts +2 -2
  56. package/dist/src/list-view/core/QTListViewItem.d.ts +2 -2
  57. package/dist/src/loading/QTILoadingView.d.ts +1 -1
  58. package/dist/src/loading/QTLoadingView.d.ts +1 -1
  59. package/dist/src/loading/QtLoadingAPI.d.ts +3 -3
  60. package/dist/src/long-image/QTILongImage.d.ts +12 -0
  61. package/dist/src/long-image/QTLongImage.d.ts +3 -0
  62. package/dist/src/long-image/QtLongImageAPI.d.ts +4 -0
  63. package/dist/src/long-image/index.vue.d.ts +194 -0
  64. package/dist/src/lottie/QTILottieView.d.ts +4 -4
  65. package/dist/src/lottie/QTLottieView.d.ts +1 -1
  66. package/dist/src/lottie/QtLottieViewAPI.d.ts +8 -8
  67. package/dist/src/nav-bar/QTINavBar.d.ts +2 -2
  68. package/dist/src/nav-bar/QTNavBar.d.ts +1 -1
  69. package/dist/src/nav-bar/QTNavBarItem.d.ts +2 -2
  70. package/dist/src/nav-bar/QtNavBarAPI.d.ts +6 -6
  71. package/dist/src/nav-bar/index.vue.d.ts +18 -18
  72. package/dist/src/plugin/QTIPluginView.d.ts +1 -1
  73. package/dist/src/plugin/QTPluginView.d.ts +1 -1
  74. package/dist/src/plugin/QtPluginViewAPI.d.ts +5 -5
  75. package/dist/src/poster/QtPosterAPI.d.ts +3 -3
  76. package/dist/src/poster/core/QTIPoster.d.ts +1 -1
  77. package/dist/src/poster/core/QTPoster.d.ts +13 -13
  78. package/dist/src/poster/core/QTPosterCorner.d.ts +2 -2
  79. package/dist/src/poster/core/QTPosterElement.d.ts +1 -1
  80. package/dist/src/poster/core/QTPosterImage.d.ts +1 -1
  81. package/dist/src/poster/core/QTPosterRipple.d.ts +3 -3
  82. package/dist/src/poster/core/QTPosterScore.d.ts +4 -4
  83. package/dist/src/poster/core/QTPosterTitle.d.ts +5 -5
  84. package/dist/src/poster/index.vue.d.ts +19 -16
  85. package/dist/src/progressbar/QTIProgressBar.d.ts +8 -8
  86. package/dist/src/progressbar/QTProgressBar.d.ts +1 -1
  87. package/dist/src/progressbar/QtProgressBarAPI.d.ts +12 -12
  88. package/dist/src/qrcode/QTIQRCode.d.ts +1 -1
  89. package/dist/src/qrcode/QTQRCodeView.d.ts +1 -1
  90. package/dist/src/qrcode/QtQRCodeAPI.d.ts +3 -3
  91. package/dist/src/qt/QtAPI.d.ts +67 -31
  92. package/dist/src/qtListen/index.d.ts +3 -3
  93. package/dist/src/qtListen/qtDiff.d.ts +1 -1
  94. package/dist/src/replace-child/QTIReplaceChildView.d.ts +1 -1
  95. package/dist/src/replace-child/QTReplaceChildView.d.ts +1 -1
  96. package/dist/src/replace-child/QtReplaceChildViewAPI.d.ts +5 -5
  97. package/dist/src/row/QTIRow.d.ts +1 -1
  98. package/dist/src/row/QtRowAPI.d.ts +3 -3
  99. package/dist/src/scroll-view/QTIScrollView.d.ts +1 -1
  100. package/dist/src/scroll-view/QTScrollView.d.ts +1 -1
  101. package/dist/src/scroll-view/QtScrollViewAPI.d.ts +5 -5
  102. package/dist/src/section/index.vue.d.ts +11 -11
  103. package/dist/src/seekbar/QTISeekBar.d.ts +8 -8
  104. package/dist/src/seekbar/QTSeekBar.d.ts +1 -1
  105. package/dist/src/seekbar/QtSeekBarAPI.d.ts +12 -12
  106. package/dist/src/series/DataAdapter.d.ts +6 -6
  107. package/dist/src/series/QTIMediaSeries.d.ts +6 -6
  108. package/dist/src/series/QTMediaSeries.d.ts +2 -2
  109. package/dist/src/series/QTMediaSeriesData.d.ts +1 -1
  110. package/dist/src/series/QTMediaSeriesEvent.d.ts +1 -1
  111. package/dist/src/series/QTMediaSeriesGroup.d.ts +1 -1
  112. package/dist/src/series/QtMediaSeriesAPI.d.ts +8 -8
  113. package/dist/src/series/component/media-series.vue.d.ts +9 -9
  114. package/dist/src/series/index.vue.d.ts +26 -22
  115. package/dist/src/series/item/media-series-number-item.vue.d.ts +4 -4
  116. package/dist/src/series/item/media-series-text-item.vue.d.ts +4 -4
  117. package/dist/src/tab/QTITab.d.ts +9 -9
  118. package/dist/src/tab/QTTab.d.ts +1 -1
  119. package/dist/src/tab/QTTabDataManager.d.ts +7 -7
  120. package/dist/src/tab/QTTabEvent.d.ts +2 -2
  121. package/dist/src/tab/QTTabEventParams.d.ts +1 -1
  122. package/dist/src/tab/QTTabItem.d.ts +1 -1
  123. package/dist/src/tab/QTTabPage.d.ts +1 -1
  124. package/dist/src/tab/QTTabPageData.d.ts +1 -1
  125. package/dist/src/tab/QTTabPageDataState.d.ts +1 -1
  126. package/dist/src/tab/QtTabAPI.d.ts +11 -11
  127. package/dist/src/tab/index.vue.d.ts +51 -59
  128. package/dist/src/text/QTIText.d.ts +2 -2
  129. package/dist/src/text/QTTextSpan.d.ts +1 -1
  130. package/dist/src/text/QTTextSpanAttribute.d.ts +1 -1
  131. package/dist/src/text/QtTextAPI.d.ts +6 -6
  132. package/dist/src/text/index.vue.d.ts +12 -12
  133. package/dist/src/ul/QTIUL.d.ts +3 -3
  134. package/dist/src/ul/QTULInitPosition.d.ts +1 -1
  135. package/dist/src/ul/QtULAPI.d.ts +7 -7
  136. package/dist/src/utils/QtVirtualViewAPI.d.ts +1 -1
  137. package/dist/src/utils/functions.d.ts +1 -0
  138. package/dist/src/utils/index.d.ts +2 -0
  139. package/dist/src/utils/make-installer.d.ts +5 -0
  140. package/dist/src/utils/objects.d.ts +2 -0
  141. package/dist/src/utils/type.d.ts +1 -1
  142. package/dist/src/utils/types.d.ts +9 -0
  143. package/dist/src/utils/vue/index.d.ts +3 -0
  144. package/dist/src/utils/vue/install.d.ts +6 -0
  145. package/dist/src/utils/vue/props/index.d.ts +3 -0
  146. package/dist/src/utils/vue/props/runtime.d.ts +9 -0
  147. package/dist/src/utils/vue/props/types.d.ts +38 -0
  148. package/dist/src/utils/vue/props/util.d.ts +8 -0
  149. package/dist/src/utils/vue/typescript.d.ts +6 -0
  150. package/dist/src/view/QTIView.d.ts +1 -1
  151. package/dist/src/view/QtViewAPI.d.ts +3 -44
  152. package/dist/src/view/index.vue.d.ts +12 -12
  153. package/dist/src/waterfall/QtWaterfallAPI.d.ts +9 -9
  154. package/dist/src/waterfall/core/QTIWaterfall.d.ts +4 -4
  155. package/dist/src/waterfall/core/QTWaterfall.d.ts +1 -1
  156. package/dist/src/waterfall/core/QTWaterfallCardItem.d.ts +2 -2
  157. package/dist/src/waterfall/core/QTWaterfallCardSection.d.ts +3 -3
  158. package/dist/src/waterfall/core/QTWaterfallDataAdapter.d.ts +3 -3
  159. package/dist/src/waterfall/core/QTWaterfallDataManager.d.ts +3 -3
  160. package/dist/src/waterfall/core/QTWaterfallEvent.d.ts +1 -1
  161. package/dist/src/waterfall/core/QTWaterfallFlexStyle.d.ts +8 -8
  162. package/dist/src/waterfall/core/QTWaterfallItem.d.ts +2 -2
  163. package/dist/src/waterfall/core/QTWaterfallPluginItem.d.ts +1 -1
  164. package/dist/src/waterfall/core/QTWaterfallPluginSection.d.ts +1 -1
  165. package/dist/src/waterfall/core/QTWaterfallSection.d.ts +5 -5
  166. package/dist/src/waterfall/core/QTWaterfallTabItem.d.ts +2 -2
  167. package/dist/src/waterfall/index.vue.d.ts +37 -24
  168. package/dist/src/waterfall/item/card-item.vue.d.ts +1 -1
  169. package/dist/src/waterfall/item/plugin-item.vue.d.ts +12 -12
  170. package/dist/src/waterfall/section/blank-section.vue.d.ts +1 -1
  171. package/dist/src/waterfall/section/card-section.vue.d.ts +1 -1
  172. package/dist/src/waterfall/section/end-section.vue.d.ts +1 -1
  173. package/dist/src/waterfall/section/flex-section.vue.d.ts +11 -8
  174. package/dist/src/waterfall/section/loading-section.vue.d.ts +1 -1
  175. package/dist/src/waterfall/section/plugin-section.vue.d.ts +6 -6
  176. package/dist/src/waterfall/section/section-title.vue.d.ts +5 -5
  177. package/dist/src/waterfall/section/vue-section.vue.d.ts +5 -5
  178. package/dist/src/webview/QTIWebView.d.ts +1 -1
  179. package/dist/src/webview/QTWebView.d.ts +1 -1
  180. package/dist/src/webview/QtWebViewAPI.d.ts +5 -5
  181. package/dist/src/x5webview/QTIX5WebView.d.ts +1 -1
  182. package/dist/src/x5webview/QTX5WebView.d.ts +1 -1
  183. package/dist/src/x5webview/QtX5WebViewAPI.d.ts +5 -5
  184. package/package.json +5 -1
@@ -1,10 +1,10 @@
1
- import { QTTextSpan } from "./QTTextSpan";
1
+ import { QTTextSpan } from './QTTextSpan';
2
2
  declare const _default: import("vue").DefineComponent<{}, {
3
- dispatchFunctionBySid: (sid: string, funcName: string, args: import("..").QTNativeParams[]) => void;
4
- requestFocus: (direction?: import("..").QTFocusDirection | undefined) => void;
5
- requestChildFocus: (position: number, direction?: import("..").QTFocusDirection | undefined) => void;
3
+ dispatchFunctionBySid: (sid: string, funcName: string, args: Array<import("..").QTNativeParams>) => void;
4
+ requestFocus: (direction?: import("..").QTFocusDirection) => void;
5
+ requestChildFocus: (position: number, direction?: import("..").QTFocusDirection) => void;
6
6
  clearFocus: () => void;
7
- requestFocusDirectly: (direction?: import("..").QTFocusDirection | undefined) => void;
7
+ requestFocusDirectly: (direction?: import("..").QTFocusDirection) => void;
8
8
  setVisibility: (v: import("..").QTIViewVisibility) => void;
9
9
  requestRootLayout: () => void;
10
10
  requestLayout: () => void;
@@ -20,11 +20,11 @@ declare const _default: import("vue").DefineComponent<{}, {
20
20
  setPosition: (x: number, y: number, z: number) => void;
21
21
  updateLayout: (width: number, height: number, x: number, y: number) => void;
22
22
  invalidate: () => void;
23
- dispatchFunctionForTarget: (targetName: string, functionTargetName: string, params: import("..").QTNativeParams[], delay: number) => void;
24
- setBlockFocusDirections: (directionList: import("..").QTFocusDirectionName[]) => void;
25
- setBlockFocusDirectionsOnFail: (directionList: import("..").QTFocusDirectionName[]) => void;
26
- setInitFocus: (sid: string, delay?: number | undefined) => void;
27
- setAutoFocus: (sid: string, delay?: number | undefined) => void;
23
+ dispatchFunctionForTarget: (targetName: string, functionTargetName: string, params: Array<import("..").QTNativeParams>, delay: number) => void;
24
+ setBlockFocusDirections: (directionList: Array<import("..").QTFocusDirectionName>) => void;
25
+ setBlockFocusDirectionsOnFail: (directionList: Array<import("..").QTFocusDirectionName>) => void;
26
+ setInitFocus: (sid: string, delay?: number) => void;
27
+ setAutoFocus: (sid: string, delay?: number) => void;
28
28
  enabledAutofocus: (autofocus: boolean) => void;
29
29
  requestAutofocus: () => void;
30
30
  hasFocus: () => Promise<boolean>;
@@ -35,10 +35,10 @@ declare const _default: import("vue").DefineComponent<{}, {
35
35
  requestChildFocusAtIndex: (position: number) => void;
36
36
  clearMemoryFocused: () => void;
37
37
  showDialog: (show: boolean) => void;
38
- viewRef: import("vue").Ref<any>;
38
+ viewRef: import("vue").Ref<any, any>;
39
39
  setText: (text: string) => void;
40
40
  setTextSize: (size: number) => void;
41
41
  setTextColor: (color: string) => void;
42
42
  textSpan: (span: QTTextSpan) => void;
43
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
43
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
44
44
  export default _default;
@@ -1,6 +1,6 @@
1
- import { QTIView } from "../view/QTIView";
2
- import { QTULInitPosition } from "./QTULInitPosition";
3
- import { QTPosition } from "../core/QTPosition";
1
+ import { QTIView } from '../view/QTIView';
2
+ import { QTULInitPosition } from './QTULInitPosition';
3
+ import { QTPosition } from '../core/QTPosition';
4
4
  export interface QTIUL extends QTIView {
5
5
  scrollToIndex(x: number, y: number, animated: boolean, duration: number, offset: number): void;
6
6
  setInitPosition(initPosition: QTULInitPosition): void;
@@ -1,2 +1,2 @@
1
- import { QTListInitPosition } from "../list/QTListInitPosition";
1
+ import { QTListInitPosition } from '../list/QTListInitPosition';
2
2
  export type QTULInitPosition = QTListInitPosition;
@@ -1,9 +1,9 @@
1
- import { QtViewAPI } from "../view/QtViewAPI";
2
- import { Ref } from "@vue/reactivity";
3
- import { QTULInitPosition } from "./QTULInitPosition";
4
- import { QTPosition } from "../core/QTPosition";
5
- import { QTIUL } from "./QTIUL";
6
- export interface QtULAPI extends QtViewAPI {
1
+ import { Ref } from '@vue/reactivity';
2
+ import { QTULInitPosition } from './QTULInitPosition';
3
+ import { QTPosition } from '../core/QTPosition';
4
+ import { QTIUL } from './QTIUL';
5
+ import { QtBaseViewAPI } from '../base/QtBaseViewAPI';
6
+ export interface QtULAPI extends QtBaseViewAPI {
7
7
  scrollToIndex(instance: string | Ref<QTIUL | undefined>, x: number, y: number, animated: boolean, duration: number, offset: number): void;
8
8
  setInitPosition(instance: string | Ref<QTIUL | undefined>, initPosition: QTULInitPosition): void;
9
9
  clearInitPosition(instance: string | Ref<QTIUL | undefined>): void;
@@ -14,4 +14,4 @@ export interface QtULAPI extends QtViewAPI {
14
14
  refreshListData(instance: string | Ref<QTIUL | undefined>): void;
15
15
  getScrollOffset(instance: string | Ref<QTIUL | undefined>): Promise<QTPosition>;
16
16
  }
17
- export declare function createQtULAPI(viewAPI: QtViewAPI): QtULAPI;
17
+ export declare function createQtULAPI(viewAPI: QtBaseViewAPI): QtULAPI;
@@ -1,4 +1,4 @@
1
- import { QTListViewItem } from "../list-view/core/QTListViewItem";
1
+ import { QTListViewItem } from '../list-view/core/QTListViewItem';
2
2
  export interface QtVirtualViewAPI {
3
3
  searchReplaceItem(instance: string, item: QTListViewItem): void;
4
4
  searchReplaceItemTraverse(instance: string, item: QTListViewItem): void;
@@ -0,0 +1 @@
1
+ export { NOOP } from '@vue/shared';
@@ -0,0 +1,2 @@
1
+ export * from './vue';
2
+ export * from './objects';
@@ -0,0 +1,5 @@
1
+ export declare const INSTALLED_KEY: unique symbol;
2
+ import type { App, Plugin } from '@vue/runtime-core';
3
+ export declare const makeInstaller: (components?: Plugin[]) => {
4
+ install: (app: App) => void;
5
+ };
@@ -0,0 +1,2 @@
1
+ export declare const keysOf: <T extends object>(arr: T) => Array<keyof T>;
2
+ export { hasOwn } from '@vue/shared';
@@ -1 +1 @@
1
- export declare const isString: (val: unknown) => boolean;
1
+ export declare const isString: (val: unknown) => val is string;
@@ -0,0 +1,9 @@
1
+ export { isArray, isFunction, isObject, isString, isDate, isPromise, isSymbol, isPlainObject, } from '@vue/shared';
2
+ export declare const isUndefined: (val: any) => val is undefined;
3
+ export declare const isBoolean: (val: any) => val is boolean;
4
+ export declare const isNumber: (val: any) => val is number;
5
+ export declare const isEmpty: (val: unknown) => boolean;
6
+ export declare const isElement: (e: unknown) => e is Element;
7
+ export declare const isPropAbsent: (prop: unknown) => prop is null | undefined;
8
+ export declare const isStringNumber: (val: string) => boolean;
9
+ export declare const isWindow: (val: unknown) => val is Window;
@@ -0,0 +1,3 @@
1
+ export * from './install';
2
+ export * from './props';
3
+ export * from './typescript';
@@ -0,0 +1,6 @@
1
+ import type { Directive } from 'vue';
2
+ import type { SFCInstallWithContext, SFCWithInstall } from './typescript';
3
+ export declare const withInstall: <T, E extends Record<string, any>>(main: T, extra?: E) => SFCWithInstall<T> & E;
4
+ export declare const withInstallFunction: <T>(fn: T, name: string) => SFCInstallWithContext<T>;
5
+ export declare const withInstallDirective: <T extends Directive>(directive: T, name: string) => SFCWithInstall<T>;
6
+ export declare const withNoopInstall: <T>(component: T) => SFCWithInstall<T>;
@@ -0,0 +1,3 @@
1
+ export * from './util';
2
+ export * from './types';
3
+ export * from './runtime';
@@ -0,0 +1,9 @@
1
+ import type { PropType } from 'vue';
2
+ import type { EpProp, EpPropConvert, EpPropFinalized, EpPropInput, EpPropMergeType, IfEpProp, IfNativePropType, NativePropType } from './types';
3
+ export declare const epPropKey = "__epPropKey";
4
+ export declare const definePropType: <T>(val: any) => PropType<T>;
5
+ export declare const isEpProp: (val: unknown) => val is EpProp<any, any, any>;
6
+ export declare const buildProp: <Type = never, Value = never, Validator = never, Default extends EpPropMergeType<Type, Value, Validator> = never, Required extends boolean = false>(prop: EpPropInput<Type, Value, Validator, Default, Required>, key?: string) => EpPropFinalized<Type, Value, Validator, Default, Required>;
7
+ export declare const buildProps: <Props extends Record<string, {
8
+ [epPropKey]: true;
9
+ } | NativePropType | EpPropInput<any, any, any, any, any>>>(props: Props) => { [K in keyof Props]: IfEpProp<Props[K], Props[K], IfNativePropType<Props[K], Props[K], EpPropConvert<Props[K]>>>; };
@@ -0,0 +1,38 @@
1
+ import type { epPropKey } from './runtime';
2
+ import type { ExtractPropTypes, PropType } from 'vue';
3
+ import type { IfNever, UnknownToNever, WritableArray } from './util';
4
+ type Value<T> = T[keyof T];
5
+ export type ExtractPropType<T extends object> = Value<ExtractPropTypes<{
6
+ key: T;
7
+ }>>;
8
+ export type ResolvePropType<T> = IfNever<T, never, ExtractPropType<{
9
+ type: WritableArray<T>;
10
+ required: true;
11
+ }>>;
12
+ export type EpPropMergeType<Type, Value, Validator> = IfNever<UnknownToNever<Value>, ResolvePropType<Type>, never> | UnknownToNever<Value> | UnknownToNever<Validator>;
13
+ export type EpPropInputDefault<Required extends boolean, Default> = Required extends true ? never : Default extends Record<string, unknown> | Array<any> ? () => Default : (() => Default) | Default;
14
+ export type NativePropType = ((...args: any) => any) | {
15
+ new (...args: any): any;
16
+ } | undefined | null;
17
+ export type IfNativePropType<T, Y, N> = [T] extends [NativePropType] ? Y : N;
18
+ export type EpPropInput<Type, Value, Validator, Default extends EpPropMergeType<Type, Value, Validator>, Required extends boolean> = {
19
+ type?: Type;
20
+ required?: Required;
21
+ values?: readonly Value[];
22
+ validator?: ((val: any) => val is Validator) | ((val: any) => boolean);
23
+ default?: EpPropInputDefault<Required, Default>;
24
+ };
25
+ export type EpProp<Type, Default, Required> = {
26
+ readonly type: PropType<Type>;
27
+ readonly required: [Required] extends [true] ? true : false;
28
+ readonly validator: ((val: unknown) => boolean) | undefined;
29
+ [epPropKey]: true;
30
+ } & IfNever<Default, unknown, {
31
+ readonly default: Default;
32
+ }>;
33
+ export type IfEpProp<T, Y, N> = T extends {
34
+ [epPropKey]: true;
35
+ } ? Y : N;
36
+ export type EpPropConvert<Input> = Input extends EpPropInput<infer Type, infer Value, infer Validator, any, infer Required> ? EpPropFinalized<Type, Value, Validator, Input['default'], Required> : never;
37
+ export type EpPropFinalized<Type, Value, Validator, Default, Required> = EpProp<EpPropMergeType<Type, Value, Validator>, UnknownToNever<Default>, Required>;
38
+ export {};
@@ -0,0 +1,8 @@
1
+ export type Writable<T> = {
2
+ -readonly [P in keyof T]: T[P];
3
+ };
4
+ export type WritableArray<T> = T extends readonly any[] ? Writable<T> : T;
5
+ export type IfNever<T, Y = true, N = false> = [T] extends [never] ? Y : N;
6
+ export type IfUnknown<T, Y, N> = [unknown] extends [T] ? Y : N;
7
+ export type UnknownToNever<T> = IfUnknown<T, never, T>;
8
+ export {};
@@ -0,0 +1,6 @@
1
+ import type { AppContext, EmitsOptions, Plugin, SetupContext } from 'vue';
2
+ export type SFCWithInstall<T> = T & Plugin;
3
+ export type SFCInstallWithContext<T> = SFCWithInstall<T> & {
4
+ _context: AppContext | null;
5
+ };
6
+ export type EmitFn<E extends EmitsOptions> = SetupContext<E>['emit'];
@@ -1,3 +1,3 @@
1
- import { QTIBaseView } from "../base/QTIBaseView";
1
+ import { QTIBaseView } from '../base/QTIBaseView';
2
2
  export interface QTIView extends QTIBaseView {
3
3
  }
@@ -1,45 +1,4 @@
1
- import { QTIViewVisibility } from "./QTIViewVisibility";
2
- import { Ref } from "@vue/reactivity";
3
- import { QTIView } from "./QTIView";
4
- import { QTFocusDirection } from "../focus/QTFocusDirection";
5
- import { QTFocusDescendant } from "../focus/QTFocusDescendant";
6
- import { QTDescendantFocusability } from "../focus/QTDescendantFocusability";
7
- import { QTNativeParams } from "../core/QTNativeParams";
8
- import { QTFocusDirectionName } from "../focus/QTFocusDirectionName";
9
- import { QTEventData } from "../core/QTEventData";
10
- import { QTLocation } from "../core/QTLocation";
11
- import { QTViewState } from "./QTViewState";
12
- export interface QtViewAPI {
13
- requestFocus(instance: string | Ref<QTIView | undefined>, direction?: QTFocusDirection): void;
14
- requestChildFocus(instance: string | Ref<QTIView | undefined>, position: number): void;
15
- clearFocus(instance: string | Ref<QTIView | undefined>): void;
16
- requestFocusDirectly(instance: string | Ref<QTIView | undefined>, direction?: QTFocusDirection): void;
17
- setVisibility(instance: string | Ref<QTIView | undefined>, v: QTIViewVisibility): void;
18
- requestRootLayout(instance: string | Ref<QTIView | undefined>): void;
19
- requestLayout(instance: string | Ref<QTIView | undefined>): void;
20
- setDescendantFocusability(instance: string | Ref<QTIView | undefined>, descendant: QTFocusDescendant): void;
21
- changeDescendantFocusability(instance: string | Ref<QTIView | undefined>, descendant: QTDescendantFocusability): void;
22
- forceUpdateRenderNode(instance: string | Ref<QTIView | undefined>): void;
23
- setBackGroundColor(instance: string | Ref<QTIView | undefined>, color: string): void;
24
- layoutViewManual(instance: string | Ref<QTIView | undefined>): void;
25
- blockRootFocus(instance: string | Ref<QTIView | undefined>): void;
26
- unBlockRootFocus(instance: string | Ref<QTIView | undefined>): void;
27
- changeAlpha(instance: string | Ref<QTIView | undefined>, alpha: number): void;
28
- setScale(instance: string | Ref<QTIView | undefined>, x: number, y: number, duration: number): void;
29
- setPosition(instance: string | Ref<QTIView | undefined>, x: number, y: number, z: number): void;
30
- updateLayout(instance: string | Ref<QTIView | undefined>, width: number, height: number, x: number, y: number): void;
31
- invalidate(instance: string | Ref<QTIView | undefined>): void;
32
- dispatchFunctionForTarget(instance: string | Ref<QTIView | undefined>, targetName: string, functionTargetName: string, params: Array<QTNativeParams>, delay: number): void;
33
- setBlockFocusDirections(instance: string | Ref<QTIView | undefined>, directionList: Array<QTFocusDirectionName>): void;
34
- setBlockFocusDirectionsOnFail(instance: string | Ref<QTIView | undefined>, directionList: Array<QTFocusDirectionName>): void;
35
- setInitFocus(instance: string | Ref<QTIView | undefined>, sid: string, delay?: number): void;
36
- setAutoFocus(instance: string | Ref<QTIView | undefined>, sid: string, delay?: number): void;
37
- enabledAutofocus(instance: string | Ref<QTIView | undefined>, autofocus: boolean): void;
38
- requestAutofocus(instance: string | Ref<QTIView | undefined>): void;
39
- hasFocus(instance: string | Ref<QTIView | undefined>): Promise<boolean>;
40
- isFocused(instance: string | Ref<QTIView | undefined>): Promise<boolean>;
41
- getLocationOnScreen(instance: string | Ref<QTIView | undefined>): Promise<QTEventData<QTLocation>>;
42
- getViewState(instance: string | Ref<QTIView | undefined>): Promise<QTViewState>;
43
- getChildViewState(instance: string | Ref<QTIView | undefined>, position: number): Promise<QTViewState>;
1
+ import { QtBaseViewAPI } from '../base/QtBaseViewAPI';
2
+ export interface QtViewAPI extends QtBaseViewAPI {
44
3
  }
45
- export declare function createQtViewAPI(): QtViewAPI;
4
+ export declare function createQtViewAPI(viewAPI: QtBaseViewAPI): QtViewAPI;
@@ -1,9 +1,9 @@
1
1
  declare const _default: import("vue").DefineComponent<{}, {
2
- dispatchFunctionBySid: (sid: string, funcName: string, args: import("..").QTNativeParams[]) => void;
3
- requestFocus: (direction?: import("..").QTFocusDirection | undefined) => void;
4
- requestChildFocus: (position: number, direction?: import("..").QTFocusDirection | undefined) => void;
2
+ dispatchFunctionBySid: (sid: string, funcName: string, args: Array<import("..").QTNativeParams>) => void;
3
+ requestFocus: (direction?: import("..").QTFocusDirection) => void;
4
+ requestChildFocus: (position: number, direction?: import("..").QTFocusDirection) => void;
5
5
  clearFocus: () => void;
6
- requestFocusDirectly: (direction?: import("..").QTFocusDirection | undefined) => void;
6
+ requestFocusDirectly: (direction?: import("..").QTFocusDirection) => void;
7
7
  setVisibility: (v: import("./QTIViewVisibility").QTIViewVisibility) => void;
8
8
  requestRootLayout: () => void;
9
9
  requestLayout: () => void;
@@ -19,11 +19,11 @@ declare const _default: import("vue").DefineComponent<{}, {
19
19
  setPosition: (x: number, y: number, z: number) => void;
20
20
  updateLayout: (width: number, height: number, x: number, y: number) => void;
21
21
  invalidate: () => void;
22
- dispatchFunctionForTarget: (targetName: string, functionTargetName: string, params: import("..").QTNativeParams[], delay: number) => void;
23
- setBlockFocusDirections: (directionList: import("..").QTFocusDirectionName[]) => void;
24
- setBlockFocusDirectionsOnFail: (directionList: import("..").QTFocusDirectionName[]) => void;
25
- setInitFocus: (sid: string, delay?: number | undefined) => void;
26
- setAutoFocus: (sid: string, delay?: number | undefined) => void;
22
+ dispatchFunctionForTarget: (targetName: string, functionTargetName: string, params: Array<import("..").QTNativeParams>, delay: number) => void;
23
+ setBlockFocusDirections: (directionList: Array<import("..").QTFocusDirectionName>) => void;
24
+ setBlockFocusDirectionsOnFail: (directionList: Array<import("..").QTFocusDirectionName>) => void;
25
+ setInitFocus: (sid: string, delay?: number) => void;
26
+ setAutoFocus: (sid: string, delay?: number) => void;
27
27
  enabledAutofocus: (autofocus: boolean) => void;
28
28
  requestAutofocus: () => void;
29
29
  hasFocus: () => Promise<boolean>;
@@ -34,8 +34,8 @@ declare const _default: import("vue").DefineComponent<{}, {
34
34
  requestChildFocusAtIndex: (position: number) => void;
35
35
  clearMemoryFocused: () => void;
36
36
  showDialog: (show: boolean) => void;
37
- viewRef: import("vue").Ref<any>;
38
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "clearFocus"[], "clearFocus", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
37
+ viewRef: import("vue").Ref<any, any>;
38
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "clearFocus"[], "clearFocus", import("vue").PublicProps, Readonly<{}> & Readonly<{
39
39
  onClearFocus?: ((...args: any[]) => any) | undefined;
40
- }, {}, {}>;
40
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
41
41
  export default _default;
@@ -1,11 +1,11 @@
1
- import { QtViewAPI } from "../view/QtViewAPI";
2
- import { QtBaseListViewAPI } from "../list/QtBaseListViewAPI";
3
- import { QTWaterfall } from "./core/QTWaterfall";
4
- import { QTWaterfallSection } from "./core/QTWaterfallSection";
5
- import { QTWaterfallItem } from "./core/QTWaterfallItem";
6
- import { Ref } from "@vue/reactivity";
7
- import { QTIWaterfall } from "./core/QTIWaterfall";
8
- export interface QtWaterfallAPI extends QtViewAPI, QtBaseListViewAPI {
1
+ import { QtBaseListViewAPI } from '../list/QtBaseListViewAPI';
2
+ import { QTWaterfall } from './core/QTWaterfall';
3
+ import { QTWaterfallSection } from './core/QTWaterfallSection';
4
+ import { QTWaterfallItem } from './core/QTWaterfallItem';
5
+ import { Ref } from '@vue/reactivity';
6
+ import { QTIWaterfall } from './core/QTIWaterfall';
7
+ import { QtBaseViewAPI } from '../base/QtBaseViewAPI';
8
+ export interface QtWaterfallAPI extends QtBaseViewAPI, QtBaseListViewAPI {
9
9
  init(instance: Ref<QTIWaterfall | undefined>, waterfall: QTWaterfall): any;
10
10
  getSectionList(instance: Ref<QTIWaterfall | undefined>): Array<QTWaterfallSection>;
11
11
  setSectionList(instance: Ref<QTIWaterfall | undefined>, sections: Array<QTWaterfallSection>): void;
@@ -20,4 +20,4 @@ export interface QtWaterfallAPI extends QtViewAPI, QtBaseListViewAPI {
20
20
  updateItemList(instance: Ref<QTIWaterfall | undefined>, sectionIndex: number, itemIndex: number, count: number, itemList: Array<QTWaterfallItem>): void;
21
21
  getItem(instance: Ref<QTIWaterfall | undefined>, sectionIndex: number, itemIndex: number): QTWaterfallItem | undefined;
22
22
  }
23
- export declare function createQtWaterfallAPI(viewAPI: QtViewAPI, listViewAPI: QtBaseListViewAPI): QtWaterfallAPI;
23
+ export declare function createQtWaterfallAPI(viewAPI: QtBaseViewAPI, listViewAPI: QtBaseListViewAPI): QtWaterfallAPI;
@@ -1,7 +1,7 @@
1
- import { QTWaterfallSection } from "./QTWaterfallSection";
2
- import { QTWaterfall } from "./QTWaterfall";
3
- import { QTWaterfallItem } from "./QTWaterfallItem";
4
- import { QTIBaseListView } from "../../list/QTIBaseListView";
1
+ import { QTWaterfallSection } from './QTWaterfallSection';
2
+ import { QTWaterfall } from './QTWaterfall';
3
+ import { QTWaterfallItem } from './QTWaterfallItem';
4
+ import { QTIBaseListView } from '../../list/QTIBaseListView';
5
5
  export interface QTIWaterfall extends QTIBaseListView {
6
6
  init(waterfall: QTWaterfall): any;
7
7
  getSectionList(): Array<QTWaterfallSection>;
@@ -1,4 +1,4 @@
1
- import { QTWaterfallVisibleType } from "./QTWaterfallVisibleType";
1
+ import { QTWaterfallVisibleType } from './QTWaterfallVisibleType';
2
2
  export interface QTWaterfall {
3
3
  width: number;
4
4
  height: number;
@@ -1,5 +1,5 @@
1
- import { QTWaterfallItem } from "./QTWaterfallItem";
2
- import { QTWaterfallCardPlaceHolder } from "./QTWaterfallCardPlaceHolder";
1
+ import { QTWaterfallItem } from './QTWaterfallItem';
2
+ import { QTWaterfallCardPlaceHolder } from './QTWaterfallCardPlaceHolder';
3
3
  export interface QTWaterfallCardItem extends QTWaterfallItem {
4
4
  cardId: string;
5
5
  cardPlaceHolder?: QTWaterfallCardPlaceHolder;
@@ -1,6 +1,6 @@
1
- import { QTWaterfallSection } from "./QTWaterfallSection";
2
- import { QTWaterfallFlexStyle } from "./QTWaterfallFlexStyle";
3
- import { QTWaterfallCardPlaceHolder } from "./QTWaterfallCardPlaceHolder";
1
+ import { QTWaterfallSection } from './QTWaterfallSection';
2
+ import { QTWaterfallFlexStyle } from './QTWaterfallFlexStyle';
3
+ import { QTWaterfallCardPlaceHolder } from './QTWaterfallCardPlaceHolder';
4
4
  export interface QTWaterfallCardSection extends QTWaterfallSection {
5
5
  cardId: string;
6
6
  cardStyle: QTWaterfallFlexStyle;
@@ -1,5 +1,5 @@
1
- import { QTWaterfallItem } from "./QTWaterfallItem";
2
- import { QTWaterfall } from "./QTWaterfall";
3
- import { QTWaterfallSection } from "./QTWaterfallSection";
1
+ import { QTWaterfallItem } from './QTWaterfallItem';
2
+ import { QTWaterfall } from './QTWaterfall';
3
+ import { QTWaterfallSection } from './QTWaterfallSection';
4
4
  export declare function generateSectionList(waterfall: QTWaterfall, sectionList: Array<QTWaterfallSection>, isResetSection?: boolean): Array<QTWaterfallItem>;
5
5
  export declare function generateSection(waterfall: QTWaterfall, section: QTWaterfallSection, isResetSection?: boolean): QTWaterfallSection;
@@ -1,6 +1,6 @@
1
- import { QTWaterfallSection } from "./QTWaterfallSection";
2
- import { QTWaterfallItem } from "./QTWaterfallItem";
3
- import { QTWaterfallIndex } from "./QTWaterfallIndex";
1
+ import { QTWaterfallSection } from './QTWaterfallSection';
2
+ import { QTWaterfallItem } from './QTWaterfallItem';
3
+ import { QTWaterfallIndex } from './QTWaterfallIndex';
4
4
  export interface QTWaterfallDataManager {
5
5
  init(): void;
6
6
  getSectionList(): Array<QTWaterfallSection>;
@@ -1,4 +1,4 @@
1
- import { QTWaterfallItem } from "./QTWaterfallItem";
1
+ import { QTWaterfallItem } from './QTWaterfallItem';
2
2
  export interface QTWaterfallEvent {
3
3
  position: number;
4
4
  parentPosition: number;
@@ -1,9 +1,9 @@
1
- import { QTFlexStyleMargin } from "../../core/QTFlexStyleMargin";
2
- import { QTFlexStylePadding } from "../../core/QTFlexStylePadding";
3
- import { QTFlexStyleSize } from "../../core/QTFlexStyleSize";
4
- import { QTFlexStyleSpacing } from "../../core/QTFlexStyleSpacing";
5
- import { QTFlexStyleDecoration } from "../../core/QTFlexStyleDecoration";
6
- import { QTFlexStyleCoordinate } from "../../core/QTFlexStyleCoordinate";
7
- import { QTFlexStyleBackground } from "../../core/QTFlexStyleBackground";
8
- import { QTFlexStyleGradientBackground } from "../../core/QTFlexStyleGradientBackground";
1
+ import { QTFlexStyleMargin } from '../../core/QTFlexStyleMargin';
2
+ import { QTFlexStylePadding } from '../../core/QTFlexStylePadding';
3
+ import { QTFlexStyleSize } from '../../core/QTFlexStyleSize';
4
+ import { QTFlexStyleSpacing } from '../../core/QTFlexStyleSpacing';
5
+ import { QTFlexStyleDecoration } from '../../core/QTFlexStyleDecoration';
6
+ import { QTFlexStyleCoordinate } from '../../core/QTFlexStyleCoordinate';
7
+ import { QTFlexStyleBackground } from '../../core/QTFlexStyleBackground';
8
+ import { QTFlexStyleGradientBackground } from '../../core/QTFlexStyleGradientBackground';
9
9
  export type QTWaterfallFlexStyle = QTFlexStyleMargin & QTFlexStylePadding & QTFlexStyleSize & QTFlexStyleSpacing & QTFlexStyleDecoration & QTFlexStyleCoordinate & QTFlexStyleBackground & QTFlexStyleGradientBackground;
@@ -1,5 +1,5 @@
1
- import { QTListViewItem } from "../../list-view/core/QTListViewItem";
2
- import { QTWaterfallFlexStyle } from "./QTWaterfallFlexStyle";
1
+ import { QTListViewItem } from '../../list-view/core/QTListViewItem';
2
+ import { QTWaterfallFlexStyle } from './QTWaterfallFlexStyle';
3
3
  export interface QTWaterfallItem extends QTListViewItem {
4
4
  style: QTWaterfallFlexStyle;
5
5
  [prop: string]: any;
@@ -1,4 +1,4 @@
1
- import { QTWaterfallItem } from "./QTWaterfallItem";
1
+ import { QTWaterfallItem } from './QTWaterfallItem';
2
2
  export interface QTWaterfallPluginItem extends QTWaterfallItem {
3
3
  pluginKey: string;
4
4
  [prop: string]: any;
@@ -1,4 +1,4 @@
1
- import { QTWaterfallSection } from "./QTWaterfallSection";
1
+ import { QTWaterfallSection } from './QTWaterfallSection';
2
2
  export interface QTWaterfallPluginSection extends QTWaterfallSection {
3
3
  pluginKey: string;
4
4
  [prop: string]: any;
@@ -1,8 +1,8 @@
1
- import { QTWaterfallItem } from "./QTWaterfallItem";
2
- import { QTWaterfallFlexStyle } from "./QTWaterfallFlexStyle";
3
- import { QTListViewItem } from "../../list-view/core/QTListViewItem";
4
- import { QTFlexStyleText } from "../../core/QTFlexStyleText";
5
- import { QTWaterfallPlaceholder } from "./QTWaterfallPlaceholder";
1
+ import { QTWaterfallItem } from './QTWaterfallItem';
2
+ import { QTWaterfallFlexStyle } from './QTWaterfallFlexStyle';
3
+ import { QTListViewItem } from '../../list-view/core/QTListViewItem';
4
+ import { QTFlexStyleText } from '../../core/QTFlexStyleText';
5
+ import { QTWaterfallPlaceholder } from './QTWaterfallPlaceholder';
6
6
  export interface QTWaterfallSection extends QTListViewItem {
7
7
  title?: string;
8
8
  titleStyle?: QTWaterfallFlexStyle & QTFlexStyleText;
@@ -1,5 +1,5 @@
1
- import { QTWaterfallFlexStyle } from "./QTWaterfallFlexStyle";
2
- import { QTWaterfallItem } from "./QTWaterfallItem";
1
+ import { QTWaterfallFlexStyle } from './QTWaterfallFlexStyle';
2
+ import { QTWaterfallItem } from './QTWaterfallItem';
3
3
  export interface QTWaterfallTabItem extends QTWaterfallItem {
4
4
  text: string;
5
5
  textStyle?: QTWaterfallFlexStyle;
@@ -1,11 +1,11 @@
1
- import { QTWaterfall } from "./core/QTWaterfall";
2
- import { QTWaterfallSection } from "./core/QTWaterfallSection";
3
- import { ESIListView } from "@extscreen/es3-component";
4
- import { QTWaterfallItem } from "./core/QTWaterfallItem";
5
- import { QTWaterfallEvent } from "./core/QTWaterfallEvent";
6
- import { QTWaterfallVisibleType } from "./core/QTWaterfallVisibleType";
7
- import { QTPluginViewEvent } from "../plugin/QTIPluginView";
8
- declare const _default: import("vue").DefineComponent<{
1
+ import { QTWaterfall } from './core/QTWaterfall';
2
+ import { QTWaterfallSection } from './core/QTWaterfallSection';
3
+ import { ESIListView } from '@extscreen/es3-component';
4
+ import { QTWaterfallItem } from './core/QTWaterfallItem';
5
+ import { QTWaterfallEvent } from './core/QTWaterfallEvent';
6
+ import { QTWaterfallVisibleType } from './core/QTWaterfallVisibleType';
7
+ import { QTPluginViewEvent } from '../plugin/QTIPluginView';
8
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
9
9
  enablePlaceholder: {
10
10
  type: BooleanConstructor;
11
11
  default: boolean;
@@ -69,12 +69,12 @@ declare const _default: import("vue").DefineComponent<{
69
69
  type: StringConstructor;
70
70
  required: false;
71
71
  };
72
- }, {
73
- dispatchFunctionBySid: (sid: string, funcName: string, args: import("..").QTNativeParams[]) => void;
74
- requestFocus: (direction?: import("..").QTFocusDirection | undefined) => void;
75
- requestChildFocus: (position: number, direction?: import("..").QTFocusDirection | undefined) => void;
72
+ }>, {
73
+ dispatchFunctionBySid: (sid: string, funcName: string, args: Array<import("..").QTNativeParams>) => void;
74
+ requestFocus: (direction?: import("..").QTFocusDirection) => void;
75
+ requestChildFocus: (position: number, direction?: import("..").QTFocusDirection) => void;
76
76
  clearFocus: () => void;
77
- requestFocusDirectly: (direction?: import("..").QTFocusDirection | undefined) => void;
77
+ requestFocusDirectly: (direction?: import("..").QTFocusDirection) => void;
78
78
  setVisibility: (v: import("..").QTIViewVisibility) => void;
79
79
  requestRootLayout: () => void;
80
80
  requestLayout: () => void;
@@ -90,11 +90,11 @@ declare const _default: import("vue").DefineComponent<{
90
90
  setPosition: (x: number, y: number, z: number) => void;
91
91
  updateLayout: (width: number, height: number, x: number, y: number) => void;
92
92
  invalidate: () => void;
93
- dispatchFunctionForTarget: (targetName: string, functionTargetName: string, params: import("..").QTNativeParams[], delay: number) => void;
94
- setBlockFocusDirections: (directionList: import("..").QTFocusDirectionName[]) => void;
95
- setBlockFocusDirectionsOnFail: (directionList: import("..").QTFocusDirectionName[]) => void;
96
- setInitFocus: (sid: string, delay?: number | undefined) => void;
97
- setAutoFocus: (sid: string, delay?: number | undefined) => void;
93
+ dispatchFunctionForTarget: (targetName: string, functionTargetName: string, params: Array<import("..").QTNativeParams>, delay: number) => void;
94
+ setBlockFocusDirections: (directionList: Array<import("..").QTFocusDirectionName>) => void;
95
+ setBlockFocusDirectionsOnFail: (directionList: Array<import("..").QTFocusDirectionName>) => void;
96
+ setInitFocus: (sid: string, delay?: number) => void;
97
+ setAutoFocus: (sid: string, delay?: number) => void;
98
98
  enabledAutofocus: (autofocus: boolean) => void;
99
99
  requestAutofocus: () => void;
100
100
  hasFocus: () => Promise<boolean>;
@@ -105,8 +105,8 @@ declare const _default: import("vue").DefineComponent<{
105
105
  requestChildFocusAtIndex: (position: number) => void;
106
106
  clearMemoryFocused: () => void;
107
107
  showDialog: (show: boolean) => void;
108
- waterfallRef: import("vue").Ref<ESIListView | undefined>;
109
- visibleType: import("vue").Ref<QTWaterfallVisibleType>;
108
+ waterfallRef: import("vue").Ref<ESIListView | undefined, ESIListView | undefined>;
109
+ visibleType: import("vue").Ref<QTWaterfallVisibleType, QTWaterfallVisibleType>;
110
110
  init: (data: QTWaterfall) => void;
111
111
  getSectionList: () => Array<QTWaterfallSection>;
112
112
  setSectionList: (sectionList: Array<QTWaterfallSection>) => void;
@@ -149,7 +149,10 @@ declare const _default: import("vue").DefineComponent<{
149
149
  onScrollYLesserReference: () => void;
150
150
  onPluginLoadSuccess: (event: QTPluginViewEvent) => void;
151
151
  onPluginLoadError: (event: QTPluginViewEvent) => void;
152
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("onScroll" | "onScrollStateChanged" | "onItemClick" | "onItemFocused" | "onSectionBind" | "onSectionAttached" | "onSectionDetached" | "onScrollYGreaterReference" | "onScrollYLesserReference" | "onPluginLoadSuccess" | "onPluginLoadError")[], "onScroll" | "onScrollStateChanged" | "onItemClick" | "onItemFocused" | "onSectionBind" | "onSectionAttached" | "onSectionDetached" | "onScrollYGreaterReference" | "onScrollYLesserReference" | "onPluginLoadSuccess" | "onPluginLoadError", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
152
+ scrollToIndex: (x: number, y: number, animated?: boolean, duration?: number, offset?: number) => void;
153
+ scrollToPosition: (position: number, offset?: number) => void;
154
+ scrollToPositionWithOffset: (position: number, offset: number, animated: boolean) => void;
155
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("onScroll" | "onScrollStateChanged" | "onItemClick" | "onItemFocused" | "onSectionBind" | "onSectionAttached" | "onSectionDetached" | "onScrollYGreaterReference" | "onScrollYLesserReference" | "onPluginLoadSuccess" | "onPluginLoadError")[], "onScroll" | "onScrollStateChanged" | "onItemClick" | "onItemFocused" | "onSectionBind" | "onSectionAttached" | "onSectionDetached" | "onScrollYGreaterReference" | "onScrollYLesserReference" | "onPluginLoadSuccess" | "onPluginLoadError", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
153
156
  enablePlaceholder: {
154
157
  type: BooleanConstructor;
155
158
  default: boolean;
@@ -213,7 +216,7 @@ declare const _default: import("vue").DefineComponent<{
213
216
  type: StringConstructor;
214
217
  required: false;
215
218
  };
216
- }>> & {
219
+ }>> & Readonly<{
217
220
  onOnScroll?: ((...args: any[]) => any) | undefined;
218
221
  onOnScrollStateChanged?: ((...args: any[]) => any) | undefined;
219
222
  onOnItemClick?: ((...args: any[]) => any) | undefined;
@@ -225,7 +228,7 @@ declare const _default: import("vue").DefineComponent<{
225
228
  onOnScrollYLesserReference?: ((...args: any[]) => any) | undefined;
226
229
  onOnPluginLoadSuccess?: ((...args: any[]) => any) | undefined;
227
230
  onOnPluginLoadError?: ((...args: any[]) => any) | undefined;
228
- }, {
231
+ }>, {
229
232
  enablePlaceholder: boolean;
230
233
  blockFocusDirections: unknown[];
231
234
  vueSectionBlockFocusDirections: unknown[];
@@ -235,5 +238,15 @@ declare const _default: import("vue").DefineComponent<{
235
238
  scrollYGreaterReferenceValue: number;
236
239
  pStype: Record<string, any>;
237
240
  qtTabSectionEnable: Record<string, any>;
238
- }, {}>;
241
+ }, {}, {
242
+ 'flex-section': import("vue").DefineComponent<{}, {}, any>;
243
+ 'list-section': import("vue").DefineComponent<{}, {}, any>;
244
+ 'section-title': import("vue").DefineComponent<{}, {}, any>;
245
+ 'loading-section': import("vue").DefineComponent<{}, {}, any>;
246
+ 'end-section': import("vue").DefineComponent<{}, {}, any>;
247
+ 'blank-section': import("vue").DefineComponent<{}, {}, any>;
248
+ 'card-section': import("vue").DefineComponent<{}, {}, any>;
249
+ 'vue-section': import("vue").DefineComponent<{}, {}, any>;
250
+ 'plugin-section': import("vue").DefineComponent<{}, {}, any>;
251
+ }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
239
252
  export default _default;
@@ -1,4 +1,4 @@
1
1
  declare const _default: import("@vue/runtime-core").DefineComponent<{}, {
2
2
  onFocus: (e: any) => void;
3
- }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{}>>, {}, {}>;
3
+ }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, true, {}, any>;
4
4
  export default _default;