clickgo 3.15.4 → 3.15.6

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
@@ -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.7/dist/loader.min.js?path=index&npm={'clickgo':'3.15.4'}"></script>
28
+ <script src="https://cdn.jsdelivr.net/npm/@litert/loader@3.5.7/dist/loader.min.js?path=index&npm={'clickgo':'3.15.6'}"></script>
29
29
  ```
30
30
 
31
31
  **index.js**
@@ -36,7 +36,7 @@ const clickgo = __importStar(require("clickgo"));
36
36
  class default_1 extends clickgo.form.AbstractForm {
37
37
  constructor() {
38
38
  super(...arguments);
39
- this.ntab = '';
39
+ this.ntab = 'ok';
40
40
  this.tabs = ['tab1', {
41
41
  'label': 'haha',
42
42
  'value': 'ok'
package/dist/clickgo.js CHANGED
@@ -24,7 +24,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.zip = exports.tool = exports.theme = exports.task = exports.storage = exports.native = exports.fs = exports.form = exports.dom = exports.core = exports.control = exports.vue = exports.hasFrame = exports.isImmersion = exports.getPlatform = exports.isNative = exports.getVersion = void 0;
27
- const version = '3.15.4';
27
+ const version = '3.15.6';
28
28
  function getVersion() {
29
29
  return version;
30
30
  }
package/dist/clickgo.ts CHANGED
@@ -13,7 +13,7 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- const version = '3.15.4';
16
+ const version = '3.15.6';
17
17
  export function getVersion(): string {
18
18
  return version;
19
19
  }
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
package/dist/index.ts CHANGED
@@ -40,7 +40,7 @@ export function hasFrame(): boolean {
40
40
  export abstract class AbstractBoot {
41
41
 
42
42
  /** --- 当前是否是 debug 模式 --- */
43
- private _debug: boolean = false;
43
+ private readonly _debug: boolean = false;
44
44
 
45
45
  /** --- 判断当前是否是 debug 模式 --- */
46
46
  public isDebug(): boolean {
@@ -145,7 +145,9 @@ export abstract class AbstractBoot {
145
145
  }
146
146
 
147
147
  /** --- 窗体的 formHash 改变事件 --- */
148
- public onFormHashChange(taskId: number, formId: number, value: string, data: Record<string, any>): void | Promise<void>;
148
+ public onFormHashChange(
149
+ taskId: number, formId: number, value: string, data: Record<string, any>
150
+ ): void | Promise<void>;
149
151
  public onFormHashChange(): void {
150
152
  return;
151
153
  }
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clickgo",
3
- "version": "3.15.4",
3
+ "version": "3.15.6",
4
4
  "description": "Background interface, software interface, mobile phone APP interface operation library.",
5
5
  "keywords": [
6
6
  "deskrt",
@@ -20,10 +20,10 @@
20
20
  "devDependencies": {
21
21
  "@litert/eslint-plugin-rules": "^0.1.7",
22
22
  "@litert/loader": "^3.5.7",
23
- "@types/node": "^20.14.6",
24
- "electron": "^31.0.2",
23
+ "@types/node": "^20.14.11",
24
+ "electron": "^31.2.1",
25
25
  "jszip": "^3.10.1",
26
- "terser": "^5.31.1",
27
- "typescript": "^5.4.5"
26
+ "terser": "^5.31.3",
27
+ "typescript": "^5.5.4"
28
28
  }
29
29
  }
package/types/index.d.ts CHANGED
@@ -1099,6 +1099,18 @@ export interface ISwitchChangeEvent extends ICustomEvent {
1099
1099
 
1100
1100
  // --- Tab Control ---
1101
1101
 
1102
+ export interface ITabChangeEvent extends ICustomEvent {
1103
+ 'detail': {
1104
+ 'value': string;
1105
+ };
1106
+ }
1107
+
1108
+ export interface ITabChangedEvent {
1109
+ 'detail': {
1110
+ 'value': string;
1111
+ };
1112
+ }
1113
+
1102
1114
  export interface ITabCloseEvent extends ICustomEvent {
1103
1115
  'detail': {
1104
1116
  'index': number;