@elmethis/vue 0.4.2 → 0.5.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/README.md +55 -0
- package/lib/index.vue.cjs +2 -0
- package/lib/index.vue.mjs +4387 -0
- package/lib/style.css +2 -0
- package/lib-types/components/a2ui/catalog/basic-catalog.d.ts +3 -0
- package/lib-types/components/a2ui/catalog/basic-catalog.d.ts.map +1 -0
- package/lib-types/components/a2ui/catalog/block-catalog.d.ts +8 -0
- package/lib-types/components/a2ui/catalog/block-catalog.d.ts.map +1 -0
- package/lib-types/components/a2ui/catalog/catalog-utils.d.ts +19 -0
- package/lib-types/components/a2ui/catalog/catalog-utils.d.ts.map +1 -0
- package/lib-types/components/a2ui/catalog/catalog.d.ts +109 -0
- package/lib-types/components/a2ui/catalog/catalog.d.ts.map +1 -0
- package/lib-types/components/a2ui/component-host.d.ts +76 -0
- package/lib-types/components/a2ui/component-host.d.ts.map +1 -0
- package/lib-types/components/a2ui/elm-a2ui.d.ts +115 -0
- package/lib-types/components/a2ui/elm-a2ui.d.ts.map +1 -0
- package/lib-types/components/a2ui/stream-json-lines.d.ts +14 -0
- package/lib-types/components/a2ui/stream-json-lines.d.ts.map +1 -0
- package/lib-types/components/code/elm-code-block.d.ts +47 -0
- package/lib-types/components/code/elm-code-block.d.ts.map +1 -0
- package/lib-types/components/code/elm-katex.d.ts +37 -0
- package/lib-types/components/code/elm-katex.d.ts.map +1 -0
- package/lib-types/components/code/elm-shiki-highlighter.d.ts +33 -0
- package/lib-types/components/code/elm-shiki-highlighter.d.ts.map +1 -0
- package/lib-types/components/containments/elm-collapse.d.ts +38 -0
- package/lib-types/components/containments/elm-collapse.d.ts.map +1 -0
- package/lib-types/components/containments/elm-modal.d.ts +43 -0
- package/lib-types/components/containments/elm-modal.d.ts.map +1 -0
- package/lib-types/components/containments/elm-parallax.d.ts +16 -0
- package/lib-types/components/containments/elm-parallax.d.ts.map +1 -0
- package/lib-types/components/containments/elm-tabs.d.ts +79 -0
- package/lib-types/components/containments/elm-tabs.d.ts.map +1 -0
- package/lib-types/components/containments/elm-toggle.d.ts +57 -0
- package/lib-types/components/containments/elm-toggle.d.ts.map +1 -0
- package/lib-types/components/containments/elm-tooltip.d.ts +4 -0
- package/lib-types/components/containments/elm-tooltip.d.ts.map +1 -0
- package/lib-types/components/containments/tabs-context.d.ts +17 -0
- package/lib-types/components/containments/tabs-context.d.ts.map +1 -0
- package/lib-types/components/fallback/elm-block-fallback.d.ts +18 -0
- package/lib-types/components/fallback/elm-block-fallback.d.ts.map +1 -0
- package/lib-types/components/fallback/elm-rectangle-wave.d.ts +4 -0
- package/lib-types/components/fallback/elm-rectangle-wave.d.ts.map +1 -0
- package/lib-types/components/fallback/elm-unsupported-block.d.ts +18 -0
- package/lib-types/components/fallback/elm-unsupported-block.d.ts.map +1 -0
- package/lib-types/components/form/elm-button.d.ts +70 -0
- package/lib-types/components/form/elm-button.d.ts.map +1 -0
- package/lib-types/components/form/elm-checkbox.d.ts +75 -0
- package/lib-types/components/form/elm-checkbox.d.ts.map +1 -0
- package/lib-types/components/form/elm-select.d.ts +108 -0
- package/lib-types/components/form/elm-select.d.ts.map +1 -0
- package/lib-types/components/form/elm-switch.d.ts +62 -0
- package/lib-types/components/form/elm-switch.d.ts.map +1 -0
- package/lib-types/components/form/elm-text-area.d.ts +108 -0
- package/lib-types/components/form/elm-text-area.d.ts.map +1 -0
- package/lib-types/components/form/elm-text-field.d.ts +113 -0
- package/lib-types/components/form/elm-text-field.d.ts.map +1 -0
- package/lib-types/components/form/elm-validation.d.ts +36 -0
- package/lib-types/components/form/elm-validation.d.ts.map +1 -0
- package/lib-types/components/icon/elm-copy-icon.d.ts +19 -0
- package/lib-types/components/icon/elm-copy-icon.d.ts.map +1 -0
- package/lib-types/components/icon/elm-dot-loading-icon.d.ts +21 -0
- package/lib-types/components/icon/elm-dot-loading-icon.d.ts.map +1 -0
- package/lib-types/components/icon/elm-inline-icon.d.ts +63 -0
- package/lib-types/components/icon/elm-inline-icon.d.ts.map +1 -0
- package/lib-types/components/icon/elm-language-icon.d.ts +36 -0
- package/lib-types/components/icon/elm-language-icon.d.ts.map +1 -0
- package/lib-types/components/icon/elm-mdi-icon.d.ts +73 -0
- package/lib-types/components/icon/elm-mdi-icon.d.ts.map +1 -0
- package/lib-types/components/icon/elm-square-loading-icon.d.ts +28 -0
- package/lib-types/components/icon/elm-square-loading-icon.d.ts.map +1 -0
- package/lib-types/components/icon/elm-toggle-theme.d.ts +21 -0
- package/lib-types/components/icon/elm-toggle-theme.d.ts.map +1 -0
- package/lib-types/components/icon/languages/bash.d.ts +14 -0
- package/lib-types/components/icon/languages/bash.d.ts.map +1 -0
- package/lib-types/components/icon/languages/c-plus-plus.d.ts +14 -0
- package/lib-types/components/icon/languages/c-plus-plus.d.ts.map +1 -0
- package/lib-types/components/icon/languages/c-sharp.d.ts +14 -0
- package/lib-types/components/icon/languages/c-sharp.d.ts.map +1 -0
- package/lib-types/components/icon/languages/c.d.ts +14 -0
- package/lib-types/components/icon/languages/c.d.ts.map +1 -0
- package/lib-types/components/icon/languages/css.d.ts +14 -0
- package/lib-types/components/icon/languages/css.d.ts.map +1 -0
- package/lib-types/components/icon/languages/go.d.ts +14 -0
- package/lib-types/components/icon/languages/go.d.ts.map +1 -0
- package/lib-types/components/icon/languages/html.d.ts +14 -0
- package/lib-types/components/icon/languages/html.d.ts.map +1 -0
- package/lib-types/components/icon/languages/java.d.ts +14 -0
- package/lib-types/components/icon/languages/java.d.ts.map +1 -0
- package/lib-types/components/icon/languages/javascript.d.ts +14 -0
- package/lib-types/components/icon/languages/javascript.d.ts.map +1 -0
- package/lib-types/components/icon/languages/json.d.ts +14 -0
- package/lib-types/components/icon/languages/json.d.ts.map +1 -0
- package/lib-types/components/icon/languages/kotlin.d.ts +14 -0
- package/lib-types/components/icon/languages/kotlin.d.ts.map +1 -0
- package/lib-types/components/icon/languages/language-interface.d.ts +7 -0
- package/lib-types/components/icon/languages/language-interface.d.ts.map +1 -0
- package/lib-types/components/icon/languages/lua.d.ts +14 -0
- package/lib-types/components/icon/languages/lua.d.ts.map +1 -0
- package/lib-types/components/icon/languages/npm.d.ts +14 -0
- package/lib-types/components/icon/languages/npm.d.ts.map +1 -0
- package/lib-types/components/icon/languages/python.d.ts +14 -0
- package/lib-types/components/icon/languages/python.d.ts.map +1 -0
- package/lib-types/components/icon/languages/rust.d.ts +14 -0
- package/lib-types/components/icon/languages/rust.d.ts.map +1 -0
- package/lib-types/components/icon/languages/sql.d.ts +14 -0
- package/lib-types/components/icon/languages/sql.d.ts.map +1 -0
- package/lib-types/components/icon/languages/terraform.d.ts +14 -0
- package/lib-types/components/icon/languages/terraform.d.ts.map +1 -0
- package/lib-types/components/icon/languages/typescript.d.ts +14 -0
- package/lib-types/components/icon/languages/typescript.d.ts.map +1 -0
- package/lib-types/components/media/elm-block-image.d.ts +93 -0
- package/lib-types/components/media/elm-block-image.d.ts.map +1 -0
- package/lib-types/components/media/elm-file.d.ts +46 -0
- package/lib-types/components/media/elm-file.d.ts.map +1 -0
- package/lib-types/components/navigation/elm-bookmark.d.ts +74 -0
- package/lib-types/components/navigation/elm-bookmark.d.ts.map +1 -0
- package/lib-types/components/navigation/elm-breadcrumb.d.ts +26 -0
- package/lib-types/components/navigation/elm-breadcrumb.d.ts.map +1 -0
- package/lib-types/components/navigation/elm-page-top.d.ts +21 -0
- package/lib-types/components/navigation/elm-page-top.d.ts.map +1 -0
- package/lib-types/components/others/elm-color-primitive-sample.d.ts +4 -0
- package/lib-types/components/others/elm-color-primitive-sample.d.ts.map +1 -0
- package/lib-types/components/others/elm-color-semantic-sample.d.ts +4 -0
- package/lib-types/components/others/elm-color-semantic-sample.d.ts.map +1 -0
- package/lib-types/components/others/elm-markdown.d.ts +31 -0
- package/lib-types/components/others/elm-markdown.d.ts.map +1 -0
- package/lib-types/components/others/use-wordle.d.ts +26 -0
- package/lib-types/components/others/use-wordle.d.ts.map +1 -0
- package/lib-types/components/others/wordle/validGuesses.d.ts +2 -0
- package/lib-types/components/others/wordle/validGuesses.d.ts.map +1 -0
- package/lib-types/components/others/wordle/wordlist.d.ts +2 -0
- package/lib-types/components/others/wordle/wordlist.d.ts.map +1 -0
- package/lib-types/components/table/elm-table-body.d.ts +4 -0
- package/lib-types/components/table/elm-table-body.d.ts.map +1 -0
- package/lib-types/components/table/elm-table-cell.d.ts +58 -0
- package/lib-types/components/table/elm-table-cell.d.ts.map +1 -0
- package/lib-types/components/table/elm-table-header.d.ts +4 -0
- package/lib-types/components/table/elm-table-header.d.ts.map +1 -0
- package/lib-types/components/table/elm-table-row.d.ts +4 -0
- package/lib-types/components/table/elm-table-row.d.ts.map +1 -0
- package/lib-types/components/table/elm-table.d.ts +28 -0
- package/lib-types/components/table/elm-table.d.ts.map +1 -0
- package/lib-types/components/table/index.d.ts +7 -0
- package/lib-types/components/table/index.d.ts.map +1 -0
- package/lib-types/components/table/table-context.d.ts +22 -0
- package/lib-types/components/table/table-context.d.ts.map +1 -0
- package/lib-types/components/typography/elm-block-quote.d.ts +4 -0
- package/lib-types/components/typography/elm-block-quote.d.ts.map +1 -0
- package/lib-types/components/typography/elm-callout.d.ts +22 -0
- package/lib-types/components/typography/elm-callout.d.ts.map +1 -0
- package/lib-types/components/typography/elm-divider.d.ts +4 -0
- package/lib-types/components/typography/elm-divider.d.ts.map +1 -0
- package/lib-types/components/typography/elm-fragment-identifier.d.ts +19 -0
- package/lib-types/components/typography/elm-fragment-identifier.d.ts.map +1 -0
- package/lib-types/components/typography/elm-heading.d.ts +38 -0
- package/lib-types/components/typography/elm-heading.d.ts.map +1 -0
- package/lib-types/components/typography/elm-inline-text.d.ts +172 -0
- package/lib-types/components/typography/elm-inline-text.d.ts.map +1 -0
- package/lib-types/components/typography/elm-list.d.ts +19 -0
- package/lib-types/components/typography/elm-list.d.ts.map +1 -0
- package/lib-types/components/typography/elm-paragraph.d.ts +28 -0
- package/lib-types/components/typography/elm-paragraph.d.ts.map +1 -0
- package/lib-types/hooks/use-bindable-signal.d.ts +44 -0
- package/lib-types/hooks/use-bindable-signal.d.ts.map +1 -0
- package/lib-types/hooks/use-clipboard.d.ts +24 -0
- package/lib-types/hooks/use-clipboard.d.ts.map +1 -0
- package/lib-types/hooks/use-elmethis-theme.d.ts +47 -0
- package/lib-types/hooks/use-elmethis-theme.d.ts.map +1 -0
- package/lib-types/hooks/use-modal.d.ts +25 -0
- package/lib-types/hooks/use-modal.d.ts.map +1 -0
- package/lib-types/index.d.ts +53 -0
- package/lib-types/index.d.ts.map +1 -0
- package/package.json +85 -45
- package/dist/_virtual/_plugin-vue_export-helper.mjs +0 -8
- package/dist/components/ag-ui/message/ElmAgUiMessageUser.stories.d.ts +0 -6
- package/dist/components/ag-ui/message/ElmAgUiMessageUser.vue.d.ts +0 -8
- package/dist/components/code/ElmCodeBlock.mjs +0 -20
- package/dist/components/code/ElmCodeBlock.stories.d.ts +0 -9
- package/dist/components/code/ElmCodeBlock.vue.d.ts +0 -46
- package/dist/components/code/ElmCodeBlock.vue_vue_type_script_setup_true_lang.mjs +0 -79
- package/dist/components/code/ElmCodeBlock.vue_vue_type_style_index_0_lang.module.mjs +0 -26
- package/dist/components/code/ElmKatex.mjs +0 -6
- package/dist/components/code/ElmKatex.stories.d.ts +0 -8
- package/dist/components/code/ElmKatex.vue.d.ts +0 -20
- package/dist/components/code/ElmKatex.vue_vue_type_script_setup_true_lang.mjs +0 -61
- package/dist/components/code/ElmKatex.vue_vue_type_style_index_0_lang.module.mjs +0 -16
- package/dist/components/code/ElmMermaid.mjs +0 -6
- package/dist/components/code/ElmMermaid.stories.d.ts +0 -7
- package/dist/components/code/ElmMermaid.vue.d.ts +0 -7
- package/dist/components/code/ElmMermaid.vue_vue_type_script_setup_true_lang.mjs +0 -84
- package/dist/components/code/ElmMermaid.vue_vue_type_style_index_0_lang.module.mjs +0 -20
- package/dist/components/code/ElmShikiHighlighter.mjs +0 -20
- package/dist/components/code/ElmShikiHighlighter.stories.d.ts +0 -6
- package/dist/components/code/ElmShikiHighlighter.vue.d.ts +0 -22
- package/dist/components/code/ElmShikiHighlighter.vue_vue_type_script_setup_true_lang.mjs +0 -53
- package/dist/components/code/ElmShikiHighlighter.vue_vue_type_style_index_0_lang.module.mjs +0 -16
- package/dist/components/code/shikiInstance.d.ts +0 -2
- package/dist/components/code/shikiInstance.mjs +0 -74
- package/dist/components/containments/ElmColumn.stories.d.ts +0 -6
- package/dist/components/containments/ElmColumn.vue.d.ts +0 -19
- package/dist/components/containments/ElmColumnList.vue.d.ts +0 -19
- package/dist/components/containments/ElmConfirmModal.mjs +0 -6
- package/dist/components/containments/ElmConfirmModal.stories.d.ts +0 -6
- package/dist/components/containments/ElmConfirmModal.vue.d.ts +0 -37
- package/dist/components/containments/ElmConfirmModal.vue_vue_type_script_setup_true_lang.mjs +0 -85
- package/dist/components/containments/ElmConfirmModal.vue_vue_type_style_index_0_lang.module.mjs +0 -19
- package/dist/components/containments/ElmDesktopWindow.mjs +0 -6
- package/dist/components/containments/ElmDesktopWindow.stories.d.ts +0 -6
- package/dist/components/containments/ElmDesktopWindow.vue.d.ts +0 -27
- package/dist/components/containments/ElmDesktopWindow.vue_vue_type_script_setup_true_lang.mjs +0 -29
- package/dist/components/containments/ElmDesktopWindow.vue_vue_type_style_index_0_lang.module.mjs +0 -20
- package/dist/components/containments/ElmModal.mjs +0 -6
- package/dist/components/containments/ElmModal.stories.d.ts +0 -6
- package/dist/components/containments/ElmModal.vue.d.ts +0 -34
- package/dist/components/containments/ElmModal.vue_vue_type_script_setup_true_lang.mjs +0 -56
- package/dist/components/containments/ElmModal.vue_vue_type_style_index_0_lang.module.mjs +0 -19
- package/dist/components/containments/ElmParallax.mjs +0 -6
- package/dist/components/containments/ElmParallax.stories.d.ts +0 -6
- package/dist/components/containments/ElmParallax.vue.d.ts +0 -6
- package/dist/components/containments/ElmParallax.vue_vue_type_script_setup_true_lang.mjs +0 -32
- package/dist/components/containments/ElmParallax.vue_vue_type_style_index_0_lang.module.mjs +0 -16
- package/dist/components/containments/ElmSimpleTooltip.mjs +0 -6
- package/dist/components/containments/ElmSimpleTooltip.stories.d.ts +0 -7
- package/dist/components/containments/ElmSimpleTooltip.vue.d.ts +0 -21
- package/dist/components/containments/ElmSimpleTooltip.vue_vue_type_script_setup_true_lang.mjs +0 -26
- package/dist/components/containments/ElmSimpleTooltip.vue_vue_type_style_index_0_lang.module.mjs +0 -20
- package/dist/components/containments/ElmSnackbar.mjs +0 -6
- package/dist/components/containments/ElmSnackbar.stories.d.ts +0 -6
- package/dist/components/containments/ElmSnackbar.vue.d.ts +0 -11
- package/dist/components/containments/ElmSnackbar.vue_vue_type_script_setup_true_lang.mjs +0 -41
- package/dist/components/containments/ElmSnackbar.vue_vue_type_style_index_0_lang.module.mjs +0 -20
- package/dist/components/containments/ElmSnackbarContainer.mjs +0 -20
- package/dist/components/containments/ElmSnackbarContainer.vue.d.ts +0 -10
- package/dist/components/containments/ElmSnackbarContainer.vue_vue_type_script_setup_true_lang.mjs +0 -19
- package/dist/components/containments/ElmSnackbarContainer.vue_vue_type_style_index_0_lang.module.mjs +0 -20
- package/dist/components/containments/ElmTabs.mjs +0 -6
- package/dist/components/containments/ElmTabs.stories.d.ts +0 -6
- package/dist/components/containments/ElmTabs.vue.d.ts +0 -24
- package/dist/components/containments/ElmTabs.vue_vue_type_script_setup_true_lang.mjs +0 -29
- package/dist/components/containments/ElmTabs.vue_vue_type_style_index_0_lang.module.mjs +0 -23
- package/dist/components/containments/ElmToggle.mjs +0 -6
- package/dist/components/containments/ElmToggle.stories.d.ts +0 -7
- package/dist/components/containments/ElmToggle.vue.d.ts +0 -41
- package/dist/components/containments/ElmToggle.vue_vue_type_script_setup_true_lang.mjs +0 -93
- package/dist/components/containments/ElmToggle.vue_vue_type_style_index_0_lang.module.mjs +0 -32
- package/dist/components/containments/ElmTooltip.mjs +0 -6
- package/dist/components/containments/ElmTooltip.stories.d.ts +0 -6
- package/dist/components/containments/ElmTooltip.vue.d.ts +0 -40
- package/dist/components/containments/ElmTooltip.vue_vue_type_script_setup_true_lang.mjs +0 -54
- package/dist/components/containments/ElmTooltip.vue_vue_type_style_index_0_lang.module.mjs +0 -24
- package/dist/components/containments/useSnackbarState.d.ts +0 -28
- package/dist/components/data/ElmMultiProgress.mjs +0 -6
- package/dist/components/data/ElmMultiProgress.stories.d.ts +0 -6
- package/dist/components/data/ElmMultiProgress.vue.d.ts +0 -30
- package/dist/components/data/ElmMultiProgress.vue_vue_type_script_setup_true_lang.mjs +0 -49
- package/dist/components/data/ElmMultiProgress.vue_vue_type_style_index_0_lang.module.mjs +0 -19
- package/dist/components/data/ElmProgress.mjs +0 -6
- package/dist/components/data/ElmProgress.stories.d.ts +0 -10
- package/dist/components/data/ElmProgress.vue.d.ts +0 -38
- package/dist/components/data/ElmProgress.vue_vue_type_script_setup_true_lang.mjs +0 -52
- package/dist/components/data/ElmProgress.vue_vue_type_style_index_0_lang.module.mjs +0 -22
- package/dist/components/data/ElmStatusMessage.mjs +0 -20
- package/dist/components/data/ElmStatusMessage.stories.d.ts +0 -9
- package/dist/components/data/ElmStatusMessage.vue.d.ts +0 -6
- package/dist/components/data/ElmStatusMessage.vue_vue_type_script_setup_true_lang.mjs +0 -62
- package/dist/components/data/ElmStatusMessage.vue_vue_type_style_index_0_lang.module.mjs +0 -16
- package/dist/components/embed/ElmOEmbed.mjs +0 -5
- package/dist/components/embed/ElmOEmbed.stories.d.ts +0 -9
- package/dist/components/embed/ElmOEmbed.vue.d.ts +0 -40
- package/dist/components/embed/ElmOEmbed.vue_vue_type_script_setup_true_lang.mjs +0 -46
- package/dist/components/fallback/ElmBlockFallback.mjs +0 -6
- package/dist/components/fallback/ElmBlockFallback.stories.d.ts +0 -6
- package/dist/components/fallback/ElmBlockFallback.vue.d.ts +0 -4
- package/dist/components/fallback/ElmBlockFallback.vue_vue_type_script_setup_true_lang.mjs +0 -13
- package/dist/components/fallback/ElmBlockFallback.vue_vue_type_style_index_0_lang.module.mjs +0 -17
- package/dist/components/fallback/ElmRectangleWave.mjs +0 -6
- package/dist/components/fallback/ElmRectangleWave.stories.d.ts +0 -6
- package/dist/components/fallback/ElmRectangleWave.vue.d.ts +0 -4
- package/dist/components/fallback/ElmRectangleWave.vue_vue_type_script_setup_true_lang.mjs +0 -15
- package/dist/components/fallback/ElmRectangleWave.vue_vue_type_style_index_0_lang.module.mjs +0 -19
- package/dist/components/fallback/ElmSpinner.mjs +0 -6
- package/dist/components/fallback/ElmSpinner.stories.d.ts +0 -6
- package/dist/components/fallback/ElmSpinner.vue.d.ts +0 -9
- package/dist/components/fallback/ElmSpinner.vue_vue_type_script_setup_true_lang.mjs +0 -33
- package/dist/components/fallback/ElmSpinner.vue_vue_type_style_index_0_lang.module.mjs +0 -20
- package/dist/components/fallback/ElmUnsupportedBlock.mjs +0 -6
- package/dist/components/fallback/ElmUnsupportedBlock.stories.d.ts +0 -6
- package/dist/components/fallback/ElmUnsupportedBlock.vue.d.ts +0 -5
- package/dist/components/fallback/ElmUnsupportedBlock.vue_vue_type_script_setup_true_lang.mjs +0 -30
- package/dist/components/fallback/ElmUnsupportedBlock.vue_vue_type_style_index_0_lang.module.mjs +0 -21
- package/dist/components/form/ElmButton.mjs +0 -20
- package/dist/components/form/ElmButton.stories.d.ts +0 -11
- package/dist/components/form/ElmButton.vue.d.ts +0 -42
- package/dist/components/form/ElmButton.vue_vue_type_script_setup_true_lang.mjs +0 -77
- package/dist/components/form/ElmButton.vue_vue_type_style_index_0_lang.module.mjs +0 -26
- package/dist/components/form/ElmCheckbox.mjs +0 -6
- package/dist/components/form/ElmCheckbox.stories.d.ts +0 -6
- package/dist/components/form/ElmCheckbox.vue.d.ts +0 -26
- package/dist/components/form/ElmCheckbox.vue_vue_type_script_setup_true_lang.mjs +0 -159
- package/dist/components/form/ElmCheckbox.vue_vue_type_style_index_0_lang.module.mjs +0 -26
- package/dist/components/form/ElmSelect.mjs +0 -6
- package/dist/components/form/ElmSelect.stories.d.ts +0 -6
- package/dist/components/form/ElmSelect.vue.d.ts +0 -48
- package/dist/components/form/ElmSelect.vue_vue_type_script_setup_true_lang.mjs +0 -129
- package/dist/components/form/ElmSelect.vue_vue_type_style_index_0_lang.module.mjs +0 -34
- package/dist/components/form/ElmSwitch.mjs +0 -6
- package/dist/components/form/ElmSwitch.stories.d.ts +0 -6
- package/dist/components/form/ElmSwitch.vue.d.ts +0 -32
- package/dist/components/form/ElmSwitch.vue_vue_type_script_setup_true_lang.mjs +0 -49
- package/dist/components/form/ElmSwitch.vue_vue_type_style_index_0_lang.module.mjs +0 -24
- package/dist/components/form/ElmTextField.mjs +0 -6
- package/dist/components/form/ElmTextField.stories.d.ts +0 -7
- package/dist/components/form/ElmTextField.vue.d.ts +0 -33
- package/dist/components/form/ElmTextField.vue_vue_type_script_setup_true_lang.mjs +0 -143
- package/dist/components/form/ElmTextField.vue_vue_type_style_index_0_lang.module.mjs +0 -29
- package/dist/components/form/ElmValidation.mjs +0 -6
- package/dist/components/form/ElmValidation.stories.d.ts +0 -6
- package/dist/components/form/ElmValidation.vue.d.ts +0 -9
- package/dist/components/form/ElmValidation.vue_vue_type_script_setup_true_lang.mjs +0 -29
- package/dist/components/form/ElmValidation.vue_vue_type_style_index_0_lang.module.mjs +0 -16
- package/dist/components/icon/ElmArrowIcon.mjs +0 -6
- package/dist/components/icon/ElmArrowIcon.stories.d.ts +0 -6
- package/dist/components/icon/ElmArrowIcon.vue.d.ts +0 -26
- package/dist/components/icon/ElmArrowIcon.vue_vue_type_script_setup_true_lang.mjs +0 -34
- package/dist/components/icon/ElmArrowIcon.vue_vue_type_style_index_0_lang.module.mjs +0 -21
- package/dist/components/icon/ElmBookmarkIcon.mjs +0 -6
- package/dist/components/icon/ElmBookmarkIcon.stories.d.ts +0 -8
- package/dist/components/icon/ElmBookmarkIcon.vue.d.ts +0 -7
- package/dist/components/icon/ElmBookmarkIcon.vue_vue_type_script_setup_true_lang.mjs +0 -40
- package/dist/components/icon/ElmBookmarkIcon.vue_vue_type_style_index_0_lang.module.mjs +0 -20
- package/dist/components/icon/ElmCubeIcon.mjs +0 -6
- package/dist/components/icon/ElmCubeIcon.stories.d.ts +0 -6
- package/dist/components/icon/ElmCubeIcon.vue.d.ts +0 -10
- package/dist/components/icon/ElmCubeIcon.vue_vue_type_script_setup_true_lang.mjs +0 -53
- package/dist/components/icon/ElmCubeIcon.vue_vue_type_style_index_0_lang.module.mjs +0 -20
- package/dist/components/icon/ElmDotLoadingIcon.mjs +0 -6
- package/dist/components/icon/ElmDotLoadingIcon.stories.d.ts +0 -6
- package/dist/components/icon/ElmDotLoadingIcon.vue.d.ts +0 -18
- package/dist/components/icon/ElmDotLoadingIcon.vue_vue_type_script_setup_true_lang.mjs +0 -29
- package/dist/components/icon/ElmDotLoadingIcon.vue_vue_type_style_index_0_lang.module.mjs +0 -20
- package/dist/components/icon/ElmInlineIcon.mjs +0 -6
- package/dist/components/icon/ElmInlineIcon.stories.d.ts +0 -6
- package/dist/components/icon/ElmInlineIcon.vue.d.ts +0 -12
- package/dist/components/icon/ElmInlineIcon.vue_vue_type_script_setup_true_lang.mjs +0 -26
- package/dist/components/icon/ElmInlineIcon.vue_vue_type_style_index_0_lang.module.mjs +0 -16
- package/dist/components/icon/ElmLanguageIcon.mjs +0 -6
- package/dist/components/icon/ElmLanguageIcon.stories.d.ts +0 -6
- package/dist/components/icon/ElmLanguageIcon.vue.d.ts +0 -15
- package/dist/components/icon/ElmLanguageIcon.vue_vue_type_script_setup_true_lang.mjs +0 -130
- package/dist/components/icon/ElmLanguageIcon.vue_vue_type_style_index_0_lang.module.mjs +0 -16
- package/dist/components/icon/ElmLoginIcon.mjs +0 -6
- package/dist/components/icon/ElmLoginIcon.stories.d.ts +0 -6
- package/dist/components/icon/ElmLoginIcon.vue.d.ts +0 -18
- package/dist/components/icon/ElmLoginIcon.vue_vue_type_script_setup_true_lang.mjs +0 -35
- package/dist/components/icon/ElmLoginIcon.vue_vue_type_style_index_0_lang.module.mjs +0 -16
- package/dist/components/icon/ElmMdiIcon.mjs +0 -6
- package/dist/components/icon/ElmMdiIcon.stories.d.ts +0 -6
- package/dist/components/icon/ElmMdiIcon.vue.d.ts +0 -11
- package/dist/components/icon/ElmMdiIcon.vue_vue_type_script_setup_true_lang.mjs +0 -32
- package/dist/components/icon/ElmMdiIcon.vue_vue_type_style_index_0_lang.module.mjs +0 -16
- package/dist/components/icon/ElmSquareLoadingIcon.mjs +0 -6
- package/dist/components/icon/ElmSquareLoadingIcon.stories.d.ts +0 -6
- package/dist/components/icon/ElmSquareLoadingIcon.vue.d.ts +0 -10
- package/dist/components/icon/ElmSquareLoadingIcon.vue_vue_type_script_setup_true_lang.mjs +0 -32
- package/dist/components/icon/ElmSquareLoadingIcon.vue_vue_type_style_index_0_lang.module.mjs +0 -20
- package/dist/components/icon/ElmToggleTheme.mjs +0 -6
- package/dist/components/icon/ElmToggleTheme.stories.d.ts +0 -6
- package/dist/components/icon/ElmToggleTheme.vue.d.ts +0 -11
- package/dist/components/icon/ElmToggleTheme.vue_vue_type_script_setup_true_lang.mjs +0 -33
- package/dist/components/icon/ElmToggleTheme.vue_vue_type_style_index_0_lang.module.mjs +0 -16
- package/dist/components/icon/languages/Bash.mjs +0 -6
- package/dist/components/icon/languages/Bash.vue.d.ts +0 -7
- package/dist/components/icon/languages/Bash.vue_vue_type_script_setup_true_lang.mjs +0 -32
- package/dist/components/icon/languages/Bash.vue_vue_type_style_index_0_lang.module.mjs +0 -16
- package/dist/components/icon/languages/C.mjs +0 -5
- package/dist/components/icon/languages/C.vue.d.ts +0 -7
- package/dist/components/icon/languages/C.vue_vue_type_script_setup_true_lang.mjs +0 -32
- package/dist/components/icon/languages/Cplusplus.mjs +0 -5
- package/dist/components/icon/languages/Cplusplus.vue.d.ts +0 -7
- package/dist/components/icon/languages/Cplusplus.vue_vue_type_script_setup_true_lang.mjs +0 -36
- package/dist/components/icon/languages/Csharp.mjs +0 -5
- package/dist/components/icon/languages/Csharp.vue.d.ts +0 -7
- package/dist/components/icon/languages/Csharp.vue_vue_type_script_setup_true_lang.mjs +0 -32
- package/dist/components/icon/languages/Css.mjs +0 -5
- package/dist/components/icon/languages/Css.vue.d.ts +0 -7
- package/dist/components/icon/languages/Css.vue_vue_type_script_setup_true_lang.mjs +0 -22
- package/dist/components/icon/languages/Go.mjs +0 -5
- package/dist/components/icon/languages/Go.vue.d.ts +0 -7
- package/dist/components/icon/languages/Go.vue_vue_type_script_setup_true_lang.mjs +0 -25
- package/dist/components/icon/languages/Html.mjs +0 -5
- package/dist/components/icon/languages/Html.vue.d.ts +0 -7
- package/dist/components/icon/languages/Html.vue_vue_type_script_setup_true_lang.mjs +0 -36
- package/dist/components/icon/languages/Java.mjs +0 -5
- package/dist/components/icon/languages/Java.vue.d.ts +0 -7
- package/dist/components/icon/languages/Java.vue_vue_type_script_setup_true_lang.mjs +0 -19
- package/dist/components/icon/languages/Javascript.mjs +0 -5
- package/dist/components/icon/languages/Javascript.vue.d.ts +0 -7
- package/dist/components/icon/languages/Javascript.vue_vue_type_script_setup_true_lang.mjs +0 -25
- package/dist/components/icon/languages/Json.mjs +0 -5
- package/dist/components/icon/languages/Json.vue.d.ts +0 -7
- package/dist/components/icon/languages/Json.vue_vue_type_script_setup_true_lang.mjs +0 -19
- package/dist/components/icon/languages/Kotlin.mjs +0 -5
- package/dist/components/icon/languages/Kotlin.vue.d.ts +0 -7
- package/dist/components/icon/languages/Kotlin.vue_vue_type_script_setup_true_lang.mjs +0 -19
- package/dist/components/icon/languages/Lua.mjs +0 -5
- package/dist/components/icon/languages/Lua.vue.d.ts +0 -7
- package/dist/components/icon/languages/Lua.vue_vue_type_script_setup_true_lang.mjs +0 -32
- package/dist/components/icon/languages/Npm.mjs +0 -5
- package/dist/components/icon/languages/Npm.vue.d.ts +0 -7
- package/dist/components/icon/languages/Npm.vue_vue_type_script_setup_true_lang.mjs +0 -25
- package/dist/components/icon/languages/Python.mjs +0 -5
- package/dist/components/icon/languages/Python.vue.d.ts +0 -7
- package/dist/components/icon/languages/Python.vue_vue_type_script_setup_true_lang.mjs +0 -19
- package/dist/components/icon/languages/Rust.mjs +0 -5
- package/dist/components/icon/languages/Rust.vue.d.ts +0 -7
- package/dist/components/icon/languages/Rust.vue_vue_type_script_setup_true_lang.mjs +0 -20
- package/dist/components/icon/languages/Sql.mjs +0 -5
- package/dist/components/icon/languages/Sql.vue.d.ts +0 -7
- package/dist/components/icon/languages/Sql.vue_vue_type_script_setup_true_lang.mjs +0 -22
- package/dist/components/icon/languages/Terraform.mjs +0 -5
- package/dist/components/icon/languages/Terraform.vue.d.ts +0 -7
- package/dist/components/icon/languages/Terraform.vue_vue_type_script_setup_true_lang.mjs +0 -32
- package/dist/components/icon/languages/Typescript.mjs +0 -5
- package/dist/components/icon/languages/Typescript.vue.d.ts +0 -7
- package/dist/components/icon/languages/Typescript.vue_vue_type_script_setup_true_lang.mjs +0 -25
- package/dist/components/media/ElmFile.mjs +0 -6
- package/dist/components/media/ElmFile.stories.d.ts +0 -6
- package/dist/components/media/ElmFile.vue.d.ts +0 -21
- package/dist/components/media/ElmFile.vue_vue_type_script_setup_true_lang.mjs +0 -58
- package/dist/components/media/ElmFile.vue_vue_type_style_index_0_lang.module.mjs +0 -21
- package/dist/components/media/ElmImage.mjs +0 -6
- package/dist/components/media/ElmImage.stories.d.ts +0 -12
- package/dist/components/media/ElmImage.vue.d.ts +0 -29
- package/dist/components/media/ElmImage.vue_vue_type_script_setup_true_lang.mjs +0 -194
- package/dist/components/media/ElmImage.vue_vue_type_style_index_0_lang.module.mjs +0 -26
- package/dist/components/navigation/ElmBookmark.mjs +0 -6
- package/dist/components/navigation/ElmBookmark.stories.d.ts +0 -12
- package/dist/components/navigation/ElmBookmark.vue.d.ts +0 -53
- package/dist/components/navigation/ElmBookmark.vue_vue_type_script_setup_true_lang.mjs +0 -95
- package/dist/components/navigation/ElmBookmark.vue_vue_type_style_index_0_lang.module.mjs +0 -25
- package/dist/components/navigation/ElmBreadcrumb.mjs +0 -6
- package/dist/components/navigation/ElmBreadcrumb.stories.d.ts +0 -7
- package/dist/components/navigation/ElmBreadcrumb.vue.d.ts +0 -19
- package/dist/components/navigation/ElmBreadcrumb.vue_vue_type_script_setup_true_lang.mjs +0 -61
- package/dist/components/navigation/ElmBreadcrumb.vue_vue_type_style_index_0_lang.module.mjs +0 -20
- package/dist/components/navigation/ElmPagetop.mjs +0 -6
- package/dist/components/navigation/ElmPagetop.stories.d.ts +0 -6
- package/dist/components/navigation/ElmPagetop.vue.d.ts +0 -10
- package/dist/components/navigation/ElmPagetop.vue_vue_type_script_setup_true_lang.mjs +0 -48
- package/dist/components/navigation/ElmPagetop.vue_vue_type_style_index_0_lang.module.mjs +0 -22
- package/dist/components/navigation/ElmTableOfContents.mjs +0 -6
- package/dist/components/navigation/ElmTableOfContents.stories.d.ts +0 -7
- package/dist/components/navigation/ElmTableOfContents.vue.d.ts +0 -9
- package/dist/components/navigation/ElmTableOfContents.vue_vue_type_script_setup_true_lang.mjs +0 -35
- package/dist/components/navigation/ElmTableOfContents.vue_vue_type_style_index_0_lang.module.mjs +0 -19
- package/dist/components/others/ElmColorSample.mjs +0 -20
- package/dist/components/others/ElmColorSample.stories.d.ts +0 -6
- package/dist/components/others/ElmColorSample.vue.d.ts +0 -8
- package/dist/components/others/ElmColorSample.vue_vue_type_script_setup_true_lang.mjs +0 -57
- package/dist/components/others/ElmColorSample.vue_vue_type_style_index_0_lang.module.mjs +0 -19
- package/dist/components/others/ElmColorTable.mjs +0 -6
- package/dist/components/others/ElmColorTable.stories.d.ts +0 -6
- package/dist/components/others/ElmColorTable.vue.d.ts +0 -11
- package/dist/components/others/ElmColorTable.vue_vue_type_script_setup_true_lang.mjs +0 -36
- package/dist/components/others/ElmColorTable.vue_vue_type_style_index_0_lang.module.mjs +0 -20
- package/dist/components/others/ElmCommandPalette.mjs +0 -20
- package/dist/components/others/ElmCommandPalette.stories.d.ts +0 -6
- package/dist/components/others/ElmCommandPalette.vue.d.ts +0 -46
- package/dist/components/others/ElmCommandPalette.vue_vue_type_script_setup_true_lang.mjs +0 -155
- package/dist/components/others/ElmCommandPalette.vue_vue_type_style_index_0_lang.module.mjs +0 -27
- package/dist/components/others/ElmJsonComponentRenderer.mjs +0 -6
- package/dist/components/others/ElmJsonComponentRenderer.stories.d.ts +0 -25
- package/dist/components/others/ElmJsonComponentRenderer.vue.d.ts +0 -7
- package/dist/components/others/ElmJsonComponentRenderer.vue_vue_type_script_setup_true_lang.mjs +0 -184
- package/dist/components/others/ElmJsonComponentRenderer.vue_vue_type_style_index_0_lang.module.mjs +0 -20
- package/dist/components/others/ElmMarkdown.mjs +0 -6
- package/dist/components/others/ElmMarkdown.stories.d.ts +0 -7
- package/dist/components/others/ElmMarkdown.vue.d.ts +0 -5
- package/dist/components/others/ElmMarkdown.vue_vue_type_script_setup_true_lang.mjs +0 -137
- package/dist/components/others/ElmMarkdown.vue_vue_type_style_index_0_lang.module.mjs +0 -17
- package/dist/components/others/ElmTyping.stories.d.ts +0 -6
- package/dist/components/others/ElmTyping.vue.d.ts +0 -4
- package/dist/components/table/ElmTable.mjs +0 -6
- package/dist/components/table/ElmTable.stories.d.ts +0 -6
- package/dist/components/table/ElmTable.vue.d.ts +0 -46
- package/dist/components/table/ElmTable.vue_vue_type_script_setup_true_lang.mjs +0 -47
- package/dist/components/table/ElmTable.vue_vue_type_style_index_0_lang.module.mjs +0 -21
- package/dist/components/table/ElmTableBody.mjs +0 -5
- package/dist/components/table/ElmTableBody.vue.d.ts +0 -22
- package/dist/components/table/ElmTableBody.vue_vue_type_script_setup_true_lang.mjs +0 -13
- package/dist/components/table/ElmTableCell.mjs +0 -6
- package/dist/components/table/ElmTableCell.vue.d.ts +0 -33
- package/dist/components/table/ElmTableCell.vue_vue_type_script_setup_true_lang.mjs +0 -23
- package/dist/components/table/ElmTableCell.vue_vue_type_style_index_0_lang.module.mjs +0 -20
- package/dist/components/table/ElmTableHeader.mjs +0 -6
- package/dist/components/table/ElmTableHeader.vue.d.ts +0 -22
- package/dist/components/table/ElmTableHeader.vue_vue_type_script_setup_true_lang.mjs +0 -13
- package/dist/components/table/ElmTableHeader.vue_vue_type_style_index_0_lang.module.mjs +0 -16
- package/dist/components/table/ElmTableRow.mjs +0 -6
- package/dist/components/table/ElmTableRow.vue.d.ts +0 -22
- package/dist/components/table/ElmTableRow.vue_vue_type_script_setup_true_lang.mjs +0 -16
- package/dist/components/table/ElmTableRow.vue_vue_type_style_index_0_lang.module.mjs +0 -19
- package/dist/components/template/ElmTemplate.stories.d.ts +0 -6
- package/dist/components/template/ElmTemplate.vue.d.ts +0 -4
- package/dist/components/typography/ElmBlockQuote.mjs +0 -6
- package/dist/components/typography/ElmBlockQuote.stories.d.ts +0 -6
- package/dist/components/typography/ElmBlockQuote.vue.d.ts +0 -24
- package/dist/components/typography/ElmBlockQuote.vue_vue_type_script_setup_true_lang.mjs +0 -60
- package/dist/components/typography/ElmBlockQuote.vue_vue_type_style_index_0_lang.module.mjs +0 -20
- package/dist/components/typography/ElmCallout.mjs +0 -6
- package/dist/components/typography/ElmCallout.stories.d.ts +0 -11
- package/dist/components/typography/ElmCallout.vue.d.ts +0 -30
- package/dist/components/typography/ElmCallout.vue_vue_type_script_setup_true_lang.mjs +0 -61
- package/dist/components/typography/ElmCallout.vue_vue_type_style_index_0_lang.module.mjs +0 -19
- package/dist/components/typography/ElmDivider.mjs +0 -6
- package/dist/components/typography/ElmDivider.stories.d.ts +0 -6
- package/dist/components/typography/ElmDivider.vue.d.ts +0 -11
- package/dist/components/typography/ElmDivider.vue_vue_type_script_setup_true_lang.mjs +0 -27
- package/dist/components/typography/ElmDivider.vue_vue_type_style_index_0_lang.module.mjs +0 -16
- package/dist/components/typography/ElmFragmentIdentifier.mjs +0 -6
- package/dist/components/typography/ElmFragmentIdentifier.stories.d.ts +0 -6
- package/dist/components/typography/ElmFragmentIdentifier.vue.d.ts +0 -8
- package/dist/components/typography/ElmFragmentIdentifier.vue_vue_type_script_setup_true_lang.mjs +0 -23
- package/dist/components/typography/ElmFragmentIdentifier.vue_vue_type_style_index_0_lang.module.mjs +0 -16
- package/dist/components/typography/ElmHeading.mjs +0 -6
- package/dist/components/typography/ElmHeading.stories.d.ts +0 -7
- package/dist/components/typography/ElmHeading.vue.d.ts +0 -49
- package/dist/components/typography/ElmHeading.vue_vue_type_script_setup_true_lang.mjs +0 -94
- package/dist/components/typography/ElmHeading.vue_vue_type_style_index_0_lang.module.mjs +0 -25
- package/dist/components/typography/ElmInlineText.mjs +0 -6
- package/dist/components/typography/ElmInlineText.stories.d.ts +0 -12
- package/dist/components/typography/ElmInlineText.vue.d.ts +0 -85
- package/dist/components/typography/ElmInlineText.vue_vue_type_script_setup_true_lang.mjs +0 -111
- package/dist/components/typography/ElmInlineText.vue_vue_type_style_index_0_lang.module.mjs +0 -25
- package/dist/components/typography/ElmList.mjs +0 -19
- package/dist/components/typography/ElmList.stories.d.ts +0 -8
- package/dist/components/typography/ElmList.vue.d.ts +0 -31
- package/dist/components/typography/ElmList.vue_vue_type_script_setup_true_lang.mjs +0 -27
- package/dist/components/typography/ElmParagraph.mjs +0 -6
- package/dist/components/typography/ElmParagraph.stories.d.ts +0 -8
- package/dist/components/typography/ElmParagraph.vue.d.ts +0 -25
- package/dist/components/typography/ElmParagraph.vue_vue_type_script_setup_true_lang.mjs +0 -31
- package/dist/components/typography/ElmParagraph.vue_vue_type_style_index_0_lang.module.mjs +0 -16
- package/dist/components/typography/ElmTypingAnimation.mjs +0 -6
- package/dist/components/typography/ElmTypingAnimation.stories.d.ts +0 -6
- package/dist/components/typography/ElmTypingAnimation.vue.d.ts +0 -21
- package/dist/components/typography/ElmTypingAnimation.vue_vue_type_script_setup_true_lang.mjs +0 -42
- package/dist/components/typography/ElmTypingAnimation.vue_vue_type_style_index_0_lang.module.mjs +0 -20
- package/dist/hooks/useElmethisTheme.d.ts +0 -4
- package/dist/hooks/useElmethisTheme.mjs +0 -33
- package/dist/hooks/useTyping.d.ts +0 -17
- package/dist/hooks/useTyping.mjs +0 -42
- package/dist/index.d.ts +0 -126
- package/dist/index.mjs +0 -65
- package/dist/styles/heading.module.mjs +0 -16
- package/dist/styles/text.module.mjs +0 -16
- package/dist/styles/transition-fade.module.mjs +0 -28
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
export interface ElmTextFieldProps {
|
|
2
|
-
label: string;
|
|
3
|
-
maxLength?: number;
|
|
4
|
-
suffix?: string;
|
|
5
|
-
placeholder?: string;
|
|
6
|
-
disabled?: boolean;
|
|
7
|
-
loading?: boolean;
|
|
8
|
-
icon?: "text" | "pen" | "email" | "user" | "lock" | "key" | "earth" | "tag" | "archive" | "link" | "search";
|
|
9
|
-
isPassword?: boolean;
|
|
10
|
-
required?: boolean;
|
|
11
|
-
}
|
|
12
|
-
type __VLS_Props = ElmTextFieldProps;
|
|
13
|
-
declare const __VLS_defaults: {
|
|
14
|
-
modelValue: string;
|
|
15
|
-
};
|
|
16
|
-
type __VLS_PublicProps = {
|
|
17
|
-
modelValue?: typeof __VLS_defaults['modelValue'];
|
|
18
|
-
} & __VLS_Props;
|
|
19
|
-
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
|
|
20
|
-
focus: () => void;
|
|
21
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
22
|
-
"update:modelValue": (value: string) => any;
|
|
23
|
-
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
24
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
25
|
-
}>, {
|
|
26
|
-
required: boolean;
|
|
27
|
-
loading: boolean;
|
|
28
|
-
disabled: boolean;
|
|
29
|
-
isPassword: boolean;
|
|
30
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
31
|
-
target: HTMLInputElement;
|
|
32
|
-
}, HTMLDivElement>;
|
|
33
|
-
export default _default;
|
|
@@ -1,143 +0,0 @@
|
|
|
1
|
-
import ElmMdiIcon_default from "../icon/ElmMdiIcon.mjs";
|
|
2
|
-
import ElmInlineText_default from "../typography/ElmInlineText.mjs";
|
|
3
|
-
import { createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, mergeModels, normalizeClass, normalizeStyle, openBlock, ref, toDisplayString, unref, useModel, useTemplateRef, vModelDynamic, withDirectives } from "vue";
|
|
4
|
-
import { mdiAccount, mdiArchive, mdiBackspaceOutline, mdiEarth, mdiEmail, mdiEyeOffOutline, mdiEyeOutline, mdiKey, mdiLinkVariant, mdiLock, mdiMagnify, mdiPen, mdiTag, mdiText } from "@mdi/js";
|
|
5
|
-
import { nanoid } from "nanoid";
|
|
6
|
-
//#region src/components/form/ElmTextField.vue?vue&type=script&setup=true&lang.ts
|
|
7
|
-
var _hoisted_1 = ["for"];
|
|
8
|
-
var _hoisted_2 = [
|
|
9
|
-
"id",
|
|
10
|
-
"type",
|
|
11
|
-
"placeholder",
|
|
12
|
-
"disabled",
|
|
13
|
-
"aria-required"
|
|
14
|
-
];
|
|
15
|
-
var ElmTextField_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
16
|
-
__name: "ElmTextField",
|
|
17
|
-
props: /* @__PURE__ */ mergeModels({
|
|
18
|
-
label: {},
|
|
19
|
-
maxLength: {},
|
|
20
|
-
suffix: {},
|
|
21
|
-
placeholder: {},
|
|
22
|
-
disabled: {
|
|
23
|
-
type: Boolean,
|
|
24
|
-
default: false
|
|
25
|
-
},
|
|
26
|
-
loading: {
|
|
27
|
-
type: Boolean,
|
|
28
|
-
default: false
|
|
29
|
-
},
|
|
30
|
-
icon: {},
|
|
31
|
-
isPassword: {
|
|
32
|
-
type: Boolean,
|
|
33
|
-
default: false
|
|
34
|
-
},
|
|
35
|
-
required: {
|
|
36
|
-
type: Boolean,
|
|
37
|
-
default: false
|
|
38
|
-
}
|
|
39
|
-
}, {
|
|
40
|
-
"modelValue": { default: "" },
|
|
41
|
-
"modelModifiers": {}
|
|
42
|
-
}),
|
|
43
|
-
emits: ["update:modelValue"],
|
|
44
|
-
setup(__props, { expose: __expose }) {
|
|
45
|
-
const id = nanoid();
|
|
46
|
-
const isFocused = ref(false);
|
|
47
|
-
const props = __props;
|
|
48
|
-
const input = useModel(__props, "modelValue");
|
|
49
|
-
const type = ref(props.isPassword ? "password" : "text");
|
|
50
|
-
const handleDelete = () => {
|
|
51
|
-
if (!props.loading && !props.disabled) input.value = "";
|
|
52
|
-
};
|
|
53
|
-
const handleVisibleSwitch = () => {
|
|
54
|
-
if (!props.loading && !props.disabled) type.value = type.value === "text" ? "password" : "text";
|
|
55
|
-
};
|
|
56
|
-
const iconMap = {
|
|
57
|
-
text: mdiText,
|
|
58
|
-
pen: mdiPen,
|
|
59
|
-
email: mdiEmail,
|
|
60
|
-
user: mdiAccount,
|
|
61
|
-
lock: mdiLock,
|
|
62
|
-
key: mdiKey,
|
|
63
|
-
earth: mdiEarth,
|
|
64
|
-
tag: mdiTag,
|
|
65
|
-
archive: mdiArchive,
|
|
66
|
-
link: mdiLinkVariant,
|
|
67
|
-
search: mdiMagnify
|
|
68
|
-
};
|
|
69
|
-
const t = useTemplateRef("target");
|
|
70
|
-
__expose({ focus: () => {
|
|
71
|
-
t.value?.focus();
|
|
72
|
-
} });
|
|
73
|
-
return (_ctx, _cache) => {
|
|
74
|
-
return openBlock(), createElementBlock("div", {
|
|
75
|
-
class: normalizeClass([_ctx.$style.wrapper, { [_ctx.$style.active]: isFocused.value }]),
|
|
76
|
-
style: normalizeStyle({
|
|
77
|
-
backgroundColor: __props.disabled || __props.loading ? "rgba(0,0,0,0.15)" : void 0,
|
|
78
|
-
"--highlight-color": isFocused.value ? "#bfa056" : void 0
|
|
79
|
-
})
|
|
80
|
-
}, [
|
|
81
|
-
createElementVNode("div", { class: normalizeClass(_ctx.$style.header) }, [createElementVNode("label", {
|
|
82
|
-
for: unref(id),
|
|
83
|
-
class: normalizeClass(_ctx.$style.label)
|
|
84
|
-
}, [createElementVNode("span", null, toDisplayString(__props.label), 1), __props.required ? (openBlock(), createElementBlock("span", {
|
|
85
|
-
key: 0,
|
|
86
|
-
class: normalizeClass(_ctx.$style.requierd)
|
|
87
|
-
}, "*", 2)) : createCommentVNode("", true)], 10, _hoisted_1), __props.maxLength != null ? (openBlock(), createBlock(ElmInlineText_default, {
|
|
88
|
-
key: 0,
|
|
89
|
-
text: `${input.value.length} / ${__props.maxLength}`,
|
|
90
|
-
color: input.value.length > __props.maxLength ? "#c56565" : "gray",
|
|
91
|
-
size: "0.75rem"
|
|
92
|
-
}, null, 8, ["text", "color"])) : createCommentVNode("", true)], 2),
|
|
93
|
-
createElementVNode("div", { class: normalizeClass(_ctx.$style.body) }, [
|
|
94
|
-
__props.icon ? (openBlock(), createBlock(ElmMdiIcon_default, {
|
|
95
|
-
key: 0,
|
|
96
|
-
d: iconMap[__props.icon],
|
|
97
|
-
size: "1.5rem",
|
|
98
|
-
color: "gray"
|
|
99
|
-
}, null, 8, ["d"])) : createCommentVNode("", true),
|
|
100
|
-
withDirectives(createElementVNode("input", {
|
|
101
|
-
id: unref(id),
|
|
102
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => input.value = $event),
|
|
103
|
-
type: type.value,
|
|
104
|
-
class: normalizeClass(_ctx.$style.input),
|
|
105
|
-
placeholder: __props.placeholder,
|
|
106
|
-
onFocus: _cache[1] || (_cache[1] = ($event) => isFocused.value = true),
|
|
107
|
-
onBlur: _cache[2] || (_cache[2] = ($event) => isFocused.value = false),
|
|
108
|
-
disabled: __props.disabled || __props.loading,
|
|
109
|
-
style: normalizeStyle({ cursor: __props.disabled ? "not-allowed" : __props.loading ? "progress" : "auto" }),
|
|
110
|
-
"aria-required": __props.required,
|
|
111
|
-
ref: "target"
|
|
112
|
-
}, null, 46, _hoisted_2), [[vModelDynamic, input.value]]),
|
|
113
|
-
createElementVNode("div", { class: normalizeClass(_ctx.$style["icon-box"]) }, [
|
|
114
|
-
createElementVNode("span", { class: normalizeClass(_ctx.$style.suffix) }, [__props.suffix != null ? (openBlock(), createBlock(ElmInlineText_default, {
|
|
115
|
-
key: 0,
|
|
116
|
-
text: __props.suffix
|
|
117
|
-
}, null, 8, ["text"])) : createCommentVNode("", true)], 2),
|
|
118
|
-
createVNode(ElmMdiIcon_default, {
|
|
119
|
-
d: type.value === "text" ? unref(mdiEyeOutline) : unref(mdiEyeOffOutline),
|
|
120
|
-
size: "1.75em",
|
|
121
|
-
color: "gray",
|
|
122
|
-
class: normalizeClass(_ctx.$style.icon),
|
|
123
|
-
onClick: handleVisibleSwitch
|
|
124
|
-
}, null, 8, ["d", "class"]),
|
|
125
|
-
createVNode(ElmMdiIcon_default, {
|
|
126
|
-
d: unref(mdiBackspaceOutline),
|
|
127
|
-
size: "1.75em",
|
|
128
|
-
color: "gray",
|
|
129
|
-
class: normalizeClass(_ctx.$style.icon),
|
|
130
|
-
onClick: handleDelete
|
|
131
|
-
}, null, 8, ["d", "class"])
|
|
132
|
-
], 2)
|
|
133
|
-
], 2),
|
|
134
|
-
createElementVNode("div", {
|
|
135
|
-
class: normalizeClass(_ctx.$style.loading),
|
|
136
|
-
style: normalizeStyle({ opacity: __props.loading ? .2 : 0 })
|
|
137
|
-
}, null, 6)
|
|
138
|
-
], 6);
|
|
139
|
-
};
|
|
140
|
-
}
|
|
141
|
-
});
|
|
142
|
-
//#endregion
|
|
143
|
-
export { ElmTextField_vue_vue_type_script_setup_true_lang_default as default };
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
(function() {
|
|
2
|
-
//#region \0vite/all-css
|
|
3
|
-
try {
|
|
4
|
-
if (typeof document != "undefined") {
|
|
5
|
-
var elementStyle = document.createElement("style");
|
|
6
|
-
elementStyle.appendChild(document.createTextNode("@keyframes _loading_1yj0v_19{0%{transform-origin:0%;transform:scaleX(0)}40%{transform-origin:0%;transform:scaleX(1)}60%{transform-origin:100%;transform:scaleX(1)}to{transform-origin:100%;transform:scaleX(0)}}._loading_1yj0v_19{pointer-events:none;background-color:#6987b8;width:100%;height:100%;transition:opacity .2s;animation-name:_loading_1yj0v_19;animation-duration:1.6s;animation-iteration-count:infinite;position:absolute;top:0;left:0}._wrapper_1yj0v_33{box-sizing:border-box;background-color:#fffc;border:1px solid #0000;border-radius:.25rem;flex-direction:column;justify-content:space-between;width:100%;padding:.25rem;transition:border-color .2s,background-color .2s;display:flex;position:relative;overflow:hidden;box-shadow:0 0 .125rem #00000026}[data-theme=dark] ._wrapper_1yj0v_33{background-color:#ffffff26;box-shadow:0 0 .125rem #000000bf}._active_1yj0v_55{border-color:var(--highlight-color)}._header_1yj0v_59{box-sizing:border-box;justify-content:space-between;height:.75rem;padding:0 .25rem;display:flex}._label_1yj0v_67{vertical-align:top;color:var(--highlight-color,#000000a6);height:.75rem;margin:0;padding:0;font-size:.75rem;line-height:.75rem;transition:color .2s;display:inline}[data-theme=dark] ._label_1yj0v_67{color:var(--highlight-color,#ffffffa6)}._requierd_1yj0v_82{color:#c56565;padding-inline:.25rem;font-weight:700}._body_1yj0v_88{justify-content:space-between;align-items:center;padding-left:.25rem;padding-right:.25rem;display:flex}._left-icon_1yj0v_96{opacity:.7;justify-content:center;align-items:center;width:24px;height:24px;margin:auto .25rem;display:flex}[data-theme=dark] ._left-icon_1yj0v_96{filter:invert()}._input_1yj0v_109{all:unset;box-sizing:border-box;color:#000000b3;caret-color:#000000b3;width:100%;padding:.5rem}._input_1yj0v_109::placeholder{opacity:.5}[data-theme=dark] ._input_1yj0v_109::placeholder{opacity:.7}._input_1yj0v_109::selection{color:#ffffffb3;background-color:#000000b3}[data-theme=dark] ._input_1yj0v_109{color:#ffffffb3;caret-color:#ffffffb3}[data-theme=dark] ._input_1yj0v_109::selection{color:#000000b3;background-color:#ffffffb3}._icon-box_1yj0v_136{justify-content:space-between;align-items:center;display:flex}._icon_1yj0v_136{box-sizing:border-box;cursor:pointer;border-radius:.125em;padding:.25rem;transition:background-color .2s}._icon_1yj0v_136:hover{background-color:#80808033}._suffix_1yj0v_153{opacity:.6;-webkit-user-select:none;user-select:none;color:#000000a6;padding:0 .5rem;transition:color .2s}[data-theme=dark] ._suffix_1yj0v_153{color:#ffffffa6}"));
|
|
7
|
-
document.head.appendChild(elementStyle);
|
|
8
|
-
}
|
|
9
|
-
} catch (e) {
|
|
10
|
-
console.error("vite-plugin-css-injected-by-js", e);
|
|
11
|
-
}
|
|
12
|
-
//#endregion
|
|
13
|
-
})();
|
|
14
|
-
var ElmTextField_vue_vue_type_style_index_0_lang_module_default = {
|
|
15
|
-
loading: "_loading_1yj0v_19",
|
|
16
|
-
wrapper: "_wrapper_1yj0v_33",
|
|
17
|
-
active: "_active_1yj0v_55",
|
|
18
|
-
header: "_header_1yj0v_59",
|
|
19
|
-
label: "_label_1yj0v_67",
|
|
20
|
-
requierd: "_requierd_1yj0v_82",
|
|
21
|
-
body: "_body_1yj0v_88",
|
|
22
|
-
"left-icon": "_left-icon_1yj0v_96",
|
|
23
|
-
input: "_input_1yj0v_109",
|
|
24
|
-
"icon-box": "_icon-box_1yj0v_136",
|
|
25
|
-
icon: "_icon_1yj0v_136",
|
|
26
|
-
suffix: "_suffix_1yj0v_153"
|
|
27
|
-
};
|
|
28
|
-
//#endregion
|
|
29
|
-
export { ElmTextField_vue_vue_type_style_index_0_lang_module_default as default };
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import _plugin_vue_export_helper_default from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
2
|
-
import ElmValidation_vue_vue_type_script_setup_true_lang_default from "./ElmValidation.vue_vue_type_script_setup_true_lang.mjs";
|
|
3
|
-
import ElmValidation_vue_vue_type_style_index_0_lang_module_default from "./ElmValidation.vue_vue_type_style_index_0_lang.module.mjs";
|
|
4
|
-
var ElmValidation_default = /* @__PURE__ */ _plugin_vue_export_helper_default(ElmValidation_vue_vue_type_script_setup_true_lang_default, [["__cssModules", { "$style": ElmValidation_vue_vue_type_style_index_0_lang_module_default }]]);
|
|
5
|
-
//#endregion
|
|
6
|
-
export { ElmValidation_default as default };
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/vue3-vite';
|
|
2
|
-
import { default as ElmValidation } from './ElmValidation.vue';
|
|
3
|
-
declare const meta: Meta<typeof ElmValidation>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof meta>;
|
|
6
|
-
export declare const Primary: Story;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export interface ElmValidationProps {
|
|
2
|
-
text: string;
|
|
3
|
-
validColor?: string;
|
|
4
|
-
isValid: boolean;
|
|
5
|
-
}
|
|
6
|
-
declare const _default: import('vue').DefineComponent<ElmValidationProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ElmValidationProps> & Readonly<{}>, {
|
|
7
|
-
validColor: string;
|
|
8
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
9
|
-
export default _default;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import ElmMdiIcon_default from "../icon/ElmMdiIcon.mjs";
|
|
2
|
-
import ElmInlineText_default from "../typography/ElmInlineText.mjs";
|
|
3
|
-
import { createElementBlock, createVNode, defineComponent, normalizeClass, normalizeStyle, openBlock, unref } from "vue";
|
|
4
|
-
import { mdiCheckCircle, mdiCheckCircleOutline } from "@mdi/js";
|
|
5
|
-
//#region src/components/form/ElmValidation.vue?vue&type=script&setup=true&lang.ts
|
|
6
|
-
var ElmValidation_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
7
|
-
__name: "ElmValidation",
|
|
8
|
-
props: {
|
|
9
|
-
text: {},
|
|
10
|
-
validColor: { default: "#449763" },
|
|
11
|
-
isValid: { type: Boolean }
|
|
12
|
-
},
|
|
13
|
-
setup(__props) {
|
|
14
|
-
return (_ctx, _cache) => {
|
|
15
|
-
return openBlock(), createElementBlock("div", {
|
|
16
|
-
class: normalizeClass(_ctx.$style.validation),
|
|
17
|
-
style: normalizeStyle({ "--opacity": __props.isValid ? 1 : .5 })
|
|
18
|
-
}, [createVNode(ElmMdiIcon_default, {
|
|
19
|
-
d: __props.isValid ? unref(mdiCheckCircle) : unref(mdiCheckCircleOutline),
|
|
20
|
-
color: __props.isValid ? __props.validColor : void 0
|
|
21
|
-
}, null, 8, ["d", "color"]), createVNode(ElmInlineText_default, {
|
|
22
|
-
text: __props.text,
|
|
23
|
-
color: __props.isValid ? __props.validColor : void 0
|
|
24
|
-
}, null, 8, ["text", "color"])], 6);
|
|
25
|
-
};
|
|
26
|
-
}
|
|
27
|
-
});
|
|
28
|
-
//#endregion
|
|
29
|
-
export { ElmValidation_vue_vue_type_script_setup_true_lang_default as default };
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
(function() {
|
|
2
|
-
//#region \0vite/all-css
|
|
3
|
-
try {
|
|
4
|
-
if (typeof document != "undefined") {
|
|
5
|
-
var elementStyle = document.createElement("style");
|
|
6
|
-
elementStyle.appendChild(document.createTextNode("._validation_r3xix_1{opacity:var(--opacity);justify-content:flex-start;align-items:center;gap:.5rem;padding:.125rem 0;transition:opacity .25s;display:flex}"));
|
|
7
|
-
document.head.appendChild(elementStyle);
|
|
8
|
-
}
|
|
9
|
-
} catch (e) {
|
|
10
|
-
console.error("vite-plugin-css-injected-by-js", e);
|
|
11
|
-
}
|
|
12
|
-
//#endregion
|
|
13
|
-
})();
|
|
14
|
-
var ElmValidation_vue_vue_type_style_index_0_lang_module_default = { validation: "_validation_r3xix_1" };
|
|
15
|
-
//#endregion
|
|
16
|
-
export { ElmValidation_vue_vue_type_style_index_0_lang_module_default as default };
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import _plugin_vue_export_helper_default from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
2
|
-
import ElmArrowIcon_vue_vue_type_script_setup_true_lang_default from "./ElmArrowIcon.vue_vue_type_script_setup_true_lang.mjs";
|
|
3
|
-
import ElmArrowIcon_vue_vue_type_style_index_0_lang_module_default from "./ElmArrowIcon.vue_vue_type_style_index_0_lang.module.mjs";
|
|
4
|
-
var ElmArrowIcon_default = /* @__PURE__ */ _plugin_vue_export_helper_default(ElmArrowIcon_vue_vue_type_script_setup_true_lang_default, [["__cssModules", { "$style": ElmArrowIcon_vue_vue_type_style_index_0_lang_module_default }]]);
|
|
5
|
-
//#endregion
|
|
6
|
-
export { ElmArrowIcon_default as default };
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { Property } from 'csstype';
|
|
2
|
-
export interface ElmArrowIconProps {
|
|
3
|
-
/**
|
|
4
|
-
* Specifies the direction of the arrow.
|
|
5
|
-
*/
|
|
6
|
-
direction?: "up" | "down" | "left" | "right";
|
|
7
|
-
/**
|
|
8
|
-
* Specifies whether the arrow is in loading state.
|
|
9
|
-
*/
|
|
10
|
-
loading?: boolean;
|
|
11
|
-
/**
|
|
12
|
-
* Specifies whether the arrow is in pending state.
|
|
13
|
-
*/
|
|
14
|
-
pending?: boolean;
|
|
15
|
-
/**
|
|
16
|
-
* Specifies the size of the arrow.
|
|
17
|
-
*/
|
|
18
|
-
size?: Property.Height;
|
|
19
|
-
}
|
|
20
|
-
declare const _default: import('vue').DefineComponent<ElmArrowIconProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ElmArrowIconProps> & Readonly<{}>, {
|
|
21
|
-
size: Property.Height;
|
|
22
|
-
loading: boolean;
|
|
23
|
-
pending: boolean;
|
|
24
|
-
direction: "up" | "down" | "left" | "right";
|
|
25
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
26
|
-
export default _default;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { createElementBlock, defineComponent, normalizeClass, normalizeStyle, openBlock } from "vue";
|
|
2
|
-
//#region src/components/icon/ElmArrowIcon.vue?vue&type=script&setup=true&lang.ts
|
|
3
|
-
var ElmArrowIcon_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
4
|
-
__name: "ElmArrowIcon",
|
|
5
|
-
props: {
|
|
6
|
-
direction: { default: "right" },
|
|
7
|
-
loading: {
|
|
8
|
-
type: Boolean,
|
|
9
|
-
default: false
|
|
10
|
-
},
|
|
11
|
-
pending: {
|
|
12
|
-
type: Boolean,
|
|
13
|
-
default: false
|
|
14
|
-
},
|
|
15
|
-
size: { default: "2rem" }
|
|
16
|
-
},
|
|
17
|
-
setup(__props) {
|
|
18
|
-
return (_ctx, _cache) => {
|
|
19
|
-
return openBlock(), createElementBlock("div", {
|
|
20
|
-
class: normalizeClass([_ctx.$style.arrow, {
|
|
21
|
-
[_ctx.$style.normal]: !__props.loading && !__props.pending,
|
|
22
|
-
[_ctx.$style.loading]: __props.loading,
|
|
23
|
-
[_ctx.$style.pending]: !__props.loading && __props.pending
|
|
24
|
-
}]),
|
|
25
|
-
style: normalizeStyle({
|
|
26
|
-
"--size": __props.size,
|
|
27
|
-
transform: __props.direction === "up" ? "rotate(270deg)" : __props.direction === "down" ? "rotate(90deg)" : __props.direction === "left" ? "rotate(180deg)" : "rotate(0deg)"
|
|
28
|
-
})
|
|
29
|
-
}, null, 6);
|
|
30
|
-
};
|
|
31
|
-
}
|
|
32
|
-
});
|
|
33
|
-
//#endregion
|
|
34
|
-
export { ElmArrowIcon_vue_vue_type_script_setup_true_lang_default as default };
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
(function() {
|
|
2
|
-
//#region \0vite/all-css
|
|
3
|
-
try {
|
|
4
|
-
if (typeof document != "undefined") {
|
|
5
|
-
var elementStyle = document.createElement("style");
|
|
6
|
-
elementStyle.appendChild(document.createTextNode("@keyframes _loading_hcczr_27{0%{background-position:200% 0}33%{background-position:100% 0}66%{background-position:100% 0}to{background-position:0 0}}._arrow_hcczr_15{width:var(--size);height:var(--size);clip-path:polygon(50% 33%,0% 33%,0% 66%,50% 66%,50% 100%,100% 50%,50% 0%);background:linear-gradient(90deg,#000000b3 0 50%,#0003 50%) 0 0/200% 100%}[data-theme=dark] ._arrow_hcczr_15{background:linear-gradient(90deg,#ffffffb3 0 50%,#fff3 50%) 0 0/200% 100%}._loading_hcczr_27{animation-name:_loading_hcczr_27;animation-duration:1.6s;animation-iteration-count:infinite}._normal_hcczr_33{background:#000000b3;transition:background .4s}[data-theme=dark] ._normal_hcczr_33{background:#ffffffb3}._pending_hcczr_41{background:#0003;transition:background .4s}[data-theme=dark] ._pending_hcczr_41{background:#fff3}"));
|
|
7
|
-
document.head.appendChild(elementStyle);
|
|
8
|
-
}
|
|
9
|
-
} catch (e) {
|
|
10
|
-
console.error("vite-plugin-css-injected-by-js", e);
|
|
11
|
-
}
|
|
12
|
-
//#endregion
|
|
13
|
-
})();
|
|
14
|
-
var ElmArrowIcon_vue_vue_type_style_index_0_lang_module_default = {
|
|
15
|
-
arrow: "_arrow_hcczr_15",
|
|
16
|
-
loading: "_loading_hcczr_27",
|
|
17
|
-
normal: "_normal_hcczr_33",
|
|
18
|
-
pending: "_pending_hcczr_41"
|
|
19
|
-
};
|
|
20
|
-
//#endregion
|
|
21
|
-
export { ElmArrowIcon_vue_vue_type_style_index_0_lang_module_default as default };
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import _plugin_vue_export_helper_default from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
2
|
-
import ElmBookmarkIcon_vue_vue_type_script_setup_true_lang_default from "./ElmBookmarkIcon.vue_vue_type_script_setup_true_lang.mjs";
|
|
3
|
-
import ElmBookmarkIcon_vue_vue_type_style_index_0_lang_module_default from "./ElmBookmarkIcon.vue_vue_type_style_index_0_lang.module.mjs";
|
|
4
|
-
var ElmBookmarkIcon_default = /* @__PURE__ */ _plugin_vue_export_helper_default(ElmBookmarkIcon_vue_vue_type_script_setup_true_lang_default, [["__cssModules", { "$style": ElmBookmarkIcon_vue_vue_type_style_index_0_lang_module_default }]]);
|
|
5
|
-
//#endregion
|
|
6
|
-
export { ElmBookmarkIcon_default as default };
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/vue3-vite';
|
|
2
|
-
import { default as ElmBookmarkIcon } from './ElmBookmarkIcon.vue';
|
|
3
|
-
declare const meta: Meta<typeof ElmBookmarkIcon>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof meta>;
|
|
6
|
-
export declare const Primary: Story;
|
|
7
|
-
export declare const Long: Story;
|
|
8
|
-
export declare const NoFavicon: Story;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export interface ElmBookmarkIconProps {
|
|
2
|
-
name?: string;
|
|
3
|
-
href: string;
|
|
4
|
-
favicon?: string;
|
|
5
|
-
}
|
|
6
|
-
declare const _default: import('vue').DefineComponent<ElmBookmarkIconProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ElmBookmarkIconProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLAnchorElement>;
|
|
7
|
-
export default _default;
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import ElmMdiIcon_default from "./ElmMdiIcon.mjs";
|
|
2
|
-
import ElmInlineText_default from "../typography/ElmInlineText.mjs";
|
|
3
|
-
import { createBlock, createElementBlock, createElementVNode, createVNode, defineComponent, normalizeClass, openBlock, unref } from "vue";
|
|
4
|
-
import { mdiEarth } from "@mdi/js";
|
|
5
|
-
//#region src/components/icon/ElmBookmarkIcon.vue?vue&type=script&setup=true&lang.ts
|
|
6
|
-
var _hoisted_1 = ["href"];
|
|
7
|
-
var _hoisted_2 = ["src", "alt"];
|
|
8
|
-
var ElmBookmarkIcon_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
9
|
-
__name: "ElmBookmarkIcon",
|
|
10
|
-
props: {
|
|
11
|
-
name: {},
|
|
12
|
-
href: {},
|
|
13
|
-
favicon: {}
|
|
14
|
-
},
|
|
15
|
-
setup(__props) {
|
|
16
|
-
return (_ctx, _cache) => {
|
|
17
|
-
return openBlock(), createElementBlock("a", {
|
|
18
|
-
class: normalizeClass(_ctx.$style.wrapper),
|
|
19
|
-
href: __props.href,
|
|
20
|
-
target: "_blank",
|
|
21
|
-
rel: "noopener noreferrer"
|
|
22
|
-
}, [__props.favicon != null ? (openBlock(), createElementBlock("img", {
|
|
23
|
-
key: 0,
|
|
24
|
-
class: normalizeClass(_ctx.$style.favicon),
|
|
25
|
-
src: __props.favicon,
|
|
26
|
-
alt: `favicon of ${__props.name ?? __props.href}`
|
|
27
|
-
}, null, 10, _hoisted_2)) : (openBlock(), createBlock(ElmMdiIcon_default, {
|
|
28
|
-
key: 1,
|
|
29
|
-
d: unref(mdiEarth),
|
|
30
|
-
size: "2.5rem",
|
|
31
|
-
style: { "opacity": "0.7" }
|
|
32
|
-
}, null, 8, ["d"])), createElementVNode("div", { class: normalizeClass(_ctx.$style.text) }, [createVNode(ElmInlineText_default, {
|
|
33
|
-
text: __props.name ?? __props.href,
|
|
34
|
-
size: ".6rem"
|
|
35
|
-
}, null, 8, ["text"])], 2)], 10, _hoisted_1);
|
|
36
|
-
};
|
|
37
|
-
}
|
|
38
|
-
});
|
|
39
|
-
//#endregion
|
|
40
|
-
export { ElmBookmarkIcon_vue_vue_type_script_setup_true_lang_default as default };
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
(function() {
|
|
2
|
-
//#region \0vite/all-css
|
|
3
|
-
try {
|
|
4
|
-
if (typeof document != "undefined") {
|
|
5
|
-
var elementStyle = document.createElement("style");
|
|
6
|
-
elementStyle.appendChild(document.createTextNode("._wrapper_1djyj_1{all:unset;box-sizing:border-box;cursor:pointer;border-radius:.25rem;flex-direction:column;justify-content:space-around;align-items:center;width:5rem;height:5.5rem;padding:.5rem;transition:background-color .1s;display:flex}._wrapper_1djyj_1:hover{background-color:#0000001a}[data-theme=dark] ._wrapper_1djyj_1:hover{background-color:#ffffff1a}._favicon_1djyj_22{width:2.5rem;height:2.5rem}._text_1djyj_27{text-align:center;vertical-align:middle;text-overflow:ellipsis;width:4rem;line-height:.75rem;overflow:hidden}"));
|
|
7
|
-
document.head.appendChild(elementStyle);
|
|
8
|
-
}
|
|
9
|
-
} catch (e) {
|
|
10
|
-
console.error("vite-plugin-css-injected-by-js", e);
|
|
11
|
-
}
|
|
12
|
-
//#endregion
|
|
13
|
-
})();
|
|
14
|
-
var ElmBookmarkIcon_vue_vue_type_style_index_0_lang_module_default = {
|
|
15
|
-
wrapper: "_wrapper_1djyj_1",
|
|
16
|
-
favicon: "_favicon_1djyj_22",
|
|
17
|
-
text: "_text_1djyj_27"
|
|
18
|
-
};
|
|
19
|
-
//#endregion
|
|
20
|
-
export { ElmBookmarkIcon_vue_vue_type_style_index_0_lang_module_default as default };
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import _plugin_vue_export_helper_default from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
2
|
-
import ElmCubeIcon_vue_vue_type_script_setup_true_lang_default from "./ElmCubeIcon.vue_vue_type_script_setup_true_lang.mjs";
|
|
3
|
-
import ElmCubeIcon_vue_vue_type_style_index_0_lang_module_default from "./ElmCubeIcon.vue_vue_type_style_index_0_lang.module.mjs";
|
|
4
|
-
var ElmCubeIcon_default = /* @__PURE__ */ _plugin_vue_export_helper_default(ElmCubeIcon_vue_vue_type_script_setup_true_lang_default, [["__cssModules", { "$style": ElmCubeIcon_vue_vue_type_style_index_0_lang_module_default }]]);
|
|
5
|
-
//#endregion
|
|
6
|
-
export { ElmCubeIcon_default as default };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export interface ElmCubeIconProps {
|
|
2
|
-
/**
|
|
3
|
-
* The size of the cube [px]
|
|
4
|
-
*/
|
|
5
|
-
size?: number;
|
|
6
|
-
}
|
|
7
|
-
declare const _default: import('vue').DefineComponent<ElmCubeIconProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ElmCubeIconProps> & Readonly<{}>, {
|
|
8
|
-
size: number;
|
|
9
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
10
|
-
export default _default;
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { Fragment, computed, createElementBlock, createElementVNode, defineComponent, normalizeClass, normalizeStyle, openBlock, renderList } from "vue";
|
|
2
|
-
//#region src/components/icon/ElmCubeIcon.vue?vue&type=script&setup=true&lang.ts
|
|
3
|
-
var ElmCubeIcon_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
4
|
-
__name: "ElmCubeIcon",
|
|
5
|
-
props: { size: { default: 128 } },
|
|
6
|
-
setup(__props) {
|
|
7
|
-
const props = __props;
|
|
8
|
-
const commonTranslateZ = computed(() => `translateZ(${props.size / 2}px)`);
|
|
9
|
-
const faces = [
|
|
10
|
-
{
|
|
11
|
-
name: "front",
|
|
12
|
-
rotate: ""
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
name: "back",
|
|
16
|
-
rotate: "rotateY(180deg)"
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
name: "left",
|
|
20
|
-
rotate: "rotateY(-90deg)"
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
name: "right",
|
|
24
|
-
rotate: "rotateY(90deg)"
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
name: "top",
|
|
28
|
-
rotate: "rotateX(90deg)"
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
name: "bottom",
|
|
32
|
-
rotate: "rotateX(-90deg)"
|
|
33
|
-
}
|
|
34
|
-
];
|
|
35
|
-
return (_ctx, _cache) => {
|
|
36
|
-
return openBlock(), createElementBlock("div", {
|
|
37
|
-
class: normalizeClass(_ctx.$style.cube),
|
|
38
|
-
style: normalizeStyle({
|
|
39
|
-
width: `${__props.size}px`,
|
|
40
|
-
height: `${__props.size}px`
|
|
41
|
-
})
|
|
42
|
-
}, [(openBlock(), createElementBlock(Fragment, null, renderList(faces, (face) => {
|
|
43
|
-
return createElementVNode("div", {
|
|
44
|
-
key: face.name,
|
|
45
|
-
class: normalizeClass(_ctx.$style.face),
|
|
46
|
-
style: normalizeStyle({ transform: `${face.rotate} ${commonTranslateZ.value}` })
|
|
47
|
-
}, null, 6);
|
|
48
|
-
}), 64))], 6);
|
|
49
|
-
};
|
|
50
|
-
}
|
|
51
|
-
});
|
|
52
|
-
//#endregion
|
|
53
|
-
export { ElmCubeIcon_vue_vue_type_script_setup_true_lang_default as default };
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
(function() {
|
|
2
|
-
//#region \0vite/all-css
|
|
3
|
-
try {
|
|
4
|
-
if (typeof document != "undefined") {
|
|
5
|
-
var elementStyle = document.createElement("style");
|
|
6
|
-
elementStyle.appendChild(document.createTextNode("._cube_oh6hr_1{transform-style:preserve-3d;animation:1.5s linear infinite _elmethis-cube-icon-rotate_oh6hr_1;position:relative;transform:rotateX(-30deg)rotateY(-45deg)}._face_oh6hr_8{backface-visibility:hidden;-webkit-user-select:none;user-select:none;background-color:#fff3;border:1px solid #000000b3;border-radius:2px;justify-content:center;align-items:center;width:100%;height:100%;font-weight:700;display:flex;position:absolute}[data-theme=dark] ._face_oh6hr_8{background-color:#0003;border-color:#ffffffb3}@keyframes _elmethis-cube-icon-rotate_oh6hr_1{0%{transform:rotateX(-30deg)rotateY(-45deg)rotate(0)}to{transform:rotateX(-30deg)rotateY(315deg)rotate(360deg)}}"));
|
|
7
|
-
document.head.appendChild(elementStyle);
|
|
8
|
-
}
|
|
9
|
-
} catch (e) {
|
|
10
|
-
console.error("vite-plugin-css-injected-by-js", e);
|
|
11
|
-
}
|
|
12
|
-
//#endregion
|
|
13
|
-
})();
|
|
14
|
-
var ElmCubeIcon_vue_vue_type_style_index_0_lang_module_default = {
|
|
15
|
-
cube: "_cube_oh6hr_1",
|
|
16
|
-
"elmethis-cube-icon-rotate": "_elmethis-cube-icon-rotate_oh6hr_1",
|
|
17
|
-
face: "_face_oh6hr_8"
|
|
18
|
-
};
|
|
19
|
-
//#endregion
|
|
20
|
-
export { ElmCubeIcon_vue_vue_type_style_index_0_lang_module_default as default };
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import _plugin_vue_export_helper_default from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
2
|
-
import ElmDotLoadingIcon_vue_vue_type_script_setup_true_lang_default from "./ElmDotLoadingIcon.vue_vue_type_script_setup_true_lang.mjs";
|
|
3
|
-
import ElmDotLoadingIcon_vue_vue_type_style_index_0_lang_module_default from "./ElmDotLoadingIcon.vue_vue_type_style_index_0_lang.module.mjs";
|
|
4
|
-
var ElmDotLoadingIcon_default = /* @__PURE__ */ _plugin_vue_export_helper_default(ElmDotLoadingIcon_vue_vue_type_script_setup_true_lang_default, [["__cssModules", { "$style": ElmDotLoadingIcon_vue_vue_type_style_index_0_lang_module_default }]]);
|
|
5
|
-
//#endregion
|
|
6
|
-
export { ElmDotLoadingIcon_default as default };
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/vue3-vite';
|
|
2
|
-
import { default as ElmDotLoadingIcon } from './ElmDotLoadingIcon.vue';
|
|
3
|
-
declare const meta: Meta<typeof ElmDotLoadingIcon>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof meta>;
|
|
6
|
-
export declare const Primary: Story;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { Property } from 'csstype';
|
|
2
|
-
export interface ElmDotLoadingIconProps {
|
|
3
|
-
/**
|
|
4
|
-
* Specifies the color of the dot.
|
|
5
|
-
*
|
|
6
|
-
* e.g.) `'red'`, `'#ff0000'`, `'rgba(255, 0, 0, 0.5)'`
|
|
7
|
-
*/
|
|
8
|
-
color?: Property.BackgroundColor;
|
|
9
|
-
/**
|
|
10
|
-
* Specifies the size of the dot.
|
|
11
|
-
*/
|
|
12
|
-
size?: Property.Width<string | number>;
|
|
13
|
-
}
|
|
14
|
-
declare const _default: import('vue').DefineComponent<ElmDotLoadingIconProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ElmDotLoadingIconProps> & Readonly<{}>, {
|
|
15
|
-
size: Property.Width<string | number>;
|
|
16
|
-
color: Property.BackgroundColor;
|
|
17
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
18
|
-
export default _default;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { Fragment, createElementBlock, createElementVNode, defineComponent, normalizeClass, normalizeStyle, openBlock, renderList } from "vue";
|
|
2
|
-
//#region src/components/icon/ElmDotLoadingIcon.vue?vue&type=script&setup=true&lang.ts
|
|
3
|
-
var ElmDotLoadingIcon_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
4
|
-
__name: "ElmDotLoadingIcon",
|
|
5
|
-
props: {
|
|
6
|
-
color: { default: void 0 },
|
|
7
|
-
size: { default: "64px" }
|
|
8
|
-
},
|
|
9
|
-
setup(__props) {
|
|
10
|
-
return (_ctx, _cache) => {
|
|
11
|
-
return openBlock(), createElementBlock("div", {
|
|
12
|
-
class: normalizeClass(_ctx.$style.wrapper),
|
|
13
|
-
style: normalizeStyle({
|
|
14
|
-
width: __props.size,
|
|
15
|
-
height: __props.size
|
|
16
|
-
})
|
|
17
|
-
}, [(openBlock(), createElementBlock(Fragment, null, renderList(3, (n) => {
|
|
18
|
-
return createElementVNode("div", {
|
|
19
|
-
class: normalizeClass(_ctx.$style.dot),
|
|
20
|
-
"aria-hidden": "",
|
|
21
|
-
key: n,
|
|
22
|
-
style: normalizeStyle({ backgroundColor: __props.color })
|
|
23
|
-
}, null, 6);
|
|
24
|
-
}), 64))], 6);
|
|
25
|
-
};
|
|
26
|
-
}
|
|
27
|
-
});
|
|
28
|
-
//#endregion
|
|
29
|
-
export { ElmDotLoadingIcon_vue_vue_type_script_setup_true_lang_default as default };
|