clickgo 3.11.18 → 3.11.19
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/form/method/native/native.xml +5 -5
- package/dist/clickgo.js +1 -1
- package/dist/clickgo.ts +1 -1
- package/dist/lib/form.js +4 -0
- package/dist/lib/form.ts +4 -0
- 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.5.1/dist/loader.min.js?path=index&npm={'clickgo':'3.11.
|
|
31
|
+
<script src="https://cdn.jsdelivr.net/npm/@litert/loader@3.5.1/dist/loader.min.js?path=index&npm={'clickgo':'3.11.19'}"></script>
|
|
32
32
|
```
|
|
33
33
|
|
|
34
34
|
**index.js**
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
<form width="350" height="400" title="Library native" padding="10">
|
|
2
2
|
<layout gutter="10" direction="v" style="flex: 1;">
|
|
3
|
-
<button @click="getListenerList"getListenerList</button>
|
|
4
|
-
<button @click="max"max</button>
|
|
5
|
-
<button @click="min"min</button>
|
|
3
|
+
<button @click="getListenerList">getListenerList</button>
|
|
4
|
+
<button @click="max">max</button>
|
|
5
|
+
<button @click="min">min</button>
|
|
6
6
|
<layout gutter="10" align-v="center">
|
|
7
7
|
<text style="flex: 1;" v-model="val"></text>
|
|
8
|
-
<button @click="ping"
|
|
8
|
+
<button @click="ping">ping("{{val}}")</button>
|
|
9
9
|
</layout>
|
|
10
|
-
<button @click="isMax"isMax</button>
|
|
10
|
+
<button @click="isMax">isMax</button>
|
|
11
11
|
</layout>
|
|
12
12
|
</form>
|
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.storage = 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.11.
|
|
27
|
+
const version = '3.11.19';
|
|
28
28
|
function getVersion() {
|
|
29
29
|
return version;
|
|
30
30
|
}
|
package/dist/clickgo.ts
CHANGED
package/dist/lib/form.js
CHANGED
|
@@ -2165,6 +2165,7 @@ function createPanel(rootPanel_1, cls_1) {
|
|
|
2165
2165
|
'content': `Message: ${err.message}\nTask id: ${vm.taskId}\nForm id: ${vm.formId}`,
|
|
2166
2166
|
'type': 'danger'
|
|
2167
2167
|
});
|
|
2168
|
+
console.error('Runtime Error [form.createPanel.errorHandler]', `Message: ${err.message}\nTask id: ${vm.taskId}\nForm id: ${vm.formId}`, err);
|
|
2168
2169
|
core.trigger('error', vm.taskId, vm.formId, err, info + '(-3,' + vm.taskId + ',' + vm.formId + ')');
|
|
2169
2170
|
};
|
|
2170
2171
|
for (const key in components) {
|
|
@@ -2179,6 +2180,7 @@ function createPanel(rootPanel_1, cls_1) {
|
|
|
2179
2180
|
'content': `Message: ${err.message}\nTask id: ${t.id}\nForm id: ${formId}`,
|
|
2180
2181
|
'type': 'danger'
|
|
2181
2182
|
});
|
|
2183
|
+
console.error('Runtime Error [form.createPanel.mount]', `Message: ${err.message}\nTask id: ${t.id}\nForm id: ${formId}`, err);
|
|
2182
2184
|
core.trigger('error', t.id, formId, err, err.message);
|
|
2183
2185
|
}
|
|
2184
2186
|
});
|
|
@@ -2542,6 +2544,7 @@ function create(cls_1, data_1) {
|
|
|
2542
2544
|
'content': `Message: ${err.message}\nTask id: ${vm.taskId}\nForm id: ${vm.formId}`,
|
|
2543
2545
|
'type': 'danger'
|
|
2544
2546
|
});
|
|
2547
|
+
console.error('Runtime Error [form.create.errorHandler]', `Message: ${err.message}\nTask id: ${vm.taskId}\nForm id: ${vm.formId}`, err);
|
|
2545
2548
|
core.trigger('error', vm.taskId, vm.formId, err, info + '(-3,' + vm.taskId + ',' + vm.formId + ')');
|
|
2546
2549
|
};
|
|
2547
2550
|
for (const key in components) {
|
|
@@ -2556,6 +2559,7 @@ function create(cls_1, data_1) {
|
|
|
2556
2559
|
'content': `Message: ${err.message}\nTask id: ${t.id}\nForm id: ${formId}`,
|
|
2557
2560
|
'type': 'danger'
|
|
2558
2561
|
});
|
|
2562
|
+
console.error('Runtime Error [form.create.mount]', `Message: ${err.message}\nTask id: ${t.id}\nForm id: ${formId}`, err);
|
|
2559
2563
|
core.trigger('error', t.id, formId, err, err.message);
|
|
2560
2564
|
}
|
|
2561
2565
|
});
|
package/dist/lib/form.ts
CHANGED
|
@@ -2792,6 +2792,7 @@ export async function createPanel<T extends AbstractPanel>(
|
|
|
2792
2792
|
'content': `Message: ${err.message}\nTask id: ${vm.taskId}\nForm id: ${vm.formId}`,
|
|
2793
2793
|
'type': 'danger'
|
|
2794
2794
|
});
|
|
2795
|
+
console.error('Runtime Error [form.createPanel.errorHandler]', `Message: ${err.message}\nTask id: ${vm.taskId}\nForm id: ${vm.formId}`, err);
|
|
2795
2796
|
core.trigger('error', vm.taskId, vm.formId, err, info + '(-3,' + vm.taskId + ',' + vm.formId + ')');
|
|
2796
2797
|
};
|
|
2797
2798
|
// --- 挂载控件对象到 vapp ---
|
|
@@ -2807,6 +2808,7 @@ export async function createPanel<T extends AbstractPanel>(
|
|
|
2807
2808
|
'content': `Message: ${err.message}\nTask id: ${t.id}\nForm id: ${formId}`,
|
|
2808
2809
|
'type': 'danger'
|
|
2809
2810
|
});
|
|
2811
|
+
console.error('Runtime Error [form.createPanel.mount]', `Message: ${err.message}\nTask id: ${t.id}\nForm id: ${formId}`, err);
|
|
2810
2812
|
core.trigger('error', t.id, formId, err, err.message);
|
|
2811
2813
|
}
|
|
2812
2814
|
});
|
|
@@ -3243,6 +3245,7 @@ export async function create<T extends AbstractForm>(
|
|
|
3243
3245
|
'content': `Message: ${err.message}\nTask id: ${vm.taskId}\nForm id: ${vm.formId}`,
|
|
3244
3246
|
'type': 'danger'
|
|
3245
3247
|
});
|
|
3248
|
+
console.error('Runtime Error [form.create.errorHandler]', `Message: ${err.message}\nTask id: ${vm.taskId}\nForm id: ${vm.formId}`, err);
|
|
3246
3249
|
core.trigger('error', vm.taskId, vm.formId, err, info + '(-3,' + vm.taskId + ',' + vm.formId + ')');
|
|
3247
3250
|
};
|
|
3248
3251
|
// --- 挂载控件对象到 vapp ---
|
|
@@ -3258,6 +3261,7 @@ export async function create<T extends AbstractForm>(
|
|
|
3258
3261
|
'content': `Message: ${err.message}\nTask id: ${t.id}\nForm id: ${formId}`,
|
|
3259
3262
|
'type': 'danger'
|
|
3260
3263
|
});
|
|
3264
|
+
console.error('Runtime Error [form.create.mount]', `Message: ${err.message}\nTask id: ${t.id}\nForm id: ${formId}`, err);
|
|
3261
3265
|
core.trigger('error', t.id, formId, err, err.message);
|
|
3262
3266
|
}
|
|
3263
3267
|
});
|