@elmethis/vue 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/dist/_virtual/_plugin-vue_export-helper.mjs +10 -0
- package/dist/components/ag-ui/message/ElmAgUiMessageUser.stories.d.ts +6 -0
- package/dist/components/ag-ui/message/ElmAgUiMessageUser.vue.d.ts +8 -0
- package/dist/components/code/ElmCodeBlock.stories.d.ts +9 -0
- package/dist/components/code/ElmCodeBlock.vue.d.ts +48 -0
- package/dist/components/code/ElmCodeBlock.vue.mjs +23 -0
- package/dist/components/code/ElmCodeBlock.vue2.mjs +134 -0
- package/dist/components/code/ElmCodeBlock.vue3.mjs +43 -0
- package/dist/components/code/ElmKatex.stories.d.ts +8 -0
- package/dist/components/code/ElmKatex.vue.d.ts +20 -0
- package/dist/components/code/ElmKatex.vue.mjs +10 -0
- package/dist/components/code/ElmKatex.vue2.mjs +68 -0
- package/dist/components/code/ElmKatex.vue3.mjs +20 -0
- package/dist/components/code/ElmMermaid.stories.d.ts +7 -0
- package/dist/components/code/ElmMermaid.vue.d.ts +7 -0
- package/dist/components/code/ElmMermaid.vue.mjs +10 -0
- package/dist/components/code/ElmMermaid.vue2.mjs +59 -0
- package/dist/components/code/ElmMermaid.vue3.mjs +26 -0
- package/dist/components/code/ElmShikiHighlighter.stories.d.ts +6 -0
- package/dist/components/code/ElmShikiHighlighter.vue.d.ts +22 -0
- package/dist/components/code/ElmShikiHighlighter.vue.mjs +23 -0
- package/dist/components/code/ElmShikiHighlighter.vue2.mjs +55 -0
- package/dist/components/code/ElmShikiHighlighter.vue3.mjs +20 -0
- package/dist/components/code/shikiInstance.d.ts +2 -0
- package/dist/components/code/shikiInstance.mjs +76 -0
- package/dist/components/containments/ElmColumn.stories.d.ts +6 -0
- package/dist/components/containments/ElmColumn.vue.d.ts +19 -0
- package/dist/components/containments/ElmColumnList.vue.d.ts +19 -0
- package/dist/components/containments/ElmConfirmModal.stories.d.ts +6 -0
- package/dist/components/containments/ElmConfirmModal.vue.d.ts +37 -0
- package/dist/components/containments/ElmConfirmModal.vue.mjs +10 -0
- package/dist/components/containments/ElmConfirmModal.vue2.mjs +98 -0
- package/dist/components/containments/ElmConfirmModal.vue3.mjs +23 -0
- package/dist/components/containments/ElmDesktopWindow.stories.d.ts +6 -0
- package/dist/components/containments/ElmDesktopWindow.vue.d.ts +27 -0
- package/dist/components/containments/ElmDesktopWindow.vue.mjs +10 -0
- package/dist/components/containments/ElmDesktopWindow.vue2.mjs +42 -0
- package/dist/components/containments/ElmDesktopWindow.vue3.mjs +26 -0
- package/dist/components/containments/ElmModal.stories.d.ts +6 -0
- package/dist/components/containments/ElmModal.vue.d.ts +34 -0
- package/dist/components/containments/ElmModal.vue.mjs +10 -0
- package/dist/components/containments/ElmModal.vue2.mjs +56 -0
- package/dist/components/containments/ElmModal.vue3.mjs +23 -0
- package/dist/components/containments/ElmParallax.stories.d.ts +6 -0
- package/dist/components/containments/ElmParallax.vue.d.ts +6 -0
- package/dist/components/containments/ElmParallax.vue.mjs +10 -0
- package/dist/components/containments/ElmParallax.vue2.mjs +35 -0
- package/dist/components/containments/ElmParallax.vue3.mjs +20 -0
- package/dist/components/containments/ElmSimpleTooltip.stories.d.ts +7 -0
- package/dist/components/containments/ElmSimpleTooltip.vue.d.ts +21 -0
- package/dist/components/containments/ElmSimpleTooltip.vue.mjs +10 -0
- package/dist/components/containments/ElmSimpleTooltip.vue2.mjs +37 -0
- package/dist/components/containments/ElmSimpleTooltip.vue3.mjs +26 -0
- package/dist/components/containments/ElmSnackbar.stories.d.ts +6 -0
- package/dist/components/containments/ElmSnackbar.vue.d.ts +11 -0
- package/dist/components/containments/ElmSnackbar.vue.mjs +10 -0
- package/dist/components/containments/ElmSnackbar.vue2.mjs +41 -0
- package/dist/components/containments/ElmSnackbar.vue3.mjs +26 -0
- package/dist/components/containments/ElmSnackbarContainer.vue.d.ts +10 -0
- package/dist/components/containments/ElmSnackbarContainer.vue.mjs +23 -0
- package/dist/components/containments/ElmSnackbarContainer.vue2.mjs +33 -0
- package/dist/components/containments/ElmSnackbarContainer.vue3.mjs +19 -0
- package/dist/components/containments/ElmToggle.stories.d.ts +7 -0
- package/dist/components/containments/ElmToggle.vue.d.ts +41 -0
- package/dist/components/containments/ElmToggle.vue.mjs +10 -0
- package/dist/components/containments/ElmToggle.vue2.mjs +106 -0
- package/dist/components/containments/ElmToggle.vue3.mjs +44 -0
- package/dist/components/containments/ElmTooltip.stories.d.ts +6 -0
- package/dist/components/containments/ElmTooltip.vue.d.ts +40 -0
- package/dist/components/containments/ElmTooltip.vue.mjs +10 -0
- package/dist/components/containments/ElmTooltip.vue2.mjs +56 -0
- package/dist/components/containments/ElmTooltip.vue3.mjs +26 -0
- package/dist/components/containments/useSnackbarState.d.ts +28 -0
- package/dist/components/data/ElmMultiProgress.stories.d.ts +6 -0
- package/dist/components/data/ElmMultiProgress.vue.d.ts +30 -0
- package/dist/components/data/ElmMultiProgress.vue.mjs +10 -0
- package/dist/components/data/ElmMultiProgress.vue2.mjs +45 -0
- package/dist/components/data/ElmMultiProgress.vue3.mjs +23 -0
- package/dist/components/data/ElmProgress.stories.d.ts +10 -0
- package/dist/components/data/ElmProgress.vue.d.ts +38 -0
- package/dist/components/data/ElmProgress.vue.mjs +10 -0
- package/dist/components/data/ElmProgress.vue2.mjs +53 -0
- package/dist/components/data/ElmProgress.vue3.mjs +32 -0
- package/dist/components/data/ElmStatusMessage.stories.d.ts +9 -0
- package/dist/components/data/ElmStatusMessage.vue.d.ts +6 -0
- package/dist/components/data/ElmStatusMessage.vue.mjs +23 -0
- package/dist/components/data/ElmStatusMessage.vue2.mjs +76 -0
- package/dist/components/data/ElmStatusMessage.vue3.mjs +20 -0
- package/dist/components/fallback/ElmBlockFallback.stories.d.ts +6 -0
- package/dist/components/fallback/ElmBlockFallback.vue.d.ts +4 -0
- package/dist/components/fallback/ElmBlockFallback.vue.mjs +10 -0
- package/dist/components/fallback/ElmBlockFallback.vue2.mjs +17 -0
- package/dist/components/fallback/ElmBlockFallback.vue3.mjs +18 -0
- package/dist/components/fallback/ElmRectangleWave.stories.d.ts +6 -0
- package/dist/components/fallback/ElmRectangleWave.vue.d.ts +4 -0
- package/dist/components/fallback/ElmRectangleWave.vue.mjs +10 -0
- package/dist/components/fallback/ElmRectangleWave.vue2.mjs +15 -0
- package/dist/components/fallback/ElmRectangleWave.vue3.mjs +21 -0
- package/dist/components/fallback/ElmSpinner.stories.d.ts +6 -0
- package/dist/components/fallback/ElmSpinner.vue.d.ts +9 -0
- package/dist/components/fallback/ElmSpinner.vue.mjs +10 -0
- package/dist/components/fallback/ElmSpinner.vue2.mjs +30 -0
- package/dist/components/fallback/ElmSpinner.vue3.mjs +24 -0
- package/dist/components/fallback/ElmUnsupportedBlock.stories.d.ts +6 -0
- package/dist/components/fallback/ElmUnsupportedBlock.vue.d.ts +5 -0
- package/dist/components/fallback/ElmUnsupportedBlock.vue.mjs +10 -0
- package/dist/components/fallback/ElmUnsupportedBlock.vue2.mjs +46 -0
- package/dist/components/fallback/ElmUnsupportedBlock.vue3.mjs +29 -0
- package/dist/components/form/ElmButton.stories.d.ts +11 -0
- package/dist/components/form/ElmButton.vue.d.ts +42 -0
- package/dist/components/form/ElmButton.vue.mjs +23 -0
- package/dist/components/form/ElmButton.vue2.mjs +71 -0
- package/dist/components/form/ElmButton.vue3.mjs +39 -0
- package/dist/components/form/ElmCheckbox.stories.d.ts +6 -0
- package/dist/components/form/ElmCheckbox.vue.d.ts +26 -0
- package/dist/components/form/ElmCheckbox.vue.mjs +10 -0
- package/dist/components/form/ElmCheckbox.vue2.mjs +177 -0
- package/dist/components/form/ElmCheckbox.vue3.mjs +34 -0
- package/dist/components/form/ElmSelect.stories.d.ts +6 -0
- package/dist/components/form/ElmSelect.vue.d.ts +48 -0
- package/dist/components/form/ElmSelect.vue.mjs +10 -0
- package/dist/components/form/ElmSelect.vue2.mjs +145 -0
- package/dist/components/form/ElmSelect.vue3.mjs +56 -0
- package/dist/components/form/ElmSwitch.stories.d.ts +6 -0
- package/dist/components/form/ElmSwitch.vue.d.ts +32 -0
- package/dist/components/form/ElmSwitch.vue.mjs +10 -0
- package/dist/components/form/ElmSwitch.vue2.mjs +61 -0
- package/dist/components/form/ElmSwitch.vue3.mjs +28 -0
- package/dist/components/form/ElmTextField.stories.d.ts +7 -0
- package/dist/components/form/ElmTextField.vue.d.ts +33 -0
- package/dist/components/form/ElmTextField.vue.mjs +10 -0
- package/dist/components/form/ElmTextField.vue2.mjs +150 -0
- package/dist/components/form/ElmTextField.vue3.mjs +49 -0
- package/dist/components/form/ElmValidation.stories.d.ts +6 -0
- package/dist/components/form/ElmValidation.vue.d.ts +9 -0
- package/dist/components/form/ElmValidation.vue.mjs +10 -0
- package/dist/components/form/ElmValidation.vue2.mjs +34 -0
- package/dist/components/form/ElmValidation.vue3.mjs +20 -0
- package/dist/components/icon/ElmArrowIcon.stories.d.ts +6 -0
- package/dist/components/icon/ElmArrowIcon.vue.d.ts +26 -0
- package/dist/components/icon/ElmArrowIcon.vue.mjs +10 -0
- package/dist/components/icon/ElmArrowIcon.vue2.mjs +31 -0
- package/dist/components/icon/ElmArrowIcon.vue3.mjs +29 -0
- package/dist/components/icon/ElmBookmarkIcon.stories.d.ts +8 -0
- package/dist/components/icon/ElmBookmarkIcon.vue.d.ts +7 -0
- package/dist/components/icon/ElmBookmarkIcon.vue.mjs +10 -0
- package/dist/components/icon/ElmBookmarkIcon.vue2.mjs +47 -0
- package/dist/components/icon/ElmBookmarkIcon.vue3.mjs +26 -0
- package/dist/components/icon/ElmCubeIcon.stories.d.ts +6 -0
- package/dist/components/icon/ElmCubeIcon.vue.d.ts +10 -0
- package/dist/components/icon/ElmCubeIcon.vue.mjs +10 -0
- package/dist/components/icon/ElmCubeIcon.vue2.mjs +41 -0
- package/dist/components/icon/ElmCubeIcon.vue3.mjs +24 -0
- package/dist/components/icon/ElmDotLoadingIcon.stories.d.ts +6 -0
- package/dist/components/icon/ElmDotLoadingIcon.vue.d.ts +18 -0
- package/dist/components/icon/ElmDotLoadingIcon.vue.mjs +10 -0
- package/dist/components/icon/ElmDotLoadingIcon.vue2.mjs +28 -0
- package/dist/components/icon/ElmDotLoadingIcon.vue3.mjs +26 -0
- package/dist/components/icon/ElmInlineIcon.stories.d.ts +6 -0
- package/dist/components/icon/ElmInlineIcon.vue.d.ts +12 -0
- package/dist/components/icon/ElmInlineIcon.vue.mjs +10 -0
- package/dist/components/icon/ElmInlineIcon.vue2.mjs +27 -0
- package/dist/components/icon/ElmInlineIcon.vue3.mjs +20 -0
- package/dist/components/icon/ElmLanguageIcon.stories.d.ts +6 -0
- package/dist/components/icon/ElmLanguageIcon.vue.d.ts +15 -0
- package/dist/components/icon/ElmLanguageIcon.vue.mjs +10 -0
- package/dist/components/icon/ElmLanguageIcon.vue2.mjs +147 -0
- package/dist/components/icon/ElmLanguageIcon.vue3.mjs +20 -0
- package/dist/components/icon/ElmLoginIcon.stories.d.ts +6 -0
- package/dist/components/icon/ElmLoginIcon.vue.d.ts +18 -0
- package/dist/components/icon/ElmLoginIcon.vue.mjs +10 -0
- package/dist/components/icon/ElmLoginIcon.vue2.mjs +36 -0
- package/dist/components/icon/ElmLoginIcon.vue3.mjs +20 -0
- package/dist/components/icon/ElmMdiIcon.stories.d.ts +6 -0
- package/dist/components/icon/ElmMdiIcon.vue.d.ts +11 -0
- package/dist/components/icon/ElmMdiIcon.vue.mjs +10 -0
- package/dist/components/icon/ElmMdiIcon.vue2.mjs +34 -0
- package/dist/components/icon/ElmMdiIcon.vue3.mjs +20 -0
- package/dist/components/icon/ElmSquareLoadingIcon.stories.d.ts +6 -0
- package/dist/components/icon/ElmSquareLoadingIcon.vue.d.ts +10 -0
- package/dist/components/icon/ElmSquareLoadingIcon.vue.mjs +10 -0
- package/dist/components/icon/ElmSquareLoadingIcon.vue2.mjs +37 -0
- package/dist/components/icon/ElmSquareLoadingIcon.vue3.mjs +26 -0
- package/dist/components/icon/ElmToggleTheme.stories.d.ts +6 -0
- package/dist/components/icon/ElmToggleTheme.vue.d.ts +11 -0
- package/dist/components/icon/ElmToggleTheme.vue.mjs +10 -0
- package/dist/components/icon/ElmToggleTheme.vue2.mjs +41 -0
- package/dist/components/icon/ElmToggleTheme.vue3.mjs +20 -0
- package/dist/components/icon/languages/Bash.vue.d.ts +7 -0
- package/dist/components/icon/languages/Bash.vue.mjs +10 -0
- package/dist/components/icon/languages/Bash.vue2.mjs +34 -0
- package/dist/components/icon/languages/Bash.vue3.mjs +20 -0
- package/dist/components/icon/languages/C.vue.d.ts +7 -0
- package/dist/components/icon/languages/C.vue.mjs +34 -0
- package/dist/components/icon/languages/C.vue2.mjs +4 -0
- package/dist/components/icon/languages/Cplusplus.vue.d.ts +7 -0
- package/dist/components/icon/languages/Cplusplus.vue.mjs +38 -0
- package/dist/components/icon/languages/Cplusplus.vue2.mjs +4 -0
- package/dist/components/icon/languages/Csharp.vue.d.ts +7 -0
- package/dist/components/icon/languages/Csharp.vue.mjs +34 -0
- package/dist/components/icon/languages/Csharp.vue2.mjs +4 -0
- package/dist/components/icon/languages/Css.vue.d.ts +7 -0
- package/dist/components/icon/languages/Css.vue.mjs +26 -0
- package/dist/components/icon/languages/Css.vue2.mjs +4 -0
- package/dist/components/icon/languages/Go.vue.d.ts +7 -0
- package/dist/components/icon/languages/Go.vue.mjs +32 -0
- package/dist/components/icon/languages/Go.vue2.mjs +4 -0
- package/dist/components/icon/languages/Html.vue.d.ts +7 -0
- package/dist/components/icon/languages/Html.vue.mjs +38 -0
- package/dist/components/icon/languages/Html.vue2.mjs +4 -0
- package/dist/components/icon/languages/Java.vue.d.ts +7 -0
- package/dist/components/icon/languages/Java.vue.mjs +23 -0
- package/dist/components/icon/languages/Java.vue2.mjs +4 -0
- package/dist/components/icon/languages/Javascript.vue.d.ts +7 -0
- package/dist/components/icon/languages/Javascript.vue.mjs +30 -0
- package/dist/components/icon/languages/Javascript.vue2.mjs +4 -0
- package/dist/components/icon/languages/Json.vue.d.ts +7 -0
- package/dist/components/icon/languages/Json.vue.mjs +23 -0
- package/dist/components/icon/languages/Json.vue2.mjs +4 -0
- package/dist/components/icon/languages/Kotlin.vue.d.ts +7 -0
- package/dist/components/icon/languages/Kotlin.vue.mjs +23 -0
- package/dist/components/icon/languages/Kotlin.vue2.mjs +4 -0
- package/dist/components/icon/languages/Lua.vue.d.ts +7 -0
- package/dist/components/icon/languages/Lua.vue.mjs +34 -0
- package/dist/components/icon/languages/Lua.vue2.mjs +4 -0
- package/dist/components/icon/languages/Npm.vue.d.ts +7 -0
- package/dist/components/icon/languages/Npm.vue.mjs +30 -0
- package/dist/components/icon/languages/Npm.vue2.mjs +4 -0
- package/dist/components/icon/languages/Python.vue.d.ts +7 -0
- package/dist/components/icon/languages/Python.vue.mjs +23 -0
- package/dist/components/icon/languages/Python.vue2.mjs +4 -0
- package/dist/components/icon/languages/Rust.vue.d.ts +7 -0
- package/dist/components/icon/languages/Rust.vue.mjs +24 -0
- package/dist/components/icon/languages/Rust.vue2.mjs +4 -0
- package/dist/components/icon/languages/Sql.vue.d.ts +7 -0
- package/dist/components/icon/languages/Sql.vue.mjs +26 -0
- package/dist/components/icon/languages/Sql.vue2.mjs +4 -0
- package/dist/components/icon/languages/Terraform.vue.d.ts +7 -0
- package/dist/components/icon/languages/Terraform.vue.mjs +36 -0
- package/dist/components/icon/languages/Terraform.vue2.mjs +4 -0
- package/dist/components/icon/languages/Typescript.vue.d.ts +7 -0
- package/dist/components/icon/languages/Typescript.vue.mjs +30 -0
- package/dist/components/icon/languages/Typescript.vue2.mjs +4 -0
- package/dist/components/media/ElmFile.stories.d.ts +6 -0
- package/dist/components/media/ElmFile.vue.d.ts +21 -0
- package/dist/components/media/ElmFile.vue.mjs +10 -0
- package/dist/components/media/ElmFile.vue2.mjs +79 -0
- package/dist/components/media/ElmFile.vue3.mjs +23 -0
- package/dist/components/media/ElmImage.stories.d.ts +9 -0
- package/dist/components/media/ElmImage.vue.d.ts +27 -0
- package/dist/components/media/ElmImage.vue.mjs +10 -0
- package/dist/components/media/ElmImage.vue2.mjs +142 -0
- package/dist/components/media/ElmImage.vue3.mjs +35 -0
- package/dist/components/navigation/ElmBookmark.stories.d.ts +12 -0
- package/dist/components/navigation/ElmBookmark.vue.d.ts +53 -0
- package/dist/components/navigation/ElmBookmark.vue.mjs +10 -0
- package/dist/components/navigation/ElmBookmark.vue2.mjs +116 -0
- package/dist/components/navigation/ElmBookmark.vue3.mjs +41 -0
- package/dist/components/navigation/ElmBreadcrumb.stories.d.ts +7 -0
- package/dist/components/navigation/ElmBreadcrumb.vue.d.ts +19 -0
- package/dist/components/navigation/ElmBreadcrumb.vue.mjs +10 -0
- package/dist/components/navigation/ElmBreadcrumb.vue2.mjs +65 -0
- package/dist/components/navigation/ElmBreadcrumb.vue3.mjs +24 -0
- package/dist/components/navigation/ElmPagetop.stories.d.ts +6 -0
- package/dist/components/navigation/ElmPagetop.vue.d.ts +10 -0
- package/dist/components/navigation/ElmPagetop.vue.mjs +10 -0
- package/dist/components/navigation/ElmPagetop.vue2.mjs +52 -0
- package/dist/components/navigation/ElmPagetop.vue3.mjs +30 -0
- package/dist/components/navigation/ElmTableOfContents.stories.d.ts +7 -0
- package/dist/components/navigation/ElmTableOfContents.vue.d.ts +9 -0
- package/dist/components/navigation/ElmTableOfContents.vue.mjs +10 -0
- package/dist/components/navigation/ElmTableOfContents.vue2.mjs +45 -0
- package/dist/components/navigation/ElmTableOfContents.vue3.mjs +23 -0
- package/dist/components/others/ElmColorSample.stories.d.ts +6 -0
- package/dist/components/others/ElmColorSample.vue.d.ts +8 -0
- package/dist/components/others/ElmColorSample.vue.mjs +23 -0
- package/dist/components/others/ElmColorSample.vue2.mjs +72 -0
- package/dist/components/others/ElmColorSample.vue3.mjs +21 -0
- package/dist/components/others/ElmColorTable.stories.d.ts +6 -0
- package/dist/components/others/ElmColorTable.vue.d.ts +11 -0
- package/dist/components/others/ElmColorTable.vue.mjs +10 -0
- package/dist/components/others/ElmColorTable.vue2.mjs +49 -0
- package/dist/components/others/ElmColorTable.vue3.mjs +22 -0
- package/dist/components/others/ElmJsonComponentRenderer.stories.d.ts +23 -0
- package/dist/components/others/ElmJsonComponentRenderer.vue.d.ts +6 -0
- package/dist/components/others/ElmJsonComponentRenderer.vue.mjs +10 -0
- package/dist/components/others/ElmJsonComponentRenderer.vue2.mjs +189 -0
- package/dist/components/others/ElmJsonComponentRenderer.vue3.mjs +21 -0
- package/dist/components/others/ElmMarkdown.stories.d.ts +6 -0
- package/dist/components/others/ElmMarkdown.vue.d.ts +5 -0
- package/dist/components/others/ElmMarkdown.vue.mjs +255 -0
- package/dist/components/others/ElmMarkdown.vue2.mjs +4 -0
- package/dist/components/others/ElmTyping.stories.d.ts +6 -0
- package/dist/components/others/ElmTyping.vue.d.ts +4 -0
- package/dist/components/table/ElmTable.stories.d.ts +6 -0
- package/dist/components/table/ElmTable.vue.d.ts +46 -0
- package/dist/components/table/ElmTable.vue.mjs +10 -0
- package/dist/components/table/ElmTable.vue2.mjs +62 -0
- package/dist/components/table/ElmTable.vue3.mjs +27 -0
- package/dist/components/table/ElmTableBody.vue.d.ts +22 -0
- package/dist/components/table/ElmTableBody.vue.mjs +15 -0
- package/dist/components/table/ElmTableBody.vue2.mjs +4 -0
- package/dist/components/table/ElmTableCell.vue.d.ts +33 -0
- package/dist/components/table/ElmTableCell.vue.mjs +10 -0
- package/dist/components/table/ElmTableCell.vue2.mjs +28 -0
- package/dist/components/table/ElmTableCell.vue3.mjs +26 -0
- package/dist/components/table/ElmTableHeader.vue.d.ts +22 -0
- package/dist/components/table/ElmTableHeader.vue.mjs +10 -0
- package/dist/components/table/ElmTableHeader.vue2.mjs +17 -0
- package/dist/components/table/ElmTableHeader.vue3.mjs +20 -0
- package/dist/components/table/ElmTableRow.vue.d.ts +22 -0
- package/dist/components/table/ElmTableRow.vue.mjs +10 -0
- package/dist/components/table/ElmTableRow.vue2.mjs +20 -0
- package/dist/components/table/ElmTableRow.vue3.mjs +21 -0
- package/dist/components/template/ElmTemplate.stories.d.ts +6 -0
- package/dist/components/template/ElmTemplate.vue.d.ts +4 -0
- package/dist/components/typography/ElmBlockQuote.stories.d.ts +6 -0
- package/dist/components/typography/ElmBlockQuote.vue.d.ts +24 -0
- package/dist/components/typography/ElmBlockQuote.vue.mjs +10 -0
- package/dist/components/typography/ElmBlockQuote.vue2.mjs +64 -0
- package/dist/components/typography/ElmBlockQuote.vue3.mjs +26 -0
- package/dist/components/typography/ElmCallout.stories.d.ts +11 -0
- package/dist/components/typography/ElmCallout.vue.d.ts +30 -0
- package/dist/components/typography/ElmCallout.vue.mjs +10 -0
- package/dist/components/typography/ElmCallout.vue2.mjs +58 -0
- package/dist/components/typography/ElmCallout.vue3.mjs +23 -0
- package/dist/components/typography/ElmDivider.stories.d.ts +6 -0
- package/dist/components/typography/ElmDivider.vue.d.ts +11 -0
- package/dist/components/typography/ElmDivider.vue.mjs +10 -0
- package/dist/components/typography/ElmDivider.vue2.mjs +29 -0
- package/dist/components/typography/ElmDivider.vue3.mjs +20 -0
- package/dist/components/typography/ElmFragmentIdentifier.stories.d.ts +6 -0
- package/dist/components/typography/ElmFragmentIdentifier.vue.d.ts +8 -0
- package/dist/components/typography/ElmFragmentIdentifier.vue.mjs +10 -0
- package/dist/components/typography/ElmFragmentIdentifier.vue2.mjs +27 -0
- package/dist/components/typography/ElmFragmentIdentifier.vue3.mjs +20 -0
- package/dist/components/typography/ElmHeading.stories.d.ts +7 -0
- package/dist/components/typography/ElmHeading.vue.d.ts +49 -0
- package/dist/components/typography/ElmHeading.vue.mjs +10 -0
- package/dist/components/typography/ElmHeading.vue2.mjs +95 -0
- package/dist/components/typography/ElmHeading.vue3.mjs +39 -0
- package/dist/components/typography/ElmInlineText.stories.d.ts +12 -0
- package/dist/components/typography/ElmInlineText.vue.d.ts +85 -0
- package/dist/components/typography/ElmInlineText.vue.mjs +10 -0
- package/dist/components/typography/ElmInlineText.vue2.mjs +158 -0
- package/dist/components/typography/ElmInlineText.vue3.mjs +35 -0
- package/dist/components/typography/ElmList.stories.d.ts +8 -0
- package/dist/components/typography/ElmList.vue.d.ts +31 -0
- package/dist/components/typography/ElmList.vue.mjs +36 -0
- package/dist/components/typography/ElmList.vue3.mjs +17 -0
- package/dist/components/typography/ElmParagraph.stories.d.ts +6 -0
- package/dist/components/typography/ElmParagraph.vue.d.ts +23 -0
- package/dist/components/typography/ElmParagraph.vue.mjs +10 -0
- package/dist/components/typography/ElmParagraph.vue2.mjs +27 -0
- package/dist/components/typography/ElmParagraph.vue3.mjs +20 -0
- package/dist/components/typography/ElmTypingAnimation.stories.d.ts +6 -0
- package/dist/components/typography/ElmTypingAnimation.vue.d.ts +21 -0
- package/dist/components/typography/ElmTypingAnimation.vue.mjs +10 -0
- package/dist/components/typography/ElmTypingAnimation.vue2.mjs +49 -0
- package/dist/components/typography/ElmTypingAnimation.vue3.mjs +26 -0
- package/dist/hooks/useElmethisTheme.d.ts +4 -0
- package/dist/hooks/useElmethisTheme.mjs +43 -0
- package/dist/hooks/useTyping.d.ts +17 -0
- package/dist/hooks/useTyping.mjs +37 -0
- package/dist/index.d.ts +120 -0
- package/dist/index.mjs +137 -0
- package/dist/node_modules/.pnpm/marked@16.4.1/node_modules/marked/lib/marked.esm.mjs +1099 -0
- package/dist/styles/heading.module.scss.mjs +20 -0
- package/dist/styles/text.module.scss.mjs +20 -0
- package/dist/styles/transition-fade.module.scss.mjs +27 -0
- package/package.json +62 -0
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { defineComponent, ref, createElementBlock, openBlock, normalizeClass, renderSlot, createVNode, Transition, withCtx, createCommentVNode, normalizeStyle, unref } from "vue";
|
|
2
|
+
import { useElementBounding, useWindowSize } from "@vueuse/core";
|
|
3
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
|
+
__name: "ElmTooltip",
|
|
5
|
+
setup(__props) {
|
|
6
|
+
const el = ref(null);
|
|
7
|
+
const { x, y, width, height } = useElementBounding(el);
|
|
8
|
+
const windowSize = useWindowSize();
|
|
9
|
+
const isHover = ref(false);
|
|
10
|
+
return (_ctx, _cache) => {
|
|
11
|
+
return openBlock(), createElementBlock("span", {
|
|
12
|
+
ref_key: "el",
|
|
13
|
+
ref: el,
|
|
14
|
+
class: normalizeClass(_ctx.$style.original),
|
|
15
|
+
onMouseover: _cache[0] || (_cache[0] = () => {
|
|
16
|
+
isHover.value = true;
|
|
17
|
+
}),
|
|
18
|
+
onMouseleave: _cache[1] || (_cache[1] = () => {
|
|
19
|
+
isHover.value = false;
|
|
20
|
+
})
|
|
21
|
+
}, [
|
|
22
|
+
renderSlot(_ctx.$slots, "original"),
|
|
23
|
+
createVNode(Transition, {
|
|
24
|
+
"leave-from-class": _ctx.$style["v-leave-from"],
|
|
25
|
+
"enter-to-class": _ctx.$style["v-enter-to"],
|
|
26
|
+
"enter-active-class": _ctx.$style["v-enter-active"],
|
|
27
|
+
"leave-active-class": _ctx.$style["v-leave-active"],
|
|
28
|
+
"enter-from-class": _ctx.$style["v-enter-from"],
|
|
29
|
+
"leave-to-class": _ctx.$style["v-leave-to"]
|
|
30
|
+
}, {
|
|
31
|
+
default: withCtx(() => [
|
|
32
|
+
isHover.value ? (openBlock(), createElementBlock("div", {
|
|
33
|
+
key: 0,
|
|
34
|
+
class: normalizeClass(_ctx.$style.tooltip),
|
|
35
|
+
style: normalizeStyle(
|
|
36
|
+
unref(x) > unref(windowSize).width.value / 2 ? {
|
|
37
|
+
top: `${unref(y) + unref(height)}px`,
|
|
38
|
+
right: `${unref(windowSize).width.value - unref(x) - unref(width)}px`
|
|
39
|
+
} : {
|
|
40
|
+
top: `${unref(y) + unref(height)}px`,
|
|
41
|
+
left: `${unref(x)}px`
|
|
42
|
+
}
|
|
43
|
+
)
|
|
44
|
+
}, [
|
|
45
|
+
renderSlot(_ctx.$slots, "tooltip")
|
|
46
|
+
], 6)) : createCommentVNode("", true)
|
|
47
|
+
]),
|
|
48
|
+
_: 3
|
|
49
|
+
}, 8, ["leave-from-class", "enter-to-class", "enter-active-class", "leave-active-class", "enter-from-class", "leave-to-class"])
|
|
50
|
+
], 34);
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
export {
|
|
55
|
+
_sfc_main as default
|
|
56
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
(function() {
|
|
2
|
+
"use strict";
|
|
3
|
+
try {
|
|
4
|
+
if (typeof document != "undefined") {
|
|
5
|
+
var elementStyle = document.createElement("style");
|
|
6
|
+
elementStyle.appendChild(document.createTextNode("._tooltip_119fm_1{box-sizing:border-box;position:fixed;z-index:1000;max-width:min(32rem,100vw - 2rem);padding:.5rem 0}._v-enter-to_119fm_9,._v-leave-from_119fm_10{transform:scale(1);opacity:1}._v-enter-active_119fm_15,._v-leave-active_119fm_16{transition:opacity .2s,transform .2s}._v-enter-from_119fm_20,._v-leave-to_119fm_21{transform:scale(.95);opacity:0}"));
|
|
7
|
+
document.head.appendChild(elementStyle);
|
|
8
|
+
}
|
|
9
|
+
} catch (e) {
|
|
10
|
+
console.error("vite-plugin-css-injected-by-js", e);
|
|
11
|
+
}
|
|
12
|
+
})();
|
|
13
|
+
const tooltip = "_tooltip_119fm_1";
|
|
14
|
+
const style0 = {
|
|
15
|
+
tooltip,
|
|
16
|
+
"v-enter-to": "_v-enter-to_119fm_9",
|
|
17
|
+
"v-leave-from": "_v-leave-from_119fm_10",
|
|
18
|
+
"v-enter-active": "_v-enter-active_119fm_15",
|
|
19
|
+
"v-leave-active": "_v-leave-active_119fm_16",
|
|
20
|
+
"v-enter-from": "_v-enter-from_119fm_20",
|
|
21
|
+
"v-leave-to": "_v-leave-to_119fm_21"
|
|
22
|
+
};
|
|
23
|
+
export {
|
|
24
|
+
style0 as default,
|
|
25
|
+
tooltip
|
|
26
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { VNode } from 'vue';
|
|
2
|
+
export declare function useSnackbarState(): {
|
|
3
|
+
snackbars: import('vue').Ref<{
|
|
4
|
+
id: string;
|
|
5
|
+
label?: string | undefined;
|
|
6
|
+
timeout: number;
|
|
7
|
+
children?: VNode | undefined;
|
|
8
|
+
close: () => void;
|
|
9
|
+
}[], {
|
|
10
|
+
id: string;
|
|
11
|
+
label?: string;
|
|
12
|
+
timeout: number;
|
|
13
|
+
children?: VNode;
|
|
14
|
+
close: () => void;
|
|
15
|
+
}[] | {
|
|
16
|
+
id: string;
|
|
17
|
+
label?: string | undefined;
|
|
18
|
+
timeout: number;
|
|
19
|
+
children?: VNode | undefined;
|
|
20
|
+
close: () => void;
|
|
21
|
+
}[]>;
|
|
22
|
+
push: ({ label, timeout, children, }: {
|
|
23
|
+
label?: string;
|
|
24
|
+
timeout?: number;
|
|
25
|
+
children?: VNode;
|
|
26
|
+
}) => string;
|
|
27
|
+
remove: (id: string) => void;
|
|
28
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/vue3-vite';
|
|
2
|
+
import { default as ElmMultiProgress } from './ElmMultiProgress.vue';
|
|
3
|
+
declare const meta: Meta<typeof ElmMultiProgress>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const Primary: Story;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { Property } from 'csstype';
|
|
2
|
+
export interface ElmMultiProgressProps {
|
|
3
|
+
progress: Array<{
|
|
4
|
+
/**
|
|
5
|
+
* The current value of the progress.
|
|
6
|
+
*/
|
|
7
|
+
value: number;
|
|
8
|
+
/**
|
|
9
|
+
* The buffer value of the progress.
|
|
10
|
+
*/
|
|
11
|
+
buffer?: number;
|
|
12
|
+
/**
|
|
13
|
+
* The color of the progress.
|
|
14
|
+
*/
|
|
15
|
+
color: string;
|
|
16
|
+
}>;
|
|
17
|
+
/**
|
|
18
|
+
* The weight of the progress.
|
|
19
|
+
*/
|
|
20
|
+
weight?: Property.Height<string | number>;
|
|
21
|
+
/**
|
|
22
|
+
* Whether the progress should be round.
|
|
23
|
+
*/
|
|
24
|
+
round?: boolean;
|
|
25
|
+
}
|
|
26
|
+
declare const _default: import('vue').DefineComponent<ElmMultiProgressProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ElmMultiProgressProps> & Readonly<{}>, {
|
|
27
|
+
weight: Property.Height<string | number>;
|
|
28
|
+
round: boolean;
|
|
29
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
30
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import _sfc_main from "./ElmMultiProgress.vue2.mjs";
|
|
2
|
+
import style0 from "./ElmMultiProgress.vue3.mjs";
|
|
3
|
+
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
+
const cssModules = {
|
|
5
|
+
"$style": style0
|
|
6
|
+
};
|
|
7
|
+
const ElmMultiProgress = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules]]);
|
|
8
|
+
export {
|
|
9
|
+
ElmMultiProgress as default
|
|
10
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { defineComponent, computed, createElementBlock, openBlock, normalizeStyle, normalizeClass, Fragment, renderList } from "vue";
|
|
2
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
3
|
+
__name: "ElmMultiProgress",
|
|
4
|
+
props: {
|
|
5
|
+
progress: {},
|
|
6
|
+
weight: { default: "4px" },
|
|
7
|
+
round: { type: Boolean, default: true }
|
|
8
|
+
},
|
|
9
|
+
setup(__props) {
|
|
10
|
+
const props = __props;
|
|
11
|
+
const max = computed(() => props.progress.reduce((p, n) => p + n.value, 0));
|
|
12
|
+
const computedProgress = computed(() => {
|
|
13
|
+
let cumulative = 0;
|
|
14
|
+
return props.progress.map((p) => {
|
|
15
|
+
const scale = p.value / max.value * 100;
|
|
16
|
+
const start = cumulative;
|
|
17
|
+
cumulative += scale;
|
|
18
|
+
return { ...p, scale: scale / 100, start };
|
|
19
|
+
});
|
|
20
|
+
});
|
|
21
|
+
return (_ctx, _cache) => {
|
|
22
|
+
return openBlock(), createElementBlock("div", {
|
|
23
|
+
class: normalizeClass(_ctx.$style.container),
|
|
24
|
+
style: normalizeStyle({
|
|
25
|
+
"--weight": __props.weight,
|
|
26
|
+
"--border-radius": __props.round ? "calc(var(--weight) / 2)" : void 0
|
|
27
|
+
})
|
|
28
|
+
}, [
|
|
29
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(computedProgress.value, (p) => {
|
|
30
|
+
return openBlock(), createElementBlock("div", {
|
|
31
|
+
key: _ctx.index,
|
|
32
|
+
class: normalizeClass(_ctx.$style.bar),
|
|
33
|
+
style: normalizeStyle({
|
|
34
|
+
"--transform": `translateX(${p.start}%) scaleX(${p.scale})`,
|
|
35
|
+
"--color": p.color
|
|
36
|
+
})
|
|
37
|
+
}, null, 6);
|
|
38
|
+
}), 128))
|
|
39
|
+
], 6);
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
});
|
|
43
|
+
export {
|
|
44
|
+
_sfc_main as default
|
|
45
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
(function() {
|
|
2
|
+
"use strict";
|
|
3
|
+
try {
|
|
4
|
+
if (typeof document != "undefined") {
|
|
5
|
+
var elementStyle = document.createElement("style");
|
|
6
|
+
elementStyle.appendChild(document.createTextNode('._container_1xl4h_1{width:100%;height:var(--weight);position:relative;border-radius:var(--border-radius);overflow:hidden;background-color:#0000001a}[data-theme=dark] ._container_1xl4h_1{background-color:#ffffff1a}._bar_1xl4h_13{position:absolute;content:"";width:100%;height:100%;transition:transform .8s;transform:scaleX(0);transform:var(--transform, scaleX(0));transform-origin:left;background-color:red;background-color:var(--color, red)}'));
|
|
7
|
+
document.head.appendChild(elementStyle);
|
|
8
|
+
}
|
|
9
|
+
} catch (e) {
|
|
10
|
+
console.error("vite-plugin-css-injected-by-js", e);
|
|
11
|
+
}
|
|
12
|
+
})();
|
|
13
|
+
const container = "_container_1xl4h_1";
|
|
14
|
+
const bar = "_bar_1xl4h_13";
|
|
15
|
+
const style0 = {
|
|
16
|
+
container,
|
|
17
|
+
bar
|
|
18
|
+
};
|
|
19
|
+
export {
|
|
20
|
+
bar,
|
|
21
|
+
container,
|
|
22
|
+
style0 as default
|
|
23
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/vue3-vite';
|
|
2
|
+
import { default as ElmProgress } from './ElmProgress.vue';
|
|
3
|
+
declare const meta: Meta<typeof ElmProgress>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const Primary: Story;
|
|
7
|
+
export declare const WithBuffer: Story;
|
|
8
|
+
export declare const Bold: Story;
|
|
9
|
+
export declare const WithColor: Story;
|
|
10
|
+
export declare const Loading: Story;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { Property } from 'csstype';
|
|
2
|
+
export interface ElmProgressProps {
|
|
3
|
+
/**
|
|
4
|
+
* The current value of the progress.
|
|
5
|
+
*/
|
|
6
|
+
value: number;
|
|
7
|
+
/**
|
|
8
|
+
* The buffer value of the progress.
|
|
9
|
+
*/
|
|
10
|
+
buffer?: number;
|
|
11
|
+
/**
|
|
12
|
+
* The maximum value of the progress.
|
|
13
|
+
*/
|
|
14
|
+
max?: number;
|
|
15
|
+
/**
|
|
16
|
+
* The weight of the progress.
|
|
17
|
+
*/
|
|
18
|
+
weight?: Property.Height<string | number>;
|
|
19
|
+
/**
|
|
20
|
+
* Whether the progress should be round.
|
|
21
|
+
*/
|
|
22
|
+
round?: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* The color of the progress.
|
|
25
|
+
*/
|
|
26
|
+
color?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Whether the progress is loading.
|
|
29
|
+
*/
|
|
30
|
+
loading?: boolean;
|
|
31
|
+
}
|
|
32
|
+
declare const _default: import('vue').DefineComponent<ElmProgressProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ElmProgressProps> & Readonly<{}>, {
|
|
33
|
+
loading: boolean;
|
|
34
|
+
max: number;
|
|
35
|
+
weight: Property.Height<string | number>;
|
|
36
|
+
round: boolean;
|
|
37
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
38
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import _sfc_main from "./ElmProgress.vue2.mjs";
|
|
2
|
+
import style0 from "./ElmProgress.vue3.mjs";
|
|
3
|
+
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
+
const cssModules = {
|
|
5
|
+
"$style": style0
|
|
6
|
+
};
|
|
7
|
+
const ElmProgress = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules]]);
|
|
8
|
+
export {
|
|
9
|
+
ElmProgress as default
|
|
10
|
+
};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { defineComponent, createElementBlock, openBlock, Fragment, createElementVNode, normalizeClass, normalizeStyle, createCommentVNode } from "vue";
|
|
2
|
+
const _hoisted_1 = ["value", "max"];
|
|
3
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
|
+
__name: "ElmProgress",
|
|
5
|
+
props: {
|
|
6
|
+
value: {},
|
|
7
|
+
buffer: {},
|
|
8
|
+
max: { default: 100 },
|
|
9
|
+
weight: { default: "4px" },
|
|
10
|
+
round: { type: Boolean, default: true },
|
|
11
|
+
color: {},
|
|
12
|
+
loading: { type: Boolean, default: false }
|
|
13
|
+
},
|
|
14
|
+
setup(__props) {
|
|
15
|
+
return (_ctx, _cache) => {
|
|
16
|
+
return openBlock(), createElementBlock(Fragment, null, [
|
|
17
|
+
createElementVNode("progress", {
|
|
18
|
+
class: normalizeClass(_ctx.$style.progress),
|
|
19
|
+
value: __props.value,
|
|
20
|
+
max: __props.max
|
|
21
|
+
}, null, 10, _hoisted_1),
|
|
22
|
+
createElementVNode("div", {
|
|
23
|
+
class: normalizeClass(_ctx.$style.container),
|
|
24
|
+
style: normalizeStyle({
|
|
25
|
+
"--weight": __props.weight,
|
|
26
|
+
"--border-radius": __props.round ? "calc(var(--weight) / 2)" : void 0,
|
|
27
|
+
"--color": __props.color
|
|
28
|
+
})
|
|
29
|
+
}, [
|
|
30
|
+
createElementVNode("div", {
|
|
31
|
+
class: normalizeClass(_ctx.$style.value),
|
|
32
|
+
style: normalizeStyle({
|
|
33
|
+
"--scale-x": `scaleX(${__props.loading ? 0 : __props.value / __props.max})`
|
|
34
|
+
})
|
|
35
|
+
}, null, 6),
|
|
36
|
+
__props.loading ? (openBlock(), createElementBlock("div", {
|
|
37
|
+
key: 0,
|
|
38
|
+
class: normalizeClass(_ctx.$style.loading)
|
|
39
|
+
}, null, 2)) : createCommentVNode("", true),
|
|
40
|
+
createElementVNode("div", {
|
|
41
|
+
class: normalizeClass(_ctx.$style.buffer),
|
|
42
|
+
style: normalizeStyle({
|
|
43
|
+
"--scale-x": `scaleX(${__props.loading ? 0 : __props.buffer != null ? __props.buffer / __props.max : __props.value / __props.max})`
|
|
44
|
+
})
|
|
45
|
+
}, null, 6)
|
|
46
|
+
], 6)
|
|
47
|
+
], 64);
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
});
|
|
51
|
+
export {
|
|
52
|
+
_sfc_main as default
|
|
53
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
(function() {
|
|
2
|
+
"use strict";
|
|
3
|
+
try {
|
|
4
|
+
if (typeof document != "undefined") {
|
|
5
|
+
var elementStyle = document.createElement("style");
|
|
6
|
+
elementStyle.appendChild(document.createTextNode('._progress_kc3q3_1{display:none}@keyframes _loading_kc3q3_23{0%{transform:scaleX(0);transform-origin:left}49%{transform:scaleX(1);transform-origin:left}51%{transform:scaleX(1);transform-origin:right}to{transform:scaleX(0);transform-origin:right}}._loading_kc3q3_23{position:absolute;content:"";width:100%;height:100%;transition:transform .8s;transform:scaleX(0);transform:var(--scale-x, scaleX(0));transform-origin:left;background-color:#555b67;background-color:var(--color, #555b67)}[data-theme=dark] ._loading_kc3q3_23{background-color:#b0b5be;background-color:var(--color, #b0b5be)}._loading_kc3q3_23{animation-name:_loading_kc3q3_23;animation-duration:1.6s;animation-iteration-count:infinite}._container_kc3q3_42{width:100%;height:var(--weight);position:relative;border-radius:var(--border-radius);overflow:hidden;background-color:#0000001a}[data-theme=dark] ._container_kc3q3_42{background-color:#ffffff1a}._container_kc3q3_42 ._value_kc3q3_53{position:absolute;content:"";width:100%;height:100%;transition:transform .8s;transform:scaleX(0);transform:var(--scale-x, scaleX(0));transform-origin:left;background-color:#555b67;background-color:var(--color, #555b67)}[data-theme=dark] ._container_kc3q3_42 ._value_kc3q3_53{background-color:#b0b5be;background-color:var(--color, #b0b5be)}._container_kc3q3_42 ._buffer_kc3q3_66{position:absolute;content:"";width:100%;height:100%;transition:transform .4s;transform:scaleX(0);transform:var(--scale-x, scaleX(0));transform-origin:left;background-color:#555b67;background-color:var(--color, #555b67)}[data-theme=dark] ._container_kc3q3_42 ._buffer_kc3q3_66{background-color:#b0b5be;background-color:var(--color, #b0b5be)}._container_kc3q3_42 ._buffer_kc3q3_66{opacity:.25}'));
|
|
7
|
+
document.head.appendChild(elementStyle);
|
|
8
|
+
}
|
|
9
|
+
} catch (e) {
|
|
10
|
+
console.error("vite-plugin-css-injected-by-js", e);
|
|
11
|
+
}
|
|
12
|
+
})();
|
|
13
|
+
const progress = "_progress_kc3q3_1";
|
|
14
|
+
const loading = "_loading_kc3q3_23";
|
|
15
|
+
const container = "_container_kc3q3_42";
|
|
16
|
+
const value = "_value_kc3q3_53";
|
|
17
|
+
const buffer = "_buffer_kc3q3_66";
|
|
18
|
+
const style0 = {
|
|
19
|
+
progress,
|
|
20
|
+
loading,
|
|
21
|
+
container,
|
|
22
|
+
value,
|
|
23
|
+
buffer
|
|
24
|
+
};
|
|
25
|
+
export {
|
|
26
|
+
buffer,
|
|
27
|
+
container,
|
|
28
|
+
style0 as default,
|
|
29
|
+
loading,
|
|
30
|
+
progress,
|
|
31
|
+
value
|
|
32
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/vue3-vite';
|
|
2
|
+
import { default as ElmStatusMessage } from './ElmStatusMessage.vue';
|
|
3
|
+
declare const meta: Meta<typeof ElmStatusMessage>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const Primary: Story;
|
|
7
|
+
export declare const Success: Story;
|
|
8
|
+
export declare const Error: Story;
|
|
9
|
+
export declare const Warning: Story;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export interface ElmStatusMessageProps {
|
|
2
|
+
status: "success" | "error" | "warning" | "pending";
|
|
3
|
+
message: string;
|
|
4
|
+
}
|
|
5
|
+
declare const _default: import('vue').DefineComponent<ElmStatusMessageProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ElmStatusMessageProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
(function() {
|
|
2
|
+
"use strict";
|
|
3
|
+
try {
|
|
4
|
+
if (typeof document != "undefined") {
|
|
5
|
+
var elementStyle = document.createElement("style");
|
|
6
|
+
elementStyle.appendChild(document.createTextNode(".v-enter-to[data-v-84bc9c5d],.v-leave-from[data-v-84bc9c5d]{opacity:1}.v-enter-active[data-v-84bc9c5d],.v-leave-active[data-v-84bc9c5d]{transition:opacity .15s}.v-enter-from[data-v-84bc9c5d],.v-leave-to[data-v-84bc9c5d]{opacity:0}"));
|
|
7
|
+
document.head.appendChild(elementStyle);
|
|
8
|
+
}
|
|
9
|
+
} catch (e) {
|
|
10
|
+
console.error("vite-plugin-css-injected-by-js", e);
|
|
11
|
+
}
|
|
12
|
+
})();
|
|
13
|
+
import _sfc_main from "./ElmStatusMessage.vue2.mjs";
|
|
14
|
+
import style0 from "./ElmStatusMessage.vue3.mjs";
|
|
15
|
+
|
|
16
|
+
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
17
|
+
const cssModules = {
|
|
18
|
+
"$style": style0
|
|
19
|
+
};
|
|
20
|
+
const ElmStatusMessage = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules], ["__scopeId", "data-v-84bc9c5d"]]);
|
|
21
|
+
export {
|
|
22
|
+
ElmStatusMessage as default
|
|
23
|
+
};
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { defineComponent, createBlock, openBlock, Transition, withCtx, createElementBlock, normalizeClass, createVNode, unref } from "vue";
|
|
2
|
+
import ElmInlineText from "../typography/ElmInlineText.vue.mjs";
|
|
3
|
+
import ElmMdiIcon from "../icon/ElmMdiIcon.vue.mjs";
|
|
4
|
+
import { mdiReload, mdiAlertCircle, mdiAlert, mdiCheckCircle } from "@mdi/js";
|
|
5
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
|
+
__name: "ElmStatusMessage",
|
|
7
|
+
props: {
|
|
8
|
+
status: {},
|
|
9
|
+
message: {}
|
|
10
|
+
},
|
|
11
|
+
setup(__props) {
|
|
12
|
+
return (_ctx, _cache) => {
|
|
13
|
+
return openBlock(), createBlock(Transition, { mode: "out-in" }, {
|
|
14
|
+
default: withCtx(() => [
|
|
15
|
+
__props.status === "pending" ? (openBlock(), createElementBlock("div", {
|
|
16
|
+
key: 0,
|
|
17
|
+
class: normalizeClass(_ctx.$style.wrapper)
|
|
18
|
+
}, [
|
|
19
|
+
createVNode(ElmMdiIcon, {
|
|
20
|
+
d: unref(mdiReload),
|
|
21
|
+
color: "#6987b8",
|
|
22
|
+
size: "1em"
|
|
23
|
+
}, null, 8, ["d"]),
|
|
24
|
+
createVNode(ElmInlineText, {
|
|
25
|
+
text: __props.message,
|
|
26
|
+
color: "#6987b8"
|
|
27
|
+
}, null, 8, ["text"])
|
|
28
|
+
], 2)) : __props.status === "error" ? (openBlock(), createElementBlock("div", {
|
|
29
|
+
key: 1,
|
|
30
|
+
class: normalizeClass(_ctx.$style.wrapper)
|
|
31
|
+
}, [
|
|
32
|
+
createVNode(ElmMdiIcon, {
|
|
33
|
+
d: unref(mdiAlertCircle),
|
|
34
|
+
color: "#c56565",
|
|
35
|
+
size: "1em"
|
|
36
|
+
}, null, 8, ["d"]),
|
|
37
|
+
createVNode(ElmInlineText, {
|
|
38
|
+
text: __props.message,
|
|
39
|
+
color: "#c56565"
|
|
40
|
+
}, null, 8, ["text"])
|
|
41
|
+
], 2)) : __props.status === "warning" ? (openBlock(), createElementBlock("div", {
|
|
42
|
+
key: 2,
|
|
43
|
+
class: normalizeClass(_ctx.$style.wrapper)
|
|
44
|
+
}, [
|
|
45
|
+
createVNode(ElmMdiIcon, {
|
|
46
|
+
d: unref(mdiAlert),
|
|
47
|
+
color: "#cdb57b",
|
|
48
|
+
size: "1em"
|
|
49
|
+
}, null, 8, ["d"]),
|
|
50
|
+
createVNode(ElmInlineText, {
|
|
51
|
+
text: __props.message,
|
|
52
|
+
color: "#cdb57b"
|
|
53
|
+
}, null, 8, ["text"])
|
|
54
|
+
], 2)) : (openBlock(), createElementBlock("div", {
|
|
55
|
+
key: 3,
|
|
56
|
+
class: normalizeClass(_ctx.$style.wrapper)
|
|
57
|
+
}, [
|
|
58
|
+
createVNode(ElmMdiIcon, {
|
|
59
|
+
d: unref(mdiCheckCircle),
|
|
60
|
+
color: "#59b57c",
|
|
61
|
+
size: "1em"
|
|
62
|
+
}, null, 8, ["d"]),
|
|
63
|
+
createVNode(ElmInlineText, {
|
|
64
|
+
text: __props.message,
|
|
65
|
+
color: "#59b57c"
|
|
66
|
+
}, null, 8, ["text"])
|
|
67
|
+
], 2))
|
|
68
|
+
]),
|
|
69
|
+
_: 1
|
|
70
|
+
});
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
export {
|
|
75
|
+
_sfc_main as default
|
|
76
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
(function() {
|
|
2
|
+
"use strict";
|
|
3
|
+
try {
|
|
4
|
+
if (typeof document != "undefined") {
|
|
5
|
+
var elementStyle = document.createElement("style");
|
|
6
|
+
elementStyle.appendChild(document.createTextNode("._wrapper_aq2cg_1{display:inline-flex;align-items:center;gap:.5rem}"));
|
|
7
|
+
document.head.appendChild(elementStyle);
|
|
8
|
+
}
|
|
9
|
+
} catch (e) {
|
|
10
|
+
console.error("vite-plugin-css-injected-by-js", e);
|
|
11
|
+
}
|
|
12
|
+
})();
|
|
13
|
+
const wrapper = "_wrapper_aq2cg_1";
|
|
14
|
+
const style0 = {
|
|
15
|
+
wrapper
|
|
16
|
+
};
|
|
17
|
+
export {
|
|
18
|
+
style0 as default,
|
|
19
|
+
wrapper
|
|
20
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/vue3-vite';
|
|
2
|
+
import { default as ElmBlockFallback } from './ElmBlockFallback.vue';
|
|
3
|
+
declare const meta: Meta<typeof ElmBlockFallback>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const Primary: Story;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export interface ElmBlockFallbackProps {
|
|
2
|
+
}
|
|
3
|
+
declare const _default: import('vue').DefineComponent<ElmBlockFallbackProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ElmBlockFallbackProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import _sfc_main from "./ElmBlockFallback.vue2.mjs";
|
|
2
|
+
import style0 from "./ElmBlockFallback.vue3.mjs";
|
|
3
|
+
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
+
const cssModules = {
|
|
5
|
+
"$style": style0
|
|
6
|
+
};
|
|
7
|
+
const ElmBlockFallback = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules]]);
|
|
8
|
+
export {
|
|
9
|
+
ElmBlockFallback as default
|
|
10
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { defineComponent, createElementBlock, openBlock, normalizeClass, createVNode } from "vue";
|
|
2
|
+
import ElmDotLoadingIcon from "../icon/ElmDotLoadingIcon.vue.mjs";
|
|
3
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
|
+
__name: "ElmBlockFallback",
|
|
5
|
+
setup(__props) {
|
|
6
|
+
return (_ctx, _cache) => {
|
|
7
|
+
return openBlock(), createElementBlock("div", {
|
|
8
|
+
class: normalizeClass(_ctx.$style["elmethis-block-fallback"])
|
|
9
|
+
}, [
|
|
10
|
+
createVNode(ElmDotLoadingIcon)
|
|
11
|
+
], 2);
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
});
|
|
15
|
+
export {
|
|
16
|
+
_sfc_main as default
|
|
17
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
(function() {
|
|
2
|
+
"use strict";
|
|
3
|
+
try {
|
|
4
|
+
if (typeof document != "undefined") {
|
|
5
|
+
var elementStyle = document.createElement("style");
|
|
6
|
+
elementStyle.appendChild(document.createTextNode("._elmethis-block-fallback_uo36g_1{width:100%;height:8rem;display:flex;justify-content:center;align-items:center}"));
|
|
7
|
+
document.head.appendChild(elementStyle);
|
|
8
|
+
}
|
|
9
|
+
} catch (e) {
|
|
10
|
+
console.error("vite-plugin-css-injected-by-js", e);
|
|
11
|
+
}
|
|
12
|
+
})();
|
|
13
|
+
const style0 = {
|
|
14
|
+
"elmethis-block-fallback": "_elmethis-block-fallback_uo36g_1"
|
|
15
|
+
};
|
|
16
|
+
export {
|
|
17
|
+
style0 as default
|
|
18
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/vue3-vite';
|
|
2
|
+
import { default as ElmRectangleWave } from './ElmRectangleWave.vue';
|
|
3
|
+
declare const meta: Meta<typeof ElmRectangleWave>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const Primary: Story;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export interface ElmRectangleWaveProps {
|
|
2
|
+
}
|
|
3
|
+
declare const _default: import('vue').DefineComponent<ElmRectangleWaveProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ElmRectangleWaveProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import _sfc_main from "./ElmRectangleWave.vue2.mjs";
|
|
2
|
+
import style0 from "./ElmRectangleWave.vue3.mjs";
|
|
3
|
+
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
+
const cssModules = {
|
|
5
|
+
"$style": style0
|
|
6
|
+
};
|
|
7
|
+
const ElmRectangleWave = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules]]);
|
|
8
|
+
export {
|
|
9
|
+
ElmRectangleWave as default
|
|
10
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { defineComponent, createElementBlock, openBlock, normalizeClass } from "vue";
|
|
2
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
3
|
+
__name: "ElmRectangleWave",
|
|
4
|
+
setup(__props) {
|
|
5
|
+
return (_ctx, _cache) => {
|
|
6
|
+
return openBlock(), createElementBlock("div", {
|
|
7
|
+
"aria-hidden": "",
|
|
8
|
+
class: normalizeClass(_ctx.$style["rectangle-wave"])
|
|
9
|
+
}, null, 2);
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
export {
|
|
14
|
+
_sfc_main as default
|
|
15
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
(function() {
|
|
2
|
+
"use strict";
|
|
3
|
+
try {
|
|
4
|
+
if (typeof document != "undefined") {
|
|
5
|
+
var elementStyle = document.createElement("style");
|
|
6
|
+
elementStyle.appendChild(document.createTextNode("@keyframes _wave_oz31b_1{0%{transform:scale(0);opacity:0}30%{opacity:0}40%{opacity:1}to{transform:scale(1);opacity:0}}._rectangle-wave_oz31b_17{box-sizing:border-box;position:absolute;overflow:hidden;width:100%;height:100%;animation-name:_wave_oz31b_1;animation-duration:1.2s;animation-iteration-count:infinite;animation-fill-mode:both;border-style:solid;border-width:1px;border-color:#000000b3}[data-theme=dark] ._rectangle-wave_oz31b_17{border-color:#ffffffb3}"));
|
|
7
|
+
document.head.appendChild(elementStyle);
|
|
8
|
+
}
|
|
9
|
+
} catch (e) {
|
|
10
|
+
console.error("vite-plugin-css-injected-by-js", e);
|
|
11
|
+
}
|
|
12
|
+
})();
|
|
13
|
+
const wave = "_wave_oz31b_1";
|
|
14
|
+
const style0 = {
|
|
15
|
+
"rectangle-wave": "_rectangle-wave_oz31b_17",
|
|
16
|
+
wave
|
|
17
|
+
};
|
|
18
|
+
export {
|
|
19
|
+
style0 as default,
|
|
20
|
+
wave
|
|
21
|
+
};
|