@quicktvui/qtx 0.0.0-stage → 0.9.0-alpha.2
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 +174 -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/QtxChannelNav/QtxChannelNav.vue.d.ts +48 -0
- package/dist/components/QtxChannelNav/QtxChannelNavBase.vue.d.ts +127 -0
- package/dist/components/QtxChannelNav/index.d.ts +13 -0
- package/dist/components/QtxChannelNav/types.d.ts +232 -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 +146 -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 +6847 -0
- package/dist/style.css +1 -0
- package/dist/types/index.d.ts +50 -0
- package/package.json +32 -4
package/dist/style.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.qtx-list-skeleton{width:100%;height:100%;background-color:#2e2e2e;border-radius:4px}.qtx-list-debug{width:1600px;height:60px;font-size:28px;color:#ff6b6b;background-color:#2b2b2b;margin-left:20px;margin-top:20px}.qtx-portal-zone{position:absolute;left:0;top:0;width:0px;height:0px}.na-radio-group[data-v-cea6e7c9],.na-checkbox-group[data-v-3e75ffbd]{background-color:transparent}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
export interface ExtraUIThemeConfig {
|
|
2
|
+
/** 默认主色 */
|
|
3
|
+
primaryColor?: string;
|
|
4
|
+
/** 默认焦点边框颜色 */
|
|
5
|
+
focusBorderColor?: string;
|
|
6
|
+
/** 默认焦点背景色 */
|
|
7
|
+
focusBackgroundColor?: string;
|
|
8
|
+
/** 默认圆角,例如 8 */
|
|
9
|
+
cornerRadius?: number;
|
|
10
|
+
/** 默认主文字颜色 */
|
|
11
|
+
primaryTextColor?: string;
|
|
12
|
+
/** 默认副文字颜色 */
|
|
13
|
+
secondaryTextColor?: string;
|
|
14
|
+
/** 默认焦点文字颜色 */
|
|
15
|
+
focusTextColor?: string;
|
|
16
|
+
/** 默认选择状态文字颜色 */
|
|
17
|
+
selectedTextColor?: string;
|
|
18
|
+
/** 默认选择状态背景色 */
|
|
19
|
+
selectedBackgroundColor?: string;
|
|
20
|
+
/** 默认占位色 */
|
|
21
|
+
placeholderColor?: string;
|
|
22
|
+
/** 默认按钮背景色 */
|
|
23
|
+
buttonNormalBackgroundColor?: string;
|
|
24
|
+
buttonCornerRadius?: number;
|
|
25
|
+
glowColor?: string;
|
|
26
|
+
outerBorderColor?: string;
|
|
27
|
+
innerBorderColor?: string;
|
|
28
|
+
enableElevationShadow?: boolean;
|
|
29
|
+
}
|
|
30
|
+
export interface GridTabsGlobalConfig {
|
|
31
|
+
themeConfig?: {
|
|
32
|
+
selectedBackgroundColor?: string;
|
|
33
|
+
focusBackgroundColor?: string;
|
|
34
|
+
buttonNormalBackgroundColor?: string;
|
|
35
|
+
/** 骨架屏占位色,例如 "#1AFFFFFF" */
|
|
36
|
+
placeholderColor?: string;
|
|
37
|
+
/** 焦点阴影发光色,例如 "#FF000000" */
|
|
38
|
+
glowColor?: string;
|
|
39
|
+
/** 焦点外边框颜色,例如 "#FFFFFFFF" */
|
|
40
|
+
outerBorderColor?: string;
|
|
41
|
+
/** 焦点内边框颜色,例如 "#1A1A1A" */
|
|
42
|
+
innerBorderColor?: string;
|
|
43
|
+
/** 是否开启海拔阴影 (Elevation Shadow) */
|
|
44
|
+
enableElevationShadow?: boolean;
|
|
45
|
+
cornerRadius?: number;
|
|
46
|
+
buttonCornerRadius?: number;
|
|
47
|
+
};
|
|
48
|
+
loadingConfig?: Record<string, any>;
|
|
49
|
+
contentConfig?: Record<string, any>;
|
|
50
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,34 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quicktvui/qtx",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.9.0-alpha.2",
|
|
4
|
+
"description": "Vue 3 wrappers for QuickTVUI Native Addons",
|
|
5
|
+
"main": "dist/qtx.cjs.js",
|
|
6
|
+
"module": "dist/qtx.es.js",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"files": [
|
|
9
|
+
"dist",
|
|
10
|
+
"AI_CONTRACT.md"
|
|
11
|
+
],
|
|
12
|
+
"scripts": {
|
|
13
|
+
"dev": "vite build --watch",
|
|
14
|
+
"build": "rm -rf dist && vue-tsc --emitDeclarationOnly && vite build",
|
|
15
|
+
"prepublishOnly": "npm run build"
|
|
16
|
+
},
|
|
17
|
+
"peerDependencies": {
|
|
18
|
+
"@extscreen/es3-core": ">=3.0.0",
|
|
19
|
+
"@extscreen/es3-vue": ">=3.0.0",
|
|
20
|
+
"vue": ">=3.2.0"
|
|
21
|
+
},
|
|
22
|
+
"devDependencies": {
|
|
23
|
+
"@types/node": "^18.19.130",
|
|
24
|
+
"@vitejs/plugin-vue": "^4.0.0",
|
|
25
|
+
"@vue/runtime-core": "^3.5.31",
|
|
26
|
+
"typescript": "^4.9.3",
|
|
27
|
+
"vite": "^4.0.0",
|
|
28
|
+
"vue": "^3.2.0",
|
|
29
|
+
"vue-tsc": "^1.0.0"
|
|
30
|
+
},
|
|
31
|
+
"publishConfig": {
|
|
32
|
+
"access": "public"
|
|
33
|
+
}
|
|
34
|
+
}
|