@opendesign-plus-test/components 0.0.1-rc.268 → 0.0.1-rc.269
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/activity/index.d.ts +9 -9
- package/dist/components/anchor-bar/OAnchorBar.vue.d.ts +2 -2
- package/dist/components/anchor-bar/index.d.ts +9 -9
- package/dist/components/article/index.d.ts +25 -25
- package/dist/components/article-anchor/components/ArticleAnchorPad.vue.d.ts +2 -6
- package/dist/components/article-anchor/index.d.ts +9 -9
- package/dist/components/article-pagination/index.d.ts +17 -17
- package/dist/components/banner/index.d.ts +6 -6
- package/dist/components/brand/index.d.ts +15 -15
- package/dist/components/community-updates/OCommunityUpdates.vue.d.ts +46 -0
- package/dist/components/community-updates/OCommunityUpdatesCard.vue.d.ts +7 -0
- package/dist/components/community-updates/index.d.ts +91 -0
- package/dist/components/community-updates/types.d.ts +36 -0
- package/dist/components/doc-layout/ODocLayout.vue.d.ts +8 -4
- package/dist/components/doc-layout/index.d.ts +9 -0
- 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-search/index.d.ts +13 -13
- package/dist/components/logo-swiper/index.d.ts +11 -11
- package/dist/components/meeting/OMeetingPlayback.vue.d.ts +6 -6
- package/dist/components/meeting/components/OMeetingCalendarSelector.vue.d.ts +664 -0
- package/dist/components/meeting/components/OMeetingPlaybackVideo.vue.d.ts +1 -1
- package/dist/components/meeting/index.d.ts +51 -51
- package/dist/components/org/index.d.ts +9 -9
- package/dist/components/recursion-menu/index.d.ts +3 -3
- package/dist/components/search/index.d.ts +11 -11
- package/dist/components/search-doc-result/OSearchDocResult.vue.d.ts +2 -0
- package/dist/components/search-doc-result/index.d.ts +6 -0
- package/dist/components/search-result/OSearchResultHeader.vue.d.ts +24 -24
- package/dist/components/search-result/index.d.ts +31 -31
- package/dist/components/sig/index.d.ts +15 -15
- package/dist/components/summit/index.d.ts +12 -12
- package/dist/components/user-center/OAppHeader.vue.d.ts +0 -1
- package/dist/components/user-center/index.d.ts +18 -21
- package/dist/components/video/index.d.ts +3 -3
- package/dist/components.cjs.js +4 -4
- package/dist/components.css +1 -1
- package/dist/components.es.js +1841 -1737
- package/dist/index.d.ts +1 -0
- package/dist/treeshaking/components/activity/index.d.ts +9 -9
- 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/article/index.d.ts +25 -25
- package/dist/treeshaking/components/article-anchor/components/ArticleAnchorMobile.mjs +2 -2
- package/dist/treeshaking/components/article-anchor/components/ArticleAnchorMobile.vue_vue_type_script_setup_true_lang.mjs +1 -1
- package/dist/treeshaking/components/article-anchor/components/ArticleAnchorMobile.vue_vue_type_style_index_0_scoped_8190c89e_lang.css +47 -0
- package/dist/treeshaking/components/article-anchor/components/ArticleAnchorPad.mjs +2 -2
- package/dist/treeshaking/components/article-anchor/components/ArticleAnchorPad.vue.d.ts +2 -6
- package/dist/treeshaking/components/article-anchor/components/ArticleAnchorPad.vue_vue_type_script_setup_true_lang.mjs +10 -18
- package/dist/treeshaking/components/article-anchor/components/{ArticleAnchorPad.vue_vue_type_style_index_0_scoped_3c75b66d_lang.css → ArticleAnchorPad.vue_vue_type_style_index_0_scoped_2ae25d23_lang.css} +13 -13
- package/dist/treeshaking/components/article-anchor/index.d.ts +9 -9
- package/dist/treeshaking/components/article-pagination/OArticlePagination.mjs +2 -2
- package/dist/treeshaking/components/article-pagination/{OArticlePagination.vue_vue_type_style_index_0_scoped_8a8cf9f8_lang.css → OArticlePagination.vue_vue_type_style_index_0_scoped_56848f78_lang.css} +46 -59
- package/dist/treeshaking/components/article-pagination/index.d.ts +17 -17
- package/dist/treeshaking/components/banner/index.d.ts +6 -6
- package/dist/treeshaking/components/brand/index.d.ts +15 -15
- package/dist/treeshaking/components/community-updates/OCommunityUpdates.mjs +6 -0
- package/dist/treeshaking/components/community-updates/OCommunityUpdates.vue.d.ts +46 -0
- package/dist/treeshaking/components/community-updates/OCommunityUpdates.vue_vue_type_script_setup_true_lang.mjs +100 -0
- package/dist/treeshaking/components/community-updates/OCommunityUpdates.vue_vue_type_style_index_0_scoped_cab17fde_lang.css +123 -0
- package/dist/treeshaking/components/community-updates/OCommunityUpdatesCard.mjs +5 -0
- package/dist/treeshaking/components/community-updates/OCommunityUpdatesCard.vue.d.ts +7 -0
- package/dist/treeshaking/components/community-updates/OCommunityUpdatesCard.vue_vue_type_script_setup_true_lang.mjs +49 -0
- package/dist/treeshaking/components/community-updates/OCommunityUpdatesCard.vue_vue_type_style_index_0_lang.css +130 -0
- package/dist/treeshaking/components/community-updates/index.d.ts +91 -0
- package/dist/treeshaking/components/community-updates/index.mjs +10 -0
- package/dist/treeshaking/components/community-updates/types.d.ts +36 -0
- package/dist/treeshaking/components/doc-layout/ODocLayout.mjs +2 -2
- package/dist/treeshaking/components/doc-layout/ODocLayout.vue.d.ts +8 -4
- package/dist/treeshaking/components/doc-layout/ODocLayout.vue_vue_type_script_setup_true_lang.mjs +29 -24
- package/dist/treeshaking/components/doc-layout/{ODocLayout.vue_vue_type_style_index_0_scoped_966cd0b4_lang.css → ODocLayout.vue_vue_type_style_index_0_scoped_b4aff4ce_lang.css} +66 -46
- package/dist/treeshaking/components/doc-layout/index.d.ts +9 -0
- 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/OHeaderMobile.vue.d.ts +8 -8
- 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-search/index.d.ts +13 -13
- package/dist/treeshaking/components/html-viewer/OHtmlViewer.mjs +2 -3
- package/dist/treeshaking/components/html-viewer/OHtmlViewer.vue_vue_type_script_setup_true_lang.mjs +2 -2
- package/dist/treeshaking/components/html-viewer/OHtmlViewer.vue_vue_type_style_index_0_scoped_2f5d08df_lang.css +196 -0
- package/dist/treeshaking/components/html-viewer/utils.mjs +1 -11
- package/dist/treeshaking/components/logo-swiper/index.d.ts +11 -11
- package/dist/treeshaking/components/markdown/OMarkdown.vue_vue_type_style_index_0_lang.css +12 -12
- package/dist/treeshaking/components/markdown/components/MarkdownTitle.mjs +2 -2
- package/dist/treeshaking/components/markdown/components/{MarkdownTitle.vue_vue_type_style_index_0_scoped_73874b80_lang.css → MarkdownTitle.vue_vue_type_style_index_0_scoped_cb3aae8a_lang.css} +24 -24
- package/dist/treeshaking/components/meeting/OMeetingPlayback.vue.d.ts +6 -6
- package/dist/treeshaking/components/meeting/components/OMeetingCalendarSelector.vue.d.ts +664 -0
- package/dist/treeshaking/components/meeting/components/OMeetingPlaybackVideo.vue.d.ts +1 -1
- package/dist/treeshaking/components/meeting/index.d.ts +51 -51
- package/dist/treeshaking/components/org/index.d.ts +9 -9
- package/dist/treeshaking/components/recursion-menu/index.d.ts +3 -3
- package/dist/treeshaking/components/search/index.d.ts +11 -11
- package/dist/treeshaking/components/search-doc-result/OSearchDocResult.mjs +2 -2
- package/dist/treeshaking/components/search-doc-result/OSearchDocResult.vue.d.ts +2 -0
- package/dist/treeshaking/components/search-doc-result/OSearchDocResult.vue_vue_type_script_setup_true_lang.mjs +7 -3
- package/dist/treeshaking/components/search-doc-result/{OSearchDocResult.vue_vue_type_style_index_0_scoped_25235996_lang.css → OSearchDocResult.vue_vue_type_style_index_0_scoped_9eb9bdd4_lang.css} +31 -31
- package/dist/treeshaking/components/search-doc-result/index.d.ts +6 -0
- package/dist/treeshaking/components/search-result/OSearchResult.mjs +2 -2
- package/dist/treeshaking/components/search-result/OSearchResult.vue_vue_type_script_setup_true_lang.mjs +1 -1
- package/dist/treeshaking/components/search-result/{OSearchResult.vue_vue_type_style_index_0_scoped_9d8dd556_lang.css → OSearchResult.vue_vue_type_style_index_0_scoped_a8453c65_lang.css} +30 -30
- package/dist/treeshaking/components/search-result/OSearchResultHeader.mjs +2 -2
- package/dist/treeshaking/components/search-result/OSearchResultHeader.vue.d.ts +24 -24
- package/dist/treeshaking/components/search-result/OSearchResultHeader.vue_vue_type_script_setup_true_lang.mjs +2 -3
- package/dist/treeshaking/components/search-result/{OSearchResultHeader.vue_vue_type_style_index_0_scoped_70bc0c95_lang.css → OSearchResultHeader.vue_vue_type_style_index_0_scoped_48a10021_lang.css} +33 -33
- package/dist/treeshaking/components/search-result/OSearchResultItem.mjs +2 -2
- package/dist/treeshaking/components/search-result/{OSearchResultItem.vue_vue_type_style_index_0_scoped_0914fdb7_lang.css → OSearchResultItem.vue_vue_type_style_index_0_scoped_418a332e_lang.css} +40 -40
- package/dist/treeshaking/components/search-result/components/OSearchResultFeedback.mjs +2 -2
- package/dist/treeshaking/components/search-result/components/OSearchResultFeedback.vue_vue_type_script_setup_true_lang.mjs +5 -2
- package/dist/treeshaking/components/search-result/components/{OSearchResultFeedback.vue_vue_type_style_index_0_scoped_72958e79_lang.css → OSearchResultFeedback.vue_vue_type_style_index_0_scoped_179b412f_lang.css} +30 -30
- package/dist/treeshaking/components/search-result/components/OSearchResultFeedbackBanner.mjs +2 -2
- package/dist/treeshaking/components/search-result/components/OSearchResultFeedbackBanner.vue_vue_type_script_setup_true_lang.mjs +5 -2
- package/dist/treeshaking/components/search-result/components/{OSearchResultFeedbackBanner.vue_vue_type_style_index_0_scoped_4cd638c6_lang.css → OSearchResultFeedbackBanner.vue_vue_type_style_index_0_scoped_33f2c617_lang.css} +38 -38
- package/dist/treeshaking/components/search-result/index.d.ts +31 -31
- package/dist/treeshaking/components/sig/index.d.ts +15 -15
- package/dist/treeshaking/components/summit/index.d.ts +12 -12
- package/dist/treeshaking/components/user-center/OAppHeader.mjs +2 -2
- package/dist/treeshaking/components/user-center/OAppHeader.vue.d.ts +0 -1
- package/dist/treeshaking/components/user-center/OAppHeader.vue_vue_type_script_setup_true_lang.mjs +1 -7
- package/dist/treeshaking/components/user-center/{OAppHeader.vue_vue_type_style_index_0_scoped_ce3899a1_lang.css → OAppHeader.vue_vue_type_style_index_0_scoped_c5aea772_lang.css} +3 -3
- package/dist/treeshaking/components/user-center/OUserInfo.mjs +3 -3
- package/dist/treeshaking/components/user-center/OUserInfo.vue_vue_type_script_setup_true_lang.mjs +1 -1
- package/dist/treeshaking/components/user-center/{OUserInfo.vue_vue_type_style_index_0_scoped_f60dfe3e_lang.css → OUserInfo.vue_vue_type_style_index_0_scoped_c12d3f54_lang.css} +109 -109
- package/dist/treeshaking/components/user-center/{OUserInfo.vue_vue_type_style_index_2_scoped_f60dfe3e_lang.css → OUserInfo.vue_vue_type_style_index_2_scoped_c12d3f54_lang.css} +4 -4
- package/dist/treeshaking/components/user-center/index.d.ts +18 -21
- package/dist/treeshaking/components/video/index.d.ts +3 -3
- package/dist/treeshaking/index.d.ts +1 -0
- package/dist/treeshaking/index.mjs +2 -1
- package/package.json +1 -1
- package/dist/treeshaking/components/article-anchor/components/ArticleAnchorMobile.vue_vue_type_style_index_0_scoped_ccc0d33c_lang.css +0 -47
- package/dist/treeshaking/components/html-viewer/OHtmlViewer.vue_vue_type_style_index_0_scoped_9cd74070_lang.css +0 -290
- package/dist/treeshaking/components/html-viewer/OHtmlViewer.vue_vue_type_style_index_1_lang.css +0 -20
|
@@ -1,144 +1,131 @@
|
|
|
1
|
-
.hover-icon-rotate .o-icon[data-v-
|
|
1
|
+
.hover-icon-rotate .o-icon[data-v-56848f78] {
|
|
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-56848f78] {
|
|
6
6
|
transform: rotate(-180deg);
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
|
-
.o-article-pagination[data-v-
|
|
9
|
+
.o-article-pagination[data-v-56848f78] {
|
|
10
10
|
display: flex;
|
|
11
11
|
flex-direction: column;
|
|
12
12
|
}
|
|
13
|
-
.o-article-pagination__divider[data-v-
|
|
13
|
+
.o-article-pagination__divider[data-v-56848f78] {
|
|
14
14
|
--o-divider-gap: 24px;
|
|
15
15
|
}
|
|
16
16
|
@media (max-width: 1680px) {
|
|
17
|
-
.o-article-pagination__divider[data-v-
|
|
17
|
+
.o-article-pagination__divider[data-v-56848f78] {
|
|
18
18
|
--o-divider-gap: 16px;
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
@media (max-width: 1200px) {
|
|
22
|
-
.o-article-pagination__divider[data-v-
|
|
22
|
+
.o-article-pagination__divider[data-v-56848f78] {
|
|
23
23
|
--o-divider-gap: 12px;
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
@media (max-width: 600px) {
|
|
27
|
-
.o-article-pagination__divider[data-v-
|
|
27
|
+
.o-article-pagination__divider[data-v-56848f78] {
|
|
28
28
|
--o-divider-gap: 24px;
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
|
-
.o-article-pagination__main[data-v-
|
|
31
|
+
.o-article-pagination__main[data-v-56848f78] {
|
|
32
32
|
display: flex;
|
|
33
33
|
overflow: hidden;
|
|
34
34
|
}
|
|
35
|
-
.o-article-pagination__side[data-v-
|
|
35
|
+
.o-article-pagination__side[data-v-56848f78] {
|
|
36
36
|
display: block;
|
|
37
37
|
width: 50%;
|
|
38
38
|
min-width: 0;
|
|
39
39
|
color: inherit;
|
|
40
40
|
text-decoration: none;
|
|
41
41
|
}
|
|
42
|
-
.o-article-pagination__side.o-article-pagination__side--prev[data-v-
|
|
42
|
+
.o-article-pagination__side.o-article-pagination__side--prev[data-v-56848f78] {
|
|
43
43
|
padding-right: 10px;
|
|
44
44
|
}
|
|
45
45
|
@media (max-width: 840px) {
|
|
46
|
-
.o-article-pagination__side.o-article-pagination__side--prev[data-v-
|
|
46
|
+
.o-article-pagination__side.o-article-pagination__side--prev[data-v-56848f78] {
|
|
47
47
|
padding-right: 6px;
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
|
-
.o-article-pagination__side.o-article-pagination__side--next[data-v-
|
|
50
|
+
.o-article-pagination__side.o-article-pagination__side--next[data-v-56848f78] {
|
|
51
51
|
padding-left: 10px;
|
|
52
52
|
}
|
|
53
53
|
@media (max-width: 840px) {
|
|
54
|
-
.o-article-pagination__side.o-article-pagination__side--next[data-v-
|
|
54
|
+
.o-article-pagination__side.o-article-pagination__side--next[data-v-56848f78] {
|
|
55
55
|
padding-left: 6px;
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
|
-
.o-article-pagination:not(.o-article-pagination--has-prev) .o-article-pagination__side--next[data-v-
|
|
58
|
+
.o-article-pagination:not(.o-article-pagination--has-prev) .o-article-pagination__side--next[data-v-56848f78] {
|
|
59
59
|
margin-left: auto;
|
|
60
60
|
}
|
|
61
|
-
.o-article-pagination__card[data-v-
|
|
61
|
+
.o-article-pagination__card[data-v-56848f78] {
|
|
62
62
|
display: flex;
|
|
63
63
|
align-items: center;
|
|
64
64
|
justify-content: space-between;
|
|
65
|
+
gap: 8px;
|
|
65
66
|
width: 100%;
|
|
66
|
-
|
|
67
|
+
padding: 16px 24px;
|
|
67
68
|
background-color: var(--o-color-fill1);
|
|
68
69
|
border-radius: var(--o-article-pagination-radius);
|
|
69
70
|
cursor: pointer;
|
|
70
71
|
transition: background-color var(--o-duration-m1) var(--o-easing-standard), box-shadow var(--o-duration-m1) var(--o-easing-standard);
|
|
71
72
|
}
|
|
72
|
-
@media (max-width:
|
|
73
|
-
.o-article-pagination__card[data-v-
|
|
74
|
-
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
.o-article-pagination__side--prev .o-article-pagination__card[data-v-8a8cf9f8] {
|
|
78
|
-
padding-left: 24px;
|
|
79
|
-
padding-right: 20px;
|
|
80
|
-
}
|
|
81
|
-
@media (max-width: 840px) {
|
|
82
|
-
.o-article-pagination__side--prev .o-article-pagination__card[data-v-8a8cf9f8] {
|
|
83
|
-
padding-left: 16px;
|
|
84
|
-
padding-right: 8px;
|
|
85
|
-
}
|
|
73
|
+
@media (max-width: 1680px) {
|
|
74
|
+
.o-article-pagination__card[data-v-56848f78] {
|
|
75
|
+
padding: 12px 16px;
|
|
86
76
|
}
|
|
87
|
-
.o-article-pagination__side--next .o-article-pagination__card[data-v-8a8cf9f8] {
|
|
88
|
-
padding-left: 20px;
|
|
89
|
-
padding-right: 24px;
|
|
90
77
|
}
|
|
91
|
-
@media (max-width:
|
|
92
|
-
.o-article-
|
|
93
|
-
padding
|
|
94
|
-
padding-right: 16px;
|
|
78
|
+
@media (max-width: 1200px) {
|
|
79
|
+
.o-article-pagination__card[data-v-56848f78] {
|
|
80
|
+
padding: 8px 12px;
|
|
95
81
|
}
|
|
96
82
|
}
|
|
97
|
-
.o-article-pagination__text[data-v-
|
|
83
|
+
.o-article-pagination__text[data-v-56848f78] {
|
|
98
84
|
display: flex;
|
|
99
85
|
flex-direction: column;
|
|
100
86
|
min-width: 0;
|
|
101
87
|
overflow: hidden;
|
|
102
88
|
}
|
|
103
|
-
.o-article-pagination__side--prev .o-article-pagination__text[data-v-
|
|
89
|
+
.o-article-pagination__side--prev .o-article-pagination__text[data-v-56848f78] {
|
|
104
90
|
align-items: flex-end;
|
|
105
91
|
}
|
|
106
|
-
.o-article-pagination__side--next .o-article-pagination__text[data-v-
|
|
92
|
+
.o-article-pagination__side--next .o-article-pagination__text[data-v-56848f78] {
|
|
107
93
|
align-items: flex-start;
|
|
108
94
|
}
|
|
109
|
-
.o-article-pagination__label[data-v-
|
|
95
|
+
.o-article-pagination__label[data-v-56848f78] {
|
|
96
|
+
margin-bottom: 2px;
|
|
110
97
|
color: var(--o-color-info3);
|
|
111
98
|
font-size: 14px;
|
|
112
99
|
line-height: 22px;
|
|
113
100
|
}
|
|
114
101
|
@media (min-width: 1201px) and (max-width: 1680px) {
|
|
115
|
-
.o-article-pagination__label[data-v-
|
|
102
|
+
.o-article-pagination__label[data-v-56848f78] {
|
|
116
103
|
font-size: 14px;
|
|
117
104
|
line-height: 18px;
|
|
118
105
|
}
|
|
119
106
|
}
|
|
120
107
|
@media (min-width: 841px) and (max-width: 1200px) {
|
|
121
|
-
.o-article-pagination__label[data-v-
|
|
108
|
+
.o-article-pagination__label[data-v-56848f78] {
|
|
122
109
|
font-size: 12px;
|
|
123
110
|
line-height: 18px;
|
|
124
111
|
}
|
|
125
112
|
}
|
|
126
113
|
@media (min-width: 601px) and (max-width: 840px) {
|
|
127
|
-
.o-article-pagination__label[data-v-
|
|
114
|
+
.o-article-pagination__label[data-v-56848f78] {
|
|
128
115
|
font-size: 12px;
|
|
129
116
|
line-height: 18px;
|
|
130
117
|
}
|
|
131
118
|
}
|
|
132
119
|
@media (max-width: 600px) {
|
|
133
|
-
.o-article-pagination__label[data-v-
|
|
120
|
+
.o-article-pagination__label[data-v-56848f78] {
|
|
134
121
|
font-size: 12px;
|
|
135
122
|
line-height: 18px;
|
|
136
123
|
}
|
|
137
124
|
}
|
|
138
|
-
.o-article-pagination__side--prev .o-article-pagination__label[data-v-
|
|
125
|
+
.o-article-pagination__side--prev .o-article-pagination__label[data-v-56848f78] {
|
|
139
126
|
text-align: right;
|
|
140
127
|
}
|
|
141
|
-
.o-article-pagination__title[data-v-
|
|
128
|
+
.o-article-pagination__title[data-v-56848f78] {
|
|
142
129
|
color: var(--o-color-info2);
|
|
143
130
|
max-width: 320px;
|
|
144
131
|
overflow: hidden;
|
|
@@ -149,62 +136,62 @@
|
|
|
149
136
|
line-height: 24px;
|
|
150
137
|
}
|
|
151
138
|
@media (min-width: 1201px) and (max-width: 1680px) {
|
|
152
|
-
.o-article-pagination__title[data-v-
|
|
139
|
+
.o-article-pagination__title[data-v-56848f78] {
|
|
153
140
|
font-size: 14px;
|
|
154
141
|
line-height: 22px;
|
|
155
142
|
}
|
|
156
143
|
}
|
|
157
144
|
@media (min-width: 841px) and (max-width: 1200px) {
|
|
158
|
-
.o-article-pagination__title[data-v-
|
|
145
|
+
.o-article-pagination__title[data-v-56848f78] {
|
|
159
146
|
font-size: 14px;
|
|
160
147
|
line-height: 22px;
|
|
161
148
|
}
|
|
162
149
|
}
|
|
163
150
|
@media (min-width: 601px) and (max-width: 840px) {
|
|
164
|
-
.o-article-pagination__title[data-v-
|
|
151
|
+
.o-article-pagination__title[data-v-56848f78] {
|
|
165
152
|
font-size: 14px;
|
|
166
153
|
line-height: 22px;
|
|
167
154
|
}
|
|
168
155
|
}
|
|
169
156
|
@media (max-width: 600px) {
|
|
170
|
-
.o-article-pagination__title[data-v-
|
|
157
|
+
.o-article-pagination__title[data-v-56848f78] {
|
|
171
158
|
font-size: 12px;
|
|
172
159
|
line-height: 18px;
|
|
173
160
|
}
|
|
174
161
|
}
|
|
175
162
|
@media (max-width: 1200px) {
|
|
176
|
-
.o-article-pagination__title[data-v-
|
|
163
|
+
.o-article-pagination__title[data-v-56848f78] {
|
|
177
164
|
max-width: 220px;
|
|
178
165
|
}
|
|
179
166
|
}
|
|
180
167
|
@media (max-width: 840px) {
|
|
181
|
-
.o-article-pagination__title[data-v-
|
|
168
|
+
.o-article-pagination__title[data-v-56848f78] {
|
|
182
169
|
max-width: 100%;
|
|
183
170
|
margin-top: 4px;
|
|
184
171
|
}
|
|
185
172
|
}
|
|
186
|
-
.o-article-pagination__arrow[data-v-
|
|
173
|
+
.o-article-pagination__arrow[data-v-56848f78] {
|
|
187
174
|
flex-shrink: 0;
|
|
188
175
|
font-size: 24px;
|
|
189
176
|
color: var(--o-color-info3);
|
|
190
177
|
transition: color var(--o-duration-m1) var(--o-easing-standard);
|
|
191
178
|
}
|
|
192
179
|
@media (max-width: 840px) {
|
|
193
|
-
.o-article-pagination__arrow[data-v-
|
|
180
|
+
.o-article-pagination__arrow[data-v-56848f78] {
|
|
194
181
|
font-size: 20px;
|
|
195
182
|
}
|
|
196
183
|
}
|
|
197
|
-
.o-article-pagination__arrow--next[data-v-
|
|
184
|
+
.o-article-pagination__arrow--next[data-v-56848f78] {
|
|
198
185
|
transform: rotate(180deg);
|
|
199
186
|
}
|
|
200
187
|
@media (hover: hover) {
|
|
201
|
-
&:hover .o-article-pagination__card[data-v-
|
|
188
|
+
&:hover .o-article-pagination__card[data-v-56848f78]:hover {
|
|
202
189
|
background-color: var(--o-color-fill3);
|
|
203
190
|
}
|
|
204
|
-
&:hover .o-article-pagination__card:hover .o-article-pagination__title[data-v-
|
|
191
|
+
&:hover .o-article-pagination__card:hover .o-article-pagination__title[data-v-56848f78] {
|
|
205
192
|
color: var(--o-color-info1);
|
|
206
193
|
}
|
|
207
|
-
&:hover .o-article-pagination__card:hover .o-article-pagination__arrow[data-v-
|
|
194
|
+
&:hover .o-article-pagination__card:hover .o-article-pagination__arrow[data-v-56848f78] {
|
|
208
195
|
color: var(--o-color-info1);
|
|
209
196
|
}
|
|
210
197
|
}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { App } from 'vue';
|
|
2
2
|
declare const OArticlePagination: {
|
|
3
3
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
4
|
-
prev?: import('
|
|
5
|
-
next?: import('
|
|
4
|
+
prev?: import('../../index').OArticlePaginationItemT | null;
|
|
5
|
+
next?: import('../../index').OArticlePaginationItemT | null;
|
|
6
6
|
prevLabel?: string;
|
|
7
7
|
nextLabel?: string;
|
|
8
8
|
divider?: boolean;
|
|
9
9
|
radius?: string;
|
|
10
10
|
preventDefault?: boolean;
|
|
11
11
|
}> & Readonly<{
|
|
12
|
-
onNavigate?: ((type: "prev" | "next", item: import('
|
|
12
|
+
onNavigate?: ((type: "prev" | "next", item: import('../../index').OArticlePaginationItemT) => any) | undefined;
|
|
13
13
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
14
|
-
navigate: (type: "prev" | "next", item: import('
|
|
14
|
+
navigate: (type: "prev" | "next", item: import('../../index').OArticlePaginationItemT) => any;
|
|
15
15
|
}, import('vue').PublicProps, {
|
|
16
|
-
prev: import('
|
|
17
|
-
next: import('
|
|
16
|
+
prev: import('../../index').OArticlePaginationItemT | null;
|
|
17
|
+
next: import('../../index').OArticlePaginationItemT | null;
|
|
18
18
|
prevLabel: string;
|
|
19
19
|
nextLabel: string;
|
|
20
20
|
divider: boolean;
|
|
@@ -28,18 +28,18 @@ declare const OArticlePagination: {
|
|
|
28
28
|
M: {};
|
|
29
29
|
Defaults: {};
|
|
30
30
|
}, Readonly<{
|
|
31
|
-
prev?: import('
|
|
32
|
-
next?: import('
|
|
31
|
+
prev?: import('../../index').OArticlePaginationItemT | null;
|
|
32
|
+
next?: import('../../index').OArticlePaginationItemT | null;
|
|
33
33
|
prevLabel?: string;
|
|
34
34
|
nextLabel?: string;
|
|
35
35
|
divider?: boolean;
|
|
36
36
|
radius?: string;
|
|
37
37
|
preventDefault?: boolean;
|
|
38
38
|
}> & Readonly<{
|
|
39
|
-
onNavigate?: ((type: "prev" | "next", item: import('
|
|
39
|
+
onNavigate?: ((type: "prev" | "next", item: import('../../index').OArticlePaginationItemT) => any) | undefined;
|
|
40
40
|
}>, {}, {}, {}, {}, {
|
|
41
|
-
prev: import('
|
|
42
|
-
next: import('
|
|
41
|
+
prev: import('../../index').OArticlePaginationItemT | null;
|
|
42
|
+
next: import('../../index').OArticlePaginationItemT | null;
|
|
43
43
|
prevLabel: string;
|
|
44
44
|
nextLabel: string;
|
|
45
45
|
divider: boolean;
|
|
@@ -50,20 +50,20 @@ declare const OArticlePagination: {
|
|
|
50
50
|
__isTeleport?: never;
|
|
51
51
|
__isSuspense?: never;
|
|
52
52
|
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
53
|
-
prev?: import('
|
|
54
|
-
next?: import('
|
|
53
|
+
prev?: import('../../index').OArticlePaginationItemT | null;
|
|
54
|
+
next?: import('../../index').OArticlePaginationItemT | null;
|
|
55
55
|
prevLabel?: string;
|
|
56
56
|
nextLabel?: string;
|
|
57
57
|
divider?: boolean;
|
|
58
58
|
radius?: string;
|
|
59
59
|
preventDefault?: boolean;
|
|
60
60
|
}> & Readonly<{
|
|
61
|
-
onNavigate?: ((type: "prev" | "next", item: import('
|
|
61
|
+
onNavigate?: ((type: "prev" | "next", item: import('../../index').OArticlePaginationItemT) => any) | undefined;
|
|
62
62
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
63
|
-
navigate: (type: "prev" | "next", item: import('
|
|
63
|
+
navigate: (type: "prev" | "next", item: import('../../index').OArticlePaginationItemT) => any;
|
|
64
64
|
}, string, {
|
|
65
|
-
prev: import('
|
|
66
|
-
next: import('
|
|
65
|
+
prev: import('../../index').OArticlePaginationItemT | null;
|
|
66
|
+
next: import('../../index').OArticlePaginationItemT | null;
|
|
67
67
|
prevLabel: string;
|
|
68
68
|
nextLabel: string;
|
|
69
69
|
divider: boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { App } from 'vue';
|
|
2
2
|
declare const OBanner: {
|
|
3
3
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
4
|
-
options?: import('
|
|
4
|
+
options?: import('../../index').BannerItem | import('../../index').BannerItem[];
|
|
5
5
|
size?: "large" | "medium" | "small" | "tiny";
|
|
6
6
|
contentJustifyCenter?: boolean;
|
|
7
7
|
autoPlay?: boolean;
|
|
@@ -17,7 +17,7 @@ declare const OBanner: {
|
|
|
17
17
|
M: {};
|
|
18
18
|
Defaults: {};
|
|
19
19
|
}, Readonly<{
|
|
20
|
-
options?: import('
|
|
20
|
+
options?: import('../../index').BannerItem | import('../../index').BannerItem[];
|
|
21
21
|
size?: "large" | "medium" | "small" | "tiny";
|
|
22
22
|
contentJustifyCenter?: boolean;
|
|
23
23
|
autoPlay?: boolean;
|
|
@@ -28,7 +28,7 @@ declare const OBanner: {
|
|
|
28
28
|
__isTeleport?: never;
|
|
29
29
|
__isSuspense?: never;
|
|
30
30
|
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
31
|
-
options?: import('
|
|
31
|
+
options?: import('../../index').BannerItem | import('../../index').BannerItem[];
|
|
32
32
|
size?: "large" | "medium" | "small" | "tiny";
|
|
33
33
|
contentJustifyCenter?: boolean;
|
|
34
34
|
autoPlay?: boolean;
|
|
@@ -40,7 +40,7 @@ declare const OBanner: {
|
|
|
40
40
|
install(app: App): void;
|
|
41
41
|
};
|
|
42
42
|
declare const OBannerContent: {
|
|
43
|
-
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('
|
|
43
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('../../index').BannerContentProps> & Readonly<{
|
|
44
44
|
onClick?: ((href: string | undefined) => any) | undefined;
|
|
45
45
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
46
46
|
click: (href: string | undefined) => any;
|
|
@@ -51,13 +51,13 @@ declare const OBannerContent: {
|
|
|
51
51
|
C: {};
|
|
52
52
|
M: {};
|
|
53
53
|
Defaults: {};
|
|
54
|
-
}, Readonly<import('
|
|
54
|
+
}, Readonly<import('../../index').BannerContentProps> & Readonly<{
|
|
55
55
|
onClick?: ((href: string | undefined) => any) | undefined;
|
|
56
56
|
}>, {}, {}, {}, {}, {}>;
|
|
57
57
|
__isFragment?: never;
|
|
58
58
|
__isTeleport?: never;
|
|
59
59
|
__isSuspense?: never;
|
|
60
|
-
} & import('vue').ComponentOptionsBase<Readonly<import('
|
|
60
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('../../index').BannerContentProps> & Readonly<{
|
|
61
61
|
onClick?: ((href: string | undefined) => any) | undefined;
|
|
62
62
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
63
63
|
click: (href: string | undefined) => any;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { App } from 'vue';
|
|
2
2
|
declare const OBrandLogo: {
|
|
3
|
-
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('
|
|
4
|
-
list: import('
|
|
3
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('../../index').BrandLogoPropsT> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
4
|
+
list: import('../../index').BrandLogoItemT[];
|
|
5
5
|
formats: string[];
|
|
6
6
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
7
7
|
P: {};
|
|
@@ -10,22 +10,22 @@ declare const OBrandLogo: {
|
|
|
10
10
|
C: {};
|
|
11
11
|
M: {};
|
|
12
12
|
Defaults: {};
|
|
13
|
-
}, Readonly<import('
|
|
14
|
-
list: import('
|
|
13
|
+
}, Readonly<import('../../index').BrandLogoPropsT> & Readonly<{}>, {}, {}, {}, {}, {
|
|
14
|
+
list: import('../../index').BrandLogoItemT[];
|
|
15
15
|
formats: string[];
|
|
16
16
|
}>;
|
|
17
17
|
__isFragment?: never;
|
|
18
18
|
__isTeleport?: never;
|
|
19
19
|
__isSuspense?: never;
|
|
20
|
-
} & import('vue').ComponentOptionsBase<Readonly<import('
|
|
21
|
-
list: import('
|
|
20
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('../../index').BrandLogoPropsT> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
21
|
+
list: import('../../index').BrandLogoItemT[];
|
|
22
22
|
formats: string[];
|
|
23
23
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
|
|
24
24
|
install(app: App): void;
|
|
25
25
|
};
|
|
26
26
|
declare const OBrandFile: {
|
|
27
|
-
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('
|
|
28
|
-
list: import('
|
|
27
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('../../index').BrandFilePropsT> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
28
|
+
list: import('../../index').BrandFileItemT[];
|
|
29
29
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
30
30
|
P: {};
|
|
31
31
|
B: {};
|
|
@@ -33,30 +33,30 @@ declare const OBrandFile: {
|
|
|
33
33
|
C: {};
|
|
34
34
|
M: {};
|
|
35
35
|
Defaults: {};
|
|
36
|
-
}, Readonly<import('
|
|
37
|
-
list: import('
|
|
36
|
+
}, Readonly<import('../../index').BrandFilePropsT> & Readonly<{}>, {}, {}, {}, {}, {
|
|
37
|
+
list: import('../../index').BrandFileItemT[];
|
|
38
38
|
}>;
|
|
39
39
|
__isFragment?: never;
|
|
40
40
|
__isTeleport?: never;
|
|
41
41
|
__isSuspense?: never;
|
|
42
|
-
} & import('vue').ComponentOptionsBase<Readonly<import('
|
|
43
|
-
list: import('
|
|
42
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('../../index').BrandFilePropsT> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
43
|
+
list: import('../../index').BrandFileItemT[];
|
|
44
44
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
|
|
45
45
|
install(app: App): void;
|
|
46
46
|
};
|
|
47
47
|
declare const OBrandStandard: {
|
|
48
|
-
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('
|
|
48
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('../../index').BrandStandardPropsT> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
49
49
|
P: {};
|
|
50
50
|
B: {};
|
|
51
51
|
D: {};
|
|
52
52
|
C: {};
|
|
53
53
|
M: {};
|
|
54
54
|
Defaults: {};
|
|
55
|
-
}, Readonly<import('
|
|
55
|
+
}, Readonly<import('../../index').BrandStandardPropsT> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
56
56
|
__isFragment?: never;
|
|
57
57
|
__isTeleport?: never;
|
|
58
58
|
__isSuspense?: never;
|
|
59
|
-
} & import('vue').ComponentOptionsBase<Readonly<import('
|
|
59
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('../../index').BrandStandardPropsT> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
|
|
60
60
|
install(app: App): void;
|
|
61
61
|
};
|
|
62
62
|
export { OBrandLogo, OBrandFile, OBrandStandard };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import _plugin_vue_export_helper_default from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
2
|
+
import OCommunityUpdates_vue_vue_type_script_setup_true_lang_default from "./OCommunityUpdates.vue_vue_type_script_setup_true_lang.mjs";
|
|
3
|
+
import './OCommunityUpdates.vue_vue_type_style_index_0_scoped_cab17fde_lang.css';
|
|
4
|
+
// src/components/community-updates/OCommunityUpdates.vue
|
|
5
|
+
var OCommunityUpdates_default = /*#__PURE__*/ _plugin_vue_export_helper_default(OCommunityUpdates_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-cab17fde"]]);
|
|
6
|
+
export { OCommunityUpdates_default as default };
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { CommunityUpdatesItemT, CommunityUpdatesPropsT } from './types';
|
|
2
|
+
type __VLS_Props = CommunityUpdatesPropsT;
|
|
3
|
+
type __VLS_PublicProps = {
|
|
4
|
+
'activeTab'?: string;
|
|
5
|
+
} & __VLS_Props;
|
|
6
|
+
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
8
|
+
slots: Readonly<{
|
|
9
|
+
/** 单个动态卡片自定义渲染(横向滚动布局仍由组件内部处理),插槽参数为当前项数据、索引与当前 Tab key;不传时渲染内置 OCommunityUpdatesCard */
|
|
10
|
+
card?: (props: {
|
|
11
|
+
item: CommunityUpdatesItemT;
|
|
12
|
+
index: number;
|
|
13
|
+
tab: string;
|
|
14
|
+
}) => any;
|
|
15
|
+
}> & {
|
|
16
|
+
/** 单个动态卡片自定义渲染(横向滚动布局仍由组件内部处理),插槽参数为当前项数据、索引与当前 Tab key;不传时渲染内置 OCommunityUpdatesCard */
|
|
17
|
+
card?: (props: {
|
|
18
|
+
item: CommunityUpdatesItemT;
|
|
19
|
+
index: number;
|
|
20
|
+
tab: string;
|
|
21
|
+
}) => any;
|
|
22
|
+
};
|
|
23
|
+
refs: {};
|
|
24
|
+
rootEl: HTMLDivElement;
|
|
25
|
+
};
|
|
26
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
27
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
28
|
+
"update:activeTab": (value: string) => any;
|
|
29
|
+
} & {
|
|
30
|
+
"tab-change": (value: string) => any;
|
|
31
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
32
|
+
"onTab-change"?: ((value: string) => any) | undefined;
|
|
33
|
+
"onUpdate:activeTab"?: ((value: string) => any) | undefined;
|
|
34
|
+
}>, {
|
|
35
|
+
data: CommunityUpdatesItemT[] | Record<string, CommunityUpdatesItemT[]>;
|
|
36
|
+
tabs: import('../../index').CommunityUpdatesTabT[];
|
|
37
|
+
moreHref: string;
|
|
38
|
+
moreText: string;
|
|
39
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
40
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
41
|
+
export default _default;
|
|
42
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
43
|
+
new (): {
|
|
44
|
+
$slots: S;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { useI18n } from "../../i18n/index.mjs";
|
|
2
|
+
import icon_chevron_right_default from "../../_virtual/~icons/components/icon-chevron-right.mjs";
|
|
3
|
+
import OCommunityUpdatesCard_default from "./OCommunityUpdatesCard.mjs";
|
|
4
|
+
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, mergeModels, normalizeClass, openBlock, renderList, renderSlot, toDisplayString, unref, useModel, withCtx } from "vue";
|
|
5
|
+
import { OIcon, OLink, OScroller, OTab, OTabPane } from "@opensig/opendesign";
|
|
6
|
+
import { useScreen } from "@opendesign-plus/composables";
|
|
7
|
+
// src/components/community-updates/OCommunityUpdates.vue?vue&type=script&setup=true&lang.ts
|
|
8
|
+
var _hoisted_1 = { class: "o-community-updates" };
|
|
9
|
+
var _hoisted_2 = { class: "o-community-updates__list" };
|
|
10
|
+
var OCommunityUpdates_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
|
|
11
|
+
__name: "OCommunityUpdates",
|
|
12
|
+
props: /*@__PURE__*/ mergeModels({
|
|
13
|
+
data: { default: () => [] },
|
|
14
|
+
tabs: { default: () => [] },
|
|
15
|
+
activeTab: {},
|
|
16
|
+
moreHref: { default: void 0 },
|
|
17
|
+
moreText: { default: void 0 }
|
|
18
|
+
}, {
|
|
19
|
+
"activeTab": {},
|
|
20
|
+
"activeTabModifiers": {}
|
|
21
|
+
}),
|
|
22
|
+
emits: /*@__PURE__*/ mergeModels(["tab-change"], ["update:activeTab"]),
|
|
23
|
+
setup(__props, { emit: __emit }) {
|
|
24
|
+
const props = __props;
|
|
25
|
+
const emit = __emit;
|
|
26
|
+
const { t } = useI18n();
|
|
27
|
+
const { isPhone } = useScreen();
|
|
28
|
+
const moreTextValue = computed(() => props.moreText ?? t("common.viewMore"));
|
|
29
|
+
const activeTab = useModel(__props, "activeTab");
|
|
30
|
+
const effectiveTab = computed(() => activeTab.value || props.tabs[0]?.key || "");
|
|
31
|
+
const onTabChange = (value) => {
|
|
32
|
+
const key = String(value);
|
|
33
|
+
activeTab.value = key;
|
|
34
|
+
emit("tab-change", key);
|
|
35
|
+
};
|
|
36
|
+
const items = computed(() => {
|
|
37
|
+
if (props.tabs.length && props.data && !Array.isArray(props.data)) return props.data[effectiveTab.value] ?? [];
|
|
38
|
+
return Array.isArray(props.data) ? props.data : [];
|
|
39
|
+
});
|
|
40
|
+
return (_ctx, _cache) => {
|
|
41
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
42
|
+
__props.tabs.length ? (openBlock(), createBlock(unref(OTab), {
|
|
43
|
+
key: 0,
|
|
44
|
+
class: "o-community-updates__tab",
|
|
45
|
+
variant: "text",
|
|
46
|
+
size: "large",
|
|
47
|
+
line: false,
|
|
48
|
+
"model-value": effectiveTab.value,
|
|
49
|
+
"onUpdate:modelValue": onTabChange
|
|
50
|
+
}, {
|
|
51
|
+
default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(__props.tabs, (tab) => {
|
|
52
|
+
return openBlock(), createBlock(unref(OTabPane), {
|
|
53
|
+
key: tab.key,
|
|
54
|
+
value: tab.key,
|
|
55
|
+
label: tab.label
|
|
56
|
+
}, null, 8, ["value", "label"]);
|
|
57
|
+
}), 128))]),
|
|
58
|
+
_: 1
|
|
59
|
+
}, 8, ["model-value"])) : createCommentVNode("", true),
|
|
60
|
+
items.value.length ? (openBlock(), createBlock(unref(OScroller), {
|
|
61
|
+
key: 1,
|
|
62
|
+
class: normalizeClass(["o-community-updates__scroller", { le4: items.value.length <= 3 && !unref(isPhone) }]),
|
|
63
|
+
"disabled-y": "",
|
|
64
|
+
"show-type": items.value.length <= 3 || unref(isPhone) ? "never" : "always",
|
|
65
|
+
size: "small",
|
|
66
|
+
"auto-update-on-scroll-size": ""
|
|
67
|
+
}, {
|
|
68
|
+
default: withCtx(() => [createElementVNode("div", _hoisted_2, [(openBlock(true), createElementBlock(Fragment, null, renderList(items.value, (item, index) => {
|
|
69
|
+
return openBlock(), createElementBlock("div", {
|
|
70
|
+
key: item.title,
|
|
71
|
+
class: "o-community-updates__item"
|
|
72
|
+
}, [renderSlot(_ctx.$slots, "card", {
|
|
73
|
+
item,
|
|
74
|
+
index,
|
|
75
|
+
tab: effectiveTab.value
|
|
76
|
+
}, () => [createVNode(OCommunityUpdatesCard_default, { item }, null, 8, ["item"])], true)]);
|
|
77
|
+
}), 128))])]),
|
|
78
|
+
_: 3
|
|
79
|
+
}, 8, ["class", "show-type"])) : createCommentVNode("", true),
|
|
80
|
+
moreTextValue.value ? (openBlock(), createElementBlock("div", {
|
|
81
|
+
key: 2,
|
|
82
|
+
class: normalizeClass(["o-community-updates__more", { le4: items.value.length <= 3 || unref(isPhone) }])
|
|
83
|
+
}, [createVNode(unref(OLink), {
|
|
84
|
+
class: "o-community-updates__more-link",
|
|
85
|
+
href: __props.moreHref,
|
|
86
|
+
target: "_blank",
|
|
87
|
+
"hover-underline": false
|
|
88
|
+
}, {
|
|
89
|
+
suffix: withCtx(() => [createVNode(unref(OIcon), { class: "more-icon" }, {
|
|
90
|
+
default: withCtx(() => [createVNode(unref(icon_chevron_right_default))]),
|
|
91
|
+
_: 1
|
|
92
|
+
})]),
|
|
93
|
+
default: withCtx(() => [createTextVNode(toDisplayString(moreTextValue.value) + " ", 1)]),
|
|
94
|
+
_: 1
|
|
95
|
+
}, 8, ["href"])], 2)) : createCommentVNode("", true)
|
|
96
|
+
]);
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
});
|
|
100
|
+
export { OCommunityUpdates_vue_vue_type_script_setup_true_lang_default as default };
|