Socket
Socket
Sign inDemoInstall

@ray-js/types

Package Overview
Dependencies
Maintainers
0
Versions
371
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ray-js/types - npm Package Compare versions

Comparing version 1.5.28 to 1.5.29

137

esm/global.config.d.ts

@@ -24,69 +24,78 @@ export type GlobalConfig = {

/**
* 窗口的背景色
* 默认值: #ffffff
* 变量配置文件路径
*/
backgroundColor?: string;
themeLocation: string;
/**
* 底部窗口的背景色,仅 iOS 支持
* 默认值: #ffffff
* 全局配置
*/
backgroundColorBottom?: string;
/**
* 顶部窗口的背景色,仅 iOS 支持
* 默认值: #ffffff
*/
backgroundColorTop?: string;
/**
* 下拉 loading 的样式,仅支持 dark / light
* 默认值: dark
*/
backgroundTextStyle?: 'dark' | 'light';
/**
* 自定义导航栏,只保留右上角胶囊按钮
* 默认值: false
*/
custom?: boolean;
/**
* 是否开启全局的下拉刷新
* 默认值: false
*/
enablePullDownRefresh?: boolean;
/**
* 导航栏背景颜色,如 #000000
* 默认值: #ffffff
*/
navigationBarBackgroundColor?: string;
/**
* 导航栏标题颜色,仅支持 black / white
* 默认值: black
*/
navigationBarTextStyle?: 'black' | 'white';
/**
* 导航栏标题文字内容
*/
navigationBarTitleText?: string;
/**
* default 默认样式 custom 自定义导航栏,只保留右上角胶囊按钮
* 默认值: default
*/
navigationStyle?: string;
/**
* 是否隐藏右上角胶囊按钮
* 默认值: false
*/
hideMenuButton?: boolean;
/**
* 页面上拉触底事件触发时距页面底部距离,单位为 px
* 默认值: 50
*/
onReachBottomDistance?: number;
/**
* 自定义菜单配置, 容器版本 ≥ 2.3.0
*/
boardMenus?: BoardMenus;
/**
* 屏幕旋转设置,默认值为portrait(竖屏),可选landscape(横屏), auto 自动
* 默认值: portrait
*/
pageOrientation?: string;
window: {
/**
* 窗口的背景色
* 默认值: #ffffff
*/
backgroundColor?: string;
/**
* 底部窗口的背景色,仅 iOS 支持
* 默认值: #ffffff
*/
backgroundColorBottom?: string;
/**
* 顶部窗口的背景色,仅 iOS 支持
* 默认值: #ffffff
*/
backgroundColorTop?: string;
/**
* 下拉 loading 的样式,仅支持 dark / light
* 默认值: dark
*/
backgroundTextStyle?: 'dark' | 'light' | string;
/**
* 自定义导航栏,只保留右上角胶囊按钮
* 默认值: false
*/
custom?: boolean;
/**
* 是否开启全局的下拉刷新
* 默认值: false
*/
enablePullDownRefresh?: boolean;
/**
* 导航栏背景颜色,如 #000000
* 默认值: #ffffff
*/
navigationBarBackgroundColor?: string;
/**
* 导航栏标题颜色,仅支持 black / white
* 默认值: black
*/
navigationBarTextStyle?: 'black' | 'white' | string;
/**
* 导航栏标题文字内容
*/
navigationBarTitleText?: string;
/**
* default 默认样式 custom 自定义导航栏,只保留右上角胶囊按钮
* 默认值: default
*/
navigationStyle?: string;
/**
* 是否隐藏右上角胶囊按钮
* 默认值: false
*/
hideMenuButton?: boolean;
/**
* 页面上拉触底事件触发时距页面底部距离,单位为 px
* 默认值: 50
*/
onReachBottomDistance?: number;
/**
* 自定义菜单配置, 容器版本 ≥ 2.3.0
*/
boardMenus?: BoardMenus;
/**
* 屏幕旋转设置,默认值为portrait(竖屏),可选landscape(横屏), auto 自动
* 默认值: portrait
*/
pageOrientation?: string;
};
};

@@ -93,0 +102,0 @@ export type WebGlobalConfig = {

@@ -24,69 +24,78 @@ export type GlobalConfig = {

/**
* 窗口的背景色
* 默认值: #ffffff
* 变量配置文件路径
*/
backgroundColor?: string;
themeLocation: string;
/**
* 底部窗口的背景色,仅 iOS 支持
* 默认值: #ffffff
* 全局配置
*/
backgroundColorBottom?: string;
/**
* 顶部窗口的背景色,仅 iOS 支持
* 默认值: #ffffff
*/
backgroundColorTop?: string;
/**
* 下拉 loading 的样式,仅支持 dark / light
* 默认值: dark
*/
backgroundTextStyle?: 'dark' | 'light';
/**
* 自定义导航栏,只保留右上角胶囊按钮
* 默认值: false
*/
custom?: boolean;
/**
* 是否开启全局的下拉刷新
* 默认值: false
*/
enablePullDownRefresh?: boolean;
/**
* 导航栏背景颜色,如 #000000
* 默认值: #ffffff
*/
navigationBarBackgroundColor?: string;
/**
* 导航栏标题颜色,仅支持 black / white
* 默认值: black
*/
navigationBarTextStyle?: 'black' | 'white';
/**
* 导航栏标题文字内容
*/
navigationBarTitleText?: string;
/**
* default 默认样式 custom 自定义导航栏,只保留右上角胶囊按钮
* 默认值: default
*/
navigationStyle?: string;
/**
* 是否隐藏右上角胶囊按钮
* 默认值: false
*/
hideMenuButton?: boolean;
/**
* 页面上拉触底事件触发时距页面底部距离,单位为 px
* 默认值: 50
*/
onReachBottomDistance?: number;
/**
* 自定义菜单配置, 容器版本 ≥ 2.3.0
*/
boardMenus?: BoardMenus;
/**
* 屏幕旋转设置,默认值为portrait(竖屏),可选landscape(横屏), auto 自动
* 默认值: portrait
*/
pageOrientation?: string;
window: {
/**
* 窗口的背景色
* 默认值: #ffffff
*/
backgroundColor?: string;
/**
* 底部窗口的背景色,仅 iOS 支持
* 默认值: #ffffff
*/
backgroundColorBottom?: string;
/**
* 顶部窗口的背景色,仅 iOS 支持
* 默认值: #ffffff
*/
backgroundColorTop?: string;
/**
* 下拉 loading 的样式,仅支持 dark / light
* 默认值: dark
*/
backgroundTextStyle?: 'dark' | 'light' | string;
/**
* 自定义导航栏,只保留右上角胶囊按钮
* 默认值: false
*/
custom?: boolean;
/**
* 是否开启全局的下拉刷新
* 默认值: false
*/
enablePullDownRefresh?: boolean;
/**
* 导航栏背景颜色,如 #000000
* 默认值: #ffffff
*/
navigationBarBackgroundColor?: string;
/**
* 导航栏标题颜色,仅支持 black / white
* 默认值: black
*/
navigationBarTextStyle?: 'black' | 'white' | string;
/**
* 导航栏标题文字内容
*/
navigationBarTitleText?: string;
/**
* default 默认样式 custom 自定义导航栏,只保留右上角胶囊按钮
* 默认值: default
*/
navigationStyle?: string;
/**
* 是否隐藏右上角胶囊按钮
* 默认值: false
*/
hideMenuButton?: boolean;
/**
* 页面上拉触底事件触发时距页面底部距离,单位为 px
* 默认值: 50
*/
onReachBottomDistance?: number;
/**
* 自定义菜单配置, 容器版本 ≥ 2.3.0
*/
boardMenus?: BoardMenus;
/**
* 屏幕旋转设置,默认值为portrait(竖屏),可选landscape(横屏), auto 自动
* 默认值: portrait
*/
pageOrientation?: string;
};
};

@@ -93,0 +102,0 @@ export type WebGlobalConfig = {

{
"name": "@ray-js/types",
"version": "1.5.28",
"version": "1.5.29",
"description": "Ray types",

@@ -40,3 +40,3 @@ "keywords": [

},
"gitHead": "40359d8769cb30688c912044b009dc7115e73c31"
"gitHead": "c8cdc2e0176ed16568d864a8841d9d100937b22e"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc