@opendesign-plus/components 0.0.1-rc.45 → 0.0.1-rc.46
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 +19 -17
- package/dist/components/activity/index.d.ts +9 -9
- package/dist/components/banner/index.d.ts +6 -6
- package/dist/components/events/OEventsList.vue.d.ts +2 -0
- package/dist/components/events/index.d.ts +22 -20
- package/dist/components/header/OHeaderMobile.vue.d.ts +14 -14
- package/dist/components/header/components/HeaderNavMobile.vue.d.ts +1 -1
- package/dist/components/header/index.d.ts +23 -23
- package/dist/components/header-search/OHeaderSearch.vue.d.ts +8 -8
- package/dist/components/header-search/index.d.ts +16 -16
- package/dist/components/meeting/OMeetingPlayback.vue.d.ts +8 -6
- package/dist/components/meeting/components/OMeetingPlaybackVideo.vue.d.ts +1 -1
- package/dist/components/meeting/index.d.ts +32 -31
- package/dist/components/meeting/types.d.ts +1 -0
- package/dist/components/search/OSearchInput.vue.d.ts +6 -6
- package/dist/components/search/index.d.ts +14 -14
- package/dist/components/search/internal/SearchImageInput.vue.d.ts +1 -1
- package/dist/components.cjs.js +37 -37
- package/dist/components.css +1 -1
- package/dist/components.es.js +6685 -6691
- 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/TooltipText.css +1 -0
- package/dist/treeshaking/components/common/TooltipText.vue.mjs +12 -1
- package/dist/treeshaking/components/events/OEventsApply.css +1 -1
- package/dist/treeshaking/components/events/OEventsCalendar.css +32 -14
- package/dist/treeshaking/components/events/OEventsList.css +6 -0
- package/dist/treeshaking/components/events/OEventsList.vue.d.ts +2 -0
- package/dist/treeshaking/components/events/index.d.ts +22 -20
- package/dist/treeshaking/components/header/OHeaderMobile.vue.d.ts +14 -14
- 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/HeaderNav.css +49 -49
- package/dist/treeshaking/components/header/components/HeaderNav.vue.mjs +1 -1
- package/dist/treeshaking/components/header/components/HeaderNavMobile.vue.d.ts +1 -1
- package/dist/treeshaking/components/header/index.d.ts +23 -23
- package/dist/treeshaking/components/header-search/OHeaderSearch.css +43 -43
- package/dist/treeshaking/components/header-search/OHeaderSearch.vue.d.ts +8 -8
- package/dist/treeshaking/components/header-search/OHeaderSearch.vue.mjs +1 -1
- package/dist/treeshaking/components/header-search/OHeaderSearch.vue2.mjs +2 -2
- package/dist/treeshaking/components/header-search/index.d.ts +16 -16
- package/dist/treeshaking/components/meeting/OMeetingCalendar.css +4 -3
- package/dist/treeshaking/components/meeting/OMeetingMyCalendar.css +37 -53
- package/dist/treeshaking/components/meeting/OMeetingMyCalendar.vue.mjs +1 -0
- package/dist/treeshaking/components/meeting/OMeetingMyCalendar2.css +8 -0
- package/dist/treeshaking/components/meeting/OMeetingPlayback.css +103 -3
- package/dist/treeshaking/components/meeting/OMeetingPlayback.vue.d.ts +8 -6
- package/dist/treeshaking/components/meeting/OMeetingPlayback.vue.mjs +141 -71
- package/dist/treeshaking/components/meeting/components/OMeetingCalendarList.css +5 -7
- package/dist/treeshaking/components/meeting/components/OMeetingCalendarList.vue.mjs +3 -6
- package/dist/treeshaking/components/meeting/components/OMeetingDetail.css +1 -1
- package/dist/treeshaking/components/meeting/components/OMeetingDetail.vue.mjs +10 -6
- package/dist/treeshaking/components/meeting/components/OMeetingPlaybackSubtitles.css +154 -7
- package/dist/treeshaking/components/meeting/components/OMeetingPlaybackVideo.css +9 -2
- package/dist/treeshaking/components/meeting/components/OMeetingPlaybackVideo.vue.d.ts +1 -1
- package/dist/treeshaking/components/meeting/index.d.ts +32 -31
- package/dist/treeshaking/components/meeting/types.d.ts +1 -0
- package/dist/treeshaking/components/search/OSearchInput.vue.d.ts +6 -6
- package/dist/treeshaking/components/search/index.d.ts +14 -14
- package/dist/treeshaking/components/search/internal/SearchImageInput.vue.d.ts +1 -1
- package/dist/treeshaking/i18n/en.mjs +2 -1
- package/dist/treeshaking/i18n/zh.mjs +2 -1
- package/package.json +4 -3
- package/dist/treeshaking/components/common/MoreText.css +0 -69
- package/dist/treeshaking/components/common/MoreText.vue.mjs +0 -88
- package/dist/treeshaking/components/common/MoreText.vue3.mjs +0 -5
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { App } from 'vue';
|
|
2
2
|
declare const OMeetingCalendar: {
|
|
3
|
-
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('
|
|
3
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./types').MeetingCalendarPropsT> & Readonly<{
|
|
4
4
|
onCreate?: ((...args: any[]) => any) | undefined;
|
|
5
5
|
}>, {
|
|
6
6
|
refresh: (day?: string) => Promise<void>;
|
|
7
7
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
8
8
|
create: (...args: any[]) => void;
|
|
9
9
|
}, import('vue').PublicProps, {
|
|
10
|
-
groupType: import('
|
|
10
|
+
groupType: import('./types').MeetingGroupType;
|
|
11
11
|
getSummitListRequest: any;
|
|
12
12
|
getEventsListRequest: any;
|
|
13
13
|
hiddenEvents: boolean;
|
|
@@ -155,12 +155,12 @@ declare const OMeetingCalendar: {
|
|
|
155
155
|
C: {};
|
|
156
156
|
M: {};
|
|
157
157
|
Defaults: {};
|
|
158
|
-
}, Readonly<import('
|
|
158
|
+
}, Readonly<import('./types').MeetingCalendarPropsT> & Readonly<{
|
|
159
159
|
onCreate?: ((...args: any[]) => any) | undefined;
|
|
160
160
|
}>, {
|
|
161
161
|
refresh: (day?: string) => Promise<void>;
|
|
162
162
|
}, {}, {}, {}, {
|
|
163
|
-
groupType: import('
|
|
163
|
+
groupType: import('./types').MeetingGroupType;
|
|
164
164
|
getSummitListRequest: any;
|
|
165
165
|
getEventsListRequest: any;
|
|
166
166
|
hiddenEvents: boolean;
|
|
@@ -171,14 +171,14 @@ declare const OMeetingCalendar: {
|
|
|
171
171
|
__isFragment?: never;
|
|
172
172
|
__isTeleport?: never;
|
|
173
173
|
__isSuspense?: never;
|
|
174
|
-
} & import('vue').ComponentOptionsBase<Readonly<import('
|
|
174
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('./types').MeetingCalendarPropsT> & Readonly<{
|
|
175
175
|
onCreate?: ((...args: any[]) => any) | undefined;
|
|
176
176
|
}>, {
|
|
177
177
|
refresh: (day?: string) => Promise<void>;
|
|
178
178
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
179
179
|
create: (...args: any[]) => void;
|
|
180
180
|
}, string, {
|
|
181
|
-
groupType: import('
|
|
181
|
+
groupType: import('./types').MeetingGroupType;
|
|
182
182
|
getSummitListRequest: any;
|
|
183
183
|
getEventsListRequest: any;
|
|
184
184
|
hiddenEvents: boolean;
|
|
@@ -193,7 +193,7 @@ declare const OMeetingCalendar: {
|
|
|
193
193
|
install(app: App): void;
|
|
194
194
|
};
|
|
195
195
|
declare const OMeetingForm: {
|
|
196
|
-
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('
|
|
196
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./types').MeetingFormPropsT> & Readonly<{
|
|
197
197
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
198
198
|
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
199
199
|
}>, {
|
|
@@ -202,7 +202,7 @@ declare const OMeetingForm: {
|
|
|
202
202
|
cancel: (...args: any[]) => void;
|
|
203
203
|
confirm: (...args: any[]) => void;
|
|
204
204
|
}, import('vue').PublicProps, {
|
|
205
|
-
groupType: import('
|
|
205
|
+
groupType: import('./types').MeetingGroupType;
|
|
206
206
|
showBtns: boolean;
|
|
207
207
|
privateContactEmail: string;
|
|
208
208
|
enablePrivate: boolean;
|
|
@@ -340,13 +340,13 @@ declare const OMeetingForm: {
|
|
|
340
340
|
C: {};
|
|
341
341
|
M: {};
|
|
342
342
|
Defaults: {};
|
|
343
|
-
}, Readonly<import('
|
|
343
|
+
}, Readonly<import('./types').MeetingFormPropsT> & Readonly<{
|
|
344
344
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
345
345
|
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
346
346
|
}>, {
|
|
347
347
|
confirm: () => Promise<void>;
|
|
348
348
|
}, {}, {}, {}, {
|
|
349
|
-
groupType: import('
|
|
349
|
+
groupType: import('./types').MeetingGroupType;
|
|
350
350
|
showBtns: boolean;
|
|
351
351
|
privateContactEmail: string;
|
|
352
352
|
enablePrivate: boolean;
|
|
@@ -354,7 +354,7 @@ declare const OMeetingForm: {
|
|
|
354
354
|
__isFragment?: never;
|
|
355
355
|
__isTeleport?: never;
|
|
356
356
|
__isSuspense?: never;
|
|
357
|
-
} & import('vue').ComponentOptionsBase<Readonly<import('
|
|
357
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('./types').MeetingFormPropsT> & Readonly<{
|
|
358
358
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
359
359
|
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
360
360
|
}>, {
|
|
@@ -363,7 +363,7 @@ declare const OMeetingForm: {
|
|
|
363
363
|
cancel: (...args: any[]) => void;
|
|
364
364
|
confirm: (...args: any[]) => void;
|
|
365
365
|
}, string, {
|
|
366
|
-
groupType: import('
|
|
366
|
+
groupType: import('./types').MeetingGroupType;
|
|
367
367
|
showBtns: boolean;
|
|
368
368
|
privateContactEmail: string;
|
|
369
369
|
enablePrivate: boolean;
|
|
@@ -371,17 +371,17 @@ declare const OMeetingForm: {
|
|
|
371
371
|
install(app: App): void;
|
|
372
372
|
};
|
|
373
373
|
declare const OMeetingPlayback: {
|
|
374
|
-
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('
|
|
374
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./types').MeetingPlaybackPropsT> & Readonly<{
|
|
375
375
|
"onChange-date"?: ((...args: any[]) => any) | undefined;
|
|
376
376
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
377
377
|
"change-date": (...args: any[]) => void;
|
|
378
378
|
}, import('vue').PublicProps, {
|
|
379
|
-
data: import('
|
|
379
|
+
data: import('./types').MeetingPlaybackPropsDataT;
|
|
380
380
|
dates: string[];
|
|
381
|
-
detail: import('
|
|
381
|
+
detail: import('./types').MeetingPlaybackPropsDetailT;
|
|
382
382
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
383
383
|
leftRef: HTMLDivElement;
|
|
384
|
-
playerRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('
|
|
384
|
+
playerRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./types').MeetingPlaybackVideoPropsT> & Readonly<{
|
|
385
385
|
onGetDuration?: ((...args: any[]) => any) | undefined;
|
|
386
386
|
onGetInstance?: ((...args: any[]) => any) | undefined;
|
|
387
387
|
onSetTrackIdx?: ((...args: any[]) => any) | undefined;
|
|
@@ -393,7 +393,7 @@ declare const OMeetingPlayback: {
|
|
|
393
393
|
setTrackIdx: (...args: any[]) => void;
|
|
394
394
|
}, import('vue').PublicProps, {
|
|
395
395
|
src: string;
|
|
396
|
-
captions: import('
|
|
396
|
+
captions: import('./types').CaptionItemT[];
|
|
397
397
|
vtt: string;
|
|
398
398
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
399
399
|
P: {};
|
|
@@ -402,7 +402,7 @@ declare const OMeetingPlayback: {
|
|
|
402
402
|
C: {};
|
|
403
403
|
M: {};
|
|
404
404
|
Defaults: {};
|
|
405
|
-
}, Readonly<import('
|
|
405
|
+
}, Readonly<import('./types').MeetingPlaybackVideoPropsT> & Readonly<{
|
|
406
406
|
onGetDuration?: ((...args: any[]) => any) | undefined;
|
|
407
407
|
onGetInstance?: ((...args: any[]) => any) | undefined;
|
|
408
408
|
onSetTrackIdx?: ((...args: any[]) => any) | undefined;
|
|
@@ -410,9 +410,10 @@ declare const OMeetingPlayback: {
|
|
|
410
410
|
changeTime: (time: number) => void;
|
|
411
411
|
}, {}, {}, {}, {
|
|
412
412
|
src: string;
|
|
413
|
-
captions: import('
|
|
413
|
+
captions: import('./types').CaptionItemT[];
|
|
414
414
|
vtt: string;
|
|
415
415
|
}> | null;
|
|
416
|
+
contentRef: HTMLDivElement;
|
|
416
417
|
}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
417
418
|
P: {};
|
|
418
419
|
B: {};
|
|
@@ -420,24 +421,24 @@ declare const OMeetingPlayback: {
|
|
|
420
421
|
C: {};
|
|
421
422
|
M: {};
|
|
422
423
|
Defaults: {};
|
|
423
|
-
}, Readonly<import('
|
|
424
|
+
}, Readonly<import('./types').MeetingPlaybackPropsT> & Readonly<{
|
|
424
425
|
"onChange-date"?: ((...args: any[]) => any) | undefined;
|
|
425
426
|
}>, {}, {}, {}, {}, {
|
|
426
|
-
data: import('
|
|
427
|
+
data: import('./types').MeetingPlaybackPropsDataT;
|
|
427
428
|
dates: string[];
|
|
428
|
-
detail: import('
|
|
429
|
+
detail: import('./types').MeetingPlaybackPropsDetailT;
|
|
429
430
|
}>;
|
|
430
431
|
__isFragment?: never;
|
|
431
432
|
__isTeleport?: never;
|
|
432
433
|
__isSuspense?: never;
|
|
433
|
-
} & import('vue').ComponentOptionsBase<Readonly<import('
|
|
434
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('./types').MeetingPlaybackPropsT> & Readonly<{
|
|
434
435
|
"onChange-date"?: ((...args: any[]) => any) | undefined;
|
|
435
436
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
436
437
|
"change-date": (...args: any[]) => void;
|
|
437
438
|
}, string, {
|
|
438
|
-
data: import('
|
|
439
|
+
data: import('./types').MeetingPlaybackPropsDataT;
|
|
439
440
|
dates: string[];
|
|
440
|
-
detail: import('
|
|
441
|
+
detail: import('./types').MeetingPlaybackPropsDetailT;
|
|
441
442
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
442
443
|
$slots: {
|
|
443
444
|
empty?(_: {}): any;
|
|
@@ -493,13 +494,13 @@ declare const OMeetingMyCalendar: {
|
|
|
493
494
|
cancelSubMeetingRequest: any;
|
|
494
495
|
deleteMeetingRequest: any;
|
|
495
496
|
getMeetingListRequest: any;
|
|
496
|
-
groupType: import('
|
|
497
|
+
groupType: import('./types').MeetingGroupType;
|
|
497
498
|
}> & Readonly<{
|
|
498
499
|
onEdit?: ((...args: any[]) => any) | undefined;
|
|
499
500
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
500
501
|
edit: (...args: any[]) => void;
|
|
501
502
|
}, import('vue').PublicProps, {
|
|
502
|
-
groupType: import('
|
|
503
|
+
groupType: import('./types').MeetingGroupType;
|
|
503
504
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
504
505
|
calendarRef: ({
|
|
505
506
|
$: import('vue').ComponentInternalInstance;
|
|
@@ -817,11 +818,11 @@ declare const OMeetingMyCalendar: {
|
|
|
817
818
|
cancelSubMeetingRequest: any;
|
|
818
819
|
deleteMeetingRequest: any;
|
|
819
820
|
getMeetingListRequest: any;
|
|
820
|
-
groupType: import('
|
|
821
|
+
groupType: import('./types').MeetingGroupType;
|
|
821
822
|
}> & Readonly<{
|
|
822
823
|
onEdit?: ((...args: any[]) => any) | undefined;
|
|
823
824
|
}>, {}, {}, {}, {}, {
|
|
824
|
-
groupType: import('
|
|
825
|
+
groupType: import('./types').MeetingGroupType;
|
|
825
826
|
}>;
|
|
826
827
|
__isFragment?: never;
|
|
827
828
|
__isTeleport?: never;
|
|
@@ -830,13 +831,13 @@ declare const OMeetingMyCalendar: {
|
|
|
830
831
|
cancelSubMeetingRequest: any;
|
|
831
832
|
deleteMeetingRequest: any;
|
|
832
833
|
getMeetingListRequest: any;
|
|
833
|
-
groupType: import('
|
|
834
|
+
groupType: import('./types').MeetingGroupType;
|
|
834
835
|
}> & Readonly<{
|
|
835
836
|
onEdit?: ((...args: any[]) => any) | undefined;
|
|
836
837
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
837
838
|
edit: (...args: any[]) => void;
|
|
838
839
|
}, string, {
|
|
839
|
-
groupType: import('
|
|
840
|
+
groupType: import('./types').MeetingGroupType;
|
|
840
841
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
841
842
|
$slots: {
|
|
842
843
|
empty?(_: {}): any;
|
|
@@ -470,8 +470,8 @@ declare function __VLS_template(): {
|
|
|
470
470
|
disabled: boolean;
|
|
471
471
|
modelValue: string;
|
|
472
472
|
clearable: boolean;
|
|
473
|
-
expanded: boolean;
|
|
474
473
|
preview: boolean;
|
|
474
|
+
expanded: boolean;
|
|
475
475
|
imageUrl: string;
|
|
476
476
|
enableImageSearch: boolean;
|
|
477
477
|
maxImageSize: number;
|
|
@@ -503,8 +503,8 @@ declare function __VLS_template(): {
|
|
|
503
503
|
disabled: boolean;
|
|
504
504
|
modelValue: string;
|
|
505
505
|
clearable: boolean;
|
|
506
|
-
expanded: boolean;
|
|
507
506
|
preview: boolean;
|
|
507
|
+
expanded: boolean;
|
|
508
508
|
imageUrl: string;
|
|
509
509
|
enableImageSearch: boolean;
|
|
510
510
|
maxImageSize: number;
|
|
@@ -513,7 +513,7 @@ declare function __VLS_template(): {
|
|
|
513
513
|
allowedImageTypes: string[];
|
|
514
514
|
}> & Omit<Readonly<import('./internal/SearchImageInput.vue').SearchImageInputPropsT> & Readonly<{
|
|
515
515
|
[x: `on${Capitalize<any>}`]: ((...args: any) => any) | undefined;
|
|
516
|
-
}>, "blur" | "focus" | "awaitUpload" | "getUploadedUrl" | "getIsUploading" | "resetImage" | ("size" | "disabled" | "modelValue" | "clearable" | "
|
|
516
|
+
}>, "blur" | "focus" | "awaitUpload" | "getUploadedUrl" | "getIsUploading" | "resetImage" | ("size" | "disabled" | "modelValue" | "clearable" | "preview" | "expanded" | "imageUrl" | "enableImageSearch" | "maxImageSize" | "showSuffix" | "inlineThumbnail" | "allowedImageTypes")> & {
|
|
517
517
|
focus: () => void | undefined;
|
|
518
518
|
blur: () => void | undefined;
|
|
519
519
|
awaitUpload: () => Promise<void>;
|
|
@@ -957,8 +957,8 @@ declare const __VLS_component: import('vue').DefineComponent<OSearchInputPropsT,
|
|
|
957
957
|
disabled: boolean;
|
|
958
958
|
modelValue: string;
|
|
959
959
|
clearable: boolean;
|
|
960
|
-
expanded: boolean;
|
|
961
960
|
preview: boolean;
|
|
961
|
+
expanded: boolean;
|
|
962
962
|
imageUrl: string;
|
|
963
963
|
enableImageSearch: boolean;
|
|
964
964
|
maxImageSize: number;
|
|
@@ -990,8 +990,8 @@ declare const __VLS_component: import('vue').DefineComponent<OSearchInputPropsT,
|
|
|
990
990
|
disabled: boolean;
|
|
991
991
|
modelValue: string;
|
|
992
992
|
clearable: boolean;
|
|
993
|
-
expanded: boolean;
|
|
994
993
|
preview: boolean;
|
|
994
|
+
expanded: boolean;
|
|
995
995
|
imageUrl: string;
|
|
996
996
|
enableImageSearch: boolean;
|
|
997
997
|
maxImageSize: number;
|
|
@@ -1000,7 +1000,7 @@ declare const __VLS_component: import('vue').DefineComponent<OSearchInputPropsT,
|
|
|
1000
1000
|
allowedImageTypes: string[];
|
|
1001
1001
|
}> & Omit<Readonly<import('./internal/SearchImageInput.vue').SearchImageInputPropsT> & Readonly<{
|
|
1002
1002
|
[x: `on${Capitalize<any>}`]: ((...args: any) => any) | undefined;
|
|
1003
|
-
}>, "blur" | "focus" | "awaitUpload" | "getUploadedUrl" | "getIsUploading" | "resetImage" | ("size" | "disabled" | "modelValue" | "clearable" | "
|
|
1003
|
+
}>, "blur" | "focus" | "awaitUpload" | "getUploadedUrl" | "getIsUploading" | "resetImage" | ("size" | "disabled" | "modelValue" | "clearable" | "preview" | "expanded" | "imageUrl" | "enableImageSearch" | "maxImageSize" | "showSuffix" | "inlineThumbnail" | "allowedImageTypes")> & {
|
|
1004
1004
|
focus: () => void | undefined;
|
|
1005
1005
|
blur: () => void | undefined;
|
|
1006
1006
|
awaitUpload: () => Promise<void>;
|
|
@@ -19,8 +19,8 @@ declare const OSearchInput: {
|
|
|
19
19
|
imageUrl: string;
|
|
20
20
|
enableImageSearch: boolean;
|
|
21
21
|
maxImageSize: number;
|
|
22
|
-
onestepItems: import('
|
|
23
|
-
suggestItems: import('
|
|
22
|
+
onestepItems: import('./types').OSearchRecommendItem[];
|
|
23
|
+
suggestItems: import('./types').OSearchRecommendItem[];
|
|
24
24
|
historyItems: string[];
|
|
25
25
|
hotItems: string[];
|
|
26
26
|
highlightKeyword: boolean;
|
|
@@ -47,7 +47,7 @@ declare const OSearchInput: {
|
|
|
47
47
|
readonly imagePlaceholder?: string | undefined;
|
|
48
48
|
readonly size?: "small" | "medium" | "large" | undefined;
|
|
49
49
|
readonly enableImageSearch?: boolean | undefined;
|
|
50
|
-
readonly uploadImage?: import('
|
|
50
|
+
readonly uploadImage?: import('./types').OSearchUploadImageFn | undefined;
|
|
51
51
|
readonly maxImageSize?: number | undefined;
|
|
52
52
|
readonly imageUploadTooltip?: string | undefined;
|
|
53
53
|
readonly expanded?: boolean | undefined;
|
|
@@ -421,8 +421,8 @@ declare const OSearchInput: {
|
|
|
421
421
|
disabled: boolean;
|
|
422
422
|
modelValue: string;
|
|
423
423
|
clearable: boolean;
|
|
424
|
-
expanded: boolean;
|
|
425
424
|
preview: boolean;
|
|
425
|
+
expanded: boolean;
|
|
426
426
|
imageUrl: string;
|
|
427
427
|
enableImageSearch: boolean;
|
|
428
428
|
maxImageSize: number;
|
|
@@ -454,8 +454,8 @@ declare const OSearchInput: {
|
|
|
454
454
|
disabled: boolean;
|
|
455
455
|
modelValue: string;
|
|
456
456
|
clearable: boolean;
|
|
457
|
-
expanded: boolean;
|
|
458
457
|
preview: boolean;
|
|
458
|
+
expanded: boolean;
|
|
459
459
|
imageUrl: string;
|
|
460
460
|
enableImageSearch: boolean;
|
|
461
461
|
maxImageSize: number;
|
|
@@ -464,7 +464,7 @@ declare const OSearchInput: {
|
|
|
464
464
|
allowedImageTypes: string[];
|
|
465
465
|
}> & Omit<Readonly<import('./internal/SearchImageInput.vue').SearchImageInputPropsT> & Readonly<{
|
|
466
466
|
[x: `on${Capitalize<any>}`]: ((...args: any) => any) | undefined;
|
|
467
|
-
}>, "blur" | "focus" | "awaitUpload" | "getUploadedUrl" | "getIsUploading" | "resetImage" | ("size" | "disabled" | "modelValue" | "clearable" | "
|
|
467
|
+
}>, "blur" | "focus" | "awaitUpload" | "getUploadedUrl" | "getIsUploading" | "resetImage" | ("size" | "disabled" | "modelValue" | "clearable" | "preview" | "expanded" | "imageUrl" | "enableImageSearch" | "maxImageSize" | "showSuffix" | "inlineThumbnail" | "allowedImageTypes")> & {
|
|
468
468
|
focus: () => void | undefined;
|
|
469
469
|
blur: () => void | undefined;
|
|
470
470
|
awaitUpload: () => Promise<void>;
|
|
@@ -505,8 +505,8 @@ declare const OSearchInput: {
|
|
|
505
505
|
imageUrl: string;
|
|
506
506
|
enableImageSearch: boolean;
|
|
507
507
|
maxImageSize: number;
|
|
508
|
-
onestepItems: import('
|
|
509
|
-
suggestItems: import('
|
|
508
|
+
onestepItems: import('./types').OSearchRecommendItem[];
|
|
509
|
+
suggestItems: import('./types').OSearchRecommendItem[];
|
|
510
510
|
historyItems: string[];
|
|
511
511
|
hotItems: string[];
|
|
512
512
|
highlightKeyword: boolean;
|
|
@@ -543,8 +543,8 @@ declare const OSearchInput: {
|
|
|
543
543
|
imageUrl: string;
|
|
544
544
|
enableImageSearch: boolean;
|
|
545
545
|
maxImageSize: number;
|
|
546
|
-
onestepItems: import('
|
|
547
|
-
suggestItems: import('
|
|
546
|
+
onestepItems: import('./types').OSearchRecommendItem[];
|
|
547
|
+
suggestItems: import('./types').OSearchRecommendItem[];
|
|
548
548
|
historyItems: string[];
|
|
549
549
|
hotItems: string[];
|
|
550
550
|
highlightKeyword: boolean;
|
|
@@ -572,17 +572,17 @@ declare const OSearchInput: {
|
|
|
572
572
|
keyword: string;
|
|
573
573
|
}): any;
|
|
574
574
|
'onestep-header'?(_: {
|
|
575
|
-
items: import('
|
|
575
|
+
items: import('./types').OSearchRecommendItem[];
|
|
576
576
|
}): any;
|
|
577
577
|
'onestep-content'?(_: {
|
|
578
|
-
items: import('
|
|
578
|
+
items: import('./types').OSearchRecommendItem[];
|
|
579
579
|
keyword: string;
|
|
580
580
|
}): any;
|
|
581
581
|
'suggest-header'?(_: {
|
|
582
|
-
items: import('
|
|
582
|
+
items: import('./types').OSearchRecommendItem[];
|
|
583
583
|
}): any;
|
|
584
584
|
'suggest-content'?(_: {
|
|
585
|
-
items: import('
|
|
585
|
+
items: import('./types').OSearchRecommendItem[];
|
|
586
586
|
keyword: string;
|
|
587
587
|
}): any;
|
|
588
588
|
'history-header'?(_: {
|
|
@@ -389,8 +389,8 @@ declare const __VLS_component: import('vue').DefineComponent<SearchImageInputPro
|
|
|
389
389
|
disabled: boolean;
|
|
390
390
|
modelValue: string;
|
|
391
391
|
clearable: boolean;
|
|
392
|
-
expanded: boolean;
|
|
393
392
|
preview: boolean;
|
|
393
|
+
expanded: boolean;
|
|
394
394
|
imageUrl: string;
|
|
395
395
|
enableImageSearch: boolean;
|
|
396
396
|
maxImageSize: number;
|
|
@@ -167,6 +167,8 @@ const en = {
|
|
|
167
167
|
"common.detail": "Detail",
|
|
168
168
|
"common.reset": "Reset",
|
|
169
169
|
"common.more": "More",
|
|
170
|
+
"common.viewMore": "View More",
|
|
171
|
+
"common.collapse": "Collapse",
|
|
170
172
|
"cookie.title": "{0} Community Respects Your Privacy",
|
|
171
173
|
"cookie.desc": 'This site uses cookies from us and our partners to improve your browsing experience and make the site work properly. By clicking "Accept All", you consent to the use of cookies. By clicking "Reject All", you disable the use of unnecessary cookies. You can manage your cookie settings by clicking "Manage Cookies". For more information or to change your cookie settings, please refer to our ',
|
|
172
174
|
"cookie.about": "About Cookies",
|
|
@@ -278,7 +280,6 @@ const en = {
|
|
|
278
280
|
"events.statusIng": "Progress",
|
|
279
281
|
"events.statusFinish": "Finish",
|
|
280
282
|
"events.searchPlaceholder": "Enter search...",
|
|
281
|
-
"common.collapse": "Collapse",
|
|
282
283
|
"common.expand": "Expand",
|
|
283
284
|
"feedback.docRating": "Ratings",
|
|
284
285
|
"feedback.placeholder": "How can we improve?",
|
|
@@ -166,6 +166,8 @@ const zh = {
|
|
|
166
166
|
"common.detail": "详情",
|
|
167
167
|
"common.reset": "重置",
|
|
168
168
|
"common.more": "更多",
|
|
169
|
+
"common.viewMore": "查看更多",
|
|
170
|
+
"common.collapse": "收起",
|
|
169
171
|
"cookie.desc": "我们使用cookie来确保您的高速浏览体验。继续浏览本站,即表示您同意我们使用cookie。",
|
|
170
172
|
"cookie.about": "查看详情",
|
|
171
173
|
"cookie.acceptAll": "全部接受",
|
|
@@ -268,7 +270,6 @@ const zh = {
|
|
|
268
270
|
"events.statusIng": "进行中",
|
|
269
271
|
"events.statusFinish": "已结束",
|
|
270
272
|
"events.searchPlaceholder": "搜索活动名称、地点",
|
|
271
|
-
"common.collapse": "收起",
|
|
272
273
|
"common.expand": "展开",
|
|
273
274
|
"feedback.docRating": "文档评分",
|
|
274
275
|
"feedback.placeholder": "请描述您的问题或改进建议",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opendesign-plus/components",
|
|
3
|
-
"version": "0.0.1-rc.
|
|
3
|
+
"version": "0.0.1-rc.46",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public",
|
|
@@ -38,14 +38,15 @@
|
|
|
38
38
|
"peerDependencies": {
|
|
39
39
|
"@opensig/opendesign": "1.2.5",
|
|
40
40
|
"@vueuse/core": "^14.0.0",
|
|
41
|
+
"@vueuse/shared": "^14.0.0",
|
|
41
42
|
"aos": "^2.3.4",
|
|
42
43
|
"dayjs": "^1.11.13",
|
|
43
44
|
"video.js": "^8.23.7",
|
|
44
45
|
"vue-dompurify-html": "^3.1.2",
|
|
45
46
|
"vue": "^3.5.13",
|
|
46
47
|
"element-plus": "2.13.1",
|
|
47
|
-
"@opendesign-plus/
|
|
48
|
-
"@opendesign-plus/
|
|
48
|
+
"@opendesign-plus/styles": "0.0.1-rc.2",
|
|
49
|
+
"@opendesign-plus/composables": "0.0.1-rc.10"
|
|
49
50
|
},
|
|
50
51
|
"devDependencies": {
|
|
51
52
|
"@vitejs/plugin-vue": "^5.2.1",
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
.hover-icon-rotate .o-icon {
|
|
2
|
-
transition: all var(--o-duration-m1) var(--o-easing-standard-in);
|
|
3
|
-
}
|
|
4
|
-
@media (hover: hover) {
|
|
5
|
-
.hover-icon-rotate:hover .o-icon {
|
|
6
|
-
transform: rotate(-180deg);
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
.more-text-wrapper .more-text-content {
|
|
10
|
-
line-height: 1.5em;
|
|
11
|
-
overflow: hidden;
|
|
12
|
-
text-overflow: ellipsis;
|
|
13
|
-
display: -webkit-box;
|
|
14
|
-
-webkit-box-orient: vertical;
|
|
15
|
-
white-space: pre-wrap;
|
|
16
|
-
word-break: break-all;
|
|
17
|
-
transition: height 0.1s;
|
|
18
|
-
}
|
|
19
|
-
.more-text-wrapper .more-text-content.is-link {
|
|
20
|
-
color: var(--o-color-primary1);
|
|
21
|
-
cursor: pointer;
|
|
22
|
-
}
|
|
23
|
-
@media (hover: hover) {
|
|
24
|
-
.more-text-wrapper .more-text-content.is-link:hover {
|
|
25
|
-
color: var(--o-color-primary2);
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
.more-text-wrapper .more-text-btn {
|
|
29
|
-
color: var(--o-color-primary1);
|
|
30
|
-
}
|
|
31
|
-
@media (hover: hover) {
|
|
32
|
-
.more-text-wrapper .more-text-btn:hover {
|
|
33
|
-
color: var(--o-color-primary2);
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
.more-text-wrapper .more-text-btn > div {
|
|
37
|
-
height: 1.5em;
|
|
38
|
-
cursor: pointer;
|
|
39
|
-
display: flex;
|
|
40
|
-
align-items: center;
|
|
41
|
-
column-gap: 4px;
|
|
42
|
-
justify-content: flex-end;
|
|
43
|
-
font-size: 14px;
|
|
44
|
-
line-height: 22px;
|
|
45
|
-
}
|
|
46
|
-
@media (min-width: 1201px) and (max-width: 1680px) {
|
|
47
|
-
.more-text-wrapper .more-text-btn > div {
|
|
48
|
-
font-size: 12px;
|
|
49
|
-
line-height: 18px;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
@media (min-width: 841px) and (max-width: 1200px) {
|
|
53
|
-
.more-text-wrapper .more-text-btn > div {
|
|
54
|
-
font-size: 12px;
|
|
55
|
-
line-height: 18px;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
@media (min-width: 601px) and (max-width: 840px) {
|
|
59
|
-
.more-text-wrapper .more-text-btn > div {
|
|
60
|
-
font-size: 12px;
|
|
61
|
-
line-height: 18px;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
@media (max-width: 600px) {
|
|
65
|
-
.more-text-wrapper .more-text-btn > div {
|
|
66
|
-
font-size: 12px;
|
|
67
|
-
line-height: 18px;
|
|
68
|
-
}
|
|
69
|
-
}
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
import { defineComponent, ref, onMounted, watch, nextTick, openBlock, createElementBlock, createElementVNode, normalizeStyle, normalizeClass, toDisplayString, unref, createVNode, withCtx, createCommentVNode } from "vue";
|
|
2
|
-
import { OIcon, OIconChevronDown, OIconChevronUp } from "@opensig/opendesign";
|
|
3
|
-
import { useI18n } from "../../i18n/index.mjs";
|
|
4
|
-
const _hoisted_1 = { class: "more-text-wrapper" };
|
|
5
|
-
const _hoisted_2 = { key: 0 };
|
|
6
|
-
const _hoisted_3 = { key: 1 };
|
|
7
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
8
|
-
__name: "MoreText",
|
|
9
|
-
props: {
|
|
10
|
-
text: { default: "" },
|
|
11
|
-
link: { type: Boolean, default: false },
|
|
12
|
-
lines: { default: 3 },
|
|
13
|
-
show: { type: Boolean, default: false }
|
|
14
|
-
},
|
|
15
|
-
setup(__props) {
|
|
16
|
-
const props = __props;
|
|
17
|
-
const { t } = useI18n();
|
|
18
|
-
const expanded = ref(false);
|
|
19
|
-
const showBtn = ref(false);
|
|
20
|
-
const offsetHeight = ref(0);
|
|
21
|
-
const contentRef = ref(null);
|
|
22
|
-
onMounted(() => {
|
|
23
|
-
determineHeight();
|
|
24
|
-
});
|
|
25
|
-
watch([() => props.text, () => props.show], () => {
|
|
26
|
-
determineHeight();
|
|
27
|
-
});
|
|
28
|
-
const determineHeight = () => {
|
|
29
|
-
nextTick(() => {
|
|
30
|
-
const ele = contentRef.value;
|
|
31
|
-
if (ele) {
|
|
32
|
-
const range = document.createRange();
|
|
33
|
-
range.setStart(ele, 0);
|
|
34
|
-
range.setEnd(ele, ele.childNodes.length);
|
|
35
|
-
showBtn.value = range.getBoundingClientRect().height > ele.offsetHeight + 10 || ele.scrollHeight > ele.offsetHeight + 10;
|
|
36
|
-
offsetHeight.value = range.getBoundingClientRect().height || ele.scrollHeight;
|
|
37
|
-
} else {
|
|
38
|
-
showBtn.value = false;
|
|
39
|
-
}
|
|
40
|
-
});
|
|
41
|
-
};
|
|
42
|
-
const clickText = () => {
|
|
43
|
-
if (props.link) {
|
|
44
|
-
window.open(props.text);
|
|
45
|
-
}
|
|
46
|
-
};
|
|
47
|
-
return (_ctx, _cache) => {
|
|
48
|
-
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
49
|
-
createElementVNode("div", {
|
|
50
|
-
class: normalizeClass(["more-text-content", __props.link && "is-link"]),
|
|
51
|
-
ref_key: "contentRef",
|
|
52
|
-
ref: contentRef,
|
|
53
|
-
style: normalizeStyle({
|
|
54
|
-
"max-height": expanded.value ? offsetHeight.value + "px" : "4.5em",
|
|
55
|
-
"-webkit-line-clamp": expanded.value ? "initial" : __props.lines
|
|
56
|
-
}),
|
|
57
|
-
onClick: clickText
|
|
58
|
-
}, toDisplayString(__props.text), 7),
|
|
59
|
-
showBtn.value ? (openBlock(), createElementBlock("div", {
|
|
60
|
-
key: 0,
|
|
61
|
-
class: "more-text-btn",
|
|
62
|
-
onClick: _cache[0] || (_cache[0] = ($event) => expanded.value = !expanded.value)
|
|
63
|
-
}, [
|
|
64
|
-
!expanded.value ? (openBlock(), createElementBlock("div", _hoisted_2, [
|
|
65
|
-
createElementVNode("span", null, toDisplayString(unref(t)("common.expand")), 1),
|
|
66
|
-
createVNode(unref(OIcon), null, {
|
|
67
|
-
default: withCtx(() => [
|
|
68
|
-
createVNode(unref(OIconChevronDown))
|
|
69
|
-
]),
|
|
70
|
-
_: 1
|
|
71
|
-
})
|
|
72
|
-
])) : (openBlock(), createElementBlock("div", _hoisted_3, [
|
|
73
|
-
createElementVNode("span", null, toDisplayString(unref(t)("common.collapse")), 1),
|
|
74
|
-
createVNode(unref(OIcon), null, {
|
|
75
|
-
default: withCtx(() => [
|
|
76
|
-
createVNode(unref(OIconChevronUp))
|
|
77
|
-
]),
|
|
78
|
-
_: 1
|
|
79
|
-
})
|
|
80
|
-
]))
|
|
81
|
-
])) : createCommentVNode("", true)
|
|
82
|
-
]);
|
|
83
|
-
};
|
|
84
|
-
}
|
|
85
|
-
});
|
|
86
|
-
export {
|
|
87
|
-
_sfc_main as default
|
|
88
|
-
};
|