@opendesign-plus/components 0.0.1-rc.61 → 0.0.1-rc.63
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 -1
- package/dist/chunk-OElCookieNotice.es.js +17 -11
- package/dist/components/activity/index.d.ts +9 -9
- package/dist/components/banner/index.d.ts +6 -6
- package/dist/components/events/index.d.ts +20 -20
- package/dist/components/feedback-doc/OFeedbackDoc.vue.d.ts +6 -1
- package/dist/components/feedback-doc/OFeedbackDocContent.vue.d.ts +2 -0
- package/dist/components/feedback-doc/OFeedbackDocDialog.vue.d.ts +6 -1
- package/dist/components/feedback-doc/OFeedbackDocPopup.vue.d.ts +4 -0
- package/dist/components/feedback-doc/index.d.ts +54 -6
- package/dist/components/float-poster/OFloatPoster.vue.d.ts +24 -0
- package/dist/components/float-poster/index.d.ts +72 -0
- package/dist/components/float-poster/types.d.ts +21 -0
- package/dist/components/footer/OFooter.vue.d.ts +4 -25
- package/dist/components/footer/components/FooterList.vue.d.ts +21 -0
- package/dist/components/footer/components/FooterSimple.vue.d.ts +23 -0
- package/dist/components/footer/index.d.ts +8 -64
- package/dist/components/footer/types.d.ts +48 -0
- package/dist/components/header/OHeaderMobile.vue.d.ts +8 -8
- package/dist/components/header/components/HeaderNavMobile.vue.d.ts +1 -1
- package/dist/components/header/index.d.ts +28 -28
- package/dist/components/header-search/index.d.ts +13 -13
- package/dist/components/logo-swiper/OLogoSwiper.vue.d.ts +17 -0
- package/dist/components/logo-swiper/OLogoSwiperItems.vue.d.ts +17 -0
- package/dist/components/logo-swiper/index.d.ts +73 -0
- package/dist/components/logo-swiper/types.d.ts +18 -0
- package/dist/components/meeting/OMeetingPlayback.vue.d.ts +6 -6
- package/dist/components/meeting/OMeetingSigCalendar.vue.d.ts +5 -1
- package/dist/components/meeting/components/OMeetingPlaybackVideo.vue.d.ts +1 -1
- package/dist/components/meeting/index.d.ts +44 -34
- package/dist/components/search/index.d.ts +11 -11
- package/dist/components/sig/OSigList.vue.d.ts +2 -1
- package/dist/components/sig/types.d.ts +2 -0
- package/dist/components.cjs.js +39 -39
- package/dist/components.css +1 -1
- package/dist/components.es.js +13487 -13338
- package/dist/index.d.ts +2 -0
- package/dist/treeshaking/_virtual/icon-filter.mjs +6 -5
- package/dist/treeshaking/_virtual/icon-forum.mjs +21 -0
- package/dist/treeshaking/components/activity/OActivityApproval.css +3 -6
- package/dist/treeshaking/components/activity/OActivityApproval2.css +3 -6
- package/dist/treeshaking/components/activity/OActivityForm.css +3 -6
- package/dist/treeshaking/components/activity/OActivityForm2.css +3 -6
- package/dist/treeshaking/components/activity/OActivityMyCalendar.css +3 -6
- package/dist/treeshaking/components/activity/OActivityMyCalendar2.css +3 -6
- package/dist/treeshaking/components/activity/index.d.ts +9 -9
- package/dist/treeshaking/components/banner/index.d.ts +6 -6
- package/dist/treeshaking/components/common/ThFilter.vue.mjs +1 -1
- package/dist/treeshaking/components/common/TooltipText.vue.mjs +3 -2
- package/dist/treeshaking/components/element-plus/OElCookieNotice.css +3 -6
- package/dist/treeshaking/components/element-plus/OElCookieNotice2.css +3 -6
- package/dist/treeshaking/components/events/index.d.ts +20 -20
- package/dist/treeshaking/components/feedback-doc/OFeedbackDoc.css +5 -5
- package/dist/treeshaking/components/feedback-doc/OFeedbackDoc.vue.d.ts +6 -1
- package/dist/treeshaking/components/feedback-doc/OFeedbackDoc.vue.mjs +1 -1
- package/dist/treeshaking/components/feedback-doc/OFeedbackDoc.vue2.mjs +10 -4
- package/dist/treeshaking/components/feedback-doc/OFeedbackDocContent.css +27 -27
- package/dist/treeshaking/components/feedback-doc/OFeedbackDocContent.vue.d.ts +2 -0
- package/dist/treeshaking/components/feedback-doc/OFeedbackDocContent.vue.mjs +1 -1
- package/dist/treeshaking/components/feedback-doc/OFeedbackDocContent.vue2.mjs +8 -3
- package/dist/treeshaking/components/feedback-doc/OFeedbackDocDialog.vue.d.ts +6 -1
- package/dist/treeshaking/components/feedback-doc/OFeedbackDocDialog.vue.mjs +12 -5
- package/dist/treeshaking/components/feedback-doc/OFeedbackDocPopup.css +3 -3
- package/dist/treeshaking/components/feedback-doc/OFeedbackDocPopup.vue.d.ts +4 -0
- package/dist/treeshaking/components/feedback-doc/OFeedbackDocPopup.vue.mjs +1 -1
- package/dist/treeshaking/components/feedback-doc/OFeedbackDocPopup.vue2.mjs +7 -3
- package/dist/treeshaking/components/feedback-doc/index.d.ts +54 -6
- package/dist/treeshaking/components/float-poster/OFloatPoster.css +64 -0
- package/dist/treeshaking/components/float-poster/OFloatPoster.vue.d.ts +24 -0
- package/dist/treeshaking/components/float-poster/OFloatPoster.vue.mjs +7 -0
- package/dist/treeshaking/components/float-poster/OFloatPoster.vue2.mjs +84 -0
- package/dist/treeshaking/components/float-poster/index.d.ts +72 -0
- package/dist/treeshaking/components/float-poster/index.mjs +9 -0
- package/dist/treeshaking/components/float-poster/types.d.ts +21 -0
- package/dist/treeshaking/components/footer/OFooter.css +33 -590
- package/dist/treeshaking/components/footer/OFooter.vue.d.ts +4 -25
- package/dist/treeshaking/components/footer/OFooter.vue.mjs +1 -1
- package/dist/treeshaking/components/footer/OFooter.vue2.mjs +76 -332
- package/dist/treeshaking/components/footer/components/FooterList.css +462 -0
- package/dist/treeshaking/components/footer/components/FooterList.vue.d.ts +21 -0
- package/dist/treeshaking/components/footer/components/FooterList.vue.mjs +7 -0
- package/dist/treeshaking/components/footer/components/FooterList.vue2.mjs +215 -0
- package/dist/treeshaking/components/footer/components/FooterSimple.css +123 -0
- package/dist/treeshaking/components/footer/components/FooterSimple.vue.d.ts +23 -0
- package/dist/treeshaking/components/footer/components/FooterSimple.vue.mjs +7 -0
- package/dist/treeshaking/components/footer/components/FooterSimple.vue2.mjs +109 -0
- package/dist/treeshaking/components/footer/index.d.ts +8 -64
- package/dist/treeshaking/components/footer/types.d.ts +48 -0
- package/dist/treeshaking/components/header/OHeaderMobile.vue.d.ts +8 -8
- package/dist/treeshaking/components/header/components/HeaderContent.css +184 -184
- package/dist/treeshaking/components/header/components/HeaderContent.vue.mjs +1 -1
- package/dist/treeshaking/components/header/components/HeaderContent.vue2.mjs +1 -1
- package/dist/treeshaking/components/header/components/HeaderFlatten.css +57 -57
- package/dist/treeshaking/components/header/components/HeaderFlatten.vue.mjs +1 -1
- package/dist/treeshaking/components/header/components/HeaderFlatten.vue2.mjs +5 -5
- package/dist/treeshaking/components/header/components/HeaderNavMobile.css +80 -80
- package/dist/treeshaking/components/header/components/HeaderNavMobile.vue.d.ts +1 -1
- package/dist/treeshaking/components/header/components/HeaderNavMobile.vue.mjs +1 -1
- package/dist/treeshaking/components/header/components/HeaderNavMobile.vue2.mjs +7 -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/logo-swiper/OLogoSwiper.css +31 -0
- package/dist/treeshaking/components/logo-swiper/OLogoSwiper.vue.d.ts +17 -0
- package/dist/treeshaking/components/logo-swiper/OLogoSwiper.vue.mjs +14 -0
- package/dist/treeshaking/components/logo-swiper/OLogoSwiperItems.css +88 -0
- package/dist/treeshaking/components/logo-swiper/OLogoSwiperItems.vue.d.ts +17 -0
- package/dist/treeshaking/components/logo-swiper/OLogoSwiperItems.vue.mjs +7 -0
- package/dist/treeshaking/components/logo-swiper/OLogoSwiperItems.vue2.mjs +158 -0
- package/dist/treeshaking/components/logo-swiper/index.d.ts +73 -0
- package/dist/treeshaking/components/logo-swiper/index.mjs +16 -0
- package/dist/treeshaking/components/logo-swiper/types.d.ts +18 -0
- package/dist/treeshaking/components/meeting/OMeetingCalendar.css +3 -6
- package/dist/treeshaking/components/meeting/OMeetingForm.css +3 -6
- package/dist/treeshaking/components/meeting/OMeetingForm2.css +3 -6
- package/dist/treeshaking/components/meeting/OMeetingMyCalendar.css +3 -6
- package/dist/treeshaking/components/meeting/OMeetingMyCalendar2.css +3 -6
- package/dist/treeshaking/components/meeting/OMeetingPlayback.vue.d.ts +6 -6
- package/dist/treeshaking/components/meeting/OMeetingSigCalendar.vue.d.ts +5 -1
- package/dist/treeshaking/components/meeting/OMeetingSigCalendar.vue.mjs +4 -1
- package/dist/treeshaking/components/meeting/components/OMeetingCalendarSelector.css +3 -6
- package/dist/treeshaking/components/meeting/components/OMeetingCalendarSelector2.css +3 -6
- package/dist/treeshaking/components/meeting/components/OMeetingPlaybackSubtitles.css +3 -6
- package/dist/treeshaking/components/meeting/components/OMeetingPlaybackSubtitles2.css +3 -6
- package/dist/treeshaking/components/meeting/components/OMeetingPlaybackVideo.vue.d.ts +1 -1
- package/dist/treeshaking/components/meeting/index.d.ts +44 -34
- package/dist/treeshaking/components/search/index.d.ts +11 -11
- package/dist/treeshaking/components/sig/OSigDetail.css +3 -0
- package/dist/treeshaking/components/sig/OSigDetail.vue.mjs +2 -1
- package/dist/treeshaking/components/sig/OSigList.css +317 -81
- package/dist/treeshaking/components/sig/OSigList.vue.d.ts +2 -1
- package/dist/treeshaking/components/sig/OSigList.vue.mjs +205 -293
- package/dist/treeshaking/components/sig/components/OSigItem.css +68 -63
- package/dist/treeshaking/components/sig/components/OSigItem.vue.mjs +2 -1
- package/dist/treeshaking/components/sig/components/OSigMember.css +3 -0
- package/dist/treeshaking/components/sig/components/OSigMember.vue.mjs +2 -2
- package/dist/treeshaking/components/sig/components/OSigRepo.vue.mjs +2 -2
- package/dist/treeshaking/components/sig/components/OSigUserContribute.css +47 -315
- package/dist/treeshaking/components/sig/components/OSigUserContribute.vue.mjs +69 -72
- package/dist/treeshaking/components/sig/types.d.ts +2 -0
- package/dist/treeshaking/i18n/en.mjs +4 -1
- package/dist/treeshaking/i18n/zh.mjs +3 -0
- package/dist/treeshaking/index.d.ts +2 -0
- package/dist/treeshaking/index.mjs +5 -0
- package/package.json +1 -1
- package/dist/treeshaking/_virtual/icon-filter2.mjs +0 -21
|
@@ -12,6 +12,8 @@ declare const OFeedbackDoc: {
|
|
|
12
12
|
position?: "br" | "rt" | "tr" | "left" | "right" | "top" | "bottom" | "rb" | "tl" | "bl" | "lt" | "lb";
|
|
13
13
|
disableTip?: boolean;
|
|
14
14
|
offset?: number;
|
|
15
|
+
radius?: string;
|
|
16
|
+
inputRadius?: string;
|
|
15
17
|
submitData?: (data: Record<string, any>) => Promise<boolean>;
|
|
16
18
|
submitIssue?: (data: Record<string, any>) => Promise<boolean>;
|
|
17
19
|
}> & Readonly<{
|
|
@@ -26,7 +28,10 @@ declare const OFeedbackDoc: {
|
|
|
26
28
|
"update:completeness": (value: number) => any;
|
|
27
29
|
"update:usability": (value: number) => any;
|
|
28
30
|
"update:feedback": (value: string) => any;
|
|
29
|
-
}, import('vue').PublicProps, {
|
|
31
|
+
}, import('vue').PublicProps, {
|
|
32
|
+
inputRadius: string;
|
|
33
|
+
radius: string;
|
|
34
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
30
35
|
feedbackRef: ({
|
|
31
36
|
$: import('vue').ComponentInternalInstance;
|
|
32
37
|
$data: {};
|
|
@@ -130,6 +135,8 @@ declare const OFeedbackDoc: {
|
|
|
130
135
|
position?: "br" | "rt" | "tr" | "left" | "right" | "top" | "bottom" | "rb" | "tl" | "bl" | "lt" | "lb";
|
|
131
136
|
disableTip?: boolean;
|
|
132
137
|
offset?: number;
|
|
138
|
+
radius?: string;
|
|
139
|
+
inputRadius?: string;
|
|
133
140
|
submitData?: (data: Record<string, any>) => Promise<boolean>;
|
|
134
141
|
submitIssue?: (data: Record<string, any>) => Promise<boolean>;
|
|
135
142
|
}> & Readonly<{
|
|
@@ -138,7 +145,10 @@ declare const OFeedbackDoc: {
|
|
|
138
145
|
"onUpdate:completeness"?: ((value: number) => any) | undefined;
|
|
139
146
|
"onUpdate:usability"?: ((value: number) => any) | undefined;
|
|
140
147
|
"onUpdate:feedback"?: ((value: string) => any) | undefined;
|
|
141
|
-
}>, {}, {}, {}, {}, {
|
|
148
|
+
}>, {}, {}, {}, {}, {
|
|
149
|
+
inputRadius: string;
|
|
150
|
+
radius: string;
|
|
151
|
+
}>;
|
|
142
152
|
__isFragment?: never;
|
|
143
153
|
__isTeleport?: never;
|
|
144
154
|
__isSuspense?: never;
|
|
@@ -154,6 +164,8 @@ declare const OFeedbackDoc: {
|
|
|
154
164
|
position?: "br" | "rt" | "tr" | "left" | "right" | "top" | "bottom" | "rb" | "tl" | "bl" | "lt" | "lb";
|
|
155
165
|
disableTip?: boolean;
|
|
156
166
|
offset?: number;
|
|
167
|
+
radius?: string;
|
|
168
|
+
inputRadius?: string;
|
|
157
169
|
submitData?: (data: Record<string, any>) => Promise<boolean>;
|
|
158
170
|
submitIssue?: (data: Record<string, any>) => Promise<boolean>;
|
|
159
171
|
}> & Readonly<{
|
|
@@ -168,7 +180,10 @@ declare const OFeedbackDoc: {
|
|
|
168
180
|
"update:completeness": (value: number) => any;
|
|
169
181
|
"update:usability": (value: number) => any;
|
|
170
182
|
"update:feedback": (value: string) => any;
|
|
171
|
-
}, string, {
|
|
183
|
+
}, string, {
|
|
184
|
+
inputRadius: string;
|
|
185
|
+
radius: string;
|
|
186
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
172
187
|
$slots: {
|
|
173
188
|
default?(_: {}): any;
|
|
174
189
|
};
|
|
@@ -185,6 +200,7 @@ declare const OFeedbackDocContent: {
|
|
|
185
200
|
} & {
|
|
186
201
|
hideClose?: boolean;
|
|
187
202
|
disableTip?: boolean;
|
|
203
|
+
inputRadius?: string;
|
|
188
204
|
submitData?: (data: Record<string, any>) => Promise<boolean>;
|
|
189
205
|
submitIssue?: (data: Record<string, any>) => Promise<boolean>;
|
|
190
206
|
}> & Readonly<{
|
|
@@ -208,6 +224,7 @@ declare const OFeedbackDocContent: {
|
|
|
208
224
|
submit: (data: Record<string, any>) => any;
|
|
209
225
|
}, import('vue').PublicProps, {
|
|
210
226
|
hideClose: boolean;
|
|
227
|
+
inputRadius: string;
|
|
211
228
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
212
229
|
P: {};
|
|
213
230
|
B: {};
|
|
@@ -224,6 +241,7 @@ declare const OFeedbackDocContent: {
|
|
|
224
241
|
} & {
|
|
225
242
|
hideClose?: boolean;
|
|
226
243
|
disableTip?: boolean;
|
|
244
|
+
inputRadius?: string;
|
|
227
245
|
submitData?: (data: Record<string, any>) => Promise<boolean>;
|
|
228
246
|
submitIssue?: (data: Record<string, any>) => Promise<boolean>;
|
|
229
247
|
}> & Readonly<{
|
|
@@ -237,6 +255,7 @@ declare const OFeedbackDocContent: {
|
|
|
237
255
|
"onUpdate:feedback"?: ((value: string) => any) | undefined;
|
|
238
256
|
}>, {}, {}, {}, {}, {
|
|
239
257
|
hideClose: boolean;
|
|
258
|
+
inputRadius: string;
|
|
240
259
|
}>;
|
|
241
260
|
__isFragment?: never;
|
|
242
261
|
__isTeleport?: never;
|
|
@@ -250,6 +269,7 @@ declare const OFeedbackDocContent: {
|
|
|
250
269
|
} & {
|
|
251
270
|
hideClose?: boolean;
|
|
252
271
|
disableTip?: boolean;
|
|
272
|
+
inputRadius?: string;
|
|
253
273
|
submitData?: (data: Record<string, any>) => Promise<boolean>;
|
|
254
274
|
submitIssue?: (data: Record<string, any>) => Promise<boolean>;
|
|
255
275
|
}> & Readonly<{
|
|
@@ -273,6 +293,7 @@ declare const OFeedbackDocContent: {
|
|
|
273
293
|
submit: (data: Record<string, any>) => any;
|
|
274
294
|
}, string, {
|
|
275
295
|
hideClose: boolean;
|
|
296
|
+
inputRadius: string;
|
|
276
297
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
|
|
277
298
|
install(app: App): void;
|
|
278
299
|
};
|
|
@@ -286,6 +307,8 @@ declare const OFeedbackDocDialog: {
|
|
|
286
307
|
feedback?: string;
|
|
287
308
|
} & {
|
|
288
309
|
disableTip?: boolean;
|
|
310
|
+
radius?: string;
|
|
311
|
+
inputRadius?: string;
|
|
289
312
|
submitData?: (data: Record<string, any>) => Promise<boolean>;
|
|
290
313
|
submitIssue?: (data: Record<string, any>) => Promise<boolean>;
|
|
291
314
|
}> & Readonly<{
|
|
@@ -307,7 +330,10 @@ declare const OFeedbackDocDialog: {
|
|
|
307
330
|
} & {
|
|
308
331
|
close: () => any;
|
|
309
332
|
change: () => any;
|
|
310
|
-
}, import('vue').PublicProps, {
|
|
333
|
+
}, import('vue').PublicProps, {
|
|
334
|
+
inputRadius: string;
|
|
335
|
+
radius: string;
|
|
336
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
311
337
|
P: {};
|
|
312
338
|
B: {};
|
|
313
339
|
D: {};
|
|
@@ -323,6 +349,8 @@ declare const OFeedbackDocDialog: {
|
|
|
323
349
|
feedback?: string;
|
|
324
350
|
} & {
|
|
325
351
|
disableTip?: boolean;
|
|
352
|
+
radius?: string;
|
|
353
|
+
inputRadius?: string;
|
|
326
354
|
submitData?: (data: Record<string, any>) => Promise<boolean>;
|
|
327
355
|
submitIssue?: (data: Record<string, any>) => Promise<boolean>;
|
|
328
356
|
}> & Readonly<{
|
|
@@ -334,7 +362,10 @@ declare const OFeedbackDocDialog: {
|
|
|
334
362
|
"onUpdate:completeness"?: ((value: number) => any) | undefined;
|
|
335
363
|
"onUpdate:usability"?: ((value: number) => any) | undefined;
|
|
336
364
|
"onUpdate:feedback"?: ((value: string) => any) | undefined;
|
|
337
|
-
}>, {}, {}, {}, {}, {
|
|
365
|
+
}>, {}, {}, {}, {}, {
|
|
366
|
+
inputRadius: string;
|
|
367
|
+
radius: string;
|
|
368
|
+
}>;
|
|
338
369
|
__isFragment?: never;
|
|
339
370
|
__isTeleport?: never;
|
|
340
371
|
__isSuspense?: never;
|
|
@@ -347,6 +378,8 @@ declare const OFeedbackDocDialog: {
|
|
|
347
378
|
feedback?: string;
|
|
348
379
|
} & {
|
|
349
380
|
disableTip?: boolean;
|
|
381
|
+
radius?: string;
|
|
382
|
+
inputRadius?: string;
|
|
350
383
|
submitData?: (data: Record<string, any>) => Promise<boolean>;
|
|
351
384
|
submitIssue?: (data: Record<string, any>) => Promise<boolean>;
|
|
352
385
|
}> & Readonly<{
|
|
@@ -368,7 +401,10 @@ declare const OFeedbackDocDialog: {
|
|
|
368
401
|
} & {
|
|
369
402
|
close: () => any;
|
|
370
403
|
change: () => any;
|
|
371
|
-
}, string, {
|
|
404
|
+
}, string, {
|
|
405
|
+
inputRadius: string;
|
|
406
|
+
radius: string;
|
|
407
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
|
|
372
408
|
install(app: App): void;
|
|
373
409
|
};
|
|
374
410
|
declare const OFeedbackDocPopup: {
|
|
@@ -386,6 +422,8 @@ declare const OFeedbackDocPopup: {
|
|
|
386
422
|
position?: "br" | "rt" | "tr" | "left" | "right" | "top" | "bottom" | "rb" | "tl" | "bl" | "lt" | "lb";
|
|
387
423
|
disableTip?: boolean;
|
|
388
424
|
offset?: number;
|
|
425
|
+
radius?: string;
|
|
426
|
+
inputRadius?: string;
|
|
389
427
|
submitData?: (data: Record<string, any>) => Promise<boolean>;
|
|
390
428
|
submitIssue?: (data: Record<string, any>) => Promise<boolean>;
|
|
391
429
|
}> & Readonly<{
|
|
@@ -411,6 +449,8 @@ declare const OFeedbackDocPopup: {
|
|
|
411
449
|
position: "br" | "rt" | "tr" | "left" | "right" | "top" | "bottom" | "rb" | "tl" | "bl" | "lt" | "lb";
|
|
412
450
|
offset: number;
|
|
413
451
|
autoHide: boolean;
|
|
452
|
+
inputRadius: string;
|
|
453
|
+
radius: string;
|
|
414
454
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
415
455
|
P: {};
|
|
416
456
|
B: {};
|
|
@@ -432,6 +472,8 @@ declare const OFeedbackDocPopup: {
|
|
|
432
472
|
position?: "br" | "rt" | "tr" | "left" | "right" | "top" | "bottom" | "rb" | "tl" | "bl" | "lt" | "lb";
|
|
433
473
|
disableTip?: boolean;
|
|
434
474
|
offset?: number;
|
|
475
|
+
radius?: string;
|
|
476
|
+
inputRadius?: string;
|
|
435
477
|
submitData?: (data: Record<string, any>) => Promise<boolean>;
|
|
436
478
|
submitIssue?: (data: Record<string, any>) => Promise<boolean>;
|
|
437
479
|
}> & Readonly<{
|
|
@@ -448,6 +490,8 @@ declare const OFeedbackDocPopup: {
|
|
|
448
490
|
position: "br" | "rt" | "tr" | "left" | "right" | "top" | "bottom" | "rb" | "tl" | "bl" | "lt" | "lb";
|
|
449
491
|
offset: number;
|
|
450
492
|
autoHide: boolean;
|
|
493
|
+
inputRadius: string;
|
|
494
|
+
radius: string;
|
|
451
495
|
}>;
|
|
452
496
|
__isFragment?: never;
|
|
453
497
|
__isTeleport?: never;
|
|
@@ -466,6 +510,8 @@ declare const OFeedbackDocPopup: {
|
|
|
466
510
|
position?: "br" | "rt" | "tr" | "left" | "right" | "top" | "bottom" | "rb" | "tl" | "bl" | "lt" | "lb";
|
|
467
511
|
disableTip?: boolean;
|
|
468
512
|
offset?: number;
|
|
513
|
+
radius?: string;
|
|
514
|
+
inputRadius?: string;
|
|
469
515
|
submitData?: (data: Record<string, any>) => Promise<boolean>;
|
|
470
516
|
submitIssue?: (data: Record<string, any>) => Promise<boolean>;
|
|
471
517
|
}> & Readonly<{
|
|
@@ -491,6 +537,8 @@ declare const OFeedbackDocPopup: {
|
|
|
491
537
|
position: "br" | "rt" | "tr" | "left" | "right" | "top" | "bottom" | "rb" | "tl" | "bl" | "lt" | "lb";
|
|
492
538
|
offset: number;
|
|
493
539
|
autoHide: boolean;
|
|
540
|
+
inputRadius: string;
|
|
541
|
+
radius: string;
|
|
494
542
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
|
|
495
543
|
install(app: App): void;
|
|
496
544
|
};
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
.hover-icon-rotate .o-icon[data-v-05718ef8] {
|
|
2
|
+
transition: all var(--o-duration-m1) var(--o-easing-standard-in);
|
|
3
|
+
}
|
|
4
|
+
@media (hover: hover) {
|
|
5
|
+
.hover-icon-rotate:hover .o-icon[data-v-05718ef8] {
|
|
6
|
+
transform: rotate(-180deg);
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
.o-float-poster[data-v-05718ef8] {
|
|
10
|
+
--o-float-poster-z-index: 666;
|
|
11
|
+
--o-float-poster-width: 125px;
|
|
12
|
+
--o-float-poster-left: 32px;
|
|
13
|
+
--o-float-poster-bottom: 164px;
|
|
14
|
+
--o-float-poster-close-width: 20px;
|
|
15
|
+
--o-float-poster-close-height: 20px;
|
|
16
|
+
--o-float-poster-close-top: -2px;
|
|
17
|
+
--o-float-poster-close-right: -2px;
|
|
18
|
+
position: fixed;
|
|
19
|
+
left: var(--o-float-poster-left);
|
|
20
|
+
bottom: var(--o-float-poster-bottom);
|
|
21
|
+
z-index: var(--o-float-poster-z-index);
|
|
22
|
+
}
|
|
23
|
+
@media (min-width: 841px) and (max-width: 1680px) {
|
|
24
|
+
.o-float-poster[data-v-05718ef8] {
|
|
25
|
+
--o-float-poster-width: 94px;
|
|
26
|
+
--o-float-poster-close-width: 18px;
|
|
27
|
+
--o-float-poster-close-height: 18px;
|
|
28
|
+
--o-float-poster-close-top: -4px;
|
|
29
|
+
--o-float-poster-close-right: -4px;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
@media (max-width: 840px) {
|
|
33
|
+
.o-float-poster[data-v-05718ef8] {
|
|
34
|
+
--o-float-poster-width: 83px;
|
|
35
|
+
--o-float-poster-close-width: 16px;
|
|
36
|
+
--o-float-poster-close-height: 16px;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
.o-float-poster .o-float-poster__link[data-v-05718ef8] {
|
|
40
|
+
position: absolute;
|
|
41
|
+
inset: 0;
|
|
42
|
+
z-index: 1;
|
|
43
|
+
left: 0;
|
|
44
|
+
bottom: 0;
|
|
45
|
+
right: 0;
|
|
46
|
+
top: var(--o-float-poster-close-height);
|
|
47
|
+
cursor: pointer;
|
|
48
|
+
}
|
|
49
|
+
.o-float-poster .o-float-poster__img[data-v-05718ef8] {
|
|
50
|
+
display: block;
|
|
51
|
+
position: relative;
|
|
52
|
+
z-index: 2;
|
|
53
|
+
pointer-events: none;
|
|
54
|
+
width: var(--o-float-poster-width);
|
|
55
|
+
}
|
|
56
|
+
.o-float-poster .o-float-poster__close[data-v-05718ef8] {
|
|
57
|
+
position: absolute;
|
|
58
|
+
z-index: 1;
|
|
59
|
+
width: var(--o-float-poster-close-width);
|
|
60
|
+
height: var(--o-float-poster-close-height);
|
|
61
|
+
top: var(--o-float-poster-close-top);
|
|
62
|
+
right: var(--o-float-poster-close-right);
|
|
63
|
+
cursor: pointer;
|
|
64
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
wrapper?: string | HTMLElement;
|
|
3
|
+
img: string;
|
|
4
|
+
href?: string;
|
|
5
|
+
target?: '_blank' | '_self';
|
|
6
|
+
closeStorageKey?: string;
|
|
7
|
+
};
|
|
8
|
+
type __VLS_PublicProps = {
|
|
9
|
+
'visible'?: boolean;
|
|
10
|
+
} & __VLS_Props;
|
|
11
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
|
+
"update:visible": (value: boolean) => any;
|
|
13
|
+
} & {
|
|
14
|
+
close: () => any;
|
|
15
|
+
"update:visible": (value: boolean) => any;
|
|
16
|
+
visit: (href?: string | undefined) => any;
|
|
17
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
18
|
+
onClose?: (() => any) | undefined;
|
|
19
|
+
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
|
|
20
|
+
onVisit?: ((href?: string | undefined) => any) | undefined;
|
|
21
|
+
}>, {
|
|
22
|
+
target: "_blank" | "_self";
|
|
23
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
24
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import _sfc_main from "./OFloatPoster.vue2.mjs";
|
|
2
|
+
import './OFloatPoster.css';
|
|
3
|
+
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
+
const _OFloatPoster = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-05718ef8"]]);
|
|
5
|
+
export {
|
|
6
|
+
_OFloatPoster as default
|
|
7
|
+
};
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { defineComponent, useModel, computed, onMounted, openBlock, createBlock, withCtx, Teleport, createVNode, Transition, createElementBlock, createCommentVNode, createElementVNode, mergeModels } from "vue";
|
|
2
|
+
import { isClient } from "@opensig/opendesign";
|
|
3
|
+
import _sfc_main$1 from "../common/ClientOnly.vue.mjs";
|
|
4
|
+
const _hoisted_1 = {
|
|
5
|
+
key: 0,
|
|
6
|
+
class: "o-float-poster"
|
|
7
|
+
};
|
|
8
|
+
const _hoisted_2 = ["href", "target"];
|
|
9
|
+
const _hoisted_3 = ["src"];
|
|
10
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
11
|
+
__name: "OFloatPoster",
|
|
12
|
+
props: /* @__PURE__ */ mergeModels({
|
|
13
|
+
wrapper: {},
|
|
14
|
+
img: {},
|
|
15
|
+
href: {},
|
|
16
|
+
target: { default: "_blank" },
|
|
17
|
+
closeStorageKey: {}
|
|
18
|
+
}, {
|
|
19
|
+
"visible": { type: Boolean, ...{
|
|
20
|
+
default: true
|
|
21
|
+
} },
|
|
22
|
+
"visibleModifiers": {}
|
|
23
|
+
}),
|
|
24
|
+
emits: /* @__PURE__ */ mergeModels(["update:visible", "close", "visit"], ["update:visible"]),
|
|
25
|
+
setup(__props, { emit: __emit }) {
|
|
26
|
+
const props = __props;
|
|
27
|
+
const emit = __emit;
|
|
28
|
+
const visible = useModel(__props, "visible");
|
|
29
|
+
const teleportTo = computed(() => props.wrapper || "body");
|
|
30
|
+
onMounted(() => {
|
|
31
|
+
if (isClient && props.closeStorageKey) {
|
|
32
|
+
const closeStorageKey = sessionStorage.getItem(props.closeStorageKey);
|
|
33
|
+
if (closeStorageKey) {
|
|
34
|
+
visible.value = false;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
function close() {
|
|
39
|
+
visible.value = false;
|
|
40
|
+
if (isClient && props.closeStorageKey) {
|
|
41
|
+
sessionStorage.setItem(props.closeStorageKey, "1");
|
|
42
|
+
}
|
|
43
|
+
emit("close");
|
|
44
|
+
}
|
|
45
|
+
function onClick() {
|
|
46
|
+
emit("visit", props.href);
|
|
47
|
+
}
|
|
48
|
+
return (_ctx, _cache) => {
|
|
49
|
+
return openBlock(), createBlock(_sfc_main$1, null, {
|
|
50
|
+
default: withCtx(() => [
|
|
51
|
+
(openBlock(), createBlock(Teleport, { to: teleportTo.value }, [
|
|
52
|
+
createVNode(Transition, { name: "o-float-poster" }, {
|
|
53
|
+
default: withCtx(() => [
|
|
54
|
+
visible.value ? (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
55
|
+
__props.href ? (openBlock(), createElementBlock("a", {
|
|
56
|
+
key: 0,
|
|
57
|
+
class: "o-float-poster__link",
|
|
58
|
+
href: __props.href,
|
|
59
|
+
target: __props.target,
|
|
60
|
+
rel: "noopener noreferrer",
|
|
61
|
+
onClick
|
|
62
|
+
}, null, 8, _hoisted_2)) : createCommentVNode("", true),
|
|
63
|
+
createElementVNode("img", {
|
|
64
|
+
class: "o-float-poster__img",
|
|
65
|
+
src: __props.img
|
|
66
|
+
}, null, 8, _hoisted_3),
|
|
67
|
+
createElementVNode("div", {
|
|
68
|
+
class: "o-float-poster__close",
|
|
69
|
+
onClick: close
|
|
70
|
+
})
|
|
71
|
+
])) : createCommentVNode("", true)
|
|
72
|
+
]),
|
|
73
|
+
_: 1
|
|
74
|
+
})
|
|
75
|
+
], 8, ["to"]))
|
|
76
|
+
]),
|
|
77
|
+
_: 1
|
|
78
|
+
});
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
});
|
|
82
|
+
export {
|
|
83
|
+
_sfc_main as default
|
|
84
|
+
};
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { App } from 'vue';
|
|
2
|
+
declare const OFloatPoster: {
|
|
3
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
4
|
+
visible?: boolean;
|
|
5
|
+
} & {
|
|
6
|
+
wrapper?: string | HTMLElement;
|
|
7
|
+
img: string;
|
|
8
|
+
href?: string;
|
|
9
|
+
target?: "_blank" | "_self";
|
|
10
|
+
closeStorageKey?: string;
|
|
11
|
+
}> & Readonly<{
|
|
12
|
+
onClose?: (() => any) | undefined;
|
|
13
|
+
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
|
|
14
|
+
onVisit?: ((href?: string | undefined) => any) | undefined;
|
|
15
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
16
|
+
"update:visible": (value: boolean) => any;
|
|
17
|
+
} & {
|
|
18
|
+
close: () => any;
|
|
19
|
+
"update:visible": (value: boolean) => any;
|
|
20
|
+
visit: (href?: string | undefined) => any;
|
|
21
|
+
}, import('vue').PublicProps, {
|
|
22
|
+
target: "_blank" | "_self";
|
|
23
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
24
|
+
P: {};
|
|
25
|
+
B: {};
|
|
26
|
+
D: {};
|
|
27
|
+
C: {};
|
|
28
|
+
M: {};
|
|
29
|
+
Defaults: {};
|
|
30
|
+
}, Readonly<{
|
|
31
|
+
visible?: boolean;
|
|
32
|
+
} & {
|
|
33
|
+
wrapper?: string | HTMLElement;
|
|
34
|
+
img: string;
|
|
35
|
+
href?: string;
|
|
36
|
+
target?: "_blank" | "_self";
|
|
37
|
+
closeStorageKey?: string;
|
|
38
|
+
}> & Readonly<{
|
|
39
|
+
onClose?: (() => any) | undefined;
|
|
40
|
+
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
|
|
41
|
+
onVisit?: ((href?: string | undefined) => any) | undefined;
|
|
42
|
+
}>, {}, {}, {}, {}, {
|
|
43
|
+
target: "_blank" | "_self";
|
|
44
|
+
}>;
|
|
45
|
+
__isFragment?: never;
|
|
46
|
+
__isTeleport?: never;
|
|
47
|
+
__isSuspense?: never;
|
|
48
|
+
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
49
|
+
visible?: boolean;
|
|
50
|
+
} & {
|
|
51
|
+
wrapper?: string | HTMLElement;
|
|
52
|
+
img: string;
|
|
53
|
+
href?: string;
|
|
54
|
+
target?: "_blank" | "_self";
|
|
55
|
+
closeStorageKey?: string;
|
|
56
|
+
}> & Readonly<{
|
|
57
|
+
onClose?: (() => any) | undefined;
|
|
58
|
+
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
|
|
59
|
+
onVisit?: ((href?: string | undefined) => any) | undefined;
|
|
60
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
61
|
+
"update:visible": (value: boolean) => any;
|
|
62
|
+
} & {
|
|
63
|
+
close: () => any;
|
|
64
|
+
"update:visible": (value: boolean) => any;
|
|
65
|
+
visit: (href?: string | undefined) => any;
|
|
66
|
+
}, string, {
|
|
67
|
+
target: "_blank" | "_self";
|
|
68
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
|
|
69
|
+
install(app: App): void;
|
|
70
|
+
};
|
|
71
|
+
export { OFloatPoster };
|
|
72
|
+
export * from './types';
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export interface FloatPosterProps {
|
|
2
|
+
/** 自定义挂载节点(Teleport 目标),不传则挂载到 body */
|
|
3
|
+
wrapper?: string | HTMLElement;
|
|
4
|
+
/** 图片地址 */
|
|
5
|
+
img: string;
|
|
6
|
+
/** 跳转链接 */
|
|
7
|
+
href?: string;
|
|
8
|
+
/** 链接打开方式,默认 _blank */
|
|
9
|
+
target?: '_blank' | '_self';
|
|
10
|
+
/** 关闭后记忆的 sessionStorage key;传入后关闭时写入,挂载时若已存在则自动隐藏 */
|
|
11
|
+
closeStorageKey?: string;
|
|
12
|
+
/** z-index,默认 666 */
|
|
13
|
+
zIndex?: number;
|
|
14
|
+
/** 是否展示,支持 v-model:visible,默认 true */
|
|
15
|
+
visible?: boolean;
|
|
16
|
+
}
|
|
17
|
+
export interface FloatPosterEmits {
|
|
18
|
+
(e: 'update:visible', value: boolean): void;
|
|
19
|
+
(e: 'close'): void;
|
|
20
|
+
(e: 'visit', href?: string): void;
|
|
21
|
+
}
|