@quicktvui/qtx 0.0.0-stage → 0.9.0-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/AI_CONTRACT.md +472 -0
- package/README.md +173 -2
- package/dist/components/QtxAppIcon/QtxAppIcon.vue.d.ts +73 -0
- package/dist/components/QtxAppIcon/QtxAppIconBase.vue.d.ts +144 -0
- package/dist/components/QtxAppIcon/index.d.ts +13 -0
- package/dist/components/QtxAppIcon/types.d.ts +157 -0
- package/dist/components/QtxButton/QtxButton.vue.d.ts +24 -0
- package/dist/components/QtxButton/QtxButtonBase.vue.d.ts +64 -0
- package/dist/components/QtxButton/index.d.ts +13 -0
- package/dist/components/QtxCheckbox/QtxCheckbox.vue.d.ts +110 -0
- package/dist/components/QtxCheckbox/index.d.ts +13 -0
- package/dist/components/QtxCheckboxGroup/QtxCheckboxGroup.vue.d.ts +103 -0
- package/dist/components/QtxCheckboxGroup/index.d.ts +13 -0
- package/dist/components/QtxCollapseMenuGroup/QtxCollapseMenuGroup.vue.d.ts +9 -0
- package/dist/components/QtxCollapseMenuGroup/QtxCollapseMenuGroupBase.vue.d.ts +40 -0
- package/dist/components/QtxCollapseMenuGroup/index.d.ts +13 -0
- package/dist/components/QtxCollapseMenuList/QtxCollapseMenuList.vue.d.ts +12 -0
- package/dist/components/QtxCollapseMenuList/QtxCollapseMenuListBase.vue.d.ts +32 -0
- package/dist/components/QtxCollapseMenuList/index.d.ts +13 -0
- package/dist/components/QtxDatePicker/QtxDatePicker.vue.d.ts +28 -0
- package/dist/components/QtxDatePicker/index.d.ts +13 -0
- package/dist/components/QtxGridTabs/QtxGridTabs.vue.d.ts +11 -0
- package/dist/components/QtxGridTabs/index.d.ts +13 -0
- package/dist/components/QtxGridTabs/useGridItemPresence.d.ts +26 -0
- package/dist/components/QtxGridTabs/useGridTabs.d.ts +163 -0
- package/dist/components/QtxGridTabs/useGridTabsData.d.ts +20 -0
- package/dist/components/QtxGridTabs/useGridTabsUpdater.d.ts +24 -0
- package/dist/components/QtxHsvBackground/QtxHsvBackground.vue.d.ts +26 -0
- package/dist/components/QtxHsvBackground/index.d.ts +13 -0
- package/dist/components/QtxInputView/QtxInputView.vue.d.ts +42 -0
- package/dist/components/QtxInputView/QtxInputViewBase.vue.d.ts +46 -0
- package/dist/components/QtxInputView/index.d.ts +13 -0
- package/dist/components/QtxKeyboard/QtxKeyboard.vue.d.ts +59 -0
- package/dist/components/QtxKeyboard/index.d.ts +13 -0
- package/dist/components/QtxList/QtxList.vue.d.ts +96 -0
- package/dist/components/QtxList/QtxListBase.vue.d.ts +11 -0
- package/dist/components/QtxList/capture.d.ts +86 -0
- package/dist/components/QtxList/index.d.ts +13 -0
- package/dist/components/QtxList/types.d.ts +78 -0
- package/dist/components/QtxNumericKeyboard/QtxNumericKeyboard.vue.d.ts +28 -0
- package/dist/components/QtxNumericKeyboard/index.d.ts +13 -0
- package/dist/components/QtxPortalItem/QtxPortalItem.vue.d.ts +24 -0
- package/dist/components/QtxPortalItem/index.d.ts +13 -0
- package/dist/components/QtxPortalPool/QtxPortalPool.vue.d.ts +11 -0
- package/dist/components/QtxPortalPool/index.d.ts +13 -0
- package/dist/components/QtxPoster/QtxPoster.vue.d.ts +60 -0
- package/dist/components/QtxPoster/QtxPosterBase.vue.d.ts +117 -0
- package/dist/components/QtxPoster/index.d.ts +13 -0
- package/dist/components/QtxPoster/types.d.ts +133 -0
- package/dist/components/QtxRadioGroup/QtxRadioGroup.vue.d.ts +103 -0
- package/dist/components/QtxRadioGroup/index.d.ts +13 -0
- package/dist/components/QtxRatingBar/QtxRatingBar.vue.d.ts +34 -0
- package/dist/components/QtxRatingBar/index.d.ts +13 -0
- package/dist/components/QtxSettingSwitch/QtxSettingSwitch.vue.d.ts +111 -0
- package/dist/components/QtxSettingSwitch/index.d.ts +6 -0
- package/dist/components/QtxSvgImage/QtxSvgImage.vue.d.ts +26 -0
- package/dist/components/QtxSvgImage/index.d.ts +13 -0
- package/dist/components/QtxSwitcher/QtxSwitcher.vue.d.ts +52 -0
- package/dist/components/QtxSwitcher/index.d.ts +13 -0
- package/dist/components/QtxTabContent/QtxTabContent.vue.d.ts +24 -0
- package/dist/components/QtxTabs/QtxTabs.vue.d.ts +37 -0
- package/dist/components/QtxTabs/index.d.ts +16 -0
- package/dist/core/installQtx.d.ts +40 -0
- package/dist/core/portalCoordinator.d.ts +4 -0
- package/dist/core/qtxGate.d.ts +13 -0
- package/dist/core/theme.d.ts +12 -0
- package/dist/directives/v-portal-to.d.ts +4 -0
- package/dist/index.d.ts +139 -0
- package/dist/modules/AddonEnvModule.d.ts +4 -0
- package/dist/modules/ExtraUIConfigModule.d.ts +7 -0
- package/dist/modules/GridTabsConfigModule.d.ts +7 -0
- package/dist/modules/QtxVersionModule.d.ts +4 -0
- package/dist/preset-items/QtxStyledList.vue.d.ts +65 -0
- package/dist/preset-items/compact.d.ts +2 -0
- package/dist/preset-items/glint.d.ts +11 -0
- package/dist/preset-items/index.d.ts +45 -0
- package/dist/preset-items/retired-items.d.ts +22 -0
- package/dist/preset-items/types.d.ts +112 -0
- package/dist/qtx.cjs.js +1 -0
- package/dist/qtx.es.js +6375 -0
- package/dist/style.css +1 -0
- package/dist/types/index.d.ts +50 -0
- package/package.json +32 -4
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
poster?: string | undefined;
|
|
3
|
+
image?: string | undefined;
|
|
4
|
+
imgUrl?: string | undefined;
|
|
5
|
+
localSrc?: string | undefined;
|
|
6
|
+
fallbackSrc?: string | undefined;
|
|
7
|
+
scaleType?: string | undefined;
|
|
8
|
+
title?: string | undefined;
|
|
9
|
+
subtitle?: string | undefined;
|
|
10
|
+
floatTitle?: string | undefined;
|
|
11
|
+
floatSubtitle?: string | undefined;
|
|
12
|
+
posterType?: string | undefined;
|
|
13
|
+
textSize?: any;
|
|
14
|
+
textColor?: string | undefined;
|
|
15
|
+
maxLines?: any;
|
|
16
|
+
badge?: any;
|
|
17
|
+
aspectRatio?: any;
|
|
18
|
+
cornerRadius?: any;
|
|
19
|
+
coord?: any;
|
|
20
|
+
state?: string | undefined;
|
|
21
|
+
placeholderColor?: string | undefined;
|
|
22
|
+
loadingDelayMs?: any;
|
|
23
|
+
focusable?: boolean | undefined;
|
|
24
|
+
focusScale?: any;
|
|
25
|
+
focusBorder?: boolean | undefined;
|
|
26
|
+
focusGlow?: boolean | undefined;
|
|
27
|
+
elevationShadow?: boolean | undefined;
|
|
28
|
+
clickPayload?: any;
|
|
29
|
+
focusPayload?: any;
|
|
30
|
+
}>>, {
|
|
31
|
+
getNativeNode: () => any;
|
|
32
|
+
setImageSource: (...args: any[]) => void;
|
|
33
|
+
setTitle: (...args: any[]) => void;
|
|
34
|
+
setSubtitle: (...args: any[]) => void;
|
|
35
|
+
setBadge: (...args: any[]) => void;
|
|
36
|
+
setPosterType: (...args: any[]) => void;
|
|
37
|
+
setAspectRatio: (...args: any[]) => void;
|
|
38
|
+
setLoadingState: (...args: any[]) => void;
|
|
39
|
+
applyPatch: (...args: any[]) => void;
|
|
40
|
+
cancelImageLoad: (...args: any[]) => void;
|
|
41
|
+
clear: (...args: any[]) => void;
|
|
42
|
+
recycle: (...args: any[]) => void;
|
|
43
|
+
requestFocus: (...args: any[]) => void;
|
|
44
|
+
getState: (...args: any[]) => void;
|
|
45
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
46
|
+
onClick: (payload?: any) => void;
|
|
47
|
+
onFocus: (payload?: any) => void;
|
|
48
|
+
onBlur: (payload?: any) => void;
|
|
49
|
+
onLongClick: (payload?: any) => void;
|
|
50
|
+
onImageLoadStart: (payload?: any) => void;
|
|
51
|
+
onImageLoadSuccess: (payload?: any) => void;
|
|
52
|
+
onImageLoadError: (payload?: any) => void;
|
|
53
|
+
onStateChange: (payload?: any) => void;
|
|
54
|
+
onBind: (payload?: any) => void;
|
|
55
|
+
onRecycle: (payload?: any) => void;
|
|
56
|
+
onPatch: (payload?: any) => void;
|
|
57
|
+
onBadgeClick: (payload?: any) => void;
|
|
58
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
59
|
+
poster?: string | undefined;
|
|
60
|
+
image?: string | undefined;
|
|
61
|
+
imgUrl?: string | undefined;
|
|
62
|
+
localSrc?: string | undefined;
|
|
63
|
+
fallbackSrc?: string | undefined;
|
|
64
|
+
scaleType?: string | undefined;
|
|
65
|
+
title?: string | undefined;
|
|
66
|
+
subtitle?: string | undefined;
|
|
67
|
+
floatTitle?: string | undefined;
|
|
68
|
+
floatSubtitle?: string | undefined;
|
|
69
|
+
posterType?: string | undefined;
|
|
70
|
+
textSize?: any;
|
|
71
|
+
textColor?: string | undefined;
|
|
72
|
+
maxLines?: any;
|
|
73
|
+
badge?: any;
|
|
74
|
+
aspectRatio?: any;
|
|
75
|
+
cornerRadius?: any;
|
|
76
|
+
coord?: any;
|
|
77
|
+
state?: string | undefined;
|
|
78
|
+
placeholderColor?: string | undefined;
|
|
79
|
+
loadingDelayMs?: any;
|
|
80
|
+
focusable?: boolean | undefined;
|
|
81
|
+
focusScale?: any;
|
|
82
|
+
focusBorder?: boolean | undefined;
|
|
83
|
+
focusGlow?: boolean | undefined;
|
|
84
|
+
elevationShadow?: boolean | undefined;
|
|
85
|
+
clickPayload?: any;
|
|
86
|
+
focusPayload?: any;
|
|
87
|
+
}>>> & Readonly<{
|
|
88
|
+
onOnBlur?: ((payload?: any) => any) | undefined;
|
|
89
|
+
onOnClick?: ((payload?: any) => any) | undefined;
|
|
90
|
+
onOnFocus?: ((payload?: any) => any) | undefined;
|
|
91
|
+
onOnLongClick?: ((payload?: any) => any) | undefined;
|
|
92
|
+
onOnImageLoadStart?: ((payload?: any) => any) | undefined;
|
|
93
|
+
onOnImageLoadSuccess?: ((payload?: any) => any) | undefined;
|
|
94
|
+
onOnImageLoadError?: ((payload?: any) => any) | undefined;
|
|
95
|
+
onOnStateChange?: ((payload?: any) => any) | undefined;
|
|
96
|
+
onOnBind?: ((payload?: any) => any) | undefined;
|
|
97
|
+
onOnRecycle?: ((payload?: any) => any) | undefined;
|
|
98
|
+
onOnPatch?: ((payload?: any) => any) | undefined;
|
|
99
|
+
onOnBadgeClick?: ((payload?: any) => any) | undefined;
|
|
100
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
101
|
+
default?(_: {}): any;
|
|
102
|
+
}>;
|
|
103
|
+
export default _default;
|
|
104
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
105
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
106
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
107
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
108
|
+
} : {
|
|
109
|
+
type: import('vue').PropType<T[K]>;
|
|
110
|
+
required: true;
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
114
|
+
new (): {
|
|
115
|
+
$slots: S;
|
|
116
|
+
};
|
|
117
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { App } from 'vue';
|
|
2
|
+
import QtxPoster from './QtxPoster.vue';
|
|
3
|
+
export declare const QtxPosterPlugin: {
|
|
4
|
+
install: (app: App) => void;
|
|
5
|
+
};
|
|
6
|
+
export { QtxPoster };
|
|
7
|
+
export default QtxPosterPlugin;
|
|
8
|
+
declare module 'vue' {
|
|
9
|
+
interface GlobalComponents {
|
|
10
|
+
QtxPoster: typeof QtxPoster;
|
|
11
|
+
'qtx-poster': typeof QtxPoster;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* QtxPoster 组件签名类型(海报卡片 SDUI 契约)。
|
|
3
|
+
* 独立文件以避免 index.ts ⇄ QtxPoster.vue 类型循环。
|
|
4
|
+
*/
|
|
5
|
+
export interface QtxPosterProps {
|
|
6
|
+
/** 主图地址,三别名优先级 poster > image > imgUrl,默认空 */
|
|
7
|
+
poster?: string;
|
|
8
|
+
/** 主图地址别名(优先级次于 poster),默认空 */
|
|
9
|
+
image?: string;
|
|
10
|
+
/** 主图地址别名(优先级最低),默认空 */
|
|
11
|
+
imgUrl?: string;
|
|
12
|
+
/** 本地图片资源(drawable / assets / file),默认空 */
|
|
13
|
+
localSrc?: string;
|
|
14
|
+
/** 主图加载失败时的兜底图地址,默认空 */
|
|
15
|
+
fallbackSrc?: string;
|
|
16
|
+
/** 图片缩放类型(如 fitCenter / centerCrop),默认 fitCenter */
|
|
17
|
+
scaleType?: string;
|
|
18
|
+
/** 主标题文本,默认空 */
|
|
19
|
+
title?: string;
|
|
20
|
+
/** 副标题文本,默认空 */
|
|
21
|
+
subtitle?: string;
|
|
22
|
+
/** 浮层标题(text_float 版式专用),默认空 */
|
|
23
|
+
floatTitle?: string;
|
|
24
|
+
/** 浮层副标题(text_float 版式专用),默认空 */
|
|
25
|
+
floatSubtitle?: string;
|
|
26
|
+
/** 海报版式:base / text_bottom / text_float,默认 base */
|
|
27
|
+
posterType?: 'base' | 'text_bottom' | 'text_float' | string;
|
|
28
|
+
/** 标题字号,默认 28 */
|
|
29
|
+
textSize?: number;
|
|
30
|
+
/** 标题颜色,默认 #FFFFFF */
|
|
31
|
+
textColor?: string;
|
|
32
|
+
/** 标题最大行数,默认 1 */
|
|
33
|
+
maxLines?: number;
|
|
34
|
+
/** 角标数据(键值开放),默认空 */
|
|
35
|
+
badge?: Record<string, any>;
|
|
36
|
+
/** 卡片宽高比(宽 / 高),默认 0.72 */
|
|
37
|
+
aspectRatio?: number;
|
|
38
|
+
/** 卡片圆角半径(px),默认 12 */
|
|
39
|
+
cornerRadius?: number;
|
|
40
|
+
/** 坐标 / 布局附加参数(键值开放),默认空 */
|
|
41
|
+
coord?: Record<string, any>;
|
|
42
|
+
/** 卡片状态:loading / ready / error,默认 loading */
|
|
43
|
+
state?: 'loading' | 'ready' | 'error' | string;
|
|
44
|
+
/** 占位图背景色,默认 #2E2E2E */
|
|
45
|
+
placeholderColor?: string;
|
|
46
|
+
/** 加载态延迟显示毫秒数,默认 300 */
|
|
47
|
+
loadingDelayMs?: number;
|
|
48
|
+
/** 是否可获焦,默认 true */
|
|
49
|
+
focusable?: boolean;
|
|
50
|
+
/** 获焦缩放倍率,默认 1.05 */
|
|
51
|
+
focusScale?: number;
|
|
52
|
+
/** 是否显示获焦描边,默认 true */
|
|
53
|
+
focusBorder?: boolean;
|
|
54
|
+
/** 是否显示获焦光晕,默认 false */
|
|
55
|
+
focusGlow?: boolean;
|
|
56
|
+
/** 是否启用投影阴影,默认 false */
|
|
57
|
+
elevationShadow?: boolean;
|
|
58
|
+
/** 点击事件附带载荷(键值开放,随 click 事件回传),默认空 */
|
|
59
|
+
clickPayload?: Record<string, any>;
|
|
60
|
+
/** 获焦事件附带载荷(键值开放,随 focus 事件回传),默认空 */
|
|
61
|
+
focusPayload?: Record<string, any>;
|
|
62
|
+
/** 卡片宽度(数字自动补 px),默认 0 */
|
|
63
|
+
width?: number | string;
|
|
64
|
+
/** 卡片高度(数字自动补 px),默认 0 */
|
|
65
|
+
height?: number | string;
|
|
66
|
+
}
|
|
67
|
+
export interface QtxPosterClickPayload {
|
|
68
|
+
/** 条目 ID */
|
|
69
|
+
itemId?: string;
|
|
70
|
+
/** 列表位置索引 */
|
|
71
|
+
position?: number;
|
|
72
|
+
/** 业务自定义载荷 */
|
|
73
|
+
payload?: any;
|
|
74
|
+
/** 事件来源 */
|
|
75
|
+
source?: string;
|
|
76
|
+
/** 事件类别 */
|
|
77
|
+
kind?: string;
|
|
78
|
+
/** 状态变更原因 */
|
|
79
|
+
reason?: string;
|
|
80
|
+
/** 变更前的值 / 状态 */
|
|
81
|
+
from?: string;
|
|
82
|
+
/** 变更后的值 / 状态 */
|
|
83
|
+
to?: string;
|
|
84
|
+
/** 增量更新涉及的键集合 */
|
|
85
|
+
patchKeys?: string[];
|
|
86
|
+
}
|
|
87
|
+
export interface QtxPosterState {
|
|
88
|
+
/** 当前卡片状态 */
|
|
89
|
+
state?: string;
|
|
90
|
+
/** 状态来源 */
|
|
91
|
+
source?: string;
|
|
92
|
+
/** 卡片类别 */
|
|
93
|
+
kind?: string;
|
|
94
|
+
/** 当前海报版式 */
|
|
95
|
+
posterType?: string;
|
|
96
|
+
/** 数据代数(复用 / 增量更新计数) */
|
|
97
|
+
generation?: number;
|
|
98
|
+
/** 是否处于图片加载中 */
|
|
99
|
+
loading?: boolean;
|
|
100
|
+
}
|
|
101
|
+
/** QtxPoster 对外事件全集(camelCase,与 Vue 壳 defineEmits 一一对应) */
|
|
102
|
+
export declare const QTX_POSTER_EVENTS: readonly ["click", "focus", "blur", "longClick", "imageLoadStart", "imageLoadSuccess", "imageLoadError", "stateChange", "bind", "recycle", "patch", "badgeClick"];
|
|
103
|
+
/** ref 暴露方法:与 QtxPoster.vue 的 defineExpose 一一对应;改实现须同步本接口并重跑 docs:gen */
|
|
104
|
+
export interface QtxPosterExpose {
|
|
105
|
+
/** 取原生节点代理(Base→gate→$el,带 nodeId) */
|
|
106
|
+
getNativeNode(): any;
|
|
107
|
+
/** 切换主图来源,kind 指定 local / network / asset 等 */
|
|
108
|
+
setImageSource(source: string, kind?: string): void;
|
|
109
|
+
/** 设置主标题文本 */
|
|
110
|
+
setTitle(text: string): void;
|
|
111
|
+
/** 设置副标题文本 */
|
|
112
|
+
setSubtitle(text: string): void;
|
|
113
|
+
/** 设置或清除角标(传 null 清除) */
|
|
114
|
+
setBadge(badge: Record<string, any> | null): void;
|
|
115
|
+
/** 切换海报版式 */
|
|
116
|
+
setPosterType(type: string): void;
|
|
117
|
+
/** 设置卡片宽高比 */
|
|
118
|
+
setAspectRatio(ratio: number): void;
|
|
119
|
+
/** 显示 / 隐藏加载态 */
|
|
120
|
+
setLoadingState(loading: boolean): void;
|
|
121
|
+
/** 局部增量更新(按 patch 键原位刷新,不重建) */
|
|
122
|
+
applyPatch(patch: Record<string, any>): void;
|
|
123
|
+
/** 取消当前进行中的图片加载 */
|
|
124
|
+
cancelImageLoad(): void;
|
|
125
|
+
/** 清空卡片内容 */
|
|
126
|
+
clear(): void;
|
|
127
|
+
/** 回收并重置卡片(复用前调用) */
|
|
128
|
+
recycle(): void;
|
|
129
|
+
/** 请求焦点,返回聚焦结果标识 */
|
|
130
|
+
requestFocus(): Promise<string>;
|
|
131
|
+
/** 读取当前卡片状态快照 */
|
|
132
|
+
getState(): Promise<QtxPosterState>;
|
|
133
|
+
}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
modelValue: {
|
|
3
|
+
type: (BooleanConstructor | NumberConstructor | StringConstructor)[];
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
options: {
|
|
7
|
+
type: () => Array<{
|
|
8
|
+
label: string;
|
|
9
|
+
value: any;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
props?: any;
|
|
12
|
+
}>;
|
|
13
|
+
default: () => never[];
|
|
14
|
+
};
|
|
15
|
+
direction: {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
19
|
+
itemWidth: {
|
|
20
|
+
type: NumberConstructor;
|
|
21
|
+
default: undefined;
|
|
22
|
+
};
|
|
23
|
+
itemHeight: {
|
|
24
|
+
type: NumberConstructor;
|
|
25
|
+
default: undefined;
|
|
26
|
+
};
|
|
27
|
+
itemGap: {
|
|
28
|
+
type: NumberConstructor;
|
|
29
|
+
default: number;
|
|
30
|
+
};
|
|
31
|
+
gravity: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
35
|
+
showBackground: {
|
|
36
|
+
type: BooleanConstructor;
|
|
37
|
+
default: boolean;
|
|
38
|
+
};
|
|
39
|
+
}>, {
|
|
40
|
+
groupStyle: import("vue").ComputedRef<{
|
|
41
|
+
display: string;
|
|
42
|
+
flexDirection: any;
|
|
43
|
+
alignItems: string;
|
|
44
|
+
}>;
|
|
45
|
+
getItemStyle: (item: any, index: number) => any;
|
|
46
|
+
onItemClick: (item: any) => void;
|
|
47
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
48
|
+
modelValue: {
|
|
49
|
+
type: (BooleanConstructor | NumberConstructor | StringConstructor)[];
|
|
50
|
+
default: string;
|
|
51
|
+
};
|
|
52
|
+
options: {
|
|
53
|
+
type: () => Array<{
|
|
54
|
+
label: string;
|
|
55
|
+
value: any;
|
|
56
|
+
disabled?: boolean;
|
|
57
|
+
props?: any;
|
|
58
|
+
}>;
|
|
59
|
+
default: () => never[];
|
|
60
|
+
};
|
|
61
|
+
direction: {
|
|
62
|
+
type: StringConstructor;
|
|
63
|
+
default: string;
|
|
64
|
+
};
|
|
65
|
+
itemWidth: {
|
|
66
|
+
type: NumberConstructor;
|
|
67
|
+
default: undefined;
|
|
68
|
+
};
|
|
69
|
+
itemHeight: {
|
|
70
|
+
type: NumberConstructor;
|
|
71
|
+
default: undefined;
|
|
72
|
+
};
|
|
73
|
+
itemGap: {
|
|
74
|
+
type: NumberConstructor;
|
|
75
|
+
default: number;
|
|
76
|
+
};
|
|
77
|
+
gravity: {
|
|
78
|
+
type: StringConstructor;
|
|
79
|
+
default: string;
|
|
80
|
+
};
|
|
81
|
+
showBackground: {
|
|
82
|
+
type: BooleanConstructor;
|
|
83
|
+
default: boolean;
|
|
84
|
+
};
|
|
85
|
+
}>> & Readonly<{
|
|
86
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
87
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
88
|
+
}>, {
|
|
89
|
+
direction: string;
|
|
90
|
+
itemHeight: number;
|
|
91
|
+
gravity: string;
|
|
92
|
+
showBackground: boolean;
|
|
93
|
+
modelValue: string | number | boolean;
|
|
94
|
+
options: {
|
|
95
|
+
label: string;
|
|
96
|
+
value: any;
|
|
97
|
+
disabled?: boolean | undefined;
|
|
98
|
+
props?: any;
|
|
99
|
+
}[];
|
|
100
|
+
itemWidth: number;
|
|
101
|
+
itemGap: number;
|
|
102
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
103
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { App } from 'vue';
|
|
2
|
+
import QtxRadioGroup from './QtxRadioGroup.vue';
|
|
3
|
+
export declare const QtxRadioGroupPlugin: {
|
|
4
|
+
install: (app: App) => void;
|
|
5
|
+
};
|
|
6
|
+
export { QtxRadioGroup };
|
|
7
|
+
export default QtxRadioGroupPlugin;
|
|
8
|
+
declare module 'vue' {
|
|
9
|
+
interface GlobalComponents {
|
|
10
|
+
QtxRadioGroup: typeof QtxRadioGroup;
|
|
11
|
+
'qtx-radio-group': typeof QtxRadioGroup;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
numStars?: any;
|
|
3
|
+
rating?: any;
|
|
4
|
+
stepSize?: any;
|
|
5
|
+
isIndicator?: boolean | undefined;
|
|
6
|
+
}>>, {
|
|
7
|
+
getNativeNode: () => any;
|
|
8
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
|
+
onRatingChanged: (payload?: any) => void;
|
|
10
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
11
|
+
numStars?: any;
|
|
12
|
+
rating?: any;
|
|
13
|
+
stepSize?: any;
|
|
14
|
+
isIndicator?: boolean | undefined;
|
|
15
|
+
}>>> & Readonly<{
|
|
16
|
+
onOnRatingChanged?: ((payload?: any) => any) | undefined;
|
|
17
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
18
|
+
default?(_: {}): any;
|
|
19
|
+
}>;
|
|
20
|
+
export default _default;
|
|
21
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
22
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
23
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
24
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
25
|
+
} : {
|
|
26
|
+
type: import('vue').PropType<T[K]>;
|
|
27
|
+
required: true;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
31
|
+
new (): {
|
|
32
|
+
$slots: S;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { App } from 'vue';
|
|
2
|
+
import QtxRatingBar from './QtxRatingBar.vue';
|
|
3
|
+
export declare const QtxRatingBarPlugin: {
|
|
4
|
+
install: (app: App) => void;
|
|
5
|
+
};
|
|
6
|
+
export { QtxRatingBar };
|
|
7
|
+
export default QtxRatingBarPlugin;
|
|
8
|
+
declare module 'vue' {
|
|
9
|
+
interface GlobalComponents {
|
|
10
|
+
QtxRatingBar: typeof QtxRatingBar;
|
|
11
|
+
'qtx-rating-bar': typeof QtxRatingBar;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
title: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
subtitle: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
modelValue: {
|
|
11
|
+
type: BooleanConstructor;
|
|
12
|
+
default: boolean;
|
|
13
|
+
};
|
|
14
|
+
textOn: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
textOff: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
default: string;
|
|
21
|
+
};
|
|
22
|
+
titleTextSize: {
|
|
23
|
+
type: NumberConstructor;
|
|
24
|
+
default: number;
|
|
25
|
+
};
|
|
26
|
+
subtitleTextSize: {
|
|
27
|
+
type: NumberConstructor;
|
|
28
|
+
default: number;
|
|
29
|
+
};
|
|
30
|
+
stateTextSize: {
|
|
31
|
+
type: NumberConstructor;
|
|
32
|
+
default: number;
|
|
33
|
+
};
|
|
34
|
+
disabled: {
|
|
35
|
+
type: BooleanConstructor;
|
|
36
|
+
default: boolean;
|
|
37
|
+
};
|
|
38
|
+
width: {
|
|
39
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
40
|
+
default: number;
|
|
41
|
+
};
|
|
42
|
+
height: {
|
|
43
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
44
|
+
default: number;
|
|
45
|
+
};
|
|
46
|
+
}>, {
|
|
47
|
+
checked: import("vue").Ref<boolean, boolean>;
|
|
48
|
+
handleCheckedChange: (e: any) => void;
|
|
49
|
+
mergedStyle: import("vue").ComputedRef<any>;
|
|
50
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
51
|
+
title: {
|
|
52
|
+
type: StringConstructor;
|
|
53
|
+
default: string;
|
|
54
|
+
};
|
|
55
|
+
subtitle: {
|
|
56
|
+
type: StringConstructor;
|
|
57
|
+
default: string;
|
|
58
|
+
};
|
|
59
|
+
modelValue: {
|
|
60
|
+
type: BooleanConstructor;
|
|
61
|
+
default: boolean;
|
|
62
|
+
};
|
|
63
|
+
textOn: {
|
|
64
|
+
type: StringConstructor;
|
|
65
|
+
default: string;
|
|
66
|
+
};
|
|
67
|
+
textOff: {
|
|
68
|
+
type: StringConstructor;
|
|
69
|
+
default: string;
|
|
70
|
+
};
|
|
71
|
+
titleTextSize: {
|
|
72
|
+
type: NumberConstructor;
|
|
73
|
+
default: number;
|
|
74
|
+
};
|
|
75
|
+
subtitleTextSize: {
|
|
76
|
+
type: NumberConstructor;
|
|
77
|
+
default: number;
|
|
78
|
+
};
|
|
79
|
+
stateTextSize: {
|
|
80
|
+
type: NumberConstructor;
|
|
81
|
+
default: number;
|
|
82
|
+
};
|
|
83
|
+
disabled: {
|
|
84
|
+
type: BooleanConstructor;
|
|
85
|
+
default: boolean;
|
|
86
|
+
};
|
|
87
|
+
width: {
|
|
88
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
89
|
+
default: number;
|
|
90
|
+
};
|
|
91
|
+
height: {
|
|
92
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
93
|
+
default: number;
|
|
94
|
+
};
|
|
95
|
+
}>> & Readonly<{
|
|
96
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
97
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
98
|
+
}>, {
|
|
99
|
+
title: string;
|
|
100
|
+
width: string | number;
|
|
101
|
+
height: string | number;
|
|
102
|
+
disabled: boolean;
|
|
103
|
+
subtitle: string;
|
|
104
|
+
modelValue: boolean;
|
|
105
|
+
textOn: string;
|
|
106
|
+
textOff: string;
|
|
107
|
+
titleTextSize: number;
|
|
108
|
+
subtitleTextSize: number;
|
|
109
|
+
stateTextSize: number;
|
|
110
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
111
|
+
export default _default;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
src?: string | undefined;
|
|
3
|
+
tintColor?: string | undefined;
|
|
4
|
+
}>>, {
|
|
5
|
+
getNativeNode: () => any;
|
|
6
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
7
|
+
src?: string | undefined;
|
|
8
|
+
tintColor?: string | undefined;
|
|
9
|
+
}>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
10
|
+
default?(_: {}): any;
|
|
11
|
+
}>;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
14
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
15
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
16
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
17
|
+
} : {
|
|
18
|
+
type: import('vue').PropType<T[K]>;
|
|
19
|
+
required: true;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
23
|
+
new (): {
|
|
24
|
+
$slots: S;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { App } from 'vue';
|
|
2
|
+
import QtxSvgImage from './QtxSvgImage.vue';
|
|
3
|
+
export declare const QtxSvgImagePlugin: {
|
|
4
|
+
install: (app: App) => void;
|
|
5
|
+
};
|
|
6
|
+
export { QtxSvgImage };
|
|
7
|
+
export default QtxSvgImagePlugin;
|
|
8
|
+
declare module 'vue' {
|
|
9
|
+
interface GlobalComponents {
|
|
10
|
+
QtxSvgImage: typeof QtxSvgImage;
|
|
11
|
+
'qtx-svg-image': typeof QtxSvgImage;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
autofocus?: boolean | undefined;
|
|
3
|
+
checked?: boolean | undefined;
|
|
4
|
+
disabled?: boolean | undefined;
|
|
5
|
+
title?: string | undefined;
|
|
6
|
+
textOn?: string | undefined;
|
|
7
|
+
textOff?: string | undefined;
|
|
8
|
+
subtitle?: string | undefined;
|
|
9
|
+
subtitleColor?: string | undefined;
|
|
10
|
+
titleColor?: string | undefined;
|
|
11
|
+
focusTitleColor?: string | undefined;
|
|
12
|
+
titleTextSize?: any;
|
|
13
|
+
subtitleTextSize?: any;
|
|
14
|
+
stateTextSize?: any;
|
|
15
|
+
}>>, {
|
|
16
|
+
getNativeNode: () => any;
|
|
17
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
18
|
+
onCheckedChange: (payload?: any) => void;
|
|
19
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
20
|
+
autofocus?: boolean | undefined;
|
|
21
|
+
checked?: boolean | undefined;
|
|
22
|
+
disabled?: boolean | undefined;
|
|
23
|
+
title?: string | undefined;
|
|
24
|
+
textOn?: string | undefined;
|
|
25
|
+
textOff?: string | undefined;
|
|
26
|
+
subtitle?: string | undefined;
|
|
27
|
+
subtitleColor?: string | undefined;
|
|
28
|
+
titleColor?: string | undefined;
|
|
29
|
+
focusTitleColor?: string | undefined;
|
|
30
|
+
titleTextSize?: any;
|
|
31
|
+
subtitleTextSize?: any;
|
|
32
|
+
stateTextSize?: any;
|
|
33
|
+
}>>> & Readonly<{
|
|
34
|
+
onOnCheckedChange?: ((payload?: any) => any) | undefined;
|
|
35
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
36
|
+
default?(_: {}): any;
|
|
37
|
+
}>;
|
|
38
|
+
export default _default;
|
|
39
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
40
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
41
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
42
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
43
|
+
} : {
|
|
44
|
+
type: import('vue').PropType<T[K]>;
|
|
45
|
+
required: true;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
49
|
+
new (): {
|
|
50
|
+
$slots: S;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { App } from 'vue';
|
|
2
|
+
import QtxSwitcher from './QtxSwitcher.vue';
|
|
3
|
+
export declare const QtxSwitcherPlugin: {
|
|
4
|
+
install: (app: App) => void;
|
|
5
|
+
};
|
|
6
|
+
export { QtxSwitcher };
|
|
7
|
+
export default QtxSwitcherPlugin;
|
|
8
|
+
declare module 'vue' {
|
|
9
|
+
interface GlobalComponents {
|
|
10
|
+
QtxSwitcher: typeof QtxSwitcher;
|
|
11
|
+
'qtx-switcher': typeof QtxSwitcher;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
tabKey?: string | undefined;
|
|
3
|
+
}>>, {
|
|
4
|
+
getNativeNode: () => any;
|
|
5
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
6
|
+
tabKey?: string | undefined;
|
|
7
|
+
}>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
8
|
+
default?(_: {}): any;
|
|
9
|
+
}>;
|
|
10
|
+
export default _default;
|
|
11
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
12
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
13
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
14
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
15
|
+
} : {
|
|
16
|
+
type: import('vue').PropType<T[K]>;
|
|
17
|
+
required: true;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
21
|
+
new (): {
|
|
22
|
+
$slots: S;
|
|
23
|
+
};
|
|
24
|
+
};
|