clickgo 3.15.43 → 3.15.45
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 +4 -0
- package/dist/app/demo/form/control/box/box.js +11 -0
- package/dist/app/demo/form/control/box/box.xml +10 -5
- package/dist/app/demo/form/control/datepanel/datepanel.js +1 -1
- package/dist/app/demo/form/control/datepanel/datepanel.xml +2 -2
- package/dist/app/demo/form/control/delete/delete.js +15 -0
- package/dist/app/demo/form/control/delete/delete.xml +4 -2
- package/dist/app/demo/form/control/iconview/iconview.js +1 -0
- package/dist/app/demo/form/control/iconview/iconview.xml +4 -0
- package/dist/app/demo/form/control/layout/layout.js +1 -0
- package/dist/app/demo/form/control/layout/layout.xml +6 -3
- package/dist/app/demo/form/control/nav/nav.js +1 -0
- package/dist/app/demo/form/control/nav/nav.xml +6 -0
- package/dist/app/demo/form/control/pdf/pdf.js +68 -0
- package/dist/app/demo/form/control/pdf/pdf.xml +12 -0
- package/dist/app/demo/form/control/pdf/test.pdf +0 -0
- package/dist/app/demo/form/control/progress/progress.js +5 -6
- package/dist/app/demo/form/control/table/table.xml +6 -2
- package/dist/app/demo/form/main.js +5 -0
- package/dist/app/demo/form/main.xml +1 -0
- package/dist/app/demo/form/method/form/form.js +10 -0
- package/dist/clickgo.js +1 -1
- package/dist/clickgo.ts +1 -1
- package/dist/control/arteditor.cgc +0 -0
- package/dist/control/box.cgc +0 -0
- package/dist/control/common.cgc +0 -0
- package/dist/control/desc.cgc +0 -0
- package/dist/control/drawer.cgc +0 -0
- package/dist/control/echarts.cgc +0 -0
- package/dist/control/form.cgc +0 -0
- package/dist/control/iconview.cgc +0 -0
- package/dist/control/jodit.cgc +0 -0
- package/dist/control/map.cgc +0 -0
- package/dist/control/monaco.cgc +0 -0
- package/dist/control/nav.cgc +0 -0
- package/dist/control/page.cgc +0 -0
- package/dist/control/pdf.cgc +0 -0
- package/dist/control/property.cgc +0 -0
- package/dist/control/table.cgc +0 -0
- package/dist/control/task.cgc +0 -0
- package/dist/control/tuieditor.cgc +0 -0
- package/dist/control/tuiviewer.cgc +0 -0
- package/dist/control/xterm.cgc +0 -0
- package/dist/lib/core.js +20 -1
- package/dist/lib/core.ts +18 -1
- package/dist/lib/form.js +27 -2
- package/dist/lib/form.ts +34 -3
- package/dist/lib/fs.js +1 -1
- package/dist/lib/fs.ts +1 -1
- package/dist/lib/storage.js +2 -2
- package/dist/lib/storage.ts +2 -2
- package/dist/lib/task.js +3 -0
- package/dist/lib/task.ts +3 -0
- package/dist/theme/blue.cgt +0 -0
- package/dist/theme/byterun.cgt +0 -0
- package/dist/theme/light.cgt +0 -0
- package/package.json +2 -2
- package/types/index.d.ts +15 -1
package/README.md
CHANGED
|
@@ -25,7 +25,7 @@ Load the module loader first, and then load it using the module loader.
|
|
|
25
25
|
**index.html**
|
|
26
26
|
|
|
27
27
|
```html
|
|
28
|
-
<script src="https://cdn.jsdelivr.net/npm/@litert/loader@3.5.
|
|
28
|
+
<script src="https://cdn.jsdelivr.net/npm/@litert/loader@3.5.8/dist/loader.min.js?path=index&npm={'clickgo':'3.15.45'}"></script>
|
|
29
29
|
```
|
|
30
30
|
|
|
31
31
|
**index.js**
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
"/clickgo/control/table",
|
|
16
16
|
"/clickgo/control/nav",
|
|
17
17
|
"/clickgo/control/page",
|
|
18
|
+
"/clickgo/control/pdf",
|
|
18
19
|
"/clickgo/control/desc",
|
|
19
20
|
"/clickgo/control/iconview",
|
|
20
21
|
"/clickgo/control/xterm",
|
|
@@ -118,6 +119,9 @@
|
|
|
118
119
|
"/form/control/panel/test1.js",
|
|
119
120
|
"/form/control/panel/test1.xml",
|
|
120
121
|
"/form/control/panel/test2.xml",
|
|
122
|
+
"/form/control/pdf/pdf.js",
|
|
123
|
+
"/form/control/pdf/pdf.xml",
|
|
124
|
+
"/form/control/pdf/test.pdf",
|
|
121
125
|
"/form/control/progress/progress.js",
|
|
122
126
|
"/form/control/progress/progress.xml",
|
|
123
127
|
"/form/control/property/property.js",
|
|
@@ -37,6 +37,7 @@ class default_1 extends clickgo.form.AbstractForm {
|
|
|
37
37
|
}
|
|
38
38
|
};
|
|
39
39
|
this.id = 0;
|
|
40
|
+
this.selected = [];
|
|
40
41
|
this.val2 = {
|
|
41
42
|
'btn': {
|
|
42
43
|
'type': 'rect',
|
|
@@ -62,5 +63,15 @@ class default_1 extends clickgo.form.AbstractForm {
|
|
|
62
63
|
break;
|
|
63
64
|
}
|
|
64
65
|
}
|
|
66
|
+
up() {
|
|
67
|
+
for (const item of this.selected) {
|
|
68
|
+
this.val2[item].index = 999;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
down() {
|
|
72
|
+
for (const item of this.selected) {
|
|
73
|
+
this.val2[item].index = 0;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
65
76
|
}
|
|
66
77
|
exports.default = default_1;
|
|
@@ -3,16 +3,21 @@
|
|
|
3
3
|
<box style="flex: 1;" v-model="val1"></box>
|
|
4
4
|
<layout gutter="10" style="flex: 1;">
|
|
5
5
|
<block style="flex: 1; position: relative; border: solid 1px var(--g-border-color); overflow: hidden;">
|
|
6
|
-
<
|
|
7
|
-
<
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
6
|
+
<block style="position: absolute; width: 100%; height: 100%; z-index: 1;">
|
|
7
|
+
<template v-for="item, id of val2">
|
|
8
|
+
<button v-if="(id === 'btn') || (id.slice(3) % 2)" style="position: absolute;" :style="{'left': item.x + 'px', 'top': item.y + 'px', 'width': item.width + 'px', 'height': item.height + 'px', 'z-index': (item.index ?? 1).toString()}">button{{id.slice(3)}}</button>
|
|
9
|
+
<text v-else :modelValue="'text' + id.slice(3)" style="position: absolute;" :style="{'left': item.x + 'px', 'top': item.y + 'px', 'width': item.width + 'px', 'height': item.height + 'px', 'z-index': (item.index ?? 1).toString()}"></text>
|
|
10
|
+
</template>
|
|
11
|
+
</block>
|
|
12
|
+
<box v-model="val2" v-model:selected="selected" style="position: absolute; width: 100%; height: 100%; z-index: 2;"></box>
|
|
11
13
|
</block>
|
|
12
14
|
<layout direction="v" gutter="10">
|
|
13
15
|
<button style="flex: 1;" @click="add">Add</button>
|
|
14
16
|
<button style="flex: 1;" @click="remove">Remove</button>
|
|
17
|
+
<button style="flex: 1;" @click="up">Up</button>
|
|
18
|
+
<button style="flex: 1;" @click="down">Down</button>
|
|
15
19
|
</layout>
|
|
16
20
|
</layout>
|
|
21
|
+
<label>{{selected}}</label>
|
|
17
22
|
</layout>
|
|
18
23
|
</form>
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<layout direction="v" gutter="10" style="padding: 10px; flex: 1;">
|
|
3
3
|
<label>Timestamp: {{ts}}, Time zone: {{tz}}</label>
|
|
4
4
|
<label>yearmonth: {{ym}}, hourminute: {{hm}}</label>
|
|
5
|
-
<datepanel v-model="ts" v-model:tz="tz" v-model:yearmonth="ym" v-model:hourminute="hm" :time="time" :zone="zone" :disabled="disabled" :plain="plain" :range="range" @range="onRange" :start="start ? 1704067200_000 : undefined" :
|
|
5
|
+
<datepanel v-model="ts" v-model:tz="tz" v-model:yearmonth="ym" v-model:hourminute="hm" :time="time" :zone="zone" :disabled="disabled" :plain="plain" :range="range" @range="onRange" :start="start ? 1704067200_000 : undefined" :disabledList="dlist ? ['20240101'] : undefined" @changed="onChanged" style="flex: 1;">
|
|
6
6
|
<template v-if="bottom" v-slot="d">
|
|
7
7
|
<layout style="flex: 1;" align-h="center">{{d.year}}</layout>
|
|
8
8
|
</template>
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
<button @click="ym = '200708'" style="flex: 1;">Set yearmonth</button>
|
|
27
27
|
<button @click="hm = '220232'" style="flex: 1;">Set hourminute</button>
|
|
28
28
|
<button @click="tz = 7.5" style="flex: 1;">Set tz</button>
|
|
29
|
-
<button @click="
|
|
29
|
+
<button @click="dlist = !dlist" style="flex: 1;">{{dlist ? '' : '!'}}disabledList</button>
|
|
30
30
|
</layout>
|
|
31
31
|
</layout>
|
|
32
32
|
</form>
|
|
@@ -22,6 +22,15 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
22
22
|
__setModuleDefault(result, mod);
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
26
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
27
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
28
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
29
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
30
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
31
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
32
|
+
});
|
|
33
|
+
};
|
|
25
34
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
35
|
const clickgo = __importStar(require("clickgo"));
|
|
27
36
|
class default_1 extends clickgo.form.AbstractForm {
|
|
@@ -29,5 +38,11 @@ class default_1 extends clickgo.form.AbstractForm {
|
|
|
29
38
|
super(...arguments);
|
|
30
39
|
this.list = [0, 1, 2];
|
|
31
40
|
}
|
|
41
|
+
check() {
|
|
42
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
43
|
+
const res = this.refs.content.check();
|
|
44
|
+
yield clickgo.form.dialog(res ? 'true' : 'false');
|
|
45
|
+
});
|
|
46
|
+
}
|
|
32
47
|
}
|
|
33
48
|
exports.default = default_1;
|
|
@@ -9,10 +9,12 @@
|
|
|
9
9
|
<delete>
|
|
10
10
|
<text></text>
|
|
11
11
|
</delete>
|
|
12
|
-
<
|
|
12
|
+
<content gutter="10" ref="content" fill>
|
|
13
13
|
<delete v-for="item, index of list" @close="list.splice(index, 1)" style="flex: 1;">
|
|
14
14
|
<text require></text>
|
|
15
15
|
</delete>
|
|
16
|
-
|
|
16
|
+
<button v-if="list.length <= 3" @click="list.push(list.length)">+</button>
|
|
17
|
+
</content>
|
|
18
|
+
<button @click="check">check</button>
|
|
17
19
|
</layout>
|
|
18
20
|
</form>
|
|
@@ -2,6 +2,9 @@
|
|
|
2
2
|
<layout gutter="10" direction="v" style="flex: 1; width: 0;">
|
|
3
3
|
<label>select: {{select}}</label>
|
|
4
4
|
<iconview :data="list" v-model="select" :disabled="disabled" :must="must" :multi="multi" :ctrl="ctrl" :selection="selection" :gesture="gesture ? ['top', 'bottom'] : []" @gesture="onGesture" :scroll="scroll" :size="size[0] ? size[0] : undefined" :name="name" :plain="plain" style="flex: 1;" @drop="drop" @select="onSelect" @open="onOpen">
|
|
5
|
+
<template v-if="custom" v-slot="d">
|
|
6
|
+
<label>{{d.item}}</label>
|
|
7
|
+
</template>
|
|
5
8
|
<template v-slot:pop>
|
|
6
9
|
<menulist>
|
|
7
10
|
<menulist-item alt="S">Some options</menulist-item>
|
|
@@ -19,6 +22,7 @@
|
|
|
19
22
|
<button @click="add" style="flex: 1;">Add</button>
|
|
20
23
|
<button @click="remove" style="flex: 1;">Remove</button>
|
|
21
24
|
<button @click="scrollChange" style="flex: 1;">Scroll {{scroll}}</button>
|
|
25
|
+
<button @click="custom = !custom" style="flex: 1;">{{custom ? '' : '!'}}Custom</button>
|
|
22
26
|
</layout>
|
|
23
27
|
<layout class="ctr" gutter="10">
|
|
24
28
|
<select v-model="size" :data="[32, 64, 100, 128, 256]" style="flex: 1;"></select>
|
|
@@ -1,15 +1,18 @@
|
|
|
1
1
|
<form width="300" height="300" title="Layout">
|
|
2
2
|
<layout direction="v" gutter="10" style="padding: 10px; flex: 1; width: 0;">
|
|
3
3
|
<label>direction: {{direction[0]}}</label>
|
|
4
|
-
<layout :direction="direction[0]" :gutter="gutter[0]" style="flex: 1; border: solid 1px var(--g-border-color); padding: 10px;">
|
|
5
|
-
<block style="background: var(--success);
|
|
6
|
-
<block style="flex: 1; background: var(--info);" />
|
|
4
|
+
<layout :direction="direction[0]" :gutter="gutter[0]" :wrap="wrap" style="flex: 1; border: solid 1px var(--g-border-color); padding: 10px; overflow: hidden;">
|
|
5
|
+
<block style="flex: 1; background: var(--success); min-width: 50px;" />
|
|
6
|
+
<block style="flex: 1; background: var(--info); min-width: 50px;" />
|
|
7
|
+
<block style="flex: 1; background: var(--danger); min-width: 50px;" />
|
|
8
|
+
<block style="flex: 1; background: var(--warning); min-width: 50px;" />
|
|
7
9
|
</layout>
|
|
8
10
|
<layout align-v="center" gutter="10">
|
|
9
11
|
<label>gutter:</label>
|
|
10
12
|
<select v-model="gutter" :data="[0, 10, 12, 30, 31, 50]" style="flex: 1;"></select>
|
|
11
13
|
<layout>direction:</layout>
|
|
12
14
|
<select v-model="direction" :data="['h', 'v']" style="flex: 1;"></select>
|
|
15
|
+
<button @click="wrap = !wrap">{{wrap ? '' : '!'}}wrap</button>
|
|
13
16
|
</layout>
|
|
14
17
|
</layout>
|
|
15
18
|
</form>
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
<form width="600" height="500" title="Nav">
|
|
2
2
|
<nav v-model="name" default="Action1" v-model:show="isShow" :logo="logo" @layer="layer = $event" @qs="qs = $event" :hash="hash" style="flex: 1; width: 0;">
|
|
3
|
+
<template v-if="slogo" v-slot:slogo>
|
|
4
|
+
<layout align-h="right" align-v="center" style="flex: 1;">
|
|
5
|
+
<block style="padding: 5px; border-radius: 3px; background: hsl(220, 20%, 15%); color: #FFF; transform: skew(-7deg);">BYTERUN</block>
|
|
6
|
+
</layout>
|
|
7
|
+
</template>
|
|
3
8
|
<nav-item label="Title1">
|
|
4
9
|
<nav-title>group1</nav-title>
|
|
5
10
|
<nav-item label="Sub1">
|
|
@@ -86,6 +91,7 @@
|
|
|
86
91
|
<button @click="name = 'hasname'">Select "hasname"</button>
|
|
87
92
|
<button @click="name = 'root6?id=8'">Select "root6?id=8"</button>
|
|
88
93
|
<button @click="logo = logo ? '' : '/clickgo/icon.png'">{{logo ? 'Remove' : 'Set'}} logo</button>
|
|
94
|
+
<button @click="slogo = !slogo">{{slogo ? 'Remove' : 'Set'}} slogo</button>
|
|
89
95
|
<layout gutter="10">
|
|
90
96
|
<button @click="hash = !hash" style="flex: 1;">{{hash ? '' : '!'}}hash</button>
|
|
91
97
|
<button v-if="hash" @click="formHashBack" style="flex: 1;">hashBack</button>
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
26
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
27
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
28
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
29
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
30
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
31
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
32
|
+
});
|
|
33
|
+
};
|
|
34
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
35
|
+
const clickgo = __importStar(require("clickgo"));
|
|
36
|
+
class default_1 extends clickgo.form.AbstractForm {
|
|
37
|
+
constructor() {
|
|
38
|
+
super(...arguments);
|
|
39
|
+
this.access = {
|
|
40
|
+
'pdf': undefined
|
|
41
|
+
};
|
|
42
|
+
this.src = '';
|
|
43
|
+
this.page = '1';
|
|
44
|
+
}
|
|
45
|
+
onLoaded(pdf) {
|
|
46
|
+
this.access.pdf = pdf;
|
|
47
|
+
}
|
|
48
|
+
onView(e) {
|
|
49
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
50
|
+
yield clickgo.form.dialog(JSON.stringify(e.detail));
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
load() {
|
|
54
|
+
this.src = '/package/form/control/pdf/test.pdf';
|
|
55
|
+
}
|
|
56
|
+
select() {
|
|
57
|
+
this.refs.file.select();
|
|
58
|
+
}
|
|
59
|
+
change(files) {
|
|
60
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
61
|
+
if (!files) {
|
|
62
|
+
return;
|
|
63
|
+
}
|
|
64
|
+
yield this.refs.pdf.load(files[0]);
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
exports.default = default_1;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<form title="Pdf" width="500" height="400" min-width="300" min-height="400" padding="10">
|
|
2
|
+
<layout gutter="10" direction="v" style="flex: 1; width: 0;">
|
|
3
|
+
<pdf :src="src" @loaded="onLoaded" @view="onView" ref="pdf" :page="page" style="flex: 1; height: 0;" />
|
|
4
|
+
<layout gutter="10" align-v="center">
|
|
5
|
+
<button @click="load" style="flex: 1;">Load pdf</button>
|
|
6
|
+
<button @click="select" style="flex: 1;">Select</button>
|
|
7
|
+
<label>page:</label>
|
|
8
|
+
<text v-model="page" style="flex: 1;" />
|
|
9
|
+
<file ref="file" @change="change" :accept="['pdf']"></file>
|
|
10
|
+
</layout>
|
|
11
|
+
</layout>
|
|
12
|
+
</form>
|
|
Binary file
|
|
@@ -41,12 +41,11 @@ class default_1 extends clickgo.form.AbstractForm {
|
|
|
41
41
|
this.v3 = 60;
|
|
42
42
|
}
|
|
43
43
|
onMounted() {
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
}));
|
|
44
|
+
clickgo.tool.sleep(500).then(() => __awaiter(this, void 0, void 0, function* () {
|
|
45
|
+
this.v2 = 40;
|
|
46
|
+
yield clickgo.tool.sleep(500);
|
|
47
|
+
this.v2 = 70;
|
|
48
|
+
})).catch(() => {
|
|
50
49
|
});
|
|
51
50
|
}
|
|
52
51
|
}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
<arrow v-if="bottom" v-model="d.row.bottom"></arrow>
|
|
8
8
|
<check v-model="d.row.check" @changed="refreshCheckinfo">{{d.index}}</check>
|
|
9
9
|
</table-item>
|
|
10
|
-
<table-item label="name" minWidth="
|
|
10
|
+
<table-item label="name" minWidth="150">{{d.row.name ?? 'name'}}</table-item>
|
|
11
11
|
<table-item label="size" width="80" align-v="center" align-h="center">{{d.row.type ?? '0'}}</table-item>
|
|
12
12
|
<table-item label="col" width="150" direction="v" gutter="5" sort="false">
|
|
13
13
|
<label>line1</label>
|
|
@@ -35,16 +35,20 @@
|
|
|
35
35
|
<desc-head>HEAD2</desc-head>
|
|
36
36
|
<desc-head>HEAD3</desc-head>
|
|
37
37
|
<desc-head>HEAD4</desc-head>
|
|
38
|
+
<desc-head>HEAD8</desc-head>
|
|
39
|
+
<desc-head>HEAD9</desc-head>
|
|
38
40
|
</desc-row>
|
|
39
41
|
<desc-row>
|
|
40
42
|
<desc-head>HEAD5</desc-head>
|
|
41
43
|
<desc-cell>CELL1</desc-cell>
|
|
42
44
|
<desc-head>HEAD6</desc-head>
|
|
43
45
|
<desc-cell>CELL2</desc-cell>
|
|
46
|
+
<desc-head>HEAD10</desc-head>
|
|
47
|
+
<desc-cell>CELL3</desc-cell>
|
|
44
48
|
</desc-row>
|
|
45
49
|
<desc-row>
|
|
46
50
|
<desc-head>HEAD7</desc-head>
|
|
47
|
-
<desc-cell colspan="
|
|
51
|
+
<desc-cell colspan="5">CELL1</desc-cell>
|
|
48
52
|
</desc-row>
|
|
49
53
|
</desc>
|
|
50
54
|
<table v-else :data="[{'name':'a','size':'12'},{'name':'b','size':'14'}]" style="flex: 1;">
|
|
@@ -94,6 +94,7 @@ const tuiviewer_1 = __importDefault(require("./control/tuiviewer/tuiviewer"));
|
|
|
94
94
|
const arteditor_1 = __importDefault(require("./control/arteditor/arteditor"));
|
|
95
95
|
const content_1 = __importDefault(require("./control/content/content"));
|
|
96
96
|
const delete_1 = __importDefault(require("./control/delete/delete"));
|
|
97
|
+
const pdf_1 = __importDefault(require("./control/pdf/pdf"));
|
|
97
98
|
const form_2 = __importDefault(require("./event/form/form"));
|
|
98
99
|
const other_1 = __importDefault(require("./event/other/other"));
|
|
99
100
|
const screen_1 = __importDefault(require("./event/screen/screen"));
|
|
@@ -387,6 +388,10 @@ class default_1 extends clickgo.form.AbstractForm {
|
|
|
387
388
|
frm = yield clickgo.form.create(delete_1.default);
|
|
388
389
|
break;
|
|
389
390
|
}
|
|
391
|
+
case 'cpdf': {
|
|
392
|
+
frm = yield clickgo.form.create(pdf_1.default);
|
|
393
|
+
break;
|
|
394
|
+
}
|
|
390
395
|
case 'eform': {
|
|
391
396
|
frm = yield clickgo.form.create(form_2.default);
|
|
392
397
|
break;
|
|
@@ -100,6 +100,7 @@
|
|
|
100
100
|
<layout gutter="10">
|
|
101
101
|
<button @click="openForm('cmonaco')">Monaco</button>
|
|
102
102
|
<button @click="openForm('cxterm')">Xterm</button>
|
|
103
|
+
<button @click="openForm('cpdf')">Pdf</button>
|
|
103
104
|
</layout>
|
|
104
105
|
<layout gutter="10">
|
|
105
106
|
<button @click="openForm('cecharts')">Echarts</button>
|
|
@@ -155,10 +155,20 @@ class default_1 extends clickgo.form.AbstractForm {
|
|
|
155
155
|
clickgo.form.notifyProgress(nid, 30);
|
|
156
156
|
yield clickgo.tool.sleep(300);
|
|
157
157
|
clickgo.form.notifyProgress(nid, 50);
|
|
158
|
+
clickgo.form.notifyContent(nid, {
|
|
159
|
+
'content': 'loading... (3/4)'
|
|
160
|
+
});
|
|
158
161
|
yield clickgo.tool.sleep(700);
|
|
159
162
|
clickgo.form.notifyProgress(nid, 75);
|
|
163
|
+
clickgo.form.notifyContent(nid, {
|
|
164
|
+
'content': 'loading... (4/4)'
|
|
165
|
+
});
|
|
160
166
|
yield clickgo.tool.sleep(1000);
|
|
161
167
|
clickgo.form.notifyProgress(nid, 100);
|
|
168
|
+
clickgo.form.notifyContent(nid, {
|
|
169
|
+
'title': 'Done',
|
|
170
|
+
'content': 'loaded'
|
|
171
|
+
});
|
|
162
172
|
}
|
|
163
173
|
});
|
|
164
174
|
}
|
package/dist/clickgo.js
CHANGED
package/dist/clickgo.ts
CHANGED
|
Binary file
|
package/dist/control/box.cgc
CHANGED
|
Binary file
|
package/dist/control/common.cgc
CHANGED
|
Binary file
|
package/dist/control/desc.cgc
CHANGED
|
Binary file
|
package/dist/control/drawer.cgc
CHANGED
|
Binary file
|
package/dist/control/echarts.cgc
CHANGED
|
Binary file
|
package/dist/control/form.cgc
CHANGED
|
Binary file
|
|
Binary file
|
package/dist/control/jodit.cgc
CHANGED
|
Binary file
|
package/dist/control/map.cgc
CHANGED
|
Binary file
|
package/dist/control/monaco.cgc
CHANGED
|
Binary file
|
package/dist/control/nav.cgc
CHANGED
|
Binary file
|
package/dist/control/page.cgc
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/control/table.cgc
CHANGED
|
Binary file
|
package/dist/control/task.cgc
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/control/xterm.cgc
CHANGED
|
Binary file
|
package/dist/lib/core.js
CHANGED
|
@@ -250,7 +250,7 @@ const modules = {
|
|
|
250
250
|
return __awaiter(this, void 0, void 0, function* () {
|
|
251
251
|
yield loader.loadScript(loader.cdn + '/npm/echarts@5.4.2/dist/echarts.min.js');
|
|
252
252
|
if (!window.echarts) {
|
|
253
|
-
throw Error('
|
|
253
|
+
throw Error('Echarts load failed.');
|
|
254
254
|
}
|
|
255
255
|
return window.echarts;
|
|
256
256
|
});
|
|
@@ -323,6 +323,25 @@ const modules = {
|
|
|
323
323
|
'obj': null,
|
|
324
324
|
'loading': false,
|
|
325
325
|
'resolve': []
|
|
326
|
+
},
|
|
327
|
+
'pdfjs': {
|
|
328
|
+
func: function () {
|
|
329
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
330
|
+
yield loader.loadScripts([
|
|
331
|
+
loader.cdn + '/npm/pdfjs-dist@4.7.76/build/pdf.min.mjs'
|
|
332
|
+
], {
|
|
333
|
+
'module': true
|
|
334
|
+
});
|
|
335
|
+
if (!window.pdfjsLib) {
|
|
336
|
+
throw Error('pdf.js load failed.');
|
|
337
|
+
}
|
|
338
|
+
window.pdfjsLib.GlobalWorkerOptions.workerSrc = loader.cdn + '/npm/pdfjs-dist@4.7.76/build/pdf.worker.min.mjs';
|
|
339
|
+
return window.pdfjsLib;
|
|
340
|
+
});
|
|
341
|
+
},
|
|
342
|
+
'obj': null,
|
|
343
|
+
'loading': false,
|
|
344
|
+
'resolve': []
|
|
326
345
|
}
|
|
327
346
|
};
|
|
328
347
|
function regModule(name, func) {
|
package/dist/lib/core.ts
CHANGED
|
@@ -309,7 +309,7 @@ const modules: Record<string, {
|
|
|
309
309
|
func: async function() {
|
|
310
310
|
await loader.loadScript(loader.cdn + '/npm/echarts@5.4.2/dist/echarts.min.js');
|
|
311
311
|
if (!(window as any).echarts) {
|
|
312
|
-
throw Error('
|
|
312
|
+
throw Error('Echarts load failed.');
|
|
313
313
|
}
|
|
314
314
|
return (window as any).echarts;
|
|
315
315
|
},
|
|
@@ -375,6 +375,23 @@ const modules: Record<string, {
|
|
|
375
375
|
'obj': null,
|
|
376
376
|
'loading': false,
|
|
377
377
|
'resolve': []
|
|
378
|
+
},
|
|
379
|
+
'pdfjs': {
|
|
380
|
+
func: async function() {
|
|
381
|
+
await loader.loadScripts([
|
|
382
|
+
loader.cdn + '/npm/pdfjs-dist@4.7.76/build/pdf.min.mjs'
|
|
383
|
+
], {
|
|
384
|
+
'module': true
|
|
385
|
+
});
|
|
386
|
+
if (!(window as any).pdfjsLib) {
|
|
387
|
+
throw Error('pdf.js load failed.');
|
|
388
|
+
}
|
|
389
|
+
(window as any).pdfjsLib.GlobalWorkerOptions.workerSrc = loader.cdn + '/npm/pdfjs-dist@4.7.76/build/pdf.worker.min.mjs';
|
|
390
|
+
return (window as any).pdfjsLib;
|
|
391
|
+
},
|
|
392
|
+
'obj': null,
|
|
393
|
+
'loading': false,
|
|
394
|
+
'resolve': []
|
|
378
395
|
}
|
|
379
396
|
};
|
|
380
397
|
|
package/dist/lib/form.js
CHANGED
|
@@ -64,6 +64,7 @@ exports.hideDrag = hideDrag;
|
|
|
64
64
|
exports.alert = alert;
|
|
65
65
|
exports.notify = notify;
|
|
66
66
|
exports.notifyProgress = notifyProgress;
|
|
67
|
+
exports.notifyContent = notifyContent;
|
|
67
68
|
exports.hideNotify = hideNotify;
|
|
68
69
|
exports.appendToPop = appendToPop;
|
|
69
70
|
exports.removeFromPop = removeFromPop;
|
|
@@ -1551,9 +1552,13 @@ function notify(opt) {
|
|
|
1551
1552
|
var _a;
|
|
1552
1553
|
const nid = ++notifyId;
|
|
1553
1554
|
let timeout = 5000;
|
|
1555
|
+
const maxTimeout = 60000 * 10;
|
|
1554
1556
|
if (opt.timeout !== undefined) {
|
|
1555
|
-
if (opt.timeout <= 0
|
|
1556
|
-
timeout =
|
|
1557
|
+
if (opt.timeout <= 0) {
|
|
1558
|
+
timeout = 5000;
|
|
1559
|
+
}
|
|
1560
|
+
else if (opt.timeout > maxTimeout) {
|
|
1561
|
+
timeout = maxTimeout;
|
|
1557
1562
|
}
|
|
1558
1563
|
else {
|
|
1559
1564
|
timeout = opt.timeout;
|
|
@@ -1623,6 +1628,26 @@ function notifyProgress(notifyId, per) {
|
|
|
1623
1628
|
}
|
|
1624
1629
|
progress.style.width = (per < 1 ? per * 100 : per).toString() + '%';
|
|
1625
1630
|
}
|
|
1631
|
+
function notifyContent(notifyId, opt) {
|
|
1632
|
+
const el = exports.elements.notify.querySelector(`[data-notifyid="${notifyId}"]`);
|
|
1633
|
+
if (!el) {
|
|
1634
|
+
return;
|
|
1635
|
+
}
|
|
1636
|
+
if (opt.title) {
|
|
1637
|
+
const title = el.querySelector('.cg-notify-title');
|
|
1638
|
+
if (!title) {
|
|
1639
|
+
return;
|
|
1640
|
+
}
|
|
1641
|
+
title.innerHTML = tool.escapeHTML(opt.title);
|
|
1642
|
+
}
|
|
1643
|
+
if (opt.content) {
|
|
1644
|
+
const content = el.querySelector('.cg-notify-content');
|
|
1645
|
+
if (!content) {
|
|
1646
|
+
return;
|
|
1647
|
+
}
|
|
1648
|
+
content.innerHTML = tool.escapeHTML(opt.content);
|
|
1649
|
+
}
|
|
1650
|
+
}
|
|
1626
1651
|
function hideNotify(notifyId) {
|
|
1627
1652
|
const el = exports.elements.notify.querySelector(`[data-notifyid="${notifyId}"]`);
|
|
1628
1653
|
if (!el) {
|
package/dist/lib/form.ts
CHANGED
|
@@ -2033,16 +2033,21 @@ let notifyBottom: number = -10;
|
|
|
2033
2033
|
let notifyId: number = 0;
|
|
2034
2034
|
/**
|
|
2035
2035
|
* --- 弹出右上角信息框 ---
|
|
2036
|
-
* @param opt timeout 默认 5 秒,最大
|
|
2036
|
+
* @param opt timeout 默认 5 秒,最大 10 分钟
|
|
2037
2037
|
*/
|
|
2038
2038
|
export function notify(opt: types.INotifyOptions): number {
|
|
2039
2039
|
// --- 申请 nid ---
|
|
2040
2040
|
const nid = ++notifyId;
|
|
2041
2041
|
// --- 设置 timeout ---
|
|
2042
2042
|
let timeout = 5_000;
|
|
2043
|
+
/** --- 限定的最大 maxTimeout --- */
|
|
2044
|
+
const maxTimeout = 60_000 * 10;
|
|
2043
2045
|
if (opt.timeout !== undefined) {
|
|
2044
|
-
if (opt.timeout <= 0
|
|
2045
|
-
timeout =
|
|
2046
|
+
if (opt.timeout <= 0) {
|
|
2047
|
+
timeout = 5_000;
|
|
2048
|
+
}
|
|
2049
|
+
else if (opt.timeout > maxTimeout) {
|
|
2050
|
+
timeout = maxTimeout;
|
|
2046
2051
|
}
|
|
2047
2052
|
else {
|
|
2048
2053
|
timeout = opt.timeout;
|
|
@@ -2121,6 +2126,32 @@ export function notifyProgress(notifyId: number, per: number): void {
|
|
|
2121
2126
|
progress.style.width = (per < 1 ? per * 100 : per).toString() + '%';
|
|
2122
2127
|
}
|
|
2123
2128
|
|
|
2129
|
+
/**
|
|
2130
|
+
* --- 修改 notify 的提示信息 ---
|
|
2131
|
+
* @param notifyId notify id
|
|
2132
|
+
* @param opt 参数
|
|
2133
|
+
*/
|
|
2134
|
+
export function notifyContent(notifyId: number, opt: types.INotifyContentOptions): void {
|
|
2135
|
+
const el: HTMLElement = elements.notify.querySelector(`[data-notifyid="${notifyId}"]`)!;
|
|
2136
|
+
if (!el) {
|
|
2137
|
+
return;
|
|
2138
|
+
}
|
|
2139
|
+
if (opt.title) {
|
|
2140
|
+
const title: HTMLElement = el.querySelector('.cg-notify-title')!;
|
|
2141
|
+
if (!title) {
|
|
2142
|
+
return;
|
|
2143
|
+
}
|
|
2144
|
+
title.innerHTML = tool.escapeHTML(opt.title);
|
|
2145
|
+
}
|
|
2146
|
+
if (opt.content) {
|
|
2147
|
+
const content: HTMLElement = el.querySelector('.cg-notify-content')!;
|
|
2148
|
+
if (!content) {
|
|
2149
|
+
return;
|
|
2150
|
+
}
|
|
2151
|
+
content.innerHTML = tool.escapeHTML(opt.content);
|
|
2152
|
+
}
|
|
2153
|
+
}
|
|
2154
|
+
|
|
2124
2155
|
/**
|
|
2125
2156
|
* --- 隐藏 notify ---
|
|
2126
2157
|
* @param notifyId 要隐藏的 notify id
|
package/dist/lib/fs.js
CHANGED
|
@@ -55,7 +55,7 @@ const task = __importStar(require("./task"));
|
|
|
55
55
|
const form = __importStar(require("./form"));
|
|
56
56
|
const core = __importStar(require("./core"));
|
|
57
57
|
const native = __importStar(require("./native"));
|
|
58
|
-
const clickgoFiles = ['/app/', '/app/demo/', '/app/demo/app.js', '/app/demo/config.json', '/app/demo/form/', '/app/demo/form/control/', '/app/demo/form/control/alayout2/', '/app/demo/form/control/alayout2/alayout2.js', '/app/demo/form/control/alayout2/alayout2.xml', '/app/demo/form/control/alert/', '/app/demo/form/control/alert/alert.js', '/app/demo/form/control/alert/alert.xml', '/app/demo/form/control/arteditor/', '/app/demo/form/control/arteditor/arteditor.js', '/app/demo/form/control/arteditor/arteditor.xml', '/app/demo/form/control/arteditor/img.js', '/app/demo/form/control/arteditor/img.xml', '/app/demo/form/control/block/', '/app/demo/form/control/block/block.css', '/app/demo/form/control/block/block.xml', '/app/demo/form/control/box/', '/app/demo/form/control/box/box.js', '/app/demo/form/control/box/box.xml', '/app/demo/form/control/button/', '/app/demo/form/control/button/button.css', '/app/demo/form/control/button/button.js', '/app/demo/form/control/button/button.xml', '/app/demo/form/control/check/', '/app/demo/form/control/check/check.js', '/app/demo/form/control/check/check.xml', '/app/demo/form/control/circle/', '/app/demo/form/control/circle/circle.xml', '/app/demo/form/control/content/', '/app/demo/form/control/content/content.js', '/app/demo/form/control/content/content.xml', '/app/demo/form/control/date/', '/app/demo/form/control/date/date.js', '/app/demo/form/control/date/date.xml', '/app/demo/form/control/datepanel/', '/app/demo/form/control/datepanel/datepanel.js', '/app/demo/form/control/datepanel/datepanel.xml', '/app/demo/form/control/daterange/', '/app/demo/form/control/daterange/daterange.js', '/app/demo/form/control/daterange/daterange.xml', '/app/demo/form/control/delete/', '/app/demo/form/control/delete/delete.js', '/app/demo/form/control/delete/delete.xml', '/app/demo/form/control/desc/', '/app/demo/form/control/desc/desc.js', '/app/demo/form/control/desc/desc.xml', '/app/demo/form/control/dialog/', '/app/demo/form/control/dialog/dialog.js', '/app/demo/form/control/dialog/dialog.xml', '/app/demo/form/control/drawer/', '/app/demo/form/control/drawer/drawer.js', '/app/demo/form/control/drawer/drawer.xml', '/app/demo/form/control/echarts/', '/app/demo/form/control/echarts/echarts.js', '/app/demo/form/control/echarts/echarts.xml', '/app/demo/form/control/empty/', '/app/demo/form/control/empty/empty.js', '/app/demo/form/control/empty/empty.xml', '/app/demo/form/control/file/', '/app/demo/form/control/file/file.js', '/app/demo/form/control/file/file.xml', '/app/demo/form/control/flow/', '/app/demo/form/control/flow/flow.css', '/app/demo/form/control/flow/flow.js', '/app/demo/form/control/flow/flow.xml', '/app/demo/form/control/form/', '/app/demo/form/control/form/form.css', '/app/demo/form/control/form/form.js', '/app/demo/form/control/form/form.xml', '/app/demo/form/control/grid/', '/app/demo/form/control/grid/grid.js', '/app/demo/form/control/grid/grid.xml', '/app/demo/form/control/group/', '/app/demo/form/control/group/group.js', '/app/demo/form/control/group/group.xml', '/app/demo/form/control/hske/', '/app/demo/form/control/hske/hske.js', '/app/demo/form/control/hske/hske.xml', '/app/demo/form/control/html/', '/app/demo/form/control/html/html.js', '/app/demo/form/control/html/html.xml', '/app/demo/form/control/iconview/', '/app/demo/form/control/iconview/iconview.js', '/app/demo/form/control/iconview/iconview.xml', '/app/demo/form/control/img/', '/app/demo/form/control/img/img.xml', '/app/demo/form/control/imgviewer/', '/app/demo/form/control/imgviewer/imgviewer.js', '/app/demo/form/control/imgviewer/imgviewer.xml', '/app/demo/form/control/jodit/', '/app/demo/form/control/jodit/jodit.js', '/app/demo/form/control/jodit/jodit.xml', '/app/demo/form/control/label/', '/app/demo/form/control/label/label.js', '/app/demo/form/control/label/label.xml', '/app/demo/form/control/layout/', '/app/demo/form/control/layout/layout.js', '/app/demo/form/control/layout/layout.xml', '/app/demo/form/control/link/', '/app/demo/form/control/link/link.js', '/app/demo/form/control/link/link.xml', '/app/demo/form/control/list/', '/app/demo/form/control/list/list.css', '/app/demo/form/control/list/list.js', '/app/demo/form/control/list/list.xml', '/app/demo/form/control/loading/', '/app/demo/form/control/loading/loading.xml', '/app/demo/form/control/map/', '/app/demo/form/control/map/map.js', '/app/demo/form/control/map/map.xml', '/app/demo/form/control/marquee/', '/app/demo/form/control/marquee/marquee.js', '/app/demo/form/control/marquee/marquee.xml', '/app/demo/form/control/menu/', '/app/demo/form/control/menu/menu.js', '/app/demo/form/control/menu/menu.xml', '/app/demo/form/control/monaco/', '/app/demo/form/control/monaco/monaco.js', '/app/demo/form/control/monaco/monaco.xml', '/app/demo/form/control/nav/', '/app/demo/form/control/nav/nav.js', '/app/demo/form/control/nav/nav.xml', '/app/demo/form/control/page/', '/app/demo/form/control/page/page.js', '/app/demo/form/control/page/page.xml', '/app/demo/form/control/palette/', '/app/demo/form/control/palette/palette.js', '/app/demo/form/control/palette/palette.xml', '/app/demo/form/control/panel/', '/app/demo/form/control/panel/panel.js', '/app/demo/form/control/panel/panel.xml', '/app/demo/form/control/panel/test1.js', '/app/demo/form/control/panel/test1.xml', '/app/demo/form/control/panel/test2.xml', '/app/demo/form/control/progress/', '/app/demo/form/control/progress/progress.js', '/app/demo/form/control/progress/progress.xml', '/app/demo/form/control/property/', '/app/demo/form/control/property/property.js', '/app/demo/form/control/property/property.xml', '/app/demo/form/control/radio/', '/app/demo/form/control/radio/radio.js', '/app/demo/form/control/radio/radio.xml', '/app/demo/form/control/scroll/', '/app/demo/form/control/scroll/scroll.js', '/app/demo/form/control/scroll/scroll.xml', '/app/demo/form/control/select/', '/app/demo/form/control/select/select.js', '/app/demo/form/control/select/select.xml', '/app/demo/form/control/setting/', '/app/demo/form/control/setting/setting.xml', '/app/demo/form/control/sgroup/', '/app/demo/form/control/sgroup/sgroup.xml', '/app/demo/form/control/step/', '/app/demo/form/control/step/step.js', '/app/demo/form/control/step/step.xml', '/app/demo/form/control/svg/', '/app/demo/form/control/svg/svg.js', '/app/demo/form/control/svg/svg.xml', '/app/demo/form/control/switch/', '/app/demo/form/control/switch/switch.js', '/app/demo/form/control/switch/switch.xml', '/app/demo/form/control/tab/', '/app/demo/form/control/tab/tab.js', '/app/demo/form/control/tab/tab.xml', '/app/demo/form/control/table/', '/app/demo/form/control/table/table.js', '/app/demo/form/control/table/table.xml', '/app/demo/form/control/tag/', '/app/demo/form/control/tag/tag.js', '/app/demo/form/control/tag/tag.xml', '/app/demo/form/control/text/', '/app/demo/form/control/text/text.js', '/app/demo/form/control/text/text.xml', '/app/demo/form/control/timeline/', '/app/demo/form/control/timeline/timeline.js', '/app/demo/form/control/timeline/timeline.xml', '/app/demo/form/control/tip/', '/app/demo/form/control/tip/tip.js', '/app/demo/form/control/tip/tip.xml', '/app/demo/form/control/tuieditor/', '/app/demo/form/control/tuieditor/tuieditor.js', '/app/demo/form/control/tuieditor/tuieditor.xml', '/app/demo/form/control/tuiviewer/', '/app/demo/form/control/tuiviewer/tuiviewer.js', '/app/demo/form/control/tuiviewer/tuiviewer.xml', '/app/demo/form/control/uploader/', '/app/demo/form/control/uploader/uploader.js', '/app/demo/form/control/uploader/uploader.xml', '/app/demo/form/control/vflow/', '/app/demo/form/control/vflow/vflow.css', '/app/demo/form/control/vflow/vflow.js', '/app/demo/form/control/vflow/vflow.xml', '/app/demo/form/control/video/', '/app/demo/form/control/video/video.js', '/app/demo/form/control/video/video.xml', '/app/demo/form/control/xterm/', '/app/demo/form/control/xterm/xterm.js', '/app/demo/form/control/xterm/xterm.xml', '/app/demo/form/event/', '/app/demo/form/event/form/', '/app/demo/form/event/form/form.css', '/app/demo/form/event/form/form.js', '/app/demo/form/event/form/form.xml', '/app/demo/form/event/other/', '/app/demo/form/event/other/other.js', '/app/demo/form/event/other/other.xml', '/app/demo/form/event/screen/', '/app/demo/form/event/screen/screen.js', '/app/demo/form/event/screen/screen.xml', '/app/demo/form/event/task/', '/app/demo/form/event/task/task.js', '/app/demo/form/event/task/task.xml', '/app/demo/form/main.css', '/app/demo/form/main.js', '/app/demo/form/main.xml', '/app/demo/form/method/', '/app/demo/form/method/acontrol/', '/app/demo/form/method/acontrol/acontrol.js', '/app/demo/form/method/acontrol/acontrol.xml', '/app/demo/form/method/aform/', '/app/demo/form/method/aform/aform.js', '/app/demo/form/method/aform/aform.xml', '/app/demo/form/method/aform/sd.js', '/app/demo/form/method/aform/sd.xml', '/app/demo/form/method/core/', '/app/demo/form/method/core/core.js', '/app/demo/form/method/core/core.xml', '/app/demo/form/method/dom/', '/app/demo/form/method/dom/dom.css', '/app/demo/form/method/dom/dom.js', '/app/demo/form/method/dom/dom.xml', '/app/demo/form/method/form/', '/app/demo/form/method/form/form.js', '/app/demo/form/method/form/form.xml', '/app/demo/form/method/form/test.xml', '/app/demo/form/method/fs/', '/app/demo/form/method/fs/fs.js', '/app/demo/form/method/fs/fs.xml', '/app/demo/form/method/fs/text.js', '/app/demo/form/method/fs/text.xml', '/app/demo/form/method/native/', '/app/demo/form/method/native/native.js', '/app/demo/form/method/native/native.xml', '/app/demo/form/method/storage/', '/app/demo/form/method/storage/storage.js', '/app/demo/form/method/storage/storage.xml', '/app/demo/form/method/system/', '/app/demo/form/method/system/system.js', '/app/demo/form/method/system/system.xml', '/app/demo/form/method/task/', '/app/demo/form/method/task/locale1.json', '/app/demo/form/method/task/locale2.json', '/app/demo/form/method/task/task.js', '/app/demo/form/method/task/task.xml', '/app/demo/form/method/theme/', '/app/demo/form/method/theme/theme.js', '/app/demo/form/method/theme/theme.xml', '/app/demo/form/method/tool/', '/app/demo/form/method/tool/tool.js', '/app/demo/form/method/tool/tool.xml', '/app/demo/form/method/zip/', '/app/demo/form/method/zip/zip.js', '/app/demo/form/method/zip/zip.xml', '/app/demo/form/solution/', '/app/demo/form/solution/backpanel/', '/app/demo/form/solution/backpanel/backpanel.js', '/app/demo/form/solution/backpanel/backpanel.xml', '/app/demo/global.css', '/app/demo/res/', '/app/demo/res/custombtn.cgc', '/app/demo/res/icon.svg', '/app/demo/res/img.jpg', '/app/demo/res/marker.svg', '/app/demo/res/r-1.svg', '/app/demo/res/r-2.svg', '/app/demo/res/sql.svg', '/app/demo/res/txt.svg', '/app/demo/res/video.mp4', '/app/demo/res/zip.svg', '/app/task/', '/app/task/app.js', '/app/task/config.json', '/app/task/form/', '/app/task/form/bar/', '/app/task/form/bar/bar.js', '/app/task/form/bar/bar.xml', '/app/task/form/desktop/', '/app/task/form/desktop/desktop.xml', '/app/task/locale/', '/app/task/locale/en.json', '/app/task/locale/ja.json', '/app/task/locale/sc.json', '/app/task/locale/tc.json', '/clickgo.js', '/clickgo.ts', '/control/', '/control/arteditor.cgc', '/control/box.cgc', '/control/common.cgc', '/control/desc.cgc', '/control/drawer.cgc', '/control/echarts.cgc', '/control/form.cgc', '/control/iconview.cgc', '/control/jodit.cgc', '/control/map.cgc', '/control/monaco.cgc', '/control/nav.cgc', '/control/page.cgc', '/control/property.cgc', '/control/table.cgc', '/control/task.cgc', '/control/tuieditor.cgc', '/control/tuiviewer.cgc', '/control/xterm.cgc', '/ext/', '/ext/toastui-editor-all.min.js', '/global.css', '/icon.png', '/index.js', '/index.ts', '/lib/', '/lib/control.js', '/lib/control.ts', '/lib/core.js', '/lib/core.ts', '/lib/dom.js', '/lib/dom.ts', '/lib/form.js', '/lib/form.ts', '/lib/fs.js', '/lib/fs.ts', '/lib/native.js', '/lib/native.ts', '/lib/storage.js', '/lib/storage.ts', '/lib/task.js', '/lib/task.ts', '/lib/theme.js', '/lib/theme.ts', '/lib/tool.js', '/lib/tool.ts', '/lib/zip.js', '/lib/zip.ts', '/theme/', '/theme/blue.cgt', '/theme/byterun.cgt', '/theme/light.cgt'];
|
|
58
|
+
const clickgoFiles = ['/app/', '/app/demo/', '/app/demo/app.js', '/app/demo/config.json', '/app/demo/form/', '/app/demo/form/control/', '/app/demo/form/control/alayout2/', '/app/demo/form/control/alayout2/alayout2.js', '/app/demo/form/control/alayout2/alayout2.xml', '/app/demo/form/control/alert/', '/app/demo/form/control/alert/alert.js', '/app/demo/form/control/alert/alert.xml', '/app/demo/form/control/arteditor/', '/app/demo/form/control/arteditor/arteditor.js', '/app/demo/form/control/arteditor/arteditor.xml', '/app/demo/form/control/arteditor/img.js', '/app/demo/form/control/arteditor/img.xml', '/app/demo/form/control/block/', '/app/demo/form/control/block/block.css', '/app/demo/form/control/block/block.xml', '/app/demo/form/control/box/', '/app/demo/form/control/box/box.js', '/app/demo/form/control/box/box.xml', '/app/demo/form/control/button/', '/app/demo/form/control/button/button.css', '/app/demo/form/control/button/button.js', '/app/demo/form/control/button/button.xml', '/app/demo/form/control/check/', '/app/demo/form/control/check/check.js', '/app/demo/form/control/check/check.xml', '/app/demo/form/control/circle/', '/app/demo/form/control/circle/circle.xml', '/app/demo/form/control/content/', '/app/demo/form/control/content/content.js', '/app/demo/form/control/content/content.xml', '/app/demo/form/control/date/', '/app/demo/form/control/date/date.js', '/app/demo/form/control/date/date.xml', '/app/demo/form/control/datepanel/', '/app/demo/form/control/datepanel/datepanel.js', '/app/demo/form/control/datepanel/datepanel.xml', '/app/demo/form/control/daterange/', '/app/demo/form/control/daterange/daterange.js', '/app/demo/form/control/daterange/daterange.xml', '/app/demo/form/control/delete/', '/app/demo/form/control/delete/delete.js', '/app/demo/form/control/delete/delete.xml', '/app/demo/form/control/desc/', '/app/demo/form/control/desc/desc.js', '/app/demo/form/control/desc/desc.xml', '/app/demo/form/control/dialog/', '/app/demo/form/control/dialog/dialog.js', '/app/demo/form/control/dialog/dialog.xml', '/app/demo/form/control/drawer/', '/app/demo/form/control/drawer/drawer.js', '/app/demo/form/control/drawer/drawer.xml', '/app/demo/form/control/echarts/', '/app/demo/form/control/echarts/echarts.js', '/app/demo/form/control/echarts/echarts.xml', '/app/demo/form/control/empty/', '/app/demo/form/control/empty/empty.js', '/app/demo/form/control/empty/empty.xml', '/app/demo/form/control/file/', '/app/demo/form/control/file/file.js', '/app/demo/form/control/file/file.xml', '/app/demo/form/control/flow/', '/app/demo/form/control/flow/flow.css', '/app/demo/form/control/flow/flow.js', '/app/demo/form/control/flow/flow.xml', '/app/demo/form/control/form/', '/app/demo/form/control/form/form.css', '/app/demo/form/control/form/form.js', '/app/demo/form/control/form/form.xml', '/app/demo/form/control/grid/', '/app/demo/form/control/grid/grid.js', '/app/demo/form/control/grid/grid.xml', '/app/demo/form/control/group/', '/app/demo/form/control/group/group.js', '/app/demo/form/control/group/group.xml', '/app/demo/form/control/hske/', '/app/demo/form/control/hske/hske.js', '/app/demo/form/control/hske/hske.xml', '/app/demo/form/control/html/', '/app/demo/form/control/html/html.js', '/app/demo/form/control/html/html.xml', '/app/demo/form/control/iconview/', '/app/demo/form/control/iconview/iconview.js', '/app/demo/form/control/iconview/iconview.xml', '/app/demo/form/control/img/', '/app/demo/form/control/img/img.xml', '/app/demo/form/control/imgviewer/', '/app/demo/form/control/imgviewer/imgviewer.js', '/app/demo/form/control/imgviewer/imgviewer.xml', '/app/demo/form/control/jodit/', '/app/demo/form/control/jodit/jodit.js', '/app/demo/form/control/jodit/jodit.xml', '/app/demo/form/control/label/', '/app/demo/form/control/label/label.js', '/app/demo/form/control/label/label.xml', '/app/demo/form/control/layout/', '/app/demo/form/control/layout/layout.js', '/app/demo/form/control/layout/layout.xml', '/app/demo/form/control/link/', '/app/demo/form/control/link/link.js', '/app/demo/form/control/link/link.xml', '/app/demo/form/control/list/', '/app/demo/form/control/list/list.css', '/app/demo/form/control/list/list.js', '/app/demo/form/control/list/list.xml', '/app/demo/form/control/loading/', '/app/demo/form/control/loading/loading.xml', '/app/demo/form/control/map/', '/app/demo/form/control/map/map.js', '/app/demo/form/control/map/map.xml', '/app/demo/form/control/marquee/', '/app/demo/form/control/marquee/marquee.js', '/app/demo/form/control/marquee/marquee.xml', '/app/demo/form/control/menu/', '/app/demo/form/control/menu/menu.js', '/app/demo/form/control/menu/menu.xml', '/app/demo/form/control/monaco/', '/app/demo/form/control/monaco/monaco.js', '/app/demo/form/control/monaco/monaco.xml', '/app/demo/form/control/nav/', '/app/demo/form/control/nav/nav.js', '/app/demo/form/control/nav/nav.xml', '/app/demo/form/control/page/', '/app/demo/form/control/page/page.js', '/app/demo/form/control/page/page.xml', '/app/demo/form/control/palette/', '/app/demo/form/control/palette/palette.js', '/app/demo/form/control/palette/palette.xml', '/app/demo/form/control/panel/', '/app/demo/form/control/panel/panel.js', '/app/demo/form/control/panel/panel.xml', '/app/demo/form/control/panel/test1.js', '/app/demo/form/control/panel/test1.xml', '/app/demo/form/control/panel/test2.xml', '/app/demo/form/control/pdf/', '/app/demo/form/control/pdf/pdf.js', '/app/demo/form/control/pdf/pdf.xml', '/app/demo/form/control/pdf/test.pdf', '/app/demo/form/control/progress/', '/app/demo/form/control/progress/progress.js', '/app/demo/form/control/progress/progress.xml', '/app/demo/form/control/property/', '/app/demo/form/control/property/property.js', '/app/demo/form/control/property/property.xml', '/app/demo/form/control/radio/', '/app/demo/form/control/radio/radio.js', '/app/demo/form/control/radio/radio.xml', '/app/demo/form/control/scroll/', '/app/demo/form/control/scroll/scroll.js', '/app/demo/form/control/scroll/scroll.xml', '/app/demo/form/control/select/', '/app/demo/form/control/select/select.js', '/app/demo/form/control/select/select.xml', '/app/demo/form/control/setting/', '/app/demo/form/control/setting/setting.xml', '/app/demo/form/control/sgroup/', '/app/demo/form/control/sgroup/sgroup.xml', '/app/demo/form/control/step/', '/app/demo/form/control/step/step.js', '/app/demo/form/control/step/step.xml', '/app/demo/form/control/svg/', '/app/demo/form/control/svg/svg.js', '/app/demo/form/control/svg/svg.xml', '/app/demo/form/control/switch/', '/app/demo/form/control/switch/switch.js', '/app/demo/form/control/switch/switch.xml', '/app/demo/form/control/tab/', '/app/demo/form/control/tab/tab.js', '/app/demo/form/control/tab/tab.xml', '/app/demo/form/control/table/', '/app/demo/form/control/table/table.js', '/app/demo/form/control/table/table.xml', '/app/demo/form/control/tag/', '/app/demo/form/control/tag/tag.js', '/app/demo/form/control/tag/tag.xml', '/app/demo/form/control/text/', '/app/demo/form/control/text/text.js', '/app/demo/form/control/text/text.xml', '/app/demo/form/control/timeline/', '/app/demo/form/control/timeline/timeline.js', '/app/demo/form/control/timeline/timeline.xml', '/app/demo/form/control/tip/', '/app/demo/form/control/tip/tip.js', '/app/demo/form/control/tip/tip.xml', '/app/demo/form/control/tuieditor/', '/app/demo/form/control/tuieditor/tuieditor.js', '/app/demo/form/control/tuieditor/tuieditor.xml', '/app/demo/form/control/tuiviewer/', '/app/demo/form/control/tuiviewer/tuiviewer.js', '/app/demo/form/control/tuiviewer/tuiviewer.xml', '/app/demo/form/control/uploader/', '/app/demo/form/control/uploader/uploader.js', '/app/demo/form/control/uploader/uploader.xml', '/app/demo/form/control/vflow/', '/app/demo/form/control/vflow/vflow.css', '/app/demo/form/control/vflow/vflow.js', '/app/demo/form/control/vflow/vflow.xml', '/app/demo/form/control/video/', '/app/demo/form/control/video/video.js', '/app/demo/form/control/video/video.xml', '/app/demo/form/control/xterm/', '/app/demo/form/control/xterm/xterm.js', '/app/demo/form/control/xterm/xterm.xml', '/app/demo/form/event/', '/app/demo/form/event/form/', '/app/demo/form/event/form/form.css', '/app/demo/form/event/form/form.js', '/app/demo/form/event/form/form.xml', '/app/demo/form/event/other/', '/app/demo/form/event/other/other.js', '/app/demo/form/event/other/other.xml', '/app/demo/form/event/screen/', '/app/demo/form/event/screen/screen.js', '/app/demo/form/event/screen/screen.xml', '/app/demo/form/event/task/', '/app/demo/form/event/task/task.js', '/app/demo/form/event/task/task.xml', '/app/demo/form/main.css', '/app/demo/form/main.js', '/app/demo/form/main.xml', '/app/demo/form/method/', '/app/demo/form/method/acontrol/', '/app/demo/form/method/acontrol/acontrol.js', '/app/demo/form/method/acontrol/acontrol.xml', '/app/demo/form/method/aform/', '/app/demo/form/method/aform/aform.js', '/app/demo/form/method/aform/aform.xml', '/app/demo/form/method/aform/sd.js', '/app/demo/form/method/aform/sd.xml', '/app/demo/form/method/core/', '/app/demo/form/method/core/core.js', '/app/demo/form/method/core/core.xml', '/app/demo/form/method/dom/', '/app/demo/form/method/dom/dom.css', '/app/demo/form/method/dom/dom.js', '/app/demo/form/method/dom/dom.xml', '/app/demo/form/method/form/', '/app/demo/form/method/form/form.js', '/app/demo/form/method/form/form.xml', '/app/demo/form/method/form/test.xml', '/app/demo/form/method/fs/', '/app/demo/form/method/fs/fs.js', '/app/demo/form/method/fs/fs.xml', '/app/demo/form/method/fs/text.js', '/app/demo/form/method/fs/text.xml', '/app/demo/form/method/native/', '/app/demo/form/method/native/native.js', '/app/demo/form/method/native/native.xml', '/app/demo/form/method/storage/', '/app/demo/form/method/storage/storage.js', '/app/demo/form/method/storage/storage.xml', '/app/demo/form/method/system/', '/app/demo/form/method/system/system.js', '/app/demo/form/method/system/system.xml', '/app/demo/form/method/task/', '/app/demo/form/method/task/locale1.json', '/app/demo/form/method/task/locale2.json', '/app/demo/form/method/task/task.js', '/app/demo/form/method/task/task.xml', '/app/demo/form/method/theme/', '/app/demo/form/method/theme/theme.js', '/app/demo/form/method/theme/theme.xml', '/app/demo/form/method/tool/', '/app/demo/form/method/tool/tool.js', '/app/demo/form/method/tool/tool.xml', '/app/demo/form/method/zip/', '/app/demo/form/method/zip/zip.js', '/app/demo/form/method/zip/zip.xml', '/app/demo/form/solution/', '/app/demo/form/solution/backpanel/', '/app/demo/form/solution/backpanel/backpanel.js', '/app/demo/form/solution/backpanel/backpanel.xml', '/app/demo/global.css', '/app/demo/res/', '/app/demo/res/custombtn.cgc', '/app/demo/res/icon.svg', '/app/demo/res/img.jpg', '/app/demo/res/marker.svg', '/app/demo/res/r-1.svg', '/app/demo/res/r-2.svg', '/app/demo/res/sql.svg', '/app/demo/res/txt.svg', '/app/demo/res/video.mp4', '/app/demo/res/zip.svg', '/app/task/', '/app/task/app.js', '/app/task/config.json', '/app/task/form/', '/app/task/form/bar/', '/app/task/form/bar/bar.js', '/app/task/form/bar/bar.xml', '/app/task/form/desktop/', '/app/task/form/desktop/desktop.xml', '/app/task/locale/', '/app/task/locale/en.json', '/app/task/locale/ja.json', '/app/task/locale/sc.json', '/app/task/locale/tc.json', '/clickgo.js', '/clickgo.ts', '/control/', '/control/arteditor.cgc', '/control/box.cgc', '/control/common.cgc', '/control/desc.cgc', '/control/drawer.cgc', '/control/echarts.cgc', '/control/form.cgc', '/control/iconview.cgc', '/control/jodit.cgc', '/control/map.cgc', '/control/monaco.cgc', '/control/nav.cgc', '/control/page.cgc', '/control/pdf.cgc', '/control/property.cgc', '/control/table.cgc', '/control/task.cgc', '/control/tuieditor.cgc', '/control/tuiviewer.cgc', '/control/xterm.cgc', '/ext/', '/ext/toastui-editor-all.min.js', '/global.css', '/icon.png', '/index.js', '/index.ts', '/lib/', '/lib/control.js', '/lib/control.ts', '/lib/core.js', '/lib/core.ts', '/lib/dom.js', '/lib/dom.ts', '/lib/form.js', '/lib/form.ts', '/lib/fs.js', '/lib/fs.ts', '/lib/native.js', '/lib/native.ts', '/lib/storage.js', '/lib/storage.ts', '/lib/task.js', '/lib/task.ts', '/lib/theme.js', '/lib/theme.ts', '/lib/tool.js', '/lib/tool.ts', '/lib/zip.js', '/lib/zip.ts', '/theme/', '/theme/blue.cgt', '/theme/byterun.cgt', '/theme/light.cgt'];
|
|
59
59
|
const localeData = {
|
|
60
60
|
'en': {
|
|
61
61
|
'apply-unmount': 'Are you sure to unmount the "?" mount point?',
|
package/dist/lib/fs.ts
CHANGED
|
@@ -12,7 +12,7 @@ import * as form from './form';
|
|
|
12
12
|
import * as core from './core';
|
|
13
13
|
import * as native from './native';
|
|
14
14
|
|
|
15
|
-
const clickgoFiles = ['/app/', '/app/demo/', '/app/demo/app.js', '/app/demo/config.json', '/app/demo/form/', '/app/demo/form/control/', '/app/demo/form/control/alayout2/', '/app/demo/form/control/alayout2/alayout2.js', '/app/demo/form/control/alayout2/alayout2.xml', '/app/demo/form/control/alert/', '/app/demo/form/control/alert/alert.js', '/app/demo/form/control/alert/alert.xml', '/app/demo/form/control/arteditor/', '/app/demo/form/control/arteditor/arteditor.js', '/app/demo/form/control/arteditor/arteditor.xml', '/app/demo/form/control/arteditor/img.js', '/app/demo/form/control/arteditor/img.xml', '/app/demo/form/control/block/', '/app/demo/form/control/block/block.css', '/app/demo/form/control/block/block.xml', '/app/demo/form/control/box/', '/app/demo/form/control/box/box.js', '/app/demo/form/control/box/box.xml', '/app/demo/form/control/button/', '/app/demo/form/control/button/button.css', '/app/demo/form/control/button/button.js', '/app/demo/form/control/button/button.xml', '/app/demo/form/control/check/', '/app/demo/form/control/check/check.js', '/app/demo/form/control/check/check.xml', '/app/demo/form/control/circle/', '/app/demo/form/control/circle/circle.xml', '/app/demo/form/control/content/', '/app/demo/form/control/content/content.js', '/app/demo/form/control/content/content.xml', '/app/demo/form/control/date/', '/app/demo/form/control/date/date.js', '/app/demo/form/control/date/date.xml', '/app/demo/form/control/datepanel/', '/app/demo/form/control/datepanel/datepanel.js', '/app/demo/form/control/datepanel/datepanel.xml', '/app/demo/form/control/daterange/', '/app/demo/form/control/daterange/daterange.js', '/app/demo/form/control/daterange/daterange.xml', '/app/demo/form/control/delete/', '/app/demo/form/control/delete/delete.js', '/app/demo/form/control/delete/delete.xml', '/app/demo/form/control/desc/', '/app/demo/form/control/desc/desc.js', '/app/demo/form/control/desc/desc.xml', '/app/demo/form/control/dialog/', '/app/demo/form/control/dialog/dialog.js', '/app/demo/form/control/dialog/dialog.xml', '/app/demo/form/control/drawer/', '/app/demo/form/control/drawer/drawer.js', '/app/demo/form/control/drawer/drawer.xml', '/app/demo/form/control/echarts/', '/app/demo/form/control/echarts/echarts.js', '/app/demo/form/control/echarts/echarts.xml', '/app/demo/form/control/empty/', '/app/demo/form/control/empty/empty.js', '/app/demo/form/control/empty/empty.xml', '/app/demo/form/control/file/', '/app/demo/form/control/file/file.js', '/app/demo/form/control/file/file.xml', '/app/demo/form/control/flow/', '/app/demo/form/control/flow/flow.css', '/app/demo/form/control/flow/flow.js', '/app/demo/form/control/flow/flow.xml', '/app/demo/form/control/form/', '/app/demo/form/control/form/form.css', '/app/demo/form/control/form/form.js', '/app/demo/form/control/form/form.xml', '/app/demo/form/control/grid/', '/app/demo/form/control/grid/grid.js', '/app/demo/form/control/grid/grid.xml', '/app/demo/form/control/group/', '/app/demo/form/control/group/group.js', '/app/demo/form/control/group/group.xml', '/app/demo/form/control/hske/', '/app/demo/form/control/hske/hske.js', '/app/demo/form/control/hske/hske.xml', '/app/demo/form/control/html/', '/app/demo/form/control/html/html.js', '/app/demo/form/control/html/html.xml', '/app/demo/form/control/iconview/', '/app/demo/form/control/iconview/iconview.js', '/app/demo/form/control/iconview/iconview.xml', '/app/demo/form/control/img/', '/app/demo/form/control/img/img.xml', '/app/demo/form/control/imgviewer/', '/app/demo/form/control/imgviewer/imgviewer.js', '/app/demo/form/control/imgviewer/imgviewer.xml', '/app/demo/form/control/jodit/', '/app/demo/form/control/jodit/jodit.js', '/app/demo/form/control/jodit/jodit.xml', '/app/demo/form/control/label/', '/app/demo/form/control/label/label.js', '/app/demo/form/control/label/label.xml', '/app/demo/form/control/layout/', '/app/demo/form/control/layout/layout.js', '/app/demo/form/control/layout/layout.xml', '/app/demo/form/control/link/', '/app/demo/form/control/link/link.js', '/app/demo/form/control/link/link.xml', '/app/demo/form/control/list/', '/app/demo/form/control/list/list.css', '/app/demo/form/control/list/list.js', '/app/demo/form/control/list/list.xml', '/app/demo/form/control/loading/', '/app/demo/form/control/loading/loading.xml', '/app/demo/form/control/map/', '/app/demo/form/control/map/map.js', '/app/demo/form/control/map/map.xml', '/app/demo/form/control/marquee/', '/app/demo/form/control/marquee/marquee.js', '/app/demo/form/control/marquee/marquee.xml', '/app/demo/form/control/menu/', '/app/demo/form/control/menu/menu.js', '/app/demo/form/control/menu/menu.xml', '/app/demo/form/control/monaco/', '/app/demo/form/control/monaco/monaco.js', '/app/demo/form/control/monaco/monaco.xml', '/app/demo/form/control/nav/', '/app/demo/form/control/nav/nav.js', '/app/demo/form/control/nav/nav.xml', '/app/demo/form/control/page/', '/app/demo/form/control/page/page.js', '/app/demo/form/control/page/page.xml', '/app/demo/form/control/palette/', '/app/demo/form/control/palette/palette.js', '/app/demo/form/control/palette/palette.xml', '/app/demo/form/control/panel/', '/app/demo/form/control/panel/panel.js', '/app/demo/form/control/panel/panel.xml', '/app/demo/form/control/panel/test1.js', '/app/demo/form/control/panel/test1.xml', '/app/demo/form/control/panel/test2.xml', '/app/demo/form/control/progress/', '/app/demo/form/control/progress/progress.js', '/app/demo/form/control/progress/progress.xml', '/app/demo/form/control/property/', '/app/demo/form/control/property/property.js', '/app/demo/form/control/property/property.xml', '/app/demo/form/control/radio/', '/app/demo/form/control/radio/radio.js', '/app/demo/form/control/radio/radio.xml', '/app/demo/form/control/scroll/', '/app/demo/form/control/scroll/scroll.js', '/app/demo/form/control/scroll/scroll.xml', '/app/demo/form/control/select/', '/app/demo/form/control/select/select.js', '/app/demo/form/control/select/select.xml', '/app/demo/form/control/setting/', '/app/demo/form/control/setting/setting.xml', '/app/demo/form/control/sgroup/', '/app/demo/form/control/sgroup/sgroup.xml', '/app/demo/form/control/step/', '/app/demo/form/control/step/step.js', '/app/demo/form/control/step/step.xml', '/app/demo/form/control/svg/', '/app/demo/form/control/svg/svg.js', '/app/demo/form/control/svg/svg.xml', '/app/demo/form/control/switch/', '/app/demo/form/control/switch/switch.js', '/app/demo/form/control/switch/switch.xml', '/app/demo/form/control/tab/', '/app/demo/form/control/tab/tab.js', '/app/demo/form/control/tab/tab.xml', '/app/demo/form/control/table/', '/app/demo/form/control/table/table.js', '/app/demo/form/control/table/table.xml', '/app/demo/form/control/tag/', '/app/demo/form/control/tag/tag.js', '/app/demo/form/control/tag/tag.xml', '/app/demo/form/control/text/', '/app/demo/form/control/text/text.js', '/app/demo/form/control/text/text.xml', '/app/demo/form/control/timeline/', '/app/demo/form/control/timeline/timeline.js', '/app/demo/form/control/timeline/timeline.xml', '/app/demo/form/control/tip/', '/app/demo/form/control/tip/tip.js', '/app/demo/form/control/tip/tip.xml', '/app/demo/form/control/tuieditor/', '/app/demo/form/control/tuieditor/tuieditor.js', '/app/demo/form/control/tuieditor/tuieditor.xml', '/app/demo/form/control/tuiviewer/', '/app/demo/form/control/tuiviewer/tuiviewer.js', '/app/demo/form/control/tuiviewer/tuiviewer.xml', '/app/demo/form/control/uploader/', '/app/demo/form/control/uploader/uploader.js', '/app/demo/form/control/uploader/uploader.xml', '/app/demo/form/control/vflow/', '/app/demo/form/control/vflow/vflow.css', '/app/demo/form/control/vflow/vflow.js', '/app/demo/form/control/vflow/vflow.xml', '/app/demo/form/control/video/', '/app/demo/form/control/video/video.js', '/app/demo/form/control/video/video.xml', '/app/demo/form/control/xterm/', '/app/demo/form/control/xterm/xterm.js', '/app/demo/form/control/xterm/xterm.xml', '/app/demo/form/event/', '/app/demo/form/event/form/', '/app/demo/form/event/form/form.css', '/app/demo/form/event/form/form.js', '/app/demo/form/event/form/form.xml', '/app/demo/form/event/other/', '/app/demo/form/event/other/other.js', '/app/demo/form/event/other/other.xml', '/app/demo/form/event/screen/', '/app/demo/form/event/screen/screen.js', '/app/demo/form/event/screen/screen.xml', '/app/demo/form/event/task/', '/app/demo/form/event/task/task.js', '/app/demo/form/event/task/task.xml', '/app/demo/form/main.css', '/app/demo/form/main.js', '/app/demo/form/main.xml', '/app/demo/form/method/', '/app/demo/form/method/acontrol/', '/app/demo/form/method/acontrol/acontrol.js', '/app/demo/form/method/acontrol/acontrol.xml', '/app/demo/form/method/aform/', '/app/demo/form/method/aform/aform.js', '/app/demo/form/method/aform/aform.xml', '/app/demo/form/method/aform/sd.js', '/app/demo/form/method/aform/sd.xml', '/app/demo/form/method/core/', '/app/demo/form/method/core/core.js', '/app/demo/form/method/core/core.xml', '/app/demo/form/method/dom/', '/app/demo/form/method/dom/dom.css', '/app/demo/form/method/dom/dom.js', '/app/demo/form/method/dom/dom.xml', '/app/demo/form/method/form/', '/app/demo/form/method/form/form.js', '/app/demo/form/method/form/form.xml', '/app/demo/form/method/form/test.xml', '/app/demo/form/method/fs/', '/app/demo/form/method/fs/fs.js', '/app/demo/form/method/fs/fs.xml', '/app/demo/form/method/fs/text.js', '/app/demo/form/method/fs/text.xml', '/app/demo/form/method/native/', '/app/demo/form/method/native/native.js', '/app/demo/form/method/native/native.xml', '/app/demo/form/method/storage/', '/app/demo/form/method/storage/storage.js', '/app/demo/form/method/storage/storage.xml', '/app/demo/form/method/system/', '/app/demo/form/method/system/system.js', '/app/demo/form/method/system/system.xml', '/app/demo/form/method/task/', '/app/demo/form/method/task/locale1.json', '/app/demo/form/method/task/locale2.json', '/app/demo/form/method/task/task.js', '/app/demo/form/method/task/task.xml', '/app/demo/form/method/theme/', '/app/demo/form/method/theme/theme.js', '/app/demo/form/method/theme/theme.xml', '/app/demo/form/method/tool/', '/app/demo/form/method/tool/tool.js', '/app/demo/form/method/tool/tool.xml', '/app/demo/form/method/zip/', '/app/demo/form/method/zip/zip.js', '/app/demo/form/method/zip/zip.xml', '/app/demo/form/solution/', '/app/demo/form/solution/backpanel/', '/app/demo/form/solution/backpanel/backpanel.js', '/app/demo/form/solution/backpanel/backpanel.xml', '/app/demo/global.css', '/app/demo/res/', '/app/demo/res/custombtn.cgc', '/app/demo/res/icon.svg', '/app/demo/res/img.jpg', '/app/demo/res/marker.svg', '/app/demo/res/r-1.svg', '/app/demo/res/r-2.svg', '/app/demo/res/sql.svg', '/app/demo/res/txt.svg', '/app/demo/res/video.mp4', '/app/demo/res/zip.svg', '/app/task/', '/app/task/app.js', '/app/task/config.json', '/app/task/form/', '/app/task/form/bar/', '/app/task/form/bar/bar.js', '/app/task/form/bar/bar.xml', '/app/task/form/desktop/', '/app/task/form/desktop/desktop.xml', '/app/task/locale/', '/app/task/locale/en.json', '/app/task/locale/ja.json', '/app/task/locale/sc.json', '/app/task/locale/tc.json', '/clickgo.js', '/clickgo.ts', '/control/', '/control/arteditor.cgc', '/control/box.cgc', '/control/common.cgc', '/control/desc.cgc', '/control/drawer.cgc', '/control/echarts.cgc', '/control/form.cgc', '/control/iconview.cgc', '/control/jodit.cgc', '/control/map.cgc', '/control/monaco.cgc', '/control/nav.cgc', '/control/page.cgc', '/control/property.cgc', '/control/table.cgc', '/control/task.cgc', '/control/tuieditor.cgc', '/control/tuiviewer.cgc', '/control/xterm.cgc', '/ext/', '/ext/toastui-editor-all.min.js', '/global.css', '/icon.png', '/index.js', '/index.ts', '/lib/', '/lib/control.js', '/lib/control.ts', '/lib/core.js', '/lib/core.ts', '/lib/dom.js', '/lib/dom.ts', '/lib/form.js', '/lib/form.ts', '/lib/fs.js', '/lib/fs.ts', '/lib/native.js', '/lib/native.ts', '/lib/storage.js', '/lib/storage.ts', '/lib/task.js', '/lib/task.ts', '/lib/theme.js', '/lib/theme.ts', '/lib/tool.js', '/lib/tool.ts', '/lib/zip.js', '/lib/zip.ts', '/theme/', '/theme/blue.cgt', '/theme/byterun.cgt', '/theme/light.cgt'];
|
|
15
|
+
const clickgoFiles = ['/app/', '/app/demo/', '/app/demo/app.js', '/app/demo/config.json', '/app/demo/form/', '/app/demo/form/control/', '/app/demo/form/control/alayout2/', '/app/demo/form/control/alayout2/alayout2.js', '/app/demo/form/control/alayout2/alayout2.xml', '/app/demo/form/control/alert/', '/app/demo/form/control/alert/alert.js', '/app/demo/form/control/alert/alert.xml', '/app/demo/form/control/arteditor/', '/app/demo/form/control/arteditor/arteditor.js', '/app/demo/form/control/arteditor/arteditor.xml', '/app/demo/form/control/arteditor/img.js', '/app/demo/form/control/arteditor/img.xml', '/app/demo/form/control/block/', '/app/demo/form/control/block/block.css', '/app/demo/form/control/block/block.xml', '/app/demo/form/control/box/', '/app/demo/form/control/box/box.js', '/app/demo/form/control/box/box.xml', '/app/demo/form/control/button/', '/app/demo/form/control/button/button.css', '/app/demo/form/control/button/button.js', '/app/demo/form/control/button/button.xml', '/app/demo/form/control/check/', '/app/demo/form/control/check/check.js', '/app/demo/form/control/check/check.xml', '/app/demo/form/control/circle/', '/app/demo/form/control/circle/circle.xml', '/app/demo/form/control/content/', '/app/demo/form/control/content/content.js', '/app/demo/form/control/content/content.xml', '/app/demo/form/control/date/', '/app/demo/form/control/date/date.js', '/app/demo/form/control/date/date.xml', '/app/demo/form/control/datepanel/', '/app/demo/form/control/datepanel/datepanel.js', '/app/demo/form/control/datepanel/datepanel.xml', '/app/demo/form/control/daterange/', '/app/demo/form/control/daterange/daterange.js', '/app/demo/form/control/daterange/daterange.xml', '/app/demo/form/control/delete/', '/app/demo/form/control/delete/delete.js', '/app/demo/form/control/delete/delete.xml', '/app/demo/form/control/desc/', '/app/demo/form/control/desc/desc.js', '/app/demo/form/control/desc/desc.xml', '/app/demo/form/control/dialog/', '/app/demo/form/control/dialog/dialog.js', '/app/demo/form/control/dialog/dialog.xml', '/app/demo/form/control/drawer/', '/app/demo/form/control/drawer/drawer.js', '/app/demo/form/control/drawer/drawer.xml', '/app/demo/form/control/echarts/', '/app/demo/form/control/echarts/echarts.js', '/app/demo/form/control/echarts/echarts.xml', '/app/demo/form/control/empty/', '/app/demo/form/control/empty/empty.js', '/app/demo/form/control/empty/empty.xml', '/app/demo/form/control/file/', '/app/demo/form/control/file/file.js', '/app/demo/form/control/file/file.xml', '/app/demo/form/control/flow/', '/app/demo/form/control/flow/flow.css', '/app/demo/form/control/flow/flow.js', '/app/demo/form/control/flow/flow.xml', '/app/demo/form/control/form/', '/app/demo/form/control/form/form.css', '/app/demo/form/control/form/form.js', '/app/demo/form/control/form/form.xml', '/app/demo/form/control/grid/', '/app/demo/form/control/grid/grid.js', '/app/demo/form/control/grid/grid.xml', '/app/demo/form/control/group/', '/app/demo/form/control/group/group.js', '/app/demo/form/control/group/group.xml', '/app/demo/form/control/hske/', '/app/demo/form/control/hske/hske.js', '/app/demo/form/control/hske/hske.xml', '/app/demo/form/control/html/', '/app/demo/form/control/html/html.js', '/app/demo/form/control/html/html.xml', '/app/demo/form/control/iconview/', '/app/demo/form/control/iconview/iconview.js', '/app/demo/form/control/iconview/iconview.xml', '/app/demo/form/control/img/', '/app/demo/form/control/img/img.xml', '/app/demo/form/control/imgviewer/', '/app/demo/form/control/imgviewer/imgviewer.js', '/app/demo/form/control/imgviewer/imgviewer.xml', '/app/demo/form/control/jodit/', '/app/demo/form/control/jodit/jodit.js', '/app/demo/form/control/jodit/jodit.xml', '/app/demo/form/control/label/', '/app/demo/form/control/label/label.js', '/app/demo/form/control/label/label.xml', '/app/demo/form/control/layout/', '/app/demo/form/control/layout/layout.js', '/app/demo/form/control/layout/layout.xml', '/app/demo/form/control/link/', '/app/demo/form/control/link/link.js', '/app/demo/form/control/link/link.xml', '/app/demo/form/control/list/', '/app/demo/form/control/list/list.css', '/app/demo/form/control/list/list.js', '/app/demo/form/control/list/list.xml', '/app/demo/form/control/loading/', '/app/demo/form/control/loading/loading.xml', '/app/demo/form/control/map/', '/app/demo/form/control/map/map.js', '/app/demo/form/control/map/map.xml', '/app/demo/form/control/marquee/', '/app/demo/form/control/marquee/marquee.js', '/app/demo/form/control/marquee/marquee.xml', '/app/demo/form/control/menu/', '/app/demo/form/control/menu/menu.js', '/app/demo/form/control/menu/menu.xml', '/app/demo/form/control/monaco/', '/app/demo/form/control/monaco/monaco.js', '/app/demo/form/control/monaco/monaco.xml', '/app/demo/form/control/nav/', '/app/demo/form/control/nav/nav.js', '/app/demo/form/control/nav/nav.xml', '/app/demo/form/control/page/', '/app/demo/form/control/page/page.js', '/app/demo/form/control/page/page.xml', '/app/demo/form/control/palette/', '/app/demo/form/control/palette/palette.js', '/app/demo/form/control/palette/palette.xml', '/app/demo/form/control/panel/', '/app/demo/form/control/panel/panel.js', '/app/demo/form/control/panel/panel.xml', '/app/demo/form/control/panel/test1.js', '/app/demo/form/control/panel/test1.xml', '/app/demo/form/control/panel/test2.xml', '/app/demo/form/control/pdf/', '/app/demo/form/control/pdf/pdf.js', '/app/demo/form/control/pdf/pdf.xml', '/app/demo/form/control/pdf/test.pdf', '/app/demo/form/control/progress/', '/app/demo/form/control/progress/progress.js', '/app/demo/form/control/progress/progress.xml', '/app/demo/form/control/property/', '/app/demo/form/control/property/property.js', '/app/demo/form/control/property/property.xml', '/app/demo/form/control/radio/', '/app/demo/form/control/radio/radio.js', '/app/demo/form/control/radio/radio.xml', '/app/demo/form/control/scroll/', '/app/demo/form/control/scroll/scroll.js', '/app/demo/form/control/scroll/scroll.xml', '/app/demo/form/control/select/', '/app/demo/form/control/select/select.js', '/app/demo/form/control/select/select.xml', '/app/demo/form/control/setting/', '/app/demo/form/control/setting/setting.xml', '/app/demo/form/control/sgroup/', '/app/demo/form/control/sgroup/sgroup.xml', '/app/demo/form/control/step/', '/app/demo/form/control/step/step.js', '/app/demo/form/control/step/step.xml', '/app/demo/form/control/svg/', '/app/demo/form/control/svg/svg.js', '/app/demo/form/control/svg/svg.xml', '/app/demo/form/control/switch/', '/app/demo/form/control/switch/switch.js', '/app/demo/form/control/switch/switch.xml', '/app/demo/form/control/tab/', '/app/demo/form/control/tab/tab.js', '/app/demo/form/control/tab/tab.xml', '/app/demo/form/control/table/', '/app/demo/form/control/table/table.js', '/app/demo/form/control/table/table.xml', '/app/demo/form/control/tag/', '/app/demo/form/control/tag/tag.js', '/app/demo/form/control/tag/tag.xml', '/app/demo/form/control/text/', '/app/demo/form/control/text/text.js', '/app/demo/form/control/text/text.xml', '/app/demo/form/control/timeline/', '/app/demo/form/control/timeline/timeline.js', '/app/demo/form/control/timeline/timeline.xml', '/app/demo/form/control/tip/', '/app/demo/form/control/tip/tip.js', '/app/demo/form/control/tip/tip.xml', '/app/demo/form/control/tuieditor/', '/app/demo/form/control/tuieditor/tuieditor.js', '/app/demo/form/control/tuieditor/tuieditor.xml', '/app/demo/form/control/tuiviewer/', '/app/demo/form/control/tuiviewer/tuiviewer.js', '/app/demo/form/control/tuiviewer/tuiviewer.xml', '/app/demo/form/control/uploader/', '/app/demo/form/control/uploader/uploader.js', '/app/demo/form/control/uploader/uploader.xml', '/app/demo/form/control/vflow/', '/app/demo/form/control/vflow/vflow.css', '/app/demo/form/control/vflow/vflow.js', '/app/demo/form/control/vflow/vflow.xml', '/app/demo/form/control/video/', '/app/demo/form/control/video/video.js', '/app/demo/form/control/video/video.xml', '/app/demo/form/control/xterm/', '/app/demo/form/control/xterm/xterm.js', '/app/demo/form/control/xterm/xterm.xml', '/app/demo/form/event/', '/app/demo/form/event/form/', '/app/demo/form/event/form/form.css', '/app/demo/form/event/form/form.js', '/app/demo/form/event/form/form.xml', '/app/demo/form/event/other/', '/app/demo/form/event/other/other.js', '/app/demo/form/event/other/other.xml', '/app/demo/form/event/screen/', '/app/demo/form/event/screen/screen.js', '/app/demo/form/event/screen/screen.xml', '/app/demo/form/event/task/', '/app/demo/form/event/task/task.js', '/app/demo/form/event/task/task.xml', '/app/demo/form/main.css', '/app/demo/form/main.js', '/app/demo/form/main.xml', '/app/demo/form/method/', '/app/demo/form/method/acontrol/', '/app/demo/form/method/acontrol/acontrol.js', '/app/demo/form/method/acontrol/acontrol.xml', '/app/demo/form/method/aform/', '/app/demo/form/method/aform/aform.js', '/app/demo/form/method/aform/aform.xml', '/app/demo/form/method/aform/sd.js', '/app/demo/form/method/aform/sd.xml', '/app/demo/form/method/core/', '/app/demo/form/method/core/core.js', '/app/demo/form/method/core/core.xml', '/app/demo/form/method/dom/', '/app/demo/form/method/dom/dom.css', '/app/demo/form/method/dom/dom.js', '/app/demo/form/method/dom/dom.xml', '/app/demo/form/method/form/', '/app/demo/form/method/form/form.js', '/app/demo/form/method/form/form.xml', '/app/demo/form/method/form/test.xml', '/app/demo/form/method/fs/', '/app/demo/form/method/fs/fs.js', '/app/demo/form/method/fs/fs.xml', '/app/demo/form/method/fs/text.js', '/app/demo/form/method/fs/text.xml', '/app/demo/form/method/native/', '/app/demo/form/method/native/native.js', '/app/demo/form/method/native/native.xml', '/app/demo/form/method/storage/', '/app/demo/form/method/storage/storage.js', '/app/demo/form/method/storage/storage.xml', '/app/demo/form/method/system/', '/app/demo/form/method/system/system.js', '/app/demo/form/method/system/system.xml', '/app/demo/form/method/task/', '/app/demo/form/method/task/locale1.json', '/app/demo/form/method/task/locale2.json', '/app/demo/form/method/task/task.js', '/app/demo/form/method/task/task.xml', '/app/demo/form/method/theme/', '/app/demo/form/method/theme/theme.js', '/app/demo/form/method/theme/theme.xml', '/app/demo/form/method/tool/', '/app/demo/form/method/tool/tool.js', '/app/demo/form/method/tool/tool.xml', '/app/demo/form/method/zip/', '/app/demo/form/method/zip/zip.js', '/app/demo/form/method/zip/zip.xml', '/app/demo/form/solution/', '/app/demo/form/solution/backpanel/', '/app/demo/form/solution/backpanel/backpanel.js', '/app/demo/form/solution/backpanel/backpanel.xml', '/app/demo/global.css', '/app/demo/res/', '/app/demo/res/custombtn.cgc', '/app/demo/res/icon.svg', '/app/demo/res/img.jpg', '/app/demo/res/marker.svg', '/app/demo/res/r-1.svg', '/app/demo/res/r-2.svg', '/app/demo/res/sql.svg', '/app/demo/res/txt.svg', '/app/demo/res/video.mp4', '/app/demo/res/zip.svg', '/app/task/', '/app/task/app.js', '/app/task/config.json', '/app/task/form/', '/app/task/form/bar/', '/app/task/form/bar/bar.js', '/app/task/form/bar/bar.xml', '/app/task/form/desktop/', '/app/task/form/desktop/desktop.xml', '/app/task/locale/', '/app/task/locale/en.json', '/app/task/locale/ja.json', '/app/task/locale/sc.json', '/app/task/locale/tc.json', '/clickgo.js', '/clickgo.ts', '/control/', '/control/arteditor.cgc', '/control/box.cgc', '/control/common.cgc', '/control/desc.cgc', '/control/drawer.cgc', '/control/echarts.cgc', '/control/form.cgc', '/control/iconview.cgc', '/control/jodit.cgc', '/control/map.cgc', '/control/monaco.cgc', '/control/nav.cgc', '/control/page.cgc', '/control/pdf.cgc', '/control/property.cgc', '/control/table.cgc', '/control/task.cgc', '/control/tuieditor.cgc', '/control/tuiviewer.cgc', '/control/xterm.cgc', '/ext/', '/ext/toastui-editor-all.min.js', '/global.css', '/icon.png', '/index.js', '/index.ts', '/lib/', '/lib/control.js', '/lib/control.ts', '/lib/core.js', '/lib/core.ts', '/lib/dom.js', '/lib/dom.ts', '/lib/form.js', '/lib/form.ts', '/lib/fs.js', '/lib/fs.ts', '/lib/native.js', '/lib/native.ts', '/lib/storage.js', '/lib/storage.ts', '/lib/task.js', '/lib/task.ts', '/lib/theme.js', '/lib/theme.ts', '/lib/tool.js', '/lib/tool.ts', '/lib/zip.js', '/lib/zip.ts', '/theme/', '/theme/blue.cgt', '/theme/byterun.cgt', '/theme/light.cgt'];
|
|
16
16
|
|
|
17
17
|
/** --- fs lib 用到的语言包 --- */
|
|
18
18
|
const localeData: Record<string, {
|
package/dist/lib/storage.js
CHANGED
|
@@ -152,10 +152,10 @@ function remove(key, taskId) {
|
|
|
152
152
|
}
|
|
153
153
|
delete sizeso[key];
|
|
154
154
|
if (Object.keys(sizeso).length) {
|
|
155
|
-
localStorage.
|
|
155
|
+
localStorage.setItem('clickgo-size-' + t.path, JSON.stringify(sizeso));
|
|
156
156
|
}
|
|
157
157
|
else {
|
|
158
|
-
localStorage.
|
|
158
|
+
localStorage.removeItem('clickgo-size-' + t.path);
|
|
159
159
|
}
|
|
160
160
|
localStorage.removeItem('clickgo-item-' + t.path + '-' + key);
|
|
161
161
|
return true;
|
package/dist/lib/storage.ts
CHANGED
|
@@ -153,10 +153,10 @@ export function remove(key: string, taskId?: number): boolean {
|
|
|
153
153
|
}
|
|
154
154
|
delete sizeso[key];
|
|
155
155
|
if (Object.keys(sizeso).length) {
|
|
156
|
-
localStorage.
|
|
156
|
+
localStorage.setItem('clickgo-size-' + t.path, JSON.stringify(sizeso));
|
|
157
157
|
}
|
|
158
158
|
else {
|
|
159
|
-
localStorage.
|
|
159
|
+
localStorage.removeItem('clickgo-size-' + t.path);
|
|
160
160
|
}
|
|
161
161
|
localStorage.removeItem('clickgo-item-' + t.path + '-' + key);
|
|
162
162
|
return true;
|
package/dist/lib/task.js
CHANGED
|
@@ -694,6 +694,9 @@ function run(url_1) {
|
|
|
694
694
|
notifyProgress: function (notifyId, per) {
|
|
695
695
|
form.notifyProgress(notifyId, per);
|
|
696
696
|
},
|
|
697
|
+
notifyContent: function (notifyId, opt) {
|
|
698
|
+
form.notifyContent(notifyId, opt);
|
|
699
|
+
},
|
|
697
700
|
hideNotify: function (notifyId) {
|
|
698
701
|
form.hideNotify(notifyId);
|
|
699
702
|
},
|
package/dist/lib/task.ts
CHANGED
|
@@ -774,6 +774,9 @@ export async function run(url: string | types.IApp, opt: types.ITaskRunOptions =
|
|
|
774
774
|
notifyProgress: function(notifyId: number, per: number): void {
|
|
775
775
|
form.notifyProgress(notifyId, per);
|
|
776
776
|
},
|
|
777
|
+
notifyContent: function(notifyId: number, opt: types.INotifyContentOptions): void {
|
|
778
|
+
form.notifyContent(notifyId, opt);
|
|
779
|
+
},
|
|
777
780
|
hideNotify: function(notifyId: number): void {
|
|
778
781
|
form.hideNotify(notifyId);
|
|
779
782
|
},
|
package/dist/theme/blue.cgt
CHANGED
|
Binary file
|
package/dist/theme/byterun.cgt
CHANGED
|
Binary file
|
package/dist/theme/light.cgt
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "clickgo",
|
|
3
|
-
"version": "3.15.
|
|
3
|
+
"version": "3.15.45",
|
|
4
4
|
"description": "Background interface, software interface, mobile phone APP interface operation library.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"deskrt",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
21
|
"@litert/eslint-plugin-rules": "^0.1.7",
|
|
22
|
-
"@litert/loader": "^3.5.
|
|
22
|
+
"@litert/loader": "^3.5.8",
|
|
23
23
|
"@types/node": "^20.14.11",
|
|
24
24
|
"electron": "^31.2.1",
|
|
25
25
|
"jszip": "^3.10.1",
|
package/types/index.d.ts
CHANGED
|
@@ -605,7 +605,7 @@ export interface IFormDialogOptions {
|
|
|
605
605
|
/** --- 路径基,以 / 结束或文件路径则以文件的基路径为准,可留空 --- */
|
|
606
606
|
'path'?: string;
|
|
607
607
|
|
|
608
|
-
'select'?: (this: AbstractForm & { 'data': Record<string, any>; }, e: IFormDialogSelectEvent, button: string) => void;
|
|
608
|
+
'select'?: (this: AbstractForm & { 'data': Record<string, any>; 'methods': Record<string, (...param: any) => any>; }, e: IFormDialogSelectEvent, button: string) => void;
|
|
609
609
|
|
|
610
610
|
/** --- 当前的 taskId,App 模式下无效 --- */
|
|
611
611
|
'taskId'?: number;
|
|
@@ -681,6 +681,11 @@ export interface INotifyOptions {
|
|
|
681
681
|
'progress'?: boolean;
|
|
682
682
|
}
|
|
683
683
|
|
|
684
|
+
export interface INotifyContentOptions {
|
|
685
|
+
'title'?: string;
|
|
686
|
+
'content'?: string;
|
|
687
|
+
}
|
|
688
|
+
|
|
684
689
|
// --- Custom Event Control ---
|
|
685
690
|
|
|
686
691
|
interface ICustomEvent {
|
|
@@ -921,6 +926,15 @@ export interface IGreatselectAddEvent extends ICustomEvent {
|
|
|
921
926
|
};
|
|
922
927
|
}
|
|
923
928
|
|
|
929
|
+
// --- Pdf Control ---
|
|
930
|
+
|
|
931
|
+
export interface IPdfViewEvent {
|
|
932
|
+
'detail': {
|
|
933
|
+
'width': number;
|
|
934
|
+
'height': number;
|
|
935
|
+
};
|
|
936
|
+
}
|
|
937
|
+
|
|
924
938
|
// --- Iconview Control ---
|
|
925
939
|
|
|
926
940
|
export interface IIconviewItemclickedEvent {
|