@opendesign-plus-test/components 0.0.1-rc.297 → 0.0.1-rc.299
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/types.d.ts +1 -0
- package/dist/components/community-updates/OCommunityUpdates.vue.d.ts +357 -2
- package/dist/components/community-updates/index.d.ts +178 -1
- package/dist/components/footer/OFooter.vue.d.ts +5 -1
- package/dist/components/footer/components/FooterList.vue.d.ts +5 -1
- package/dist/components/footer/components/FooterSimple.vue.d.ts +5 -1
- package/dist/components/footer/index.d.ts +13 -3
- package/dist/components/footer/types.d.ts +3 -1
- package/dist/components/html-viewer/utils.d.ts +1 -1
- package/dist/components.cjs.js +4 -4
- package/dist/components.css +1 -1
- package/dist/components.es.js +1535 -1478
- package/dist/treeshaking/assets/styles/element-plus.css +1 -0
- package/dist/treeshaking/components/activity/OActivityForm.vue_vue_type_style_index_0_lang.css +1 -0
- package/dist/treeshaking/components/activity/OActivityForm.vue_vue_type_style_index_1_lang.css +1 -0
- package/dist/treeshaking/components/activity/OActivityMyCalendar.vue_vue_type_style_index_0_lang.css +1 -0
- package/dist/treeshaking/components/activity/OActivityMyCalendar.vue_vue_type_style_index_1_lang.css +1 -0
- package/dist/treeshaking/components/article/OArticleList.vue_vue_type_script_setup_true_lang.mjs +12 -4
- package/dist/treeshaking/components/article/OArticleList.vue_vue_type_style_index_0_lang.css +7 -7
- package/dist/treeshaking/components/article/components/DocTitle.mjs +2 -2
- package/dist/treeshaking/components/article/components/DocTitle.vue_vue_type_script_setup_true_lang.mjs +1 -1
- package/dist/treeshaking/components/article/components/{DocTitle.vue_vue_type_style_index_0_scoped_c5f974b8_lang.css → DocTitle.vue_vue_type_style_index_0_scoped_8fd87069_lang.css} +63 -67
- package/dist/treeshaking/components/article/types.d.ts +1 -0
- package/dist/treeshaking/components/community-updates/OCommunityUpdates.mjs +2 -2
- package/dist/treeshaking/components/community-updates/OCommunityUpdates.vue.d.ts +357 -2
- package/dist/treeshaking/components/community-updates/OCommunityUpdates.vue_vue_type_script_setup_true_lang.mjs +8 -1
- package/dist/treeshaking/components/community-updates/{OCommunityUpdates.vue_vue_type_style_index_0_scoped_b7cafb2f_lang.css → OCommunityUpdates.vue_vue_type_style_index_0_scoped_cdd7bf86_lang.css} +33 -32
- package/dist/treeshaking/components/community-updates/index.d.ts +178 -1
- package/dist/treeshaking/components/doc-layout/ODocLayout.mjs +2 -2
- package/dist/treeshaking/components/doc-layout/{ODocLayout.vue_vue_type_style_index_0_scoped_2b610e04_lang.css → ODocLayout.vue_vue_type_style_index_0_scoped_ea6414db_lang.css} +54 -54
- package/dist/treeshaking/components/element-plus/OElCookieNotice.vue_vue_type_style_index_0_lang.css +1 -0
- package/dist/treeshaking/components/element-plus/OElCookieNotice.vue_vue_type_style_index_1_scoped_5fa9f6f1_lang.css +1 -0
- package/dist/treeshaking/components/footer/OFooter.mjs +2 -2
- package/dist/treeshaking/components/footer/OFooter.vue.d.ts +5 -1
- package/dist/treeshaking/components/footer/OFooter.vue_vue_type_script_setup_true_lang.mjs +9 -3
- package/dist/treeshaking/components/footer/{OFooter.vue_vue_type_style_index_0_scoped_41010b1f_lang.css → OFooter.vue_vue_type_style_index_0_scoped_f0f4e884_lang.css} +13 -13
- package/dist/treeshaking/components/footer/components/FooterList.mjs +2 -2
- package/dist/treeshaking/components/footer/components/FooterList.vue.d.ts +5 -1
- package/dist/treeshaking/components/footer/components/FooterList.vue_vue_type_script_setup_true_lang.mjs +45 -25
- package/dist/treeshaking/components/footer/components/{FooterList.vue_vue_type_style_index_0_scoped_0ed4bc5f_lang.css → FooterList.vue_vue_type_style_index_0_scoped_6946816d_lang.css} +110 -106
- package/dist/treeshaking/components/footer/components/FooterSimple.mjs +2 -2
- package/dist/treeshaking/components/footer/components/FooterSimple.vue.d.ts +5 -1
- package/dist/treeshaking/components/footer/components/FooterSimple.vue_vue_type_script_setup_true_lang.mjs +28 -8
- package/dist/treeshaking/components/footer/components/{FooterSimple.vue_vue_type_style_index_0_scoped_42242446_lang.css → FooterSimple.vue_vue_type_style_index_0_scoped_1dd6e901_lang.css} +29 -25
- package/dist/treeshaking/components/footer/index.d.ts +13 -3
- package/dist/treeshaking/components/footer/types.d.ts +3 -1
- package/dist/treeshaking/components/html-viewer/OHtmlViewer.mjs +3 -2
- 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_36fc9311_lang.css +318 -0
- package/dist/treeshaking/components/html-viewer/OHtmlViewer.vue_vue_type_style_index_1_lang.css +20 -0
- package/dist/treeshaking/components/html-viewer/utils.d.ts +1 -1
- package/dist/treeshaking/components/html-viewer/utils.mjs +22 -3
- package/dist/treeshaking/components/meeting/OMeetingCalendar.vue_vue_type_style_index_0_lang.css +1 -0
- package/dist/treeshaking/components/meeting/OMeetingForm.vue_vue_type_style_index_0_lang.css +1 -0
- package/dist/treeshaking/components/meeting/OMeetingForm.vue_vue_type_style_index_1_lang.css +1 -0
- package/dist/treeshaking/components/meeting/OMeetingMyCalendar.vue_vue_type_style_index_0_lang.css +1 -0
- package/dist/treeshaking/components/meeting/OMeetingMyCalendar.vue_vue_type_style_index_1_lang.css +1 -0
- package/dist/treeshaking/components/meeting/components/OMeetingCalendarSelector.vue_vue_type_style_index_0_lang.css +1 -0
- package/dist/treeshaking/components/meeting/components/OMeetingCalendarSelector.vue_vue_type_style_index_1_lang.css +1 -0
- package/dist/treeshaking/components/meeting/components/OMeetingPlaybackSubtitles.vue_vue_type_style_index_0_lang.css +1 -0
- package/dist/treeshaking/components/meeting/components/OMeetingPlaybackSubtitles.vue_vue_type_style_index_1_lang.css +1 -0
- package/dist/treeshaking/components/sig/OSigList.vue_vue_type_style_index_0_lang.css +1 -0
- package/dist/treeshaking/components/user-center/internal/OUploadAvatar.vue_vue_type_style_index_0_scoped_7067a565_lang.css +1 -0
- package/dist/treeshaking/components/user-center/internal/OUploadAvatar.vue_vue_type_style_index_1_lang.css +1 -0
- package/package.json +1 -1
- package/dist/treeshaking/components/html-viewer/OHtmlViewer.vue_vue_type_style_index_0_scoped_2f5d08df_lang.css +0 -196
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { nextTick } from 'vue';
|
|
1
2
|
import { CommunityUpdatesItemT, CommunityUpdatesPropsT } from './types';
|
|
2
3
|
type __VLS_Props = CommunityUpdatesPropsT;
|
|
3
4
|
type __VLS_PublicProps = {
|
|
@@ -20,7 +21,184 @@ declare function __VLS_template(): {
|
|
|
20
21
|
tab: string;
|
|
21
22
|
}) => any;
|
|
22
23
|
};
|
|
23
|
-
refs: {
|
|
24
|
+
refs: {
|
|
25
|
+
scrollerRef: ({
|
|
26
|
+
$: import('vue').ComponentInternalInstance;
|
|
27
|
+
$data: {};
|
|
28
|
+
$props: Partial<{
|
|
29
|
+
size: "medium" | "small";
|
|
30
|
+
duration: number;
|
|
31
|
+
disabledX: boolean;
|
|
32
|
+
disabledY: boolean;
|
|
33
|
+
showType: "auto" | "always" | "never" | "hover";
|
|
34
|
+
autoUpdateOnScrollSize: boolean;
|
|
35
|
+
}> & Omit<{
|
|
36
|
+
readonly size: "small" | "medium";
|
|
37
|
+
readonly duration: number;
|
|
38
|
+
readonly disabledX: boolean;
|
|
39
|
+
readonly disabledY: boolean;
|
|
40
|
+
readonly showType: "auto" | "hover" | "always" | "never";
|
|
41
|
+
readonly autoUpdateOnScrollSize: boolean;
|
|
42
|
+
readonly wrapClass?: string | {
|
|
43
|
+
[k: string]: boolean;
|
|
44
|
+
} | (string | {
|
|
45
|
+
[k: string]: boolean;
|
|
46
|
+
})[] | undefined;
|
|
47
|
+
readonly barClass?: string | {
|
|
48
|
+
[k: string]: boolean;
|
|
49
|
+
} | (string | {
|
|
50
|
+
[k: string]: boolean;
|
|
51
|
+
})[] | undefined;
|
|
52
|
+
readonly onScroll?: ((event: Event) => any) | undefined | undefined;
|
|
53
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "size" | "duration" | "disabledX" | "disabledY" | "showType" | "autoUpdateOnScrollSize">;
|
|
54
|
+
$attrs: import('vue').Attrs;
|
|
55
|
+
$refs: {
|
|
56
|
+
[x: string]: unknown;
|
|
57
|
+
} & {
|
|
58
|
+
targetRef: HTMLDivElement;
|
|
59
|
+
};
|
|
60
|
+
$slots: Readonly<{
|
|
61
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
62
|
+
}>;
|
|
63
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
64
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
65
|
+
$host: Element | null;
|
|
66
|
+
$emit: (event: "scroll", event: Event) => void;
|
|
67
|
+
$el: HTMLDivElement;
|
|
68
|
+
$options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
69
|
+
wrapClass: {
|
|
70
|
+
type: import('vue').PropType<string | {
|
|
71
|
+
[k: string]: boolean;
|
|
72
|
+
} | Array<{
|
|
73
|
+
[k: string]: boolean;
|
|
74
|
+
} | string>>;
|
|
75
|
+
};
|
|
76
|
+
disabledX: {
|
|
77
|
+
type: BooleanConstructor;
|
|
78
|
+
required: false;
|
|
79
|
+
};
|
|
80
|
+
disabledY: {
|
|
81
|
+
type: BooleanConstructor;
|
|
82
|
+
};
|
|
83
|
+
duration: {
|
|
84
|
+
type: NumberConstructor;
|
|
85
|
+
default: number;
|
|
86
|
+
};
|
|
87
|
+
showType: {
|
|
88
|
+
type: import('vue').PropType<"auto" | "always" | "hover" | "never">;
|
|
89
|
+
default: string;
|
|
90
|
+
};
|
|
91
|
+
size: {
|
|
92
|
+
type: import('vue').PropType<import('@opensig/opendesign').ScrollerSizeT>;
|
|
93
|
+
default: string;
|
|
94
|
+
};
|
|
95
|
+
autoUpdateOnScrollSize: {
|
|
96
|
+
type: BooleanConstructor;
|
|
97
|
+
};
|
|
98
|
+
barClass: {
|
|
99
|
+
type: import('vue').PropType<string | {
|
|
100
|
+
[k: string]: boolean;
|
|
101
|
+
} | Array<{
|
|
102
|
+
[k: string]: boolean;
|
|
103
|
+
} | string>>;
|
|
104
|
+
};
|
|
105
|
+
}>> & Readonly<{
|
|
106
|
+
onScroll?: ((event: Event) => any) | undefined;
|
|
107
|
+
}>, {
|
|
108
|
+
scrollTo: (options?: ScrollToOptions | undefined) => void;
|
|
109
|
+
scrollBy: (options?: ScrollToOptions | undefined) => void;
|
|
110
|
+
getContainerEl(): HTMLElement | null;
|
|
111
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
112
|
+
scroll: (event: Event) => any;
|
|
113
|
+
}, string, {
|
|
114
|
+
size: "medium" | "small";
|
|
115
|
+
duration: number;
|
|
116
|
+
disabledX: boolean;
|
|
117
|
+
disabledY: boolean;
|
|
118
|
+
showType: "auto" | "always" | "never" | "hover";
|
|
119
|
+
autoUpdateOnScrollSize: boolean;
|
|
120
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
121
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
122
|
+
created?: (() => void) | (() => void)[];
|
|
123
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
124
|
+
mounted?: (() => void) | (() => void)[];
|
|
125
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
126
|
+
updated?: (() => void) | (() => void)[];
|
|
127
|
+
activated?: (() => void) | (() => void)[];
|
|
128
|
+
deactivated?: (() => void) | (() => void)[];
|
|
129
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
130
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
131
|
+
destroyed?: (() => void) | (() => void)[];
|
|
132
|
+
unmounted?: (() => void) | (() => void)[];
|
|
133
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
134
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
135
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
136
|
+
};
|
|
137
|
+
$forceUpdate: () => void;
|
|
138
|
+
$nextTick: typeof nextTick;
|
|
139
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
140
|
+
} & Readonly<{
|
|
141
|
+
size: "medium" | "small";
|
|
142
|
+
duration: number;
|
|
143
|
+
disabledX: boolean;
|
|
144
|
+
disabledY: boolean;
|
|
145
|
+
showType: "auto" | "always" | "never" | "hover";
|
|
146
|
+
autoUpdateOnScrollSize: boolean;
|
|
147
|
+
}> & Omit<Readonly<import('vue').ExtractPropTypes<{
|
|
148
|
+
wrapClass: {
|
|
149
|
+
type: import('vue').PropType<string | {
|
|
150
|
+
[k: string]: boolean;
|
|
151
|
+
} | Array<{
|
|
152
|
+
[k: string]: boolean;
|
|
153
|
+
} | string>>;
|
|
154
|
+
};
|
|
155
|
+
disabledX: {
|
|
156
|
+
type: BooleanConstructor;
|
|
157
|
+
required: false;
|
|
158
|
+
};
|
|
159
|
+
disabledY: {
|
|
160
|
+
type: BooleanConstructor;
|
|
161
|
+
};
|
|
162
|
+
duration: {
|
|
163
|
+
type: NumberConstructor;
|
|
164
|
+
default: number;
|
|
165
|
+
};
|
|
166
|
+
showType: {
|
|
167
|
+
type: import('vue').PropType<"auto" | "always" | "hover" | "never">;
|
|
168
|
+
default: string;
|
|
169
|
+
};
|
|
170
|
+
size: {
|
|
171
|
+
type: import('vue').PropType<import('@opensig/opendesign').ScrollerSizeT>;
|
|
172
|
+
default: string;
|
|
173
|
+
};
|
|
174
|
+
autoUpdateOnScrollSize: {
|
|
175
|
+
type: BooleanConstructor;
|
|
176
|
+
};
|
|
177
|
+
barClass: {
|
|
178
|
+
type: import('vue').PropType<string | {
|
|
179
|
+
[k: string]: boolean;
|
|
180
|
+
} | Array<{
|
|
181
|
+
[k: string]: boolean;
|
|
182
|
+
} | string>>;
|
|
183
|
+
};
|
|
184
|
+
}>> & Readonly<{
|
|
185
|
+
onScroll?: ((event: Event) => any) | undefined;
|
|
186
|
+
}>, "size" | "scrollTo" | "duration" | "disabledX" | "disabledY" | "showType" | "autoUpdateOnScrollSize" | "scrollBy" | "getContainerEl"> & {
|
|
187
|
+
scrollTo: (options?: ScrollToOptions | undefined) => void;
|
|
188
|
+
scrollBy: (options?: ScrollToOptions | undefined) => void;
|
|
189
|
+
getContainerEl: () => HTMLElement | null;
|
|
190
|
+
} & {} & import('vue').ComponentCustomProperties & {} & {
|
|
191
|
+
$slots: Readonly<{
|
|
192
|
+
default?(): any;
|
|
193
|
+
thumb?(props: import('@opensig/opendesign').ScrollbarSlotProps): any;
|
|
194
|
+
track?(props: import('@opensig/opendesign').ScrollbarSlotProps): any;
|
|
195
|
+
}> & {
|
|
196
|
+
default?(): any;
|
|
197
|
+
thumb?(props: import('@opensig/opendesign').ScrollbarSlotProps): any;
|
|
198
|
+
track?(props: import('@opensig/opendesign').ScrollbarSlotProps): any;
|
|
199
|
+
};
|
|
200
|
+
}) | null;
|
|
201
|
+
};
|
|
24
202
|
rootEl: HTMLDivElement;
|
|
25
203
|
};
|
|
26
204
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
@@ -36,7 +214,184 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
36
214
|
tabs: import('../../index').CommunityUpdatesTabT[];
|
|
37
215
|
moreHref: string;
|
|
38
216
|
moreText: string;
|
|
39
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
217
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
218
|
+
scrollerRef: ({
|
|
219
|
+
$: import('vue').ComponentInternalInstance;
|
|
220
|
+
$data: {};
|
|
221
|
+
$props: Partial<{
|
|
222
|
+
size: "medium" | "small";
|
|
223
|
+
duration: number;
|
|
224
|
+
disabledX: boolean;
|
|
225
|
+
disabledY: boolean;
|
|
226
|
+
showType: "auto" | "always" | "never" | "hover";
|
|
227
|
+
autoUpdateOnScrollSize: boolean;
|
|
228
|
+
}> & Omit<{
|
|
229
|
+
readonly size: "small" | "medium";
|
|
230
|
+
readonly duration: number;
|
|
231
|
+
readonly disabledX: boolean;
|
|
232
|
+
readonly disabledY: boolean;
|
|
233
|
+
readonly showType: "auto" | "hover" | "always" | "never";
|
|
234
|
+
readonly autoUpdateOnScrollSize: boolean;
|
|
235
|
+
readonly wrapClass?: string | {
|
|
236
|
+
[k: string]: boolean;
|
|
237
|
+
} | (string | {
|
|
238
|
+
[k: string]: boolean;
|
|
239
|
+
})[] | undefined;
|
|
240
|
+
readonly barClass?: string | {
|
|
241
|
+
[k: string]: boolean;
|
|
242
|
+
} | (string | {
|
|
243
|
+
[k: string]: boolean;
|
|
244
|
+
})[] | undefined;
|
|
245
|
+
readonly onScroll?: ((event: Event) => any) | undefined | undefined;
|
|
246
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "size" | "duration" | "disabledX" | "disabledY" | "showType" | "autoUpdateOnScrollSize">;
|
|
247
|
+
$attrs: import('vue').Attrs;
|
|
248
|
+
$refs: {
|
|
249
|
+
[x: string]: unknown;
|
|
250
|
+
} & {
|
|
251
|
+
targetRef: HTMLDivElement;
|
|
252
|
+
};
|
|
253
|
+
$slots: Readonly<{
|
|
254
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
255
|
+
}>;
|
|
256
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
257
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
258
|
+
$host: Element | null;
|
|
259
|
+
$emit: (event: "scroll", event: Event) => void;
|
|
260
|
+
$el: HTMLDivElement;
|
|
261
|
+
$options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
262
|
+
wrapClass: {
|
|
263
|
+
type: import('vue').PropType<string | {
|
|
264
|
+
[k: string]: boolean;
|
|
265
|
+
} | Array<{
|
|
266
|
+
[k: string]: boolean;
|
|
267
|
+
} | string>>;
|
|
268
|
+
};
|
|
269
|
+
disabledX: {
|
|
270
|
+
type: BooleanConstructor;
|
|
271
|
+
required: false;
|
|
272
|
+
};
|
|
273
|
+
disabledY: {
|
|
274
|
+
type: BooleanConstructor;
|
|
275
|
+
};
|
|
276
|
+
duration: {
|
|
277
|
+
type: NumberConstructor;
|
|
278
|
+
default: number;
|
|
279
|
+
};
|
|
280
|
+
showType: {
|
|
281
|
+
type: import('vue').PropType<"auto" | "always" | "hover" | "never">;
|
|
282
|
+
default: string;
|
|
283
|
+
};
|
|
284
|
+
size: {
|
|
285
|
+
type: import('vue').PropType<import('@opensig/opendesign').ScrollerSizeT>;
|
|
286
|
+
default: string;
|
|
287
|
+
};
|
|
288
|
+
autoUpdateOnScrollSize: {
|
|
289
|
+
type: BooleanConstructor;
|
|
290
|
+
};
|
|
291
|
+
barClass: {
|
|
292
|
+
type: import('vue').PropType<string | {
|
|
293
|
+
[k: string]: boolean;
|
|
294
|
+
} | Array<{
|
|
295
|
+
[k: string]: boolean;
|
|
296
|
+
} | string>>;
|
|
297
|
+
};
|
|
298
|
+
}>> & Readonly<{
|
|
299
|
+
onScroll?: ((event: Event) => any) | undefined;
|
|
300
|
+
}>, {
|
|
301
|
+
scrollTo: (options?: ScrollToOptions | undefined) => void;
|
|
302
|
+
scrollBy: (options?: ScrollToOptions | undefined) => void;
|
|
303
|
+
getContainerEl(): HTMLElement | null;
|
|
304
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
305
|
+
scroll: (event: Event) => any;
|
|
306
|
+
}, string, {
|
|
307
|
+
size: "medium" | "small";
|
|
308
|
+
duration: number;
|
|
309
|
+
disabledX: boolean;
|
|
310
|
+
disabledY: boolean;
|
|
311
|
+
showType: "auto" | "always" | "never" | "hover";
|
|
312
|
+
autoUpdateOnScrollSize: boolean;
|
|
313
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
314
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
315
|
+
created?: (() => void) | (() => void)[];
|
|
316
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
317
|
+
mounted?: (() => void) | (() => void)[];
|
|
318
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
319
|
+
updated?: (() => void) | (() => void)[];
|
|
320
|
+
activated?: (() => void) | (() => void)[];
|
|
321
|
+
deactivated?: (() => void) | (() => void)[];
|
|
322
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
323
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
324
|
+
destroyed?: (() => void) | (() => void)[];
|
|
325
|
+
unmounted?: (() => void) | (() => void)[];
|
|
326
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
327
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
328
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
329
|
+
};
|
|
330
|
+
$forceUpdate: () => void;
|
|
331
|
+
$nextTick: typeof nextTick;
|
|
332
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
333
|
+
} & Readonly<{
|
|
334
|
+
size: "medium" | "small";
|
|
335
|
+
duration: number;
|
|
336
|
+
disabledX: boolean;
|
|
337
|
+
disabledY: boolean;
|
|
338
|
+
showType: "auto" | "always" | "never" | "hover";
|
|
339
|
+
autoUpdateOnScrollSize: boolean;
|
|
340
|
+
}> & Omit<Readonly<import('vue').ExtractPropTypes<{
|
|
341
|
+
wrapClass: {
|
|
342
|
+
type: import('vue').PropType<string | {
|
|
343
|
+
[k: string]: boolean;
|
|
344
|
+
} | Array<{
|
|
345
|
+
[k: string]: boolean;
|
|
346
|
+
} | string>>;
|
|
347
|
+
};
|
|
348
|
+
disabledX: {
|
|
349
|
+
type: BooleanConstructor;
|
|
350
|
+
required: false;
|
|
351
|
+
};
|
|
352
|
+
disabledY: {
|
|
353
|
+
type: BooleanConstructor;
|
|
354
|
+
};
|
|
355
|
+
duration: {
|
|
356
|
+
type: NumberConstructor;
|
|
357
|
+
default: number;
|
|
358
|
+
};
|
|
359
|
+
showType: {
|
|
360
|
+
type: import('vue').PropType<"auto" | "always" | "hover" | "never">;
|
|
361
|
+
default: string;
|
|
362
|
+
};
|
|
363
|
+
size: {
|
|
364
|
+
type: import('vue').PropType<import('@opensig/opendesign').ScrollerSizeT>;
|
|
365
|
+
default: string;
|
|
366
|
+
};
|
|
367
|
+
autoUpdateOnScrollSize: {
|
|
368
|
+
type: BooleanConstructor;
|
|
369
|
+
};
|
|
370
|
+
barClass: {
|
|
371
|
+
type: import('vue').PropType<string | {
|
|
372
|
+
[k: string]: boolean;
|
|
373
|
+
} | Array<{
|
|
374
|
+
[k: string]: boolean;
|
|
375
|
+
} | string>>;
|
|
376
|
+
};
|
|
377
|
+
}>> & Readonly<{
|
|
378
|
+
onScroll?: ((event: Event) => any) | undefined;
|
|
379
|
+
}>, "size" | "scrollTo" | "duration" | "disabledX" | "disabledY" | "showType" | "autoUpdateOnScrollSize" | "scrollBy" | "getContainerEl"> & {
|
|
380
|
+
scrollTo: (options?: ScrollToOptions | undefined) => void;
|
|
381
|
+
scrollBy: (options?: ScrollToOptions | undefined) => void;
|
|
382
|
+
getContainerEl: () => HTMLElement | null;
|
|
383
|
+
} & {} & import('vue').ComponentCustomProperties & {} & {
|
|
384
|
+
$slots: Readonly<{
|
|
385
|
+
default?(): any;
|
|
386
|
+
thumb?(props: import('@opensig/opendesign').ScrollbarSlotProps): any;
|
|
387
|
+
track?(props: import('@opensig/opendesign').ScrollbarSlotProps): any;
|
|
388
|
+
}> & {
|
|
389
|
+
default?(): any;
|
|
390
|
+
thumb?(props: import('@opensig/opendesign').ScrollbarSlotProps): any;
|
|
391
|
+
track?(props: import('@opensig/opendesign').ScrollbarSlotProps): any;
|
|
392
|
+
};
|
|
393
|
+
}) | null;
|
|
394
|
+
}, HTMLDivElement>;
|
|
40
395
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
41
396
|
export default _default;
|
|
42
397
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useI18n } from "../../i18n/index.mjs";
|
|
2
2
|
import icon_chevron_right_default from "../../_virtual/~icons/components/icon-chevron-right.mjs";
|
|
3
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";
|
|
4
|
+
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, mergeModels, nextTick, normalizeClass, openBlock, ref, renderList, renderSlot, toDisplayString, unref, useModel, watch, withCtx } from "vue";
|
|
5
5
|
import { OIcon, OLink, OScroller, OTab, OTabPane } from "@opensig/opendesign";
|
|
6
6
|
import { useScreen } from "@opendesign-plus/composables";
|
|
7
7
|
// src/components/community-updates/OCommunityUpdates.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -33,6 +33,11 @@ var OCommunityUpdates_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*
|
|
|
33
33
|
activeTab.value = key;
|
|
34
34
|
emit("tab-change", key);
|
|
35
35
|
};
|
|
36
|
+
const scrollerRef = ref();
|
|
37
|
+
watch(effectiveTab, async () => {
|
|
38
|
+
await nextTick();
|
|
39
|
+
scrollerRef.value?.scrollTo({ left: 0 });
|
|
40
|
+
});
|
|
36
41
|
const items = computed(() => {
|
|
37
42
|
if (props.tabs.length && props.data && !Array.isArray(props.data)) return props.data[effectiveTab.value] ?? [];
|
|
38
43
|
return Array.isArray(props.data) ? props.data : [];
|
|
@@ -59,6 +64,8 @@ var OCommunityUpdates_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*
|
|
|
59
64
|
}, 8, ["model-value"])) : createCommentVNode("", true),
|
|
60
65
|
items.value.length ? (openBlock(), createBlock(unref(OScroller), {
|
|
61
66
|
key: 1,
|
|
67
|
+
ref_key: "scrollerRef",
|
|
68
|
+
ref: scrollerRef,
|
|
62
69
|
class: normalizeClass(["o-community-updates__scroller", { le4: items.value.length <= 3 }]),
|
|
63
70
|
"disabled-y": "",
|
|
64
71
|
"show-type": items.value.length <= 3 || unref(isPhone) ? "never" : "always",
|
|
@@ -1,54 +1,55 @@
|
|
|
1
|
-
.hover-icon-rotate .o-icon[data-v-
|
|
1
|
+
.hover-icon-rotate .o-icon[data-v-cdd7bf86] {
|
|
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-cdd7bf86] {
|
|
6
6
|
transform: rotate(-180deg);
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
|
-
.o-community-updates__tab[data-v-
|
|
9
|
+
.o-community-updates__tab[data-v-cdd7bf86] .o-tab-nav-list {
|
|
10
10
|
--tab-nav-gap: 32px;
|
|
11
11
|
}
|
|
12
12
|
@media (max-width: 1680px) {
|
|
13
|
-
.o-community-updates__tab[data-v-
|
|
13
|
+
.o-community-updates__tab[data-v-cdd7bf86] .o-tab-nav-list {
|
|
14
14
|
--tab-nav-gap: 24px;
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
17
|
@media (max-width: 840px) {
|
|
18
|
-
.o-community-updates__tab[data-v-
|
|
18
|
+
.o-community-updates__tab[data-v-cdd7bf86] .o-tab-nav-list {
|
|
19
19
|
--tab-nav-gap: 16px;
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
|
-
.o-community-updates__scroller[data-v-
|
|
22
|
+
.o-community-updates__scroller[data-v-cdd7bf86] .o-scroller-container {
|
|
23
23
|
padding: 0 12px;
|
|
24
24
|
margin: 0 -12px;
|
|
25
25
|
}
|
|
26
|
-
.o-community-updates__scroller[data-v-
|
|
26
|
+
.o-community-updates__scroller[data-v-cdd7bf86] .o-scrollbar {
|
|
27
27
|
--scrollbar-height: 100%;
|
|
28
28
|
}
|
|
29
|
-
.o-community-updates__scroller.le4[data-v-
|
|
29
|
+
.o-community-updates__scroller.le4[data-v-cdd7bf86] .o-scroller-container {
|
|
30
30
|
padding: 0 26px;
|
|
31
31
|
margin: 0 -26px;
|
|
32
32
|
}
|
|
33
|
-
|
|
33
|
+
@media (max-width: 840px) {
|
|
34
|
+
.o-community-updates__scroller.le4[data-v-cdd7bf86] .o-scroller-container {
|
|
35
|
+
padding: 0 12px;
|
|
36
|
+
margin: 0 -12px;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
.o-community-updates__scroller.le4 .o-community-updates__list[data-v-cdd7bf86] {
|
|
34
40
|
display: grid;
|
|
35
41
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
36
42
|
gap: var(--grid-column-gutter);
|
|
37
43
|
}
|
|
38
|
-
@media (max-width: 840px) {
|
|
39
|
-
.o-community-updates__scroller.le4 .o-community-updates__list[data-v-b7cafb2f] {
|
|
40
|
-
grid-template-columns: repeat(3, minmax(215px, 1fr));
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
44
|
@media (max-width: 600px) {
|
|
44
|
-
.o-community-updates__scroller.le4 .o-community-updates__list[data-v-
|
|
45
|
+
.o-community-updates__scroller.le4 .o-community-updates__list[data-v-cdd7bf86] {
|
|
45
46
|
grid-template-columns: repeat(3, minmax(150px, 1fr));
|
|
46
47
|
}
|
|
47
48
|
}
|
|
48
|
-
.o-community-updates__scroller.le4 .o-community-updates__item[data-v-
|
|
49
|
+
.o-community-updates__scroller.le4 .o-community-updates__item[data-v-cdd7bf86] {
|
|
49
50
|
flex: none;
|
|
50
51
|
}
|
|
51
|
-
.o-community-updates__list[data-v-
|
|
52
|
+
.o-community-updates__list[data-v-cdd7bf86] {
|
|
52
53
|
display: flex;
|
|
53
54
|
align-items: stretch;
|
|
54
55
|
flex-wrap: nowrap;
|
|
@@ -59,35 +60,35 @@
|
|
|
59
60
|
box-sizing: border-box;
|
|
60
61
|
}
|
|
61
62
|
@media (max-width: 1680px) {
|
|
62
|
-
.o-community-updates__list[data-v-
|
|
63
|
+
.o-community-updates__list[data-v-cdd7bf86] {
|
|
63
64
|
padding-top: 16px;
|
|
64
65
|
padding-bottom: 24px;
|
|
65
66
|
}
|
|
66
67
|
}
|
|
67
68
|
@media (max-width: 1200px) {
|
|
68
|
-
.o-community-updates__list[data-v-
|
|
69
|
+
.o-community-updates__list[data-v-cdd7bf86] {
|
|
69
70
|
padding-top: 12px;
|
|
70
71
|
padding-bottom: 16px;
|
|
71
72
|
}
|
|
72
73
|
}
|
|
73
74
|
@media (max-width: 840px) {
|
|
74
|
-
.o-community-updates__list[data-v-
|
|
75
|
+
.o-community-updates__list[data-v-cdd7bf86] {
|
|
75
76
|
padding-bottom: 12px;
|
|
76
77
|
}
|
|
77
78
|
}
|
|
78
|
-
.o-community-updates__list[data-v-
|
|
79
|
+
.o-community-updates__list[data-v-cdd7bf86]::after {
|
|
79
80
|
content: "";
|
|
80
81
|
flex: 0 0 12px;
|
|
81
82
|
margin-left: calc(var(--grid-column-gutter) * -1);
|
|
82
83
|
}
|
|
83
|
-
.o-community-updates__scroller.le4 .o-community-updates__list[data-v-
|
|
84
|
+
.o-community-updates__scroller.le4 .o-community-updates__list[data-v-cdd7bf86]::after {
|
|
84
85
|
display: none;
|
|
85
86
|
}
|
|
86
|
-
.o-community-updates__item[data-v-
|
|
87
|
+
.o-community-updates__item[data-v-cdd7bf86] {
|
|
87
88
|
flex: 0 0 calc(33.33% - var(--grid-column-gutter) * 2 / 3);
|
|
88
89
|
min-width: 0;
|
|
89
90
|
}
|
|
90
|
-
.o-community-updates__more[data-v-
|
|
91
|
+
.o-community-updates__more[data-v-cdd7bf86] {
|
|
91
92
|
display: flex;
|
|
92
93
|
justify-content: center;
|
|
93
94
|
color: var(--o-color-info2);
|
|
@@ -96,41 +97,41 @@
|
|
|
96
97
|
line-height: 24px;
|
|
97
98
|
}
|
|
98
99
|
@media (min-width: 1201px) and (max-width: 1680px) {
|
|
99
|
-
.o-community-updates__more[data-v-
|
|
100
|
+
.o-community-updates__more[data-v-cdd7bf86] {
|
|
100
101
|
font-size: 14px;
|
|
101
102
|
line-height: 22px;
|
|
102
103
|
}
|
|
103
104
|
}
|
|
104
105
|
@media (min-width: 841px) and (max-width: 1200px) {
|
|
105
|
-
.o-community-updates__more[data-v-
|
|
106
|
+
.o-community-updates__more[data-v-cdd7bf86] {
|
|
106
107
|
font-size: 14px;
|
|
107
108
|
line-height: 22px;
|
|
108
109
|
}
|
|
109
110
|
}
|
|
110
111
|
@media (min-width: 601px) and (max-width: 840px) {
|
|
111
|
-
.o-community-updates__more[data-v-
|
|
112
|
+
.o-community-updates__more[data-v-cdd7bf86] {
|
|
112
113
|
font-size: 14px;
|
|
113
114
|
line-height: 22px;
|
|
114
115
|
}
|
|
115
116
|
}
|
|
116
117
|
@media (max-width: 600px) {
|
|
117
|
-
.o-community-updates__more[data-v-
|
|
118
|
+
.o-community-updates__more[data-v-cdd7bf86] {
|
|
118
119
|
font-size: 12px;
|
|
119
120
|
line-height: 18px;
|
|
120
121
|
}
|
|
121
122
|
}
|
|
122
|
-
.o-community-updates__more .o-community-updates__more-link[data-v-
|
|
123
|
+
.o-community-updates__more .o-community-updates__more-link[data-v-cdd7bf86] {
|
|
123
124
|
color: var(--o-color-info2);
|
|
124
125
|
}
|
|
125
126
|
@media (hover: hover) {
|
|
126
|
-
.o-community-updates__more .o-community-updates__more-link[data-v-
|
|
127
|
+
.o-community-updates__more .o-community-updates__more-link[data-v-cdd7bf86]:hover {
|
|
127
128
|
color: var(--o-color-link2);
|
|
128
129
|
}
|
|
129
130
|
}
|
|
130
|
-
.o-community-updates__more .more-icon[data-v-
|
|
131
|
+
.o-community-updates__more .more-icon[data-v-cdd7bf86] {
|
|
131
132
|
font-size: 16px;
|
|
132
133
|
height: 24px;
|
|
133
134
|
}
|
|
134
|
-
.o-community-updates__more.le4[data-v-
|
|
135
|
+
.o-community-updates__more.le4[data-v-cdd7bf86] {
|
|
135
136
|
margin-top: 0;
|
|
136
137
|
}
|