@opendesign-plus/components 0.0.1-rc.96 → 0.0.1-rc.98
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/OArticle.vue.d.ts +12 -2
- package/dist/components/article/index.d.ts +6 -1
- package/dist/components/article/types.d.ts +8 -2
- package/dist/components/markdown/OMarkdown.vue.d.ts +2 -0
- package/dist/components/markdown/index.d.ts +6 -0
- package/dist/components.cjs.js +35 -35
- package/dist/components.css +2 -2
- package/dist/components.es.js +6772 -6746
- package/dist/treeshaking/_virtual/icon-tips.mjs +2 -13
- package/dist/treeshaking/_virtual/icon-tips2.mjs +13 -2
- package/dist/treeshaking/components/article/OArticle.vue.d.ts +12 -2
- package/dist/treeshaking/components/article/OArticleList.css +7 -6
- package/dist/treeshaking/components/article/OArticleList.vue.mjs +48 -34
- package/dist/treeshaking/components/article/index.d.ts +6 -1
- package/dist/treeshaking/components/article/types.d.ts +8 -2
- package/dist/treeshaking/components/markdown/OMarkdown.vue.d.ts +2 -0
- package/dist/treeshaking/components/markdown/OMarkdown.vue.mjs +1 -1
- package/dist/treeshaking/components/markdown/OMarkdown.vue2.mjs +33 -12
- package/dist/treeshaking/components/markdown/OMarkdown2.css +3 -3
- package/dist/treeshaking/components/markdown/index.d.ts +6 -0
- package/dist/treeshaking/components/meeting/OMeetingSigCalendar.vue.mjs +1 -1
- package/dist/treeshaking/components/user-center/OLayout.css +13 -13
- package/dist/treeshaking/components/user-center/OLayout.vue.mjs +1 -1
- package/dist/treeshaking/components/user-center/OLayout.vue2.mjs +1 -1
- package/dist/treeshaking/components/user-center/OUserInfo.css +109 -109
- package/dist/treeshaking/components/user-center/OUserInfo.vue.mjs +1 -1
- package/dist/treeshaking/components/user-center/OUserInfo.vue2.mjs +2 -2
- package/dist/treeshaking/components/user-center/OUserInfo2.css +10 -7
- package/dist/treeshaking/components/user-center/OUserInfo3.css +4 -4
- package/dist/treeshaking/components/user-center/internal/OAppDialog.css +19 -19
- package/dist/treeshaking/components/user-center/internal/OAppDialog.vue.mjs +1 -1
- package/dist/treeshaking/components/user-center/internal/OAppDialog.vue2.mjs +1 -1
- package/dist/treeshaking/components/user-center/internal/OCommonHeader.css +9 -9
- package/dist/treeshaking/components/user-center/internal/OCommonHeader.vue.mjs +1 -1
- package/dist/treeshaking/components/user-center/internal/OCommonHeader.vue2.mjs +1 -1
- package/dist/treeshaking/components/user-center/internal/ODeleteAccountModal.css +32 -32
- package/dist/treeshaking/components/user-center/internal/ODeleteAccountModal.vue.mjs +1 -1
- package/dist/treeshaking/components/user-center/internal/ODeleteAccountModal.vue2.mjs +1 -1
- package/dist/treeshaking/components/user-center/internal/ODeleteAccountModal2.css +11 -11
- package/dist/treeshaking/components/user-center/internal/OEditNicknameDialog.css +21 -21
- package/dist/treeshaking/components/user-center/internal/OEditNicknameDialog.vue.mjs +1 -1
- package/dist/treeshaking/components/user-center/internal/OEditNicknameDialog.vue2.mjs +1 -1
- package/dist/treeshaking/components/user-center/internal/OEditNicknameDialog2.css +1 -1
- package/dist/treeshaking/components/user-center/internal/OEditOrgDialog.css +21 -21
- package/dist/treeshaking/components/user-center/internal/OEditOrgDialog.vue.mjs +1 -1
- package/dist/treeshaking/components/user-center/internal/OEditOrgDialog.vue2.mjs +1 -1
- package/dist/treeshaking/components/user-center/internal/OEditOrgDialog2.css +1 -1
- package/dist/treeshaking/components/user-center/internal/OModifyPwd.css +21 -21
- package/dist/treeshaking/components/user-center/internal/OModifyPwd.vue.mjs +1 -1
- package/dist/treeshaking/components/user-center/internal/OModifyPwd.vue2.mjs +1 -1
- package/dist/treeshaking/components/user-center/internal/OPasswordPopInput.css +4 -4
- package/dist/treeshaking/components/user-center/internal/OPasswordPopInput.vue.mjs +1 -1
- package/dist/treeshaking/components/user-center/internal/OPasswordPopInput.vue2.mjs +2 -2
- package/dist/treeshaking/components/user-center/internal/OToBindingTipModal.css +16 -16
- package/dist/treeshaking/components/user-center/internal/OToBindingTipModal.vue.mjs +1 -1
- package/dist/treeshaking/components/user-center/internal/OToBindingTipModal.vue2.mjs +1 -1
- package/dist/treeshaking/components/user-center/internal/OUnbindingThirdpartyAccountModal.css +18 -18
- package/dist/treeshaking/components/user-center/internal/OUnbindingThirdpartyAccountModal.vue.mjs +1 -1
- package/dist/treeshaking/components/user-center/internal/OUnbindingThirdpartyAccountModal.vue2.mjs +1 -1
- package/dist/treeshaking/components/user-center/internal/OUploadAvatar.css +106 -106
- package/dist/treeshaking/components/user-center/internal/OUploadAvatar.vue.mjs +1 -1
- package/dist/treeshaking/components/user-center/internal/OUploadAvatar.vue2.mjs +1 -1
- package/dist/treeshaking/components/user-center/internal/OUploadAvatar2.css +2 -2
- package/dist/treeshaking/components/user-center/verify/Verify.css +53 -44
- package/dist/treeshaking/components/user-center/verify/Verify.vue.mjs +1 -1
- package/package.json +2 -2
|
@@ -8,21 +8,10 @@ const _hoisted_1 = {
|
|
|
8
8
|
};
|
|
9
9
|
function render(_ctx, _cache) {
|
|
10
10
|
return openBlock(), createElementBlock("svg", _hoisted_1, [..._cache[0] || (_cache[0] = [
|
|
11
|
-
createElementVNode("path", {
|
|
12
|
-
fill: "currentColor",
|
|
13
|
-
d: "M12 8.15c0.418 0 0.763 0.31 0.817 0.713l0.008 0.112v8.8c0 0.456-0.369 0.825-0.825 0.825-0.418 0-0.763-0.31-0.817-0.713l-0.008-0.112v-8.8c0-0.456 0.369-0.825 0.825-0.825z"
|
|
14
|
-
}, null, -1),
|
|
15
|
-
createElementVNode("path", {
|
|
16
|
-
fill: "currentColor",
|
|
17
|
-
d: "M13.2 6.225c0 0.663-0.537 1.2-1.2 1.2s-1.2-0.537-1.2-1.2c0-0.663 0.537-1.2 1.2-1.2s1.2 0.537 1.2 1.2z"
|
|
18
|
-
}, null, -1),
|
|
19
|
-
createElementVNode("path", {
|
|
20
|
-
fill: "currentColor",
|
|
21
|
-
d: "M12 0.23c1.222 0 2.42 0.187 3.563 0.549 0.405 0.129 0.63 0.561 0.501 0.967s-0.561 0.63-0.967 0.501c-0.993-0.315-2.034-0.477-3.097-0.477-5.65 0-10.23 4.58-10.23 10.23s4.58 10.23 10.23 10.23c5.65 0 10.23-4.58 10.23-10.23 0-3.276-1.549-6.292-4.128-8.211-0.341-0.254-0.412-0.736-0.158-1.077s0.736-0.412 1.077-0.158c2.965 2.207 4.748 5.679 4.748 9.447 0 6.5-5.27 11.77-11.77 11.77s-11.77-5.27-11.77-11.77c0-6.5 5.27-11.77 11.77-11.77z"
|
|
22
|
-
}, null, -1)
|
|
11
|
+
createElementVNode("path", { d: "M12.032 2.355c1.632 0 3.205 0.404 4.611 1.166 0.34 0.182 0.466 0.609 0.281 0.949s-0.609 0.463-0.949 0.281c-1.201-0.65-2.546-0.996-3.943-0.996-4.585 0-8.3 3.715-8.3 8.297 0 4.588 3.715 8.303 8.3 8.303s8.3-3.715 8.3-8.303c0-2.063-0.753-4.002-2.098-5.514-0.258-0.287-0.231-0.732 0.059-0.984 0.287-0.258 0.729-0.234 0.987 0.053 1.57 1.764 2.452 4.037 2.452 6.445 0 5.361-4.342 9.703-9.7 9.703s-9.7-4.342-9.7-9.703c0-5.355 4.342-9.697 9.7-9.697zM10.866 7.658c0-0.627 0.507-1.131 1.134-1.131s1.134 0.504 1.134 1.131c0 0.627-0.507 1.131-1.134 1.131s-1.134-0.504-1.134-1.131zM12.706 10.002c-0.044-0.346-0.337-0.609-0.691-0.609-0.387 0-0.7 0.311-0.703 0.697l-0.023 6.762 0.006 0.1c0.044 0.34 0.337 0.603 0.691 0.603 0.387 0.006 0.7-0.311 0.703-0.697l0.023-6.762-0.006-0.094z" }, null, -1)
|
|
23
12
|
])]);
|
|
24
13
|
}
|
|
25
|
-
const IconTips = { name: "
|
|
14
|
+
const IconTips = { name: "components-icon-tips", render };
|
|
26
15
|
export {
|
|
27
16
|
IconTips as default
|
|
28
17
|
};
|
|
@@ -8,10 +8,21 @@ const _hoisted_1 = {
|
|
|
8
8
|
};
|
|
9
9
|
function render(_ctx, _cache) {
|
|
10
10
|
return openBlock(), createElementBlock("svg", _hoisted_1, [..._cache[0] || (_cache[0] = [
|
|
11
|
-
createElementVNode("path", {
|
|
11
|
+
createElementVNode("path", {
|
|
12
|
+
fill: "currentColor",
|
|
13
|
+
d: "M12 8.15c0.418 0 0.763 0.31 0.817 0.713l0.008 0.112v8.8c0 0.456-0.369 0.825-0.825 0.825-0.418 0-0.763-0.31-0.817-0.713l-0.008-0.112v-8.8c0-0.456 0.369-0.825 0.825-0.825z"
|
|
14
|
+
}, null, -1),
|
|
15
|
+
createElementVNode("path", {
|
|
16
|
+
fill: "currentColor",
|
|
17
|
+
d: "M13.2 6.225c0 0.663-0.537 1.2-1.2 1.2s-1.2-0.537-1.2-1.2c0-0.663 0.537-1.2 1.2-1.2s1.2 0.537 1.2 1.2z"
|
|
18
|
+
}, null, -1),
|
|
19
|
+
createElementVNode("path", {
|
|
20
|
+
fill: "currentColor",
|
|
21
|
+
d: "M12 0.23c1.222 0 2.42 0.187 3.563 0.549 0.405 0.129 0.63 0.561 0.501 0.967s-0.561 0.63-0.967 0.501c-0.993-0.315-2.034-0.477-3.097-0.477-5.65 0-10.23 4.58-10.23 10.23s4.58 10.23 10.23 10.23c5.65 0 10.23-4.58 10.23-10.23 0-3.276-1.549-6.292-4.128-8.211-0.341-0.254-0.412-0.736-0.158-1.077s0.736-0.412 1.077-0.158c2.965 2.207 4.748 5.679 4.748 9.447 0 6.5-5.27 11.77-11.77 11.77s-11.77-5.27-11.77-11.77c0-6.5 5.27-11.77 11.77-11.77z"
|
|
22
|
+
}, null, -1)
|
|
12
23
|
])]);
|
|
13
24
|
}
|
|
14
|
-
const IconTips = { name: "
|
|
25
|
+
const IconTips = { name: "user-center-icon-tips", render };
|
|
15
26
|
export {
|
|
16
27
|
IconTips as default
|
|
17
28
|
};
|
|
@@ -56,6 +56,7 @@ declare function __VLS_template(): {
|
|
|
56
56
|
readonly disableChangeCodeTheme?: boolean | undefined;
|
|
57
57
|
readonly markdownBodyClass?: string | undefined;
|
|
58
58
|
readonly hideFirstH1?: boolean | undefined;
|
|
59
|
+
readonly hideFirstElementMarginTop?: boolean | undefined;
|
|
59
60
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
60
61
|
$attrs: import('vue').Attrs;
|
|
61
62
|
$refs: {
|
|
@@ -79,6 +80,7 @@ declare function __VLS_template(): {
|
|
|
79
80
|
disableChangeCodeTheme?: boolean;
|
|
80
81
|
markdownBodyClass?: string;
|
|
81
82
|
hideFirstH1?: boolean;
|
|
83
|
+
hideFirstElementMarginTop?: boolean;
|
|
82
84
|
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
83
85
|
disableChangeCodeTheme: boolean;
|
|
84
86
|
disableH2: boolean;
|
|
@@ -87,6 +89,7 @@ declare function __VLS_template(): {
|
|
|
87
89
|
disableCode: boolean;
|
|
88
90
|
markdownBodyClass: string;
|
|
89
91
|
hideFirstH1: boolean;
|
|
92
|
+
hideFirstElementMarginTop: boolean;
|
|
90
93
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
91
94
|
beforeCreate?: (() => void) | (() => void)[];
|
|
92
95
|
created?: (() => void) | (() => void)[];
|
|
@@ -115,6 +118,7 @@ declare function __VLS_template(): {
|
|
|
115
118
|
disableCode: boolean;
|
|
116
119
|
markdownBodyClass: string;
|
|
117
120
|
hideFirstH1: boolean;
|
|
121
|
+
hideFirstElementMarginTop: boolean;
|
|
118
122
|
}> & Omit<Readonly<{
|
|
119
123
|
disableH2?: boolean;
|
|
120
124
|
disableTable?: boolean;
|
|
@@ -123,7 +127,8 @@ declare function __VLS_template(): {
|
|
|
123
127
|
disableChangeCodeTheme?: boolean;
|
|
124
128
|
markdownBodyClass?: string;
|
|
125
129
|
hideFirstH1?: boolean;
|
|
126
|
-
|
|
130
|
+
hideFirstElementMarginTop?: boolean;
|
|
131
|
+
}> & Readonly<{}>, "disableChangeCodeTheme" | "disableH2" | "disableTable" | "disableImg" | "disableCode" | "markdownBodyClass" | "hideFirstH1" | "hideFirstElementMarginTop"> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
127
132
|
$slots: {
|
|
128
133
|
header?(_: {
|
|
129
134
|
h1: HTMLElement | undefined;
|
|
@@ -169,6 +174,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
|
|
|
169
174
|
readonly disableChangeCodeTheme?: boolean | undefined;
|
|
170
175
|
readonly markdownBodyClass?: string | undefined;
|
|
171
176
|
readonly hideFirstH1?: boolean | undefined;
|
|
177
|
+
readonly hideFirstElementMarginTop?: boolean | undefined;
|
|
172
178
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
173
179
|
$attrs: import('vue').Attrs;
|
|
174
180
|
$refs: {
|
|
@@ -192,6 +198,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
|
|
|
192
198
|
disableChangeCodeTheme?: boolean;
|
|
193
199
|
markdownBodyClass?: string;
|
|
194
200
|
hideFirstH1?: boolean;
|
|
201
|
+
hideFirstElementMarginTop?: boolean;
|
|
195
202
|
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
196
203
|
disableChangeCodeTheme: boolean;
|
|
197
204
|
disableH2: boolean;
|
|
@@ -200,6 +207,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
|
|
|
200
207
|
disableCode: boolean;
|
|
201
208
|
markdownBodyClass: string;
|
|
202
209
|
hideFirstH1: boolean;
|
|
210
|
+
hideFirstElementMarginTop: boolean;
|
|
203
211
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
204
212
|
beforeCreate?: (() => void) | (() => void)[];
|
|
205
213
|
created?: (() => void) | (() => void)[];
|
|
@@ -228,6 +236,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
|
|
|
228
236
|
disableCode: boolean;
|
|
229
237
|
markdownBodyClass: string;
|
|
230
238
|
hideFirstH1: boolean;
|
|
239
|
+
hideFirstElementMarginTop: boolean;
|
|
231
240
|
}> & Omit<Readonly<{
|
|
232
241
|
disableH2?: boolean;
|
|
233
242
|
disableTable?: boolean;
|
|
@@ -236,7 +245,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
|
|
|
236
245
|
disableChangeCodeTheme?: boolean;
|
|
237
246
|
markdownBodyClass?: string;
|
|
238
247
|
hideFirstH1?: boolean;
|
|
239
|
-
|
|
248
|
+
hideFirstElementMarginTop?: boolean;
|
|
249
|
+
}> & Readonly<{}>, "disableChangeCodeTheme" | "disableH2" | "disableTable" | "disableImg" | "disableCode" | "markdownBodyClass" | "hideFirstH1" | "hideFirstElementMarginTop"> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
240
250
|
$slots: {
|
|
241
251
|
header?(_: {
|
|
242
252
|
h1: HTMLElement | undefined;
|
|
@@ -107,15 +107,16 @@
|
|
|
107
107
|
flex-wrap: wrap;
|
|
108
108
|
gap: var(--o-gap-1);
|
|
109
109
|
}
|
|
110
|
-
.o-article-list .article-content .o-card .o-card-detail .item-
|
|
111
|
-
display:
|
|
110
|
+
.o-article-list .article-content .o-card .o-card-detail .item-tags {
|
|
111
|
+
display: flex;
|
|
112
|
+
flex-wrap: wrap; /* 换行时上下间距同为 --o-gap-2 */
|
|
112
113
|
align-items: center;
|
|
113
|
-
|
|
114
|
+
gap: var(--o-gap-2);
|
|
114
115
|
}
|
|
115
|
-
.o-article-list .article-content .o-card .o-card-detail .item-
|
|
116
|
-
|
|
116
|
+
.o-article-list .article-content .o-card .o-card-detail .item-tags .item-tag {
|
|
117
|
+
padding: var(--o-gap-1);
|
|
117
118
|
}
|
|
118
|
-
.o-article-list .article-content .o-card .o-card-detail .item-
|
|
119
|
+
.o-article-list .article-content .o-card .o-card-detail .item-tags .item-tag .o-tag-icon {
|
|
119
120
|
display: flex;
|
|
120
121
|
align-items: center;
|
|
121
122
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, useSlots, ref, computed, watch, openBlock, createElementBlock, unref, renderSlot, createCommentVNode, createElementVNode, createBlock, withCtx, Fragment, renderList, createVNode, createSlots,
|
|
1
|
+
import { defineComponent, useSlots, ref, computed, watch, openBlock, createElementBlock, unref, renderSlot, createCommentVNode, createElementVNode, createBlock, withCtx, Fragment, renderList, createVNode, createSlots, toDisplayString, resolveDynamicComponent, createTextVNode } from "vue";
|
|
2
2
|
import { ORow, OCol, OCard, OTag, OIcon, OPagination } from "@opensig/opendesign";
|
|
3
3
|
import { useScreen } from "@opendesign-plus/composables";
|
|
4
4
|
import OEmpty from "../empty/OEmpty.vue.mjs";
|
|
@@ -11,14 +11,18 @@ const _hoisted_2 = {
|
|
|
11
11
|
};
|
|
12
12
|
const _hoisted_3 = { class: "article-content" };
|
|
13
13
|
const _hoisted_4 = {
|
|
14
|
+
key: 0,
|
|
15
|
+
class: "item-tags"
|
|
16
|
+
};
|
|
17
|
+
const _hoisted_5 = {
|
|
14
18
|
key: 1,
|
|
15
19
|
class: "item-desc"
|
|
16
20
|
};
|
|
17
|
-
const
|
|
18
|
-
const
|
|
19
|
-
const
|
|
20
|
-
const
|
|
21
|
-
const
|
|
21
|
+
const _hoisted_6 = { class: "item-info" };
|
|
22
|
+
const _hoisted_7 = { key: 0 };
|
|
23
|
+
const _hoisted_8 = { key: 1 };
|
|
24
|
+
const _hoisted_9 = { key: 2 };
|
|
25
|
+
const _hoisted_10 = {
|
|
22
26
|
key: 1,
|
|
23
27
|
class: "article-pagination"
|
|
24
28
|
};
|
|
@@ -107,39 +111,49 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
107
111
|
href: item.href,
|
|
108
112
|
layout: unref(lePadV) ? __props.mobileLayout : "v"
|
|
109
113
|
}, createSlots({
|
|
110
|
-
detail: withCtx(() =>
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
fn: withCtx(() => [
|
|
124
|
-
createVNode(unref(OIcon), null, {
|
|
114
|
+
detail: withCtx(() => {
|
|
115
|
+
var _a;
|
|
116
|
+
return [
|
|
117
|
+
((_a = item.tags) == null ? void 0 : _a.length) ? (openBlock(), createElementBlock("div", _hoisted_4, [
|
|
118
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(item.tags, (tag, idx) => {
|
|
119
|
+
return openBlock(), createBlock(unref(OTag), {
|
|
120
|
+
key: idx,
|
|
121
|
+
class: "item-tag",
|
|
122
|
+
color: tag.color,
|
|
123
|
+
variant: tag.variant ?? "outline",
|
|
124
|
+
size: tag.size,
|
|
125
|
+
round: tag.round
|
|
126
|
+
}, createSlots({
|
|
125
127
|
default: withCtx(() => [
|
|
126
|
-
(
|
|
128
|
+
createElementVNode("span", null, toDisplayString(tag.label), 1)
|
|
127
129
|
]),
|
|
128
130
|
_: 2
|
|
129
|
-
},
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
131
|
+
}, [
|
|
132
|
+
tag.icon ? {
|
|
133
|
+
name: "icon",
|
|
134
|
+
fn: withCtx(() => [
|
|
135
|
+
createVNode(unref(OIcon), null, {
|
|
136
|
+
default: withCtx(() => [
|
|
137
|
+
(openBlock(), createBlock(resolveDynamicComponent(tag.icon)))
|
|
138
|
+
]),
|
|
139
|
+
_: 2
|
|
140
|
+
}, 1024)
|
|
141
|
+
]),
|
|
142
|
+
key: "0"
|
|
143
|
+
} : void 0
|
|
144
|
+
]), 1032, ["color", "variant", "size", "round"]);
|
|
145
|
+
}), 128))
|
|
146
|
+
])) : createCommentVNode("", true),
|
|
147
|
+
item.description ? (openBlock(), createElementBlock("div", _hoisted_5, toDisplayString(item.description), 1)) : createCommentVNode("", true)
|
|
148
|
+
];
|
|
149
|
+
}),
|
|
136
150
|
_: 2
|
|
137
151
|
}, [
|
|
138
152
|
item.date || item.author || item.location ? {
|
|
139
153
|
name: "footer",
|
|
140
154
|
fn: withCtx(() => [
|
|
141
|
-
createElementVNode("div",
|
|
142
|
-
item.date ? (openBlock(), createElementBlock("span",
|
|
155
|
+
createElementVNode("div", _hoisted_6, [
|
|
156
|
+
item.date ? (openBlock(), createElementBlock("span", _hoisted_7, [
|
|
143
157
|
createVNode(unref(OIcon), null, {
|
|
144
158
|
default: withCtx(() => [
|
|
145
159
|
createVNode(unref(IconTime))
|
|
@@ -148,7 +162,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
148
162
|
}),
|
|
149
163
|
createTextVNode(" " + toDisplayString(item.date), 1)
|
|
150
164
|
])) : createCommentVNode("", true),
|
|
151
|
-
item.author ? (openBlock(), createElementBlock("span",
|
|
165
|
+
item.author ? (openBlock(), createElementBlock("span", _hoisted_8, [
|
|
152
166
|
createVNode(unref(OIcon), null, {
|
|
153
167
|
default: withCtx(() => [
|
|
154
168
|
createVNode(unref(IconAvatar))
|
|
@@ -157,7 +171,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
157
171
|
}),
|
|
158
172
|
createTextVNode(" " + toDisplayString(authorText(item.author)), 1)
|
|
159
173
|
])) : createCommentVNode("", true),
|
|
160
|
-
item.location ? (openBlock(), createElementBlock("span",
|
|
174
|
+
item.location ? (openBlock(), createElementBlock("span", _hoisted_9, [
|
|
161
175
|
createVNode(unref(OIcon), null, {
|
|
162
176
|
default: withCtx(() => [
|
|
163
177
|
createVNode(unref(IconAvatar))
|
|
@@ -185,7 +199,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
185
199
|
}, null, 8, ["img"])
|
|
186
200
|
])
|
|
187
201
|
]),
|
|
188
|
-
showPagination.value ? (openBlock(), createElementBlock("div",
|
|
202
|
+
showPagination.value ? (openBlock(), createElementBlock("div", _hoisted_10, [
|
|
189
203
|
createVNode(unref(OPagination), {
|
|
190
204
|
page: current.value,
|
|
191
205
|
simple: unref(lePadV),
|
|
@@ -53,6 +53,7 @@ declare const OArticle: {
|
|
|
53
53
|
readonly disableChangeCodeTheme?: boolean | undefined;
|
|
54
54
|
readonly markdownBodyClass?: string | undefined;
|
|
55
55
|
readonly hideFirstH1?: boolean | undefined;
|
|
56
|
+
readonly hideFirstElementMarginTop?: boolean | undefined;
|
|
56
57
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
57
58
|
$attrs: import('vue').Attrs;
|
|
58
59
|
$refs: {
|
|
@@ -76,6 +77,7 @@ declare const OArticle: {
|
|
|
76
77
|
disableChangeCodeTheme?: boolean;
|
|
77
78
|
markdownBodyClass?: string;
|
|
78
79
|
hideFirstH1?: boolean;
|
|
80
|
+
hideFirstElementMarginTop?: boolean;
|
|
79
81
|
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
80
82
|
disableChangeCodeTheme: boolean;
|
|
81
83
|
disableH2: boolean;
|
|
@@ -84,6 +86,7 @@ declare const OArticle: {
|
|
|
84
86
|
disableCode: boolean;
|
|
85
87
|
markdownBodyClass: string;
|
|
86
88
|
hideFirstH1: boolean;
|
|
89
|
+
hideFirstElementMarginTop: boolean;
|
|
87
90
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
88
91
|
beforeCreate?: (() => void) | (() => void)[];
|
|
89
92
|
created?: (() => void) | (() => void)[];
|
|
@@ -112,6 +115,7 @@ declare const OArticle: {
|
|
|
112
115
|
disableCode: boolean;
|
|
113
116
|
markdownBodyClass: string;
|
|
114
117
|
hideFirstH1: boolean;
|
|
118
|
+
hideFirstElementMarginTop: boolean;
|
|
115
119
|
}> & Omit<Readonly<{
|
|
116
120
|
disableH2?: boolean;
|
|
117
121
|
disableTable?: boolean;
|
|
@@ -120,7 +124,8 @@ declare const OArticle: {
|
|
|
120
124
|
disableChangeCodeTheme?: boolean;
|
|
121
125
|
markdownBodyClass?: string;
|
|
122
126
|
hideFirstH1?: boolean;
|
|
123
|
-
|
|
127
|
+
hideFirstElementMarginTop?: boolean;
|
|
128
|
+
}> & Readonly<{}>, "disableChangeCodeTheme" | "disableH2" | "disableTable" | "disableImg" | "disableCode" | "markdownBodyClass" | "hideFirstH1" | "hideFirstElementMarginTop"> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
124
129
|
$slots: {
|
|
125
130
|
header?(_: {
|
|
126
131
|
h1: HTMLElement | undefined;
|
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
import { Component } from 'vue';
|
|
2
|
-
|
|
2
|
+
import { TagColorT, TagVariantT } from '@opensig/opendesign';
|
|
3
|
+
import { RoundT, SizeT } from '@opensig/opendesign/es/_utils/types';
|
|
4
|
+
/** 文章类型标签(卡片详情区顶部展示,从左往右排列可换行,间距 --o-gap-2) */
|
|
3
5
|
export interface ArticleTagT {
|
|
4
6
|
label: string;
|
|
5
7
|
icon?: Component;
|
|
8
|
+
color?: TagColorT;
|
|
9
|
+
variant?: TagVariantT;
|
|
10
|
+
size?: SizeT;
|
|
11
|
+
round?: RoundT;
|
|
6
12
|
}
|
|
7
13
|
/** 文章列表项(新闻/博客通用) */
|
|
8
14
|
export interface ArticleItemT {
|
|
@@ -13,7 +19,7 @@ export interface ArticleItemT {
|
|
|
13
19
|
date?: string;
|
|
14
20
|
author?: string | string[];
|
|
15
21
|
location?: string;
|
|
16
|
-
|
|
22
|
+
tags?: ArticleTagT[];
|
|
17
23
|
[key: string]: any;
|
|
18
24
|
}
|
|
19
25
|
export interface ArticleListPropsT {
|
|
@@ -6,6 +6,7 @@ type __VLS_Props = {
|
|
|
6
6
|
disableChangeCodeTheme?: boolean;
|
|
7
7
|
markdownBodyClass?: string;
|
|
8
8
|
hideFirstH1?: boolean;
|
|
9
|
+
hideFirstElementMarginTop?: boolean;
|
|
9
10
|
};
|
|
10
11
|
declare function __VLS_template(): {
|
|
11
12
|
attrs: Partial<{}>;
|
|
@@ -30,6 +31,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
|
|
|
30
31
|
disableCode: boolean;
|
|
31
32
|
markdownBodyClass: string;
|
|
32
33
|
hideFirstH1: boolean;
|
|
34
|
+
hideFirstElementMarginTop: boolean;
|
|
33
35
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
34
36
|
markdownBodyRef: HTMLDivElement;
|
|
35
37
|
}, HTMLDivElement>;
|
|
@@ -2,7 +2,7 @@ import _sfc_main from "./OMarkdown.vue2.mjs";
|
|
|
2
2
|
import './OMarkdown.css';
|
|
3
3
|
import './OMarkdown2.css';
|
|
4
4
|
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
5
|
-
const _OMarkdown = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
5
|
+
const _OMarkdown = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-4be4e234"]]);
|
|
6
6
|
export {
|
|
7
7
|
_OMarkdown as default
|
|
8
8
|
};
|
|
@@ -13,7 +13,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
13
13
|
disableCode: { type: Boolean, default: false },
|
|
14
14
|
disableChangeCodeTheme: { type: Boolean, default: false },
|
|
15
15
|
markdownBodyClass: { default: "o-markdown-body" },
|
|
16
|
-
hideFirstH1: { type: Boolean, default: false }
|
|
16
|
+
hideFirstH1: { type: Boolean, default: false },
|
|
17
|
+
hideFirstElementMarginTop: { type: Boolean, default: true }
|
|
17
18
|
},
|
|
18
19
|
setup(__props) {
|
|
19
20
|
const props = __props;
|
|
@@ -71,18 +72,34 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
71
72
|
}
|
|
72
73
|
});
|
|
73
74
|
};
|
|
75
|
+
const isElementHidden = (el) => {
|
|
76
|
+
return !!el.hidden || el.style.display === "none" || getComputedStyle(el).display === "none";
|
|
77
|
+
};
|
|
78
|
+
const getFirstContentElement = (root) => {
|
|
79
|
+
let container = root;
|
|
80
|
+
for (let i = 0; i < 100; i++) {
|
|
81
|
+
let first = container.firstElementChild;
|
|
82
|
+
while (first && isElementHidden(first)) {
|
|
83
|
+
first = first.nextElementSibling;
|
|
84
|
+
}
|
|
85
|
+
if (!first) {
|
|
86
|
+
return null;
|
|
87
|
+
}
|
|
88
|
+
if (first.tagName === "DIV" && container.childElementCount === 1) {
|
|
89
|
+
container = first;
|
|
90
|
+
continue;
|
|
91
|
+
}
|
|
92
|
+
return first;
|
|
93
|
+
}
|
|
94
|
+
return container.firstElementChild;
|
|
95
|
+
};
|
|
74
96
|
const applyHandleFirstElement = () => {
|
|
75
97
|
const root = markdownBodyRef.value;
|
|
76
|
-
|
|
77
|
-
if (!target) {
|
|
98
|
+
if (!root) {
|
|
78
99
|
firstH1.value = void 0;
|
|
79
100
|
return;
|
|
80
101
|
}
|
|
81
|
-
|
|
82
|
-
if (target.tagName === "DIV" && root.childElementCount === 1) {
|
|
83
|
-
container = target;
|
|
84
|
-
}
|
|
85
|
-
const firstContent = container.firstElementChild;
|
|
102
|
+
const firstContent = getFirstContentElement(root);
|
|
86
103
|
if (!firstContent) {
|
|
87
104
|
firstH1.value = void 0;
|
|
88
105
|
return;
|
|
@@ -90,13 +107,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
90
107
|
firstH1.value = firstContent.tagName === "H1" ? firstContent : void 0;
|
|
91
108
|
if (props.hideFirstH1 && firstContent.tagName === "H1") {
|
|
92
109
|
firstContent.style.display = "none";
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
next
|
|
110
|
+
if (props.hideFirstElementMarginTop) {
|
|
111
|
+
const next = firstContent.nextElementSibling;
|
|
112
|
+
if (next) {
|
|
113
|
+
next.style.marginTop = "0";
|
|
114
|
+
}
|
|
96
115
|
}
|
|
97
116
|
return;
|
|
98
117
|
}
|
|
99
|
-
|
|
118
|
+
if (props.hideFirstElementMarginTop) {
|
|
119
|
+
firstContent.style.marginTop = "0";
|
|
120
|
+
}
|
|
100
121
|
};
|
|
101
122
|
const processMutations = (mutations) => {
|
|
102
123
|
const activeMap = selectorMap.value;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
.hover-icon-rotate .o-icon[data-v-
|
|
1
|
+
.hover-icon-rotate .o-icon[data-v-4be4e234] {
|
|
2
2
|
transition: all var(--o-duration-m1) var(--o-easing-standard-in);
|
|
3
3
|
}
|
|
4
4
|
@media (hover: hover) {
|
|
5
|
-
.hover-icon-rotate:hover .o-icon[data-v-
|
|
5
|
+
.hover-icon-rotate:hover .o-icon[data-v-4be4e234] {
|
|
6
6
|
transform: rotate(-180deg);
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
|
-
.o-markdown.unmounted[data-v-
|
|
9
|
+
.o-markdown.unmounted[data-v-4be4e234] .o-markdown-body table {
|
|
10
10
|
display: block !important;
|
|
11
11
|
overflow: hidden !important;
|
|
12
12
|
max-height: calc(100vh - 210px) !important;
|
|
@@ -8,6 +8,7 @@ declare const OMarkdown: {
|
|
|
8
8
|
disableChangeCodeTheme?: boolean;
|
|
9
9
|
markdownBodyClass?: string;
|
|
10
10
|
hideFirstH1?: boolean;
|
|
11
|
+
hideFirstElementMarginTop?: boolean;
|
|
11
12
|
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
12
13
|
disableChangeCodeTheme: boolean;
|
|
13
14
|
disableH2: boolean;
|
|
@@ -16,6 +17,7 @@ declare const OMarkdown: {
|
|
|
16
17
|
disableCode: boolean;
|
|
17
18
|
markdownBodyClass: string;
|
|
18
19
|
hideFirstH1: boolean;
|
|
20
|
+
hideFirstElementMarginTop: boolean;
|
|
19
21
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
20
22
|
markdownBodyRef: HTMLDivElement;
|
|
21
23
|
}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
@@ -33,6 +35,7 @@ declare const OMarkdown: {
|
|
|
33
35
|
disableChangeCodeTheme?: boolean;
|
|
34
36
|
markdownBodyClass?: string;
|
|
35
37
|
hideFirstH1?: boolean;
|
|
38
|
+
hideFirstElementMarginTop?: boolean;
|
|
36
39
|
}> & Readonly<{}>, {}, {}, {}, {}, {
|
|
37
40
|
disableChangeCodeTheme: boolean;
|
|
38
41
|
disableH2: boolean;
|
|
@@ -41,6 +44,7 @@ declare const OMarkdown: {
|
|
|
41
44
|
disableCode: boolean;
|
|
42
45
|
markdownBodyClass: string;
|
|
43
46
|
hideFirstH1: boolean;
|
|
47
|
+
hideFirstElementMarginTop: boolean;
|
|
44
48
|
}>;
|
|
45
49
|
__isFragment?: never;
|
|
46
50
|
__isTeleport?: never;
|
|
@@ -53,6 +57,7 @@ declare const OMarkdown: {
|
|
|
53
57
|
disableChangeCodeTheme?: boolean;
|
|
54
58
|
markdownBodyClass?: string;
|
|
55
59
|
hideFirstH1?: boolean;
|
|
60
|
+
hideFirstElementMarginTop?: boolean;
|
|
56
61
|
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
57
62
|
disableChangeCodeTheme: boolean;
|
|
58
63
|
disableH2: boolean;
|
|
@@ -61,6 +66,7 @@ declare const OMarkdown: {
|
|
|
61
66
|
disableCode: boolean;
|
|
62
67
|
markdownBodyClass: string;
|
|
63
68
|
hideFirstH1: boolean;
|
|
69
|
+
hideFirstElementMarginTop: boolean;
|
|
64
70
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
65
71
|
$slots: {
|
|
66
72
|
header?(_: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, computed, ref, watch, nextTick, onMounted, onBeforeUnmount, openBlock, createElementBlock, unref, createElementVNode, toDisplayString, createVNode, withCtx, createCommentVNode, normalizeClass, Fragment, renderList, createBlock, resolveDynamicComponent, createTextVNode, renderSlot } from "vue";
|
|
2
2
|
import { isClient, OPopover, OIcon, OTab, OTabPane, OSelect, OOption, ODivider, OScroller, OResult, OFigure } from "@opensig/opendesign";
|
|
3
3
|
import dayjs from "dayjs";
|
|
4
|
-
import IconTips from "../../_virtual/icon-
|
|
4
|
+
import IconTips from "../../_virtual/icon-tips.mjs";
|
|
5
5
|
import _sfc_main$1 from "./components/OMeetingSigAside.vue.mjs";
|
|
6
6
|
import './components/OMeetingSigAside.css';
|
|
7
7
|
import { CalendarDataType } from "./types.mjs";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
.hover-icon-rotate .o-icon[data-v-
|
|
1
|
+
.hover-icon-rotate .o-icon[data-v-57f2a891] {
|
|
2
2
|
transition: all var(--o-duration-m1) var(--o-easing-standard-in);
|
|
3
3
|
}
|
|
4
4
|
@media (hover: hover) {
|
|
5
|
-
.hover-icon-rotate:hover .o-icon[data-v-
|
|
5
|
+
.hover-icon-rotate:hover .o-icon[data-v-57f2a891] {
|
|
6
6
|
transform: rotate(-180deg);
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
|
-
.main-page[data-v-
|
|
9
|
+
.main-page[data-v-57f2a891] {
|
|
10
10
|
display: flex;
|
|
11
11
|
justify-content: center;
|
|
12
12
|
width: 100%;
|
|
@@ -14,49 +14,49 @@
|
|
|
14
14
|
margin-top: 32px;
|
|
15
15
|
}
|
|
16
16
|
@media (min-width: 1201px) and (max-width: 1680px) {
|
|
17
|
-
.main-page[data-v-
|
|
17
|
+
.main-page[data-v-57f2a891] {
|
|
18
18
|
margin-top: 24px;
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
@media (min-width: 841px) and (max-width: 1200px) {
|
|
22
|
-
.main-page[data-v-
|
|
22
|
+
.main-page[data-v-57f2a891] {
|
|
23
23
|
margin-top: 16px;
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
@media (max-width: 840px) {
|
|
27
|
-
.main-page[data-v-
|
|
27
|
+
.main-page[data-v-57f2a891] {
|
|
28
28
|
margin-top: 0;
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
|
-
.main-page[data-v-
|
|
31
|
+
.main-page[data-v-57f2a891] {
|
|
32
32
|
margin-bottom: var(--user-center-container-padding-bottom);
|
|
33
33
|
}
|
|
34
|
-
.main-page .aside-bar[data-v-
|
|
34
|
+
.main-page .aside-bar[data-v-57f2a891] {
|
|
35
35
|
flex-shrink: 0;
|
|
36
36
|
width: var(--user-center-sidebar-width);
|
|
37
37
|
background-color: var(--o-color-fill2);
|
|
38
38
|
margin-right: 32px;
|
|
39
39
|
}
|
|
40
40
|
@media (min-width: 1201px) and (max-width: 1680px) {
|
|
41
|
-
.main-page .aside-bar[data-v-
|
|
41
|
+
.main-page .aside-bar[data-v-57f2a891] {
|
|
42
42
|
margin-right: 24px;
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
@media (min-width: 841px) and (max-width: 1200px) {
|
|
46
|
-
.main-page .aside-bar[data-v-
|
|
46
|
+
.main-page .aside-bar[data-v-57f2a891] {
|
|
47
47
|
margin-right: 16px;
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
50
|
@media (max-width: 840px) {
|
|
51
|
-
.main-page .aside-bar[data-v-
|
|
51
|
+
.main-page .aside-bar[data-v-57f2a891] {
|
|
52
52
|
margin-right: 12px;
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
|
-
.main-page .aside-bar[data-v-
|
|
55
|
+
.main-page .aside-bar[data-v-57f2a891] {
|
|
56
56
|
border-radius: var(--user-center-container-border-radius);
|
|
57
57
|
overflow: hidden;
|
|
58
58
|
}
|
|
59
|
-
.main-page .main-content[data-v-
|
|
59
|
+
.main-page .main-content[data-v-57f2a891] {
|
|
60
60
|
flex: 1;
|
|
61
61
|
min-width: 0;
|
|
62
62
|
max-width: var(--user-center-content-width);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./OLayout.vue2.mjs";
|
|
2
2
|
import './OLayout.css';
|
|
3
3
|
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const _OLayout = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const _OLayout = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-57f2a891"]]);
|
|
5
5
|
export {
|
|
6
6
|
_OLayout as default
|
|
7
7
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, openBlock, createElementBlock, unref, renderSlot, createCommentVNode, createElementVNode } from "vue";
|
|
2
2
|
import { useScreen } from "@opendesign-plus/composables";
|
|
3
|
-
const _hoisted_1 = { class: "main-page user-center" };
|
|
3
|
+
const _hoisted_1 = { class: "main-page o-user-center" };
|
|
4
4
|
const _hoisted_2 = {
|
|
5
5
|
key: 0,
|
|
6
6
|
class: "aside-bar"
|