@elmethis/core 1.0.0-alpha.162 → 1.0.0-alpha.163

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.
@@ -1,63 +1,99 @@
1
- (function() {
2
- "use strict";
3
- try {
4
- if (typeof document != "undefined") {
5
- var elementStyle = document.createElement("style");
6
- elementStyle.appendChild(document.createTextNode(".elmethis-bulleted-list{margin-block:2rem;opacity:var(--opacity);transition:opacity .8s;box-sizing:border-box;padding-left:1.25rem}.elmethis-bulleted-list li{box-sizing:border-box;padding-left:.5rem;margin-block:.75rem}.elmethis-bulleted-list li::marker{content:url(data:image/svg+xml;base64,ICA8c3ZnCiAgICB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnCiAgICB2aWV3Qm94PScwIDAgMTYgMTYnCiAgICB3aWR0aD0nMTJweCcKICAgIGhlaWdodD0nMTJweCcKICA+CiAgICA8cGF0aAogICAgICBmaWxsPScjNDQ5NzYzJwogICAgICBvcGFjaXR5PScwLjgnCiAgICAgIGQ9J00zIDMuNzMyYTEuNSAxLjUgMCAwIDEgMi4zMDUtMS4yNjVsNi43MDYgNC4yNjdhMS41IDEuNSAwIDAgMSAwIDIuNTMxbC02LjcwNiA0LjI2OEExLjUgMS41IDAgMCAxIDMgMTIuMjY3VjMuNzMyWicKICAgIC8+CiAgPC9zdmc+)}.elmethis-bulleted-list li ul li::marker{content:url(data:image/svg+xml;base64,ICA8c3ZnCiAgICB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnCiAgICB2aWV3Qm94PScwIDAgMjQgMjQnCiAgICB3aWR0aD0nMTJweCcKICAgIGhlaWdodD0nMTJweCcKICAgIHN0cm9rZT0nIzQ0OTc2MycKICAgIGZpbGw9J3RyYW5zcGFyZW50JwogID4KICAgIDxwYXRoCiAgICAgIHN0cm9rZUxpbmVjYXA9J3JvdW5kJwogICAgICBzdHJva2VMaW5lam9pbj0ncm91bmQnCiAgICAgIGQ9J001LjI1IDUuNjUzYzAtLjg1Ni45MTctMS4zOTggMS42NjctLjk4NmwxMS41NCA2LjM0N2ExLjEyNSAxLjEyNSAwIDAgMSAwIDEuOTcybC0xMS41NCA2LjM0N2ExLjEyNSAxLjEyNSAwIDAgMS0xLjY2Ny0uOTg2VjUuNjUzWicKICAgIC8+CiAgPC9zdmc+)}.elmethis-bulleted-list li ul li ul li::marker{content:url(data:image/svg+xml;base64,ICA8c3ZnCiAgICB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnCiAgICB2aWV3Qm94PScwIDAgMjAgMjAnCiAgICB3aWR0aD0nMTJweCcKICAgIGhlaWdodD0nMTJweCcKICAgIHN0cm9rZT0nIzQ0OTc2MycKICAgIGZpbGw9JyM0NDk3NjMnCiAgPgogICAgPHBhdGgKICAgICAgZmlsbFJ1bGU9J2V2ZW5vZGQnCiAgICAgIGQ9J004LjIyIDUuMjJhLjc1Ljc1IDAgMCAxIDEuMDYgMGw0LjI1IDQuMjVhLjc1Ljc1IDAgMCAxIDAgMS4wNmwtNC4yNSA0LjI1YS43NS43NSAwIDAgMS0xLjA2LTEuMDZMMTEuOTQgMTAgOC4yMiA2LjI4YS43NS43NSAwIDAgMSAwLTEuMDZaJwogICAgICBjbGlwUnVsZT0nZXZlbm9kZCcKICAgIC8+CiAgPC9zdmc+)}\n.elmethis-numbered-list{margin-block:2rem;opacity:var(--opacity);transition:opacity .8s;box-sizing:border-box;padding-left:1.25rem}.elmethis-numbered-list li{box-sizing:border-box;padding-left:.25rem;margin-block:.75rem;margin-left:.25rem;list-style-type:decimal}.elmethis-numbered-list li::marker{color:#9771bd}.elmethis-numbered-list li ol li{list-style-type:lower-alpha}.elmethis-numbered-list li ol li ol li{list-style-type:lower-roman}.elmethis-numbered-list li ol li ol li ol li{list-style-type:lower-greek}\n.elmethis-table-header-thead{text-align:left;background-color:#000c;color:#fffc;transition:background-color .4s,color .4s}[data-theme=dark] .elmethis-table-header-thead{background-color:#fffc;color:#000c}.elmethis-table-header-thead tr td,.elmethis-table-header-thead tr th{color:#ffffffb3}[data-theme=dark] .elmethis-table-header-thead tr td,[data-theme=dark] .elmethis-table-header-thead tr th{color:#000000b3}.elmethis-table-header-thead tr td::-moz-selection,.elmethis-table-header-thead tr th::-moz-selection{color:#000000b3;background-color:#ffffffb3;background-color:var(--color, rgba(255, 255, 255, .7))}.elmethis-table-header-thead tr td::selection,.elmethis-table-header-thead tr th::selection{color:#000000b3;background-color:#ffffffb3;background-color:var(--color, rgba(255, 255, 255, .7))}[data-theme=dark] .elmethis-table-header-thead tr td::-moz-selection,[data-theme=dark] .elmethis-table-header-thead tr th::-moz-selection{color:#ffffffb3;background-color:#000000b3;background-color:var(--color, rgba(0, 0, 0, .7))}[data-theme=dark] .elmethis-table-header-thead tr td::selection,[data-theme=dark] .elmethis-table-header-thead tr th::selection{color:#ffffffb3;background-color:#000000b3;background-color:var(--color, rgba(0, 0, 0, .7))}\n.elmethis-table-header-body tr{transition:background-color .2s}.elmethis-table-header-body tr:nth-child(odd){background-color:transparent}.elmethis-table-header-body tr:nth-child(2n){background-color:#00000006}[data-theme=dark] .elmethis-table-header-body tr:nth-child(2n){background-color:#ffffff06}.elmethis-table-header-body tr:hover,[data-theme=dark] .elmethis-table-header-body tr:hover{background-color:#6987b826}.elmethis-table-header-body tr td,.elmethis-table-header-body tr th{color:#000000b3}[data-theme=dark] .elmethis-table-header-body tr td,[data-theme=dark] .elmethis-table-header-body tr th{color:#ffffffb3}.elmethis-table-header-body tr td::-moz-selection,.elmethis-table-header-body tr th::-moz-selection{color:#ffffffb3;background-color:#000000b3;background-color:var(--color, rgba(0, 0, 0, .7))}.elmethis-table-header-body tr td::selection,.elmethis-table-header-body tr th::selection{color:#ffffffb3;background-color:#000000b3;background-color:var(--color, rgba(0, 0, 0, .7))}[data-theme=dark] .elmethis-table-header-body tr td::-moz-selection,[data-theme=dark] .elmethis-table-header-body tr th::-moz-selection{color:#000000b3;background-color:#ffffffb3;background-color:var(--color, rgba(255, 255, 255, .7))}[data-theme=dark] .elmethis-table-header-body tr td::selection,[data-theme=dark] .elmethis-table-header-body tr th::selection{color:#000000b3;background-color:#ffffffb3;background-color:var(--color, rgba(255, 255, 255, .7))}"));
7
- document.head.appendChild(elementStyle);
8
- }
9
- } catch (e) {
10
- console.error("vite-plugin-css-injected-by-js", e);
11
- }
12
- })();
13
- import { defineComponent, markRaw, createBlock, openBlock, resolveDynamicComponent, h } from "vue";
14
- import ElmInlineText from "../inline/ElmInlineText.vue.mjs";
15
- import ElmInlineLink from "../inline/ElmInlineLink.vue.mjs";
16
- import ElmInlineIcon from "../inline/ElmInlineIcon.vue.mjs";
17
- import ElmCallout from "../typography/ElmCallout.vue.mjs";
18
- import _sfc_main$5 from "../typography/ElmBulletedList.vue.mjs";
19
-
20
- import _sfc_main$4 from "../typography/ElmNumberedList.vue.mjs";
21
-
22
- import ElmListItem from "../typography/ElmListItem.vue.mjs";
23
- import ElmBlockQuote from "../typography/ElmBlockQuote.vue.mjs";
24
- import ElmDivider from "../typography/ElmDivider.vue.mjs";
25
- import ElmHeading1 from "../headings/ElmHeading1.vue.mjs";
26
- import ElmHeading2 from "../headings/ElmHeading2.vue.mjs";
27
- import ElmHeading3 from "../headings/ElmHeading3.vue.mjs";
28
- import ElmHeading4 from "../headings/ElmHeading4.vue.mjs";
29
- import ElmHeading5 from "../headings/ElmHeading5.vue.mjs";
30
- import ElmHeading6 from "../headings/ElmHeading6.vue.mjs";
31
- import ElmCodeBlock from "../code/ElmCodeBlock.vue.mjs";
32
- import ElmParagraph from "../typography/ElmParagraph.vue.mjs";
33
- import ElmTable from "../table/ElmTable.vue.mjs";
34
- import _sfc_main$3 from "../table/ElmTableHeader.vue.mjs";
35
-
36
- import _sfc_main$2 from "../table/ElmTableBody.vue.mjs";
37
-
38
- import _sfc_main$1 from "../table/ElmTableRow.vue.mjs";
39
- import ElmTableCell from "../table/ElmTableCell.vue.mjs";
40
- import ElmKatex from "../code/ElmKatex.vue.mjs";
41
- import ElmImage from "../media/ElmImage.vue.mjs";
42
- import ElmBookmark from "../navigation/ElmBookmark.vue.mjs";
43
- import ElmToggle from "../containments/ElmToggle.vue.mjs";
44
- import ElmCheckbox from "../form/ElmCheckbox.vue.mjs";
45
- import ElmFile from "../media/ElmFile.vue.mjs";
46
- import ElmColumn from "../containments/ElmColumn.vue.mjs";
47
- import ElmColumnList from "../containments/ElmColumnList.vue.mjs";
1
+ import { defineComponent, defineAsyncComponent, markRaw, createBlock, openBlock, resolveDynamicComponent, h } from "vue";
48
2
  const _sfc_main = /* @__PURE__ */ defineComponent({
49
3
  __name: "ElmJsonRenderer",
50
4
  props: {
51
5
  json: {}
52
6
  },
53
7
  setup(__props) {
8
+ const ElmInlineText = defineAsyncComponent(
9
+ () => import("../inline/ElmInlineText.vue.mjs")
10
+ );
11
+ const ElmInlineLink = defineAsyncComponent(
12
+ () => import("../inline/ElmInlineLink.vue.mjs")
13
+ );
14
+ const ElmInlineIcon = defineAsyncComponent(
15
+ () => import("../inline/ElmInlineIcon.vue.mjs")
16
+ );
17
+ const ElmCallout = defineAsyncComponent(
18
+ () => import("../typography/ElmCallout.vue.mjs")
19
+ );
20
+ const ElmBulletedList = defineAsyncComponent(
21
+ () => import("../typography/ElmBulletedList.vue3.mjs")
22
+ );
23
+ const ElmNumberedList = defineAsyncComponent(
24
+ () => import("../typography/ElmNumberedList.vue3.mjs")
25
+ );
26
+ const ElmListItem = defineAsyncComponent(
27
+ () => import("../typography/ElmListItem.vue.mjs")
28
+ );
29
+ const ElmBlockQuote = defineAsyncComponent(
30
+ () => import("../typography/ElmBlockQuote.vue.mjs")
31
+ );
32
+ const ElmDivider = defineAsyncComponent(
33
+ () => import("../typography/ElmDivider.vue.mjs")
34
+ );
35
+ const ElmHeading1 = defineAsyncComponent(
36
+ () => import("../headings/ElmHeading1.vue.mjs")
37
+ );
38
+ const ElmHeading2 = defineAsyncComponent(
39
+ () => import("../headings/ElmHeading2.vue.mjs")
40
+ );
41
+ const ElmHeading3 = defineAsyncComponent(
42
+ () => import("../headings/ElmHeading3.vue.mjs")
43
+ );
44
+ const ElmHeading4 = defineAsyncComponent(
45
+ () => import("../headings/ElmHeading4.vue.mjs")
46
+ );
47
+ const ElmHeading5 = defineAsyncComponent(
48
+ () => import("../headings/ElmHeading5.vue.mjs")
49
+ );
50
+ const ElmHeading6 = defineAsyncComponent(
51
+ () => import("../headings/ElmHeading6.vue.mjs")
52
+ );
53
+ const ElmCodeBlock = defineAsyncComponent(
54
+ () => import("../code/ElmCodeBlock.vue.mjs")
55
+ );
56
+ const ElmParagraph = defineAsyncComponent(
57
+ () => import("../typography/ElmParagraph.vue.mjs")
58
+ );
59
+ const ElmTable = defineAsyncComponent(() => import("../table/ElmTable.vue.mjs"));
60
+ const ElmTableHeader = defineAsyncComponent(
61
+ () => import("../table/ElmTableHeader.vue3.mjs")
62
+ );
63
+ const ElmTableBody = defineAsyncComponent(
64
+ () => import("../table/ElmTableBody.vue3.mjs")
65
+ );
66
+ const ElmTableRow = defineAsyncComponent(
67
+ () => import("../table/ElmTableRow.vue2.mjs")
68
+ );
69
+ const ElmTableCell = defineAsyncComponent(
70
+ () => import("../table/ElmTableCell.vue.mjs")
71
+ );
72
+ const ElmKatex = defineAsyncComponent(() => import("../code/ElmKatex.vue.mjs"));
73
+ const ElmImage = defineAsyncComponent(() => import("../media/ElmImage.vue.mjs"));
74
+ const ElmBookmark = defineAsyncComponent(
75
+ () => import("../navigation/ElmBookmark.vue.mjs")
76
+ );
77
+ const ElmToggle = defineAsyncComponent(
78
+ () => import("../containments/ElmToggle.vue.mjs")
79
+ );
80
+ const ElmCheckbox = defineAsyncComponent(
81
+ () => import("../form/ElmCheckbox.vue.mjs")
82
+ );
83
+ const ElmFile = defineAsyncComponent(() => import("../media/ElmFile.vue.mjs"));
84
+ const ElmColumn = defineAsyncComponent(
85
+ () => import("../containments/ElmColumn.vue.mjs")
86
+ );
87
+ const ElmColumnList = defineAsyncComponent(
88
+ () => import("../containments/ElmColumnList.vue.mjs")
89
+ );
54
90
  const componentMap = {
55
91
  ElmInlineText: markRaw(ElmInlineText),
56
92
  ElmInlineLink: markRaw(ElmInlineLink),
57
93
  ElmInlineIcon: markRaw(ElmInlineIcon),
58
94
  ElmCallout: markRaw(ElmCallout),
59
- ElmBulletedList: markRaw(_sfc_main$5),
60
- ElmNumberedList: markRaw(_sfc_main$4),
95
+ ElmBulletedList: markRaw(ElmBulletedList),
96
+ ElmNumberedList: markRaw(ElmNumberedList),
61
97
  ElmListItem: markRaw(ElmListItem),
62
98
  ElmBlockQuote: markRaw(ElmBlockQuote),
63
99
  ElmDivider: markRaw(ElmDivider),
@@ -70,9 +106,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
70
106
  ElmCodeBlock: markRaw(ElmCodeBlock),
71
107
  ElmParagraph: markRaw(ElmParagraph),
72
108
  ElmTable: markRaw(ElmTable),
73
- ElmTableHeader: markRaw(_sfc_main$3),
74
- ElmTableBody: markRaw(_sfc_main$2),
75
- ElmTableRow: markRaw(_sfc_main$1),
109
+ ElmTableHeader: markRaw(ElmTableHeader),
110
+ ElmTableBody: markRaw(ElmTableBody),
111
+ ElmTableRow: markRaw(ElmTableRow),
76
112
  ElmTableCell: markRaw(ElmTableCell),
77
113
  ElmKatex: markRaw(ElmKatex),
78
114
  ElmImage: markRaw(ElmImage),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elmethis/core",
3
- "version": "1.0.0-alpha.162",
3
+ "version": "1.0.0-alpha.163",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },