@habit.analytics/habit-claims-journey-components 2.1.4 → 2.1.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,12 @@
|
|
|
1
|
+
interface ConfirmDialogProps {
|
|
2
|
+
open: boolean;
|
|
3
|
+
onOpenChange: (open: boolean) => void;
|
|
4
|
+
title?: string;
|
|
5
|
+
description: string;
|
|
6
|
+
confirmLabel?: string;
|
|
7
|
+
cancelLabel?: string;
|
|
8
|
+
destructive?: boolean;
|
|
9
|
+
onConfirm: () => void;
|
|
10
|
+
}
|
|
11
|
+
export declare function ConfirmDialog({ open, onOpenChange, title, description, confirmLabel, cancelLabel, destructive, onConfirm, }: ConfirmDialogProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export {};
|
|
@@ -37,5 +37,11 @@ export interface FormRunnerWidgetProps {
|
|
|
37
37
|
initialAnswers?: Record<string, unknown>;
|
|
38
38
|
googleMapsApiKey?: string;
|
|
39
39
|
fullScreen?: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* Whether to show the welcome / onboarding screen before the first step.
|
|
42
|
+
* Defaults to `true` (v1.x parity). Set to `false` to enter the form
|
|
43
|
+
* directly.
|
|
44
|
+
*/
|
|
45
|
+
showWelcome?: boolean;
|
|
40
46
|
}
|
|
41
47
|
export declare function FormRunnerWidget(props: FormRunnerWidgetProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -14,8 +14,8 @@ declare const en: {
|
|
|
14
14
|
readonly runner_save_exit: "Save & Exit";
|
|
15
15
|
readonly runner_ready_title: "Ready to begin";
|
|
16
16
|
readonly runner_onboarding_subtitle: "Before you start, make sure you have the following:";
|
|
17
|
-
readonly runner_onboarding_line1: "Before you start, have
|
|
18
|
-
readonly runner_onboarding_line2: "We may ask for
|
|
17
|
+
readonly runner_onboarding_line1: "Before you start, please have the relevant information about the incident ready.";
|
|
18
|
+
readonly runner_onboarding_line2: "We may ask for details such as a description of the incident, the date, location, or supporting documents.";
|
|
19
19
|
readonly runner_onboarding_photos: "Photos of the incident (damage, location, context)";
|
|
20
20
|
readonly runner_onboarding_documents: "Relevant documents (policy, ID, etc.)";
|
|
21
21
|
readonly runner_onboarding_datetime: "Date and time of the event";
|
|
@@ -179,6 +179,7 @@ declare const en: {
|
|
|
179
179
|
readonly fc_no_steps: "No steps yet.";
|
|
180
180
|
readonly fc_no_steps_hint_click: "Click";
|
|
181
181
|
readonly fc_no_steps_hint_to_begin: "to begin.";
|
|
182
|
+
readonly fc_confirm_title: "Are you sure?";
|
|
182
183
|
readonly fc_confirm_delete_step: "Delete this step?";
|
|
183
184
|
readonly fc_step_empty_select: "Select a step on the left.";
|
|
184
185
|
readonly fc_step_empty_create: "Add a step from the left panel to begin.";
|
|
@@ -269,14 +270,18 @@ declare const en: {
|
|
|
269
270
|
readonly fc_init_prefill_hint: "Fetch answers from an endpoint when the runner mounts.";
|
|
270
271
|
readonly fc_init_mapping: "Mapping (JSON: namespace → response_path)";
|
|
271
272
|
readonly fc_json_title: "JSON";
|
|
272
|
-
readonly fc_json_hint: "Raw JourneySpec (form_config + theme). Edit and click
|
|
273
|
-
readonly fc_json_refresh: "
|
|
273
|
+
readonly fc_json_hint: "Raw JourneySpec (form_config + theme). Edit and click Apply to update the configurator.";
|
|
274
|
+
readonly fc_json_refresh: "Reload from configurator";
|
|
275
|
+
readonly fc_json_refresh_hint: "Discard JSON edits and reload from the current configurator state";
|
|
274
276
|
readonly fc_json_copy: "Copy";
|
|
275
277
|
readonly fc_json_download: "Download";
|
|
276
|
-
readonly fc_json_import: "
|
|
278
|
+
readonly fc_json_import: "Apply changes";
|
|
279
|
+
readonly fc_json_apply_hint: "Apply the JSON edits to the configurator";
|
|
277
280
|
readonly fc_json_imported_ok: "Imported successfully";
|
|
278
281
|
readonly fc_json_copied: "Copied to clipboard";
|
|
279
282
|
readonly fc_json_invalid: "Invalid JSON";
|
|
283
|
+
readonly fc_json_upload: "Upload File";
|
|
284
|
+
readonly fc_json_file_error: "Could not read the file.";
|
|
280
285
|
readonly fc_create_field_title: "Add field";
|
|
281
286
|
readonly fc_create_field_subtitle: "Pick from the catalog or create a custom field.";
|
|
282
287
|
readonly fc_create_from_catalog: "From catalog ({{count}})";
|