@quicktvui/quicktvui3 1.1.24-beta.9 → 1.1.25

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.
@@ -14,7 +14,6 @@ declare const _default: import("vue").DefineComponent<{
14
14
  };
15
15
  pageSize: {
16
16
  type: NumberConstructor;
17
- default: number;
18
17
  };
19
18
  preloadNo: {
20
19
  type: NumberConstructor;
@@ -41,10 +40,11 @@ declare const _default: import("vue").DefineComponent<{
41
40
  };
42
41
  listData: {
43
42
  type: ArrayConstructor;
44
- required: false;
43
+ default: () => never[];
45
44
  };
46
45
  }, {
47
46
  tv_list: import("vue").Ref<any>;
47
+ apkVersion: import("vue").Ref<number>;
48
48
  init: (target: Array<QTGridViewItem>, isInit?: boolean) => Array<QTGridViewItem>;
49
49
  onItemClick: (e: any) => void;
50
50
  onItemBind: (e: any) => void;
@@ -54,7 +54,7 @@ declare const _default: import("vue").DefineComponent<{
54
54
  onItemUnbind: (e: any) => void;
55
55
  onScroll: (e: any) => void;
56
56
  onScrollStateChanged: (e: any) => void;
57
- stopPage: (isTip?: boolean) => void;
57
+ stopPage: () => void;
58
58
  scrollToTop: () => void;
59
59
  clearFocus: () => void;
60
60
  blockRootFocus: () => void;
@@ -66,8 +66,10 @@ declare const _default: import("vue").DefineComponent<{
66
66
  scrollToFocused: (pos: number) => void;
67
67
  setItemSelected: (pos: number, b: boolean) => void;
68
68
  scrollToSelected: (pos: number, b: boolean) => void;
69
+ updateItemProps: (pos: number, name: string, dataObj: object) => void;
69
70
  setInitPosition: (pos: number) => void;
70
71
  setListData: (dataArr: Array<QTGridViewItem>) => void;
72
+ insertItem: (pos: number, data: Array<QTGridViewItem>) => void;
71
73
  clearPostTask: () => void;
72
74
  destroy: () => void;
73
75
  requestFocus: () => void;
@@ -88,7 +90,6 @@ declare const _default: import("vue").DefineComponent<{
88
90
  };
89
91
  pageSize: {
90
92
  type: NumberConstructor;
91
- default: number;
92
93
  };
93
94
  preloadNo: {
94
95
  type: NumberConstructor;
@@ -115,7 +116,7 @@ declare const _default: import("vue").DefineComponent<{
115
116
  };
116
117
  listData: {
117
118
  type: ArrayConstructor;
118
- required: false;
119
+ default: () => never[];
119
120
  };
120
121
  }>> & {
121
122
  "onItem-click"?: ((...args: any[]) => any) | undefined;
@@ -128,11 +129,11 @@ declare const _default: import("vue").DefineComponent<{
128
129
  loadMore: Function;
129
130
  openPage: boolean;
130
131
  spanCount: number;
131
- pageSize: number;
132
132
  preloadNo: number;
133
133
  defaultFocus: number;
134
134
  areaWidth: number;
135
135
  blockFocusDirections: unknown[];
136
136
  loadingDecoration: Record<string, any>;
137
+ listData: unknown[];
137
138
  }, {}>;
138
139
  export default _default;
@@ -1,5 +1,4 @@
1
1
  import { arrangeChildren4ListView } from "./utils/utils";
2
- export { qtRef, qtWatchAll, qtGetParent } from "./qtListen/index";
3
2
  export declare const QuickTVUI: (Vue: any) => void;
4
3
  export type { QTIGridView } from './grid-view/core/QTIGridView';
5
4
  export type { QTIListView } from './list-view/core/QTIListView';
@@ -10,6 +10,7 @@ import { QTFlexStylePadding } from "../../core/QTFlexStylePadding";
10
10
  import { QTFlexStyleSize } from "../../core/QTFlexStyleSize";
11
11
  import { QTPosterScore } from "./QTPosterScore";
12
12
  import { QTFocusable } from "../../core/QTFocusable";
13
+ import { QTPosterPlaceholderImg } from "./QTPosterPlaceholderImg";
13
14
  export interface QTPoster extends QTWaterfallItem {
14
15
  focus?: QTFocusable;
15
16
  image?: QTPosterImage;
@@ -24,5 +25,6 @@ export interface QTPoster extends QTWaterfallItem {
24
25
  score?: QTPosterScore;
25
26
  titleStyle?: QTFlexStyleMargin & QTFlexStylePadding & QTFlexStyleSize;
26
27
  titleFocusStyle?: QTFlexStyleMargin & QTFlexStylePadding & QTFlexStyleSize;
28
+ placeholderImg?: QTPosterPlaceholderImg;
27
29
  [prop: string]: any;
28
30
  }
@@ -3,4 +3,5 @@ import { ESGradient } from "@extscreen/es3-component";
3
3
  export interface QTPosterCorner extends QTPosterElement {
4
4
  text: string;
5
5
  background?: ESGradient;
6
+ [prop: string]: any;
6
7
  }
@@ -0,0 +1,4 @@
1
+ export interface QTPosterPlaceholderImg {
2
+ enable: boolean;
3
+ src: string;
4
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quicktvui/quicktvui3",
3
- "version": "1.1.24-beta.9",
3
+ "version": "1.1.25",
4
4
  "description": "ExtScreen framework",
5
5
  "author": "ExtScreen Team",
6
6
  "homepage": "http://extscreen.com",
@@ -1,17 +0,0 @@
1
- export type TrunFn = (target?: any, prop?: any, newValue?: any, type?: any, oldValue?: any, oldTarget?: any) => void;
2
- export declare class QtReactiveEffect {
3
- fn: TrunFn;
4
- scheduler?: TrunFn | undefined;
5
- active: boolean;
6
- deeps: Set<any>[];
7
- constructor(fn: TrunFn, scheduler?: TrunFn | undefined);
8
- run(): void;
9
- stop(): void;
10
- }
11
- export declare function qtIsTracking(): boolean;
12
- export declare function qtClearupTrack(target: any): void;
13
- export declare function qtTrack(target: any, key: any): void;
14
- export declare function qtTrackEffects(dep: Set<object>): void;
15
- export declare function qtTrigger(target: any, prop: any, newValue: any, type?: any, oldValue?: any): void;
16
- export declare function qtTriggerEffects(effects: any, target?: any, prop?: any, newValue?: any, type?: any, oldValue?: any): any;
17
- export declare function qtEffect(fn: TrunFn): any;
@@ -1,5 +0,0 @@
1
- export { qtEffect } from "./effect";
2
- export { qtGetParent } from "./reactive";
3
- export { qtRef } from "./ref";
4
- export { qtWatchAll } from './watch';
5
- export { qtLongestSequenceSplit } from './types';
@@ -1,7 +0,0 @@
1
- declare class QtArray extends Array {
2
- push(...items: any[]): number;
3
- splice(start: number, deleteCount: number, ...items: any[]): any[];
4
- pop(): any;
5
- concat(items: any[]): any[];
6
- }
7
- export default QtArray;
@@ -1,2 +0,0 @@
1
- import type { IQtWatchOptions } from './watch';
2
- export declare const qtDiff: (oldt: any[], newt: any[], options: IQtWatchOptions) => void;
@@ -1,13 +0,0 @@
1
- export declare const enum emReactiveFlags {
2
- IS_REACTIVE = "__v_isReactive",
3
- WATCH_ALL = "__ls_watchAll",
4
- WATCH_RAW = "__v_raw",
5
- RESET_REF_VALUE = "__ls_reset_ref_value",
6
- NEW_SET = "__ls_new_set",
7
- qtPath = "__qt_path",
8
- qtRoot = "__qt_root"
9
- }
10
- export declare const isTrackProp: (target: object, prop: string | symbol) => boolean;
11
- export declare const qtGetParent: (root: object, paths: any[], layer: number) => Record<any, any> | undefined;
12
- export declare function qtReactive(data: object, parent?: any, path?: any): any;
13
- export declare function qtToReactive(value: any, parent?: any, path?: any): any;
@@ -1,5 +0,0 @@
1
- export interface IQtRef<T = any> {
2
- value: T;
3
- [k: string]: any;
4
- }
5
- export declare function qtRef<T extends Array<any>>(value?: T): IQtRef<T>;
@@ -1,37 +0,0 @@
1
- export declare class QtChangeData {
2
- start: number;
3
- end: number;
4
- deleteCount: number;
5
- datas: Map<any, any>;
6
- names: Map<any, Set<any>>;
7
- dataArr?: any[];
8
- updateCount: number;
9
- constructor(start: number, end: number, deleteCount?: number);
10
- resetData(): void;
11
- }
12
- export declare const typeEnum: {
13
- set: string;
14
- qtSet: string;
15
- push: string;
16
- splice: string;
17
- pop: string;
18
- concat: string;
19
- unknownSet: string;
20
- currentType: string;
21
- expectCangeNum: string;
22
- isInit: string;
23
- };
24
- export declare const qtLongestSequenceSplit: (maps: QtChangeData) => Map<any, QtChangeData>;
25
- declare class QtType {
26
- private targetFlags;
27
- private targetMaps;
28
- getFlag(target: any): Map<string, any>;
29
- getTargetType(target: any, type: any): QtChangeData | undefined;
30
- getType(target: any): Map<any, QtChangeData> | undefined;
31
- setType(target: any, type: string, datas: QtChangeData): void;
32
- deleteType(target: any, type?: string): void;
33
- changeTypeData(target: any, prop: any, value: any): boolean;
34
- changeOfsetType(target: any, prop: any, value: any, name?: any): void;
35
- }
36
- declare const qtType: QtType;
37
- export default qtType;
@@ -1,16 +0,0 @@
1
- export interface IQtWatchOptions {
2
- init: (datas: any[]) => void;
3
- add: (datas: any[]) => void;
4
- update: (position: number, datas: Map<any, any>, names?: Map<any, Set<any>>) => void;
5
- insert: (position: number, datas: Map<any, any>) => void;
6
- delete: (position: number, count: number) => void;
7
- clear: () => void;
8
- resetValue?: (datas: any[]) => void;
9
- isNoAsync?: boolean;
10
- [k: string]: any;
11
- }
12
- export declare const qtCreateUid: (key: string) => string;
13
- export declare const qtCloneObj: (target: object, isKey?: boolean) => any;
14
- export declare function qtWatchAll(target: any, options: IQtWatchOptions): {
15
- stop(): void;
16
- } | undefined;