unika-components 1.0.361 → 1.0.363

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,43 +1,59 @@
1
- import { FormInstance } from 'ant-design-vue';
2
- declare const _default: import("vue").DefineComponent<{
3
- publishContentID: {
4
- type: StringConstructor;
5
- default: string;
1
+ interface BulletItem {
2
+ id: number;
3
+ name: string;
4
+ message: string;
5
+ top: number;
6
+ delay: number;
7
+ }
8
+ interface BulletConfig {
9
+ bgColor: string;
10
+ textColor: string;
11
+ speed: number;
12
+ maxBullets: number;
13
+ lineHeight: number;
14
+ visibleLines: number;
15
+ }
16
+ declare const __default__: import("vue").DefineComponent<{
17
+ bulletConfig: {
18
+ type: () => BulletConfig;
19
+ default: () => {
20
+ bgColor: string;
21
+ textColor: string;
22
+ speed: number;
23
+ maxBullets: number;
24
+ lineHeight: number;
25
+ visibleLines: number;
26
+ };
6
27
  };
7
28
  }, {
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>;
29
+ name: import("vue").Ref<string>;
30
+ message: import("vue").Ref<string>;
31
+ showPopup: import("vue").Ref<boolean>;
32
+ showBullets: import("vue").Ref<boolean>;
33
+ nameInput: import("vue").Ref<HTMLInputElement | null>;
34
+ toolbar: import("vue").Ref<HTMLElement | null>;
35
+ toolbarHeight: import("vue").Ref<string>;
36
+ visibleBullets: import("vue").Ref<BulletItem[]>;
37
+ toggleBullets: () => void;
38
+ openPopup: () => void;
39
+ closePopup: () => void;
40
+ handleFocus: (e: Event) => void;
41
+ submitBlessing: () => Promise<void>;
42
+ bulletContainerHeightPx: import("vue").ComputedRef<string>;
43
+ bulletTransformOffsetPx: import("vue").ComputedRef<string>;
35
44
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
36
- publishContentID: {
37
- type: StringConstructor;
38
- default: string;
45
+ bulletConfig: {
46
+ type: () => BulletConfig;
47
+ default: () => {
48
+ bgColor: string;
49
+ textColor: string;
50
+ speed: number;
51
+ maxBullets: number;
52
+ lineHeight: number;
53
+ visibleLines: number;
54
+ };
39
55
  };
40
56
  }>>, {
41
- publishContentID: string;
57
+ bulletConfig: BulletConfig;
42
58
  }, {}>;
43
- export default _default;
59
+ export default __default__;
@@ -23,19 +23,21 @@ declare const _default: import("vue").DefineComponent<{
23
23
  }>;
24
24
  showPageIndicator: import("vue").ComputedRef<boolean>;
25
25
  pageTransition: import("vue").ComputedRef<"fade" | "slide-up" | "slide-down">;
26
+ isScrollMode: import("vue").ComputedRef<boolean>;
27
+ showPopup: Ref<boolean>;
26
28
  getPageStyle: (page: PageData) => {
27
29
  backgroundColor: string;
28
30
  backgroundImage: string;
29
31
  opacity: string;
30
32
  animation: string;
31
33
  };
34
+ handleSubmit: (formData: Record<string, any>) => Promise<void>;
32
35
  switchPage: (pageId: string) => void;
33
36
  handleElementTrigger: (payload: {
34
37
  elementId: string;
35
38
  eventType: string;
36
39
  data: any;
37
40
  }) => void;
38
- isScrollMode: import("vue").ComputedRef<boolean>;
39
41
  handleTouchStart: (e: TouchEvent) => void;
40
42
  handleTouchMove: (e: TouchEvent) => void;
41
43
  handleTouchEnd: (e: TouchEvent) => void;
@@ -16,13 +16,15 @@ import UniRegisterForm from './components/UniRegisterForm';
16
16
  import UniLotties from './components/UniLotties';
17
17
  import UniButton from './components/UniButton';
18
18
  import UniBulidUp from './components/UniBulidUp';
19
+ import UniTanmu from './components/UniTanmu';
19
20
  import UniTest from './components/UniTest';
20
21
  import UniSvg from './components/UniSvg';
22
+ import WorkRender from './components/WorkRender';
21
23
  import UniFormInput from './components/UniFormInput';
22
24
  import UniFormSubmit from './components/UniFormSubmit';
23
25
  import UniFormContainer from './components/UniFormContainer';
24
26
  declare const install: (app: App) => void;
25
- export { UniText, UniImage, UniShape, LongPage, UniBackground, UniMusic, UniVideo, UniCalendar, UniCountdown, UniMap, UniCall, UniLike, UniEffect, UniRegisterForm, UniLotties, UniButton, UniBulidUp, UniSvg, UniTest, UniFormInput, UniFormSubmit, UniFormContainer, install };
27
+ export { UniText, UniImage, UniShape, LongPage, UniBackground, UniMusic, UniVideo, UniCalendar, UniCountdown, UniMap, UniCall, UniLike, UniEffect, UniRegisterForm, UniLotties, UniButton, UniBulidUp, UniSvg, UniTanmu, UniTest, WorkRender, UniFormInput, UniFormSubmit, UniFormContainer, install };
26
28
  declare const _default: {
27
29
  install: (app: App<any>) => void;
28
30
  };