clickgo 3.8.2 → 3.8.4

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 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.0/dist/loader.min.js?path=index&npm={'clickgo':'3.8.2'}"></script>
31
+ <script src="https://cdn.jsdelivr.net/npm/@litert/loader@3.5.0/dist/loader.min.js?path=index&npm={'clickgo':'3.8.4'}"></script>
32
32
  ```
33
33
 
34
34
  **index.js**
@@ -34,5 +34,8 @@ class default_1 extends clickgo.form.AbstractForm {
34
34
  this.tz = undefined;
35
35
  this.disabled = false;
36
36
  }
37
+ settime() {
38
+ this.ts = clickgo.tool.rand(1504304812000, 1704304812000);
39
+ }
37
40
  }
38
41
  exports.default = default_1;
@@ -9,6 +9,7 @@
9
9
  </layout>
10
10
  <layout gutter="10">
11
11
  <button @click="disabled = !disabled" style="flex: 1;">{{disabled ? '' : '!'}}disabled</button>
12
+ <button @click="settime" style="flex: 1;">Set time</button>
12
13
  </layout>
13
14
  </layout>
14
15
  </form>
@@ -40,8 +40,8 @@
40
40
  <!-- button list -->
41
41
  <layout gutter="10">
42
42
  <select v-model="lineValue" :data="[10, 50, 500, 5000]" style="flex: 1; width: 0;"></select>
43
- <button @click="lineCount += lineValue[0]" style="height: 30px;padding: 0 10px;">Add lines</button>
44
- <button @click="lineCount -= lineValue[0];if(lineCount < 0) {lineCount = 0;}" style="height: 30px; padding: 0 10px;">Remove lines</button>
43
+ <button @click="lineCount += parseInt(lineValue[0])" style="height: 30px;padding: 0 10px;">Add lines</button>
44
+ <button @click="lineCount -= parseInt(lineValue[0]);if(lineCount < 0) {lineCount = 0;}" style="height: 30px; padding: 0 10px;">Remove lines</button>
45
45
  </layout>
46
46
  <layout gutter="10">
47
47
  <button @click="gesture = !gesture" style="flex: 1; width: 0; height: 30px;">{{gesture ? '' : '!'}}gesture</button>
@@ -30,8 +30,8 @@
30
30
  <!-- button list -->
31
31
  <layout gutter="10">
32
32
  <select v-model="lineValue" :data="[100, 500, 1000, 10000]" style="flex: 1; width: 0;"></select>
33
- <button @click="lineCount += lineValue[0]" style="height: 30px; padding: 0 10px;">Add lines</button>
34
- <button @click="lineCount -= lineValue[0];if(lineCount < 0) {lineCount = 0;}" style="height: 30px; padding: 0 10px;">Remove lines</button>
33
+ <button @click="lineCount += parseInt(lineValue[0])" style="height: 30px; padding: 0 10px;">Add lines</button>
34
+ <button @click="lineCount -= parseInt(lineValue[0]);if(lineCount < 0) {lineCount = 0;}" style="height: 30px; padding: 0 10px;">Remove lines</button>
35
35
  </layout>
36
36
  <layout gutter="10">
37
37
  <button @click="gesture = !gesture" style="flex: 1; width: 0; height: 30px;">{{gesture ? '' : '!'}}gesture</button>
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.8.2';
27
+ const version = '3.8.4';
28
28
  function getVersion() {
29
29
  return version;
30
30
  }
package/dist/clickgo.ts CHANGED
@@ -13,7 +13,7 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- const version = '3.8.2';
16
+ const version = '3.8.4';
17
17
  export function getVersion(): string {
18
18
  return version;
19
19
  }
Binary file
Binary file
package/dist/index.js CHANGED
@@ -101,7 +101,7 @@ function launcher(boot) {
101
101
  var _a;
102
102
  return __awaiter(this, void 0, void 0, function* () {
103
103
  const paths = [
104
- loader.cdn + '/npm/vue@3.3.4/dist/vue.global.prod.min.js'
104
+ loader.cdn + '/npm/vue@3.3.13/dist/vue.global.prod.min.js'
105
105
  ];
106
106
  let ro = true;
107
107
  if (!(window.ResizeObserver)) {
package/dist/index.ts CHANGED
@@ -176,7 +176,7 @@ export function launcher(boot: AbstractBoot): void {
176
176
  (async function() {
177
177
  // --- 通过标签加载库 ---
178
178
  const paths: string[] = [
179
- loader.cdn + '/npm/vue@3.3.4/dist/vue.global.prod.min.js'
179
+ loader.cdn + '/npm/vue@3.3.13/dist/vue.global.prod.min.js'
180
180
  ];
181
181
  // --- 判断 ResizeObserver 是否存在 ---
182
182
  let ro = true;
package/dist/lib/core.js CHANGED
@@ -192,7 +192,7 @@ const modules = {
192
192
  func: function () {
193
193
  return __awaiter(this, void 0, void 0, function* () {
194
194
  return new Promise(function (resolve, reject) {
195
- fetch(loader.cdn + '/npm/monaco-editor@0.40.0/min/vs/loader.js').then(function (r) {
195
+ fetch(loader.cdn + '/npm/monaco-editor@0.45.0/min/vs/loader.js').then(function (r) {
196
196
  return r.blob();
197
197
  }).then(function (b) {
198
198
  return tool.blob2DataUrl(b);
package/dist/lib/core.ts CHANGED
@@ -265,7 +265,7 @@ const modules: Record<string, {
265
265
  'monaco': {
266
266
  func: async function() {
267
267
  return new Promise(function(resolve, reject) {
268
- fetch(loader.cdn + '/npm/monaco-editor@0.40.0/min/vs/loader.js').then(function(r) {
268
+ fetch(loader.cdn + '/npm/monaco-editor@0.45.0/min/vs/loader.js').then(function(r) {
269
269
  return r.blob();
270
270
  }).then(function(b) {
271
271
  return tool.blob2DataUrl(b);
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clickgo",
3
- "version": "3.8.2",
3
+ "version": "3.8.4",
4
4
  "description": "Background interface, software interface, mobile phone APP interface operation library.",
5
5
  "keywords": [
6
6
  "deskrt",