@opendesign-plus/components 0.0.1-rc.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunk-OElCookieNotice.cjs.js +1 -0
- package/dist/chunk-OElCookieNotice.es.js +833 -0
- package/dist/components/OBanner.vue.d.ts +11 -0
- package/dist/components/OCookieNotice.vue.d.ts +17 -0
- package/dist/components/OFooter.vue.d.ts +46 -0
- package/dist/components/OHeaderSearch.vue.d.ts +692 -0
- package/dist/components/OHeaderUser.vue.d.ts +38 -0
- package/dist/components/OPlusConfigProvider.vue.d.ts +23 -0
- package/dist/components/OSection.vue.d.ts +37 -0
- package/dist/components/OSourceCode.vue.d.ts +20 -0
- package/dist/components/OThemeSwitcher.vue.d.ts +28 -0
- package/dist/components/activity/OActivityApproval.vue.d.ts +277 -0
- package/dist/components/activity/OActivityForm.vue.d.ts +140 -0
- package/dist/components/activity/OMyActivityCalendar.vue.d.ts +578 -0
- package/dist/components/activity/config.d.ts +15 -0
- package/dist/components/activity/index.d.ts +623 -0
- package/dist/components/activity/types.d.ts +81 -0
- package/dist/components/element-plus/OElCookieNotice.vue.d.ts +34 -0
- package/dist/components/element-plus/index.d.ts +2 -0
- package/dist/components/events/OEventsApply.vue.d.ts +16 -0
- package/dist/components/events/OEventsCalendar.vue.d.ts +5 -0
- package/dist/components/events/OEventsList.vue.d.ts +26 -0
- package/dist/components/events/config.d.ts +27 -0
- package/dist/components/events/index.d.ts +78 -0
- package/dist/components/events/types.d.ts +66 -0
- package/dist/components/events/utils.d.ts +7 -0
- package/dist/components/header/OHeader.vue.d.ts +24 -0
- package/dist/components/header/OHeaderMoblie.vue.d.ts +33 -0
- package/dist/components/header/components/HeaderContent.vue.d.ts +6 -0
- package/dist/components/header/components/HeaderNav.vue.d.ts +7 -0
- package/dist/components/header/components/HeaderNavMoblie.vue.d.ts +17 -0
- package/dist/components/header/components/HeaderUbmcNav.vue.d.ts +2 -0
- package/dist/components/header/index.d.ts +22 -0
- package/dist/components/meeting/OMeetingCalendar.vue.d.ts +298 -0
- package/dist/components/meeting/OMeetingForm.vue.d.ts +145 -0
- package/dist/components/meeting/OMyMeetingCalendar.vue.d.ts +586 -0
- package/dist/components/meeting/OSigMeetingCalendar.vue.d.ts +24 -0
- package/dist/components/meeting/components/OMeetingCalendarList.vue.d.ts +28 -0
- package/dist/components/meeting/components/OMeetingCalendarSelector.vue.d.ts +664 -0
- package/dist/components/meeting/components/OMeetingDetail.vue.d.ts +12 -0
- package/dist/components/meeting/components/OMeetingPlaybackSubtitles.vue.d.ts +5 -0
- package/dist/components/meeting/components/OMeetingPlaybackVideo.vue.d.ts +17 -0
- package/dist/components/meeting/components/OSigMeetingAside.vue.d.ts +16 -0
- package/dist/components/meeting/config.d.ts +27 -0
- package/dist/components/meeting/types.d.ts +166 -0
- package/dist/components/meeting/utils.d.ts +22 -0
- package/dist/components.cjs.js +224 -0
- package/dist/components.css +1 -0
- package/dist/components.element.cjs.js +1 -0
- package/dist/components.element.es.js +4 -0
- package/dist/components.es.js +45054 -0
- package/dist/index.d.ts +19 -0
- package/docs/design.md +27 -0
- package/docs/design_banner.md +41 -0
- package/docs/design_section.md +27 -0
- package/package.json +56 -0
- package/scripts/generate-components-index.js +104 -0
- package/src/assets/events/svg-icons/icon-checked.svg +3 -0
- package/src/assets/events/svg-icons/icon-competition.svg +7 -0
- package/src/assets/events/svg-icons/icon-events.svg +4 -0
- package/src/assets/events/svg-icons/icon-release.svg +4 -0
- package/src/assets/events/svg-icons/icon-summit.svg +4 -0
- package/src/assets/meeting/svg-icons/icon-all.svg +3 -0
- package/src/assets/meeting/svg-icons/icon-backward.svg +4 -0
- package/src/assets/meeting/svg-icons/icon-calendar.svg +3 -0
- package/src/assets/meeting/svg-icons/icon-cancel.svg +4 -0
- package/src/assets/meeting/svg-icons/icon-captions.svg +4 -0
- package/src/assets/meeting/svg-icons/icon-close-captions.svg +6 -0
- package/src/assets/meeting/svg-icons/icon-close-fullscreen.svg +6 -0
- package/src/assets/meeting/svg-icons/icon-copy.svg +3 -0
- package/src/assets/meeting/svg-icons/icon-create.svg +5 -0
- package/src/assets/meeting/svg-icons/icon-delete.svg +7 -0
- package/src/assets/meeting/svg-icons/icon-empty.svg +31 -0
- package/src/assets/meeting/svg-icons/icon-empty_dark.svg +49 -0
- package/src/assets/meeting/svg-icons/icon-event.svg +3 -0
- package/src/assets/meeting/svg-icons/icon-export.svg +3 -0
- package/src/assets/meeting/svg-icons/icon-forward.svg +4 -0
- package/src/assets/meeting/svg-icons/icon-fullscreen.svg +6 -0
- package/src/assets/meeting/svg-icons/icon-help.svg +3 -0
- package/src/assets/meeting/svg-icons/icon-important.svg +4 -0
- package/src/assets/meeting/svg-icons/icon-info.svg +3 -0
- package/src/assets/meeting/svg-icons/icon-meet.svg +3 -0
- package/src/assets/meeting/svg-icons/icon-meeting-message.svg +5 -0
- package/src/assets/meeting/svg-icons/icon-meeting.svg +4 -0
- package/src/assets/meeting/svg-icons/icon-play.svg +5 -0
- package/src/assets/meeting/svg-icons/icon-playing-tip.svg +7 -0
- package/src/assets/meeting/svg-icons/icon-playing.svg +5 -0
- package/src/assets/meeting/svg-icons/icon-question.svg +4 -0
- package/src/assets/meeting/svg-icons/icon-sound.svg +5 -0
- package/src/assets/meeting/svg-icons/icon-speaker.svg +3 -0
- package/src/assets/meeting/svg-icons/icon-summit.svg +3 -0
- package/src/assets/meeting/svg-icons/icon-telligent.svg +3 -0
- package/src/assets/meeting/svg-icons/icon-tip.svg +3 -0
- package/src/assets/meeting/svg-icons/icon-todo.svg +4 -0
- package/src/assets/meeting/transparent.png +0 -0
- package/src/assets/svg-icons/icon-arrow-left.svg +3 -0
- package/src/assets/svg-icons/icon-avatar-line.svg +3 -0
- package/src/assets/svg-icons/icon-caret-left.svg +3 -0
- package/src/assets/svg-icons/icon-caret-right.svg +3 -0
- package/src/assets/svg-icons/icon-chevron-down.svg +3 -0
- package/src/assets/svg-icons/icon-chevron-right.svg +3 -0
- package/src/assets/svg-icons/icon-chevron-up.svg +3 -0
- package/src/assets/svg-icons/icon-close.svg +3 -0
- package/src/assets/svg-icons/icon-delete.svg +3 -0
- package/src/assets/svg-icons/icon-filter.svg +3 -0
- package/src/assets/svg-icons/icon-header-back.svg +3 -0
- package/src/assets/svg-icons/icon-header-delete.svg +3 -0
- package/src/assets/svg-icons/icon-header-menu.svg +3 -0
- package/src/assets/svg-icons/icon-header-person.svg +3 -0
- package/src/assets/svg-icons/icon-header-search.svg +4 -0
- package/src/assets/svg-icons/icon-loading.svg +4 -0
- package/src/assets/svg-icons/icon-locale.svg +3 -0
- package/src/assets/svg-icons/icon-log-off.svg +3 -0
- package/src/assets/svg-icons/icon-message.svg +3 -0
- package/src/assets/svg-icons/icon-moon.svg +3 -0
- package/src/assets/svg-icons/icon-outlink.svg +3 -0
- package/src/assets/svg-icons/icon-overview.svg +3 -0
- package/src/assets/svg-icons/icon-search.svg +3 -0
- package/src/assets/svg-icons/icon-setting.svg +3 -0
- package/src/assets/svg-icons/icon-sun.svg +3 -0
- package/src/assets/svg-icons/icon-tips.svg +3 -0
- package/src/components/OBanner.vue +398 -0
- package/src/components/OCookieNotice.vue +575 -0
- package/src/components/OFooter.vue +576 -0
- package/src/components/OHeaderSearch.vue +601 -0
- package/src/components/OHeaderUser.vue +237 -0
- package/src/components/OPlusConfigProvider.vue +32 -0
- package/src/components/OSection.vue +178 -0
- package/src/components/OSourceCode.vue +153 -0
- package/src/components/OThemeSwitcher.vue +108 -0
- package/src/components/activity/OActivityApproval.vue +871 -0
- package/src/components/activity/OActivityForm.vue +548 -0
- package/src/components/activity/OMyActivityCalendar.vue +1501 -0
- package/src/components/activity/config.ts +141 -0
- package/src/components/activity/index.ts +24 -0
- package/src/components/activity/types.ts +88 -0
- package/src/components/common/AppAvatar.vue +83 -0
- package/src/components/common/ClientOnlyWrapper.ts +21 -0
- package/src/components/common/ContentWrapper.vue +85 -0
- package/src/components/common/MoreText.vue +124 -0
- package/src/components/common/ThFilter.vue +330 -0
- package/src/components/element-plus/OElCookieNotice.vue +603 -0
- package/src/components/element-plus/index.ts +3 -0
- package/src/components/events/OEventsApply.vue +419 -0
- package/src/components/events/OEventsCalendar.vue +588 -0
- package/src/components/events/OEventsList.vue +354 -0
- package/src/components/events/config.ts +35 -0
- package/src/components/events/index.ts +24 -0
- package/src/components/events/types.ts +80 -0
- package/src/components/events/utils.ts +9 -0
- package/src/components/header/OHeader.vue +175 -0
- package/src/components/header/OHeaderMoblie.vue +152 -0
- package/src/components/header/components/HeaderContent.vue +942 -0
- package/src/components/header/components/HeaderNav.vue +280 -0
- package/src/components/header/components/HeaderNavMoblie.vue +346 -0
- package/src/components/header/components/HeaderUbmcNav.vue +540 -0
- package/src/components/header/index.ts +16 -0
- package/src/components/meeting/OMeetingCalendar.vue +900 -0
- package/src/components/meeting/OMeetingForm.vue +1041 -0
- package/src/components/meeting/OMeetingPlayback.vue +439 -0
- package/src/components/meeting/OMyMeetingCalendar.vue +1502 -0
- package/src/components/meeting/OSigMeetingCalendar.vue +411 -0
- package/src/components/meeting/components/OMeetingCalendarList.vue +505 -0
- package/src/components/meeting/components/OMeetingCalendarSelector.vue +206 -0
- package/src/components/meeting/components/OMeetingDetail.vue +227 -0
- package/src/components/meeting/components/OMeetingPlaybackSubtitles.vue +611 -0
- package/src/components/meeting/components/OMeetingPlaybackVideo.vue +741 -0
- package/src/components/meeting/components/OSigMeetingAside.vue +197 -0
- package/src/components/meeting/config.ts +121 -0
- package/src/components/meeting/index.ts +45 -0
- package/src/components/meeting/types.ts +193 -0
- package/src/components/meeting/utils.ts +123 -0
- package/src/draft/Banner.vue +265 -0
- package/src/draft/ButtonCards.vue +106 -0
- package/src/draft/Feature.vue +134 -0
- package/src/draft/Footer.vue +512 -0
- package/src/draft/HorizontalAnchor.vue +165 -0
- package/src/draft/ItemSwiper.vue +133 -0
- package/src/draft/Logo.vue +141 -0
- package/src/draft/LogoCard.vue +75 -0
- package/src/draft/LogoV2.vue +19 -0
- package/src/draft/MainCard.vue +38 -0
- package/src/draft/MultiCard.vue +95 -0
- package/src/draft/MultiIconCard.vue +74 -0
- package/src/draft/OInfoCard.vue +176 -0
- package/src/draft/Process.vue +81 -0
- package/src/draft/Section.vue +167 -0
- package/src/draft/SingleTabCard.vue +85 -0
- package/src/draft/SliderCard.vue +110 -0
- package/src/env.d.ts +16 -0
- package/src/i18n/en.ts +261 -0
- package/src/i18n/index.ts +56 -0
- package/src/i18n/zh.ts +250 -0
- package/src/index.ts +45 -0
- package/src/shared/provide.ts +6 -0
- package/src/shims-vue-dompurify-html.d.ts +17 -0
- package/src/vue.d.ts +10 -0
- package/tsconfig.json +37 -0
- package/vite.config.ts +118 -0
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
export interface ParamsItemT {
|
|
2
|
+
id?: number;
|
|
3
|
+
title: string;
|
|
4
|
+
start_date: string;
|
|
5
|
+
end_date: string;
|
|
6
|
+
register_end_date: string;
|
|
7
|
+
activity_type: string | number;
|
|
8
|
+
synopsis: string;
|
|
9
|
+
register_url: string;
|
|
10
|
+
content_url: string;
|
|
11
|
+
address: string;
|
|
12
|
+
start: string;
|
|
13
|
+
end: string;
|
|
14
|
+
schedules?: string;
|
|
15
|
+
is_publish: string;
|
|
16
|
+
update_activity_id?: string;
|
|
17
|
+
email_list?: string;
|
|
18
|
+
organizer?: string;
|
|
19
|
+
approver: string;
|
|
20
|
+
}
|
|
21
|
+
export interface ActivityFormPropsT {
|
|
22
|
+
data?: ParamsItemT;
|
|
23
|
+
creatActivity: any;
|
|
24
|
+
editActivity: any;
|
|
25
|
+
admins: string[];
|
|
26
|
+
organizers: {
|
|
27
|
+
id: number;
|
|
28
|
+
name: string;
|
|
29
|
+
}[];
|
|
30
|
+
}
|
|
31
|
+
export interface TypeOptionT {
|
|
32
|
+
label: string;
|
|
33
|
+
value: number;
|
|
34
|
+
}
|
|
35
|
+
export interface ActivityItemT {
|
|
36
|
+
activity_mode: number;
|
|
37
|
+
activity_type: number;
|
|
38
|
+
address: string;
|
|
39
|
+
approver: string;
|
|
40
|
+
approve_record: object;
|
|
41
|
+
start_date: string;
|
|
42
|
+
end: string;
|
|
43
|
+
end_date: string;
|
|
44
|
+
id: number;
|
|
45
|
+
is_delete: number;
|
|
46
|
+
live_address: string;
|
|
47
|
+
register_end_date: string;
|
|
48
|
+
register_url: string;
|
|
49
|
+
start: string;
|
|
50
|
+
status: number;
|
|
51
|
+
synopsis: string;
|
|
52
|
+
title: string;
|
|
53
|
+
update_activity_id: number;
|
|
54
|
+
user: string;
|
|
55
|
+
}
|
|
56
|
+
export interface ReviewParamsT {
|
|
57
|
+
page: number;
|
|
58
|
+
size: number;
|
|
59
|
+
status: string;
|
|
60
|
+
activity_mode?: string;
|
|
61
|
+
is_delete?: number;
|
|
62
|
+
search: string;
|
|
63
|
+
sponsor: string;
|
|
64
|
+
order_by: string;
|
|
65
|
+
}
|
|
66
|
+
export interface ActivityTablePropsT {
|
|
67
|
+
getTableDataRequest: any;
|
|
68
|
+
applicantList: string[];
|
|
69
|
+
cancelActivityRequest: any;
|
|
70
|
+
deleteActivityRequest: any;
|
|
71
|
+
approveActivityRequest: any;
|
|
72
|
+
rejectActivityRequest: any;
|
|
73
|
+
getActivityDetailRequest: any;
|
|
74
|
+
}
|
|
75
|
+
export interface MyActivityCalendarPropsT {
|
|
76
|
+
getListRequest: any;
|
|
77
|
+
revokeActivityRequest: any;
|
|
78
|
+
deleteActivityRequest: any;
|
|
79
|
+
editActivityRequest: any;
|
|
80
|
+
getActivityDetailRequest: any;
|
|
81
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
visible?: boolean;
|
|
3
|
+
community: string;
|
|
4
|
+
detailUrl: string;
|
|
5
|
+
wrapper?: string | HTMLElement;
|
|
6
|
+
cookieDomain: string;
|
|
7
|
+
};
|
|
8
|
+
declare function __VLS_template(): {
|
|
9
|
+
attrs: Partial<{}>;
|
|
10
|
+
slots: {
|
|
11
|
+
'close-icon'?(_: {}): any;
|
|
12
|
+
};
|
|
13
|
+
refs: {
|
|
14
|
+
cookieNoticeRef: HTMLDivElement;
|
|
15
|
+
};
|
|
16
|
+
rootEl: any;
|
|
17
|
+
};
|
|
18
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
19
|
+
declare const __VLS_component: import('../../../vue/dist/vue.esm-bundler.js').DefineComponent<__VLS_Props, {
|
|
20
|
+
check(): void;
|
|
21
|
+
}, {}, {}, {}, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {} & {
|
|
22
|
+
"update:visible": (value: boolean) => any;
|
|
23
|
+
}, string, import('../../../vue/dist/vue.esm-bundler.js').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
24
|
+
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
|
|
25
|
+
}>, {}, {}, {}, {}, string, import('../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, false, {
|
|
26
|
+
cookieNoticeRef: HTMLDivElement;
|
|
27
|
+
}, any>;
|
|
28
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
29
|
+
export default _default;
|
|
30
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
31
|
+
new (): {
|
|
32
|
+
$slots: S;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { EventsApplyPropsT } from './types.ts';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: Partial<Record<`step${number}`, (_: {}) => any>>;
|
|
5
|
+
refs: {};
|
|
6
|
+
rootEl: HTMLDivElement;
|
|
7
|
+
};
|
|
8
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
9
|
+
declare const __VLS_component: import('../../../vue/dist/vue.esm-bundler.js').DefineComponent<EventsApplyPropsT, {}, {}, {}, {}, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {}, string, import('../../../vue/dist/vue.esm-bundler.js').PublicProps, Readonly<EventsApplyPropsT> & Readonly<{}>, {}, {}, {}, {}, string, import('../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
10
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
11
|
+
export default _default;
|
|
12
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
13
|
+
new (): {
|
|
14
|
+
$slots: S;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { CalendarItemT, EventsCalendarPropsT } from './types';
|
|
2
|
+
declare const _default: import('../../../vue/dist/vue.esm-bundler.js').DefineComponent<EventsCalendarPropsT, {}, {}, {}, {}, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {}, string, import('../../../vue/dist/vue.esm-bundler.js').PublicProps, Readonly<EventsCalendarPropsT> & Readonly<{}>, {
|
|
3
|
+
data: CalendarItemT[];
|
|
4
|
+
}, {}, {}, {}, string, import('../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { EventsCardItemT, EventsListPropsT, SearchParamsT } from './types';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: Readonly<{
|
|
5
|
+
empty?: () => any;
|
|
6
|
+
}> & {
|
|
7
|
+
empty?: () => any;
|
|
8
|
+
};
|
|
9
|
+
refs: {};
|
|
10
|
+
rootEl: HTMLDivElement;
|
|
11
|
+
};
|
|
12
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
|
+
declare const __VLS_component: import('../../../vue/dist/vue.esm-bundler.js').DefineComponent<EventsListPropsT, {}, {}, {}, {}, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {} & {
|
|
14
|
+
search: (params: SearchParamsT) => any;
|
|
15
|
+
}, string, import('../../../vue/dist/vue.esm-bundler.js').PublicProps, Readonly<EventsListPropsT> & Readonly<{
|
|
16
|
+
onSearch?: ((params: SearchParamsT) => any) | undefined;
|
|
17
|
+
}>, {
|
|
18
|
+
data: EventsCardItemT[];
|
|
19
|
+
}, {}, {}, {}, string, import('../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
20
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
21
|
+
export default _default;
|
|
22
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
23
|
+
new (): {
|
|
24
|
+
$slots: S;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export declare const EVENTS_COLOR_MAP: {
|
|
2
|
+
summit: string;
|
|
3
|
+
events: string;
|
|
4
|
+
competition: string;
|
|
5
|
+
release: string;
|
|
6
|
+
};
|
|
7
|
+
export declare const EVENTS_ICON_MAP: {
|
|
8
|
+
events: any;
|
|
9
|
+
competition: any;
|
|
10
|
+
release: any;
|
|
11
|
+
summit: any;
|
|
12
|
+
};
|
|
13
|
+
export declare const CITY_MAP: {
|
|
14
|
+
上海: string;
|
|
15
|
+
北京: string;
|
|
16
|
+
南京: string;
|
|
17
|
+
天津: string;
|
|
18
|
+
成都: string;
|
|
19
|
+
无锡: string;
|
|
20
|
+
杭州: string;
|
|
21
|
+
深圳: string[];
|
|
22
|
+
苏州: string;
|
|
23
|
+
西安: string;
|
|
24
|
+
郑州: string;
|
|
25
|
+
武汉: string;
|
|
26
|
+
};
|
|
27
|
+
export declare const DEFAULT_COVER = "https://infrastructure-website.osinfra.cn/picture/city/default-cover.jpg";
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { App } from '../../../vue/dist/vue.esm-bundler.js';
|
|
2
|
+
declare const OEventsCalendar: {
|
|
3
|
+
new (...args: any[]): import('../../../vue/dist/vue.esm-bundler.js').CreateComponentPublicInstanceWithMixins<Readonly<import('./types').EventsCalendarPropsT> & Readonly<{}>, {}, {}, {}, {}, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {}, import('../../../vue/dist/vue.esm-bundler.js').PublicProps, {
|
|
4
|
+
data: import('./types').CalendarItemT[];
|
|
5
|
+
}, false, {}, {}, import('../../../vue/dist/vue.esm-bundler.js').GlobalComponents, import('../../../vue/dist/vue.esm-bundler.js').GlobalDirectives, string, {}, HTMLDivElement, import('../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, {
|
|
6
|
+
P: {};
|
|
7
|
+
B: {};
|
|
8
|
+
D: {};
|
|
9
|
+
C: {};
|
|
10
|
+
M: {};
|
|
11
|
+
Defaults: {};
|
|
12
|
+
}, Readonly<import('./types').EventsCalendarPropsT> & Readonly<{}>, {}, {}, {}, {}, {
|
|
13
|
+
data: import('./types').CalendarItemT[];
|
|
14
|
+
}>;
|
|
15
|
+
__isFragment?: never;
|
|
16
|
+
__isTeleport?: never;
|
|
17
|
+
__isSuspense?: never;
|
|
18
|
+
} & import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsBase<Readonly<import('./types').EventsCalendarPropsT> & Readonly<{}>, {}, {}, {}, {}, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {}, string, {
|
|
19
|
+
data: import('./types').CalendarItemT[];
|
|
20
|
+
}, {}, string, {}, import('../../../vue/dist/vue.esm-bundler.js').GlobalComponents, import('../../../vue/dist/vue.esm-bundler.js').GlobalDirectives, string, import('../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions> & import('../../../vue/dist/vue.esm-bundler.js').VNodeProps & import('../../../vue/dist/vue.esm-bundler.js').AllowedComponentProps & import('../../../vue/dist/vue.esm-bundler.js').ComponentCustomProps & {
|
|
21
|
+
install(app: App): void;
|
|
22
|
+
};
|
|
23
|
+
declare const OEventsList: {
|
|
24
|
+
new (...args: any[]): import('../../../vue/dist/vue.esm-bundler.js').CreateComponentPublicInstanceWithMixins<Readonly<import('./types').EventsListPropsT> & Readonly<{
|
|
25
|
+
onSearch?: ((params: import('./types').SearchParamsT) => any) | undefined;
|
|
26
|
+
}>, {}, {}, {}, {}, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {} & {
|
|
27
|
+
search: (params: import('./types').SearchParamsT) => any;
|
|
28
|
+
}, import('../../../vue/dist/vue.esm-bundler.js').PublicProps, {
|
|
29
|
+
data: import('./types').EventsCardItemT[];
|
|
30
|
+
}, false, {}, {}, import('../../../vue/dist/vue.esm-bundler.js').GlobalComponents, import('../../../vue/dist/vue.esm-bundler.js').GlobalDirectives, string, {}, HTMLDivElement, import('../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, {
|
|
31
|
+
P: {};
|
|
32
|
+
B: {};
|
|
33
|
+
D: {};
|
|
34
|
+
C: {};
|
|
35
|
+
M: {};
|
|
36
|
+
Defaults: {};
|
|
37
|
+
}, Readonly<import('./types').EventsListPropsT> & Readonly<{
|
|
38
|
+
onSearch?: ((params: import('./types').SearchParamsT) => any) | undefined;
|
|
39
|
+
}>, {}, {}, {}, {}, {
|
|
40
|
+
data: import('./types').EventsCardItemT[];
|
|
41
|
+
}>;
|
|
42
|
+
__isFragment?: never;
|
|
43
|
+
__isTeleport?: never;
|
|
44
|
+
__isSuspense?: never;
|
|
45
|
+
} & import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsBase<Readonly<import('./types').EventsListPropsT> & Readonly<{
|
|
46
|
+
onSearch?: ((params: import('./types').SearchParamsT) => any) | undefined;
|
|
47
|
+
}>, {}, {}, {}, {}, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {} & {
|
|
48
|
+
search: (params: import('./types').SearchParamsT) => any;
|
|
49
|
+
}, string, {
|
|
50
|
+
data: import('./types').EventsCardItemT[];
|
|
51
|
+
}, {}, string, {}, import('../../../vue/dist/vue.esm-bundler.js').GlobalComponents, import('../../../vue/dist/vue.esm-bundler.js').GlobalDirectives, string, import('../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions> & import('../../../vue/dist/vue.esm-bundler.js').VNodeProps & import('../../../vue/dist/vue.esm-bundler.js').AllowedComponentProps & import('../../../vue/dist/vue.esm-bundler.js').ComponentCustomProps & (new () => {
|
|
52
|
+
$slots: Readonly<{
|
|
53
|
+
empty?: () => any;
|
|
54
|
+
}> & {
|
|
55
|
+
empty?: () => any;
|
|
56
|
+
};
|
|
57
|
+
}) & {
|
|
58
|
+
install(app: App): void;
|
|
59
|
+
};
|
|
60
|
+
declare const OEventsApply: {
|
|
61
|
+
new (...args: any[]): import('../../../vue/dist/vue.esm-bundler.js').CreateComponentPublicInstanceWithMixins<Readonly<import('./types').EventsApplyPropsT> & Readonly<{}>, {}, {}, {}, {}, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {}, import('../../../vue/dist/vue.esm-bundler.js').PublicProps, {}, false, {}, {}, import('../../../vue/dist/vue.esm-bundler.js').GlobalComponents, import('../../../vue/dist/vue.esm-bundler.js').GlobalDirectives, string, {}, HTMLDivElement, import('../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, {
|
|
62
|
+
P: {};
|
|
63
|
+
B: {};
|
|
64
|
+
D: {};
|
|
65
|
+
C: {};
|
|
66
|
+
M: {};
|
|
67
|
+
Defaults: {};
|
|
68
|
+
}, Readonly<import('./types').EventsApplyPropsT> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
69
|
+
__isFragment?: never;
|
|
70
|
+
__isTeleport?: never;
|
|
71
|
+
__isSuspense?: never;
|
|
72
|
+
} & import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsBase<Readonly<import('./types').EventsApplyPropsT> & Readonly<{}>, {}, {}, {}, {}, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('../../../vue/dist/vue.esm-bundler.js').GlobalComponents, import('../../../vue/dist/vue.esm-bundler.js').GlobalDirectives, string, import('../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions> & import('../../../vue/dist/vue.esm-bundler.js').VNodeProps & import('../../../vue/dist/vue.esm-bundler.js').AllowedComponentProps & import('../../../vue/dist/vue.esm-bundler.js').ComponentCustomProps & (new () => {
|
|
73
|
+
$slots: Partial<Record<`step${number}`, (_: {}) => any>>;
|
|
74
|
+
}) & {
|
|
75
|
+
install(app: App): void;
|
|
76
|
+
};
|
|
77
|
+
export { OEventsCalendar, OEventsList, OEventsApply };
|
|
78
|
+
export * from './types';
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
type EventsTextAlignT = 'center' | 'left';
|
|
2
|
+
export declare enum EventsStatusT {
|
|
3
|
+
FINISH = "finish",
|
|
4
|
+
ING = "ing",
|
|
5
|
+
ALL = ""
|
|
6
|
+
}
|
|
7
|
+
export interface EventsItemT {
|
|
8
|
+
name: string;
|
|
9
|
+
date: string | [string, string];
|
|
10
|
+
location?: string;
|
|
11
|
+
link?: string;
|
|
12
|
+
linkProps?: {
|
|
13
|
+
[key: string]: string | boolean;
|
|
14
|
+
};
|
|
15
|
+
align?: EventsTextAlignT;
|
|
16
|
+
cover?: string;
|
|
17
|
+
status?: EventsStatusT;
|
|
18
|
+
}
|
|
19
|
+
export type EventsTypeT = 'summit' | 'events' | 'competition' | 'release';
|
|
20
|
+
export interface CalendarItemT {
|
|
21
|
+
name: string;
|
|
22
|
+
desc?: string;
|
|
23
|
+
type: EventsTypeT;
|
|
24
|
+
color?: string;
|
|
25
|
+
icon?: string;
|
|
26
|
+
data: EventsItemT[];
|
|
27
|
+
isSpanMonth?: boolean;
|
|
28
|
+
}
|
|
29
|
+
export interface StepItemT {
|
|
30
|
+
title: string;
|
|
31
|
+
desc?: string;
|
|
32
|
+
img?: string;
|
|
33
|
+
imgPhone?: string;
|
|
34
|
+
listTitle?: string;
|
|
35
|
+
list: Array<{
|
|
36
|
+
title: string;
|
|
37
|
+
desc?: string;
|
|
38
|
+
}>;
|
|
39
|
+
}
|
|
40
|
+
export interface EventsCardItemT {
|
|
41
|
+
name: string;
|
|
42
|
+
date: string;
|
|
43
|
+
city: string;
|
|
44
|
+
cover?: string;
|
|
45
|
+
status?: EventsStatusT;
|
|
46
|
+
link: string;
|
|
47
|
+
}
|
|
48
|
+
export interface EventsApplyPropsT {
|
|
49
|
+
steps: StepItemT[];
|
|
50
|
+
}
|
|
51
|
+
export interface EventsListPropsT {
|
|
52
|
+
data: EventsCardItemT[];
|
|
53
|
+
page: number;
|
|
54
|
+
pageSize: number;
|
|
55
|
+
total: number;
|
|
56
|
+
}
|
|
57
|
+
export interface EventsCalendarPropsT {
|
|
58
|
+
data: CalendarItemT[];
|
|
59
|
+
}
|
|
60
|
+
export interface SearchParamsT {
|
|
61
|
+
page: number;
|
|
62
|
+
pageSize: number;
|
|
63
|
+
status: EventsStatusT;
|
|
64
|
+
keyword: string;
|
|
65
|
+
}
|
|
66
|
+
export {};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export interface OHeaderT {
|
|
2
|
+
(e: 'go-home'): void;
|
|
3
|
+
(e: 'handle-click', val: any): void;
|
|
4
|
+
}
|
|
5
|
+
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
7
|
+
slots: {
|
|
8
|
+
logo?(_: {}): any;
|
|
9
|
+
nav?(_: {}): any;
|
|
10
|
+
nav?(_: {}): any;
|
|
11
|
+
toolbar?(_: {}): any;
|
|
12
|
+
};
|
|
13
|
+
refs: {};
|
|
14
|
+
rootEl: HTMLDivElement;
|
|
15
|
+
};
|
|
16
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
17
|
+
declare const __VLS_component: import('../../../vue/dist/vue.esm-bundler.js').DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, import('../../../vue/dist/vue.esm-bundler.js').PublicProps>;
|
|
18
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
19
|
+
export default _default;
|
|
20
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
21
|
+
new (): {
|
|
22
|
+
$slots: S;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export interface OHeaderT {
|
|
2
|
+
(e: 'go-back'): void;
|
|
3
|
+
(e: 'go-home'): void;
|
|
4
|
+
}
|
|
5
|
+
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
7
|
+
slots: {
|
|
8
|
+
rightConfig?(_: {}): any;
|
|
9
|
+
tool?(_: {}): any;
|
|
10
|
+
logo?(_: {}): any;
|
|
11
|
+
toolbar?(_: {}): any;
|
|
12
|
+
};
|
|
13
|
+
refs: {
|
|
14
|
+
mobileNav: import('../../../vue/dist/vue.esm-bundler.js').CreateComponentPublicInstanceWithMixins<Record<string, any> & {}, {}, {}, {}, {}, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {}, import('../../../vue/dist/vue.esm-bundler.js').PublicProps, {}, false, {}, {}, {}, {}, string, {}, any, import('../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, {
|
|
15
|
+
P: {};
|
|
16
|
+
B: {};
|
|
17
|
+
D: {};
|
|
18
|
+
C: {};
|
|
19
|
+
M: {};
|
|
20
|
+
Defaults: {};
|
|
21
|
+
}, Record<string, any> & {}, {}, {}, {}, {}, {}> | null;
|
|
22
|
+
};
|
|
23
|
+
rootEl: HTMLDivElement;
|
|
24
|
+
};
|
|
25
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
26
|
+
declare const __VLS_component: import('../../../vue/dist/vue.esm-bundler.js').DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, import('../../../vue/dist/vue.esm-bundler.js').PublicProps>;
|
|
27
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
28
|
+
export default _default;
|
|
29
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
30
|
+
new (): {
|
|
31
|
+
$slots: S;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export interface OHeaderEmitsT {
|
|
2
|
+
(e: 'handle-mouseenter-sub', val: any): void;
|
|
3
|
+
(e: 'handle-mouseleave-sub', val: any): void;
|
|
4
|
+
}
|
|
5
|
+
declare const _default: import('../../../../vue/dist/vue.esm-bundler.js').DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, import('../../../../vue/dist/vue.esm-bundler.js').PublicProps>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export interface OHeaderEmitsT {
|
|
2
|
+
(e: 'handle-mouseenter', val: any): void;
|
|
3
|
+
(e: 'handle-mouseleave', val: any): void;
|
|
4
|
+
(e: 'handle-click', val: any): void;
|
|
5
|
+
}
|
|
6
|
+
declare const _default: import('../../../../vue/dist/vue.esm-bundler.js').DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, import('../../../../vue/dist/vue.esm-bundler.js').PublicProps>;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
tool?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
refs: {};
|
|
7
|
+
rootEl: HTMLDivElement;
|
|
8
|
+
};
|
|
9
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
|
+
declare const __VLS_component: import('../../../../vue/dist/vue.esm-bundler.js').DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, import('../../../../vue/dist/vue.esm-bundler.js').PublicProps>;
|
|
11
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { App } from '../../../vue/dist/vue.esm-bundler.js';
|
|
2
|
+
declare const OHeader: import('../../../vue/dist/vue.esm-bundler.js').DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, import('../../../vue/dist/vue.esm-bundler.js').PublicProps> & (new () => {
|
|
3
|
+
$slots: {
|
|
4
|
+
logo?(_: {}): any;
|
|
5
|
+
nav?(_: {}): any;
|
|
6
|
+
nav?(_: {}): any;
|
|
7
|
+
toolbar?(_: {}): any;
|
|
8
|
+
};
|
|
9
|
+
}) & {
|
|
10
|
+
install(app: App): void;
|
|
11
|
+
};
|
|
12
|
+
declare const OHeaderMoblie: import('../../../vue/dist/vue.esm-bundler.js').DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, import('../../../vue/dist/vue.esm-bundler.js').PublicProps> & (new () => {
|
|
13
|
+
$slots: {
|
|
14
|
+
rightConfig?(_: {}): any;
|
|
15
|
+
tool?(_: {}): any;
|
|
16
|
+
logo?(_: {}): any;
|
|
17
|
+
toolbar?(_: {}): any;
|
|
18
|
+
};
|
|
19
|
+
}) & {
|
|
20
|
+
install(app: App): void;
|
|
21
|
+
};
|
|
22
|
+
export { OHeader, OHeaderMoblie };
|