@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.
Files changed (387) hide show
  1. package/README.md +70 -61
  2. package/dist/module.cjs +5 -0
  3. package/dist/module.d.mts +11 -0
  4. package/dist/module.d.ts +11 -0
  5. package/dist/module.json +9 -0
  6. package/dist/module.mjs +159 -0
  7. package/dist/runtime/components/example.button.vue +237 -0
  8. package/dist/runtime/components/example.button.vue.d.ts +10 -0
  9. package/dist/runtime/components/example.checkbox.vue +190 -0
  10. package/dist/runtime/components/example.checkbox.vue.d.ts +24 -0
  11. package/dist/runtime/components/example.dialog.vue +82 -0
  12. package/dist/runtime/components/example.form.vue +494 -0
  13. package/dist/runtime/components/example.input.vue +286 -0
  14. package/dist/runtime/components/example.input.vue.d.ts +20 -0
  15. package/dist/runtime/components/example.popover.vue +161 -0
  16. package/dist/runtime/components/example.radio.vue +165 -0
  17. package/dist/runtime/components/example.radio.vue.d.ts +24 -0
  18. package/dist/runtime/components/example.select.vue +591 -0
  19. package/dist/runtime/components/example.select.vue.d.ts +69 -0
  20. package/dist/runtime/components/example.sidebar.vue +104 -0
  21. package/dist/runtime/components/example.table.vue +126 -0
  22. package/dist/runtime/components/example.tag.vue +279 -0
  23. package/dist/runtime/components/html-encode.vue +37 -0
  24. package/dist/runtime/pages/theme.vue +30 -0
  25. package/dist/runtime/plugins/element-extend-plugin.d.ts +38 -0
  26. package/dist/runtime/plugins/element-extend-plugin.js +39 -0
  27. package/dist/runtime/plugins/element-extend-plugin.mjs +39 -0
  28. package/dist/runtime/plugins/experimental-size-plugin.d.ts +2 -0
  29. package/dist/runtime/plugins/experimental-size-plugin.js +13 -0
  30. package/dist/runtime/plugins/experimental-size-plugin.mjs +13 -0
  31. package/dist/runtime/plugins/sample-plugin.d.ts +20 -0
  32. package/dist/runtime/plugins/sample-plugin.js +5 -0
  33. package/dist/runtime/plugins/sample-plugin.mjs +5 -0
  34. package/dist/runtime/plugins/theme-provider.d.ts +30 -0
  35. package/dist/runtime/plugins/theme-provider.js +46 -0
  36. package/dist/runtime/plugins/theme-provider.mjs +46 -0
  37. package/dist/runtime/public/scss/element-plus/affix.css +277 -0
  38. package/dist/runtime/public/scss/element-plus/alert.css +420 -0
  39. package/dist/runtime/public/scss/element-plus/anchor-link.css +304 -0
  40. package/dist/runtime/public/scss/element-plus/anchor.css +348 -0
  41. package/dist/runtime/public/scss/element-plus/aside.css +280 -0
  42. package/dist/runtime/public/scss/element-plus/autocomplete.css +383 -0
  43. package/dist/runtime/public/scss/element-plus/avatar.css +320 -0
  44. package/dist/runtime/public/scss/element-plus/backtop.css +298 -0
  45. package/dist/runtime/public/scss/element-plus/badge.css +348 -0
  46. package/dist/runtime/public/scss/element-plus/base.css +522 -0
  47. package/dist/runtime/public/scss/element-plus/breadcrumb-item.css +0 -0
  48. package/dist/runtime/public/scss/element-plus/breadcrumb.css +330 -0
  49. package/dist/runtime/public/scss/element-plus/button-group.css +413 -0
  50. package/dist/runtime/public/scss/element-plus/button.css +1043 -0
  51. package/dist/runtime/public/scss/element-plus/calendar.css +342 -0
  52. package/dist/runtime/public/scss/element-plus/card.css +312 -0
  53. package/dist/runtime/public/scss/element-plus/carousel-item.css +322 -0
  54. package/dist/runtime/public/scss/element-plus/carousel.css +447 -0
  55. package/dist/runtime/public/scss/element-plus/cascader-panel.css +400 -0
  56. package/dist/runtime/public/scss/element-plus/cascader.css +532 -0
  57. package/dist/runtime/public/scss/element-plus/check-tag.css +358 -0
  58. package/dist/runtime/public/scss/element-plus/checkbox-button.css +418 -0
  59. package/dist/runtime/public/scss/element-plus/checkbox-group.css +279 -0
  60. package/dist/runtime/public/scss/element-plus/checkbox.css +560 -0
  61. package/dist/runtime/public/scss/element-plus/col.css +3242 -0
  62. package/dist/runtime/public/scss/element-plus/collapse-item.css +0 -0
  63. package/dist/runtime/public/scss/element-plus/collapse-transition.css +0 -0
  64. package/dist/runtime/public/scss/element-plus/collapse.css +462 -0
  65. package/dist/runtime/public/scss/element-plus/color/index.css +0 -0
  66. package/dist/runtime/public/scss/element-plus/color-picker.css +622 -0
  67. package/dist/runtime/public/scss/element-plus/common/popup.css +310 -0
  68. package/dist/runtime/public/scss/element-plus/common/transition.css +392 -0
  69. package/dist/runtime/public/scss/element-plus/common/var.css +274 -0
  70. package/dist/runtime/public/scss/element-plus/config-provider.css +0 -0
  71. package/dist/runtime/public/scss/element-plus/container.css +285 -0
  72. package/dist/runtime/public/scss/element-plus/dark/css-vars.css +325 -0
  73. package/dist/runtime/public/scss/element-plus/dark/var.css +274 -0
  74. package/dist/runtime/public/scss/element-plus/date-picker/date-picker.css +496 -0
  75. package/dist/runtime/public/scss/element-plus/date-picker/date-range-picker.css +378 -0
  76. package/dist/runtime/public/scss/element-plus/date-picker/date-table.css +398 -0
  77. package/dist/runtime/public/scss/element-plus/date-picker/month-table.css +360 -0
  78. package/dist/runtime/public/scss/element-plus/date-picker/picker-panel.css +391 -0
  79. package/dist/runtime/public/scss/element-plus/date-picker/picker.css +634 -0
  80. package/dist/runtime/public/scss/element-plus/date-picker/time-picker.css +344 -0
  81. package/dist/runtime/public/scss/element-plus/date-picker/time-range-picker.css +303 -0
  82. package/dist/runtime/public/scss/element-plus/date-picker/time-spinner.css +362 -0
  83. package/dist/runtime/public/scss/element-plus/date-picker/year-table.css +356 -0
  84. package/dist/runtime/public/scss/element-plus/date-picker.css +1447 -0
  85. package/dist/runtime/public/scss/element-plus/descriptions-item.css +307 -0
  86. package/dist/runtime/public/scss/element-plus/descriptions.css +373 -0
  87. package/dist/runtime/public/scss/element-plus/dialog.css +484 -0
  88. package/dist/runtime/public/scss/element-plus/display.css +329 -0
  89. package/dist/runtime/public/scss/element-plus/divider.css +317 -0
  90. package/dist/runtime/public/scss/element-plus/drawer.css +391 -0
  91. package/dist/runtime/public/scss/element-plus/dropdown-item.css +0 -0
  92. package/dist/runtime/public/scss/element-plus/dropdown-menu.css +0 -0
  93. package/dist/runtime/public/scss/element-plus/dropdown.css +464 -0
  94. package/dist/runtime/public/scss/element-plus/empty.css +327 -0
  95. package/dist/runtime/public/scss/element-plus/footer.css +282 -0
  96. package/dist/runtime/public/scss/element-plus/form-item.css +0 -0
  97. package/dist/runtime/public/scss/element-plus/form.css +499 -0
  98. package/dist/runtime/public/scss/element-plus/header.css +282 -0
  99. package/dist/runtime/public/scss/element-plus/icon.css +315 -0
  100. package/dist/runtime/public/scss/element-plus/image-viewer.css +411 -0
  101. package/dist/runtime/public/scss/element-plus/image.css +315 -0
  102. package/dist/runtime/public/scss/element-plus/index.css +16702 -0
  103. package/dist/runtime/public/scss/element-plus/infinite-scroll.css +0 -0
  104. package/dist/runtime/public/scss/element-plus/input-number.css +450 -0
  105. package/dist/runtime/public/scss/element-plus/input.css +742 -0
  106. package/dist/runtime/public/scss/element-plus/link.css +422 -0
  107. package/dist/runtime/public/scss/element-plus/loading.css +363 -0
  108. package/dist/runtime/public/scss/element-plus/main.css +283 -0
  109. package/dist/runtime/public/scss/element-plus/mention.css +385 -0
  110. package/dist/runtime/public/scss/element-plus/menu-item-group.css +0 -0
  111. package/dist/runtime/public/scss/element-plus/menu-item.css +0 -0
  112. package/dist/runtime/public/scss/element-plus/menu.css +709 -0
  113. package/dist/runtime/public/scss/element-plus/message-box.css +501 -0
  114. package/dist/runtime/public/scss/element-plus/message.css +398 -0
  115. package/dist/runtime/public/scss/element-plus/mixins/config.css +0 -0
  116. package/dist/runtime/public/scss/element-plus/mixins/function.css +0 -0
  117. package/dist/runtime/public/scss/element-plus/mixins/mixins.css +274 -0
  118. package/dist/runtime/public/scss/element-plus/mixins/utils.css +0 -0
  119. package/dist/runtime/public/scss/element-plus/notification.css +381 -0
  120. package/dist/runtime/public/scss/element-plus/option-group.css +303 -0
  121. package/dist/runtime/public/scss/element-plus/option.css +325 -0
  122. package/dist/runtime/public/scss/element-plus/overlay.css +289 -0
  123. package/dist/runtime/public/scss/element-plus/page-header.css +323 -0
  124. package/dist/runtime/public/scss/element-plus/pagination.css +533 -0
  125. package/dist/runtime/public/scss/element-plus/popconfirm.css +287 -0
  126. package/dist/runtime/public/scss/element-plus/popover.css +324 -0
  127. package/dist/runtime/public/scss/element-plus/popper.css +372 -0
  128. package/dist/runtime/public/scss/element-plus/progress.css +421 -0
  129. package/dist/runtime/public/scss/element-plus/radio-button.css +402 -0
  130. package/dist/runtime/public/scss/element-plus/radio-group.css +280 -0
  131. package/dist/runtime/public/scss/element-plus/radio.css +533 -0
  132. package/dist/runtime/public/scss/element-plus/rate.css +356 -0
  133. package/dist/runtime/public/scss/element-plus/reset.css +371 -0
  134. package/dist/runtime/public/scss/element-plus/result.css +353 -0
  135. package/dist/runtime/public/scss/element-plus/row.css +311 -0
  136. package/dist/runtime/public/scss/element-plus/scrollbar.css +345 -0
  137. package/dist/runtime/public/scss/element-plus/segmented.css +432 -0
  138. package/dist/runtime/public/scss/element-plus/select-dropdown-v2.css +323 -0
  139. package/dist/runtime/public/scss/element-plus/select-dropdown.css +323 -0
  140. package/dist/runtime/public/scss/element-plus/select-v2.css +740 -0
  141. package/dist/runtime/public/scss/element-plus/select.css +740 -0
  142. package/dist/runtime/public/scss/element-plus/skeleton-item.css +344 -0
  143. package/dist/runtime/public/scss/element-plus/skeleton.css +307 -0
  144. package/dist/runtime/public/scss/element-plus/slider.css +452 -0
  145. package/dist/runtime/public/scss/element-plus/space.css +289 -0
  146. package/dist/runtime/public/scss/element-plus/spinner.css +314 -0
  147. package/dist/runtime/public/scss/element-plus/statistic.css +308 -0
  148. package/dist/runtime/public/scss/element-plus/step.css +558 -0
  149. package/dist/runtime/public/scss/element-plus/steps.css +291 -0
  150. package/dist/runtime/public/scss/element-plus/sub-menu.css +0 -0
  151. package/dist/runtime/public/scss/element-plus/switch.css +498 -0
  152. package/dist/runtime/public/scss/element-plus/tab-pane.css +0 -0
  153. package/dist/runtime/public/scss/element-plus/table-column.css +354 -0
  154. package/dist/runtime/public/scss/element-plus/table-v2.css +492 -0
  155. package/dist/runtime/public/scss/element-plus/table.css +865 -0
  156. package/dist/runtime/public/scss/element-plus/tabs.css +864 -0
  157. package/dist/runtime/public/scss/element-plus/tag.css +596 -0
  158. package/dist/runtime/public/scss/element-plus/text.css +344 -0
  159. package/dist/runtime/public/scss/element-plus/time-picker.css +942 -0
  160. package/dist/runtime/public/scss/element-plus/time-select.css +884 -0
  161. package/dist/runtime/public/scss/element-plus/timeline-item.css +387 -0
  162. package/dist/runtime/public/scss/element-plus/timeline.css +306 -0
  163. package/dist/runtime/public/scss/element-plus/tooltip-v2.css +382 -0
  164. package/dist/runtime/public/scss/element-plus/tooltip.css +0 -0
  165. package/dist/runtime/public/scss/element-plus/tour.css +433 -0
  166. package/dist/runtime/public/scss/element-plus/transfer.css +469 -0
  167. package/dist/runtime/public/scss/element-plus/tree-select.css +297 -0
  168. package/dist/runtime/public/scss/element-plus/tree.css +510 -0
  169. package/dist/runtime/public/scss/element-plus/upload.css +834 -0
  170. package/dist/runtime/public/scss/element-plus/var.css +361 -0
  171. package/dist/runtime/public/scss/element-plus/virtual-list.css +302 -0
  172. package/dist/runtime/public/scss/theme.css +1191 -0
  173. package/dist/runtime/server/tsconfig.json +6 -0
  174. package/dist/runtime/types.d.ts +40 -0
  175. package/dist/types.d.mts +7 -0
  176. package/dist/types.d.ts +7 -0
  177. package/package.json +36 -20
  178. package/components-js/ThemeAlert.vue +0 -78
  179. package/components-js/ThemeAvatar.vue +0 -55
  180. package/components-js/ThemeBadge.vue +0 -106
  181. package/components-js/ThemeBreadcrumb.vue +0 -44
  182. package/components-js/ThemeButtons.vue +0 -148
  183. package/components-js/ThemeCascader.vue +0 -390
  184. package/components-js/ThemeCheckbox.d.ts +0 -2
  185. package/components-js/ThemeCheckbox.vue +0 -197
  186. package/components-js/ThemeCollapse.vue +0 -73
  187. package/components-js/ThemeDialog.vue +0 -49
  188. package/components-js/ThemeForm.d.ts +0 -2
  189. package/components-js/ThemeForm.vue +0 -134
  190. package/components-js/ThemeInformation.vue +0 -127
  191. package/components-js/ThemeInputNumbers.vue +0 -74
  192. package/components-js/ThemeInputs.vue +0 -316
  193. package/components-js/ThemeLink.vue +0 -110
  194. package/components-js/ThemeLogo.vue +0 -57
  195. package/components-js/ThemeMessage.vue +0 -55
  196. package/components-js/ThemeMessageBox.vue +0 -47
  197. package/components-js/ThemePopover.vue +0 -557
  198. package/components-js/ThemeRadio.d.ts +0 -2
  199. package/components-js/ThemeRadio.vue +0 -164
  200. package/components-js/ThemeSelect.vue +0 -237
  201. package/components-js/ThemeSidebar.d.ts +0 -2
  202. package/components-js/ThemeSidebar.vue +0 -275
  203. package/components-js/ThemeTable.vue +0 -305
  204. package/components-js/ThemeTag.vue +0 -145
  205. package/components-js/ThemeToggle.vue +0 -123
  206. package/components-js/ThemeTooltip.vue +0 -191
  207. package/components-js/ThemeTypo.vue +0 -65
  208. package/components-js/ThemeUpload.vue +0 -92
  209. package/components-js/TimusSamples.vue +0 -54
  210. package/components-js/exporter.js +0 -19
  211. package/components-js/interfaces.js +0 -1
  212. package/components-js/utils.d.ts +0 -6
  213. package/components-js/utils.js +0 -17
  214. package/components-ts/ThemeAlert.vue +0 -78
  215. package/components-ts/ThemeAvatar.vue +0 -55
  216. package/components-ts/ThemeBadge.vue +0 -106
  217. package/components-ts/ThemeBreadcrumb.vue +0 -44
  218. package/components-ts/ThemeButtons.vue +0 -148
  219. package/components-ts/ThemeCascader.vue +0 -390
  220. package/components-ts/ThemeCheckbox.vue +0 -202
  221. package/components-ts/ThemeCollapse.vue +0 -73
  222. package/components-ts/ThemeDialog.vue +0 -49
  223. package/components-ts/ThemeForm.vue +0 -137
  224. package/components-ts/ThemeInformation.vue +0 -127
  225. package/components-ts/ThemeInputNumbers.vue +0 -74
  226. package/components-ts/ThemeInputs.vue +0 -316
  227. package/components-ts/ThemeLink.vue +0 -110
  228. package/components-ts/ThemeLogo.vue +0 -57
  229. package/components-ts/ThemeMessage.vue +0 -55
  230. package/components-ts/ThemeMessageBox.vue +0 -47
  231. package/components-ts/ThemePopover.vue +0 -557
  232. package/components-ts/ThemeRadio.vue +0 -169
  233. package/components-ts/ThemeSelect.vue +0 -237
  234. package/components-ts/ThemeSidebar.vue +0 -277
  235. package/components-ts/ThemeTable.vue +0 -305
  236. package/components-ts/ThemeTag.vue +0 -145
  237. package/components-ts/ThemeToggle.vue +0 -123
  238. package/components-ts/ThemeTooltip.vue +0 -191
  239. package/components-ts/ThemeTypo.vue +0 -65
  240. package/components-ts/ThemeUpload.vue +0 -92
  241. package/components-ts/TimusSamples.vue +0 -54
  242. package/components-ts/exporter.js +0 -19
  243. package/components-ts/interfaces.ts +0 -11
  244. package/components-ts/utils.ts +0 -20
  245. package/convert-js.js +0 -112
  246. package/convert-sass.js +0 -26
  247. package/fonts/poppins-font-face/files/Poppins-Black.eot +0 -0
  248. package/fonts/poppins-font-face/files/Poppins-Black.svg +0 -3099
  249. package/fonts/poppins-font-face/files/Poppins-Black.ttf +0 -0
  250. package/fonts/poppins-font-face/files/Poppins-Black.woff +0 -0
  251. package/fonts/poppins-font-face/files/Poppins-Black.woff2 +0 -0
  252. package/fonts/poppins-font-face/files/Poppins-BlackItalic.ttf +0 -0
  253. package/fonts/poppins-font-face/files/Poppins-Bold.eot +0 -0
  254. package/fonts/poppins-font-face/files/Poppins-Bold.svg +0 -3131
  255. package/fonts/poppins-font-face/files/Poppins-Bold.ttf +0 -0
  256. package/fonts/poppins-font-face/files/Poppins-Bold.woff +0 -0
  257. package/fonts/poppins-font-face/files/Poppins-Bold.woff2 +0 -0
  258. package/fonts/poppins-font-face/files/Poppins-BoldItalic.ttf +0 -0
  259. package/fonts/poppins-font-face/files/Poppins-ExtraBold.eot +0 -0
  260. package/fonts/poppins-font-face/files/Poppins-ExtraBold.svg +0 -3120
  261. package/fonts/poppins-font-face/files/Poppins-ExtraBold.ttf +0 -0
  262. package/fonts/poppins-font-face/files/Poppins-ExtraBold.woff +0 -0
  263. package/fonts/poppins-font-face/files/Poppins-ExtraBold.woff2 +0 -0
  264. package/fonts/poppins-font-face/files/Poppins-ExtraBoldItalic.ttf +0 -0
  265. package/fonts/poppins-font-face/files/Poppins-ExtraLight.eot +0 -0
  266. package/fonts/poppins-font-face/files/Poppins-ExtraLight.svg +0 -3245
  267. package/fonts/poppins-font-face/files/Poppins-ExtraLight.ttf +0 -0
  268. package/fonts/poppins-font-face/files/Poppins-ExtraLight.woff +0 -0
  269. package/fonts/poppins-font-face/files/Poppins-ExtraLight.woff2 +0 -0
  270. package/fonts/poppins-font-face/files/Poppins-ExtraLightItalic.ttf +0 -0
  271. package/fonts/poppins-font-face/files/Poppins-Italic.eot +0 -0
  272. package/fonts/poppins-font-face/files/Poppins-Italic.svg +0 -3414
  273. package/fonts/poppins-font-face/files/Poppins-Italic.ttf +0 -0
  274. package/fonts/poppins-font-face/files/Poppins-Italic.woff +0 -0
  275. package/fonts/poppins-font-face/files/Poppins-Italic.woff2 +0 -0
  276. package/fonts/poppins-font-face/files/Poppins-Light.eot +0 -0
  277. package/fonts/poppins-font-face/files/Poppins-Light.svg +0 -3244
  278. package/fonts/poppins-font-face/files/Poppins-Light.ttf +0 -0
  279. package/fonts/poppins-font-face/files/Poppins-Light.woff +0 -0
  280. package/fonts/poppins-font-face/files/Poppins-Light.woff2 +0 -0
  281. package/fonts/poppins-font-face/files/Poppins-LightItalic.ttf +0 -0
  282. package/fonts/poppins-font-face/files/Poppins-Medium.eot +0 -0
  283. package/fonts/poppins-font-face/files/Poppins-Medium.svg +0 -3190
  284. package/fonts/poppins-font-face/files/Poppins-Medium.ttf +0 -0
  285. package/fonts/poppins-font-face/files/Poppins-Medium.woff +0 -0
  286. package/fonts/poppins-font-face/files/Poppins-Medium.woff2 +0 -0
  287. package/fonts/poppins-font-face/files/Poppins-MediumItalic.ttf +0 -0
  288. package/fonts/poppins-font-face/files/Poppins-Regular.eot +0 -0
  289. package/fonts/poppins-font-face/files/Poppins-Regular.svg +0 -3213
  290. package/fonts/poppins-font-face/files/Poppins-Regular.ttf +0 -0
  291. package/fonts/poppins-font-face/files/Poppins-Regular.woff +0 -0
  292. package/fonts/poppins-font-face/files/Poppins-Regular.woff2 +0 -0
  293. package/fonts/poppins-font-face/files/Poppins-SemiBold.eot +0 -0
  294. package/fonts/poppins-font-face/files/Poppins-SemiBold.svg +0 -3174
  295. package/fonts/poppins-font-face/files/Poppins-SemiBold.ttf +0 -0
  296. package/fonts/poppins-font-face/files/Poppins-SemiBold.woff +0 -0
  297. package/fonts/poppins-font-face/files/Poppins-SemiBold.woff2 +0 -0
  298. package/fonts/poppins-font-face/files/Poppins-SemiBoldItalic.ttf +0 -0
  299. package/fonts/poppins-font-face/files/Poppins-Thin.eot +0 -0
  300. package/fonts/poppins-font-face/files/Poppins-Thin.svg +0 -3266
  301. package/fonts/poppins-font-face/files/Poppins-Thin.ttf +0 -0
  302. package/fonts/poppins-font-face/files/Poppins-Thin.woff +0 -0
  303. package/fonts/poppins-font-face/files/Poppins-Thin.woff2 +0 -0
  304. package/fonts/poppins-font-face/files/Poppins-ThinItalic.ttf +0 -0
  305. package/fonts/poppins-font-face/stylesheet.css +0 -81
  306. package/images/applications/apple.png +0 -0
  307. package/images/applications/apple_icloud.png +0 -0
  308. package/images/applications/apple_itunes.png +0 -0
  309. package/images/applications/apple_store.png +0 -0
  310. package/images/applications/bloomberg.png +0 -0
  311. package/images/applications/chrome.png +0 -0
  312. package/images/applications/csgo.png +0 -0
  313. package/images/applications/dns.png +0 -0
  314. package/images/applications/dropbox.png +0 -0
  315. package/images/applications/evil.png +0 -0
  316. package/images/applications/facebook-messenger.png +0 -0
  317. package/images/applications/facebook.png +0 -0
  318. package/images/applications/ftp.png +0 -0
  319. package/images/applications/gmail.png +0 -0
  320. package/images/applications/google.png +0 -0
  321. package/images/applications/google_maps.png +0 -0
  322. package/images/applications/instagram.png +0 -0
  323. package/images/applications/linkedin.svg +0 -5
  324. package/images/applications/messenger.png +0 -0
  325. package/images/applications/mysql.png +0 -0
  326. package/images/applications/netflix.png +0 -0
  327. package/images/applications/nintendo.png +0 -0
  328. package/images/applications/sap.png +0 -0
  329. package/images/applications/skype.png +0 -0
  330. package/images/applications/slack.png +0 -0
  331. package/images/applications/smtp.png +0 -0
  332. package/images/applications/snapchat.png +0 -0
  333. package/images/applications/spotify.png +0 -0
  334. package/images/applications/ssh.png +0 -0
  335. package/images/applications/teamspeak.png +0 -0
  336. package/images/applications/tiktok.png +0 -0
  337. package/images/applications/twitch.png +0 -0
  338. package/images/applications/twitter.png +0 -0
  339. package/images/applications/ubuntuone.png +0 -0
  340. package/images/applications/utorrent.png +0 -0
  341. package/images/applications/website.png +0 -0
  342. package/images/applications/whatsapp.png +0 -0
  343. package/images/applications/windows-update.png +0 -0
  344. package/images/applications/youtube.png +0 -0
  345. package/images/backgrounds/login-icon.png +0 -0
  346. package/images/backgrounds/login.jpg +0 -0
  347. package/images/backgrounds/login.png +0 -0
  348. package/images/cards/amex.svg +0 -20
  349. package/images/cards/default.svg +0 -18
  350. package/images/cards/dina.svg +0 -12
  351. package/images/cards/diners.svg +0 -30
  352. package/images/cards/discover.svg +0 -28
  353. package/images/cards/eftpos.svg +0 -21
  354. package/images/cards/jcb.svg +0 -41
  355. package/images/cards/mastercard.svg +0 -5
  356. package/images/cards/unionpay.svg +0 -6
  357. package/images/cards/visa.svg +0 -3
  358. package/images/devices/os-android.png +0 -0
  359. package/images/devices/os-android.svg +0 -6
  360. package/images/devices/os-apple.svg +0 -4
  361. package/images/devices/os-default.svg +0 -5
  362. package/images/devices/os-ios.png +0 -0
  363. package/images/devices/os-ios.svg +0 -4
  364. package/images/devices/os-linux-debian.png +0 -0
  365. package/images/devices/os-linux-ubuntu.png +0 -0
  366. package/images/devices/os-linux.svg +0 -3
  367. package/images/devices/os-osx.png +0 -0
  368. package/images/devices/os-unknown.png +0 -0
  369. package/images/devices/os-windows.png +0 -0
  370. package/images/devices/os-windows.svg +0 -3
  371. package/images/devices/type-laptop-ubuntu.png +0 -0
  372. package/images/devices/type-laptop.png +0 -0
  373. package/images/devices/type-printer.png +0 -0
  374. package/images/devices/type-switch-cisco.png +0 -0
  375. package/images/logos/timus-favicon.png +0 -0
  376. package/images/logos/timus-icon.svg +0 -17
  377. package/images/logos/timus-logo-manager.svg +0 -29
  378. package/images/logos/timus-logo-partner.svg +0 -35
  379. package/images/logos/timus-logo.svg +0 -22
  380. package/index.d.ts +0 -5
  381. package/loader.js +0 -50
  382. package/module.js +0 -77
  383. package/output/main.css +0 -1
  384. package/plugins/html-to-string.js +0 -36
  385. package/plugins/js-components-installer.js +0 -22
  386. package/plugins/theme-provider.js +0 -72
  387. 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>&lt;el-tag type="gray" size="medium"&gt;content&lt;/el-tag&gt;</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>&lt;el-tag&gt;content&lt;/el-tag&gt;</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>&lt;el-tag size="medium"&gt;content&lt;/el-tag&gt;</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>&lt;el-tag&gt;content&lt;/el-tag&gt;</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>&lt;el-input placeholder="Please input" v-model="input"&gt;&lt;/el-input&gt;</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>&lt;el-input placeholder="Please input" v-model="input"&gt;&lt;/el-input&gt;</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>&lt;el-input placeholder="Please input" v-model="input"&gt;&lt;/el-input&gt;</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>&lt;el-input placeholder="Please input" v-model="input"&gt;&lt;/el-input&gt;</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
- &lt;div class="table-container">&lt;el-table :data="tableData" :default-sort="{ prop: 'date', order: 'descending'
54
- }"&gt;&lt;/el-table&gt;&lt;/div&gt;
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
- &lt;el-upload class=&quot;el-upload-container&quot; drag multiple&gt;&lt;i class=&quot;el-icon-upload&quot;&gt;&lt;/i&gt;&lt;div
34
- class=&quot;el-upload__text&quot;&gt;&lt;span class=&quot;title&quot;&gt;Drop file here or&lt;/span&gt;&lt;span
35
- class=&quot;description&quot;&gt;click to upload&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;el-upload__tip&quot;
36
- slot=&quot;tip&quot;&gt;description&lt;/div&gt;&lt;/el-upload&gt;
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>