@quicktvui/quicktvui3 1.2.0 → 3.0.0-alpha.11

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 (206) hide show
  1. package/dist/index.css +17 -29
  2. package/dist/index.js +7 -10
  3. package/dist/src/animation/QTAnimation.android.d.ts +3 -0
  4. package/dist/src/animation/QTAnimation.harmony.d.ts +3 -0
  5. package/dist/src/animation/QTIAnimation.d.ts +19 -9
  6. package/dist/src/animation/QtAnimationAPI.d.ts +16 -34
  7. package/dist/src/animation/types.d.ts +40 -0
  8. package/dist/src/app/QTAppIcon.d.ts +1 -1
  9. package/dist/src/app/QtAppIconAPI.d.ts +5 -5
  10. package/dist/src/base/QTIBaseView.d.ts +10 -10
  11. package/dist/src/base/QtBaseNativeViewAPI.d.ts +2 -0
  12. package/dist/src/base/QtBaseViewAPI.d.ts +45 -0
  13. package/dist/src/base/useBaseView.d.ts +11 -11
  14. package/dist/src/button/QTIButton.d.ts +1 -1
  15. package/dist/src/button/QtButtonAPI.d.ts +3 -3
  16. package/dist/src/button/index.vue.d.ts +21 -21
  17. package/dist/src/canvas/CanvasGradient.d.ts +36 -0
  18. package/dist/src/canvas/QTCanvasView.d.ts +3 -0
  19. package/dist/src/canvas/QTICanvasView.d.ts +50 -0
  20. package/dist/src/canvas/QtCanvasViewAPI.d.ts +54 -0
  21. package/dist/src/classified-list-view/QtClassifiedListViewAPI.d.ts +6 -6
  22. package/dist/src/classified-list-view/core/QTClassifiedListViewItem.d.ts +2 -2
  23. package/dist/src/classified-list-view/core/QTIClassifiedListView.d.ts +2 -2
  24. package/dist/src/classified-list-view/index.vue.d.ts +21 -21
  25. package/dist/src/collapse/QtCollapseAPI.d.ts +7 -7
  26. package/dist/src/collapse/core/QTCollapse.d.ts +1 -1
  27. package/dist/src/collapse/core/QTICollapse.d.ts +3 -3
  28. package/dist/src/collapse/core/QTICollapseItem.d.ts +2 -2
  29. package/dist/src/collapse/index.vue.d.ts +18 -18
  30. package/dist/src/column/QTIColumn.d.ts +1 -1
  31. package/dist/src/column/QtColumnAPI.d.ts +3 -3
  32. package/dist/src/core/QTFlexStyleGradientBackground.d.ts +1 -1
  33. package/dist/src/core/QTLocation.d.ts +2 -2
  34. package/dist/src/dialog/QTDialog.d.ts +1 -1
  35. package/dist/src/dialog/QTIDialog.d.ts +1 -1
  36. package/dist/src/file-browse/QTFileBrowse.d.ts +3 -0
  37. package/dist/src/file-browse/QTIFileBrowse.d.ts +8 -0
  38. package/dist/src/gradient/QTGradient.d.ts +3 -3
  39. package/dist/src/grid-view/QtGridViewAPI.d.ts +7 -7
  40. package/dist/src/grid-view/core/QTGridViewItem.d.ts +1 -1
  41. package/dist/src/grid-view/core/QTIGridView.d.ts +2 -2
  42. package/dist/src/grid-view/index.vue.d.ts +32 -32
  43. package/dist/src/image/QTIImage.d.ts +2 -2
  44. package/dist/src/image/QtImageAPI.d.ts +6 -6
  45. package/dist/src/image/index.vue.d.ts +12 -12
  46. package/dist/src/index.d.ts +25 -7
  47. package/dist/src/list/QTIBaseListView.d.ts +5 -5
  48. package/dist/src/list/QtBaseListViewAPI.d.ts +6 -6
  49. package/dist/src/list/useBaseListView.d.ts +6 -6
  50. package/dist/src/list/useListView.d.ts +49 -0
  51. package/dist/src/list-indicator/QTIndicatorListViewComponent.d.ts +1 -1
  52. package/dist/src/list-indicator/QtIndicatorViewAPI.d.ts +7 -7
  53. package/dist/src/list-indicator/core/QTIIndicatorView.d.ts +2 -2
  54. package/dist/src/list-item/ESListItemComponent.d.ts +1 -1
  55. package/dist/src/list-item/QtListItemAPI.d.ts +5 -5
  56. package/dist/src/list-view/QTListViewComponent.d.ts +1 -1
  57. package/dist/src/list-view/QtListViewAPI.d.ts +7 -7
  58. package/dist/src/list-view/core/QTIListView.d.ts +2 -2
  59. package/dist/src/list-view/core/QTListViewItem.d.ts +2 -2
  60. package/dist/src/loading/QTILoadingView.d.ts +1 -1
  61. package/dist/src/loading/QTLoadingView.d.ts +1 -1
  62. package/dist/src/loading/QtLoadingAPI.d.ts +3 -3
  63. package/dist/src/long-image/QTILongImage.d.ts +22 -0
  64. package/dist/src/long-image/QTLongImage.d.ts +3 -0
  65. package/dist/src/long-image/QTLongImageEventBean.d.ts +55 -0
  66. package/dist/src/long-image/QTLongImageOrientation.d.ts +7 -0
  67. package/dist/src/long-image/QTLongImagePositionType.d.ts +5 -0
  68. package/dist/src/long-image/QTLongImageScaleType.d.ts +9 -0
  69. package/dist/src/long-image/QtLongImageAPI.d.ts +4 -0
  70. package/dist/src/long-image/index.vue.d.ts +211 -0
  71. package/dist/src/lottie/QTILottieView.d.ts +4 -4
  72. package/dist/src/lottie/QTLottieView.android.d.ts +3 -0
  73. package/dist/src/lottie/QTLottieView.harmony.d.ts +3 -0
  74. package/dist/src/lottie/QtLottieViewAPI.d.ts +8 -8
  75. package/dist/src/nav-bar/QTINavBar.d.ts +2 -2
  76. package/dist/src/nav-bar/QTNavBar.d.ts +1 -1
  77. package/dist/src/nav-bar/QTNavBarItem.d.ts +2 -2
  78. package/dist/src/nav-bar/QtNavBarAPI.d.ts +6 -6
  79. package/dist/src/nav-bar/index.vue.d.ts +18 -18
  80. package/dist/src/plugin/QTIPluginView.d.ts +1 -1
  81. package/dist/src/plugin/QTPluginView.d.ts +1 -1
  82. package/dist/src/plugin/QtPluginViewAPI.d.ts +5 -5
  83. package/dist/src/poster/QtPosterAPI.d.ts +3 -3
  84. package/dist/src/poster/core/QTIPoster.d.ts +1 -1
  85. package/dist/src/poster/core/QTPoster.d.ts +13 -13
  86. package/dist/src/poster/core/QTPosterCorner.d.ts +2 -2
  87. package/dist/src/poster/core/QTPosterElement.d.ts +1 -1
  88. package/dist/src/poster/core/QTPosterImage.d.ts +1 -1
  89. package/dist/src/poster/core/QTPosterRipple.d.ts +3 -3
  90. package/dist/src/poster/core/QTPosterScore.d.ts +4 -4
  91. package/dist/src/poster/core/QTPosterTitle.d.ts +5 -5
  92. package/dist/src/poster/index.vue.d.ts +19 -16
  93. package/dist/src/progressbar/QTIProgressBar.d.ts +8 -8
  94. package/dist/src/progressbar/QTProgressBar.d.ts +1 -1
  95. package/dist/src/progressbar/QtProgressBarAPI.d.ts +12 -12
  96. package/dist/src/qrcode/QTIQRCode.d.ts +1 -1
  97. package/dist/src/qrcode/QTQRCodeView.d.ts +1 -1
  98. package/dist/src/qrcode/QtQRCodeAPI.d.ts +3 -3
  99. package/dist/src/qt/QtAPI.d.ts +67 -31
  100. package/dist/src/qtListen/index.d.ts +6 -4
  101. package/dist/src/qtListen/qtArray.d.ts +1 -0
  102. package/dist/src/qtListen/qtDiff.d.ts +1 -1
  103. package/dist/src/qtListen/ref.d.ts +30 -0
  104. package/dist/src/qtListen/types.d.ts +13 -2
  105. package/dist/src/qtListen/watch.d.ts +6 -1
  106. package/dist/src/replace-child/QTIReplaceChildView.d.ts +1 -1
  107. package/dist/src/replace-child/QTReplaceChildView.d.ts +1 -1
  108. package/dist/src/replace-child/QtReplaceChildViewAPI.d.ts +5 -5
  109. package/dist/src/row/QTIRow.d.ts +1 -1
  110. package/dist/src/row/QtRowAPI.d.ts +3 -3
  111. package/dist/src/scroll-view/QTIScrollView.d.ts +1 -1
  112. package/dist/src/scroll-view/QTScrollView.d.ts +1 -1
  113. package/dist/src/scroll-view/QtScrollViewAPI.d.ts +5 -5
  114. package/dist/src/section/index.vue.d.ts +11 -11
  115. package/dist/src/seekbar/QTISeekBar.d.ts +8 -8
  116. package/dist/src/seekbar/QTSeekBar.d.ts +1 -1
  117. package/dist/src/seekbar/QtSeekBarAPI.d.ts +12 -12
  118. package/dist/src/series/DataAdapter.d.ts +6 -6
  119. package/dist/src/series/QTIMediaSeries.d.ts +6 -6
  120. package/dist/src/series/QTMediaSeries.d.ts +2 -2
  121. package/dist/src/series/QTMediaSeriesData.d.ts +1 -1
  122. package/dist/src/series/QTMediaSeriesEvent.d.ts +1 -1
  123. package/dist/src/series/QTMediaSeriesGroup.d.ts +1 -1
  124. package/dist/src/series/QtMediaSeriesAPI.d.ts +8 -8
  125. package/dist/src/series/component/media-series.vue.d.ts +9 -9
  126. package/dist/src/series/index.vue.d.ts +26 -22
  127. package/dist/src/series/item/media-series-number-item.vue.d.ts +4 -4
  128. package/dist/src/series/item/media-series-text-item.vue.d.ts +4 -4
  129. package/dist/src/tab/QTITab.d.ts +9 -9
  130. package/dist/src/tab/QTTab.d.ts +1 -1
  131. package/dist/src/tab/QTTabDataManager.d.ts +8 -8
  132. package/dist/src/tab/QTTabEvent.d.ts +2 -2
  133. package/dist/src/tab/QTTabEventParams.d.ts +1 -1
  134. package/dist/src/tab/QTTabItem.d.ts +1 -1
  135. package/dist/src/tab/QTTabPage.d.ts +1 -1
  136. package/dist/src/tab/QTTabPageData.d.ts +1 -1
  137. package/dist/src/tab/QTTabPageDataState.d.ts +1 -1
  138. package/dist/src/tab/QtTabAPI.d.ts +11 -11
  139. package/dist/src/tab/index.vue.d.ts +99 -33
  140. package/dist/src/tab/useQtTabWatch.d.ts +3 -0
  141. package/dist/src/text/QTIText.d.ts +2 -2
  142. package/dist/src/text/QTTextSpan.d.ts +1 -1
  143. package/dist/src/text/QTTextSpanAttribute.d.ts +1 -1
  144. package/dist/src/text/QtTextAPI.d.ts +6 -6
  145. package/dist/src/text/index.vue.d.ts +12 -12
  146. package/dist/src/ul/QTIUL.d.ts +3 -3
  147. package/dist/src/ul/QTULInitPosition.d.ts +1 -1
  148. package/dist/src/ul/QtULAPI.d.ts +7 -7
  149. package/dist/src/utils/QtVirtualViewAPI.d.ts +1 -1
  150. package/dist/src/utils/functions.d.ts +1 -0
  151. package/dist/src/utils/index.d.ts +2 -0
  152. package/dist/src/utils/make-installer.d.ts +5 -0
  153. package/dist/src/utils/objects.d.ts +2 -0
  154. package/dist/src/utils/type.d.ts +1 -1
  155. package/dist/src/utils/types.d.ts +9 -0
  156. package/dist/src/utils/vue/index.d.ts +3 -0
  157. package/dist/src/utils/vue/install.d.ts +6 -0
  158. package/dist/src/utils/vue/props/index.d.ts +3 -0
  159. package/dist/src/utils/vue/props/runtime.d.ts +9 -0
  160. package/dist/src/utils/vue/props/types.d.ts +38 -0
  161. package/dist/src/utils/vue/props/util.d.ts +8 -0
  162. package/dist/src/utils/vue/typescript.d.ts +6 -0
  163. package/dist/src/view/QTIView.d.ts +1 -1
  164. package/dist/src/view/QtViewAPI.d.ts +3 -44
  165. package/dist/src/view/index.vue.d.ts +12 -12
  166. package/dist/src/waterfall/QtWaterfallAPI.d.ts +9 -9
  167. package/dist/src/waterfall/core/QTIWaterfall.d.ts +4 -4
  168. package/dist/src/waterfall/core/QTWaterfall.d.ts +1 -1
  169. package/dist/src/waterfall/core/QTWaterfallCardItem.d.ts +2 -2
  170. package/dist/src/waterfall/core/QTWaterfallCardSection.d.ts +3 -3
  171. package/dist/src/waterfall/core/QTWaterfallDataAdapter.d.ts +3 -3
  172. package/dist/src/waterfall/core/QTWaterfallDataManager.d.ts +3 -3
  173. package/dist/src/waterfall/core/QTWaterfallEvent.d.ts +1 -1
  174. package/dist/src/waterfall/core/QTWaterfallFlexStyle.d.ts +8 -8
  175. package/dist/src/waterfall/core/QTWaterfallItem.d.ts +2 -2
  176. package/dist/src/waterfall/core/QTWaterfallPluginItem.d.ts +1 -1
  177. package/dist/src/waterfall/core/QTWaterfallPluginSection.d.ts +1 -1
  178. package/dist/src/waterfall/core/QTWaterfallSection.d.ts +5 -5
  179. package/dist/src/waterfall/core/QTWaterfallTabItem.d.ts +2 -2
  180. package/dist/src/waterfall/index.vue.d.ts +37 -24
  181. package/dist/src/waterfall/item/card-item.vue.d.ts +1 -1
  182. package/dist/src/waterfall/item/plugin-item.vue.d.ts +12 -12
  183. package/dist/src/waterfall/section/blank-section.vue.d.ts +1 -1
  184. package/dist/src/waterfall/section/card-section.vue.d.ts +1 -1
  185. package/dist/src/waterfall/section/end-section.vue.d.ts +1 -1
  186. package/dist/src/waterfall/section/flex-section.vue.d.ts +11 -8
  187. package/dist/src/waterfall/section/loading-section.vue.d.ts +1 -1
  188. package/dist/src/waterfall/section/plugin-section.vue.d.ts +6 -6
  189. package/dist/src/waterfall/section/section-title.vue.d.ts +5 -5
  190. package/dist/src/waterfall/section/vue-section.vue.d.ts +5 -5
  191. package/dist/src/webview/QTIWebView.d.ts +31 -3
  192. package/dist/src/webview/QTWebView.d.ts +1 -1
  193. package/dist/src/webview/QTWebViewInterceptRule.d.ts +4 -0
  194. package/dist/src/webview/QTWebViewLayerType.d.ts +5 -0
  195. package/dist/src/webview/QTWebViewSniffingRule.d.ts +20 -0
  196. package/dist/src/webview/QtWebViewAPI.d.ts +35 -7
  197. package/dist/src/x5webview/QTIX5WebView.d.ts +36 -3
  198. package/dist/src/x5webview/QTX5WebView.d.ts +1 -1
  199. package/dist/src/x5webview/QTX5WebViewInterceptRule.d.ts +4 -0
  200. package/dist/src/x5webview/QTX5WebViewLayerType.d.ts +5 -0
  201. package/dist/src/x5webview/QTX5WebViewSniffingRule.d.ts +20 -0
  202. package/dist/src/x5webview/QtX5WebViewAPI.d.ts +37 -7
  203. package/package.json +20 -5
  204. package/web-types.json +1 -1
  205. package/dist/src/animation/QTAnimation.d.ts +0 -3
  206. package/dist/src/lottie/QTLottieView.d.ts +0 -3
@@ -1,15 +1,19 @@
1
- import { QTINavBar } from "../nav-bar/QTINavBar";
2
- import { QTTab } from "./QTTab";
3
- import { QTTabEvent } from "./QTTabEvent";
4
- import { QTTabPageData } from "./QTTabPageData";
5
- import { QTWaterfall } from "../waterfall/core/QTWaterfall";
6
- import { ESITab, ESListViewItemFunctionParams, ESViewStateCallback } from "@extscreen/es3-component";
7
- import { QTWaterfallItem } from "../waterfall/core/QTWaterfallItem";
8
- import { QTTabPageState } from "./QTTabPageState";
9
- import { QTWaterfallSection } from "../waterfall/core/QTWaterfallSection";
10
- import { QTTabItem } from "./QTTabItem";
11
- import { QTPluginViewEvent } from "../plugin/QTIPluginView";
12
- declare const _default: import("vue").DefineComponent<{
1
+ import { QTINavBar } from '../nav-bar/QTINavBar';
2
+ import { QTTab } from './QTTab';
3
+ import { QTTabEvent } from './QTTabEvent';
4
+ import { QTTabPageData } from './QTTabPageData';
5
+ import { QTWaterfall } from '../waterfall/core/QTWaterfall';
6
+ import { ESITab, ESListViewItemFunctionParams, ESViewStateCallback } from '@extscreen/es3-component';
7
+ import { QTWaterfallItem } from '../waterfall/core/QTWaterfallItem';
8
+ import { QTTabPageState } from './QTTabPageState';
9
+ import { QTWaterfallSection } from '../waterfall/core/QTWaterfallSection';
10
+ import { QTTabItem } from './QTTabItem';
11
+ import { QTPluginViewEvent } from '../plugin/QTIPluginView';
12
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
13
+ offScreenPageLimit: {
14
+ type: NumberConstructor;
15
+ default: number;
16
+ };
13
17
  enablePlaceholder: {
14
18
  type: BooleanConstructor;
15
19
  default: boolean;
@@ -147,6 +151,14 @@ declare const _default: import("vue").DefineComponent<{
147
151
  type: BooleanConstructor;
148
152
  default: boolean;
149
153
  };
154
+ tabContentVerticalFadingEdgeEnabled: {
155
+ type: BooleanConstructor;
156
+ default: boolean;
157
+ };
158
+ tabContentFadingEdgeLength: {
159
+ type: NumberConstructor;
160
+ default: number;
161
+ };
150
162
  fadingEdgeLength: {
151
163
  type: NumberConstructor;
152
164
  default: number;
@@ -174,12 +186,30 @@ declare const _default: import("vue").DefineComponent<{
174
186
  itemStoreEnable: boolean;
175
187
  };
176
188
  };
177
- }, {
178
- dispatchFunctionBySid: (sid: string, funcName: string, args: import("..").QTNativeParams[]) => void;
179
- requestFocus: (direction?: import("..").QTFocusDirection | undefined) => void;
180
- requestChildFocus: (position: number, direction?: import("..").QTFocusDirection | undefined) => void;
189
+ tabConfig: {
190
+ type: ObjectConstructor;
191
+ default: () => {
192
+ defaultFocusIndex: number;
193
+ defaultIndex: number;
194
+ };
195
+ };
196
+ waterfallConfig: {
197
+ type: ObjectConstructor;
198
+ default: () => {
199
+ width: number;
200
+ height: number;
201
+ };
202
+ };
203
+ tabs: {
204
+ type: ArrayConstructor;
205
+ default: () => never[];
206
+ };
207
+ }>, {
208
+ dispatchFunctionBySid: (sid: string, funcName: string, args: Array<import("..").QTNativeParams>) => void;
209
+ requestFocus: (direction?: import("..").QTFocusDirection) => void;
210
+ requestChildFocus: (position: number, direction?: import("..").QTFocusDirection) => void;
181
211
  clearFocus: () => void;
182
- requestFocusDirectly: (direction?: import("..").QTFocusDirection | undefined) => void;
212
+ requestFocusDirectly: (direction?: import("..").QTFocusDirection) => void;
183
213
  setVisibility: (v: import("..").QTIViewVisibility) => void;
184
214
  requestRootLayout: () => void;
185
215
  requestLayout: () => void;
@@ -195,11 +225,11 @@ declare const _default: import("vue").DefineComponent<{
195
225
  setPosition: (x: number, y: number, z: number) => void;
196
226
  updateLayout: (width: number, height: number, x: number, y: number) => void;
197
227
  invalidate: () => void;
198
- dispatchFunctionForTarget: (targetName: string, functionTargetName: string, params: import("..").QTNativeParams[], delay: number) => void;
199
- setBlockFocusDirections: (directionList: import("..").QTFocusDirectionName[]) => void;
200
- setBlockFocusDirectionsOnFail: (directionList: import("..").QTFocusDirectionName[]) => void;
201
- setInitFocus: (sid: string, delay?: number | undefined) => void;
202
- setAutoFocus: (sid: string, delay?: number | undefined) => void;
228
+ dispatchFunctionForTarget: (targetName: string, functionTargetName: string, params: Array<import("..").QTNativeParams>, delay: number) => void;
229
+ setBlockFocusDirections: (directionList: Array<import("..").QTFocusDirectionName>) => void;
230
+ setBlockFocusDirectionsOnFail: (directionList: Array<import("..").QTFocusDirectionName>) => void;
231
+ setInitFocus: (sid: string, delay?: number) => void;
232
+ setAutoFocus: (sid: string, delay?: number) => void;
203
233
  enabledAutofocus: (autofocus: boolean) => void;
204
234
  requestAutofocus: () => void;
205
235
  hasFocus: () => Promise<boolean>;
@@ -210,9 +240,9 @@ declare const _default: import("vue").DefineComponent<{
210
240
  requestChildFocusAtIndex: (position: number) => void;
211
241
  clearMemoryFocused: () => void;
212
242
  showDialog: (show: boolean) => void;
213
- tabs: import("vue").Ref<ESITab | undefined>;
214
- ifTabs: import("vue").Ref<boolean>;
215
- navBarRef: import("vue").Ref<QTINavBar | undefined>;
243
+ tabs: import("vue").Ref<ESITab | undefined, ESITab | undefined>;
244
+ ifTabs: import("vue").Ref<boolean, boolean>;
245
+ navBarRef: import("vue").Ref<QTINavBar | undefined, QTINavBar | undefined>;
216
246
  initTab: (tab: QTTab) => void;
217
247
  initPage: (w: QTWaterfall) => void;
218
248
  setPageState: (pageIndex: number, state: QTTabPageState) => void;
@@ -223,7 +253,7 @@ declare const _default: import("vue").DefineComponent<{
223
253
  getPageSection: (pageIndex: number, sectionIndex: number) => QTWaterfallSection | undefined;
224
254
  getPageSectionList: (pageIndex: number) => Array<QTWaterfallSection> | undefined;
225
255
  deletePageSection: (pageIndex: number, sectionIndex: number, count: number) => void;
226
- addPageItemList: (pageIndex: number, sectionIndex: number, itemList: Array<QTWaterfallItem>) => void;
256
+ addPageItemList: (pageIndex: number, sectionIndex: number, itemList: Array<QTWaterfallItem>, insertIndex?: number, deleteCount?: number) => void;
227
257
  getPageItem: (pageIndex: number, sectionIndex: number, itemIndex: number) => QTWaterfallItem | undefined;
228
258
  updatePageItem: (pageIndex: number, sectionIndex: number, itemIndex: number, item: QTWaterfallItem) => void;
229
259
  deletePageItem: (pageIndex: number, sectionIndex: number, itemIndex: number, count: number) => void;
@@ -246,7 +276,7 @@ declare const _default: import("vue").DefineComponent<{
246
276
  cancelAll: () => void;
247
277
  translationLeft: () => void;
248
278
  translationRight: () => void;
249
- rootOpacity: import("vue").Ref<number>;
279
+ rootOpacity: import("vue").Ref<number, number>;
250
280
  onTabPageLoadData: (e: QTTabEvent) => void;
251
281
  onTabPageChanged: (e: QTTabEvent) => void;
252
282
  onTabEvent: (e: QTTabEvent) => void;
@@ -263,11 +293,15 @@ declare const _default: import("vue").DefineComponent<{
263
293
  onTabClick: (e: QTTabItem) => void;
264
294
  getCurrentPageIndex: () => number;
265
295
  getCurrentTabIndex: () => Promise<number>;
266
- insertPageData(tabPageIndex: number, sectionIndex: number, data: any[]): void;
296
+ insertPageData: (tabPageIndex: number, sectionIndex: number, data: any[]) => void;
267
297
  onPluginLoadSuccess: (event: QTPluginViewEvent) => void;
268
298
  onPluginLoadError: (event: QTPluginViewEvent) => void;
269
- getDataManager(): import("./QTTabDataManager").QTTabDataManager;
270
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("onTabPageLoadData" | "onTabPageChanged" | "onTabEvent" | "onTabPageItemClick" | "onTabPageItemFocused" | "onTabPageSectionAttached" | "onTabPageScroll" | "onTabPageScrollStateChanged" | "onTabMoveToTopStart" | "onTabMoveToTopEnd" | "onTabMoveToBottomStart" | "onTabMoveToBottomEnd" | "onTabChanged" | "onTabPageScrollToEnd" | "onTabPageScrollToStart" | "onTabClick" | "onPluginLoadSuccess" | "onPluginLoadError")[], "onTabPageLoadData" | "onTabPageChanged" | "onTabEvent" | "onTabPageItemClick" | "onTabPageItemFocused" | "onTabPageSectionAttached" | "onTabPageScroll" | "onTabPageScrollStateChanged" | "onTabMoveToTopStart" | "onTabMoveToTopEnd" | "onTabMoveToBottomStart" | "onTabMoveToBottomEnd" | "onTabChanged" | "onTabPageScrollToEnd" | "onTabPageScrollToStart" | "onTabClick" | "onPluginLoadSuccess" | "onPluginLoadError", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
299
+ getDataManager: () => import("./QTTabDataManager").QTTabDataManager;
300
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("onTabPageLoadData" | "onTabPageChanged" | "onTabEvent" | "onTabPageItemClick" | "onTabPageItemFocused" | "onTabPageSectionAttached" | "onTabPageScroll" | "onTabPageScrollStateChanged" | "onTabMoveToTopStart" | "onTabMoveToTopEnd" | "onTabMoveToBottomStart" | "onTabMoveToBottomEnd" | "onTabChanged" | "onTabPageScrollToEnd" | "onTabPageScrollToStart" | "onTabClick" | "onPluginLoadSuccess" | "onPluginLoadError")[], "onTabPageLoadData" | "onTabPageChanged" | "onTabEvent" | "onTabPageItemClick" | "onTabPageItemFocused" | "onTabPageSectionAttached" | "onTabPageScroll" | "onTabPageScrollStateChanged" | "onTabMoveToTopStart" | "onTabMoveToTopEnd" | "onTabMoveToBottomStart" | "onTabMoveToBottomEnd" | "onTabChanged" | "onTabPageScrollToEnd" | "onTabPageScrollToStart" | "onTabClick" | "onPluginLoadSuccess" | "onPluginLoadError", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
301
+ offScreenPageLimit: {
302
+ type: NumberConstructor;
303
+ default: number;
304
+ };
271
305
  enablePlaceholder: {
272
306
  type: BooleanConstructor;
273
307
  default: boolean;
@@ -405,6 +439,14 @@ declare const _default: import("vue").DefineComponent<{
405
439
  type: BooleanConstructor;
406
440
  default: boolean;
407
441
  };
442
+ tabContentVerticalFadingEdgeEnabled: {
443
+ type: BooleanConstructor;
444
+ default: boolean;
445
+ };
446
+ tabContentFadingEdgeLength: {
447
+ type: NumberConstructor;
448
+ default: number;
449
+ };
408
450
  fadingEdgeLength: {
409
451
  type: NumberConstructor;
410
452
  default: number;
@@ -432,7 +474,25 @@ declare const _default: import("vue").DefineComponent<{
432
474
  itemStoreEnable: boolean;
433
475
  };
434
476
  };
435
- }>> & {
477
+ tabConfig: {
478
+ type: ObjectConstructor;
479
+ default: () => {
480
+ defaultFocusIndex: number;
481
+ defaultIndex: number;
482
+ };
483
+ };
484
+ waterfallConfig: {
485
+ type: ObjectConstructor;
486
+ default: () => {
487
+ width: number;
488
+ height: number;
489
+ };
490
+ };
491
+ tabs: {
492
+ type: ArrayConstructor;
493
+ default: () => never[];
494
+ };
495
+ }>> & Readonly<{
436
496
  onOnTabPageLoadData?: ((...args: any[]) => any) | undefined;
437
497
  onOnTabPageChanged?: ((...args: any[]) => any) | undefined;
438
498
  onOnTabEvent?: ((...args: any[]) => any) | undefined;
@@ -451,7 +511,8 @@ declare const _default: import("vue").DefineComponent<{
451
511
  onOnTabClick?: ((...args: any[]) => any) | undefined;
452
512
  onOnPluginLoadSuccess?: ((...args: any[]) => any) | undefined;
453
513
  onOnPluginLoadError?: ((...args: any[]) => any) | undefined;
454
- }, {
514
+ }>, {
515
+ offScreenPageLimit: number;
455
516
  enablePlaceholder: boolean;
456
517
  preloadNumber: number;
457
518
  tabNavBarClass: string;
@@ -485,7 +546,12 @@ declare const _default: import("vue").DefineComponent<{
485
546
  navBarNextFocusName: Record<string, any>;
486
547
  horizontalFadingEdgeEnabled: boolean;
487
548
  verticalFadingEdgeEnabled: boolean;
549
+ tabContentVerticalFadingEdgeEnabled: boolean;
550
+ tabContentFadingEdgeLength: number;
488
551
  fadingEdgeLength: number;
489
552
  qtTabSectionEnable: Record<string, any>;
490
- }, {}>;
553
+ tabConfig: Record<string, any>;
554
+ waterfallConfig: Record<string, any>;
555
+ tabs: unknown[];
556
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
491
557
  export default _default;
@@ -0,0 +1,3 @@
1
+ export declare const useQtTabWatch: (props: any, instance: any) => {
2
+ checkIsStaticDatas(pageIndex: number, pageNo: number): boolean;
3
+ };
@@ -1,5 +1,5 @@
1
- import { QTIView } from "../view/QTIView";
2
- import { QTTextSpan } from "./QTTextSpan";
1
+ import { QTIView } from '../view/QTIView';
2
+ import { QTTextSpan } from './QTTextSpan';
3
3
  export interface QTIText extends QTIView {
4
4
  setText(text: string): void;
5
5
  setTextSize(size: number): void;
@@ -1,4 +1,4 @@
1
- import { QTTextSpanAttribute } from "./QTTextSpanAttribute";
1
+ import { QTTextSpanAttribute } from './QTTextSpanAttribute';
2
2
  export interface QTTextSpan {
3
3
  text: string;
4
4
  spanAttr: QTTextSpanAttribute;
@@ -1,4 +1,4 @@
1
- import { QTTextSpanAttributeType } from "./QTTextSpanAttributeType";
1
+ import { QTTextSpanAttributeType } from './QTTextSpanAttributeType';
2
2
  export interface QTTextSpanAttribute {
3
3
  type: QTTextSpanAttributeType;
4
4
  value: Array<number>;
@@ -1,11 +1,11 @@
1
- import { QtViewAPI } from "../view/QtViewAPI";
2
- import { Ref } from "@vue/reactivity";
3
- import { QTTextSpan } from "./QTTextSpan";
4
- import { QTIText } from "./QTIText";
5
- export interface QtTextAPI extends QtViewAPI {
1
+ import { Ref } from '@vue/reactivity';
2
+ import { QTTextSpan } from './QTTextSpan';
3
+ import { QTIText } from './QTIText';
4
+ import { QtBaseViewAPI } from '../base/QtBaseViewAPI';
5
+ export interface QtTextAPI extends QtBaseViewAPI {
6
6
  setText(instance: string | Ref<QTIText | undefined>, text: string): void;
7
7
  setTextSize(instance: string | Ref<QTIText | undefined>, size: number): void;
8
8
  setTextColor(instance: string | Ref<QTIText | undefined>, color: string): void;
9
9
  textSpan(instance: string | Ref<QTIText | undefined>, span: QTTextSpan): void;
10
10
  }
11
- export declare function createQtTextAPI(viewAPI: QtViewAPI): QtTextAPI;
11
+ export declare function createQtTextAPI(viewAPI: QtBaseViewAPI): QtTextAPI;
@@ -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>;