@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.
Files changed (116) hide show
  1. package/components-js/ThemeAlert.vue +11 -9
  2. package/components-js/ThemeAvatar.vue +2 -2
  3. package/components-js/ThemeBadge.vue +14 -12
  4. package/components-js/ThemeButtons.vue +2 -2
  5. package/components-js/ThemeCascader.vue +13 -13
  6. package/components-js/ThemeCheckbox.vue +2 -2
  7. package/components-js/ThemeCollapse.vue +9 -7
  8. package/components-js/ThemeDialog.vue +41 -39
  9. package/components-js/ThemeForm.vue +2 -2
  10. package/components-js/ThemeInformation.vue +12 -12
  11. package/components-js/ThemeInputNumbers.vue +19 -17
  12. package/components-js/ThemeInputs.vue +16 -9
  13. package/components-js/ThemeLink.vue +2 -2
  14. package/components-js/ThemeLogo.vue +49 -49
  15. package/components-js/ThemeMessageBox.vue +3 -2
  16. package/components-js/ThemePopover.vue +45 -28
  17. package/components-js/ThemeRadio.vue +19 -19
  18. package/components-js/ThemeSelect.vue +2 -2
  19. package/components-js/ThemeSidebar.vue +2 -2
  20. package/components-js/ThemeTable.vue +2 -2
  21. package/components-js/ThemeTag.vue +2 -2
  22. package/components-js/ThemeToggle.vue +18 -17
  23. package/components-js/ThemeTooltip.vue +16 -14
  24. package/components-js/ThemeTypo.vue +5 -5
  25. package/components-js/ThemeUpload.vue +3 -2
  26. package/components-js/TimusSamples.vue +4 -2
  27. package/components-ts/ThemeAlert.vue +11 -9
  28. package/components-ts/ThemeAvatar.vue +2 -2
  29. package/components-ts/ThemeBadge.vue +14 -12
  30. package/components-ts/ThemeButtons.vue +2 -2
  31. package/components-ts/ThemeCascader.vue +13 -13
  32. package/components-ts/ThemeCheckbox.vue +2 -2
  33. package/components-ts/ThemeCollapse.vue +9 -7
  34. package/components-ts/ThemeDialog.vue +41 -39
  35. package/components-ts/ThemeForm.vue +2 -2
  36. package/components-ts/ThemeInformation.vue +12 -12
  37. package/components-ts/ThemeInputNumbers.vue +19 -17
  38. package/components-ts/ThemeInputs.vue +16 -9
  39. package/components-ts/ThemeLink.vue +2 -2
  40. package/components-ts/ThemeLogo.vue +49 -49
  41. package/components-ts/ThemeMessageBox.vue +3 -2
  42. package/components-ts/ThemePopover.vue +45 -28
  43. package/components-ts/ThemeRadio.vue +21 -19
  44. package/components-ts/ThemeSelect.vue +2 -2
  45. package/components-ts/ThemeSidebar.vue +2 -2
  46. package/components-ts/ThemeTable.vue +2 -2
  47. package/components-ts/ThemeTag.vue +2 -2
  48. package/components-ts/ThemeToggle.vue +18 -17
  49. package/components-ts/ThemeTooltip.vue +16 -14
  50. package/components-ts/ThemeTypo.vue +5 -5
  51. package/components-ts/ThemeUpload.vue +3 -2
  52. package/components-ts/TimusSamples.vue +4 -2
  53. package/fonts/poppins-font-face/Poppins.jpg +0 -0
  54. package/fonts/poppins-font-face/README.md +106 -0
  55. package/fonts/poppins-font-face/files/Poppins-Black.eot +0 -0
  56. package/fonts/poppins-font-face/files/Poppins-Black.svg +3099 -0
  57. package/fonts/poppins-font-face/files/Poppins-Black.ttf +0 -0
  58. package/fonts/poppins-font-face/files/Poppins-Black.woff +0 -0
  59. package/fonts/poppins-font-face/files/Poppins-Black.woff2 +0 -0
  60. package/fonts/poppins-font-face/files/Poppins-BlackItalic.ttf +0 -0
  61. package/fonts/poppins-font-face/files/Poppins-Bold.eot +0 -0
  62. package/fonts/poppins-font-face/files/Poppins-Bold.svg +3131 -0
  63. package/fonts/poppins-font-face/files/Poppins-Bold.ttf +0 -0
  64. package/fonts/poppins-font-face/files/Poppins-Bold.woff +0 -0
  65. package/fonts/poppins-font-face/files/Poppins-Bold.woff2 +0 -0
  66. package/fonts/poppins-font-face/files/Poppins-BoldItalic.ttf +0 -0
  67. package/fonts/poppins-font-face/files/Poppins-ExtraBold.eot +0 -0
  68. package/fonts/poppins-font-face/files/Poppins-ExtraBold.svg +3120 -0
  69. package/fonts/poppins-font-face/files/Poppins-ExtraBold.ttf +0 -0
  70. package/fonts/poppins-font-face/files/Poppins-ExtraBold.woff +0 -0
  71. package/fonts/poppins-font-face/files/Poppins-ExtraBold.woff2 +0 -0
  72. package/fonts/poppins-font-face/files/Poppins-ExtraBoldItalic.ttf +0 -0
  73. package/fonts/poppins-font-face/files/Poppins-ExtraLight.eot +0 -0
  74. package/fonts/poppins-font-face/files/Poppins-ExtraLight.svg +3245 -0
  75. package/fonts/poppins-font-face/files/Poppins-ExtraLight.ttf +0 -0
  76. package/fonts/poppins-font-face/files/Poppins-ExtraLight.woff +0 -0
  77. package/fonts/poppins-font-face/files/Poppins-ExtraLight.woff2 +0 -0
  78. package/fonts/poppins-font-face/files/Poppins-ExtraLightItalic.ttf +0 -0
  79. package/fonts/poppins-font-face/files/Poppins-Italic.eot +0 -0
  80. package/fonts/poppins-font-face/files/Poppins-Italic.svg +3414 -0
  81. package/fonts/poppins-font-face/files/Poppins-Italic.ttf +0 -0
  82. package/fonts/poppins-font-face/files/Poppins-Italic.woff +0 -0
  83. package/fonts/poppins-font-face/files/Poppins-Italic.woff2 +0 -0
  84. package/fonts/poppins-font-face/files/Poppins-Light.eot +0 -0
  85. package/fonts/poppins-font-face/files/Poppins-Light.svg +3244 -0
  86. package/fonts/poppins-font-face/files/Poppins-Light.ttf +0 -0
  87. package/fonts/poppins-font-face/files/Poppins-Light.woff +0 -0
  88. package/fonts/poppins-font-face/files/Poppins-Light.woff2 +0 -0
  89. package/fonts/poppins-font-face/files/Poppins-LightItalic.ttf +0 -0
  90. package/fonts/poppins-font-face/files/Poppins-Medium.eot +0 -0
  91. package/fonts/poppins-font-face/files/Poppins-Medium.svg +3190 -0
  92. package/fonts/poppins-font-face/files/Poppins-Medium.ttf +0 -0
  93. package/fonts/poppins-font-face/files/Poppins-Medium.woff +0 -0
  94. package/fonts/poppins-font-face/files/Poppins-Medium.woff2 +0 -0
  95. package/fonts/poppins-font-face/files/Poppins-MediumItalic.ttf +0 -0
  96. package/fonts/poppins-font-face/files/Poppins-Regular.eot +0 -0
  97. package/fonts/poppins-font-face/files/Poppins-Regular.svg +3213 -0
  98. package/fonts/poppins-font-face/files/Poppins-Regular.ttf +0 -0
  99. package/fonts/poppins-font-face/files/Poppins-Regular.woff +0 -0
  100. package/fonts/poppins-font-face/files/Poppins-Regular.woff2 +0 -0
  101. package/fonts/poppins-font-face/files/Poppins-SemiBold.eot +0 -0
  102. package/fonts/poppins-font-face/files/Poppins-SemiBold.svg +3174 -0
  103. package/fonts/poppins-font-face/files/Poppins-SemiBold.ttf +0 -0
  104. package/fonts/poppins-font-face/files/Poppins-SemiBold.woff +0 -0
  105. package/fonts/poppins-font-face/files/Poppins-SemiBold.woff2 +0 -0
  106. package/fonts/poppins-font-face/files/Poppins-SemiBoldItalic.ttf +0 -0
  107. package/fonts/poppins-font-face/files/Poppins-Thin.eot +0 -0
  108. package/fonts/poppins-font-face/files/Poppins-Thin.svg +3266 -0
  109. package/fonts/poppins-font-face/files/Poppins-Thin.ttf +0 -0
  110. package/fonts/poppins-font-face/files/Poppins-Thin.woff +0 -0
  111. package/fonts/poppins-font-face/files/Poppins-Thin.woff2 +0 -0
  112. package/fonts/poppins-font-face/files/Poppins-ThinItalic.ttf +0 -0
  113. package/fonts/poppins-font-face/stylesheet.css +27 -9
  114. package/index.d.ts +1 -1
  115. package/output/main.css +1 -1
  116. package/package.json +1 -1
@@ -116,11 +116,11 @@
116
116
  </div>
117
117
  </template>
118
118
  <script lang="ts">
119
- import Vue from 'vue';
119
+ import { defineComponent } from 'vue';
120
120
 
121
121
  const cityOptions = ['Shanghai', 'Beijing', 'Guangzhou', 'Shenzhen'];
122
122
 
123
- export default Vue.extend({
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 Vue from 'vue';
46
+ import { defineComponent } from 'vue';
46
47
 
47
- export default Vue.extend({
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
- <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 title="Tips" :visible.sync="dialogVisible" :before-close="handleClose">
12
- <span>This is a message</span>
13
- <span slot="footer" class="dialog-footer">
14
- <el-button @click="dialogVisible = false">Cancel</el-button>
15
- <el-button type="primary" @click="dialogVisible = false">Confirm</el-button>
16
- </span>
17
- </el-dialog>
18
- </div>
19
- <div class="my-4 p-4 border-l-4 border-blue-600 bg-blue-100">
20
- <p class="text-xs">
21
- <code>&lt;div class="logo-medium"&gt;&lt;/div&gt;</code>
22
- </p>
23
- </div>
24
- </section>
25
- </div>
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>&lt;div class="logo-medium"&gt;&lt;/div&gt;</code>
24
+ </p>
25
+ </div>
26
+ </section>
27
+ </div>
26
28
  </template>
27
29
 
28
30
  <script>
29
- import Vue from 'vue';
31
+ import { defineComponent } from 'vue';
30
32
 
31
- export default Vue.extend({
32
- data() {
33
- return {
34
- dialogVisible: false,
35
- };
36
- },
37
- methods: {
38
- handleClose(done) {
39
- this.$confirm('Are you sure to close this dialog?')
40
- .then((_) => {
41
- done();
42
- })
43
- .catch((_) => {});
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 Vue from 'vue';
79
+ import { defineComponent } from 'vue';
80
80
 
81
81
  const cityOptions = ['Shanghai', 'Beijing', 'Guangzhou', 'Shenzhen'];
82
82
 
83
- export default Vue.extend({
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 Vue from 'vue';
63
+ import { defineComponent } from 'vue';
64
64
 
65
- export default Vue.extend({
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
- var links = this.links;
87
- var results = queryString ? links.filter(this.createFilter(queryString)) : links;
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
- var links = this.links;
93
- var results = queryString ? links.filter(this.createFilter(queryString)) : links;
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" disabled></el-input-number>
8
- <el-input-number v-model="input" size="large" controls-position="right" @change="handleChange"></el-input-number>
9
- <el-input-number v-model="input" size="medium" controls-position="right" @change="handleChange"></el-input-number>
10
- <el-input-number v-model="input" size="small" controls-position="right" @change="handleChange"></el-input-number>
11
- <el-input-number v-model="input" size="mini" controls-position="right" @change="handleChange"></el-input-number>
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" @change="handleChange" :min="1" :max="10000" disabled></el-input-number>
28
- <el-input-number size="large" v-model="num" @change="handleChange" :min="1" :max="10000"></el-input-number>
29
- <el-input-number size="medium" v-model="num" @change="handleChange" :min="1" :max="10000"></el-input-number>
30
- <el-input-number size="small" v-model="num" @change="handleChange" :min="1" :max="10000"></el-input-number>
31
- <el-input-number size="mini" v-model="num" @change="handleChange" :min="1" :max="10000"></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 Vue from 'vue';
46
+ import { defineComponent } from 'vue';
46
47
 
47
- export default Vue.extend({
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
- <el-select slot="prepend" v-model="select" placeholder="Select">
115
- <el-option label="Restaurant" value="1" />
116
- <el-option label="Order No." value="2" />
117
- <el-option label="Tel" value="3" />
118
- </el-select>
119
- <el-button slot="append" icon="el-icon-search" />
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
- <i slot="suffix" class="el-icon-edit el-input__icon" @click="handleIconClick" />
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 Vue from 'vue';
238
+ import { defineComponent } from 'vue';
232
239
 
233
- export default Vue.extend({
240
+ export default defineComponent({
234
241
  name: 'TimusButtonSample',
235
242
  data() {
236
243
  return {
@@ -97,9 +97,9 @@
97
97
  </template>
98
98
 
99
99
  <script>
100
- import Vue from 'vue';
100
+ import { defineComponent } from 'vue';
101
101
 
102
- export default Vue.extend({
102
+ export default defineComponent({
103
103
  name: 'TimusButtonSample',
104
104
  data() {
105
105
  return {
@@ -1,57 +1,57 @@
1
1
  <template>
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"></div>
11
- <div class="logo-icon-medium"></div>
12
- <div class="logo-icon-large"></div>
13
- <el-divider direction="vertical" content-position="center"></el-divider>
14
- <div class="logo-small"></div>
15
- <div class="logo-medium"></div>
16
- <div class="logo-large"></div>
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>&lt;div class="logo-medium"&gt;&lt;/div&gt;</code>
21
- </p>
22
- </div>
23
- </section>
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>&lt;div class="logo-medium"&gt;&lt;/div&gt;</code>
21
+ </p>
22
+ </div>
23
+ </section>
24
24
 
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
29
- icon along 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"></div>
33
- <el-divider direction="vertical" content-position="center"></el-divider>
34
- <div class="logo-small"></div>
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>&lt;div class="logo-icon-medium"&gt;&lt;/div&gt; | &lt;div class="logo-medium"&gt;&lt;/div&gt;</code>
39
- </p>
40
- </div>
41
- </section>
42
- </div>
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>&lt;div class="logo-icon-medium"&gt;&lt;/div&gt; | &lt;div class="logo-medium"&gt;&lt;/div&gt;</code>
39
+ </p>
40
+ </div>
41
+ </section>
42
+ </div>
43
43
  </template>
44
44
 
45
45
  <script>
46
- import Vue from 'vue';
46
+ import { defineComponent } from 'vue';
47
47
 
48
- export default Vue.extend({
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
- },
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>
@@ -16,10 +16,11 @@
16
16
  </section>
17
17
  </div>
18
18
  </template>
19
+
19
20
  <script>
20
- import Vue from 'vue';
21
+ import { defineComponent } from 'vue';
21
22
 
22
- export default Vue.extend({
23
+ export default defineComponent({
23
24
  name: 'TimusMessageBox',
24
25
  methods: {
25
26
  open() {
@@ -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
- <el-dropdown-menu slot="dropdown">
11
- <el-dropdown-item>Action 1</el-dropdown-item>
12
- <el-dropdown-item>Action 2</el-dropdown-item>
13
- <el-dropdown-item>Action 3</el-dropdown-item>
14
- <el-dropdown-item disabled>Action 4</el-dropdown-item>
15
- <el-dropdown-item divided>Action 5</el-dropdown-item>
16
- </el-dropdown-menu>
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
- <el-dropdown-menu slot="dropdown">
21
- <el-dropdown-item>Action 1</el-dropdown-item>
22
- <el-dropdown-item>Action 2</el-dropdown-item>
23
- <el-dropdown-item>Action 3</el-dropdown-item>
24
- <el-dropdown-item>Action 4</el-dropdown-item>
25
- <el-dropdown-item>Action 5</el-dropdown-item>
26
- </el-dropdown-menu>
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
- <el-dropdown-menu slot="dropdown">
31
- <el-dropdown-item>Action 1</el-dropdown-item>
32
- <el-dropdown-item>Action 2</el-dropdown-item>
33
- <el-dropdown-item>Action 3</el-dropdown-item>
34
- <el-dropdown-item>Action 4</el-dropdown-item>
35
- <el-dropdown-item>Action 5</el-dropdown-item>
36
- </el-dropdown-menu>
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
- <el-button slot="reference" type="primary" size="small">Click to activate</el-button>
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
- <el-button slot="reference">Sağ</el-button>
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
- <el-button slot="reference">Alt</el-button>
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
- <el-button slot="reference">Üst</el-button>
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
- <el-button slot="reference">Sol</el-button>
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 Vue from 'vue';
369
+ import { defineComponent } from 'vue';
353
370
 
354
- export default Vue.extend({
371
+ export default defineComponent({
355
372
  name: 'TimusButtonSample',
356
373
  data() {
357
374
  return {