clickgo 3.0.7-dev8 → 3.1.0-dev9
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/README.md +1 -1
- package/dist/app/demo/app.js +93 -0
- package/dist/app/demo/form/control/form/form.js +21 -20
- package/dist/app/demo/form/control/form/form.xml +3 -3
- package/dist/app/demo/form/main.js +20 -10
- package/dist/app/demo/form/main.xml +1 -1
- package/dist/app/task/app.js +46 -0
- package/dist/app/task/form/bar/bar.js +84 -88
- package/dist/app/task/form/bar/bar.xml +4 -5
- package/dist/clickgo.js +1 -10
- package/dist/clickgo.ts +0 -8
- package/dist/control/common.cgc +0 -0
- package/dist/control/form.cgc +0 -0
- package/dist/control/monaco.cgc +0 -0
- package/dist/control/property.cgc +0 -0
- package/dist/control/task.cgc +0 -0
- package/dist/index.js +105 -56
- package/dist/index.ts +164 -59
- package/dist/lib/control.js +363 -240
- package/dist/lib/control.ts +497 -284
- package/dist/lib/core.js +313 -228
- package/dist/lib/core.ts +400 -255
- package/dist/lib/dom.ts +1 -3
- package/dist/lib/form.js +398 -928
- package/dist/lib/form.ts +630 -1075
- package/dist/lib/fs.js +42 -39
- package/dist/lib/fs.ts +45 -41
- package/dist/lib/native.ts +3 -0
- package/dist/lib/task.js +705 -182
- package/dist/lib/task.ts +775 -200
- package/dist/lib/theme.ts +2 -2
- package/dist/lib/tool.js +58 -48
- package/dist/lib/tool.ts +79 -64
- package/dist/theme/familiar.cgt +0 -0
- package/package.json +5 -7
- package/types/index.d.ts +274 -325
- package/dist/app/demo/config.json +0 -106
- package/dist/app/task/config.json +0 -32
package/dist/lib/dom.ts
CHANGED
|
@@ -1482,7 +1482,7 @@ export function bindMove(e: MouseEvent | TouchEvent, opt: types.IBindMoveOptions
|
|
|
1482
1482
|
}
|
|
1483
1483
|
|
|
1484
1484
|
// --- 检测是否执行 borderIn 事件(是否正在边界上) ---
|
|
1485
|
-
let border: types.
|
|
1485
|
+
let border: types.TDomBorder = '';
|
|
1486
1486
|
if (inBorderTop || inBorderRight || inBorderBottom || inBorderLeft) {
|
|
1487
1487
|
if (inBorderTop) {
|
|
1488
1488
|
if (x - left <= 20) {
|
|
@@ -1588,8 +1588,6 @@ export function bindMove(e: MouseEvent | TouchEvent, opt: types.IBindMoveOptions
|
|
|
1588
1588
|
* --- 绑定拖动改变大小事件 ---
|
|
1589
1589
|
* @param e mousedown 或 touchstart 的 event
|
|
1590
1590
|
* @param opt 选项,width, height 当前对象宽高
|
|
1591
|
-
* @param moveCb 拖动时的回调
|
|
1592
|
-
* @param endCb 结束时的回调
|
|
1593
1591
|
*/
|
|
1594
1592
|
export function bindResize(e: MouseEvent | TouchEvent, opt: types.IBindResizeOptions): void {
|
|
1595
1593
|
if (hasTouchButMouse(e)) {
|