clickgo 3.2.13 → 3.2.14
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/config.json +0 -3
- package/dist/app/demo/form/control/button/button.css +1 -1
- package/dist/app/demo/form/control/button/button.scss +1 -1
- package/dist/app/demo/form/control/button/button.xml +1 -1
- package/dist/clickgo.js +1 -1
- package/dist/clickgo.ts +1 -1
- package/dist/lib/dom.js +1 -1
- package/dist/lib/dom.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -28,7 +28,7 @@ Load the module loader first, and then load it using the module loader.
|
|
|
28
28
|
**index.html**
|
|
29
29
|
|
|
30
30
|
```html
|
|
31
|
-
<script src="https://cdn.jsdelivr.net/npm/@litert/loader@3.4.10/dist/loader.min.js?path=index&npm={'clickgo':'3.2.
|
|
31
|
+
<script src="https://cdn.jsdelivr.net/npm/@litert/loader@3.4.10/dist/loader.min.js?path=index&npm={'clickgo':'3.2.14'}"></script>
|
|
32
32
|
```
|
|
33
33
|
|
|
34
34
|
**index.js**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.buttons button{flex:3;height:30px}.buttons select{flex:1;height:30px}.tbuttons{padding:5px;background-color:rgba(255,255,255,.1)}.tbuttons button{
|
|
1
|
+
.buttons button{flex:3;height:30px}.buttons select{flex:1;height:30px}.tbuttons{padding:5px;background-color:rgba(255,255,255,.1)}.tbuttons button{margin-right:2px}img{width:16px;height:16px}
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
</template>
|
|
101
101
|
</button>
|
|
102
102
|
<button type="tool" area="split" style="width: initial;">
|
|
103
|
-
<img src="../../../res/icon.svg"
|
|
103
|
+
<img src="../../../res/icon.svg" />
|
|
104
104
|
<template v-slot:pop>
|
|
105
105
|
<menulist>
|
|
106
106
|
<menulist-item alt="T">Test 1</menulist-item>
|
package/dist/clickgo.js
CHANGED
|
@@ -24,7 +24,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
exports.zip = exports.tool = exports.theme = exports.task = exports.native = exports.fs = exports.form = exports.dom = exports.core = exports.control = exports.vue = exports.hasFrame = exports.isImmersion = exports.getPlatform = exports.isNative = exports.getVersion = void 0;
|
|
27
|
-
const version = '3.2.
|
|
27
|
+
const version = '3.2.14';
|
|
28
28
|
function getVersion() {
|
|
29
29
|
return version;
|
|
30
30
|
}
|
package/dist/clickgo.ts
CHANGED
package/dist/lib/dom.js
CHANGED
|
@@ -99,7 +99,7 @@ function hasTouchButMouse(e) {
|
|
|
99
99
|
}
|
|
100
100
|
exports.hasTouchButMouse = hasTouchButMouse;
|
|
101
101
|
function createToStyleList(taskId) {
|
|
102
|
-
styleList.insertAdjacentHTML('beforeend', `<div id="cg-style-task${taskId}"><
|
|
102
|
+
styleList.insertAdjacentHTML('beforeend', `<div id="cg-style-task${taskId}"><div class="cg-style-control"></div><div class="cg-style-theme"></div><style class="cg-style-global"></style><div class="cg-style-form"></div></div>`);
|
|
103
103
|
}
|
|
104
104
|
exports.createToStyleList = createToStyleList;
|
|
105
105
|
function removeFromStyleList(taskId) {
|
package/dist/lib/dom.ts
CHANGED
|
@@ -105,7 +105,7 @@ export function hasTouchButMouse(e: MouseEvent | TouchEvent | PointerEvent): boo
|
|
|
105
105
|
* @param taskId 任务 id
|
|
106
106
|
*/
|
|
107
107
|
export function createToStyleList(taskId: number): void {
|
|
108
|
-
styleList.insertAdjacentHTML('beforeend', `<div id="cg-style-task${taskId}"><
|
|
108
|
+
styleList.insertAdjacentHTML('beforeend', `<div id="cg-style-task${taskId}"><div class="cg-style-control"></div><div class="cg-style-theme"></div><style class="cg-style-global"></style><div class="cg-style-form"></div></div>`);
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
/**
|