PromoCursed/node_modules/.cache/babel-loader/1ea0d8fd869d1332dab83015eed89ac33e1a4f408811db79acc2f156bf6545a8.json
2024-08-20 23:25:37 +04:00

1 line
22 KiB
JSON

{"ast":null,"code":"import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nvar _excluded = [\"id\", \"open\", \"clearIcon\", \"suffixIcon\", \"activeHelp\", \"allHelp\", \"focused\", \"onFocus\", \"onBlur\", \"onKeyDown\", \"locale\", \"generateConfig\", \"placeholder\", \"className\", \"style\", \"onClick\", \"onClear\", \"internalPicker\", \"value\", \"onChange\", \"onSubmit\", \"onInputChange\", \"multiple\", \"maxTagCount\", \"format\", \"maskFormat\", \"preserveInvalidOnBlur\", \"onInvalid\", \"disabled\", \"invalid\", \"inputReadOnly\", \"direction\", \"onOpenChange\", \"onMouseDown\", \"required\", \"aria-required\", \"autoFocus\", \"removeIcon\"];\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport { isSame } from \"../../../utils/dateUtil\";\nimport PickerContext from \"../../context\";\nimport useInputProps from \"../hooks/useInputProps\";\nimport useRootProps from \"../hooks/useRootProps\";\nimport Icon, { ClearIcon } from \"../Icon\";\nimport Input from \"../Input\";\nimport MultipleDates from \"./MultipleDates\";\nfunction SingleSelector(props, ref) {\n var id = props.id,\n open = props.open,\n clearIcon = props.clearIcon,\n suffixIcon = props.suffixIcon,\n activeHelp = props.activeHelp,\n allHelp = props.allHelp,\n focused = props.focused,\n onFocus = props.onFocus,\n onBlur = props.onBlur,\n onKeyDown = props.onKeyDown,\n locale = props.locale,\n generateConfig = props.generateConfig,\n placeholder = props.placeholder,\n className = props.className,\n style = props.style,\n onClick = props.onClick,\n onClear = props.onClear,\n internalPicker = props.internalPicker,\n value = props.value,\n onChange = props.onChange,\n onSubmit = props.onSubmit,\n onInputChange = props.onInputChange,\n multiple = props.multiple,\n maxTagCount = props.maxTagCount,\n format = props.format,\n maskFormat = props.maskFormat,\n preserveInvalidOnBlur = props.preserveInvalidOnBlur,\n onInvalid = props.onInvalid,\n disabled = props.disabled,\n invalid = props.invalid,\n inputReadOnly = props.inputReadOnly,\n direction = props.direction,\n onOpenChange = props.onOpenChange,\n _onMouseDown = props.onMouseDown,\n required = props.required,\n ariaRequired = props['aria-required'],\n autoFocus = props.autoFocus,\n removeIcon = props.removeIcon,\n restProps = _objectWithoutProperties(props, _excluded);\n var rtl = direction === 'rtl';\n\n // ======================== Prefix ========================\n var _React$useContext = React.useContext(PickerContext),\n prefixCls = _React$useContext.prefixCls;\n\n // ========================= Refs =========================\n var rootRef = React.useRef();\n var inputRef = React.useRef();\n React.useImperativeHandle(ref, function () {\n return {\n nativeElement: rootRef.current,\n focus: function focus(options) {\n var _inputRef$current;\n (_inputRef$current = inputRef.current) === null || _inputRef$current === void 0 || _inputRef$current.focus(options);\n },\n blur: function blur() {\n var _inputRef$current2;\n (_inputRef$current2 = inputRef.current) === null || _inputRef$current2 === void 0 || _inputRef$current2.blur();\n }\n };\n });\n\n // ======================== Props =========================\n var rootProps = useRootProps(restProps);\n\n // ======================== Change ========================\n var onSingleChange = function onSingleChange(date) {\n onChange([date]);\n };\n var onMultipleRemove = function onMultipleRemove(date) {\n var nextValues = value.filter(function (oriDate) {\n return oriDate && !isSame(generateConfig, locale, oriDate, date, internalPicker);\n });\n onChange(nextValues);\n\n // When `open`, it means user is operating the\n if (!open) {\n onSubmit();\n }\n };\n\n // ======================== Inputs ========================\n var _useInputProps = useInputProps(_objectSpread(_objectSpread({}, props), {}, {\n onChange: onSingleChange\n }), function (_ref) {\n var valueTexts = _ref.valueTexts;\n return {\n value: valueTexts[0] || '',\n active: focused\n };\n }),\n _useInputProps2 = _slicedToArray(_useInputProps, 2),\n getInputProps = _useInputProps2[0],\n getText = _useInputProps2[1];\n\n // ======================== Clear =========================\n var showClear = !!(clearIcon && value.length && !disabled);\n\n // ======================= Multiple =======================\n var selectorNode = multiple ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(MultipleDates, {\n prefixCls: prefixCls,\n value: value,\n onRemove: onMultipleRemove,\n formatDate: getText,\n maxTagCount: maxTagCount,\n disabled: disabled,\n removeIcon: removeIcon,\n placeholder: placeholder\n }), /*#__PURE__*/React.createElement(\"input\", {\n className: \"\".concat(prefixCls, \"-multiple-input\"),\n value: value.map(getText).join(','),\n ref: inputRef,\n readOnly: true,\n autoFocus: autoFocus\n }), /*#__PURE__*/React.createElement(Icon, {\n type: \"suffix\",\n icon: suffixIcon\n }), showClear && /*#__PURE__*/React.createElement(ClearIcon, {\n icon: clearIcon,\n onClear: onClear\n })) : /*#__PURE__*/React.createElement(Input, _extends({\n ref: inputRef\n }, getInputProps(), {\n autoFocus: autoFocus,\n suffixIcon: suffixIcon,\n clearIcon: showClear && /*#__PURE__*/React.createElement(ClearIcon, {\n icon: clearIcon,\n onClear: onClear\n }),\n showActiveCls: false\n }));\n\n // ======================== Render ========================\n return /*#__PURE__*/React.createElement(\"div\", _extends({}, rootProps, {\n className: classNames(prefixCls, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, \"\".concat(prefixCls, \"-multiple\"), multiple), \"\".concat(prefixCls, \"-focused\"), focused), \"\".concat(prefixCls, \"-disabled\"), disabled), \"\".concat(prefixCls, \"-invalid\"), invalid), \"\".concat(prefixCls, \"-rtl\"), rtl), className),\n style: style,\n ref: rootRef,\n onClick: onClick\n // Not lose current input focus\n ,\n\n onMouseDown: function onMouseDown(e) {\n var _inputRef$current3;\n var target = e.target;\n if (target !== ((_inputRef$current3 = inputRef.current) === null || _inputRef$current3 === void 0 ? void 0 : _inputRef$current3.inputElement)) {\n e.preventDefault();\n }\n _onMouseDown === null || _onMouseDown === void 0 || _onMouseDown(e);\n }\n }), selectorNode);\n}\nvar RefSingleSelector = /*#__PURE__*/React.forwardRef(SingleSelector);\nif (process.env.NODE_ENV !== 'production') {\n RefSingleSelector.displayName = 'SingleSelector';\n}\nexport default RefSingleSelector;","map":{"version":3,"names":["_defineProperty","_extends","_objectSpread","_slicedToArray","_objectWithoutProperties","_excluded","classNames","React","isSame","PickerContext","useInputProps","useRootProps","Icon","ClearIcon","Input","MultipleDates","SingleSelector","props","ref","id","open","clearIcon","suffixIcon","activeHelp","allHelp","focused","onFocus","onBlur","onKeyDown","locale","generateConfig","placeholder","className","style","onClick","onClear","internalPicker","value","onChange","onSubmit","onInputChange","multiple","maxTagCount","format","maskFormat","preserveInvalidOnBlur","onInvalid","disabled","invalid","inputReadOnly","direction","onOpenChange","_onMouseDown","onMouseDown","required","ariaRequired","autoFocus","removeIcon","restProps","rtl","_React$useContext","useContext","prefixCls","rootRef","useRef","inputRef","useImperativeHandle","nativeElement","current","focus","options","_inputRef$current","blur","_inputRef$current2","rootProps","onSingleChange","date","onMultipleRemove","nextValues","filter","oriDate","_useInputProps","_ref","valueTexts","active","_useInputProps2","getInputProps","getText","showClear","length","selectorNode","createElement","Fragment","onRemove","formatDate","concat","map","join","readOnly","type","icon","showActiveCls","e","_inputRef$current3","target","inputElement","preventDefault","RefSingleSelector","forwardRef","process","env","NODE_ENV","displayName"],"sources":["C:/Users/Аришина)/Desktop/promo/node_modules/rc-picker/es/PickerInput/Selector/SingleSelector/index.js"],"sourcesContent":["import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nvar _excluded = [\"id\", \"open\", \"clearIcon\", \"suffixIcon\", \"activeHelp\", \"allHelp\", \"focused\", \"onFocus\", \"onBlur\", \"onKeyDown\", \"locale\", \"generateConfig\", \"placeholder\", \"className\", \"style\", \"onClick\", \"onClear\", \"internalPicker\", \"value\", \"onChange\", \"onSubmit\", \"onInputChange\", \"multiple\", \"maxTagCount\", \"format\", \"maskFormat\", \"preserveInvalidOnBlur\", \"onInvalid\", \"disabled\", \"invalid\", \"inputReadOnly\", \"direction\", \"onOpenChange\", \"onMouseDown\", \"required\", \"aria-required\", \"autoFocus\", \"removeIcon\"];\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport { isSame } from \"../../../utils/dateUtil\";\nimport PickerContext from \"../../context\";\nimport useInputProps from \"../hooks/useInputProps\";\nimport useRootProps from \"../hooks/useRootProps\";\nimport Icon, { ClearIcon } from \"../Icon\";\nimport Input from \"../Input\";\nimport MultipleDates from \"./MultipleDates\";\nfunction SingleSelector(props, ref) {\n var id = props.id,\n open = props.open,\n clearIcon = props.clearIcon,\n suffixIcon = props.suffixIcon,\n activeHelp = props.activeHelp,\n allHelp = props.allHelp,\n focused = props.focused,\n onFocus = props.onFocus,\n onBlur = props.onBlur,\n onKeyDown = props.onKeyDown,\n locale = props.locale,\n generateConfig = props.generateConfig,\n placeholder = props.placeholder,\n className = props.className,\n style = props.style,\n onClick = props.onClick,\n onClear = props.onClear,\n internalPicker = props.internalPicker,\n value = props.value,\n onChange = props.onChange,\n onSubmit = props.onSubmit,\n onInputChange = props.onInputChange,\n multiple = props.multiple,\n maxTagCount = props.maxTagCount,\n format = props.format,\n maskFormat = props.maskFormat,\n preserveInvalidOnBlur = props.preserveInvalidOnBlur,\n onInvalid = props.onInvalid,\n disabled = props.disabled,\n invalid = props.invalid,\n inputReadOnly = props.inputReadOnly,\n direction = props.direction,\n onOpenChange = props.onOpenChange,\n _onMouseDown = props.onMouseDown,\n required = props.required,\n ariaRequired = props['aria-required'],\n autoFocus = props.autoFocus,\n removeIcon = props.removeIcon,\n restProps = _objectWithoutProperties(props, _excluded);\n var rtl = direction === 'rtl';\n\n // ======================== Prefix ========================\n var _React$useContext = React.useContext(PickerContext),\n prefixCls = _React$useContext.prefixCls;\n\n // ========================= Refs =========================\n var rootRef = React.useRef();\n var inputRef = React.useRef();\n React.useImperativeHandle(ref, function () {\n return {\n nativeElement: rootRef.current,\n focus: function focus(options) {\n var _inputRef$current;\n (_inputRef$current = inputRef.current) === null || _inputRef$current === void 0 || _inputRef$current.focus(options);\n },\n blur: function blur() {\n var _inputRef$current2;\n (_inputRef$current2 = inputRef.current) === null || _inputRef$current2 === void 0 || _inputRef$current2.blur();\n }\n };\n });\n\n // ======================== Props =========================\n var rootProps = useRootProps(restProps);\n\n // ======================== Change ========================\n var onSingleChange = function onSingleChange(date) {\n onChange([date]);\n };\n var onMultipleRemove = function onMultipleRemove(date) {\n var nextValues = value.filter(function (oriDate) {\n return oriDate && !isSame(generateConfig, locale, oriDate, date, internalPicker);\n });\n onChange(nextValues);\n\n // When `open`, it means user is operating the\n if (!open) {\n onSubmit();\n }\n };\n\n // ======================== Inputs ========================\n var _useInputProps = useInputProps(_objectSpread(_objectSpread({}, props), {}, {\n onChange: onSingleChange\n }), function (_ref) {\n var valueTexts = _ref.valueTexts;\n return {\n value: valueTexts[0] || '',\n active: focused\n };\n }),\n _useInputProps2 = _slicedToArray(_useInputProps, 2),\n getInputProps = _useInputProps2[0],\n getText = _useInputProps2[1];\n\n // ======================== Clear =========================\n var showClear = !!(clearIcon && value.length && !disabled);\n\n // ======================= Multiple =======================\n var selectorNode = multiple ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(MultipleDates, {\n prefixCls: prefixCls,\n value: value,\n onRemove: onMultipleRemove,\n formatDate: getText,\n maxTagCount: maxTagCount,\n disabled: disabled,\n removeIcon: removeIcon,\n placeholder: placeholder\n }), /*#__PURE__*/React.createElement(\"input\", {\n className: \"\".concat(prefixCls, \"-multiple-input\"),\n value: value.map(getText).join(','),\n ref: inputRef,\n readOnly: true,\n autoFocus: autoFocus\n }), /*#__PURE__*/React.createElement(Icon, {\n type: \"suffix\",\n icon: suffixIcon\n }), showClear && /*#__PURE__*/React.createElement(ClearIcon, {\n icon: clearIcon,\n onClear: onClear\n })) : /*#__PURE__*/React.createElement(Input, _extends({\n ref: inputRef\n }, getInputProps(), {\n autoFocus: autoFocus,\n suffixIcon: suffixIcon,\n clearIcon: showClear && /*#__PURE__*/React.createElement(ClearIcon, {\n icon: clearIcon,\n onClear: onClear\n }),\n showActiveCls: false\n }));\n\n // ======================== Render ========================\n return /*#__PURE__*/React.createElement(\"div\", _extends({}, rootProps, {\n className: classNames(prefixCls, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, \"\".concat(prefixCls, \"-multiple\"), multiple), \"\".concat(prefixCls, \"-focused\"), focused), \"\".concat(prefixCls, \"-disabled\"), disabled), \"\".concat(prefixCls, \"-invalid\"), invalid), \"\".concat(prefixCls, \"-rtl\"), rtl), className),\n style: style,\n ref: rootRef,\n onClick: onClick\n // Not lose current input focus\n ,\n onMouseDown: function onMouseDown(e) {\n var _inputRef$current3;\n var target = e.target;\n if (target !== ((_inputRef$current3 = inputRef.current) === null || _inputRef$current3 === void 0 ? void 0 : _inputRef$current3.inputElement)) {\n e.preventDefault();\n }\n _onMouseDown === null || _onMouseDown === void 0 || _onMouseDown(e);\n }\n }), selectorNode);\n}\nvar RefSingleSelector = /*#__PURE__*/React.forwardRef(SingleSelector);\nif (process.env.NODE_ENV !== 'production') {\n RefSingleSelector.displayName = 'SingleSelector';\n}\nexport default RefSingleSelector;"],"mappings":"AAAA,OAAOA,eAAe,MAAM,2CAA2C;AACvE,OAAOC,QAAQ,MAAM,oCAAoC;AACzD,OAAOC,aAAa,MAAM,0CAA0C;AACpE,OAAOC,cAAc,MAAM,0CAA0C;AACrE,OAAOC,wBAAwB,MAAM,oDAAoD;AACzF,IAAIC,SAAS,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,YAAY,EAAE,YAAY,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EA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