@sit-onyx/mdc 0.1.0-dev-20260402070512 → 0.1.0-dev-20260402143706
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.
|
@@ -41,7 +41,7 @@ function C(e, t = {}) {
|
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
//#endregion
|
|
44
|
-
//#region ../../node_modules/.pnpm/@nuxtjs+mdc@0.21.
|
|
44
|
+
//#region ../../node_modules/.pnpm/@nuxtjs+mdc@0.21.1_magicast@0.5.2/node_modules/@nuxtjs/mdc/dist/runtime/utils/index.js
|
|
45
45
|
function w(e, t) {
|
|
46
46
|
return t.reduce((t, n) => {
|
|
47
47
|
let r = T(e, n);
|
|
@@ -52,7 +52,7 @@ function T(e, t) {
|
|
|
52
52
|
return t.split(".").reduce((e, t) => e && e[t], e);
|
|
53
53
|
}
|
|
54
54
|
//#endregion
|
|
55
|
-
//#region ../../node_modules/.pnpm/@nuxtjs+mdc@0.21.
|
|
55
|
+
//#region ../../node_modules/.pnpm/@nuxtjs+mdc@0.21.1_magicast@0.5.2/node_modules/@nuxtjs/mdc/dist/runtime/components/MDCRenderer.vue
|
|
56
56
|
var E = "default", D = /^@|^v-on:/, O = /^:|^v-bind:/, k = /^v-model/, A = [
|
|
57
57
|
"select",
|
|
58
58
|
"textarea",
|
package/dist/index.js
CHANGED
|
@@ -229,9 +229,9 @@ var j = /* @__PURE__ */ k(se, [["render", A], ["__scopeId", "data-v-d52859e7"]])
|
|
|
229
229
|
},
|
|
230
230
|
setup(t, { expose: n }) {
|
|
231
231
|
let a = t, { densityClass: o } = D(a), s = m(!1), c = m(), l = async () => {
|
|
232
|
-
let { parseMarkdown: e } = await import("./runtime-
|
|
232
|
+
let { parseMarkdown: e } = await import("./runtime-BpOoakXC.js");
|
|
233
233
|
return e;
|
|
234
|
-
}, d = ee(() => import("./MDCRenderer-
|
|
234
|
+
}, d = ee(() => import("./MDCRenderer-DZNu39aU.js"));
|
|
235
235
|
ne(() => a.markdown, async () => {
|
|
236
236
|
s.value = !0;
|
|
237
237
|
try {
|
|
@@ -16903,7 +16903,7 @@ function my(e) {
|
|
|
16903
16903
|
};
|
|
16904
16904
|
}
|
|
16905
16905
|
//#endregion
|
|
16906
|
-
//#region ../../node_modules/.pnpm/@nuxtjs+mdc@0.21.
|
|
16906
|
+
//#region ../../node_modules/.pnpm/@nuxtjs+mdc@0.21.1_magicast@0.5.2/node_modules/@nuxtjs/mdc/dist/runtime/parser/handlers/emphasis.js
|
|
16907
16907
|
function hy(e, t) {
|
|
16908
16908
|
let n = {
|
|
16909
16909
|
type: "element",
|
|
@@ -16931,7 +16931,7 @@ function _y(e, t = 4) {
|
|
|
16931
16931
|
return n.push(e.slice(r)), n.join("");
|
|
16932
16932
|
}
|
|
16933
16933
|
//#endregion
|
|
16934
|
-
//#region ../../node_modules/.pnpm/@nuxtjs+mdc@0.21.
|
|
16934
|
+
//#region ../../node_modules/.pnpm/@nuxtjs+mdc@0.21.1_magicast@0.5.2/node_modules/@nuxtjs/mdc/dist/runtime/parser/handlers/utils.js
|
|
16935
16935
|
function vy(e) {
|
|
16936
16936
|
if (!e?.trim()) return {
|
|
16937
16937
|
language: void 0,
|
|
@@ -16960,7 +16960,7 @@ function xy(e) {
|
|
|
16960
16960
|
return t && t[1];
|
|
16961
16961
|
}
|
|
16962
16962
|
//#endregion
|
|
16963
|
-
//#region ../../node_modules/.pnpm/@nuxtjs+mdc@0.21.
|
|
16963
|
+
//#region ../../node_modules/.pnpm/@nuxtjs+mdc@0.21.1_magicast@0.5.2/node_modules/@nuxtjs/mdc/dist/runtime/parser/handlers/code.js
|
|
16964
16964
|
var Sy = (e, t) => {
|
|
16965
16965
|
let { language: n = "text", highlights: r, filename: i, meta: a } = vy((t.lang || "") + " " + (t.meta || "")), o = t.value ? _y(t.value + "\n") : "", s = {
|
|
16966
16966
|
type: "element",
|
|
@@ -16987,7 +16987,7 @@ var Sy = (e, t) => {
|
|
|
16987
16987
|
}, e.patch(t, s), s;
|
|
16988
16988
|
};
|
|
16989
16989
|
//#endregion
|
|
16990
|
-
//#region ../../node_modules/.pnpm/@nuxtjs+mdc@0.21.
|
|
16990
|
+
//#region ../../node_modules/.pnpm/@nuxtjs+mdc@0.21.1_magicast@0.5.2/node_modules/@nuxtjs/mdc/dist/runtime/parser/handlers/html.js
|
|
16991
16991
|
function Cy(e, t) {
|
|
16992
16992
|
let n = xy(t.value);
|
|
16993
16993
|
if (n && /[A-Z]/.test(n) && (t.value = t.value.replace(n, c(n))), e.dangerous || e.options?.allowDangerousHtml) {
|
|
@@ -16999,7 +16999,7 @@ function Cy(e, t) {
|
|
|
16999
16999
|
}
|
|
17000
17000
|
}
|
|
17001
17001
|
//#endregion
|
|
17002
|
-
//#region ../../node_modules/.pnpm/@nuxtjs+mdc@0.21.
|
|
17002
|
+
//#region ../../node_modules/.pnpm/@nuxtjs+mdc@0.21.1_magicast@0.5.2/node_modules/@nuxtjs/mdc/dist/runtime/parser/handlers/link.js
|
|
17003
17003
|
function wy(e, t) {
|
|
17004
17004
|
let n = {
|
|
17005
17005
|
...t.attributes || {},
|
|
@@ -17015,7 +17015,7 @@ function wy(e, t) {
|
|
|
17015
17015
|
return e.patch(t, r), e.applyData(t, r);
|
|
17016
17016
|
}
|
|
17017
17017
|
//#endregion
|
|
17018
|
-
//#region ../../node_modules/.pnpm/@nuxtjs+mdc@0.21.
|
|
17018
|
+
//#region ../../node_modules/.pnpm/@nuxtjs+mdc@0.21.1_magicast@0.5.2/node_modules/@nuxtjs/mdc/dist/runtime/parser/handlers/list.js
|
|
17019
17019
|
function Ty(e, t) {
|
|
17020
17020
|
let n = {}, r = e.all(t), i = -1;
|
|
17021
17021
|
for (typeof t.start == "number" && t.start !== 1 && (n.start = t.start); ++i < r.length;) {
|
|
@@ -17035,7 +17035,7 @@ function Ty(e, t) {
|
|
|
17035
17035
|
return e.patch(t, a), e.applyData(t, a);
|
|
17036
17036
|
}
|
|
17037
17037
|
//#endregion
|
|
17038
|
-
//#region ../../node_modules/.pnpm/@nuxtjs+mdc@0.21.
|
|
17038
|
+
//#region ../../node_modules/.pnpm/@nuxtjs+mdc@0.21.1_magicast@0.5.2/node_modules/@nuxtjs/mdc/dist/runtime/parser/handlers/paragraph.js
|
|
17039
17039
|
function Ey(e, n) {
|
|
17040
17040
|
if (n.children && n.children[0] && n.children[0].type === "html") {
|
|
17041
17041
|
let r = c(xy(n.children[0].value) || "div");
|
|
@@ -17050,7 +17050,7 @@ function Ey(e, n) {
|
|
|
17050
17050
|
return e.patch(n, r), e.applyData(n, r);
|
|
17051
17051
|
}
|
|
17052
17052
|
//#endregion
|
|
17053
|
-
//#region ../../node_modules/.pnpm/@nuxtjs+mdc@0.21.
|
|
17053
|
+
//#region ../../node_modules/.pnpm/@nuxtjs+mdc@0.21.1_magicast@0.5.2/node_modules/@nuxtjs/mdc/dist/runtime/parser/handlers/image.js
|
|
17054
17054
|
function Dy(e, t) {
|
|
17055
17055
|
let n = {
|
|
17056
17056
|
...t.attributes,
|
|
@@ -17066,7 +17066,7 @@ function Dy(e, t) {
|
|
|
17066
17066
|
return e.patch(t, r), e.applyData(t, r);
|
|
17067
17067
|
}
|
|
17068
17068
|
//#endregion
|
|
17069
|
-
//#region ../../node_modules/.pnpm/@nuxtjs+mdc@0.21.
|
|
17069
|
+
//#region ../../node_modules/.pnpm/@nuxtjs+mdc@0.21.1_magicast@0.5.2/node_modules/@nuxtjs/mdc/dist/runtime/parser/handlers/strong.js
|
|
17070
17070
|
function Oy(e, t) {
|
|
17071
17071
|
let n = {
|
|
17072
17072
|
type: "element",
|
|
@@ -17077,7 +17077,7 @@ function Oy(e, t) {
|
|
|
17077
17077
|
return e.patch(t, n), e.applyData(t, n);
|
|
17078
17078
|
}
|
|
17079
17079
|
//#endregion
|
|
17080
|
-
//#region ../../node_modules/.pnpm/@nuxtjs+mdc@0.21.
|
|
17080
|
+
//#region ../../node_modules/.pnpm/@nuxtjs+mdc@0.21.1_magicast@0.5.2/node_modules/@nuxtjs/mdc/dist/runtime/parser/handlers/inlineCode.js
|
|
17081
17081
|
function ky(e, t) {
|
|
17082
17082
|
let n = t.attributes?.language || t.attributes?.lang, r = {
|
|
17083
17083
|
type: "text",
|
|
@@ -17093,7 +17093,7 @@ function ky(e, t) {
|
|
|
17093
17093
|
return delete i.properties.class, n && (i.properties.language = n, delete i.properties.lang, a.push("language-" + n)), i.properties.className = a.join(" "), e.patch(t, i), e.applyData(t, i);
|
|
17094
17094
|
}
|
|
17095
17095
|
//#endregion
|
|
17096
|
-
//#region ../../node_modules/.pnpm/@nuxtjs+mdc@0.21.
|
|
17096
|
+
//#region ../../node_modules/.pnpm/@nuxtjs+mdc@0.21.1_magicast@0.5.2/node_modules/@nuxtjs/mdc/dist/runtime/parser/handlers/containerComponent.js
|
|
17097
17097
|
function Ay(e, t) {
|
|
17098
17098
|
let n = {
|
|
17099
17099
|
type: "element",
|
|
@@ -17107,7 +17107,7 @@ function Ay(e, t) {
|
|
|
17107
17107
|
return e.patch(t, n), n.attributes = t.attributes, n.fmAttributes = t.fmAttributes, n;
|
|
17108
17108
|
}
|
|
17109
17109
|
//#endregion
|
|
17110
|
-
//#region ../../node_modules/.pnpm/@nuxtjs+mdc@0.21.
|
|
17110
|
+
//#region ../../node_modules/.pnpm/@nuxtjs+mdc@0.21.1_magicast@0.5.2/node_modules/@nuxtjs/mdc/dist/runtime/parser/handlers/index.js
|
|
17111
17111
|
var jy = {
|
|
17112
17112
|
emphasis: hy,
|
|
17113
17113
|
code: Sy,
|
|
@@ -17146,7 +17146,7 @@ var jy = {
|
|
|
17146
17146
|
}
|
|
17147
17147
|
};
|
|
17148
17148
|
//#endregion
|
|
17149
|
-
//#region ../../node_modules/.pnpm/@nuxtjs+mdc@0.21.
|
|
17149
|
+
//#region ../../node_modules/.pnpm/@nuxtjs+mdc@0.21.1_magicast@0.5.2/node_modules/@nuxtjs/mdc/dist/runtime/utils/ast.js
|
|
17150
17150
|
function Ny(e) {
|
|
17151
17151
|
return e.type === "comment" ? "" : e.type === "text" ? e.value || "" : (e.children || []).reduce((e, t) => e.concat(Ny(t)), "");
|
|
17152
17152
|
}
|
|
@@ -17154,7 +17154,7 @@ function Py(e, t = 2, n = 0) {
|
|
|
17154
17154
|
return !Array.isArray(e.children) || n === t ? [e] : [e, ...e.children.reduce((e, r) => e.concat(Py(r, t, n + 1)), [])];
|
|
17155
17155
|
}
|
|
17156
17156
|
//#endregion
|
|
17157
|
-
//#region ../../node_modules/.pnpm/@nuxtjs+mdc@0.21.
|
|
17157
|
+
//#region ../../node_modules/.pnpm/@nuxtjs+mdc@0.21.1_magicast@0.5.2/node_modules/@nuxtjs/mdc/dist/runtime/parser/toc.js
|
|
17158
17158
|
var Fy = [
|
|
17159
17159
|
"h2",
|
|
17160
17160
|
"h3",
|
|
@@ -17220,7 +17220,7 @@ function Jy(e, t) {
|
|
|
17220
17220
|
return typeof e == "string" ? (t || (e = e.toLowerCase()), e.replace(Gy, "").replace(/ /g, "-")) : "";
|
|
17221
17221
|
}
|
|
17222
17222
|
//#endregion
|
|
17223
|
-
//#region ../../node_modules/.pnpm/@nuxtjs+mdc@0.21.
|
|
17223
|
+
//#region ../../node_modules/.pnpm/@nuxtjs+mdc@0.21.1_magicast@0.5.2/node_modules/@nuxtjs/mdc/dist/runtime/parser/utils/props.js
|
|
17224
17224
|
var Yy = ["object"], Xy = ["srcdoc", "formaction"], Zy = [
|
|
17225
17225
|
"javascript:",
|
|
17226
17226
|
"data:text/html",
|
|
@@ -17248,7 +17248,7 @@ var $y = (e, t) => (e = e.toLowerCase(), e.startsWith("on") || Xy.includes(e) ?
|
|
|
17248
17248
|
return r || console.warn(`[@nuxtjs/mdc] removing unsafe attribute: ${e}="${n}"`), r;
|
|
17249
17249
|
})), e === "pre" && typeof t.highlights == "string" && (t.highlights = t.highlights.split(" ").map((e) => Number.parseInt(e))), t);
|
|
17250
17250
|
//#endregion
|
|
17251
|
-
//#region ../../node_modules/.pnpm/@nuxtjs+mdc@0.21.
|
|
17251
|
+
//#region ../../node_modules/.pnpm/@nuxtjs+mdc@0.21.1_magicast@0.5.2/node_modules/@nuxtjs/mdc/dist/runtime/parser/compiler.js
|
|
17252
17252
|
function tb(e = {}) {
|
|
17253
17253
|
let t = new qy();
|
|
17254
17254
|
function n(r, i) {
|
|
@@ -17312,7 +17312,7 @@ function tb(e = {}) {
|
|
|
17312
17312
|
};
|
|
17313
17313
|
}
|
|
17314
17314
|
//#endregion
|
|
17315
|
-
//#region ../../node_modules/.pnpm/@nuxtjs+mdc@0.21.
|
|
17315
|
+
//#region ../../node_modules/.pnpm/@nuxtjs+mdc@0.21.1_magicast@0.5.2/node_modules/@nuxtjs/mdc/dist/runtime/parser/index.js
|
|
17316
17316
|
var nb, rb, ib = async (e = {}) => {
|
|
17317
17317
|
nb ||= await import(
|
|
17318
17318
|
"#mdc-imports"
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sit-onyx/mdc",
|
|
3
3
|
"description": "Wrapper for the @nuxtjs/mdc package using the onyx design system created by Schwarz IT",
|
|
4
|
-
"version": "0.1.0-dev-
|
|
4
|
+
"version": "0.1.0-dev-20260402143706",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"author": "Schwarz IT KG",
|
|
7
7
|
"license": "Apache-2.0",
|
|
@@ -32,17 +32,17 @@
|
|
|
32
32
|
"peerDependencies": {
|
|
33
33
|
"@nuxtjs/mdc": ">= 0.20.2",
|
|
34
34
|
"vue": ">= 3.5.0",
|
|
35
|
-
"sit-onyx": "^1.12.0-dev-
|
|
35
|
+
"sit-onyx": "^1.12.0-dev-20260402143706"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@axe-core/playwright": "^4.11.1",
|
|
39
|
-
"@nuxtjs/mdc": "~0.21.
|
|
39
|
+
"@nuxtjs/mdc": "~0.21.1",
|
|
40
40
|
"@playwright/experimental-ct-vue": "1.57.0",
|
|
41
41
|
"@playwright/test": "1.57.0",
|
|
42
42
|
"@vue/compiler-dom": "3.5.31",
|
|
43
43
|
"@sit-onyx/playwright-utils": "^1.2.1",
|
|
44
44
|
"@sit-onyx/shared": "^0.1.0",
|
|
45
|
-
"sit-onyx": "^1.12.0-dev-
|
|
45
|
+
"sit-onyx": "^1.12.0-dev-20260402143706"
|
|
46
46
|
},
|
|
47
47
|
"scripts": {
|
|
48
48
|
"build": "vite build",
|