@jctrans-materials/comps-vue3 1.0.42-beta.5 → 1.0.42-beta.6

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,31 @@
1
+ /**
2
+ * 埋点属性值类型:GIO 运行时允许 boolean(见 tracker._validateAttributes),
3
+ * 但官方类型 GioAttributes 未包含,故此处单独定义并在调用边界断言。
4
+ */
5
+ export type GioTrackValue = string | number | boolean | Array<string | number>;
6
+ export type GioTrackAttrs = Record<string, GioTrackValue | null | undefined>;
7
+ /**
8
+ * 安全调用 GIO track,未初始化时静默跳过
9
+ */
10
+ export declare function safeTrack(eventName: string, attrs?: GioTrackAttrs): void;
11
+ export declare const GIO_EVENT_REGISTER_NEXT_STEP = "registerNextStepClick";
12
+ export declare const GIO_EVENT_LOGIN_DIALOG_CLOSE = "loginDialogClose";
13
+ export type RegisterNextStepAttrs = {
14
+ registerType: "normal" | "facebook" | "linkedin" | "wechat";
15
+ };
16
+ export type LoginDialogCloseAttrs = {
17
+ closeType: "login" | "register" | "directClose";
18
+ registerType: "normal" | "facebook" | "linkedin" | "wechat" | "login";
19
+ isJoinCompany: boolean;
20
+ verifyCodeCount: number;
21
+ verifyCodeExpired: boolean;
22
+ hasPhone?: boolean;
23
+ hasEmail?: boolean;
24
+ hasCode?: boolean;
25
+ hasName?: boolean;
26
+ cityId?: string;
27
+ companyName?: string;
28
+ sector?: string;
29
+ agree?: boolean;
30
+ useKq?: boolean;
31
+ };
@@ -9,6 +9,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
9
9
  baseMode?: string;
10
10
  appId?: string;
11
11
  test?: boolean;
12
+ enableTracking?: boolean;
12
13
  }>, {
13
14
  visible: boolean;
14
15
  lang: string;
@@ -18,6 +19,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
18
19
  baseMode: string;
19
20
  appId: string;
20
21
  test: boolean;
22
+ enableTracking: boolean;
21
23
  }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
22
24
  "update:visible": (value: boolean) => void;
23
25
  open: () => void;
@@ -41,6 +43,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
41
43
  baseMode?: string;
42
44
  appId?: string;
43
45
  test?: boolean;
46
+ enableTracking?: boolean;
44
47
  }>, {
45
48
  visible: boolean;
46
49
  lang: string;
@@ -50,6 +53,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
50
53
  baseMode: string;
51
54
  appId: string;
52
55
  test: boolean;
56
+ enableTracking: boolean;
53
57
  }>>> & Readonly<{
54
58
  "onUpdate:visible"?: ((value: boolean) => any) | undefined;
55
59
  onOpen?: (() => any) | undefined;
@@ -73,6 +77,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
73
77
  loginPath: string;
74
78
  showTestThirdBtn: boolean;
75
79
  baseMode: string;
80
+ enableTracking: boolean;
76
81
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
77
82
  export default _default;
78
83
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;