Files
assetx/.next/static/webpack/app/page.6dc2faaeb133c4de.hot-update.js

22 lines
49 KiB
JavaScript
Raw Normal View History

2026-01-26 17:44:27 +08:00
"use strict";
/*
* ATTENTION: An "eval-source-map" devtool has been used.
* This devtool is neither made for production nor for readable output files.
* It uses "eval()" calls to create a separate source file with attached SourceMaps in the browser devtools.
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
* or disable the default devtool with "devtool: false".
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
*/
self["webpackHotUpdate_N_E"]("app/page",{
/***/ "(app-pages-browser)/./components/PerformanceAnalysis.tsx":
/*!********************************************!*\
!*** ./components/PerformanceAnalysis.tsx ***!
\********************************************/
/***/ ((module, __webpack_exports__, __webpack_require__) => {
eval(__webpack_require__.ts("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ PerformanceAnalysis)\n/* harmony export */ });\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ \"(app-pages-browser)/./node_modules/next/dist/compiled/react/jsx-dev-runtime.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ \"(app-pages-browser)/./node_modules/next/dist/compiled/react/index.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var next_image__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! next/image */ \"(app-pages-browser)/./node_modules/next/dist/api/image.js\");\n/* harmony import */ var _contexts_AppContext__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/contexts/AppContext */ \"(app-pages-browser)/./contexts/AppContext.tsx\");\n/* __next_internal_client_entry_do_not_use__ default auto */ \nvar _s = $RefreshSig$();\n\n\n\nfunction CalendarDay(param) {\n let { day, value, type } = param;\n // Empty cell\n if (day === null) {\n return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n className: \"flex-1\"\n }, void 0, false, {\n fileName: \"/home/coder/myprojects/asset-dashboard-next/components/PerformanceAnalysis.tsx\",\n lineNumber: 16,\n columnNumber: 12\n }, this);\n }\n const typeStyles = {\n positive: \"bg-[#f2fcf7] dark:bg-green-900/20 border-[#cef3e0] dark:border-green-700/30\",\n negative: \"bg-[#fff8f7] dark:bg-red-900/20 border-[#ffdbd5] dark:border-red-700/30\",\n neutral: \"bg-[#f9fafb] dark:bg-gray-700 border-[#f3f4f6] dark:border-gray-600\",\n current: \"bg-[#111827] dark:bg-blue-600 border-[#111827] dark:border-blue-600\"\n };\n const isCurrent = type === \"current\";\n const dayTextStyle = isCurrent ? \"text-[#fcfcfd]\" : \"text-[#9ca1af] dark:text-gray-400\";\n const valueTextStyle = isCurrent ? \"text-[#fcfcfd]\" : \"text-[#111827] dark:text-white\";\n return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n className: \"rounded border flex flex-col items-center justify-center flex-1 p-3 gap-6 \".concat(typeStyles[type]),\n children: [\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n className: \"w-full flex items-start\",\n children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"span\", {\n className: \"text-[10px] font-bold leading-[150%] \".concat(dayTextStyle),\n children: day\n }, void 0, false, {\n fileName: \"/home/coder/myprojects/asset-dashboard-next/components/PerformanceAnalysis.tsx\",\n lineNumber: 39,\n columnNumber: 9\n }, this)\n }, void 0, false, {\n fileName: \"/home/coder/myprojects/asset-dashboard-next/components/PerformanceAnalysis.tsx\",\n lineNumber: 38,\n columnNumber: 7\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n className: \"w-full flex items-end justify-end\",\n children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"span\", {\n className: \"text-body-small font-bold leading-[150%] \".concat(valueTextStyle),\n children: value\n }, void 0, false, {\n fileName: \"/home/coder/myprojects/asset-dashboard-next/components/PerformanceAnalysis.tsx\",\n lineNumber: 44,\n
/***/ })
});