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WAET,EAEAxK,QAAS,CACPyK,WAAAA,GACEtK,KAAKoK,MAAO,CACd,EAEAC,SAAAA,GACErK,KAAKoK,MAAO,EACZhJ,YAAW,KACTpB,KAAKsK,aAAa,GACjB,IACL,IC1CJ,OAFiC,E,SAAA,GAAgB,EAAQ,CAAC,CAAC,S,wCDNzD/E,EAAAA,EAAAA,IAMagF,EAAAA,GAAA,CANDrE,KAAK,aAAasE,OAAA,KADhClL,SAAAyJ,EAAAA,EAAAA,KAC4C,IAGA,CAF7BG,EAAAkB,OAAI,WAAf7G,EAAAA,EAAAA,IAIM,OANVY,IAAA,EAEsBV,OAFtBuC,EAAAA,EAAAA,IAAA,gCAE+DxC,EAAA0G,sBAAiB,EAC1EjE,EAAAA,EAAAA,IAEM,OAFAxC,OAHZuC,EAAAA,EAAAA,IAAA,iBAGqCxC,EAAAgB,QAAI,EACjCV,EAAAA,EAAAA,IAA+BD,EAAAE,OAAA,0BAAA7C,GAAA,aAJvCqF,EAAAA,EAAAA,IAAA,UAAAyC,EAAA,MCO4E,CAAC,YAAY,oB","sources":["webpack://agra/./app/javascript/components/inputs/mixins/persist-and-toast.js","webpack://agra/./app/javascript/components/inputs/mixins/text-field-mixin.js","webpack://agra/./app/javascript/components/inputs/mixins/with-input-id-and-name.js","webpack://agra/./app/javascript/components/inputs/radio-buttons-input-mixin.js","webpack://agra/./app/javascript/components/buttons/primary-button.vue","webpack://agra/./app/javascript/components/buttons/primary-button.vue?ee67","webpack://agra/./app/javascript/components/inputs/additional-field.vue","webpack://agra/./app/javascript/components/inputs/additional-field.vue?ca0a","webpack://agra/./app/javascript/components/inputs/checkbox-input.vue","webpack://agra/./app/javascript/components/inputs/checkbox-input.vue?20a0","webpack://agra/./app/javascript/components/inputs/eu-data-processing-consent.vue","webpack://agra/./app/javascript/components/inputs/eu-data-processing-consent.vue?16e3","webpack://agra/./app/javascript/components/inputs/first-name-field.vue","webpack://agra/./app/javascript/components/inputs/first-name-field.vue?ecf0","webpack://agra/./app/javascript/components/inputs/last-name-field.vue","webpack://agra/./app/javascript/components/inputs/last-name-field.vue?7ff1","webpack://agra/./app/javascript/components/inputs/name-field.vue","webpack://agra/./app/javascript/components/inputs/name-field.vue?a5bc","webpack://agra/./app/javascript/components/inputs/phone-number-field.vue","webpack://agra/./app/javascript/components/inputs/phone-number-field.vue?0f4a","webpack://agra/./app/javascript/components/inputs/postcode-field.vue","webpack://agra/./app/javascript/components/inputs/postcode-field.vue?f364","webpack://agra/./app/javascript/components/inputs/radio-buttons-input.vue","webpack://agra/./app/javascript/components/inputs/radio-buttons-input.vue?f84d","webpack://agra/./app/javascript/components/inputs/selector-input.vue","webpack://agra/./app/javascript/components/inputs/selector-input.vue?5e51","webpack://agra/./app/javascript/components/inputs/text-input.vue","webpack://agra/./app/javascript/components/inputs/text-input.vue?e1aa","webpack://agra/./app/javascript/components/inputs/validation-errors.vue","webpack://agra/./app/javascript/components/inputs/validation-errors.vue?c863","webpack://agra/./app/javascript/components/required.vue","webpack://agra/./app/javascript/components/required.vue?43d5","webpack://agra/./app/javascript/components/toast.vue","webpack://agra/./app/javascript/components/toast.vue?dead"],"sourcesContent":["import ajax from '@/helpers/ajax'\n\nconst PersistAndToast = {\n props: {\n persist: {\n type: Boolean,\n required: false,\n default: false\n },\n\n // this is necessary if persist is true\n path: {\n type: String,\n required: false\n },\n field: {\n type: String,\n required: false\n }\n },\n\n emits: ['change'],\n\n data() {\n return {\n message: null\n }\n },\n\n methods: {\n save(payload) {\n const data = {}\n data[this.field] = payload.value.toString()\n\n ajax.put({\n url: this.path,\n params: data,\n successHandler: this.successCallback,\n errorHandler: this.errorCallback\n }).then(this.completedCallback)\n },\n\n errorCallback(error) {\n this.message = {\n message: error.message,\n status: 'error'\n }\n if (this.rubberBandOnError === true) {\n const { currentValue } = error.info\n if (currentValue !== undefined && this.initialValue !== currentValue) {\n // We do this to get a nice effect with the toggle animation toggling itself back to the previous state when there is an error.\n setTimeout(() => {\n this.$emit('change', currentValue)\n }, 500)\n }\n }\n },\n\n successCallback({message}) {\n if (message) {\n this.message = { message }\n }\n },\n\n completedCallback() {\n setTimeout(() => {\n this.message = null\n }, 5000)\n }\n }\n}\n\nexport default PersistAndToast\n","import TextInput from '../text-input'\nimport WithInputIdAndName from './with-input-id-and-name'\n\nexport default {\n components: { TextInput },\n\n mixins: [ WithInputIdAndName ],\n\n props: {\n entityName: {\n type: String,\n required: true\n },\n\n maxLength: {\n type: Number,\n required: false\n },\n\n minLength: {\n type: Number,\n required: false\n },\n\n required: {\n type: Boolean,\n required: false\n },\n\n validationErrors: {\n type: Array,\n required: false,\n default: () => []\n },\n\n value: {\n type: String,\n required: false\n }\n },\n\n emits: ['changed'],\n\n methods: {\n changed(newValue) {\n this.$emit('changed', newValue)\n }\n }\n}\n","import snakeCase from 'lodash/snakeCase'\n\nexport default {\n props: {\n inputId: {\n type: String,\n required: false,\n default: null\n },\n\n inputName: {\n type: String,\n required: false,\n default: null\n }\n },\n\n computed: {\n calculatedInputId() {\n if (this.inputId) {\n return this.inputId\n }\n\n return `${this.entityName}-${this.fieldName}`\n },\n\n calculatedInputName() {\n if (this.inputName) {\n return this.inputName\n }\n\n return `${this.entityName}[${snakeCase(this.fieldName)}]`\n }\n }\n}\n","import Required from '../required'\nimport ValidationErrors from './validation-errors'\n\nexport default {\n components: { Required, ValidationErrors },\n\n props: {\n initialValue: {\n type: [Number, String, Boolean],\n required: false\n },\n inputName: {\n type: String,\n required: true\n },\n options: {\n type: Array,\n required: true\n },\n validationErrors: {\n type: Array,\n required: false\n }\n },\n\n emits: ['change'],\n\n data() {\n return {\n value: this.initialValue\n }\n },\n\n computed: {\n showValidationError() {\n return this.validationErrors && this.validationErrors.length > 0\n }\n },\n\n watch: {\n initialValue() {\n this.value = this.initialValue\n }\n },\n\n methods: {\n displayNameForOption(option) {\n return option[0]\n },\n\n emitNewValue() {\n this.$emit('change', this.value)\n },\n\n inputId(option) {\n return `${this.inputName}-${option[1]}`\n },\n\n valueForOption(option) {\n return option[1]\n }\n }\n}\n","<template>\n <button type=\"button\" :disabled=\"disabled\" class=\"btn btn-primary\" @click=\"$emit('click')\">\n <slot>\n {{ label }}\n </slot>\n </button>\n</template>\n\n<script>\nimport { inject } from 'vue'\n\nexport default {\n props: {\n disabled: {\n type: Boolean,\n required: false,\n default: false\n },\n label: {\n type: String,\n required: false,\n default: function() { return inject('i18n').t('administrative.save') }\n }\n },\n\n emits: ['click']\n}\n\n</script>\n","import { render } from \"./primary-button.vue?vue&type=template&id=fa1dbc0e\"\nimport script from \"./primary-button.vue?vue&type=script&lang=js\"\nexport * from \"./primary-button.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","<template>\n <div v-if=\"hidden\" />\n\n <component :is=\"inputComponent\" v-else\n v-bind=\"inputComponentProps\" :show-label=\"showLabel\"\n v-on=\"inputComponentListener\" @focus=\"$emit('focus')\" />\n</template>\n\n<script>\nimport CheckboxInput from './checkbox-input'\nimport RadioButtonsInput from './radio-buttons-input'\nimport SelectorInput from './selector-input'\nimport TextInput from './text-input'\nimport WithInputIdAndName from '@/components/inputs/mixins/with-input-id-and-name'\n\nexport default {\n components: { CheckboxInput, RadioButtonsInput, SelectorInput, TextInput },\n\n mixins: [ WithInputIdAndName ],\n\n props: {\n disclaimer: {\n type: String,\n required: false\n },\n entityName: {\n type: String,\n required: true\n },\n initialValue: {\n // We must put String before Boolean here, otherwise passing in an empty string\n // can cause the value to become \"true\"\n type: [String, Boolean],\n required: false,\n default: null\n },\n kind: {\n type: String,\n required: true\n },\n label: {\n type: String,\n required: false\n },\n maxLength: {\n type: Number,\n required: false\n },\n\n minLength: {\n type: Number,\n required: false\n },\n fieldName: {\n type: String,\n required: true\n },\n options: {\n type: Array,\n required: false\n },\n required: {\n type: Boolean,\n required: false,\n default: false\n },\n showLabel: {\n type: Boolean,\n required: false,\n default: true\n },\n validationErrors: {\n type: Array,\n required: false,\n default: () => []\n }\n },\n\n emits: ['changed', 'focus'],\n\n computed: {\n hidden() {\n return this.kind === 'hidden'\n },\n\n inputComponent() {\n switch (this.kind) {\n case 'boolean':\n case 'conditional_boolean':\n return CheckboxInput\n case 'radio_buttons':\n return RadioButtonsInput\n case 'select':\n return SelectorInput\n case 'string':\n return TextInput\n default:\n throw `unsupported type ${this.kind}`\n }\n },\n\n inputComponentListener() {\n switch (this.kind) {\n case 'boolean':\n case 'conditional_boolean':\n case 'radio_buttons':\n return {\n change: this.update\n }\n case 'select':\n case 'string':\n return {\n changed: this.update\n }\n default:\n throw `unsupported type ${this.kind}`\n }\n },\n\n inputComponentProps() {\n const commonProps = {\n label: this.label,\n required: this.required,\n validationErrors: this.validationErrors\n }\n\n switch (this.kind) {\n case 'boolean':\n case 'conditional_boolean':\n return {\n ...commonProps,\n checkboxId: this.calculatedInputId,\n label: this.labelWithDisclaimer,\n inputName: this.calculatedInputName,\n initialValue: this.initialValue\n }\n case 'radio_buttons':\n return {\n ...commonProps,\n helpText: this.disclaimer,\n inputName: this.calculatedInputName,\n options: this.options,\n initialValue: this.initialValue\n }\n case 'select':\n return {\n ...commonProps,\n field: this.calculatedInputName,\n helpText: this.disclaimer,\n id: this.calculatedInputId,\n options: this.options,\n initialValue: this.initialValue\n }\n case 'string':\n return {\n ...commonProps,\n helpText: this.disclaimer,\n inputId: this.calculatedInputId,\n inputName: this.calculatedInputName,\n minLength: this.minLength,\n maxLength: this.maxLength,\n value: this.initialValue\n }\n default:\n throw `unsupported type ${this.kind}`\n }\n },\n\n // We override this method to avoid changing the field's name casing\n calculatedInputName() {\n if (this.inputName) {\n return this.inputName\n }\n\n return `${this.entityName}[${this.fieldName}]`\n },\n\n labelWithDisclaimer() {\n if (this.disclaimer) {\n return `${this.label}<div class=\"text-muted\">${this.disclaimer}</div>`\n } else {\n return this.label\n }\n }\n },\n\n mounted() {\n // Need to emit to record the initial value of the field, which is especially\n // important for checkboxes, otherwise the \"false\" value is not recorded\n // and it's not submitted to the server.\n this.update(this.initialValue)\n },\n\n methods: {\n update(value) {\n this.$emit('changed', value)\n }\n }\n}\n</script>\n","import { render } from \"./additional-field.vue?vue&type=template&id=3c255732\"\nimport script from \"./additional-field.vue?vue&type=script&lang=js\"\nexport * from \"./additional-field.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","<template>\n <div :class=\"{ 'is-invalid': showValidationError }\">\n <div class=\"form-check\">\n <input :id=\"checkboxId\" type=\"checkbox\" :class=\"['form-check-input', {'is-invalid': showValidationError}]\" :checked=\"initialValue\"\n :name=\"inputName\" @change=\"onChange\">\n <label v-if=\"showLabel\" class=\"form-check-label\" :for=\"checkboxId\">\n <slot name=\"label\">\n <required v-if=\"required\" />\n <span v-html=\"label\" />\n </slot>\n </label>\n </div>\n\n <validation-errors v-if=\"showValidationError\" :errors=\"validationErrors\" />\n\n <p v-if=\"hint\" class=\"form-text text-muted\">\n {{ hint }}\n </p>\n </div>\n</template>\n\n<script>\nimport Required from '../required'\nimport ValidationErrors from './validation-errors'\n\nexport default {\n components: { Required, ValidationErrors },\n\n props: {\n checkboxId: {\n type: String,\n required: true\n },\n\n hint: {\n type: String,\n required: false\n },\n\n initialValue: {\n type: Boolean,\n required: false,\n default: false\n },\n\n inputName: {\n type: String,\n required: true\n },\n\n label: {\n type: String,\n required: false\n },\n\n required: {\n type: Boolean,\n required: false,\n default: false\n },\n\n showLabel: {\n type: Boolean,\n required: false,\n default: true\n },\n\n validationErrors: {\n type: Array,\n required: false\n }\n },\n\n emits: ['change'],\n\n computed: {\n showValidationError() {\n return this.validationErrors && this.validationErrors.length > 0\n }\n },\n\n methods: {\n onChange({target}) {\n this.$emit('change', target.checked)\n }\n }\n}\n</script>\n","import { render } from \"./checkbox-input.vue?vue&type=template&id=8b9c76ac\"\nimport script from \"./checkbox-input.vue?vue&type=script&lang=js\"\nexport * from \"./checkbox-input.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","<template>\n <div>\n <checkbox-input v-if=\"explicitConsentRequired\" :initial-value=\"value\" :checkbox-id=\"calculatedInputId\"\n :input-name=\"inputName\" :label=\"label\" :show-label=\"showLabel\" :validation-errors=\"validationErrors\"\n @change=\"changed\" @focus=\"$emit('focus')\" />\n <div v-else class=\"small-text\">\n <span v-if=\"showLabel\" class=\"mb-3\" v-html=\"label\" />\n <input type=\"hidden\" :name=\"inputName\" value=\"true\">\n </div>\n </div>\n</template>\n\n<script>\nimport CheckboxInput from './checkbox-input'\nimport WithInputIdAndName from '@/components/inputs/mixins/with-input-id-and-name'\n\nexport default {\n components: { CheckboxInput },\n\n mixins: [ WithInputIdAndName ],\n\n props: {\n entityName: {\n type: String,\n required: true\n },\n\n explicitConsentRequired: {\n type: Boolean,\n required: true\n },\n\n label: {\n type: String,\n required: true\n },\n\n showLabel: {\n type: Boolean,\n required: false,\n default: true\n },\n\n validationErrors: {\n type: Array,\n required: false\n },\n\n value: {\n type: Boolean,\n required: false,\n default: false\n }\n },\n\n emits: ['changed', 'focus'],\n\n data() {\n return {\n fieldName: 'eu-data-processing-consent'\n }\n },\n\n mounted() {\n // If consent is required implicitly we need to emit the changed event when the component\n // is just loaded so the parent is notified and the value is set on the model\n if (!this.explicitConsentRequired) {\n this.changed(true)\n }\n },\n\n methods: {\n changed(value) {\n this.$emit('changed', value)\n }\n }\n}\n</script>\n","import { render } from \"./eu-data-processing-consent.vue?vue&type=template&id=69c92a88\"\nimport script from \"./eu-data-processing-consent.vue?vue&type=script&lang=js\"\nexport * from \"./eu-data-processing-consent.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","<template>\n <name-field v-bind=\"$attrs\" type=\"first\" autocomplete-type=\"given\" @changed=\"changed\" @focus=\"$emit('focus')\" />\n</template>\n\n<script>\nimport NameField from './name-field'\n\nexport default {\n components: { NameField },\n\n emits: ['changed', 'focus'],\n\n methods: {\n changed(newValue) {\n this.$emit('changed', newValue)\n }\n }\n}\n</script>\n","import { render } from \"./first-name-field.vue?vue&type=template&id=32a9af06\"\nimport script from \"./first-name-field.vue?vue&type=script&lang=js\"\nexport * from \"./first-name-field.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","<template>\n <name-field v-bind=\"$attrs\" type=\"last\" autocomplete-type=\"family\" @changed=\"changed\" @focus=\"$emit('focus')\" />\n</template>\n\n<script>\nimport NameField from './name-field'\n\nexport default {\n components: { NameField },\n\n emits: ['changed', 'focus'],\n\n methods: {\n changed(newValue) {\n this.$emit('changed', newValue)\n }\n }\n}\n</script>\n","import { render } from \"./last-name-field.vue?vue&type=template&id=1aa7d4e2\"\nimport script from \"./last-name-field.vue?vue&type=script&lang=js\"\nexport * from \"./last-name-field.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","<template>\n <text-input :label=\"label\" :show-label=\"showLabel\" :input-name=\"calculatedInputName\" :input-id=\"calculatedInputId\"\n :value=\"value\" :required=\"required\" :min-length=\"minLength\" :max-length=\"maxLength\"\n :autocomplete=\"autocomplete\" :validation-errors=\"validationErrors\" @changed=\"changed\" @focus=\"$emit('focus')\" />\n</template>\n\n<script>\nimport kebabCase from 'lodash/kebabCase'\nimport snakeCase from 'lodash/snakeCase'\nimport TextFieldMixin from './mixins/text-field-mixin'\n\nexport default {\n mixins: [ TextFieldMixin ],\n\n props: {\n autocompleteType: {\n type: String,\n required: true\n },\n\n labelOverride: {\n type: String,\n required: false,\n default: null\n },\n\n showLabel: {\n type: Boolean,\n required: false,\n default: true\n },\n\n type: {\n type: String,\n required: true\n }\n },\n\n emits: ['focus'],\n\n computed: {\n autocomplete() {\n return `${this.autocompleteType}-name`\n },\n\n calculatedInputId() {\n if (this.inputId) {\n return this.inputId\n }\n\n return `${this.entityName}-${kebabCase(this.type)}-name-field`\n },\n\n calculatedInputName() {\n if (this.inputName) {\n return this.inputName\n }\n\n return `${this.entityName}[${snakeCase(this.type)}_name]`\n },\n\n label() {\n return this.labelOverride || this.i18n.t(`simple_form.labels.defaults.${this.type}_name`)\n }\n }\n}\n</script>\n","import { render } from \"./name-field.vue?vue&type=template&id=6a25b27c\"\nimport script from \"./name-field.vue?vue&type=script&lang=js\"\nexport * from \"./name-field.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","<template>\n <text-input :label=\"label\" :value=\"value\" autocomplete=\"tel\" :required=\"required\" :min-length=\"minLength\"\n :max-length=\"maxLength\" :input-name=\"calculatedInputName\"\n :input-id=\"calculatedInputId\" :show-label=\"showLabel\" :validation-errors=\"validationErrors\"\n @changed=\"changed\" @focus=\"$emit('focus')\" />\n</template>\n\n<script>\nimport TextFieldMixin from './mixins/text-field-mixin'\n\nexport default {\n mixins: [ TextFieldMixin ],\n\n props: {\n label: {\n type: String,\n required: true\n },\n\n showLabel: {\n type: Boolean,\n required: false,\n default: true\n }\n },\n\n emits: ['focus'],\n\n data() {\n return {\n fieldName: 'phone-number'\n }\n }\n}\n</script>\n","import { render } from \"./phone-number-field.vue?vue&type=template&id=18ba5a66\"\nimport script from \"./phone-number-field.vue?vue&type=script&lang=js\"\nexport * from \"./phone-number-field.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","<template>\n <text-input :label=\"label\" :value=\"value\" autocomplete=\"postal-code\"\n :required=\"required\" :min-length=\"minLength\" :max-length=\"maxLength\"\n :input-name=\"calculatedInputName\" :input-id=\"calculatedInputId\"\n :show-label=\"showLabel\" :validation-errors=\"validationErrors\"\n @changed=\"changed\" @focus=\"$emit('focus')\" />\n</template>\n\n<script>\nimport TextFieldMixin from './mixins/text-field-mixin'\n\nexport default {\n mixins: [ TextFieldMixin ],\n\n props: {\n label: {\n type: String,\n required: true\n },\n\n showLabel: {\n type: Boolean,\n required: false,\n default: true\n }\n },\n\n emits: ['focus'],\n\n data() {\n return {\n fieldName: 'postcode'\n }\n }\n}\n</script>\n","import { render } from \"./postcode-field.vue?vue&type=template&id=89b840f8\"\nimport script from \"./postcode-field.vue?vue&type=script&lang=js\"\nexport * from \"./postcode-field.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","<template>\n <div class=\"radio-buttons\" :class=\"{'is-invalid': showValidationError}\">\n <label v-if=\"label && showLabel\" :for=\"inputName\">\n <required v-if=\"required\" />\n <span v-html=\"label\" />\n </label>\n\n <div v-for=\"option in options\" :key=\"valueForOption(option)\" class=\"form-check\">\n <input :id=\"inputId(option)\" v-model=\"value\" type=\"radio\" class=\"form-check-input\" :name=\"inputName\"\n :value=\"valueForOption(option)\" @change=\"emitNewValue\" @focus=\"$emit('focus')\">\n <label class=\"form-check-label\" :for=\"inputId(option)\" v-html=\"displayNameForOption(option)\" />\n </div>\n\n <p v-if=\"helpText\" class=\"text-muted\">\n {{ helpText }}\n </p>\n\n <validation-errors v-if=\"showValidationError\" :errors=\"validationErrors\" />\n </div>\n</template>\n\n<script>\nimport radioButtonsInputMixin from './radio-buttons-input-mixin'\n\nexport default {\n mixins: [radioButtonsInputMixin],\n\n props: {\n helpText: {\n type: String,\n required: false\n },\n label: {\n type: String,\n required: false\n },\n required: {\n type: Boolean,\n required: false,\n default: false\n },\n\n showLabel: {\n type: Boolean,\n required: false,\n default: true\n }\n },\n\n emits: ['focus']\n}\n</script>\n","import { render } from \"./radio-buttons-input.vue?vue&type=template&id=c7318b30\"\nimport script from \"./radio-buttons-input.vue?vue&type=script&lang=js\"\nexport * from \"./radio-buttons-input.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","<template>\n <div :class=\"{ 'is-invalid': showValidationError }\">\n <toast v-if=\"message\" :kind=\"message.status\">\n <template #message-content>\n {{ message.message }}\n </template>\n </toast>\n\n <label v-if=\"label && showLabel\" class=\"form-label\" :for=\"id\">\n <required v-if=\"required\" />\n <span v-html=\"label\" />\n </label>\n\n <select :id=\"id\" ref=\"select\" v-model=\"value\" :name=\"field\"\n :class=\"['form-select', inputClass, { 'is-invalid': showValidationError }]\"\n @change=\"setSelection\">\n <option v-if=\"showBlank\" disabled selected value />\n\n <option v-for=\"option in options\" :key=\"valueForOption(option)\" :value=\"valueForOption(option)\"\n v-html=\"displayNameForOption(option)\" />\n </select>\n\n <p v-if=\"helpText\" class=\"text-muted\" v-html=\"helpText\" />\n\n <validation-errors v-if=\"showValidationError\" :errors=\"validationErrors\" />\n </div>\n</template>\n\n<script>\nimport Required from '../required'\nimport Toast from '../toast'\nimport ValidationErrors from './validation-errors'\nimport PersistAndToast from './mixins/persist-and-toast'\n\nexport default {\n components: { Required, Toast, ValidationErrors },\n mixins: [PersistAndToast],\n\n props: {\n helpText: {\n type: String,\n required: false\n },\n\n label: {\n type: String,\n required: false\n },\n\n id: {\n type: String,\n required: false\n },\n\n inputClass: {\n type: String,\n required: false,\n default: ''\n },\n\n field: {\n type: String,\n required: true\n },\n\n options: {\n type: Array,\n required: true\n },\n\n initialValue: {\n type: [Number, String],\n required: false\n },\n\n required: {\n type: Boolean,\n required: false,\n default: false\n },\n\n showLabel: {\n type: Boolean,\n required: false,\n default: true\n },\n\n validationErrors: {\n type: Array,\n required: false\n },\n\n blankIfNoSelection: {\n type: Boolean,\n required: false,\n default: false\n }\n },\n\n emits: ['changed'],\n\n data() {\n return {\n value: this.initialValue,\n rubberBandOnError: false\n }\n },\n\n computed: {\n showValidationError() {\n return this.validationErrors && this.validationErrors.length > 0\n },\n\n showBlank() {\n return this.value === null && this.blankIfNoSelection\n }\n },\n\n watch: {\n options: {\n handler() {\n // When the `options` prop changes, it's possible that the selected `value` is no longer a valid option.\n // If that happens, the browser is likely to display the dropdown as if the first item is selected.\n // To avoid bugs where what the user sees does not match the value that may be saved when sending data to\n // the server, we explicitly set the value to the first option in this case.\n if (this.optionWithValue(this.value) === undefined) {\n this.value = this.valueForOption(this.options[0])\n this.$emit('changed', this.valueForOption(this.options[0]))\n }\n },\n deep: true\n }\n },\n\n methods: {\n displayNameForOption(option) {\n return option[0]\n },\n\n focus() {\n this.$refs.select.focus()\n },\n\n optionWithValue(value) {\n return this.options.find((option) => {\n if (this.valueForOption(option) === null) {\n return value === null\n } else if (value === null) {\n return false\n } else {\n return this.valueForOption(option)?.toString() === value?.toString()\n }\n })\n },\n\n setSelection(e) {\n let selectedOption = this.optionWithValue(e.target.value)\n if (!selectedOption) {\n // If the user selects the option with null value, e.target.value will not be null,\n // it will be the display text of that option (because of a quirk of the HTML model).\n // See if that's what happened.\n const optionWithNullValue = this.optionWithValue(null)\n if (this.displayNameForOption(optionWithNullValue) === e.target.value) {\n selectedOption = optionWithNullValue\n }\n }\n\n this.$emit('changed', this.valueForOption(selectedOption))\n\n if (this.persist === true) {\n this.save(e.target)\n }\n },\n\n valueForOption(option) {\n return option[1]\n }\n }\n}\n</script>\n","import { render } from \"./selector-input.vue?vue&type=template&id=47dae30e\"\nimport script from \"./selector-input.vue?vue&type=script&lang=js\"\nexport * from \"./selector-input.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","<template>\n <div :class=\"['text-field', { 'is-invalid': showValidationError }]\">\n <label v-if=\"label && showLabel\" :for=\"inputId\" class=\"form-label\">\n <required v-if=\"required\" />\n <span v-html=\"label\" />\n </label>\n <textarea v-if=\"multiline\" :id=\"inputId\" ref=\"input\" :rows=\"rows\" :disabled=\"disabled\"\n :minlength=\"minLength\" :maxlength=\"maxLength\" :readonly=\"readonly\"\n :class=\"['task-editor-text-input form-control', additionalInputClasses, {'is-invalid': showValidationError}]\"\n :value=\"value\" :name=\"inputName\" @input=\"setText\" @focus=\"$emit('focus')\" @blur=\"$emit('blur')\" />\n <input v-else :id=\"inputId\" ref=\"input\" :type=\"inputType\" :autocomplete=\"autocomplete\"\n :disabled=\"disabled\" :readonly=\"readonly\" :minlength=\"minLength\" :maxlength=\"maxLength\"\n :class=\"['task-editor-text-input form-control', additionalInputClasses, {'is-invalid': showValidationError}]\"\n :value=\"value\" :name=\"inputName\" :placeholder=\"placeholder\"\n @input=\"setText\" @focus=\"$emit('focus')\" @blur=\"$emit('blur')\">\n\n <slot name=\"help-text\">\n <small v-if=\"helpText\" class=\"form-text text-muted\" v-html=\"helpText\" />\n </slot>\n\n <validation-errors v-if=\"showValidationError\" :errors=\"validationErrors\" />\n </div>\n</template>\n\n<script>\nimport Required from '../required'\nimport ValidationErrors from './validation-errors'\n\nexport default {\n components: { Required, ValidationErrors },\n\n props: {\n value: {\n type: [String, Number],\n required: false\n },\n multiline: {\n type: Boolean,\n required: false,\n default: false\n },\n validationErrors: {\n type: Array,\n required: false\n },\n additionalInputClasses: {\n type: String,\n required: false\n },\n autocomplete: {\n type: String,\n required: false\n },\n disabled: {\n type: Boolean,\n required: false,\n default: false\n },\n helpText: {\n type: String,\n required: false\n },\n inputId: {\n type: String,\n required: false\n },\n inputName: {\n type: String,\n required: false\n },\n inputType: {\n type: String,\n required: false,\n default: 'text'\n },\n label: {\n type: String,\n required: false\n },\n maxLength: {\n type: Number,\n required: false\n },\n minLength: {\n type: Number,\n required: false\n },\n placeholder: {\n type: String,\n required: false\n },\n readonly: {\n type: Boolean,\n required: false,\n default: false\n },\n required: {\n type: Boolean,\n required: false,\n default: false\n },\n rows: {\n type: Number,\n required: false,\n default: 3\n },\n\n showLabel: {\n type: Boolean,\n required: false,\n default: true\n }\n },\n\n emits: ['blur', 'changed', 'focus'],\n\n computed: {\n showValidationError() {\n return this.validationErrors && this.validationErrors.length > 0\n }\n },\n\n methods: {\n focus() {\n this.$refs.input.focus()\n },\n\n setText(e) {\n this.$emit('changed', e.target.value)\n }\n }\n}\n</script>\n","import { render } from \"./text-input.vue?vue&type=template&id=32eb48ed\"\nimport script from \"./text-input.vue?vue&type=script&lang=js\"\nexport * from \"./text-input.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","<template>\n <div>\n <span v-for=\"error in errors\" :key=\"error\" class=\"invalid-feedback d-block normal-text\">{{ error }}</span>\n </div>\n</template>\n\n<script>\nexport default {\n props: {\n errors: {\n type: Array,\n required: true\n }\n }\n}\n</script>\n\n<style scoped lang=\"scss\">\n\n.normal-text {\n text-transform: none;\n}\n\n</style>\n","import { render } from \"./validation-errors.vue?vue&type=template&id=102b52e8&scoped=true\"\nimport script from \"./validation-errors.vue?vue&type=script&lang=js\"\nexport * from \"./validation-errors.vue?vue&type=script&lang=js\"\n\nimport \"./validation-errors.vue?vue&type=style&index=0&id=102b52e8&scoped=true&lang=scss\"\n\nimport exportComponent from \"../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-102b52e8\"]])\n\nexport default __exports__","<template>\n <abbr :title=\"i18n.t('simple_form.required.text')\">\n {{ i18n.t('simple_form.required.mark') }}\n </abbr>\n</template>\n","import { render } from \"./required.vue?vue&type=template&id=ebbea57e\"\nconst script = {}\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","<template>\n <transition name=\"slide-fade\" appear>\n <div v-if=\"show\" :class=\"['toast-container', {'top-right': showFixedTopRight}]\">\n <div :class=\"['toast-element', kind]\">\n <slot name=\"message-content\" />\n </div>\n </div>\n </transition>\n</template>\n\n<script>\nexport default {\n props: {\n kind: {\n type: String,\n required: false,\n default: 'success'\n },\n showFixedTopRight: {\n type: Boolean,\n required: false,\n default: true\n },\n showOnMount: {\n type: Boolean,\n default: true\n }\n },\n\n data() {\n return {\n show: false\n }\n },\n\n mounted() {\n if (this.showOnMount) {\n this.showToast()\n }\n },\n\n methods: {\n removeToast() {\n this.show = false\n },\n\n showToast() {\n this.show = true\n setTimeout(() => {\n this.removeToast()\n }, 4000)\n }\n }\n}\n\n</script>\n\n<style lang=\"scss\" scoped>\n @use \"~common_styles/breakpoints\" as breakpoints;\n @use \"~friendship_styles/colors\" as colors;\n @use \"~friendship_styles/zindex\" as zindex;\n\n .toast-container {\n // Positioning\n\n // By default, display at the element parent's location without taking space, this is overriden\n // if the toast is meant to be displayed at the top right of the screen.\n position: absolute;\n\n &.top-right {\n position: fixed;\n z-index: zindex.$toast-z-index;\n top: 10%;\n right: 7%;\n }\n\n // toast element styling\n // Not using the class name `toast` to avoid using unrelated bootstrap class.\n .toast-element {\n top: 35px;\n width: auto;\n clear: both;\n margin-top: 10px;\n position: relative;\n max-width: 100%;\n height: auto;\n word-break: normal;\n display: flex;\n align-items: center;\n justify-content: space-between;\n box-sizing: inherit;\n padding: 15px;\n color: colors.$black;\n border-radius: 5px;\n }\n\n // This class is dynamically applied based on a prop\n /* eslint-disable-next-line vue-scoped-css/no-unused-selector */\n .success {\n background-color: colors.$alert-success-bg;\n border: 1px solid colors.$alert-success-fg;\n }\n\n // This class is dynamically applied based on a prop\n /* eslint-disable-next-line vue-scoped-css/no-unused-selector */\n .error {\n background-color: colors.$alert-danger-bg;\n border: 1px solid colors.$alert-danger-fg;\n }\n }\n\n @include breakpoints.screen-mobile-only {\n .toast-container {\n max-width: 86%;\n width: 100%;\n\n &.top-right {\n top: 0;\n float: none;\n }\n }\n }\n\n .slide-fade-enter-active {\n transition: all .3s ease;\n }\n .slide-fade-leave-active {\n transition: all .8s cubic-bezier(1.0, 0.5, 0.8, 1.0);\n }\n .slide-fade-enter-from {\n transform: translateY(-30px);\n opacity: 0;\n }\n .slide-fade-leave-to {\n opacity: 0;\n }\n</style>\n","import { render } from \"./toast.vue?vue&type=template&id=b2f9da20&scoped=true\"\nimport script from \"./toast.vue?vue&type=script&lang=js\"\nexport * from \"./toast.vue?vue&type=script&lang=js\"\n\nimport \"./toast.vue?vue&type=style&index=0&id=b2f9da20&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-b2f9da20\"]])\n\nexport default __exports__"],"names":["PersistAndToast","props","persist","type","Boolean","required","default","path","String","field","emits","data","message","methods","save","payload","this","value","toString","ajax","put","url","params","successHandler","successCallback","errorHandler","errorCallback","then","completedCallback","error","status","rubberBandOnError","currentValue","info","undefined","initialValue","setTimeout","$emit","components","TextInput","mixins","WithInputIdAndName","entityName","maxLength","Number","minLength","validationErrors","Array","changed","newValue","inputId","inputName","computed","calculatedInputId","fieldName","calculatedInputName","snakeCase","Required","ValidationErrors","options","showValidationError","length","watch","displayNameForOption","option","emitNewValue","valueForOption","disabled","label","inject","t","_createElementBlock","$props","class","onClick","_cache","$event","_ctx","_renderSlot","$slots","_createTextVNode","_toDisplayString","_hoisted_1","key","CheckboxInput","RadioButtonsInput","SelectorInput","disclaimer","kind","showLabel","hidden","inputComponent","inputComponentListener","change","update","inputComponentProps","commonProps","checkboxId","labelWithDisclaimer","helpText","id","mounted","$options","_createBlock","_resolveDynamicComponent","_mergeProps","_toHandlers","onFocus","hint","onChange","target","checked","_normalizeClass","_createElementVNode","name","args","_hoisted_2","for","_component_required","_createCommentVNode","innerHTML","_hoisted_4","_hoisted_3","_component_validation_errors","errors","_hoisted_5","explicitConsentRequired","_component_checkbox_input","NameField","_component_name_field","$attrs","onChanged","TextFieldMixin","autocompleteType","labelOverride","autocomplete","kebabCase","i18n","_component_text_input","radioButtonsInputMixin","_Fragment","_renderList","selected","Toast","inputClass","blankIfNoSelection","showBlank","handler","optionWithValue","deep","focus","$refs","select","find","setSelection","e","selectedOption","optionWithNullValue","_component_toast","_withCtx","_","ref","$data","_hoisted_6","multiline","additionalInputClasses","inputType","placeholder","readonly","rows","input","setText","minlength","maxlength","onInput","onBlur","script","title","showFixedTopRight","showOnMount","show","showToast","removeToast","_Transition","appear"],"sourceRoot":""}