unika-components 1.0.81 → 1.0.83

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.
@@ -1,13 +1,28 @@
1
1
  declare const _default: import("vue").DefineComponent<{
2
- [x: string]: any;
2
+ isPlayingInit: {
3
+ type: BooleanConstructor;
4
+ default: boolean;
5
+ };
6
+ musicSrc: {
7
+ type: StringConstructor;
8
+ default: string;
9
+ };
3
10
  }, {
4
11
  styleProps: import("vue").ComputedRef<Pick<any, string>>;
5
12
  handleClick: () => void;
6
13
  isPlaying: import("vue").Ref<boolean>;
7
14
  togglePlay: () => void;
8
15
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
9
- [x: string]: any;
16
+ isPlayingInit: {
17
+ type: BooleanConstructor;
18
+ default: boolean;
19
+ };
20
+ musicSrc: {
21
+ type: StringConstructor;
22
+ default: string;
23
+ };
10
24
  }>>, {
11
- [x: string]: any;
25
+ isPlayingInit: boolean;
26
+ musicSrc: string;
12
27
  }, {}>;
13
28
  export default _default;
@@ -0,0 +1,76 @@
1
+ interface BarrageItem {
2
+ content: string;
3
+ bottom: number;
4
+ key: number;
5
+ }
6
+ declare const _default: import("vue").DefineComponent<{
7
+ speed: {
8
+ type: NumberConstructor;
9
+ default: number;
10
+ };
11
+ interval: {
12
+ type: NumberConstructor;
13
+ default: number;
14
+ };
15
+ numLines: {
16
+ type: NumberConstructor;
17
+ default: number;
18
+ };
19
+ barragesContents: {
20
+ type: ArrayConstructor;
21
+ default: () => {
22
+ content: string;
23
+ }[];
24
+ };
25
+ }, {
26
+ barrages: import("vue").Ref<{
27
+ content: string;
28
+ bottom: number;
29
+ key: number;
30
+ }[]>;
31
+ barrageStyle: (barrage: BarrageItem) => {
32
+ position: string;
33
+ bottom: string;
34
+ textAlign: string;
35
+ marginLeft: string;
36
+ transition: string;
37
+ backgroundColor: string;
38
+ lineHeight: string;
39
+ maxWidth: string;
40
+ width: string;
41
+ color: string;
42
+ padding: string;
43
+ borderRadius: string;
44
+ wordBreak: string;
45
+ display: string;
46
+ overflow: string;
47
+ fontSize: string;
48
+ height: string;
49
+ boxSizing: string;
50
+ };
51
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
52
+ speed: {
53
+ type: NumberConstructor;
54
+ default: number;
55
+ };
56
+ interval: {
57
+ type: NumberConstructor;
58
+ default: number;
59
+ };
60
+ numLines: {
61
+ type: NumberConstructor;
62
+ default: number;
63
+ };
64
+ barragesContents: {
65
+ type: ArrayConstructor;
66
+ default: () => {
67
+ content: string;
68
+ }[];
69
+ };
70
+ }>>, {
71
+ speed: number;
72
+ interval: number;
73
+ numLines: number;
74
+ barragesContents: unknown[];
75
+ }, {}>;
76
+ export default _default;
@@ -0,0 +1,43 @@
1
+ import { FormInstance } from 'ant-design-vue';
2
+ declare const _default: import("vue").DefineComponent<{
3
+ publishContentID: {
4
+ type: StringConstructor;
5
+ default: string;
6
+ };
7
+ }, {
8
+ styleProps: import("vue").ComputedRef<Pick<any, string>>;
9
+ handleClick: () => void;
10
+ barrages: import("vue").Ref<{
11
+ content: string;
12
+ }[]>;
13
+ open: import("vue").Ref<boolean>;
14
+ showModal: () => void;
15
+ handleOk: (e: MouseEvent) => void;
16
+ isLoaded: import("vue").Ref<boolean>;
17
+ formState: import("vue").Ref<{
18
+ name: string;
19
+ blessing: string;
20
+ }>;
21
+ handleCancel: () => void;
22
+ rules: {
23
+ name: {
24
+ required: boolean;
25
+ message: string;
26
+ trigger: string;
27
+ }[];
28
+ blessing: {
29
+ required: boolean;
30
+ message: string;
31
+ trigger: string;
32
+ }[];
33
+ };
34
+ formRef: import("vue").Ref<FormInstance | null>;
35
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
36
+ publishContentID: {
37
+ type: StringConstructor;
38
+ default: string;
39
+ };
40
+ }>>, {
41
+ publishContentID: string;
42
+ }, {}>;
43
+ export default _default;
@@ -0,0 +1,2 @@
1
+ import UniTanmu from './UniTanmu.vue';
2
+ export default UniTanmu;
@@ -65,10 +65,11 @@ export interface WorkData {
65
65
  copiedCount?: number;
66
66
  status?: string;
67
67
  shareImg?: string;
68
+ tanmu?: boolean;
68
69
  music?: {
69
70
  id: string;
70
71
  name: string;
71
- url: string;
72
+ musicSrc: string;
72
73
  status: boolean;
73
74
  duration: number;
74
75
  isPlaying: false;
@@ -362,6 +363,19 @@ export declare const swiperDefaultProps: {
362
363
  transform: string;
363
364
  backgroundColor: string;
364
365
  height: string;
366
+ opacity: number;
367
+ slides: {
368
+ image: string;
369
+ }[];
370
+ };
371
+ export declare const danmuDefaultProps: {
372
+ left: string;
373
+ top: string;
374
+ width: string;
375
+ transform: string;
376
+ backgroundColor: string;
377
+ height: string;
378
+ opacity: number;
365
379
  slides: {
366
380
  image: string;
367
381
  }[];
@@ -636,6 +650,7 @@ export declare const componentsDefaultProps: {
636
650
  transform: string;
637
651
  backgroundColor: string;
638
652
  height: string;
653
+ opacity: number;
639
654
  slides: {
640
655
  image: string;
641
656
  }[];
@@ -658,6 +673,20 @@ export declare const componentsDefaultProps: {
658
673
  buttonText: string;
659
674
  };
660
675
  };
676
+ 'uni-tanmu': {
677
+ props: {
678
+ left: string;
679
+ top: string;
680
+ width: string;
681
+ transform: string;
682
+ backgroundColor: string;
683
+ height: string;
684
+ opacity: number;
685
+ slides: {
686
+ image: string;
687
+ }[];
688
+ };
689
+ };
661
690
  };
662
691
  export declare const isEditingProp: {
663
692
  isEditing: {
@@ -17,8 +17,9 @@ import UniRegisterForm from './components/UniRegisterForm';
17
17
  import UniLotties from './components/UniLotties';
18
18
  import UniSwiper from './components/UniSwiper';
19
19
  import UniButton from './components/UniButton';
20
+ import UniTanmu from './components/UniTanmu';
20
21
  declare const install: (app: App) => void;
21
- export { UniText, UniImage, UniShape, LongPage, SwiperPage, UniBackground, UniMusic, UniVideo, UniCalendar, UniCountdown, UniMap, UniCall, UniLike, UniEffect, UniRegisterForm, UniLotties, UniSwiper, UniButton, install };
22
+ export { UniText, UniImage, UniShape, LongPage, SwiperPage, UniBackground, UniMusic, UniVideo, UniCalendar, UniCountdown, UniMap, UniCall, UniLike, UniEffect, UniRegisterForm, UniLotties, UniSwiper, UniButton, UniTanmu, install };
22
23
  declare const _default: {
23
24
  install: (app: App<any>) => void;
24
25
  };