clickgo 3.6.3 → 3.6.5
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 +1 -1
- package/dist/app/demo/form/control/select/select.js +1 -0
- package/dist/app/demo/form/control/select/select.xml +6 -2
- package/dist/app/demo/form/control/text/text.js +1 -0
- package/dist/app/demo/form/control/text/text.xml +18 -16
- package/dist/clickgo.js +1 -1
- package/dist/clickgo.ts +1 -1
- package/dist/control/common.cgc +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -28,7 +28,7 @@ Load the module loader first, and then load it using the module loader.
|
|
|
28
28
|
**index.html**
|
|
29
29
|
|
|
30
30
|
```html
|
|
31
|
-
<script src="https://cdn.jsdelivr.net/npm/@litert/loader@3.5.0/dist/loader.min.js?path=index&npm={'clickgo':'3.6.
|
|
31
|
+
<script src="https://cdn.jsdelivr.net/npm/@litert/loader@3.5.0/dist/loader.min.js?path=index&npm={'clickgo':'3.6.5'}"></script>
|
|
32
32
|
```
|
|
33
33
|
|
|
34
34
|
**index.js**
|
|
@@ -48,8 +48,12 @@
|
|
|
48
48
|
<select v-model="select2" @label="label2 = $event" :data="remote ? slist2r : slist2" :disabled="disabled" :editable="editable" :multi="multi" :tree="tree" :async="async" :remote="remote" :remote-delay="remoteDelay[0]" :icon="icon" icon-default="../../../res/txt.svg" @load="onLoad" @remote="onRemote" :style="{'font-size': fontSize ? '16px' : undefined, 'padding': padding ? '15px' : undefined, 'background': background ? 'red' : undefined, 'color': background ? '#FFF' : undefined}"></select>
|
|
49
49
|
<label>Custom height:</label>
|
|
50
50
|
<select :data="remote ? slist2r : ['1','2','3','4','5']" :disabled="disabled" :editable="editable" :multi="multi" :tree="tree" :async="async" :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, 'padding': padding ? '15px' : undefined, 'background': background ? 'red' : undefined, 'color': background ? '#FFF' : undefined}"></select>
|
|
51
|
-
<label>Always editable
|
|
52
|
-
<
|
|
51
|
+
<label>Always editable: {{aemodel}}</label>
|
|
52
|
+
<layout gutter="10">
|
|
53
|
+
<select v-model="aemodel" :data="remote ? slist2r : ['1','2','3','4','5']" :disabled="disabled" editable :multi="multi" :tree="tree" :async="async" :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, 'padding': padding ? '15px' : undefined, 'background': background ? 'red' : undefined, 'color': background ? '#FFF' : undefined}"></select>
|
|
54
|
+
<button @click="aemodel.length=0">clear</button>
|
|
55
|
+
<button @click="aemodel[0] = '4'">4</button>
|
|
56
|
+
</layout>
|
|
53
57
|
<layout gutter="10">
|
|
54
58
|
<button @click="icon = !icon" style="flex: 1;">{{icon ? '' : '!'}}icon</button>
|
|
55
59
|
<button @click="async = !async" style="flex: 1;">{{async ? '' : '!'}}async</button>
|
|
@@ -6,32 +6,34 @@
|
|
|
6
6
|
<menulist v-if="menu">
|
|
7
7
|
<menulist-item>Custom</menulist-item>
|
|
8
8
|
</menulist>
|
|
9
|
+
<template v-if="append" v-slot:append>KG</template>
|
|
9
10
|
</text>
|
|
10
11
|
<layout gutter="10">
|
|
11
|
-
<button @click="multi = !multi" style="flex: 1;
|
|
12
|
-
<button @click="disabled = !disabled" style="flex: 1;
|
|
13
|
-
<button @click="readonly = !readonly" style="flex: 1;
|
|
14
|
-
<button @click="longClick" style="flex: 1;
|
|
12
|
+
<button @click="multi = !multi" style="flex: 1;">{{multi ? '' : '!'}}multi</button>
|
|
13
|
+
<button @click="disabled = !disabled" style="flex: 1;">{{disabled ? '' : '!'}}disabled</button>
|
|
14
|
+
<button @click="readonly = !readonly" style="flex: 1;">{{readonly ? '' : '!'}}readonly</button>
|
|
15
|
+
<button @click="longClick" style="flex: 1;">{{long ? '' : '!'}}long</button>
|
|
15
16
|
</layout>
|
|
16
17
|
<layout gutter="10">
|
|
17
|
-
<button @click="password = !password" style="flex: 1;
|
|
18
|
-
<button @click="wrap = !wrap" style="flex: 1;
|
|
19
|
-
<button @click="menu = !menu" style="flex: 1;
|
|
20
|
-
<button @click="gesture = !gesture" style="flex: 1;
|
|
18
|
+
<button @click="password = !password" style="flex: 1;">{{password ? '' : '!'}}password</button>
|
|
19
|
+
<button @click="wrap = !wrap" style="flex: 1;">{{wrap ? '' : '!'}}wrap</button>
|
|
20
|
+
<button @click="menu = !menu" style="flex: 1;">{{menu ? '' : '!'}}menu</button>
|
|
21
|
+
<button @click="gesture = !gesture" style="flex: 1;">{{gesture ? '' : '!'}}gesture</button>
|
|
21
22
|
</layout>
|
|
22
23
|
<layout gutter="10">
|
|
23
|
-
<button @click="lineHeight = lineHeight === 1 ? 1.5 : 1" style="flex: 1;
|
|
24
|
-
<button @click="fontSize = fontSize === 12 ? 16 : 12" style="flex: 1;
|
|
24
|
+
<button @click="lineHeight = lineHeight === 1 ? 1.5 : 1" style="flex: 1;">Set line {{lineHeight === 1 ? 1.5 : 1}}</button>
|
|
25
|
+
<button @click="fontSize = fontSize === 12 ? 16 : 12" style="flex: 1;">Set size {{fontSize === 12 ? 16 : 12}}</button>
|
|
26
|
+
<button @click="append = !append" style="flex: 1;">{{append ? '' : '!'}}append</button>
|
|
25
27
|
</layout>
|
|
26
28
|
<layout gutter="10">
|
|
27
|
-
<button @click="border = 'solid'" style="flex: 2;
|
|
28
|
-
<button @click="border = 'underline'" style="flex: 1;
|
|
29
|
-
<button @click="border = 'none'" style="flex: 1;
|
|
29
|
+
<button @click="border = 'solid'" style="flex: 2;">Set border solid</button>
|
|
30
|
+
<button @click="border = 'underline'" style="flex: 1;">Underline</button>
|
|
31
|
+
<button @click="border = 'none'" style="flex: 1;">None</button>
|
|
30
32
|
</layout>
|
|
31
33
|
<layout gutter="10">
|
|
32
|
-
<button @click="background = 'red'" style="flex: 2;
|
|
33
|
-
<button @click="background = 'green'" style="flex: 1;
|
|
34
|
-
<button @click="background = undefined" style="flex: 1;
|
|
34
|
+
<button @click="background = 'red'" style="flex: 2;">Set background red</button>
|
|
35
|
+
<button @click="background = 'green'" style="flex: 1;">Green</button>
|
|
36
|
+
<button @click="background = undefined" style="flex: 1;">Remove</button>
|
|
35
37
|
</layout>
|
|
36
38
|
</layout>
|
|
37
39
|
</form>
|
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.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.6.
|
|
27
|
+
const version = '3.6.4';
|
|
28
28
|
function getVersion() {
|
|
29
29
|
return version;
|
|
30
30
|
}
|
package/dist/clickgo.ts
CHANGED
package/dist/control/common.cgc
CHANGED
|
Binary file
|