@opendesign-plus-test/components 0.0.1-rc.309 → 0.0.1-rc.310
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/article-anchor/OArticleAnchor.vue.d.ts +1 -0
- package/dist/components/article-anchor/index.d.ts +3 -0
- package/dist/components/article-anchor/types.d.ts +2 -0
- package/dist/components.cjs.js +2 -2
- package/dist/components.css +1 -1
- package/dist/components.es.js +20 -18
- package/dist/components.umd.min.js +2 -2
- package/dist/treeshaking/components/activity/OActivityMyCalendar.vue_vue_type_style_index_0_lang.css +2 -2
- package/dist/treeshaking/components/anchor-bar/OAnchorBar.vue_vue_type_style_index_0_scoped_f662dd83_lang.css +1 -1
- package/dist/treeshaking/components/article-anchor/OArticleAnchor.mjs +2 -2
- package/dist/treeshaking/components/article-anchor/OArticleAnchor.vue.d.ts +1 -0
- package/dist/treeshaking/components/article-anchor/OArticleAnchor.vue_vue_type_script_setup_true_lang.mjs +4 -1
- package/dist/treeshaking/components/article-anchor/{OArticleAnchor.vue_vue_type_style_index_0_scoped_4f781be4_lang.css → OArticleAnchor.vue_vue_type_style_index_0_scoped_9d798189_lang.css} +9 -9
- package/dist/treeshaking/components/article-anchor/components/ArticleAnchorMobile.vue_vue_type_style_index_0_scoped_48812513_lang.css +1 -1
- package/dist/treeshaking/components/article-anchor/components/ArticleAnchorPad.vue_vue_type_style_index_0_scoped_3618aaf9_lang.css +2 -2
- package/dist/treeshaking/components/article-anchor/index.d.ts +3 -0
- package/dist/treeshaking/components/article-anchor/types.d.ts +2 -0
- package/dist/treeshaking/components/brand/OBrandFile.vue_vue_type_style_index_0_scoped_8c067acb_lang.css +1 -1
- package/dist/treeshaking/components/brand/OBrandLogo.mjs +2 -2
- package/dist/treeshaking/components/brand/{OBrandLogo.vue_vue_type_style_index_0_scoped_6b4fb6c1_lang.css → OBrandLogo.vue_vue_type_style_index_0_scoped_cc0f7818_lang.css} +22 -25
- package/dist/treeshaking/components/brand/OBrandStandard.mjs +2 -2
- package/dist/treeshaking/components/brand/{OBrandStandard.vue_vue_type_style_index_0_scoped_a9afbc57_lang.css → OBrandStandard.vue_vue_type_style_index_0_scoped_fbcc0c71_lang.css} +27 -27
- package/dist/treeshaking/components/doc-layout/ODocLayout.vue_vue_type_style_index_0_scoped_a143db47_lang.css +1 -1
- package/dist/treeshaking/components/header/OHeader.vue_vue_type_style_index_0_scoped_c1620a61_lang.css +1 -1
- package/dist/treeshaking/components/header/components/HeaderContent.vue_vue_type_style_index_0_scoped_366a2b01_lang.css +1 -1
- package/dist/treeshaking/components/header/components/HeaderFlatten.vue_vue_type_style_index_0_scoped_edcea052_lang.css +2 -2
- package/dist/treeshaking/components/header/components/HeaderNav.vue_vue_type_style_index_0_scoped_01bf1a8c_lang.css +2 -2
- package/dist/treeshaking/components/markdown/OMarkdown.vue_vue_type_style_index_0_lang.css +4 -4
- package/dist/treeshaking/components/markdown/components/MarkdownCode.vue_vue_type_style_index_1_scoped_e878a7c0_lang.css +5 -5
- package/dist/treeshaking/components/markdown/components/MarkdownImage.vue_vue_type_style_index_0_scoped_efb64f3b_lang.css +4 -4
- package/dist/treeshaking/components/meeting/OMeetingMyCalendar.vue_vue_type_style_index_0_lang.css +2 -2
- package/dist/treeshaking/components/meeting/OMeetingPlayback.vue_vue_type_style_index_0_lang.css +1 -1
- package/dist/treeshaking/components/meeting/components/OMeetingPlaybackSubtitles.vue_vue_type_style_index_0_lang.css +1 -1
- package/dist/treeshaking/components/org/OOrgDesc.mjs +2 -2
- package/dist/treeshaking/components/org/{OOrgDesc.vue_vue_type_style_index_0_scoped_5a9df0b4_lang.css → OOrgDesc.vue_vue_type_style_index_0_scoped_ef961ebc_lang.css} +23 -23
- package/dist/treeshaking/components/summit/OSummitLive.vue_vue_type_style_index_0_scoped_634db517_lang.css +4 -4
- package/package.json +3 -3
package/dist/components.es.js
CHANGED
|
@@ -30613,6 +30613,7 @@ var Jw = {
|
|
|
30613
30613
|
default: !0
|
|
30614
30614
|
},
|
|
30615
30615
|
maxLevel: { default: 2 },
|
|
30616
|
+
minLevel: { default: 2 },
|
|
30616
30617
|
writeId: {
|
|
30617
30618
|
type: Boolean,
|
|
30618
30619
|
default: !0
|
|
@@ -30676,35 +30677,35 @@ var Jw = {
|
|
|
30676
30677
|
c.value = [];
|
|
30677
30678
|
return;
|
|
30678
30679
|
}
|
|
30679
|
-
let t = Math.min(4, Math.max(2, i.maxLevel)), n = [];
|
|
30680
|
-
for (let e =
|
|
30681
|
-
let
|
|
30680
|
+
let t = Math.min(4, Math.max(2, i.maxLevel)), n = Math.max(1, Math.min(i.minLevel, t)), r = [];
|
|
30681
|
+
for (let e = n; e <= t; e++) r.push(`h${e}`);
|
|
30682
|
+
let a = [], o = [{
|
|
30682
30683
|
level: 0,
|
|
30683
|
-
list:
|
|
30684
|
-
}],
|
|
30685
|
-
e.querySelectorAll(
|
|
30684
|
+
list: a
|
|
30685
|
+
}], s = /* @__PURE__ */ new Set();
|
|
30686
|
+
e.querySelectorAll(r.join(",")).forEach((e) => {
|
|
30686
30687
|
let t = e, n = Number(e.tagName.charAt(1)) - 1, r = t.id;
|
|
30687
30688
|
if (!r) {
|
|
30688
30689
|
if (r = I(t.textContent || ""), !r) return;
|
|
30689
30690
|
let e = r, n = 1;
|
|
30690
|
-
for (;
|
|
30691
|
+
for (; s.has(e);) e = `${r}-${n++}`;
|
|
30691
30692
|
r = e, i.writeId && (t.id = r);
|
|
30692
30693
|
}
|
|
30693
|
-
|
|
30694
|
-
let
|
|
30695
|
-
i.idPrefix && r.startsWith(i.idPrefix) && r.length > i.idPrefix.length && (
|
|
30694
|
+
s.add(r);
|
|
30695
|
+
let a = `#${r}`, c;
|
|
30696
|
+
i.idPrefix && r.startsWith(i.idPrefix) && r.length > i.idPrefix.length && (a = `#${r.slice(i.idPrefix.length)}`, c = `#${r}`);
|
|
30696
30697
|
let l = {
|
|
30697
|
-
href:
|
|
30698
|
+
href: a,
|
|
30698
30699
|
title: (t.textContent || "").trim(),
|
|
30699
30700
|
observeHref: c,
|
|
30700
30701
|
children: []
|
|
30701
30702
|
};
|
|
30702
|
-
for (;
|
|
30703
|
-
|
|
30703
|
+
for (; o.length > 1 && o[o.length - 1].level >= n;) o.pop();
|
|
30704
|
+
o[o.length - 1].list.push(l), o.push({
|
|
30704
30705
|
level: n,
|
|
30705
30706
|
list: l.children
|
|
30706
30707
|
});
|
|
30707
|
-
}), c.value =
|
|
30708
|
+
}), c.value = a;
|
|
30708
30709
|
}, B = () => {
|
|
30709
30710
|
if (!i.autoExtract) return;
|
|
30710
30711
|
let e = L() || document.body;
|
|
@@ -30727,6 +30728,7 @@ var Jw = {
|
|
|
30727
30728
|
i.selector,
|
|
30728
30729
|
i.autoExtract,
|
|
30729
30730
|
i.maxLevel,
|
|
30731
|
+
i.minLevel,
|
|
30730
30732
|
i.idPrefix
|
|
30731
30733
|
], () => {
|
|
30732
30734
|
ee(), z(), B();
|
|
@@ -30829,7 +30831,7 @@ var Jw = {
|
|
|
30829
30831
|
}, 512)])], 8, ["to", "disabled"]))
|
|
30830
30832
|
])) : d("", !0);
|
|
30831
30833
|
}
|
|
30832
|
-
}), [["__scopeId", "data-v-
|
|
30834
|
+
}), [["__scopeId", "data-v-9d798189"]]), cT = Object.assign(sT, { install(e) {
|
|
30833
30835
|
e.component("OArticleAnchor", sT);
|
|
30834
30836
|
} }), lT = Object.assign(PC, { install(e) {
|
|
30835
30837
|
e.component("OArticlePagination", PC);
|
|
@@ -31128,7 +31130,7 @@ var CT = { class: "o-brand-logo" }, wT = { class: "o-brand-logo-btn" }, TT = /*#
|
|
|
31128
31130
|
_: 1
|
|
31129
31131
|
})]));
|
|
31130
31132
|
}
|
|
31131
|
-
}), [["__scopeId", "data-v-
|
|
31133
|
+
}), [["__scopeId", "data-v-cc0f7818"]]), ET = { class: "o-brand-file" }, DT = { class: "o-brand-file-btn" }, OT = /*#__PURE__*/ i(/* @__PURE__ */ v({
|
|
31132
31134
|
__name: "OBrandFile",
|
|
31133
31135
|
props: { list: { default: () => [] } },
|
|
31134
31136
|
setup(t) {
|
|
@@ -31207,7 +31209,7 @@ var CT = { class: "o-brand-logo" }, wT = { class: "o-brand-logo-btn" }, TT = /*#
|
|
|
31207
31209
|
_: 1
|
|
31208
31210
|
}));
|
|
31209
31211
|
}
|
|
31210
|
-
}), [["__scopeId", "data-v-
|
|
31212
|
+
}), [["__scopeId", "data-v-fbcc0c71"]]), FT = Object.assign(TT, { install(e) {
|
|
31211
31213
|
e.component("OBrandLogo", TT);
|
|
31212
31214
|
} }), IT = Object.assign(OT, { install(e) {
|
|
31213
31215
|
e.component("OBrandFile", OT);
|
|
@@ -35905,7 +35907,7 @@ var rN = { class: "o-logo-swiper" }, iN = { class: "o-logo-swiper-tip" }, aN = /
|
|
|
35905
35907
|
V(e.$slots, "default", {}, void 0, !0)
|
|
35906
35908
|
]));
|
|
35907
35909
|
}
|
|
35908
|
-
}), [["__scopeId", "data-v-
|
|
35910
|
+
}), [["__scopeId", "data-v-ef961ebc"]]), hN = {
|
|
35909
35911
|
version: "1.1",
|
|
35910
35912
|
xmlns: "http://www.w3.org/2000/svg",
|
|
35911
35913
|
width: "32",
|