@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,390 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="pt-8 pb-16 flex gap-12 flex-col">
|
|
3
|
-
<section>
|
|
4
|
-
<h1>Basic usage</h1>
|
|
5
|
-
<p class="p-lg my-6">There are two ways to expand child option items.</p>
|
|
6
|
-
<div class="grid grid-flow-col auto-cols-max gap-4">
|
|
7
|
-
<el-cascader v-model="value" :options="options" clearable @change="handleChange" />
|
|
8
|
-
<el-cascader v-model="value" :options="options" :props="{ expandTrigger: 'hover' }" @change="handleChange" />
|
|
9
|
-
</div>
|
|
10
|
-
<div class="my-4 p-4 border-l-4 border-blue-600 bg-blue-100">
|
|
11
|
-
<p class="text-xs">
|
|
12
|
-
<code><el-cascader v-model="value" :options="options" @change="handleChange"></el-cascader></code>
|
|
13
|
-
</p>
|
|
14
|
-
</div>
|
|
15
|
-
</section>
|
|
16
|
-
|
|
17
|
-
<section>
|
|
18
|
-
<h3>Cascader Container</h3>
|
|
19
|
-
<p class="p-lg-c my-6">
|
|
20
|
-
Cascader container contains two different component in it inside. Left one is Cascader and right one is Select dropdown.
|
|
21
|
-
</p>
|
|
22
|
-
<div class="el-cascader-container">
|
|
23
|
-
<el-cascader v-model="value" :options="options" clearable @change="handleChange" />
|
|
24
|
-
<el-cascader v-model="value" :options="options" clearable @change="handleChange" />
|
|
25
|
-
<el-select v-model="value" placeholder="Select" multiple>
|
|
26
|
-
<el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value" />
|
|
27
|
-
</el-select>
|
|
28
|
-
<el-input v-show="false" />
|
|
29
|
-
<el-select v-model="value" placeholder="Select" class="grow">
|
|
30
|
-
<el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value" />
|
|
31
|
-
</el-select>
|
|
32
|
-
<el-button class="isax-add-circle grow-0">Add</el-button>
|
|
33
|
-
</div>
|
|
34
|
-
</section>
|
|
35
|
-
|
|
36
|
-
<section>
|
|
37
|
-
<h3>Cascader Container Another Sample</h3>
|
|
38
|
-
<p class="p-lg-c my-6">
|
|
39
|
-
Cascader container contains two different component in it inside. Left one is Cascader and right one is Select dropdown.
|
|
40
|
-
</p>
|
|
41
|
-
<div data-testid="pages-settings-configuration-productivity-index-luugpbuhne" class="el-cascader-container w-full">
|
|
42
|
-
<el-select v-model="value" placeholder="Select" multiple>
|
|
43
|
-
<el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value" />
|
|
44
|
-
</el-select>
|
|
45
|
-
|
|
46
|
-
<el-select v-model="value" placeholder="Select" multiple>
|
|
47
|
-
<el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value" />
|
|
48
|
-
</el-select>
|
|
49
|
-
|
|
50
|
-
<el-select v-model="value" placeholder="Select">
|
|
51
|
-
<el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value" />
|
|
52
|
-
</el-select>
|
|
53
|
-
|
|
54
|
-
<el-select v-model="value" placeholder="Select">
|
|
55
|
-
<el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value" />
|
|
56
|
-
</el-select>
|
|
57
|
-
<el-select v-model="value" placeholder="Select">
|
|
58
|
-
<el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value" />
|
|
59
|
-
</el-select>
|
|
60
|
-
<el-input />
|
|
61
|
-
<el-select v-model="value" placeholder="Select" multiple>
|
|
62
|
-
<el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value" />
|
|
63
|
-
</el-select>
|
|
64
|
-
|
|
65
|
-
<el-button class="isax-add-circle icon-xs"> Add </el-button>
|
|
66
|
-
</div>
|
|
67
|
-
</section>
|
|
68
|
-
|
|
69
|
-
<section>
|
|
70
|
-
<h1>Multiple Selection</h1>
|
|
71
|
-
<p class="p-lg my-6">
|
|
72
|
-
Set `props.multiple = true` to use multiple selection. When using multiple selection, all selected tags will display by default, You can set
|
|
73
|
-
`collapse-tags = true` to fold selected tags.
|
|
74
|
-
</p>
|
|
75
|
-
<div class="flex gap-4">
|
|
76
|
-
<el-cascader :options="options" :props="props" clearable />
|
|
77
|
-
<el-cascader :options="options" :props="props" collapse-tags clearable />
|
|
78
|
-
</div>
|
|
79
|
-
<div class="my-4 p-4 border-l-4 border-blue-600 bg-blue-100">
|
|
80
|
-
<p class="text-xs">
|
|
81
|
-
<code><el-cascader v-model="value" :options="options" @change="handleChange"></el-cascader></code>
|
|
82
|
-
</p>
|
|
83
|
-
</div>
|
|
84
|
-
</section>
|
|
85
|
-
<section>
|
|
86
|
-
<h1>Select any level of options</h1>
|
|
87
|
-
<p class="p-lg my-6">
|
|
88
|
-
In single selection, only the leaf nodes can be checked, and in multiple selection, check parent nodes will lead to leaf nodes be checked
|
|
89
|
-
eventually. When enable this feature, it can make parent and child nodes unlinked and you can select any level of options.
|
|
90
|
-
</p>
|
|
91
|
-
<div class="flex gap-4">
|
|
92
|
-
<el-cascader :options="options" :props="{ checkStrictly: true }" clearable />
|
|
93
|
-
<el-cascader :options="options" :props="{ multiple: true, checkStrictly: true }" clearable />
|
|
94
|
-
</div>
|
|
95
|
-
<div class="my-4 p-4 border-l-4 border-blue-600 bg-blue-100">
|
|
96
|
-
<p class="text-xs">
|
|
97
|
-
<code><el-cascader v-model="value" :options="options" @change="handleChange"></el-cascader></code>
|
|
98
|
-
</p>
|
|
99
|
-
</div>
|
|
100
|
-
</section>
|
|
101
|
-
</div>
|
|
102
|
-
</template>
|
|
103
|
-
|
|
104
|
-
<script>
|
|
105
|
-
import { defineComponent } from 'vue';
|
|
106
|
-
|
|
107
|
-
export default defineComponent({
|
|
108
|
-
name: 'TimusCascader',
|
|
109
|
-
data() {
|
|
110
|
-
return {
|
|
111
|
-
props: { multiple: true },
|
|
112
|
-
value: [],
|
|
113
|
-
options: [
|
|
114
|
-
{
|
|
115
|
-
value: 'guide',
|
|
116
|
-
label: 'Guide',
|
|
117
|
-
disabled: true,
|
|
118
|
-
children: [
|
|
119
|
-
{
|
|
120
|
-
value: 'disciplines',
|
|
121
|
-
label: 'Disciplines',
|
|
122
|
-
children: [
|
|
123
|
-
{
|
|
124
|
-
value: 'consistency',
|
|
125
|
-
label: 'Consistency',
|
|
126
|
-
},
|
|
127
|
-
{
|
|
128
|
-
value: 'feedback',
|
|
129
|
-
label: 'Feedback',
|
|
130
|
-
},
|
|
131
|
-
{
|
|
132
|
-
value: 'efficiency',
|
|
133
|
-
label: 'Efficiency',
|
|
134
|
-
},
|
|
135
|
-
{
|
|
136
|
-
value: 'controllability',
|
|
137
|
-
label: 'Controllability',
|
|
138
|
-
},
|
|
139
|
-
],
|
|
140
|
-
},
|
|
141
|
-
{
|
|
142
|
-
value: 'navigation',
|
|
143
|
-
label: 'Navigation',
|
|
144
|
-
children: [
|
|
145
|
-
{
|
|
146
|
-
value: 'side nav',
|
|
147
|
-
label: 'Side Navigation',
|
|
148
|
-
},
|
|
149
|
-
{
|
|
150
|
-
value: 'top nav',
|
|
151
|
-
label: 'Top Navigation',
|
|
152
|
-
},
|
|
153
|
-
],
|
|
154
|
-
},
|
|
155
|
-
],
|
|
156
|
-
},
|
|
157
|
-
{
|
|
158
|
-
value: 'component',
|
|
159
|
-
label: 'Component',
|
|
160
|
-
children: [
|
|
161
|
-
{
|
|
162
|
-
value: 'basic',
|
|
163
|
-
label: 'Basic',
|
|
164
|
-
children: [
|
|
165
|
-
{
|
|
166
|
-
value: 'layout',
|
|
167
|
-
label: 'Layout',
|
|
168
|
-
},
|
|
169
|
-
{
|
|
170
|
-
value: 'color',
|
|
171
|
-
label: 'Color',
|
|
172
|
-
},
|
|
173
|
-
{
|
|
174
|
-
value: 'typography',
|
|
175
|
-
label: 'Typography',
|
|
176
|
-
},
|
|
177
|
-
{
|
|
178
|
-
value: 'icon',
|
|
179
|
-
label: 'Icon',
|
|
180
|
-
},
|
|
181
|
-
{
|
|
182
|
-
value: 'button',
|
|
183
|
-
label: 'Button',
|
|
184
|
-
},
|
|
185
|
-
],
|
|
186
|
-
},
|
|
187
|
-
{
|
|
188
|
-
value: 'form',
|
|
189
|
-
label: 'Form',
|
|
190
|
-
children: [
|
|
191
|
-
{
|
|
192
|
-
value: 'radio',
|
|
193
|
-
label: 'Radio',
|
|
194
|
-
},
|
|
195
|
-
{
|
|
196
|
-
value: 'checkbox',
|
|
197
|
-
label: 'Checkbox',
|
|
198
|
-
},
|
|
199
|
-
{
|
|
200
|
-
value: 'input',
|
|
201
|
-
label: 'Input',
|
|
202
|
-
},
|
|
203
|
-
{
|
|
204
|
-
value: 'input-number',
|
|
205
|
-
label: 'InputNumber',
|
|
206
|
-
},
|
|
207
|
-
{
|
|
208
|
-
value: 'select',
|
|
209
|
-
label: 'Select',
|
|
210
|
-
},
|
|
211
|
-
{
|
|
212
|
-
value: 'cascader',
|
|
213
|
-
label: 'Cascader',
|
|
214
|
-
},
|
|
215
|
-
{
|
|
216
|
-
value: 'switch',
|
|
217
|
-
label: 'Switch',
|
|
218
|
-
},
|
|
219
|
-
{
|
|
220
|
-
value: 'slider',
|
|
221
|
-
label: 'Slider',
|
|
222
|
-
},
|
|
223
|
-
{
|
|
224
|
-
value: 'time-picker',
|
|
225
|
-
label: 'TimePicker',
|
|
226
|
-
},
|
|
227
|
-
{
|
|
228
|
-
value: 'date-picker',
|
|
229
|
-
label: 'DatePicker',
|
|
230
|
-
},
|
|
231
|
-
{
|
|
232
|
-
value: 'datetime-picker',
|
|
233
|
-
label: 'DateTimePicker',
|
|
234
|
-
},
|
|
235
|
-
{
|
|
236
|
-
value: 'upload',
|
|
237
|
-
label: 'Upload',
|
|
238
|
-
},
|
|
239
|
-
{
|
|
240
|
-
value: 'rate',
|
|
241
|
-
label: 'Rate',
|
|
242
|
-
},
|
|
243
|
-
{
|
|
244
|
-
value: 'form',
|
|
245
|
-
label: 'Form',
|
|
246
|
-
},
|
|
247
|
-
],
|
|
248
|
-
},
|
|
249
|
-
{
|
|
250
|
-
value: 'data',
|
|
251
|
-
label: 'Data',
|
|
252
|
-
children: [
|
|
253
|
-
{
|
|
254
|
-
value: 'table',
|
|
255
|
-
label: 'Table',
|
|
256
|
-
},
|
|
257
|
-
{
|
|
258
|
-
value: 'tag',
|
|
259
|
-
label: 'Tag',
|
|
260
|
-
},
|
|
261
|
-
{
|
|
262
|
-
value: 'progress',
|
|
263
|
-
label: 'Progress',
|
|
264
|
-
},
|
|
265
|
-
{
|
|
266
|
-
value: 'tree',
|
|
267
|
-
label: 'Tree',
|
|
268
|
-
},
|
|
269
|
-
{
|
|
270
|
-
value: 'pagination',
|
|
271
|
-
label: 'Pagination',
|
|
272
|
-
},
|
|
273
|
-
{
|
|
274
|
-
value: 'badge',
|
|
275
|
-
label: 'Badge',
|
|
276
|
-
},
|
|
277
|
-
],
|
|
278
|
-
},
|
|
279
|
-
{
|
|
280
|
-
value: 'notice',
|
|
281
|
-
label: 'Notice',
|
|
282
|
-
children: [
|
|
283
|
-
{
|
|
284
|
-
value: 'alert',
|
|
285
|
-
label: 'Alert',
|
|
286
|
-
},
|
|
287
|
-
{
|
|
288
|
-
value: 'loading',
|
|
289
|
-
label: 'Loading',
|
|
290
|
-
},
|
|
291
|
-
{
|
|
292
|
-
value: 'message',
|
|
293
|
-
label: 'Message',
|
|
294
|
-
},
|
|
295
|
-
{
|
|
296
|
-
value: 'message-box',
|
|
297
|
-
label: 'MessageBox',
|
|
298
|
-
},
|
|
299
|
-
{
|
|
300
|
-
value: 'notification',
|
|
301
|
-
label: 'Notification',
|
|
302
|
-
},
|
|
303
|
-
],
|
|
304
|
-
},
|
|
305
|
-
{
|
|
306
|
-
value: 'navigation',
|
|
307
|
-
label: 'Navigation',
|
|
308
|
-
children: [
|
|
309
|
-
{
|
|
310
|
-
value: 'menu',
|
|
311
|
-
label: 'NavMenu',
|
|
312
|
-
},
|
|
313
|
-
{
|
|
314
|
-
value: 'tabs',
|
|
315
|
-
label: 'Tabs',
|
|
316
|
-
},
|
|
317
|
-
{
|
|
318
|
-
value: 'breadcrumb',
|
|
319
|
-
label: 'Breadcrumb',
|
|
320
|
-
},
|
|
321
|
-
{
|
|
322
|
-
value: 'dropdown',
|
|
323
|
-
label: 'Dropdown',
|
|
324
|
-
},
|
|
325
|
-
{
|
|
326
|
-
value: 'steps',
|
|
327
|
-
label: 'Steps',
|
|
328
|
-
},
|
|
329
|
-
],
|
|
330
|
-
},
|
|
331
|
-
{
|
|
332
|
-
value: 'others',
|
|
333
|
-
label: 'Others',
|
|
334
|
-
children: [
|
|
335
|
-
{
|
|
336
|
-
value: 'dialog',
|
|
337
|
-
label: 'Dialog',
|
|
338
|
-
},
|
|
339
|
-
{
|
|
340
|
-
value: 'tooltip',
|
|
341
|
-
label: 'Tooltip',
|
|
342
|
-
},
|
|
343
|
-
{
|
|
344
|
-
value: 'popover',
|
|
345
|
-
label: 'Popover',
|
|
346
|
-
},
|
|
347
|
-
{
|
|
348
|
-
value: 'card',
|
|
349
|
-
label: 'Card',
|
|
350
|
-
},
|
|
351
|
-
{
|
|
352
|
-
value: 'carousel',
|
|
353
|
-
label: 'Carousel',
|
|
354
|
-
},
|
|
355
|
-
{
|
|
356
|
-
value: 'collapse',
|
|
357
|
-
label: 'Collapse',
|
|
358
|
-
},
|
|
359
|
-
],
|
|
360
|
-
},
|
|
361
|
-
],
|
|
362
|
-
},
|
|
363
|
-
{
|
|
364
|
-
value: 'resource',
|
|
365
|
-
label: 'Resource',
|
|
366
|
-
children: [
|
|
367
|
-
{
|
|
368
|
-
value: 'axure',
|
|
369
|
-
label: 'Axure Components',
|
|
370
|
-
},
|
|
371
|
-
{
|
|
372
|
-
value: 'sketch',
|
|
373
|
-
label: 'Sketch Templates',
|
|
374
|
-
},
|
|
375
|
-
{
|
|
376
|
-
value: 'docs',
|
|
377
|
-
label: 'Design Documentation',
|
|
378
|
-
},
|
|
379
|
-
],
|
|
380
|
-
},
|
|
381
|
-
],
|
|
382
|
-
};
|
|
383
|
-
},
|
|
384
|
-
methods: {
|
|
385
|
-
handleChange(value) {
|
|
386
|
-
console.log(value);
|
|
387
|
-
},
|
|
388
|
-
},
|
|
389
|
-
});
|
|
390
|
-
</script>
|
|
@@ -1,197 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="pt-8 pb-16 flex gap-12 flex-col">
|
|
3
|
-
<h1>Checkbox</h1>
|
|
4
|
-
|
|
5
|
-
<section>
|
|
6
|
-
<h2>Basic Usage</h2>
|
|
7
|
-
<p class="p-lg-c my-6">Checkbox, iki durum arasında geçiş yapmak için kullanılır. Checkbox için devre dışı bırakılmış durum da mevcuttur.</p>
|
|
8
|
-
<div class="grid grid-flow-col auto-cols-max gap-4">
|
|
9
|
-
<el-checkbox v-model="checked">Option</el-checkbox>
|
|
10
|
-
<el-checkbox :value="true" disabled>selected & disabled</el-checkbox>
|
|
11
|
-
<el-checkbox :value="false" disabled>unselected & disabled</el-checkbox>
|
|
12
|
-
</div>
|
|
13
|
-
<div class="my-4 p-4 border-l-4 border-info-600 bg-info-100">
|
|
14
|
-
<p class="text-xs">
|
|
15
|
-
<code> <el-checkbox :value="true" disabled>Seçili & Devre Dışı</el-checkbox> </code>
|
|
16
|
-
</p>
|
|
17
|
-
</div>
|
|
18
|
-
</section>
|
|
19
|
-
|
|
20
|
-
<section>
|
|
21
|
-
<h2>Checkbox group</h2>
|
|
22
|
-
<p class="p-lg-c my-6">
|
|
23
|
-
Checkbox grubu, birden fazla seçeneği bir arada sunarak kullanıcının birden çok seçim yapmasına olanak tanır. Bu grup içerisindeki
|
|
24
|
-
seçeneklerden bazıları devre dışı bırakılabilir veya önceden seçilmiş ve devre dışı bırakılmış olabilir.
|
|
25
|
-
</p>
|
|
26
|
-
<div class="grid grid-flow-col auto-cols-max gap-4">
|
|
27
|
-
<el-checkbox-group v-model="checkList" class="mb-6">
|
|
28
|
-
<el-checkbox label="Option A" />
|
|
29
|
-
<el-checkbox label="Option B" />
|
|
30
|
-
<el-checkbox label="Option C" />
|
|
31
|
-
<el-checkbox label="disabled" disabled />
|
|
32
|
-
<el-checkbox label="selected and disabled" disabled />
|
|
33
|
-
</el-checkbox-group>
|
|
34
|
-
</div>
|
|
35
|
-
<div class="my-4 p-4 border-l-4 border-info-600 bg-info-100">
|
|
36
|
-
<p class="text-xs">
|
|
37
|
-
<code>
|
|
38
|
-
<el-checkbox-group v-model="checkList"> <el-checkbox label="Seçenek A"></el-checkbox> <el-checkbox label="Seçenek
|
|
39
|
-
B"></el-checkbox> </el-checkbox-group>
|
|
40
|
-
</code>
|
|
41
|
-
</p>
|
|
42
|
-
</div>
|
|
43
|
-
</section>
|
|
44
|
-
|
|
45
|
-
<section>
|
|
46
|
-
<h2>Colors</h2>
|
|
47
|
-
<p class="p-lg-c my-6">
|
|
48
|
-
Renk seçenekleri ekledim. `class="primary"` şeklinde kullanılabilir. `'default', 'primary', 'secondary', 'gray', 'light', 'success', 'danger',
|
|
49
|
-
'info', 'warning'` diğer renk seçenekleri olarak kullanılabilir.
|
|
50
|
-
</p>
|
|
51
|
-
<div class="grid grid-flow-col auto-cols-max gap-4">
|
|
52
|
-
<el-checkbox
|
|
53
|
-
v-for="(color, index) of colors"
|
|
54
|
-
:key="index"
|
|
55
|
-
v-model="checkAll"
|
|
56
|
-
:class="color"
|
|
57
|
-
:indeterminate="isIndeterminate"
|
|
58
|
-
@change="handleCheckAllChange"
|
|
59
|
-
>
|
|
60
|
-
Check all
|
|
61
|
-
</el-checkbox>
|
|
62
|
-
</div>
|
|
63
|
-
<div class="my-4 p-4 border-l-4 border-info-600 bg-info-100">
|
|
64
|
-
<p class="text-xs">
|
|
65
|
-
<code>
|
|
66
|
-
<el-checkbox v-model="checkAll" class="danger" :indeterminate="isIndeterminate" @change="handleCheckAllChange">Check
|
|
67
|
-
all</el-checkbox>
|
|
68
|
-
</code>
|
|
69
|
-
</p>
|
|
70
|
-
</div>
|
|
71
|
-
</section>
|
|
72
|
-
|
|
73
|
-
<section>
|
|
74
|
-
<h2>Indeterminate</h2>
|
|
75
|
-
<p class="p-lg-c my-6">
|
|
76
|
-
Belirsiz durum (indeterminate) checkbox, tüm seçeneklerin seçili olup olmadığını belirsiz bırakır. Bu durum, özellikle kullanıcının bir grup
|
|
77
|
-
içerisindeki tüm seçenekleri aynı anda kontrol etmesini sağlamak için kullanışlıdır.
|
|
78
|
-
</p>
|
|
79
|
-
<div class="grid grid-flow-col auto-cols-max gap-4">
|
|
80
|
-
<el-checkbox v-model="checkAll" :indeterminate="isIndeterminate" @change="handleCheckAllChange">Check all</el-checkbox>
|
|
81
|
-
<el-checkbox-group v-model="checkedCities" @change="handleCheckedCitiesChange">
|
|
82
|
-
<el-checkbox v-for="city in cities" :key="city" :label="city">{{ city }}</el-checkbox>
|
|
83
|
-
</el-checkbox-group>
|
|
84
|
-
</div>
|
|
85
|
-
<div class="my-4 p-4 border-l-4 border-info-600 bg-info-100">
|
|
86
|
-
<p class="text-xs">
|
|
87
|
-
<code>
|
|
88
|
-
<el-checkbox v-model="checkAll" :indeterminate="isIndeterminate" @change="handleCheckAllChange">Check all</el-checkbox>
|
|
89
|
-
</code>
|
|
90
|
-
</p>
|
|
91
|
-
</div>
|
|
92
|
-
</section>
|
|
93
|
-
|
|
94
|
-
<section>
|
|
95
|
-
<div>
|
|
96
|
-
<el-checkbox-group v-model="checkboxGroup1">
|
|
97
|
-
<el-checkbox-button v-for="city in cities" :key="city" :label="city">{{ city }}</el-checkbox-button>
|
|
98
|
-
</el-checkbox-group>
|
|
99
|
-
</div>
|
|
100
|
-
<div style="margin-top: 20px">
|
|
101
|
-
<el-checkbox-group v-model="checkboxGroup2" size="medium">
|
|
102
|
-
<el-checkbox-button v-for="city in cities" :key="city" :label="city">{{ city }}</el-checkbox-button>
|
|
103
|
-
</el-checkbox-group>
|
|
104
|
-
</div>
|
|
105
|
-
<div style="margin-top: 20px">
|
|
106
|
-
<el-checkbox-group v-model="checkboxGroup3" size="small">
|
|
107
|
-
<el-checkbox-button v-for="city in cities" :key="city" :label="city" :disabled="city === 'Beijing'">{{ city }}</el-checkbox-button>
|
|
108
|
-
</el-checkbox-group>
|
|
109
|
-
</div>
|
|
110
|
-
<div style="margin-top: 20px">
|
|
111
|
-
<el-checkbox-group v-model="checkboxGroup4" size="mini" disabled>
|
|
112
|
-
<el-checkbox-button v-for="city in cities" :key="city" :label="city">{{ city }}</el-checkbox-button>
|
|
113
|
-
</el-checkbox-group>
|
|
114
|
-
</div>
|
|
115
|
-
</section>
|
|
116
|
-
</div>
|
|
117
|
-
</template>
|
|
118
|
-
<script>import { defineComponent } from 'vue';
|
|
119
|
-
const cityOptions = ['Shanghai', 'Beijing', 'Guangzhou', 'Shenzhen'];
|
|
120
|
-
export default defineComponent({
|
|
121
|
-
data() {
|
|
122
|
-
return {
|
|
123
|
-
colors: ['default', 'primary', 'secondary', 'gray', 'light', 'success', 'danger', 'info', 'warning'],
|
|
124
|
-
checked: true,
|
|
125
|
-
checkboxGroup1: ['Shanghai'],
|
|
126
|
-
checkboxGroup2: ['Shanghai'],
|
|
127
|
-
checkboxGroup3: ['Shanghai'],
|
|
128
|
-
checkboxGroup4: ['Beijing'],
|
|
129
|
-
cities: cityOptions,
|
|
130
|
-
checkList: ['selected and disabled', 'Option A'],
|
|
131
|
-
checkAll: false,
|
|
132
|
-
checkedCities: ['Shanghai', 'Beijing'],
|
|
133
|
-
isIndeterminate: true,
|
|
134
|
-
time: '',
|
|
135
|
-
sizeForm: {
|
|
136
|
-
name: '',
|
|
137
|
-
region: '',
|
|
138
|
-
date1: '',
|
|
139
|
-
date2: '',
|
|
140
|
-
delivery: false,
|
|
141
|
-
type: [],
|
|
142
|
-
resource: '',
|
|
143
|
-
desc: '',
|
|
144
|
-
},
|
|
145
|
-
loading: false,
|
|
146
|
-
form: {
|
|
147
|
-
email: '',
|
|
148
|
-
password: '',
|
|
149
|
-
remember: false,
|
|
150
|
-
token: null,
|
|
151
|
-
correlation_id: null,
|
|
152
|
-
action: null,
|
|
153
|
-
platform: 'manager',
|
|
154
|
-
version: '1.0.10',
|
|
155
|
-
},
|
|
156
|
-
rules: {
|
|
157
|
-
email: [
|
|
158
|
-
{
|
|
159
|
-
validator: 'validateEmail',
|
|
160
|
-
trigger: 'submit',
|
|
161
|
-
message: this.$t('messages.please_provide_valid_email'),
|
|
162
|
-
},
|
|
163
|
-
],
|
|
164
|
-
password: [
|
|
165
|
-
{
|
|
166
|
-
required: true,
|
|
167
|
-
trigger: 'submit',
|
|
168
|
-
message: this.$t('messages.please_fill', {
|
|
169
|
-
field: this.$t('login.password'),
|
|
170
|
-
}),
|
|
171
|
-
},
|
|
172
|
-
],
|
|
173
|
-
},
|
|
174
|
-
};
|
|
175
|
-
},
|
|
176
|
-
methods: {
|
|
177
|
-
handleCheckAllChange(val) {
|
|
178
|
-
this.checkedCities = val ? cityOptions : [];
|
|
179
|
-
this.isIndeterminate = false;
|
|
180
|
-
},
|
|
181
|
-
handleCheckedCitiesChange(value) {
|
|
182
|
-
const checkedCount = value.length;
|
|
183
|
-
this.checkAll = checkedCount === this.cities.length;
|
|
184
|
-
this.isIndeterminate = checkedCount > 0 && checkedCount < this.cities.length;
|
|
185
|
-
},
|
|
186
|
-
showAgreementDialog(type) {
|
|
187
|
-
console.log('agreement: ', type);
|
|
188
|
-
},
|
|
189
|
-
submit() {
|
|
190
|
-
this.$emit('submit', this.form);
|
|
191
|
-
},
|
|
192
|
-
onSubmit() {
|
|
193
|
-
console.log('submit!');
|
|
194
|
-
},
|
|
195
|
-
},
|
|
196
|
-
});
|
|
197
|
-
</script>
|
|
@@ -1,73 +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
|
-
<el-collapse v-model="activeNames" @change="handleChange">
|
|
9
|
-
<el-collapse-item title="Consistency" name="1">
|
|
10
|
-
<div>
|
|
11
|
-
Consistent with real life: in line with the process and logic of real life, and comply with languages and habits that the users are used
|
|
12
|
-
to;
|
|
13
|
-
</div>
|
|
14
|
-
<div>
|
|
15
|
-
Consistent within interface: all elements should be consistent, such as: design style, icons and texts, position of elements, etc.
|
|
16
|
-
</div>
|
|
17
|
-
</el-collapse-item>
|
|
18
|
-
<el-collapse-item title="Feedback" name="2">
|
|
19
|
-
<div>Operation feedback: enable the users to clearly perceive their operations by style updates and interactive effects;</div>
|
|
20
|
-
<div>Visual feedback: reflect current state by updating or rearranging elements of the page.</div>
|
|
21
|
-
</el-collapse-item>
|
|
22
|
-
<el-collapse-item title="Efficiency" name="3">
|
|
23
|
-
<div>Simplify the process: keep operating process simple and intuitive;</div>
|
|
24
|
-
<div>Definite and clear: enunciate your intentions clearly so that the users can quickly understand and make decisions;</div>
|
|
25
|
-
<div>
|
|
26
|
-
Easy to identify: the interface should be straightforward, which helps the users to identify and frees them from memorizing and recalling.
|
|
27
|
-
</div>
|
|
28
|
-
</el-collapse-item>
|
|
29
|
-
<el-collapse-item title="Controllability" name="4">
|
|
30
|
-
<div>Decision making: giving advices about operations is acceptable, but do not make decisions for the users;</div>
|
|
31
|
-
<div>
|
|
32
|
-
Controlled consequences: users should be granted the freedom to operate, including canceling, aborting or terminating current operation.
|
|
33
|
-
</div>
|
|
34
|
-
</el-collapse-item>
|
|
35
|
-
</el-collapse>
|
|
36
|
-
<div class="my-4 p-4 border-l-4 border-blue-600 bg-blue-100">
|
|
37
|
-
<p class="text-xs">
|
|
38
|
-
<code><el-input placeholder="Please input" v-model="input"></el-input></code>
|
|
39
|
-
</p>
|
|
40
|
-
</div>
|
|
41
|
-
</section>
|
|
42
|
-
</div>
|
|
43
|
-
</template>
|
|
44
|
-
|
|
45
|
-
<script>
|
|
46
|
-
import { defineComponent } from 'vue';
|
|
47
|
-
|
|
48
|
-
export default defineComponent({
|
|
49
|
-
name: 'TimusButtonSample',
|
|
50
|
-
data() {
|
|
51
|
-
return {
|
|
52
|
-
activeNames: ['1'],
|
|
53
|
-
};
|
|
54
|
-
},
|
|
55
|
-
computed: {
|
|
56
|
-
gridSize() {
|
|
57
|
-
const grids = {
|
|
58
|
-
5: 'grid-cols-5',
|
|
59
|
-
6: 'grid-cols-6',
|
|
60
|
-
7: 'grid-cols-7',
|
|
61
|
-
8: 'grid-cols-8',
|
|
62
|
-
};
|
|
63
|
-
|
|
64
|
-
return grids;
|
|
65
|
-
},
|
|
66
|
-
},
|
|
67
|
-
methods: {
|
|
68
|
-
handleChange(val) {
|
|
69
|
-
console.log(val);
|
|
70
|
-
},
|
|
71
|
-
},
|
|
72
|
-
});
|
|
73
|
-
</script>
|