{"ast":null,"code":"var _jsxFileName = \"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CustomToast2/index.js\";\nimport React from \"react\";\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nimport { Fragment as _Fragment } from \"react/jsx-dev-runtime\";\n\nconst CustomToast2 = _ref => {\n let {\n items,\n num\n } = _ref;\n return /*#__PURE__*/_jsxDEV(_Fragment, {\n children: items.slice(0, num).map((item, index) => /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"flex flex-row items-center p-4 bg-surface border border-success rounded mt-4\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n className: \"flex flex-row items-center flex-1 \",\n children: [/*#__PURE__*/_jsxDEV(\"img\", {\n src: item.profilePic,\n className: \"rounded-full w-16\",\n alt: item.profilePic\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 13,\n columnNumber: 13\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"flex flex-col mr-2\",\n children: [/*#__PURE__*/_jsxDEV(\"p\", {\n className: \"text-sm text-primaryText\",\n children: item.name\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 19,\n columnNumber: 15\n }, this), /*#__PURE__*/_jsxDEV(\"p\", {\n className: \"text-xs mt-1.5 mb-1 text-primaryLight\",\n children: [/*#__PURE__*/_jsxDEV(\"span\", {\n className: \"ml-1\",\n children: \"\\u062A\\u0627\\u0631\\u06CC\\u062E \\u0648\\u0631\\u0648\\u062F:\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 21,\n columnNumber: 17\n }, this), item.enteryData]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 20,\n columnNumber: 15\n }, this), /*#__PURE__*/_jsxDEV(\"p\", {\n className: \"text-xs text-primaryLight\",\n children: [/*#__PURE__*/_jsxDEV(\"span\", {\n children: \"\\u06A9\\u062F \\u0645\\u0644\\u06CC\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 25,\n columnNumber: 17\n }, this), item.idCard]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 24,\n columnNumber: 15\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 18,\n columnNumber: 13\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 12,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"flex flex-row items-center\",\n children: [/*#__PURE__*/_jsxDEV(\"span\", {\n className: \"px-2 py-0.5 mr-2 rounded-sm bg-[#C9E2B388] text-[#468722] font-bold\",\n children: item.number\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 32,\n columnNumber: 13\n }, this), /*#__PURE__*/_jsxDEV(\"img\", {\n src: \"images/CustomToastpen-icon.svg\",\n alt: \"pen\",\n className: \"mr-4 cursor-pointer\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 35,\n columnNumber: 13\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 31,\n columnNumber: 11\n }, this)]\n }, index, true, {\n fileName: _jsxFileName,\n lineNumber: 7,\n columnNumber: 9\n }, this))\n }, void 0, false);\n};\n\n_c = CustomToast2;\nexport default CustomToast2;\nCustomToast2.defaultProps = {\n num: 5,\n items: [{\n profilePic: \"images/CustomToast2profilePic1.svg\",\n name: \"کامبیز هوشنمند\",\n enteryData: \"1401/02/01\",\n idCard: 2980817631,\n number: \"B06\"\n }, {\n profilePic: \"images/CustomToast2profilePic2.svg\",\n name: \"پارسا ایرانی\",\n enteryData: \"1400/07/19\",\n idCard: 7000817631,\n number: \"B04\"\n }, {\n profilePic: \"images/CustomToast2profilePic3.svg\",\n name: \"کامران مرادی\",\n enteryData: \"1400/07/19\",\n idCard: 2423817631,\n number: \"B02\"\n }, {\n profilePic: \"images/CustomToast2profilePic4.svg\",\n name: \"محمد علوی\",\n enteryData: \"1400/07/19\",\n idCard: 3340817631,\n number: \"B01\"\n }, {\n profilePic: \"images/CustomToast2profilePic5.svg\",\n name: \"محمد محمدی\",\n enteryData: \"1400/07/19\",\n idCard: 3110817631,\n number: \"B07\"\n }, {\n profilePic: \"images/CustomToast2profilePic1.svg\",\n name: \"کامبیز هوشنمند\",\n enteryData: \"1401/02/01\",\n idCard: 2980817631,\n number: \"B06\"\n }, {\n profilePic: \"images/CustomToast2profilePic2.svg\",\n name: \"پارسا ایرانی\",\n enteryData: \"1400/07/19\",\n idCard: 7000817631,\n number: \"B04\"\n }, {\n profilePic: \"images/CustomToast2profilePic3.svg\",\n name: \"کامران مرادی\",\n enteryData: \"1400/07/19\",\n idCard: 2423817631,\n number: \"B02\"\n }, {\n profilePic: \"images/CustomToast2profilePic4.svg\",\n name: \"محمد علوی\",\n enteryData: \"1400/07/19\",\n idCard: 3340817631,\n number: \"B01\"\n }, {\n profilePic: \"images/CustomToast2profilePic5.svg\",\n name: \"محمد محمدی\",\n enteryData: \"1400/07/19\",\n idCard: 3110817631,\n number: \"B07\"\n }, {\n profilePic: \"images/CustomToast2profilePic5.svg\",\n name: \"محمد محمدی\",\n enteryData: \"1400/07/19\",\n idCard: 3110817631,\n number: \"B07\"\n }]\n};\n\nvar _c;\n\n$RefreshReg$(_c, \"CustomToast2\");","map":{"version":3,"names":["React","CustomToast2","items","num","slice","map","item","index","profilePic","name","enteryData","idCard","number","defaultProps"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CustomToast2/index.js"],"sourcesContent":["import React from \"react\";\n\nconst CustomToast2 = ({ items, num }) => {\n return (\n <>\n {items.slice(0, num).map((item, index) => (\n
{item.name}
\n\n تاریخ ورود:\n {item.enteryData}\n
\n\n کد ملی\n {item.idCard}\n
\n