@quicktvui/quicktvui3 1.1.33 → 1.1.35-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +2 -2
- package/dist/index.js +1 -20
- package/dist/src/button/index.vue.d.ts +1 -1
- package/dist/src/classified-list-view/core/QTClassifiedListView.d.ts +10 -0
- package/dist/src/classified-list-view/index.vue.d.ts +1 -1
- package/dist/src/collapse/index.vue.d.ts +1 -1
- package/dist/src/grid-view/core/QTGridView.d.ts +22 -0
- package/dist/src/grid-view/index.vue.d.ts +1 -1
- package/dist/src/image/index.vue.d.ts +1 -1
- package/dist/src/index.d.ts +2 -0
- package/dist/src/nav-bar/index.vue.d.ts +1 -1
- package/dist/src/poster/index.vue.d.ts +1 -1
- package/dist/src/section/index.vue.d.ts +1 -1
- package/dist/src/series/DataAdapter.d.ts +1 -1
- package/dist/src/series/QTMediaSeriesData.d.ts +2 -0
- package/dist/src/series/QTMediaSeriesDataStyle.d.ts +4 -0
- package/dist/src/series/component/media-series.vue.d.ts +1 -1
- package/dist/src/series/index.vue.d.ts +1 -1
- package/dist/src/series/item/media-series-number-item.vue.d.ts +1 -1
- package/dist/src/series/item/media-series-text-item.vue.d.ts +1 -1
- package/dist/src/tab/QTITab.d.ts +2 -0
- package/dist/src/tab/QTTabDataManager.d.ts +1 -1
- package/dist/src/tab/index.vue.d.ts +45 -1
- package/dist/src/text/index.vue.d.ts +1 -1
- package/dist/src/utils/VirtualView.d.ts +10 -0
- package/dist/src/view/index.vue.d.ts +1 -1
- package/dist/src/waterfall/core/QTIWaterfall.d.ts +1 -0
- package/dist/src/waterfall/index.vue.d.ts +44 -1
- package/dist/src/waterfall/item/card-item.vue.d.ts +1 -1
- package/dist/src/waterfall/item/plugin-item.vue.d.ts +1 -1
- package/dist/src/waterfall/section/blank-section.vue.d.ts +1 -1
- package/dist/src/waterfall/section/card-section.vue.d.ts +1 -1
- package/dist/src/waterfall/section/end-section.vue.d.ts +1 -1
- package/dist/src/waterfall/section/flex-section.vue.d.ts +18 -1
- package/dist/src/waterfall/section/loading-section.vue.d.ts +1 -1
- package/dist/src/waterfall/section/plugin-section.vue.d.ts +1 -1
- package/dist/src/waterfall/section/section-title.vue.d.ts +1 -1
- package/dist/src/waterfall/section/vue-section.vue.d.ts +1 -1
- package/package.json +5 -2
- package/dist/src/utils/index.d.ts +0 -1
- package/dist/src/utils/objects.d.ts +0 -1
- package/dist/src/utils/types.d.ts +0 -8
- package/dist/src/utils/vue/index.d.ts +0 -4
- package/dist/src/utils/vue/install.d.ts +0 -6
- package/dist/src/utils/vue/props/index.d.ts +0 -3
- package/dist/src/utils/vue/props/runtime.d.ts +0 -9
- package/dist/src/utils/vue/props/types.d.ts +0 -38
- package/dist/src/utils/vue/props/util.d.ts +0 -8
- package/dist/src/utils/vue/refs.d.ts +0 -3
- package/dist/src/utils/vue/typescript.d.ts +0 -5
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { 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 {};
|
|
@@ -1,8 +0,0 @@
|
|
|
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 {};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import type { ComponentPublicInstance, Ref } from 'vue';
|
|
2
|
-
export type RefSetter = (el: Element | ComponentPublicInstance | undefined) => void;
|
|
3
|
-
export declare const composeRefs: (...refs: (Ref<HTMLElement | undefined> | RefSetter)[]) => (el: Element | ComponentPublicInstance | null) => void;
|