@opendesign-plus-test/components 0.0.1-rc.182 → 0.0.1-rc.183
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/chunk-OElCookieNotice.cjs.js +1 -1
- package/dist/chunk-OElCookieNotice.es.js +55 -73
- package/dist/components/activity/OActivityApproval.vue.d.ts +19 -169
- package/dist/components/activity/OActivityForm.vue.d.ts +19 -169
- package/dist/components/activity/OActivityMyCalendar.vue.d.ts +10 -18
- package/dist/components/activity/index.d.ts +52 -356
- package/dist/components/anchor-bar/OAnchorBar.vue.d.ts +2 -2
- package/dist/components/anchor-bar/index.d.ts +9 -9
- package/dist/components/banner/index.d.ts +6 -6
- package/dist/components/brand/index.d.ts +15 -15
- package/dist/components/events/index.d.ts +20 -20
- package/dist/components/footer/index.d.ts +3 -3
- package/dist/components/header/OHeaderMobile.vue.d.ts +8 -8
- package/dist/components/header/components/HeaderNavMobile.vue.d.ts +1 -1
- package/dist/components/header/index.d.ts +28 -28
- package/dist/components/header-language-switcher/OHeaderLanguageSwitcher.vue.d.ts +1 -1
- package/dist/components/header-language-switcher/index.d.ts +3 -3
- package/dist/components/header-search/OHeaderSearch.vue.d.ts +35 -43
- package/dist/components/header-search/index.d.ts +33 -37
- package/dist/components/logo-swiper/index.d.ts +11 -11
- package/dist/components/meeting/OMeetingForm.vue.d.ts +19 -169
- package/dist/components/meeting/OMeetingMinutes.vue.d.ts +10 -18
- package/dist/components/meeting/OMeetingMyCalendar.vue.d.ts +10 -18
- package/dist/components/meeting/OMeetingPlayback.vue.d.ts +6 -6
- package/dist/components/meeting/OMeetingSendMinutesForm.vue.d.ts +19 -169
- package/dist/components/meeting/components/OMeetingPlaybackVideo.vue.d.ts +1 -1
- package/dist/components/meeting/components/OMeetingSendMinutesDialog.vue.d.ts +19 -169
- package/dist/components/meeting/components/OMeetingSigAside.vue.d.ts +5 -9
- package/dist/components/meeting/index.d.ts +93 -401
- package/dist/components/org/index.d.ts +9 -9
- package/dist/components/search/OSearchInput.vue.d.ts +35 -43
- package/dist/components/search/index.d.ts +31 -35
- package/dist/components/search/internal/SearchImageInput.vue.d.ts +29 -37
- package/dist/components/sig/index.d.ts +15 -15
- package/dist/components/summit/index.d.ts +12 -12
- package/dist/components/video/index.d.ts +3 -3
- package/dist/components.cjs.js +44 -44
- package/dist/components.css +1 -1
- package/dist/components.es.js +12548 -13443
- package/dist/index.d.ts +0 -1
- package/dist/treeshaking/components/activity/OActivityApproval.vue.d.ts +19 -169
- package/dist/treeshaking/components/activity/OActivityForm.vue.d.ts +19 -169
- package/dist/treeshaking/components/activity/OActivityMyCalendar.vue.d.ts +10 -18
- package/dist/treeshaking/components/activity/index.d.ts +52 -356
- package/dist/treeshaking/components/anchor-bar/OAnchorBar.vue.d.ts +2 -2
- package/dist/treeshaking/components/anchor-bar/index.d.ts +9 -9
- package/dist/treeshaking/components/banner/index.d.ts +6 -6
- package/dist/treeshaking/components/brand/index.d.ts +15 -15
- package/dist/treeshaking/components/config-provider/OPlusConfigProvider.vue.mjs +5 -5
- package/dist/treeshaking/components/events/index.d.ts +20 -20
- package/dist/treeshaking/components/footer/index.d.ts +3 -3
- package/dist/treeshaking/components/header/OHeader.css +17 -17
- package/dist/treeshaking/components/header/OHeader.vue.mjs +1 -1
- package/dist/treeshaking/components/header/OHeader.vue2.mjs +19 -13
- package/dist/treeshaking/components/header/OHeaderMobile.vue.d.ts +8 -8
- package/dist/treeshaking/components/header/components/HeaderContent.css +184 -184
- package/dist/treeshaking/components/header/components/HeaderContent.vue.mjs +1 -1
- package/dist/treeshaking/components/header/components/HeaderContent.vue2.mjs +8 -6
- package/dist/treeshaking/components/header/components/HeaderNavMobile.vue.d.ts +1 -1
- package/dist/treeshaking/components/header/index.d.ts +28 -28
- package/dist/treeshaking/components/header-language-switcher/OHeaderLanguageSwitcher.vue.d.ts +1 -1
- package/dist/treeshaking/components/header-language-switcher/index.d.ts +3 -3
- package/dist/treeshaking/components/header-search/OHeaderSearch.vue.d.ts +35 -43
- package/dist/treeshaking/components/header-search/index.d.ts +33 -37
- package/dist/treeshaking/components/logo-swiper/index.d.ts +11 -11
- package/dist/treeshaking/components/meeting/OMeetingForm.vue.d.ts +19 -169
- package/dist/treeshaking/components/meeting/OMeetingMinutes.vue.d.ts +10 -18
- package/dist/treeshaking/components/meeting/OMeetingMyCalendar.vue.d.ts +10 -18
- package/dist/treeshaking/components/meeting/OMeetingPlayback.vue.d.ts +6 -6
- package/dist/treeshaking/components/meeting/OMeetingSendMinutesForm.vue.d.ts +19 -169
- package/dist/treeshaking/components/meeting/components/OMeetingPlaybackVideo.vue.d.ts +1 -1
- package/dist/treeshaking/components/meeting/components/OMeetingSendMinutesDialog.vue.d.ts +19 -169
- package/dist/treeshaking/components/meeting/components/OMeetingSigAside.vue.d.ts +5 -9
- package/dist/treeshaking/components/meeting/index.d.ts +93 -401
- package/dist/treeshaking/components/org/index.d.ts +9 -9
- package/dist/treeshaking/components/search/OSearchInput.vue.d.ts +35 -43
- package/dist/treeshaking/components/search/index.d.ts +31 -35
- package/dist/treeshaking/components/search/internal/SearchImageInput.vue.d.ts +29 -37
- package/dist/treeshaking/components/sig/index.d.ts +15 -15
- package/dist/treeshaking/components/summit/index.d.ts +12 -12
- package/dist/treeshaking/components/video/index.d.ts +3 -3
- package/dist/treeshaking/i18n/en.mjs +0 -9
- package/dist/treeshaking/i18n/index.mjs +1 -1
- package/dist/treeshaking/i18n/zh.mjs +0 -9
- package/dist/treeshaking/index.d.ts +0 -1
- package/dist/treeshaking/index.mjs +0 -3
- package/dist/treeshaking/shared/theme.mjs +3 -15
- package/package.json +3 -3
- package/dist/components/markdown/OMarkdown.vue.d.ts +0 -37
- package/dist/components/markdown/OMarkdownPagination.vue.d.ts +0 -25
- package/dist/components/markdown/components/MarkdownCode.vue.d.ts +0 -8
- package/dist/components/markdown/components/MarkdownImage.vue.d.ts +0 -8
- package/dist/components/markdown/components/MarkdownPageTitle.vue.d.ts +0 -12
- package/dist/components/markdown/components/MarkdownTable.vue.d.ts +0 -5
- package/dist/components/markdown/components/MarkdownTableData.vue.d.ts +0 -11
- package/dist/components/markdown/components/MarkdownTableExpand.vue.d.ts +0 -12
- package/dist/components/markdown/components/MarkdownTitle.vue.d.ts +0 -6
- package/dist/components/markdown/replacer/code.d.ts +0 -2
- package/dist/components/markdown/replacer/h1.d.ts +0 -7
- package/dist/components/markdown/replacer/h2.d.ts +0 -2
- package/dist/components/markdown/replacer/img.d.ts +0 -2
- package/dist/components/markdown/replacer/table.d.ts +0 -2
- package/dist/treeshaking/_virtual/icon-copy2.mjs +0 -20
- package/dist/treeshaking/_virtual/icon-expand.mjs +0 -21
- package/dist/treeshaking/_virtual/icon-link.mjs +0 -31
- package/dist/treeshaking/_virtual/icon-more.mjs +0 -19
- package/dist/treeshaking/_virtual/icon-next.mjs +0 -23
- package/dist/treeshaking/_virtual/icon-unexpand.mjs +0 -22
- package/dist/treeshaking/assets/markdown/md-title-bg.png.mjs +0 -4
- package/dist/treeshaking/assets/svg-icons/icon-zoom.svg.mjs +0 -4
- package/dist/treeshaking/components/markdown/OMarkdown.css +0 -1149
- package/dist/treeshaking/components/markdown/OMarkdown.vue.d.ts +0 -37
- package/dist/treeshaking/components/markdown/OMarkdown.vue.mjs +0 -8
- package/dist/treeshaking/components/markdown/OMarkdown.vue2.mjs +0 -147
- package/dist/treeshaking/components/markdown/OMarkdown2.css +0 -14
- package/dist/treeshaking/components/markdown/OMarkdownPagination.css +0 -218
- package/dist/treeshaking/components/markdown/OMarkdownPagination.vue.d.ts +0 -25
- package/dist/treeshaking/components/markdown/OMarkdownPagination.vue.mjs +0 -7
- package/dist/treeshaking/components/markdown/OMarkdownPagination.vue2.mjs +0 -101
- package/dist/treeshaking/components/markdown/components/MarkdownCode.css +0 -12
- package/dist/treeshaking/components/markdown/components/MarkdownCode.vue.d.ts +0 -8
- package/dist/treeshaking/components/markdown/components/MarkdownCode.vue.mjs +0 -8
- package/dist/treeshaking/components/markdown/components/MarkdownCode.vue2.mjs +0 -122
- package/dist/treeshaking/components/markdown/components/MarkdownCode2.css +0 -130
- package/dist/treeshaking/components/markdown/components/MarkdownImage.css +0 -73
- package/dist/treeshaking/components/markdown/components/MarkdownImage.vue.d.ts +0 -8
- package/dist/treeshaking/components/markdown/components/MarkdownImage.vue.mjs +0 -7
- package/dist/treeshaking/components/markdown/components/MarkdownImage.vue2.mjs +0 -76
- package/dist/treeshaking/components/markdown/components/MarkdownPageTitle.css +0 -265
- package/dist/treeshaking/components/markdown/components/MarkdownPageTitle.vue.d.ts +0 -12
- package/dist/treeshaking/components/markdown/components/MarkdownPageTitle.vue.mjs +0 -7
- package/dist/treeshaking/components/markdown/components/MarkdownPageTitle.vue2.mjs +0 -160
- package/dist/treeshaking/components/markdown/components/MarkdownTable.css +0 -61
- package/dist/treeshaking/components/markdown/components/MarkdownTable.vue.d.ts +0 -5
- package/dist/treeshaking/components/markdown/components/MarkdownTable.vue.mjs +0 -7
- package/dist/treeshaking/components/markdown/components/MarkdownTable.vue2.mjs +0 -59
- package/dist/treeshaking/components/markdown/components/MarkdownTableData.css +0 -111
- package/dist/treeshaking/components/markdown/components/MarkdownTableData.vue.d.ts +0 -11
- package/dist/treeshaking/components/markdown/components/MarkdownTableData.vue.mjs +0 -7
- package/dist/treeshaking/components/markdown/components/MarkdownTableData.vue2.mjs +0 -181
- package/dist/treeshaking/components/markdown/components/MarkdownTableExpand.css +0 -66
- package/dist/treeshaking/components/markdown/components/MarkdownTableExpand.vue.d.ts +0 -12
- package/dist/treeshaking/components/markdown/components/MarkdownTableExpand.vue.mjs +0 -7
- package/dist/treeshaking/components/markdown/components/MarkdownTableExpand.vue2.mjs +0 -57
- package/dist/treeshaking/components/markdown/components/MarkdownTitle.css +0 -173
- package/dist/treeshaking/components/markdown/components/MarkdownTitle.vue.d.ts +0 -6
- package/dist/treeshaking/components/markdown/components/MarkdownTitle.vue.mjs +0 -7
- package/dist/treeshaking/components/markdown/components/MarkdownTitle.vue2.mjs +0 -69
- package/dist/treeshaking/components/markdown/index.mjs +0 -16
- package/dist/treeshaking/components/markdown/replacer/code.d.ts +0 -2
- package/dist/treeshaking/components/markdown/replacer/code.mjs +0 -22
- package/dist/treeshaking/components/markdown/replacer/h1.d.ts +0 -7
- package/dist/treeshaking/components/markdown/replacer/h1.mjs +0 -25
- package/dist/treeshaking/components/markdown/replacer/h2.d.ts +0 -2
- package/dist/treeshaking/components/markdown/replacer/h2.mjs +0 -22
- package/dist/treeshaking/components/markdown/replacer/img.d.ts +0 -2
- package/dist/treeshaking/components/markdown/replacer/img.mjs +0 -22
- package/dist/treeshaking/components/markdown/replacer/table.d.ts +0 -2
- package/dist/treeshaking/components/markdown/replacer/table.mjs +0 -22
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import _sfc_main from "./MarkdownPageTitle.vue2.mjs";
|
|
2
|
-
import './MarkdownPageTitle.css';
|
|
3
|
-
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const MarkdownPageTitle = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-b8d1c3a8"]]);
|
|
5
|
-
export {
|
|
6
|
-
MarkdownPageTitle as default
|
|
7
|
-
};
|
|
@@ -1,160 +0,0 @@
|
|
|
1
|
-
import { defineComponent, useCssVars, computed, toValue, ref, onMounted, nextTick, watch, openBlock, createElementBlock, Fragment, createElementVNode, normalizeClass, unref, withDirectives, createBlock, withCtx, createVNode, createCommentVNode, createTextVNode, toDisplayString } from "vue";
|
|
2
|
-
import { useWindowSize } from "@vueuse/core";
|
|
3
|
-
import { OIcon, OLink, ODialog } from "@opensig/opendesign";
|
|
4
|
-
import { useScreen } from "@opendesign-plus/composables";
|
|
5
|
-
import { buildVueDompurifyHTMLDirective } from "vue-dompurify-html";
|
|
6
|
-
import { useI18n } from "../../../i18n/index.mjs";
|
|
7
|
-
import bg from "../../../assets/markdown/md-title-bg.png.mjs";
|
|
8
|
-
import IconOutlink from "../../../_virtual/icon-outlink.mjs";
|
|
9
|
-
import IconMore from "../../../_virtual/icon-more.mjs";
|
|
10
|
-
const _hoisted_1 = { class: "o-md-page-title-content" };
|
|
11
|
-
const _hoisted_2 = { class: "o-md-page-title-text __mounted" };
|
|
12
|
-
const _hoisted_3 = {
|
|
13
|
-
key: 0,
|
|
14
|
-
class: "o-md-page-title-actions"
|
|
15
|
-
};
|
|
16
|
-
const _hoisted_4 = {
|
|
17
|
-
key: 1,
|
|
18
|
-
class: "o-md-page-title-update-time"
|
|
19
|
-
};
|
|
20
|
-
const _hoisted_5 = {
|
|
21
|
-
key: 0,
|
|
22
|
-
class: "o-md-page-dlg-action-box-container"
|
|
23
|
-
};
|
|
24
|
-
const _hoisted_6 = { class: "o-md-page-dlg-action-box-icon" };
|
|
25
|
-
const _hoisted_7 = { class: "o-md-page-dlg-action-box-label" };
|
|
26
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
27
|
-
__name: "MarkdownPageTitle",
|
|
28
|
-
props: {
|
|
29
|
-
el: {},
|
|
30
|
-
bgImage: {},
|
|
31
|
-
sourceUrl: {},
|
|
32
|
-
updateTime: {}
|
|
33
|
-
},
|
|
34
|
-
setup(__props) {
|
|
35
|
-
useCssVars((_ctx) => ({
|
|
36
|
-
"v464f5c96": bgImage.value
|
|
37
|
-
}));
|
|
38
|
-
const props = __props;
|
|
39
|
-
const bgImage = computed(() => `url(${toValue(props.bgImage) || bg})`);
|
|
40
|
-
const sourceUrl = computed(() => toValue(props.sourceUrl));
|
|
41
|
-
const updateTime = computed(() => toValue(props.updateTime));
|
|
42
|
-
const showActions = computed(() => sourceUrl.value || updateTime.value);
|
|
43
|
-
const vDompurifyHtml = buildVueDompurifyHTMLDirective({
|
|
44
|
-
default: {
|
|
45
|
-
FORBID_ATTR: ["style"]
|
|
46
|
-
}
|
|
47
|
-
});
|
|
48
|
-
const { lePadV } = useScreen();
|
|
49
|
-
const { width } = useWindowSize();
|
|
50
|
-
const { t } = useI18n();
|
|
51
|
-
const titleRef = ref();
|
|
52
|
-
const isFirstH1 = ref(false);
|
|
53
|
-
const showActionsDlg = ref(false);
|
|
54
|
-
const checkShowDownloadPdf = () => {
|
|
55
|
-
var _a;
|
|
56
|
-
const mdBodyH1 = document.querySelector(".markdown-body h1");
|
|
57
|
-
const myH1 = (_a = titleRef.value) == null ? void 0 : _a.querySelector("h1");
|
|
58
|
-
isFirstH1.value = myH1 === mdBodyH1;
|
|
59
|
-
};
|
|
60
|
-
onMounted(async () => {
|
|
61
|
-
await nextTick();
|
|
62
|
-
checkShowDownloadPdf();
|
|
63
|
-
});
|
|
64
|
-
watch([lePadV, width], async () => {
|
|
65
|
-
await nextTick();
|
|
66
|
-
checkShowDownloadPdf();
|
|
67
|
-
});
|
|
68
|
-
const openSourceUrl = () => {
|
|
69
|
-
window.open(sourceUrl.value, "_blank", "noopener,noreferrer");
|
|
70
|
-
};
|
|
71
|
-
return (_ctx, _cache) => {
|
|
72
|
-
var _a;
|
|
73
|
-
return openBlock(), createElementBlock(Fragment, null, [
|
|
74
|
-
createElementVNode("div", {
|
|
75
|
-
ref_key: "titleRef",
|
|
76
|
-
ref: titleRef,
|
|
77
|
-
class: normalizeClass(["o-md-page-title", {
|
|
78
|
-
"is-simple": !isFirstH1.value || unref(lePadV),
|
|
79
|
-
"first-h1": isFirstH1.value,
|
|
80
|
-
"more-h1": !isFirstH1.value
|
|
81
|
-
}])
|
|
82
|
-
}, [
|
|
83
|
-
createElementVNode("div", _hoisted_1, [
|
|
84
|
-
withDirectives(createElementVNode("div", _hoisted_2, null, 512), [
|
|
85
|
-
[unref(vDompurifyHtml), (_a = __props.el) == null ? void 0 : _a.outerHTML]
|
|
86
|
-
])
|
|
87
|
-
]),
|
|
88
|
-
isFirstH1.value && showActions.value ? (openBlock(), createElementBlock("div", _hoisted_3, [
|
|
89
|
-
unref(lePadV) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
90
|
-
sourceUrl.value ? (openBlock(), createBlock(unref(OIcon), {
|
|
91
|
-
key: 0,
|
|
92
|
-
class: "o-md-page-title-icon-more",
|
|
93
|
-
onClick: _cache[0] || (_cache[0] = ($event) => showActionsDlg.value = true)
|
|
94
|
-
}, {
|
|
95
|
-
default: withCtx(() => [
|
|
96
|
-
createVNode(unref(IconMore))
|
|
97
|
-
]),
|
|
98
|
-
_: 1
|
|
99
|
-
})) : createCommentVNode("", true)
|
|
100
|
-
], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
101
|
-
sourceUrl.value ? (openBlock(), createBlock(unref(OLink), {
|
|
102
|
-
key: 0,
|
|
103
|
-
class: "o-md-page-title-source-code",
|
|
104
|
-
size: "large",
|
|
105
|
-
href: sourceUrl.value,
|
|
106
|
-
target: "_blank",
|
|
107
|
-
rel: "noopener noreferrer"
|
|
108
|
-
}, {
|
|
109
|
-
default: withCtx(() => [
|
|
110
|
-
createTextVNode(toDisplayString(unref(t)("md.gitSource")) + " ", 1),
|
|
111
|
-
createVNode(unref(OIcon), { class: "o-md-page-title-icon-outlink" }, {
|
|
112
|
-
default: withCtx(() => [
|
|
113
|
-
createVNode(unref(IconOutlink))
|
|
114
|
-
]),
|
|
115
|
-
_: 1
|
|
116
|
-
})
|
|
117
|
-
]),
|
|
118
|
-
_: 1
|
|
119
|
-
}, 8, ["href"])) : createCommentVNode("", true),
|
|
120
|
-
updateTime.value ? (openBlock(), createElementBlock("span", _hoisted_4, toDisplayString(unref(t)("md.updateTime")) + toDisplayString(updateTime.value), 1)) : createCommentVNode("", true)
|
|
121
|
-
], 64))
|
|
122
|
-
])) : createCommentVNode("", true)
|
|
123
|
-
], 2),
|
|
124
|
-
unref(lePadV) && showActions.value ? (openBlock(), createBlock(unref(ODialog), {
|
|
125
|
-
key: 0,
|
|
126
|
-
visible: showActionsDlg.value,
|
|
127
|
-
"onUpdate:visible": _cache[1] || (_cache[1] = ($event) => showActionsDlg.value = $event),
|
|
128
|
-
size: "medium",
|
|
129
|
-
"phone-half-full": ""
|
|
130
|
-
}, {
|
|
131
|
-
header: withCtx(() => [
|
|
132
|
-
createTextVNode(toDisplayString(unref(t)("md.moreActions")), 1)
|
|
133
|
-
]),
|
|
134
|
-
default: withCtx(() => [
|
|
135
|
-
sourceUrl.value ? (openBlock(), createElementBlock("div", _hoisted_5, [
|
|
136
|
-
createElementVNode("div", {
|
|
137
|
-
class: "o-md-page-dlg-action-box",
|
|
138
|
-
onClick: openSourceUrl
|
|
139
|
-
}, [
|
|
140
|
-
createElementVNode("div", _hoisted_6, [
|
|
141
|
-
createVNode(unref(OIcon), null, {
|
|
142
|
-
default: withCtx(() => [
|
|
143
|
-
createVNode(unref(IconOutlink))
|
|
144
|
-
]),
|
|
145
|
-
_: 1
|
|
146
|
-
})
|
|
147
|
-
]),
|
|
148
|
-
createElementVNode("div", _hoisted_7, toDisplayString(unref(t)("md.gitSource")), 1)
|
|
149
|
-
])
|
|
150
|
-
])) : createCommentVNode("", true)
|
|
151
|
-
]),
|
|
152
|
-
_: 1
|
|
153
|
-
}, 8, ["visible"])) : createCommentVNode("", true)
|
|
154
|
-
], 64);
|
|
155
|
-
};
|
|
156
|
-
}
|
|
157
|
-
});
|
|
158
|
-
export {
|
|
159
|
-
_sfc_main as default
|
|
160
|
-
};
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
.hover-icon-rotate .o-icon[data-v-ce85236e] {
|
|
2
|
-
transition: all var(--o-duration-m1) var(--o-easing-standard-in);
|
|
3
|
-
}
|
|
4
|
-
@media (hover: hover) {
|
|
5
|
-
.hover-icon-rotate:hover .o-icon[data-v-ce85236e] {
|
|
6
|
-
transform: rotate(-180deg);
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
.o-md-table-container[data-v-ce85236e] {
|
|
10
|
-
position: relative;
|
|
11
|
-
width: 100%;
|
|
12
|
-
margin-bottom: var(--o-gap-2, 8px);
|
|
13
|
-
}
|
|
14
|
-
.o-md-table-container .o-md-table-expand-btn[data-v-ce85236e] {
|
|
15
|
-
position: absolute;
|
|
16
|
-
top: 1px;
|
|
17
|
-
right: 1px;
|
|
18
|
-
display: flex;
|
|
19
|
-
align-items: center;
|
|
20
|
-
justify-content: center;
|
|
21
|
-
padding: 7px 16px;
|
|
22
|
-
z-index: 10;
|
|
23
|
-
cursor: pointer;
|
|
24
|
-
color: var(--o-color-info2);
|
|
25
|
-
background-color: var(--o-color-fill2);
|
|
26
|
-
border-top-right-radius: var(--o-radius-xs);
|
|
27
|
-
font-size: 14px;
|
|
28
|
-
line-height: 22px;
|
|
29
|
-
}
|
|
30
|
-
@media (min-width: 1201px) and (max-width: 1680px) {
|
|
31
|
-
.o-md-table-container .o-md-table-expand-btn[data-v-ce85236e] {
|
|
32
|
-
font-size: 14px;
|
|
33
|
-
line-height: 18px;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
@media (min-width: 841px) and (max-width: 1200px) {
|
|
37
|
-
.o-md-table-container .o-md-table-expand-btn[data-v-ce85236e] {
|
|
38
|
-
font-size: 12px;
|
|
39
|
-
line-height: 18px;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
@media (min-width: 601px) and (max-width: 840px) {
|
|
43
|
-
.o-md-table-container .o-md-table-expand-btn[data-v-ce85236e] {
|
|
44
|
-
font-size: 12px;
|
|
45
|
-
line-height: 18px;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
@media (max-width: 600px) {
|
|
49
|
-
.o-md-table-container .o-md-table-expand-btn[data-v-ce85236e] {
|
|
50
|
-
font-size: 12px;
|
|
51
|
-
line-height: 18px;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
@media (hover: hover) {
|
|
55
|
-
.o-md-table-container .o-md-table-expand-btn[data-v-ce85236e]:hover {
|
|
56
|
-
color: var(--o-color-info1);
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
.o-md-table-container .o-md-table-expand-btn .o-md-table-expand-icon[data-v-ce85236e] {
|
|
60
|
-
margin-right: 8px;
|
|
61
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
type __VLS_Props = {
|
|
2
|
-
el: HTMLTableElement;
|
|
3
|
-
};
|
|
4
|
-
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
5
|
-
export default _default;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import _sfc_main from "./MarkdownTable.vue2.mjs";
|
|
2
|
-
import './MarkdownTable.css';
|
|
3
|
-
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const MarkdownTable = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-ce85236e"]]);
|
|
5
|
-
export {
|
|
6
|
-
MarkdownTable as default
|
|
7
|
-
};
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { defineComponent, ref, openBlock, createElementBlock, Fragment, createElementVNode, unref, createVNode, withCtx, toDisplayString, createCommentVNode, createBlock } from "vue";
|
|
2
|
-
import { OIcon } from "@opensig/opendesign";
|
|
3
|
-
import { useScreen } from "@opendesign-plus/composables";
|
|
4
|
-
import { useI18n } from "../../../i18n/index.mjs";
|
|
5
|
-
import IconExpand from "../../../_virtual/icon-expand.mjs";
|
|
6
|
-
import MarkdownTableExpand from "./MarkdownTableExpand.vue.mjs";
|
|
7
|
-
import MarkdownTableData from "./MarkdownTableData.vue.mjs";
|
|
8
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
9
|
-
__name: "MarkdownTable",
|
|
10
|
-
props: {
|
|
11
|
-
el: {}
|
|
12
|
-
},
|
|
13
|
-
setup(__props) {
|
|
14
|
-
const { t } = useI18n();
|
|
15
|
-
const { lePadV } = useScreen();
|
|
16
|
-
const showExpand = ref(false);
|
|
17
|
-
const zoomVisible = ref(false);
|
|
18
|
-
const onExpand = () => {
|
|
19
|
-
zoomVisible.value = true;
|
|
20
|
-
};
|
|
21
|
-
return (_ctx, _cache) => {
|
|
22
|
-
var _a, _b;
|
|
23
|
-
return openBlock(), createElementBlock(Fragment, null, [
|
|
24
|
-
createElementVNode("div", {
|
|
25
|
-
class: "o-md-table-container",
|
|
26
|
-
onMouseenter: _cache[0] || (_cache[0] = ($event) => showExpand.value = true),
|
|
27
|
-
onMouseleave: _cache[1] || (_cache[1] = ($event) => showExpand.value = false)
|
|
28
|
-
}, [
|
|
29
|
-
!unref(lePadV) && showExpand.value ? (openBlock(), createElementBlock("div", {
|
|
30
|
-
key: 0,
|
|
31
|
-
class: "o-md-table-expand-btn",
|
|
32
|
-
onClick: onExpand
|
|
33
|
-
}, [
|
|
34
|
-
createVNode(unref(OIcon), { class: "o-md-table-expand-icon" }, {
|
|
35
|
-
default: withCtx(() => [
|
|
36
|
-
createVNode(unref(IconExpand))
|
|
37
|
-
]),
|
|
38
|
-
_: 1
|
|
39
|
-
}),
|
|
40
|
-
createElementVNode("span", null, toDisplayString(unref(t)("common.expand")), 1)
|
|
41
|
-
])) : createCommentVNode("", true),
|
|
42
|
-
((_a = __props.el) == null ? void 0 : _a.outerHTML) ? (openBlock(), createBlock(MarkdownTableData, {
|
|
43
|
-
key: 1,
|
|
44
|
-
content: __props.el.outerHTML
|
|
45
|
-
}, null, 8, ["content"])) : createCommentVNode("", true)
|
|
46
|
-
], 32),
|
|
47
|
-
((_b = __props.el) == null ? void 0 : _b.outerHTML) ? (openBlock(), createBlock(MarkdownTableExpand, {
|
|
48
|
-
key: 0,
|
|
49
|
-
visible: zoomVisible.value,
|
|
50
|
-
"onUpdate:visible": _cache[2] || (_cache[2] = ($event) => zoomVisible.value = $event),
|
|
51
|
-
content: __props.el.outerHTML
|
|
52
|
-
}, null, 8, ["visible", "content"])) : createCommentVNode("", true)
|
|
53
|
-
], 64);
|
|
54
|
-
};
|
|
55
|
-
}
|
|
56
|
-
});
|
|
57
|
-
export {
|
|
58
|
-
_sfc_main as default
|
|
59
|
-
};
|
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
.hover-icon-rotate .o-icon[data-v-876cb34f] {
|
|
2
|
-
transition: all var(--o-duration-m1) var(--o-easing-standard-in);
|
|
3
|
-
}
|
|
4
|
-
@media (hover: hover) {
|
|
5
|
-
.hover-icon-rotate:hover .o-icon[data-v-876cb34f] {
|
|
6
|
-
transform: rotate(-180deg);
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
.o-table-data--wrap[data-v-876cb34f] {
|
|
10
|
-
--o-gap-1: 4px;
|
|
11
|
-
--o-gap-2: 8px;
|
|
12
|
-
--o-gap-3: 12px;
|
|
13
|
-
--o-gap-4: 16px;
|
|
14
|
-
--o-gap-5: 24px;
|
|
15
|
-
--o-gap-6: 32px;
|
|
16
|
-
--o-gap-7: 40px;
|
|
17
|
-
--o-gap-8: 48px;
|
|
18
|
-
--o-gap-9: 64px;
|
|
19
|
-
--o-gap-10: 72px;
|
|
20
|
-
}
|
|
21
|
-
@media (max-width: 1680px) {
|
|
22
|
-
.o-table-data--wrap[data-v-876cb34f] {
|
|
23
|
-
--o-gap-1: 4px;
|
|
24
|
-
--o-gap-2: 8px;
|
|
25
|
-
--o-gap-3: 8px;
|
|
26
|
-
--o-gap-4: 12px;
|
|
27
|
-
--o-gap-5: 16px;
|
|
28
|
-
--o-gap-6: 24px;
|
|
29
|
-
--o-gap-7: 24px;
|
|
30
|
-
--o-gap-8: 40px;
|
|
31
|
-
--o-gap-9: 48px;
|
|
32
|
-
--o-gap-10: 56px;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
@media (max-width: 1200px) {
|
|
36
|
-
.o-table-data--wrap[data-v-876cb34f] {
|
|
37
|
-
--o-gap-1: 4px;
|
|
38
|
-
--o-gap-2: 8px;
|
|
39
|
-
--o-gap-3: 8px;
|
|
40
|
-
--o-gap-4: 8px;
|
|
41
|
-
--o-gap-5: 12px;
|
|
42
|
-
--o-gap-6: 16px;
|
|
43
|
-
--o-gap-7: 16px;
|
|
44
|
-
--o-gap-8: 24px;
|
|
45
|
-
--o-gap-9: 32px;
|
|
46
|
-
--o-gap-10: 40px;
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
@media (max-width: 840px) {
|
|
50
|
-
.o-table-data--wrap[data-v-876cb34f] {
|
|
51
|
-
--o-gap-1: 4px;
|
|
52
|
-
--o-gap-2: 8px;
|
|
53
|
-
--o-gap-3: 12px;
|
|
54
|
-
--o-gap-4: 16px;
|
|
55
|
-
--o-gap-5: 24px;
|
|
56
|
-
--o-gap-6: 28px;
|
|
57
|
-
--o-gap-7: 12px;
|
|
58
|
-
--o-gap-8: 24px;
|
|
59
|
-
--o-gap-9: 32px;
|
|
60
|
-
--o-gap-10: 32px;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
@media (max-width: 600px) {
|
|
64
|
-
.o-table-data--wrap[data-v-876cb34f] {
|
|
65
|
-
--o-gap-1: 4px;
|
|
66
|
-
--o-gap-2: 8px;
|
|
67
|
-
--o-gap-3: 12px;
|
|
68
|
-
--o-gap-4: 16px;
|
|
69
|
-
--o-gap-5: 24px;
|
|
70
|
-
--o-gap-6: 28px;
|
|
71
|
-
--o-gap-7: 12px;
|
|
72
|
-
--o-gap-8: 24px;
|
|
73
|
-
--o-gap-9: 32px;
|
|
74
|
-
--o-gap-10: 32px;
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
.o-table-data--wrap[data-v-876cb34f] .o-data-table {
|
|
78
|
-
--table-edge-padding: var(--o-gap-4);
|
|
79
|
-
--table-cell-padding: var(--o-gap-2) var(--o-gap-4);
|
|
80
|
-
--table-head-cell-padding: var(--o-gap-2) var(--o-gap-4);
|
|
81
|
-
--table-head-bg: var(--o-color-fill2);
|
|
82
|
-
width: 100%;
|
|
83
|
-
}
|
|
84
|
-
.o-table-data--wrap[data-v-876cb34f] .o-data-table .o-data-table-header-divider-h {
|
|
85
|
-
border-image: linear-gradient(to right, #2e53fa, #7b25f4) 1;
|
|
86
|
-
}
|
|
87
|
-
.o-table-data--wrap[data-v-876cb34f] .md-cell {
|
|
88
|
-
background-color: transparent !important;
|
|
89
|
-
color: var(--o-color-info1);
|
|
90
|
-
}
|
|
91
|
-
.o-table-data-original[data-v-876cb34f] {
|
|
92
|
-
width: 100%;
|
|
93
|
-
margin-bottom: var(--o-gap-2);
|
|
94
|
-
max-height: var(--o-md-table-max-height);
|
|
95
|
-
overflow: auto;
|
|
96
|
-
border: 1px solid var(--o-color-control4);
|
|
97
|
-
border-radius: var(--o-md-table-radius, var(--o-radius-xs));
|
|
98
|
-
}
|
|
99
|
-
.o-table-data-original .markdown-body[data-v-876cb34f] {
|
|
100
|
-
color: var(--o-color-info1);
|
|
101
|
-
}
|
|
102
|
-
.o-table-data-original .markdown-body[data-v-876cb34f] table {
|
|
103
|
-
margin-bottom: 0;
|
|
104
|
-
/* 由 markTableEdges 标记的最右列 / 最底行单元格:把外侧边框交给滚动容器绘制,避免叠加成 2px */
|
|
105
|
-
}
|
|
106
|
-
.o-table-data-original .markdown-body[data-v-876cb34f] table .md-cell-edge-right {
|
|
107
|
-
border-right: none;
|
|
108
|
-
}
|
|
109
|
-
.o-table-data-original .markdown-body[data-v-876cb34f] table .md-cell-edge-bottom {
|
|
110
|
-
border-bottom: none;
|
|
111
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
type __VLS_Props = {
|
|
2
|
-
content: string;
|
|
3
|
-
original?: boolean;
|
|
4
|
-
maxHeight?: string;
|
|
5
|
-
};
|
|
6
|
-
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
7
|
-
maxHeight: string;
|
|
8
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
9
|
-
rawTableRef: HTMLDivElement;
|
|
10
|
-
}, any>;
|
|
11
|
-
export default _default;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import _sfc_main from "./MarkdownTableData.vue2.mjs";
|
|
2
|
-
import './MarkdownTableData.css';
|
|
3
|
-
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const MarkdownTableData = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-876cb34f"]]);
|
|
5
|
-
export {
|
|
6
|
-
MarkdownTableData as default
|
|
7
|
-
};
|
|
@@ -1,181 +0,0 @@
|
|
|
1
|
-
import { defineComponent, computed, ref, onMounted, watch, openBlock, createElementBlock, createVNode, unref, createBlock, normalizeStyle, withCtx, createElementVNode, withDirectives, h } from "vue";
|
|
2
|
-
import { ODataTable, OScroller } from "@opensig/opendesign";
|
|
3
|
-
import { buildVueDompurifyHTMLDirective } from "vue-dompurify-html";
|
|
4
|
-
const _hoisted_1 = {
|
|
5
|
-
key: 0,
|
|
6
|
-
class: "o-table-data--wrap"
|
|
7
|
-
};
|
|
8
|
-
const _hoisted_2 = { class: "markdown-body" };
|
|
9
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
10
|
-
__name: "MarkdownTableData",
|
|
11
|
-
props: {
|
|
12
|
-
content: {},
|
|
13
|
-
original: { type: Boolean },
|
|
14
|
-
maxHeight: { default: "calc(100vh - 210px)" }
|
|
15
|
-
},
|
|
16
|
-
setup(__props) {
|
|
17
|
-
const vDompurifyHtml = buildVueDompurifyHTMLDirective({
|
|
18
|
-
default: {
|
|
19
|
-
FORBID_ATTR: ["style"]
|
|
20
|
-
}
|
|
21
|
-
});
|
|
22
|
-
const props = __props;
|
|
23
|
-
const renderHtmlCell = (html) => withDirectives(h("div", { class: "markdown-body md-cell" }), [[vDompurifyHtml, html]]);
|
|
24
|
-
const isRegular = computed(() => {
|
|
25
|
-
if (props.original) {
|
|
26
|
-
return false;
|
|
27
|
-
}
|
|
28
|
-
const html = (props.content || "").trim();
|
|
29
|
-
if (!html) {
|
|
30
|
-
return false;
|
|
31
|
-
}
|
|
32
|
-
if (typeof DOMParser === "undefined") {
|
|
33
|
-
return false;
|
|
34
|
-
}
|
|
35
|
-
const doc = new DOMParser().parseFromString(html, "text/html");
|
|
36
|
-
const table = doc.querySelector("table");
|
|
37
|
-
if (!table) {
|
|
38
|
-
return false;
|
|
39
|
-
}
|
|
40
|
-
if (table.querySelector("[colspan],[rowspan]")) {
|
|
41
|
-
return false;
|
|
42
|
-
}
|
|
43
|
-
const thead = table.querySelector("thead");
|
|
44
|
-
const headerRow = thead == null ? void 0 : thead.querySelector("tr");
|
|
45
|
-
const headerCells = headerRow ? Array.from(headerRow.children) : [];
|
|
46
|
-
if (headerCells.length === 0) {
|
|
47
|
-
return false;
|
|
48
|
-
}
|
|
49
|
-
const tbody = table.querySelector("tbody") ?? table;
|
|
50
|
-
const bodyRows = Array.from(tbody.querySelectorAll("tr")).filter((tr) => !tr.closest("thead"));
|
|
51
|
-
return bodyRows.length > 0;
|
|
52
|
-
});
|
|
53
|
-
const tableColumns = computed(() => {
|
|
54
|
-
if (!isRegular.value) {
|
|
55
|
-
return [];
|
|
56
|
-
}
|
|
57
|
-
const doc = new DOMParser().parseFromString(props.content, "text/html");
|
|
58
|
-
const headerRow = doc.querySelector("thead tr");
|
|
59
|
-
const headerCells = headerRow ? Array.from(headerRow.children) : [];
|
|
60
|
-
return headerCells.map((cell, i) => ({
|
|
61
|
-
key: `col_${i}`,
|
|
62
|
-
label: (cell.textContent || "").trim(),
|
|
63
|
-
minWidth: 120,
|
|
64
|
-
formatter: ({ cellValue }) => renderHtmlCell(String(cellValue ?? ""))
|
|
65
|
-
}));
|
|
66
|
-
});
|
|
67
|
-
const tableData = computed(() => {
|
|
68
|
-
if (!isRegular.value) {
|
|
69
|
-
return [];
|
|
70
|
-
}
|
|
71
|
-
const doc = new DOMParser().parseFromString(props.content, "text/html");
|
|
72
|
-
const tbody = doc.querySelector("tbody") ?? doc.querySelector("table");
|
|
73
|
-
const bodyRows = Array.from(tbody.querySelectorAll("tr")).filter((tr) => !tr.closest("thead"));
|
|
74
|
-
return bodyRows.map((tr, rowIndex) => {
|
|
75
|
-
const cells = Array.from(tr.querySelectorAll("td,th"));
|
|
76
|
-
const row = { id: rowIndex };
|
|
77
|
-
cells.forEach((cell, i) => {
|
|
78
|
-
row[`col_${i}`] = cell.innerHTML;
|
|
79
|
-
});
|
|
80
|
-
return row;
|
|
81
|
-
});
|
|
82
|
-
});
|
|
83
|
-
const rawTableRef = ref();
|
|
84
|
-
const markTableEdges = () => {
|
|
85
|
-
const root = rawTableRef.value;
|
|
86
|
-
if (!root) {
|
|
87
|
-
return;
|
|
88
|
-
}
|
|
89
|
-
root.querySelectorAll("table").forEach((table) => {
|
|
90
|
-
const rows = Array.from(table.rows);
|
|
91
|
-
if (rows.length === 0) {
|
|
92
|
-
return;
|
|
93
|
-
}
|
|
94
|
-
const occupied = [];
|
|
95
|
-
const meta = /* @__PURE__ */ new WeakMap();
|
|
96
|
-
let totalCols = 0;
|
|
97
|
-
rows.forEach((row, r) => {
|
|
98
|
-
if (!occupied[r]) {
|
|
99
|
-
occupied[r] = [];
|
|
100
|
-
}
|
|
101
|
-
let c = 0;
|
|
102
|
-
Array.from(row.cells).forEach((cell) => {
|
|
103
|
-
while (occupied[r][c]) {
|
|
104
|
-
c++;
|
|
105
|
-
}
|
|
106
|
-
const rspan = cell.rowSpan || 1;
|
|
107
|
-
const span = cell.colSpan || 1;
|
|
108
|
-
for (let rr = r; rr < r + rspan; rr++) {
|
|
109
|
-
if (!occupied[rr]) {
|
|
110
|
-
occupied[rr] = [];
|
|
111
|
-
}
|
|
112
|
-
for (let cc = c; cc < c + span; cc++) {
|
|
113
|
-
occupied[rr][cc] = true;
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
meta.set(cell, { col: c, span, row: r, rspan });
|
|
117
|
-
if (c + span > totalCols) {
|
|
118
|
-
totalCols = c + span;
|
|
119
|
-
}
|
|
120
|
-
c += span;
|
|
121
|
-
});
|
|
122
|
-
});
|
|
123
|
-
const totalRows = rows.length;
|
|
124
|
-
rows.forEach((row) => {
|
|
125
|
-
Array.from(row.cells).forEach((cell) => {
|
|
126
|
-
const info = meta.get(cell);
|
|
127
|
-
if (!info) {
|
|
128
|
-
return;
|
|
129
|
-
}
|
|
130
|
-
cell.classList.remove("md-cell-edge-right", "md-cell-edge-bottom");
|
|
131
|
-
if (info.col + info.span === totalCols) {
|
|
132
|
-
cell.classList.add("md-cell-edge-right");
|
|
133
|
-
}
|
|
134
|
-
if (info.row + info.rspan === totalRows) {
|
|
135
|
-
cell.classList.add("md-cell-edge-bottom");
|
|
136
|
-
}
|
|
137
|
-
});
|
|
138
|
-
});
|
|
139
|
-
});
|
|
140
|
-
};
|
|
141
|
-
onMounted(markTableEdges);
|
|
142
|
-
watch(() => props.content, markTableEdges, { flush: "post" });
|
|
143
|
-
return (_ctx, _cache) => {
|
|
144
|
-
return isRegular.value && tableColumns.value.length && tableData.value.length ? (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
145
|
-
createVNode(unref(ODataTable), {
|
|
146
|
-
data: tableData.value,
|
|
147
|
-
columns: tableColumns.value,
|
|
148
|
-
stripe: "",
|
|
149
|
-
"row-key": "id",
|
|
150
|
-
border: "all",
|
|
151
|
-
"header-style": "split-line",
|
|
152
|
-
size: "small",
|
|
153
|
-
"column-resizable": "",
|
|
154
|
-
"max-height": __props.maxHeight
|
|
155
|
-
}, null, 8, ["data", "columns", "max-height"])
|
|
156
|
-
])) : (openBlock(), createBlock(unref(OScroller), {
|
|
157
|
-
key: 1,
|
|
158
|
-
class: "o-table-data-original",
|
|
159
|
-
size: "small",
|
|
160
|
-
"show-type": "always",
|
|
161
|
-
style: normalizeStyle({ "--o-md-table-max-height": __props.maxHeight })
|
|
162
|
-
}, {
|
|
163
|
-
default: withCtx(() => [
|
|
164
|
-
createElementVNode("div", _hoisted_2, [
|
|
165
|
-
withDirectives(createElementVNode("div", {
|
|
166
|
-
ref_key: "rawTableRef",
|
|
167
|
-
ref: rawTableRef,
|
|
168
|
-
class: "__mounted"
|
|
169
|
-
}, null, 512), [
|
|
170
|
-
[unref(vDompurifyHtml), props.content]
|
|
171
|
-
])
|
|
172
|
-
])
|
|
173
|
-
]),
|
|
174
|
-
_: 1
|
|
175
|
-
}, 8, ["style"]));
|
|
176
|
-
};
|
|
177
|
-
}
|
|
178
|
-
});
|
|
179
|
-
export {
|
|
180
|
-
_sfc_main as default
|
|
181
|
-
};
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
.hover-icon-rotate .o-icon[data-v-e625a513] {
|
|
2
|
-
transition: all var(--o-duration-m1) var(--o-easing-standard-in);
|
|
3
|
-
}
|
|
4
|
-
@media (hover: hover) {
|
|
5
|
-
.hover-icon-rotate:hover .o-icon[data-v-e625a513] {
|
|
6
|
-
transform: rotate(-180deg);
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
.o-table-expand-scaler[data-v-e625a513] {
|
|
10
|
-
position: relative;
|
|
11
|
-
width: 80vw;
|
|
12
|
-
height: auto;
|
|
13
|
-
max-height: 90vh;
|
|
14
|
-
overflow: auto;
|
|
15
|
-
background-color: var(--o-color-fill2);
|
|
16
|
-
border-radius: var(--o-radius-xs);
|
|
17
|
-
font-size: 14px;
|
|
18
|
-
line-height: 22px;
|
|
19
|
-
}
|
|
20
|
-
@media (min-width: 1201px) and (max-width: 1680px) {
|
|
21
|
-
.o-table-expand-scaler[data-v-e625a513] {
|
|
22
|
-
font-size: 14px;
|
|
23
|
-
line-height: 18px;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
@media (min-width: 841px) and (max-width: 1200px) {
|
|
27
|
-
.o-table-expand-scaler[data-v-e625a513] {
|
|
28
|
-
font-size: 12px;
|
|
29
|
-
line-height: 18px;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
@media (min-width: 601px) and (max-width: 840px) {
|
|
33
|
-
.o-table-expand-scaler[data-v-e625a513] {
|
|
34
|
-
font-size: 12px;
|
|
35
|
-
line-height: 18px;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
@media (max-width: 600px) {
|
|
39
|
-
.o-table-expand-scaler[data-v-e625a513] {
|
|
40
|
-
font-size: 12px;
|
|
41
|
-
line-height: 18px;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
.o-table-expand-close-btn[data-v-e625a513] {
|
|
45
|
-
position: sticky;
|
|
46
|
-
top: 12px;
|
|
47
|
-
right: 12px;
|
|
48
|
-
float: right;
|
|
49
|
-
z-index: 2;
|
|
50
|
-
display: flex;
|
|
51
|
-
align-items: center;
|
|
52
|
-
justify-content: center;
|
|
53
|
-
cursor: pointer;
|
|
54
|
-
color: var(--o-color-info2);
|
|
55
|
-
}
|
|
56
|
-
@media (hover: hover) {
|
|
57
|
-
.o-table-expand-close-btn[data-v-e625a513]:hover {
|
|
58
|
-
color: var(--o-color-info1);
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
.o-table-expand-close-btn .o-table-expand-close-icon[data-v-e625a513] {
|
|
62
|
-
margin-right: 8px;
|
|
63
|
-
}
|
|
64
|
-
.o-table-expand-content[data-v-e625a513] {
|
|
65
|
-
padding: 48px 32px;
|
|
66
|
-
}
|