unika-components 1.0.6 → 1.0.8

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.
@@ -0,0 +1,3 @@
1
+ export declare const swiperAnimateCache: () => void;
2
+ export declare const swiperAnimate: (a: any) => void;
3
+ export declare const clearSwiperAnimate: () => void;
@@ -1,20 +1,31 @@
1
1
  import { PropType } from 'vue';
2
- import { ComponentData, PageData } from '../../defaultProps';
2
+ import { ComponentData, WorkData } from '../../defaultProps';
3
+ import 'swiper/swiper-bundle.css';
3
4
  declare const _default: import("vue").DefineComponent<{
4
- page: {
5
- type: PropType<PageData>;
5
+ work: {
6
+ type: PropType<WorkData>;
7
+ require: boolean;
6
8
  };
7
9
  components: {
8
10
  type: PropType<ComponentData[]>;
9
- required: true;
10
11
  };
11
- }, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
12
- page: {
13
- type: PropType<PageData>;
12
+ }, {
13
+ componentRefs: import("vue").Ref<Map<any, any> & Omit<Map<any, any>, keyof Map<any, any>>>;
14
+ setComponentRef: (el: any) => void;
15
+ onSlideChange: (swiper: any) => void;
16
+ onSwiper: (swiper: any) => void;
17
+ modules: import("swiper/types").SwiperComponent[];
18
+ direction: string;
19
+ effect: string;
20
+ upArrow: import("vue").Ref<boolean>;
21
+ slideChangeTransitionEnd: (e: any) => void;
22
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
23
+ work: {
24
+ type: PropType<WorkData>;
25
+ require: boolean;
14
26
  };
15
27
  components: {
16
28
  type: PropType<ComponentData[]>;
17
- required: true;
18
29
  };
19
30
  }>>, {}, {}>;
20
31
  export default _default;
@@ -1,9 +1,30 @@
1
+ export interface Animations {
2
+ type?: string;
3
+ duration?: number;
4
+ delay?: number;
5
+ interationCount?: number;
6
+ infinite?: boolean;
7
+ }
1
8
  export interface ComponentData {
2
9
  props: {
3
10
  [key: string]: any;
4
11
  };
12
+ type?: string;
13
+ animations: Array<Animations>;
14
+ events?: Array<{
15
+ [key: string]: any;
16
+ }>;
17
+ methodList?: Array<{
18
+ [key: string]: any;
19
+ }>;
20
+ scripts?: Array<{
21
+ [key: string]: any;
22
+ }>;
5
23
  id: string;
6
24
  name: string;
25
+ groupId?: string;
26
+ groupType?: string;
27
+ buildUpStatus?: boolean;
7
28
  layerName?: string;
8
29
  isHidden?: boolean;
9
30
  isLocked?: boolean;
@@ -26,6 +47,7 @@ export interface WorkData {
26
47
  [key: string]: any;
27
48
  };
28
49
  type?: string;
50
+ effect?: 'slide' | 'fade' | 'cube' | 'coverflow' | 'flip' | undefined;
29
51
  width?: string;
30
52
  height?: string;
31
53
  pageMode?: string;