@timus-networks/theme 1.0.184 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +70 -61
- package/dist/module.cjs +5 -0
- package/dist/module.d.mts +11 -0
- package/dist/module.d.ts +11 -0
- package/dist/module.json +9 -0
- package/dist/module.mjs +159 -0
- package/dist/runtime/components/example.button.vue +237 -0
- package/dist/runtime/components/example.button.vue.d.ts +10 -0
- package/dist/runtime/components/example.checkbox.vue +190 -0
- package/dist/runtime/components/example.checkbox.vue.d.ts +24 -0
- package/dist/runtime/components/example.dialog.vue +82 -0
- package/dist/runtime/components/example.form.vue +494 -0
- package/dist/runtime/components/example.input.vue +286 -0
- package/dist/runtime/components/example.input.vue.d.ts +20 -0
- package/dist/runtime/components/example.popover.vue +161 -0
- package/dist/runtime/components/example.radio.vue +165 -0
- package/dist/runtime/components/example.radio.vue.d.ts +24 -0
- package/dist/runtime/components/example.select.vue +591 -0
- package/dist/runtime/components/example.select.vue.d.ts +69 -0
- package/dist/runtime/components/example.sidebar.vue +104 -0
- package/dist/runtime/components/example.table.vue +126 -0
- package/dist/runtime/components/example.tag.vue +279 -0
- package/dist/runtime/components/html-encode.vue +37 -0
- package/dist/runtime/pages/theme.vue +30 -0
- package/dist/runtime/plugins/element-extend-plugin.d.ts +38 -0
- package/dist/runtime/plugins/element-extend-plugin.js +39 -0
- package/dist/runtime/plugins/element-extend-plugin.mjs +39 -0
- package/dist/runtime/plugins/experimental-size-plugin.d.ts +2 -0
- package/dist/runtime/plugins/experimental-size-plugin.js +13 -0
- package/dist/runtime/plugins/experimental-size-plugin.mjs +13 -0
- package/dist/runtime/plugins/sample-plugin.d.ts +20 -0
- package/dist/runtime/plugins/sample-plugin.js +5 -0
- package/dist/runtime/plugins/sample-plugin.mjs +5 -0
- package/dist/runtime/plugins/theme-provider.d.ts +30 -0
- package/dist/runtime/plugins/theme-provider.js +46 -0
- package/dist/runtime/plugins/theme-provider.mjs +46 -0
- package/dist/runtime/public/scss/element-plus/affix.css +277 -0
- package/dist/runtime/public/scss/element-plus/alert.css +420 -0
- package/dist/runtime/public/scss/element-plus/anchor-link.css +304 -0
- package/dist/runtime/public/scss/element-plus/anchor.css +348 -0
- package/dist/runtime/public/scss/element-plus/aside.css +280 -0
- package/dist/runtime/public/scss/element-plus/autocomplete.css +383 -0
- package/dist/runtime/public/scss/element-plus/avatar.css +320 -0
- package/dist/runtime/public/scss/element-plus/backtop.css +298 -0
- package/dist/runtime/public/scss/element-plus/badge.css +348 -0
- package/dist/runtime/public/scss/element-plus/base.css +522 -0
- package/dist/runtime/public/scss/element-plus/breadcrumb-item.css +0 -0
- package/dist/runtime/public/scss/element-plus/breadcrumb.css +330 -0
- package/dist/runtime/public/scss/element-plus/button-group.css +413 -0
- package/dist/runtime/public/scss/element-plus/button.css +1043 -0
- package/dist/runtime/public/scss/element-plus/calendar.css +342 -0
- package/dist/runtime/public/scss/element-plus/card.css +312 -0
- package/dist/runtime/public/scss/element-plus/carousel-item.css +322 -0
- package/dist/runtime/public/scss/element-plus/carousel.css +447 -0
- package/dist/runtime/public/scss/element-plus/cascader-panel.css +400 -0
- package/dist/runtime/public/scss/element-plus/cascader.css +532 -0
- package/dist/runtime/public/scss/element-plus/check-tag.css +358 -0
- package/dist/runtime/public/scss/element-plus/checkbox-button.css +418 -0
- package/dist/runtime/public/scss/element-plus/checkbox-group.css +279 -0
- package/dist/runtime/public/scss/element-plus/checkbox.css +560 -0
- package/dist/runtime/public/scss/element-plus/col.css +3242 -0
- package/dist/runtime/public/scss/element-plus/collapse-item.css +0 -0
- package/dist/runtime/public/scss/element-plus/collapse-transition.css +0 -0
- package/dist/runtime/public/scss/element-plus/collapse.css +462 -0
- package/dist/runtime/public/scss/element-plus/color/index.css +0 -0
- package/dist/runtime/public/scss/element-plus/color-picker.css +622 -0
- package/dist/runtime/public/scss/element-plus/common/popup.css +310 -0
- package/dist/runtime/public/scss/element-plus/common/transition.css +392 -0
- package/dist/runtime/public/scss/element-plus/common/var.css +274 -0
- package/dist/runtime/public/scss/element-plus/config-provider.css +0 -0
- package/dist/runtime/public/scss/element-plus/container.css +285 -0
- package/dist/runtime/public/scss/element-plus/dark/css-vars.css +325 -0
- package/dist/runtime/public/scss/element-plus/dark/var.css +274 -0
- package/dist/runtime/public/scss/element-plus/date-picker/date-picker.css +496 -0
- package/dist/runtime/public/scss/element-plus/date-picker/date-range-picker.css +378 -0
- package/dist/runtime/public/scss/element-plus/date-picker/date-table.css +398 -0
- package/dist/runtime/public/scss/element-plus/date-picker/month-table.css +360 -0
- package/dist/runtime/public/scss/element-plus/date-picker/picker-panel.css +391 -0
- package/dist/runtime/public/scss/element-plus/date-picker/picker.css +634 -0
- package/dist/runtime/public/scss/element-plus/date-picker/time-picker.css +344 -0
- package/dist/runtime/public/scss/element-plus/date-picker/time-range-picker.css +303 -0
- package/dist/runtime/public/scss/element-plus/date-picker/time-spinner.css +362 -0
- package/dist/runtime/public/scss/element-plus/date-picker/year-table.css +356 -0
- package/dist/runtime/public/scss/element-plus/date-picker.css +1447 -0
- package/dist/runtime/public/scss/element-plus/descriptions-item.css +307 -0
- package/dist/runtime/public/scss/element-plus/descriptions.css +373 -0
- package/dist/runtime/public/scss/element-plus/dialog.css +484 -0
- package/dist/runtime/public/scss/element-plus/display.css +329 -0
- package/dist/runtime/public/scss/element-plus/divider.css +317 -0
- package/dist/runtime/public/scss/element-plus/drawer.css +391 -0
- package/dist/runtime/public/scss/element-plus/dropdown-item.css +0 -0
- package/dist/runtime/public/scss/element-plus/dropdown-menu.css +0 -0
- package/dist/runtime/public/scss/element-plus/dropdown.css +464 -0
- package/dist/runtime/public/scss/element-plus/empty.css +327 -0
- package/dist/runtime/public/scss/element-plus/footer.css +282 -0
- package/dist/runtime/public/scss/element-plus/form-item.css +0 -0
- package/dist/runtime/public/scss/element-plus/form.css +499 -0
- package/dist/runtime/public/scss/element-plus/header.css +282 -0
- package/dist/runtime/public/scss/element-plus/icon.css +315 -0
- package/dist/runtime/public/scss/element-plus/image-viewer.css +411 -0
- package/dist/runtime/public/scss/element-plus/image.css +315 -0
- package/dist/runtime/public/scss/element-plus/index.css +16702 -0
- package/dist/runtime/public/scss/element-plus/infinite-scroll.css +0 -0
- package/dist/runtime/public/scss/element-plus/input-number.css +450 -0
- package/dist/runtime/public/scss/element-plus/input.css +742 -0
- package/dist/runtime/public/scss/element-plus/link.css +422 -0
- package/dist/runtime/public/scss/element-plus/loading.css +363 -0
- package/dist/runtime/public/scss/element-plus/main.css +283 -0
- package/dist/runtime/public/scss/element-plus/mention.css +385 -0
- package/dist/runtime/public/scss/element-plus/menu-item-group.css +0 -0
- package/dist/runtime/public/scss/element-plus/menu-item.css +0 -0
- package/dist/runtime/public/scss/element-plus/menu.css +709 -0
- package/dist/runtime/public/scss/element-plus/message-box.css +501 -0
- package/dist/runtime/public/scss/element-plus/message.css +398 -0
- package/dist/runtime/public/scss/element-plus/mixins/config.css +0 -0
- package/dist/runtime/public/scss/element-plus/mixins/function.css +0 -0
- package/dist/runtime/public/scss/element-plus/mixins/mixins.css +274 -0
- package/dist/runtime/public/scss/element-plus/mixins/utils.css +0 -0
- package/dist/runtime/public/scss/element-plus/notification.css +381 -0
- package/dist/runtime/public/scss/element-plus/option-group.css +303 -0
- package/dist/runtime/public/scss/element-plus/option.css +325 -0
- package/dist/runtime/public/scss/element-plus/overlay.css +289 -0
- package/dist/runtime/public/scss/element-plus/page-header.css +323 -0
- package/dist/runtime/public/scss/element-plus/pagination.css +533 -0
- package/dist/runtime/public/scss/element-plus/popconfirm.css +287 -0
- package/dist/runtime/public/scss/element-plus/popover.css +324 -0
- package/dist/runtime/public/scss/element-plus/popper.css +372 -0
- package/dist/runtime/public/scss/element-plus/progress.css +421 -0
- package/dist/runtime/public/scss/element-plus/radio-button.css +402 -0
- package/dist/runtime/public/scss/element-plus/radio-group.css +280 -0
- package/dist/runtime/public/scss/element-plus/radio.css +533 -0
- package/dist/runtime/public/scss/element-plus/rate.css +356 -0
- package/dist/runtime/public/scss/element-plus/reset.css +371 -0
- package/dist/runtime/public/scss/element-plus/result.css +353 -0
- package/dist/runtime/public/scss/element-plus/row.css +311 -0
- package/dist/runtime/public/scss/element-plus/scrollbar.css +345 -0
- package/dist/runtime/public/scss/element-plus/segmented.css +432 -0
- package/dist/runtime/public/scss/element-plus/select-dropdown-v2.css +323 -0
- package/dist/runtime/public/scss/element-plus/select-dropdown.css +323 -0
- package/dist/runtime/public/scss/element-plus/select-v2.css +740 -0
- package/dist/runtime/public/scss/element-plus/select.css +740 -0
- package/dist/runtime/public/scss/element-plus/skeleton-item.css +344 -0
- package/dist/runtime/public/scss/element-plus/skeleton.css +307 -0
- package/dist/runtime/public/scss/element-plus/slider.css +452 -0
- package/dist/runtime/public/scss/element-plus/space.css +289 -0
- package/dist/runtime/public/scss/element-plus/spinner.css +314 -0
- package/dist/runtime/public/scss/element-plus/statistic.css +308 -0
- package/dist/runtime/public/scss/element-plus/step.css +558 -0
- package/dist/runtime/public/scss/element-plus/steps.css +291 -0
- package/dist/runtime/public/scss/element-plus/sub-menu.css +0 -0
- package/dist/runtime/public/scss/element-plus/switch.css +498 -0
- package/dist/runtime/public/scss/element-plus/tab-pane.css +0 -0
- package/dist/runtime/public/scss/element-plus/table-column.css +354 -0
- package/dist/runtime/public/scss/element-plus/table-v2.css +492 -0
- package/dist/runtime/public/scss/element-plus/table.css +865 -0
- package/dist/runtime/public/scss/element-plus/tabs.css +864 -0
- package/dist/runtime/public/scss/element-plus/tag.css +596 -0
- package/dist/runtime/public/scss/element-plus/text.css +344 -0
- package/dist/runtime/public/scss/element-plus/time-picker.css +942 -0
- package/dist/runtime/public/scss/element-plus/time-select.css +884 -0
- package/dist/runtime/public/scss/element-plus/timeline-item.css +387 -0
- package/dist/runtime/public/scss/element-plus/timeline.css +306 -0
- package/dist/runtime/public/scss/element-plus/tooltip-v2.css +382 -0
- package/dist/runtime/public/scss/element-plus/tooltip.css +0 -0
- package/dist/runtime/public/scss/element-plus/tour.css +433 -0
- package/dist/runtime/public/scss/element-plus/transfer.css +469 -0
- package/dist/runtime/public/scss/element-plus/tree-select.css +297 -0
- package/dist/runtime/public/scss/element-plus/tree.css +510 -0
- package/dist/runtime/public/scss/element-plus/upload.css +834 -0
- package/dist/runtime/public/scss/element-plus/var.css +361 -0
- package/dist/runtime/public/scss/element-plus/virtual-list.css +302 -0
- package/dist/runtime/public/scss/theme.css +1191 -0
- package/dist/runtime/server/tsconfig.json +6 -0
- package/dist/runtime/types.d.ts +40 -0
- package/dist/types.d.mts +7 -0
- package/dist/types.d.ts +7 -0
- package/package.json +36 -20
- 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,145 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="pt-8 pb-16 flex gap-12 flex-col">
|
|
3
|
-
<section>
|
|
4
|
-
<h1>Basic</h1>
|
|
5
|
-
<p class="p-lg my-6">
|
|
6
|
-
Use the type attribute to define Tag's type. In addition, the color attribute can be used to set the background color of the Tag.
|
|
7
|
-
</p>
|
|
8
|
-
<div class="grid grid-flow-col auto-cols-max gap-4">
|
|
9
|
-
<el-tag :disable-transitions="true">default</el-tag>
|
|
10
|
-
<el-tag type="success">success</el-tag>
|
|
11
|
-
<el-tag type="info">info</el-tag>
|
|
12
|
-
<el-tag type="warning">warning</el-tag>
|
|
13
|
-
<el-tag type="danger">danger</el-tag>
|
|
14
|
-
<el-tag type="gray">gray</el-tag>
|
|
15
|
-
<el-tag type="secondary">secondary</el-tag>
|
|
16
|
-
</div>
|
|
17
|
-
<div class="my-4 p-4 border-l-4 border-blue-600 bg-blue-100">
|
|
18
|
-
<p class="text-xs">
|
|
19
|
-
<code><el-tag type="gray" size="medium">content</el-tag></code>
|
|
20
|
-
</p>
|
|
21
|
-
</div>
|
|
22
|
-
</section>
|
|
23
|
-
|
|
24
|
-
<section>
|
|
25
|
-
<h1>Removable</h1>
|
|
26
|
-
<p class="p-lg my-6">
|
|
27
|
-
Use the type attribute to define Tag's type. In addition, the color attribute can be used to set the background color of the Tag.
|
|
28
|
-
</p>
|
|
29
|
-
<div class="grid grid-flow-col auto-cols-max gap-4">
|
|
30
|
-
<el-tag v-for="tag in tags" :key="tag.name" closable :type="tag.type">
|
|
31
|
-
{{ tag.name }}
|
|
32
|
-
</el-tag>
|
|
33
|
-
</div>
|
|
34
|
-
<div class="my-4 p-4 border-l-4 border-blue-600 bg-blue-100">
|
|
35
|
-
<p class="text-xs">
|
|
36
|
-
<code><el-tag>content</el-tag></code>
|
|
37
|
-
</p>
|
|
38
|
-
</div>
|
|
39
|
-
</section>
|
|
40
|
-
|
|
41
|
-
<section>
|
|
42
|
-
<h1>Sizes</h1>
|
|
43
|
-
<p class="p-lg my-6">Besides default size, Tag component provides three additional sizes for you to choose among different scenarios.</p>
|
|
44
|
-
<div class="grid grid-flow-col auto-cols-max gap-4">
|
|
45
|
-
<el-tag>Default</el-tag>
|
|
46
|
-
<el-tag size="large">Large</el-tag>
|
|
47
|
-
<el-tag size="medium">Medium</el-tag>
|
|
48
|
-
<el-tag size="small">Small</el-tag>
|
|
49
|
-
<el-tag size="mini">Mini</el-tag>
|
|
50
|
-
</div>
|
|
51
|
-
<div class="my-4 p-4 border-l-4 border-blue-600 bg-blue-100">
|
|
52
|
-
<p class="text-xs">
|
|
53
|
-
<code><el-tag size="medium">content</el-tag></code>
|
|
54
|
-
</p>
|
|
55
|
-
</div>
|
|
56
|
-
</section>
|
|
57
|
-
|
|
58
|
-
<section>
|
|
59
|
-
<h1>Edit Dynamically</h1>
|
|
60
|
-
<p class="p-lg my-6">You can use the close event to add and remove tag dynamically.</p>
|
|
61
|
-
<div class="grid grid-flow-col auto-cols-max gap-4">
|
|
62
|
-
<el-tag v-for="tag in dynamicTags" :key="tag" closable :disable-transitions="true" size="mini" @close="handleClose(tag)">
|
|
63
|
-
{{ tag }}
|
|
64
|
-
</el-tag>
|
|
65
|
-
<el-input
|
|
66
|
-
v-if="inputVisible"
|
|
67
|
-
ref="saveTagInput"
|
|
68
|
-
v-model="inputValue"
|
|
69
|
-
class="input-new-tag"
|
|
70
|
-
size="mini"
|
|
71
|
-
@keyup.enter="handleInputConfirm"
|
|
72
|
-
@blur="handleInputConfirm"
|
|
73
|
-
/>
|
|
74
|
-
<el-button v-else class="button-new-tag" size="small" @click="showInput">+ New Tag</el-button>
|
|
75
|
-
</div>
|
|
76
|
-
<div class="my-4 p-4 border-l-4 border-blue-600 bg-blue-100">
|
|
77
|
-
<p class="text-xs">
|
|
78
|
-
<code><el-tag>content</el-tag></code>
|
|
79
|
-
</p>
|
|
80
|
-
</div>
|
|
81
|
-
</section>
|
|
82
|
-
</div>
|
|
83
|
-
</template>
|
|
84
|
-
<script>
|
|
85
|
-
import { defineComponent } from 'vue';
|
|
86
|
-
|
|
87
|
-
export default defineComponent({
|
|
88
|
-
name: 'TimusButtonSample',
|
|
89
|
-
data() {
|
|
90
|
-
return {
|
|
91
|
-
dynamicTags: ['Tag 1', 'Tag 2', 'Tag 3'],
|
|
92
|
-
inputVisible: false,
|
|
93
|
-
inputValue: '',
|
|
94
|
-
tags: [
|
|
95
|
-
{ name: 'Tag 1', type: '' },
|
|
96
|
-
{ name: 'Tag 2', type: 'success' },
|
|
97
|
-
{ name: 'Tag 3', type: 'info' },
|
|
98
|
-
{ name: 'Tag 4', type: 'warning' },
|
|
99
|
-
{ name: 'Tag 5', type: 'danger' },
|
|
100
|
-
],
|
|
101
|
-
items: [
|
|
102
|
-
{ type: '', label: 'Tag 1' },
|
|
103
|
-
{ type: 'success', label: 'Tag 2' },
|
|
104
|
-
{ type: 'info', label: 'Tag 3' },
|
|
105
|
-
{ type: 'danger', label: 'Tag 4' },
|
|
106
|
-
{ type: 'warning', label: 'Tag 5' },
|
|
107
|
-
],
|
|
108
|
-
};
|
|
109
|
-
},
|
|
110
|
-
computed: {
|
|
111
|
-
gridSize() {
|
|
112
|
-
const grids = {
|
|
113
|
-
5: 'grid-cols-5',
|
|
114
|
-
6: 'grid-cols-6',
|
|
115
|
-
7: 'grid-cols-7',
|
|
116
|
-
8: 'grid-cols-8',
|
|
117
|
-
};
|
|
118
|
-
|
|
119
|
-
return grids;
|
|
120
|
-
},
|
|
121
|
-
},
|
|
122
|
-
methods: {
|
|
123
|
-
handleClose(tag) {
|
|
124
|
-
this.dynamicTags.splice(this.dynamicTags.indexOf(tag), 1);
|
|
125
|
-
},
|
|
126
|
-
|
|
127
|
-
showInput() {
|
|
128
|
-
this.inputVisible = true;
|
|
129
|
-
this.$nextTick((_) => {
|
|
130
|
-
this.$refs.saveTagInput.$refs.input.focus();
|
|
131
|
-
});
|
|
132
|
-
},
|
|
133
|
-
|
|
134
|
-
handleInputConfirm() {
|
|
135
|
-
const { inputValue } = this;
|
|
136
|
-
|
|
137
|
-
if (inputValue) {
|
|
138
|
-
this.dynamicTags.push(inputValue);
|
|
139
|
-
}
|
|
140
|
-
this.inputVisible = false;
|
|
141
|
-
this.inputValue = '';
|
|
142
|
-
},
|
|
143
|
-
},
|
|
144
|
-
});
|
|
145
|
-
</script>
|
|
@@ -1,123 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="pt-8 pb-16 flex gap-12 flex-col">
|
|
3
|
-
<section>
|
|
4
|
-
<h1>Basic</h1>
|
|
5
|
-
<p class="p-lg my-6">Standart metin girişi için temel <code>el-input</code> bileşenini kullanabilirsiniz.</p>
|
|
6
|
-
<div class="grid grid-flow-col auto-cols-max gap-4">
|
|
7
|
-
<el-switch v-model="value1" />
|
|
8
|
-
</div>
|
|
9
|
-
<div class="my-4 p-4 border-l-4 border-blue-600 bg-blue-100">
|
|
10
|
-
<p class="text-xs">
|
|
11
|
-
<code><el-input placeholder="Please input" v-model="input"></el-input></code>
|
|
12
|
-
</p>
|
|
13
|
-
</div>
|
|
14
|
-
</section>
|
|
15
|
-
|
|
16
|
-
<section>
|
|
17
|
-
<h1>Custom Color</h1>
|
|
18
|
-
<p class="p-lg my-6">Standart metin girişi için temel <code>el-input</code> bileşenini kullanabilirsiniz.</p>
|
|
19
|
-
<div class="grid grid-flow-col auto-cols-max gap-4">
|
|
20
|
-
<el-switch v-model="value2" active-color="#13ce66" inactive-color="#ff4949" />
|
|
21
|
-
</div>
|
|
22
|
-
<div class="my-4 p-4 border-l-4 border-blue-600 bg-blue-100">
|
|
23
|
-
<p class="text-xs">
|
|
24
|
-
<code><el-input placeholder="Please input" v-model="input"></el-input></code>
|
|
25
|
-
</p>
|
|
26
|
-
</div>
|
|
27
|
-
</section>
|
|
28
|
-
|
|
29
|
-
<section>
|
|
30
|
-
<h1>Text description</h1>
|
|
31
|
-
<p class="p-lg my-6">You can add active-text and inactive-text attribute to show texts.</p>
|
|
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" />
|
|
34
|
-
</div>
|
|
35
|
-
<div class="my-4 p-4 border-l-4 border-blue-600 bg-blue-100">
|
|
36
|
-
<p class="text-xs">
|
|
37
|
-
<code><el-input placeholder="Please input" v-model="input"></el-input></code>
|
|
38
|
-
</p>
|
|
39
|
-
</div>
|
|
40
|
-
</section>
|
|
41
|
-
|
|
42
|
-
<section>
|
|
43
|
-
<h1>Disabled</h1>
|
|
44
|
-
<p class="p-lg my-6">Standart metin girişi için temel <code>el-input</code> bileşenini kullanabilirsiniz.</p>
|
|
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" />
|
|
48
|
-
</div>
|
|
49
|
-
<div class="my-4 p-4 border-l-4 border-blue-600 bg-blue-100">
|
|
50
|
-
<p class="text-xs">
|
|
51
|
-
<code><el-input placeholder="Please input" v-model="input"></el-input></code>
|
|
52
|
-
</p>
|
|
53
|
-
</div>
|
|
54
|
-
</section>
|
|
55
|
-
</div>
|
|
56
|
-
</template>
|
|
57
|
-
|
|
58
|
-
<script>
|
|
59
|
-
import { defineComponent } from 'vue';
|
|
60
|
-
|
|
61
|
-
export default defineComponent({
|
|
62
|
-
name: 'TimusButtonSample',
|
|
63
|
-
data() {
|
|
64
|
-
return {
|
|
65
|
-
value1: true,
|
|
66
|
-
value2: true,
|
|
67
|
-
};
|
|
68
|
-
},
|
|
69
|
-
computed: {
|
|
70
|
-
gridSize() {
|
|
71
|
-
const grids = {
|
|
72
|
-
5: 'grid-cols-5',
|
|
73
|
-
6: 'grid-cols-6',
|
|
74
|
-
7: 'grid-cols-7',
|
|
75
|
-
8: 'grid-cols-8',
|
|
76
|
-
};
|
|
77
|
-
|
|
78
|
-
return grids;
|
|
79
|
-
},
|
|
80
|
-
},
|
|
81
|
-
mounted() {
|
|
82
|
-
this.links = this.loadAll();
|
|
83
|
-
},
|
|
84
|
-
methods: {
|
|
85
|
-
querySearch(queryString, cb) {
|
|
86
|
-
const { links } = this;
|
|
87
|
-
const results = queryString ? links.filter(this.createFilter(queryString)) : links;
|
|
88
|
-
|
|
89
|
-
// call callback function to return suggestions
|
|
90
|
-
cb(results);
|
|
91
|
-
},
|
|
92
|
-
querySearchAsync(queryString, cb) {
|
|
93
|
-
const { links } = this;
|
|
94
|
-
const results = queryString ? links.filter(this.createFilter(queryString)) : links;
|
|
95
|
-
|
|
96
|
-
clearTimeout(this.timeout);
|
|
97
|
-
this.timeout = setTimeout(() => {
|
|
98
|
-
cb(results);
|
|
99
|
-
}, 3000 * Math.random());
|
|
100
|
-
},
|
|
101
|
-
createFilter(queryString) {
|
|
102
|
-
return (link) => link.value.toLowerCase().indexOf(queryString.toLowerCase()) === 0;
|
|
103
|
-
},
|
|
104
|
-
loadAll() {
|
|
105
|
-
return [
|
|
106
|
-
{ value: 'vue', link: 'https://github.com/vuejs/vue' },
|
|
107
|
-
{ value: 'element', link: 'https://github.com/ElemeFE/element' },
|
|
108
|
-
{ value: 'cooking', link: 'https://github.com/ElemeFE/cooking' },
|
|
109
|
-
{ value: 'mint-ui', link: 'https://github.com/ElemeFE/mint-ui' },
|
|
110
|
-
{ value: 'vuex', link: 'https://github.com/vuejs/vuex' },
|
|
111
|
-
{ value: 'vue-router', link: 'https://github.com/vuejs/vue-router' },
|
|
112
|
-
{ value: 'babel', link: 'https://github.com/babel/babel' },
|
|
113
|
-
];
|
|
114
|
-
},
|
|
115
|
-
handleSelect(item) {
|
|
116
|
-
console.log(item);
|
|
117
|
-
},
|
|
118
|
-
handleIconClick(ev) {
|
|
119
|
-
console.log(ev);
|
|
120
|
-
},
|
|
121
|
-
},
|
|
122
|
-
});
|
|
123
|
-
</script>
|
|
@@ -1,191 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="pt-8 pb-16 flex gap-12 flex-col">
|
|
3
|
-
<section>
|
|
4
|
-
<h1>Tooltip</h1>
|
|
5
|
-
<p class="p-lg-c my-6">
|
|
6
|
-
Bu örnek, Element UI tarafından sağlanan <code>el-table</code> bileşenini kullanarak bir veri tablosu oluşturmanın temel bir örneğini
|
|
7
|
-
göstermektedir. `table-container` ile dışarıya border verildiğini unutmamanızı tavsiye ediyoruz.
|
|
8
|
-
</p>
|
|
9
|
-
<div class="flex flex-wrap gap-4">
|
|
10
|
-
<el-tooltip class="item h-24 outline" effect="dark" content="Top Left prompts info" placement="top-start">
|
|
11
|
-
<el-button size="large">top-start</el-button>
|
|
12
|
-
</el-tooltip>
|
|
13
|
-
<el-tooltip class="item h-24 outline" effect="dark" content="Top Center prompts info" placement="top">
|
|
14
|
-
<el-button size="large">top</el-button>
|
|
15
|
-
</el-tooltip>
|
|
16
|
-
<el-tooltip class="item h-24 outline" effect="dark" content="Top Right prompts info" placement="top-end">
|
|
17
|
-
<el-button size="large">top-end</el-button>
|
|
18
|
-
</el-tooltip>
|
|
19
|
-
|
|
20
|
-
<el-tooltip class="item h-24 outline" effect="dark" content="Left Top prompts info" placement="left-start">
|
|
21
|
-
<el-button size="large">left-start</el-button>
|
|
22
|
-
</el-tooltip>
|
|
23
|
-
<el-tooltip class="item h-24 outline" effect="dark" content="Left Center prompts info" placement="left">
|
|
24
|
-
<el-button size="large">left</el-button>
|
|
25
|
-
</el-tooltip>
|
|
26
|
-
<el-tooltip class="item h-24 outline" effect="dark" content="Left Bottom prompts info" placement="left-end">
|
|
27
|
-
<el-button size="large">left-end</el-button>
|
|
28
|
-
</el-tooltip>
|
|
29
|
-
|
|
30
|
-
<el-tooltip class="item h-24 outline" effect="dark" content="Right Top prompts info" placement="right-start">
|
|
31
|
-
<el-button size="large">right-start</el-button>
|
|
32
|
-
</el-tooltip>
|
|
33
|
-
<el-tooltip class="item h-24 outline" effect="dark" content="Right Center prompts info" placement="right">
|
|
34
|
-
<el-button size="large">right</el-button>
|
|
35
|
-
</el-tooltip>
|
|
36
|
-
<el-tooltip class="item h-24 outline" effect="dark" content="Right Bottom prompts info" placement="right-end">
|
|
37
|
-
<el-button size="large">right-end</el-button>
|
|
38
|
-
</el-tooltip>
|
|
39
|
-
|
|
40
|
-
<el-tooltip class="item h-24 outline" effect="dark" content="Bottom Left prompts info" placement="bottom-start">
|
|
41
|
-
<el-button size="large">bottom-start</el-button>
|
|
42
|
-
</el-tooltip>
|
|
43
|
-
<el-tooltip class="item h-24 outline" effect="dark" content="Bottom Center prompts info" placement="bottom">
|
|
44
|
-
<el-button size="large">bottom</el-button>
|
|
45
|
-
</el-tooltip>
|
|
46
|
-
<el-tooltip class="item h-24 outline" effect="dark" content="Bottom Right prompts info" placement="bottom-end">
|
|
47
|
-
<el-button size="large">bottom-end</el-button>
|
|
48
|
-
</el-tooltip>
|
|
49
|
-
</div>
|
|
50
|
-
<div class="my-4 p-4 border-l-4 border-blue-600 bg-blue-100">
|
|
51
|
-
<p class="text-xs">
|
|
52
|
-
<code>
|
|
53
|
-
<div class="table-container"><el-table :data="tableData" :default-sort="{ prop: 'date', order: 'descending'
|
|
54
|
-
}"></el-table></div>
|
|
55
|
-
</code>
|
|
56
|
-
</p>
|
|
57
|
-
</div>
|
|
58
|
-
</section>
|
|
59
|
-
</div>
|
|
60
|
-
</template>
|
|
61
|
-
<script>
|
|
62
|
-
import { defineComponent } from 'vue';
|
|
63
|
-
|
|
64
|
-
export default defineComponent({
|
|
65
|
-
name: 'ThemeTable',
|
|
66
|
-
data() {
|
|
67
|
-
return {
|
|
68
|
-
multipleSelection: [],
|
|
69
|
-
currentPage1: 5,
|
|
70
|
-
currentPage2: 5,
|
|
71
|
-
currentPage3: 5,
|
|
72
|
-
currentPage4: 4,
|
|
73
|
-
tableData: [
|
|
74
|
-
{
|
|
75
|
-
date: '2016-05-03',
|
|
76
|
-
name: 'Tom',
|
|
77
|
-
state: 'California',
|
|
78
|
-
city: 'Los Angeles',
|
|
79
|
-
address: 'No. 189, Grove St, Los Angeles',
|
|
80
|
-
zip: 'CA 90036',
|
|
81
|
-
tag: 'Home',
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
date: '2016-05-02',
|
|
85
|
-
name: 'Tom',
|
|
86
|
-
state: 'California',
|
|
87
|
-
city: 'Los Angeles',
|
|
88
|
-
address: 'No. 189, Grove St, Los Angeles',
|
|
89
|
-
zip: 'CA 90036',
|
|
90
|
-
tag: 'Office',
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
date: '2016-05-04',
|
|
94
|
-
name: 'Tom',
|
|
95
|
-
state: 'California',
|
|
96
|
-
city: 'Los Angeles',
|
|
97
|
-
address: 'No. 189, Grove St, Los Angeles',
|
|
98
|
-
zip: 'CA 90036',
|
|
99
|
-
tag: 'Home',
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
date: '2016-05-01',
|
|
103
|
-
name: 'Tom',
|
|
104
|
-
state: 'California',
|
|
105
|
-
city: 'Los Angeles',
|
|
106
|
-
address: 'No. 189, Grove St, Los Angeles',
|
|
107
|
-
zip: 'CA 90036',
|
|
108
|
-
tag: 'Office',
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
date: '2016-05-08',
|
|
112
|
-
name: 'Tom',
|
|
113
|
-
state: 'California',
|
|
114
|
-
city: 'Los Angeles',
|
|
115
|
-
address: 'No. 189, Grove St, Los Angeles',
|
|
116
|
-
zip: 'CA 90036',
|
|
117
|
-
tag: 'Office',
|
|
118
|
-
},
|
|
119
|
-
{
|
|
120
|
-
date: '2016-05-06',
|
|
121
|
-
name: 'Tom',
|
|
122
|
-
state: 'California',
|
|
123
|
-
city: 'Los Angeles',
|
|
124
|
-
address: 'No. 189, Grove St, Los Angeles',
|
|
125
|
-
zip: 'CA 90036',
|
|
126
|
-
tag: 'Home',
|
|
127
|
-
},
|
|
128
|
-
{
|
|
129
|
-
date: '2016-05-07',
|
|
130
|
-
name: 'Tom',
|
|
131
|
-
state: 'California',
|
|
132
|
-
city: 'Los Angeles',
|
|
133
|
-
address: 'No. 189, Grove St, Los Angeles',
|
|
134
|
-
zip: 'CA 90036',
|
|
135
|
-
tag: 'Office',
|
|
136
|
-
},
|
|
137
|
-
],
|
|
138
|
-
};
|
|
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
|
-
},
|
|
152
|
-
methods: {
|
|
153
|
-
toggleSelection(rows) {
|
|
154
|
-
if (rows) {
|
|
155
|
-
rows.forEach((row) => {
|
|
156
|
-
this.$refs.multipleTable.toggleRowSelection(row);
|
|
157
|
-
});
|
|
158
|
-
} else {
|
|
159
|
-
this.$refs.multipleTable.clearSelection();
|
|
160
|
-
}
|
|
161
|
-
},
|
|
162
|
-
handleSelectionChange(val) {
|
|
163
|
-
this.multipleSelection = val;
|
|
164
|
-
},
|
|
165
|
-
resetDateFilter() {
|
|
166
|
-
this.$refs.filterTable.clearFilter('date');
|
|
167
|
-
},
|
|
168
|
-
clearFilter() {
|
|
169
|
-
this.$refs.filterTable.clearFilter();
|
|
170
|
-
},
|
|
171
|
-
formatter(row, column) {
|
|
172
|
-
return row.address;
|
|
173
|
-
},
|
|
174
|
-
filterTag(value, row) {
|
|
175
|
-
return row.tag === value;
|
|
176
|
-
},
|
|
177
|
-
filterHandler(value, row, column) {
|
|
178
|
-
console.log(row, column, value);
|
|
179
|
-
const { property } = column;
|
|
180
|
-
|
|
181
|
-
return row[property] === value;
|
|
182
|
-
},
|
|
183
|
-
handleSizeChange(val) {
|
|
184
|
-
console.log(`${val} items per page`);
|
|
185
|
-
},
|
|
186
|
-
handleCurrentChange(val) {
|
|
187
|
-
console.log(`current page: ${val}`);
|
|
188
|
-
},
|
|
189
|
-
},
|
|
190
|
-
});
|
|
191
|
-
</script>
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="mb-16">
|
|
3
|
-
<h1 class="mt-12">Headins</h1>
|
|
4
|
-
<p class="p-lg my-6">Aşağıda heading örnekleri yer almaktadır.</p>
|
|
5
|
-
|
|
6
|
-
<div class="grid grid-cols-2 sm:grid-cols-2 md:grid-cols-3 gap-4 text-gray-500">
|
|
7
|
-
<div class="h2 text-gray-600">Class Name</div>
|
|
8
|
-
<div class="h2 text-gray-600">FontSize</div>
|
|
9
|
-
<div class="h2 text-gray-600 hidden md:block">LineHeight</div>
|
|
10
|
-
<template v-for="(item, index) in headingClasses">
|
|
11
|
-
<component :is="item.name" :key="item.name + '-heading-' + index + 1" class="flex items-center text-gray-800">{{ item.name }}</component>
|
|
12
|
-
<div :key="item.name + '-heading-' + index + 2" class="flex items-center">{{ item.fontSize }}</div>
|
|
13
|
-
<div :key="item.name + '-heading-' + index + 3" class="flex items-center hidden md:block">{{ item.lineHeight }}</div>
|
|
14
|
-
</template>
|
|
15
|
-
</div>
|
|
16
|
-
|
|
17
|
-
<h1 class="mt-12">Others</h1>
|
|
18
|
-
<p class="p-lg my-6">Aşağıda paragraflar ve diğer html elementleri için kullanılabilecek ön tanımlı class nameler yer almaktadır.</p>
|
|
19
|
-
|
|
20
|
-
<div class="grid grid-cols-2 sm:grid-cols-2 md:grid-cols-3 gap-4 text-gray-500">
|
|
21
|
-
<div class="h2 text-gray-600">Class Name</div>
|
|
22
|
-
<div class="h2 text-gray-600">FontSize</div>
|
|
23
|
-
<div class="h2 text-gray-600 hidden md:block">LineHeight</div>
|
|
24
|
-
<template v-for="(item, index) in helperClasses">
|
|
25
|
-
<div :key="item.name + '-helper-' + index + 1" class="flex items-center text-gray-800" :class="item.name">{{ item.name }}</div>
|
|
26
|
-
<div :key="item.name + '-helper-' + index + 2" class="flex items-center">{{ item.fontSize }}</div>
|
|
27
|
-
<div :key="item.name + '-helper-' + index + 3" class="flex items-center hidden md:block">{{ item.lineHeight }}</div>
|
|
28
|
-
</template>
|
|
29
|
-
</div>
|
|
30
|
-
</div>
|
|
31
|
-
</template>
|
|
32
|
-
|
|
33
|
-
<script>
|
|
34
|
-
import { defineComponent } from 'vue';
|
|
35
|
-
|
|
36
|
-
export default defineComponent({
|
|
37
|
-
name: 'TimusTypoSample',
|
|
38
|
-
data() {
|
|
39
|
-
return {
|
|
40
|
-
headingClasses: [
|
|
41
|
-
{ name: 'h1', fontSize: '22px', lineHeight: '30px' },
|
|
42
|
-
{ name: 'h2', fontSize: '20px', lineHeight: '24px' },
|
|
43
|
-
{ name: 'h3', fontSize: '18px', lineHeight: '22px' },
|
|
44
|
-
{ name: 'h4', fontSize: '14px', lineHeight: '18px' },
|
|
45
|
-
{ name: 'h5', fontSize: '12px', lineHeight: '16px' },
|
|
46
|
-
{ name: 'h6', fontSize: '10px', lineHeight: '14px' },
|
|
47
|
-
],
|
|
48
|
-
helperClasses: [
|
|
49
|
-
{ name: 'p-lg', fontSize: '16px', lineHeight: '18px' },
|
|
50
|
-
{ name: 'p-md', fontSize: '14px', lineHeight: '16px' },
|
|
51
|
-
{ name: 'p-md-c', fontSize: '14px', lineHeight: '24px' },
|
|
52
|
-
{ name: 'p-sm', fontSize: '12px', lineHeight: '14px' },
|
|
53
|
-
{ name: 'p-xs', fontSize: '10px', lineHeight: '14px' },
|
|
54
|
-
{ name: 'p-xxs', fontSize: '8px', lineHeight: '10px' },
|
|
55
|
-
{ name: 'b-md', fontSize: '16px', lineHeight: '24px' },
|
|
56
|
-
{ name: 'b-lg', fontSize: '16px', lineHeight: '24px' },
|
|
57
|
-
{ name: 'b-sm', fontSize: '14px', lineHeight: '18px' },
|
|
58
|
-
{ name: 'b-md-u', fontSize: '16px', lineHeight: '24px' },
|
|
59
|
-
{ name: 'b-lg-u', fontSize: '16px', lineHeight: '24px' },
|
|
60
|
-
{ name: 'b-sm-u', fontSize: '14px', lineHeight: '18px' },
|
|
61
|
-
],
|
|
62
|
-
};
|
|
63
|
-
},
|
|
64
|
-
});
|
|
65
|
-
</script>
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="pt-8 pb-16 flex gap-12 flex-col">
|
|
3
|
-
<section>
|
|
4
|
-
<h1>Basic</h1>
|
|
5
|
-
<p class="p-lg my-6">
|
|
6
|
-
Use the type attribute to define Tag's type. In addition, the color attribute can be used to set the background color of the Tag.
|
|
7
|
-
</p>
|
|
8
|
-
<div class="grid grid-flow-col gap-4">
|
|
9
|
-
<el-upload
|
|
10
|
-
class="el-upload-container"
|
|
11
|
-
drag
|
|
12
|
-
action="https://jsonplaceholder.typicode.com/posts/"
|
|
13
|
-
:on-preview="handlePreview"
|
|
14
|
-
:on-remove="handleRemove"
|
|
15
|
-
:file-list="fileList"
|
|
16
|
-
multiple
|
|
17
|
-
>
|
|
18
|
-
<i class="el-icon-upload" />
|
|
19
|
-
<!-- <img src="~/assets/images/upload-drop.svg" alt="upload" class="w-[56px] h-[56px]" /> -->
|
|
20
|
-
<div class="el-upload__text">
|
|
21
|
-
<span class="title">Drag CSV here</span>
|
|
22
|
-
<span class="description">or click to browse (5MB Max)</span>
|
|
23
|
-
</div>
|
|
24
|
-
<div slot="tip" class="el-upload__tip">
|
|
25
|
-
Category: Maximum 30 characters. Domain: Valid domain value (wildcard domains are acceptable).You can upload up to 1000 domains at a time.
|
|
26
|
-
Categories that are not in the system will be created as new custom categories.
|
|
27
|
-
</div>
|
|
28
|
-
</el-upload>
|
|
29
|
-
</div>
|
|
30
|
-
<div class="my-4 p-4 border-l-4 border-blue-600 bg-blue-100">
|
|
31
|
-
<p class="text-xs">
|
|
32
|
-
<code>
|
|
33
|
-
<el-upload class="el-upload-container" drag multiple><i class="el-icon-upload"></i><div
|
|
34
|
-
class="el-upload__text"><span class="title">Drop file here or</span><span
|
|
35
|
-
class="description">click to upload</span></div><div class="el-upload__tip"
|
|
36
|
-
slot="tip">description</div></el-upload>
|
|
37
|
-
</code>
|
|
38
|
-
</p>
|
|
39
|
-
</div>
|
|
40
|
-
</section>
|
|
41
|
-
</div>
|
|
42
|
-
</template>
|
|
43
|
-
|
|
44
|
-
<script>
|
|
45
|
-
import { defineComponent } from 'vue';
|
|
46
|
-
|
|
47
|
-
export default defineComponent({
|
|
48
|
-
name: 'TimusUpload',
|
|
49
|
-
data() {
|
|
50
|
-
return {
|
|
51
|
-
imageUrl: '',
|
|
52
|
-
fileList: [
|
|
53
|
-
{
|
|
54
|
-
name: 'food.jpeg',
|
|
55
|
-
url: 'https://fuss10.elemecdn.com/3/63/4e7f3a15429bfda99bce42a18cdd1jpeg.jpeg?imageMogr2/thumbnail/360x360/format/webp/quality/100',
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
name: 'food2.jpeg',
|
|
59
|
-
url: 'https://fuss10.elemecdn.com/3/63/4e7f3a15429bfda99bce42a18cdd1jpeg.jpeg?imageMogr2/thumbnail/360x360/format/webp/quality/100',
|
|
60
|
-
},
|
|
61
|
-
],
|
|
62
|
-
};
|
|
63
|
-
},
|
|
64
|
-
methods: {
|
|
65
|
-
handleAvatarSuccess(res, file) {
|
|
66
|
-
this.imageUrl = URL.createObjectURL(file.raw);
|
|
67
|
-
},
|
|
68
|
-
handleChange(file, fileList) {
|
|
69
|
-
this.fileList = fileList.slice(-3);
|
|
70
|
-
},
|
|
71
|
-
handleRemove(file, fileList) {
|
|
72
|
-
console.log(file, fileList);
|
|
73
|
-
},
|
|
74
|
-
handlePreview(file) {
|
|
75
|
-
console.log(file);
|
|
76
|
-
},
|
|
77
|
-
beforeAvatarUpload(file) {
|
|
78
|
-
const isJPG = file.type === 'image/jpeg';
|
|
79
|
-
const isLt2M = file.size / 1024 / 1024 < 2;
|
|
80
|
-
|
|
81
|
-
if (!isJPG) {
|
|
82
|
-
this.$message.error('Avatar picture must be JPG format!');
|
|
83
|
-
}
|
|
84
|
-
if (!isLt2M) {
|
|
85
|
-
this.$message.error('Avatar picture size can not exceed 2MB!');
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
return isJPG && isLt2M;
|
|
89
|
-
},
|
|
90
|
-
},
|
|
91
|
-
});
|
|
92
|
-
</script>
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="container py-16">
|
|
3
|
-
<el-tabs v-model="activeName" @tab-click="handleClick">
|
|
4
|
-
<el-tab-pane label="Button" name="first"><ThemeButtons /></el-tab-pane>
|
|
5
|
-
<el-tab-pane label="Typo" name="second"><ThemeTypo /></el-tab-pane>
|
|
6
|
-
<el-tab-pane label="Input" name="third"><ThemeInputs /></el-tab-pane>
|
|
7
|
-
<el-tab-pane label="Checkbox" name="fourth"><ThemeCheckbox /></el-tab-pane>
|
|
8
|
-
<el-tab-pane label="Radio" name="five"><ThemeRadio /></el-tab-pane>
|
|
9
|
-
<el-tab-pane label="Number" name="six"><ThemeInputNumbers /></el-tab-pane>
|
|
10
|
-
<el-tab-pane label="Popover & Dropdown" name="seven"><ThemePopover /></el-tab-pane>
|
|
11
|
-
<el-tab-pane label="Select" name="eight"><ThemeSelect /></el-tab-pane>
|
|
12
|
-
<el-tab-pane label="Form" name="nine"><ThemeForm /></el-tab-pane>
|
|
13
|
-
<el-tab-pane label="Link" name="ten"><ThemeLink /></el-tab-pane>
|
|
14
|
-
<el-tab-pane label="Tag" name="eleven"><ThemeTag /></el-tab-pane>
|
|
15
|
-
<el-tab-pane label="Switch" name="twelve"><ThemeToggle /></el-tab-pane>
|
|
16
|
-
<el-tab-pane label="Table" name="thirteen"><ThemeTable /></el-tab-pane>
|
|
17
|
-
<el-tab-pane label="Tooltip" name="fourteen"><ThemeTooltip /></el-tab-pane>
|
|
18
|
-
<el-tab-pane label="Alert" name="fifteen"><ThemeAlert /></el-tab-pane>
|
|
19
|
-
<el-tab-pane label="Cascader" name="sixteen"><ThemeCascader /></el-tab-pane>
|
|
20
|
-
<el-tab-pane label="Badge" name="seventeen"><ThemeBadge /></el-tab-pane>
|
|
21
|
-
<el-tab-pane label="Avatar" name="eighteen"><ThemeAvatar /></el-tab-pane>
|
|
22
|
-
<el-tab-pane label="Logo" name="nineteen"><ThemeLogo /></el-tab-pane>
|
|
23
|
-
<el-tab-pane label="Dialog" name="twenty"><ThemeDialog /></el-tab-pane>
|
|
24
|
-
<el-tab-pane label="Sidebar" name="twenty-one"><ThemeSidebar /></el-tab-pane>
|
|
25
|
-
<el-tab-pane label="Upload" name="twenty-two"><ThemeUpload /></el-tab-pane>
|
|
26
|
-
<el-tab-pane label="MessageBox" name="twenty-three"><ThemeMessageBox /></el-tab-pane>
|
|
27
|
-
<el-tab-pane label="Information" name="twenty-four"><ThemeInformation /></el-tab-pane>
|
|
28
|
-
<el-tab-pane label="Collapse" name="twenty-five"><ThemeCollapse /></el-tab-pane>
|
|
29
|
-
<el-tab-pane label="Breadcrumb" name="twenty-six"><ThemeBreadcrumb /></el-tab-pane>
|
|
30
|
-
<el-tab-pane label="Message" name="twenty-seven"><ThemeMessage /></el-tab-pane>
|
|
31
|
-
</el-tabs>
|
|
32
|
-
</div>
|
|
33
|
-
</template>
|
|
34
|
-
<script>
|
|
35
|
-
import { defineComponent } from 'vue';
|
|
36
|
-
|
|
37
|
-
import ThemeInputNumbers from './ThemeInputNumbers.vue';
|
|
38
|
-
import ThemeInputs from './ThemeInputs.vue';
|
|
39
|
-
import ThemePopover from './ThemePopover.vue';
|
|
40
|
-
|
|
41
|
-
export default defineComponent({
|
|
42
|
-
components: { ThemeInputs, ThemeInputNumbers, ThemePopover },
|
|
43
|
-
data() {
|
|
44
|
-
return {
|
|
45
|
-
activeName: 'fifteen',
|
|
46
|
-
};
|
|
47
|
-
},
|
|
48
|
-
methods: {
|
|
49
|
-
handleClick(tab, event) {
|
|
50
|
-
console.log(tab, event);
|
|
51
|
-
},
|
|
52
|
-
},
|
|
53
|
-
});
|
|
54
|
-
</script>
|