@timus-networks/theme 1.0.161 → 1.0.163
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/components-js/ThemeAlert.vue +11 -9
- package/components-js/ThemeAvatar.vue +2 -2
- package/components-js/ThemeBadge.vue +14 -12
- package/components-js/ThemeButtons.vue +2 -2
- package/components-js/ThemeCascader.vue +13 -13
- package/components-js/ThemeCheckbox.vue +2 -2
- package/components-js/ThemeCollapse.vue +9 -7
- package/components-js/ThemeDialog.vue +41 -39
- package/components-js/ThemeForm.vue +2 -2
- package/components-js/ThemeInformation.vue +12 -12
- package/components-js/ThemeInputNumbers.vue +19 -17
- package/components-js/ThemeInputs.vue +16 -9
- package/components-js/ThemeLink.vue +2 -2
- package/components-js/ThemeLogo.vue +49 -49
- package/components-js/ThemeMessageBox.vue +3 -2
- package/components-js/ThemePopover.vue +45 -28
- package/components-js/ThemeRadio.vue +19 -19
- package/components-js/ThemeSelect.vue +2 -2
- package/components-js/ThemeSidebar.vue +2 -2
- package/components-js/ThemeTable.vue +2 -2
- package/components-js/ThemeTag.vue +2 -2
- package/components-js/ThemeToggle.vue +18 -17
- package/components-js/ThemeTooltip.vue +16 -14
- package/components-js/ThemeTypo.vue +5 -5
- package/components-js/ThemeUpload.vue +3 -2
- package/components-js/TimusSamples.vue +4 -2
- package/components-ts/ThemeAlert.vue +11 -9
- package/components-ts/ThemeAvatar.vue +2 -2
- package/components-ts/ThemeBadge.vue +14 -12
- package/components-ts/ThemeButtons.vue +2 -2
- package/components-ts/ThemeCascader.vue +13 -13
- package/components-ts/ThemeCheckbox.vue +2 -2
- package/components-ts/ThemeCollapse.vue +9 -7
- package/components-ts/ThemeDialog.vue +41 -39
- package/components-ts/ThemeForm.vue +2 -2
- package/components-ts/ThemeInformation.vue +12 -12
- package/components-ts/ThemeInputNumbers.vue +19 -17
- package/components-ts/ThemeInputs.vue +16 -9
- package/components-ts/ThemeLink.vue +2 -2
- package/components-ts/ThemeLogo.vue +49 -49
- package/components-ts/ThemeMessageBox.vue +3 -2
- package/components-ts/ThemePopover.vue +45 -28
- package/components-ts/ThemeRadio.vue +21 -19
- package/components-ts/ThemeSelect.vue +2 -2
- package/components-ts/ThemeSidebar.vue +2 -2
- package/components-ts/ThemeTable.vue +2 -2
- package/components-ts/ThemeTag.vue +2 -2
- package/components-ts/ThemeToggle.vue +18 -17
- package/components-ts/ThemeTooltip.vue +16 -14
- package/components-ts/ThemeTypo.vue +5 -5
- package/components-ts/ThemeUpload.vue +3 -2
- package/components-ts/TimusSamples.vue +4 -2
- package/fonts/poppins-font-face/Poppins.jpg +0 -0
- package/fonts/poppins-font-face/README.md +106 -0
- package/fonts/poppins-font-face/files/Poppins-Black.eot +0 -0
- package/fonts/poppins-font-face/files/Poppins-Black.svg +3099 -0
- package/fonts/poppins-font-face/files/Poppins-Black.ttf +0 -0
- package/fonts/poppins-font-face/files/Poppins-Black.woff +0 -0
- package/fonts/poppins-font-face/files/Poppins-Black.woff2 +0 -0
- package/fonts/poppins-font-face/files/Poppins-BlackItalic.ttf +0 -0
- package/fonts/poppins-font-face/files/Poppins-Bold.eot +0 -0
- package/fonts/poppins-font-face/files/Poppins-Bold.svg +3131 -0
- package/fonts/poppins-font-face/files/Poppins-Bold.ttf +0 -0
- package/fonts/poppins-font-face/files/Poppins-Bold.woff +0 -0
- package/fonts/poppins-font-face/files/Poppins-Bold.woff2 +0 -0
- package/fonts/poppins-font-face/files/Poppins-BoldItalic.ttf +0 -0
- package/fonts/poppins-font-face/files/Poppins-ExtraBold.eot +0 -0
- package/fonts/poppins-font-face/files/Poppins-ExtraBold.svg +3120 -0
- package/fonts/poppins-font-face/files/Poppins-ExtraBold.ttf +0 -0
- package/fonts/poppins-font-face/files/Poppins-ExtraBold.woff +0 -0
- package/fonts/poppins-font-face/files/Poppins-ExtraBold.woff2 +0 -0
- package/fonts/poppins-font-face/files/Poppins-ExtraBoldItalic.ttf +0 -0
- package/fonts/poppins-font-face/files/Poppins-ExtraLight.eot +0 -0
- package/fonts/poppins-font-face/files/Poppins-ExtraLight.svg +3245 -0
- package/fonts/poppins-font-face/files/Poppins-ExtraLight.ttf +0 -0
- package/fonts/poppins-font-face/files/Poppins-ExtraLight.woff +0 -0
- package/fonts/poppins-font-face/files/Poppins-ExtraLight.woff2 +0 -0
- package/fonts/poppins-font-face/files/Poppins-ExtraLightItalic.ttf +0 -0
- package/fonts/poppins-font-face/files/Poppins-Italic.eot +0 -0
- package/fonts/poppins-font-face/files/Poppins-Italic.svg +3414 -0
- package/fonts/poppins-font-face/files/Poppins-Italic.ttf +0 -0
- package/fonts/poppins-font-face/files/Poppins-Italic.woff +0 -0
- package/fonts/poppins-font-face/files/Poppins-Italic.woff2 +0 -0
- package/fonts/poppins-font-face/files/Poppins-Light.eot +0 -0
- package/fonts/poppins-font-face/files/Poppins-Light.svg +3244 -0
- package/fonts/poppins-font-face/files/Poppins-Light.ttf +0 -0
- package/fonts/poppins-font-face/files/Poppins-Light.woff +0 -0
- package/fonts/poppins-font-face/files/Poppins-Light.woff2 +0 -0
- package/fonts/poppins-font-face/files/Poppins-LightItalic.ttf +0 -0
- package/fonts/poppins-font-face/files/Poppins-Medium.eot +0 -0
- package/fonts/poppins-font-face/files/Poppins-Medium.svg +3190 -0
- package/fonts/poppins-font-face/files/Poppins-Medium.ttf +0 -0
- package/fonts/poppins-font-face/files/Poppins-Medium.woff +0 -0
- package/fonts/poppins-font-face/files/Poppins-Medium.woff2 +0 -0
- package/fonts/poppins-font-face/files/Poppins-MediumItalic.ttf +0 -0
- package/fonts/poppins-font-face/files/Poppins-Regular.eot +0 -0
- package/fonts/poppins-font-face/files/Poppins-Regular.svg +3213 -0
- package/fonts/poppins-font-face/files/Poppins-Regular.ttf +0 -0
- package/fonts/poppins-font-face/files/Poppins-Regular.woff +0 -0
- package/fonts/poppins-font-face/files/Poppins-Regular.woff2 +0 -0
- package/fonts/poppins-font-face/files/Poppins-SemiBold.eot +0 -0
- package/fonts/poppins-font-face/files/Poppins-SemiBold.svg +3174 -0
- package/fonts/poppins-font-face/files/Poppins-SemiBold.ttf +0 -0
- package/fonts/poppins-font-face/files/Poppins-SemiBold.woff +0 -0
- package/fonts/poppins-font-face/files/Poppins-SemiBold.woff2 +0 -0
- package/fonts/poppins-font-face/files/Poppins-SemiBoldItalic.ttf +0 -0
- package/fonts/poppins-font-face/files/Poppins-Thin.eot +0 -0
- package/fonts/poppins-font-face/files/Poppins-Thin.svg +3266 -0
- package/fonts/poppins-font-face/files/Poppins-Thin.ttf +0 -0
- package/fonts/poppins-font-face/files/Poppins-Thin.woff +0 -0
- package/fonts/poppins-font-face/files/Poppins-Thin.woff2 +0 -0
- package/fonts/poppins-font-face/files/Poppins-ThinItalic.ttf +0 -0
- package/fonts/poppins-font-face/stylesheet.css +27 -9
- package/index.d.ts +1 -1
- package/output/main.css +1 -1
- package/package.json +1 -1
|
@@ -116,11 +116,11 @@
|
|
|
116
116
|
</div>
|
|
117
117
|
</template>
|
|
118
118
|
<script lang="ts">
|
|
119
|
-
import
|
|
119
|
+
import { defineComponent } from 'vue';
|
|
120
120
|
|
|
121
121
|
const cityOptions = ['Shanghai', 'Beijing', 'Guangzhou', 'Shenzhen'];
|
|
122
122
|
|
|
123
|
-
export default
|
|
123
|
+
export default defineComponent({
|
|
124
124
|
data() {
|
|
125
125
|
return {
|
|
126
126
|
colors: ['default', 'primary', 'secondary', 'gray', 'light', 'success', 'danger', 'info', 'warning'],
|
|
@@ -41,11 +41,17 @@
|
|
|
41
41
|
</section>
|
|
42
42
|
</div>
|
|
43
43
|
</template>
|
|
44
|
+
|
|
44
45
|
<script>
|
|
45
|
-
import
|
|
46
|
+
import { defineComponent } from 'vue';
|
|
46
47
|
|
|
47
|
-
export default
|
|
48
|
+
export default defineComponent({
|
|
48
49
|
name: 'TimusButtonSample',
|
|
50
|
+
data() {
|
|
51
|
+
return {
|
|
52
|
+
activeNames: ['1'],
|
|
53
|
+
};
|
|
54
|
+
},
|
|
49
55
|
computed: {
|
|
50
56
|
gridSize() {
|
|
51
57
|
const grids = {
|
|
@@ -54,14 +60,10 @@ export default Vue.extend({
|
|
|
54
60
|
7: 'grid-cols-7',
|
|
55
61
|
8: 'grid-cols-8',
|
|
56
62
|
};
|
|
63
|
+
|
|
57
64
|
return grids;
|
|
58
65
|
},
|
|
59
66
|
},
|
|
60
|
-
data() {
|
|
61
|
-
return {
|
|
62
|
-
activeNames: ['1'],
|
|
63
|
-
};
|
|
64
|
-
},
|
|
65
67
|
methods: {
|
|
66
68
|
handleChange(val) {
|
|
67
69
|
console.log(val);
|
|
@@ -1,47 +1,49 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
</
|
|
25
|
-
|
|
2
|
+
<div class="pt-8 pb-16 flex gap-12 flex-col">
|
|
3
|
+
<section>
|
|
4
|
+
<h1>Sizes</h1>
|
|
5
|
+
<p class="p-md-c my-6">
|
|
6
|
+
Our logos are available in three sizes: small, medium, and large. To tailor your choice, use the size tags
|
|
7
|
+
<b>'small', 'medium', 'large'</b> to determine the appropriate size for your needs.
|
|
8
|
+
</p>
|
|
9
|
+
<div class="grid grid-flow-col auto-cols-max gap-6 items-center">
|
|
10
|
+
<el-button type="text" @click="dialogVisible = true">click to open the Dialog</el-button>
|
|
11
|
+
<el-dialog v-model:visible="dialogVisible" title="Tips" :before-close="handleClose">
|
|
12
|
+
<span>This is a message</span>
|
|
13
|
+
<template #footer>
|
|
14
|
+
<span class="dialog-footer">
|
|
15
|
+
<el-button @click="dialogVisible = false">Cancel</el-button>
|
|
16
|
+
<el-button type="primary" @click="dialogVisible = false">Confirm</el-button>
|
|
17
|
+
</span>
|
|
18
|
+
</template>
|
|
19
|
+
</el-dialog>
|
|
20
|
+
</div>
|
|
21
|
+
<div class="my-4 p-4 border-l-4 border-blue-600 bg-blue-100">
|
|
22
|
+
<p class="text-xs">
|
|
23
|
+
<code><div class="logo-medium"></div></code>
|
|
24
|
+
</p>
|
|
25
|
+
</div>
|
|
26
|
+
</section>
|
|
27
|
+
</div>
|
|
26
28
|
</template>
|
|
27
29
|
|
|
28
30
|
<script>
|
|
29
|
-
import
|
|
31
|
+
import { defineComponent } from 'vue';
|
|
30
32
|
|
|
31
|
-
export default
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
},
|
|
33
|
+
export default defineComponent({
|
|
34
|
+
data() {
|
|
35
|
+
return {
|
|
36
|
+
dialogVisible: false,
|
|
37
|
+
};
|
|
38
|
+
},
|
|
39
|
+
methods: {
|
|
40
|
+
handleClose(done) {
|
|
41
|
+
this.$confirm('Are you sure to close this dialog?')
|
|
42
|
+
.then((_) => {
|
|
43
|
+
done();
|
|
44
|
+
})
|
|
45
|
+
.catch((_) => {});
|
|
45
46
|
},
|
|
47
|
+
},
|
|
46
48
|
});
|
|
47
49
|
</script>
|
|
@@ -76,11 +76,11 @@
|
|
|
76
76
|
</div>
|
|
77
77
|
</template>
|
|
78
78
|
<script lang="ts">
|
|
79
|
-
import
|
|
79
|
+
import { defineComponent } from 'vue';
|
|
80
80
|
|
|
81
81
|
const cityOptions = ['Shanghai', 'Beijing', 'Guangzhou', 'Shenzhen'];
|
|
82
82
|
|
|
83
|
-
export default
|
|
83
|
+
export default defineComponent({
|
|
84
84
|
data() {
|
|
85
85
|
return {
|
|
86
86
|
labelPosition: 'right',
|
|
@@ -60,9 +60,9 @@
|
|
|
60
60
|
</div>
|
|
61
61
|
</template>
|
|
62
62
|
<script>
|
|
63
|
-
import
|
|
63
|
+
import { defineComponent } from 'vue';
|
|
64
64
|
|
|
65
|
-
export default
|
|
65
|
+
export default defineComponent({
|
|
66
66
|
name: 'TimusButtonSample',
|
|
67
67
|
data() {
|
|
68
68
|
return {
|
|
@@ -78,19 +78,24 @@ export default Vue.extend({
|
|
|
78
78
|
7: 'grid-cols-7',
|
|
79
79
|
8: 'grid-cols-8',
|
|
80
80
|
};
|
|
81
|
+
|
|
81
82
|
return grids;
|
|
82
83
|
},
|
|
83
84
|
},
|
|
85
|
+
mounted() {
|
|
86
|
+
this.links = this.loadAll();
|
|
87
|
+
},
|
|
84
88
|
methods: {
|
|
85
89
|
querySearch(queryString, cb) {
|
|
86
|
-
|
|
87
|
-
|
|
90
|
+
const { links } = this;
|
|
91
|
+
const results = queryString ? links.filter(this.createFilter(queryString)) : links;
|
|
92
|
+
|
|
88
93
|
// call callback function to return suggestions
|
|
89
94
|
cb(results);
|
|
90
95
|
},
|
|
91
96
|
querySearchAsync(queryString, cb) {
|
|
92
|
-
|
|
93
|
-
|
|
97
|
+
const { links } = this;
|
|
98
|
+
const results = queryString ? links.filter(this.createFilter(queryString)) : links;
|
|
94
99
|
|
|
95
100
|
clearTimeout(this.timeout);
|
|
96
101
|
this.timeout = setTimeout(() => {
|
|
@@ -98,9 +103,7 @@ export default Vue.extend({
|
|
|
98
103
|
}, 3000 * Math.random());
|
|
99
104
|
},
|
|
100
105
|
createFilter(queryString) {
|
|
101
|
-
return (link) =>
|
|
102
|
-
return link.value.toLowerCase().indexOf(queryString.toLowerCase()) === 0;
|
|
103
|
-
};
|
|
106
|
+
return (link) => link.value.toLowerCase().indexOf(queryString.toLowerCase()) === 0;
|
|
104
107
|
},
|
|
105
108
|
loadAll() {
|
|
106
109
|
return [
|
|
@@ -120,8 +123,5 @@ export default Vue.extend({
|
|
|
120
123
|
console.log(ev);
|
|
121
124
|
},
|
|
122
125
|
},
|
|
123
|
-
mounted() {
|
|
124
|
-
this.links = this.loadAll();
|
|
125
|
-
},
|
|
126
126
|
});
|
|
127
127
|
</script>
|
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
<h1>Controls Position</h1>
|
|
5
5
|
<p class="p-lg my-6">Bu örnek, farklı boyutlarda ve konfigürasyonlarda bir sayı giriş bileşeni olan el-input-number'ı göstermektedir.</p>
|
|
6
6
|
<div class="grid grid-flow-col auto-cols-max gap-4 items-center">
|
|
7
|
-
<el-input-number v-model="input" controls-position="right" @change="handleChange"
|
|
8
|
-
<el-input-number v-model="input" size="large" controls-position="right" @change="handleChange"
|
|
9
|
-
<el-input-number v-model="input" size="medium" controls-position="right" @change="handleChange"
|
|
10
|
-
<el-input-number v-model="input" size="small" controls-position="right" @change="handleChange"
|
|
11
|
-
<el-input-number v-model="input" size="mini" controls-position="right" @change="handleChange"
|
|
7
|
+
<el-input-number v-model="input" controls-position="right" disabled @change="handleChange" />
|
|
8
|
+
<el-input-number v-model="input" size="large" controls-position="right" @change="handleChange" />
|
|
9
|
+
<el-input-number v-model="input" size="medium" controls-position="right" @change="handleChange" />
|
|
10
|
+
<el-input-number v-model="input" size="small" controls-position="right" @change="handleChange" />
|
|
11
|
+
<el-input-number v-model="input" size="mini" controls-position="right" @change="handleChange" />
|
|
12
12
|
</div>
|
|
13
13
|
<div class="my-4 p-4 border-l-4 border-info-600 bg-info-100">
|
|
14
14
|
<p class="text-xs">
|
|
@@ -24,11 +24,11 @@
|
|
|
24
24
|
<h1>Basic usage</h1>
|
|
25
25
|
<p class="p-lg my-6">Bu örnek, minimum ve maksimum değerlerle sınırlı bir el-input-number bileşenini göstermektedir.</p>
|
|
26
26
|
<div class="grid grid-flow-col auto-cols-max gap-4 items-center">
|
|
27
|
-
<el-input-number v-model="num"
|
|
28
|
-
<el-input-number
|
|
29
|
-
<el-input-number
|
|
30
|
-
<el-input-number
|
|
31
|
-
<el-input-number
|
|
27
|
+
<el-input-number v-model="num" :min="1" :max="10000" disabled @change="handleChange" />
|
|
28
|
+
<el-input-number v-model="num" size="large" :min="1" :max="10000" @change="handleChange" />
|
|
29
|
+
<el-input-number v-model="num" size="medium" :min="1" :max="10000" @change="handleChange" />
|
|
30
|
+
<el-input-number v-model="num" size="small" :min="1" :max="10000" @change="handleChange" />
|
|
31
|
+
<el-input-number v-model="num" size="mini" :min="1" :max="10000" @change="handleChange" />
|
|
32
32
|
</div>
|
|
33
33
|
<div class="my-4 p-4 border-l-4 border-info-600 bg-info-100">
|
|
34
34
|
<p class="text-xs">
|
|
@@ -41,10 +41,11 @@
|
|
|
41
41
|
</section>
|
|
42
42
|
</div>
|
|
43
43
|
</template>
|
|
44
|
+
|
|
44
45
|
<script>
|
|
45
|
-
import
|
|
46
|
+
import { defineComponent } from 'vue';
|
|
46
47
|
|
|
47
|
-
export default
|
|
48
|
+
export default defineComponent({
|
|
48
49
|
name: 'TimusButtonSample',
|
|
49
50
|
data() {
|
|
50
51
|
return {
|
|
@@ -52,11 +53,6 @@ export default Vue.extend({
|
|
|
52
53
|
num: 213,
|
|
53
54
|
};
|
|
54
55
|
},
|
|
55
|
-
methods: {
|
|
56
|
-
handleChange(value) {
|
|
57
|
-
console.log(value);
|
|
58
|
-
},
|
|
59
|
-
},
|
|
60
56
|
computed: {
|
|
61
57
|
gridSize() {
|
|
62
58
|
const grids = {
|
|
@@ -65,8 +61,14 @@ export default Vue.extend({
|
|
|
65
61
|
7: 'grid-cols-7',
|
|
66
62
|
8: 'grid-cols-8',
|
|
67
63
|
};
|
|
64
|
+
|
|
68
65
|
return grids;
|
|
69
66
|
},
|
|
70
67
|
},
|
|
68
|
+
methods: {
|
|
69
|
+
handleChange(value) {
|
|
70
|
+
console.log(value);
|
|
71
|
+
},
|
|
72
|
+
},
|
|
71
73
|
});
|
|
72
74
|
</script>
|
|
@@ -111,12 +111,16 @@
|
|
|
111
111
|
</el-input>
|
|
112
112
|
|
|
113
113
|
<el-input v-model="input3" placeholder="Please input" class="input-with-select">
|
|
114
|
-
<
|
|
115
|
-
<el-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
114
|
+
<template #prepend>
|
|
115
|
+
<el-select v-model="select" placeholder="Select">
|
|
116
|
+
<el-option label="Restaurant" value="1" />
|
|
117
|
+
<el-option label="Order No." value="2" />
|
|
118
|
+
<el-option label="Tel" value="3" />
|
|
119
|
+
</el-select>
|
|
120
|
+
</template>
|
|
121
|
+
<template #append>
|
|
122
|
+
<el-button icon="el-icon-search" />
|
|
123
|
+
</template>
|
|
120
124
|
</el-input>
|
|
121
125
|
</div>
|
|
122
126
|
<div class="my-4 p-4 border-l-4 border-info-600 bg-info-100">
|
|
@@ -179,7 +183,9 @@
|
|
|
179
183
|
placeholder="Please input"
|
|
180
184
|
@select="handleSelect"
|
|
181
185
|
>
|
|
182
|
-
<
|
|
186
|
+
<template #suffix>
|
|
187
|
+
<i class="el-icon-edit el-input__icon" @click="handleIconClick" />
|
|
188
|
+
</template>
|
|
183
189
|
<template #default="{ item }">
|
|
184
190
|
<div class="value">{{ item.value }}</div>
|
|
185
191
|
<span class="link">{{ item.link }}</span>
|
|
@@ -227,10 +233,11 @@
|
|
|
227
233
|
</section>
|
|
228
234
|
</div>
|
|
229
235
|
</template>
|
|
236
|
+
|
|
230
237
|
<script>
|
|
231
|
-
import
|
|
238
|
+
import { defineComponent } from 'vue';
|
|
232
239
|
|
|
233
|
-
export default
|
|
240
|
+
export default defineComponent({
|
|
234
241
|
name: 'TimusButtonSample',
|
|
235
242
|
data() {
|
|
236
243
|
return {
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
2
|
+
<div class="pt-8 pb-16 flex gap-12 flex-col">
|
|
3
|
+
<section>
|
|
4
|
+
<h1>Sizes</h1>
|
|
5
|
+
<p class="p-md-c my-6">
|
|
6
|
+
Our logos are available in three sizes: small, medium, and large. To tailor your choice, use the size tags
|
|
7
|
+
<b>'small', 'medium', 'large'</b> to determine the appropriate size for your needs.
|
|
8
|
+
</p>
|
|
9
|
+
<div class="grid grid-flow-col auto-cols-max gap-6 items-center">
|
|
10
|
+
<div class="logo-icon-small" />
|
|
11
|
+
<div class="logo-icon-medium" />
|
|
12
|
+
<div class="logo-icon-large" />
|
|
13
|
+
<el-divider direction="vertical" content-position="center" />
|
|
14
|
+
<div class="logo-small" />
|
|
15
|
+
<div class="logo-medium" />
|
|
16
|
+
<div class="logo-large" />
|
|
17
|
+
</div>
|
|
18
|
+
<div class="my-4 p-4 border-l-4 border-blue-600 bg-blue-100">
|
|
19
|
+
<p class="text-xs">
|
|
20
|
+
<code><div class="logo-medium"></div></code>
|
|
21
|
+
</p>
|
|
22
|
+
</div>
|
|
23
|
+
</section>
|
|
24
24
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
25
|
+
<section>
|
|
26
|
+
<h1>Types</h1>
|
|
27
|
+
<p class="p-md-c my-6">
|
|
28
|
+
There are two different types of logo usage available: <b>"icon"</b> or <b>"logo"</b>. When used as a <b>"logo"</b>, an additional icon along
|
|
29
|
+
with the word <b>"timus"</b> will be displayed.
|
|
30
|
+
</p>
|
|
31
|
+
<div class="grid grid-flow-col auto-cols-max gap-6 items-center">
|
|
32
|
+
<div class="logo-icon-small" />
|
|
33
|
+
<el-divider direction="vertical" content-position="center" />
|
|
34
|
+
<div class="logo-small" />
|
|
35
|
+
</div>
|
|
36
|
+
<div class="my-4 p-4 border-l-4 border-blue-600 bg-blue-100">
|
|
37
|
+
<p class="text-xs">
|
|
38
|
+
<code><div class="logo-icon-medium"></div> | <div class="logo-medium"></div></code>
|
|
39
|
+
</p>
|
|
40
|
+
</div>
|
|
41
|
+
</section>
|
|
42
|
+
</div>
|
|
43
43
|
</template>
|
|
44
44
|
|
|
45
45
|
<script>
|
|
46
|
-
import
|
|
46
|
+
import { defineComponent } from 'vue';
|
|
47
47
|
|
|
48
|
-
export default
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
48
|
+
export default defineComponent({
|
|
49
|
+
name: 'TimusCascader',
|
|
50
|
+
data() {
|
|
51
|
+
return {
|
|
52
|
+
url: 'https://api.dicebear.com/7.x/adventurer-neutral/svg?seed=Princess',
|
|
53
|
+
sizeList: ['xlarge', 'large', 'medium', 'small', 'xsmall'],
|
|
54
|
+
};
|
|
55
|
+
},
|
|
56
56
|
});
|
|
57
57
|
</script>
|
|
@@ -7,33 +7,39 @@
|
|
|
7
7
|
<div class="grid grid-flow-col auto-cols-max gap-4">
|
|
8
8
|
<el-dropdown trigger="click">
|
|
9
9
|
<span class="el-dropdown-link"> Dropdown List<i class="el-icon-arrow-down el-icon--right" /> </span>
|
|
10
|
-
<
|
|
11
|
-
<el-dropdown-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
10
|
+
<template #dropdown>
|
|
11
|
+
<el-dropdown-menu>
|
|
12
|
+
<el-dropdown-item>Action 1</el-dropdown-item>
|
|
13
|
+
<el-dropdown-item>Action 2</el-dropdown-item>
|
|
14
|
+
<el-dropdown-item>Action 3</el-dropdown-item>
|
|
15
|
+
<el-dropdown-item disabled>Action 4</el-dropdown-item>
|
|
16
|
+
<el-dropdown-item divided>Action 5</el-dropdown-item>
|
|
17
|
+
</el-dropdown-menu>
|
|
18
|
+
</template>
|
|
17
19
|
</el-dropdown>
|
|
18
20
|
<el-dropdown trigger="click">
|
|
19
21
|
<el-button type="primary"> Dropdown List<i class="el-icon-arrow-down el-icon--right" /> </el-button>
|
|
20
|
-
<
|
|
21
|
-
<el-dropdown-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
22
|
+
<template #dropdown>
|
|
23
|
+
<el-dropdown-menu>
|
|
24
|
+
<el-dropdown-item>Action 1</el-dropdown-item>
|
|
25
|
+
<el-dropdown-item>Action 2</el-dropdown-item>
|
|
26
|
+
<el-dropdown-item>Action 3</el-dropdown-item>
|
|
27
|
+
<el-dropdown-item>Action 4</el-dropdown-item>
|
|
28
|
+
<el-dropdown-item>Action 5</el-dropdown-item>
|
|
29
|
+
</el-dropdown-menu>
|
|
30
|
+
</template>
|
|
27
31
|
</el-dropdown>
|
|
28
32
|
<el-dropdown split-button type="success" class="outline" size="small">
|
|
29
33
|
Dropdown List
|
|
30
|
-
<
|
|
31
|
-
<el-dropdown-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
34
|
+
<template #dropdown>
|
|
35
|
+
<el-dropdown-menu>
|
|
36
|
+
<el-dropdown-item>Action 1</el-dropdown-item>
|
|
37
|
+
<el-dropdown-item>Action 2</el-dropdown-item>
|
|
38
|
+
<el-dropdown-item>Action 3</el-dropdown-item>
|
|
39
|
+
<el-dropdown-item>Action 4</el-dropdown-item>
|
|
40
|
+
<el-dropdown-item>Action 5</el-dropdown-item>
|
|
41
|
+
</el-dropdown-menu>
|
|
42
|
+
</template>
|
|
37
43
|
</el-dropdown>
|
|
38
44
|
</div>
|
|
39
45
|
<div class="my-4 p-4 border-l-4 border-info-600 bg-info-100">
|
|
@@ -60,7 +66,9 @@
|
|
|
60
66
|
<el-button>Cancel</el-button>
|
|
61
67
|
<el-button>Save</el-button>
|
|
62
68
|
</div>
|
|
63
|
-
<
|
|
69
|
+
<template #reference>
|
|
70
|
+
<el-button type="primary" size="small">Click to activate</el-button>
|
|
71
|
+
</template>
|
|
64
72
|
</el-popover>
|
|
65
73
|
</div>
|
|
66
74
|
<div class="my-4 p-4 border-l-4 border-info-600 bg-info-100">
|
|
@@ -88,16 +96,24 @@
|
|
|
88
96
|
</p>
|
|
89
97
|
<div class="grid grid-flow-col auto-cols-max gap-4">
|
|
90
98
|
<el-popover placement="right" title="Başlık" width="200" trigger="click" content="Bu içerik, bu içerik, bu içerik">
|
|
91
|
-
<
|
|
99
|
+
<template #reference>
|
|
100
|
+
<el-button>Sağ</el-button>
|
|
101
|
+
</template>
|
|
92
102
|
</el-popover>
|
|
93
103
|
<el-popover placement="bottom" title="Başlık" width="200" trigger="click" content="Bu içerik, bu içerik, bu içerik">
|
|
94
|
-
<
|
|
104
|
+
<template #reference>
|
|
105
|
+
<el-button>Alt</el-button>
|
|
106
|
+
</template>
|
|
95
107
|
</el-popover>
|
|
96
108
|
<el-popover placement="top" title="Başlık" width="200" trigger="click" content="Bu içerik, bu içerik, bu içerik">
|
|
97
|
-
<
|
|
109
|
+
<template #reference>
|
|
110
|
+
<el-button>Üst</el-button>
|
|
111
|
+
</template>
|
|
98
112
|
</el-popover>
|
|
99
113
|
<el-popover placement="left" title="Başlık" width="200" trigger="click" content="Bu içerik, bu içerik, bu içerik">
|
|
100
|
-
<
|
|
114
|
+
<template #reference>
|
|
115
|
+
<el-button>Sol</el-button>
|
|
116
|
+
</template>
|
|
101
117
|
</el-popover>
|
|
102
118
|
</div>
|
|
103
119
|
<div class="my-4 p-4 border-l-4 border-info-600 bg-info-100">
|
|
@@ -348,10 +364,11 @@
|
|
|
348
364
|
</section>
|
|
349
365
|
</div>
|
|
350
366
|
</template>
|
|
367
|
+
|
|
351
368
|
<script>
|
|
352
|
-
import
|
|
369
|
+
import { defineComponent } from 'vue';
|
|
353
370
|
|
|
354
|
-
export default
|
|
371
|
+
export default defineComponent({
|
|
355
372
|
name: 'TimusButtonSample',
|
|
356
373
|
data() {
|
|
357
374
|
return {
|