-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
97 changed files
with
13,665 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[{"id":"do_AccelerometerSensor","platform":"Android, iOS, WindowsPhone, WindowsPC","version":"1.1"},{"id":"do_ALayout","platform":"Android, iOS, WindowsPhone, WindowsPC","version":"1.1"},{"id":"do_Album","platform":"Android, iOS, WindowsPhone, WindowsPC","version":"3.0"},{"id":"do_Algorithm","platform":"Android, iOS, WindowsPhone, WindowsPC","version":"1.9"},{"id":"do_Alipay","platform":"Android, iOS","version":"1.6"},{"id":"do_Animation","platform":"Android, iOS, WindowsPhone, WindowsPC","version":"1.3"},{"id":"do_Animator","platform":"Android, iOS, WindowsPhone, WindowsPC","version":"2.1"},{"id":"do_App","platform":"Android, iOS, WindowsPhone, WindowsPC","version":"1.2"},{"id":"do_AssistiveTouch","platform":"Android, iOS, WindowsPhone, WindowsPC","version":"1.3"},{"id":"do_Audio","platform":"Android, iOS, WindowsPhone, WindowsPC","version":"1.8"},{"id":"do_BaiduLocation","platform":"Android, iOS","version":"3.1"},{"id":"do_BaiduMapView","platform":"Android, iOS","version":"2.3"},{"id":"do_BaiduPush","platform":"Android, iOS","version":"2.3"},{"id":"do_BarcodeView","platform":"Android, iOS, WindowsPhone, WindowsPC","version":"2.7"},{"id":"do_Bitmap","platform":"Android, iOS, WindowsPhone, WindowsPC","version":"1.5"},{"id":"do_Bluetooth","platform":"Android, iOS","version":"1.1"},{"id":"do_BorderView","platform":"Android, iOS","version":"1.4"},{"id":"do_Button","platform":"Android, iOS, WindowsPhone, WindowsPC","version":"2.8"},{"id":"do_CacheManager","platform":"Android, iOS","version":"1.0"},{"id":"do_Calendar","platform":"WindowsPhone, WindowsPC","version":"1.1"},{"id":"do_Camera","platform":"Android, iOS, WindowsPhone, WindowsPC","version":"2.7"},{"id":"do_CheckBox","platform":"Android, iOS, WindowsPhone, WindowsPC","version":"1.6"},{"id":"do_ComboBox","platform":"Android, iOS, WindowsPhone, WindowsPC","version":"3.0"},{"id":"do_Contact","platform":"Android, iOS, WindowsPhone, WindowsPC","version":"1.4"},{"id":"do_CoverFlowView","platform":"Android, iOS, WindowsPhone, WindowsPC","version":"1.8"},{"id":"do_DataCache","platform":"Android, iOS, WindowsPhone, WindowsPC","version":"2.3"},{"id":"do_DateTimePicker","platform":"Android, iOS, WindowsPhone, WindowsPC","version":"2.2"},{"id":"do_Device","platform":"Android, iOS, WindowsPhone, WindowsPC","version":"3.5"},{"id":"do_Dialog","platform":"Android, iOS, WindowsPhone, WindowsPC","version":"1.9"},{"id":"do_ExpandableListView","platform":"Android, iOS, WindowsPhone, WindowsPC","version":"2.8"},{"id":"do_External","platform":"Android, iOS, WindowsPhone, WindowsPC","version":"2.8"},{"id":"do_FragmentView","platform":"Android, iOS, WindowsPhone, WindowsPC","version":"2.1"},{"id":"do_FrameAnimationView","platform":"Android, iOS, WindowsPhone, WindowsPC","version":"2.0"},{"id":"do_GestureView","platform":"Android, iOS, WindowsPhone, WindowsPC","version":"1.6"},{"id":"do_Global","platform":"Android, iOS, WindowsPhone, WindowsPC","version":"1.2"},{"id":"do_GridView","platform":"Android, iOS, WindowsPhone, WindowsPC","version":"3.9"},{"id":"do_HashData","platform":"Android, iOS, WindowsPhone, WindowsPC","version":"1.9"},{"id":"do_Http","platform":"Android, iOS, WindowsPhone, WindowsPC","version":"5.1"},{"id":"do_ImageBrowser","platform":"Android, iOS, WindowsPhone, WindowsPC","version":"3.3"},{"id":"do_ImageCropView","platform":"Android, iOS","version":"1.3"},{"id":"do_ImageView","platform":"Android, iOS, WindowsPhone, WindowsPC","version":"4.5"},{"id":"do_IndexListView","platform":"Android, iOS, WindowsPhone, WindowsPC","version":"2.3"},{"id":"do_InitData","platform":"Android, iOS, WindowsPhone, WindowsPC","version":"1.1"},{"id":"do_Label","platform":"Android, iOS, WindowsPhone, WindowsPC","version":"3.1"},{"id":"do_LinearLayout","platform":"Android, iOS, WindowsPhone, WindowsPC","version":"1.2"},{"id":"do_ListData","platform":"Android, iOS, WindowsPhone, WindowsPC","version":"2.2"},{"id":"do_ListView","platform":"Android, iOS, WindowsPhone, WindowsPC","version":"6.0"},{"id":"do_LocalNotification","platform":"Android, iOS","version":"1.3"},{"id":"do_MultiSelectComboBox","platform":"Android, iOS, WindowsPhone, WindowsPC","version":"2.0"},{"id":"do_Network","platform":"Android, iOS, WindowsPhone, WindowsPC","version":"2.4"},{"id":"do_Notification","platform":"Android, iOS, WindowsPhone, WindowsPC","version":"3.1"},{"id":"do_Page","platform":"Android, iOS, WindowsPhone, WindowsPC","version":"1.2"},{"id":"do_Picker","platform":"Android, iOS, WindowsPhone, WindowsPC","version":"1.8"},{"id":"do_ProgressBar","platform":"Android, iOS, WindowsPhone, WindowsPC","version":"1.9"},{"id":"do_ProgressBar1","platform":"Android, iOS, WindowsPhone, WindowsPC","version":"1.1"},{"id":"do_ProgressBar2","platform":"Android, iOS, WindowsPhone, WindowsPC","version":"1.4"},{"id":"do_QRCode","platform":"Android, iOS, WindowsPhone, WindowsPC","version":"1.4"},{"id":"do_RichLabel","platform":"Android, iOS","version":"1.7"},{"id":"do_RichLabel1","platform":"Android, iOS","version":"1.4"},{"id":"do_ScrollView","platform":"Android, iOS, WindowsPhone, WindowsPC","version":"4.1"},{"id":"do_SeekBar","platform":"Android, iOS, WindowsPhone, WindowsPC","version":"1.2"},{"id":"do_SegmentView","platform":"Android, iOS, WindowsPhone, WindowsPC","version":"2.8"},{"id":"do_SlideListView","platform":"Android, iOS, WindowsPhone, WindowsPC","version":"2.5"},{"id":"do_SlideView","platform":"Android, iOS, WindowsPhone, WindowsPC","version":"4.7"},{"id":"do_SQLite","platform":"Android, iOS, WindowsPhone, WindowsPC","version":"2.9"},{"id":"do_Storage","platform":"Android, iOS, WindowsPhone, WindowsPC","version":"1.2"},{"id":"do_SwitchView","platform":"Android, iOS, WindowsPhone, WindowsPC","version":"2.2"},{"id":"do_TextBox","platform":"Android, iOS, WindowsPhone, WindowsPC","version":"5.2"},{"id":"do_TextField","platform":"Android, iOS, WindowsPhone, WindowsPC","version":"5.4"},{"id":"do_Timer","platform":"Android, iOS, WindowsPhone, WindowsPC","version":"2.3"},{"id":"do_VerticalSlideView","platform":"Android, iOS, WindowsPhone, WindowsPC","version":"1.4"},{"id":"do_VideoView","platform":"Android, iOS, WindowsPhone, WindowsPC","version":"1.5"},{"id":"do_ViewShower","platform":"Android, iOS, WindowsPhone, WindowsPC","version":"2.1"},{"id":"M1294_Pedometer","platform":"Android, iOS","version":"1.1"},{"id":"do_WebView","platform":"Android, iOS, WindowsPhone, WindowsPC","version":"1.6"}] |
72 changes: 72 additions & 0 deletions
72
pull_push/.metadata/app-dependency-modules/M1294_Pedometer.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
{ | ||
"ID": "M1294_Pedometer", | ||
"IsContainer": "0", | ||
"Type": "SM", | ||
"Name": "记步器", | ||
"Version": "Internal", | ||
"Description": "可获取并记录步数;iOS平台仅支持iPhone5S及以后产品", | ||
"Icon": "https://do-store.oss-cn-beijing.aliyuncs.com/D/20160512/M1294_Pedometer/步行.png", | ||
"IOS": { | ||
"Support": 1, | ||
"MinVersion": "7.0" | ||
}, | ||
"Android": { | ||
"Support": 1, | ||
"MinVersion": "4.0" | ||
}, | ||
"Windows": { | ||
"Support": 0, | ||
"MinVersion": "" | ||
}, | ||
"WindowsPhone": { | ||
"Support": 0, | ||
"MinVersion": "" | ||
}, | ||
"Html": { | ||
"Support": 1, | ||
"MinVersion": "5.0" | ||
}, | ||
"Properties": [], | ||
"Events": [], | ||
"syncMethodes": [ | ||
{ | ||
"ID": "start", | ||
"Name": "启动记步", | ||
"Description": "", | ||
"ReturnType": "", | ||
"ReturnType_JavaScript": "", | ||
"ReturnDesc": "", | ||
"Paras": [] | ||
}, | ||
{ | ||
"ID": "stop", | ||
"Name": "停止记步", | ||
"Description": "", | ||
"ReturnType": "", | ||
"ReturnType_JavaScript": "", | ||
"ReturnDesc": "", | ||
"Paras": [] | ||
} | ||
], | ||
"asyncMethodes": [ | ||
{ | ||
"ID": "getInfo", | ||
"Name": "获取记步信息", | ||
"Description": "", | ||
"ReturnType": "Node", | ||
"ReturnType_JavaScript": "Node", | ||
"ReturnDesc": "[{'count':'步数'],返回当天或指定日期记录的步数,若指定日期没有启动记步则返回0", | ||
"Paras": [ | ||
{ | ||
"ID": "date", | ||
"Name": "指定日期", | ||
"Type": "String", | ||
"Type_JavaScript": "String", | ||
"Required": 0, | ||
"DefaultValue": "", | ||
"Description": "日期格式为yyyy-mm-dd,不设置时默认值为当天0点起截止到当前时间" | ||
} | ||
] | ||
} | ||
] | ||
} |
235 changes: 235 additions & 0 deletions
235
pull_push/.metadata/app-dependency-modules/do_ALayout.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,235 @@ | ||
{ | ||
"ID": "do_ALayout", | ||
"IsContainer": "*", | ||
"Type": "UI", | ||
"Name": "绝对布局", | ||
"Version": "Internal", | ||
"Description": "UI组件,绝对布局,通过设置x,y来设置控件的绝对位置。这是DeviceOne平台提供的一个核心组件也是最重要的组件之一。", | ||
"Icon": "", | ||
"IOS": { | ||
"Support": 1, | ||
"MinVersion": "7" | ||
}, | ||
"Android": { | ||
"Support": 1, | ||
"MinVersion": "4.0" | ||
}, | ||
"Windows": { | ||
"Support": 1, | ||
"MinVersion": "10" | ||
}, | ||
"WindowsPhone": { | ||
"Support": 1, | ||
"MinVersion": "10" | ||
}, | ||
"Html": { | ||
"Support": 1, | ||
"MinVersion": "5.0" | ||
}, | ||
"Properties": [ | ||
{ | ||
"ID": "bgImage", | ||
"Name": "背景图片", | ||
"Type": "String", | ||
"Type_JavaScript": "String", | ||
"DefaultValue": "", | ||
"EditType": "1", | ||
"Group": "", | ||
"Description": "设置layout的背景图片,支持data://和source://两种方式;文件格式说明参考Storage类", | ||
"Design": { | ||
"Type": "ImageSource", | ||
"Data": [] | ||
} | ||
}, | ||
{ | ||
"ID": "bgImageFillType", | ||
"Name": "背景图片填充方式", | ||
"Type": "String", | ||
"Type_JavaScript": "String", | ||
"DefaultValue": "fillxy", | ||
"EditType": "1", | ||
"Group": "", | ||
"Description": "背景图片填充方式,缺省为fillxy,win8不支持repeatxy方式。其中fillxy:表示无论图片大小,图片会自动拉伸平铺满整个layout;repeatxy:表示图片不会有任何自动拉伸,根据layout大小会重复很多个图片", | ||
"Design": { | ||
"Type": "List", | ||
"Data": [ | ||
{ | ||
"id": "fillxy", | ||
"value": "自动拉伸平铺" | ||
}, | ||
{ | ||
"id": "repeatxy", | ||
"value": "重复填充" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"ID": "enabled", | ||
"Name": "是否可点击", | ||
"Type": "Bool", | ||
"Type_JavaScript": "Bool", | ||
"DefaultValue": "true", | ||
"EditType": "1", | ||
"Group": "", | ||
"Description": "缺省为true,如果enable为true,则ALayout是可以点击的,否则不可点击", | ||
"Design": { | ||
"Type": "Boolean", | ||
"Data": [] | ||
} | ||
}, | ||
{ | ||
"ID": "isStretch", | ||
"Name": "是否自动拉伸", | ||
"Type": "Bool", | ||
"Type_JavaScript": "Bool", | ||
"DefaultValue": "true", | ||
"EditType": "0", | ||
"Group": "", | ||
"Description": "通常ALayout包括ALayout内的所有组件都是按照设计器里设计的分辨率映射到手机屏幕的分辨率,按比例缩放的。比如设计器设计一个ui缺省是320*480,如果在ALayout是100*100的正方形,最后安装到640*960分辨率的手机上会是一个200*200的正方形区域;但是安装到分辨率比例和设计器比例不一致的手机上,正方形会变形为长方形,比如手机分辨率为640*1024,则正方形会变成200*213的长方形,为了确保不变形,可以通过设置这个属性来控制。通常isStretch为true,表示缺省是自动平铺拉伸,如果改为false,则layout的优先考虑比例,会自动拉伸,但是会拉伸到铺满横向或者纵向。比如上面的例子,安装到分辨率是640*1024,如果设置isStretch为false的话,layout还会是200*200的正方形,但是layout的父容器会多出13左右的空白", | ||
"Design": { | ||
"Type": "Boolean", | ||
"Data": [] | ||
} | ||
}, | ||
{ | ||
"ID": "layoutAlign", | ||
"Name": "对齐方式", | ||
"Type": "String", | ||
"Type_JavaScript": "String", | ||
"DefaultValue": "MiddelCenter", | ||
"EditType": "0", | ||
"Group": "", | ||
"Description": "这个属性只有当isStretch为false的时候才有意义。正如isStretch属性描述,如果设计器设计的区域分辨率宽高比和运行的手机宽高比不一致的时候,通过设置isStretch为false可以确保ALayout比例不变形,但是有可能会有空白区域,这个属性就是设置这个空白区的停靠方式。总共有如下几种对齐方式:\r\n 'TopLeft':'垂直居上,水平居左'\r\n'TopCenter':'垂直居上,水平居中'\r\n'TopRight':'垂直居上,水平居右'\r\n'MiddleLeft':'垂直居中,水平居左'\r\n'MiddleCenter':'垂直水平都居中'\r\n'MiddleRight':'垂直居中,水平居右'\r\n'BottomLeft':'垂直居下,水平居左'\r\n'BottomCenter':'垂直居下,水平居中'\r\n'BottomRight':'垂直居下,水平居右'", | ||
"Design": { | ||
"Type": "List", | ||
"Data": [ | ||
{ | ||
"id": "TopLeft", | ||
"value": "垂直居上,水平居左" | ||
}, | ||
{ | ||
"id": "TopCenter", | ||
"value": "垂直居上,水平居中" | ||
}, | ||
{ | ||
"id": "TopRight", | ||
"value": "垂直居上,水平居右" | ||
}, | ||
{ | ||
"id": "MiddleLeft", | ||
"value": "垂直居中,水平居左" | ||
}, | ||
{ | ||
"id": "MiddleCenter", | ||
"value": "垂直水平都居中" | ||
}, | ||
{ | ||
"id": "MiddleRight", | ||
"value": "垂直居中,水平居右" | ||
}, | ||
{ | ||
"id": "BottomLeft", | ||
"value": "垂直居下,水平居左" | ||
}, | ||
{ | ||
"id": "BottomCenter", | ||
"value": "垂直居下,水平居中" | ||
}, | ||
{ | ||
"id": "BottomRight", | ||
"value": "垂直居下,水平居右" | ||
} | ||
] | ||
} | ||
} | ||
], | ||
"Events": [ | ||
{ | ||
"ID": "longTouch", | ||
"Description": "长按事件", | ||
"ReturnType": "String", | ||
"ReturnType_JavaScript": "String", | ||
"ReturnDesc": "" | ||
}, | ||
{ | ||
"ID": "touch", | ||
"Description": "按下并在alayout范围抬起,触发该事件", | ||
"ReturnType": "String", | ||
"ReturnType_JavaScript": "String", | ||
"ReturnDesc": "" | ||
}, | ||
{ | ||
"ID": "touchDown", | ||
"Description": "alayout范围内按下即可触发,必须先订阅toch事件才会有效果", | ||
"ReturnType": "String", | ||
"ReturnType_JavaScript": "String", | ||
"ReturnDesc": "" | ||
}, | ||
{ | ||
"ID": "touchUp", | ||
"Description": "一旦按下,手指离开即触发,不论是否在alayout范围内,必须先订阅toch事件才会有效果", | ||
"ReturnType": "String", | ||
"ReturnType_JavaScript": "String", | ||
"ReturnDesc": "" | ||
} | ||
], | ||
"syncMethodes": [ | ||
{ | ||
"ID": "add", | ||
"Name": "插入一个UI", | ||
"Description": "可以在ALayout控件内在用户指定的x,y坐标上动态插入新的ui组件,这个ui文件可以有自己的脚本代码,但是和这个ui的所在Page共享一个脚本环境。", | ||
"ReturnType": "String", | ||
"ReturnType_JavaScript": "String", | ||
"ReturnDesc": "返回这个ui文件对应的根节点view的地址", | ||
"Paras": [ | ||
{ | ||
"ID": "id", | ||
"Name": "唯一标识", | ||
"Type": "String", | ||
"Type_JavaScript": "String", | ||
"Required": 1, | ||
"DefaultValue": "", | ||
"Description": "为了确保ui自身的id属性和父容器里其他子ui的id重复。这个id作为一个在父容器的唯一标识" | ||
}, | ||
{ | ||
"ID": "path", | ||
"Name": "插入的ui组件对应的ui文件路径", | ||
"Type": "String", | ||
"Type_JavaScript": "String", | ||
"Required": 1, | ||
"DefaultValue": "", | ||
"Description": "插入的UI文件路径,支持data://和source://目录。关于文件格式的说明请参考Storage类" | ||
}, | ||
{ | ||
"ID": "x", | ||
"Name": "x 坐标", | ||
"Type": "String", | ||
"Type_JavaScript": "String", | ||
"Required": 0, | ||
"DefaultValue": "", | ||
"Description": "插入的ui组件相对ALayout的x 坐标,如果没有设置,则x坐标是这个ui文件里指定的x坐标" | ||
}, | ||
{ | ||
"ID": "y", | ||
"Name": "y的坐标", | ||
"Type": "String", | ||
"Type_JavaScript": "String", | ||
"Required": 0, | ||
"DefaultValue": "", | ||
"Description": "插入的ui组件相对ALayout的y 坐标,如果没有设置,则y坐标是这个ui文件里指定的y坐标" | ||
} | ||
] | ||
}, | ||
{ | ||
"ID": "getChildren", | ||
"Name": "获取子view的id", | ||
"Description": "获取当前组件内所有第一层子view的id", | ||
"ReturnType": "Node", | ||
"ReturnType_JavaScript": "Node", | ||
"ReturnDesc": "返回一个JSON数组,类似['do_Button_1','do_Button_2']", | ||
"Paras": [] | ||
} | ||
], | ||
"asyncMethodes": [] | ||
} |
48 changes: 48 additions & 0 deletions
48
pull_push/.metadata/app-dependency-modules/do_AccelerometerSensor.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
{ | ||
"ID": "do_AccelerometerSensor", | ||
"IsContainer": "0", | ||
"Type": "SM", | ||
"Name": "加速度传感器", | ||
"Version": "Internal", | ||
"Description": "", | ||
"Icon": "", | ||
"IOS": { | ||
"Support": 1, | ||
"MinVersion": "7" | ||
}, | ||
"Android": { | ||
"Support": 1, | ||
"MinVersion": "4.0" | ||
}, | ||
"Windows": { | ||
"Support": 1, | ||
"MinVersion": "10" | ||
}, | ||
"WindowsPhone": { | ||
"Support": 1, | ||
"MinVersion": "10" | ||
}, | ||
"Html": { | ||
"Support": 1, | ||
"MinVersion": "5.0" | ||
}, | ||
"Properties": [], | ||
"Events": [ | ||
{ | ||
"ID": "change", | ||
"Description": "加速度变化触发", | ||
"ReturnType": "Node", | ||
"ReturnType_JavaScript": "Node", | ||
"ReturnDesc": "{x:'x轴的加速度',y:'y轴的加速度',z:'z轴的加速度'}" | ||
}, | ||
{ | ||
"ID": "shake", | ||
"Description": "摇一摇", | ||
"ReturnType": "String", | ||
"ReturnType_JavaScript": "String", | ||
"ReturnDesc": "" | ||
} | ||
], | ||
"syncMethodes": [], | ||
"asyncMethodes": [] | ||
} |
Oops, something went wrong.