@timus-networks/theme 1.0.184 → 2.0.0
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/TimusIcons.vue +54 -0
- package/generate-icon.js +22 -0
- package/module.ts +84 -0
- package/package.json +17 -18
- package/pages/icons.vue +46 -0
- package/plugins/sample-plugin.ts +5 -0
- package/public/isax/fonts/iconsax.svg +927 -0
- package/public/isax/fonts/iconsax.ttf +0 -0
- package/public/isax/fonts/iconsax.woff +0 -0
- package/public/isax/icons.json +899 -0
- package/public/isax/selection.json +1 -0
- package/public/isax/style.css +1 -0
- package/public/isax/style.scss +5435 -0
- package/public/isax/variables.scss +900 -0
- package/README.md +0 -119
- package/components-js/ThemeAlert.vue +0 -78
- package/components-js/ThemeAvatar.vue +0 -55
- package/components-js/ThemeBadge.vue +0 -106
- package/components-js/ThemeBreadcrumb.vue +0 -44
- package/components-js/ThemeButtons.vue +0 -148
- package/components-js/ThemeCascader.vue +0 -390
- package/components-js/ThemeCheckbox.d.ts +0 -2
- package/components-js/ThemeCheckbox.vue +0 -197
- package/components-js/ThemeCollapse.vue +0 -73
- package/components-js/ThemeDialog.vue +0 -49
- package/components-js/ThemeForm.d.ts +0 -2
- package/components-js/ThemeForm.vue +0 -134
- package/components-js/ThemeInformation.vue +0 -127
- package/components-js/ThemeInputNumbers.vue +0 -74
- package/components-js/ThemeInputs.vue +0 -316
- package/components-js/ThemeLink.vue +0 -110
- package/components-js/ThemeLogo.vue +0 -57
- package/components-js/ThemeMessage.vue +0 -55
- package/components-js/ThemeMessageBox.vue +0 -47
- package/components-js/ThemePopover.vue +0 -557
- package/components-js/ThemeRadio.d.ts +0 -2
- package/components-js/ThemeRadio.vue +0 -164
- package/components-js/ThemeSelect.vue +0 -237
- package/components-js/ThemeSidebar.d.ts +0 -2
- package/components-js/ThemeSidebar.vue +0 -275
- package/components-js/ThemeTable.vue +0 -305
- package/components-js/ThemeTag.vue +0 -145
- package/components-js/ThemeToggle.vue +0 -123
- package/components-js/ThemeTooltip.vue +0 -191
- package/components-js/ThemeTypo.vue +0 -65
- package/components-js/ThemeUpload.vue +0 -92
- package/components-js/TimusSamples.vue +0 -54
- package/components-js/exporter.js +0 -19
- package/components-js/interfaces.js +0 -1
- package/components-js/utils.d.ts +0 -6
- package/components-js/utils.js +0 -17
- package/components-ts/ThemeAlert.vue +0 -78
- package/components-ts/ThemeAvatar.vue +0 -55
- package/components-ts/ThemeBadge.vue +0 -106
- package/components-ts/ThemeBreadcrumb.vue +0 -44
- package/components-ts/ThemeButtons.vue +0 -148
- package/components-ts/ThemeCascader.vue +0 -390
- package/components-ts/ThemeCheckbox.vue +0 -202
- package/components-ts/ThemeCollapse.vue +0 -73
- package/components-ts/ThemeDialog.vue +0 -49
- package/components-ts/ThemeForm.vue +0 -137
- package/components-ts/ThemeInformation.vue +0 -127
- package/components-ts/ThemeInputNumbers.vue +0 -74
- package/components-ts/ThemeInputs.vue +0 -316
- package/components-ts/ThemeLink.vue +0 -110
- package/components-ts/ThemeLogo.vue +0 -57
- package/components-ts/ThemeMessage.vue +0 -55
- package/components-ts/ThemeMessageBox.vue +0 -47
- package/components-ts/ThemePopover.vue +0 -557
- package/components-ts/ThemeRadio.vue +0 -169
- package/components-ts/ThemeSelect.vue +0 -237
- package/components-ts/ThemeSidebar.vue +0 -277
- package/components-ts/ThemeTable.vue +0 -305
- package/components-ts/ThemeTag.vue +0 -145
- package/components-ts/ThemeToggle.vue +0 -123
- package/components-ts/ThemeTooltip.vue +0 -191
- package/components-ts/ThemeTypo.vue +0 -65
- package/components-ts/ThemeUpload.vue +0 -92
- package/components-ts/TimusSamples.vue +0 -54
- package/components-ts/exporter.js +0 -19
- package/components-ts/interfaces.ts +0 -11
- package/components-ts/utils.ts +0 -20
- package/convert-js.js +0 -112
- package/convert-sass.js +0 -26
- package/fonts/poppins-font-face/files/Poppins-Black.eot +0 -0
- package/fonts/poppins-font-face/files/Poppins-Black.svg +0 -3099
- 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 +0 -3131
- 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 +0 -3120
- 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 +0 -3245
- 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 +0 -3414
- 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 +0 -3244
- 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 +0 -3190
- 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 +0 -3213
- 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 +0 -3174
- 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 +0 -3266
- 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 +0 -81
- package/images/applications/apple.png +0 -0
- package/images/applications/apple_icloud.png +0 -0
- package/images/applications/apple_itunes.png +0 -0
- package/images/applications/apple_store.png +0 -0
- package/images/applications/bloomberg.png +0 -0
- package/images/applications/chrome.png +0 -0
- package/images/applications/csgo.png +0 -0
- package/images/applications/dns.png +0 -0
- package/images/applications/dropbox.png +0 -0
- package/images/applications/evil.png +0 -0
- package/images/applications/facebook-messenger.png +0 -0
- package/images/applications/facebook.png +0 -0
- package/images/applications/ftp.png +0 -0
- package/images/applications/gmail.png +0 -0
- package/images/applications/google.png +0 -0
- package/images/applications/google_maps.png +0 -0
- package/images/applications/instagram.png +0 -0
- package/images/applications/linkedin.svg +0 -5
- package/images/applications/messenger.png +0 -0
- package/images/applications/mysql.png +0 -0
- package/images/applications/netflix.png +0 -0
- package/images/applications/nintendo.png +0 -0
- package/images/applications/sap.png +0 -0
- package/images/applications/skype.png +0 -0
- package/images/applications/slack.png +0 -0
- package/images/applications/smtp.png +0 -0
- package/images/applications/snapchat.png +0 -0
- package/images/applications/spotify.png +0 -0
- package/images/applications/ssh.png +0 -0
- package/images/applications/teamspeak.png +0 -0
- package/images/applications/tiktok.png +0 -0
- package/images/applications/twitch.png +0 -0
- package/images/applications/twitter.png +0 -0
- package/images/applications/ubuntuone.png +0 -0
- package/images/applications/utorrent.png +0 -0
- package/images/applications/website.png +0 -0
- package/images/applications/whatsapp.png +0 -0
- package/images/applications/windows-update.png +0 -0
- package/images/applications/youtube.png +0 -0
- package/images/backgrounds/login-icon.png +0 -0
- package/images/backgrounds/login.jpg +0 -0
- package/images/backgrounds/login.png +0 -0
- package/images/cards/amex.svg +0 -20
- package/images/cards/default.svg +0 -18
- package/images/cards/dina.svg +0 -12
- package/images/cards/diners.svg +0 -30
- package/images/cards/discover.svg +0 -28
- package/images/cards/eftpos.svg +0 -21
- package/images/cards/jcb.svg +0 -41
- package/images/cards/mastercard.svg +0 -5
- package/images/cards/unionpay.svg +0 -6
- package/images/cards/visa.svg +0 -3
- package/images/devices/os-android.png +0 -0
- package/images/devices/os-android.svg +0 -6
- package/images/devices/os-apple.svg +0 -4
- package/images/devices/os-default.svg +0 -5
- package/images/devices/os-ios.png +0 -0
- package/images/devices/os-ios.svg +0 -4
- package/images/devices/os-linux-debian.png +0 -0
- package/images/devices/os-linux-ubuntu.png +0 -0
- package/images/devices/os-linux.svg +0 -3
- package/images/devices/os-osx.png +0 -0
- package/images/devices/os-unknown.png +0 -0
- package/images/devices/os-windows.png +0 -0
- package/images/devices/os-windows.svg +0 -3
- package/images/devices/type-laptop-ubuntu.png +0 -0
- package/images/devices/type-laptop.png +0 -0
- package/images/devices/type-printer.png +0 -0
- package/images/devices/type-switch-cisco.png +0 -0
- package/images/logos/timus-favicon.png +0 -0
- package/images/logos/timus-icon.svg +0 -17
- package/images/logos/timus-logo-manager.svg +0 -29
- package/images/logos/timus-logo-partner.svg +0 -35
- package/images/logos/timus-logo.svg +0 -22
- package/index.d.ts +0 -5
- package/loader.js +0 -50
- package/module.js +0 -77
- package/output/main.css +0 -1
- package/plugins/html-to-string.js +0 -36
- package/plugins/js-components-installer.js +0 -22
- package/plugins/theme-provider.js +0 -72
- package/plugins/ts-components-installer.js +0 -22
|
@@ -1,557 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="pt-8 pb-16 flex gap-12 flex-col">
|
|
3
|
-
<h1>Popover</h1>
|
|
4
|
-
<section>
|
|
5
|
-
<h2>Dropdown</h2>
|
|
6
|
-
<p class="p-md-c my-6">Hover on the dropdown menu to unfold it for more actions.</p>
|
|
7
|
-
<div class="grid grid-flow-col auto-cols-max gap-4">
|
|
8
|
-
<el-dropdown trigger="click">
|
|
9
|
-
<span class="el-dropdown-link"> Dropdown List<i class="el-icon-arrow-down el-icon--right" /> </span>
|
|
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>
|
|
19
|
-
</el-dropdown>
|
|
20
|
-
<el-dropdown trigger="click">
|
|
21
|
-
<el-button type="primary"> Dropdown List<i class="el-icon-arrow-down el-icon--right" /> </el-button>
|
|
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>
|
|
31
|
-
</el-dropdown>
|
|
32
|
-
<el-dropdown split-button type="success" class="outline" size="small">
|
|
33
|
-
Dropdown List
|
|
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>
|
|
43
|
-
</el-dropdown>
|
|
44
|
-
</div>
|
|
45
|
-
<div class="my-4 p-4 border-l-4 border-info-600 bg-info-100">
|
|
46
|
-
<p class="text-xs">
|
|
47
|
-
<code>
|
|
48
|
-
<el-dropdown trigger="click"> <span> Dropdown List </span> <el-dropdown-menu slot="dropdown"> <el-dropdown-item
|
|
49
|
-
/> </el-dropdown-menu> </el-popover>
|
|
50
|
-
</code>
|
|
51
|
-
</p>
|
|
52
|
-
</div>
|
|
53
|
-
</section>
|
|
54
|
-
|
|
55
|
-
<section>
|
|
56
|
-
<h2>Popover with Table</h2>
|
|
57
|
-
<p class="p-md-c my-6">Displays tables with popover content</p>
|
|
58
|
-
<div class="grid grid-flow-col auto-cols-max gap-4">
|
|
59
|
-
<el-popover placement="right" width="400" trigger="click">
|
|
60
|
-
<el-table :data="gridData">
|
|
61
|
-
<el-table-column width="150" property="date" label="date" />
|
|
62
|
-
<el-table-column width="100" property="name" label="name" />
|
|
63
|
-
<el-table-column width="300" property="address" label="address" />
|
|
64
|
-
</el-table>
|
|
65
|
-
<div class="popover-footer">
|
|
66
|
-
<el-button>Cancel</el-button>
|
|
67
|
-
<el-button>Save</el-button>
|
|
68
|
-
</div>
|
|
69
|
-
<template #reference>
|
|
70
|
-
<el-button type="primary" size="small">Click to activate</el-button>
|
|
71
|
-
</template>
|
|
72
|
-
</el-popover>
|
|
73
|
-
</div>
|
|
74
|
-
<div class="my-4 p-4 border-l-4 border-info-600 bg-info-100">
|
|
75
|
-
<p class="text-xs">
|
|
76
|
-
<code> <el-popover placement="right" width="400" trigger="click"> <el-table /> </el-popover> </code>
|
|
77
|
-
</p>
|
|
78
|
-
</div>
|
|
79
|
-
|
|
80
|
-
<div class="my-4 p-4 border-l-4 border-info-600 bg-info-100">
|
|
81
|
-
<p class="text-xs">
|
|
82
|
-
<code>
|
|
83
|
-
<el-popover placement="right" width="400" trigger="click"> <el-table /> <div class="popover-footer">
|
|
84
|
-
<el-button>Cancel</el-button> <el-button>Save</el-button> </div> </el-popover>
|
|
85
|
-
</code>
|
|
86
|
-
</p>
|
|
87
|
-
</div>
|
|
88
|
-
</section>
|
|
89
|
-
|
|
90
|
-
<section>
|
|
91
|
-
<h2>Temel Kullanım</h2>
|
|
92
|
-
<p class="p-md-c my-6">
|
|
93
|
-
Popover bileşeni, kullanıcının üzerine geldiğinde veya tıkladığında ek bilgileri veya eylemleri görüntülemek için kullanılır. Örneğinizde,
|
|
94
|
-
farklı yönlere (sağ, alt, üst, sol) yerleştirilmiş dört popover örneği bulunmaktadır. Her bir popover, içeriğini ve başlığını göstermek için
|
|
95
|
-
bir tetikleyici düğme (el-button) kullanmaktadır.
|
|
96
|
-
</p>
|
|
97
|
-
<div class="grid grid-flow-col auto-cols-max gap-4">
|
|
98
|
-
<el-popover placement="right" title="Başlık" width="200" trigger="click" content="Bu içerik, bu içerik, bu içerik">
|
|
99
|
-
<template #reference>
|
|
100
|
-
<el-button>Sağ</el-button>
|
|
101
|
-
</template>
|
|
102
|
-
</el-popover>
|
|
103
|
-
<el-popover placement="bottom" title="Başlık" width="200" trigger="click" content="Bu içerik, bu içerik, bu içerik">
|
|
104
|
-
<template #reference>
|
|
105
|
-
<el-button>Alt</el-button>
|
|
106
|
-
</template>
|
|
107
|
-
</el-popover>
|
|
108
|
-
<el-popover placement="top" title="Başlık" width="200" trigger="click" content="Bu içerik, bu içerik, bu içerik">
|
|
109
|
-
<template #reference>
|
|
110
|
-
<el-button>Üst</el-button>
|
|
111
|
-
</template>
|
|
112
|
-
</el-popover>
|
|
113
|
-
<el-popover placement="left" title="Başlık" width="200" trigger="click" content="Bu içerik, bu içerik, bu içerik">
|
|
114
|
-
<template #reference>
|
|
115
|
-
<el-button>Sol</el-button>
|
|
116
|
-
</template>
|
|
117
|
-
</el-popover>
|
|
118
|
-
</div>
|
|
119
|
-
<div class="my-4 p-4 border-l-4 border-info-600 bg-info-100">
|
|
120
|
-
<p class="text-xs">
|
|
121
|
-
<code>
|
|
122
|
-
<el-popover placement="right" title="Başlık" trigger="click"> <el-button
|
|
123
|
-
slot="reference">Tıkla</el-button> </el-popover>
|
|
124
|
-
</code>
|
|
125
|
-
</p>
|
|
126
|
-
</div>
|
|
127
|
-
</section>
|
|
128
|
-
|
|
129
|
-
<h1>TimePicker</h1>
|
|
130
|
-
<section>
|
|
131
|
-
<h2>Fixed time picker</h2>
|
|
132
|
-
<p class="p-md-c my-6">
|
|
133
|
-
Sabit Zaman Seçici, DateTimePicker bileşeninin bir parçasıdır ve kullanıcının belirli bir zaman aralığını seçmesine olanak tanır. DatePicker
|
|
134
|
-
ve TimePicker'dan türetilmiştir ve kullanımı oldukça basittir.
|
|
135
|
-
</p>
|
|
136
|
-
<div class="grid grid-flow-col auto-cols-max gap-4">
|
|
137
|
-
<el-time-select v-model="value" :picker-options="{ start: '08:30', step: '00:15', end: '18:30' }" placeholder="Zaman Seçin" />
|
|
138
|
-
</div>
|
|
139
|
-
<div class="my-4 p-4 border-l-4 border-info-600 bg-info-100">
|
|
140
|
-
<p class="text-xs">
|
|
141
|
-
<code>
|
|
142
|
-
<el-time-select v-model="value" :picker-options="{ start: '08:30', step: '00:15', end: '18:30'
|
|
143
|
-
}"></el-time-select>
|
|
144
|
-
</code>
|
|
145
|
-
</p>
|
|
146
|
-
</div>
|
|
147
|
-
</section>
|
|
148
|
-
|
|
149
|
-
<section>
|
|
150
|
-
<h2>Arbitrary time picker</h2>
|
|
151
|
-
<p class="p-md-c my-6">
|
|
152
|
-
Keyfi Zaman Seçici, etiket kullanarak el-time-picker'ı kullanmanıza ve seçilebilir zaman aralığını belirleyerek zamanı sınırlamanıza olanak
|
|
153
|
-
tanır. Varsayılan olarak, zamanı seçmek için fare tekerleğini kullanabilirsiniz. Alternatif olarak, arrow-control özelliği
|
|
154
|
-
etkinleştirildiğinde kontrol oklarını kullanabilirsiniz.
|
|
155
|
-
</p>
|
|
156
|
-
<div class="grid grid-flow-col auto-cols-max gap-4">
|
|
157
|
-
<el-time-picker v-model="value1" :picker-options="{ selectableRange: '18:30:00 - 20:30:00' }" placeholder="Zaman Seçin" />
|
|
158
|
-
<el-time-picker v-model="value2" arrow-control :picker-options="{ selectableRange: '18:30:00 - 20:30:00' }" placeholder="Zaman Seçin" />
|
|
159
|
-
</div>
|
|
160
|
-
<div class="my-4 p-4 border-l-4 border-info-600 bg-info-100">
|
|
161
|
-
<p class="text-xs">
|
|
162
|
-
<code>
|
|
163
|
-
<el-time-picker v-model="value1" :picker-options="{ selectableRange: '18:30:00 - 20:30:00' }"
|
|
164
|
-
placeholder="Zaman Seçin"></el-time-picker>
|
|
165
|
-
</code>
|
|
166
|
-
</p>
|
|
167
|
-
</div>
|
|
168
|
-
</section>
|
|
169
|
-
|
|
170
|
-
<section>
|
|
171
|
-
<h2>Fixed time range</h2>
|
|
172
|
-
<p class="p-md-c my-6">
|
|
173
|
-
Sabit Zaman Aralığı Seçici, belirli bir başlangıç ve bitiş zamanı arasında zaman seçmenizi sağlar. Özellikle etkinlik başlangıç ve bitiş
|
|
174
|
-
zamanları gibi durumlar için uygundur. Başlangıç ve bitiş zamanlarını kolayca belirleyebilir ve özelleştirebilirsiniz.
|
|
175
|
-
</p>
|
|
176
|
-
<div class="grid grid-flow-col auto-cols-max gap-4">
|
|
177
|
-
<el-time-select v-model="startTime" placeholder="Başlangıç zamanı" :picker-options="{ start: '08:30', step: '00:15', end: '18:30' }" />
|
|
178
|
-
<el-time-select
|
|
179
|
-
v-model="endTime"
|
|
180
|
-
placeholder="Bitiş zamanı"
|
|
181
|
-
:picker-options="{ start: '08:30', step: '00:15', end: '18:30', minTime: startTime }"
|
|
182
|
-
/>
|
|
183
|
-
</div>
|
|
184
|
-
<div class="my-4 p-4 border-l-4 border-info-600 bg-info-100">
|
|
185
|
-
<p class="text-xs">
|
|
186
|
-
<code>
|
|
187
|
-
<el-time-select v-model="value" :picker-options="{ start: '08:30', step: '00:15', end: '18:30'
|
|
188
|
-
}"></el-time-select>
|
|
189
|
-
</code>
|
|
190
|
-
</p>
|
|
191
|
-
</div>
|
|
192
|
-
</section>
|
|
193
|
-
|
|
194
|
-
<section>
|
|
195
|
-
<h2>Arbitrary time range</h2>
|
|
196
|
-
<p class="p-md-c my-6">
|
|
197
|
-
Keyfi Zaman Aralığı Seçici, isteğe bağlı bir zaman aralığı seçmenizi sağlar. Bu, örneğin randevu veya etkinlikler için belirli bir başlangıç
|
|
198
|
-
ve bitiş zamanı seçmeniz gerektiğinde kullanışlıdır. Başlangıç ve bitiş zamanlarını kolayca belirleyebilir ve özelleştirebilirsiniz.
|
|
199
|
-
</p>
|
|
200
|
-
<div class="grid grid-flow-col auto-cols-max gap-4">
|
|
201
|
-
<el-time-picker v-model="arb1" is-range range-separator="den" start-placeholder="Başlangıç zamanı" end-placeholder="Bitiş zamanı" />
|
|
202
|
-
<el-time-picker
|
|
203
|
-
v-model="arb2"
|
|
204
|
-
is-range
|
|
205
|
-
arrow-control
|
|
206
|
-
range-separator="den"
|
|
207
|
-
start-placeholder="Başlangıç zamanı"
|
|
208
|
-
end-placeholder="Bitiş zamanı"
|
|
209
|
-
/>
|
|
210
|
-
</div>
|
|
211
|
-
<div class="my-4 p-4 border-l-4 border-info-600 bg-info-100">
|
|
212
|
-
<p class="text-xs">
|
|
213
|
-
<code>
|
|
214
|
-
<el-time-picker is-range v-model="arb1" range-separator="den" start-placeholder="Başlangıç zamanı" end-placeholder="Bitiş zamanı">
|
|
215
|
-
</el-time-picker>
|
|
216
|
-
</code>
|
|
217
|
-
</p>
|
|
218
|
-
</div>
|
|
219
|
-
</section>
|
|
220
|
-
|
|
221
|
-
<h1>DatePicker</h1>
|
|
222
|
-
<section>
|
|
223
|
-
<h2>Enter Date</h2>
|
|
224
|
-
<p class="p-md-c my-6">
|
|
225
|
-
Tarih Seçme bileşeni, kullanıcıların takvimden tarih seçmelerini sağlayan kullanışlı bir araçtır. Bu bileşen, özellikle web uygulamalarında
|
|
226
|
-
tarih seçimi gerektiren durumlarda kullanışlıdır. Kullanıcılar, takvim arayüzü üzerinden bir tarih seçebilir ve seçilen tarih, ilgili uygulama
|
|
227
|
-
işlemleri için kullanılabilir.
|
|
228
|
-
</p>
|
|
229
|
-
<div class="grid grid-flow-col auto-cols-max gap-4">
|
|
230
|
-
<el-date-picker v-model="value1" type="date" placeholder="Bir gün seçin" />
|
|
231
|
-
<el-date-picker v-model="value2" type="date" placeholder="Bir gün seçin" :picker-options="pickerOptions" />
|
|
232
|
-
</div>
|
|
233
|
-
<div class="my-4 p-4 border-l-4 border-info-600 bg-info-100">
|
|
234
|
-
<p class="text-xs">
|
|
235
|
-
<code>
|
|
236
|
-
<el-date-picker v-model="value1" type="date" placeholder="Bir gün seçin"></el-date-picker>
|
|
237
|
-
</code>
|
|
238
|
-
</p>
|
|
239
|
-
</div>
|
|
240
|
-
</section>
|
|
241
|
-
|
|
242
|
-
<section>
|
|
243
|
-
<h2>Other measurements</h2>
|
|
244
|
-
<p class="p-md-c my-6">
|
|
245
|
-
Bu bileşen, farklı ölçülerde tarih seçmenizi sağlar. Hafta, ay, yıl ve daha fazlasını seçebilirsiniz. Özelleştirilebilir formatlama
|
|
246
|
-
seçenekleri ile istediğiniz türde tarihleri seçebilirsiniz.
|
|
247
|
-
</p>
|
|
248
|
-
<div class="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5 xxl:grid-flow-col auto-cols-max gap-4">
|
|
249
|
-
<el-date-picker v-model="dtp1" class="w-full" type="week" format="Week WW" placeholder="Pick a week" />
|
|
250
|
-
<el-date-picker v-model="dtp2" class="w-full" type="month" placeholder="Pick a month" />
|
|
251
|
-
<el-date-picker v-model="dtp3" class="w-full" type="year" placeholder="Pick a year" />
|
|
252
|
-
<el-date-picker v-model="dtp4" class="w-full" type="dates" placeholder="Pick one or more dates" />
|
|
253
|
-
<el-date-picker v-model="dtp5" class="w-full" type="months" placeholder="Pick one or more months" />
|
|
254
|
-
<el-date-picker v-model="dtp6" class="w-full" type="years" placeholder="Pick one or more years" />
|
|
255
|
-
</div>
|
|
256
|
-
<div class="my-4 p-4 border-l-4 border-info-600 bg-info-100">
|
|
257
|
-
<p class="text-xs">
|
|
258
|
-
<code>
|
|
259
|
-
<el-date-picker class="w-full" v-model="dtp1" type="week" format="Hafta WW" placeholder="Bir hafta seçin"></el-date-picker>
|
|
260
|
-
</code>
|
|
261
|
-
</p>
|
|
262
|
-
</div>
|
|
263
|
-
</section>
|
|
264
|
-
|
|
265
|
-
<section>
|
|
266
|
-
<h2>Date Range</h2>
|
|
267
|
-
<p class="p-md-c my-6">Tarih aralığı seçici, bir başlangıç ve bitiş tarihi seçmenize olanak tanır.</p>
|
|
268
|
-
<div class="grid grid-flow-col auto-cols-max gap-4">
|
|
269
|
-
<el-date-picker v-model="datr1" type="daterange" range-separator="To" start-placeholder="Start date" end-placeholder="End date" />
|
|
270
|
-
<el-date-picker
|
|
271
|
-
v-model="datr2"
|
|
272
|
-
type="daterange"
|
|
273
|
-
align="right"
|
|
274
|
-
unlink-panels
|
|
275
|
-
range-separator="To"
|
|
276
|
-
start-placeholder="Start date"
|
|
277
|
-
end-placeholder="End date"
|
|
278
|
-
:picker-options="pickerOptions"
|
|
279
|
-
size="small"
|
|
280
|
-
/>
|
|
281
|
-
</div>
|
|
282
|
-
<div class="my-4 p-4 border-l-4 border-info-600 bg-info-100">
|
|
283
|
-
<p class="text-xs">
|
|
284
|
-
<code>
|
|
285
|
-
<el-date-picker v-model="value1" type="daterange" range-separator=" - " start-placeholder="Başlangıç tarihi" end-placeholder="Bitiş
|
|
286
|
-
tarihi"></el-date-picker>
|
|
287
|
-
</code>
|
|
288
|
-
</p>
|
|
289
|
-
</div>
|
|
290
|
-
</section>
|
|
291
|
-
|
|
292
|
-
<section>
|
|
293
|
-
<h2>Month Range</h2>
|
|
294
|
-
<p class="p-md-c my-6">Ay aralığı seçici, bir başlangıç ve bitiş ayı seçmenize olanak tanır.</p>
|
|
295
|
-
<div class="grid grid-flow-col auto-cols-max gap-4">
|
|
296
|
-
<el-date-picker v-model="value1" type="monthrange" range-separator=" - " start-placeholder="Başlangıç ayı" end-placeholder="Bitiş ayı" />
|
|
297
|
-
<el-date-picker
|
|
298
|
-
v-model="value2"
|
|
299
|
-
type="monthrange"
|
|
300
|
-
align="right"
|
|
301
|
-
unlink-panels
|
|
302
|
-
range-separator=" - "
|
|
303
|
-
start-placeholder="Başlangıç ayı"
|
|
304
|
-
end-placeholder="Bitiş ayı"
|
|
305
|
-
:picker-options="monthOptions"
|
|
306
|
-
/>
|
|
307
|
-
</div>
|
|
308
|
-
<div class="my-4 p-4 border-l-4 border-info-600 bg-info-100">
|
|
309
|
-
<p class="text-xs">
|
|
310
|
-
<code>
|
|
311
|
-
<el-date-picker v-model="value1" type="monthrange" range-separator=" - " start-placeholder="Başlangıç ayı" end-placeholder="Bitiş
|
|
312
|
-
ayı"></el-date-picker>
|
|
313
|
-
</code>
|
|
314
|
-
</p>
|
|
315
|
-
</div>
|
|
316
|
-
</section>
|
|
317
|
-
|
|
318
|
-
<h1>DateTimePicker</h1>
|
|
319
|
-
<section>
|
|
320
|
-
<h2>Date and time</h2>
|
|
321
|
-
<p class="p-md-c my-6">
|
|
322
|
-
DateTimePicker, kullanıcıların tarih ve saat bilgisini seçmelerini sağlayan bir bileşendir. Bu bileşen, DatePicker ve TimePicker
|
|
323
|
-
bileşenlerinden türetilmiştir ve tarih ile saat seçme işlemini tek bir bileşende birleştirir. Daha fazla ayrıntı için pickerOptions ve diğer
|
|
324
|
-
özellikler hakkında bilgi almak için DatePicker ve TimePicker dokümantasyonlarına başvurabilirsiniz.
|
|
325
|
-
</p>
|
|
326
|
-
<div class="grid grid-flow-col auto-cols-max gap-4">
|
|
327
|
-
<el-date-picker v-model="dat1" type="datetime" placeholder="Select date and time" />
|
|
328
|
-
<el-date-picker v-model="dat2" type="datetime" placeholder="Select date and time" :picker-options="dataAndTimeOptions" />
|
|
329
|
-
<el-date-picker v-model="dat3" type="datetime" placeholder="Select date and time" default-time="12:00:00" />
|
|
330
|
-
</div>
|
|
331
|
-
<div class="my-4 p-4 border-l-4 border-info-600 bg-info-100">
|
|
332
|
-
<p class="text-xs">
|
|
333
|
-
<code> <el-date-picker v-model="dat1" type="datetime" placeholder="Tarih ve saat seçin"></el-date-picker> </code>
|
|
334
|
-
</p>
|
|
335
|
-
</div>
|
|
336
|
-
</section>
|
|
337
|
-
|
|
338
|
-
<section>
|
|
339
|
-
<h2>Date and time range</h2>
|
|
340
|
-
<p class="p-md-c my-6">
|
|
341
|
-
Tarih ve Saat Aralığı Seçici (DateTimePicker), kullanıcılara belirli bir zaman dilimini seçme olanağı sunar. Bu bileşen, özellikle randevu
|
|
342
|
-
veya etkinlik planlaması gibi durumlar için kullanışlıdır. Kullanıcılar başlangıç ve bitiş tarihini veya saati belirleyebilirler.
|
|
343
|
-
</p>
|
|
344
|
-
<div class="grid grid-flow-col auto-cols-max gap-4">
|
|
345
|
-
<el-date-picker v-model="datr1" type="datetimerange" range-separator="To" start-placeholder="Start date" end-placeholder="End date" />
|
|
346
|
-
<el-date-picker
|
|
347
|
-
v-model="datr2"
|
|
348
|
-
type="datetimerange"
|
|
349
|
-
:picker-options="dateAndTimeRangePickerOption"
|
|
350
|
-
range-separator="To"
|
|
351
|
-
start-placeholder="Start date"
|
|
352
|
-
end-placeholder="End date"
|
|
353
|
-
align="right"
|
|
354
|
-
/>
|
|
355
|
-
</div>
|
|
356
|
-
<div class="my-4 p-4 border-l-4 border-info-600 bg-info-100">
|
|
357
|
-
<p class="text-xs">
|
|
358
|
-
<code>
|
|
359
|
-
<el-date-picker v-model="datr1" type="datetimerange" range-separator="den" start-placeholder="Başlangıç tarihi" end-placeholder="Bitiş
|
|
360
|
-
tarihi"></el-date-picker>
|
|
361
|
-
</code>
|
|
362
|
-
</p>
|
|
363
|
-
</div>
|
|
364
|
-
</section>
|
|
365
|
-
</div>
|
|
366
|
-
</template>
|
|
367
|
-
|
|
368
|
-
<script>
|
|
369
|
-
import { defineComponent } from 'vue';
|
|
370
|
-
|
|
371
|
-
export default defineComponent({
|
|
372
|
-
name: 'TimusButtonSample',
|
|
373
|
-
data() {
|
|
374
|
-
return {
|
|
375
|
-
gridData: [
|
|
376
|
-
{
|
|
377
|
-
date: '2016-05-02',
|
|
378
|
-
name: 'Jack',
|
|
379
|
-
address: 'New York City',
|
|
380
|
-
},
|
|
381
|
-
{
|
|
382
|
-
date: '2016-05-04',
|
|
383
|
-
name: 'Jack',
|
|
384
|
-
address: 'New York City',
|
|
385
|
-
},
|
|
386
|
-
{
|
|
387
|
-
date: '2016-05-01',
|
|
388
|
-
name: 'Jack',
|
|
389
|
-
address: 'New York City',
|
|
390
|
-
},
|
|
391
|
-
{
|
|
392
|
-
date: '2016-05-03',
|
|
393
|
-
name: 'Jack',
|
|
394
|
-
address: 'New York City',
|
|
395
|
-
},
|
|
396
|
-
],
|
|
397
|
-
value: '',
|
|
398
|
-
value1: new Date(2016, 9, 10, 18, 40),
|
|
399
|
-
value2: new Date(2016, 9, 10, 18, 40),
|
|
400
|
-
arb1: [new Date(2016, 9, 10, 8, 40), new Date(2016, 9, 10, 9, 40)],
|
|
401
|
-
arb2: [new Date(2016, 9, 10, 8, 40), new Date(2016, 9, 10, 9, 40)],
|
|
402
|
-
startTime: '',
|
|
403
|
-
endTime: '',
|
|
404
|
-
dataAndTimeOptions: {
|
|
405
|
-
shortcuts: [
|
|
406
|
-
{
|
|
407
|
-
text: 'Today',
|
|
408
|
-
onClick(picker) {
|
|
409
|
-
picker.$emit('pick', new Date());
|
|
410
|
-
},
|
|
411
|
-
},
|
|
412
|
-
{
|
|
413
|
-
text: 'Yesterday',
|
|
414
|
-
onClick(picker) {
|
|
415
|
-
const date = new Date();
|
|
416
|
-
|
|
417
|
-
date.setTime(date.getTime() - 3600 * 1000 * 24);
|
|
418
|
-
picker.$emit('pick', date);
|
|
419
|
-
},
|
|
420
|
-
},
|
|
421
|
-
{
|
|
422
|
-
text: 'A week ago',
|
|
423
|
-
onClick(picker) {
|
|
424
|
-
const date = new Date();
|
|
425
|
-
|
|
426
|
-
date.setTime(date.getTime() - 3600 * 1000 * 24 * 7);
|
|
427
|
-
picker.$emit('pick', date);
|
|
428
|
-
},
|
|
429
|
-
},
|
|
430
|
-
],
|
|
431
|
-
},
|
|
432
|
-
dat1: '',
|
|
433
|
-
dat2: '',
|
|
434
|
-
dat3: '',
|
|
435
|
-
dateAndTimeRangePickerOption: {
|
|
436
|
-
shortcuts: [
|
|
437
|
-
{
|
|
438
|
-
text: 'Last week',
|
|
439
|
-
onClick(picker) {
|
|
440
|
-
const end = new Date();
|
|
441
|
-
const start = new Date();
|
|
442
|
-
|
|
443
|
-
start.setTime(start.getTime() - 3600 * 1000 * 24 * 7);
|
|
444
|
-
picker.$emit('pick', [start, end]);
|
|
445
|
-
},
|
|
446
|
-
},
|
|
447
|
-
{
|
|
448
|
-
text: 'Last month',
|
|
449
|
-
onClick(picker) {
|
|
450
|
-
const end = new Date();
|
|
451
|
-
const start = new Date();
|
|
452
|
-
|
|
453
|
-
start.setTime(start.getTime() - 3600 * 1000 * 24 * 30);
|
|
454
|
-
picker.$emit('pick', [start, end]);
|
|
455
|
-
},
|
|
456
|
-
},
|
|
457
|
-
{
|
|
458
|
-
text: 'Last 3 months',
|
|
459
|
-
onClick(picker) {
|
|
460
|
-
const end = new Date();
|
|
461
|
-
const start = new Date();
|
|
462
|
-
|
|
463
|
-
start.setTime(start.getTime() - 3600 * 1000 * 24 * 90);
|
|
464
|
-
picker.$emit('pick', [start, end]);
|
|
465
|
-
},
|
|
466
|
-
},
|
|
467
|
-
],
|
|
468
|
-
},
|
|
469
|
-
datr1: [new Date(2000, 10, 10, 10, 10), new Date(2000, 10, 11, 10, 10)],
|
|
470
|
-
datr2: '',
|
|
471
|
-
monthOptions: {
|
|
472
|
-
shortcuts: [
|
|
473
|
-
{
|
|
474
|
-
text: 'This month',
|
|
475
|
-
onClick(picker) {
|
|
476
|
-
picker.$emit('pick', [new Date(), new Date()]);
|
|
477
|
-
},
|
|
478
|
-
},
|
|
479
|
-
{
|
|
480
|
-
text: 'This year',
|
|
481
|
-
onClick(picker) {
|
|
482
|
-
const end = new Date();
|
|
483
|
-
const start = new Date(new Date().getFullYear(), 0);
|
|
484
|
-
|
|
485
|
-
picker.$emit('pick', [start, end]);
|
|
486
|
-
},
|
|
487
|
-
},
|
|
488
|
-
{
|
|
489
|
-
text: 'Last 6 months',
|
|
490
|
-
onClick(picker) {
|
|
491
|
-
const end = new Date();
|
|
492
|
-
const start = new Date();
|
|
493
|
-
|
|
494
|
-
start.setMonth(start.getMonth() - 6);
|
|
495
|
-
picker.$emit('pick', [start, end]);
|
|
496
|
-
},
|
|
497
|
-
},
|
|
498
|
-
],
|
|
499
|
-
},
|
|
500
|
-
pickerOptions: {
|
|
501
|
-
shortcuts: [
|
|
502
|
-
{
|
|
503
|
-
text: 'Today',
|
|
504
|
-
onClick(picker) {
|
|
505
|
-
picker.$emit('pick', new Date());
|
|
506
|
-
},
|
|
507
|
-
},
|
|
508
|
-
{
|
|
509
|
-
text: 'Yesterday',
|
|
510
|
-
onClick(picker) {
|
|
511
|
-
const date = new Date();
|
|
512
|
-
|
|
513
|
-
date.setTime(date.getTime() - 3600 * 1000 * 24);
|
|
514
|
-
picker.$emit('pick', date);
|
|
515
|
-
},
|
|
516
|
-
},
|
|
517
|
-
{
|
|
518
|
-
text: 'A week ago',
|
|
519
|
-
onClick(picker) {
|
|
520
|
-
const date = new Date();
|
|
521
|
-
|
|
522
|
-
date.setTime(date.getTime() - 3600 * 1000 * 24 * 7);
|
|
523
|
-
picker.$emit('pick', date);
|
|
524
|
-
},
|
|
525
|
-
},
|
|
526
|
-
],
|
|
527
|
-
},
|
|
528
|
-
value1: '',
|
|
529
|
-
value2: '',
|
|
530
|
-
value3: '',
|
|
531
|
-
dtp1: '',
|
|
532
|
-
dtp2: '',
|
|
533
|
-
dtp3: '',
|
|
534
|
-
dtp4: '',
|
|
535
|
-
dtp5: '',
|
|
536
|
-
dtp6: '',
|
|
537
|
-
};
|
|
538
|
-
},
|
|
539
|
-
computed: {
|
|
540
|
-
gridSize() {
|
|
541
|
-
const grids = {
|
|
542
|
-
5: 'grid-cols-5',
|
|
543
|
-
6: 'grid-cols-6',
|
|
544
|
-
7: 'grid-cols-7',
|
|
545
|
-
8: 'grid-cols-8',
|
|
546
|
-
};
|
|
547
|
-
|
|
548
|
-
return grids;
|
|
549
|
-
},
|
|
550
|
-
},
|
|
551
|
-
methods: {
|
|
552
|
-
handleChange(value) {
|
|
553
|
-
console.log(value);
|
|
554
|
-
},
|
|
555
|
-
},
|
|
556
|
-
});
|
|
557
|
-
</script>
|