@elmethis/core 1.0.0-alpha.191 → 1.0.0-alpha.193
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/components/code/ElmCodeBlock.vue.mjs +2 -2
- package/dist/components/code/ElmCodeBlock.vue2.mjs +18 -11
- package/dist/components/code/ElmCodeBlock.vue3.mjs +11 -13
- package/dist/components/containments/ElmSnackbar.vue2.mjs +6 -4
- package/dist/components/containments/ElmSnackbar.vue3.mjs +4 -4
- package/dist/components/containments/ElmToggle.vue.mjs +2 -2
- package/dist/components/containments/ElmToggle.vue2.mjs +21 -25
- package/dist/components/containments/ElmToggle.vue3.mjs +8 -7
- package/dist/components/data/ElmStatusMessage.vue.mjs +2 -2
- package/dist/components/data/ElmStatusMessage.vue2.mjs +22 -21
- package/dist/components/data/ElmStatusMessage.vue3.mjs +3 -6
- package/dist/components/form/ElmSwitch.vue.d.ts +1 -1
- package/dist/components/form/ElmTextField.vue.d.ts +2 -2
- package/dist/components/form/ElmTextField.vue2.mjs +25 -13
- package/dist/components/form/ElmTextField.vue3.mjs +12 -12
- package/dist/components/icon/ElmBookmarkIcon.vue2.mjs +7 -5
- package/dist/components/icon/ElmBookmarkIcon.vue3.mjs +4 -5
- package/dist/components/icon/ElmDotLoadingIcon.vue.d.ts +1 -1
- package/dist/components/icon/ElmLanguageIcon.vue.mjs +2 -2
- package/dist/components/icon/ElmLanguageIcon.vue2.mjs +139 -85
- package/dist/components/icon/ElmLanguageIcon.vue3.mjs +4 -7
- package/dist/components/icon/ElmLoginIcon.vue2.mjs +8 -9
- package/dist/components/icon/ElmLoginIcon.vue3.mjs +2 -2
- package/dist/components/{badge/ElmBadge.stories.d.ts → icon/ElmMdiIcon.stories.d.ts} +2 -2
- package/dist/components/icon/ElmMdiIcon.vue.d.ts +11 -0
- package/dist/components/icon/ElmMdiIcon.vue.mjs +10 -0
- package/dist/components/icon/ElmMdiIcon.vue2.mjs +34 -0
- package/dist/components/icon/ElmMdiIcon.vue3.mjs +20 -0
- package/dist/components/icon/ElmToggleTheme.vue2.mjs +22 -11
- package/dist/components/icon/languages/Bash.vue.d.ts +6 -1
- package/dist/components/icon/languages/Bash.vue.mjs +3 -24
- package/dist/components/icon/languages/Bash.vue2.mjs +31 -17
- package/dist/components/icon/languages/Bash.vue3.mjs +20 -0
- package/dist/components/icon/languages/C.vue.d.ts +7 -0
- package/dist/components/icon/languages/C.vue.mjs +4 -0
- package/dist/components/icon/languages/C.vue2.mjs +34 -0
- package/dist/components/icon/languages/Cplusplus.vue.d.ts +7 -0
- package/dist/components/icon/languages/Cplusplus.vue.mjs +4 -0
- package/dist/components/icon/languages/Cplusplus.vue2.mjs +38 -0
- package/dist/components/icon/languages/Csharp.vue.d.ts +7 -0
- package/dist/components/icon/languages/Csharp.vue.mjs +4 -0
- package/dist/components/icon/languages/Csharp.vue2.mjs +34 -0
- package/dist/components/icon/languages/Css.vue.d.ts +6 -1
- package/dist/components/icon/languages/Css.vue.mjs +2 -17
- package/dist/components/icon/languages/Css.vue2.mjs +26 -0
- package/dist/components/icon/languages/Go.vue.d.ts +7 -0
- package/dist/components/icon/languages/Go.vue.mjs +4 -0
- package/dist/components/icon/languages/Go.vue2.mjs +32 -0
- package/dist/components/icon/languages/Html.vue.d.ts +7 -0
- package/dist/components/icon/languages/Html.vue.mjs +4 -0
- package/dist/components/icon/languages/Html.vue2.mjs +38 -0
- package/dist/components/icon/languages/Java.vue.d.ts +7 -0
- package/dist/components/icon/languages/Java.vue.mjs +4 -0
- package/dist/components/icon/languages/Java.vue2.mjs +23 -0
- package/dist/components/icon/languages/Javascript.vue.d.ts +7 -0
- package/dist/components/icon/languages/Javascript.vue.mjs +4 -0
- package/dist/components/icon/languages/Javascript.vue2.mjs +30 -0
- package/dist/components/icon/languages/Json.vue.d.ts +7 -0
- package/dist/components/icon/languages/Json.vue.mjs +4 -0
- package/dist/components/icon/languages/Json.vue2.mjs +23 -0
- package/dist/components/icon/languages/Kotlin.vue.d.ts +7 -0
- package/dist/components/icon/languages/Kotlin.vue.mjs +4 -0
- package/dist/components/icon/languages/Kotlin.vue2.mjs +23 -0
- package/dist/components/icon/languages/Lua.vue.d.ts +7 -0
- package/dist/components/icon/languages/Lua.vue.mjs +4 -0
- package/dist/components/icon/languages/Lua.vue2.mjs +34 -0
- package/dist/components/icon/languages/Npm.vue.d.ts +7 -0
- package/dist/components/icon/languages/Npm.vue.mjs +4 -0
- package/dist/components/icon/languages/Npm.vue2.mjs +30 -0
- package/dist/components/icon/languages/Python.vue.d.ts +7 -0
- package/dist/components/icon/languages/Python.vue.mjs +4 -0
- package/dist/components/icon/languages/Python.vue2.mjs +23 -0
- package/dist/components/icon/languages/Rust.vue.d.ts +6 -1
- package/dist/components/icon/languages/Rust.vue.mjs +2 -15
- package/dist/components/icon/languages/Rust.vue2.mjs +24 -0
- package/dist/components/icon/languages/Sql.vue.d.ts +7 -0
- package/dist/components/icon/languages/Sql.vue.mjs +4 -0
- package/dist/components/icon/languages/Sql.vue2.mjs +26 -0
- package/dist/components/icon/languages/Terraform.vue.d.ts +7 -0
- package/dist/components/icon/languages/Terraform.vue.mjs +4 -0
- package/dist/components/icon/languages/Terraform.vue2.mjs +36 -0
- package/dist/components/icon/languages/Typescript.vue.d.ts +7 -0
- package/dist/components/icon/languages/Typescript.vue.mjs +4 -0
- package/dist/components/icon/languages/Typescript.vue2.mjs +30 -0
- package/dist/components/media/ElmFile.vue2.mjs +10 -8
- package/dist/components/media/ElmFile.vue3.mjs +6 -9
- package/dist/components/navigation/ElmBookmark.vue2.mjs +10 -9
- package/dist/components/navigation/ElmBookmark.vue3.mjs +9 -12
- package/dist/components/navigation/ElmBreadcrumb.vue2.mjs +14 -12
- package/dist/components/navigation/ElmBreadcrumb.vue3.mjs +5 -11
- package/dist/components/navigation/ElmTableOfContents.vue2.mjs +7 -5
- package/dist/components/navigation/ElmTableOfContents.vue3.mjs +4 -7
- package/dist/components/others/ElmColorSample.vue.mjs +2 -2
- package/dist/components/others/ElmColorSample.vue2.mjs +7 -7
- package/dist/components/others/ElmJsonComponentRenderer.vue2.mjs +49 -24
- package/dist/components/table/ElmTableBody.vue.mjs +2 -1
- package/dist/components/typography/ElmCallout.vue2.mjs +12 -11
- package/dist/components/typography/ElmCallout.vue3.mjs +5 -8
- package/dist/components/typography/ElmFragmentIdentifier.vue2.mjs +12 -7
- package/dist/components/typography/ElmFragmentIdentifier.vue3.mjs +3 -3
- package/dist/components/typography/ElmInlineText.vue.d.ts +1 -1
- package/dist/components/typography/ElmInlineText.vue2.mjs +8 -5
- package/dist/components/typography/ElmInlineText.vue3.mjs +5 -8
- package/dist/index.d.ts +0 -6
- package/dist/index.mjs +103 -109
- package/dist/node_modules/.pnpm/@mdi_js@7.4.47/node_modules/@mdi/js/mdi.mjs +72 -0
- package/package.json +1 -3
- package/dist/components/badge/ElmBadge.vue.d.ts +0 -21
- package/dist/components/badge/ElmBadge.vue.mjs +0 -10
- package/dist/components/badge/ElmBadge.vue2.mjs +0 -33
- package/dist/components/badge/ElmBadge.vue3.mjs +0 -26
- package/dist/components/badge/ElmTag.stories.d.ts +0 -7
- package/dist/components/badge/ElmTag.vue.d.ts +0 -14
- package/dist/components/badge/ElmTag.vue.mjs +0 -10
- package/dist/components/badge/ElmTag.vue2.mjs +0 -39
- package/dist/components/badge/ElmTag.vue3.mjs +0 -26
- package/dist/components/form/ElmTotp.stories.d.ts +0 -6
- package/dist/components/form/ElmTotp.vue.d.ts +0 -12
- package/dist/components/form/ElmTotp.vue.mjs +0 -10
- package/dist/components/form/ElmTotp.vue2.mjs +0 -102
- package/dist/components/form/ElmTotp.vue3.mjs +0 -34
- package/dist/components/jsonschema/ElmChildContainer.stories.d.ts +0 -6
- package/dist/components/jsonschema/ElmChildContainer.vue.d.ts +0 -21
- package/dist/components/jsonschema/ElmFieldAttribute.stories.d.ts +0 -6
- package/dist/components/jsonschema/ElmFieldAttribute.vue.d.ts +0 -7
- package/dist/components/jsonschema/ElmFieldType.stories.d.ts +0 -7
- package/dist/components/jsonschema/ElmFieldType.vue.d.ts +0 -8
- package/dist/components/jsonschema/ElmJsonSchema.stories.d.ts +0 -7
- package/dist/components/jsonschema/ElmJsonSchema.vue.d.ts +0 -7
package/dist/index.mjs
CHANGED
|
@@ -10,119 +10,113 @@
|
|
|
10
10
|
console.error("vite-plugin-css-injected-by-js", e);
|
|
11
11
|
}
|
|
12
12
|
})();
|
|
13
|
-
import { default as default2 } from "./components/
|
|
14
|
-
import { default as default3 } from "./components/
|
|
15
|
-
import { default as default4 } from "./components/
|
|
16
|
-
import { default as default5 } from "./components/
|
|
17
|
-
import { default as default6 } from "./components/containments/
|
|
18
|
-
import { default as default7 } from "./components/containments/
|
|
19
|
-
import { default as default8 } from "./components/containments/
|
|
20
|
-
import { default as default9 } from "./components/containments/
|
|
21
|
-
import { default as default10 } from "./components/containments/
|
|
22
|
-
import { default as default11 } from "./components/containments/
|
|
23
|
-
import { default as default12 } from "./components/containments/
|
|
24
|
-
import { default as default13 } from "./components/
|
|
25
|
-
import { default as default14 } from "./components/
|
|
26
|
-
import { default as default15 } from "./components/data/
|
|
27
|
-
import { default as default16 } from "./components/
|
|
28
|
-
import { default as default17 } from "./components/
|
|
29
|
-
import { default as default18 } from "./components/fallback/
|
|
30
|
-
import { default as default19 } from "./components/fallback/
|
|
31
|
-
import { default as default20 } from "./components/
|
|
32
|
-
import { default as default21 } from "./components/
|
|
33
|
-
import { default as default22 } from "./components/form/
|
|
34
|
-
import { default as default23 } from "./components/form/
|
|
35
|
-
import { default as default24 } from "./components/
|
|
36
|
-
import { default as default25 } from "./components/
|
|
37
|
-
import { default as default26 } from "./components/
|
|
38
|
-
import { default as default27 } from "./components/
|
|
39
|
-
import { default as default28 } from "./components/
|
|
40
|
-
import { default as default29 } from "./components/icon/
|
|
41
|
-
import { default as default30 } from "./components/icon/
|
|
42
|
-
import { default as default31 } from "./components/icon/
|
|
43
|
-
import { default as default32 } from "./components/icon/
|
|
44
|
-
import { default as default33 } from "./components/
|
|
45
|
-
import { default as default34 } from "./components/
|
|
46
|
-
import { default as default35 } from "./components/
|
|
47
|
-
import { default as
|
|
48
|
-
import { default as
|
|
49
|
-
import { default as
|
|
50
|
-
import { default as default40 } from "./components/navigation/
|
|
51
|
-
import { default as default41 } from "./components/
|
|
52
|
-
import { default as default42 } from "./components/
|
|
53
|
-
import { default as default43 } from "./components/
|
|
54
|
-
import { default as default44 } from "./components/
|
|
55
|
-
import { default as default45 } from "./components/
|
|
56
|
-
import { default as default46 } from "./components/
|
|
57
|
-
import { default as default47 } from "./components/table/
|
|
58
|
-
import { default as default48 } from "./components/table/
|
|
59
|
-
import { default as default49 } from "./components/
|
|
60
|
-
import { default as default50 } from "./components/
|
|
61
|
-
import { default as default51 } from "./components/
|
|
62
|
-
import { default as default52 } from "./components/typography/
|
|
63
|
-
import { default as default53 } from "./components/typography/
|
|
64
|
-
import { default as default54 } from "./components/typography/ElmDivider.vue.mjs";
|
|
65
|
-
import { default as default55 } from "./components/typography/ElmParagraph.vue.mjs";
|
|
66
|
-
import { default as default56 } from "./components/typography/ElmList.vue.mjs";
|
|
13
|
+
import { default as default2 } from "./components/code/ElmCodeBlock.vue.mjs";
|
|
14
|
+
import { default as default3 } from "./components/code/ElmKatex.vue.mjs";
|
|
15
|
+
import { default as default4 } from "./components/containments/ElmColumn.vue.mjs";
|
|
16
|
+
import { default as default5 } from "./components/containments/ElmColumnList.vue.mjs";
|
|
17
|
+
import { default as default6 } from "./components/containments/ElmDesktopWindow.vue.mjs";
|
|
18
|
+
import { default as default7 } from "./components/containments/ElmModal.vue.mjs";
|
|
19
|
+
import { default as default8 } from "./components/containments/ElmParallax.vue.mjs";
|
|
20
|
+
import { default as default9 } from "./components/containments/ElmSnackbar.vue.mjs";
|
|
21
|
+
import { default as default10 } from "./components/containments/ElmSnackbarContainer.vue.mjs";
|
|
22
|
+
import { default as default11 } from "./components/containments/ElmToggle.vue.mjs";
|
|
23
|
+
import { default as default12 } from "./components/containments/ElmTooltip.vue.mjs";
|
|
24
|
+
import { default as default13 } from "./components/data/ElmProgress.vue.mjs";
|
|
25
|
+
import { default as default14 } from "./components/data/ElmMultiProgress.vue.mjs";
|
|
26
|
+
import { default as default15 } from "./components/data/ElmStatusMessage.vue.mjs";
|
|
27
|
+
import { default as default16 } from "./components/fallback/ElmRectangleWave.vue.mjs";
|
|
28
|
+
import { default as default17 } from "./components/fallback/ElmBlockFallback.vue.mjs";
|
|
29
|
+
import { default as default18 } from "./components/fallback/ElmSpinner.vue.mjs";
|
|
30
|
+
import { default as default19 } from "./components/fallback/ElmUnsupportedBlock.vue.mjs";
|
|
31
|
+
import { default as default20 } from "./components/form/ElmButton.vue.mjs";
|
|
32
|
+
import { default as default21 } from "./components/form/ElmCheckbox.vue.mjs";
|
|
33
|
+
import { default as default22 } from "./components/form/ElmSwitch.vue.mjs";
|
|
34
|
+
import { default as default23 } from "./components/form/ElmTextField.vue.mjs";
|
|
35
|
+
import { default as default24 } from "./components/typography/ElmHeading.vue.mjs";
|
|
36
|
+
import { default as default25 } from "./components/typography/ElmFragmentIdentifier.vue.mjs";
|
|
37
|
+
import { default as default26 } from "./components/icon/ElmArrowIcon.vue.mjs";
|
|
38
|
+
import { default as default27 } from "./components/icon/ElmBookmarkIcon.vue.mjs";
|
|
39
|
+
import { default as default28 } from "./components/icon/ElmCubeIcon.vue.mjs";
|
|
40
|
+
import { default as default29 } from "./components/icon/ElmDotLoadingIcon.vue.mjs";
|
|
41
|
+
import { default as default30 } from "./components/icon/ElmLanguageIcon.vue.mjs";
|
|
42
|
+
import { default as default31 } from "./components/icon/ElmLoginIcon.vue.mjs";
|
|
43
|
+
import { default as default32 } from "./components/icon/ElmToggleTheme.vue.mjs";
|
|
44
|
+
import { default as default33 } from "./components/typography/ElmInlineText.vue.mjs";
|
|
45
|
+
import { default as default34 } from "./components/media/ElmFile.vue.mjs";
|
|
46
|
+
import { default as default35, default as default36 } from "./components/media/ElmImage.vue.mjs";
|
|
47
|
+
import { default as default37 } from "./components/navigation/ElmBookmark.vue.mjs";
|
|
48
|
+
import { default as default38 } from "./components/navigation/ElmBreadcrumb.vue.mjs";
|
|
49
|
+
import { default as default39 } from "./components/navigation/ElmPagetop.vue.mjs";
|
|
50
|
+
import { default as default40 } from "./components/navigation/ElmTableOfContents.vue.mjs";
|
|
51
|
+
import { default as default41 } from "./components/others/ElmColorSample.vue.mjs";
|
|
52
|
+
import { default as default42 } from "./components/others/ElmColorTable.vue.mjs";
|
|
53
|
+
import { default as default43 } from "./components/others/ElmJsonComponentRenderer.vue.mjs";
|
|
54
|
+
import { default as default44 } from "./components/table/ElmTable.vue.mjs";
|
|
55
|
+
import { default as default45 } from "./components/table/ElmTableHeader.vue.mjs";
|
|
56
|
+
import { default as default46 } from "./components/table/ElmTableBody.vue.mjs";
|
|
57
|
+
import { default as default47 } from "./components/table/ElmTableRow.vue.mjs";
|
|
58
|
+
import { default as default48 } from "./components/table/ElmTableCell.vue.mjs";
|
|
59
|
+
import { default as default49 } from "./components/typography/ElmBlockQuote.vue.mjs";
|
|
60
|
+
import { default as default50 } from "./components/typography/ElmCallout.vue.mjs";
|
|
61
|
+
import { default as default51 } from "./components/typography/ElmDivider.vue.mjs";
|
|
62
|
+
import { default as default52 } from "./components/typography/ElmParagraph.vue.mjs";
|
|
63
|
+
import { default as default53 } from "./components/typography/ElmList.vue.mjs";
|
|
67
64
|
|
|
68
65
|
import { useElmethisTheme } from "./hooks/useElmethisTheme.mjs";
|
|
69
66
|
import { useTyping } from "./hooks/useTyping.mjs";
|
|
70
67
|
export {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
default14 as ElmTooltip,
|
|
124
|
-
default26 as ElmTotp,
|
|
125
|
-
default21 as ElmUnsupportedBlock,
|
|
68
|
+
default26 as ElmArrowIcon,
|
|
69
|
+
default17 as ElmBlockFallback,
|
|
70
|
+
default35 as ElmBlockImage,
|
|
71
|
+
default49 as ElmBlockQuote,
|
|
72
|
+
default37 as ElmBookmark,
|
|
73
|
+
default27 as ElmBookmarkIcon,
|
|
74
|
+
default38 as ElmBreadcrumb,
|
|
75
|
+
default20 as ElmButton,
|
|
76
|
+
default50 as ElmCallout,
|
|
77
|
+
default21 as ElmCheckbox,
|
|
78
|
+
default2 as ElmCodeBlock,
|
|
79
|
+
default41 as ElmColorSample,
|
|
80
|
+
default42 as ElmColorTable,
|
|
81
|
+
default4 as ElmColumn,
|
|
82
|
+
default5 as ElmColumnList,
|
|
83
|
+
default28 as ElmCubeIcon,
|
|
84
|
+
default6 as ElmDesktopWindow,
|
|
85
|
+
default51 as ElmDivider,
|
|
86
|
+
default29 as ElmDotLoadingIcon,
|
|
87
|
+
default34 as ElmFile,
|
|
88
|
+
default25 as ElmFragmentIdentifier,
|
|
89
|
+
default24 as ElmHeading,
|
|
90
|
+
default36 as ElmImage,
|
|
91
|
+
default33 as ElmInlineText,
|
|
92
|
+
default43 as ElmJsonComponentRenderer,
|
|
93
|
+
default3 as ElmKatex,
|
|
94
|
+
default30 as ElmLanguageIcon,
|
|
95
|
+
default53 as ElmList,
|
|
96
|
+
default31 as ElmLoginIcon,
|
|
97
|
+
default7 as ElmModal,
|
|
98
|
+
default14 as ElmMultiProgress,
|
|
99
|
+
default39 as ElmPagetop,
|
|
100
|
+
default52 as ElmParagraph,
|
|
101
|
+
default8 as ElmParallax,
|
|
102
|
+
default13 as ElmProgress,
|
|
103
|
+
default16 as ElmRectangleWave,
|
|
104
|
+
default9 as ElmSnackbar,
|
|
105
|
+
default10 as ElmSnackbarContainer,
|
|
106
|
+
default18 as ElmSpinner,
|
|
107
|
+
default15 as ElmStatusMessage,
|
|
108
|
+
default22 as ElmSwitch,
|
|
109
|
+
default44 as ElmTable,
|
|
110
|
+
default46 as ElmTableBody,
|
|
111
|
+
default48 as ElmTableCell,
|
|
112
|
+
default45 as ElmTableHeader,
|
|
113
|
+
default40 as ElmTableOfContents,
|
|
114
|
+
default47 as ElmTableRow,
|
|
115
|
+
default23 as ElmTextField,
|
|
116
|
+
default11 as ElmToggle,
|
|
117
|
+
default32 as ElmToggleTheme,
|
|
118
|
+
default12 as ElmTooltip,
|
|
119
|
+
default19 as ElmUnsupportedBlock,
|
|
126
120
|
useElmethisTheme,
|
|
127
121
|
useTyping
|
|
128
122
|
};
|
|
@@ -1,14 +1,86 @@
|
|
|
1
|
+
var mdiAccount = "M12,4A4,4 0 0,1 16,8A4,4 0 0,1 12,12A4,4 0 0,1 8,8A4,4 0 0,1 12,4M12,14C16.42,14 20,15.79 20,18V20H4V18C4,15.79 7.58,14 12,14Z";
|
|
2
|
+
var mdiAlert = "M13 14H11V9H13M13 18H11V16H13M1 21H23L12 2L1 21Z";
|
|
3
|
+
var mdiAlertCircle = "M13,13H11V7H13M13,17H11V15H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z";
|
|
4
|
+
var mdiAlertOctagram = "M2.2,16.06L3.88,12L2.2,7.94L6.26,6.26L7.94,2.2L12,3.88L16.06,2.2L17.74,6.26L21.8,7.94L20.12,12L21.8,16.06L17.74,17.74L16.06,21.8L12,20.12L7.94,21.8L6.26,17.74L2.2,16.06M13,17V15H11V17H13M13,13V7H11V13H13Z";
|
|
5
|
+
var mdiAnchor = "M12 2A3 3 0 0 0 9 5A3 3 0 0 0 11 7.83V9H8V11H11V19.92C10.26 19.79 9.5 19.58 8.79 19.27C8.05 18.95 7.4 18.56 6.82 18.09C6.24 17.62 5.78 17.11 5.44 16.55L7 15L3 12V15C3 15.97 3.27 16.88 3.82 17.72C4.37 18.56 5.09 19.31 6 19.95C6.87 20.59 7.84 21.09 8.88 21.45C9.93 21.81 10.97 22 12 22C13.03 22 14.07 21.8 15.12 21.44C16.16 21.08 17.13 20.58 18 19.95C18.92 19.31 19.63 18.57 20.18 17.72C20.73 16.88 21 15.97 21 15V12L17 15L18.56 16.55C18.22 17.11 17.76 17.62 17.18 18.09C16.6 18.56 15.95 18.95 15.21 19.27C14.5 19.58 13.74 19.79 13 19.92V11H16V9H13V7.82A3 3 0 0 0 15 5A3 3 0 0 0 12 2M12 4A1 1 0 0 1 13 5A1 1 0 0 1 12 6A1 1 0 0 1 11 5A1 1 0 0 1 12 4Z";
|
|
6
|
+
var mdiBackspaceOutline = "M19,15.59L17.59,17L14,13.41L10.41,17L9,15.59L12.59,12L9,8.41L10.41,7L14,10.59L17.59,7L19,8.41L15.41,12L19,15.59M22,3A2,2 0 0,1 24,5V19A2,2 0 0,1 22,21H7C6.31,21 5.77,20.64 5.41,20.11L0,12L5.41,3.88C5.77,3.35 6.31,3 7,3H22M22,5H7L2.28,12L7,19H22V5Z";
|
|
7
|
+
var mdiCalendarMonth = "M9,10V12H7V10H9M13,10V12H11V10H13M17,10V12H15V10H17M19,3A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21H5C3.89,21 3,20.1 3,19V5A2,2 0 0,1 5,3H6V1H8V3H16V1H18V3H19M19,19V8H5V19H19M9,14V16H7V14H9M13,14V16H11V14H13M17,14V16H15V14H17Z";
|
|
8
|
+
var mdiCalendarRefresh = "M19 3H18V1H16V3H8V1H6V3H5C3.9 3 3 3.9 3 5V19C3 20.1 3.9 21 5 21H14C13.4 20.5 12.9 19.8 12.5 19H5V8H19V10.6C19.7 10.7 20.4 10.9 21 11.3V5C21 3.9 20.1 3 19 3M18 12.5C19.1 12.5 20.1 12.9 20.8 13.7L22 12.5V16.5H18L19.8 14.7C19.3 14.3 18.7 14 18 14C16.6 14 15.5 15.1 15.5 16.5S16.6 19 18 19C18.8 19 19.5 18.6 20 18H21.7C21.1 19.5 19.7 20.5 18 20.5C15.8 20.5 14 18.7 14 16.5S15.8 12.5 18 12.5Z";
|
|
9
|
+
var mdiCheck = "M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z";
|
|
10
|
+
var mdiCheckCircle = "M12 2C6.5 2 2 6.5 2 12S6.5 22 12 22 22 17.5 22 12 17.5 2 12 2M10 17L5 12L6.41 10.59L10 14.17L17.59 6.58L19 8L10 17Z";
|
|
11
|
+
var mdiChevronRight = "M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z";
|
|
1
12
|
var mdiChevronUp = "M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z";
|
|
13
|
+
var mdiClipboardCheckMultipleOutline = "M4 7V21H18V23H4C2.9 23 2 22.1 2 21V7H4M12.8 15.35L9.5 12.05L10.9 10.65L12.8 12.55L17.1 8.25L18.5 9.65L12.8 15.35M20 3C21.1 3 22 3.9 22 5V17C22 18.1 21.1 19 20 19H8C6.9 19 6 18.1 6 17V5C6 3.9 6.9 3 8 3H11.18C11.6 1.84 12.7 1 14 1C15.3 1 16.4 1.84 16.82 3H20M14 3C13.45 3 13 3.45 13 4C13 4.55 13.45 5 14 5C14.55 5 15 4.55 15 4C15 3.45 14.55 3 14 3M10 7V5H8V17H20V5H18V7H10Z";
|
|
14
|
+
var mdiClipboardMultipleOutline = "M4 7V21H18V23H4C2.9 23 2 22.1 2 21V7H4M20 3C21.1 3 22 3.9 22 5V17C22 18.1 21.1 19 20 19H8C6.9 19 6 18.1 6 17V5C6 3.9 6.9 3 8 3H11.18C11.6 1.84 12.7 1 14 1C15.3 1 16.4 1.84 16.82 3H20M14 3C13.45 3 13 3.45 13 4C13 4.55 13.45 5 14 5C14.55 5 15 4.55 15 4C15 3.45 14.55 3 14 3M10 7V5H8V17H20V5H18V7H10Z";
|
|
15
|
+
var mdiCloseCircleOutline = "M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,16.41 16.41,20 12,20M12,2C6.47,2 2,6.47 2,12C2,17.53 6.47,22 12,22C17.53,22 22,17.53 22,12C22,6.47 17.53,2 12,2M14.59,8L12,10.59L9.41,8L8,9.41L10.59,12L8,14.59L9.41,16L12,13.41L14.59,16L16,14.59L13.41,12L16,9.41L14.59,8Z";
|
|
16
|
+
var mdiCodeJson = "M5,3H7V5H5V10A2,2 0 0,1 3,12A2,2 0 0,1 5,14V19H7V21H5C3.93,20.73 3,20.1 3,19V15A2,2 0 0,0 1,13H0V11H1A2,2 0 0,0 3,9V5A2,2 0 0,1 5,3M19,3A2,2 0 0,1 21,5V9A2,2 0 0,0 23,11H24V13H23A2,2 0 0,0 21,15V19A2,2 0 0,1 19,21H17V19H19V14A2,2 0 0,1 21,12A2,2 0 0,1 19,10V5H17V3H19M12,15A1,1 0 0,1 13,16A1,1 0 0,1 12,17A1,1 0 0,1 11,16A1,1 0 0,1 12,15M8,15A1,1 0 0,1 9,16A1,1 0 0,1 8,17A1,1 0 0,1 7,16A1,1 0 0,1 8,15M16,15A1,1 0 0,1 17,16A1,1 0 0,1 16,17A1,1 0 0,1 15,16A1,1 0 0,1 16,15Z";
|
|
17
|
+
var mdiCursorText = "M13,19A1,1 0 0,0 14,20H16V22H13.5C12.95,22 12,21.55 12,21C12,21.55 11.05,22 10.5,22H8V20H10A1,1 0 0,0 11,19V5A1,1 0 0,0 10,4H8V2H10.5C11.05,2 12,2.45 12,3C12,2.45 12.95,2 13.5,2H16V4H14A1,1 0 0,0 13,5V19Z";
|
|
18
|
+
var mdiDownload = "M5,20H19V18H5M19,9H15V3H9V9H5L12,16L19,9Z";
|
|
19
|
+
var mdiEarth = "M17.9,17.39C17.64,16.59 16.89,16 16,16H15V13A1,1 0 0,0 14,12H8V10H10A1,1 0 0,0 11,9V7H13A2,2 0 0,0 15,5V4.59C17.93,5.77 20,8.64 20,12C20,14.08 19.2,15.97 17.9,17.39M11,19.93C7.05,19.44 4,16.08 4,12C4,11.38 4.08,10.78 4.21,10.21L9,15V16A2,2 0 0,0 11,18M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z";
|
|
20
|
+
var mdiEmailOutline = "M22 6C22 4.9 21.1 4 20 4H4C2.9 4 2 4.9 2 6V18C2 19.1 2.9 20 4 20H20C21.1 20 22 19.1 22 18V6M20 6L12 11L4 6H20M20 18H4V8L12 13L20 8V18Z";
|
|
21
|
+
var mdiEyeOffOutline = "M2,5.27L3.28,4L20,20.72L18.73,22L15.65,18.92C14.5,19.3 13.28,19.5 12,19.5C7,19.5 2.73,16.39 1,12C1.69,10.24 2.79,8.69 4.19,7.46L2,5.27M12,9A3,3 0 0,1 15,12C15,12.35 14.94,12.69 14.83,13L11,9.17C11.31,9.06 11.65,9 12,9M12,4.5C17,4.5 21.27,7.61 23,12C22.18,14.08 20.79,15.88 19,17.19L17.58,15.76C18.94,14.82 20.06,13.54 20.82,12C19.17,8.64 15.76,6.5 12,6.5C10.91,6.5 9.84,6.68 8.84,7L7.3,5.47C8.74,4.85 10.33,4.5 12,4.5M3.18,12C4.83,15.36 8.24,17.5 12,17.5C12.69,17.5 13.37,17.43 14,17.29L11.72,15C10.29,14.85 9.15,13.71 9,12.28L5.6,8.87C4.61,9.72 3.78,10.78 3.18,12Z";
|
|
22
|
+
var mdiEyeOutline = "M12,9A3,3 0 0,1 15,12A3,3 0 0,1 12,15A3,3 0 0,1 9,12A3,3 0 0,1 12,9M12,4.5C17,4.5 21.27,7.61 23,12C21.27,16.39 17,19.5 12,19.5C7,19.5 2.73,16.39 1,12C2.73,7.61 7,4.5 12,4.5M3.18,12C4.83,15.36 8.24,17.5 12,17.5C15.76,17.5 19.17,15.36 20.82,12C19.17,8.64 15.76,6.5 12,6.5C8.24,6.5 4.83,8.64 3.18,12Z";
|
|
23
|
+
var mdiFileDocument = "M13,9H18.5L13,3.5V9M6,2H14L20,8V20A2,2 0 0,1 18,22H6C4.89,22 4,21.1 4,20V4C4,2.89 4.89,2 6,2M15,18V16H6V18H15M18,14V12H6V14H18Z";
|
|
24
|
+
var mdiFileOutline = "M14,2H6A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2M18,20H6V4H13V9H18V20Z";
|
|
25
|
+
var mdiFolderOpen = "M19,20H4C2.89,20 2,19.1 2,18V6C2,4.89 2.89,4 4,4H10L12,6H19A2,2 0 0,1 21,8H21L4,8V18L6.14,10H23.21L20.93,18.5C20.7,19.37 19.92,20 19,20Z";
|
|
2
26
|
var mdiFormatQuoteClose = "M14,17H17L19,13V7H13V13H16M6,17H9L11,13V7H5V13H8L6,17Z";
|
|
3
27
|
var mdiFormatQuoteOpen = "M10,7L8,11H11V17H5V11L7,7H10M18,7L16,11H19V17H13V11L15,7H18Z";
|
|
28
|
+
var mdiHome = "M10,20V14H14V20H19V12H22L12,3L2,12H5V20H10Z";
|
|
4
29
|
var mdiInformation = "M13,9H11V7H13M13,17H11V11H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z";
|
|
30
|
+
var mdiLightbulbOn = "M12,6A6,6 0 0,1 18,12C18,14.22 16.79,16.16 15,17.2V19A1,1 0 0,1 14,20H10A1,1 0 0,1 9,19V17.2C7.21,16.16 6,14.22 6,12A6,6 0 0,1 12,6M14,21V22A1,1 0 0,1 13,23H11A1,1 0 0,1 10,22V21H14M20,11H23V13H20V11M1,11H4V13H1V11M13,1V4H11V1H13M4.92,3.5L7.05,5.64L5.63,7.05L3.5,4.93L4.92,3.5M16.95,5.63L19.07,3.5L20.5,4.93L18.37,7.05L16.95,5.63Z";
|
|
31
|
+
var mdiLinkVariant = "M10.59,13.41C11,13.8 11,14.44 10.59,14.83C10.2,15.22 9.56,15.22 9.17,14.83C7.22,12.88 7.22,9.71 9.17,7.76V7.76L12.71,4.22C14.66,2.27 17.83,2.27 19.78,4.22C21.73,6.17 21.73,9.34 19.78,11.29L18.29,12.78C18.3,11.96 18.17,11.14 17.89,10.36L18.36,9.88C19.54,8.71 19.54,6.81 18.36,5.64C17.19,4.46 15.29,4.46 14.12,5.64L10.59,9.17C9.41,10.34 9.41,12.24 10.59,13.41M13.41,9.17C13.8,8.78 14.44,8.78 14.83,9.17C16.78,11.12 16.78,14.29 14.83,16.24V16.24L11.29,19.78C9.34,21.73 6.17,21.73 4.22,19.78C2.27,17.83 2.27,14.66 4.22,12.71L5.71,11.22C5.7,12.04 5.83,12.86 6.11,13.65L5.64,14.12C4.46,15.29 4.46,17.19 5.64,18.36C6.81,19.54 8.71,19.54 9.88,18.36L13.41,14.83C14.59,13.66 14.59,11.76 13.41,10.59C13,10.2 13,9.56 13.41,9.17Z";
|
|
32
|
+
var mdiLoading = "M12,4V2A10,10 0 0,0 2,12H4A8,8 0 0,1 12,4Z";
|
|
33
|
+
var mdiLockOutline = "M12,17C10.89,17 10,16.1 10,15C10,13.89 10.89,13 12,13A2,2 0 0,1 14,15A2,2 0 0,1 12,17M18,20V10H6V20H18M18,8A2,2 0 0,1 20,10V20A2,2 0 0,1 18,22H6C4.89,22 4,21.1 4,20V10C4,8.89 4.89,8 6,8H7V6A5,5 0 0,1 12,1A5,5 0 0,1 17,6V8H18M12,3A3,3 0 0,0 9,6V8H15V6A3,3 0 0,0 12,3Z";
|
|
34
|
+
var mdiLoginVariant = "M19,3H5C3.89,3 3,3.89 3,5V9H5V5H19V19H5V15H3V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3M10.08,15.58L11.5,17L16.5,12L11.5,7L10.08,8.41L12.67,11H3V13H12.67L10.08,15.58Z";
|
|
35
|
+
var mdiLogoutVariant = "M14.08,15.59L16.67,13H7V11H16.67L14.08,8.41L15.5,7L20.5,12L15.5,17L14.08,15.59M19,3A2,2 0 0,1 21,5V9.67L19,7.67V5H5V19H19V16.33L21,14.33V19A2,2 0 0,1 19,21H5C3.89,21 3,20.1 3,19V5C3,3.89 3.89,3 5,3H19Z";
|
|
36
|
+
var mdiMenuDown = "M7,10L12,15L17,10H7Z";
|
|
5
37
|
var mdiMessageImageOutline = "M20 2H4C2.9 2 2 2.9 2 4V22L6 18H20C21.1 18 22 17.1 22 16V4C22 2.9 21.1 2 20 2M20 16H5.2L4 17.2V4H20V16M5 14L8.5 9.5L11 12.5L14.5 8L19 14";
|
|
38
|
+
var mdiOpenInNew = "M14,3V5H17.59L7.76,14.83L9.17,16.24L19,6.41V10H21V3M19,19H5V5H12V3H5C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V12H19V19Z";
|
|
39
|
+
var mdiPlus = "M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z";
|
|
40
|
+
var mdiReload = "M2 12C2 16.97 6.03 21 11 21C13.39 21 15.68 20.06 17.4 18.4L15.9 16.9C14.63 18.25 12.86 19 11 19C4.76 19 1.64 11.46 6.05 7.05C10.46 2.64 18 5.77 18 12H15L19 16H19.1L23 12H20C20 7.03 15.97 3 11 3C6.03 3 2 7.03 2 12Z";
|
|
41
|
+
var mdiShieldAlert = "M12,1L3,5V11C3,16.55 6.84,21.74 12,23C17.16,21.74 21,16.55 21,11V5M11,7H13V13H11M11,15H13V17H11";
|
|
6
42
|
var mdiTable = "M5,4H19A2,2 0 0,1 21,6V18A2,2 0 0,1 19,20H5A2,2 0 0,1 3,18V6A2,2 0 0,1 5,4M5,8V12H11V8H5M13,8V12H19V8H13M5,14V18H11V14H5M13,14V18H19V14H13Z";
|
|
7
43
|
export {
|
|
44
|
+
mdiAccount,
|
|
45
|
+
mdiAlert,
|
|
46
|
+
mdiAlertCircle,
|
|
47
|
+
mdiAlertOctagram,
|
|
48
|
+
mdiAnchor,
|
|
49
|
+
mdiBackspaceOutline,
|
|
50
|
+
mdiCalendarMonth,
|
|
51
|
+
mdiCalendarRefresh,
|
|
52
|
+
mdiCheck,
|
|
53
|
+
mdiCheckCircle,
|
|
54
|
+
mdiChevronRight,
|
|
8
55
|
mdiChevronUp,
|
|
56
|
+
mdiClipboardCheckMultipleOutline,
|
|
57
|
+
mdiClipboardMultipleOutline,
|
|
58
|
+
mdiCloseCircleOutline,
|
|
59
|
+
mdiCodeJson,
|
|
60
|
+
mdiCursorText,
|
|
61
|
+
mdiDownload,
|
|
62
|
+
mdiEarth,
|
|
63
|
+
mdiEmailOutline,
|
|
64
|
+
mdiEyeOffOutline,
|
|
65
|
+
mdiEyeOutline,
|
|
66
|
+
mdiFileDocument,
|
|
67
|
+
mdiFileOutline,
|
|
68
|
+
mdiFolderOpen,
|
|
9
69
|
mdiFormatQuoteClose,
|
|
10
70
|
mdiFormatQuoteOpen,
|
|
71
|
+
mdiHome,
|
|
11
72
|
mdiInformation,
|
|
73
|
+
mdiLightbulbOn,
|
|
74
|
+
mdiLinkVariant,
|
|
75
|
+
mdiLoading,
|
|
76
|
+
mdiLockOutline,
|
|
77
|
+
mdiLoginVariant,
|
|
78
|
+
mdiLogoutVariant,
|
|
79
|
+
mdiMenuDown,
|
|
12
80
|
mdiMessageImageOutline,
|
|
81
|
+
mdiOpenInNew,
|
|
82
|
+
mdiPlus,
|
|
83
|
+
mdiReload,
|
|
84
|
+
mdiShieldAlert,
|
|
13
85
|
mdiTable
|
|
14
86
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elmethis/core",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.193",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -23,8 +23,6 @@
|
|
|
23
23
|
}
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@heroicons/vue": "^2.2.0",
|
|
27
|
-
"@iconify/vue": "^4.3.0",
|
|
28
26
|
"@mdi/js": "^7.4.47",
|
|
29
27
|
"@vueuse/core": "^13.1.0",
|
|
30
28
|
"katex": "^0.16.22",
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export interface ElmBadgeProps {
|
|
2
|
-
color: string;
|
|
3
|
-
}
|
|
4
|
-
declare function __VLS_template(): {
|
|
5
|
-
attrs: Partial<{}>;
|
|
6
|
-
slots: {
|
|
7
|
-
left?(_: {}): any;
|
|
8
|
-
right?(_: {}): any;
|
|
9
|
-
};
|
|
10
|
-
refs: {};
|
|
11
|
-
rootEl: HTMLSpanElement;
|
|
12
|
-
};
|
|
13
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
|
-
declare const __VLS_component: import('vue').DefineComponent<ElmBadgeProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ElmBadgeProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
15
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
16
|
-
export default _default;
|
|
17
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
18
|
-
new (): {
|
|
19
|
-
$slots: S;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import _sfc_main from "./ElmBadge.vue2.mjs";
|
|
2
|
-
import style0 from "./ElmBadge.vue3.mjs";
|
|
3
|
-
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const cssModules = {
|
|
5
|
-
"$style": style0
|
|
6
|
-
};
|
|
7
|
-
const ElmBadge = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules]]);
|
|
8
|
-
export {
|
|
9
|
-
ElmBadge as default
|
|
10
|
-
};
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { defineComponent, createElementBlock, openBlock, normalizeStyle, normalizeClass, createElementVNode, unref, renderSlot } from "vue";
|
|
2
|
-
import { getLuminance } from "polished";
|
|
3
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
|
-
__name: "ElmBadge",
|
|
5
|
-
props: {
|
|
6
|
-
color: {}
|
|
7
|
-
},
|
|
8
|
-
setup(__props) {
|
|
9
|
-
return (_ctx, _cache) => {
|
|
10
|
-
return openBlock(), createElementBlock("span", {
|
|
11
|
-
class: normalizeClass(_ctx.$style.badge),
|
|
12
|
-
style: normalizeStyle({ "--bg-color": _ctx.color })
|
|
13
|
-
}, [
|
|
14
|
-
createElementVNode("span", {
|
|
15
|
-
class: normalizeClass(_ctx.$style.left),
|
|
16
|
-
style: normalizeStyle({
|
|
17
|
-
color: unref(getLuminance)(_ctx.color) > 0.5 ? "rgba(0,0,0,0.7)" : "rgba(255,255,255,0.7)"
|
|
18
|
-
})
|
|
19
|
-
}, [
|
|
20
|
-
renderSlot(_ctx.$slots, "left")
|
|
21
|
-
], 6),
|
|
22
|
-
createElementVNode("span", {
|
|
23
|
-
class: normalizeClass(_ctx.$style.right)
|
|
24
|
-
}, [
|
|
25
|
-
renderSlot(_ctx.$slots, "right")
|
|
26
|
-
], 2)
|
|
27
|
-
], 6);
|
|
28
|
-
};
|
|
29
|
-
}
|
|
30
|
-
});
|
|
31
|
-
export {
|
|
32
|
-
_sfc_main as default
|
|
33
|
-
};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
(function() {
|
|
2
|
-
"use strict";
|
|
3
|
-
try {
|
|
4
|
-
if (typeof document != "undefined") {
|
|
5
|
-
var elementStyle = document.createElement("style");
|
|
6
|
-
elementStyle.appendChild(document.createTextNode("._badge_gc88x_1{border:1px solid var(--bg-color);border-radius:.25rem}._badge_gc88x_1 ._left_gc88x_5{background-color:var(--bg-color);padding-inline:.5rem}._badge_gc88x_1 ._right_gc88x_9{padding-inline:.5rem}"));
|
|
7
|
-
document.head.appendChild(elementStyle);
|
|
8
|
-
}
|
|
9
|
-
} catch (e) {
|
|
10
|
-
console.error("vite-plugin-css-injected-by-js", e);
|
|
11
|
-
}
|
|
12
|
-
})();
|
|
13
|
-
const badge = "_badge_gc88x_1";
|
|
14
|
-
const left = "_left_gc88x_5";
|
|
15
|
-
const right = "_right_gc88x_9";
|
|
16
|
-
const style0 = {
|
|
17
|
-
badge,
|
|
18
|
-
left,
|
|
19
|
-
right
|
|
20
|
-
};
|
|
21
|
-
export {
|
|
22
|
-
badge,
|
|
23
|
-
style0 as default,
|
|
24
|
-
left,
|
|
25
|
-
right
|
|
26
|
-
};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/vue3';
|
|
2
|
-
import { default as ElmTag } from './ElmTag.vue';
|
|
3
|
-
declare const meta: Meta<typeof ElmTag>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof meta>;
|
|
6
|
-
export declare const Primary: Story;
|
|
7
|
-
export declare const Multiple: Story;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export interface ElmTagProps {
|
|
2
|
-
/**
|
|
3
|
-
* The text to display in the tag.
|
|
4
|
-
*/
|
|
5
|
-
text: string;
|
|
6
|
-
/**
|
|
7
|
-
* The color of the tag.
|
|
8
|
-
*/
|
|
9
|
-
color?: string;
|
|
10
|
-
}
|
|
11
|
-
declare const _default: import('vue').DefineComponent<ElmTagProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ElmTagProps> & Readonly<{}>, {
|
|
12
|
-
color: string;
|
|
13
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
14
|
-
export default _default;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import _sfc_main from "./ElmTag.vue2.mjs";
|
|
2
|
-
import style0 from "./ElmTag.vue3.mjs";
|
|
3
|
-
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const cssModules = {
|
|
5
|
-
"$style": style0
|
|
6
|
-
};
|
|
7
|
-
const ElmTag = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules]]);
|
|
8
|
-
export {
|
|
9
|
-
ElmTag as default
|
|
10
|
-
};
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { defineComponent, createElementBlock, openBlock, normalizeStyle, normalizeClass, createVNode, createElementVNode, unref } from "vue";
|
|
2
|
-
import { Icon } from "@iconify/vue";
|
|
3
|
-
import ElmInlineText from "../typography/ElmInlineText.vue.mjs";
|
|
4
|
-
import { getLuminance } from "polished";
|
|
5
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
|
-
__name: "ElmTag",
|
|
7
|
-
props: {
|
|
8
|
-
text: {},
|
|
9
|
-
color: { default: "transparent" }
|
|
10
|
-
},
|
|
11
|
-
setup(__props) {
|
|
12
|
-
return (_ctx, _cache) => {
|
|
13
|
-
return openBlock(), createElementBlock("div", {
|
|
14
|
-
class: normalizeClass(_ctx.$style.tag),
|
|
15
|
-
style: normalizeStyle({ "--color": _ctx.color })
|
|
16
|
-
}, [
|
|
17
|
-
createVNode(unref(Icon), {
|
|
18
|
-
icon: "tabler:tag",
|
|
19
|
-
class: normalizeClass(_ctx.$style.icon),
|
|
20
|
-
style: normalizeStyle({
|
|
21
|
-
backgroundColor: _ctx.color,
|
|
22
|
-
"--font-color": unref(getLuminance)(_ctx.color) > 0.5 ? "rgba(0,0,0,0.7)" : "rgba(255,255,255,0.7)"
|
|
23
|
-
})
|
|
24
|
-
}, null, 8, ["class", "style"]),
|
|
25
|
-
createElementVNode("div", {
|
|
26
|
-
class: normalizeClass(_ctx.$style.text)
|
|
27
|
-
}, [
|
|
28
|
-
createVNode(ElmInlineText, {
|
|
29
|
-
style: { color: "unset" },
|
|
30
|
-
text: _ctx.text
|
|
31
|
-
}, null, 8, ["text"])
|
|
32
|
-
], 2)
|
|
33
|
-
], 6);
|
|
34
|
-
};
|
|
35
|
-
}
|
|
36
|
-
});
|
|
37
|
-
export {
|
|
38
|
-
_sfc_main as default
|
|
39
|
-
};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
(function() {
|
|
2
|
-
"use strict";
|
|
3
|
-
try {
|
|
4
|
-
if (typeof document != "undefined") {
|
|
5
|
-
var elementStyle = document.createElement("style");
|
|
6
|
-
elementStyle.appendChild(document.createTextNode("._tag_xg111_1{display:inline-flex;width:-moz-min-content;width:min-content;flex-direction:row;flex-wrap:nowrap;justify-content:flex-start;align-items:center;border-width:1px;border-style:solid;border-radius:.25rem;border-color:var(--color);color:#000000b3}[data-theme=dark] ._tag_xg111_1{color:#ffffffb3}._icon_xg111_18{display:block;line-height:1;margin:0;padding:.25rem;color:var(--font-color);border-radius:.125rem 0 0 .125rem}._text_xg111_27{white-space:nowrap;padding-inline:.5rem}"));
|
|
7
|
-
document.head.appendChild(elementStyle);
|
|
8
|
-
}
|
|
9
|
-
} catch (e) {
|
|
10
|
-
console.error("vite-plugin-css-injected-by-js", e);
|
|
11
|
-
}
|
|
12
|
-
})();
|
|
13
|
-
const tag = "_tag_xg111_1";
|
|
14
|
-
const icon = "_icon_xg111_18";
|
|
15
|
-
const text = "_text_xg111_27";
|
|
16
|
-
const style0 = {
|
|
17
|
-
tag,
|
|
18
|
-
icon,
|
|
19
|
-
text
|
|
20
|
-
};
|
|
21
|
-
export {
|
|
22
|
-
style0 as default,
|
|
23
|
-
icon,
|
|
24
|
-
tag,
|
|
25
|
-
text
|
|
26
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export interface ElmTotpProps {
|
|
2
|
-
length: number;
|
|
3
|
-
focusOnMount?: boolean;
|
|
4
|
-
loading?: boolean;
|
|
5
|
-
}
|
|
6
|
-
declare const _default: import('vue').DefineComponent<ElmTotpProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ElmTotpProps> & Readonly<{}>, {
|
|
7
|
-
loading: boolean;
|
|
8
|
-
focusOnMount: boolean;
|
|
9
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
10
|
-
targetRef: HTMLInputElement;
|
|
11
|
-
}, HTMLDivElement>;
|
|
12
|
-
export default _default;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import _sfc_main from "./ElmTotp.vue2.mjs";
|
|
2
|
-
import style0 from "./ElmTotp.vue3.mjs";
|
|
3
|
-
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const cssModules = {
|
|
5
|
-
"$style": style0
|
|
6
|
-
};
|
|
7
|
-
const ElmTotp = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules]]);
|
|
8
|
-
export {
|
|
9
|
-
ElmTotp as default
|
|
10
|
-
};
|