@orangelogic/design-system 3.66.0 → 3.68.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/library/chunks/{abnfDiagram-N423BO3Z.BdDkSL0S.js → abnfDiagram-N423BO3Z.H1zwr_k6.js} +3 -3
- package/library/chunks/{architectureDiagram-T3A2C74G.BPW98p0m.js → architectureDiagram-T3A2C74G.AxjW1Pvo.js} +5 -5
- package/library/chunks/{block-width.DJlTVJlj.js → block-width.DxRGvaf6.js} +1 -1
- package/library/chunks/{blockDiagram-VBNYF7ZC.2el4_mfU.js → blockDiagram-VBNYF7ZC.BA5YJ5tg.js} +6 -6
- package/library/chunks/{c4Diagram-5PPSVZJV.CB1meuC0.js → c4Diagram-5PPSVZJV.B1weqOqz.js} +3 -3
- package/library/chunks/{channel.Df7qi9B0.js → channel.Bqlqmufs.js} +1 -1
- package/library/chunks/{chunk-2GRJ4B5K.gGaxW0lA.js → chunk-2GRJ4B5K.BOBf1_FX.js} +1 -1
- package/library/chunks/{chunk-4I5QYGJK.BfgT5lel.js → chunk-4I5QYGJK.DfO_P7bO.js} +1 -1
- package/library/chunks/{chunk-5RXB4S5H.CF2ZeQiS.js → chunk-5RXB4S5H.oisV3Q1b.js} +5 -5
- package/library/chunks/{chunk-6Q2QTUOP.BKuPYCzj.js → chunk-6Q2QTUOP.ByglL7sM.js} +2 -2
- package/library/chunks/{chunk-7Z6QIM7H.ChD5saA-.js → chunk-7Z6QIM7H.BXSFN_6B.js} +6 -6
- package/library/chunks/{chunk-GF5L2VYU.D7Kyf8tv.js → chunk-GF5L2VYU.BBRVN_Sz.js} +5 -5
- package/library/chunks/{chunk-I66GZJ75.H0-SV6eJ.js → chunk-I66GZJ75.lUTR0Zxp.js} +1 -1
- package/library/chunks/{chunk-JQJVKLGR.vSmZrVfn.js → chunk-JQJVKLGR.dOAJ_eec.js} +7 -7
- package/library/chunks/{chunk-KBJHAD2P.BFtv98WB.js → chunk-KBJHAD2P.Bfz5cQAa.js} +1 -1
- package/library/chunks/{chunk-NSK5VX7P.CigvU-YZ.js → chunk-NSK5VX7P.BkWzMz1o.js} +1 -1
- package/library/chunks/{chunk-QR6OTTB3.DXgKvg29.js → chunk-QR6OTTB3.DyBl4spZ.js} +6 -6
- package/library/chunks/{chunk-UBXNYLIW.Cwnmh6rE.js → chunk-UBXNYLIW.BjkOeuJd.js} +2 -2
- package/library/chunks/{chunk-W5SLKNZC.BGc7e7pD.js → chunk-W5SLKNZC.DzlXmWcA.js} +1 -1
- package/library/chunks/{chunk-WRU74C26.DI6bT2w6.js → chunk-WRU74C26.BDl8PZFV.js} +3 -3
- package/library/chunks/{classDiagram-JCYQIIEL.64BYmngb.js → classDiagram-JCYQIIEL.P36yteOv.js} +12 -12
- package/library/chunks/{classDiagram-v2-OCEON4UE.BZauU1et.js → classDiagram-v2-OCEON4UE.C05djrx3.js} +12 -12
- package/library/chunks/{config-manager.e-4cpoFX.js → config-manager.BWLgjrhq.js} +1 -1
- package/library/chunks/{cynefinDiagram-MW4NZA55.DcUv6X--.js → cynefinDiagram-MW4NZA55.CN3dX-zy.js} +3 -3
- package/library/chunks/{dagre-VZM6K2ZE.REv4K_Qj.js → dagre-VZM6K2ZE.DpSsP2YW.js} +8 -8
- package/library/chunks/{diagram-7IWD3JNH.C6XfUay-.js → diagram-7IWD3JNH.C3K0gCHG.js} +4 -4
- package/library/chunks/{diagram-B4RE2ZJO.Bp-nT294.js → diagram-B4RE2ZJO.BULgC23C.js} +2 -2
- package/library/chunks/{diagram-LBJQPF4R.DM8MEbI5.js → diagram-LBJQPF4R.BmYYTkym.js} +3 -3
- package/library/chunks/{diagram-Q27KOJAE.DYhFE9pI.js → diagram-Q27KOJAE.Bj5ayV3p.js} +5 -5
- package/library/chunks/{diagram-UB23O5K3.BONLndDU.js → diagram-UB23O5K3.Bu_lTx_A.js} +3 -3
- package/library/chunks/{ebnfDiagram-BXEA7PRR.vgCVWkh_.js → ebnfDiagram-BXEA7PRR.Cg96HHIs.js} +3 -3
- package/library/chunks/{erDiagram-JOGREHBK.l02-sIjI.js → erDiagram-JOGREHBK.CrJ962th.js} +11 -11
- package/library/chunks/flowDiagram-UKHOOZJN.Bj_loY7-.js +16 -0
- package/library/chunks/{ganttDiagram-PKOTCBZU.CD-H_noy.js → ganttDiagram-PKOTCBZU.D216_p5R.js} +2 -2
- package/library/chunks/{gitGraphDiagram-DS77QQ5N.eu4pijfq.js → gitGraphDiagram-DS77QQ5N.BGTaYiUE.js} +2 -2
- package/library/chunks/{infoDiagram-6WML65LV.Xm33NlcD.js → infoDiagram-6WML65LV.BHVojFJh.js} +2 -2
- package/library/chunks/{ishikawaDiagram-WSZJBQD7.B-DjIT2K.js → ishikawaDiagram-WSZJBQD7.nZsYnPcQ.js} +3 -3
- package/library/chunks/{journeyDiagram-NVQOT4AX.ByuFaAO4.js → journeyDiagram-NVQOT4AX.BXUxAk98.js} +2 -2
- package/library/chunks/{kanban-definition-27J2QSJJ.BEAgE6i7.js → kanban-definition-27J2QSJJ.Bg8-oEtc.js} +8 -8
- package/library/chunks/{katex.DaGFosgJ.js → katex.BqirFtOb.js} +1 -1
- package/library/chunks/katex.KcI9vfm6.js +21947 -0
- package/library/chunks/{markdown.Ce5rh6vN.js → markdown.C1P0ctPs.js} +186 -99
- package/library/chunks/{mermaid.core.CUTdrxBG.js → mermaid.core.m1JI7kDY.js} +48 -48
- package/library/chunks/{mindmap-definition-FAOFIHXS.rbw_pav-.js → mindmap-definition-FAOFIHXS.DwjOzYq5.js} +10 -10
- package/library/chunks/{pegDiagram-VL7TDLO6.BAxarQjC.js → pegDiagram-VL7TDLO6.BaVddVr3.js} +3 -3
- package/library/chunks/{pieDiagram-7S7Q4E2Y.Du6akIPM.js → pieDiagram-7S7Q4E2Y.lZiCqBKs.js} +3 -3
- package/library/chunks/{quadrantDiagram-CIZ2JOQS.0LTMJXU8.js → quadrantDiagram-CIZ2JOQS.DswnHa_z.js} +1 -1
- package/library/chunks/{railroadDiagram-AXF67PYL.BU5cQCmX.js → railroadDiagram-AXF67PYL.RYtWvnP4.js} +3 -3
- package/library/chunks/{requirementDiagram-LRYGKXZP.BM4tLaE8.js → requirementDiagram-LRYGKXZP.BhxZAEJL.js} +10 -10
- package/library/chunks/{sankeyDiagram-W5VNT64P.r2kIOMLC.js → sankeyDiagram-W5VNT64P.Dk8npZSg.js} +1 -1
- package/library/chunks/{sequenceDiagram-SI44F4Z6.CJ50A-EW.js → sequenceDiagram-SI44F4Z6.BNjBc769.js} +4 -4
- package/library/chunks/{src.CMHHq5o2.js → src.CIOsZIcI.js} +2 -2
- package/library/chunks/{stateDiagram-OKZ733FA.DZ7h0fa_.js → stateDiagram-OKZ733FA.DkiIgxjd.js} +12 -12
- package/library/chunks/{stateDiagram-v2-UEYNNEHI.BhaYePWf.js → stateDiagram-v2-UEYNNEHI.oVj_Ex1_.js} +12 -12
- package/library/chunks/{swimlanes-SLNWSIFB.B31m3AJi.js → swimlanes-SLNWSIFB.DKU7qXJ7.js} +8 -8
- package/library/chunks/{swimlanesDiagram-ULZ7WXOC.DkcvdPqC.js → swimlanesDiagram-ULZ7WXOC.DYwYMO_K.js} +12 -12
- package/library/chunks/{timeline-definition-Z64GVDOM.CNKRW4xi.js → timeline-definition-Z64GVDOM.agRZ87Zs.js} +3 -3
- package/library/chunks/{vennDiagram-T6HMQDX7.CObwvEEr.js → vennDiagram-T6HMQDX7.Cd9lVObe.js} +3 -3
- package/library/chunks/{wardleyDiagram-T6FBY63Y.BTL3nwWJ.js → wardleyDiagram-T6FBY63Y.yCklp5Oa.js} +3 -3
- package/library/chunks/{xychartDiagram-ELKLHX3M.DMDlz8tK.js → xychartDiagram-ELKLHX3M.CLuRN0XK.js} +5 -5
- package/library/components/atoms.js +5 -5
- package/library/components/markdown.js +1 -1
- package/library/components/types.js +14 -14
- package/library/package.json +1 -1
- package/library/packages/atoms/src/components/markdown/markdown.d.ts +12 -3
- package/library/packages/atoms/src/components/markdown/parser.d.ts +7 -2
- package/library/packages/molecules/src/view-and-sort/view-and-sort.d.ts +3 -0
- package/library/packages/tools/src/tiptap/utils/md/schema.d.ts +1 -1
- package/library/packages/types/src/markdown.d.ts +5 -0
- package/library/react-web-component.d.ts +4 -0
- package/package.json +1 -1
- package/library/chunks/flowDiagram-UKHOOZJN.BoFivhJR.js +0 -16
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import "./chunk-NSK5VX7P.
|
|
1
|
+
import "./chunk-NSK5VX7P.BkWzMz1o.js";
|
|
2
2
|
import { n as e } from "./chunk-Y2CYZVJY.BAad7w_K.js";
|
|
3
3
|
import "./chunk-X3CZISLH.D200o-iZ.js";
|
|
4
|
-
import "./chunk-I66GZJ75.
|
|
5
|
-
import "./chunk-4I5QYGJK.
|
|
6
|
-
import "./chunk-WRU74C26.
|
|
4
|
+
import "./chunk-I66GZJ75.lUTR0Zxp.js";
|
|
5
|
+
import "./chunk-4I5QYGJK.DfO_P7bO.js";
|
|
6
|
+
import "./chunk-WRU74C26.BDl8PZFV.js";
|
|
7
7
|
import "./chunk-7BUUIJ7U.2HaDAqLO.js";
|
|
8
|
-
import "./chunk-UBXNYLIW.
|
|
9
|
-
import "./chunk-2GRJ4B5K.
|
|
8
|
+
import "./chunk-UBXNYLIW.BjkOeuJd.js";
|
|
9
|
+
import "./chunk-2GRJ4B5K.BOBf1_FX.js";
|
|
10
10
|
import "./chunk-XXDRQBXY.BwfXrXWR.js";
|
|
11
|
-
import "./chunk-KBJHAD2P.
|
|
12
|
-
import "./chunk-W5SLKNZC.
|
|
13
|
-
import "./chunk-QR6OTTB3.
|
|
14
|
-
import "./chunk-7Z6QIM7H.
|
|
15
|
-
import { r as t, t as n } from "./chunk-JQJVKLGR.
|
|
16
|
-
import "./mermaid.core.
|
|
11
|
+
import "./chunk-KBJHAD2P.Bfz5cQAa.js";
|
|
12
|
+
import "./chunk-W5SLKNZC.DzlXmWcA.js";
|
|
13
|
+
import "./chunk-QR6OTTB3.DyBl4spZ.js";
|
|
14
|
+
import "./chunk-7Z6QIM7H.BXSFN_6B.js";
|
|
15
|
+
import { r as t, t as n } from "./chunk-JQJVKLGR.dOAJ_eec.js";
|
|
16
|
+
import "./mermaid.core.m1JI7kDY.js";
|
|
17
17
|
//#region ../../node_modules/mermaid/dist/chunks/mermaid.core/swimlanesDiagram-ULZ7WXOC.mjs
|
|
18
18
|
var r = n({
|
|
19
19
|
defaultLayout: "swimlane",
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as e } from "./arc.gkkIdLe-.js";
|
|
2
|
-
import { p as t } from "./chunk-NSK5VX7P.
|
|
2
|
+
import { p as t } from "./chunk-NSK5VX7P.BkWzMz1o.js";
|
|
3
3
|
import { f as n } from "./src.CLGAM3OO.js";
|
|
4
4
|
import "./src.CmKw4853.js";
|
|
5
5
|
import { n as r, t as i } from "./chunk-Y2CYZVJY.BAad7w_K.js";
|
|
6
6
|
import { t as a } from "./chunk-X3CZISLH.D200o-iZ.js";
|
|
7
|
-
import { $ as o, J as s, a as c, b as l, et as u, nt as d, o as f, x as p } from "./chunk-I66GZJ75.
|
|
8
|
-
import { a as m } from "./mermaid.core.
|
|
7
|
+
import { $ as o, J as s, a as c, b as l, et as u, nt as d, o as f, x as p } from "./chunk-I66GZJ75.lUTR0Zxp.js";
|
|
8
|
+
import { a as m } from "./mermaid.core.m1JI7kDY.js";
|
|
9
9
|
//#region ../../node_modules/mermaid/dist/chunks/mermaid.core/timeline-definition-Z64GVDOM.mjs
|
|
10
10
|
var h = (function() {
|
|
11
11
|
var e = /* @__PURE__ */ r(function(e, t, n, r) {
|
package/library/chunks/{vennDiagram-T6HMQDX7.CObwvEEr.js → vennDiagram-T6HMQDX7.Cd9lVObe.js}
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { i as e } from "./chunk-NSK5VX7P.
|
|
1
|
+
import { i as e } from "./chunk-NSK5VX7P.BkWzMz1o.js";
|
|
2
2
|
import { f as t } from "./src.CLGAM3OO.js";
|
|
3
3
|
import "./src.CmKw4853.js";
|
|
4
4
|
import { n } from "./chunk-Y2CYZVJY.BAad7w_K.js";
|
|
5
5
|
import "./chunk-X3CZISLH.D200o-iZ.js";
|
|
6
|
-
import { $ as r, H as i, K as a, U as o, a as s, b as c, c as l, et as u, f as d, nt as f, tt as p, v as m, w as h, y as g } from "./chunk-I66GZJ75.
|
|
6
|
+
import { $ as r, H as i, K as a, U as o, a as s, b as c, c as l, et as u, f as d, nt as f, tt as p, v as m, w as h, y as g } from "./chunk-I66GZJ75.lUTR0Zxp.js";
|
|
7
7
|
import { t as _ } from "./rough.esm.XhrPyaQA.js";
|
|
8
|
-
import { a as v } from "./mermaid.core.
|
|
8
|
+
import { a as v } from "./mermaid.core.m1JI7kDY.js";
|
|
9
9
|
//#region ../../node_modules/khroma/dist/methods/transparentize.js
|
|
10
10
|
var y = (e, t) => p(e, "a", -t), b = 1e-10;
|
|
11
11
|
function x(e, t) {
|
package/library/chunks/{wardleyDiagram-T6FBY63Y.BTL3nwWJ.js → wardleyDiagram-T6FBY63Y.yCklp5Oa.js}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { i as e } from "./chunk-NSK5VX7P.
|
|
1
|
+
import { i as e } from "./chunk-NSK5VX7P.BkWzMz1o.js";
|
|
2
2
|
import { n as t } from "./mermaid-parser.core.f6cjPNyo.js";
|
|
3
3
|
import { n } from "./chunk-Y2CYZVJY.BAad7w_K.js";
|
|
4
4
|
import { t as r } from "./chunk-X3CZISLH.D200o-iZ.js";
|
|
5
|
-
import { D as i, H as a, K as o, U as s, a as c, b as l, c as u, v as d, w as f, x as p, y as m } from "./chunk-I66GZJ75.
|
|
5
|
+
import { D as i, H as a, K as o, U as s, a as c, b as l, c as u, v as d, w as f, x as p, y as m } from "./chunk-I66GZJ75.lUTR0Zxp.js";
|
|
6
6
|
import { t as h } from "./chunk-JWPE2WC7.BoG1jLCe.js";
|
|
7
|
-
import { a as g } from "./mermaid.core.
|
|
7
|
+
import { a as g } from "./mermaid.core.m1JI7kDY.js";
|
|
8
8
|
//#region ../../node_modules/mermaid/dist/chunks/mermaid.core/wardleyDiagram-T6FBY63Y.mjs
|
|
9
9
|
var _ = /* @__PURE__ */ n((e, t) => {
|
|
10
10
|
let n = e <= 1 ? e * 100 : e;
|
package/library/chunks/{xychartDiagram-ELKLHX3M.DMDlz8tK.js → xychartDiagram-ELKLHX3M.CLuRN0XK.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { s as e } from "./step.DttniOF5.js";
|
|
2
|
-
import { i as t } from "./chunk-NSK5VX7P.
|
|
2
|
+
import { i as t } from "./chunk-NSK5VX7P.BkWzMz1o.js";
|
|
3
3
|
import { t as n } from "./linear.D9Qu8S4t.js";
|
|
4
4
|
import { t as r } from "./ordinal.WFAEE_qr.js";
|
|
5
5
|
import { t as i } from "./range.CoZro1N3.js";
|
|
@@ -7,10 +7,10 @@ import "./src.CmKw4853.js";
|
|
|
7
7
|
import { t as a } from "./init.CFNf60QB.js";
|
|
8
8
|
import { n as o } from "./chunk-Y2CYZVJY.BAad7w_K.js";
|
|
9
9
|
import { t as s } from "./chunk-X3CZISLH.D200o-iZ.js";
|
|
10
|
-
import { D as c, H as l, K as u, U as d, a as f, b as p, c as m, f as h, v as g, w as _, y as v, z as y } from "./chunk-I66GZJ75.
|
|
11
|
-
import "./chunk-4I5QYGJK.
|
|
12
|
-
import { t as b } from "./chunk-WRU74C26.
|
|
13
|
-
import { a as x } from "./mermaid.core.
|
|
10
|
+
import { D as c, H as l, K as u, U as d, a as f, b as p, c as m, f as h, v as g, w as _, y as v, z as y } from "./chunk-I66GZJ75.lUTR0Zxp.js";
|
|
11
|
+
import "./chunk-4I5QYGJK.DfO_P7bO.js";
|
|
12
|
+
import { t as b } from "./chunk-WRU74C26.BDl8PZFV.js";
|
|
13
|
+
import { a as x } from "./mermaid.core.m1JI7kDY.js";
|
|
14
14
|
//#region ../../node_modules/d3-scale/src/band.js
|
|
15
15
|
function S() {
|
|
16
16
|
var e = r().unknown(void 0), t = e.domain, n = e.range, o = 0, s = 1, c, l, u = !1, d = 0, f = 0, p = .5;
|
|
@@ -8,7 +8,7 @@ import { t as c } from "../chunks/alert.D8Gwfkvy.js";
|
|
|
8
8
|
import { t as l } from "../chunks/am-chart.COOKOvT1.js";
|
|
9
9
|
import { t as u } from "../chunks/animated-image.w6VdagCh.js";
|
|
10
10
|
import { t as d } from "../chunks/animation.CRLxJUWm.js";
|
|
11
|
-
import { n as f, r as p, t as m } from "../chunks/src.
|
|
11
|
+
import { n as f, r as p, t as m } from "../chunks/src.CIOsZIcI.js";
|
|
12
12
|
import { t as h } from "../chunks/button.Cgunf6cP.js";
|
|
13
13
|
import { t as g } from "../chunks/tooltip.fZNjia6Z.js";
|
|
14
14
|
import { t as _ } from "../chunks/resize-observer.D9EHlnZI.js";
|
|
@@ -65,10 +65,10 @@ import { t as pe } from "../chunks/iframe.DsOaw03m.js";
|
|
|
65
65
|
import { t as me } from "../chunks/image-comparer.FB0ZzA0d.js";
|
|
66
66
|
import { t as he } from "../chunks/include.BFoCwNnq.js";
|
|
67
67
|
import { t as ge } from "../chunks/input-group.Dmd8XcxL.js";
|
|
68
|
-
import { t as _e } from "../chunks/markdown.
|
|
68
|
+
import { t as _e } from "../chunks/markdown.C1P0ctPs.js";
|
|
69
69
|
import { t as ve } from "../chunks/menu-label.B-FOyfAX.js";
|
|
70
|
-
import { t as ye } from "../chunks/
|
|
71
|
-
import { t as be } from "../chunks/
|
|
70
|
+
import { t as ye } from "../chunks/mutation-observer.CD5prBIP.js";
|
|
71
|
+
import { t as be } from "../chunks/menu-section.BzzA6L5E.js";
|
|
72
72
|
import { t as xe } from "../chunks/pagination.2kAQwMrS.js";
|
|
73
73
|
import { t as Se } from "../chunks/progress-ring.BSfnNF9M.js";
|
|
74
74
|
import { t as Ce } from "../chunks/qr-code.SwjFPrvB.js";
|
|
@@ -86,4 +86,4 @@ import { t as Pe } from "../chunks/switch.CBho2RVW.js";
|
|
|
86
86
|
import { t as Fe } from "../chunks/timecode.DME2imtx.js";
|
|
87
87
|
import { a as Ie, i as Le } from "../chunks/tree.BJ6AVr2e.js";
|
|
88
88
|
import { n as Re } from "../chunks/video.Ba6tAEvb.js";
|
|
89
|
-
export { c as CxAlert, l as CxAmChart, u as CxAnimatedImage, d as CxAnimation, b as CxArrayLineClamp, S as CxAudio, C as CxAvatar, w as CxBadge, T as CxBox, E as CxBreadcrumb, D as CxBreadcrumbItem, h as CxButton, O as CxButtonGroup, k as CxCard, A as CxCheckbox, U as CxColorPicker, W as CxCopyButton, G as CxDateCalendar, K as CxDetails, q as CxDialog, Y as CxDiff, J as CxDivider, Q as CxDocumentViewer, te as CxDotPagination, ne as CxDotStatus, X as CxDrawer, j as CxDropdown, re as CxEChart, ie as CxElementClamp, ae as CxFormatBytes, oe as CxFormatDate, se as CxFormatNumber, ce as CxFormatTime, le as CxGrid, ue as CxGridItem, de as CxHeader, fe as CxHubConnection, o as CxIcon, a as CxIconButton, pe as CxIframe, $ as CxImage, me as CxImageComparer, he as CxInclude, M as CxInput, ge as CxInputGroup, v as CxLineClamp, _e as CxMarkdown, N as CxMenu, P as CxMenuItem, ve as CxMenuLabel,
|
|
89
|
+
export { c as CxAlert, l as CxAmChart, u as CxAnimatedImage, d as CxAnimation, b as CxArrayLineClamp, S as CxAudio, C as CxAvatar, w as CxBadge, T as CxBox, E as CxBreadcrumb, D as CxBreadcrumbItem, h as CxButton, O as CxButtonGroup, k as CxCard, A as CxCheckbox, U as CxColorPicker, W as CxCopyButton, G as CxDateCalendar, K as CxDetails, q as CxDialog, Y as CxDiff, J as CxDivider, Q as CxDocumentViewer, te as CxDotPagination, ne as CxDotStatus, X as CxDrawer, j as CxDropdown, re as CxEChart, ie as CxElementClamp, ae as CxFormatBytes, oe as CxFormatDate, se as CxFormatNumber, ce as CxFormatTime, le as CxGrid, ue as CxGridItem, de as CxHeader, fe as CxHubConnection, o as CxIcon, a as CxIconButton, pe as CxIframe, $ as CxImage, me as CxImageComparer, he as CxInclude, M as CxInput, ge as CxInputGroup, v as CxLineClamp, _e as CxMarkdown, N as CxMenu, P as CxMenuItem, ve as CxMenuLabel, be as CxMenuSection, ye as CxMutationObserver, I as CxOption, xe as CxPagination, e as CxPopup, Z as CxProgressBar, Se as CxProgressRing, Ce as CxQrCode, we as CxRadio, Te as CxRadioButton, Ee as CxRadioCard, De as CxRadioGroup, Oe as CxRange, ke as CxRating, Ae as CxRelativeTime, _ as CxResizeObserver, R as CxSelect, ee as CxSkeleton, L as CxSpace, s as CxSpinner, je as CxSplitPanel, Me as CxStep, Ne as CxStepper, Pe as CxSwitch, z as CxTab, B as CxTabGroup, V as CxTabPanel, y as CxTag, F as CxTextarea, Fe as CxTimecode, g as CxTooltip, Le as CxTree, Ie as CxTreeItem, x as CxTypography, Re as CxVideo, H as CxVisuallyHidden, t as componentStyles, m as fontAwesomeIconNames, i as getAnimation, f as getAnimationNames, p as getEasingNames, n as setAnimation, r as setDefaultAnimation };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/markdown.
|
|
1
|
+
import { t as e } from "../chunks/markdown.C1P0ctPs.js";
|
|
2
2
|
export { e as default };
|
|
@@ -24,7 +24,7 @@ import { t as ue } from "../chunks/alert.D8Gwfkvy.js";
|
|
|
24
24
|
import { t as de } from "../chunks/am-chart.COOKOvT1.js";
|
|
25
25
|
import { t as fe } from "../chunks/animated-image.w6VdagCh.js";
|
|
26
26
|
import { t as I } from "../chunks/animation.CRLxJUWm.js";
|
|
27
|
-
import { n as pe, r as me, t as he } from "../chunks/src.
|
|
27
|
+
import { n as pe, r as me, t as he } from "../chunks/src.CIOsZIcI.js";
|
|
28
28
|
import { t as ge } from "../chunks/style-map.DPGQIxip.js";
|
|
29
29
|
import { n as _e, t as ve } from "../chunks/button.Cgunf6cP.js";
|
|
30
30
|
import { c as ye, i as be, l as xe, o as Se, r as Ce, s as we } from "../chunks/resizable-component.styles.v9pbLDG5.js";
|
|
@@ -38,7 +38,7 @@ import { t as kt } from "../chunks/resize-observer.D9EHlnZI.js";
|
|
|
38
38
|
import { t as At } from "../chunks/line-clamp.QYln-UUK.js";
|
|
39
39
|
import { t as jt } from "../chunks/tag.DJEoemdS.js";
|
|
40
40
|
import { t as Mt } from "../chunks/array-line-clamp.Cjkk2XeX.js";
|
|
41
|
-
import { C as Nt, S as Pt, _ as Ft, b as It, g as Lt, h as Rt, o as zt, r as Bt, s as Vt, t as Ht, v as Ut, w as Wt, x as Gt, y as Kt } from "../chunks/block-width.
|
|
41
|
+
import { C as Nt, S as Pt, _ as Ft, b as It, g as Lt, h as Rt, o as zt, r as Bt, s as Vt, t as Ht, v as Ut, w as Wt, x as Gt, y as Kt } from "../chunks/block-width.DxRGvaf6.js";
|
|
42
42
|
import { n as qt, t as Jt } from "../chunks/position-picker.dY_vgF_H.js";
|
|
43
43
|
import { a as Yt, i as Xt, n as Zt, o as Qt, r as $t, s as en, t as tn } from "../chunks/src.BJhIYoMP.js";
|
|
44
44
|
import { a as nn, c as rn, i as an, n as on, o as sn, r as cn, t as ln, u as un } from "../chunks/time.p1t0NCwj.js";
|
|
@@ -122,10 +122,10 @@ import { n as Bo, t as Vo } from "../chunks/iframe.DsOaw03m.js";
|
|
|
122
122
|
import { t as Ho } from "../chunks/image-comparer.FB0ZzA0d.js";
|
|
123
123
|
import { t as Uo } from "../chunks/include.BFoCwNnq.js";
|
|
124
124
|
import { t as Wo } from "../chunks/input-group.Dmd8XcxL.js";
|
|
125
|
-
import { a as Go, i as Ko, n as qo, o as Jo, r as Yo, t as Xo } from "../chunks/markdown.
|
|
125
|
+
import { a as Go, i as Ko, n as qo, o as Jo, r as Yo, t as Xo } from "../chunks/markdown.C1P0ctPs.js";
|
|
126
126
|
import { t as Zo } from "../chunks/menu-label.B-FOyfAX.js";
|
|
127
|
-
import { t as Qo } from "../chunks/
|
|
128
|
-
import { t as $o } from "../chunks/
|
|
127
|
+
import { t as Qo } from "../chunks/mutation-observer.CD5prBIP.js";
|
|
128
|
+
import { t as $o } from "../chunks/menu-section.BzzA6L5E.js";
|
|
129
129
|
import { t as es } from "../chunks/pagination.2kAQwMrS.js";
|
|
130
130
|
import { t as ts } from "../chunks/progress-ring.BSfnNF9M.js";
|
|
131
131
|
import { t as ns } from "../chunks/qr-code.SwjFPrvB.js";
|
|
@@ -377,7 +377,7 @@ var Cl = Sl, gee = i`:host{--background-color:#27272a4d;--tracker-color:#9090c02
|
|
|
377
377
|
"cx-3d-viewer-config": Cl,
|
|
378
378
|
"cx-dropdown": nr,
|
|
379
379
|
"cx-icon-button": oe,
|
|
380
|
-
"cx-menu-section":
|
|
380
|
+
"cx-menu-section": $o,
|
|
381
381
|
"cx-tooltip": Ot
|
|
382
382
|
};
|
|
383
383
|
constructor() {
|
|
@@ -28168,7 +28168,7 @@ var Mse = xO, SO = /* @__PURE__ */ function(e) {
|
|
|
28168
28168
|
"cx-icon-button": oe,
|
|
28169
28169
|
"cx-input": sr,
|
|
28170
28170
|
"cx-markdown": Xo,
|
|
28171
|
-
"cx-mutation-observer":
|
|
28171
|
+
"cx-mutation-observer": Qo,
|
|
28172
28172
|
"cx-option": hr,
|
|
28173
28173
|
"cx-select": Tr,
|
|
28174
28174
|
"cx-textarea": mr
|
|
@@ -28358,7 +28358,7 @@ var Mse = xO, SO = /* @__PURE__ */ function(e) {
|
|
|
28358
28358
|
return r`<cx-card part="base"><div class="preview" part="preview"><cx-mutation-observer attr="*" child-list @cx-mutation=${this.handleAttributeChange}><slot @slotchange=${this.handleSlotChange}></slot></cx-mutation-observer></div><div class="controls" part="controls">${this.renderControls()}</div><div class="markdown" part="markdown">${P(this.target?.outerHTML !== void 0, () => r`<cx-markdown markdown=${"```html\n" + TO(this.target) + "\n```"}></cx-markdown>`)}</div></cx-card>`;
|
|
28359
28359
|
}
|
|
28360
28360
|
};
|
|
28361
|
-
l([p("slot"), u("design:type", typeof HTMLSlotElement > "u" ? Object : HTMLSlotElement)], DO.prototype, "defaultSlot", void 0), l([p("cx-mutation-observer"), u("design:type",
|
|
28361
|
+
l([p("slot"), u("design:type", typeof HTMLSlotElement > "u" ? Object : HTMLSlotElement)], DO.prototype, "defaultSlot", void 0), l([p("cx-mutation-observer"), u("design:type", Qo === void 0 ? Object : Qo)], DO.prototype, "mutationObserver", void 0), l([s({
|
|
28362
28362
|
attribute: "element-selector",
|
|
28363
28363
|
type: String
|
|
28364
28364
|
}), u("design:type", String)], DO.prototype, "elementSelector", void 0), l([s({
|
|
@@ -28370,7 +28370,7 @@ l([p("slot"), u("design:type", typeof HTMLSlotElement > "u" ? Object : HTMLSlotE
|
|
|
28370
28370
|
u("design:paramtypes", []),
|
|
28371
28371
|
u("design:returntype", void 0)
|
|
28372
28372
|
], DO.prototype, "handleElementSelectorChange", null), DO = l([C("cx-storybook")], DO);
|
|
28373
|
-
var Fse = DO, Ise = i`:host{--menu-width:344px}cx-dropdown{--panel-padding:var(--cx-spacing-x-small) 0 0 0}@supports selector(::part(checked-icon)){cx-dropdown::part(panel){padding
|
|
28373
|
+
var Fse = DO, Ise = i`:host{--menu-width:344px}cx-dropdown{--panel-padding:var(--view-and-sort-panel-padding,var(--cx-spacing-x-small) 0 0 0)}@supports selector(::part(checked-icon)){cx-dropdown::part(panel){padding:var(--view-and-sort-panel-padding,var(--cx-spacing-x-small) 0 0 0)}}cx-menu{width:var(--menu-width);max-width:min(100%, var(--auto-size-available-width));border:none;border-radius:0}:where(cx-menu:not([horizontal])){padding:var(--view-and-sort-menu-padding,var(--cx-panel-padding,var(--cx-spacing-x-small) 0))}cx-menu[horizontal] cx-menu-section{justify-content:flex-start}cx-menu:not(:last-child){border-bottom:var(--cx-panel-border-width) solid var(--cx-panel-border-color)}cx-menu:has(cx-button){padding-bottom:0}cx-menu-label~cx-menu{padding-top:0}cx-divider{--spacing:var(--view-and-sort-divider-spacing,var(--cx-spacing-medium))}cx-menu-item{--checked-icon-display:none;--prefix-font-size:var(--cx-font-size-large);max-width:100%}cx-menu-item.selected{--prefix-color:var(--cx-color-primary);--suffix-color:var(--cx-color-primary);--label-color:var(--cx-color-primary);--font-weight:var(--cx-font-weight-medium)}cx-menu-item[type=checkbox]{--checked-label-color:var(--view-and-sort-switch-label-color,var(--cx-color-neutral))}cx-menu-item.disable-chevron{--submenu-icon-display:none}cx-menu-item>cx-menu{padding:0}cx-menu-item:focus{outline:none}@supports selector(::part(checked-icon)){cx-menu-item.disable-chevron::part(submenu-icon),cx-menu-item::part(checked-icon){display:none}cx-menu-item::part(prefix){font-size:var(--cx-font-size-large)}cx-menu-item.selected::part(label),cx-menu-item.selected::part(prefix),cx-menu-item.selected::part(suffix){color:var(--cx-color-primary);font-weight:var(--cx-font-weight-medium)}}cx-button{width:100%}cx-button::part(base){padding:0}cx-button::part(prefix){display:none}.submenu-indicator{align-items:center;display:none}.submenu-indicator span{color:var(--cx-color-neutral-400)}.submenu-indicator cx-icon{font-size:var(--cx-font-size-x-large);margin-left:var(--cx-spacing-3x-small)}.horizontal-text{width:28px;display:inline-block}.dropdown__trigger-button::part(base){border-radius:var(--view-and-sort-trigger-button-border-radius,var(--cx-button-border-radius-medium));font:var(--cx-font-label-small);font-weight:var(--view-and-sort-trigger-button-font-weight,500);font-size:var(--view-and-sort-trigger-button-font-size,var(--cx-font-size-small));color:var(--view-and-sort-trigger-button-color,var(--cx-color-neutral-900))}.menu-section__tooltip__icon{color:var(--cx-color-neutral-500);cursor:help;margin-inline-end:var(--cx-spacing-small)}.menu-item__tooltip__icon{color:var(--cx-color-neutral-500);cursor:help}.menu-section__tooltip__icon:focus-visible,.menu-item__tooltip__icon:focus-visible{outline:var(--cx-focus-ring);outline-offset:var(--cx-focus-ring-offset);border-radius:var(--cx-border-radius-small)}`;
|
|
28374
28374
|
//#endregion
|
|
28375
28375
|
//#region ../../packages/molecules/src/view-and-sort/view-and-sort.ts
|
|
28376
28376
|
function OO(e) {
|
|
@@ -28388,7 +28388,7 @@ var kO = class extends d {
|
|
|
28388
28388
|
"cx-menu": cr,
|
|
28389
28389
|
"cx-menu-item": dr,
|
|
28390
28390
|
"cx-menu-label": Zo,
|
|
28391
|
-
"cx-menu-section":
|
|
28391
|
+
"cx-menu-section": $o,
|
|
28392
28392
|
"cx-space": gr,
|
|
28393
28393
|
"cx-switch": ms,
|
|
28394
28394
|
"cx-tooltip": Ot
|
|
@@ -39572,7 +39572,7 @@ var BR = zR, VR = {
|
|
|
39572
39572
|
summary: r,
|
|
39573
39573
|
title: i
|
|
39574
39574
|
});
|
|
39575
|
-
return r`<cx-markdown markdown=${e.trim() ? e : "<p></p>"} .extensions=${[{
|
|
39575
|
+
return r`<cx-markdown show-math-notation markdown=${e.trim() ? e : "<p></p>"} .extensions=${[{
|
|
39576
39576
|
level: "inline",
|
|
39577
39577
|
name: "cite",
|
|
39578
39578
|
renderer({ id: e }) {
|
|
@@ -95188,7 +95188,7 @@ var oEe = [
|
|
|
95188
95188
|
return this.mappedSupportedLanguages.length > 1;
|
|
95189
95189
|
}
|
|
95190
95190
|
ensureConfigUi() {
|
|
95191
|
-
return this.configUiPromise ??= Promise.all([import("../chunks/config-manager.
|
|
95191
|
+
return this.configUiPromise ??= Promise.all([import("../chunks/config-manager.BWLgjrhq.js"), import("../chunks/configs-controller._AG3aEMg.js").then((e) => e.n)]).then(async ([, e]) => {
|
|
95192
95192
|
this.configsController ??= new e.default(this.localize), await customElements.whenDefined("cx-config-manager"), await this.configManager?.updateComplete;
|
|
95193
95193
|
});
|
|
95194
95194
|
}
|
|
@@ -104403,7 +104403,7 @@ var lOe = a9, uOe = i`:host{display:inline-block}:host([mode=inline]){display:co
|
|
|
104403
104403
|
"cx-icon-button": oe,
|
|
104404
104404
|
"cx-menu": cr,
|
|
104405
104405
|
"cx-menu-item": dr,
|
|
104406
|
-
"cx-menu-section":
|
|
104406
|
+
"cx-menu-section": $o,
|
|
104407
104407
|
"cx-space": gr,
|
|
104408
104408
|
"cx-spinner": le
|
|
104409
104409
|
};
|
|
@@ -111424,4 +111424,4 @@ l([s({ type: String }), u("design:type", Object)], $9.prototype, "value", void 0
|
|
|
111424
111424
|
], $9.prototype, "handleValueChange", null), $9 = Q9 = l([C("cx-xml-editor")], $9);
|
|
111425
111425
|
var Lke = $9;
|
|
111426
111426
|
//#endregion
|
|
111427
|
-
export { la as AUTO_FALLBACK_FORMAT, ua as AUTO_FORMAT_EXTENSION, da as AUTO_ORIGINAL_FORMAT_MAX_BYTES, Ui as CMYK_VALIDATION_REGEX, ri as CalendarGrid, Ri as ColorType, tn as CornerPosition, d as CortexElement, fa as CortexPopupController, Cee as Cx3dViewer, ue as CxAlert, de as CxAmChart, fe as CxAnimatedImage, I as CxAnimation, Pu as CxAnnotator, yle as CxAnnotatorComment, Mt as CxArrayLineClamp, Vu as CxAssetDataDisplay, Ft as CxAssetFormatPicker, nc as CxAssetLinkFormat, Pt as CxAssetPicker, Lt as CxAssetTransformationDialog, Nn as CxAudio, Pn as CxAvatar, Fn as CxBadge, Lle as CxBentoGrid, Ss as CxBicolorPicker, Cs as CxBorderInputGroup, In as CxBox, Ln as CxBreadcrumb, Rn as CxBreadcrumbItem, ve as CxButton, zn as CxButtonGroup, Qle as CxCapacityPlanner, Bn as CxCard, $P as CxCarousel, Dz as CxChartPlanBuilder, UR as CxChatbot, Vn as CxCheckbox, Nz as CxClusterManagement, Lr as CxColorPicker, ws as CxColorSwatch, lc as CxColorSwatchGroup, rP as CxComment, Lz as CxCommentV1, Ts as CxConfirmPopover, pEe as CxContentBuilder, CEe as CxContentBuilderViewer, Rr as CxCopyButton, Es as CxCornerPositionInputGroup, Ds as CxCropper, zt as CxDamCustomToolbarButtonsEditor, xle as CxDashboardFilter, Wu as CxDashboardIframe, Ele as CxDashboardTable, qu as CxDataTabGroup, si as CxDateCalendar, ci as CxDetails, Zu as CxDetailsGroup, li as CxDialog, fi as CxDiff, di as CxDivider, rd as CxDocsExample, gi as CxDocumentViewer, Eo as CxDotPagination, Do as CxDotStatus, Gt as CxDownloadFormatPicker, eOe as CxDownloader, mi as CxDrawer, nr as CxDropdown, As as CxDynamicSelect, Oo as CxEChart, ko as CxElementClamp, cd as CxEstimatedReadingTime, md as CxFacetDatePicker, bd as CxFacetDateRange, cc as CxFacetedFilter, Td as CxFacetedFilterFacet, fc as CxFileOnDemand, nOe as CxFindAndReplace, Ps as CxFolderSelect, It as CxFontPicker, Ao as CxFormatBytes, jo as CxFormatDate, Mo as CxFormatNumber, No as CxFormatTime, kd as CxGalleryItem, O_ as CxGraphView, Po as CxGrid, Fo as CxGridItem, Io as CxHeader, zo as CxHubConnection, ce as CxIcon, oe as CxIconButton, Kt as CxIconPicker, Vo as CxIframe, So as CxImage, Ho as CxImageComparer, Uo as CxInclude, sr as CxInput, dd as CxInputDatePicker, _d as CxInputDateRangePicker, Wo as CxInputGroup, iOe as CxLightbox, At as CxLineClamp, Vt as CxListEditor, Xo as CxMarkdown, rO as CxMarkdownViewer, Is as CxMasonry, oO as CxMentions, cr as CxMenu, dr as CxMenuItem, Zo as CxMenuLabel,
|
|
111427
|
+
export { la as AUTO_FALLBACK_FORMAT, ua as AUTO_FORMAT_EXTENSION, da as AUTO_ORIGINAL_FORMAT_MAX_BYTES, Ui as CMYK_VALIDATION_REGEX, ri as CalendarGrid, Ri as ColorType, tn as CornerPosition, d as CortexElement, fa as CortexPopupController, Cee as Cx3dViewer, ue as CxAlert, de as CxAmChart, fe as CxAnimatedImage, I as CxAnimation, Pu as CxAnnotator, yle as CxAnnotatorComment, Mt as CxArrayLineClamp, Vu as CxAssetDataDisplay, Ft as CxAssetFormatPicker, nc as CxAssetLinkFormat, Pt as CxAssetPicker, Lt as CxAssetTransformationDialog, Nn as CxAudio, Pn as CxAvatar, Fn as CxBadge, Lle as CxBentoGrid, Ss as CxBicolorPicker, Cs as CxBorderInputGroup, In as CxBox, Ln as CxBreadcrumb, Rn as CxBreadcrumbItem, ve as CxButton, zn as CxButtonGroup, Qle as CxCapacityPlanner, Bn as CxCard, $P as CxCarousel, Dz as CxChartPlanBuilder, UR as CxChatbot, Vn as CxCheckbox, Nz as CxClusterManagement, Lr as CxColorPicker, ws as CxColorSwatch, lc as CxColorSwatchGroup, rP as CxComment, Lz as CxCommentV1, Ts as CxConfirmPopover, pEe as CxContentBuilder, CEe as CxContentBuilderViewer, Rr as CxCopyButton, Es as CxCornerPositionInputGroup, Ds as CxCropper, zt as CxDamCustomToolbarButtonsEditor, xle as CxDashboardFilter, Wu as CxDashboardIframe, Ele as CxDashboardTable, qu as CxDataTabGroup, si as CxDateCalendar, ci as CxDetails, Zu as CxDetailsGroup, li as CxDialog, fi as CxDiff, di as CxDivider, rd as CxDocsExample, gi as CxDocumentViewer, Eo as CxDotPagination, Do as CxDotStatus, Gt as CxDownloadFormatPicker, eOe as CxDownloader, mi as CxDrawer, nr as CxDropdown, As as CxDynamicSelect, Oo as CxEChart, ko as CxElementClamp, cd as CxEstimatedReadingTime, md as CxFacetDatePicker, bd as CxFacetDateRange, cc as CxFacetedFilter, Td as CxFacetedFilterFacet, fc as CxFileOnDemand, nOe as CxFindAndReplace, Ps as CxFolderSelect, It as CxFontPicker, Ao as CxFormatBytes, jo as CxFormatDate, Mo as CxFormatNumber, No as CxFormatTime, kd as CxGalleryItem, O_ as CxGraphView, Po as CxGrid, Fo as CxGridItem, Io as CxHeader, zo as CxHubConnection, ce as CxIcon, oe as CxIconButton, Kt as CxIconPicker, Vo as CxIframe, So as CxImage, Ho as CxImageComparer, Uo as CxInclude, sr as CxInput, dd as CxInputDatePicker, _d as CxInputDateRangePicker, Wo as CxInputGroup, iOe as CxLightbox, At as CxLineClamp, Vt as CxListEditor, Xo as CxMarkdown, rO as CxMarkdownViewer, Is as CxMasonry, oO as CxMentions, cr as CxMenu, dr as CxMenuItem, Zo as CxMenuLabel, $o as CxMenuSection, oc as CxMultiSelect, Qo as CxMutationObserver, hr as CxOption, Ls as CxPaddingInputGroup, yse as CxPageOutline, es as CxPagination, Ose as CxPdfViewerToolbar, h as CxPopup, Rs as CxPositionPicker, hi as CxProgressBar, ts as CxProgressRing, Ase as CxPublishPage, ns as CxQrCode, rs as CxRadio, is as CxRadioButton, as as CxRadioCard, ss as CxRadioGroup, cs as CxRange, ls as CxRating, us as CxRelativeTime, kt as CxResizeObserver, lOe as CxSearchBox, Tr as CxSelect, zs as CxShadowInputGroup, Bs as CxShareOptionList, Vs as CxSidebar, Hs as CxSizeInputGroup, wo as CxSkeleton, gr as CxSpace, dOe as CxSpaceSelector, R3 as CxSpecialCharactersDialog, le as CxSpinner, ds as CxSplitPanel, Mse as CxStatCard, fs as CxStep, ps as CxStepper, Us as CxStepperWizard, Fse as CxStorybook, ms as CxSwitch, Er as CxTab, jr as CxTabGroup, Fr as CxTabPanel, jt as CxTag, vOe as CxTemplateSwitcher, wke as CxTextToSpeech, mr as CxTextarea, hs as CxTimecode, Ot as CxTooltip, _s as CxTree, gs as CxTreeItem, Ut as CxTypeSubtypeSelect, Ws as CxTypeface, Mn as CxTypography, bs as CxVideo, AO as CxViewAndSort, Ir as CxVisuallyHidden, Lke as CxXmlEditor, ra as DEFAULT_BREAKPOINTS, ni as DateRangePresets, pa as DragScroll, Zt as Easing, $t as EasingFunction, _t as FormControlController, Xt as GsapEasing, Vi as HEX_ALPHA_VALIDATION_REGEX, Fi as HEX_VALIDATION_REGEX, O as HasSlotController, ma as HistoryManager, Wt as IconPickerVariant, ha as KeyboardKey, T as LocalizeController, Zn as MIN_GRADIENT_STOPS, Jt as OBJECT_POSITION_BY_CROP_FOCUS, Yt as ObjectFit, Qt as Orientation, ga as PRECISION, qt as PositionPickerValue, Oi as RELATIVE_URL_REGEX, Ai as RGB_VALIDATION_REGEX, _a as SRCSET_WIDTH_LADDER, en as TransitionType, Ci as URL_DOMAIN_VALIDATION_REGEX, Ei as URL_INTRANET_DOMAIN_VALIDATION_REGEX, xi as URL_PROTOCOL_VALIDATION_REGEX, _i as URL_VALIDATION_REGEX, vr as activeElements, Wr as addMonths, va as adjustRelativeValues, y as animateTo, wi as appendProtocol, Di as appendQueryParam, ya as applyTransformationsToUrl, ba as applyWidthToAssetUrl, xa as buildAssetSrcset, Sa as buildSizesFromDisplayWidth, Ca as buildTransformationString, An as buildWaveformPath, On as calculateAspectRatioFit, er as clamp, wn as cleanImageFileName, ln as clearZeroDurationParts, g as componentStyles, zi as convertColor, yn as convertDataUnits, hn as convertDurationToMilliseconds, _n as convertPixelsToAspectRatio, En as convertSrcToBlob, qn as createStopId, Sn as cropImage, ut as cssValueToPx, C as customElement, mt as customErrorValidityState, Dt as debounce, Hn as defaultValue, wa as downloadAsset, Qn as drag, Ge as emptyToSpace, Be as escapeXML, Hi as extractColor, Ue as extractExtension, Ta as extractFrames, Le as extractRootData, pn as extractValueAndUnit, kn as extractWaveformPeaks, Ea as fetchCortexApi, Tt as findAncestorWithBuggyStyle, xt as findContainingBlock, Ct as findCuttingAncestor, Da as findFrameByColAndRow, Oa as findIndexByProp, rr as focusWhenVisible, he as fontAwesomeIconNames, gt as formCollections, dn as formatAspectRatioString, ji as formatColorCodeSeparator, on as formatDurationPartsManually, Ii as formatHexCode, Gr as formatIsoToDisplay, $r as formatMonthYearLabel, gn as formatNumberWithGrouping, Me as formatSecondsToTime, Ve as formatTimeToSeconds, cn as formatWithIntlDurationFormat, vn as gcd, at as getActiveElement, ui as getActiveModals, ie as getAnimation, pe as getAnimationNames, pt as getAssociatedForm, ct as getAttributes, We as getAttributesString, $i as getBreakpointsFromCSS, ka as getBrowserFontVariants, Wi as getColorType, bn as getContainedImageSize, nt as getCortexPopupLayer, Ze as getCurrentZIndex, Xr as getDateMask, _r as getDeepestActiveElement, ta as getDeviceType, an as getDurationPartsByUnitsFormat, me as getEasingNames, ot as getElementFromHTMLString, lt as getElementFromTemplate, qr as getFirstDayOfWeek, Aa as getFontFamilyOptionValue, ja as getFontFamilyVariants, Ma as getFormControls, sa as getHighlightedTitle, oa as getHighlightedTitleHtml, E as getInnerHTML, Na as getInterval, Mi as getLightDarkCssString, Tn as getNaturalWidthHeight, Qe as getNeededPaddingForBoxShadow, yt as getNextAncestor, yr as getOffset, rt as getRelativeClickPercentage, L as getRootIDString, ar as getTabbableBoundary, ir as getTabbableElements, D as getTextContent, Kr as getTodayIsoDate, Pa as getTypefaceOptionValue, Fa as groupBy, Ia as hasTransformSegment, Re as htmlToPlainText, La as insertAtIndex, Ra as insertFrameToCache, za as insertMultipleAtIndex, Yn as interpolateStopColor, vt as isChrome, Cr as isCortexAdobePlugin, dt as isDomElement, $e as isElementInHorizontalView, vi as isExpiredAssetUrl, St as isFirefox, Ba as isFontFamilyAvailable, Va as isFormInteracted, Ke as isGalleryItemCardType, Gn as isGradientString, wt as isIOS, et as isInElement, Ha as isModKey, z as isSafari, Dn as isSaveSrcValid, Si as isValidDomainOrIntranetUrl, Br as isValidIsoDate, ki as isValidUrl, ii as isoToDate, Ua as isoWeekNumber, st as loadScript, Sr as lockBodyScrolling, Ni as luminanceTextColor, Wa as moveMultipleToIndex, Ga as moveToIndex, Ka as multiSelectTo, Un as normalizeAngle, oi as normalizeToIsoDate, qa as omit, Ja as openAssetOverview, Ya as openFolderOverview, Xa as openLink, Pe as padPath, Fe as parseBooleanString, Bi as parseBorder, Hr as parseDisplayToIso, x as parseDuration, Za as parseFileSizeToBytes, Jn as parseGradient, ai as parseIsoDate, Qa as parseJsonString, Li as parseLightDark, $a as parseListString, Pi as parseShadow, eo as parseTransformations, to as pick, bt as popoverSupported, v as prefersReducedMotion, $n as quantizeLargestRemainder, no as quoteFontFamily, ro as readLocalStorageValue, it as readSearchConsistency, He as reducePathToDirectChild, w as registerTranslation, io as removeAtIndex, ao as removeMultipleAtIndex, xn as resizeImage, oo as resolveAutoFormat, so as resolveAutoMaxWidth, yi as resolveSpaceUrl, fn as rotateBox, Cn as rotateImage, ze as safeExtension, R as safeString, Ie as sanitizeHTML, mn as sanitizeRotation, br as scrollIntoView, co as serialize, Xn as serializeGradient, M as setAnimation, re as setDefaultAnimation, lo as shareAsset, _ as shimKeyframesHeightAuto, tt as sortByTopPosition, Wn as sortStops, uo as sortTypefaceVariants, Mr as splitBoxValues, je as splitCamelCaseFormatted, Kn as splitTopLevel, b as stopAnimations, Et as supportHLS, fo as testFontAvailability, Gi as timecodeConverter, qe as toCamelCase, zr as toIsoDate, Xe as toKebabCase, Ne as toPascalCase, bi as toRelativeUrl, Ye as toTitleCase, Ti as toUrlPathKey, po as toast, ke as truncateTextMiddle, Te as unescapeXML, xr as unlockBodyScrolling, mo as unquoteFontFamily, Je as upperFirst, ft as validValidityState, ht as valueMissingValidityState, S as waitForEvent, A as watch, ho as writeLocalStorageValue };
|
package/library/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as CxIconButton } from '../icon-button/icon-button.ts';
|
|
2
2
|
import { default as CortexLightElement } from '../../../../base/src/cortex-light-element.ts';
|
|
3
|
-
import { TemplateResult } from 'lit';
|
|
3
|
+
import { PropertyValues, TemplateResult } from 'lit';
|
|
4
4
|
import { RendererObject, TokenizerAndRendererExtension } from 'marked';
|
|
5
5
|
/**
|
|
6
6
|
* @summary Renders markdown passed in as a string.
|
|
@@ -9,7 +9,8 @@ import { RendererObject, TokenizerAndRendererExtension } from 'marked';
|
|
|
9
9
|
* cx-markdown is powered by [MarkedJs](https://marked.js.org/).
|
|
10
10
|
*
|
|
11
11
|
* Fenced `mermaid` code blocks render as diagrams; Mermaid is imported lazily only when one is
|
|
12
|
-
* present
|
|
12
|
+
* present; with `show-math-notation` set, `$…$` and `$$…$$` render through KaTeX the same way.
|
|
13
|
+
* Output is sanitized with DOMPurify unless `live-script` is set.
|
|
13
14
|
*
|
|
14
15
|
* Leading YAML frontmatter renders as a collapsed disclosure instead of an `<hr>` plus heading, and
|
|
15
16
|
* is parsed onto the `frontmatter` property.
|
|
@@ -23,7 +24,7 @@ import { RendererObject, TokenizerAndRendererExtension } from 'marked';
|
|
|
23
24
|
* buttons, Mermaid nodes — do not bubble past the component. Clicks on inert content still do.
|
|
24
25
|
*
|
|
25
26
|
* @event cx-ready - Emitted when the markdown has been rendered, deferred until any Mermaid
|
|
26
|
-
* diagrams have been drawn.
|
|
27
|
+
* diagrams and formulas have been drawn.
|
|
27
28
|
*/
|
|
28
29
|
export default class CxMarkdown extends CortexLightElement {
|
|
29
30
|
#private;
|
|
@@ -32,6 +33,8 @@ export default class CxMarkdown extends CortexLightElement {
|
|
|
32
33
|
'cx-icon-button': typeof CxIconButton;
|
|
33
34
|
};
|
|
34
35
|
private readonly localize;
|
|
36
|
+
/** KaTeX loader, held in a field like other I/O so a test can keep the import pending. */
|
|
37
|
+
private loadKatex;
|
|
35
38
|
/**
|
|
36
39
|
* YAML frontmatter parsed from `markdown`, empty when there is none. Derived output — assigning
|
|
37
40
|
* to it has no effect. Read it after `cx-ready`. Deliberately non-reactive: the disclosure is
|
|
@@ -53,6 +56,11 @@ export default class CxMarkdown extends CortexLightElement {
|
|
|
53
56
|
* adds `rel="noopener noreferrer"`. Empty (the default) leaves anchors untouched.
|
|
54
57
|
*/
|
|
55
58
|
linkTarget: string;
|
|
59
|
+
/**
|
|
60
|
+
* Renders `$…$` and `$$…$$` with KaTeX, loaded lazily. Invalid TeX, or a browser without
|
|
61
|
+
* MathML, keeps its source.
|
|
62
|
+
*/
|
|
63
|
+
showMathNotation: boolean;
|
|
56
64
|
/**
|
|
57
65
|
* The markdown to render.
|
|
58
66
|
*/
|
|
@@ -72,6 +80,7 @@ export default class CxMarkdown extends CortexLightElement {
|
|
|
72
80
|
rendered: string;
|
|
73
81
|
connectedCallback(): void;
|
|
74
82
|
disconnectedCallback(): void;
|
|
83
|
+
protected willUpdate(changedProperties: PropertyValues<this>): void;
|
|
75
84
|
updateRendered(): void;
|
|
76
85
|
/**
|
|
77
86
|
* Light DOM means every click reaches ancestors, which commonly treat one as "start editing".
|
|
@@ -1,8 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CreateParserOptions } from '../../../../types/src/markdown';
|
|
2
|
+
import { Marked, MarkedExtension, Tokens } from 'marked';
|
|
2
3
|
/** Class name cx-markdown looks for when deciding whether to load Mermaid. */
|
|
3
4
|
export declare const MERMAID_CLASS_NAME = "mermaid";
|
|
4
5
|
/** Class name on the disclosure wrapping YAML frontmatter. */
|
|
5
6
|
export declare const FRONTMATTER_CLASS_NAME = "cx-frontmatter";
|
|
7
|
+
/** Class name cx-markdown looks for when deciding whether to load KaTeX. */
|
|
8
|
+
export declare const MATH_CLASS_NAME = "cx-math";
|
|
6
9
|
export type ExtractedFrontmatter = {
|
|
7
10
|
/** The markdown with the frontmatter block removed. */
|
|
8
11
|
body: string;
|
|
@@ -17,6 +20,8 @@ export declare function renderFrontmatterDetails(raw: string, label: string): st
|
|
|
17
20
|
export declare const baseRenderer: {
|
|
18
21
|
code({ escaped, lang: infoString, text }: Tokens.Code): string;
|
|
19
22
|
};
|
|
23
|
+
/** Opt-in `$…$` / `$$…$$` support; `createParser({ math })` registers it. */
|
|
24
|
+
export declare const mathExtension: MarkedExtension;
|
|
20
25
|
/**
|
|
21
26
|
* https://marked.js.org/using_advanced in Marked instance section.
|
|
22
27
|
* https://marked.js.org/using_pro in Marked marked.use() section.
|
|
@@ -24,5 +29,5 @@ export declare const baseRenderer: {
|
|
|
24
29
|
*
|
|
25
30
|
* Change from Singleton to Factory pattern: returns a new isolated Marked parser.
|
|
26
31
|
*/
|
|
27
|
-
export declare function createParser(): Marked<string, string>;
|
|
32
|
+
export declare function createParser({ math }?: CreateParserOptions): Marked<string, string>;
|
|
28
33
|
export type Parser = ReturnType<typeof createParser>;
|
|
@@ -23,6 +23,9 @@ import { CSSResultGroup, TemplateResult } from 'lit';
|
|
|
23
23
|
* @event {{ eventName: string, value: string }} cx-view-and-sort-action-click - Emitted when a menu item's trailing action icon is pressed. A distinct behavior from selecting the item: `cx-select` is suppressed for that click.
|
|
24
24
|
*
|
|
25
25
|
* @cssproperty [--view-and-sort-switch-label-color=var(--cx-color-neutral)] - Label color for switch rows. Switch rows stay neutral because the switch conveys the state; set this to re-enable a checked highlight.
|
|
26
|
+
* @cssproperty [--view-and-sort-panel-padding=var(--cx-spacing-x-small) 0 0 0] - Padding of the dropdown panel around all menu sections. Set `0` so the first row's hover background reaches the top edge of the panel.
|
|
27
|
+
* @cssproperty [--view-and-sort-menu-padding=var(--cx-spacing-x-small) 0] - Padding of each menu section. Set `0` so a row's hover background reaches the section dividers. A section under a title keeps no top padding, and a section holding a button keeps no bottom padding.
|
|
28
|
+
* @cssproperty [--view-and-sort-divider-spacing=var(--cx-spacing-medium)] - Space above and below a divider between rows of the same section. Set `0` so the hover background of the rows next to it reaches the divider line.
|
|
26
29
|
*/
|
|
27
30
|
export default class CxViewAndSort extends CortexElement {
|
|
28
31
|
static readonly styles: CSSResultGroup;
|
|
@@ -9,4 +9,4 @@ import { Schema } from '@tiptap/pm/model';
|
|
|
9
9
|
* Constructs the model cannot represent are not dropped: `html_block` and `html_inline` hold their
|
|
10
10
|
* source verbatim and are replayed on the way out.
|
|
11
11
|
*/
|
|
12
|
-
export declare const markdownSchema: Schema<"image" | "blockquote" | "table" | "text" | "heading" | "paragraph" | "frontmatter" | "doc" | "bullet_list" | "code_block" | "horizontal_rule" | "
|
|
12
|
+
export declare const markdownSchema: Schema<"image" | "blockquote" | "table" | "text" | "heading" | "paragraph" | "list_item" | "frontmatter" | "doc" | "bullet_list" | "code_block" | "horizontal_rule" | "ordered_list" | "table_row" | "table_cell" | "table_header" | "hard_break" | "html_block" | "html_inline", "code" | "link" | "strike" | "em" | "strong">;
|
|
@@ -3966,6 +3966,10 @@
|
|
|
3966
3966
|
* Target applied to every rendered link. Set to `_blank` to open links in a new tab, which also adds `rel="noopener noreferrer"`. Empty (the default) leaves anchors untouched.
|
|
3967
3967
|
*/
|
|
3968
3968
|
linkTarget?: string;
|
|
3969
|
+
/**
|
|
3970
|
+
* Renders `$…$` and `$$…$$` with KaTeX, loaded lazily. Invalid TeX, or a browser without MathML, keeps its source.
|
|
3971
|
+
*/
|
|
3972
|
+
showMathNotation?: boolean;
|
|
3969
3973
|
/**
|
|
3970
3974
|
* The markdown to render.
|
|
3971
3975
|
*/
|
package/package.json
CHANGED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import "./chunk-NSK5VX7P.CigvU-YZ.js";
|
|
2
|
-
import "./chunk-X3CZISLH.D200o-iZ.js";
|
|
3
|
-
import "./chunk-I66GZJ75.H0-SV6eJ.js";
|
|
4
|
-
import "./chunk-4I5QYGJK.BfgT5lel.js";
|
|
5
|
-
import "./chunk-WRU74C26.DI6bT2w6.js";
|
|
6
|
-
import "./chunk-7BUUIJ7U.2HaDAqLO.js";
|
|
7
|
-
import "./chunk-UBXNYLIW.Cwnmh6rE.js";
|
|
8
|
-
import "./chunk-2GRJ4B5K.gGaxW0lA.js";
|
|
9
|
-
import "./chunk-XXDRQBXY.BwfXrXWR.js";
|
|
10
|
-
import "./chunk-KBJHAD2P.BFtv98WB.js";
|
|
11
|
-
import "./chunk-W5SLKNZC.BGc7e7pD.js";
|
|
12
|
-
import "./chunk-QR6OTTB3.DXgKvg29.js";
|
|
13
|
-
import "./chunk-7Z6QIM7H.ChD5saA-.js";
|
|
14
|
-
import { n as e } from "./chunk-JQJVKLGR.vSmZrVfn.js";
|
|
15
|
-
import "./mermaid.core.CUTdrxBG.js";
|
|
16
|
-
export { e as diagram };
|