yswk-ui 0.0.7 → 0.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.
@@ -1,5 +1,9 @@
1
1
  import { IProps } from './type';
2
- declare const _default: import('vue').DefineComponent<IProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<IProps> & Readonly<{}>, {
2
+ declare const _default: import('vue').DefineComponent<IProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
3
+ comEvent: (...args: any[]) => void;
4
+ }, string, import('vue').PublicProps, Readonly<IProps> & Readonly<{
5
+ onComEvent?: ((...args: any[]) => any) | undefined;
6
+ }>, {
3
7
  styleSchema: import('./type').StyleSchema;
4
8
  businessSchema: import('./type').BusinessSchema;
5
9
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
@@ -27,6 +27,13 @@ export interface BusinessSchema {
27
27
  image?: {
28
28
  imageUrl?: string;
29
29
  };
30
+ trackingSet?: {
31
+ trackingList?: Array<{
32
+ relative: string;
33
+ code: string;
34
+ type: string;
35
+ }>;
36
+ };
30
37
  }
31
38
  export interface IProps {
32
39
  styleSchema?: StyleSchema;
@@ -8,10 +8,26 @@ interface StyleSchema {
8
8
  bottomBg: string;
9
9
  };
10
10
  }
11
+ interface TrackingItem {
12
+ relative: string;
13
+ code: string;
14
+ type: string;
15
+ }
16
+ interface BusinessSchema {
17
+ trackingSet?: {
18
+ trackingList?: TrackingItem[];
19
+ };
20
+ }
11
21
  interface Props {
12
22
  styleSchema?: StyleSchema;
23
+ businessSchema?: BusinessSchema;
13
24
  }
14
- declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
25
+ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
26
+ comEvent: (...args: any[]) => void;
27
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
28
+ onComEvent?: ((...args: any[]) => any) | undefined;
29
+ }>, {
15
30
  styleSchema: StyleSchema;
31
+ businessSchema: BusinessSchema;
16
32
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
17
33
  export default _default;
@@ -22,13 +22,25 @@ interface StyleSchema {
22
22
  showControls: boolean;
23
23
  };
24
24
  }
25
+ interface TrackingItem {
26
+ relative: string;
27
+ code: string;
28
+ type: string;
29
+ }
25
30
  interface BusinessSchema {
31
+ trackingSet?: {
32
+ trackingList?: TrackingItem[];
33
+ };
26
34
  }
27
35
  interface Props {
28
36
  styleSchema?: StyleSchema;
29
37
  businessSchema?: BusinessSchema;
30
38
  }
31
- declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
39
+ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
40
+ comEvent: (...args: any[]) => void;
41
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
42
+ onComEvent?: ((...args: any[]) => any) | undefined;
43
+ }>, {
32
44
  styleSchema: StyleSchema;
33
45
  businessSchema: BusinessSchema;
34
46
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
@@ -2,7 +2,11 @@ import { IProps } from './type';
2
2
  declare const _default: import('vue').DefineComponent<IProps, {
3
3
  showAlert: () => void;
4
4
  checkActivityStatus: () => "notStarted" | "ended" | "active";
5
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<IProps> & Readonly<{}>, {
5
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
6
+ comEvent: (...args: any[]) => void;
7
+ }, string, import('vue').PublicProps, Readonly<IProps> & Readonly<{
8
+ onComEvent?: ((...args: any[]) => any) | undefined;
9
+ }>, {
6
10
  styleSchema: import('./type').StyleSchema;
7
11
  businessSchema: import('./type').BusinessSchema;
8
12
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
@@ -1,3 +1,4 @@
1
+ import { IActivityInfo } from '../../../../types/act';
1
2
  export interface StyleSchema {
2
3
  alertType: 'toast' | 'confirm' | 'dialog';
3
4
  notStartedText: string;
@@ -10,6 +11,7 @@ export interface BusinessSchema {
10
11
  export interface IProps {
11
12
  styleSchema?: StyleSchema;
12
13
  businessSchema?: BusinessSchema;
14
+ activityInfo?: IActivityInfo;
13
15
  }
14
16
  export declare const defaultProps: {
15
17
  styleSchema: () => {
@@ -35,7 +35,7 @@ export interface StyleSchema {
35
35
  };
36
36
  overflow: {
37
37
  whiteSpace: 'nowrap' | 'normal' | 'pre-wrap';
38
- wordBreak: 'normal' | 'break-all' | 'break-word';
38
+ wordBreak?: 'normal' | 'break-all' | 'break-word';
39
39
  enableScroll: boolean;
40
40
  maxLines: number;
41
41
  };
@@ -1,4 +1,9 @@
1
1
  import { IApiConfig } from '../../../types/component';
2
+ export interface ITrackingItem {
3
+ name: string;
4
+ code: string;
5
+ type: string;
6
+ }
2
7
  export interface StyleSchema {
3
8
  overlay: {
4
9
  openEditView: boolean;
@@ -114,6 +119,13 @@ export interface StyleSchema {
114
119
  };
115
120
  }
116
121
  export interface BusinessSchema {
122
+ trackingSet?: {
123
+ trackingList?: Array<{
124
+ relative: string;
125
+ code: string;
126
+ type: string;
127
+ }>;
128
+ };
117
129
  preCode: {
118
130
  preCodeVal: string;
119
131
  };
@@ -126,6 +126,13 @@ export interface BusinessSchema {
126
126
  jumpConfig: {
127
127
  jumpUrl: string;
128
128
  };
129
+ trackingSet?: {
130
+ trackingList?: Array<{
131
+ relative: string;
132
+ code: string;
133
+ type: string;
134
+ }>;
135
+ };
129
136
  }
130
137
  export interface IProps {
131
138
  styleSchema?: StyleSchema;
@@ -132,6 +132,13 @@ export interface BusinessSchema {
132
132
  jumpConfig: {
133
133
  jumpUrl: string;
134
134
  };
135
+ trackingSet?: {
136
+ trackingList?: Array<{
137
+ relative: string;
138
+ code: string;
139
+ type: string;
140
+ }>;
141
+ };
135
142
  }
136
143
  export interface IProps {
137
144
  styleSchema?: StyleSchema;
@@ -59,10 +59,12 @@ export declare const LOCATION_INFO_KEY = "wkc-session-key-locationInfo";
59
59
  export declare const USER_INFO_KEY = "wkc-session-key-userInfo";
60
60
  export declare const RETAIL_INFO_KEY = "wkc-session-key-retailerInfo";
61
61
  export declare const ACT_REDIRECT_URL = "/service/activity/act/access/redirect?";
62
+ export declare const COMPONENT_EMIT_KEY = "comEvent";
62
63
  export declare const COMPONENT_EVENT: {
63
64
  pageChange: string;
64
65
  lockScroll: string;
65
66
  closeWindow: string;
66
67
  getLocation: string;
67
68
  wxShare: string;
69
+ tracking: string;
68
70
  };