bhl-forms 0.0.36 → 0.0.37
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.
package/dist/bhl-forms.es.js
CHANGED
|
@@ -10873,12 +10873,14 @@ const fireStepEvent = (formNode) => (stepResult, stepHistory2, stepQueue2) => {
|
|
|
10873
10873
|
const form_id = formNode.attrs.formId || window.location.hostname + "-" + formNode.id;
|
|
10874
10874
|
if (typeof window._analytics !== "undefined") {
|
|
10875
10875
|
try {
|
|
10876
|
-
|
|
10876
|
+
var body = {
|
|
10877
10877
|
"form_source": "formkit",
|
|
10878
10878
|
"form_id": form_id,
|
|
10879
|
-
"
|
|
10880
|
-
"
|
|
10881
|
-
}
|
|
10879
|
+
"step_count": stepHistory2.value.length,
|
|
10880
|
+
"step_name": stepHistory2.value[stepHistory2.value.length - 1]
|
|
10881
|
+
};
|
|
10882
|
+
dbg(body);
|
|
10883
|
+
window._analytics.track("form-step", body, {
|
|
10882
10884
|
plugins: {
|
|
10883
10885
|
"google-tag-manager": false
|
|
10884
10886
|
}
|
|
@@ -10911,6 +10913,14 @@ const boxClassification = {
|
|
|
10911
10913
|
input: "t-form-check-input t-appearance-none t-h-5 t-w-5 t-mr-2 t-border t-border-gray-500 t-rounded-sm t-bg-white checked:t-bg-blue-500 focus:t-outline-none focus:t-ring-0 t-transition t-duration-100",
|
|
10912
10914
|
label: "t-text-sm t-text-gray-700"
|
|
10913
10915
|
};
|
|
10916
|
+
const checkBoxClassification = {
|
|
10917
|
+
fieldset: "t-max-w-md t-border t-border-gray-400 t-rounded-md t-px-2 t-pb-1",
|
|
10918
|
+
legend: "t-font-bold t-text-sm",
|
|
10919
|
+
wrapper: "t-flex t-items-center t-mb-1 t-cursor-pointer",
|
|
10920
|
+
help: "t-mb-2",
|
|
10921
|
+
input: "t-h-5 t-w-5 t-mr-2 t-border t-border-gray-500 t-rounded-sm t-bg-white checked:t-bg-blue-500 focus:t-outline-none focus:t-ring-0 t-transition t-duration-100",
|
|
10922
|
+
label: "t-text-sm t-text-gray-700"
|
|
10923
|
+
};
|
|
10914
10924
|
const buttonClassification = {
|
|
10915
10925
|
wrapper: "t-mb-1",
|
|
10916
10926
|
input: "t-bg-red-500 hover:t-bg-red-600 t-text-white t-text-lg t-font-normal t-py-4 t-px-7 sm:t-px-10 t-rounded",
|
|
@@ -10930,7 +10940,7 @@ var theme = {
|
|
|
10930
10940
|
},
|
|
10931
10941
|
date: textClassification,
|
|
10932
10942
|
"datetime-local": textClassification,
|
|
10933
|
-
checkbox:
|
|
10943
|
+
checkbox: checkBoxClassification,
|
|
10934
10944
|
email: textClassification,
|
|
10935
10945
|
file: {
|
|
10936
10946
|
label: "t-block t-mb-1 t-font-bold t-text-sm",
|