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,iBAAZzB,EACF,EAAiB5B,EAAEqG,EAAEnF,UAAWU,GAEhC,EAAiB5B,EAAEqG,EAAEnF,YAE7B,CAACU,IAEJ5B,EAAEuS,WAAW,CAACD,qBAEd,MAAME,GAAoB,IAAA/B,cAAY,IAAIzL,KACnChF,EAAEqG,EAAE3E,SAIL1B,EAAEqG,EAAEzE,SACN5B,EAAE8R,EAAEQ,oBAAoBtN,GAExBhF,EAAEqG,EAAEnF,aAAa8D,GACnB,GACC,KAEH,IAAAyN,kBAAgB,KACd,IAAIC,EAAgBC,EAUpB,OARI1R,IACFyR,EAAiB,IAAYA,eAAezR,EAAOuR,GAE/C1Q,IACF6Q,EAAsBD,EAAe3B,OAAO6B,YAAY,YAAa9Q,KAIlE,KACD6Q,GACFD,EAAe3B,OAAO8B,eAAe,YAAa/Q,GAGhD4Q,GACFA,EAAeI,aACjB,CACF,GACC,CAAC7R,GAAO4F,MAAK,C","sources":["webpack://wooftech/./node_modules/@kaspernj/api-maker/src/bootstrap/invalid-feedback.jsx","webpack://wooftech/./node_modules/@kaspernj/api-maker/src/event-updated.jsx","webpack://wooftech/./node_modules/@kaspernj/api-maker/src/form.jsx","webpack://wooftech/./node_modules/@kaspernj/api-maker/src/inputs/input-wrapper.jsx","webpack://wooftech/./node_modules/@kaspernj/api-maker/src/inputs/input.jsx","webpack://wooftech/./node_modules/@kaspernj/api-maker/src/inputs/money.jsx","webpack://wooftech/./node_modules/@kaspernj/api-maker/src/link.jsx","webpack://wooftech/./node_modules/debounce/index.js","webpack://wooftech/./node_modules/react-native-web/dist/cjs/exports/Platform/index.js","webpack://wooftech/./node_modules/@kaspernj/api-maker/src/inputs/auto-submit.mjs","webpack://wooftech/./node_modules/@kaspernj/api-maker/src/inputs/id-for-component.mjs","webpack://wooftech/./node_modules/@kaspernj/api-maker/src/inputs/name-for-component.mjs","webpack://wooftech/./node_modules/@kaspernj/api-maker/src/use-validation-errors.mjs","webpack://wooftech/./node_modules/@kaspernj/api-maker/src/use-input.mjs","webpack://wooftech/./node_modules/@kaspernj/api-maker/src/use-updated-event.mjs"],"sourcesContent":["import {digs} from \"diggerize\"\nimport PropTypes from \"prop-types\"\nimport propTypesExact from \"prop-types-exact\"\nimport React from \"react\"\n\nexport default class ApiMakerBootstrapInvalidFeedback extends React.PureComponent {\n static propTypes = propTypesExact({\n errors: PropTypes.array.isRequired\n })\n\n render () {\n return (\n
\n {this.errorMessages().join(\". \")}\n
\n )\n }\n\n errorMessages () {\n const {errors} = digs(this.props, \"errors\")\n const errorMessages = []\n\n for (const error of errors) {\n for (const errorMessage of error.getErrorMessages()) {\n errorMessages.push(errorMessage)\n }\n }\n\n return errorMessages\n }\n}\n","import PropTypes from \"prop-types\"\nimport propTypesExact from \"prop-types-exact\"\nimport {memo} from \"react\"\nimport {shapeComponent, ShapeComponent} from \"set-state-compare/src/shape-component.js\"\nimport useUpdatedEvent from \"./use-updated-event.mjs\"\n\nexport default memo(shapeComponent(class ApiMakerEventUpdated extends ShapeComponent {\n static propTypes = propTypesExact({\n active: PropTypes.bool,\n debounce: PropTypes.oneOfType([\n PropTypes.bool,\n PropTypes.number\n ]),\n model: PropTypes.object.isRequired,\n onConnected: PropTypes.func,\n onUpdated: PropTypes.func.isRequired\n })\n\n render() {\n const {model, onUpdated, ...restProps} = this.props\n\n useUpdatedEvent(model, onUpdated, restProps)\n\n return null\n }\n}))\n","import {createContext, memo, useContext, useMemo} from \"react\"\nimport BaseComponent from \"./base-component\"\nimport FormDataObjectizer from \"form-data-objectizer\"\nimport {Platform} from \"react-native\"\nimport {shapeComponent} from \"set-state-compare/src/shape-component.js\"\n\nconst FormContext = createContext(null)\n\nclass FormInputs {\n constructor() {\n this.inputs = {}\n }\n\n asObject() {\n const result = {}\n const formDataObjectizer = new FormDataObjectizer()\n\n for(const key in this.inputs) {\n const value = this.inputs[key]\n\n formDataObjectizer.treatInitial(key, value, result)\n }\n\n return result\n }\n\n setValue(name, value) {\n if (!name) throw new Error(\"'name' is required\")\n\n this.inputs[name] = value\n }\n\n setValueWithHidden(name, value) {\n this.setValue(name, value)\n\n if (Platform.OS == \"web\") {\n return \n }\n }\n}\n\nconst Form = memo(shapeComponent(class Form extends BaseComponent {\n render() {\n const {children, setForm, ...restProps} = this.props\n const form = useMemo(() => new FormInputs(), [])\n\n useMemo(() => {\n if (setForm) {\n setForm(form)\n }\n }, [setForm])\n\n return (\n \n {Platform.OS == \"web\" &&\n
\n {children}\n
\n }\n {Platform.OS != \"web\" && this.props.children}\n
\n )\n }\n}))\n\nconst useForm = () => useContext(FormContext)\n\nexport {Form, FormContext, FormInputs, useForm}\n","import useInput from \"../use-input.mjs\"\n\nconst inputWrapper = (WrapperComponentClass, wrapperOptions = {}) => (props) => {\n const {inputProps, restProps, wrapperOpts} = useInput({props, wrapperOptions})\n\n return (\n \n )\n}\n\nexport default inputWrapper\n","import AutoSubmit from \"./auto-submit.mjs\"\nimport BaseComponent from \"../base-component\"\nimport {dig, digg, digs} from \"diggerize\"\nimport EventUpdated from \"../event-updated\"\nimport inputWrapper from \"./input-wrapper\"\nimport Money from \"./money\"\nimport PropTypes from \"prop-types\"\nimport {memo, useMemo, useRef} from \"react\"\nimport replaceall from \"replaceall\"\nimport {shapeComponent} from \"set-state-compare/src/shape-component.js\"\nimport strftime from \"strftime\"\nimport {useForm} from \"../form\"\n\nconst ApiMakerInputsInput = memo(shapeComponent(class ApiMakerInputsInput extends BaseComponent {\n static defaultProps = {\n autoRefresh: false,\n autoSubmit: false,\n localizedNumber: false\n }\n\n static propTypes = {\n attribute: PropTypes.string,\n autoRefresh: PropTypes.bool.isRequired,\n autoSubmit: PropTypes.bool.isRequired,\n className: PropTypes.string,\n formatValue: PropTypes.func,\n id: PropTypes.string,\n localizedNumber: PropTypes.bool.isRequired,\n model: PropTypes.object,\n name: PropTypes.string,\n onChange: PropTypes.func,\n onMatchValidationError: PropTypes.func,\n type: PropTypes.string\n }\n\n setup() {\n const {inputProps} = this.p\n const {defaultValue, name} = inputProps\n\n this.form = useForm()\n this.visibleInputRef = useRef()\n\n this.useStates({\n blankInputName: digg(inputProps, \"type\") == \"file\"\n })\n useMemo(() => {\n if (name) {\n this.tt.form?.setValue(name, defaultValue)\n }\n }, [])\n }\n\n render () {\n const {\n attribute,\n autoRefresh,\n autoSubmit,\n defaultValue,\n formatValue,\n id,\n inputProps,\n inputRef,\n localizedNumber,\n model,\n name,\n onChange,\n onErrors,\n onMatchValidationError,\n type,\n wrapperOpts,\n ...restProps\n } = this.props\n\n const sharedProps = {\n id: localizedNumber ? null : inputProps.id,\n name: localizedNumber ? null : inputProps.name,\n }\n const ref = localizedNumber ? this.visibleInputRef : this.inputReference()\n const {ref: inputPropsRef, ...inputPropsWithoutRef} = inputProps\n\n return (\n <>\n {autoRefresh && model &&\n \n }\n {localizedNumber &&\n \n }\n {type == \"money\" &&\n \n }\n {type == \"textarea\" &&\n \n }\n {type != \"money\" && type != \"textarea\" &&\n \n }\n \n )\n }\n\n actualValue (visibleInput) {\n const {localizedNumber} = digs(this.props, \"localizedNumber\")\n const value = digg(visibleInput, \"value\")\n\n if (localizedNumber) {\n const decimal = I18n.t(\"number.currency.format.separator\")\n const integerSeparator = I18n.t(\"number.currency.format.delimiter\")\n\n let unformatted = replaceall(integerSeparator, \"\", value)\n\n unformatted = replaceall(decimal, \".\", unformatted)\n\n return unformatted\n }\n\n return value\n }\n\n autoSubmit = () => new AutoSubmit({component: this}).autoSubmit()\n\n formatValue (value) {\n const {formatValue, type} = this.props\n\n if (formatValue) {\n return formatValue(value)\n } else if (value instanceof Date && !isNaN(value.getTime())) {\n // We need to use a certain format for datetime-local\n if (type == \"datetime-local\") {\n return strftime(\"%Y-%m-%dT%H:%M:%S\", value)\n } else if (type == \"date\") {\n return strftime(\"%Y-%m-%d\", value)\n }\n }\n\n return value\n }\n\n inputDefaultValueLocalized () {\n const {defaultValue} = this.props\n const {localizedNumber} = digs(this.props, \"localizedNumber\")\n\n if (localizedNumber && defaultValue !== null && defaultValue !== undefined) {\n const separator = I18n.t(\"number.currency.format.separator\")\n const delimiter = I18n.t(\"number.currency.format.delimiter\")\n\n let formatted = `${defaultValue}`\n\n formatted = replaceall(\".\", \"{{separator}}\", formatted)\n formatted = replaceall(\",\", \"{{delimiter}}\", formatted)\n formatted = replaceall(\"{{separator}}\", separator, formatted)\n formatted = replaceall(\"{{delimiter}}\", delimiter, formatted)\n\n return formatted\n }\n\n return defaultValue\n }\n\n inputName () {\n if (this.state.blankInputName) return \"\"\n\n return this.props.inputProps.name\n }\n\n inputReference = () => digg(this, \"props\", \"inputProps\", \"ref\")\n\n onModelUpdated = (args) => {\n const inputRef = this.inputReference()\n\n if (!inputRef.current) {\n // This can happen if the component is being unmounted\n return\n }\n\n const {attribute} = digs(this.props, \"attribute\")\n const newModel = digg(args, \"model\")\n const currentValue = digg(inputRef, \"current\", \"value\")\n const newValue = newModel.readAttribute(attribute)\n const newFormattedValue = this.formatValue(newValue)\n\n if (currentValue != newFormattedValue) {\n inputRef.current.value = newFormattedValue\n }\n }\n\n onInputChanged = (e) => {\n const {form} = this.tt\n const {attribute, autoSubmit, inputProps, model, name, onChange} = this.props\n const {localizedNumber} = digs(this.props, \"localizedNumber\")\n\n if (localizedNumber) this.inputReference().current.value = this.actualValue(digg(e, \"target\"))\n\n if (attribute && autoSubmit && model) this.delayAutoSubmit()\n if (digg(inputProps, \"type\") == \"file\") this.setState({blankInputName: this.getBlankInputName()})\n if (form && name) form.setValue(name, e.target.value)\n if (onChange) onChange(e)\n }\n\n delayAutoSubmit () {\n if (this.delayAutoSubmitTimeout) {\n clearTimeout(this.delayAutoSubmitTimeout)\n }\n\n this.delayAutoSubmitTimeout = setTimeout(this.autoSubmit, 200)\n }\n\n // This fixes an issue in Firefox and ActiveStorage, where uploads would be a blank string if a file wasn't chosen\n getBlankInputName () {\n const value = dig(this.inputReference(), \"current\", \"value\")\n\n if (this.props.inputProps.type == \"file\" && value == \"\")\n return true\n }\n}))\n\nexport {ApiMakerInputsInput as Input}\nexport default inputWrapper(ApiMakerInputsInput)\n","import classNames from \"classnames\"\nimport Config from \"../config.mjs\"\nimport {digg} from \"diggerize\"\nimport idForComponent from \"./id-for-component.mjs\"\nimport * as inflection from \"inflection\"\nimport MoneyFormatter from \"../money-formatter\"\nimport PropTypes from \"prop-types\"\nimport PropTypesExact from \"prop-types-exact\"\nimport {memo, useRef} from \"react\"\nimport {shapeComponent, ShapeComponent} from \"set-state-compare/src/shape-component.js\"\n\nexport default memo(shapeComponent(class ApiMakerInputsMoney extends ShapeComponent {\n static defaultProps = {\n disabled: false,\n showCurrencyOptions: true\n }\n\n static propTypes = PropTypesExact({\n attribute: PropTypes.string,\n centsInputName: PropTypes.string,\n className: PropTypes.string,\n currenciesCollection: PropTypes.array,\n currencyName: PropTypes.string,\n currencyRef: PropTypes.object,\n defaultValue: PropTypes.object,\n disabled: PropTypes.bool.isRequired,\n id: PropTypes.string,\n inputRef: PropTypes.object,\n label: PropTypes.node,\n model: PropTypes.object,\n name: PropTypes.string,\n onChange: PropTypes.func,\n placeholder: PropTypes.node,\n showCurrencyOptions: PropTypes.bool,\n small: PropTypes.bool,\n type: PropTypes.string,\n wholeRef: PropTypes.object\n })\n\n setup() {\n this.inputRef = useRef()\n this.currencyRefBackup = useRef()\n this.currencyRef = this.props.currencyRef || this.currencyRefBackup\n this.wholeRefBackup = useRef()\n this.wholeRef = this.props.wholeRef || this.wholeRefBackup\n }\n\n getInputRef () {\n return this.props.inputRef || this.inputRef\n }\n\n render () {\n const {attribute, className, disabled, model, showCurrencyOptions} = this.props\n let {currenciesCollection} = this.props\n\n if (!currenciesCollection) currenciesCollection = Config.getCurrenciesCollection()\n\n return (\n
\n \n \n {showCurrencyOptions &&\n \n \n {currenciesCollection.map((option) => (\n \n ))}\n \n }\n
\n )\n }\n\n inputCurrencyId () {\n return `${this.inputId()}_currency`\n }\n\n inputCurrencyName () {\n if (\"currencyName\" in this.props)\n return this.props.currencyName\n\n return `${this.props.model.modelClassData().paramKey}[${inflection.underscore(this.props.attribute)}_currency]`\n }\n\n inputCurrencyValue () {\n const {defaultValue} = this.props\n\n if (defaultValue) {\n return MoneyFormatter.currencyFromMoney(defaultValue).code\n } else {\n return \"DKK\"\n }\n }\n\n inputDefaultValue () {\n const {defaultValue} = this.props\n\n if (defaultValue) {\n return MoneyFormatter.fromMoney({amount: defaultValue.amount, currency: this.inputCurrencyValue()}, {decimals: 2, excludeCurrency: true}).toString()\n } else {\n return \"\"\n }\n }\n\n inputDefaultCentsValue () {\n const {defaultValue} = this.props\n\n if (this.getInputRef().current) {\n return digg(this.getInputRef(), \"current\", \"value\")\n } else if (defaultValue) {\n return MoneyFormatter.amountFromMoney(defaultValue)\n }\n }\n\n inputCentsId () {\n return `${this.inputId()}_cents`\n }\n\n inputCentsName () {\n if (\"name\" in this.props)\n return this.props.name\n\n return `${this.props.model.modelClassData().paramKey}[${inflection.underscore(this.props.attribute)}_cents]`\n }\n\n inputId () {\n return idForComponent(this)\n }\n\n onCurrencyChanged = () => {\n if (this.props.onChange)\n this.props.onChange()\n }\n\n setAmount = () => {\n const inputElement = this.getInputRef().current\n\n if (!inputElement.value && inputElement.value == \"\") {\n this.wholeRef.current.value = \"\"\n } else {\n const cents = parseFloat(inputElement.value)\n const formatted = MoneyFormatter.fromMoney({amount: cents, currency: this.inputCurrencyValue()}, {decimals: 2, excludeCurrency: true}).toString()\n\n this.wholeRef.current.value = formatted\n }\n }\n\n setCents = () => {\n const inputElement = this.getInputRef().current\n\n let whole = MoneyFormatter.stringToFloat(this.wholeRef.current.value)\n let cents = parseInt(whole * 100, 10)\n let oldCents = parseInt(inputElement.value, 10)\n\n if (typeof cents == \"number\") {\n inputElement.value = cents\n } else {\n inputElement.value = ''\n }\n\n if (this.props.onChange && oldCents != cents)\n this.props.onChange()\n }\n}))\n","import {PureComponent} from \"react\"\n\nexport default class Link extends PureComponent {\n render() {\n const {to, onClick, ...restProps} = this.props\n\n return (\n \n )\n }\n\n onLinkClicked = (e, ...restArgs) => {\n const {onClick} = this.props\n\n if (onClick) onClick(e, ...restArgs)\n\n if (!e.defaultPrevented && !e.ctrlKey && !e.metaKey) {\n e.preventDefault()\n\n const history = globalThis.apiMakerConfigGlobal?.history\n\n if (!history) throw new Error(\"History hasn't been set in the API maker configuration\")\n\n history.push(this.props.to)\n }\n }\n}\n","function debounce(function_, wait = 100, options = {}) {\n\tif (typeof function_ !== 'function') {\n\t\tthrow new TypeError(`Expected the first parameter to be a function, got \\`${typeof function_}\\`.`);\n\t}\n\n\tif (wait < 0) {\n\t\tthrow new RangeError('`wait` must not be negative.');\n\t}\n\n\t// TODO: Deprecate the boolean parameter at some point.\n\tconst {immediate} = typeof options === 'boolean' ? {immediate: options} : options;\n\n\tlet storedContext;\n\tlet storedArguments;\n\tlet timeoutId;\n\tlet timestamp;\n\tlet result;\n\n\tfunction run() {\n\t\tconst callContext = storedContext;\n\t\tconst callArguments = storedArguments;\n\t\tstoredContext = undefined;\n\t\tstoredArguments = undefined;\n\t\tresult = function_.apply(callContext, callArguments);\n\t\treturn result;\n\t}\n\n\tfunction later() {\n\t\tconst last = Date.now() - timestamp;\n\n\t\tif (last < wait && last >= 0) {\n\t\t\ttimeoutId = setTimeout(later, wait - last);\n\t\t} else {\n\t\t\ttimeoutId = undefined;\n\n\t\t\tif (!immediate) {\n\t\t\t\tresult = run();\n\t\t\t}\n\t\t}\n\t}\n\n\tconst debounced = function (...arguments_) {\n\t\tif (storedContext && this !== storedContext) {\n\t\t\tthrow new Error('Debounced method called with different contexts.');\n\t\t}\n\n\t\tstoredContext = this; // eslint-disable-line unicorn/no-this-assignment\n\t\tstoredArguments = arguments_;\n\t\ttimestamp = Date.now();\n\n\t\tconst callNow = immediate && !timeoutId;\n\n\t\tif (!timeoutId) {\n\t\t\ttimeoutId = setTimeout(later, wait);\n\t\t}\n\n\t\tif (callNow) {\n\t\t\tresult = run();\n\t\t}\n\n\t\treturn result;\n\t};\n\n\tdebounced.clear = () => {\n\t\tif (!timeoutId) {\n\t\t\treturn;\n\t\t}\n\n\t\tclearTimeout(timeoutId);\n\t\ttimeoutId = undefined;\n\t};\n\n\tdebounced.flush = () => {\n\t\tif (!timeoutId) {\n\t\t\treturn;\n\t\t}\n\n\t\tdebounced.trigger();\n\t};\n\n\tdebounced.trigger = () => {\n\t\tresult = run();\n\n\t\tdebounced.clear();\n\t};\n\n\treturn debounced;\n}\n\n// Adds compatibility for ES modules\nmodule.exports.debounce = debounce;\n\nmodule.exports = debounce;\n","\"use strict\";\n\nexports.__esModule = true;\nexports.default = void 0;\n/**\n * Copyright (c) Nicolas Gallagher.\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\n\nvar Platform = {\n OS: 'web',\n select: obj => 'web' in obj ? obj.web : obj.default,\n get isTesting() {\n if (process.env.NODE_ENV === 'test') {\n return true;\n }\n return false;\n }\n};\nvar _default = Platform;\nexports.default = _default;\nmodule.exports = exports.default;","import {digg} from \"diggerize\"\nimport * as inflection from \"inflection\"\n\nexport default class ApiMakerInputsAutoSubmit {\n constructor ({component}) {\n this.component = component\n }\n\n autoSubmit () {\n const {attribute, model} = this.component.props\n const updateAttributeName = inflection.underscore(attribute)\n const updateParams = {}\n\n updateParams[updateAttributeName] = this.value()\n\n model.update(updateParams)\n }\n\n value () {\n const inputRef = this.component.props.inputRef || this.component.props.inputProps.ref || this.component.inputRef\n const input = digg(inputRef, \"current\")\n\n if (input.type == \"checkbox\") {\n if (input.checked) {\n if (input.value !== undefined) {\n return input.value\n } else {\n return 1\n }\n } else {\n return 0\n }\n }\n\n return digg(input, \"value\")\n }\n}\n","import * as inflection from \"inflection\"\n\nexport default function apiMakerIdForComponent(component) {\n if (\"id\" in component.props) {\n return component.props.id\n } else if (component.props.attribute && component.props.model) {\n return `${component.props.model.modelClassData().paramKey}_${inflection.underscore(component.props.attribute)}`\n } else if (component.generatedInputId) {\n return component.generatedInputId\n } else {\n const generatedInputId = Math.random().toString(36).substring(2, 15) + Math.random().toString(36).substring(2, 15)\n component.generatedInputId = generatedInputId\n return generatedInputId\n }\n}\n","import * as inflection from \"inflection\"\n\nexport default function apiMakerNameForComponent (component) {\n if (\"name\" in component.props) {\n return component.props.name\n } else if (component.props.attribute && component.props.model) {\n let attributeName = inflection.underscore(component.props.attribute)\n\n if (component.props.type == \"money\") {\n attributeName += \"_cents\"\n }\n\n return `${component.props.model.modelClassData().paramKey}[${attributeName}]`\n }\n}\n","import events from \"./events.mjs\"\nimport {useCallback} from \"react\"\nimport useEventEmitter from \"./use-event-emitter.mjs\"\nimport useShape from \"set-state-compare/src/use-shape.js\"\n\nconst useValidationErrors = (callback) => {\n const s = useShape({callback})\n\n s.useStates({validationErrors: []})\n\n const onValidationErrors = useCallback((validationErrors) => {\n const matchedValidationErrors = []\n\n for (const validationError of validationErrors.getValidationErrors()) {\n if (s.p.callback(validationError)) {\n validationError.setHandled()\n matchedValidationErrors.push(validationError)\n }\n }\n\n s.set({\n validationErrors: matchedValidationErrors\n })\n }, [])\n\n useEventEmitter(events, \"onValidationErrors\", onValidationErrors)\n\n return {\n validationErrors: s.s.validationErrors\n }\n}\n\nexport default useValidationErrors\n","import {dig, digg} from \"diggerize\"\nimport {useCallback, useEffect, useMemo} from \"react\"\nimport idForComponent from \"./inputs/id-for-component.mjs\"\nimport nameForComponent from \"./inputs/name-for-component.mjs\"\nimport strftime from \"strftime\"\nimport useShape from \"set-state-compare/src/use-shape.js\"\nimport useValidationErrors from \"./use-validation-errors.mjs\"\n\nconst useInput = ({props, wrapperOptions}) => {\n const s = useShape(props)\n\n s.useStates({\n form: undefined\n })\n\n useEffect(() => {\n setForm()\n }, [s.props.inputRef?.current])\n\n s.meta.fakeComponent = {props}\n\n const formatValue = useCallback((value) => {\n const {formatValue} = s.props\n\n if (formatValue) {\n return formatValue(value)\n } else if (value instanceof Date && !isNaN(value.getTime())) {\n // We need to use a certain format for datetime-local\n if (inputType() == \"datetime-local\") {\n return strftime(\"%Y-%m-%dT%H:%M:%S\", value)\n } else if (inputType() == \"date\") {\n return strftime(\"%Y-%m-%d\", value)\n }\n }\n\n return value\n }, [])\n\n const handleAsCheckbox = useCallback(() => {\n if (s.props.type == \"checkbox\") return true\n if (!(\"type\" in s.props) && wrapperOptions?.type == \"checkbox\") return true\n\n return false\n }, [])\n\n const handleAsSelect = useCallback(() => {\n if (wrapperOptions?.type == \"select\") return true\n\n return false\n }, [])\n\n const inputDefaultChecked = useCallback(() => {\n if (\"defaultChecked\" in s.props) {\n return s.props.defaultChecked\n } else if (s.props.model) {\n if (!s.props.model[s.props.attribute])\n throw new Error(`No such attribute: ${s.props.attribute}`)\n\n return s.props.model[s.props.attribute]()\n }\n }, [])\n\n const inputDefaultValue = useCallback(() => {\n if (\"defaultValue\" in s.props) {\n return formatValue(s.props.defaultValue)\n } else if (s.props.model) {\n if (!s.props.model[s.props.attribute]) {\n throw new Error(`No such attribute defined on resource: ${digg(s.props.model.modelClassData(), \"name\")}#${s.props.attribute}`)\n }\n\n return formatValue(s.props.model[s.props.attribute]())\n }\n }, [])\n\n const inputRefBackup = useCallback(() => {\n if (!s.meta._inputRefBackup) s.meta._inputRefBackup = React.createRef()\n\n return s.meta._inputRefBackup\n }, [])\n\n const inputRef = useCallback(() => s.props.inputRef || inputRefBackup())\n\n const inputType = useCallback(() => {\n if (\"type\" in s.props) {\n return s.props.type\n } else if (wrapperOptions?.type == \"checkbox\") {\n return \"checkbox\"\n } else {\n return \"text\"\n }\n }, [])\n\n const label = useCallback(() => {\n if (\"label\" in s.props) {\n return s.props.label\n } else if (s.props.attribute && s.props.model) {\n return s.props.model.modelClass().humanAttributeName(s.props.attribute)\n }\n }, [])\n\n const setForm = useCallback(() => {\n const inputElement = inputRef().current\n\n let form\n\n if (inputElement) form = dig(inputElement, \"form\")\n if (form && form != s.s.form) s.set({form})\n }, [])\n\n const getId = useCallback(() => idForComponent(s.m.fakeComponent), [])\n const getName = useCallback(() => nameForComponent(s.m.fakeComponent), [])\n\n const getInputProps = useCallback(() => {\n const givenInputProps = s.props.inputProps || {}\n const inputProps = Object.assign(\n {\n id: getId(),\n name: getName(),\n ref: inputRef()\n },\n givenInputProps\n )\n\n if (handleAsCheckbox()) {\n if (\"checked\" in s.props) {\n inputProps.checked = s.props.checked\n }\n\n if (\"defaultChecked\" in s.props || (s.props.attribute && s.props.model)) {\n inputProps.defaultChecked = inputDefaultChecked()\n }\n } else if (!(\"value\" in s.props)) {\n inputProps.defaultValue = inputDefaultValue()\n }\n\n return inputProps\n }, [])\n\n const {inputProps: oldInputProps, ...restProps} = props\n const type = inputType()\n\n s.meta.inputProps = getInputProps()\n s.meta.inputNameWithoutId = useMemo(() => s.m.inputProps.name?.replace(/\\[(.+)_id\\]$/, \"[$1]\"), [s.m.inputProps.name])\n\n if (!s.m.inputProps.ref) throw new Error(\"No input ref?\")\n if (!handleAsSelect()) s.m.inputProps.type = type\n\n const {validationErrors} = useValidationErrors((validationError) =>\n validationError.inputName == s.m.inputProps.name || validationError.inputName == s.m.inputNameWithoutId\n )\n\n const wrapperOpts = {\n errors: validationErrors,\n form: s.s.form,\n label: label()\n }\n\n return {\n inputProps: s.m.inputProps,\n wrapperOpts,\n restProps\n }\n}\n\nexport default useInput\n","import {useCallback, useLayoutEffect, useMemo} from \"react\"\nimport debounceFunction from \"debounce\"\nimport ModelEvents from \"./model-events.mjs\"\nimport useShape from \"set-state-compare/src/use-shape.js\"\n\nconst apiMakerUseUpdatedEvent = (model, onUpdated, props = {}) => {\n const {active = true, debounce, onConnected, ...restProps} = props\n\n if (Object.keys(restProps).length > 0) {\n throw new Error(`Unknown props given to useUpdatedEvent: ${Object.keys(restProps).join(\", \")}`)\n }\n\n const s = useShape({active, debounce, model, onUpdated})\n\n const debounceCallback = useMemo(() => {\n if (typeof debounce == \"number\") {\n return debounceFunction(s.p.onUpdated, debounce)\n } else {\n return debounceFunction(s.p.onUpdated)\n }\n }, [debounce])\n\n s.updateMeta({debounceCallback})\n\n const onUpdatedCallback = useCallback((...args) => {\n if (!s.p.active) {\n return\n }\n\n if (s.p.debounce) {\n s.m.debounceCallback(...args)\n } else {\n s.p.onUpdated(...args)\n }\n }, [])\n\n useLayoutEffect(() => {\n let connectUpdated, onConnectedListener\n\n if (model) {\n connectUpdated = ModelEvents.connectUpdated(model, onUpdatedCallback)\n\n if (onConnected) {\n onConnectedListener = connectUpdated.events.addListener(\"connected\", onConnected)\n }\n }\n\n return () => {\n if (onConnectedListener) {\n connectUpdated.events.removeListener(\"connected\", onConnected)\n }\n\n if (connectUpdated) {\n connectUpdated.unsubscribe()\n }\n }\n }, [model?.id()])\n}\n\nexport default apiMakerUseUpdatedEvent\n"],"names":["ApiMakerBootstrapInvalidFeedback","_React$PureComponent","_classCallCheck","_callSuper","arguments","_inherits","key","value","React","className","this","errorMessages","join","_step","_iterator","_createForOfIteratorHelper","digs","props","errors","s","n","done","_step2","_iterator2","getErrorMessages","errorMessage","push","err","e","f","memo","shapeComponent","_ApiMakerEventUpdated","_ShapeComponent","ApiMakerEventUpdated","_this$props","model","onUpdated","restProps","_objectWithoutProperties","_excluded","useUpdatedEvent","ShapeComponent","propTypes","propTypesExact","active","PropTypes","debounce","isRequired","onConnected","FormContext","createContext","FormInputs","_createClass","inputs","result","formDataObjectizer","FormDataObjectizer","treatInitial","name","Error","setValue","Platform","createElement","type","undefined","useForm","_BaseComponent","Form","children","setForm","form","useMemo","Provider","BaseComponent","useContext","WrapperComponentClass","wrapperOptions","length","_useInput","useInput","inputProps","wrapperOpts","Object","assign","ApiMakerInputsInput","_ApiMakerInputsInput","_this","_len","_args","Array","_key","concat","autoSubmit","AutoSubmit","component","inputReference","digg","onModelUpdated","args","inputRef","current","attribute","newModel","currentValue","newValue","readAttribute","newFormattedValue","formatValue","onInputChanged","tt","onChange","localizedNumber","actualValue","delayAutoSubmit","setState","blankInputName","getBlankInputName","target","_this2","p","defaultValue","visibleInputRef","useRef","useStates","_this2$tt$form","_this$props2","autoRefresh","id","onErrors","onMatchValidationError","sharedProps","ref","inputPropsWithoutRef","_excluded2","Fragment","EventUpdated","inputName","Money","inputDefaultValueLocalized","visibleInput","decimal","I18n","t","integerSeparator","unformatted","replaceall","_this$props3","Date","isNaN","getTime","strftime","separator","delimiter","formatted","state","delayAutoSubmitTimeout","clearTimeout","setTimeout","dig","defaultProps","inputWrapper","_ApiMakerInputsMoney","ApiMakerInputsMoney","onCurrencyChanged","setAmount","inputElement","getInputRef","cents","parseFloat","MoneyFormatter","fromMoney","amount","currency","inputCurrencyValue","decimals","excludeCurrency","toString","wholeRef","setCents","whole","stringToFloat","parseInt","oldCents","currencyRefBackup","currencyRef","wholeRefBackup","disabled","showCurrencyOptions","currenciesCollection","Config","getCurrenciesCollection","inputDefaultCentsValue","inputCentsId","inputCentsName","classNames","inputDefaultValue","inputId","onBlur","onKeyUp","placeholder","inputCurrencyId","inputCurrencyName","map","option","small","currencyName","modelClassData","paramKey","inflection","currencyFromMoney","code","amountFromMoney","idForComponent","PropTypesExact","centsInputName","label","Link","_PureComponent","onLinkClicked","onClick","_len2","restArgs","_key2","apply","defaultPrevented","ctrlKey","metaKey","_globalThis$apiMakerC","preventDefault","history","globalThis","apiMakerConfigGlobal","to","href","PureComponent","function_","wait","options","TypeError","RangeError","immediate","storedContext","storedArguments","timeoutId","timestamp","run","callContext","callArguments","later","last","now","debounced","arguments_","callNow","clear","flush","trigger","module","exports","__esModule","_default","OS","select","obj","web","default","isTesting","ApiMakerInputsAutoSubmit","constructor","updateParams","update","input","checked","apiMakerIdForComponent","generatedInputId","Math","random","substring","apiMakerNameForComponent","attributeName","callback","validationErrors","onValidationErrors","useCallback","matchedValidationErrors","validationError","getValidationErrors","setHandled","set","events","useEffect","meta","fakeComponent","inputType","handleAsCheckbox","handleAsSelect","inputDefaultChecked","defaultChecked","inputRefBackup","_inputRefBackup","createRef","modelClass","humanAttributeName","getId","m","getName","getInputProps","givenInputProps","oldInputProps","inputNameWithoutId","replace","keys","debounceCallback","updateMeta","onUpdatedCallback","useLayoutEffect","connectUpdated","onConnectedListener","addListener","removeListener","unsubscribe"],"sourceRoot":""}