@visitscotland/component-library 5.36.0 → 5.37.0
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/client/manifest.json +8 -8
- package/dist/client/scripts/9a7df6c964746be2019a.js +1 -0
- package/dist/components/src/components/form/Form.vue.d.ts +19 -0
- package/dist/components/vs-component-library.js +1 -1
- package/dist/components/vs-component-library.mjs +11 -1
- package/dist/ssr/index.js +1 -1
- package/dist/ssr/manifest.json +1 -1
- package/package.json +1 -1
- package/dist/client/scripts/859084a4cae6374e0ecc.js +0 -1
- /package/dist/client/styles/{859084a4cae6374e0ecc.css → 9a7df6c964746be2019a.css} +0 -0
- /package/dist/ssr/styles/{6a08107ad4b45fb54080.css → f22cb4c1d369afb7359b.css} +0 -0
|
@@ -25502,6 +25502,15 @@ const VsTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["render", _sfc_ren
|
|
|
25502
25502
|
isTest: {
|
|
25503
25503
|
type: Boolean,
|
|
25504
25504
|
default: !0
|
|
25505
|
+
},
|
|
25506
|
+
/**
|
|
25507
|
+
* Defines a set of consents which are implied by submission, to be stored in BREG. If this
|
|
25508
|
+
* is defined it should be included as part of the submission.
|
|
25509
|
+
*/
|
|
25510
|
+
consentList: {
|
|
25511
|
+
type: Array,
|
|
25512
|
+
required: !1,
|
|
25513
|
+
default: null
|
|
25505
25514
|
}
|
|
25506
25515
|
},
|
|
25507
25516
|
data() {
|
|
@@ -25765,7 +25774,8 @@ const VsTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["render", _sfc_ren
|
|
|
25765
25774
|
...this.form,
|
|
25766
25775
|
...n,
|
|
25767
25776
|
formType: this.formData.content ? this.formData.content.formType : "",
|
|
25768
|
-
"g-recaptcha-response": e
|
|
25777
|
+
"g-recaptcha-response": e,
|
|
25778
|
+
consentList: this.consentList
|
|
25769
25779
|
}
|
|
25770
25780
|
).then(() => (this.submitting = !1, this.submitted = !0, this.attachEmail(), !1)).catch(() => (this.submitError = !0, !1));
|
|
25771
25781
|
},
|