import {a}from'./chunk-SYDG6PPD.js';import {nativeHandle}from'@scandit/web-datacapture-core/build/js/private/nativeHandle.js';var n=class n{constructor(t){this.missingFieldsHintText="";this.standbyHintText="";this.validationHintText="";this.validationErrorText="";this.requiredFieldErrorText="";this.manualInputButtonText="";this[nativeHandle]=t;}async setMissingFieldsHintText(t){await a().workerCommand("validationFlowSettingsSetMissingFieldsHintText",{payload:{settingsHandle:this[nativeHandle],text:t}}),this.missingFieldsHintText=t;}async getMissingFieldsHintText(){let t=await a().workerCommand("validationFlowSettingsGetMissingFieldsHintText",{payload:{settingsHandle:this[nativeHandle]}});return this.missingFieldsHintText=t,t}async setStandbyHintText(t){await a().workerCommand("validationFlowSettingsSetStandbyHintText",{payload:{settingsHandle:this[nativeHandle],text:t}}),this.standbyHintText=t;}async getStandbyHintText(){let t=await a().workerCommand("validationFlowSettingsGetStandbyHintText",{payload:{settingsHandle:this[nativeHandle]}});return this.standbyHintText=t,t}async setValidationHintText(t){await a().workerCommand("validationFlowSettingsSetValidationHintText",{payload:{settingsHandle:this[nativeHandle],text:t}}),this.validationHintText=t;}async getValidationHintText(){let t=await a().workerCommand("validationFlowSettingsGetValidationHintText",{payload:{settingsHandle:this[nativeHandle]}});return this.validationHintText=t,t}async setValidationErrorText(t){await a().workerCommand("validationFlowSettingsSetValidationErrorText",{payload:{settingsHandle:this[nativeHandle],text:t}}),this.validationErrorText=t;}async getValidationErrorText(){let t=await a().workerCommand("validationFlowSettingsGetValidationErrorText",{payload:{settingsHandle:this[nativeHandle]}});return this.validationErrorText=t,t}async setRequiredFieldErrorText(t){await a().workerCommand("validationFlowSettingsSetRequiredFieldErrorText",{payload:{settingsHandle:this[nativeHandle],text:t}}),this.requiredFieldErrorText=t;}async getRequiredFieldErrorText(){let t=await a().workerCommand("validationFlowSettingsGetRequiredFieldErrorText",{payload:{settingsHandle:this[nativeHandle]}});return this.requiredFieldErrorText=t,t}async setManualInputButtonText(t){await a().workerCommand("validationFlowSettingsSetManualInputButtonText",{payload:{settingsHandle:this[nativeHandle],text:t}}),this.manualInputButtonText=t;}async getManualInputButtonText(){let t=await a().workerCommand("validationFlowSettingsGetManualInputButtonText",{payload:{settingsHandle:this[nativeHandle]}});return this.manualInputButtonText=t,t}static async create(){let t=await a().workerCommand("validationFlowSettingsCreate",{payload:{}}),a$1=new n(t);return await Promise.all([a$1.getMissingFieldsHintText(),a$1.getStandbyHintText(),a$1.getValidationHintText(),a$1.getRequiredFieldErrorText(),a$1.getManualInputButtonText(),a$1.getValidationErrorText()]),a$1}},r=n;export{r as a};