1 line
23 KiB
JSON
1 line
23 KiB
JSON
{"ast":null,"code":"\"use client\";\n\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\n// eslint-disable-next-line import/no-named-as-default\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport RcMentions from 'rc-mentions';\nimport { composeRef } from \"rc-util/es/ref\";\nimport getAllowClear from '../_util/getAllowClear';\nimport genPurePanel from '../_util/PurePanel';\nimport { getMergedStatus, getStatusClassNames } from '../_util/statusUtils';\nimport { devUseWarning } from '../_util/warning';\nimport { ConfigContext } from '../config-provider';\nimport DefaultRenderEmpty from '../config-provider/defaultRenderEmpty';\nimport useCSSVarCls from '../config-provider/hooks/useCSSVarCls';\nimport { FormItemInputContext } from '../form/context';\nimport useVariant from '../form/hooks/useVariants';\nimport Spin from '../spin';\nimport useStyle from './style';\nexport const {\n Option\n} = RcMentions;\nfunction loadingFilterOption() {\n return true;\n}\nconst InternalMentions = /*#__PURE__*/React.forwardRef((props, ref) => {\n const {\n prefixCls: customizePrefixCls,\n className,\n rootClassName,\n disabled,\n loading,\n filterOption,\n children,\n notFoundContent,\n options,\n status: customStatus,\n allowClear = false,\n popupClassName,\n style,\n variant: customVariant\n } = props,\n restProps = __rest(props, [\"prefixCls\", \"className\", \"rootClassName\", \"disabled\", \"loading\", \"filterOption\", \"children\", \"notFoundContent\", \"options\", \"status\", \"allowClear\", \"popupClassName\", \"style\", \"variant\"]);\n const [focused, setFocused] = React.useState(false);\n const innerRef = React.useRef(null);\n const mergedRef = composeRef(ref, innerRef);\n // =================== Warning =====================\n if (process.env.NODE_ENV !== 'production') {\n const warning = devUseWarning('Mentions');\n warning.deprecated(!children, 'Mentions.Option', 'options');\n }\n const {\n getPrefixCls,\n renderEmpty,\n direction,\n mentions: contextMentions\n } = React.useContext(ConfigContext);\n const {\n status: contextStatus,\n hasFeedback,\n feedbackIcon\n } = React.useContext(FormItemInputContext);\n const mergedStatus = getMergedStatus(contextStatus, customStatus);\n const onFocus = function () {\n if (restProps.onFocus) {\n restProps.onFocus.apply(restProps, arguments);\n }\n setFocused(true);\n };\n const onBlur = function () {\n if (restProps.onBlur) {\n restProps.onBlur.apply(restProps, arguments);\n }\n setFocused(false);\n };\n const notFoundContentEle = React.useMemo(() => {\n if (notFoundContent !== undefined) {\n return notFoundContent;\n }\n return (renderEmpty === null || renderEmpty === void 0 ? void 0 : renderEmpty('Select')) || /*#__PURE__*/React.createElement(DefaultRenderEmpty, {\n componentName: \"Select\"\n });\n }, [notFoundContent, renderEmpty]);\n const mentionOptions = React.useMemo(() => {\n if (loading) {\n return /*#__PURE__*/React.createElement(Option, {\n value: \"ANTD_SEARCHING\",\n disabled: true\n }, /*#__PURE__*/React.createElement(Spin, {\n size: \"small\"\n }));\n }\n return children;\n }, [loading, children]);\n const mergedOptions = loading ? [{\n value: 'ANTD_SEARCHING',\n disabled: true,\n label: /*#__PURE__*/React.createElement(Spin, {\n size: \"small\"\n })\n }] : options;\n const mentionsfilterOption = loading ? loadingFilterOption : filterOption;\n const prefixCls = getPrefixCls('mentions', customizePrefixCls);\n const mergedAllowClear = getAllowClear(allowClear);\n // Style\n const rootCls = useCSSVarCls(prefixCls);\n const [wrapCSSVar, hashId, cssVarCls] = useStyle(prefixCls, rootCls);\n const [variant, enableVariantCls] = useVariant('mentions', customVariant);\n /* eslint-disable-next-line react/jsx-no-useless-fragment */ /* biome-ignore lint/complexity/noUselessFragments: avoid falsy value */\n const suffixNode = hasFeedback && /*#__PURE__*/React.createElement(React.Fragment, null, feedbackIcon);\n const mergedClassName = classNames(contextMentions === null || contextMentions === void 0 ? void 0 : contextMentions.className, className, rootClassName, cssVarCls, rootCls);\n const mentions = /*#__PURE__*/React.createElement(RcMentions, Object.assign({\n silent: loading,\n prefixCls: prefixCls,\n notFoundContent: notFoundContentEle,\n className: mergedClassName,\n disabled: disabled,\n allowClear: mergedAllowClear,\n direction: direction,\n style: Object.assign(Object.assign({}, contextMentions === null || contextMentions === void 0 ? void 0 : contextMentions.style), style)\n }, restProps, {\n filterOption: mentionsfilterOption,\n onFocus: onFocus,\n onBlur: onBlur,\n dropdownClassName: classNames(popupClassName, rootClassName, hashId, cssVarCls, rootCls),\n ref: mergedRef,\n options: mergedOptions,\n suffix: suffixNode,\n classNames: {\n mentions: classNames({\n [`${prefixCls}-disabled`]: disabled,\n [`${prefixCls}-focused`]: focused,\n [`${prefixCls}-rtl`]: direction === 'rtl'\n }, hashId),\n variant: classNames({\n [`${prefixCls}-${variant}`]: enableVariantCls\n }, getStatusClassNames(prefixCls, mergedStatus)),\n affixWrapper: hashId\n }\n }), mentionOptions);\n return wrapCSSVar(mentions);\n});\nconst Mentions = InternalMentions;\nif (process.env.NODE_ENV !== 'production') {\n Mentions.displayName = 'Mentions';\n}\nMentions.Option = Option;\n// We don't care debug panel\n/* istanbul ignore next */\nconst PurePanel = genPurePanel(Mentions, 'mentions');\nMentions._InternalPanelDoNotUseOrYouWillBeFired = PurePanel;\nMentions.getMentions = function () {\n let value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';\n let config = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n const {\n prefix = '@',\n split = ' '\n } = config;\n const prefixList = Array.isArray(prefix) ? prefix : [prefix];\n return value.split(split).map(function () {\n let str = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';\n let hitPrefix = null;\n prefixList.some(prefixStr => {\n const startStr = str.slice(0, prefixStr.length);\n if (startStr === prefixStr) {\n hitPrefix = prefixStr;\n return true;\n }\n return false;\n });\n if (hitPrefix !== null) {\n return {\n prefix: hitPrefix,\n value: str.slice(hitPrefix.length)\n };\n }\n return null;\n }).filter(entity => !!entity && !!entity.value);\n};\nexport default Mentions;","map":{"version":3,"names":["__rest","s","e","t","p","Object","prototype","hasOwnProperty","call","indexOf","getOwnPropertySymbols","i","length","propertyIsEnumerable","React","classNames","RcMentions","composeRef","getAllowClear","genPurePanel","getMergedStatus","getStatusClassNames","devUseWarning","ConfigContext","DefaultRenderEmpty","useCSSVarCls","FormItemInputContext","useVariant","Spin","useStyle","Option","loadingFilterOption","InternalMentions","forwardRef","props","ref","prefixCls","customizePrefixCls","className","rootClassName","disabled","loading","filterOption","children","notFoundContent","options","status","customStatus","allowClear","popupClassName","style","variant","customVariant","restProps","focused","setFocused","useState","innerRef","useRef","mergedRef","process","env","NODE_ENV","warning","deprecated","getPrefixCls","renderEmpty","direction","mentions","contextMentions","useContext","contextStatus","hasFeedback","feedbackIcon","mergedStatus","onFocus","apply","arguments","onBlur","notFoundContentEle","useMemo","undefined","createElement","componentName","mentionOptions","value","size","mergedOptions","label","mentionsfilterOption","mergedAllowClear","rootCls","wrapCSSVar","hashId","cssVarCls","enableVariantCls","suffixNode","Fragment","mergedClassName","assign","silent","dropdownClassName","suffix","affixWrapper","Mentions","displayName","PurePanel","_InternalPanelDoNotUseOrYouWillBeFired","getMentions","config","prefix","split","prefixList","Array","isArray","map","str","hitPrefix","some","prefixStr","startStr","slice","filter","entity"],"sources":["C:/Users/Аришина)/source/repos/PromoCursed/node_modules/antd/es/mentions/index.js"],"sourcesContent":["\"use client\";\n\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\n// eslint-disable-next-line import/no-named-as-default\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport RcMentions from 'rc-mentions';\nimport { composeRef } from \"rc-util/es/ref\";\nimport getAllowClear from '../_util/getAllowClear';\nimport genPurePanel from '../_util/PurePanel';\nimport { getMergedStatus, getStatusClassNames } from '../_util/statusUtils';\nimport { devUseWarning } from '../_util/warning';\nimport { ConfigContext } from '../config-provider';\nimport DefaultRenderEmpty from '../config-provider/defaultRenderEmpty';\nimport useCSSVarCls from '../config-provider/hooks/useCSSVarCls';\nimport { FormItemInputContext } from '../form/context';\nimport useVariant from '../form/hooks/useVariants';\nimport Spin from '../spin';\nimport useStyle from './style';\nexport const {\n Option\n} = RcMentions;\nfunction loadingFilterOption() {\n return true;\n}\nconst InternalMentions = /*#__PURE__*/React.forwardRef((props, ref) => {\n const {\n prefixCls: customizePrefixCls,\n className,\n rootClassName,\n disabled,\n loading,\n filterOption,\n children,\n notFoundContent,\n options,\n status: customStatus,\n allowClear = false,\n popupClassName,\n style,\n variant: customVariant\n } = props,\n restProps = __rest(props, [\"prefixCls\", \"className\", \"rootClassName\", \"disabled\", \"loading\", \"filterOption\", \"children\", \"notFoundContent\", \"options\", \"status\", \"allowClear\", \"popupClassName\", \"style\", \"variant\"]);\n const [focused, setFocused] = React.useState(false);\n const innerRef = React.useRef(null);\n const mergedRef = composeRef(ref, innerRef);\n // =================== Warning =====================\n if (process.env.NODE_ENV !== 'production') {\n const warning = devUseWarning('Mentions');\n warning.deprecated(!children, 'Mentions.Option', 'options');\n }\n const {\n getPrefixCls,\n renderEmpty,\n direction,\n mentions: contextMentions\n } = React.useContext(ConfigContext);\n const {\n status: contextStatus,\n hasFeedback,\n feedbackIcon\n } = React.useContext(FormItemInputContext);\n const mergedStatus = getMergedStatus(contextStatus, customStatus);\n const onFocus = function () {\n if (restProps.onFocus) {\n restProps.onFocus.apply(restProps, arguments);\n }\n setFocused(true);\n };\n const onBlur = function () {\n if (restProps.onBlur) {\n restProps.onBlur.apply(restProps, arguments);\n }\n setFocused(false);\n };\n const notFoundContentEle = React.useMemo(() => {\n if (notFoundContent !== undefined) {\n return notFoundContent;\n }\n return (renderEmpty === null || renderEmpty === void 0 ? void 0 : renderEmpty('Select')) || /*#__PURE__*/React.createElement(DefaultRenderEmpty, {\n componentName: \"Select\"\n });\n }, [notFoundContent, renderEmpty]);\n const mentionOptions = React.useMemo(() => {\n if (loading) {\n return /*#__PURE__*/React.createElement(Option, {\n value: \"ANTD_SEARCHING\",\n disabled: true\n }, /*#__PURE__*/React.createElement(Spin, {\n size: \"small\"\n }));\n }\n return children;\n }, [loading, children]);\n const mergedOptions = loading ? [{\n value: 'ANTD_SEARCHING',\n disabled: true,\n label: /*#__PURE__*/React.createElement(Spin, {\n size: \"small\"\n })\n }] : options;\n const mentionsfilterOption = loading ? loadingFilterOption : filterOption;\n const prefixCls = getPrefixCls('mentions', customizePrefixCls);\n const mergedAllowClear = getAllowClear(allowClear);\n // Style\n const rootCls = useCSSVarCls(prefixCls);\n const [wrapCSSVar, hashId, cssVarCls] = useStyle(prefixCls, rootCls);\n const [variant, enableVariantCls] = useVariant('mentions', customVariant);\n /* eslint-disable-next-line react/jsx-no-useless-fragment */ /* biome-ignore lint/complexity/noUselessFragments: avoid falsy value */\n const suffixNode = hasFeedback && /*#__PURE__*/React.createElement(React.Fragment, null, feedbackIcon);\n const mergedClassName = classNames(contextMentions === null || contextMentions === void 0 ? void 0 : contextMentions.className, className, rootClassName, cssVarCls, rootCls);\n const mentions = /*#__PURE__*/React.createElement(RcMentions, Object.assign({\n silent: loading,\n prefixCls: prefixCls,\n notFoundContent: notFoundContentEle,\n className: mergedClassName,\n disabled: disabled,\n allowClear: mergedAllowClear,\n direction: direction,\n style: Object.assign(Object.assign({}, contextMentions === null || contextMentions === void 0 ? void 0 : contextMentions.style), style)\n }, restProps, {\n filterOption: mentionsfilterOption,\n onFocus: onFocus,\n onBlur: onBlur,\n dropdownClassName: classNames(popupClassName, rootClassName, hashId, cssVarCls, rootCls),\n ref: mergedRef,\n options: mergedOptions,\n suffix: suffixNode,\n classNames: {\n mentions: classNames({\n [`${prefixCls}-disabled`]: disabled,\n [`${prefixCls}-focused`]: focused,\n [`${prefixCls}-rtl`]: direction === 'rtl'\n }, hashId),\n variant: classNames({\n [`${prefixCls}-${variant}`]: enableVariantCls\n }, getStatusClassNames(prefixCls, mergedStatus)),\n affixWrapper: hashId\n }\n }), mentionOptions);\n return wrapCSSVar(mentions);\n});\nconst Mentions = InternalMentions;\nif (process.env.NODE_ENV !== 'production') {\n Mentions.displayName = 'Mentions';\n}\nMentions.Option = Option;\n// We don't care debug panel\n/* istanbul ignore next */\nconst PurePanel = genPurePanel(Mentions, 'mentions');\nMentions._InternalPanelDoNotUseOrYouWillBeFired = PurePanel;\nMentions.getMentions = function () {\n let value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';\n let config = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n const {\n prefix = '@',\n split = ' '\n } = config;\n const prefixList = Array.isArray(prefix) ? prefix : [prefix];\n return value.split(split).map(function () {\n let str = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';\n let hitPrefix = null;\n prefixList.some(prefixStr => {\n const startStr = str.slice(0, prefixStr.length);\n if (startStr === prefixStr) {\n hitPrefix = prefixStr;\n return true;\n }\n return false;\n });\n if (hitPrefix !== null) {\n return {\n prefix: hitPrefix,\n value: str.slice(hitPrefix.length)\n };\n }\n return null;\n }).filter(entity => !!entity && !!entity.value);\n};\nexport default Mentions;"],"mappings":"AAAA,YAAY;;AAEZ,IAAIA,MAAM,GAAG,IAAI,IAAI,IAAI,CAACA,MAAM,IAAI,UAAUC,CAAC,EAAEC,CAAC,EAAE;EAClD,IAAIC,CAAC,GAAG,CAAC,CAAC;EACV,KAAK,IAAIC,CAAC,IAAIH,CAAC,EAAE,IAAII,MAAM,CAACC,SAAS,CAACC,cAAc,CAACC,IAAI,CAACP,CAAC,EAAEG,CAAC,CAAC,IAAIF,CAAC,CAACO,OAAO,CAACL,CAAC,CAAC,GAAG,CAAC,EAA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