{"version":3,"sources":["webpack:///./node_modules/core-js/internals/string-repeat.js","webpack:///./node_modules/vuelidate/lib/validators/integer.js","webpack:///./node_modules/vuelidate/lib/validators/maxLength.js","webpack:///./src/types/forms/fields/formFieldWithOptions.ts","webpack:///./node_modules/vuelidate/lib/validators/and.js","webpack:///./node_modules/vuelidate/lib/validators/alphaNum.js","webpack:///./node_modules/core-js/internals/this-number-value.js","webpack:///./src/utilities/utils.ts","webpack:///./node_modules/vuelidate/lib/validators/numeric.js","webpack:///./node_modules/vuelidate/lib/validators/maxValue.js","webpack:///./node_modules/vuelidate/lib/validators/email.js","webpack:///./node_modules/vuelidate/lib/validators/minLength.js","webpack:///./node_modules/vuelidate/lib/validators/alpha.js","webpack:///./node_modules/vuelidate/lib/validators/not.js","webpack:///./src/types/forms/fields/checkboxField.ts","webpack:///./src/types/forms/formOption.ts","webpack:///./node_modules/vuelidate/lib/validators/url.js","webpack:///./node_modules/vuelidate/lib/validators/common.js","webpack:///./src/types/forms/fields/checkboxesField.ts","webpack:///./node_modules/vuelidate/lib/withParams.js","webpack:///./node_modules/vuelidate/lib/validators/macAddress.js","webpack:///./src/utilities/germanFormats.ts","webpack:///./node_modules/vuelidate/lib/validators/requiredIf.js","webpack:///./node_modules/vuelidate/lib/validators/index.js","webpack:///./node_modules/core-js/modules/es.number.to-fixed.js","webpack:///./node_modules/vuelidate/lib/validators/sameAs.js","webpack:///./src/types/forms/fields/dateRangeField.ts","webpack:///./node_modules/vuelidate/lib/validators/decimal.js","webpack:///./node_modules/vuelidate/lib/validators/ipAddress.js","webpack:///./node_modules/vuelidate/lib/withParamsBrowser.js","webpack:///./node_modules/vuelidate/lib/validators/or.js","webpack:///./node_modules/vuelidate/lib/validators/required.js","webpack:///./src/validators/date.ts","webpack:///./node_modules/vuelidate/lib/validators/requiredUnless.js","webpack:///./src/types/forms/fields/textField.ts","webpack:///./node_modules/vuelidate/lib/validators/minValue.js","webpack:///./node_modules/vuelidate/lib/validators/between.js"],"names":["toInteger","requireObjectCoercible","module","exports","repeat","count","str","String","this","result","n","Infinity","RangeError","Object","defineProperty","value","default","_common","_default","regex","length","withParams","type","max","req","len","formFieldWithOptionsDefaultConfig","options","hasServiceDrivenOptions","onMountOptionsSetter","undefined","config","resolvedConfig","valueIsArrayType","getJsonSchema","optionEnum","Array","from","map","o","items","enum","_len","arguments","validators","_key","_this","_len2","args","_key2","reduce","valid","fn","apply","classof","TypeError","setAllProps","obj","val","keys","forEach","k","htmlDecode","input","doc","DOMParser","parseFromString","documentElement","textContent","staticStringTemplateLiterals","string","context","Function","call","distinct","Set","powerMatchesConnectionRules","power","validRuleTypes","some","test","Date","emailRegex","min","validator","vm","checkboxFieldDefaultConfig","formOptionDefaultConfig","disabled","key","urlRegex","enumerable","get","_withParams","ref","_interopRequireDefault","__esModule","_typeof","Symbol","iterator","constructor","prototype","isArray","isNaN","getTime","_","reference","parentVm","expr","BUILD","separator","parts","split","match","every","hexValid","hex","toLowerCase","germanDateFormat","commaSeparator","thousandsSeparator","parseGermanDate","parseGermanFloat","parseFloat","replace","NaN","formatGermanNumber","fixedValue","decimals","toFixed","integerString","decimalString","separatedIntegerString","prop","_alpha","_alphaNum","_numeric","_between","_email","_ipAddress","_macAddress","_maxLength","_minLength","_required","_requiredIf","_requiredUnless","_sameAs","_url","_or","_and","_not","_minValue","_maxValue","_integer","_decimal","helpers","_interopRequireWildcard","newObj","hasOwnProperty","desc","getOwnPropertyDescriptor","set","$","thisNumberValue","fails","nativeToFixed","floor","Math","pow","x","acc","log","x2","FORCED","target","proto","forced","fractionDigits","e","z","j","number","fractDigits","data","sign","multiply","c","index","c2","divide","dataToString","s","t","slice","equalTo","eq","dateFieldDefaultConfig","start","end","date","nibbles","nibbleValid","nibble","numeric","root","window","global","fakeWithParams","paramsOrClosure","maybeValidator","vuelidate","trim","format","textFieldDefaultConfig"],"mappings":"+JACA,IAAIA,EAAY,EAAQ,QACpBC,EAAyB,EAAQ,QAIrCC,EAAOC,QAAU,GAAGC,QAAU,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,eAAeX,EAAS,aAAc,CAC3CY,OAAO,IAETZ,EAAQa,aAAU,EAElB,IAAIC,EAAU,EAAQ,QAElBC,EAAW,SAAkBiE,GAC/B,OAAO,EAAIlE,EAAQI,YAAY,CAC7BC,KAAM,WACN6D,IAAKA,IACJ,SAAUpE,GACX,QAAQ,EAAIE,EAAQO,KAAKT,MAAY,KAAKiE,KAAKjE,IAAUA,aAAiBkE,QAAUlE,IAAUoE,MAIlGhF,EAAQa,QAAUE,G,kCChBlBL,OAAOC,eAAeX,EAAS,aAAc,CAC3CY,OAAO,IAETZ,EAAQa,aAAU,EAElB,IAAIC,EAAU,EAAQ,QAElBC,EAAW,SAAkBiE,EAAK5D,GACpC,OAAO,EAAIN,EAAQI,YAAY,CAC7BC,KAAM,UACN6D,IAAKA,EACL5D,IAAKA,IACJ,SAAUR,GACX,QAAQ,EAAIE,EAAQO,KAAKT,MAAY,KAAKiE,KAAKjE,IAAUA,aAAiBkE,QAAUE,IAAQpE,IAAUQ,IAAQR,MAIlHZ,EAAQa,QAAUE","file":"js/Admin~Application~DummyApplicationFormSchema~DummyKitchenSink.b1b29570.js","sourcesContent":["'use strict';\nvar toInteger = require('../internals/to-integer');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\n// `String.prototype.repeat` method implementation\n// https://tc39.github.io/ecma262/#sec-string.prototype.repeat\nmodule.exports = ''.repeat || function repeat(count) {\n var str = String(requireObjectCoercible(this));\n var result = '';\n var n = toInteger(count);\n if (n < 0 || n == Infinity) throw RangeError('Wrong number of repetitions');\n for (;n > 0; (n >>>= 1) && (str += str)) if (n & 1) result += str;\n return result;\n};\n","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _common = require(\"./common\");\n\nvar _default = (0, _common.regex)('integer', /(^[0-9]*$)|(^-[0-9]+$)/);\n\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _common = require(\"./common\");\n\nvar _default = function _default(length) {\n return (0, _common.withParams)({\n type: 'maxLength',\n max: length\n }, function (value) {\n return !(0, _common.req)(value) || (0, _common.len)(value) <= length;\n });\n};\n\nexports.default = _default;","import { JSONSchema7Array, JSONSchema7Definition } from 'json-schema';\r\nimport { defaults as _defaults } from 'lodash';\r\nimport { FormOption } from '../formOption';\r\nimport {\r\n FormField,\r\n FormFieldConfig,\r\n formFieldDefaultConfig,\r\n} from './formField';\r\n\r\nexport interface FormFieldWithOptionsConfig\r\n extends FormFieldConfig {\r\n // When options are simply defined statically\r\n options?: FormOption[];\r\n\r\n // When options are dynamically defined through external means\r\n // DEV NOTE: The setter function may not currently be called by all form fields with options,\r\n // as they do not necessarily share a vue component base! (check FormSelect.vue for an already existing implementation)\r\n hasServiceDrivenOptions?: boolean;\r\n /** Function by which a list of options can be determined */\r\n onMountOptionsSetter?:\r\n | (() => Promise[]>)\r\n | undefined;\r\n}\r\n\r\nexport const formFieldWithOptionsDefaultConfig = {\r\n ...formFieldDefaultConfig,\r\n options: [],\r\n hasServiceDrivenOptions: false,\r\n onMountOptionsSetter: undefined,\r\n};\r\n\r\n// eslint-disable-next-line @typescript-eslint/comma-dangle\r\nexport class FormFieldWithOptions<\r\n TValue,\r\n TOptionKey\r\n> extends FormField {\r\n protected valueIsArrayType: boolean;\r\n public options: FormOption[];\r\n public hasServiceDrivenOptions: boolean;\r\n public onMountOptionsSetter:\r\n | (() => Promise[]>)\r\n | undefined;\r\n\r\n public constructor(config: FormFieldWithOptionsConfig) {\r\n const resolvedConfig = _defaults(\r\n config || ({} as FormFieldWithOptionsConfig),\r\n formFieldWithOptionsDefaultConfig,\r\n );\r\n super(resolvedConfig);\r\n\r\n this.valueIsArrayType = false;\r\n this.options = resolvedConfig.options;\r\n this.onMountOptionsSetter = resolvedConfig.onMountOptionsSetter;\r\n this.hasServiceDrivenOptions =\r\n resolvedConfig.hasServiceDrivenOptions || false;\r\n }\r\n\r\n public getJsonSchema(): JSONSchema7Definition {\r\n if (!this.options.length || this.hasServiceDrivenOptions) {\r\n return {\r\n type: 'string',\r\n };\r\n }\r\n\r\n const optionEnum = (Array.from(\r\n this.options.map((o) => o.key) ?? [],\r\n ) as unknown) as JSONSchema7Array;\r\n\r\n if (this.valueIsArrayType) {\r\n return {\r\n type: 'array',\r\n items: {\r\n enum: optionEnum,\r\n },\r\n };\r\n }\r\n\r\n return {\r\n enum: optionEnum,\r\n };\r\n }\r\n}\r\n","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _common = require(\"./common\");\n\nvar _default = function _default() {\n for (var _len = arguments.length, validators = new Array(_len), _key = 0; _key < _len; _key++) {\n validators[_key] = arguments[_key];\n }\n\n return (0, _common.withParams)({\n type: 'and'\n }, function () {\n var _this = this;\n\n for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n\n return validators.length > 0 && validators.reduce(function (valid, fn) {\n return valid && fn.apply(_this, args);\n }, true);\n });\n};\n\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _common = require(\"./common\");\n\nvar _default = (0, _common.regex)('alphaNum', /^[a-zA-Z0-9]*$/);\n\nexports.default = _default;","var classof = require('../internals/classof-raw');\n\n// `thisNumberValue` abstract operation\n// https://tc39.github.io/ecma262/#sec-thisnumbervalue\nmodule.exports = function (value) {\n if (typeof value != 'number' && classof(value) != 'Number') {\n throw TypeError('Incorrect invocation');\n }\n return +value;\n};\n","import { ConnectionRulesType } from '@/types/forms/shared/connectionRulesType';\r\nimport { Primitive } from '@/types/primitive';\r\n\r\nexport function setAllProps(obj: Record, val: unknown): void {\r\n Object.keys(obj).forEach((k) => (obj[k] = val));\r\n}\r\n\r\nexport function htmlDecode(input: string): string | null {\r\n const doc = new DOMParser().parseFromString(input, 'text/html');\r\n return doc.documentElement.textContent;\r\n}\r\n\r\n/**\r\n * Apply template literals for static string, for example fetched from database.\r\n *\r\n * @param string static string.\r\n * @param context object with the content, that can be accessed from the string.\r\n * @returns interpolated string.\r\n * @example\r\n * ```\r\n * staticStringTemplateLiterals('Hello ${this.lorem}', { lorem: 'ipsum' });\r\n * ```\r\n * returns: `Hello ipsum`\r\n */\r\nexport function staticStringTemplateLiterals(\r\n string: string,\r\n context: unknown,\r\n): string {\r\n return new Function('return `' + string + '`').call(context);\r\n}\r\n\r\n/**\r\n * Creates a new array which only contains a distinct list of the originally provided values\r\n * @param value The array you want to filter to only distinct values\r\n * @returns A new array only consisting of distinct values\r\n */\r\nexport function distinct(value: Primitive[]): Primitive[] {\r\n return Array.from(new Set(value));\r\n}\r\n\r\n/**\r\n * Checks whether the given power matches the rules\r\n * @param power The power to check\r\n * @param validRuleTypes The options that are considered valid matches\r\n * @returns\r\n */\r\nexport function powerMatchesConnectionRules(\r\n power: number,\r\n validRuleTypes: ConnectionRulesType[],\r\n): boolean {\r\n return (\r\n (power <= 135 &&\r\n validRuleTypes.some(\r\n (value) => value === ConnectionRulesType.rules4105,\r\n )) ||\r\n (power > 135 &&\r\n validRuleTypes.some(\r\n (value) => value === ConnectionRulesType.rules4110,\r\n ))\r\n );\r\n}\r\n","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _common = require(\"./common\");\n\nvar _default = (0, _common.regex)('numeric', /^[0-9]*$/);\n\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _common = require(\"./common\");\n\nvar _default = function _default(max) {\n return (0, _common.withParams)({\n type: 'maxValue',\n max: max\n }, function (value) {\n return !(0, _common.req)(value) || (!/\\s/.test(value) || value instanceof Date) && +value <= +max;\n });\n};\n\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _common = require(\"./common\");\n\nvar emailRegex = /^(?:[A-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[A-z0-9!#$%&'*+/=?^_`{|}~-]+)*|\"(?:[\\x01-\\x08\\x0b\\x0c\\x0e-\\x1f\\x21\\x23-\\x5b\\x5d-\\x7f]|[\\x01-\\x09\\x0b\\x0c\\x0e-\\x7f])*\")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9]{2,}(?:[a-z0-9-]*[a-z0-9])?|\\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\\x01-\\x08\\x0b\\x0c\\x0e-\\x1f\\x21-\\x5a\\x53-\\x7f]|\\\\[\\x01-\\x09\\x0b\\x0c\\x0e-\\x7f])+)\\])$/;\n\nvar _default = (0, _common.regex)('email', emailRegex);\n\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _common = require(\"./common\");\n\nvar _default = function _default(length) {\n return (0, _common.withParams)({\n type: 'minLength',\n min: length\n }, function (value) {\n return !(0, _common.req)(value) || (0, _common.len)(value) >= length;\n });\n};\n\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _common = require(\"./common\");\n\nvar _default = (0, _common.regex)('alpha', /^[a-zA-Z]*$/);\n\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _common = require(\"./common\");\n\nvar _default = function _default(validator) {\n return (0, _common.withParams)({\n type: 'not'\n }, function (value, vm) {\n return !(0, _common.req)(value) || !validator.call(this, value, vm);\n });\n};\n\nexports.default = _default;","import { JSONSchema7Definition } from 'json-schema';\r\nimport { defaults as _defaults } from 'lodash';\r\nimport {\r\n FormFieldConfig,\r\n formFieldDefaultConfig,\r\n FormField,\r\n} from './formField';\r\n\r\nexport interface CheckboxFieldConfig extends FormFieldConfig {\r\n value?: boolean;\r\n}\r\n\r\nexport const checkboxFieldDefaultConfig = {\r\n ...formFieldDefaultConfig,\r\n};\r\n\r\nexport class CheckboxField extends FormField {\r\n public constructor(config?: CheckboxFieldConfig) {\r\n const resolvedConfig = _defaults(\r\n config || ({} as CheckboxFieldConfig),\r\n checkboxFieldDefaultConfig,\r\n );\r\n\r\n super(resolvedConfig);\r\n }\r\n\r\n public getJsonSchema(): JSONSchema7Definition {\r\n return {\r\n type: 'boolean',\r\n };\r\n }\r\n}\r\n","import { defaults as _defaults } from 'lodash';\r\n\r\nexport interface FormOptionConfig {\r\n disabled?: boolean;\r\n key: TKey;\r\n}\r\n\r\nexport const formOptionDefaultConfig = {\r\n disabled: false,\r\n};\r\n\r\nexport class FormOption {\r\n public disabled: boolean;\r\n public key: TKey;\r\n\r\n public constructor(config: FormOptionConfig) {\r\n const resolvedConfig = _defaults(\r\n config || ({} as FormOptionConfig),\r\n formOptionDefaultConfig,\r\n );\r\n this.disabled = resolvedConfig.disabled;\r\n this.key = resolvedConfig.key;\r\n }\r\n}\r\n","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _common = require(\"./common\");\n\nvar urlRegex = /^(?:(?:https?|ftp):\\/\\/)(?:\\S+(?::\\S*)?@)?(?:(?!(?:10|127)(?:\\.\\d{1,3}){3})(?!(?:169\\.254|192\\.168)(?:\\.\\d{1,3}){2})(?!172\\.(?:1[6-9]|2\\d|3[0-1])(?:\\.\\d{1,3}){2})(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[1-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))(?::\\d{2,5})?(?:[/?#]\\S*)?$/i;\n\nvar _default = (0, _common.regex)('url', urlRegex);\n\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"withParams\", {\n enumerable: true,\n get: function get() {\n return _withParams.default;\n }\n});\nexports.regex = exports.ref = exports.len = exports.req = void 0;\n\nvar _withParams = _interopRequireDefault(require(\"../withParams\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nvar req = function req(value) {\n if (Array.isArray(value)) return !!value.length;\n\n if (value === undefined || value === null) {\n return false;\n }\n\n if (value === false) {\n return true;\n }\n\n if (value instanceof Date) {\n return !isNaN(value.getTime());\n }\n\n if (_typeof(value) === 'object') {\n for (var _ in value) {\n return true;\n }\n\n return false;\n }\n\n return !!String(value).length;\n};\n\nexports.req = req;\n\nvar len = function len(value) {\n if (Array.isArray(value)) return value.length;\n\n if (_typeof(value) === 'object') {\n return Object.keys(value).length;\n }\n\n return String(value).length;\n};\n\nexports.len = len;\n\nvar ref = function ref(reference, vm, parentVm) {\n return typeof reference === 'function' ? reference.call(vm, parentVm) : parentVm[reference];\n};\n\nexports.ref = ref;\n\nvar regex = function regex(type, expr) {\n return (0, _withParams.default)({\n type: type\n }, function (value) {\n return !req(value) || expr.test(value);\n });\n};\n\nexports.regex = regex;","import {\r\n FormFieldWithOptions,\r\n FormFieldWithOptionsConfig,\r\n} from './formFieldWithOptions';\r\n\r\nexport class CheckboxesField extends FormFieldWithOptions<\r\n TOptionKey[],\r\n TOptionKey\r\n> {\r\n constructor(config: FormFieldWithOptionsConfig) {\r\n super(config);\r\n\r\n this.valueIsArrayType = true;\r\n }\r\n}\r\n","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar withParams = process.env.BUILD === 'web' ? require('./withParamsBrowser').withParams : require('./params').withParams;\nvar _default = withParams;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _common = require(\"./common\");\n\nvar _default = function _default() {\n var separator = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ':';\n return (0, _common.withParams)({\n type: 'macAddress'\n }, function (value) {\n if (!(0, _common.req)(value)) {\n return true;\n }\n\n if (typeof value !== 'string') {\n return false;\n }\n\n var parts = typeof separator === 'string' && separator !== '' ? value.split(separator) : value.length === 12 || value.length === 16 ? value.match(/.{2}/g) : null;\n return parts !== null && (parts.length === 6 || parts.length === 8) && parts.every(hexValid);\n });\n};\n\nexports.default = _default;\n\nvar hexValid = function hexValid(hex) {\n return hex.toLowerCase().match(/^[0-9a-f]{2}$/);\n};","import moment, { Moment, MomentInput } from \"moment\";\r\n\r\nexport const germanDateFormat = 'DD.MM.YYYY';\r\nexport const commaSeparator = ',';\r\nexport const thousandsSeparator = '.';\r\n\r\nexport function parseGermanDate(value: string): Moment {\r\n return moment(value, germanDateFormat, true);\r\n}\r\n\r\nexport function parseGermanFloat(value: string): number {\r\n return value ? parseFloat(value.replace(/\\./g, '').replace(',', '.')) : NaN;\r\n}\r\n\r\nexport function formatGermanNumber(\r\n value: number,\r\n options: {\r\n decimals?: number;\r\n thousandsSeparator?: boolean;\r\n } = {},\r\n): string {\r\n // Intl.NumberFormat is not being used, because it runs on top of the browser\r\n // and won't work when unit testing\r\n const fixedValue =\r\n options.decimals !== null && options.decimals !== undefined\r\n ? value.toFixed(options.decimals)\r\n : value;\r\n\r\n // split number into integer and decimal parts\r\n const [integerString, decimalString] = `${fixedValue}`.split('.');\r\n\r\n // add thousands separators\r\n const separatedIntegerString = options.thousandsSeparator\r\n ? integerString.replace(/\\B(?=(\\d{3})+(?!\\d))/g, thousandsSeparator)\r\n : integerString;\r\n\r\n return decimalString\r\n ? `${separatedIntegerString}${commaSeparator}${decimalString}`\r\n : decimalString;\r\n}\r\n","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _common = require(\"./common\");\n\nvar _default = function _default(prop) {\n return (0, _common.withParams)({\n type: 'requiredIf',\n prop: prop\n }, function (value, parentVm) {\n return (0, _common.ref)(prop, this, parentVm) ? (0, _common.req)(value) : true;\n });\n};\n\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"alpha\", {\n enumerable: true,\n get: function get() {\n return _alpha.default;\n }\n});\nObject.defineProperty(exports, \"alphaNum\", {\n enumerable: true,\n get: function get() {\n return _alphaNum.default;\n }\n});\nObject.defineProperty(exports, \"numeric\", {\n enumerable: true,\n get: function get() {\n return _numeric.default;\n }\n});\nObject.defineProperty(exports, \"between\", {\n enumerable: true,\n get: function get() {\n return _between.default;\n }\n});\nObject.defineProperty(exports, \"email\", {\n enumerable: true,\n get: function get() {\n return _email.default;\n }\n});\nObject.defineProperty(exports, \"ipAddress\", {\n enumerable: true,\n get: function get() {\n return _ipAddress.default;\n }\n});\nObject.defineProperty(exports, \"macAddress\", {\n enumerable: true,\n get: function get() {\n return _macAddress.default;\n }\n});\nObject.defineProperty(exports, \"maxLength\", {\n enumerable: true,\n get: function get() {\n return _maxLength.default;\n }\n});\nObject.defineProperty(exports, \"minLength\", {\n enumerable: true,\n get: function get() {\n return _minLength.default;\n }\n});\nObject.defineProperty(exports, \"required\", {\n enumerable: true,\n get: function get() {\n return _required.default;\n }\n});\nObject.defineProperty(exports, \"requiredIf\", {\n enumerable: true,\n get: function get() {\n return _requiredIf.default;\n }\n});\nObject.defineProperty(exports, \"requiredUnless\", {\n enumerable: true,\n get: function get() {\n return _requiredUnless.default;\n }\n});\nObject.defineProperty(exports, \"sameAs\", {\n enumerable: true,\n get: function get() {\n return _sameAs.default;\n }\n});\nObject.defineProperty(exports, \"url\", {\n enumerable: true,\n get: function get() {\n return _url.default;\n }\n});\nObject.defineProperty(exports, \"or\", {\n enumerable: true,\n get: function get() {\n return _or.default;\n }\n});\nObject.defineProperty(exports, \"and\", {\n enumerable: true,\n get: function get() {\n return _and.default;\n }\n});\nObject.defineProperty(exports, \"not\", {\n enumerable: true,\n get: function get() {\n return _not.default;\n }\n});\nObject.defineProperty(exports, \"minValue\", {\n enumerable: true,\n get: function get() {\n return _minValue.default;\n }\n});\nObject.defineProperty(exports, \"maxValue\", {\n enumerable: true,\n get: function get() {\n return _maxValue.default;\n }\n});\nObject.defineProperty(exports, \"integer\", {\n enumerable: true,\n get: function get() {\n return _integer.default;\n }\n});\nObject.defineProperty(exports, \"decimal\", {\n enumerable: true,\n get: function get() {\n return _decimal.default;\n }\n});\nexports.helpers = void 0;\n\nvar _alpha = _interopRequireDefault(require(\"./alpha\"));\n\nvar _alphaNum = _interopRequireDefault(require(\"./alphaNum\"));\n\nvar _numeric = _interopRequireDefault(require(\"./numeric\"));\n\nvar _between = _interopRequireDefault(require(\"./between\"));\n\nvar _email = _interopRequireDefault(require(\"./email\"));\n\nvar _ipAddress = _interopRequireDefault(require(\"./ipAddress\"));\n\nvar _macAddress = _interopRequireDefault(require(\"./macAddress\"));\n\nvar _maxLength = _interopRequireDefault(require(\"./maxLength\"));\n\nvar _minLength = _interopRequireDefault(require(\"./minLength\"));\n\nvar _required = _interopRequireDefault(require(\"./required\"));\n\nvar _requiredIf = _interopRequireDefault(require(\"./requiredIf\"));\n\nvar _requiredUnless = _interopRequireDefault(require(\"./requiredUnless\"));\n\nvar _sameAs = _interopRequireDefault(require(\"./sameAs\"));\n\nvar _url = _interopRequireDefault(require(\"./url\"));\n\nvar _or = _interopRequireDefault(require(\"./or\"));\n\nvar _and = _interopRequireDefault(require(\"./and\"));\n\nvar _not = _interopRequireDefault(require(\"./not\"));\n\nvar _minValue = _interopRequireDefault(require(\"./minValue\"));\n\nvar _maxValue = _interopRequireDefault(require(\"./maxValue\"));\n\nvar _integer = _interopRequireDefault(require(\"./integer\"));\n\nvar _decimal = _interopRequireDefault(require(\"./decimal\"));\n\nvar helpers = _interopRequireWildcard(require(\"./common\"));\n\nexports.helpers = helpers;\n\nfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = Object.defineProperty && Object.getOwnPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : {}; if (desc.get || desc.set) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } } newObj.default = obj; return newObj; } }\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }","'use strict';\nvar $ = require('../internals/export');\nvar toInteger = require('../internals/to-integer');\nvar thisNumberValue = require('../internals/this-number-value');\nvar repeat = require('../internals/string-repeat');\nvar fails = require('../internals/fails');\n\nvar nativeToFixed = 1.0.toFixed;\nvar floor = Math.floor;\n\nvar pow = function (x, n, acc) {\n return n === 0 ? acc : n % 2 === 1 ? pow(x, n - 1, acc * x) : pow(x * x, n / 2, acc);\n};\n\nvar log = function (x) {\n var n = 0;\n var x2 = x;\n while (x2 >= 4096) {\n n += 12;\n x2 /= 4096;\n }\n while (x2 >= 2) {\n n += 1;\n x2 /= 2;\n } return n;\n};\n\nvar FORCED = nativeToFixed && (\n 0.00008.toFixed(3) !== '0.000' ||\n 0.9.toFixed(0) !== '1' ||\n 1.255.toFixed(2) !== '1.25' ||\n 1000000000000000128.0.toFixed(0) !== '1000000000000000128'\n) || !fails(function () {\n // V8 ~ Android 4.3-\n nativeToFixed.call({});\n});\n\n// `Number.prototype.toFixed` method\n// https://tc39.github.io/ecma262/#sec-number.prototype.tofixed\n$({ target: 'Number', proto: true, forced: FORCED }, {\n // eslint-disable-next-line max-statements\n toFixed: function toFixed(fractionDigits) {\n var number = thisNumberValue(this);\n var fractDigits = toInteger(fractionDigits);\n var data = [0, 0, 0, 0, 0, 0];\n var sign = '';\n var result = '0';\n var e, z, j, k;\n\n var multiply = function (n, c) {\n var index = -1;\n var c2 = c;\n while (++index < 6) {\n c2 += n * data[index];\n data[index] = c2 % 1e7;\n c2 = floor(c2 / 1e7);\n }\n };\n\n var divide = function (n) {\n var index = 6;\n var c = 0;\n while (--index >= 0) {\n c += data[index];\n data[index] = floor(c / n);\n c = (c % n) * 1e7;\n }\n };\n\n var dataToString = function () {\n var index = 6;\n var s = '';\n while (--index >= 0) {\n if (s !== '' || index === 0 || data[index] !== 0) {\n var t = String(data[index]);\n s = s === '' ? t : s + repeat.call('0', 7 - t.length) + t;\n }\n } return s;\n };\n\n if (fractDigits < 0 || fractDigits > 20) throw RangeError('Incorrect fraction digits');\n // eslint-disable-next-line no-self-compare\n if (number != number) return 'NaN';\n if (number <= -1e21 || number >= 1e21) return String(number);\n if (number < 0) {\n sign = '-';\n number = -number;\n }\n if (number > 1e-21) {\n e = log(number * pow(2, 69, 1)) - 69;\n z = e < 0 ? number * pow(2, -e, 1) : number / pow(2, e, 1);\n z *= 0x10000000000000;\n e = 52 - e;\n if (e > 0) {\n multiply(0, z);\n j = fractDigits;\n while (j >= 7) {\n multiply(1e7, 0);\n j -= 7;\n }\n multiply(pow(10, j, 1), 0);\n j = e - 1;\n while (j >= 23) {\n divide(1 << 23);\n j -= 23;\n }\n divide(1 << j);\n multiply(1, 1);\n divide(2);\n result = dataToString();\n } else {\n multiply(0, z);\n multiply(1 << -e, 0);\n result = dataToString() + repeat.call('0', fractDigits);\n }\n }\n if (fractDigits > 0) {\n k = result.length;\n result = sign + (k <= fractDigits\n ? '0.' + repeat.call('0', fractDigits - k) + result\n : result.slice(0, k - fractDigits) + '.' + result.slice(k - fractDigits));\n } else {\n result = sign + result;\n } return result;\n }\n});\n","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _common = require(\"./common\");\n\nvar _default = function _default(equalTo) {\n return (0, _common.withParams)({\n type: 'sameAs',\n eq: equalTo\n }, function (value, parentVm) {\n return value === (0, _common.ref)(equalTo, this, parentVm);\n });\n};\n\nexports.default = _default;","import { JSONSchema7Definition } from 'json-schema';\r\nimport { defaults as _defaults } from 'lodash';\r\nimport { date } from '@/validators/date';\r\nimport {\r\n FormFieldConfig,\r\n formFieldDefaultConfig,\r\n FormField,\r\n} from './formField';\r\nimport { DateRange } from '../shared/dateRange';\r\n\r\nexport interface DateRangeFieldConfig extends FormFieldConfig {\r\n value?: DateRange;\r\n}\r\n\r\nexport const dateFieldDefaultConfig = {\r\n ...formFieldDefaultConfig,\r\n value: {\r\n start: '',\r\n end: '',\r\n },\r\n};\r\n\r\nexport class DateRangeField extends FormField {\r\n public constructor(config?: DateRangeFieldConfig) {\r\n const resolvedConfig = _defaults(\r\n config || ({} as DateRangeFieldConfig),\r\n dateFieldDefaultConfig,\r\n ) as DateRangeFieldConfig;\r\n\r\n resolvedConfig.validators = {\r\n date,\r\n ...resolvedConfig.validators,\r\n };\r\n\r\n super(resolvedConfig);\r\n }\r\n\r\n public getJsonSchema(): JSONSchema7Definition {\r\n return {\r\n type: 'string',\r\n };\r\n }\r\n}\r\n","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _common = require(\"./common\");\n\nvar _default = (0, _common.regex)('decimal', /^[-]?\\d*(\\.\\d+)?$/);\n\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _common = require(\"./common\");\n\nvar _default = (0, _common.withParams)({\n type: 'ipAddress'\n}, function (value) {\n if (!(0, _common.req)(value)) {\n return true;\n }\n\n if (typeof value !== 'string') {\n return false;\n }\n\n var nibbles = value.split('.');\n return nibbles.length === 4 && nibbles.every(nibbleValid);\n});\n\nexports.default = _default;\n\nvar nibbleValid = function nibbleValid(nibble) {\n if (nibble.length > 3 || nibble.length === 0) {\n return false;\n }\n\n if (nibble[0] === '0' && nibble !== '0') {\n return false;\n }\n\n if (!nibble.match(/^\\d+$/)) {\n return false;\n }\n\n var numeric = +nibble | 0;\n return numeric >= 0 && numeric <= 255;\n};","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.withParams = void 0;\n\nfunction _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nvar root = typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : {};\n\nvar fakeWithParams = function fakeWithParams(paramsOrClosure, maybeValidator) {\n if (_typeof(paramsOrClosure) === 'object' && maybeValidator !== undefined) {\n return maybeValidator;\n }\n\n return paramsOrClosure(function () {});\n};\n\nvar withParams = root.vuelidate ? root.vuelidate.withParams : fakeWithParams;\nexports.withParams = withParams;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _common = require(\"./common\");\n\nvar _default = function _default() {\n for (var _len = arguments.length, validators = new Array(_len), _key = 0; _key < _len; _key++) {\n validators[_key] = arguments[_key];\n }\n\n return (0, _common.withParams)({\n type: 'or'\n }, function () {\n var _this = this;\n\n for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n\n return validators.length > 0 && validators.reduce(function (valid, fn) {\n return valid || fn.apply(_this, args);\n }, false);\n });\n};\n\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _common = require(\"./common\");\n\nvar _default = (0, _common.withParams)({\n type: 'required'\n}, function (value) {\n if (typeof value === 'string') {\n return (0, _common.req)(value.trim());\n }\n\n return (0, _common.req)(value);\n});\n\nexports.default = _default;","import { helpers, ValidationRule } from 'vuelidate/lib/validators';\r\nimport moment from 'moment';\r\nimport { germanDateFormat } from '@/utilities/germanFormats';\r\nimport { DateRange } from '@/types/forms/shared/dateRange';\r\n\r\n/*\r\n * Determines whether the given string can be represented as a date. Moment js is used\r\n here to parse the string in German format since the JS Date Object handles\r\n german dates quite poorly. The moment() function accepts the string and format and\r\n will internally create a Date object. If this fails in anyway, it will not match\r\n the given value.\r\n https://momentjs.com/docs/#/use-it/\r\n*/\r\n\r\nexport const date = ((value: string | null | DateRange): boolean => {\r\n if (typeof value === 'string' || value == null) {\r\n return (\r\n !helpers.req(value) ||\r\n moment(value, germanDateFormat).format(germanDateFormat) === value\r\n );\r\n } else {\r\n return (\r\n (!helpers.req(value.start) ||\r\n moment(value?.start, germanDateFormat).format(\r\n germanDateFormat,\r\n ) === value?.start) &&\r\n (!helpers.req(value.end) ||\r\n moment(value.end, germanDateFormat).format(germanDateFormat) ===\r\n value.end)\r\n );\r\n }\r\n}) as ValidationRule;\r\n","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _common = require(\"./common\");\n\nvar _default = function _default(prop) {\n return (0, _common.withParams)({\n type: 'requiredUnless',\n prop: prop\n }, function (value, parentVm) {\n return !(0, _common.ref)(prop, this, parentVm) ? (0, _common.req)(value) : true;\n });\n};\n\nexports.default = _default;","import { JSONSchema7Definition } from 'json-schema';\r\nimport { defaults as _defaults } from 'lodash';\r\nimport {\r\n FormFieldConfig,\r\n formFieldDefaultConfig,\r\n FormField,\r\n} from './formField';\r\n\r\nexport interface TextFieldConfig extends FormFieldConfig {\r\n value?: string;\r\n}\r\n\r\nexport const textFieldDefaultConfig = {\r\n ...formFieldDefaultConfig,\r\n};\r\n\r\nexport class TextField extends FormField {\r\n public constructor(config?: TextFieldConfig) {\r\n const resolvedConfig = _defaults(\r\n config || ({} as TextFieldConfig),\r\n textFieldDefaultConfig,\r\n );\r\n\r\n super(resolvedConfig);\r\n }\r\n\r\n public getJsonSchema(): JSONSchema7Definition {\r\n return {\r\n type: 'string',\r\n };\r\n }\r\n}\r\n","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _common = require(\"./common\");\n\nvar _default = function _default(min) {\n return (0, _common.withParams)({\n type: 'minValue',\n min: min\n }, function (value) {\n return !(0, _common.req)(value) || (!/\\s/.test(value) || value instanceof Date) && +value >= +min;\n });\n};\n\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _common = require(\"./common\");\n\nvar _default = function _default(min, max) {\n return (0, _common.withParams)({\n type: 'between',\n min: min,\n max: max\n }, function (value) {\n return !(0, _common.req)(value) || (!/\\s/.test(value) || value instanceof Date) && +min <= +value && +max >= +value;\n });\n};\n\nexports.default = _default;"],"sourceRoot":""}