@opendesign-plus-test/components 0.0.1-rc.304 → 0.0.1-rc.306
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/OArticle.vue.d.ts +0 -3
- package/dist/components/article/components/DocTitle.vue.d.ts +0 -2
- package/dist/components/article/index.d.ts +25 -31
- package/dist/components/article/types.d.ts +0 -1
- package/dist/components/article-anchor/components/ArticleAnchorMobile.vue.d.ts +1 -156
- 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 +3 -358
- package/dist/components/community-updates/index.d.ts +15 -192
- package/dist/components/doc-layout/ODocLayout.vue.d.ts +1 -5
- package/dist/components/doc-layout/index.d.ts +3 -15
- package/dist/components/events/index.d.ts +20 -20
- package/dist/components/footer/OFooter.vue.d.ts +1 -5
- package/dist/components/footer/components/FooterList.vue.d.ts +1 -5
- package/dist/components/footer/components/FooterSimple.vue.d.ts +1 -5
- package/dist/components/footer/index.d.ts +3 -13
- package/dist/components/footer/types.d.ts +1 -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/html-viewer/utils.d.ts +6 -1
- 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/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-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/index.d.ts +18 -18
- 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 +1908 -2042
- package/dist/treeshaking/assets/styles/element-plus.css +0 -1
- package/dist/treeshaking/components/activity/OActivityForm.vue_vue_type_style_index_0_lang.css +0 -1
- package/dist/treeshaking/components/activity/OActivityForm.vue_vue_type_style_index_1_lang.css +0 -1
- package/dist/treeshaking/components/activity/OActivityMyCalendar.vue_vue_type_style_index_0_lang.css +0 -1
- package/dist/treeshaking/components/activity/OActivityMyCalendar.vue_vue_type_style_index_1_lang.css +0 -1
- 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/OArticle.mjs +2 -2
- package/dist/treeshaking/components/article/OArticle.vue.d.ts +0 -3
- package/dist/treeshaking/components/article/OArticle.vue_vue_type_script_setup_true_lang.mjs +1 -4
- package/dist/treeshaking/components/article/{OArticle.vue_vue_type_style_index_0_scoped_5f5f164f_lang.css → OArticle.vue_vue_type_style_index_0_scoped_f94c0e57_lang.css} +11 -11
- package/dist/treeshaking/components/article/OArticleList.vue_vue_type_script_setup_true_lang.mjs +4 -12
- 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.d.ts +0 -2
- package/dist/treeshaking/components/article/components/DocTitle.vue_vue_type_script_setup_true_lang.mjs +28 -48
- package/dist/treeshaking/components/article/components/{DocTitle.vue_vue_type_style_index_0_scoped_8fd87069_lang.css → DocTitle.vue_vue_type_style_index_0_scoped_d7f11be9_lang.css} +62 -94
- package/dist/treeshaking/components/article/index.d.ts +25 -31
- package/dist/treeshaking/components/article/types.d.ts +0 -1
- package/dist/treeshaking/components/article-anchor/OArticleAnchor.mjs +2 -2
- package/dist/treeshaking/components/article-anchor/OArticleAnchor.vue_vue_type_script_setup_true_lang.mjs +2 -4
- package/dist/treeshaking/components/article-anchor/{OArticleAnchor.vue_vue_type_style_index_0_scoped_4f781be4_lang.css → OArticleAnchor.vue_vue_type_style_index_0_scoped_4f5aa268_lang.css} +9 -9
- package/dist/treeshaking/components/article-anchor/components/ArticleAnchorMobile.mjs +2 -2
- package/dist/treeshaking/components/article-anchor/components/ArticleAnchorMobile.vue.d.ts +1 -156
- package/dist/treeshaking/components/article-anchor/components/ArticleAnchorMobile.vue_vue_type_script_setup_true_lang.mjs +13 -73
- package/dist/treeshaking/components/article-anchor/components/{ArticleAnchorMobile.vue_vue_type_style_index_0_scoped_48ded1e0_lang.css → ArticleAnchorMobile.vue_vue_type_style_index_0_scoped_3d9befab_lang.css} +10 -13
- package/dist/treeshaking/components/article-anchor/components/ArticleAnchorPad.mjs +2 -2
- package/dist/treeshaking/components/article-anchor/components/ArticleAnchorPad.vue_vue_type_script_setup_true_lang.mjs +1 -1
- package/dist/treeshaking/components/article-anchor/components/{ArticleAnchorPad.vue_vue_type_style_index_0_scoped_3618aaf9_lang.css → ArticleAnchorPad.vue_vue_type_style_index_0_scoped_06601233_lang.css} +12 -16
- package/dist/treeshaking/components/article-anchor/index.d.ts +9 -9
- 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 +2 -2
- package/dist/treeshaking/components/community-updates/OCommunityUpdates.vue.d.ts +3 -358
- package/dist/treeshaking/components/community-updates/OCommunityUpdates.vue_vue_type_script_setup_true_lang.mjs +2 -9
- package/dist/treeshaking/components/community-updates/{OCommunityUpdates.vue_vue_type_style_index_0_scoped_cdd7bf86_lang.css → OCommunityUpdates.vue_vue_type_style_index_0_scoped_cab17fde_lang.css} +29 -43
- package/dist/treeshaking/components/community-updates/OCommunityUpdatesCard.vue_vue_type_style_index_0_lang.css +6 -6
- package/dist/treeshaking/components/community-updates/index.d.ts +15 -192
- package/dist/treeshaking/components/doc-layout/ODocLayout.mjs +2 -2
- package/dist/treeshaking/components/doc-layout/ODocLayout.vue.d.ts +1 -5
- package/dist/treeshaking/components/doc-layout/ODocLayout.vue_vue_type_script_setup_true_lang.mjs +2 -14
- package/dist/treeshaking/components/doc-layout/{ODocLayout.vue_vue_type_style_index_0_scoped_0defd696_lang.css → ODocLayout.vue_vue_type_style_index_0_scoped_5403350d_lang.css} +50 -69
- package/dist/treeshaking/components/doc-layout/index.d.ts +3 -15
- package/dist/treeshaking/components/element-plus/OElCookieNotice.vue_vue_type_style_index_0_lang.css +0 -1
- package/dist/treeshaking/components/element-plus/OElCookieNotice.vue_vue_type_style_index_1_scoped_5fa9f6f1_lang.css +0 -1
- package/dist/treeshaking/components/events/index.d.ts +20 -20
- package/dist/treeshaking/components/footer/OFooter.mjs +2 -2
- package/dist/treeshaking/components/footer/OFooter.vue.d.ts +1 -5
- package/dist/treeshaking/components/footer/OFooter.vue_vue_type_script_setup_true_lang.mjs +3 -9
- package/dist/treeshaking/components/footer/{OFooter.vue_vue_type_style_index_0_scoped_f0f4e884_lang.css → OFooter.vue_vue_type_style_index_0_scoped_41010b1f_lang.css} +13 -13
- package/dist/treeshaking/components/footer/components/FooterList.mjs +2 -2
- package/dist/treeshaking/components/footer/components/FooterList.vue.d.ts +1 -5
- package/dist/treeshaking/components/footer/components/FooterList.vue_vue_type_script_setup_true_lang.mjs +25 -45
- package/dist/treeshaking/components/footer/components/{FooterList.vue_vue_type_style_index_0_scoped_6946816d_lang.css → FooterList.vue_vue_type_style_index_0_scoped_0ed4bc5f_lang.css} +106 -110
- package/dist/treeshaking/components/footer/components/FooterSimple.mjs +2 -2
- package/dist/treeshaking/components/footer/components/FooterSimple.vue.d.ts +1 -5
- package/dist/treeshaking/components/footer/components/FooterSimple.vue_vue_type_script_setup_true_lang.mjs +8 -28
- package/dist/treeshaking/components/footer/components/{FooterSimple.vue_vue_type_style_index_0_scoped_1dd6e901_lang.css → FooterSimple.vue_vue_type_style_index_0_scoped_42242446_lang.css} +25 -29
- package/dist/treeshaking/components/footer/index.d.ts +3 -13
- package/dist/treeshaking/components/footer/types.d.ts +1 -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 -2
- package/dist/treeshaking/components/html-viewer/{OHtmlViewer.vue_vue_type_style_index_0_scoped_36fc9311_lang.css → OHtmlViewer.vue_vue_type_style_index_0_scoped_b45a5197_lang.css} +76 -68
- package/dist/treeshaking/components/html-viewer/utils.d.ts +6 -1
- package/dist/treeshaking/components/html-viewer/utils.mjs +13 -8
- package/dist/treeshaking/components/logo-swiper/index.d.ts +11 -11
- package/dist/treeshaking/components/meeting/OMeetingCalendar.vue_vue_type_style_index_0_lang.css +0 -1
- package/dist/treeshaking/components/meeting/OMeetingForm.vue_vue_type_style_index_0_lang.css +0 -1
- package/dist/treeshaking/components/meeting/OMeetingForm.vue_vue_type_style_index_1_lang.css +0 -1
- package/dist/treeshaking/components/meeting/OMeetingMyCalendar.vue_vue_type_style_index_0_lang.css +0 -1
- package/dist/treeshaking/components/meeting/OMeetingMyCalendar.vue_vue_type_style_index_1_lang.css +0 -1
- package/dist/treeshaking/components/meeting/OMeetingPlayback.vue.d.ts +6 -6
- package/dist/treeshaking/components/meeting/components/OMeetingCalendarSelector.vue_vue_type_style_index_0_lang.css +0 -1
- package/dist/treeshaking/components/meeting/components/OMeetingCalendarSelector.vue_vue_type_style_index_1_lang.css +0 -1
- package/dist/treeshaking/components/meeting/components/OMeetingPlaybackSubtitles.vue_vue_type_style_index_0_lang.css +0 -1
- package/dist/treeshaking/components/meeting/components/OMeetingPlaybackSubtitles.vue_vue_type_style_index_1_lang.css +0 -1
- 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-result/OSearchResult.mjs +2 -2
- package/dist/treeshaking/components/search-result/{OSearchResult.vue_vue_type_style_index_0_scoped_da5b23ad_lang.css → OSearchResult.vue_vue_type_style_index_0_scoped_f993da8c_lang.css} +30 -33
- package/dist/treeshaking/components/search-result/OSearchResultHeader.vue.d.ts +24 -24
- package/dist/treeshaking/components/search-result/index.d.ts +31 -31
- package/dist/treeshaking/components/sig/OSigList.vue_vue_type_style_index_0_lang.css +0 -1
- 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/index.d.ts +18 -18
- package/dist/treeshaking/components/user-center/internal/OUploadAvatar.vue_vue_type_style_index_0_scoped_7067a565_lang.css +0 -1
- package/dist/treeshaking/components/user-center/internal/OUploadAvatar.vue_vue_type_style_index_1_lang.css +0 -1
- package/dist/treeshaking/components/video/index.d.ts +3 -3
- package/package.json +1 -1
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { nextTick } from 'vue';
|
|
2
1
|
import { ArticleAnchorItemT } from '../types';
|
|
3
2
|
type __VLS_Props = {
|
|
4
3
|
title?: string;
|
|
@@ -7,7 +6,6 @@ type __VLS_Props = {
|
|
|
7
6
|
items?: ArticleAnchorItemT[];
|
|
8
7
|
container?: string | HTMLElement | Window;
|
|
9
8
|
targetOffset?: number;
|
|
10
|
-
changeHash?: boolean;
|
|
11
9
|
};
|
|
12
10
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
13
11
|
close: () => any;
|
|
@@ -17,158 +15,5 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
17
15
|
onClose?: (() => any) | undefined;
|
|
18
16
|
onToggle?: (() => any) | undefined;
|
|
19
17
|
"onUpdate:visible"?: ((args_0: boolean) => any) | undefined;
|
|
20
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
21
|
-
menuRef: ({
|
|
22
|
-
$: import('vue').ComponentInternalInstance;
|
|
23
|
-
$data: {};
|
|
24
|
-
$props: Partial<{
|
|
25
|
-
size: "medium" | "small";
|
|
26
|
-
defaultValue: string;
|
|
27
|
-
accordion: boolean;
|
|
28
|
-
defaultExpanded: string[];
|
|
29
|
-
selectStrictly: boolean;
|
|
30
|
-
arrowPosition: "left" | "right";
|
|
31
|
-
}> & Omit<{
|
|
32
|
-
readonly size: "small" | "medium";
|
|
33
|
-
readonly defaultValue: string;
|
|
34
|
-
readonly accordion: boolean;
|
|
35
|
-
readonly defaultExpanded: string[];
|
|
36
|
-
readonly selectStrictly: boolean;
|
|
37
|
-
readonly arrowPosition: "left" | "right";
|
|
38
|
-
readonly modelValue?: string | undefined;
|
|
39
|
-
readonly expanded?: string[] | undefined;
|
|
40
|
-
readonly onChange?: ((val: string) => any) | undefined | undefined;
|
|
41
|
-
readonly "onUpdate:modelValue"?: ((val: string) => any) | undefined | undefined;
|
|
42
|
-
readonly "onUpdate:expanded"?: ((val: string[]) => any) | undefined | undefined;
|
|
43
|
-
readonly "onExpanded-change"?: ((val: string[]) => any) | undefined | undefined;
|
|
44
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "size" | "defaultValue" | "accordion" | "defaultExpanded" | "selectStrictly" | "arrowPosition">;
|
|
45
|
-
$attrs: import('vue').Attrs;
|
|
46
|
-
$refs: {
|
|
47
|
-
[x: string]: unknown;
|
|
48
|
-
};
|
|
49
|
-
$slots: Readonly<{
|
|
50
|
-
[name: string]: import('vue').Slot<any> | undefined;
|
|
51
|
-
}>;
|
|
52
|
-
$root: import('vue').ComponentPublicInstance | null;
|
|
53
|
-
$parent: import('vue').ComponentPublicInstance | null;
|
|
54
|
-
$host: Element | null;
|
|
55
|
-
$emit: ((event: "change", val: string) => void) & ((event: "update:modelValue", val: string) => void) & ((event: "update:expanded", val: string[]) => void) & ((event: "expanded-change", val: string[]) => void);
|
|
56
|
-
$el: HTMLUListElement;
|
|
57
|
-
$options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
58
|
-
size: {
|
|
59
|
-
type: import('vue').PropType<import('@opensig/opendesign').MenuSizeT>;
|
|
60
|
-
default: string;
|
|
61
|
-
};
|
|
62
|
-
accordion: {
|
|
63
|
-
type: BooleanConstructor;
|
|
64
|
-
default: boolean;
|
|
65
|
-
};
|
|
66
|
-
modelValue: {
|
|
67
|
-
type: StringConstructor;
|
|
68
|
-
};
|
|
69
|
-
defaultValue: {
|
|
70
|
-
type: StringConstructor;
|
|
71
|
-
default: string;
|
|
72
|
-
};
|
|
73
|
-
expanded: {
|
|
74
|
-
type: import('vue').PropType<Array<string>>;
|
|
75
|
-
};
|
|
76
|
-
defaultExpanded: {
|
|
77
|
-
type: import('vue').PropType<Array<string>>;
|
|
78
|
-
default: () => never[];
|
|
79
|
-
};
|
|
80
|
-
selectStrictly: {
|
|
81
|
-
type: BooleanConstructor;
|
|
82
|
-
default: boolean;
|
|
83
|
-
};
|
|
84
|
-
arrowPosition: {
|
|
85
|
-
type: import('vue').PropType<"left" | "right">;
|
|
86
|
-
default: string;
|
|
87
|
-
};
|
|
88
|
-
}>> & Readonly<{
|
|
89
|
-
onChange?: ((val: string) => any) | undefined;
|
|
90
|
-
"onUpdate:modelValue"?: ((val: string) => any) | undefined;
|
|
91
|
-
"onUpdate:expanded"?: ((val: string[]) => any) | undefined;
|
|
92
|
-
"onExpanded-change"?: ((val: string[]) => any) | undefined;
|
|
93
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
94
|
-
change: (val: string) => any;
|
|
95
|
-
"update:modelValue": (val: string) => any;
|
|
96
|
-
"update:expanded": (val: string[]) => any;
|
|
97
|
-
"expanded-change": (val: string[]) => any;
|
|
98
|
-
}, string, {
|
|
99
|
-
size: "medium" | "small";
|
|
100
|
-
defaultValue: string;
|
|
101
|
-
accordion: boolean;
|
|
102
|
-
defaultExpanded: string[];
|
|
103
|
-
selectStrictly: boolean;
|
|
104
|
-
arrowPosition: "left" | "right";
|
|
105
|
-
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
106
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
107
|
-
created?: (() => void) | (() => void)[];
|
|
108
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
109
|
-
mounted?: (() => void) | (() => void)[];
|
|
110
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
111
|
-
updated?: (() => void) | (() => void)[];
|
|
112
|
-
activated?: (() => void) | (() => void)[];
|
|
113
|
-
deactivated?: (() => void) | (() => void)[];
|
|
114
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
115
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
116
|
-
destroyed?: (() => void) | (() => void)[];
|
|
117
|
-
unmounted?: (() => void) | (() => void)[];
|
|
118
|
-
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
119
|
-
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
120
|
-
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
121
|
-
};
|
|
122
|
-
$forceUpdate: () => void;
|
|
123
|
-
$nextTick: typeof nextTick;
|
|
124
|
-
$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;
|
|
125
|
-
} & Readonly<{
|
|
126
|
-
size: "medium" | "small";
|
|
127
|
-
defaultValue: string;
|
|
128
|
-
accordion: boolean;
|
|
129
|
-
defaultExpanded: string[];
|
|
130
|
-
selectStrictly: boolean;
|
|
131
|
-
arrowPosition: "left" | "right";
|
|
132
|
-
}> & Omit<Readonly<import('vue').ExtractPropTypes<{
|
|
133
|
-
size: {
|
|
134
|
-
type: import('vue').PropType<import('@opensig/opendesign').MenuSizeT>;
|
|
135
|
-
default: string;
|
|
136
|
-
};
|
|
137
|
-
accordion: {
|
|
138
|
-
type: BooleanConstructor;
|
|
139
|
-
default: boolean;
|
|
140
|
-
};
|
|
141
|
-
modelValue: {
|
|
142
|
-
type: StringConstructor;
|
|
143
|
-
};
|
|
144
|
-
defaultValue: {
|
|
145
|
-
type: StringConstructor;
|
|
146
|
-
default: string;
|
|
147
|
-
};
|
|
148
|
-
expanded: {
|
|
149
|
-
type: import('vue').PropType<Array<string>>;
|
|
150
|
-
};
|
|
151
|
-
defaultExpanded: {
|
|
152
|
-
type: import('vue').PropType<Array<string>>;
|
|
153
|
-
default: () => never[];
|
|
154
|
-
};
|
|
155
|
-
selectStrictly: {
|
|
156
|
-
type: BooleanConstructor;
|
|
157
|
-
default: boolean;
|
|
158
|
-
};
|
|
159
|
-
arrowPosition: {
|
|
160
|
-
type: import('vue').PropType<"left" | "right">;
|
|
161
|
-
default: string;
|
|
162
|
-
};
|
|
163
|
-
}>> & Readonly<{
|
|
164
|
-
onChange?: ((val: string) => any) | undefined;
|
|
165
|
-
"onUpdate:modelValue"?: ((val: string) => any) | undefined;
|
|
166
|
-
"onUpdate:expanded"?: ((val: string[]) => any) | undefined;
|
|
167
|
-
"onExpanded-change"?: ((val: string[]) => any) | undefined;
|
|
168
|
-
}>, "size" | "defaultValue" | "accordion" | "defaultExpanded" | "selectStrictly" | "arrowPosition"> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
169
|
-
$slots: {
|
|
170
|
-
default?(_: {}): any;
|
|
171
|
-
};
|
|
172
|
-
}) | null;
|
|
173
|
-
}, HTMLDivElement>;
|
|
18
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
174
19
|
export default _default;
|
|
@@ -14,8 +14,7 @@ var ArticleAnchorMobile_vue_vue_type_script_setup_true_lang_default = /*@__PURE_
|
|
|
14
14
|
expanded: { type: Boolean },
|
|
15
15
|
items: {},
|
|
16
16
|
container: {},
|
|
17
|
-
targetOffset: {}
|
|
18
|
-
changeHash: { type: Boolean }
|
|
17
|
+
targetOffset: {}
|
|
19
18
|
},
|
|
20
19
|
emits: [
|
|
21
20
|
"toggle",
|
|
@@ -23,7 +22,7 @@ var ArticleAnchorMobile_vue_vue_type_script_setup_true_lang_default = /*@__PURE_
|
|
|
23
22
|
"update:visible"
|
|
24
23
|
],
|
|
25
24
|
setup(__props, { emit: __emit }) {
|
|
26
|
-
useCssVars((_ctx) => ({ "
|
|
25
|
+
useCssVars((_ctx) => ({ "d42f5bb8": _ctx.radius }));
|
|
27
26
|
const props = __props;
|
|
28
27
|
const emit = __emit;
|
|
29
28
|
const visible = computed({
|
|
@@ -42,86 +41,39 @@ var ArticleAnchorMobile_vue_vue_type_script_setup_true_lang_default = /*@__PURE_
|
|
|
42
41
|
return list;
|
|
43
42
|
});
|
|
44
43
|
const active = ref("");
|
|
45
|
-
const menuRef = ref();
|
|
46
44
|
const scrollTarget = computed(() => {
|
|
47
45
|
if (typeof props.container === "string") return document.querySelector(props.container);
|
|
48
46
|
if (props.container && props.container !== window) return props.container;
|
|
49
47
|
return window;
|
|
50
48
|
});
|
|
51
|
-
const getScrollState = () => {
|
|
52
|
-
const container = scrollTarget.value;
|
|
53
|
-
if (!container) return null;
|
|
54
|
-
return {
|
|
55
|
-
container,
|
|
56
|
-
viewTop: container === window ? document.documentElement.clientTop : container.getBoundingClientRect().top,
|
|
57
|
-
scrollTop: container === window ? window.scrollY : container.scrollTop
|
|
58
|
-
};
|
|
59
|
-
};
|
|
60
49
|
const updateActive = () => {
|
|
61
50
|
if (!flatItems.value.length) return;
|
|
62
|
-
const
|
|
63
|
-
if (!
|
|
51
|
+
const container = scrollTarget.value;
|
|
52
|
+
if (!container) return;
|
|
53
|
+
const containerTop = container === window ? 0 : container.getBoundingClientRect().top;
|
|
64
54
|
const offset = (props.targetOffset ?? 0) + 1;
|
|
65
55
|
let current = null;
|
|
66
56
|
for (const item of flatItems.value) {
|
|
67
57
|
const observeId = (item.observeHref || item.href).replace(/^#/, "");
|
|
68
58
|
const el = document.getElementById(observeId);
|
|
69
59
|
if (!el) continue;
|
|
70
|
-
if (el.getBoundingClientRect().top -
|
|
60
|
+
if (el.getBoundingClientRect().top - containerTop <= offset) current = item.href;
|
|
71
61
|
}
|
|
72
62
|
if (current && active.value !== current) active.value = current;
|
|
73
63
|
};
|
|
74
64
|
useEventListener(scrollTarget, "scroll", updateActive);
|
|
75
|
-
/** 打开弹窗后,高亮项若未完整显示在滚动容器内,最小滚动量补全 */
|
|
76
|
-
const scrollActiveIntoView = () => {
|
|
77
|
-
const rootEl = menuRef.value?.$el;
|
|
78
|
-
if (!rootEl || !active.value) return;
|
|
79
|
-
const item = rootEl.querySelector(`[data-anchor-href="${CSS.escape(active.value)}"]`);
|
|
80
|
-
if (!item) return;
|
|
81
|
-
const containerEl = item.closest(".o-scrollbar-container");
|
|
82
|
-
if (!containerEl || containerEl.scrollHeight <= containerEl.clientHeight) return;
|
|
83
|
-
const cRect = containerEl.getBoundingClientRect();
|
|
84
|
-
const eRect = item.getBoundingClientRect();
|
|
85
|
-
if (eRect.top >= cRect.top && eRect.bottom <= cRect.bottom) return;
|
|
86
|
-
const scale = containerEl.clientHeight ? cRect.height / containerEl.clientHeight : 1;
|
|
87
|
-
const delta = (eRect.top < cRect.top ? eRect.top - cRect.top : eRect.bottom - cRect.bottom) / (scale || 1);
|
|
88
|
-
const maxTop = containerEl.scrollHeight - containerEl.clientHeight;
|
|
89
|
-
containerEl.scrollTo({
|
|
90
|
-
top: Math.min(Math.max(containerEl.scrollTop + delta, 0), maxTop),
|
|
91
|
-
behavior: "smooth"
|
|
92
|
-
});
|
|
93
|
-
};
|
|
94
65
|
watch(() => props.expanded, (value) => {
|
|
95
|
-
if (value) nextTick(
|
|
96
|
-
updateActive();
|
|
97
|
-
nextTick(() => requestAnimationFrame(scrollActiveIntoView));
|
|
98
|
-
});
|
|
66
|
+
if (value) nextTick(updateActive);
|
|
99
67
|
});
|
|
100
68
|
watch(() => props.items, () => {
|
|
101
69
|
nextTick(updateActive);
|
|
102
70
|
}, { deep: true });
|
|
103
71
|
const jump = (item) => {
|
|
104
72
|
const target = item.observeHref || item.href;
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
behavior: "smooth",
|
|
110
|
-
block: "start"
|
|
111
|
-
});
|
|
112
|
-
else {
|
|
113
|
-
const top = scrollState.scrollTop + el.getBoundingClientRect().top - scrollState.viewTop - (props.targetOffset ?? 0);
|
|
114
|
-
if (scrollState.container === window) window.scrollTo({
|
|
115
|
-
top,
|
|
116
|
-
behavior: "smooth"
|
|
117
|
-
});
|
|
118
|
-
else scrollState.container.scrollTo({
|
|
119
|
-
top,
|
|
120
|
-
behavior: "smooth"
|
|
121
|
-
});
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
if (props.changeHash !== false && item.href.startsWith("#") && window.location.hash !== item.href) window.location.hash = item.href;
|
|
73
|
+
document.getElementById(target.replace(/^#/, ""))?.scrollIntoView({
|
|
74
|
+
behavior: "smooth",
|
|
75
|
+
block: "start"
|
|
76
|
+
});
|
|
125
77
|
emit("close");
|
|
126
78
|
};
|
|
127
79
|
return (_ctx, _cache) => {
|
|
@@ -146,8 +98,6 @@ var ArticleAnchorMobile_vue_vue_type_script_setup_true_lang_default = /*@__PURE_
|
|
|
146
98
|
}, {
|
|
147
99
|
header: withCtx(() => [createElementVNode("span", _hoisted_3, toDisplayString(__props.title), 1)]),
|
|
148
100
|
default: withCtx(() => [createVNode(unref(OMenu), {
|
|
149
|
-
ref_key: "menuRef",
|
|
150
|
-
ref: menuRef,
|
|
151
101
|
modelValue: active.value,
|
|
152
102
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => active.value = $event),
|
|
153
103
|
class: "o-article-anchor--mobile__menu"
|
|
@@ -156,30 +106,20 @@ var ArticleAnchorMobile_vue_vue_type_script_setup_true_lang_default = /*@__PURE_
|
|
|
156
106
|
return openBlock(), createElementBlock(Fragment, { key: item.href }, [createVNode(unref(OMenuItem), {
|
|
157
107
|
class: "o-article-anchor--mobile__menu-item",
|
|
158
108
|
value: item.href,
|
|
159
|
-
"data-anchor-href": item.href,
|
|
160
109
|
onClick: ($event) => jump(item)
|
|
161
110
|
}, {
|
|
162
111
|
default: withCtx(() => [createTextVNode(toDisplayString(item.title), 1)]),
|
|
163
112
|
_: 2
|
|
164
|
-
}, 1032, [
|
|
165
|
-
"value",
|
|
166
|
-
"data-anchor-href",
|
|
167
|
-
"onClick"
|
|
168
|
-
]), item.children?.length ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(item.children, (child) => {
|
|
113
|
+
}, 1032, ["value", "onClick"]), item.children?.length ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(item.children, (child) => {
|
|
169
114
|
return openBlock(), createBlock(unref(OMenuItem), {
|
|
170
115
|
key: child.href,
|
|
171
116
|
value: child.href,
|
|
172
|
-
"data-anchor-href": child.href,
|
|
173
117
|
class: "o-article-anchor--mobile__menu-subitem",
|
|
174
118
|
onClick: ($event) => jump(child)
|
|
175
119
|
}, {
|
|
176
120
|
default: withCtx(() => [createTextVNode(toDisplayString(child.title), 1)]),
|
|
177
121
|
_: 2
|
|
178
|
-
}, 1032, [
|
|
179
|
-
"value",
|
|
180
|
-
"data-anchor-href",
|
|
181
|
-
"onClick"
|
|
182
|
-
]);
|
|
122
|
+
}, 1032, ["value", "onClick"]);
|
|
183
123
|
}), 128)) : createCommentVNode("", true)], 64);
|
|
184
124
|
}), 128))]),
|
|
185
125
|
_: 1
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
.hover-icon-rotate .o-icon[data-v-
|
|
1
|
+
.hover-icon-rotate .o-icon[data-v-3d9befab] {
|
|
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-3d9befab] {
|
|
6
6
|
transform: rotate(-180deg);
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
|
-
.o-article-anchor--mobile[data-v-
|
|
10
|
-
--o-article-anchor-radius: var(--
|
|
9
|
+
.o-article-anchor--mobile[data-v-3d9befab] {
|
|
10
|
+
--o-article-anchor-radius: var(--d42f5bb8);
|
|
11
11
|
}
|
|
12
|
-
.o-article-anchor--mobile__fab[data-v-
|
|
12
|
+
.o-article-anchor--mobile__fab[data-v-3d9befab] {
|
|
13
13
|
display: flex;
|
|
14
14
|
align-items: center;
|
|
15
15
|
justify-content: center;
|
|
@@ -21,27 +21,24 @@
|
|
|
21
21
|
border-radius: var(--o-article-anchor-radius);
|
|
22
22
|
box-shadow: var(--o-shadow-2);
|
|
23
23
|
}
|
|
24
|
-
.o-article-anchor--mobile__fab-icon[data-v-
|
|
24
|
+
.o-article-anchor--mobile__fab-icon[data-v-3d9befab] {
|
|
25
25
|
font-size: 24px;
|
|
26
26
|
color: var(--o-color-info2);
|
|
27
27
|
line-height: 1;
|
|
28
28
|
}
|
|
29
|
-
.o-article-anchor--mobile__sheet-title[data-v-
|
|
29
|
+
.o-article-anchor--mobile__sheet-title[data-v-3d9befab] {
|
|
30
30
|
color: var(--o-color-info1);
|
|
31
31
|
font-weight: 600;
|
|
32
32
|
font-size: 18px;
|
|
33
33
|
line-height: 26px;
|
|
34
34
|
}
|
|
35
|
-
.o-article-anchor--mobile__menu[data-v-
|
|
35
|
+
.o-article-anchor--mobile__menu[data-v-3d9befab] {
|
|
36
36
|
--menu-width: 100%;
|
|
37
37
|
}
|
|
38
|
-
.o-article-anchor--mobile__menu-item[data-v-
|
|
38
|
+
.o-article-anchor--mobile__menu-item[data-v-3d9befab] {
|
|
39
39
|
padding: 12px 16px;
|
|
40
40
|
}
|
|
41
|
-
.o-article-anchor--mobile__menu-subitem[data-v-
|
|
41
|
+
.o-article-anchor--mobile__menu-subitem[data-v-3d9befab] {
|
|
42
42
|
padding: 12px 16px;
|
|
43
43
|
padding-left: 28px;
|
|
44
|
-
}
|
|
45
|
-
[data-o-theme*=dark] .o-article-anchor--mobile__fab[data-v-48ded1e0] {
|
|
46
|
-
border: 1px solid var(--o-color-control4);
|
|
47
44
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _plugin_vue_export_helper_default from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
2
2
|
import ArticleAnchorPad_vue_vue_type_script_setup_true_lang_default from "./ArticleAnchorPad.vue_vue_type_script_setup_true_lang.mjs";
|
|
3
|
-
import './ArticleAnchorPad.
|
|
3
|
+
import './ArticleAnchorPad.vue_vue_type_style_index_0_scoped_06601233_lang.css';
|
|
4
4
|
// src/components/article-anchor/components/ArticleAnchorPad.vue
|
|
5
|
-
var ArticleAnchorPad_default = /*#__PURE__*/ _plugin_vue_export_helper_default(ArticleAnchorPad_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-
|
|
5
|
+
var ArticleAnchorPad_default = /*#__PURE__*/ _plugin_vue_export_helper_default(ArticleAnchorPad_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-06601233"]]);
|
|
6
6
|
export { ArticleAnchorPad_default as default };
|
|
@@ -22,7 +22,7 @@ var ArticleAnchorPad_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/
|
|
|
22
22
|
},
|
|
23
23
|
emits: ["toggle", "close"],
|
|
24
24
|
setup(__props, { emit: __emit }) {
|
|
25
|
-
useCssVars((_ctx) => ({ "
|
|
25
|
+
useCssVars((_ctx) => ({ "v69110e6e": _ctx.radius }));
|
|
26
26
|
const { t } = useI18n();
|
|
27
27
|
const navTitle = computed(() => t("articleAnchor.navTitle"));
|
|
28
28
|
const emit = __emit;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
.hover-icon-rotate .o-icon[data-v-
|
|
1
|
+
.hover-icon-rotate .o-icon[data-v-06601233] {
|
|
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-06601233] {
|
|
6
6
|
transform: rotate(-180deg);
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
|
-
.o-article-anchor--pad[data-v-
|
|
9
|
+
.o-article-anchor--pad[data-v-06601233] {
|
|
10
10
|
position: relative;
|
|
11
11
|
display: inline-block;
|
|
12
|
-
--o-article-anchor-radius: var(--
|
|
12
|
+
--o-article-anchor-radius: var(--v69110e6e);
|
|
13
13
|
}
|
|
14
|
-
.o-article-anchor--pad__toggle[data-v-
|
|
14
|
+
.o-article-anchor--pad__toggle[data-v-06601233] {
|
|
15
15
|
display: flex;
|
|
16
16
|
flex-direction: column;
|
|
17
17
|
align-items: center;
|
|
@@ -25,21 +25,21 @@
|
|
|
25
25
|
border-radius: var(--o-article-anchor-radius);
|
|
26
26
|
box-shadow: var(--o-shadow-2);
|
|
27
27
|
}
|
|
28
|
-
.o-article-anchor--pad__toggle.hidden[data-v-
|
|
28
|
+
.o-article-anchor--pad__toggle.hidden[data-v-06601233] {
|
|
29
29
|
opacity: 0;
|
|
30
30
|
}
|
|
31
|
-
.o-article-anchor--pad__toggle-icon[data-v-
|
|
31
|
+
.o-article-anchor--pad__toggle-icon[data-v-06601233] {
|
|
32
32
|
font-size: 20px;
|
|
33
33
|
color: var(--o-color-info1);
|
|
34
34
|
}
|
|
35
|
-
.o-article-anchor--pad__toggle-label[data-v-
|
|
35
|
+
.o-article-anchor--pad__toggle-label[data-v-06601233] {
|
|
36
36
|
white-space: nowrap;
|
|
37
37
|
overflow: hidden;
|
|
38
38
|
text-overflow: ellipsis;
|
|
39
39
|
font-size: 10px;
|
|
40
40
|
line-height: 16px;
|
|
41
41
|
}
|
|
42
|
-
.o-article-anchor--pad__pop[data-v-
|
|
42
|
+
.o-article-anchor--pad__pop[data-v-06601233] {
|
|
43
43
|
position: absolute;
|
|
44
44
|
top: 0;
|
|
45
45
|
right: 0;
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
border-radius: var(--o-article-anchor-radius);
|
|
51
51
|
box-shadow: var(--o-shadow-2);
|
|
52
52
|
}
|
|
53
|
-
.o-article-anchor--pad__pop-title[data-v-
|
|
53
|
+
.o-article-anchor--pad__pop-title[data-v-06601233] {
|
|
54
54
|
display: flex;
|
|
55
55
|
align-items: center;
|
|
56
56
|
gap: 4px;
|
|
@@ -60,19 +60,15 @@
|
|
|
60
60
|
font-size: 14px;
|
|
61
61
|
line-height: 22px;
|
|
62
62
|
}
|
|
63
|
-
.o-article-anchor--pad__pop-title-text[data-v-
|
|
63
|
+
.o-article-anchor--pad__pop-title-text[data-v-06601233] {
|
|
64
64
|
min-width: 0;
|
|
65
65
|
overflow: hidden;
|
|
66
66
|
text-overflow: ellipsis;
|
|
67
67
|
white-space: nowrap;
|
|
68
68
|
}
|
|
69
|
-
.o-article-anchor--pad__pop-close[data-v-
|
|
69
|
+
.o-article-anchor--pad__pop-close[data-v-06601233] {
|
|
70
70
|
margin-left: auto;
|
|
71
71
|
font-size: 20px;
|
|
72
72
|
color: var(--o-color-info2);
|
|
73
73
|
cursor: pointer;
|
|
74
|
-
}
|
|
75
|
-
[data-o-theme*=dark] .o-article-anchor--pad__toggle[data-v-3618aaf9],
|
|
76
|
-
[data-o-theme*=dark] .o-article-anchor--pad__pop[data-v-3618aaf9] {
|
|
77
|
-
border: 1px solid var(--o-color-control4);
|
|
78
74
|
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { App } from 'vue';
|
|
2
2
|
declare const OArticleAnchor: {
|
|
3
|
-
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('
|
|
3
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./types').ArticleAnchorPropsT> & Readonly<{
|
|
4
4
|
onChange?: ((link: string) => any) | undefined;
|
|
5
5
|
onClick?: ((ev: MouseEvent, link?: string | undefined) => any) | undefined;
|
|
6
6
|
}>, {
|
|
7
7
|
collect: () => void;
|
|
8
|
-
items: import('vue').ComputedRef<import('
|
|
8
|
+
items: import('vue').ComputedRef<import('./types').ArticleAnchorItemT[]>;
|
|
9
9
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
10
10
|
change: (link: string) => any;
|
|
11
11
|
click: (ev: MouseEvent, link?: string | undefined) => any;
|
|
12
12
|
}, import('vue').PublicProps, {
|
|
13
13
|
size: "pc" | "pad" | "mobile";
|
|
14
|
-
items: import('
|
|
14
|
+
items: import('./types').ArticleAnchorItemT[];
|
|
15
15
|
bounds: number;
|
|
16
16
|
changeHash: boolean;
|
|
17
17
|
radius: string;
|
|
@@ -336,15 +336,15 @@ declare const OArticleAnchor: {
|
|
|
336
336
|
C: {};
|
|
337
337
|
M: {};
|
|
338
338
|
Defaults: {};
|
|
339
|
-
}, Readonly<import('
|
|
339
|
+
}, Readonly<import('./types').ArticleAnchorPropsT> & Readonly<{
|
|
340
340
|
onChange?: ((link: string) => any) | undefined;
|
|
341
341
|
onClick?: ((ev: MouseEvent, link?: string | undefined) => any) | undefined;
|
|
342
342
|
}>, {
|
|
343
343
|
collect: () => void;
|
|
344
|
-
items: import('vue').ComputedRef<import('
|
|
344
|
+
items: import('vue').ComputedRef<import('./types').ArticleAnchorItemT[]>;
|
|
345
345
|
}, {}, {}, {}, {
|
|
346
346
|
size: "pc" | "pad" | "mobile";
|
|
347
|
-
items: import('
|
|
347
|
+
items: import('./types').ArticleAnchorItemT[];
|
|
348
348
|
bounds: number;
|
|
349
349
|
changeHash: boolean;
|
|
350
350
|
radius: string;
|
|
@@ -358,18 +358,18 @@ declare const OArticleAnchor: {
|
|
|
358
358
|
__isFragment?: never;
|
|
359
359
|
__isTeleport?: never;
|
|
360
360
|
__isSuspense?: never;
|
|
361
|
-
} & import('vue').ComponentOptionsBase<Readonly<import('
|
|
361
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('./types').ArticleAnchorPropsT> & Readonly<{
|
|
362
362
|
onChange?: ((link: string) => any) | undefined;
|
|
363
363
|
onClick?: ((ev: MouseEvent, link?: string | undefined) => any) | undefined;
|
|
364
364
|
}>, {
|
|
365
365
|
collect: () => void;
|
|
366
|
-
items: import('vue').ComputedRef<import('
|
|
366
|
+
items: import('vue').ComputedRef<import('./types').ArticleAnchorItemT[]>;
|
|
367
367
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
368
368
|
change: (link: string) => any;
|
|
369
369
|
click: (ev: MouseEvent, link?: string | undefined) => any;
|
|
370
370
|
}, string, {
|
|
371
371
|
size: "pc" | "pad" | "mobile";
|
|
372
|
-
items: import('
|
|
372
|
+
items: import('./types').ArticleAnchorItemT[];
|
|
373
373
|
bounds: number;
|
|
374
374
|
changeHash: boolean;
|
|
375
375
|
radius: string;
|
|
@@ -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('./types').OArticlePaginationItemT | null;
|
|
5
|
+
next?: import('./types').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('./types').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('./types').OArticlePaginationItemT) => any;
|
|
15
15
|
}, import('vue').PublicProps, {
|
|
16
|
-
prev: import('
|
|
17
|
-
next: import('
|
|
16
|
+
prev: import('./types').OArticlePaginationItemT | null;
|
|
17
|
+
next: import('./types').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('./types').OArticlePaginationItemT | null;
|
|
32
|
+
next?: import('./types').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('./types').OArticlePaginationItemT) => any) | undefined;
|
|
40
40
|
}>, {}, {}, {}, {}, {
|
|
41
|
-
prev: import('
|
|
42
|
-
next: import('
|
|
41
|
+
prev: import('./types').OArticlePaginationItemT | null;
|
|
42
|
+
next: import('./types').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('./types').OArticlePaginationItemT | null;
|
|
54
|
+
next?: import('./types').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('./types').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('./types').OArticlePaginationItemT) => any;
|
|
64
64
|
}, string, {
|
|
65
|
-
prev: import('
|
|
66
|
-
next: import('
|
|
65
|
+
prev: import('./types').OArticlePaginationItemT | null;
|
|
66
|
+
next: import('./types').OArticlePaginationItemT | null;
|
|
67
67
|
prevLabel: string;
|
|
68
68
|
nextLabel: string;
|
|
69
69
|
divider: boolean;
|