clickgo 3.15.5 → 3.15.7

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.5'}"></script>
28
+ <script src="https://cdn.jsdelivr.net/npm/@litert/loader@3.5.7/dist/loader.min.js?path=index&npm={'clickgo':'3.15.7'}"></script>
29
29
  ```
30
30
 
31
31
  **index.js**
@@ -85,6 +85,9 @@ class default_1 extends clickgo.form.AbstractPanel {
85
85
  yield clickgo.form.dialog('cleard.');
86
86
  });
87
87
  }
88
+ jump() {
89
+ this.rootForm.formHash = 'test1?a=1&b=3';
90
+ }
88
91
  onMounted() {
89
92
  this.rootMountData = this.rootForm.mountData;
90
93
  }
@@ -8,6 +8,7 @@
8
8
  <button @click="click">Hi</button>
9
9
  <button @click="sendToRootPanel({'a':1})" style="height: 30px;">sendToRootPanel({'a':1})</button>
10
10
  <button @click="clearQss">clearQs()</button>
11
+ <button @click="jump">Jump</button>
11
12
  <layout>
12
13
  <button size="xl" area="split">
13
14
  Size xl
@@ -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'
@@ -105,5 +105,8 @@ long`;
105
105
  e.detail.change = '000000';
106
106
  }
107
107
  }
108
+ onMinMaxChange(e) {
109
+ console.log('onMinMaxChange', e);
110
+ }
108
111
  }
109
112
  exports.default = default_1;
@@ -2,7 +2,7 @@
2
2
  <layout direction="v" gutter="10" style="padding: 10px; flex: 1; width: 0;">
3
3
  <label>Text Length: {{value.length}}, Selection Start: {{selectionStart}}, Selection End: {{selectionEnd}}, Focus: {{isFocus}}</label>
4
4
  <label>Scroll Left: {{scrollLeft}}, Scroll Top: {{scrollTop}}, Scroll Height: {{scrollHeight}}, Scroll Width: {{scrollWidth}}, Client Height: {{clientHeight}}, Client Width: {{clientWidth}}</label>
5
- <text v-model="value" placeholder="placeholder" :type="type[0]" :gesture="gesture ? ['top', 'bottom'] : []" @gesture="onGesture" :disabled="disabled" :readonly="readonly" :scroll="scroll" :maxlength="maxlength" :wrap="wrap" :max="max" :min="min" :plain="plain" v-model:scroll-left="scrollLeft" v-model:scroll-top="scrollTop" v-model:selection-start="selectionStart" v-model:selection-end="selectionEnd" @clientheight="clientHeight = $event" @clientwidth="clientWidth = $event" @scrollheight="scrollHeight = $event" @scrollwidth="scrollWidth = $event" @focus="isFocus = true" @blur="isFocus = false" @beforechange="onBeforechange" :style="{'flex': (type[0] === 'multi') && (scroll || !wrap) ? '1' : undefined, 'line-height': lineHeight, 'font-size': fontSize + 'px', 'background': background, 'color': background ? '#FFF' : undefined, 'height': (type[0] === 'multi') && (scroll || !wrap) ? '0' : undefined, 'border-width': textBorder}" :class="[phcolor && ('ph-' + phcolor)]">
5
+ <text v-model="value" placeholder="placeholder" :type="type[0]" :gesture="gesture ? ['top', 'bottom'] : []" @gesture="onGesture" :disabled="disabled" :readonly="readonly" :scroll="scroll" :maxlength="maxlength" :wrap="wrap" :max="max" :min="min" :plain="plain" v-model:scroll-left="scrollLeft" v-model:scroll-top="scrollTop" v-model:selection-start="selectionStart" v-model:selection-end="selectionEnd" @clientheight="clientHeight = $event" @clientwidth="clientWidth = $event" @scrollheight="scrollHeight = $event" @scrollwidth="scrollWidth = $event" @focus="isFocus = true" @blur="isFocus = false" @beforechange="onBeforechange" @minmaxchange="onMinMaxChange" :style="{'flex': (type[0] === 'multi') && (scroll || !wrap) ? '1' : undefined, 'line-height': lineHeight, 'font-size': fontSize + 'px', 'background': background, 'color': background ? '#FFF' : undefined, 'height': (type[0] === 'multi') && (scroll || !wrap) ? '0' : undefined, 'border-width': textBorder}" :class="[phcolor && ('ph-' + phcolor)]">
6
6
  <menulist v-if="menu">
7
7
  <menulist-item>Custom</menulist-item>
8
8
  </menulist>
@@ -48,7 +48,7 @@ class default_1 extends clickgo.form.AbstractForm {
48
48
  'test2': '../../control/panel/test2'
49
49
  };
50
50
  }
51
- onFormHashChange(taskId, formId, value, data) {
51
+ onFormHashChange(taskId, formId, value) {
52
52
  if (formId !== this.formId) {
53
53
  return;
54
54
  }
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.5';
27
+ const version = '3.15.7';
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.5';
16
+ const version = '3.15.7';
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
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clickgo",
3
- "version": "3.15.5",
3
+ "version": "3.15.7",
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
@@ -714,6 +714,13 @@ export interface ITextBeforechangeEvent extends ICustomEvent {
714
714
  };
715
715
  }
716
716
 
717
+ export interface ITextMinMaxChangeEvent extends ICustomEvent {
718
+ 'detail': {
719
+ 'before': string;
720
+ 'value': string;
721
+ };
722
+ }
723
+
717
724
  // --- Date Control ---
718
725
 
719
726
  export interface IDateChangedEvent {
@@ -1099,6 +1106,18 @@ export interface ISwitchChangeEvent extends ICustomEvent {
1099
1106
 
1100
1107
  // --- Tab Control ---
1101
1108
 
1109
+ export interface ITabChangeEvent extends ICustomEvent {
1110
+ 'detail': {
1111
+ 'value': string;
1112
+ };
1113
+ }
1114
+
1115
+ export interface ITabChangedEvent {
1116
+ 'detail': {
1117
+ 'value': string;
1118
+ };
1119
+ }
1120
+
1102
1121
  export interface ITabCloseEvent extends ICustomEvent {
1103
1122
  'detail': {
1104
1123
  'index': number;