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AAI/E,KAAO,sBACL+E,CAPN,CAQF,CAEA,SAASE,IACP,OAAOR,CACT,CAHAA,EAAK1B,WAAa0B,EAMlB,IAAIS,EAAiB,CACnBC,MAAOV,EACPW,OAAQX,EACRY,KAAMZ,EACNa,KAAMb,EACNc,OAAQd,EACRe,OAAQf,EACRX,OAAQW,EACRgB,OAAQhB,EAERiB,IAAKjB,EACLkB,QAASV,EACTW,QAASnB,EACToB,YAAapB,EACbqB,WAAYb,EACZc,KAAMtB,EACNuB,SAAUf,EACVgB,MAAOhB,EACPiB,UAAWjB,EACXkB,MAAOlB,EACPmB,MAAOnB,EAEPoB,eAAgBhC,EAChBC,kBAAmBF,GAKrB,OAFAc,EAAezD,UAAYyD,EAEpBA,CACT,C,iBC/CEX,EAAOC,QAAU,EAAQ,KAAR,E,wBCNnBD,EAAOC,QAFoB,8C","sources":["webpack://fed-boilerplate/./src/2-forms/CFormElementWrapper.tsx","webpack://fed-boilerplate/./src/2-forms/CInput.tsx","webpack://fed-boilerplate/./src/2-forms/CRadioButton.jsx","webpack://fed-boilerplate/./src/2-forms/CRadioButtonContext.js","webpack://fed-boilerplate/./src/2-forms/CRadioButtonItem.jsx","webpack://fed-boilerplate/./src/3-components/icon/CIcon.tsx","webpack://fed-boilerplate/./src/3-components/loader/index.jsx","webpack://fed-boilerplate/./src/js/utils/getRandomString.js","webpack://fed-boilerplate/./node_modules/prop-types/factoryWithThrowingShims.js","webpack://fed-boilerplate/./node_modules/prop-types/index.js","webpack://fed-boilerplate/./node_modules/prop-types/lib/ReactPropTypesSecret.js"],"sourcesContent":["import type { ReactNode, Ref } from 'react';\nimport React, { forwardRef } from 'react';\n\ninterface CFormElementWrapperProps {\n elementClass?: string;\n labelClass?: string;\n formLayoutClass?: string;\n inputWrapperClass?: string;\n hasError?: boolean;\n isDisabled?: boolean;\n notRequired?: boolean;\n label?: string;\n labelFor?: string;\n errorMsg?: string;\n children: ReactNode;\n}\n\nconst CFormElementWrapper = forwardRef(\n (\n {\n elementClass,\n formLayoutClass,\n inputWrapperClass,\n labelClass,\n labelFor,\n hasError,\n isDisabled,\n notRequired,\n label,\n errorMsg,\n children,\n }: CFormElementWrapperProps,\n ref: Ref<HTMLDivElement> | undefined\n ) => {\n return (\n <div\n ref={ref}\n className={`\n form-element\n ${elementClass}\n ${formLayoutClass}\n ${hasError ? 'has-error' : ''}\n ${isDisabled ? 'is-disabled' : ''}\n ${notRequired ? '' : 'is-required'}\n `}\n >\n {label && (\n <div className=\"label-wrapper\">\n <label htmlFor={labelFor} className={labelClass}>\n {label}\n {notRequired ? null : <sup>*</sup>}\n </label>\n </div>\n )}\n\n <div\n className={`input-wrapper remove-ff-error-highlight ${inputWrapperClass}`}\n >\n {children}\n {errorMsg && <div className=\"error-msg\">{errorMsg}</div>}\n </div>\n </div>\n );\n }\n);\n\nCFormElementWrapper.defaultProps = {\n elementClass: '',\n labelClass: '',\n formLayoutClass: '',\n inputWrapperClass: '',\n hasError: false,\n isDisabled: false,\n notRequired: false,\n label: '',\n errorMsg: '',\n};\n\nexport default CFormElementWrapper;\n","import type { ReactNode } from 'react';\nimport React from 'react';\nimport { forwardRef } from 'react';\nimport PropTypes from 'prop-types';\nimport { Else, If, Then } from 'react-if';\nimport Loader from '../3-components/loader';\nimport CFormElementWrapper from './CFormElementWrapper';\nimport CIcon from '../3-components/icon/CIcon';\n\ninterface CInputProps {\n id?: string;\n formLayoutClass?: string;\n labelClass?: string;\n label?: string;\n hasError?: boolean;\n errorMsg?: string;\n searchType?: boolean;\n iconName?: string;\n inputType?: string;\n placeholder?: string;\n isDisabled?: boolean;\n notRequired?: boolean;\n inputClass?: string;\n value?: string | number;\n defaultValue?: string | number;\n children?: ReactNode;\n name?: string;\n min?: number;\n max?: number;\n onClick?: () => void;\n onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;\n onBlur?: () => void;\n onKeyPress?: (event: React.KeyboardEvent<HTMLInputElement>) => void;\n loading?: boolean;\n}\n\nconst CInput = forwardRef<HTMLInputElement, CInputProps>(\n (\n {\n id,\n formLayoutClass = '',\n labelClass = '',\n label = '',\n hasError = false,\n errorMsg = '',\n searchType = false,\n iconName = '',\n inputType = 'text',\n placeholder = '',\n isDisabled = false,\n notRequired = false,\n inputClass = '',\n value,\n defaultValue,\n children,\n name = '',\n min,\n max,\n onClick = () => {},\n onChange = () => {},\n onBlur = () => {},\n onKeyPress = () => {},\n loading = false,\n },\n ref\n ) => {\n return (\n <CFormElementWrapper\n formLayoutClass={formLayoutClass}\n labelClass={labelClass}\n label={label}\n labelFor={id}\n hasError={hasError}\n errorMsg={errorMsg}\n isDisabled={isDisabled}\n notRequired={notRequired}\n >\n <If condition={searchType}>\n <Then>\n <CIcon icon=\"pictogram-search\" classes=\"input-icon\" />\n </Then>\n <Else>\n {iconName && <CIcon icon={iconName} classes=\"input-icon\" />}\n </Else>\n </If>\n\n {loading && <Loader className=\"mini\" />}\n\n <input\n ref={ref}\n id={id}\n type={inputType ? inputType : 'text'}\n placeholder={placeholder}\n disabled={isDisabled}\n required={!notRequired}\n className={inputClass}\n value={value}\n defaultValue={defaultValue}\n onClick={onClick}\n name={name}\n min={min}\n max={max}\n onChange={onChange}\n onBlur={onBlur}\n onKeyPress={onKeyPress}\n />\n\n {searchType && (\n <input\n type=\"submit\"\n className=\"search-button btn-skin-1\"\n value=\"Search\"\n />\n )}\n\n {children}\n </CFormElementWrapper>\n );\n }\n);\n\n// Default props are already provided directly in the function definition.\n/* eslint-disable react/require-default-props */\nCInput.propTypes = {\n formLayoutClass: PropTypes.string,\n labelClass: PropTypes.string,\n label: PropTypes.string,\n hasError: PropTypes.bool,\n errorMsg: PropTypes.string,\n searchType: PropTypes.bool,\n iconName: PropTypes.string,\n inputType: PropTypes.string,\n placeholder: PropTypes.string,\n isDisabled: PropTypes.bool,\n notRequired: PropTypes.bool,\n inputClass: PropTypes.string,\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n defaultValue: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n children: PropTypes.element,\n name: PropTypes.string,\n min: PropTypes.number,\n max: PropTypes.number,\n onClick: PropTypes.func,\n onChange: PropTypes.func,\n onBlur: PropTypes.func,\n onKeyPress: PropTypes.func,\n loading: PropTypes.bool,\n};\n/* eslint-enable */\n\nexport default CInput;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport getRandomString from 'utils/getRandomString';\nimport CFormElementWrapper from './CFormElementWrapper';\nimport CRadioNameContext from './CRadioButtonContext';\n\nclass CRadioButton extends React.Component {\n randomNameString = getRandomString();\n\n render() {\n const {\n formLayoutClass,\n labelClass,\n label,\n hasError,\n errorMsg,\n notRequired = false,\n isDisabled,\n children,\n } = this.props;\n\n return (\n <CFormElementWrapper\n formLayoutClass={formLayoutClass}\n labelClass={labelClass}\n label={label}\n hasError={hasError}\n errorMsg={errorMsg}\n notRequired={notRequired}\n isDisabled={isDisabled}\n elementClass=\"radiobutton-wrapper\"\n >\n <CRadioNameContext.Provider\n value={this.props.name || this.randomNameString}\n >\n {children}\n </CRadioNameContext.Provider>\n </CFormElementWrapper>\n );\n }\n}\n\nCRadioButton.propTypes = {\n name: PropTypes.string,\n formLayoutClass: PropTypes.string,\n labelClass: PropTypes.string,\n label: PropTypes.string,\n hasError: PropTypes.bool,\n errorMsg: PropTypes.string,\n notRequired: PropTypes.bool,\n isDisabled: PropTypes.bool,\n children: PropTypes.node.isRequired,\n};\n\nCRadioButton.defaultProps = {\n name: '',\n formLayoutClass: '',\n labelClass: '',\n label: '',\n hasError: false,\n errorMsg: '',\n notRequired: false,\n isDisabled: false,\n};\n\nexport default CRadioButton;\n","import { createContext } from 'react';\n\nconst CRadioNameContext = createContext('');\n\nexport default CRadioNameContext;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport getRandomString from 'utils/getRandomString';\nimport RadioNameContext from './CRadioButtonContext';\n\nclass CRadioButtonItem extends React.Component {\n randomIDString = getRandomString();\n\n render() {\n // TODO `RadioNameContext.Consumer` should be converted to a Class.contextType syntax\n // in case React is updated to a newer version.\n // See https://reactjs.org/docs/context.html#classcontexttype\n return (\n <RadioNameContext.Consumer>\n {defaultName => {\n return (\n <>\n <input\n type=\"radio\"\n id={this.props.id || this.randomIDString}\n name={this.props.name || defaultName}\n value={this.props.value}\n disabled={this.props.isDisabled}\n required={!this.props.notRequired}\n checked={this.props.checked}\n onChange={this.props.onChange}\n />\n <label htmlFor={this.props.id || this.randomIDString}>\n {this.props.label}\n </label>\n </>\n );\n }}\n </RadioNameContext.Consumer>\n );\n }\n}\n\nCRadioButtonItem.propTypes = {\n id: PropTypes.string,\n name: PropTypes.string,\n value: PropTypes.oneOfType([\n PropTypes.string,\n PropTypes.number,\n PropTypes.bool\n ]).isRequired,\n isDisabled: PropTypes.bool,\n notRequired: PropTypes.bool,\n checked: PropTypes.bool,\n label: PropTypes.string.isRequired,\n onChange: PropTypes.func.isRequired,\n};\n\nCRadioButtonItem.defaultProps = {\n id: '',\n name: '',\n isDisabled: false,\n checked: false,\n notRequired: false,\n};\n\nexport default CRadioButtonItem;\n","import React from 'react';\nimport PropTypes from 'prop-types';\n\ninterface CIconProps {\n classes?: string;\n width?: string;\n height?: string;\n icon: string;\n}\n\nconst CIcon = ({ classes, width, height, icon }: CIconProps) => {\n return (\n <svg\n className={`svg-icon ${classes}`}\n style={{\n width,\n height,\n }}\n >\n <use xlinkHref={`#${icon}`} />\n </svg>\n );\n};\n\nCIcon.defaultProps = {\n classes: '',\n width: '',\n height: '',\n};\n\nCIcon.propTypes = {\n classes: PropTypes.string,\n width: PropTypes.string,\n height: PropTypes.string,\n icon: PropTypes.string.isRequired,\n};\n\nexport default CIcon;\n","import React from 'react';\nimport { string } from 'prop-types';\n\nfunction Loader({ className, tag }) {\n const classNameValue = `c-loader ${className}`;\n return (\n <>\n {tag === 'div' ? (\n <div className={classNameValue} />\n ) : (\n <span className={classNameValue} />\n )}\n </>\n );\n}\n\nLoader.propTypes = { className: string, tag: string };\n\nLoader.defaultProps = { className: '', tag: 'div' };\n\nexport default Loader;\n","export default function getRandomString() {\n return Math.random().toString(36)\n .substring(7);\n}\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\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'use strict';\n\nvar ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\n\nfunction emptyFunction() {}\nfunction emptyFunctionWithReset() {}\nemptyFunctionWithReset.resetWarningCache = emptyFunction;\n\nmodule.exports = function() {\n function shim(props, propName, componentName, location, propFullName, secret) {\n if (secret === ReactPropTypesSecret) {\n // It is still safe when called from React.\n return;\n }\n var err = new Error(\n 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\n 'Use PropTypes.checkPropTypes() to call them. ' +\n 'Read more at http://fb.me/use-check-prop-types'\n );\n err.name = 'Invariant Violation';\n throw err;\n };\n shim.isRequired = shim;\n function getShim() {\n return shim;\n };\n // Important!\n // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.\n var ReactPropTypes = {\n array: shim,\n bigint: shim,\n bool: shim,\n func: shim,\n number: shim,\n object: shim,\n string: shim,\n symbol: shim,\n\n any: shim,\n arrayOf: getShim,\n element: shim,\n elementType: shim,\n instanceOf: getShim,\n node: shim,\n objectOf: getShim,\n oneOf: getShim,\n oneOfType: getShim,\n shape: getShim,\n exact: getShim,\n\n checkPropTypes: emptyFunctionWithReset,\n resetWarningCache: emptyFunction\n };\n\n ReactPropTypes.PropTypes = ReactPropTypes;\n\n return ReactPropTypes;\n};\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\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\nif (process.env.NODE_ENV !== 'production') {\n var ReactIs = require('react-is');\n\n // By explicitly using `prop-types` you are opting into new development behavior.\n // http://fb.me/prop-types-in-prod\n var throwOnDirectAccess = true;\n module.exports = require('./factoryWithTypeCheckers')(ReactIs.isElement, throwOnDirectAccess);\n} else {\n // By explicitly using `prop-types` you are opting into new production behavior.\n // http://fb.me/prop-types-in-prod\n module.exports = require('./factoryWithThrowingShims')();\n}\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\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'use strict';\n\nvar ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';\n\nmodule.exports = ReactPropTypesSecret;\n"],"names":["CFormElementWrapper","forwardRef","_ref","ref","elementClass","formLayoutClass","inputWrapperClass","labelClass","labelFor","hasError","isDisabled","notRequired","label","errorMsg","children","React","className","concat","htmlFor","defaultProps","CInput","id","_ref$formLayoutClass","_ref$labelClass","_ref$label","_ref$hasError","_ref$errorMsg","_ref$searchType","searchType","_ref$iconName","iconName","_ref$inputType","inputType","_ref$placeholder","placeholder","_ref$isDisabled","_ref$notRequired","_ref$inputClass","inputClass","value","defaultValue","_ref$name","name","min","max","_ref$onClick","onClick","_ref$onChange","onChange","_ref$onBlur","onBlur","_ref$onKeyPress","onKeyPress","_ref$loading","loading","If","condition","Then","CIcon","icon","classes","Else","Loader","type","disabled","required","propTypes","PropTypes","CRadioButton","_React$Component","_this","_classCallCheck","_len","arguments","length","args","Array","_key","_callSuper","randomNameString","getRandomString","_inherits","key","_this$props","this","props","_this$props$notRequir","CRadioNameContext","Provider","isRequired","createContext","CRadioButtonItem","randomIDString","_this2","RadioNameContext","Consumer","defaultName","checked","width","height","style","xlinkHref","tag","classNameValue","string","Math","random","toString","substring","ReactPropTypesSecret","emptyFunction","emptyFunctionWithReset","resetWarningCache","module","exports","shim","propName","componentName","location","propFullName","secret","err","Error","getShim","ReactPropTypes","array","bigint","bool","func","number","object","symbol","any","arrayOf","element","elementType","instanceOf","node","objectOf","oneOf","oneOfType","shape","exact","checkPropTypes"],"sourceRoot":""}