@elmethis/core 1.0.0-alpha.19 → 1.0.0-alpha.191
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/dist/_virtual/_plugin-vue_export-helper.mjs +10 -0
- package/dist/components/{headings/ElmHeading4.stories.d.ts → badge/ElmBadge.stories.d.ts} +2 -2
- package/dist/components/{typography/ElmBulletedList.vue.d.ts → badge/ElmBadge.vue.d.ts} +8 -7
- package/dist/components/badge/ElmBadge.vue.mjs +10 -0
- package/dist/components/badge/ElmBadge.vue2.mjs +33 -0
- package/dist/components/badge/ElmBadge.vue3.mjs +26 -0
- package/dist/components/badge/ElmTag.stories.d.ts +7 -0
- package/dist/components/badge/ElmTag.vue.d.ts +14 -0
- package/dist/components/badge/ElmTag.vue.mjs +10 -0
- package/dist/components/badge/ElmTag.vue2.mjs +39 -0
- package/dist/components/badge/ElmTag.vue3.mjs +26 -0
- package/dist/components/code/ElmCodeBlock.stories.d.ts +2 -0
- package/dist/components/code/ElmCodeBlock.vue.d.ts +31 -2
- package/dist/components/code/ElmCodeBlock.vue.mjs +23 -0
- package/dist/components/code/ElmCodeBlock.vue2.mjs +127 -0
- package/dist/components/code/ElmCodeBlock.vue3.mjs +42 -0
- package/dist/components/code/ElmKatex.vue.d.ts +3 -1
- package/dist/components/code/ElmKatex.vue.mjs +10 -0
- package/dist/components/code/ElmKatex.vue2.mjs +67 -0
- package/dist/components/code/ElmKatex.vue3.mjs +20 -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.vue.d.ts +3 -2
- package/dist/components/containments/ElmColumn.vue.mjs +10 -0
- package/dist/components/containments/ElmColumn.vue2.mjs +16 -0
- package/dist/components/containments/ElmColumn.vue3.mjs +20 -0
- package/dist/components/containments/ElmColumnList.vue.d.ts +3 -2
- package/dist/components/containments/ElmColumnList.vue.mjs +10 -0
- package/dist/components/containments/ElmColumnList.vue2.mjs +16 -0
- package/dist/components/containments/ElmColumnList.vue3.mjs +18 -0
- package/dist/components/containments/ElmDesktopWindow.vue.d.ts +3 -2
- 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.vue.d.ts +8 -7
- package/dist/components/containments/ElmModal.vue.mjs +23 -0
- package/dist/components/containments/ElmModal.vue2.mjs +44 -0
- package/dist/components/containments/ElmModal.vue3.mjs +23 -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/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 +39 -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 +1 -0
- package/dist/components/containments/ElmToggle.vue.d.ts +21 -10
- package/dist/components/containments/ElmToggle.vue.mjs +23 -0
- package/dist/components/containments/ElmToggle.vue2.mjs +103 -0
- package/dist/components/containments/ElmToggle.vue3.mjs +33 -0
- package/dist/components/containments/ElmTooltip.vue.d.ts +5 -2
- package/dist/components/containments/ElmTooltip.vue.mjs +23 -0
- package/dist/components/containments/ElmTooltip.vue2.mjs +49 -0
- package/dist/components/containments/ElmTooltip.vue3.mjs +20 -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 +1 -0
- package/dist/components/data/ElmProgress.vue.d.ts +6 -1
- 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 +75 -0
- package/dist/components/data/ElmStatusMessage.vue3.mjs +23 -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.vue.d.ts +1 -1
- 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/{headings/ElmHeading1.stories.d.ts → fallback/ElmSpinner.stories.d.ts} +2 -2
- 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 +41 -0
- package/dist/components/form/ElmButton.vue.mjs +23 -0
- package/dist/components/form/ElmButton.vue2.mjs +68 -0
- package/dist/components/form/ElmButton.vue3.mjs +36 -0
- package/dist/components/form/ElmCheckbox.vue.d.ts +16 -6
- 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/{headings/ElmHeading2.stories.d.ts → form/ElmSwitch.stories.d.ts} +2 -2
- 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 +6 -0
- package/dist/components/form/ElmTextField.vue.d.ts +30 -0
- package/dist/components/form/ElmTextField.vue.mjs +10 -0
- package/dist/components/form/ElmTextField.vue2.mjs +124 -0
- package/dist/components/form/ElmTextField.vue3.mjs +46 -0
- package/dist/components/{headings/ElmHeading3.stories.d.ts → form/ElmTotp.stories.d.ts} +2 -2
- package/dist/components/form/ElmTotp.vue.d.ts +12 -0
- package/dist/components/form/ElmTotp.vue.mjs +10 -0
- package/dist/components/form/ElmTotp.vue2.mjs +102 -0
- package/dist/components/form/ElmTotp.vue3.mjs +34 -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 +45 -0
- package/dist/components/icon/ElmBookmarkIcon.vue3.mjs +27 -0
- package/dist/components/icon/ElmCubeIcon.vue.d.ts +1 -1
- 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.vue.d.ts +2 -2
- 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.vue.d.ts +1 -1
- package/dist/components/icon/ElmLanguageIcon.vue.mjs +23 -0
- package/dist/components/icon/ElmLanguageIcon.vue2.mjs +148 -0
- package/dist/components/icon/ElmLanguageIcon.vue3.mjs +23 -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 +37 -0
- package/dist/components/icon/ElmLoginIcon.vue3.mjs +20 -0
- package/dist/components/icon/ElmToggleTheme.vue.mjs +10 -0
- package/dist/components/icon/ElmToggleTheme.vue2.mjs +30 -0
- package/dist/components/icon/ElmToggleTheme.vue3.mjs +20 -0
- package/dist/components/icon/languages/Bash.vue.d.ts +1 -1
- package/dist/{Bash-mlA01V07.js → components/icon/languages/Bash.vue.mjs} +20 -15
- package/dist/components/icon/languages/Bash.vue2.mjs +20 -0
- package/dist/components/icon/languages/{JavaScript.vue.d.ts → Css.vue.d.ts} +1 -1
- package/dist/components/icon/languages/Css.vue.mjs +19 -0
- package/dist/components/icon/languages/Rust.vue.d.ts +1 -1
- package/dist/components/icon/languages/Rust.vue.mjs +17 -0
- package/dist/components/jsonschema/ElmChildContainer.stories.d.ts +6 -0
- package/dist/components/{typography/ElmListItem.vue.d.ts → jsonschema/ElmChildContainer.vue.d.ts} +6 -3
- package/dist/components/jsonschema/ElmFieldAttribute.stories.d.ts +6 -0
- package/dist/components/jsonschema/ElmFieldAttribute.vue.d.ts +7 -0
- package/dist/components/jsonschema/ElmFieldType.stories.d.ts +7 -0
- package/dist/components/jsonschema/ElmFieldType.vue.d.ts +8 -0
- package/dist/components/jsonschema/ElmJsonSchema.stories.d.ts +7 -0
- package/dist/components/jsonschema/ElmJsonSchema.vue.d.ts +7 -0
- package/dist/components/media/ElmBlockImage.stories.d.ts +9 -0
- package/dist/components/media/ElmBlockImage.vue.d.ts +12 -0
- package/dist/components/media/ElmBlockImage.vue.mjs +23 -0
- package/dist/components/media/ElmBlockImage.vue2.mjs +117 -0
- package/dist/components/media/ElmBlockImage.vue3.mjs +36 -0
- package/dist/components/media/ElmFile.vue.d.ts +6 -1
- package/dist/components/media/ElmFile.vue.mjs +10 -0
- package/dist/components/media/ElmFile.vue2.mjs +77 -0
- package/dist/components/media/ElmFile.vue3.mjs +26 -0
- package/dist/components/media/ElmImage.stories.d.ts +2 -0
- package/dist/components/media/ElmImage.vue.d.ts +5 -0
- package/dist/components/media/ElmImage.vue.mjs +23 -0
- package/dist/components/media/ElmImage.vue2.mjs +91 -0
- package/dist/components/media/ElmImage.vue3.mjs +30 -0
- package/dist/components/navigation/ElmBookmark.stories.d.ts +2 -0
- package/dist/components/navigation/ElmBookmark.vue.d.ts +14 -10
- package/dist/components/navigation/ElmBookmark.vue.mjs +10 -0
- package/dist/components/navigation/ElmBookmark.vue2.mjs +115 -0
- package/dist/components/navigation/ElmBookmark.vue3.mjs +44 -0
- package/dist/components/navigation/ElmBreadcrumb.vue.d.ts +3 -1
- package/dist/components/navigation/ElmBreadcrumb.vue.mjs +10 -0
- package/dist/components/navigation/ElmBreadcrumb.vue2.mjs +63 -0
- package/dist/components/navigation/ElmBreadcrumb.vue3.mjs +30 -0
- package/dist/components/navigation/ElmPagetop.vue.d.ts +2 -2
- package/dist/components/navigation/ElmPagetop.vue.mjs +10 -0
- package/dist/components/navigation/ElmPagetop.vue2.mjs +51 -0
- package/dist/components/navigation/ElmPagetop.vue3.mjs +30 -0
- package/dist/components/navigation/ElmTableOfContents.vue.d.ts +1 -1
- package/dist/components/navigation/ElmTableOfContents.vue.mjs +10 -0
- package/dist/components/navigation/ElmTableOfContents.vue2.mjs +43 -0
- package/dist/components/navigation/ElmTableOfContents.vue3.mjs +26 -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 +45 -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 +214 -0
- package/dist/components/others/ElmJsonComponentRenderer.vue3.mjs +21 -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.vue.d.ts +32 -4
- package/dist/components/table/ElmTable.vue.mjs +10 -0
- package/dist/components/table/ElmTable.vue2.mjs +61 -0
- package/dist/components/table/ElmTable.vue3.mjs +27 -0
- package/dist/components/table/ElmTableBody.vue.d.ts +8 -4
- package/dist/components/table/ElmTableBody.vue.mjs +14 -0
- package/dist/components/table/ElmTableBody.vue2.mjs +4 -0
- package/dist/components/table/ElmTableCell.vue.d.ts +7 -3
- 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 +8 -4
- 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 +8 -4
- 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.vue.d.ts +1 -1
- package/dist/components/typography/ElmBlockQuote.vue.d.ts +6 -2
- 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.vue.d.ts +6 -3
- package/dist/components/typography/ElmCallout.vue.mjs +10 -0
- package/dist/components/typography/ElmCallout.vue2.mjs +57 -0
- package/dist/components/typography/ElmCallout.vue3.mjs +26 -0
- package/dist/components/typography/ElmDivider.vue.d.ts +8 -1
- 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 +57 -0
- package/dist/components/typography/ElmFragmentIdentifier.vue3.mjs +23 -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 +72 -0
- package/dist/components/typography/ElmHeading.vue3.mjs +39 -0
- package/dist/components/{inline → typography}/ElmInlineText.stories.d.ts +3 -0
- package/dist/components/{inline → typography}/ElmInlineText.vue.d.ts +22 -1
- package/dist/components/typography/ElmInlineText.vue.mjs +10 -0
- package/dist/components/typography/ElmInlineText.vue2.mjs +95 -0
- package/dist/components/typography/ElmInlineText.vue3.mjs +29 -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.vue.d.ts +5 -2
- 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/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 +112 -46
- package/dist/index.mjs +128 -0
- package/dist/node_modules/.pnpm/@mdi_js@7.4.47/node_modules/@mdi/js/mdi.mjs +14 -0
- package/package.json +32 -32
- package/dist/JavaScript-stKTLCvS.js +0 -22
- package/dist/Rust-PU5XwTn1.js +0 -16
- package/dist/TypeScript-ViBgqhx7.js +0 -22
- package/dist/components/code/ElmPrismHighlighter.stories.d.ts +0 -7
- package/dist/components/code/ElmPrismHighlighter.vue.d.ts +0 -14
- package/dist/components/headings/ElmHeading1.vue.d.ts +0 -20
- package/dist/components/headings/ElmHeading2.vue.d.ts +0 -20
- package/dist/components/headings/ElmHeading3.vue.d.ts +0 -20
- package/dist/components/headings/ElmHeading4.vue.d.ts +0 -20
- package/dist/components/headings/ElmHeading5.stories.d.ts +0 -6
- package/dist/components/headings/ElmHeading5.vue.d.ts +0 -20
- package/dist/components/headings/ElmHeading6.stories.d.ts +0 -6
- package/dist/components/headings/ElmHeading6.vue.d.ts +0 -20
- package/dist/components/icon/languages/TypeScript.vue.d.ts +0 -2
- package/dist/components/inline/ElmInlineCode.stories.d.ts +0 -6
- package/dist/components/inline/ElmInlineCode.vue.d.ts +0 -15
- package/dist/components/inline/ElmInlineLink.stories.d.ts +0 -9
- package/dist/components/inline/ElmInlineLink.vue.d.ts +0 -37
- package/dist/components/inline/ElmInlineRuby.stories.d.ts +0 -6
- package/dist/components/inline/ElmInlineRuby.vue.d.ts +0 -19
- package/dist/components/renderer/ElmJsonRenderer.stories.d.ts +0 -19
- package/dist/components/renderer/ElmJsonRenderer.vue.d.ts +0 -163
- package/dist/components/typography/ElmBulletedList.stories.d.ts +0 -7
- package/dist/components/typography/ElmListItem.stories.d.ts +0 -6
- package/dist/components/typography/ElmNumberedList.stories.d.ts +0 -7
- package/dist/components/typography/ElmNumberedList.vue.d.ts +0 -20
- package/dist/elmethis.js +0 -48
- package/dist/elmethis.umd.cjs +0 -419
- package/dist/index-DvtsYpwQ.js +0 -16274
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { createElementBlock, openBlock, createElementVNode } from "vue";
|
|
2
|
+
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
3
|
+
const _sfc_main = {};
|
|
4
|
+
const _hoisted_1 = {
|
|
5
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
6
|
+
viewBox: "0 0 128 128",
|
|
7
|
+
fill: "#a84f33"
|
|
8
|
+
};
|
|
9
|
+
function _sfc_render(_ctx, _cache) {
|
|
10
|
+
return openBlock(), createElementBlock("svg", _hoisted_1, _cache[0] || (_cache[0] = [
|
|
11
|
+
createElementVNode("path", { d: "M62.96.242c-.232.135-1.203 1.528-2.16 3.097c-2.4 3.94-2.426 3.942-5.65.55c-2.098-2.208-2.605-2.612-3.28-2.607c-.44.002-.995.152-1.235.332s-.916 1.612-1.504 3.183c-1.346 3.6-1.41 3.715-2.156 3.86c-.46.086-1.343-.407-3.463-1.929c-1.565-1.125-3.1-2.045-3.411-2.045c-1.291 0-1.655.706-2.27 4.4c-.78 4.697-.754 4.681-4.988 2.758c-1.71-.776-3.33-1.41-3.603-1.41s-.792.293-1.15.652c-.652.652-.653.655-.475 4.246l.178 3.595l-.68.364c-.602.322-1.017.283-3.684-.348c-3.48-.822-4.216-.8-4.92.15l-.516.693l.692 2.964c.38 1.63.745 3.2.814 3.487c.067.287-.05.746-.26 1.02c-.348.448-.717.49-3.94.44c-5.452-.086-5.761.382-3.51 5.3c.718 1.56 1.305 2.98 1.305 3.15c0 .898-.717 1.224-3.794 1.727c-1.722.28-3.218.51-3.326.51c-.107 0-.43.235-.717.522c-.937.936-.671 1.816 1.453 4.814c2.646 3.735 2.642 3.75-1.73 5.421c-4.971 1.902-5.072 2.37-1.287 5.96c3.525 3.344 3.53 3.295-.461 5.804C.208 62.8.162 62.846.085 63.876c-.093 1.253-.071 1.275 3.538 3.48c3.57 2.18 3.57 2.246.067 5.56C-.078 76.48.038 77 5.013 78.877c4.347 1.64 4.353 1.66 1.702 5.394c-1.502 2.117-1.981 3-1.981 3.653c0 1.223.637 1.535 4.44 2.174c3.206.54 3.92.857 3.92 1.741c0 .182-.588 1.612-1.307 3.177c-2.236 4.87-1.981 5.275 3.31 5.275c4.93 0 4.799-.15 3.737 4.294c-.8 3.35-.813 3.992-.088 4.715c.554.556 1.6.494 4.87-.289c2.499-.596 2.937-.637 3.516-.328l.66.354l-.177 3.594c-.178 3.593-.177 3.595.475 4.248c.358.36.884.652 1.165.652s1.903-.63 3.604-1.404c4.22-1.916 4.194-1.932 4.973 2.75c.617 3.711.977 4.4 2.294 4.4c.327 0 1.83-.88 3.34-1.958c2.654-1.893 3.342-2.19 4.049-1.74c.182.115.89 1.67 1.572 3.455c1.003 2.625 1.37 3.31 1.929 3.576c1.062.51 1.72.1 4.218-2.62c3.016-3.286 3.14-3.27 5.602.72c2.72 4.406 3.424 4.396 6.212-.089c2.402-3.864 2.374-3.862 5.621-.47c2.157 2.25 2.616 2.61 3.343 2.61c.464 0 1.019-.175 1.23-.388c.214-.213.92-1.786 1.568-3.496c.649-1.71 1.321-3.2 1.495-3.31c.687-.436 1.398-.13 4.048 1.752c1.56 1.108 3.028 1.96 3.377 1.96c1.296 0 1.764-.92 2.302-4.535c.46-3.082.554-3.378 1.16-3.685c.596-.302.954-.2 3.75 1.07c1.701.77 3.323 1.402 3.604 1.402s.816-.302 1.184-.672l.672-.67l-.184-3.448c-.177-3.29-.16-3.468.364-3.943c.54-.488.596-.486 3.615.204c3.656.835 4.338.857 5.025.17c.671-.67.664-.818-.254-4.69c-1.03-4.346-1.168-4.19 3.78-4.19c3.374 0 3.75-.049 4.18-.523c.718-.793.547-1.702-.896-4.779c-.729-1.55-1.32-2.96-1.315-3.135c.024-.914.743-1.227 4.065-1.767c2.033-.329 3.553-.71 3.829-.96c.923-.833.584-1.918-1.523-4.873c-2.642-3.703-2.63-3.738 1.599-5.297c5.064-1.866 5.209-2.488 1.419-6.09c-3.51-3.335-3.512-3.317.333-5.677c4.648-2.853 4.655-3.496.082-6.335c-3.933-2.44-3.93-2.406-.405-5.753c3.78-3.593 3.678-4.063-1.295-5.965c-4.388-1.679-4.402-1.72-1.735-5.38c1.588-2.18 1.982-2.903 1.982-3.65c0-1.306-.586-1.598-4.436-2.22c-3.216-.52-3.924-.835-3.924-1.75c0-.174.588-1.574 1.307-3.113c1.406-3.013 1.604-4.22.808-4.94c-.428-.387-1-.443-4.067-.392c-3.208.054-3.618.008-4.063-.439c-.486-.488-.48-.557.278-3.725c.931-3.88.935-3.975.17-4.694c-.777-.73-1.262-.718-4.826.121c-2.597.612-3.027.653-3.617.337l-.67-.36l.185-3.582l.186-3.58l-.67-.67c-.369-.37-.891-.67-1.163-.67c-.27 0-1.884.64-3.583 1.421c-2.838 1.306-3.143 1.393-3.757 1.072c-.612-.32-.714-.637-1.237-3.829c-.603-3.693-.977-4.412-2.288-4.412c-.311 0-1.853.925-3.426 2.055c-2.584 1.856-2.93 2.032-3.574 1.807c-.533-.186-.843-.59-1.221-1.599c-.28-.742-.817-2.172-1.194-3.177c-.762-2.028-1.187-2.482-2.328-2.482c-.637 0-1.213.458-3.28 2.604c-3.25 3.375-3.261 3.374-5.65-.545C66.073 1.78 65.075.382 64.81.24c-.597-.32-1.3-.32-1.85.002m2.96 11.798c2.83 2.014 1.326 6.75-2.144 6.75c-3.368 0-5.064-4.057-2.66-6.36c1.358-1.3 3.304-1.459 4.805-.39m-3.558 12.507c1.855.705 2.616.282 6.852-3.8l3.182-3.07l1.347.18c4.225.56 12.627 4.25 17.455 7.666c4.436 3.14 10.332 9.534 12.845 13.93l.537.942l-2.38 5.364c-1.31 2.95-2.382 5.673-2.382 6.053c0 .878.576 2.267 1.13 2.726c.234.195 2.457 1.265 4.939 2.378l4.51 2.025l.178 1.148c.23 1.495.26 5.167.052 6.21l-.163.816h-2.575c-2.987 0-2.756-.267-2.918 3.396c-.118 2.656-.76 4.124-2.22 5.075c-2.377 1.551-6.304 1.27-7.97-.57c-.255-.284-.752-1.705-1.105-3.16c-1.03-4.254-2.413-6.64-5.193-8.965c-.878-.733-1.595-1.418-1.595-1.522c0-.102.965-.915 2.145-1.803c4.298-3.24 6.77-7.012 7.04-10.747c.519-7.126-5.158-13.767-13.602-15.92c-2.002-.51-2.857-.526-27.624-.526c-14.057 0-25.56-.092-25.56-.204c0-.263 3.125-3.295 4.965-4.816c5.054-4.178 11.618-7.465 18.417-9.22l2.35-.61l3.34 3.387c1.839 1.863 3.64 3.5 4.003 3.637M20.3 46.34c1.539 1.008 2.17 3.54 1.26 5.062c-1.405 2.356-4.966 2.455-6.373.178c-2.046-3.309 1.895-7.349 5.113-5.24m90.672.13c4.026 2.454.906 8.493-3.404 6.586c-2.877-1.273-2.97-5.206-.155-6.64c1.174-.6 2.523-.579 3.56.053M32.163 61.5v15.02h-13.28l-.526-2.285c-1.036-4.5-1.472-9.156-1.211-12.969l.182-2.679l4.565-2.047c2.864-1.283 4.706-2.262 4.943-2.625c1.038-1.584.94-2.715-.518-5.933l-.68-1.502h6.523V61.5M70.39 47.132c2.843.74 4.345 2.245 4.349 4.355c.002 1.55-.765 2.52-2.67 3.38c-1.348.61-1.562.625-10.063.708l-8.686.084v-8.92h7.782c6.078 0 8.112.086 9.288.393m-2.934 21.554c1.41.392 3.076 1.616 3.93 2.888c.898 1.337 1.423 3.076 2.667 8.836c1.05 4.87 1.727 6.46 3.62 8.532c2.345 2.566 1.8 2.466 13.514 2.466c5.61 0 10.198.09 10.198.2c0 .197-3.863 4.764-4.03 4.764c-.048 0-2.066-.422-4.484-.939c-6.829-1.458-7.075-1.287-8.642 6.032l-1.008 4.702l-.91.448c-1.518.75-6.453 2.292-9.01 2.82c-4.228.87-8.828 1.162-12.871.821c-6.893-.585-16.02-3.259-16.377-4.8c-.075-.327-.535-2.443-1.018-4.704c-.485-2.26-1.074-4.404-1.31-4.764c-1.13-1.724-2.318-1.83-7.547-.674c-1.98.44-3.708.796-3.84.796c-.248 0-3.923-4.249-3.923-4.535c0-.09 8.728-.194 19.396-.23l19.395-.066l.07-6.89c.05-4.865-.018-6.997-.23-7.25c-.234-.284-1.485-.358-6.011-.358H53.32v-8.36l6.597.001c3.626.002 7.02.12 7.539.264M37.57 100.02c3.084 1.88 1.605 6.804-2.043 6.8c-3.74 0-5.127-4.88-1.94-6.826c1.055-.643 2.908-.63 3.983.026m56.48.206c1.512 1.108 2.015 3.413 1.079 4.95c-2.46 4.034-8.612.827-6.557-3.419c1.01-2.085 3.695-2.837 5.478-1.53" }, null, -1)
|
|
12
|
+
]));
|
|
13
|
+
}
|
|
14
|
+
const Rust = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
15
|
+
export {
|
|
16
|
+
Rust as default
|
|
17
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/vue3';
|
|
2
|
+
import { default as ElmChildContainer } from './ElmChildContainer.vue';
|
|
3
|
+
declare const meta: Meta<typeof ElmChildContainer>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const Primary: Story;
|
package/dist/components/{typography/ElmListItem.vue.d.ts → jsonschema/ElmChildContainer.vue.d.ts}
RENAMED
|
@@ -1,14 +1,17 @@
|
|
|
1
|
-
export interface
|
|
1
|
+
export interface ElmChildContainerProps {
|
|
2
|
+
icon: string;
|
|
3
|
+
text: string;
|
|
2
4
|
}
|
|
3
5
|
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
4
7
|
slots: {
|
|
5
8
|
default?(_: {}): any;
|
|
6
9
|
};
|
|
7
10
|
refs: {};
|
|
8
|
-
|
|
11
|
+
rootEl: HTMLDivElement;
|
|
9
12
|
};
|
|
10
13
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
|
-
declare const __VLS_component: import('vue').DefineComponent<
|
|
14
|
+
declare const __VLS_component: import('vue').DefineComponent<ElmChildContainerProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ElmChildContainerProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
12
15
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
13
16
|
export default _default;
|
|
14
17
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/vue3';
|
|
2
|
+
import { default as ElmFieldAttribute } from './ElmFieldAttribute.vue';
|
|
3
|
+
declare const meta: Meta<typeof ElmFieldAttribute>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const Primary: Story;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export interface ElmFieldAttributeProps {
|
|
2
|
+
icon: string;
|
|
3
|
+
name: string;
|
|
4
|
+
content: string;
|
|
5
|
+
}
|
|
6
|
+
declare const _default: import('vue').DefineComponent<ElmFieldAttributeProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ElmFieldAttributeProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/vue3';
|
|
2
|
+
import { default as ElmFieldType } from './ElmFieldType.vue';
|
|
3
|
+
declare const meta: Meta<typeof ElmFieldType>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const Primary: Story;
|
|
7
|
+
export declare const Maybe: Story;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { JSONSchema7TypeName } from 'json-schema';
|
|
2
|
+
export interface ElmFieldTypeProps {
|
|
3
|
+
type: JSONSchema7TypeName;
|
|
4
|
+
name?: string;
|
|
5
|
+
nullable?: boolean;
|
|
6
|
+
}
|
|
7
|
+
declare const _default: import('vue').DefineComponent<ElmFieldTypeProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ElmFieldTypeProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/vue3';
|
|
2
|
+
import { default as ElmJsonSchema } from './ElmJsonSchema.vue';
|
|
3
|
+
declare const meta: Meta<typeof ElmJsonSchema>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const Primary: Story;
|
|
7
|
+
export declare const Union: Story;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { JSONSchema7Definition } from 'json-schema';
|
|
2
|
+
export interface ElmJsonSchemaProps {
|
|
3
|
+
name?: string;
|
|
4
|
+
schema: JSONSchema7Definition;
|
|
5
|
+
}
|
|
6
|
+
declare const _default: import('vue').DefineComponent<ElmJsonSchemaProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ElmJsonSchemaProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/vue3';
|
|
2
|
+
import { default as ElmBlockImage } from './ElmBlockImage.vue';
|
|
3
|
+
declare const meta: Meta<typeof ElmBlockImage>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const Primary: Story;
|
|
7
|
+
export declare const Svg: Story;
|
|
8
|
+
export declare const LongAlt: Story;
|
|
9
|
+
export declare const Invalid: Story;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export interface ElmBlockImageProps {
|
|
2
|
+
/**
|
|
3
|
+
* Image source URL
|
|
4
|
+
*/
|
|
5
|
+
src: string;
|
|
6
|
+
/**
|
|
7
|
+
* Image alt text
|
|
8
|
+
*/
|
|
9
|
+
alt?: string;
|
|
10
|
+
}
|
|
11
|
+
declare const _default: import('vue').DefineComponent<ElmBlockImageProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ElmBlockImageProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
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-42e56906],.v-leave-from[data-v-42e56906]{opacity:1}.v-enter-active[data-v-42e56906],.v-leave-active[data-v-42e56906]{transition:opacity .3s}.v-enter-from[data-v-42e56906],.v-leave-to[data-v-42e56906]{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 "./ElmBlockImage.vue2.mjs";
|
|
14
|
+
import style0 from "./ElmBlockImage.vue3.mjs";
|
|
15
|
+
|
|
16
|
+
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
17
|
+
const cssModules = {
|
|
18
|
+
"$style": style0
|
|
19
|
+
};
|
|
20
|
+
const ElmBlockImage = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules], ["__scopeId", "data-v-42e56906"]]);
|
|
21
|
+
export {
|
|
22
|
+
ElmBlockImage as default
|
|
23
|
+
};
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import { defineComponent, ref, createElementBlock, openBlock, Fragment, createElementVNode, createVNode, normalizeClass, Transition, withCtx, unref, normalizeStyle, createCommentVNode } from "vue";
|
|
2
|
+
import ElmRectangleWave from "../fallback/ElmRectangleWave.vue.mjs";
|
|
3
|
+
import ElmDotLoadingIcon from "../icon/ElmDotLoadingIcon.vue.mjs";
|
|
4
|
+
import { useImage, onKeyStroke } from "@vueuse/core";
|
|
5
|
+
import ElmInlineText from "../typography/ElmInlineText.vue.mjs";
|
|
6
|
+
import { mdiMessageImageOutline } from "../../node_modules/.pnpm/@mdi_js@7.4.47/node_modules/@mdi/js/mdi.mjs";
|
|
7
|
+
const _hoisted_1 = ["src", "alt"];
|
|
8
|
+
const _hoisted_2 = ["d"];
|
|
9
|
+
const _hoisted_3 = ["src", "alt"];
|
|
10
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
11
|
+
__name: "ElmBlockImage",
|
|
12
|
+
props: {
|
|
13
|
+
src: {},
|
|
14
|
+
alt: {}
|
|
15
|
+
},
|
|
16
|
+
setup(__props) {
|
|
17
|
+
const props = __props;
|
|
18
|
+
const { isLoading, error } = useImage({ src: props.src });
|
|
19
|
+
const isModalOpen = ref(false);
|
|
20
|
+
onKeyStroke("Escape", (e) => {
|
|
21
|
+
e.preventDefault();
|
|
22
|
+
isModalOpen.value = false;
|
|
23
|
+
});
|
|
24
|
+
return (_ctx, _cache) => {
|
|
25
|
+
return openBlock(), createElementBlock(Fragment, null, [
|
|
26
|
+
createElementVNode("div", {
|
|
27
|
+
class: normalizeClass(_ctx.$style.container)
|
|
28
|
+
}, [
|
|
29
|
+
createVNode(Transition, { mode: "out-in" }, {
|
|
30
|
+
default: withCtx(() => [
|
|
31
|
+
unref(error) ? (openBlock(), createElementBlock("div", {
|
|
32
|
+
key: 0,
|
|
33
|
+
class: normalizeClass(_ctx.$style.error)
|
|
34
|
+
}, [
|
|
35
|
+
createVNode(ElmInlineText, {
|
|
36
|
+
text: "Error loading image",
|
|
37
|
+
color: "#c56565",
|
|
38
|
+
size: "1.5rem"
|
|
39
|
+
})
|
|
40
|
+
], 2)) : unref(isLoading) ? (openBlock(), createElementBlock("div", {
|
|
41
|
+
key: 1,
|
|
42
|
+
class: normalizeClass(_ctx.$style.fallback)
|
|
43
|
+
}, [
|
|
44
|
+
createVNode(ElmRectangleWave),
|
|
45
|
+
createElementVNode("div", null, [
|
|
46
|
+
createVNode(ElmDotLoadingIcon)
|
|
47
|
+
])
|
|
48
|
+
], 2)) : (openBlock(), createElementBlock("img", {
|
|
49
|
+
key: 2,
|
|
50
|
+
class: normalizeClass(_ctx.$style.image),
|
|
51
|
+
src: _ctx.src,
|
|
52
|
+
alt: _ctx.alt,
|
|
53
|
+
onClick: _cache[0] || (_cache[0] = () => {
|
|
54
|
+
isModalOpen.value = true;
|
|
55
|
+
}),
|
|
56
|
+
style: normalizeStyle({
|
|
57
|
+
"--height": unref(isLoading) ? "0" : "auto",
|
|
58
|
+
"--opacity": unref(isLoading) ? 0 : 1,
|
|
59
|
+
display: unref(isLoading) ? "none" : "block"
|
|
60
|
+
})
|
|
61
|
+
}, null, 14, _hoisted_1))
|
|
62
|
+
]),
|
|
63
|
+
_: 1
|
|
64
|
+
})
|
|
65
|
+
], 2),
|
|
66
|
+
createVNode(Transition, null, {
|
|
67
|
+
default: withCtx(() => [
|
|
68
|
+
!unref(isLoading) && _ctx.alt != null && _ctx.alt.trim() !== "" ? (openBlock(), createElementBlock("div", {
|
|
69
|
+
key: 0,
|
|
70
|
+
class: normalizeClass(_ctx.$style["alt-container"])
|
|
71
|
+
}, [
|
|
72
|
+
(openBlock(), createElementBlock("svg", {
|
|
73
|
+
class: normalizeClass(_ctx.$style["alt-icon"]),
|
|
74
|
+
viewBox: "0 0 24 24",
|
|
75
|
+
width: "1rem",
|
|
76
|
+
height: "1rem",
|
|
77
|
+
fill: "currentColor"
|
|
78
|
+
}, [
|
|
79
|
+
createElementVNode("path", { d: unref(mdiMessageImageOutline) }, null, 8, _hoisted_2)
|
|
80
|
+
], 2)),
|
|
81
|
+
createElementVNode("div", {
|
|
82
|
+
class: normalizeClass(_ctx.$style["alt-text"])
|
|
83
|
+
}, [
|
|
84
|
+
createVNode(ElmInlineText, {
|
|
85
|
+
text: _ctx.alt,
|
|
86
|
+
size: "0.8rem"
|
|
87
|
+
}, null, 8, ["text"])
|
|
88
|
+
], 2)
|
|
89
|
+
], 2)) : createCommentVNode("", true)
|
|
90
|
+
]),
|
|
91
|
+
_: 1
|
|
92
|
+
}),
|
|
93
|
+
createVNode(Transition, null, {
|
|
94
|
+
default: withCtx(() => [
|
|
95
|
+
isModalOpen.value ? (openBlock(), createElementBlock("div", {
|
|
96
|
+
key: 0,
|
|
97
|
+
class: normalizeClass(_ctx.$style.modal)
|
|
98
|
+
}, [
|
|
99
|
+
createElementVNode("img", {
|
|
100
|
+
class: normalizeClass(_ctx.$style["modal-image"]),
|
|
101
|
+
src: _ctx.src,
|
|
102
|
+
alt: _ctx.alt,
|
|
103
|
+
onClick: _cache[1] || (_cache[1] = () => {
|
|
104
|
+
isModalOpen.value = false;
|
|
105
|
+
})
|
|
106
|
+
}, null, 10, _hoisted_3)
|
|
107
|
+
], 2)) : createCommentVNode("", true)
|
|
108
|
+
]),
|
|
109
|
+
_: 1
|
|
110
|
+
})
|
|
111
|
+
], 64);
|
|
112
|
+
};
|
|
113
|
+
}
|
|
114
|
+
});
|
|
115
|
+
export {
|
|
116
|
+
_sfc_main as default
|
|
117
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
(function() {
|
|
2
|
+
"use strict";
|
|
3
|
+
try {
|
|
4
|
+
if (typeof document != "undefined") {
|
|
5
|
+
var elementStyle = document.createElement("style");
|
|
6
|
+
elementStyle.appendChild(document.createTextNode("._container_1n578_1{margin-block:1rem;width:100%;display:flex;justify-content:center;align-items:center}._image_1n578_9{overflow:hidden;border-radius:.25rem;box-shadow:0 0 .125rem #0000004d;display:block;max-width:100%;height:var(--height);opacity:var(--opacity);transition:opacity .4s;cursor:zoom-in}._alt-container_1n578_21{margin:1rem;display:flex;justify-content:center;align-items:flex-end;gap:.5rem;color:#6987b8;opacity:.8}._alt-icon_1n578_31{fill:#6987b8}._alt-text_1n578_35{width:-moz-fit-content;width:fit-content}._error_1n578_39{display:flex;justify-content:center;align-items:center;gap:1rem;width:100%;height:100%;min-height:10rem;line-height:1.5rem;color:#c56565}._fallback_1n578_51{margin-block:1rem;margin:0;padding:0;position:relative;width:100%;z-index:1;display:flex;justify-content:center;align-items:center;aspect-ratio:1200/630}._modal_1n578_64{z-index:1000;position:fixed;width:100%;height:100vh;top:0;left:0;background-color:#000000b3;display:flex;justify-content:center;align-items:center;cursor:zoom-out}._modal_1n578_64 ._modal-image_1n578_77{width:100vw;height:100vh;-o-object-fit:contain;object-fit:contain}"));
|
|
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_1n578_1";
|
|
14
|
+
const image = "_image_1n578_9";
|
|
15
|
+
const error = "_error_1n578_39";
|
|
16
|
+
const fallback = "_fallback_1n578_51";
|
|
17
|
+
const modal = "_modal_1n578_64";
|
|
18
|
+
const style0 = {
|
|
19
|
+
container,
|
|
20
|
+
image,
|
|
21
|
+
"alt-container": "_alt-container_1n578_21",
|
|
22
|
+
"alt-icon": "_alt-icon_1n578_31",
|
|
23
|
+
"alt-text": "_alt-text_1n578_35",
|
|
24
|
+
error,
|
|
25
|
+
fallback,
|
|
26
|
+
modal,
|
|
27
|
+
"modal-image": "_modal-image_1n578_77"
|
|
28
|
+
};
|
|
29
|
+
export {
|
|
30
|
+
container,
|
|
31
|
+
style0 as default,
|
|
32
|
+
error,
|
|
33
|
+
fallback,
|
|
34
|
+
image,
|
|
35
|
+
modal
|
|
36
|
+
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Property } from 'csstype';
|
|
1
2
|
export interface ElmFileProps {
|
|
2
3
|
/**
|
|
3
4
|
* The name of the file.
|
|
@@ -11,6 +12,10 @@ export interface ElmFileProps {
|
|
|
11
12
|
* The size of the file in bytes.
|
|
12
13
|
*/
|
|
13
14
|
filesize?: string;
|
|
15
|
+
/**
|
|
16
|
+
* The margin of the file.
|
|
17
|
+
*/
|
|
18
|
+
margin?: Property.MarginBlock;
|
|
14
19
|
}
|
|
15
|
-
declare const _default: import('vue').DefineComponent<ElmFileProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ElmFileProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
20
|
+
declare const _default: import('vue').DefineComponent<ElmFileProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ElmFileProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
16
21
|
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import _sfc_main from "./ElmFile.vue2.mjs";
|
|
2
|
+
import style0 from "./ElmFile.vue3.mjs";
|
|
3
|
+
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
+
const cssModules = {
|
|
5
|
+
"$style": style0
|
|
6
|
+
};
|
|
7
|
+
const ElmFile = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules]]);
|
|
8
|
+
export {
|
|
9
|
+
ElmFile as default
|
|
10
|
+
};
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { defineComponent, createElementBlock, openBlock, normalizeStyle, normalizeClass, createElementVNode, createVNode, unref, createBlock, createCommentVNode } from "vue";
|
|
2
|
+
import { Icon } from "@iconify/vue";
|
|
3
|
+
import ElmInlineText from "../typography/ElmInlineText.vue.mjs";
|
|
4
|
+
const _hoisted_1 = { style: { opacity: 0.6 } };
|
|
5
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
|
+
__name: "ElmFile",
|
|
7
|
+
props: {
|
|
8
|
+
name: {},
|
|
9
|
+
src: {},
|
|
10
|
+
filesize: {},
|
|
11
|
+
margin: {}
|
|
12
|
+
},
|
|
13
|
+
setup(__props) {
|
|
14
|
+
function getLastPathSegmentWithoutQueryOrHash(urlString) {
|
|
15
|
+
const cleanedUrl = urlString.split(/[?#]/)[0];
|
|
16
|
+
const pathSegments = cleanedUrl.split("/").filter(Boolean);
|
|
17
|
+
return pathSegments.length > 0 ? pathSegments[pathSegments.length - 1] : null;
|
|
18
|
+
}
|
|
19
|
+
async function downloadFile(url, filename) {
|
|
20
|
+
let link;
|
|
21
|
+
try {
|
|
22
|
+
const response = await fetch(url);
|
|
23
|
+
if (!response.ok) throw new Error("Failed to download file");
|
|
24
|
+
const blob = await response.blob();
|
|
25
|
+
link = document.createElement("a");
|
|
26
|
+
link.href = URL.createObjectURL(blob);
|
|
27
|
+
link.download = filename;
|
|
28
|
+
link.click();
|
|
29
|
+
} catch (error) {
|
|
30
|
+
console.error("ERROR:", error);
|
|
31
|
+
} finally {
|
|
32
|
+
if (link) URL.revokeObjectURL(link.href);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
return (_ctx, _cache) => {
|
|
36
|
+
return openBlock(), createElementBlock("div", {
|
|
37
|
+
class: normalizeClass(_ctx.$style.file),
|
|
38
|
+
style: normalizeStyle({ "--margin-block": _ctx.margin })
|
|
39
|
+
}, [
|
|
40
|
+
createElementVNode("div", {
|
|
41
|
+
class: normalizeClass(_ctx.$style["left-container"])
|
|
42
|
+
}, [
|
|
43
|
+
createVNode(unref(Icon), {
|
|
44
|
+
icon: "mdi:file-outline",
|
|
45
|
+
class: normalizeClass(_ctx.$style.icon)
|
|
46
|
+
}, null, 8, ["class"]),
|
|
47
|
+
createVNode(ElmInlineText, {
|
|
48
|
+
text: _ctx.name ?? getLastPathSegmentWithoutQueryOrHash(_ctx.src) ?? "unknown file"
|
|
49
|
+
}, null, 8, ["text"])
|
|
50
|
+
], 2),
|
|
51
|
+
createElementVNode("div", {
|
|
52
|
+
class: normalizeClass(_ctx.$style["right-container"])
|
|
53
|
+
}, [
|
|
54
|
+
createElementVNode("span", _hoisted_1, [
|
|
55
|
+
_ctx.filesize ? (openBlock(), createBlock(ElmInlineText, {
|
|
56
|
+
key: 0,
|
|
57
|
+
text: _ctx.filesize
|
|
58
|
+
}, null, 8, ["text"])) : createCommentVNode("", true)
|
|
59
|
+
]),
|
|
60
|
+
createVNode(unref(Icon), {
|
|
61
|
+
icon: "mdi:download",
|
|
62
|
+
class: normalizeClass(_ctx.$style["download-icon"]),
|
|
63
|
+
onClick: _cache[0] || (_cache[0] = () => {
|
|
64
|
+
downloadFile(
|
|
65
|
+
_ctx.src,
|
|
66
|
+
_ctx.name ?? getLastPathSegmentWithoutQueryOrHash(_ctx.src) ?? "unknown file"
|
|
67
|
+
);
|
|
68
|
+
})
|
|
69
|
+
}, null, 8, ["class"])
|
|
70
|
+
], 2)
|
|
71
|
+
], 6);
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
});
|
|
75
|
+
export {
|
|
76
|
+
_sfc_main as default
|
|
77
|
+
};
|
|
@@ -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("._file_q7zca_1{margin-block:var(--margin-block);box-sizing:border-box;width:100%;padding:1rem;box-shadow:0 0 .125rem #0003;border-radius:.25rem;display:flex;justify-content:space-between;align-items:center;background-color:#fff3}[data-theme=dark] ._file_q7zca_1{background-color:#0003}._file_q7zca_1 ._left-container_q7zca_16{display:flex;justify-content:flex-start;align-items:center;gap:.75rem}._file_q7zca_1 ._left-container_q7zca_16 ._icon_q7zca_22{width:20px;height:20px;transition:color .2s;color:#000c}[data-theme=dark] ._file_q7zca_1 ._left-container_q7zca_16 ._icon_q7zca_22{color:#fffc}._file_q7zca_1 ._right-container_q7zca_31{display:flex;justify-content:flex-end;align-items:center;gap:.75rem}._file_q7zca_1 ._right-container_q7zca_31 ._download-icon_q7zca_37{padding:.125rem;width:20px;height:20px;cursor:pointer;transition:color .2s,background-color .2s;color:#000c}[data-theme=dark] ._file_q7zca_1 ._right-container_q7zca_31 ._download-icon_q7zca_37{color:#fffc}._file_q7zca_1 ._right-container_q7zca_31 ._download-icon_q7zca_37:hover{background-color:#0000001a}[data-theme=dark] ._file_q7zca_1 ._right-container_q7zca_31 ._download-icon_q7zca_37:hover{background-color:#ffffff1a}"));
|
|
7
|
+
document.head.appendChild(elementStyle);
|
|
8
|
+
}
|
|
9
|
+
} catch (e) {
|
|
10
|
+
console.error("vite-plugin-css-injected-by-js", e);
|
|
11
|
+
}
|
|
12
|
+
})();
|
|
13
|
+
const file = "_file_q7zca_1";
|
|
14
|
+
const icon = "_icon_q7zca_22";
|
|
15
|
+
const style0 = {
|
|
16
|
+
file,
|
|
17
|
+
"left-container": "_left-container_q7zca_16",
|
|
18
|
+
icon,
|
|
19
|
+
"right-container": "_right-container_q7zca_31",
|
|
20
|
+
"download-icon": "_download-icon_q7zca_37"
|
|
21
|
+
};
|
|
22
|
+
export {
|
|
23
|
+
style0 as default,
|
|
24
|
+
file,
|
|
25
|
+
icon
|
|
26
|
+
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Property } from 'csstype';
|
|
1
2
|
export interface ElmImageProps {
|
|
2
3
|
/**
|
|
3
4
|
* Image source URL
|
|
@@ -11,6 +12,10 @@ export interface ElmImageProps {
|
|
|
11
12
|
* Enable modal on image click. Default: `false`
|
|
12
13
|
*/
|
|
13
14
|
enableModal?: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* The margin of the image.
|
|
17
|
+
*/
|
|
18
|
+
margin?: Property.MarginBlock;
|
|
14
19
|
}
|
|
15
20
|
declare const _default: import('vue').DefineComponent<ElmImageProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ElmImageProps> & Readonly<{}>, {
|
|
16
21
|
enableModal: boolean;
|
|
@@ -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-a6508d78],.v-leave-from[data-v-a6508d78]{opacity:1}.v-enter-active[data-v-a6508d78],.v-leave-active[data-v-a6508d78]{transition:opacity .3s}.v-enter-from[data-v-a6508d78],.v-leave-to[data-v-a6508d78]{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 "./ElmImage.vue2.mjs";
|
|
14
|
+
import style0 from "./ElmImage.vue3.mjs";
|
|
15
|
+
|
|
16
|
+
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
17
|
+
const cssModules = {
|
|
18
|
+
"$style": style0
|
|
19
|
+
};
|
|
20
|
+
const ElmImage = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules], ["__scopeId", "data-v-a6508d78"]]);
|
|
21
|
+
export {
|
|
22
|
+
ElmImage as default
|
|
23
|
+
};
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { defineComponent, ref, createElementBlock, openBlock, Fragment, createVNode, Transition, withCtx, unref, normalizeClass, normalizeStyle, createElementVNode, createCommentVNode } from "vue";
|
|
2
|
+
import ElmRectangleWave from "../fallback/ElmRectangleWave.vue.mjs";
|
|
3
|
+
import ElmDotLoadingIcon from "../icon/ElmDotLoadingIcon.vue.mjs";
|
|
4
|
+
import { useImage, onKeyStroke } from "@vueuse/core";
|
|
5
|
+
import ElmInlineText from "../typography/ElmInlineText.vue.mjs";
|
|
6
|
+
const _hoisted_1 = ["src", "alt"];
|
|
7
|
+
const _hoisted_2 = ["src", "alt"];
|
|
8
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
9
|
+
__name: "ElmImage",
|
|
10
|
+
props: {
|
|
11
|
+
src: {},
|
|
12
|
+
alt: {},
|
|
13
|
+
enableModal: { type: Boolean, default: false },
|
|
14
|
+
margin: {}
|
|
15
|
+
},
|
|
16
|
+
setup(__props) {
|
|
17
|
+
const props = __props;
|
|
18
|
+
const { isLoading, error } = useImage({ src: props.src });
|
|
19
|
+
const isModalOpen = ref(false);
|
|
20
|
+
onKeyStroke("Escape", (e) => {
|
|
21
|
+
e.preventDefault();
|
|
22
|
+
isModalOpen.value = false;
|
|
23
|
+
});
|
|
24
|
+
return (_ctx, _cache) => {
|
|
25
|
+
return openBlock(), createElementBlock(Fragment, null, [
|
|
26
|
+
createVNode(Transition, { mode: "out-in" }, {
|
|
27
|
+
default: withCtx(() => [
|
|
28
|
+
unref(error) ? (openBlock(), createElementBlock("div", {
|
|
29
|
+
key: 0,
|
|
30
|
+
class: normalizeClass(_ctx.$style.error)
|
|
31
|
+
}, [
|
|
32
|
+
createVNode(ElmInlineText, {
|
|
33
|
+
text: "Error loading image",
|
|
34
|
+
color: "#c56565",
|
|
35
|
+
size: "1.5rem"
|
|
36
|
+
})
|
|
37
|
+
], 2)) : unref(isLoading) ? (openBlock(), createElementBlock("div", {
|
|
38
|
+
key: 1,
|
|
39
|
+
class: normalizeClass(_ctx.$style.fallback),
|
|
40
|
+
style: normalizeStyle({ "--margin-block": _ctx.margin })
|
|
41
|
+
}, [
|
|
42
|
+
createVNode(ElmRectangleWave),
|
|
43
|
+
createElementVNode("div", null, [
|
|
44
|
+
createVNode(ElmDotLoadingIcon)
|
|
45
|
+
])
|
|
46
|
+
], 6)) : (openBlock(), createElementBlock("img", {
|
|
47
|
+
key: 2,
|
|
48
|
+
class: normalizeClass(_ctx.$style.image),
|
|
49
|
+
src: _ctx.src,
|
|
50
|
+
alt: _ctx.alt,
|
|
51
|
+
onClick: _cache[0] || (_cache[0] = () => {
|
|
52
|
+
if (_ctx.enableModal) {
|
|
53
|
+
isModalOpen.value = true;
|
|
54
|
+
}
|
|
55
|
+
}),
|
|
56
|
+
style: normalizeStyle({
|
|
57
|
+
"--height": unref(isLoading) ? "0" : "auto",
|
|
58
|
+
"--opacity": unref(isLoading) ? 0 : 1,
|
|
59
|
+
"--cursor": _ctx.enableModal ? "zoom-in" : "inherit",
|
|
60
|
+
"--margin-block": _ctx.margin,
|
|
61
|
+
display: unref(isLoading) ? "none" : "block"
|
|
62
|
+
})
|
|
63
|
+
}, null, 14, _hoisted_1))
|
|
64
|
+
]),
|
|
65
|
+
_: 1
|
|
66
|
+
}),
|
|
67
|
+
createVNode(Transition, null, {
|
|
68
|
+
default: withCtx(() => [
|
|
69
|
+
isModalOpen.value ? (openBlock(), createElementBlock("div", {
|
|
70
|
+
key: 0,
|
|
71
|
+
class: normalizeClass(_ctx.$style.modal)
|
|
72
|
+
}, [
|
|
73
|
+
createElementVNode("img", {
|
|
74
|
+
class: normalizeClass(_ctx.$style["modal-image"]),
|
|
75
|
+
src: _ctx.src,
|
|
76
|
+
alt: _ctx.alt,
|
|
77
|
+
onClick: _cache[1] || (_cache[1] = () => {
|
|
78
|
+
isModalOpen.value = false;
|
|
79
|
+
})
|
|
80
|
+
}, null, 10, _hoisted_2)
|
|
81
|
+
], 2)) : createCommentVNode("", true)
|
|
82
|
+
]),
|
|
83
|
+
_: 1
|
|
84
|
+
})
|
|
85
|
+
], 64);
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
});
|
|
89
|
+
export {
|
|
90
|
+
_sfc_main as default
|
|
91
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
(function() {
|
|
2
|
+
"use strict";
|
|
3
|
+
try {
|
|
4
|
+
if (typeof document != "undefined") {
|
|
5
|
+
var elementStyle = document.createElement("style");
|
|
6
|
+
elementStyle.appendChild(document.createTextNode("._image_151nq_1{display:block;margin-block:var(--margin-block);max-width:100%;height:var(--height);opacity:var(--opacity);transition:opacity .4s;cursor:var(--cursor)}._error_151nq_11{display:flex;justify-content:center;align-items:center;gap:1rem;width:100%;height:100%;min-height:10rem;line-height:1.5rem;color:#c56565}._fallback_151nq_23{margin-block:var(--margin-block);margin:0;padding:0;position:relative;width:100%;z-index:1;display:flex;justify-content:center;align-items:center;aspect-ratio:1200/630}._modal_151nq_36{z-index:1000;position:fixed;width:100%;height:100vh;top:0;left:0;background-color:#000000b3;display:flex;justify-content:center;align-items:center;cursor:zoom-out}._modal_151nq_36 ._modal-image_151nq_49{width:100vw;height:100vh;-o-object-fit:contain;object-fit:contain}"));
|
|
7
|
+
document.head.appendChild(elementStyle);
|
|
8
|
+
}
|
|
9
|
+
} catch (e) {
|
|
10
|
+
console.error("vite-plugin-css-injected-by-js", e);
|
|
11
|
+
}
|
|
12
|
+
})();
|
|
13
|
+
const image = "_image_151nq_1";
|
|
14
|
+
const error = "_error_151nq_11";
|
|
15
|
+
const fallback = "_fallback_151nq_23";
|
|
16
|
+
const modal = "_modal_151nq_36";
|
|
17
|
+
const style0 = {
|
|
18
|
+
image,
|
|
19
|
+
error,
|
|
20
|
+
fallback,
|
|
21
|
+
modal,
|
|
22
|
+
"modal-image": "_modal-image_151nq_49"
|
|
23
|
+
};
|
|
24
|
+
export {
|
|
25
|
+
style0 as default,
|
|
26
|
+
error,
|
|
27
|
+
fallback,
|
|
28
|
+
image,
|
|
29
|
+
modal
|
|
30
|
+
};
|