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

1 line
20 KiB
JSON

{"ast":null,"code":"import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport { getRowFormat, pickProps, toArray } from \"../utils/miscUtil\";\nimport { fillTimeFormat } from \"./useLocale\";\nfunction checkShow(format, keywords, show) {\n return show !== null && show !== void 0 ? show : keywords.some(function (keyword) {\n return format.includes(keyword);\n });\n}\nvar showTimeKeys = [\n// 'format',\n'showNow', 'showHour', 'showMinute', 'showSecond', 'showMillisecond', 'use12Hours', 'hourStep', 'minuteStep', 'secondStep', 'millisecondStep', 'hideDisabledOptions', 'defaultValue', 'disabledHours', 'disabledMinutes', 'disabledSeconds', 'disabledMilliseconds', 'disabledTime', 'changeOnScroll', 'defaultOpenValue'];\n\n/**\n * Get SharedTimeProps from props.\n */\nfunction pickTimeProps(props) {\n var timeProps = pickProps(props, showTimeKeys);\n var format = props.format,\n picker = props.picker;\n var propFormat = null;\n if (format) {\n propFormat = format;\n if (Array.isArray(propFormat)) {\n propFormat = propFormat[0];\n }\n propFormat = _typeof(propFormat) === 'object' ? propFormat.format : propFormat;\n }\n if (picker === 'time') {\n timeProps.format = propFormat;\n }\n return [timeProps, propFormat];\n}\nfunction isStringFormat(format) {\n return format && typeof format === 'string';\n}\n/** Check if all the showXXX is `undefined` */\nfunction existShowConfig(showHour, showMinute, showSecond, showMillisecond) {\n return [showHour, showMinute, showSecond, showMillisecond].some(function (show) {\n return show !== undefined;\n });\n}\n\n/** Fill the showXXX if needed */\nfunction fillShowConfig(hasShowConfig, showHour, showMinute, showSecond, showMillisecond) {\n var parsedShowHour = showHour;\n var parsedShowMinute = showMinute;\n var parsedShowSecond = showSecond;\n if (!hasShowConfig && !parsedShowHour && !parsedShowMinute && !parsedShowSecond && !showMillisecond) {\n parsedShowHour = true;\n parsedShowMinute = true;\n parsedShowSecond = true;\n } else if (hasShowConfig) {\n var _parsedShowHour, _parsedShowMinute, _parsedShowSecond;\n var existFalse = [parsedShowHour, parsedShowMinute, parsedShowSecond].some(function (show) {\n return show === false;\n });\n var existTrue = [parsedShowHour, parsedShowMinute, parsedShowSecond].some(function (show) {\n return show === true;\n });\n var defaultShow = existFalse ? true : !existTrue;\n parsedShowHour = (_parsedShowHour = parsedShowHour) !== null && _parsedShowHour !== void 0 ? _parsedShowHour : defaultShow;\n parsedShowMinute = (_parsedShowMinute = parsedShowMinute) !== null && _parsedShowMinute !== void 0 ? _parsedShowMinute : defaultShow;\n parsedShowSecond = (_parsedShowSecond = parsedShowSecond) !== null && _parsedShowSecond !== void 0 ? _parsedShowSecond : defaultShow;\n }\n return [parsedShowHour, parsedShowMinute, parsedShowSecond, showMillisecond];\n}\n\n/**\n * Get `showHour`, `showMinute`, `showSecond` or other from the props.\n * This is pure function, will not get `showXXX` from the `format` prop.\n */\nexport function getTimeProps(componentProps) {\n var showTime = componentProps.showTime;\n var _pickTimeProps = pickTimeProps(componentProps),\n _pickTimeProps2 = _slicedToArray(_pickTimeProps, 2),\n pickedProps = _pickTimeProps2[0],\n propFormat = _pickTimeProps2[1];\n var showTimeConfig = showTime && _typeof(showTime) === 'object' ? showTime : {};\n var timeConfig = _objectSpread(_objectSpread({\n defaultOpenValue: showTimeConfig.defaultOpenValue || showTimeConfig.defaultValue\n }, pickedProps), showTimeConfig);\n var showMillisecond = timeConfig.showMillisecond;\n var showHour = timeConfig.showHour,\n showMinute = timeConfig.showMinute,\n showSecond = timeConfig.showSecond;\n var hasShowConfig = existShowConfig(showHour, showMinute, showSecond, showMillisecond);\n var _fillShowConfig = fillShowConfig(hasShowConfig, showHour, showMinute, showSecond, showMillisecond);\n var _fillShowConfig2 = _slicedToArray(_fillShowConfig, 3);\n showHour = _fillShowConfig2[0];\n showMinute = _fillShowConfig2[1];\n showSecond = _fillShowConfig2[2];\n return [timeConfig, _objectSpread(_objectSpread({}, timeConfig), {}, {\n showHour: showHour,\n showMinute: showMinute,\n showSecond: showSecond,\n showMillisecond: showMillisecond\n }), timeConfig.format, propFormat];\n}\nexport function fillShowTimeConfig(picker, showTimeFormat, propFormat, timeConfig, locale) {\n var isTimePicker = picker === 'time';\n if (picker === 'datetime' || isTimePicker) {\n var pickedProps = timeConfig;\n\n // ====================== BaseFormat ======================\n var defaultLocaleFormat = getRowFormat(picker, locale, null);\n var baselineFormat = defaultLocaleFormat;\n var formatList = [showTimeFormat, propFormat];\n for (var i = 0; i < formatList.length; i += 1) {\n var format = toArray(formatList[i])[0];\n if (isStringFormat(format)) {\n baselineFormat = format;\n break;\n }\n }\n\n // ========================= Show =========================\n var showHour = pickedProps.showHour,\n showMinute = pickedProps.showMinute,\n showSecond = pickedProps.showSecond,\n showMillisecond = pickedProps.showMillisecond;\n var use12Hours = pickedProps.use12Hours;\n var showMeridiem = checkShow(baselineFormat, ['a', 'A', 'LT', 'LLL', 'LTS'], use12Hours);\n var hasShowConfig = existShowConfig(showHour, showMinute, showSecond, showMillisecond);\n\n // Fill with format, if needed\n if (!hasShowConfig) {\n showHour = checkShow(baselineFormat, ['H', 'h', 'k', 'LT', 'LLL']);\n showMinute = checkShow(baselineFormat, ['m', 'LT', 'LLL']);\n showSecond = checkShow(baselineFormat, ['s', 'LTS']);\n showMillisecond = checkShow(baselineFormat, ['SSS']);\n }\n\n // Fallback if all can not see\n // ======================== Format ========================\n var _fillShowConfig3 = fillShowConfig(hasShowConfig, showHour, showMinute, showSecond, showMillisecond);\n var _fillShowConfig4 = _slicedToArray(_fillShowConfig3, 3);\n showHour = _fillShowConfig4[0];\n showMinute = _fillShowConfig4[1];\n showSecond = _fillShowConfig4[2];\n var timeFormat = showTimeFormat || fillTimeFormat(showHour, showMinute, showSecond, showMillisecond, showMeridiem);\n\n // ======================== Props =========================\n return _objectSpread(_objectSpread({}, pickedProps), {}, {\n // Format\n format: timeFormat,\n // Show Config\n showHour: showHour,\n showMinute: showMinute,\n showSecond: showSecond,\n showMillisecond: showMillisecond,\n use12Hours: showMeridiem\n });\n }\n return null;\n}","map":{"version":3,"names":["_objectSpread","_slicedToArray","_typeof","getRowFormat","pickProps","toArray","fillTimeFormat","checkShow","format","keywords","show","some","keyword","includes","showTimeKeys","pickTimeProps","props","timeProps","picker","propFormat","Array","isArray","isStringFormat","existShowConfig","showHour","showMinute","showSecond","showMillisecond","undefined","fillShowConfig","hasShowConfig","parsedShowHour","parsedShowMinute","parsedShowSecond","_parsedShowHour","_parsedShowMinute","_parsedShowSecond","existFalse","existTrue","defaultShow","getTimeProps","componentProps","showTime","_pickTimeProps","_pickTimeProps2","pickedProps","showTimeConfig","timeConfig","defaultOpenValue","defaultValue","_fillShowConfig","_fillShowConfig2","fillShowTimeConfig","showTimeFormat","locale","isTimePicker","defaultLocaleFormat","baselineFormat","formatList","i","length","use12Hours","showMeridiem","_fillShowConfig3","_fillShowConfig4","timeFormat"],"sources":["C:/Users/Аришина)/source/repos/PromoCursed/node_modules/rc-picker/es/hooks/useTimeConfig.js"],"sourcesContent":["import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport { getRowFormat, pickProps, toArray } from \"../utils/miscUtil\";\nimport { fillTimeFormat } from \"./useLocale\";\nfunction checkShow(format, keywords, show) {\n return show !== null && show !== void 0 ? show : keywords.some(function (keyword) {\n return format.includes(keyword);\n });\n}\nvar showTimeKeys = [\n// 'format',\n'showNow', 'showHour', 'showMinute', 'showSecond', 'showMillisecond', 'use12Hours', 'hourStep', 'minuteStep', 'secondStep', 'millisecondStep', 'hideDisabledOptions', 'defaultValue', 'disabledHours', 'disabledMinutes', 'disabledSeconds', 'disabledMilliseconds', 'disabledTime', 'changeOnScroll', 'defaultOpenValue'];\n\n/**\n * Get SharedTimeProps from props.\n */\nfunction pickTimeProps(props) {\n var timeProps = pickProps(props, showTimeKeys);\n var format = props.format,\n picker = props.picker;\n var propFormat = null;\n if (format) {\n propFormat = format;\n if (Array.isArray(propFormat)) {\n propFormat = propFormat[0];\n }\n propFormat = _typeof(propFormat) === 'object' ? propFormat.format : propFormat;\n }\n if (picker === 'time') {\n timeProps.format = propFormat;\n }\n return [timeProps, propFormat];\n}\nfunction isStringFormat(format) {\n return format && typeof format === 'string';\n}\n/** Check if all the showXXX is `undefined` */\nfunction existShowConfig(showHour, showMinute, showSecond, showMillisecond) {\n return [showHour, showMinute, showSecond, showMillisecond].some(function (show) {\n return show !== undefined;\n });\n}\n\n/** Fill the showXXX if needed */\nfunction fillShowConfig(hasShowConfig, showHour, showMinute, showSecond, showMillisecond) {\n var parsedShowHour = showHour;\n var parsedShowMinute = showMinute;\n var parsedShowSecond = showSecond;\n if (!hasShowConfig && !parsedShowHour && !parsedShowMinute && !parsedShowSecond && !showMillisecond) {\n parsedShowHour = true;\n parsedShowMinute = true;\n parsedShowSecond = true;\n } else if (hasShowConfig) {\n var _parsedShowHour, _parsedShowMinute, _parsedShowSecond;\n var existFalse = [parsedShowHour, parsedShowMinute, parsedShowSecond].some(function (show) {\n return show === false;\n });\n var existTrue = [parsedShowHour, parsedShowMinute, parsedShowSecond].some(function (show) {\n return show === true;\n });\n var defaultShow = existFalse ? true : !existTrue;\n parsedShowHour = (_parsedShowHour = parsedShowHour) !== null && _parsedShowHour !== void 0 ? _parsedShowHour : defaultShow;\n parsedShowMinute = (_parsedShowMinute = parsedShowMinute) !== null && _parsedShowMinute !== void 0 ? _parsedShowMinute : defaultShow;\n parsedShowSecond = (_parsedShowSecond = parsedShowSecond) !== null && _parsedShowSecond !== void 0 ? _parsedShowSecond : defaultShow;\n }\n return [parsedShowHour, parsedShowMinute, parsedShowSecond, showMillisecond];\n}\n\n/**\n * Get `showHour`, `showMinute`, `showSecond` or other from the props.\n * This is pure function, will not get `showXXX` from the `format` prop.\n */\nexport function getTimeProps(componentProps) {\n var showTime = componentProps.showTime;\n var _pickTimeProps = pickTimeProps(componentProps),\n _pickTimeProps2 = _slicedToArray(_pickTimeProps, 2),\n pickedProps = _pickTimeProps2[0],\n propFormat = _pickTimeProps2[1];\n var showTimeConfig = showTime && _typeof(showTime) === 'object' ? showTime : {};\n var timeConfig = _objectSpread(_objectSpread({\n defaultOpenValue: showTimeConfig.defaultOpenValue || showTimeConfig.defaultValue\n }, pickedProps), showTimeConfig);\n var showMillisecond = timeConfig.showMillisecond;\n var showHour = timeConfig.showHour,\n showMinute = timeConfig.showMinute,\n showSecond = timeConfig.showSecond;\n var hasShowConfig = existShowConfig(showHour, showMinute, showSecond, showMillisecond);\n var _fillShowConfig = fillShowConfig(hasShowConfig, showHour, showMinute, showSecond, showMillisecond);\n var _fillShowConfig2 = _slicedToArray(_fillShowConfig, 3);\n showHour = _fillShowConfig2[0];\n showMinute = _fillShowConfig2[1];\n showSecond = _fillShowConfig2[2];\n return [timeConfig, _objectSpread(_objectSpread({}, timeConfig), {}, {\n showHour: showHour,\n showMinute: showMinute,\n showSecond: showSecond,\n showMillisecond: showMillisecond\n }), timeConfig.format, propFormat];\n}\nexport function fillShowTimeConfig(picker, showTimeFormat, propFormat, timeConfig, locale) {\n var isTimePicker = picker === 'time';\n if (picker === 'datetime' || isTimePicker) {\n var pickedProps = timeConfig;\n\n // ====================== BaseFormat ======================\n var defaultLocaleFormat = getRowFormat(picker, locale, null);\n var baselineFormat = defaultLocaleFormat;\n var formatList = [showTimeFormat, propFormat];\n for (var i = 0; i < formatList.length; i += 1) {\n var format = toArray(formatList[i])[0];\n if (isStringFormat(format)) {\n baselineFormat = format;\n break;\n }\n }\n\n // ========================= Show =========================\n var showHour = pickedProps.showHour,\n showMinute = pickedProps.showMinute,\n showSecond = pickedProps.showSecond,\n showMillisecond = pickedProps.showMillisecond;\n var use12Hours = pickedProps.use12Hours;\n var showMeridiem = checkShow(baselineFormat, ['a', 'A', 'LT', 'LLL', 'LTS'], use12Hours);\n var hasShowConfig = existShowConfig(showHour, showMinute, showSecond, showMillisecond);\n\n // Fill with format, if needed\n if (!hasShowConfig) {\n showHour = checkShow(baselineFormat, ['H', 'h', 'k', 'LT', 'LLL']);\n showMinute = checkShow(baselineFormat, ['m', 'LT', 'LLL']);\n showSecond = checkShow(baselineFormat, ['s', 'LTS']);\n showMillisecond = checkShow(baselineFormat, ['SSS']);\n }\n\n // Fallback if all can not see\n // ======================== Format ========================\n var _fillShowConfig3 = fillShowConfig(hasShowConfig, showHour, showMinute, showSecond, showMillisecond);\n var _fillShowConfig4 = _slicedToArray(_fillShowConfig3, 3);\n showHour = _fillShowConfig4[0];\n showMinute = _fillShowConfig4[1];\n showSecond = _fillShowConfig4[2];\n var timeFormat = showTimeFormat || fillTimeFormat(showHour, showMinute, showSecond, showMillisecond, showMeridiem);\n\n // ======================== Props =========================\n return _objectSpread(_objectSpread({}, pickedProps), {}, {\n // Format\n format: timeFormat,\n // Show Config\n showHour: showHour,\n showMinute: showMinute,\n showSecond: showSecond,\n showMillisecond: showMillisecond,\n use12Hours: showMeridiem\n });\n }\n return null;\n}"],"mappings":"AAAA,OAAOA,aAAa,MAAM,0CAA0C;AACpE,OAAOC,cAAc,MAAM,0CAA0C;AACrE,OAAOC,OAAO,MAAM,mCAAmC;AACvD,SAASC,YAAY,EAAEC,SAAS,EAAEC,OAAO,QAAQ,mBAAmB;AACpE,SAASC,cAAc,QAAQ,aAAa;AAC5C,SAASC,SAASA,CAACC,MAAM,EAAEC,QAAQ,EAAEC,IAAI,EAAE;EACzC,OAAOA,IAAI,KAAK,IAAI,IAAIA,IAAI,KAAK,KAAK,CAAC,GAAGA,IAAI,GAAGD,QAAQ,CAACE,IAAI,CAAC,UAAUC,OAAO,EAAE;IAChF,OAAOJ,MAAM,CAACK,QAAQ,CAACD,OAAO,CAAC;EACjC,CAAC,CAAC;AACJ;AACA,IAAIE,YAAY,GAAG;AACnB;AACA,SAAS,EAAE,UAAU,EAAE,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