clickgo 7.7.1 → 7.7.2

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
@@ -20,7 +20,9 @@
20
20
 
21
21
  Build web and native apps using HTML + CSS.
22
22
 
23
- The app compiles into a single `.cga` file, running in the web or natively via [ClickGo Native](https://github.com/maiyun/clickgo-native). Build image editors, database tools, file browsers, or admin dashboards—all with ease.
23
+ Applications can be compiled into a single cga file and run on the web or on the local system via [ClickGo Native](https://github.com/maiyun/clickgo-native). You can build applications such as image editors, database management tools and file browsers, as well as admin panels.
24
+
25
+ > Project statement: This project was first committed to GitHub on November 1, 2016. In 2026, it formally introduced AI-assisted development and adaptations for AI integration, but software engineers still lead, review, verify and test the project; it is not automatically generated by simply telling AI what we want. Non-Chinese content is translated with assistance from Byterun Translator, so the wording may have an AI-like tone.
24
26
 
25
27
  <p align="center">
26
28
  <img src="./doc/pic3.jpg" alt="ClickGo">
@@ -30,7 +32,7 @@ The app compiles into a single `.cga` file, running in the web or natively via [
30
32
 
31
33
  ## Installation
32
34
 
33
- To get started, set the loading path for the ClickGo module, then import your entry file.
35
+ First, set the loading path for the ClickGo module, then import your entry file.
34
36
 
35
37
  **index.html**
36
38
 
@@ -60,7 +62,11 @@ clickgo = {
60
62
 
61
63
  ## Usage
62
64
 
63
- You'll need the [ClickGo Compiler](https://github.com/maiyun/clickgo-compiler) to compile the "app" folder into a .cga file. Then compile the entry file and reference it in the browser.
65
+ Use the [ClickGo Compiler](https://github.com/maiyun/clickgo-compiler) to compile the app folder into a cga file, then compile the entry file and reference it in the browser.
66
+
67
+ For splitting Forms in large applications, see [Local application components and Dock](./doc/sc/local-component.md).
68
+
69
+ Applications can use [shared commands](./doc/sc/commands.md) to connect buttons, menus, shortcuts, command palettes and AI interfaces to the same business execution logic. For the complete command registration, HTTP MCP, stdio and CLI integration workflow for desktop applications, see the [ClickGo Native Simplified Chinese documentation](https://github.com/maiyun/clickgo-native/blob/master/doc/README.sc.md).
64
70
 
65
71
  **index.html**
66
72
 
@@ -82,7 +88,7 @@ clickgo.launcher(new Boot());
82
88
 
83
89
  ### NPM
84
90
 
85
- Use TypeScript? Install via NPM for full IntelliSense support.
91
+ In a TypeScript environment, installing via NPM provides code completion.
86
92
 
87
93
  ```sh
88
94
  $ npm i clickgo --save-dev
@@ -90,180 +96,18 @@ $ npm i jszip --save-dev
90
96
  $ npm i vue --save-dev
91
97
  ```
92
98
 
93
- ## Shared commands and AI integration
94
-
95
- Register business commands once with `clickgo.command.register()` and let buttons, menus, shortcuts and agents use the shared executor. ClickGo publishes the browser JavaScript command interface automatically and can connect available WebMCP. See the [command guide](./doc/sc/commands.md) (Simplified Chinese) for registration and lifecycle details, and the [ClickGo Native integration guide](https://github.com/maiyun/clickgo-native#local-mcp) for the complete App registration, HTTP MCP, stdio and CLI setup.
96
-
97
99
  ## Notes
98
100
 
99
- ClickGo auto-loads Vue, jszip. **Don't** include them manually.
101
+ ClickGo automatically loads the Vue and jszip libraries, so **do not** include their JS or CSS files.
100
102
 
101
103
  ## Demo
102
104
 
103
- Clone and visit "dist/test/index.html".
105
+ Clone the code and visit "dist/test/index.html".
104
106
 
105
- [Click here to visit online.](https://maiyun.github.io/clickgo/dist/test/)
107
+ [Click here to visit online](https://maiyun.github.io/clickgo/dist/test/)
106
108
 
107
109
  ## License
108
110
 
109
- This library is published under [Apache-2.0](./LICENSE) license.
110
-
111
- ## Third-party licenses
112
-
113
- #### Empty
114
-
115
- <a href="https://www.flaticon.com/free-icons/empty" title="empty icons">Empty icons created by Ghozi Muhtarom - Flaticon</a>
116
-
117
- #### Greatlist
118
-
119
- <a href="https://www.flaticon.com/free-icons/empty" title="empty icons">Empty icons created by Ghozi Muhtarom - Flaticon</a>
120
-
121
- #### Img
122
-
123
- <a href="https://www.flaticon.com/free-icons/no-photo" title="no photo icons">No photo icons created by kerismaker - Flaticon</a>
124
-
125
- #### Icon
126
-
127
- <a href="https://www.flaticon.com/free-icons/identity" title="identity icons">Identity icons created by Ghozi Muhtarom - Flaticon</a>
128
- <a href="https://www.flaticon.com/free-icons/truck" title="truck icons">Truck icons created by Freepik - Flaticon</a>
129
-
130
- ### **LICENSE:** MIT License **AUTHOR:** sigurdarson
131
-
132
- #### Delete
133
-
134
- [Close SVG Vector](https://www.svgrepo.com/svg/446990/close)
135
-
136
- #### Tag
137
-
138
- [Close SVG Vector](https://www.svgrepo.com/svg/446990/close)
139
-
140
- #### Date
141
-
142
- [Close SVG Vector](https://www.svgrepo.com/svg/446990/close)
143
-
144
- #### Daterange
145
-
146
- [Close SVG Vector](https://www.svgrepo.com/svg/446990/close)
147
-
148
- #### Drawer
149
-
150
- [Close SVG Vector](https://www.svgrepo.com/svg/446990/close)
151
-
152
- #### Form
153
-
154
- [Minus SVG Vector](https://www.svgrepo.com/svg/447026/minus)
155
- [Copy SVG Vector](https://www.svgrepo.com/svg/446994/copy)
156
- [Border Radius SVG Vector](https://www.svgrepo.com/svg/446973/border-radius)
157
- [Close SVG Vector](https://www.svgrepo.com/svg/446990/close)
158
-
159
- #### Levelselect
160
-
161
- [Key Up SVG Vector](https://www.svgrepo.com/svg/447022/key-up)
162
-
163
- #### Menulist Item
164
-
165
- [Check SVG Vector](https://www.svgrepo.com/svg/446979/check)
166
-
167
- #### Nav
168
-
169
- [Menu SVG Vector](https://www.svgrepo.com/svg/447023/menu)
170
-
171
- #### Page
172
-
173
- [More Horizontal SVG Vector](https://www.svgrepo.com/svg/447028/more-horizontal)
174
-
175
- #### Arteditor
176
-
177
- [Plus SVG Vector](https://www.svgrepo.com/svg/447037/plus)
178
-
179
- #### Video
180
-
181
- [Play SVG Vector](https://www.svgrepo.com/svg/447035/play)
182
- [Pause SVG Vector](https://www.svgrepo.com/svg/447033/pause)
183
- [Border Radius SVG Vector](https://www.svgrepo.com/svg/446973/border-radius)
184
- [Copy SVG Vector](https://www.svgrepo.com/svg/446994/copy)
185
-
186
- #### Mpegts
187
-
188
- [Play SVG Vector](https://www.svgrepo.com/svg/447035/play)
189
- [Pause SVG Vector](https://www.svgrepo.com/svg/447033/pause)
190
- [Border Radius SVG Vector](https://www.svgrepo.com/svg/446973/border-radius)
191
- [Copy SVG Vector](https://www.svgrepo.com/svg/446994/copy)
192
- [Speaker 2 SVG Vector](https://www.svgrepo.com/svg/506329/speaker-2)
193
- [Speaker Cross SVG Vector](https://www.svgrepo.com/show/506328/speaker-cross.svg)
194
-
195
- #### Icon
196
-
197
- [Close SVG Vector](https://www.svgrepo.com/svg/446990/close)
198
-
199
- ### **LICENSE:** MIT License **AUTHOR:** Sanity.io
200
-
201
- ### Icon
202
-
203
- [Drag Handle SVG Vector](https://www.svgrepo.com/svg/459043/drag-handle)
204
-
205
- ### **LICENSE:** MIT License **AUTHOR:** developmentseed
206
-
207
- #### Map
208
-
209
- [Marker SVG Vector](https://www.svgrepo.com/svg/379072/marker)
210
-
211
- ### **LICENSE:** CC Attribution License **AUTHOR:** Solar Icons
212
-
213
- #### Property
214
-
215
- [Siderbar SVG Vector](https://www.svgrepo.com/svg/529875/siderbar)
216
- [Sort By Alphabet SVG Vector](https://www.svgrepo.com/svg/529901/sort-by-alphabet)
217
- [Notification Unread Lines SVG](https://www.svgrepo.com/svg/529113/notification-unread-lines)
218
- [Bolt SVG Vector](https://www.svgrepo.com/svg/528871/bolt)
219
-
220
- #### Icon
221
-
222
- [Question Circle SVG Vector](https://www.svgrepo.com/svg/522997/question-circle)
223
- [Info Circle SVG Vector](https://www.svgrepo.com/svg/522904/info-circle)
224
- [Copy SVG Vector](https://www.svgrepo.com/svg/522803/copy)
225
- [Scissors SVG Vector](https://www.svgrepo.com/svg/523012/scissors)
226
- [Paste SVG Vector](https://www.svgrepo.com/svg/489767/paste)
227
- [Sun 2 SVG Vector](https://www.svgrepo.com/svg/529971/sun-2)
228
- [Moon SVG Vector](https://www.svgrepo.com/svg/529729/moon)
229
- [Cpu Bolt SVG Vector](https://www.svgrepo.com/svg/529532/cpu-bolt)
230
- [Key SVG Vector](https://www.svgrepo.com/svg/529040/key)
231
- [Videocamera Record SVG Vector](https://www.svgrepo.com/svg/525169/videocamera-record)
232
-
233
- ### **LICENSE:** CC Attribution License **AUTHOR:** Dazzle UI
234
-
235
- #### Icon
236
-
237
- [Keyboard SVG Vector](https://www.svgrepo.com/svg/533083/keyboard)
238
- [Eye Slash Alt SVG](https://www.svgrepo.com/svg/532463/eye-slash-alt)
239
- [Eye Alt SVG Vector](https://www.svgrepo.com/svg/532492/eye-alt)
240
- [Refresh Cw SVG Vector](https://www.svgrepo.com/svg/533701/refresh-cw)
241
-
242
- ### **LICENSE:** CC0 License **UPLOADER:** SVG Repo
243
-
244
- #### Iconview
245
-
246
- [Folder SVG Vector](https://www.svgrepo.com/svg/474852/folder)
247
- [File SVG Vector](https://www.svgrepo.com/svg/474842/file)
248
-
249
- ### **LICENSE:** MIT License **AUTHOR:** instructure-ui
250
-
251
- #### Arteditor
252
-
253
- [Bold SVG Vector](https://www.svgrepo.com/svg/501109/bold)
254
- [Italic SVG Vector](https://www.svgrepo.com/svg/501238/italic)
255
-
256
- ### **LICENSE:** MIT License **AUTHOR:** sigurdarson
257
-
258
- #### Icon
259
-
260
- [Plus SVG Vector](https://www.svgrepo.com/svg/447037/plus)
261
- [Trash SVG Vector](https://www.svgrepo.com/svg/447040/trash)
262
-
263
- ### **LICENSE:** CC Attribution License **AUTHOR:** Software Mansion
264
-
265
- [Speaker 2 SVG Vector](https://www.svgrepo.com/svg/506329/speaker-2)
266
-
267
- ### **LICENSE:** PD License **AUTHOR:** owlling
111
+ ClickGo is released under the [Apache-2.0](./LICENSE) license.
268
112
 
269
- [Surveillance O SVG Vector](https://www.svgrepo.com/svg/433802/surveillance-o)
113
+ For third-party licenses and attributions, see [Third-party licenses](./THIRD-PARTY-LICENSES.md).
@@ -0,0 +1,159 @@
1
+ # Third-party licenses
2
+
3
+ #### Empty
4
+
5
+ <a href="https://www.flaticon.com/free-icons/empty" title="empty icons">Empty icons created by Ghozi Muhtarom - Flaticon</a>
6
+
7
+ #### Greatlist
8
+
9
+ <a href="https://www.flaticon.com/free-icons/empty" title="empty icons">Empty icons created by Ghozi Muhtarom - Flaticon</a>
10
+
11
+ #### Img
12
+
13
+ <a href="https://www.flaticon.com/free-icons/no-photo" title="no photo icons">No photo icons created by kerismaker - Flaticon</a>
14
+
15
+ #### Icon
16
+
17
+ <a href="https://www.flaticon.com/free-icons/identity" title="identity icons">Identity icons created by Ghozi Muhtarom - Flaticon</a>
18
+ <a href="https://www.flaticon.com/free-icons/truck" title="truck icons">Truck icons created by Freepik - Flaticon</a>
19
+
20
+ ### **LICENSE:** MIT License **AUTHOR:** sigurdarson
21
+
22
+ #### Delete
23
+
24
+ [Close SVG Vector](https://www.svgrepo.com/svg/446990/close)
25
+
26
+ #### Tag
27
+
28
+ [Close SVG Vector](https://www.svgrepo.com/svg/446990/close)
29
+
30
+ #### Date
31
+
32
+ [Close SVG Vector](https://www.svgrepo.com/svg/446990/close)
33
+
34
+ #### Daterange
35
+
36
+ [Close SVG Vector](https://www.svgrepo.com/svg/446990/close)
37
+
38
+ #### Drawer
39
+
40
+ [Close SVG Vector](https://www.svgrepo.com/svg/446990/close)
41
+
42
+ #### Form
43
+
44
+ [Minus SVG Vector](https://www.svgrepo.com/svg/447026/minus)
45
+ [Copy SVG Vector](https://www.svgrepo.com/svg/446994/copy)
46
+ [Border Radius SVG Vector](https://www.svgrepo.com/svg/446973/border-radius)
47
+ [Close SVG Vector](https://www.svgrepo.com/svg/446990/close)
48
+
49
+ #### Levelselect
50
+
51
+ [Key Up SVG Vector](https://www.svgrepo.com/svg/447022/key-up)
52
+
53
+ #### Menulist Item
54
+
55
+ [Check SVG Vector](https://www.svgrepo.com/svg/446979/check)
56
+
57
+ #### Nav
58
+
59
+ [Menu SVG Vector](https://www.svgrepo.com/svg/447023/menu)
60
+
61
+ #### Page
62
+
63
+ [More Horizontal SVG Vector](https://www.svgrepo.com/svg/447028/more-horizontal)
64
+
65
+ #### Arteditor
66
+
67
+ [Plus SVG Vector](https://www.svgrepo.com/svg/447037/plus)
68
+
69
+ #### Video
70
+
71
+ [Play SVG Vector](https://www.svgrepo.com/svg/447035/play)
72
+ [Pause SVG Vector](https://www.svgrepo.com/svg/447033/pause)
73
+ [Border Radius SVG Vector](https://www.svgrepo.com/svg/446973/border-radius)
74
+ [Copy SVG Vector](https://www.svgrepo.com/svg/446994/copy)
75
+
76
+ #### Mpegts
77
+
78
+ [Play SVG Vector](https://www.svgrepo.com/svg/447035/play)
79
+ [Pause SVG Vector](https://www.svgrepo.com/svg/447033/pause)
80
+ [Border Radius SVG Vector](https://www.svgrepo.com/svg/446973/border-radius)
81
+ [Copy SVG Vector](https://www.svgrepo.com/svg/446994/copy)
82
+ [Speaker 2 SVG Vector](https://www.svgrepo.com/svg/506329/speaker-2)
83
+ [Speaker Cross SVG Vector](https://www.svgrepo.com/show/506328/speaker-cross.svg)
84
+
85
+ #### Icon
86
+
87
+ [Close SVG Vector](https://www.svgrepo.com/svg/446990/close)
88
+
89
+ ### **LICENSE:** MIT License **AUTHOR:** Sanity.io
90
+
91
+ ### Icon
92
+
93
+ [Drag Handle SVG Vector](https://www.svgrepo.com/svg/459043/drag-handle)
94
+
95
+ ### **LICENSE:** MIT License **AUTHOR:** developmentseed
96
+
97
+ #### Map
98
+
99
+ [Marker SVG Vector](https://www.svgrepo.com/svg/379072/marker)
100
+
101
+ ### **LICENSE:** CC Attribution License **AUTHOR:** Solar Icons
102
+
103
+ #### Property
104
+
105
+ [Siderbar SVG Vector](https://www.svgrepo.com/svg/529875/siderbar)
106
+ [Sort By Alphabet SVG Vector](https://www.svgrepo.com/svg/529901/sort-by-alphabet)
107
+ [Notification Unread Lines SVG](https://www.svgrepo.com/svg/529113/notification-unread-lines)
108
+ [Bolt SVG Vector](https://www.svgrepo.com/svg/528871/bolt)
109
+
110
+ #### Icon
111
+
112
+ [Question Circle SVG Vector](https://www.svgrepo.com/svg/522997/question-circle)
113
+ [Info Circle SVG Vector](https://www.svgrepo.com/svg/522904/info-circle)
114
+ [Copy SVG Vector](https://www.svgrepo.com/svg/522803/copy)
115
+ [Scissors SVG Vector](https://www.svgrepo.com/svg/523012/scissors)
116
+ [Paste SVG Vector](https://www.svgrepo.com/svg/489767/paste)
117
+ [Sun 2 SVG Vector](https://www.svgrepo.com/svg/529971/sun-2)
118
+ [Moon SVG Vector](https://www.svgrepo.com/svg/529729/moon)
119
+ [Cpu Bolt SVG Vector](https://www.svgrepo.com/svg/529532/cpu-bolt)
120
+ [Key SVG Vector](https://www.svgrepo.com/svg/529040/key)
121
+ [Videocamera Record SVG Vector](https://www.svgrepo.com/svg/525169/videocamera-record)
122
+
123
+ ### **LICENSE:** CC Attribution License **AUTHOR:** Dazzle UI
124
+
125
+ #### Icon
126
+
127
+ [Keyboard SVG Vector](https://www.svgrepo.com/svg/533083/keyboard)
128
+ [Eye Slash Alt SVG](https://www.svgrepo.com/svg/532463/eye-slash-alt)
129
+ [Eye Alt SVG Vector](https://www.svgrepo.com/svg/532492/eye-alt)
130
+ [Refresh Cw SVG Vector](https://www.svgrepo.com/svg/533701/refresh-cw)
131
+
132
+ ### **LICENSE:** CC0 License **UPLOADER:** SVG Repo
133
+
134
+ #### Iconview
135
+
136
+ [Folder SVG Vector](https://www.svgrepo.com/svg/474852/folder)
137
+ [File SVG Vector](https://www.svgrepo.com/svg/474842/file)
138
+
139
+ ### **LICENSE:** MIT License **AUTHOR:** instructure-ui
140
+
141
+ #### Arteditor
142
+
143
+ [Bold SVG Vector](https://www.svgrepo.com/svg/501109/bold)
144
+ [Italic SVG Vector](https://www.svgrepo.com/svg/501238/italic)
145
+
146
+ ### **LICENSE:** MIT License **AUTHOR:** sigurdarson
147
+
148
+ #### Icon
149
+
150
+ [Plus SVG Vector](https://www.svgrepo.com/svg/447037/plus)
151
+ [Trash SVG Vector](https://www.svgrepo.com/svg/447040/trash)
152
+
153
+ ### **LICENSE:** CC Attribution License **AUTHOR:** Software Mansion
154
+
155
+ [Speaker 2 SVG Vector](https://www.svgrepo.com/svg/506329/speaker-2)
156
+
157
+ ### **LICENSE:** PD License **AUTHOR:** owlling
158
+
159
+ [Surveillance O SVG Vector](https://www.svgrepo.com/svg/433802/surveillance-o)
package/dist/app/demo.cga CHANGED
Binary file
package/dist/app/task.cga CHANGED
Binary file
Binary file
Binary file