@timus-networks/theme 1.0.159 → 1.0.162
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-js/interfaces.d.ts +10 -0
- 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.html +896 -0
- 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 +5 -4
- package/output/main.css +1 -1
- package/package.json +3 -1
- package/fonts/poppins-font-face/demo.html +0 -424
|
@@ -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 {
|
|
@@ -47,43 +47,43 @@
|
|
|
47
47
|
<section>
|
|
48
48
|
<div>
|
|
49
49
|
<el-radio-group v-model="radio1">
|
|
50
|
-
<el-radio-button label="New York"
|
|
51
|
-
<el-radio-button label="Washington"
|
|
52
|
-
<el-radio-button label="Los Angeles"
|
|
53
|
-
<el-radio-button label="Chicago"
|
|
50
|
+
<el-radio-button label="New York" />
|
|
51
|
+
<el-radio-button label="Washington" />
|
|
52
|
+
<el-radio-button label="Los Angeles" />
|
|
53
|
+
<el-radio-button label="Chicago" />
|
|
54
54
|
</el-radio-group>
|
|
55
55
|
</div>
|
|
56
56
|
<div style="margin-top: 20px">
|
|
57
57
|
<el-radio-group v-model="radio2" size="medium">
|
|
58
|
-
<el-radio-button label="New York"
|
|
59
|
-
<el-radio-button label="Washington"
|
|
60
|
-
<el-radio-button label="Los Angeles"
|
|
61
|
-
<el-radio-button label="Chicago"
|
|
58
|
+
<el-radio-button label="New York" />
|
|
59
|
+
<el-radio-button label="Washington" />
|
|
60
|
+
<el-radio-button label="Los Angeles" />
|
|
61
|
+
<el-radio-button label="Chicago" />
|
|
62
62
|
</el-radio-group>
|
|
63
63
|
</div>
|
|
64
64
|
<div style="margin-top: 20px">
|
|
65
65
|
<el-radio-group v-model="radio3" size="small">
|
|
66
|
-
<el-radio-button label="New York"
|
|
67
|
-
<el-radio-button label="Washington" disabled
|
|
68
|
-
<el-radio-button label="Los Angeles"
|
|
69
|
-
<el-radio-button label="Chicago"
|
|
66
|
+
<el-radio-button label="New York" />
|
|
67
|
+
<el-radio-button label="Washington" disabled />
|
|
68
|
+
<el-radio-button label="Los Angeles" />
|
|
69
|
+
<el-radio-button label="Chicago" />
|
|
70
70
|
</el-radio-group>
|
|
71
71
|
</div>
|
|
72
72
|
<div style="margin-top: 20px">
|
|
73
73
|
<el-radio-group v-model="radio4" disabled size="mini">
|
|
74
|
-
<el-radio-button label="New York"
|
|
75
|
-
<el-radio-button label="Washington"
|
|
76
|
-
<el-radio-button label="Los Angeles"
|
|
77
|
-
<el-radio-button label="Chicago"
|
|
74
|
+
<el-radio-button label="New York" />
|
|
75
|
+
<el-radio-button label="Washington" />
|
|
76
|
+
<el-radio-button label="Los Angeles" />
|
|
77
|
+
<el-radio-button label="Chicago" />
|
|
78
78
|
</el-radio-group>
|
|
79
79
|
</div>
|
|
80
80
|
</section>
|
|
81
81
|
</div>
|
|
82
82
|
</template>
|
|
83
83
|
|
|
84
|
-
<script>import
|
|
84
|
+
<script>import { defineComponent } from 'vue';
|
|
85
85
|
const cityOptions = ['Shanghai', 'Beijing', 'Guangzhou', 'Shenzhen'];
|
|
86
|
-
export default
|
|
86
|
+
export default defineComponent({
|
|
87
87
|
data() {
|
|
88
88
|
return {
|
|
89
89
|
checked: true,
|
|
@@ -146,7 +146,7 @@ export default Vue.extend({
|
|
|
146
146
|
this.isIndeterminate = false;
|
|
147
147
|
},
|
|
148
148
|
handleCheckedCitiesChange(value) {
|
|
149
|
-
|
|
149
|
+
const checkedCount = value.length;
|
|
150
150
|
this.checkAll = checkedCount === this.cities.length;
|
|
151
151
|
this.isIndeterminate = checkedCount > 0 && checkedCount < this.cities.length;
|
|
152
152
|
},
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<h1>Basic</h1>
|
|
5
5
|
<p class="p-lg my-6">Standart metin girişi için temel <code>el-input</code> bileşenini kullanabilirsiniz.</p>
|
|
6
6
|
<div class="grid grid-flow-col auto-cols-max gap-4">
|
|
7
|
-
<el-switch v-model="value1"
|
|
7
|
+
<el-switch v-model="value1" />
|
|
8
8
|
</div>
|
|
9
9
|
<div class="my-4 p-4 border-l-4 border-blue-600 bg-blue-100">
|
|
10
10
|
<p class="text-xs">
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
<h1>Custom Color</h1>
|
|
18
18
|
<p class="p-lg my-6">Standart metin girişi için temel <code>el-input</code> bileşenini kullanabilirsiniz.</p>
|
|
19
19
|
<div class="grid grid-flow-col auto-cols-max gap-4">
|
|
20
|
-
<el-switch v-model="value2" active-color="#13ce66" inactive-color="#ff4949"
|
|
20
|
+
<el-switch v-model="value2" active-color="#13ce66" inactive-color="#ff4949" />
|
|
21
21
|
</div>
|
|
22
22
|
<div class="my-4 p-4 border-l-4 border-blue-600 bg-blue-100">
|
|
23
23
|
<p class="text-xs">
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
<h1>Text description</h1>
|
|
31
31
|
<p class="p-lg my-6">You can add active-text and inactive-text attribute to show texts.</p>
|
|
32
32
|
<div class="grid grid-flow-col auto-cols-max gap-4">
|
|
33
|
-
<el-switch v-model="value1" active-text="Pay by month" inactive-text="Pay by year"
|
|
33
|
+
<el-switch v-model="value1" active-text="Pay by month" inactive-text="Pay by year" />
|
|
34
34
|
</div>
|
|
35
35
|
<div class="my-4 p-4 border-l-4 border-blue-600 bg-blue-100">
|
|
36
36
|
<p class="text-xs">
|
|
@@ -43,8 +43,8 @@
|
|
|
43
43
|
<h1>Disabled</h1>
|
|
44
44
|
<p class="p-lg my-6">Standart metin girişi için temel <code>el-input</code> bileşenini kullanabilirsiniz.</p>
|
|
45
45
|
<div class="grid grid-flow-col auto-cols-max gap-4">
|
|
46
|
-
<el-switch v-model="value1" disabled inactive-text="Pay by year"
|
|
47
|
-
<el-switch v-model="value2" disabled inactive-text="Pay by year"
|
|
46
|
+
<el-switch v-model="value1" disabled inactive-text="Pay by year" />
|
|
47
|
+
<el-switch v-model="value2" disabled inactive-text="Pay by year" />
|
|
48
48
|
</div>
|
|
49
49
|
<div class="my-4 p-4 border-l-4 border-blue-600 bg-blue-100">
|
|
50
50
|
<p class="text-xs">
|
|
@@ -54,10 +54,11 @@
|
|
|
54
54
|
</section>
|
|
55
55
|
</div>
|
|
56
56
|
</template>
|
|
57
|
+
|
|
57
58
|
<script>
|
|
58
|
-
import
|
|
59
|
+
import { defineComponent } from 'vue';
|
|
59
60
|
|
|
60
|
-
export default
|
|
61
|
+
export default defineComponent({
|
|
61
62
|
name: 'TimusButtonSample',
|
|
62
63
|
data() {
|
|
63
64
|
return {
|
|
@@ -73,19 +74,24 @@ export default Vue.extend({
|
|
|
73
74
|
7: 'grid-cols-7',
|
|
74
75
|
8: 'grid-cols-8',
|
|
75
76
|
};
|
|
77
|
+
|
|
76
78
|
return grids;
|
|
77
79
|
},
|
|
78
80
|
},
|
|
81
|
+
mounted() {
|
|
82
|
+
this.links = this.loadAll();
|
|
83
|
+
},
|
|
79
84
|
methods: {
|
|
80
85
|
querySearch(queryString, cb) {
|
|
81
|
-
|
|
82
|
-
|
|
86
|
+
const { links } = this;
|
|
87
|
+
const results = queryString ? links.filter(this.createFilter(queryString)) : links;
|
|
88
|
+
|
|
83
89
|
// call callback function to return suggestions
|
|
84
90
|
cb(results);
|
|
85
91
|
},
|
|
86
92
|
querySearchAsync(queryString, cb) {
|
|
87
|
-
|
|
88
|
-
|
|
93
|
+
const { links } = this;
|
|
94
|
+
const results = queryString ? links.filter(this.createFilter(queryString)) : links;
|
|
89
95
|
|
|
90
96
|
clearTimeout(this.timeout);
|
|
91
97
|
this.timeout = setTimeout(() => {
|
|
@@ -93,9 +99,7 @@ export default Vue.extend({
|
|
|
93
99
|
}, 3000 * Math.random());
|
|
94
100
|
},
|
|
95
101
|
createFilter(queryString) {
|
|
96
|
-
return (link) =>
|
|
97
|
-
return link.value.toLowerCase().indexOf(queryString.toLowerCase()) === 0;
|
|
98
|
-
};
|
|
102
|
+
return (link) => link.value.toLowerCase().indexOf(queryString.toLowerCase()) === 0;
|
|
99
103
|
},
|
|
100
104
|
loadAll() {
|
|
101
105
|
return [
|
|
@@ -115,8 +119,5 @@ export default Vue.extend({
|
|
|
115
119
|
console.log(ev);
|
|
116
120
|
},
|
|
117
121
|
},
|
|
118
|
-
mounted() {
|
|
119
|
-
this.links = this.loadAll();
|
|
120
|
-
},
|
|
121
122
|
});
|
|
122
123
|
</script>
|
|
@@ -59,21 +59,10 @@
|
|
|
59
59
|
</div>
|
|
60
60
|
</template>
|
|
61
61
|
<script>
|
|
62
|
-
import
|
|
62
|
+
import { defineComponent } from 'vue';
|
|
63
63
|
|
|
64
|
-
export default
|
|
64
|
+
export default defineComponent({
|
|
65
65
|
name: 'ThemeTable',
|
|
66
|
-
computed: {
|
|
67
|
-
gridSize() {
|
|
68
|
-
const grids = {
|
|
69
|
-
5: 'grid-cols-5',
|
|
70
|
-
6: 'grid-cols-6',
|
|
71
|
-
7: 'grid-cols-7',
|
|
72
|
-
8: 'grid-cols-8',
|
|
73
|
-
};
|
|
74
|
-
return grids;
|
|
75
|
-
},
|
|
76
|
-
},
|
|
77
66
|
data() {
|
|
78
67
|
return {
|
|
79
68
|
multipleSelection: [],
|
|
@@ -148,6 +137,18 @@ export default Vue.extend({
|
|
|
148
137
|
],
|
|
149
138
|
};
|
|
150
139
|
},
|
|
140
|
+
computed: {
|
|
141
|
+
gridSize() {
|
|
142
|
+
const grids = {
|
|
143
|
+
5: 'grid-cols-5',
|
|
144
|
+
6: 'grid-cols-6',
|
|
145
|
+
7: 'grid-cols-7',
|
|
146
|
+
8: 'grid-cols-8',
|
|
147
|
+
};
|
|
148
|
+
|
|
149
|
+
return grids;
|
|
150
|
+
},
|
|
151
|
+
},
|
|
151
152
|
methods: {
|
|
152
153
|
toggleSelection(rows) {
|
|
153
154
|
if (rows) {
|
|
@@ -175,7 +176,8 @@ export default Vue.extend({
|
|
|
175
176
|
},
|
|
176
177
|
filterHandler(value, row, column) {
|
|
177
178
|
console.log(row, column, value);
|
|
178
|
-
const property = column
|
|
179
|
+
const { property } = column;
|
|
180
|
+
|
|
179
181
|
return row[property] === value;
|
|
180
182
|
},
|
|
181
183
|
handleSizeChange(val) {
|
|
@@ -22,18 +22,18 @@
|
|
|
22
22
|
<div class="h2 text-gray-600">FontSize</div>
|
|
23
23
|
<div class="h2 text-gray-600 hidden md:block">LineHeight</div>
|
|
24
24
|
<template v-for="(item, index) in helperClasses">
|
|
25
|
-
<div class="flex items-center text-gray-800" :class="item.name">{{ item.name }}</div>
|
|
26
|
-
<div class="flex items-center">{{ item.fontSize }}</div>
|
|
27
|
-
<div class="flex items-center hidden md:block">{{ item.lineHeight }}</div>
|
|
25
|
+
<div :key="item.name" class="flex items-center text-gray-800" :class="item.name">{{ item.name }}</div>
|
|
26
|
+
<div :key="item.name" class="flex items-center">{{ item.fontSize }}</div>
|
|
27
|
+
<div :key="item.name" class="flex items-center hidden md:block">{{ item.lineHeight }}</div>
|
|
28
28
|
</template>
|
|
29
29
|
</div>
|
|
30
30
|
</div>
|
|
31
31
|
</template>
|
|
32
32
|
|
|
33
33
|
<script>
|
|
34
|
-
import
|
|
34
|
+
import { defineComponent } from 'vue';
|
|
35
35
|
|
|
36
|
-
export default
|
|
36
|
+
export default defineComponent({
|
|
37
37
|
name: 'TimusTypoSample',
|
|
38
38
|
data() {
|
|
39
39
|
return {
|
|
@@ -31,11 +31,13 @@
|
|
|
31
31
|
</div>
|
|
32
32
|
</template>
|
|
33
33
|
<script>
|
|
34
|
+
import { defineComponent } from 'vue';
|
|
35
|
+
|
|
34
36
|
import ThemeInputNumbers from './ThemeInputNumbers.vue';
|
|
35
37
|
import ThemeInputs from './ThemeInputs.vue';
|
|
36
38
|
import ThemePopover from './ThemePopover.vue';
|
|
37
39
|
|
|
38
|
-
export default {
|
|
40
|
+
export default defineComponent({
|
|
39
41
|
components: { ThemeInputs, ThemeInputNumbers, ThemePopover },
|
|
40
42
|
data() {
|
|
41
43
|
return {
|
|
@@ -47,5 +49,5 @@ export default {
|
|
|
47
49
|
console.log(tab, event);
|
|
48
50
|
},
|
|
49
51
|
},
|
|
50
|
-
};
|
|
52
|
+
});
|
|
51
53
|
</script>
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<h1>Alert</h1>
|
|
5
5
|
<p class="p-lg-c my-6">Uyarı bileşenleri, sayfada otomatik olarak kaybolmayan non-overlay mesajlarını görüntülemek için kullanılır.</p>
|
|
6
6
|
<div class="grid grid-flow-col auto-cols-max gap-4">
|
|
7
|
-
<el-alert :title="`${item}`" :type="item" class="isax-activity"
|
|
7
|
+
<el-alert v-for="(item, key) in colors" :key="key" :title="`${item}`" :type="item" class="isax-activity" />
|
|
8
8
|
</div>
|
|
9
9
|
<div class="my-4 p-4 border-l-4 border-blue-600 bg-blue-100">
|
|
10
10
|
<p class="text-xs">
|
|
@@ -15,10 +15,15 @@
|
|
|
15
15
|
</div>
|
|
16
16
|
</template>
|
|
17
17
|
<script>
|
|
18
|
-
import
|
|
18
|
+
import { defineComponent } from 'vue';
|
|
19
19
|
|
|
20
|
-
export default
|
|
20
|
+
export default defineComponent({
|
|
21
21
|
name: 'ThemeTable',
|
|
22
|
+
data() {
|
|
23
|
+
return {
|
|
24
|
+
colors: ['primary', 'secondary', 'gray', 'warning', 'danger', 'info', 'success'],
|
|
25
|
+
};
|
|
26
|
+
},
|
|
22
27
|
computed: {
|
|
23
28
|
gridSize() {
|
|
24
29
|
const grids = {
|
|
@@ -27,14 +32,10 @@ export default Vue.extend({
|
|
|
27
32
|
7: 'grid-cols-7',
|
|
28
33
|
8: 'grid-cols-8',
|
|
29
34
|
};
|
|
35
|
+
|
|
30
36
|
return grids;
|
|
31
37
|
},
|
|
32
38
|
},
|
|
33
|
-
data() {
|
|
34
|
-
return {
|
|
35
|
-
colors: ['primary', 'secondary', 'gray', 'warning', 'danger', 'info', 'success'],
|
|
36
|
-
};
|
|
37
|
-
},
|
|
38
39
|
methods: {
|
|
39
40
|
toggleSelection(rows) {
|
|
40
41
|
if (rows) {
|
|
@@ -62,7 +63,8 @@ export default Vue.extend({
|
|
|
62
63
|
},
|
|
63
64
|
filterHandler(value, row, column) {
|
|
64
65
|
console.log(row, column, value);
|
|
65
|
-
const property = column
|
|
66
|
+
const { property } = column;
|
|
67
|
+
|
|
66
68
|
return row[property] === value;
|
|
67
69
|
},
|
|
68
70
|
handleSizeChange(val) {
|
|
@@ -13,16 +13,18 @@
|
|
|
13
13
|
</el-badge>
|
|
14
14
|
<el-dropdown trigger="click">
|
|
15
15
|
<span class="el-dropdown-link"> Beni Tıkla<i class="el-icon-caret-bottom el-icon--right" /> </span>
|
|
16
|
-
<
|
|
17
|
-
<el-dropdown-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
16
|
+
<template #dropdown>
|
|
17
|
+
<el-dropdown-menu>
|
|
18
|
+
<el-dropdown-item class="clearfix">
|
|
19
|
+
Yorumlar
|
|
20
|
+
<el-badge class="mark" :value="12" />
|
|
21
|
+
</el-dropdown-item>
|
|
22
|
+
<el-dropdown-item class="clearfix">
|
|
23
|
+
Yanıtlar
|
|
24
|
+
<el-badge class="mark" :value="3" />
|
|
25
|
+
</el-dropdown-item>
|
|
26
|
+
</el-dropdown-menu>
|
|
27
|
+
</template>
|
|
26
28
|
</el-dropdown>
|
|
27
29
|
</div>
|
|
28
30
|
<div class="my-4 p-4 border-l-4 border-blue-600 bg-blue-100">
|
|
@@ -74,9 +76,9 @@
|
|
|
74
76
|
</template>
|
|
75
77
|
|
|
76
78
|
<script>
|
|
77
|
-
import
|
|
79
|
+
import { defineComponent } from 'vue';
|
|
78
80
|
|
|
79
|
-
export default
|
|
81
|
+
export default defineComponent({
|
|
80
82
|
name: 'TimusCascader',
|
|
81
83
|
data() {
|
|
82
84
|
return {
|