clickgo 3.16.1 → 3.16.3

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.8/dist/loader.min.js?path=index&npm={'clickgo':'3.16.1'}"></script>
28
+ <script src="https://cdn.jsdelivr.net/npm/@litert/loader@3.5.8/dist/loader.min.js?path=index&npm={'clickgo':'3.16.3'}"></script>
29
29
  ```
30
30
 
31
31
  **index.js**
@@ -51,6 +51,7 @@ class default_1 extends clickgo.form.AbstractForm {
51
51
  this.type = ['default'];
52
52
  this.area = ['all'];
53
53
  this.plain = ['not'];
54
+ this.sizeh = false;
54
55
  }
55
56
  dialog(text) {
56
57
  return __awaiter(this, void 0, void 0, function* () {
@@ -111,8 +111,8 @@
111
111
  </layout>
112
112
  <label>Other:</label>
113
113
  <layout gutter="10" align-v="center">
114
- <button size="xl">Size xl</button>
115
- <button size="l" area="split">
114
+ <button size="xl" :sizeh="sizeh">Size xl</button>
115
+ <button size="l" area="split" :sizeh="sizeh">
116
116
  Size l with pop
117
117
  <template v-slot:pop>
118
118
  <menulist>
@@ -120,6 +120,7 @@
120
120
  </menulist>
121
121
  </template>
122
122
  </button>
123
+ <button @click="sizeh = !sizeh">{{sizeh ? '' : '!'}}sizeh</button>
123
124
  </layout>
124
125
  <label>Bgroup:</label>
125
126
  <bgroup plain>
@@ -41,6 +41,7 @@ class default_1 extends clickgo.form.AbstractForm {
41
41
  this.buttons = ['OK'];
42
42
  this.btn = 'none';
43
43
  this.width = false;
44
+ this.padding = true;
44
45
  }
45
46
  }
46
47
  exports.default = default_1;
@@ -2,7 +2,7 @@
2
2
  <layout direction="v" gutter="10" style="flex: 1; width: 0;">
3
3
  <layout align-h="center" align-v="center" style="flex: 1;">
4
4
  <form title="Title" :min="false" :max="false" :resize="false" width="auto" height="auto" direction="v">
5
- <dialog @select="btn = $event" :buttons="buttons" :direction="message === 'lines' ? 'v' : 'h'" :width="width ? 300 : undefined" :height="width ? 300 : undefined">
5
+ <dialog @select="btn = $event" :buttons="buttons" :direction="message === 'lines' ? 'v' : 'h'" :width="width ? 300 : undefined" :height="width ? 300 : undefined" :padding="padding">
6
6
  <template v-if="message === 'message'">Message</template>
7
7
  <template v-else-if="message === 'buttons'"><button style="flex: 1;">Button1</button><button style="margin-left: 10px; flex: 1;">Button2</button></template>
8
8
  <template v-else-if="message === 'lines'"><block v-for="i of 5">Line {{i}}.</block></template>
@@ -19,11 +19,14 @@
19
19
  <button style="flex: 1;" @click="message = 'message'">Message</button>
20
20
  <button style="flex: 1;" @click="message = 'long'">Long</button>
21
21
  <button style="flex: 1;" @click="message = 'buttons'">Two buttons</button>
22
+ </layout>
23
+ <layout gutter="10">
24
+ <button style="flex: 1;" @click="padding = !padding">padding</button>
22
25
  <button style="flex: 1;" @click="message = 'lines'">Multiple lines</button>
26
+ <button @click="width = !width">{{width ? '' : '!'}}w/h300</button>
23
27
  </layout>
24
28
  <layout gutter="10" align-v="center">
25
29
  <label style="flex: 1;">You click: {{btn}}.</label>
26
- <button @click="width = !width">{{width ? '' : '!'}}w/h300</button>
27
30
  </layout>
28
31
  </layout>
29
32
  </form>
@@ -44,6 +44,7 @@ class default_1 extends clickgo.form.AbstractForm {
44
44
  this.slotRight = false;
45
45
  this.slotFooter = false;
46
46
  this.position = ['top'];
47
+ this.warrow = true;
47
48
  }
48
49
  }
49
50
  exports.default = default_1;
@@ -19,8 +19,8 @@
19
19
  <label>123</label>
20
20
  <title type="info">Info title</title>
21
21
  <label>123</label>
22
- <title type="warning">Warning title</title>
23
- <label>123</label>
22
+ <title type="warning" v-model:arrow="warrow">Warning title</title>
23
+ <label v-if="warrow">123</label>
24
24
  <title type="danger">Danger title</title>
25
25
  <label>123</label>
26
26
  </flow>
@@ -55,6 +55,7 @@ class default_1 extends clickgo.form.AbstractForm {
55
55
  this.multi = false;
56
56
  this.ctrl = true;
57
57
  this.bottom = false;
58
+ this.top = false;
58
59
  this.selection = false;
59
60
  this.gesture = false;
60
61
  this.selectionArea = {};
@@ -27,6 +27,8 @@
27
27
  <check :modelValue="checkinfo.selected > 0" @change="onHeaderCheck" :indeterminate="checkinfo.selected > 0 && checkinfo.selected < checkinfo.total">index</check>
28
28
  </layout>
29
29
  </template>
30
+ <!-- top -->
31
+ <template v-if="top" v-slot:top="d">index: {{d.index}}</template>
30
32
  <!-- bottom -->
31
33
  <template v-if="bottom" v-slot:bottom="d">
32
34
  <desc v-if="d.index !== 1" style="flex: 1;">
@@ -87,6 +89,7 @@
87
89
  <select v-model="fixed" :data="['undefined', 'left', 'right', 'both']" style="flex: 1;"></select>
88
90
  <label>mode</label>
89
91
  <select v-model="mode" :data="['default','view', 'iview']" style="flex: 1;"></select>
92
+ <button style="flex: 1;" @click="top = !top">{{top ? '' : '!'}}top</button>
90
93
  </layout>
91
94
  </template>
92
95
  <button v-else @click="load">Load</button>
package/dist/clickgo.js CHANGED
@@ -39,7 +39,7 @@ exports.isNative = isNative;
39
39
  exports.getPlatform = getPlatform;
40
40
  exports.isImmersion = isImmersion;
41
41
  exports.hasFrame = hasFrame;
42
- const version = '3.16.1';
42
+ const version = '3.16.3';
43
43
  function getVersion() {
44
44
  return version;
45
45
  }
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.16.1';
16
+ const version = '3.16.3';
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
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clickgo",
3
- "version": "3.16.1",
3
+ "version": "3.16.3",
4
4
  "description": "Background interface, software interface, mobile phone APP interface operation library.",
5
5
  "keywords": [
6
6
  "deskrt",