clickgo 3.16.25 → 3.16.26

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
@@ -35,7 +35,7 @@ First, load the module loader, then load your app with it.
35
35
  **index.html**
36
36
 
37
37
  ```html
38
- <script src="https://cdn.jsdelivr.net/npm/@litert/loader@3.5.8/dist/loader.min.js?path=index&npm={'clickgo':'3.16.25'}"></script>
38
+ <script src="https://cdn.jsdelivr.net/npm/@litert/loader@3.5.8/dist/loader.min.js?path=index&npm={'clickgo':'3.16.26'}"></script>
39
39
  ```
40
40
 
41
41
  **index.js**
@@ -144,6 +144,7 @@ class default_1 extends clickgo.form.AbstractForm {
144
144
  this.remoteDelay = [0];
145
145
  this.plain = false;
146
146
  this.virtual = false;
147
+ this.leftlabel = true;
147
148
  }
148
149
  get sizes() {
149
150
  const rtn = {};
@@ -45,7 +45,7 @@
45
45
  <layout gutter="10" direction="v" style="padding: 10px;">
46
46
  <label>Now select value is {{select2}}</label>
47
47
  <label>Label: {{label2}}</label>
48
- <select v-model="select2" @label="label2 = $event" :data="slist2" :disabled="disabled" :editable="editable" :multi="multi" :plain="plain" :tree="tree" :async="async" :virtual="virtual" :padding="padding[0]" :search="search" :remote="remote" :remote-delay="remoteDelay[0]" :icon="icon" icon-default="../../../res/txt.svg" :disabledList="disabledList" :unavailableList="unavailableList" @load="onLoad" @remote="onRemote" @add="onAdd" @remove="onRemove" @added="onAdded" @removed="onRemoved" @change="onChange" @changed="onChanged" @tagclick="onTagclick" style="flex: 1;" :style="{'font-size': fontSize ? '16px' : undefined, 'background': background ? 'red' : undefined, 'color': background ? '#FFF' : undefined}"></select>
48
+ <select v-model="select2" @label="label2 = $event" :data="slist2" :disabled="disabled" :editable="editable" :multi="multi" :plain="plain" :tree="tree" :async="async" :virtual="virtual" :padding="padding[0]" :search="search" :remote="remote" :remote-delay="remoteDelay[0]" :icon="icon" icon-default="../../../res/txt.svg" :disabledList="disabledList" :unavailableList="unavailableList" :leftlabel="leftlabel" @load="onLoad" @remote="onRemote" @add="onAdd" @remove="onRemove" @added="onAdded" @removed="onRemoved" @change="onChange" @changed="onChanged" @tagclick="onTagclick" style="flex: 1;" :style="{'font-size': fontSize ? '16px' : undefined, 'background': background ? 'red' : undefined, 'color': background ? '#FFF' : undefined}"></select>
49
49
  <layout gutter="10">
50
50
  <button @click="select2[0]='ha6'" style="flex: 1">Select disabled</button>
51
51
  <button @click="disabledList = disabledList.length > 1 ? ['haha4'] : ['haha3', 'ha5']" style="flex: 1">{{disabledList.length ? disabledList : 'disabledList'}}</button>
@@ -53,17 +53,17 @@
53
53
  <button @click="unavailableList = unavailableList.length > 1 ? ['haha4'] : ['haha3', 'ha5']">{{unavailableList.length ? unavailableList : 'unavailableList'}}</button>
54
54
  <list :data="addRemoveList" style="height: 100px;"></list>
55
55
  <label>Custom height:</label>
56
- <select :data="['1','2','3','4','5']" :disabled="disabled" :editable="editable" :multi="multi" :plain="plain" :tree="tree" :async="async" :virtual="virtual" :padding="padding[0]" :search="search" :remote="remote" :remote-delay="remoteDelay[0]" :icon="icon" icon-default="../../../res/txt.svg" style="height: 60px;" @load="onLoad" @remote="onRemote" :style="{'font-size': fontSize ? '16px' : undefined, 'background': background ? 'red' : undefined, 'color': background ? '#FFF' : undefined}" v-slot:row="data">
56
+ <select :data="['1','2','3','4','5']" :disabled="disabled" :editable="editable" :multi="multi" :plain="plain" :tree="tree" :async="async" :virtual="virtual" :padding="padding[0]" :search="search" :remote="remote" :remote-delay="remoteDelay[0]" :icon="icon" icon-default="../../../res/txt.svg" :leftlabel="leftlabel" style="height: 60px;" @load="onLoad" @remote="onRemote" :style="{'font-size': fontSize ? '16px' : undefined, 'background': background ? 'red' : undefined, 'color': background ? '#FFF' : undefined}" v-slot:row="data">
57
57
  <layout gutter="5" align-v="center"><circle />{{data.row.label}}</layout>
58
58
  </select>
59
59
  <label>Always editable: {{aemodel}}</label>
60
60
  <layout gutter="10" align-v="center">
61
- <select v-model="aemodel" :data="editableData[editableDataValue[0]]" :disabled="disabled" editable editablelabel :multi="multi" :plain="plain" :tree="tree" :async="async" :virtual="virtual" :padding="padding[0]" :search="search" :remote="remote" :remote-delay="remoteDelay[0]" :icon="icon" icon-default="../../../res/txt.svg" placeholder="Please enter" @load="onLoad" @remote="onRemote" style="flex: 1;" :style="{'font-size': fontSize ? '16px' : undefined, 'background': background ? 'red' : undefined, 'color': background ? '#FFF' : undefined}"></select>
61
+ <select v-model="aemodel" :data="editableData[editableDataValue[0]]" :disabled="disabled" editable editablelabel :multi="multi" :plain="plain" :tree="tree" :async="async" :virtual="virtual" :padding="padding[0]" :search="search" :remote="remote" :remote-delay="remoteDelay[0]" :icon="icon" icon-default="../../../res/txt.svg" :leftlabel="leftlabel" placeholder="Please enter" @load="onLoad" @remote="onRemote" style="flex: 1;" :style="{'font-size': fontSize ? '16px' : undefined, 'background': background ? 'red' : undefined, 'color': background ? '#FFF' : undefined}"></select>
62
62
  <button @click="aemodel.length=0">clear</button>
63
63
  <button @click="aemodel[0] = '4'">4</button>
64
64
  <button @click="aemodel[0] = '22'">22</button>
65
65
  <label>data</label>
66
- <select v-model="editableDataValue" :data="['0','1','2','3']" :virtual="virtual" :padding="padding[0]" />
66
+ <select v-model="editableDataValue" :data="['0','1','2','3']" :virtual="virtual" :padding="padding[0]" :leftlabel="leftlabel" />
67
67
  </layout>
68
68
  <layout gutter="10">
69
69
  <button @click="icon = !icon" style="flex: 1;">{{icon ? '' : '!'}}icon</button>
@@ -74,25 +74,25 @@
74
74
  <button @click="search = !search" style="flex: 1;">{{search ? '' : '!'}}search</button>
75
75
  <template v-if="search">
76
76
  <button @click="remote = !remote" style="flex: 1;">{{remote ? '' : '!'}}remote</button>
77
- <select :data="[0, 100, 500, 1000, 2000]" v-model="remoteDelay" :virtual="virtual" :padding="padding[0]" style="flex: 1;"></select>
77
+ <select :data="[0, 100, 500, 1000, 2000]" v-model="remoteDelay" :virtual="virtual" :padding="padding[0]" :leftlabel="leftlabel" style="flex: 1;"></select>
78
78
  </template>
79
79
  </layout>
80
80
  <!-- async 延迟加载 data -->
81
81
  <label>Async value: {{asyncModel}}</label>
82
82
  <layout gutter="10">
83
- <select v-model="asyncModel" :data="asyncData" :virtual="virtual" :padding="padding[0]" style="flex: 1;"></select>
83
+ <select v-model="asyncModel" :data="asyncData" :virtual="virtual" :padding="padding[0]" :leftlabel="leftlabel" style="flex: 1;"></select>
84
84
  <button v-if="!asyncData.length" @click="asyncLoad">Load</button>
85
85
  </layout>
86
86
  <!-- no value -->
87
87
  <label>No value: {{noValue}}</label>
88
88
  <layout gutter="10">
89
- <select v-model="noValue" :data="['0','1','2','3']" :virtual="virtual" :padding="padding[0]" search style="flex: 1;" />
89
+ <select v-model="noValue" :data="['0','1','2','3']" :virtual="virtual" :padding="padding[0]" search :leftlabel="leftlabel" style="flex: 1;" />
90
90
  <button @click="noValue = []">Clear</button>
91
91
  </layout>
92
92
  <!-- rearward -->
93
93
  <label>Rearward: {{reward}}</label>
94
94
  <layout gutter="10">
95
- <select v-model="reward" :data="['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'z']" :virtual="virtual" :padding="padding[0]" style="flex: 1;"></select>
95
+ <select v-model="reward" :data="['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'z']" :virtual="virtual" :padding="padding[0]" :leftlabel="leftlabel" style="flex: 1;"></select>
96
96
  <button @click="reward[0] = 'z'">z</button>
97
97
  </layout>
98
98
  </layout>
@@ -130,6 +130,7 @@
130
130
  <layout gutter="10">
131
131
  <button @click="fontSize = !fontSize" style="flex: 1;">Change font size</button>
132
132
  <select v-model="padding" :data="['0', 'xs', 's', 'm', 'l', 'xl']" style="flex: 1;"></select>
133
+ <button v-if="ntab === 'select'" @click="leftlabel = !leftlabel" style="flex: 1;">{{leftlabel ? '' : '!'}}leftlabel</button>
133
134
  </layout>
134
135
  <layout gutter="10">
135
136
  <button @click="background = !background" style="flex: 1;">Change bg color</button>
package/dist/clickgo.js CHANGED
@@ -40,7 +40,7 @@ exports.getPlatform = getPlatform;
40
40
  exports.getDevice = getDevice;
41
41
  exports.isImmersion = isImmersion;
42
42
  exports.hasFrame = hasFrame;
43
- const version = '3.16.25';
43
+ const version = '3.16.26';
44
44
  function getVersion() {
45
45
  return version;
46
46
  }
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
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.25",
3
+ "version": "3.16.26",
4
4
  "description": "Background interface, software interface, mobile phone APP interface operation library.",
5
5
  "keywords": [
6
6
  "deskrt",