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

1 line
20 KiB
JSON

{"ast":null,"code":"import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport classNames from 'classnames';\nimport ResizeObserver from 'rc-resize-observer';\nimport * as React from 'react';\nimport { toArray } from \"../../utils/miscUtil\";\nimport { getRealPlacement, getoffsetUnit } from \"../../utils/uiUtil\";\nimport PickerContext from \"../context\";\nimport Footer from \"./Footer\";\nimport PopupPanel from \"./PopupPanel\";\nimport PresetPanel from \"./PresetPanel\";\nexport default function Popup(props) {\n var panelRender = props.panelRender,\n internalMode = props.internalMode,\n picker = props.picker,\n showNow = props.showNow,\n range = props.range,\n multiple = props.multiple,\n _props$activeOffset = props.activeOffset,\n activeOffset = _props$activeOffset === void 0 ? 0 : _props$activeOffset,\n placement = props.placement,\n presets = props.presets,\n onPresetHover = props.onPresetHover,\n onPresetSubmit = props.onPresetSubmit,\n onFocus = props.onFocus,\n onBlur = props.onBlur,\n onPanelMouseDown = props.onPanelMouseDown,\n direction = props.direction,\n value = props.value,\n onSelect = props.onSelect,\n isInvalid = props.isInvalid,\n defaultOpenValue = props.defaultOpenValue,\n onOk = props.onOk,\n onSubmit = props.onSubmit;\n var _React$useContext = React.useContext(PickerContext),\n prefixCls = _React$useContext.prefixCls;\n var panelPrefixCls = \"\".concat(prefixCls, \"-panel\");\n var rtl = direction === 'rtl';\n\n // ========================= Refs =========================\n var arrowRef = React.useRef(null);\n var wrapperRef = React.useRef(null);\n\n // ======================== Offset ========================\n var _React$useState = React.useState(0),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n containerWidth = _React$useState2[0],\n setContainerWidth = _React$useState2[1];\n var _React$useState3 = React.useState(0),\n _React$useState4 = _slicedToArray(_React$useState3, 2),\n containerOffset = _React$useState4[0],\n setContainerOffset = _React$useState4[1];\n var onResize = function onResize(info) {\n if (info.offsetWidth) {\n setContainerWidth(info.offsetWidth);\n }\n };\n React.useEffect(function () {\n // `activeOffset` is always align with the active input element\n // So we need only check container contains the `activeOffset`\n if (range) {\n var _arrowRef$current;\n // Offset in case container has border radius\n var arrowWidth = ((_arrowRef$current = arrowRef.current) === null || _arrowRef$current === void 0 ? void 0 : _arrowRef$current.offsetWidth) || 0;\n var maxOffset = containerWidth - arrowWidth;\n if (activeOffset <= maxOffset) {\n setContainerOffset(0);\n } else {\n setContainerOffset(activeOffset + arrowWidth - containerWidth);\n }\n }\n }, [containerWidth, activeOffset, range]);\n\n // ======================== Custom ========================\n function filterEmpty(list) {\n return list.filter(function (item) {\n return item;\n });\n }\n var valueList = React.useMemo(function () {\n return filterEmpty(toArray(value));\n }, [value]);\n var isTimePickerEmptyValue = picker === 'time' && !valueList.length;\n var footerSubmitValue = React.useMemo(function () {\n if (isTimePickerEmptyValue) {\n return filterEmpty([defaultOpenValue]);\n }\n return valueList;\n }, [isTimePickerEmptyValue, valueList, defaultOpenValue]);\n var popupPanelValue = isTimePickerEmptyValue ? defaultOpenValue : valueList;\n var disableSubmit = React.useMemo(function () {\n // Empty is invalid\n if (!footerSubmitValue.length) {\n return true;\n }\n return footerSubmitValue.some(function (val) {\n return isInvalid(val);\n });\n }, [footerSubmitValue, isInvalid]);\n var onFooterSubmit = function onFooterSubmit() {\n // For TimePicker, we will additional trigger the value update\n if (isTimePickerEmptyValue) {\n onSelect(defaultOpenValue);\n }\n onOk();\n onSubmit();\n };\n var mergedNodes = /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-panel-layout\")\n }, /*#__PURE__*/React.createElement(PresetPanel, {\n prefixCls: prefixCls,\n presets: presets,\n onClick: onPresetSubmit,\n onHover: onPresetHover\n }), /*#__PURE__*/React.createElement(\"div\", null, /*#__PURE__*/React.createElement(PopupPanel, _extends({}, props, {\n value: popupPanelValue\n })), /*#__PURE__*/React.createElement(Footer, _extends({}, props, {\n showNow: multiple ? false : showNow,\n invalid: disableSubmit,\n onSubmit: onFooterSubmit\n }))));\n if (panelRender) {\n mergedNodes = panelRender(mergedNodes);\n }\n\n // ======================== Render ========================\n var containerPrefixCls = \"\".concat(panelPrefixCls, \"-container\");\n var marginLeft = 'marginLeft';\n var marginRight = 'marginRight';\n\n // Container\n var renderNode = /*#__PURE__*/React.createElement(\"div\", {\n onMouseDown: onPanelMouseDown,\n tabIndex: -1,\n className: classNames(containerPrefixCls,\n // Used for Today Button style, safe to remove if no need\n \"\".concat(prefixCls, \"-\").concat(internalMode, \"-panel-container\")),\n style: _defineProperty(_defineProperty({}, rtl ? marginRight : marginLeft, containerOffset), rtl ? marginLeft : marginRight, 'auto')\n // Still wish not to lose focus on mouse down\n // onMouseDown={(e) => {\n // // e.preventDefault();\n // }}\n ,\n\n onFocus: onFocus,\n onBlur: onBlur\n }, mergedNodes);\n if (range) {\n var realPlacement = getRealPlacement(placement, rtl);\n var offsetUnit = getoffsetUnit(realPlacement, rtl);\n renderNode = /*#__PURE__*/React.createElement(\"div\", {\n onMouseDown: onPanelMouseDown,\n ref: wrapperRef,\n className: classNames(\"\".concat(prefixCls, \"-range-wrapper\"), \"\".concat(prefixCls, \"-\").concat(picker, \"-range-wrapper\"))\n }, /*#__PURE__*/React.createElement(\"div\", {\n ref: arrowRef,\n className: \"\".concat(prefixCls, \"-range-arrow\"),\n style: _defineProperty({}, offsetUnit, activeOffset)\n }), /*#__PURE__*/React.createElement(ResizeObserver, {\n onResize: onResize\n }, renderNode));\n }\n return renderNode;\n}","map":{"version":3,"names":["_defineProperty","_extends","_slicedToArray","classNames","ResizeObserver","React","toArray","getRealPlacement","getoffsetUnit","PickerContext","Footer","PopupPanel","PresetPanel","Popup","props","panelRender","internalMode","picker","showNow","range","multiple","_props$activeOffset","activeOffset","placement","presets","onPresetHover","onPresetSubmit","onFocus","onBlur","onPanelMouseDown","direction","value","onSelect","isInvalid","defaultOpenValue","onOk","onSubmit","_React$useContext","useContext","prefixCls","panelPrefixCls","concat","rtl","arrowRef","useRef","wrapperRef","_React$useState","useState","_React$useState2","containerWidth","setContainerWidth","_React$useState3","_React$useState4","containerOffset","setContainerOffset","onResize","info","offsetWidth","useEffect","_arrowRef$current","arrowWidth","current","maxOffset","filterEmpty","list","filter","item","valueList","useMemo","isTimePickerEmptyValue","length","footerSubmitValue","popupPanelValue","disableSubmit","some","val","onFooterSubmit","mergedNodes","createElement","className","onClick","onHover","invalid","containerPrefixCls","marginLeft","marginRight","renderNode","onMouseDown","tabIndex","style","realPlacement","offsetUnit","ref"],"sources":["C:/Users/Аришина)/source/repos/PromoCursed/node_modules/rc-picker/es/PickerInput/Popup/index.js"],"sourcesContent":["import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport classNames from 'classnames';\nimport ResizeObserver from 'rc-resize-observer';\nimport * as React from 'react';\nimport { toArray } from \"../../utils/miscUtil\";\nimport { getRealPlacement, getoffsetUnit } from \"../../utils/uiUtil\";\nimport PickerContext from \"../context\";\nimport Footer from \"./Footer\";\nimport PopupPanel from \"./PopupPanel\";\nimport PresetPanel from \"./PresetPanel\";\nexport default function Popup(props) {\n var panelRender = props.panelRender,\n internalMode = props.internalMode,\n picker = props.picker,\n showNow = props.showNow,\n range = props.range,\n multiple = props.multiple,\n _props$activeOffset = props.activeOffset,\n activeOffset = _props$activeOffset === void 0 ? 0 : _props$activeOffset,\n placement = props.placement,\n presets = props.presets,\n onPresetHover = props.onPresetHover,\n onPresetSubmit = props.onPresetSubmit,\n onFocus = props.onFocus,\n onBlur = props.onBlur,\n onPanelMouseDown = props.onPanelMouseDown,\n direction = props.direction,\n value = props.value,\n onSelect = props.onSelect,\n isInvalid = props.isInvalid,\n defaultOpenValue = props.defaultOpenValue,\n onOk = props.onOk,\n onSubmit = props.onSubmit;\n var _React$useContext = React.useContext(PickerContext),\n prefixCls = _React$useContext.prefixCls;\n var panelPrefixCls = \"\".concat(prefixCls, \"-panel\");\n var rtl = direction === 'rtl';\n\n // ========================= Refs =========================\n var arrowRef = React.useRef(null);\n var wrapperRef = React.useRef(null);\n\n // ======================== Offset ========================\n var _React$useState = React.useState(0),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n containerWidth = _React$useState2[0],\n setContainerWidth = _React$useState2[1];\n var _React$useState3 = React.useState(0),\n _React$useState4 = _slicedToArray(_React$useState3, 2),\n containerOffset = _React$useState4[0],\n setContainerOffset = _React$useState4[1];\n var onResize = function onResize(info) {\n if (info.offsetWidth) {\n setContainerWidth(info.offsetWidth);\n }\n };\n React.useEffect(function () {\n // `activeOffset` is always align with the active input element\n // So we need only check container contains the `activeOffset`\n if (range) {\n var _arrowRef$current;\n // Offset in case container has border radius\n var arrowWidth = ((_arrowRef$current = arrowRef.current) === null || _arrowRef$current === void 0 ? void 0 : _arrowRef$current.offsetWidth) || 0;\n var maxOffset = containerWidth - arrowWidth;\n if (activeOffset <= maxOffset) {\n setContainerOffset(0);\n } else {\n setContainerOffset(activeOffset + arrowWidth - containerWidth);\n }\n }\n }, [containerWidth, activeOffset, range]);\n\n // ======================== Custom ========================\n function filterEmpty(list) {\n return list.filter(function (item) {\n return item;\n });\n }\n var valueList = React.useMemo(function () {\n return filterEmpty(toArray(value));\n }, [value]);\n var isTimePickerEmptyValue = picker === 'time' && !valueList.length;\n var footerSubmitValue = React.useMemo(function () {\n if (isTimePickerEmptyValue) {\n return filterEmpty([defaultOpenValue]);\n }\n return valueList;\n }, [isTimePickerEmptyValue, valueList, defaultOpenValue]);\n var popupPanelValue = isTimePickerEmptyValue ? defaultOpenValue : valueList;\n var disableSubmit = React.useMemo(function () {\n // Empty is invalid\n if (!footerSubmitValue.length) {\n return true;\n }\n return footerSubmitValue.some(function (val) {\n return isInvalid(val);\n });\n }, [footerSubmitValue, isInvalid]);\n var onFooterSubmit = function onFooterSubmit() {\n // For TimePicker, we will additional trigger the value update\n if (isTimePickerEmptyValue) {\n onSelect(defaultOpenValue);\n }\n onOk();\n onSubmit();\n };\n var mergedNodes = /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-panel-layout\")\n }, /*#__PURE__*/React.createElement(PresetPanel, {\n prefixCls: prefixCls,\n presets: presets,\n onClick: onPresetSubmit,\n onHover: onPresetHover\n }), /*#__PURE__*/React.createElement(\"div\", null, /*#__PURE__*/React.createElement(PopupPanel, _extends({}, props, {\n value: popupPanelValue\n })), /*#__PURE__*/React.createElement(Footer, _extends({}, props, {\n showNow: multiple ? false : showNow,\n invalid: disableSubmit,\n onSubmit: onFooterSubmit\n }))));\n if (panelRender) {\n mergedNodes = panelRender(mergedNodes);\n }\n\n // ======================== Render ========================\n var containerPrefixCls = \"\".concat(panelPrefixCls, \"-container\");\n var marginLeft = 'marginLeft';\n var marginRight = 'marginRight';\n\n // Container\n var renderNode = /*#__PURE__*/React.createElement(\"div\", {\n onMouseDown: onPanelMouseDown,\n tabIndex: -1,\n className: classNames(containerPrefixCls, // Used for Today Button style, safe to remove if no need\n \"\".concat(prefixCls, \"-\").concat(internalMode, \"-panel-container\")),\n style: _defineProperty(_defineProperty({}, rtl ? marginRight : marginLeft, containerOffset), rtl ? marginLeft : marginRight, 'auto')\n // Still wish not to lose focus on mouse down\n // onMouseDown={(e) => {\n // // e.preventDefault();\n // }}\n ,\n onFocus: onFocus,\n onBlur: onBlur\n }, mergedNodes);\n if (range) {\n var realPlacement = getRealPlacement(placement, rtl);\n var offsetUnit = getoffsetUnit(realPlacement, rtl);\n renderNode = /*#__PURE__*/React.createElement(\"div\", {\n onMouseDown: onPanelMouseDown,\n ref: wrapperRef,\n className: classNames(\"\".concat(prefixCls, \"-range-wrapper\"), \"\".concat(prefixCls, \"-\").concat(picker, \"-range-wrapper\"))\n }, /*#__PURE__*/React.createElement(\"div\", {\n ref: arrowRef,\n className: \"\".concat(prefixCls, \"-range-arrow\"),\n style: _defineProperty({}, offsetUnit, activeOffset)\n }), /*#__PURE__*/React.createElement(ResizeObserver, {\n onResize: onResize\n }, renderNode));\n }\n return renderNode;\n}"],"mappings":"AAAA,OAAOA,eAAe,MAAM,2CAA2C;AACvE,OAAOC,QAAQ,MAAM,oCAAoC;AACzD,OAAOC,cAAc,MAAM,0CAA0C;AACrE,OAAOC,UAAU,MAAM,YAAY;AACnC,OAAOC,cAAc,MAAM,oBAAoB;AAC/C,OAAO,KAAKC,KAAK,MAAM,OAAO;AAC9B,SAASC,OAAO,QAAQ,sBAAsB;AAC9C,SAASC,gBAAgB,EAAEC,aAAa,QAAQ,oBAAoB;AACpE,OAAOC,aAAa,MAAM,YAAY;AACtC,OAAOC,MAAM,MAAM,UAAU;AAC7B,OAAOC,UAAU,MAAM,cAAc;AACrC,OAAOC,WAAW,MAAM,eAAe;AACvC,eAAe,SAASC,KAAKA,CAACC,KAAK,EAAE;EACnC,IAAIC,WAAW,GAAGD,KAAK,CAACC,WAAW;IACjCC,YAAY,GAAGF,KAAK,CAACE,YAAY;IACjCC,MAAM,GAAGH,KAAK,CAACG,MAAM;IACrBC,OAAO,GAAGJ,KAAK,CAACI,OAAO;IACvBC,KAAK,GAAGL,KAAK,CAACK,KAAK;IACnBC,QAAQ,GAAGN,KAAK,CAACM,QAAQ;IACzBC,mBAAmB,GAAGP,KAAK,CAACQ,YAAY;IACxCA,YAAY,GAAGD,mBAAmB,KAAK,KAAK,CAAC,GAAG,CAAC,GAAGA,mBAAmB;IACvEE,SAAS,GAAGT,KAAK,CAACS,SAAS;IAC3BC,OAAO,GAAGV,KAAK,CAACU,OAAO;IACvBC,aAAa,GAAGX,KAAK,CAACW,aAAa;IACnCC,cAAc,GAAGZ,KAAK,CAACY,cAAc;IACrCC,OAAO,GAAGb,KAAK,CAACa,OAAO;IACvBC,MAAM,GAAGd,KAAK,CAACc,MAAM;IACrBC,gBAAgB,GAAGf,KAAK,CAACe,gBAAg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