helpdock 0.1.1 → 0.1.2

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.
@@ -15,6 +15,7 @@ export declare class ContactTab extends LitElement {
15
15
  private uploadErrors;
16
16
  private hasTrackedContactView;
17
17
  firstUpdated(): void;
18
+ private initializeFormDefaults;
18
19
  private handleInput;
19
20
  private handleFieldFocus;
20
21
  private validateForm;
@@ -37,12 +37,14 @@ export declare const configContext: {
37
37
  required: boolean;
38
38
  type: "text";
39
39
  placeholder?: string | undefined;
40
+ defaultValue?: string | undefined;
40
41
  } | {
41
42
  name: string;
42
43
  label: string;
43
44
  required: boolean;
44
45
  type: "email";
45
46
  placeholder?: string | undefined;
47
+ defaultValue?: string | undefined;
46
48
  } | {
47
49
  name: string;
48
50
  label: string;
@@ -50,6 +52,7 @@ export declare const configContext: {
50
52
  type: "textarea";
51
53
  rows: number;
52
54
  placeholder?: string | undefined;
55
+ defaultValue?: string | undefined;
53
56
  } | {
54
57
  name: string;
55
58
  label: string;
@@ -60,6 +63,7 @@ export declare const configContext: {
60
63
  label: string;
61
64
  }[];
62
65
  placeholder?: string | undefined;
66
+ defaultValue?: string | undefined;
63
67
  })[];
64
68
  attachments: {
65
69
  mode: "disabled";
@@ -96,6 +100,15 @@ export declare const configContext: {
96
100
  success: import("zod/mini").ZodMiniDefault<import("zod/mini").ZodMiniBoolean<boolean>>;
97
101
  message: import("zod/mini").ZodMiniString<string>;
98
102
  }, import("zod/v4/core").$strip>>>;
103
+ beforeSubmit?: import("zod/v4/core").$InferOuterFunctionType<import("zod/mini").ZodMiniTuple<[import("zod/mini").ZodMiniObject<{
104
+ fields: import("zod/mini").ZodMiniRecord<import("zod/mini").ZodMiniString<string>, import("zod/mini").ZodMiniUnknown>;
105
+ }, import("zod/v4/core").$strip>], null>, import("zod/mini").ZodMiniPromise<import("zod/mini").ZodMiniDiscriminatedUnion<[import("zod/mini").ZodMiniObject<{
106
+ proceed: import("zod/mini").ZodMiniLiteral<true>;
107
+ extraFields: import("zod/mini").ZodMiniOptional<import("zod/mini").ZodMiniRecord<import("zod/mini").ZodMiniString<string>, import("zod/mini").ZodMiniUnknown>>;
108
+ }, import("zod/v4/core").$strip>, import("zod/mini").ZodMiniObject<{
109
+ proceed: import("zod/mini").ZodMiniLiteral<false>;
110
+ error: import("zod/mini").ZodMiniString<string>;
111
+ }, import("zod/v4/core").$strip>], "proceed">>> | undefined;
99
112
  };
100
113
  submitButtonText: string;
101
114
  subtitle?: string | undefined;